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 /*@c:\\PROJECTS\\SWIG-cvs\\Lib\\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 /*@c:\\PROJECTS\\SWIG-cvs\\Lib\\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 /*@c:\\PROJECTS\\SWIG-cvs\\Lib\\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 /*@c:\\PROJECTS\\SWIG-cvs\\Lib\\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 /*@c:\\PROJECTS\\SWIG-cvs\\Lib\\python\\pymacros.swg,66,SWIG_define@*/
2552 #define SWIG_From_unsigned_SS_int SWIG_From_long
2555 /*@c:\\PROJECTS\\SWIG-cvs\\Lib\\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();
2637 void wxApp_CleanUp() {
2642 wxPyApp
* wxPyGetApp() { return (wxPyApp
*)wxTheApp
; }
2646 SWIG_AsCharPtr(PyObject
*obj
, char **val
)
2648 if (SWIG_AsCharPtrAndSize(obj
, val
, (size_t*)(0))) {
2653 SWIG_type_error("char *", obj
);
2659 SWIGINTERN PyObject
*
2660 SWIG_FromCharPtr(const char* cptr
)
2663 size_t size
= strlen(cptr
);
2664 if (size
> INT_MAX
) {
2665 return SWIG_NewPointerObj((char*)(cptr
),
2666 SWIG_TypeQuery("char *"), 0);
2669 return PyString_FromStringAndSize(cptr
, size
);
2671 return PyString_FromString(cptr
);
2682 // A dummy class that raises an exception if used...
2686 wxEventLoop() { wxPyRaiseNotImplemented(); }
2687 int Run() { return 0; }
2688 void Exit(int rc
= 0) {}
2689 bool Pending() const { return false; }
2690 bool Dispatch() { return false; }
2691 bool IsRunning() const { return false; }
2692 static wxEventLoop
*GetActive() { wxPyRaiseNotImplemented(); return NULL
; }
2693 static void SetActive(wxEventLoop
* loop
) { wxPyRaiseNotImplemented(); }
2698 #include <wx/evtloop.h>
2704 static const wxString
wxPyPanelNameStr(wxPanelNameStr
);
2705 static wxVisualAttributes
*new_wxVisualAttributes(){ return new wxVisualAttributes
; }
2706 static void delete_wxVisualAttributes(wxVisualAttributes
*self
){ delete self
; }
2707 static PyObject
*wxWindow_GetChildren(wxWindow
*self
){
2708 wxWindowList
& list
= self
->GetChildren();
2709 return wxPy_ConvertList(&list
);
2711 static bool wxWindow_RegisterHotKey(wxWindow
*self
,int hotkeyId
,int modifiers
,int keycode
){
2713 return self
->RegisterHotKey(hotkeyId
, modifiers
, keycode
);
2718 static bool wxWindow_UnregisterHotKey(wxWindow
*self
,int hotkeyId
){
2725 static long wxWindow_GetHandle(wxWindow
*self
){
2726 return wxPyGetWinHandle(self
);
2728 static void wxWindow_AssociateHandle(wxWindow
*self
,long handle
){
2729 self
->AssociateHandle((WXWidget
)handle
);
2732 wxWindow
* wxFindWindowById( long id
, const wxWindow
*parent
= NULL
) {
2733 return wxWindow::FindWindowById(id
, parent
);
2736 wxWindow
* wxFindWindowByName( const wxString
& name
,
2737 const wxWindow
*parent
= NULL
) {
2738 return wxWindow::FindWindowByName(name
, parent
);
2741 wxWindow
* wxFindWindowByLabel( const wxString
& label
,
2742 const wxWindow
*parent
= NULL
) {
2743 return wxWindow::FindWindowByLabel(label
, parent
);
2748 #include <wx/msw/private.h> // to get wxGetWindowId
2752 wxWindow
* wxWindow_FromHWND(wxWindow
* parent
, unsigned long _hWnd
) {
2754 WXHWND hWnd
= (WXHWND
)_hWnd
;
2755 long id
= wxGetWindowId(hWnd
);
2756 wxWindow
* win
= new wxWindow
;
2757 parent
->AddChild(win
);
2758 win
->SetEventHandler(win
);
2761 win
->SubclassWin(hWnd
);
2762 win
->AdoptAttributesFromHWND();
2763 win
->SetupColours();
2766 wxPyRaiseNotImplemented();
2772 PyObject
* GetTopLevelWindows() {
2773 return wxPy_ConvertList(&wxTopLevelWindows
);
2777 IMP_PYCALLBACK_BOOL_WXWIN(wxPyValidator
, wxValidator
, Validate
);
2778 IMP_PYCALLBACK_BOOL_(wxPyValidator
, wxValidator
, TransferToWindow
);
2779 IMP_PYCALLBACK_BOOL_(wxPyValidator
, wxValidator
, TransferFromWindow
);
2781 IMPLEMENT_DYNAMIC_CLASS(wxPyValidator
, wxValidator
);
2783 static void wxMenu_Destroy(wxMenu
*self
){ delete self
; }
2784 static PyObject
*wxMenu_GetMenuItems(wxMenu
*self
){
2785 wxMenuItemList
& list
= self
->GetMenuItems();
2786 return wxPy_ConvertList(&list
);
2788 static void MenuBar_SetAutoWindowMenu(bool enable
){}
2789 static bool MenuBar_GetAutoWindowMenu(){ return false; }
2790 static const wxString
wxPyControlNameStr(wxControlNameStr
);
2791 static int wxItemContainer_Append(wxItemContainer
*self
,wxString
const &item
,PyObject
*clientData
=NULL
){
2793 wxPyClientData
* data
= new wxPyClientData(clientData
);
2794 return self
->Append(item
, data
);
2796 return self
->Append(item
);
2798 static int wxItemContainer_Insert(wxItemContainer
*self
,wxString
const &item
,int pos
,PyObject
*clientData
=NULL
){
2800 wxPyClientData
* data
= new wxPyClientData(clientData
);
2801 return self
->Insert(item
, pos
, data
);
2803 return self
->Insert(item
, pos
);
2805 static PyObject
*wxItemContainer_GetClientData(wxItemContainer
*self
,int n
){
2806 wxPyClientData
* data
= (wxPyClientData
*)self
->GetClientObject(n
);
2808 Py_INCREF(data
->m_obj
);
2815 static void wxItemContainer_SetClientData(wxItemContainer
*self
,int n
,PyObject
*clientData
){
2816 wxPyClientData
* data
= new wxPyClientData(clientData
);
2817 self
->SetClientObject(n
, data
);
2821 static wxSizerItem
*new_wxSizerItem(wxWindow
*window
,int proportion
,int flag
,int border
,PyObject
*userData
=NULL
){
2822 wxPyUserData
* data
= NULL
;
2824 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2825 data
= new wxPyUserData(userData
);
2826 wxPyEndBlockThreads(blocked
);
2828 return new wxSizerItem(window
, proportion
, flag
, border
, data
);
2830 static wxSizerItem
*new_wxSizerItem(int width
,int height
,int proportion
,int flag
,int border
,PyObject
*userData
=NULL
){
2831 wxPyUserData
* data
= NULL
;
2833 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2834 data
= new wxPyUserData(userData
);
2835 wxPyEndBlockThreads(blocked
);
2837 return new wxSizerItem(width
, height
, proportion
, flag
, border
, data
);
2839 static wxSizerItem
*new_wxSizerItem(wxSizer
*sizer
,int proportion
,int flag
,int border
,PyObject
*userData
=NULL
){
2840 wxPyUserData
* data
= NULL
;
2842 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2843 data
= new wxPyUserData(userData
);
2844 wxPyEndBlockThreads(blocked
);
2846 return new wxSizerItem(sizer
, proportion
, flag
, border
, data
);
2851 SWIG_CheckDoubleInRange(double value
, double min_value
,
2852 double max_value
, const char* errmsg
)
2854 if (value
< min_value
) {
2856 PyErr_Format(PyExc_OverflowError
,
2857 "value %g is less than %s minimum %g",
2858 value
, errmsg
, min_value
);
2861 } else if (value
> max_value
) {
2863 PyErr_Format(PyExc_OverflowError
,
2864 "value %g is greater than %s maximum %g",
2865 value
, errmsg
, max_value
);
2874 SWIG_AsVal_float(PyObject
*obj
, float *val
)
2876 const char* errmsg
= val
? "float" : (char*)0;
2878 if (SWIG_AsVal_double(obj
, &v
)) {
2879 if (SWIG_CheckDoubleInRange(v
, -FLT_MAX
, FLT_MAX
, errmsg
)) {
2880 if (val
) *val
= (float)(v
);
2889 SWIG_type_error(errmsg
, obj
);
2895 SWIGINTERNSHORT
float
2896 SWIG_As_float(PyObject
* obj
)
2899 if (!SWIG_AsVal_float(obj
, &v
)) {
2901 this is needed to make valgrind/purify happier.
2903 memset((void*)&v
, 0, sizeof(float));
2910 SWIG_Check_float(PyObject
* obj
)
2912 return SWIG_AsVal_float(obj
, (float*)0);
2916 /*@c:\\PROJECTS\\SWIG-cvs\\Lib\\python\\pymacros.swg,66,SWIG_define@*/
2917 #define SWIG_From_float PyFloat_FromDouble
2920 static PyObject
*wxSizerItem_GetUserData(wxSizerItem
*self
){
2921 wxPyUserData
* data
= (wxPyUserData
*)self
->GetUserData();
2923 Py_INCREF(data
->m_obj
);
2931 // Figure out the type of the sizer item
2933 struct wxPySizerItemInfo
{
2935 : window(NULL
), sizer(NULL
), gotSize(false),
2936 size(wxDefaultSize
), gotPos(false), pos(-1)
2947 static wxPySizerItemInfo
wxPySizerItemTypeHelper(PyObject
* item
, bool checkSize
, bool checkIdx
) {
2949 wxPySizerItemInfo info
;
2951 wxSize
* sizePtr
= &size
;
2953 // Find out what the type of the item is
2955 if ( ! wxPyConvertSwigPtr(item
, (void**)&info
.window
, wxT("wxWindow")) ) {
2960 if ( ! wxPyConvertSwigPtr(item
, (void**)&info
.sizer
, wxT("wxSizer")) ) {
2964 // try wxSize or (w,h)
2965 if ( checkSize
&& wxSize_helper(item
, &sizePtr
)) {
2966 info
.size
= *sizePtr
;
2967 info
.gotSize
= true;
2971 if (checkIdx
&& PyInt_Check(item
)) {
2972 info
.pos
= PyInt_AsLong(item
);
2978 if ( !(info
.window
|| info
.sizer
|| (checkSize
&& info
.gotSize
) || (checkIdx
&& info
.gotPos
)) ) {
2979 // no expected type, figure out what kind of error message to generate
2980 if ( !checkSize
&& !checkIdx
)
2981 PyErr_SetString(PyExc_TypeError
, "wxWindow or wxSizer expected for item");
2982 else if ( checkSize
&& !checkIdx
)
2983 PyErr_SetString(PyExc_TypeError
, "wxWindow, wxSizer, wxSize, or (w,h) expected for item");
2984 else if ( !checkSize
&& checkIdx
)
2985 PyErr_SetString(PyExc_TypeError
, "wxWindow, wxSizer or int (position) expected for item");
2987 // can this one happen?
2988 PyErr_SetString(PyExc_TypeError
, "wxWindow, wxSizer, wxSize, or (w,h) or int (position) expected for item");
2994 static void wxSizer__setOORInfo(wxSizer
*self
,PyObject
*_self
){
2995 if (!self
->GetClientObject())
2996 self
->SetClientObject(new wxPyOORClientData(_self
));
2998 static wxSizerItem
*wxSizer_Add(wxSizer
*self
,PyObject
*item
,int proportion
=0,int flag
=0,int border
=0,PyObject
*userData
=NULL
){
3000 wxPyUserData
* data
= NULL
;
3001 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3002 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, true, false);
3003 if ( userData
&& (info
.window
|| info
.sizer
|| info
.gotSize
) )
3004 data
= new wxPyUserData(userData
);
3005 wxPyEndBlockThreads(blocked
);
3007 // Now call the real Add method if a valid item type was found
3009 return self
->Add(info
.window
, proportion
, flag
, border
, data
);
3010 else if ( info
.sizer
)
3011 return self
->Add(info
.sizer
, proportion
, flag
, border
, data
);
3012 else if (info
.gotSize
)
3013 return self
->Add(info
.size
.GetWidth(), info
.size
.GetHeight(),
3014 proportion
, flag
, border
, data
);
3018 static wxSizerItem
*wxSizer_Insert(wxSizer
*self
,int before
,PyObject
*item
,int proportion
=0,int flag
=0,int border
=0,PyObject
*userData
=NULL
){
3020 wxPyUserData
* data
= NULL
;
3021 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3022 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, true, false);
3023 if ( userData
&& (info
.window
|| info
.sizer
|| info
.gotSize
) )
3024 data
= new wxPyUserData(userData
);
3025 wxPyEndBlockThreads(blocked
);
3027 // Now call the real Insert method if a valid item type was found
3029 return self
->Insert(before
, info
.window
, proportion
, flag
, border
, data
);
3030 else if ( info
.sizer
)
3031 return self
->Insert(before
, info
.sizer
, proportion
, flag
, border
, data
);
3032 else if (info
.gotSize
)
3033 return self
->Insert(before
, info
.size
.GetWidth(), info
.size
.GetHeight(),
3034 proportion
, flag
, border
, data
);
3038 static wxSizerItem
*wxSizer_Prepend(wxSizer
*self
,PyObject
*item
,int proportion
=0,int flag
=0,int border
=0,PyObject
*userData
=NULL
){
3040 wxPyUserData
* data
= NULL
;
3041 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3042 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, true, false);
3043 if ( userData
&& (info
.window
|| info
.sizer
|| info
.gotSize
) )
3044 data
= new wxPyUserData(userData
);
3045 wxPyEndBlockThreads(blocked
);
3047 // Now call the real Prepend method if a valid item type was found
3049 return self
->Prepend(info
.window
, proportion
, flag
, border
, data
);
3050 else if ( info
.sizer
)
3051 return self
->Prepend(info
.sizer
, proportion
, flag
, border
, data
);
3052 else if (info
.gotSize
)
3053 return self
->Prepend(info
.size
.GetWidth(), info
.size
.GetHeight(),
3054 proportion
, flag
, border
, data
);
3058 static bool wxSizer_Remove(wxSizer
*self
,PyObject
*item
){
3059 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3060 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, false, true);
3061 wxPyEndBlockThreads(blocked
);
3063 return self
->Remove(info
.window
);
3064 else if ( info
.sizer
)
3065 return self
->Remove(info
.sizer
);
3066 else if ( info
.gotPos
)
3067 return self
->Remove(info
.pos
);
3071 static bool wxSizer_Detach(wxSizer
*self
,PyObject
*item
){
3072 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3073 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, false, true);
3074 wxPyEndBlockThreads(blocked
);
3076 return self
->Detach(info
.window
);
3077 else if ( info
.sizer
)
3078 return self
->Detach(info
.sizer
);
3079 else if ( info
.gotPos
)
3080 return self
->Detach(info
.pos
);
3084 static wxSizerItem
*wxSizer_GetItem(wxSizer
*self
,PyObject
*item
){
3085 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3086 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, false, true);
3087 wxPyEndBlockThreads(blocked
);
3089 return self
->GetItem(info
.window
);
3090 else if ( info
.sizer
)
3091 return self
->GetItem(info
.sizer
);
3092 else if ( info
.gotPos
)
3093 return self
->GetItem(info
.pos
);
3097 static void wxSizer__SetItemMinSize(wxSizer
*self
,PyObject
*item
,wxSize
const &size
){
3098 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3099 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, false, true);
3100 wxPyEndBlockThreads(blocked
);
3102 self
->SetItemMinSize(info
.window
, size
);
3103 else if ( info
.sizer
)
3104 self
->SetItemMinSize(info
.sizer
, size
);
3105 else if ( info
.gotPos
)
3106 self
->SetItemMinSize(info
.pos
, size
);
3108 static PyObject
*wxSizer_GetChildren(wxSizer
*self
){
3109 wxSizerItemList
& list
= self
->GetChildren();
3110 return wxPy_ConvertList(&list
);
3112 static bool wxSizer_Show(wxSizer
*self
,PyObject
*item
,bool show
=true,bool recursive
=false){
3113 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3114 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, false, true);
3115 wxPyEndBlockThreads(blocked
);
3117 return self
->Show(info
.window
, show
, recursive
);
3118 else if ( info
.sizer
)
3119 return self
->Show(info
.sizer
, show
, recursive
);
3120 else if ( info
.gotPos
)
3121 return self
->Show(info
.pos
, show
);
3125 static bool wxSizer_IsShown(wxSizer
*self
,PyObject
*item
){
3126 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3127 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, false, false);
3128 wxPyEndBlockThreads(blocked
);
3130 return self
->IsShown(info
.window
);
3131 else if ( info
.sizer
)
3132 return self
->IsShown(info
.sizer
);
3133 else if ( info
.gotPos
)
3134 return self
->IsShown(info
.pos
);
3140 IMP_PYCALLBACK___pure(wxPySizer
, wxSizer
, RecalcSizes
);
3141 IMP_PYCALLBACK_wxSize__pure(wxPySizer
, wxSizer
, CalcMin
);
3142 IMPLEMENT_DYNAMIC_CLASS(wxPySizer
, wxSizer
);
3147 bool wxGBPosition_helper(PyObject
* source
, wxGBPosition
** obj
)
3149 if (source
== Py_None
) {
3150 **obj
= wxGBPosition(-1,-1);
3153 return wxPyTwoIntItem_helper(source
, obj
, wxT("wxGBPosition"));
3156 bool wxGBSpan_helper(PyObject
* source
, wxGBSpan
** obj
)
3158 if (source
== Py_None
) {
3159 **obj
= wxGBSpan(-1,-1);
3162 return wxPyTwoIntItem_helper(source
, obj
, wxT("wxGBSpan"));
3166 static void wxGBPosition_Set(wxGBPosition
*self
,int row
=0,int col
=0){
3170 static PyObject
*wxGBPosition_Get(wxGBPosition
*self
){
3171 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3172 PyObject
* tup
= PyTuple_New(2);
3173 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(self
->GetRow()));
3174 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(self
->GetCol()));
3175 wxPyEndBlockThreads(blocked
);
3178 static void wxGBSpan_Set(wxGBSpan
*self
,int rowspan
=1,int colspan
=1){
3179 self
->SetRowspan(rowspan
);
3180 self
->SetColspan(colspan
);
3182 static PyObject
*wxGBSpan_Get(wxGBSpan
*self
){
3183 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3184 PyObject
* tup
= PyTuple_New(2);
3185 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(self
->GetRowspan()));
3186 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(self
->GetColspan()));
3187 wxPyEndBlockThreads(blocked
);
3190 static wxGBSizerItem
*new_wxGBSizerItem(wxWindow
*window
,wxGBPosition
const &pos
,wxGBSpan
const &span
,int flag
,int border
,PyObject
*userData
=NULL
){
3191 wxPyUserData
* data
= NULL
;
3193 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3194 data
= new wxPyUserData(userData
);
3195 wxPyEndBlockThreads(blocked
);
3197 return new wxGBSizerItem(window
, pos
, span
, flag
, border
, data
);
3199 static wxGBSizerItem
*new_wxGBSizerItem(wxSizer
*sizer
,wxGBPosition
const &pos
,wxGBSpan
const &span
,int flag
,int border
,PyObject
*userData
=NULL
){
3200 wxPyUserData
* data
= NULL
;
3202 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3203 data
= new wxPyUserData(userData
);
3204 wxPyEndBlockThreads(blocked
);
3206 return new wxGBSizerItem(sizer
, pos
, span
, flag
, border
, data
);
3208 static wxGBSizerItem
*new_wxGBSizerItem(int width
,int height
,wxGBPosition
const &pos
,wxGBSpan
const &span
,int flag
,int border
,PyObject
*userData
=NULL
){
3209 wxPyUserData
* data
= NULL
;
3211 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3212 data
= new wxPyUserData(userData
);
3213 wxPyEndBlockThreads(blocked
);
3215 return new wxGBSizerItem(width
, height
, pos
, span
, flag
, border
, data
);
3217 static wxGBPosition
wxGBSizerItem_GetEndPos(wxGBSizerItem
*self
){
3219 self
->GetEndPos(row
, col
);
3220 return wxGBPosition(row
, col
);
3222 static wxGBSizerItem
*wxGridBagSizer_Add(wxGridBagSizer
*self
,PyObject
*item
,wxGBPosition
const &pos
,wxGBSpan
const &span
=wxDefaultSpan
,int flag
=0,int border
=0,PyObject
*userData
=NULL
){
3224 wxPyUserData
* data
= NULL
;
3225 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3226 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, true, false);
3227 if ( userData
&& (info
.window
|| info
.sizer
|| info
.gotSize
) )
3228 data
= new wxPyUserData(userData
);
3229 wxPyEndBlockThreads(blocked
);
3231 // Now call the real Add method if a valid item type was found
3233 return (wxGBSizerItem
*)self
->Add(info
.window
, pos
, span
, flag
, border
, data
);
3234 else if ( info
.sizer
)
3235 return (wxGBSizerItem
*)self
->Add(info
.sizer
, pos
, span
, flag
, border
, data
);
3236 else if (info
.gotSize
)
3237 return (wxGBSizerItem
*)self
->Add(info
.size
.GetWidth(), info
.size
.GetHeight(),
3238 pos
, span
, flag
, border
, data
);
3246 static int _wrap_EmptyString_set(PyObject
*) {
3247 PyErr_SetString(PyExc_TypeError
,"Variable EmptyString is read-only.");
3252 static PyObject
*_wrap_EmptyString_get(void) {
3257 pyobj
= PyUnicode_FromWideChar((&wxPyEmptyString
)->c_str(), (&wxPyEmptyString
)->Len());
3259 pyobj
= PyString_FromStringAndSize((&wxPyEmptyString
)->c_str(), (&wxPyEmptyString
)->Len());
3266 static PyObject
*_wrap_Object_GetClassName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3267 PyObject
*resultobj
;
3268 wxObject
*arg1
= (wxObject
*) 0 ;
3270 PyObject
* obj0
= 0 ;
3272 (char *) "self", NULL
3275 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Object_GetClassName",kwnames
,&obj0
)) goto fail
;
3276 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxObject
, SWIG_POINTER_EXCEPTION
| 0);
3277 if (SWIG_arg_fail(1)) SWIG_fail
;
3279 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3280 result
= wxObject_GetClassName(arg1
);
3282 wxPyEndAllowThreads(__tstate
);
3283 if (PyErr_Occurred()) SWIG_fail
;
3287 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3289 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3298 static PyObject
*_wrap_Object_Destroy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3299 PyObject
*resultobj
;
3300 wxObject
*arg1
= (wxObject
*) 0 ;
3301 PyObject
* obj0
= 0 ;
3303 (char *) "self", NULL
3306 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Object_Destroy",kwnames
,&obj0
)) goto fail
;
3307 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxObject
, SWIG_POINTER_EXCEPTION
| 0);
3308 if (SWIG_arg_fail(1)) SWIG_fail
;
3310 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3311 wxObject_Destroy(arg1
);
3313 wxPyEndAllowThreads(__tstate
);
3314 if (PyErr_Occurred()) SWIG_fail
;
3316 Py_INCREF(Py_None
); resultobj
= Py_None
;
3323 static PyObject
* Object_swigregister(PyObject
*, PyObject
*args
) {
3325 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3326 SWIG_TypeClientData(SWIGTYPE_p_wxObject
, obj
);
3328 return Py_BuildValue((char *)"");
3330 static PyObject
*_wrap_Size_width_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3331 PyObject
*resultobj
;
3332 wxSize
*arg1
= (wxSize
*) 0 ;
3334 PyObject
* obj0
= 0 ;
3335 PyObject
* obj1
= 0 ;
3337 (char *) "self",(char *) "x", NULL
3340 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size_width_set",kwnames
,&obj0
,&obj1
)) goto fail
;
3341 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
| 0);
3342 if (SWIG_arg_fail(1)) SWIG_fail
;
3344 arg2
= (int)(SWIG_As_int(obj1
));
3345 if (SWIG_arg_fail(2)) SWIG_fail
;
3347 if (arg1
) (arg1
)->x
= arg2
;
3349 Py_INCREF(Py_None
); resultobj
= Py_None
;
3356 static PyObject
*_wrap_Size_width_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3357 PyObject
*resultobj
;
3358 wxSize
*arg1
= (wxSize
*) 0 ;
3360 PyObject
* obj0
= 0 ;
3362 (char *) "self", NULL
3365 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Size_width_get",kwnames
,&obj0
)) goto fail
;
3366 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
| 0);
3367 if (SWIG_arg_fail(1)) SWIG_fail
;
3368 result
= (int) ((arg1
)->x
);
3371 resultobj
= SWIG_From_int((int)(result
));
3379 static PyObject
*_wrap_Size_height_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3380 PyObject
*resultobj
;
3381 wxSize
*arg1
= (wxSize
*) 0 ;
3383 PyObject
* obj0
= 0 ;
3384 PyObject
* obj1
= 0 ;
3386 (char *) "self",(char *) "y", NULL
3389 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size_height_set",kwnames
,&obj0
,&obj1
)) goto fail
;
3390 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
| 0);
3391 if (SWIG_arg_fail(1)) SWIG_fail
;
3393 arg2
= (int)(SWIG_As_int(obj1
));
3394 if (SWIG_arg_fail(2)) SWIG_fail
;
3396 if (arg1
) (arg1
)->y
= arg2
;
3398 Py_INCREF(Py_None
); resultobj
= Py_None
;
3405 static PyObject
*_wrap_Size_height_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3406 PyObject
*resultobj
;
3407 wxSize
*arg1
= (wxSize
*) 0 ;
3409 PyObject
* obj0
= 0 ;
3411 (char *) "self", NULL
3414 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Size_height_get",kwnames
,&obj0
)) goto fail
;
3415 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
| 0);
3416 if (SWIG_arg_fail(1)) SWIG_fail
;
3417 result
= (int) ((arg1
)->y
);
3420 resultobj
= SWIG_From_int((int)(result
));
3428 static PyObject
*_wrap_new_Size(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3429 PyObject
*resultobj
;
3430 int arg1
= (int) 0 ;
3431 int arg2
= (int) 0 ;
3433 PyObject
* obj0
= 0 ;
3434 PyObject
* obj1
= 0 ;
3436 (char *) "w",(char *) "h", NULL
3439 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Size",kwnames
,&obj0
,&obj1
)) goto fail
;
3442 arg1
= (int)(SWIG_As_int(obj0
));
3443 if (SWIG_arg_fail(1)) SWIG_fail
;
3448 arg2
= (int)(SWIG_As_int(obj1
));
3449 if (SWIG_arg_fail(2)) SWIG_fail
;
3453 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3454 result
= (wxSize
*)new wxSize(arg1
,arg2
);
3456 wxPyEndAllowThreads(__tstate
);
3457 if (PyErr_Occurred()) SWIG_fail
;
3459 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSize
, 1);
3466 static PyObject
*_wrap_delete_Size(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3467 PyObject
*resultobj
;
3468 wxSize
*arg1
= (wxSize
*) 0 ;
3469 PyObject
* obj0
= 0 ;
3471 (char *) "self", NULL
3474 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Size",kwnames
,&obj0
)) goto fail
;
3475 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
| 0);
3476 if (SWIG_arg_fail(1)) SWIG_fail
;
3478 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3481 wxPyEndAllowThreads(__tstate
);
3482 if (PyErr_Occurred()) SWIG_fail
;
3484 Py_INCREF(Py_None
); resultobj
= Py_None
;
3491 static PyObject
*_wrap_Size___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3492 PyObject
*resultobj
;
3493 wxSize
*arg1
= (wxSize
*) 0 ;
3497 PyObject
* obj0
= 0 ;
3498 PyObject
* obj1
= 0 ;
3500 (char *) "self",(char *) "sz", NULL
3503 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
3504 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
| 0);
3505 if (SWIG_arg_fail(1)) SWIG_fail
;
3508 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
3511 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3512 result
= (bool)(arg1
)->operator ==((wxSize
const &)*arg2
);
3514 wxPyEndAllowThreads(__tstate
);
3515 if (PyErr_Occurred()) SWIG_fail
;
3518 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3526 static PyObject
*_wrap_Size___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3527 PyObject
*resultobj
;
3528 wxSize
*arg1
= (wxSize
*) 0 ;
3532 PyObject
* obj0
= 0 ;
3533 PyObject
* obj1
= 0 ;
3535 (char *) "self",(char *) "sz", NULL
3538 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
3539 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
| 0);
3540 if (SWIG_arg_fail(1)) SWIG_fail
;
3543 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
3546 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3547 result
= (bool)(arg1
)->operator !=((wxSize
const &)*arg2
);
3549 wxPyEndAllowThreads(__tstate
);
3550 if (PyErr_Occurred()) SWIG_fail
;
3553 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3561 static PyObject
*_wrap_Size___add__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3562 PyObject
*resultobj
;
3563 wxSize
*arg1
= (wxSize
*) 0 ;
3567 PyObject
* obj0
= 0 ;
3568 PyObject
* obj1
= 0 ;
3570 (char *) "self",(char *) "sz", NULL
3573 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size___add__",kwnames
,&obj0
,&obj1
)) goto fail
;
3574 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
| 0);
3575 if (SWIG_arg_fail(1)) SWIG_fail
;
3578 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
3581 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3582 result
= (arg1
)->operator +((wxSize
const &)*arg2
);
3584 wxPyEndAllowThreads(__tstate
);
3585 if (PyErr_Occurred()) SWIG_fail
;
3589 resultptr
= new wxSize((wxSize
&)(result
));
3590 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
3598 static PyObject
*_wrap_Size___sub__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3599 PyObject
*resultobj
;
3600 wxSize
*arg1
= (wxSize
*) 0 ;
3604 PyObject
* obj0
= 0 ;
3605 PyObject
* obj1
= 0 ;
3607 (char *) "self",(char *) "sz", NULL
3610 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size___sub__",kwnames
,&obj0
,&obj1
)) goto fail
;
3611 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
| 0);
3612 if (SWIG_arg_fail(1)) SWIG_fail
;
3615 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
3618 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3619 result
= (arg1
)->operator -((wxSize
const &)*arg2
);
3621 wxPyEndAllowThreads(__tstate
);
3622 if (PyErr_Occurred()) SWIG_fail
;
3626 resultptr
= new wxSize((wxSize
&)(result
));
3627 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
3635 static PyObject
*_wrap_Size_IncTo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3636 PyObject
*resultobj
;
3637 wxSize
*arg1
= (wxSize
*) 0 ;
3640 PyObject
* obj0
= 0 ;
3641 PyObject
* obj1
= 0 ;
3643 (char *) "self",(char *) "sz", NULL
3646 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size_IncTo",kwnames
,&obj0
,&obj1
)) goto fail
;
3647 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
| 0);
3648 if (SWIG_arg_fail(1)) SWIG_fail
;
3651 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
3654 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3655 (arg1
)->IncTo((wxSize
const &)*arg2
);
3657 wxPyEndAllowThreads(__tstate
);
3658 if (PyErr_Occurred()) SWIG_fail
;
3660 Py_INCREF(Py_None
); resultobj
= Py_None
;
3667 static PyObject
*_wrap_Size_DecTo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3668 PyObject
*resultobj
;
3669 wxSize
*arg1
= (wxSize
*) 0 ;
3672 PyObject
* obj0
= 0 ;
3673 PyObject
* obj1
= 0 ;
3675 (char *) "self",(char *) "sz", NULL
3678 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size_DecTo",kwnames
,&obj0
,&obj1
)) goto fail
;
3679 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
| 0);
3680 if (SWIG_arg_fail(1)) SWIG_fail
;
3683 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
3686 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3687 (arg1
)->DecTo((wxSize
const &)*arg2
);
3689 wxPyEndAllowThreads(__tstate
);
3690 if (PyErr_Occurred()) SWIG_fail
;
3692 Py_INCREF(Py_None
); resultobj
= Py_None
;
3699 static PyObject
*_wrap_Size_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3700 PyObject
*resultobj
;
3701 wxSize
*arg1
= (wxSize
*) 0 ;
3704 PyObject
* obj0
= 0 ;
3705 PyObject
* obj1
= 0 ;
3706 PyObject
* obj2
= 0 ;
3708 (char *) "self",(char *) "w",(char *) "h", NULL
3711 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Size_Set",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3712 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
| 0);
3713 if (SWIG_arg_fail(1)) SWIG_fail
;
3715 arg2
= (int)(SWIG_As_int(obj1
));
3716 if (SWIG_arg_fail(2)) SWIG_fail
;
3719 arg3
= (int)(SWIG_As_int(obj2
));
3720 if (SWIG_arg_fail(3)) SWIG_fail
;
3723 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3724 (arg1
)->Set(arg2
,arg3
);
3726 wxPyEndAllowThreads(__tstate
);
3727 if (PyErr_Occurred()) SWIG_fail
;
3729 Py_INCREF(Py_None
); resultobj
= Py_None
;
3736 static PyObject
*_wrap_Size_SetWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3737 PyObject
*resultobj
;
3738 wxSize
*arg1
= (wxSize
*) 0 ;
3740 PyObject
* obj0
= 0 ;
3741 PyObject
* obj1
= 0 ;
3743 (char *) "self",(char *) "w", NULL
3746 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size_SetWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
3747 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
| 0);
3748 if (SWIG_arg_fail(1)) SWIG_fail
;
3750 arg2
= (int)(SWIG_As_int(obj1
));
3751 if (SWIG_arg_fail(2)) SWIG_fail
;
3754 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3755 (arg1
)->SetWidth(arg2
);
3757 wxPyEndAllowThreads(__tstate
);
3758 if (PyErr_Occurred()) SWIG_fail
;
3760 Py_INCREF(Py_None
); resultobj
= Py_None
;
3767 static PyObject
*_wrap_Size_SetHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3768 PyObject
*resultobj
;
3769 wxSize
*arg1
= (wxSize
*) 0 ;
3771 PyObject
* obj0
= 0 ;
3772 PyObject
* obj1
= 0 ;
3774 (char *) "self",(char *) "h", NULL
3777 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size_SetHeight",kwnames
,&obj0
,&obj1
)) goto fail
;
3778 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
| 0);
3779 if (SWIG_arg_fail(1)) SWIG_fail
;
3781 arg2
= (int)(SWIG_As_int(obj1
));
3782 if (SWIG_arg_fail(2)) SWIG_fail
;
3785 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3786 (arg1
)->SetHeight(arg2
);
3788 wxPyEndAllowThreads(__tstate
);
3789 if (PyErr_Occurred()) SWIG_fail
;
3791 Py_INCREF(Py_None
); resultobj
= Py_None
;
3798 static PyObject
*_wrap_Size_GetWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3799 PyObject
*resultobj
;
3800 wxSize
*arg1
= (wxSize
*) 0 ;
3802 PyObject
* obj0
= 0 ;
3804 (char *) "self", NULL
3807 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Size_GetWidth",kwnames
,&obj0
)) goto fail
;
3808 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
| 0);
3809 if (SWIG_arg_fail(1)) SWIG_fail
;
3811 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3812 result
= (int)((wxSize
const *)arg1
)->GetWidth();
3814 wxPyEndAllowThreads(__tstate
);
3815 if (PyErr_Occurred()) SWIG_fail
;
3818 resultobj
= SWIG_From_int((int)(result
));
3826 static PyObject
*_wrap_Size_GetHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3827 PyObject
*resultobj
;
3828 wxSize
*arg1
= (wxSize
*) 0 ;
3830 PyObject
* obj0
= 0 ;
3832 (char *) "self", NULL
3835 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Size_GetHeight",kwnames
,&obj0
)) goto fail
;
3836 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
| 0);
3837 if (SWIG_arg_fail(1)) SWIG_fail
;
3839 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3840 result
= (int)((wxSize
const *)arg1
)->GetHeight();
3842 wxPyEndAllowThreads(__tstate
);
3843 if (PyErr_Occurred()) SWIG_fail
;
3846 resultobj
= SWIG_From_int((int)(result
));
3854 static PyObject
*_wrap_Size_IsFullySpecified(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3855 PyObject
*resultobj
;
3856 wxSize
*arg1
= (wxSize
*) 0 ;
3858 PyObject
* obj0
= 0 ;
3860 (char *) "self", NULL
3863 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Size_IsFullySpecified",kwnames
,&obj0
)) goto fail
;
3864 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
| 0);
3865 if (SWIG_arg_fail(1)) SWIG_fail
;
3867 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3868 result
= (bool)((wxSize
const *)arg1
)->IsFullySpecified();
3870 wxPyEndAllowThreads(__tstate
);
3871 if (PyErr_Occurred()) SWIG_fail
;
3874 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3882 static PyObject
*_wrap_Size_SetDefaults(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3883 PyObject
*resultobj
;
3884 wxSize
*arg1
= (wxSize
*) 0 ;
3887 PyObject
* obj0
= 0 ;
3888 PyObject
* obj1
= 0 ;
3890 (char *) "self",(char *) "size", NULL
3893 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size_SetDefaults",kwnames
,&obj0
,&obj1
)) goto fail
;
3894 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
| 0);
3895 if (SWIG_arg_fail(1)) SWIG_fail
;
3898 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
3901 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3902 (arg1
)->SetDefaults((wxSize
const &)*arg2
);
3904 wxPyEndAllowThreads(__tstate
);
3905 if (PyErr_Occurred()) SWIG_fail
;
3907 Py_INCREF(Py_None
); resultobj
= Py_None
;
3914 static PyObject
*_wrap_Size_Get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3915 PyObject
*resultobj
;
3916 wxSize
*arg1
= (wxSize
*) 0 ;
3918 PyObject
* obj0
= 0 ;
3920 (char *) "self", NULL
3923 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Size_Get",kwnames
,&obj0
)) goto fail
;
3924 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
| 0);
3925 if (SWIG_arg_fail(1)) SWIG_fail
;
3927 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3928 result
= (PyObject
*)wxSize_Get(arg1
);
3930 wxPyEndAllowThreads(__tstate
);
3931 if (PyErr_Occurred()) SWIG_fail
;
3940 static PyObject
* Size_swigregister(PyObject
*, PyObject
*args
) {
3942 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3943 SWIG_TypeClientData(SWIGTYPE_p_wxSize
, obj
);
3945 return Py_BuildValue((char *)"");
3947 static PyObject
*_wrap_RealPoint_x_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3948 PyObject
*resultobj
;
3949 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
3951 PyObject
* obj0
= 0 ;
3952 PyObject
* obj1
= 0 ;
3954 (char *) "self",(char *) "x", NULL
3957 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RealPoint_x_set",kwnames
,&obj0
,&obj1
)) goto fail
;
3958 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRealPoint
, SWIG_POINTER_EXCEPTION
| 0);
3959 if (SWIG_arg_fail(1)) SWIG_fail
;
3961 arg2
= (double)(SWIG_As_double(obj1
));
3962 if (SWIG_arg_fail(2)) SWIG_fail
;
3964 if (arg1
) (arg1
)->x
= arg2
;
3966 Py_INCREF(Py_None
); resultobj
= Py_None
;
3973 static PyObject
*_wrap_RealPoint_x_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3974 PyObject
*resultobj
;
3975 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
3977 PyObject
* obj0
= 0 ;
3979 (char *) "self", NULL
3982 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RealPoint_x_get",kwnames
,&obj0
)) goto fail
;
3983 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRealPoint
, SWIG_POINTER_EXCEPTION
| 0);
3984 if (SWIG_arg_fail(1)) SWIG_fail
;
3985 result
= (double) ((arg1
)->x
);
3988 resultobj
= SWIG_From_double((double)(result
));
3996 static PyObject
*_wrap_RealPoint_y_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3997 PyObject
*resultobj
;
3998 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
4000 PyObject
* obj0
= 0 ;
4001 PyObject
* obj1
= 0 ;
4003 (char *) "self",(char *) "y", NULL
4006 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RealPoint_y_set",kwnames
,&obj0
,&obj1
)) goto fail
;
4007 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRealPoint
, SWIG_POINTER_EXCEPTION
| 0);
4008 if (SWIG_arg_fail(1)) SWIG_fail
;
4010 arg2
= (double)(SWIG_As_double(obj1
));
4011 if (SWIG_arg_fail(2)) SWIG_fail
;
4013 if (arg1
) (arg1
)->y
= arg2
;
4015 Py_INCREF(Py_None
); resultobj
= Py_None
;
4022 static PyObject
*_wrap_RealPoint_y_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4023 PyObject
*resultobj
;
4024 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
4026 PyObject
* obj0
= 0 ;
4028 (char *) "self", NULL
4031 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RealPoint_y_get",kwnames
,&obj0
)) goto fail
;
4032 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRealPoint
, SWIG_POINTER_EXCEPTION
| 0);
4033 if (SWIG_arg_fail(1)) SWIG_fail
;
4034 result
= (double) ((arg1
)->y
);
4037 resultobj
= SWIG_From_double((double)(result
));
4045 static PyObject
*_wrap_new_RealPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4046 PyObject
*resultobj
;
4047 double arg1
= (double) 0.0 ;
4048 double arg2
= (double) 0.0 ;
4049 wxRealPoint
*result
;
4050 PyObject
* obj0
= 0 ;
4051 PyObject
* obj1
= 0 ;
4053 (char *) "x",(char *) "y", NULL
4056 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_RealPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
4059 arg1
= (double)(SWIG_As_double(obj0
));
4060 if (SWIG_arg_fail(1)) SWIG_fail
;
4065 arg2
= (double)(SWIG_As_double(obj1
));
4066 if (SWIG_arg_fail(2)) SWIG_fail
;
4070 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4071 result
= (wxRealPoint
*)new wxRealPoint(arg1
,arg2
);
4073 wxPyEndAllowThreads(__tstate
);
4074 if (PyErr_Occurred()) SWIG_fail
;
4076 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRealPoint
, 1);
4083 static PyObject
*_wrap_delete_RealPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4084 PyObject
*resultobj
;
4085 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
4086 PyObject
* obj0
= 0 ;
4088 (char *) "self", NULL
4091 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_RealPoint",kwnames
,&obj0
)) goto fail
;
4092 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRealPoint
, SWIG_POINTER_EXCEPTION
| 0);
4093 if (SWIG_arg_fail(1)) SWIG_fail
;
4095 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4098 wxPyEndAllowThreads(__tstate
);
4099 if (PyErr_Occurred()) SWIG_fail
;
4101 Py_INCREF(Py_None
); resultobj
= Py_None
;
4108 static PyObject
*_wrap_RealPoint___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4109 PyObject
*resultobj
;
4110 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
4111 wxRealPoint
*arg2
= 0 ;
4114 PyObject
* obj0
= 0 ;
4115 PyObject
* obj1
= 0 ;
4117 (char *) "self",(char *) "pt", NULL
4120 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RealPoint___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
4121 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRealPoint
, SWIG_POINTER_EXCEPTION
| 0);
4122 if (SWIG_arg_fail(1)) SWIG_fail
;
4125 if ( ! wxRealPoint_helper(obj1
, &arg2
)) SWIG_fail
;
4128 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4129 result
= (bool)(arg1
)->operator ==((wxRealPoint
const &)*arg2
);
4131 wxPyEndAllowThreads(__tstate
);
4132 if (PyErr_Occurred()) SWIG_fail
;
4135 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4143 static PyObject
*_wrap_RealPoint___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4144 PyObject
*resultobj
;
4145 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
4146 wxRealPoint
*arg2
= 0 ;
4149 PyObject
* obj0
= 0 ;
4150 PyObject
* obj1
= 0 ;
4152 (char *) "self",(char *) "pt", NULL
4155 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RealPoint___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
4156 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRealPoint
, SWIG_POINTER_EXCEPTION
| 0);
4157 if (SWIG_arg_fail(1)) SWIG_fail
;
4160 if ( ! wxRealPoint_helper(obj1
, &arg2
)) SWIG_fail
;
4163 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4164 result
= (bool)(arg1
)->operator !=((wxRealPoint
const &)*arg2
);
4166 wxPyEndAllowThreads(__tstate
);
4167 if (PyErr_Occurred()) SWIG_fail
;
4170 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4178 static PyObject
*_wrap_RealPoint___add__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4179 PyObject
*resultobj
;
4180 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
4181 wxRealPoint
*arg2
= 0 ;
4184 PyObject
* obj0
= 0 ;
4185 PyObject
* obj1
= 0 ;
4187 (char *) "self",(char *) "pt", NULL
4190 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RealPoint___add__",kwnames
,&obj0
,&obj1
)) goto fail
;
4191 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRealPoint
, SWIG_POINTER_EXCEPTION
| 0);
4192 if (SWIG_arg_fail(1)) SWIG_fail
;
4195 if ( ! wxRealPoint_helper(obj1
, &arg2
)) SWIG_fail
;
4198 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4199 result
= (arg1
)->operator +((wxRealPoint
const &)*arg2
);
4201 wxPyEndAllowThreads(__tstate
);
4202 if (PyErr_Occurred()) SWIG_fail
;
4205 wxRealPoint
* resultptr
;
4206 resultptr
= new wxRealPoint((wxRealPoint
&)(result
));
4207 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRealPoint
, 1);
4215 static PyObject
*_wrap_RealPoint___sub__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4216 PyObject
*resultobj
;
4217 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
4218 wxRealPoint
*arg2
= 0 ;
4221 PyObject
* obj0
= 0 ;
4222 PyObject
* obj1
= 0 ;
4224 (char *) "self",(char *) "pt", NULL
4227 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RealPoint___sub__",kwnames
,&obj0
,&obj1
)) goto fail
;
4228 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRealPoint
, SWIG_POINTER_EXCEPTION
| 0);
4229 if (SWIG_arg_fail(1)) SWIG_fail
;
4232 if ( ! wxRealPoint_helper(obj1
, &arg2
)) SWIG_fail
;
4235 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4236 result
= (arg1
)->operator -((wxRealPoint
const &)*arg2
);
4238 wxPyEndAllowThreads(__tstate
);
4239 if (PyErr_Occurred()) SWIG_fail
;
4242 wxRealPoint
* resultptr
;
4243 resultptr
= new wxRealPoint((wxRealPoint
&)(result
));
4244 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRealPoint
, 1);
4252 static PyObject
*_wrap_RealPoint_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4253 PyObject
*resultobj
;
4254 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
4257 PyObject
* obj0
= 0 ;
4258 PyObject
* obj1
= 0 ;
4259 PyObject
* obj2
= 0 ;
4261 (char *) "self",(char *) "x",(char *) "y", NULL
4264 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:RealPoint_Set",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4265 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRealPoint
, SWIG_POINTER_EXCEPTION
| 0);
4266 if (SWIG_arg_fail(1)) SWIG_fail
;
4268 arg2
= (double)(SWIG_As_double(obj1
));
4269 if (SWIG_arg_fail(2)) SWIG_fail
;
4272 arg3
= (double)(SWIG_As_double(obj2
));
4273 if (SWIG_arg_fail(3)) SWIG_fail
;
4276 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4277 wxRealPoint_Set(arg1
,arg2
,arg3
);
4279 wxPyEndAllowThreads(__tstate
);
4280 if (PyErr_Occurred()) SWIG_fail
;
4282 Py_INCREF(Py_None
); resultobj
= Py_None
;
4289 static PyObject
*_wrap_RealPoint_Get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4290 PyObject
*resultobj
;
4291 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
4293 PyObject
* obj0
= 0 ;
4295 (char *) "self", NULL
4298 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RealPoint_Get",kwnames
,&obj0
)) goto fail
;
4299 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRealPoint
, SWIG_POINTER_EXCEPTION
| 0);
4300 if (SWIG_arg_fail(1)) SWIG_fail
;
4302 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4303 result
= (PyObject
*)wxRealPoint_Get(arg1
);
4305 wxPyEndAllowThreads(__tstate
);
4306 if (PyErr_Occurred()) SWIG_fail
;
4315 static PyObject
* RealPoint_swigregister(PyObject
*, PyObject
*args
) {
4317 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4318 SWIG_TypeClientData(SWIGTYPE_p_wxRealPoint
, obj
);
4320 return Py_BuildValue((char *)"");
4322 static PyObject
*_wrap_Point_x_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4323 PyObject
*resultobj
;
4324 wxPoint
*arg1
= (wxPoint
*) 0 ;
4326 PyObject
* obj0
= 0 ;
4327 PyObject
* obj1
= 0 ;
4329 (char *) "self",(char *) "x", NULL
4332 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point_x_set",kwnames
,&obj0
,&obj1
)) goto fail
;
4333 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint
, SWIG_POINTER_EXCEPTION
| 0);
4334 if (SWIG_arg_fail(1)) SWIG_fail
;
4336 arg2
= (int)(SWIG_As_int(obj1
));
4337 if (SWIG_arg_fail(2)) SWIG_fail
;
4339 if (arg1
) (arg1
)->x
= arg2
;
4341 Py_INCREF(Py_None
); resultobj
= Py_None
;
4348 static PyObject
*_wrap_Point_x_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4349 PyObject
*resultobj
;
4350 wxPoint
*arg1
= (wxPoint
*) 0 ;
4352 PyObject
* obj0
= 0 ;
4354 (char *) "self", NULL
4357 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point_x_get",kwnames
,&obj0
)) goto fail
;
4358 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint
, SWIG_POINTER_EXCEPTION
| 0);
4359 if (SWIG_arg_fail(1)) SWIG_fail
;
4360 result
= (int) ((arg1
)->x
);
4363 resultobj
= SWIG_From_int((int)(result
));
4371 static PyObject
*_wrap_Point_y_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4372 PyObject
*resultobj
;
4373 wxPoint
*arg1
= (wxPoint
*) 0 ;
4375 PyObject
* obj0
= 0 ;
4376 PyObject
* obj1
= 0 ;
4378 (char *) "self",(char *) "y", NULL
4381 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point_y_set",kwnames
,&obj0
,&obj1
)) goto fail
;
4382 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint
, SWIG_POINTER_EXCEPTION
| 0);
4383 if (SWIG_arg_fail(1)) SWIG_fail
;
4385 arg2
= (int)(SWIG_As_int(obj1
));
4386 if (SWIG_arg_fail(2)) SWIG_fail
;
4388 if (arg1
) (arg1
)->y
= arg2
;
4390 Py_INCREF(Py_None
); resultobj
= Py_None
;
4397 static PyObject
*_wrap_Point_y_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4398 PyObject
*resultobj
;
4399 wxPoint
*arg1
= (wxPoint
*) 0 ;
4401 PyObject
* obj0
= 0 ;
4403 (char *) "self", NULL
4406 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point_y_get",kwnames
,&obj0
)) goto fail
;
4407 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint
, SWIG_POINTER_EXCEPTION
| 0);
4408 if (SWIG_arg_fail(1)) SWIG_fail
;
4409 result
= (int) ((arg1
)->y
);
4412 resultobj
= SWIG_From_int((int)(result
));
4420 static PyObject
*_wrap_new_Point(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4421 PyObject
*resultobj
;
4422 int arg1
= (int) 0 ;
4423 int arg2
= (int) 0 ;
4425 PyObject
* obj0
= 0 ;
4426 PyObject
* obj1
= 0 ;
4428 (char *) "x",(char *) "y", NULL
4431 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Point",kwnames
,&obj0
,&obj1
)) goto fail
;
4434 arg1
= (int)(SWIG_As_int(obj0
));
4435 if (SWIG_arg_fail(1)) SWIG_fail
;
4440 arg2
= (int)(SWIG_As_int(obj1
));
4441 if (SWIG_arg_fail(2)) SWIG_fail
;
4445 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4446 result
= (wxPoint
*)new wxPoint(arg1
,arg2
);
4448 wxPyEndAllowThreads(__tstate
);
4449 if (PyErr_Occurred()) SWIG_fail
;
4451 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint
, 1);
4458 static PyObject
*_wrap_delete_Point(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4459 PyObject
*resultobj
;
4460 wxPoint
*arg1
= (wxPoint
*) 0 ;
4461 PyObject
* obj0
= 0 ;
4463 (char *) "self", NULL
4466 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Point",kwnames
,&obj0
)) goto fail
;
4467 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint
, SWIG_POINTER_EXCEPTION
| 0);
4468 if (SWIG_arg_fail(1)) SWIG_fail
;
4470 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4473 wxPyEndAllowThreads(__tstate
);
4474 if (PyErr_Occurred()) SWIG_fail
;
4476 Py_INCREF(Py_None
); resultobj
= Py_None
;
4483 static PyObject
*_wrap_Point___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4484 PyObject
*resultobj
;
4485 wxPoint
*arg1
= (wxPoint
*) 0 ;
4489 PyObject
* obj0
= 0 ;
4490 PyObject
* obj1
= 0 ;
4492 (char *) "self",(char *) "pt", NULL
4495 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
4496 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint
, SWIG_POINTER_EXCEPTION
| 0);
4497 if (SWIG_arg_fail(1)) SWIG_fail
;
4500 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
4503 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4504 result
= (bool)(arg1
)->operator ==((wxPoint
const &)*arg2
);
4506 wxPyEndAllowThreads(__tstate
);
4507 if (PyErr_Occurred()) SWIG_fail
;
4510 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4518 static PyObject
*_wrap_Point___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4519 PyObject
*resultobj
;
4520 wxPoint
*arg1
= (wxPoint
*) 0 ;
4524 PyObject
* obj0
= 0 ;
4525 PyObject
* obj1
= 0 ;
4527 (char *) "self",(char *) "pt", NULL
4530 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
4531 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint
, SWIG_POINTER_EXCEPTION
| 0);
4532 if (SWIG_arg_fail(1)) SWIG_fail
;
4535 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
4538 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4539 result
= (bool)(arg1
)->operator !=((wxPoint
const &)*arg2
);
4541 wxPyEndAllowThreads(__tstate
);
4542 if (PyErr_Occurred()) SWIG_fail
;
4545 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4553 static PyObject
*_wrap_Point___add__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4554 PyObject
*resultobj
;
4555 wxPoint
*arg1
= (wxPoint
*) 0 ;
4559 PyObject
* obj0
= 0 ;
4560 PyObject
* obj1
= 0 ;
4562 (char *) "self",(char *) "pt", NULL
4565 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point___add__",kwnames
,&obj0
,&obj1
)) goto fail
;
4566 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint
, SWIG_POINTER_EXCEPTION
| 0);
4567 if (SWIG_arg_fail(1)) SWIG_fail
;
4570 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
4573 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4574 result
= (arg1
)->operator +((wxPoint
const &)*arg2
);
4576 wxPyEndAllowThreads(__tstate
);
4577 if (PyErr_Occurred()) SWIG_fail
;
4580 wxPoint
* resultptr
;
4581 resultptr
= new wxPoint((wxPoint
&)(result
));
4582 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
4590 static PyObject
*_wrap_Point___sub__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4591 PyObject
*resultobj
;
4592 wxPoint
*arg1
= (wxPoint
*) 0 ;
4596 PyObject
* obj0
= 0 ;
4597 PyObject
* obj1
= 0 ;
4599 (char *) "self",(char *) "pt", NULL
4602 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point___sub__",kwnames
,&obj0
,&obj1
)) goto fail
;
4603 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint
, SWIG_POINTER_EXCEPTION
| 0);
4604 if (SWIG_arg_fail(1)) SWIG_fail
;
4607 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
4610 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4611 result
= (arg1
)->operator -((wxPoint
const &)*arg2
);
4613 wxPyEndAllowThreads(__tstate
);
4614 if (PyErr_Occurred()) SWIG_fail
;
4617 wxPoint
* resultptr
;
4618 resultptr
= new wxPoint((wxPoint
&)(result
));
4619 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
4627 static PyObject
*_wrap_Point___iadd__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4628 PyObject
*resultobj
;
4629 wxPoint
*arg1
= (wxPoint
*) 0 ;
4633 PyObject
* obj0
= 0 ;
4634 PyObject
* obj1
= 0 ;
4636 (char *) "self",(char *) "pt", NULL
4639 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point___iadd__",kwnames
,&obj0
,&obj1
)) goto fail
;
4640 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
4641 if (SWIG_arg_fail(1)) SWIG_fail
;
4644 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
4647 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4649 wxPoint
&_result_ref
= (arg1
)->operator +=((wxPoint
const &)*arg2
);
4650 result
= (wxPoint
*) &_result_ref
;
4653 wxPyEndAllowThreads(__tstate
);
4654 if (PyErr_Occurred()) SWIG_fail
;
4656 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint
, 1);
4663 static PyObject
*_wrap_Point___isub__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4664 PyObject
*resultobj
;
4665 wxPoint
*arg1
= (wxPoint
*) 0 ;
4669 PyObject
* obj0
= 0 ;
4670 PyObject
* obj1
= 0 ;
4672 (char *) "self",(char *) "pt", NULL
4675 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point___isub__",kwnames
,&obj0
,&obj1
)) goto fail
;
4676 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
4677 if (SWIG_arg_fail(1)) SWIG_fail
;
4680 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
4683 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4685 wxPoint
&_result_ref
= (arg1
)->operator -=((wxPoint
const &)*arg2
);
4686 result
= (wxPoint
*) &_result_ref
;
4689 wxPyEndAllowThreads(__tstate
);
4690 if (PyErr_Occurred()) SWIG_fail
;
4692 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint
, 1);
4699 static PyObject
*_wrap_Point_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4700 PyObject
*resultobj
;
4701 wxPoint
*arg1
= (wxPoint
*) 0 ;
4704 PyObject
* obj0
= 0 ;
4705 PyObject
* obj1
= 0 ;
4706 PyObject
* obj2
= 0 ;
4708 (char *) "self",(char *) "x",(char *) "y", NULL
4711 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Point_Set",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4712 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint
, SWIG_POINTER_EXCEPTION
| 0);
4713 if (SWIG_arg_fail(1)) SWIG_fail
;
4715 arg2
= (long)(SWIG_As_long(obj1
));
4716 if (SWIG_arg_fail(2)) SWIG_fail
;
4719 arg3
= (long)(SWIG_As_long(obj2
));
4720 if (SWIG_arg_fail(3)) SWIG_fail
;
4723 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4724 wxPoint_Set(arg1
,arg2
,arg3
);
4726 wxPyEndAllowThreads(__tstate
);
4727 if (PyErr_Occurred()) SWIG_fail
;
4729 Py_INCREF(Py_None
); resultobj
= Py_None
;
4736 static PyObject
*_wrap_Point_Get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4737 PyObject
*resultobj
;
4738 wxPoint
*arg1
= (wxPoint
*) 0 ;
4740 PyObject
* obj0
= 0 ;
4742 (char *) "self", NULL
4745 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point_Get",kwnames
,&obj0
)) goto fail
;
4746 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint
, SWIG_POINTER_EXCEPTION
| 0);
4747 if (SWIG_arg_fail(1)) SWIG_fail
;
4749 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4750 result
= (PyObject
*)wxPoint_Get(arg1
);
4752 wxPyEndAllowThreads(__tstate
);
4753 if (PyErr_Occurred()) SWIG_fail
;
4762 static PyObject
* Point_swigregister(PyObject
*, PyObject
*args
) {
4764 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4765 SWIG_TypeClientData(SWIGTYPE_p_wxPoint
, obj
);
4767 return Py_BuildValue((char *)"");
4769 static PyObject
*_wrap_new_Rect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4770 PyObject
*resultobj
;
4771 int arg1
= (int) 0 ;
4772 int arg2
= (int) 0 ;
4773 int arg3
= (int) 0 ;
4774 int arg4
= (int) 0 ;
4776 PyObject
* obj0
= 0 ;
4777 PyObject
* obj1
= 0 ;
4778 PyObject
* obj2
= 0 ;
4779 PyObject
* obj3
= 0 ;
4781 (char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
4784 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_Rect",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
4787 arg1
= (int)(SWIG_As_int(obj0
));
4788 if (SWIG_arg_fail(1)) SWIG_fail
;
4793 arg2
= (int)(SWIG_As_int(obj1
));
4794 if (SWIG_arg_fail(2)) SWIG_fail
;
4799 arg3
= (int)(SWIG_As_int(obj2
));
4800 if (SWIG_arg_fail(3)) SWIG_fail
;
4805 arg4
= (int)(SWIG_As_int(obj3
));
4806 if (SWIG_arg_fail(4)) SWIG_fail
;
4810 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4811 result
= (wxRect
*)new wxRect(arg1
,arg2
,arg3
,arg4
);
4813 wxPyEndAllowThreads(__tstate
);
4814 if (PyErr_Occurred()) SWIG_fail
;
4816 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 1);
4823 static PyObject
*_wrap_new_RectPP(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4824 PyObject
*resultobj
;
4830 PyObject
* obj0
= 0 ;
4831 PyObject
* obj1
= 0 ;
4833 (char *) "topLeft",(char *) "bottomRight", NULL
4836 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_RectPP",kwnames
,&obj0
,&obj1
)) goto fail
;
4839 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
4843 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
4846 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4847 result
= (wxRect
*)new wxRect((wxPoint
const &)*arg1
,(wxPoint
const &)*arg2
);
4849 wxPyEndAllowThreads(__tstate
);
4850 if (PyErr_Occurred()) SWIG_fail
;
4852 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 1);
4859 static PyObject
*_wrap_new_RectPS(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4860 PyObject
*resultobj
;
4866 PyObject
* obj0
= 0 ;
4867 PyObject
* obj1
= 0 ;
4869 (char *) "pos",(char *) "size", NULL
4872 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_RectPS",kwnames
,&obj0
,&obj1
)) goto fail
;
4875 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
4879 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
4882 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4883 result
= (wxRect
*)new wxRect((wxPoint
const &)*arg1
,(wxSize
const &)*arg2
);
4885 wxPyEndAllowThreads(__tstate
);
4886 if (PyErr_Occurred()) SWIG_fail
;
4888 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 1);
4895 static PyObject
*_wrap_new_RectS(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4896 PyObject
*resultobj
;
4900 PyObject
* obj0
= 0 ;
4902 (char *) "size", NULL
4905 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_RectS",kwnames
,&obj0
)) goto fail
;
4908 if ( ! wxSize_helper(obj0
, &arg1
)) SWIG_fail
;
4911 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4912 result
= (wxRect
*)new wxRect((wxSize
const &)*arg1
);
4914 wxPyEndAllowThreads(__tstate
);
4915 if (PyErr_Occurred()) SWIG_fail
;
4917 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 1);
4924 static PyObject
*_wrap_delete_Rect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4925 PyObject
*resultobj
;
4926 wxRect
*arg1
= (wxRect
*) 0 ;
4927 PyObject
* obj0
= 0 ;
4929 (char *) "self", NULL
4932 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Rect",kwnames
,&obj0
)) goto fail
;
4933 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
4934 if (SWIG_arg_fail(1)) SWIG_fail
;
4936 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4939 wxPyEndAllowThreads(__tstate
);
4940 if (PyErr_Occurred()) SWIG_fail
;
4942 Py_INCREF(Py_None
); resultobj
= Py_None
;
4949 static PyObject
*_wrap_Rect_GetX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4950 PyObject
*resultobj
;
4951 wxRect
*arg1
= (wxRect
*) 0 ;
4953 PyObject
* obj0
= 0 ;
4955 (char *) "self", NULL
4958 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetX",kwnames
,&obj0
)) goto fail
;
4959 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
4960 if (SWIG_arg_fail(1)) SWIG_fail
;
4962 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4963 result
= (int)((wxRect
const *)arg1
)->GetX();
4965 wxPyEndAllowThreads(__tstate
);
4966 if (PyErr_Occurred()) SWIG_fail
;
4969 resultobj
= SWIG_From_int((int)(result
));
4977 static PyObject
*_wrap_Rect_SetX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4978 PyObject
*resultobj
;
4979 wxRect
*arg1
= (wxRect
*) 0 ;
4981 PyObject
* obj0
= 0 ;
4982 PyObject
* obj1
= 0 ;
4984 (char *) "self",(char *) "x", NULL
4987 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetX",kwnames
,&obj0
,&obj1
)) goto fail
;
4988 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
4989 if (SWIG_arg_fail(1)) SWIG_fail
;
4991 arg2
= (int)(SWIG_As_int(obj1
));
4992 if (SWIG_arg_fail(2)) SWIG_fail
;
4995 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4998 wxPyEndAllowThreads(__tstate
);
4999 if (PyErr_Occurred()) SWIG_fail
;
5001 Py_INCREF(Py_None
); resultobj
= Py_None
;
5008 static PyObject
*_wrap_Rect_GetY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5009 PyObject
*resultobj
;
5010 wxRect
*arg1
= (wxRect
*) 0 ;
5012 PyObject
* obj0
= 0 ;
5014 (char *) "self", NULL
5017 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetY",kwnames
,&obj0
)) goto fail
;
5018 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5019 if (SWIG_arg_fail(1)) SWIG_fail
;
5021 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5022 result
= (int)(arg1
)->GetY();
5024 wxPyEndAllowThreads(__tstate
);
5025 if (PyErr_Occurred()) SWIG_fail
;
5028 resultobj
= SWIG_From_int((int)(result
));
5036 static PyObject
*_wrap_Rect_SetY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5037 PyObject
*resultobj
;
5038 wxRect
*arg1
= (wxRect
*) 0 ;
5040 PyObject
* obj0
= 0 ;
5041 PyObject
* obj1
= 0 ;
5043 (char *) "self",(char *) "y", NULL
5046 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetY",kwnames
,&obj0
,&obj1
)) goto fail
;
5047 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5048 if (SWIG_arg_fail(1)) SWIG_fail
;
5050 arg2
= (int)(SWIG_As_int(obj1
));
5051 if (SWIG_arg_fail(2)) SWIG_fail
;
5054 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5057 wxPyEndAllowThreads(__tstate
);
5058 if (PyErr_Occurred()) SWIG_fail
;
5060 Py_INCREF(Py_None
); resultobj
= Py_None
;
5067 static PyObject
*_wrap_Rect_GetWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5068 PyObject
*resultobj
;
5069 wxRect
*arg1
= (wxRect
*) 0 ;
5071 PyObject
* obj0
= 0 ;
5073 (char *) "self", NULL
5076 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetWidth",kwnames
,&obj0
)) goto fail
;
5077 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5078 if (SWIG_arg_fail(1)) SWIG_fail
;
5080 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5081 result
= (int)((wxRect
const *)arg1
)->GetWidth();
5083 wxPyEndAllowThreads(__tstate
);
5084 if (PyErr_Occurred()) SWIG_fail
;
5087 resultobj
= SWIG_From_int((int)(result
));
5095 static PyObject
*_wrap_Rect_SetWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5096 PyObject
*resultobj
;
5097 wxRect
*arg1
= (wxRect
*) 0 ;
5099 PyObject
* obj0
= 0 ;
5100 PyObject
* obj1
= 0 ;
5102 (char *) "self",(char *) "w", NULL
5105 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
5106 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5107 if (SWIG_arg_fail(1)) SWIG_fail
;
5109 arg2
= (int)(SWIG_As_int(obj1
));
5110 if (SWIG_arg_fail(2)) SWIG_fail
;
5113 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5114 (arg1
)->SetWidth(arg2
);
5116 wxPyEndAllowThreads(__tstate
);
5117 if (PyErr_Occurred()) SWIG_fail
;
5119 Py_INCREF(Py_None
); resultobj
= Py_None
;
5126 static PyObject
*_wrap_Rect_GetHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5127 PyObject
*resultobj
;
5128 wxRect
*arg1
= (wxRect
*) 0 ;
5130 PyObject
* obj0
= 0 ;
5132 (char *) "self", NULL
5135 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetHeight",kwnames
,&obj0
)) goto fail
;
5136 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5137 if (SWIG_arg_fail(1)) SWIG_fail
;
5139 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5140 result
= (int)((wxRect
const *)arg1
)->GetHeight();
5142 wxPyEndAllowThreads(__tstate
);
5143 if (PyErr_Occurred()) SWIG_fail
;
5146 resultobj
= SWIG_From_int((int)(result
));
5154 static PyObject
*_wrap_Rect_SetHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5155 PyObject
*resultobj
;
5156 wxRect
*arg1
= (wxRect
*) 0 ;
5158 PyObject
* obj0
= 0 ;
5159 PyObject
* obj1
= 0 ;
5161 (char *) "self",(char *) "h", NULL
5164 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetHeight",kwnames
,&obj0
,&obj1
)) goto fail
;
5165 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5166 if (SWIG_arg_fail(1)) SWIG_fail
;
5168 arg2
= (int)(SWIG_As_int(obj1
));
5169 if (SWIG_arg_fail(2)) SWIG_fail
;
5172 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5173 (arg1
)->SetHeight(arg2
);
5175 wxPyEndAllowThreads(__tstate
);
5176 if (PyErr_Occurred()) SWIG_fail
;
5178 Py_INCREF(Py_None
); resultobj
= Py_None
;
5185 static PyObject
*_wrap_Rect_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5186 PyObject
*resultobj
;
5187 wxRect
*arg1
= (wxRect
*) 0 ;
5189 PyObject
* obj0
= 0 ;
5191 (char *) "self", NULL
5194 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetPosition",kwnames
,&obj0
)) goto fail
;
5195 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5196 if (SWIG_arg_fail(1)) SWIG_fail
;
5198 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5199 result
= ((wxRect
const *)arg1
)->GetPosition();
5201 wxPyEndAllowThreads(__tstate
);
5202 if (PyErr_Occurred()) SWIG_fail
;
5205 wxPoint
* resultptr
;
5206 resultptr
= new wxPoint((wxPoint
&)(result
));
5207 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
5215 static PyObject
*_wrap_Rect_SetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5216 PyObject
*resultobj
;
5217 wxRect
*arg1
= (wxRect
*) 0 ;
5220 PyObject
* obj0
= 0 ;
5221 PyObject
* obj1
= 0 ;
5223 (char *) "self",(char *) "p", NULL
5226 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
5227 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5228 if (SWIG_arg_fail(1)) SWIG_fail
;
5231 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
5234 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5235 (arg1
)->SetPosition((wxPoint
const &)*arg2
);
5237 wxPyEndAllowThreads(__tstate
);
5238 if (PyErr_Occurred()) SWIG_fail
;
5240 Py_INCREF(Py_None
); resultobj
= Py_None
;
5247 static PyObject
*_wrap_Rect_GetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5248 PyObject
*resultobj
;
5249 wxRect
*arg1
= (wxRect
*) 0 ;
5251 PyObject
* obj0
= 0 ;
5253 (char *) "self", NULL
5256 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetSize",kwnames
,&obj0
)) goto fail
;
5257 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5258 if (SWIG_arg_fail(1)) SWIG_fail
;
5260 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5261 result
= ((wxRect
const *)arg1
)->GetSize();
5263 wxPyEndAllowThreads(__tstate
);
5264 if (PyErr_Occurred()) SWIG_fail
;
5268 resultptr
= new wxSize((wxSize
&)(result
));
5269 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
5277 static PyObject
*_wrap_Rect_SetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5278 PyObject
*resultobj
;
5279 wxRect
*arg1
= (wxRect
*) 0 ;
5282 PyObject
* obj0
= 0 ;
5283 PyObject
* obj1
= 0 ;
5285 (char *) "self",(char *) "s", NULL
5288 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetSize",kwnames
,&obj0
,&obj1
)) goto fail
;
5289 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5290 if (SWIG_arg_fail(1)) SWIG_fail
;
5293 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
5296 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5297 (arg1
)->SetSize((wxSize
const &)*arg2
);
5299 wxPyEndAllowThreads(__tstate
);
5300 if (PyErr_Occurred()) SWIG_fail
;
5302 Py_INCREF(Py_None
); resultobj
= Py_None
;
5309 static PyObject
*_wrap_Rect_IsEmpty(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5310 PyObject
*resultobj
;
5311 wxRect
*arg1
= (wxRect
*) 0 ;
5313 PyObject
* obj0
= 0 ;
5315 (char *) "self", NULL
5318 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_IsEmpty",kwnames
,&obj0
)) goto fail
;
5319 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5320 if (SWIG_arg_fail(1)) SWIG_fail
;
5322 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5323 result
= (bool)((wxRect
const *)arg1
)->IsEmpty();
5325 wxPyEndAllowThreads(__tstate
);
5326 if (PyErr_Occurred()) SWIG_fail
;
5329 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5337 static PyObject
*_wrap_Rect_GetTopLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5338 PyObject
*resultobj
;
5339 wxRect
*arg1
= (wxRect
*) 0 ;
5341 PyObject
* obj0
= 0 ;
5343 (char *) "self", NULL
5346 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetTopLeft",kwnames
,&obj0
)) goto fail
;
5347 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5348 if (SWIG_arg_fail(1)) SWIG_fail
;
5350 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5351 result
= ((wxRect
const *)arg1
)->GetTopLeft();
5353 wxPyEndAllowThreads(__tstate
);
5354 if (PyErr_Occurred()) SWIG_fail
;
5357 wxPoint
* resultptr
;
5358 resultptr
= new wxPoint((wxPoint
&)(result
));
5359 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
5367 static PyObject
*_wrap_Rect_SetTopLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5368 PyObject
*resultobj
;
5369 wxRect
*arg1
= (wxRect
*) 0 ;
5372 PyObject
* obj0
= 0 ;
5373 PyObject
* obj1
= 0 ;
5375 (char *) "self",(char *) "p", NULL
5378 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetTopLeft",kwnames
,&obj0
,&obj1
)) goto fail
;
5379 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5380 if (SWIG_arg_fail(1)) SWIG_fail
;
5383 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
5386 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5387 (arg1
)->SetTopLeft((wxPoint
const &)*arg2
);
5389 wxPyEndAllowThreads(__tstate
);
5390 if (PyErr_Occurred()) SWIG_fail
;
5392 Py_INCREF(Py_None
); resultobj
= Py_None
;
5399 static PyObject
*_wrap_Rect_GetBottomRight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5400 PyObject
*resultobj
;
5401 wxRect
*arg1
= (wxRect
*) 0 ;
5403 PyObject
* obj0
= 0 ;
5405 (char *) "self", NULL
5408 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetBottomRight",kwnames
,&obj0
)) goto fail
;
5409 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5410 if (SWIG_arg_fail(1)) SWIG_fail
;
5412 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5413 result
= ((wxRect
const *)arg1
)->GetBottomRight();
5415 wxPyEndAllowThreads(__tstate
);
5416 if (PyErr_Occurred()) SWIG_fail
;
5419 wxPoint
* resultptr
;
5420 resultptr
= new wxPoint((wxPoint
&)(result
));
5421 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
5429 static PyObject
*_wrap_Rect_SetBottomRight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5430 PyObject
*resultobj
;
5431 wxRect
*arg1
= (wxRect
*) 0 ;
5434 PyObject
* obj0
= 0 ;
5435 PyObject
* obj1
= 0 ;
5437 (char *) "self",(char *) "p", NULL
5440 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetBottomRight",kwnames
,&obj0
,&obj1
)) goto fail
;
5441 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5442 if (SWIG_arg_fail(1)) SWIG_fail
;
5445 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
5448 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5449 (arg1
)->SetBottomRight((wxPoint
const &)*arg2
);
5451 wxPyEndAllowThreads(__tstate
);
5452 if (PyErr_Occurred()) SWIG_fail
;
5454 Py_INCREF(Py_None
); resultobj
= Py_None
;
5461 static PyObject
*_wrap_Rect_GetLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5462 PyObject
*resultobj
;
5463 wxRect
*arg1
= (wxRect
*) 0 ;
5465 PyObject
* obj0
= 0 ;
5467 (char *) "self", NULL
5470 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetLeft",kwnames
,&obj0
)) goto fail
;
5471 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5472 if (SWIG_arg_fail(1)) SWIG_fail
;
5474 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5475 result
= (int)((wxRect
const *)arg1
)->GetLeft();
5477 wxPyEndAllowThreads(__tstate
);
5478 if (PyErr_Occurred()) SWIG_fail
;
5481 resultobj
= SWIG_From_int((int)(result
));
5489 static PyObject
*_wrap_Rect_GetTop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5490 PyObject
*resultobj
;
5491 wxRect
*arg1
= (wxRect
*) 0 ;
5493 PyObject
* obj0
= 0 ;
5495 (char *) "self", NULL
5498 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetTop",kwnames
,&obj0
)) goto fail
;
5499 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5500 if (SWIG_arg_fail(1)) SWIG_fail
;
5502 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5503 result
= (int)((wxRect
const *)arg1
)->GetTop();
5505 wxPyEndAllowThreads(__tstate
);
5506 if (PyErr_Occurred()) SWIG_fail
;
5509 resultobj
= SWIG_From_int((int)(result
));
5517 static PyObject
*_wrap_Rect_GetBottom(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5518 PyObject
*resultobj
;
5519 wxRect
*arg1
= (wxRect
*) 0 ;
5521 PyObject
* obj0
= 0 ;
5523 (char *) "self", NULL
5526 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetBottom",kwnames
,&obj0
)) goto fail
;
5527 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5528 if (SWIG_arg_fail(1)) SWIG_fail
;
5530 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5531 result
= (int)((wxRect
const *)arg1
)->GetBottom();
5533 wxPyEndAllowThreads(__tstate
);
5534 if (PyErr_Occurred()) SWIG_fail
;
5537 resultobj
= SWIG_From_int((int)(result
));
5545 static PyObject
*_wrap_Rect_GetRight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5546 PyObject
*resultobj
;
5547 wxRect
*arg1
= (wxRect
*) 0 ;
5549 PyObject
* obj0
= 0 ;
5551 (char *) "self", NULL
5554 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetRight",kwnames
,&obj0
)) goto fail
;
5555 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5556 if (SWIG_arg_fail(1)) SWIG_fail
;
5558 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5559 result
= (int)((wxRect
const *)arg1
)->GetRight();
5561 wxPyEndAllowThreads(__tstate
);
5562 if (PyErr_Occurred()) SWIG_fail
;
5565 resultobj
= SWIG_From_int((int)(result
));
5573 static PyObject
*_wrap_Rect_SetLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5574 PyObject
*resultobj
;
5575 wxRect
*arg1
= (wxRect
*) 0 ;
5577 PyObject
* obj0
= 0 ;
5578 PyObject
* obj1
= 0 ;
5580 (char *) "self",(char *) "left", NULL
5583 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetLeft",kwnames
,&obj0
,&obj1
)) goto fail
;
5584 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5585 if (SWIG_arg_fail(1)) SWIG_fail
;
5587 arg2
= (int)(SWIG_As_int(obj1
));
5588 if (SWIG_arg_fail(2)) SWIG_fail
;
5591 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5592 (arg1
)->SetLeft(arg2
);
5594 wxPyEndAllowThreads(__tstate
);
5595 if (PyErr_Occurred()) SWIG_fail
;
5597 Py_INCREF(Py_None
); resultobj
= Py_None
;
5604 static PyObject
*_wrap_Rect_SetRight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5605 PyObject
*resultobj
;
5606 wxRect
*arg1
= (wxRect
*) 0 ;
5608 PyObject
* obj0
= 0 ;
5609 PyObject
* obj1
= 0 ;
5611 (char *) "self",(char *) "right", NULL
5614 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetRight",kwnames
,&obj0
,&obj1
)) goto fail
;
5615 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5616 if (SWIG_arg_fail(1)) SWIG_fail
;
5618 arg2
= (int)(SWIG_As_int(obj1
));
5619 if (SWIG_arg_fail(2)) SWIG_fail
;
5622 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5623 (arg1
)->SetRight(arg2
);
5625 wxPyEndAllowThreads(__tstate
);
5626 if (PyErr_Occurred()) SWIG_fail
;
5628 Py_INCREF(Py_None
); resultobj
= Py_None
;
5635 static PyObject
*_wrap_Rect_SetTop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5636 PyObject
*resultobj
;
5637 wxRect
*arg1
= (wxRect
*) 0 ;
5639 PyObject
* obj0
= 0 ;
5640 PyObject
* obj1
= 0 ;
5642 (char *) "self",(char *) "top", NULL
5645 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetTop",kwnames
,&obj0
,&obj1
)) goto fail
;
5646 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5647 if (SWIG_arg_fail(1)) SWIG_fail
;
5649 arg2
= (int)(SWIG_As_int(obj1
));
5650 if (SWIG_arg_fail(2)) SWIG_fail
;
5653 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5654 (arg1
)->SetTop(arg2
);
5656 wxPyEndAllowThreads(__tstate
);
5657 if (PyErr_Occurred()) SWIG_fail
;
5659 Py_INCREF(Py_None
); resultobj
= Py_None
;
5666 static PyObject
*_wrap_Rect_SetBottom(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5667 PyObject
*resultobj
;
5668 wxRect
*arg1
= (wxRect
*) 0 ;
5670 PyObject
* obj0
= 0 ;
5671 PyObject
* obj1
= 0 ;
5673 (char *) "self",(char *) "bottom", NULL
5676 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetBottom",kwnames
,&obj0
,&obj1
)) goto fail
;
5677 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5678 if (SWIG_arg_fail(1)) SWIG_fail
;
5680 arg2
= (int)(SWIG_As_int(obj1
));
5681 if (SWIG_arg_fail(2)) SWIG_fail
;
5684 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5685 (arg1
)->SetBottom(arg2
);
5687 wxPyEndAllowThreads(__tstate
);
5688 if (PyErr_Occurred()) SWIG_fail
;
5690 Py_INCREF(Py_None
); resultobj
= Py_None
;
5697 static PyObject
*_wrap_Rect_Inflate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5698 PyObject
*resultobj
;
5699 wxRect
*arg1
= (wxRect
*) 0 ;
5703 PyObject
* obj0
= 0 ;
5704 PyObject
* obj1
= 0 ;
5705 PyObject
* obj2
= 0 ;
5707 (char *) "self",(char *) "dx",(char *) "dy", NULL
5710 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Rect_Inflate",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5711 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5712 if (SWIG_arg_fail(1)) SWIG_fail
;
5714 arg2
= (int)(SWIG_As_int(obj1
));
5715 if (SWIG_arg_fail(2)) SWIG_fail
;
5718 arg3
= (int)(SWIG_As_int(obj2
));
5719 if (SWIG_arg_fail(3)) SWIG_fail
;
5722 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5724 wxRect
&_result_ref
= (arg1
)->Inflate(arg2
,arg3
);
5725 result
= (wxRect
*) &_result_ref
;
5728 wxPyEndAllowThreads(__tstate
);
5729 if (PyErr_Occurred()) SWIG_fail
;
5731 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 0);
5738 static PyObject
*_wrap_Rect_Deflate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5739 PyObject
*resultobj
;
5740 wxRect
*arg1
= (wxRect
*) 0 ;
5744 PyObject
* obj0
= 0 ;
5745 PyObject
* obj1
= 0 ;
5746 PyObject
* obj2
= 0 ;
5748 (char *) "self",(char *) "dx",(char *) "dy", NULL
5751 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Rect_Deflate",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5752 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5753 if (SWIG_arg_fail(1)) SWIG_fail
;
5755 arg2
= (int)(SWIG_As_int(obj1
));
5756 if (SWIG_arg_fail(2)) SWIG_fail
;
5759 arg3
= (int)(SWIG_As_int(obj2
));
5760 if (SWIG_arg_fail(3)) SWIG_fail
;
5763 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5765 wxRect
&_result_ref
= (arg1
)->Deflate(arg2
,arg3
);
5766 result
= (wxRect
*) &_result_ref
;
5769 wxPyEndAllowThreads(__tstate
);
5770 if (PyErr_Occurred()) SWIG_fail
;
5772 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 0);
5779 static PyObject
*_wrap_Rect_OffsetXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5780 PyObject
*resultobj
;
5781 wxRect
*arg1
= (wxRect
*) 0 ;
5784 PyObject
* obj0
= 0 ;
5785 PyObject
* obj1
= 0 ;
5786 PyObject
* obj2
= 0 ;
5788 (char *) "self",(char *) "dx",(char *) "dy", NULL
5791 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Rect_OffsetXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5792 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5793 if (SWIG_arg_fail(1)) SWIG_fail
;
5795 arg2
= (int)(SWIG_As_int(obj1
));
5796 if (SWIG_arg_fail(2)) SWIG_fail
;
5799 arg3
= (int)(SWIG_As_int(obj2
));
5800 if (SWIG_arg_fail(3)) SWIG_fail
;
5803 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5804 (arg1
)->Offset(arg2
,arg3
);
5806 wxPyEndAllowThreads(__tstate
);
5807 if (PyErr_Occurred()) SWIG_fail
;
5809 Py_INCREF(Py_None
); resultobj
= Py_None
;
5816 static PyObject
*_wrap_Rect_Offset(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5817 PyObject
*resultobj
;
5818 wxRect
*arg1
= (wxRect
*) 0 ;
5821 PyObject
* obj0
= 0 ;
5822 PyObject
* obj1
= 0 ;
5824 (char *) "self",(char *) "pt", NULL
5827 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_Offset",kwnames
,&obj0
,&obj1
)) goto fail
;
5828 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5829 if (SWIG_arg_fail(1)) SWIG_fail
;
5832 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
5835 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5836 (arg1
)->Offset((wxPoint
const &)*arg2
);
5838 wxPyEndAllowThreads(__tstate
);
5839 if (PyErr_Occurred()) SWIG_fail
;
5841 Py_INCREF(Py_None
); resultobj
= Py_None
;
5848 static PyObject
*_wrap_Rect_Intersect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5849 PyObject
*resultobj
;
5850 wxRect
*arg1
= (wxRect
*) 0 ;
5854 PyObject
* obj0
= 0 ;
5855 PyObject
* obj1
= 0 ;
5857 (char *) "self",(char *) "rect", NULL
5860 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_Intersect",kwnames
,&obj0
,&obj1
)) goto fail
;
5861 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5862 if (SWIG_arg_fail(1)) SWIG_fail
;
5865 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
5868 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5869 result
= (arg1
)->Intersect((wxRect
const &)*arg2
);
5871 wxPyEndAllowThreads(__tstate
);
5872 if (PyErr_Occurred()) SWIG_fail
;
5876 resultptr
= new wxRect((wxRect
&)(result
));
5877 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
5885 static PyObject
*_wrap_Rect_Union(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5886 PyObject
*resultobj
;
5887 wxRect
*arg1
= (wxRect
*) 0 ;
5891 PyObject
* obj0
= 0 ;
5892 PyObject
* obj1
= 0 ;
5894 (char *) "self",(char *) "rect", NULL
5897 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_Union",kwnames
,&obj0
,&obj1
)) goto fail
;
5898 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5899 if (SWIG_arg_fail(1)) SWIG_fail
;
5902 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
5905 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5906 result
= (arg1
)->Union((wxRect
const &)*arg2
);
5908 wxPyEndAllowThreads(__tstate
);
5909 if (PyErr_Occurred()) SWIG_fail
;
5913 resultptr
= new wxRect((wxRect
&)(result
));
5914 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
5922 static PyObject
*_wrap_Rect___add__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5923 PyObject
*resultobj
;
5924 wxRect
*arg1
= (wxRect
*) 0 ;
5928 PyObject
* obj0
= 0 ;
5929 PyObject
* obj1
= 0 ;
5931 (char *) "self",(char *) "rect", NULL
5934 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect___add__",kwnames
,&obj0
,&obj1
)) goto fail
;
5935 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5936 if (SWIG_arg_fail(1)) SWIG_fail
;
5939 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
5942 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5943 result
= ((wxRect
const *)arg1
)->operator +((wxRect
const &)*arg2
);
5945 wxPyEndAllowThreads(__tstate
);
5946 if (PyErr_Occurred()) SWIG_fail
;
5950 resultptr
= new wxRect((wxRect
&)(result
));
5951 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
5959 static PyObject
*_wrap_Rect___iadd__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5960 PyObject
*resultobj
;
5961 wxRect
*arg1
= (wxRect
*) 0 ;
5965 PyObject
* obj0
= 0 ;
5966 PyObject
* obj1
= 0 ;
5968 (char *) "self",(char *) "rect", NULL
5971 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect___iadd__",kwnames
,&obj0
,&obj1
)) goto fail
;
5972 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
5973 if (SWIG_arg_fail(1)) SWIG_fail
;
5976 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
5979 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5981 wxRect
&_result_ref
= (arg1
)->operator +=((wxRect
const &)*arg2
);
5982 result
= (wxRect
*) &_result_ref
;
5985 wxPyEndAllowThreads(__tstate
);
5986 if (PyErr_Occurred()) SWIG_fail
;
5988 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 1);
5995 static PyObject
*_wrap_Rect___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5996 PyObject
*resultobj
;
5997 wxRect
*arg1
= (wxRect
*) 0 ;
6001 PyObject
* obj0
= 0 ;
6002 PyObject
* obj1
= 0 ;
6004 (char *) "self",(char *) "rect", NULL
6007 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
6008 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
6009 if (SWIG_arg_fail(1)) SWIG_fail
;
6012 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
6015 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6016 result
= (bool)((wxRect
const *)arg1
)->operator ==((wxRect
const &)*arg2
);
6018 wxPyEndAllowThreads(__tstate
);
6019 if (PyErr_Occurred()) SWIG_fail
;
6022 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6030 static PyObject
*_wrap_Rect___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6031 PyObject
*resultobj
;
6032 wxRect
*arg1
= (wxRect
*) 0 ;
6036 PyObject
* obj0
= 0 ;
6037 PyObject
* obj1
= 0 ;
6039 (char *) "self",(char *) "rect", NULL
6042 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
6043 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
6044 if (SWIG_arg_fail(1)) SWIG_fail
;
6047 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
6050 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6051 result
= (bool)((wxRect
const *)arg1
)->operator !=((wxRect
const &)*arg2
);
6053 wxPyEndAllowThreads(__tstate
);
6054 if (PyErr_Occurred()) SWIG_fail
;
6057 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6065 static PyObject
*_wrap_Rect_InsideXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6066 PyObject
*resultobj
;
6067 wxRect
*arg1
= (wxRect
*) 0 ;
6071 PyObject
* obj0
= 0 ;
6072 PyObject
* obj1
= 0 ;
6073 PyObject
* obj2
= 0 ;
6075 (char *) "self",(char *) "x",(char *) "y", NULL
6078 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Rect_InsideXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6079 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
6080 if (SWIG_arg_fail(1)) SWIG_fail
;
6082 arg2
= (int)(SWIG_As_int(obj1
));
6083 if (SWIG_arg_fail(2)) SWIG_fail
;
6086 arg3
= (int)(SWIG_As_int(obj2
));
6087 if (SWIG_arg_fail(3)) SWIG_fail
;
6090 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6091 result
= (bool)((wxRect
const *)arg1
)->Inside(arg2
,arg3
);
6093 wxPyEndAllowThreads(__tstate
);
6094 if (PyErr_Occurred()) SWIG_fail
;
6097 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6105 static PyObject
*_wrap_Rect_Inside(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6106 PyObject
*resultobj
;
6107 wxRect
*arg1
= (wxRect
*) 0 ;
6111 PyObject
* obj0
= 0 ;
6112 PyObject
* obj1
= 0 ;
6114 (char *) "self",(char *) "pt", NULL
6117 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_Inside",kwnames
,&obj0
,&obj1
)) goto fail
;
6118 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
6119 if (SWIG_arg_fail(1)) SWIG_fail
;
6122 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
6125 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6126 result
= (bool)((wxRect
const *)arg1
)->Inside((wxPoint
const &)*arg2
);
6128 wxPyEndAllowThreads(__tstate
);
6129 if (PyErr_Occurred()) SWIG_fail
;
6132 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6140 static PyObject
*_wrap_Rect_Intersects(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6141 PyObject
*resultobj
;
6142 wxRect
*arg1
= (wxRect
*) 0 ;
6146 PyObject
* obj0
= 0 ;
6147 PyObject
* obj1
= 0 ;
6149 (char *) "self",(char *) "rect", NULL
6152 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_Intersects",kwnames
,&obj0
,&obj1
)) goto fail
;
6153 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
6154 if (SWIG_arg_fail(1)) SWIG_fail
;
6157 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
6160 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6161 result
= (bool)((wxRect
const *)arg1
)->Intersects((wxRect
const &)*arg2
);
6163 wxPyEndAllowThreads(__tstate
);
6164 if (PyErr_Occurred()) SWIG_fail
;
6167 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6175 static PyObject
*_wrap_Rect_x_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6176 PyObject
*resultobj
;
6177 wxRect
*arg1
= (wxRect
*) 0 ;
6179 PyObject
* obj0
= 0 ;
6180 PyObject
* obj1
= 0 ;
6182 (char *) "self",(char *) "x", NULL
6185 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_x_set",kwnames
,&obj0
,&obj1
)) goto fail
;
6186 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
6187 if (SWIG_arg_fail(1)) SWIG_fail
;
6189 arg2
= (int)(SWIG_As_int(obj1
));
6190 if (SWIG_arg_fail(2)) SWIG_fail
;
6192 if (arg1
) (arg1
)->x
= arg2
;
6194 Py_INCREF(Py_None
); resultobj
= Py_None
;
6201 static PyObject
*_wrap_Rect_x_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6202 PyObject
*resultobj
;
6203 wxRect
*arg1
= (wxRect
*) 0 ;
6205 PyObject
* obj0
= 0 ;
6207 (char *) "self", NULL
6210 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_x_get",kwnames
,&obj0
)) goto fail
;
6211 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
6212 if (SWIG_arg_fail(1)) SWIG_fail
;
6213 result
= (int) ((arg1
)->x
);
6216 resultobj
= SWIG_From_int((int)(result
));
6224 static PyObject
*_wrap_Rect_y_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6225 PyObject
*resultobj
;
6226 wxRect
*arg1
= (wxRect
*) 0 ;
6228 PyObject
* obj0
= 0 ;
6229 PyObject
* obj1
= 0 ;
6231 (char *) "self",(char *) "y", NULL
6234 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_y_set",kwnames
,&obj0
,&obj1
)) goto fail
;
6235 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
6236 if (SWIG_arg_fail(1)) SWIG_fail
;
6238 arg2
= (int)(SWIG_As_int(obj1
));
6239 if (SWIG_arg_fail(2)) SWIG_fail
;
6241 if (arg1
) (arg1
)->y
= arg2
;
6243 Py_INCREF(Py_None
); resultobj
= Py_None
;
6250 static PyObject
*_wrap_Rect_y_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6251 PyObject
*resultobj
;
6252 wxRect
*arg1
= (wxRect
*) 0 ;
6254 PyObject
* obj0
= 0 ;
6256 (char *) "self", NULL
6259 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_y_get",kwnames
,&obj0
)) goto fail
;
6260 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
6261 if (SWIG_arg_fail(1)) SWIG_fail
;
6262 result
= (int) ((arg1
)->y
);
6265 resultobj
= SWIG_From_int((int)(result
));
6273 static PyObject
*_wrap_Rect_width_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6274 PyObject
*resultobj
;
6275 wxRect
*arg1
= (wxRect
*) 0 ;
6277 PyObject
* obj0
= 0 ;
6278 PyObject
* obj1
= 0 ;
6280 (char *) "self",(char *) "width", NULL
6283 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_width_set",kwnames
,&obj0
,&obj1
)) goto fail
;
6284 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
6285 if (SWIG_arg_fail(1)) SWIG_fail
;
6287 arg2
= (int)(SWIG_As_int(obj1
));
6288 if (SWIG_arg_fail(2)) SWIG_fail
;
6290 if (arg1
) (arg1
)->width
= arg2
;
6292 Py_INCREF(Py_None
); resultobj
= Py_None
;
6299 static PyObject
*_wrap_Rect_width_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6300 PyObject
*resultobj
;
6301 wxRect
*arg1
= (wxRect
*) 0 ;
6303 PyObject
* obj0
= 0 ;
6305 (char *) "self", NULL
6308 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_width_get",kwnames
,&obj0
)) goto fail
;
6309 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
6310 if (SWIG_arg_fail(1)) SWIG_fail
;
6311 result
= (int) ((arg1
)->width
);
6314 resultobj
= SWIG_From_int((int)(result
));
6322 static PyObject
*_wrap_Rect_height_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6323 PyObject
*resultobj
;
6324 wxRect
*arg1
= (wxRect
*) 0 ;
6326 PyObject
* obj0
= 0 ;
6327 PyObject
* obj1
= 0 ;
6329 (char *) "self",(char *) "height", NULL
6332 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_height_set",kwnames
,&obj0
,&obj1
)) goto fail
;
6333 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
6334 if (SWIG_arg_fail(1)) SWIG_fail
;
6336 arg2
= (int)(SWIG_As_int(obj1
));
6337 if (SWIG_arg_fail(2)) SWIG_fail
;
6339 if (arg1
) (arg1
)->height
= arg2
;
6341 Py_INCREF(Py_None
); resultobj
= Py_None
;
6348 static PyObject
*_wrap_Rect_height_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6349 PyObject
*resultobj
;
6350 wxRect
*arg1
= (wxRect
*) 0 ;
6352 PyObject
* obj0
= 0 ;
6354 (char *) "self", NULL
6357 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_height_get",kwnames
,&obj0
)) goto fail
;
6358 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
6359 if (SWIG_arg_fail(1)) SWIG_fail
;
6360 result
= (int) ((arg1
)->height
);
6363 resultobj
= SWIG_From_int((int)(result
));
6371 static PyObject
*_wrap_Rect_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6372 PyObject
*resultobj
;
6373 wxRect
*arg1
= (wxRect
*) 0 ;
6374 int arg2
= (int) 0 ;
6375 int arg3
= (int) 0 ;
6376 int arg4
= (int) 0 ;
6377 int arg5
= (int) 0 ;
6378 PyObject
* obj0
= 0 ;
6379 PyObject
* obj1
= 0 ;
6380 PyObject
* obj2
= 0 ;
6381 PyObject
* obj3
= 0 ;
6382 PyObject
* obj4
= 0 ;
6384 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
6387 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOO:Rect_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
6388 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
6389 if (SWIG_arg_fail(1)) SWIG_fail
;
6392 arg2
= (int)(SWIG_As_int(obj1
));
6393 if (SWIG_arg_fail(2)) SWIG_fail
;
6398 arg3
= (int)(SWIG_As_int(obj2
));
6399 if (SWIG_arg_fail(3)) SWIG_fail
;
6404 arg4
= (int)(SWIG_As_int(obj3
));
6405 if (SWIG_arg_fail(4)) SWIG_fail
;
6410 arg5
= (int)(SWIG_As_int(obj4
));
6411 if (SWIG_arg_fail(5)) SWIG_fail
;
6415 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6416 wxRect_Set(arg1
,arg2
,arg3
,arg4
,arg5
);
6418 wxPyEndAllowThreads(__tstate
);
6419 if (PyErr_Occurred()) SWIG_fail
;
6421 Py_INCREF(Py_None
); resultobj
= Py_None
;
6428 static PyObject
*_wrap_Rect_Get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6429 PyObject
*resultobj
;
6430 wxRect
*arg1
= (wxRect
*) 0 ;
6432 PyObject
* obj0
= 0 ;
6434 (char *) "self", NULL
6437 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_Get",kwnames
,&obj0
)) goto fail
;
6438 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
6439 if (SWIG_arg_fail(1)) SWIG_fail
;
6441 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6442 result
= (PyObject
*)wxRect_Get(arg1
);
6444 wxPyEndAllowThreads(__tstate
);
6445 if (PyErr_Occurred()) SWIG_fail
;
6454 static PyObject
* Rect_swigregister(PyObject
*, PyObject
*args
) {
6456 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6457 SWIG_TypeClientData(SWIGTYPE_p_wxRect
, obj
);
6459 return Py_BuildValue((char *)"");
6461 static PyObject
*_wrap_IntersectRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6462 PyObject
*resultobj
;
6463 wxRect
*arg1
= (wxRect
*) 0 ;
6464 wxRect
*arg2
= (wxRect
*) 0 ;
6466 PyObject
* obj0
= 0 ;
6467 PyObject
* obj1
= 0 ;
6469 (char *) "r1",(char *) "r2", NULL
6472 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IntersectRect",kwnames
,&obj0
,&obj1
)) goto fail
;
6473 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
6474 if (SWIG_arg_fail(1)) SWIG_fail
;
6475 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
6476 if (SWIG_arg_fail(2)) SWIG_fail
;
6478 if (!wxPyCheckForApp()) SWIG_fail
;
6479 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6480 result
= (PyObject
*)wxIntersectRect(arg1
,arg2
);
6482 wxPyEndAllowThreads(__tstate
);
6483 if (PyErr_Occurred()) SWIG_fail
;
6492 static PyObject
*_wrap_new_Point2D(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6493 PyObject
*resultobj
;
6494 double arg1
= (double) 0.0 ;
6495 double arg2
= (double) 0.0 ;
6497 PyObject
* obj0
= 0 ;
6498 PyObject
* obj1
= 0 ;
6500 (char *) "x",(char *) "y", NULL
6503 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Point2D",kwnames
,&obj0
,&obj1
)) goto fail
;
6506 arg1
= (double)(SWIG_As_double(obj0
));
6507 if (SWIG_arg_fail(1)) SWIG_fail
;
6512 arg2
= (double)(SWIG_As_double(obj1
));
6513 if (SWIG_arg_fail(2)) SWIG_fail
;
6517 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6518 result
= (wxPoint2D
*)new wxPoint2D(arg1
,arg2
);
6520 wxPyEndAllowThreads(__tstate
);
6521 if (PyErr_Occurred()) SWIG_fail
;
6523 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint2D
, 1);
6530 static PyObject
*_wrap_new_Point2DCopy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6531 PyObject
*resultobj
;
6532 wxPoint2D
*arg1
= 0 ;
6535 PyObject
* obj0
= 0 ;
6540 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_Point2DCopy",kwnames
,&obj0
)) goto fail
;
6543 if ( ! wxPoint2D_helper(obj0
, &arg1
)) SWIG_fail
;
6546 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6547 result
= (wxPoint2D
*)new wxPoint2D((wxPoint2D
const &)*arg1
);
6549 wxPyEndAllowThreads(__tstate
);
6550 if (PyErr_Occurred()) SWIG_fail
;
6552 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint2D
, 1);
6559 static PyObject
*_wrap_new_Point2DFromPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6560 PyObject
*resultobj
;
6564 PyObject
* obj0
= 0 ;
6569 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_Point2DFromPoint",kwnames
,&obj0
)) goto fail
;
6572 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
6575 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6576 result
= (wxPoint2D
*)new wxPoint2D((wxPoint
const &)*arg1
);
6578 wxPyEndAllowThreads(__tstate
);
6579 if (PyErr_Occurred()) SWIG_fail
;
6581 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint2D
, 1);
6588 static PyObject
*_wrap_Point2D_GetFloor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6589 PyObject
*resultobj
;
6590 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
6591 int *arg2
= (int *) 0 ;
6592 int *arg3
= (int *) 0 ;
6597 PyObject
* obj0
= 0 ;
6599 (char *) "self", NULL
6602 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
6603 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
6604 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D_GetFloor",kwnames
,&obj0
)) goto fail
;
6605 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| 0);
6606 if (SWIG_arg_fail(1)) SWIG_fail
;
6608 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6609 ((wxPoint2D
const *)arg1
)->GetFloor(arg2
,arg3
);
6611 wxPyEndAllowThreads(__tstate
);
6612 if (PyErr_Occurred()) SWIG_fail
;
6614 Py_INCREF(Py_None
); resultobj
= Py_None
;
6615 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
6616 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
6617 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
6618 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
6625 static PyObject
*_wrap_Point2D_GetRounded(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6626 PyObject
*resultobj
;
6627 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
6628 int *arg2
= (int *) 0 ;
6629 int *arg3
= (int *) 0 ;
6634 PyObject
* obj0
= 0 ;
6636 (char *) "self", NULL
6639 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
6640 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
6641 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D_GetRounded",kwnames
,&obj0
)) goto fail
;
6642 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| 0);
6643 if (SWIG_arg_fail(1)) SWIG_fail
;
6645 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6646 ((wxPoint2D
const *)arg1
)->GetRounded(arg2
,arg3
);
6648 wxPyEndAllowThreads(__tstate
);
6649 if (PyErr_Occurred()) SWIG_fail
;
6651 Py_INCREF(Py_None
); resultobj
= Py_None
;
6652 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
6653 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
6654 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
6655 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
6662 static PyObject
*_wrap_Point2D_GetVectorLength(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6663 PyObject
*resultobj
;
6664 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
6666 PyObject
* obj0
= 0 ;
6668 (char *) "self", NULL
6671 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D_GetVectorLength",kwnames
,&obj0
)) goto fail
;
6672 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| 0);
6673 if (SWIG_arg_fail(1)) SWIG_fail
;
6675 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6676 result
= (double)((wxPoint2D
const *)arg1
)->GetVectorLength();
6678 wxPyEndAllowThreads(__tstate
);
6679 if (PyErr_Occurred()) SWIG_fail
;
6682 resultobj
= SWIG_From_double((double)(result
));
6690 static PyObject
*_wrap_Point2D_GetVectorAngle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6691 PyObject
*resultobj
;
6692 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
6694 PyObject
* obj0
= 0 ;
6696 (char *) "self", NULL
6699 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D_GetVectorAngle",kwnames
,&obj0
)) goto fail
;
6700 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| 0);
6701 if (SWIG_arg_fail(1)) SWIG_fail
;
6703 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6704 result
= (double)((wxPoint2D
const *)arg1
)->GetVectorAngle();
6706 wxPyEndAllowThreads(__tstate
);
6707 if (PyErr_Occurred()) SWIG_fail
;
6710 resultobj
= SWIG_From_double((double)(result
));
6718 static PyObject
*_wrap_Point2D_SetVectorLength(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6719 PyObject
*resultobj
;
6720 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
6722 PyObject
* obj0
= 0 ;
6723 PyObject
* obj1
= 0 ;
6725 (char *) "self",(char *) "length", NULL
6728 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_SetVectorLength",kwnames
,&obj0
,&obj1
)) goto fail
;
6729 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| 0);
6730 if (SWIG_arg_fail(1)) SWIG_fail
;
6732 arg2
= (double)(SWIG_As_double(obj1
));
6733 if (SWIG_arg_fail(2)) SWIG_fail
;
6736 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6737 (arg1
)->SetVectorLength(arg2
);
6739 wxPyEndAllowThreads(__tstate
);
6740 if (PyErr_Occurred()) SWIG_fail
;
6742 Py_INCREF(Py_None
); resultobj
= Py_None
;
6749 static PyObject
*_wrap_Point2D_SetVectorAngle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6750 PyObject
*resultobj
;
6751 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
6753 PyObject
* obj0
= 0 ;
6754 PyObject
* obj1
= 0 ;
6756 (char *) "self",(char *) "degrees", NULL
6759 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_SetVectorAngle",kwnames
,&obj0
,&obj1
)) goto fail
;
6760 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| 0);
6761 if (SWIG_arg_fail(1)) SWIG_fail
;
6763 arg2
= (double)(SWIG_As_double(obj1
));
6764 if (SWIG_arg_fail(2)) SWIG_fail
;
6767 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6768 (arg1
)->SetVectorAngle(arg2
);
6770 wxPyEndAllowThreads(__tstate
);
6771 if (PyErr_Occurred()) SWIG_fail
;
6773 Py_INCREF(Py_None
); resultobj
= Py_None
;
6780 static PyObject
*_wrap_Point2D_GetDistance(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6781 PyObject
*resultobj
;
6782 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
6783 wxPoint2D
*arg2
= 0 ;
6786 PyObject
* obj0
= 0 ;
6787 PyObject
* obj1
= 0 ;
6789 (char *) "self",(char *) "pt", NULL
6792 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_GetDistance",kwnames
,&obj0
,&obj1
)) goto fail
;
6793 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| 0);
6794 if (SWIG_arg_fail(1)) SWIG_fail
;
6797 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
6800 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6801 result
= (double)((wxPoint2D
const *)arg1
)->GetDistance((wxPoint2D
const &)*arg2
);
6803 wxPyEndAllowThreads(__tstate
);
6804 if (PyErr_Occurred()) SWIG_fail
;
6807 resultobj
= SWIG_From_double((double)(result
));
6815 static PyObject
*_wrap_Point2D_GetDistanceSquare(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6816 PyObject
*resultobj
;
6817 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
6818 wxPoint2D
*arg2
= 0 ;
6821 PyObject
* obj0
= 0 ;
6822 PyObject
* obj1
= 0 ;
6824 (char *) "self",(char *) "pt", NULL
6827 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_GetDistanceSquare",kwnames
,&obj0
,&obj1
)) goto fail
;
6828 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| 0);
6829 if (SWIG_arg_fail(1)) SWIG_fail
;
6832 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
6835 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6836 result
= (double)((wxPoint2D
const *)arg1
)->GetDistanceSquare((wxPoint2D
const &)*arg2
);
6838 wxPyEndAllowThreads(__tstate
);
6839 if (PyErr_Occurred()) SWIG_fail
;
6842 resultobj
= SWIG_From_double((double)(result
));
6850 static PyObject
*_wrap_Point2D_GetDotProduct(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6851 PyObject
*resultobj
;
6852 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
6853 wxPoint2D
*arg2
= 0 ;
6856 PyObject
* obj0
= 0 ;
6857 PyObject
* obj1
= 0 ;
6859 (char *) "self",(char *) "vec", NULL
6862 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_GetDotProduct",kwnames
,&obj0
,&obj1
)) goto fail
;
6863 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| 0);
6864 if (SWIG_arg_fail(1)) SWIG_fail
;
6867 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
6870 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6871 result
= (double)((wxPoint2D
const *)arg1
)->GetDotProduct((wxPoint2D
const &)*arg2
);
6873 wxPyEndAllowThreads(__tstate
);
6874 if (PyErr_Occurred()) SWIG_fail
;
6877 resultobj
= SWIG_From_double((double)(result
));
6885 static PyObject
*_wrap_Point2D_GetCrossProduct(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6886 PyObject
*resultobj
;
6887 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
6888 wxPoint2D
*arg2
= 0 ;
6891 PyObject
* obj0
= 0 ;
6892 PyObject
* obj1
= 0 ;
6894 (char *) "self",(char *) "vec", NULL
6897 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_GetCrossProduct",kwnames
,&obj0
,&obj1
)) goto fail
;
6898 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| 0);
6899 if (SWIG_arg_fail(1)) SWIG_fail
;
6902 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
6905 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6906 result
= (double)((wxPoint2D
const *)arg1
)->GetCrossProduct((wxPoint2D
const &)*arg2
);
6908 wxPyEndAllowThreads(__tstate
);
6909 if (PyErr_Occurred()) SWIG_fail
;
6912 resultobj
= SWIG_From_double((double)(result
));
6920 static PyObject
*_wrap_Point2D___neg__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6921 PyObject
*resultobj
;
6922 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
6924 PyObject
* obj0
= 0 ;
6926 (char *) "self", NULL
6929 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D___neg__",kwnames
,&obj0
)) goto fail
;
6930 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| 0);
6931 if (SWIG_arg_fail(1)) SWIG_fail
;
6933 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6934 result
= (arg1
)->operator -();
6936 wxPyEndAllowThreads(__tstate
);
6937 if (PyErr_Occurred()) SWIG_fail
;
6940 wxPoint2D
* resultptr
;
6941 resultptr
= new wxPoint2D((wxPoint2D
&)(result
));
6942 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint2D
, 1);
6950 static PyObject
*_wrap_Point2D___iadd__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6951 PyObject
*resultobj
;
6952 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
6953 wxPoint2D
*arg2
= 0 ;
6956 PyObject
* obj0
= 0 ;
6957 PyObject
* obj1
= 0 ;
6959 (char *) "self",(char *) "pt", NULL
6962 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D___iadd__",kwnames
,&obj0
,&obj1
)) goto fail
;
6963 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
6964 if (SWIG_arg_fail(1)) SWIG_fail
;
6967 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
6970 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6972 wxPoint2D
&_result_ref
= (arg1
)->operator +=((wxPoint2D
const &)*arg2
);
6973 result
= (wxPoint2D
*) &_result_ref
;
6976 wxPyEndAllowThreads(__tstate
);
6977 if (PyErr_Occurred()) SWIG_fail
;
6979 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint2D
, 1);
6986 static PyObject
*_wrap_Point2D___isub__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6987 PyObject
*resultobj
;
6988 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
6989 wxPoint2D
*arg2
= 0 ;
6992 PyObject
* obj0
= 0 ;
6993 PyObject
* obj1
= 0 ;
6995 (char *) "self",(char *) "pt", NULL
6998 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D___isub__",kwnames
,&obj0
,&obj1
)) goto fail
;
6999 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
7000 if (SWIG_arg_fail(1)) SWIG_fail
;
7003 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
7006 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7008 wxPoint2D
&_result_ref
= (arg1
)->operator -=((wxPoint2D
const &)*arg2
);
7009 result
= (wxPoint2D
*) &_result_ref
;
7012 wxPyEndAllowThreads(__tstate
);
7013 if (PyErr_Occurred()) SWIG_fail
;
7015 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint2D
, 1);
7022 static PyObject
*_wrap_Point2D___imul__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7023 PyObject
*resultobj
;
7024 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
7025 wxPoint2D
*arg2
= 0 ;
7028 PyObject
* obj0
= 0 ;
7029 PyObject
* obj1
= 0 ;
7031 (char *) "self",(char *) "pt", NULL
7034 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D___imul__",kwnames
,&obj0
,&obj1
)) goto fail
;
7035 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
7036 if (SWIG_arg_fail(1)) SWIG_fail
;
7039 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
7042 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7044 wxPoint2D
&_result_ref
= (arg1
)->operator *=((wxPoint2D
const &)*arg2
);
7045 result
= (wxPoint2D
*) &_result_ref
;
7048 wxPyEndAllowThreads(__tstate
);
7049 if (PyErr_Occurred()) SWIG_fail
;
7051 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint2D
, 1);
7058 static PyObject
*_wrap_Point2D___idiv__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7059 PyObject
*resultobj
;
7060 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
7061 wxPoint2D
*arg2
= 0 ;
7064 PyObject
* obj0
= 0 ;
7065 PyObject
* obj1
= 0 ;
7067 (char *) "self",(char *) "pt", NULL
7070 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D___idiv__",kwnames
,&obj0
,&obj1
)) goto fail
;
7071 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
7072 if (SWIG_arg_fail(1)) SWIG_fail
;
7075 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
7078 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7080 wxPoint2D
&_result_ref
= (arg1
)->operator /=((wxPoint2D
const &)*arg2
);
7081 result
= (wxPoint2D
*) &_result_ref
;
7084 wxPyEndAllowThreads(__tstate
);
7085 if (PyErr_Occurred()) SWIG_fail
;
7087 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint2D
, 1);
7094 static PyObject
*_wrap_Point2D___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7095 PyObject
*resultobj
;
7096 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
7097 wxPoint2D
*arg2
= 0 ;
7100 PyObject
* obj0
= 0 ;
7101 PyObject
* obj1
= 0 ;
7103 (char *) "self",(char *) "pt", NULL
7106 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
7107 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| 0);
7108 if (SWIG_arg_fail(1)) SWIG_fail
;
7111 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
7114 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7115 result
= (bool)((wxPoint2D
const *)arg1
)->operator ==((wxPoint2D
const &)*arg2
);
7117 wxPyEndAllowThreads(__tstate
);
7118 if (PyErr_Occurred()) SWIG_fail
;
7121 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7129 static PyObject
*_wrap_Point2D___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7130 PyObject
*resultobj
;
7131 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
7132 wxPoint2D
*arg2
= 0 ;
7135 PyObject
* obj0
= 0 ;
7136 PyObject
* obj1
= 0 ;
7138 (char *) "self",(char *) "pt", NULL
7141 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
7142 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| 0);
7143 if (SWIG_arg_fail(1)) SWIG_fail
;
7146 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
7149 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7150 result
= (bool)((wxPoint2D
const *)arg1
)->operator !=((wxPoint2D
const &)*arg2
);
7152 wxPyEndAllowThreads(__tstate
);
7153 if (PyErr_Occurred()) SWIG_fail
;
7156 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7164 static PyObject
*_wrap_Point2D_x_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7165 PyObject
*resultobj
;
7166 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
7168 PyObject
* obj0
= 0 ;
7169 PyObject
* obj1
= 0 ;
7171 (char *) "self",(char *) "m_x", NULL
7174 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_x_set",kwnames
,&obj0
,&obj1
)) goto fail
;
7175 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| 0);
7176 if (SWIG_arg_fail(1)) SWIG_fail
;
7178 arg2
= (double)(SWIG_As_double(obj1
));
7179 if (SWIG_arg_fail(2)) SWIG_fail
;
7181 if (arg1
) (arg1
)->m_x
= arg2
;
7183 Py_INCREF(Py_None
); resultobj
= Py_None
;
7190 static PyObject
*_wrap_Point2D_x_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7191 PyObject
*resultobj
;
7192 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
7194 PyObject
* obj0
= 0 ;
7196 (char *) "self", NULL
7199 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D_x_get",kwnames
,&obj0
)) goto fail
;
7200 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| 0);
7201 if (SWIG_arg_fail(1)) SWIG_fail
;
7202 result
= (double) ((arg1
)->m_x
);
7205 resultobj
= SWIG_From_double((double)(result
));
7213 static PyObject
*_wrap_Point2D_y_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7214 PyObject
*resultobj
;
7215 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
7217 PyObject
* obj0
= 0 ;
7218 PyObject
* obj1
= 0 ;
7220 (char *) "self",(char *) "m_y", NULL
7223 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_y_set",kwnames
,&obj0
,&obj1
)) goto fail
;
7224 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| 0);
7225 if (SWIG_arg_fail(1)) SWIG_fail
;
7227 arg2
= (double)(SWIG_As_double(obj1
));
7228 if (SWIG_arg_fail(2)) SWIG_fail
;
7230 if (arg1
) (arg1
)->m_y
= arg2
;
7232 Py_INCREF(Py_None
); resultobj
= Py_None
;
7239 static PyObject
*_wrap_Point2D_y_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7240 PyObject
*resultobj
;
7241 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
7243 PyObject
* obj0
= 0 ;
7245 (char *) "self", NULL
7248 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D_y_get",kwnames
,&obj0
)) goto fail
;
7249 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| 0);
7250 if (SWIG_arg_fail(1)) SWIG_fail
;
7251 result
= (double) ((arg1
)->m_y
);
7254 resultobj
= SWIG_From_double((double)(result
));
7262 static PyObject
*_wrap_Point2D_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7263 PyObject
*resultobj
;
7264 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
7265 double arg2
= (double) 0 ;
7266 double arg3
= (double) 0 ;
7267 PyObject
* obj0
= 0 ;
7268 PyObject
* obj1
= 0 ;
7269 PyObject
* obj2
= 0 ;
7271 (char *) "self",(char *) "x",(char *) "y", NULL
7274 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Point2D_Set",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7275 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| 0);
7276 if (SWIG_arg_fail(1)) SWIG_fail
;
7279 arg2
= (double)(SWIG_As_double(obj1
));
7280 if (SWIG_arg_fail(2)) SWIG_fail
;
7285 arg3
= (double)(SWIG_As_double(obj2
));
7286 if (SWIG_arg_fail(3)) SWIG_fail
;
7290 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7291 wxPoint2D_Set(arg1
,arg2
,arg3
);
7293 wxPyEndAllowThreads(__tstate
);
7294 if (PyErr_Occurred()) SWIG_fail
;
7296 Py_INCREF(Py_None
); resultobj
= Py_None
;
7303 static PyObject
*_wrap_Point2D_Get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7304 PyObject
*resultobj
;
7305 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
7307 PyObject
* obj0
= 0 ;
7309 (char *) "self", NULL
7312 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D_Get",kwnames
,&obj0
)) goto fail
;
7313 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| 0);
7314 if (SWIG_arg_fail(1)) SWIG_fail
;
7316 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7317 result
= (PyObject
*)wxPoint2D_Get(arg1
);
7319 wxPyEndAllowThreads(__tstate
);
7320 if (PyErr_Occurred()) SWIG_fail
;
7329 static PyObject
* Point2D_swigregister(PyObject
*, PyObject
*args
) {
7331 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7332 SWIG_TypeClientData(SWIGTYPE_p_wxPoint2D
, obj
);
7334 return Py_BuildValue((char *)"");
7336 static int _wrap_DefaultPosition_set(PyObject
*) {
7337 PyErr_SetString(PyExc_TypeError
,"Variable DefaultPosition is read-only.");
7342 static PyObject
*_wrap_DefaultPosition_get(void) {
7345 pyobj
= SWIG_NewPointerObj((void *)(&wxDefaultPosition
), SWIGTYPE_p_wxPoint
, 0);
7350 static int _wrap_DefaultSize_set(PyObject
*) {
7351 PyErr_SetString(PyExc_TypeError
,"Variable DefaultSize is read-only.");
7356 static PyObject
*_wrap_DefaultSize_get(void) {
7359 pyobj
= SWIG_NewPointerObj((void *)(&wxDefaultSize
), SWIGTYPE_p_wxSize
, 0);
7364 static PyObject
*_wrap_new_InputStream(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7365 PyObject
*resultobj
;
7366 PyObject
*arg1
= (PyObject
*) 0 ;
7367 wxPyInputStream
*result
;
7368 PyObject
* obj0
= 0 ;
7373 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_InputStream",kwnames
,&obj0
)) goto fail
;
7376 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7377 result
= (wxPyInputStream
*)new_wxPyInputStream(arg1
);
7379 wxPyEndAllowThreads(__tstate
);
7380 if (PyErr_Occurred()) SWIG_fail
;
7382 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyInputStream
, 1);
7389 static PyObject
*_wrap_delete_InputStream(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7390 PyObject
*resultobj
;
7391 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
7392 PyObject
* obj0
= 0 ;
7394 (char *) "self", NULL
7397 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_InputStream",kwnames
,&obj0
)) goto fail
;
7398 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyInputStream
, SWIG_POINTER_EXCEPTION
| 0);
7399 if (SWIG_arg_fail(1)) SWIG_fail
;
7401 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7404 wxPyEndAllowThreads(__tstate
);
7405 if (PyErr_Occurred()) SWIG_fail
;
7407 Py_INCREF(Py_None
); resultobj
= Py_None
;
7414 static PyObject
*_wrap_InputStream_close(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7415 PyObject
*resultobj
;
7416 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
7417 PyObject
* obj0
= 0 ;
7419 (char *) "self", NULL
7422 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_close",kwnames
,&obj0
)) goto fail
;
7423 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyInputStream
, SWIG_POINTER_EXCEPTION
| 0);
7424 if (SWIG_arg_fail(1)) SWIG_fail
;
7426 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7429 wxPyEndAllowThreads(__tstate
);
7430 if (PyErr_Occurred()) SWIG_fail
;
7432 Py_INCREF(Py_None
); resultobj
= Py_None
;
7439 static PyObject
*_wrap_InputStream_flush(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7440 PyObject
*resultobj
;
7441 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
7442 PyObject
* obj0
= 0 ;
7444 (char *) "self", NULL
7447 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_flush",kwnames
,&obj0
)) goto fail
;
7448 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyInputStream
, SWIG_POINTER_EXCEPTION
| 0);
7449 if (SWIG_arg_fail(1)) SWIG_fail
;
7451 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7454 wxPyEndAllowThreads(__tstate
);
7455 if (PyErr_Occurred()) SWIG_fail
;
7457 Py_INCREF(Py_None
); resultobj
= Py_None
;
7464 static PyObject
*_wrap_InputStream_eof(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7465 PyObject
*resultobj
;
7466 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
7468 PyObject
* obj0
= 0 ;
7470 (char *) "self", NULL
7473 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_eof",kwnames
,&obj0
)) goto fail
;
7474 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyInputStream
, SWIG_POINTER_EXCEPTION
| 0);
7475 if (SWIG_arg_fail(1)) SWIG_fail
;
7477 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7478 result
= (bool)(arg1
)->eof();
7480 wxPyEndAllowThreads(__tstate
);
7481 if (PyErr_Occurred()) SWIG_fail
;
7484 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7492 static PyObject
*_wrap_InputStream_read(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7493 PyObject
*resultobj
;
7494 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
7495 int arg2
= (int) -1 ;
7497 PyObject
* obj0
= 0 ;
7498 PyObject
* obj1
= 0 ;
7500 (char *) "self",(char *) "size", NULL
7503 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:InputStream_read",kwnames
,&obj0
,&obj1
)) goto fail
;
7504 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyInputStream
, SWIG_POINTER_EXCEPTION
| 0);
7505 if (SWIG_arg_fail(1)) SWIG_fail
;
7508 arg2
= (int)(SWIG_As_int(obj1
));
7509 if (SWIG_arg_fail(2)) SWIG_fail
;
7513 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7514 result
= (PyObject
*)(arg1
)->read(arg2
);
7516 wxPyEndAllowThreads(__tstate
);
7517 if (PyErr_Occurred()) SWIG_fail
;
7526 static PyObject
*_wrap_InputStream_readline(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7527 PyObject
*resultobj
;
7528 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
7529 int arg2
= (int) -1 ;
7531 PyObject
* obj0
= 0 ;
7532 PyObject
* obj1
= 0 ;
7534 (char *) "self",(char *) "size", NULL
7537 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:InputStream_readline",kwnames
,&obj0
,&obj1
)) goto fail
;
7538 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyInputStream
, SWIG_POINTER_EXCEPTION
| 0);
7539 if (SWIG_arg_fail(1)) SWIG_fail
;
7542 arg2
= (int)(SWIG_As_int(obj1
));
7543 if (SWIG_arg_fail(2)) SWIG_fail
;
7547 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7548 result
= (PyObject
*)(arg1
)->readline(arg2
);
7550 wxPyEndAllowThreads(__tstate
);
7551 if (PyErr_Occurred()) SWIG_fail
;
7560 static PyObject
*_wrap_InputStream_readlines(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7561 PyObject
*resultobj
;
7562 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
7563 int arg2
= (int) -1 ;
7565 PyObject
* obj0
= 0 ;
7566 PyObject
* obj1
= 0 ;
7568 (char *) "self",(char *) "sizehint", NULL
7571 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:InputStream_readlines",kwnames
,&obj0
,&obj1
)) goto fail
;
7572 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyInputStream
, SWIG_POINTER_EXCEPTION
| 0);
7573 if (SWIG_arg_fail(1)) SWIG_fail
;
7576 arg2
= (int)(SWIG_As_int(obj1
));
7577 if (SWIG_arg_fail(2)) SWIG_fail
;
7581 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7582 result
= (PyObject
*)(arg1
)->readlines(arg2
);
7584 wxPyEndAllowThreads(__tstate
);
7585 if (PyErr_Occurred()) SWIG_fail
;
7594 static PyObject
*_wrap_InputStream_seek(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7595 PyObject
*resultobj
;
7596 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
7598 int arg3
= (int) 0 ;
7599 PyObject
* obj0
= 0 ;
7600 PyObject
* obj1
= 0 ;
7601 PyObject
* obj2
= 0 ;
7603 (char *) "self",(char *) "offset",(char *) "whence", NULL
7606 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:InputStream_seek",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7607 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyInputStream
, SWIG_POINTER_EXCEPTION
| 0);
7608 if (SWIG_arg_fail(1)) SWIG_fail
;
7610 arg2
= (int)(SWIG_As_int(obj1
));
7611 if (SWIG_arg_fail(2)) SWIG_fail
;
7615 arg3
= (int)(SWIG_As_int(obj2
));
7616 if (SWIG_arg_fail(3)) SWIG_fail
;
7620 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7621 (arg1
)->seek(arg2
,arg3
);
7623 wxPyEndAllowThreads(__tstate
);
7624 if (PyErr_Occurred()) SWIG_fail
;
7626 Py_INCREF(Py_None
); resultobj
= Py_None
;
7633 static PyObject
*_wrap_InputStream_tell(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7634 PyObject
*resultobj
;
7635 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
7637 PyObject
* obj0
= 0 ;
7639 (char *) "self", NULL
7642 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_tell",kwnames
,&obj0
)) goto fail
;
7643 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyInputStream
, SWIG_POINTER_EXCEPTION
| 0);
7644 if (SWIG_arg_fail(1)) SWIG_fail
;
7646 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7647 result
= (int)(arg1
)->tell();
7649 wxPyEndAllowThreads(__tstate
);
7650 if (PyErr_Occurred()) SWIG_fail
;
7653 resultobj
= SWIG_From_int((int)(result
));
7661 static PyObject
*_wrap_InputStream_Peek(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7662 PyObject
*resultobj
;
7663 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
7665 PyObject
* obj0
= 0 ;
7667 (char *) "self", NULL
7670 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_Peek",kwnames
,&obj0
)) goto fail
;
7671 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyInputStream
, SWIG_POINTER_EXCEPTION
| 0);
7672 if (SWIG_arg_fail(1)) SWIG_fail
;
7674 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7675 result
= (char)(arg1
)->Peek();
7677 wxPyEndAllowThreads(__tstate
);
7678 if (PyErr_Occurred()) SWIG_fail
;
7681 resultobj
= SWIG_From_char((char)(result
));
7689 static PyObject
*_wrap_InputStream_GetC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7690 PyObject
*resultobj
;
7691 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
7693 PyObject
* obj0
= 0 ;
7695 (char *) "self", NULL
7698 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_GetC",kwnames
,&obj0
)) goto fail
;
7699 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyInputStream
, SWIG_POINTER_EXCEPTION
| 0);
7700 if (SWIG_arg_fail(1)) SWIG_fail
;
7702 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7703 result
= (char)(arg1
)->GetC();
7705 wxPyEndAllowThreads(__tstate
);
7706 if (PyErr_Occurred()) SWIG_fail
;
7709 resultobj
= SWIG_From_char((char)(result
));
7717 static PyObject
*_wrap_InputStream_LastRead(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7718 PyObject
*resultobj
;
7719 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
7721 PyObject
* obj0
= 0 ;
7723 (char *) "self", NULL
7726 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_LastRead",kwnames
,&obj0
)) goto fail
;
7727 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyInputStream
, SWIG_POINTER_EXCEPTION
| 0);
7728 if (SWIG_arg_fail(1)) SWIG_fail
;
7730 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7731 result
= (size_t)(arg1
)->LastRead();
7733 wxPyEndAllowThreads(__tstate
);
7734 if (PyErr_Occurred()) SWIG_fail
;
7737 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
7745 static PyObject
*_wrap_InputStream_CanRead(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7746 PyObject
*resultobj
;
7747 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
7749 PyObject
* obj0
= 0 ;
7751 (char *) "self", NULL
7754 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_CanRead",kwnames
,&obj0
)) goto fail
;
7755 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyInputStream
, SWIG_POINTER_EXCEPTION
| 0);
7756 if (SWIG_arg_fail(1)) SWIG_fail
;
7758 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7759 result
= (bool)(arg1
)->CanRead();
7761 wxPyEndAllowThreads(__tstate
);
7762 if (PyErr_Occurred()) SWIG_fail
;
7765 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7773 static PyObject
*_wrap_InputStream_Eof(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7774 PyObject
*resultobj
;
7775 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
7777 PyObject
* obj0
= 0 ;
7779 (char *) "self", NULL
7782 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_Eof",kwnames
,&obj0
)) goto fail
;
7783 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyInputStream
, SWIG_POINTER_EXCEPTION
| 0);
7784 if (SWIG_arg_fail(1)) SWIG_fail
;
7786 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7787 result
= (bool)(arg1
)->Eof();
7789 wxPyEndAllowThreads(__tstate
);
7790 if (PyErr_Occurred()) SWIG_fail
;
7793 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7801 static PyObject
*_wrap_InputStream_Ungetch(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7802 PyObject
*resultobj
;
7803 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
7806 PyObject
* obj0
= 0 ;
7807 PyObject
* obj1
= 0 ;
7809 (char *) "self",(char *) "c", NULL
7812 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:InputStream_Ungetch",kwnames
,&obj0
,&obj1
)) goto fail
;
7813 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyInputStream
, SWIG_POINTER_EXCEPTION
| 0);
7814 if (SWIG_arg_fail(1)) SWIG_fail
;
7816 arg2
= (char)(SWIG_As_char(obj1
));
7817 if (SWIG_arg_fail(2)) SWIG_fail
;
7820 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7821 result
= (bool)(arg1
)->Ungetch(arg2
);
7823 wxPyEndAllowThreads(__tstate
);
7824 if (PyErr_Occurred()) SWIG_fail
;
7827 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7835 static PyObject
*_wrap_InputStream_SeekI(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7836 PyObject
*resultobj
;
7837 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
7839 wxSeekMode arg3
= (wxSeekMode
) wxFromStart
;
7841 PyObject
* obj0
= 0 ;
7842 PyObject
* obj1
= 0 ;
7843 PyObject
* obj2
= 0 ;
7845 (char *) "self",(char *) "pos",(char *) "mode", NULL
7848 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:InputStream_SeekI",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7849 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyInputStream
, SWIG_POINTER_EXCEPTION
| 0);
7850 if (SWIG_arg_fail(1)) SWIG_fail
;
7852 arg2
= (long)(SWIG_As_long(obj1
));
7853 if (SWIG_arg_fail(2)) SWIG_fail
;
7857 arg3
= (wxSeekMode
)(SWIG_As_int(obj2
));
7858 if (SWIG_arg_fail(3)) SWIG_fail
;
7862 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7863 result
= (long)(arg1
)->SeekI(arg2
,(wxSeekMode
)arg3
);
7865 wxPyEndAllowThreads(__tstate
);
7866 if (PyErr_Occurred()) SWIG_fail
;
7869 resultobj
= SWIG_From_long((long)(result
));
7877 static PyObject
*_wrap_InputStream_TellI(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7878 PyObject
*resultobj
;
7879 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
7881 PyObject
* obj0
= 0 ;
7883 (char *) "self", NULL
7886 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_TellI",kwnames
,&obj0
)) goto fail
;
7887 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyInputStream
, SWIG_POINTER_EXCEPTION
| 0);
7888 if (SWIG_arg_fail(1)) SWIG_fail
;
7890 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7891 result
= (long)(arg1
)->TellI();
7893 wxPyEndAllowThreads(__tstate
);
7894 if (PyErr_Occurred()) SWIG_fail
;
7897 resultobj
= SWIG_From_long((long)(result
));
7905 static PyObject
* InputStream_swigregister(PyObject
*, PyObject
*args
) {
7907 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7908 SWIG_TypeClientData(SWIGTYPE_p_wxPyInputStream
, obj
);
7910 return Py_BuildValue((char *)"");
7912 static PyObject
*_wrap_OutputStream_write(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7913 PyObject
*resultobj
;
7914 wxOutputStream
*arg1
= (wxOutputStream
*) 0 ;
7915 PyObject
*arg2
= (PyObject
*) 0 ;
7916 PyObject
* obj0
= 0 ;
7917 PyObject
* obj1
= 0 ;
7919 (char *) "self",(char *) "obj", NULL
7922 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:OutputStream_write",kwnames
,&obj0
,&obj1
)) goto fail
;
7923 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxOutputStream
, SWIG_POINTER_EXCEPTION
| 0);
7924 if (SWIG_arg_fail(1)) SWIG_fail
;
7927 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7928 wxOutputStream_write(arg1
,arg2
);
7930 wxPyEndAllowThreads(__tstate
);
7931 if (PyErr_Occurred()) SWIG_fail
;
7933 Py_INCREF(Py_None
); resultobj
= Py_None
;
7940 static PyObject
* OutputStream_swigregister(PyObject
*, PyObject
*args
) {
7942 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7943 SWIG_TypeClientData(SWIGTYPE_p_wxOutputStream
, obj
);
7945 return Py_BuildValue((char *)"");
7947 static PyObject
*_wrap_new_FSFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7948 PyObject
*resultobj
;
7949 wxInputStream
*arg1
= (wxInputStream
*) 0 ;
7950 wxString
*arg2
= 0 ;
7951 wxString
*arg3
= 0 ;
7952 wxString
*arg4
= 0 ;
7955 wxPyInputStream
*temp1
;
7956 bool temp2
= false ;
7957 bool temp3
= false ;
7958 bool temp4
= false ;
7959 PyObject
* obj0
= 0 ;
7960 PyObject
* obj1
= 0 ;
7961 PyObject
* obj2
= 0 ;
7962 PyObject
* obj3
= 0 ;
7963 PyObject
* obj4
= 0 ;
7965 (char *) "stream",(char *) "loc",(char *) "mimetype",(char *) "anchor",(char *) "modif", NULL
7968 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:new_FSFile",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
7970 if (wxPyConvertSwigPtr(obj0
, (void **)&temp1
, wxT("wxPyInputStream"))) {
7971 arg1
= wxPyCBInputStream_copy((wxPyCBInputStream
*)temp1
->m_wxis
);
7973 PyErr_Clear(); // clear the failure of the wxPyConvert above
7974 arg1
= wxPyCBInputStream_create(obj0
, true);
7976 PyErr_SetString(PyExc_TypeError
, "Expected wx.InputStream or Python file-like object.");
7982 arg2
= wxString_in_helper(obj1
);
7983 if (arg2
== NULL
) SWIG_fail
;
7987 arg3
= wxString_in_helper(obj2
);
7988 if (arg3
== NULL
) SWIG_fail
;
7992 arg4
= wxString_in_helper(obj3
);
7993 if (arg4
== NULL
) SWIG_fail
;
7998 SWIG_Python_ConvertPtr(obj4
, (void **)&argp
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
);
7999 if (SWIG_arg_fail(5)) SWIG_fail
;
8001 SWIG_null_ref("wxDateTime");
8003 if (SWIG_arg_fail(5)) SWIG_fail
;
8007 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8008 result
= (wxFSFile
*)new wxFSFile(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
);
8010 wxPyEndAllowThreads(__tstate
);
8011 if (PyErr_Occurred()) SWIG_fail
;
8014 resultobj
= wxPyMake_wxObject(result
, 1);
8046 static PyObject
*_wrap_delete_FSFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8047 PyObject
*resultobj
;
8048 wxFSFile
*arg1
= (wxFSFile
*) 0 ;
8049 PyObject
* obj0
= 0 ;
8051 (char *) "self", NULL
8054 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FSFile",kwnames
,&obj0
)) goto fail
;
8055 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFSFile
, SWIG_POINTER_EXCEPTION
| 0);
8056 if (SWIG_arg_fail(1)) SWIG_fail
;
8058 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8061 wxPyEndAllowThreads(__tstate
);
8062 if (PyErr_Occurred()) SWIG_fail
;
8064 Py_INCREF(Py_None
); resultobj
= Py_None
;
8071 static PyObject
*_wrap_FSFile_GetStream(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8072 PyObject
*resultobj
;
8073 wxFSFile
*arg1
= (wxFSFile
*) 0 ;
8074 wxInputStream
*result
;
8075 PyObject
* obj0
= 0 ;
8077 (char *) "self", NULL
8080 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FSFile_GetStream",kwnames
,&obj0
)) goto fail
;
8081 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFSFile
, SWIG_POINTER_EXCEPTION
| 0);
8082 if (SWIG_arg_fail(1)) SWIG_fail
;
8084 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8085 result
= (wxInputStream
*)(arg1
)->GetStream();
8087 wxPyEndAllowThreads(__tstate
);
8088 if (PyErr_Occurred()) SWIG_fail
;
8091 wxPyInputStream
* _ptr
= NULL
;
8094 _ptr
= new wxPyInputStream(result
);
8096 resultobj
= wxPyConstructObject(_ptr
, wxT("wxPyInputStream"), 0);
8104 static PyObject
*_wrap_FSFile_GetMimeType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8105 PyObject
*resultobj
;
8106 wxFSFile
*arg1
= (wxFSFile
*) 0 ;
8108 PyObject
* obj0
= 0 ;
8110 (char *) "self", NULL
8113 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FSFile_GetMimeType",kwnames
,&obj0
)) goto fail
;
8114 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFSFile
, SWIG_POINTER_EXCEPTION
| 0);
8115 if (SWIG_arg_fail(1)) SWIG_fail
;
8117 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8119 wxString
const &_result_ref
= (arg1
)->GetMimeType();
8120 result
= (wxString
*) &_result_ref
;
8123 wxPyEndAllowThreads(__tstate
);
8124 if (PyErr_Occurred()) SWIG_fail
;
8128 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
8130 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
8139 static PyObject
*_wrap_FSFile_GetLocation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8140 PyObject
*resultobj
;
8141 wxFSFile
*arg1
= (wxFSFile
*) 0 ;
8143 PyObject
* obj0
= 0 ;
8145 (char *) "self", NULL
8148 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FSFile_GetLocation",kwnames
,&obj0
)) goto fail
;
8149 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFSFile
, SWIG_POINTER_EXCEPTION
| 0);
8150 if (SWIG_arg_fail(1)) SWIG_fail
;
8152 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8154 wxString
const &_result_ref
= (arg1
)->GetLocation();
8155 result
= (wxString
*) &_result_ref
;
8158 wxPyEndAllowThreads(__tstate
);
8159 if (PyErr_Occurred()) SWIG_fail
;
8163 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
8165 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
8174 static PyObject
*_wrap_FSFile_GetAnchor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8175 PyObject
*resultobj
;
8176 wxFSFile
*arg1
= (wxFSFile
*) 0 ;
8178 PyObject
* obj0
= 0 ;
8180 (char *) "self", NULL
8183 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FSFile_GetAnchor",kwnames
,&obj0
)) goto fail
;
8184 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFSFile
, SWIG_POINTER_EXCEPTION
| 0);
8185 if (SWIG_arg_fail(1)) SWIG_fail
;
8187 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8189 wxString
const &_result_ref
= (arg1
)->GetAnchor();
8190 result
= (wxString
*) &_result_ref
;
8193 wxPyEndAllowThreads(__tstate
);
8194 if (PyErr_Occurred()) SWIG_fail
;
8198 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
8200 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
8209 static PyObject
*_wrap_FSFile_GetModificationTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8210 PyObject
*resultobj
;
8211 wxFSFile
*arg1
= (wxFSFile
*) 0 ;
8213 PyObject
* obj0
= 0 ;
8215 (char *) "self", NULL
8218 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FSFile_GetModificationTime",kwnames
,&obj0
)) goto fail
;
8219 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFSFile
, SWIG_POINTER_EXCEPTION
| 0);
8220 if (SWIG_arg_fail(1)) SWIG_fail
;
8222 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8223 result
= (arg1
)->GetModificationTime();
8225 wxPyEndAllowThreads(__tstate
);
8226 if (PyErr_Occurred()) SWIG_fail
;
8229 wxDateTime
* resultptr
;
8230 resultptr
= new wxDateTime((wxDateTime
&)(result
));
8231 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
8239 static PyObject
* FSFile_swigregister(PyObject
*, PyObject
*args
) {
8241 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8242 SWIG_TypeClientData(SWIGTYPE_p_wxFSFile
, obj
);
8244 return Py_BuildValue((char *)"");
8246 static PyObject
* CPPFileSystemHandler_swigregister(PyObject
*, PyObject
*args
) {
8248 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8249 SWIG_TypeClientData(SWIGTYPE_p_wxFileSystemHandler
, obj
);
8251 return Py_BuildValue((char *)"");
8253 static PyObject
*_wrap_new_FileSystemHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8254 PyObject
*resultobj
;
8255 wxPyFileSystemHandler
*result
;
8260 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_FileSystemHandler",kwnames
)) goto fail
;
8262 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8263 result
= (wxPyFileSystemHandler
*)new wxPyFileSystemHandler();
8265 wxPyEndAllowThreads(__tstate
);
8266 if (PyErr_Occurred()) SWIG_fail
;
8268 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyFileSystemHandler
, 1);
8275 static PyObject
*_wrap_FileSystemHandler__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8276 PyObject
*resultobj
;
8277 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
8278 PyObject
*arg2
= (PyObject
*) 0 ;
8279 PyObject
*arg3
= (PyObject
*) 0 ;
8280 PyObject
* obj0
= 0 ;
8281 PyObject
* obj1
= 0 ;
8282 PyObject
* obj2
= 0 ;
8284 (char *) "self",(char *) "self",(char *) "_class", NULL
8287 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:FileSystemHandler__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8288 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyFileSystemHandler
, SWIG_POINTER_EXCEPTION
| 0);
8289 if (SWIG_arg_fail(1)) SWIG_fail
;
8293 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8294 (arg1
)->_setCallbackInfo(arg2
,arg3
);
8296 wxPyEndAllowThreads(__tstate
);
8297 if (PyErr_Occurred()) SWIG_fail
;
8299 Py_INCREF(Py_None
); resultobj
= Py_None
;
8306 static PyObject
*_wrap_FileSystemHandler_CanOpen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8307 PyObject
*resultobj
;
8308 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
8309 wxString
*arg2
= 0 ;
8311 bool temp2
= false ;
8312 PyObject
* obj0
= 0 ;
8313 PyObject
* obj1
= 0 ;
8315 (char *) "self",(char *) "location", NULL
8318 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystemHandler_CanOpen",kwnames
,&obj0
,&obj1
)) goto fail
;
8319 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyFileSystemHandler
, SWIG_POINTER_EXCEPTION
| 0);
8320 if (SWIG_arg_fail(1)) SWIG_fail
;
8322 arg2
= wxString_in_helper(obj1
);
8323 if (arg2
== NULL
) SWIG_fail
;
8327 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8328 result
= (bool)(arg1
)->CanOpen((wxString
const &)*arg2
);
8330 wxPyEndAllowThreads(__tstate
);
8331 if (PyErr_Occurred()) SWIG_fail
;
8334 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8350 static PyObject
*_wrap_FileSystemHandler_OpenFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8351 PyObject
*resultobj
;
8352 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
8353 wxFileSystem
*arg2
= 0 ;
8354 wxString
*arg3
= 0 ;
8356 bool temp3
= false ;
8357 PyObject
* obj0
= 0 ;
8358 PyObject
* obj1
= 0 ;
8359 PyObject
* obj2
= 0 ;
8361 (char *) "self",(char *) "fs",(char *) "location", NULL
8364 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:FileSystemHandler_OpenFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8365 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyFileSystemHandler
, SWIG_POINTER_EXCEPTION
| 0);
8366 if (SWIG_arg_fail(1)) SWIG_fail
;
8368 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFileSystem
, SWIG_POINTER_EXCEPTION
| 0);
8369 if (SWIG_arg_fail(2)) SWIG_fail
;
8371 SWIG_null_ref("wxFileSystem");
8373 if (SWIG_arg_fail(2)) SWIG_fail
;
8376 arg3
= wxString_in_helper(obj2
);
8377 if (arg3
== NULL
) SWIG_fail
;
8381 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8382 result
= (wxFSFile
*)(arg1
)->OpenFile(*arg2
,(wxString
const &)*arg3
);
8384 wxPyEndAllowThreads(__tstate
);
8385 if (PyErr_Occurred()) SWIG_fail
;
8388 resultobj
= wxPyMake_wxObject(result
, 1);
8404 static PyObject
*_wrap_FileSystemHandler_FindFirst(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8405 PyObject
*resultobj
;
8406 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
8407 wxString
*arg2
= 0 ;
8408 int arg3
= (int) 0 ;
8410 bool temp2
= false ;
8411 PyObject
* obj0
= 0 ;
8412 PyObject
* obj1
= 0 ;
8413 PyObject
* obj2
= 0 ;
8415 (char *) "self",(char *) "spec",(char *) "flags", NULL
8418 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileSystemHandler_FindFirst",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8419 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyFileSystemHandler
, SWIG_POINTER_EXCEPTION
| 0);
8420 if (SWIG_arg_fail(1)) SWIG_fail
;
8422 arg2
= wxString_in_helper(obj1
);
8423 if (arg2
== NULL
) SWIG_fail
;
8428 arg3
= (int)(SWIG_As_int(obj2
));
8429 if (SWIG_arg_fail(3)) SWIG_fail
;
8433 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8434 result
= (arg1
)->FindFirst((wxString
const &)*arg2
,arg3
);
8436 wxPyEndAllowThreads(__tstate
);
8437 if (PyErr_Occurred()) SWIG_fail
;
8441 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8443 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8460 static PyObject
*_wrap_FileSystemHandler_FindNext(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8461 PyObject
*resultobj
;
8462 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
8464 PyObject
* obj0
= 0 ;
8466 (char *) "self", NULL
8469 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileSystemHandler_FindNext",kwnames
,&obj0
)) goto fail
;
8470 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyFileSystemHandler
, SWIG_POINTER_EXCEPTION
| 0);
8471 if (SWIG_arg_fail(1)) SWIG_fail
;
8473 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8474 result
= (arg1
)->FindNext();
8476 wxPyEndAllowThreads(__tstate
);
8477 if (PyErr_Occurred()) SWIG_fail
;
8481 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8483 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8492 static PyObject
*_wrap_FileSystemHandler_GetProtocol(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8493 PyObject
*resultobj
;
8494 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
8495 wxString
*arg2
= 0 ;
8497 bool temp2
= false ;
8498 PyObject
* obj0
= 0 ;
8499 PyObject
* obj1
= 0 ;
8501 (char *) "self",(char *) "location", NULL
8504 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystemHandler_GetProtocol",kwnames
,&obj0
,&obj1
)) goto fail
;
8505 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyFileSystemHandler
, SWIG_POINTER_EXCEPTION
| 0);
8506 if (SWIG_arg_fail(1)) SWIG_fail
;
8508 arg2
= wxString_in_helper(obj1
);
8509 if (arg2
== NULL
) SWIG_fail
;
8513 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8514 result
= (arg1
)->GetProtocol((wxString
const &)*arg2
);
8516 wxPyEndAllowThreads(__tstate
);
8517 if (PyErr_Occurred()) SWIG_fail
;
8521 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8523 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8540 static PyObject
*_wrap_FileSystemHandler_GetLeftLocation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8541 PyObject
*resultobj
;
8542 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
8543 wxString
*arg2
= 0 ;
8545 bool temp2
= false ;
8546 PyObject
* obj0
= 0 ;
8547 PyObject
* obj1
= 0 ;
8549 (char *) "self",(char *) "location", NULL
8552 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystemHandler_GetLeftLocation",kwnames
,&obj0
,&obj1
)) goto fail
;
8553 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyFileSystemHandler
, SWIG_POINTER_EXCEPTION
| 0);
8554 if (SWIG_arg_fail(1)) SWIG_fail
;
8556 arg2
= wxString_in_helper(obj1
);
8557 if (arg2
== NULL
) SWIG_fail
;
8561 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8562 result
= (arg1
)->GetLeftLocation((wxString
const &)*arg2
);
8564 wxPyEndAllowThreads(__tstate
);
8565 if (PyErr_Occurred()) SWIG_fail
;
8569 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8571 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8588 static PyObject
*_wrap_FileSystemHandler_GetAnchor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8589 PyObject
*resultobj
;
8590 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
8591 wxString
*arg2
= 0 ;
8593 bool temp2
= false ;
8594 PyObject
* obj0
= 0 ;
8595 PyObject
* obj1
= 0 ;
8597 (char *) "self",(char *) "location", NULL
8600 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystemHandler_GetAnchor",kwnames
,&obj0
,&obj1
)) goto fail
;
8601 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyFileSystemHandler
, SWIG_POINTER_EXCEPTION
| 0);
8602 if (SWIG_arg_fail(1)) SWIG_fail
;
8604 arg2
= wxString_in_helper(obj1
);
8605 if (arg2
== NULL
) SWIG_fail
;
8609 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8610 result
= (arg1
)->GetAnchor((wxString
const &)*arg2
);
8612 wxPyEndAllowThreads(__tstate
);
8613 if (PyErr_Occurred()) SWIG_fail
;
8617 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8619 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8636 static PyObject
*_wrap_FileSystemHandler_GetRightLocation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8637 PyObject
*resultobj
;
8638 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
8639 wxString
*arg2
= 0 ;
8641 bool temp2
= false ;
8642 PyObject
* obj0
= 0 ;
8643 PyObject
* obj1
= 0 ;
8645 (char *) "self",(char *) "location", NULL
8648 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystemHandler_GetRightLocation",kwnames
,&obj0
,&obj1
)) goto fail
;
8649 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyFileSystemHandler
, SWIG_POINTER_EXCEPTION
| 0);
8650 if (SWIG_arg_fail(1)) SWIG_fail
;
8652 arg2
= wxString_in_helper(obj1
);
8653 if (arg2
== NULL
) SWIG_fail
;
8657 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8658 result
= (arg1
)->GetRightLocation((wxString
const &)*arg2
);
8660 wxPyEndAllowThreads(__tstate
);
8661 if (PyErr_Occurred()) SWIG_fail
;
8665 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8667 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8684 static PyObject
*_wrap_FileSystemHandler_GetMimeTypeFromExt(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8685 PyObject
*resultobj
;
8686 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
8687 wxString
*arg2
= 0 ;
8689 bool temp2
= false ;
8690 PyObject
* obj0
= 0 ;
8691 PyObject
* obj1
= 0 ;
8693 (char *) "self",(char *) "location", NULL
8696 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystemHandler_GetMimeTypeFromExt",kwnames
,&obj0
,&obj1
)) goto fail
;
8697 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyFileSystemHandler
, SWIG_POINTER_EXCEPTION
| 0);
8698 if (SWIG_arg_fail(1)) SWIG_fail
;
8700 arg2
= wxString_in_helper(obj1
);
8701 if (arg2
== NULL
) SWIG_fail
;
8705 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8706 result
= (arg1
)->GetMimeTypeFromExt((wxString
const &)*arg2
);
8708 wxPyEndAllowThreads(__tstate
);
8709 if (PyErr_Occurred()) SWIG_fail
;
8713 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8715 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8732 static PyObject
* FileSystemHandler_swigregister(PyObject
*, PyObject
*args
) {
8734 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8735 SWIG_TypeClientData(SWIGTYPE_p_wxPyFileSystemHandler
, obj
);
8737 return Py_BuildValue((char *)"");
8739 static PyObject
*_wrap_new_FileSystem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8740 PyObject
*resultobj
;
8741 wxFileSystem
*result
;
8746 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_FileSystem",kwnames
)) goto fail
;
8748 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8749 result
= (wxFileSystem
*)new wxFileSystem();
8751 wxPyEndAllowThreads(__tstate
);
8752 if (PyErr_Occurred()) SWIG_fail
;
8755 resultobj
= wxPyMake_wxObject(result
, 1);
8763 static PyObject
*_wrap_delete_FileSystem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8764 PyObject
*resultobj
;
8765 wxFileSystem
*arg1
= (wxFileSystem
*) 0 ;
8766 PyObject
* obj0
= 0 ;
8768 (char *) "self", NULL
8771 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FileSystem",kwnames
,&obj0
)) goto fail
;
8772 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileSystem
, SWIG_POINTER_EXCEPTION
| 0);
8773 if (SWIG_arg_fail(1)) SWIG_fail
;
8775 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8778 wxPyEndAllowThreads(__tstate
);
8779 if (PyErr_Occurred()) SWIG_fail
;
8781 Py_INCREF(Py_None
); resultobj
= Py_None
;
8788 static PyObject
*_wrap_FileSystem_ChangePathTo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8789 PyObject
*resultobj
;
8790 wxFileSystem
*arg1
= (wxFileSystem
*) 0 ;
8791 wxString
*arg2
= 0 ;
8792 bool arg3
= (bool) false ;
8793 bool temp2
= false ;
8794 PyObject
* obj0
= 0 ;
8795 PyObject
* obj1
= 0 ;
8796 PyObject
* obj2
= 0 ;
8798 (char *) "self",(char *) "location",(char *) "is_dir", NULL
8801 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileSystem_ChangePathTo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8802 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileSystem
, SWIG_POINTER_EXCEPTION
| 0);
8803 if (SWIG_arg_fail(1)) SWIG_fail
;
8805 arg2
= wxString_in_helper(obj1
);
8806 if (arg2
== NULL
) SWIG_fail
;
8811 arg3
= (bool)(SWIG_As_bool(obj2
));
8812 if (SWIG_arg_fail(3)) SWIG_fail
;
8816 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8817 (arg1
)->ChangePathTo((wxString
const &)*arg2
,arg3
);
8819 wxPyEndAllowThreads(__tstate
);
8820 if (PyErr_Occurred()) SWIG_fail
;
8822 Py_INCREF(Py_None
); resultobj
= Py_None
;
8837 static PyObject
*_wrap_FileSystem_GetPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8838 PyObject
*resultobj
;
8839 wxFileSystem
*arg1
= (wxFileSystem
*) 0 ;
8841 PyObject
* obj0
= 0 ;
8843 (char *) "self", NULL
8846 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileSystem_GetPath",kwnames
,&obj0
)) goto fail
;
8847 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileSystem
, SWIG_POINTER_EXCEPTION
| 0);
8848 if (SWIG_arg_fail(1)) SWIG_fail
;
8850 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8851 result
= (arg1
)->GetPath();
8853 wxPyEndAllowThreads(__tstate
);
8854 if (PyErr_Occurred()) SWIG_fail
;
8858 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8860 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8869 static PyObject
*_wrap_FileSystem_OpenFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8870 PyObject
*resultobj
;
8871 wxFileSystem
*arg1
= (wxFileSystem
*) 0 ;
8872 wxString
*arg2
= 0 ;
8874 bool temp2
= false ;
8875 PyObject
* obj0
= 0 ;
8876 PyObject
* obj1
= 0 ;
8878 (char *) "self",(char *) "location", NULL
8881 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystem_OpenFile",kwnames
,&obj0
,&obj1
)) goto fail
;
8882 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileSystem
, SWIG_POINTER_EXCEPTION
| 0);
8883 if (SWIG_arg_fail(1)) SWIG_fail
;
8885 arg2
= wxString_in_helper(obj1
);
8886 if (arg2
== NULL
) SWIG_fail
;
8890 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8891 result
= (wxFSFile
*)(arg1
)->OpenFile((wxString
const &)*arg2
);
8893 wxPyEndAllowThreads(__tstate
);
8894 if (PyErr_Occurred()) SWIG_fail
;
8897 resultobj
= wxPyMake_wxObject(result
, 1);
8913 static PyObject
*_wrap_FileSystem_FindFirst(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8914 PyObject
*resultobj
;
8915 wxFileSystem
*arg1
= (wxFileSystem
*) 0 ;
8916 wxString
*arg2
= 0 ;
8917 int arg3
= (int) 0 ;
8919 bool temp2
= false ;
8920 PyObject
* obj0
= 0 ;
8921 PyObject
* obj1
= 0 ;
8922 PyObject
* obj2
= 0 ;
8924 (char *) "self",(char *) "spec",(char *) "flags", NULL
8927 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileSystem_FindFirst",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8928 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileSystem
, SWIG_POINTER_EXCEPTION
| 0);
8929 if (SWIG_arg_fail(1)) SWIG_fail
;
8931 arg2
= wxString_in_helper(obj1
);
8932 if (arg2
== NULL
) SWIG_fail
;
8937 arg3
= (int)(SWIG_As_int(obj2
));
8938 if (SWIG_arg_fail(3)) SWIG_fail
;
8942 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8943 result
= (arg1
)->FindFirst((wxString
const &)*arg2
,arg3
);
8945 wxPyEndAllowThreads(__tstate
);
8946 if (PyErr_Occurred()) SWIG_fail
;
8950 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8952 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8969 static PyObject
*_wrap_FileSystem_FindNext(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8970 PyObject
*resultobj
;
8971 wxFileSystem
*arg1
= (wxFileSystem
*) 0 ;
8973 PyObject
* obj0
= 0 ;
8975 (char *) "self", NULL
8978 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileSystem_FindNext",kwnames
,&obj0
)) goto fail
;
8979 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileSystem
, SWIG_POINTER_EXCEPTION
| 0);
8980 if (SWIG_arg_fail(1)) SWIG_fail
;
8982 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8983 result
= (arg1
)->FindNext();
8985 wxPyEndAllowThreads(__tstate
);
8986 if (PyErr_Occurred()) SWIG_fail
;
8990 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8992 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9001 static PyObject
*_wrap_FileSystem_AddHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9002 PyObject
*resultobj
;
9003 wxFileSystemHandler
*arg1
= (wxFileSystemHandler
*) 0 ;
9004 PyObject
* obj0
= 0 ;
9006 (char *) "handler", NULL
9009 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileSystem_AddHandler",kwnames
,&obj0
)) goto fail
;
9010 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileSystemHandler
, SWIG_POINTER_EXCEPTION
| 0);
9011 if (SWIG_arg_fail(1)) SWIG_fail
;
9013 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9014 wxFileSystem::AddHandler(arg1
);
9016 wxPyEndAllowThreads(__tstate
);
9017 if (PyErr_Occurred()) SWIG_fail
;
9019 Py_INCREF(Py_None
); resultobj
= Py_None
;
9026 static PyObject
*_wrap_FileSystem_CleanUpHandlers(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9027 PyObject
*resultobj
;
9032 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":FileSystem_CleanUpHandlers",kwnames
)) goto fail
;
9034 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9035 wxFileSystem::CleanUpHandlers();
9037 wxPyEndAllowThreads(__tstate
);
9038 if (PyErr_Occurred()) SWIG_fail
;
9040 Py_INCREF(Py_None
); resultobj
= Py_None
;
9047 static PyObject
*_wrap_FileSystem_FileNameToURL(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9048 PyObject
*resultobj
;
9049 wxString
*arg1
= 0 ;
9051 bool temp1
= false ;
9052 PyObject
* obj0
= 0 ;
9054 (char *) "filename", NULL
9057 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileSystem_FileNameToURL",kwnames
,&obj0
)) goto fail
;
9059 arg1
= wxString_in_helper(obj0
);
9060 if (arg1
== NULL
) SWIG_fail
;
9064 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9065 result
= wxFileSystem::FileNameToURL((wxString
const &)*arg1
);
9067 wxPyEndAllowThreads(__tstate
);
9068 if (PyErr_Occurred()) SWIG_fail
;
9072 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9074 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9091 static PyObject
*_wrap_FileSystem_URLToFileName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9092 PyObject
*resultobj
;
9093 wxString
*arg1
= 0 ;
9095 bool temp1
= false ;
9096 PyObject
* obj0
= 0 ;
9098 (char *) "url", NULL
9101 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileSystem_URLToFileName",kwnames
,&obj0
)) goto fail
;
9103 arg1
= wxString_in_helper(obj0
);
9104 if (arg1
== NULL
) SWIG_fail
;
9108 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9109 result
= FileSystem_URLToFileName((wxString
const &)*arg1
);
9111 wxPyEndAllowThreads(__tstate
);
9112 if (PyErr_Occurred()) SWIG_fail
;
9116 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9118 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9135 static PyObject
* FileSystem_swigregister(PyObject
*, PyObject
*args
) {
9137 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9138 SWIG_TypeClientData(SWIGTYPE_p_wxFileSystem
, obj
);
9140 return Py_BuildValue((char *)"");
9142 static PyObject
*_wrap_new_InternetFSHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9143 PyObject
*resultobj
;
9144 wxInternetFSHandler
*result
;
9149 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_InternetFSHandler",kwnames
)) goto fail
;
9151 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9152 result
= (wxInternetFSHandler
*)new wxInternetFSHandler();
9154 wxPyEndAllowThreads(__tstate
);
9155 if (PyErr_Occurred()) SWIG_fail
;
9157 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxInternetFSHandler
, 1);
9164 static PyObject
*_wrap_InternetFSHandler_CanOpen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9165 PyObject
*resultobj
;
9166 wxInternetFSHandler
*arg1
= (wxInternetFSHandler
*) 0 ;
9167 wxString
*arg2
= 0 ;
9169 bool temp2
= false ;
9170 PyObject
* obj0
= 0 ;
9171 PyObject
* obj1
= 0 ;
9173 (char *) "self",(char *) "location", NULL
9176 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:InternetFSHandler_CanOpen",kwnames
,&obj0
,&obj1
)) goto fail
;
9177 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxInternetFSHandler
, SWIG_POINTER_EXCEPTION
| 0);
9178 if (SWIG_arg_fail(1)) SWIG_fail
;
9180 arg2
= wxString_in_helper(obj1
);
9181 if (arg2
== NULL
) SWIG_fail
;
9185 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9186 result
= (bool)(arg1
)->CanOpen((wxString
const &)*arg2
);
9188 wxPyEndAllowThreads(__tstate
);
9189 if (PyErr_Occurred()) SWIG_fail
;
9192 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9208 static PyObject
*_wrap_InternetFSHandler_OpenFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9209 PyObject
*resultobj
;
9210 wxInternetFSHandler
*arg1
= (wxInternetFSHandler
*) 0 ;
9211 wxFileSystem
*arg2
= 0 ;
9212 wxString
*arg3
= 0 ;
9214 bool temp3
= false ;
9215 PyObject
* obj0
= 0 ;
9216 PyObject
* obj1
= 0 ;
9217 PyObject
* obj2
= 0 ;
9219 (char *) "self",(char *) "fs",(char *) "location", NULL
9222 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:InternetFSHandler_OpenFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9223 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxInternetFSHandler
, SWIG_POINTER_EXCEPTION
| 0);
9224 if (SWIG_arg_fail(1)) SWIG_fail
;
9226 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFileSystem
, SWIG_POINTER_EXCEPTION
| 0);
9227 if (SWIG_arg_fail(2)) SWIG_fail
;
9229 SWIG_null_ref("wxFileSystem");
9231 if (SWIG_arg_fail(2)) SWIG_fail
;
9234 arg3
= wxString_in_helper(obj2
);
9235 if (arg3
== NULL
) SWIG_fail
;
9239 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9240 result
= (wxFSFile
*)(arg1
)->OpenFile(*arg2
,(wxString
const &)*arg3
);
9242 wxPyEndAllowThreads(__tstate
);
9243 if (PyErr_Occurred()) SWIG_fail
;
9246 resultobj
= wxPyMake_wxObject(result
, 1);
9262 static PyObject
* InternetFSHandler_swigregister(PyObject
*, PyObject
*args
) {
9264 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9265 SWIG_TypeClientData(SWIGTYPE_p_wxInternetFSHandler
, obj
);
9267 return Py_BuildValue((char *)"");
9269 static PyObject
*_wrap_new_ZipFSHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9270 PyObject
*resultobj
;
9271 wxZipFSHandler
*result
;
9276 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ZipFSHandler",kwnames
)) goto fail
;
9278 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9279 result
= (wxZipFSHandler
*)new wxZipFSHandler();
9281 wxPyEndAllowThreads(__tstate
);
9282 if (PyErr_Occurred()) SWIG_fail
;
9284 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxZipFSHandler
, 1);
9291 static PyObject
*_wrap_ZipFSHandler_CanOpen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9292 PyObject
*resultobj
;
9293 wxZipFSHandler
*arg1
= (wxZipFSHandler
*) 0 ;
9294 wxString
*arg2
= 0 ;
9296 bool temp2
= false ;
9297 PyObject
* obj0
= 0 ;
9298 PyObject
* obj1
= 0 ;
9300 (char *) "self",(char *) "location", NULL
9303 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ZipFSHandler_CanOpen",kwnames
,&obj0
,&obj1
)) goto fail
;
9304 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxZipFSHandler
, SWIG_POINTER_EXCEPTION
| 0);
9305 if (SWIG_arg_fail(1)) SWIG_fail
;
9307 arg2
= wxString_in_helper(obj1
);
9308 if (arg2
== NULL
) SWIG_fail
;
9312 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9313 result
= (bool)(arg1
)->CanOpen((wxString
const &)*arg2
);
9315 wxPyEndAllowThreads(__tstate
);
9316 if (PyErr_Occurred()) SWIG_fail
;
9319 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9335 static PyObject
*_wrap_ZipFSHandler_OpenFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9336 PyObject
*resultobj
;
9337 wxZipFSHandler
*arg1
= (wxZipFSHandler
*) 0 ;
9338 wxFileSystem
*arg2
= 0 ;
9339 wxString
*arg3
= 0 ;
9341 bool temp3
= false ;
9342 PyObject
* obj0
= 0 ;
9343 PyObject
* obj1
= 0 ;
9344 PyObject
* obj2
= 0 ;
9346 (char *) "self",(char *) "fs",(char *) "location", NULL
9349 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ZipFSHandler_OpenFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9350 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxZipFSHandler
, SWIG_POINTER_EXCEPTION
| 0);
9351 if (SWIG_arg_fail(1)) SWIG_fail
;
9353 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFileSystem
, SWIG_POINTER_EXCEPTION
| 0);
9354 if (SWIG_arg_fail(2)) SWIG_fail
;
9356 SWIG_null_ref("wxFileSystem");
9358 if (SWIG_arg_fail(2)) SWIG_fail
;
9361 arg3
= wxString_in_helper(obj2
);
9362 if (arg3
== NULL
) SWIG_fail
;
9366 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9367 result
= (wxFSFile
*)(arg1
)->OpenFile(*arg2
,(wxString
const &)*arg3
);
9369 wxPyEndAllowThreads(__tstate
);
9370 if (PyErr_Occurred()) SWIG_fail
;
9373 resultobj
= wxPyMake_wxObject(result
, 1);
9389 static PyObject
*_wrap_ZipFSHandler_FindFirst(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9390 PyObject
*resultobj
;
9391 wxZipFSHandler
*arg1
= (wxZipFSHandler
*) 0 ;
9392 wxString
*arg2
= 0 ;
9393 int arg3
= (int) 0 ;
9395 bool temp2
= false ;
9396 PyObject
* obj0
= 0 ;
9397 PyObject
* obj1
= 0 ;
9398 PyObject
* obj2
= 0 ;
9400 (char *) "self",(char *) "spec",(char *) "flags", NULL
9403 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ZipFSHandler_FindFirst",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9404 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxZipFSHandler
, SWIG_POINTER_EXCEPTION
| 0);
9405 if (SWIG_arg_fail(1)) SWIG_fail
;
9407 arg2
= wxString_in_helper(obj1
);
9408 if (arg2
== NULL
) SWIG_fail
;
9413 arg3
= (int)(SWIG_As_int(obj2
));
9414 if (SWIG_arg_fail(3)) SWIG_fail
;
9418 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9419 result
= (arg1
)->FindFirst((wxString
const &)*arg2
,arg3
);
9421 wxPyEndAllowThreads(__tstate
);
9422 if (PyErr_Occurred()) SWIG_fail
;
9426 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9428 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9445 static PyObject
*_wrap_ZipFSHandler_FindNext(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9446 PyObject
*resultobj
;
9447 wxZipFSHandler
*arg1
= (wxZipFSHandler
*) 0 ;
9449 PyObject
* obj0
= 0 ;
9451 (char *) "self", NULL
9454 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ZipFSHandler_FindNext",kwnames
,&obj0
)) goto fail
;
9455 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxZipFSHandler
, SWIG_POINTER_EXCEPTION
| 0);
9456 if (SWIG_arg_fail(1)) SWIG_fail
;
9458 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9459 result
= (arg1
)->FindNext();
9461 wxPyEndAllowThreads(__tstate
);
9462 if (PyErr_Occurred()) SWIG_fail
;
9466 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9468 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9477 static PyObject
* ZipFSHandler_swigregister(PyObject
*, PyObject
*args
) {
9479 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9480 SWIG_TypeClientData(SWIGTYPE_p_wxZipFSHandler
, obj
);
9482 return Py_BuildValue((char *)"");
9484 static PyObject
*_wrap___wxMemoryFSHandler_AddFile_wxImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9485 PyObject
*resultobj
;
9486 wxString
*arg1
= 0 ;
9489 bool temp1
= false ;
9490 PyObject
* obj0
= 0 ;
9491 PyObject
* obj1
= 0 ;
9492 PyObject
* obj2
= 0 ;
9494 (char *) "filename",(char *) "image",(char *) "type", NULL
9497 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:__wxMemoryFSHandler_AddFile_wxImage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9499 arg1
= wxString_in_helper(obj0
);
9500 if (arg1
== NULL
) SWIG_fail
;
9504 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
9505 if (SWIG_arg_fail(2)) SWIG_fail
;
9507 SWIG_null_ref("wxImage");
9509 if (SWIG_arg_fail(2)) SWIG_fail
;
9512 arg3
= (long)(SWIG_As_long(obj2
));
9513 if (SWIG_arg_fail(3)) SWIG_fail
;
9516 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9517 __wxMemoryFSHandler_AddFile_wxImage((wxString
const &)*arg1
,*arg2
,arg3
);
9519 wxPyEndAllowThreads(__tstate
);
9520 if (PyErr_Occurred()) SWIG_fail
;
9522 Py_INCREF(Py_None
); resultobj
= Py_None
;
9537 static PyObject
*_wrap___wxMemoryFSHandler_AddFile_wxBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9538 PyObject
*resultobj
;
9539 wxString
*arg1
= 0 ;
9540 wxBitmap
*arg2
= 0 ;
9542 bool temp1
= false ;
9543 PyObject
* obj0
= 0 ;
9544 PyObject
* obj1
= 0 ;
9545 PyObject
* obj2
= 0 ;
9547 (char *) "filename",(char *) "bitmap",(char *) "type", NULL
9550 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:__wxMemoryFSHandler_AddFile_wxBitmap",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9552 arg1
= wxString_in_helper(obj0
);
9553 if (arg1
== NULL
) SWIG_fail
;
9557 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
9558 if (SWIG_arg_fail(2)) SWIG_fail
;
9560 SWIG_null_ref("wxBitmap");
9562 if (SWIG_arg_fail(2)) SWIG_fail
;
9565 arg3
= (long)(SWIG_As_long(obj2
));
9566 if (SWIG_arg_fail(3)) SWIG_fail
;
9569 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9570 __wxMemoryFSHandler_AddFile_wxBitmap((wxString
const &)*arg1
,(wxBitmap
const &)*arg2
,arg3
);
9572 wxPyEndAllowThreads(__tstate
);
9573 if (PyErr_Occurred()) SWIG_fail
;
9575 Py_INCREF(Py_None
); resultobj
= Py_None
;
9590 static PyObject
*_wrap___wxMemoryFSHandler_AddFile_Data(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9591 PyObject
*resultobj
;
9592 wxString
*arg1
= 0 ;
9593 PyObject
*arg2
= (PyObject
*) 0 ;
9594 bool temp1
= false ;
9595 PyObject
* obj0
= 0 ;
9596 PyObject
* obj1
= 0 ;
9598 (char *) "filename",(char *) "data", NULL
9601 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:__wxMemoryFSHandler_AddFile_Data",kwnames
,&obj0
,&obj1
)) goto fail
;
9603 arg1
= wxString_in_helper(obj0
);
9604 if (arg1
== NULL
) SWIG_fail
;
9609 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9610 __wxMemoryFSHandler_AddFile_Data((wxString
const &)*arg1
,arg2
);
9612 wxPyEndAllowThreads(__tstate
);
9613 if (PyErr_Occurred()) SWIG_fail
;
9615 Py_INCREF(Py_None
); resultobj
= Py_None
;
9630 static PyObject
*_wrap_new_MemoryFSHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9631 PyObject
*resultobj
;
9632 wxMemoryFSHandler
*result
;
9637 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_MemoryFSHandler",kwnames
)) goto fail
;
9639 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9640 result
= (wxMemoryFSHandler
*)new wxMemoryFSHandler();
9642 wxPyEndAllowThreads(__tstate
);
9643 if (PyErr_Occurred()) SWIG_fail
;
9645 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMemoryFSHandler
, 1);
9652 static PyObject
*_wrap_MemoryFSHandler_RemoveFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9653 PyObject
*resultobj
;
9654 wxString
*arg1
= 0 ;
9655 bool temp1
= false ;
9656 PyObject
* obj0
= 0 ;
9658 (char *) "filename", NULL
9661 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MemoryFSHandler_RemoveFile",kwnames
,&obj0
)) goto fail
;
9663 arg1
= wxString_in_helper(obj0
);
9664 if (arg1
== NULL
) SWIG_fail
;
9668 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9669 wxMemoryFSHandler::RemoveFile((wxString
const &)*arg1
);
9671 wxPyEndAllowThreads(__tstate
);
9672 if (PyErr_Occurred()) SWIG_fail
;
9674 Py_INCREF(Py_None
); resultobj
= Py_None
;
9689 static PyObject
*_wrap_MemoryFSHandler_CanOpen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9690 PyObject
*resultobj
;
9691 wxMemoryFSHandler
*arg1
= (wxMemoryFSHandler
*) 0 ;
9692 wxString
*arg2
= 0 ;
9694 bool temp2
= false ;
9695 PyObject
* obj0
= 0 ;
9696 PyObject
* obj1
= 0 ;
9698 (char *) "self",(char *) "location", NULL
9701 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MemoryFSHandler_CanOpen",kwnames
,&obj0
,&obj1
)) goto fail
;
9702 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMemoryFSHandler
, SWIG_POINTER_EXCEPTION
| 0);
9703 if (SWIG_arg_fail(1)) SWIG_fail
;
9705 arg2
= wxString_in_helper(obj1
);
9706 if (arg2
== NULL
) SWIG_fail
;
9710 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9711 result
= (bool)(arg1
)->CanOpen((wxString
const &)*arg2
);
9713 wxPyEndAllowThreads(__tstate
);
9714 if (PyErr_Occurred()) SWIG_fail
;
9717 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9733 static PyObject
*_wrap_MemoryFSHandler_OpenFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9734 PyObject
*resultobj
;
9735 wxMemoryFSHandler
*arg1
= (wxMemoryFSHandler
*) 0 ;
9736 wxFileSystem
*arg2
= 0 ;
9737 wxString
*arg3
= 0 ;
9739 bool temp3
= false ;
9740 PyObject
* obj0
= 0 ;
9741 PyObject
* obj1
= 0 ;
9742 PyObject
* obj2
= 0 ;
9744 (char *) "self",(char *) "fs",(char *) "location", NULL
9747 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MemoryFSHandler_OpenFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9748 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMemoryFSHandler
, SWIG_POINTER_EXCEPTION
| 0);
9749 if (SWIG_arg_fail(1)) SWIG_fail
;
9751 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFileSystem
, SWIG_POINTER_EXCEPTION
| 0);
9752 if (SWIG_arg_fail(2)) SWIG_fail
;
9754 SWIG_null_ref("wxFileSystem");
9756 if (SWIG_arg_fail(2)) SWIG_fail
;
9759 arg3
= wxString_in_helper(obj2
);
9760 if (arg3
== NULL
) SWIG_fail
;
9764 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9765 result
= (wxFSFile
*)(arg1
)->OpenFile(*arg2
,(wxString
const &)*arg3
);
9767 wxPyEndAllowThreads(__tstate
);
9768 if (PyErr_Occurred()) SWIG_fail
;
9771 resultobj
= wxPyMake_wxObject(result
, 1);
9787 static PyObject
*_wrap_MemoryFSHandler_FindFirst(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9788 PyObject
*resultobj
;
9789 wxMemoryFSHandler
*arg1
= (wxMemoryFSHandler
*) 0 ;
9790 wxString
*arg2
= 0 ;
9791 int arg3
= (int) 0 ;
9793 bool temp2
= false ;
9794 PyObject
* obj0
= 0 ;
9795 PyObject
* obj1
= 0 ;
9796 PyObject
* obj2
= 0 ;
9798 (char *) "self",(char *) "spec",(char *) "flags", NULL
9801 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:MemoryFSHandler_FindFirst",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9802 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMemoryFSHandler
, SWIG_POINTER_EXCEPTION
| 0);
9803 if (SWIG_arg_fail(1)) SWIG_fail
;
9805 arg2
= wxString_in_helper(obj1
);
9806 if (arg2
== NULL
) SWIG_fail
;
9811 arg3
= (int)(SWIG_As_int(obj2
));
9812 if (SWIG_arg_fail(3)) SWIG_fail
;
9816 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9817 result
= (arg1
)->FindFirst((wxString
const &)*arg2
,arg3
);
9819 wxPyEndAllowThreads(__tstate
);
9820 if (PyErr_Occurred()) SWIG_fail
;
9824 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9826 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9843 static PyObject
*_wrap_MemoryFSHandler_FindNext(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9844 PyObject
*resultobj
;
9845 wxMemoryFSHandler
*arg1
= (wxMemoryFSHandler
*) 0 ;
9847 PyObject
* obj0
= 0 ;
9849 (char *) "self", NULL
9852 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MemoryFSHandler_FindNext",kwnames
,&obj0
)) goto fail
;
9853 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMemoryFSHandler
, SWIG_POINTER_EXCEPTION
| 0);
9854 if (SWIG_arg_fail(1)) SWIG_fail
;
9856 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9857 result
= (arg1
)->FindNext();
9859 wxPyEndAllowThreads(__tstate
);
9860 if (PyErr_Occurred()) SWIG_fail
;
9864 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9866 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9875 static PyObject
* MemoryFSHandler_swigregister(PyObject
*, PyObject
*args
) {
9877 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9878 SWIG_TypeClientData(SWIGTYPE_p_wxMemoryFSHandler
, obj
);
9880 return Py_BuildValue((char *)"");
9882 static PyObject
*_wrap_ImageHandler_GetName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9883 PyObject
*resultobj
;
9884 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
9886 PyObject
* obj0
= 0 ;
9888 (char *) "self", NULL
9891 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ImageHandler_GetName",kwnames
,&obj0
)) goto fail
;
9892 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImageHandler
, SWIG_POINTER_EXCEPTION
| 0);
9893 if (SWIG_arg_fail(1)) SWIG_fail
;
9895 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9896 result
= (arg1
)->GetName();
9898 wxPyEndAllowThreads(__tstate
);
9899 if (PyErr_Occurred()) SWIG_fail
;
9903 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9905 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9914 static PyObject
*_wrap_ImageHandler_GetExtension(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9915 PyObject
*resultobj
;
9916 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
9918 PyObject
* obj0
= 0 ;
9920 (char *) "self", NULL
9923 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ImageHandler_GetExtension",kwnames
,&obj0
)) goto fail
;
9924 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImageHandler
, SWIG_POINTER_EXCEPTION
| 0);
9925 if (SWIG_arg_fail(1)) SWIG_fail
;
9927 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9928 result
= (arg1
)->GetExtension();
9930 wxPyEndAllowThreads(__tstate
);
9931 if (PyErr_Occurred()) SWIG_fail
;
9935 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9937 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9946 static PyObject
*_wrap_ImageHandler_GetType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9947 PyObject
*resultobj
;
9948 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
9950 PyObject
* obj0
= 0 ;
9952 (char *) "self", NULL
9955 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ImageHandler_GetType",kwnames
,&obj0
)) goto fail
;
9956 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImageHandler
, SWIG_POINTER_EXCEPTION
| 0);
9957 if (SWIG_arg_fail(1)) SWIG_fail
;
9959 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9960 result
= (long)(arg1
)->GetType();
9962 wxPyEndAllowThreads(__tstate
);
9963 if (PyErr_Occurred()) SWIG_fail
;
9966 resultobj
= SWIG_From_long((long)(result
));
9974 static PyObject
*_wrap_ImageHandler_GetMimeType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9975 PyObject
*resultobj
;
9976 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
9978 PyObject
* obj0
= 0 ;
9980 (char *) "self", NULL
9983 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ImageHandler_GetMimeType",kwnames
,&obj0
)) goto fail
;
9984 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImageHandler
, SWIG_POINTER_EXCEPTION
| 0);
9985 if (SWIG_arg_fail(1)) SWIG_fail
;
9987 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9988 result
= (arg1
)->GetMimeType();
9990 wxPyEndAllowThreads(__tstate
);
9991 if (PyErr_Occurred()) SWIG_fail
;
9995 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9997 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10006 static PyObject
*_wrap_ImageHandler_CanRead(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10007 PyObject
*resultobj
;
10008 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
10009 wxString
*arg2
= 0 ;
10011 bool temp2
= false ;
10012 PyObject
* obj0
= 0 ;
10013 PyObject
* obj1
= 0 ;
10014 char *kwnames
[] = {
10015 (char *) "self",(char *) "name", NULL
10018 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageHandler_CanRead",kwnames
,&obj0
,&obj1
)) goto fail
;
10019 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImageHandler
, SWIG_POINTER_EXCEPTION
| 0);
10020 if (SWIG_arg_fail(1)) SWIG_fail
;
10022 arg2
= wxString_in_helper(obj1
);
10023 if (arg2
== NULL
) SWIG_fail
;
10027 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10028 result
= (bool)(arg1
)->CanRead((wxString
const &)*arg2
);
10030 wxPyEndAllowThreads(__tstate
);
10031 if (PyErr_Occurred()) SWIG_fail
;
10034 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10050 static PyObject
*_wrap_ImageHandler_SetName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10051 PyObject
*resultobj
;
10052 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
10053 wxString
*arg2
= 0 ;
10054 bool temp2
= false ;
10055 PyObject
* obj0
= 0 ;
10056 PyObject
* obj1
= 0 ;
10057 char *kwnames
[] = {
10058 (char *) "self",(char *) "name", NULL
10061 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageHandler_SetName",kwnames
,&obj0
,&obj1
)) goto fail
;
10062 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImageHandler
, SWIG_POINTER_EXCEPTION
| 0);
10063 if (SWIG_arg_fail(1)) SWIG_fail
;
10065 arg2
= wxString_in_helper(obj1
);
10066 if (arg2
== NULL
) SWIG_fail
;
10070 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10071 (arg1
)->SetName((wxString
const &)*arg2
);
10073 wxPyEndAllowThreads(__tstate
);
10074 if (PyErr_Occurred()) SWIG_fail
;
10076 Py_INCREF(Py_None
); resultobj
= Py_None
;
10091 static PyObject
*_wrap_ImageHandler_SetExtension(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10092 PyObject
*resultobj
;
10093 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
10094 wxString
*arg2
= 0 ;
10095 bool temp2
= false ;
10096 PyObject
* obj0
= 0 ;
10097 PyObject
* obj1
= 0 ;
10098 char *kwnames
[] = {
10099 (char *) "self",(char *) "extension", NULL
10102 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageHandler_SetExtension",kwnames
,&obj0
,&obj1
)) goto fail
;
10103 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImageHandler
, SWIG_POINTER_EXCEPTION
| 0);
10104 if (SWIG_arg_fail(1)) SWIG_fail
;
10106 arg2
= wxString_in_helper(obj1
);
10107 if (arg2
== NULL
) SWIG_fail
;
10111 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10112 (arg1
)->SetExtension((wxString
const &)*arg2
);
10114 wxPyEndAllowThreads(__tstate
);
10115 if (PyErr_Occurred()) SWIG_fail
;
10117 Py_INCREF(Py_None
); resultobj
= Py_None
;
10132 static PyObject
*_wrap_ImageHandler_SetType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10133 PyObject
*resultobj
;
10134 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
10136 PyObject
* obj0
= 0 ;
10137 PyObject
* obj1
= 0 ;
10138 char *kwnames
[] = {
10139 (char *) "self",(char *) "type", NULL
10142 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageHandler_SetType",kwnames
,&obj0
,&obj1
)) goto fail
;
10143 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImageHandler
, SWIG_POINTER_EXCEPTION
| 0);
10144 if (SWIG_arg_fail(1)) SWIG_fail
;
10146 arg2
= (long)(SWIG_As_long(obj1
));
10147 if (SWIG_arg_fail(2)) SWIG_fail
;
10150 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10151 (arg1
)->SetType(arg2
);
10153 wxPyEndAllowThreads(__tstate
);
10154 if (PyErr_Occurred()) SWIG_fail
;
10156 Py_INCREF(Py_None
); resultobj
= Py_None
;
10163 static PyObject
*_wrap_ImageHandler_SetMimeType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10164 PyObject
*resultobj
;
10165 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
10166 wxString
*arg2
= 0 ;
10167 bool temp2
= false ;
10168 PyObject
* obj0
= 0 ;
10169 PyObject
* obj1
= 0 ;
10170 char *kwnames
[] = {
10171 (char *) "self",(char *) "mimetype", NULL
10174 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageHandler_SetMimeType",kwnames
,&obj0
,&obj1
)) goto fail
;
10175 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImageHandler
, SWIG_POINTER_EXCEPTION
| 0);
10176 if (SWIG_arg_fail(1)) SWIG_fail
;
10178 arg2
= wxString_in_helper(obj1
);
10179 if (arg2
== NULL
) SWIG_fail
;
10183 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10184 (arg1
)->SetMimeType((wxString
const &)*arg2
);
10186 wxPyEndAllowThreads(__tstate
);
10187 if (PyErr_Occurred()) SWIG_fail
;
10189 Py_INCREF(Py_None
); resultobj
= Py_None
;
10204 static PyObject
* ImageHandler_swigregister(PyObject
*, PyObject
*args
) {
10206 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10207 SWIG_TypeClientData(SWIGTYPE_p_wxImageHandler
, obj
);
10209 return Py_BuildValue((char *)"");
10211 static PyObject
*_wrap_new_ImageHistogram(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10212 PyObject
*resultobj
;
10213 wxImageHistogram
*result
;
10214 char *kwnames
[] = {
10218 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ImageHistogram",kwnames
)) goto fail
;
10220 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10221 result
= (wxImageHistogram
*)new wxImageHistogram();
10223 wxPyEndAllowThreads(__tstate
);
10224 if (PyErr_Occurred()) SWIG_fail
;
10226 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImageHistogram
, 1);
10233 static PyObject
*_wrap_ImageHistogram_MakeKey(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10234 PyObject
*resultobj
;
10238 unsigned long result
;
10239 PyObject
* obj0
= 0 ;
10240 PyObject
* obj1
= 0 ;
10241 PyObject
* obj2
= 0 ;
10242 char *kwnames
[] = {
10243 (char *) "r",(char *) "g",(char *) "b", NULL
10246 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ImageHistogram_MakeKey",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10248 arg1
= (byte
)(SWIG_As_unsigned_SS_char(obj0
));
10249 if (SWIG_arg_fail(1)) SWIG_fail
;
10252 arg2
= (byte
)(SWIG_As_unsigned_SS_char(obj1
));
10253 if (SWIG_arg_fail(2)) SWIG_fail
;
10256 arg3
= (byte
)(SWIG_As_unsigned_SS_char(obj2
));
10257 if (SWIG_arg_fail(3)) SWIG_fail
;
10260 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10261 result
= (unsigned long)wxImageHistogram::MakeKey(arg1
,arg2
,arg3
);
10263 wxPyEndAllowThreads(__tstate
);
10264 if (PyErr_Occurred()) SWIG_fail
;
10267 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
10275 static PyObject
*_wrap_ImageHistogram_FindFirstUnusedColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10276 PyObject
*resultobj
;
10277 wxImageHistogram
*arg1
= (wxImageHistogram
*) 0 ;
10278 byte
*arg2
= (byte
*) 0 ;
10279 byte
*arg3
= (byte
*) 0 ;
10280 byte
*arg4
= (byte
*) 0 ;
10281 byte arg5
= (byte
) 1 ;
10282 byte arg6
= (byte
) 0 ;
10283 byte arg7
= (byte
) 0 ;
10291 PyObject
* obj0
= 0 ;
10292 PyObject
* obj1
= 0 ;
10293 PyObject
* obj2
= 0 ;
10294 PyObject
* obj3
= 0 ;
10295 char *kwnames
[] = {
10296 (char *) "self",(char *) "startR",(char *) "startG",(char *) "startB", NULL
10299 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
10300 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
10301 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
10302 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:ImageHistogram_FindFirstUnusedColour",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
10303 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImageHistogram
, SWIG_POINTER_EXCEPTION
| 0);
10304 if (SWIG_arg_fail(1)) SWIG_fail
;
10307 arg5
= (byte
)(SWIG_As_unsigned_SS_char(obj1
));
10308 if (SWIG_arg_fail(5)) SWIG_fail
;
10313 arg6
= (byte
)(SWIG_As_unsigned_SS_char(obj2
));
10314 if (SWIG_arg_fail(6)) SWIG_fail
;
10319 arg7
= (byte
)(SWIG_As_unsigned_SS_char(obj3
));
10320 if (SWIG_arg_fail(7)) SWIG_fail
;
10324 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10325 result
= (bool)((wxImageHistogram
const *)arg1
)->FindFirstUnusedColour(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
10327 wxPyEndAllowThreads(__tstate
);
10328 if (PyErr_Occurred()) SWIG_fail
;
10331 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10333 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
10334 SWIG_From_unsigned_SS_char((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_unsigned_char
, 0)));
10335 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
10336 SWIG_From_unsigned_SS_char((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_unsigned_char
, 0)));
10337 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
10338 SWIG_From_unsigned_SS_char((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_unsigned_char
, 0)));
10345 static PyObject
*_wrap_ImageHistogram_GetCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10346 PyObject
*resultobj
;
10347 wxImageHistogram
*arg1
= (wxImageHistogram
*) 0 ;
10348 unsigned long arg2
;
10349 unsigned long result
;
10350 PyObject
* obj0
= 0 ;
10351 PyObject
* obj1
= 0 ;
10352 char *kwnames
[] = {
10353 (char *) "self",(char *) "key", NULL
10356 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageHistogram_GetCount",kwnames
,&obj0
,&obj1
)) goto fail
;
10357 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImageHistogram
, SWIG_POINTER_EXCEPTION
| 0);
10358 if (SWIG_arg_fail(1)) SWIG_fail
;
10360 arg2
= (unsigned long)(SWIG_As_unsigned_SS_long(obj1
));
10361 if (SWIG_arg_fail(2)) SWIG_fail
;
10364 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10365 result
= (unsigned long)wxImageHistogram_GetCount(arg1
,arg2
);
10367 wxPyEndAllowThreads(__tstate
);
10368 if (PyErr_Occurred()) SWIG_fail
;
10371 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
10379 static PyObject
*_wrap_ImageHistogram_GetCountRGB(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10380 PyObject
*resultobj
;
10381 wxImageHistogram
*arg1
= (wxImageHistogram
*) 0 ;
10385 unsigned long result
;
10386 PyObject
* obj0
= 0 ;
10387 PyObject
* obj1
= 0 ;
10388 PyObject
* obj2
= 0 ;
10389 PyObject
* obj3
= 0 ;
10390 char *kwnames
[] = {
10391 (char *) "self",(char *) "r",(char *) "g",(char *) "b", NULL
10394 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ImageHistogram_GetCountRGB",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
10395 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImageHistogram
, SWIG_POINTER_EXCEPTION
| 0);
10396 if (SWIG_arg_fail(1)) SWIG_fail
;
10398 arg2
= (byte
)(SWIG_As_unsigned_SS_char(obj1
));
10399 if (SWIG_arg_fail(2)) SWIG_fail
;
10402 arg3
= (byte
)(SWIG_As_unsigned_SS_char(obj2
));
10403 if (SWIG_arg_fail(3)) SWIG_fail
;
10406 arg4
= (byte
)(SWIG_As_unsigned_SS_char(obj3
));
10407 if (SWIG_arg_fail(4)) SWIG_fail
;
10410 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10411 result
= (unsigned long)wxImageHistogram_GetCountRGB(arg1
,arg2
,arg3
,arg4
);
10413 wxPyEndAllowThreads(__tstate
);
10414 if (PyErr_Occurred()) SWIG_fail
;
10417 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
10425 static PyObject
*_wrap_ImageHistogram_GetCountColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10426 PyObject
*resultobj
;
10427 wxImageHistogram
*arg1
= (wxImageHistogram
*) 0 ;
10428 wxColour
*arg2
= 0 ;
10429 unsigned long result
;
10431 PyObject
* obj0
= 0 ;
10432 PyObject
* obj1
= 0 ;
10433 char *kwnames
[] = {
10434 (char *) "self",(char *) "colour", NULL
10437 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageHistogram_GetCountColour",kwnames
,&obj0
,&obj1
)) goto fail
;
10438 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImageHistogram
, SWIG_POINTER_EXCEPTION
| 0);
10439 if (SWIG_arg_fail(1)) SWIG_fail
;
10442 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
10445 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10446 result
= (unsigned long)wxImageHistogram_GetCountColour(arg1
,(wxColour
const &)*arg2
);
10448 wxPyEndAllowThreads(__tstate
);
10449 if (PyErr_Occurred()) SWIG_fail
;
10452 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
10460 static PyObject
* ImageHistogram_swigregister(PyObject
*, PyObject
*args
) {
10462 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10463 SWIG_TypeClientData(SWIGTYPE_p_wxImageHistogram
, obj
);
10465 return Py_BuildValue((char *)"");
10467 static PyObject
*_wrap_new_Image(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10468 PyObject
*resultobj
;
10469 wxString
*arg1
= 0 ;
10470 long arg2
= (long) wxBITMAP_TYPE_ANY
;
10471 int arg3
= (int) -1 ;
10473 bool temp1
= false ;
10474 PyObject
* obj0
= 0 ;
10475 PyObject
* obj1
= 0 ;
10476 PyObject
* obj2
= 0 ;
10477 char *kwnames
[] = {
10478 (char *) "name",(char *) "type",(char *) "index", NULL
10481 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:new_Image",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10483 arg1
= wxString_in_helper(obj0
);
10484 if (arg1
== NULL
) SWIG_fail
;
10489 arg2
= (long)(SWIG_As_long(obj1
));
10490 if (SWIG_arg_fail(2)) SWIG_fail
;
10495 arg3
= (int)(SWIG_As_int(obj2
));
10496 if (SWIG_arg_fail(3)) SWIG_fail
;
10500 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10501 result
= (wxImage
*)new wxImage((wxString
const &)*arg1
,arg2
,arg3
);
10503 wxPyEndAllowThreads(__tstate
);
10504 if (PyErr_Occurred()) SWIG_fail
;
10506 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 1);
10521 static PyObject
*_wrap_delete_Image(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10522 PyObject
*resultobj
;
10523 wxImage
*arg1
= (wxImage
*) 0 ;
10524 PyObject
* obj0
= 0 ;
10525 char *kwnames
[] = {
10526 (char *) "self", NULL
10529 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Image",kwnames
,&obj0
)) goto fail
;
10530 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
10531 if (SWIG_arg_fail(1)) SWIG_fail
;
10533 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10536 wxPyEndAllowThreads(__tstate
);
10537 if (PyErr_Occurred()) SWIG_fail
;
10539 Py_INCREF(Py_None
); resultobj
= Py_None
;
10546 static PyObject
*_wrap_new_ImageFromMime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10547 PyObject
*resultobj
;
10548 wxString
*arg1
= 0 ;
10549 wxString
*arg2
= 0 ;
10550 int arg3
= (int) -1 ;
10552 bool temp1
= false ;
10553 bool temp2
= false ;
10554 PyObject
* obj0
= 0 ;
10555 PyObject
* obj1
= 0 ;
10556 PyObject
* obj2
= 0 ;
10557 char *kwnames
[] = {
10558 (char *) "name",(char *) "mimetype",(char *) "index", NULL
10561 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:new_ImageFromMime",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10563 arg1
= wxString_in_helper(obj0
);
10564 if (arg1
== NULL
) SWIG_fail
;
10568 arg2
= wxString_in_helper(obj1
);
10569 if (arg2
== NULL
) SWIG_fail
;
10574 arg3
= (int)(SWIG_As_int(obj2
));
10575 if (SWIG_arg_fail(3)) SWIG_fail
;
10579 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10580 result
= (wxImage
*)new wxImage((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
);
10582 wxPyEndAllowThreads(__tstate
);
10583 if (PyErr_Occurred()) SWIG_fail
;
10585 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 1);
10608 static PyObject
*_wrap_new_ImageFromStream(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10609 PyObject
*resultobj
;
10610 wxInputStream
*arg1
= 0 ;
10611 long arg2
= (long) wxBITMAP_TYPE_ANY
;
10612 int arg3
= (int) -1 ;
10614 wxPyInputStream
*temp1
;
10616 PyObject
* obj0
= 0 ;
10617 PyObject
* obj1
= 0 ;
10618 PyObject
* obj2
= 0 ;
10619 char *kwnames
[] = {
10620 (char *) "stream",(char *) "type",(char *) "index", NULL
10623 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:new_ImageFromStream",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10625 if (wxPyConvertSwigPtr(obj0
, (void **)&temp1
, wxT("wxPyInputStream"))) {
10626 arg1
= temp1
->m_wxis
;
10629 PyErr_Clear(); // clear the failure of the wxPyConvert above
10630 arg1
= wxPyCBInputStream_create(obj0
, false);
10631 if (arg1
== NULL
) {
10632 PyErr_SetString(PyExc_TypeError
, "Expected wx.InputStream or Python file-like object.");
10640 arg2
= (long)(SWIG_As_long(obj1
));
10641 if (SWIG_arg_fail(2)) SWIG_fail
;
10646 arg3
= (int)(SWIG_As_int(obj2
));
10647 if (SWIG_arg_fail(3)) SWIG_fail
;
10651 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10652 result
= (wxImage
*)new wxImage(*arg1
,arg2
,arg3
);
10654 wxPyEndAllowThreads(__tstate
);
10655 if (PyErr_Occurred()) SWIG_fail
;
10657 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 1);
10659 if (created1
) delete arg1
;
10664 if (created1
) delete arg1
;
10670 static PyObject
*_wrap_new_ImageFromStreamMime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10671 PyObject
*resultobj
;
10672 wxInputStream
*arg1
= 0 ;
10673 wxString
*arg2
= 0 ;
10674 int arg3
= (int) -1 ;
10676 wxPyInputStream
*temp1
;
10678 bool temp2
= false ;
10679 PyObject
* obj0
= 0 ;
10680 PyObject
* obj1
= 0 ;
10681 PyObject
* obj2
= 0 ;
10682 char *kwnames
[] = {
10683 (char *) "stream",(char *) "mimetype",(char *) "index", NULL
10686 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:new_ImageFromStreamMime",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10688 if (wxPyConvertSwigPtr(obj0
, (void **)&temp1
, wxT("wxPyInputStream"))) {
10689 arg1
= temp1
->m_wxis
;
10692 PyErr_Clear(); // clear the failure of the wxPyConvert above
10693 arg1
= wxPyCBInputStream_create(obj0
, false);
10694 if (arg1
== NULL
) {
10695 PyErr_SetString(PyExc_TypeError
, "Expected wx.InputStream or Python file-like object.");
10702 arg2
= wxString_in_helper(obj1
);
10703 if (arg2
== NULL
) SWIG_fail
;
10708 arg3
= (int)(SWIG_As_int(obj2
));
10709 if (SWIG_arg_fail(3)) SWIG_fail
;
10713 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10714 result
= (wxImage
*)new wxImage(*arg1
,(wxString
const &)*arg2
,arg3
);
10716 wxPyEndAllowThreads(__tstate
);
10717 if (PyErr_Occurred()) SWIG_fail
;
10719 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 1);
10721 if (created1
) delete arg1
;
10730 if (created1
) delete arg1
;
10740 static PyObject
*_wrap_new_EmptyImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10741 PyObject
*resultobj
;
10742 int arg1
= (int) 0 ;
10743 int arg2
= (int) 0 ;
10744 bool arg3
= (bool) true ;
10746 PyObject
* obj0
= 0 ;
10747 PyObject
* obj1
= 0 ;
10748 PyObject
* obj2
= 0 ;
10749 char *kwnames
[] = {
10750 (char *) "width",(char *) "height",(char *) "clear", NULL
10753 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_EmptyImage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10756 arg1
= (int)(SWIG_As_int(obj0
));
10757 if (SWIG_arg_fail(1)) SWIG_fail
;
10762 arg2
= (int)(SWIG_As_int(obj1
));
10763 if (SWIG_arg_fail(2)) SWIG_fail
;
10768 arg3
= (bool)(SWIG_As_bool(obj2
));
10769 if (SWIG_arg_fail(3)) SWIG_fail
;
10773 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10774 result
= (wxImage
*)new_wxImage(arg1
,arg2
,arg3
);
10776 wxPyEndAllowThreads(__tstate
);
10777 if (PyErr_Occurred()) SWIG_fail
;
10779 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 1);
10786 static PyObject
*_wrap_new_ImageFromBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10787 PyObject
*resultobj
;
10788 wxBitmap
*arg1
= 0 ;
10790 PyObject
* obj0
= 0 ;
10791 char *kwnames
[] = {
10792 (char *) "bitmap", NULL
10795 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_ImageFromBitmap",kwnames
,&obj0
)) goto fail
;
10797 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
10798 if (SWIG_arg_fail(1)) SWIG_fail
;
10799 if (arg1
== NULL
) {
10800 SWIG_null_ref("wxBitmap");
10802 if (SWIG_arg_fail(1)) SWIG_fail
;
10805 if (!wxPyCheckForApp()) SWIG_fail
;
10806 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10807 result
= (wxImage
*)new_wxImage((wxBitmap
const &)*arg1
);
10809 wxPyEndAllowThreads(__tstate
);
10810 if (PyErr_Occurred()) SWIG_fail
;
10812 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 1);
10819 static PyObject
*_wrap_new_ImageFromData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10820 PyObject
*resultobj
;
10826 PyObject
* obj0
= 0 ;
10827 PyObject
* obj1
= 0 ;
10828 PyObject
* obj2
= 0 ;
10829 char *kwnames
[] = {
10830 (char *) "width",(char *) "height",(char *) "data", NULL
10833 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:new_ImageFromData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10835 arg1
= (int)(SWIG_As_int(obj0
));
10836 if (SWIG_arg_fail(1)) SWIG_fail
;
10839 arg2
= (int)(SWIG_As_int(obj1
));
10840 if (SWIG_arg_fail(2)) SWIG_fail
;
10843 if (!PyArg_Parse(obj2
, "t#", &arg3
, &arg4
)) SWIG_fail
;
10846 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10847 result
= (wxImage
*)new_wxImage(arg1
,arg2
,arg3
,arg4
);
10849 wxPyEndAllowThreads(__tstate
);
10850 if (PyErr_Occurred()) SWIG_fail
;
10852 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 1);
10859 static PyObject
*_wrap_new_ImageFromDataWithAlpha(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10860 PyObject
*resultobj
;
10868 PyObject
* obj0
= 0 ;
10869 PyObject
* obj1
= 0 ;
10870 PyObject
* obj2
= 0 ;
10871 PyObject
* obj3
= 0 ;
10872 char *kwnames
[] = {
10873 (char *) "width",(char *) "height",(char *) "data",(char *) "alpha", NULL
10876 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:new_ImageFromDataWithAlpha",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
10878 arg1
= (int)(SWIG_As_int(obj0
));
10879 if (SWIG_arg_fail(1)) SWIG_fail
;
10882 arg2
= (int)(SWIG_As_int(obj1
));
10883 if (SWIG_arg_fail(2)) SWIG_fail
;
10886 if (!PyArg_Parse(obj2
, "t#", &arg3
, &arg4
)) SWIG_fail
;
10889 if (!PyArg_Parse(obj3
, "t#", &arg5
, &arg6
)) SWIG_fail
;
10892 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10893 result
= (wxImage
*)new_wxImage(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
);
10895 wxPyEndAllowThreads(__tstate
);
10896 if (PyErr_Occurred()) SWIG_fail
;
10898 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 1);
10905 static PyObject
*_wrap_Image_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10906 PyObject
*resultobj
;
10907 wxImage
*arg1
= (wxImage
*) 0 ;
10910 bool arg4
= (bool) true ;
10911 PyObject
* obj0
= 0 ;
10912 PyObject
* obj1
= 0 ;
10913 PyObject
* obj2
= 0 ;
10914 PyObject
* obj3
= 0 ;
10915 char *kwnames
[] = {
10916 (char *) "self",(char *) "width",(char *) "height",(char *) "clear", NULL
10919 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Image_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
10920 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
10921 if (SWIG_arg_fail(1)) SWIG_fail
;
10923 arg2
= (int)(SWIG_As_int(obj1
));
10924 if (SWIG_arg_fail(2)) SWIG_fail
;
10927 arg3
= (int)(SWIG_As_int(obj2
));
10928 if (SWIG_arg_fail(3)) SWIG_fail
;
10932 arg4
= (bool)(SWIG_As_bool(obj3
));
10933 if (SWIG_arg_fail(4)) SWIG_fail
;
10937 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10938 (arg1
)->Create(arg2
,arg3
,arg4
);
10940 wxPyEndAllowThreads(__tstate
);
10941 if (PyErr_Occurred()) SWIG_fail
;
10943 Py_INCREF(Py_None
); resultobj
= Py_None
;
10950 static PyObject
*_wrap_Image_Destroy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10951 PyObject
*resultobj
;
10952 wxImage
*arg1
= (wxImage
*) 0 ;
10953 PyObject
* obj0
= 0 ;
10954 char *kwnames
[] = {
10955 (char *) "self", NULL
10958 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_Destroy",kwnames
,&obj0
)) goto fail
;
10959 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
10960 if (SWIG_arg_fail(1)) SWIG_fail
;
10962 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10965 wxPyEndAllowThreads(__tstate
);
10966 if (PyErr_Occurred()) SWIG_fail
;
10968 Py_INCREF(Py_None
); resultobj
= Py_None
;
10975 static PyObject
*_wrap_Image_Scale(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10976 PyObject
*resultobj
;
10977 wxImage
*arg1
= (wxImage
*) 0 ;
10980 SwigValueWrapper
<wxImage
> result
;
10981 PyObject
* obj0
= 0 ;
10982 PyObject
* obj1
= 0 ;
10983 PyObject
* obj2
= 0 ;
10984 char *kwnames
[] = {
10985 (char *) "self",(char *) "width",(char *) "height", NULL
10988 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_Scale",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10989 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
10990 if (SWIG_arg_fail(1)) SWIG_fail
;
10992 arg2
= (int)(SWIG_As_int(obj1
));
10993 if (SWIG_arg_fail(2)) SWIG_fail
;
10996 arg3
= (int)(SWIG_As_int(obj2
));
10997 if (SWIG_arg_fail(3)) SWIG_fail
;
11000 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11001 result
= (arg1
)->Scale(arg2
,arg3
);
11003 wxPyEndAllowThreads(__tstate
);
11004 if (PyErr_Occurred()) SWIG_fail
;
11007 wxImage
* resultptr
;
11008 resultptr
= new wxImage((wxImage
&)(result
));
11009 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
11017 static PyObject
*_wrap_Image_ShrinkBy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11018 PyObject
*resultobj
;
11019 wxImage
*arg1
= (wxImage
*) 0 ;
11022 SwigValueWrapper
<wxImage
> result
;
11023 PyObject
* obj0
= 0 ;
11024 PyObject
* obj1
= 0 ;
11025 PyObject
* obj2
= 0 ;
11026 char *kwnames
[] = {
11027 (char *) "self",(char *) "xFactor",(char *) "yFactor", NULL
11030 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_ShrinkBy",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11031 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
11032 if (SWIG_arg_fail(1)) SWIG_fail
;
11034 arg2
= (int)(SWIG_As_int(obj1
));
11035 if (SWIG_arg_fail(2)) SWIG_fail
;
11038 arg3
= (int)(SWIG_As_int(obj2
));
11039 if (SWIG_arg_fail(3)) SWIG_fail
;
11042 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11043 result
= ((wxImage
const *)arg1
)->ShrinkBy(arg2
,arg3
);
11045 wxPyEndAllowThreads(__tstate
);
11046 if (PyErr_Occurred()) SWIG_fail
;
11049 wxImage
* resultptr
;
11050 resultptr
= new wxImage((wxImage
&)(result
));
11051 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
11059 static PyObject
*_wrap_Image_Rescale(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11060 PyObject
*resultobj
;
11061 wxImage
*arg1
= (wxImage
*) 0 ;
11065 PyObject
* obj0
= 0 ;
11066 PyObject
* obj1
= 0 ;
11067 PyObject
* obj2
= 0 ;
11068 char *kwnames
[] = {
11069 (char *) "self",(char *) "width",(char *) "height", NULL
11072 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_Rescale",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11073 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
11074 if (SWIG_arg_fail(1)) SWIG_fail
;
11076 arg2
= (int)(SWIG_As_int(obj1
));
11077 if (SWIG_arg_fail(2)) SWIG_fail
;
11080 arg3
= (int)(SWIG_As_int(obj2
));
11081 if (SWIG_arg_fail(3)) SWIG_fail
;
11084 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11086 wxImage
&_result_ref
= (arg1
)->Rescale(arg2
,arg3
);
11087 result
= (wxImage
*) &_result_ref
;
11090 wxPyEndAllowThreads(__tstate
);
11091 if (PyErr_Occurred()) SWIG_fail
;
11093 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 0);
11100 static PyObject
*_wrap_Image_Resize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11101 PyObject
*resultobj
;
11102 wxImage
*arg1
= (wxImage
*) 0 ;
11104 wxPoint
*arg3
= 0 ;
11105 int arg4
= (int) -1 ;
11106 int arg5
= (int) -1 ;
11107 int arg6
= (int) -1 ;
11111 PyObject
* obj0
= 0 ;
11112 PyObject
* obj1
= 0 ;
11113 PyObject
* obj2
= 0 ;
11114 PyObject
* obj3
= 0 ;
11115 PyObject
* obj4
= 0 ;
11116 PyObject
* obj5
= 0 ;
11117 char *kwnames
[] = {
11118 (char *) "self",(char *) "size",(char *) "pos",(char *) "r",(char *) "g",(char *) "b", NULL
11121 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOO:Image_Resize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
11122 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
11123 if (SWIG_arg_fail(1)) SWIG_fail
;
11126 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
11130 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
11134 arg4
= (int)(SWIG_As_int(obj3
));
11135 if (SWIG_arg_fail(4)) SWIG_fail
;
11140 arg5
= (int)(SWIG_As_int(obj4
));
11141 if (SWIG_arg_fail(5)) SWIG_fail
;
11146 arg6
= (int)(SWIG_As_int(obj5
));
11147 if (SWIG_arg_fail(6)) SWIG_fail
;
11151 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11153 wxImage
&_result_ref
= (arg1
)->Resize((wxSize
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
,arg5
,arg6
);
11154 result
= (wxImage
*) &_result_ref
;
11157 wxPyEndAllowThreads(__tstate
);
11158 if (PyErr_Occurred()) SWIG_fail
;
11160 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 0);
11167 static PyObject
*_wrap_Image_SetRGB(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11168 PyObject
*resultobj
;
11169 wxImage
*arg1
= (wxImage
*) 0 ;
11175 PyObject
* obj0
= 0 ;
11176 PyObject
* obj1
= 0 ;
11177 PyObject
* obj2
= 0 ;
11178 PyObject
* obj3
= 0 ;
11179 PyObject
* obj4
= 0 ;
11180 PyObject
* obj5
= 0 ;
11181 char *kwnames
[] = {
11182 (char *) "self",(char *) "x",(char *) "y",(char *) "r",(char *) "g",(char *) "b", NULL
11185 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:Image_SetRGB",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
11186 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
11187 if (SWIG_arg_fail(1)) SWIG_fail
;
11189 arg2
= (int)(SWIG_As_int(obj1
));
11190 if (SWIG_arg_fail(2)) SWIG_fail
;
11193 arg3
= (int)(SWIG_As_int(obj2
));
11194 if (SWIG_arg_fail(3)) SWIG_fail
;
11197 arg4
= (byte
)(SWIG_As_unsigned_SS_char(obj3
));
11198 if (SWIG_arg_fail(4)) SWIG_fail
;
11201 arg5
= (byte
)(SWIG_As_unsigned_SS_char(obj4
));
11202 if (SWIG_arg_fail(5)) SWIG_fail
;
11205 arg6
= (byte
)(SWIG_As_unsigned_SS_char(obj5
));
11206 if (SWIG_arg_fail(6)) SWIG_fail
;
11209 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11210 (arg1
)->SetRGB(arg2
,arg3
,arg4
,arg5
,arg6
);
11212 wxPyEndAllowThreads(__tstate
);
11213 if (PyErr_Occurred()) SWIG_fail
;
11215 Py_INCREF(Py_None
); resultobj
= Py_None
;
11222 static PyObject
*_wrap_Image_SetRGBRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11223 PyObject
*resultobj
;
11224 wxImage
*arg1
= (wxImage
*) 0 ;
11230 PyObject
* obj0
= 0 ;
11231 PyObject
* obj1
= 0 ;
11232 PyObject
* obj2
= 0 ;
11233 PyObject
* obj3
= 0 ;
11234 PyObject
* obj4
= 0 ;
11235 char *kwnames
[] = {
11236 (char *) "self",(char *) "rect",(char *) "r",(char *) "g",(char *) "b", NULL
11239 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Image_SetRGBRect",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
11240 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
11241 if (SWIG_arg_fail(1)) SWIG_fail
;
11244 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
11247 arg3
= (byte
)(SWIG_As_unsigned_SS_char(obj2
));
11248 if (SWIG_arg_fail(3)) SWIG_fail
;
11251 arg4
= (byte
)(SWIG_As_unsigned_SS_char(obj3
));
11252 if (SWIG_arg_fail(4)) SWIG_fail
;
11255 arg5
= (byte
)(SWIG_As_unsigned_SS_char(obj4
));
11256 if (SWIG_arg_fail(5)) SWIG_fail
;
11259 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11260 (arg1
)->SetRGB((wxRect
const &)*arg2
,arg3
,arg4
,arg5
);
11262 wxPyEndAllowThreads(__tstate
);
11263 if (PyErr_Occurred()) SWIG_fail
;
11265 Py_INCREF(Py_None
); resultobj
= Py_None
;
11272 static PyObject
*_wrap_Image_GetRed(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11273 PyObject
*resultobj
;
11274 wxImage
*arg1
= (wxImage
*) 0 ;
11278 PyObject
* obj0
= 0 ;
11279 PyObject
* obj1
= 0 ;
11280 PyObject
* obj2
= 0 ;
11281 char *kwnames
[] = {
11282 (char *) "self",(char *) "x",(char *) "y", NULL
11285 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_GetRed",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11286 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
11287 if (SWIG_arg_fail(1)) SWIG_fail
;
11289 arg2
= (int)(SWIG_As_int(obj1
));
11290 if (SWIG_arg_fail(2)) SWIG_fail
;
11293 arg3
= (int)(SWIG_As_int(obj2
));
11294 if (SWIG_arg_fail(3)) SWIG_fail
;
11297 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11298 result
= (byte
)(arg1
)->GetRed(arg2
,arg3
);
11300 wxPyEndAllowThreads(__tstate
);
11301 if (PyErr_Occurred()) SWIG_fail
;
11304 resultobj
= SWIG_From_unsigned_SS_char((unsigned char)(result
));
11312 static PyObject
*_wrap_Image_GetGreen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11313 PyObject
*resultobj
;
11314 wxImage
*arg1
= (wxImage
*) 0 ;
11318 PyObject
* obj0
= 0 ;
11319 PyObject
* obj1
= 0 ;
11320 PyObject
* obj2
= 0 ;
11321 char *kwnames
[] = {
11322 (char *) "self",(char *) "x",(char *) "y", NULL
11325 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_GetGreen",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11326 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
11327 if (SWIG_arg_fail(1)) SWIG_fail
;
11329 arg2
= (int)(SWIG_As_int(obj1
));
11330 if (SWIG_arg_fail(2)) SWIG_fail
;
11333 arg3
= (int)(SWIG_As_int(obj2
));
11334 if (SWIG_arg_fail(3)) SWIG_fail
;
11337 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11338 result
= (byte
)(arg1
)->GetGreen(arg2
,arg3
);
11340 wxPyEndAllowThreads(__tstate
);
11341 if (PyErr_Occurred()) SWIG_fail
;
11344 resultobj
= SWIG_From_unsigned_SS_char((unsigned char)(result
));
11352 static PyObject
*_wrap_Image_GetBlue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11353 PyObject
*resultobj
;
11354 wxImage
*arg1
= (wxImage
*) 0 ;
11358 PyObject
* obj0
= 0 ;
11359 PyObject
* obj1
= 0 ;
11360 PyObject
* obj2
= 0 ;
11361 char *kwnames
[] = {
11362 (char *) "self",(char *) "x",(char *) "y", NULL
11365 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_GetBlue",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11366 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
11367 if (SWIG_arg_fail(1)) SWIG_fail
;
11369 arg2
= (int)(SWIG_As_int(obj1
));
11370 if (SWIG_arg_fail(2)) SWIG_fail
;
11373 arg3
= (int)(SWIG_As_int(obj2
));
11374 if (SWIG_arg_fail(3)) SWIG_fail
;
11377 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11378 result
= (byte
)(arg1
)->GetBlue(arg2
,arg3
);
11380 wxPyEndAllowThreads(__tstate
);
11381 if (PyErr_Occurred()) SWIG_fail
;
11384 resultobj
= SWIG_From_unsigned_SS_char((unsigned char)(result
));
11392 static PyObject
*_wrap_Image_SetAlpha(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11393 PyObject
*resultobj
;
11394 wxImage
*arg1
= (wxImage
*) 0 ;
11398 PyObject
* obj0
= 0 ;
11399 PyObject
* obj1
= 0 ;
11400 PyObject
* obj2
= 0 ;
11401 PyObject
* obj3
= 0 ;
11402 char *kwnames
[] = {
11403 (char *) "self",(char *) "x",(char *) "y",(char *) "alpha", NULL
11406 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Image_SetAlpha",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11407 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
11408 if (SWIG_arg_fail(1)) SWIG_fail
;
11410 arg2
= (int)(SWIG_As_int(obj1
));
11411 if (SWIG_arg_fail(2)) SWIG_fail
;
11414 arg3
= (int)(SWIG_As_int(obj2
));
11415 if (SWIG_arg_fail(3)) SWIG_fail
;
11418 arg4
= (byte
)(SWIG_As_unsigned_SS_char(obj3
));
11419 if (SWIG_arg_fail(4)) SWIG_fail
;
11422 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11423 (arg1
)->SetAlpha(arg2
,arg3
,arg4
);
11425 wxPyEndAllowThreads(__tstate
);
11426 if (PyErr_Occurred()) SWIG_fail
;
11428 Py_INCREF(Py_None
); resultobj
= Py_None
;
11435 static PyObject
*_wrap_Image_GetAlpha(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11436 PyObject
*resultobj
;
11437 wxImage
*arg1
= (wxImage
*) 0 ;
11441 PyObject
* obj0
= 0 ;
11442 PyObject
* obj1
= 0 ;
11443 PyObject
* obj2
= 0 ;
11444 char *kwnames
[] = {
11445 (char *) "self",(char *) "x",(char *) "y", NULL
11448 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_GetAlpha",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11449 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
11450 if (SWIG_arg_fail(1)) SWIG_fail
;
11452 arg2
= (int)(SWIG_As_int(obj1
));
11453 if (SWIG_arg_fail(2)) SWIG_fail
;
11456 arg3
= (int)(SWIG_As_int(obj2
));
11457 if (SWIG_arg_fail(3)) SWIG_fail
;
11460 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11461 result
= (byte
)(arg1
)->GetAlpha(arg2
,arg3
);
11463 wxPyEndAllowThreads(__tstate
);
11464 if (PyErr_Occurred()) SWIG_fail
;
11467 resultobj
= SWIG_From_unsigned_SS_char((unsigned char)(result
));
11475 static PyObject
*_wrap_Image_HasAlpha(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11476 PyObject
*resultobj
;
11477 wxImage
*arg1
= (wxImage
*) 0 ;
11479 PyObject
* obj0
= 0 ;
11480 char *kwnames
[] = {
11481 (char *) "self", NULL
11484 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_HasAlpha",kwnames
,&obj0
)) goto fail
;
11485 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
11486 if (SWIG_arg_fail(1)) SWIG_fail
;
11488 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11489 result
= (bool)(arg1
)->HasAlpha();
11491 wxPyEndAllowThreads(__tstate
);
11492 if (PyErr_Occurred()) SWIG_fail
;
11495 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11503 static PyObject
*_wrap_Image_InitAlpha(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11504 PyObject
*resultobj
;
11505 wxImage
*arg1
= (wxImage
*) 0 ;
11506 PyObject
* obj0
= 0 ;
11507 char *kwnames
[] = {
11508 (char *) "self", NULL
11511 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_InitAlpha",kwnames
,&obj0
)) goto fail
;
11512 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
11513 if (SWIG_arg_fail(1)) SWIG_fail
;
11515 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11516 (arg1
)->InitAlpha();
11518 wxPyEndAllowThreads(__tstate
);
11519 if (PyErr_Occurred()) SWIG_fail
;
11521 Py_INCREF(Py_None
); resultobj
= Py_None
;
11528 static PyObject
*_wrap_Image_IsTransparent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11529 PyObject
*resultobj
;
11530 wxImage
*arg1
= (wxImage
*) 0 ;
11533 byte arg4
= (byte
) wxIMAGE_ALPHA_THRESHOLD
;
11535 PyObject
* obj0
= 0 ;
11536 PyObject
* obj1
= 0 ;
11537 PyObject
* obj2
= 0 ;
11538 PyObject
* obj3
= 0 ;
11539 char *kwnames
[] = {
11540 (char *) "self",(char *) "x",(char *) "y",(char *) "threshold", NULL
11543 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Image_IsTransparent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11544 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
11545 if (SWIG_arg_fail(1)) SWIG_fail
;
11547 arg2
= (int)(SWIG_As_int(obj1
));
11548 if (SWIG_arg_fail(2)) SWIG_fail
;
11551 arg3
= (int)(SWIG_As_int(obj2
));
11552 if (SWIG_arg_fail(3)) SWIG_fail
;
11556 arg4
= (byte
)(SWIG_As_unsigned_SS_char(obj3
));
11557 if (SWIG_arg_fail(4)) SWIG_fail
;
11561 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11562 result
= (bool)((wxImage
const *)arg1
)->IsTransparent(arg2
,arg3
,arg4
);
11564 wxPyEndAllowThreads(__tstate
);
11565 if (PyErr_Occurred()) SWIG_fail
;
11568 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11576 static PyObject
*_wrap_Image_FindFirstUnusedColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11577 PyObject
*resultobj
;
11578 wxImage
*arg1
= (wxImage
*) 0 ;
11579 byte
*arg2
= (byte
*) 0 ;
11580 byte
*arg3
= (byte
*) 0 ;
11581 byte
*arg4
= (byte
*) 0 ;
11582 byte arg5
= (byte
) 0 ;
11583 byte arg6
= (byte
) 0 ;
11584 byte arg7
= (byte
) 0 ;
11592 PyObject
* obj0
= 0 ;
11593 PyObject
* obj1
= 0 ;
11594 PyObject
* obj2
= 0 ;
11595 PyObject
* obj3
= 0 ;
11596 char *kwnames
[] = {
11597 (char *) "self",(char *) "startR",(char *) "startG",(char *) "startB", NULL
11600 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
11601 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
11602 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
11603 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:Image_FindFirstUnusedColour",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11604 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
11605 if (SWIG_arg_fail(1)) SWIG_fail
;
11608 arg5
= (byte
)(SWIG_As_unsigned_SS_char(obj1
));
11609 if (SWIG_arg_fail(5)) SWIG_fail
;
11614 arg6
= (byte
)(SWIG_As_unsigned_SS_char(obj2
));
11615 if (SWIG_arg_fail(6)) SWIG_fail
;
11620 arg7
= (byte
)(SWIG_As_unsigned_SS_char(obj3
));
11621 if (SWIG_arg_fail(7)) SWIG_fail
;
11625 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11626 result
= (bool)((wxImage
const *)arg1
)->FindFirstUnusedColour(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
11628 wxPyEndAllowThreads(__tstate
);
11629 if (PyErr_Occurred()) SWIG_fail
;
11632 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11634 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
11635 SWIG_From_unsigned_SS_char((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_unsigned_char
, 0)));
11636 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
11637 SWIG_From_unsigned_SS_char((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_unsigned_char
, 0)));
11638 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
11639 SWIG_From_unsigned_SS_char((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_unsigned_char
, 0)));
11646 static PyObject
*_wrap_Image_ConvertAlphaToMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11647 PyObject
*resultobj
;
11648 wxImage
*arg1
= (wxImage
*) 0 ;
11649 byte arg2
= (byte
) wxIMAGE_ALPHA_THRESHOLD
;
11651 PyObject
* obj0
= 0 ;
11652 PyObject
* obj1
= 0 ;
11653 char *kwnames
[] = {
11654 (char *) "self",(char *) "threshold", NULL
11657 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Image_ConvertAlphaToMask",kwnames
,&obj0
,&obj1
)) goto fail
;
11658 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
11659 if (SWIG_arg_fail(1)) SWIG_fail
;
11662 arg2
= (byte
)(SWIG_As_unsigned_SS_char(obj1
));
11663 if (SWIG_arg_fail(2)) SWIG_fail
;
11667 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11668 result
= (bool)(arg1
)->ConvertAlphaToMask(arg2
);
11670 wxPyEndAllowThreads(__tstate
);
11671 if (PyErr_Occurred()) SWIG_fail
;
11674 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11682 static PyObject
*_wrap_Image_ConvertColourToAlpha(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11683 PyObject
*resultobj
;
11684 wxImage
*arg1
= (wxImage
*) 0 ;
11689 PyObject
* obj0
= 0 ;
11690 PyObject
* obj1
= 0 ;
11691 PyObject
* obj2
= 0 ;
11692 PyObject
* obj3
= 0 ;
11693 char *kwnames
[] = {
11694 (char *) "self",(char *) "r",(char *) "g",(char *) "b", NULL
11697 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Image_ConvertColourToAlpha",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11698 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
11699 if (SWIG_arg_fail(1)) SWIG_fail
;
11701 arg2
= (byte
)(SWIG_As_unsigned_SS_char(obj1
));
11702 if (SWIG_arg_fail(2)) SWIG_fail
;
11705 arg3
= (byte
)(SWIG_As_unsigned_SS_char(obj2
));
11706 if (SWIG_arg_fail(3)) SWIG_fail
;
11709 arg4
= (byte
)(SWIG_As_unsigned_SS_char(obj3
));
11710 if (SWIG_arg_fail(4)) SWIG_fail
;
11713 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11714 result
= (bool)(arg1
)->ConvertColourToAlpha(arg2
,arg3
,arg4
);
11716 wxPyEndAllowThreads(__tstate
);
11717 if (PyErr_Occurred()) SWIG_fail
;
11720 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11728 static PyObject
*_wrap_Image_SetMaskFromImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11729 PyObject
*resultobj
;
11730 wxImage
*arg1
= (wxImage
*) 0 ;
11731 wxImage
*arg2
= 0 ;
11736 PyObject
* obj0
= 0 ;
11737 PyObject
* obj1
= 0 ;
11738 PyObject
* obj2
= 0 ;
11739 PyObject
* obj3
= 0 ;
11740 PyObject
* obj4
= 0 ;
11741 char *kwnames
[] = {
11742 (char *) "self",(char *) "mask",(char *) "mr",(char *) "mg",(char *) "mb", NULL
11745 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Image_SetMaskFromImage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
11746 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
11747 if (SWIG_arg_fail(1)) SWIG_fail
;
11749 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
11750 if (SWIG_arg_fail(2)) SWIG_fail
;
11751 if (arg2
== NULL
) {
11752 SWIG_null_ref("wxImage");
11754 if (SWIG_arg_fail(2)) SWIG_fail
;
11757 arg3
= (byte
)(SWIG_As_unsigned_SS_char(obj2
));
11758 if (SWIG_arg_fail(3)) SWIG_fail
;
11761 arg4
= (byte
)(SWIG_As_unsigned_SS_char(obj3
));
11762 if (SWIG_arg_fail(4)) SWIG_fail
;
11765 arg5
= (byte
)(SWIG_As_unsigned_SS_char(obj4
));
11766 if (SWIG_arg_fail(5)) SWIG_fail
;
11769 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11770 result
= (bool)(arg1
)->SetMaskFromImage((wxImage
const &)*arg2
,arg3
,arg4
,arg5
);
11772 wxPyEndAllowThreads(__tstate
);
11773 if (PyErr_Occurred()) SWIG_fail
;
11776 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11784 static PyObject
*_wrap_Image_CanRead(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11785 PyObject
*resultobj
;
11786 wxString
*arg1
= 0 ;
11788 bool temp1
= false ;
11789 PyObject
* obj0
= 0 ;
11790 char *kwnames
[] = {
11791 (char *) "filename", NULL
11794 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_CanRead",kwnames
,&obj0
)) goto fail
;
11796 arg1
= wxString_in_helper(obj0
);
11797 if (arg1
== NULL
) SWIG_fail
;
11801 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11802 result
= (bool)wxImage::CanRead((wxString
const &)*arg1
);
11804 wxPyEndAllowThreads(__tstate
);
11805 if (PyErr_Occurred()) SWIG_fail
;
11808 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11824 static PyObject
*_wrap_Image_GetImageCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11825 PyObject
*resultobj
;
11826 wxString
*arg1
= 0 ;
11827 long arg2
= (long) wxBITMAP_TYPE_ANY
;
11829 bool temp1
= false ;
11830 PyObject
* obj0
= 0 ;
11831 PyObject
* obj1
= 0 ;
11832 char *kwnames
[] = {
11833 (char *) "filename",(char *) "type", NULL
11836 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Image_GetImageCount",kwnames
,&obj0
,&obj1
)) goto fail
;
11838 arg1
= wxString_in_helper(obj0
);
11839 if (arg1
== NULL
) SWIG_fail
;
11844 arg2
= (long)(SWIG_As_long(obj1
));
11845 if (SWIG_arg_fail(2)) SWIG_fail
;
11849 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11850 result
= (int)wxImage::GetImageCount((wxString
const &)*arg1
,arg2
);
11852 wxPyEndAllowThreads(__tstate
);
11853 if (PyErr_Occurred()) SWIG_fail
;
11856 resultobj
= SWIG_From_int((int)(result
));
11872 static PyObject
*_wrap_Image_LoadFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11873 PyObject
*resultobj
;
11874 wxImage
*arg1
= (wxImage
*) 0 ;
11875 wxString
*arg2
= 0 ;
11876 long arg3
= (long) wxBITMAP_TYPE_ANY
;
11877 int arg4
= (int) -1 ;
11879 bool temp2
= false ;
11880 PyObject
* obj0
= 0 ;
11881 PyObject
* obj1
= 0 ;
11882 PyObject
* obj2
= 0 ;
11883 PyObject
* obj3
= 0 ;
11884 char *kwnames
[] = {
11885 (char *) "self",(char *) "name",(char *) "type",(char *) "index", NULL
11888 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:Image_LoadFile",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11889 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
11890 if (SWIG_arg_fail(1)) SWIG_fail
;
11892 arg2
= wxString_in_helper(obj1
);
11893 if (arg2
== NULL
) SWIG_fail
;
11898 arg3
= (long)(SWIG_As_long(obj2
));
11899 if (SWIG_arg_fail(3)) SWIG_fail
;
11904 arg4
= (int)(SWIG_As_int(obj3
));
11905 if (SWIG_arg_fail(4)) SWIG_fail
;
11909 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11910 result
= (bool)(arg1
)->LoadFile((wxString
const &)*arg2
,arg3
,arg4
);
11912 wxPyEndAllowThreads(__tstate
);
11913 if (PyErr_Occurred()) SWIG_fail
;
11916 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11932 static PyObject
*_wrap_Image_LoadMimeFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11933 PyObject
*resultobj
;
11934 wxImage
*arg1
= (wxImage
*) 0 ;
11935 wxString
*arg2
= 0 ;
11936 wxString
*arg3
= 0 ;
11937 int arg4
= (int) -1 ;
11939 bool temp2
= false ;
11940 bool temp3
= false ;
11941 PyObject
* obj0
= 0 ;
11942 PyObject
* obj1
= 0 ;
11943 PyObject
* obj2
= 0 ;
11944 PyObject
* obj3
= 0 ;
11945 char *kwnames
[] = {
11946 (char *) "self",(char *) "name",(char *) "mimetype",(char *) "index", NULL
11949 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Image_LoadMimeFile",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11950 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
11951 if (SWIG_arg_fail(1)) SWIG_fail
;
11953 arg2
= wxString_in_helper(obj1
);
11954 if (arg2
== NULL
) SWIG_fail
;
11958 arg3
= wxString_in_helper(obj2
);
11959 if (arg3
== NULL
) SWIG_fail
;
11964 arg4
= (int)(SWIG_As_int(obj3
));
11965 if (SWIG_arg_fail(4)) SWIG_fail
;
11969 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11970 result
= (bool)(arg1
)->LoadFile((wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
);
11972 wxPyEndAllowThreads(__tstate
);
11973 if (PyErr_Occurred()) SWIG_fail
;
11976 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12000 static PyObject
*_wrap_Image_SaveFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12001 PyObject
*resultobj
;
12002 wxImage
*arg1
= (wxImage
*) 0 ;
12003 wxString
*arg2
= 0 ;
12006 bool temp2
= false ;
12007 PyObject
* obj0
= 0 ;
12008 PyObject
* obj1
= 0 ;
12009 PyObject
* obj2
= 0 ;
12010 char *kwnames
[] = {
12011 (char *) "self",(char *) "name",(char *) "type", NULL
12014 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_SaveFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12015 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12016 if (SWIG_arg_fail(1)) SWIG_fail
;
12018 arg2
= wxString_in_helper(obj1
);
12019 if (arg2
== NULL
) SWIG_fail
;
12023 arg3
= (int)(SWIG_As_int(obj2
));
12024 if (SWIG_arg_fail(3)) SWIG_fail
;
12027 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12028 result
= (bool)(arg1
)->SaveFile((wxString
const &)*arg2
,arg3
);
12030 wxPyEndAllowThreads(__tstate
);
12031 if (PyErr_Occurred()) SWIG_fail
;
12034 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12050 static PyObject
*_wrap_Image_SaveMimeFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12051 PyObject
*resultobj
;
12052 wxImage
*arg1
= (wxImage
*) 0 ;
12053 wxString
*arg2
= 0 ;
12054 wxString
*arg3
= 0 ;
12056 bool temp2
= false ;
12057 bool temp3
= false ;
12058 PyObject
* obj0
= 0 ;
12059 PyObject
* obj1
= 0 ;
12060 PyObject
* obj2
= 0 ;
12061 char *kwnames
[] = {
12062 (char *) "self",(char *) "name",(char *) "mimetype", NULL
12065 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_SaveMimeFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12066 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12067 if (SWIG_arg_fail(1)) SWIG_fail
;
12069 arg2
= wxString_in_helper(obj1
);
12070 if (arg2
== NULL
) SWIG_fail
;
12074 arg3
= wxString_in_helper(obj2
);
12075 if (arg3
== NULL
) SWIG_fail
;
12079 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12080 result
= (bool)(arg1
)->SaveFile((wxString
const &)*arg2
,(wxString
const &)*arg3
);
12082 wxPyEndAllowThreads(__tstate
);
12083 if (PyErr_Occurred()) SWIG_fail
;
12086 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12110 static PyObject
*_wrap_Image_CanReadStream(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12111 PyObject
*resultobj
;
12112 wxInputStream
*arg1
= 0 ;
12114 wxPyInputStream
*temp1
;
12116 PyObject
* obj0
= 0 ;
12117 char *kwnames
[] = {
12118 (char *) "stream", NULL
12121 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_CanReadStream",kwnames
,&obj0
)) goto fail
;
12123 if (wxPyConvertSwigPtr(obj0
, (void **)&temp1
, wxT("wxPyInputStream"))) {
12124 arg1
= temp1
->m_wxis
;
12127 PyErr_Clear(); // clear the failure of the wxPyConvert above
12128 arg1
= wxPyCBInputStream_create(obj0
, false);
12129 if (arg1
== NULL
) {
12130 PyErr_SetString(PyExc_TypeError
, "Expected wx.InputStream or Python file-like object.");
12137 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12138 result
= (bool)wxImage::CanRead(*arg1
);
12140 wxPyEndAllowThreads(__tstate
);
12141 if (PyErr_Occurred()) SWIG_fail
;
12144 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12147 if (created1
) delete arg1
;
12152 if (created1
) delete arg1
;
12158 static PyObject
*_wrap_Image_LoadStream(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12159 PyObject
*resultobj
;
12160 wxImage
*arg1
= (wxImage
*) 0 ;
12161 wxInputStream
*arg2
= 0 ;
12162 long arg3
= (long) wxBITMAP_TYPE_ANY
;
12163 int arg4
= (int) -1 ;
12165 wxPyInputStream
*temp2
;
12167 PyObject
* obj0
= 0 ;
12168 PyObject
* obj1
= 0 ;
12169 PyObject
* obj2
= 0 ;
12170 PyObject
* obj3
= 0 ;
12171 char *kwnames
[] = {
12172 (char *) "self",(char *) "stream",(char *) "type",(char *) "index", NULL
12175 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:Image_LoadStream",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
12176 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12177 if (SWIG_arg_fail(1)) SWIG_fail
;
12179 if (wxPyConvertSwigPtr(obj1
, (void **)&temp2
, wxT("wxPyInputStream"))) {
12180 arg2
= temp2
->m_wxis
;
12183 PyErr_Clear(); // clear the failure of the wxPyConvert above
12184 arg2
= wxPyCBInputStream_create(obj1
, false);
12185 if (arg2
== NULL
) {
12186 PyErr_SetString(PyExc_TypeError
, "Expected wx.InputStream or Python file-like object.");
12194 arg3
= (long)(SWIG_As_long(obj2
));
12195 if (SWIG_arg_fail(3)) SWIG_fail
;
12200 arg4
= (int)(SWIG_As_int(obj3
));
12201 if (SWIG_arg_fail(4)) SWIG_fail
;
12205 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12206 result
= (bool)(arg1
)->LoadFile(*arg2
,arg3
,arg4
);
12208 wxPyEndAllowThreads(__tstate
);
12209 if (PyErr_Occurred()) SWIG_fail
;
12212 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12215 if (created2
) delete arg2
;
12220 if (created2
) delete arg2
;
12226 static PyObject
*_wrap_Image_LoadMimeStream(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12227 PyObject
*resultobj
;
12228 wxImage
*arg1
= (wxImage
*) 0 ;
12229 wxInputStream
*arg2
= 0 ;
12230 wxString
*arg3
= 0 ;
12231 int arg4
= (int) -1 ;
12233 wxPyInputStream
*temp2
;
12235 bool temp3
= false ;
12236 PyObject
* obj0
= 0 ;
12237 PyObject
* obj1
= 0 ;
12238 PyObject
* obj2
= 0 ;
12239 PyObject
* obj3
= 0 ;
12240 char *kwnames
[] = {
12241 (char *) "self",(char *) "stream",(char *) "mimetype",(char *) "index", NULL
12244 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Image_LoadMimeStream",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
12245 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12246 if (SWIG_arg_fail(1)) SWIG_fail
;
12248 if (wxPyConvertSwigPtr(obj1
, (void **)&temp2
, wxT("wxPyInputStream"))) {
12249 arg2
= temp2
->m_wxis
;
12252 PyErr_Clear(); // clear the failure of the wxPyConvert above
12253 arg2
= wxPyCBInputStream_create(obj1
, false);
12254 if (arg2
== NULL
) {
12255 PyErr_SetString(PyExc_TypeError
, "Expected wx.InputStream or Python file-like object.");
12262 arg3
= wxString_in_helper(obj2
);
12263 if (arg3
== NULL
) SWIG_fail
;
12268 arg4
= (int)(SWIG_As_int(obj3
));
12269 if (SWIG_arg_fail(4)) SWIG_fail
;
12273 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12274 result
= (bool)(arg1
)->LoadFile(*arg2
,(wxString
const &)*arg3
,arg4
);
12276 wxPyEndAllowThreads(__tstate
);
12277 if (PyErr_Occurred()) SWIG_fail
;
12280 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12283 if (created2
) delete arg2
;
12292 if (created2
) delete arg2
;
12302 static PyObject
*_wrap_Image_Ok(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12303 PyObject
*resultobj
;
12304 wxImage
*arg1
= (wxImage
*) 0 ;
12306 PyObject
* obj0
= 0 ;
12307 char *kwnames
[] = {
12308 (char *) "self", NULL
12311 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_Ok",kwnames
,&obj0
)) goto fail
;
12312 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12313 if (SWIG_arg_fail(1)) SWIG_fail
;
12315 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12316 result
= (bool)(arg1
)->Ok();
12318 wxPyEndAllowThreads(__tstate
);
12319 if (PyErr_Occurred()) SWIG_fail
;
12322 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12330 static PyObject
*_wrap_Image_GetWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12331 PyObject
*resultobj
;
12332 wxImage
*arg1
= (wxImage
*) 0 ;
12334 PyObject
* obj0
= 0 ;
12335 char *kwnames
[] = {
12336 (char *) "self", NULL
12339 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetWidth",kwnames
,&obj0
)) goto fail
;
12340 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12341 if (SWIG_arg_fail(1)) SWIG_fail
;
12343 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12344 result
= (int)(arg1
)->GetWidth();
12346 wxPyEndAllowThreads(__tstate
);
12347 if (PyErr_Occurred()) SWIG_fail
;
12350 resultobj
= SWIG_From_int((int)(result
));
12358 static PyObject
*_wrap_Image_GetHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12359 PyObject
*resultobj
;
12360 wxImage
*arg1
= (wxImage
*) 0 ;
12362 PyObject
* obj0
= 0 ;
12363 char *kwnames
[] = {
12364 (char *) "self", NULL
12367 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetHeight",kwnames
,&obj0
)) goto fail
;
12368 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12369 if (SWIG_arg_fail(1)) SWIG_fail
;
12371 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12372 result
= (int)(arg1
)->GetHeight();
12374 wxPyEndAllowThreads(__tstate
);
12375 if (PyErr_Occurred()) SWIG_fail
;
12378 resultobj
= SWIG_From_int((int)(result
));
12386 static PyObject
*_wrap_Image_GetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12387 PyObject
*resultobj
;
12388 wxImage
*arg1
= (wxImage
*) 0 ;
12390 PyObject
* obj0
= 0 ;
12391 char *kwnames
[] = {
12392 (char *) "self", NULL
12395 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetSize",kwnames
,&obj0
)) goto fail
;
12396 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12397 if (SWIG_arg_fail(1)) SWIG_fail
;
12399 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12400 result
= wxImage_GetSize(arg1
);
12402 wxPyEndAllowThreads(__tstate
);
12403 if (PyErr_Occurred()) SWIG_fail
;
12406 wxSize
* resultptr
;
12407 resultptr
= new wxSize((wxSize
&)(result
));
12408 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
12416 static PyObject
*_wrap_Image_GetSubImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12417 PyObject
*resultobj
;
12418 wxImage
*arg1
= (wxImage
*) 0 ;
12420 SwigValueWrapper
<wxImage
> result
;
12422 PyObject
* obj0
= 0 ;
12423 PyObject
* obj1
= 0 ;
12424 char *kwnames
[] = {
12425 (char *) "self",(char *) "rect", NULL
12428 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_GetSubImage",kwnames
,&obj0
,&obj1
)) goto fail
;
12429 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12430 if (SWIG_arg_fail(1)) SWIG_fail
;
12433 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
12436 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12437 result
= (arg1
)->GetSubImage((wxRect
const &)*arg2
);
12439 wxPyEndAllowThreads(__tstate
);
12440 if (PyErr_Occurred()) SWIG_fail
;
12443 wxImage
* resultptr
;
12444 resultptr
= new wxImage((wxImage
&)(result
));
12445 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
12453 static PyObject
*_wrap_Image_Size(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12454 PyObject
*resultobj
;
12455 wxImage
*arg1
= (wxImage
*) 0 ;
12457 wxPoint
*arg3
= 0 ;
12458 int arg4
= (int) -1 ;
12459 int arg5
= (int) -1 ;
12460 int arg6
= (int) -1 ;
12461 SwigValueWrapper
<wxImage
> result
;
12464 PyObject
* obj0
= 0 ;
12465 PyObject
* obj1
= 0 ;
12466 PyObject
* obj2
= 0 ;
12467 PyObject
* obj3
= 0 ;
12468 PyObject
* obj4
= 0 ;
12469 PyObject
* obj5
= 0 ;
12470 char *kwnames
[] = {
12471 (char *) "self",(char *) "size",(char *) "pos",(char *) "r",(char *) "g",(char *) "b", NULL
12474 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOO:Image_Size",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
12475 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12476 if (SWIG_arg_fail(1)) SWIG_fail
;
12479 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
12483 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
12487 arg4
= (int)(SWIG_As_int(obj3
));
12488 if (SWIG_arg_fail(4)) SWIG_fail
;
12493 arg5
= (int)(SWIG_As_int(obj4
));
12494 if (SWIG_arg_fail(5)) SWIG_fail
;
12499 arg6
= (int)(SWIG_As_int(obj5
));
12500 if (SWIG_arg_fail(6)) SWIG_fail
;
12504 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12505 result
= ((wxImage
const *)arg1
)->Size((wxSize
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
,arg5
,arg6
);
12507 wxPyEndAllowThreads(__tstate
);
12508 if (PyErr_Occurred()) SWIG_fail
;
12511 wxImage
* resultptr
;
12512 resultptr
= new wxImage((wxImage
&)(result
));
12513 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
12521 static PyObject
*_wrap_Image_Copy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12522 PyObject
*resultobj
;
12523 wxImage
*arg1
= (wxImage
*) 0 ;
12524 SwigValueWrapper
<wxImage
> result
;
12525 PyObject
* obj0
= 0 ;
12526 char *kwnames
[] = {
12527 (char *) "self", NULL
12530 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_Copy",kwnames
,&obj0
)) goto fail
;
12531 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12532 if (SWIG_arg_fail(1)) SWIG_fail
;
12534 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12535 result
= (arg1
)->Copy();
12537 wxPyEndAllowThreads(__tstate
);
12538 if (PyErr_Occurred()) SWIG_fail
;
12541 wxImage
* resultptr
;
12542 resultptr
= new wxImage((wxImage
&)(result
));
12543 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
12551 static PyObject
*_wrap_Image_Paste(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12552 PyObject
*resultobj
;
12553 wxImage
*arg1
= (wxImage
*) 0 ;
12554 wxImage
*arg2
= 0 ;
12557 PyObject
* obj0
= 0 ;
12558 PyObject
* obj1
= 0 ;
12559 PyObject
* obj2
= 0 ;
12560 PyObject
* obj3
= 0 ;
12561 char *kwnames
[] = {
12562 (char *) "self",(char *) "image",(char *) "x",(char *) "y", NULL
12565 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Image_Paste",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
12566 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12567 if (SWIG_arg_fail(1)) SWIG_fail
;
12569 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12570 if (SWIG_arg_fail(2)) SWIG_fail
;
12571 if (arg2
== NULL
) {
12572 SWIG_null_ref("wxImage");
12574 if (SWIG_arg_fail(2)) SWIG_fail
;
12577 arg3
= (int)(SWIG_As_int(obj2
));
12578 if (SWIG_arg_fail(3)) SWIG_fail
;
12581 arg4
= (int)(SWIG_As_int(obj3
));
12582 if (SWIG_arg_fail(4)) SWIG_fail
;
12585 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12586 (arg1
)->Paste((wxImage
const &)*arg2
,arg3
,arg4
);
12588 wxPyEndAllowThreads(__tstate
);
12589 if (PyErr_Occurred()) SWIG_fail
;
12591 Py_INCREF(Py_None
); resultobj
= Py_None
;
12598 static PyObject
*_wrap_Image_GetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12599 PyObject
*resultobj
;
12600 wxImage
*arg1
= (wxImage
*) 0 ;
12602 PyObject
* obj0
= 0 ;
12603 char *kwnames
[] = {
12604 (char *) "self", NULL
12607 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetData",kwnames
,&obj0
)) goto fail
;
12608 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12609 if (SWIG_arg_fail(1)) SWIG_fail
;
12611 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12612 result
= (PyObject
*)wxImage_GetData(arg1
);
12614 wxPyEndAllowThreads(__tstate
);
12615 if (PyErr_Occurred()) SWIG_fail
;
12617 resultobj
= result
;
12624 static PyObject
*_wrap_Image_SetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12625 PyObject
*resultobj
;
12626 wxImage
*arg1
= (wxImage
*) 0 ;
12629 PyObject
* obj0
= 0 ;
12630 PyObject
* obj1
= 0 ;
12631 char *kwnames
[] = {
12632 (char *) "self",(char *) "data", NULL
12635 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
12636 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12637 if (SWIG_arg_fail(1)) SWIG_fail
;
12639 if (!PyArg_Parse(obj1
, "t#", &arg2
, &arg3
)) SWIG_fail
;
12642 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12643 wxImage_SetData(arg1
,arg2
,arg3
);
12645 wxPyEndAllowThreads(__tstate
);
12646 if (PyErr_Occurred()) SWIG_fail
;
12648 Py_INCREF(Py_None
); resultobj
= Py_None
;
12655 static PyObject
*_wrap_Image_GetDataBuffer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12656 PyObject
*resultobj
;
12657 wxImage
*arg1
= (wxImage
*) 0 ;
12659 PyObject
* obj0
= 0 ;
12660 char *kwnames
[] = {
12661 (char *) "self", NULL
12664 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetDataBuffer",kwnames
,&obj0
)) goto fail
;
12665 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12666 if (SWIG_arg_fail(1)) SWIG_fail
;
12668 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12669 result
= (PyObject
*)wxImage_GetDataBuffer(arg1
);
12671 wxPyEndAllowThreads(__tstate
);
12672 if (PyErr_Occurred()) SWIG_fail
;
12674 resultobj
= result
;
12681 static PyObject
*_wrap_Image_SetDataBuffer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12682 PyObject
*resultobj
;
12683 wxImage
*arg1
= (wxImage
*) 0 ;
12686 PyObject
* obj0
= 0 ;
12687 PyObject
* obj1
= 0 ;
12688 char *kwnames
[] = {
12689 (char *) "self",(char *) "data", NULL
12692 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_SetDataBuffer",kwnames
,&obj0
,&obj1
)) goto fail
;
12693 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12694 if (SWIG_arg_fail(1)) SWIG_fail
;
12696 if (!PyArg_Parse(obj1
, "t#", &arg2
, &arg3
)) SWIG_fail
;
12699 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12700 wxImage_SetDataBuffer(arg1
,arg2
,arg3
);
12702 wxPyEndAllowThreads(__tstate
);
12703 if (PyErr_Occurred()) SWIG_fail
;
12705 Py_INCREF(Py_None
); resultobj
= Py_None
;
12712 static PyObject
*_wrap_Image_GetAlphaData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12713 PyObject
*resultobj
;
12714 wxImage
*arg1
= (wxImage
*) 0 ;
12716 PyObject
* obj0
= 0 ;
12717 char *kwnames
[] = {
12718 (char *) "self", NULL
12721 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetAlphaData",kwnames
,&obj0
)) goto fail
;
12722 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12723 if (SWIG_arg_fail(1)) SWIG_fail
;
12725 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12726 result
= (PyObject
*)wxImage_GetAlphaData(arg1
);
12728 wxPyEndAllowThreads(__tstate
);
12729 if (PyErr_Occurred()) SWIG_fail
;
12731 resultobj
= result
;
12738 static PyObject
*_wrap_Image_SetAlphaData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12739 PyObject
*resultobj
;
12740 wxImage
*arg1
= (wxImage
*) 0 ;
12743 PyObject
* obj0
= 0 ;
12744 PyObject
* obj1
= 0 ;
12745 char *kwnames
[] = {
12746 (char *) "self",(char *) "alpha", NULL
12749 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_SetAlphaData",kwnames
,&obj0
,&obj1
)) goto fail
;
12750 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12751 if (SWIG_arg_fail(1)) SWIG_fail
;
12753 if (!PyArg_Parse(obj1
, "t#", &arg2
, &arg3
)) SWIG_fail
;
12756 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12757 wxImage_SetAlphaData(arg1
,arg2
,arg3
);
12759 wxPyEndAllowThreads(__tstate
);
12760 if (PyErr_Occurred()) SWIG_fail
;
12762 Py_INCREF(Py_None
); resultobj
= Py_None
;
12769 static PyObject
*_wrap_Image_GetAlphaBuffer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12770 PyObject
*resultobj
;
12771 wxImage
*arg1
= (wxImage
*) 0 ;
12773 PyObject
* obj0
= 0 ;
12774 char *kwnames
[] = {
12775 (char *) "self", NULL
12778 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetAlphaBuffer",kwnames
,&obj0
)) goto fail
;
12779 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12780 if (SWIG_arg_fail(1)) SWIG_fail
;
12782 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12783 result
= (PyObject
*)wxImage_GetAlphaBuffer(arg1
);
12785 wxPyEndAllowThreads(__tstate
);
12786 if (PyErr_Occurred()) SWIG_fail
;
12788 resultobj
= result
;
12795 static PyObject
*_wrap_Image_SetAlphaBuffer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12796 PyObject
*resultobj
;
12797 wxImage
*arg1
= (wxImage
*) 0 ;
12800 PyObject
* obj0
= 0 ;
12801 PyObject
* obj1
= 0 ;
12802 char *kwnames
[] = {
12803 (char *) "self",(char *) "alpha", NULL
12806 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_SetAlphaBuffer",kwnames
,&obj0
,&obj1
)) goto fail
;
12807 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12808 if (SWIG_arg_fail(1)) SWIG_fail
;
12810 if (!PyArg_Parse(obj1
, "t#", &arg2
, &arg3
)) SWIG_fail
;
12813 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12814 wxImage_SetAlphaBuffer(arg1
,arg2
,arg3
);
12816 wxPyEndAllowThreads(__tstate
);
12817 if (PyErr_Occurred()) SWIG_fail
;
12819 Py_INCREF(Py_None
); resultobj
= Py_None
;
12826 static PyObject
*_wrap_Image_SetMaskColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12827 PyObject
*resultobj
;
12828 wxImage
*arg1
= (wxImage
*) 0 ;
12832 PyObject
* obj0
= 0 ;
12833 PyObject
* obj1
= 0 ;
12834 PyObject
* obj2
= 0 ;
12835 PyObject
* obj3
= 0 ;
12836 char *kwnames
[] = {
12837 (char *) "self",(char *) "r",(char *) "g",(char *) "b", NULL
12840 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Image_SetMaskColour",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
12841 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12842 if (SWIG_arg_fail(1)) SWIG_fail
;
12844 arg2
= (byte
)(SWIG_As_unsigned_SS_char(obj1
));
12845 if (SWIG_arg_fail(2)) SWIG_fail
;
12848 arg3
= (byte
)(SWIG_As_unsigned_SS_char(obj2
));
12849 if (SWIG_arg_fail(3)) SWIG_fail
;
12852 arg4
= (byte
)(SWIG_As_unsigned_SS_char(obj3
));
12853 if (SWIG_arg_fail(4)) SWIG_fail
;
12856 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12857 (arg1
)->SetMaskColour(arg2
,arg3
,arg4
);
12859 wxPyEndAllowThreads(__tstate
);
12860 if (PyErr_Occurred()) SWIG_fail
;
12862 Py_INCREF(Py_None
); resultobj
= Py_None
;
12869 static PyObject
*_wrap_Image_GetOrFindMaskColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12870 PyObject
*resultobj
;
12871 wxImage
*arg1
= (wxImage
*) 0 ;
12872 byte
*arg2
= (byte
*) 0 ;
12873 byte
*arg3
= (byte
*) 0 ;
12874 byte
*arg4
= (byte
*) 0 ;
12881 PyObject
* obj0
= 0 ;
12882 char *kwnames
[] = {
12883 (char *) "self", NULL
12886 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
12887 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
12888 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
12889 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetOrFindMaskColour",kwnames
,&obj0
)) goto fail
;
12890 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12891 if (SWIG_arg_fail(1)) SWIG_fail
;
12893 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12894 ((wxImage
const *)arg1
)->GetOrFindMaskColour(arg2
,arg3
,arg4
);
12896 wxPyEndAllowThreads(__tstate
);
12897 if (PyErr_Occurred()) SWIG_fail
;
12899 Py_INCREF(Py_None
); resultobj
= Py_None
;
12900 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
12901 SWIG_From_unsigned_SS_char((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_unsigned_char
, 0)));
12902 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
12903 SWIG_From_unsigned_SS_char((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_unsigned_char
, 0)));
12904 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
12905 SWIG_From_unsigned_SS_char((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_unsigned_char
, 0)));
12912 static PyObject
*_wrap_Image_GetMaskRed(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12913 PyObject
*resultobj
;
12914 wxImage
*arg1
= (wxImage
*) 0 ;
12916 PyObject
* obj0
= 0 ;
12917 char *kwnames
[] = {
12918 (char *) "self", NULL
12921 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetMaskRed",kwnames
,&obj0
)) goto fail
;
12922 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12923 if (SWIG_arg_fail(1)) SWIG_fail
;
12925 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12926 result
= (byte
)(arg1
)->GetMaskRed();
12928 wxPyEndAllowThreads(__tstate
);
12929 if (PyErr_Occurred()) SWIG_fail
;
12932 resultobj
= SWIG_From_unsigned_SS_char((unsigned char)(result
));
12940 static PyObject
*_wrap_Image_GetMaskGreen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12941 PyObject
*resultobj
;
12942 wxImage
*arg1
= (wxImage
*) 0 ;
12944 PyObject
* obj0
= 0 ;
12945 char *kwnames
[] = {
12946 (char *) "self", NULL
12949 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetMaskGreen",kwnames
,&obj0
)) goto fail
;
12950 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12951 if (SWIG_arg_fail(1)) SWIG_fail
;
12953 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12954 result
= (byte
)(arg1
)->GetMaskGreen();
12956 wxPyEndAllowThreads(__tstate
);
12957 if (PyErr_Occurred()) SWIG_fail
;
12960 resultobj
= SWIG_From_unsigned_SS_char((unsigned char)(result
));
12968 static PyObject
*_wrap_Image_GetMaskBlue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12969 PyObject
*resultobj
;
12970 wxImage
*arg1
= (wxImage
*) 0 ;
12972 PyObject
* obj0
= 0 ;
12973 char *kwnames
[] = {
12974 (char *) "self", NULL
12977 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetMaskBlue",kwnames
,&obj0
)) goto fail
;
12978 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12979 if (SWIG_arg_fail(1)) SWIG_fail
;
12981 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12982 result
= (byte
)(arg1
)->GetMaskBlue();
12984 wxPyEndAllowThreads(__tstate
);
12985 if (PyErr_Occurred()) SWIG_fail
;
12988 resultobj
= SWIG_From_unsigned_SS_char((unsigned char)(result
));
12996 static PyObject
*_wrap_Image_SetMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12997 PyObject
*resultobj
;
12998 wxImage
*arg1
= (wxImage
*) 0 ;
12999 bool arg2
= (bool) true ;
13000 PyObject
* obj0
= 0 ;
13001 PyObject
* obj1
= 0 ;
13002 char *kwnames
[] = {
13003 (char *) "self",(char *) "mask", NULL
13006 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Image_SetMask",kwnames
,&obj0
,&obj1
)) goto fail
;
13007 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
13008 if (SWIG_arg_fail(1)) SWIG_fail
;
13011 arg2
= (bool)(SWIG_As_bool(obj1
));
13012 if (SWIG_arg_fail(2)) SWIG_fail
;
13016 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13017 (arg1
)->SetMask(arg2
);
13019 wxPyEndAllowThreads(__tstate
);
13020 if (PyErr_Occurred()) SWIG_fail
;
13022 Py_INCREF(Py_None
); resultobj
= Py_None
;
13029 static PyObject
*_wrap_Image_HasMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13030 PyObject
*resultobj
;
13031 wxImage
*arg1
= (wxImage
*) 0 ;
13033 PyObject
* obj0
= 0 ;
13034 char *kwnames
[] = {
13035 (char *) "self", NULL
13038 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_HasMask",kwnames
,&obj0
)) goto fail
;
13039 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
13040 if (SWIG_arg_fail(1)) SWIG_fail
;
13042 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13043 result
= (bool)(arg1
)->HasMask();
13045 wxPyEndAllowThreads(__tstate
);
13046 if (PyErr_Occurred()) SWIG_fail
;
13049 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13057 static PyObject
*_wrap_Image_Rotate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13058 PyObject
*resultobj
;
13059 wxImage
*arg1
= (wxImage
*) 0 ;
13061 wxPoint
*arg3
= 0 ;
13062 bool arg4
= (bool) true ;
13063 wxPoint
*arg5
= (wxPoint
*) NULL
;
13064 SwigValueWrapper
<wxImage
> result
;
13066 PyObject
* obj0
= 0 ;
13067 PyObject
* obj1
= 0 ;
13068 PyObject
* obj2
= 0 ;
13069 PyObject
* obj3
= 0 ;
13070 PyObject
* obj4
= 0 ;
13071 char *kwnames
[] = {
13072 (char *) "self",(char *) "angle",(char *) "centre_of_rotation",(char *) "interpolating",(char *) "offset_after_rotation", NULL
13075 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:Image_Rotate",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
13076 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
13077 if (SWIG_arg_fail(1)) SWIG_fail
;
13079 arg2
= (double)(SWIG_As_double(obj1
));
13080 if (SWIG_arg_fail(2)) SWIG_fail
;
13084 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
13088 arg4
= (bool)(SWIG_As_bool(obj3
));
13089 if (SWIG_arg_fail(4)) SWIG_fail
;
13093 SWIG_Python_ConvertPtr(obj4
, (void **)&arg5
, SWIGTYPE_p_wxPoint
, SWIG_POINTER_EXCEPTION
| 0);
13094 if (SWIG_arg_fail(5)) SWIG_fail
;
13097 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13098 result
= ((wxImage
const *)arg1
)->Rotate(arg2
,(wxPoint
const &)*arg3
,arg4
,arg5
);
13100 wxPyEndAllowThreads(__tstate
);
13101 if (PyErr_Occurred()) SWIG_fail
;
13104 wxImage
* resultptr
;
13105 resultptr
= new wxImage((wxImage
&)(result
));
13106 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
13114 static PyObject
*_wrap_Image_Rotate90(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13115 PyObject
*resultobj
;
13116 wxImage
*arg1
= (wxImage
*) 0 ;
13117 bool arg2
= (bool) true ;
13118 SwigValueWrapper
<wxImage
> result
;
13119 PyObject
* obj0
= 0 ;
13120 PyObject
* obj1
= 0 ;
13121 char *kwnames
[] = {
13122 (char *) "self",(char *) "clockwise", NULL
13125 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Image_Rotate90",kwnames
,&obj0
,&obj1
)) goto fail
;
13126 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
13127 if (SWIG_arg_fail(1)) SWIG_fail
;
13130 arg2
= (bool)(SWIG_As_bool(obj1
));
13131 if (SWIG_arg_fail(2)) SWIG_fail
;
13135 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13136 result
= (arg1
)->Rotate90(arg2
);
13138 wxPyEndAllowThreads(__tstate
);
13139 if (PyErr_Occurred()) SWIG_fail
;
13142 wxImage
* resultptr
;
13143 resultptr
= new wxImage((wxImage
&)(result
));
13144 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
13152 static PyObject
*_wrap_Image_Mirror(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13153 PyObject
*resultobj
;
13154 wxImage
*arg1
= (wxImage
*) 0 ;
13155 bool arg2
= (bool) true ;
13156 SwigValueWrapper
<wxImage
> result
;
13157 PyObject
* obj0
= 0 ;
13158 PyObject
* obj1
= 0 ;
13159 char *kwnames
[] = {
13160 (char *) "self",(char *) "horizontally", NULL
13163 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Image_Mirror",kwnames
,&obj0
,&obj1
)) goto fail
;
13164 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
13165 if (SWIG_arg_fail(1)) SWIG_fail
;
13168 arg2
= (bool)(SWIG_As_bool(obj1
));
13169 if (SWIG_arg_fail(2)) SWIG_fail
;
13173 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13174 result
= (arg1
)->Mirror(arg2
);
13176 wxPyEndAllowThreads(__tstate
);
13177 if (PyErr_Occurred()) SWIG_fail
;
13180 wxImage
* resultptr
;
13181 resultptr
= new wxImage((wxImage
&)(result
));
13182 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
13190 static PyObject
*_wrap_Image_Replace(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13191 PyObject
*resultobj
;
13192 wxImage
*arg1
= (wxImage
*) 0 ;
13199 PyObject
* obj0
= 0 ;
13200 PyObject
* obj1
= 0 ;
13201 PyObject
* obj2
= 0 ;
13202 PyObject
* obj3
= 0 ;
13203 PyObject
* obj4
= 0 ;
13204 PyObject
* obj5
= 0 ;
13205 PyObject
* obj6
= 0 ;
13206 char *kwnames
[] = {
13207 (char *) "self",(char *) "r1",(char *) "g1",(char *) "b1",(char *) "r2",(char *) "g2",(char *) "b2", NULL
13210 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:Image_Replace",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
13211 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
13212 if (SWIG_arg_fail(1)) SWIG_fail
;
13214 arg2
= (byte
)(SWIG_As_unsigned_SS_char(obj1
));
13215 if (SWIG_arg_fail(2)) SWIG_fail
;
13218 arg3
= (byte
)(SWIG_As_unsigned_SS_char(obj2
));
13219 if (SWIG_arg_fail(3)) SWIG_fail
;
13222 arg4
= (byte
)(SWIG_As_unsigned_SS_char(obj3
));
13223 if (SWIG_arg_fail(4)) SWIG_fail
;
13226 arg5
= (byte
)(SWIG_As_unsigned_SS_char(obj4
));
13227 if (SWIG_arg_fail(5)) SWIG_fail
;
13230 arg6
= (byte
)(SWIG_As_unsigned_SS_char(obj5
));
13231 if (SWIG_arg_fail(6)) SWIG_fail
;
13234 arg7
= (byte
)(SWIG_As_unsigned_SS_char(obj6
));
13235 if (SWIG_arg_fail(7)) SWIG_fail
;
13238 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13239 (arg1
)->Replace(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
13241 wxPyEndAllowThreads(__tstate
);
13242 if (PyErr_Occurred()) SWIG_fail
;
13244 Py_INCREF(Py_None
); resultobj
= Py_None
;
13251 static PyObject
*_wrap_Image_ConvertToMono(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13252 PyObject
*resultobj
;
13253 wxImage
*arg1
= (wxImage
*) 0 ;
13257 SwigValueWrapper
<wxImage
> result
;
13258 PyObject
* obj0
= 0 ;
13259 PyObject
* obj1
= 0 ;
13260 PyObject
* obj2
= 0 ;
13261 PyObject
* obj3
= 0 ;
13262 char *kwnames
[] = {
13263 (char *) "self",(char *) "r",(char *) "g",(char *) "b", NULL
13266 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Image_ConvertToMono",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
13267 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
13268 if (SWIG_arg_fail(1)) SWIG_fail
;
13270 arg2
= (byte
)(SWIG_As_unsigned_SS_char(obj1
));
13271 if (SWIG_arg_fail(2)) SWIG_fail
;
13274 arg3
= (byte
)(SWIG_As_unsigned_SS_char(obj2
));
13275 if (SWIG_arg_fail(3)) SWIG_fail
;
13278 arg4
= (byte
)(SWIG_As_unsigned_SS_char(obj3
));
13279 if (SWIG_arg_fail(4)) SWIG_fail
;
13282 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13283 result
= ((wxImage
const *)arg1
)->ConvertToMono(arg2
,arg3
,arg4
);
13285 wxPyEndAllowThreads(__tstate
);
13286 if (PyErr_Occurred()) SWIG_fail
;
13289 wxImage
* resultptr
;
13290 resultptr
= new wxImage((wxImage
&)(result
));
13291 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
13299 static PyObject
*_wrap_Image_SetOption(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13300 PyObject
*resultobj
;
13301 wxImage
*arg1
= (wxImage
*) 0 ;
13302 wxString
*arg2
= 0 ;
13303 wxString
*arg3
= 0 ;
13304 bool temp2
= false ;
13305 bool temp3
= false ;
13306 PyObject
* obj0
= 0 ;
13307 PyObject
* obj1
= 0 ;
13308 PyObject
* obj2
= 0 ;
13309 char *kwnames
[] = {
13310 (char *) "self",(char *) "name",(char *) "value", NULL
13313 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_SetOption",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13314 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
13315 if (SWIG_arg_fail(1)) SWIG_fail
;
13317 arg2
= wxString_in_helper(obj1
);
13318 if (arg2
== NULL
) SWIG_fail
;
13322 arg3
= wxString_in_helper(obj2
);
13323 if (arg3
== NULL
) SWIG_fail
;
13327 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13328 (arg1
)->SetOption((wxString
const &)*arg2
,(wxString
const &)*arg3
);
13330 wxPyEndAllowThreads(__tstate
);
13331 if (PyErr_Occurred()) SWIG_fail
;
13333 Py_INCREF(Py_None
); resultobj
= Py_None
;
13356 static PyObject
*_wrap_Image_SetOptionInt(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13357 PyObject
*resultobj
;
13358 wxImage
*arg1
= (wxImage
*) 0 ;
13359 wxString
*arg2
= 0 ;
13361 bool temp2
= false ;
13362 PyObject
* obj0
= 0 ;
13363 PyObject
* obj1
= 0 ;
13364 PyObject
* obj2
= 0 ;
13365 char *kwnames
[] = {
13366 (char *) "self",(char *) "name",(char *) "value", NULL
13369 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_SetOptionInt",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13370 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
13371 if (SWIG_arg_fail(1)) SWIG_fail
;
13373 arg2
= wxString_in_helper(obj1
);
13374 if (arg2
== NULL
) SWIG_fail
;
13378 arg3
= (int)(SWIG_As_int(obj2
));
13379 if (SWIG_arg_fail(3)) SWIG_fail
;
13382 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13383 (arg1
)->SetOption((wxString
const &)*arg2
,arg3
);
13385 wxPyEndAllowThreads(__tstate
);
13386 if (PyErr_Occurred()) SWIG_fail
;
13388 Py_INCREF(Py_None
); resultobj
= Py_None
;
13403 static PyObject
*_wrap_Image_GetOption(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13404 PyObject
*resultobj
;
13405 wxImage
*arg1
= (wxImage
*) 0 ;
13406 wxString
*arg2
= 0 ;
13408 bool temp2
= false ;
13409 PyObject
* obj0
= 0 ;
13410 PyObject
* obj1
= 0 ;
13411 char *kwnames
[] = {
13412 (char *) "self",(char *) "name", NULL
13415 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_GetOption",kwnames
,&obj0
,&obj1
)) goto fail
;
13416 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
13417 if (SWIG_arg_fail(1)) SWIG_fail
;
13419 arg2
= wxString_in_helper(obj1
);
13420 if (arg2
== NULL
) SWIG_fail
;
13424 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13425 result
= ((wxImage
const *)arg1
)->GetOption((wxString
const &)*arg2
);
13427 wxPyEndAllowThreads(__tstate
);
13428 if (PyErr_Occurred()) SWIG_fail
;
13432 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13434 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13451 static PyObject
*_wrap_Image_GetOptionInt(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13452 PyObject
*resultobj
;
13453 wxImage
*arg1
= (wxImage
*) 0 ;
13454 wxString
*arg2
= 0 ;
13456 bool temp2
= false ;
13457 PyObject
* obj0
= 0 ;
13458 PyObject
* obj1
= 0 ;
13459 char *kwnames
[] = {
13460 (char *) "self",(char *) "name", NULL
13463 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_GetOptionInt",kwnames
,&obj0
,&obj1
)) goto fail
;
13464 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
13465 if (SWIG_arg_fail(1)) SWIG_fail
;
13467 arg2
= wxString_in_helper(obj1
);
13468 if (arg2
== NULL
) SWIG_fail
;
13472 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13473 result
= (int)((wxImage
const *)arg1
)->GetOptionInt((wxString
const &)*arg2
);
13475 wxPyEndAllowThreads(__tstate
);
13476 if (PyErr_Occurred()) SWIG_fail
;
13479 resultobj
= SWIG_From_int((int)(result
));
13495 static PyObject
*_wrap_Image_HasOption(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13496 PyObject
*resultobj
;
13497 wxImage
*arg1
= (wxImage
*) 0 ;
13498 wxString
*arg2
= 0 ;
13500 bool temp2
= false ;
13501 PyObject
* obj0
= 0 ;
13502 PyObject
* obj1
= 0 ;
13503 char *kwnames
[] = {
13504 (char *) "self",(char *) "name", NULL
13507 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_HasOption",kwnames
,&obj0
,&obj1
)) goto fail
;
13508 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
13509 if (SWIG_arg_fail(1)) SWIG_fail
;
13511 arg2
= wxString_in_helper(obj1
);
13512 if (arg2
== NULL
) SWIG_fail
;
13516 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13517 result
= (bool)((wxImage
const *)arg1
)->HasOption((wxString
const &)*arg2
);
13519 wxPyEndAllowThreads(__tstate
);
13520 if (PyErr_Occurred()) SWIG_fail
;
13523 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13539 static PyObject
*_wrap_Image_CountColours(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13540 PyObject
*resultobj
;
13541 wxImage
*arg1
= (wxImage
*) 0 ;
13542 unsigned long arg2
= (unsigned long) (unsigned long) -1 ;
13543 unsigned long result
;
13544 PyObject
* obj0
= 0 ;
13545 PyObject
* obj1
= 0 ;
13546 char *kwnames
[] = {
13547 (char *) "self",(char *) "stopafter", NULL
13550 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Image_CountColours",kwnames
,&obj0
,&obj1
)) goto fail
;
13551 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
13552 if (SWIG_arg_fail(1)) SWIG_fail
;
13555 arg2
= (unsigned long)(SWIG_As_unsigned_SS_long(obj1
));
13556 if (SWIG_arg_fail(2)) SWIG_fail
;
13560 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13561 result
= (unsigned long)(arg1
)->CountColours(arg2
);
13563 wxPyEndAllowThreads(__tstate
);
13564 if (PyErr_Occurred()) SWIG_fail
;
13567 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
13575 static PyObject
*_wrap_Image_ComputeHistogram(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13576 PyObject
*resultobj
;
13577 wxImage
*arg1
= (wxImage
*) 0 ;
13578 wxImageHistogram
*arg2
= 0 ;
13579 unsigned long result
;
13580 PyObject
* obj0
= 0 ;
13581 PyObject
* obj1
= 0 ;
13582 char *kwnames
[] = {
13583 (char *) "self",(char *) "h", NULL
13586 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_ComputeHistogram",kwnames
,&obj0
,&obj1
)) goto fail
;
13587 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
13588 if (SWIG_arg_fail(1)) SWIG_fail
;
13590 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxImageHistogram
, SWIG_POINTER_EXCEPTION
| 0);
13591 if (SWIG_arg_fail(2)) SWIG_fail
;
13592 if (arg2
== NULL
) {
13593 SWIG_null_ref("wxImageHistogram");
13595 if (SWIG_arg_fail(2)) SWIG_fail
;
13598 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13599 result
= (unsigned long)(arg1
)->ComputeHistogram(*arg2
);
13601 wxPyEndAllowThreads(__tstate
);
13602 if (PyErr_Occurred()) SWIG_fail
;
13605 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
13613 static PyObject
*_wrap_Image_AddHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13614 PyObject
*resultobj
;
13615 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
13616 PyObject
* obj0
= 0 ;
13617 char *kwnames
[] = {
13618 (char *) "handler", NULL
13621 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_AddHandler",kwnames
,&obj0
)) goto fail
;
13622 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImageHandler
, SWIG_POINTER_EXCEPTION
| 0);
13623 if (SWIG_arg_fail(1)) SWIG_fail
;
13625 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13626 wxImage::AddHandler(arg1
);
13628 wxPyEndAllowThreads(__tstate
);
13629 if (PyErr_Occurred()) SWIG_fail
;
13631 Py_INCREF(Py_None
); resultobj
= Py_None
;
13638 static PyObject
*_wrap_Image_InsertHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13639 PyObject
*resultobj
;
13640 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
13641 PyObject
* obj0
= 0 ;
13642 char *kwnames
[] = {
13643 (char *) "handler", NULL
13646 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_InsertHandler",kwnames
,&obj0
)) goto fail
;
13647 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImageHandler
, SWIG_POINTER_EXCEPTION
| 0);
13648 if (SWIG_arg_fail(1)) SWIG_fail
;
13650 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13651 wxImage::InsertHandler(arg1
);
13653 wxPyEndAllowThreads(__tstate
);
13654 if (PyErr_Occurred()) SWIG_fail
;
13656 Py_INCREF(Py_None
); resultobj
= Py_None
;
13663 static PyObject
*_wrap_Image_RemoveHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13664 PyObject
*resultobj
;
13665 wxString
*arg1
= 0 ;
13667 bool temp1
= false ;
13668 PyObject
* obj0
= 0 ;
13669 char *kwnames
[] = {
13670 (char *) "name", NULL
13673 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_RemoveHandler",kwnames
,&obj0
)) goto fail
;
13675 arg1
= wxString_in_helper(obj0
);
13676 if (arg1
== NULL
) SWIG_fail
;
13680 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13681 result
= (bool)wxImage::RemoveHandler((wxString
const &)*arg1
);
13683 wxPyEndAllowThreads(__tstate
);
13684 if (PyErr_Occurred()) SWIG_fail
;
13687 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13703 static PyObject
*_wrap_Image_GetImageExtWildcard(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13704 PyObject
*resultobj
;
13706 char *kwnames
[] = {
13710 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Image_GetImageExtWildcard",kwnames
)) goto fail
;
13712 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13713 result
= wxImage::GetImageExtWildcard();
13715 wxPyEndAllowThreads(__tstate
);
13716 if (PyErr_Occurred()) SWIG_fail
;
13720 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13722 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13731 static PyObject
*_wrap_Image_ConvertToBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13732 PyObject
*resultobj
;
13733 wxImage
*arg1
= (wxImage
*) 0 ;
13734 int arg2
= (int) -1 ;
13736 PyObject
* obj0
= 0 ;
13737 PyObject
* obj1
= 0 ;
13738 char *kwnames
[] = {
13739 (char *) "self",(char *) "depth", NULL
13742 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Image_ConvertToBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
13743 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
13744 if (SWIG_arg_fail(1)) SWIG_fail
;
13747 arg2
= (int)(SWIG_As_int(obj1
));
13748 if (SWIG_arg_fail(2)) SWIG_fail
;
13752 if (!wxPyCheckForApp()) SWIG_fail
;
13753 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13754 result
= wxImage_ConvertToBitmap(arg1
,arg2
);
13756 wxPyEndAllowThreads(__tstate
);
13757 if (PyErr_Occurred()) SWIG_fail
;
13760 wxBitmap
* resultptr
;
13761 resultptr
= new wxBitmap((wxBitmap
&)(result
));
13762 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
13770 static PyObject
*_wrap_Image_ConvertToMonoBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13771 PyObject
*resultobj
;
13772 wxImage
*arg1
= (wxImage
*) 0 ;
13777 PyObject
* obj0
= 0 ;
13778 PyObject
* obj1
= 0 ;
13779 PyObject
* obj2
= 0 ;
13780 PyObject
* obj3
= 0 ;
13781 char *kwnames
[] = {
13782 (char *) "self",(char *) "red",(char *) "green",(char *) "blue", NULL
13785 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Image_ConvertToMonoBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
13786 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
13787 if (SWIG_arg_fail(1)) SWIG_fail
;
13789 arg2
= (byte
)(SWIG_As_unsigned_SS_char(obj1
));
13790 if (SWIG_arg_fail(2)) SWIG_fail
;
13793 arg3
= (byte
)(SWIG_As_unsigned_SS_char(obj2
));
13794 if (SWIG_arg_fail(3)) SWIG_fail
;
13797 arg4
= (byte
)(SWIG_As_unsigned_SS_char(obj3
));
13798 if (SWIG_arg_fail(4)) SWIG_fail
;
13801 if (!wxPyCheckForApp()) SWIG_fail
;
13802 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13803 result
= wxImage_ConvertToMonoBitmap(arg1
,arg2
,arg3
,arg4
);
13805 wxPyEndAllowThreads(__tstate
);
13806 if (PyErr_Occurred()) SWIG_fail
;
13809 wxBitmap
* resultptr
;
13810 resultptr
= new wxBitmap((wxBitmap
&)(result
));
13811 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
13819 static PyObject
* Image_swigregister(PyObject
*, PyObject
*args
) {
13821 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13822 SWIG_TypeClientData(SWIGTYPE_p_wxImage
, obj
);
13824 return Py_BuildValue((char *)"");
13826 static int _wrap_NullImage_set(PyObject
*) {
13827 PyErr_SetString(PyExc_TypeError
,"Variable NullImage is read-only.");
13832 static PyObject
*_wrap_NullImage_get(void) {
13835 pyobj
= SWIG_NewPointerObj((void *)(&wxNullImage
), SWIGTYPE_p_wxImage
, 0);
13840 static int _wrap_IMAGE_OPTION_FILENAME_set(PyObject
*) {
13841 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_FILENAME is read-only.");
13846 static PyObject
*_wrap_IMAGE_OPTION_FILENAME_get(void) {
13851 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_FILENAME
)->c_str(), (&wxPyIMAGE_OPTION_FILENAME
)->Len());
13853 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_FILENAME
)->c_str(), (&wxPyIMAGE_OPTION_FILENAME
)->Len());
13860 static int _wrap_IMAGE_OPTION_BMP_FORMAT_set(PyObject
*) {
13861 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_BMP_FORMAT is read-only.");
13866 static PyObject
*_wrap_IMAGE_OPTION_BMP_FORMAT_get(void) {
13871 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_BMP_FORMAT
)->c_str(), (&wxPyIMAGE_OPTION_BMP_FORMAT
)->Len());
13873 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_BMP_FORMAT
)->c_str(), (&wxPyIMAGE_OPTION_BMP_FORMAT
)->Len());
13880 static int _wrap_IMAGE_OPTION_CUR_HOTSPOT_X_set(PyObject
*) {
13881 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_CUR_HOTSPOT_X is read-only.");
13886 static PyObject
*_wrap_IMAGE_OPTION_CUR_HOTSPOT_X_get(void) {
13891 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_CUR_HOTSPOT_X
)->c_str(), (&wxPyIMAGE_OPTION_CUR_HOTSPOT_X
)->Len());
13893 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_CUR_HOTSPOT_X
)->c_str(), (&wxPyIMAGE_OPTION_CUR_HOTSPOT_X
)->Len());
13900 static int _wrap_IMAGE_OPTION_CUR_HOTSPOT_Y_set(PyObject
*) {
13901 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_CUR_HOTSPOT_Y is read-only.");
13906 static PyObject
*_wrap_IMAGE_OPTION_CUR_HOTSPOT_Y_get(void) {
13911 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_CUR_HOTSPOT_Y
)->c_str(), (&wxPyIMAGE_OPTION_CUR_HOTSPOT_Y
)->Len());
13913 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_CUR_HOTSPOT_Y
)->c_str(), (&wxPyIMAGE_OPTION_CUR_HOTSPOT_Y
)->Len());
13920 static int _wrap_IMAGE_OPTION_RESOLUTION_set(PyObject
*) {
13921 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_RESOLUTION is read-only.");
13926 static PyObject
*_wrap_IMAGE_OPTION_RESOLUTION_get(void) {
13931 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_RESOLUTION
)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTION
)->Len());
13933 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_RESOLUTION
)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTION
)->Len());
13940 static int _wrap_IMAGE_OPTION_RESOLUTIONX_set(PyObject
*) {
13941 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_RESOLUTIONX is read-only.");
13946 static PyObject
*_wrap_IMAGE_OPTION_RESOLUTIONX_get(void) {
13951 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_RESOLUTIONX
)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTIONX
)->Len());
13953 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_RESOLUTIONX
)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTIONX
)->Len());
13960 static int _wrap_IMAGE_OPTION_RESOLUTIONY_set(PyObject
*) {
13961 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_RESOLUTIONY is read-only.");
13966 static PyObject
*_wrap_IMAGE_OPTION_RESOLUTIONY_get(void) {
13971 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_RESOLUTIONY
)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTIONY
)->Len());
13973 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_RESOLUTIONY
)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTIONY
)->Len());
13980 static int _wrap_IMAGE_OPTION_RESOLUTIONUNIT_set(PyObject
*) {
13981 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_RESOLUTIONUNIT is read-only.");
13986 static PyObject
*_wrap_IMAGE_OPTION_RESOLUTIONUNIT_get(void) {
13991 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_RESOLUTIONUNIT
)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTIONUNIT
)->Len());
13993 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_RESOLUTIONUNIT
)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTIONUNIT
)->Len());
14000 static int _wrap_IMAGE_OPTION_QUALITY_set(PyObject
*) {
14001 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_QUALITY is read-only.");
14006 static PyObject
*_wrap_IMAGE_OPTION_QUALITY_get(void) {
14011 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_QUALITY
)->c_str(), (&wxPyIMAGE_OPTION_QUALITY
)->Len());
14013 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_QUALITY
)->c_str(), (&wxPyIMAGE_OPTION_QUALITY
)->Len());
14020 static int _wrap_IMAGE_OPTION_BITSPERSAMPLE_set(PyObject
*) {
14021 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_BITSPERSAMPLE is read-only.");
14026 static PyObject
*_wrap_IMAGE_OPTION_BITSPERSAMPLE_get(void) {
14031 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_BITSPERSAMPLE
)->c_str(), (&wxPyIMAGE_OPTION_BITSPERSAMPLE
)->Len());
14033 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_BITSPERSAMPLE
)->c_str(), (&wxPyIMAGE_OPTION_BITSPERSAMPLE
)->Len());
14040 static int _wrap_IMAGE_OPTION_SAMPLESPERPIXEL_set(PyObject
*) {
14041 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_SAMPLESPERPIXEL is read-only.");
14046 static PyObject
*_wrap_IMAGE_OPTION_SAMPLESPERPIXEL_get(void) {
14051 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_SAMPLESPERPIXEL
)->c_str(), (&wxPyIMAGE_OPTION_SAMPLESPERPIXEL
)->Len());
14053 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_SAMPLESPERPIXEL
)->c_str(), (&wxPyIMAGE_OPTION_SAMPLESPERPIXEL
)->Len());
14060 static int _wrap_IMAGE_OPTION_COMPRESSION_set(PyObject
*) {
14061 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_COMPRESSION is read-only.");
14066 static PyObject
*_wrap_IMAGE_OPTION_COMPRESSION_get(void) {
14071 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_COMPRESSION
)->c_str(), (&wxPyIMAGE_OPTION_COMPRESSION
)->Len());
14073 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_COMPRESSION
)->c_str(), (&wxPyIMAGE_OPTION_COMPRESSION
)->Len());
14080 static int _wrap_IMAGE_OPTION_IMAGEDESCRIPTOR_set(PyObject
*) {
14081 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_IMAGEDESCRIPTOR is read-only.");
14086 static PyObject
*_wrap_IMAGE_OPTION_IMAGEDESCRIPTOR_get(void) {
14091 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_IMAGEDESCRIPTOR
)->c_str(), (&wxPyIMAGE_OPTION_IMAGEDESCRIPTOR
)->Len());
14093 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_IMAGEDESCRIPTOR
)->c_str(), (&wxPyIMAGE_OPTION_IMAGEDESCRIPTOR
)->Len());
14100 static int _wrap_IMAGE_OPTION_PNG_FORMAT_set(PyObject
*) {
14101 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_PNG_FORMAT is read-only.");
14106 static PyObject
*_wrap_IMAGE_OPTION_PNG_FORMAT_get(void) {
14111 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_PNG_FORMAT
)->c_str(), (&wxPyIMAGE_OPTION_PNG_FORMAT
)->Len());
14113 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_PNG_FORMAT
)->c_str(), (&wxPyIMAGE_OPTION_PNG_FORMAT
)->Len());
14120 static int _wrap_IMAGE_OPTION_PNG_BITDEPTH_set(PyObject
*) {
14121 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_PNG_BITDEPTH is read-only.");
14126 static PyObject
*_wrap_IMAGE_OPTION_PNG_BITDEPTH_get(void) {
14131 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_PNG_BITDEPTH
)->c_str(), (&wxPyIMAGE_OPTION_PNG_BITDEPTH
)->Len());
14133 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_PNG_BITDEPTH
)->c_str(), (&wxPyIMAGE_OPTION_PNG_BITDEPTH
)->Len());
14140 static PyObject
*_wrap_new_BMPHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14141 PyObject
*resultobj
;
14142 wxBMPHandler
*result
;
14143 char *kwnames
[] = {
14147 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_BMPHandler",kwnames
)) goto fail
;
14149 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14150 result
= (wxBMPHandler
*)new wxBMPHandler();
14152 wxPyEndAllowThreads(__tstate
);
14153 if (PyErr_Occurred()) SWIG_fail
;
14155 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBMPHandler
, 1);
14162 static PyObject
* BMPHandler_swigregister(PyObject
*, PyObject
*args
) {
14164 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14165 SWIG_TypeClientData(SWIGTYPE_p_wxBMPHandler
, obj
);
14167 return Py_BuildValue((char *)"");
14169 static PyObject
*_wrap_new_ICOHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14170 PyObject
*resultobj
;
14171 wxICOHandler
*result
;
14172 char *kwnames
[] = {
14176 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ICOHandler",kwnames
)) goto fail
;
14178 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14179 result
= (wxICOHandler
*)new wxICOHandler();
14181 wxPyEndAllowThreads(__tstate
);
14182 if (PyErr_Occurred()) SWIG_fail
;
14184 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxICOHandler
, 1);
14191 static PyObject
* ICOHandler_swigregister(PyObject
*, PyObject
*args
) {
14193 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14194 SWIG_TypeClientData(SWIGTYPE_p_wxICOHandler
, obj
);
14196 return Py_BuildValue((char *)"");
14198 static PyObject
*_wrap_new_CURHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14199 PyObject
*resultobj
;
14200 wxCURHandler
*result
;
14201 char *kwnames
[] = {
14205 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_CURHandler",kwnames
)) goto fail
;
14207 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14208 result
= (wxCURHandler
*)new wxCURHandler();
14210 wxPyEndAllowThreads(__tstate
);
14211 if (PyErr_Occurred()) SWIG_fail
;
14213 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCURHandler
, 1);
14220 static PyObject
* CURHandler_swigregister(PyObject
*, PyObject
*args
) {
14222 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14223 SWIG_TypeClientData(SWIGTYPE_p_wxCURHandler
, obj
);
14225 return Py_BuildValue((char *)"");
14227 static PyObject
*_wrap_new_ANIHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14228 PyObject
*resultobj
;
14229 wxANIHandler
*result
;
14230 char *kwnames
[] = {
14234 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ANIHandler",kwnames
)) goto fail
;
14236 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14237 result
= (wxANIHandler
*)new wxANIHandler();
14239 wxPyEndAllowThreads(__tstate
);
14240 if (PyErr_Occurred()) SWIG_fail
;
14242 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxANIHandler
, 1);
14249 static PyObject
* ANIHandler_swigregister(PyObject
*, PyObject
*args
) {
14251 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14252 SWIG_TypeClientData(SWIGTYPE_p_wxANIHandler
, obj
);
14254 return Py_BuildValue((char *)"");
14256 static PyObject
*_wrap_new_PNGHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14257 PyObject
*resultobj
;
14258 wxPNGHandler
*result
;
14259 char *kwnames
[] = {
14263 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PNGHandler",kwnames
)) goto fail
;
14265 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14266 result
= (wxPNGHandler
*)new wxPNGHandler();
14268 wxPyEndAllowThreads(__tstate
);
14269 if (PyErr_Occurred()) SWIG_fail
;
14271 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPNGHandler
, 1);
14278 static PyObject
* PNGHandler_swigregister(PyObject
*, PyObject
*args
) {
14280 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14281 SWIG_TypeClientData(SWIGTYPE_p_wxPNGHandler
, obj
);
14283 return Py_BuildValue((char *)"");
14285 static PyObject
*_wrap_new_GIFHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14286 PyObject
*resultobj
;
14287 wxGIFHandler
*result
;
14288 char *kwnames
[] = {
14292 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_GIFHandler",kwnames
)) goto fail
;
14294 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14295 result
= (wxGIFHandler
*)new wxGIFHandler();
14297 wxPyEndAllowThreads(__tstate
);
14298 if (PyErr_Occurred()) SWIG_fail
;
14300 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGIFHandler
, 1);
14307 static PyObject
* GIFHandler_swigregister(PyObject
*, PyObject
*args
) {
14309 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14310 SWIG_TypeClientData(SWIGTYPE_p_wxGIFHandler
, obj
);
14312 return Py_BuildValue((char *)"");
14314 static PyObject
*_wrap_new_PCXHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14315 PyObject
*resultobj
;
14316 wxPCXHandler
*result
;
14317 char *kwnames
[] = {
14321 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PCXHandler",kwnames
)) goto fail
;
14323 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14324 result
= (wxPCXHandler
*)new wxPCXHandler();
14326 wxPyEndAllowThreads(__tstate
);
14327 if (PyErr_Occurred()) SWIG_fail
;
14329 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPCXHandler
, 1);
14336 static PyObject
* PCXHandler_swigregister(PyObject
*, PyObject
*args
) {
14338 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14339 SWIG_TypeClientData(SWIGTYPE_p_wxPCXHandler
, obj
);
14341 return Py_BuildValue((char *)"");
14343 static PyObject
*_wrap_new_JPEGHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14344 PyObject
*resultobj
;
14345 wxJPEGHandler
*result
;
14346 char *kwnames
[] = {
14350 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_JPEGHandler",kwnames
)) goto fail
;
14352 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14353 result
= (wxJPEGHandler
*)new wxJPEGHandler();
14355 wxPyEndAllowThreads(__tstate
);
14356 if (PyErr_Occurred()) SWIG_fail
;
14358 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxJPEGHandler
, 1);
14365 static PyObject
* JPEGHandler_swigregister(PyObject
*, PyObject
*args
) {
14367 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14368 SWIG_TypeClientData(SWIGTYPE_p_wxJPEGHandler
, obj
);
14370 return Py_BuildValue((char *)"");
14372 static PyObject
*_wrap_new_PNMHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14373 PyObject
*resultobj
;
14374 wxPNMHandler
*result
;
14375 char *kwnames
[] = {
14379 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PNMHandler",kwnames
)) goto fail
;
14381 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14382 result
= (wxPNMHandler
*)new wxPNMHandler();
14384 wxPyEndAllowThreads(__tstate
);
14385 if (PyErr_Occurred()) SWIG_fail
;
14387 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPNMHandler
, 1);
14394 static PyObject
* PNMHandler_swigregister(PyObject
*, PyObject
*args
) {
14396 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14397 SWIG_TypeClientData(SWIGTYPE_p_wxPNMHandler
, obj
);
14399 return Py_BuildValue((char *)"");
14401 static PyObject
*_wrap_new_XPMHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14402 PyObject
*resultobj
;
14403 wxXPMHandler
*result
;
14404 char *kwnames
[] = {
14408 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_XPMHandler",kwnames
)) goto fail
;
14410 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14411 result
= (wxXPMHandler
*)new wxXPMHandler();
14413 wxPyEndAllowThreads(__tstate
);
14414 if (PyErr_Occurred()) SWIG_fail
;
14416 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxXPMHandler
, 1);
14423 static PyObject
* XPMHandler_swigregister(PyObject
*, PyObject
*args
) {
14425 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14426 SWIG_TypeClientData(SWIGTYPE_p_wxXPMHandler
, obj
);
14428 return Py_BuildValue((char *)"");
14430 static PyObject
*_wrap_new_TIFFHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14431 PyObject
*resultobj
;
14432 wxTIFFHandler
*result
;
14433 char *kwnames
[] = {
14437 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_TIFFHandler",kwnames
)) goto fail
;
14439 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14440 result
= (wxTIFFHandler
*)new wxTIFFHandler();
14442 wxPyEndAllowThreads(__tstate
);
14443 if (PyErr_Occurred()) SWIG_fail
;
14445 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTIFFHandler
, 1);
14452 static PyObject
* TIFFHandler_swigregister(PyObject
*, PyObject
*args
) {
14454 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14455 SWIG_TypeClientData(SWIGTYPE_p_wxTIFFHandler
, obj
);
14457 return Py_BuildValue((char *)"");
14459 static PyObject
*_wrap_Quantize_Quantize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14460 PyObject
*resultobj
;
14461 wxImage
*arg1
= 0 ;
14462 wxImage
*arg2
= 0 ;
14463 int arg3
= (int) 236 ;
14464 int arg4
= (int) wxQUANTIZE_INCLUDE_WINDOWS_COLOURS
|wxQUANTIZE_FILL_DESTINATION_IMAGE
;
14466 PyObject
* obj0
= 0 ;
14467 PyObject
* obj1
= 0 ;
14468 PyObject
* obj2
= 0 ;
14469 PyObject
* obj3
= 0 ;
14470 char *kwnames
[] = {
14471 (char *) "src",(char *) "dest",(char *) "desiredNoColours",(char *) "flags", NULL
14474 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:Quantize_Quantize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
14476 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
14477 if (SWIG_arg_fail(1)) SWIG_fail
;
14478 if (arg1
== NULL
) {
14479 SWIG_null_ref("wxImage");
14481 if (SWIG_arg_fail(1)) SWIG_fail
;
14484 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
14485 if (SWIG_arg_fail(2)) SWIG_fail
;
14486 if (arg2
== NULL
) {
14487 SWIG_null_ref("wxImage");
14489 if (SWIG_arg_fail(2)) SWIG_fail
;
14493 arg3
= (int)(SWIG_As_int(obj2
));
14494 if (SWIG_arg_fail(3)) SWIG_fail
;
14499 arg4
= (int)(SWIG_As_int(obj3
));
14500 if (SWIG_arg_fail(4)) SWIG_fail
;
14504 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14505 result
= (bool)Quantize_Quantize((wxImage
const &)*arg1
,*arg2
,arg3
,arg4
);
14507 wxPyEndAllowThreads(__tstate
);
14508 if (PyErr_Occurred()) SWIG_fail
;
14511 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14519 static PyObject
* Quantize_swigregister(PyObject
*, PyObject
*args
) {
14521 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14522 SWIG_TypeClientData(SWIGTYPE_p_wxQuantize
, obj
);
14524 return Py_BuildValue((char *)"");
14526 static PyObject
*_wrap_new_EvtHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14527 PyObject
*resultobj
;
14528 wxEvtHandler
*result
;
14529 char *kwnames
[] = {
14533 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_EvtHandler",kwnames
)) goto fail
;
14535 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14536 result
= (wxEvtHandler
*)new wxEvtHandler();
14538 wxPyEndAllowThreads(__tstate
);
14539 if (PyErr_Occurred()) SWIG_fail
;
14541 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxEvtHandler
, 1);
14548 static PyObject
*_wrap_EvtHandler_GetNextHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14549 PyObject
*resultobj
;
14550 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
14551 wxEvtHandler
*result
;
14552 PyObject
* obj0
= 0 ;
14553 char *kwnames
[] = {
14554 (char *) "self", NULL
14557 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EvtHandler_GetNextHandler",kwnames
,&obj0
)) goto fail
;
14558 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
14559 if (SWIG_arg_fail(1)) SWIG_fail
;
14561 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14562 result
= (wxEvtHandler
*)(arg1
)->GetNextHandler();
14564 wxPyEndAllowThreads(__tstate
);
14565 if (PyErr_Occurred()) SWIG_fail
;
14568 resultobj
= wxPyMake_wxObject(result
, 0);
14576 static PyObject
*_wrap_EvtHandler_GetPreviousHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14577 PyObject
*resultobj
;
14578 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
14579 wxEvtHandler
*result
;
14580 PyObject
* obj0
= 0 ;
14581 char *kwnames
[] = {
14582 (char *) "self", NULL
14585 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EvtHandler_GetPreviousHandler",kwnames
,&obj0
)) goto fail
;
14586 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
14587 if (SWIG_arg_fail(1)) SWIG_fail
;
14589 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14590 result
= (wxEvtHandler
*)(arg1
)->GetPreviousHandler();
14592 wxPyEndAllowThreads(__tstate
);
14593 if (PyErr_Occurred()) SWIG_fail
;
14596 resultobj
= wxPyMake_wxObject(result
, 0);
14604 static PyObject
*_wrap_EvtHandler_SetNextHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14605 PyObject
*resultobj
;
14606 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
14607 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
14608 PyObject
* obj0
= 0 ;
14609 PyObject
* obj1
= 0 ;
14610 char *kwnames
[] = {
14611 (char *) "self",(char *) "handler", NULL
14614 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EvtHandler_SetNextHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
14615 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
14616 if (SWIG_arg_fail(1)) SWIG_fail
;
14617 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
14618 if (SWIG_arg_fail(2)) SWIG_fail
;
14620 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14621 (arg1
)->SetNextHandler(arg2
);
14623 wxPyEndAllowThreads(__tstate
);
14624 if (PyErr_Occurred()) SWIG_fail
;
14626 Py_INCREF(Py_None
); resultobj
= Py_None
;
14633 static PyObject
*_wrap_EvtHandler_SetPreviousHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14634 PyObject
*resultobj
;
14635 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
14636 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
14637 PyObject
* obj0
= 0 ;
14638 PyObject
* obj1
= 0 ;
14639 char *kwnames
[] = {
14640 (char *) "self",(char *) "handler", NULL
14643 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EvtHandler_SetPreviousHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
14644 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
14645 if (SWIG_arg_fail(1)) SWIG_fail
;
14646 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
14647 if (SWIG_arg_fail(2)) SWIG_fail
;
14649 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14650 (arg1
)->SetPreviousHandler(arg2
);
14652 wxPyEndAllowThreads(__tstate
);
14653 if (PyErr_Occurred()) SWIG_fail
;
14655 Py_INCREF(Py_None
); resultobj
= Py_None
;
14662 static PyObject
*_wrap_EvtHandler_GetEvtHandlerEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14663 PyObject
*resultobj
;
14664 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
14666 PyObject
* obj0
= 0 ;
14667 char *kwnames
[] = {
14668 (char *) "self", NULL
14671 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EvtHandler_GetEvtHandlerEnabled",kwnames
,&obj0
)) goto fail
;
14672 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
14673 if (SWIG_arg_fail(1)) SWIG_fail
;
14675 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14676 result
= (bool)(arg1
)->GetEvtHandlerEnabled();
14678 wxPyEndAllowThreads(__tstate
);
14679 if (PyErr_Occurred()) SWIG_fail
;
14682 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14690 static PyObject
*_wrap_EvtHandler_SetEvtHandlerEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14691 PyObject
*resultobj
;
14692 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
14694 PyObject
* obj0
= 0 ;
14695 PyObject
* obj1
= 0 ;
14696 char *kwnames
[] = {
14697 (char *) "self",(char *) "enabled", NULL
14700 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EvtHandler_SetEvtHandlerEnabled",kwnames
,&obj0
,&obj1
)) goto fail
;
14701 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
14702 if (SWIG_arg_fail(1)) SWIG_fail
;
14704 arg2
= (bool)(SWIG_As_bool(obj1
));
14705 if (SWIG_arg_fail(2)) SWIG_fail
;
14708 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14709 (arg1
)->SetEvtHandlerEnabled(arg2
);
14711 wxPyEndAllowThreads(__tstate
);
14712 if (PyErr_Occurred()) SWIG_fail
;
14714 Py_INCREF(Py_None
); resultobj
= Py_None
;
14721 static PyObject
*_wrap_EvtHandler_ProcessEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14722 PyObject
*resultobj
;
14723 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
14724 wxEvent
*arg2
= 0 ;
14726 PyObject
* obj0
= 0 ;
14727 PyObject
* obj1
= 0 ;
14728 char *kwnames
[] = {
14729 (char *) "self",(char *) "event", NULL
14732 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EvtHandler_ProcessEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
14733 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
14734 if (SWIG_arg_fail(1)) SWIG_fail
;
14736 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
14737 if (SWIG_arg_fail(2)) SWIG_fail
;
14738 if (arg2
== NULL
) {
14739 SWIG_null_ref("wxEvent");
14741 if (SWIG_arg_fail(2)) SWIG_fail
;
14744 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14745 result
= (bool)(arg1
)->ProcessEvent(*arg2
);
14747 wxPyEndAllowThreads(__tstate
);
14748 if (PyErr_Occurred()) SWIG_fail
;
14751 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14759 static PyObject
*_wrap_EvtHandler_AddPendingEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14760 PyObject
*resultobj
;
14761 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
14762 wxEvent
*arg2
= 0 ;
14763 PyObject
* obj0
= 0 ;
14764 PyObject
* obj1
= 0 ;
14765 char *kwnames
[] = {
14766 (char *) "self",(char *) "event", NULL
14769 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EvtHandler_AddPendingEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
14770 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
14771 if (SWIG_arg_fail(1)) SWIG_fail
;
14773 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
14774 if (SWIG_arg_fail(2)) SWIG_fail
;
14775 if (arg2
== NULL
) {
14776 SWIG_null_ref("wxEvent");
14778 if (SWIG_arg_fail(2)) SWIG_fail
;
14781 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14782 (arg1
)->AddPendingEvent(*arg2
);
14784 wxPyEndAllowThreads(__tstate
);
14785 if (PyErr_Occurred()) SWIG_fail
;
14787 Py_INCREF(Py_None
); resultobj
= Py_None
;
14794 static PyObject
*_wrap_EvtHandler_ProcessPendingEvents(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14795 PyObject
*resultobj
;
14796 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
14797 PyObject
* obj0
= 0 ;
14798 char *kwnames
[] = {
14799 (char *) "self", NULL
14802 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EvtHandler_ProcessPendingEvents",kwnames
,&obj0
)) goto fail
;
14803 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
14804 if (SWIG_arg_fail(1)) SWIG_fail
;
14806 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14807 (arg1
)->ProcessPendingEvents();
14809 wxPyEndAllowThreads(__tstate
);
14810 if (PyErr_Occurred()) SWIG_fail
;
14812 Py_INCREF(Py_None
); resultobj
= Py_None
;
14819 static PyObject
*_wrap_EvtHandler_Connect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14820 PyObject
*resultobj
;
14821 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
14825 PyObject
*arg5
= (PyObject
*) 0 ;
14826 PyObject
* obj0
= 0 ;
14827 PyObject
* obj1
= 0 ;
14828 PyObject
* obj2
= 0 ;
14829 PyObject
* obj3
= 0 ;
14830 PyObject
* obj4
= 0 ;
14831 char *kwnames
[] = {
14832 (char *) "self",(char *) "id",(char *) "lastId",(char *) "eventType",(char *) "func", NULL
14835 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:EvtHandler_Connect",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
14836 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
14837 if (SWIG_arg_fail(1)) SWIG_fail
;
14839 arg2
= (int)(SWIG_As_int(obj1
));
14840 if (SWIG_arg_fail(2)) SWIG_fail
;
14843 arg3
= (int)(SWIG_As_int(obj2
));
14844 if (SWIG_arg_fail(3)) SWIG_fail
;
14847 arg4
= (int)(SWIG_As_int(obj3
));
14848 if (SWIG_arg_fail(4)) SWIG_fail
;
14852 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14853 wxEvtHandler_Connect(arg1
,arg2
,arg3
,arg4
,arg5
);
14855 wxPyEndAllowThreads(__tstate
);
14856 if (PyErr_Occurred()) SWIG_fail
;
14858 Py_INCREF(Py_None
); resultobj
= Py_None
;
14865 static PyObject
*_wrap_EvtHandler_Disconnect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14866 PyObject
*resultobj
;
14867 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
14869 int arg3
= (int) -1 ;
14870 wxEventType arg4
= (wxEventType
) wxEVT_NULL
;
14872 PyObject
* obj0
= 0 ;
14873 PyObject
* obj1
= 0 ;
14874 PyObject
* obj2
= 0 ;
14875 PyObject
* obj3
= 0 ;
14876 char *kwnames
[] = {
14877 (char *) "self",(char *) "id",(char *) "lastId",(char *) "eventType", NULL
14880 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:EvtHandler_Disconnect",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
14881 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
14882 if (SWIG_arg_fail(1)) SWIG_fail
;
14884 arg2
= (int)(SWIG_As_int(obj1
));
14885 if (SWIG_arg_fail(2)) SWIG_fail
;
14889 arg3
= (int)(SWIG_As_int(obj2
));
14890 if (SWIG_arg_fail(3)) SWIG_fail
;
14895 arg4
= (wxEventType
)(SWIG_As_int(obj3
));
14896 if (SWIG_arg_fail(4)) SWIG_fail
;
14900 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14901 result
= (bool)wxEvtHandler_Disconnect(arg1
,arg2
,arg3
,arg4
);
14903 wxPyEndAllowThreads(__tstate
);
14904 if (PyErr_Occurred()) SWIG_fail
;
14907 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14915 static PyObject
*_wrap_EvtHandler__setOORInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14916 PyObject
*resultobj
;
14917 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
14918 PyObject
*arg2
= (PyObject
*) 0 ;
14919 bool arg3
= (bool) true ;
14920 PyObject
* obj0
= 0 ;
14921 PyObject
* obj1
= 0 ;
14922 PyObject
* obj2
= 0 ;
14923 char *kwnames
[] = {
14924 (char *) "self",(char *) "_self",(char *) "incref", NULL
14927 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:EvtHandler__setOORInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14928 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
14929 if (SWIG_arg_fail(1)) SWIG_fail
;
14933 arg3
= (bool)(SWIG_As_bool(obj2
));
14934 if (SWIG_arg_fail(3)) SWIG_fail
;
14938 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14939 wxEvtHandler__setOORInfo(arg1
,arg2
,arg3
);
14941 wxPyEndAllowThreads(__tstate
);
14942 if (PyErr_Occurred()) SWIG_fail
;
14944 Py_INCREF(Py_None
); resultobj
= Py_None
;
14951 static PyObject
* EvtHandler_swigregister(PyObject
*, PyObject
*args
) {
14953 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14954 SWIG_TypeClientData(SWIGTYPE_p_wxEvtHandler
, obj
);
14956 return Py_BuildValue((char *)"");
14958 static PyObject
*_wrap_NewEventType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14959 PyObject
*resultobj
;
14960 wxEventType result
;
14961 char *kwnames
[] = {
14965 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":NewEventType",kwnames
)) goto fail
;
14967 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14968 result
= (wxEventType
)wxNewEventType();
14970 wxPyEndAllowThreads(__tstate
);
14971 if (PyErr_Occurred()) SWIG_fail
;
14974 resultobj
= SWIG_From_int((int)(result
));
14982 static PyObject
*_wrap_delete_Event(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14983 PyObject
*resultobj
;
14984 wxEvent
*arg1
= (wxEvent
*) 0 ;
14985 PyObject
* obj0
= 0 ;
14986 char *kwnames
[] = {
14987 (char *) "self", NULL
14990 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Event",kwnames
,&obj0
)) goto fail
;
14991 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
14992 if (SWIG_arg_fail(1)) SWIG_fail
;
14994 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14997 wxPyEndAllowThreads(__tstate
);
14998 if (PyErr_Occurred()) SWIG_fail
;
15000 Py_INCREF(Py_None
); resultobj
= Py_None
;
15007 static PyObject
*_wrap_Event_SetEventType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15008 PyObject
*resultobj
;
15009 wxEvent
*arg1
= (wxEvent
*) 0 ;
15011 PyObject
* obj0
= 0 ;
15012 PyObject
* obj1
= 0 ;
15013 char *kwnames
[] = {
15014 (char *) "self",(char *) "typ", NULL
15017 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Event_SetEventType",kwnames
,&obj0
,&obj1
)) goto fail
;
15018 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
15019 if (SWIG_arg_fail(1)) SWIG_fail
;
15021 arg2
= (wxEventType
)(SWIG_As_int(obj1
));
15022 if (SWIG_arg_fail(2)) SWIG_fail
;
15025 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15026 (arg1
)->SetEventType(arg2
);
15028 wxPyEndAllowThreads(__tstate
);
15029 if (PyErr_Occurred()) SWIG_fail
;
15031 Py_INCREF(Py_None
); resultobj
= Py_None
;
15038 static PyObject
*_wrap_Event_GetEventType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15039 PyObject
*resultobj
;
15040 wxEvent
*arg1
= (wxEvent
*) 0 ;
15041 wxEventType result
;
15042 PyObject
* obj0
= 0 ;
15043 char *kwnames
[] = {
15044 (char *) "self", NULL
15047 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_GetEventType",kwnames
,&obj0
)) goto fail
;
15048 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
15049 if (SWIG_arg_fail(1)) SWIG_fail
;
15051 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15052 result
= (wxEventType
)((wxEvent
const *)arg1
)->GetEventType();
15054 wxPyEndAllowThreads(__tstate
);
15055 if (PyErr_Occurred()) SWIG_fail
;
15058 resultobj
= SWIG_From_int((int)(result
));
15066 static PyObject
*_wrap_Event_GetEventObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15067 PyObject
*resultobj
;
15068 wxEvent
*arg1
= (wxEvent
*) 0 ;
15070 PyObject
* obj0
= 0 ;
15071 char *kwnames
[] = {
15072 (char *) "self", NULL
15075 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_GetEventObject",kwnames
,&obj0
)) goto fail
;
15076 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
15077 if (SWIG_arg_fail(1)) SWIG_fail
;
15079 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15080 result
= (wxObject
*)((wxEvent
const *)arg1
)->GetEventObject();
15082 wxPyEndAllowThreads(__tstate
);
15083 if (PyErr_Occurred()) SWIG_fail
;
15086 resultobj
= wxPyMake_wxObject(result
, 0);
15094 static PyObject
*_wrap_Event_SetEventObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15095 PyObject
*resultobj
;
15096 wxEvent
*arg1
= (wxEvent
*) 0 ;
15097 wxObject
*arg2
= (wxObject
*) 0 ;
15098 PyObject
* obj0
= 0 ;
15099 PyObject
* obj1
= 0 ;
15100 char *kwnames
[] = {
15101 (char *) "self",(char *) "obj", NULL
15104 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Event_SetEventObject",kwnames
,&obj0
,&obj1
)) goto fail
;
15105 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
15106 if (SWIG_arg_fail(1)) SWIG_fail
;
15107 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxObject
, SWIG_POINTER_EXCEPTION
| 0);
15108 if (SWIG_arg_fail(2)) SWIG_fail
;
15110 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15111 (arg1
)->SetEventObject(arg2
);
15113 wxPyEndAllowThreads(__tstate
);
15114 if (PyErr_Occurred()) SWIG_fail
;
15116 Py_INCREF(Py_None
); resultobj
= Py_None
;
15123 static PyObject
*_wrap_Event_GetTimestamp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15124 PyObject
*resultobj
;
15125 wxEvent
*arg1
= (wxEvent
*) 0 ;
15127 PyObject
* obj0
= 0 ;
15128 char *kwnames
[] = {
15129 (char *) "self", NULL
15132 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_GetTimestamp",kwnames
,&obj0
)) goto fail
;
15133 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
15134 if (SWIG_arg_fail(1)) SWIG_fail
;
15136 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15137 result
= (long)((wxEvent
const *)arg1
)->GetTimestamp();
15139 wxPyEndAllowThreads(__tstate
);
15140 if (PyErr_Occurred()) SWIG_fail
;
15143 resultobj
= SWIG_From_long((long)(result
));
15151 static PyObject
*_wrap_Event_SetTimestamp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15152 PyObject
*resultobj
;
15153 wxEvent
*arg1
= (wxEvent
*) 0 ;
15154 long arg2
= (long) 0 ;
15155 PyObject
* obj0
= 0 ;
15156 PyObject
* obj1
= 0 ;
15157 char *kwnames
[] = {
15158 (char *) "self",(char *) "ts", NULL
15161 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Event_SetTimestamp",kwnames
,&obj0
,&obj1
)) goto fail
;
15162 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
15163 if (SWIG_arg_fail(1)) SWIG_fail
;
15166 arg2
= (long)(SWIG_As_long(obj1
));
15167 if (SWIG_arg_fail(2)) SWIG_fail
;
15171 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15172 (arg1
)->SetTimestamp(arg2
);
15174 wxPyEndAllowThreads(__tstate
);
15175 if (PyErr_Occurred()) SWIG_fail
;
15177 Py_INCREF(Py_None
); resultobj
= Py_None
;
15184 static PyObject
*_wrap_Event_GetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15185 PyObject
*resultobj
;
15186 wxEvent
*arg1
= (wxEvent
*) 0 ;
15188 PyObject
* obj0
= 0 ;
15189 char *kwnames
[] = {
15190 (char *) "self", NULL
15193 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_GetId",kwnames
,&obj0
)) goto fail
;
15194 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
15195 if (SWIG_arg_fail(1)) SWIG_fail
;
15197 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15198 result
= (int)((wxEvent
const *)arg1
)->GetId();
15200 wxPyEndAllowThreads(__tstate
);
15201 if (PyErr_Occurred()) SWIG_fail
;
15204 resultobj
= SWIG_From_int((int)(result
));
15212 static PyObject
*_wrap_Event_SetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15213 PyObject
*resultobj
;
15214 wxEvent
*arg1
= (wxEvent
*) 0 ;
15216 PyObject
* obj0
= 0 ;
15217 PyObject
* obj1
= 0 ;
15218 char *kwnames
[] = {
15219 (char *) "self",(char *) "Id", NULL
15222 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Event_SetId",kwnames
,&obj0
,&obj1
)) goto fail
;
15223 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
15224 if (SWIG_arg_fail(1)) SWIG_fail
;
15226 arg2
= (int)(SWIG_As_int(obj1
));
15227 if (SWIG_arg_fail(2)) SWIG_fail
;
15230 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15231 (arg1
)->SetId(arg2
);
15233 wxPyEndAllowThreads(__tstate
);
15234 if (PyErr_Occurred()) SWIG_fail
;
15236 Py_INCREF(Py_None
); resultobj
= Py_None
;
15243 static PyObject
*_wrap_Event_IsCommandEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15244 PyObject
*resultobj
;
15245 wxEvent
*arg1
= (wxEvent
*) 0 ;
15247 PyObject
* obj0
= 0 ;
15248 char *kwnames
[] = {
15249 (char *) "self", NULL
15252 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_IsCommandEvent",kwnames
,&obj0
)) goto fail
;
15253 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
15254 if (SWIG_arg_fail(1)) SWIG_fail
;
15256 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15257 result
= (bool)((wxEvent
const *)arg1
)->IsCommandEvent();
15259 wxPyEndAllowThreads(__tstate
);
15260 if (PyErr_Occurred()) SWIG_fail
;
15263 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15271 static PyObject
*_wrap_Event_Skip(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15272 PyObject
*resultobj
;
15273 wxEvent
*arg1
= (wxEvent
*) 0 ;
15274 bool arg2
= (bool) true ;
15275 PyObject
* obj0
= 0 ;
15276 PyObject
* obj1
= 0 ;
15277 char *kwnames
[] = {
15278 (char *) "self",(char *) "skip", NULL
15281 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Event_Skip",kwnames
,&obj0
,&obj1
)) goto fail
;
15282 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
15283 if (SWIG_arg_fail(1)) SWIG_fail
;
15286 arg2
= (bool)(SWIG_As_bool(obj1
));
15287 if (SWIG_arg_fail(2)) SWIG_fail
;
15291 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15292 (arg1
)->Skip(arg2
);
15294 wxPyEndAllowThreads(__tstate
);
15295 if (PyErr_Occurred()) SWIG_fail
;
15297 Py_INCREF(Py_None
); resultobj
= Py_None
;
15304 static PyObject
*_wrap_Event_GetSkipped(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15305 PyObject
*resultobj
;
15306 wxEvent
*arg1
= (wxEvent
*) 0 ;
15308 PyObject
* obj0
= 0 ;
15309 char *kwnames
[] = {
15310 (char *) "self", NULL
15313 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_GetSkipped",kwnames
,&obj0
)) goto fail
;
15314 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
15315 if (SWIG_arg_fail(1)) SWIG_fail
;
15317 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15318 result
= (bool)((wxEvent
const *)arg1
)->GetSkipped();
15320 wxPyEndAllowThreads(__tstate
);
15321 if (PyErr_Occurred()) SWIG_fail
;
15324 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15332 static PyObject
*_wrap_Event_ShouldPropagate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15333 PyObject
*resultobj
;
15334 wxEvent
*arg1
= (wxEvent
*) 0 ;
15336 PyObject
* obj0
= 0 ;
15337 char *kwnames
[] = {
15338 (char *) "self", NULL
15341 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_ShouldPropagate",kwnames
,&obj0
)) goto fail
;
15342 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
15343 if (SWIG_arg_fail(1)) SWIG_fail
;
15345 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15346 result
= (bool)((wxEvent
const *)arg1
)->ShouldPropagate();
15348 wxPyEndAllowThreads(__tstate
);
15349 if (PyErr_Occurred()) SWIG_fail
;
15352 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15360 static PyObject
*_wrap_Event_StopPropagation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15361 PyObject
*resultobj
;
15362 wxEvent
*arg1
= (wxEvent
*) 0 ;
15364 PyObject
* obj0
= 0 ;
15365 char *kwnames
[] = {
15366 (char *) "self", NULL
15369 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_StopPropagation",kwnames
,&obj0
)) goto fail
;
15370 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
15371 if (SWIG_arg_fail(1)) SWIG_fail
;
15373 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15374 result
= (int)(arg1
)->StopPropagation();
15376 wxPyEndAllowThreads(__tstate
);
15377 if (PyErr_Occurred()) SWIG_fail
;
15380 resultobj
= SWIG_From_int((int)(result
));
15388 static PyObject
*_wrap_Event_ResumePropagation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15389 PyObject
*resultobj
;
15390 wxEvent
*arg1
= (wxEvent
*) 0 ;
15392 PyObject
* obj0
= 0 ;
15393 PyObject
* obj1
= 0 ;
15394 char *kwnames
[] = {
15395 (char *) "self",(char *) "propagationLevel", NULL
15398 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Event_ResumePropagation",kwnames
,&obj0
,&obj1
)) goto fail
;
15399 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
15400 if (SWIG_arg_fail(1)) SWIG_fail
;
15402 arg2
= (int)(SWIG_As_int(obj1
));
15403 if (SWIG_arg_fail(2)) SWIG_fail
;
15406 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15407 (arg1
)->ResumePropagation(arg2
);
15409 wxPyEndAllowThreads(__tstate
);
15410 if (PyErr_Occurred()) SWIG_fail
;
15412 Py_INCREF(Py_None
); resultobj
= Py_None
;
15419 static PyObject
*_wrap_Event_Clone(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15420 PyObject
*resultobj
;
15421 wxEvent
*arg1
= (wxEvent
*) 0 ;
15423 PyObject
* obj0
= 0 ;
15424 char *kwnames
[] = {
15425 (char *) "self", NULL
15428 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_Clone",kwnames
,&obj0
)) goto fail
;
15429 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
15430 if (SWIG_arg_fail(1)) SWIG_fail
;
15432 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15433 result
= (wxEvent
*)(arg1
)->Clone();
15435 wxPyEndAllowThreads(__tstate
);
15436 if (PyErr_Occurred()) SWIG_fail
;
15438 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxEvent
, 0);
15445 static PyObject
* Event_swigregister(PyObject
*, PyObject
*args
) {
15447 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15448 SWIG_TypeClientData(SWIGTYPE_p_wxEvent
, obj
);
15450 return Py_BuildValue((char *)"");
15452 static PyObject
*_wrap_new_PropagationDisabler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15453 PyObject
*resultobj
;
15454 wxEvent
*arg1
= 0 ;
15455 wxPropagationDisabler
*result
;
15456 PyObject
* obj0
= 0 ;
15457 char *kwnames
[] = {
15458 (char *) "event", NULL
15461 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PropagationDisabler",kwnames
,&obj0
)) goto fail
;
15463 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
15464 if (SWIG_arg_fail(1)) SWIG_fail
;
15465 if (arg1
== NULL
) {
15466 SWIG_null_ref("wxEvent");
15468 if (SWIG_arg_fail(1)) SWIG_fail
;
15471 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15472 result
= (wxPropagationDisabler
*)new wxPropagationDisabler(*arg1
);
15474 wxPyEndAllowThreads(__tstate
);
15475 if (PyErr_Occurred()) SWIG_fail
;
15477 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPropagationDisabler
, 1);
15484 static PyObject
*_wrap_delete_PropagationDisabler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15485 PyObject
*resultobj
;
15486 wxPropagationDisabler
*arg1
= (wxPropagationDisabler
*) 0 ;
15487 PyObject
* obj0
= 0 ;
15488 char *kwnames
[] = {
15489 (char *) "self", NULL
15492 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PropagationDisabler",kwnames
,&obj0
)) goto fail
;
15493 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPropagationDisabler
, SWIG_POINTER_EXCEPTION
| 0);
15494 if (SWIG_arg_fail(1)) SWIG_fail
;
15496 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15499 wxPyEndAllowThreads(__tstate
);
15500 if (PyErr_Occurred()) SWIG_fail
;
15502 Py_INCREF(Py_None
); resultobj
= Py_None
;
15509 static PyObject
* PropagationDisabler_swigregister(PyObject
*, PyObject
*args
) {
15511 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15512 SWIG_TypeClientData(SWIGTYPE_p_wxPropagationDisabler
, obj
);
15514 return Py_BuildValue((char *)"");
15516 static PyObject
*_wrap_new_PropagateOnce(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15517 PyObject
*resultobj
;
15518 wxEvent
*arg1
= 0 ;
15519 wxPropagateOnce
*result
;
15520 PyObject
* obj0
= 0 ;
15521 char *kwnames
[] = {
15522 (char *) "event", NULL
15525 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PropagateOnce",kwnames
,&obj0
)) goto fail
;
15527 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
15528 if (SWIG_arg_fail(1)) SWIG_fail
;
15529 if (arg1
== NULL
) {
15530 SWIG_null_ref("wxEvent");
15532 if (SWIG_arg_fail(1)) SWIG_fail
;
15535 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15536 result
= (wxPropagateOnce
*)new wxPropagateOnce(*arg1
);
15538 wxPyEndAllowThreads(__tstate
);
15539 if (PyErr_Occurred()) SWIG_fail
;
15541 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPropagateOnce
, 1);
15548 static PyObject
*_wrap_delete_PropagateOnce(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15549 PyObject
*resultobj
;
15550 wxPropagateOnce
*arg1
= (wxPropagateOnce
*) 0 ;
15551 PyObject
* obj0
= 0 ;
15552 char *kwnames
[] = {
15553 (char *) "self", NULL
15556 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PropagateOnce",kwnames
,&obj0
)) goto fail
;
15557 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPropagateOnce
, SWIG_POINTER_EXCEPTION
| 0);
15558 if (SWIG_arg_fail(1)) SWIG_fail
;
15560 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15563 wxPyEndAllowThreads(__tstate
);
15564 if (PyErr_Occurred()) SWIG_fail
;
15566 Py_INCREF(Py_None
); resultobj
= Py_None
;
15573 static PyObject
* PropagateOnce_swigregister(PyObject
*, PyObject
*args
) {
15575 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15576 SWIG_TypeClientData(SWIGTYPE_p_wxPropagateOnce
, obj
);
15578 return Py_BuildValue((char *)"");
15580 static PyObject
*_wrap_new_CommandEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15581 PyObject
*resultobj
;
15582 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
15583 int arg2
= (int) 0 ;
15584 wxCommandEvent
*result
;
15585 PyObject
* obj0
= 0 ;
15586 PyObject
* obj1
= 0 ;
15587 char *kwnames
[] = {
15588 (char *) "commandType",(char *) "winid", NULL
15591 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_CommandEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
15594 arg1
= (wxEventType
)(SWIG_As_int(obj0
));
15595 if (SWIG_arg_fail(1)) SWIG_fail
;
15600 arg2
= (int)(SWIG_As_int(obj1
));
15601 if (SWIG_arg_fail(2)) SWIG_fail
;
15605 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15606 result
= (wxCommandEvent
*)new wxCommandEvent(arg1
,arg2
);
15608 wxPyEndAllowThreads(__tstate
);
15609 if (PyErr_Occurred()) SWIG_fail
;
15611 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCommandEvent
, 1);
15618 static PyObject
*_wrap_CommandEvent_GetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15619 PyObject
*resultobj
;
15620 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
15622 PyObject
* obj0
= 0 ;
15623 char *kwnames
[] = {
15624 (char *) "self", NULL
15627 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CommandEvent_GetSelection",kwnames
,&obj0
)) goto fail
;
15628 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCommandEvent
, SWIG_POINTER_EXCEPTION
| 0);
15629 if (SWIG_arg_fail(1)) SWIG_fail
;
15631 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15632 result
= (int)((wxCommandEvent
const *)arg1
)->GetSelection();
15634 wxPyEndAllowThreads(__tstate
);
15635 if (PyErr_Occurred()) SWIG_fail
;
15638 resultobj
= SWIG_From_int((int)(result
));
15646 static PyObject
*_wrap_CommandEvent_SetString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15647 PyObject
*resultobj
;
15648 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
15649 wxString
*arg2
= 0 ;
15650 bool temp2
= false ;
15651 PyObject
* obj0
= 0 ;
15652 PyObject
* obj1
= 0 ;
15653 char *kwnames
[] = {
15654 (char *) "self",(char *) "s", NULL
15657 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CommandEvent_SetString",kwnames
,&obj0
,&obj1
)) goto fail
;
15658 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCommandEvent
, SWIG_POINTER_EXCEPTION
| 0);
15659 if (SWIG_arg_fail(1)) SWIG_fail
;
15661 arg2
= wxString_in_helper(obj1
);
15662 if (arg2
== NULL
) SWIG_fail
;
15666 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15667 (arg1
)->SetString((wxString
const &)*arg2
);
15669 wxPyEndAllowThreads(__tstate
);
15670 if (PyErr_Occurred()) SWIG_fail
;
15672 Py_INCREF(Py_None
); resultobj
= Py_None
;
15687 static PyObject
*_wrap_CommandEvent_GetString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15688 PyObject
*resultobj
;
15689 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
15691 PyObject
* obj0
= 0 ;
15692 char *kwnames
[] = {
15693 (char *) "self", NULL
15696 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CommandEvent_GetString",kwnames
,&obj0
)) goto fail
;
15697 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCommandEvent
, SWIG_POINTER_EXCEPTION
| 0);
15698 if (SWIG_arg_fail(1)) SWIG_fail
;
15700 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15701 result
= ((wxCommandEvent
const *)arg1
)->GetString();
15703 wxPyEndAllowThreads(__tstate
);
15704 if (PyErr_Occurred()) SWIG_fail
;
15708 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
15710 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
15719 static PyObject
*_wrap_CommandEvent_IsChecked(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15720 PyObject
*resultobj
;
15721 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
15723 PyObject
* obj0
= 0 ;
15724 char *kwnames
[] = {
15725 (char *) "self", NULL
15728 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CommandEvent_IsChecked",kwnames
,&obj0
)) goto fail
;
15729 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCommandEvent
, SWIG_POINTER_EXCEPTION
| 0);
15730 if (SWIG_arg_fail(1)) SWIG_fail
;
15732 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15733 result
= (bool)((wxCommandEvent
const *)arg1
)->IsChecked();
15735 wxPyEndAllowThreads(__tstate
);
15736 if (PyErr_Occurred()) SWIG_fail
;
15739 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15747 static PyObject
*_wrap_CommandEvent_IsSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15748 PyObject
*resultobj
;
15749 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
15751 PyObject
* obj0
= 0 ;
15752 char *kwnames
[] = {
15753 (char *) "self", NULL
15756 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CommandEvent_IsSelection",kwnames
,&obj0
)) goto fail
;
15757 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCommandEvent
, SWIG_POINTER_EXCEPTION
| 0);
15758 if (SWIG_arg_fail(1)) SWIG_fail
;
15760 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15761 result
= (bool)((wxCommandEvent
const *)arg1
)->IsSelection();
15763 wxPyEndAllowThreads(__tstate
);
15764 if (PyErr_Occurred()) SWIG_fail
;
15767 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15775 static PyObject
*_wrap_CommandEvent_SetExtraLong(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15776 PyObject
*resultobj
;
15777 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
15779 PyObject
* obj0
= 0 ;
15780 PyObject
* obj1
= 0 ;
15781 char *kwnames
[] = {
15782 (char *) "self",(char *) "extraLong", NULL
15785 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CommandEvent_SetExtraLong",kwnames
,&obj0
,&obj1
)) goto fail
;
15786 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCommandEvent
, SWIG_POINTER_EXCEPTION
| 0);
15787 if (SWIG_arg_fail(1)) SWIG_fail
;
15789 arg2
= (long)(SWIG_As_long(obj1
));
15790 if (SWIG_arg_fail(2)) SWIG_fail
;
15793 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15794 (arg1
)->SetExtraLong(arg2
);
15796 wxPyEndAllowThreads(__tstate
);
15797 if (PyErr_Occurred()) SWIG_fail
;
15799 Py_INCREF(Py_None
); resultobj
= Py_None
;
15806 static PyObject
*_wrap_CommandEvent_GetExtraLong(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15807 PyObject
*resultobj
;
15808 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
15810 PyObject
* obj0
= 0 ;
15811 char *kwnames
[] = {
15812 (char *) "self", NULL
15815 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CommandEvent_GetExtraLong",kwnames
,&obj0
)) goto fail
;
15816 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCommandEvent
, SWIG_POINTER_EXCEPTION
| 0);
15817 if (SWIG_arg_fail(1)) SWIG_fail
;
15819 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15820 result
= (long)((wxCommandEvent
const *)arg1
)->GetExtraLong();
15822 wxPyEndAllowThreads(__tstate
);
15823 if (PyErr_Occurred()) SWIG_fail
;
15826 resultobj
= SWIG_From_long((long)(result
));
15834 static PyObject
*_wrap_CommandEvent_SetInt(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15835 PyObject
*resultobj
;
15836 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
15838 PyObject
* obj0
= 0 ;
15839 PyObject
* obj1
= 0 ;
15840 char *kwnames
[] = {
15841 (char *) "self",(char *) "i", NULL
15844 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CommandEvent_SetInt",kwnames
,&obj0
,&obj1
)) goto fail
;
15845 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCommandEvent
, SWIG_POINTER_EXCEPTION
| 0);
15846 if (SWIG_arg_fail(1)) SWIG_fail
;
15848 arg2
= (int)(SWIG_As_int(obj1
));
15849 if (SWIG_arg_fail(2)) SWIG_fail
;
15852 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15853 (arg1
)->SetInt(arg2
);
15855 wxPyEndAllowThreads(__tstate
);
15856 if (PyErr_Occurred()) SWIG_fail
;
15858 Py_INCREF(Py_None
); resultobj
= Py_None
;
15865 static PyObject
*_wrap_CommandEvent_GetInt(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15866 PyObject
*resultobj
;
15867 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
15869 PyObject
* obj0
= 0 ;
15870 char *kwnames
[] = {
15871 (char *) "self", NULL
15874 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CommandEvent_GetInt",kwnames
,&obj0
)) goto fail
;
15875 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCommandEvent
, SWIG_POINTER_EXCEPTION
| 0);
15876 if (SWIG_arg_fail(1)) SWIG_fail
;
15878 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15879 result
= (long)((wxCommandEvent
const *)arg1
)->GetInt();
15881 wxPyEndAllowThreads(__tstate
);
15882 if (PyErr_Occurred()) SWIG_fail
;
15885 resultobj
= SWIG_From_long((long)(result
));
15893 static PyObject
*_wrap_CommandEvent_Clone(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15894 PyObject
*resultobj
;
15895 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
15897 PyObject
* obj0
= 0 ;
15898 char *kwnames
[] = {
15899 (char *) "self", NULL
15902 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CommandEvent_Clone",kwnames
,&obj0
)) goto fail
;
15903 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCommandEvent
, SWIG_POINTER_EXCEPTION
| 0);
15904 if (SWIG_arg_fail(1)) SWIG_fail
;
15906 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15907 result
= (wxEvent
*)((wxCommandEvent
const *)arg1
)->Clone();
15909 wxPyEndAllowThreads(__tstate
);
15910 if (PyErr_Occurred()) SWIG_fail
;
15912 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxEvent
, 0);
15919 static PyObject
* CommandEvent_swigregister(PyObject
*, PyObject
*args
) {
15921 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15922 SWIG_TypeClientData(SWIGTYPE_p_wxCommandEvent
, obj
);
15924 return Py_BuildValue((char *)"");
15926 static PyObject
*_wrap_new_NotifyEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15927 PyObject
*resultobj
;
15928 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
15929 int arg2
= (int) 0 ;
15930 wxNotifyEvent
*result
;
15931 PyObject
* obj0
= 0 ;
15932 PyObject
* obj1
= 0 ;
15933 char *kwnames
[] = {
15934 (char *) "commandType",(char *) "winid", NULL
15937 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_NotifyEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
15940 arg1
= (wxEventType
)(SWIG_As_int(obj0
));
15941 if (SWIG_arg_fail(1)) SWIG_fail
;
15946 arg2
= (int)(SWIG_As_int(obj1
));
15947 if (SWIG_arg_fail(2)) SWIG_fail
;
15951 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15952 result
= (wxNotifyEvent
*)new wxNotifyEvent(arg1
,arg2
);
15954 wxPyEndAllowThreads(__tstate
);
15955 if (PyErr_Occurred()) SWIG_fail
;
15957 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNotifyEvent
, 1);
15964 static PyObject
*_wrap_NotifyEvent_Veto(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15965 PyObject
*resultobj
;
15966 wxNotifyEvent
*arg1
= (wxNotifyEvent
*) 0 ;
15967 PyObject
* obj0
= 0 ;
15968 char *kwnames
[] = {
15969 (char *) "self", NULL
15972 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NotifyEvent_Veto",kwnames
,&obj0
)) goto fail
;
15973 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNotifyEvent
, SWIG_POINTER_EXCEPTION
| 0);
15974 if (SWIG_arg_fail(1)) SWIG_fail
;
15976 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15979 wxPyEndAllowThreads(__tstate
);
15980 if (PyErr_Occurred()) SWIG_fail
;
15982 Py_INCREF(Py_None
); resultobj
= Py_None
;
15989 static PyObject
*_wrap_NotifyEvent_Allow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15990 PyObject
*resultobj
;
15991 wxNotifyEvent
*arg1
= (wxNotifyEvent
*) 0 ;
15992 PyObject
* obj0
= 0 ;
15993 char *kwnames
[] = {
15994 (char *) "self", NULL
15997 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NotifyEvent_Allow",kwnames
,&obj0
)) goto fail
;
15998 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNotifyEvent
, SWIG_POINTER_EXCEPTION
| 0);
15999 if (SWIG_arg_fail(1)) SWIG_fail
;
16001 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16004 wxPyEndAllowThreads(__tstate
);
16005 if (PyErr_Occurred()) SWIG_fail
;
16007 Py_INCREF(Py_None
); resultobj
= Py_None
;
16014 static PyObject
*_wrap_NotifyEvent_IsAllowed(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16015 PyObject
*resultobj
;
16016 wxNotifyEvent
*arg1
= (wxNotifyEvent
*) 0 ;
16018 PyObject
* obj0
= 0 ;
16019 char *kwnames
[] = {
16020 (char *) "self", NULL
16023 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NotifyEvent_IsAllowed",kwnames
,&obj0
)) goto fail
;
16024 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNotifyEvent
, SWIG_POINTER_EXCEPTION
| 0);
16025 if (SWIG_arg_fail(1)) SWIG_fail
;
16027 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16028 result
= (bool)(arg1
)->IsAllowed();
16030 wxPyEndAllowThreads(__tstate
);
16031 if (PyErr_Occurred()) SWIG_fail
;
16034 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16042 static PyObject
* NotifyEvent_swigregister(PyObject
*, PyObject
*args
) {
16044 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16045 SWIG_TypeClientData(SWIGTYPE_p_wxNotifyEvent
, obj
);
16047 return Py_BuildValue((char *)"");
16049 static PyObject
*_wrap_new_ScrollEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16050 PyObject
*resultobj
;
16051 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
16052 int arg2
= (int) 0 ;
16053 int arg3
= (int) 0 ;
16054 int arg4
= (int) 0 ;
16055 wxScrollEvent
*result
;
16056 PyObject
* obj0
= 0 ;
16057 PyObject
* obj1
= 0 ;
16058 PyObject
* obj2
= 0 ;
16059 PyObject
* obj3
= 0 ;
16060 char *kwnames
[] = {
16061 (char *) "commandType",(char *) "winid",(char *) "pos",(char *) "orient", NULL
16064 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_ScrollEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
16067 arg1
= (wxEventType
)(SWIG_As_int(obj0
));
16068 if (SWIG_arg_fail(1)) SWIG_fail
;
16073 arg2
= (int)(SWIG_As_int(obj1
));
16074 if (SWIG_arg_fail(2)) SWIG_fail
;
16079 arg3
= (int)(SWIG_As_int(obj2
));
16080 if (SWIG_arg_fail(3)) SWIG_fail
;
16085 arg4
= (int)(SWIG_As_int(obj3
));
16086 if (SWIG_arg_fail(4)) SWIG_fail
;
16090 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16091 result
= (wxScrollEvent
*)new wxScrollEvent(arg1
,arg2
,arg3
,arg4
);
16093 wxPyEndAllowThreads(__tstate
);
16094 if (PyErr_Occurred()) SWIG_fail
;
16096 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxScrollEvent
, 1);
16103 static PyObject
*_wrap_ScrollEvent_GetOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16104 PyObject
*resultobj
;
16105 wxScrollEvent
*arg1
= (wxScrollEvent
*) 0 ;
16107 PyObject
* obj0
= 0 ;
16108 char *kwnames
[] = {
16109 (char *) "self", NULL
16112 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollEvent_GetOrientation",kwnames
,&obj0
)) goto fail
;
16113 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrollEvent
, SWIG_POINTER_EXCEPTION
| 0);
16114 if (SWIG_arg_fail(1)) SWIG_fail
;
16116 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16117 result
= (int)((wxScrollEvent
const *)arg1
)->GetOrientation();
16119 wxPyEndAllowThreads(__tstate
);
16120 if (PyErr_Occurred()) SWIG_fail
;
16123 resultobj
= SWIG_From_int((int)(result
));
16131 static PyObject
*_wrap_ScrollEvent_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16132 PyObject
*resultobj
;
16133 wxScrollEvent
*arg1
= (wxScrollEvent
*) 0 ;
16135 PyObject
* obj0
= 0 ;
16136 char *kwnames
[] = {
16137 (char *) "self", NULL
16140 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
16141 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrollEvent
, SWIG_POINTER_EXCEPTION
| 0);
16142 if (SWIG_arg_fail(1)) SWIG_fail
;
16144 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16145 result
= (int)((wxScrollEvent
const *)arg1
)->GetPosition();
16147 wxPyEndAllowThreads(__tstate
);
16148 if (PyErr_Occurred()) SWIG_fail
;
16151 resultobj
= SWIG_From_int((int)(result
));
16159 static PyObject
*_wrap_ScrollEvent_SetOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16160 PyObject
*resultobj
;
16161 wxScrollEvent
*arg1
= (wxScrollEvent
*) 0 ;
16163 PyObject
* obj0
= 0 ;
16164 PyObject
* obj1
= 0 ;
16165 char *kwnames
[] = {
16166 (char *) "self",(char *) "orient", NULL
16169 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrollEvent_SetOrientation",kwnames
,&obj0
,&obj1
)) goto fail
;
16170 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrollEvent
, SWIG_POINTER_EXCEPTION
| 0);
16171 if (SWIG_arg_fail(1)) SWIG_fail
;
16173 arg2
= (int)(SWIG_As_int(obj1
));
16174 if (SWIG_arg_fail(2)) SWIG_fail
;
16177 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16178 (arg1
)->SetOrientation(arg2
);
16180 wxPyEndAllowThreads(__tstate
);
16181 if (PyErr_Occurred()) SWIG_fail
;
16183 Py_INCREF(Py_None
); resultobj
= Py_None
;
16190 static PyObject
*_wrap_ScrollEvent_SetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16191 PyObject
*resultobj
;
16192 wxScrollEvent
*arg1
= (wxScrollEvent
*) 0 ;
16194 PyObject
* obj0
= 0 ;
16195 PyObject
* obj1
= 0 ;
16196 char *kwnames
[] = {
16197 (char *) "self",(char *) "pos", NULL
16200 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrollEvent_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
16201 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrollEvent
, SWIG_POINTER_EXCEPTION
| 0);
16202 if (SWIG_arg_fail(1)) SWIG_fail
;
16204 arg2
= (int)(SWIG_As_int(obj1
));
16205 if (SWIG_arg_fail(2)) SWIG_fail
;
16208 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16209 (arg1
)->SetPosition(arg2
);
16211 wxPyEndAllowThreads(__tstate
);
16212 if (PyErr_Occurred()) SWIG_fail
;
16214 Py_INCREF(Py_None
); resultobj
= Py_None
;
16221 static PyObject
* ScrollEvent_swigregister(PyObject
*, PyObject
*args
) {
16223 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16224 SWIG_TypeClientData(SWIGTYPE_p_wxScrollEvent
, obj
);
16226 return Py_BuildValue((char *)"");
16228 static PyObject
*_wrap_new_ScrollWinEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16229 PyObject
*resultobj
;
16230 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
16231 int arg2
= (int) 0 ;
16232 int arg3
= (int) 0 ;
16233 wxScrollWinEvent
*result
;
16234 PyObject
* obj0
= 0 ;
16235 PyObject
* obj1
= 0 ;
16236 PyObject
* obj2
= 0 ;
16237 char *kwnames
[] = {
16238 (char *) "commandType",(char *) "pos",(char *) "orient", NULL
16241 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_ScrollWinEvent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16244 arg1
= (wxEventType
)(SWIG_As_int(obj0
));
16245 if (SWIG_arg_fail(1)) SWIG_fail
;
16250 arg2
= (int)(SWIG_As_int(obj1
));
16251 if (SWIG_arg_fail(2)) SWIG_fail
;
16256 arg3
= (int)(SWIG_As_int(obj2
));
16257 if (SWIG_arg_fail(3)) SWIG_fail
;
16261 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16262 result
= (wxScrollWinEvent
*)new wxScrollWinEvent(arg1
,arg2
,arg3
);
16264 wxPyEndAllowThreads(__tstate
);
16265 if (PyErr_Occurred()) SWIG_fail
;
16267 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxScrollWinEvent
, 1);
16274 static PyObject
*_wrap_ScrollWinEvent_GetOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16275 PyObject
*resultobj
;
16276 wxScrollWinEvent
*arg1
= (wxScrollWinEvent
*) 0 ;
16278 PyObject
* obj0
= 0 ;
16279 char *kwnames
[] = {
16280 (char *) "self", NULL
16283 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollWinEvent_GetOrientation",kwnames
,&obj0
)) goto fail
;
16284 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrollWinEvent
, SWIG_POINTER_EXCEPTION
| 0);
16285 if (SWIG_arg_fail(1)) SWIG_fail
;
16287 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16288 result
= (int)((wxScrollWinEvent
const *)arg1
)->GetOrientation();
16290 wxPyEndAllowThreads(__tstate
);
16291 if (PyErr_Occurred()) SWIG_fail
;
16294 resultobj
= SWIG_From_int((int)(result
));
16302 static PyObject
*_wrap_ScrollWinEvent_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16303 PyObject
*resultobj
;
16304 wxScrollWinEvent
*arg1
= (wxScrollWinEvent
*) 0 ;
16306 PyObject
* obj0
= 0 ;
16307 char *kwnames
[] = {
16308 (char *) "self", NULL
16311 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollWinEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
16312 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrollWinEvent
, SWIG_POINTER_EXCEPTION
| 0);
16313 if (SWIG_arg_fail(1)) SWIG_fail
;
16315 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16316 result
= (int)((wxScrollWinEvent
const *)arg1
)->GetPosition();
16318 wxPyEndAllowThreads(__tstate
);
16319 if (PyErr_Occurred()) SWIG_fail
;
16322 resultobj
= SWIG_From_int((int)(result
));
16330 static PyObject
*_wrap_ScrollWinEvent_SetOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16331 PyObject
*resultobj
;
16332 wxScrollWinEvent
*arg1
= (wxScrollWinEvent
*) 0 ;
16334 PyObject
* obj0
= 0 ;
16335 PyObject
* obj1
= 0 ;
16336 char *kwnames
[] = {
16337 (char *) "self",(char *) "orient", NULL
16340 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrollWinEvent_SetOrientation",kwnames
,&obj0
,&obj1
)) goto fail
;
16341 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrollWinEvent
, SWIG_POINTER_EXCEPTION
| 0);
16342 if (SWIG_arg_fail(1)) SWIG_fail
;
16344 arg2
= (int)(SWIG_As_int(obj1
));
16345 if (SWIG_arg_fail(2)) SWIG_fail
;
16348 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16349 (arg1
)->SetOrientation(arg2
);
16351 wxPyEndAllowThreads(__tstate
);
16352 if (PyErr_Occurred()) SWIG_fail
;
16354 Py_INCREF(Py_None
); resultobj
= Py_None
;
16361 static PyObject
*_wrap_ScrollWinEvent_SetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16362 PyObject
*resultobj
;
16363 wxScrollWinEvent
*arg1
= (wxScrollWinEvent
*) 0 ;
16365 PyObject
* obj0
= 0 ;
16366 PyObject
* obj1
= 0 ;
16367 char *kwnames
[] = {
16368 (char *) "self",(char *) "pos", NULL
16371 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrollWinEvent_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
16372 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrollWinEvent
, SWIG_POINTER_EXCEPTION
| 0);
16373 if (SWIG_arg_fail(1)) SWIG_fail
;
16375 arg2
= (int)(SWIG_As_int(obj1
));
16376 if (SWIG_arg_fail(2)) SWIG_fail
;
16379 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16380 (arg1
)->SetPosition(arg2
);
16382 wxPyEndAllowThreads(__tstate
);
16383 if (PyErr_Occurred()) SWIG_fail
;
16385 Py_INCREF(Py_None
); resultobj
= Py_None
;
16392 static PyObject
* ScrollWinEvent_swigregister(PyObject
*, PyObject
*args
) {
16394 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16395 SWIG_TypeClientData(SWIGTYPE_p_wxScrollWinEvent
, obj
);
16397 return Py_BuildValue((char *)"");
16399 static PyObject
*_wrap_new_MouseEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16400 PyObject
*resultobj
;
16401 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
16402 wxMouseEvent
*result
;
16403 PyObject
* obj0
= 0 ;
16404 char *kwnames
[] = {
16405 (char *) "mouseType", NULL
16408 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_MouseEvent",kwnames
,&obj0
)) goto fail
;
16411 arg1
= (wxEventType
)(SWIG_As_int(obj0
));
16412 if (SWIG_arg_fail(1)) SWIG_fail
;
16416 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16417 result
= (wxMouseEvent
*)new wxMouseEvent(arg1
);
16419 wxPyEndAllowThreads(__tstate
);
16420 if (PyErr_Occurred()) SWIG_fail
;
16423 resultobj
= wxPyMake_wxObject(result
, 1);
16431 static PyObject
*_wrap_MouseEvent_IsButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16432 PyObject
*resultobj
;
16433 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16435 PyObject
* obj0
= 0 ;
16436 char *kwnames
[] = {
16437 (char *) "self", NULL
16440 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_IsButton",kwnames
,&obj0
)) goto fail
;
16441 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16442 if (SWIG_arg_fail(1)) SWIG_fail
;
16444 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16445 result
= (bool)((wxMouseEvent
const *)arg1
)->IsButton();
16447 wxPyEndAllowThreads(__tstate
);
16448 if (PyErr_Occurred()) SWIG_fail
;
16451 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16459 static PyObject
*_wrap_MouseEvent_ButtonDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16460 PyObject
*resultobj
;
16461 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16462 int arg2
= (int) wxMOUSE_BTN_ANY
;
16464 PyObject
* obj0
= 0 ;
16465 PyObject
* obj1
= 0 ;
16466 char *kwnames
[] = {
16467 (char *) "self",(char *) "but", NULL
16470 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:MouseEvent_ButtonDown",kwnames
,&obj0
,&obj1
)) goto fail
;
16471 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16472 if (SWIG_arg_fail(1)) SWIG_fail
;
16475 arg2
= (int)(SWIG_As_int(obj1
));
16476 if (SWIG_arg_fail(2)) SWIG_fail
;
16480 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16481 result
= (bool)((wxMouseEvent
const *)arg1
)->ButtonDown(arg2
);
16483 wxPyEndAllowThreads(__tstate
);
16484 if (PyErr_Occurred()) SWIG_fail
;
16487 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16495 static PyObject
*_wrap_MouseEvent_ButtonDClick(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16496 PyObject
*resultobj
;
16497 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16498 int arg2
= (int) wxMOUSE_BTN_ANY
;
16500 PyObject
* obj0
= 0 ;
16501 PyObject
* obj1
= 0 ;
16502 char *kwnames
[] = {
16503 (char *) "self",(char *) "but", NULL
16506 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:MouseEvent_ButtonDClick",kwnames
,&obj0
,&obj1
)) goto fail
;
16507 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16508 if (SWIG_arg_fail(1)) SWIG_fail
;
16511 arg2
= (int)(SWIG_As_int(obj1
));
16512 if (SWIG_arg_fail(2)) SWIG_fail
;
16516 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16517 result
= (bool)((wxMouseEvent
const *)arg1
)->ButtonDClick(arg2
);
16519 wxPyEndAllowThreads(__tstate
);
16520 if (PyErr_Occurred()) SWIG_fail
;
16523 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16531 static PyObject
*_wrap_MouseEvent_ButtonUp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16532 PyObject
*resultobj
;
16533 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16534 int arg2
= (int) wxMOUSE_BTN_ANY
;
16536 PyObject
* obj0
= 0 ;
16537 PyObject
* obj1
= 0 ;
16538 char *kwnames
[] = {
16539 (char *) "self",(char *) "but", NULL
16542 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:MouseEvent_ButtonUp",kwnames
,&obj0
,&obj1
)) goto fail
;
16543 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16544 if (SWIG_arg_fail(1)) SWIG_fail
;
16547 arg2
= (int)(SWIG_As_int(obj1
));
16548 if (SWIG_arg_fail(2)) SWIG_fail
;
16552 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16553 result
= (bool)((wxMouseEvent
const *)arg1
)->ButtonUp(arg2
);
16555 wxPyEndAllowThreads(__tstate
);
16556 if (PyErr_Occurred()) SWIG_fail
;
16559 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16567 static PyObject
*_wrap_MouseEvent_Button(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16568 PyObject
*resultobj
;
16569 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16572 PyObject
* obj0
= 0 ;
16573 PyObject
* obj1
= 0 ;
16574 char *kwnames
[] = {
16575 (char *) "self",(char *) "button", NULL
16578 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_Button",kwnames
,&obj0
,&obj1
)) goto fail
;
16579 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16580 if (SWIG_arg_fail(1)) SWIG_fail
;
16582 arg2
= (int)(SWIG_As_int(obj1
));
16583 if (SWIG_arg_fail(2)) SWIG_fail
;
16586 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16587 result
= (bool)((wxMouseEvent
const *)arg1
)->Button(arg2
);
16589 wxPyEndAllowThreads(__tstate
);
16590 if (PyErr_Occurred()) SWIG_fail
;
16593 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16601 static PyObject
*_wrap_MouseEvent_ButtonIsDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16602 PyObject
*resultobj
;
16603 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16606 PyObject
* obj0
= 0 ;
16607 PyObject
* obj1
= 0 ;
16608 char *kwnames
[] = {
16609 (char *) "self",(char *) "but", NULL
16612 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_ButtonIsDown",kwnames
,&obj0
,&obj1
)) goto fail
;
16613 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16614 if (SWIG_arg_fail(1)) SWIG_fail
;
16616 arg2
= (int)(SWIG_As_int(obj1
));
16617 if (SWIG_arg_fail(2)) SWIG_fail
;
16620 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16621 result
= (bool)((wxMouseEvent
const *)arg1
)->ButtonIsDown(arg2
);
16623 wxPyEndAllowThreads(__tstate
);
16624 if (PyErr_Occurred()) SWIG_fail
;
16627 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16635 static PyObject
*_wrap_MouseEvent_GetButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16636 PyObject
*resultobj
;
16637 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16639 PyObject
* obj0
= 0 ;
16640 char *kwnames
[] = {
16641 (char *) "self", NULL
16644 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetButton",kwnames
,&obj0
)) goto fail
;
16645 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16646 if (SWIG_arg_fail(1)) SWIG_fail
;
16648 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16649 result
= (int)((wxMouseEvent
const *)arg1
)->GetButton();
16651 wxPyEndAllowThreads(__tstate
);
16652 if (PyErr_Occurred()) SWIG_fail
;
16655 resultobj
= SWIG_From_int((int)(result
));
16663 static PyObject
*_wrap_MouseEvent_ControlDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16664 PyObject
*resultobj
;
16665 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16667 PyObject
* obj0
= 0 ;
16668 char *kwnames
[] = {
16669 (char *) "self", NULL
16672 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_ControlDown",kwnames
,&obj0
)) goto fail
;
16673 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16674 if (SWIG_arg_fail(1)) SWIG_fail
;
16676 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16677 result
= (bool)((wxMouseEvent
const *)arg1
)->ControlDown();
16679 wxPyEndAllowThreads(__tstate
);
16680 if (PyErr_Occurred()) SWIG_fail
;
16683 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16691 static PyObject
*_wrap_MouseEvent_MetaDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16692 PyObject
*resultobj
;
16693 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16695 PyObject
* obj0
= 0 ;
16696 char *kwnames
[] = {
16697 (char *) "self", NULL
16700 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_MetaDown",kwnames
,&obj0
)) goto fail
;
16701 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16702 if (SWIG_arg_fail(1)) SWIG_fail
;
16704 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16705 result
= (bool)((wxMouseEvent
const *)arg1
)->MetaDown();
16707 wxPyEndAllowThreads(__tstate
);
16708 if (PyErr_Occurred()) SWIG_fail
;
16711 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16719 static PyObject
*_wrap_MouseEvent_AltDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16720 PyObject
*resultobj
;
16721 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16723 PyObject
* obj0
= 0 ;
16724 char *kwnames
[] = {
16725 (char *) "self", NULL
16728 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_AltDown",kwnames
,&obj0
)) goto fail
;
16729 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16730 if (SWIG_arg_fail(1)) SWIG_fail
;
16732 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16733 result
= (bool)((wxMouseEvent
const *)arg1
)->AltDown();
16735 wxPyEndAllowThreads(__tstate
);
16736 if (PyErr_Occurred()) SWIG_fail
;
16739 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16747 static PyObject
*_wrap_MouseEvent_ShiftDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16748 PyObject
*resultobj
;
16749 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16751 PyObject
* obj0
= 0 ;
16752 char *kwnames
[] = {
16753 (char *) "self", NULL
16756 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_ShiftDown",kwnames
,&obj0
)) goto fail
;
16757 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16758 if (SWIG_arg_fail(1)) SWIG_fail
;
16760 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16761 result
= (bool)((wxMouseEvent
const *)arg1
)->ShiftDown();
16763 wxPyEndAllowThreads(__tstate
);
16764 if (PyErr_Occurred()) SWIG_fail
;
16767 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16775 static PyObject
*_wrap_MouseEvent_CmdDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16776 PyObject
*resultobj
;
16777 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16779 PyObject
* obj0
= 0 ;
16780 char *kwnames
[] = {
16781 (char *) "self", NULL
16784 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_CmdDown",kwnames
,&obj0
)) goto fail
;
16785 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16786 if (SWIG_arg_fail(1)) SWIG_fail
;
16788 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16789 result
= (bool)((wxMouseEvent
const *)arg1
)->CmdDown();
16791 wxPyEndAllowThreads(__tstate
);
16792 if (PyErr_Occurred()) SWIG_fail
;
16795 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16803 static PyObject
*_wrap_MouseEvent_LeftDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16804 PyObject
*resultobj
;
16805 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16807 PyObject
* obj0
= 0 ;
16808 char *kwnames
[] = {
16809 (char *) "self", NULL
16812 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_LeftDown",kwnames
,&obj0
)) goto fail
;
16813 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16814 if (SWIG_arg_fail(1)) SWIG_fail
;
16816 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16817 result
= (bool)((wxMouseEvent
const *)arg1
)->LeftDown();
16819 wxPyEndAllowThreads(__tstate
);
16820 if (PyErr_Occurred()) SWIG_fail
;
16823 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16831 static PyObject
*_wrap_MouseEvent_MiddleDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16832 PyObject
*resultobj
;
16833 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16835 PyObject
* obj0
= 0 ;
16836 char *kwnames
[] = {
16837 (char *) "self", NULL
16840 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_MiddleDown",kwnames
,&obj0
)) goto fail
;
16841 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16842 if (SWIG_arg_fail(1)) SWIG_fail
;
16844 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16845 result
= (bool)((wxMouseEvent
const *)arg1
)->MiddleDown();
16847 wxPyEndAllowThreads(__tstate
);
16848 if (PyErr_Occurred()) SWIG_fail
;
16851 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16859 static PyObject
*_wrap_MouseEvent_RightDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16860 PyObject
*resultobj
;
16861 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16863 PyObject
* obj0
= 0 ;
16864 char *kwnames
[] = {
16865 (char *) "self", NULL
16868 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_RightDown",kwnames
,&obj0
)) goto fail
;
16869 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16870 if (SWIG_arg_fail(1)) SWIG_fail
;
16872 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16873 result
= (bool)((wxMouseEvent
const *)arg1
)->RightDown();
16875 wxPyEndAllowThreads(__tstate
);
16876 if (PyErr_Occurred()) SWIG_fail
;
16879 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16887 static PyObject
*_wrap_MouseEvent_LeftUp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16888 PyObject
*resultobj
;
16889 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16891 PyObject
* obj0
= 0 ;
16892 char *kwnames
[] = {
16893 (char *) "self", NULL
16896 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_LeftUp",kwnames
,&obj0
)) goto fail
;
16897 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16898 if (SWIG_arg_fail(1)) SWIG_fail
;
16900 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16901 result
= (bool)((wxMouseEvent
const *)arg1
)->LeftUp();
16903 wxPyEndAllowThreads(__tstate
);
16904 if (PyErr_Occurred()) SWIG_fail
;
16907 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16915 static PyObject
*_wrap_MouseEvent_MiddleUp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16916 PyObject
*resultobj
;
16917 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16919 PyObject
* obj0
= 0 ;
16920 char *kwnames
[] = {
16921 (char *) "self", NULL
16924 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_MiddleUp",kwnames
,&obj0
)) goto fail
;
16925 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16926 if (SWIG_arg_fail(1)) SWIG_fail
;
16928 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16929 result
= (bool)((wxMouseEvent
const *)arg1
)->MiddleUp();
16931 wxPyEndAllowThreads(__tstate
);
16932 if (PyErr_Occurred()) SWIG_fail
;
16935 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16943 static PyObject
*_wrap_MouseEvent_RightUp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16944 PyObject
*resultobj
;
16945 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16947 PyObject
* obj0
= 0 ;
16948 char *kwnames
[] = {
16949 (char *) "self", NULL
16952 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_RightUp",kwnames
,&obj0
)) goto fail
;
16953 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16954 if (SWIG_arg_fail(1)) SWIG_fail
;
16956 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16957 result
= (bool)((wxMouseEvent
const *)arg1
)->RightUp();
16959 wxPyEndAllowThreads(__tstate
);
16960 if (PyErr_Occurred()) SWIG_fail
;
16963 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16971 static PyObject
*_wrap_MouseEvent_LeftDClick(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16972 PyObject
*resultobj
;
16973 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16975 PyObject
* obj0
= 0 ;
16976 char *kwnames
[] = {
16977 (char *) "self", NULL
16980 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_LeftDClick",kwnames
,&obj0
)) goto fail
;
16981 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16982 if (SWIG_arg_fail(1)) SWIG_fail
;
16984 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16985 result
= (bool)((wxMouseEvent
const *)arg1
)->LeftDClick();
16987 wxPyEndAllowThreads(__tstate
);
16988 if (PyErr_Occurred()) SWIG_fail
;
16991 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16999 static PyObject
*_wrap_MouseEvent_MiddleDClick(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17000 PyObject
*resultobj
;
17001 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17003 PyObject
* obj0
= 0 ;
17004 char *kwnames
[] = {
17005 (char *) "self", NULL
17008 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_MiddleDClick",kwnames
,&obj0
)) goto fail
;
17009 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17010 if (SWIG_arg_fail(1)) SWIG_fail
;
17012 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17013 result
= (bool)((wxMouseEvent
const *)arg1
)->MiddleDClick();
17015 wxPyEndAllowThreads(__tstate
);
17016 if (PyErr_Occurred()) SWIG_fail
;
17019 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17027 static PyObject
*_wrap_MouseEvent_RightDClick(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17028 PyObject
*resultobj
;
17029 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17031 PyObject
* obj0
= 0 ;
17032 char *kwnames
[] = {
17033 (char *) "self", NULL
17036 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_RightDClick",kwnames
,&obj0
)) goto fail
;
17037 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17038 if (SWIG_arg_fail(1)) SWIG_fail
;
17040 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17041 result
= (bool)((wxMouseEvent
const *)arg1
)->RightDClick();
17043 wxPyEndAllowThreads(__tstate
);
17044 if (PyErr_Occurred()) SWIG_fail
;
17047 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17055 static PyObject
*_wrap_MouseEvent_LeftIsDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17056 PyObject
*resultobj
;
17057 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17059 PyObject
* obj0
= 0 ;
17060 char *kwnames
[] = {
17061 (char *) "self", NULL
17064 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_LeftIsDown",kwnames
,&obj0
)) goto fail
;
17065 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17066 if (SWIG_arg_fail(1)) SWIG_fail
;
17068 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17069 result
= (bool)(arg1
)->LeftIsDown();
17071 wxPyEndAllowThreads(__tstate
);
17072 if (PyErr_Occurred()) SWIG_fail
;
17075 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17083 static PyObject
*_wrap_MouseEvent_MiddleIsDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17084 PyObject
*resultobj
;
17085 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17087 PyObject
* obj0
= 0 ;
17088 char *kwnames
[] = {
17089 (char *) "self", NULL
17092 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_MiddleIsDown",kwnames
,&obj0
)) goto fail
;
17093 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17094 if (SWIG_arg_fail(1)) SWIG_fail
;
17096 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17097 result
= (bool)(arg1
)->MiddleIsDown();
17099 wxPyEndAllowThreads(__tstate
);
17100 if (PyErr_Occurred()) SWIG_fail
;
17103 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17111 static PyObject
*_wrap_MouseEvent_RightIsDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17112 PyObject
*resultobj
;
17113 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17115 PyObject
* obj0
= 0 ;
17116 char *kwnames
[] = {
17117 (char *) "self", NULL
17120 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_RightIsDown",kwnames
,&obj0
)) goto fail
;
17121 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17122 if (SWIG_arg_fail(1)) SWIG_fail
;
17124 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17125 result
= (bool)(arg1
)->RightIsDown();
17127 wxPyEndAllowThreads(__tstate
);
17128 if (PyErr_Occurred()) SWIG_fail
;
17131 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17139 static PyObject
*_wrap_MouseEvent_Dragging(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17140 PyObject
*resultobj
;
17141 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17143 PyObject
* obj0
= 0 ;
17144 char *kwnames
[] = {
17145 (char *) "self", NULL
17148 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_Dragging",kwnames
,&obj0
)) goto fail
;
17149 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17150 if (SWIG_arg_fail(1)) SWIG_fail
;
17152 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17153 result
= (bool)((wxMouseEvent
const *)arg1
)->Dragging();
17155 wxPyEndAllowThreads(__tstate
);
17156 if (PyErr_Occurred()) SWIG_fail
;
17159 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17167 static PyObject
*_wrap_MouseEvent_Moving(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17168 PyObject
*resultobj
;
17169 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17171 PyObject
* obj0
= 0 ;
17172 char *kwnames
[] = {
17173 (char *) "self", NULL
17176 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_Moving",kwnames
,&obj0
)) goto fail
;
17177 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17178 if (SWIG_arg_fail(1)) SWIG_fail
;
17180 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17181 result
= (bool)((wxMouseEvent
const *)arg1
)->Moving();
17183 wxPyEndAllowThreads(__tstate
);
17184 if (PyErr_Occurred()) SWIG_fail
;
17187 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17195 static PyObject
*_wrap_MouseEvent_Entering(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17196 PyObject
*resultobj
;
17197 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17199 PyObject
* obj0
= 0 ;
17200 char *kwnames
[] = {
17201 (char *) "self", NULL
17204 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_Entering",kwnames
,&obj0
)) goto fail
;
17205 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17206 if (SWIG_arg_fail(1)) SWIG_fail
;
17208 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17209 result
= (bool)((wxMouseEvent
const *)arg1
)->Entering();
17211 wxPyEndAllowThreads(__tstate
);
17212 if (PyErr_Occurred()) SWIG_fail
;
17215 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17223 static PyObject
*_wrap_MouseEvent_Leaving(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17224 PyObject
*resultobj
;
17225 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17227 PyObject
* obj0
= 0 ;
17228 char *kwnames
[] = {
17229 (char *) "self", NULL
17232 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_Leaving",kwnames
,&obj0
)) goto fail
;
17233 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17234 if (SWIG_arg_fail(1)) SWIG_fail
;
17236 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17237 result
= (bool)((wxMouseEvent
const *)arg1
)->Leaving();
17239 wxPyEndAllowThreads(__tstate
);
17240 if (PyErr_Occurred()) SWIG_fail
;
17243 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17251 static PyObject
*_wrap_MouseEvent_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17252 PyObject
*resultobj
;
17253 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17255 PyObject
* obj0
= 0 ;
17256 char *kwnames
[] = {
17257 (char *) "self", NULL
17260 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
17261 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17262 if (SWIG_arg_fail(1)) SWIG_fail
;
17264 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17265 result
= (arg1
)->GetPosition();
17267 wxPyEndAllowThreads(__tstate
);
17268 if (PyErr_Occurred()) SWIG_fail
;
17271 wxPoint
* resultptr
;
17272 resultptr
= new wxPoint((wxPoint
&)(result
));
17273 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
17281 static PyObject
*_wrap_MouseEvent_GetPositionTuple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17282 PyObject
*resultobj
;
17283 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17284 long *arg2
= (long *) 0 ;
17285 long *arg3
= (long *) 0 ;
17290 PyObject
* obj0
= 0 ;
17291 char *kwnames
[] = {
17292 (char *) "self", NULL
17295 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
17296 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
17297 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetPositionTuple",kwnames
,&obj0
)) goto fail
;
17298 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17299 if (SWIG_arg_fail(1)) SWIG_fail
;
17301 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17302 (arg1
)->GetPosition(arg2
,arg3
);
17304 wxPyEndAllowThreads(__tstate
);
17305 if (PyErr_Occurred()) SWIG_fail
;
17307 Py_INCREF(Py_None
); resultobj
= Py_None
;
17308 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
17309 SWIG_From_long((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_long
, 0)));
17310 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
17311 SWIG_From_long((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, 0)));
17318 static PyObject
*_wrap_MouseEvent_GetLogicalPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17319 PyObject
*resultobj
;
17320 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17323 PyObject
* obj0
= 0 ;
17324 PyObject
* obj1
= 0 ;
17325 char *kwnames
[] = {
17326 (char *) "self",(char *) "dc", NULL
17329 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_GetLogicalPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
17330 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17331 if (SWIG_arg_fail(1)) SWIG_fail
;
17333 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
17334 if (SWIG_arg_fail(2)) SWIG_fail
;
17335 if (arg2
== NULL
) {
17336 SWIG_null_ref("wxDC");
17338 if (SWIG_arg_fail(2)) SWIG_fail
;
17341 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17342 result
= ((wxMouseEvent
const *)arg1
)->GetLogicalPosition((wxDC
const &)*arg2
);
17344 wxPyEndAllowThreads(__tstate
);
17345 if (PyErr_Occurred()) SWIG_fail
;
17348 wxPoint
* resultptr
;
17349 resultptr
= new wxPoint((wxPoint
&)(result
));
17350 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
17358 static PyObject
*_wrap_MouseEvent_GetX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17359 PyObject
*resultobj
;
17360 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17362 PyObject
* obj0
= 0 ;
17363 char *kwnames
[] = {
17364 (char *) "self", NULL
17367 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetX",kwnames
,&obj0
)) goto fail
;
17368 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17369 if (SWIG_arg_fail(1)) SWIG_fail
;
17371 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17372 result
= (int)((wxMouseEvent
const *)arg1
)->GetX();
17374 wxPyEndAllowThreads(__tstate
);
17375 if (PyErr_Occurred()) SWIG_fail
;
17378 resultobj
= SWIG_From_int((int)(result
));
17386 static PyObject
*_wrap_MouseEvent_GetY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17387 PyObject
*resultobj
;
17388 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17390 PyObject
* obj0
= 0 ;
17391 char *kwnames
[] = {
17392 (char *) "self", NULL
17395 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetY",kwnames
,&obj0
)) goto fail
;
17396 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17397 if (SWIG_arg_fail(1)) SWIG_fail
;
17399 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17400 result
= (int)((wxMouseEvent
const *)arg1
)->GetY();
17402 wxPyEndAllowThreads(__tstate
);
17403 if (PyErr_Occurred()) SWIG_fail
;
17406 resultobj
= SWIG_From_int((int)(result
));
17414 static PyObject
*_wrap_MouseEvent_GetWheelRotation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17415 PyObject
*resultobj
;
17416 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17418 PyObject
* obj0
= 0 ;
17419 char *kwnames
[] = {
17420 (char *) "self", NULL
17423 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetWheelRotation",kwnames
,&obj0
)) goto fail
;
17424 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17425 if (SWIG_arg_fail(1)) SWIG_fail
;
17427 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17428 result
= (int)((wxMouseEvent
const *)arg1
)->GetWheelRotation();
17430 wxPyEndAllowThreads(__tstate
);
17431 if (PyErr_Occurred()) SWIG_fail
;
17434 resultobj
= SWIG_From_int((int)(result
));
17442 static PyObject
*_wrap_MouseEvent_GetWheelDelta(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17443 PyObject
*resultobj
;
17444 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17446 PyObject
* obj0
= 0 ;
17447 char *kwnames
[] = {
17448 (char *) "self", NULL
17451 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetWheelDelta",kwnames
,&obj0
)) goto fail
;
17452 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17453 if (SWIG_arg_fail(1)) SWIG_fail
;
17455 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17456 result
= (int)((wxMouseEvent
const *)arg1
)->GetWheelDelta();
17458 wxPyEndAllowThreads(__tstate
);
17459 if (PyErr_Occurred()) SWIG_fail
;
17462 resultobj
= SWIG_From_int((int)(result
));
17470 static PyObject
*_wrap_MouseEvent_GetLinesPerAction(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17471 PyObject
*resultobj
;
17472 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17474 PyObject
* obj0
= 0 ;
17475 char *kwnames
[] = {
17476 (char *) "self", NULL
17479 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetLinesPerAction",kwnames
,&obj0
)) goto fail
;
17480 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17481 if (SWIG_arg_fail(1)) SWIG_fail
;
17483 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17484 result
= (int)((wxMouseEvent
const *)arg1
)->GetLinesPerAction();
17486 wxPyEndAllowThreads(__tstate
);
17487 if (PyErr_Occurred()) SWIG_fail
;
17490 resultobj
= SWIG_From_int((int)(result
));
17498 static PyObject
*_wrap_MouseEvent_IsPageScroll(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17499 PyObject
*resultobj
;
17500 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17502 PyObject
* obj0
= 0 ;
17503 char *kwnames
[] = {
17504 (char *) "self", NULL
17507 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_IsPageScroll",kwnames
,&obj0
)) goto fail
;
17508 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17509 if (SWIG_arg_fail(1)) SWIG_fail
;
17511 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17512 result
= (bool)((wxMouseEvent
const *)arg1
)->IsPageScroll();
17514 wxPyEndAllowThreads(__tstate
);
17515 if (PyErr_Occurred()) SWIG_fail
;
17518 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17526 static PyObject
*_wrap_MouseEvent_m_x_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17527 PyObject
*resultobj
;
17528 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17530 PyObject
* obj0
= 0 ;
17531 PyObject
* obj1
= 0 ;
17532 char *kwnames
[] = {
17533 (char *) "self",(char *) "m_x", NULL
17536 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_x_set",kwnames
,&obj0
,&obj1
)) goto fail
;
17537 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17538 if (SWIG_arg_fail(1)) SWIG_fail
;
17540 arg2
= (int)(SWIG_As_int(obj1
));
17541 if (SWIG_arg_fail(2)) SWIG_fail
;
17543 if (arg1
) (arg1
)->m_x
= arg2
;
17545 Py_INCREF(Py_None
); resultobj
= Py_None
;
17552 static PyObject
*_wrap_MouseEvent_m_x_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17553 PyObject
*resultobj
;
17554 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17556 PyObject
* obj0
= 0 ;
17557 char *kwnames
[] = {
17558 (char *) "self", NULL
17561 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_x_get",kwnames
,&obj0
)) goto fail
;
17562 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17563 if (SWIG_arg_fail(1)) SWIG_fail
;
17564 result
= (int) ((arg1
)->m_x
);
17567 resultobj
= SWIG_From_int((int)(result
));
17575 static PyObject
*_wrap_MouseEvent_m_y_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17576 PyObject
*resultobj
;
17577 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17579 PyObject
* obj0
= 0 ;
17580 PyObject
* obj1
= 0 ;
17581 char *kwnames
[] = {
17582 (char *) "self",(char *) "m_y", NULL
17585 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_y_set",kwnames
,&obj0
,&obj1
)) goto fail
;
17586 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17587 if (SWIG_arg_fail(1)) SWIG_fail
;
17589 arg2
= (int)(SWIG_As_int(obj1
));
17590 if (SWIG_arg_fail(2)) SWIG_fail
;
17592 if (arg1
) (arg1
)->m_y
= arg2
;
17594 Py_INCREF(Py_None
); resultobj
= Py_None
;
17601 static PyObject
*_wrap_MouseEvent_m_y_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17602 PyObject
*resultobj
;
17603 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17605 PyObject
* obj0
= 0 ;
17606 char *kwnames
[] = {
17607 (char *) "self", NULL
17610 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_y_get",kwnames
,&obj0
)) goto fail
;
17611 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17612 if (SWIG_arg_fail(1)) SWIG_fail
;
17613 result
= (int) ((arg1
)->m_y
);
17616 resultobj
= SWIG_From_int((int)(result
));
17624 static PyObject
*_wrap_MouseEvent_m_leftDown_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17625 PyObject
*resultobj
;
17626 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17628 PyObject
* obj0
= 0 ;
17629 PyObject
* obj1
= 0 ;
17630 char *kwnames
[] = {
17631 (char *) "self",(char *) "m_leftDown", NULL
17634 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_leftDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
17635 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17636 if (SWIG_arg_fail(1)) SWIG_fail
;
17638 arg2
= (bool)(SWIG_As_bool(obj1
));
17639 if (SWIG_arg_fail(2)) SWIG_fail
;
17641 if (arg1
) (arg1
)->m_leftDown
= arg2
;
17643 Py_INCREF(Py_None
); resultobj
= Py_None
;
17650 static PyObject
*_wrap_MouseEvent_m_leftDown_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17651 PyObject
*resultobj
;
17652 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17654 PyObject
* obj0
= 0 ;
17655 char *kwnames
[] = {
17656 (char *) "self", NULL
17659 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_leftDown_get",kwnames
,&obj0
)) goto fail
;
17660 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17661 if (SWIG_arg_fail(1)) SWIG_fail
;
17662 result
= (bool) ((arg1
)->m_leftDown
);
17665 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17673 static PyObject
*_wrap_MouseEvent_m_middleDown_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17674 PyObject
*resultobj
;
17675 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17677 PyObject
* obj0
= 0 ;
17678 PyObject
* obj1
= 0 ;
17679 char *kwnames
[] = {
17680 (char *) "self",(char *) "m_middleDown", NULL
17683 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_middleDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
17684 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17685 if (SWIG_arg_fail(1)) SWIG_fail
;
17687 arg2
= (bool)(SWIG_As_bool(obj1
));
17688 if (SWIG_arg_fail(2)) SWIG_fail
;
17690 if (arg1
) (arg1
)->m_middleDown
= arg2
;
17692 Py_INCREF(Py_None
); resultobj
= Py_None
;
17699 static PyObject
*_wrap_MouseEvent_m_middleDown_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17700 PyObject
*resultobj
;
17701 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17703 PyObject
* obj0
= 0 ;
17704 char *kwnames
[] = {
17705 (char *) "self", NULL
17708 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_middleDown_get",kwnames
,&obj0
)) goto fail
;
17709 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17710 if (SWIG_arg_fail(1)) SWIG_fail
;
17711 result
= (bool) ((arg1
)->m_middleDown
);
17714 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17722 static PyObject
*_wrap_MouseEvent_m_rightDown_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17723 PyObject
*resultobj
;
17724 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17726 PyObject
* obj0
= 0 ;
17727 PyObject
* obj1
= 0 ;
17728 char *kwnames
[] = {
17729 (char *) "self",(char *) "m_rightDown", NULL
17732 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_rightDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
17733 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17734 if (SWIG_arg_fail(1)) SWIG_fail
;
17736 arg2
= (bool)(SWIG_As_bool(obj1
));
17737 if (SWIG_arg_fail(2)) SWIG_fail
;
17739 if (arg1
) (arg1
)->m_rightDown
= arg2
;
17741 Py_INCREF(Py_None
); resultobj
= Py_None
;
17748 static PyObject
*_wrap_MouseEvent_m_rightDown_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17749 PyObject
*resultobj
;
17750 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17752 PyObject
* obj0
= 0 ;
17753 char *kwnames
[] = {
17754 (char *) "self", NULL
17757 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_rightDown_get",kwnames
,&obj0
)) goto fail
;
17758 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17759 if (SWIG_arg_fail(1)) SWIG_fail
;
17760 result
= (bool) ((arg1
)->m_rightDown
);
17763 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17771 static PyObject
*_wrap_MouseEvent_m_controlDown_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17772 PyObject
*resultobj
;
17773 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17775 PyObject
* obj0
= 0 ;
17776 PyObject
* obj1
= 0 ;
17777 char *kwnames
[] = {
17778 (char *) "self",(char *) "m_controlDown", NULL
17781 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_controlDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
17782 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17783 if (SWIG_arg_fail(1)) SWIG_fail
;
17785 arg2
= (bool)(SWIG_As_bool(obj1
));
17786 if (SWIG_arg_fail(2)) SWIG_fail
;
17788 if (arg1
) (arg1
)->m_controlDown
= arg2
;
17790 Py_INCREF(Py_None
); resultobj
= Py_None
;
17797 static PyObject
*_wrap_MouseEvent_m_controlDown_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17798 PyObject
*resultobj
;
17799 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17801 PyObject
* obj0
= 0 ;
17802 char *kwnames
[] = {
17803 (char *) "self", NULL
17806 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_controlDown_get",kwnames
,&obj0
)) goto fail
;
17807 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17808 if (SWIG_arg_fail(1)) SWIG_fail
;
17809 result
= (bool) ((arg1
)->m_controlDown
);
17812 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17820 static PyObject
*_wrap_MouseEvent_m_shiftDown_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17821 PyObject
*resultobj
;
17822 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17824 PyObject
* obj0
= 0 ;
17825 PyObject
* obj1
= 0 ;
17826 char *kwnames
[] = {
17827 (char *) "self",(char *) "m_shiftDown", NULL
17830 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_shiftDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
17831 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17832 if (SWIG_arg_fail(1)) SWIG_fail
;
17834 arg2
= (bool)(SWIG_As_bool(obj1
));
17835 if (SWIG_arg_fail(2)) SWIG_fail
;
17837 if (arg1
) (arg1
)->m_shiftDown
= arg2
;
17839 Py_INCREF(Py_None
); resultobj
= Py_None
;
17846 static PyObject
*_wrap_MouseEvent_m_shiftDown_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17847 PyObject
*resultobj
;
17848 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17850 PyObject
* obj0
= 0 ;
17851 char *kwnames
[] = {
17852 (char *) "self", NULL
17855 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_shiftDown_get",kwnames
,&obj0
)) goto fail
;
17856 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17857 if (SWIG_arg_fail(1)) SWIG_fail
;
17858 result
= (bool) ((arg1
)->m_shiftDown
);
17861 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17869 static PyObject
*_wrap_MouseEvent_m_altDown_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17870 PyObject
*resultobj
;
17871 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17873 PyObject
* obj0
= 0 ;
17874 PyObject
* obj1
= 0 ;
17875 char *kwnames
[] = {
17876 (char *) "self",(char *) "m_altDown", NULL
17879 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_altDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
17880 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17881 if (SWIG_arg_fail(1)) SWIG_fail
;
17883 arg2
= (bool)(SWIG_As_bool(obj1
));
17884 if (SWIG_arg_fail(2)) SWIG_fail
;
17886 if (arg1
) (arg1
)->m_altDown
= arg2
;
17888 Py_INCREF(Py_None
); resultobj
= Py_None
;
17895 static PyObject
*_wrap_MouseEvent_m_altDown_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17896 PyObject
*resultobj
;
17897 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17899 PyObject
* obj0
= 0 ;
17900 char *kwnames
[] = {
17901 (char *) "self", NULL
17904 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_altDown_get",kwnames
,&obj0
)) goto fail
;
17905 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17906 if (SWIG_arg_fail(1)) SWIG_fail
;
17907 result
= (bool) ((arg1
)->m_altDown
);
17910 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17918 static PyObject
*_wrap_MouseEvent_m_metaDown_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17919 PyObject
*resultobj
;
17920 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17922 PyObject
* obj0
= 0 ;
17923 PyObject
* obj1
= 0 ;
17924 char *kwnames
[] = {
17925 (char *) "self",(char *) "m_metaDown", NULL
17928 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_metaDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
17929 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17930 if (SWIG_arg_fail(1)) SWIG_fail
;
17932 arg2
= (bool)(SWIG_As_bool(obj1
));
17933 if (SWIG_arg_fail(2)) SWIG_fail
;
17935 if (arg1
) (arg1
)->m_metaDown
= arg2
;
17937 Py_INCREF(Py_None
); resultobj
= Py_None
;
17944 static PyObject
*_wrap_MouseEvent_m_metaDown_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17945 PyObject
*resultobj
;
17946 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17948 PyObject
* obj0
= 0 ;
17949 char *kwnames
[] = {
17950 (char *) "self", NULL
17953 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_metaDown_get",kwnames
,&obj0
)) goto fail
;
17954 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17955 if (SWIG_arg_fail(1)) SWIG_fail
;
17956 result
= (bool) ((arg1
)->m_metaDown
);
17959 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17967 static PyObject
*_wrap_MouseEvent_m_wheelRotation_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17968 PyObject
*resultobj
;
17969 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17971 PyObject
* obj0
= 0 ;
17972 PyObject
* obj1
= 0 ;
17973 char *kwnames
[] = {
17974 (char *) "self",(char *) "m_wheelRotation", NULL
17977 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_wheelRotation_set",kwnames
,&obj0
,&obj1
)) goto fail
;
17978 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17979 if (SWIG_arg_fail(1)) SWIG_fail
;
17981 arg2
= (int)(SWIG_As_int(obj1
));
17982 if (SWIG_arg_fail(2)) SWIG_fail
;
17984 if (arg1
) (arg1
)->m_wheelRotation
= arg2
;
17986 Py_INCREF(Py_None
); resultobj
= Py_None
;
17993 static PyObject
*_wrap_MouseEvent_m_wheelRotation_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17994 PyObject
*resultobj
;
17995 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17997 PyObject
* obj0
= 0 ;
17998 char *kwnames
[] = {
17999 (char *) "self", NULL
18002 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_wheelRotation_get",kwnames
,&obj0
)) goto fail
;
18003 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
18004 if (SWIG_arg_fail(1)) SWIG_fail
;
18005 result
= (int) ((arg1
)->m_wheelRotation
);
18008 resultobj
= SWIG_From_int((int)(result
));
18016 static PyObject
*_wrap_MouseEvent_m_wheelDelta_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18017 PyObject
*resultobj
;
18018 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
18020 PyObject
* obj0
= 0 ;
18021 PyObject
* obj1
= 0 ;
18022 char *kwnames
[] = {
18023 (char *) "self",(char *) "m_wheelDelta", NULL
18026 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_wheelDelta_set",kwnames
,&obj0
,&obj1
)) goto fail
;
18027 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
18028 if (SWIG_arg_fail(1)) SWIG_fail
;
18030 arg2
= (int)(SWIG_As_int(obj1
));
18031 if (SWIG_arg_fail(2)) SWIG_fail
;
18033 if (arg1
) (arg1
)->m_wheelDelta
= arg2
;
18035 Py_INCREF(Py_None
); resultobj
= Py_None
;
18042 static PyObject
*_wrap_MouseEvent_m_wheelDelta_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18043 PyObject
*resultobj
;
18044 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
18046 PyObject
* obj0
= 0 ;
18047 char *kwnames
[] = {
18048 (char *) "self", NULL
18051 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_wheelDelta_get",kwnames
,&obj0
)) goto fail
;
18052 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
18053 if (SWIG_arg_fail(1)) SWIG_fail
;
18054 result
= (int) ((arg1
)->m_wheelDelta
);
18057 resultobj
= SWIG_From_int((int)(result
));
18065 static PyObject
*_wrap_MouseEvent_m_linesPerAction_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18066 PyObject
*resultobj
;
18067 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
18069 PyObject
* obj0
= 0 ;
18070 PyObject
* obj1
= 0 ;
18071 char *kwnames
[] = {
18072 (char *) "self",(char *) "m_linesPerAction", NULL
18075 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_linesPerAction_set",kwnames
,&obj0
,&obj1
)) goto fail
;
18076 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
18077 if (SWIG_arg_fail(1)) SWIG_fail
;
18079 arg2
= (int)(SWIG_As_int(obj1
));
18080 if (SWIG_arg_fail(2)) SWIG_fail
;
18082 if (arg1
) (arg1
)->m_linesPerAction
= arg2
;
18084 Py_INCREF(Py_None
); resultobj
= Py_None
;
18091 static PyObject
*_wrap_MouseEvent_m_linesPerAction_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18092 PyObject
*resultobj
;
18093 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
18095 PyObject
* obj0
= 0 ;
18096 char *kwnames
[] = {
18097 (char *) "self", NULL
18100 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_linesPerAction_get",kwnames
,&obj0
)) goto fail
;
18101 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
18102 if (SWIG_arg_fail(1)) SWIG_fail
;
18103 result
= (int) ((arg1
)->m_linesPerAction
);
18106 resultobj
= SWIG_From_int((int)(result
));
18114 static PyObject
* MouseEvent_swigregister(PyObject
*, PyObject
*args
) {
18116 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18117 SWIG_TypeClientData(SWIGTYPE_p_wxMouseEvent
, obj
);
18119 return Py_BuildValue((char *)"");
18121 static PyObject
*_wrap_new_SetCursorEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18122 PyObject
*resultobj
;
18123 int arg1
= (int) 0 ;
18124 int arg2
= (int) 0 ;
18125 wxSetCursorEvent
*result
;
18126 PyObject
* obj0
= 0 ;
18127 PyObject
* obj1
= 0 ;
18128 char *kwnames
[] = {
18129 (char *) "x",(char *) "y", NULL
18132 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_SetCursorEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
18135 arg1
= (int)(SWIG_As_int(obj0
));
18136 if (SWIG_arg_fail(1)) SWIG_fail
;
18141 arg2
= (int)(SWIG_As_int(obj1
));
18142 if (SWIG_arg_fail(2)) SWIG_fail
;
18146 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18147 result
= (wxSetCursorEvent
*)new wxSetCursorEvent(arg1
,arg2
);
18149 wxPyEndAllowThreads(__tstate
);
18150 if (PyErr_Occurred()) SWIG_fail
;
18152 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSetCursorEvent
, 1);
18159 static PyObject
*_wrap_SetCursorEvent_GetX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18160 PyObject
*resultobj
;
18161 wxSetCursorEvent
*arg1
= (wxSetCursorEvent
*) 0 ;
18163 PyObject
* obj0
= 0 ;
18164 char *kwnames
[] = {
18165 (char *) "self", NULL
18168 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SetCursorEvent_GetX",kwnames
,&obj0
)) goto fail
;
18169 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSetCursorEvent
, SWIG_POINTER_EXCEPTION
| 0);
18170 if (SWIG_arg_fail(1)) SWIG_fail
;
18172 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18173 result
= (int)((wxSetCursorEvent
const *)arg1
)->GetX();
18175 wxPyEndAllowThreads(__tstate
);
18176 if (PyErr_Occurred()) SWIG_fail
;
18179 resultobj
= SWIG_From_int((int)(result
));
18187 static PyObject
*_wrap_SetCursorEvent_GetY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18188 PyObject
*resultobj
;
18189 wxSetCursorEvent
*arg1
= (wxSetCursorEvent
*) 0 ;
18191 PyObject
* obj0
= 0 ;
18192 char *kwnames
[] = {
18193 (char *) "self", NULL
18196 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SetCursorEvent_GetY",kwnames
,&obj0
)) goto fail
;
18197 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSetCursorEvent
, SWIG_POINTER_EXCEPTION
| 0);
18198 if (SWIG_arg_fail(1)) SWIG_fail
;
18200 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18201 result
= (int)((wxSetCursorEvent
const *)arg1
)->GetY();
18203 wxPyEndAllowThreads(__tstate
);
18204 if (PyErr_Occurred()) SWIG_fail
;
18207 resultobj
= SWIG_From_int((int)(result
));
18215 static PyObject
*_wrap_SetCursorEvent_SetCursor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18216 PyObject
*resultobj
;
18217 wxSetCursorEvent
*arg1
= (wxSetCursorEvent
*) 0 ;
18218 wxCursor
*arg2
= 0 ;
18219 PyObject
* obj0
= 0 ;
18220 PyObject
* obj1
= 0 ;
18221 char *kwnames
[] = {
18222 (char *) "self",(char *) "cursor", NULL
18225 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SetCursorEvent_SetCursor",kwnames
,&obj0
,&obj1
)) goto fail
;
18226 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSetCursorEvent
, SWIG_POINTER_EXCEPTION
| 0);
18227 if (SWIG_arg_fail(1)) SWIG_fail
;
18229 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxCursor
, SWIG_POINTER_EXCEPTION
| 0);
18230 if (SWIG_arg_fail(2)) SWIG_fail
;
18231 if (arg2
== NULL
) {
18232 SWIG_null_ref("wxCursor");
18234 if (SWIG_arg_fail(2)) SWIG_fail
;
18237 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18238 (arg1
)->SetCursor((wxCursor
const &)*arg2
);
18240 wxPyEndAllowThreads(__tstate
);
18241 if (PyErr_Occurred()) SWIG_fail
;
18243 Py_INCREF(Py_None
); resultobj
= Py_None
;
18250 static PyObject
*_wrap_SetCursorEvent_GetCursor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18251 PyObject
*resultobj
;
18252 wxSetCursorEvent
*arg1
= (wxSetCursorEvent
*) 0 ;
18254 PyObject
* obj0
= 0 ;
18255 char *kwnames
[] = {
18256 (char *) "self", NULL
18259 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SetCursorEvent_GetCursor",kwnames
,&obj0
)) goto fail
;
18260 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSetCursorEvent
, SWIG_POINTER_EXCEPTION
| 0);
18261 if (SWIG_arg_fail(1)) SWIG_fail
;
18263 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18265 wxCursor
const &_result_ref
= ((wxSetCursorEvent
const *)arg1
)->GetCursor();
18266 result
= (wxCursor
*) &_result_ref
;
18269 wxPyEndAllowThreads(__tstate
);
18270 if (PyErr_Occurred()) SWIG_fail
;
18273 wxCursor
* resultptr
= new wxCursor(*result
);
18274 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxCursor
, 1);
18282 static PyObject
*_wrap_SetCursorEvent_HasCursor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18283 PyObject
*resultobj
;
18284 wxSetCursorEvent
*arg1
= (wxSetCursorEvent
*) 0 ;
18286 PyObject
* obj0
= 0 ;
18287 char *kwnames
[] = {
18288 (char *) "self", NULL
18291 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SetCursorEvent_HasCursor",kwnames
,&obj0
)) goto fail
;
18292 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSetCursorEvent
, SWIG_POINTER_EXCEPTION
| 0);
18293 if (SWIG_arg_fail(1)) SWIG_fail
;
18295 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18296 result
= (bool)((wxSetCursorEvent
const *)arg1
)->HasCursor();
18298 wxPyEndAllowThreads(__tstate
);
18299 if (PyErr_Occurred()) SWIG_fail
;
18302 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18310 static PyObject
* SetCursorEvent_swigregister(PyObject
*, PyObject
*args
) {
18312 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18313 SWIG_TypeClientData(SWIGTYPE_p_wxSetCursorEvent
, obj
);
18315 return Py_BuildValue((char *)"");
18317 static PyObject
*_wrap_new_KeyEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18318 PyObject
*resultobj
;
18319 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
18320 wxKeyEvent
*result
;
18321 PyObject
* obj0
= 0 ;
18322 char *kwnames
[] = {
18323 (char *) "eventType", NULL
18326 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_KeyEvent",kwnames
,&obj0
)) goto fail
;
18329 arg1
= (wxEventType
)(SWIG_As_int(obj0
));
18330 if (SWIG_arg_fail(1)) SWIG_fail
;
18334 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18335 result
= (wxKeyEvent
*)new wxKeyEvent(arg1
);
18337 wxPyEndAllowThreads(__tstate
);
18338 if (PyErr_Occurred()) SWIG_fail
;
18340 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxKeyEvent
, 1);
18347 static PyObject
*_wrap_KeyEvent_ControlDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18348 PyObject
*resultobj
;
18349 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18351 PyObject
* obj0
= 0 ;
18352 char *kwnames
[] = {
18353 (char *) "self", NULL
18356 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_ControlDown",kwnames
,&obj0
)) goto fail
;
18357 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18358 if (SWIG_arg_fail(1)) SWIG_fail
;
18360 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18361 result
= (bool)((wxKeyEvent
const *)arg1
)->ControlDown();
18363 wxPyEndAllowThreads(__tstate
);
18364 if (PyErr_Occurred()) SWIG_fail
;
18367 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18375 static PyObject
*_wrap_KeyEvent_MetaDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18376 PyObject
*resultobj
;
18377 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18379 PyObject
* obj0
= 0 ;
18380 char *kwnames
[] = {
18381 (char *) "self", NULL
18384 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_MetaDown",kwnames
,&obj0
)) goto fail
;
18385 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18386 if (SWIG_arg_fail(1)) SWIG_fail
;
18388 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18389 result
= (bool)((wxKeyEvent
const *)arg1
)->MetaDown();
18391 wxPyEndAllowThreads(__tstate
);
18392 if (PyErr_Occurred()) SWIG_fail
;
18395 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18403 static PyObject
*_wrap_KeyEvent_AltDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18404 PyObject
*resultobj
;
18405 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18407 PyObject
* obj0
= 0 ;
18408 char *kwnames
[] = {
18409 (char *) "self", NULL
18412 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_AltDown",kwnames
,&obj0
)) goto fail
;
18413 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18414 if (SWIG_arg_fail(1)) SWIG_fail
;
18416 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18417 result
= (bool)((wxKeyEvent
const *)arg1
)->AltDown();
18419 wxPyEndAllowThreads(__tstate
);
18420 if (PyErr_Occurred()) SWIG_fail
;
18423 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18431 static PyObject
*_wrap_KeyEvent_ShiftDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18432 PyObject
*resultobj
;
18433 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18435 PyObject
* obj0
= 0 ;
18436 char *kwnames
[] = {
18437 (char *) "self", NULL
18440 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_ShiftDown",kwnames
,&obj0
)) goto fail
;
18441 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18442 if (SWIG_arg_fail(1)) SWIG_fail
;
18444 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18445 result
= (bool)((wxKeyEvent
const *)arg1
)->ShiftDown();
18447 wxPyEndAllowThreads(__tstate
);
18448 if (PyErr_Occurred()) SWIG_fail
;
18451 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18459 static PyObject
*_wrap_KeyEvent_CmdDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18460 PyObject
*resultobj
;
18461 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18463 PyObject
* obj0
= 0 ;
18464 char *kwnames
[] = {
18465 (char *) "self", NULL
18468 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_CmdDown",kwnames
,&obj0
)) goto fail
;
18469 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18470 if (SWIG_arg_fail(1)) SWIG_fail
;
18472 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18473 result
= (bool)((wxKeyEvent
const *)arg1
)->CmdDown();
18475 wxPyEndAllowThreads(__tstate
);
18476 if (PyErr_Occurred()) SWIG_fail
;
18479 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18487 static PyObject
*_wrap_KeyEvent_HasModifiers(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18488 PyObject
*resultobj
;
18489 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18491 PyObject
* obj0
= 0 ;
18492 char *kwnames
[] = {
18493 (char *) "self", NULL
18496 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_HasModifiers",kwnames
,&obj0
)) goto fail
;
18497 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18498 if (SWIG_arg_fail(1)) SWIG_fail
;
18500 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18501 result
= (bool)((wxKeyEvent
const *)arg1
)->HasModifiers();
18503 wxPyEndAllowThreads(__tstate
);
18504 if (PyErr_Occurred()) SWIG_fail
;
18507 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18515 static PyObject
*_wrap_KeyEvent_GetKeyCode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18516 PyObject
*resultobj
;
18517 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18519 PyObject
* obj0
= 0 ;
18520 char *kwnames
[] = {
18521 (char *) "self", NULL
18524 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetKeyCode",kwnames
,&obj0
)) goto fail
;
18525 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18526 if (SWIG_arg_fail(1)) SWIG_fail
;
18528 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18529 result
= (int)((wxKeyEvent
const *)arg1
)->GetKeyCode();
18531 wxPyEndAllowThreads(__tstate
);
18532 if (PyErr_Occurred()) SWIG_fail
;
18535 resultobj
= SWIG_From_int((int)(result
));
18543 static PyObject
*_wrap_KeyEvent_GetUnicodeKey(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18544 PyObject
*resultobj
;
18545 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18547 PyObject
* obj0
= 0 ;
18548 char *kwnames
[] = {
18549 (char *) "self", NULL
18552 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetUnicodeKey",kwnames
,&obj0
)) goto fail
;
18553 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18554 if (SWIG_arg_fail(1)) SWIG_fail
;
18556 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18557 result
= (int)wxKeyEvent_GetUnicodeKey(arg1
);
18559 wxPyEndAllowThreads(__tstate
);
18560 if (PyErr_Occurred()) SWIG_fail
;
18563 resultobj
= SWIG_From_int((int)(result
));
18571 static PyObject
*_wrap_KeyEvent_GetRawKeyCode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18572 PyObject
*resultobj
;
18573 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18574 unsigned int result
;
18575 PyObject
* obj0
= 0 ;
18576 char *kwnames
[] = {
18577 (char *) "self", NULL
18580 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetRawKeyCode",kwnames
,&obj0
)) goto fail
;
18581 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18582 if (SWIG_arg_fail(1)) SWIG_fail
;
18584 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18585 result
= (unsigned int)((wxKeyEvent
const *)arg1
)->GetRawKeyCode();
18587 wxPyEndAllowThreads(__tstate
);
18588 if (PyErr_Occurred()) SWIG_fail
;
18591 resultobj
= SWIG_From_unsigned_SS_int((unsigned int)(result
));
18599 static PyObject
*_wrap_KeyEvent_GetRawKeyFlags(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18600 PyObject
*resultobj
;
18601 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18602 unsigned int result
;
18603 PyObject
* obj0
= 0 ;
18604 char *kwnames
[] = {
18605 (char *) "self", NULL
18608 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetRawKeyFlags",kwnames
,&obj0
)) goto fail
;
18609 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18610 if (SWIG_arg_fail(1)) SWIG_fail
;
18612 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18613 result
= (unsigned int)((wxKeyEvent
const *)arg1
)->GetRawKeyFlags();
18615 wxPyEndAllowThreads(__tstate
);
18616 if (PyErr_Occurred()) SWIG_fail
;
18619 resultobj
= SWIG_From_unsigned_SS_int((unsigned int)(result
));
18627 static PyObject
*_wrap_KeyEvent_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18628 PyObject
*resultobj
;
18629 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18631 PyObject
* obj0
= 0 ;
18632 char *kwnames
[] = {
18633 (char *) "self", NULL
18636 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
18637 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18638 if (SWIG_arg_fail(1)) SWIG_fail
;
18640 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18641 result
= (arg1
)->GetPosition();
18643 wxPyEndAllowThreads(__tstate
);
18644 if (PyErr_Occurred()) SWIG_fail
;
18647 wxPoint
* resultptr
;
18648 resultptr
= new wxPoint((wxPoint
&)(result
));
18649 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
18657 static PyObject
*_wrap_KeyEvent_GetPositionTuple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18658 PyObject
*resultobj
;
18659 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18660 long *arg2
= (long *) 0 ;
18661 long *arg3
= (long *) 0 ;
18666 PyObject
* obj0
= 0 ;
18667 char *kwnames
[] = {
18668 (char *) "self", NULL
18671 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
18672 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
18673 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetPositionTuple",kwnames
,&obj0
)) goto fail
;
18674 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18675 if (SWIG_arg_fail(1)) SWIG_fail
;
18677 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18678 (arg1
)->GetPosition(arg2
,arg3
);
18680 wxPyEndAllowThreads(__tstate
);
18681 if (PyErr_Occurred()) SWIG_fail
;
18683 Py_INCREF(Py_None
); resultobj
= Py_None
;
18684 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
18685 SWIG_From_long((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_long
, 0)));
18686 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
18687 SWIG_From_long((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, 0)));
18694 static PyObject
*_wrap_KeyEvent_GetX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18695 PyObject
*resultobj
;
18696 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18698 PyObject
* obj0
= 0 ;
18699 char *kwnames
[] = {
18700 (char *) "self", NULL
18703 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetX",kwnames
,&obj0
)) goto fail
;
18704 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18705 if (SWIG_arg_fail(1)) SWIG_fail
;
18707 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18708 result
= (int)((wxKeyEvent
const *)arg1
)->GetX();
18710 wxPyEndAllowThreads(__tstate
);
18711 if (PyErr_Occurred()) SWIG_fail
;
18714 resultobj
= SWIG_From_int((int)(result
));
18722 static PyObject
*_wrap_KeyEvent_GetY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18723 PyObject
*resultobj
;
18724 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18726 PyObject
* obj0
= 0 ;
18727 char *kwnames
[] = {
18728 (char *) "self", NULL
18731 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetY",kwnames
,&obj0
)) goto fail
;
18732 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18733 if (SWIG_arg_fail(1)) SWIG_fail
;
18735 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18736 result
= (int)((wxKeyEvent
const *)arg1
)->GetY();
18738 wxPyEndAllowThreads(__tstate
);
18739 if (PyErr_Occurred()) SWIG_fail
;
18742 resultobj
= SWIG_From_int((int)(result
));
18750 static PyObject
*_wrap_KeyEvent_m_x_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18751 PyObject
*resultobj
;
18752 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18754 PyObject
* obj0
= 0 ;
18755 PyObject
* obj1
= 0 ;
18756 char *kwnames
[] = {
18757 (char *) "self",(char *) "m_x", NULL
18760 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_x_set",kwnames
,&obj0
,&obj1
)) goto fail
;
18761 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18762 if (SWIG_arg_fail(1)) SWIG_fail
;
18764 arg2
= (int)(SWIG_As_int(obj1
));
18765 if (SWIG_arg_fail(2)) SWIG_fail
;
18767 if (arg1
) (arg1
)->m_x
= arg2
;
18769 Py_INCREF(Py_None
); resultobj
= Py_None
;
18776 static PyObject
*_wrap_KeyEvent_m_x_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18777 PyObject
*resultobj
;
18778 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18780 PyObject
* obj0
= 0 ;
18781 char *kwnames
[] = {
18782 (char *) "self", NULL
18785 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_x_get",kwnames
,&obj0
)) goto fail
;
18786 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18787 if (SWIG_arg_fail(1)) SWIG_fail
;
18788 result
= (int) ((arg1
)->m_x
);
18791 resultobj
= SWIG_From_int((int)(result
));
18799 static PyObject
*_wrap_KeyEvent_m_y_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18800 PyObject
*resultobj
;
18801 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18803 PyObject
* obj0
= 0 ;
18804 PyObject
* obj1
= 0 ;
18805 char *kwnames
[] = {
18806 (char *) "self",(char *) "m_y", NULL
18809 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_y_set",kwnames
,&obj0
,&obj1
)) goto fail
;
18810 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18811 if (SWIG_arg_fail(1)) SWIG_fail
;
18813 arg2
= (int)(SWIG_As_int(obj1
));
18814 if (SWIG_arg_fail(2)) SWIG_fail
;
18816 if (arg1
) (arg1
)->m_y
= arg2
;
18818 Py_INCREF(Py_None
); resultobj
= Py_None
;
18825 static PyObject
*_wrap_KeyEvent_m_y_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18826 PyObject
*resultobj
;
18827 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18829 PyObject
* obj0
= 0 ;
18830 char *kwnames
[] = {
18831 (char *) "self", NULL
18834 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_y_get",kwnames
,&obj0
)) goto fail
;
18835 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18836 if (SWIG_arg_fail(1)) SWIG_fail
;
18837 result
= (int) ((arg1
)->m_y
);
18840 resultobj
= SWIG_From_int((int)(result
));
18848 static PyObject
*_wrap_KeyEvent_m_keyCode_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18849 PyObject
*resultobj
;
18850 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18852 PyObject
* obj0
= 0 ;
18853 PyObject
* obj1
= 0 ;
18854 char *kwnames
[] = {
18855 (char *) "self",(char *) "m_keyCode", NULL
18858 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_keyCode_set",kwnames
,&obj0
,&obj1
)) goto fail
;
18859 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18860 if (SWIG_arg_fail(1)) SWIG_fail
;
18862 arg2
= (long)(SWIG_As_long(obj1
));
18863 if (SWIG_arg_fail(2)) SWIG_fail
;
18865 if (arg1
) (arg1
)->m_keyCode
= arg2
;
18867 Py_INCREF(Py_None
); resultobj
= Py_None
;
18874 static PyObject
*_wrap_KeyEvent_m_keyCode_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18875 PyObject
*resultobj
;
18876 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18878 PyObject
* obj0
= 0 ;
18879 char *kwnames
[] = {
18880 (char *) "self", NULL
18883 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_keyCode_get",kwnames
,&obj0
)) goto fail
;
18884 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18885 if (SWIG_arg_fail(1)) SWIG_fail
;
18886 result
= (long) ((arg1
)->m_keyCode
);
18889 resultobj
= SWIG_From_long((long)(result
));
18897 static PyObject
*_wrap_KeyEvent_m_controlDown_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18898 PyObject
*resultobj
;
18899 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18901 PyObject
* obj0
= 0 ;
18902 PyObject
* obj1
= 0 ;
18903 char *kwnames
[] = {
18904 (char *) "self",(char *) "m_controlDown", NULL
18907 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_controlDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
18908 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18909 if (SWIG_arg_fail(1)) SWIG_fail
;
18911 arg2
= (bool)(SWIG_As_bool(obj1
));
18912 if (SWIG_arg_fail(2)) SWIG_fail
;
18914 if (arg1
) (arg1
)->m_controlDown
= arg2
;
18916 Py_INCREF(Py_None
); resultobj
= Py_None
;
18923 static PyObject
*_wrap_KeyEvent_m_controlDown_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18924 PyObject
*resultobj
;
18925 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18927 PyObject
* obj0
= 0 ;
18928 char *kwnames
[] = {
18929 (char *) "self", NULL
18932 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_controlDown_get",kwnames
,&obj0
)) goto fail
;
18933 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18934 if (SWIG_arg_fail(1)) SWIG_fail
;
18935 result
= (bool) ((arg1
)->m_controlDown
);
18938 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18946 static PyObject
*_wrap_KeyEvent_m_shiftDown_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18947 PyObject
*resultobj
;
18948 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18950 PyObject
* obj0
= 0 ;
18951 PyObject
* obj1
= 0 ;
18952 char *kwnames
[] = {
18953 (char *) "self",(char *) "m_shiftDown", NULL
18956 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_shiftDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
18957 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18958 if (SWIG_arg_fail(1)) SWIG_fail
;
18960 arg2
= (bool)(SWIG_As_bool(obj1
));
18961 if (SWIG_arg_fail(2)) SWIG_fail
;
18963 if (arg1
) (arg1
)->m_shiftDown
= arg2
;
18965 Py_INCREF(Py_None
); resultobj
= Py_None
;
18972 static PyObject
*_wrap_KeyEvent_m_shiftDown_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18973 PyObject
*resultobj
;
18974 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18976 PyObject
* obj0
= 0 ;
18977 char *kwnames
[] = {
18978 (char *) "self", NULL
18981 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_shiftDown_get",kwnames
,&obj0
)) goto fail
;
18982 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18983 if (SWIG_arg_fail(1)) SWIG_fail
;
18984 result
= (bool) ((arg1
)->m_shiftDown
);
18987 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18995 static PyObject
*_wrap_KeyEvent_m_altDown_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18996 PyObject
*resultobj
;
18997 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18999 PyObject
* obj0
= 0 ;
19000 PyObject
* obj1
= 0 ;
19001 char *kwnames
[] = {
19002 (char *) "self",(char *) "m_altDown", NULL
19005 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_altDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
19006 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
19007 if (SWIG_arg_fail(1)) SWIG_fail
;
19009 arg2
= (bool)(SWIG_As_bool(obj1
));
19010 if (SWIG_arg_fail(2)) SWIG_fail
;
19012 if (arg1
) (arg1
)->m_altDown
= arg2
;
19014 Py_INCREF(Py_None
); resultobj
= Py_None
;
19021 static PyObject
*_wrap_KeyEvent_m_altDown_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19022 PyObject
*resultobj
;
19023 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
19025 PyObject
* obj0
= 0 ;
19026 char *kwnames
[] = {
19027 (char *) "self", NULL
19030 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_altDown_get",kwnames
,&obj0
)) goto fail
;
19031 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
19032 if (SWIG_arg_fail(1)) SWIG_fail
;
19033 result
= (bool) ((arg1
)->m_altDown
);
19036 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19044 static PyObject
*_wrap_KeyEvent_m_metaDown_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19045 PyObject
*resultobj
;
19046 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
19048 PyObject
* obj0
= 0 ;
19049 PyObject
* obj1
= 0 ;
19050 char *kwnames
[] = {
19051 (char *) "self",(char *) "m_metaDown", NULL
19054 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_metaDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
19055 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
19056 if (SWIG_arg_fail(1)) SWIG_fail
;
19058 arg2
= (bool)(SWIG_As_bool(obj1
));
19059 if (SWIG_arg_fail(2)) SWIG_fail
;
19061 if (arg1
) (arg1
)->m_metaDown
= arg2
;
19063 Py_INCREF(Py_None
); resultobj
= Py_None
;
19070 static PyObject
*_wrap_KeyEvent_m_metaDown_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19071 PyObject
*resultobj
;
19072 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
19074 PyObject
* obj0
= 0 ;
19075 char *kwnames
[] = {
19076 (char *) "self", NULL
19079 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_metaDown_get",kwnames
,&obj0
)) goto fail
;
19080 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
19081 if (SWIG_arg_fail(1)) SWIG_fail
;
19082 result
= (bool) ((arg1
)->m_metaDown
);
19085 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19093 static PyObject
*_wrap_KeyEvent_m_scanCode_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19094 PyObject
*resultobj
;
19095 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
19097 PyObject
* obj0
= 0 ;
19098 PyObject
* obj1
= 0 ;
19099 char *kwnames
[] = {
19100 (char *) "self",(char *) "m_scanCode", NULL
19103 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_scanCode_set",kwnames
,&obj0
,&obj1
)) goto fail
;
19104 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
19105 if (SWIG_arg_fail(1)) SWIG_fail
;
19107 arg2
= (bool)(SWIG_As_bool(obj1
));
19108 if (SWIG_arg_fail(2)) SWIG_fail
;
19110 if (arg1
) (arg1
)->m_scanCode
= arg2
;
19112 Py_INCREF(Py_None
); resultobj
= Py_None
;
19119 static PyObject
*_wrap_KeyEvent_m_scanCode_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19120 PyObject
*resultobj
;
19121 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
19123 PyObject
* obj0
= 0 ;
19124 char *kwnames
[] = {
19125 (char *) "self", NULL
19128 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_scanCode_get",kwnames
,&obj0
)) goto fail
;
19129 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
19130 if (SWIG_arg_fail(1)) SWIG_fail
;
19131 result
= (bool) ((arg1
)->m_scanCode
);
19134 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19142 static PyObject
*_wrap_KeyEvent_m_rawCode_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19143 PyObject
*resultobj
;
19144 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
19145 unsigned int arg2
;
19146 PyObject
* obj0
= 0 ;
19147 PyObject
* obj1
= 0 ;
19148 char *kwnames
[] = {
19149 (char *) "self",(char *) "m_rawCode", NULL
19152 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_rawCode_set",kwnames
,&obj0
,&obj1
)) goto fail
;
19153 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
19154 if (SWIG_arg_fail(1)) SWIG_fail
;
19156 arg2
= (unsigned int)(SWIG_As_unsigned_SS_int(obj1
));
19157 if (SWIG_arg_fail(2)) SWIG_fail
;
19159 if (arg1
) (arg1
)->m_rawCode
= arg2
;
19161 Py_INCREF(Py_None
); resultobj
= Py_None
;
19168 static PyObject
*_wrap_KeyEvent_m_rawCode_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19169 PyObject
*resultobj
;
19170 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
19171 unsigned int result
;
19172 PyObject
* obj0
= 0 ;
19173 char *kwnames
[] = {
19174 (char *) "self", NULL
19177 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_rawCode_get",kwnames
,&obj0
)) goto fail
;
19178 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
19179 if (SWIG_arg_fail(1)) SWIG_fail
;
19180 result
= (unsigned int) ((arg1
)->m_rawCode
);
19183 resultobj
= SWIG_From_unsigned_SS_int((unsigned int)(result
));
19191 static PyObject
*_wrap_KeyEvent_m_rawFlags_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19192 PyObject
*resultobj
;
19193 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
19194 unsigned int arg2
;
19195 PyObject
* obj0
= 0 ;
19196 PyObject
* obj1
= 0 ;
19197 char *kwnames
[] = {
19198 (char *) "self",(char *) "m_rawFlags", NULL
19201 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_rawFlags_set",kwnames
,&obj0
,&obj1
)) goto fail
;
19202 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
19203 if (SWIG_arg_fail(1)) SWIG_fail
;
19205 arg2
= (unsigned int)(SWIG_As_unsigned_SS_int(obj1
));
19206 if (SWIG_arg_fail(2)) SWIG_fail
;
19208 if (arg1
) (arg1
)->m_rawFlags
= arg2
;
19210 Py_INCREF(Py_None
); resultobj
= Py_None
;
19217 static PyObject
*_wrap_KeyEvent_m_rawFlags_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19218 PyObject
*resultobj
;
19219 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
19220 unsigned int result
;
19221 PyObject
* obj0
= 0 ;
19222 char *kwnames
[] = {
19223 (char *) "self", NULL
19226 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_rawFlags_get",kwnames
,&obj0
)) goto fail
;
19227 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
19228 if (SWIG_arg_fail(1)) SWIG_fail
;
19229 result
= (unsigned int) ((arg1
)->m_rawFlags
);
19232 resultobj
= SWIG_From_unsigned_SS_int((unsigned int)(result
));
19240 static PyObject
* KeyEvent_swigregister(PyObject
*, PyObject
*args
) {
19242 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19243 SWIG_TypeClientData(SWIGTYPE_p_wxKeyEvent
, obj
);
19245 return Py_BuildValue((char *)"");
19247 static PyObject
*_wrap_new_SizeEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19248 PyObject
*resultobj
;
19249 wxSize
const &arg1_defvalue
= wxDefaultSize
;
19250 wxSize
*arg1
= (wxSize
*) &arg1_defvalue
;
19251 int arg2
= (int) 0 ;
19252 wxSizeEvent
*result
;
19254 PyObject
* obj0
= 0 ;
19255 PyObject
* obj1
= 0 ;
19256 char *kwnames
[] = {
19257 (char *) "sz",(char *) "winid", NULL
19260 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_SizeEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
19264 if ( ! wxSize_helper(obj0
, &arg1
)) SWIG_fail
;
19269 arg2
= (int)(SWIG_As_int(obj1
));
19270 if (SWIG_arg_fail(2)) SWIG_fail
;
19274 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19275 result
= (wxSizeEvent
*)new wxSizeEvent((wxSize
const &)*arg1
,arg2
);
19277 wxPyEndAllowThreads(__tstate
);
19278 if (PyErr_Occurred()) SWIG_fail
;
19280 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizeEvent
, 1);
19287 static PyObject
*_wrap_SizeEvent_GetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19288 PyObject
*resultobj
;
19289 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
19291 PyObject
* obj0
= 0 ;
19292 char *kwnames
[] = {
19293 (char *) "self", NULL
19296 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizeEvent_GetSize",kwnames
,&obj0
)) goto fail
;
19297 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizeEvent
, SWIG_POINTER_EXCEPTION
| 0);
19298 if (SWIG_arg_fail(1)) SWIG_fail
;
19300 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19301 result
= ((wxSizeEvent
const *)arg1
)->GetSize();
19303 wxPyEndAllowThreads(__tstate
);
19304 if (PyErr_Occurred()) SWIG_fail
;
19307 wxSize
* resultptr
;
19308 resultptr
= new wxSize((wxSize
&)(result
));
19309 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
19317 static PyObject
*_wrap_SizeEvent_GetRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19318 PyObject
*resultobj
;
19319 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
19321 PyObject
* obj0
= 0 ;
19322 char *kwnames
[] = {
19323 (char *) "self", NULL
19326 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizeEvent_GetRect",kwnames
,&obj0
)) goto fail
;
19327 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizeEvent
, SWIG_POINTER_EXCEPTION
| 0);
19328 if (SWIG_arg_fail(1)) SWIG_fail
;
19330 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19331 result
= ((wxSizeEvent
const *)arg1
)->GetRect();
19333 wxPyEndAllowThreads(__tstate
);
19334 if (PyErr_Occurred()) SWIG_fail
;
19337 wxRect
* resultptr
;
19338 resultptr
= new wxRect((wxRect
&)(result
));
19339 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
19347 static PyObject
*_wrap_SizeEvent_SetRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19348 PyObject
*resultobj
;
19349 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
19351 PyObject
* obj0
= 0 ;
19352 PyObject
* obj1
= 0 ;
19353 char *kwnames
[] = {
19354 (char *) "self",(char *) "rect", NULL
19357 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizeEvent_SetRect",kwnames
,&obj0
,&obj1
)) goto fail
;
19358 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizeEvent
, SWIG_POINTER_EXCEPTION
| 0);
19359 if (SWIG_arg_fail(1)) SWIG_fail
;
19362 SWIG_Python_ConvertPtr(obj1
, (void **)&argp
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
);
19363 if (SWIG_arg_fail(2)) SWIG_fail
;
19364 if (argp
== NULL
) {
19365 SWIG_null_ref("wxRect");
19367 if (SWIG_arg_fail(2)) SWIG_fail
;
19371 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19372 (arg1
)->SetRect(arg2
);
19374 wxPyEndAllowThreads(__tstate
);
19375 if (PyErr_Occurred()) SWIG_fail
;
19377 Py_INCREF(Py_None
); resultobj
= Py_None
;
19384 static PyObject
*_wrap_SizeEvent_SetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19385 PyObject
*resultobj
;
19386 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
19388 PyObject
* obj0
= 0 ;
19389 PyObject
* obj1
= 0 ;
19390 char *kwnames
[] = {
19391 (char *) "self",(char *) "size", NULL
19394 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizeEvent_SetSize",kwnames
,&obj0
,&obj1
)) goto fail
;
19395 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizeEvent
, SWIG_POINTER_EXCEPTION
| 0);
19396 if (SWIG_arg_fail(1)) SWIG_fail
;
19399 SWIG_Python_ConvertPtr(obj1
, (void **)&argp
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
);
19400 if (SWIG_arg_fail(2)) SWIG_fail
;
19401 if (argp
== NULL
) {
19402 SWIG_null_ref("wxSize");
19404 if (SWIG_arg_fail(2)) SWIG_fail
;
19408 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19409 wxSizeEvent_SetSize(arg1
,arg2
);
19411 wxPyEndAllowThreads(__tstate
);
19412 if (PyErr_Occurred()) SWIG_fail
;
19414 Py_INCREF(Py_None
); resultobj
= Py_None
;
19421 static PyObject
*_wrap_SizeEvent_m_size_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19422 PyObject
*resultobj
;
19423 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
19424 wxSize
*arg2
= (wxSize
*) 0 ;
19425 PyObject
* obj0
= 0 ;
19426 PyObject
* obj1
= 0 ;
19427 char *kwnames
[] = {
19428 (char *) "self",(char *) "m_size", NULL
19431 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizeEvent_m_size_set",kwnames
,&obj0
,&obj1
)) goto fail
;
19432 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizeEvent
, SWIG_POINTER_EXCEPTION
| 0);
19433 if (SWIG_arg_fail(1)) SWIG_fail
;
19434 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
| 0);
19435 if (SWIG_arg_fail(2)) SWIG_fail
;
19436 if (arg1
) (arg1
)->m_size
= *arg2
;
19438 Py_INCREF(Py_None
); resultobj
= Py_None
;
19445 static PyObject
*_wrap_SizeEvent_m_size_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19446 PyObject
*resultobj
;
19447 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
19449 PyObject
* obj0
= 0 ;
19450 char *kwnames
[] = {
19451 (char *) "self", NULL
19454 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizeEvent_m_size_get",kwnames
,&obj0
)) goto fail
;
19455 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizeEvent
, SWIG_POINTER_EXCEPTION
| 0);
19456 if (SWIG_arg_fail(1)) SWIG_fail
;
19457 result
= (wxSize
*)& ((arg1
)->m_size
);
19459 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSize
, 0);
19466 static PyObject
*_wrap_SizeEvent_m_rect_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19467 PyObject
*resultobj
;
19468 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
19469 wxRect
*arg2
= (wxRect
*) 0 ;
19470 PyObject
* obj0
= 0 ;
19471 PyObject
* obj1
= 0 ;
19472 char *kwnames
[] = {
19473 (char *) "self",(char *) "m_rect", NULL
19476 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizeEvent_m_rect_set",kwnames
,&obj0
,&obj1
)) goto fail
;
19477 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizeEvent
, SWIG_POINTER_EXCEPTION
| 0);
19478 if (SWIG_arg_fail(1)) SWIG_fail
;
19479 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
19480 if (SWIG_arg_fail(2)) SWIG_fail
;
19481 if (arg1
) (arg1
)->m_rect
= *arg2
;
19483 Py_INCREF(Py_None
); resultobj
= Py_None
;
19490 static PyObject
*_wrap_SizeEvent_m_rect_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19491 PyObject
*resultobj
;
19492 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
19494 PyObject
* obj0
= 0 ;
19495 char *kwnames
[] = {
19496 (char *) "self", NULL
19499 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizeEvent_m_rect_get",kwnames
,&obj0
)) goto fail
;
19500 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizeEvent
, SWIG_POINTER_EXCEPTION
| 0);
19501 if (SWIG_arg_fail(1)) SWIG_fail
;
19502 result
= (wxRect
*)& ((arg1
)->m_rect
);
19504 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 0);
19511 static PyObject
* SizeEvent_swigregister(PyObject
*, PyObject
*args
) {
19513 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19514 SWIG_TypeClientData(SWIGTYPE_p_wxSizeEvent
, obj
);
19516 return Py_BuildValue((char *)"");
19518 static PyObject
*_wrap_new_MoveEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19519 PyObject
*resultobj
;
19520 wxPoint
const &arg1_defvalue
= wxDefaultPosition
;
19521 wxPoint
*arg1
= (wxPoint
*) &arg1_defvalue
;
19522 int arg2
= (int) 0 ;
19523 wxMoveEvent
*result
;
19525 PyObject
* obj0
= 0 ;
19526 PyObject
* obj1
= 0 ;
19527 char *kwnames
[] = {
19528 (char *) "pos",(char *) "winid", NULL
19531 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_MoveEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
19535 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
19540 arg2
= (int)(SWIG_As_int(obj1
));
19541 if (SWIG_arg_fail(2)) SWIG_fail
;
19545 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19546 result
= (wxMoveEvent
*)new wxMoveEvent((wxPoint
const &)*arg1
,arg2
);
19548 wxPyEndAllowThreads(__tstate
);
19549 if (PyErr_Occurred()) SWIG_fail
;
19551 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMoveEvent
, 1);
19558 static PyObject
*_wrap_MoveEvent_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19559 PyObject
*resultobj
;
19560 wxMoveEvent
*arg1
= (wxMoveEvent
*) 0 ;
19562 PyObject
* obj0
= 0 ;
19563 char *kwnames
[] = {
19564 (char *) "self", NULL
19567 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MoveEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
19568 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMoveEvent
, SWIG_POINTER_EXCEPTION
| 0);
19569 if (SWIG_arg_fail(1)) SWIG_fail
;
19571 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19572 result
= ((wxMoveEvent
const *)arg1
)->GetPosition();
19574 wxPyEndAllowThreads(__tstate
);
19575 if (PyErr_Occurred()) SWIG_fail
;
19578 wxPoint
* resultptr
;
19579 resultptr
= new wxPoint((wxPoint
&)(result
));
19580 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
19588 static PyObject
*_wrap_MoveEvent_GetRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19589 PyObject
*resultobj
;
19590 wxMoveEvent
*arg1
= (wxMoveEvent
*) 0 ;
19592 PyObject
* obj0
= 0 ;
19593 char *kwnames
[] = {
19594 (char *) "self", NULL
19597 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MoveEvent_GetRect",kwnames
,&obj0
)) goto fail
;
19598 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMoveEvent
, SWIG_POINTER_EXCEPTION
| 0);
19599 if (SWIG_arg_fail(1)) SWIG_fail
;
19601 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19602 result
= ((wxMoveEvent
const *)arg1
)->GetRect();
19604 wxPyEndAllowThreads(__tstate
);
19605 if (PyErr_Occurred()) SWIG_fail
;
19608 wxRect
* resultptr
;
19609 resultptr
= new wxRect((wxRect
&)(result
));
19610 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
19618 static PyObject
*_wrap_MoveEvent_SetRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19619 PyObject
*resultobj
;
19620 wxMoveEvent
*arg1
= (wxMoveEvent
*) 0 ;
19623 PyObject
* obj0
= 0 ;
19624 PyObject
* obj1
= 0 ;
19625 char *kwnames
[] = {
19626 (char *) "self",(char *) "rect", NULL
19629 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MoveEvent_SetRect",kwnames
,&obj0
,&obj1
)) goto fail
;
19630 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMoveEvent
, SWIG_POINTER_EXCEPTION
| 0);
19631 if (SWIG_arg_fail(1)) SWIG_fail
;
19634 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
19637 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19638 (arg1
)->SetRect((wxRect
const &)*arg2
);
19640 wxPyEndAllowThreads(__tstate
);
19641 if (PyErr_Occurred()) SWIG_fail
;
19643 Py_INCREF(Py_None
); resultobj
= Py_None
;
19650 static PyObject
*_wrap_MoveEvent_SetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19651 PyObject
*resultobj
;
19652 wxMoveEvent
*arg1
= (wxMoveEvent
*) 0 ;
19653 wxPoint
*arg2
= 0 ;
19655 PyObject
* obj0
= 0 ;
19656 PyObject
* obj1
= 0 ;
19657 char *kwnames
[] = {
19658 (char *) "self",(char *) "pos", NULL
19661 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MoveEvent_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
19662 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMoveEvent
, SWIG_POINTER_EXCEPTION
| 0);
19663 if (SWIG_arg_fail(1)) SWIG_fail
;
19666 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
19669 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19670 (arg1
)->SetPosition((wxPoint
const &)*arg2
);
19672 wxPyEndAllowThreads(__tstate
);
19673 if (PyErr_Occurred()) SWIG_fail
;
19675 Py_INCREF(Py_None
); resultobj
= Py_None
;
19682 static PyObject
* MoveEvent_swigregister(PyObject
*, PyObject
*args
) {
19684 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19685 SWIG_TypeClientData(SWIGTYPE_p_wxMoveEvent
, obj
);
19687 return Py_BuildValue((char *)"");
19689 static PyObject
*_wrap_new_PaintEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19690 PyObject
*resultobj
;
19691 int arg1
= (int) 0 ;
19692 wxPaintEvent
*result
;
19693 PyObject
* obj0
= 0 ;
19694 char *kwnames
[] = {
19695 (char *) "Id", NULL
19698 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_PaintEvent",kwnames
,&obj0
)) goto fail
;
19701 arg1
= (int)(SWIG_As_int(obj0
));
19702 if (SWIG_arg_fail(1)) SWIG_fail
;
19706 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19707 result
= (wxPaintEvent
*)new wxPaintEvent(arg1
);
19709 wxPyEndAllowThreads(__tstate
);
19710 if (PyErr_Occurred()) SWIG_fail
;
19712 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPaintEvent
, 1);
19719 static PyObject
* PaintEvent_swigregister(PyObject
*, PyObject
*args
) {
19721 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19722 SWIG_TypeClientData(SWIGTYPE_p_wxPaintEvent
, obj
);
19724 return Py_BuildValue((char *)"");
19726 static PyObject
*_wrap_new_NcPaintEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19727 PyObject
*resultobj
;
19728 int arg1
= (int) 0 ;
19729 wxNcPaintEvent
*result
;
19730 PyObject
* obj0
= 0 ;
19731 char *kwnames
[] = {
19732 (char *) "winid", NULL
19735 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_NcPaintEvent",kwnames
,&obj0
)) goto fail
;
19738 arg1
= (int)(SWIG_As_int(obj0
));
19739 if (SWIG_arg_fail(1)) SWIG_fail
;
19743 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19744 result
= (wxNcPaintEvent
*)new wxNcPaintEvent(arg1
);
19746 wxPyEndAllowThreads(__tstate
);
19747 if (PyErr_Occurred()) SWIG_fail
;
19749 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNcPaintEvent
, 1);
19756 static PyObject
* NcPaintEvent_swigregister(PyObject
*, PyObject
*args
) {
19758 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19759 SWIG_TypeClientData(SWIGTYPE_p_wxNcPaintEvent
, obj
);
19761 return Py_BuildValue((char *)"");
19763 static PyObject
*_wrap_new_EraseEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19764 PyObject
*resultobj
;
19765 int arg1
= (int) 0 ;
19766 wxDC
*arg2
= (wxDC
*) NULL
;
19767 wxEraseEvent
*result
;
19768 PyObject
* obj0
= 0 ;
19769 PyObject
* obj1
= 0 ;
19770 char *kwnames
[] = {
19771 (char *) "Id",(char *) "dc", NULL
19774 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_EraseEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
19777 arg1
= (int)(SWIG_As_int(obj0
));
19778 if (SWIG_arg_fail(1)) SWIG_fail
;
19782 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
19783 if (SWIG_arg_fail(2)) SWIG_fail
;
19786 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19787 result
= (wxEraseEvent
*)new wxEraseEvent(arg1
,arg2
);
19789 wxPyEndAllowThreads(__tstate
);
19790 if (PyErr_Occurred()) SWIG_fail
;
19792 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxEraseEvent
, 1);
19799 static PyObject
*_wrap_EraseEvent_GetDC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19800 PyObject
*resultobj
;
19801 wxEraseEvent
*arg1
= (wxEraseEvent
*) 0 ;
19803 PyObject
* obj0
= 0 ;
19804 char *kwnames
[] = {
19805 (char *) "self", NULL
19808 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EraseEvent_GetDC",kwnames
,&obj0
)) goto fail
;
19809 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEraseEvent
, SWIG_POINTER_EXCEPTION
| 0);
19810 if (SWIG_arg_fail(1)) SWIG_fail
;
19812 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19813 result
= (wxDC
*)((wxEraseEvent
const *)arg1
)->GetDC();
19815 wxPyEndAllowThreads(__tstate
);
19816 if (PyErr_Occurred()) SWIG_fail
;
19819 resultobj
= wxPyMake_wxObject(result
, 0);
19827 static PyObject
* EraseEvent_swigregister(PyObject
*, PyObject
*args
) {
19829 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19830 SWIG_TypeClientData(SWIGTYPE_p_wxEraseEvent
, obj
);
19832 return Py_BuildValue((char *)"");
19834 static PyObject
*_wrap_new_FocusEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19835 PyObject
*resultobj
;
19836 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
19837 int arg2
= (int) 0 ;
19838 wxFocusEvent
*result
;
19839 PyObject
* obj0
= 0 ;
19840 PyObject
* obj1
= 0 ;
19841 char *kwnames
[] = {
19842 (char *) "type",(char *) "winid", NULL
19845 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_FocusEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
19848 arg1
= (wxEventType
)(SWIG_As_int(obj0
));
19849 if (SWIG_arg_fail(1)) SWIG_fail
;
19854 arg2
= (int)(SWIG_As_int(obj1
));
19855 if (SWIG_arg_fail(2)) SWIG_fail
;
19859 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19860 result
= (wxFocusEvent
*)new wxFocusEvent(arg1
,arg2
);
19862 wxPyEndAllowThreads(__tstate
);
19863 if (PyErr_Occurred()) SWIG_fail
;
19865 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFocusEvent
, 1);
19872 static PyObject
*_wrap_FocusEvent_GetWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19873 PyObject
*resultobj
;
19874 wxFocusEvent
*arg1
= (wxFocusEvent
*) 0 ;
19876 PyObject
* obj0
= 0 ;
19877 char *kwnames
[] = {
19878 (char *) "self", NULL
19881 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FocusEvent_GetWindow",kwnames
,&obj0
)) goto fail
;
19882 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFocusEvent
, SWIG_POINTER_EXCEPTION
| 0);
19883 if (SWIG_arg_fail(1)) SWIG_fail
;
19885 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19886 result
= (wxWindow
*)((wxFocusEvent
const *)arg1
)->GetWindow();
19888 wxPyEndAllowThreads(__tstate
);
19889 if (PyErr_Occurred()) SWIG_fail
;
19892 resultobj
= wxPyMake_wxObject(result
, 0);
19900 static PyObject
*_wrap_FocusEvent_SetWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19901 PyObject
*resultobj
;
19902 wxFocusEvent
*arg1
= (wxFocusEvent
*) 0 ;
19903 wxWindow
*arg2
= (wxWindow
*) 0 ;
19904 PyObject
* obj0
= 0 ;
19905 PyObject
* obj1
= 0 ;
19906 char *kwnames
[] = {
19907 (char *) "self",(char *) "win", NULL
19910 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FocusEvent_SetWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
19911 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFocusEvent
, SWIG_POINTER_EXCEPTION
| 0);
19912 if (SWIG_arg_fail(1)) SWIG_fail
;
19913 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
19914 if (SWIG_arg_fail(2)) SWIG_fail
;
19916 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19917 (arg1
)->SetWindow(arg2
);
19919 wxPyEndAllowThreads(__tstate
);
19920 if (PyErr_Occurred()) SWIG_fail
;
19922 Py_INCREF(Py_None
); resultobj
= Py_None
;
19929 static PyObject
* FocusEvent_swigregister(PyObject
*, PyObject
*args
) {
19931 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19932 SWIG_TypeClientData(SWIGTYPE_p_wxFocusEvent
, obj
);
19934 return Py_BuildValue((char *)"");
19936 static PyObject
*_wrap_new_ChildFocusEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19937 PyObject
*resultobj
;
19938 wxWindow
*arg1
= (wxWindow
*) NULL
;
19939 wxChildFocusEvent
*result
;
19940 PyObject
* obj0
= 0 ;
19941 char *kwnames
[] = {
19942 (char *) "win", NULL
19945 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_ChildFocusEvent",kwnames
,&obj0
)) goto fail
;
19947 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
19948 if (SWIG_arg_fail(1)) SWIG_fail
;
19951 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19952 result
= (wxChildFocusEvent
*)new wxChildFocusEvent(arg1
);
19954 wxPyEndAllowThreads(__tstate
);
19955 if (PyErr_Occurred()) SWIG_fail
;
19957 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxChildFocusEvent
, 1);
19964 static PyObject
*_wrap_ChildFocusEvent_GetWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19965 PyObject
*resultobj
;
19966 wxChildFocusEvent
*arg1
= (wxChildFocusEvent
*) 0 ;
19968 PyObject
* obj0
= 0 ;
19969 char *kwnames
[] = {
19970 (char *) "self", NULL
19973 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ChildFocusEvent_GetWindow",kwnames
,&obj0
)) goto fail
;
19974 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxChildFocusEvent
, SWIG_POINTER_EXCEPTION
| 0);
19975 if (SWIG_arg_fail(1)) SWIG_fail
;
19977 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19978 result
= (wxWindow
*)((wxChildFocusEvent
const *)arg1
)->GetWindow();
19980 wxPyEndAllowThreads(__tstate
);
19981 if (PyErr_Occurred()) SWIG_fail
;
19984 resultobj
= wxPyMake_wxObject(result
, 0);
19992 static PyObject
* ChildFocusEvent_swigregister(PyObject
*, PyObject
*args
) {
19994 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19995 SWIG_TypeClientData(SWIGTYPE_p_wxChildFocusEvent
, obj
);
19997 return Py_BuildValue((char *)"");
19999 static PyObject
*_wrap_new_ActivateEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20000 PyObject
*resultobj
;
20001 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
20002 bool arg2
= (bool) true ;
20003 int arg3
= (int) 0 ;
20004 wxActivateEvent
*result
;
20005 PyObject
* obj0
= 0 ;
20006 PyObject
* obj1
= 0 ;
20007 PyObject
* obj2
= 0 ;
20008 char *kwnames
[] = {
20009 (char *) "type",(char *) "active",(char *) "Id", NULL
20012 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_ActivateEvent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20015 arg1
= (wxEventType
)(SWIG_As_int(obj0
));
20016 if (SWIG_arg_fail(1)) SWIG_fail
;
20021 arg2
= (bool)(SWIG_As_bool(obj1
));
20022 if (SWIG_arg_fail(2)) SWIG_fail
;
20027 arg3
= (int)(SWIG_As_int(obj2
));
20028 if (SWIG_arg_fail(3)) SWIG_fail
;
20032 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20033 result
= (wxActivateEvent
*)new wxActivateEvent(arg1
,arg2
,arg3
);
20035 wxPyEndAllowThreads(__tstate
);
20036 if (PyErr_Occurred()) SWIG_fail
;
20038 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxActivateEvent
, 1);
20045 static PyObject
*_wrap_ActivateEvent_GetActive(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20046 PyObject
*resultobj
;
20047 wxActivateEvent
*arg1
= (wxActivateEvent
*) 0 ;
20049 PyObject
* obj0
= 0 ;
20050 char *kwnames
[] = {
20051 (char *) "self", NULL
20054 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ActivateEvent_GetActive",kwnames
,&obj0
)) goto fail
;
20055 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxActivateEvent
, SWIG_POINTER_EXCEPTION
| 0);
20056 if (SWIG_arg_fail(1)) SWIG_fail
;
20058 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20059 result
= (bool)((wxActivateEvent
const *)arg1
)->GetActive();
20061 wxPyEndAllowThreads(__tstate
);
20062 if (PyErr_Occurred()) SWIG_fail
;
20065 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20073 static PyObject
* ActivateEvent_swigregister(PyObject
*, PyObject
*args
) {
20075 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20076 SWIG_TypeClientData(SWIGTYPE_p_wxActivateEvent
, obj
);
20078 return Py_BuildValue((char *)"");
20080 static PyObject
*_wrap_new_InitDialogEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20081 PyObject
*resultobj
;
20082 int arg1
= (int) 0 ;
20083 wxInitDialogEvent
*result
;
20084 PyObject
* obj0
= 0 ;
20085 char *kwnames
[] = {
20086 (char *) "Id", NULL
20089 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_InitDialogEvent",kwnames
,&obj0
)) goto fail
;
20092 arg1
= (int)(SWIG_As_int(obj0
));
20093 if (SWIG_arg_fail(1)) SWIG_fail
;
20097 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20098 result
= (wxInitDialogEvent
*)new wxInitDialogEvent(arg1
);
20100 wxPyEndAllowThreads(__tstate
);
20101 if (PyErr_Occurred()) SWIG_fail
;
20103 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxInitDialogEvent
, 1);
20110 static PyObject
* InitDialogEvent_swigregister(PyObject
*, PyObject
*args
) {
20112 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20113 SWIG_TypeClientData(SWIGTYPE_p_wxInitDialogEvent
, obj
);
20115 return Py_BuildValue((char *)"");
20117 static PyObject
*_wrap_new_MenuEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20118 PyObject
*resultobj
;
20119 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
20120 int arg2
= (int) 0 ;
20121 wxMenu
*arg3
= (wxMenu
*) NULL
;
20122 wxMenuEvent
*result
;
20123 PyObject
* obj0
= 0 ;
20124 PyObject
* obj1
= 0 ;
20125 PyObject
* obj2
= 0 ;
20126 char *kwnames
[] = {
20127 (char *) "type",(char *) "winid",(char *) "menu", NULL
20130 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_MenuEvent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20133 arg1
= (wxEventType
)(SWIG_As_int(obj0
));
20134 if (SWIG_arg_fail(1)) SWIG_fail
;
20139 arg2
= (int)(SWIG_As_int(obj1
));
20140 if (SWIG_arg_fail(2)) SWIG_fail
;
20144 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
20145 if (SWIG_arg_fail(3)) SWIG_fail
;
20148 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20149 result
= (wxMenuEvent
*)new wxMenuEvent(arg1
,arg2
,arg3
);
20151 wxPyEndAllowThreads(__tstate
);
20152 if (PyErr_Occurred()) SWIG_fail
;
20154 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMenuEvent
, 1);
20161 static PyObject
*_wrap_MenuEvent_GetMenuId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20162 PyObject
*resultobj
;
20163 wxMenuEvent
*arg1
= (wxMenuEvent
*) 0 ;
20165 PyObject
* obj0
= 0 ;
20166 char *kwnames
[] = {
20167 (char *) "self", NULL
20170 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuEvent_GetMenuId",kwnames
,&obj0
)) goto fail
;
20171 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuEvent
, SWIG_POINTER_EXCEPTION
| 0);
20172 if (SWIG_arg_fail(1)) SWIG_fail
;
20174 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20175 result
= (int)((wxMenuEvent
const *)arg1
)->GetMenuId();
20177 wxPyEndAllowThreads(__tstate
);
20178 if (PyErr_Occurred()) SWIG_fail
;
20181 resultobj
= SWIG_From_int((int)(result
));
20189 static PyObject
*_wrap_MenuEvent_IsPopup(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20190 PyObject
*resultobj
;
20191 wxMenuEvent
*arg1
= (wxMenuEvent
*) 0 ;
20193 PyObject
* obj0
= 0 ;
20194 char *kwnames
[] = {
20195 (char *) "self", NULL
20198 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuEvent_IsPopup",kwnames
,&obj0
)) goto fail
;
20199 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuEvent
, SWIG_POINTER_EXCEPTION
| 0);
20200 if (SWIG_arg_fail(1)) SWIG_fail
;
20202 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20203 result
= (bool)((wxMenuEvent
const *)arg1
)->IsPopup();
20205 wxPyEndAllowThreads(__tstate
);
20206 if (PyErr_Occurred()) SWIG_fail
;
20209 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20217 static PyObject
*_wrap_MenuEvent_GetMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20218 PyObject
*resultobj
;
20219 wxMenuEvent
*arg1
= (wxMenuEvent
*) 0 ;
20221 PyObject
* obj0
= 0 ;
20222 char *kwnames
[] = {
20223 (char *) "self", NULL
20226 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuEvent_GetMenu",kwnames
,&obj0
)) goto fail
;
20227 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuEvent
, SWIG_POINTER_EXCEPTION
| 0);
20228 if (SWIG_arg_fail(1)) SWIG_fail
;
20230 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20231 result
= (wxMenu
*)((wxMenuEvent
const *)arg1
)->GetMenu();
20233 wxPyEndAllowThreads(__tstate
);
20234 if (PyErr_Occurred()) SWIG_fail
;
20237 resultobj
= wxPyMake_wxObject(result
, 0);
20245 static PyObject
* MenuEvent_swigregister(PyObject
*, PyObject
*args
) {
20247 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20248 SWIG_TypeClientData(SWIGTYPE_p_wxMenuEvent
, obj
);
20250 return Py_BuildValue((char *)"");
20252 static PyObject
*_wrap_new_CloseEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20253 PyObject
*resultobj
;
20254 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
20255 int arg2
= (int) 0 ;
20256 wxCloseEvent
*result
;
20257 PyObject
* obj0
= 0 ;
20258 PyObject
* obj1
= 0 ;
20259 char *kwnames
[] = {
20260 (char *) "type",(char *) "winid", NULL
20263 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_CloseEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
20266 arg1
= (wxEventType
)(SWIG_As_int(obj0
));
20267 if (SWIG_arg_fail(1)) SWIG_fail
;
20272 arg2
= (int)(SWIG_As_int(obj1
));
20273 if (SWIG_arg_fail(2)) SWIG_fail
;
20277 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20278 result
= (wxCloseEvent
*)new wxCloseEvent(arg1
,arg2
);
20280 wxPyEndAllowThreads(__tstate
);
20281 if (PyErr_Occurred()) SWIG_fail
;
20283 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCloseEvent
, 1);
20290 static PyObject
*_wrap_CloseEvent_SetLoggingOff(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20291 PyObject
*resultobj
;
20292 wxCloseEvent
*arg1
= (wxCloseEvent
*) 0 ;
20294 PyObject
* obj0
= 0 ;
20295 PyObject
* obj1
= 0 ;
20296 char *kwnames
[] = {
20297 (char *) "self",(char *) "logOff", NULL
20300 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CloseEvent_SetLoggingOff",kwnames
,&obj0
,&obj1
)) goto fail
;
20301 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCloseEvent
, SWIG_POINTER_EXCEPTION
| 0);
20302 if (SWIG_arg_fail(1)) SWIG_fail
;
20304 arg2
= (bool)(SWIG_As_bool(obj1
));
20305 if (SWIG_arg_fail(2)) SWIG_fail
;
20308 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20309 (arg1
)->SetLoggingOff(arg2
);
20311 wxPyEndAllowThreads(__tstate
);
20312 if (PyErr_Occurred()) SWIG_fail
;
20314 Py_INCREF(Py_None
); resultobj
= Py_None
;
20321 static PyObject
*_wrap_CloseEvent_GetLoggingOff(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20322 PyObject
*resultobj
;
20323 wxCloseEvent
*arg1
= (wxCloseEvent
*) 0 ;
20325 PyObject
* obj0
= 0 ;
20326 char *kwnames
[] = {
20327 (char *) "self", NULL
20330 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CloseEvent_GetLoggingOff",kwnames
,&obj0
)) goto fail
;
20331 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCloseEvent
, SWIG_POINTER_EXCEPTION
| 0);
20332 if (SWIG_arg_fail(1)) SWIG_fail
;
20334 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20335 result
= (bool)((wxCloseEvent
const *)arg1
)->GetLoggingOff();
20337 wxPyEndAllowThreads(__tstate
);
20338 if (PyErr_Occurred()) SWIG_fail
;
20341 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20349 static PyObject
*_wrap_CloseEvent_Veto(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20350 PyObject
*resultobj
;
20351 wxCloseEvent
*arg1
= (wxCloseEvent
*) 0 ;
20352 bool arg2
= (bool) true ;
20353 PyObject
* obj0
= 0 ;
20354 PyObject
* obj1
= 0 ;
20355 char *kwnames
[] = {
20356 (char *) "self",(char *) "veto", NULL
20359 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:CloseEvent_Veto",kwnames
,&obj0
,&obj1
)) goto fail
;
20360 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCloseEvent
, SWIG_POINTER_EXCEPTION
| 0);
20361 if (SWIG_arg_fail(1)) SWIG_fail
;
20364 arg2
= (bool)(SWIG_As_bool(obj1
));
20365 if (SWIG_arg_fail(2)) SWIG_fail
;
20369 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20370 (arg1
)->Veto(arg2
);
20372 wxPyEndAllowThreads(__tstate
);
20373 if (PyErr_Occurred()) SWIG_fail
;
20375 Py_INCREF(Py_None
); resultobj
= Py_None
;
20382 static PyObject
*_wrap_CloseEvent_GetVeto(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20383 PyObject
*resultobj
;
20384 wxCloseEvent
*arg1
= (wxCloseEvent
*) 0 ;
20386 PyObject
* obj0
= 0 ;
20387 char *kwnames
[] = {
20388 (char *) "self", NULL
20391 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CloseEvent_GetVeto",kwnames
,&obj0
)) goto fail
;
20392 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCloseEvent
, SWIG_POINTER_EXCEPTION
| 0);
20393 if (SWIG_arg_fail(1)) SWIG_fail
;
20395 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20396 result
= (bool)((wxCloseEvent
const *)arg1
)->GetVeto();
20398 wxPyEndAllowThreads(__tstate
);
20399 if (PyErr_Occurred()) SWIG_fail
;
20402 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20410 static PyObject
*_wrap_CloseEvent_SetCanVeto(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20411 PyObject
*resultobj
;
20412 wxCloseEvent
*arg1
= (wxCloseEvent
*) 0 ;
20414 PyObject
* obj0
= 0 ;
20415 PyObject
* obj1
= 0 ;
20416 char *kwnames
[] = {
20417 (char *) "self",(char *) "canVeto", NULL
20420 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CloseEvent_SetCanVeto",kwnames
,&obj0
,&obj1
)) goto fail
;
20421 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCloseEvent
, SWIG_POINTER_EXCEPTION
| 0);
20422 if (SWIG_arg_fail(1)) SWIG_fail
;
20424 arg2
= (bool)(SWIG_As_bool(obj1
));
20425 if (SWIG_arg_fail(2)) SWIG_fail
;
20428 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20429 (arg1
)->SetCanVeto(arg2
);
20431 wxPyEndAllowThreads(__tstate
);
20432 if (PyErr_Occurred()) SWIG_fail
;
20434 Py_INCREF(Py_None
); resultobj
= Py_None
;
20441 static PyObject
*_wrap_CloseEvent_CanVeto(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20442 PyObject
*resultobj
;
20443 wxCloseEvent
*arg1
= (wxCloseEvent
*) 0 ;
20445 PyObject
* obj0
= 0 ;
20446 char *kwnames
[] = {
20447 (char *) "self", NULL
20450 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CloseEvent_CanVeto",kwnames
,&obj0
)) goto fail
;
20451 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCloseEvent
, SWIG_POINTER_EXCEPTION
| 0);
20452 if (SWIG_arg_fail(1)) SWIG_fail
;
20454 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20455 result
= (bool)((wxCloseEvent
const *)arg1
)->CanVeto();
20457 wxPyEndAllowThreads(__tstate
);
20458 if (PyErr_Occurred()) SWIG_fail
;
20461 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20469 static PyObject
* CloseEvent_swigregister(PyObject
*, PyObject
*args
) {
20471 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20472 SWIG_TypeClientData(SWIGTYPE_p_wxCloseEvent
, obj
);
20474 return Py_BuildValue((char *)"");
20476 static PyObject
*_wrap_new_ShowEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20477 PyObject
*resultobj
;
20478 int arg1
= (int) 0 ;
20479 bool arg2
= (bool) false ;
20480 wxShowEvent
*result
;
20481 PyObject
* obj0
= 0 ;
20482 PyObject
* obj1
= 0 ;
20483 char *kwnames
[] = {
20484 (char *) "winid",(char *) "show", NULL
20487 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_ShowEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
20490 arg1
= (int)(SWIG_As_int(obj0
));
20491 if (SWIG_arg_fail(1)) SWIG_fail
;
20496 arg2
= (bool)(SWIG_As_bool(obj1
));
20497 if (SWIG_arg_fail(2)) SWIG_fail
;
20501 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20502 result
= (wxShowEvent
*)new wxShowEvent(arg1
,arg2
);
20504 wxPyEndAllowThreads(__tstate
);
20505 if (PyErr_Occurred()) SWIG_fail
;
20507 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxShowEvent
, 1);
20514 static PyObject
*_wrap_ShowEvent_SetShow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20515 PyObject
*resultobj
;
20516 wxShowEvent
*arg1
= (wxShowEvent
*) 0 ;
20518 PyObject
* obj0
= 0 ;
20519 PyObject
* obj1
= 0 ;
20520 char *kwnames
[] = {
20521 (char *) "self",(char *) "show", NULL
20524 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ShowEvent_SetShow",kwnames
,&obj0
,&obj1
)) goto fail
;
20525 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxShowEvent
, SWIG_POINTER_EXCEPTION
| 0);
20526 if (SWIG_arg_fail(1)) SWIG_fail
;
20528 arg2
= (bool)(SWIG_As_bool(obj1
));
20529 if (SWIG_arg_fail(2)) SWIG_fail
;
20532 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20533 (arg1
)->SetShow(arg2
);
20535 wxPyEndAllowThreads(__tstate
);
20536 if (PyErr_Occurred()) SWIG_fail
;
20538 Py_INCREF(Py_None
); resultobj
= Py_None
;
20545 static PyObject
*_wrap_ShowEvent_GetShow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20546 PyObject
*resultobj
;
20547 wxShowEvent
*arg1
= (wxShowEvent
*) 0 ;
20549 PyObject
* obj0
= 0 ;
20550 char *kwnames
[] = {
20551 (char *) "self", NULL
20554 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ShowEvent_GetShow",kwnames
,&obj0
)) goto fail
;
20555 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxShowEvent
, SWIG_POINTER_EXCEPTION
| 0);
20556 if (SWIG_arg_fail(1)) SWIG_fail
;
20558 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20559 result
= (bool)((wxShowEvent
const *)arg1
)->GetShow();
20561 wxPyEndAllowThreads(__tstate
);
20562 if (PyErr_Occurred()) SWIG_fail
;
20565 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20573 static PyObject
* ShowEvent_swigregister(PyObject
*, PyObject
*args
) {
20575 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20576 SWIG_TypeClientData(SWIGTYPE_p_wxShowEvent
, obj
);
20578 return Py_BuildValue((char *)"");
20580 static PyObject
*_wrap_new_IconizeEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20581 PyObject
*resultobj
;
20582 int arg1
= (int) 0 ;
20583 bool arg2
= (bool) true ;
20584 wxIconizeEvent
*result
;
20585 PyObject
* obj0
= 0 ;
20586 PyObject
* obj1
= 0 ;
20587 char *kwnames
[] = {
20588 (char *) "id",(char *) "iconized", NULL
20591 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_IconizeEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
20594 arg1
= (int)(SWIG_As_int(obj0
));
20595 if (SWIG_arg_fail(1)) SWIG_fail
;
20600 arg2
= (bool)(SWIG_As_bool(obj1
));
20601 if (SWIG_arg_fail(2)) SWIG_fail
;
20605 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20606 result
= (wxIconizeEvent
*)new wxIconizeEvent(arg1
,arg2
);
20608 wxPyEndAllowThreads(__tstate
);
20609 if (PyErr_Occurred()) SWIG_fail
;
20611 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIconizeEvent
, 1);
20618 static PyObject
*_wrap_IconizeEvent_Iconized(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20619 PyObject
*resultobj
;
20620 wxIconizeEvent
*arg1
= (wxIconizeEvent
*) 0 ;
20622 PyObject
* obj0
= 0 ;
20623 char *kwnames
[] = {
20624 (char *) "self", NULL
20627 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IconizeEvent_Iconized",kwnames
,&obj0
)) goto fail
;
20628 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIconizeEvent
, SWIG_POINTER_EXCEPTION
| 0);
20629 if (SWIG_arg_fail(1)) SWIG_fail
;
20631 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20632 result
= (bool)(arg1
)->Iconized();
20634 wxPyEndAllowThreads(__tstate
);
20635 if (PyErr_Occurred()) SWIG_fail
;
20638 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20646 static PyObject
* IconizeEvent_swigregister(PyObject
*, PyObject
*args
) {
20648 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20649 SWIG_TypeClientData(SWIGTYPE_p_wxIconizeEvent
, obj
);
20651 return Py_BuildValue((char *)"");
20653 static PyObject
*_wrap_new_MaximizeEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20654 PyObject
*resultobj
;
20655 int arg1
= (int) 0 ;
20656 wxMaximizeEvent
*result
;
20657 PyObject
* obj0
= 0 ;
20658 char *kwnames
[] = {
20659 (char *) "id", NULL
20662 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_MaximizeEvent",kwnames
,&obj0
)) goto fail
;
20665 arg1
= (int)(SWIG_As_int(obj0
));
20666 if (SWIG_arg_fail(1)) SWIG_fail
;
20670 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20671 result
= (wxMaximizeEvent
*)new wxMaximizeEvent(arg1
);
20673 wxPyEndAllowThreads(__tstate
);
20674 if (PyErr_Occurred()) SWIG_fail
;
20676 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMaximizeEvent
, 1);
20683 static PyObject
* MaximizeEvent_swigregister(PyObject
*, PyObject
*args
) {
20685 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20686 SWIG_TypeClientData(SWIGTYPE_p_wxMaximizeEvent
, obj
);
20688 return Py_BuildValue((char *)"");
20690 static PyObject
*_wrap_DropFilesEvent_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20691 PyObject
*resultobj
;
20692 wxDropFilesEvent
*arg1
= (wxDropFilesEvent
*) 0 ;
20694 PyObject
* obj0
= 0 ;
20695 char *kwnames
[] = {
20696 (char *) "self", NULL
20699 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DropFilesEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
20700 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDropFilesEvent
, SWIG_POINTER_EXCEPTION
| 0);
20701 if (SWIG_arg_fail(1)) SWIG_fail
;
20703 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20704 result
= (arg1
)->GetPosition();
20706 wxPyEndAllowThreads(__tstate
);
20707 if (PyErr_Occurred()) SWIG_fail
;
20710 wxPoint
* resultptr
;
20711 resultptr
= new wxPoint((wxPoint
&)(result
));
20712 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
20720 static PyObject
*_wrap_DropFilesEvent_GetNumberOfFiles(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20721 PyObject
*resultobj
;
20722 wxDropFilesEvent
*arg1
= (wxDropFilesEvent
*) 0 ;
20724 PyObject
* obj0
= 0 ;
20725 char *kwnames
[] = {
20726 (char *) "self", NULL
20729 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DropFilesEvent_GetNumberOfFiles",kwnames
,&obj0
)) goto fail
;
20730 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDropFilesEvent
, SWIG_POINTER_EXCEPTION
| 0);
20731 if (SWIG_arg_fail(1)) SWIG_fail
;
20733 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20734 result
= (int)(arg1
)->GetNumberOfFiles();
20736 wxPyEndAllowThreads(__tstate
);
20737 if (PyErr_Occurred()) SWIG_fail
;
20740 resultobj
= SWIG_From_int((int)(result
));
20748 static PyObject
*_wrap_DropFilesEvent_GetFiles(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20749 PyObject
*resultobj
;
20750 wxDropFilesEvent
*arg1
= (wxDropFilesEvent
*) 0 ;
20752 PyObject
* obj0
= 0 ;
20753 char *kwnames
[] = {
20754 (char *) "self", NULL
20757 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DropFilesEvent_GetFiles",kwnames
,&obj0
)) goto fail
;
20758 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDropFilesEvent
, SWIG_POINTER_EXCEPTION
| 0);
20759 if (SWIG_arg_fail(1)) SWIG_fail
;
20761 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20762 result
= (PyObject
*)wxDropFilesEvent_GetFiles(arg1
);
20764 wxPyEndAllowThreads(__tstate
);
20765 if (PyErr_Occurred()) SWIG_fail
;
20767 resultobj
= result
;
20774 static PyObject
* DropFilesEvent_swigregister(PyObject
*, PyObject
*args
) {
20776 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20777 SWIG_TypeClientData(SWIGTYPE_p_wxDropFilesEvent
, obj
);
20779 return Py_BuildValue((char *)"");
20781 static PyObject
*_wrap_new_UpdateUIEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20782 PyObject
*resultobj
;
20783 int arg1
= (int) 0 ;
20784 wxUpdateUIEvent
*result
;
20785 PyObject
* obj0
= 0 ;
20786 char *kwnames
[] = {
20787 (char *) "commandId", NULL
20790 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_UpdateUIEvent",kwnames
,&obj0
)) goto fail
;
20793 arg1
= (int)(SWIG_As_int(obj0
));
20794 if (SWIG_arg_fail(1)) SWIG_fail
;
20798 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20799 result
= (wxUpdateUIEvent
*)new wxUpdateUIEvent(arg1
);
20801 wxPyEndAllowThreads(__tstate
);
20802 if (PyErr_Occurred()) SWIG_fail
;
20804 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxUpdateUIEvent
, 1);
20811 static PyObject
*_wrap_UpdateUIEvent_GetChecked(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20812 PyObject
*resultobj
;
20813 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
20815 PyObject
* obj0
= 0 ;
20816 char *kwnames
[] = {
20817 (char *) "self", NULL
20820 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_GetChecked",kwnames
,&obj0
)) goto fail
;
20821 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxUpdateUIEvent
, SWIG_POINTER_EXCEPTION
| 0);
20822 if (SWIG_arg_fail(1)) SWIG_fail
;
20824 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20825 result
= (bool)((wxUpdateUIEvent
const *)arg1
)->GetChecked();
20827 wxPyEndAllowThreads(__tstate
);
20828 if (PyErr_Occurred()) SWIG_fail
;
20831 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20839 static PyObject
*_wrap_UpdateUIEvent_GetEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20840 PyObject
*resultobj
;
20841 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
20843 PyObject
* obj0
= 0 ;
20844 char *kwnames
[] = {
20845 (char *) "self", NULL
20848 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_GetEnabled",kwnames
,&obj0
)) goto fail
;
20849 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxUpdateUIEvent
, SWIG_POINTER_EXCEPTION
| 0);
20850 if (SWIG_arg_fail(1)) SWIG_fail
;
20852 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20853 result
= (bool)((wxUpdateUIEvent
const *)arg1
)->GetEnabled();
20855 wxPyEndAllowThreads(__tstate
);
20856 if (PyErr_Occurred()) SWIG_fail
;
20859 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20867 static PyObject
*_wrap_UpdateUIEvent_GetText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20868 PyObject
*resultobj
;
20869 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
20871 PyObject
* obj0
= 0 ;
20872 char *kwnames
[] = {
20873 (char *) "self", NULL
20876 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_GetText",kwnames
,&obj0
)) goto fail
;
20877 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxUpdateUIEvent
, SWIG_POINTER_EXCEPTION
| 0);
20878 if (SWIG_arg_fail(1)) SWIG_fail
;
20880 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20881 result
= ((wxUpdateUIEvent
const *)arg1
)->GetText();
20883 wxPyEndAllowThreads(__tstate
);
20884 if (PyErr_Occurred()) SWIG_fail
;
20888 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
20890 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
20899 static PyObject
*_wrap_UpdateUIEvent_GetSetText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20900 PyObject
*resultobj
;
20901 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
20903 PyObject
* obj0
= 0 ;
20904 char *kwnames
[] = {
20905 (char *) "self", NULL
20908 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_GetSetText",kwnames
,&obj0
)) goto fail
;
20909 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxUpdateUIEvent
, SWIG_POINTER_EXCEPTION
| 0);
20910 if (SWIG_arg_fail(1)) SWIG_fail
;
20912 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20913 result
= (bool)((wxUpdateUIEvent
const *)arg1
)->GetSetText();
20915 wxPyEndAllowThreads(__tstate
);
20916 if (PyErr_Occurred()) SWIG_fail
;
20919 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20927 static PyObject
*_wrap_UpdateUIEvent_GetSetChecked(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20928 PyObject
*resultobj
;
20929 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
20931 PyObject
* obj0
= 0 ;
20932 char *kwnames
[] = {
20933 (char *) "self", NULL
20936 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_GetSetChecked",kwnames
,&obj0
)) goto fail
;
20937 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxUpdateUIEvent
, SWIG_POINTER_EXCEPTION
| 0);
20938 if (SWIG_arg_fail(1)) SWIG_fail
;
20940 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20941 result
= (bool)((wxUpdateUIEvent
const *)arg1
)->GetSetChecked();
20943 wxPyEndAllowThreads(__tstate
);
20944 if (PyErr_Occurred()) SWIG_fail
;
20947 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20955 static PyObject
*_wrap_UpdateUIEvent_GetSetEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20956 PyObject
*resultobj
;
20957 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
20959 PyObject
* obj0
= 0 ;
20960 char *kwnames
[] = {
20961 (char *) "self", NULL
20964 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_GetSetEnabled",kwnames
,&obj0
)) goto fail
;
20965 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxUpdateUIEvent
, SWIG_POINTER_EXCEPTION
| 0);
20966 if (SWIG_arg_fail(1)) SWIG_fail
;
20968 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20969 result
= (bool)((wxUpdateUIEvent
const *)arg1
)->GetSetEnabled();
20971 wxPyEndAllowThreads(__tstate
);
20972 if (PyErr_Occurred()) SWIG_fail
;
20975 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20983 static PyObject
*_wrap_UpdateUIEvent_Check(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20984 PyObject
*resultobj
;
20985 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
20987 PyObject
* obj0
= 0 ;
20988 PyObject
* obj1
= 0 ;
20989 char *kwnames
[] = {
20990 (char *) "self",(char *) "check", NULL
20993 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:UpdateUIEvent_Check",kwnames
,&obj0
,&obj1
)) goto fail
;
20994 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxUpdateUIEvent
, SWIG_POINTER_EXCEPTION
| 0);
20995 if (SWIG_arg_fail(1)) SWIG_fail
;
20997 arg2
= (bool)(SWIG_As_bool(obj1
));
20998 if (SWIG_arg_fail(2)) SWIG_fail
;
21001 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21002 (arg1
)->Check(arg2
);
21004 wxPyEndAllowThreads(__tstate
);
21005 if (PyErr_Occurred()) SWIG_fail
;
21007 Py_INCREF(Py_None
); resultobj
= Py_None
;
21014 static PyObject
*_wrap_UpdateUIEvent_Enable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21015 PyObject
*resultobj
;
21016 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
21018 PyObject
* obj0
= 0 ;
21019 PyObject
* obj1
= 0 ;
21020 char *kwnames
[] = {
21021 (char *) "self",(char *) "enable", NULL
21024 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:UpdateUIEvent_Enable",kwnames
,&obj0
,&obj1
)) goto fail
;
21025 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxUpdateUIEvent
, SWIG_POINTER_EXCEPTION
| 0);
21026 if (SWIG_arg_fail(1)) SWIG_fail
;
21028 arg2
= (bool)(SWIG_As_bool(obj1
));
21029 if (SWIG_arg_fail(2)) SWIG_fail
;
21032 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21033 (arg1
)->Enable(arg2
);
21035 wxPyEndAllowThreads(__tstate
);
21036 if (PyErr_Occurred()) SWIG_fail
;
21038 Py_INCREF(Py_None
); resultobj
= Py_None
;
21045 static PyObject
*_wrap_UpdateUIEvent_SetText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21046 PyObject
*resultobj
;
21047 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
21048 wxString
*arg2
= 0 ;
21049 bool temp2
= false ;
21050 PyObject
* obj0
= 0 ;
21051 PyObject
* obj1
= 0 ;
21052 char *kwnames
[] = {
21053 (char *) "self",(char *) "text", NULL
21056 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:UpdateUIEvent_SetText",kwnames
,&obj0
,&obj1
)) goto fail
;
21057 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxUpdateUIEvent
, SWIG_POINTER_EXCEPTION
| 0);
21058 if (SWIG_arg_fail(1)) SWIG_fail
;
21060 arg2
= wxString_in_helper(obj1
);
21061 if (arg2
== NULL
) SWIG_fail
;
21065 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21066 (arg1
)->SetText((wxString
const &)*arg2
);
21068 wxPyEndAllowThreads(__tstate
);
21069 if (PyErr_Occurred()) SWIG_fail
;
21071 Py_INCREF(Py_None
); resultobj
= Py_None
;
21086 static PyObject
*_wrap_UpdateUIEvent_SetUpdateInterval(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21087 PyObject
*resultobj
;
21089 PyObject
* obj0
= 0 ;
21090 char *kwnames
[] = {
21091 (char *) "updateInterval", NULL
21094 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_SetUpdateInterval",kwnames
,&obj0
)) goto fail
;
21096 arg1
= (long)(SWIG_As_long(obj0
));
21097 if (SWIG_arg_fail(1)) SWIG_fail
;
21100 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21101 wxUpdateUIEvent::SetUpdateInterval(arg1
);
21103 wxPyEndAllowThreads(__tstate
);
21104 if (PyErr_Occurred()) SWIG_fail
;
21106 Py_INCREF(Py_None
); resultobj
= Py_None
;
21113 static PyObject
*_wrap_UpdateUIEvent_GetUpdateInterval(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21114 PyObject
*resultobj
;
21116 char *kwnames
[] = {
21120 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":UpdateUIEvent_GetUpdateInterval",kwnames
)) goto fail
;
21122 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21123 result
= (long)wxUpdateUIEvent::GetUpdateInterval();
21125 wxPyEndAllowThreads(__tstate
);
21126 if (PyErr_Occurred()) SWIG_fail
;
21129 resultobj
= SWIG_From_long((long)(result
));
21137 static PyObject
*_wrap_UpdateUIEvent_CanUpdate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21138 PyObject
*resultobj
;
21139 wxWindow
*arg1
= (wxWindow
*) 0 ;
21141 PyObject
* obj0
= 0 ;
21142 char *kwnames
[] = {
21143 (char *) "win", NULL
21146 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_CanUpdate",kwnames
,&obj0
)) goto fail
;
21147 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
21148 if (SWIG_arg_fail(1)) SWIG_fail
;
21150 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21151 result
= (bool)wxUpdateUIEvent::CanUpdate(arg1
);
21153 wxPyEndAllowThreads(__tstate
);
21154 if (PyErr_Occurred()) SWIG_fail
;
21157 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21165 static PyObject
*_wrap_UpdateUIEvent_ResetUpdateTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21166 PyObject
*resultobj
;
21167 char *kwnames
[] = {
21171 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":UpdateUIEvent_ResetUpdateTime",kwnames
)) goto fail
;
21173 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21174 wxUpdateUIEvent::ResetUpdateTime();
21176 wxPyEndAllowThreads(__tstate
);
21177 if (PyErr_Occurred()) SWIG_fail
;
21179 Py_INCREF(Py_None
); resultobj
= Py_None
;
21186 static PyObject
*_wrap_UpdateUIEvent_SetMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21187 PyObject
*resultobj
;
21188 wxUpdateUIMode arg1
;
21189 PyObject
* obj0
= 0 ;
21190 char *kwnames
[] = {
21191 (char *) "mode", NULL
21194 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_SetMode",kwnames
,&obj0
)) goto fail
;
21196 arg1
= (wxUpdateUIMode
)(SWIG_As_int(obj0
));
21197 if (SWIG_arg_fail(1)) SWIG_fail
;
21200 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21201 wxUpdateUIEvent::SetMode((wxUpdateUIMode
)arg1
);
21203 wxPyEndAllowThreads(__tstate
);
21204 if (PyErr_Occurred()) SWIG_fail
;
21206 Py_INCREF(Py_None
); resultobj
= Py_None
;
21213 static PyObject
*_wrap_UpdateUIEvent_GetMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21214 PyObject
*resultobj
;
21215 wxUpdateUIMode result
;
21216 char *kwnames
[] = {
21220 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":UpdateUIEvent_GetMode",kwnames
)) goto fail
;
21222 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21223 result
= (wxUpdateUIMode
)wxUpdateUIEvent::GetMode();
21225 wxPyEndAllowThreads(__tstate
);
21226 if (PyErr_Occurred()) SWIG_fail
;
21228 resultobj
= SWIG_From_int((result
));
21235 static PyObject
* UpdateUIEvent_swigregister(PyObject
*, PyObject
*args
) {
21237 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21238 SWIG_TypeClientData(SWIGTYPE_p_wxUpdateUIEvent
, obj
);
21240 return Py_BuildValue((char *)"");
21242 static PyObject
*_wrap_new_SysColourChangedEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21243 PyObject
*resultobj
;
21244 wxSysColourChangedEvent
*result
;
21245 char *kwnames
[] = {
21249 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_SysColourChangedEvent",kwnames
)) goto fail
;
21251 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21252 result
= (wxSysColourChangedEvent
*)new wxSysColourChangedEvent();
21254 wxPyEndAllowThreads(__tstate
);
21255 if (PyErr_Occurred()) SWIG_fail
;
21257 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSysColourChangedEvent
, 1);
21264 static PyObject
* SysColourChangedEvent_swigregister(PyObject
*, PyObject
*args
) {
21266 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21267 SWIG_TypeClientData(SWIGTYPE_p_wxSysColourChangedEvent
, obj
);
21269 return Py_BuildValue((char *)"");
21271 static PyObject
*_wrap_new_MouseCaptureChangedEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21272 PyObject
*resultobj
;
21273 int arg1
= (int) 0 ;
21274 wxWindow
*arg2
= (wxWindow
*) NULL
;
21275 wxMouseCaptureChangedEvent
*result
;
21276 PyObject
* obj0
= 0 ;
21277 PyObject
* obj1
= 0 ;
21278 char *kwnames
[] = {
21279 (char *) "winid",(char *) "gainedCapture", NULL
21282 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_MouseCaptureChangedEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
21285 arg1
= (int)(SWIG_As_int(obj0
));
21286 if (SWIG_arg_fail(1)) SWIG_fail
;
21290 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
21291 if (SWIG_arg_fail(2)) SWIG_fail
;
21294 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21295 result
= (wxMouseCaptureChangedEvent
*)new wxMouseCaptureChangedEvent(arg1
,arg2
);
21297 wxPyEndAllowThreads(__tstate
);
21298 if (PyErr_Occurred()) SWIG_fail
;
21300 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMouseCaptureChangedEvent
, 1);
21307 static PyObject
*_wrap_MouseCaptureChangedEvent_GetCapturedWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21308 PyObject
*resultobj
;
21309 wxMouseCaptureChangedEvent
*arg1
= (wxMouseCaptureChangedEvent
*) 0 ;
21311 PyObject
* obj0
= 0 ;
21312 char *kwnames
[] = {
21313 (char *) "self", NULL
21316 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseCaptureChangedEvent_GetCapturedWindow",kwnames
,&obj0
)) goto fail
;
21317 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseCaptureChangedEvent
, SWIG_POINTER_EXCEPTION
| 0);
21318 if (SWIG_arg_fail(1)) SWIG_fail
;
21320 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21321 result
= (wxWindow
*)((wxMouseCaptureChangedEvent
const *)arg1
)->GetCapturedWindow();
21323 wxPyEndAllowThreads(__tstate
);
21324 if (PyErr_Occurred()) SWIG_fail
;
21327 resultobj
= wxPyMake_wxObject(result
, 0);
21335 static PyObject
* MouseCaptureChangedEvent_swigregister(PyObject
*, PyObject
*args
) {
21337 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21338 SWIG_TypeClientData(SWIGTYPE_p_wxMouseCaptureChangedEvent
, obj
);
21340 return Py_BuildValue((char *)"");
21342 static PyObject
*_wrap_new_DisplayChangedEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21343 PyObject
*resultobj
;
21344 wxDisplayChangedEvent
*result
;
21345 char *kwnames
[] = {
21349 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_DisplayChangedEvent",kwnames
)) goto fail
;
21351 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21352 result
= (wxDisplayChangedEvent
*)new wxDisplayChangedEvent();
21354 wxPyEndAllowThreads(__tstate
);
21355 if (PyErr_Occurred()) SWIG_fail
;
21357 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDisplayChangedEvent
, 1);
21364 static PyObject
* DisplayChangedEvent_swigregister(PyObject
*, PyObject
*args
) {
21366 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21367 SWIG_TypeClientData(SWIGTYPE_p_wxDisplayChangedEvent
, obj
);
21369 return Py_BuildValue((char *)"");
21371 static PyObject
*_wrap_new_PaletteChangedEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21372 PyObject
*resultobj
;
21373 int arg1
= (int) 0 ;
21374 wxPaletteChangedEvent
*result
;
21375 PyObject
* obj0
= 0 ;
21376 char *kwnames
[] = {
21377 (char *) "id", NULL
21380 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_PaletteChangedEvent",kwnames
,&obj0
)) goto fail
;
21383 arg1
= (int)(SWIG_As_int(obj0
));
21384 if (SWIG_arg_fail(1)) SWIG_fail
;
21388 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21389 result
= (wxPaletteChangedEvent
*)new wxPaletteChangedEvent(arg1
);
21391 wxPyEndAllowThreads(__tstate
);
21392 if (PyErr_Occurred()) SWIG_fail
;
21394 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPaletteChangedEvent
, 1);
21401 static PyObject
*_wrap_PaletteChangedEvent_SetChangedWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21402 PyObject
*resultobj
;
21403 wxPaletteChangedEvent
*arg1
= (wxPaletteChangedEvent
*) 0 ;
21404 wxWindow
*arg2
= (wxWindow
*) 0 ;
21405 PyObject
* obj0
= 0 ;
21406 PyObject
* obj1
= 0 ;
21407 char *kwnames
[] = {
21408 (char *) "self",(char *) "win", NULL
21411 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PaletteChangedEvent_SetChangedWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
21412 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPaletteChangedEvent
, SWIG_POINTER_EXCEPTION
| 0);
21413 if (SWIG_arg_fail(1)) SWIG_fail
;
21414 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
21415 if (SWIG_arg_fail(2)) SWIG_fail
;
21417 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21418 (arg1
)->SetChangedWindow(arg2
);
21420 wxPyEndAllowThreads(__tstate
);
21421 if (PyErr_Occurred()) SWIG_fail
;
21423 Py_INCREF(Py_None
); resultobj
= Py_None
;
21430 static PyObject
*_wrap_PaletteChangedEvent_GetChangedWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21431 PyObject
*resultobj
;
21432 wxPaletteChangedEvent
*arg1
= (wxPaletteChangedEvent
*) 0 ;
21434 PyObject
* obj0
= 0 ;
21435 char *kwnames
[] = {
21436 (char *) "self", NULL
21439 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PaletteChangedEvent_GetChangedWindow",kwnames
,&obj0
)) goto fail
;
21440 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPaletteChangedEvent
, SWIG_POINTER_EXCEPTION
| 0);
21441 if (SWIG_arg_fail(1)) SWIG_fail
;
21443 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21444 result
= (wxWindow
*)(arg1
)->GetChangedWindow();
21446 wxPyEndAllowThreads(__tstate
);
21447 if (PyErr_Occurred()) SWIG_fail
;
21450 resultobj
= wxPyMake_wxObject(result
, 0);
21458 static PyObject
* PaletteChangedEvent_swigregister(PyObject
*, PyObject
*args
) {
21460 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21461 SWIG_TypeClientData(SWIGTYPE_p_wxPaletteChangedEvent
, obj
);
21463 return Py_BuildValue((char *)"");
21465 static PyObject
*_wrap_new_QueryNewPaletteEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21466 PyObject
*resultobj
;
21467 int arg1
= (int) 0 ;
21468 wxQueryNewPaletteEvent
*result
;
21469 PyObject
* obj0
= 0 ;
21470 char *kwnames
[] = {
21471 (char *) "winid", NULL
21474 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_QueryNewPaletteEvent",kwnames
,&obj0
)) goto fail
;
21477 arg1
= (int)(SWIG_As_int(obj0
));
21478 if (SWIG_arg_fail(1)) SWIG_fail
;
21482 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21483 result
= (wxQueryNewPaletteEvent
*)new wxQueryNewPaletteEvent(arg1
);
21485 wxPyEndAllowThreads(__tstate
);
21486 if (PyErr_Occurred()) SWIG_fail
;
21488 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxQueryNewPaletteEvent
, 1);
21495 static PyObject
*_wrap_QueryNewPaletteEvent_SetPaletteRealized(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21496 PyObject
*resultobj
;
21497 wxQueryNewPaletteEvent
*arg1
= (wxQueryNewPaletteEvent
*) 0 ;
21499 PyObject
* obj0
= 0 ;
21500 PyObject
* obj1
= 0 ;
21501 char *kwnames
[] = {
21502 (char *) "self",(char *) "realized", NULL
21505 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryNewPaletteEvent_SetPaletteRealized",kwnames
,&obj0
,&obj1
)) goto fail
;
21506 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxQueryNewPaletteEvent
, SWIG_POINTER_EXCEPTION
| 0);
21507 if (SWIG_arg_fail(1)) SWIG_fail
;
21509 arg2
= (bool)(SWIG_As_bool(obj1
));
21510 if (SWIG_arg_fail(2)) SWIG_fail
;
21513 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21514 (arg1
)->SetPaletteRealized(arg2
);
21516 wxPyEndAllowThreads(__tstate
);
21517 if (PyErr_Occurred()) SWIG_fail
;
21519 Py_INCREF(Py_None
); resultobj
= Py_None
;
21526 static PyObject
*_wrap_QueryNewPaletteEvent_GetPaletteRealized(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21527 PyObject
*resultobj
;
21528 wxQueryNewPaletteEvent
*arg1
= (wxQueryNewPaletteEvent
*) 0 ;
21530 PyObject
* obj0
= 0 ;
21531 char *kwnames
[] = {
21532 (char *) "self", NULL
21535 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:QueryNewPaletteEvent_GetPaletteRealized",kwnames
,&obj0
)) goto fail
;
21536 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxQueryNewPaletteEvent
, SWIG_POINTER_EXCEPTION
| 0);
21537 if (SWIG_arg_fail(1)) SWIG_fail
;
21539 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21540 result
= (bool)((wxQueryNewPaletteEvent
const *)arg1
)->GetPaletteRealized();
21542 wxPyEndAllowThreads(__tstate
);
21543 if (PyErr_Occurred()) SWIG_fail
;
21546 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21554 static PyObject
* QueryNewPaletteEvent_swigregister(PyObject
*, PyObject
*args
) {
21556 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21557 SWIG_TypeClientData(SWIGTYPE_p_wxQueryNewPaletteEvent
, obj
);
21559 return Py_BuildValue((char *)"");
21561 static PyObject
*_wrap_new_NavigationKeyEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21562 PyObject
*resultobj
;
21563 wxNavigationKeyEvent
*result
;
21564 char *kwnames
[] = {
21568 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_NavigationKeyEvent",kwnames
)) goto fail
;
21570 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21571 result
= (wxNavigationKeyEvent
*)new wxNavigationKeyEvent();
21573 wxPyEndAllowThreads(__tstate
);
21574 if (PyErr_Occurred()) SWIG_fail
;
21576 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNavigationKeyEvent
, 1);
21583 static PyObject
*_wrap_NavigationKeyEvent_GetDirection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21584 PyObject
*resultobj
;
21585 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
21587 PyObject
* obj0
= 0 ;
21588 char *kwnames
[] = {
21589 (char *) "self", NULL
21592 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NavigationKeyEvent_GetDirection",kwnames
,&obj0
)) goto fail
;
21593 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNavigationKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
21594 if (SWIG_arg_fail(1)) SWIG_fail
;
21596 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21597 result
= (bool)((wxNavigationKeyEvent
const *)arg1
)->GetDirection();
21599 wxPyEndAllowThreads(__tstate
);
21600 if (PyErr_Occurred()) SWIG_fail
;
21603 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21611 static PyObject
*_wrap_NavigationKeyEvent_SetDirection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21612 PyObject
*resultobj
;
21613 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
21615 PyObject
* obj0
= 0 ;
21616 PyObject
* obj1
= 0 ;
21617 char *kwnames
[] = {
21618 (char *) "self",(char *) "forward", NULL
21621 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NavigationKeyEvent_SetDirection",kwnames
,&obj0
,&obj1
)) goto fail
;
21622 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNavigationKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
21623 if (SWIG_arg_fail(1)) SWIG_fail
;
21625 arg2
= (bool)(SWIG_As_bool(obj1
));
21626 if (SWIG_arg_fail(2)) SWIG_fail
;
21629 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21630 (arg1
)->SetDirection(arg2
);
21632 wxPyEndAllowThreads(__tstate
);
21633 if (PyErr_Occurred()) SWIG_fail
;
21635 Py_INCREF(Py_None
); resultobj
= Py_None
;
21642 static PyObject
*_wrap_NavigationKeyEvent_IsWindowChange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21643 PyObject
*resultobj
;
21644 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
21646 PyObject
* obj0
= 0 ;
21647 char *kwnames
[] = {
21648 (char *) "self", NULL
21651 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NavigationKeyEvent_IsWindowChange",kwnames
,&obj0
)) goto fail
;
21652 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNavigationKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
21653 if (SWIG_arg_fail(1)) SWIG_fail
;
21655 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21656 result
= (bool)((wxNavigationKeyEvent
const *)arg1
)->IsWindowChange();
21658 wxPyEndAllowThreads(__tstate
);
21659 if (PyErr_Occurred()) SWIG_fail
;
21662 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21670 static PyObject
*_wrap_NavigationKeyEvent_SetWindowChange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21671 PyObject
*resultobj
;
21672 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
21674 PyObject
* obj0
= 0 ;
21675 PyObject
* obj1
= 0 ;
21676 char *kwnames
[] = {
21677 (char *) "self",(char *) "ischange", NULL
21680 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NavigationKeyEvent_SetWindowChange",kwnames
,&obj0
,&obj1
)) goto fail
;
21681 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNavigationKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
21682 if (SWIG_arg_fail(1)) SWIG_fail
;
21684 arg2
= (bool)(SWIG_As_bool(obj1
));
21685 if (SWIG_arg_fail(2)) SWIG_fail
;
21688 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21689 (arg1
)->SetWindowChange(arg2
);
21691 wxPyEndAllowThreads(__tstate
);
21692 if (PyErr_Occurred()) SWIG_fail
;
21694 Py_INCREF(Py_None
); resultobj
= Py_None
;
21701 static PyObject
*_wrap_NavigationKeyEvent_IsFromTab(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21702 PyObject
*resultobj
;
21703 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
21705 PyObject
* obj0
= 0 ;
21706 char *kwnames
[] = {
21707 (char *) "self", NULL
21710 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NavigationKeyEvent_IsFromTab",kwnames
,&obj0
)) goto fail
;
21711 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNavigationKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
21712 if (SWIG_arg_fail(1)) SWIG_fail
;
21714 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21715 result
= (bool)((wxNavigationKeyEvent
const *)arg1
)->IsFromTab();
21717 wxPyEndAllowThreads(__tstate
);
21718 if (PyErr_Occurred()) SWIG_fail
;
21721 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21729 static PyObject
*_wrap_NavigationKeyEvent_SetFromTab(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21730 PyObject
*resultobj
;
21731 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
21733 PyObject
* obj0
= 0 ;
21734 PyObject
* obj1
= 0 ;
21735 char *kwnames
[] = {
21736 (char *) "self",(char *) "bIs", NULL
21739 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NavigationKeyEvent_SetFromTab",kwnames
,&obj0
,&obj1
)) goto fail
;
21740 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNavigationKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
21741 if (SWIG_arg_fail(1)) SWIG_fail
;
21743 arg2
= (bool)(SWIG_As_bool(obj1
));
21744 if (SWIG_arg_fail(2)) SWIG_fail
;
21747 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21748 (arg1
)->SetFromTab(arg2
);
21750 wxPyEndAllowThreads(__tstate
);
21751 if (PyErr_Occurred()) SWIG_fail
;
21753 Py_INCREF(Py_None
); resultobj
= Py_None
;
21760 static PyObject
*_wrap_NavigationKeyEvent_SetFlags(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21761 PyObject
*resultobj
;
21762 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
21764 PyObject
* obj0
= 0 ;
21765 PyObject
* obj1
= 0 ;
21766 char *kwnames
[] = {
21767 (char *) "self",(char *) "flags", NULL
21770 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NavigationKeyEvent_SetFlags",kwnames
,&obj0
,&obj1
)) goto fail
;
21771 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNavigationKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
21772 if (SWIG_arg_fail(1)) SWIG_fail
;
21774 arg2
= (long)(SWIG_As_long(obj1
));
21775 if (SWIG_arg_fail(2)) SWIG_fail
;
21778 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21779 (arg1
)->SetFlags(arg2
);
21781 wxPyEndAllowThreads(__tstate
);
21782 if (PyErr_Occurred()) SWIG_fail
;
21784 Py_INCREF(Py_None
); resultobj
= Py_None
;
21791 static PyObject
*_wrap_NavigationKeyEvent_GetCurrentFocus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21792 PyObject
*resultobj
;
21793 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
21795 PyObject
* obj0
= 0 ;
21796 char *kwnames
[] = {
21797 (char *) "self", NULL
21800 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NavigationKeyEvent_GetCurrentFocus",kwnames
,&obj0
)) goto fail
;
21801 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNavigationKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
21802 if (SWIG_arg_fail(1)) SWIG_fail
;
21804 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21805 result
= (wxWindow
*)((wxNavigationKeyEvent
const *)arg1
)->GetCurrentFocus();
21807 wxPyEndAllowThreads(__tstate
);
21808 if (PyErr_Occurred()) SWIG_fail
;
21811 resultobj
= wxPyMake_wxObject(result
, 0);
21819 static PyObject
*_wrap_NavigationKeyEvent_SetCurrentFocus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21820 PyObject
*resultobj
;
21821 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
21822 wxWindow
*arg2
= (wxWindow
*) 0 ;
21823 PyObject
* obj0
= 0 ;
21824 PyObject
* obj1
= 0 ;
21825 char *kwnames
[] = {
21826 (char *) "self",(char *) "win", NULL
21829 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NavigationKeyEvent_SetCurrentFocus",kwnames
,&obj0
,&obj1
)) goto fail
;
21830 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNavigationKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
21831 if (SWIG_arg_fail(1)) SWIG_fail
;
21832 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
21833 if (SWIG_arg_fail(2)) SWIG_fail
;
21835 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21836 (arg1
)->SetCurrentFocus(arg2
);
21838 wxPyEndAllowThreads(__tstate
);
21839 if (PyErr_Occurred()) SWIG_fail
;
21841 Py_INCREF(Py_None
); resultobj
= Py_None
;
21848 static PyObject
* NavigationKeyEvent_swigregister(PyObject
*, PyObject
*args
) {
21850 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21851 SWIG_TypeClientData(SWIGTYPE_p_wxNavigationKeyEvent
, obj
);
21853 return Py_BuildValue((char *)"");
21855 static PyObject
*_wrap_new_WindowCreateEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21856 PyObject
*resultobj
;
21857 wxWindow
*arg1
= (wxWindow
*) NULL
;
21858 wxWindowCreateEvent
*result
;
21859 PyObject
* obj0
= 0 ;
21860 char *kwnames
[] = {
21861 (char *) "win", NULL
21864 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_WindowCreateEvent",kwnames
,&obj0
)) goto fail
;
21866 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
21867 if (SWIG_arg_fail(1)) SWIG_fail
;
21870 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21871 result
= (wxWindowCreateEvent
*)new wxWindowCreateEvent(arg1
);
21873 wxPyEndAllowThreads(__tstate
);
21874 if (PyErr_Occurred()) SWIG_fail
;
21876 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxWindowCreateEvent
, 1);
21883 static PyObject
*_wrap_WindowCreateEvent_GetWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21884 PyObject
*resultobj
;
21885 wxWindowCreateEvent
*arg1
= (wxWindowCreateEvent
*) 0 ;
21887 PyObject
* obj0
= 0 ;
21888 char *kwnames
[] = {
21889 (char *) "self", NULL
21892 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:WindowCreateEvent_GetWindow",kwnames
,&obj0
)) goto fail
;
21893 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindowCreateEvent
, SWIG_POINTER_EXCEPTION
| 0);
21894 if (SWIG_arg_fail(1)) SWIG_fail
;
21896 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21897 result
= (wxWindow
*)((wxWindowCreateEvent
const *)arg1
)->GetWindow();
21899 wxPyEndAllowThreads(__tstate
);
21900 if (PyErr_Occurred()) SWIG_fail
;
21903 resultobj
= wxPyMake_wxObject(result
, 0);
21911 static PyObject
* WindowCreateEvent_swigregister(PyObject
*, PyObject
*args
) {
21913 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21914 SWIG_TypeClientData(SWIGTYPE_p_wxWindowCreateEvent
, obj
);
21916 return Py_BuildValue((char *)"");
21918 static PyObject
*_wrap_new_WindowDestroyEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21919 PyObject
*resultobj
;
21920 wxWindow
*arg1
= (wxWindow
*) NULL
;
21921 wxWindowDestroyEvent
*result
;
21922 PyObject
* obj0
= 0 ;
21923 char *kwnames
[] = {
21924 (char *) "win", NULL
21927 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_WindowDestroyEvent",kwnames
,&obj0
)) goto fail
;
21929 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
21930 if (SWIG_arg_fail(1)) SWIG_fail
;
21933 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21934 result
= (wxWindowDestroyEvent
*)new wxWindowDestroyEvent(arg1
);
21936 wxPyEndAllowThreads(__tstate
);
21937 if (PyErr_Occurred()) SWIG_fail
;
21939 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxWindowDestroyEvent
, 1);
21946 static PyObject
*_wrap_WindowDestroyEvent_GetWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21947 PyObject
*resultobj
;
21948 wxWindowDestroyEvent
*arg1
= (wxWindowDestroyEvent
*) 0 ;
21950 PyObject
* obj0
= 0 ;
21951 char *kwnames
[] = {
21952 (char *) "self", NULL
21955 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:WindowDestroyEvent_GetWindow",kwnames
,&obj0
)) goto fail
;
21956 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindowDestroyEvent
, SWIG_POINTER_EXCEPTION
| 0);
21957 if (SWIG_arg_fail(1)) SWIG_fail
;
21959 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21960 result
= (wxWindow
*)((wxWindowDestroyEvent
const *)arg1
)->GetWindow();
21962 wxPyEndAllowThreads(__tstate
);
21963 if (PyErr_Occurred()) SWIG_fail
;
21966 resultobj
= wxPyMake_wxObject(result
, 0);
21974 static PyObject
* WindowDestroyEvent_swigregister(PyObject
*, PyObject
*args
) {
21976 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21977 SWIG_TypeClientData(SWIGTYPE_p_wxWindowDestroyEvent
, obj
);
21979 return Py_BuildValue((char *)"");
21981 static PyObject
*_wrap_new_ContextMenuEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21982 PyObject
*resultobj
;
21983 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
21984 int arg2
= (int) 0 ;
21985 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
21986 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
21987 wxContextMenuEvent
*result
;
21989 PyObject
* obj0
= 0 ;
21990 PyObject
* obj1
= 0 ;
21991 PyObject
* obj2
= 0 ;
21992 char *kwnames
[] = {
21993 (char *) "type",(char *) "winid",(char *) "pt", NULL
21996 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_ContextMenuEvent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21999 arg1
= (wxEventType
)(SWIG_As_int(obj0
));
22000 if (SWIG_arg_fail(1)) SWIG_fail
;
22005 arg2
= (int)(SWIG_As_int(obj1
));
22006 if (SWIG_arg_fail(2)) SWIG_fail
;
22012 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
22016 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22017 result
= (wxContextMenuEvent
*)new wxContextMenuEvent(arg1
,arg2
,(wxPoint
const &)*arg3
);
22019 wxPyEndAllowThreads(__tstate
);
22020 if (PyErr_Occurred()) SWIG_fail
;
22022 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxContextMenuEvent
, 1);
22029 static PyObject
*_wrap_ContextMenuEvent_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22030 PyObject
*resultobj
;
22031 wxContextMenuEvent
*arg1
= (wxContextMenuEvent
*) 0 ;
22033 PyObject
* obj0
= 0 ;
22034 char *kwnames
[] = {
22035 (char *) "self", NULL
22038 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ContextMenuEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
22039 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxContextMenuEvent
, SWIG_POINTER_EXCEPTION
| 0);
22040 if (SWIG_arg_fail(1)) SWIG_fail
;
22042 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22044 wxPoint
const &_result_ref
= ((wxContextMenuEvent
const *)arg1
)->GetPosition();
22045 result
= (wxPoint
*) &_result_ref
;
22048 wxPyEndAllowThreads(__tstate
);
22049 if (PyErr_Occurred()) SWIG_fail
;
22051 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint
, 0);
22058 static PyObject
*_wrap_ContextMenuEvent_SetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22059 PyObject
*resultobj
;
22060 wxContextMenuEvent
*arg1
= (wxContextMenuEvent
*) 0 ;
22061 wxPoint
*arg2
= 0 ;
22063 PyObject
* obj0
= 0 ;
22064 PyObject
* obj1
= 0 ;
22065 char *kwnames
[] = {
22066 (char *) "self",(char *) "pos", NULL
22069 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ContextMenuEvent_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
22070 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxContextMenuEvent
, SWIG_POINTER_EXCEPTION
| 0);
22071 if (SWIG_arg_fail(1)) SWIG_fail
;
22074 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
22077 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22078 (arg1
)->SetPosition((wxPoint
const &)*arg2
);
22080 wxPyEndAllowThreads(__tstate
);
22081 if (PyErr_Occurred()) SWIG_fail
;
22083 Py_INCREF(Py_None
); resultobj
= Py_None
;
22090 static PyObject
* ContextMenuEvent_swigregister(PyObject
*, PyObject
*args
) {
22092 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
22093 SWIG_TypeClientData(SWIGTYPE_p_wxContextMenuEvent
, obj
);
22095 return Py_BuildValue((char *)"");
22097 static PyObject
*_wrap_new_IdleEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22098 PyObject
*resultobj
;
22099 wxIdleEvent
*result
;
22100 char *kwnames
[] = {
22104 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_IdleEvent",kwnames
)) goto fail
;
22106 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22107 result
= (wxIdleEvent
*)new wxIdleEvent();
22109 wxPyEndAllowThreads(__tstate
);
22110 if (PyErr_Occurred()) SWIG_fail
;
22112 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIdleEvent
, 1);
22119 static PyObject
*_wrap_IdleEvent_RequestMore(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22120 PyObject
*resultobj
;
22121 wxIdleEvent
*arg1
= (wxIdleEvent
*) 0 ;
22122 bool arg2
= (bool) true ;
22123 PyObject
* obj0
= 0 ;
22124 PyObject
* obj1
= 0 ;
22125 char *kwnames
[] = {
22126 (char *) "self",(char *) "needMore", NULL
22129 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:IdleEvent_RequestMore",kwnames
,&obj0
,&obj1
)) goto fail
;
22130 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIdleEvent
, SWIG_POINTER_EXCEPTION
| 0);
22131 if (SWIG_arg_fail(1)) SWIG_fail
;
22134 arg2
= (bool)(SWIG_As_bool(obj1
));
22135 if (SWIG_arg_fail(2)) SWIG_fail
;
22139 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22140 (arg1
)->RequestMore(arg2
);
22142 wxPyEndAllowThreads(__tstate
);
22143 if (PyErr_Occurred()) SWIG_fail
;
22145 Py_INCREF(Py_None
); resultobj
= Py_None
;
22152 static PyObject
*_wrap_IdleEvent_MoreRequested(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22153 PyObject
*resultobj
;
22154 wxIdleEvent
*arg1
= (wxIdleEvent
*) 0 ;
22156 PyObject
* obj0
= 0 ;
22157 char *kwnames
[] = {
22158 (char *) "self", NULL
22161 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IdleEvent_MoreRequested",kwnames
,&obj0
)) goto fail
;
22162 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIdleEvent
, SWIG_POINTER_EXCEPTION
| 0);
22163 if (SWIG_arg_fail(1)) SWIG_fail
;
22165 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22166 result
= (bool)((wxIdleEvent
const *)arg1
)->MoreRequested();
22168 wxPyEndAllowThreads(__tstate
);
22169 if (PyErr_Occurred()) SWIG_fail
;
22172 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22180 static PyObject
*_wrap_IdleEvent_SetMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22181 PyObject
*resultobj
;
22183 PyObject
* obj0
= 0 ;
22184 char *kwnames
[] = {
22185 (char *) "mode", NULL
22188 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IdleEvent_SetMode",kwnames
,&obj0
)) goto fail
;
22190 arg1
= (wxIdleMode
)(SWIG_As_int(obj0
));
22191 if (SWIG_arg_fail(1)) SWIG_fail
;
22194 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22195 wxIdleEvent::SetMode((wxIdleMode
)arg1
);
22197 wxPyEndAllowThreads(__tstate
);
22198 if (PyErr_Occurred()) SWIG_fail
;
22200 Py_INCREF(Py_None
); resultobj
= Py_None
;
22207 static PyObject
*_wrap_IdleEvent_GetMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22208 PyObject
*resultobj
;
22210 char *kwnames
[] = {
22214 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":IdleEvent_GetMode",kwnames
)) goto fail
;
22216 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22217 result
= (wxIdleMode
)wxIdleEvent::GetMode();
22219 wxPyEndAllowThreads(__tstate
);
22220 if (PyErr_Occurred()) SWIG_fail
;
22222 resultobj
= SWIG_From_int((result
));
22229 static PyObject
*_wrap_IdleEvent_CanSend(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22230 PyObject
*resultobj
;
22231 wxWindow
*arg1
= (wxWindow
*) 0 ;
22233 PyObject
* obj0
= 0 ;
22234 char *kwnames
[] = {
22235 (char *) "win", NULL
22238 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IdleEvent_CanSend",kwnames
,&obj0
)) goto fail
;
22239 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
22240 if (SWIG_arg_fail(1)) SWIG_fail
;
22242 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22243 result
= (bool)wxIdleEvent::CanSend(arg1
);
22245 wxPyEndAllowThreads(__tstate
);
22246 if (PyErr_Occurred()) SWIG_fail
;
22249 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22257 static PyObject
* IdleEvent_swigregister(PyObject
*, PyObject
*args
) {
22259 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
22260 SWIG_TypeClientData(SWIGTYPE_p_wxIdleEvent
, obj
);
22262 return Py_BuildValue((char *)"");
22264 static PyObject
*_wrap_new_PyEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22265 PyObject
*resultobj
;
22266 int arg1
= (int) 0 ;
22267 wxEventType arg2
= (wxEventType
) wxEVT_NULL
;
22269 PyObject
* obj0
= 0 ;
22270 PyObject
* obj1
= 0 ;
22271 char *kwnames
[] = {
22272 (char *) "winid",(char *) "eventType", NULL
22275 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_PyEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
22278 arg1
= (int)(SWIG_As_int(obj0
));
22279 if (SWIG_arg_fail(1)) SWIG_fail
;
22284 arg2
= (wxEventType
)(SWIG_As_int(obj1
));
22285 if (SWIG_arg_fail(2)) SWIG_fail
;
22289 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22290 result
= (wxPyEvent
*)new wxPyEvent(arg1
,arg2
);
22292 wxPyEndAllowThreads(__tstate
);
22293 if (PyErr_Occurred()) SWIG_fail
;
22295 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyEvent
, 1);
22302 static PyObject
*_wrap_delete_PyEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22303 PyObject
*resultobj
;
22304 wxPyEvent
*arg1
= (wxPyEvent
*) 0 ;
22305 PyObject
* obj0
= 0 ;
22306 char *kwnames
[] = {
22307 (char *) "self", NULL
22310 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PyEvent",kwnames
,&obj0
)) goto fail
;
22311 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyEvent
, SWIG_POINTER_EXCEPTION
| 0);
22312 if (SWIG_arg_fail(1)) SWIG_fail
;
22314 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22317 wxPyEndAllowThreads(__tstate
);
22318 if (PyErr_Occurred()) SWIG_fail
;
22320 Py_INCREF(Py_None
); resultobj
= Py_None
;
22327 static PyObject
*_wrap_PyEvent__SetSelf(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22328 PyObject
*resultobj
;
22329 wxPyEvent
*arg1
= (wxPyEvent
*) 0 ;
22330 PyObject
*arg2
= (PyObject
*) 0 ;
22331 PyObject
* obj0
= 0 ;
22332 PyObject
* obj1
= 0 ;
22333 char *kwnames
[] = {
22334 (char *) "self",(char *) "self", NULL
22337 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyEvent__SetSelf",kwnames
,&obj0
,&obj1
)) goto fail
;
22338 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyEvent
, SWIG_POINTER_EXCEPTION
| 0);
22339 if (SWIG_arg_fail(1)) SWIG_fail
;
22342 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22343 (arg1
)->SetSelf(arg2
);
22345 wxPyEndAllowThreads(__tstate
);
22346 if (PyErr_Occurred()) SWIG_fail
;
22348 Py_INCREF(Py_None
); resultobj
= Py_None
;
22355 static PyObject
*_wrap_PyEvent__GetSelf(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22356 PyObject
*resultobj
;
22357 wxPyEvent
*arg1
= (wxPyEvent
*) 0 ;
22359 PyObject
* obj0
= 0 ;
22360 char *kwnames
[] = {
22361 (char *) "self", NULL
22364 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyEvent__GetSelf",kwnames
,&obj0
)) goto fail
;
22365 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyEvent
, SWIG_POINTER_EXCEPTION
| 0);
22366 if (SWIG_arg_fail(1)) SWIG_fail
;
22368 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22369 result
= (PyObject
*)(arg1
)->GetSelf();
22371 wxPyEndAllowThreads(__tstate
);
22372 if (PyErr_Occurred()) SWIG_fail
;
22374 resultobj
= result
;
22381 static PyObject
* PyEvent_swigregister(PyObject
*, PyObject
*args
) {
22383 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
22384 SWIG_TypeClientData(SWIGTYPE_p_wxPyEvent
, obj
);
22386 return Py_BuildValue((char *)"");
22388 static PyObject
*_wrap_new_PyCommandEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22389 PyObject
*resultobj
;
22390 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
22391 int arg2
= (int) 0 ;
22392 wxPyCommandEvent
*result
;
22393 PyObject
* obj0
= 0 ;
22394 PyObject
* obj1
= 0 ;
22395 char *kwnames
[] = {
22396 (char *) "eventType",(char *) "id", NULL
22399 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_PyCommandEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
22402 arg1
= (wxEventType
)(SWIG_As_int(obj0
));
22403 if (SWIG_arg_fail(1)) SWIG_fail
;
22408 arg2
= (int)(SWIG_As_int(obj1
));
22409 if (SWIG_arg_fail(2)) SWIG_fail
;
22413 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22414 result
= (wxPyCommandEvent
*)new wxPyCommandEvent(arg1
,arg2
);
22416 wxPyEndAllowThreads(__tstate
);
22417 if (PyErr_Occurred()) SWIG_fail
;
22419 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyCommandEvent
, 1);
22426 static PyObject
*_wrap_delete_PyCommandEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22427 PyObject
*resultobj
;
22428 wxPyCommandEvent
*arg1
= (wxPyCommandEvent
*) 0 ;
22429 PyObject
* obj0
= 0 ;
22430 char *kwnames
[] = {
22431 (char *) "self", NULL
22434 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PyCommandEvent",kwnames
,&obj0
)) goto fail
;
22435 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyCommandEvent
, SWIG_POINTER_EXCEPTION
| 0);
22436 if (SWIG_arg_fail(1)) SWIG_fail
;
22438 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22441 wxPyEndAllowThreads(__tstate
);
22442 if (PyErr_Occurred()) SWIG_fail
;
22444 Py_INCREF(Py_None
); resultobj
= Py_None
;
22451 static PyObject
*_wrap_PyCommandEvent__SetSelf(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22452 PyObject
*resultobj
;
22453 wxPyCommandEvent
*arg1
= (wxPyCommandEvent
*) 0 ;
22454 PyObject
*arg2
= (PyObject
*) 0 ;
22455 PyObject
* obj0
= 0 ;
22456 PyObject
* obj1
= 0 ;
22457 char *kwnames
[] = {
22458 (char *) "self",(char *) "self", NULL
22461 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyCommandEvent__SetSelf",kwnames
,&obj0
,&obj1
)) goto fail
;
22462 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyCommandEvent
, SWIG_POINTER_EXCEPTION
| 0);
22463 if (SWIG_arg_fail(1)) SWIG_fail
;
22466 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22467 (arg1
)->SetSelf(arg2
);
22469 wxPyEndAllowThreads(__tstate
);
22470 if (PyErr_Occurred()) SWIG_fail
;
22472 Py_INCREF(Py_None
); resultobj
= Py_None
;
22479 static PyObject
*_wrap_PyCommandEvent__GetSelf(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22480 PyObject
*resultobj
;
22481 wxPyCommandEvent
*arg1
= (wxPyCommandEvent
*) 0 ;
22483 PyObject
* obj0
= 0 ;
22484 char *kwnames
[] = {
22485 (char *) "self", NULL
22488 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyCommandEvent__GetSelf",kwnames
,&obj0
)) goto fail
;
22489 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyCommandEvent
, SWIG_POINTER_EXCEPTION
| 0);
22490 if (SWIG_arg_fail(1)) SWIG_fail
;
22492 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22493 result
= (PyObject
*)(arg1
)->GetSelf();
22495 wxPyEndAllowThreads(__tstate
);
22496 if (PyErr_Occurred()) SWIG_fail
;
22498 resultobj
= result
;
22505 static PyObject
* PyCommandEvent_swigregister(PyObject
*, PyObject
*args
) {
22507 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
22508 SWIG_TypeClientData(SWIGTYPE_p_wxPyCommandEvent
, obj
);
22510 return Py_BuildValue((char *)"");
22512 static PyObject
*_wrap_new_DateEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22513 PyObject
*resultobj
;
22514 wxWindow
*arg1
= (wxWindow
*) 0 ;
22515 wxDateTime
*arg2
= 0 ;
22517 wxDateEvent
*result
;
22518 PyObject
* obj0
= 0 ;
22519 PyObject
* obj1
= 0 ;
22520 PyObject
* obj2
= 0 ;
22521 char *kwnames
[] = {
22522 (char *) "win",(char *) "dt",(char *) "type", NULL
22525 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:new_DateEvent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22526 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
22527 if (SWIG_arg_fail(1)) SWIG_fail
;
22529 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22530 if (SWIG_arg_fail(2)) SWIG_fail
;
22531 if (arg2
== NULL
) {
22532 SWIG_null_ref("wxDateTime");
22534 if (SWIG_arg_fail(2)) SWIG_fail
;
22537 arg3
= (wxEventType
)(SWIG_As_int(obj2
));
22538 if (SWIG_arg_fail(3)) SWIG_fail
;
22541 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22542 result
= (wxDateEvent
*)new wxDateEvent(arg1
,(wxDateTime
const &)*arg2
,arg3
);
22544 wxPyEndAllowThreads(__tstate
);
22545 if (PyErr_Occurred()) SWIG_fail
;
22547 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateEvent
, 1);
22554 static PyObject
*_wrap_DateEvent_GetDate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22555 PyObject
*resultobj
;
22556 wxDateEvent
*arg1
= (wxDateEvent
*) 0 ;
22557 wxDateTime
*result
;
22558 PyObject
* obj0
= 0 ;
22559 char *kwnames
[] = {
22560 (char *) "self", NULL
22563 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateEvent_GetDate",kwnames
,&obj0
)) goto fail
;
22564 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateEvent
, SWIG_POINTER_EXCEPTION
| 0);
22565 if (SWIG_arg_fail(1)) SWIG_fail
;
22567 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22569 wxDateTime
const &_result_ref
= ((wxDateEvent
const *)arg1
)->GetDate();
22570 result
= (wxDateTime
*) &_result_ref
;
22573 wxPyEndAllowThreads(__tstate
);
22574 if (PyErr_Occurred()) SWIG_fail
;
22576 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
22583 static PyObject
*_wrap_DateEvent_SetDate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22584 PyObject
*resultobj
;
22585 wxDateEvent
*arg1
= (wxDateEvent
*) 0 ;
22586 wxDateTime
*arg2
= 0 ;
22587 PyObject
* obj0
= 0 ;
22588 PyObject
* obj1
= 0 ;
22589 char *kwnames
[] = {
22590 (char *) "self",(char *) "date", NULL
22593 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateEvent_SetDate",kwnames
,&obj0
,&obj1
)) goto fail
;
22594 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateEvent
, SWIG_POINTER_EXCEPTION
| 0);
22595 if (SWIG_arg_fail(1)) SWIG_fail
;
22597 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22598 if (SWIG_arg_fail(2)) SWIG_fail
;
22599 if (arg2
== NULL
) {
22600 SWIG_null_ref("wxDateTime");
22602 if (SWIG_arg_fail(2)) SWIG_fail
;
22605 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22606 (arg1
)->SetDate((wxDateTime
const &)*arg2
);
22608 wxPyEndAllowThreads(__tstate
);
22609 if (PyErr_Occurred()) SWIG_fail
;
22611 Py_INCREF(Py_None
); resultobj
= Py_None
;
22618 static PyObject
* DateEvent_swigregister(PyObject
*, PyObject
*args
) {
22620 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
22621 SWIG_TypeClientData(SWIGTYPE_p_wxDateEvent
, obj
);
22623 return Py_BuildValue((char *)"");
22625 static PyObject
*_wrap_new_PyApp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22626 PyObject
*resultobj
;
22628 char *kwnames
[] = {
22632 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PyApp",kwnames
)) goto fail
;
22634 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22635 result
= (wxPyApp
*)new_wxPyApp();
22637 wxPyEndAllowThreads(__tstate
);
22638 if (PyErr_Occurred()) SWIG_fail
;
22640 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyApp
, 1);
22647 static PyObject
*_wrap_delete_PyApp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22648 PyObject
*resultobj
;
22649 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
22650 PyObject
* obj0
= 0 ;
22651 char *kwnames
[] = {
22652 (char *) "self", NULL
22655 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PyApp",kwnames
,&obj0
)) goto fail
;
22656 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
22657 if (SWIG_arg_fail(1)) SWIG_fail
;
22659 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22662 wxPyEndAllowThreads(__tstate
);
22663 if (PyErr_Occurred()) SWIG_fail
;
22665 Py_INCREF(Py_None
); resultobj
= Py_None
;
22672 static PyObject
*_wrap_PyApp__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22673 PyObject
*resultobj
;
22674 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
22675 PyObject
*arg2
= (PyObject
*) 0 ;
22676 PyObject
*arg3
= (PyObject
*) 0 ;
22678 PyObject
* obj0
= 0 ;
22679 PyObject
* obj1
= 0 ;
22680 PyObject
* obj2
= 0 ;
22681 PyObject
* obj3
= 0 ;
22682 char *kwnames
[] = {
22683 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
22686 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PyApp__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
22687 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
22688 if (SWIG_arg_fail(1)) SWIG_fail
;
22692 arg4
= (bool)(SWIG_As_bool(obj3
));
22693 if (SWIG_arg_fail(4)) SWIG_fail
;
22696 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22697 (arg1
)->_setCallbackInfo(arg2
,arg3
,arg4
);
22699 wxPyEndAllowThreads(__tstate
);
22700 if (PyErr_Occurred()) SWIG_fail
;
22702 Py_INCREF(Py_None
); resultobj
= Py_None
;
22709 static PyObject
*_wrap_PyApp_GetAppName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22710 PyObject
*resultobj
;
22711 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
22713 PyObject
* obj0
= 0 ;
22714 char *kwnames
[] = {
22715 (char *) "self", NULL
22718 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetAppName",kwnames
,&obj0
)) goto fail
;
22719 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
22720 if (SWIG_arg_fail(1)) SWIG_fail
;
22722 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22723 result
= ((wxPyApp
const *)arg1
)->GetAppName();
22725 wxPyEndAllowThreads(__tstate
);
22726 if (PyErr_Occurred()) SWIG_fail
;
22730 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
22732 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
22741 static PyObject
*_wrap_PyApp_SetAppName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22742 PyObject
*resultobj
;
22743 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
22744 wxString
*arg2
= 0 ;
22745 bool temp2
= false ;
22746 PyObject
* obj0
= 0 ;
22747 PyObject
* obj1
= 0 ;
22748 char *kwnames
[] = {
22749 (char *) "self",(char *) "name", NULL
22752 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetAppName",kwnames
,&obj0
,&obj1
)) goto fail
;
22753 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
22754 if (SWIG_arg_fail(1)) SWIG_fail
;
22756 arg2
= wxString_in_helper(obj1
);
22757 if (arg2
== NULL
) SWIG_fail
;
22761 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22762 (arg1
)->SetAppName((wxString
const &)*arg2
);
22764 wxPyEndAllowThreads(__tstate
);
22765 if (PyErr_Occurred()) SWIG_fail
;
22767 Py_INCREF(Py_None
); resultobj
= Py_None
;
22782 static PyObject
*_wrap_PyApp_GetClassName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22783 PyObject
*resultobj
;
22784 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
22786 PyObject
* obj0
= 0 ;
22787 char *kwnames
[] = {
22788 (char *) "self", NULL
22791 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetClassName",kwnames
,&obj0
)) goto fail
;
22792 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
22793 if (SWIG_arg_fail(1)) SWIG_fail
;
22795 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22796 result
= ((wxPyApp
const *)arg1
)->GetClassName();
22798 wxPyEndAllowThreads(__tstate
);
22799 if (PyErr_Occurred()) SWIG_fail
;
22803 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
22805 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
22814 static PyObject
*_wrap_PyApp_SetClassName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22815 PyObject
*resultobj
;
22816 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
22817 wxString
*arg2
= 0 ;
22818 bool temp2
= false ;
22819 PyObject
* obj0
= 0 ;
22820 PyObject
* obj1
= 0 ;
22821 char *kwnames
[] = {
22822 (char *) "self",(char *) "name", NULL
22825 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetClassName",kwnames
,&obj0
,&obj1
)) goto fail
;
22826 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
22827 if (SWIG_arg_fail(1)) SWIG_fail
;
22829 arg2
= wxString_in_helper(obj1
);
22830 if (arg2
== NULL
) SWIG_fail
;
22834 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22835 (arg1
)->SetClassName((wxString
const &)*arg2
);
22837 wxPyEndAllowThreads(__tstate
);
22838 if (PyErr_Occurred()) SWIG_fail
;
22840 Py_INCREF(Py_None
); resultobj
= Py_None
;
22855 static PyObject
*_wrap_PyApp_GetVendorName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22856 PyObject
*resultobj
;
22857 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
22859 PyObject
* obj0
= 0 ;
22860 char *kwnames
[] = {
22861 (char *) "self", NULL
22864 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetVendorName",kwnames
,&obj0
)) goto fail
;
22865 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
22866 if (SWIG_arg_fail(1)) SWIG_fail
;
22868 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22870 wxString
const &_result_ref
= ((wxPyApp
const *)arg1
)->GetVendorName();
22871 result
= (wxString
*) &_result_ref
;
22874 wxPyEndAllowThreads(__tstate
);
22875 if (PyErr_Occurred()) SWIG_fail
;
22879 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
22881 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
22890 static PyObject
*_wrap_PyApp_SetVendorName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22891 PyObject
*resultobj
;
22892 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
22893 wxString
*arg2
= 0 ;
22894 bool temp2
= false ;
22895 PyObject
* obj0
= 0 ;
22896 PyObject
* obj1
= 0 ;
22897 char *kwnames
[] = {
22898 (char *) "self",(char *) "name", NULL
22901 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetVendorName",kwnames
,&obj0
,&obj1
)) goto fail
;
22902 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
22903 if (SWIG_arg_fail(1)) SWIG_fail
;
22905 arg2
= wxString_in_helper(obj1
);
22906 if (arg2
== NULL
) SWIG_fail
;
22910 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22911 (arg1
)->SetVendorName((wxString
const &)*arg2
);
22913 wxPyEndAllowThreads(__tstate
);
22914 if (PyErr_Occurred()) SWIG_fail
;
22916 Py_INCREF(Py_None
); resultobj
= Py_None
;
22931 static PyObject
*_wrap_PyApp_GetTraits(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22932 PyObject
*resultobj
;
22933 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
22934 wxAppTraits
*result
;
22935 PyObject
* obj0
= 0 ;
22936 char *kwnames
[] = {
22937 (char *) "self", NULL
22940 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetTraits",kwnames
,&obj0
)) goto fail
;
22941 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
22942 if (SWIG_arg_fail(1)) SWIG_fail
;
22944 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22945 result
= (wxAppTraits
*)(arg1
)->GetTraits();
22947 wxPyEndAllowThreads(__tstate
);
22948 if (PyErr_Occurred()) SWIG_fail
;
22950 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxAppTraits
, 0);
22957 static PyObject
*_wrap_PyApp_ProcessPendingEvents(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22958 PyObject
*resultobj
;
22959 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
22960 PyObject
* obj0
= 0 ;
22961 char *kwnames
[] = {
22962 (char *) "self", NULL
22965 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_ProcessPendingEvents",kwnames
,&obj0
)) goto fail
;
22966 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
22967 if (SWIG_arg_fail(1)) SWIG_fail
;
22969 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22970 (arg1
)->ProcessPendingEvents();
22972 wxPyEndAllowThreads(__tstate
);
22973 if (PyErr_Occurred()) SWIG_fail
;
22975 Py_INCREF(Py_None
); resultobj
= Py_None
;
22982 static PyObject
*_wrap_PyApp_Yield(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22983 PyObject
*resultobj
;
22984 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
22985 bool arg2
= (bool) false ;
22987 PyObject
* obj0
= 0 ;
22988 PyObject
* obj1
= 0 ;
22989 char *kwnames
[] = {
22990 (char *) "self",(char *) "onlyIfNeeded", NULL
22993 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:PyApp_Yield",kwnames
,&obj0
,&obj1
)) goto fail
;
22994 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
22995 if (SWIG_arg_fail(1)) SWIG_fail
;
22998 arg2
= (bool)(SWIG_As_bool(obj1
));
22999 if (SWIG_arg_fail(2)) SWIG_fail
;
23003 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23004 result
= (bool)(arg1
)->Yield(arg2
);
23006 wxPyEndAllowThreads(__tstate
);
23007 if (PyErr_Occurred()) SWIG_fail
;
23010 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23018 static PyObject
*_wrap_PyApp_WakeUpIdle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23019 PyObject
*resultobj
;
23020 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
23021 PyObject
* obj0
= 0 ;
23022 char *kwnames
[] = {
23023 (char *) "self", NULL
23026 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_WakeUpIdle",kwnames
,&obj0
)) goto fail
;
23027 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
23028 if (SWIG_arg_fail(1)) SWIG_fail
;
23030 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23031 (arg1
)->WakeUpIdle();
23033 wxPyEndAllowThreads(__tstate
);
23034 if (PyErr_Occurred()) SWIG_fail
;
23036 Py_INCREF(Py_None
); resultobj
= Py_None
;
23043 static PyObject
*_wrap_PyApp_IsMainLoopRunning(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23044 PyObject
*resultobj
;
23046 char *kwnames
[] = {
23050 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PyApp_IsMainLoopRunning",kwnames
)) goto fail
;
23052 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23053 result
= (bool)wxPyApp::IsMainLoopRunning();
23055 wxPyEndAllowThreads(__tstate
);
23056 if (PyErr_Occurred()) SWIG_fail
;
23059 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23067 static PyObject
*_wrap_PyApp_MainLoop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23068 PyObject
*resultobj
;
23069 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
23071 PyObject
* obj0
= 0 ;
23072 char *kwnames
[] = {
23073 (char *) "self", NULL
23076 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_MainLoop",kwnames
,&obj0
)) goto fail
;
23077 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
23078 if (SWIG_arg_fail(1)) SWIG_fail
;
23080 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23081 result
= (int)(arg1
)->MainLoop();
23083 wxPyEndAllowThreads(__tstate
);
23084 if (PyErr_Occurred()) SWIG_fail
;
23087 resultobj
= SWIG_From_int((int)(result
));
23095 static PyObject
*_wrap_PyApp_Exit(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23096 PyObject
*resultobj
;
23097 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
23098 PyObject
* obj0
= 0 ;
23099 char *kwnames
[] = {
23100 (char *) "self", NULL
23103 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_Exit",kwnames
,&obj0
)) goto fail
;
23104 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
23105 if (SWIG_arg_fail(1)) SWIG_fail
;
23107 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23110 wxPyEndAllowThreads(__tstate
);
23111 if (PyErr_Occurred()) SWIG_fail
;
23113 Py_INCREF(Py_None
); resultobj
= Py_None
;
23120 static PyObject
*_wrap_PyApp_ExitMainLoop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23121 PyObject
*resultobj
;
23122 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
23123 PyObject
* obj0
= 0 ;
23124 char *kwnames
[] = {
23125 (char *) "self", NULL
23128 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_ExitMainLoop",kwnames
,&obj0
)) goto fail
;
23129 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
23130 if (SWIG_arg_fail(1)) SWIG_fail
;
23132 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23133 (arg1
)->ExitMainLoop();
23135 wxPyEndAllowThreads(__tstate
);
23136 if (PyErr_Occurred()) SWIG_fail
;
23138 Py_INCREF(Py_None
); resultobj
= Py_None
;
23145 static PyObject
*_wrap_PyApp_Pending(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23146 PyObject
*resultobj
;
23147 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
23149 PyObject
* obj0
= 0 ;
23150 char *kwnames
[] = {
23151 (char *) "self", NULL
23154 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_Pending",kwnames
,&obj0
)) goto fail
;
23155 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
23156 if (SWIG_arg_fail(1)) SWIG_fail
;
23158 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23159 result
= (bool)(arg1
)->Pending();
23161 wxPyEndAllowThreads(__tstate
);
23162 if (PyErr_Occurred()) SWIG_fail
;
23165 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23173 static PyObject
*_wrap_PyApp_Dispatch(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23174 PyObject
*resultobj
;
23175 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
23177 PyObject
* obj0
= 0 ;
23178 char *kwnames
[] = {
23179 (char *) "self", NULL
23182 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_Dispatch",kwnames
,&obj0
)) goto fail
;
23183 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
23184 if (SWIG_arg_fail(1)) SWIG_fail
;
23186 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23187 result
= (bool)(arg1
)->Dispatch();
23189 wxPyEndAllowThreads(__tstate
);
23190 if (PyErr_Occurred()) SWIG_fail
;
23193 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23201 static PyObject
*_wrap_PyApp_ProcessIdle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23202 PyObject
*resultobj
;
23203 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
23205 PyObject
* obj0
= 0 ;
23206 char *kwnames
[] = {
23207 (char *) "self", NULL
23210 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_ProcessIdle",kwnames
,&obj0
)) goto fail
;
23211 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
23212 if (SWIG_arg_fail(1)) SWIG_fail
;
23214 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23215 result
= (bool)(arg1
)->ProcessIdle();
23217 wxPyEndAllowThreads(__tstate
);
23218 if (PyErr_Occurred()) SWIG_fail
;
23221 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23229 static PyObject
*_wrap_PyApp_SendIdleEvents(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23230 PyObject
*resultobj
;
23231 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
23232 wxWindow
*arg2
= (wxWindow
*) 0 ;
23233 wxIdleEvent
*arg3
= 0 ;
23235 PyObject
* obj0
= 0 ;
23236 PyObject
* obj1
= 0 ;
23237 PyObject
* obj2
= 0 ;
23238 char *kwnames
[] = {
23239 (char *) "self",(char *) "win",(char *) "event", NULL
23242 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyApp_SendIdleEvents",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23243 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
23244 if (SWIG_arg_fail(1)) SWIG_fail
;
23245 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
23246 if (SWIG_arg_fail(2)) SWIG_fail
;
23248 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxIdleEvent
, SWIG_POINTER_EXCEPTION
| 0);
23249 if (SWIG_arg_fail(3)) SWIG_fail
;
23250 if (arg3
== NULL
) {
23251 SWIG_null_ref("wxIdleEvent");
23253 if (SWIG_arg_fail(3)) SWIG_fail
;
23256 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23257 result
= (bool)(arg1
)->SendIdleEvents(arg2
,*arg3
);
23259 wxPyEndAllowThreads(__tstate
);
23260 if (PyErr_Occurred()) SWIG_fail
;
23263 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23271 static PyObject
*_wrap_PyApp_IsActive(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23272 PyObject
*resultobj
;
23273 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
23275 PyObject
* obj0
= 0 ;
23276 char *kwnames
[] = {
23277 (char *) "self", NULL
23280 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_IsActive",kwnames
,&obj0
)) goto fail
;
23281 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
23282 if (SWIG_arg_fail(1)) SWIG_fail
;
23284 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23285 result
= (bool)((wxPyApp
const *)arg1
)->IsActive();
23287 wxPyEndAllowThreads(__tstate
);
23288 if (PyErr_Occurred()) SWIG_fail
;
23291 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23299 static PyObject
*_wrap_PyApp_SetTopWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23300 PyObject
*resultobj
;
23301 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
23302 wxWindow
*arg2
= (wxWindow
*) 0 ;
23303 PyObject
* obj0
= 0 ;
23304 PyObject
* obj1
= 0 ;
23305 char *kwnames
[] = {
23306 (char *) "self",(char *) "win", NULL
23309 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetTopWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
23310 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
23311 if (SWIG_arg_fail(1)) SWIG_fail
;
23312 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
23313 if (SWIG_arg_fail(2)) SWIG_fail
;
23315 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23316 (arg1
)->SetTopWindow(arg2
);
23318 wxPyEndAllowThreads(__tstate
);
23319 if (PyErr_Occurred()) SWIG_fail
;
23321 Py_INCREF(Py_None
); resultobj
= Py_None
;
23328 static PyObject
*_wrap_PyApp_GetTopWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23329 PyObject
*resultobj
;
23330 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
23332 PyObject
* obj0
= 0 ;
23333 char *kwnames
[] = {
23334 (char *) "self", NULL
23337 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetTopWindow",kwnames
,&obj0
)) goto fail
;
23338 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
23339 if (SWIG_arg_fail(1)) SWIG_fail
;
23341 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23342 result
= (wxWindow
*)((wxPyApp
const *)arg1
)->GetTopWindow();
23344 wxPyEndAllowThreads(__tstate
);
23345 if (PyErr_Occurred()) SWIG_fail
;
23348 resultobj
= wxPyMake_wxObject(result
, 0);
23356 static PyObject
*_wrap_PyApp_SetExitOnFrameDelete(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23357 PyObject
*resultobj
;
23358 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
23360 PyObject
* obj0
= 0 ;
23361 PyObject
* obj1
= 0 ;
23362 char *kwnames
[] = {
23363 (char *) "self",(char *) "flag", NULL
23366 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetExitOnFrameDelete",kwnames
,&obj0
,&obj1
)) goto fail
;
23367 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
23368 if (SWIG_arg_fail(1)) SWIG_fail
;
23370 arg2
= (bool)(SWIG_As_bool(obj1
));
23371 if (SWIG_arg_fail(2)) SWIG_fail
;
23374 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23375 (arg1
)->SetExitOnFrameDelete(arg2
);
23377 wxPyEndAllowThreads(__tstate
);
23378 if (PyErr_Occurred()) SWIG_fail
;
23380 Py_INCREF(Py_None
); resultobj
= Py_None
;
23387 static PyObject
*_wrap_PyApp_GetExitOnFrameDelete(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23388 PyObject
*resultobj
;
23389 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
23391 PyObject
* obj0
= 0 ;
23392 char *kwnames
[] = {
23393 (char *) "self", NULL
23396 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetExitOnFrameDelete",kwnames
,&obj0
)) goto fail
;
23397 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
23398 if (SWIG_arg_fail(1)) SWIG_fail
;
23400 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23401 result
= (bool)((wxPyApp
const *)arg1
)->GetExitOnFrameDelete();
23403 wxPyEndAllowThreads(__tstate
);
23404 if (PyErr_Occurred()) SWIG_fail
;
23407 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23415 static PyObject
*_wrap_PyApp_SetUseBestVisual(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23416 PyObject
*resultobj
;
23417 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
23419 PyObject
* obj0
= 0 ;
23420 PyObject
* obj1
= 0 ;
23421 char *kwnames
[] = {
23422 (char *) "self",(char *) "flag", NULL
23425 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetUseBestVisual",kwnames
,&obj0
,&obj1
)) goto fail
;
23426 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
23427 if (SWIG_arg_fail(1)) SWIG_fail
;
23429 arg2
= (bool)(SWIG_As_bool(obj1
));
23430 if (SWIG_arg_fail(2)) SWIG_fail
;
23433 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23434 (arg1
)->SetUseBestVisual(arg2
);
23436 wxPyEndAllowThreads(__tstate
);
23437 if (PyErr_Occurred()) SWIG_fail
;
23439 Py_INCREF(Py_None
); resultobj
= Py_None
;
23446 static PyObject
*_wrap_PyApp_GetUseBestVisual(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23447 PyObject
*resultobj
;
23448 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
23450 PyObject
* obj0
= 0 ;
23451 char *kwnames
[] = {
23452 (char *) "self", NULL
23455 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetUseBestVisual",kwnames
,&obj0
)) goto fail
;
23456 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
23457 if (SWIG_arg_fail(1)) SWIG_fail
;
23459 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23460 result
= (bool)((wxPyApp
const *)arg1
)->GetUseBestVisual();
23462 wxPyEndAllowThreads(__tstate
);
23463 if (PyErr_Occurred()) SWIG_fail
;
23466 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23474 static PyObject
*_wrap_PyApp_SetPrintMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23475 PyObject
*resultobj
;
23476 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
23478 PyObject
* obj0
= 0 ;
23479 PyObject
* obj1
= 0 ;
23480 char *kwnames
[] = {
23481 (char *) "self",(char *) "mode", NULL
23484 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetPrintMode",kwnames
,&obj0
,&obj1
)) goto fail
;
23485 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
23486 if (SWIG_arg_fail(1)) SWIG_fail
;
23488 arg2
= (int)(SWIG_As_int(obj1
));
23489 if (SWIG_arg_fail(2)) SWIG_fail
;
23492 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23493 (arg1
)->SetPrintMode(arg2
);
23495 wxPyEndAllowThreads(__tstate
);
23496 if (PyErr_Occurred()) SWIG_fail
;
23498 Py_INCREF(Py_None
); resultobj
= Py_None
;
23505 static PyObject
*_wrap_PyApp_GetPrintMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23506 PyObject
*resultobj
;
23507 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
23509 PyObject
* obj0
= 0 ;
23510 char *kwnames
[] = {
23511 (char *) "self", NULL
23514 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetPrintMode",kwnames
,&obj0
)) goto fail
;
23515 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
23516 if (SWIG_arg_fail(1)) SWIG_fail
;
23518 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23519 result
= (int)((wxPyApp
const *)arg1
)->GetPrintMode();
23521 wxPyEndAllowThreads(__tstate
);
23522 if (PyErr_Occurred()) SWIG_fail
;
23525 resultobj
= SWIG_From_int((int)(result
));
23533 static PyObject
*_wrap_PyApp_SetAssertMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23534 PyObject
*resultobj
;
23535 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
23537 PyObject
* obj0
= 0 ;
23538 PyObject
* obj1
= 0 ;
23539 char *kwnames
[] = {
23540 (char *) "self",(char *) "mode", NULL
23543 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetAssertMode",kwnames
,&obj0
,&obj1
)) goto fail
;
23544 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
23545 if (SWIG_arg_fail(1)) SWIG_fail
;
23547 arg2
= (int)(SWIG_As_int(obj1
));
23548 if (SWIG_arg_fail(2)) SWIG_fail
;
23551 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23552 (arg1
)->SetAssertMode(arg2
);
23554 wxPyEndAllowThreads(__tstate
);
23555 if (PyErr_Occurred()) SWIG_fail
;
23557 Py_INCREF(Py_None
); resultobj
= Py_None
;
23564 static PyObject
*_wrap_PyApp_GetAssertMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23565 PyObject
*resultobj
;
23566 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
23568 PyObject
* obj0
= 0 ;
23569 char *kwnames
[] = {
23570 (char *) "self", NULL
23573 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetAssertMode",kwnames
,&obj0
)) goto fail
;
23574 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
23575 if (SWIG_arg_fail(1)) SWIG_fail
;
23577 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23578 result
= (int)(arg1
)->GetAssertMode();
23580 wxPyEndAllowThreads(__tstate
);
23581 if (PyErr_Occurred()) SWIG_fail
;
23584 resultobj
= SWIG_From_int((int)(result
));
23592 static PyObject
*_wrap_PyApp_GetMacSupportPCMenuShortcuts(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23593 PyObject
*resultobj
;
23595 char *kwnames
[] = {
23599 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PyApp_GetMacSupportPCMenuShortcuts",kwnames
)) goto fail
;
23601 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23602 result
= (bool)wxPyApp::GetMacSupportPCMenuShortcuts();
23604 wxPyEndAllowThreads(__tstate
);
23605 if (PyErr_Occurred()) SWIG_fail
;
23608 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23616 static PyObject
*_wrap_PyApp_GetMacAboutMenuItemId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23617 PyObject
*resultobj
;
23619 char *kwnames
[] = {
23623 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PyApp_GetMacAboutMenuItemId",kwnames
)) goto fail
;
23625 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23626 result
= (long)wxPyApp::GetMacAboutMenuItemId();
23628 wxPyEndAllowThreads(__tstate
);
23629 if (PyErr_Occurred()) SWIG_fail
;
23632 resultobj
= SWIG_From_long((long)(result
));
23640 static PyObject
*_wrap_PyApp_GetMacPreferencesMenuItemId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23641 PyObject
*resultobj
;
23643 char *kwnames
[] = {
23647 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PyApp_GetMacPreferencesMenuItemId",kwnames
)) goto fail
;
23649 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23650 result
= (long)wxPyApp::GetMacPreferencesMenuItemId();
23652 wxPyEndAllowThreads(__tstate
);
23653 if (PyErr_Occurred()) SWIG_fail
;
23656 resultobj
= SWIG_From_long((long)(result
));
23664 static PyObject
*_wrap_PyApp_GetMacExitMenuItemId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23665 PyObject
*resultobj
;
23667 char *kwnames
[] = {
23671 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PyApp_GetMacExitMenuItemId",kwnames
)) goto fail
;
23673 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23674 result
= (long)wxPyApp::GetMacExitMenuItemId();
23676 wxPyEndAllowThreads(__tstate
);
23677 if (PyErr_Occurred()) SWIG_fail
;
23680 resultobj
= SWIG_From_long((long)(result
));
23688 static PyObject
*_wrap_PyApp_GetMacHelpMenuTitleName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23689 PyObject
*resultobj
;
23691 char *kwnames
[] = {
23695 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PyApp_GetMacHelpMenuTitleName",kwnames
)) goto fail
;
23697 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23698 result
= wxPyApp::GetMacHelpMenuTitleName();
23700 wxPyEndAllowThreads(__tstate
);
23701 if (PyErr_Occurred()) SWIG_fail
;
23705 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
23707 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
23716 static PyObject
*_wrap_PyApp_SetMacSupportPCMenuShortcuts(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23717 PyObject
*resultobj
;
23719 PyObject
* obj0
= 0 ;
23720 char *kwnames
[] = {
23721 (char *) "val", NULL
23724 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_SetMacSupportPCMenuShortcuts",kwnames
,&obj0
)) goto fail
;
23726 arg1
= (bool)(SWIG_As_bool(obj0
));
23727 if (SWIG_arg_fail(1)) SWIG_fail
;
23730 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23731 wxPyApp::SetMacSupportPCMenuShortcuts(arg1
);
23733 wxPyEndAllowThreads(__tstate
);
23734 if (PyErr_Occurred()) SWIG_fail
;
23736 Py_INCREF(Py_None
); resultobj
= Py_None
;
23743 static PyObject
*_wrap_PyApp_SetMacAboutMenuItemId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23744 PyObject
*resultobj
;
23746 PyObject
* obj0
= 0 ;
23747 char *kwnames
[] = {
23748 (char *) "val", NULL
23751 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_SetMacAboutMenuItemId",kwnames
,&obj0
)) goto fail
;
23753 arg1
= (long)(SWIG_As_long(obj0
));
23754 if (SWIG_arg_fail(1)) SWIG_fail
;
23757 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23758 wxPyApp::SetMacAboutMenuItemId(arg1
);
23760 wxPyEndAllowThreads(__tstate
);
23761 if (PyErr_Occurred()) SWIG_fail
;
23763 Py_INCREF(Py_None
); resultobj
= Py_None
;
23770 static PyObject
*_wrap_PyApp_SetMacPreferencesMenuItemId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23771 PyObject
*resultobj
;
23773 PyObject
* obj0
= 0 ;
23774 char *kwnames
[] = {
23775 (char *) "val", NULL
23778 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_SetMacPreferencesMenuItemId",kwnames
,&obj0
)) goto fail
;
23780 arg1
= (long)(SWIG_As_long(obj0
));
23781 if (SWIG_arg_fail(1)) SWIG_fail
;
23784 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23785 wxPyApp::SetMacPreferencesMenuItemId(arg1
);
23787 wxPyEndAllowThreads(__tstate
);
23788 if (PyErr_Occurred()) SWIG_fail
;
23790 Py_INCREF(Py_None
); resultobj
= Py_None
;
23797 static PyObject
*_wrap_PyApp_SetMacExitMenuItemId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23798 PyObject
*resultobj
;
23800 PyObject
* obj0
= 0 ;
23801 char *kwnames
[] = {
23802 (char *) "val", NULL
23805 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_SetMacExitMenuItemId",kwnames
,&obj0
)) goto fail
;
23807 arg1
= (long)(SWIG_As_long(obj0
));
23808 if (SWIG_arg_fail(1)) SWIG_fail
;
23811 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23812 wxPyApp::SetMacExitMenuItemId(arg1
);
23814 wxPyEndAllowThreads(__tstate
);
23815 if (PyErr_Occurred()) SWIG_fail
;
23817 Py_INCREF(Py_None
); resultobj
= Py_None
;
23824 static PyObject
*_wrap_PyApp_SetMacHelpMenuTitleName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23825 PyObject
*resultobj
;
23826 wxString
*arg1
= 0 ;
23827 bool temp1
= false ;
23828 PyObject
* obj0
= 0 ;
23829 char *kwnames
[] = {
23830 (char *) "val", NULL
23833 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_SetMacHelpMenuTitleName",kwnames
,&obj0
)) goto fail
;
23835 arg1
= wxString_in_helper(obj0
);
23836 if (arg1
== NULL
) SWIG_fail
;
23840 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23841 wxPyApp::SetMacHelpMenuTitleName((wxString
const &)*arg1
);
23843 wxPyEndAllowThreads(__tstate
);
23844 if (PyErr_Occurred()) SWIG_fail
;
23846 Py_INCREF(Py_None
); resultobj
= Py_None
;
23861 static PyObject
*_wrap_PyApp__BootstrapApp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23862 PyObject
*resultobj
;
23863 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
23864 PyObject
* obj0
= 0 ;
23865 char *kwnames
[] = {
23866 (char *) "self", NULL
23869 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp__BootstrapApp",kwnames
,&obj0
)) goto fail
;
23870 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
23871 if (SWIG_arg_fail(1)) SWIG_fail
;
23873 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23874 (arg1
)->_BootstrapApp();
23876 wxPyEndAllowThreads(__tstate
);
23877 if (PyErr_Occurred()) SWIG_fail
;
23879 Py_INCREF(Py_None
); resultobj
= Py_None
;
23886 static PyObject
*_wrap_PyApp_GetComCtl32Version(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23887 PyObject
*resultobj
;
23889 char *kwnames
[] = {
23893 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PyApp_GetComCtl32Version",kwnames
)) goto fail
;
23895 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23896 result
= (int)wxPyApp::GetComCtl32Version();
23898 wxPyEndAllowThreads(__tstate
);
23899 if (PyErr_Occurred()) SWIG_fail
;
23902 resultobj
= SWIG_From_int((int)(result
));
23910 static PyObject
* PyApp_swigregister(PyObject
*, PyObject
*args
) {
23912 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
23913 SWIG_TypeClientData(SWIGTYPE_p_wxPyApp
, obj
);
23915 return Py_BuildValue((char *)"");
23917 static PyObject
*_wrap_Exit(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23918 PyObject
*resultobj
;
23919 char *kwnames
[] = {
23923 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Exit",kwnames
)) goto fail
;
23925 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23928 wxPyEndAllowThreads(__tstate
);
23929 if (PyErr_Occurred()) SWIG_fail
;
23931 Py_INCREF(Py_None
); resultobj
= Py_None
;
23938 static PyObject
*_wrap_Yield(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23939 PyObject
*resultobj
;
23941 char *kwnames
[] = {
23945 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Yield",kwnames
)) goto fail
;
23947 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23948 result
= (bool)wxYield();
23950 wxPyEndAllowThreads(__tstate
);
23951 if (PyErr_Occurred()) SWIG_fail
;
23954 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23962 static PyObject
*_wrap_YieldIfNeeded(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23963 PyObject
*resultobj
;
23965 char *kwnames
[] = {
23969 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":YieldIfNeeded",kwnames
)) goto fail
;
23971 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23972 result
= (bool)wxYieldIfNeeded();
23974 wxPyEndAllowThreads(__tstate
);
23975 if (PyErr_Occurred()) SWIG_fail
;
23978 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23986 static PyObject
*_wrap_SafeYield(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23987 PyObject
*resultobj
;
23988 wxWindow
*arg1
= (wxWindow
*) NULL
;
23989 bool arg2
= (bool) false ;
23991 PyObject
* obj0
= 0 ;
23992 PyObject
* obj1
= 0 ;
23993 char *kwnames
[] = {
23994 (char *) "win",(char *) "onlyIfNeeded", NULL
23997 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:SafeYield",kwnames
,&obj0
,&obj1
)) goto fail
;
23999 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
24000 if (SWIG_arg_fail(1)) SWIG_fail
;
24004 arg2
= (bool)(SWIG_As_bool(obj1
));
24005 if (SWIG_arg_fail(2)) SWIG_fail
;
24009 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24010 result
= (bool)wxSafeYield(arg1
,arg2
);
24012 wxPyEndAllowThreads(__tstate
);
24013 if (PyErr_Occurred()) SWIG_fail
;
24016 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24024 static PyObject
*_wrap_WakeUpIdle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24025 PyObject
*resultobj
;
24026 char *kwnames
[] = {
24030 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":WakeUpIdle",kwnames
)) goto fail
;
24032 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24035 wxPyEndAllowThreads(__tstate
);
24036 if (PyErr_Occurred()) SWIG_fail
;
24038 Py_INCREF(Py_None
); resultobj
= Py_None
;
24045 static PyObject
*_wrap_PostEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24046 PyObject
*resultobj
;
24047 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
24048 wxEvent
*arg2
= 0 ;
24049 PyObject
* obj0
= 0 ;
24050 PyObject
* obj1
= 0 ;
24051 char *kwnames
[] = {
24052 (char *) "dest",(char *) "event", NULL
24055 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PostEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
24056 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
24057 if (SWIG_arg_fail(1)) SWIG_fail
;
24059 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
24060 if (SWIG_arg_fail(2)) SWIG_fail
;
24061 if (arg2
== NULL
) {
24062 SWIG_null_ref("wxEvent");
24064 if (SWIG_arg_fail(2)) SWIG_fail
;
24067 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24068 wxPostEvent(arg1
,*arg2
);
24070 wxPyEndAllowThreads(__tstate
);
24071 if (PyErr_Occurred()) SWIG_fail
;
24073 Py_INCREF(Py_None
); resultobj
= Py_None
;
24080 static PyObject
*_wrap_App_CleanUp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24081 PyObject
*resultobj
;
24082 char *kwnames
[] = {
24086 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":App_CleanUp",kwnames
)) goto fail
;
24088 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24091 wxPyEndAllowThreads(__tstate
);
24092 if (PyErr_Occurred()) SWIG_fail
;
24094 Py_INCREF(Py_None
); resultobj
= Py_None
;
24101 static PyObject
*_wrap_GetApp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24102 PyObject
*resultobj
;
24104 char *kwnames
[] = {
24108 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetApp",kwnames
)) goto fail
;
24110 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24111 result
= (wxPyApp
*)wxPyGetApp();
24113 wxPyEndAllowThreads(__tstate
);
24114 if (PyErr_Occurred()) SWIG_fail
;
24117 resultobj
= wxPyMake_wxObject(result
, 0);
24125 static PyObject
*_wrap_SetDefaultPyEncoding(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24126 PyObject
*resultobj
;
24127 char *arg1
= (char *) 0 ;
24128 PyObject
* obj0
= 0 ;
24129 char *kwnames
[] = {
24130 (char *) "encoding", NULL
24133 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SetDefaultPyEncoding",kwnames
,&obj0
)) goto fail
;
24134 if (!SWIG_AsCharPtr(obj0
, (char**)&arg1
)) {
24135 SWIG_arg_fail(1);SWIG_fail
;
24138 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24139 wxSetDefaultPyEncoding((char const *)arg1
);
24141 wxPyEndAllowThreads(__tstate
);
24142 if (PyErr_Occurred()) SWIG_fail
;
24144 Py_INCREF(Py_None
); resultobj
= Py_None
;
24151 static PyObject
*_wrap_GetDefaultPyEncoding(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24152 PyObject
*resultobj
;
24154 char *kwnames
[] = {
24158 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetDefaultPyEncoding",kwnames
)) goto fail
;
24160 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24161 result
= (char *)wxGetDefaultPyEncoding();
24163 wxPyEndAllowThreads(__tstate
);
24164 if (PyErr_Occurred()) SWIG_fail
;
24166 resultobj
= SWIG_FromCharPtr(result
);
24173 static PyObject
*_wrap_new_EventLoop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24174 PyObject
*resultobj
;
24175 wxEventLoop
*result
;
24176 char *kwnames
[] = {
24180 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_EventLoop",kwnames
)) goto fail
;
24182 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24183 result
= (wxEventLoop
*)new wxEventLoop();
24185 wxPyEndAllowThreads(__tstate
);
24186 if (PyErr_Occurred()) SWIG_fail
;
24188 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxEventLoop
, 1);
24195 static PyObject
*_wrap_delete_EventLoop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24196 PyObject
*resultobj
;
24197 wxEventLoop
*arg1
= (wxEventLoop
*) 0 ;
24198 PyObject
* obj0
= 0 ;
24199 char *kwnames
[] = {
24200 (char *) "self", NULL
24203 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_EventLoop",kwnames
,&obj0
)) goto fail
;
24204 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEventLoop
, SWIG_POINTER_EXCEPTION
| 0);
24205 if (SWIG_arg_fail(1)) SWIG_fail
;
24207 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24210 wxPyEndAllowThreads(__tstate
);
24211 if (PyErr_Occurred()) SWIG_fail
;
24213 Py_INCREF(Py_None
); resultobj
= Py_None
;
24220 static PyObject
*_wrap_EventLoop_Run(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24221 PyObject
*resultobj
;
24222 wxEventLoop
*arg1
= (wxEventLoop
*) 0 ;
24224 PyObject
* obj0
= 0 ;
24225 char *kwnames
[] = {
24226 (char *) "self", NULL
24229 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EventLoop_Run",kwnames
,&obj0
)) goto fail
;
24230 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEventLoop
, SWIG_POINTER_EXCEPTION
| 0);
24231 if (SWIG_arg_fail(1)) SWIG_fail
;
24233 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24234 result
= (int)(arg1
)->Run();
24236 wxPyEndAllowThreads(__tstate
);
24237 if (PyErr_Occurred()) SWIG_fail
;
24240 resultobj
= SWIG_From_int((int)(result
));
24248 static PyObject
*_wrap_EventLoop_Exit(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24249 PyObject
*resultobj
;
24250 wxEventLoop
*arg1
= (wxEventLoop
*) 0 ;
24251 int arg2
= (int) 0 ;
24252 PyObject
* obj0
= 0 ;
24253 PyObject
* obj1
= 0 ;
24254 char *kwnames
[] = {
24255 (char *) "self",(char *) "rc", NULL
24258 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:EventLoop_Exit",kwnames
,&obj0
,&obj1
)) goto fail
;
24259 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEventLoop
, SWIG_POINTER_EXCEPTION
| 0);
24260 if (SWIG_arg_fail(1)) SWIG_fail
;
24263 arg2
= (int)(SWIG_As_int(obj1
));
24264 if (SWIG_arg_fail(2)) SWIG_fail
;
24268 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24269 (arg1
)->Exit(arg2
);
24271 wxPyEndAllowThreads(__tstate
);
24272 if (PyErr_Occurred()) SWIG_fail
;
24274 Py_INCREF(Py_None
); resultobj
= Py_None
;
24281 static PyObject
*_wrap_EventLoop_Pending(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24282 PyObject
*resultobj
;
24283 wxEventLoop
*arg1
= (wxEventLoop
*) 0 ;
24285 PyObject
* obj0
= 0 ;
24286 char *kwnames
[] = {
24287 (char *) "self", NULL
24290 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EventLoop_Pending",kwnames
,&obj0
)) goto fail
;
24291 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEventLoop
, SWIG_POINTER_EXCEPTION
| 0);
24292 if (SWIG_arg_fail(1)) SWIG_fail
;
24294 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24295 result
= (bool)((wxEventLoop
const *)arg1
)->Pending();
24297 wxPyEndAllowThreads(__tstate
);
24298 if (PyErr_Occurred()) SWIG_fail
;
24301 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24309 static PyObject
*_wrap_EventLoop_Dispatch(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24310 PyObject
*resultobj
;
24311 wxEventLoop
*arg1
= (wxEventLoop
*) 0 ;
24313 PyObject
* obj0
= 0 ;
24314 char *kwnames
[] = {
24315 (char *) "self", NULL
24318 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EventLoop_Dispatch",kwnames
,&obj0
)) goto fail
;
24319 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEventLoop
, SWIG_POINTER_EXCEPTION
| 0);
24320 if (SWIG_arg_fail(1)) SWIG_fail
;
24322 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24323 result
= (bool)(arg1
)->Dispatch();
24325 wxPyEndAllowThreads(__tstate
);
24326 if (PyErr_Occurred()) SWIG_fail
;
24329 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24337 static PyObject
*_wrap_EventLoop_IsRunning(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24338 PyObject
*resultobj
;
24339 wxEventLoop
*arg1
= (wxEventLoop
*) 0 ;
24341 PyObject
* obj0
= 0 ;
24342 char *kwnames
[] = {
24343 (char *) "self", NULL
24346 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EventLoop_IsRunning",kwnames
,&obj0
)) goto fail
;
24347 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEventLoop
, SWIG_POINTER_EXCEPTION
| 0);
24348 if (SWIG_arg_fail(1)) SWIG_fail
;
24350 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24351 result
= (bool)((wxEventLoop
const *)arg1
)->IsRunning();
24353 wxPyEndAllowThreads(__tstate
);
24354 if (PyErr_Occurred()) SWIG_fail
;
24357 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24365 static PyObject
*_wrap_EventLoop_GetActive(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24366 PyObject
*resultobj
;
24367 wxEventLoop
*result
;
24368 char *kwnames
[] = {
24372 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":EventLoop_GetActive",kwnames
)) goto fail
;
24374 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24375 result
= (wxEventLoop
*)wxEventLoop::GetActive();
24377 wxPyEndAllowThreads(__tstate
);
24378 if (PyErr_Occurred()) SWIG_fail
;
24380 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxEventLoop
, 0);
24387 static PyObject
*_wrap_EventLoop_SetActive(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24388 PyObject
*resultobj
;
24389 wxEventLoop
*arg1
= (wxEventLoop
*) 0 ;
24390 PyObject
* obj0
= 0 ;
24391 char *kwnames
[] = {
24392 (char *) "loop", NULL
24395 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EventLoop_SetActive",kwnames
,&obj0
)) goto fail
;
24396 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEventLoop
, SWIG_POINTER_EXCEPTION
| 0);
24397 if (SWIG_arg_fail(1)) SWIG_fail
;
24399 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24400 wxEventLoop::SetActive(arg1
);
24402 wxPyEndAllowThreads(__tstate
);
24403 if (PyErr_Occurred()) SWIG_fail
;
24405 Py_INCREF(Py_None
); resultobj
= Py_None
;
24412 static PyObject
* EventLoop_swigregister(PyObject
*, PyObject
*args
) {
24414 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24415 SWIG_TypeClientData(SWIGTYPE_p_wxEventLoop
, obj
);
24417 return Py_BuildValue((char *)"");
24419 static PyObject
*_wrap_new_AcceleratorEntry(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24420 PyObject
*resultobj
;
24421 int arg1
= (int) 0 ;
24422 int arg2
= (int) 0 ;
24423 int arg3
= (int) 0 ;
24424 wxAcceleratorEntry
*result
;
24425 PyObject
* obj0
= 0 ;
24426 PyObject
* obj1
= 0 ;
24427 PyObject
* obj2
= 0 ;
24428 char *kwnames
[] = {
24429 (char *) "flags",(char *) "keyCode",(char *) "cmdID", NULL
24432 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_AcceleratorEntry",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24435 arg1
= (int)(SWIG_As_int(obj0
));
24436 if (SWIG_arg_fail(1)) SWIG_fail
;
24441 arg2
= (int)(SWIG_As_int(obj1
));
24442 if (SWIG_arg_fail(2)) SWIG_fail
;
24447 arg3
= (int)(SWIG_As_int(obj2
));
24448 if (SWIG_arg_fail(3)) SWIG_fail
;
24452 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24453 result
= (wxAcceleratorEntry
*)new wxAcceleratorEntry(arg1
,arg2
,arg3
);
24455 wxPyEndAllowThreads(__tstate
);
24456 if (PyErr_Occurred()) SWIG_fail
;
24458 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxAcceleratorEntry
, 1);
24465 static PyObject
*_wrap_delete_AcceleratorEntry(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24466 PyObject
*resultobj
;
24467 wxAcceleratorEntry
*arg1
= (wxAcceleratorEntry
*) 0 ;
24468 PyObject
* obj0
= 0 ;
24469 char *kwnames
[] = {
24470 (char *) "self", NULL
24473 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_AcceleratorEntry",kwnames
,&obj0
)) goto fail
;
24474 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxAcceleratorEntry
, SWIG_POINTER_EXCEPTION
| 0);
24475 if (SWIG_arg_fail(1)) SWIG_fail
;
24477 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24480 wxPyEndAllowThreads(__tstate
);
24481 if (PyErr_Occurred()) SWIG_fail
;
24483 Py_INCREF(Py_None
); resultobj
= Py_None
;
24490 static PyObject
*_wrap_AcceleratorEntry_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24491 PyObject
*resultobj
;
24492 wxAcceleratorEntry
*arg1
= (wxAcceleratorEntry
*) 0 ;
24496 PyObject
* obj0
= 0 ;
24497 PyObject
* obj1
= 0 ;
24498 PyObject
* obj2
= 0 ;
24499 PyObject
* obj3
= 0 ;
24500 char *kwnames
[] = {
24501 (char *) "self",(char *) "flags",(char *) "keyCode",(char *) "cmd", NULL
24504 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:AcceleratorEntry_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
24505 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxAcceleratorEntry
, SWIG_POINTER_EXCEPTION
| 0);
24506 if (SWIG_arg_fail(1)) SWIG_fail
;
24508 arg2
= (int)(SWIG_As_int(obj1
));
24509 if (SWIG_arg_fail(2)) SWIG_fail
;
24512 arg3
= (int)(SWIG_As_int(obj2
));
24513 if (SWIG_arg_fail(3)) SWIG_fail
;
24516 arg4
= (int)(SWIG_As_int(obj3
));
24517 if (SWIG_arg_fail(4)) SWIG_fail
;
24520 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24521 (arg1
)->Set(arg2
,arg3
,arg4
);
24523 wxPyEndAllowThreads(__tstate
);
24524 if (PyErr_Occurred()) SWIG_fail
;
24526 Py_INCREF(Py_None
); resultobj
= Py_None
;
24533 static PyObject
*_wrap_AcceleratorEntry_GetFlags(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24534 PyObject
*resultobj
;
24535 wxAcceleratorEntry
*arg1
= (wxAcceleratorEntry
*) 0 ;
24537 PyObject
* obj0
= 0 ;
24538 char *kwnames
[] = {
24539 (char *) "self", NULL
24542 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:AcceleratorEntry_GetFlags",kwnames
,&obj0
)) goto fail
;
24543 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxAcceleratorEntry
, SWIG_POINTER_EXCEPTION
| 0);
24544 if (SWIG_arg_fail(1)) SWIG_fail
;
24546 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24547 result
= (int)(arg1
)->GetFlags();
24549 wxPyEndAllowThreads(__tstate
);
24550 if (PyErr_Occurred()) SWIG_fail
;
24553 resultobj
= SWIG_From_int((int)(result
));
24561 static PyObject
*_wrap_AcceleratorEntry_GetKeyCode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24562 PyObject
*resultobj
;
24563 wxAcceleratorEntry
*arg1
= (wxAcceleratorEntry
*) 0 ;
24565 PyObject
* obj0
= 0 ;
24566 char *kwnames
[] = {
24567 (char *) "self", NULL
24570 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:AcceleratorEntry_GetKeyCode",kwnames
,&obj0
)) goto fail
;
24571 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxAcceleratorEntry
, SWIG_POINTER_EXCEPTION
| 0);
24572 if (SWIG_arg_fail(1)) SWIG_fail
;
24574 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24575 result
= (int)(arg1
)->GetKeyCode();
24577 wxPyEndAllowThreads(__tstate
);
24578 if (PyErr_Occurred()) SWIG_fail
;
24581 resultobj
= SWIG_From_int((int)(result
));
24589 static PyObject
*_wrap_AcceleratorEntry_GetCommand(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24590 PyObject
*resultobj
;
24591 wxAcceleratorEntry
*arg1
= (wxAcceleratorEntry
*) 0 ;
24593 PyObject
* obj0
= 0 ;
24594 char *kwnames
[] = {
24595 (char *) "self", NULL
24598 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:AcceleratorEntry_GetCommand",kwnames
,&obj0
)) goto fail
;
24599 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxAcceleratorEntry
, SWIG_POINTER_EXCEPTION
| 0);
24600 if (SWIG_arg_fail(1)) SWIG_fail
;
24602 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24603 result
= (int)(arg1
)->GetCommand();
24605 wxPyEndAllowThreads(__tstate
);
24606 if (PyErr_Occurred()) SWIG_fail
;
24609 resultobj
= SWIG_From_int((int)(result
));
24617 static PyObject
* AcceleratorEntry_swigregister(PyObject
*, PyObject
*args
) {
24619 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24620 SWIG_TypeClientData(SWIGTYPE_p_wxAcceleratorEntry
, obj
);
24622 return Py_BuildValue((char *)"");
24624 static PyObject
*_wrap_new_AcceleratorTable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24625 PyObject
*resultobj
;
24627 wxAcceleratorEntry
*arg2
= (wxAcceleratorEntry
*) 0 ;
24628 wxAcceleratorTable
*result
;
24629 PyObject
* obj0
= 0 ;
24630 char *kwnames
[] = {
24634 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_AcceleratorTable",kwnames
,&obj0
)) goto fail
;
24636 arg2
= wxAcceleratorEntry_LIST_helper(obj0
);
24637 if (arg2
) arg1
= PyList_Size(obj0
);
24641 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24642 result
= (wxAcceleratorTable
*)new wxAcceleratorTable(arg1
,(wxAcceleratorEntry
const *)arg2
);
24644 wxPyEndAllowThreads(__tstate
);
24645 if (PyErr_Occurred()) SWIG_fail
;
24647 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxAcceleratorTable
, 1);
24660 static PyObject
*_wrap_delete_AcceleratorTable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24661 PyObject
*resultobj
;
24662 wxAcceleratorTable
*arg1
= (wxAcceleratorTable
*) 0 ;
24663 PyObject
* obj0
= 0 ;
24664 char *kwnames
[] = {
24665 (char *) "self", NULL
24668 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_AcceleratorTable",kwnames
,&obj0
)) goto fail
;
24669 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxAcceleratorTable
, SWIG_POINTER_EXCEPTION
| 0);
24670 if (SWIG_arg_fail(1)) SWIG_fail
;
24672 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24675 wxPyEndAllowThreads(__tstate
);
24676 if (PyErr_Occurred()) SWIG_fail
;
24678 Py_INCREF(Py_None
); resultobj
= Py_None
;
24685 static PyObject
*_wrap_AcceleratorTable_Ok(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24686 PyObject
*resultobj
;
24687 wxAcceleratorTable
*arg1
= (wxAcceleratorTable
*) 0 ;
24689 PyObject
* obj0
= 0 ;
24690 char *kwnames
[] = {
24691 (char *) "self", NULL
24694 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:AcceleratorTable_Ok",kwnames
,&obj0
)) goto fail
;
24695 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxAcceleratorTable
, SWIG_POINTER_EXCEPTION
| 0);
24696 if (SWIG_arg_fail(1)) SWIG_fail
;
24698 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24699 result
= (bool)((wxAcceleratorTable
const *)arg1
)->Ok();
24701 wxPyEndAllowThreads(__tstate
);
24702 if (PyErr_Occurred()) SWIG_fail
;
24705 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24713 static PyObject
* AcceleratorTable_swigregister(PyObject
*, PyObject
*args
) {
24715 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24716 SWIG_TypeClientData(SWIGTYPE_p_wxAcceleratorTable
, obj
);
24718 return Py_BuildValue((char *)"");
24720 static int _wrap_NullAcceleratorTable_set(PyObject
*) {
24721 PyErr_SetString(PyExc_TypeError
,"Variable NullAcceleratorTable is read-only.");
24726 static PyObject
*_wrap_NullAcceleratorTable_get(void) {
24729 pyobj
= SWIG_NewPointerObj((void *)(&wxNullAcceleratorTable
), SWIGTYPE_p_wxAcceleratorTable
, 0);
24734 static PyObject
*_wrap_GetAccelFromString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24735 PyObject
*resultobj
;
24736 wxString
*arg1
= 0 ;
24737 wxAcceleratorEntry
*result
;
24738 bool temp1
= false ;
24739 PyObject
* obj0
= 0 ;
24740 char *kwnames
[] = {
24741 (char *) "label", NULL
24744 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GetAccelFromString",kwnames
,&obj0
)) goto fail
;
24746 arg1
= wxString_in_helper(obj0
);
24747 if (arg1
== NULL
) SWIG_fail
;
24751 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24752 result
= (wxAcceleratorEntry
*)wxGetAccelFromString((wxString
const &)*arg1
);
24754 wxPyEndAllowThreads(__tstate
);
24755 if (PyErr_Occurred()) SWIG_fail
;
24757 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxAcceleratorEntry
, 0);
24772 static int _wrap_PanelNameStr_set(PyObject
*) {
24773 PyErr_SetString(PyExc_TypeError
,"Variable PanelNameStr is read-only.");
24778 static PyObject
*_wrap_PanelNameStr_get(void) {
24783 pyobj
= PyUnicode_FromWideChar((&wxPyPanelNameStr
)->c_str(), (&wxPyPanelNameStr
)->Len());
24785 pyobj
= PyString_FromStringAndSize((&wxPyPanelNameStr
)->c_str(), (&wxPyPanelNameStr
)->Len());
24792 static PyObject
*_wrap_new_VisualAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24793 PyObject
*resultobj
;
24794 wxVisualAttributes
*result
;
24795 char *kwnames
[] = {
24799 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_VisualAttributes",kwnames
)) goto fail
;
24801 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24802 result
= (wxVisualAttributes
*)new_wxVisualAttributes();
24804 wxPyEndAllowThreads(__tstate
);
24805 if (PyErr_Occurred()) SWIG_fail
;
24807 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxVisualAttributes
, 1);
24814 static PyObject
*_wrap_delete_VisualAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24815 PyObject
*resultobj
;
24816 wxVisualAttributes
*arg1
= (wxVisualAttributes
*) 0 ;
24817 PyObject
* obj0
= 0 ;
24818 char *kwnames
[] = {
24819 (char *) "self", NULL
24822 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_VisualAttributes",kwnames
,&obj0
)) goto fail
;
24823 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_EXCEPTION
| 0);
24824 if (SWIG_arg_fail(1)) SWIG_fail
;
24826 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24827 delete_wxVisualAttributes(arg1
);
24829 wxPyEndAllowThreads(__tstate
);
24830 if (PyErr_Occurred()) SWIG_fail
;
24832 Py_INCREF(Py_None
); resultobj
= Py_None
;
24839 static PyObject
*_wrap_VisualAttributes_font_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24840 PyObject
*resultobj
;
24841 wxVisualAttributes
*arg1
= (wxVisualAttributes
*) 0 ;
24842 wxFont
*arg2
= (wxFont
*) 0 ;
24843 PyObject
* obj0
= 0 ;
24844 PyObject
* obj1
= 0 ;
24845 char *kwnames
[] = {
24846 (char *) "self",(char *) "font", NULL
24849 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VisualAttributes_font_set",kwnames
,&obj0
,&obj1
)) goto fail
;
24850 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_EXCEPTION
| 0);
24851 if (SWIG_arg_fail(1)) SWIG_fail
;
24852 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
24853 if (SWIG_arg_fail(2)) SWIG_fail
;
24854 if (arg1
) (arg1
)->font
= *arg2
;
24856 Py_INCREF(Py_None
); resultobj
= Py_None
;
24863 static PyObject
*_wrap_VisualAttributes_font_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24864 PyObject
*resultobj
;
24865 wxVisualAttributes
*arg1
= (wxVisualAttributes
*) 0 ;
24867 PyObject
* obj0
= 0 ;
24868 char *kwnames
[] = {
24869 (char *) "self", NULL
24872 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VisualAttributes_font_get",kwnames
,&obj0
)) goto fail
;
24873 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_EXCEPTION
| 0);
24874 if (SWIG_arg_fail(1)) SWIG_fail
;
24875 result
= (wxFont
*)& ((arg1
)->font
);
24877 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFont
, 0);
24884 static PyObject
*_wrap_VisualAttributes_colFg_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24885 PyObject
*resultobj
;
24886 wxVisualAttributes
*arg1
= (wxVisualAttributes
*) 0 ;
24887 wxColour
*arg2
= (wxColour
*) 0 ;
24888 PyObject
* obj0
= 0 ;
24889 PyObject
* obj1
= 0 ;
24890 char *kwnames
[] = {
24891 (char *) "self",(char *) "colFg", NULL
24894 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VisualAttributes_colFg_set",kwnames
,&obj0
,&obj1
)) goto fail
;
24895 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_EXCEPTION
| 0);
24896 if (SWIG_arg_fail(1)) SWIG_fail
;
24897 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxColour
, SWIG_POINTER_EXCEPTION
| 0);
24898 if (SWIG_arg_fail(2)) SWIG_fail
;
24899 if (arg1
) (arg1
)->colFg
= *arg2
;
24901 Py_INCREF(Py_None
); resultobj
= Py_None
;
24908 static PyObject
*_wrap_VisualAttributes_colFg_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24909 PyObject
*resultobj
;
24910 wxVisualAttributes
*arg1
= (wxVisualAttributes
*) 0 ;
24912 PyObject
* obj0
= 0 ;
24913 char *kwnames
[] = {
24914 (char *) "self", NULL
24917 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VisualAttributes_colFg_get",kwnames
,&obj0
)) goto fail
;
24918 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_EXCEPTION
| 0);
24919 if (SWIG_arg_fail(1)) SWIG_fail
;
24920 result
= (wxColour
*)& ((arg1
)->colFg
);
24922 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColour
, 0);
24929 static PyObject
*_wrap_VisualAttributes_colBg_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24930 PyObject
*resultobj
;
24931 wxVisualAttributes
*arg1
= (wxVisualAttributes
*) 0 ;
24932 wxColour
*arg2
= (wxColour
*) 0 ;
24933 PyObject
* obj0
= 0 ;
24934 PyObject
* obj1
= 0 ;
24935 char *kwnames
[] = {
24936 (char *) "self",(char *) "colBg", NULL
24939 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VisualAttributes_colBg_set",kwnames
,&obj0
,&obj1
)) goto fail
;
24940 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_EXCEPTION
| 0);
24941 if (SWIG_arg_fail(1)) SWIG_fail
;
24942 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxColour
, SWIG_POINTER_EXCEPTION
| 0);
24943 if (SWIG_arg_fail(2)) SWIG_fail
;
24944 if (arg1
) (arg1
)->colBg
= *arg2
;
24946 Py_INCREF(Py_None
); resultobj
= Py_None
;
24953 static PyObject
*_wrap_VisualAttributes_colBg_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24954 PyObject
*resultobj
;
24955 wxVisualAttributes
*arg1
= (wxVisualAttributes
*) 0 ;
24957 PyObject
* obj0
= 0 ;
24958 char *kwnames
[] = {
24959 (char *) "self", NULL
24962 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VisualAttributes_colBg_get",kwnames
,&obj0
)) goto fail
;
24963 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_EXCEPTION
| 0);
24964 if (SWIG_arg_fail(1)) SWIG_fail
;
24965 result
= (wxColour
*)& ((arg1
)->colBg
);
24967 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColour
, 0);
24974 static PyObject
* VisualAttributes_swigregister(PyObject
*, PyObject
*args
) {
24976 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24977 SWIG_TypeClientData(SWIGTYPE_p_wxVisualAttributes
, obj
);
24979 return Py_BuildValue((char *)"");
24981 static PyObject
*_wrap_new_Window(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24982 PyObject
*resultobj
;
24983 wxWindow
*arg1
= (wxWindow
*) 0 ;
24984 int arg2
= (int) (int)-1 ;
24985 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
24986 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
24987 wxSize
const &arg4_defvalue
= wxDefaultSize
;
24988 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
24989 long arg5
= (long) 0 ;
24990 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
24991 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
24995 bool temp6
= false ;
24996 PyObject
* obj0
= 0 ;
24997 PyObject
* obj1
= 0 ;
24998 PyObject
* obj2
= 0 ;
24999 PyObject
* obj3
= 0 ;
25000 PyObject
* obj4
= 0 ;
25001 PyObject
* obj5
= 0 ;
25002 char *kwnames
[] = {
25003 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
25006 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_Window",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
25007 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25008 if (SWIG_arg_fail(1)) SWIG_fail
;
25011 arg2
= (int const)(SWIG_As_int(obj1
));
25012 if (SWIG_arg_fail(2)) SWIG_fail
;
25018 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
25024 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
25029 arg5
= (long)(SWIG_As_long(obj4
));
25030 if (SWIG_arg_fail(5)) SWIG_fail
;
25035 arg6
= wxString_in_helper(obj5
);
25036 if (arg6
== NULL
) SWIG_fail
;
25041 if (!wxPyCheckForApp()) SWIG_fail
;
25042 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25043 result
= (wxWindow
*)new wxWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
25045 wxPyEndAllowThreads(__tstate
);
25046 if (PyErr_Occurred()) SWIG_fail
;
25048 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxWindow
, 1);
25063 static PyObject
*_wrap_new_PreWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25064 PyObject
*resultobj
;
25066 char *kwnames
[] = {
25070 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreWindow",kwnames
)) goto fail
;
25072 if (!wxPyCheckForApp()) SWIG_fail
;
25073 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25074 result
= (wxWindow
*)new wxWindow();
25076 wxPyEndAllowThreads(__tstate
);
25077 if (PyErr_Occurred()) SWIG_fail
;
25079 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxWindow
, 1);
25086 static PyObject
*_wrap_Window_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25087 PyObject
*resultobj
;
25088 wxWindow
*arg1
= (wxWindow
*) 0 ;
25089 wxWindow
*arg2
= (wxWindow
*) 0 ;
25090 int arg3
= (int) (int)-1 ;
25091 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
25092 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
25093 wxSize
const &arg5_defvalue
= wxDefaultSize
;
25094 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
25095 long arg6
= (long) 0 ;
25096 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
25097 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
25101 bool temp7
= false ;
25102 PyObject
* obj0
= 0 ;
25103 PyObject
* obj1
= 0 ;
25104 PyObject
* obj2
= 0 ;
25105 PyObject
* obj3
= 0 ;
25106 PyObject
* obj4
= 0 ;
25107 PyObject
* obj5
= 0 ;
25108 PyObject
* obj6
= 0 ;
25109 char *kwnames
[] = {
25110 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
25113 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:Window_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
25114 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25115 if (SWIG_arg_fail(1)) SWIG_fail
;
25116 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25117 if (SWIG_arg_fail(2)) SWIG_fail
;
25120 arg3
= (int const)(SWIG_As_int(obj2
));
25121 if (SWIG_arg_fail(3)) SWIG_fail
;
25127 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
25133 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
25138 arg6
= (long)(SWIG_As_long(obj5
));
25139 if (SWIG_arg_fail(6)) SWIG_fail
;
25144 arg7
= wxString_in_helper(obj6
);
25145 if (arg7
== NULL
) SWIG_fail
;
25150 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25151 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
25153 wxPyEndAllowThreads(__tstate
);
25154 if (PyErr_Occurred()) SWIG_fail
;
25157 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25173 static PyObject
*_wrap_Window_Close(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25174 PyObject
*resultobj
;
25175 wxWindow
*arg1
= (wxWindow
*) 0 ;
25176 bool arg2
= (bool) false ;
25178 PyObject
* obj0
= 0 ;
25179 PyObject
* obj1
= 0 ;
25180 char *kwnames
[] = {
25181 (char *) "self",(char *) "force", NULL
25184 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_Close",kwnames
,&obj0
,&obj1
)) goto fail
;
25185 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25186 if (SWIG_arg_fail(1)) SWIG_fail
;
25189 arg2
= (bool)(SWIG_As_bool(obj1
));
25190 if (SWIG_arg_fail(2)) SWIG_fail
;
25194 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25195 result
= (bool)(arg1
)->Close(arg2
);
25197 wxPyEndAllowThreads(__tstate
);
25198 if (PyErr_Occurred()) SWIG_fail
;
25201 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25209 static PyObject
*_wrap_Window_Destroy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25210 PyObject
*resultobj
;
25211 wxWindow
*arg1
= (wxWindow
*) 0 ;
25213 PyObject
* obj0
= 0 ;
25214 char *kwnames
[] = {
25215 (char *) "self", NULL
25218 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Destroy",kwnames
,&obj0
)) goto fail
;
25219 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25220 if (SWIG_arg_fail(1)) SWIG_fail
;
25222 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25223 result
= (bool)(arg1
)->Destroy();
25225 wxPyEndAllowThreads(__tstate
);
25226 if (PyErr_Occurred()) SWIG_fail
;
25229 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25237 static PyObject
*_wrap_Window_DestroyChildren(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25238 PyObject
*resultobj
;
25239 wxWindow
*arg1
= (wxWindow
*) 0 ;
25241 PyObject
* obj0
= 0 ;
25242 char *kwnames
[] = {
25243 (char *) "self", NULL
25246 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_DestroyChildren",kwnames
,&obj0
)) goto fail
;
25247 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25248 if (SWIG_arg_fail(1)) SWIG_fail
;
25250 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25251 result
= (bool)(arg1
)->DestroyChildren();
25253 wxPyEndAllowThreads(__tstate
);
25254 if (PyErr_Occurred()) SWIG_fail
;
25257 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25265 static PyObject
*_wrap_Window_IsBeingDeleted(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25266 PyObject
*resultobj
;
25267 wxWindow
*arg1
= (wxWindow
*) 0 ;
25269 PyObject
* obj0
= 0 ;
25270 char *kwnames
[] = {
25271 (char *) "self", NULL
25274 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_IsBeingDeleted",kwnames
,&obj0
)) goto fail
;
25275 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25276 if (SWIG_arg_fail(1)) SWIG_fail
;
25278 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25279 result
= (bool)((wxWindow
const *)arg1
)->IsBeingDeleted();
25281 wxPyEndAllowThreads(__tstate
);
25282 if (PyErr_Occurred()) SWIG_fail
;
25285 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25293 static PyObject
*_wrap_Window_SetTitle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25294 PyObject
*resultobj
;
25295 wxWindow
*arg1
= (wxWindow
*) 0 ;
25296 wxString
*arg2
= 0 ;
25297 bool temp2
= false ;
25298 PyObject
* obj0
= 0 ;
25299 PyObject
* obj1
= 0 ;
25300 char *kwnames
[] = {
25301 (char *) "self",(char *) "title", NULL
25304 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetTitle",kwnames
,&obj0
,&obj1
)) goto fail
;
25305 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25306 if (SWIG_arg_fail(1)) SWIG_fail
;
25308 arg2
= wxString_in_helper(obj1
);
25309 if (arg2
== NULL
) SWIG_fail
;
25313 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25314 (arg1
)->SetTitle((wxString
const &)*arg2
);
25316 wxPyEndAllowThreads(__tstate
);
25317 if (PyErr_Occurred()) SWIG_fail
;
25319 Py_INCREF(Py_None
); resultobj
= Py_None
;
25334 static PyObject
*_wrap_Window_GetTitle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25335 PyObject
*resultobj
;
25336 wxWindow
*arg1
= (wxWindow
*) 0 ;
25338 PyObject
* obj0
= 0 ;
25339 char *kwnames
[] = {
25340 (char *) "self", NULL
25343 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetTitle",kwnames
,&obj0
)) goto fail
;
25344 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25345 if (SWIG_arg_fail(1)) SWIG_fail
;
25347 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25348 result
= ((wxWindow
const *)arg1
)->GetTitle();
25350 wxPyEndAllowThreads(__tstate
);
25351 if (PyErr_Occurred()) SWIG_fail
;
25355 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
25357 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
25366 static PyObject
*_wrap_Window_SetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25367 PyObject
*resultobj
;
25368 wxWindow
*arg1
= (wxWindow
*) 0 ;
25369 wxString
*arg2
= 0 ;
25370 bool temp2
= false ;
25371 PyObject
* obj0
= 0 ;
25372 PyObject
* obj1
= 0 ;
25373 char *kwnames
[] = {
25374 (char *) "self",(char *) "label", NULL
25377 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
25378 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25379 if (SWIG_arg_fail(1)) SWIG_fail
;
25381 arg2
= wxString_in_helper(obj1
);
25382 if (arg2
== NULL
) SWIG_fail
;
25386 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25387 (arg1
)->SetLabel((wxString
const &)*arg2
);
25389 wxPyEndAllowThreads(__tstate
);
25390 if (PyErr_Occurred()) SWIG_fail
;
25392 Py_INCREF(Py_None
); resultobj
= Py_None
;
25407 static PyObject
*_wrap_Window_GetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25408 PyObject
*resultobj
;
25409 wxWindow
*arg1
= (wxWindow
*) 0 ;
25411 PyObject
* obj0
= 0 ;
25412 char *kwnames
[] = {
25413 (char *) "self", NULL
25416 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetLabel",kwnames
,&obj0
)) goto fail
;
25417 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25418 if (SWIG_arg_fail(1)) SWIG_fail
;
25420 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25421 result
= ((wxWindow
const *)arg1
)->GetLabel();
25423 wxPyEndAllowThreads(__tstate
);
25424 if (PyErr_Occurred()) SWIG_fail
;
25428 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
25430 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
25439 static PyObject
*_wrap_Window_SetName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25440 PyObject
*resultobj
;
25441 wxWindow
*arg1
= (wxWindow
*) 0 ;
25442 wxString
*arg2
= 0 ;
25443 bool temp2
= false ;
25444 PyObject
* obj0
= 0 ;
25445 PyObject
* obj1
= 0 ;
25446 char *kwnames
[] = {
25447 (char *) "self",(char *) "name", NULL
25450 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetName",kwnames
,&obj0
,&obj1
)) goto fail
;
25451 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25452 if (SWIG_arg_fail(1)) SWIG_fail
;
25454 arg2
= wxString_in_helper(obj1
);
25455 if (arg2
== NULL
) SWIG_fail
;
25459 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25460 (arg1
)->SetName((wxString
const &)*arg2
);
25462 wxPyEndAllowThreads(__tstate
);
25463 if (PyErr_Occurred()) SWIG_fail
;
25465 Py_INCREF(Py_None
); resultobj
= Py_None
;
25480 static PyObject
*_wrap_Window_GetName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25481 PyObject
*resultobj
;
25482 wxWindow
*arg1
= (wxWindow
*) 0 ;
25484 PyObject
* obj0
= 0 ;
25485 char *kwnames
[] = {
25486 (char *) "self", NULL
25489 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetName",kwnames
,&obj0
)) goto fail
;
25490 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25491 if (SWIG_arg_fail(1)) SWIG_fail
;
25493 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25494 result
= ((wxWindow
const *)arg1
)->GetName();
25496 wxPyEndAllowThreads(__tstate
);
25497 if (PyErr_Occurred()) SWIG_fail
;
25501 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
25503 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
25512 static PyObject
*_wrap_Window_SetWindowVariant(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25513 PyObject
*resultobj
;
25514 wxWindow
*arg1
= (wxWindow
*) 0 ;
25515 wxWindowVariant arg2
;
25516 PyObject
* obj0
= 0 ;
25517 PyObject
* obj1
= 0 ;
25518 char *kwnames
[] = {
25519 (char *) "self",(char *) "variant", NULL
25522 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetWindowVariant",kwnames
,&obj0
,&obj1
)) goto fail
;
25523 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25524 if (SWIG_arg_fail(1)) SWIG_fail
;
25526 arg2
= (wxWindowVariant
)(SWIG_As_int(obj1
));
25527 if (SWIG_arg_fail(2)) SWIG_fail
;
25530 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25531 (arg1
)->SetWindowVariant((wxWindowVariant
)arg2
);
25533 wxPyEndAllowThreads(__tstate
);
25534 if (PyErr_Occurred()) SWIG_fail
;
25536 Py_INCREF(Py_None
); resultobj
= Py_None
;
25543 static PyObject
*_wrap_Window_GetWindowVariant(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25544 PyObject
*resultobj
;
25545 wxWindow
*arg1
= (wxWindow
*) 0 ;
25546 wxWindowVariant result
;
25547 PyObject
* obj0
= 0 ;
25548 char *kwnames
[] = {
25549 (char *) "self", NULL
25552 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetWindowVariant",kwnames
,&obj0
)) goto fail
;
25553 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25554 if (SWIG_arg_fail(1)) SWIG_fail
;
25556 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25557 result
= (wxWindowVariant
)((wxWindow
const *)arg1
)->GetWindowVariant();
25559 wxPyEndAllowThreads(__tstate
);
25560 if (PyErr_Occurred()) SWIG_fail
;
25562 resultobj
= SWIG_From_int((result
));
25569 static PyObject
*_wrap_Window_SetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25570 PyObject
*resultobj
;
25571 wxWindow
*arg1
= (wxWindow
*) 0 ;
25573 PyObject
* obj0
= 0 ;
25574 PyObject
* obj1
= 0 ;
25575 char *kwnames
[] = {
25576 (char *) "self",(char *) "winid", NULL
25579 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetId",kwnames
,&obj0
,&obj1
)) goto fail
;
25580 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25581 if (SWIG_arg_fail(1)) SWIG_fail
;
25583 arg2
= (int)(SWIG_As_int(obj1
));
25584 if (SWIG_arg_fail(2)) SWIG_fail
;
25587 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25588 (arg1
)->SetId(arg2
);
25590 wxPyEndAllowThreads(__tstate
);
25591 if (PyErr_Occurred()) SWIG_fail
;
25593 Py_INCREF(Py_None
); resultobj
= Py_None
;
25600 static PyObject
*_wrap_Window_GetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25601 PyObject
*resultobj
;
25602 wxWindow
*arg1
= (wxWindow
*) 0 ;
25604 PyObject
* obj0
= 0 ;
25605 char *kwnames
[] = {
25606 (char *) "self", NULL
25609 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetId",kwnames
,&obj0
)) goto fail
;
25610 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25611 if (SWIG_arg_fail(1)) SWIG_fail
;
25613 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25614 result
= (int)((wxWindow
const *)arg1
)->GetId();
25616 wxPyEndAllowThreads(__tstate
);
25617 if (PyErr_Occurred()) SWIG_fail
;
25620 resultobj
= SWIG_From_int((int)(result
));
25628 static PyObject
*_wrap_Window_NewControlId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25629 PyObject
*resultobj
;
25631 char *kwnames
[] = {
25635 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Window_NewControlId",kwnames
)) goto fail
;
25637 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25638 result
= (int)wxWindow::NewControlId();
25640 wxPyEndAllowThreads(__tstate
);
25641 if (PyErr_Occurred()) SWIG_fail
;
25644 resultobj
= SWIG_From_int((int)(result
));
25652 static PyObject
*_wrap_Window_NextControlId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25653 PyObject
*resultobj
;
25656 PyObject
* obj0
= 0 ;
25657 char *kwnames
[] = {
25658 (char *) "winid", NULL
25661 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_NextControlId",kwnames
,&obj0
)) goto fail
;
25663 arg1
= (int)(SWIG_As_int(obj0
));
25664 if (SWIG_arg_fail(1)) SWIG_fail
;
25667 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25668 result
= (int)wxWindow::NextControlId(arg1
);
25670 wxPyEndAllowThreads(__tstate
);
25671 if (PyErr_Occurred()) SWIG_fail
;
25674 resultobj
= SWIG_From_int((int)(result
));
25682 static PyObject
*_wrap_Window_PrevControlId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25683 PyObject
*resultobj
;
25686 PyObject
* obj0
= 0 ;
25687 char *kwnames
[] = {
25688 (char *) "winid", NULL
25691 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_PrevControlId",kwnames
,&obj0
)) goto fail
;
25693 arg1
= (int)(SWIG_As_int(obj0
));
25694 if (SWIG_arg_fail(1)) SWIG_fail
;
25697 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25698 result
= (int)wxWindow::PrevControlId(arg1
);
25700 wxPyEndAllowThreads(__tstate
);
25701 if (PyErr_Occurred()) SWIG_fail
;
25704 resultobj
= SWIG_From_int((int)(result
));
25712 static PyObject
*_wrap_Window_SetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25713 PyObject
*resultobj
;
25714 wxWindow
*arg1
= (wxWindow
*) 0 ;
25717 PyObject
* obj0
= 0 ;
25718 PyObject
* obj1
= 0 ;
25719 char *kwnames
[] = {
25720 (char *) "self",(char *) "size", NULL
25723 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetSize",kwnames
,&obj0
,&obj1
)) goto fail
;
25724 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25725 if (SWIG_arg_fail(1)) SWIG_fail
;
25728 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
25731 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25732 (arg1
)->SetSize((wxSize
const &)*arg2
);
25734 wxPyEndAllowThreads(__tstate
);
25735 if (PyErr_Occurred()) SWIG_fail
;
25737 Py_INCREF(Py_None
); resultobj
= Py_None
;
25744 static PyObject
*_wrap_Window_SetDimensions(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25745 PyObject
*resultobj
;
25746 wxWindow
*arg1
= (wxWindow
*) 0 ;
25751 int arg6
= (int) wxSIZE_AUTO
;
25752 PyObject
* obj0
= 0 ;
25753 PyObject
* obj1
= 0 ;
25754 PyObject
* obj2
= 0 ;
25755 PyObject
* obj3
= 0 ;
25756 PyObject
* obj4
= 0 ;
25757 PyObject
* obj5
= 0 ;
25758 char *kwnames
[] = {
25759 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
25762 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:Window_SetDimensions",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
25763 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25764 if (SWIG_arg_fail(1)) SWIG_fail
;
25766 arg2
= (int)(SWIG_As_int(obj1
));
25767 if (SWIG_arg_fail(2)) SWIG_fail
;
25770 arg3
= (int)(SWIG_As_int(obj2
));
25771 if (SWIG_arg_fail(3)) SWIG_fail
;
25774 arg4
= (int)(SWIG_As_int(obj3
));
25775 if (SWIG_arg_fail(4)) SWIG_fail
;
25778 arg5
= (int)(SWIG_As_int(obj4
));
25779 if (SWIG_arg_fail(5)) SWIG_fail
;
25783 arg6
= (int)(SWIG_As_int(obj5
));
25784 if (SWIG_arg_fail(6)) SWIG_fail
;
25788 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25789 (arg1
)->SetSize(arg2
,arg3
,arg4
,arg5
,arg6
);
25791 wxPyEndAllowThreads(__tstate
);
25792 if (PyErr_Occurred()) SWIG_fail
;
25794 Py_INCREF(Py_None
); resultobj
= Py_None
;
25801 static PyObject
*_wrap_Window_SetRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25802 PyObject
*resultobj
;
25803 wxWindow
*arg1
= (wxWindow
*) 0 ;
25805 int arg3
= (int) wxSIZE_AUTO
;
25807 PyObject
* obj0
= 0 ;
25808 PyObject
* obj1
= 0 ;
25809 PyObject
* obj2
= 0 ;
25810 char *kwnames
[] = {
25811 (char *) "self",(char *) "rect",(char *) "sizeFlags", NULL
25814 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_SetRect",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25815 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25816 if (SWIG_arg_fail(1)) SWIG_fail
;
25819 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
25823 arg3
= (int)(SWIG_As_int(obj2
));
25824 if (SWIG_arg_fail(3)) SWIG_fail
;
25828 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25829 (arg1
)->SetSize((wxRect
const &)*arg2
,arg3
);
25831 wxPyEndAllowThreads(__tstate
);
25832 if (PyErr_Occurred()) SWIG_fail
;
25834 Py_INCREF(Py_None
); resultobj
= Py_None
;
25841 static PyObject
*_wrap_Window_SetSizeWH(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25842 PyObject
*resultobj
;
25843 wxWindow
*arg1
= (wxWindow
*) 0 ;
25846 PyObject
* obj0
= 0 ;
25847 PyObject
* obj1
= 0 ;
25848 PyObject
* obj2
= 0 ;
25849 char *kwnames
[] = {
25850 (char *) "self",(char *) "width",(char *) "height", NULL
25853 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_SetSizeWH",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25854 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25855 if (SWIG_arg_fail(1)) SWIG_fail
;
25857 arg2
= (int)(SWIG_As_int(obj1
));
25858 if (SWIG_arg_fail(2)) SWIG_fail
;
25861 arg3
= (int)(SWIG_As_int(obj2
));
25862 if (SWIG_arg_fail(3)) SWIG_fail
;
25865 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25866 (arg1
)->SetSize(arg2
,arg3
);
25868 wxPyEndAllowThreads(__tstate
);
25869 if (PyErr_Occurred()) SWIG_fail
;
25871 Py_INCREF(Py_None
); resultobj
= Py_None
;
25878 static PyObject
*_wrap_Window_Move(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25879 PyObject
*resultobj
;
25880 wxWindow
*arg1
= (wxWindow
*) 0 ;
25881 wxPoint
*arg2
= 0 ;
25882 int arg3
= (int) wxSIZE_USE_EXISTING
;
25884 PyObject
* obj0
= 0 ;
25885 PyObject
* obj1
= 0 ;
25886 PyObject
* obj2
= 0 ;
25887 char *kwnames
[] = {
25888 (char *) "self",(char *) "pt",(char *) "flags", NULL
25891 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_Move",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25892 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25893 if (SWIG_arg_fail(1)) SWIG_fail
;
25896 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
25900 arg3
= (int)(SWIG_As_int(obj2
));
25901 if (SWIG_arg_fail(3)) SWIG_fail
;
25905 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25906 (arg1
)->Move((wxPoint
const &)*arg2
,arg3
);
25908 wxPyEndAllowThreads(__tstate
);
25909 if (PyErr_Occurred()) SWIG_fail
;
25911 Py_INCREF(Py_None
); resultobj
= Py_None
;
25918 static PyObject
*_wrap_Window_MoveXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25919 PyObject
*resultobj
;
25920 wxWindow
*arg1
= (wxWindow
*) 0 ;
25923 int arg4
= (int) wxSIZE_USE_EXISTING
;
25924 PyObject
* obj0
= 0 ;
25925 PyObject
* obj1
= 0 ;
25926 PyObject
* obj2
= 0 ;
25927 PyObject
* obj3
= 0 ;
25928 char *kwnames
[] = {
25929 (char *) "self",(char *) "x",(char *) "y",(char *) "flags", NULL
25932 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Window_MoveXY",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
25933 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25934 if (SWIG_arg_fail(1)) SWIG_fail
;
25936 arg2
= (int)(SWIG_As_int(obj1
));
25937 if (SWIG_arg_fail(2)) SWIG_fail
;
25940 arg3
= (int)(SWIG_As_int(obj2
));
25941 if (SWIG_arg_fail(3)) SWIG_fail
;
25945 arg4
= (int)(SWIG_As_int(obj3
));
25946 if (SWIG_arg_fail(4)) SWIG_fail
;
25950 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25951 (arg1
)->Move(arg2
,arg3
,arg4
);
25953 wxPyEndAllowThreads(__tstate
);
25954 if (PyErr_Occurred()) SWIG_fail
;
25956 Py_INCREF(Py_None
); resultobj
= Py_None
;
25963 static PyObject
*_wrap_Window_SetBestFittingSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25964 PyObject
*resultobj
;
25965 wxWindow
*arg1
= (wxWindow
*) 0 ;
25966 wxSize
const &arg2_defvalue
= wxDefaultSize
;
25967 wxSize
*arg2
= (wxSize
*) &arg2_defvalue
;
25969 PyObject
* obj0
= 0 ;
25970 PyObject
* obj1
= 0 ;
25971 char *kwnames
[] = {
25972 (char *) "self",(char *) "size", NULL
25975 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_SetBestFittingSize",kwnames
,&obj0
,&obj1
)) goto fail
;
25976 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25977 if (SWIG_arg_fail(1)) SWIG_fail
;
25981 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
25985 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25986 (arg1
)->SetBestFittingSize((wxSize
const &)*arg2
);
25988 wxPyEndAllowThreads(__tstate
);
25989 if (PyErr_Occurred()) SWIG_fail
;
25991 Py_INCREF(Py_None
); resultobj
= Py_None
;
25998 static PyObject
*_wrap_Window_Raise(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25999 PyObject
*resultobj
;
26000 wxWindow
*arg1
= (wxWindow
*) 0 ;
26001 PyObject
* obj0
= 0 ;
26002 char *kwnames
[] = {
26003 (char *) "self", NULL
26006 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Raise",kwnames
,&obj0
)) goto fail
;
26007 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26008 if (SWIG_arg_fail(1)) SWIG_fail
;
26010 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26013 wxPyEndAllowThreads(__tstate
);
26014 if (PyErr_Occurred()) SWIG_fail
;
26016 Py_INCREF(Py_None
); resultobj
= Py_None
;
26023 static PyObject
*_wrap_Window_Lower(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26024 PyObject
*resultobj
;
26025 wxWindow
*arg1
= (wxWindow
*) 0 ;
26026 PyObject
* obj0
= 0 ;
26027 char *kwnames
[] = {
26028 (char *) "self", NULL
26031 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Lower",kwnames
,&obj0
)) goto fail
;
26032 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26033 if (SWIG_arg_fail(1)) SWIG_fail
;
26035 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26038 wxPyEndAllowThreads(__tstate
);
26039 if (PyErr_Occurred()) SWIG_fail
;
26041 Py_INCREF(Py_None
); resultobj
= Py_None
;
26048 static PyObject
*_wrap_Window_SetClientSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26049 PyObject
*resultobj
;
26050 wxWindow
*arg1
= (wxWindow
*) 0 ;
26053 PyObject
* obj0
= 0 ;
26054 PyObject
* obj1
= 0 ;
26055 char *kwnames
[] = {
26056 (char *) "self",(char *) "size", NULL
26059 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetClientSize",kwnames
,&obj0
,&obj1
)) goto fail
;
26060 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26061 if (SWIG_arg_fail(1)) SWIG_fail
;
26064 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
26067 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26068 (arg1
)->SetClientSize((wxSize
const &)*arg2
);
26070 wxPyEndAllowThreads(__tstate
);
26071 if (PyErr_Occurred()) SWIG_fail
;
26073 Py_INCREF(Py_None
); resultobj
= Py_None
;
26080 static PyObject
*_wrap_Window_SetClientSizeWH(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26081 PyObject
*resultobj
;
26082 wxWindow
*arg1
= (wxWindow
*) 0 ;
26085 PyObject
* obj0
= 0 ;
26086 PyObject
* obj1
= 0 ;
26087 PyObject
* obj2
= 0 ;
26088 char *kwnames
[] = {
26089 (char *) "self",(char *) "width",(char *) "height", NULL
26092 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_SetClientSizeWH",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26093 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26094 if (SWIG_arg_fail(1)) SWIG_fail
;
26096 arg2
= (int)(SWIG_As_int(obj1
));
26097 if (SWIG_arg_fail(2)) SWIG_fail
;
26100 arg3
= (int)(SWIG_As_int(obj2
));
26101 if (SWIG_arg_fail(3)) SWIG_fail
;
26104 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26105 (arg1
)->SetClientSize(arg2
,arg3
);
26107 wxPyEndAllowThreads(__tstate
);
26108 if (PyErr_Occurred()) SWIG_fail
;
26110 Py_INCREF(Py_None
); resultobj
= Py_None
;
26117 static PyObject
*_wrap_Window_SetClientRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26118 PyObject
*resultobj
;
26119 wxWindow
*arg1
= (wxWindow
*) 0 ;
26122 PyObject
* obj0
= 0 ;
26123 PyObject
* obj1
= 0 ;
26124 char *kwnames
[] = {
26125 (char *) "self",(char *) "rect", NULL
26128 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetClientRect",kwnames
,&obj0
,&obj1
)) goto fail
;
26129 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26130 if (SWIG_arg_fail(1)) SWIG_fail
;
26133 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
26136 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26137 (arg1
)->SetClientSize((wxRect
const &)*arg2
);
26139 wxPyEndAllowThreads(__tstate
);
26140 if (PyErr_Occurred()) SWIG_fail
;
26142 Py_INCREF(Py_None
); resultobj
= Py_None
;
26149 static PyObject
*_wrap_Window_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26150 PyObject
*resultobj
;
26151 wxWindow
*arg1
= (wxWindow
*) 0 ;
26153 PyObject
* obj0
= 0 ;
26154 char *kwnames
[] = {
26155 (char *) "self", NULL
26158 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetPosition",kwnames
,&obj0
)) goto fail
;
26159 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26160 if (SWIG_arg_fail(1)) SWIG_fail
;
26162 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26163 result
= (arg1
)->GetPosition();
26165 wxPyEndAllowThreads(__tstate
);
26166 if (PyErr_Occurred()) SWIG_fail
;
26169 wxPoint
* resultptr
;
26170 resultptr
= new wxPoint((wxPoint
&)(result
));
26171 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
26179 static PyObject
*_wrap_Window_GetPositionTuple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26180 PyObject
*resultobj
;
26181 wxWindow
*arg1
= (wxWindow
*) 0 ;
26182 int *arg2
= (int *) 0 ;
26183 int *arg3
= (int *) 0 ;
26188 PyObject
* obj0
= 0 ;
26189 char *kwnames
[] = {
26190 (char *) "self", NULL
26193 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
26194 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
26195 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetPositionTuple",kwnames
,&obj0
)) goto fail
;
26196 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26197 if (SWIG_arg_fail(1)) SWIG_fail
;
26199 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26200 (arg1
)->GetPosition(arg2
,arg3
);
26202 wxPyEndAllowThreads(__tstate
);
26203 if (PyErr_Occurred()) SWIG_fail
;
26205 Py_INCREF(Py_None
); resultobj
= Py_None
;
26206 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
26207 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
26208 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
26209 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
26216 static PyObject
*_wrap_Window_GetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26217 PyObject
*resultobj
;
26218 wxWindow
*arg1
= (wxWindow
*) 0 ;
26220 PyObject
* obj0
= 0 ;
26221 char *kwnames
[] = {
26222 (char *) "self", NULL
26225 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetSize",kwnames
,&obj0
)) goto fail
;
26226 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26227 if (SWIG_arg_fail(1)) SWIG_fail
;
26229 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26230 result
= ((wxWindow
const *)arg1
)->GetSize();
26232 wxPyEndAllowThreads(__tstate
);
26233 if (PyErr_Occurred()) SWIG_fail
;
26236 wxSize
* resultptr
;
26237 resultptr
= new wxSize((wxSize
&)(result
));
26238 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
26246 static PyObject
*_wrap_Window_GetSizeTuple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26247 PyObject
*resultobj
;
26248 wxWindow
*arg1
= (wxWindow
*) 0 ;
26249 int *arg2
= (int *) 0 ;
26250 int *arg3
= (int *) 0 ;
26255 PyObject
* obj0
= 0 ;
26256 char *kwnames
[] = {
26257 (char *) "self", NULL
26260 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
26261 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
26262 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetSizeTuple",kwnames
,&obj0
)) goto fail
;
26263 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26264 if (SWIG_arg_fail(1)) SWIG_fail
;
26266 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26267 ((wxWindow
const *)arg1
)->GetSize(arg2
,arg3
);
26269 wxPyEndAllowThreads(__tstate
);
26270 if (PyErr_Occurred()) SWIG_fail
;
26272 Py_INCREF(Py_None
); resultobj
= Py_None
;
26273 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
26274 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
26275 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
26276 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
26283 static PyObject
*_wrap_Window_GetRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26284 PyObject
*resultobj
;
26285 wxWindow
*arg1
= (wxWindow
*) 0 ;
26287 PyObject
* obj0
= 0 ;
26288 char *kwnames
[] = {
26289 (char *) "self", NULL
26292 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetRect",kwnames
,&obj0
)) goto fail
;
26293 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26294 if (SWIG_arg_fail(1)) SWIG_fail
;
26296 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26297 result
= ((wxWindow
const *)arg1
)->GetRect();
26299 wxPyEndAllowThreads(__tstate
);
26300 if (PyErr_Occurred()) SWIG_fail
;
26303 wxRect
* resultptr
;
26304 resultptr
= new wxRect((wxRect
&)(result
));
26305 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
26313 static PyObject
*_wrap_Window_GetClientSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26314 PyObject
*resultobj
;
26315 wxWindow
*arg1
= (wxWindow
*) 0 ;
26317 PyObject
* obj0
= 0 ;
26318 char *kwnames
[] = {
26319 (char *) "self", NULL
26322 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetClientSize",kwnames
,&obj0
)) goto fail
;
26323 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26324 if (SWIG_arg_fail(1)) SWIG_fail
;
26326 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26327 result
= ((wxWindow
const *)arg1
)->GetClientSize();
26329 wxPyEndAllowThreads(__tstate
);
26330 if (PyErr_Occurred()) SWIG_fail
;
26333 wxSize
* resultptr
;
26334 resultptr
= new wxSize((wxSize
&)(result
));
26335 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
26343 static PyObject
*_wrap_Window_GetClientSizeTuple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26344 PyObject
*resultobj
;
26345 wxWindow
*arg1
= (wxWindow
*) 0 ;
26346 int *arg2
= (int *) 0 ;
26347 int *arg3
= (int *) 0 ;
26352 PyObject
* obj0
= 0 ;
26353 char *kwnames
[] = {
26354 (char *) "self", NULL
26357 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
26358 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
26359 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetClientSizeTuple",kwnames
,&obj0
)) goto fail
;
26360 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26361 if (SWIG_arg_fail(1)) SWIG_fail
;
26363 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26364 ((wxWindow
const *)arg1
)->GetClientSize(arg2
,arg3
);
26366 wxPyEndAllowThreads(__tstate
);
26367 if (PyErr_Occurred()) SWIG_fail
;
26369 Py_INCREF(Py_None
); resultobj
= Py_None
;
26370 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
26371 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
26372 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
26373 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
26380 static PyObject
*_wrap_Window_GetClientAreaOrigin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26381 PyObject
*resultobj
;
26382 wxWindow
*arg1
= (wxWindow
*) 0 ;
26384 PyObject
* obj0
= 0 ;
26385 char *kwnames
[] = {
26386 (char *) "self", NULL
26389 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetClientAreaOrigin",kwnames
,&obj0
)) goto fail
;
26390 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26391 if (SWIG_arg_fail(1)) SWIG_fail
;
26393 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26394 result
= ((wxWindow
const *)arg1
)->GetClientAreaOrigin();
26396 wxPyEndAllowThreads(__tstate
);
26397 if (PyErr_Occurred()) SWIG_fail
;
26400 wxPoint
* resultptr
;
26401 resultptr
= new wxPoint((wxPoint
&)(result
));
26402 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
26410 static PyObject
*_wrap_Window_GetClientRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26411 PyObject
*resultobj
;
26412 wxWindow
*arg1
= (wxWindow
*) 0 ;
26414 PyObject
* obj0
= 0 ;
26415 char *kwnames
[] = {
26416 (char *) "self", NULL
26419 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetClientRect",kwnames
,&obj0
)) goto fail
;
26420 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26421 if (SWIG_arg_fail(1)) SWIG_fail
;
26423 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26424 result
= ((wxWindow
const *)arg1
)->GetClientRect();
26426 wxPyEndAllowThreads(__tstate
);
26427 if (PyErr_Occurred()) SWIG_fail
;
26430 wxRect
* resultptr
;
26431 resultptr
= new wxRect((wxRect
&)(result
));
26432 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
26440 static PyObject
*_wrap_Window_GetBestSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26441 PyObject
*resultobj
;
26442 wxWindow
*arg1
= (wxWindow
*) 0 ;
26444 PyObject
* obj0
= 0 ;
26445 char *kwnames
[] = {
26446 (char *) "self", NULL
26449 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetBestSize",kwnames
,&obj0
)) goto fail
;
26450 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26451 if (SWIG_arg_fail(1)) SWIG_fail
;
26453 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26454 result
= ((wxWindow
const *)arg1
)->GetBestSize();
26456 wxPyEndAllowThreads(__tstate
);
26457 if (PyErr_Occurred()) SWIG_fail
;
26460 wxSize
* resultptr
;
26461 resultptr
= new wxSize((wxSize
&)(result
));
26462 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
26470 static PyObject
*_wrap_Window_GetBestSizeTuple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26471 PyObject
*resultobj
;
26472 wxWindow
*arg1
= (wxWindow
*) 0 ;
26473 int *arg2
= (int *) 0 ;
26474 int *arg3
= (int *) 0 ;
26479 PyObject
* obj0
= 0 ;
26480 char *kwnames
[] = {
26481 (char *) "self", NULL
26484 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
26485 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
26486 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetBestSizeTuple",kwnames
,&obj0
)) goto fail
;
26487 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26488 if (SWIG_arg_fail(1)) SWIG_fail
;
26490 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26491 ((wxWindow
const *)arg1
)->GetBestSize(arg2
,arg3
);
26493 wxPyEndAllowThreads(__tstate
);
26494 if (PyErr_Occurred()) SWIG_fail
;
26496 Py_INCREF(Py_None
); resultobj
= Py_None
;
26497 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
26498 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
26499 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
26500 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
26507 static PyObject
*_wrap_Window_InvalidateBestSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26508 PyObject
*resultobj
;
26509 wxWindow
*arg1
= (wxWindow
*) 0 ;
26510 PyObject
* obj0
= 0 ;
26511 char *kwnames
[] = {
26512 (char *) "self", NULL
26515 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_InvalidateBestSize",kwnames
,&obj0
)) goto fail
;
26516 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26517 if (SWIG_arg_fail(1)) SWIG_fail
;
26519 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26520 (arg1
)->InvalidateBestSize();
26522 wxPyEndAllowThreads(__tstate
);
26523 if (PyErr_Occurred()) SWIG_fail
;
26525 Py_INCREF(Py_None
); resultobj
= Py_None
;
26532 static PyObject
*_wrap_Window_CacheBestSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26533 PyObject
*resultobj
;
26534 wxWindow
*arg1
= (wxWindow
*) 0 ;
26537 PyObject
* obj0
= 0 ;
26538 PyObject
* obj1
= 0 ;
26539 char *kwnames
[] = {
26540 (char *) "self",(char *) "size", NULL
26543 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_CacheBestSize",kwnames
,&obj0
,&obj1
)) goto fail
;
26544 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26545 if (SWIG_arg_fail(1)) SWIG_fail
;
26548 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
26551 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26552 ((wxWindow
const *)arg1
)->CacheBestSize((wxSize
const &)*arg2
);
26554 wxPyEndAllowThreads(__tstate
);
26555 if (PyErr_Occurred()) SWIG_fail
;
26557 Py_INCREF(Py_None
); resultobj
= Py_None
;
26564 static PyObject
*_wrap_Window_GetBestFittingSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26565 PyObject
*resultobj
;
26566 wxWindow
*arg1
= (wxWindow
*) 0 ;
26568 PyObject
* obj0
= 0 ;
26569 char *kwnames
[] = {
26570 (char *) "self", NULL
26573 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetBestFittingSize",kwnames
,&obj0
)) goto fail
;
26574 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26575 if (SWIG_arg_fail(1)) SWIG_fail
;
26577 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26578 result
= ((wxWindow
const *)arg1
)->GetBestFittingSize();
26580 wxPyEndAllowThreads(__tstate
);
26581 if (PyErr_Occurred()) SWIG_fail
;
26584 wxSize
* resultptr
;
26585 resultptr
= new wxSize((wxSize
&)(result
));
26586 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
26594 static PyObject
*_wrap_Window_GetAdjustedBestSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26595 PyObject
*resultobj
;
26596 wxWindow
*arg1
= (wxWindow
*) 0 ;
26598 PyObject
* obj0
= 0 ;
26599 char *kwnames
[] = {
26600 (char *) "self", NULL
26603 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetAdjustedBestSize",kwnames
,&obj0
)) goto fail
;
26604 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26605 if (SWIG_arg_fail(1)) SWIG_fail
;
26607 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26608 result
= ((wxWindow
const *)arg1
)->GetAdjustedBestSize();
26610 wxPyEndAllowThreads(__tstate
);
26611 if (PyErr_Occurred()) SWIG_fail
;
26614 wxSize
* resultptr
;
26615 resultptr
= new wxSize((wxSize
&)(result
));
26616 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
26624 static PyObject
*_wrap_Window_Center(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26625 PyObject
*resultobj
;
26626 wxWindow
*arg1
= (wxWindow
*) 0 ;
26627 int arg2
= (int) wxBOTH
;
26628 PyObject
* obj0
= 0 ;
26629 PyObject
* obj1
= 0 ;
26630 char *kwnames
[] = {
26631 (char *) "self",(char *) "direction", NULL
26634 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_Center",kwnames
,&obj0
,&obj1
)) goto fail
;
26635 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26636 if (SWIG_arg_fail(1)) SWIG_fail
;
26639 arg2
= (int)(SWIG_As_int(obj1
));
26640 if (SWIG_arg_fail(2)) SWIG_fail
;
26644 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26645 (arg1
)->Center(arg2
);
26647 wxPyEndAllowThreads(__tstate
);
26648 if (PyErr_Occurred()) SWIG_fail
;
26650 Py_INCREF(Py_None
); resultobj
= Py_None
;
26657 static PyObject
*_wrap_Window_CenterOnScreen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26658 PyObject
*resultobj
;
26659 wxWindow
*arg1
= (wxWindow
*) 0 ;
26660 int arg2
= (int) wxBOTH
;
26661 PyObject
* obj0
= 0 ;
26662 PyObject
* obj1
= 0 ;
26663 char *kwnames
[] = {
26664 (char *) "self",(char *) "dir", NULL
26667 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_CenterOnScreen",kwnames
,&obj0
,&obj1
)) goto fail
;
26668 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26669 if (SWIG_arg_fail(1)) SWIG_fail
;
26672 arg2
= (int)(SWIG_As_int(obj1
));
26673 if (SWIG_arg_fail(2)) SWIG_fail
;
26677 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26678 (arg1
)->CenterOnScreen(arg2
);
26680 wxPyEndAllowThreads(__tstate
);
26681 if (PyErr_Occurred()) SWIG_fail
;
26683 Py_INCREF(Py_None
); resultobj
= Py_None
;
26690 static PyObject
*_wrap_Window_CenterOnParent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26691 PyObject
*resultobj
;
26692 wxWindow
*arg1
= (wxWindow
*) 0 ;
26693 int arg2
= (int) wxBOTH
;
26694 PyObject
* obj0
= 0 ;
26695 PyObject
* obj1
= 0 ;
26696 char *kwnames
[] = {
26697 (char *) "self",(char *) "dir", NULL
26700 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_CenterOnParent",kwnames
,&obj0
,&obj1
)) goto fail
;
26701 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26702 if (SWIG_arg_fail(1)) SWIG_fail
;
26705 arg2
= (int)(SWIG_As_int(obj1
));
26706 if (SWIG_arg_fail(2)) SWIG_fail
;
26710 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26711 (arg1
)->CenterOnParent(arg2
);
26713 wxPyEndAllowThreads(__tstate
);
26714 if (PyErr_Occurred()) SWIG_fail
;
26716 Py_INCREF(Py_None
); resultobj
= Py_None
;
26723 static PyObject
*_wrap_Window_Fit(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26724 PyObject
*resultobj
;
26725 wxWindow
*arg1
= (wxWindow
*) 0 ;
26726 PyObject
* obj0
= 0 ;
26727 char *kwnames
[] = {
26728 (char *) "self", NULL
26731 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Fit",kwnames
,&obj0
)) goto fail
;
26732 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26733 if (SWIG_arg_fail(1)) SWIG_fail
;
26735 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26738 wxPyEndAllowThreads(__tstate
);
26739 if (PyErr_Occurred()) SWIG_fail
;
26741 Py_INCREF(Py_None
); resultobj
= Py_None
;
26748 static PyObject
*_wrap_Window_FitInside(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26749 PyObject
*resultobj
;
26750 wxWindow
*arg1
= (wxWindow
*) 0 ;
26751 PyObject
* obj0
= 0 ;
26752 char *kwnames
[] = {
26753 (char *) "self", NULL
26756 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_FitInside",kwnames
,&obj0
)) goto fail
;
26757 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26758 if (SWIG_arg_fail(1)) SWIG_fail
;
26760 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26761 (arg1
)->FitInside();
26763 wxPyEndAllowThreads(__tstate
);
26764 if (PyErr_Occurred()) SWIG_fail
;
26766 Py_INCREF(Py_None
); resultobj
= Py_None
;
26773 static PyObject
*_wrap_Window_SetSizeHints(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26774 PyObject
*resultobj
;
26775 wxWindow
*arg1
= (wxWindow
*) 0 ;
26778 int arg4
= (int) -1 ;
26779 int arg5
= (int) -1 ;
26780 int arg6
= (int) -1 ;
26781 int arg7
= (int) -1 ;
26782 PyObject
* obj0
= 0 ;
26783 PyObject
* obj1
= 0 ;
26784 PyObject
* obj2
= 0 ;
26785 PyObject
* obj3
= 0 ;
26786 PyObject
* obj4
= 0 ;
26787 PyObject
* obj5
= 0 ;
26788 PyObject
* obj6
= 0 ;
26789 char *kwnames
[] = {
26790 (char *) "self",(char *) "minW",(char *) "minH",(char *) "maxW",(char *) "maxH",(char *) "incW",(char *) "incH", NULL
26793 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:Window_SetSizeHints",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
26794 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26795 if (SWIG_arg_fail(1)) SWIG_fail
;
26797 arg2
= (int)(SWIG_As_int(obj1
));
26798 if (SWIG_arg_fail(2)) SWIG_fail
;
26801 arg3
= (int)(SWIG_As_int(obj2
));
26802 if (SWIG_arg_fail(3)) SWIG_fail
;
26806 arg4
= (int)(SWIG_As_int(obj3
));
26807 if (SWIG_arg_fail(4)) SWIG_fail
;
26812 arg5
= (int)(SWIG_As_int(obj4
));
26813 if (SWIG_arg_fail(5)) SWIG_fail
;
26818 arg6
= (int)(SWIG_As_int(obj5
));
26819 if (SWIG_arg_fail(6)) SWIG_fail
;
26824 arg7
= (int)(SWIG_As_int(obj6
));
26825 if (SWIG_arg_fail(7)) SWIG_fail
;
26829 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26830 (arg1
)->SetSizeHints(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
26832 wxPyEndAllowThreads(__tstate
);
26833 if (PyErr_Occurred()) SWIG_fail
;
26835 Py_INCREF(Py_None
); resultobj
= Py_None
;
26842 static PyObject
*_wrap_Window_SetSizeHintsSz(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26843 PyObject
*resultobj
;
26844 wxWindow
*arg1
= (wxWindow
*) 0 ;
26846 wxSize
const &arg3_defvalue
= wxDefaultSize
;
26847 wxSize
*arg3
= (wxSize
*) &arg3_defvalue
;
26848 wxSize
const &arg4_defvalue
= wxDefaultSize
;
26849 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
26853 PyObject
* obj0
= 0 ;
26854 PyObject
* obj1
= 0 ;
26855 PyObject
* obj2
= 0 ;
26856 PyObject
* obj3
= 0 ;
26857 char *kwnames
[] = {
26858 (char *) "self",(char *) "minSize",(char *) "maxSize",(char *) "incSize", NULL
26861 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:Window_SetSizeHintsSz",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
26862 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26863 if (SWIG_arg_fail(1)) SWIG_fail
;
26866 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
26871 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
26877 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
26881 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26882 (arg1
)->SetSizeHints((wxSize
const &)*arg2
,(wxSize
const &)*arg3
,(wxSize
const &)*arg4
);
26884 wxPyEndAllowThreads(__tstate
);
26885 if (PyErr_Occurred()) SWIG_fail
;
26887 Py_INCREF(Py_None
); resultobj
= Py_None
;
26894 static PyObject
*_wrap_Window_SetVirtualSizeHints(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26895 PyObject
*resultobj
;
26896 wxWindow
*arg1
= (wxWindow
*) 0 ;
26899 int arg4
= (int) -1 ;
26900 int arg5
= (int) -1 ;
26901 PyObject
* obj0
= 0 ;
26902 PyObject
* obj1
= 0 ;
26903 PyObject
* obj2
= 0 ;
26904 PyObject
* obj3
= 0 ;
26905 PyObject
* obj4
= 0 ;
26906 char *kwnames
[] = {
26907 (char *) "self",(char *) "minW",(char *) "minH",(char *) "maxW",(char *) "maxH", NULL
26910 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:Window_SetVirtualSizeHints",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
26911 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26912 if (SWIG_arg_fail(1)) SWIG_fail
;
26914 arg2
= (int)(SWIG_As_int(obj1
));
26915 if (SWIG_arg_fail(2)) SWIG_fail
;
26918 arg3
= (int)(SWIG_As_int(obj2
));
26919 if (SWIG_arg_fail(3)) SWIG_fail
;
26923 arg4
= (int)(SWIG_As_int(obj3
));
26924 if (SWIG_arg_fail(4)) SWIG_fail
;
26929 arg5
= (int)(SWIG_As_int(obj4
));
26930 if (SWIG_arg_fail(5)) SWIG_fail
;
26934 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26935 (arg1
)->SetVirtualSizeHints(arg2
,arg3
,arg4
,arg5
);
26937 wxPyEndAllowThreads(__tstate
);
26938 if (PyErr_Occurred()) SWIG_fail
;
26940 Py_INCREF(Py_None
); resultobj
= Py_None
;
26947 static PyObject
*_wrap_Window_SetVirtualSizeHintsSz(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26948 PyObject
*resultobj
;
26949 wxWindow
*arg1
= (wxWindow
*) 0 ;
26951 wxSize
const &arg3_defvalue
= wxDefaultSize
;
26952 wxSize
*arg3
= (wxSize
*) &arg3_defvalue
;
26955 PyObject
* obj0
= 0 ;
26956 PyObject
* obj1
= 0 ;
26957 PyObject
* obj2
= 0 ;
26958 char *kwnames
[] = {
26959 (char *) "self",(char *) "minSize",(char *) "maxSize", NULL
26962 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_SetVirtualSizeHintsSz",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26963 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26964 if (SWIG_arg_fail(1)) SWIG_fail
;
26967 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
26972 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
26976 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26977 (arg1
)->SetVirtualSizeHints((wxSize
const &)*arg2
,(wxSize
const &)*arg3
);
26979 wxPyEndAllowThreads(__tstate
);
26980 if (PyErr_Occurred()) SWIG_fail
;
26982 Py_INCREF(Py_None
); resultobj
= Py_None
;
26989 static PyObject
*_wrap_Window_GetMaxSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26990 PyObject
*resultobj
;
26991 wxWindow
*arg1
= (wxWindow
*) 0 ;
26993 PyObject
* obj0
= 0 ;
26994 char *kwnames
[] = {
26995 (char *) "self", NULL
26998 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetMaxSize",kwnames
,&obj0
)) goto fail
;
26999 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27000 if (SWIG_arg_fail(1)) SWIG_fail
;
27002 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27003 result
= ((wxWindow
const *)arg1
)->GetMaxSize();
27005 wxPyEndAllowThreads(__tstate
);
27006 if (PyErr_Occurred()) SWIG_fail
;
27009 wxSize
* resultptr
;
27010 resultptr
= new wxSize((wxSize
&)(result
));
27011 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
27019 static PyObject
*_wrap_Window_GetMinSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27020 PyObject
*resultobj
;
27021 wxWindow
*arg1
= (wxWindow
*) 0 ;
27023 PyObject
* obj0
= 0 ;
27024 char *kwnames
[] = {
27025 (char *) "self", NULL
27028 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetMinSize",kwnames
,&obj0
)) goto fail
;
27029 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27030 if (SWIG_arg_fail(1)) SWIG_fail
;
27032 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27033 result
= ((wxWindow
const *)arg1
)->GetMinSize();
27035 wxPyEndAllowThreads(__tstate
);
27036 if (PyErr_Occurred()) SWIG_fail
;
27039 wxSize
* resultptr
;
27040 resultptr
= new wxSize((wxSize
&)(result
));
27041 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
27049 static PyObject
*_wrap_Window_SetMinSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27050 PyObject
*resultobj
;
27051 wxWindow
*arg1
= (wxWindow
*) 0 ;
27054 PyObject
* obj0
= 0 ;
27055 PyObject
* obj1
= 0 ;
27056 char *kwnames
[] = {
27057 (char *) "self",(char *) "minSize", NULL
27060 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetMinSize",kwnames
,&obj0
,&obj1
)) goto fail
;
27061 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27062 if (SWIG_arg_fail(1)) SWIG_fail
;
27065 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
27068 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27069 (arg1
)->SetMinSize((wxSize
const &)*arg2
);
27071 wxPyEndAllowThreads(__tstate
);
27072 if (PyErr_Occurred()) SWIG_fail
;
27074 Py_INCREF(Py_None
); resultobj
= Py_None
;
27081 static PyObject
*_wrap_Window_SetMaxSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27082 PyObject
*resultobj
;
27083 wxWindow
*arg1
= (wxWindow
*) 0 ;
27086 PyObject
* obj0
= 0 ;
27087 PyObject
* obj1
= 0 ;
27088 char *kwnames
[] = {
27089 (char *) "self",(char *) "maxSize", NULL
27092 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetMaxSize",kwnames
,&obj0
,&obj1
)) goto fail
;
27093 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27094 if (SWIG_arg_fail(1)) SWIG_fail
;
27097 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
27100 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27101 (arg1
)->SetMaxSize((wxSize
const &)*arg2
);
27103 wxPyEndAllowThreads(__tstate
);
27104 if (PyErr_Occurred()) SWIG_fail
;
27106 Py_INCREF(Py_None
); resultobj
= Py_None
;
27113 static PyObject
*_wrap_Window_GetMinWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27114 PyObject
*resultobj
;
27115 wxWindow
*arg1
= (wxWindow
*) 0 ;
27117 PyObject
* obj0
= 0 ;
27118 char *kwnames
[] = {
27119 (char *) "self", NULL
27122 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetMinWidth",kwnames
,&obj0
)) goto fail
;
27123 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27124 if (SWIG_arg_fail(1)) SWIG_fail
;
27126 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27127 result
= (int)((wxWindow
const *)arg1
)->GetMinWidth();
27129 wxPyEndAllowThreads(__tstate
);
27130 if (PyErr_Occurred()) SWIG_fail
;
27133 resultobj
= SWIG_From_int((int)(result
));
27141 static PyObject
*_wrap_Window_GetMinHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27142 PyObject
*resultobj
;
27143 wxWindow
*arg1
= (wxWindow
*) 0 ;
27145 PyObject
* obj0
= 0 ;
27146 char *kwnames
[] = {
27147 (char *) "self", NULL
27150 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetMinHeight",kwnames
,&obj0
)) goto fail
;
27151 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27152 if (SWIG_arg_fail(1)) SWIG_fail
;
27154 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27155 result
= (int)((wxWindow
const *)arg1
)->GetMinHeight();
27157 wxPyEndAllowThreads(__tstate
);
27158 if (PyErr_Occurred()) SWIG_fail
;
27161 resultobj
= SWIG_From_int((int)(result
));
27169 static PyObject
*_wrap_Window_GetMaxWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27170 PyObject
*resultobj
;
27171 wxWindow
*arg1
= (wxWindow
*) 0 ;
27173 PyObject
* obj0
= 0 ;
27174 char *kwnames
[] = {
27175 (char *) "self", NULL
27178 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetMaxWidth",kwnames
,&obj0
)) goto fail
;
27179 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27180 if (SWIG_arg_fail(1)) SWIG_fail
;
27182 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27183 result
= (int)((wxWindow
const *)arg1
)->GetMaxWidth();
27185 wxPyEndAllowThreads(__tstate
);
27186 if (PyErr_Occurred()) SWIG_fail
;
27189 resultobj
= SWIG_From_int((int)(result
));
27197 static PyObject
*_wrap_Window_GetMaxHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27198 PyObject
*resultobj
;
27199 wxWindow
*arg1
= (wxWindow
*) 0 ;
27201 PyObject
* obj0
= 0 ;
27202 char *kwnames
[] = {
27203 (char *) "self", NULL
27206 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetMaxHeight",kwnames
,&obj0
)) goto fail
;
27207 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27208 if (SWIG_arg_fail(1)) SWIG_fail
;
27210 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27211 result
= (int)((wxWindow
const *)arg1
)->GetMaxHeight();
27213 wxPyEndAllowThreads(__tstate
);
27214 if (PyErr_Occurred()) SWIG_fail
;
27217 resultobj
= SWIG_From_int((int)(result
));
27225 static PyObject
*_wrap_Window_SetVirtualSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27226 PyObject
*resultobj
;
27227 wxWindow
*arg1
= (wxWindow
*) 0 ;
27230 PyObject
* obj0
= 0 ;
27231 PyObject
* obj1
= 0 ;
27232 char *kwnames
[] = {
27233 (char *) "self",(char *) "size", NULL
27236 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetVirtualSize",kwnames
,&obj0
,&obj1
)) goto fail
;
27237 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27238 if (SWIG_arg_fail(1)) SWIG_fail
;
27241 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
27244 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27245 (arg1
)->SetVirtualSize((wxSize
const &)*arg2
);
27247 wxPyEndAllowThreads(__tstate
);
27248 if (PyErr_Occurred()) SWIG_fail
;
27250 Py_INCREF(Py_None
); resultobj
= Py_None
;
27257 static PyObject
*_wrap_Window_SetVirtualSizeWH(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27258 PyObject
*resultobj
;
27259 wxWindow
*arg1
= (wxWindow
*) 0 ;
27262 PyObject
* obj0
= 0 ;
27263 PyObject
* obj1
= 0 ;
27264 PyObject
* obj2
= 0 ;
27265 char *kwnames
[] = {
27266 (char *) "self",(char *) "w",(char *) "h", NULL
27269 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_SetVirtualSizeWH",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
27270 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27271 if (SWIG_arg_fail(1)) SWIG_fail
;
27273 arg2
= (int)(SWIG_As_int(obj1
));
27274 if (SWIG_arg_fail(2)) SWIG_fail
;
27277 arg3
= (int)(SWIG_As_int(obj2
));
27278 if (SWIG_arg_fail(3)) SWIG_fail
;
27281 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27282 (arg1
)->SetVirtualSize(arg2
,arg3
);
27284 wxPyEndAllowThreads(__tstate
);
27285 if (PyErr_Occurred()) SWIG_fail
;
27287 Py_INCREF(Py_None
); resultobj
= Py_None
;
27294 static PyObject
*_wrap_Window_GetVirtualSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27295 PyObject
*resultobj
;
27296 wxWindow
*arg1
= (wxWindow
*) 0 ;
27298 PyObject
* obj0
= 0 ;
27299 char *kwnames
[] = {
27300 (char *) "self", NULL
27303 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetVirtualSize",kwnames
,&obj0
)) goto fail
;
27304 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27305 if (SWIG_arg_fail(1)) SWIG_fail
;
27307 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27308 result
= ((wxWindow
const *)arg1
)->GetVirtualSize();
27310 wxPyEndAllowThreads(__tstate
);
27311 if (PyErr_Occurred()) SWIG_fail
;
27314 wxSize
* resultptr
;
27315 resultptr
= new wxSize((wxSize
&)(result
));
27316 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
27324 static PyObject
*_wrap_Window_GetVirtualSizeTuple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27325 PyObject
*resultobj
;
27326 wxWindow
*arg1
= (wxWindow
*) 0 ;
27327 int *arg2
= (int *) 0 ;
27328 int *arg3
= (int *) 0 ;
27333 PyObject
* obj0
= 0 ;
27334 char *kwnames
[] = {
27335 (char *) "self", NULL
27338 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
27339 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
27340 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetVirtualSizeTuple",kwnames
,&obj0
)) goto fail
;
27341 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27342 if (SWIG_arg_fail(1)) SWIG_fail
;
27344 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27345 ((wxWindow
const *)arg1
)->GetVirtualSize(arg2
,arg3
);
27347 wxPyEndAllowThreads(__tstate
);
27348 if (PyErr_Occurred()) SWIG_fail
;
27350 Py_INCREF(Py_None
); resultobj
= Py_None
;
27351 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
27352 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
27353 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
27354 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
27361 static PyObject
*_wrap_Window_GetBestVirtualSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27362 PyObject
*resultobj
;
27363 wxWindow
*arg1
= (wxWindow
*) 0 ;
27365 PyObject
* obj0
= 0 ;
27366 char *kwnames
[] = {
27367 (char *) "self", NULL
27370 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetBestVirtualSize",kwnames
,&obj0
)) goto fail
;
27371 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27372 if (SWIG_arg_fail(1)) SWIG_fail
;
27374 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27375 result
= ((wxWindow
const *)arg1
)->GetBestVirtualSize();
27377 wxPyEndAllowThreads(__tstate
);
27378 if (PyErr_Occurred()) SWIG_fail
;
27381 wxSize
* resultptr
;
27382 resultptr
= new wxSize((wxSize
&)(result
));
27383 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
27391 static PyObject
*_wrap_Window_Show(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27392 PyObject
*resultobj
;
27393 wxWindow
*arg1
= (wxWindow
*) 0 ;
27394 bool arg2
= (bool) true ;
27396 PyObject
* obj0
= 0 ;
27397 PyObject
* obj1
= 0 ;
27398 char *kwnames
[] = {
27399 (char *) "self",(char *) "show", NULL
27402 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_Show",kwnames
,&obj0
,&obj1
)) goto fail
;
27403 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27404 if (SWIG_arg_fail(1)) SWIG_fail
;
27407 arg2
= (bool)(SWIG_As_bool(obj1
));
27408 if (SWIG_arg_fail(2)) SWIG_fail
;
27412 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27413 result
= (bool)(arg1
)->Show(arg2
);
27415 wxPyEndAllowThreads(__tstate
);
27416 if (PyErr_Occurred()) SWIG_fail
;
27419 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27427 static PyObject
*_wrap_Window_Hide(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27428 PyObject
*resultobj
;
27429 wxWindow
*arg1
= (wxWindow
*) 0 ;
27431 PyObject
* obj0
= 0 ;
27432 char *kwnames
[] = {
27433 (char *) "self", NULL
27436 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Hide",kwnames
,&obj0
)) goto fail
;
27437 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27438 if (SWIG_arg_fail(1)) SWIG_fail
;
27440 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27441 result
= (bool)(arg1
)->Hide();
27443 wxPyEndAllowThreads(__tstate
);
27444 if (PyErr_Occurred()) SWIG_fail
;
27447 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27455 static PyObject
*_wrap_Window_Enable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27456 PyObject
*resultobj
;
27457 wxWindow
*arg1
= (wxWindow
*) 0 ;
27458 bool arg2
= (bool) true ;
27460 PyObject
* obj0
= 0 ;
27461 PyObject
* obj1
= 0 ;
27462 char *kwnames
[] = {
27463 (char *) "self",(char *) "enable", NULL
27466 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_Enable",kwnames
,&obj0
,&obj1
)) goto fail
;
27467 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27468 if (SWIG_arg_fail(1)) SWIG_fail
;
27471 arg2
= (bool)(SWIG_As_bool(obj1
));
27472 if (SWIG_arg_fail(2)) SWIG_fail
;
27476 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27477 result
= (bool)(arg1
)->Enable(arg2
);
27479 wxPyEndAllowThreads(__tstate
);
27480 if (PyErr_Occurred()) SWIG_fail
;
27483 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27491 static PyObject
*_wrap_Window_Disable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27492 PyObject
*resultobj
;
27493 wxWindow
*arg1
= (wxWindow
*) 0 ;
27495 PyObject
* obj0
= 0 ;
27496 char *kwnames
[] = {
27497 (char *) "self", NULL
27500 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Disable",kwnames
,&obj0
)) goto fail
;
27501 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27502 if (SWIG_arg_fail(1)) SWIG_fail
;
27504 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27505 result
= (bool)(arg1
)->Disable();
27507 wxPyEndAllowThreads(__tstate
);
27508 if (PyErr_Occurred()) SWIG_fail
;
27511 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27519 static PyObject
*_wrap_Window_IsShown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27520 PyObject
*resultobj
;
27521 wxWindow
*arg1
= (wxWindow
*) 0 ;
27523 PyObject
* obj0
= 0 ;
27524 char *kwnames
[] = {
27525 (char *) "self", NULL
27528 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_IsShown",kwnames
,&obj0
)) goto fail
;
27529 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27530 if (SWIG_arg_fail(1)) SWIG_fail
;
27532 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27533 result
= (bool)((wxWindow
const *)arg1
)->IsShown();
27535 wxPyEndAllowThreads(__tstate
);
27536 if (PyErr_Occurred()) SWIG_fail
;
27539 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27547 static PyObject
*_wrap_Window_IsEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27548 PyObject
*resultobj
;
27549 wxWindow
*arg1
= (wxWindow
*) 0 ;
27551 PyObject
* obj0
= 0 ;
27552 char *kwnames
[] = {
27553 (char *) "self", NULL
27556 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_IsEnabled",kwnames
,&obj0
)) goto fail
;
27557 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27558 if (SWIG_arg_fail(1)) SWIG_fail
;
27560 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27561 result
= (bool)((wxWindow
const *)arg1
)->IsEnabled();
27563 wxPyEndAllowThreads(__tstate
);
27564 if (PyErr_Occurred()) SWIG_fail
;
27567 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27575 static PyObject
*_wrap_Window_SetWindowStyleFlag(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27576 PyObject
*resultobj
;
27577 wxWindow
*arg1
= (wxWindow
*) 0 ;
27579 PyObject
* obj0
= 0 ;
27580 PyObject
* obj1
= 0 ;
27581 char *kwnames
[] = {
27582 (char *) "self",(char *) "style", NULL
27585 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetWindowStyleFlag",kwnames
,&obj0
,&obj1
)) goto fail
;
27586 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27587 if (SWIG_arg_fail(1)) SWIG_fail
;
27589 arg2
= (long)(SWIG_As_long(obj1
));
27590 if (SWIG_arg_fail(2)) SWIG_fail
;
27593 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27594 (arg1
)->SetWindowStyleFlag(arg2
);
27596 wxPyEndAllowThreads(__tstate
);
27597 if (PyErr_Occurred()) SWIG_fail
;
27599 Py_INCREF(Py_None
); resultobj
= Py_None
;
27606 static PyObject
*_wrap_Window_GetWindowStyleFlag(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27607 PyObject
*resultobj
;
27608 wxWindow
*arg1
= (wxWindow
*) 0 ;
27610 PyObject
* obj0
= 0 ;
27611 char *kwnames
[] = {
27612 (char *) "self", NULL
27615 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetWindowStyleFlag",kwnames
,&obj0
)) goto fail
;
27616 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27617 if (SWIG_arg_fail(1)) SWIG_fail
;
27619 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27620 result
= (long)((wxWindow
const *)arg1
)->GetWindowStyleFlag();
27622 wxPyEndAllowThreads(__tstate
);
27623 if (PyErr_Occurred()) SWIG_fail
;
27626 resultobj
= SWIG_From_long((long)(result
));
27634 static PyObject
*_wrap_Window_HasFlag(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27635 PyObject
*resultobj
;
27636 wxWindow
*arg1
= (wxWindow
*) 0 ;
27639 PyObject
* obj0
= 0 ;
27640 PyObject
* obj1
= 0 ;
27641 char *kwnames
[] = {
27642 (char *) "self",(char *) "flag", NULL
27645 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_HasFlag",kwnames
,&obj0
,&obj1
)) goto fail
;
27646 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27647 if (SWIG_arg_fail(1)) SWIG_fail
;
27649 arg2
= (int)(SWIG_As_int(obj1
));
27650 if (SWIG_arg_fail(2)) SWIG_fail
;
27653 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27654 result
= (bool)((wxWindow
const *)arg1
)->HasFlag(arg2
);
27656 wxPyEndAllowThreads(__tstate
);
27657 if (PyErr_Occurred()) SWIG_fail
;
27660 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27668 static PyObject
*_wrap_Window_IsRetained(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27669 PyObject
*resultobj
;
27670 wxWindow
*arg1
= (wxWindow
*) 0 ;
27672 PyObject
* obj0
= 0 ;
27673 char *kwnames
[] = {
27674 (char *) "self", NULL
27677 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_IsRetained",kwnames
,&obj0
)) goto fail
;
27678 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27679 if (SWIG_arg_fail(1)) SWIG_fail
;
27681 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27682 result
= (bool)((wxWindow
const *)arg1
)->IsRetained();
27684 wxPyEndAllowThreads(__tstate
);
27685 if (PyErr_Occurred()) SWIG_fail
;
27688 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27696 static PyObject
*_wrap_Window_SetExtraStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27697 PyObject
*resultobj
;
27698 wxWindow
*arg1
= (wxWindow
*) 0 ;
27700 PyObject
* obj0
= 0 ;
27701 PyObject
* obj1
= 0 ;
27702 char *kwnames
[] = {
27703 (char *) "self",(char *) "exStyle", NULL
27706 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetExtraStyle",kwnames
,&obj0
,&obj1
)) goto fail
;
27707 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27708 if (SWIG_arg_fail(1)) SWIG_fail
;
27710 arg2
= (long)(SWIG_As_long(obj1
));
27711 if (SWIG_arg_fail(2)) SWIG_fail
;
27714 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27715 (arg1
)->SetExtraStyle(arg2
);
27717 wxPyEndAllowThreads(__tstate
);
27718 if (PyErr_Occurred()) SWIG_fail
;
27720 Py_INCREF(Py_None
); resultobj
= Py_None
;
27727 static PyObject
*_wrap_Window_GetExtraStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27728 PyObject
*resultobj
;
27729 wxWindow
*arg1
= (wxWindow
*) 0 ;
27731 PyObject
* obj0
= 0 ;
27732 char *kwnames
[] = {
27733 (char *) "self", NULL
27736 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetExtraStyle",kwnames
,&obj0
)) goto fail
;
27737 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27738 if (SWIG_arg_fail(1)) SWIG_fail
;
27740 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27741 result
= (long)((wxWindow
const *)arg1
)->GetExtraStyle();
27743 wxPyEndAllowThreads(__tstate
);
27744 if (PyErr_Occurred()) SWIG_fail
;
27747 resultobj
= SWIG_From_long((long)(result
));
27755 static PyObject
*_wrap_Window_MakeModal(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27756 PyObject
*resultobj
;
27757 wxWindow
*arg1
= (wxWindow
*) 0 ;
27758 bool arg2
= (bool) true ;
27759 PyObject
* obj0
= 0 ;
27760 PyObject
* obj1
= 0 ;
27761 char *kwnames
[] = {
27762 (char *) "self",(char *) "modal", NULL
27765 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_MakeModal",kwnames
,&obj0
,&obj1
)) goto fail
;
27766 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27767 if (SWIG_arg_fail(1)) SWIG_fail
;
27770 arg2
= (bool)(SWIG_As_bool(obj1
));
27771 if (SWIG_arg_fail(2)) SWIG_fail
;
27775 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27776 (arg1
)->MakeModal(arg2
);
27778 wxPyEndAllowThreads(__tstate
);
27779 if (PyErr_Occurred()) SWIG_fail
;
27781 Py_INCREF(Py_None
); resultobj
= Py_None
;
27788 static PyObject
*_wrap_Window_SetThemeEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27789 PyObject
*resultobj
;
27790 wxWindow
*arg1
= (wxWindow
*) 0 ;
27792 PyObject
* obj0
= 0 ;
27793 PyObject
* obj1
= 0 ;
27794 char *kwnames
[] = {
27795 (char *) "self",(char *) "enableTheme", NULL
27798 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetThemeEnabled",kwnames
,&obj0
,&obj1
)) goto fail
;
27799 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27800 if (SWIG_arg_fail(1)) SWIG_fail
;
27802 arg2
= (bool)(SWIG_As_bool(obj1
));
27803 if (SWIG_arg_fail(2)) SWIG_fail
;
27806 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27807 (arg1
)->SetThemeEnabled(arg2
);
27809 wxPyEndAllowThreads(__tstate
);
27810 if (PyErr_Occurred()) SWIG_fail
;
27812 Py_INCREF(Py_None
); resultobj
= Py_None
;
27819 static PyObject
*_wrap_Window_GetThemeEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27820 PyObject
*resultobj
;
27821 wxWindow
*arg1
= (wxWindow
*) 0 ;
27823 PyObject
* obj0
= 0 ;
27824 char *kwnames
[] = {
27825 (char *) "self", NULL
27828 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetThemeEnabled",kwnames
,&obj0
)) goto fail
;
27829 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27830 if (SWIG_arg_fail(1)) SWIG_fail
;
27832 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27833 result
= (bool)((wxWindow
const *)arg1
)->GetThemeEnabled();
27835 wxPyEndAllowThreads(__tstate
);
27836 if (PyErr_Occurred()) SWIG_fail
;
27839 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27847 static PyObject
*_wrap_Window_SetFocus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27848 PyObject
*resultobj
;
27849 wxWindow
*arg1
= (wxWindow
*) 0 ;
27850 PyObject
* obj0
= 0 ;
27851 char *kwnames
[] = {
27852 (char *) "self", NULL
27855 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_SetFocus",kwnames
,&obj0
)) goto fail
;
27856 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27857 if (SWIG_arg_fail(1)) SWIG_fail
;
27859 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27860 (arg1
)->SetFocus();
27862 wxPyEndAllowThreads(__tstate
);
27863 if (PyErr_Occurred()) SWIG_fail
;
27865 Py_INCREF(Py_None
); resultobj
= Py_None
;
27872 static PyObject
*_wrap_Window_SetFocusFromKbd(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27873 PyObject
*resultobj
;
27874 wxWindow
*arg1
= (wxWindow
*) 0 ;
27875 PyObject
* obj0
= 0 ;
27876 char *kwnames
[] = {
27877 (char *) "self", NULL
27880 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_SetFocusFromKbd",kwnames
,&obj0
)) goto fail
;
27881 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27882 if (SWIG_arg_fail(1)) SWIG_fail
;
27884 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27885 (arg1
)->SetFocusFromKbd();
27887 wxPyEndAllowThreads(__tstate
);
27888 if (PyErr_Occurred()) SWIG_fail
;
27890 Py_INCREF(Py_None
); resultobj
= Py_None
;
27897 static PyObject
*_wrap_Window_FindFocus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27898 PyObject
*resultobj
;
27900 char *kwnames
[] = {
27904 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Window_FindFocus",kwnames
)) goto fail
;
27906 if (!wxPyCheckForApp()) SWIG_fail
;
27907 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27908 result
= (wxWindow
*)wxWindow::FindFocus();
27910 wxPyEndAllowThreads(__tstate
);
27911 if (PyErr_Occurred()) SWIG_fail
;
27914 resultobj
= wxPyMake_wxObject(result
, 0);
27922 static PyObject
*_wrap_Window_AcceptsFocus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27923 PyObject
*resultobj
;
27924 wxWindow
*arg1
= (wxWindow
*) 0 ;
27926 PyObject
* obj0
= 0 ;
27927 char *kwnames
[] = {
27928 (char *) "self", NULL
27931 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_AcceptsFocus",kwnames
,&obj0
)) goto fail
;
27932 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27933 if (SWIG_arg_fail(1)) SWIG_fail
;
27935 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27936 result
= (bool)((wxWindow
const *)arg1
)->AcceptsFocus();
27938 wxPyEndAllowThreads(__tstate
);
27939 if (PyErr_Occurred()) SWIG_fail
;
27942 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27950 static PyObject
*_wrap_Window_AcceptsFocusFromKeyboard(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27951 PyObject
*resultobj
;
27952 wxWindow
*arg1
= (wxWindow
*) 0 ;
27954 PyObject
* obj0
= 0 ;
27955 char *kwnames
[] = {
27956 (char *) "self", NULL
27959 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_AcceptsFocusFromKeyboard",kwnames
,&obj0
)) goto fail
;
27960 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27961 if (SWIG_arg_fail(1)) SWIG_fail
;
27963 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27964 result
= (bool)((wxWindow
const *)arg1
)->AcceptsFocusFromKeyboard();
27966 wxPyEndAllowThreads(__tstate
);
27967 if (PyErr_Occurred()) SWIG_fail
;
27970 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27978 static PyObject
*_wrap_Window_GetDefaultItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27979 PyObject
*resultobj
;
27980 wxWindow
*arg1
= (wxWindow
*) 0 ;
27982 PyObject
* obj0
= 0 ;
27983 char *kwnames
[] = {
27984 (char *) "self", NULL
27987 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetDefaultItem",kwnames
,&obj0
)) goto fail
;
27988 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27989 if (SWIG_arg_fail(1)) SWIG_fail
;
27991 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27992 result
= (wxWindow
*)((wxWindow
const *)arg1
)->GetDefaultItem();
27994 wxPyEndAllowThreads(__tstate
);
27995 if (PyErr_Occurred()) SWIG_fail
;
27998 resultobj
= wxPyMake_wxObject(result
, 0);
28006 static PyObject
*_wrap_Window_SetDefaultItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28007 PyObject
*resultobj
;
28008 wxWindow
*arg1
= (wxWindow
*) 0 ;
28009 wxWindow
*arg2
= (wxWindow
*) 0 ;
28011 PyObject
* obj0
= 0 ;
28012 PyObject
* obj1
= 0 ;
28013 char *kwnames
[] = {
28014 (char *) "self",(char *) "child", NULL
28017 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetDefaultItem",kwnames
,&obj0
,&obj1
)) goto fail
;
28018 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28019 if (SWIG_arg_fail(1)) SWIG_fail
;
28020 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28021 if (SWIG_arg_fail(2)) SWIG_fail
;
28023 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28024 result
= (wxWindow
*)(arg1
)->SetDefaultItem(arg2
);
28026 wxPyEndAllowThreads(__tstate
);
28027 if (PyErr_Occurred()) SWIG_fail
;
28030 resultobj
= wxPyMake_wxObject(result
, 0);
28038 static PyObject
*_wrap_Window_SetTmpDefaultItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28039 PyObject
*resultobj
;
28040 wxWindow
*arg1
= (wxWindow
*) 0 ;
28041 wxWindow
*arg2
= (wxWindow
*) 0 ;
28042 PyObject
* obj0
= 0 ;
28043 PyObject
* obj1
= 0 ;
28044 char *kwnames
[] = {
28045 (char *) "self",(char *) "win", NULL
28048 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetTmpDefaultItem",kwnames
,&obj0
,&obj1
)) goto fail
;
28049 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28050 if (SWIG_arg_fail(1)) SWIG_fail
;
28051 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28052 if (SWIG_arg_fail(2)) SWIG_fail
;
28054 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28055 (arg1
)->SetTmpDefaultItem(arg2
);
28057 wxPyEndAllowThreads(__tstate
);
28058 if (PyErr_Occurred()) SWIG_fail
;
28060 Py_INCREF(Py_None
); resultobj
= Py_None
;
28067 static PyObject
*_wrap_Window_Navigate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28068 PyObject
*resultobj
;
28069 wxWindow
*arg1
= (wxWindow
*) 0 ;
28070 int arg2
= (int) wxNavigationKeyEvent::IsForward
;
28072 PyObject
* obj0
= 0 ;
28073 PyObject
* obj1
= 0 ;
28074 char *kwnames
[] = {
28075 (char *) "self",(char *) "flags", NULL
28078 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_Navigate",kwnames
,&obj0
,&obj1
)) goto fail
;
28079 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28080 if (SWIG_arg_fail(1)) SWIG_fail
;
28083 arg2
= (int)(SWIG_As_int(obj1
));
28084 if (SWIG_arg_fail(2)) SWIG_fail
;
28088 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28089 result
= (bool)(arg1
)->Navigate(arg2
);
28091 wxPyEndAllowThreads(__tstate
);
28092 if (PyErr_Occurred()) SWIG_fail
;
28095 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28103 static PyObject
*_wrap_Window_MoveAfterInTabOrder(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28104 PyObject
*resultobj
;
28105 wxWindow
*arg1
= (wxWindow
*) 0 ;
28106 wxWindow
*arg2
= (wxWindow
*) 0 ;
28107 PyObject
* obj0
= 0 ;
28108 PyObject
* obj1
= 0 ;
28109 char *kwnames
[] = {
28110 (char *) "self",(char *) "win", NULL
28113 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_MoveAfterInTabOrder",kwnames
,&obj0
,&obj1
)) goto fail
;
28114 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28115 if (SWIG_arg_fail(1)) SWIG_fail
;
28116 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28117 if (SWIG_arg_fail(2)) SWIG_fail
;
28119 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28120 (arg1
)->MoveAfterInTabOrder(arg2
);
28122 wxPyEndAllowThreads(__tstate
);
28123 if (PyErr_Occurred()) SWIG_fail
;
28125 Py_INCREF(Py_None
); resultobj
= Py_None
;
28132 static PyObject
*_wrap_Window_MoveBeforeInTabOrder(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28133 PyObject
*resultobj
;
28134 wxWindow
*arg1
= (wxWindow
*) 0 ;
28135 wxWindow
*arg2
= (wxWindow
*) 0 ;
28136 PyObject
* obj0
= 0 ;
28137 PyObject
* obj1
= 0 ;
28138 char *kwnames
[] = {
28139 (char *) "self",(char *) "win", NULL
28142 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_MoveBeforeInTabOrder",kwnames
,&obj0
,&obj1
)) goto fail
;
28143 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28144 if (SWIG_arg_fail(1)) SWIG_fail
;
28145 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28146 if (SWIG_arg_fail(2)) SWIG_fail
;
28148 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28149 (arg1
)->MoveBeforeInTabOrder(arg2
);
28151 wxPyEndAllowThreads(__tstate
);
28152 if (PyErr_Occurred()) SWIG_fail
;
28154 Py_INCREF(Py_None
); resultobj
= Py_None
;
28161 static PyObject
*_wrap_Window_GetChildren(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28162 PyObject
*resultobj
;
28163 wxWindow
*arg1
= (wxWindow
*) 0 ;
28165 PyObject
* obj0
= 0 ;
28166 char *kwnames
[] = {
28167 (char *) "self", NULL
28170 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetChildren",kwnames
,&obj0
)) goto fail
;
28171 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28172 if (SWIG_arg_fail(1)) SWIG_fail
;
28174 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28175 result
= (PyObject
*)wxWindow_GetChildren(arg1
);
28177 wxPyEndAllowThreads(__tstate
);
28178 if (PyErr_Occurred()) SWIG_fail
;
28180 resultobj
= result
;
28187 static PyObject
*_wrap_Window_GetParent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28188 PyObject
*resultobj
;
28189 wxWindow
*arg1
= (wxWindow
*) 0 ;
28191 PyObject
* obj0
= 0 ;
28192 char *kwnames
[] = {
28193 (char *) "self", NULL
28196 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetParent",kwnames
,&obj0
)) goto fail
;
28197 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28198 if (SWIG_arg_fail(1)) SWIG_fail
;
28200 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28201 result
= (wxWindow
*)((wxWindow
const *)arg1
)->GetParent();
28203 wxPyEndAllowThreads(__tstate
);
28204 if (PyErr_Occurred()) SWIG_fail
;
28207 resultobj
= wxPyMake_wxObject(result
, 0);
28215 static PyObject
*_wrap_Window_GetGrandParent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28216 PyObject
*resultobj
;
28217 wxWindow
*arg1
= (wxWindow
*) 0 ;
28219 PyObject
* obj0
= 0 ;
28220 char *kwnames
[] = {
28221 (char *) "self", NULL
28224 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetGrandParent",kwnames
,&obj0
)) goto fail
;
28225 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28226 if (SWIG_arg_fail(1)) SWIG_fail
;
28228 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28229 result
= (wxWindow
*)((wxWindow
const *)arg1
)->GetGrandParent();
28231 wxPyEndAllowThreads(__tstate
);
28232 if (PyErr_Occurred()) SWIG_fail
;
28235 resultobj
= wxPyMake_wxObject(result
, 0);
28243 static PyObject
*_wrap_Window_IsTopLevel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28244 PyObject
*resultobj
;
28245 wxWindow
*arg1
= (wxWindow
*) 0 ;
28247 PyObject
* obj0
= 0 ;
28248 char *kwnames
[] = {
28249 (char *) "self", NULL
28252 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_IsTopLevel",kwnames
,&obj0
)) goto fail
;
28253 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28254 if (SWIG_arg_fail(1)) SWIG_fail
;
28256 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28257 result
= (bool)((wxWindow
const *)arg1
)->IsTopLevel();
28259 wxPyEndAllowThreads(__tstate
);
28260 if (PyErr_Occurred()) SWIG_fail
;
28263 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28271 static PyObject
*_wrap_Window_Reparent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28272 PyObject
*resultobj
;
28273 wxWindow
*arg1
= (wxWindow
*) 0 ;
28274 wxWindow
*arg2
= (wxWindow
*) 0 ;
28276 PyObject
* obj0
= 0 ;
28277 PyObject
* obj1
= 0 ;
28278 char *kwnames
[] = {
28279 (char *) "self",(char *) "newParent", NULL
28282 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_Reparent",kwnames
,&obj0
,&obj1
)) goto fail
;
28283 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28284 if (SWIG_arg_fail(1)) SWIG_fail
;
28285 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28286 if (SWIG_arg_fail(2)) SWIG_fail
;
28288 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28289 result
= (bool)(arg1
)->Reparent(arg2
);
28291 wxPyEndAllowThreads(__tstate
);
28292 if (PyErr_Occurred()) SWIG_fail
;
28295 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28303 static PyObject
*_wrap_Window_AddChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28304 PyObject
*resultobj
;
28305 wxWindow
*arg1
= (wxWindow
*) 0 ;
28306 wxWindow
*arg2
= (wxWindow
*) 0 ;
28307 PyObject
* obj0
= 0 ;
28308 PyObject
* obj1
= 0 ;
28309 char *kwnames
[] = {
28310 (char *) "self",(char *) "child", NULL
28313 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_AddChild",kwnames
,&obj0
,&obj1
)) goto fail
;
28314 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28315 if (SWIG_arg_fail(1)) SWIG_fail
;
28316 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28317 if (SWIG_arg_fail(2)) SWIG_fail
;
28319 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28320 (arg1
)->AddChild(arg2
);
28322 wxPyEndAllowThreads(__tstate
);
28323 if (PyErr_Occurred()) SWIG_fail
;
28325 Py_INCREF(Py_None
); resultobj
= Py_None
;
28332 static PyObject
*_wrap_Window_RemoveChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28333 PyObject
*resultobj
;
28334 wxWindow
*arg1
= (wxWindow
*) 0 ;
28335 wxWindow
*arg2
= (wxWindow
*) 0 ;
28336 PyObject
* obj0
= 0 ;
28337 PyObject
* obj1
= 0 ;
28338 char *kwnames
[] = {
28339 (char *) "self",(char *) "child", NULL
28342 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_RemoveChild",kwnames
,&obj0
,&obj1
)) goto fail
;
28343 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28344 if (SWIG_arg_fail(1)) SWIG_fail
;
28345 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28346 if (SWIG_arg_fail(2)) SWIG_fail
;
28348 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28349 (arg1
)->RemoveChild(arg2
);
28351 wxPyEndAllowThreads(__tstate
);
28352 if (PyErr_Occurred()) SWIG_fail
;
28354 Py_INCREF(Py_None
); resultobj
= Py_None
;
28361 static PyObject
*_wrap_Window_FindWindowById(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28362 PyObject
*resultobj
;
28363 wxWindow
*arg1
= (wxWindow
*) 0 ;
28366 PyObject
* obj0
= 0 ;
28367 PyObject
* obj1
= 0 ;
28368 char *kwnames
[] = {
28369 (char *) "self",(char *) "winid", NULL
28372 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_FindWindowById",kwnames
,&obj0
,&obj1
)) goto fail
;
28373 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28374 if (SWIG_arg_fail(1)) SWIG_fail
;
28376 arg2
= (long)(SWIG_As_long(obj1
));
28377 if (SWIG_arg_fail(2)) SWIG_fail
;
28380 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28381 result
= (wxWindow
*)(arg1
)->FindWindow(arg2
);
28383 wxPyEndAllowThreads(__tstate
);
28384 if (PyErr_Occurred()) SWIG_fail
;
28387 resultobj
= wxPyMake_wxObject(result
, 0);
28395 static PyObject
*_wrap_Window_FindWindowByName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28396 PyObject
*resultobj
;
28397 wxWindow
*arg1
= (wxWindow
*) 0 ;
28398 wxString
*arg2
= 0 ;
28400 bool temp2
= false ;
28401 PyObject
* obj0
= 0 ;
28402 PyObject
* obj1
= 0 ;
28403 char *kwnames
[] = {
28404 (char *) "self",(char *) "name", NULL
28407 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_FindWindowByName",kwnames
,&obj0
,&obj1
)) goto fail
;
28408 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28409 if (SWIG_arg_fail(1)) SWIG_fail
;
28411 arg2
= wxString_in_helper(obj1
);
28412 if (arg2
== NULL
) SWIG_fail
;
28416 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28417 result
= (wxWindow
*)(arg1
)->FindWindow((wxString
const &)*arg2
);
28419 wxPyEndAllowThreads(__tstate
);
28420 if (PyErr_Occurred()) SWIG_fail
;
28423 resultobj
= wxPyMake_wxObject(result
, 0);
28439 static PyObject
*_wrap_Window_GetEventHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28440 PyObject
*resultobj
;
28441 wxWindow
*arg1
= (wxWindow
*) 0 ;
28442 wxEvtHandler
*result
;
28443 PyObject
* obj0
= 0 ;
28444 char *kwnames
[] = {
28445 (char *) "self", NULL
28448 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetEventHandler",kwnames
,&obj0
)) goto fail
;
28449 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28450 if (SWIG_arg_fail(1)) SWIG_fail
;
28452 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28453 result
= (wxEvtHandler
*)((wxWindow
const *)arg1
)->GetEventHandler();
28455 wxPyEndAllowThreads(__tstate
);
28456 if (PyErr_Occurred()) SWIG_fail
;
28459 resultobj
= wxPyMake_wxObject(result
, 0);
28467 static PyObject
*_wrap_Window_SetEventHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28468 PyObject
*resultobj
;
28469 wxWindow
*arg1
= (wxWindow
*) 0 ;
28470 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
28471 PyObject
* obj0
= 0 ;
28472 PyObject
* obj1
= 0 ;
28473 char *kwnames
[] = {
28474 (char *) "self",(char *) "handler", NULL
28477 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetEventHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
28478 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28479 if (SWIG_arg_fail(1)) SWIG_fail
;
28480 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
28481 if (SWIG_arg_fail(2)) SWIG_fail
;
28483 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28484 (arg1
)->SetEventHandler(arg2
);
28486 wxPyEndAllowThreads(__tstate
);
28487 if (PyErr_Occurred()) SWIG_fail
;
28489 Py_INCREF(Py_None
); resultobj
= Py_None
;
28496 static PyObject
*_wrap_Window_PushEventHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28497 PyObject
*resultobj
;
28498 wxWindow
*arg1
= (wxWindow
*) 0 ;
28499 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
28500 PyObject
* obj0
= 0 ;
28501 PyObject
* obj1
= 0 ;
28502 char *kwnames
[] = {
28503 (char *) "self",(char *) "handler", NULL
28506 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_PushEventHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
28507 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28508 if (SWIG_arg_fail(1)) SWIG_fail
;
28509 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
28510 if (SWIG_arg_fail(2)) SWIG_fail
;
28512 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28513 (arg1
)->PushEventHandler(arg2
);
28515 wxPyEndAllowThreads(__tstate
);
28516 if (PyErr_Occurred()) SWIG_fail
;
28518 Py_INCREF(Py_None
); resultobj
= Py_None
;
28525 static PyObject
*_wrap_Window_PopEventHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28526 PyObject
*resultobj
;
28527 wxWindow
*arg1
= (wxWindow
*) 0 ;
28528 bool arg2
= (bool) false ;
28529 wxEvtHandler
*result
;
28530 PyObject
* obj0
= 0 ;
28531 PyObject
* obj1
= 0 ;
28532 char *kwnames
[] = {
28533 (char *) "self",(char *) "deleteHandler", NULL
28536 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_PopEventHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
28537 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28538 if (SWIG_arg_fail(1)) SWIG_fail
;
28541 arg2
= (bool)(SWIG_As_bool(obj1
));
28542 if (SWIG_arg_fail(2)) SWIG_fail
;
28546 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28547 result
= (wxEvtHandler
*)(arg1
)->PopEventHandler(arg2
);
28549 wxPyEndAllowThreads(__tstate
);
28550 if (PyErr_Occurred()) SWIG_fail
;
28553 resultobj
= wxPyMake_wxObject(result
, 0);
28561 static PyObject
*_wrap_Window_RemoveEventHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28562 PyObject
*resultobj
;
28563 wxWindow
*arg1
= (wxWindow
*) 0 ;
28564 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
28566 PyObject
* obj0
= 0 ;
28567 PyObject
* obj1
= 0 ;
28568 char *kwnames
[] = {
28569 (char *) "self",(char *) "handler", NULL
28572 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_RemoveEventHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
28573 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28574 if (SWIG_arg_fail(1)) SWIG_fail
;
28575 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
28576 if (SWIG_arg_fail(2)) SWIG_fail
;
28578 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28579 result
= (bool)(arg1
)->RemoveEventHandler(arg2
);
28581 wxPyEndAllowThreads(__tstate
);
28582 if (PyErr_Occurred()) SWIG_fail
;
28585 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28593 static PyObject
*_wrap_Window_SetValidator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28594 PyObject
*resultobj
;
28595 wxWindow
*arg1
= (wxWindow
*) 0 ;
28596 wxValidator
*arg2
= 0 ;
28597 PyObject
* obj0
= 0 ;
28598 PyObject
* obj1
= 0 ;
28599 char *kwnames
[] = {
28600 (char *) "self",(char *) "validator", NULL
28603 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetValidator",kwnames
,&obj0
,&obj1
)) goto fail
;
28604 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28605 if (SWIG_arg_fail(1)) SWIG_fail
;
28607 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
28608 if (SWIG_arg_fail(2)) SWIG_fail
;
28609 if (arg2
== NULL
) {
28610 SWIG_null_ref("wxValidator");
28612 if (SWIG_arg_fail(2)) SWIG_fail
;
28615 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28616 (arg1
)->SetValidator((wxValidator
const &)*arg2
);
28618 wxPyEndAllowThreads(__tstate
);
28619 if (PyErr_Occurred()) SWIG_fail
;
28621 Py_INCREF(Py_None
); resultobj
= Py_None
;
28628 static PyObject
*_wrap_Window_GetValidator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28629 PyObject
*resultobj
;
28630 wxWindow
*arg1
= (wxWindow
*) 0 ;
28631 wxValidator
*result
;
28632 PyObject
* obj0
= 0 ;
28633 char *kwnames
[] = {
28634 (char *) "self", NULL
28637 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetValidator",kwnames
,&obj0
)) goto fail
;
28638 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28639 if (SWIG_arg_fail(1)) SWIG_fail
;
28641 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28642 result
= (wxValidator
*)(arg1
)->GetValidator();
28644 wxPyEndAllowThreads(__tstate
);
28645 if (PyErr_Occurred()) SWIG_fail
;
28648 resultobj
= wxPyMake_wxObject(result
, 0);
28656 static PyObject
*_wrap_Window_Validate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28657 PyObject
*resultobj
;
28658 wxWindow
*arg1
= (wxWindow
*) 0 ;
28660 PyObject
* obj0
= 0 ;
28661 char *kwnames
[] = {
28662 (char *) "self", NULL
28665 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Validate",kwnames
,&obj0
)) goto fail
;
28666 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28667 if (SWIG_arg_fail(1)) SWIG_fail
;
28669 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28670 result
= (bool)(arg1
)->Validate();
28672 wxPyEndAllowThreads(__tstate
);
28673 if (PyErr_Occurred()) SWIG_fail
;
28676 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28684 static PyObject
*_wrap_Window_TransferDataToWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28685 PyObject
*resultobj
;
28686 wxWindow
*arg1
= (wxWindow
*) 0 ;
28688 PyObject
* obj0
= 0 ;
28689 char *kwnames
[] = {
28690 (char *) "self", NULL
28693 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_TransferDataToWindow",kwnames
,&obj0
)) goto fail
;
28694 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28695 if (SWIG_arg_fail(1)) SWIG_fail
;
28697 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28698 result
= (bool)(arg1
)->TransferDataToWindow();
28700 wxPyEndAllowThreads(__tstate
);
28701 if (PyErr_Occurred()) SWIG_fail
;
28704 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28712 static PyObject
*_wrap_Window_TransferDataFromWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28713 PyObject
*resultobj
;
28714 wxWindow
*arg1
= (wxWindow
*) 0 ;
28716 PyObject
* obj0
= 0 ;
28717 char *kwnames
[] = {
28718 (char *) "self", NULL
28721 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_TransferDataFromWindow",kwnames
,&obj0
)) goto fail
;
28722 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28723 if (SWIG_arg_fail(1)) SWIG_fail
;
28725 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28726 result
= (bool)(arg1
)->TransferDataFromWindow();
28728 wxPyEndAllowThreads(__tstate
);
28729 if (PyErr_Occurred()) SWIG_fail
;
28732 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28740 static PyObject
*_wrap_Window_InitDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28741 PyObject
*resultobj
;
28742 wxWindow
*arg1
= (wxWindow
*) 0 ;
28743 PyObject
* obj0
= 0 ;
28744 char *kwnames
[] = {
28745 (char *) "self", NULL
28748 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_InitDialog",kwnames
,&obj0
)) goto fail
;
28749 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28750 if (SWIG_arg_fail(1)) SWIG_fail
;
28752 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28753 (arg1
)->InitDialog();
28755 wxPyEndAllowThreads(__tstate
);
28756 if (PyErr_Occurred()) SWIG_fail
;
28758 Py_INCREF(Py_None
); resultobj
= Py_None
;
28765 static PyObject
*_wrap_Window_SetAcceleratorTable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28766 PyObject
*resultobj
;
28767 wxWindow
*arg1
= (wxWindow
*) 0 ;
28768 wxAcceleratorTable
*arg2
= 0 ;
28769 PyObject
* obj0
= 0 ;
28770 PyObject
* obj1
= 0 ;
28771 char *kwnames
[] = {
28772 (char *) "self",(char *) "accel", NULL
28775 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetAcceleratorTable",kwnames
,&obj0
,&obj1
)) goto fail
;
28776 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28777 if (SWIG_arg_fail(1)) SWIG_fail
;
28779 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxAcceleratorTable
, SWIG_POINTER_EXCEPTION
| 0);
28780 if (SWIG_arg_fail(2)) SWIG_fail
;
28781 if (arg2
== NULL
) {
28782 SWIG_null_ref("wxAcceleratorTable");
28784 if (SWIG_arg_fail(2)) SWIG_fail
;
28787 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28788 (arg1
)->SetAcceleratorTable((wxAcceleratorTable
const &)*arg2
);
28790 wxPyEndAllowThreads(__tstate
);
28791 if (PyErr_Occurred()) SWIG_fail
;
28793 Py_INCREF(Py_None
); resultobj
= Py_None
;
28800 static PyObject
*_wrap_Window_GetAcceleratorTable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28801 PyObject
*resultobj
;
28802 wxWindow
*arg1
= (wxWindow
*) 0 ;
28803 wxAcceleratorTable
*result
;
28804 PyObject
* obj0
= 0 ;
28805 char *kwnames
[] = {
28806 (char *) "self", NULL
28809 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetAcceleratorTable",kwnames
,&obj0
)) goto fail
;
28810 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28811 if (SWIG_arg_fail(1)) SWIG_fail
;
28813 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28814 result
= (wxAcceleratorTable
*)(arg1
)->GetAcceleratorTable();
28816 wxPyEndAllowThreads(__tstate
);
28817 if (PyErr_Occurred()) SWIG_fail
;
28819 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxAcceleratorTable
, 0);
28826 static PyObject
*_wrap_Window_RegisterHotKey(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28827 PyObject
*resultobj
;
28828 wxWindow
*arg1
= (wxWindow
*) 0 ;
28833 PyObject
* obj0
= 0 ;
28834 PyObject
* obj1
= 0 ;
28835 PyObject
* obj2
= 0 ;
28836 PyObject
* obj3
= 0 ;
28837 char *kwnames
[] = {
28838 (char *) "self",(char *) "hotkeyId",(char *) "modifiers",(char *) "keycode", NULL
28841 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Window_RegisterHotKey",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
28842 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28843 if (SWIG_arg_fail(1)) SWIG_fail
;
28845 arg2
= (int)(SWIG_As_int(obj1
));
28846 if (SWIG_arg_fail(2)) SWIG_fail
;
28849 arg3
= (int)(SWIG_As_int(obj2
));
28850 if (SWIG_arg_fail(3)) SWIG_fail
;
28853 arg4
= (int)(SWIG_As_int(obj3
));
28854 if (SWIG_arg_fail(4)) SWIG_fail
;
28857 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28858 result
= (bool)wxWindow_RegisterHotKey(arg1
,arg2
,arg3
,arg4
);
28860 wxPyEndAllowThreads(__tstate
);
28861 if (PyErr_Occurred()) SWIG_fail
;
28864 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28872 static PyObject
*_wrap_Window_UnregisterHotKey(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28873 PyObject
*resultobj
;
28874 wxWindow
*arg1
= (wxWindow
*) 0 ;
28877 PyObject
* obj0
= 0 ;
28878 PyObject
* obj1
= 0 ;
28879 char *kwnames
[] = {
28880 (char *) "self",(char *) "hotkeyId", NULL
28883 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_UnregisterHotKey",kwnames
,&obj0
,&obj1
)) goto fail
;
28884 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28885 if (SWIG_arg_fail(1)) SWIG_fail
;
28887 arg2
= (int)(SWIG_As_int(obj1
));
28888 if (SWIG_arg_fail(2)) SWIG_fail
;
28891 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28892 result
= (bool)wxWindow_UnregisterHotKey(arg1
,arg2
);
28894 wxPyEndAllowThreads(__tstate
);
28895 if (PyErr_Occurred()) SWIG_fail
;
28898 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28906 static PyObject
*_wrap_Window_ConvertDialogPointToPixels(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28907 PyObject
*resultobj
;
28908 wxWindow
*arg1
= (wxWindow
*) 0 ;
28909 wxPoint
*arg2
= 0 ;
28912 PyObject
* obj0
= 0 ;
28913 PyObject
* obj1
= 0 ;
28914 char *kwnames
[] = {
28915 (char *) "self",(char *) "pt", NULL
28918 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ConvertDialogPointToPixels",kwnames
,&obj0
,&obj1
)) goto fail
;
28919 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28920 if (SWIG_arg_fail(1)) SWIG_fail
;
28923 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
28926 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28927 result
= (arg1
)->ConvertDialogToPixels((wxPoint
const &)*arg2
);
28929 wxPyEndAllowThreads(__tstate
);
28930 if (PyErr_Occurred()) SWIG_fail
;
28933 wxPoint
* resultptr
;
28934 resultptr
= new wxPoint((wxPoint
&)(result
));
28935 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
28943 static PyObject
*_wrap_Window_ConvertDialogSizeToPixels(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28944 PyObject
*resultobj
;
28945 wxWindow
*arg1
= (wxWindow
*) 0 ;
28949 PyObject
* obj0
= 0 ;
28950 PyObject
* obj1
= 0 ;
28951 char *kwnames
[] = {
28952 (char *) "self",(char *) "sz", NULL
28955 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ConvertDialogSizeToPixels",kwnames
,&obj0
,&obj1
)) goto fail
;
28956 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28957 if (SWIG_arg_fail(1)) SWIG_fail
;
28960 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
28963 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28964 result
= (arg1
)->ConvertDialogToPixels((wxSize
const &)*arg2
);
28966 wxPyEndAllowThreads(__tstate
);
28967 if (PyErr_Occurred()) SWIG_fail
;
28970 wxSize
* resultptr
;
28971 resultptr
= new wxSize((wxSize
&)(result
));
28972 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
28980 static PyObject
*_wrap_Window_DLG_PNT(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28981 PyObject
*resultobj
;
28982 wxWindow
*arg1
= (wxWindow
*) 0 ;
28983 wxPoint
*arg2
= 0 ;
28986 PyObject
* obj0
= 0 ;
28987 PyObject
* obj1
= 0 ;
28988 char *kwnames
[] = {
28989 (char *) "self",(char *) "pt", NULL
28992 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_DLG_PNT",kwnames
,&obj0
,&obj1
)) goto fail
;
28993 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28994 if (SWIG_arg_fail(1)) SWIG_fail
;
28997 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
29000 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29001 result
= (arg1
)->ConvertDialogToPixels((wxPoint
const &)*arg2
);
29003 wxPyEndAllowThreads(__tstate
);
29004 if (PyErr_Occurred()) SWIG_fail
;
29007 wxPoint
* resultptr
;
29008 resultptr
= new wxPoint((wxPoint
&)(result
));
29009 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
29017 static PyObject
*_wrap_Window_DLG_SZE(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29018 PyObject
*resultobj
;
29019 wxWindow
*arg1
= (wxWindow
*) 0 ;
29023 PyObject
* obj0
= 0 ;
29024 PyObject
* obj1
= 0 ;
29025 char *kwnames
[] = {
29026 (char *) "self",(char *) "sz", NULL
29029 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_DLG_SZE",kwnames
,&obj0
,&obj1
)) goto fail
;
29030 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29031 if (SWIG_arg_fail(1)) SWIG_fail
;
29034 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
29037 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29038 result
= (arg1
)->ConvertDialogToPixels((wxSize
const &)*arg2
);
29040 wxPyEndAllowThreads(__tstate
);
29041 if (PyErr_Occurred()) SWIG_fail
;
29044 wxSize
* resultptr
;
29045 resultptr
= new wxSize((wxSize
&)(result
));
29046 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
29054 static PyObject
*_wrap_Window_ConvertPixelPointToDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29055 PyObject
*resultobj
;
29056 wxWindow
*arg1
= (wxWindow
*) 0 ;
29057 wxPoint
*arg2
= 0 ;
29060 PyObject
* obj0
= 0 ;
29061 PyObject
* obj1
= 0 ;
29062 char *kwnames
[] = {
29063 (char *) "self",(char *) "pt", NULL
29066 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ConvertPixelPointToDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
29067 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29068 if (SWIG_arg_fail(1)) SWIG_fail
;
29071 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
29074 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29075 result
= (arg1
)->ConvertPixelsToDialog((wxPoint
const &)*arg2
);
29077 wxPyEndAllowThreads(__tstate
);
29078 if (PyErr_Occurred()) SWIG_fail
;
29081 wxPoint
* resultptr
;
29082 resultptr
= new wxPoint((wxPoint
&)(result
));
29083 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
29091 static PyObject
*_wrap_Window_ConvertPixelSizeToDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29092 PyObject
*resultobj
;
29093 wxWindow
*arg1
= (wxWindow
*) 0 ;
29097 PyObject
* obj0
= 0 ;
29098 PyObject
* obj1
= 0 ;
29099 char *kwnames
[] = {
29100 (char *) "self",(char *) "sz", NULL
29103 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ConvertPixelSizeToDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
29104 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29105 if (SWIG_arg_fail(1)) SWIG_fail
;
29108 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
29111 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29112 result
= (arg1
)->ConvertPixelsToDialog((wxSize
const &)*arg2
);
29114 wxPyEndAllowThreads(__tstate
);
29115 if (PyErr_Occurred()) SWIG_fail
;
29118 wxSize
* resultptr
;
29119 resultptr
= new wxSize((wxSize
&)(result
));
29120 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
29128 static PyObject
*_wrap_Window_WarpPointer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29129 PyObject
*resultobj
;
29130 wxWindow
*arg1
= (wxWindow
*) 0 ;
29133 PyObject
* obj0
= 0 ;
29134 PyObject
* obj1
= 0 ;
29135 PyObject
* obj2
= 0 ;
29136 char *kwnames
[] = {
29137 (char *) "self",(char *) "x",(char *) "y", NULL
29140 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_WarpPointer",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29141 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29142 if (SWIG_arg_fail(1)) SWIG_fail
;
29144 arg2
= (int)(SWIG_As_int(obj1
));
29145 if (SWIG_arg_fail(2)) SWIG_fail
;
29148 arg3
= (int)(SWIG_As_int(obj2
));
29149 if (SWIG_arg_fail(3)) SWIG_fail
;
29152 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29153 (arg1
)->WarpPointer(arg2
,arg3
);
29155 wxPyEndAllowThreads(__tstate
);
29156 if (PyErr_Occurred()) SWIG_fail
;
29158 Py_INCREF(Py_None
); resultobj
= Py_None
;
29165 static PyObject
*_wrap_Window_CaptureMouse(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29166 PyObject
*resultobj
;
29167 wxWindow
*arg1
= (wxWindow
*) 0 ;
29168 PyObject
* obj0
= 0 ;
29169 char *kwnames
[] = {
29170 (char *) "self", NULL
29173 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_CaptureMouse",kwnames
,&obj0
)) goto fail
;
29174 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29175 if (SWIG_arg_fail(1)) SWIG_fail
;
29177 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29178 (arg1
)->CaptureMouse();
29180 wxPyEndAllowThreads(__tstate
);
29181 if (PyErr_Occurred()) SWIG_fail
;
29183 Py_INCREF(Py_None
); resultobj
= Py_None
;
29190 static PyObject
*_wrap_Window_ReleaseMouse(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29191 PyObject
*resultobj
;
29192 wxWindow
*arg1
= (wxWindow
*) 0 ;
29193 PyObject
* obj0
= 0 ;
29194 char *kwnames
[] = {
29195 (char *) "self", NULL
29198 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_ReleaseMouse",kwnames
,&obj0
)) goto fail
;
29199 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29200 if (SWIG_arg_fail(1)) SWIG_fail
;
29202 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29203 (arg1
)->ReleaseMouse();
29205 wxPyEndAllowThreads(__tstate
);
29206 if (PyErr_Occurred()) SWIG_fail
;
29208 Py_INCREF(Py_None
); resultobj
= Py_None
;
29215 static PyObject
*_wrap_Window_GetCapture(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29216 PyObject
*resultobj
;
29218 char *kwnames
[] = {
29222 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Window_GetCapture",kwnames
)) goto fail
;
29224 if (!wxPyCheckForApp()) SWIG_fail
;
29225 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29226 result
= (wxWindow
*)wxWindow::GetCapture();
29228 wxPyEndAllowThreads(__tstate
);
29229 if (PyErr_Occurred()) SWIG_fail
;
29232 resultobj
= wxPyMake_wxObject(result
, 0);
29240 static PyObject
*_wrap_Window_HasCapture(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29241 PyObject
*resultobj
;
29242 wxWindow
*arg1
= (wxWindow
*) 0 ;
29244 PyObject
* obj0
= 0 ;
29245 char *kwnames
[] = {
29246 (char *) "self", NULL
29249 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_HasCapture",kwnames
,&obj0
)) goto fail
;
29250 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29251 if (SWIG_arg_fail(1)) SWIG_fail
;
29253 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29254 result
= (bool)((wxWindow
const *)arg1
)->HasCapture();
29256 wxPyEndAllowThreads(__tstate
);
29257 if (PyErr_Occurred()) SWIG_fail
;
29260 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29268 static PyObject
*_wrap_Window_Refresh(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29269 PyObject
*resultobj
;
29270 wxWindow
*arg1
= (wxWindow
*) 0 ;
29271 bool arg2
= (bool) true ;
29272 wxRect
*arg3
= (wxRect
*) NULL
;
29273 PyObject
* obj0
= 0 ;
29274 PyObject
* obj1
= 0 ;
29275 PyObject
* obj2
= 0 ;
29276 char *kwnames
[] = {
29277 (char *) "self",(char *) "eraseBackground",(char *) "rect", NULL
29280 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Window_Refresh",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29281 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29282 if (SWIG_arg_fail(1)) SWIG_fail
;
29285 arg2
= (bool)(SWIG_As_bool(obj1
));
29286 if (SWIG_arg_fail(2)) SWIG_fail
;
29290 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
29291 if (SWIG_arg_fail(3)) SWIG_fail
;
29294 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29295 (arg1
)->Refresh(arg2
,(wxRect
const *)arg3
);
29297 wxPyEndAllowThreads(__tstate
);
29298 if (PyErr_Occurred()) SWIG_fail
;
29300 Py_INCREF(Py_None
); resultobj
= Py_None
;
29307 static PyObject
*_wrap_Window_RefreshRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29308 PyObject
*resultobj
;
29309 wxWindow
*arg1
= (wxWindow
*) 0 ;
29311 bool arg3
= (bool) true ;
29313 PyObject
* obj0
= 0 ;
29314 PyObject
* obj1
= 0 ;
29315 PyObject
* obj2
= 0 ;
29316 char *kwnames
[] = {
29317 (char *) "self",(char *) "rect",(char *) "eraseBackground", NULL
29320 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_RefreshRect",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29321 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29322 if (SWIG_arg_fail(1)) SWIG_fail
;
29325 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
29329 arg3
= (bool)(SWIG_As_bool(obj2
));
29330 if (SWIG_arg_fail(3)) SWIG_fail
;
29334 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29335 (arg1
)->RefreshRect((wxRect
const &)*arg2
,arg3
);
29337 wxPyEndAllowThreads(__tstate
);
29338 if (PyErr_Occurred()) SWIG_fail
;
29340 Py_INCREF(Py_None
); resultobj
= Py_None
;
29347 static PyObject
*_wrap_Window_Update(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29348 PyObject
*resultobj
;
29349 wxWindow
*arg1
= (wxWindow
*) 0 ;
29350 PyObject
* obj0
= 0 ;
29351 char *kwnames
[] = {
29352 (char *) "self", NULL
29355 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Update",kwnames
,&obj0
)) goto fail
;
29356 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29357 if (SWIG_arg_fail(1)) SWIG_fail
;
29359 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29362 wxPyEndAllowThreads(__tstate
);
29363 if (PyErr_Occurred()) SWIG_fail
;
29365 Py_INCREF(Py_None
); resultobj
= Py_None
;
29372 static PyObject
*_wrap_Window_ClearBackground(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29373 PyObject
*resultobj
;
29374 wxWindow
*arg1
= (wxWindow
*) 0 ;
29375 PyObject
* obj0
= 0 ;
29376 char *kwnames
[] = {
29377 (char *) "self", NULL
29380 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_ClearBackground",kwnames
,&obj0
)) goto fail
;
29381 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29382 if (SWIG_arg_fail(1)) SWIG_fail
;
29384 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29385 (arg1
)->ClearBackground();
29387 wxPyEndAllowThreads(__tstate
);
29388 if (PyErr_Occurred()) SWIG_fail
;
29390 Py_INCREF(Py_None
); resultobj
= Py_None
;
29397 static PyObject
*_wrap_Window_Freeze(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29398 PyObject
*resultobj
;
29399 wxWindow
*arg1
= (wxWindow
*) 0 ;
29400 PyObject
* obj0
= 0 ;
29401 char *kwnames
[] = {
29402 (char *) "self", NULL
29405 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Freeze",kwnames
,&obj0
)) goto fail
;
29406 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29407 if (SWIG_arg_fail(1)) SWIG_fail
;
29409 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29412 wxPyEndAllowThreads(__tstate
);
29413 if (PyErr_Occurred()) SWIG_fail
;
29415 Py_INCREF(Py_None
); resultobj
= Py_None
;
29422 static PyObject
*_wrap_Window_Thaw(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29423 PyObject
*resultobj
;
29424 wxWindow
*arg1
= (wxWindow
*) 0 ;
29425 PyObject
* obj0
= 0 ;
29426 char *kwnames
[] = {
29427 (char *) "self", NULL
29430 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Thaw",kwnames
,&obj0
)) goto fail
;
29431 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29432 if (SWIG_arg_fail(1)) SWIG_fail
;
29434 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29437 wxPyEndAllowThreads(__tstate
);
29438 if (PyErr_Occurred()) SWIG_fail
;
29440 Py_INCREF(Py_None
); resultobj
= Py_None
;
29447 static PyObject
*_wrap_Window_PrepareDC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29448 PyObject
*resultobj
;
29449 wxWindow
*arg1
= (wxWindow
*) 0 ;
29451 PyObject
* obj0
= 0 ;
29452 PyObject
* obj1
= 0 ;
29453 char *kwnames
[] = {
29454 (char *) "self",(char *) "dc", NULL
29457 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_PrepareDC",kwnames
,&obj0
,&obj1
)) goto fail
;
29458 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29459 if (SWIG_arg_fail(1)) SWIG_fail
;
29461 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
29462 if (SWIG_arg_fail(2)) SWIG_fail
;
29463 if (arg2
== NULL
) {
29464 SWIG_null_ref("wxDC");
29466 if (SWIG_arg_fail(2)) SWIG_fail
;
29469 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29470 (arg1
)->PrepareDC(*arg2
);
29472 wxPyEndAllowThreads(__tstate
);
29473 if (PyErr_Occurred()) SWIG_fail
;
29475 Py_INCREF(Py_None
); resultobj
= Py_None
;
29482 static PyObject
*_wrap_Window_GetUpdateRegion(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29483 PyObject
*resultobj
;
29484 wxWindow
*arg1
= (wxWindow
*) 0 ;
29486 PyObject
* obj0
= 0 ;
29487 char *kwnames
[] = {
29488 (char *) "self", NULL
29491 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetUpdateRegion",kwnames
,&obj0
)) goto fail
;
29492 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29493 if (SWIG_arg_fail(1)) SWIG_fail
;
29495 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29497 wxRegion
&_result_ref
= (arg1
)->GetUpdateRegion();
29498 result
= (wxRegion
*) &_result_ref
;
29501 wxPyEndAllowThreads(__tstate
);
29502 if (PyErr_Occurred()) SWIG_fail
;
29504 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRegion
, 0);
29511 static PyObject
*_wrap_Window_GetUpdateClientRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29512 PyObject
*resultobj
;
29513 wxWindow
*arg1
= (wxWindow
*) 0 ;
29515 PyObject
* obj0
= 0 ;
29516 char *kwnames
[] = {
29517 (char *) "self", NULL
29520 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetUpdateClientRect",kwnames
,&obj0
)) goto fail
;
29521 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29522 if (SWIG_arg_fail(1)) SWIG_fail
;
29524 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29525 result
= ((wxWindow
const *)arg1
)->GetUpdateClientRect();
29527 wxPyEndAllowThreads(__tstate
);
29528 if (PyErr_Occurred()) SWIG_fail
;
29531 wxRect
* resultptr
;
29532 resultptr
= new wxRect((wxRect
&)(result
));
29533 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
29541 static PyObject
*_wrap_Window_IsExposed(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29542 PyObject
*resultobj
;
29543 wxWindow
*arg1
= (wxWindow
*) 0 ;
29546 int arg4
= (int) 1 ;
29547 int arg5
= (int) 1 ;
29549 PyObject
* obj0
= 0 ;
29550 PyObject
* obj1
= 0 ;
29551 PyObject
* obj2
= 0 ;
29552 PyObject
* obj3
= 0 ;
29553 PyObject
* obj4
= 0 ;
29554 char *kwnames
[] = {
29555 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
29558 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:Window_IsExposed",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
29559 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29560 if (SWIG_arg_fail(1)) SWIG_fail
;
29562 arg2
= (int)(SWIG_As_int(obj1
));
29563 if (SWIG_arg_fail(2)) SWIG_fail
;
29566 arg3
= (int)(SWIG_As_int(obj2
));
29567 if (SWIG_arg_fail(3)) SWIG_fail
;
29571 arg4
= (int)(SWIG_As_int(obj3
));
29572 if (SWIG_arg_fail(4)) SWIG_fail
;
29577 arg5
= (int)(SWIG_As_int(obj4
));
29578 if (SWIG_arg_fail(5)) SWIG_fail
;
29582 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29583 result
= (bool)((wxWindow
const *)arg1
)->IsExposed(arg2
,arg3
,arg4
,arg5
);
29585 wxPyEndAllowThreads(__tstate
);
29586 if (PyErr_Occurred()) SWIG_fail
;
29589 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29597 static PyObject
*_wrap_Window_IsExposedPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29598 PyObject
*resultobj
;
29599 wxWindow
*arg1
= (wxWindow
*) 0 ;
29600 wxPoint
*arg2
= 0 ;
29603 PyObject
* obj0
= 0 ;
29604 PyObject
* obj1
= 0 ;
29605 char *kwnames
[] = {
29606 (char *) "self",(char *) "pt", NULL
29609 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_IsExposedPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
29610 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29611 if (SWIG_arg_fail(1)) SWIG_fail
;
29614 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
29617 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29618 result
= (bool)((wxWindow
const *)arg1
)->IsExposed((wxPoint
const &)*arg2
);
29620 wxPyEndAllowThreads(__tstate
);
29621 if (PyErr_Occurred()) SWIG_fail
;
29624 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29632 static PyObject
*_wrap_Window_IsExposedRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29633 PyObject
*resultobj
;
29634 wxWindow
*arg1
= (wxWindow
*) 0 ;
29638 PyObject
* obj0
= 0 ;
29639 PyObject
* obj1
= 0 ;
29640 char *kwnames
[] = {
29641 (char *) "self",(char *) "rect", NULL
29644 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_IsExposedRect",kwnames
,&obj0
,&obj1
)) goto fail
;
29645 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29646 if (SWIG_arg_fail(1)) SWIG_fail
;
29649 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
29652 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29653 result
= (bool)((wxWindow
const *)arg1
)->IsExposed((wxRect
const &)*arg2
);
29655 wxPyEndAllowThreads(__tstate
);
29656 if (PyErr_Occurred()) SWIG_fail
;
29659 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29667 static PyObject
*_wrap_Window_GetDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29668 PyObject
*resultobj
;
29669 wxWindow
*arg1
= (wxWindow
*) 0 ;
29670 wxVisualAttributes result
;
29671 PyObject
* obj0
= 0 ;
29672 char *kwnames
[] = {
29673 (char *) "self", NULL
29676 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetDefaultAttributes",kwnames
,&obj0
)) goto fail
;
29677 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29678 if (SWIG_arg_fail(1)) SWIG_fail
;
29680 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29681 result
= ((wxWindow
const *)arg1
)->GetDefaultAttributes();
29683 wxPyEndAllowThreads(__tstate
);
29684 if (PyErr_Occurred()) SWIG_fail
;
29687 wxVisualAttributes
* resultptr
;
29688 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
29689 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
29697 static PyObject
*_wrap_Window_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29698 PyObject
*resultobj
;
29699 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
29700 wxVisualAttributes result
;
29701 PyObject
* obj0
= 0 ;
29702 char *kwnames
[] = {
29703 (char *) "variant", NULL
29706 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Window_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
29709 arg1
= (wxWindowVariant
)(SWIG_As_int(obj0
));
29710 if (SWIG_arg_fail(1)) SWIG_fail
;
29714 if (!wxPyCheckForApp()) SWIG_fail
;
29715 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29716 result
= wxWindow::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
29718 wxPyEndAllowThreads(__tstate
);
29719 if (PyErr_Occurred()) SWIG_fail
;
29722 wxVisualAttributes
* resultptr
;
29723 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
29724 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
29732 static PyObject
*_wrap_Window_SetBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29733 PyObject
*resultobj
;
29734 wxWindow
*arg1
= (wxWindow
*) 0 ;
29735 wxColour
*arg2
= 0 ;
29738 PyObject
* obj0
= 0 ;
29739 PyObject
* obj1
= 0 ;
29740 char *kwnames
[] = {
29741 (char *) "self",(char *) "colour", NULL
29744 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
29745 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29746 if (SWIG_arg_fail(1)) SWIG_fail
;
29749 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
29752 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29753 result
= (bool)(arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
29755 wxPyEndAllowThreads(__tstate
);
29756 if (PyErr_Occurred()) SWIG_fail
;
29759 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29767 static PyObject
*_wrap_Window_SetOwnBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29768 PyObject
*resultobj
;
29769 wxWindow
*arg1
= (wxWindow
*) 0 ;
29770 wxColour
*arg2
= 0 ;
29772 PyObject
* obj0
= 0 ;
29773 PyObject
* obj1
= 0 ;
29774 char *kwnames
[] = {
29775 (char *) "self",(char *) "colour", NULL
29778 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetOwnBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
29779 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29780 if (SWIG_arg_fail(1)) SWIG_fail
;
29783 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
29786 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29787 (arg1
)->SetOwnBackgroundColour((wxColour
const &)*arg2
);
29789 wxPyEndAllowThreads(__tstate
);
29790 if (PyErr_Occurred()) SWIG_fail
;
29792 Py_INCREF(Py_None
); resultobj
= Py_None
;
29799 static PyObject
*_wrap_Window_SetForegroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29800 PyObject
*resultobj
;
29801 wxWindow
*arg1
= (wxWindow
*) 0 ;
29802 wxColour
*arg2
= 0 ;
29805 PyObject
* obj0
= 0 ;
29806 PyObject
* obj1
= 0 ;
29807 char *kwnames
[] = {
29808 (char *) "self",(char *) "colour", NULL
29811 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetForegroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
29812 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29813 if (SWIG_arg_fail(1)) SWIG_fail
;
29816 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
29819 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29820 result
= (bool)(arg1
)->SetForegroundColour((wxColour
const &)*arg2
);
29822 wxPyEndAllowThreads(__tstate
);
29823 if (PyErr_Occurred()) SWIG_fail
;
29826 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29834 static PyObject
*_wrap_Window_SetOwnForegroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29835 PyObject
*resultobj
;
29836 wxWindow
*arg1
= (wxWindow
*) 0 ;
29837 wxColour
*arg2
= 0 ;
29839 PyObject
* obj0
= 0 ;
29840 PyObject
* obj1
= 0 ;
29841 char *kwnames
[] = {
29842 (char *) "self",(char *) "colour", NULL
29845 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetOwnForegroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
29846 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29847 if (SWIG_arg_fail(1)) SWIG_fail
;
29850 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
29853 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29854 (arg1
)->SetOwnForegroundColour((wxColour
const &)*arg2
);
29856 wxPyEndAllowThreads(__tstate
);
29857 if (PyErr_Occurred()) SWIG_fail
;
29859 Py_INCREF(Py_None
); resultobj
= Py_None
;
29866 static PyObject
*_wrap_Window_GetBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29867 PyObject
*resultobj
;
29868 wxWindow
*arg1
= (wxWindow
*) 0 ;
29870 PyObject
* obj0
= 0 ;
29871 char *kwnames
[] = {
29872 (char *) "self", NULL
29875 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetBackgroundColour",kwnames
,&obj0
)) goto fail
;
29876 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29877 if (SWIG_arg_fail(1)) SWIG_fail
;
29879 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29880 result
= ((wxWindow
const *)arg1
)->GetBackgroundColour();
29882 wxPyEndAllowThreads(__tstate
);
29883 if (PyErr_Occurred()) SWIG_fail
;
29886 wxColour
* resultptr
;
29887 resultptr
= new wxColour((wxColour
&)(result
));
29888 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
29896 static PyObject
*_wrap_Window_GetForegroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29897 PyObject
*resultobj
;
29898 wxWindow
*arg1
= (wxWindow
*) 0 ;
29900 PyObject
* obj0
= 0 ;
29901 char *kwnames
[] = {
29902 (char *) "self", NULL
29905 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetForegroundColour",kwnames
,&obj0
)) goto fail
;
29906 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29907 if (SWIG_arg_fail(1)) SWIG_fail
;
29909 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29910 result
= ((wxWindow
const *)arg1
)->GetForegroundColour();
29912 wxPyEndAllowThreads(__tstate
);
29913 if (PyErr_Occurred()) SWIG_fail
;
29916 wxColour
* resultptr
;
29917 resultptr
= new wxColour((wxColour
&)(result
));
29918 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
29926 static PyObject
*_wrap_Window_InheritsBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29927 PyObject
*resultobj
;
29928 wxWindow
*arg1
= (wxWindow
*) 0 ;
29930 PyObject
* obj0
= 0 ;
29931 char *kwnames
[] = {
29932 (char *) "self", NULL
29935 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_InheritsBackgroundColour",kwnames
,&obj0
)) goto fail
;
29936 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29937 if (SWIG_arg_fail(1)) SWIG_fail
;
29939 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29940 result
= (bool)((wxWindow
const *)arg1
)->InheritsBackgroundColour();
29942 wxPyEndAllowThreads(__tstate
);
29943 if (PyErr_Occurred()) SWIG_fail
;
29946 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29954 static PyObject
*_wrap_Window_UseBgCol(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29955 PyObject
*resultobj
;
29956 wxWindow
*arg1
= (wxWindow
*) 0 ;
29958 PyObject
* obj0
= 0 ;
29959 char *kwnames
[] = {
29960 (char *) "self", NULL
29963 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_UseBgCol",kwnames
,&obj0
)) goto fail
;
29964 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29965 if (SWIG_arg_fail(1)) SWIG_fail
;
29967 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29968 result
= (bool)((wxWindow
const *)arg1
)->UseBgCol();
29970 wxPyEndAllowThreads(__tstate
);
29971 if (PyErr_Occurred()) SWIG_fail
;
29974 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29982 static PyObject
*_wrap_Window_SetBackgroundStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29983 PyObject
*resultobj
;
29984 wxWindow
*arg1
= (wxWindow
*) 0 ;
29985 wxBackgroundStyle arg2
;
29987 PyObject
* obj0
= 0 ;
29988 PyObject
* obj1
= 0 ;
29989 char *kwnames
[] = {
29990 (char *) "self",(char *) "style", NULL
29993 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetBackgroundStyle",kwnames
,&obj0
,&obj1
)) goto fail
;
29994 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29995 if (SWIG_arg_fail(1)) SWIG_fail
;
29997 arg2
= (wxBackgroundStyle
)(SWIG_As_int(obj1
));
29998 if (SWIG_arg_fail(2)) SWIG_fail
;
30001 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30002 result
= (bool)(arg1
)->SetBackgroundStyle((wxBackgroundStyle
)arg2
);
30004 wxPyEndAllowThreads(__tstate
);
30005 if (PyErr_Occurred()) SWIG_fail
;
30008 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30016 static PyObject
*_wrap_Window_GetBackgroundStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30017 PyObject
*resultobj
;
30018 wxWindow
*arg1
= (wxWindow
*) 0 ;
30019 wxBackgroundStyle result
;
30020 PyObject
* obj0
= 0 ;
30021 char *kwnames
[] = {
30022 (char *) "self", NULL
30025 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetBackgroundStyle",kwnames
,&obj0
)) goto fail
;
30026 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30027 if (SWIG_arg_fail(1)) SWIG_fail
;
30029 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30030 result
= (wxBackgroundStyle
)((wxWindow
const *)arg1
)->GetBackgroundStyle();
30032 wxPyEndAllowThreads(__tstate
);
30033 if (PyErr_Occurred()) SWIG_fail
;
30035 resultobj
= SWIG_From_int((result
));
30042 static PyObject
*_wrap_Window_HasTransparentBackground(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30043 PyObject
*resultobj
;
30044 wxWindow
*arg1
= (wxWindow
*) 0 ;
30046 PyObject
* obj0
= 0 ;
30047 char *kwnames
[] = {
30048 (char *) "self", NULL
30051 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_HasTransparentBackground",kwnames
,&obj0
)) goto fail
;
30052 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30053 if (SWIG_arg_fail(1)) SWIG_fail
;
30055 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30056 result
= (bool)(arg1
)->HasTransparentBackground();
30058 wxPyEndAllowThreads(__tstate
);
30059 if (PyErr_Occurred()) SWIG_fail
;
30062 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30070 static PyObject
*_wrap_Window_SetCursor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30071 PyObject
*resultobj
;
30072 wxWindow
*arg1
= (wxWindow
*) 0 ;
30073 wxCursor
*arg2
= 0 ;
30075 PyObject
* obj0
= 0 ;
30076 PyObject
* obj1
= 0 ;
30077 char *kwnames
[] = {
30078 (char *) "self",(char *) "cursor", NULL
30081 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetCursor",kwnames
,&obj0
,&obj1
)) goto fail
;
30082 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30083 if (SWIG_arg_fail(1)) SWIG_fail
;
30085 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxCursor
, SWIG_POINTER_EXCEPTION
| 0);
30086 if (SWIG_arg_fail(2)) SWIG_fail
;
30087 if (arg2
== NULL
) {
30088 SWIG_null_ref("wxCursor");
30090 if (SWIG_arg_fail(2)) SWIG_fail
;
30093 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30094 result
= (bool)(arg1
)->SetCursor((wxCursor
const &)*arg2
);
30096 wxPyEndAllowThreads(__tstate
);
30097 if (PyErr_Occurred()) SWIG_fail
;
30100 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30108 static PyObject
*_wrap_Window_GetCursor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30109 PyObject
*resultobj
;
30110 wxWindow
*arg1
= (wxWindow
*) 0 ;
30112 PyObject
* obj0
= 0 ;
30113 char *kwnames
[] = {
30114 (char *) "self", NULL
30117 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetCursor",kwnames
,&obj0
)) goto fail
;
30118 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30119 if (SWIG_arg_fail(1)) SWIG_fail
;
30121 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30122 result
= (arg1
)->GetCursor();
30124 wxPyEndAllowThreads(__tstate
);
30125 if (PyErr_Occurred()) SWIG_fail
;
30128 wxCursor
* resultptr
;
30129 resultptr
= new wxCursor((wxCursor
&)(result
));
30130 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxCursor
, 1);
30138 static PyObject
*_wrap_Window_SetFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30139 PyObject
*resultobj
;
30140 wxWindow
*arg1
= (wxWindow
*) 0 ;
30143 PyObject
* obj0
= 0 ;
30144 PyObject
* obj1
= 0 ;
30145 char *kwnames
[] = {
30146 (char *) "self",(char *) "font", NULL
30149 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetFont",kwnames
,&obj0
,&obj1
)) goto fail
;
30150 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30151 if (SWIG_arg_fail(1)) SWIG_fail
;
30153 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
30154 if (SWIG_arg_fail(2)) SWIG_fail
;
30155 if (arg2
== NULL
) {
30156 SWIG_null_ref("wxFont");
30158 if (SWIG_arg_fail(2)) SWIG_fail
;
30161 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30162 result
= (bool)(arg1
)->SetFont((wxFont
const &)*arg2
);
30164 wxPyEndAllowThreads(__tstate
);
30165 if (PyErr_Occurred()) SWIG_fail
;
30168 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30176 static PyObject
*_wrap_Window_SetOwnFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30177 PyObject
*resultobj
;
30178 wxWindow
*arg1
= (wxWindow
*) 0 ;
30180 PyObject
* obj0
= 0 ;
30181 PyObject
* obj1
= 0 ;
30182 char *kwnames
[] = {
30183 (char *) "self",(char *) "font", NULL
30186 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetOwnFont",kwnames
,&obj0
,&obj1
)) goto fail
;
30187 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30188 if (SWIG_arg_fail(1)) SWIG_fail
;
30190 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
30191 if (SWIG_arg_fail(2)) SWIG_fail
;
30192 if (arg2
== NULL
) {
30193 SWIG_null_ref("wxFont");
30195 if (SWIG_arg_fail(2)) SWIG_fail
;
30198 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30199 (arg1
)->SetOwnFont((wxFont
const &)*arg2
);
30201 wxPyEndAllowThreads(__tstate
);
30202 if (PyErr_Occurred()) SWIG_fail
;
30204 Py_INCREF(Py_None
); resultobj
= Py_None
;
30211 static PyObject
*_wrap_Window_GetFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30212 PyObject
*resultobj
;
30213 wxWindow
*arg1
= (wxWindow
*) 0 ;
30215 PyObject
* obj0
= 0 ;
30216 char *kwnames
[] = {
30217 (char *) "self", NULL
30220 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetFont",kwnames
,&obj0
)) goto fail
;
30221 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30222 if (SWIG_arg_fail(1)) SWIG_fail
;
30224 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30225 result
= (arg1
)->GetFont();
30227 wxPyEndAllowThreads(__tstate
);
30228 if (PyErr_Occurred()) SWIG_fail
;
30231 wxFont
* resultptr
;
30232 resultptr
= new wxFont((wxFont
&)(result
));
30233 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxFont
, 1);
30241 static PyObject
*_wrap_Window_SetCaret(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30242 PyObject
*resultobj
;
30243 wxWindow
*arg1
= (wxWindow
*) 0 ;
30244 wxCaret
*arg2
= (wxCaret
*) 0 ;
30245 PyObject
* obj0
= 0 ;
30246 PyObject
* obj1
= 0 ;
30247 char *kwnames
[] = {
30248 (char *) "self",(char *) "caret", NULL
30251 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetCaret",kwnames
,&obj0
,&obj1
)) goto fail
;
30252 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30253 if (SWIG_arg_fail(1)) SWIG_fail
;
30254 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxCaret
, SWIG_POINTER_EXCEPTION
| 0);
30255 if (SWIG_arg_fail(2)) SWIG_fail
;
30257 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30258 (arg1
)->SetCaret(arg2
);
30260 wxPyEndAllowThreads(__tstate
);
30261 if (PyErr_Occurred()) SWIG_fail
;
30263 Py_INCREF(Py_None
); resultobj
= Py_None
;
30270 static PyObject
*_wrap_Window_GetCaret(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30271 PyObject
*resultobj
;
30272 wxWindow
*arg1
= (wxWindow
*) 0 ;
30274 PyObject
* obj0
= 0 ;
30275 char *kwnames
[] = {
30276 (char *) "self", NULL
30279 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetCaret",kwnames
,&obj0
)) goto fail
;
30280 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30281 if (SWIG_arg_fail(1)) SWIG_fail
;
30283 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30284 result
= (wxCaret
*)((wxWindow
const *)arg1
)->GetCaret();
30286 wxPyEndAllowThreads(__tstate
);
30287 if (PyErr_Occurred()) SWIG_fail
;
30289 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCaret
, 0);
30296 static PyObject
*_wrap_Window_GetCharHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30297 PyObject
*resultobj
;
30298 wxWindow
*arg1
= (wxWindow
*) 0 ;
30300 PyObject
* obj0
= 0 ;
30301 char *kwnames
[] = {
30302 (char *) "self", NULL
30305 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetCharHeight",kwnames
,&obj0
)) goto fail
;
30306 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30307 if (SWIG_arg_fail(1)) SWIG_fail
;
30309 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30310 result
= (int)((wxWindow
const *)arg1
)->GetCharHeight();
30312 wxPyEndAllowThreads(__tstate
);
30313 if (PyErr_Occurred()) SWIG_fail
;
30316 resultobj
= SWIG_From_int((int)(result
));
30324 static PyObject
*_wrap_Window_GetCharWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30325 PyObject
*resultobj
;
30326 wxWindow
*arg1
= (wxWindow
*) 0 ;
30328 PyObject
* obj0
= 0 ;
30329 char *kwnames
[] = {
30330 (char *) "self", NULL
30333 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetCharWidth",kwnames
,&obj0
)) goto fail
;
30334 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30335 if (SWIG_arg_fail(1)) SWIG_fail
;
30337 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30338 result
= (int)((wxWindow
const *)arg1
)->GetCharWidth();
30340 wxPyEndAllowThreads(__tstate
);
30341 if (PyErr_Occurred()) SWIG_fail
;
30344 resultobj
= SWIG_From_int((int)(result
));
30352 static PyObject
*_wrap_Window_GetTextExtent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30353 PyObject
*resultobj
;
30354 wxWindow
*arg1
= (wxWindow
*) 0 ;
30355 wxString
*arg2
= 0 ;
30356 int *arg3
= (int *) 0 ;
30357 int *arg4
= (int *) 0 ;
30358 bool temp2
= false ;
30363 PyObject
* obj0
= 0 ;
30364 PyObject
* obj1
= 0 ;
30365 char *kwnames
[] = {
30366 (char *) "self",(char *) "string", NULL
30369 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
30370 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
30371 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_GetTextExtent",kwnames
,&obj0
,&obj1
)) goto fail
;
30372 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30373 if (SWIG_arg_fail(1)) SWIG_fail
;
30375 arg2
= wxString_in_helper(obj1
);
30376 if (arg2
== NULL
) SWIG_fail
;
30380 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30381 (arg1
)->GetTextExtent((wxString
const &)*arg2
,arg3
,arg4
);
30383 wxPyEndAllowThreads(__tstate
);
30384 if (PyErr_Occurred()) SWIG_fail
;
30386 Py_INCREF(Py_None
); resultobj
= Py_None
;
30387 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
30388 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
30389 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
30390 SWIG_From_int((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, 0)));
30405 static PyObject
*_wrap_Window_GetFullTextExtent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30406 PyObject
*resultobj
;
30407 wxWindow
*arg1
= (wxWindow
*) 0 ;
30408 wxString
*arg2
= 0 ;
30409 int *arg3
= (int *) 0 ;
30410 int *arg4
= (int *) 0 ;
30411 int *arg5
= (int *) 0 ;
30412 int *arg6
= (int *) 0 ;
30413 wxFont
*arg7
= (wxFont
*) NULL
;
30414 bool temp2
= false ;
30423 PyObject
* obj0
= 0 ;
30424 PyObject
* obj1
= 0 ;
30425 PyObject
* obj2
= 0 ;
30426 char *kwnames
[] = {
30427 (char *) "self",(char *) "string",(char *) "font", NULL
30430 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
30431 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
30432 arg5
= &temp5
; res5
= SWIG_NEWOBJ
;
30433 arg6
= &temp6
; res6
= SWIG_NEWOBJ
;
30434 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_GetFullTextExtent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
30435 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30436 if (SWIG_arg_fail(1)) SWIG_fail
;
30438 arg2
= wxString_in_helper(obj1
);
30439 if (arg2
== NULL
) SWIG_fail
;
30443 SWIG_Python_ConvertPtr(obj2
, (void **)&arg7
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
30444 if (SWIG_arg_fail(7)) SWIG_fail
;
30447 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30448 (arg1
)->GetTextExtent((wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
,(wxFont
const *)arg7
);
30450 wxPyEndAllowThreads(__tstate
);
30451 if (PyErr_Occurred()) SWIG_fail
;
30453 Py_INCREF(Py_None
); resultobj
= Py_None
;
30454 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
30455 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
30456 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
30457 SWIG_From_int((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, 0)));
30458 resultobj
= t_output_helper(resultobj
, ((res5
== SWIG_NEWOBJ
) ?
30459 SWIG_From_int((*arg5
)) : SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, 0)));
30460 resultobj
= t_output_helper(resultobj
, ((res6
== SWIG_NEWOBJ
) ?
30461 SWIG_From_int((*arg6
)) : SWIG_NewPointerObj((void*)(arg6
), SWIGTYPE_p_int
, 0)));
30476 static PyObject
*_wrap_Window_ClientToScreenXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30477 PyObject
*resultobj
;
30478 wxWindow
*arg1
= (wxWindow
*) 0 ;
30479 int *arg2
= (int *) 0 ;
30480 int *arg3
= (int *) 0 ;
30485 PyObject
* obj0
= 0 ;
30486 PyObject
* obj1
= 0 ;
30487 PyObject
* obj2
= 0 ;
30488 char *kwnames
[] = {
30489 (char *) "self",(char *) "x",(char *) "y", NULL
30492 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_ClientToScreenXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
30493 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30494 if (SWIG_arg_fail(1)) SWIG_fail
;
30496 if (!(SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_int
,0) != -1)) {
30497 temp2
= SWIG_As_int(obj1
);
30498 if (SWIG_arg_fail(2)) SWIG_fail
;
30500 res2
= SWIG_NEWOBJ
;
30504 if (!(SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_int
,0) != -1)) {
30505 temp3
= SWIG_As_int(obj2
);
30506 if (SWIG_arg_fail(3)) SWIG_fail
;
30508 res3
= SWIG_NEWOBJ
;
30512 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30513 ((wxWindow
const *)arg1
)->ClientToScreen(arg2
,arg3
);
30515 wxPyEndAllowThreads(__tstate
);
30516 if (PyErr_Occurred()) SWIG_fail
;
30518 Py_INCREF(Py_None
); resultobj
= Py_None
;
30519 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
30520 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
30521 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
30522 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
30529 static PyObject
*_wrap_Window_ScreenToClientXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30530 PyObject
*resultobj
;
30531 wxWindow
*arg1
= (wxWindow
*) 0 ;
30532 int *arg2
= (int *) 0 ;
30533 int *arg3
= (int *) 0 ;
30538 PyObject
* obj0
= 0 ;
30539 PyObject
* obj1
= 0 ;
30540 PyObject
* obj2
= 0 ;
30541 char *kwnames
[] = {
30542 (char *) "self",(char *) "x",(char *) "y", NULL
30545 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_ScreenToClientXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
30546 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30547 if (SWIG_arg_fail(1)) SWIG_fail
;
30549 if (!(SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_int
,0) != -1)) {
30550 temp2
= SWIG_As_int(obj1
);
30551 if (SWIG_arg_fail(2)) SWIG_fail
;
30553 res2
= SWIG_NEWOBJ
;
30557 if (!(SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_int
,0) != -1)) {
30558 temp3
= SWIG_As_int(obj2
);
30559 if (SWIG_arg_fail(3)) SWIG_fail
;
30561 res3
= SWIG_NEWOBJ
;
30565 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30566 ((wxWindow
const *)arg1
)->ScreenToClient(arg2
,arg3
);
30568 wxPyEndAllowThreads(__tstate
);
30569 if (PyErr_Occurred()) SWIG_fail
;
30571 Py_INCREF(Py_None
); resultobj
= Py_None
;
30572 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
30573 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
30574 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
30575 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
30582 static PyObject
*_wrap_Window_ClientToScreen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30583 PyObject
*resultobj
;
30584 wxWindow
*arg1
= (wxWindow
*) 0 ;
30585 wxPoint
*arg2
= 0 ;
30588 PyObject
* obj0
= 0 ;
30589 PyObject
* obj1
= 0 ;
30590 char *kwnames
[] = {
30591 (char *) "self",(char *) "pt", NULL
30594 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ClientToScreen",kwnames
,&obj0
,&obj1
)) goto fail
;
30595 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30596 if (SWIG_arg_fail(1)) SWIG_fail
;
30599 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
30602 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30603 result
= ((wxWindow
const *)arg1
)->ClientToScreen((wxPoint
const &)*arg2
);
30605 wxPyEndAllowThreads(__tstate
);
30606 if (PyErr_Occurred()) SWIG_fail
;
30609 wxPoint
* resultptr
;
30610 resultptr
= new wxPoint((wxPoint
&)(result
));
30611 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
30619 static PyObject
*_wrap_Window_ScreenToClient(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30620 PyObject
*resultobj
;
30621 wxWindow
*arg1
= (wxWindow
*) 0 ;
30622 wxPoint
*arg2
= 0 ;
30625 PyObject
* obj0
= 0 ;
30626 PyObject
* obj1
= 0 ;
30627 char *kwnames
[] = {
30628 (char *) "self",(char *) "pt", NULL
30631 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ScreenToClient",kwnames
,&obj0
,&obj1
)) goto fail
;
30632 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30633 if (SWIG_arg_fail(1)) SWIG_fail
;
30636 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
30639 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30640 result
= ((wxWindow
const *)arg1
)->ScreenToClient((wxPoint
const &)*arg2
);
30642 wxPyEndAllowThreads(__tstate
);
30643 if (PyErr_Occurred()) SWIG_fail
;
30646 wxPoint
* resultptr
;
30647 resultptr
= new wxPoint((wxPoint
&)(result
));
30648 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
30656 static PyObject
*_wrap_Window_HitTestXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30657 PyObject
*resultobj
;
30658 wxWindow
*arg1
= (wxWindow
*) 0 ;
30662 PyObject
* obj0
= 0 ;
30663 PyObject
* obj1
= 0 ;
30664 PyObject
* obj2
= 0 ;
30665 char *kwnames
[] = {
30666 (char *) "self",(char *) "x",(char *) "y", NULL
30669 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_HitTestXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
30670 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30671 if (SWIG_arg_fail(1)) SWIG_fail
;
30673 arg2
= (int)(SWIG_As_int(obj1
));
30674 if (SWIG_arg_fail(2)) SWIG_fail
;
30677 arg3
= (int)(SWIG_As_int(obj2
));
30678 if (SWIG_arg_fail(3)) SWIG_fail
;
30681 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30682 result
= (wxHitTest
)((wxWindow
const *)arg1
)->HitTest(arg2
,arg3
);
30684 wxPyEndAllowThreads(__tstate
);
30685 if (PyErr_Occurred()) SWIG_fail
;
30687 resultobj
= SWIG_From_int((result
));
30694 static PyObject
*_wrap_Window_HitTest(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30695 PyObject
*resultobj
;
30696 wxWindow
*arg1
= (wxWindow
*) 0 ;
30697 wxPoint
*arg2
= 0 ;
30700 PyObject
* obj0
= 0 ;
30701 PyObject
* obj1
= 0 ;
30702 char *kwnames
[] = {
30703 (char *) "self",(char *) "pt", NULL
30706 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
30707 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30708 if (SWIG_arg_fail(1)) SWIG_fail
;
30711 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
30714 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30715 result
= (wxHitTest
)((wxWindow
const *)arg1
)->HitTest((wxPoint
const &)*arg2
);
30717 wxPyEndAllowThreads(__tstate
);
30718 if (PyErr_Occurred()) SWIG_fail
;
30720 resultobj
= SWIG_From_int((result
));
30727 static PyObject
*_wrap_Window_GetBorder__SWIG_0(PyObject
*, PyObject
*args
) {
30728 PyObject
*resultobj
;
30729 wxWindow
*arg1
= (wxWindow
*) 0 ;
30732 PyObject
* obj0
= 0 ;
30733 PyObject
* obj1
= 0 ;
30735 if(!PyArg_ParseTuple(args
,(char *)"OO:Window_GetBorder",&obj0
,&obj1
)) goto fail
;
30736 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30737 if (SWIG_arg_fail(1)) SWIG_fail
;
30739 arg2
= (long)(SWIG_As_long(obj1
));
30740 if (SWIG_arg_fail(2)) SWIG_fail
;
30743 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30744 result
= (wxBorder
)((wxWindow
const *)arg1
)->GetBorder(arg2
);
30746 wxPyEndAllowThreads(__tstate
);
30747 if (PyErr_Occurred()) SWIG_fail
;
30749 resultobj
= SWIG_From_int((result
));
30756 static PyObject
*_wrap_Window_GetBorder__SWIG_1(PyObject
*, PyObject
*args
) {
30757 PyObject
*resultobj
;
30758 wxWindow
*arg1
= (wxWindow
*) 0 ;
30760 PyObject
* obj0
= 0 ;
30762 if(!PyArg_ParseTuple(args
,(char *)"O:Window_GetBorder",&obj0
)) goto fail
;
30763 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30764 if (SWIG_arg_fail(1)) SWIG_fail
;
30766 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30767 result
= (wxBorder
)((wxWindow
const *)arg1
)->GetBorder();
30769 wxPyEndAllowThreads(__tstate
);
30770 if (PyErr_Occurred()) SWIG_fail
;
30772 resultobj
= SWIG_From_int((result
));
30779 static PyObject
*_wrap_Window_GetBorder(PyObject
*self
, PyObject
*args
) {
30784 argc
= PyObject_Length(args
);
30785 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
30786 argv
[ii
] = PyTuple_GetItem(args
,ii
);
30792 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
30800 return _wrap_Window_GetBorder__SWIG_1(self
,args
);
30807 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
30815 _v
= SWIG_Check_long(argv
[1]);
30817 return _wrap_Window_GetBorder__SWIG_0(self
,args
);
30822 PyErr_SetString(PyExc_NotImplementedError
,"No matching function for overloaded 'Window_GetBorder'");
30827 static PyObject
*_wrap_Window_UpdateWindowUI(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30828 PyObject
*resultobj
;
30829 wxWindow
*arg1
= (wxWindow
*) 0 ;
30830 long arg2
= (long) wxUPDATE_UI_NONE
;
30831 PyObject
* obj0
= 0 ;
30832 PyObject
* obj1
= 0 ;
30833 char *kwnames
[] = {
30834 (char *) "self",(char *) "flags", NULL
30837 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_UpdateWindowUI",kwnames
,&obj0
,&obj1
)) goto fail
;
30838 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30839 if (SWIG_arg_fail(1)) SWIG_fail
;
30842 arg2
= (long)(SWIG_As_long(obj1
));
30843 if (SWIG_arg_fail(2)) SWIG_fail
;
30847 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30848 (arg1
)->UpdateWindowUI(arg2
);
30850 wxPyEndAllowThreads(__tstate
);
30851 if (PyErr_Occurred()) SWIG_fail
;
30853 Py_INCREF(Py_None
); resultobj
= Py_None
;
30860 static PyObject
*_wrap_Window_PopupMenuXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30861 PyObject
*resultobj
;
30862 wxWindow
*arg1
= (wxWindow
*) 0 ;
30863 wxMenu
*arg2
= (wxMenu
*) 0 ;
30864 int arg3
= (int) -1 ;
30865 int arg4
= (int) -1 ;
30867 PyObject
* obj0
= 0 ;
30868 PyObject
* obj1
= 0 ;
30869 PyObject
* obj2
= 0 ;
30870 PyObject
* obj3
= 0 ;
30871 char *kwnames
[] = {
30872 (char *) "self",(char *) "menu",(char *) "x",(char *) "y", NULL
30875 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:Window_PopupMenuXY",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
30876 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30877 if (SWIG_arg_fail(1)) SWIG_fail
;
30878 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
30879 if (SWIG_arg_fail(2)) SWIG_fail
;
30882 arg3
= (int)(SWIG_As_int(obj2
));
30883 if (SWIG_arg_fail(3)) SWIG_fail
;
30888 arg4
= (int)(SWIG_As_int(obj3
));
30889 if (SWIG_arg_fail(4)) SWIG_fail
;
30893 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30894 result
= (bool)(arg1
)->PopupMenu(arg2
,arg3
,arg4
);
30896 wxPyEndAllowThreads(__tstate
);
30897 if (PyErr_Occurred()) SWIG_fail
;
30900 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30908 static PyObject
*_wrap_Window_PopupMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30909 PyObject
*resultobj
;
30910 wxWindow
*arg1
= (wxWindow
*) 0 ;
30911 wxMenu
*arg2
= (wxMenu
*) 0 ;
30912 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
30913 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
30916 PyObject
* obj0
= 0 ;
30917 PyObject
* obj1
= 0 ;
30918 PyObject
* obj2
= 0 ;
30919 char *kwnames
[] = {
30920 (char *) "self",(char *) "menu",(char *) "pos", NULL
30923 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_PopupMenu",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
30924 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30925 if (SWIG_arg_fail(1)) SWIG_fail
;
30926 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
30927 if (SWIG_arg_fail(2)) SWIG_fail
;
30931 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
30935 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30936 result
= (bool)(arg1
)->PopupMenu(arg2
,(wxPoint
const &)*arg3
);
30938 wxPyEndAllowThreads(__tstate
);
30939 if (PyErr_Occurred()) SWIG_fail
;
30942 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30950 static PyObject
*_wrap_Window_GetHandle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30951 PyObject
*resultobj
;
30952 wxWindow
*arg1
= (wxWindow
*) 0 ;
30954 PyObject
* obj0
= 0 ;
30955 char *kwnames
[] = {
30956 (char *) "self", NULL
30959 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetHandle",kwnames
,&obj0
)) goto fail
;
30960 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30961 if (SWIG_arg_fail(1)) SWIG_fail
;
30963 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30964 result
= (long)wxWindow_GetHandle(arg1
);
30966 wxPyEndAllowThreads(__tstate
);
30967 if (PyErr_Occurred()) SWIG_fail
;
30970 resultobj
= SWIG_From_long((long)(result
));
30978 static PyObject
*_wrap_Window_AssociateHandle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30979 PyObject
*resultobj
;
30980 wxWindow
*arg1
= (wxWindow
*) 0 ;
30982 PyObject
* obj0
= 0 ;
30983 PyObject
* obj1
= 0 ;
30984 char *kwnames
[] = {
30985 (char *) "self",(char *) "handle", NULL
30988 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_AssociateHandle",kwnames
,&obj0
,&obj1
)) goto fail
;
30989 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30990 if (SWIG_arg_fail(1)) SWIG_fail
;
30992 arg2
= (long)(SWIG_As_long(obj1
));
30993 if (SWIG_arg_fail(2)) SWIG_fail
;
30996 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30997 wxWindow_AssociateHandle(arg1
,arg2
);
30999 wxPyEndAllowThreads(__tstate
);
31000 if (PyErr_Occurred()) SWIG_fail
;
31002 Py_INCREF(Py_None
); resultobj
= Py_None
;
31009 static PyObject
*_wrap_Window_DissociateHandle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31010 PyObject
*resultobj
;
31011 wxWindow
*arg1
= (wxWindow
*) 0 ;
31012 PyObject
* obj0
= 0 ;
31013 char *kwnames
[] = {
31014 (char *) "self", NULL
31017 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_DissociateHandle",kwnames
,&obj0
)) goto fail
;
31018 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31019 if (SWIG_arg_fail(1)) SWIG_fail
;
31021 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31022 (arg1
)->DissociateHandle();
31024 wxPyEndAllowThreads(__tstate
);
31025 if (PyErr_Occurred()) SWIG_fail
;
31027 Py_INCREF(Py_None
); resultobj
= Py_None
;
31034 static PyObject
*_wrap_Window_OnPaint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31035 PyObject
*resultobj
;
31036 wxWindow
*arg1
= (wxWindow
*) 0 ;
31037 wxPaintEvent
*arg2
= 0 ;
31038 PyObject
* obj0
= 0 ;
31039 PyObject
* obj1
= 0 ;
31040 char *kwnames
[] = {
31041 (char *) "self",(char *) "event", NULL
31044 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_OnPaint",kwnames
,&obj0
,&obj1
)) goto fail
;
31045 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31046 if (SWIG_arg_fail(1)) SWIG_fail
;
31048 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPaintEvent
, SWIG_POINTER_EXCEPTION
| 0);
31049 if (SWIG_arg_fail(2)) SWIG_fail
;
31050 if (arg2
== NULL
) {
31051 SWIG_null_ref("wxPaintEvent");
31053 if (SWIG_arg_fail(2)) SWIG_fail
;
31056 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31057 (arg1
)->OnPaint(*arg2
);
31059 wxPyEndAllowThreads(__tstate
);
31060 if (PyErr_Occurred()) SWIG_fail
;
31062 Py_INCREF(Py_None
); resultobj
= Py_None
;
31069 static PyObject
*_wrap_Window_HasScrollbar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31070 PyObject
*resultobj
;
31071 wxWindow
*arg1
= (wxWindow
*) 0 ;
31074 PyObject
* obj0
= 0 ;
31075 PyObject
* obj1
= 0 ;
31076 char *kwnames
[] = {
31077 (char *) "self",(char *) "orient", NULL
31080 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_HasScrollbar",kwnames
,&obj0
,&obj1
)) goto fail
;
31081 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31082 if (SWIG_arg_fail(1)) SWIG_fail
;
31084 arg2
= (int)(SWIG_As_int(obj1
));
31085 if (SWIG_arg_fail(2)) SWIG_fail
;
31088 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31089 result
= (bool)((wxWindow
const *)arg1
)->HasScrollbar(arg2
);
31091 wxPyEndAllowThreads(__tstate
);
31092 if (PyErr_Occurred()) SWIG_fail
;
31095 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31103 static PyObject
*_wrap_Window_SetScrollbar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31104 PyObject
*resultobj
;
31105 wxWindow
*arg1
= (wxWindow
*) 0 ;
31110 bool arg6
= (bool) true ;
31111 PyObject
* obj0
= 0 ;
31112 PyObject
* obj1
= 0 ;
31113 PyObject
* obj2
= 0 ;
31114 PyObject
* obj3
= 0 ;
31115 PyObject
* obj4
= 0 ;
31116 PyObject
* obj5
= 0 ;
31117 char *kwnames
[] = {
31118 (char *) "self",(char *) "orientation",(char *) "position",(char *) "thumbSize",(char *) "range",(char *) "refresh", NULL
31121 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:Window_SetScrollbar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
31122 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31123 if (SWIG_arg_fail(1)) SWIG_fail
;
31125 arg2
= (int)(SWIG_As_int(obj1
));
31126 if (SWIG_arg_fail(2)) SWIG_fail
;
31129 arg3
= (int)(SWIG_As_int(obj2
));
31130 if (SWIG_arg_fail(3)) SWIG_fail
;
31133 arg4
= (int)(SWIG_As_int(obj3
));
31134 if (SWIG_arg_fail(4)) SWIG_fail
;
31137 arg5
= (int)(SWIG_As_int(obj4
));
31138 if (SWIG_arg_fail(5)) SWIG_fail
;
31142 arg6
= (bool)(SWIG_As_bool(obj5
));
31143 if (SWIG_arg_fail(6)) SWIG_fail
;
31147 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31148 (arg1
)->SetScrollbar(arg2
,arg3
,arg4
,arg5
,arg6
);
31150 wxPyEndAllowThreads(__tstate
);
31151 if (PyErr_Occurred()) SWIG_fail
;
31153 Py_INCREF(Py_None
); resultobj
= Py_None
;
31160 static PyObject
*_wrap_Window_SetScrollPos(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31161 PyObject
*resultobj
;
31162 wxWindow
*arg1
= (wxWindow
*) 0 ;
31165 bool arg4
= (bool) true ;
31166 PyObject
* obj0
= 0 ;
31167 PyObject
* obj1
= 0 ;
31168 PyObject
* obj2
= 0 ;
31169 PyObject
* obj3
= 0 ;
31170 char *kwnames
[] = {
31171 (char *) "self",(char *) "orientation",(char *) "pos",(char *) "refresh", NULL
31174 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Window_SetScrollPos",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
31175 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31176 if (SWIG_arg_fail(1)) SWIG_fail
;
31178 arg2
= (int)(SWIG_As_int(obj1
));
31179 if (SWIG_arg_fail(2)) SWIG_fail
;
31182 arg3
= (int)(SWIG_As_int(obj2
));
31183 if (SWIG_arg_fail(3)) SWIG_fail
;
31187 arg4
= (bool)(SWIG_As_bool(obj3
));
31188 if (SWIG_arg_fail(4)) SWIG_fail
;
31192 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31193 (arg1
)->SetScrollPos(arg2
,arg3
,arg4
);
31195 wxPyEndAllowThreads(__tstate
);
31196 if (PyErr_Occurred()) SWIG_fail
;
31198 Py_INCREF(Py_None
); resultobj
= Py_None
;
31205 static PyObject
*_wrap_Window_GetScrollPos(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31206 PyObject
*resultobj
;
31207 wxWindow
*arg1
= (wxWindow
*) 0 ;
31210 PyObject
* obj0
= 0 ;
31211 PyObject
* obj1
= 0 ;
31212 char *kwnames
[] = {
31213 (char *) "self",(char *) "orientation", NULL
31216 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_GetScrollPos",kwnames
,&obj0
,&obj1
)) goto fail
;
31217 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31218 if (SWIG_arg_fail(1)) SWIG_fail
;
31220 arg2
= (int)(SWIG_As_int(obj1
));
31221 if (SWIG_arg_fail(2)) SWIG_fail
;
31224 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31225 result
= (int)((wxWindow
const *)arg1
)->GetScrollPos(arg2
);
31227 wxPyEndAllowThreads(__tstate
);
31228 if (PyErr_Occurred()) SWIG_fail
;
31231 resultobj
= SWIG_From_int((int)(result
));
31239 static PyObject
*_wrap_Window_GetScrollThumb(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31240 PyObject
*resultobj
;
31241 wxWindow
*arg1
= (wxWindow
*) 0 ;
31244 PyObject
* obj0
= 0 ;
31245 PyObject
* obj1
= 0 ;
31246 char *kwnames
[] = {
31247 (char *) "self",(char *) "orientation", NULL
31250 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_GetScrollThumb",kwnames
,&obj0
,&obj1
)) goto fail
;
31251 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31252 if (SWIG_arg_fail(1)) SWIG_fail
;
31254 arg2
= (int)(SWIG_As_int(obj1
));
31255 if (SWIG_arg_fail(2)) SWIG_fail
;
31258 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31259 result
= (int)((wxWindow
const *)arg1
)->GetScrollThumb(arg2
);
31261 wxPyEndAllowThreads(__tstate
);
31262 if (PyErr_Occurred()) SWIG_fail
;
31265 resultobj
= SWIG_From_int((int)(result
));
31273 static PyObject
*_wrap_Window_GetScrollRange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31274 PyObject
*resultobj
;
31275 wxWindow
*arg1
= (wxWindow
*) 0 ;
31278 PyObject
* obj0
= 0 ;
31279 PyObject
* obj1
= 0 ;
31280 char *kwnames
[] = {
31281 (char *) "self",(char *) "orientation", NULL
31284 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_GetScrollRange",kwnames
,&obj0
,&obj1
)) goto fail
;
31285 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31286 if (SWIG_arg_fail(1)) SWIG_fail
;
31288 arg2
= (int)(SWIG_As_int(obj1
));
31289 if (SWIG_arg_fail(2)) SWIG_fail
;
31292 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31293 result
= (int)((wxWindow
const *)arg1
)->GetScrollRange(arg2
);
31295 wxPyEndAllowThreads(__tstate
);
31296 if (PyErr_Occurred()) SWIG_fail
;
31299 resultobj
= SWIG_From_int((int)(result
));
31307 static PyObject
*_wrap_Window_ScrollWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31308 PyObject
*resultobj
;
31309 wxWindow
*arg1
= (wxWindow
*) 0 ;
31312 wxRect
*arg4
= (wxRect
*) NULL
;
31313 PyObject
* obj0
= 0 ;
31314 PyObject
* obj1
= 0 ;
31315 PyObject
* obj2
= 0 ;
31316 PyObject
* obj3
= 0 ;
31317 char *kwnames
[] = {
31318 (char *) "self",(char *) "dx",(char *) "dy",(char *) "rect", NULL
31321 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Window_ScrollWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
31322 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31323 if (SWIG_arg_fail(1)) SWIG_fail
;
31325 arg2
= (int)(SWIG_As_int(obj1
));
31326 if (SWIG_arg_fail(2)) SWIG_fail
;
31329 arg3
= (int)(SWIG_As_int(obj2
));
31330 if (SWIG_arg_fail(3)) SWIG_fail
;
31333 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
31334 if (SWIG_arg_fail(4)) SWIG_fail
;
31337 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31338 (arg1
)->ScrollWindow(arg2
,arg3
,(wxRect
const *)arg4
);
31340 wxPyEndAllowThreads(__tstate
);
31341 if (PyErr_Occurred()) SWIG_fail
;
31343 Py_INCREF(Py_None
); resultobj
= Py_None
;
31350 static PyObject
*_wrap_Window_ScrollLines(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31351 PyObject
*resultobj
;
31352 wxWindow
*arg1
= (wxWindow
*) 0 ;
31355 PyObject
* obj0
= 0 ;
31356 PyObject
* obj1
= 0 ;
31357 char *kwnames
[] = {
31358 (char *) "self",(char *) "lines", NULL
31361 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ScrollLines",kwnames
,&obj0
,&obj1
)) goto fail
;
31362 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31363 if (SWIG_arg_fail(1)) SWIG_fail
;
31365 arg2
= (int)(SWIG_As_int(obj1
));
31366 if (SWIG_arg_fail(2)) SWIG_fail
;
31369 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31370 result
= (bool)(arg1
)->ScrollLines(arg2
);
31372 wxPyEndAllowThreads(__tstate
);
31373 if (PyErr_Occurred()) SWIG_fail
;
31376 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31384 static PyObject
*_wrap_Window_ScrollPages(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31385 PyObject
*resultobj
;
31386 wxWindow
*arg1
= (wxWindow
*) 0 ;
31389 PyObject
* obj0
= 0 ;
31390 PyObject
* obj1
= 0 ;
31391 char *kwnames
[] = {
31392 (char *) "self",(char *) "pages", NULL
31395 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ScrollPages",kwnames
,&obj0
,&obj1
)) goto fail
;
31396 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31397 if (SWIG_arg_fail(1)) SWIG_fail
;
31399 arg2
= (int)(SWIG_As_int(obj1
));
31400 if (SWIG_arg_fail(2)) SWIG_fail
;
31403 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31404 result
= (bool)(arg1
)->ScrollPages(arg2
);
31406 wxPyEndAllowThreads(__tstate
);
31407 if (PyErr_Occurred()) SWIG_fail
;
31410 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31418 static PyObject
*_wrap_Window_LineUp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31419 PyObject
*resultobj
;
31420 wxWindow
*arg1
= (wxWindow
*) 0 ;
31422 PyObject
* obj0
= 0 ;
31423 char *kwnames
[] = {
31424 (char *) "self", NULL
31427 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_LineUp",kwnames
,&obj0
)) goto fail
;
31428 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31429 if (SWIG_arg_fail(1)) SWIG_fail
;
31431 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31432 result
= (bool)(arg1
)->LineUp();
31434 wxPyEndAllowThreads(__tstate
);
31435 if (PyErr_Occurred()) SWIG_fail
;
31438 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31446 static PyObject
*_wrap_Window_LineDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31447 PyObject
*resultobj
;
31448 wxWindow
*arg1
= (wxWindow
*) 0 ;
31450 PyObject
* obj0
= 0 ;
31451 char *kwnames
[] = {
31452 (char *) "self", NULL
31455 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_LineDown",kwnames
,&obj0
)) goto fail
;
31456 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31457 if (SWIG_arg_fail(1)) SWIG_fail
;
31459 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31460 result
= (bool)(arg1
)->LineDown();
31462 wxPyEndAllowThreads(__tstate
);
31463 if (PyErr_Occurred()) SWIG_fail
;
31466 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31474 static PyObject
*_wrap_Window_PageUp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31475 PyObject
*resultobj
;
31476 wxWindow
*arg1
= (wxWindow
*) 0 ;
31478 PyObject
* obj0
= 0 ;
31479 char *kwnames
[] = {
31480 (char *) "self", NULL
31483 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_PageUp",kwnames
,&obj0
)) goto fail
;
31484 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31485 if (SWIG_arg_fail(1)) SWIG_fail
;
31487 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31488 result
= (bool)(arg1
)->PageUp();
31490 wxPyEndAllowThreads(__tstate
);
31491 if (PyErr_Occurred()) SWIG_fail
;
31494 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31502 static PyObject
*_wrap_Window_PageDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31503 PyObject
*resultobj
;
31504 wxWindow
*arg1
= (wxWindow
*) 0 ;
31506 PyObject
* obj0
= 0 ;
31507 char *kwnames
[] = {
31508 (char *) "self", NULL
31511 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_PageDown",kwnames
,&obj0
)) goto fail
;
31512 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31513 if (SWIG_arg_fail(1)) SWIG_fail
;
31515 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31516 result
= (bool)(arg1
)->PageDown();
31518 wxPyEndAllowThreads(__tstate
);
31519 if (PyErr_Occurred()) SWIG_fail
;
31522 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31530 static PyObject
*_wrap_Window_SetHelpText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31531 PyObject
*resultobj
;
31532 wxWindow
*arg1
= (wxWindow
*) 0 ;
31533 wxString
*arg2
= 0 ;
31534 bool temp2
= false ;
31535 PyObject
* obj0
= 0 ;
31536 PyObject
* obj1
= 0 ;
31537 char *kwnames
[] = {
31538 (char *) "self",(char *) "text", NULL
31541 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetHelpText",kwnames
,&obj0
,&obj1
)) goto fail
;
31542 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31543 if (SWIG_arg_fail(1)) SWIG_fail
;
31545 arg2
= wxString_in_helper(obj1
);
31546 if (arg2
== NULL
) SWIG_fail
;
31550 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31551 (arg1
)->SetHelpText((wxString
const &)*arg2
);
31553 wxPyEndAllowThreads(__tstate
);
31554 if (PyErr_Occurred()) SWIG_fail
;
31556 Py_INCREF(Py_None
); resultobj
= Py_None
;
31571 static PyObject
*_wrap_Window_SetHelpTextForId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31572 PyObject
*resultobj
;
31573 wxWindow
*arg1
= (wxWindow
*) 0 ;
31574 wxString
*arg2
= 0 ;
31575 bool temp2
= false ;
31576 PyObject
* obj0
= 0 ;
31577 PyObject
* obj1
= 0 ;
31578 char *kwnames
[] = {
31579 (char *) "self",(char *) "text", NULL
31582 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetHelpTextForId",kwnames
,&obj0
,&obj1
)) goto fail
;
31583 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31584 if (SWIG_arg_fail(1)) SWIG_fail
;
31586 arg2
= wxString_in_helper(obj1
);
31587 if (arg2
== NULL
) SWIG_fail
;
31591 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31592 (arg1
)->SetHelpTextForId((wxString
const &)*arg2
);
31594 wxPyEndAllowThreads(__tstate
);
31595 if (PyErr_Occurred()) SWIG_fail
;
31597 Py_INCREF(Py_None
); resultobj
= Py_None
;
31612 static PyObject
*_wrap_Window_GetHelpText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31613 PyObject
*resultobj
;
31614 wxWindow
*arg1
= (wxWindow
*) 0 ;
31616 PyObject
* obj0
= 0 ;
31617 char *kwnames
[] = {
31618 (char *) "self", NULL
31621 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetHelpText",kwnames
,&obj0
)) goto fail
;
31622 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31623 if (SWIG_arg_fail(1)) SWIG_fail
;
31625 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31626 result
= ((wxWindow
const *)arg1
)->GetHelpText();
31628 wxPyEndAllowThreads(__tstate
);
31629 if (PyErr_Occurred()) SWIG_fail
;
31633 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
31635 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
31644 static PyObject
*_wrap_Window_SetToolTipString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31645 PyObject
*resultobj
;
31646 wxWindow
*arg1
= (wxWindow
*) 0 ;
31647 wxString
*arg2
= 0 ;
31648 bool temp2
= false ;
31649 PyObject
* obj0
= 0 ;
31650 PyObject
* obj1
= 0 ;
31651 char *kwnames
[] = {
31652 (char *) "self",(char *) "tip", NULL
31655 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetToolTipString",kwnames
,&obj0
,&obj1
)) goto fail
;
31656 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31657 if (SWIG_arg_fail(1)) SWIG_fail
;
31659 arg2
= wxString_in_helper(obj1
);
31660 if (arg2
== NULL
) SWIG_fail
;
31664 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31665 (arg1
)->SetToolTip((wxString
const &)*arg2
);
31667 wxPyEndAllowThreads(__tstate
);
31668 if (PyErr_Occurred()) SWIG_fail
;
31670 Py_INCREF(Py_None
); resultobj
= Py_None
;
31685 static PyObject
*_wrap_Window_SetToolTip(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31686 PyObject
*resultobj
;
31687 wxWindow
*arg1
= (wxWindow
*) 0 ;
31688 wxToolTip
*arg2
= (wxToolTip
*) 0 ;
31689 PyObject
* obj0
= 0 ;
31690 PyObject
* obj1
= 0 ;
31691 char *kwnames
[] = {
31692 (char *) "self",(char *) "tip", NULL
31695 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetToolTip",kwnames
,&obj0
,&obj1
)) goto fail
;
31696 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31697 if (SWIG_arg_fail(1)) SWIG_fail
;
31698 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxToolTip
, SWIG_POINTER_EXCEPTION
| 0);
31699 if (SWIG_arg_fail(2)) SWIG_fail
;
31701 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31702 (arg1
)->SetToolTip(arg2
);
31704 wxPyEndAllowThreads(__tstate
);
31705 if (PyErr_Occurred()) SWIG_fail
;
31707 Py_INCREF(Py_None
); resultobj
= Py_None
;
31714 static PyObject
*_wrap_Window_GetToolTip(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31715 PyObject
*resultobj
;
31716 wxWindow
*arg1
= (wxWindow
*) 0 ;
31718 PyObject
* obj0
= 0 ;
31719 char *kwnames
[] = {
31720 (char *) "self", NULL
31723 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetToolTip",kwnames
,&obj0
)) goto fail
;
31724 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31725 if (SWIG_arg_fail(1)) SWIG_fail
;
31727 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31728 result
= (wxToolTip
*)((wxWindow
const *)arg1
)->GetToolTip();
31730 wxPyEndAllowThreads(__tstate
);
31731 if (PyErr_Occurred()) SWIG_fail
;
31734 resultobj
= wxPyMake_wxObject(result
, 0);
31742 static PyObject
*_wrap_Window_SetDropTarget(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31743 PyObject
*resultobj
;
31744 wxWindow
*arg1
= (wxWindow
*) 0 ;
31745 wxPyDropTarget
*arg2
= (wxPyDropTarget
*) 0 ;
31746 PyObject
* obj0
= 0 ;
31747 PyObject
* obj1
= 0 ;
31748 char *kwnames
[] = {
31749 (char *) "self",(char *) "dropTarget", NULL
31752 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetDropTarget",kwnames
,&obj0
,&obj1
)) goto fail
;
31753 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31754 if (SWIG_arg_fail(1)) SWIG_fail
;
31755 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPyDropTarget
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
31756 if (SWIG_arg_fail(2)) SWIG_fail
;
31758 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31759 (arg1
)->SetDropTarget(arg2
);
31761 wxPyEndAllowThreads(__tstate
);
31762 if (PyErr_Occurred()) SWIG_fail
;
31764 Py_INCREF(Py_None
); resultobj
= Py_None
;
31771 static PyObject
*_wrap_Window_GetDropTarget(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31772 PyObject
*resultobj
;
31773 wxWindow
*arg1
= (wxWindow
*) 0 ;
31774 wxPyDropTarget
*result
;
31775 PyObject
* obj0
= 0 ;
31776 char *kwnames
[] = {
31777 (char *) "self", NULL
31780 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetDropTarget",kwnames
,&obj0
)) goto fail
;
31781 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31782 if (SWIG_arg_fail(1)) SWIG_fail
;
31784 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31785 result
= (wxPyDropTarget
*)((wxWindow
const *)arg1
)->GetDropTarget();
31787 wxPyEndAllowThreads(__tstate
);
31788 if (PyErr_Occurred()) SWIG_fail
;
31790 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyDropTarget
, 0);
31797 static PyObject
*_wrap_Window_DragAcceptFiles(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31798 PyObject
*resultobj
;
31799 wxWindow
*arg1
= (wxWindow
*) 0 ;
31801 PyObject
* obj0
= 0 ;
31802 PyObject
* obj1
= 0 ;
31803 char *kwnames
[] = {
31804 (char *) "self",(char *) "accept", NULL
31807 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_DragAcceptFiles",kwnames
,&obj0
,&obj1
)) goto fail
;
31808 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31809 if (SWIG_arg_fail(1)) SWIG_fail
;
31811 arg2
= (bool)(SWIG_As_bool(obj1
));
31812 if (SWIG_arg_fail(2)) SWIG_fail
;
31815 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31816 (arg1
)->DragAcceptFiles(arg2
);
31818 wxPyEndAllowThreads(__tstate
);
31819 if (PyErr_Occurred()) SWIG_fail
;
31821 Py_INCREF(Py_None
); resultobj
= Py_None
;
31828 static PyObject
*_wrap_Window_SetConstraints(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31829 PyObject
*resultobj
;
31830 wxWindow
*arg1
= (wxWindow
*) 0 ;
31831 wxLayoutConstraints
*arg2
= (wxLayoutConstraints
*) 0 ;
31832 PyObject
* obj0
= 0 ;
31833 PyObject
* obj1
= 0 ;
31834 char *kwnames
[] = {
31835 (char *) "self",(char *) "constraints", NULL
31838 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetConstraints",kwnames
,&obj0
,&obj1
)) goto fail
;
31839 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31840 if (SWIG_arg_fail(1)) SWIG_fail
;
31841 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxLayoutConstraints
, SWIG_POINTER_EXCEPTION
| 0);
31842 if (SWIG_arg_fail(2)) SWIG_fail
;
31844 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31845 (arg1
)->SetConstraints(arg2
);
31847 wxPyEndAllowThreads(__tstate
);
31848 if (PyErr_Occurred()) SWIG_fail
;
31850 Py_INCREF(Py_None
); resultobj
= Py_None
;
31857 static PyObject
*_wrap_Window_GetConstraints(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31858 PyObject
*resultobj
;
31859 wxWindow
*arg1
= (wxWindow
*) 0 ;
31860 wxLayoutConstraints
*result
;
31861 PyObject
* obj0
= 0 ;
31862 char *kwnames
[] = {
31863 (char *) "self", NULL
31866 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetConstraints",kwnames
,&obj0
)) goto fail
;
31867 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31868 if (SWIG_arg_fail(1)) SWIG_fail
;
31870 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31871 result
= (wxLayoutConstraints
*)((wxWindow
const *)arg1
)->GetConstraints();
31873 wxPyEndAllowThreads(__tstate
);
31874 if (PyErr_Occurred()) SWIG_fail
;
31876 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLayoutConstraints
, 0);
31883 static PyObject
*_wrap_Window_SetAutoLayout(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31884 PyObject
*resultobj
;
31885 wxWindow
*arg1
= (wxWindow
*) 0 ;
31887 PyObject
* obj0
= 0 ;
31888 PyObject
* obj1
= 0 ;
31889 char *kwnames
[] = {
31890 (char *) "self",(char *) "autoLayout", NULL
31893 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetAutoLayout",kwnames
,&obj0
,&obj1
)) goto fail
;
31894 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31895 if (SWIG_arg_fail(1)) SWIG_fail
;
31897 arg2
= (bool)(SWIG_As_bool(obj1
));
31898 if (SWIG_arg_fail(2)) SWIG_fail
;
31901 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31902 (arg1
)->SetAutoLayout(arg2
);
31904 wxPyEndAllowThreads(__tstate
);
31905 if (PyErr_Occurred()) SWIG_fail
;
31907 Py_INCREF(Py_None
); resultobj
= Py_None
;
31914 static PyObject
*_wrap_Window_GetAutoLayout(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31915 PyObject
*resultobj
;
31916 wxWindow
*arg1
= (wxWindow
*) 0 ;
31918 PyObject
* obj0
= 0 ;
31919 char *kwnames
[] = {
31920 (char *) "self", NULL
31923 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetAutoLayout",kwnames
,&obj0
)) goto fail
;
31924 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31925 if (SWIG_arg_fail(1)) SWIG_fail
;
31927 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31928 result
= (bool)((wxWindow
const *)arg1
)->GetAutoLayout();
31930 wxPyEndAllowThreads(__tstate
);
31931 if (PyErr_Occurred()) SWIG_fail
;
31934 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31942 static PyObject
*_wrap_Window_Layout(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31943 PyObject
*resultobj
;
31944 wxWindow
*arg1
= (wxWindow
*) 0 ;
31946 PyObject
* obj0
= 0 ;
31947 char *kwnames
[] = {
31948 (char *) "self", NULL
31951 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Layout",kwnames
,&obj0
)) goto fail
;
31952 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31953 if (SWIG_arg_fail(1)) SWIG_fail
;
31955 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31956 result
= (bool)(arg1
)->Layout();
31958 wxPyEndAllowThreads(__tstate
);
31959 if (PyErr_Occurred()) SWIG_fail
;
31962 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31970 static PyObject
*_wrap_Window_SetSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31971 PyObject
*resultobj
;
31972 wxWindow
*arg1
= (wxWindow
*) 0 ;
31973 wxSizer
*arg2
= (wxSizer
*) 0 ;
31974 bool arg3
= (bool) true ;
31975 PyObject
* obj0
= 0 ;
31976 PyObject
* obj1
= 0 ;
31977 PyObject
* obj2
= 0 ;
31978 char *kwnames
[] = {
31979 (char *) "self",(char *) "sizer",(char *) "deleteOld", NULL
31982 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_SetSizer",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
31983 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31984 if (SWIG_arg_fail(1)) SWIG_fail
;
31985 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
31986 if (SWIG_arg_fail(2)) SWIG_fail
;
31989 arg3
= (bool)(SWIG_As_bool(obj2
));
31990 if (SWIG_arg_fail(3)) SWIG_fail
;
31994 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31995 (arg1
)->SetSizer(arg2
,arg3
);
31997 wxPyEndAllowThreads(__tstate
);
31998 if (PyErr_Occurred()) SWIG_fail
;
32000 Py_INCREF(Py_None
); resultobj
= Py_None
;
32007 static PyObject
*_wrap_Window_SetSizerAndFit(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32008 PyObject
*resultobj
;
32009 wxWindow
*arg1
= (wxWindow
*) 0 ;
32010 wxSizer
*arg2
= (wxSizer
*) 0 ;
32011 bool arg3
= (bool) true ;
32012 PyObject
* obj0
= 0 ;
32013 PyObject
* obj1
= 0 ;
32014 PyObject
* obj2
= 0 ;
32015 char *kwnames
[] = {
32016 (char *) "self",(char *) "sizer",(char *) "deleteOld", NULL
32019 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_SetSizerAndFit",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
32020 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
32021 if (SWIG_arg_fail(1)) SWIG_fail
;
32022 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
32023 if (SWIG_arg_fail(2)) SWIG_fail
;
32026 arg3
= (bool)(SWIG_As_bool(obj2
));
32027 if (SWIG_arg_fail(3)) SWIG_fail
;
32031 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32032 (arg1
)->SetSizerAndFit(arg2
,arg3
);
32034 wxPyEndAllowThreads(__tstate
);
32035 if (PyErr_Occurred()) SWIG_fail
;
32037 Py_INCREF(Py_None
); resultobj
= Py_None
;
32044 static PyObject
*_wrap_Window_GetSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32045 PyObject
*resultobj
;
32046 wxWindow
*arg1
= (wxWindow
*) 0 ;
32048 PyObject
* obj0
= 0 ;
32049 char *kwnames
[] = {
32050 (char *) "self", NULL
32053 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetSizer",kwnames
,&obj0
)) goto fail
;
32054 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
32055 if (SWIG_arg_fail(1)) SWIG_fail
;
32057 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32058 result
= (wxSizer
*)((wxWindow
const *)arg1
)->GetSizer();
32060 wxPyEndAllowThreads(__tstate
);
32061 if (PyErr_Occurred()) SWIG_fail
;
32064 resultobj
= wxPyMake_wxObject(result
, 0);
32072 static PyObject
*_wrap_Window_SetContainingSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32073 PyObject
*resultobj
;
32074 wxWindow
*arg1
= (wxWindow
*) 0 ;
32075 wxSizer
*arg2
= (wxSizer
*) 0 ;
32076 PyObject
* obj0
= 0 ;
32077 PyObject
* obj1
= 0 ;
32078 char *kwnames
[] = {
32079 (char *) "self",(char *) "sizer", NULL
32082 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetContainingSizer",kwnames
,&obj0
,&obj1
)) goto fail
;
32083 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
32084 if (SWIG_arg_fail(1)) SWIG_fail
;
32085 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
32086 if (SWIG_arg_fail(2)) SWIG_fail
;
32088 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32089 (arg1
)->SetContainingSizer(arg2
);
32091 wxPyEndAllowThreads(__tstate
);
32092 if (PyErr_Occurred()) SWIG_fail
;
32094 Py_INCREF(Py_None
); resultobj
= Py_None
;
32101 static PyObject
*_wrap_Window_GetContainingSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32102 PyObject
*resultobj
;
32103 wxWindow
*arg1
= (wxWindow
*) 0 ;
32105 PyObject
* obj0
= 0 ;
32106 char *kwnames
[] = {
32107 (char *) "self", NULL
32110 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetContainingSizer",kwnames
,&obj0
)) goto fail
;
32111 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
32112 if (SWIG_arg_fail(1)) SWIG_fail
;
32114 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32115 result
= (wxSizer
*)((wxWindow
const *)arg1
)->GetContainingSizer();
32117 wxPyEndAllowThreads(__tstate
);
32118 if (PyErr_Occurred()) SWIG_fail
;
32121 resultobj
= wxPyMake_wxObject(result
, 0);
32129 static PyObject
*_wrap_Window_InheritAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32130 PyObject
*resultobj
;
32131 wxWindow
*arg1
= (wxWindow
*) 0 ;
32132 PyObject
* obj0
= 0 ;
32133 char *kwnames
[] = {
32134 (char *) "self", NULL
32137 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_InheritAttributes",kwnames
,&obj0
)) goto fail
;
32138 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
32139 if (SWIG_arg_fail(1)) SWIG_fail
;
32141 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32142 (arg1
)->InheritAttributes();
32144 wxPyEndAllowThreads(__tstate
);
32145 if (PyErr_Occurred()) SWIG_fail
;
32147 Py_INCREF(Py_None
); resultobj
= Py_None
;
32154 static PyObject
*_wrap_Window_ShouldInheritColours(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32155 PyObject
*resultobj
;
32156 wxWindow
*arg1
= (wxWindow
*) 0 ;
32158 PyObject
* obj0
= 0 ;
32159 char *kwnames
[] = {
32160 (char *) "self", NULL
32163 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_ShouldInheritColours",kwnames
,&obj0
)) goto fail
;
32164 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
32165 if (SWIG_arg_fail(1)) SWIG_fail
;
32167 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32168 result
= (bool)((wxWindow
const *)arg1
)->ShouldInheritColours();
32170 wxPyEndAllowThreads(__tstate
);
32171 if (PyErr_Occurred()) SWIG_fail
;
32174 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32182 static PyObject
* Window_swigregister(PyObject
*, PyObject
*args
) {
32184 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
32185 SWIG_TypeClientData(SWIGTYPE_p_wxWindow
, obj
);
32187 return Py_BuildValue((char *)"");
32189 static PyObject
*_wrap_FindWindowById(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32190 PyObject
*resultobj
;
32192 wxWindow
*arg2
= (wxWindow
*) NULL
;
32194 PyObject
* obj0
= 0 ;
32195 PyObject
* obj1
= 0 ;
32196 char *kwnames
[] = {
32197 (char *) "id",(char *) "parent", NULL
32200 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:FindWindowById",kwnames
,&obj0
,&obj1
)) goto fail
;
32202 arg1
= (long)(SWIG_As_long(obj0
));
32203 if (SWIG_arg_fail(1)) SWIG_fail
;
32206 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
32207 if (SWIG_arg_fail(2)) SWIG_fail
;
32210 if (!wxPyCheckForApp()) SWIG_fail
;
32211 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32212 result
= (wxWindow
*)wxFindWindowById(arg1
,(wxWindow
const *)arg2
);
32214 wxPyEndAllowThreads(__tstate
);
32215 if (PyErr_Occurred()) SWIG_fail
;
32218 resultobj
= wxPyMake_wxObject(result
, 0);
32226 static PyObject
*_wrap_FindWindowByName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32227 PyObject
*resultobj
;
32228 wxString
*arg1
= 0 ;
32229 wxWindow
*arg2
= (wxWindow
*) NULL
;
32231 bool temp1
= false ;
32232 PyObject
* obj0
= 0 ;
32233 PyObject
* obj1
= 0 ;
32234 char *kwnames
[] = {
32235 (char *) "name",(char *) "parent", NULL
32238 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:FindWindowByName",kwnames
,&obj0
,&obj1
)) goto fail
;
32240 arg1
= wxString_in_helper(obj0
);
32241 if (arg1
== NULL
) SWIG_fail
;
32245 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
32246 if (SWIG_arg_fail(2)) SWIG_fail
;
32249 if (!wxPyCheckForApp()) SWIG_fail
;
32250 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32251 result
= (wxWindow
*)wxFindWindowByName((wxString
const &)*arg1
,(wxWindow
const *)arg2
);
32253 wxPyEndAllowThreads(__tstate
);
32254 if (PyErr_Occurred()) SWIG_fail
;
32257 resultobj
= wxPyMake_wxObject(result
, 0);
32273 static PyObject
*_wrap_FindWindowByLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32274 PyObject
*resultobj
;
32275 wxString
*arg1
= 0 ;
32276 wxWindow
*arg2
= (wxWindow
*) NULL
;
32278 bool temp1
= false ;
32279 PyObject
* obj0
= 0 ;
32280 PyObject
* obj1
= 0 ;
32281 char *kwnames
[] = {
32282 (char *) "label",(char *) "parent", NULL
32285 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:FindWindowByLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
32287 arg1
= wxString_in_helper(obj0
);
32288 if (arg1
== NULL
) SWIG_fail
;
32292 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
32293 if (SWIG_arg_fail(2)) SWIG_fail
;
32296 if (!wxPyCheckForApp()) SWIG_fail
;
32297 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32298 result
= (wxWindow
*)wxFindWindowByLabel((wxString
const &)*arg1
,(wxWindow
const *)arg2
);
32300 wxPyEndAllowThreads(__tstate
);
32301 if (PyErr_Occurred()) SWIG_fail
;
32304 resultobj
= wxPyMake_wxObject(result
, 0);
32320 static PyObject
*_wrap_Window_FromHWND(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32321 PyObject
*resultobj
;
32322 wxWindow
*arg1
= (wxWindow
*) 0 ;
32323 unsigned long arg2
;
32325 PyObject
* obj0
= 0 ;
32326 PyObject
* obj1
= 0 ;
32327 char *kwnames
[] = {
32328 (char *) "parent",(char *) "_hWnd", NULL
32331 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_FromHWND",kwnames
,&obj0
,&obj1
)) goto fail
;
32332 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
32333 if (SWIG_arg_fail(1)) SWIG_fail
;
32335 arg2
= (unsigned long)(SWIG_As_unsigned_SS_long(obj1
));
32336 if (SWIG_arg_fail(2)) SWIG_fail
;
32339 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32340 result
= (wxWindow
*)wxWindow_FromHWND(arg1
,arg2
);
32342 wxPyEndAllowThreads(__tstate
);
32343 if (PyErr_Occurred()) SWIG_fail
;
32346 resultobj
= wxPyMake_wxObject(result
, 0);
32354 static PyObject
*_wrap_GetTopLevelWindows(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32355 PyObject
*resultobj
;
32357 char *kwnames
[] = {
32361 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetTopLevelWindows",kwnames
)) goto fail
;
32363 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32364 result
= (PyObject
*)GetTopLevelWindows();
32366 wxPyEndAllowThreads(__tstate
);
32367 if (PyErr_Occurred()) SWIG_fail
;
32369 resultobj
= result
;
32376 static PyObject
*_wrap_new_Validator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32377 PyObject
*resultobj
;
32378 wxValidator
*result
;
32379 char *kwnames
[] = {
32383 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_Validator",kwnames
)) goto fail
;
32385 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32386 result
= (wxValidator
*)new wxValidator();
32388 wxPyEndAllowThreads(__tstate
);
32389 if (PyErr_Occurred()) SWIG_fail
;
32391 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxValidator
, 1);
32398 static PyObject
*_wrap_Validator_Clone(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32399 PyObject
*resultobj
;
32400 wxValidator
*arg1
= (wxValidator
*) 0 ;
32401 wxValidator
*result
;
32402 PyObject
* obj0
= 0 ;
32403 char *kwnames
[] = {
32404 (char *) "self", NULL
32407 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Validator_Clone",kwnames
,&obj0
)) goto fail
;
32408 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
32409 if (SWIG_arg_fail(1)) SWIG_fail
;
32411 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32412 result
= (wxValidator
*)(arg1
)->Clone();
32414 wxPyEndAllowThreads(__tstate
);
32415 if (PyErr_Occurred()) SWIG_fail
;
32418 resultobj
= wxPyMake_wxObject(result
, 0);
32426 static PyObject
*_wrap_Validator_Validate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32427 PyObject
*resultobj
;
32428 wxValidator
*arg1
= (wxValidator
*) 0 ;
32429 wxWindow
*arg2
= (wxWindow
*) 0 ;
32431 PyObject
* obj0
= 0 ;
32432 PyObject
* obj1
= 0 ;
32433 char *kwnames
[] = {
32434 (char *) "self",(char *) "parent", NULL
32437 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Validator_Validate",kwnames
,&obj0
,&obj1
)) goto fail
;
32438 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
32439 if (SWIG_arg_fail(1)) SWIG_fail
;
32440 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
32441 if (SWIG_arg_fail(2)) SWIG_fail
;
32443 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32444 result
= (bool)(arg1
)->Validate(arg2
);
32446 wxPyEndAllowThreads(__tstate
);
32447 if (PyErr_Occurred()) SWIG_fail
;
32450 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32458 static PyObject
*_wrap_Validator_TransferToWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32459 PyObject
*resultobj
;
32460 wxValidator
*arg1
= (wxValidator
*) 0 ;
32462 PyObject
* obj0
= 0 ;
32463 char *kwnames
[] = {
32464 (char *) "self", NULL
32467 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Validator_TransferToWindow",kwnames
,&obj0
)) goto fail
;
32468 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
32469 if (SWIG_arg_fail(1)) SWIG_fail
;
32471 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32472 result
= (bool)(arg1
)->TransferToWindow();
32474 wxPyEndAllowThreads(__tstate
);
32475 if (PyErr_Occurred()) SWIG_fail
;
32478 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32486 static PyObject
*_wrap_Validator_TransferFromWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32487 PyObject
*resultobj
;
32488 wxValidator
*arg1
= (wxValidator
*) 0 ;
32490 PyObject
* obj0
= 0 ;
32491 char *kwnames
[] = {
32492 (char *) "self", NULL
32495 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Validator_TransferFromWindow",kwnames
,&obj0
)) goto fail
;
32496 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
32497 if (SWIG_arg_fail(1)) SWIG_fail
;
32499 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32500 result
= (bool)(arg1
)->TransferFromWindow();
32502 wxPyEndAllowThreads(__tstate
);
32503 if (PyErr_Occurred()) SWIG_fail
;
32506 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32514 static PyObject
*_wrap_Validator_GetWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32515 PyObject
*resultobj
;
32516 wxValidator
*arg1
= (wxValidator
*) 0 ;
32518 PyObject
* obj0
= 0 ;
32519 char *kwnames
[] = {
32520 (char *) "self", NULL
32523 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Validator_GetWindow",kwnames
,&obj0
)) goto fail
;
32524 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
32525 if (SWIG_arg_fail(1)) SWIG_fail
;
32527 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32528 result
= (wxWindow
*)(arg1
)->GetWindow();
32530 wxPyEndAllowThreads(__tstate
);
32531 if (PyErr_Occurred()) SWIG_fail
;
32534 resultobj
= wxPyMake_wxObject(result
, 0);
32542 static PyObject
*_wrap_Validator_SetWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32543 PyObject
*resultobj
;
32544 wxValidator
*arg1
= (wxValidator
*) 0 ;
32545 wxWindow
*arg2
= (wxWindow
*) 0 ;
32546 PyObject
* obj0
= 0 ;
32547 PyObject
* obj1
= 0 ;
32548 char *kwnames
[] = {
32549 (char *) "self",(char *) "window", NULL
32552 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Validator_SetWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
32553 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
32554 if (SWIG_arg_fail(1)) SWIG_fail
;
32555 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
32556 if (SWIG_arg_fail(2)) SWIG_fail
;
32558 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32559 (arg1
)->SetWindow(arg2
);
32561 wxPyEndAllowThreads(__tstate
);
32562 if (PyErr_Occurred()) SWIG_fail
;
32564 Py_INCREF(Py_None
); resultobj
= Py_None
;
32571 static PyObject
*_wrap_Validator_IsSilent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32572 PyObject
*resultobj
;
32574 char *kwnames
[] = {
32578 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Validator_IsSilent",kwnames
)) goto fail
;
32580 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32581 result
= (bool)wxValidator::IsSilent();
32583 wxPyEndAllowThreads(__tstate
);
32584 if (PyErr_Occurred()) SWIG_fail
;
32587 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32595 static PyObject
*_wrap_Validator_SetBellOnError(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32596 PyObject
*resultobj
;
32597 int arg1
= (int) true ;
32598 PyObject
* obj0
= 0 ;
32599 char *kwnames
[] = {
32600 (char *) "doIt", NULL
32603 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Validator_SetBellOnError",kwnames
,&obj0
)) goto fail
;
32606 arg1
= (int)(SWIG_As_int(obj0
));
32607 if (SWIG_arg_fail(1)) SWIG_fail
;
32611 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32612 wxValidator::SetBellOnError(arg1
);
32614 wxPyEndAllowThreads(__tstate
);
32615 if (PyErr_Occurred()) SWIG_fail
;
32617 Py_INCREF(Py_None
); resultobj
= Py_None
;
32624 static PyObject
* Validator_swigregister(PyObject
*, PyObject
*args
) {
32626 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
32627 SWIG_TypeClientData(SWIGTYPE_p_wxValidator
, obj
);
32629 return Py_BuildValue((char *)"");
32631 static PyObject
*_wrap_new_PyValidator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32632 PyObject
*resultobj
;
32633 wxPyValidator
*result
;
32634 char *kwnames
[] = {
32638 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PyValidator",kwnames
)) goto fail
;
32640 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32641 result
= (wxPyValidator
*)new wxPyValidator();
32643 wxPyEndAllowThreads(__tstate
);
32644 if (PyErr_Occurred()) SWIG_fail
;
32646 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyValidator
, 1);
32653 static PyObject
*_wrap_PyValidator__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32654 PyObject
*resultobj
;
32655 wxPyValidator
*arg1
= (wxPyValidator
*) 0 ;
32656 PyObject
*arg2
= (PyObject
*) 0 ;
32657 PyObject
*arg3
= (PyObject
*) 0 ;
32658 int arg4
= (int) true ;
32659 PyObject
* obj0
= 0 ;
32660 PyObject
* obj1
= 0 ;
32661 PyObject
* obj2
= 0 ;
32662 PyObject
* obj3
= 0 ;
32663 char *kwnames
[] = {
32664 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
32667 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:PyValidator__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
32668 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyValidator
, SWIG_POINTER_EXCEPTION
| 0);
32669 if (SWIG_arg_fail(1)) SWIG_fail
;
32674 arg4
= (int)(SWIG_As_int(obj3
));
32675 if (SWIG_arg_fail(4)) SWIG_fail
;
32679 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32680 (arg1
)->_setCallbackInfo(arg2
,arg3
,arg4
);
32682 wxPyEndAllowThreads(__tstate
);
32683 if (PyErr_Occurred()) SWIG_fail
;
32685 Py_INCREF(Py_None
); resultobj
= Py_None
;
32692 static PyObject
* PyValidator_swigregister(PyObject
*, PyObject
*args
) {
32694 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
32695 SWIG_TypeClientData(SWIGTYPE_p_wxPyValidator
, obj
);
32697 return Py_BuildValue((char *)"");
32699 static int _wrap_DefaultValidator_set(PyObject
*) {
32700 PyErr_SetString(PyExc_TypeError
,"Variable DefaultValidator is read-only.");
32705 static PyObject
*_wrap_DefaultValidator_get(void) {
32708 pyobj
= SWIG_NewPointerObj((void *)(&wxDefaultValidator
), SWIGTYPE_p_wxValidator
, 0);
32713 static PyObject
*_wrap_new_Menu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32714 PyObject
*resultobj
;
32715 wxString
const &arg1_defvalue
= wxPyEmptyString
;
32716 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
32717 long arg2
= (long) 0 ;
32719 bool temp1
= false ;
32720 PyObject
* obj0
= 0 ;
32721 PyObject
* obj1
= 0 ;
32722 char *kwnames
[] = {
32723 (char *) "title",(char *) "style", NULL
32726 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Menu",kwnames
,&obj0
,&obj1
)) goto fail
;
32729 arg1
= wxString_in_helper(obj0
);
32730 if (arg1
== NULL
) SWIG_fail
;
32736 arg2
= (long)(SWIG_As_long(obj1
));
32737 if (SWIG_arg_fail(2)) SWIG_fail
;
32741 if (!wxPyCheckForApp()) SWIG_fail
;
32742 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32743 result
= (wxMenu
*)new wxMenu((wxString
const &)*arg1
,arg2
);
32745 wxPyEndAllowThreads(__tstate
);
32746 if (PyErr_Occurred()) SWIG_fail
;
32748 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMenu
, 1);
32763 static PyObject
*_wrap_Menu_Append(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32764 PyObject
*resultobj
;
32765 wxMenu
*arg1
= (wxMenu
*) 0 ;
32767 wxString
*arg3
= 0 ;
32768 wxString
const &arg4_defvalue
= wxPyEmptyString
;
32769 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
32770 wxItemKind arg5
= (wxItemKind
) wxITEM_NORMAL
;
32771 wxMenuItem
*result
;
32772 bool temp3
= false ;
32773 bool temp4
= false ;
32774 PyObject
* obj0
= 0 ;
32775 PyObject
* obj1
= 0 ;
32776 PyObject
* obj2
= 0 ;
32777 PyObject
* obj3
= 0 ;
32778 PyObject
* obj4
= 0 ;
32779 char *kwnames
[] = {
32780 (char *) "self",(char *) "id",(char *) "text",(char *) "help",(char *) "kind", NULL
32783 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:Menu_Append",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
32784 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
32785 if (SWIG_arg_fail(1)) SWIG_fail
;
32787 arg2
= (int)(SWIG_As_int(obj1
));
32788 if (SWIG_arg_fail(2)) SWIG_fail
;
32791 arg3
= wxString_in_helper(obj2
);
32792 if (arg3
== NULL
) SWIG_fail
;
32797 arg4
= wxString_in_helper(obj3
);
32798 if (arg4
== NULL
) SWIG_fail
;
32804 arg5
= (wxItemKind
)(SWIG_As_int(obj4
));
32805 if (SWIG_arg_fail(5)) SWIG_fail
;
32809 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32810 result
= (wxMenuItem
*)(arg1
)->Append(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,(wxItemKind
)arg5
);
32812 wxPyEndAllowThreads(__tstate
);
32813 if (PyErr_Occurred()) SWIG_fail
;
32816 resultobj
= wxPyMake_wxObject(result
, 0);
32840 static PyObject
*_wrap_Menu_AppendSeparator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32841 PyObject
*resultobj
;
32842 wxMenu
*arg1
= (wxMenu
*) 0 ;
32843 wxMenuItem
*result
;
32844 PyObject
* obj0
= 0 ;
32845 char *kwnames
[] = {
32846 (char *) "self", NULL
32849 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_AppendSeparator",kwnames
,&obj0
)) goto fail
;
32850 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
32851 if (SWIG_arg_fail(1)) SWIG_fail
;
32853 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32854 result
= (wxMenuItem
*)(arg1
)->AppendSeparator();
32856 wxPyEndAllowThreads(__tstate
);
32857 if (PyErr_Occurred()) SWIG_fail
;
32860 resultobj
= wxPyMake_wxObject(result
, 0);
32868 static PyObject
*_wrap_Menu_AppendCheckItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32869 PyObject
*resultobj
;
32870 wxMenu
*arg1
= (wxMenu
*) 0 ;
32872 wxString
*arg3
= 0 ;
32873 wxString
const &arg4_defvalue
= wxPyEmptyString
;
32874 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
32875 wxMenuItem
*result
;
32876 bool temp3
= false ;
32877 bool temp4
= false ;
32878 PyObject
* obj0
= 0 ;
32879 PyObject
* obj1
= 0 ;
32880 PyObject
* obj2
= 0 ;
32881 PyObject
* obj3
= 0 ;
32882 char *kwnames
[] = {
32883 (char *) "self",(char *) "id",(char *) "text",(char *) "help", NULL
32886 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Menu_AppendCheckItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
32887 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
32888 if (SWIG_arg_fail(1)) SWIG_fail
;
32890 arg2
= (int)(SWIG_As_int(obj1
));
32891 if (SWIG_arg_fail(2)) SWIG_fail
;
32894 arg3
= wxString_in_helper(obj2
);
32895 if (arg3
== NULL
) SWIG_fail
;
32900 arg4
= wxString_in_helper(obj3
);
32901 if (arg4
== NULL
) SWIG_fail
;
32906 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32907 result
= (wxMenuItem
*)(arg1
)->AppendCheckItem(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
);
32909 wxPyEndAllowThreads(__tstate
);
32910 if (PyErr_Occurred()) SWIG_fail
;
32913 resultobj
= wxPyMake_wxObject(result
, 0);
32937 static PyObject
*_wrap_Menu_AppendRadioItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32938 PyObject
*resultobj
;
32939 wxMenu
*arg1
= (wxMenu
*) 0 ;
32941 wxString
*arg3
= 0 ;
32942 wxString
const &arg4_defvalue
= wxPyEmptyString
;
32943 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
32944 wxMenuItem
*result
;
32945 bool temp3
= false ;
32946 bool temp4
= false ;
32947 PyObject
* obj0
= 0 ;
32948 PyObject
* obj1
= 0 ;
32949 PyObject
* obj2
= 0 ;
32950 PyObject
* obj3
= 0 ;
32951 char *kwnames
[] = {
32952 (char *) "self",(char *) "id",(char *) "text",(char *) "help", NULL
32955 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Menu_AppendRadioItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
32956 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
32957 if (SWIG_arg_fail(1)) SWIG_fail
;
32959 arg2
= (int)(SWIG_As_int(obj1
));
32960 if (SWIG_arg_fail(2)) SWIG_fail
;
32963 arg3
= wxString_in_helper(obj2
);
32964 if (arg3
== NULL
) SWIG_fail
;
32969 arg4
= wxString_in_helper(obj3
);
32970 if (arg4
== NULL
) SWIG_fail
;
32975 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32976 result
= (wxMenuItem
*)(arg1
)->AppendRadioItem(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
);
32978 wxPyEndAllowThreads(__tstate
);
32979 if (PyErr_Occurred()) SWIG_fail
;
32982 resultobj
= wxPyMake_wxObject(result
, 0);
33006 static PyObject
*_wrap_Menu_AppendMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33007 PyObject
*resultobj
;
33008 wxMenu
*arg1
= (wxMenu
*) 0 ;
33010 wxString
*arg3
= 0 ;
33011 wxMenu
*arg4
= (wxMenu
*) 0 ;
33012 wxString
const &arg5_defvalue
= wxPyEmptyString
;
33013 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
33014 wxMenuItem
*result
;
33015 bool temp3
= false ;
33016 bool temp5
= false ;
33017 PyObject
* obj0
= 0 ;
33018 PyObject
* obj1
= 0 ;
33019 PyObject
* obj2
= 0 ;
33020 PyObject
* obj3
= 0 ;
33021 PyObject
* obj4
= 0 ;
33022 char *kwnames
[] = {
33023 (char *) "self",(char *) "id",(char *) "text",(char *) "submenu",(char *) "help", NULL
33026 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:Menu_AppendMenu",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
33027 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33028 if (SWIG_arg_fail(1)) SWIG_fail
;
33030 arg2
= (int)(SWIG_As_int(obj1
));
33031 if (SWIG_arg_fail(2)) SWIG_fail
;
33034 arg3
= wxString_in_helper(obj2
);
33035 if (arg3
== NULL
) SWIG_fail
;
33038 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33039 if (SWIG_arg_fail(4)) SWIG_fail
;
33042 arg5
= wxString_in_helper(obj4
);
33043 if (arg5
== NULL
) SWIG_fail
;
33048 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33049 result
= (wxMenuItem
*)(arg1
)->Append(arg2
,(wxString
const &)*arg3
,arg4
,(wxString
const &)*arg5
);
33051 wxPyEndAllowThreads(__tstate
);
33052 if (PyErr_Occurred()) SWIG_fail
;
33055 resultobj
= wxPyMake_wxObject(result
, 0);
33079 static PyObject
*_wrap_Menu_AppendItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33080 PyObject
*resultobj
;
33081 wxMenu
*arg1
= (wxMenu
*) 0 ;
33082 wxMenuItem
*arg2
= (wxMenuItem
*) 0 ;
33083 wxMenuItem
*result
;
33084 PyObject
* obj0
= 0 ;
33085 PyObject
* obj1
= 0 ;
33086 char *kwnames
[] = {
33087 (char *) "self",(char *) "item", NULL
33090 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_AppendItem",kwnames
,&obj0
,&obj1
)) goto fail
;
33091 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33092 if (SWIG_arg_fail(1)) SWIG_fail
;
33093 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
33094 if (SWIG_arg_fail(2)) SWIG_fail
;
33096 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33097 result
= (wxMenuItem
*)(arg1
)->Append(arg2
);
33099 wxPyEndAllowThreads(__tstate
);
33100 if (PyErr_Occurred()) SWIG_fail
;
33103 resultobj
= wxPyMake_wxObject(result
, 0);
33111 static PyObject
*_wrap_Menu_Break(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33112 PyObject
*resultobj
;
33113 wxMenu
*arg1
= (wxMenu
*) 0 ;
33114 PyObject
* obj0
= 0 ;
33115 char *kwnames
[] = {
33116 (char *) "self", NULL
33119 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_Break",kwnames
,&obj0
)) goto fail
;
33120 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33121 if (SWIG_arg_fail(1)) SWIG_fail
;
33123 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33126 wxPyEndAllowThreads(__tstate
);
33127 if (PyErr_Occurred()) SWIG_fail
;
33129 Py_INCREF(Py_None
); resultobj
= Py_None
;
33136 static PyObject
*_wrap_Menu_InsertItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33137 PyObject
*resultobj
;
33138 wxMenu
*arg1
= (wxMenu
*) 0 ;
33140 wxMenuItem
*arg3
= (wxMenuItem
*) 0 ;
33141 wxMenuItem
*result
;
33142 PyObject
* obj0
= 0 ;
33143 PyObject
* obj1
= 0 ;
33144 PyObject
* obj2
= 0 ;
33145 char *kwnames
[] = {
33146 (char *) "self",(char *) "pos",(char *) "item", NULL
33149 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Menu_InsertItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
33150 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33151 if (SWIG_arg_fail(1)) SWIG_fail
;
33153 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
33154 if (SWIG_arg_fail(2)) SWIG_fail
;
33156 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
33157 if (SWIG_arg_fail(3)) SWIG_fail
;
33159 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33160 result
= (wxMenuItem
*)(arg1
)->Insert(arg2
,arg3
);
33162 wxPyEndAllowThreads(__tstate
);
33163 if (PyErr_Occurred()) SWIG_fail
;
33166 resultobj
= wxPyMake_wxObject(result
, 0);
33174 static PyObject
*_wrap_Menu_Insert(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33175 PyObject
*resultobj
;
33176 wxMenu
*arg1
= (wxMenu
*) 0 ;
33179 wxString
*arg4
= 0 ;
33180 wxString
const &arg5_defvalue
= wxPyEmptyString
;
33181 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
33182 wxItemKind arg6
= (wxItemKind
) wxITEM_NORMAL
;
33183 wxMenuItem
*result
;
33184 bool temp4
= false ;
33185 bool temp5
= false ;
33186 PyObject
* obj0
= 0 ;
33187 PyObject
* obj1
= 0 ;
33188 PyObject
* obj2
= 0 ;
33189 PyObject
* obj3
= 0 ;
33190 PyObject
* obj4
= 0 ;
33191 PyObject
* obj5
= 0 ;
33192 char *kwnames
[] = {
33193 (char *) "self",(char *) "pos",(char *) "id",(char *) "text",(char *) "help",(char *) "kind", NULL
33196 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:Menu_Insert",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
33197 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33198 if (SWIG_arg_fail(1)) SWIG_fail
;
33200 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
33201 if (SWIG_arg_fail(2)) SWIG_fail
;
33204 arg3
= (int)(SWIG_As_int(obj2
));
33205 if (SWIG_arg_fail(3)) SWIG_fail
;
33208 arg4
= wxString_in_helper(obj3
);
33209 if (arg4
== NULL
) SWIG_fail
;
33214 arg5
= wxString_in_helper(obj4
);
33215 if (arg5
== NULL
) SWIG_fail
;
33221 arg6
= (wxItemKind
)(SWIG_As_int(obj5
));
33222 if (SWIG_arg_fail(6)) SWIG_fail
;
33226 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33227 result
= (wxMenuItem
*)(arg1
)->Insert(arg2
,arg3
,(wxString
const &)*arg4
,(wxString
const &)*arg5
,(wxItemKind
)arg6
);
33229 wxPyEndAllowThreads(__tstate
);
33230 if (PyErr_Occurred()) SWIG_fail
;
33233 resultobj
= wxPyMake_wxObject(result
, 0);
33257 static PyObject
*_wrap_Menu_InsertSeparator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33258 PyObject
*resultobj
;
33259 wxMenu
*arg1
= (wxMenu
*) 0 ;
33261 wxMenuItem
*result
;
33262 PyObject
* obj0
= 0 ;
33263 PyObject
* obj1
= 0 ;
33264 char *kwnames
[] = {
33265 (char *) "self",(char *) "pos", NULL
33268 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_InsertSeparator",kwnames
,&obj0
,&obj1
)) goto fail
;
33269 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33270 if (SWIG_arg_fail(1)) SWIG_fail
;
33272 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
33273 if (SWIG_arg_fail(2)) SWIG_fail
;
33276 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33277 result
= (wxMenuItem
*)(arg1
)->InsertSeparator(arg2
);
33279 wxPyEndAllowThreads(__tstate
);
33280 if (PyErr_Occurred()) SWIG_fail
;
33283 resultobj
= wxPyMake_wxObject(result
, 0);
33291 static PyObject
*_wrap_Menu_InsertCheckItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33292 PyObject
*resultobj
;
33293 wxMenu
*arg1
= (wxMenu
*) 0 ;
33296 wxString
*arg4
= 0 ;
33297 wxString
const &arg5_defvalue
= wxPyEmptyString
;
33298 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
33299 wxMenuItem
*result
;
33300 bool temp4
= false ;
33301 bool temp5
= false ;
33302 PyObject
* obj0
= 0 ;
33303 PyObject
* obj1
= 0 ;
33304 PyObject
* obj2
= 0 ;
33305 PyObject
* obj3
= 0 ;
33306 PyObject
* obj4
= 0 ;
33307 char *kwnames
[] = {
33308 (char *) "self",(char *) "pos",(char *) "id",(char *) "text",(char *) "help", NULL
33311 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:Menu_InsertCheckItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
33312 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33313 if (SWIG_arg_fail(1)) SWIG_fail
;
33315 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
33316 if (SWIG_arg_fail(2)) SWIG_fail
;
33319 arg3
= (int)(SWIG_As_int(obj2
));
33320 if (SWIG_arg_fail(3)) SWIG_fail
;
33323 arg4
= wxString_in_helper(obj3
);
33324 if (arg4
== NULL
) SWIG_fail
;
33329 arg5
= wxString_in_helper(obj4
);
33330 if (arg5
== NULL
) SWIG_fail
;
33335 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33336 result
= (wxMenuItem
*)(arg1
)->InsertCheckItem(arg2
,arg3
,(wxString
const &)*arg4
,(wxString
const &)*arg5
);
33338 wxPyEndAllowThreads(__tstate
);
33339 if (PyErr_Occurred()) SWIG_fail
;
33342 resultobj
= wxPyMake_wxObject(result
, 0);
33366 static PyObject
*_wrap_Menu_InsertRadioItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33367 PyObject
*resultobj
;
33368 wxMenu
*arg1
= (wxMenu
*) 0 ;
33371 wxString
*arg4
= 0 ;
33372 wxString
const &arg5_defvalue
= wxPyEmptyString
;
33373 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
33374 wxMenuItem
*result
;
33375 bool temp4
= false ;
33376 bool temp5
= false ;
33377 PyObject
* obj0
= 0 ;
33378 PyObject
* obj1
= 0 ;
33379 PyObject
* obj2
= 0 ;
33380 PyObject
* obj3
= 0 ;
33381 PyObject
* obj4
= 0 ;
33382 char *kwnames
[] = {
33383 (char *) "self",(char *) "pos",(char *) "id",(char *) "text",(char *) "help", NULL
33386 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:Menu_InsertRadioItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
33387 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33388 if (SWIG_arg_fail(1)) SWIG_fail
;
33390 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
33391 if (SWIG_arg_fail(2)) SWIG_fail
;
33394 arg3
= (int)(SWIG_As_int(obj2
));
33395 if (SWIG_arg_fail(3)) SWIG_fail
;
33398 arg4
= wxString_in_helper(obj3
);
33399 if (arg4
== NULL
) SWIG_fail
;
33404 arg5
= wxString_in_helper(obj4
);
33405 if (arg5
== NULL
) SWIG_fail
;
33410 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33411 result
= (wxMenuItem
*)(arg1
)->InsertRadioItem(arg2
,arg3
,(wxString
const &)*arg4
,(wxString
const &)*arg5
);
33413 wxPyEndAllowThreads(__tstate
);
33414 if (PyErr_Occurred()) SWIG_fail
;
33417 resultobj
= wxPyMake_wxObject(result
, 0);
33441 static PyObject
*_wrap_Menu_InsertMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33442 PyObject
*resultobj
;
33443 wxMenu
*arg1
= (wxMenu
*) 0 ;
33446 wxString
*arg4
= 0 ;
33447 wxMenu
*arg5
= (wxMenu
*) 0 ;
33448 wxString
const &arg6_defvalue
= wxPyEmptyString
;
33449 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
33450 wxMenuItem
*result
;
33451 bool temp4
= false ;
33452 bool temp6
= false ;
33453 PyObject
* obj0
= 0 ;
33454 PyObject
* obj1
= 0 ;
33455 PyObject
* obj2
= 0 ;
33456 PyObject
* obj3
= 0 ;
33457 PyObject
* obj4
= 0 ;
33458 PyObject
* obj5
= 0 ;
33459 char *kwnames
[] = {
33460 (char *) "self",(char *) "pos",(char *) "id",(char *) "text",(char *) "submenu",(char *) "help", NULL
33463 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:Menu_InsertMenu",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
33464 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33465 if (SWIG_arg_fail(1)) SWIG_fail
;
33467 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
33468 if (SWIG_arg_fail(2)) SWIG_fail
;
33471 arg3
= (int)(SWIG_As_int(obj2
));
33472 if (SWIG_arg_fail(3)) SWIG_fail
;
33475 arg4
= wxString_in_helper(obj3
);
33476 if (arg4
== NULL
) SWIG_fail
;
33479 SWIG_Python_ConvertPtr(obj4
, (void **)&arg5
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33480 if (SWIG_arg_fail(5)) SWIG_fail
;
33483 arg6
= wxString_in_helper(obj5
);
33484 if (arg6
== NULL
) SWIG_fail
;
33489 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33490 result
= (wxMenuItem
*)(arg1
)->Insert(arg2
,arg3
,(wxString
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
33492 wxPyEndAllowThreads(__tstate
);
33493 if (PyErr_Occurred()) SWIG_fail
;
33496 resultobj
= wxPyMake_wxObject(result
, 0);
33520 static PyObject
*_wrap_Menu_PrependItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33521 PyObject
*resultobj
;
33522 wxMenu
*arg1
= (wxMenu
*) 0 ;
33523 wxMenuItem
*arg2
= (wxMenuItem
*) 0 ;
33524 wxMenuItem
*result
;
33525 PyObject
* obj0
= 0 ;
33526 PyObject
* obj1
= 0 ;
33527 char *kwnames
[] = {
33528 (char *) "self",(char *) "item", NULL
33531 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_PrependItem",kwnames
,&obj0
,&obj1
)) goto fail
;
33532 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33533 if (SWIG_arg_fail(1)) SWIG_fail
;
33534 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
33535 if (SWIG_arg_fail(2)) SWIG_fail
;
33537 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33538 result
= (wxMenuItem
*)(arg1
)->Prepend(arg2
);
33540 wxPyEndAllowThreads(__tstate
);
33541 if (PyErr_Occurred()) SWIG_fail
;
33544 resultobj
= wxPyMake_wxObject(result
, 0);
33552 static PyObject
*_wrap_Menu_Prepend(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33553 PyObject
*resultobj
;
33554 wxMenu
*arg1
= (wxMenu
*) 0 ;
33556 wxString
*arg3
= 0 ;
33557 wxString
const &arg4_defvalue
= wxPyEmptyString
;
33558 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
33559 wxItemKind arg5
= (wxItemKind
) wxITEM_NORMAL
;
33560 wxMenuItem
*result
;
33561 bool temp3
= false ;
33562 bool temp4
= false ;
33563 PyObject
* obj0
= 0 ;
33564 PyObject
* obj1
= 0 ;
33565 PyObject
* obj2
= 0 ;
33566 PyObject
* obj3
= 0 ;
33567 PyObject
* obj4
= 0 ;
33568 char *kwnames
[] = {
33569 (char *) "self",(char *) "id",(char *) "text",(char *) "help",(char *) "kind", NULL
33572 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:Menu_Prepend",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
33573 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33574 if (SWIG_arg_fail(1)) SWIG_fail
;
33576 arg2
= (int)(SWIG_As_int(obj1
));
33577 if (SWIG_arg_fail(2)) SWIG_fail
;
33580 arg3
= wxString_in_helper(obj2
);
33581 if (arg3
== NULL
) SWIG_fail
;
33586 arg4
= wxString_in_helper(obj3
);
33587 if (arg4
== NULL
) SWIG_fail
;
33593 arg5
= (wxItemKind
)(SWIG_As_int(obj4
));
33594 if (SWIG_arg_fail(5)) SWIG_fail
;
33598 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33599 result
= (wxMenuItem
*)(arg1
)->Prepend(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,(wxItemKind
)arg5
);
33601 wxPyEndAllowThreads(__tstate
);
33602 if (PyErr_Occurred()) SWIG_fail
;
33605 resultobj
= wxPyMake_wxObject(result
, 0);
33629 static PyObject
*_wrap_Menu_PrependSeparator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33630 PyObject
*resultobj
;
33631 wxMenu
*arg1
= (wxMenu
*) 0 ;
33632 wxMenuItem
*result
;
33633 PyObject
* obj0
= 0 ;
33634 char *kwnames
[] = {
33635 (char *) "self", NULL
33638 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_PrependSeparator",kwnames
,&obj0
)) goto fail
;
33639 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33640 if (SWIG_arg_fail(1)) SWIG_fail
;
33642 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33643 result
= (wxMenuItem
*)(arg1
)->PrependSeparator();
33645 wxPyEndAllowThreads(__tstate
);
33646 if (PyErr_Occurred()) SWIG_fail
;
33649 resultobj
= wxPyMake_wxObject(result
, 0);
33657 static PyObject
*_wrap_Menu_PrependCheckItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33658 PyObject
*resultobj
;
33659 wxMenu
*arg1
= (wxMenu
*) 0 ;
33661 wxString
*arg3
= 0 ;
33662 wxString
const &arg4_defvalue
= wxPyEmptyString
;
33663 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
33664 wxMenuItem
*result
;
33665 bool temp3
= false ;
33666 bool temp4
= false ;
33667 PyObject
* obj0
= 0 ;
33668 PyObject
* obj1
= 0 ;
33669 PyObject
* obj2
= 0 ;
33670 PyObject
* obj3
= 0 ;
33671 char *kwnames
[] = {
33672 (char *) "self",(char *) "id",(char *) "text",(char *) "help", NULL
33675 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Menu_PrependCheckItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
33676 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33677 if (SWIG_arg_fail(1)) SWIG_fail
;
33679 arg2
= (int)(SWIG_As_int(obj1
));
33680 if (SWIG_arg_fail(2)) SWIG_fail
;
33683 arg3
= wxString_in_helper(obj2
);
33684 if (arg3
== NULL
) SWIG_fail
;
33689 arg4
= wxString_in_helper(obj3
);
33690 if (arg4
== NULL
) SWIG_fail
;
33695 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33696 result
= (wxMenuItem
*)(arg1
)->PrependCheckItem(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
);
33698 wxPyEndAllowThreads(__tstate
);
33699 if (PyErr_Occurred()) SWIG_fail
;
33702 resultobj
= wxPyMake_wxObject(result
, 0);
33726 static PyObject
*_wrap_Menu_PrependRadioItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33727 PyObject
*resultobj
;
33728 wxMenu
*arg1
= (wxMenu
*) 0 ;
33730 wxString
*arg3
= 0 ;
33731 wxString
const &arg4_defvalue
= wxPyEmptyString
;
33732 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
33733 wxMenuItem
*result
;
33734 bool temp3
= false ;
33735 bool temp4
= false ;
33736 PyObject
* obj0
= 0 ;
33737 PyObject
* obj1
= 0 ;
33738 PyObject
* obj2
= 0 ;
33739 PyObject
* obj3
= 0 ;
33740 char *kwnames
[] = {
33741 (char *) "self",(char *) "id",(char *) "text",(char *) "help", NULL
33744 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Menu_PrependRadioItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
33745 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33746 if (SWIG_arg_fail(1)) SWIG_fail
;
33748 arg2
= (int)(SWIG_As_int(obj1
));
33749 if (SWIG_arg_fail(2)) SWIG_fail
;
33752 arg3
= wxString_in_helper(obj2
);
33753 if (arg3
== NULL
) SWIG_fail
;
33758 arg4
= wxString_in_helper(obj3
);
33759 if (arg4
== NULL
) SWIG_fail
;
33764 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33765 result
= (wxMenuItem
*)(arg1
)->PrependRadioItem(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
);
33767 wxPyEndAllowThreads(__tstate
);
33768 if (PyErr_Occurred()) SWIG_fail
;
33771 resultobj
= wxPyMake_wxObject(result
, 0);
33795 static PyObject
*_wrap_Menu_PrependMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33796 PyObject
*resultobj
;
33797 wxMenu
*arg1
= (wxMenu
*) 0 ;
33799 wxString
*arg3
= 0 ;
33800 wxMenu
*arg4
= (wxMenu
*) 0 ;
33801 wxString
const &arg5_defvalue
= wxPyEmptyString
;
33802 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
33803 wxMenuItem
*result
;
33804 bool temp3
= false ;
33805 bool temp5
= false ;
33806 PyObject
* obj0
= 0 ;
33807 PyObject
* obj1
= 0 ;
33808 PyObject
* obj2
= 0 ;
33809 PyObject
* obj3
= 0 ;
33810 PyObject
* obj4
= 0 ;
33811 char *kwnames
[] = {
33812 (char *) "self",(char *) "id",(char *) "text",(char *) "submenu",(char *) "help", NULL
33815 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:Menu_PrependMenu",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
33816 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33817 if (SWIG_arg_fail(1)) SWIG_fail
;
33819 arg2
= (int)(SWIG_As_int(obj1
));
33820 if (SWIG_arg_fail(2)) SWIG_fail
;
33823 arg3
= wxString_in_helper(obj2
);
33824 if (arg3
== NULL
) SWIG_fail
;
33827 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33828 if (SWIG_arg_fail(4)) SWIG_fail
;
33831 arg5
= wxString_in_helper(obj4
);
33832 if (arg5
== NULL
) SWIG_fail
;
33837 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33838 result
= (wxMenuItem
*)(arg1
)->Prepend(arg2
,(wxString
const &)*arg3
,arg4
,(wxString
const &)*arg5
);
33840 wxPyEndAllowThreads(__tstate
);
33841 if (PyErr_Occurred()) SWIG_fail
;
33844 resultobj
= wxPyMake_wxObject(result
, 0);
33868 static PyObject
*_wrap_Menu_Remove(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33869 PyObject
*resultobj
;
33870 wxMenu
*arg1
= (wxMenu
*) 0 ;
33872 wxMenuItem
*result
;
33873 PyObject
* obj0
= 0 ;
33874 PyObject
* obj1
= 0 ;
33875 char *kwnames
[] = {
33876 (char *) "self",(char *) "id", NULL
33879 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_Remove",kwnames
,&obj0
,&obj1
)) goto fail
;
33880 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33881 if (SWIG_arg_fail(1)) SWIG_fail
;
33883 arg2
= (int)(SWIG_As_int(obj1
));
33884 if (SWIG_arg_fail(2)) SWIG_fail
;
33887 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33888 result
= (wxMenuItem
*)(arg1
)->Remove(arg2
);
33890 wxPyEndAllowThreads(__tstate
);
33891 if (PyErr_Occurred()) SWIG_fail
;
33894 resultobj
= wxPyMake_wxObject(result
, 0);
33902 static PyObject
*_wrap_Menu_RemoveItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33903 PyObject
*resultobj
;
33904 wxMenu
*arg1
= (wxMenu
*) 0 ;
33905 wxMenuItem
*arg2
= (wxMenuItem
*) 0 ;
33906 wxMenuItem
*result
;
33907 PyObject
* obj0
= 0 ;
33908 PyObject
* obj1
= 0 ;
33909 char *kwnames
[] = {
33910 (char *) "self",(char *) "item", NULL
33913 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_RemoveItem",kwnames
,&obj0
,&obj1
)) goto fail
;
33914 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33915 if (SWIG_arg_fail(1)) SWIG_fail
;
33916 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
33917 if (SWIG_arg_fail(2)) SWIG_fail
;
33919 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33920 result
= (wxMenuItem
*)(arg1
)->Remove(arg2
);
33922 wxPyEndAllowThreads(__tstate
);
33923 if (PyErr_Occurred()) SWIG_fail
;
33926 resultobj
= wxPyMake_wxObject(result
, 0);
33934 static PyObject
*_wrap_Menu_Delete(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33935 PyObject
*resultobj
;
33936 wxMenu
*arg1
= (wxMenu
*) 0 ;
33939 PyObject
* obj0
= 0 ;
33940 PyObject
* obj1
= 0 ;
33941 char *kwnames
[] = {
33942 (char *) "self",(char *) "id", NULL
33945 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_Delete",kwnames
,&obj0
,&obj1
)) goto fail
;
33946 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33947 if (SWIG_arg_fail(1)) SWIG_fail
;
33949 arg2
= (int)(SWIG_As_int(obj1
));
33950 if (SWIG_arg_fail(2)) SWIG_fail
;
33953 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33954 result
= (bool)(arg1
)->Delete(arg2
);
33956 wxPyEndAllowThreads(__tstate
);
33957 if (PyErr_Occurred()) SWIG_fail
;
33960 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33968 static PyObject
*_wrap_Menu_DeleteItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33969 PyObject
*resultobj
;
33970 wxMenu
*arg1
= (wxMenu
*) 0 ;
33971 wxMenuItem
*arg2
= (wxMenuItem
*) 0 ;
33973 PyObject
* obj0
= 0 ;
33974 PyObject
* obj1
= 0 ;
33975 char *kwnames
[] = {
33976 (char *) "self",(char *) "item", NULL
33979 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_DeleteItem",kwnames
,&obj0
,&obj1
)) goto fail
;
33980 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33981 if (SWIG_arg_fail(1)) SWIG_fail
;
33982 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
33983 if (SWIG_arg_fail(2)) SWIG_fail
;
33985 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33986 result
= (bool)(arg1
)->Delete(arg2
);
33988 wxPyEndAllowThreads(__tstate
);
33989 if (PyErr_Occurred()) SWIG_fail
;
33992 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34000 static PyObject
*_wrap_Menu_Destroy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34001 PyObject
*resultobj
;
34002 wxMenu
*arg1
= (wxMenu
*) 0 ;
34003 PyObject
* obj0
= 0 ;
34004 char *kwnames
[] = {
34005 (char *) "self", NULL
34008 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_Destroy",kwnames
,&obj0
)) goto fail
;
34009 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34010 if (SWIG_arg_fail(1)) SWIG_fail
;
34012 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34013 wxMenu_Destroy(arg1
);
34015 wxPyEndAllowThreads(__tstate
);
34016 if (PyErr_Occurred()) SWIG_fail
;
34018 Py_INCREF(Py_None
); resultobj
= Py_None
;
34025 static PyObject
*_wrap_Menu_DestroyId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34026 PyObject
*resultobj
;
34027 wxMenu
*arg1
= (wxMenu
*) 0 ;
34030 PyObject
* obj0
= 0 ;
34031 PyObject
* obj1
= 0 ;
34032 char *kwnames
[] = {
34033 (char *) "self",(char *) "id", NULL
34036 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_DestroyId",kwnames
,&obj0
,&obj1
)) goto fail
;
34037 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34038 if (SWIG_arg_fail(1)) SWIG_fail
;
34040 arg2
= (int)(SWIG_As_int(obj1
));
34041 if (SWIG_arg_fail(2)) SWIG_fail
;
34044 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34045 result
= (bool)(arg1
)->Destroy(arg2
);
34047 wxPyEndAllowThreads(__tstate
);
34048 if (PyErr_Occurred()) SWIG_fail
;
34051 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34059 static PyObject
*_wrap_Menu_DestroyItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34060 PyObject
*resultobj
;
34061 wxMenu
*arg1
= (wxMenu
*) 0 ;
34062 wxMenuItem
*arg2
= (wxMenuItem
*) 0 ;
34064 PyObject
* obj0
= 0 ;
34065 PyObject
* obj1
= 0 ;
34066 char *kwnames
[] = {
34067 (char *) "self",(char *) "item", NULL
34070 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_DestroyItem",kwnames
,&obj0
,&obj1
)) goto fail
;
34071 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34072 if (SWIG_arg_fail(1)) SWIG_fail
;
34073 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
34074 if (SWIG_arg_fail(2)) SWIG_fail
;
34076 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34077 result
= (bool)(arg1
)->Destroy(arg2
);
34079 wxPyEndAllowThreads(__tstate
);
34080 if (PyErr_Occurred()) SWIG_fail
;
34083 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34091 static PyObject
*_wrap_Menu_GetMenuItemCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34092 PyObject
*resultobj
;
34093 wxMenu
*arg1
= (wxMenu
*) 0 ;
34095 PyObject
* obj0
= 0 ;
34096 char *kwnames
[] = {
34097 (char *) "self", NULL
34100 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetMenuItemCount",kwnames
,&obj0
)) goto fail
;
34101 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34102 if (SWIG_arg_fail(1)) SWIG_fail
;
34104 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34105 result
= (size_t)((wxMenu
const *)arg1
)->GetMenuItemCount();
34107 wxPyEndAllowThreads(__tstate
);
34108 if (PyErr_Occurred()) SWIG_fail
;
34111 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
34119 static PyObject
*_wrap_Menu_GetMenuItems(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34120 PyObject
*resultobj
;
34121 wxMenu
*arg1
= (wxMenu
*) 0 ;
34123 PyObject
* obj0
= 0 ;
34124 char *kwnames
[] = {
34125 (char *) "self", NULL
34128 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetMenuItems",kwnames
,&obj0
)) goto fail
;
34129 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34130 if (SWIG_arg_fail(1)) SWIG_fail
;
34132 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34133 result
= (PyObject
*)wxMenu_GetMenuItems(arg1
);
34135 wxPyEndAllowThreads(__tstate
);
34136 if (PyErr_Occurred()) SWIG_fail
;
34138 resultobj
= result
;
34145 static PyObject
*_wrap_Menu_FindItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34146 PyObject
*resultobj
;
34147 wxMenu
*arg1
= (wxMenu
*) 0 ;
34148 wxString
*arg2
= 0 ;
34150 bool temp2
= false ;
34151 PyObject
* obj0
= 0 ;
34152 PyObject
* obj1
= 0 ;
34153 char *kwnames
[] = {
34154 (char *) "self",(char *) "item", NULL
34157 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_FindItem",kwnames
,&obj0
,&obj1
)) goto fail
;
34158 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34159 if (SWIG_arg_fail(1)) SWIG_fail
;
34161 arg2
= wxString_in_helper(obj1
);
34162 if (arg2
== NULL
) SWIG_fail
;
34166 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34167 result
= (int)((wxMenu
const *)arg1
)->FindItem((wxString
const &)*arg2
);
34169 wxPyEndAllowThreads(__tstate
);
34170 if (PyErr_Occurred()) SWIG_fail
;
34173 resultobj
= SWIG_From_int((int)(result
));
34189 static PyObject
*_wrap_Menu_FindItemById(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34190 PyObject
*resultobj
;
34191 wxMenu
*arg1
= (wxMenu
*) 0 ;
34193 wxMenuItem
*result
;
34194 PyObject
* obj0
= 0 ;
34195 PyObject
* obj1
= 0 ;
34196 char *kwnames
[] = {
34197 (char *) "self",(char *) "id", NULL
34200 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_FindItemById",kwnames
,&obj0
,&obj1
)) goto fail
;
34201 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34202 if (SWIG_arg_fail(1)) SWIG_fail
;
34204 arg2
= (int)(SWIG_As_int(obj1
));
34205 if (SWIG_arg_fail(2)) SWIG_fail
;
34208 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34209 result
= (wxMenuItem
*)((wxMenu
const *)arg1
)->FindItem(arg2
);
34211 wxPyEndAllowThreads(__tstate
);
34212 if (PyErr_Occurred()) SWIG_fail
;
34215 resultobj
= wxPyMake_wxObject(result
, 0);
34223 static PyObject
*_wrap_Menu_FindItemByPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34224 PyObject
*resultobj
;
34225 wxMenu
*arg1
= (wxMenu
*) 0 ;
34227 wxMenuItem
*result
;
34228 PyObject
* obj0
= 0 ;
34229 PyObject
* obj1
= 0 ;
34230 char *kwnames
[] = {
34231 (char *) "self",(char *) "position", NULL
34234 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_FindItemByPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
34235 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34236 if (SWIG_arg_fail(1)) SWIG_fail
;
34238 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
34239 if (SWIG_arg_fail(2)) SWIG_fail
;
34242 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34243 result
= (wxMenuItem
*)((wxMenu
const *)arg1
)->FindItemByPosition(arg2
);
34245 wxPyEndAllowThreads(__tstate
);
34246 if (PyErr_Occurred()) SWIG_fail
;
34249 resultobj
= wxPyMake_wxObject(result
, 0);
34257 static PyObject
*_wrap_Menu_Enable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34258 PyObject
*resultobj
;
34259 wxMenu
*arg1
= (wxMenu
*) 0 ;
34262 PyObject
* obj0
= 0 ;
34263 PyObject
* obj1
= 0 ;
34264 PyObject
* obj2
= 0 ;
34265 char *kwnames
[] = {
34266 (char *) "self",(char *) "id",(char *) "enable", NULL
34269 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Menu_Enable",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
34270 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34271 if (SWIG_arg_fail(1)) SWIG_fail
;
34273 arg2
= (int)(SWIG_As_int(obj1
));
34274 if (SWIG_arg_fail(2)) SWIG_fail
;
34277 arg3
= (bool)(SWIG_As_bool(obj2
));
34278 if (SWIG_arg_fail(3)) SWIG_fail
;
34281 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34282 (arg1
)->Enable(arg2
,arg3
);
34284 wxPyEndAllowThreads(__tstate
);
34285 if (PyErr_Occurred()) SWIG_fail
;
34287 Py_INCREF(Py_None
); resultobj
= Py_None
;
34294 static PyObject
*_wrap_Menu_IsEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34295 PyObject
*resultobj
;
34296 wxMenu
*arg1
= (wxMenu
*) 0 ;
34299 PyObject
* obj0
= 0 ;
34300 PyObject
* obj1
= 0 ;
34301 char *kwnames
[] = {
34302 (char *) "self",(char *) "id", NULL
34305 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_IsEnabled",kwnames
,&obj0
,&obj1
)) goto fail
;
34306 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34307 if (SWIG_arg_fail(1)) SWIG_fail
;
34309 arg2
= (int)(SWIG_As_int(obj1
));
34310 if (SWIG_arg_fail(2)) SWIG_fail
;
34313 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34314 result
= (bool)((wxMenu
const *)arg1
)->IsEnabled(arg2
);
34316 wxPyEndAllowThreads(__tstate
);
34317 if (PyErr_Occurred()) SWIG_fail
;
34320 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34328 static PyObject
*_wrap_Menu_Check(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34329 PyObject
*resultobj
;
34330 wxMenu
*arg1
= (wxMenu
*) 0 ;
34333 PyObject
* obj0
= 0 ;
34334 PyObject
* obj1
= 0 ;
34335 PyObject
* obj2
= 0 ;
34336 char *kwnames
[] = {
34337 (char *) "self",(char *) "id",(char *) "check", NULL
34340 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Menu_Check",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
34341 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34342 if (SWIG_arg_fail(1)) SWIG_fail
;
34344 arg2
= (int)(SWIG_As_int(obj1
));
34345 if (SWIG_arg_fail(2)) SWIG_fail
;
34348 arg3
= (bool)(SWIG_As_bool(obj2
));
34349 if (SWIG_arg_fail(3)) SWIG_fail
;
34352 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34353 (arg1
)->Check(arg2
,arg3
);
34355 wxPyEndAllowThreads(__tstate
);
34356 if (PyErr_Occurred()) SWIG_fail
;
34358 Py_INCREF(Py_None
); resultobj
= Py_None
;
34365 static PyObject
*_wrap_Menu_IsChecked(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34366 PyObject
*resultobj
;
34367 wxMenu
*arg1
= (wxMenu
*) 0 ;
34370 PyObject
* obj0
= 0 ;
34371 PyObject
* obj1
= 0 ;
34372 char *kwnames
[] = {
34373 (char *) "self",(char *) "id", NULL
34376 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_IsChecked",kwnames
,&obj0
,&obj1
)) goto fail
;
34377 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34378 if (SWIG_arg_fail(1)) SWIG_fail
;
34380 arg2
= (int)(SWIG_As_int(obj1
));
34381 if (SWIG_arg_fail(2)) SWIG_fail
;
34384 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34385 result
= (bool)((wxMenu
const *)arg1
)->IsChecked(arg2
);
34387 wxPyEndAllowThreads(__tstate
);
34388 if (PyErr_Occurred()) SWIG_fail
;
34391 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34399 static PyObject
*_wrap_Menu_SetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34400 PyObject
*resultobj
;
34401 wxMenu
*arg1
= (wxMenu
*) 0 ;
34403 wxString
*arg3
= 0 ;
34404 bool temp3
= false ;
34405 PyObject
* obj0
= 0 ;
34406 PyObject
* obj1
= 0 ;
34407 PyObject
* obj2
= 0 ;
34408 char *kwnames
[] = {
34409 (char *) "self",(char *) "id",(char *) "label", NULL
34412 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Menu_SetLabel",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
34413 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34414 if (SWIG_arg_fail(1)) SWIG_fail
;
34416 arg2
= (int)(SWIG_As_int(obj1
));
34417 if (SWIG_arg_fail(2)) SWIG_fail
;
34420 arg3
= wxString_in_helper(obj2
);
34421 if (arg3
== NULL
) SWIG_fail
;
34425 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34426 (arg1
)->SetLabel(arg2
,(wxString
const &)*arg3
);
34428 wxPyEndAllowThreads(__tstate
);
34429 if (PyErr_Occurred()) SWIG_fail
;
34431 Py_INCREF(Py_None
); resultobj
= Py_None
;
34446 static PyObject
*_wrap_Menu_GetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34447 PyObject
*resultobj
;
34448 wxMenu
*arg1
= (wxMenu
*) 0 ;
34451 PyObject
* obj0
= 0 ;
34452 PyObject
* obj1
= 0 ;
34453 char *kwnames
[] = {
34454 (char *) "self",(char *) "id", NULL
34457 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_GetLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
34458 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34459 if (SWIG_arg_fail(1)) SWIG_fail
;
34461 arg2
= (int)(SWIG_As_int(obj1
));
34462 if (SWIG_arg_fail(2)) SWIG_fail
;
34465 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34466 result
= ((wxMenu
const *)arg1
)->GetLabel(arg2
);
34468 wxPyEndAllowThreads(__tstate
);
34469 if (PyErr_Occurred()) SWIG_fail
;
34473 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
34475 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
34484 static PyObject
*_wrap_Menu_SetHelpString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34485 PyObject
*resultobj
;
34486 wxMenu
*arg1
= (wxMenu
*) 0 ;
34488 wxString
*arg3
= 0 ;
34489 bool temp3
= false ;
34490 PyObject
* obj0
= 0 ;
34491 PyObject
* obj1
= 0 ;
34492 PyObject
* obj2
= 0 ;
34493 char *kwnames
[] = {
34494 (char *) "self",(char *) "id",(char *) "helpString", NULL
34497 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Menu_SetHelpString",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
34498 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34499 if (SWIG_arg_fail(1)) SWIG_fail
;
34501 arg2
= (int)(SWIG_As_int(obj1
));
34502 if (SWIG_arg_fail(2)) SWIG_fail
;
34505 arg3
= wxString_in_helper(obj2
);
34506 if (arg3
== NULL
) SWIG_fail
;
34510 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34511 (arg1
)->SetHelpString(arg2
,(wxString
const &)*arg3
);
34513 wxPyEndAllowThreads(__tstate
);
34514 if (PyErr_Occurred()) SWIG_fail
;
34516 Py_INCREF(Py_None
); resultobj
= Py_None
;
34531 static PyObject
*_wrap_Menu_GetHelpString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34532 PyObject
*resultobj
;
34533 wxMenu
*arg1
= (wxMenu
*) 0 ;
34536 PyObject
* obj0
= 0 ;
34537 PyObject
* obj1
= 0 ;
34538 char *kwnames
[] = {
34539 (char *) "self",(char *) "id", NULL
34542 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_GetHelpString",kwnames
,&obj0
,&obj1
)) goto fail
;
34543 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34544 if (SWIG_arg_fail(1)) SWIG_fail
;
34546 arg2
= (int)(SWIG_As_int(obj1
));
34547 if (SWIG_arg_fail(2)) SWIG_fail
;
34550 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34551 result
= ((wxMenu
const *)arg1
)->GetHelpString(arg2
);
34553 wxPyEndAllowThreads(__tstate
);
34554 if (PyErr_Occurred()) SWIG_fail
;
34558 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
34560 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
34569 static PyObject
*_wrap_Menu_SetTitle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34570 PyObject
*resultobj
;
34571 wxMenu
*arg1
= (wxMenu
*) 0 ;
34572 wxString
*arg2
= 0 ;
34573 bool temp2
= false ;
34574 PyObject
* obj0
= 0 ;
34575 PyObject
* obj1
= 0 ;
34576 char *kwnames
[] = {
34577 (char *) "self",(char *) "title", NULL
34580 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_SetTitle",kwnames
,&obj0
,&obj1
)) goto fail
;
34581 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34582 if (SWIG_arg_fail(1)) SWIG_fail
;
34584 arg2
= wxString_in_helper(obj1
);
34585 if (arg2
== NULL
) SWIG_fail
;
34589 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34590 (arg1
)->SetTitle((wxString
const &)*arg2
);
34592 wxPyEndAllowThreads(__tstate
);
34593 if (PyErr_Occurred()) SWIG_fail
;
34595 Py_INCREF(Py_None
); resultobj
= Py_None
;
34610 static PyObject
*_wrap_Menu_GetTitle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34611 PyObject
*resultobj
;
34612 wxMenu
*arg1
= (wxMenu
*) 0 ;
34614 PyObject
* obj0
= 0 ;
34615 char *kwnames
[] = {
34616 (char *) "self", NULL
34619 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetTitle",kwnames
,&obj0
)) goto fail
;
34620 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34621 if (SWIG_arg_fail(1)) SWIG_fail
;
34623 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34624 result
= ((wxMenu
const *)arg1
)->GetTitle();
34626 wxPyEndAllowThreads(__tstate
);
34627 if (PyErr_Occurred()) SWIG_fail
;
34631 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
34633 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
34642 static PyObject
*_wrap_Menu_SetEventHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34643 PyObject
*resultobj
;
34644 wxMenu
*arg1
= (wxMenu
*) 0 ;
34645 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
34646 PyObject
* obj0
= 0 ;
34647 PyObject
* obj1
= 0 ;
34648 char *kwnames
[] = {
34649 (char *) "self",(char *) "handler", NULL
34652 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_SetEventHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
34653 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34654 if (SWIG_arg_fail(1)) SWIG_fail
;
34655 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
34656 if (SWIG_arg_fail(2)) SWIG_fail
;
34658 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34659 (arg1
)->SetEventHandler(arg2
);
34661 wxPyEndAllowThreads(__tstate
);
34662 if (PyErr_Occurred()) SWIG_fail
;
34664 Py_INCREF(Py_None
); resultobj
= Py_None
;
34671 static PyObject
*_wrap_Menu_GetEventHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34672 PyObject
*resultobj
;
34673 wxMenu
*arg1
= (wxMenu
*) 0 ;
34674 wxEvtHandler
*result
;
34675 PyObject
* obj0
= 0 ;
34676 char *kwnames
[] = {
34677 (char *) "self", NULL
34680 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetEventHandler",kwnames
,&obj0
)) goto fail
;
34681 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34682 if (SWIG_arg_fail(1)) SWIG_fail
;
34684 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34685 result
= (wxEvtHandler
*)((wxMenu
const *)arg1
)->GetEventHandler();
34687 wxPyEndAllowThreads(__tstate
);
34688 if (PyErr_Occurred()) SWIG_fail
;
34691 resultobj
= wxPyMake_wxObject(result
, 0);
34699 static PyObject
*_wrap_Menu_SetInvokingWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34700 PyObject
*resultobj
;
34701 wxMenu
*arg1
= (wxMenu
*) 0 ;
34702 wxWindow
*arg2
= (wxWindow
*) 0 ;
34703 PyObject
* obj0
= 0 ;
34704 PyObject
* obj1
= 0 ;
34705 char *kwnames
[] = {
34706 (char *) "self",(char *) "win", NULL
34709 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_SetInvokingWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
34710 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34711 if (SWIG_arg_fail(1)) SWIG_fail
;
34712 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
34713 if (SWIG_arg_fail(2)) SWIG_fail
;
34715 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34716 (arg1
)->SetInvokingWindow(arg2
);
34718 wxPyEndAllowThreads(__tstate
);
34719 if (PyErr_Occurred()) SWIG_fail
;
34721 Py_INCREF(Py_None
); resultobj
= Py_None
;
34728 static PyObject
*_wrap_Menu_GetInvokingWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34729 PyObject
*resultobj
;
34730 wxMenu
*arg1
= (wxMenu
*) 0 ;
34732 PyObject
* obj0
= 0 ;
34733 char *kwnames
[] = {
34734 (char *) "self", NULL
34737 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetInvokingWindow",kwnames
,&obj0
)) goto fail
;
34738 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34739 if (SWIG_arg_fail(1)) SWIG_fail
;
34741 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34742 result
= (wxWindow
*)((wxMenu
const *)arg1
)->GetInvokingWindow();
34744 wxPyEndAllowThreads(__tstate
);
34745 if (PyErr_Occurred()) SWIG_fail
;
34748 resultobj
= wxPyMake_wxObject(result
, 0);
34756 static PyObject
*_wrap_Menu_GetStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34757 PyObject
*resultobj
;
34758 wxMenu
*arg1
= (wxMenu
*) 0 ;
34760 PyObject
* obj0
= 0 ;
34761 char *kwnames
[] = {
34762 (char *) "self", NULL
34765 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetStyle",kwnames
,&obj0
)) goto fail
;
34766 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34767 if (SWIG_arg_fail(1)) SWIG_fail
;
34769 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34770 result
= (long)((wxMenu
const *)arg1
)->GetStyle();
34772 wxPyEndAllowThreads(__tstate
);
34773 if (PyErr_Occurred()) SWIG_fail
;
34776 resultobj
= SWIG_From_long((long)(result
));
34784 static PyObject
*_wrap_Menu_UpdateUI(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34785 PyObject
*resultobj
;
34786 wxMenu
*arg1
= (wxMenu
*) 0 ;
34787 wxEvtHandler
*arg2
= (wxEvtHandler
*) NULL
;
34788 PyObject
* obj0
= 0 ;
34789 PyObject
* obj1
= 0 ;
34790 char *kwnames
[] = {
34791 (char *) "self",(char *) "source", NULL
34794 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Menu_UpdateUI",kwnames
,&obj0
,&obj1
)) goto fail
;
34795 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34796 if (SWIG_arg_fail(1)) SWIG_fail
;
34798 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
34799 if (SWIG_arg_fail(2)) SWIG_fail
;
34802 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34803 (arg1
)->UpdateUI(arg2
);
34805 wxPyEndAllowThreads(__tstate
);
34806 if (PyErr_Occurred()) SWIG_fail
;
34808 Py_INCREF(Py_None
); resultobj
= Py_None
;
34815 static PyObject
*_wrap_Menu_GetMenuBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34816 PyObject
*resultobj
;
34817 wxMenu
*arg1
= (wxMenu
*) 0 ;
34819 PyObject
* obj0
= 0 ;
34820 char *kwnames
[] = {
34821 (char *) "self", NULL
34824 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetMenuBar",kwnames
,&obj0
)) goto fail
;
34825 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34826 if (SWIG_arg_fail(1)) SWIG_fail
;
34828 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34829 result
= (wxMenuBar
*)((wxMenu
const *)arg1
)->GetMenuBar();
34831 wxPyEndAllowThreads(__tstate
);
34832 if (PyErr_Occurred()) SWIG_fail
;
34835 resultobj
= wxPyMake_wxObject(result
, 0);
34843 static PyObject
*_wrap_Menu_Attach(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34844 PyObject
*resultobj
;
34845 wxMenu
*arg1
= (wxMenu
*) 0 ;
34846 wxMenuBarBase
*arg2
= (wxMenuBarBase
*) 0 ;
34847 PyObject
* obj0
= 0 ;
34848 PyObject
* obj1
= 0 ;
34849 char *kwnames
[] = {
34850 (char *) "self",(char *) "menubar", NULL
34853 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_Attach",kwnames
,&obj0
,&obj1
)) goto fail
;
34854 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34855 if (SWIG_arg_fail(1)) SWIG_fail
;
34856 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMenuBarBase
, SWIG_POINTER_EXCEPTION
| 0);
34857 if (SWIG_arg_fail(2)) SWIG_fail
;
34859 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34860 (arg1
)->Attach(arg2
);
34862 wxPyEndAllowThreads(__tstate
);
34863 if (PyErr_Occurred()) SWIG_fail
;
34865 Py_INCREF(Py_None
); resultobj
= Py_None
;
34872 static PyObject
*_wrap_Menu_Detach(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34873 PyObject
*resultobj
;
34874 wxMenu
*arg1
= (wxMenu
*) 0 ;
34875 PyObject
* obj0
= 0 ;
34876 char *kwnames
[] = {
34877 (char *) "self", NULL
34880 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_Detach",kwnames
,&obj0
)) goto fail
;
34881 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34882 if (SWIG_arg_fail(1)) SWIG_fail
;
34884 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34887 wxPyEndAllowThreads(__tstate
);
34888 if (PyErr_Occurred()) SWIG_fail
;
34890 Py_INCREF(Py_None
); resultobj
= Py_None
;
34897 static PyObject
*_wrap_Menu_IsAttached(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34898 PyObject
*resultobj
;
34899 wxMenu
*arg1
= (wxMenu
*) 0 ;
34901 PyObject
* obj0
= 0 ;
34902 char *kwnames
[] = {
34903 (char *) "self", NULL
34906 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_IsAttached",kwnames
,&obj0
)) goto fail
;
34907 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34908 if (SWIG_arg_fail(1)) SWIG_fail
;
34910 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34911 result
= (bool)((wxMenu
const *)arg1
)->IsAttached();
34913 wxPyEndAllowThreads(__tstate
);
34914 if (PyErr_Occurred()) SWIG_fail
;
34917 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34925 static PyObject
*_wrap_Menu_SetParent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34926 PyObject
*resultobj
;
34927 wxMenu
*arg1
= (wxMenu
*) 0 ;
34928 wxMenu
*arg2
= (wxMenu
*) 0 ;
34929 PyObject
* obj0
= 0 ;
34930 PyObject
* obj1
= 0 ;
34931 char *kwnames
[] = {
34932 (char *) "self",(char *) "parent", NULL
34935 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_SetParent",kwnames
,&obj0
,&obj1
)) goto fail
;
34936 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34937 if (SWIG_arg_fail(1)) SWIG_fail
;
34938 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34939 if (SWIG_arg_fail(2)) SWIG_fail
;
34941 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34942 (arg1
)->SetParent(arg2
);
34944 wxPyEndAllowThreads(__tstate
);
34945 if (PyErr_Occurred()) SWIG_fail
;
34947 Py_INCREF(Py_None
); resultobj
= Py_None
;
34954 static PyObject
*_wrap_Menu_GetParent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34955 PyObject
*resultobj
;
34956 wxMenu
*arg1
= (wxMenu
*) 0 ;
34958 PyObject
* obj0
= 0 ;
34959 char *kwnames
[] = {
34960 (char *) "self", NULL
34963 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetParent",kwnames
,&obj0
)) goto fail
;
34964 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34965 if (SWIG_arg_fail(1)) SWIG_fail
;
34967 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34968 result
= (wxMenu
*)((wxMenu
const *)arg1
)->GetParent();
34970 wxPyEndAllowThreads(__tstate
);
34971 if (PyErr_Occurred()) SWIG_fail
;
34974 resultobj
= wxPyMake_wxObject(result
, 0);
34982 static PyObject
* Menu_swigregister(PyObject
*, PyObject
*args
) {
34984 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
34985 SWIG_TypeClientData(SWIGTYPE_p_wxMenu
, obj
);
34987 return Py_BuildValue((char *)"");
34989 static PyObject
*_wrap_new_MenuBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34990 PyObject
*resultobj
;
34991 long arg1
= (long) 0 ;
34993 PyObject
* obj0
= 0 ;
34994 char *kwnames
[] = {
34995 (char *) "style", NULL
34998 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_MenuBar",kwnames
,&obj0
)) goto fail
;
35001 arg1
= (long)(SWIG_As_long(obj0
));
35002 if (SWIG_arg_fail(1)) SWIG_fail
;
35006 if (!wxPyCheckForApp()) SWIG_fail
;
35007 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35008 result
= (wxMenuBar
*)new wxMenuBar(arg1
);
35010 wxPyEndAllowThreads(__tstate
);
35011 if (PyErr_Occurred()) SWIG_fail
;
35013 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMenuBar
, 1);
35020 static PyObject
*_wrap_MenuBar_Append(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35021 PyObject
*resultobj
;
35022 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
35023 wxMenu
*arg2
= (wxMenu
*) 0 ;
35024 wxString
*arg3
= 0 ;
35026 bool temp3
= false ;
35027 PyObject
* obj0
= 0 ;
35028 PyObject
* obj1
= 0 ;
35029 PyObject
* obj2
= 0 ;
35030 char *kwnames
[] = {
35031 (char *) "self",(char *) "menu",(char *) "title", NULL
35034 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_Append",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
35035 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
35036 if (SWIG_arg_fail(1)) SWIG_fail
;
35037 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
35038 if (SWIG_arg_fail(2)) SWIG_fail
;
35040 arg3
= wxString_in_helper(obj2
);
35041 if (arg3
== NULL
) SWIG_fail
;
35045 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35046 result
= (bool)(arg1
)->Append(arg2
,(wxString
const &)*arg3
);
35048 wxPyEndAllowThreads(__tstate
);
35049 if (PyErr_Occurred()) SWIG_fail
;
35052 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35068 static PyObject
*_wrap_MenuBar_Insert(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35069 PyObject
*resultobj
;
35070 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
35072 wxMenu
*arg3
= (wxMenu
*) 0 ;
35073 wxString
*arg4
= 0 ;
35075 bool temp4
= false ;
35076 PyObject
* obj0
= 0 ;
35077 PyObject
* obj1
= 0 ;
35078 PyObject
* obj2
= 0 ;
35079 PyObject
* obj3
= 0 ;
35080 char *kwnames
[] = {
35081 (char *) "self",(char *) "pos",(char *) "menu",(char *) "title", NULL
35084 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:MenuBar_Insert",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
35085 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
35086 if (SWIG_arg_fail(1)) SWIG_fail
;
35088 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
35089 if (SWIG_arg_fail(2)) SWIG_fail
;
35091 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
35092 if (SWIG_arg_fail(3)) SWIG_fail
;
35094 arg4
= wxString_in_helper(obj3
);
35095 if (arg4
== NULL
) SWIG_fail
;
35099 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35100 result
= (bool)(arg1
)->Insert(arg2
,arg3
,(wxString
const &)*arg4
);
35102 wxPyEndAllowThreads(__tstate
);
35103 if (PyErr_Occurred()) SWIG_fail
;
35106 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35122 static PyObject
*_wrap_MenuBar_GetMenuCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35123 PyObject
*resultobj
;
35124 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
35126 PyObject
* obj0
= 0 ;
35127 char *kwnames
[] = {
35128 (char *) "self", NULL
35131 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuBar_GetMenuCount",kwnames
,&obj0
)) goto fail
;
35132 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
35133 if (SWIG_arg_fail(1)) SWIG_fail
;
35135 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35136 result
= (size_t)((wxMenuBar
const *)arg1
)->GetMenuCount();
35138 wxPyEndAllowThreads(__tstate
);
35139 if (PyErr_Occurred()) SWIG_fail
;
35142 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
35150 static PyObject
*_wrap_MenuBar_GetMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35151 PyObject
*resultobj
;
35152 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
35155 PyObject
* obj0
= 0 ;
35156 PyObject
* obj1
= 0 ;
35157 char *kwnames
[] = {
35158 (char *) "self",(char *) "pos", NULL
35161 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_GetMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
35162 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
35163 if (SWIG_arg_fail(1)) SWIG_fail
;
35165 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
35166 if (SWIG_arg_fail(2)) SWIG_fail
;
35169 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35170 result
= (wxMenu
*)((wxMenuBar
const *)arg1
)->GetMenu(arg2
);
35172 wxPyEndAllowThreads(__tstate
);
35173 if (PyErr_Occurred()) SWIG_fail
;
35176 resultobj
= wxPyMake_wxObject(result
, 0);
35184 static PyObject
*_wrap_MenuBar_Replace(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35185 PyObject
*resultobj
;
35186 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
35188 wxMenu
*arg3
= (wxMenu
*) 0 ;
35189 wxString
*arg4
= 0 ;
35191 bool temp4
= false ;
35192 PyObject
* obj0
= 0 ;
35193 PyObject
* obj1
= 0 ;
35194 PyObject
* obj2
= 0 ;
35195 PyObject
* obj3
= 0 ;
35196 char *kwnames
[] = {
35197 (char *) "self",(char *) "pos",(char *) "menu",(char *) "title", NULL
35200 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:MenuBar_Replace",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
35201 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
35202 if (SWIG_arg_fail(1)) SWIG_fail
;
35204 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
35205 if (SWIG_arg_fail(2)) SWIG_fail
;
35207 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
35208 if (SWIG_arg_fail(3)) SWIG_fail
;
35210 arg4
= wxString_in_helper(obj3
);
35211 if (arg4
== NULL
) SWIG_fail
;
35215 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35216 result
= (wxMenu
*)(arg1
)->Replace(arg2
,arg3
,(wxString
const &)*arg4
);
35218 wxPyEndAllowThreads(__tstate
);
35219 if (PyErr_Occurred()) SWIG_fail
;
35222 resultobj
= wxPyMake_wxObject(result
, 0);
35238 static PyObject
*_wrap_MenuBar_Remove(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35239 PyObject
*resultobj
;
35240 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
35243 PyObject
* obj0
= 0 ;
35244 PyObject
* obj1
= 0 ;
35245 char *kwnames
[] = {
35246 (char *) "self",(char *) "pos", NULL
35249 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_Remove",kwnames
,&obj0
,&obj1
)) goto fail
;
35250 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
35251 if (SWIG_arg_fail(1)) SWIG_fail
;
35253 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
35254 if (SWIG_arg_fail(2)) SWIG_fail
;
35257 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35258 result
= (wxMenu
*)(arg1
)->Remove(arg2
);
35260 wxPyEndAllowThreads(__tstate
);
35261 if (PyErr_Occurred()) SWIG_fail
;
35264 resultobj
= wxPyMake_wxObject(result
, 0);
35272 static PyObject
*_wrap_MenuBar_EnableTop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35273 PyObject
*resultobj
;
35274 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
35277 PyObject
* obj0
= 0 ;
35278 PyObject
* obj1
= 0 ;
35279 PyObject
* obj2
= 0 ;
35280 char *kwnames
[] = {
35281 (char *) "self",(char *) "pos",(char *) "enable", NULL
35284 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_EnableTop",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
35285 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
35286 if (SWIG_arg_fail(1)) SWIG_fail
;
35288 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
35289 if (SWIG_arg_fail(2)) SWIG_fail
;
35292 arg3
= (bool)(SWIG_As_bool(obj2
));
35293 if (SWIG_arg_fail(3)) SWIG_fail
;
35296 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35297 (arg1
)->EnableTop(arg2
,arg3
);
35299 wxPyEndAllowThreads(__tstate
);
35300 if (PyErr_Occurred()) SWIG_fail
;
35302 Py_INCREF(Py_None
); resultobj
= Py_None
;
35309 static PyObject
*_wrap_MenuBar_IsEnabledTop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35310 PyObject
*resultobj
;
35311 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
35314 PyObject
* obj0
= 0 ;
35315 PyObject
* obj1
= 0 ;
35316 char *kwnames
[] = {
35317 (char *) "self",(char *) "pos", NULL
35320 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_IsEnabledTop",kwnames
,&obj0
,&obj1
)) goto fail
;
35321 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
35322 if (SWIG_arg_fail(1)) SWIG_fail
;
35324 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
35325 if (SWIG_arg_fail(2)) SWIG_fail
;
35328 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35329 result
= (bool)((wxMenuBar
const *)arg1
)->IsEnabledTop(arg2
);
35331 wxPyEndAllowThreads(__tstate
);
35332 if (PyErr_Occurred()) SWIG_fail
;
35335 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35343 static PyObject
*_wrap_MenuBar_SetLabelTop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35344 PyObject
*resultobj
;
35345 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
35347 wxString
*arg3
= 0 ;
35348 bool temp3
= false ;
35349 PyObject
* obj0
= 0 ;
35350 PyObject
* obj1
= 0 ;
35351 PyObject
* obj2
= 0 ;
35352 char *kwnames
[] = {
35353 (char *) "self",(char *) "pos",(char *) "label", NULL
35356 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_SetLabelTop",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
35357 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
35358 if (SWIG_arg_fail(1)) SWIG_fail
;
35360 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
35361 if (SWIG_arg_fail(2)) SWIG_fail
;
35364 arg3
= wxString_in_helper(obj2
);
35365 if (arg3
== NULL
) SWIG_fail
;
35369 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35370 (arg1
)->SetLabelTop(arg2
,(wxString
const &)*arg3
);
35372 wxPyEndAllowThreads(__tstate
);
35373 if (PyErr_Occurred()) SWIG_fail
;
35375 Py_INCREF(Py_None
); resultobj
= Py_None
;
35390 static PyObject
*_wrap_MenuBar_GetLabelTop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35391 PyObject
*resultobj
;
35392 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
35395 PyObject
* obj0
= 0 ;
35396 PyObject
* obj1
= 0 ;
35397 char *kwnames
[] = {
35398 (char *) "self",(char *) "pos", NULL
35401 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_GetLabelTop",kwnames
,&obj0
,&obj1
)) goto fail
;
35402 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
35403 if (SWIG_arg_fail(1)) SWIG_fail
;
35405 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
35406 if (SWIG_arg_fail(2)) SWIG_fail
;
35409 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35410 result
= ((wxMenuBar
const *)arg1
)->GetLabelTop(arg2
);
35412 wxPyEndAllowThreads(__tstate
);
35413 if (PyErr_Occurred()) SWIG_fail
;
35417 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
35419 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
35428 static PyObject
*_wrap_MenuBar_FindMenuItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35429 PyObject
*resultobj
;
35430 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
35431 wxString
*arg2
= 0 ;
35432 wxString
*arg3
= 0 ;
35434 bool temp2
= false ;
35435 bool temp3
= false ;
35436 PyObject
* obj0
= 0 ;
35437 PyObject
* obj1
= 0 ;
35438 PyObject
* obj2
= 0 ;
35439 char *kwnames
[] = {
35440 (char *) "self",(char *) "menu",(char *) "item", NULL
35443 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_FindMenuItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
35444 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
35445 if (SWIG_arg_fail(1)) SWIG_fail
;
35447 arg2
= wxString_in_helper(obj1
);
35448 if (arg2
== NULL
) SWIG_fail
;
35452 arg3
= wxString_in_helper(obj2
);
35453 if (arg3
== NULL
) SWIG_fail
;
35457 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35458 result
= (int)((wxMenuBar
const *)arg1
)->FindMenuItem((wxString
const &)*arg2
,(wxString
const &)*arg3
);
35460 wxPyEndAllowThreads(__tstate
);
35461 if (PyErr_Occurred()) SWIG_fail
;
35464 resultobj
= SWIG_From_int((int)(result
));
35488 static PyObject
*_wrap_MenuBar_FindItemById(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35489 PyObject
*resultobj
;
35490 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
35492 wxMenuItem
*result
;
35493 PyObject
* obj0
= 0 ;
35494 PyObject
* obj1
= 0 ;
35495 char *kwnames
[] = {
35496 (char *) "self",(char *) "id", NULL
35499 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_FindItemById",kwnames
,&obj0
,&obj1
)) goto fail
;
35500 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
35501 if (SWIG_arg_fail(1)) SWIG_fail
;
35503 arg2
= (int)(SWIG_As_int(obj1
));
35504 if (SWIG_arg_fail(2)) SWIG_fail
;
35507 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35508 result
= (wxMenuItem
*)((wxMenuBar
const *)arg1
)->FindItem(arg2
);
35510 wxPyEndAllowThreads(__tstate
);
35511 if (PyErr_Occurred()) SWIG_fail
;
35514 resultobj
= wxPyMake_wxObject(result
, 0);
35522 static PyObject
*_wrap_MenuBar_FindMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35523 PyObject
*resultobj
;
35524 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
35525 wxString
*arg2
= 0 ;
35527 bool temp2
= false ;
35528 PyObject
* obj0
= 0 ;
35529 PyObject
* obj1
= 0 ;
35530 char *kwnames
[] = {
35531 (char *) "self",(char *) "title", NULL
35534 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_FindMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
35535 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
35536 if (SWIG_arg_fail(1)) SWIG_fail
;
35538 arg2
= wxString_in_helper(obj1
);
35539 if (arg2
== NULL
) SWIG_fail
;
35543 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35544 result
= (int)(arg1
)->FindMenu((wxString
const &)*arg2
);
35546 wxPyEndAllowThreads(__tstate
);
35547 if (PyErr_Occurred()) SWIG_fail
;
35550 resultobj
= SWIG_From_int((int)(result
));
35566 static PyObject
*_wrap_MenuBar_Enable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35567 PyObject
*resultobj
;
35568 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
35571 PyObject
* obj0
= 0 ;
35572 PyObject
* obj1
= 0 ;
35573 PyObject
* obj2
= 0 ;
35574 char *kwnames
[] = {
35575 (char *) "self",(char *) "id",(char *) "enable", NULL
35578 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_Enable",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
35579 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
35580 if (SWIG_arg_fail(1)) SWIG_fail
;
35582 arg2
= (int)(SWIG_As_int(obj1
));
35583 if (SWIG_arg_fail(2)) SWIG_fail
;
35586 arg3
= (bool)(SWIG_As_bool(obj2
));
35587 if (SWIG_arg_fail(3)) SWIG_fail
;
35590 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35591 (arg1
)->Enable(arg2
,arg3
);
35593 wxPyEndAllowThreads(__tstate
);
35594 if (PyErr_Occurred()) SWIG_fail
;
35596 Py_INCREF(Py_None
); resultobj
= Py_None
;
35603 static PyObject
*_wrap_MenuBar_Check(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35604 PyObject
*resultobj
;
35605 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
35608 PyObject
* obj0
= 0 ;
35609 PyObject
* obj1
= 0 ;
35610 PyObject
* obj2
= 0 ;
35611 char *kwnames
[] = {
35612 (char *) "self",(char *) "id",(char *) "check", NULL
35615 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_Check",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
35616 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
35617 if (SWIG_arg_fail(1)) SWIG_fail
;
35619 arg2
= (int)(SWIG_As_int(obj1
));
35620 if (SWIG_arg_fail(2)) SWIG_fail
;
35623 arg3
= (bool)(SWIG_As_bool(obj2
));
35624 if (SWIG_arg_fail(3)) SWIG_fail
;
35627 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35628 (arg1
)->Check(arg2
,arg3
);
35630 wxPyEndAllowThreads(__tstate
);
35631 if (PyErr_Occurred()) SWIG_fail
;
35633 Py_INCREF(Py_None
); resultobj
= Py_None
;
35640 static PyObject
*_wrap_MenuBar_IsChecked(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35641 PyObject
*resultobj
;
35642 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
35645 PyObject
* obj0
= 0 ;
35646 PyObject
* obj1
= 0 ;
35647 char *kwnames
[] = {
35648 (char *) "self",(char *) "id", NULL
35651 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_IsChecked",kwnames
,&obj0
,&obj1
)) goto fail
;
35652 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
35653 if (SWIG_arg_fail(1)) SWIG_fail
;
35655 arg2
= (int)(SWIG_As_int(obj1
));
35656 if (SWIG_arg_fail(2)) SWIG_fail
;
35659 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35660 result
= (bool)((wxMenuBar
const *)arg1
)->IsChecked(arg2
);
35662 wxPyEndAllowThreads(__tstate
);
35663 if (PyErr_Occurred()) SWIG_fail
;
35666 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35674 static PyObject
*_wrap_MenuBar_IsEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35675 PyObject
*resultobj
;
35676 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
35679 PyObject
* obj0
= 0 ;
35680 PyObject
* obj1
= 0 ;
35681 char *kwnames
[] = {
35682 (char *) "self",(char *) "id", NULL
35685 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_IsEnabled",kwnames
,&obj0
,&obj1
)) goto fail
;
35686 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
35687 if (SWIG_arg_fail(1)) SWIG_fail
;
35689 arg2
= (int)(SWIG_As_int(obj1
));
35690 if (SWIG_arg_fail(2)) SWIG_fail
;
35693 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35694 result
= (bool)((wxMenuBar
const *)arg1
)->IsEnabled(arg2
);
35696 wxPyEndAllowThreads(__tstate
);
35697 if (PyErr_Occurred()) SWIG_fail
;
35700 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35708 static PyObject
*_wrap_MenuBar_SetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35709 PyObject
*resultobj
;
35710 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
35712 wxString
*arg3
= 0 ;
35713 bool temp3
= false ;
35714 PyObject
* obj0
= 0 ;
35715 PyObject
* obj1
= 0 ;
35716 PyObject
* obj2
= 0 ;
35717 char *kwnames
[] = {
35718 (char *) "self",(char *) "id",(char *) "label", NULL
35721 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_SetLabel",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
35722 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
35723 if (SWIG_arg_fail(1)) SWIG_fail
;
35725 arg2
= (int)(SWIG_As_int(obj1
));
35726 if (SWIG_arg_fail(2)) SWIG_fail
;
35729 arg3
= wxString_in_helper(obj2
);
35730 if (arg3
== NULL
) SWIG_fail
;
35734 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35735 (arg1
)->SetLabel(arg2
,(wxString
const &)*arg3
);
35737 wxPyEndAllowThreads(__tstate
);
35738 if (PyErr_Occurred()) SWIG_fail
;
35740 Py_INCREF(Py_None
); resultobj
= Py_None
;
35755 static PyObject
*_wrap_MenuBar_GetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35756 PyObject
*resultobj
;
35757 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
35760 PyObject
* obj0
= 0 ;
35761 PyObject
* obj1
= 0 ;
35762 char *kwnames
[] = {
35763 (char *) "self",(char *) "id", NULL
35766 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_GetLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
35767 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
35768 if (SWIG_arg_fail(1)) SWIG_fail
;
35770 arg2
= (int)(SWIG_As_int(obj1
));
35771 if (SWIG_arg_fail(2)) SWIG_fail
;
35774 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35775 result
= ((wxMenuBar
const *)arg1
)->GetLabel(arg2
);
35777 wxPyEndAllowThreads(__tstate
);
35778 if (PyErr_Occurred()) SWIG_fail
;
35782 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
35784 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
35793 static PyObject
*_wrap_MenuBar_SetHelpString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35794 PyObject
*resultobj
;
35795 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
35797 wxString
*arg3
= 0 ;
35798 bool temp3
= false ;
35799 PyObject
* obj0
= 0 ;
35800 PyObject
* obj1
= 0 ;
35801 PyObject
* obj2
= 0 ;
35802 char *kwnames
[] = {
35803 (char *) "self",(char *) "id",(char *) "helpString", NULL
35806 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_SetHelpString",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
35807 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
35808 if (SWIG_arg_fail(1)) SWIG_fail
;
35810 arg2
= (int)(SWIG_As_int(obj1
));
35811 if (SWIG_arg_fail(2)) SWIG_fail
;
35814 arg3
= wxString_in_helper(obj2
);
35815 if (arg3
== NULL
) SWIG_fail
;
35819 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35820 (arg1
)->SetHelpString(arg2
,(wxString
const &)*arg3
);
35822 wxPyEndAllowThreads(__tstate
);
35823 if (PyErr_Occurred()) SWIG_fail
;
35825 Py_INCREF(Py_None
); resultobj
= Py_None
;
35840 static PyObject
*_wrap_MenuBar_GetHelpString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35841 PyObject
*resultobj
;
35842 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
35845 PyObject
* obj0
= 0 ;
35846 PyObject
* obj1
= 0 ;
35847 char *kwnames
[] = {
35848 (char *) "self",(char *) "id", NULL
35851 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_GetHelpString",kwnames
,&obj0
,&obj1
)) goto fail
;
35852 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
35853 if (SWIG_arg_fail(1)) SWIG_fail
;
35855 arg2
= (int)(SWIG_As_int(obj1
));
35856 if (SWIG_arg_fail(2)) SWIG_fail
;
35859 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35860 result
= ((wxMenuBar
const *)arg1
)->GetHelpString(arg2
);
35862 wxPyEndAllowThreads(__tstate
);
35863 if (PyErr_Occurred()) SWIG_fail
;
35867 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
35869 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
35878 static PyObject
*_wrap_MenuBar_GetFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35879 PyObject
*resultobj
;
35880 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
35882 PyObject
* obj0
= 0 ;
35883 char *kwnames
[] = {
35884 (char *) "self", NULL
35887 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuBar_GetFrame",kwnames
,&obj0
)) goto fail
;
35888 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
35889 if (SWIG_arg_fail(1)) SWIG_fail
;
35891 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35892 result
= (wxFrame
*)((wxMenuBar
const *)arg1
)->GetFrame();
35894 wxPyEndAllowThreads(__tstate
);
35895 if (PyErr_Occurred()) SWIG_fail
;
35898 resultobj
= wxPyMake_wxObject(result
, 0);
35906 static PyObject
*_wrap_MenuBar_IsAttached(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35907 PyObject
*resultobj
;
35908 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
35910 PyObject
* obj0
= 0 ;
35911 char *kwnames
[] = {
35912 (char *) "self", NULL
35915 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuBar_IsAttached",kwnames
,&obj0
)) goto fail
;
35916 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
35917 if (SWIG_arg_fail(1)) SWIG_fail
;
35919 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35920 result
= (bool)((wxMenuBar
const *)arg1
)->IsAttached();
35922 wxPyEndAllowThreads(__tstate
);
35923 if (PyErr_Occurred()) SWIG_fail
;
35926 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35934 static PyObject
*_wrap_MenuBar_Attach(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35935 PyObject
*resultobj
;
35936 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
35937 wxFrame
*arg2
= (wxFrame
*) 0 ;
35938 PyObject
* obj0
= 0 ;
35939 PyObject
* obj1
= 0 ;
35940 char *kwnames
[] = {
35941 (char *) "self",(char *) "frame", NULL
35944 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_Attach",kwnames
,&obj0
,&obj1
)) goto fail
;
35945 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
35946 if (SWIG_arg_fail(1)) SWIG_fail
;
35947 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFrame
, SWIG_POINTER_EXCEPTION
| 0);
35948 if (SWIG_arg_fail(2)) SWIG_fail
;
35950 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35951 (arg1
)->Attach(arg2
);
35953 wxPyEndAllowThreads(__tstate
);
35954 if (PyErr_Occurred()) SWIG_fail
;
35956 Py_INCREF(Py_None
); resultobj
= Py_None
;
35963 static PyObject
*_wrap_MenuBar_Detach(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35964 PyObject
*resultobj
;
35965 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
35966 PyObject
* obj0
= 0 ;
35967 char *kwnames
[] = {
35968 (char *) "self", NULL
35971 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuBar_Detach",kwnames
,&obj0
)) goto fail
;
35972 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
35973 if (SWIG_arg_fail(1)) SWIG_fail
;
35975 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35978 wxPyEndAllowThreads(__tstate
);
35979 if (PyErr_Occurred()) SWIG_fail
;
35981 Py_INCREF(Py_None
); resultobj
= Py_None
;
35988 static PyObject
*_wrap_MenuBar_SetAutoWindowMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35989 PyObject
*resultobj
;
35991 PyObject
* obj0
= 0 ;
35992 char *kwnames
[] = {
35993 (char *) "enable", NULL
35996 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuBar_SetAutoWindowMenu",kwnames
,&obj0
)) goto fail
;
35998 arg1
= (bool)(SWIG_As_bool(obj0
));
35999 if (SWIG_arg_fail(1)) SWIG_fail
;
36002 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36003 MenuBar_SetAutoWindowMenu(arg1
);
36005 wxPyEndAllowThreads(__tstate
);
36006 if (PyErr_Occurred()) SWIG_fail
;
36008 Py_INCREF(Py_None
); resultobj
= Py_None
;
36015 static PyObject
*_wrap_MenuBar_GetAutoWindowMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36016 PyObject
*resultobj
;
36018 char *kwnames
[] = {
36022 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":MenuBar_GetAutoWindowMenu",kwnames
)) goto fail
;
36024 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36025 result
= (bool)MenuBar_GetAutoWindowMenu();
36027 wxPyEndAllowThreads(__tstate
);
36028 if (PyErr_Occurred()) SWIG_fail
;
36031 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
36039 static PyObject
* MenuBar_swigregister(PyObject
*, PyObject
*args
) {
36041 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
36042 SWIG_TypeClientData(SWIGTYPE_p_wxMenuBar
, obj
);
36044 return Py_BuildValue((char *)"");
36046 static PyObject
*_wrap_new_MenuItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36047 PyObject
*resultobj
;
36048 wxMenu
*arg1
= (wxMenu
*) NULL
;
36049 int arg2
= (int) wxID_ANY
;
36050 wxString
const &arg3_defvalue
= wxPyEmptyString
;
36051 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
36052 wxString
const &arg4_defvalue
= wxPyEmptyString
;
36053 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
36054 wxItemKind arg5
= (wxItemKind
) wxITEM_NORMAL
;
36055 wxMenu
*arg6
= (wxMenu
*) NULL
;
36056 wxMenuItem
*result
;
36057 bool temp3
= false ;
36058 bool temp4
= false ;
36059 PyObject
* obj0
= 0 ;
36060 PyObject
* obj1
= 0 ;
36061 PyObject
* obj2
= 0 ;
36062 PyObject
* obj3
= 0 ;
36063 PyObject
* obj4
= 0 ;
36064 PyObject
* obj5
= 0 ;
36065 char *kwnames
[] = {
36066 (char *) "parentMenu",(char *) "id",(char *) "text",(char *) "help",(char *) "kind",(char *) "subMenu", NULL
36069 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOOOO:new_MenuItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
36071 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
36072 if (SWIG_arg_fail(1)) SWIG_fail
;
36076 arg2
= (int)(SWIG_As_int(obj1
));
36077 if (SWIG_arg_fail(2)) SWIG_fail
;
36082 arg3
= wxString_in_helper(obj2
);
36083 if (arg3
== NULL
) SWIG_fail
;
36089 arg4
= wxString_in_helper(obj3
);
36090 if (arg4
== NULL
) SWIG_fail
;
36096 arg5
= (wxItemKind
)(SWIG_As_int(obj4
));
36097 if (SWIG_arg_fail(5)) SWIG_fail
;
36101 SWIG_Python_ConvertPtr(obj5
, (void **)&arg6
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
36102 if (SWIG_arg_fail(6)) SWIG_fail
;
36105 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36106 result
= (wxMenuItem
*)new wxMenuItem(arg1
,arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,(wxItemKind
)arg5
,arg6
);
36108 wxPyEndAllowThreads(__tstate
);
36109 if (PyErr_Occurred()) SWIG_fail
;
36112 resultobj
= wxPyMake_wxObject(result
, 1);
36136 static PyObject
*_wrap_MenuItem_GetMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36137 PyObject
*resultobj
;
36138 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36140 PyObject
* obj0
= 0 ;
36141 char *kwnames
[] = {
36142 (char *) "self", NULL
36145 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetMenu",kwnames
,&obj0
)) goto fail
;
36146 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36147 if (SWIG_arg_fail(1)) SWIG_fail
;
36149 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36150 result
= (wxMenu
*)((wxMenuItem
const *)arg1
)->GetMenu();
36152 wxPyEndAllowThreads(__tstate
);
36153 if (PyErr_Occurred()) SWIG_fail
;
36156 resultobj
= wxPyMake_wxObject(result
, 0);
36164 static PyObject
*_wrap_MenuItem_SetMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36165 PyObject
*resultobj
;
36166 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36167 wxMenu
*arg2
= (wxMenu
*) 0 ;
36168 PyObject
* obj0
= 0 ;
36169 PyObject
* obj1
= 0 ;
36170 char *kwnames
[] = {
36171 (char *) "self",(char *) "menu", NULL
36174 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
36175 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36176 if (SWIG_arg_fail(1)) SWIG_fail
;
36177 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
36178 if (SWIG_arg_fail(2)) SWIG_fail
;
36180 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36181 (arg1
)->SetMenu(arg2
);
36183 wxPyEndAllowThreads(__tstate
);
36184 if (PyErr_Occurred()) SWIG_fail
;
36186 Py_INCREF(Py_None
); resultobj
= Py_None
;
36193 static PyObject
*_wrap_MenuItem_SetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36194 PyObject
*resultobj
;
36195 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36197 PyObject
* obj0
= 0 ;
36198 PyObject
* obj1
= 0 ;
36199 char *kwnames
[] = {
36200 (char *) "self",(char *) "id", NULL
36203 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetId",kwnames
,&obj0
,&obj1
)) goto fail
;
36204 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36205 if (SWIG_arg_fail(1)) SWIG_fail
;
36207 arg2
= (int)(SWIG_As_int(obj1
));
36208 if (SWIG_arg_fail(2)) SWIG_fail
;
36211 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36212 (arg1
)->SetId(arg2
);
36214 wxPyEndAllowThreads(__tstate
);
36215 if (PyErr_Occurred()) SWIG_fail
;
36217 Py_INCREF(Py_None
); resultobj
= Py_None
;
36224 static PyObject
*_wrap_MenuItem_GetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36225 PyObject
*resultobj
;
36226 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36228 PyObject
* obj0
= 0 ;
36229 char *kwnames
[] = {
36230 (char *) "self", NULL
36233 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetId",kwnames
,&obj0
)) goto fail
;
36234 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36235 if (SWIG_arg_fail(1)) SWIG_fail
;
36237 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36238 result
= (int)((wxMenuItem
const *)arg1
)->GetId();
36240 wxPyEndAllowThreads(__tstate
);
36241 if (PyErr_Occurred()) SWIG_fail
;
36244 resultobj
= SWIG_From_int((int)(result
));
36252 static PyObject
*_wrap_MenuItem_IsSeparator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36253 PyObject
*resultobj
;
36254 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36256 PyObject
* obj0
= 0 ;
36257 char *kwnames
[] = {
36258 (char *) "self", NULL
36261 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_IsSeparator",kwnames
,&obj0
)) goto fail
;
36262 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36263 if (SWIG_arg_fail(1)) SWIG_fail
;
36265 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36266 result
= (bool)((wxMenuItem
const *)arg1
)->IsSeparator();
36268 wxPyEndAllowThreads(__tstate
);
36269 if (PyErr_Occurred()) SWIG_fail
;
36272 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
36280 static PyObject
*_wrap_MenuItem_SetText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36281 PyObject
*resultobj
;
36282 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36283 wxString
*arg2
= 0 ;
36284 bool temp2
= false ;
36285 PyObject
* obj0
= 0 ;
36286 PyObject
* obj1
= 0 ;
36287 char *kwnames
[] = {
36288 (char *) "self",(char *) "str", NULL
36291 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetText",kwnames
,&obj0
,&obj1
)) goto fail
;
36292 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36293 if (SWIG_arg_fail(1)) SWIG_fail
;
36295 arg2
= wxString_in_helper(obj1
);
36296 if (arg2
== NULL
) SWIG_fail
;
36300 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36301 (arg1
)->SetText((wxString
const &)*arg2
);
36303 wxPyEndAllowThreads(__tstate
);
36304 if (PyErr_Occurred()) SWIG_fail
;
36306 Py_INCREF(Py_None
); resultobj
= Py_None
;
36321 static PyObject
*_wrap_MenuItem_GetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36322 PyObject
*resultobj
;
36323 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36325 PyObject
* obj0
= 0 ;
36326 char *kwnames
[] = {
36327 (char *) "self", NULL
36330 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetLabel",kwnames
,&obj0
)) goto fail
;
36331 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36332 if (SWIG_arg_fail(1)) SWIG_fail
;
36334 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36335 result
= ((wxMenuItem
const *)arg1
)->GetLabel();
36337 wxPyEndAllowThreads(__tstate
);
36338 if (PyErr_Occurred()) SWIG_fail
;
36342 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
36344 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
36353 static PyObject
*_wrap_MenuItem_GetText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36354 PyObject
*resultobj
;
36355 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36357 PyObject
* obj0
= 0 ;
36358 char *kwnames
[] = {
36359 (char *) "self", NULL
36362 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetText",kwnames
,&obj0
)) goto fail
;
36363 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36364 if (SWIG_arg_fail(1)) SWIG_fail
;
36366 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36368 wxString
const &_result_ref
= ((wxMenuItem
const *)arg1
)->GetText();
36369 result
= (wxString
*) &_result_ref
;
36372 wxPyEndAllowThreads(__tstate
);
36373 if (PyErr_Occurred()) SWIG_fail
;
36377 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
36379 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
36388 static PyObject
*_wrap_MenuItem_GetLabelFromText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36389 PyObject
*resultobj
;
36390 wxString
*arg1
= 0 ;
36392 bool temp1
= false ;
36393 PyObject
* obj0
= 0 ;
36394 char *kwnames
[] = {
36395 (char *) "text", NULL
36398 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetLabelFromText",kwnames
,&obj0
)) goto fail
;
36400 arg1
= wxString_in_helper(obj0
);
36401 if (arg1
== NULL
) SWIG_fail
;
36405 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36406 result
= wxMenuItem::GetLabelFromText((wxString
const &)*arg1
);
36408 wxPyEndAllowThreads(__tstate
);
36409 if (PyErr_Occurred()) SWIG_fail
;
36413 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
36415 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
36432 static PyObject
*_wrap_MenuItem_GetKind(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36433 PyObject
*resultobj
;
36434 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36436 PyObject
* obj0
= 0 ;
36437 char *kwnames
[] = {
36438 (char *) "self", NULL
36441 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetKind",kwnames
,&obj0
)) goto fail
;
36442 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36443 if (SWIG_arg_fail(1)) SWIG_fail
;
36445 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36446 result
= (wxItemKind
)((wxMenuItem
const *)arg1
)->GetKind();
36448 wxPyEndAllowThreads(__tstate
);
36449 if (PyErr_Occurred()) SWIG_fail
;
36451 resultobj
= SWIG_From_int((result
));
36458 static PyObject
*_wrap_MenuItem_SetKind(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36459 PyObject
*resultobj
;
36460 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36462 PyObject
* obj0
= 0 ;
36463 PyObject
* obj1
= 0 ;
36464 char *kwnames
[] = {
36465 (char *) "self",(char *) "kind", NULL
36468 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetKind",kwnames
,&obj0
,&obj1
)) goto fail
;
36469 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36470 if (SWIG_arg_fail(1)) SWIG_fail
;
36472 arg2
= (wxItemKind
)(SWIG_As_int(obj1
));
36473 if (SWIG_arg_fail(2)) SWIG_fail
;
36476 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36477 (arg1
)->SetKind((wxItemKind
)arg2
);
36479 wxPyEndAllowThreads(__tstate
);
36480 if (PyErr_Occurred()) SWIG_fail
;
36482 Py_INCREF(Py_None
); resultobj
= Py_None
;
36489 static PyObject
*_wrap_MenuItem_SetCheckable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36490 PyObject
*resultobj
;
36491 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36493 PyObject
* obj0
= 0 ;
36494 PyObject
* obj1
= 0 ;
36495 char *kwnames
[] = {
36496 (char *) "self",(char *) "checkable", NULL
36499 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetCheckable",kwnames
,&obj0
,&obj1
)) goto fail
;
36500 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36501 if (SWIG_arg_fail(1)) SWIG_fail
;
36503 arg2
= (bool)(SWIG_As_bool(obj1
));
36504 if (SWIG_arg_fail(2)) SWIG_fail
;
36507 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36508 (arg1
)->SetCheckable(arg2
);
36510 wxPyEndAllowThreads(__tstate
);
36511 if (PyErr_Occurred()) SWIG_fail
;
36513 Py_INCREF(Py_None
); resultobj
= Py_None
;
36520 static PyObject
*_wrap_MenuItem_IsCheckable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36521 PyObject
*resultobj
;
36522 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36524 PyObject
* obj0
= 0 ;
36525 char *kwnames
[] = {
36526 (char *) "self", NULL
36529 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_IsCheckable",kwnames
,&obj0
)) goto fail
;
36530 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36531 if (SWIG_arg_fail(1)) SWIG_fail
;
36533 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36534 result
= (bool)((wxMenuItem
const *)arg1
)->IsCheckable();
36536 wxPyEndAllowThreads(__tstate
);
36537 if (PyErr_Occurred()) SWIG_fail
;
36540 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
36548 static PyObject
*_wrap_MenuItem_IsSubMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36549 PyObject
*resultobj
;
36550 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36552 PyObject
* obj0
= 0 ;
36553 char *kwnames
[] = {
36554 (char *) "self", NULL
36557 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_IsSubMenu",kwnames
,&obj0
)) goto fail
;
36558 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36559 if (SWIG_arg_fail(1)) SWIG_fail
;
36561 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36562 result
= (bool)((wxMenuItem
const *)arg1
)->IsSubMenu();
36564 wxPyEndAllowThreads(__tstate
);
36565 if (PyErr_Occurred()) SWIG_fail
;
36568 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
36576 static PyObject
*_wrap_MenuItem_SetSubMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36577 PyObject
*resultobj
;
36578 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36579 wxMenu
*arg2
= (wxMenu
*) 0 ;
36580 PyObject
* obj0
= 0 ;
36581 PyObject
* obj1
= 0 ;
36582 char *kwnames
[] = {
36583 (char *) "self",(char *) "menu", NULL
36586 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetSubMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
36587 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36588 if (SWIG_arg_fail(1)) SWIG_fail
;
36589 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
36590 if (SWIG_arg_fail(2)) SWIG_fail
;
36592 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36593 (arg1
)->SetSubMenu(arg2
);
36595 wxPyEndAllowThreads(__tstate
);
36596 if (PyErr_Occurred()) SWIG_fail
;
36598 Py_INCREF(Py_None
); resultobj
= Py_None
;
36605 static PyObject
*_wrap_MenuItem_GetSubMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36606 PyObject
*resultobj
;
36607 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36609 PyObject
* obj0
= 0 ;
36610 char *kwnames
[] = {
36611 (char *) "self", NULL
36614 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetSubMenu",kwnames
,&obj0
)) goto fail
;
36615 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36616 if (SWIG_arg_fail(1)) SWIG_fail
;
36618 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36619 result
= (wxMenu
*)((wxMenuItem
const *)arg1
)->GetSubMenu();
36621 wxPyEndAllowThreads(__tstate
);
36622 if (PyErr_Occurred()) SWIG_fail
;
36625 resultobj
= wxPyMake_wxObject(result
, 0);
36633 static PyObject
*_wrap_MenuItem_Enable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36634 PyObject
*resultobj
;
36635 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36636 bool arg2
= (bool) true ;
36637 PyObject
* obj0
= 0 ;
36638 PyObject
* obj1
= 0 ;
36639 char *kwnames
[] = {
36640 (char *) "self",(char *) "enable", NULL
36643 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:MenuItem_Enable",kwnames
,&obj0
,&obj1
)) goto fail
;
36644 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36645 if (SWIG_arg_fail(1)) SWIG_fail
;
36648 arg2
= (bool)(SWIG_As_bool(obj1
));
36649 if (SWIG_arg_fail(2)) SWIG_fail
;
36653 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36654 (arg1
)->Enable(arg2
);
36656 wxPyEndAllowThreads(__tstate
);
36657 if (PyErr_Occurred()) SWIG_fail
;
36659 Py_INCREF(Py_None
); resultobj
= Py_None
;
36666 static PyObject
*_wrap_MenuItem_IsEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36667 PyObject
*resultobj
;
36668 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36670 PyObject
* obj0
= 0 ;
36671 char *kwnames
[] = {
36672 (char *) "self", NULL
36675 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_IsEnabled",kwnames
,&obj0
)) goto fail
;
36676 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36677 if (SWIG_arg_fail(1)) SWIG_fail
;
36679 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36680 result
= (bool)((wxMenuItem
const *)arg1
)->IsEnabled();
36682 wxPyEndAllowThreads(__tstate
);
36683 if (PyErr_Occurred()) SWIG_fail
;
36686 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
36694 static PyObject
*_wrap_MenuItem_Check(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36695 PyObject
*resultobj
;
36696 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36697 bool arg2
= (bool) true ;
36698 PyObject
* obj0
= 0 ;
36699 PyObject
* obj1
= 0 ;
36700 char *kwnames
[] = {
36701 (char *) "self",(char *) "check", NULL
36704 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:MenuItem_Check",kwnames
,&obj0
,&obj1
)) goto fail
;
36705 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36706 if (SWIG_arg_fail(1)) SWIG_fail
;
36709 arg2
= (bool)(SWIG_As_bool(obj1
));
36710 if (SWIG_arg_fail(2)) SWIG_fail
;
36714 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36715 (arg1
)->Check(arg2
);
36717 wxPyEndAllowThreads(__tstate
);
36718 if (PyErr_Occurred()) SWIG_fail
;
36720 Py_INCREF(Py_None
); resultobj
= Py_None
;
36727 static PyObject
*_wrap_MenuItem_IsChecked(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36728 PyObject
*resultobj
;
36729 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36731 PyObject
* obj0
= 0 ;
36732 char *kwnames
[] = {
36733 (char *) "self", NULL
36736 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_IsChecked",kwnames
,&obj0
)) goto fail
;
36737 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36738 if (SWIG_arg_fail(1)) SWIG_fail
;
36740 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36741 result
= (bool)((wxMenuItem
const *)arg1
)->IsChecked();
36743 wxPyEndAllowThreads(__tstate
);
36744 if (PyErr_Occurred()) SWIG_fail
;
36747 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
36755 static PyObject
*_wrap_MenuItem_Toggle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36756 PyObject
*resultobj
;
36757 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36758 PyObject
* obj0
= 0 ;
36759 char *kwnames
[] = {
36760 (char *) "self", NULL
36763 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_Toggle",kwnames
,&obj0
)) goto fail
;
36764 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36765 if (SWIG_arg_fail(1)) SWIG_fail
;
36767 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36770 wxPyEndAllowThreads(__tstate
);
36771 if (PyErr_Occurred()) SWIG_fail
;
36773 Py_INCREF(Py_None
); resultobj
= Py_None
;
36780 static PyObject
*_wrap_MenuItem_SetHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36781 PyObject
*resultobj
;
36782 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36783 wxString
*arg2
= 0 ;
36784 bool temp2
= false ;
36785 PyObject
* obj0
= 0 ;
36786 PyObject
* obj1
= 0 ;
36787 char *kwnames
[] = {
36788 (char *) "self",(char *) "str", NULL
36791 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
36792 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36793 if (SWIG_arg_fail(1)) SWIG_fail
;
36795 arg2
= wxString_in_helper(obj1
);
36796 if (arg2
== NULL
) SWIG_fail
;
36800 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36801 (arg1
)->SetHelp((wxString
const &)*arg2
);
36803 wxPyEndAllowThreads(__tstate
);
36804 if (PyErr_Occurred()) SWIG_fail
;
36806 Py_INCREF(Py_None
); resultobj
= Py_None
;
36821 static PyObject
*_wrap_MenuItem_GetHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36822 PyObject
*resultobj
;
36823 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36825 PyObject
* obj0
= 0 ;
36826 char *kwnames
[] = {
36827 (char *) "self", NULL
36830 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetHelp",kwnames
,&obj0
)) goto fail
;
36831 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36832 if (SWIG_arg_fail(1)) SWIG_fail
;
36834 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36836 wxString
const &_result_ref
= ((wxMenuItem
const *)arg1
)->GetHelp();
36837 result
= (wxString
*) &_result_ref
;
36840 wxPyEndAllowThreads(__tstate
);
36841 if (PyErr_Occurred()) SWIG_fail
;
36845 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
36847 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
36856 static PyObject
*_wrap_MenuItem_GetAccel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36857 PyObject
*resultobj
;
36858 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36859 wxAcceleratorEntry
*result
;
36860 PyObject
* obj0
= 0 ;
36861 char *kwnames
[] = {
36862 (char *) "self", NULL
36865 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetAccel",kwnames
,&obj0
)) goto fail
;
36866 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36867 if (SWIG_arg_fail(1)) SWIG_fail
;
36869 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36870 result
= (wxAcceleratorEntry
*)((wxMenuItem
const *)arg1
)->GetAccel();
36872 wxPyEndAllowThreads(__tstate
);
36873 if (PyErr_Occurred()) SWIG_fail
;
36875 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxAcceleratorEntry
, 0);
36882 static PyObject
*_wrap_MenuItem_SetAccel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36883 PyObject
*resultobj
;
36884 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36885 wxAcceleratorEntry
*arg2
= (wxAcceleratorEntry
*) 0 ;
36886 PyObject
* obj0
= 0 ;
36887 PyObject
* obj1
= 0 ;
36888 char *kwnames
[] = {
36889 (char *) "self",(char *) "accel", NULL
36892 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetAccel",kwnames
,&obj0
,&obj1
)) goto fail
;
36893 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36894 if (SWIG_arg_fail(1)) SWIG_fail
;
36895 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxAcceleratorEntry
, SWIG_POINTER_EXCEPTION
| 0);
36896 if (SWIG_arg_fail(2)) SWIG_fail
;
36898 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36899 (arg1
)->SetAccel(arg2
);
36901 wxPyEndAllowThreads(__tstate
);
36902 if (PyErr_Occurred()) SWIG_fail
;
36904 Py_INCREF(Py_None
); resultobj
= Py_None
;
36911 static PyObject
*_wrap_MenuItem_SetFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36912 PyObject
*resultobj
;
36913 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36915 PyObject
* obj0
= 0 ;
36916 PyObject
* obj1
= 0 ;
36917 char *kwnames
[] = {
36918 (char *) "self",(char *) "font", NULL
36921 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetFont",kwnames
,&obj0
,&obj1
)) goto fail
;
36922 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36923 if (SWIG_arg_fail(1)) SWIG_fail
;
36925 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
36926 if (SWIG_arg_fail(2)) SWIG_fail
;
36927 if (arg2
== NULL
) {
36928 SWIG_null_ref("wxFont");
36930 if (SWIG_arg_fail(2)) SWIG_fail
;
36933 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36934 (arg1
)->SetFont((wxFont
const &)*arg2
);
36936 wxPyEndAllowThreads(__tstate
);
36937 if (PyErr_Occurred()) SWIG_fail
;
36939 Py_INCREF(Py_None
); resultobj
= Py_None
;
36946 static PyObject
*_wrap_MenuItem_GetFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36947 PyObject
*resultobj
;
36948 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36950 PyObject
* obj0
= 0 ;
36951 char *kwnames
[] = {
36952 (char *) "self", NULL
36955 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetFont",kwnames
,&obj0
)) goto fail
;
36956 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36957 if (SWIG_arg_fail(1)) SWIG_fail
;
36959 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36960 result
= (arg1
)->GetFont();
36962 wxPyEndAllowThreads(__tstate
);
36963 if (PyErr_Occurred()) SWIG_fail
;
36966 wxFont
* resultptr
;
36967 resultptr
= new wxFont((wxFont
&)(result
));
36968 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxFont
, 1);
36976 static PyObject
*_wrap_MenuItem_SetTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36977 PyObject
*resultobj
;
36978 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36979 wxColour
*arg2
= 0 ;
36981 PyObject
* obj0
= 0 ;
36982 PyObject
* obj1
= 0 ;
36983 char *kwnames
[] = {
36984 (char *) "self",(char *) "colText", NULL
36987 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
36988 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36989 if (SWIG_arg_fail(1)) SWIG_fail
;
36992 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
36995 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36996 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
36998 wxPyEndAllowThreads(__tstate
);
36999 if (PyErr_Occurred()) SWIG_fail
;
37001 Py_INCREF(Py_None
); resultobj
= Py_None
;
37008 static PyObject
*_wrap_MenuItem_GetTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37009 PyObject
*resultobj
;
37010 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
37012 PyObject
* obj0
= 0 ;
37013 char *kwnames
[] = {
37014 (char *) "self", NULL
37017 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetTextColour",kwnames
,&obj0
)) goto fail
;
37018 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
37019 if (SWIG_arg_fail(1)) SWIG_fail
;
37021 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37022 result
= (arg1
)->GetTextColour();
37024 wxPyEndAllowThreads(__tstate
);
37025 if (PyErr_Occurred()) SWIG_fail
;
37028 wxColour
* resultptr
;
37029 resultptr
= new wxColour((wxColour
&)(result
));
37030 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
37038 static PyObject
*_wrap_MenuItem_SetBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37039 PyObject
*resultobj
;
37040 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
37041 wxColour
*arg2
= 0 ;
37043 PyObject
* obj0
= 0 ;
37044 PyObject
* obj1
= 0 ;
37045 char *kwnames
[] = {
37046 (char *) "self",(char *) "colBack", NULL
37049 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
37050 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
37051 if (SWIG_arg_fail(1)) SWIG_fail
;
37054 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
37057 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37058 (arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
37060 wxPyEndAllowThreads(__tstate
);
37061 if (PyErr_Occurred()) SWIG_fail
;
37063 Py_INCREF(Py_None
); resultobj
= Py_None
;
37070 static PyObject
*_wrap_MenuItem_GetBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37071 PyObject
*resultobj
;
37072 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
37074 PyObject
* obj0
= 0 ;
37075 char *kwnames
[] = {
37076 (char *) "self", NULL
37079 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetBackgroundColour",kwnames
,&obj0
)) goto fail
;
37080 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
37081 if (SWIG_arg_fail(1)) SWIG_fail
;
37083 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37084 result
= (arg1
)->GetBackgroundColour();
37086 wxPyEndAllowThreads(__tstate
);
37087 if (PyErr_Occurred()) SWIG_fail
;
37090 wxColour
* resultptr
;
37091 resultptr
= new wxColour((wxColour
&)(result
));
37092 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
37100 static PyObject
*_wrap_MenuItem_SetBitmaps(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37101 PyObject
*resultobj
;
37102 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
37103 wxBitmap
*arg2
= 0 ;
37104 wxBitmap
const &arg3_defvalue
= wxNullBitmap
;
37105 wxBitmap
*arg3
= (wxBitmap
*) &arg3_defvalue
;
37106 PyObject
* obj0
= 0 ;
37107 PyObject
* obj1
= 0 ;
37108 PyObject
* obj2
= 0 ;
37109 char *kwnames
[] = {
37110 (char *) "self",(char *) "bmpChecked",(char *) "bmpUnchecked", NULL
37113 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:MenuItem_SetBitmaps",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
37114 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
37115 if (SWIG_arg_fail(1)) SWIG_fail
;
37117 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
37118 if (SWIG_arg_fail(2)) SWIG_fail
;
37119 if (arg2
== NULL
) {
37120 SWIG_null_ref("wxBitmap");
37122 if (SWIG_arg_fail(2)) SWIG_fail
;
37126 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
37127 if (SWIG_arg_fail(3)) SWIG_fail
;
37128 if (arg3
== NULL
) {
37129 SWIG_null_ref("wxBitmap");
37131 if (SWIG_arg_fail(3)) SWIG_fail
;
37135 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37136 (arg1
)->SetBitmaps((wxBitmap
const &)*arg2
,(wxBitmap
const &)*arg3
);
37138 wxPyEndAllowThreads(__tstate
);
37139 if (PyErr_Occurred()) SWIG_fail
;
37141 Py_INCREF(Py_None
); resultobj
= Py_None
;
37148 static PyObject
*_wrap_MenuItem_SetDisabledBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37149 PyObject
*resultobj
;
37150 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
37151 wxBitmap
*arg2
= 0 ;
37152 PyObject
* obj0
= 0 ;
37153 PyObject
* obj1
= 0 ;
37154 char *kwnames
[] = {
37155 (char *) "self",(char *) "bmpDisabled", NULL
37158 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetDisabledBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
37159 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
37160 if (SWIG_arg_fail(1)) SWIG_fail
;
37162 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
37163 if (SWIG_arg_fail(2)) SWIG_fail
;
37164 if (arg2
== NULL
) {
37165 SWIG_null_ref("wxBitmap");
37167 if (SWIG_arg_fail(2)) SWIG_fail
;
37170 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37171 (arg1
)->SetDisabledBitmap((wxBitmap
const &)*arg2
);
37173 wxPyEndAllowThreads(__tstate
);
37174 if (PyErr_Occurred()) SWIG_fail
;
37176 Py_INCREF(Py_None
); resultobj
= Py_None
;
37183 static PyObject
*_wrap_MenuItem_GetDisabledBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37184 PyObject
*resultobj
;
37185 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
37187 PyObject
* obj0
= 0 ;
37188 char *kwnames
[] = {
37189 (char *) "self", NULL
37192 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetDisabledBitmap",kwnames
,&obj0
)) goto fail
;
37193 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
37194 if (SWIG_arg_fail(1)) SWIG_fail
;
37196 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37198 wxBitmap
const &_result_ref
= ((wxMenuItem
const *)arg1
)->GetDisabledBitmap();
37199 result
= (wxBitmap
*) &_result_ref
;
37202 wxPyEndAllowThreads(__tstate
);
37203 if (PyErr_Occurred()) SWIG_fail
;
37206 wxBitmap
* resultptr
= new wxBitmap(*result
);
37207 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
37215 static PyObject
*_wrap_MenuItem_SetMarginWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37216 PyObject
*resultobj
;
37217 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
37219 PyObject
* obj0
= 0 ;
37220 PyObject
* obj1
= 0 ;
37221 char *kwnames
[] = {
37222 (char *) "self",(char *) "nWidth", NULL
37225 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetMarginWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
37226 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
37227 if (SWIG_arg_fail(1)) SWIG_fail
;
37229 arg2
= (int)(SWIG_As_int(obj1
));
37230 if (SWIG_arg_fail(2)) SWIG_fail
;
37233 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37234 (arg1
)->SetMarginWidth(arg2
);
37236 wxPyEndAllowThreads(__tstate
);
37237 if (PyErr_Occurred()) SWIG_fail
;
37239 Py_INCREF(Py_None
); resultobj
= Py_None
;
37246 static PyObject
*_wrap_MenuItem_GetMarginWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37247 PyObject
*resultobj
;
37248 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
37250 PyObject
* obj0
= 0 ;
37251 char *kwnames
[] = {
37252 (char *) "self", NULL
37255 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetMarginWidth",kwnames
,&obj0
)) goto fail
;
37256 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
37257 if (SWIG_arg_fail(1)) SWIG_fail
;
37259 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37260 result
= (int)(arg1
)->GetMarginWidth();
37262 wxPyEndAllowThreads(__tstate
);
37263 if (PyErr_Occurred()) SWIG_fail
;
37266 resultobj
= SWIG_From_int((int)(result
));
37274 static PyObject
*_wrap_MenuItem_GetDefaultMarginWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37275 PyObject
*resultobj
;
37277 char *kwnames
[] = {
37281 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":MenuItem_GetDefaultMarginWidth",kwnames
)) goto fail
;
37283 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37284 result
= (int)wxMenuItem::GetDefaultMarginWidth();
37286 wxPyEndAllowThreads(__tstate
);
37287 if (PyErr_Occurred()) SWIG_fail
;
37290 resultobj
= SWIG_From_int((int)(result
));
37298 static PyObject
*_wrap_MenuItem_IsOwnerDrawn(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37299 PyObject
*resultobj
;
37300 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
37302 PyObject
* obj0
= 0 ;
37303 char *kwnames
[] = {
37304 (char *) "self", NULL
37307 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_IsOwnerDrawn",kwnames
,&obj0
)) goto fail
;
37308 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
37309 if (SWIG_arg_fail(1)) SWIG_fail
;
37311 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37312 result
= (bool)(arg1
)->IsOwnerDrawn();
37314 wxPyEndAllowThreads(__tstate
);
37315 if (PyErr_Occurred()) SWIG_fail
;
37318 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
37326 static PyObject
*_wrap_MenuItem_SetOwnerDrawn(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37327 PyObject
*resultobj
;
37328 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
37329 bool arg2
= (bool) true ;
37330 PyObject
* obj0
= 0 ;
37331 PyObject
* obj1
= 0 ;
37332 char *kwnames
[] = {
37333 (char *) "self",(char *) "ownerDrawn", NULL
37336 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:MenuItem_SetOwnerDrawn",kwnames
,&obj0
,&obj1
)) goto fail
;
37337 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
37338 if (SWIG_arg_fail(1)) SWIG_fail
;
37341 arg2
= (bool)(SWIG_As_bool(obj1
));
37342 if (SWIG_arg_fail(2)) SWIG_fail
;
37346 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37347 (arg1
)->SetOwnerDrawn(arg2
);
37349 wxPyEndAllowThreads(__tstate
);
37350 if (PyErr_Occurred()) SWIG_fail
;
37352 Py_INCREF(Py_None
); resultobj
= Py_None
;
37359 static PyObject
*_wrap_MenuItem_ResetOwnerDrawn(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37360 PyObject
*resultobj
;
37361 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
37362 PyObject
* obj0
= 0 ;
37363 char *kwnames
[] = {
37364 (char *) "self", NULL
37367 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_ResetOwnerDrawn",kwnames
,&obj0
)) goto fail
;
37368 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
37369 if (SWIG_arg_fail(1)) SWIG_fail
;
37371 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37372 (arg1
)->ResetOwnerDrawn();
37374 wxPyEndAllowThreads(__tstate
);
37375 if (PyErr_Occurred()) SWIG_fail
;
37377 Py_INCREF(Py_None
); resultobj
= Py_None
;
37384 static PyObject
*_wrap_MenuItem_SetBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37385 PyObject
*resultobj
;
37386 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
37387 wxBitmap
*arg2
= 0 ;
37388 PyObject
* obj0
= 0 ;
37389 PyObject
* obj1
= 0 ;
37390 char *kwnames
[] = {
37391 (char *) "self",(char *) "bitmap", NULL
37394 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
37395 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
37396 if (SWIG_arg_fail(1)) SWIG_fail
;
37398 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
37399 if (SWIG_arg_fail(2)) SWIG_fail
;
37400 if (arg2
== NULL
) {
37401 SWIG_null_ref("wxBitmap");
37403 if (SWIG_arg_fail(2)) SWIG_fail
;
37406 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37407 (arg1
)->SetBitmap((wxBitmap
const &)*arg2
);
37409 wxPyEndAllowThreads(__tstate
);
37410 if (PyErr_Occurred()) SWIG_fail
;
37412 Py_INCREF(Py_None
); resultobj
= Py_None
;
37419 static PyObject
*_wrap_MenuItem_GetBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37420 PyObject
*resultobj
;
37421 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
37423 PyObject
* obj0
= 0 ;
37424 char *kwnames
[] = {
37425 (char *) "self", NULL
37428 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetBitmap",kwnames
,&obj0
)) goto fail
;
37429 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
37430 if (SWIG_arg_fail(1)) SWIG_fail
;
37432 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37434 wxBitmap
const &_result_ref
= (arg1
)->GetBitmap();
37435 result
= (wxBitmap
*) &_result_ref
;
37438 wxPyEndAllowThreads(__tstate
);
37439 if (PyErr_Occurred()) SWIG_fail
;
37442 wxBitmap
* resultptr
= new wxBitmap(*result
);
37443 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
37451 static PyObject
* MenuItem_swigregister(PyObject
*, PyObject
*args
) {
37453 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
37454 SWIG_TypeClientData(SWIGTYPE_p_wxMenuItem
, obj
);
37456 return Py_BuildValue((char *)"");
37458 static int _wrap_ControlNameStr_set(PyObject
*) {
37459 PyErr_SetString(PyExc_TypeError
,"Variable ControlNameStr is read-only.");
37464 static PyObject
*_wrap_ControlNameStr_get(void) {
37469 pyobj
= PyUnicode_FromWideChar((&wxPyControlNameStr
)->c_str(), (&wxPyControlNameStr
)->Len());
37471 pyobj
= PyString_FromStringAndSize((&wxPyControlNameStr
)->c_str(), (&wxPyControlNameStr
)->Len());
37478 static PyObject
*_wrap_new_Control(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37479 PyObject
*resultobj
;
37480 wxWindow
*arg1
= (wxWindow
*) 0 ;
37481 int arg2
= (int) -1 ;
37482 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
37483 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
37484 wxSize
const &arg4_defvalue
= wxDefaultSize
;
37485 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
37486 long arg5
= (long) 0 ;
37487 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
37488 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
37489 wxString
const &arg7_defvalue
= wxPyControlNameStr
;
37490 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
37494 bool temp7
= false ;
37495 PyObject
* obj0
= 0 ;
37496 PyObject
* obj1
= 0 ;
37497 PyObject
* obj2
= 0 ;
37498 PyObject
* obj3
= 0 ;
37499 PyObject
* obj4
= 0 ;
37500 PyObject
* obj5
= 0 ;
37501 PyObject
* obj6
= 0 ;
37502 char *kwnames
[] = {
37503 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
37506 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_Control",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
37507 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
37508 if (SWIG_arg_fail(1)) SWIG_fail
;
37511 arg2
= (int)(SWIG_As_int(obj1
));
37512 if (SWIG_arg_fail(2)) SWIG_fail
;
37518 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
37524 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
37529 arg5
= (long)(SWIG_As_long(obj4
));
37530 if (SWIG_arg_fail(5)) SWIG_fail
;
37535 SWIG_Python_ConvertPtr(obj5
, (void **)&arg6
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
37536 if (SWIG_arg_fail(6)) SWIG_fail
;
37537 if (arg6
== NULL
) {
37538 SWIG_null_ref("wxValidator");
37540 if (SWIG_arg_fail(6)) SWIG_fail
;
37545 arg7
= wxString_in_helper(obj6
);
37546 if (arg7
== NULL
) SWIG_fail
;
37551 if (!wxPyCheckForApp()) SWIG_fail
;
37552 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37553 result
= (wxControl
*)new wxControl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
37555 wxPyEndAllowThreads(__tstate
);
37556 if (PyErr_Occurred()) SWIG_fail
;
37558 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxControl
, 1);
37573 static PyObject
*_wrap_new_PreControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37574 PyObject
*resultobj
;
37576 char *kwnames
[] = {
37580 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreControl",kwnames
)) goto fail
;
37582 if (!wxPyCheckForApp()) SWIG_fail
;
37583 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37584 result
= (wxControl
*)new wxControl();
37586 wxPyEndAllowThreads(__tstate
);
37587 if (PyErr_Occurred()) SWIG_fail
;
37589 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxControl
, 1);
37596 static PyObject
*_wrap_Control_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37597 PyObject
*resultobj
;
37598 wxControl
*arg1
= (wxControl
*) 0 ;
37599 wxWindow
*arg2
= (wxWindow
*) 0 ;
37600 int arg3
= (int) -1 ;
37601 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
37602 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
37603 wxSize
const &arg5_defvalue
= wxDefaultSize
;
37604 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
37605 long arg6
= (long) 0 ;
37606 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
37607 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
37608 wxString
const &arg8_defvalue
= wxPyControlNameStr
;
37609 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
37613 bool temp8
= false ;
37614 PyObject
* obj0
= 0 ;
37615 PyObject
* obj1
= 0 ;
37616 PyObject
* obj2
= 0 ;
37617 PyObject
* obj3
= 0 ;
37618 PyObject
* obj4
= 0 ;
37619 PyObject
* obj5
= 0 ;
37620 PyObject
* obj6
= 0 ;
37621 PyObject
* obj7
= 0 ;
37622 char *kwnames
[] = {
37623 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
37626 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:Control_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
37627 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxControl
, SWIG_POINTER_EXCEPTION
| 0);
37628 if (SWIG_arg_fail(1)) SWIG_fail
;
37629 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
37630 if (SWIG_arg_fail(2)) SWIG_fail
;
37633 arg3
= (int)(SWIG_As_int(obj2
));
37634 if (SWIG_arg_fail(3)) SWIG_fail
;
37640 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
37646 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
37651 arg6
= (long)(SWIG_As_long(obj5
));
37652 if (SWIG_arg_fail(6)) SWIG_fail
;
37657 SWIG_Python_ConvertPtr(obj6
, (void **)&arg7
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
37658 if (SWIG_arg_fail(7)) SWIG_fail
;
37659 if (arg7
== NULL
) {
37660 SWIG_null_ref("wxValidator");
37662 if (SWIG_arg_fail(7)) SWIG_fail
;
37667 arg8
= wxString_in_helper(obj7
);
37668 if (arg8
== NULL
) SWIG_fail
;
37673 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37674 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
37676 wxPyEndAllowThreads(__tstate
);
37677 if (PyErr_Occurred()) SWIG_fail
;
37680 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
37696 static PyObject
*_wrap_Control_Command(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37697 PyObject
*resultobj
;
37698 wxControl
*arg1
= (wxControl
*) 0 ;
37699 wxCommandEvent
*arg2
= 0 ;
37700 PyObject
* obj0
= 0 ;
37701 PyObject
* obj1
= 0 ;
37702 char *kwnames
[] = {
37703 (char *) "self",(char *) "event", NULL
37706 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Control_Command",kwnames
,&obj0
,&obj1
)) goto fail
;
37707 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxControl
, SWIG_POINTER_EXCEPTION
| 0);
37708 if (SWIG_arg_fail(1)) SWIG_fail
;
37710 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxCommandEvent
, SWIG_POINTER_EXCEPTION
| 0);
37711 if (SWIG_arg_fail(2)) SWIG_fail
;
37712 if (arg2
== NULL
) {
37713 SWIG_null_ref("wxCommandEvent");
37715 if (SWIG_arg_fail(2)) SWIG_fail
;
37718 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37719 (arg1
)->Command(*arg2
);
37721 wxPyEndAllowThreads(__tstate
);
37722 if (PyErr_Occurred()) SWIG_fail
;
37724 Py_INCREF(Py_None
); resultobj
= Py_None
;
37731 static PyObject
*_wrap_Control_GetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37732 PyObject
*resultobj
;
37733 wxControl
*arg1
= (wxControl
*) 0 ;
37735 PyObject
* obj0
= 0 ;
37736 char *kwnames
[] = {
37737 (char *) "self", NULL
37740 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Control_GetLabel",kwnames
,&obj0
)) goto fail
;
37741 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxControl
, SWIG_POINTER_EXCEPTION
| 0);
37742 if (SWIG_arg_fail(1)) SWIG_fail
;
37744 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37745 result
= (arg1
)->GetLabel();
37747 wxPyEndAllowThreads(__tstate
);
37748 if (PyErr_Occurred()) SWIG_fail
;
37752 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
37754 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
37763 static PyObject
*_wrap_Control_SetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37764 PyObject
*resultobj
;
37765 wxControl
*arg1
= (wxControl
*) 0 ;
37766 wxString
*arg2
= 0 ;
37767 bool temp2
= false ;
37768 PyObject
* obj0
= 0 ;
37769 PyObject
* obj1
= 0 ;
37770 char *kwnames
[] = {
37771 (char *) "self",(char *) "label", NULL
37774 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Control_SetLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
37775 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxControl
, SWIG_POINTER_EXCEPTION
| 0);
37776 if (SWIG_arg_fail(1)) SWIG_fail
;
37778 arg2
= wxString_in_helper(obj1
);
37779 if (arg2
== NULL
) SWIG_fail
;
37783 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37784 (arg1
)->SetLabel((wxString
const &)*arg2
);
37786 wxPyEndAllowThreads(__tstate
);
37787 if (PyErr_Occurred()) SWIG_fail
;
37789 Py_INCREF(Py_None
); resultobj
= Py_None
;
37804 static PyObject
*_wrap_Control_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37805 PyObject
*resultobj
;
37806 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
37807 wxVisualAttributes result
;
37808 PyObject
* obj0
= 0 ;
37809 char *kwnames
[] = {
37810 (char *) "variant", NULL
37813 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Control_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
37816 arg1
= (wxWindowVariant
)(SWIG_As_int(obj0
));
37817 if (SWIG_arg_fail(1)) SWIG_fail
;
37821 if (!wxPyCheckForApp()) SWIG_fail
;
37822 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37823 result
= wxControl::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
37825 wxPyEndAllowThreads(__tstate
);
37826 if (PyErr_Occurred()) SWIG_fail
;
37829 wxVisualAttributes
* resultptr
;
37830 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
37831 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
37839 static PyObject
* Control_swigregister(PyObject
*, PyObject
*args
) {
37841 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
37842 SWIG_TypeClientData(SWIGTYPE_p_wxControl
, obj
);
37844 return Py_BuildValue((char *)"");
37846 static PyObject
*_wrap_ItemContainer_Append(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37847 PyObject
*resultobj
;
37848 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
37849 wxString
*arg2
= 0 ;
37850 PyObject
*arg3
= (PyObject
*) NULL
;
37852 bool temp2
= false ;
37853 PyObject
* obj0
= 0 ;
37854 PyObject
* obj1
= 0 ;
37855 PyObject
* obj2
= 0 ;
37856 char *kwnames
[] = {
37857 (char *) "self",(char *) "item",(char *) "clientData", NULL
37860 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ItemContainer_Append",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
37861 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxItemContainer
, SWIG_POINTER_EXCEPTION
| 0);
37862 if (SWIG_arg_fail(1)) SWIG_fail
;
37864 arg2
= wxString_in_helper(obj1
);
37865 if (arg2
== NULL
) SWIG_fail
;
37872 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37873 result
= (int)wxItemContainer_Append(arg1
,(wxString
const &)*arg2
,arg3
);
37875 wxPyEndAllowThreads(__tstate
);
37876 if (PyErr_Occurred()) SWIG_fail
;
37879 resultobj
= SWIG_From_int((int)(result
));
37895 static PyObject
*_wrap_ItemContainer_AppendItems(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37896 PyObject
*resultobj
;
37897 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
37898 wxArrayString
*arg2
= 0 ;
37899 bool temp2
= false ;
37900 PyObject
* obj0
= 0 ;
37901 PyObject
* obj1
= 0 ;
37902 char *kwnames
[] = {
37903 (char *) "self",(char *) "strings", NULL
37906 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_AppendItems",kwnames
,&obj0
,&obj1
)) goto fail
;
37907 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxItemContainer
, SWIG_POINTER_EXCEPTION
| 0);
37908 if (SWIG_arg_fail(1)) SWIG_fail
;
37910 if (! PySequence_Check(obj1
)) {
37911 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
37914 arg2
= new wxArrayString
;
37916 int i
, len
=PySequence_Length(obj1
);
37917 for (i
=0; i
<len
; i
++) {
37918 PyObject
* item
= PySequence_GetItem(obj1
, i
);
37919 wxString
* s
= wxString_in_helper(item
);
37920 if (PyErr_Occurred()) SWIG_fail
;
37927 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37928 (arg1
)->Append((wxArrayString
const &)*arg2
);
37930 wxPyEndAllowThreads(__tstate
);
37931 if (PyErr_Occurred()) SWIG_fail
;
37933 Py_INCREF(Py_None
); resultobj
= Py_None
;
37935 if (temp2
) delete arg2
;
37940 if (temp2
) delete arg2
;
37946 static PyObject
*_wrap_ItemContainer_Insert(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37947 PyObject
*resultobj
;
37948 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
37949 wxString
*arg2
= 0 ;
37951 PyObject
*arg4
= (PyObject
*) NULL
;
37953 bool temp2
= false ;
37954 PyObject
* obj0
= 0 ;
37955 PyObject
* obj1
= 0 ;
37956 PyObject
* obj2
= 0 ;
37957 PyObject
* obj3
= 0 ;
37958 char *kwnames
[] = {
37959 (char *) "self",(char *) "item",(char *) "pos",(char *) "clientData", NULL
37962 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:ItemContainer_Insert",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
37963 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxItemContainer
, SWIG_POINTER_EXCEPTION
| 0);
37964 if (SWIG_arg_fail(1)) SWIG_fail
;
37966 arg2
= wxString_in_helper(obj1
);
37967 if (arg2
== NULL
) SWIG_fail
;
37971 arg3
= (int)(SWIG_As_int(obj2
));
37972 if (SWIG_arg_fail(3)) SWIG_fail
;
37978 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37979 result
= (int)wxItemContainer_Insert(arg1
,(wxString
const &)*arg2
,arg3
,arg4
);
37981 wxPyEndAllowThreads(__tstate
);
37982 if (PyErr_Occurred()) SWIG_fail
;
37985 resultobj
= SWIG_From_int((int)(result
));
38001 static PyObject
*_wrap_ItemContainer_Clear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38002 PyObject
*resultobj
;
38003 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
38004 PyObject
* obj0
= 0 ;
38005 char *kwnames
[] = {
38006 (char *) "self", NULL
38009 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ItemContainer_Clear",kwnames
,&obj0
)) goto fail
;
38010 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxItemContainer
, SWIG_POINTER_EXCEPTION
| 0);
38011 if (SWIG_arg_fail(1)) SWIG_fail
;
38013 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38016 wxPyEndAllowThreads(__tstate
);
38017 if (PyErr_Occurred()) SWIG_fail
;
38019 Py_INCREF(Py_None
); resultobj
= Py_None
;
38026 static PyObject
*_wrap_ItemContainer_Delete(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38027 PyObject
*resultobj
;
38028 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
38030 PyObject
* obj0
= 0 ;
38031 PyObject
* obj1
= 0 ;
38032 char *kwnames
[] = {
38033 (char *) "self",(char *) "n", NULL
38036 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_Delete",kwnames
,&obj0
,&obj1
)) goto fail
;
38037 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxItemContainer
, SWIG_POINTER_EXCEPTION
| 0);
38038 if (SWIG_arg_fail(1)) SWIG_fail
;
38040 arg2
= (int)(SWIG_As_int(obj1
));
38041 if (SWIG_arg_fail(2)) SWIG_fail
;
38044 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38045 (arg1
)->Delete(arg2
);
38047 wxPyEndAllowThreads(__tstate
);
38048 if (PyErr_Occurred()) SWIG_fail
;
38050 Py_INCREF(Py_None
); resultobj
= Py_None
;
38057 static PyObject
*_wrap_ItemContainer_GetClientData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38058 PyObject
*resultobj
;
38059 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
38062 PyObject
* obj0
= 0 ;
38063 PyObject
* obj1
= 0 ;
38064 char *kwnames
[] = {
38065 (char *) "self",(char *) "n", NULL
38068 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_GetClientData",kwnames
,&obj0
,&obj1
)) goto fail
;
38069 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxItemContainer
, SWIG_POINTER_EXCEPTION
| 0);
38070 if (SWIG_arg_fail(1)) SWIG_fail
;
38072 arg2
= (int)(SWIG_As_int(obj1
));
38073 if (SWIG_arg_fail(2)) SWIG_fail
;
38076 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38077 result
= (PyObject
*)wxItemContainer_GetClientData(arg1
,arg2
);
38079 wxPyEndAllowThreads(__tstate
);
38080 if (PyErr_Occurred()) SWIG_fail
;
38082 resultobj
= result
;
38089 static PyObject
*_wrap_ItemContainer_SetClientData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38090 PyObject
*resultobj
;
38091 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
38093 PyObject
*arg3
= (PyObject
*) 0 ;
38094 PyObject
* obj0
= 0 ;
38095 PyObject
* obj1
= 0 ;
38096 PyObject
* obj2
= 0 ;
38097 char *kwnames
[] = {
38098 (char *) "self",(char *) "n",(char *) "clientData", NULL
38101 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ItemContainer_SetClientData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
38102 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxItemContainer
, SWIG_POINTER_EXCEPTION
| 0);
38103 if (SWIG_arg_fail(1)) SWIG_fail
;
38105 arg2
= (int)(SWIG_As_int(obj1
));
38106 if (SWIG_arg_fail(2)) SWIG_fail
;
38110 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38111 wxItemContainer_SetClientData(arg1
,arg2
,arg3
);
38113 wxPyEndAllowThreads(__tstate
);
38114 if (PyErr_Occurred()) SWIG_fail
;
38116 Py_INCREF(Py_None
); resultobj
= Py_None
;
38123 static PyObject
*_wrap_ItemContainer_GetCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38124 PyObject
*resultobj
;
38125 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
38127 PyObject
* obj0
= 0 ;
38128 char *kwnames
[] = {
38129 (char *) "self", NULL
38132 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ItemContainer_GetCount",kwnames
,&obj0
)) goto fail
;
38133 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxItemContainer
, SWIG_POINTER_EXCEPTION
| 0);
38134 if (SWIG_arg_fail(1)) SWIG_fail
;
38136 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38137 result
= (int)((wxItemContainer
const *)arg1
)->GetCount();
38139 wxPyEndAllowThreads(__tstate
);
38140 if (PyErr_Occurred()) SWIG_fail
;
38143 resultobj
= SWIG_From_int((int)(result
));
38151 static PyObject
*_wrap_ItemContainer_IsEmpty(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38152 PyObject
*resultobj
;
38153 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
38155 PyObject
* obj0
= 0 ;
38156 char *kwnames
[] = {
38157 (char *) "self", NULL
38160 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ItemContainer_IsEmpty",kwnames
,&obj0
)) goto fail
;
38161 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxItemContainer
, SWIG_POINTER_EXCEPTION
| 0);
38162 if (SWIG_arg_fail(1)) SWIG_fail
;
38164 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38165 result
= (bool)((wxItemContainer
const *)arg1
)->IsEmpty();
38167 wxPyEndAllowThreads(__tstate
);
38168 if (PyErr_Occurred()) SWIG_fail
;
38171 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38179 static PyObject
*_wrap_ItemContainer_GetString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38180 PyObject
*resultobj
;
38181 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
38184 PyObject
* obj0
= 0 ;
38185 PyObject
* obj1
= 0 ;
38186 char *kwnames
[] = {
38187 (char *) "self",(char *) "n", NULL
38190 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_GetString",kwnames
,&obj0
,&obj1
)) goto fail
;
38191 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxItemContainer
, SWIG_POINTER_EXCEPTION
| 0);
38192 if (SWIG_arg_fail(1)) SWIG_fail
;
38194 arg2
= (int)(SWIG_As_int(obj1
));
38195 if (SWIG_arg_fail(2)) SWIG_fail
;
38198 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38199 result
= ((wxItemContainer
const *)arg1
)->GetString(arg2
);
38201 wxPyEndAllowThreads(__tstate
);
38202 if (PyErr_Occurred()) SWIG_fail
;
38206 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
38208 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
38217 static PyObject
*_wrap_ItemContainer_GetStrings(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38218 PyObject
*resultobj
;
38219 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
38220 wxArrayString result
;
38221 PyObject
* obj0
= 0 ;
38222 char *kwnames
[] = {
38223 (char *) "self", NULL
38226 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ItemContainer_GetStrings",kwnames
,&obj0
)) goto fail
;
38227 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxItemContainer
, SWIG_POINTER_EXCEPTION
| 0);
38228 if (SWIG_arg_fail(1)) SWIG_fail
;
38230 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38231 result
= ((wxItemContainer
const *)arg1
)->GetStrings();
38233 wxPyEndAllowThreads(__tstate
);
38234 if (PyErr_Occurred()) SWIG_fail
;
38237 resultobj
= wxArrayString2PyList_helper(result
);
38245 static PyObject
*_wrap_ItemContainer_SetString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38246 PyObject
*resultobj
;
38247 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
38249 wxString
*arg3
= 0 ;
38250 bool temp3
= false ;
38251 PyObject
* obj0
= 0 ;
38252 PyObject
* obj1
= 0 ;
38253 PyObject
* obj2
= 0 ;
38254 char *kwnames
[] = {
38255 (char *) "self",(char *) "n",(char *) "s", NULL
38258 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ItemContainer_SetString",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
38259 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxItemContainer
, SWIG_POINTER_EXCEPTION
| 0);
38260 if (SWIG_arg_fail(1)) SWIG_fail
;
38262 arg2
= (int)(SWIG_As_int(obj1
));
38263 if (SWIG_arg_fail(2)) SWIG_fail
;
38266 arg3
= wxString_in_helper(obj2
);
38267 if (arg3
== NULL
) SWIG_fail
;
38271 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38272 (arg1
)->SetString(arg2
,(wxString
const &)*arg3
);
38274 wxPyEndAllowThreads(__tstate
);
38275 if (PyErr_Occurred()) SWIG_fail
;
38277 Py_INCREF(Py_None
); resultobj
= Py_None
;
38292 static PyObject
*_wrap_ItemContainer_FindString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38293 PyObject
*resultobj
;
38294 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
38295 wxString
*arg2
= 0 ;
38297 bool temp2
= false ;
38298 PyObject
* obj0
= 0 ;
38299 PyObject
* obj1
= 0 ;
38300 char *kwnames
[] = {
38301 (char *) "self",(char *) "s", NULL
38304 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_FindString",kwnames
,&obj0
,&obj1
)) goto fail
;
38305 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxItemContainer
, SWIG_POINTER_EXCEPTION
| 0);
38306 if (SWIG_arg_fail(1)) SWIG_fail
;
38308 arg2
= wxString_in_helper(obj1
);
38309 if (arg2
== NULL
) SWIG_fail
;
38313 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38314 result
= (int)((wxItemContainer
const *)arg1
)->FindString((wxString
const &)*arg2
);
38316 wxPyEndAllowThreads(__tstate
);
38317 if (PyErr_Occurred()) SWIG_fail
;
38320 resultobj
= SWIG_From_int((int)(result
));
38336 static PyObject
*_wrap_ItemContainer_SetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38337 PyObject
*resultobj
;
38338 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
38340 PyObject
* obj0
= 0 ;
38341 PyObject
* obj1
= 0 ;
38342 char *kwnames
[] = {
38343 (char *) "self",(char *) "n", NULL
38346 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
38347 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxItemContainer
, SWIG_POINTER_EXCEPTION
| 0);
38348 if (SWIG_arg_fail(1)) SWIG_fail
;
38350 arg2
= (int)(SWIG_As_int(obj1
));
38351 if (SWIG_arg_fail(2)) SWIG_fail
;
38354 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38355 (arg1
)->SetSelection(arg2
);
38357 wxPyEndAllowThreads(__tstate
);
38358 if (PyErr_Occurred()) SWIG_fail
;
38360 Py_INCREF(Py_None
); resultobj
= Py_None
;
38367 static PyObject
*_wrap_ItemContainer_GetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38368 PyObject
*resultobj
;
38369 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
38371 PyObject
* obj0
= 0 ;
38372 char *kwnames
[] = {
38373 (char *) "self", NULL
38376 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ItemContainer_GetSelection",kwnames
,&obj0
)) goto fail
;
38377 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxItemContainer
, SWIG_POINTER_EXCEPTION
| 0);
38378 if (SWIG_arg_fail(1)) SWIG_fail
;
38380 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38381 result
= (int)((wxItemContainer
const *)arg1
)->GetSelection();
38383 wxPyEndAllowThreads(__tstate
);
38384 if (PyErr_Occurred()) SWIG_fail
;
38387 resultobj
= SWIG_From_int((int)(result
));
38395 static PyObject
*_wrap_ItemContainer_SetStringSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38396 PyObject
*resultobj
;
38397 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
38398 wxString
*arg2
= 0 ;
38400 bool temp2
= false ;
38401 PyObject
* obj0
= 0 ;
38402 PyObject
* obj1
= 0 ;
38403 char *kwnames
[] = {
38404 (char *) "self",(char *) "s", NULL
38407 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_SetStringSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
38408 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxItemContainer
, SWIG_POINTER_EXCEPTION
| 0);
38409 if (SWIG_arg_fail(1)) SWIG_fail
;
38411 arg2
= wxString_in_helper(obj1
);
38412 if (arg2
== NULL
) SWIG_fail
;
38416 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38417 result
= (bool)(arg1
)->SetStringSelection((wxString
const &)*arg2
);
38419 wxPyEndAllowThreads(__tstate
);
38420 if (PyErr_Occurred()) SWIG_fail
;
38423 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38439 static PyObject
*_wrap_ItemContainer_GetStringSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38440 PyObject
*resultobj
;
38441 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
38443 PyObject
* obj0
= 0 ;
38444 char *kwnames
[] = {
38445 (char *) "self", NULL
38448 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ItemContainer_GetStringSelection",kwnames
,&obj0
)) goto fail
;
38449 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxItemContainer
, SWIG_POINTER_EXCEPTION
| 0);
38450 if (SWIG_arg_fail(1)) SWIG_fail
;
38452 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38453 result
= ((wxItemContainer
const *)arg1
)->GetStringSelection();
38455 wxPyEndAllowThreads(__tstate
);
38456 if (PyErr_Occurred()) SWIG_fail
;
38460 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
38462 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
38471 static PyObject
*_wrap_ItemContainer_Select(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38472 PyObject
*resultobj
;
38473 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
38475 PyObject
* obj0
= 0 ;
38476 PyObject
* obj1
= 0 ;
38477 char *kwnames
[] = {
38478 (char *) "self",(char *) "n", NULL
38481 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_Select",kwnames
,&obj0
,&obj1
)) goto fail
;
38482 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxItemContainer
, SWIG_POINTER_EXCEPTION
| 0);
38483 if (SWIG_arg_fail(1)) SWIG_fail
;
38485 arg2
= (int)(SWIG_As_int(obj1
));
38486 if (SWIG_arg_fail(2)) SWIG_fail
;
38489 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38490 (arg1
)->Select(arg2
);
38492 wxPyEndAllowThreads(__tstate
);
38493 if (PyErr_Occurred()) SWIG_fail
;
38495 Py_INCREF(Py_None
); resultobj
= Py_None
;
38502 static PyObject
* ItemContainer_swigregister(PyObject
*, PyObject
*args
) {
38504 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
38505 SWIG_TypeClientData(SWIGTYPE_p_wxItemContainer
, obj
);
38507 return Py_BuildValue((char *)"");
38509 static PyObject
* ControlWithItems_swigregister(PyObject
*, PyObject
*args
) {
38511 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
38512 SWIG_TypeClientData(SWIGTYPE_p_wxControlWithItems
, obj
);
38514 return Py_BuildValue((char *)"");
38516 static PyObject
*_wrap_new_SizerItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38517 PyObject
*resultobj
;
38518 wxSizerItem
*result
;
38519 char *kwnames
[] = {
38523 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_SizerItem",kwnames
)) goto fail
;
38525 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38526 result
= (wxSizerItem
*)new wxSizerItem();
38528 wxPyEndAllowThreads(__tstate
);
38529 if (PyErr_Occurred()) SWIG_fail
;
38531 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizerItem
, 1);
38538 static PyObject
*_wrap_new_SizerItemWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38539 PyObject
*resultobj
;
38540 wxWindow
*arg1
= (wxWindow
*) 0 ;
38544 PyObject
*arg5
= (PyObject
*) NULL
;
38545 wxSizerItem
*result
;
38546 PyObject
* obj0
= 0 ;
38547 PyObject
* obj1
= 0 ;
38548 PyObject
* obj2
= 0 ;
38549 PyObject
* obj3
= 0 ;
38550 PyObject
* obj4
= 0 ;
38551 char *kwnames
[] = {
38552 (char *) "window",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
38555 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:new_SizerItemWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
38556 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
38557 if (SWIG_arg_fail(1)) SWIG_fail
;
38559 arg2
= (int)(SWIG_As_int(obj1
));
38560 if (SWIG_arg_fail(2)) SWIG_fail
;
38563 arg3
= (int)(SWIG_As_int(obj2
));
38564 if (SWIG_arg_fail(3)) SWIG_fail
;
38567 arg4
= (int)(SWIG_As_int(obj3
));
38568 if (SWIG_arg_fail(4)) SWIG_fail
;
38574 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38575 result
= (wxSizerItem
*)new_wxSizerItem(arg1
,arg2
,arg3
,arg4
,arg5
);
38577 wxPyEndAllowThreads(__tstate
);
38578 if (PyErr_Occurred()) SWIG_fail
;
38580 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizerItem
, 1);
38587 static PyObject
*_wrap_new_SizerItemSpacer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38588 PyObject
*resultobj
;
38594 PyObject
*arg6
= (PyObject
*) NULL
;
38595 wxSizerItem
*result
;
38596 PyObject
* obj0
= 0 ;
38597 PyObject
* obj1
= 0 ;
38598 PyObject
* obj2
= 0 ;
38599 PyObject
* obj3
= 0 ;
38600 PyObject
* obj4
= 0 ;
38601 PyObject
* obj5
= 0 ;
38602 char *kwnames
[] = {
38603 (char *) "width",(char *) "height",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
38606 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:new_SizerItemSpacer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
38608 arg1
= (int)(SWIG_As_int(obj0
));
38609 if (SWIG_arg_fail(1)) SWIG_fail
;
38612 arg2
= (int)(SWIG_As_int(obj1
));
38613 if (SWIG_arg_fail(2)) SWIG_fail
;
38616 arg3
= (int)(SWIG_As_int(obj2
));
38617 if (SWIG_arg_fail(3)) SWIG_fail
;
38620 arg4
= (int)(SWIG_As_int(obj3
));
38621 if (SWIG_arg_fail(4)) SWIG_fail
;
38624 arg5
= (int)(SWIG_As_int(obj4
));
38625 if (SWIG_arg_fail(5)) SWIG_fail
;
38631 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38632 result
= (wxSizerItem
*)new_wxSizerItem(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
);
38634 wxPyEndAllowThreads(__tstate
);
38635 if (PyErr_Occurred()) SWIG_fail
;
38637 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizerItem
, 1);
38644 static PyObject
*_wrap_new_SizerItemSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38645 PyObject
*resultobj
;
38646 wxSizer
*arg1
= (wxSizer
*) 0 ;
38650 PyObject
*arg5
= (PyObject
*) NULL
;
38651 wxSizerItem
*result
;
38652 PyObject
* obj0
= 0 ;
38653 PyObject
* obj1
= 0 ;
38654 PyObject
* obj2
= 0 ;
38655 PyObject
* obj3
= 0 ;
38656 PyObject
* obj4
= 0 ;
38657 char *kwnames
[] = {
38658 (char *) "sizer",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
38661 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:new_SizerItemSizer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
38662 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
38663 if (SWIG_arg_fail(1)) SWIG_fail
;
38665 arg2
= (int)(SWIG_As_int(obj1
));
38666 if (SWIG_arg_fail(2)) SWIG_fail
;
38669 arg3
= (int)(SWIG_As_int(obj2
));
38670 if (SWIG_arg_fail(3)) SWIG_fail
;
38673 arg4
= (int)(SWIG_As_int(obj3
));
38674 if (SWIG_arg_fail(4)) SWIG_fail
;
38680 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38681 result
= (wxSizerItem
*)new_wxSizerItem(arg1
,arg2
,arg3
,arg4
,arg5
);
38683 wxPyEndAllowThreads(__tstate
);
38684 if (PyErr_Occurred()) SWIG_fail
;
38686 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizerItem
, 1);
38693 static PyObject
*_wrap_SizerItem_DeleteWindows(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38694 PyObject
*resultobj
;
38695 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
38696 PyObject
* obj0
= 0 ;
38697 char *kwnames
[] = {
38698 (char *) "self", NULL
38701 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_DeleteWindows",kwnames
,&obj0
)) goto fail
;
38702 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
38703 if (SWIG_arg_fail(1)) SWIG_fail
;
38705 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38706 (arg1
)->DeleteWindows();
38708 wxPyEndAllowThreads(__tstate
);
38709 if (PyErr_Occurred()) SWIG_fail
;
38711 Py_INCREF(Py_None
); resultobj
= Py_None
;
38718 static PyObject
*_wrap_SizerItem_DetachSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38719 PyObject
*resultobj
;
38720 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
38721 PyObject
* obj0
= 0 ;
38722 char *kwnames
[] = {
38723 (char *) "self", NULL
38726 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_DetachSizer",kwnames
,&obj0
)) goto fail
;
38727 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
38728 if (SWIG_arg_fail(1)) SWIG_fail
;
38730 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38731 (arg1
)->DetachSizer();
38733 wxPyEndAllowThreads(__tstate
);
38734 if (PyErr_Occurred()) SWIG_fail
;
38736 Py_INCREF(Py_None
); resultobj
= Py_None
;
38743 static PyObject
*_wrap_SizerItem_GetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38744 PyObject
*resultobj
;
38745 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
38747 PyObject
* obj0
= 0 ;
38748 char *kwnames
[] = {
38749 (char *) "self", NULL
38752 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetSize",kwnames
,&obj0
)) goto fail
;
38753 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
38754 if (SWIG_arg_fail(1)) SWIG_fail
;
38756 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38757 result
= (arg1
)->GetSize();
38759 wxPyEndAllowThreads(__tstate
);
38760 if (PyErr_Occurred()) SWIG_fail
;
38763 wxSize
* resultptr
;
38764 resultptr
= new wxSize((wxSize
&)(result
));
38765 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
38773 static PyObject
*_wrap_SizerItem_CalcMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38774 PyObject
*resultobj
;
38775 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
38777 PyObject
* obj0
= 0 ;
38778 char *kwnames
[] = {
38779 (char *) "self", NULL
38782 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_CalcMin",kwnames
,&obj0
)) goto fail
;
38783 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
38784 if (SWIG_arg_fail(1)) SWIG_fail
;
38786 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38787 result
= (arg1
)->CalcMin();
38789 wxPyEndAllowThreads(__tstate
);
38790 if (PyErr_Occurred()) SWIG_fail
;
38793 wxSize
* resultptr
;
38794 resultptr
= new wxSize((wxSize
&)(result
));
38795 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
38803 static PyObject
*_wrap_SizerItem_SetDimension(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38804 PyObject
*resultobj
;
38805 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
38808 PyObject
* obj0
= 0 ;
38809 PyObject
* obj1
= 0 ;
38810 PyObject
* obj2
= 0 ;
38811 char *kwnames
[] = {
38812 (char *) "self",(char *) "pos",(char *) "size", NULL
38815 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SizerItem_SetDimension",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
38816 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
38817 if (SWIG_arg_fail(1)) SWIG_fail
;
38820 SWIG_Python_ConvertPtr(obj1
, (void **)&argp
, SWIGTYPE_p_wxPoint
, SWIG_POINTER_EXCEPTION
);
38821 if (SWIG_arg_fail(2)) SWIG_fail
;
38822 if (argp
== NULL
) {
38823 SWIG_null_ref("wxPoint");
38825 if (SWIG_arg_fail(2)) SWIG_fail
;
38830 SWIG_Python_ConvertPtr(obj2
, (void **)&argp
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
);
38831 if (SWIG_arg_fail(3)) SWIG_fail
;
38832 if (argp
== NULL
) {
38833 SWIG_null_ref("wxSize");
38835 if (SWIG_arg_fail(3)) SWIG_fail
;
38839 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38840 (arg1
)->SetDimension(arg2
,arg3
);
38842 wxPyEndAllowThreads(__tstate
);
38843 if (PyErr_Occurred()) SWIG_fail
;
38845 Py_INCREF(Py_None
); resultobj
= Py_None
;
38852 static PyObject
*_wrap_SizerItem_GetMinSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38853 PyObject
*resultobj
;
38854 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
38856 PyObject
* obj0
= 0 ;
38857 char *kwnames
[] = {
38858 (char *) "self", NULL
38861 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetMinSize",kwnames
,&obj0
)) goto fail
;
38862 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
38863 if (SWIG_arg_fail(1)) SWIG_fail
;
38865 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38866 result
= (arg1
)->GetMinSize();
38868 wxPyEndAllowThreads(__tstate
);
38869 if (PyErr_Occurred()) SWIG_fail
;
38872 wxSize
* resultptr
;
38873 resultptr
= new wxSize((wxSize
&)(result
));
38874 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
38882 static PyObject
*_wrap_SizerItem_GetMinSizeWithBorder(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38883 PyObject
*resultobj
;
38884 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
38886 PyObject
* obj0
= 0 ;
38887 char *kwnames
[] = {
38888 (char *) "self", NULL
38891 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetMinSizeWithBorder",kwnames
,&obj0
)) goto fail
;
38892 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
38893 if (SWIG_arg_fail(1)) SWIG_fail
;
38895 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38896 result
= ((wxSizerItem
const *)arg1
)->GetMinSizeWithBorder();
38898 wxPyEndAllowThreads(__tstate
);
38899 if (PyErr_Occurred()) SWIG_fail
;
38902 wxSize
* resultptr
;
38903 resultptr
= new wxSize((wxSize
&)(result
));
38904 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
38912 static PyObject
*_wrap_SizerItem_SetInitSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38913 PyObject
*resultobj
;
38914 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
38917 PyObject
* obj0
= 0 ;
38918 PyObject
* obj1
= 0 ;
38919 PyObject
* obj2
= 0 ;
38920 char *kwnames
[] = {
38921 (char *) "self",(char *) "x",(char *) "y", NULL
38924 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SizerItem_SetInitSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
38925 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
38926 if (SWIG_arg_fail(1)) SWIG_fail
;
38928 arg2
= (int)(SWIG_As_int(obj1
));
38929 if (SWIG_arg_fail(2)) SWIG_fail
;
38932 arg3
= (int)(SWIG_As_int(obj2
));
38933 if (SWIG_arg_fail(3)) SWIG_fail
;
38936 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38937 (arg1
)->SetInitSize(arg2
,arg3
);
38939 wxPyEndAllowThreads(__tstate
);
38940 if (PyErr_Occurred()) SWIG_fail
;
38942 Py_INCREF(Py_None
); resultobj
= Py_None
;
38949 static PyObject
*_wrap_SizerItem_SetRatioWH(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38950 PyObject
*resultobj
;
38951 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
38954 PyObject
* obj0
= 0 ;
38955 PyObject
* obj1
= 0 ;
38956 PyObject
* obj2
= 0 ;
38957 char *kwnames
[] = {
38958 (char *) "self",(char *) "width",(char *) "height", NULL
38961 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SizerItem_SetRatioWH",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
38962 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
38963 if (SWIG_arg_fail(1)) SWIG_fail
;
38965 arg2
= (int)(SWIG_As_int(obj1
));
38966 if (SWIG_arg_fail(2)) SWIG_fail
;
38969 arg3
= (int)(SWIG_As_int(obj2
));
38970 if (SWIG_arg_fail(3)) SWIG_fail
;
38973 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38974 (arg1
)->SetRatio(arg2
,arg3
);
38976 wxPyEndAllowThreads(__tstate
);
38977 if (PyErr_Occurred()) SWIG_fail
;
38979 Py_INCREF(Py_None
); resultobj
= Py_None
;
38986 static PyObject
*_wrap_SizerItem_SetRatioSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38987 PyObject
*resultobj
;
38988 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
38991 PyObject
* obj0
= 0 ;
38992 PyObject
* obj1
= 0 ;
38993 char *kwnames
[] = {
38994 (char *) "self",(char *) "size", NULL
38997 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetRatioSize",kwnames
,&obj0
,&obj1
)) goto fail
;
38998 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
38999 if (SWIG_arg_fail(1)) SWIG_fail
;
39002 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
39005 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39006 (arg1
)->SetRatio((wxSize
const &)*arg2
);
39008 wxPyEndAllowThreads(__tstate
);
39009 if (PyErr_Occurred()) SWIG_fail
;
39011 Py_INCREF(Py_None
); resultobj
= Py_None
;
39018 static PyObject
*_wrap_SizerItem_SetRatio(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39019 PyObject
*resultobj
;
39020 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
39022 PyObject
* obj0
= 0 ;
39023 PyObject
* obj1
= 0 ;
39024 char *kwnames
[] = {
39025 (char *) "self",(char *) "ratio", NULL
39028 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetRatio",kwnames
,&obj0
,&obj1
)) goto fail
;
39029 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
39030 if (SWIG_arg_fail(1)) SWIG_fail
;
39032 arg2
= (float)(SWIG_As_float(obj1
));
39033 if (SWIG_arg_fail(2)) SWIG_fail
;
39036 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39037 (arg1
)->SetRatio(arg2
);
39039 wxPyEndAllowThreads(__tstate
);
39040 if (PyErr_Occurred()) SWIG_fail
;
39042 Py_INCREF(Py_None
); resultobj
= Py_None
;
39049 static PyObject
*_wrap_SizerItem_GetRatio(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39050 PyObject
*resultobj
;
39051 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
39053 PyObject
* obj0
= 0 ;
39054 char *kwnames
[] = {
39055 (char *) "self", NULL
39058 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetRatio",kwnames
,&obj0
)) goto fail
;
39059 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
39060 if (SWIG_arg_fail(1)) SWIG_fail
;
39062 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39063 result
= (float)(arg1
)->GetRatio();
39065 wxPyEndAllowThreads(__tstate
);
39066 if (PyErr_Occurred()) SWIG_fail
;
39069 resultobj
= SWIG_From_float((float)(result
));
39077 static PyObject
*_wrap_SizerItem_GetRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39078 PyObject
*resultobj
;
39079 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
39081 PyObject
* obj0
= 0 ;
39082 char *kwnames
[] = {
39083 (char *) "self", NULL
39086 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetRect",kwnames
,&obj0
)) goto fail
;
39087 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
39088 if (SWIG_arg_fail(1)) SWIG_fail
;
39090 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39091 result
= (arg1
)->GetRect();
39093 wxPyEndAllowThreads(__tstate
);
39094 if (PyErr_Occurred()) SWIG_fail
;
39097 wxRect
* resultptr
;
39098 resultptr
= new wxRect((wxRect
&)(result
));
39099 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
39107 static PyObject
*_wrap_SizerItem_IsWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39108 PyObject
*resultobj
;
39109 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
39111 PyObject
* obj0
= 0 ;
39112 char *kwnames
[] = {
39113 (char *) "self", NULL
39116 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_IsWindow",kwnames
,&obj0
)) goto fail
;
39117 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
39118 if (SWIG_arg_fail(1)) SWIG_fail
;
39120 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39121 result
= (bool)(arg1
)->IsWindow();
39123 wxPyEndAllowThreads(__tstate
);
39124 if (PyErr_Occurred()) SWIG_fail
;
39127 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
39135 static PyObject
*_wrap_SizerItem_IsSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39136 PyObject
*resultobj
;
39137 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
39139 PyObject
* obj0
= 0 ;
39140 char *kwnames
[] = {
39141 (char *) "self", NULL
39144 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_IsSizer",kwnames
,&obj0
)) goto fail
;
39145 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
39146 if (SWIG_arg_fail(1)) SWIG_fail
;
39148 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39149 result
= (bool)(arg1
)->IsSizer();
39151 wxPyEndAllowThreads(__tstate
);
39152 if (PyErr_Occurred()) SWIG_fail
;
39155 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
39163 static PyObject
*_wrap_SizerItem_IsSpacer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39164 PyObject
*resultobj
;
39165 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
39167 PyObject
* obj0
= 0 ;
39168 char *kwnames
[] = {
39169 (char *) "self", NULL
39172 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_IsSpacer",kwnames
,&obj0
)) goto fail
;
39173 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
39174 if (SWIG_arg_fail(1)) SWIG_fail
;
39176 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39177 result
= (bool)(arg1
)->IsSpacer();
39179 wxPyEndAllowThreads(__tstate
);
39180 if (PyErr_Occurred()) SWIG_fail
;
39183 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
39191 static PyObject
*_wrap_SizerItem_SetProportion(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39192 PyObject
*resultobj
;
39193 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
39195 PyObject
* obj0
= 0 ;
39196 PyObject
* obj1
= 0 ;
39197 char *kwnames
[] = {
39198 (char *) "self",(char *) "proportion", NULL
39201 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetProportion",kwnames
,&obj0
,&obj1
)) goto fail
;
39202 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
39203 if (SWIG_arg_fail(1)) SWIG_fail
;
39205 arg2
= (int)(SWIG_As_int(obj1
));
39206 if (SWIG_arg_fail(2)) SWIG_fail
;
39209 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39210 (arg1
)->SetProportion(arg2
);
39212 wxPyEndAllowThreads(__tstate
);
39213 if (PyErr_Occurred()) SWIG_fail
;
39215 Py_INCREF(Py_None
); resultobj
= Py_None
;
39222 static PyObject
*_wrap_SizerItem_GetProportion(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39223 PyObject
*resultobj
;
39224 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
39226 PyObject
* obj0
= 0 ;
39227 char *kwnames
[] = {
39228 (char *) "self", NULL
39231 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetProportion",kwnames
,&obj0
)) goto fail
;
39232 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
39233 if (SWIG_arg_fail(1)) SWIG_fail
;
39235 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39236 result
= (int)(arg1
)->GetProportion();
39238 wxPyEndAllowThreads(__tstate
);
39239 if (PyErr_Occurred()) SWIG_fail
;
39242 resultobj
= SWIG_From_int((int)(result
));
39250 static PyObject
*_wrap_SizerItem_SetFlag(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39251 PyObject
*resultobj
;
39252 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
39254 PyObject
* obj0
= 0 ;
39255 PyObject
* obj1
= 0 ;
39256 char *kwnames
[] = {
39257 (char *) "self",(char *) "flag", NULL
39260 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetFlag",kwnames
,&obj0
,&obj1
)) goto fail
;
39261 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
39262 if (SWIG_arg_fail(1)) SWIG_fail
;
39264 arg2
= (int)(SWIG_As_int(obj1
));
39265 if (SWIG_arg_fail(2)) SWIG_fail
;
39268 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39269 (arg1
)->SetFlag(arg2
);
39271 wxPyEndAllowThreads(__tstate
);
39272 if (PyErr_Occurred()) SWIG_fail
;
39274 Py_INCREF(Py_None
); resultobj
= Py_None
;
39281 static PyObject
*_wrap_SizerItem_GetFlag(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39282 PyObject
*resultobj
;
39283 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
39285 PyObject
* obj0
= 0 ;
39286 char *kwnames
[] = {
39287 (char *) "self", NULL
39290 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetFlag",kwnames
,&obj0
)) goto fail
;
39291 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
39292 if (SWIG_arg_fail(1)) SWIG_fail
;
39294 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39295 result
= (int)(arg1
)->GetFlag();
39297 wxPyEndAllowThreads(__tstate
);
39298 if (PyErr_Occurred()) SWIG_fail
;
39301 resultobj
= SWIG_From_int((int)(result
));
39309 static PyObject
*_wrap_SizerItem_SetBorder(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39310 PyObject
*resultobj
;
39311 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
39313 PyObject
* obj0
= 0 ;
39314 PyObject
* obj1
= 0 ;
39315 char *kwnames
[] = {
39316 (char *) "self",(char *) "border", NULL
39319 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetBorder",kwnames
,&obj0
,&obj1
)) goto fail
;
39320 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
39321 if (SWIG_arg_fail(1)) SWIG_fail
;
39323 arg2
= (int)(SWIG_As_int(obj1
));
39324 if (SWIG_arg_fail(2)) SWIG_fail
;
39327 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39328 (arg1
)->SetBorder(arg2
);
39330 wxPyEndAllowThreads(__tstate
);
39331 if (PyErr_Occurred()) SWIG_fail
;
39333 Py_INCREF(Py_None
); resultobj
= Py_None
;
39340 static PyObject
*_wrap_SizerItem_GetBorder(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39341 PyObject
*resultobj
;
39342 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
39344 PyObject
* obj0
= 0 ;
39345 char *kwnames
[] = {
39346 (char *) "self", NULL
39349 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetBorder",kwnames
,&obj0
)) goto fail
;
39350 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
39351 if (SWIG_arg_fail(1)) SWIG_fail
;
39353 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39354 result
= (int)(arg1
)->GetBorder();
39356 wxPyEndAllowThreads(__tstate
);
39357 if (PyErr_Occurred()) SWIG_fail
;
39360 resultobj
= SWIG_From_int((int)(result
));
39368 static PyObject
*_wrap_SizerItem_GetWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39369 PyObject
*resultobj
;
39370 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
39372 PyObject
* obj0
= 0 ;
39373 char *kwnames
[] = {
39374 (char *) "self", NULL
39377 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetWindow",kwnames
,&obj0
)) goto fail
;
39378 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
39379 if (SWIG_arg_fail(1)) SWIG_fail
;
39381 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39382 result
= (wxWindow
*)(arg1
)->GetWindow();
39384 wxPyEndAllowThreads(__tstate
);
39385 if (PyErr_Occurred()) SWIG_fail
;
39388 resultobj
= wxPyMake_wxObject(result
, 0);
39396 static PyObject
*_wrap_SizerItem_SetWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39397 PyObject
*resultobj
;
39398 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
39399 wxWindow
*arg2
= (wxWindow
*) 0 ;
39400 PyObject
* obj0
= 0 ;
39401 PyObject
* obj1
= 0 ;
39402 char *kwnames
[] = {
39403 (char *) "self",(char *) "window", NULL
39406 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
39407 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
39408 if (SWIG_arg_fail(1)) SWIG_fail
;
39409 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
39410 if (SWIG_arg_fail(2)) SWIG_fail
;
39412 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39413 (arg1
)->SetWindow(arg2
);
39415 wxPyEndAllowThreads(__tstate
);
39416 if (PyErr_Occurred()) SWIG_fail
;
39418 Py_INCREF(Py_None
); resultobj
= Py_None
;
39425 static PyObject
*_wrap_SizerItem_GetSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39426 PyObject
*resultobj
;
39427 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
39429 PyObject
* obj0
= 0 ;
39430 char *kwnames
[] = {
39431 (char *) "self", NULL
39434 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetSizer",kwnames
,&obj0
)) goto fail
;
39435 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
39436 if (SWIG_arg_fail(1)) SWIG_fail
;
39438 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39439 result
= (wxSizer
*)(arg1
)->GetSizer();
39441 wxPyEndAllowThreads(__tstate
);
39442 if (PyErr_Occurred()) SWIG_fail
;
39445 resultobj
= wxPyMake_wxObject(result
, 0);
39453 static PyObject
*_wrap_SizerItem_SetSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39454 PyObject
*resultobj
;
39455 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
39456 wxSizer
*arg2
= (wxSizer
*) 0 ;
39457 PyObject
* obj0
= 0 ;
39458 PyObject
* obj1
= 0 ;
39459 char *kwnames
[] = {
39460 (char *) "self",(char *) "sizer", NULL
39463 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetSizer",kwnames
,&obj0
,&obj1
)) goto fail
;
39464 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
39465 if (SWIG_arg_fail(1)) SWIG_fail
;
39466 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
39467 if (SWIG_arg_fail(2)) SWIG_fail
;
39469 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39470 (arg1
)->SetSizer(arg2
);
39472 wxPyEndAllowThreads(__tstate
);
39473 if (PyErr_Occurred()) SWIG_fail
;
39475 Py_INCREF(Py_None
); resultobj
= Py_None
;
39482 static PyObject
*_wrap_SizerItem_GetSpacer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39483 PyObject
*resultobj
;
39484 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
39486 PyObject
* obj0
= 0 ;
39487 char *kwnames
[] = {
39488 (char *) "self", NULL
39491 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetSpacer",kwnames
,&obj0
)) goto fail
;
39492 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
39493 if (SWIG_arg_fail(1)) SWIG_fail
;
39495 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39497 wxSize
const &_result_ref
= (arg1
)->GetSpacer();
39498 result
= (wxSize
*) &_result_ref
;
39501 wxPyEndAllowThreads(__tstate
);
39502 if (PyErr_Occurred()) SWIG_fail
;
39504 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSize
, 0);
39511 static PyObject
*_wrap_SizerItem_SetSpacer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39512 PyObject
*resultobj
;
39513 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
39516 PyObject
* obj0
= 0 ;
39517 PyObject
* obj1
= 0 ;
39518 char *kwnames
[] = {
39519 (char *) "self",(char *) "size", NULL
39522 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetSpacer",kwnames
,&obj0
,&obj1
)) goto fail
;
39523 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
39524 if (SWIG_arg_fail(1)) SWIG_fail
;
39527 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
39530 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39531 (arg1
)->SetSpacer((wxSize
const &)*arg2
);
39533 wxPyEndAllowThreads(__tstate
);
39534 if (PyErr_Occurred()) SWIG_fail
;
39536 Py_INCREF(Py_None
); resultobj
= Py_None
;
39543 static PyObject
*_wrap_SizerItem_Show(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39544 PyObject
*resultobj
;
39545 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
39547 PyObject
* obj0
= 0 ;
39548 PyObject
* obj1
= 0 ;
39549 char *kwnames
[] = {
39550 (char *) "self",(char *) "show", NULL
39553 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_Show",kwnames
,&obj0
,&obj1
)) goto fail
;
39554 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
39555 if (SWIG_arg_fail(1)) SWIG_fail
;
39557 arg2
= (bool)(SWIG_As_bool(obj1
));
39558 if (SWIG_arg_fail(2)) SWIG_fail
;
39561 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39562 (arg1
)->Show(arg2
);
39564 wxPyEndAllowThreads(__tstate
);
39565 if (PyErr_Occurred()) SWIG_fail
;
39567 Py_INCREF(Py_None
); resultobj
= Py_None
;
39574 static PyObject
*_wrap_SizerItem_IsShown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39575 PyObject
*resultobj
;
39576 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
39578 PyObject
* obj0
= 0 ;
39579 char *kwnames
[] = {
39580 (char *) "self", NULL
39583 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_IsShown",kwnames
,&obj0
)) goto fail
;
39584 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
39585 if (SWIG_arg_fail(1)) SWIG_fail
;
39587 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39588 result
= (bool)(arg1
)->IsShown();
39590 wxPyEndAllowThreads(__tstate
);
39591 if (PyErr_Occurred()) SWIG_fail
;
39594 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
39602 static PyObject
*_wrap_SizerItem_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39603 PyObject
*resultobj
;
39604 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
39606 PyObject
* obj0
= 0 ;
39607 char *kwnames
[] = {
39608 (char *) "self", NULL
39611 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetPosition",kwnames
,&obj0
)) goto fail
;
39612 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
39613 if (SWIG_arg_fail(1)) SWIG_fail
;
39615 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39616 result
= (arg1
)->GetPosition();
39618 wxPyEndAllowThreads(__tstate
);
39619 if (PyErr_Occurred()) SWIG_fail
;
39622 wxPoint
* resultptr
;
39623 resultptr
= new wxPoint((wxPoint
&)(result
));
39624 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
39632 static PyObject
*_wrap_SizerItem_GetUserData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39633 PyObject
*resultobj
;
39634 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
39636 PyObject
* obj0
= 0 ;
39637 char *kwnames
[] = {
39638 (char *) "self", NULL
39641 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetUserData",kwnames
,&obj0
)) goto fail
;
39642 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
39643 if (SWIG_arg_fail(1)) SWIG_fail
;
39645 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39646 result
= (PyObject
*)wxSizerItem_GetUserData(arg1
);
39648 wxPyEndAllowThreads(__tstate
);
39649 if (PyErr_Occurred()) SWIG_fail
;
39651 resultobj
= result
;
39658 static PyObject
* SizerItem_swigregister(PyObject
*, PyObject
*args
) {
39660 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
39661 SWIG_TypeClientData(SWIGTYPE_p_wxSizerItem
, obj
);
39663 return Py_BuildValue((char *)"");
39665 static PyObject
*_wrap_Sizer__setOORInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39666 PyObject
*resultobj
;
39667 wxSizer
*arg1
= (wxSizer
*) 0 ;
39668 PyObject
*arg2
= (PyObject
*) 0 ;
39669 PyObject
* obj0
= 0 ;
39670 PyObject
* obj1
= 0 ;
39671 char *kwnames
[] = {
39672 (char *) "self",(char *) "_self", NULL
39675 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer__setOORInfo",kwnames
,&obj0
,&obj1
)) goto fail
;
39676 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
39677 if (SWIG_arg_fail(1)) SWIG_fail
;
39680 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39681 wxSizer__setOORInfo(arg1
,arg2
);
39683 wxPyEndAllowThreads(__tstate
);
39684 if (PyErr_Occurred()) SWIG_fail
;
39686 Py_INCREF(Py_None
); resultobj
= Py_None
;
39693 static PyObject
*_wrap_Sizer_Add(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39694 PyObject
*resultobj
;
39695 wxSizer
*arg1
= (wxSizer
*) 0 ;
39696 PyObject
*arg2
= (PyObject
*) 0 ;
39697 int arg3
= (int) 0 ;
39698 int arg4
= (int) 0 ;
39699 int arg5
= (int) 0 ;
39700 PyObject
*arg6
= (PyObject
*) NULL
;
39701 wxSizerItem
*result
;
39702 PyObject
* obj0
= 0 ;
39703 PyObject
* obj1
= 0 ;
39704 PyObject
* obj2
= 0 ;
39705 PyObject
* obj3
= 0 ;
39706 PyObject
* obj4
= 0 ;
39707 PyObject
* obj5
= 0 ;
39708 char *kwnames
[] = {
39709 (char *) "self",(char *) "item",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
39712 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:Sizer_Add",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
39713 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
39714 if (SWIG_arg_fail(1)) SWIG_fail
;
39718 arg3
= (int)(SWIG_As_int(obj2
));
39719 if (SWIG_arg_fail(3)) SWIG_fail
;
39724 arg4
= (int)(SWIG_As_int(obj3
));
39725 if (SWIG_arg_fail(4)) SWIG_fail
;
39730 arg5
= (int)(SWIG_As_int(obj4
));
39731 if (SWIG_arg_fail(5)) SWIG_fail
;
39738 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39739 result
= (wxSizerItem
*)wxSizer_Add(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
);
39741 wxPyEndAllowThreads(__tstate
);
39742 if (PyErr_Occurred()) SWIG_fail
;
39744 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizerItem
, 0);
39751 static PyObject
*_wrap_Sizer_Insert(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39752 PyObject
*resultobj
;
39753 wxSizer
*arg1
= (wxSizer
*) 0 ;
39755 PyObject
*arg3
= (PyObject
*) 0 ;
39756 int arg4
= (int) 0 ;
39757 int arg5
= (int) 0 ;
39758 int arg6
= (int) 0 ;
39759 PyObject
*arg7
= (PyObject
*) NULL
;
39760 wxSizerItem
*result
;
39761 PyObject
* obj0
= 0 ;
39762 PyObject
* obj1
= 0 ;
39763 PyObject
* obj2
= 0 ;
39764 PyObject
* obj3
= 0 ;
39765 PyObject
* obj4
= 0 ;
39766 PyObject
* obj5
= 0 ;
39767 PyObject
* obj6
= 0 ;
39768 char *kwnames
[] = {
39769 (char *) "self",(char *) "before",(char *) "item",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
39772 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:Sizer_Insert",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
39773 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
39774 if (SWIG_arg_fail(1)) SWIG_fail
;
39776 arg2
= (int)(SWIG_As_int(obj1
));
39777 if (SWIG_arg_fail(2)) SWIG_fail
;
39782 arg4
= (int)(SWIG_As_int(obj3
));
39783 if (SWIG_arg_fail(4)) SWIG_fail
;
39788 arg5
= (int)(SWIG_As_int(obj4
));
39789 if (SWIG_arg_fail(5)) SWIG_fail
;
39794 arg6
= (int)(SWIG_As_int(obj5
));
39795 if (SWIG_arg_fail(6)) SWIG_fail
;
39802 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39803 result
= (wxSizerItem
*)wxSizer_Insert(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
39805 wxPyEndAllowThreads(__tstate
);
39806 if (PyErr_Occurred()) SWIG_fail
;
39808 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizerItem
, 0);
39815 static PyObject
*_wrap_Sizer_Prepend(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39816 PyObject
*resultobj
;
39817 wxSizer
*arg1
= (wxSizer
*) 0 ;
39818 PyObject
*arg2
= (PyObject
*) 0 ;
39819 int arg3
= (int) 0 ;
39820 int arg4
= (int) 0 ;
39821 int arg5
= (int) 0 ;
39822 PyObject
*arg6
= (PyObject
*) NULL
;
39823 wxSizerItem
*result
;
39824 PyObject
* obj0
= 0 ;
39825 PyObject
* obj1
= 0 ;
39826 PyObject
* obj2
= 0 ;
39827 PyObject
* obj3
= 0 ;
39828 PyObject
* obj4
= 0 ;
39829 PyObject
* obj5
= 0 ;
39830 char *kwnames
[] = {
39831 (char *) "self",(char *) "item",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
39834 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:Sizer_Prepend",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
39835 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
39836 if (SWIG_arg_fail(1)) SWIG_fail
;
39840 arg3
= (int)(SWIG_As_int(obj2
));
39841 if (SWIG_arg_fail(3)) SWIG_fail
;
39846 arg4
= (int)(SWIG_As_int(obj3
));
39847 if (SWIG_arg_fail(4)) SWIG_fail
;
39852 arg5
= (int)(SWIG_As_int(obj4
));
39853 if (SWIG_arg_fail(5)) SWIG_fail
;
39860 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39861 result
= (wxSizerItem
*)wxSizer_Prepend(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
);
39863 wxPyEndAllowThreads(__tstate
);
39864 if (PyErr_Occurred()) SWIG_fail
;
39866 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizerItem
, 0);
39873 static PyObject
*_wrap_Sizer_Remove(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39874 PyObject
*resultobj
;
39875 wxSizer
*arg1
= (wxSizer
*) 0 ;
39876 PyObject
*arg2
= (PyObject
*) 0 ;
39878 PyObject
* obj0
= 0 ;
39879 PyObject
* obj1
= 0 ;
39880 char *kwnames
[] = {
39881 (char *) "self",(char *) "item", NULL
39884 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_Remove",kwnames
,&obj0
,&obj1
)) goto fail
;
39885 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
39886 if (SWIG_arg_fail(1)) SWIG_fail
;
39889 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39890 result
= (bool)wxSizer_Remove(arg1
,arg2
);
39892 wxPyEndAllowThreads(__tstate
);
39893 if (PyErr_Occurred()) SWIG_fail
;
39896 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
39904 static PyObject
*_wrap_Sizer_Detach(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39905 PyObject
*resultobj
;
39906 wxSizer
*arg1
= (wxSizer
*) 0 ;
39907 PyObject
*arg2
= (PyObject
*) 0 ;
39909 PyObject
* obj0
= 0 ;
39910 PyObject
* obj1
= 0 ;
39911 char *kwnames
[] = {
39912 (char *) "self",(char *) "item", NULL
39915 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_Detach",kwnames
,&obj0
,&obj1
)) goto fail
;
39916 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
39917 if (SWIG_arg_fail(1)) SWIG_fail
;
39920 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39921 result
= (bool)wxSizer_Detach(arg1
,arg2
);
39923 wxPyEndAllowThreads(__tstate
);
39924 if (PyErr_Occurred()) SWIG_fail
;
39927 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
39935 static PyObject
*_wrap_Sizer_GetItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39936 PyObject
*resultobj
;
39937 wxSizer
*arg1
= (wxSizer
*) 0 ;
39938 PyObject
*arg2
= (PyObject
*) 0 ;
39939 wxSizerItem
*result
;
39940 PyObject
* obj0
= 0 ;
39941 PyObject
* obj1
= 0 ;
39942 char *kwnames
[] = {
39943 (char *) "self",(char *) "item", NULL
39946 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_GetItem",kwnames
,&obj0
,&obj1
)) goto fail
;
39947 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
39948 if (SWIG_arg_fail(1)) SWIG_fail
;
39951 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39952 result
= (wxSizerItem
*)wxSizer_GetItem(arg1
,arg2
);
39954 wxPyEndAllowThreads(__tstate
);
39955 if (PyErr_Occurred()) SWIG_fail
;
39957 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizerItem
, 0);
39964 static PyObject
*_wrap_Sizer__SetItemMinSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39965 PyObject
*resultobj
;
39966 wxSizer
*arg1
= (wxSizer
*) 0 ;
39967 PyObject
*arg2
= (PyObject
*) 0 ;
39970 PyObject
* obj0
= 0 ;
39971 PyObject
* obj1
= 0 ;
39972 PyObject
* obj2
= 0 ;
39973 char *kwnames
[] = {
39974 (char *) "self",(char *) "item",(char *) "size", NULL
39977 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Sizer__SetItemMinSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
39978 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
39979 if (SWIG_arg_fail(1)) SWIG_fail
;
39983 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
39986 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39987 wxSizer__SetItemMinSize(arg1
,arg2
,(wxSize
const &)*arg3
);
39989 wxPyEndAllowThreads(__tstate
);
39990 if (PyErr_Occurred()) SWIG_fail
;
39992 Py_INCREF(Py_None
); resultobj
= Py_None
;
39999 static PyObject
*_wrap_Sizer_AddItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40000 PyObject
*resultobj
;
40001 wxSizer
*arg1
= (wxSizer
*) 0 ;
40002 wxSizerItem
*arg2
= (wxSizerItem
*) 0 ;
40003 wxSizerItem
*result
;
40004 PyObject
* obj0
= 0 ;
40005 PyObject
* obj1
= 0 ;
40006 char *kwnames
[] = {
40007 (char *) "self",(char *) "item", NULL
40010 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_AddItem",kwnames
,&obj0
,&obj1
)) goto fail
;
40011 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
40012 if (SWIG_arg_fail(1)) SWIG_fail
;
40013 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
40014 if (SWIG_arg_fail(2)) SWIG_fail
;
40016 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40017 result
= (wxSizerItem
*)(arg1
)->Add(arg2
);
40019 wxPyEndAllowThreads(__tstate
);
40020 if (PyErr_Occurred()) SWIG_fail
;
40022 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizerItem
, 0);
40029 static PyObject
*_wrap_Sizer_InsertItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40030 PyObject
*resultobj
;
40031 wxSizer
*arg1
= (wxSizer
*) 0 ;
40033 wxSizerItem
*arg3
= (wxSizerItem
*) 0 ;
40034 wxSizerItem
*result
;
40035 PyObject
* obj0
= 0 ;
40036 PyObject
* obj1
= 0 ;
40037 PyObject
* obj2
= 0 ;
40038 char *kwnames
[] = {
40039 (char *) "self",(char *) "index",(char *) "item", NULL
40042 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Sizer_InsertItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
40043 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
40044 if (SWIG_arg_fail(1)) SWIG_fail
;
40046 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
40047 if (SWIG_arg_fail(2)) SWIG_fail
;
40049 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
40050 if (SWIG_arg_fail(3)) SWIG_fail
;
40052 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40053 result
= (wxSizerItem
*)(arg1
)->Insert(arg2
,arg3
);
40055 wxPyEndAllowThreads(__tstate
);
40056 if (PyErr_Occurred()) SWIG_fail
;
40058 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizerItem
, 0);
40065 static PyObject
*_wrap_Sizer_PrependItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40066 PyObject
*resultobj
;
40067 wxSizer
*arg1
= (wxSizer
*) 0 ;
40068 wxSizerItem
*arg2
= (wxSizerItem
*) 0 ;
40069 wxSizerItem
*result
;
40070 PyObject
* obj0
= 0 ;
40071 PyObject
* obj1
= 0 ;
40072 char *kwnames
[] = {
40073 (char *) "self",(char *) "item", NULL
40076 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_PrependItem",kwnames
,&obj0
,&obj1
)) goto fail
;
40077 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
40078 if (SWIG_arg_fail(1)) SWIG_fail
;
40079 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
40080 if (SWIG_arg_fail(2)) SWIG_fail
;
40082 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40083 result
= (wxSizerItem
*)(arg1
)->Prepend(arg2
);
40085 wxPyEndAllowThreads(__tstate
);
40086 if (PyErr_Occurred()) SWIG_fail
;
40088 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizerItem
, 0);
40095 static PyObject
*_wrap_Sizer_SetDimension(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40096 PyObject
*resultobj
;
40097 wxSizer
*arg1
= (wxSizer
*) 0 ;
40102 PyObject
* obj0
= 0 ;
40103 PyObject
* obj1
= 0 ;
40104 PyObject
* obj2
= 0 ;
40105 PyObject
* obj3
= 0 ;
40106 PyObject
* obj4
= 0 ;
40107 char *kwnames
[] = {
40108 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
40111 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Sizer_SetDimension",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
40112 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
40113 if (SWIG_arg_fail(1)) SWIG_fail
;
40115 arg2
= (int)(SWIG_As_int(obj1
));
40116 if (SWIG_arg_fail(2)) SWIG_fail
;
40119 arg3
= (int)(SWIG_As_int(obj2
));
40120 if (SWIG_arg_fail(3)) SWIG_fail
;
40123 arg4
= (int)(SWIG_As_int(obj3
));
40124 if (SWIG_arg_fail(4)) SWIG_fail
;
40127 arg5
= (int)(SWIG_As_int(obj4
));
40128 if (SWIG_arg_fail(5)) SWIG_fail
;
40131 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40132 (arg1
)->SetDimension(arg2
,arg3
,arg4
,arg5
);
40134 wxPyEndAllowThreads(__tstate
);
40135 if (PyErr_Occurred()) SWIG_fail
;
40137 Py_INCREF(Py_None
); resultobj
= Py_None
;
40144 static PyObject
*_wrap_Sizer_SetMinSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40145 PyObject
*resultobj
;
40146 wxSizer
*arg1
= (wxSizer
*) 0 ;
40149 PyObject
* obj0
= 0 ;
40150 PyObject
* obj1
= 0 ;
40151 char *kwnames
[] = {
40152 (char *) "self",(char *) "size", NULL
40155 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_SetMinSize",kwnames
,&obj0
,&obj1
)) goto fail
;
40156 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
40157 if (SWIG_arg_fail(1)) SWIG_fail
;
40160 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
40163 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40164 (arg1
)->SetMinSize((wxSize
const &)*arg2
);
40166 wxPyEndAllowThreads(__tstate
);
40167 if (PyErr_Occurred()) SWIG_fail
;
40169 Py_INCREF(Py_None
); resultobj
= Py_None
;
40176 static PyObject
*_wrap_Sizer_GetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40177 PyObject
*resultobj
;
40178 wxSizer
*arg1
= (wxSizer
*) 0 ;
40180 PyObject
* obj0
= 0 ;
40181 char *kwnames
[] = {
40182 (char *) "self", NULL
40185 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_GetSize",kwnames
,&obj0
)) goto fail
;
40186 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
40187 if (SWIG_arg_fail(1)) SWIG_fail
;
40189 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40190 result
= (arg1
)->GetSize();
40192 wxPyEndAllowThreads(__tstate
);
40193 if (PyErr_Occurred()) SWIG_fail
;
40196 wxSize
* resultptr
;
40197 resultptr
= new wxSize((wxSize
&)(result
));
40198 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
40206 static PyObject
*_wrap_Sizer_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40207 PyObject
*resultobj
;
40208 wxSizer
*arg1
= (wxSizer
*) 0 ;
40210 PyObject
* obj0
= 0 ;
40211 char *kwnames
[] = {
40212 (char *) "self", NULL
40215 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_GetPosition",kwnames
,&obj0
)) goto fail
;
40216 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
40217 if (SWIG_arg_fail(1)) SWIG_fail
;
40219 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40220 result
= (arg1
)->GetPosition();
40222 wxPyEndAllowThreads(__tstate
);
40223 if (PyErr_Occurred()) SWIG_fail
;
40226 wxPoint
* resultptr
;
40227 resultptr
= new wxPoint((wxPoint
&)(result
));
40228 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
40236 static PyObject
*_wrap_Sizer_GetMinSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40237 PyObject
*resultobj
;
40238 wxSizer
*arg1
= (wxSizer
*) 0 ;
40240 PyObject
* obj0
= 0 ;
40241 char *kwnames
[] = {
40242 (char *) "self", NULL
40245 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_GetMinSize",kwnames
,&obj0
)) goto fail
;
40246 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
40247 if (SWIG_arg_fail(1)) SWIG_fail
;
40249 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40250 result
= (arg1
)->GetMinSize();
40252 wxPyEndAllowThreads(__tstate
);
40253 if (PyErr_Occurred()) SWIG_fail
;
40256 wxSize
* resultptr
;
40257 resultptr
= new wxSize((wxSize
&)(result
));
40258 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
40266 static PyObject
*_wrap_Sizer_RecalcSizes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40267 PyObject
*resultobj
;
40268 wxSizer
*arg1
= (wxSizer
*) 0 ;
40269 PyObject
* obj0
= 0 ;
40270 char *kwnames
[] = {
40271 (char *) "self", NULL
40274 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_RecalcSizes",kwnames
,&obj0
)) goto fail
;
40275 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
40276 if (SWIG_arg_fail(1)) SWIG_fail
;
40278 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40279 (arg1
)->RecalcSizes();
40281 wxPyEndAllowThreads(__tstate
);
40282 if (PyErr_Occurred()) SWIG_fail
;
40284 Py_INCREF(Py_None
); resultobj
= Py_None
;
40291 static PyObject
*_wrap_Sizer_CalcMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40292 PyObject
*resultobj
;
40293 wxSizer
*arg1
= (wxSizer
*) 0 ;
40295 PyObject
* obj0
= 0 ;
40296 char *kwnames
[] = {
40297 (char *) "self", NULL
40300 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_CalcMin",kwnames
,&obj0
)) goto fail
;
40301 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
40302 if (SWIG_arg_fail(1)) SWIG_fail
;
40304 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40305 result
= (arg1
)->CalcMin();
40307 wxPyEndAllowThreads(__tstate
);
40308 if (PyErr_Occurred()) SWIG_fail
;
40311 wxSize
* resultptr
;
40312 resultptr
= new wxSize((wxSize
&)(result
));
40313 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
40321 static PyObject
*_wrap_Sizer_Layout(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40322 PyObject
*resultobj
;
40323 wxSizer
*arg1
= (wxSizer
*) 0 ;
40324 PyObject
* obj0
= 0 ;
40325 char *kwnames
[] = {
40326 (char *) "self", NULL
40329 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_Layout",kwnames
,&obj0
)) goto fail
;
40330 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
40331 if (SWIG_arg_fail(1)) SWIG_fail
;
40333 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40336 wxPyEndAllowThreads(__tstate
);
40337 if (PyErr_Occurred()) SWIG_fail
;
40339 Py_INCREF(Py_None
); resultobj
= Py_None
;
40346 static PyObject
*_wrap_Sizer_Fit(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40347 PyObject
*resultobj
;
40348 wxSizer
*arg1
= (wxSizer
*) 0 ;
40349 wxWindow
*arg2
= (wxWindow
*) 0 ;
40351 PyObject
* obj0
= 0 ;
40352 PyObject
* obj1
= 0 ;
40353 char *kwnames
[] = {
40354 (char *) "self",(char *) "window", NULL
40357 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_Fit",kwnames
,&obj0
,&obj1
)) goto fail
;
40358 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
40359 if (SWIG_arg_fail(1)) SWIG_fail
;
40360 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
40361 if (SWIG_arg_fail(2)) SWIG_fail
;
40363 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40364 result
= (arg1
)->Fit(arg2
);
40366 wxPyEndAllowThreads(__tstate
);
40367 if (PyErr_Occurred()) SWIG_fail
;
40370 wxSize
* resultptr
;
40371 resultptr
= new wxSize((wxSize
&)(result
));
40372 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
40380 static PyObject
*_wrap_Sizer_FitInside(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40381 PyObject
*resultobj
;
40382 wxSizer
*arg1
= (wxSizer
*) 0 ;
40383 wxWindow
*arg2
= (wxWindow
*) 0 ;
40384 PyObject
* obj0
= 0 ;
40385 PyObject
* obj1
= 0 ;
40386 char *kwnames
[] = {
40387 (char *) "self",(char *) "window", NULL
40390 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_FitInside",kwnames
,&obj0
,&obj1
)) goto fail
;
40391 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
40392 if (SWIG_arg_fail(1)) SWIG_fail
;
40393 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
40394 if (SWIG_arg_fail(2)) SWIG_fail
;
40396 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40397 (arg1
)->FitInside(arg2
);
40399 wxPyEndAllowThreads(__tstate
);
40400 if (PyErr_Occurred()) SWIG_fail
;
40402 Py_INCREF(Py_None
); resultobj
= Py_None
;
40409 static PyObject
*_wrap_Sizer_SetSizeHints(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40410 PyObject
*resultobj
;
40411 wxSizer
*arg1
= (wxSizer
*) 0 ;
40412 wxWindow
*arg2
= (wxWindow
*) 0 ;
40413 PyObject
* obj0
= 0 ;
40414 PyObject
* obj1
= 0 ;
40415 char *kwnames
[] = {
40416 (char *) "self",(char *) "window", NULL
40419 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_SetSizeHints",kwnames
,&obj0
,&obj1
)) goto fail
;
40420 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
40421 if (SWIG_arg_fail(1)) SWIG_fail
;
40422 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
40423 if (SWIG_arg_fail(2)) SWIG_fail
;
40425 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40426 (arg1
)->SetSizeHints(arg2
);
40428 wxPyEndAllowThreads(__tstate
);
40429 if (PyErr_Occurred()) SWIG_fail
;
40431 Py_INCREF(Py_None
); resultobj
= Py_None
;
40438 static PyObject
*_wrap_Sizer_SetVirtualSizeHints(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40439 PyObject
*resultobj
;
40440 wxSizer
*arg1
= (wxSizer
*) 0 ;
40441 wxWindow
*arg2
= (wxWindow
*) 0 ;
40442 PyObject
* obj0
= 0 ;
40443 PyObject
* obj1
= 0 ;
40444 char *kwnames
[] = {
40445 (char *) "self",(char *) "window", NULL
40448 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_SetVirtualSizeHints",kwnames
,&obj0
,&obj1
)) goto fail
;
40449 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
40450 if (SWIG_arg_fail(1)) SWIG_fail
;
40451 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
40452 if (SWIG_arg_fail(2)) SWIG_fail
;
40454 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40455 (arg1
)->SetVirtualSizeHints(arg2
);
40457 wxPyEndAllowThreads(__tstate
);
40458 if (PyErr_Occurred()) SWIG_fail
;
40460 Py_INCREF(Py_None
); resultobj
= Py_None
;
40467 static PyObject
*_wrap_Sizer_Clear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40468 PyObject
*resultobj
;
40469 wxSizer
*arg1
= (wxSizer
*) 0 ;
40470 bool arg2
= (bool) false ;
40471 PyObject
* obj0
= 0 ;
40472 PyObject
* obj1
= 0 ;
40473 char *kwnames
[] = {
40474 (char *) "self",(char *) "deleteWindows", NULL
40477 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Sizer_Clear",kwnames
,&obj0
,&obj1
)) goto fail
;
40478 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
40479 if (SWIG_arg_fail(1)) SWIG_fail
;
40482 arg2
= (bool)(SWIG_As_bool(obj1
));
40483 if (SWIG_arg_fail(2)) SWIG_fail
;
40487 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40488 (arg1
)->Clear(arg2
);
40490 wxPyEndAllowThreads(__tstate
);
40491 if (PyErr_Occurred()) SWIG_fail
;
40493 Py_INCREF(Py_None
); resultobj
= Py_None
;
40500 static PyObject
*_wrap_Sizer_DeleteWindows(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40501 PyObject
*resultobj
;
40502 wxSizer
*arg1
= (wxSizer
*) 0 ;
40503 PyObject
* obj0
= 0 ;
40504 char *kwnames
[] = {
40505 (char *) "self", NULL
40508 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_DeleteWindows",kwnames
,&obj0
)) goto fail
;
40509 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
40510 if (SWIG_arg_fail(1)) SWIG_fail
;
40512 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40513 (arg1
)->DeleteWindows();
40515 wxPyEndAllowThreads(__tstate
);
40516 if (PyErr_Occurred()) SWIG_fail
;
40518 Py_INCREF(Py_None
); resultobj
= Py_None
;
40525 static PyObject
*_wrap_Sizer_GetChildren(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40526 PyObject
*resultobj
;
40527 wxSizer
*arg1
= (wxSizer
*) 0 ;
40529 PyObject
* obj0
= 0 ;
40530 char *kwnames
[] = {
40531 (char *) "self", NULL
40534 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_GetChildren",kwnames
,&obj0
)) goto fail
;
40535 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
40536 if (SWIG_arg_fail(1)) SWIG_fail
;
40538 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40539 result
= (PyObject
*)wxSizer_GetChildren(arg1
);
40541 wxPyEndAllowThreads(__tstate
);
40542 if (PyErr_Occurred()) SWIG_fail
;
40544 resultobj
= result
;
40551 static PyObject
*_wrap_Sizer_Show(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40552 PyObject
*resultobj
;
40553 wxSizer
*arg1
= (wxSizer
*) 0 ;
40554 PyObject
*arg2
= (PyObject
*) 0 ;
40555 bool arg3
= (bool) true ;
40556 bool arg4
= (bool) false ;
40558 PyObject
* obj0
= 0 ;
40559 PyObject
* obj1
= 0 ;
40560 PyObject
* obj2
= 0 ;
40561 PyObject
* obj3
= 0 ;
40562 char *kwnames
[] = {
40563 (char *) "self",(char *) "item",(char *) "show",(char *) "recursive", NULL
40566 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:Sizer_Show",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
40567 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
40568 if (SWIG_arg_fail(1)) SWIG_fail
;
40572 arg3
= (bool)(SWIG_As_bool(obj2
));
40573 if (SWIG_arg_fail(3)) SWIG_fail
;
40578 arg4
= (bool)(SWIG_As_bool(obj3
));
40579 if (SWIG_arg_fail(4)) SWIG_fail
;
40583 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40584 result
= (bool)wxSizer_Show(arg1
,arg2
,arg3
,arg4
);
40586 wxPyEndAllowThreads(__tstate
);
40587 if (PyErr_Occurred()) SWIG_fail
;
40590 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
40598 static PyObject
*_wrap_Sizer_IsShown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40599 PyObject
*resultobj
;
40600 wxSizer
*arg1
= (wxSizer
*) 0 ;
40601 PyObject
*arg2
= (PyObject
*) 0 ;
40603 PyObject
* obj0
= 0 ;
40604 PyObject
* obj1
= 0 ;
40605 char *kwnames
[] = {
40606 (char *) "self",(char *) "item", NULL
40609 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_IsShown",kwnames
,&obj0
,&obj1
)) goto fail
;
40610 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
40611 if (SWIG_arg_fail(1)) SWIG_fail
;
40614 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40615 result
= (bool)wxSizer_IsShown(arg1
,arg2
);
40617 wxPyEndAllowThreads(__tstate
);
40618 if (PyErr_Occurred()) SWIG_fail
;
40621 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
40629 static PyObject
*_wrap_Sizer_ShowItems(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40630 PyObject
*resultobj
;
40631 wxSizer
*arg1
= (wxSizer
*) 0 ;
40633 PyObject
* obj0
= 0 ;
40634 PyObject
* obj1
= 0 ;
40635 char *kwnames
[] = {
40636 (char *) "self",(char *) "show", NULL
40639 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_ShowItems",kwnames
,&obj0
,&obj1
)) goto fail
;
40640 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
40641 if (SWIG_arg_fail(1)) SWIG_fail
;
40643 arg2
= (bool)(SWIG_As_bool(obj1
));
40644 if (SWIG_arg_fail(2)) SWIG_fail
;
40647 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40648 (arg1
)->ShowItems(arg2
);
40650 wxPyEndAllowThreads(__tstate
);
40651 if (PyErr_Occurred()) SWIG_fail
;
40653 Py_INCREF(Py_None
); resultobj
= Py_None
;
40660 static PyObject
* Sizer_swigregister(PyObject
*, PyObject
*args
) {
40662 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
40663 SWIG_TypeClientData(SWIGTYPE_p_wxSizer
, obj
);
40665 return Py_BuildValue((char *)"");
40667 static PyObject
*_wrap_new_PySizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40668 PyObject
*resultobj
;
40670 char *kwnames
[] = {
40674 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PySizer",kwnames
)) goto fail
;
40676 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40677 result
= (wxPySizer
*)new wxPySizer();
40679 wxPyEndAllowThreads(__tstate
);
40680 if (PyErr_Occurred()) SWIG_fail
;
40682 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPySizer
, 1);
40689 static PyObject
*_wrap_PySizer__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40690 PyObject
*resultobj
;
40691 wxPySizer
*arg1
= (wxPySizer
*) 0 ;
40692 PyObject
*arg2
= (PyObject
*) 0 ;
40693 PyObject
*arg3
= (PyObject
*) 0 ;
40694 PyObject
* obj0
= 0 ;
40695 PyObject
* obj1
= 0 ;
40696 PyObject
* obj2
= 0 ;
40697 char *kwnames
[] = {
40698 (char *) "self",(char *) "self",(char *) "_class", NULL
40701 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PySizer__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
40702 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPySizer
, SWIG_POINTER_EXCEPTION
| 0);
40703 if (SWIG_arg_fail(1)) SWIG_fail
;
40707 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40708 (arg1
)->_setCallbackInfo(arg2
,arg3
);
40710 wxPyEndAllowThreads(__tstate
);
40711 if (PyErr_Occurred()) SWIG_fail
;
40713 Py_INCREF(Py_None
); resultobj
= Py_None
;
40720 static PyObject
* PySizer_swigregister(PyObject
*, PyObject
*args
) {
40722 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
40723 SWIG_TypeClientData(SWIGTYPE_p_wxPySizer
, obj
);
40725 return Py_BuildValue((char *)"");
40727 static PyObject
*_wrap_new_BoxSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40728 PyObject
*resultobj
;
40729 int arg1
= (int) wxHORIZONTAL
;
40730 wxBoxSizer
*result
;
40731 PyObject
* obj0
= 0 ;
40732 char *kwnames
[] = {
40733 (char *) "orient", NULL
40736 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_BoxSizer",kwnames
,&obj0
)) goto fail
;
40739 arg1
= (int)(SWIG_As_int(obj0
));
40740 if (SWIG_arg_fail(1)) SWIG_fail
;
40744 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40745 result
= (wxBoxSizer
*)new wxBoxSizer(arg1
);
40747 wxPyEndAllowThreads(__tstate
);
40748 if (PyErr_Occurred()) SWIG_fail
;
40750 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBoxSizer
, 1);
40757 static PyObject
*_wrap_BoxSizer_GetOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40758 PyObject
*resultobj
;
40759 wxBoxSizer
*arg1
= (wxBoxSizer
*) 0 ;
40761 PyObject
* obj0
= 0 ;
40762 char *kwnames
[] = {
40763 (char *) "self", NULL
40766 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BoxSizer_GetOrientation",kwnames
,&obj0
)) goto fail
;
40767 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBoxSizer
, SWIG_POINTER_EXCEPTION
| 0);
40768 if (SWIG_arg_fail(1)) SWIG_fail
;
40770 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40771 result
= (int)(arg1
)->GetOrientation();
40773 wxPyEndAllowThreads(__tstate
);
40774 if (PyErr_Occurred()) SWIG_fail
;
40777 resultobj
= SWIG_From_int((int)(result
));
40785 static PyObject
*_wrap_BoxSizer_SetOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40786 PyObject
*resultobj
;
40787 wxBoxSizer
*arg1
= (wxBoxSizer
*) 0 ;
40789 PyObject
* obj0
= 0 ;
40790 PyObject
* obj1
= 0 ;
40791 char *kwnames
[] = {
40792 (char *) "self",(char *) "orient", NULL
40795 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BoxSizer_SetOrientation",kwnames
,&obj0
,&obj1
)) goto fail
;
40796 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBoxSizer
, SWIG_POINTER_EXCEPTION
| 0);
40797 if (SWIG_arg_fail(1)) SWIG_fail
;
40799 arg2
= (int)(SWIG_As_int(obj1
));
40800 if (SWIG_arg_fail(2)) SWIG_fail
;
40803 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40804 (arg1
)->SetOrientation(arg2
);
40806 wxPyEndAllowThreads(__tstate
);
40807 if (PyErr_Occurred()) SWIG_fail
;
40809 Py_INCREF(Py_None
); resultobj
= Py_None
;
40816 static PyObject
* BoxSizer_swigregister(PyObject
*, PyObject
*args
) {
40818 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
40819 SWIG_TypeClientData(SWIGTYPE_p_wxBoxSizer
, obj
);
40821 return Py_BuildValue((char *)"");
40823 static PyObject
*_wrap_new_StaticBoxSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40824 PyObject
*resultobj
;
40825 wxStaticBox
*arg1
= (wxStaticBox
*) 0 ;
40826 int arg2
= (int) wxHORIZONTAL
;
40827 wxStaticBoxSizer
*result
;
40828 PyObject
* obj0
= 0 ;
40829 PyObject
* obj1
= 0 ;
40830 char *kwnames
[] = {
40831 (char *) "box",(char *) "orient", NULL
40834 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_StaticBoxSizer",kwnames
,&obj0
,&obj1
)) goto fail
;
40835 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStaticBox
, SWIG_POINTER_EXCEPTION
| 0);
40836 if (SWIG_arg_fail(1)) SWIG_fail
;
40839 arg2
= (int)(SWIG_As_int(obj1
));
40840 if (SWIG_arg_fail(2)) SWIG_fail
;
40844 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40845 result
= (wxStaticBoxSizer
*)new wxStaticBoxSizer(arg1
,arg2
);
40847 wxPyEndAllowThreads(__tstate
);
40848 if (PyErr_Occurred()) SWIG_fail
;
40850 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStaticBoxSizer
, 1);
40857 static PyObject
*_wrap_StaticBoxSizer_GetStaticBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40858 PyObject
*resultobj
;
40859 wxStaticBoxSizer
*arg1
= (wxStaticBoxSizer
*) 0 ;
40860 wxStaticBox
*result
;
40861 PyObject
* obj0
= 0 ;
40862 char *kwnames
[] = {
40863 (char *) "self", NULL
40866 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StaticBoxSizer_GetStaticBox",kwnames
,&obj0
)) goto fail
;
40867 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStaticBoxSizer
, SWIG_POINTER_EXCEPTION
| 0);
40868 if (SWIG_arg_fail(1)) SWIG_fail
;
40870 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40871 result
= (wxStaticBox
*)(arg1
)->GetStaticBox();
40873 wxPyEndAllowThreads(__tstate
);
40874 if (PyErr_Occurred()) SWIG_fail
;
40877 resultobj
= wxPyMake_wxObject(result
, 0);
40885 static PyObject
* StaticBoxSizer_swigregister(PyObject
*, PyObject
*args
) {
40887 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
40888 SWIG_TypeClientData(SWIGTYPE_p_wxStaticBoxSizer
, obj
);
40890 return Py_BuildValue((char *)"");
40892 static PyObject
*_wrap_new_GridSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40893 PyObject
*resultobj
;
40894 int arg1
= (int) 1 ;
40895 int arg2
= (int) 0 ;
40896 int arg3
= (int) 0 ;
40897 int arg4
= (int) 0 ;
40898 wxGridSizer
*result
;
40899 PyObject
* obj0
= 0 ;
40900 PyObject
* obj1
= 0 ;
40901 PyObject
* obj2
= 0 ;
40902 PyObject
* obj3
= 0 ;
40903 char *kwnames
[] = {
40904 (char *) "rows",(char *) "cols",(char *) "vgap",(char *) "hgap", NULL
40907 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_GridSizer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
40910 arg1
= (int)(SWIG_As_int(obj0
));
40911 if (SWIG_arg_fail(1)) SWIG_fail
;
40916 arg2
= (int)(SWIG_As_int(obj1
));
40917 if (SWIG_arg_fail(2)) SWIG_fail
;
40922 arg3
= (int)(SWIG_As_int(obj2
));
40923 if (SWIG_arg_fail(3)) SWIG_fail
;
40928 arg4
= (int)(SWIG_As_int(obj3
));
40929 if (SWIG_arg_fail(4)) SWIG_fail
;
40933 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40934 result
= (wxGridSizer
*)new wxGridSizer(arg1
,arg2
,arg3
,arg4
);
40936 wxPyEndAllowThreads(__tstate
);
40937 if (PyErr_Occurred()) SWIG_fail
;
40939 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGridSizer
, 1);
40946 static PyObject
*_wrap_GridSizer_SetCols(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40947 PyObject
*resultobj
;
40948 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
40950 PyObject
* obj0
= 0 ;
40951 PyObject
* obj1
= 0 ;
40952 char *kwnames
[] = {
40953 (char *) "self",(char *) "cols", NULL
40956 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridSizer_SetCols",kwnames
,&obj0
,&obj1
)) goto fail
;
40957 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridSizer
, SWIG_POINTER_EXCEPTION
| 0);
40958 if (SWIG_arg_fail(1)) SWIG_fail
;
40960 arg2
= (int)(SWIG_As_int(obj1
));
40961 if (SWIG_arg_fail(2)) SWIG_fail
;
40964 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40965 (arg1
)->SetCols(arg2
);
40967 wxPyEndAllowThreads(__tstate
);
40968 if (PyErr_Occurred()) SWIG_fail
;
40970 Py_INCREF(Py_None
); resultobj
= Py_None
;
40977 static PyObject
*_wrap_GridSizer_SetRows(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40978 PyObject
*resultobj
;
40979 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
40981 PyObject
* obj0
= 0 ;
40982 PyObject
* obj1
= 0 ;
40983 char *kwnames
[] = {
40984 (char *) "self",(char *) "rows", NULL
40987 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridSizer_SetRows",kwnames
,&obj0
,&obj1
)) goto fail
;
40988 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridSizer
, SWIG_POINTER_EXCEPTION
| 0);
40989 if (SWIG_arg_fail(1)) SWIG_fail
;
40991 arg2
= (int)(SWIG_As_int(obj1
));
40992 if (SWIG_arg_fail(2)) SWIG_fail
;
40995 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40996 (arg1
)->SetRows(arg2
);
40998 wxPyEndAllowThreads(__tstate
);
40999 if (PyErr_Occurred()) SWIG_fail
;
41001 Py_INCREF(Py_None
); resultobj
= Py_None
;
41008 static PyObject
*_wrap_GridSizer_SetVGap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41009 PyObject
*resultobj
;
41010 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
41012 PyObject
* obj0
= 0 ;
41013 PyObject
* obj1
= 0 ;
41014 char *kwnames
[] = {
41015 (char *) "self",(char *) "gap", NULL
41018 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridSizer_SetVGap",kwnames
,&obj0
,&obj1
)) goto fail
;
41019 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridSizer
, SWIG_POINTER_EXCEPTION
| 0);
41020 if (SWIG_arg_fail(1)) SWIG_fail
;
41022 arg2
= (int)(SWIG_As_int(obj1
));
41023 if (SWIG_arg_fail(2)) SWIG_fail
;
41026 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41027 (arg1
)->SetVGap(arg2
);
41029 wxPyEndAllowThreads(__tstate
);
41030 if (PyErr_Occurred()) SWIG_fail
;
41032 Py_INCREF(Py_None
); resultobj
= Py_None
;
41039 static PyObject
*_wrap_GridSizer_SetHGap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41040 PyObject
*resultobj
;
41041 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
41043 PyObject
* obj0
= 0 ;
41044 PyObject
* obj1
= 0 ;
41045 char *kwnames
[] = {
41046 (char *) "self",(char *) "gap", NULL
41049 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridSizer_SetHGap",kwnames
,&obj0
,&obj1
)) goto fail
;
41050 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridSizer
, SWIG_POINTER_EXCEPTION
| 0);
41051 if (SWIG_arg_fail(1)) SWIG_fail
;
41053 arg2
= (int)(SWIG_As_int(obj1
));
41054 if (SWIG_arg_fail(2)) SWIG_fail
;
41057 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41058 (arg1
)->SetHGap(arg2
);
41060 wxPyEndAllowThreads(__tstate
);
41061 if (PyErr_Occurred()) SWIG_fail
;
41063 Py_INCREF(Py_None
); resultobj
= Py_None
;
41070 static PyObject
*_wrap_GridSizer_GetCols(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41071 PyObject
*resultobj
;
41072 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
41074 PyObject
* obj0
= 0 ;
41075 char *kwnames
[] = {
41076 (char *) "self", NULL
41079 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridSizer_GetCols",kwnames
,&obj0
)) goto fail
;
41080 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridSizer
, SWIG_POINTER_EXCEPTION
| 0);
41081 if (SWIG_arg_fail(1)) SWIG_fail
;
41083 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41084 result
= (int)(arg1
)->GetCols();
41086 wxPyEndAllowThreads(__tstate
);
41087 if (PyErr_Occurred()) SWIG_fail
;
41090 resultobj
= SWIG_From_int((int)(result
));
41098 static PyObject
*_wrap_GridSizer_GetRows(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41099 PyObject
*resultobj
;
41100 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
41102 PyObject
* obj0
= 0 ;
41103 char *kwnames
[] = {
41104 (char *) "self", NULL
41107 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridSizer_GetRows",kwnames
,&obj0
)) goto fail
;
41108 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridSizer
, SWIG_POINTER_EXCEPTION
| 0);
41109 if (SWIG_arg_fail(1)) SWIG_fail
;
41111 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41112 result
= (int)(arg1
)->GetRows();
41114 wxPyEndAllowThreads(__tstate
);
41115 if (PyErr_Occurred()) SWIG_fail
;
41118 resultobj
= SWIG_From_int((int)(result
));
41126 static PyObject
*_wrap_GridSizer_GetVGap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41127 PyObject
*resultobj
;
41128 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
41130 PyObject
* obj0
= 0 ;
41131 char *kwnames
[] = {
41132 (char *) "self", NULL
41135 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridSizer_GetVGap",kwnames
,&obj0
)) goto fail
;
41136 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridSizer
, SWIG_POINTER_EXCEPTION
| 0);
41137 if (SWIG_arg_fail(1)) SWIG_fail
;
41139 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41140 result
= (int)(arg1
)->GetVGap();
41142 wxPyEndAllowThreads(__tstate
);
41143 if (PyErr_Occurred()) SWIG_fail
;
41146 resultobj
= SWIG_From_int((int)(result
));
41154 static PyObject
*_wrap_GridSizer_GetHGap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41155 PyObject
*resultobj
;
41156 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
41158 PyObject
* obj0
= 0 ;
41159 char *kwnames
[] = {
41160 (char *) "self", NULL
41163 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridSizer_GetHGap",kwnames
,&obj0
)) goto fail
;
41164 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridSizer
, SWIG_POINTER_EXCEPTION
| 0);
41165 if (SWIG_arg_fail(1)) SWIG_fail
;
41167 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41168 result
= (int)(arg1
)->GetHGap();
41170 wxPyEndAllowThreads(__tstate
);
41171 if (PyErr_Occurred()) SWIG_fail
;
41174 resultobj
= SWIG_From_int((int)(result
));
41182 static PyObject
* GridSizer_swigregister(PyObject
*, PyObject
*args
) {
41184 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
41185 SWIG_TypeClientData(SWIGTYPE_p_wxGridSizer
, obj
);
41187 return Py_BuildValue((char *)"");
41189 static PyObject
*_wrap_new_FlexGridSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41190 PyObject
*resultobj
;
41191 int arg1
= (int) 1 ;
41192 int arg2
= (int) 0 ;
41193 int arg3
= (int) 0 ;
41194 int arg4
= (int) 0 ;
41195 wxFlexGridSizer
*result
;
41196 PyObject
* obj0
= 0 ;
41197 PyObject
* obj1
= 0 ;
41198 PyObject
* obj2
= 0 ;
41199 PyObject
* obj3
= 0 ;
41200 char *kwnames
[] = {
41201 (char *) "rows",(char *) "cols",(char *) "vgap",(char *) "hgap", NULL
41204 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_FlexGridSizer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
41207 arg1
= (int)(SWIG_As_int(obj0
));
41208 if (SWIG_arg_fail(1)) SWIG_fail
;
41213 arg2
= (int)(SWIG_As_int(obj1
));
41214 if (SWIG_arg_fail(2)) SWIG_fail
;
41219 arg3
= (int)(SWIG_As_int(obj2
));
41220 if (SWIG_arg_fail(3)) SWIG_fail
;
41225 arg4
= (int)(SWIG_As_int(obj3
));
41226 if (SWIG_arg_fail(4)) SWIG_fail
;
41230 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41231 result
= (wxFlexGridSizer
*)new wxFlexGridSizer(arg1
,arg2
,arg3
,arg4
);
41233 wxPyEndAllowThreads(__tstate
);
41234 if (PyErr_Occurred()) SWIG_fail
;
41236 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFlexGridSizer
, 1);
41243 static PyObject
*_wrap_FlexGridSizer_AddGrowableRow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41244 PyObject
*resultobj
;
41245 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
41247 int arg3
= (int) 0 ;
41248 PyObject
* obj0
= 0 ;
41249 PyObject
* obj1
= 0 ;
41250 PyObject
* obj2
= 0 ;
41251 char *kwnames
[] = {
41252 (char *) "self",(char *) "idx",(char *) "proportion", NULL
41255 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FlexGridSizer_AddGrowableRow",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
41256 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFlexGridSizer
, SWIG_POINTER_EXCEPTION
| 0);
41257 if (SWIG_arg_fail(1)) SWIG_fail
;
41259 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
41260 if (SWIG_arg_fail(2)) SWIG_fail
;
41264 arg3
= (int)(SWIG_As_int(obj2
));
41265 if (SWIG_arg_fail(3)) SWIG_fail
;
41269 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41270 (arg1
)->AddGrowableRow(arg2
,arg3
);
41272 wxPyEndAllowThreads(__tstate
);
41273 if (PyErr_Occurred()) SWIG_fail
;
41275 Py_INCREF(Py_None
); resultobj
= Py_None
;
41282 static PyObject
*_wrap_FlexGridSizer_RemoveGrowableRow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41283 PyObject
*resultobj
;
41284 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
41286 PyObject
* obj0
= 0 ;
41287 PyObject
* obj1
= 0 ;
41288 char *kwnames
[] = {
41289 (char *) "self",(char *) "idx", NULL
41292 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FlexGridSizer_RemoveGrowableRow",kwnames
,&obj0
,&obj1
)) goto fail
;
41293 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFlexGridSizer
, SWIG_POINTER_EXCEPTION
| 0);
41294 if (SWIG_arg_fail(1)) SWIG_fail
;
41296 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
41297 if (SWIG_arg_fail(2)) SWIG_fail
;
41300 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41301 (arg1
)->RemoveGrowableRow(arg2
);
41303 wxPyEndAllowThreads(__tstate
);
41304 if (PyErr_Occurred()) SWIG_fail
;
41306 Py_INCREF(Py_None
); resultobj
= Py_None
;
41313 static PyObject
*_wrap_FlexGridSizer_AddGrowableCol(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41314 PyObject
*resultobj
;
41315 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
41317 int arg3
= (int) 0 ;
41318 PyObject
* obj0
= 0 ;
41319 PyObject
* obj1
= 0 ;
41320 PyObject
* obj2
= 0 ;
41321 char *kwnames
[] = {
41322 (char *) "self",(char *) "idx",(char *) "proportion", NULL
41325 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FlexGridSizer_AddGrowableCol",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
41326 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFlexGridSizer
, SWIG_POINTER_EXCEPTION
| 0);
41327 if (SWIG_arg_fail(1)) SWIG_fail
;
41329 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
41330 if (SWIG_arg_fail(2)) SWIG_fail
;
41334 arg3
= (int)(SWIG_As_int(obj2
));
41335 if (SWIG_arg_fail(3)) SWIG_fail
;
41339 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41340 (arg1
)->AddGrowableCol(arg2
,arg3
);
41342 wxPyEndAllowThreads(__tstate
);
41343 if (PyErr_Occurred()) SWIG_fail
;
41345 Py_INCREF(Py_None
); resultobj
= Py_None
;
41352 static PyObject
*_wrap_FlexGridSizer_RemoveGrowableCol(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41353 PyObject
*resultobj
;
41354 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
41356 PyObject
* obj0
= 0 ;
41357 PyObject
* obj1
= 0 ;
41358 char *kwnames
[] = {
41359 (char *) "self",(char *) "idx", NULL
41362 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FlexGridSizer_RemoveGrowableCol",kwnames
,&obj0
,&obj1
)) goto fail
;
41363 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFlexGridSizer
, SWIG_POINTER_EXCEPTION
| 0);
41364 if (SWIG_arg_fail(1)) SWIG_fail
;
41366 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
41367 if (SWIG_arg_fail(2)) SWIG_fail
;
41370 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41371 (arg1
)->RemoveGrowableCol(arg2
);
41373 wxPyEndAllowThreads(__tstate
);
41374 if (PyErr_Occurred()) SWIG_fail
;
41376 Py_INCREF(Py_None
); resultobj
= Py_None
;
41383 static PyObject
*_wrap_FlexGridSizer_SetFlexibleDirection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41384 PyObject
*resultobj
;
41385 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
41387 PyObject
* obj0
= 0 ;
41388 PyObject
* obj1
= 0 ;
41389 char *kwnames
[] = {
41390 (char *) "self",(char *) "direction", NULL
41393 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FlexGridSizer_SetFlexibleDirection",kwnames
,&obj0
,&obj1
)) goto fail
;
41394 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFlexGridSizer
, SWIG_POINTER_EXCEPTION
| 0);
41395 if (SWIG_arg_fail(1)) SWIG_fail
;
41397 arg2
= (int)(SWIG_As_int(obj1
));
41398 if (SWIG_arg_fail(2)) SWIG_fail
;
41401 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41402 (arg1
)->SetFlexibleDirection(arg2
);
41404 wxPyEndAllowThreads(__tstate
);
41405 if (PyErr_Occurred()) SWIG_fail
;
41407 Py_INCREF(Py_None
); resultobj
= Py_None
;
41414 static PyObject
*_wrap_FlexGridSizer_GetFlexibleDirection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41415 PyObject
*resultobj
;
41416 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
41418 PyObject
* obj0
= 0 ;
41419 char *kwnames
[] = {
41420 (char *) "self", NULL
41423 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FlexGridSizer_GetFlexibleDirection",kwnames
,&obj0
)) goto fail
;
41424 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFlexGridSizer
, SWIG_POINTER_EXCEPTION
| 0);
41425 if (SWIG_arg_fail(1)) SWIG_fail
;
41427 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41428 result
= (int)(arg1
)->GetFlexibleDirection();
41430 wxPyEndAllowThreads(__tstate
);
41431 if (PyErr_Occurred()) SWIG_fail
;
41434 resultobj
= SWIG_From_int((int)(result
));
41442 static PyObject
*_wrap_FlexGridSizer_SetNonFlexibleGrowMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41443 PyObject
*resultobj
;
41444 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
41445 wxFlexSizerGrowMode arg2
;
41446 PyObject
* obj0
= 0 ;
41447 PyObject
* obj1
= 0 ;
41448 char *kwnames
[] = {
41449 (char *) "self",(char *) "mode", NULL
41452 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FlexGridSizer_SetNonFlexibleGrowMode",kwnames
,&obj0
,&obj1
)) goto fail
;
41453 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFlexGridSizer
, SWIG_POINTER_EXCEPTION
| 0);
41454 if (SWIG_arg_fail(1)) SWIG_fail
;
41456 arg2
= (wxFlexSizerGrowMode
)(SWIG_As_int(obj1
));
41457 if (SWIG_arg_fail(2)) SWIG_fail
;
41460 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41461 (arg1
)->SetNonFlexibleGrowMode((wxFlexSizerGrowMode
)arg2
);
41463 wxPyEndAllowThreads(__tstate
);
41464 if (PyErr_Occurred()) SWIG_fail
;
41466 Py_INCREF(Py_None
); resultobj
= Py_None
;
41473 static PyObject
*_wrap_FlexGridSizer_GetNonFlexibleGrowMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41474 PyObject
*resultobj
;
41475 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
41476 wxFlexSizerGrowMode result
;
41477 PyObject
* obj0
= 0 ;
41478 char *kwnames
[] = {
41479 (char *) "self", NULL
41482 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FlexGridSizer_GetNonFlexibleGrowMode",kwnames
,&obj0
)) goto fail
;
41483 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFlexGridSizer
, SWIG_POINTER_EXCEPTION
| 0);
41484 if (SWIG_arg_fail(1)) SWIG_fail
;
41486 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41487 result
= (wxFlexSizerGrowMode
)(arg1
)->GetNonFlexibleGrowMode();
41489 wxPyEndAllowThreads(__tstate
);
41490 if (PyErr_Occurred()) SWIG_fail
;
41492 resultobj
= SWIG_From_int((result
));
41499 static PyObject
*_wrap_FlexGridSizer_GetRowHeights(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41500 PyObject
*resultobj
;
41501 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
41502 wxArrayInt
*result
;
41503 PyObject
* obj0
= 0 ;
41504 char *kwnames
[] = {
41505 (char *) "self", NULL
41508 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FlexGridSizer_GetRowHeights",kwnames
,&obj0
)) goto fail
;
41509 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFlexGridSizer
, SWIG_POINTER_EXCEPTION
| 0);
41510 if (SWIG_arg_fail(1)) SWIG_fail
;
41512 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41514 wxArrayInt
const &_result_ref
= ((wxFlexGridSizer
const *)arg1
)->GetRowHeights();
41515 result
= (wxArrayInt
*) &_result_ref
;
41518 wxPyEndAllowThreads(__tstate
);
41519 if (PyErr_Occurred()) SWIG_fail
;
41522 resultobj
= PyList_New(0);
41524 for (idx
= 0; idx
< result
->GetCount(); idx
+= 1) {
41525 PyObject
* val
= PyInt_FromLong( result
->Item(idx
) );
41526 PyList_Append(resultobj
, val
);
41536 static PyObject
*_wrap_FlexGridSizer_GetColWidths(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41537 PyObject
*resultobj
;
41538 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
41539 wxArrayInt
*result
;
41540 PyObject
* obj0
= 0 ;
41541 char *kwnames
[] = {
41542 (char *) "self", NULL
41545 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FlexGridSizer_GetColWidths",kwnames
,&obj0
)) goto fail
;
41546 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFlexGridSizer
, SWIG_POINTER_EXCEPTION
| 0);
41547 if (SWIG_arg_fail(1)) SWIG_fail
;
41549 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41551 wxArrayInt
const &_result_ref
= ((wxFlexGridSizer
const *)arg1
)->GetColWidths();
41552 result
= (wxArrayInt
*) &_result_ref
;
41555 wxPyEndAllowThreads(__tstate
);
41556 if (PyErr_Occurred()) SWIG_fail
;
41559 resultobj
= PyList_New(0);
41561 for (idx
= 0; idx
< result
->GetCount(); idx
+= 1) {
41562 PyObject
* val
= PyInt_FromLong( result
->Item(idx
) );
41563 PyList_Append(resultobj
, val
);
41573 static PyObject
* FlexGridSizer_swigregister(PyObject
*, PyObject
*args
) {
41575 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
41576 SWIG_TypeClientData(SWIGTYPE_p_wxFlexGridSizer
, obj
);
41578 return Py_BuildValue((char *)"");
41580 static PyObject
*_wrap_new_StdDialogButtonSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41581 PyObject
*resultobj
;
41582 wxStdDialogButtonSizer
*result
;
41583 char *kwnames
[] = {
41587 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_StdDialogButtonSizer",kwnames
)) goto fail
;
41589 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41590 result
= (wxStdDialogButtonSizer
*)new wxStdDialogButtonSizer();
41592 wxPyEndAllowThreads(__tstate
);
41593 if (PyErr_Occurred()) SWIG_fail
;
41595 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStdDialogButtonSizer
, 1);
41602 static PyObject
*_wrap_StdDialogButtonSizer_AddButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41603 PyObject
*resultobj
;
41604 wxStdDialogButtonSizer
*arg1
= (wxStdDialogButtonSizer
*) 0 ;
41605 wxButton
*arg2
= (wxButton
*) 0 ;
41606 PyObject
* obj0
= 0 ;
41607 PyObject
* obj1
= 0 ;
41608 char *kwnames
[] = {
41609 (char *) "self",(char *) "button", NULL
41612 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StdDialogButtonSizer_AddButton",kwnames
,&obj0
,&obj1
)) goto fail
;
41613 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStdDialogButtonSizer
, SWIG_POINTER_EXCEPTION
| 0);
41614 if (SWIG_arg_fail(1)) SWIG_fail
;
41615 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxButton
, SWIG_POINTER_EXCEPTION
| 0);
41616 if (SWIG_arg_fail(2)) SWIG_fail
;
41618 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41619 (arg1
)->AddButton(arg2
);
41621 wxPyEndAllowThreads(__tstate
);
41622 if (PyErr_Occurred()) SWIG_fail
;
41624 Py_INCREF(Py_None
); resultobj
= Py_None
;
41631 static PyObject
*_wrap_StdDialogButtonSizer_Realize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41632 PyObject
*resultobj
;
41633 wxStdDialogButtonSizer
*arg1
= (wxStdDialogButtonSizer
*) 0 ;
41634 PyObject
* obj0
= 0 ;
41635 char *kwnames
[] = {
41636 (char *) "self", NULL
41639 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StdDialogButtonSizer_Realize",kwnames
,&obj0
)) goto fail
;
41640 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStdDialogButtonSizer
, SWIG_POINTER_EXCEPTION
| 0);
41641 if (SWIG_arg_fail(1)) SWIG_fail
;
41643 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41646 wxPyEndAllowThreads(__tstate
);
41647 if (PyErr_Occurred()) SWIG_fail
;
41649 Py_INCREF(Py_None
); resultobj
= Py_None
;
41656 static PyObject
*_wrap_StdDialogButtonSizer_SetAffirmativeButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41657 PyObject
*resultobj
;
41658 wxStdDialogButtonSizer
*arg1
= (wxStdDialogButtonSizer
*) 0 ;
41659 wxButton
*arg2
= (wxButton
*) 0 ;
41660 PyObject
* obj0
= 0 ;
41661 PyObject
* obj1
= 0 ;
41662 char *kwnames
[] = {
41663 (char *) "self",(char *) "button", NULL
41666 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StdDialogButtonSizer_SetAffirmativeButton",kwnames
,&obj0
,&obj1
)) goto fail
;
41667 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStdDialogButtonSizer
, SWIG_POINTER_EXCEPTION
| 0);
41668 if (SWIG_arg_fail(1)) SWIG_fail
;
41669 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxButton
, SWIG_POINTER_EXCEPTION
| 0);
41670 if (SWIG_arg_fail(2)) SWIG_fail
;
41672 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41673 (arg1
)->SetAffirmativeButton(arg2
);
41675 wxPyEndAllowThreads(__tstate
);
41676 if (PyErr_Occurred()) SWIG_fail
;
41678 Py_INCREF(Py_None
); resultobj
= Py_None
;
41685 static PyObject
*_wrap_StdDialogButtonSizer_SetNegativeButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41686 PyObject
*resultobj
;
41687 wxStdDialogButtonSizer
*arg1
= (wxStdDialogButtonSizer
*) 0 ;
41688 wxButton
*arg2
= (wxButton
*) 0 ;
41689 PyObject
* obj0
= 0 ;
41690 PyObject
* obj1
= 0 ;
41691 char *kwnames
[] = {
41692 (char *) "self",(char *) "button", NULL
41695 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StdDialogButtonSizer_SetNegativeButton",kwnames
,&obj0
,&obj1
)) goto fail
;
41696 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStdDialogButtonSizer
, SWIG_POINTER_EXCEPTION
| 0);
41697 if (SWIG_arg_fail(1)) SWIG_fail
;
41698 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxButton
, SWIG_POINTER_EXCEPTION
| 0);
41699 if (SWIG_arg_fail(2)) SWIG_fail
;
41701 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41702 (arg1
)->SetNegativeButton(arg2
);
41704 wxPyEndAllowThreads(__tstate
);
41705 if (PyErr_Occurred()) SWIG_fail
;
41707 Py_INCREF(Py_None
); resultobj
= Py_None
;
41714 static PyObject
*_wrap_StdDialogButtonSizer_SetCancelButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41715 PyObject
*resultobj
;
41716 wxStdDialogButtonSizer
*arg1
= (wxStdDialogButtonSizer
*) 0 ;
41717 wxButton
*arg2
= (wxButton
*) 0 ;
41718 PyObject
* obj0
= 0 ;
41719 PyObject
* obj1
= 0 ;
41720 char *kwnames
[] = {
41721 (char *) "self",(char *) "button", NULL
41724 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StdDialogButtonSizer_SetCancelButton",kwnames
,&obj0
,&obj1
)) goto fail
;
41725 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStdDialogButtonSizer
, SWIG_POINTER_EXCEPTION
| 0);
41726 if (SWIG_arg_fail(1)) SWIG_fail
;
41727 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxButton
, SWIG_POINTER_EXCEPTION
| 0);
41728 if (SWIG_arg_fail(2)) SWIG_fail
;
41730 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41731 (arg1
)->SetCancelButton(arg2
);
41733 wxPyEndAllowThreads(__tstate
);
41734 if (PyErr_Occurred()) SWIG_fail
;
41736 Py_INCREF(Py_None
); resultobj
= Py_None
;
41743 static PyObject
*_wrap_StdDialogButtonSizer_GetAffirmativeButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41744 PyObject
*resultobj
;
41745 wxStdDialogButtonSizer
*arg1
= (wxStdDialogButtonSizer
*) 0 ;
41747 PyObject
* obj0
= 0 ;
41748 char *kwnames
[] = {
41749 (char *) "self", NULL
41752 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StdDialogButtonSizer_GetAffirmativeButton",kwnames
,&obj0
)) goto fail
;
41753 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStdDialogButtonSizer
, SWIG_POINTER_EXCEPTION
| 0);
41754 if (SWIG_arg_fail(1)) SWIG_fail
;
41756 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41757 result
= (wxButton
*)((wxStdDialogButtonSizer
const *)arg1
)->GetAffirmativeButton();
41759 wxPyEndAllowThreads(__tstate
);
41760 if (PyErr_Occurred()) SWIG_fail
;
41763 resultobj
= wxPyMake_wxObject(result
, 0);
41771 static PyObject
*_wrap_StdDialogButtonSizer_GetApplyButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41772 PyObject
*resultobj
;
41773 wxStdDialogButtonSizer
*arg1
= (wxStdDialogButtonSizer
*) 0 ;
41775 PyObject
* obj0
= 0 ;
41776 char *kwnames
[] = {
41777 (char *) "self", NULL
41780 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StdDialogButtonSizer_GetApplyButton",kwnames
,&obj0
)) goto fail
;
41781 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStdDialogButtonSizer
, SWIG_POINTER_EXCEPTION
| 0);
41782 if (SWIG_arg_fail(1)) SWIG_fail
;
41784 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41785 result
= (wxButton
*)((wxStdDialogButtonSizer
const *)arg1
)->GetApplyButton();
41787 wxPyEndAllowThreads(__tstate
);
41788 if (PyErr_Occurred()) SWIG_fail
;
41791 resultobj
= wxPyMake_wxObject(result
, 0);
41799 static PyObject
*_wrap_StdDialogButtonSizer_GetNegativeButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41800 PyObject
*resultobj
;
41801 wxStdDialogButtonSizer
*arg1
= (wxStdDialogButtonSizer
*) 0 ;
41803 PyObject
* obj0
= 0 ;
41804 char *kwnames
[] = {
41805 (char *) "self", NULL
41808 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StdDialogButtonSizer_GetNegativeButton",kwnames
,&obj0
)) goto fail
;
41809 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStdDialogButtonSizer
, SWIG_POINTER_EXCEPTION
| 0);
41810 if (SWIG_arg_fail(1)) SWIG_fail
;
41812 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41813 result
= (wxButton
*)((wxStdDialogButtonSizer
const *)arg1
)->GetNegativeButton();
41815 wxPyEndAllowThreads(__tstate
);
41816 if (PyErr_Occurred()) SWIG_fail
;
41819 resultobj
= wxPyMake_wxObject(result
, 0);
41827 static PyObject
*_wrap_StdDialogButtonSizer_GetCancelButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41828 PyObject
*resultobj
;
41829 wxStdDialogButtonSizer
*arg1
= (wxStdDialogButtonSizer
*) 0 ;
41831 PyObject
* obj0
= 0 ;
41832 char *kwnames
[] = {
41833 (char *) "self", NULL
41836 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StdDialogButtonSizer_GetCancelButton",kwnames
,&obj0
)) goto fail
;
41837 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStdDialogButtonSizer
, SWIG_POINTER_EXCEPTION
| 0);
41838 if (SWIG_arg_fail(1)) SWIG_fail
;
41840 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41841 result
= (wxButton
*)((wxStdDialogButtonSizer
const *)arg1
)->GetCancelButton();
41843 wxPyEndAllowThreads(__tstate
);
41844 if (PyErr_Occurred()) SWIG_fail
;
41847 resultobj
= wxPyMake_wxObject(result
, 0);
41855 static PyObject
*_wrap_StdDialogButtonSizer_GetHelpButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41856 PyObject
*resultobj
;
41857 wxStdDialogButtonSizer
*arg1
= (wxStdDialogButtonSizer
*) 0 ;
41859 PyObject
* obj0
= 0 ;
41860 char *kwnames
[] = {
41861 (char *) "self", NULL
41864 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StdDialogButtonSizer_GetHelpButton",kwnames
,&obj0
)) goto fail
;
41865 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStdDialogButtonSizer
, SWIG_POINTER_EXCEPTION
| 0);
41866 if (SWIG_arg_fail(1)) SWIG_fail
;
41868 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41869 result
= (wxButton
*)((wxStdDialogButtonSizer
const *)arg1
)->GetHelpButton();
41871 wxPyEndAllowThreads(__tstate
);
41872 if (PyErr_Occurred()) SWIG_fail
;
41875 resultobj
= wxPyMake_wxObject(result
, 0);
41883 static PyObject
* StdDialogButtonSizer_swigregister(PyObject
*, PyObject
*args
) {
41885 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
41886 SWIG_TypeClientData(SWIGTYPE_p_wxStdDialogButtonSizer
, obj
);
41888 return Py_BuildValue((char *)"");
41890 static PyObject
*_wrap_new_GBPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41891 PyObject
*resultobj
;
41892 int arg1
= (int) 0 ;
41893 int arg2
= (int) 0 ;
41894 wxGBPosition
*result
;
41895 PyObject
* obj0
= 0 ;
41896 PyObject
* obj1
= 0 ;
41897 char *kwnames
[] = {
41898 (char *) "row",(char *) "col", NULL
41901 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_GBPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
41904 arg1
= (int)(SWIG_As_int(obj0
));
41905 if (SWIG_arg_fail(1)) SWIG_fail
;
41910 arg2
= (int)(SWIG_As_int(obj1
));
41911 if (SWIG_arg_fail(2)) SWIG_fail
;
41915 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41916 result
= (wxGBPosition
*)new wxGBPosition(arg1
,arg2
);
41918 wxPyEndAllowThreads(__tstate
);
41919 if (PyErr_Occurred()) SWIG_fail
;
41921 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBPosition
, 1);
41928 static PyObject
*_wrap_GBPosition_GetRow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41929 PyObject
*resultobj
;
41930 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
41932 PyObject
* obj0
= 0 ;
41933 char *kwnames
[] = {
41934 (char *) "self", NULL
41937 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBPosition_GetRow",kwnames
,&obj0
)) goto fail
;
41938 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBPosition
, SWIG_POINTER_EXCEPTION
| 0);
41939 if (SWIG_arg_fail(1)) SWIG_fail
;
41941 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41942 result
= (int)((wxGBPosition
const *)arg1
)->GetRow();
41944 wxPyEndAllowThreads(__tstate
);
41945 if (PyErr_Occurred()) SWIG_fail
;
41948 resultobj
= SWIG_From_int((int)(result
));
41956 static PyObject
*_wrap_GBPosition_GetCol(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41957 PyObject
*resultobj
;
41958 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
41960 PyObject
* obj0
= 0 ;
41961 char *kwnames
[] = {
41962 (char *) "self", NULL
41965 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBPosition_GetCol",kwnames
,&obj0
)) goto fail
;
41966 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBPosition
, SWIG_POINTER_EXCEPTION
| 0);
41967 if (SWIG_arg_fail(1)) SWIG_fail
;
41969 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41970 result
= (int)((wxGBPosition
const *)arg1
)->GetCol();
41972 wxPyEndAllowThreads(__tstate
);
41973 if (PyErr_Occurred()) SWIG_fail
;
41976 resultobj
= SWIG_From_int((int)(result
));
41984 static PyObject
*_wrap_GBPosition_SetRow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41985 PyObject
*resultobj
;
41986 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
41988 PyObject
* obj0
= 0 ;
41989 PyObject
* obj1
= 0 ;
41990 char *kwnames
[] = {
41991 (char *) "self",(char *) "row", NULL
41994 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBPosition_SetRow",kwnames
,&obj0
,&obj1
)) goto fail
;
41995 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBPosition
, SWIG_POINTER_EXCEPTION
| 0);
41996 if (SWIG_arg_fail(1)) SWIG_fail
;
41998 arg2
= (int)(SWIG_As_int(obj1
));
41999 if (SWIG_arg_fail(2)) SWIG_fail
;
42002 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42003 (arg1
)->SetRow(arg2
);
42005 wxPyEndAllowThreads(__tstate
);
42006 if (PyErr_Occurred()) SWIG_fail
;
42008 Py_INCREF(Py_None
); resultobj
= Py_None
;
42015 static PyObject
*_wrap_GBPosition_SetCol(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42016 PyObject
*resultobj
;
42017 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
42019 PyObject
* obj0
= 0 ;
42020 PyObject
* obj1
= 0 ;
42021 char *kwnames
[] = {
42022 (char *) "self",(char *) "col", NULL
42025 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBPosition_SetCol",kwnames
,&obj0
,&obj1
)) goto fail
;
42026 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBPosition
, SWIG_POINTER_EXCEPTION
| 0);
42027 if (SWIG_arg_fail(1)) SWIG_fail
;
42029 arg2
= (int)(SWIG_As_int(obj1
));
42030 if (SWIG_arg_fail(2)) SWIG_fail
;
42033 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42034 (arg1
)->SetCol(arg2
);
42036 wxPyEndAllowThreads(__tstate
);
42037 if (PyErr_Occurred()) SWIG_fail
;
42039 Py_INCREF(Py_None
); resultobj
= Py_None
;
42046 static PyObject
*_wrap_GBPosition___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42047 PyObject
*resultobj
;
42048 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
42049 wxGBPosition
*arg2
= 0 ;
42051 wxGBPosition temp2
;
42052 PyObject
* obj0
= 0 ;
42053 PyObject
* obj1
= 0 ;
42054 char *kwnames
[] = {
42055 (char *) "self",(char *) "other", NULL
42058 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBPosition___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
42059 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBPosition
, SWIG_POINTER_EXCEPTION
| 0);
42060 if (SWIG_arg_fail(1)) SWIG_fail
;
42063 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
42066 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42067 result
= (bool)(arg1
)->operator ==((wxGBPosition
const &)*arg2
);
42069 wxPyEndAllowThreads(__tstate
);
42070 if (PyErr_Occurred()) SWIG_fail
;
42073 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
42081 static PyObject
*_wrap_GBPosition___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42082 PyObject
*resultobj
;
42083 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
42084 wxGBPosition
*arg2
= 0 ;
42086 wxGBPosition temp2
;
42087 PyObject
* obj0
= 0 ;
42088 PyObject
* obj1
= 0 ;
42089 char *kwnames
[] = {
42090 (char *) "self",(char *) "other", NULL
42093 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBPosition___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
42094 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBPosition
, SWIG_POINTER_EXCEPTION
| 0);
42095 if (SWIG_arg_fail(1)) SWIG_fail
;
42098 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
42101 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42102 result
= (bool)(arg1
)->operator !=((wxGBPosition
const &)*arg2
);
42104 wxPyEndAllowThreads(__tstate
);
42105 if (PyErr_Occurred()) SWIG_fail
;
42108 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
42116 static PyObject
*_wrap_GBPosition_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42117 PyObject
*resultobj
;
42118 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
42119 int arg2
= (int) 0 ;
42120 int arg3
= (int) 0 ;
42121 PyObject
* obj0
= 0 ;
42122 PyObject
* obj1
= 0 ;
42123 PyObject
* obj2
= 0 ;
42124 char *kwnames
[] = {
42125 (char *) "self",(char *) "row",(char *) "col", NULL
42128 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:GBPosition_Set",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
42129 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBPosition
, SWIG_POINTER_EXCEPTION
| 0);
42130 if (SWIG_arg_fail(1)) SWIG_fail
;
42133 arg2
= (int)(SWIG_As_int(obj1
));
42134 if (SWIG_arg_fail(2)) SWIG_fail
;
42139 arg3
= (int)(SWIG_As_int(obj2
));
42140 if (SWIG_arg_fail(3)) SWIG_fail
;
42144 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42145 wxGBPosition_Set(arg1
,arg2
,arg3
);
42147 wxPyEndAllowThreads(__tstate
);
42148 if (PyErr_Occurred()) SWIG_fail
;
42150 Py_INCREF(Py_None
); resultobj
= Py_None
;
42157 static PyObject
*_wrap_GBPosition_Get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42158 PyObject
*resultobj
;
42159 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
42161 PyObject
* obj0
= 0 ;
42162 char *kwnames
[] = {
42163 (char *) "self", NULL
42166 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBPosition_Get",kwnames
,&obj0
)) goto fail
;
42167 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBPosition
, SWIG_POINTER_EXCEPTION
| 0);
42168 if (SWIG_arg_fail(1)) SWIG_fail
;
42170 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42171 result
= (PyObject
*)wxGBPosition_Get(arg1
);
42173 wxPyEndAllowThreads(__tstate
);
42174 if (PyErr_Occurred()) SWIG_fail
;
42176 resultobj
= result
;
42183 static PyObject
* GBPosition_swigregister(PyObject
*, PyObject
*args
) {
42185 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
42186 SWIG_TypeClientData(SWIGTYPE_p_wxGBPosition
, obj
);
42188 return Py_BuildValue((char *)"");
42190 static PyObject
*_wrap_new_GBSpan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42191 PyObject
*resultobj
;
42192 int arg1
= (int) 1 ;
42193 int arg2
= (int) 1 ;
42195 PyObject
* obj0
= 0 ;
42196 PyObject
* obj1
= 0 ;
42197 char *kwnames
[] = {
42198 (char *) "rowspan",(char *) "colspan", NULL
42201 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_GBSpan",kwnames
,&obj0
,&obj1
)) goto fail
;
42204 arg1
= (int)(SWIG_As_int(obj0
));
42205 if (SWIG_arg_fail(1)) SWIG_fail
;
42210 arg2
= (int)(SWIG_As_int(obj1
));
42211 if (SWIG_arg_fail(2)) SWIG_fail
;
42215 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42216 result
= (wxGBSpan
*)new wxGBSpan(arg1
,arg2
);
42218 wxPyEndAllowThreads(__tstate
);
42219 if (PyErr_Occurred()) SWIG_fail
;
42221 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSpan
, 1);
42228 static PyObject
*_wrap_GBSpan_GetRowspan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42229 PyObject
*resultobj
;
42230 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
42232 PyObject
* obj0
= 0 ;
42233 char *kwnames
[] = {
42234 (char *) "self", NULL
42237 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBSpan_GetRowspan",kwnames
,&obj0
)) goto fail
;
42238 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBSpan
, SWIG_POINTER_EXCEPTION
| 0);
42239 if (SWIG_arg_fail(1)) SWIG_fail
;
42241 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42242 result
= (int)((wxGBSpan
const *)arg1
)->GetRowspan();
42244 wxPyEndAllowThreads(__tstate
);
42245 if (PyErr_Occurred()) SWIG_fail
;
42248 resultobj
= SWIG_From_int((int)(result
));
42256 static PyObject
*_wrap_GBSpan_GetColspan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42257 PyObject
*resultobj
;
42258 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
42260 PyObject
* obj0
= 0 ;
42261 char *kwnames
[] = {
42262 (char *) "self", NULL
42265 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBSpan_GetColspan",kwnames
,&obj0
)) goto fail
;
42266 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBSpan
, SWIG_POINTER_EXCEPTION
| 0);
42267 if (SWIG_arg_fail(1)) SWIG_fail
;
42269 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42270 result
= (int)((wxGBSpan
const *)arg1
)->GetColspan();
42272 wxPyEndAllowThreads(__tstate
);
42273 if (PyErr_Occurred()) SWIG_fail
;
42276 resultobj
= SWIG_From_int((int)(result
));
42284 static PyObject
*_wrap_GBSpan_SetRowspan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42285 PyObject
*resultobj
;
42286 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
42288 PyObject
* obj0
= 0 ;
42289 PyObject
* obj1
= 0 ;
42290 char *kwnames
[] = {
42291 (char *) "self",(char *) "rowspan", NULL
42294 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSpan_SetRowspan",kwnames
,&obj0
,&obj1
)) goto fail
;
42295 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBSpan
, SWIG_POINTER_EXCEPTION
| 0);
42296 if (SWIG_arg_fail(1)) SWIG_fail
;
42298 arg2
= (int)(SWIG_As_int(obj1
));
42299 if (SWIG_arg_fail(2)) SWIG_fail
;
42302 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42303 (arg1
)->SetRowspan(arg2
);
42305 wxPyEndAllowThreads(__tstate
);
42306 if (PyErr_Occurred()) SWIG_fail
;
42308 Py_INCREF(Py_None
); resultobj
= Py_None
;
42315 static PyObject
*_wrap_GBSpan_SetColspan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42316 PyObject
*resultobj
;
42317 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
42319 PyObject
* obj0
= 0 ;
42320 PyObject
* obj1
= 0 ;
42321 char *kwnames
[] = {
42322 (char *) "self",(char *) "colspan", NULL
42325 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSpan_SetColspan",kwnames
,&obj0
,&obj1
)) goto fail
;
42326 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBSpan
, SWIG_POINTER_EXCEPTION
| 0);
42327 if (SWIG_arg_fail(1)) SWIG_fail
;
42329 arg2
= (int)(SWIG_As_int(obj1
));
42330 if (SWIG_arg_fail(2)) SWIG_fail
;
42333 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42334 (arg1
)->SetColspan(arg2
);
42336 wxPyEndAllowThreads(__tstate
);
42337 if (PyErr_Occurred()) SWIG_fail
;
42339 Py_INCREF(Py_None
); resultobj
= Py_None
;
42346 static PyObject
*_wrap_GBSpan___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42347 PyObject
*resultobj
;
42348 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
42349 wxGBSpan
*arg2
= 0 ;
42352 PyObject
* obj0
= 0 ;
42353 PyObject
* obj1
= 0 ;
42354 char *kwnames
[] = {
42355 (char *) "self",(char *) "other", NULL
42358 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSpan___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
42359 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBSpan
, SWIG_POINTER_EXCEPTION
| 0);
42360 if (SWIG_arg_fail(1)) SWIG_fail
;
42363 if ( ! wxGBSpan_helper(obj1
, &arg2
)) SWIG_fail
;
42366 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42367 result
= (bool)(arg1
)->operator ==((wxGBSpan
const &)*arg2
);
42369 wxPyEndAllowThreads(__tstate
);
42370 if (PyErr_Occurred()) SWIG_fail
;
42373 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
42381 static PyObject
*_wrap_GBSpan___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42382 PyObject
*resultobj
;
42383 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
42384 wxGBSpan
*arg2
= 0 ;
42387 PyObject
* obj0
= 0 ;
42388 PyObject
* obj1
= 0 ;
42389 char *kwnames
[] = {
42390 (char *) "self",(char *) "other", NULL
42393 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSpan___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
42394 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBSpan
, SWIG_POINTER_EXCEPTION
| 0);
42395 if (SWIG_arg_fail(1)) SWIG_fail
;
42398 if ( ! wxGBSpan_helper(obj1
, &arg2
)) SWIG_fail
;
42401 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42402 result
= (bool)(arg1
)->operator !=((wxGBSpan
const &)*arg2
);
42404 wxPyEndAllowThreads(__tstate
);
42405 if (PyErr_Occurred()) SWIG_fail
;
42408 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
42416 static PyObject
*_wrap_GBSpan_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42417 PyObject
*resultobj
;
42418 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
42419 int arg2
= (int) 1 ;
42420 int arg3
= (int) 1 ;
42421 PyObject
* obj0
= 0 ;
42422 PyObject
* obj1
= 0 ;
42423 PyObject
* obj2
= 0 ;
42424 char *kwnames
[] = {
42425 (char *) "self",(char *) "rowspan",(char *) "colspan", NULL
42428 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:GBSpan_Set",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
42429 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBSpan
, SWIG_POINTER_EXCEPTION
| 0);
42430 if (SWIG_arg_fail(1)) SWIG_fail
;
42433 arg2
= (int)(SWIG_As_int(obj1
));
42434 if (SWIG_arg_fail(2)) SWIG_fail
;
42439 arg3
= (int)(SWIG_As_int(obj2
));
42440 if (SWIG_arg_fail(3)) SWIG_fail
;
42444 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42445 wxGBSpan_Set(arg1
,arg2
,arg3
);
42447 wxPyEndAllowThreads(__tstate
);
42448 if (PyErr_Occurred()) SWIG_fail
;
42450 Py_INCREF(Py_None
); resultobj
= Py_None
;
42457 static PyObject
*_wrap_GBSpan_Get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42458 PyObject
*resultobj
;
42459 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
42461 PyObject
* obj0
= 0 ;
42462 char *kwnames
[] = {
42463 (char *) "self", NULL
42466 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBSpan_Get",kwnames
,&obj0
)) goto fail
;
42467 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBSpan
, SWIG_POINTER_EXCEPTION
| 0);
42468 if (SWIG_arg_fail(1)) SWIG_fail
;
42470 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42471 result
= (PyObject
*)wxGBSpan_Get(arg1
);
42473 wxPyEndAllowThreads(__tstate
);
42474 if (PyErr_Occurred()) SWIG_fail
;
42476 resultobj
= result
;
42483 static PyObject
* GBSpan_swigregister(PyObject
*, PyObject
*args
) {
42485 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
42486 SWIG_TypeClientData(SWIGTYPE_p_wxGBSpan
, obj
);
42488 return Py_BuildValue((char *)"");
42490 static int _wrap_DefaultSpan_set(PyObject
*) {
42491 PyErr_SetString(PyExc_TypeError
,"Variable DefaultSpan is read-only.");
42496 static PyObject
*_wrap_DefaultSpan_get(void) {
42499 pyobj
= SWIG_NewPointerObj((void *)(&wxDefaultSpan
), SWIGTYPE_p_wxGBSpan
, 0);
42504 static PyObject
*_wrap_new_GBSizerItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42505 PyObject
*resultobj
;
42506 wxGBSizerItem
*result
;
42507 char *kwnames
[] = {
42511 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_GBSizerItem",kwnames
)) goto fail
;
42513 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42514 result
= (wxGBSizerItem
*)new wxGBSizerItem();
42516 wxPyEndAllowThreads(__tstate
);
42517 if (PyErr_Occurred()) SWIG_fail
;
42519 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 1);
42526 static PyObject
*_wrap_new_GBSizerItemWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42527 PyObject
*resultobj
;
42528 wxWindow
*arg1
= (wxWindow
*) 0 ;
42529 wxGBPosition
*arg2
= 0 ;
42530 wxGBSpan
*arg3
= 0 ;
42533 PyObject
*arg6
= (PyObject
*) NULL
;
42534 wxGBSizerItem
*result
;
42535 wxGBPosition temp2
;
42537 PyObject
* obj0
= 0 ;
42538 PyObject
* obj1
= 0 ;
42539 PyObject
* obj2
= 0 ;
42540 PyObject
* obj3
= 0 ;
42541 PyObject
* obj4
= 0 ;
42542 PyObject
* obj5
= 0 ;
42543 char *kwnames
[] = {
42544 (char *) "window",(char *) "pos",(char *) "span",(char *) "flag",(char *) "border",(char *) "userData", NULL
42547 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:new_GBSizerItemWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
42548 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
42549 if (SWIG_arg_fail(1)) SWIG_fail
;
42552 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
42556 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
42559 arg4
= (int)(SWIG_As_int(obj3
));
42560 if (SWIG_arg_fail(4)) SWIG_fail
;
42563 arg5
= (int)(SWIG_As_int(obj4
));
42564 if (SWIG_arg_fail(5)) SWIG_fail
;
42570 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42571 result
= (wxGBSizerItem
*)new_wxGBSizerItem(arg1
,(wxGBPosition
const &)*arg2
,(wxGBSpan
const &)*arg3
,arg4
,arg5
,arg6
);
42573 wxPyEndAllowThreads(__tstate
);
42574 if (PyErr_Occurred()) SWIG_fail
;
42576 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 1);
42583 static PyObject
*_wrap_new_GBSizerItemSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42584 PyObject
*resultobj
;
42585 wxSizer
*arg1
= (wxSizer
*) 0 ;
42586 wxGBPosition
*arg2
= 0 ;
42587 wxGBSpan
*arg3
= 0 ;
42590 PyObject
*arg6
= (PyObject
*) NULL
;
42591 wxGBSizerItem
*result
;
42592 wxGBPosition temp2
;
42594 PyObject
* obj0
= 0 ;
42595 PyObject
* obj1
= 0 ;
42596 PyObject
* obj2
= 0 ;
42597 PyObject
* obj3
= 0 ;
42598 PyObject
* obj4
= 0 ;
42599 PyObject
* obj5
= 0 ;
42600 char *kwnames
[] = {
42601 (char *) "sizer",(char *) "pos",(char *) "span",(char *) "flag",(char *) "border",(char *) "userData", NULL
42604 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:new_GBSizerItemSizer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
42605 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
42606 if (SWIG_arg_fail(1)) SWIG_fail
;
42609 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
42613 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
42616 arg4
= (int)(SWIG_As_int(obj3
));
42617 if (SWIG_arg_fail(4)) SWIG_fail
;
42620 arg5
= (int)(SWIG_As_int(obj4
));
42621 if (SWIG_arg_fail(5)) SWIG_fail
;
42627 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42628 result
= (wxGBSizerItem
*)new_wxGBSizerItem(arg1
,(wxGBPosition
const &)*arg2
,(wxGBSpan
const &)*arg3
,arg4
,arg5
,arg6
);
42630 wxPyEndAllowThreads(__tstate
);
42631 if (PyErr_Occurred()) SWIG_fail
;
42633 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 1);
42640 static PyObject
*_wrap_new_GBSizerItemSpacer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42641 PyObject
*resultobj
;
42644 wxGBPosition
*arg3
= 0 ;
42645 wxGBSpan
*arg4
= 0 ;
42648 PyObject
*arg7
= (PyObject
*) NULL
;
42649 wxGBSizerItem
*result
;
42650 wxGBPosition temp3
;
42652 PyObject
* obj0
= 0 ;
42653 PyObject
* obj1
= 0 ;
42654 PyObject
* obj2
= 0 ;
42655 PyObject
* obj3
= 0 ;
42656 PyObject
* obj4
= 0 ;
42657 PyObject
* obj5
= 0 ;
42658 PyObject
* obj6
= 0 ;
42659 char *kwnames
[] = {
42660 (char *) "width",(char *) "height",(char *) "pos",(char *) "span",(char *) "flag",(char *) "border",(char *) "userData", NULL
42663 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO|O:new_GBSizerItemSpacer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
42665 arg1
= (int)(SWIG_As_int(obj0
));
42666 if (SWIG_arg_fail(1)) SWIG_fail
;
42669 arg2
= (int)(SWIG_As_int(obj1
));
42670 if (SWIG_arg_fail(2)) SWIG_fail
;
42674 if ( ! wxGBPosition_helper(obj2
, &arg3
)) SWIG_fail
;
42678 if ( ! wxGBSpan_helper(obj3
, &arg4
)) SWIG_fail
;
42681 arg5
= (int)(SWIG_As_int(obj4
));
42682 if (SWIG_arg_fail(5)) SWIG_fail
;
42685 arg6
= (int)(SWIG_As_int(obj5
));
42686 if (SWIG_arg_fail(6)) SWIG_fail
;
42692 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42693 result
= (wxGBSizerItem
*)new_wxGBSizerItem(arg1
,arg2
,(wxGBPosition
const &)*arg3
,(wxGBSpan
const &)*arg4
,arg5
,arg6
,arg7
);
42695 wxPyEndAllowThreads(__tstate
);
42696 if (PyErr_Occurred()) SWIG_fail
;
42698 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 1);
42705 static PyObject
*_wrap_GBSizerItem_GetPos(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42706 PyObject
*resultobj
;
42707 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
42708 wxGBPosition result
;
42709 PyObject
* obj0
= 0 ;
42710 char *kwnames
[] = {
42711 (char *) "self", NULL
42714 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBSizerItem_GetPos",kwnames
,&obj0
)) goto fail
;
42715 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
42716 if (SWIG_arg_fail(1)) SWIG_fail
;
42718 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42719 result
= ((wxGBSizerItem
const *)arg1
)->GetPos();
42721 wxPyEndAllowThreads(__tstate
);
42722 if (PyErr_Occurred()) SWIG_fail
;
42725 wxGBPosition
* resultptr
;
42726 resultptr
= new wxGBPosition((wxGBPosition
&)(result
));
42727 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBPosition
, 1);
42735 static PyObject
*_wrap_GBSizerItem_GetSpan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42736 PyObject
*resultobj
;
42737 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
42739 PyObject
* obj0
= 0 ;
42740 char *kwnames
[] = {
42741 (char *) "self", NULL
42744 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBSizerItem_GetSpan",kwnames
,&obj0
)) goto fail
;
42745 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
42746 if (SWIG_arg_fail(1)) SWIG_fail
;
42748 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42749 result
= ((wxGBSizerItem
const *)arg1
)->GetSpan();
42751 wxPyEndAllowThreads(__tstate
);
42752 if (PyErr_Occurred()) SWIG_fail
;
42755 wxGBSpan
* resultptr
;
42756 resultptr
= new wxGBSpan((wxGBSpan
&)(result
));
42757 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBSpan
, 1);
42765 static PyObject
*_wrap_GBSizerItem_SetPos(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42766 PyObject
*resultobj
;
42767 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
42768 wxGBPosition
*arg2
= 0 ;
42770 wxGBPosition temp2
;
42771 PyObject
* obj0
= 0 ;
42772 PyObject
* obj1
= 0 ;
42773 char *kwnames
[] = {
42774 (char *) "self",(char *) "pos", NULL
42777 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSizerItem_SetPos",kwnames
,&obj0
,&obj1
)) goto fail
;
42778 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
42779 if (SWIG_arg_fail(1)) SWIG_fail
;
42782 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
42785 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42786 result
= (bool)(arg1
)->SetPos((wxGBPosition
const &)*arg2
);
42788 wxPyEndAllowThreads(__tstate
);
42789 if (PyErr_Occurred()) SWIG_fail
;
42792 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
42800 static PyObject
*_wrap_GBSizerItem_SetSpan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42801 PyObject
*resultobj
;
42802 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
42803 wxGBSpan
*arg2
= 0 ;
42806 PyObject
* obj0
= 0 ;
42807 PyObject
* obj1
= 0 ;
42808 char *kwnames
[] = {
42809 (char *) "self",(char *) "span", NULL
42812 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSizerItem_SetSpan",kwnames
,&obj0
,&obj1
)) goto fail
;
42813 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
42814 if (SWIG_arg_fail(1)) SWIG_fail
;
42817 if ( ! wxGBSpan_helper(obj1
, &arg2
)) SWIG_fail
;
42820 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42821 result
= (bool)(arg1
)->SetSpan((wxGBSpan
const &)*arg2
);
42823 wxPyEndAllowThreads(__tstate
);
42824 if (PyErr_Occurred()) SWIG_fail
;
42827 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
42835 static PyObject
*_wrap_GBSizerItem_Intersects(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42836 PyObject
*resultobj
;
42837 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
42838 wxGBSizerItem
*arg2
= 0 ;
42840 PyObject
* obj0
= 0 ;
42841 PyObject
* obj1
= 0 ;
42842 char *kwnames
[] = {
42843 (char *) "self",(char *) "other", NULL
42846 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSizerItem_Intersects",kwnames
,&obj0
,&obj1
)) goto fail
;
42847 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
42848 if (SWIG_arg_fail(1)) SWIG_fail
;
42850 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxGBSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
42851 if (SWIG_arg_fail(2)) SWIG_fail
;
42852 if (arg2
== NULL
) {
42853 SWIG_null_ref("wxGBSizerItem");
42855 if (SWIG_arg_fail(2)) SWIG_fail
;
42858 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42859 result
= (bool)(arg1
)->Intersects((wxGBSizerItem
const &)*arg2
);
42861 wxPyEndAllowThreads(__tstate
);
42862 if (PyErr_Occurred()) SWIG_fail
;
42865 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
42873 static PyObject
*_wrap_GBSizerItem_IntersectsPos(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42874 PyObject
*resultobj
;
42875 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
42876 wxGBPosition
*arg2
= 0 ;
42877 wxGBSpan
*arg3
= 0 ;
42879 wxGBPosition temp2
;
42881 PyObject
* obj0
= 0 ;
42882 PyObject
* obj1
= 0 ;
42883 PyObject
* obj2
= 0 ;
42884 char *kwnames
[] = {
42885 (char *) "self",(char *) "pos",(char *) "span", NULL
42888 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GBSizerItem_IntersectsPos",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
42889 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
42890 if (SWIG_arg_fail(1)) SWIG_fail
;
42893 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
42897 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
42900 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42901 result
= (bool)(arg1
)->Intersects((wxGBPosition
const &)*arg2
,(wxGBSpan
const &)*arg3
);
42903 wxPyEndAllowThreads(__tstate
);
42904 if (PyErr_Occurred()) SWIG_fail
;
42907 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
42915 static PyObject
*_wrap_GBSizerItem_GetEndPos(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42916 PyObject
*resultobj
;
42917 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
42918 wxGBPosition result
;
42919 PyObject
* obj0
= 0 ;
42920 char *kwnames
[] = {
42921 (char *) "self", NULL
42924 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBSizerItem_GetEndPos",kwnames
,&obj0
)) goto fail
;
42925 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
42926 if (SWIG_arg_fail(1)) SWIG_fail
;
42928 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42929 result
= wxGBSizerItem_GetEndPos(arg1
);
42931 wxPyEndAllowThreads(__tstate
);
42932 if (PyErr_Occurred()) SWIG_fail
;
42935 wxGBPosition
* resultptr
;
42936 resultptr
= new wxGBPosition((wxGBPosition
&)(result
));
42937 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBPosition
, 1);
42945 static PyObject
*_wrap_GBSizerItem_GetGBSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42946 PyObject
*resultobj
;
42947 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
42948 wxGridBagSizer
*result
;
42949 PyObject
* obj0
= 0 ;
42950 char *kwnames
[] = {
42951 (char *) "self", NULL
42954 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBSizerItem_GetGBSizer",kwnames
,&obj0
)) goto fail
;
42955 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
42956 if (SWIG_arg_fail(1)) SWIG_fail
;
42958 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42959 result
= (wxGridBagSizer
*)((wxGBSizerItem
const *)arg1
)->GetGBSizer();
42961 wxPyEndAllowThreads(__tstate
);
42962 if (PyErr_Occurred()) SWIG_fail
;
42964 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGridBagSizer
, 0);
42971 static PyObject
*_wrap_GBSizerItem_SetGBSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42972 PyObject
*resultobj
;
42973 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
42974 wxGridBagSizer
*arg2
= (wxGridBagSizer
*) 0 ;
42975 PyObject
* obj0
= 0 ;
42976 PyObject
* obj1
= 0 ;
42977 char *kwnames
[] = {
42978 (char *) "self",(char *) "sizer", NULL
42981 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSizerItem_SetGBSizer",kwnames
,&obj0
,&obj1
)) goto fail
;
42982 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
42983 if (SWIG_arg_fail(1)) SWIG_fail
;
42984 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
42985 if (SWIG_arg_fail(2)) SWIG_fail
;
42987 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42988 (arg1
)->SetGBSizer(arg2
);
42990 wxPyEndAllowThreads(__tstate
);
42991 if (PyErr_Occurred()) SWIG_fail
;
42993 Py_INCREF(Py_None
); resultobj
= Py_None
;
43000 static PyObject
* GBSizerItem_swigregister(PyObject
*, PyObject
*args
) {
43002 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
43003 SWIG_TypeClientData(SWIGTYPE_p_wxGBSizerItem
, obj
);
43005 return Py_BuildValue((char *)"");
43007 static PyObject
*_wrap_new_GridBagSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
43008 PyObject
*resultobj
;
43009 int arg1
= (int) 0 ;
43010 int arg2
= (int) 0 ;
43011 wxGridBagSizer
*result
;
43012 PyObject
* obj0
= 0 ;
43013 PyObject
* obj1
= 0 ;
43014 char *kwnames
[] = {
43015 (char *) "vgap",(char *) "hgap", NULL
43018 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_GridBagSizer",kwnames
,&obj0
,&obj1
)) goto fail
;
43021 arg1
= (int)(SWIG_As_int(obj0
));
43022 if (SWIG_arg_fail(1)) SWIG_fail
;
43027 arg2
= (int)(SWIG_As_int(obj1
));
43028 if (SWIG_arg_fail(2)) SWIG_fail
;
43032 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43033 result
= (wxGridBagSizer
*)new wxGridBagSizer(arg1
,arg2
);
43035 wxPyEndAllowThreads(__tstate
);
43036 if (PyErr_Occurred()) SWIG_fail
;
43038 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGridBagSizer
, 1);
43045 static PyObject
*_wrap_GridBagSizer_Add(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
43046 PyObject
*resultobj
;
43047 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
43048 PyObject
*arg2
= (PyObject
*) 0 ;
43049 wxGBPosition
*arg3
= 0 ;
43050 wxGBSpan
const &arg4_defvalue
= wxDefaultSpan
;
43051 wxGBSpan
*arg4
= (wxGBSpan
*) &arg4_defvalue
;
43052 int arg5
= (int) 0 ;
43053 int arg6
= (int) 0 ;
43054 PyObject
*arg7
= (PyObject
*) NULL
;
43055 wxGBSizerItem
*result
;
43056 wxGBPosition temp3
;
43058 PyObject
* obj0
= 0 ;
43059 PyObject
* obj1
= 0 ;
43060 PyObject
* obj2
= 0 ;
43061 PyObject
* obj3
= 0 ;
43062 PyObject
* obj4
= 0 ;
43063 PyObject
* obj5
= 0 ;
43064 PyObject
* obj6
= 0 ;
43065 char *kwnames
[] = {
43066 (char *) "self",(char *) "item",(char *) "pos",(char *) "span",(char *) "flag",(char *) "border",(char *) "userData", NULL
43069 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:GridBagSizer_Add",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
43070 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
43071 if (SWIG_arg_fail(1)) SWIG_fail
;
43075 if ( ! wxGBPosition_helper(obj2
, &arg3
)) SWIG_fail
;
43080 if ( ! wxGBSpan_helper(obj3
, &arg4
)) SWIG_fail
;
43085 arg5
= (int)(SWIG_As_int(obj4
));
43086 if (SWIG_arg_fail(5)) SWIG_fail
;
43091 arg6
= (int)(SWIG_As_int(obj5
));
43092 if (SWIG_arg_fail(6)) SWIG_fail
;
43099 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43100 result
= (wxGBSizerItem
*)wxGridBagSizer_Add(arg1
,arg2
,(wxGBPosition
const &)*arg3
,(wxGBSpan
const &)*arg4
,arg5
,arg6
,arg7
);
43102 wxPyEndAllowThreads(__tstate
);
43103 if (PyErr_Occurred()) SWIG_fail
;
43105 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 0);
43112 static PyObject
*_wrap_GridBagSizer_AddItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
43113 PyObject
*resultobj
;
43114 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
43115 wxGBSizerItem
*arg2
= (wxGBSizerItem
*) 0 ;
43116 wxGBSizerItem
*result
;
43117 PyObject
* obj0
= 0 ;
43118 PyObject
* obj1
= 0 ;
43119 char *kwnames
[] = {
43120 (char *) "self",(char *) "item", NULL
43123 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridBagSizer_AddItem",kwnames
,&obj0
,&obj1
)) goto fail
;
43124 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
43125 if (SWIG_arg_fail(1)) SWIG_fail
;
43126 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxGBSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
43127 if (SWIG_arg_fail(2)) SWIG_fail
;
43129 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43130 result
= (wxGBSizerItem
*)(arg1
)->Add(arg2
);
43132 wxPyEndAllowThreads(__tstate
);
43133 if (PyErr_Occurred()) SWIG_fail
;
43135 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 0);
43142 static PyObject
*_wrap_GridBagSizer_GetCellSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
43143 PyObject
*resultobj
;
43144 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
43148 PyObject
* obj0
= 0 ;
43149 PyObject
* obj1
= 0 ;
43150 PyObject
* obj2
= 0 ;
43151 char *kwnames
[] = {
43152 (char *) "self",(char *) "row",(char *) "col", NULL
43155 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GridBagSizer_GetCellSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
43156 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
43157 if (SWIG_arg_fail(1)) SWIG_fail
;
43159 arg2
= (int)(SWIG_As_int(obj1
));
43160 if (SWIG_arg_fail(2)) SWIG_fail
;
43163 arg3
= (int)(SWIG_As_int(obj2
));
43164 if (SWIG_arg_fail(3)) SWIG_fail
;
43167 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43168 result
= ((wxGridBagSizer
const *)arg1
)->GetCellSize(arg2
,arg3
);
43170 wxPyEndAllowThreads(__tstate
);
43171 if (PyErr_Occurred()) SWIG_fail
;
43174 wxSize
* resultptr
;
43175 resultptr
= new wxSize((wxSize
&)(result
));
43176 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
43184 static PyObject
*_wrap_GridBagSizer_GetEmptyCellSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
43185 PyObject
*resultobj
;
43186 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
43188 PyObject
* obj0
= 0 ;
43189 char *kwnames
[] = {
43190 (char *) "self", NULL
43193 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridBagSizer_GetEmptyCellSize",kwnames
,&obj0
)) goto fail
;
43194 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
43195 if (SWIG_arg_fail(1)) SWIG_fail
;
43197 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43198 result
= ((wxGridBagSizer
const *)arg1
)->GetEmptyCellSize();
43200 wxPyEndAllowThreads(__tstate
);
43201 if (PyErr_Occurred()) SWIG_fail
;
43204 wxSize
* resultptr
;
43205 resultptr
= new wxSize((wxSize
&)(result
));
43206 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
43214 static PyObject
*_wrap_GridBagSizer_SetEmptyCellSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
43215 PyObject
*resultobj
;
43216 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
43219 PyObject
* obj0
= 0 ;
43220 PyObject
* obj1
= 0 ;
43221 char *kwnames
[] = {
43222 (char *) "self",(char *) "sz", NULL
43225 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridBagSizer_SetEmptyCellSize",kwnames
,&obj0
,&obj1
)) goto fail
;
43226 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
43227 if (SWIG_arg_fail(1)) SWIG_fail
;
43230 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
43233 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43234 (arg1
)->SetEmptyCellSize((wxSize
const &)*arg2
);
43236 wxPyEndAllowThreads(__tstate
);
43237 if (PyErr_Occurred()) SWIG_fail
;
43239 Py_INCREF(Py_None
); resultobj
= Py_None
;
43246 static PyObject
*_wrap_GridBagSizer_GetItemPosition__SWIG_0(PyObject
*, PyObject
*args
) {
43247 PyObject
*resultobj
;
43248 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
43249 wxWindow
*arg2
= (wxWindow
*) 0 ;
43250 wxGBPosition result
;
43251 PyObject
* obj0
= 0 ;
43252 PyObject
* obj1
= 0 ;
43254 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_GetItemPosition",&obj0
,&obj1
)) goto fail
;
43255 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
43256 if (SWIG_arg_fail(1)) SWIG_fail
;
43257 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
43258 if (SWIG_arg_fail(2)) SWIG_fail
;
43260 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43261 result
= (arg1
)->GetItemPosition(arg2
);
43263 wxPyEndAllowThreads(__tstate
);
43264 if (PyErr_Occurred()) SWIG_fail
;
43267 wxGBPosition
* resultptr
;
43268 resultptr
= new wxGBPosition((wxGBPosition
&)(result
));
43269 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBPosition
, 1);
43277 static PyObject
*_wrap_GridBagSizer_GetItemPosition__SWIG_1(PyObject
*, PyObject
*args
) {
43278 PyObject
*resultobj
;
43279 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
43280 wxSizer
*arg2
= (wxSizer
*) 0 ;
43281 wxGBPosition result
;
43282 PyObject
* obj0
= 0 ;
43283 PyObject
* obj1
= 0 ;
43285 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_GetItemPosition",&obj0
,&obj1
)) goto fail
;
43286 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
43287 if (SWIG_arg_fail(1)) SWIG_fail
;
43288 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
43289 if (SWIG_arg_fail(2)) SWIG_fail
;
43291 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43292 result
= (arg1
)->GetItemPosition(arg2
);
43294 wxPyEndAllowThreads(__tstate
);
43295 if (PyErr_Occurred()) SWIG_fail
;
43298 wxGBPosition
* resultptr
;
43299 resultptr
= new wxGBPosition((wxGBPosition
&)(result
));
43300 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBPosition
, 1);
43308 static PyObject
*_wrap_GridBagSizer_GetItemPosition__SWIG_2(PyObject
*, PyObject
*args
) {
43309 PyObject
*resultobj
;
43310 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
43312 wxGBPosition result
;
43313 PyObject
* obj0
= 0 ;
43314 PyObject
* obj1
= 0 ;
43316 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_GetItemPosition",&obj0
,&obj1
)) goto fail
;
43317 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
43318 if (SWIG_arg_fail(1)) SWIG_fail
;
43320 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
43321 if (SWIG_arg_fail(2)) SWIG_fail
;
43324 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43325 result
= (arg1
)->GetItemPosition(arg2
);
43327 wxPyEndAllowThreads(__tstate
);
43328 if (PyErr_Occurred()) SWIG_fail
;
43331 wxGBPosition
* resultptr
;
43332 resultptr
= new wxGBPosition((wxGBPosition
&)(result
));
43333 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBPosition
, 1);
43341 static PyObject
*_wrap_GridBagSizer_GetItemPosition(PyObject
*self
, PyObject
*args
) {
43346 argc
= PyObject_Length(args
);
43347 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
43348 argv
[ii
] = PyTuple_GetItem(args
,ii
);
43354 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
43364 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
43372 return _wrap_GridBagSizer_GetItemPosition__SWIG_0(self
,args
);
43380 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
43390 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxSizer
, 0) == -1) {
43398 return _wrap_GridBagSizer_GetItemPosition__SWIG_1(self
,args
);
43406 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
43414 _v
= SWIG_Check_unsigned_SS_long(argv
[1]);
43416 return _wrap_GridBagSizer_GetItemPosition__SWIG_2(self
,args
);
43421 PyErr_SetString(PyExc_NotImplementedError
,"No matching function for overloaded 'GridBagSizer_GetItemPosition'");
43426 static PyObject
*_wrap_GridBagSizer_SetItemPosition__SWIG_0(PyObject
*, PyObject
*args
) {
43427 PyObject
*resultobj
;
43428 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
43429 wxWindow
*arg2
= (wxWindow
*) 0 ;
43430 wxGBPosition
*arg3
= 0 ;
43432 wxGBPosition temp3
;
43433 PyObject
* obj0
= 0 ;
43434 PyObject
* obj1
= 0 ;
43435 PyObject
* obj2
= 0 ;
43437 if(!PyArg_ParseTuple(args
,(char *)"OOO:GridBagSizer_SetItemPosition",&obj0
,&obj1
,&obj2
)) goto fail
;
43438 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
43439 if (SWIG_arg_fail(1)) SWIG_fail
;
43440 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
43441 if (SWIG_arg_fail(2)) SWIG_fail
;
43444 if ( ! wxGBPosition_helper(obj2
, &arg3
)) SWIG_fail
;
43447 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43448 result
= (bool)(arg1
)->SetItemPosition(arg2
,(wxGBPosition
const &)*arg3
);
43450 wxPyEndAllowThreads(__tstate
);
43451 if (PyErr_Occurred()) SWIG_fail
;
43454 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
43462 static PyObject
*_wrap_GridBagSizer_SetItemPosition__SWIG_1(PyObject
*, PyObject
*args
) {
43463 PyObject
*resultobj
;
43464 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
43465 wxSizer
*arg2
= (wxSizer
*) 0 ;
43466 wxGBPosition
*arg3
= 0 ;
43468 wxGBPosition temp3
;
43469 PyObject
* obj0
= 0 ;
43470 PyObject
* obj1
= 0 ;
43471 PyObject
* obj2
= 0 ;
43473 if(!PyArg_ParseTuple(args
,(char *)"OOO:GridBagSizer_SetItemPosition",&obj0
,&obj1
,&obj2
)) goto fail
;
43474 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
43475 if (SWIG_arg_fail(1)) SWIG_fail
;
43476 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
43477 if (SWIG_arg_fail(2)) SWIG_fail
;
43480 if ( ! wxGBPosition_helper(obj2
, &arg3
)) SWIG_fail
;
43483 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43484 result
= (bool)(arg1
)->SetItemPosition(arg2
,(wxGBPosition
const &)*arg3
);
43486 wxPyEndAllowThreads(__tstate
);
43487 if (PyErr_Occurred()) SWIG_fail
;
43490 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
43498 static PyObject
*_wrap_GridBagSizer_SetItemPosition__SWIG_2(PyObject
*, PyObject
*args
) {
43499 PyObject
*resultobj
;
43500 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
43502 wxGBPosition
*arg3
= 0 ;
43504 wxGBPosition temp3
;
43505 PyObject
* obj0
= 0 ;
43506 PyObject
* obj1
= 0 ;
43507 PyObject
* obj2
= 0 ;
43509 if(!PyArg_ParseTuple(args
,(char *)"OOO:GridBagSizer_SetItemPosition",&obj0
,&obj1
,&obj2
)) goto fail
;
43510 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
43511 if (SWIG_arg_fail(1)) SWIG_fail
;
43513 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
43514 if (SWIG_arg_fail(2)) SWIG_fail
;
43518 if ( ! wxGBPosition_helper(obj2
, &arg3
)) SWIG_fail
;
43521 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43522 result
= (bool)(arg1
)->SetItemPosition(arg2
,(wxGBPosition
const &)*arg3
);
43524 wxPyEndAllowThreads(__tstate
);
43525 if (PyErr_Occurred()) SWIG_fail
;
43528 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
43536 static PyObject
*_wrap_GridBagSizer_SetItemPosition(PyObject
*self
, PyObject
*args
) {
43541 argc
= PyObject_Length(args
);
43542 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
43543 argv
[ii
] = PyTuple_GetItem(args
,ii
);
43549 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
43559 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
43568 _v
= wxPySimple_typecheck(argv
[2], wxT("wxGBPosition"), 2);
43571 return _wrap_GridBagSizer_SetItemPosition__SWIG_0(self
,args
);
43580 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
43590 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxSizer
, 0) == -1) {
43599 _v
= wxPySimple_typecheck(argv
[2], wxT("wxGBPosition"), 2);
43602 return _wrap_GridBagSizer_SetItemPosition__SWIG_1(self
,args
);
43611 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
43619 _v
= SWIG_Check_unsigned_SS_long(argv
[1]);
43622 _v
= wxPySimple_typecheck(argv
[2], wxT("wxGBPosition"), 2);
43625 return _wrap_GridBagSizer_SetItemPosition__SWIG_2(self
,args
);
43631 PyErr_SetString(PyExc_NotImplementedError
,"No matching function for overloaded 'GridBagSizer_SetItemPosition'");
43636 static PyObject
*_wrap_GridBagSizer_GetItemSpan__SWIG_0(PyObject
*, PyObject
*args
) {
43637 PyObject
*resultobj
;
43638 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
43639 wxWindow
*arg2
= (wxWindow
*) 0 ;
43641 PyObject
* obj0
= 0 ;
43642 PyObject
* obj1
= 0 ;
43644 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_GetItemSpan",&obj0
,&obj1
)) goto fail
;
43645 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
43646 if (SWIG_arg_fail(1)) SWIG_fail
;
43647 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
43648 if (SWIG_arg_fail(2)) SWIG_fail
;
43650 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43651 result
= (arg1
)->GetItemSpan(arg2
);
43653 wxPyEndAllowThreads(__tstate
);
43654 if (PyErr_Occurred()) SWIG_fail
;
43657 wxGBSpan
* resultptr
;
43658 resultptr
= new wxGBSpan((wxGBSpan
&)(result
));
43659 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBSpan
, 1);
43667 static PyObject
*_wrap_GridBagSizer_GetItemSpan__SWIG_1(PyObject
*, PyObject
*args
) {
43668 PyObject
*resultobj
;
43669 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
43670 wxSizer
*arg2
= (wxSizer
*) 0 ;
43672 PyObject
* obj0
= 0 ;
43673 PyObject
* obj1
= 0 ;
43675 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_GetItemSpan",&obj0
,&obj1
)) goto fail
;
43676 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
43677 if (SWIG_arg_fail(1)) SWIG_fail
;
43678 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
43679 if (SWIG_arg_fail(2)) SWIG_fail
;
43681 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43682 result
= (arg1
)->GetItemSpan(arg2
);
43684 wxPyEndAllowThreads(__tstate
);
43685 if (PyErr_Occurred()) SWIG_fail
;
43688 wxGBSpan
* resultptr
;
43689 resultptr
= new wxGBSpan((wxGBSpan
&)(result
));
43690 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBSpan
, 1);
43698 static PyObject
*_wrap_GridBagSizer_GetItemSpan__SWIG_2(PyObject
*, PyObject
*args
) {
43699 PyObject
*resultobj
;
43700 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
43703 PyObject
* obj0
= 0 ;
43704 PyObject
* obj1
= 0 ;
43706 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_GetItemSpan",&obj0
,&obj1
)) goto fail
;
43707 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
43708 if (SWIG_arg_fail(1)) SWIG_fail
;
43710 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
43711 if (SWIG_arg_fail(2)) SWIG_fail
;
43714 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43715 result
= (arg1
)->GetItemSpan(arg2
);
43717 wxPyEndAllowThreads(__tstate
);
43718 if (PyErr_Occurred()) SWIG_fail
;
43721 wxGBSpan
* resultptr
;
43722 resultptr
= new wxGBSpan((wxGBSpan
&)(result
));
43723 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBSpan
, 1);
43731 static PyObject
*_wrap_GridBagSizer_GetItemSpan(PyObject
*self
, PyObject
*args
) {
43736 argc
= PyObject_Length(args
);
43737 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
43738 argv
[ii
] = PyTuple_GetItem(args
,ii
);
43744 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
43754 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
43762 return _wrap_GridBagSizer_GetItemSpan__SWIG_0(self
,args
);
43770 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
43780 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxSizer
, 0) == -1) {
43788 return _wrap_GridBagSizer_GetItemSpan__SWIG_1(self
,args
);
43796 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
43804 _v
= SWIG_Check_unsigned_SS_long(argv
[1]);
43806 return _wrap_GridBagSizer_GetItemSpan__SWIG_2(self
,args
);
43811 PyErr_SetString(PyExc_NotImplementedError
,"No matching function for overloaded 'GridBagSizer_GetItemSpan'");
43816 static PyObject
*_wrap_GridBagSizer_SetItemSpan__SWIG_0(PyObject
*, PyObject
*args
) {
43817 PyObject
*resultobj
;
43818 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
43819 wxWindow
*arg2
= (wxWindow
*) 0 ;
43820 wxGBSpan
*arg3
= 0 ;
43823 PyObject
* obj0
= 0 ;
43824 PyObject
* obj1
= 0 ;
43825 PyObject
* obj2
= 0 ;
43827 if(!PyArg_ParseTuple(args
,(char *)"OOO:GridBagSizer_SetItemSpan",&obj0
,&obj1
,&obj2
)) goto fail
;
43828 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
43829 if (SWIG_arg_fail(1)) SWIG_fail
;
43830 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
43831 if (SWIG_arg_fail(2)) SWIG_fail
;
43834 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
43837 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43838 result
= (bool)(arg1
)->SetItemSpan(arg2
,(wxGBSpan
const &)*arg3
);
43840 wxPyEndAllowThreads(__tstate
);
43841 if (PyErr_Occurred()) SWIG_fail
;
43844 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
43852 static PyObject
*_wrap_GridBagSizer_SetItemSpan__SWIG_1(PyObject
*, PyObject
*args
) {
43853 PyObject
*resultobj
;
43854 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
43855 wxSizer
*arg2
= (wxSizer
*) 0 ;
43856 wxGBSpan
*arg3
= 0 ;
43859 PyObject
* obj0
= 0 ;
43860 PyObject
* obj1
= 0 ;
43861 PyObject
* obj2
= 0 ;
43863 if(!PyArg_ParseTuple(args
,(char *)"OOO:GridBagSizer_SetItemSpan",&obj0
,&obj1
,&obj2
)) goto fail
;
43864 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
43865 if (SWIG_arg_fail(1)) SWIG_fail
;
43866 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
43867 if (SWIG_arg_fail(2)) SWIG_fail
;
43870 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
43873 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43874 result
= (bool)(arg1
)->SetItemSpan(arg2
,(wxGBSpan
const &)*arg3
);
43876 wxPyEndAllowThreads(__tstate
);
43877 if (PyErr_Occurred()) SWIG_fail
;
43880 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
43888 static PyObject
*_wrap_GridBagSizer_SetItemSpan__SWIG_2(PyObject
*, PyObject
*args
) {
43889 PyObject
*resultobj
;
43890 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
43892 wxGBSpan
*arg3
= 0 ;
43895 PyObject
* obj0
= 0 ;
43896 PyObject
* obj1
= 0 ;
43897 PyObject
* obj2
= 0 ;
43899 if(!PyArg_ParseTuple(args
,(char *)"OOO:GridBagSizer_SetItemSpan",&obj0
,&obj1
,&obj2
)) goto fail
;
43900 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
43901 if (SWIG_arg_fail(1)) SWIG_fail
;
43903 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
43904 if (SWIG_arg_fail(2)) SWIG_fail
;
43908 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
43911 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43912 result
= (bool)(arg1
)->SetItemSpan(arg2
,(wxGBSpan
const &)*arg3
);
43914 wxPyEndAllowThreads(__tstate
);
43915 if (PyErr_Occurred()) SWIG_fail
;
43918 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
43926 static PyObject
*_wrap_GridBagSizer_SetItemSpan(PyObject
*self
, PyObject
*args
) {
43931 argc
= PyObject_Length(args
);
43932 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
43933 argv
[ii
] = PyTuple_GetItem(args
,ii
);
43939 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
43949 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
43958 _v
= wxPySimple_typecheck(argv
[2], wxT("wxGBSpan"), 2);
43961 return _wrap_GridBagSizer_SetItemSpan__SWIG_0(self
,args
);
43970 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
43980 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxSizer
, 0) == -1) {
43989 _v
= wxPySimple_typecheck(argv
[2], wxT("wxGBSpan"), 2);
43992 return _wrap_GridBagSizer_SetItemSpan__SWIG_1(self
,args
);
44001 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
44009 _v
= SWIG_Check_unsigned_SS_long(argv
[1]);
44012 _v
= wxPySimple_typecheck(argv
[2], wxT("wxGBSpan"), 2);
44015 return _wrap_GridBagSizer_SetItemSpan__SWIG_2(self
,args
);
44021 PyErr_SetString(PyExc_NotImplementedError
,"No matching function for overloaded 'GridBagSizer_SetItemSpan'");
44026 static PyObject
*_wrap_GridBagSizer_FindItem__SWIG_0(PyObject
*, PyObject
*args
) {
44027 PyObject
*resultobj
;
44028 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
44029 wxWindow
*arg2
= (wxWindow
*) 0 ;
44030 wxGBSizerItem
*result
;
44031 PyObject
* obj0
= 0 ;
44032 PyObject
* obj1
= 0 ;
44034 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_FindItem",&obj0
,&obj1
)) goto fail
;
44035 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
44036 if (SWIG_arg_fail(1)) SWIG_fail
;
44037 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
44038 if (SWIG_arg_fail(2)) SWIG_fail
;
44040 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44041 result
= (wxGBSizerItem
*)(arg1
)->FindItem(arg2
);
44043 wxPyEndAllowThreads(__tstate
);
44044 if (PyErr_Occurred()) SWIG_fail
;
44046 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 0);
44053 static PyObject
*_wrap_GridBagSizer_FindItem__SWIG_1(PyObject
*, PyObject
*args
) {
44054 PyObject
*resultobj
;
44055 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
44056 wxSizer
*arg2
= (wxSizer
*) 0 ;
44057 wxGBSizerItem
*result
;
44058 PyObject
* obj0
= 0 ;
44059 PyObject
* obj1
= 0 ;
44061 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_FindItem",&obj0
,&obj1
)) goto fail
;
44062 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
44063 if (SWIG_arg_fail(1)) SWIG_fail
;
44064 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
44065 if (SWIG_arg_fail(2)) SWIG_fail
;
44067 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44068 result
= (wxGBSizerItem
*)(arg1
)->FindItem(arg2
);
44070 wxPyEndAllowThreads(__tstate
);
44071 if (PyErr_Occurred()) SWIG_fail
;
44073 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 0);
44080 static PyObject
*_wrap_GridBagSizer_FindItem(PyObject
*self
, PyObject
*args
) {
44085 argc
= PyObject_Length(args
);
44086 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
44087 argv
[ii
] = PyTuple_GetItem(args
,ii
);
44093 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
44103 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
44111 return _wrap_GridBagSizer_FindItem__SWIG_0(self
,args
);
44119 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
44129 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxSizer
, 0) == -1) {
44137 return _wrap_GridBagSizer_FindItem__SWIG_1(self
,args
);
44142 PyErr_SetString(PyExc_NotImplementedError
,"No matching function for overloaded 'GridBagSizer_FindItem'");
44147 static PyObject
*_wrap_GridBagSizer_FindItemAtPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44148 PyObject
*resultobj
;
44149 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
44150 wxGBPosition
*arg2
= 0 ;
44151 wxGBSizerItem
*result
;
44152 wxGBPosition temp2
;
44153 PyObject
* obj0
= 0 ;
44154 PyObject
* obj1
= 0 ;
44155 char *kwnames
[] = {
44156 (char *) "self",(char *) "pos", NULL
44159 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridBagSizer_FindItemAtPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
44160 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
44161 if (SWIG_arg_fail(1)) SWIG_fail
;
44164 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
44167 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44168 result
= (wxGBSizerItem
*)(arg1
)->FindItemAtPosition((wxGBPosition
const &)*arg2
);
44170 wxPyEndAllowThreads(__tstate
);
44171 if (PyErr_Occurred()) SWIG_fail
;
44173 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 0);
44180 static PyObject
*_wrap_GridBagSizer_FindItemAtPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44181 PyObject
*resultobj
;
44182 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
44183 wxPoint
*arg2
= 0 ;
44184 wxGBSizerItem
*result
;
44186 PyObject
* obj0
= 0 ;
44187 PyObject
* obj1
= 0 ;
44188 char *kwnames
[] = {
44189 (char *) "self",(char *) "pt", NULL
44192 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridBagSizer_FindItemAtPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
44193 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
44194 if (SWIG_arg_fail(1)) SWIG_fail
;
44197 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
44200 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44201 result
= (wxGBSizerItem
*)(arg1
)->FindItemAtPoint((wxPoint
const &)*arg2
);
44203 wxPyEndAllowThreads(__tstate
);
44204 if (PyErr_Occurred()) SWIG_fail
;
44206 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 0);
44213 static PyObject
*_wrap_GridBagSizer_CheckForIntersection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44214 PyObject
*resultobj
;
44215 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
44216 wxGBSizerItem
*arg2
= (wxGBSizerItem
*) 0 ;
44217 wxGBSizerItem
*arg3
= (wxGBSizerItem
*) NULL
;
44219 PyObject
* obj0
= 0 ;
44220 PyObject
* obj1
= 0 ;
44221 PyObject
* obj2
= 0 ;
44222 char *kwnames
[] = {
44223 (char *) "self",(char *) "item",(char *) "excludeItem", NULL
44226 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:GridBagSizer_CheckForIntersection",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
44227 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
44228 if (SWIG_arg_fail(1)) SWIG_fail
;
44229 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxGBSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
44230 if (SWIG_arg_fail(2)) SWIG_fail
;
44232 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxGBSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
44233 if (SWIG_arg_fail(3)) SWIG_fail
;
44236 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44237 result
= (bool)(arg1
)->CheckForIntersection(arg2
,arg3
);
44239 wxPyEndAllowThreads(__tstate
);
44240 if (PyErr_Occurred()) SWIG_fail
;
44243 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
44251 static PyObject
*_wrap_GridBagSizer_CheckForIntersectionPos(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44252 PyObject
*resultobj
;
44253 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
44254 wxGBPosition
*arg2
= 0 ;
44255 wxGBSpan
*arg3
= 0 ;
44256 wxGBSizerItem
*arg4
= (wxGBSizerItem
*) NULL
;
44258 wxGBPosition temp2
;
44260 PyObject
* obj0
= 0 ;
44261 PyObject
* obj1
= 0 ;
44262 PyObject
* obj2
= 0 ;
44263 PyObject
* obj3
= 0 ;
44264 char *kwnames
[] = {
44265 (char *) "self",(char *) "pos",(char *) "span",(char *) "excludeItem", NULL
44268 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:GridBagSizer_CheckForIntersectionPos",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
44269 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
44270 if (SWIG_arg_fail(1)) SWIG_fail
;
44273 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
44277 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
44280 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxGBSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
44281 if (SWIG_arg_fail(4)) SWIG_fail
;
44284 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44285 result
= (bool)(arg1
)->CheckForIntersection((wxGBPosition
const &)*arg2
,(wxGBSpan
const &)*arg3
,arg4
);
44287 wxPyEndAllowThreads(__tstate
);
44288 if (PyErr_Occurred()) SWIG_fail
;
44291 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
44299 static PyObject
* GridBagSizer_swigregister(PyObject
*, PyObject
*args
) {
44301 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
44302 SWIG_TypeClientData(SWIGTYPE_p_wxGridBagSizer
, obj
);
44304 return Py_BuildValue((char *)"");
44306 static PyObject
*_wrap_IndividualLayoutConstraint_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44307 PyObject
*resultobj
;
44308 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
44309 wxRelationship arg2
;
44310 wxWindow
*arg3
= (wxWindow
*) 0 ;
44312 int arg5
= (int) 0 ;
44313 int arg6
= (int) wxLAYOUT_DEFAULT_MARGIN
;
44314 PyObject
* obj0
= 0 ;
44315 PyObject
* obj1
= 0 ;
44316 PyObject
* obj2
= 0 ;
44317 PyObject
* obj3
= 0 ;
44318 PyObject
* obj4
= 0 ;
44319 PyObject
* obj5
= 0 ;
44320 char *kwnames
[] = {
44321 (char *) "self",(char *) "rel",(char *) "otherW",(char *) "otherE",(char *) "val",(char *) "marg", NULL
44324 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:IndividualLayoutConstraint_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
44325 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
44326 if (SWIG_arg_fail(1)) SWIG_fail
;
44328 arg2
= (wxRelationship
)(SWIG_As_int(obj1
));
44329 if (SWIG_arg_fail(2)) SWIG_fail
;
44331 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
44332 if (SWIG_arg_fail(3)) SWIG_fail
;
44334 arg4
= (wxEdge
)(SWIG_As_int(obj3
));
44335 if (SWIG_arg_fail(4)) SWIG_fail
;
44339 arg5
= (int)(SWIG_As_int(obj4
));
44340 if (SWIG_arg_fail(5)) SWIG_fail
;
44345 arg6
= (int)(SWIG_As_int(obj5
));
44346 if (SWIG_arg_fail(6)) SWIG_fail
;
44350 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44351 (arg1
)->Set((wxRelationship
)arg2
,arg3
,(wxEdge
)arg4
,arg5
,arg6
);
44353 wxPyEndAllowThreads(__tstate
);
44354 if (PyErr_Occurred()) SWIG_fail
;
44356 Py_INCREF(Py_None
); resultobj
= Py_None
;
44363 static PyObject
*_wrap_IndividualLayoutConstraint_LeftOf(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44364 PyObject
*resultobj
;
44365 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
44366 wxWindow
*arg2
= (wxWindow
*) 0 ;
44367 int arg3
= (int) 0 ;
44368 PyObject
* obj0
= 0 ;
44369 PyObject
* obj1
= 0 ;
44370 PyObject
* obj2
= 0 ;
44371 char *kwnames
[] = {
44372 (char *) "self",(char *) "sibling",(char *) "marg", NULL
44375 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:IndividualLayoutConstraint_LeftOf",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
44376 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
44377 if (SWIG_arg_fail(1)) SWIG_fail
;
44378 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
44379 if (SWIG_arg_fail(2)) SWIG_fail
;
44382 arg3
= (int)(SWIG_As_int(obj2
));
44383 if (SWIG_arg_fail(3)) SWIG_fail
;
44387 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44388 (arg1
)->LeftOf(arg2
,arg3
);
44390 wxPyEndAllowThreads(__tstate
);
44391 if (PyErr_Occurred()) SWIG_fail
;
44393 Py_INCREF(Py_None
); resultobj
= Py_None
;
44400 static PyObject
*_wrap_IndividualLayoutConstraint_RightOf(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44401 PyObject
*resultobj
;
44402 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
44403 wxWindow
*arg2
= (wxWindow
*) 0 ;
44404 int arg3
= (int) 0 ;
44405 PyObject
* obj0
= 0 ;
44406 PyObject
* obj1
= 0 ;
44407 PyObject
* obj2
= 0 ;
44408 char *kwnames
[] = {
44409 (char *) "self",(char *) "sibling",(char *) "marg", NULL
44412 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:IndividualLayoutConstraint_RightOf",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
44413 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
44414 if (SWIG_arg_fail(1)) SWIG_fail
;
44415 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
44416 if (SWIG_arg_fail(2)) SWIG_fail
;
44419 arg3
= (int)(SWIG_As_int(obj2
));
44420 if (SWIG_arg_fail(3)) SWIG_fail
;
44424 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44425 (arg1
)->RightOf(arg2
,arg3
);
44427 wxPyEndAllowThreads(__tstate
);
44428 if (PyErr_Occurred()) SWIG_fail
;
44430 Py_INCREF(Py_None
); resultobj
= Py_None
;
44437 static PyObject
*_wrap_IndividualLayoutConstraint_Above(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44438 PyObject
*resultobj
;
44439 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
44440 wxWindow
*arg2
= (wxWindow
*) 0 ;
44441 int arg3
= (int) 0 ;
44442 PyObject
* obj0
= 0 ;
44443 PyObject
* obj1
= 0 ;
44444 PyObject
* obj2
= 0 ;
44445 char *kwnames
[] = {
44446 (char *) "self",(char *) "sibling",(char *) "marg", NULL
44449 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:IndividualLayoutConstraint_Above",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
44450 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
44451 if (SWIG_arg_fail(1)) SWIG_fail
;
44452 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
44453 if (SWIG_arg_fail(2)) SWIG_fail
;
44456 arg3
= (int)(SWIG_As_int(obj2
));
44457 if (SWIG_arg_fail(3)) SWIG_fail
;
44461 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44462 (arg1
)->Above(arg2
,arg3
);
44464 wxPyEndAllowThreads(__tstate
);
44465 if (PyErr_Occurred()) SWIG_fail
;
44467 Py_INCREF(Py_None
); resultobj
= Py_None
;
44474 static PyObject
*_wrap_IndividualLayoutConstraint_Below(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44475 PyObject
*resultobj
;
44476 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
44477 wxWindow
*arg2
= (wxWindow
*) 0 ;
44478 int arg3
= (int) 0 ;
44479 PyObject
* obj0
= 0 ;
44480 PyObject
* obj1
= 0 ;
44481 PyObject
* obj2
= 0 ;
44482 char *kwnames
[] = {
44483 (char *) "self",(char *) "sibling",(char *) "marg", NULL
44486 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:IndividualLayoutConstraint_Below",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
44487 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
44488 if (SWIG_arg_fail(1)) SWIG_fail
;
44489 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
44490 if (SWIG_arg_fail(2)) SWIG_fail
;
44493 arg3
= (int)(SWIG_As_int(obj2
));
44494 if (SWIG_arg_fail(3)) SWIG_fail
;
44498 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44499 (arg1
)->Below(arg2
,arg3
);
44501 wxPyEndAllowThreads(__tstate
);
44502 if (PyErr_Occurred()) SWIG_fail
;
44504 Py_INCREF(Py_None
); resultobj
= Py_None
;
44511 static PyObject
*_wrap_IndividualLayoutConstraint_SameAs(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44512 PyObject
*resultobj
;
44513 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
44514 wxWindow
*arg2
= (wxWindow
*) 0 ;
44516 int arg4
= (int) 0 ;
44517 PyObject
* obj0
= 0 ;
44518 PyObject
* obj1
= 0 ;
44519 PyObject
* obj2
= 0 ;
44520 PyObject
* obj3
= 0 ;
44521 char *kwnames
[] = {
44522 (char *) "self",(char *) "otherW",(char *) "edge",(char *) "marg", NULL
44525 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:IndividualLayoutConstraint_SameAs",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
44526 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
44527 if (SWIG_arg_fail(1)) SWIG_fail
;
44528 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
44529 if (SWIG_arg_fail(2)) SWIG_fail
;
44531 arg3
= (wxEdge
)(SWIG_As_int(obj2
));
44532 if (SWIG_arg_fail(3)) SWIG_fail
;
44536 arg4
= (int)(SWIG_As_int(obj3
));
44537 if (SWIG_arg_fail(4)) SWIG_fail
;
44541 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44542 (arg1
)->SameAs(arg2
,(wxEdge
)arg3
,arg4
);
44544 wxPyEndAllowThreads(__tstate
);
44545 if (PyErr_Occurred()) SWIG_fail
;
44547 Py_INCREF(Py_None
); resultobj
= Py_None
;
44554 static PyObject
*_wrap_IndividualLayoutConstraint_PercentOf(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44555 PyObject
*resultobj
;
44556 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
44557 wxWindow
*arg2
= (wxWindow
*) 0 ;
44560 PyObject
* obj0
= 0 ;
44561 PyObject
* obj1
= 0 ;
44562 PyObject
* obj2
= 0 ;
44563 PyObject
* obj3
= 0 ;
44564 char *kwnames
[] = {
44565 (char *) "self",(char *) "otherW",(char *) "wh",(char *) "per", NULL
44568 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:IndividualLayoutConstraint_PercentOf",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
44569 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
44570 if (SWIG_arg_fail(1)) SWIG_fail
;
44571 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
44572 if (SWIG_arg_fail(2)) SWIG_fail
;
44574 arg3
= (wxEdge
)(SWIG_As_int(obj2
));
44575 if (SWIG_arg_fail(3)) SWIG_fail
;
44578 arg4
= (int)(SWIG_As_int(obj3
));
44579 if (SWIG_arg_fail(4)) SWIG_fail
;
44582 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44583 (arg1
)->PercentOf(arg2
,(wxEdge
)arg3
,arg4
);
44585 wxPyEndAllowThreads(__tstate
);
44586 if (PyErr_Occurred()) SWIG_fail
;
44588 Py_INCREF(Py_None
); resultobj
= Py_None
;
44595 static PyObject
*_wrap_IndividualLayoutConstraint_Absolute(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44596 PyObject
*resultobj
;
44597 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
44599 PyObject
* obj0
= 0 ;
44600 PyObject
* obj1
= 0 ;
44601 char *kwnames
[] = {
44602 (char *) "self",(char *) "val", NULL
44605 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_Absolute",kwnames
,&obj0
,&obj1
)) goto fail
;
44606 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
44607 if (SWIG_arg_fail(1)) SWIG_fail
;
44609 arg2
= (int)(SWIG_As_int(obj1
));
44610 if (SWIG_arg_fail(2)) SWIG_fail
;
44613 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44614 (arg1
)->Absolute(arg2
);
44616 wxPyEndAllowThreads(__tstate
);
44617 if (PyErr_Occurred()) SWIG_fail
;
44619 Py_INCREF(Py_None
); resultobj
= Py_None
;
44626 static PyObject
*_wrap_IndividualLayoutConstraint_Unconstrained(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44627 PyObject
*resultobj
;
44628 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
44629 PyObject
* obj0
= 0 ;
44630 char *kwnames
[] = {
44631 (char *) "self", NULL
44634 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_Unconstrained",kwnames
,&obj0
)) goto fail
;
44635 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
44636 if (SWIG_arg_fail(1)) SWIG_fail
;
44638 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44639 (arg1
)->Unconstrained();
44641 wxPyEndAllowThreads(__tstate
);
44642 if (PyErr_Occurred()) SWIG_fail
;
44644 Py_INCREF(Py_None
); resultobj
= Py_None
;
44651 static PyObject
*_wrap_IndividualLayoutConstraint_AsIs(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44652 PyObject
*resultobj
;
44653 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
44654 PyObject
* obj0
= 0 ;
44655 char *kwnames
[] = {
44656 (char *) "self", NULL
44659 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_AsIs",kwnames
,&obj0
)) goto fail
;
44660 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
44661 if (SWIG_arg_fail(1)) SWIG_fail
;
44663 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44666 wxPyEndAllowThreads(__tstate
);
44667 if (PyErr_Occurred()) SWIG_fail
;
44669 Py_INCREF(Py_None
); resultobj
= Py_None
;
44676 static PyObject
*_wrap_IndividualLayoutConstraint_GetOtherWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44677 PyObject
*resultobj
;
44678 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
44680 PyObject
* obj0
= 0 ;
44681 char *kwnames
[] = {
44682 (char *) "self", NULL
44685 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetOtherWindow",kwnames
,&obj0
)) goto fail
;
44686 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
44687 if (SWIG_arg_fail(1)) SWIG_fail
;
44689 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44690 result
= (wxWindow
*)(arg1
)->GetOtherWindow();
44692 wxPyEndAllowThreads(__tstate
);
44693 if (PyErr_Occurred()) SWIG_fail
;
44696 resultobj
= wxPyMake_wxObject(result
, 0);
44704 static PyObject
*_wrap_IndividualLayoutConstraint_GetMyEdge(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44705 PyObject
*resultobj
;
44706 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
44708 PyObject
* obj0
= 0 ;
44709 char *kwnames
[] = {
44710 (char *) "self", NULL
44713 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetMyEdge",kwnames
,&obj0
)) goto fail
;
44714 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
44715 if (SWIG_arg_fail(1)) SWIG_fail
;
44717 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44718 result
= (wxEdge
)((wxIndividualLayoutConstraint
const *)arg1
)->GetMyEdge();
44720 wxPyEndAllowThreads(__tstate
);
44721 if (PyErr_Occurred()) SWIG_fail
;
44723 resultobj
= SWIG_From_int((result
));
44730 static PyObject
*_wrap_IndividualLayoutConstraint_SetEdge(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44731 PyObject
*resultobj
;
44732 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
44734 PyObject
* obj0
= 0 ;
44735 PyObject
* obj1
= 0 ;
44736 char *kwnames
[] = {
44737 (char *) "self",(char *) "which", NULL
44740 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_SetEdge",kwnames
,&obj0
,&obj1
)) goto fail
;
44741 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
44742 if (SWIG_arg_fail(1)) SWIG_fail
;
44744 arg2
= (wxEdge
)(SWIG_As_int(obj1
));
44745 if (SWIG_arg_fail(2)) SWIG_fail
;
44748 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44749 (arg1
)->SetEdge((wxEdge
)arg2
);
44751 wxPyEndAllowThreads(__tstate
);
44752 if (PyErr_Occurred()) SWIG_fail
;
44754 Py_INCREF(Py_None
); resultobj
= Py_None
;
44761 static PyObject
*_wrap_IndividualLayoutConstraint_SetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44762 PyObject
*resultobj
;
44763 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
44765 PyObject
* obj0
= 0 ;
44766 PyObject
* obj1
= 0 ;
44767 char *kwnames
[] = {
44768 (char *) "self",(char *) "v", NULL
44771 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
44772 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
44773 if (SWIG_arg_fail(1)) SWIG_fail
;
44775 arg2
= (int)(SWIG_As_int(obj1
));
44776 if (SWIG_arg_fail(2)) SWIG_fail
;
44779 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44780 (arg1
)->SetValue(arg2
);
44782 wxPyEndAllowThreads(__tstate
);
44783 if (PyErr_Occurred()) SWIG_fail
;
44785 Py_INCREF(Py_None
); resultobj
= Py_None
;
44792 static PyObject
*_wrap_IndividualLayoutConstraint_GetMargin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44793 PyObject
*resultobj
;
44794 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
44796 PyObject
* obj0
= 0 ;
44797 char *kwnames
[] = {
44798 (char *) "self", NULL
44801 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetMargin",kwnames
,&obj0
)) goto fail
;
44802 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
44803 if (SWIG_arg_fail(1)) SWIG_fail
;
44805 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44806 result
= (int)(arg1
)->GetMargin();
44808 wxPyEndAllowThreads(__tstate
);
44809 if (PyErr_Occurred()) SWIG_fail
;
44812 resultobj
= SWIG_From_int((int)(result
));
44820 static PyObject
*_wrap_IndividualLayoutConstraint_SetMargin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44821 PyObject
*resultobj
;
44822 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
44824 PyObject
* obj0
= 0 ;
44825 PyObject
* obj1
= 0 ;
44826 char *kwnames
[] = {
44827 (char *) "self",(char *) "m", NULL
44830 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_SetMargin",kwnames
,&obj0
,&obj1
)) goto fail
;
44831 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
44832 if (SWIG_arg_fail(1)) SWIG_fail
;
44834 arg2
= (int)(SWIG_As_int(obj1
));
44835 if (SWIG_arg_fail(2)) SWIG_fail
;
44838 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44839 (arg1
)->SetMargin(arg2
);
44841 wxPyEndAllowThreads(__tstate
);
44842 if (PyErr_Occurred()) SWIG_fail
;
44844 Py_INCREF(Py_None
); resultobj
= Py_None
;
44851 static PyObject
*_wrap_IndividualLayoutConstraint_GetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44852 PyObject
*resultobj
;
44853 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
44855 PyObject
* obj0
= 0 ;
44856 char *kwnames
[] = {
44857 (char *) "self", NULL
44860 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetValue",kwnames
,&obj0
)) goto fail
;
44861 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
44862 if (SWIG_arg_fail(1)) SWIG_fail
;
44864 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44865 result
= (int)((wxIndividualLayoutConstraint
const *)arg1
)->GetValue();
44867 wxPyEndAllowThreads(__tstate
);
44868 if (PyErr_Occurred()) SWIG_fail
;
44871 resultobj
= SWIG_From_int((int)(result
));
44879 static PyObject
*_wrap_IndividualLayoutConstraint_GetPercent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44880 PyObject
*resultobj
;
44881 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
44883 PyObject
* obj0
= 0 ;
44884 char *kwnames
[] = {
44885 (char *) "self", NULL
44888 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetPercent",kwnames
,&obj0
)) goto fail
;
44889 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
44890 if (SWIG_arg_fail(1)) SWIG_fail
;
44892 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44893 result
= (int)((wxIndividualLayoutConstraint
const *)arg1
)->GetPercent();
44895 wxPyEndAllowThreads(__tstate
);
44896 if (PyErr_Occurred()) SWIG_fail
;
44899 resultobj
= SWIG_From_int((int)(result
));
44907 static PyObject
*_wrap_IndividualLayoutConstraint_GetOtherEdge(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44908 PyObject
*resultobj
;
44909 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
44911 PyObject
* obj0
= 0 ;
44912 char *kwnames
[] = {
44913 (char *) "self", NULL
44916 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetOtherEdge",kwnames
,&obj0
)) goto fail
;
44917 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
44918 if (SWIG_arg_fail(1)) SWIG_fail
;
44920 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44921 result
= (int)((wxIndividualLayoutConstraint
const *)arg1
)->GetOtherEdge();
44923 wxPyEndAllowThreads(__tstate
);
44924 if (PyErr_Occurred()) SWIG_fail
;
44927 resultobj
= SWIG_From_int((int)(result
));
44935 static PyObject
*_wrap_IndividualLayoutConstraint_GetDone(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44936 PyObject
*resultobj
;
44937 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
44939 PyObject
* obj0
= 0 ;
44940 char *kwnames
[] = {
44941 (char *) "self", NULL
44944 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetDone",kwnames
,&obj0
)) goto fail
;
44945 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
44946 if (SWIG_arg_fail(1)) SWIG_fail
;
44948 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44949 result
= (bool)((wxIndividualLayoutConstraint
const *)arg1
)->GetDone();
44951 wxPyEndAllowThreads(__tstate
);
44952 if (PyErr_Occurred()) SWIG_fail
;
44955 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
44963 static PyObject
*_wrap_IndividualLayoutConstraint_SetDone(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44964 PyObject
*resultobj
;
44965 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
44967 PyObject
* obj0
= 0 ;
44968 PyObject
* obj1
= 0 ;
44969 char *kwnames
[] = {
44970 (char *) "self",(char *) "d", NULL
44973 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_SetDone",kwnames
,&obj0
,&obj1
)) goto fail
;
44974 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
44975 if (SWIG_arg_fail(1)) SWIG_fail
;
44977 arg2
= (bool)(SWIG_As_bool(obj1
));
44978 if (SWIG_arg_fail(2)) SWIG_fail
;
44981 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44982 (arg1
)->SetDone(arg2
);
44984 wxPyEndAllowThreads(__tstate
);
44985 if (PyErr_Occurred()) SWIG_fail
;
44987 Py_INCREF(Py_None
); resultobj
= Py_None
;
44994 static PyObject
*_wrap_IndividualLayoutConstraint_GetRelationship(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44995 PyObject
*resultobj
;
44996 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
44997 wxRelationship result
;
44998 PyObject
* obj0
= 0 ;
44999 char *kwnames
[] = {
45000 (char *) "self", NULL
45003 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetRelationship",kwnames
,&obj0
)) goto fail
;
45004 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
45005 if (SWIG_arg_fail(1)) SWIG_fail
;
45007 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45008 result
= (wxRelationship
)(arg1
)->GetRelationship();
45010 wxPyEndAllowThreads(__tstate
);
45011 if (PyErr_Occurred()) SWIG_fail
;
45013 resultobj
= SWIG_From_int((result
));
45020 static PyObject
*_wrap_IndividualLayoutConstraint_SetRelationship(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
45021 PyObject
*resultobj
;
45022 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
45023 wxRelationship arg2
;
45024 PyObject
* obj0
= 0 ;
45025 PyObject
* obj1
= 0 ;
45026 char *kwnames
[] = {
45027 (char *) "self",(char *) "r", NULL
45030 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_SetRelationship",kwnames
,&obj0
,&obj1
)) goto fail
;
45031 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
45032 if (SWIG_arg_fail(1)) SWIG_fail
;
45034 arg2
= (wxRelationship
)(SWIG_As_int(obj1
));
45035 if (SWIG_arg_fail(2)) SWIG_fail
;
45038 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45039 (arg1
)->SetRelationship((wxRelationship
)arg2
);
45041 wxPyEndAllowThreads(__tstate
);
45042 if (PyErr_Occurred()) SWIG_fail
;
45044 Py_INCREF(Py_None
); resultobj
= Py_None
;
45051 static PyObject
*_wrap_IndividualLayoutConstraint_ResetIfWin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
45052 PyObject
*resultobj
;
45053 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
45054 wxWindow
*arg2
= (wxWindow
*) 0 ;
45056 PyObject
* obj0
= 0 ;
45057 PyObject
* obj1
= 0 ;
45058 char *kwnames
[] = {
45059 (char *) "self",(char *) "otherW", NULL
45062 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_ResetIfWin",kwnames
,&obj0
,&obj1
)) goto fail
;
45063 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
45064 if (SWIG_arg_fail(1)) SWIG_fail
;
45065 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
45066 if (SWIG_arg_fail(2)) SWIG_fail
;
45068 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45069 result
= (bool)(arg1
)->ResetIfWin(arg2
);
45071 wxPyEndAllowThreads(__tstate
);
45072 if (PyErr_Occurred()) SWIG_fail
;
45075 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
45083 static PyObject
*_wrap_IndividualLayoutConstraint_SatisfyConstraint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
45084 PyObject
*resultobj
;
45085 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
45086 wxLayoutConstraints
*arg2
= (wxLayoutConstraints
*) 0 ;
45087 wxWindow
*arg3
= (wxWindow
*) 0 ;
45089 PyObject
* obj0
= 0 ;
45090 PyObject
* obj1
= 0 ;
45091 PyObject
* obj2
= 0 ;
45092 char *kwnames
[] = {
45093 (char *) "self",(char *) "constraints",(char *) "win", NULL
45096 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:IndividualLayoutConstraint_SatisfyConstraint",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
45097 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
45098 if (SWIG_arg_fail(1)) SWIG_fail
;
45099 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxLayoutConstraints
, SWIG_POINTER_EXCEPTION
| 0);
45100 if (SWIG_arg_fail(2)) SWIG_fail
;
45101 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
45102 if (SWIG_arg_fail(3)) SWIG_fail
;
45104 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45105 result
= (bool)(arg1
)->SatisfyConstraint(arg2
,arg3
);
45107 wxPyEndAllowThreads(__tstate
);
45108 if (PyErr_Occurred()) SWIG_fail
;
45111 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
45119 static PyObject
*_wrap_IndividualLayoutConstraint_GetEdge(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
45120 PyObject
*resultobj
;
45121 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
45123 wxWindow
*arg3
= (wxWindow
*) 0 ;
45124 wxWindow
*arg4
= (wxWindow
*) 0 ;
45126 PyObject
* obj0
= 0 ;
45127 PyObject
* obj1
= 0 ;
45128 PyObject
* obj2
= 0 ;
45129 PyObject
* obj3
= 0 ;
45130 char *kwnames
[] = {
45131 (char *) "self",(char *) "which",(char *) "thisWin",(char *) "other", NULL
45134 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:IndividualLayoutConstraint_GetEdge",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
45135 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
45136 if (SWIG_arg_fail(1)) SWIG_fail
;
45138 arg2
= (wxEdge
)(SWIG_As_int(obj1
));
45139 if (SWIG_arg_fail(2)) SWIG_fail
;
45141 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
45142 if (SWIG_arg_fail(3)) SWIG_fail
;
45143 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
45144 if (SWIG_arg_fail(4)) SWIG_fail
;
45146 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45147 result
= (int)((wxIndividualLayoutConstraint
const *)arg1
)->GetEdge((wxEdge
)arg2
,arg3
,arg4
);
45149 wxPyEndAllowThreads(__tstate
);
45150 if (PyErr_Occurred()) SWIG_fail
;
45153 resultobj
= SWIG_From_int((int)(result
));
45161 static PyObject
* IndividualLayoutConstraint_swigregister(PyObject
*, PyObject
*args
) {
45163 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
45164 SWIG_TypeClientData(SWIGTYPE_p_wxIndividualLayoutConstraint
, obj
);
45166 return Py_BuildValue((char *)"");
45168 static PyObject
*_wrap_LayoutConstraints_left_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
45169 PyObject
*resultobj
;
45170 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
45171 wxIndividualLayoutConstraint
*result
;
45172 PyObject
* obj0
= 0 ;
45173 char *kwnames
[] = {
45174 (char *) "self", NULL
45177 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_left_get",kwnames
,&obj0
)) goto fail
;
45178 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLayoutConstraints
, SWIG_POINTER_EXCEPTION
| 0);
45179 if (SWIG_arg_fail(1)) SWIG_fail
;
45180 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->left
);
45182 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
45189 static PyObject
*_wrap_LayoutConstraints_top_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
45190 PyObject
*resultobj
;
45191 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
45192 wxIndividualLayoutConstraint
*result
;
45193 PyObject
* obj0
= 0 ;
45194 char *kwnames
[] = {
45195 (char *) "self", NULL
45198 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_top_get",kwnames
,&obj0
)) goto fail
;
45199 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLayoutConstraints
, SWIG_POINTER_EXCEPTION
| 0);
45200 if (SWIG_arg_fail(1)) SWIG_fail
;
45201 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->top
);
45203 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
45210 static PyObject
*_wrap_LayoutConstraints_right_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
45211 PyObject
*resultobj
;
45212 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
45213 wxIndividualLayoutConstraint
*result
;
45214 PyObject
* obj0
= 0 ;
45215 char *kwnames
[] = {
45216 (char *) "self", NULL
45219 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_right_get",kwnames
,&obj0
)) goto fail
;
45220 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLayoutConstraints
, SWIG_POINTER_EXCEPTION
| 0);
45221 if (SWIG_arg_fail(1)) SWIG_fail
;
45222 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->right
);
45224 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
45231 static PyObject
*_wrap_LayoutConstraints_bottom_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
45232 PyObject
*resultobj
;
45233 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
45234 wxIndividualLayoutConstraint
*result
;
45235 PyObject
* obj0
= 0 ;
45236 char *kwnames
[] = {
45237 (char *) "self", NULL
45240 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_bottom_get",kwnames
,&obj0
)) goto fail
;
45241 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLayoutConstraints
, SWIG_POINTER_EXCEPTION
| 0);
45242 if (SWIG_arg_fail(1)) SWIG_fail
;
45243 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->bottom
);
45245 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
45252 static PyObject
*_wrap_LayoutConstraints_width_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
45253 PyObject
*resultobj
;
45254 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
45255 wxIndividualLayoutConstraint
*result
;
45256 PyObject
* obj0
= 0 ;
45257 char *kwnames
[] = {
45258 (char *) "self", NULL
45261 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_width_get",kwnames
,&obj0
)) goto fail
;
45262 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLayoutConstraints
, SWIG_POINTER_EXCEPTION
| 0);
45263 if (SWIG_arg_fail(1)) SWIG_fail
;
45264 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->width
);
45266 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
45273 static PyObject
*_wrap_LayoutConstraints_height_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
45274 PyObject
*resultobj
;
45275 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
45276 wxIndividualLayoutConstraint
*result
;
45277 PyObject
* obj0
= 0 ;
45278 char *kwnames
[] = {
45279 (char *) "self", NULL
45282 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_height_get",kwnames
,&obj0
)) goto fail
;
45283 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLayoutConstraints
, SWIG_POINTER_EXCEPTION
| 0);
45284 if (SWIG_arg_fail(1)) SWIG_fail
;
45285 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->height
);
45287 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
45294 static PyObject
*_wrap_LayoutConstraints_centreX_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
45295 PyObject
*resultobj
;
45296 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
45297 wxIndividualLayoutConstraint
*result
;
45298 PyObject
* obj0
= 0 ;
45299 char *kwnames
[] = {
45300 (char *) "self", NULL
45303 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_centreX_get",kwnames
,&obj0
)) goto fail
;
45304 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLayoutConstraints
, SWIG_POINTER_EXCEPTION
| 0);
45305 if (SWIG_arg_fail(1)) SWIG_fail
;
45306 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->centreX
);
45308 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
45315 static PyObject
*_wrap_LayoutConstraints_centreY_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
45316 PyObject
*resultobj
;
45317 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
45318 wxIndividualLayoutConstraint
*result
;
45319 PyObject
* obj0
= 0 ;
45320 char *kwnames
[] = {
45321 (char *) "self", NULL
45324 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_centreY_get",kwnames
,&obj0
)) goto fail
;
45325 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLayoutConstraints
, SWIG_POINTER_EXCEPTION
| 0);
45326 if (SWIG_arg_fail(1)) SWIG_fail
;
45327 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->centreY
);
45329 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
45336 static PyObject
*_wrap_new_LayoutConstraints(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
45337 PyObject
*resultobj
;
45338 wxLayoutConstraints
*result
;
45339 char *kwnames
[] = {
45343 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_LayoutConstraints",kwnames
)) goto fail
;
45345 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45346 result
= (wxLayoutConstraints
*)new wxLayoutConstraints();
45348 wxPyEndAllowThreads(__tstate
);
45349 if (PyErr_Occurred()) SWIG_fail
;
45351 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLayoutConstraints
, 1);
45358 static PyObject
*_wrap_LayoutConstraints_SatisfyConstraints(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
45359 PyObject
*resultobj
;
45360 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
45361 wxWindow
*arg2
= (wxWindow
*) 0 ;
45362 int *arg3
= (int *) 0 ;
45366 PyObject
* obj0
= 0 ;
45367 PyObject
* obj1
= 0 ;
45368 char *kwnames
[] = {
45369 (char *) "self",(char *) "win", NULL
45372 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
45373 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LayoutConstraints_SatisfyConstraints",kwnames
,&obj0
,&obj1
)) goto fail
;
45374 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLayoutConstraints
, SWIG_POINTER_EXCEPTION
| 0);
45375 if (SWIG_arg_fail(1)) SWIG_fail
;
45376 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
45377 if (SWIG_arg_fail(2)) SWIG_fail
;
45379 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45380 result
= (bool)(arg1
)->SatisfyConstraints(arg2
,arg3
);
45382 wxPyEndAllowThreads(__tstate
);
45383 if (PyErr_Occurred()) SWIG_fail
;
45386 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
45388 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
45389 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
45396 static PyObject
*_wrap_LayoutConstraints_AreSatisfied(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
45397 PyObject
*resultobj
;
45398 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
45400 PyObject
* obj0
= 0 ;
45401 char *kwnames
[] = {
45402 (char *) "self", NULL
45405 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_AreSatisfied",kwnames
,&obj0
)) goto fail
;
45406 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLayoutConstraints
, SWIG_POINTER_EXCEPTION
| 0);
45407 if (SWIG_arg_fail(1)) SWIG_fail
;
45409 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45410 result
= (bool)((wxLayoutConstraints
const *)arg1
)->AreSatisfied();
45412 wxPyEndAllowThreads(__tstate
);
45413 if (PyErr_Occurred()) SWIG_fail
;
45416 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
45424 static PyObject
* LayoutConstraints_swigregister(PyObject
*, PyObject
*args
) {
45426 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
45427 SWIG_TypeClientData(SWIGTYPE_p_wxLayoutConstraints
, obj
);
45429 return Py_BuildValue((char *)"");
45431 static PyMethodDef SwigMethods
[] = {
45432 { (char *)"_wxPySetDictionary", __wxPySetDictionary
, METH_VARARGS
, NULL
},
45433 { (char *)"_wxPyFixStockObjects", __wxPyFixStockObjects
, METH_VARARGS
, NULL
},
45434 { (char *)"Object_GetClassName", (PyCFunction
) _wrap_Object_GetClassName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45435 { (char *)"Object_Destroy", (PyCFunction
) _wrap_Object_Destroy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45436 { (char *)"Object_swigregister", Object_swigregister
, METH_VARARGS
, NULL
},
45437 { (char *)"Size_width_set", (PyCFunction
) _wrap_Size_width_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45438 { (char *)"Size_width_get", (PyCFunction
) _wrap_Size_width_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45439 { (char *)"Size_height_set", (PyCFunction
) _wrap_Size_height_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45440 { (char *)"Size_height_get", (PyCFunction
) _wrap_Size_height_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45441 { (char *)"new_Size", (PyCFunction
) _wrap_new_Size
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45442 { (char *)"delete_Size", (PyCFunction
) _wrap_delete_Size
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45443 { (char *)"Size___eq__", (PyCFunction
) _wrap_Size___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45444 { (char *)"Size___ne__", (PyCFunction
) _wrap_Size___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45445 { (char *)"Size___add__", (PyCFunction
) _wrap_Size___add__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45446 { (char *)"Size___sub__", (PyCFunction
) _wrap_Size___sub__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45447 { (char *)"Size_IncTo", (PyCFunction
) _wrap_Size_IncTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45448 { (char *)"Size_DecTo", (PyCFunction
) _wrap_Size_DecTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45449 { (char *)"Size_Set", (PyCFunction
) _wrap_Size_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45450 { (char *)"Size_SetWidth", (PyCFunction
) _wrap_Size_SetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45451 { (char *)"Size_SetHeight", (PyCFunction
) _wrap_Size_SetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45452 { (char *)"Size_GetWidth", (PyCFunction
) _wrap_Size_GetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45453 { (char *)"Size_GetHeight", (PyCFunction
) _wrap_Size_GetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45454 { (char *)"Size_IsFullySpecified", (PyCFunction
) _wrap_Size_IsFullySpecified
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45455 { (char *)"Size_SetDefaults", (PyCFunction
) _wrap_Size_SetDefaults
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45456 { (char *)"Size_Get", (PyCFunction
) _wrap_Size_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45457 { (char *)"Size_swigregister", Size_swigregister
, METH_VARARGS
, NULL
},
45458 { (char *)"RealPoint_x_set", (PyCFunction
) _wrap_RealPoint_x_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45459 { (char *)"RealPoint_x_get", (PyCFunction
) _wrap_RealPoint_x_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45460 { (char *)"RealPoint_y_set", (PyCFunction
) _wrap_RealPoint_y_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45461 { (char *)"RealPoint_y_get", (PyCFunction
) _wrap_RealPoint_y_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45462 { (char *)"new_RealPoint", (PyCFunction
) _wrap_new_RealPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45463 { (char *)"delete_RealPoint", (PyCFunction
) _wrap_delete_RealPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45464 { (char *)"RealPoint___eq__", (PyCFunction
) _wrap_RealPoint___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45465 { (char *)"RealPoint___ne__", (PyCFunction
) _wrap_RealPoint___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45466 { (char *)"RealPoint___add__", (PyCFunction
) _wrap_RealPoint___add__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45467 { (char *)"RealPoint___sub__", (PyCFunction
) _wrap_RealPoint___sub__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45468 { (char *)"RealPoint_Set", (PyCFunction
) _wrap_RealPoint_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45469 { (char *)"RealPoint_Get", (PyCFunction
) _wrap_RealPoint_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45470 { (char *)"RealPoint_swigregister", RealPoint_swigregister
, METH_VARARGS
, NULL
},
45471 { (char *)"Point_x_set", (PyCFunction
) _wrap_Point_x_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45472 { (char *)"Point_x_get", (PyCFunction
) _wrap_Point_x_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45473 { (char *)"Point_y_set", (PyCFunction
) _wrap_Point_y_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45474 { (char *)"Point_y_get", (PyCFunction
) _wrap_Point_y_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45475 { (char *)"new_Point", (PyCFunction
) _wrap_new_Point
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45476 { (char *)"delete_Point", (PyCFunction
) _wrap_delete_Point
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45477 { (char *)"Point___eq__", (PyCFunction
) _wrap_Point___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45478 { (char *)"Point___ne__", (PyCFunction
) _wrap_Point___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45479 { (char *)"Point___add__", (PyCFunction
) _wrap_Point___add__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45480 { (char *)"Point___sub__", (PyCFunction
) _wrap_Point___sub__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45481 { (char *)"Point___iadd__", (PyCFunction
) _wrap_Point___iadd__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45482 { (char *)"Point___isub__", (PyCFunction
) _wrap_Point___isub__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45483 { (char *)"Point_Set", (PyCFunction
) _wrap_Point_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45484 { (char *)"Point_Get", (PyCFunction
) _wrap_Point_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45485 { (char *)"Point_swigregister", Point_swigregister
, METH_VARARGS
, NULL
},
45486 { (char *)"new_Rect", (PyCFunction
) _wrap_new_Rect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45487 { (char *)"new_RectPP", (PyCFunction
) _wrap_new_RectPP
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45488 { (char *)"new_RectPS", (PyCFunction
) _wrap_new_RectPS
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45489 { (char *)"new_RectS", (PyCFunction
) _wrap_new_RectS
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45490 { (char *)"delete_Rect", (PyCFunction
) _wrap_delete_Rect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45491 { (char *)"Rect_GetX", (PyCFunction
) _wrap_Rect_GetX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45492 { (char *)"Rect_SetX", (PyCFunction
) _wrap_Rect_SetX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45493 { (char *)"Rect_GetY", (PyCFunction
) _wrap_Rect_GetY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45494 { (char *)"Rect_SetY", (PyCFunction
) _wrap_Rect_SetY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45495 { (char *)"Rect_GetWidth", (PyCFunction
) _wrap_Rect_GetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45496 { (char *)"Rect_SetWidth", (PyCFunction
) _wrap_Rect_SetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45497 { (char *)"Rect_GetHeight", (PyCFunction
) _wrap_Rect_GetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45498 { (char *)"Rect_SetHeight", (PyCFunction
) _wrap_Rect_SetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45499 { (char *)"Rect_GetPosition", (PyCFunction
) _wrap_Rect_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45500 { (char *)"Rect_SetPosition", (PyCFunction
) _wrap_Rect_SetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45501 { (char *)"Rect_GetSize", (PyCFunction
) _wrap_Rect_GetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45502 { (char *)"Rect_SetSize", (PyCFunction
) _wrap_Rect_SetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45503 { (char *)"Rect_IsEmpty", (PyCFunction
) _wrap_Rect_IsEmpty
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45504 { (char *)"Rect_GetTopLeft", (PyCFunction
) _wrap_Rect_GetTopLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45505 { (char *)"Rect_SetTopLeft", (PyCFunction
) _wrap_Rect_SetTopLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45506 { (char *)"Rect_GetBottomRight", (PyCFunction
) _wrap_Rect_GetBottomRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45507 { (char *)"Rect_SetBottomRight", (PyCFunction
) _wrap_Rect_SetBottomRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45508 { (char *)"Rect_GetLeft", (PyCFunction
) _wrap_Rect_GetLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45509 { (char *)"Rect_GetTop", (PyCFunction
) _wrap_Rect_GetTop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45510 { (char *)"Rect_GetBottom", (PyCFunction
) _wrap_Rect_GetBottom
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45511 { (char *)"Rect_GetRight", (PyCFunction
) _wrap_Rect_GetRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45512 { (char *)"Rect_SetLeft", (PyCFunction
) _wrap_Rect_SetLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45513 { (char *)"Rect_SetRight", (PyCFunction
) _wrap_Rect_SetRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45514 { (char *)"Rect_SetTop", (PyCFunction
) _wrap_Rect_SetTop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45515 { (char *)"Rect_SetBottom", (PyCFunction
) _wrap_Rect_SetBottom
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45516 { (char *)"Rect_Inflate", (PyCFunction
) _wrap_Rect_Inflate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45517 { (char *)"Rect_Deflate", (PyCFunction
) _wrap_Rect_Deflate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45518 { (char *)"Rect_OffsetXY", (PyCFunction
) _wrap_Rect_OffsetXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45519 { (char *)"Rect_Offset", (PyCFunction
) _wrap_Rect_Offset
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45520 { (char *)"Rect_Intersect", (PyCFunction
) _wrap_Rect_Intersect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45521 { (char *)"Rect_Union", (PyCFunction
) _wrap_Rect_Union
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45522 { (char *)"Rect___add__", (PyCFunction
) _wrap_Rect___add__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45523 { (char *)"Rect___iadd__", (PyCFunction
) _wrap_Rect___iadd__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45524 { (char *)"Rect___eq__", (PyCFunction
) _wrap_Rect___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45525 { (char *)"Rect___ne__", (PyCFunction
) _wrap_Rect___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45526 { (char *)"Rect_InsideXY", (PyCFunction
) _wrap_Rect_InsideXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45527 { (char *)"Rect_Inside", (PyCFunction
) _wrap_Rect_Inside
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45528 { (char *)"Rect_Intersects", (PyCFunction
) _wrap_Rect_Intersects
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45529 { (char *)"Rect_x_set", (PyCFunction
) _wrap_Rect_x_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45530 { (char *)"Rect_x_get", (PyCFunction
) _wrap_Rect_x_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45531 { (char *)"Rect_y_set", (PyCFunction
) _wrap_Rect_y_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45532 { (char *)"Rect_y_get", (PyCFunction
) _wrap_Rect_y_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45533 { (char *)"Rect_width_set", (PyCFunction
) _wrap_Rect_width_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45534 { (char *)"Rect_width_get", (PyCFunction
) _wrap_Rect_width_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45535 { (char *)"Rect_height_set", (PyCFunction
) _wrap_Rect_height_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45536 { (char *)"Rect_height_get", (PyCFunction
) _wrap_Rect_height_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45537 { (char *)"Rect_Set", (PyCFunction
) _wrap_Rect_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45538 { (char *)"Rect_Get", (PyCFunction
) _wrap_Rect_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45539 { (char *)"Rect_swigregister", Rect_swigregister
, METH_VARARGS
, NULL
},
45540 { (char *)"IntersectRect", (PyCFunction
) _wrap_IntersectRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45541 { (char *)"new_Point2D", (PyCFunction
) _wrap_new_Point2D
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45542 { (char *)"new_Point2DCopy", (PyCFunction
) _wrap_new_Point2DCopy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45543 { (char *)"new_Point2DFromPoint", (PyCFunction
) _wrap_new_Point2DFromPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45544 { (char *)"Point2D_GetFloor", (PyCFunction
) _wrap_Point2D_GetFloor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45545 { (char *)"Point2D_GetRounded", (PyCFunction
) _wrap_Point2D_GetRounded
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45546 { (char *)"Point2D_GetVectorLength", (PyCFunction
) _wrap_Point2D_GetVectorLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45547 { (char *)"Point2D_GetVectorAngle", (PyCFunction
) _wrap_Point2D_GetVectorAngle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45548 { (char *)"Point2D_SetVectorLength", (PyCFunction
) _wrap_Point2D_SetVectorLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45549 { (char *)"Point2D_SetVectorAngle", (PyCFunction
) _wrap_Point2D_SetVectorAngle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45550 { (char *)"Point2D_GetDistance", (PyCFunction
) _wrap_Point2D_GetDistance
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45551 { (char *)"Point2D_GetDistanceSquare", (PyCFunction
) _wrap_Point2D_GetDistanceSquare
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45552 { (char *)"Point2D_GetDotProduct", (PyCFunction
) _wrap_Point2D_GetDotProduct
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45553 { (char *)"Point2D_GetCrossProduct", (PyCFunction
) _wrap_Point2D_GetCrossProduct
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45554 { (char *)"Point2D___neg__", (PyCFunction
) _wrap_Point2D___neg__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45555 { (char *)"Point2D___iadd__", (PyCFunction
) _wrap_Point2D___iadd__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45556 { (char *)"Point2D___isub__", (PyCFunction
) _wrap_Point2D___isub__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45557 { (char *)"Point2D___imul__", (PyCFunction
) _wrap_Point2D___imul__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45558 { (char *)"Point2D___idiv__", (PyCFunction
) _wrap_Point2D___idiv__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45559 { (char *)"Point2D___eq__", (PyCFunction
) _wrap_Point2D___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45560 { (char *)"Point2D___ne__", (PyCFunction
) _wrap_Point2D___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45561 { (char *)"Point2D_x_set", (PyCFunction
) _wrap_Point2D_x_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45562 { (char *)"Point2D_x_get", (PyCFunction
) _wrap_Point2D_x_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45563 { (char *)"Point2D_y_set", (PyCFunction
) _wrap_Point2D_y_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45564 { (char *)"Point2D_y_get", (PyCFunction
) _wrap_Point2D_y_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45565 { (char *)"Point2D_Set", (PyCFunction
) _wrap_Point2D_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45566 { (char *)"Point2D_Get", (PyCFunction
) _wrap_Point2D_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45567 { (char *)"Point2D_swigregister", Point2D_swigregister
, METH_VARARGS
, NULL
},
45568 { (char *)"new_InputStream", (PyCFunction
) _wrap_new_InputStream
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45569 { (char *)"delete_InputStream", (PyCFunction
) _wrap_delete_InputStream
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45570 { (char *)"InputStream_close", (PyCFunction
) _wrap_InputStream_close
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45571 { (char *)"InputStream_flush", (PyCFunction
) _wrap_InputStream_flush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45572 { (char *)"InputStream_eof", (PyCFunction
) _wrap_InputStream_eof
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45573 { (char *)"InputStream_read", (PyCFunction
) _wrap_InputStream_read
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45574 { (char *)"InputStream_readline", (PyCFunction
) _wrap_InputStream_readline
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45575 { (char *)"InputStream_readlines", (PyCFunction
) _wrap_InputStream_readlines
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45576 { (char *)"InputStream_seek", (PyCFunction
) _wrap_InputStream_seek
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45577 { (char *)"InputStream_tell", (PyCFunction
) _wrap_InputStream_tell
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45578 { (char *)"InputStream_Peek", (PyCFunction
) _wrap_InputStream_Peek
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45579 { (char *)"InputStream_GetC", (PyCFunction
) _wrap_InputStream_GetC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45580 { (char *)"InputStream_LastRead", (PyCFunction
) _wrap_InputStream_LastRead
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45581 { (char *)"InputStream_CanRead", (PyCFunction
) _wrap_InputStream_CanRead
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45582 { (char *)"InputStream_Eof", (PyCFunction
) _wrap_InputStream_Eof
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45583 { (char *)"InputStream_Ungetch", (PyCFunction
) _wrap_InputStream_Ungetch
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45584 { (char *)"InputStream_SeekI", (PyCFunction
) _wrap_InputStream_SeekI
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45585 { (char *)"InputStream_TellI", (PyCFunction
) _wrap_InputStream_TellI
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45586 { (char *)"InputStream_swigregister", InputStream_swigregister
, METH_VARARGS
, NULL
},
45587 { (char *)"OutputStream_write", (PyCFunction
) _wrap_OutputStream_write
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45588 { (char *)"OutputStream_swigregister", OutputStream_swigregister
, METH_VARARGS
, NULL
},
45589 { (char *)"new_FSFile", (PyCFunction
) _wrap_new_FSFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45590 { (char *)"delete_FSFile", (PyCFunction
) _wrap_delete_FSFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45591 { (char *)"FSFile_GetStream", (PyCFunction
) _wrap_FSFile_GetStream
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45592 { (char *)"FSFile_GetMimeType", (PyCFunction
) _wrap_FSFile_GetMimeType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45593 { (char *)"FSFile_GetLocation", (PyCFunction
) _wrap_FSFile_GetLocation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45594 { (char *)"FSFile_GetAnchor", (PyCFunction
) _wrap_FSFile_GetAnchor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45595 { (char *)"FSFile_GetModificationTime", (PyCFunction
) _wrap_FSFile_GetModificationTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45596 { (char *)"FSFile_swigregister", FSFile_swigregister
, METH_VARARGS
, NULL
},
45597 { (char *)"CPPFileSystemHandler_swigregister", CPPFileSystemHandler_swigregister
, METH_VARARGS
, NULL
},
45598 { (char *)"new_FileSystemHandler", (PyCFunction
) _wrap_new_FileSystemHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45599 { (char *)"FileSystemHandler__setCallbackInfo", (PyCFunction
) _wrap_FileSystemHandler__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45600 { (char *)"FileSystemHandler_CanOpen", (PyCFunction
) _wrap_FileSystemHandler_CanOpen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45601 { (char *)"FileSystemHandler_OpenFile", (PyCFunction
) _wrap_FileSystemHandler_OpenFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45602 { (char *)"FileSystemHandler_FindFirst", (PyCFunction
) _wrap_FileSystemHandler_FindFirst
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45603 { (char *)"FileSystemHandler_FindNext", (PyCFunction
) _wrap_FileSystemHandler_FindNext
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45604 { (char *)"FileSystemHandler_GetProtocol", (PyCFunction
) _wrap_FileSystemHandler_GetProtocol
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45605 { (char *)"FileSystemHandler_GetLeftLocation", (PyCFunction
) _wrap_FileSystemHandler_GetLeftLocation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45606 { (char *)"FileSystemHandler_GetAnchor", (PyCFunction
) _wrap_FileSystemHandler_GetAnchor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45607 { (char *)"FileSystemHandler_GetRightLocation", (PyCFunction
) _wrap_FileSystemHandler_GetRightLocation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45608 { (char *)"FileSystemHandler_GetMimeTypeFromExt", (PyCFunction
) _wrap_FileSystemHandler_GetMimeTypeFromExt
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45609 { (char *)"FileSystemHandler_swigregister", FileSystemHandler_swigregister
, METH_VARARGS
, NULL
},
45610 { (char *)"new_FileSystem", (PyCFunction
) _wrap_new_FileSystem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45611 { (char *)"delete_FileSystem", (PyCFunction
) _wrap_delete_FileSystem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45612 { (char *)"FileSystem_ChangePathTo", (PyCFunction
) _wrap_FileSystem_ChangePathTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45613 { (char *)"FileSystem_GetPath", (PyCFunction
) _wrap_FileSystem_GetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45614 { (char *)"FileSystem_OpenFile", (PyCFunction
) _wrap_FileSystem_OpenFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45615 { (char *)"FileSystem_FindFirst", (PyCFunction
) _wrap_FileSystem_FindFirst
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45616 { (char *)"FileSystem_FindNext", (PyCFunction
) _wrap_FileSystem_FindNext
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45617 { (char *)"FileSystem_AddHandler", (PyCFunction
) _wrap_FileSystem_AddHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45618 { (char *)"FileSystem_CleanUpHandlers", (PyCFunction
) _wrap_FileSystem_CleanUpHandlers
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45619 { (char *)"FileSystem_FileNameToURL", (PyCFunction
) _wrap_FileSystem_FileNameToURL
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45620 { (char *)"FileSystem_URLToFileName", (PyCFunction
) _wrap_FileSystem_URLToFileName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45621 { (char *)"FileSystem_swigregister", FileSystem_swigregister
, METH_VARARGS
, NULL
},
45622 { (char *)"new_InternetFSHandler", (PyCFunction
) _wrap_new_InternetFSHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45623 { (char *)"InternetFSHandler_CanOpen", (PyCFunction
) _wrap_InternetFSHandler_CanOpen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45624 { (char *)"InternetFSHandler_OpenFile", (PyCFunction
) _wrap_InternetFSHandler_OpenFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45625 { (char *)"InternetFSHandler_swigregister", InternetFSHandler_swigregister
, METH_VARARGS
, NULL
},
45626 { (char *)"new_ZipFSHandler", (PyCFunction
) _wrap_new_ZipFSHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45627 { (char *)"ZipFSHandler_CanOpen", (PyCFunction
) _wrap_ZipFSHandler_CanOpen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45628 { (char *)"ZipFSHandler_OpenFile", (PyCFunction
) _wrap_ZipFSHandler_OpenFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45629 { (char *)"ZipFSHandler_FindFirst", (PyCFunction
) _wrap_ZipFSHandler_FindFirst
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45630 { (char *)"ZipFSHandler_FindNext", (PyCFunction
) _wrap_ZipFSHandler_FindNext
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45631 { (char *)"ZipFSHandler_swigregister", ZipFSHandler_swigregister
, METH_VARARGS
, NULL
},
45632 { (char *)"__wxMemoryFSHandler_AddFile_wxImage", (PyCFunction
) _wrap___wxMemoryFSHandler_AddFile_wxImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45633 { (char *)"__wxMemoryFSHandler_AddFile_wxBitmap", (PyCFunction
) _wrap___wxMemoryFSHandler_AddFile_wxBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45634 { (char *)"__wxMemoryFSHandler_AddFile_Data", (PyCFunction
) _wrap___wxMemoryFSHandler_AddFile_Data
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45635 { (char *)"new_MemoryFSHandler", (PyCFunction
) _wrap_new_MemoryFSHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45636 { (char *)"MemoryFSHandler_RemoveFile", (PyCFunction
) _wrap_MemoryFSHandler_RemoveFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45637 { (char *)"MemoryFSHandler_CanOpen", (PyCFunction
) _wrap_MemoryFSHandler_CanOpen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45638 { (char *)"MemoryFSHandler_OpenFile", (PyCFunction
) _wrap_MemoryFSHandler_OpenFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45639 { (char *)"MemoryFSHandler_FindFirst", (PyCFunction
) _wrap_MemoryFSHandler_FindFirst
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45640 { (char *)"MemoryFSHandler_FindNext", (PyCFunction
) _wrap_MemoryFSHandler_FindNext
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45641 { (char *)"MemoryFSHandler_swigregister", MemoryFSHandler_swigregister
, METH_VARARGS
, NULL
},
45642 { (char *)"ImageHandler_GetName", (PyCFunction
) _wrap_ImageHandler_GetName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45643 { (char *)"ImageHandler_GetExtension", (PyCFunction
) _wrap_ImageHandler_GetExtension
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45644 { (char *)"ImageHandler_GetType", (PyCFunction
) _wrap_ImageHandler_GetType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45645 { (char *)"ImageHandler_GetMimeType", (PyCFunction
) _wrap_ImageHandler_GetMimeType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45646 { (char *)"ImageHandler_CanRead", (PyCFunction
) _wrap_ImageHandler_CanRead
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45647 { (char *)"ImageHandler_SetName", (PyCFunction
) _wrap_ImageHandler_SetName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45648 { (char *)"ImageHandler_SetExtension", (PyCFunction
) _wrap_ImageHandler_SetExtension
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45649 { (char *)"ImageHandler_SetType", (PyCFunction
) _wrap_ImageHandler_SetType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45650 { (char *)"ImageHandler_SetMimeType", (PyCFunction
) _wrap_ImageHandler_SetMimeType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45651 { (char *)"ImageHandler_swigregister", ImageHandler_swigregister
, METH_VARARGS
, NULL
},
45652 { (char *)"new_ImageHistogram", (PyCFunction
) _wrap_new_ImageHistogram
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45653 { (char *)"ImageHistogram_MakeKey", (PyCFunction
) _wrap_ImageHistogram_MakeKey
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45654 { (char *)"ImageHistogram_FindFirstUnusedColour", (PyCFunction
) _wrap_ImageHistogram_FindFirstUnusedColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45655 { (char *)"ImageHistogram_GetCount", (PyCFunction
) _wrap_ImageHistogram_GetCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45656 { (char *)"ImageHistogram_GetCountRGB", (PyCFunction
) _wrap_ImageHistogram_GetCountRGB
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45657 { (char *)"ImageHistogram_GetCountColour", (PyCFunction
) _wrap_ImageHistogram_GetCountColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45658 { (char *)"ImageHistogram_swigregister", ImageHistogram_swigregister
, METH_VARARGS
, NULL
},
45659 { (char *)"new_Image", (PyCFunction
) _wrap_new_Image
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45660 { (char *)"delete_Image", (PyCFunction
) _wrap_delete_Image
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45661 { (char *)"new_ImageFromMime", (PyCFunction
) _wrap_new_ImageFromMime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45662 { (char *)"new_ImageFromStream", (PyCFunction
) _wrap_new_ImageFromStream
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45663 { (char *)"new_ImageFromStreamMime", (PyCFunction
) _wrap_new_ImageFromStreamMime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45664 { (char *)"new_EmptyImage", (PyCFunction
) _wrap_new_EmptyImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45665 { (char *)"new_ImageFromBitmap", (PyCFunction
) _wrap_new_ImageFromBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45666 { (char *)"new_ImageFromData", (PyCFunction
) _wrap_new_ImageFromData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45667 { (char *)"new_ImageFromDataWithAlpha", (PyCFunction
) _wrap_new_ImageFromDataWithAlpha
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45668 { (char *)"Image_Create", (PyCFunction
) _wrap_Image_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45669 { (char *)"Image_Destroy", (PyCFunction
) _wrap_Image_Destroy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45670 { (char *)"Image_Scale", (PyCFunction
) _wrap_Image_Scale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45671 { (char *)"Image_ShrinkBy", (PyCFunction
) _wrap_Image_ShrinkBy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45672 { (char *)"Image_Rescale", (PyCFunction
) _wrap_Image_Rescale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45673 { (char *)"Image_Resize", (PyCFunction
) _wrap_Image_Resize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45674 { (char *)"Image_SetRGB", (PyCFunction
) _wrap_Image_SetRGB
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45675 { (char *)"Image_SetRGBRect", (PyCFunction
) _wrap_Image_SetRGBRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45676 { (char *)"Image_GetRed", (PyCFunction
) _wrap_Image_GetRed
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45677 { (char *)"Image_GetGreen", (PyCFunction
) _wrap_Image_GetGreen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45678 { (char *)"Image_GetBlue", (PyCFunction
) _wrap_Image_GetBlue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45679 { (char *)"Image_SetAlpha", (PyCFunction
) _wrap_Image_SetAlpha
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45680 { (char *)"Image_GetAlpha", (PyCFunction
) _wrap_Image_GetAlpha
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45681 { (char *)"Image_HasAlpha", (PyCFunction
) _wrap_Image_HasAlpha
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45682 { (char *)"Image_InitAlpha", (PyCFunction
) _wrap_Image_InitAlpha
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45683 { (char *)"Image_IsTransparent", (PyCFunction
) _wrap_Image_IsTransparent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45684 { (char *)"Image_FindFirstUnusedColour", (PyCFunction
) _wrap_Image_FindFirstUnusedColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45685 { (char *)"Image_ConvertAlphaToMask", (PyCFunction
) _wrap_Image_ConvertAlphaToMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45686 { (char *)"Image_ConvertColourToAlpha", (PyCFunction
) _wrap_Image_ConvertColourToAlpha
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45687 { (char *)"Image_SetMaskFromImage", (PyCFunction
) _wrap_Image_SetMaskFromImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45688 { (char *)"Image_CanRead", (PyCFunction
) _wrap_Image_CanRead
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45689 { (char *)"Image_GetImageCount", (PyCFunction
) _wrap_Image_GetImageCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45690 { (char *)"Image_LoadFile", (PyCFunction
) _wrap_Image_LoadFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45691 { (char *)"Image_LoadMimeFile", (PyCFunction
) _wrap_Image_LoadMimeFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45692 { (char *)"Image_SaveFile", (PyCFunction
) _wrap_Image_SaveFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45693 { (char *)"Image_SaveMimeFile", (PyCFunction
) _wrap_Image_SaveMimeFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45694 { (char *)"Image_CanReadStream", (PyCFunction
) _wrap_Image_CanReadStream
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45695 { (char *)"Image_LoadStream", (PyCFunction
) _wrap_Image_LoadStream
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45696 { (char *)"Image_LoadMimeStream", (PyCFunction
) _wrap_Image_LoadMimeStream
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45697 { (char *)"Image_Ok", (PyCFunction
) _wrap_Image_Ok
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45698 { (char *)"Image_GetWidth", (PyCFunction
) _wrap_Image_GetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45699 { (char *)"Image_GetHeight", (PyCFunction
) _wrap_Image_GetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45700 { (char *)"Image_GetSize", (PyCFunction
) _wrap_Image_GetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45701 { (char *)"Image_GetSubImage", (PyCFunction
) _wrap_Image_GetSubImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45702 { (char *)"Image_Size", (PyCFunction
) _wrap_Image_Size
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45703 { (char *)"Image_Copy", (PyCFunction
) _wrap_Image_Copy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45704 { (char *)"Image_Paste", (PyCFunction
) _wrap_Image_Paste
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45705 { (char *)"Image_GetData", (PyCFunction
) _wrap_Image_GetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45706 { (char *)"Image_SetData", (PyCFunction
) _wrap_Image_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45707 { (char *)"Image_GetDataBuffer", (PyCFunction
) _wrap_Image_GetDataBuffer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45708 { (char *)"Image_SetDataBuffer", (PyCFunction
) _wrap_Image_SetDataBuffer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45709 { (char *)"Image_GetAlphaData", (PyCFunction
) _wrap_Image_GetAlphaData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45710 { (char *)"Image_SetAlphaData", (PyCFunction
) _wrap_Image_SetAlphaData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45711 { (char *)"Image_GetAlphaBuffer", (PyCFunction
) _wrap_Image_GetAlphaBuffer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45712 { (char *)"Image_SetAlphaBuffer", (PyCFunction
) _wrap_Image_SetAlphaBuffer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45713 { (char *)"Image_SetMaskColour", (PyCFunction
) _wrap_Image_SetMaskColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45714 { (char *)"Image_GetOrFindMaskColour", (PyCFunction
) _wrap_Image_GetOrFindMaskColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45715 { (char *)"Image_GetMaskRed", (PyCFunction
) _wrap_Image_GetMaskRed
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45716 { (char *)"Image_GetMaskGreen", (PyCFunction
) _wrap_Image_GetMaskGreen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45717 { (char *)"Image_GetMaskBlue", (PyCFunction
) _wrap_Image_GetMaskBlue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45718 { (char *)"Image_SetMask", (PyCFunction
) _wrap_Image_SetMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45719 { (char *)"Image_HasMask", (PyCFunction
) _wrap_Image_HasMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45720 { (char *)"Image_Rotate", (PyCFunction
) _wrap_Image_Rotate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45721 { (char *)"Image_Rotate90", (PyCFunction
) _wrap_Image_Rotate90
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45722 { (char *)"Image_Mirror", (PyCFunction
) _wrap_Image_Mirror
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45723 { (char *)"Image_Replace", (PyCFunction
) _wrap_Image_Replace
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45724 { (char *)"Image_ConvertToMono", (PyCFunction
) _wrap_Image_ConvertToMono
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45725 { (char *)"Image_SetOption", (PyCFunction
) _wrap_Image_SetOption
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45726 { (char *)"Image_SetOptionInt", (PyCFunction
) _wrap_Image_SetOptionInt
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45727 { (char *)"Image_GetOption", (PyCFunction
) _wrap_Image_GetOption
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45728 { (char *)"Image_GetOptionInt", (PyCFunction
) _wrap_Image_GetOptionInt
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45729 { (char *)"Image_HasOption", (PyCFunction
) _wrap_Image_HasOption
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45730 { (char *)"Image_CountColours", (PyCFunction
) _wrap_Image_CountColours
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45731 { (char *)"Image_ComputeHistogram", (PyCFunction
) _wrap_Image_ComputeHistogram
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45732 { (char *)"Image_AddHandler", (PyCFunction
) _wrap_Image_AddHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45733 { (char *)"Image_InsertHandler", (PyCFunction
) _wrap_Image_InsertHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45734 { (char *)"Image_RemoveHandler", (PyCFunction
) _wrap_Image_RemoveHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45735 { (char *)"Image_GetImageExtWildcard", (PyCFunction
) _wrap_Image_GetImageExtWildcard
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45736 { (char *)"Image_ConvertToBitmap", (PyCFunction
) _wrap_Image_ConvertToBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45737 { (char *)"Image_ConvertToMonoBitmap", (PyCFunction
) _wrap_Image_ConvertToMonoBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45738 { (char *)"Image_swigregister", Image_swigregister
, METH_VARARGS
, NULL
},
45739 { (char *)"new_BMPHandler", (PyCFunction
) _wrap_new_BMPHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45740 { (char *)"BMPHandler_swigregister", BMPHandler_swigregister
, METH_VARARGS
, NULL
},
45741 { (char *)"new_ICOHandler", (PyCFunction
) _wrap_new_ICOHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45742 { (char *)"ICOHandler_swigregister", ICOHandler_swigregister
, METH_VARARGS
, NULL
},
45743 { (char *)"new_CURHandler", (PyCFunction
) _wrap_new_CURHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45744 { (char *)"CURHandler_swigregister", CURHandler_swigregister
, METH_VARARGS
, NULL
},
45745 { (char *)"new_ANIHandler", (PyCFunction
) _wrap_new_ANIHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45746 { (char *)"ANIHandler_swigregister", ANIHandler_swigregister
, METH_VARARGS
, NULL
},
45747 { (char *)"new_PNGHandler", (PyCFunction
) _wrap_new_PNGHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45748 { (char *)"PNGHandler_swigregister", PNGHandler_swigregister
, METH_VARARGS
, NULL
},
45749 { (char *)"new_GIFHandler", (PyCFunction
) _wrap_new_GIFHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45750 { (char *)"GIFHandler_swigregister", GIFHandler_swigregister
, METH_VARARGS
, NULL
},
45751 { (char *)"new_PCXHandler", (PyCFunction
) _wrap_new_PCXHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45752 { (char *)"PCXHandler_swigregister", PCXHandler_swigregister
, METH_VARARGS
, NULL
},
45753 { (char *)"new_JPEGHandler", (PyCFunction
) _wrap_new_JPEGHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45754 { (char *)"JPEGHandler_swigregister", JPEGHandler_swigregister
, METH_VARARGS
, NULL
},
45755 { (char *)"new_PNMHandler", (PyCFunction
) _wrap_new_PNMHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45756 { (char *)"PNMHandler_swigregister", PNMHandler_swigregister
, METH_VARARGS
, NULL
},
45757 { (char *)"new_XPMHandler", (PyCFunction
) _wrap_new_XPMHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45758 { (char *)"XPMHandler_swigregister", XPMHandler_swigregister
, METH_VARARGS
, NULL
},
45759 { (char *)"new_TIFFHandler", (PyCFunction
) _wrap_new_TIFFHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45760 { (char *)"TIFFHandler_swigregister", TIFFHandler_swigregister
, METH_VARARGS
, NULL
},
45761 { (char *)"Quantize_Quantize", (PyCFunction
) _wrap_Quantize_Quantize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45762 { (char *)"Quantize_swigregister", Quantize_swigregister
, METH_VARARGS
, NULL
},
45763 { (char *)"new_EvtHandler", (PyCFunction
) _wrap_new_EvtHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45764 { (char *)"EvtHandler_GetNextHandler", (PyCFunction
) _wrap_EvtHandler_GetNextHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45765 { (char *)"EvtHandler_GetPreviousHandler", (PyCFunction
) _wrap_EvtHandler_GetPreviousHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45766 { (char *)"EvtHandler_SetNextHandler", (PyCFunction
) _wrap_EvtHandler_SetNextHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45767 { (char *)"EvtHandler_SetPreviousHandler", (PyCFunction
) _wrap_EvtHandler_SetPreviousHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45768 { (char *)"EvtHandler_GetEvtHandlerEnabled", (PyCFunction
) _wrap_EvtHandler_GetEvtHandlerEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45769 { (char *)"EvtHandler_SetEvtHandlerEnabled", (PyCFunction
) _wrap_EvtHandler_SetEvtHandlerEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45770 { (char *)"EvtHandler_ProcessEvent", (PyCFunction
) _wrap_EvtHandler_ProcessEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45771 { (char *)"EvtHandler_AddPendingEvent", (PyCFunction
) _wrap_EvtHandler_AddPendingEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45772 { (char *)"EvtHandler_ProcessPendingEvents", (PyCFunction
) _wrap_EvtHandler_ProcessPendingEvents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45773 { (char *)"EvtHandler_Connect", (PyCFunction
) _wrap_EvtHandler_Connect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45774 { (char *)"EvtHandler_Disconnect", (PyCFunction
) _wrap_EvtHandler_Disconnect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45775 { (char *)"EvtHandler__setOORInfo", (PyCFunction
) _wrap_EvtHandler__setOORInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45776 { (char *)"EvtHandler_swigregister", EvtHandler_swigregister
, METH_VARARGS
, NULL
},
45777 { (char *)"NewEventType", (PyCFunction
) _wrap_NewEventType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45778 { (char *)"delete_Event", (PyCFunction
) _wrap_delete_Event
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45779 { (char *)"Event_SetEventType", (PyCFunction
) _wrap_Event_SetEventType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45780 { (char *)"Event_GetEventType", (PyCFunction
) _wrap_Event_GetEventType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45781 { (char *)"Event_GetEventObject", (PyCFunction
) _wrap_Event_GetEventObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45782 { (char *)"Event_SetEventObject", (PyCFunction
) _wrap_Event_SetEventObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45783 { (char *)"Event_GetTimestamp", (PyCFunction
) _wrap_Event_GetTimestamp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45784 { (char *)"Event_SetTimestamp", (PyCFunction
) _wrap_Event_SetTimestamp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45785 { (char *)"Event_GetId", (PyCFunction
) _wrap_Event_GetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45786 { (char *)"Event_SetId", (PyCFunction
) _wrap_Event_SetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45787 { (char *)"Event_IsCommandEvent", (PyCFunction
) _wrap_Event_IsCommandEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45788 { (char *)"Event_Skip", (PyCFunction
) _wrap_Event_Skip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45789 { (char *)"Event_GetSkipped", (PyCFunction
) _wrap_Event_GetSkipped
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45790 { (char *)"Event_ShouldPropagate", (PyCFunction
) _wrap_Event_ShouldPropagate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45791 { (char *)"Event_StopPropagation", (PyCFunction
) _wrap_Event_StopPropagation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45792 { (char *)"Event_ResumePropagation", (PyCFunction
) _wrap_Event_ResumePropagation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45793 { (char *)"Event_Clone", (PyCFunction
) _wrap_Event_Clone
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45794 { (char *)"Event_swigregister", Event_swigregister
, METH_VARARGS
, NULL
},
45795 { (char *)"new_PropagationDisabler", (PyCFunction
) _wrap_new_PropagationDisabler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45796 { (char *)"delete_PropagationDisabler", (PyCFunction
) _wrap_delete_PropagationDisabler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45797 { (char *)"PropagationDisabler_swigregister", PropagationDisabler_swigregister
, METH_VARARGS
, NULL
},
45798 { (char *)"new_PropagateOnce", (PyCFunction
) _wrap_new_PropagateOnce
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45799 { (char *)"delete_PropagateOnce", (PyCFunction
) _wrap_delete_PropagateOnce
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45800 { (char *)"PropagateOnce_swigregister", PropagateOnce_swigregister
, METH_VARARGS
, NULL
},
45801 { (char *)"new_CommandEvent", (PyCFunction
) _wrap_new_CommandEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45802 { (char *)"CommandEvent_GetSelection", (PyCFunction
) _wrap_CommandEvent_GetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45803 { (char *)"CommandEvent_SetString", (PyCFunction
) _wrap_CommandEvent_SetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45804 { (char *)"CommandEvent_GetString", (PyCFunction
) _wrap_CommandEvent_GetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45805 { (char *)"CommandEvent_IsChecked", (PyCFunction
) _wrap_CommandEvent_IsChecked
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45806 { (char *)"CommandEvent_IsSelection", (PyCFunction
) _wrap_CommandEvent_IsSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45807 { (char *)"CommandEvent_SetExtraLong", (PyCFunction
) _wrap_CommandEvent_SetExtraLong
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45808 { (char *)"CommandEvent_GetExtraLong", (PyCFunction
) _wrap_CommandEvent_GetExtraLong
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45809 { (char *)"CommandEvent_SetInt", (PyCFunction
) _wrap_CommandEvent_SetInt
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45810 { (char *)"CommandEvent_GetInt", (PyCFunction
) _wrap_CommandEvent_GetInt
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45811 { (char *)"CommandEvent_Clone", (PyCFunction
) _wrap_CommandEvent_Clone
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45812 { (char *)"CommandEvent_swigregister", CommandEvent_swigregister
, METH_VARARGS
, NULL
},
45813 { (char *)"new_NotifyEvent", (PyCFunction
) _wrap_new_NotifyEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45814 { (char *)"NotifyEvent_Veto", (PyCFunction
) _wrap_NotifyEvent_Veto
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45815 { (char *)"NotifyEvent_Allow", (PyCFunction
) _wrap_NotifyEvent_Allow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45816 { (char *)"NotifyEvent_IsAllowed", (PyCFunction
) _wrap_NotifyEvent_IsAllowed
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45817 { (char *)"NotifyEvent_swigregister", NotifyEvent_swigregister
, METH_VARARGS
, NULL
},
45818 { (char *)"new_ScrollEvent", (PyCFunction
) _wrap_new_ScrollEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45819 { (char *)"ScrollEvent_GetOrientation", (PyCFunction
) _wrap_ScrollEvent_GetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45820 { (char *)"ScrollEvent_GetPosition", (PyCFunction
) _wrap_ScrollEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45821 { (char *)"ScrollEvent_SetOrientation", (PyCFunction
) _wrap_ScrollEvent_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45822 { (char *)"ScrollEvent_SetPosition", (PyCFunction
) _wrap_ScrollEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45823 { (char *)"ScrollEvent_swigregister", ScrollEvent_swigregister
, METH_VARARGS
, NULL
},
45824 { (char *)"new_ScrollWinEvent", (PyCFunction
) _wrap_new_ScrollWinEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45825 { (char *)"ScrollWinEvent_GetOrientation", (PyCFunction
) _wrap_ScrollWinEvent_GetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45826 { (char *)"ScrollWinEvent_GetPosition", (PyCFunction
) _wrap_ScrollWinEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45827 { (char *)"ScrollWinEvent_SetOrientation", (PyCFunction
) _wrap_ScrollWinEvent_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45828 { (char *)"ScrollWinEvent_SetPosition", (PyCFunction
) _wrap_ScrollWinEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45829 { (char *)"ScrollWinEvent_swigregister", ScrollWinEvent_swigregister
, METH_VARARGS
, NULL
},
45830 { (char *)"new_MouseEvent", (PyCFunction
) _wrap_new_MouseEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45831 { (char *)"MouseEvent_IsButton", (PyCFunction
) _wrap_MouseEvent_IsButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45832 { (char *)"MouseEvent_ButtonDown", (PyCFunction
) _wrap_MouseEvent_ButtonDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45833 { (char *)"MouseEvent_ButtonDClick", (PyCFunction
) _wrap_MouseEvent_ButtonDClick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45834 { (char *)"MouseEvent_ButtonUp", (PyCFunction
) _wrap_MouseEvent_ButtonUp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45835 { (char *)"MouseEvent_Button", (PyCFunction
) _wrap_MouseEvent_Button
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45836 { (char *)"MouseEvent_ButtonIsDown", (PyCFunction
) _wrap_MouseEvent_ButtonIsDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45837 { (char *)"MouseEvent_GetButton", (PyCFunction
) _wrap_MouseEvent_GetButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45838 { (char *)"MouseEvent_ControlDown", (PyCFunction
) _wrap_MouseEvent_ControlDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45839 { (char *)"MouseEvent_MetaDown", (PyCFunction
) _wrap_MouseEvent_MetaDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45840 { (char *)"MouseEvent_AltDown", (PyCFunction
) _wrap_MouseEvent_AltDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45841 { (char *)"MouseEvent_ShiftDown", (PyCFunction
) _wrap_MouseEvent_ShiftDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45842 { (char *)"MouseEvent_CmdDown", (PyCFunction
) _wrap_MouseEvent_CmdDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45843 { (char *)"MouseEvent_LeftDown", (PyCFunction
) _wrap_MouseEvent_LeftDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45844 { (char *)"MouseEvent_MiddleDown", (PyCFunction
) _wrap_MouseEvent_MiddleDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45845 { (char *)"MouseEvent_RightDown", (PyCFunction
) _wrap_MouseEvent_RightDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45846 { (char *)"MouseEvent_LeftUp", (PyCFunction
) _wrap_MouseEvent_LeftUp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45847 { (char *)"MouseEvent_MiddleUp", (PyCFunction
) _wrap_MouseEvent_MiddleUp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45848 { (char *)"MouseEvent_RightUp", (PyCFunction
) _wrap_MouseEvent_RightUp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45849 { (char *)"MouseEvent_LeftDClick", (PyCFunction
) _wrap_MouseEvent_LeftDClick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45850 { (char *)"MouseEvent_MiddleDClick", (PyCFunction
) _wrap_MouseEvent_MiddleDClick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45851 { (char *)"MouseEvent_RightDClick", (PyCFunction
) _wrap_MouseEvent_RightDClick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45852 { (char *)"MouseEvent_LeftIsDown", (PyCFunction
) _wrap_MouseEvent_LeftIsDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45853 { (char *)"MouseEvent_MiddleIsDown", (PyCFunction
) _wrap_MouseEvent_MiddleIsDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45854 { (char *)"MouseEvent_RightIsDown", (PyCFunction
) _wrap_MouseEvent_RightIsDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45855 { (char *)"MouseEvent_Dragging", (PyCFunction
) _wrap_MouseEvent_Dragging
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45856 { (char *)"MouseEvent_Moving", (PyCFunction
) _wrap_MouseEvent_Moving
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45857 { (char *)"MouseEvent_Entering", (PyCFunction
) _wrap_MouseEvent_Entering
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45858 { (char *)"MouseEvent_Leaving", (PyCFunction
) _wrap_MouseEvent_Leaving
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45859 { (char *)"MouseEvent_GetPosition", (PyCFunction
) _wrap_MouseEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45860 { (char *)"MouseEvent_GetPositionTuple", (PyCFunction
) _wrap_MouseEvent_GetPositionTuple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45861 { (char *)"MouseEvent_GetLogicalPosition", (PyCFunction
) _wrap_MouseEvent_GetLogicalPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45862 { (char *)"MouseEvent_GetX", (PyCFunction
) _wrap_MouseEvent_GetX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45863 { (char *)"MouseEvent_GetY", (PyCFunction
) _wrap_MouseEvent_GetY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45864 { (char *)"MouseEvent_GetWheelRotation", (PyCFunction
) _wrap_MouseEvent_GetWheelRotation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45865 { (char *)"MouseEvent_GetWheelDelta", (PyCFunction
) _wrap_MouseEvent_GetWheelDelta
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45866 { (char *)"MouseEvent_GetLinesPerAction", (PyCFunction
) _wrap_MouseEvent_GetLinesPerAction
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45867 { (char *)"MouseEvent_IsPageScroll", (PyCFunction
) _wrap_MouseEvent_IsPageScroll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45868 { (char *)"MouseEvent_m_x_set", (PyCFunction
) _wrap_MouseEvent_m_x_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45869 { (char *)"MouseEvent_m_x_get", (PyCFunction
) _wrap_MouseEvent_m_x_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45870 { (char *)"MouseEvent_m_y_set", (PyCFunction
) _wrap_MouseEvent_m_y_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45871 { (char *)"MouseEvent_m_y_get", (PyCFunction
) _wrap_MouseEvent_m_y_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45872 { (char *)"MouseEvent_m_leftDown_set", (PyCFunction
) _wrap_MouseEvent_m_leftDown_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45873 { (char *)"MouseEvent_m_leftDown_get", (PyCFunction
) _wrap_MouseEvent_m_leftDown_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45874 { (char *)"MouseEvent_m_middleDown_set", (PyCFunction
) _wrap_MouseEvent_m_middleDown_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45875 { (char *)"MouseEvent_m_middleDown_get", (PyCFunction
) _wrap_MouseEvent_m_middleDown_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45876 { (char *)"MouseEvent_m_rightDown_set", (PyCFunction
) _wrap_MouseEvent_m_rightDown_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45877 { (char *)"MouseEvent_m_rightDown_get", (PyCFunction
) _wrap_MouseEvent_m_rightDown_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45878 { (char *)"MouseEvent_m_controlDown_set", (PyCFunction
) _wrap_MouseEvent_m_controlDown_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45879 { (char *)"MouseEvent_m_controlDown_get", (PyCFunction
) _wrap_MouseEvent_m_controlDown_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45880 { (char *)"MouseEvent_m_shiftDown_set", (PyCFunction
) _wrap_MouseEvent_m_shiftDown_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45881 { (char *)"MouseEvent_m_shiftDown_get", (PyCFunction
) _wrap_MouseEvent_m_shiftDown_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45882 { (char *)"MouseEvent_m_altDown_set", (PyCFunction
) _wrap_MouseEvent_m_altDown_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45883 { (char *)"MouseEvent_m_altDown_get", (PyCFunction
) _wrap_MouseEvent_m_altDown_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45884 { (char *)"MouseEvent_m_metaDown_set", (PyCFunction
) _wrap_MouseEvent_m_metaDown_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45885 { (char *)"MouseEvent_m_metaDown_get", (PyCFunction
) _wrap_MouseEvent_m_metaDown_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45886 { (char *)"MouseEvent_m_wheelRotation_set", (PyCFunction
) _wrap_MouseEvent_m_wheelRotation_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45887 { (char *)"MouseEvent_m_wheelRotation_get", (PyCFunction
) _wrap_MouseEvent_m_wheelRotation_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45888 { (char *)"MouseEvent_m_wheelDelta_set", (PyCFunction
) _wrap_MouseEvent_m_wheelDelta_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45889 { (char *)"MouseEvent_m_wheelDelta_get", (PyCFunction
) _wrap_MouseEvent_m_wheelDelta_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45890 { (char *)"MouseEvent_m_linesPerAction_set", (PyCFunction
) _wrap_MouseEvent_m_linesPerAction_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45891 { (char *)"MouseEvent_m_linesPerAction_get", (PyCFunction
) _wrap_MouseEvent_m_linesPerAction_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45892 { (char *)"MouseEvent_swigregister", MouseEvent_swigregister
, METH_VARARGS
, NULL
},
45893 { (char *)"new_SetCursorEvent", (PyCFunction
) _wrap_new_SetCursorEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45894 { (char *)"SetCursorEvent_GetX", (PyCFunction
) _wrap_SetCursorEvent_GetX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45895 { (char *)"SetCursorEvent_GetY", (PyCFunction
) _wrap_SetCursorEvent_GetY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45896 { (char *)"SetCursorEvent_SetCursor", (PyCFunction
) _wrap_SetCursorEvent_SetCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45897 { (char *)"SetCursorEvent_GetCursor", (PyCFunction
) _wrap_SetCursorEvent_GetCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45898 { (char *)"SetCursorEvent_HasCursor", (PyCFunction
) _wrap_SetCursorEvent_HasCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45899 { (char *)"SetCursorEvent_swigregister", SetCursorEvent_swigregister
, METH_VARARGS
, NULL
},
45900 { (char *)"new_KeyEvent", (PyCFunction
) _wrap_new_KeyEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45901 { (char *)"KeyEvent_ControlDown", (PyCFunction
) _wrap_KeyEvent_ControlDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45902 { (char *)"KeyEvent_MetaDown", (PyCFunction
) _wrap_KeyEvent_MetaDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45903 { (char *)"KeyEvent_AltDown", (PyCFunction
) _wrap_KeyEvent_AltDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45904 { (char *)"KeyEvent_ShiftDown", (PyCFunction
) _wrap_KeyEvent_ShiftDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45905 { (char *)"KeyEvent_CmdDown", (PyCFunction
) _wrap_KeyEvent_CmdDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45906 { (char *)"KeyEvent_HasModifiers", (PyCFunction
) _wrap_KeyEvent_HasModifiers
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45907 { (char *)"KeyEvent_GetKeyCode", (PyCFunction
) _wrap_KeyEvent_GetKeyCode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45908 { (char *)"KeyEvent_GetUnicodeKey", (PyCFunction
) _wrap_KeyEvent_GetUnicodeKey
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45909 { (char *)"KeyEvent_GetRawKeyCode", (PyCFunction
) _wrap_KeyEvent_GetRawKeyCode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45910 { (char *)"KeyEvent_GetRawKeyFlags", (PyCFunction
) _wrap_KeyEvent_GetRawKeyFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45911 { (char *)"KeyEvent_GetPosition", (PyCFunction
) _wrap_KeyEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45912 { (char *)"KeyEvent_GetPositionTuple", (PyCFunction
) _wrap_KeyEvent_GetPositionTuple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45913 { (char *)"KeyEvent_GetX", (PyCFunction
) _wrap_KeyEvent_GetX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45914 { (char *)"KeyEvent_GetY", (PyCFunction
) _wrap_KeyEvent_GetY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45915 { (char *)"KeyEvent_m_x_set", (PyCFunction
) _wrap_KeyEvent_m_x_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45916 { (char *)"KeyEvent_m_x_get", (PyCFunction
) _wrap_KeyEvent_m_x_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45917 { (char *)"KeyEvent_m_y_set", (PyCFunction
) _wrap_KeyEvent_m_y_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45918 { (char *)"KeyEvent_m_y_get", (PyCFunction
) _wrap_KeyEvent_m_y_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45919 { (char *)"KeyEvent_m_keyCode_set", (PyCFunction
) _wrap_KeyEvent_m_keyCode_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45920 { (char *)"KeyEvent_m_keyCode_get", (PyCFunction
) _wrap_KeyEvent_m_keyCode_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45921 { (char *)"KeyEvent_m_controlDown_set", (PyCFunction
) _wrap_KeyEvent_m_controlDown_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45922 { (char *)"KeyEvent_m_controlDown_get", (PyCFunction
) _wrap_KeyEvent_m_controlDown_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45923 { (char *)"KeyEvent_m_shiftDown_set", (PyCFunction
) _wrap_KeyEvent_m_shiftDown_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45924 { (char *)"KeyEvent_m_shiftDown_get", (PyCFunction
) _wrap_KeyEvent_m_shiftDown_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45925 { (char *)"KeyEvent_m_altDown_set", (PyCFunction
) _wrap_KeyEvent_m_altDown_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45926 { (char *)"KeyEvent_m_altDown_get", (PyCFunction
) _wrap_KeyEvent_m_altDown_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45927 { (char *)"KeyEvent_m_metaDown_set", (PyCFunction
) _wrap_KeyEvent_m_metaDown_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45928 { (char *)"KeyEvent_m_metaDown_get", (PyCFunction
) _wrap_KeyEvent_m_metaDown_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45929 { (char *)"KeyEvent_m_scanCode_set", (PyCFunction
) _wrap_KeyEvent_m_scanCode_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45930 { (char *)"KeyEvent_m_scanCode_get", (PyCFunction
) _wrap_KeyEvent_m_scanCode_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45931 { (char *)"KeyEvent_m_rawCode_set", (PyCFunction
) _wrap_KeyEvent_m_rawCode_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45932 { (char *)"KeyEvent_m_rawCode_get", (PyCFunction
) _wrap_KeyEvent_m_rawCode_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45933 { (char *)"KeyEvent_m_rawFlags_set", (PyCFunction
) _wrap_KeyEvent_m_rawFlags_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45934 { (char *)"KeyEvent_m_rawFlags_get", (PyCFunction
) _wrap_KeyEvent_m_rawFlags_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45935 { (char *)"KeyEvent_swigregister", KeyEvent_swigregister
, METH_VARARGS
, NULL
},
45936 { (char *)"new_SizeEvent", (PyCFunction
) _wrap_new_SizeEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45937 { (char *)"SizeEvent_GetSize", (PyCFunction
) _wrap_SizeEvent_GetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45938 { (char *)"SizeEvent_GetRect", (PyCFunction
) _wrap_SizeEvent_GetRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45939 { (char *)"SizeEvent_SetRect", (PyCFunction
) _wrap_SizeEvent_SetRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45940 { (char *)"SizeEvent_SetSize", (PyCFunction
) _wrap_SizeEvent_SetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45941 { (char *)"SizeEvent_m_size_set", (PyCFunction
) _wrap_SizeEvent_m_size_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45942 { (char *)"SizeEvent_m_size_get", (PyCFunction
) _wrap_SizeEvent_m_size_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45943 { (char *)"SizeEvent_m_rect_set", (PyCFunction
) _wrap_SizeEvent_m_rect_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45944 { (char *)"SizeEvent_m_rect_get", (PyCFunction
) _wrap_SizeEvent_m_rect_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45945 { (char *)"SizeEvent_swigregister", SizeEvent_swigregister
, METH_VARARGS
, NULL
},
45946 { (char *)"new_MoveEvent", (PyCFunction
) _wrap_new_MoveEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45947 { (char *)"MoveEvent_GetPosition", (PyCFunction
) _wrap_MoveEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45948 { (char *)"MoveEvent_GetRect", (PyCFunction
) _wrap_MoveEvent_GetRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45949 { (char *)"MoveEvent_SetRect", (PyCFunction
) _wrap_MoveEvent_SetRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45950 { (char *)"MoveEvent_SetPosition", (PyCFunction
) _wrap_MoveEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45951 { (char *)"MoveEvent_swigregister", MoveEvent_swigregister
, METH_VARARGS
, NULL
},
45952 { (char *)"new_PaintEvent", (PyCFunction
) _wrap_new_PaintEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45953 { (char *)"PaintEvent_swigregister", PaintEvent_swigregister
, METH_VARARGS
, NULL
},
45954 { (char *)"new_NcPaintEvent", (PyCFunction
) _wrap_new_NcPaintEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45955 { (char *)"NcPaintEvent_swigregister", NcPaintEvent_swigregister
, METH_VARARGS
, NULL
},
45956 { (char *)"new_EraseEvent", (PyCFunction
) _wrap_new_EraseEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45957 { (char *)"EraseEvent_GetDC", (PyCFunction
) _wrap_EraseEvent_GetDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45958 { (char *)"EraseEvent_swigregister", EraseEvent_swigregister
, METH_VARARGS
, NULL
},
45959 { (char *)"new_FocusEvent", (PyCFunction
) _wrap_new_FocusEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45960 { (char *)"FocusEvent_GetWindow", (PyCFunction
) _wrap_FocusEvent_GetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45961 { (char *)"FocusEvent_SetWindow", (PyCFunction
) _wrap_FocusEvent_SetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45962 { (char *)"FocusEvent_swigregister", FocusEvent_swigregister
, METH_VARARGS
, NULL
},
45963 { (char *)"new_ChildFocusEvent", (PyCFunction
) _wrap_new_ChildFocusEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45964 { (char *)"ChildFocusEvent_GetWindow", (PyCFunction
) _wrap_ChildFocusEvent_GetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45965 { (char *)"ChildFocusEvent_swigregister", ChildFocusEvent_swigregister
, METH_VARARGS
, NULL
},
45966 { (char *)"new_ActivateEvent", (PyCFunction
) _wrap_new_ActivateEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45967 { (char *)"ActivateEvent_GetActive", (PyCFunction
) _wrap_ActivateEvent_GetActive
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45968 { (char *)"ActivateEvent_swigregister", ActivateEvent_swigregister
, METH_VARARGS
, NULL
},
45969 { (char *)"new_InitDialogEvent", (PyCFunction
) _wrap_new_InitDialogEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45970 { (char *)"InitDialogEvent_swigregister", InitDialogEvent_swigregister
, METH_VARARGS
, NULL
},
45971 { (char *)"new_MenuEvent", (PyCFunction
) _wrap_new_MenuEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45972 { (char *)"MenuEvent_GetMenuId", (PyCFunction
) _wrap_MenuEvent_GetMenuId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45973 { (char *)"MenuEvent_IsPopup", (PyCFunction
) _wrap_MenuEvent_IsPopup
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45974 { (char *)"MenuEvent_GetMenu", (PyCFunction
) _wrap_MenuEvent_GetMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45975 { (char *)"MenuEvent_swigregister", MenuEvent_swigregister
, METH_VARARGS
, NULL
},
45976 { (char *)"new_CloseEvent", (PyCFunction
) _wrap_new_CloseEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45977 { (char *)"CloseEvent_SetLoggingOff", (PyCFunction
) _wrap_CloseEvent_SetLoggingOff
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45978 { (char *)"CloseEvent_GetLoggingOff", (PyCFunction
) _wrap_CloseEvent_GetLoggingOff
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45979 { (char *)"CloseEvent_Veto", (PyCFunction
) _wrap_CloseEvent_Veto
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45980 { (char *)"CloseEvent_GetVeto", (PyCFunction
) _wrap_CloseEvent_GetVeto
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45981 { (char *)"CloseEvent_SetCanVeto", (PyCFunction
) _wrap_CloseEvent_SetCanVeto
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45982 { (char *)"CloseEvent_CanVeto", (PyCFunction
) _wrap_CloseEvent_CanVeto
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45983 { (char *)"CloseEvent_swigregister", CloseEvent_swigregister
, METH_VARARGS
, NULL
},
45984 { (char *)"new_ShowEvent", (PyCFunction
) _wrap_new_ShowEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45985 { (char *)"ShowEvent_SetShow", (PyCFunction
) _wrap_ShowEvent_SetShow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45986 { (char *)"ShowEvent_GetShow", (PyCFunction
) _wrap_ShowEvent_GetShow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45987 { (char *)"ShowEvent_swigregister", ShowEvent_swigregister
, METH_VARARGS
, NULL
},
45988 { (char *)"new_IconizeEvent", (PyCFunction
) _wrap_new_IconizeEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45989 { (char *)"IconizeEvent_Iconized", (PyCFunction
) _wrap_IconizeEvent_Iconized
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45990 { (char *)"IconizeEvent_swigregister", IconizeEvent_swigregister
, METH_VARARGS
, NULL
},
45991 { (char *)"new_MaximizeEvent", (PyCFunction
) _wrap_new_MaximizeEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45992 { (char *)"MaximizeEvent_swigregister", MaximizeEvent_swigregister
, METH_VARARGS
, NULL
},
45993 { (char *)"DropFilesEvent_GetPosition", (PyCFunction
) _wrap_DropFilesEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45994 { (char *)"DropFilesEvent_GetNumberOfFiles", (PyCFunction
) _wrap_DropFilesEvent_GetNumberOfFiles
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45995 { (char *)"DropFilesEvent_GetFiles", (PyCFunction
) _wrap_DropFilesEvent_GetFiles
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45996 { (char *)"DropFilesEvent_swigregister", DropFilesEvent_swigregister
, METH_VARARGS
, NULL
},
45997 { (char *)"new_UpdateUIEvent", (PyCFunction
) _wrap_new_UpdateUIEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45998 { (char *)"UpdateUIEvent_GetChecked", (PyCFunction
) _wrap_UpdateUIEvent_GetChecked
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45999 { (char *)"UpdateUIEvent_GetEnabled", (PyCFunction
) _wrap_UpdateUIEvent_GetEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46000 { (char *)"UpdateUIEvent_GetText", (PyCFunction
) _wrap_UpdateUIEvent_GetText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46001 { (char *)"UpdateUIEvent_GetSetText", (PyCFunction
) _wrap_UpdateUIEvent_GetSetText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46002 { (char *)"UpdateUIEvent_GetSetChecked", (PyCFunction
) _wrap_UpdateUIEvent_GetSetChecked
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46003 { (char *)"UpdateUIEvent_GetSetEnabled", (PyCFunction
) _wrap_UpdateUIEvent_GetSetEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46004 { (char *)"UpdateUIEvent_Check", (PyCFunction
) _wrap_UpdateUIEvent_Check
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46005 { (char *)"UpdateUIEvent_Enable", (PyCFunction
) _wrap_UpdateUIEvent_Enable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46006 { (char *)"UpdateUIEvent_SetText", (PyCFunction
) _wrap_UpdateUIEvent_SetText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46007 { (char *)"UpdateUIEvent_SetUpdateInterval", (PyCFunction
) _wrap_UpdateUIEvent_SetUpdateInterval
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46008 { (char *)"UpdateUIEvent_GetUpdateInterval", (PyCFunction
) _wrap_UpdateUIEvent_GetUpdateInterval
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46009 { (char *)"UpdateUIEvent_CanUpdate", (PyCFunction
) _wrap_UpdateUIEvent_CanUpdate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46010 { (char *)"UpdateUIEvent_ResetUpdateTime", (PyCFunction
) _wrap_UpdateUIEvent_ResetUpdateTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46011 { (char *)"UpdateUIEvent_SetMode", (PyCFunction
) _wrap_UpdateUIEvent_SetMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46012 { (char *)"UpdateUIEvent_GetMode", (PyCFunction
) _wrap_UpdateUIEvent_GetMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46013 { (char *)"UpdateUIEvent_swigregister", UpdateUIEvent_swigregister
, METH_VARARGS
, NULL
},
46014 { (char *)"new_SysColourChangedEvent", (PyCFunction
) _wrap_new_SysColourChangedEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46015 { (char *)"SysColourChangedEvent_swigregister", SysColourChangedEvent_swigregister
, METH_VARARGS
, NULL
},
46016 { (char *)"new_MouseCaptureChangedEvent", (PyCFunction
) _wrap_new_MouseCaptureChangedEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46017 { (char *)"MouseCaptureChangedEvent_GetCapturedWindow", (PyCFunction
) _wrap_MouseCaptureChangedEvent_GetCapturedWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46018 { (char *)"MouseCaptureChangedEvent_swigregister", MouseCaptureChangedEvent_swigregister
, METH_VARARGS
, NULL
},
46019 { (char *)"new_DisplayChangedEvent", (PyCFunction
) _wrap_new_DisplayChangedEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46020 { (char *)"DisplayChangedEvent_swigregister", DisplayChangedEvent_swigregister
, METH_VARARGS
, NULL
},
46021 { (char *)"new_PaletteChangedEvent", (PyCFunction
) _wrap_new_PaletteChangedEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46022 { (char *)"PaletteChangedEvent_SetChangedWindow", (PyCFunction
) _wrap_PaletteChangedEvent_SetChangedWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46023 { (char *)"PaletteChangedEvent_GetChangedWindow", (PyCFunction
) _wrap_PaletteChangedEvent_GetChangedWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46024 { (char *)"PaletteChangedEvent_swigregister", PaletteChangedEvent_swigregister
, METH_VARARGS
, NULL
},
46025 { (char *)"new_QueryNewPaletteEvent", (PyCFunction
) _wrap_new_QueryNewPaletteEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46026 { (char *)"QueryNewPaletteEvent_SetPaletteRealized", (PyCFunction
) _wrap_QueryNewPaletteEvent_SetPaletteRealized
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46027 { (char *)"QueryNewPaletteEvent_GetPaletteRealized", (PyCFunction
) _wrap_QueryNewPaletteEvent_GetPaletteRealized
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46028 { (char *)"QueryNewPaletteEvent_swigregister", QueryNewPaletteEvent_swigregister
, METH_VARARGS
, NULL
},
46029 { (char *)"new_NavigationKeyEvent", (PyCFunction
) _wrap_new_NavigationKeyEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46030 { (char *)"NavigationKeyEvent_GetDirection", (PyCFunction
) _wrap_NavigationKeyEvent_GetDirection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46031 { (char *)"NavigationKeyEvent_SetDirection", (PyCFunction
) _wrap_NavigationKeyEvent_SetDirection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46032 { (char *)"NavigationKeyEvent_IsWindowChange", (PyCFunction
) _wrap_NavigationKeyEvent_IsWindowChange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46033 { (char *)"NavigationKeyEvent_SetWindowChange", (PyCFunction
) _wrap_NavigationKeyEvent_SetWindowChange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46034 { (char *)"NavigationKeyEvent_IsFromTab", (PyCFunction
) _wrap_NavigationKeyEvent_IsFromTab
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46035 { (char *)"NavigationKeyEvent_SetFromTab", (PyCFunction
) _wrap_NavigationKeyEvent_SetFromTab
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46036 { (char *)"NavigationKeyEvent_SetFlags", (PyCFunction
) _wrap_NavigationKeyEvent_SetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46037 { (char *)"NavigationKeyEvent_GetCurrentFocus", (PyCFunction
) _wrap_NavigationKeyEvent_GetCurrentFocus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46038 { (char *)"NavigationKeyEvent_SetCurrentFocus", (PyCFunction
) _wrap_NavigationKeyEvent_SetCurrentFocus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46039 { (char *)"NavigationKeyEvent_swigregister", NavigationKeyEvent_swigregister
, METH_VARARGS
, NULL
},
46040 { (char *)"new_WindowCreateEvent", (PyCFunction
) _wrap_new_WindowCreateEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46041 { (char *)"WindowCreateEvent_GetWindow", (PyCFunction
) _wrap_WindowCreateEvent_GetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46042 { (char *)"WindowCreateEvent_swigregister", WindowCreateEvent_swigregister
, METH_VARARGS
, NULL
},
46043 { (char *)"new_WindowDestroyEvent", (PyCFunction
) _wrap_new_WindowDestroyEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46044 { (char *)"WindowDestroyEvent_GetWindow", (PyCFunction
) _wrap_WindowDestroyEvent_GetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46045 { (char *)"WindowDestroyEvent_swigregister", WindowDestroyEvent_swigregister
, METH_VARARGS
, NULL
},
46046 { (char *)"new_ContextMenuEvent", (PyCFunction
) _wrap_new_ContextMenuEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46047 { (char *)"ContextMenuEvent_GetPosition", (PyCFunction
) _wrap_ContextMenuEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46048 { (char *)"ContextMenuEvent_SetPosition", (PyCFunction
) _wrap_ContextMenuEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46049 { (char *)"ContextMenuEvent_swigregister", ContextMenuEvent_swigregister
, METH_VARARGS
, NULL
},
46050 { (char *)"new_IdleEvent", (PyCFunction
) _wrap_new_IdleEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46051 { (char *)"IdleEvent_RequestMore", (PyCFunction
) _wrap_IdleEvent_RequestMore
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46052 { (char *)"IdleEvent_MoreRequested", (PyCFunction
) _wrap_IdleEvent_MoreRequested
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46053 { (char *)"IdleEvent_SetMode", (PyCFunction
) _wrap_IdleEvent_SetMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46054 { (char *)"IdleEvent_GetMode", (PyCFunction
) _wrap_IdleEvent_GetMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46055 { (char *)"IdleEvent_CanSend", (PyCFunction
) _wrap_IdleEvent_CanSend
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46056 { (char *)"IdleEvent_swigregister", IdleEvent_swigregister
, METH_VARARGS
, NULL
},
46057 { (char *)"new_PyEvent", (PyCFunction
) _wrap_new_PyEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46058 { (char *)"delete_PyEvent", (PyCFunction
) _wrap_delete_PyEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46059 { (char *)"PyEvent__SetSelf", (PyCFunction
) _wrap_PyEvent__SetSelf
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46060 { (char *)"PyEvent__GetSelf", (PyCFunction
) _wrap_PyEvent__GetSelf
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46061 { (char *)"PyEvent_swigregister", PyEvent_swigregister
, METH_VARARGS
, NULL
},
46062 { (char *)"new_PyCommandEvent", (PyCFunction
) _wrap_new_PyCommandEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46063 { (char *)"delete_PyCommandEvent", (PyCFunction
) _wrap_delete_PyCommandEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46064 { (char *)"PyCommandEvent__SetSelf", (PyCFunction
) _wrap_PyCommandEvent__SetSelf
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46065 { (char *)"PyCommandEvent__GetSelf", (PyCFunction
) _wrap_PyCommandEvent__GetSelf
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46066 { (char *)"PyCommandEvent_swigregister", PyCommandEvent_swigregister
, METH_VARARGS
, NULL
},
46067 { (char *)"new_DateEvent", (PyCFunction
) _wrap_new_DateEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46068 { (char *)"DateEvent_GetDate", (PyCFunction
) _wrap_DateEvent_GetDate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46069 { (char *)"DateEvent_SetDate", (PyCFunction
) _wrap_DateEvent_SetDate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46070 { (char *)"DateEvent_swigregister", DateEvent_swigregister
, METH_VARARGS
, NULL
},
46071 { (char *)"new_PyApp", (PyCFunction
) _wrap_new_PyApp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46072 { (char *)"delete_PyApp", (PyCFunction
) _wrap_delete_PyApp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46073 { (char *)"PyApp__setCallbackInfo", (PyCFunction
) _wrap_PyApp__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46074 { (char *)"PyApp_GetAppName", (PyCFunction
) _wrap_PyApp_GetAppName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46075 { (char *)"PyApp_SetAppName", (PyCFunction
) _wrap_PyApp_SetAppName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46076 { (char *)"PyApp_GetClassName", (PyCFunction
) _wrap_PyApp_GetClassName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46077 { (char *)"PyApp_SetClassName", (PyCFunction
) _wrap_PyApp_SetClassName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46078 { (char *)"PyApp_GetVendorName", (PyCFunction
) _wrap_PyApp_GetVendorName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46079 { (char *)"PyApp_SetVendorName", (PyCFunction
) _wrap_PyApp_SetVendorName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46080 { (char *)"PyApp_GetTraits", (PyCFunction
) _wrap_PyApp_GetTraits
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46081 { (char *)"PyApp_ProcessPendingEvents", (PyCFunction
) _wrap_PyApp_ProcessPendingEvents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46082 { (char *)"PyApp_Yield", (PyCFunction
) _wrap_PyApp_Yield
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46083 { (char *)"PyApp_WakeUpIdle", (PyCFunction
) _wrap_PyApp_WakeUpIdle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46084 { (char *)"PyApp_IsMainLoopRunning", (PyCFunction
) _wrap_PyApp_IsMainLoopRunning
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46085 { (char *)"PyApp_MainLoop", (PyCFunction
) _wrap_PyApp_MainLoop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46086 { (char *)"PyApp_Exit", (PyCFunction
) _wrap_PyApp_Exit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46087 { (char *)"PyApp_ExitMainLoop", (PyCFunction
) _wrap_PyApp_ExitMainLoop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46088 { (char *)"PyApp_Pending", (PyCFunction
) _wrap_PyApp_Pending
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46089 { (char *)"PyApp_Dispatch", (PyCFunction
) _wrap_PyApp_Dispatch
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46090 { (char *)"PyApp_ProcessIdle", (PyCFunction
) _wrap_PyApp_ProcessIdle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46091 { (char *)"PyApp_SendIdleEvents", (PyCFunction
) _wrap_PyApp_SendIdleEvents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46092 { (char *)"PyApp_IsActive", (PyCFunction
) _wrap_PyApp_IsActive
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46093 { (char *)"PyApp_SetTopWindow", (PyCFunction
) _wrap_PyApp_SetTopWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46094 { (char *)"PyApp_GetTopWindow", (PyCFunction
) _wrap_PyApp_GetTopWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46095 { (char *)"PyApp_SetExitOnFrameDelete", (PyCFunction
) _wrap_PyApp_SetExitOnFrameDelete
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46096 { (char *)"PyApp_GetExitOnFrameDelete", (PyCFunction
) _wrap_PyApp_GetExitOnFrameDelete
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46097 { (char *)"PyApp_SetUseBestVisual", (PyCFunction
) _wrap_PyApp_SetUseBestVisual
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46098 { (char *)"PyApp_GetUseBestVisual", (PyCFunction
) _wrap_PyApp_GetUseBestVisual
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46099 { (char *)"PyApp_SetPrintMode", (PyCFunction
) _wrap_PyApp_SetPrintMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46100 { (char *)"PyApp_GetPrintMode", (PyCFunction
) _wrap_PyApp_GetPrintMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46101 { (char *)"PyApp_SetAssertMode", (PyCFunction
) _wrap_PyApp_SetAssertMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46102 { (char *)"PyApp_GetAssertMode", (PyCFunction
) _wrap_PyApp_GetAssertMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46103 { (char *)"PyApp_GetMacSupportPCMenuShortcuts", (PyCFunction
) _wrap_PyApp_GetMacSupportPCMenuShortcuts
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46104 { (char *)"PyApp_GetMacAboutMenuItemId", (PyCFunction
) _wrap_PyApp_GetMacAboutMenuItemId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46105 { (char *)"PyApp_GetMacPreferencesMenuItemId", (PyCFunction
) _wrap_PyApp_GetMacPreferencesMenuItemId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46106 { (char *)"PyApp_GetMacExitMenuItemId", (PyCFunction
) _wrap_PyApp_GetMacExitMenuItemId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46107 { (char *)"PyApp_GetMacHelpMenuTitleName", (PyCFunction
) _wrap_PyApp_GetMacHelpMenuTitleName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46108 { (char *)"PyApp_SetMacSupportPCMenuShortcuts", (PyCFunction
) _wrap_PyApp_SetMacSupportPCMenuShortcuts
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46109 { (char *)"PyApp_SetMacAboutMenuItemId", (PyCFunction
) _wrap_PyApp_SetMacAboutMenuItemId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46110 { (char *)"PyApp_SetMacPreferencesMenuItemId", (PyCFunction
) _wrap_PyApp_SetMacPreferencesMenuItemId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46111 { (char *)"PyApp_SetMacExitMenuItemId", (PyCFunction
) _wrap_PyApp_SetMacExitMenuItemId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46112 { (char *)"PyApp_SetMacHelpMenuTitleName", (PyCFunction
) _wrap_PyApp_SetMacHelpMenuTitleName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46113 { (char *)"PyApp__BootstrapApp", (PyCFunction
) _wrap_PyApp__BootstrapApp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46114 { (char *)"PyApp_GetComCtl32Version", (PyCFunction
) _wrap_PyApp_GetComCtl32Version
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46115 { (char *)"PyApp_swigregister", PyApp_swigregister
, METH_VARARGS
, NULL
},
46116 { (char *)"Exit", (PyCFunction
) _wrap_Exit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46117 { (char *)"Yield", (PyCFunction
) _wrap_Yield
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46118 { (char *)"YieldIfNeeded", (PyCFunction
) _wrap_YieldIfNeeded
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46119 { (char *)"SafeYield", (PyCFunction
) _wrap_SafeYield
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46120 { (char *)"WakeUpIdle", (PyCFunction
) _wrap_WakeUpIdle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46121 { (char *)"PostEvent", (PyCFunction
) _wrap_PostEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46122 { (char *)"App_CleanUp", (PyCFunction
) _wrap_App_CleanUp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46123 { (char *)"GetApp", (PyCFunction
) _wrap_GetApp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46124 { (char *)"SetDefaultPyEncoding", (PyCFunction
) _wrap_SetDefaultPyEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46125 { (char *)"GetDefaultPyEncoding", (PyCFunction
) _wrap_GetDefaultPyEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46126 { (char *)"new_EventLoop", (PyCFunction
) _wrap_new_EventLoop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46127 { (char *)"delete_EventLoop", (PyCFunction
) _wrap_delete_EventLoop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46128 { (char *)"EventLoop_Run", (PyCFunction
) _wrap_EventLoop_Run
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46129 { (char *)"EventLoop_Exit", (PyCFunction
) _wrap_EventLoop_Exit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46130 { (char *)"EventLoop_Pending", (PyCFunction
) _wrap_EventLoop_Pending
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46131 { (char *)"EventLoop_Dispatch", (PyCFunction
) _wrap_EventLoop_Dispatch
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46132 { (char *)"EventLoop_IsRunning", (PyCFunction
) _wrap_EventLoop_IsRunning
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46133 { (char *)"EventLoop_GetActive", (PyCFunction
) _wrap_EventLoop_GetActive
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46134 { (char *)"EventLoop_SetActive", (PyCFunction
) _wrap_EventLoop_SetActive
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46135 { (char *)"EventLoop_swigregister", EventLoop_swigregister
, METH_VARARGS
, NULL
},
46136 { (char *)"new_AcceleratorEntry", (PyCFunction
) _wrap_new_AcceleratorEntry
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46137 { (char *)"delete_AcceleratorEntry", (PyCFunction
) _wrap_delete_AcceleratorEntry
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46138 { (char *)"AcceleratorEntry_Set", (PyCFunction
) _wrap_AcceleratorEntry_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46139 { (char *)"AcceleratorEntry_GetFlags", (PyCFunction
) _wrap_AcceleratorEntry_GetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46140 { (char *)"AcceleratorEntry_GetKeyCode", (PyCFunction
) _wrap_AcceleratorEntry_GetKeyCode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46141 { (char *)"AcceleratorEntry_GetCommand", (PyCFunction
) _wrap_AcceleratorEntry_GetCommand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46142 { (char *)"AcceleratorEntry_swigregister", AcceleratorEntry_swigregister
, METH_VARARGS
, NULL
},
46143 { (char *)"new_AcceleratorTable", (PyCFunction
) _wrap_new_AcceleratorTable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46144 { (char *)"delete_AcceleratorTable", (PyCFunction
) _wrap_delete_AcceleratorTable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46145 { (char *)"AcceleratorTable_Ok", (PyCFunction
) _wrap_AcceleratorTable_Ok
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46146 { (char *)"AcceleratorTable_swigregister", AcceleratorTable_swigregister
, METH_VARARGS
, NULL
},
46147 { (char *)"GetAccelFromString", (PyCFunction
) _wrap_GetAccelFromString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46148 { (char *)"new_VisualAttributes", (PyCFunction
) _wrap_new_VisualAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46149 { (char *)"delete_VisualAttributes", (PyCFunction
) _wrap_delete_VisualAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46150 { (char *)"VisualAttributes_font_set", (PyCFunction
) _wrap_VisualAttributes_font_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46151 { (char *)"VisualAttributes_font_get", (PyCFunction
) _wrap_VisualAttributes_font_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46152 { (char *)"VisualAttributes_colFg_set", (PyCFunction
) _wrap_VisualAttributes_colFg_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46153 { (char *)"VisualAttributes_colFg_get", (PyCFunction
) _wrap_VisualAttributes_colFg_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46154 { (char *)"VisualAttributes_colBg_set", (PyCFunction
) _wrap_VisualAttributes_colBg_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46155 { (char *)"VisualAttributes_colBg_get", (PyCFunction
) _wrap_VisualAttributes_colBg_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46156 { (char *)"VisualAttributes_swigregister", VisualAttributes_swigregister
, METH_VARARGS
, NULL
},
46157 { (char *)"new_Window", (PyCFunction
) _wrap_new_Window
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46158 { (char *)"new_PreWindow", (PyCFunction
) _wrap_new_PreWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46159 { (char *)"Window_Create", (PyCFunction
) _wrap_Window_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46160 { (char *)"Window_Close", (PyCFunction
) _wrap_Window_Close
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46161 { (char *)"Window_Destroy", (PyCFunction
) _wrap_Window_Destroy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46162 { (char *)"Window_DestroyChildren", (PyCFunction
) _wrap_Window_DestroyChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46163 { (char *)"Window_IsBeingDeleted", (PyCFunction
) _wrap_Window_IsBeingDeleted
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46164 { (char *)"Window_SetTitle", (PyCFunction
) _wrap_Window_SetTitle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46165 { (char *)"Window_GetTitle", (PyCFunction
) _wrap_Window_GetTitle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46166 { (char *)"Window_SetLabel", (PyCFunction
) _wrap_Window_SetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46167 { (char *)"Window_GetLabel", (PyCFunction
) _wrap_Window_GetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46168 { (char *)"Window_SetName", (PyCFunction
) _wrap_Window_SetName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46169 { (char *)"Window_GetName", (PyCFunction
) _wrap_Window_GetName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46170 { (char *)"Window_SetWindowVariant", (PyCFunction
) _wrap_Window_SetWindowVariant
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46171 { (char *)"Window_GetWindowVariant", (PyCFunction
) _wrap_Window_GetWindowVariant
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46172 { (char *)"Window_SetId", (PyCFunction
) _wrap_Window_SetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46173 { (char *)"Window_GetId", (PyCFunction
) _wrap_Window_GetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46174 { (char *)"Window_NewControlId", (PyCFunction
) _wrap_Window_NewControlId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46175 { (char *)"Window_NextControlId", (PyCFunction
) _wrap_Window_NextControlId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46176 { (char *)"Window_PrevControlId", (PyCFunction
) _wrap_Window_PrevControlId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46177 { (char *)"Window_SetSize", (PyCFunction
) _wrap_Window_SetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46178 { (char *)"Window_SetDimensions", (PyCFunction
) _wrap_Window_SetDimensions
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46179 { (char *)"Window_SetRect", (PyCFunction
) _wrap_Window_SetRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46180 { (char *)"Window_SetSizeWH", (PyCFunction
) _wrap_Window_SetSizeWH
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46181 { (char *)"Window_Move", (PyCFunction
) _wrap_Window_Move
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46182 { (char *)"Window_MoveXY", (PyCFunction
) _wrap_Window_MoveXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46183 { (char *)"Window_SetBestFittingSize", (PyCFunction
) _wrap_Window_SetBestFittingSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46184 { (char *)"Window_Raise", (PyCFunction
) _wrap_Window_Raise
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46185 { (char *)"Window_Lower", (PyCFunction
) _wrap_Window_Lower
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46186 { (char *)"Window_SetClientSize", (PyCFunction
) _wrap_Window_SetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46187 { (char *)"Window_SetClientSizeWH", (PyCFunction
) _wrap_Window_SetClientSizeWH
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46188 { (char *)"Window_SetClientRect", (PyCFunction
) _wrap_Window_SetClientRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46189 { (char *)"Window_GetPosition", (PyCFunction
) _wrap_Window_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46190 { (char *)"Window_GetPositionTuple", (PyCFunction
) _wrap_Window_GetPositionTuple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46191 { (char *)"Window_GetSize", (PyCFunction
) _wrap_Window_GetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46192 { (char *)"Window_GetSizeTuple", (PyCFunction
) _wrap_Window_GetSizeTuple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46193 { (char *)"Window_GetRect", (PyCFunction
) _wrap_Window_GetRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46194 { (char *)"Window_GetClientSize", (PyCFunction
) _wrap_Window_GetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46195 { (char *)"Window_GetClientSizeTuple", (PyCFunction
) _wrap_Window_GetClientSizeTuple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46196 { (char *)"Window_GetClientAreaOrigin", (PyCFunction
) _wrap_Window_GetClientAreaOrigin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46197 { (char *)"Window_GetClientRect", (PyCFunction
) _wrap_Window_GetClientRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46198 { (char *)"Window_GetBestSize", (PyCFunction
) _wrap_Window_GetBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46199 { (char *)"Window_GetBestSizeTuple", (PyCFunction
) _wrap_Window_GetBestSizeTuple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46200 { (char *)"Window_InvalidateBestSize", (PyCFunction
) _wrap_Window_InvalidateBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46201 { (char *)"Window_CacheBestSize", (PyCFunction
) _wrap_Window_CacheBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46202 { (char *)"Window_GetBestFittingSize", (PyCFunction
) _wrap_Window_GetBestFittingSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46203 { (char *)"Window_GetAdjustedBestSize", (PyCFunction
) _wrap_Window_GetAdjustedBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46204 { (char *)"Window_Center", (PyCFunction
) _wrap_Window_Center
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46205 { (char *)"Window_CenterOnScreen", (PyCFunction
) _wrap_Window_CenterOnScreen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46206 { (char *)"Window_CenterOnParent", (PyCFunction
) _wrap_Window_CenterOnParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46207 { (char *)"Window_Fit", (PyCFunction
) _wrap_Window_Fit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46208 { (char *)"Window_FitInside", (PyCFunction
) _wrap_Window_FitInside
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46209 { (char *)"Window_SetSizeHints", (PyCFunction
) _wrap_Window_SetSizeHints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46210 { (char *)"Window_SetSizeHintsSz", (PyCFunction
) _wrap_Window_SetSizeHintsSz
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46211 { (char *)"Window_SetVirtualSizeHints", (PyCFunction
) _wrap_Window_SetVirtualSizeHints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46212 { (char *)"Window_SetVirtualSizeHintsSz", (PyCFunction
) _wrap_Window_SetVirtualSizeHintsSz
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46213 { (char *)"Window_GetMaxSize", (PyCFunction
) _wrap_Window_GetMaxSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46214 { (char *)"Window_GetMinSize", (PyCFunction
) _wrap_Window_GetMinSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46215 { (char *)"Window_SetMinSize", (PyCFunction
) _wrap_Window_SetMinSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46216 { (char *)"Window_SetMaxSize", (PyCFunction
) _wrap_Window_SetMaxSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46217 { (char *)"Window_GetMinWidth", (PyCFunction
) _wrap_Window_GetMinWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46218 { (char *)"Window_GetMinHeight", (PyCFunction
) _wrap_Window_GetMinHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46219 { (char *)"Window_GetMaxWidth", (PyCFunction
) _wrap_Window_GetMaxWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46220 { (char *)"Window_GetMaxHeight", (PyCFunction
) _wrap_Window_GetMaxHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46221 { (char *)"Window_SetVirtualSize", (PyCFunction
) _wrap_Window_SetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46222 { (char *)"Window_SetVirtualSizeWH", (PyCFunction
) _wrap_Window_SetVirtualSizeWH
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46223 { (char *)"Window_GetVirtualSize", (PyCFunction
) _wrap_Window_GetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46224 { (char *)"Window_GetVirtualSizeTuple", (PyCFunction
) _wrap_Window_GetVirtualSizeTuple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46225 { (char *)"Window_GetBestVirtualSize", (PyCFunction
) _wrap_Window_GetBestVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46226 { (char *)"Window_Show", (PyCFunction
) _wrap_Window_Show
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46227 { (char *)"Window_Hide", (PyCFunction
) _wrap_Window_Hide
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46228 { (char *)"Window_Enable", (PyCFunction
) _wrap_Window_Enable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46229 { (char *)"Window_Disable", (PyCFunction
) _wrap_Window_Disable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46230 { (char *)"Window_IsShown", (PyCFunction
) _wrap_Window_IsShown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46231 { (char *)"Window_IsEnabled", (PyCFunction
) _wrap_Window_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46232 { (char *)"Window_SetWindowStyleFlag", (PyCFunction
) _wrap_Window_SetWindowStyleFlag
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46233 { (char *)"Window_GetWindowStyleFlag", (PyCFunction
) _wrap_Window_GetWindowStyleFlag
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46234 { (char *)"Window_HasFlag", (PyCFunction
) _wrap_Window_HasFlag
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46235 { (char *)"Window_IsRetained", (PyCFunction
) _wrap_Window_IsRetained
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46236 { (char *)"Window_SetExtraStyle", (PyCFunction
) _wrap_Window_SetExtraStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46237 { (char *)"Window_GetExtraStyle", (PyCFunction
) _wrap_Window_GetExtraStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46238 { (char *)"Window_MakeModal", (PyCFunction
) _wrap_Window_MakeModal
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46239 { (char *)"Window_SetThemeEnabled", (PyCFunction
) _wrap_Window_SetThemeEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46240 { (char *)"Window_GetThemeEnabled", (PyCFunction
) _wrap_Window_GetThemeEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46241 { (char *)"Window_SetFocus", (PyCFunction
) _wrap_Window_SetFocus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46242 { (char *)"Window_SetFocusFromKbd", (PyCFunction
) _wrap_Window_SetFocusFromKbd
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46243 { (char *)"Window_FindFocus", (PyCFunction
) _wrap_Window_FindFocus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46244 { (char *)"Window_AcceptsFocus", (PyCFunction
) _wrap_Window_AcceptsFocus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46245 { (char *)"Window_AcceptsFocusFromKeyboard", (PyCFunction
) _wrap_Window_AcceptsFocusFromKeyboard
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46246 { (char *)"Window_GetDefaultItem", (PyCFunction
) _wrap_Window_GetDefaultItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46247 { (char *)"Window_SetDefaultItem", (PyCFunction
) _wrap_Window_SetDefaultItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46248 { (char *)"Window_SetTmpDefaultItem", (PyCFunction
) _wrap_Window_SetTmpDefaultItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46249 { (char *)"Window_Navigate", (PyCFunction
) _wrap_Window_Navigate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46250 { (char *)"Window_MoveAfterInTabOrder", (PyCFunction
) _wrap_Window_MoveAfterInTabOrder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46251 { (char *)"Window_MoveBeforeInTabOrder", (PyCFunction
) _wrap_Window_MoveBeforeInTabOrder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46252 { (char *)"Window_GetChildren", (PyCFunction
) _wrap_Window_GetChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46253 { (char *)"Window_GetParent", (PyCFunction
) _wrap_Window_GetParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46254 { (char *)"Window_GetGrandParent", (PyCFunction
) _wrap_Window_GetGrandParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46255 { (char *)"Window_IsTopLevel", (PyCFunction
) _wrap_Window_IsTopLevel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46256 { (char *)"Window_Reparent", (PyCFunction
) _wrap_Window_Reparent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46257 { (char *)"Window_AddChild", (PyCFunction
) _wrap_Window_AddChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46258 { (char *)"Window_RemoveChild", (PyCFunction
) _wrap_Window_RemoveChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46259 { (char *)"Window_FindWindowById", (PyCFunction
) _wrap_Window_FindWindowById
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46260 { (char *)"Window_FindWindowByName", (PyCFunction
) _wrap_Window_FindWindowByName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46261 { (char *)"Window_GetEventHandler", (PyCFunction
) _wrap_Window_GetEventHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46262 { (char *)"Window_SetEventHandler", (PyCFunction
) _wrap_Window_SetEventHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46263 { (char *)"Window_PushEventHandler", (PyCFunction
) _wrap_Window_PushEventHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46264 { (char *)"Window_PopEventHandler", (PyCFunction
) _wrap_Window_PopEventHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46265 { (char *)"Window_RemoveEventHandler", (PyCFunction
) _wrap_Window_RemoveEventHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46266 { (char *)"Window_SetValidator", (PyCFunction
) _wrap_Window_SetValidator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46267 { (char *)"Window_GetValidator", (PyCFunction
) _wrap_Window_GetValidator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46268 { (char *)"Window_Validate", (PyCFunction
) _wrap_Window_Validate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46269 { (char *)"Window_TransferDataToWindow", (PyCFunction
) _wrap_Window_TransferDataToWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46270 { (char *)"Window_TransferDataFromWindow", (PyCFunction
) _wrap_Window_TransferDataFromWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46271 { (char *)"Window_InitDialog", (PyCFunction
) _wrap_Window_InitDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46272 { (char *)"Window_SetAcceleratorTable", (PyCFunction
) _wrap_Window_SetAcceleratorTable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46273 { (char *)"Window_GetAcceleratorTable", (PyCFunction
) _wrap_Window_GetAcceleratorTable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46274 { (char *)"Window_RegisterHotKey", (PyCFunction
) _wrap_Window_RegisterHotKey
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46275 { (char *)"Window_UnregisterHotKey", (PyCFunction
) _wrap_Window_UnregisterHotKey
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46276 { (char *)"Window_ConvertDialogPointToPixels", (PyCFunction
) _wrap_Window_ConvertDialogPointToPixels
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46277 { (char *)"Window_ConvertDialogSizeToPixels", (PyCFunction
) _wrap_Window_ConvertDialogSizeToPixels
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46278 { (char *)"Window_DLG_PNT", (PyCFunction
) _wrap_Window_DLG_PNT
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46279 { (char *)"Window_DLG_SZE", (PyCFunction
) _wrap_Window_DLG_SZE
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46280 { (char *)"Window_ConvertPixelPointToDialog", (PyCFunction
) _wrap_Window_ConvertPixelPointToDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46281 { (char *)"Window_ConvertPixelSizeToDialog", (PyCFunction
) _wrap_Window_ConvertPixelSizeToDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46282 { (char *)"Window_WarpPointer", (PyCFunction
) _wrap_Window_WarpPointer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46283 { (char *)"Window_CaptureMouse", (PyCFunction
) _wrap_Window_CaptureMouse
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46284 { (char *)"Window_ReleaseMouse", (PyCFunction
) _wrap_Window_ReleaseMouse
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46285 { (char *)"Window_GetCapture", (PyCFunction
) _wrap_Window_GetCapture
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46286 { (char *)"Window_HasCapture", (PyCFunction
) _wrap_Window_HasCapture
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46287 { (char *)"Window_Refresh", (PyCFunction
) _wrap_Window_Refresh
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46288 { (char *)"Window_RefreshRect", (PyCFunction
) _wrap_Window_RefreshRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46289 { (char *)"Window_Update", (PyCFunction
) _wrap_Window_Update
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46290 { (char *)"Window_ClearBackground", (PyCFunction
) _wrap_Window_ClearBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46291 { (char *)"Window_Freeze", (PyCFunction
) _wrap_Window_Freeze
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46292 { (char *)"Window_Thaw", (PyCFunction
) _wrap_Window_Thaw
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46293 { (char *)"Window_PrepareDC", (PyCFunction
) _wrap_Window_PrepareDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46294 { (char *)"Window_GetUpdateRegion", (PyCFunction
) _wrap_Window_GetUpdateRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46295 { (char *)"Window_GetUpdateClientRect", (PyCFunction
) _wrap_Window_GetUpdateClientRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46296 { (char *)"Window_IsExposed", (PyCFunction
) _wrap_Window_IsExposed
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46297 { (char *)"Window_IsExposedPoint", (PyCFunction
) _wrap_Window_IsExposedPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46298 { (char *)"Window_IsExposedRect", (PyCFunction
) _wrap_Window_IsExposedRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46299 { (char *)"Window_GetDefaultAttributes", (PyCFunction
) _wrap_Window_GetDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46300 { (char *)"Window_GetClassDefaultAttributes", (PyCFunction
) _wrap_Window_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46301 { (char *)"Window_SetBackgroundColour", (PyCFunction
) _wrap_Window_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46302 { (char *)"Window_SetOwnBackgroundColour", (PyCFunction
) _wrap_Window_SetOwnBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46303 { (char *)"Window_SetForegroundColour", (PyCFunction
) _wrap_Window_SetForegroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46304 { (char *)"Window_SetOwnForegroundColour", (PyCFunction
) _wrap_Window_SetOwnForegroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46305 { (char *)"Window_GetBackgroundColour", (PyCFunction
) _wrap_Window_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46306 { (char *)"Window_GetForegroundColour", (PyCFunction
) _wrap_Window_GetForegroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46307 { (char *)"Window_InheritsBackgroundColour", (PyCFunction
) _wrap_Window_InheritsBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46308 { (char *)"Window_UseBgCol", (PyCFunction
) _wrap_Window_UseBgCol
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46309 { (char *)"Window_SetBackgroundStyle", (PyCFunction
) _wrap_Window_SetBackgroundStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46310 { (char *)"Window_GetBackgroundStyle", (PyCFunction
) _wrap_Window_GetBackgroundStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46311 { (char *)"Window_HasTransparentBackground", (PyCFunction
) _wrap_Window_HasTransparentBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46312 { (char *)"Window_SetCursor", (PyCFunction
) _wrap_Window_SetCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46313 { (char *)"Window_GetCursor", (PyCFunction
) _wrap_Window_GetCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46314 { (char *)"Window_SetFont", (PyCFunction
) _wrap_Window_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46315 { (char *)"Window_SetOwnFont", (PyCFunction
) _wrap_Window_SetOwnFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46316 { (char *)"Window_GetFont", (PyCFunction
) _wrap_Window_GetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46317 { (char *)"Window_SetCaret", (PyCFunction
) _wrap_Window_SetCaret
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46318 { (char *)"Window_GetCaret", (PyCFunction
) _wrap_Window_GetCaret
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46319 { (char *)"Window_GetCharHeight", (PyCFunction
) _wrap_Window_GetCharHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46320 { (char *)"Window_GetCharWidth", (PyCFunction
) _wrap_Window_GetCharWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46321 { (char *)"Window_GetTextExtent", (PyCFunction
) _wrap_Window_GetTextExtent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46322 { (char *)"Window_GetFullTextExtent", (PyCFunction
) _wrap_Window_GetFullTextExtent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46323 { (char *)"Window_ClientToScreenXY", (PyCFunction
) _wrap_Window_ClientToScreenXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46324 { (char *)"Window_ScreenToClientXY", (PyCFunction
) _wrap_Window_ScreenToClientXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46325 { (char *)"Window_ClientToScreen", (PyCFunction
) _wrap_Window_ClientToScreen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46326 { (char *)"Window_ScreenToClient", (PyCFunction
) _wrap_Window_ScreenToClient
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46327 { (char *)"Window_HitTestXY", (PyCFunction
) _wrap_Window_HitTestXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46328 { (char *)"Window_HitTest", (PyCFunction
) _wrap_Window_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46329 { (char *)"Window_GetBorder", _wrap_Window_GetBorder
, METH_VARARGS
, NULL
},
46330 { (char *)"Window_UpdateWindowUI", (PyCFunction
) _wrap_Window_UpdateWindowUI
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46331 { (char *)"Window_PopupMenuXY", (PyCFunction
) _wrap_Window_PopupMenuXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46332 { (char *)"Window_PopupMenu", (PyCFunction
) _wrap_Window_PopupMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46333 { (char *)"Window_GetHandle", (PyCFunction
) _wrap_Window_GetHandle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46334 { (char *)"Window_AssociateHandle", (PyCFunction
) _wrap_Window_AssociateHandle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46335 { (char *)"Window_DissociateHandle", (PyCFunction
) _wrap_Window_DissociateHandle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46336 { (char *)"Window_OnPaint", (PyCFunction
) _wrap_Window_OnPaint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46337 { (char *)"Window_HasScrollbar", (PyCFunction
) _wrap_Window_HasScrollbar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46338 { (char *)"Window_SetScrollbar", (PyCFunction
) _wrap_Window_SetScrollbar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46339 { (char *)"Window_SetScrollPos", (PyCFunction
) _wrap_Window_SetScrollPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46340 { (char *)"Window_GetScrollPos", (PyCFunction
) _wrap_Window_GetScrollPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46341 { (char *)"Window_GetScrollThumb", (PyCFunction
) _wrap_Window_GetScrollThumb
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46342 { (char *)"Window_GetScrollRange", (PyCFunction
) _wrap_Window_GetScrollRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46343 { (char *)"Window_ScrollWindow", (PyCFunction
) _wrap_Window_ScrollWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46344 { (char *)"Window_ScrollLines", (PyCFunction
) _wrap_Window_ScrollLines
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46345 { (char *)"Window_ScrollPages", (PyCFunction
) _wrap_Window_ScrollPages
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46346 { (char *)"Window_LineUp", (PyCFunction
) _wrap_Window_LineUp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46347 { (char *)"Window_LineDown", (PyCFunction
) _wrap_Window_LineDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46348 { (char *)"Window_PageUp", (PyCFunction
) _wrap_Window_PageUp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46349 { (char *)"Window_PageDown", (PyCFunction
) _wrap_Window_PageDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46350 { (char *)"Window_SetHelpText", (PyCFunction
) _wrap_Window_SetHelpText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46351 { (char *)"Window_SetHelpTextForId", (PyCFunction
) _wrap_Window_SetHelpTextForId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46352 { (char *)"Window_GetHelpText", (PyCFunction
) _wrap_Window_GetHelpText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46353 { (char *)"Window_SetToolTipString", (PyCFunction
) _wrap_Window_SetToolTipString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46354 { (char *)"Window_SetToolTip", (PyCFunction
) _wrap_Window_SetToolTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46355 { (char *)"Window_GetToolTip", (PyCFunction
) _wrap_Window_GetToolTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46356 { (char *)"Window_SetDropTarget", (PyCFunction
) _wrap_Window_SetDropTarget
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46357 { (char *)"Window_GetDropTarget", (PyCFunction
) _wrap_Window_GetDropTarget
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46358 { (char *)"Window_DragAcceptFiles", (PyCFunction
) _wrap_Window_DragAcceptFiles
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46359 { (char *)"Window_SetConstraints", (PyCFunction
) _wrap_Window_SetConstraints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46360 { (char *)"Window_GetConstraints", (PyCFunction
) _wrap_Window_GetConstraints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46361 { (char *)"Window_SetAutoLayout", (PyCFunction
) _wrap_Window_SetAutoLayout
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46362 { (char *)"Window_GetAutoLayout", (PyCFunction
) _wrap_Window_GetAutoLayout
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46363 { (char *)"Window_Layout", (PyCFunction
) _wrap_Window_Layout
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46364 { (char *)"Window_SetSizer", (PyCFunction
) _wrap_Window_SetSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46365 { (char *)"Window_SetSizerAndFit", (PyCFunction
) _wrap_Window_SetSizerAndFit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46366 { (char *)"Window_GetSizer", (PyCFunction
) _wrap_Window_GetSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46367 { (char *)"Window_SetContainingSizer", (PyCFunction
) _wrap_Window_SetContainingSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46368 { (char *)"Window_GetContainingSizer", (PyCFunction
) _wrap_Window_GetContainingSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46369 { (char *)"Window_InheritAttributes", (PyCFunction
) _wrap_Window_InheritAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46370 { (char *)"Window_ShouldInheritColours", (PyCFunction
) _wrap_Window_ShouldInheritColours
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46371 { (char *)"Window_swigregister", Window_swigregister
, METH_VARARGS
, NULL
},
46372 { (char *)"FindWindowById", (PyCFunction
) _wrap_FindWindowById
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46373 { (char *)"FindWindowByName", (PyCFunction
) _wrap_FindWindowByName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46374 { (char *)"FindWindowByLabel", (PyCFunction
) _wrap_FindWindowByLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46375 { (char *)"Window_FromHWND", (PyCFunction
) _wrap_Window_FromHWND
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46376 { (char *)"GetTopLevelWindows", (PyCFunction
) _wrap_GetTopLevelWindows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46377 { (char *)"new_Validator", (PyCFunction
) _wrap_new_Validator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46378 { (char *)"Validator_Clone", (PyCFunction
) _wrap_Validator_Clone
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46379 { (char *)"Validator_Validate", (PyCFunction
) _wrap_Validator_Validate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46380 { (char *)"Validator_TransferToWindow", (PyCFunction
) _wrap_Validator_TransferToWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46381 { (char *)"Validator_TransferFromWindow", (PyCFunction
) _wrap_Validator_TransferFromWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46382 { (char *)"Validator_GetWindow", (PyCFunction
) _wrap_Validator_GetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46383 { (char *)"Validator_SetWindow", (PyCFunction
) _wrap_Validator_SetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46384 { (char *)"Validator_IsSilent", (PyCFunction
) _wrap_Validator_IsSilent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46385 { (char *)"Validator_SetBellOnError", (PyCFunction
) _wrap_Validator_SetBellOnError
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46386 { (char *)"Validator_swigregister", Validator_swigregister
, METH_VARARGS
, NULL
},
46387 { (char *)"new_PyValidator", (PyCFunction
) _wrap_new_PyValidator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46388 { (char *)"PyValidator__setCallbackInfo", (PyCFunction
) _wrap_PyValidator__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46389 { (char *)"PyValidator_swigregister", PyValidator_swigregister
, METH_VARARGS
, NULL
},
46390 { (char *)"new_Menu", (PyCFunction
) _wrap_new_Menu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46391 { (char *)"Menu_Append", (PyCFunction
) _wrap_Menu_Append
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46392 { (char *)"Menu_AppendSeparator", (PyCFunction
) _wrap_Menu_AppendSeparator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46393 { (char *)"Menu_AppendCheckItem", (PyCFunction
) _wrap_Menu_AppendCheckItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46394 { (char *)"Menu_AppendRadioItem", (PyCFunction
) _wrap_Menu_AppendRadioItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46395 { (char *)"Menu_AppendMenu", (PyCFunction
) _wrap_Menu_AppendMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46396 { (char *)"Menu_AppendItem", (PyCFunction
) _wrap_Menu_AppendItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46397 { (char *)"Menu_Break", (PyCFunction
) _wrap_Menu_Break
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46398 { (char *)"Menu_InsertItem", (PyCFunction
) _wrap_Menu_InsertItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46399 { (char *)"Menu_Insert", (PyCFunction
) _wrap_Menu_Insert
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46400 { (char *)"Menu_InsertSeparator", (PyCFunction
) _wrap_Menu_InsertSeparator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46401 { (char *)"Menu_InsertCheckItem", (PyCFunction
) _wrap_Menu_InsertCheckItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46402 { (char *)"Menu_InsertRadioItem", (PyCFunction
) _wrap_Menu_InsertRadioItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46403 { (char *)"Menu_InsertMenu", (PyCFunction
) _wrap_Menu_InsertMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46404 { (char *)"Menu_PrependItem", (PyCFunction
) _wrap_Menu_PrependItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46405 { (char *)"Menu_Prepend", (PyCFunction
) _wrap_Menu_Prepend
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46406 { (char *)"Menu_PrependSeparator", (PyCFunction
) _wrap_Menu_PrependSeparator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46407 { (char *)"Menu_PrependCheckItem", (PyCFunction
) _wrap_Menu_PrependCheckItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46408 { (char *)"Menu_PrependRadioItem", (PyCFunction
) _wrap_Menu_PrependRadioItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46409 { (char *)"Menu_PrependMenu", (PyCFunction
) _wrap_Menu_PrependMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46410 { (char *)"Menu_Remove", (PyCFunction
) _wrap_Menu_Remove
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46411 { (char *)"Menu_RemoveItem", (PyCFunction
) _wrap_Menu_RemoveItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46412 { (char *)"Menu_Delete", (PyCFunction
) _wrap_Menu_Delete
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46413 { (char *)"Menu_DeleteItem", (PyCFunction
) _wrap_Menu_DeleteItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46414 { (char *)"Menu_Destroy", (PyCFunction
) _wrap_Menu_Destroy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46415 { (char *)"Menu_DestroyId", (PyCFunction
) _wrap_Menu_DestroyId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46416 { (char *)"Menu_DestroyItem", (PyCFunction
) _wrap_Menu_DestroyItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46417 { (char *)"Menu_GetMenuItemCount", (PyCFunction
) _wrap_Menu_GetMenuItemCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46418 { (char *)"Menu_GetMenuItems", (PyCFunction
) _wrap_Menu_GetMenuItems
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46419 { (char *)"Menu_FindItem", (PyCFunction
) _wrap_Menu_FindItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46420 { (char *)"Menu_FindItemById", (PyCFunction
) _wrap_Menu_FindItemById
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46421 { (char *)"Menu_FindItemByPosition", (PyCFunction
) _wrap_Menu_FindItemByPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46422 { (char *)"Menu_Enable", (PyCFunction
) _wrap_Menu_Enable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46423 { (char *)"Menu_IsEnabled", (PyCFunction
) _wrap_Menu_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46424 { (char *)"Menu_Check", (PyCFunction
) _wrap_Menu_Check
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46425 { (char *)"Menu_IsChecked", (PyCFunction
) _wrap_Menu_IsChecked
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46426 { (char *)"Menu_SetLabel", (PyCFunction
) _wrap_Menu_SetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46427 { (char *)"Menu_GetLabel", (PyCFunction
) _wrap_Menu_GetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46428 { (char *)"Menu_SetHelpString", (PyCFunction
) _wrap_Menu_SetHelpString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46429 { (char *)"Menu_GetHelpString", (PyCFunction
) _wrap_Menu_GetHelpString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46430 { (char *)"Menu_SetTitle", (PyCFunction
) _wrap_Menu_SetTitle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46431 { (char *)"Menu_GetTitle", (PyCFunction
) _wrap_Menu_GetTitle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46432 { (char *)"Menu_SetEventHandler", (PyCFunction
) _wrap_Menu_SetEventHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46433 { (char *)"Menu_GetEventHandler", (PyCFunction
) _wrap_Menu_GetEventHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46434 { (char *)"Menu_SetInvokingWindow", (PyCFunction
) _wrap_Menu_SetInvokingWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46435 { (char *)"Menu_GetInvokingWindow", (PyCFunction
) _wrap_Menu_GetInvokingWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46436 { (char *)"Menu_GetStyle", (PyCFunction
) _wrap_Menu_GetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46437 { (char *)"Menu_UpdateUI", (PyCFunction
) _wrap_Menu_UpdateUI
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46438 { (char *)"Menu_GetMenuBar", (PyCFunction
) _wrap_Menu_GetMenuBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46439 { (char *)"Menu_Attach", (PyCFunction
) _wrap_Menu_Attach
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46440 { (char *)"Menu_Detach", (PyCFunction
) _wrap_Menu_Detach
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46441 { (char *)"Menu_IsAttached", (PyCFunction
) _wrap_Menu_IsAttached
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46442 { (char *)"Menu_SetParent", (PyCFunction
) _wrap_Menu_SetParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46443 { (char *)"Menu_GetParent", (PyCFunction
) _wrap_Menu_GetParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46444 { (char *)"Menu_swigregister", Menu_swigregister
, METH_VARARGS
, NULL
},
46445 { (char *)"new_MenuBar", (PyCFunction
) _wrap_new_MenuBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46446 { (char *)"MenuBar_Append", (PyCFunction
) _wrap_MenuBar_Append
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46447 { (char *)"MenuBar_Insert", (PyCFunction
) _wrap_MenuBar_Insert
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46448 { (char *)"MenuBar_GetMenuCount", (PyCFunction
) _wrap_MenuBar_GetMenuCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46449 { (char *)"MenuBar_GetMenu", (PyCFunction
) _wrap_MenuBar_GetMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46450 { (char *)"MenuBar_Replace", (PyCFunction
) _wrap_MenuBar_Replace
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46451 { (char *)"MenuBar_Remove", (PyCFunction
) _wrap_MenuBar_Remove
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46452 { (char *)"MenuBar_EnableTop", (PyCFunction
) _wrap_MenuBar_EnableTop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46453 { (char *)"MenuBar_IsEnabledTop", (PyCFunction
) _wrap_MenuBar_IsEnabledTop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46454 { (char *)"MenuBar_SetLabelTop", (PyCFunction
) _wrap_MenuBar_SetLabelTop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46455 { (char *)"MenuBar_GetLabelTop", (PyCFunction
) _wrap_MenuBar_GetLabelTop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46456 { (char *)"MenuBar_FindMenuItem", (PyCFunction
) _wrap_MenuBar_FindMenuItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46457 { (char *)"MenuBar_FindItemById", (PyCFunction
) _wrap_MenuBar_FindItemById
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46458 { (char *)"MenuBar_FindMenu", (PyCFunction
) _wrap_MenuBar_FindMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46459 { (char *)"MenuBar_Enable", (PyCFunction
) _wrap_MenuBar_Enable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46460 { (char *)"MenuBar_Check", (PyCFunction
) _wrap_MenuBar_Check
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46461 { (char *)"MenuBar_IsChecked", (PyCFunction
) _wrap_MenuBar_IsChecked
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46462 { (char *)"MenuBar_IsEnabled", (PyCFunction
) _wrap_MenuBar_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46463 { (char *)"MenuBar_SetLabel", (PyCFunction
) _wrap_MenuBar_SetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46464 { (char *)"MenuBar_GetLabel", (PyCFunction
) _wrap_MenuBar_GetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46465 { (char *)"MenuBar_SetHelpString", (PyCFunction
) _wrap_MenuBar_SetHelpString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46466 { (char *)"MenuBar_GetHelpString", (PyCFunction
) _wrap_MenuBar_GetHelpString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46467 { (char *)"MenuBar_GetFrame", (PyCFunction
) _wrap_MenuBar_GetFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46468 { (char *)"MenuBar_IsAttached", (PyCFunction
) _wrap_MenuBar_IsAttached
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46469 { (char *)"MenuBar_Attach", (PyCFunction
) _wrap_MenuBar_Attach
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46470 { (char *)"MenuBar_Detach", (PyCFunction
) _wrap_MenuBar_Detach
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46471 { (char *)"MenuBar_SetAutoWindowMenu", (PyCFunction
) _wrap_MenuBar_SetAutoWindowMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46472 { (char *)"MenuBar_GetAutoWindowMenu", (PyCFunction
) _wrap_MenuBar_GetAutoWindowMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46473 { (char *)"MenuBar_swigregister", MenuBar_swigregister
, METH_VARARGS
, NULL
},
46474 { (char *)"new_MenuItem", (PyCFunction
) _wrap_new_MenuItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46475 { (char *)"MenuItem_GetMenu", (PyCFunction
) _wrap_MenuItem_GetMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46476 { (char *)"MenuItem_SetMenu", (PyCFunction
) _wrap_MenuItem_SetMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46477 { (char *)"MenuItem_SetId", (PyCFunction
) _wrap_MenuItem_SetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46478 { (char *)"MenuItem_GetId", (PyCFunction
) _wrap_MenuItem_GetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46479 { (char *)"MenuItem_IsSeparator", (PyCFunction
) _wrap_MenuItem_IsSeparator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46480 { (char *)"MenuItem_SetText", (PyCFunction
) _wrap_MenuItem_SetText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46481 { (char *)"MenuItem_GetLabel", (PyCFunction
) _wrap_MenuItem_GetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46482 { (char *)"MenuItem_GetText", (PyCFunction
) _wrap_MenuItem_GetText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46483 { (char *)"MenuItem_GetLabelFromText", (PyCFunction
) _wrap_MenuItem_GetLabelFromText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46484 { (char *)"MenuItem_GetKind", (PyCFunction
) _wrap_MenuItem_GetKind
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46485 { (char *)"MenuItem_SetKind", (PyCFunction
) _wrap_MenuItem_SetKind
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46486 { (char *)"MenuItem_SetCheckable", (PyCFunction
) _wrap_MenuItem_SetCheckable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46487 { (char *)"MenuItem_IsCheckable", (PyCFunction
) _wrap_MenuItem_IsCheckable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46488 { (char *)"MenuItem_IsSubMenu", (PyCFunction
) _wrap_MenuItem_IsSubMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46489 { (char *)"MenuItem_SetSubMenu", (PyCFunction
) _wrap_MenuItem_SetSubMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46490 { (char *)"MenuItem_GetSubMenu", (PyCFunction
) _wrap_MenuItem_GetSubMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46491 { (char *)"MenuItem_Enable", (PyCFunction
) _wrap_MenuItem_Enable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46492 { (char *)"MenuItem_IsEnabled", (PyCFunction
) _wrap_MenuItem_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46493 { (char *)"MenuItem_Check", (PyCFunction
) _wrap_MenuItem_Check
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46494 { (char *)"MenuItem_IsChecked", (PyCFunction
) _wrap_MenuItem_IsChecked
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46495 { (char *)"MenuItem_Toggle", (PyCFunction
) _wrap_MenuItem_Toggle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46496 { (char *)"MenuItem_SetHelp", (PyCFunction
) _wrap_MenuItem_SetHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46497 { (char *)"MenuItem_GetHelp", (PyCFunction
) _wrap_MenuItem_GetHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46498 { (char *)"MenuItem_GetAccel", (PyCFunction
) _wrap_MenuItem_GetAccel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46499 { (char *)"MenuItem_SetAccel", (PyCFunction
) _wrap_MenuItem_SetAccel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46500 { (char *)"MenuItem_SetFont", (PyCFunction
) _wrap_MenuItem_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46501 { (char *)"MenuItem_GetFont", (PyCFunction
) _wrap_MenuItem_GetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46502 { (char *)"MenuItem_SetTextColour", (PyCFunction
) _wrap_MenuItem_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46503 { (char *)"MenuItem_GetTextColour", (PyCFunction
) _wrap_MenuItem_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46504 { (char *)"MenuItem_SetBackgroundColour", (PyCFunction
) _wrap_MenuItem_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46505 { (char *)"MenuItem_GetBackgroundColour", (PyCFunction
) _wrap_MenuItem_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46506 { (char *)"MenuItem_SetBitmaps", (PyCFunction
) _wrap_MenuItem_SetBitmaps
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46507 { (char *)"MenuItem_SetDisabledBitmap", (PyCFunction
) _wrap_MenuItem_SetDisabledBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46508 { (char *)"MenuItem_GetDisabledBitmap", (PyCFunction
) _wrap_MenuItem_GetDisabledBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46509 { (char *)"MenuItem_SetMarginWidth", (PyCFunction
) _wrap_MenuItem_SetMarginWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46510 { (char *)"MenuItem_GetMarginWidth", (PyCFunction
) _wrap_MenuItem_GetMarginWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46511 { (char *)"MenuItem_GetDefaultMarginWidth", (PyCFunction
) _wrap_MenuItem_GetDefaultMarginWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46512 { (char *)"MenuItem_IsOwnerDrawn", (PyCFunction
) _wrap_MenuItem_IsOwnerDrawn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46513 { (char *)"MenuItem_SetOwnerDrawn", (PyCFunction
) _wrap_MenuItem_SetOwnerDrawn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46514 { (char *)"MenuItem_ResetOwnerDrawn", (PyCFunction
) _wrap_MenuItem_ResetOwnerDrawn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46515 { (char *)"MenuItem_SetBitmap", (PyCFunction
) _wrap_MenuItem_SetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46516 { (char *)"MenuItem_GetBitmap", (PyCFunction
) _wrap_MenuItem_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46517 { (char *)"MenuItem_swigregister", MenuItem_swigregister
, METH_VARARGS
, NULL
},
46518 { (char *)"new_Control", (PyCFunction
) _wrap_new_Control
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46519 { (char *)"new_PreControl", (PyCFunction
) _wrap_new_PreControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46520 { (char *)"Control_Create", (PyCFunction
) _wrap_Control_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46521 { (char *)"Control_Command", (PyCFunction
) _wrap_Control_Command
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46522 { (char *)"Control_GetLabel", (PyCFunction
) _wrap_Control_GetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46523 { (char *)"Control_SetLabel", (PyCFunction
) _wrap_Control_SetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46524 { (char *)"Control_GetClassDefaultAttributes", (PyCFunction
) _wrap_Control_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46525 { (char *)"Control_swigregister", Control_swigregister
, METH_VARARGS
, NULL
},
46526 { (char *)"ItemContainer_Append", (PyCFunction
) _wrap_ItemContainer_Append
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46527 { (char *)"ItemContainer_AppendItems", (PyCFunction
) _wrap_ItemContainer_AppendItems
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46528 { (char *)"ItemContainer_Insert", (PyCFunction
) _wrap_ItemContainer_Insert
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46529 { (char *)"ItemContainer_Clear", (PyCFunction
) _wrap_ItemContainer_Clear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46530 { (char *)"ItemContainer_Delete", (PyCFunction
) _wrap_ItemContainer_Delete
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46531 { (char *)"ItemContainer_GetClientData", (PyCFunction
) _wrap_ItemContainer_GetClientData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46532 { (char *)"ItemContainer_SetClientData", (PyCFunction
) _wrap_ItemContainer_SetClientData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46533 { (char *)"ItemContainer_GetCount", (PyCFunction
) _wrap_ItemContainer_GetCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46534 { (char *)"ItemContainer_IsEmpty", (PyCFunction
) _wrap_ItemContainer_IsEmpty
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46535 { (char *)"ItemContainer_GetString", (PyCFunction
) _wrap_ItemContainer_GetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46536 { (char *)"ItemContainer_GetStrings", (PyCFunction
) _wrap_ItemContainer_GetStrings
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46537 { (char *)"ItemContainer_SetString", (PyCFunction
) _wrap_ItemContainer_SetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46538 { (char *)"ItemContainer_FindString", (PyCFunction
) _wrap_ItemContainer_FindString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46539 { (char *)"ItemContainer_SetSelection", (PyCFunction
) _wrap_ItemContainer_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46540 { (char *)"ItemContainer_GetSelection", (PyCFunction
) _wrap_ItemContainer_GetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46541 { (char *)"ItemContainer_SetStringSelection", (PyCFunction
) _wrap_ItemContainer_SetStringSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46542 { (char *)"ItemContainer_GetStringSelection", (PyCFunction
) _wrap_ItemContainer_GetStringSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46543 { (char *)"ItemContainer_Select", (PyCFunction
) _wrap_ItemContainer_Select
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46544 { (char *)"ItemContainer_swigregister", ItemContainer_swigregister
, METH_VARARGS
, NULL
},
46545 { (char *)"ControlWithItems_swigregister", ControlWithItems_swigregister
, METH_VARARGS
, NULL
},
46546 { (char *)"new_SizerItem", (PyCFunction
) _wrap_new_SizerItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46547 { (char *)"new_SizerItemWindow", (PyCFunction
) _wrap_new_SizerItemWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46548 { (char *)"new_SizerItemSpacer", (PyCFunction
) _wrap_new_SizerItemSpacer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46549 { (char *)"new_SizerItemSizer", (PyCFunction
) _wrap_new_SizerItemSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46550 { (char *)"SizerItem_DeleteWindows", (PyCFunction
) _wrap_SizerItem_DeleteWindows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46551 { (char *)"SizerItem_DetachSizer", (PyCFunction
) _wrap_SizerItem_DetachSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46552 { (char *)"SizerItem_GetSize", (PyCFunction
) _wrap_SizerItem_GetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46553 { (char *)"SizerItem_CalcMin", (PyCFunction
) _wrap_SizerItem_CalcMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46554 { (char *)"SizerItem_SetDimension", (PyCFunction
) _wrap_SizerItem_SetDimension
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46555 { (char *)"SizerItem_GetMinSize", (PyCFunction
) _wrap_SizerItem_GetMinSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46556 { (char *)"SizerItem_GetMinSizeWithBorder", (PyCFunction
) _wrap_SizerItem_GetMinSizeWithBorder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46557 { (char *)"SizerItem_SetInitSize", (PyCFunction
) _wrap_SizerItem_SetInitSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46558 { (char *)"SizerItem_SetRatioWH", (PyCFunction
) _wrap_SizerItem_SetRatioWH
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46559 { (char *)"SizerItem_SetRatioSize", (PyCFunction
) _wrap_SizerItem_SetRatioSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46560 { (char *)"SizerItem_SetRatio", (PyCFunction
) _wrap_SizerItem_SetRatio
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46561 { (char *)"SizerItem_GetRatio", (PyCFunction
) _wrap_SizerItem_GetRatio
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46562 { (char *)"SizerItem_GetRect", (PyCFunction
) _wrap_SizerItem_GetRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46563 { (char *)"SizerItem_IsWindow", (PyCFunction
) _wrap_SizerItem_IsWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46564 { (char *)"SizerItem_IsSizer", (PyCFunction
) _wrap_SizerItem_IsSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46565 { (char *)"SizerItem_IsSpacer", (PyCFunction
) _wrap_SizerItem_IsSpacer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46566 { (char *)"SizerItem_SetProportion", (PyCFunction
) _wrap_SizerItem_SetProportion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46567 { (char *)"SizerItem_GetProportion", (PyCFunction
) _wrap_SizerItem_GetProportion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46568 { (char *)"SizerItem_SetFlag", (PyCFunction
) _wrap_SizerItem_SetFlag
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46569 { (char *)"SizerItem_GetFlag", (PyCFunction
) _wrap_SizerItem_GetFlag
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46570 { (char *)"SizerItem_SetBorder", (PyCFunction
) _wrap_SizerItem_SetBorder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46571 { (char *)"SizerItem_GetBorder", (PyCFunction
) _wrap_SizerItem_GetBorder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46572 { (char *)"SizerItem_GetWindow", (PyCFunction
) _wrap_SizerItem_GetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46573 { (char *)"SizerItem_SetWindow", (PyCFunction
) _wrap_SizerItem_SetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46574 { (char *)"SizerItem_GetSizer", (PyCFunction
) _wrap_SizerItem_GetSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46575 { (char *)"SizerItem_SetSizer", (PyCFunction
) _wrap_SizerItem_SetSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46576 { (char *)"SizerItem_GetSpacer", (PyCFunction
) _wrap_SizerItem_GetSpacer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46577 { (char *)"SizerItem_SetSpacer", (PyCFunction
) _wrap_SizerItem_SetSpacer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46578 { (char *)"SizerItem_Show", (PyCFunction
) _wrap_SizerItem_Show
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46579 { (char *)"SizerItem_IsShown", (PyCFunction
) _wrap_SizerItem_IsShown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46580 { (char *)"SizerItem_GetPosition", (PyCFunction
) _wrap_SizerItem_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46581 { (char *)"SizerItem_GetUserData", (PyCFunction
) _wrap_SizerItem_GetUserData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46582 { (char *)"SizerItem_swigregister", SizerItem_swigregister
, METH_VARARGS
, NULL
},
46583 { (char *)"Sizer__setOORInfo", (PyCFunction
) _wrap_Sizer__setOORInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46584 { (char *)"Sizer_Add", (PyCFunction
) _wrap_Sizer_Add
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46585 { (char *)"Sizer_Insert", (PyCFunction
) _wrap_Sizer_Insert
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46586 { (char *)"Sizer_Prepend", (PyCFunction
) _wrap_Sizer_Prepend
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46587 { (char *)"Sizer_Remove", (PyCFunction
) _wrap_Sizer_Remove
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46588 { (char *)"Sizer_Detach", (PyCFunction
) _wrap_Sizer_Detach
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46589 { (char *)"Sizer_GetItem", (PyCFunction
) _wrap_Sizer_GetItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46590 { (char *)"Sizer__SetItemMinSize", (PyCFunction
) _wrap_Sizer__SetItemMinSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46591 { (char *)"Sizer_AddItem", (PyCFunction
) _wrap_Sizer_AddItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46592 { (char *)"Sizer_InsertItem", (PyCFunction
) _wrap_Sizer_InsertItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46593 { (char *)"Sizer_PrependItem", (PyCFunction
) _wrap_Sizer_PrependItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46594 { (char *)"Sizer_SetDimension", (PyCFunction
) _wrap_Sizer_SetDimension
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46595 { (char *)"Sizer_SetMinSize", (PyCFunction
) _wrap_Sizer_SetMinSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46596 { (char *)"Sizer_GetSize", (PyCFunction
) _wrap_Sizer_GetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46597 { (char *)"Sizer_GetPosition", (PyCFunction
) _wrap_Sizer_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46598 { (char *)"Sizer_GetMinSize", (PyCFunction
) _wrap_Sizer_GetMinSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46599 { (char *)"Sizer_RecalcSizes", (PyCFunction
) _wrap_Sizer_RecalcSizes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46600 { (char *)"Sizer_CalcMin", (PyCFunction
) _wrap_Sizer_CalcMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46601 { (char *)"Sizer_Layout", (PyCFunction
) _wrap_Sizer_Layout
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46602 { (char *)"Sizer_Fit", (PyCFunction
) _wrap_Sizer_Fit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46603 { (char *)"Sizer_FitInside", (PyCFunction
) _wrap_Sizer_FitInside
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46604 { (char *)"Sizer_SetSizeHints", (PyCFunction
) _wrap_Sizer_SetSizeHints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46605 { (char *)"Sizer_SetVirtualSizeHints", (PyCFunction
) _wrap_Sizer_SetVirtualSizeHints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46606 { (char *)"Sizer_Clear", (PyCFunction
) _wrap_Sizer_Clear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46607 { (char *)"Sizer_DeleteWindows", (PyCFunction
) _wrap_Sizer_DeleteWindows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46608 { (char *)"Sizer_GetChildren", (PyCFunction
) _wrap_Sizer_GetChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46609 { (char *)"Sizer_Show", (PyCFunction
) _wrap_Sizer_Show
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46610 { (char *)"Sizer_IsShown", (PyCFunction
) _wrap_Sizer_IsShown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46611 { (char *)"Sizer_ShowItems", (PyCFunction
) _wrap_Sizer_ShowItems
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46612 { (char *)"Sizer_swigregister", Sizer_swigregister
, METH_VARARGS
, NULL
},
46613 { (char *)"new_PySizer", (PyCFunction
) _wrap_new_PySizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46614 { (char *)"PySizer__setCallbackInfo", (PyCFunction
) _wrap_PySizer__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46615 { (char *)"PySizer_swigregister", PySizer_swigregister
, METH_VARARGS
, NULL
},
46616 { (char *)"new_BoxSizer", (PyCFunction
) _wrap_new_BoxSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46617 { (char *)"BoxSizer_GetOrientation", (PyCFunction
) _wrap_BoxSizer_GetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46618 { (char *)"BoxSizer_SetOrientation", (PyCFunction
) _wrap_BoxSizer_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46619 { (char *)"BoxSizer_swigregister", BoxSizer_swigregister
, METH_VARARGS
, NULL
},
46620 { (char *)"new_StaticBoxSizer", (PyCFunction
) _wrap_new_StaticBoxSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46621 { (char *)"StaticBoxSizer_GetStaticBox", (PyCFunction
) _wrap_StaticBoxSizer_GetStaticBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46622 { (char *)"StaticBoxSizer_swigregister", StaticBoxSizer_swigregister
, METH_VARARGS
, NULL
},
46623 { (char *)"new_GridSizer", (PyCFunction
) _wrap_new_GridSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46624 { (char *)"GridSizer_SetCols", (PyCFunction
) _wrap_GridSizer_SetCols
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46625 { (char *)"GridSizer_SetRows", (PyCFunction
) _wrap_GridSizer_SetRows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46626 { (char *)"GridSizer_SetVGap", (PyCFunction
) _wrap_GridSizer_SetVGap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46627 { (char *)"GridSizer_SetHGap", (PyCFunction
) _wrap_GridSizer_SetHGap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46628 { (char *)"GridSizer_GetCols", (PyCFunction
) _wrap_GridSizer_GetCols
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46629 { (char *)"GridSizer_GetRows", (PyCFunction
) _wrap_GridSizer_GetRows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46630 { (char *)"GridSizer_GetVGap", (PyCFunction
) _wrap_GridSizer_GetVGap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46631 { (char *)"GridSizer_GetHGap", (PyCFunction
) _wrap_GridSizer_GetHGap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46632 { (char *)"GridSizer_swigregister", GridSizer_swigregister
, METH_VARARGS
, NULL
},
46633 { (char *)"new_FlexGridSizer", (PyCFunction
) _wrap_new_FlexGridSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46634 { (char *)"FlexGridSizer_AddGrowableRow", (PyCFunction
) _wrap_FlexGridSizer_AddGrowableRow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46635 { (char *)"FlexGridSizer_RemoveGrowableRow", (PyCFunction
) _wrap_FlexGridSizer_RemoveGrowableRow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46636 { (char *)"FlexGridSizer_AddGrowableCol", (PyCFunction
) _wrap_FlexGridSizer_AddGrowableCol
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46637 { (char *)"FlexGridSizer_RemoveGrowableCol", (PyCFunction
) _wrap_FlexGridSizer_RemoveGrowableCol
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46638 { (char *)"FlexGridSizer_SetFlexibleDirection", (PyCFunction
) _wrap_FlexGridSizer_SetFlexibleDirection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46639 { (char *)"FlexGridSizer_GetFlexibleDirection", (PyCFunction
) _wrap_FlexGridSizer_GetFlexibleDirection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46640 { (char *)"FlexGridSizer_SetNonFlexibleGrowMode", (PyCFunction
) _wrap_FlexGridSizer_SetNonFlexibleGrowMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46641 { (char *)"FlexGridSizer_GetNonFlexibleGrowMode", (PyCFunction
) _wrap_FlexGridSizer_GetNonFlexibleGrowMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46642 { (char *)"FlexGridSizer_GetRowHeights", (PyCFunction
) _wrap_FlexGridSizer_GetRowHeights
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46643 { (char *)"FlexGridSizer_GetColWidths", (PyCFunction
) _wrap_FlexGridSizer_GetColWidths
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46644 { (char *)"FlexGridSizer_swigregister", FlexGridSizer_swigregister
, METH_VARARGS
, NULL
},
46645 { (char *)"new_StdDialogButtonSizer", (PyCFunction
) _wrap_new_StdDialogButtonSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46646 { (char *)"StdDialogButtonSizer_AddButton", (PyCFunction
) _wrap_StdDialogButtonSizer_AddButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46647 { (char *)"StdDialogButtonSizer_Realize", (PyCFunction
) _wrap_StdDialogButtonSizer_Realize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46648 { (char *)"StdDialogButtonSizer_SetAffirmativeButton", (PyCFunction
) _wrap_StdDialogButtonSizer_SetAffirmativeButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46649 { (char *)"StdDialogButtonSizer_SetNegativeButton", (PyCFunction
) _wrap_StdDialogButtonSizer_SetNegativeButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46650 { (char *)"StdDialogButtonSizer_SetCancelButton", (PyCFunction
) _wrap_StdDialogButtonSizer_SetCancelButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46651 { (char *)"StdDialogButtonSizer_GetAffirmativeButton", (PyCFunction
) _wrap_StdDialogButtonSizer_GetAffirmativeButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46652 { (char *)"StdDialogButtonSizer_GetApplyButton", (PyCFunction
) _wrap_StdDialogButtonSizer_GetApplyButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46653 { (char *)"StdDialogButtonSizer_GetNegativeButton", (PyCFunction
) _wrap_StdDialogButtonSizer_GetNegativeButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46654 { (char *)"StdDialogButtonSizer_GetCancelButton", (PyCFunction
) _wrap_StdDialogButtonSizer_GetCancelButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46655 { (char *)"StdDialogButtonSizer_GetHelpButton", (PyCFunction
) _wrap_StdDialogButtonSizer_GetHelpButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46656 { (char *)"StdDialogButtonSizer_swigregister", StdDialogButtonSizer_swigregister
, METH_VARARGS
, NULL
},
46657 { (char *)"new_GBPosition", (PyCFunction
) _wrap_new_GBPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46658 { (char *)"GBPosition_GetRow", (PyCFunction
) _wrap_GBPosition_GetRow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46659 { (char *)"GBPosition_GetCol", (PyCFunction
) _wrap_GBPosition_GetCol
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46660 { (char *)"GBPosition_SetRow", (PyCFunction
) _wrap_GBPosition_SetRow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46661 { (char *)"GBPosition_SetCol", (PyCFunction
) _wrap_GBPosition_SetCol
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46662 { (char *)"GBPosition___eq__", (PyCFunction
) _wrap_GBPosition___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46663 { (char *)"GBPosition___ne__", (PyCFunction
) _wrap_GBPosition___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46664 { (char *)"GBPosition_Set", (PyCFunction
) _wrap_GBPosition_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46665 { (char *)"GBPosition_Get", (PyCFunction
) _wrap_GBPosition_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46666 { (char *)"GBPosition_swigregister", GBPosition_swigregister
, METH_VARARGS
, NULL
},
46667 { (char *)"new_GBSpan", (PyCFunction
) _wrap_new_GBSpan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46668 { (char *)"GBSpan_GetRowspan", (PyCFunction
) _wrap_GBSpan_GetRowspan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46669 { (char *)"GBSpan_GetColspan", (PyCFunction
) _wrap_GBSpan_GetColspan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46670 { (char *)"GBSpan_SetRowspan", (PyCFunction
) _wrap_GBSpan_SetRowspan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46671 { (char *)"GBSpan_SetColspan", (PyCFunction
) _wrap_GBSpan_SetColspan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46672 { (char *)"GBSpan___eq__", (PyCFunction
) _wrap_GBSpan___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46673 { (char *)"GBSpan___ne__", (PyCFunction
) _wrap_GBSpan___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46674 { (char *)"GBSpan_Set", (PyCFunction
) _wrap_GBSpan_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46675 { (char *)"GBSpan_Get", (PyCFunction
) _wrap_GBSpan_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46676 { (char *)"GBSpan_swigregister", GBSpan_swigregister
, METH_VARARGS
, NULL
},
46677 { (char *)"new_GBSizerItem", (PyCFunction
) _wrap_new_GBSizerItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46678 { (char *)"new_GBSizerItemWindow", (PyCFunction
) _wrap_new_GBSizerItemWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46679 { (char *)"new_GBSizerItemSizer", (PyCFunction
) _wrap_new_GBSizerItemSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46680 { (char *)"new_GBSizerItemSpacer", (PyCFunction
) _wrap_new_GBSizerItemSpacer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46681 { (char *)"GBSizerItem_GetPos", (PyCFunction
) _wrap_GBSizerItem_GetPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46682 { (char *)"GBSizerItem_GetSpan", (PyCFunction
) _wrap_GBSizerItem_GetSpan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46683 { (char *)"GBSizerItem_SetPos", (PyCFunction
) _wrap_GBSizerItem_SetPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46684 { (char *)"GBSizerItem_SetSpan", (PyCFunction
) _wrap_GBSizerItem_SetSpan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46685 { (char *)"GBSizerItem_Intersects", (PyCFunction
) _wrap_GBSizerItem_Intersects
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46686 { (char *)"GBSizerItem_IntersectsPos", (PyCFunction
) _wrap_GBSizerItem_IntersectsPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46687 { (char *)"GBSizerItem_GetEndPos", (PyCFunction
) _wrap_GBSizerItem_GetEndPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46688 { (char *)"GBSizerItem_GetGBSizer", (PyCFunction
) _wrap_GBSizerItem_GetGBSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46689 { (char *)"GBSizerItem_SetGBSizer", (PyCFunction
) _wrap_GBSizerItem_SetGBSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46690 { (char *)"GBSizerItem_swigregister", GBSizerItem_swigregister
, METH_VARARGS
, NULL
},
46691 { (char *)"new_GridBagSizer", (PyCFunction
) _wrap_new_GridBagSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46692 { (char *)"GridBagSizer_Add", (PyCFunction
) _wrap_GridBagSizer_Add
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46693 { (char *)"GridBagSizer_AddItem", (PyCFunction
) _wrap_GridBagSizer_AddItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46694 { (char *)"GridBagSizer_GetCellSize", (PyCFunction
) _wrap_GridBagSizer_GetCellSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46695 { (char *)"GridBagSizer_GetEmptyCellSize", (PyCFunction
) _wrap_GridBagSizer_GetEmptyCellSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46696 { (char *)"GridBagSizer_SetEmptyCellSize", (PyCFunction
) _wrap_GridBagSizer_SetEmptyCellSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46697 { (char *)"GridBagSizer_GetItemPosition", _wrap_GridBagSizer_GetItemPosition
, METH_VARARGS
, NULL
},
46698 { (char *)"GridBagSizer_SetItemPosition", _wrap_GridBagSizer_SetItemPosition
, METH_VARARGS
, NULL
},
46699 { (char *)"GridBagSizer_GetItemSpan", _wrap_GridBagSizer_GetItemSpan
, METH_VARARGS
, NULL
},
46700 { (char *)"GridBagSizer_SetItemSpan", _wrap_GridBagSizer_SetItemSpan
, METH_VARARGS
, NULL
},
46701 { (char *)"GridBagSizer_FindItem", _wrap_GridBagSizer_FindItem
, METH_VARARGS
, NULL
},
46702 { (char *)"GridBagSizer_FindItemAtPosition", (PyCFunction
) _wrap_GridBagSizer_FindItemAtPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46703 { (char *)"GridBagSizer_FindItemAtPoint", (PyCFunction
) _wrap_GridBagSizer_FindItemAtPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46704 { (char *)"GridBagSizer_CheckForIntersection", (PyCFunction
) _wrap_GridBagSizer_CheckForIntersection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46705 { (char *)"GridBagSizer_CheckForIntersectionPos", (PyCFunction
) _wrap_GridBagSizer_CheckForIntersectionPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46706 { (char *)"GridBagSizer_swigregister", GridBagSizer_swigregister
, METH_VARARGS
, NULL
},
46707 { (char *)"IndividualLayoutConstraint_Set", (PyCFunction
) _wrap_IndividualLayoutConstraint_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46708 { (char *)"IndividualLayoutConstraint_LeftOf", (PyCFunction
) _wrap_IndividualLayoutConstraint_LeftOf
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46709 { (char *)"IndividualLayoutConstraint_RightOf", (PyCFunction
) _wrap_IndividualLayoutConstraint_RightOf
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46710 { (char *)"IndividualLayoutConstraint_Above", (PyCFunction
) _wrap_IndividualLayoutConstraint_Above
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46711 { (char *)"IndividualLayoutConstraint_Below", (PyCFunction
) _wrap_IndividualLayoutConstraint_Below
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46712 { (char *)"IndividualLayoutConstraint_SameAs", (PyCFunction
) _wrap_IndividualLayoutConstraint_SameAs
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46713 { (char *)"IndividualLayoutConstraint_PercentOf", (PyCFunction
) _wrap_IndividualLayoutConstraint_PercentOf
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46714 { (char *)"IndividualLayoutConstraint_Absolute", (PyCFunction
) _wrap_IndividualLayoutConstraint_Absolute
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46715 { (char *)"IndividualLayoutConstraint_Unconstrained", (PyCFunction
) _wrap_IndividualLayoutConstraint_Unconstrained
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46716 { (char *)"IndividualLayoutConstraint_AsIs", (PyCFunction
) _wrap_IndividualLayoutConstraint_AsIs
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46717 { (char *)"IndividualLayoutConstraint_GetOtherWindow", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetOtherWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46718 { (char *)"IndividualLayoutConstraint_GetMyEdge", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetMyEdge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46719 { (char *)"IndividualLayoutConstraint_SetEdge", (PyCFunction
) _wrap_IndividualLayoutConstraint_SetEdge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46720 { (char *)"IndividualLayoutConstraint_SetValue", (PyCFunction
) _wrap_IndividualLayoutConstraint_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46721 { (char *)"IndividualLayoutConstraint_GetMargin", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetMargin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46722 { (char *)"IndividualLayoutConstraint_SetMargin", (PyCFunction
) _wrap_IndividualLayoutConstraint_SetMargin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46723 { (char *)"IndividualLayoutConstraint_GetValue", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46724 { (char *)"IndividualLayoutConstraint_GetPercent", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetPercent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46725 { (char *)"IndividualLayoutConstraint_GetOtherEdge", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetOtherEdge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46726 { (char *)"IndividualLayoutConstraint_GetDone", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetDone
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46727 { (char *)"IndividualLayoutConstraint_SetDone", (PyCFunction
) _wrap_IndividualLayoutConstraint_SetDone
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46728 { (char *)"IndividualLayoutConstraint_GetRelationship", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetRelationship
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46729 { (char *)"IndividualLayoutConstraint_SetRelationship", (PyCFunction
) _wrap_IndividualLayoutConstraint_SetRelationship
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46730 { (char *)"IndividualLayoutConstraint_ResetIfWin", (PyCFunction
) _wrap_IndividualLayoutConstraint_ResetIfWin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46731 { (char *)"IndividualLayoutConstraint_SatisfyConstraint", (PyCFunction
) _wrap_IndividualLayoutConstraint_SatisfyConstraint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46732 { (char *)"IndividualLayoutConstraint_GetEdge", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetEdge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46733 { (char *)"IndividualLayoutConstraint_swigregister", IndividualLayoutConstraint_swigregister
, METH_VARARGS
, NULL
},
46734 { (char *)"LayoutConstraints_left_get", (PyCFunction
) _wrap_LayoutConstraints_left_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46735 { (char *)"LayoutConstraints_top_get", (PyCFunction
) _wrap_LayoutConstraints_top_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46736 { (char *)"LayoutConstraints_right_get", (PyCFunction
) _wrap_LayoutConstraints_right_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46737 { (char *)"LayoutConstraints_bottom_get", (PyCFunction
) _wrap_LayoutConstraints_bottom_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46738 { (char *)"LayoutConstraints_width_get", (PyCFunction
) _wrap_LayoutConstraints_width_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46739 { (char *)"LayoutConstraints_height_get", (PyCFunction
) _wrap_LayoutConstraints_height_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46740 { (char *)"LayoutConstraints_centreX_get", (PyCFunction
) _wrap_LayoutConstraints_centreX_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46741 { (char *)"LayoutConstraints_centreY_get", (PyCFunction
) _wrap_LayoutConstraints_centreY_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46742 { (char *)"new_LayoutConstraints", (PyCFunction
) _wrap_new_LayoutConstraints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46743 { (char *)"LayoutConstraints_SatisfyConstraints", (PyCFunction
) _wrap_LayoutConstraints_SatisfyConstraints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46744 { (char *)"LayoutConstraints_AreSatisfied", (PyCFunction
) _wrap_LayoutConstraints_AreSatisfied
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46745 { (char *)"LayoutConstraints_swigregister", LayoutConstraints_swigregister
, METH_VARARGS
, NULL
},
46746 { NULL
, NULL
, 0, NULL
}
46750 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
46752 static void *_p_wxGBSizerItemTo_p_wxSizerItem(void *x
) {
46753 return (void *)((wxSizerItem
*) ((wxGBSizerItem
*) x
));
46755 static void *_p_wxBoxSizerTo_p_wxSizer(void *x
) {
46756 return (void *)((wxSizer
*) ((wxBoxSizer
*) x
));
46758 static void *_p_wxStaticBoxSizerTo_p_wxSizer(void *x
) {
46759 return (void *)((wxSizer
*) (wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
46761 static void *_p_wxStdDialogButtonSizerTo_p_wxSizer(void *x
) {
46762 return (void *)((wxSizer
*) (wxBoxSizer
*) ((wxStdDialogButtonSizer
*) x
));
46764 static void *_p_wxGridBagSizerTo_p_wxSizer(void *x
) {
46765 return (void *)((wxSizer
*) (wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
46767 static void *_p_wxGridSizerTo_p_wxSizer(void *x
) {
46768 return (void *)((wxSizer
*) ((wxGridSizer
*) x
));
46770 static void *_p_wxFlexGridSizerTo_p_wxSizer(void *x
) {
46771 return (void *)((wxSizer
*) (wxGridSizer
*) ((wxFlexGridSizer
*) x
));
46773 static void *_p_wxPySizerTo_p_wxSizer(void *x
) {
46774 return (void *)((wxSizer
*) ((wxPySizer
*) x
));
46776 static void *_p_wxStaticBoxSizerTo_p_wxBoxSizer(void *x
) {
46777 return (void *)((wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
46779 static void *_p_wxStdDialogButtonSizerTo_p_wxBoxSizer(void *x
) {
46780 return (void *)((wxBoxSizer
*) ((wxStdDialogButtonSizer
*) x
));
46782 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x
) {
46783 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
46785 static void *_p_wxMenuEventTo_p_wxEvent(void *x
) {
46786 return (void *)((wxEvent
*) ((wxMenuEvent
*) x
));
46788 static void *_p_wxCloseEventTo_p_wxEvent(void *x
) {
46789 return (void *)((wxEvent
*) ((wxCloseEvent
*) x
));
46791 static void *_p_wxMouseEventTo_p_wxEvent(void *x
) {
46792 return (void *)((wxEvent
*) ((wxMouseEvent
*) x
));
46794 static void *_p_wxEraseEventTo_p_wxEvent(void *x
) {
46795 return (void *)((wxEvent
*) ((wxEraseEvent
*) x
));
46797 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x
) {
46798 return (void *)((wxEvent
*) ((wxSetCursorEvent
*) x
));
46800 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x
) {
46801 return (void *)((wxEvent
*) ((wxInitDialogEvent
*) x
));
46803 static void *_p_wxScrollEventTo_p_wxEvent(void *x
) {
46804 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxScrollEvent
*) x
));
46806 static void *_p_wxPyEventTo_p_wxEvent(void *x
) {
46807 return (void *)((wxEvent
*) ((wxPyEvent
*) x
));
46809 static void *_p_wxNotifyEventTo_p_wxEvent(void *x
) {
46810 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxNotifyEvent
*) x
));
46812 static void *_p_wxIdleEventTo_p_wxEvent(void *x
) {
46813 return (void *)((wxEvent
*) ((wxIdleEvent
*) x
));
46815 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x
) {
46816 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
46818 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x
) {
46819 return (void *)((wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
46821 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x
) {
46822 return (void *)((wxEvent
*) ((wxMaximizeEvent
*) x
));
46824 static void *_p_wxIconizeEventTo_p_wxEvent(void *x
) {
46825 return (void *)((wxEvent
*) ((wxIconizeEvent
*) x
));
46827 static void *_p_wxActivateEventTo_p_wxEvent(void *x
) {
46828 return (void *)((wxEvent
*) ((wxActivateEvent
*) x
));
46830 static void *_p_wxSizeEventTo_p_wxEvent(void *x
) {
46831 return (void *)((wxEvent
*) ((wxSizeEvent
*) x
));
46833 static void *_p_wxMoveEventTo_p_wxEvent(void *x
) {
46834 return (void *)((wxEvent
*) ((wxMoveEvent
*) x
));
46836 static void *_p_wxDateEventTo_p_wxEvent(void *x
) {
46837 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxDateEvent
*) x
));
46839 static void *_p_wxPaintEventTo_p_wxEvent(void *x
) {
46840 return (void *)((wxEvent
*) ((wxPaintEvent
*) x
));
46842 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x
) {
46843 return (void *)((wxEvent
*) ((wxNcPaintEvent
*) x
));
46845 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x
) {
46846 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
46848 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x
) {
46849 return (void *)((wxEvent
*) ((wxPaletteChangedEvent
*) x
));
46851 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x
) {
46852 return (void *)((wxEvent
*) ((wxDisplayChangedEvent
*) x
));
46854 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x
) {
46855 return (void *)((wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
46857 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x
) {
46858 return (void *)((wxEvent
*) ((wxSysColourChangedEvent
*) x
));
46860 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x
) {
46861 return (void *)((wxEvent
*) ((wxDropFilesEvent
*) x
));
46863 static void *_p_wxFocusEventTo_p_wxEvent(void *x
) {
46864 return (void *)((wxEvent
*) ((wxFocusEvent
*) x
));
46866 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x
) {
46867 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
46869 static void *_p_wxShowEventTo_p_wxEvent(void *x
) {
46870 return (void *)((wxEvent
*) ((wxShowEvent
*) x
));
46872 static void *_p_wxCommandEventTo_p_wxEvent(void *x
) {
46873 return (void *)((wxEvent
*) ((wxCommandEvent
*) x
));
46875 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x
) {
46876 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
46878 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x
) {
46879 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
46881 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x
) {
46882 return (void *)((wxEvent
*) ((wxNavigationKeyEvent
*) x
));
46884 static void *_p_wxKeyEventTo_p_wxEvent(void *x
) {
46885 return (void *)((wxEvent
*) ((wxKeyEvent
*) x
));
46887 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x
) {
46888 return (void *)((wxEvent
*) ((wxScrollWinEvent
*) x
));
46890 static void *_p_wxGridBagSizerTo_p_wxGridSizer(void *x
) {
46891 return (void *)((wxGridSizer
*) (wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
46893 static void *_p_wxFlexGridSizerTo_p_wxGridSizer(void *x
) {
46894 return (void *)((wxGridSizer
*) ((wxFlexGridSizer
*) x
));
46896 static void *_p_wxGridBagSizerTo_p_wxFlexGridSizer(void *x
) {
46897 return (void *)((wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
46899 static void *_p_wxControlWithItemsTo_p_wxItemContainer(void *x
) {
46900 return (void *)((wxItemContainer
*) ((wxControlWithItems
*) x
));
46902 static void *_p_wxControlWithItemsTo_p_wxControl(void *x
) {
46903 return (void *)((wxControl
*) ((wxControlWithItems
*) x
));
46905 static void *_p_wxControlTo_p_wxEvtHandler(void *x
) {
46906 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxControl
*) x
));
46908 static void *_p_wxWindowTo_p_wxEvtHandler(void *x
) {
46909 return (void *)((wxEvtHandler
*) ((wxWindow
*) x
));
46911 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x
) {
46912 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
46914 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x
) {
46915 return (void *)((wxEvtHandler
*) ((wxPyApp
*) x
));
46917 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x
) {
46918 return (void *)((wxEvtHandler
*) ((wxValidator
*) x
));
46920 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x
) {
46921 return (void *)((wxEvtHandler
*) (wxValidator
*) ((wxPyValidator
*) x
));
46923 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x
) {
46924 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMenuBar
*) x
));
46926 static void *_p_wxMenuTo_p_wxEvtHandler(void *x
) {
46927 return (void *)((wxEvtHandler
*) ((wxMenu
*) x
));
46929 static void *_p_wxANIHandlerTo_p_wxCURHandler(void *x
) {
46930 return (void *)((wxCURHandler
*) ((wxANIHandler
*) x
));
46932 static void *_p_wxCURHandlerTo_p_wxICOHandler(void *x
) {
46933 return (void *)((wxICOHandler
*) ((wxCURHandler
*) x
));
46935 static void *_p_wxANIHandlerTo_p_wxICOHandler(void *x
) {
46936 return (void *)((wxICOHandler
*) (wxCURHandler
*) ((wxANIHandler
*) x
));
46938 static void *_p_wxICOHandlerTo_p_wxBMPHandler(void *x
) {
46939 return (void *)((wxBMPHandler
*) ((wxICOHandler
*) x
));
46941 static void *_p_wxCURHandlerTo_p_wxBMPHandler(void *x
) {
46942 return (void *)((wxBMPHandler
*) (wxICOHandler
*) ((wxCURHandler
*) x
));
46944 static void *_p_wxANIHandlerTo_p_wxBMPHandler(void *x
) {
46945 return (void *)((wxBMPHandler
*) (wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
46947 static void *_p_wxBMPHandlerTo_p_wxImageHandler(void *x
) {
46948 return (void *)((wxImageHandler
*) ((wxBMPHandler
*) x
));
46950 static void *_p_wxICOHandlerTo_p_wxImageHandler(void *x
) {
46951 return (void *)((wxImageHandler
*) (wxBMPHandler
*) ((wxICOHandler
*) x
));
46953 static void *_p_wxCURHandlerTo_p_wxImageHandler(void *x
) {
46954 return (void *)((wxImageHandler
*) (wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
46956 static void *_p_wxANIHandlerTo_p_wxImageHandler(void *x
) {
46957 return (void *)((wxImageHandler
*) (wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
46959 static void *_p_wxPNGHandlerTo_p_wxImageHandler(void *x
) {
46960 return (void *)((wxImageHandler
*) ((wxPNGHandler
*) x
));
46962 static void *_p_wxGIFHandlerTo_p_wxImageHandler(void *x
) {
46963 return (void *)((wxImageHandler
*) ((wxGIFHandler
*) x
));
46965 static void *_p_wxPCXHandlerTo_p_wxImageHandler(void *x
) {
46966 return (void *)((wxImageHandler
*) ((wxPCXHandler
*) x
));
46968 static void *_p_wxJPEGHandlerTo_p_wxImageHandler(void *x
) {
46969 return (void *)((wxImageHandler
*) ((wxJPEGHandler
*) x
));
46971 static void *_p_wxPNMHandlerTo_p_wxImageHandler(void *x
) {
46972 return (void *)((wxImageHandler
*) ((wxPNMHandler
*) x
));
46974 static void *_p_wxXPMHandlerTo_p_wxImageHandler(void *x
) {
46975 return (void *)((wxImageHandler
*) ((wxXPMHandler
*) x
));
46977 static void *_p_wxTIFFHandlerTo_p_wxImageHandler(void *x
) {
46978 return (void *)((wxImageHandler
*) ((wxTIFFHandler
*) x
));
46980 static void *_p_wxPyFileSystemHandlerTo_p_wxFileSystemHandler(void *x
) {
46981 return (void *)((wxFileSystemHandler
*) ((wxPyFileSystemHandler
*) x
));
46983 static void *_p_wxInternetFSHandlerTo_p_wxFileSystemHandler(void *x
) {
46984 return (void *)((wxFileSystemHandler
*) ((wxInternetFSHandler
*) x
));
46986 static void *_p_wxZipFSHandlerTo_p_wxFileSystemHandler(void *x
) {
46987 return (void *)((wxFileSystemHandler
*) ((wxZipFSHandler
*) x
));
46989 static void *_p_wxMemoryFSHandlerTo_p_wxFileSystemHandler(void *x
) {
46990 return (void *)((wxFileSystemHandler
*) ((wxMemoryFSHandler
*) x
));
46992 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
46993 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
46995 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
46996 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
46998 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
46999 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
47001 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
47002 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
47004 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
47005 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
47007 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
47008 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
47010 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
47011 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
47013 static void *_p_wxSizerTo_p_wxObject(void *x
) {
47014 return (void *)((wxObject
*) ((wxSizer
*) x
));
47016 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
47017 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
47019 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
47020 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
47022 static void *_p_wxEventTo_p_wxObject(void *x
) {
47023 return (void *)((wxObject
*) ((wxEvent
*) x
));
47025 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
47026 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
47028 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
47029 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
47031 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
47032 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
47034 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
47035 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
47037 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
47038 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
47040 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
47041 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
47043 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
47044 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
47046 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
47047 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
47049 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
47050 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
47052 static void *_p_wxControlTo_p_wxObject(void *x
) {
47053 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
47055 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
47056 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
47058 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
47059 return (void *)((wxObject
*) ((wxFSFile
*) x
));
47061 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
47062 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
47064 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
47065 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
47067 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
47068 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
47070 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
47071 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
47073 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
47074 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
47076 static void *_p_wxDateEventTo_p_wxObject(void *x
) {
47077 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxDateEvent
*) x
));
47079 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
47080 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
47082 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
47083 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
47085 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
47086 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
47088 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
47089 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
47091 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
47092 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
47094 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
47095 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
47097 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
47098 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
47100 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
47101 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
47103 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
47104 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
47106 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
47107 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
47109 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
47110 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
47112 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
47113 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
47115 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
47116 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
47118 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
47119 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
47121 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
47122 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
47124 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
47125 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
47127 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
47128 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
47130 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
47131 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
47133 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
47134 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
47136 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
47137 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
47139 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
47140 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
47142 static void *_p_wxStdDialogButtonSizerTo_p_wxObject(void *x
) {
47143 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStdDialogButtonSizer
*) x
));
47145 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
47146 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
47148 static void *_p_wxImageTo_p_wxObject(void *x
) {
47149 return (void *)((wxObject
*) ((wxImage
*) x
));
47151 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
47152 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
47154 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
47155 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
47157 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
47158 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
47160 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
47161 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
47163 static void *_p_wxWindowTo_p_wxObject(void *x
) {
47164 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
47166 static void *_p_wxMenuTo_p_wxObject(void *x
) {
47167 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
47169 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
47170 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
47172 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
47173 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
47175 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
47176 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
47178 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
47179 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
47181 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
47182 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
47184 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
47185 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
47187 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
47188 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
47190 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
47191 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
47193 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
47194 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
47196 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
47197 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
47199 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
47200 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
47202 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
47203 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
47205 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
47206 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
47208 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
47209 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
47211 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
47212 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
47214 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
47215 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
47217 static void *_p_wxControlTo_p_wxWindow(void *x
) {
47218 return (void *)((wxWindow
*) ((wxControl
*) x
));
47220 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
47221 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
47223 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
47224 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
47226 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x
) {
47227 return (void *)((wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
47229 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x
) {
47230 return (void *)((wxCommandEvent
*) ((wxScrollEvent
*) x
));
47232 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x
) {
47233 return (void *)((wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
47235 static void *_p_wxDateEventTo_p_wxCommandEvent(void *x
) {
47236 return (void *)((wxCommandEvent
*) ((wxDateEvent
*) x
));
47238 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x
) {
47239 return (void *)((wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
47241 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x
) {
47242 return (void *)((wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
47244 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x
) {
47245 return (void *)((wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
47247 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x
) {
47248 return (void *)((wxCommandEvent
*) ((wxNotifyEvent
*) x
));
47250 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x
) {
47251 return (void *)((wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
47253 static void *_p_wxPyValidatorTo_p_wxValidator(void *x
) {
47254 return (void *)((wxValidator
*) ((wxPyValidator
*) x
));
47256 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}};
47257 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}};
47258 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}};
47259 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}};
47260 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}};
47261 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}};
47262 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}};
47263 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}};
47264 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}};
47265 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}};
47266 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}};
47267 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}};
47268 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}};
47269 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}};
47270 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}};
47271 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}};
47272 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}};
47273 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}};
47274 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}};
47275 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}};
47276 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}};
47277 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}};
47278 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}};
47279 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}};
47280 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}};
47281 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}};
47282 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}};
47283 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}};
47284 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}};
47285 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}};
47286 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}};
47287 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}};
47288 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}};
47289 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}};
47290 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}};
47291 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}};
47292 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}};
47293 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}};
47294 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}};
47295 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}};
47296 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}};
47297 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}};
47298 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}};
47299 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}};
47300 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}};
47301 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}};
47302 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}};
47303 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}};
47304 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}};
47305 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}};
47306 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}};
47307 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}};
47308 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}};
47309 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}};
47310 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}};
47311 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}};
47312 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}};
47313 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}};
47314 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}};
47315 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}};
47316 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}};
47317 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}};
47318 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}};
47319 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}};
47320 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}};
47321 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}};
47322 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}};
47323 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}};
47324 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}};
47325 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}};
47326 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}};
47327 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}};
47328 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}};
47329 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}};
47330 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}};
47331 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}};
47332 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}};
47333 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}};
47334 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}};
47335 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}};
47336 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}};
47337 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}};
47338 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}};
47339 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}};
47340 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}};
47341 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}};
47342 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}};
47343 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}};
47344 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}};
47345 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}};
47346 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}};
47347 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}};
47348 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}};
47349 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}};
47350 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}};
47351 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}};
47352 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}};
47353 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}};
47354 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}};
47355 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}};
47356 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}};
47357 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}};
47358 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}};
47359 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}};
47360 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}};
47361 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}};
47362 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}};
47363 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}};
47364 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}};
47365 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}};
47366 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}};
47367 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}};
47368 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}};
47369 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}};
47370 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}};
47371 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}};
47372 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}};
47373 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}};
47374 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}};
47375 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}};
47376 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}};
47377 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}};
47378 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}};
47379 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}};
47380 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}};
47381 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}};
47382 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}};
47383 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}};
47385 static swig_type_info
*swig_types_initial
[] = {
47386 _swigt__p_wxLayoutConstraints
,
47387 _swigt__p_wxRealPoint
,
47388 _swigt__p_wxSizerItem
,
47389 _swigt__p_wxGBSizerItem
,
47390 _swigt__p_wxScrollEvent
,
47391 _swigt__p_wxEventLoop
,
47392 _swigt__p_wxIndividualLayoutConstraint
,
47394 _swigt__p_wxBoxSizer
,
47395 _swigt__p_wxStaticBoxSizer
,
47396 _swigt__p_wxGridBagSizer
,
47397 _swigt__p_wxAcceleratorEntry
,
47398 _swigt__p_wxUpdateUIEvent
,
47402 _swigt__p_wxGridSizer
,
47403 _swigt__p_wxFlexGridSizer
,
47404 _swigt__p_wxInitDialogEvent
,
47405 _swigt__p_wxItemContainer
,
47406 _swigt__p_wxNcPaintEvent
,
47407 _swigt__p_wxPaintEvent
,
47408 _swigt__p_wxSysColourChangedEvent
,
47409 _swigt__p_wxMouseCaptureChangedEvent
,
47410 _swigt__p_wxDisplayChangedEvent
,
47411 _swigt__p_wxPaletteChangedEvent
,
47412 _swigt__p_wxControl
,
47414 _swigt__p_wxMenuBarBase
,
47415 _swigt__p_wxSetCursorEvent
,
47416 _swigt__p_wxFSFile
,
47419 _swigt__std__ptrdiff_t
,
47420 _swigt__p_wxRegion
,
47421 _swigt__p_wxPoint2D
,
47425 _swigt__p_wxPySizer
,
47426 _swigt__p_wxVisualAttributes
,
47427 _swigt__p_wxNotifyEvent
,
47428 _swigt__p_wxPyEvent
,
47429 _swigt__p_wxPropagationDisabler
,
47430 _swigt__p_form_ops_t
,
47431 _swigt__p_wxAppTraits
,
47432 _swigt__p_wxArrayString
,
47433 _swigt__p_wxShowEvent
,
47434 _swigt__p_wxToolTip
,
47435 _swigt__p_wxMoveEvent
,
47436 _swigt__p_wxSizeEvent
,
47437 _swigt__p_wxActivateEvent
,
47438 _swigt__p_wxIconizeEvent
,
47439 _swigt__p_wxMaximizeEvent
,
47440 _swigt__p_wxQueryNewPaletteEvent
,
47441 _swigt__p_wxWindowCreateEvent
,
47442 _swigt__p_wxIdleEvent
,
47443 _swigt__p_wxDateEvent
,
47444 _swigt__p_wxMenuItem
,
47445 _swigt__p_wxStaticBox
,
47447 _swigt__p_wxDuplexMode
,
47448 _swigt__p_wxTIFFHandler
,
47449 _swigt__p_wxXPMHandler
,
47450 _swigt__p_wxPNMHandler
,
47451 _swigt__p_wxJPEGHandler
,
47452 _swigt__p_wxPCXHandler
,
47453 _swigt__p_wxGIFHandler
,
47454 _swigt__p_wxPNGHandler
,
47455 _swigt__p_wxANIHandler
,
47456 _swigt__p_wxMemoryFSHandler
,
47457 _swigt__p_wxZipFSHandler
,
47458 _swigt__p_wxInternetFSHandler
,
47459 _swigt__p_wxPyFileSystemHandler
,
47460 _swigt__p_wxEvtHandler
,
47461 _swigt__p_wxCURHandler
,
47462 _swigt__p_wxICOHandler
,
47463 _swigt__p_wxBMPHandler
,
47464 _swigt__p_wxImageHandler
,
47465 _swigt__p_wxFileSystemHandler
,
47467 _swigt__p_wxButton
,
47468 _swigt__p_wxGBSpan
,
47469 _swigt__p_wxPropagateOnce
,
47470 _swigt__p_wxAcceleratorTable
,
47471 _swigt__p_wxStdDialogButtonSizer
,
47473 _swigt__p_wxGBPosition
,
47476 _swigt__p_wxScrollWinEvent
,
47477 _swigt__p_wxPaperSize
,
47478 _swigt__p_wxImageHistogram
,
47480 _swigt__p_wxCursor
,
47481 _swigt__p_wxObject
,
47482 _swigt__p_wxInputStream
,
47483 _swigt__p_wxOutputStream
,
47484 _swigt__p_wxPyInputStream
,
47485 _swigt__p_wxDateTime
,
47486 _swigt__p_wxKeyEvent
,
47487 _swigt__p_wxNavigationKeyEvent
,
47488 _swigt__p_wxWindowDestroyEvent
,
47489 _swigt__p_unsigned_long
,
47490 _swigt__p_wxWindow
,
47491 _swigt__p_wxMenuBar
,
47492 _swigt__p_wxFileSystem
,
47493 _swigt__p_wxBitmap
,
47494 _swigt__unsigned_int
,
47495 _swigt__p_unsigned_int
,
47496 _swigt__p_wxMenuEvent
,
47497 _swigt__p_wxContextMenuEvent
,
47498 _swigt__p_unsigned_char
,
47499 _swigt__p_wxEraseEvent
,
47500 _swigt__p_wxMouseEvent
,
47501 _swigt__p_wxCloseEvent
,
47503 _swigt__p_wxCommandEvent
,
47504 _swigt__p_wxPyCommandEvent
,
47505 _swigt__p_wxPyDropTarget
,
47506 _swigt__p_wxQuantize
,
47507 _swigt__p_wxFocusEvent
,
47508 _swigt__p_wxChildFocusEvent
,
47509 _swigt__p_wxDropFilesEvent
,
47510 _swigt__p_wxControlWithItems
,
47511 _swigt__p_wxColour
,
47512 _swigt__p_wxValidator
,
47513 _swigt__p_wxPyValidator
,
47518 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
47520 static swig_const_info swig_const_table
[] = {
47521 {0, 0, 0, 0.0, 0, 0}};
47532 /* Python-specific SWIG API */
47533 #define SWIG_newvarlink() SWIG_Python_newvarlink()
47534 #define SWIG_addvarlink(p, name, get_attr, set_attr) SWIG_Python_addvarlink(p, name, get_attr, set_attr)
47535 #define SWIG_InstallConstants(d, constants) SWIG_Python_InstallConstants(d, constants)
47537 /* -----------------------------------------------------------------------------
47538 * global variable support code.
47539 * ----------------------------------------------------------------------------- */
47541 typedef struct swig_globalvar
{
47542 char *name
; /* Name of global variable */
47543 PyObject
*(*get_attr
)(); /* Return the current value */
47544 int (*set_attr
)(PyObject
*); /* Set the value */
47545 struct swig_globalvar
*next
;
47548 typedef struct swig_varlinkobject
{
47550 swig_globalvar
*vars
;
47551 } swig_varlinkobject
;
47554 swig_varlink_repr(swig_varlinkobject
*v
) {
47556 return PyString_FromString("<Swig global variables>");
47560 swig_varlink_print(swig_varlinkobject
*v
, FILE *fp
, int flags
) {
47561 swig_globalvar
*var
;
47563 fprintf(fp
,"Swig global variables { ");
47564 for (var
= v
->vars
; var
; var
=var
->next
) {
47565 fprintf(fp
,"%s", var
->name
);
47566 if (var
->next
) fprintf(fp
,", ");
47568 fprintf(fp
," }\n");
47573 swig_varlink_getattr(swig_varlinkobject
*v
, char *n
) {
47574 swig_globalvar
*var
= v
->vars
;
47576 if (strcmp(var
->name
,n
) == 0) {
47577 return (*var
->get_attr
)();
47581 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
47586 swig_varlink_setattr(swig_varlinkobject
*v
, char *n
, PyObject
*p
) {
47587 swig_globalvar
*var
= v
->vars
;
47589 if (strcmp(var
->name
,n
) == 0) {
47590 return (*var
->set_attr
)(p
);
47594 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
47598 static PyTypeObject varlinktype
= {
47599 PyObject_HEAD_INIT(0)
47600 0, /* Number of items in variable part (ob_size) */
47601 (char *)"swigvarlink", /* Type name (tp_name) */
47602 sizeof(swig_varlinkobject
), /* Basic size (tp_basicsize) */
47603 0, /* Itemsize (tp_itemsize) */
47604 0, /* Deallocator (tp_dealloc) */
47605 (printfunc
) swig_varlink_print
, /* Print (tp_print) */
47606 (getattrfunc
) swig_varlink_getattr
, /* get attr (tp_getattr) */
47607 (setattrfunc
) swig_varlink_setattr
, /* Set attr (tp_setattr) */
47608 0, /* tp_compare */
47609 (reprfunc
) swig_varlink_repr
, /* tp_repr */
47610 0, /* tp_as_number */
47611 0, /* tp_as_sequence */
47612 0, /* tp_as_mapping */
47616 0, /* tp_getattro */
47617 0, /* tp_setattro */
47618 0, /* tp_as_buffer */
47621 #if PY_VERSION_HEX >= 0x02000000
47622 0, /* tp_traverse */
47625 #if PY_VERSION_HEX >= 0x02010000
47626 0, /* tp_richcompare */
47627 0, /* tp_weaklistoffset */
47629 #if PY_VERSION_HEX >= 0x02020000
47630 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
47632 #if PY_VERSION_HEX >= 0x02030000
47635 #ifdef COUNT_ALLOCS
47636 0,0,0,0 /* tp_alloc -> tp_next */
47640 /* Create a variable linking object for use later */
47642 SWIG_Python_newvarlink(void) {
47643 swig_varlinkobject
*result
= 0;
47644 result
= PyMem_NEW(swig_varlinkobject
,1);
47645 varlinktype
.ob_type
= &PyType_Type
; /* Patch varlinktype into a PyType */
47646 result
->ob_type
= &varlinktype
;
47648 result
->ob_refcnt
= 0;
47649 Py_XINCREF((PyObject
*) result
);
47650 return ((PyObject
*) result
);
47654 SWIG_Python_addvarlink(PyObject
*p
, char *name
, PyObject
*(*get_attr
)(void), int (*set_attr
)(PyObject
*p
)) {
47655 swig_varlinkobject
*v
;
47656 swig_globalvar
*gv
;
47657 v
= (swig_varlinkobject
*) p
;
47658 gv
= (swig_globalvar
*) malloc(sizeof(swig_globalvar
));
47659 gv
->name
= (char *) malloc(strlen(name
)+1);
47660 strcpy(gv
->name
,name
);
47661 gv
->get_attr
= get_attr
;
47662 gv
->set_attr
= set_attr
;
47663 gv
->next
= v
->vars
;
47667 /* -----------------------------------------------------------------------------
47668 * constants/methods manipulation
47669 * ----------------------------------------------------------------------------- */
47671 /* Install Constants */
47673 SWIG_Python_InstallConstants(PyObject
*d
, swig_const_info constants
[]) {
47676 for (i
= 0; constants
[i
].type
; i
++) {
47677 switch(constants
[i
].type
) {
47679 obj
= PyInt_FromLong(constants
[i
].lvalue
);
47681 case SWIG_PY_FLOAT
:
47682 obj
= PyFloat_FromDouble(constants
[i
].dvalue
);
47684 case SWIG_PY_STRING
:
47685 if (constants
[i
].pvalue
) {
47686 obj
= PyString_FromString((char *) constants
[i
].pvalue
);
47688 Py_INCREF(Py_None
);
47692 case SWIG_PY_POINTER
:
47693 obj
= SWIG_NewPointerObj(constants
[i
].pvalue
, *(constants
[i
]).ptype
,0);
47695 case SWIG_PY_BINARY
:
47696 obj
= SWIG_NewPackedObj(constants
[i
].pvalue
, constants
[i
].lvalue
, *(constants
[i
].ptype
));
47703 PyDict_SetItemString(d
,constants
[i
].name
,obj
);
47709 /* -----------------------------------------------------------------------------*/
47710 /* Fix SwigMethods to carry the callback ptrs when needed */
47711 /* -----------------------------------------------------------------------------*/
47714 SWIG_Python_FixMethods(PyMethodDef
*methods
,
47715 swig_const_info
*const_table
,
47716 swig_type_info
**types
,
47717 swig_type_info
**types_initial
) {
47719 for (i
= 0; methods
[i
].ml_name
; ++i
) {
47720 char *c
= methods
[i
].ml_doc
;
47721 if (c
&& (c
= strstr(c
, "swig_ptr: "))) {
47723 swig_const_info
*ci
= 0;
47724 char *name
= c
+ 10;
47725 for (j
= 0; const_table
[j
].type
; j
++) {
47726 if (strncmp(const_table
[j
].name
, name
,
47727 strlen(const_table
[j
].name
)) == 0) {
47728 ci
= &(const_table
[j
]);
47733 size_t shift
= (ci
->ptype
) - types
;
47734 swig_type_info
*ty
= types_initial
[shift
];
47735 size_t ldoc
= (c
- methods
[i
].ml_doc
);
47736 size_t lptr
= strlen(ty
->name
)+2*sizeof(void*)+2;
47737 char *ndoc
= (char*)malloc(ldoc
+ lptr
+ 10);
47739 void *ptr
= (ci
->type
== SWIG_PY_POINTER
) ? ci
->pvalue
: (void *)(ci
->lvalue
);
47740 strncpy(buff
, methods
[i
].ml_doc
, ldoc
);
47742 strncpy(buff
, "swig_ptr: ", 10);
47744 SWIG_PackVoidPtr(buff
, ptr
, ty
->name
, lptr
);
47745 methods
[i
].ml_doc
= ndoc
;
47751 /* -----------------------------------------------------------------------------*
47752 * Initialize type list
47753 * -----------------------------------------------------------------------------*/
47755 #if PY_MAJOR_VERSION < 2
47756 /* PyModule_AddObject function was introduced in Python 2.0. The following function
47757 is copied out of Python/modsupport.c in python version 2.3.4 */
47759 PyModule_AddObject(PyObject
*m
, char *name
, PyObject
*o
)
47762 if (!PyModule_Check(m
)) {
47763 PyErr_SetString(PyExc_TypeError
,
47764 "PyModule_AddObject() needs module as first arg");
47768 PyErr_SetString(PyExc_TypeError
,
47769 "PyModule_AddObject() needs non-NULL value");
47773 dict
= PyModule_GetDict(m
);
47774 if (dict
== NULL
) {
47775 /* Internal error -- modules must have a dict! */
47776 PyErr_Format(PyExc_SystemError
, "module '%s' has no __dict__",
47777 PyModule_GetName(m
));
47780 if (PyDict_SetItemString(dict
, name
, o
))
47787 static swig_type_info
**
47788 SWIG_Python_SetTypeListHandle(swig_type_info
**type_list_handle
) {
47789 static PyMethodDef swig_empty_runtime_method_table
[] = {
47791 NULL
, NULL
, 0, NULL
47795 PyObject
*module = Py_InitModule((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION
,
47796 swig_empty_runtime_method_table
);
47797 PyObject
*pointer
= PyCObject_FromVoidPtr((void *) type_list_handle
, NULL
);
47798 if (pointer
&& module) {
47799 PyModule_AddObject(module, (char*)"type_pointer" SWIG_TYPE_TABLE_NAME
, pointer
);
47801 return type_list_handle
;
47804 static swig_type_info
**
47805 SWIG_Python_LookupTypePointer(swig_type_info
**type_list_handle
) {
47806 swig_type_info
**type_pointer
;
47808 /* first check if module already created */
47809 type_pointer
= SWIG_Python_GetTypeListHandle();
47810 if (type_pointer
) {
47811 return type_pointer
;
47813 /* create a new module and variable */
47814 return SWIG_Python_SetTypeListHandle(type_list_handle
);
47822 /* -----------------------------------------------------------------------------*
47823 * Partial Init method
47824 * -----------------------------------------------------------------------------*/
47826 #ifdef SWIG_LINK_RUNTIME
47830 SWIGEXPORT(void *) SWIG_ReturnGlobalTypeList(void *);
47836 SWIGEXPORT(void) SWIG_init(void) {
47837 static PyObject
*SWIG_globals
= 0;
47838 static int typeinit
= 0;
47841 if (!SWIG_globals
) SWIG_globals
= SWIG_newvarlink();
47843 /* Fix SwigMethods to carry the callback ptrs when needed */
47844 SWIG_Python_FixMethods(SwigMethods
, swig_const_table
, swig_types
, swig_types_initial
);
47846 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
47847 d
= PyModule_GetDict(m
);
47850 #ifdef SWIG_LINK_RUNTIME
47851 swig_type_list_handle
= (swig_type_info
**) SWIG_ReturnGlobalTypeList(swig_type_list_handle
);
47853 # ifndef SWIG_STATIC_RUNTIME
47854 swig_type_list_handle
= SWIG_Python_LookupTypePointer(swig_type_list_handle
);
47857 for (i
= 0; swig_types_initial
[i
]; i
++) {
47858 swig_types
[i
] = SWIG_TypeRegister(swig_types_initial
[i
]);
47862 SWIG_InstallConstants(d
,swig_const_table
);
47865 #ifndef wxPyUSE_EXPORT
47866 // Make our API structure a CObject so other modules can import it
47867 // from this module.
47868 PyObject
* cobj
= PyCObject_FromVoidPtr(&API
, NULL
);
47869 PyDict_SetItemString(d
,"_wxPyCoreAPI", cobj
);
47874 PyDict_SetItemString(d
,"NOT_FOUND", SWIG_From_int((int)(wxNOT_FOUND
)));
47877 PyDict_SetItemString(d
,"VSCROLL", SWIG_From_int((int)(wxVSCROLL
)));
47880 PyDict_SetItemString(d
,"HSCROLL", SWIG_From_int((int)(wxHSCROLL
)));
47883 PyDict_SetItemString(d
,"CAPTION", SWIG_From_int((int)(wxCAPTION
)));
47886 PyDict_SetItemString(d
,"DOUBLE_BORDER", SWIG_From_int((int)(wxDOUBLE_BORDER
)));
47889 PyDict_SetItemString(d
,"SUNKEN_BORDER", SWIG_From_int((int)(wxSUNKEN_BORDER
)));
47892 PyDict_SetItemString(d
,"RAISED_BORDER", SWIG_From_int((int)(wxRAISED_BORDER
)));
47895 PyDict_SetItemString(d
,"BORDER", SWIG_From_int((int)(wxBORDER
)));
47898 PyDict_SetItemString(d
,"SIMPLE_BORDER", SWIG_From_int((int)(wxSIMPLE_BORDER
)));
47901 PyDict_SetItemString(d
,"STATIC_BORDER", SWIG_From_int((int)(wxSTATIC_BORDER
)));
47904 PyDict_SetItemString(d
,"TRANSPARENT_WINDOW", SWIG_From_int((int)(wxTRANSPARENT_WINDOW
)));
47907 PyDict_SetItemString(d
,"NO_BORDER", SWIG_From_int((int)(wxNO_BORDER
)));
47910 PyDict_SetItemString(d
,"DEFAULT_CONTROL_BORDER", SWIG_From_int((int)(wxDEFAULT_CONTROL_BORDER
)));
47913 PyDict_SetItemString(d
,"DEFAULT_STATUSBAR_STYLE", SWIG_From_int((int)(wxDEFAULT_STATUSBAR_STYLE
)));
47916 PyDict_SetItemString(d
,"TAB_TRAVERSAL", SWIG_From_int((int)(wxTAB_TRAVERSAL
)));
47919 PyDict_SetItemString(d
,"WANTS_CHARS", SWIG_From_int((int)(wxWANTS_CHARS
)));
47922 PyDict_SetItemString(d
,"POPUP_WINDOW", SWIG_From_int((int)(wxPOPUP_WINDOW
)));
47925 PyDict_SetItemString(d
,"CENTER_FRAME", SWIG_From_int((int)(wxCENTER_FRAME
)));
47928 PyDict_SetItemString(d
,"CENTRE_ON_SCREEN", SWIG_From_int((int)(wxCENTRE_ON_SCREEN
)));
47931 PyDict_SetItemString(d
,"CENTER_ON_SCREEN", SWIG_From_int((int)(wxCENTER_ON_SCREEN
)));
47934 PyDict_SetItemString(d
,"CLIP_CHILDREN", SWIG_From_int((int)(wxCLIP_CHILDREN
)));
47937 PyDict_SetItemString(d
,"CLIP_SIBLINGS", SWIG_From_int((int)(wxCLIP_SIBLINGS
)));
47940 PyDict_SetItemString(d
,"ALWAYS_SHOW_SB", SWIG_From_int((int)(wxALWAYS_SHOW_SB
)));
47943 PyDict_SetItemString(d
,"RETAINED", SWIG_From_int((int)(wxRETAINED
)));
47946 PyDict_SetItemString(d
,"BACKINGSTORE", SWIG_From_int((int)(wxBACKINGSTORE
)));
47949 PyDict_SetItemString(d
,"COLOURED", SWIG_From_int((int)(wxCOLOURED
)));
47952 PyDict_SetItemString(d
,"FIXED_LENGTH", SWIG_From_int((int)(wxFIXED_LENGTH
)));
47955 PyDict_SetItemString(d
,"LB_NEEDED_SB", SWIG_From_int((int)(wxLB_NEEDED_SB
)));
47958 PyDict_SetItemString(d
,"LB_ALWAYS_SB", SWIG_From_int((int)(wxLB_ALWAYS_SB
)));
47961 PyDict_SetItemString(d
,"LB_SORT", SWIG_From_int((int)(wxLB_SORT
)));
47964 PyDict_SetItemString(d
,"LB_SINGLE", SWIG_From_int((int)(wxLB_SINGLE
)));
47967 PyDict_SetItemString(d
,"LB_MULTIPLE", SWIG_From_int((int)(wxLB_MULTIPLE
)));
47970 PyDict_SetItemString(d
,"LB_EXTENDED", SWIG_From_int((int)(wxLB_EXTENDED
)));
47973 PyDict_SetItemString(d
,"LB_OWNERDRAW", SWIG_From_int((int)(wxLB_OWNERDRAW
)));
47976 PyDict_SetItemString(d
,"LB_HSCROLL", SWIG_From_int((int)(wxLB_HSCROLL
)));
47979 PyDict_SetItemString(d
,"PROCESS_ENTER", SWIG_From_int((int)(wxPROCESS_ENTER
)));
47982 PyDict_SetItemString(d
,"PASSWORD", SWIG_From_int((int)(wxPASSWORD
)));
47985 PyDict_SetItemString(d
,"CB_SIMPLE", SWIG_From_int((int)(wxCB_SIMPLE
)));
47988 PyDict_SetItemString(d
,"CB_DROPDOWN", SWIG_From_int((int)(wxCB_DROPDOWN
)));
47991 PyDict_SetItemString(d
,"CB_SORT", SWIG_From_int((int)(wxCB_SORT
)));
47994 PyDict_SetItemString(d
,"CB_READONLY", SWIG_From_int((int)(wxCB_READONLY
)));
47997 PyDict_SetItemString(d
,"RA_HORIZONTAL", SWIG_From_int((int)(wxRA_HORIZONTAL
)));
48000 PyDict_SetItemString(d
,"RA_VERTICAL", SWIG_From_int((int)(wxRA_VERTICAL
)));
48003 PyDict_SetItemString(d
,"RA_SPECIFY_ROWS", SWIG_From_int((int)(wxRA_SPECIFY_ROWS
)));
48006 PyDict_SetItemString(d
,"RA_SPECIFY_COLS", SWIG_From_int((int)(wxRA_SPECIFY_COLS
)));
48009 PyDict_SetItemString(d
,"RA_USE_CHECKBOX", SWIG_From_int((int)(wxRA_USE_CHECKBOX
)));
48012 PyDict_SetItemString(d
,"RB_GROUP", SWIG_From_int((int)(wxRB_GROUP
)));
48015 PyDict_SetItemString(d
,"RB_SINGLE", SWIG_From_int((int)(wxRB_SINGLE
)));
48018 PyDict_SetItemString(d
,"SB_HORIZONTAL", SWIG_From_int((int)(wxSB_HORIZONTAL
)));
48021 PyDict_SetItemString(d
,"SB_VERTICAL", SWIG_From_int((int)(wxSB_VERTICAL
)));
48024 PyDict_SetItemString(d
,"RB_USE_CHECKBOX", SWIG_From_int((int)(wxRB_USE_CHECKBOX
)));
48027 PyDict_SetItemString(d
,"ST_SIZEGRIP", SWIG_From_int((int)(wxST_SIZEGRIP
)));
48030 PyDict_SetItemString(d
,"ST_NO_AUTORESIZE", SWIG_From_int((int)(wxST_NO_AUTORESIZE
)));
48033 PyDict_SetItemString(d
,"FLOOD_SURFACE", SWIG_From_int((int)(wxFLOOD_SURFACE
)));
48036 PyDict_SetItemString(d
,"FLOOD_BORDER", SWIG_From_int((int)(wxFLOOD_BORDER
)));
48039 PyDict_SetItemString(d
,"ODDEVEN_RULE", SWIG_From_int((int)(wxODDEVEN_RULE
)));
48042 PyDict_SetItemString(d
,"WINDING_RULE", SWIG_From_int((int)(wxWINDING_RULE
)));
48045 PyDict_SetItemString(d
,"TOOL_TOP", SWIG_From_int((int)(wxTOOL_TOP
)));
48048 PyDict_SetItemString(d
,"TOOL_BOTTOM", SWIG_From_int((int)(wxTOOL_BOTTOM
)));
48051 PyDict_SetItemString(d
,"TOOL_LEFT", SWIG_From_int((int)(wxTOOL_LEFT
)));
48054 PyDict_SetItemString(d
,"TOOL_RIGHT", SWIG_From_int((int)(wxTOOL_RIGHT
)));
48057 PyDict_SetItemString(d
,"OK", SWIG_From_int((int)(wxOK
)));
48060 PyDict_SetItemString(d
,"YES_NO", SWIG_From_int((int)(wxYES_NO
)));
48063 PyDict_SetItemString(d
,"CANCEL", SWIG_From_int((int)(wxCANCEL
)));
48066 PyDict_SetItemString(d
,"YES", SWIG_From_int((int)(wxYES
)));
48069 PyDict_SetItemString(d
,"NO", SWIG_From_int((int)(wxNO
)));
48072 PyDict_SetItemString(d
,"NO_DEFAULT", SWIG_From_int((int)(wxNO_DEFAULT
)));
48075 PyDict_SetItemString(d
,"YES_DEFAULT", SWIG_From_int((int)(wxYES_DEFAULT
)));
48078 PyDict_SetItemString(d
,"ICON_EXCLAMATION", SWIG_From_int((int)(wxICON_EXCLAMATION
)));
48081 PyDict_SetItemString(d
,"ICON_HAND", SWIG_From_int((int)(wxICON_HAND
)));
48084 PyDict_SetItemString(d
,"ICON_QUESTION", SWIG_From_int((int)(wxICON_QUESTION
)));
48087 PyDict_SetItemString(d
,"ICON_INFORMATION", SWIG_From_int((int)(wxICON_INFORMATION
)));
48090 PyDict_SetItemString(d
,"ICON_STOP", SWIG_From_int((int)(wxICON_STOP
)));
48093 PyDict_SetItemString(d
,"ICON_ASTERISK", SWIG_From_int((int)(wxICON_ASTERISK
)));
48096 PyDict_SetItemString(d
,"ICON_MASK", SWIG_From_int((int)(wxICON_MASK
)));
48099 PyDict_SetItemString(d
,"ICON_WARNING", SWIG_From_int((int)(wxICON_WARNING
)));
48102 PyDict_SetItemString(d
,"ICON_ERROR", SWIG_From_int((int)(wxICON_ERROR
)));
48105 PyDict_SetItemString(d
,"FORWARD", SWIG_From_int((int)(wxFORWARD
)));
48108 PyDict_SetItemString(d
,"BACKWARD", SWIG_From_int((int)(wxBACKWARD
)));
48111 PyDict_SetItemString(d
,"RESET", SWIG_From_int((int)(wxRESET
)));
48114 PyDict_SetItemString(d
,"HELP", SWIG_From_int((int)(wxHELP
)));
48117 PyDict_SetItemString(d
,"MORE", SWIG_From_int((int)(wxMORE
)));
48120 PyDict_SetItemString(d
,"SETUP", SWIG_From_int((int)(wxSETUP
)));
48123 PyDict_SetItemString(d
,"SIZE_AUTO_WIDTH", SWIG_From_int((int)(wxSIZE_AUTO_WIDTH
)));
48126 PyDict_SetItemString(d
,"SIZE_AUTO_HEIGHT", SWIG_From_int((int)(wxSIZE_AUTO_HEIGHT
)));
48129 PyDict_SetItemString(d
,"SIZE_AUTO", SWIG_From_int((int)(wxSIZE_AUTO
)));
48132 PyDict_SetItemString(d
,"SIZE_USE_EXISTING", SWIG_From_int((int)(wxSIZE_USE_EXISTING
)));
48135 PyDict_SetItemString(d
,"SIZE_ALLOW_MINUS_ONE", SWIG_From_int((int)(wxSIZE_ALLOW_MINUS_ONE
)));
48138 PyDict_SetItemString(d
,"PORTRAIT", SWIG_From_int((int)(wxPORTRAIT
)));
48141 PyDict_SetItemString(d
,"LANDSCAPE", SWIG_From_int((int)(wxLANDSCAPE
)));
48144 PyDict_SetItemString(d
,"PRINT_QUALITY_HIGH", SWIG_From_int((int)(wxPRINT_QUALITY_HIGH
)));
48147 PyDict_SetItemString(d
,"PRINT_QUALITY_MEDIUM", SWIG_From_int((int)(wxPRINT_QUALITY_MEDIUM
)));
48150 PyDict_SetItemString(d
,"PRINT_QUALITY_LOW", SWIG_From_int((int)(wxPRINT_QUALITY_LOW
)));
48153 PyDict_SetItemString(d
,"PRINT_QUALITY_DRAFT", SWIG_From_int((int)(wxPRINT_QUALITY_DRAFT
)));
48156 PyDict_SetItemString(d
,"ID_ANY", SWIG_From_int((int)(wxID_ANY
)));
48159 PyDict_SetItemString(d
,"ID_SEPARATOR", SWIG_From_int((int)(wxID_SEPARATOR
)));
48162 PyDict_SetItemString(d
,"ID_LOWEST", SWIG_From_int((int)(wxID_LOWEST
)));
48165 PyDict_SetItemString(d
,"ID_OPEN", SWIG_From_int((int)(wxID_OPEN
)));
48168 PyDict_SetItemString(d
,"ID_CLOSE", SWIG_From_int((int)(wxID_CLOSE
)));
48171 PyDict_SetItemString(d
,"ID_NEW", SWIG_From_int((int)(wxID_NEW
)));
48174 PyDict_SetItemString(d
,"ID_SAVE", SWIG_From_int((int)(wxID_SAVE
)));
48177 PyDict_SetItemString(d
,"ID_SAVEAS", SWIG_From_int((int)(wxID_SAVEAS
)));
48180 PyDict_SetItemString(d
,"ID_REVERT", SWIG_From_int((int)(wxID_REVERT
)));
48183 PyDict_SetItemString(d
,"ID_EXIT", SWIG_From_int((int)(wxID_EXIT
)));
48186 PyDict_SetItemString(d
,"ID_UNDO", SWIG_From_int((int)(wxID_UNDO
)));
48189 PyDict_SetItemString(d
,"ID_REDO", SWIG_From_int((int)(wxID_REDO
)));
48192 PyDict_SetItemString(d
,"ID_HELP", SWIG_From_int((int)(wxID_HELP
)));
48195 PyDict_SetItemString(d
,"ID_PRINT", SWIG_From_int((int)(wxID_PRINT
)));
48198 PyDict_SetItemString(d
,"ID_PRINT_SETUP", SWIG_From_int((int)(wxID_PRINT_SETUP
)));
48201 PyDict_SetItemString(d
,"ID_PREVIEW", SWIG_From_int((int)(wxID_PREVIEW
)));
48204 PyDict_SetItemString(d
,"ID_ABOUT", SWIG_From_int((int)(wxID_ABOUT
)));
48207 PyDict_SetItemString(d
,"ID_HELP_CONTENTS", SWIG_From_int((int)(wxID_HELP_CONTENTS
)));
48210 PyDict_SetItemString(d
,"ID_HELP_COMMANDS", SWIG_From_int((int)(wxID_HELP_COMMANDS
)));
48213 PyDict_SetItemString(d
,"ID_HELP_PROCEDURES", SWIG_From_int((int)(wxID_HELP_PROCEDURES
)));
48216 PyDict_SetItemString(d
,"ID_HELP_CONTEXT", SWIG_From_int((int)(wxID_HELP_CONTEXT
)));
48219 PyDict_SetItemString(d
,"ID_CLOSE_ALL", SWIG_From_int((int)(wxID_CLOSE_ALL
)));
48222 PyDict_SetItemString(d
,"ID_PREFERENCES", SWIG_From_int((int)(wxID_PREFERENCES
)));
48225 PyDict_SetItemString(d
,"ID_CUT", SWIG_From_int((int)(wxID_CUT
)));
48228 PyDict_SetItemString(d
,"ID_COPY", SWIG_From_int((int)(wxID_COPY
)));
48231 PyDict_SetItemString(d
,"ID_PASTE", SWIG_From_int((int)(wxID_PASTE
)));
48234 PyDict_SetItemString(d
,"ID_CLEAR", SWIG_From_int((int)(wxID_CLEAR
)));
48237 PyDict_SetItemString(d
,"ID_FIND", SWIG_From_int((int)(wxID_FIND
)));
48240 PyDict_SetItemString(d
,"ID_DUPLICATE", SWIG_From_int((int)(wxID_DUPLICATE
)));
48243 PyDict_SetItemString(d
,"ID_SELECTALL", SWIG_From_int((int)(wxID_SELECTALL
)));
48246 PyDict_SetItemString(d
,"ID_DELETE", SWIG_From_int((int)(wxID_DELETE
)));
48249 PyDict_SetItemString(d
,"ID_REPLACE", SWIG_From_int((int)(wxID_REPLACE
)));
48252 PyDict_SetItemString(d
,"ID_REPLACE_ALL", SWIG_From_int((int)(wxID_REPLACE_ALL
)));
48255 PyDict_SetItemString(d
,"ID_PROPERTIES", SWIG_From_int((int)(wxID_PROPERTIES
)));
48258 PyDict_SetItemString(d
,"ID_VIEW_DETAILS", SWIG_From_int((int)(wxID_VIEW_DETAILS
)));
48261 PyDict_SetItemString(d
,"ID_VIEW_LARGEICONS", SWIG_From_int((int)(wxID_VIEW_LARGEICONS
)));
48264 PyDict_SetItemString(d
,"ID_VIEW_SMALLICONS", SWIG_From_int((int)(wxID_VIEW_SMALLICONS
)));
48267 PyDict_SetItemString(d
,"ID_VIEW_LIST", SWIG_From_int((int)(wxID_VIEW_LIST
)));
48270 PyDict_SetItemString(d
,"ID_VIEW_SORTDATE", SWIG_From_int((int)(wxID_VIEW_SORTDATE
)));
48273 PyDict_SetItemString(d
,"ID_VIEW_SORTNAME", SWIG_From_int((int)(wxID_VIEW_SORTNAME
)));
48276 PyDict_SetItemString(d
,"ID_VIEW_SORTSIZE", SWIG_From_int((int)(wxID_VIEW_SORTSIZE
)));
48279 PyDict_SetItemString(d
,"ID_VIEW_SORTTYPE", SWIG_From_int((int)(wxID_VIEW_SORTTYPE
)));
48282 PyDict_SetItemString(d
,"ID_FILE1", SWIG_From_int((int)(wxID_FILE1
)));
48285 PyDict_SetItemString(d
,"ID_FILE2", SWIG_From_int((int)(wxID_FILE2
)));
48288 PyDict_SetItemString(d
,"ID_FILE3", SWIG_From_int((int)(wxID_FILE3
)));
48291 PyDict_SetItemString(d
,"ID_FILE4", SWIG_From_int((int)(wxID_FILE4
)));
48294 PyDict_SetItemString(d
,"ID_FILE5", SWIG_From_int((int)(wxID_FILE5
)));
48297 PyDict_SetItemString(d
,"ID_FILE6", SWIG_From_int((int)(wxID_FILE6
)));
48300 PyDict_SetItemString(d
,"ID_FILE7", SWIG_From_int((int)(wxID_FILE7
)));
48303 PyDict_SetItemString(d
,"ID_FILE8", SWIG_From_int((int)(wxID_FILE8
)));
48306 PyDict_SetItemString(d
,"ID_FILE9", SWIG_From_int((int)(wxID_FILE9
)));
48309 PyDict_SetItemString(d
,"ID_OK", SWIG_From_int((int)(wxID_OK
)));
48312 PyDict_SetItemString(d
,"ID_CANCEL", SWIG_From_int((int)(wxID_CANCEL
)));
48315 PyDict_SetItemString(d
,"ID_APPLY", SWIG_From_int((int)(wxID_APPLY
)));
48318 PyDict_SetItemString(d
,"ID_YES", SWIG_From_int((int)(wxID_YES
)));
48321 PyDict_SetItemString(d
,"ID_NO", SWIG_From_int((int)(wxID_NO
)));
48324 PyDict_SetItemString(d
,"ID_STATIC", SWIG_From_int((int)(wxID_STATIC
)));
48327 PyDict_SetItemString(d
,"ID_FORWARD", SWIG_From_int((int)(wxID_FORWARD
)));
48330 PyDict_SetItemString(d
,"ID_BACKWARD", SWIG_From_int((int)(wxID_BACKWARD
)));
48333 PyDict_SetItemString(d
,"ID_DEFAULT", SWIG_From_int((int)(wxID_DEFAULT
)));
48336 PyDict_SetItemString(d
,"ID_MORE", SWIG_From_int((int)(wxID_MORE
)));
48339 PyDict_SetItemString(d
,"ID_SETUP", SWIG_From_int((int)(wxID_SETUP
)));
48342 PyDict_SetItemString(d
,"ID_RESET", SWIG_From_int((int)(wxID_RESET
)));
48345 PyDict_SetItemString(d
,"ID_CONTEXT_HELP", SWIG_From_int((int)(wxID_CONTEXT_HELP
)));
48348 PyDict_SetItemString(d
,"ID_YESTOALL", SWIG_From_int((int)(wxID_YESTOALL
)));
48351 PyDict_SetItemString(d
,"ID_NOTOALL", SWIG_From_int((int)(wxID_NOTOALL
)));
48354 PyDict_SetItemString(d
,"ID_ABORT", SWIG_From_int((int)(wxID_ABORT
)));
48357 PyDict_SetItemString(d
,"ID_RETRY", SWIG_From_int((int)(wxID_RETRY
)));
48360 PyDict_SetItemString(d
,"ID_IGNORE", SWIG_From_int((int)(wxID_IGNORE
)));
48363 PyDict_SetItemString(d
,"ID_ADD", SWIG_From_int((int)(wxID_ADD
)));
48366 PyDict_SetItemString(d
,"ID_REMOVE", SWIG_From_int((int)(wxID_REMOVE
)));
48369 PyDict_SetItemString(d
,"ID_UP", SWIG_From_int((int)(wxID_UP
)));
48372 PyDict_SetItemString(d
,"ID_DOWN", SWIG_From_int((int)(wxID_DOWN
)));
48375 PyDict_SetItemString(d
,"ID_HOME", SWIG_From_int((int)(wxID_HOME
)));
48378 PyDict_SetItemString(d
,"ID_REFRESH", SWIG_From_int((int)(wxID_REFRESH
)));
48381 PyDict_SetItemString(d
,"ID_STOP", SWIG_From_int((int)(wxID_STOP
)));
48384 PyDict_SetItemString(d
,"ID_INDEX", SWIG_From_int((int)(wxID_INDEX
)));
48387 PyDict_SetItemString(d
,"ID_BOLD", SWIG_From_int((int)(wxID_BOLD
)));
48390 PyDict_SetItemString(d
,"ID_ITALIC", SWIG_From_int((int)(wxID_ITALIC
)));
48393 PyDict_SetItemString(d
,"ID_JUSTIFY_CENTER", SWIG_From_int((int)(wxID_JUSTIFY_CENTER
)));
48396 PyDict_SetItemString(d
,"ID_JUSTIFY_FILL", SWIG_From_int((int)(wxID_JUSTIFY_FILL
)));
48399 PyDict_SetItemString(d
,"ID_JUSTIFY_RIGHT", SWIG_From_int((int)(wxID_JUSTIFY_RIGHT
)));
48402 PyDict_SetItemString(d
,"ID_JUSTIFY_LEFT", SWIG_From_int((int)(wxID_JUSTIFY_LEFT
)));
48405 PyDict_SetItemString(d
,"ID_UNDERLINE", SWIG_From_int((int)(wxID_UNDERLINE
)));
48408 PyDict_SetItemString(d
,"ID_INDENT", SWIG_From_int((int)(wxID_INDENT
)));
48411 PyDict_SetItemString(d
,"ID_UNINDENT", SWIG_From_int((int)(wxID_UNINDENT
)));
48414 PyDict_SetItemString(d
,"ID_ZOOM_100", SWIG_From_int((int)(wxID_ZOOM_100
)));
48417 PyDict_SetItemString(d
,"ID_ZOOM_FIT", SWIG_From_int((int)(wxID_ZOOM_FIT
)));
48420 PyDict_SetItemString(d
,"ID_ZOOM_IN", SWIG_From_int((int)(wxID_ZOOM_IN
)));
48423 PyDict_SetItemString(d
,"ID_ZOOM_OUT", SWIG_From_int((int)(wxID_ZOOM_OUT
)));
48426 PyDict_SetItemString(d
,"ID_UNDELETE", SWIG_From_int((int)(wxID_UNDELETE
)));
48429 PyDict_SetItemString(d
,"ID_REVERT_TO_SAVED", SWIG_From_int((int)(wxID_REVERT_TO_SAVED
)));
48432 PyDict_SetItemString(d
,"ID_HIGHEST", SWIG_From_int((int)(wxID_HIGHEST
)));
48435 PyDict_SetItemString(d
,"OPEN", SWIG_From_int((int)(wxOPEN
)));
48438 PyDict_SetItemString(d
,"SAVE", SWIG_From_int((int)(wxSAVE
)));
48441 PyDict_SetItemString(d
,"HIDE_READONLY", SWIG_From_int((int)(wxHIDE_READONLY
)));
48444 PyDict_SetItemString(d
,"OVERWRITE_PROMPT", SWIG_From_int((int)(wxOVERWRITE_PROMPT
)));
48447 PyDict_SetItemString(d
,"FILE_MUST_EXIST", SWIG_From_int((int)(wxFILE_MUST_EXIST
)));
48450 PyDict_SetItemString(d
,"MULTIPLE", SWIG_From_int((int)(wxMULTIPLE
)));
48453 PyDict_SetItemString(d
,"CHANGE_DIR", SWIG_From_int((int)(wxCHANGE_DIR
)));
48456 PyDict_SetItemString(d
,"ACCEL_ALT", SWIG_From_int((int)(wxACCEL_ALT
)));
48459 PyDict_SetItemString(d
,"ACCEL_CTRL", SWIG_From_int((int)(wxACCEL_CTRL
)));
48462 PyDict_SetItemString(d
,"ACCEL_SHIFT", SWIG_From_int((int)(wxACCEL_SHIFT
)));
48465 PyDict_SetItemString(d
,"ACCEL_NORMAL", SWIG_From_int((int)(wxACCEL_NORMAL
)));
48468 PyDict_SetItemString(d
,"PD_AUTO_HIDE", SWIG_From_int((int)(wxPD_AUTO_HIDE
)));
48471 PyDict_SetItemString(d
,"PD_APP_MODAL", SWIG_From_int((int)(wxPD_APP_MODAL
)));
48474 PyDict_SetItemString(d
,"PD_CAN_ABORT", SWIG_From_int((int)(wxPD_CAN_ABORT
)));
48477 PyDict_SetItemString(d
,"PD_ELAPSED_TIME", SWIG_From_int((int)(wxPD_ELAPSED_TIME
)));
48480 PyDict_SetItemString(d
,"PD_ESTIMATED_TIME", SWIG_From_int((int)(wxPD_ESTIMATED_TIME
)));
48483 PyDict_SetItemString(d
,"PD_REMAINING_TIME", SWIG_From_int((int)(wxPD_REMAINING_TIME
)));
48486 PyDict_SetItemString(d
,"PD_SMOOTH", SWIG_From_int((int)(wxPD_SMOOTH
)));
48489 PyDict_SetItemString(d
,"PD_CAN_SKIP", SWIG_From_int((int)(wxPD_CAN_SKIP
)));
48492 PyDict_SetItemString(d
,"DD_NEW_DIR_BUTTON", SWIG_From_int((int)(wxDD_NEW_DIR_BUTTON
)));
48495 PyDict_SetItemString(d
,"DD_DEFAULT_STYLE", SWIG_From_int((int)(wxDD_DEFAULT_STYLE
)));
48498 PyDict_SetItemString(d
,"MENU_TEAROFF", SWIG_From_int((int)(wxMENU_TEAROFF
)));
48501 PyDict_SetItemString(d
,"MB_DOCKABLE", SWIG_From_int((int)(wxMB_DOCKABLE
)));
48504 PyDict_SetItemString(d
,"NO_FULL_REPAINT_ON_RESIZE", SWIG_From_int((int)(wxNO_FULL_REPAINT_ON_RESIZE
)));
48507 PyDict_SetItemString(d
,"FULL_REPAINT_ON_RESIZE", SWIG_From_int((int)(wxFULL_REPAINT_ON_RESIZE
)));
48510 PyDict_SetItemString(d
,"LI_HORIZONTAL", SWIG_From_int((int)(wxLI_HORIZONTAL
)));
48513 PyDict_SetItemString(d
,"LI_VERTICAL", SWIG_From_int((int)(wxLI_VERTICAL
)));
48516 PyDict_SetItemString(d
,"WS_EX_VALIDATE_RECURSIVELY", SWIG_From_int((int)(wxWS_EX_VALIDATE_RECURSIVELY
)));
48519 PyDict_SetItemString(d
,"WS_EX_BLOCK_EVENTS", SWIG_From_int((int)(wxWS_EX_BLOCK_EVENTS
)));
48522 PyDict_SetItemString(d
,"WS_EX_TRANSIENT", SWIG_From_int((int)(wxWS_EX_TRANSIENT
)));
48525 PyDict_SetItemString(d
,"WS_EX_THEMED_BACKGROUND", SWIG_From_int((int)(wxWS_EX_THEMED_BACKGROUND
)));
48528 PyDict_SetItemString(d
,"WS_EX_PROCESS_IDLE", SWIG_From_int((int)(wxWS_EX_PROCESS_IDLE
)));
48531 PyDict_SetItemString(d
,"WS_EX_PROCESS_UI_UPDATES", SWIG_From_int((int)(wxWS_EX_PROCESS_UI_UPDATES
)));
48534 PyDict_SetItemString(d
,"MM_TEXT", SWIG_From_int((int)(wxMM_TEXT
)));
48537 PyDict_SetItemString(d
,"MM_LOMETRIC", SWIG_From_int((int)(wxMM_LOMETRIC
)));
48540 PyDict_SetItemString(d
,"MM_HIMETRIC", SWIG_From_int((int)(wxMM_HIMETRIC
)));
48543 PyDict_SetItemString(d
,"MM_LOENGLISH", SWIG_From_int((int)(wxMM_LOENGLISH
)));
48546 PyDict_SetItemString(d
,"MM_HIENGLISH", SWIG_From_int((int)(wxMM_HIENGLISH
)));
48549 PyDict_SetItemString(d
,"MM_TWIPS", SWIG_From_int((int)(wxMM_TWIPS
)));
48552 PyDict_SetItemString(d
,"MM_ISOTROPIC", SWIG_From_int((int)(wxMM_ISOTROPIC
)));
48555 PyDict_SetItemString(d
,"MM_ANISOTROPIC", SWIG_From_int((int)(wxMM_ANISOTROPIC
)));
48558 PyDict_SetItemString(d
,"MM_POINTS", SWIG_From_int((int)(wxMM_POINTS
)));
48561 PyDict_SetItemString(d
,"MM_METRIC", SWIG_From_int((int)(wxMM_METRIC
)));
48564 PyDict_SetItemString(d
,"CENTRE", SWIG_From_int((int)(wxCENTRE
)));
48567 PyDict_SetItemString(d
,"CENTER", SWIG_From_int((int)(wxCENTER
)));
48570 PyDict_SetItemString(d
,"HORIZONTAL", SWIG_From_int((int)(wxHORIZONTAL
)));
48573 PyDict_SetItemString(d
,"VERTICAL", SWIG_From_int((int)(wxVERTICAL
)));
48576 PyDict_SetItemString(d
,"BOTH", SWIG_From_int((int)(wxBOTH
)));
48579 PyDict_SetItemString(d
,"LEFT", SWIG_From_int((int)(wxLEFT
)));
48582 PyDict_SetItemString(d
,"RIGHT", SWIG_From_int((int)(wxRIGHT
)));
48585 PyDict_SetItemString(d
,"UP", SWIG_From_int((int)(wxUP
)));
48588 PyDict_SetItemString(d
,"DOWN", SWIG_From_int((int)(wxDOWN
)));
48591 PyDict_SetItemString(d
,"TOP", SWIG_From_int((int)(wxTOP
)));
48594 PyDict_SetItemString(d
,"BOTTOM", SWIG_From_int((int)(wxBOTTOM
)));
48597 PyDict_SetItemString(d
,"NORTH", SWIG_From_int((int)(wxNORTH
)));
48600 PyDict_SetItemString(d
,"SOUTH", SWIG_From_int((int)(wxSOUTH
)));
48603 PyDict_SetItemString(d
,"WEST", SWIG_From_int((int)(wxWEST
)));
48606 PyDict_SetItemString(d
,"EAST", SWIG_From_int((int)(wxEAST
)));
48609 PyDict_SetItemString(d
,"ALL", SWIG_From_int((int)(wxALL
)));
48612 PyDict_SetItemString(d
,"ALIGN_NOT", SWIG_From_int((int)(wxALIGN_NOT
)));
48615 PyDict_SetItemString(d
,"ALIGN_CENTER_HORIZONTAL", SWIG_From_int((int)(wxALIGN_CENTER_HORIZONTAL
)));
48618 PyDict_SetItemString(d
,"ALIGN_CENTRE_HORIZONTAL", SWIG_From_int((int)(wxALIGN_CENTRE_HORIZONTAL
)));
48621 PyDict_SetItemString(d
,"ALIGN_LEFT", SWIG_From_int((int)(wxALIGN_LEFT
)));
48624 PyDict_SetItemString(d
,"ALIGN_TOP", SWIG_From_int((int)(wxALIGN_TOP
)));
48627 PyDict_SetItemString(d
,"ALIGN_RIGHT", SWIG_From_int((int)(wxALIGN_RIGHT
)));
48630 PyDict_SetItemString(d
,"ALIGN_BOTTOM", SWIG_From_int((int)(wxALIGN_BOTTOM
)));
48633 PyDict_SetItemString(d
,"ALIGN_CENTER_VERTICAL", SWIG_From_int((int)(wxALIGN_CENTER_VERTICAL
)));
48636 PyDict_SetItemString(d
,"ALIGN_CENTRE_VERTICAL", SWIG_From_int((int)(wxALIGN_CENTRE_VERTICAL
)));
48639 PyDict_SetItemString(d
,"ALIGN_CENTER", SWIG_From_int((int)(wxALIGN_CENTER
)));
48642 PyDict_SetItemString(d
,"ALIGN_CENTRE", SWIG_From_int((int)(wxALIGN_CENTRE
)));
48645 PyDict_SetItemString(d
,"ALIGN_MASK", SWIG_From_int((int)(wxALIGN_MASK
)));
48648 PyDict_SetItemString(d
,"STRETCH_NOT", SWIG_From_int((int)(wxSTRETCH_NOT
)));
48651 PyDict_SetItemString(d
,"SHRINK", SWIG_From_int((int)(wxSHRINK
)));
48654 PyDict_SetItemString(d
,"GROW", SWIG_From_int((int)(wxGROW
)));
48657 PyDict_SetItemString(d
,"EXPAND", SWIG_From_int((int)(wxEXPAND
)));
48660 PyDict_SetItemString(d
,"SHAPED", SWIG_From_int((int)(wxSHAPED
)));
48663 PyDict_SetItemString(d
,"FIXED_MINSIZE", SWIG_From_int((int)(wxFIXED_MINSIZE
)));
48666 PyDict_SetItemString(d
,"TILE", SWIG_From_int((int)(wxTILE
)));
48669 PyDict_SetItemString(d
,"ADJUST_MINSIZE", SWIG_From_int((int)(wxADJUST_MINSIZE
)));
48672 PyDict_SetItemString(d
,"BORDER_DEFAULT", SWIG_From_int((int)(wxBORDER_DEFAULT
)));
48675 PyDict_SetItemString(d
,"BORDER_NONE", SWIG_From_int((int)(wxBORDER_NONE
)));
48678 PyDict_SetItemString(d
,"BORDER_STATIC", SWIG_From_int((int)(wxBORDER_STATIC
)));
48681 PyDict_SetItemString(d
,"BORDER_SIMPLE", SWIG_From_int((int)(wxBORDER_SIMPLE
)));
48684 PyDict_SetItemString(d
,"BORDER_RAISED", SWIG_From_int((int)(wxBORDER_RAISED
)));
48687 PyDict_SetItemString(d
,"BORDER_SUNKEN", SWIG_From_int((int)(wxBORDER_SUNKEN
)));
48690 PyDict_SetItemString(d
,"BORDER_DOUBLE", SWIG_From_int((int)(wxBORDER_DOUBLE
)));
48693 PyDict_SetItemString(d
,"BORDER_MASK", SWIG_From_int((int)(wxBORDER_MASK
)));
48696 PyDict_SetItemString(d
,"BG_STYLE_SYSTEM", SWIG_From_int((int)(wxBG_STYLE_SYSTEM
)));
48699 PyDict_SetItemString(d
,"BG_STYLE_COLOUR", SWIG_From_int((int)(wxBG_STYLE_COLOUR
)));
48702 PyDict_SetItemString(d
,"BG_STYLE_CUSTOM", SWIG_From_int((int)(wxBG_STYLE_CUSTOM
)));
48705 PyDict_SetItemString(d
,"DEFAULT", SWIG_From_int((int)(wxDEFAULT
)));
48708 PyDict_SetItemString(d
,"DECORATIVE", SWIG_From_int((int)(wxDECORATIVE
)));
48711 PyDict_SetItemString(d
,"ROMAN", SWIG_From_int((int)(wxROMAN
)));
48714 PyDict_SetItemString(d
,"SCRIPT", SWIG_From_int((int)(wxSCRIPT
)));
48717 PyDict_SetItemString(d
,"SWISS", SWIG_From_int((int)(wxSWISS
)));
48720 PyDict_SetItemString(d
,"MODERN", SWIG_From_int((int)(wxMODERN
)));
48723 PyDict_SetItemString(d
,"TELETYPE", SWIG_From_int((int)(wxTELETYPE
)));
48726 PyDict_SetItemString(d
,"VARIABLE", SWIG_From_int((int)(wxVARIABLE
)));
48729 PyDict_SetItemString(d
,"FIXED", SWIG_From_int((int)(wxFIXED
)));
48732 PyDict_SetItemString(d
,"NORMAL", SWIG_From_int((int)(wxNORMAL
)));
48735 PyDict_SetItemString(d
,"LIGHT", SWIG_From_int((int)(wxLIGHT
)));
48738 PyDict_SetItemString(d
,"BOLD", SWIG_From_int((int)(wxBOLD
)));
48741 PyDict_SetItemString(d
,"ITALIC", SWIG_From_int((int)(wxITALIC
)));
48744 PyDict_SetItemString(d
,"SLANT", SWIG_From_int((int)(wxSLANT
)));
48747 PyDict_SetItemString(d
,"SOLID", SWIG_From_int((int)(wxSOLID
)));
48750 PyDict_SetItemString(d
,"DOT", SWIG_From_int((int)(wxDOT
)));
48753 PyDict_SetItemString(d
,"LONG_DASH", SWIG_From_int((int)(wxLONG_DASH
)));
48756 PyDict_SetItemString(d
,"SHORT_DASH", SWIG_From_int((int)(wxSHORT_DASH
)));
48759 PyDict_SetItemString(d
,"DOT_DASH", SWIG_From_int((int)(wxDOT_DASH
)));
48762 PyDict_SetItemString(d
,"USER_DASH", SWIG_From_int((int)(wxUSER_DASH
)));
48765 PyDict_SetItemString(d
,"TRANSPARENT", SWIG_From_int((int)(wxTRANSPARENT
)));
48768 PyDict_SetItemString(d
,"STIPPLE", SWIG_From_int((int)(wxSTIPPLE
)));
48771 PyDict_SetItemString(d
,"STIPPLE_MASK", SWIG_From_int((int)(wxSTIPPLE_MASK
)));
48774 PyDict_SetItemString(d
,"STIPPLE_MASK_OPAQUE", SWIG_From_int((int)(wxSTIPPLE_MASK_OPAQUE
)));
48777 PyDict_SetItemString(d
,"BDIAGONAL_HATCH", SWIG_From_int((int)(wxBDIAGONAL_HATCH
)));
48780 PyDict_SetItemString(d
,"CROSSDIAG_HATCH", SWIG_From_int((int)(wxCROSSDIAG_HATCH
)));
48783 PyDict_SetItemString(d
,"FDIAGONAL_HATCH", SWIG_From_int((int)(wxFDIAGONAL_HATCH
)));
48786 PyDict_SetItemString(d
,"CROSS_HATCH", SWIG_From_int((int)(wxCROSS_HATCH
)));
48789 PyDict_SetItemString(d
,"HORIZONTAL_HATCH", SWIG_From_int((int)(wxHORIZONTAL_HATCH
)));
48792 PyDict_SetItemString(d
,"VERTICAL_HATCH", SWIG_From_int((int)(wxVERTICAL_HATCH
)));
48795 PyDict_SetItemString(d
,"JOIN_BEVEL", SWIG_From_int((int)(wxJOIN_BEVEL
)));
48798 PyDict_SetItemString(d
,"JOIN_MITER", SWIG_From_int((int)(wxJOIN_MITER
)));
48801 PyDict_SetItemString(d
,"JOIN_ROUND", SWIG_From_int((int)(wxJOIN_ROUND
)));
48804 PyDict_SetItemString(d
,"CAP_ROUND", SWIG_From_int((int)(wxCAP_ROUND
)));
48807 PyDict_SetItemString(d
,"CAP_PROJECTING", SWIG_From_int((int)(wxCAP_PROJECTING
)));
48810 PyDict_SetItemString(d
,"CAP_BUTT", SWIG_From_int((int)(wxCAP_BUTT
)));
48813 PyDict_SetItemString(d
,"CLEAR", SWIG_From_int((int)(wxCLEAR
)));
48816 PyDict_SetItemString(d
,"XOR", SWIG_From_int((int)(wxXOR
)));
48819 PyDict_SetItemString(d
,"INVERT", SWIG_From_int((int)(wxINVERT
)));
48822 PyDict_SetItemString(d
,"OR_REVERSE", SWIG_From_int((int)(wxOR_REVERSE
)));
48825 PyDict_SetItemString(d
,"AND_REVERSE", SWIG_From_int((int)(wxAND_REVERSE
)));
48828 PyDict_SetItemString(d
,"COPY", SWIG_From_int((int)(wxCOPY
)));
48831 PyDict_SetItemString(d
,"AND", SWIG_From_int((int)(wxAND
)));
48834 PyDict_SetItemString(d
,"AND_INVERT", SWIG_From_int((int)(wxAND_INVERT
)));
48837 PyDict_SetItemString(d
,"NO_OP", SWIG_From_int((int)(wxNO_OP
)));
48840 PyDict_SetItemString(d
,"NOR", SWIG_From_int((int)(wxNOR
)));
48843 PyDict_SetItemString(d
,"EQUIV", SWIG_From_int((int)(wxEQUIV
)));
48846 PyDict_SetItemString(d
,"SRC_INVERT", SWIG_From_int((int)(wxSRC_INVERT
)));
48849 PyDict_SetItemString(d
,"OR_INVERT", SWIG_From_int((int)(wxOR_INVERT
)));
48852 PyDict_SetItemString(d
,"NAND", SWIG_From_int((int)(wxNAND
)));
48855 PyDict_SetItemString(d
,"OR", SWIG_From_int((int)(wxOR
)));
48858 PyDict_SetItemString(d
,"SET", SWIG_From_int((int)(wxSET
)));
48861 PyDict_SetItemString(d
,"WXK_BACK", SWIG_From_int((int)(WXK_BACK
)));
48864 PyDict_SetItemString(d
,"WXK_TAB", SWIG_From_int((int)(WXK_TAB
)));
48867 PyDict_SetItemString(d
,"WXK_RETURN", SWIG_From_int((int)(WXK_RETURN
)));
48870 PyDict_SetItemString(d
,"WXK_ESCAPE", SWIG_From_int((int)(WXK_ESCAPE
)));
48873 PyDict_SetItemString(d
,"WXK_SPACE", SWIG_From_int((int)(WXK_SPACE
)));
48876 PyDict_SetItemString(d
,"WXK_DELETE", SWIG_From_int((int)(WXK_DELETE
)));
48879 PyDict_SetItemString(d
,"WXK_START", SWIG_From_int((int)(WXK_START
)));
48882 PyDict_SetItemString(d
,"WXK_LBUTTON", SWIG_From_int((int)(WXK_LBUTTON
)));
48885 PyDict_SetItemString(d
,"WXK_RBUTTON", SWIG_From_int((int)(WXK_RBUTTON
)));
48888 PyDict_SetItemString(d
,"WXK_CANCEL", SWIG_From_int((int)(WXK_CANCEL
)));
48891 PyDict_SetItemString(d
,"WXK_MBUTTON", SWIG_From_int((int)(WXK_MBUTTON
)));
48894 PyDict_SetItemString(d
,"WXK_CLEAR", SWIG_From_int((int)(WXK_CLEAR
)));
48897 PyDict_SetItemString(d
,"WXK_SHIFT", SWIG_From_int((int)(WXK_SHIFT
)));
48900 PyDict_SetItemString(d
,"WXK_ALT", SWIG_From_int((int)(WXK_ALT
)));
48903 PyDict_SetItemString(d
,"WXK_CONTROL", SWIG_From_int((int)(WXK_CONTROL
)));
48906 PyDict_SetItemString(d
,"WXK_MENU", SWIG_From_int((int)(WXK_MENU
)));
48909 PyDict_SetItemString(d
,"WXK_PAUSE", SWIG_From_int((int)(WXK_PAUSE
)));
48912 PyDict_SetItemString(d
,"WXK_CAPITAL", SWIG_From_int((int)(WXK_CAPITAL
)));
48915 PyDict_SetItemString(d
,"WXK_PRIOR", SWIG_From_int((int)(WXK_PRIOR
)));
48918 PyDict_SetItemString(d
,"WXK_NEXT", SWIG_From_int((int)(WXK_NEXT
)));
48921 PyDict_SetItemString(d
,"WXK_END", SWIG_From_int((int)(WXK_END
)));
48924 PyDict_SetItemString(d
,"WXK_HOME", SWIG_From_int((int)(WXK_HOME
)));
48927 PyDict_SetItemString(d
,"WXK_LEFT", SWIG_From_int((int)(WXK_LEFT
)));
48930 PyDict_SetItemString(d
,"WXK_UP", SWIG_From_int((int)(WXK_UP
)));
48933 PyDict_SetItemString(d
,"WXK_RIGHT", SWIG_From_int((int)(WXK_RIGHT
)));
48936 PyDict_SetItemString(d
,"WXK_DOWN", SWIG_From_int((int)(WXK_DOWN
)));
48939 PyDict_SetItemString(d
,"WXK_SELECT", SWIG_From_int((int)(WXK_SELECT
)));
48942 PyDict_SetItemString(d
,"WXK_PRINT", SWIG_From_int((int)(WXK_PRINT
)));
48945 PyDict_SetItemString(d
,"WXK_EXECUTE", SWIG_From_int((int)(WXK_EXECUTE
)));
48948 PyDict_SetItemString(d
,"WXK_SNAPSHOT", SWIG_From_int((int)(WXK_SNAPSHOT
)));
48951 PyDict_SetItemString(d
,"WXK_INSERT", SWIG_From_int((int)(WXK_INSERT
)));
48954 PyDict_SetItemString(d
,"WXK_HELP", SWIG_From_int((int)(WXK_HELP
)));
48957 PyDict_SetItemString(d
,"WXK_NUMPAD0", SWIG_From_int((int)(WXK_NUMPAD0
)));
48960 PyDict_SetItemString(d
,"WXK_NUMPAD1", SWIG_From_int((int)(WXK_NUMPAD1
)));
48963 PyDict_SetItemString(d
,"WXK_NUMPAD2", SWIG_From_int((int)(WXK_NUMPAD2
)));
48966 PyDict_SetItemString(d
,"WXK_NUMPAD3", SWIG_From_int((int)(WXK_NUMPAD3
)));
48969 PyDict_SetItemString(d
,"WXK_NUMPAD4", SWIG_From_int((int)(WXK_NUMPAD4
)));
48972 PyDict_SetItemString(d
,"WXK_NUMPAD5", SWIG_From_int((int)(WXK_NUMPAD5
)));
48975 PyDict_SetItemString(d
,"WXK_NUMPAD6", SWIG_From_int((int)(WXK_NUMPAD6
)));
48978 PyDict_SetItemString(d
,"WXK_NUMPAD7", SWIG_From_int((int)(WXK_NUMPAD7
)));
48981 PyDict_SetItemString(d
,"WXK_NUMPAD8", SWIG_From_int((int)(WXK_NUMPAD8
)));
48984 PyDict_SetItemString(d
,"WXK_NUMPAD9", SWIG_From_int((int)(WXK_NUMPAD9
)));
48987 PyDict_SetItemString(d
,"WXK_MULTIPLY", SWIG_From_int((int)(WXK_MULTIPLY
)));
48990 PyDict_SetItemString(d
,"WXK_ADD", SWIG_From_int((int)(WXK_ADD
)));
48993 PyDict_SetItemString(d
,"WXK_SEPARATOR", SWIG_From_int((int)(WXK_SEPARATOR
)));
48996 PyDict_SetItemString(d
,"WXK_SUBTRACT", SWIG_From_int((int)(WXK_SUBTRACT
)));
48999 PyDict_SetItemString(d
,"WXK_DECIMAL", SWIG_From_int((int)(WXK_DECIMAL
)));
49002 PyDict_SetItemString(d
,"WXK_DIVIDE", SWIG_From_int((int)(WXK_DIVIDE
)));
49005 PyDict_SetItemString(d
,"WXK_F1", SWIG_From_int((int)(WXK_F1
)));
49008 PyDict_SetItemString(d
,"WXK_F2", SWIG_From_int((int)(WXK_F2
)));
49011 PyDict_SetItemString(d
,"WXK_F3", SWIG_From_int((int)(WXK_F3
)));
49014 PyDict_SetItemString(d
,"WXK_F4", SWIG_From_int((int)(WXK_F4
)));
49017 PyDict_SetItemString(d
,"WXK_F5", SWIG_From_int((int)(WXK_F5
)));
49020 PyDict_SetItemString(d
,"WXK_F6", SWIG_From_int((int)(WXK_F6
)));
49023 PyDict_SetItemString(d
,"WXK_F7", SWIG_From_int((int)(WXK_F7
)));
49026 PyDict_SetItemString(d
,"WXK_F8", SWIG_From_int((int)(WXK_F8
)));
49029 PyDict_SetItemString(d
,"WXK_F9", SWIG_From_int((int)(WXK_F9
)));
49032 PyDict_SetItemString(d
,"WXK_F10", SWIG_From_int((int)(WXK_F10
)));
49035 PyDict_SetItemString(d
,"WXK_F11", SWIG_From_int((int)(WXK_F11
)));
49038 PyDict_SetItemString(d
,"WXK_F12", SWIG_From_int((int)(WXK_F12
)));
49041 PyDict_SetItemString(d
,"WXK_F13", SWIG_From_int((int)(WXK_F13
)));
49044 PyDict_SetItemString(d
,"WXK_F14", SWIG_From_int((int)(WXK_F14
)));
49047 PyDict_SetItemString(d
,"WXK_F15", SWIG_From_int((int)(WXK_F15
)));
49050 PyDict_SetItemString(d
,"WXK_F16", SWIG_From_int((int)(WXK_F16
)));
49053 PyDict_SetItemString(d
,"WXK_F17", SWIG_From_int((int)(WXK_F17
)));
49056 PyDict_SetItemString(d
,"WXK_F18", SWIG_From_int((int)(WXK_F18
)));
49059 PyDict_SetItemString(d
,"WXK_F19", SWIG_From_int((int)(WXK_F19
)));
49062 PyDict_SetItemString(d
,"WXK_F20", SWIG_From_int((int)(WXK_F20
)));
49065 PyDict_SetItemString(d
,"WXK_F21", SWIG_From_int((int)(WXK_F21
)));
49068 PyDict_SetItemString(d
,"WXK_F22", SWIG_From_int((int)(WXK_F22
)));
49071 PyDict_SetItemString(d
,"WXK_F23", SWIG_From_int((int)(WXK_F23
)));
49074 PyDict_SetItemString(d
,"WXK_F24", SWIG_From_int((int)(WXK_F24
)));
49077 PyDict_SetItemString(d
,"WXK_NUMLOCK", SWIG_From_int((int)(WXK_NUMLOCK
)));
49080 PyDict_SetItemString(d
,"WXK_SCROLL", SWIG_From_int((int)(WXK_SCROLL
)));
49083 PyDict_SetItemString(d
,"WXK_PAGEUP", SWIG_From_int((int)(WXK_PAGEUP
)));
49086 PyDict_SetItemString(d
,"WXK_PAGEDOWN", SWIG_From_int((int)(WXK_PAGEDOWN
)));
49089 PyDict_SetItemString(d
,"WXK_NUMPAD_SPACE", SWIG_From_int((int)(WXK_NUMPAD_SPACE
)));
49092 PyDict_SetItemString(d
,"WXK_NUMPAD_TAB", SWIG_From_int((int)(WXK_NUMPAD_TAB
)));
49095 PyDict_SetItemString(d
,"WXK_NUMPAD_ENTER", SWIG_From_int((int)(WXK_NUMPAD_ENTER
)));
49098 PyDict_SetItemString(d
,"WXK_NUMPAD_F1", SWIG_From_int((int)(WXK_NUMPAD_F1
)));
49101 PyDict_SetItemString(d
,"WXK_NUMPAD_F2", SWIG_From_int((int)(WXK_NUMPAD_F2
)));
49104 PyDict_SetItemString(d
,"WXK_NUMPAD_F3", SWIG_From_int((int)(WXK_NUMPAD_F3
)));
49107 PyDict_SetItemString(d
,"WXK_NUMPAD_F4", SWIG_From_int((int)(WXK_NUMPAD_F4
)));
49110 PyDict_SetItemString(d
,"WXK_NUMPAD_HOME", SWIG_From_int((int)(WXK_NUMPAD_HOME
)));
49113 PyDict_SetItemString(d
,"WXK_NUMPAD_LEFT", SWIG_From_int((int)(WXK_NUMPAD_LEFT
)));
49116 PyDict_SetItemString(d
,"WXK_NUMPAD_UP", SWIG_From_int((int)(WXK_NUMPAD_UP
)));
49119 PyDict_SetItemString(d
,"WXK_NUMPAD_RIGHT", SWIG_From_int((int)(WXK_NUMPAD_RIGHT
)));
49122 PyDict_SetItemString(d
,"WXK_NUMPAD_DOWN", SWIG_From_int((int)(WXK_NUMPAD_DOWN
)));
49125 PyDict_SetItemString(d
,"WXK_NUMPAD_PRIOR", SWIG_From_int((int)(WXK_NUMPAD_PRIOR
)));
49128 PyDict_SetItemString(d
,"WXK_NUMPAD_PAGEUP", SWIG_From_int((int)(WXK_NUMPAD_PAGEUP
)));
49131 PyDict_SetItemString(d
,"WXK_NUMPAD_NEXT", SWIG_From_int((int)(WXK_NUMPAD_NEXT
)));
49134 PyDict_SetItemString(d
,"WXK_NUMPAD_PAGEDOWN", SWIG_From_int((int)(WXK_NUMPAD_PAGEDOWN
)));
49137 PyDict_SetItemString(d
,"WXK_NUMPAD_END", SWIG_From_int((int)(WXK_NUMPAD_END
)));
49140 PyDict_SetItemString(d
,"WXK_NUMPAD_BEGIN", SWIG_From_int((int)(WXK_NUMPAD_BEGIN
)));
49143 PyDict_SetItemString(d
,"WXK_NUMPAD_INSERT", SWIG_From_int((int)(WXK_NUMPAD_INSERT
)));
49146 PyDict_SetItemString(d
,"WXK_NUMPAD_DELETE", SWIG_From_int((int)(WXK_NUMPAD_DELETE
)));
49149 PyDict_SetItemString(d
,"WXK_NUMPAD_EQUAL", SWIG_From_int((int)(WXK_NUMPAD_EQUAL
)));
49152 PyDict_SetItemString(d
,"WXK_NUMPAD_MULTIPLY", SWIG_From_int((int)(WXK_NUMPAD_MULTIPLY
)));
49155 PyDict_SetItemString(d
,"WXK_NUMPAD_ADD", SWIG_From_int((int)(WXK_NUMPAD_ADD
)));
49158 PyDict_SetItemString(d
,"WXK_NUMPAD_SEPARATOR", SWIG_From_int((int)(WXK_NUMPAD_SEPARATOR
)));
49161 PyDict_SetItemString(d
,"WXK_NUMPAD_SUBTRACT", SWIG_From_int((int)(WXK_NUMPAD_SUBTRACT
)));
49164 PyDict_SetItemString(d
,"WXK_NUMPAD_DECIMAL", SWIG_From_int((int)(WXK_NUMPAD_DECIMAL
)));
49167 PyDict_SetItemString(d
,"WXK_NUMPAD_DIVIDE", SWIG_From_int((int)(WXK_NUMPAD_DIVIDE
)));
49170 PyDict_SetItemString(d
,"WXK_WINDOWS_LEFT", SWIG_From_int((int)(WXK_WINDOWS_LEFT
)));
49173 PyDict_SetItemString(d
,"WXK_WINDOWS_RIGHT", SWIG_From_int((int)(WXK_WINDOWS_RIGHT
)));
49176 PyDict_SetItemString(d
,"WXK_WINDOWS_MENU", SWIG_From_int((int)(WXK_WINDOWS_MENU
)));
49179 PyDict_SetItemString(d
,"WXK_COMMAND", SWIG_From_int((int)(WXK_COMMAND
)));
49182 PyDict_SetItemString(d
,"WXK_SPECIAL1", SWIG_From_int((int)(WXK_SPECIAL1
)));
49185 PyDict_SetItemString(d
,"WXK_SPECIAL2", SWIG_From_int((int)(WXK_SPECIAL2
)));
49188 PyDict_SetItemString(d
,"WXK_SPECIAL3", SWIG_From_int((int)(WXK_SPECIAL3
)));
49191 PyDict_SetItemString(d
,"WXK_SPECIAL4", SWIG_From_int((int)(WXK_SPECIAL4
)));
49194 PyDict_SetItemString(d
,"WXK_SPECIAL5", SWIG_From_int((int)(WXK_SPECIAL5
)));
49197 PyDict_SetItemString(d
,"WXK_SPECIAL6", SWIG_From_int((int)(WXK_SPECIAL6
)));
49200 PyDict_SetItemString(d
,"WXK_SPECIAL7", SWIG_From_int((int)(WXK_SPECIAL7
)));
49203 PyDict_SetItemString(d
,"WXK_SPECIAL8", SWIG_From_int((int)(WXK_SPECIAL8
)));
49206 PyDict_SetItemString(d
,"WXK_SPECIAL9", SWIG_From_int((int)(WXK_SPECIAL9
)));
49209 PyDict_SetItemString(d
,"WXK_SPECIAL10", SWIG_From_int((int)(WXK_SPECIAL10
)));
49212 PyDict_SetItemString(d
,"WXK_SPECIAL11", SWIG_From_int((int)(WXK_SPECIAL11
)));
49215 PyDict_SetItemString(d
,"WXK_SPECIAL12", SWIG_From_int((int)(WXK_SPECIAL12
)));
49218 PyDict_SetItemString(d
,"WXK_SPECIAL13", SWIG_From_int((int)(WXK_SPECIAL13
)));
49221 PyDict_SetItemString(d
,"WXK_SPECIAL14", SWIG_From_int((int)(WXK_SPECIAL14
)));
49224 PyDict_SetItemString(d
,"WXK_SPECIAL15", SWIG_From_int((int)(WXK_SPECIAL15
)));
49227 PyDict_SetItemString(d
,"WXK_SPECIAL16", SWIG_From_int((int)(WXK_SPECIAL16
)));
49230 PyDict_SetItemString(d
,"WXK_SPECIAL17", SWIG_From_int((int)(WXK_SPECIAL17
)));
49233 PyDict_SetItemString(d
,"WXK_SPECIAL18", SWIG_From_int((int)(WXK_SPECIAL18
)));
49236 PyDict_SetItemString(d
,"WXK_SPECIAL19", SWIG_From_int((int)(WXK_SPECIAL19
)));
49239 PyDict_SetItemString(d
,"WXK_SPECIAL20", SWIG_From_int((int)(WXK_SPECIAL20
)));
49242 PyDict_SetItemString(d
,"PAPER_NONE", SWIG_From_int((int)(wxPAPER_NONE
)));
49245 PyDict_SetItemString(d
,"PAPER_LETTER", SWIG_From_int((int)(wxPAPER_LETTER
)));
49248 PyDict_SetItemString(d
,"PAPER_LEGAL", SWIG_From_int((int)(wxPAPER_LEGAL
)));
49251 PyDict_SetItemString(d
,"PAPER_A4", SWIG_From_int((int)(wxPAPER_A4
)));
49254 PyDict_SetItemString(d
,"PAPER_CSHEET", SWIG_From_int((int)(wxPAPER_CSHEET
)));
49257 PyDict_SetItemString(d
,"PAPER_DSHEET", SWIG_From_int((int)(wxPAPER_DSHEET
)));
49260 PyDict_SetItemString(d
,"PAPER_ESHEET", SWIG_From_int((int)(wxPAPER_ESHEET
)));
49263 PyDict_SetItemString(d
,"PAPER_LETTERSMALL", SWIG_From_int((int)(wxPAPER_LETTERSMALL
)));
49266 PyDict_SetItemString(d
,"PAPER_TABLOID", SWIG_From_int((int)(wxPAPER_TABLOID
)));
49269 PyDict_SetItemString(d
,"PAPER_LEDGER", SWIG_From_int((int)(wxPAPER_LEDGER
)));
49272 PyDict_SetItemString(d
,"PAPER_STATEMENT", SWIG_From_int((int)(wxPAPER_STATEMENT
)));
49275 PyDict_SetItemString(d
,"PAPER_EXECUTIVE", SWIG_From_int((int)(wxPAPER_EXECUTIVE
)));
49278 PyDict_SetItemString(d
,"PAPER_A3", SWIG_From_int((int)(wxPAPER_A3
)));
49281 PyDict_SetItemString(d
,"PAPER_A4SMALL", SWIG_From_int((int)(wxPAPER_A4SMALL
)));
49284 PyDict_SetItemString(d
,"PAPER_A5", SWIG_From_int((int)(wxPAPER_A5
)));
49287 PyDict_SetItemString(d
,"PAPER_B4", SWIG_From_int((int)(wxPAPER_B4
)));
49290 PyDict_SetItemString(d
,"PAPER_B5", SWIG_From_int((int)(wxPAPER_B5
)));
49293 PyDict_SetItemString(d
,"PAPER_FOLIO", SWIG_From_int((int)(wxPAPER_FOLIO
)));
49296 PyDict_SetItemString(d
,"PAPER_QUARTO", SWIG_From_int((int)(wxPAPER_QUARTO
)));
49299 PyDict_SetItemString(d
,"PAPER_10X14", SWIG_From_int((int)(wxPAPER_10X14
)));
49302 PyDict_SetItemString(d
,"PAPER_11X17", SWIG_From_int((int)(wxPAPER_11X17
)));
49305 PyDict_SetItemString(d
,"PAPER_NOTE", SWIG_From_int((int)(wxPAPER_NOTE
)));
49308 PyDict_SetItemString(d
,"PAPER_ENV_9", SWIG_From_int((int)(wxPAPER_ENV_9
)));
49311 PyDict_SetItemString(d
,"PAPER_ENV_10", SWIG_From_int((int)(wxPAPER_ENV_10
)));
49314 PyDict_SetItemString(d
,"PAPER_ENV_11", SWIG_From_int((int)(wxPAPER_ENV_11
)));
49317 PyDict_SetItemString(d
,"PAPER_ENV_12", SWIG_From_int((int)(wxPAPER_ENV_12
)));
49320 PyDict_SetItemString(d
,"PAPER_ENV_14", SWIG_From_int((int)(wxPAPER_ENV_14
)));
49323 PyDict_SetItemString(d
,"PAPER_ENV_DL", SWIG_From_int((int)(wxPAPER_ENV_DL
)));
49326 PyDict_SetItemString(d
,"PAPER_ENV_C5", SWIG_From_int((int)(wxPAPER_ENV_C5
)));
49329 PyDict_SetItemString(d
,"PAPER_ENV_C3", SWIG_From_int((int)(wxPAPER_ENV_C3
)));
49332 PyDict_SetItemString(d
,"PAPER_ENV_C4", SWIG_From_int((int)(wxPAPER_ENV_C4
)));
49335 PyDict_SetItemString(d
,"PAPER_ENV_C6", SWIG_From_int((int)(wxPAPER_ENV_C6
)));
49338 PyDict_SetItemString(d
,"PAPER_ENV_C65", SWIG_From_int((int)(wxPAPER_ENV_C65
)));
49341 PyDict_SetItemString(d
,"PAPER_ENV_B4", SWIG_From_int((int)(wxPAPER_ENV_B4
)));
49344 PyDict_SetItemString(d
,"PAPER_ENV_B5", SWIG_From_int((int)(wxPAPER_ENV_B5
)));
49347 PyDict_SetItemString(d
,"PAPER_ENV_B6", SWIG_From_int((int)(wxPAPER_ENV_B6
)));
49350 PyDict_SetItemString(d
,"PAPER_ENV_ITALY", SWIG_From_int((int)(wxPAPER_ENV_ITALY
)));
49353 PyDict_SetItemString(d
,"PAPER_ENV_MONARCH", SWIG_From_int((int)(wxPAPER_ENV_MONARCH
)));
49356 PyDict_SetItemString(d
,"PAPER_ENV_PERSONAL", SWIG_From_int((int)(wxPAPER_ENV_PERSONAL
)));
49359 PyDict_SetItemString(d
,"PAPER_FANFOLD_US", SWIG_From_int((int)(wxPAPER_FANFOLD_US
)));
49362 PyDict_SetItemString(d
,"PAPER_FANFOLD_STD_GERMAN", SWIG_From_int((int)(wxPAPER_FANFOLD_STD_GERMAN
)));
49365 PyDict_SetItemString(d
,"PAPER_FANFOLD_LGL_GERMAN", SWIG_From_int((int)(wxPAPER_FANFOLD_LGL_GERMAN
)));
49368 PyDict_SetItemString(d
,"PAPER_ISO_B4", SWIG_From_int((int)(wxPAPER_ISO_B4
)));
49371 PyDict_SetItemString(d
,"PAPER_JAPANESE_POSTCARD", SWIG_From_int((int)(wxPAPER_JAPANESE_POSTCARD
)));
49374 PyDict_SetItemString(d
,"PAPER_9X11", SWIG_From_int((int)(wxPAPER_9X11
)));
49377 PyDict_SetItemString(d
,"PAPER_10X11", SWIG_From_int((int)(wxPAPER_10X11
)));
49380 PyDict_SetItemString(d
,"PAPER_15X11", SWIG_From_int((int)(wxPAPER_15X11
)));
49383 PyDict_SetItemString(d
,"PAPER_ENV_INVITE", SWIG_From_int((int)(wxPAPER_ENV_INVITE
)));
49386 PyDict_SetItemString(d
,"PAPER_LETTER_EXTRA", SWIG_From_int((int)(wxPAPER_LETTER_EXTRA
)));
49389 PyDict_SetItemString(d
,"PAPER_LEGAL_EXTRA", SWIG_From_int((int)(wxPAPER_LEGAL_EXTRA
)));
49392 PyDict_SetItemString(d
,"PAPER_TABLOID_EXTRA", SWIG_From_int((int)(wxPAPER_TABLOID_EXTRA
)));
49395 PyDict_SetItemString(d
,"PAPER_A4_EXTRA", SWIG_From_int((int)(wxPAPER_A4_EXTRA
)));
49398 PyDict_SetItemString(d
,"PAPER_LETTER_TRANSVERSE", SWIG_From_int((int)(wxPAPER_LETTER_TRANSVERSE
)));
49401 PyDict_SetItemString(d
,"PAPER_A4_TRANSVERSE", SWIG_From_int((int)(wxPAPER_A4_TRANSVERSE
)));
49404 PyDict_SetItemString(d
,"PAPER_LETTER_EXTRA_TRANSVERSE", SWIG_From_int((int)(wxPAPER_LETTER_EXTRA_TRANSVERSE
)));
49407 PyDict_SetItemString(d
,"PAPER_A_PLUS", SWIG_From_int((int)(wxPAPER_A_PLUS
)));
49410 PyDict_SetItemString(d
,"PAPER_B_PLUS", SWIG_From_int((int)(wxPAPER_B_PLUS
)));
49413 PyDict_SetItemString(d
,"PAPER_LETTER_PLUS", SWIG_From_int((int)(wxPAPER_LETTER_PLUS
)));
49416 PyDict_SetItemString(d
,"PAPER_A4_PLUS", SWIG_From_int((int)(wxPAPER_A4_PLUS
)));
49419 PyDict_SetItemString(d
,"PAPER_A5_TRANSVERSE", SWIG_From_int((int)(wxPAPER_A5_TRANSVERSE
)));
49422 PyDict_SetItemString(d
,"PAPER_B5_TRANSVERSE", SWIG_From_int((int)(wxPAPER_B5_TRANSVERSE
)));
49425 PyDict_SetItemString(d
,"PAPER_A3_EXTRA", SWIG_From_int((int)(wxPAPER_A3_EXTRA
)));
49428 PyDict_SetItemString(d
,"PAPER_A5_EXTRA", SWIG_From_int((int)(wxPAPER_A5_EXTRA
)));
49431 PyDict_SetItemString(d
,"PAPER_B5_EXTRA", SWIG_From_int((int)(wxPAPER_B5_EXTRA
)));
49434 PyDict_SetItemString(d
,"PAPER_A2", SWIG_From_int((int)(wxPAPER_A2
)));
49437 PyDict_SetItemString(d
,"PAPER_A3_TRANSVERSE", SWIG_From_int((int)(wxPAPER_A3_TRANSVERSE
)));
49440 PyDict_SetItemString(d
,"PAPER_A3_EXTRA_TRANSVERSE", SWIG_From_int((int)(wxPAPER_A3_EXTRA_TRANSVERSE
)));
49443 PyDict_SetItemString(d
,"PAPER_DBL_JAPANESE_POSTCARD", SWIG_From_int((int)(wxPAPER_DBL_JAPANESE_POSTCARD
)));
49446 PyDict_SetItemString(d
,"PAPER_A6", SWIG_From_int((int)(wxPAPER_A6
)));
49449 PyDict_SetItemString(d
,"PAPER_JENV_KAKU2", SWIG_From_int((int)(wxPAPER_JENV_KAKU2
)));
49452 PyDict_SetItemString(d
,"PAPER_JENV_KAKU3", SWIG_From_int((int)(wxPAPER_JENV_KAKU3
)));
49455 PyDict_SetItemString(d
,"PAPER_JENV_CHOU3", SWIG_From_int((int)(wxPAPER_JENV_CHOU3
)));
49458 PyDict_SetItemString(d
,"PAPER_JENV_CHOU4", SWIG_From_int((int)(wxPAPER_JENV_CHOU4
)));
49461 PyDict_SetItemString(d
,"PAPER_LETTER_ROTATED", SWIG_From_int((int)(wxPAPER_LETTER_ROTATED
)));
49464 PyDict_SetItemString(d
,"PAPER_A3_ROTATED", SWIG_From_int((int)(wxPAPER_A3_ROTATED
)));
49467 PyDict_SetItemString(d
,"PAPER_A4_ROTATED", SWIG_From_int((int)(wxPAPER_A4_ROTATED
)));
49470 PyDict_SetItemString(d
,"PAPER_A5_ROTATED", SWIG_From_int((int)(wxPAPER_A5_ROTATED
)));
49473 PyDict_SetItemString(d
,"PAPER_B4_JIS_ROTATED", SWIG_From_int((int)(wxPAPER_B4_JIS_ROTATED
)));
49476 PyDict_SetItemString(d
,"PAPER_B5_JIS_ROTATED", SWIG_From_int((int)(wxPAPER_B5_JIS_ROTATED
)));
49479 PyDict_SetItemString(d
,"PAPER_JAPANESE_POSTCARD_ROTATED", SWIG_From_int((int)(wxPAPER_JAPANESE_POSTCARD_ROTATED
)));
49482 PyDict_SetItemString(d
,"PAPER_DBL_JAPANESE_POSTCARD_ROTATED", SWIG_From_int((int)(wxPAPER_DBL_JAPANESE_POSTCARD_ROTATED
)));
49485 PyDict_SetItemString(d
,"PAPER_A6_ROTATED", SWIG_From_int((int)(wxPAPER_A6_ROTATED
)));
49488 PyDict_SetItemString(d
,"PAPER_JENV_KAKU2_ROTATED", SWIG_From_int((int)(wxPAPER_JENV_KAKU2_ROTATED
)));
49491 PyDict_SetItemString(d
,"PAPER_JENV_KAKU3_ROTATED", SWIG_From_int((int)(wxPAPER_JENV_KAKU3_ROTATED
)));
49494 PyDict_SetItemString(d
,"PAPER_JENV_CHOU3_ROTATED", SWIG_From_int((int)(wxPAPER_JENV_CHOU3_ROTATED
)));
49497 PyDict_SetItemString(d
,"PAPER_JENV_CHOU4_ROTATED", SWIG_From_int((int)(wxPAPER_JENV_CHOU4_ROTATED
)));
49500 PyDict_SetItemString(d
,"PAPER_B6_JIS", SWIG_From_int((int)(wxPAPER_B6_JIS
)));
49503 PyDict_SetItemString(d
,"PAPER_B6_JIS_ROTATED", SWIG_From_int((int)(wxPAPER_B6_JIS_ROTATED
)));
49506 PyDict_SetItemString(d
,"PAPER_12X11", SWIG_From_int((int)(wxPAPER_12X11
)));
49509 PyDict_SetItemString(d
,"PAPER_JENV_YOU4", SWIG_From_int((int)(wxPAPER_JENV_YOU4
)));
49512 PyDict_SetItemString(d
,"PAPER_JENV_YOU4_ROTATED", SWIG_From_int((int)(wxPAPER_JENV_YOU4_ROTATED
)));
49515 PyDict_SetItemString(d
,"PAPER_P16K", SWIG_From_int((int)(wxPAPER_P16K
)));
49518 PyDict_SetItemString(d
,"PAPER_P32K", SWIG_From_int((int)(wxPAPER_P32K
)));
49521 PyDict_SetItemString(d
,"PAPER_P32KBIG", SWIG_From_int((int)(wxPAPER_P32KBIG
)));
49524 PyDict_SetItemString(d
,"PAPER_PENV_1", SWIG_From_int((int)(wxPAPER_PENV_1
)));
49527 PyDict_SetItemString(d
,"PAPER_PENV_2", SWIG_From_int((int)(wxPAPER_PENV_2
)));
49530 PyDict_SetItemString(d
,"PAPER_PENV_3", SWIG_From_int((int)(wxPAPER_PENV_3
)));
49533 PyDict_SetItemString(d
,"PAPER_PENV_4", SWIG_From_int((int)(wxPAPER_PENV_4
)));
49536 PyDict_SetItemString(d
,"PAPER_PENV_5", SWIG_From_int((int)(wxPAPER_PENV_5
)));
49539 PyDict_SetItemString(d
,"PAPER_PENV_6", SWIG_From_int((int)(wxPAPER_PENV_6
)));
49542 PyDict_SetItemString(d
,"PAPER_PENV_7", SWIG_From_int((int)(wxPAPER_PENV_7
)));
49545 PyDict_SetItemString(d
,"PAPER_PENV_8", SWIG_From_int((int)(wxPAPER_PENV_8
)));
49548 PyDict_SetItemString(d
,"PAPER_PENV_9", SWIG_From_int((int)(wxPAPER_PENV_9
)));
49551 PyDict_SetItemString(d
,"PAPER_PENV_10", SWIG_From_int((int)(wxPAPER_PENV_10
)));
49554 PyDict_SetItemString(d
,"PAPER_P16K_ROTATED", SWIG_From_int((int)(wxPAPER_P16K_ROTATED
)));
49557 PyDict_SetItemString(d
,"PAPER_P32K_ROTATED", SWIG_From_int((int)(wxPAPER_P32K_ROTATED
)));
49560 PyDict_SetItemString(d
,"PAPER_P32KBIG_ROTATED", SWIG_From_int((int)(wxPAPER_P32KBIG_ROTATED
)));
49563 PyDict_SetItemString(d
,"PAPER_PENV_1_ROTATED", SWIG_From_int((int)(wxPAPER_PENV_1_ROTATED
)));
49566 PyDict_SetItemString(d
,"PAPER_PENV_2_ROTATED", SWIG_From_int((int)(wxPAPER_PENV_2_ROTATED
)));
49569 PyDict_SetItemString(d
,"PAPER_PENV_3_ROTATED", SWIG_From_int((int)(wxPAPER_PENV_3_ROTATED
)));
49572 PyDict_SetItemString(d
,"PAPER_PENV_4_ROTATED", SWIG_From_int((int)(wxPAPER_PENV_4_ROTATED
)));
49575 PyDict_SetItemString(d
,"PAPER_PENV_5_ROTATED", SWIG_From_int((int)(wxPAPER_PENV_5_ROTATED
)));
49578 PyDict_SetItemString(d
,"PAPER_PENV_6_ROTATED", SWIG_From_int((int)(wxPAPER_PENV_6_ROTATED
)));
49581 PyDict_SetItemString(d
,"PAPER_PENV_7_ROTATED", SWIG_From_int((int)(wxPAPER_PENV_7_ROTATED
)));
49584 PyDict_SetItemString(d
,"PAPER_PENV_8_ROTATED", SWIG_From_int((int)(wxPAPER_PENV_8_ROTATED
)));
49587 PyDict_SetItemString(d
,"PAPER_PENV_9_ROTATED", SWIG_From_int((int)(wxPAPER_PENV_9_ROTATED
)));
49590 PyDict_SetItemString(d
,"PAPER_PENV_10_ROTATED", SWIG_From_int((int)(wxPAPER_PENV_10_ROTATED
)));
49593 PyDict_SetItemString(d
,"DUPLEX_SIMPLEX", SWIG_From_int((int)(wxDUPLEX_SIMPLEX
)));
49596 PyDict_SetItemString(d
,"DUPLEX_HORIZONTAL", SWIG_From_int((int)(wxDUPLEX_HORIZONTAL
)));
49599 PyDict_SetItemString(d
,"DUPLEX_VERTICAL", SWIG_From_int((int)(wxDUPLEX_VERTICAL
)));
49602 PyDict_SetItemString(d
,"ITEM_SEPARATOR", SWIG_From_int((int)(wxITEM_SEPARATOR
)));
49605 PyDict_SetItemString(d
,"ITEM_NORMAL", SWIG_From_int((int)(wxITEM_NORMAL
)));
49608 PyDict_SetItemString(d
,"ITEM_CHECK", SWIG_From_int((int)(wxITEM_CHECK
)));
49611 PyDict_SetItemString(d
,"ITEM_RADIO", SWIG_From_int((int)(wxITEM_RADIO
)));
49614 PyDict_SetItemString(d
,"ITEM_MAX", SWIG_From_int((int)(wxITEM_MAX
)));
49617 PyDict_SetItemString(d
,"HT_NOWHERE", SWIG_From_int((int)(wxHT_NOWHERE
)));
49620 PyDict_SetItemString(d
,"HT_SCROLLBAR_FIRST", SWIG_From_int((int)(wxHT_SCROLLBAR_FIRST
)));
49623 PyDict_SetItemString(d
,"HT_SCROLLBAR_ARROW_LINE_1", SWIG_From_int((int)(wxHT_SCROLLBAR_ARROW_LINE_1
)));
49626 PyDict_SetItemString(d
,"HT_SCROLLBAR_ARROW_LINE_2", SWIG_From_int((int)(wxHT_SCROLLBAR_ARROW_LINE_2
)));
49629 PyDict_SetItemString(d
,"HT_SCROLLBAR_ARROW_PAGE_1", SWIG_From_int((int)(wxHT_SCROLLBAR_ARROW_PAGE_1
)));
49632 PyDict_SetItemString(d
,"HT_SCROLLBAR_ARROW_PAGE_2", SWIG_From_int((int)(wxHT_SCROLLBAR_ARROW_PAGE_2
)));
49635 PyDict_SetItemString(d
,"HT_SCROLLBAR_THUMB", SWIG_From_int((int)(wxHT_SCROLLBAR_THUMB
)));
49638 PyDict_SetItemString(d
,"HT_SCROLLBAR_BAR_1", SWIG_From_int((int)(wxHT_SCROLLBAR_BAR_1
)));
49641 PyDict_SetItemString(d
,"HT_SCROLLBAR_BAR_2", SWIG_From_int((int)(wxHT_SCROLLBAR_BAR_2
)));
49644 PyDict_SetItemString(d
,"HT_SCROLLBAR_LAST", SWIG_From_int((int)(wxHT_SCROLLBAR_LAST
)));
49647 PyDict_SetItemString(d
,"HT_WINDOW_OUTSIDE", SWIG_From_int((int)(wxHT_WINDOW_OUTSIDE
)));
49650 PyDict_SetItemString(d
,"HT_WINDOW_INSIDE", SWIG_From_int((int)(wxHT_WINDOW_INSIDE
)));
49653 PyDict_SetItemString(d
,"HT_WINDOW_VERT_SCROLLBAR", SWIG_From_int((int)(wxHT_WINDOW_VERT_SCROLLBAR
)));
49656 PyDict_SetItemString(d
,"HT_WINDOW_HORZ_SCROLLBAR", SWIG_From_int((int)(wxHT_WINDOW_HORZ_SCROLLBAR
)));
49659 PyDict_SetItemString(d
,"HT_WINDOW_CORNER", SWIG_From_int((int)(wxHT_WINDOW_CORNER
)));
49662 PyDict_SetItemString(d
,"HT_MAX", SWIG_From_int((int)(wxHT_MAX
)));
49665 PyDict_SetItemString(d
,"MOD_NONE", SWIG_From_int((int)(wxMOD_NONE
)));
49668 PyDict_SetItemString(d
,"MOD_ALT", SWIG_From_int((int)(wxMOD_ALT
)));
49671 PyDict_SetItemString(d
,"MOD_CONTROL", SWIG_From_int((int)(wxMOD_CONTROL
)));
49674 PyDict_SetItemString(d
,"MOD_SHIFT", SWIG_From_int((int)(wxMOD_SHIFT
)));
49677 PyDict_SetItemString(d
,"MOD_WIN", SWIG_From_int((int)(wxMOD_WIN
)));
49680 PyDict_SetItemString(d
,"UPDATE_UI_NONE", SWIG_From_int((int)(wxUPDATE_UI_NONE
)));
49683 PyDict_SetItemString(d
,"UPDATE_UI_RECURSE", SWIG_From_int((int)(wxUPDATE_UI_RECURSE
)));
49686 PyDict_SetItemString(d
,"UPDATE_UI_FROMIDLE", SWIG_From_int((int)(wxUPDATE_UI_FROMIDLE
)));
49688 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals
);
49689 SWIG_addvarlink(SWIG_globals
,(char*)"EmptyString",_wrap_EmptyString_get
, _wrap_EmptyString_set
);
49691 PyDict_SetItemString(d
,"BITMAP_TYPE_INVALID", SWIG_From_int((int)(wxBITMAP_TYPE_INVALID
)));
49694 PyDict_SetItemString(d
,"BITMAP_TYPE_BMP", SWIG_From_int((int)(wxBITMAP_TYPE_BMP
)));
49697 PyDict_SetItemString(d
,"BITMAP_TYPE_ICO", SWIG_From_int((int)(wxBITMAP_TYPE_ICO
)));
49700 PyDict_SetItemString(d
,"BITMAP_TYPE_CUR", SWIG_From_int((int)(wxBITMAP_TYPE_CUR
)));
49703 PyDict_SetItemString(d
,"BITMAP_TYPE_XBM", SWIG_From_int((int)(wxBITMAP_TYPE_XBM
)));
49706 PyDict_SetItemString(d
,"BITMAP_TYPE_XBM_DATA", SWIG_From_int((int)(wxBITMAP_TYPE_XBM_DATA
)));
49709 PyDict_SetItemString(d
,"BITMAP_TYPE_XPM", SWIG_From_int((int)(wxBITMAP_TYPE_XPM
)));
49712 PyDict_SetItemString(d
,"BITMAP_TYPE_XPM_DATA", SWIG_From_int((int)(wxBITMAP_TYPE_XPM_DATA
)));
49715 PyDict_SetItemString(d
,"BITMAP_TYPE_TIF", SWIG_From_int((int)(wxBITMAP_TYPE_TIF
)));
49718 PyDict_SetItemString(d
,"BITMAP_TYPE_GIF", SWIG_From_int((int)(wxBITMAP_TYPE_GIF
)));
49721 PyDict_SetItemString(d
,"BITMAP_TYPE_PNG", SWIG_From_int((int)(wxBITMAP_TYPE_PNG
)));
49724 PyDict_SetItemString(d
,"BITMAP_TYPE_JPEG", SWIG_From_int((int)(wxBITMAP_TYPE_JPEG
)));
49727 PyDict_SetItemString(d
,"BITMAP_TYPE_PNM", SWIG_From_int((int)(wxBITMAP_TYPE_PNM
)));
49730 PyDict_SetItemString(d
,"BITMAP_TYPE_PCX", SWIG_From_int((int)(wxBITMAP_TYPE_PCX
)));
49733 PyDict_SetItemString(d
,"BITMAP_TYPE_PICT", SWIG_From_int((int)(wxBITMAP_TYPE_PICT
)));
49736 PyDict_SetItemString(d
,"BITMAP_TYPE_ICON", SWIG_From_int((int)(wxBITMAP_TYPE_ICON
)));
49739 PyDict_SetItemString(d
,"BITMAP_TYPE_ANI", SWIG_From_int((int)(wxBITMAP_TYPE_ANI
)));
49742 PyDict_SetItemString(d
,"BITMAP_TYPE_IFF", SWIG_From_int((int)(wxBITMAP_TYPE_IFF
)));
49745 PyDict_SetItemString(d
,"BITMAP_TYPE_MACCURSOR", SWIG_From_int((int)(wxBITMAP_TYPE_MACCURSOR
)));
49748 PyDict_SetItemString(d
,"BITMAP_TYPE_ANY", SWIG_From_int((int)(wxBITMAP_TYPE_ANY
)));
49751 PyDict_SetItemString(d
,"CURSOR_NONE", SWIG_From_int((int)(wxCURSOR_NONE
)));
49754 PyDict_SetItemString(d
,"CURSOR_ARROW", SWIG_From_int((int)(wxCURSOR_ARROW
)));
49757 PyDict_SetItemString(d
,"CURSOR_RIGHT_ARROW", SWIG_From_int((int)(wxCURSOR_RIGHT_ARROW
)));
49760 PyDict_SetItemString(d
,"CURSOR_BULLSEYE", SWIG_From_int((int)(wxCURSOR_BULLSEYE
)));
49763 PyDict_SetItemString(d
,"CURSOR_CHAR", SWIG_From_int((int)(wxCURSOR_CHAR
)));
49766 PyDict_SetItemString(d
,"CURSOR_CROSS", SWIG_From_int((int)(wxCURSOR_CROSS
)));
49769 PyDict_SetItemString(d
,"CURSOR_HAND", SWIG_From_int((int)(wxCURSOR_HAND
)));
49772 PyDict_SetItemString(d
,"CURSOR_IBEAM", SWIG_From_int((int)(wxCURSOR_IBEAM
)));
49775 PyDict_SetItemString(d
,"CURSOR_LEFT_BUTTON", SWIG_From_int((int)(wxCURSOR_LEFT_BUTTON
)));
49778 PyDict_SetItemString(d
,"CURSOR_MAGNIFIER", SWIG_From_int((int)(wxCURSOR_MAGNIFIER
)));
49781 PyDict_SetItemString(d
,"CURSOR_MIDDLE_BUTTON", SWIG_From_int((int)(wxCURSOR_MIDDLE_BUTTON
)));
49784 PyDict_SetItemString(d
,"CURSOR_NO_ENTRY", SWIG_From_int((int)(wxCURSOR_NO_ENTRY
)));
49787 PyDict_SetItemString(d
,"CURSOR_PAINT_BRUSH", SWIG_From_int((int)(wxCURSOR_PAINT_BRUSH
)));
49790 PyDict_SetItemString(d
,"CURSOR_PENCIL", SWIG_From_int((int)(wxCURSOR_PENCIL
)));
49793 PyDict_SetItemString(d
,"CURSOR_POINT_LEFT", SWIG_From_int((int)(wxCURSOR_POINT_LEFT
)));
49796 PyDict_SetItemString(d
,"CURSOR_POINT_RIGHT", SWIG_From_int((int)(wxCURSOR_POINT_RIGHT
)));
49799 PyDict_SetItemString(d
,"CURSOR_QUESTION_ARROW", SWIG_From_int((int)(wxCURSOR_QUESTION_ARROW
)));
49802 PyDict_SetItemString(d
,"CURSOR_RIGHT_BUTTON", SWIG_From_int((int)(wxCURSOR_RIGHT_BUTTON
)));
49805 PyDict_SetItemString(d
,"CURSOR_SIZENESW", SWIG_From_int((int)(wxCURSOR_SIZENESW
)));
49808 PyDict_SetItemString(d
,"CURSOR_SIZENS", SWIG_From_int((int)(wxCURSOR_SIZENS
)));
49811 PyDict_SetItemString(d
,"CURSOR_SIZENWSE", SWIG_From_int((int)(wxCURSOR_SIZENWSE
)));
49814 PyDict_SetItemString(d
,"CURSOR_SIZEWE", SWIG_From_int((int)(wxCURSOR_SIZEWE
)));
49817 PyDict_SetItemString(d
,"CURSOR_SIZING", SWIG_From_int((int)(wxCURSOR_SIZING
)));
49820 PyDict_SetItemString(d
,"CURSOR_SPRAYCAN", SWIG_From_int((int)(wxCURSOR_SPRAYCAN
)));
49823 PyDict_SetItemString(d
,"CURSOR_WAIT", SWIG_From_int((int)(wxCURSOR_WAIT
)));
49826 PyDict_SetItemString(d
,"CURSOR_WATCH", SWIG_From_int((int)(wxCURSOR_WATCH
)));
49829 PyDict_SetItemString(d
,"CURSOR_BLANK", SWIG_From_int((int)(wxCURSOR_BLANK
)));
49832 PyDict_SetItemString(d
,"CURSOR_DEFAULT", SWIG_From_int((int)(wxCURSOR_DEFAULT
)));
49835 PyDict_SetItemString(d
,"CURSOR_COPY_ARROW", SWIG_From_int((int)(wxCURSOR_COPY_ARROW
)));
49838 PyDict_SetItemString(d
,"CURSOR_ARROWWAIT", SWIG_From_int((int)(wxCURSOR_ARROWWAIT
)));
49841 PyDict_SetItemString(d
,"CURSOR_MAX", SWIG_From_int((int)(wxCURSOR_MAX
)));
49843 SWIG_addvarlink(SWIG_globals
,(char*)"DefaultPosition",_wrap_DefaultPosition_get
, _wrap_DefaultPosition_set
);
49844 SWIG_addvarlink(SWIG_globals
,(char*)"DefaultSize",_wrap_DefaultSize_get
, _wrap_DefaultSize_set
);
49846 PyDict_SetItemString(d
,"FromStart", SWIG_From_int((int)(wxFromStart
)));
49849 PyDict_SetItemString(d
,"FromCurrent", SWIG_From_int((int)(wxFromCurrent
)));
49852 PyDict_SetItemString(d
,"FromEnd", SWIG_From_int((int)(wxFromEnd
)));
49855 wxPyPtrTypeMap_Add("wxInputStream", "wxPyInputStream");
49858 wxPyPtrTypeMap_Add("wxFileSystemHandler", "wxPyFileSystemHandler");
49861 PyDict_SetItemString(d
,"IMAGE_ALPHA_TRANSPARENT", SWIG_From_int((int)(wxIMAGE_ALPHA_TRANSPARENT
)));
49864 PyDict_SetItemString(d
,"IMAGE_ALPHA_THRESHOLD", SWIG_From_int((int)(wxIMAGE_ALPHA_THRESHOLD
)));
49867 PyDict_SetItemString(d
,"IMAGE_ALPHA_OPAQUE", SWIG_From_int((int)(wxIMAGE_ALPHA_OPAQUE
)));
49869 SWIG_addvarlink(SWIG_globals
,(char*)"NullImage",_wrap_NullImage_get
, _wrap_NullImage_set
);
49870 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_FILENAME",_wrap_IMAGE_OPTION_FILENAME_get
, _wrap_IMAGE_OPTION_FILENAME_set
);
49871 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_BMP_FORMAT",_wrap_IMAGE_OPTION_BMP_FORMAT_get
, _wrap_IMAGE_OPTION_BMP_FORMAT_set
);
49872 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_CUR_HOTSPOT_X",_wrap_IMAGE_OPTION_CUR_HOTSPOT_X_get
, _wrap_IMAGE_OPTION_CUR_HOTSPOT_X_set
);
49873 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_CUR_HOTSPOT_Y",_wrap_IMAGE_OPTION_CUR_HOTSPOT_Y_get
, _wrap_IMAGE_OPTION_CUR_HOTSPOT_Y_set
);
49874 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_RESOLUTION",_wrap_IMAGE_OPTION_RESOLUTION_get
, _wrap_IMAGE_OPTION_RESOLUTION_set
);
49875 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_RESOLUTIONX",_wrap_IMAGE_OPTION_RESOLUTIONX_get
, _wrap_IMAGE_OPTION_RESOLUTIONX_set
);
49876 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_RESOLUTIONY",_wrap_IMAGE_OPTION_RESOLUTIONY_get
, _wrap_IMAGE_OPTION_RESOLUTIONY_set
);
49877 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_RESOLUTIONUNIT",_wrap_IMAGE_OPTION_RESOLUTIONUNIT_get
, _wrap_IMAGE_OPTION_RESOLUTIONUNIT_set
);
49878 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_QUALITY",_wrap_IMAGE_OPTION_QUALITY_get
, _wrap_IMAGE_OPTION_QUALITY_set
);
49880 PyDict_SetItemString(d
,"IMAGE_RESOLUTION_INCHES", SWIG_From_int((int)(wxIMAGE_RESOLUTION_INCHES
)));
49883 PyDict_SetItemString(d
,"IMAGE_RESOLUTION_CM", SWIG_From_int((int)(wxIMAGE_RESOLUTION_CM
)));
49885 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_BITSPERSAMPLE",_wrap_IMAGE_OPTION_BITSPERSAMPLE_get
, _wrap_IMAGE_OPTION_BITSPERSAMPLE_set
);
49886 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_SAMPLESPERPIXEL",_wrap_IMAGE_OPTION_SAMPLESPERPIXEL_get
, _wrap_IMAGE_OPTION_SAMPLESPERPIXEL_set
);
49887 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_COMPRESSION",_wrap_IMAGE_OPTION_COMPRESSION_get
, _wrap_IMAGE_OPTION_COMPRESSION_set
);
49888 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_IMAGEDESCRIPTOR",_wrap_IMAGE_OPTION_IMAGEDESCRIPTOR_get
, _wrap_IMAGE_OPTION_IMAGEDESCRIPTOR_set
);
49889 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_PNG_FORMAT",_wrap_IMAGE_OPTION_PNG_FORMAT_get
, _wrap_IMAGE_OPTION_PNG_FORMAT_set
);
49890 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_PNG_BITDEPTH",_wrap_IMAGE_OPTION_PNG_BITDEPTH_get
, _wrap_IMAGE_OPTION_PNG_BITDEPTH_set
);
49892 PyDict_SetItemString(d
,"PNG_TYPE_COLOUR", SWIG_From_int((int)(wxPNG_TYPE_COLOUR
)));
49895 PyDict_SetItemString(d
,"PNG_TYPE_GREY", SWIG_From_int((int)(wxPNG_TYPE_GREY
)));
49898 PyDict_SetItemString(d
,"PNG_TYPE_GREY_RED", SWIG_From_int((int)(wxPNG_TYPE_GREY_RED
)));
49901 PyDict_SetItemString(d
,"BMP_24BPP", SWIG_From_int((int)(wxBMP_24BPP
)));
49904 PyDict_SetItemString(d
,"BMP_8BPP", SWIG_From_int((int)(wxBMP_8BPP
)));
49907 PyDict_SetItemString(d
,"BMP_8BPP_GREY", SWIG_From_int((int)(wxBMP_8BPP_GREY
)));
49910 PyDict_SetItemString(d
,"BMP_8BPP_GRAY", SWIG_From_int((int)(wxBMP_8BPP_GRAY
)));
49913 PyDict_SetItemString(d
,"BMP_8BPP_RED", SWIG_From_int((int)(wxBMP_8BPP_RED
)));
49916 PyDict_SetItemString(d
,"BMP_8BPP_PALETTE", SWIG_From_int((int)(wxBMP_8BPP_PALETTE
)));
49919 PyDict_SetItemString(d
,"BMP_4BPP", SWIG_From_int((int)(wxBMP_4BPP
)));
49922 PyDict_SetItemString(d
,"BMP_1BPP", SWIG_From_int((int)(wxBMP_1BPP
)));
49925 PyDict_SetItemString(d
,"BMP_1BPP_BW", SWIG_From_int((int)(wxBMP_1BPP_BW
)));
49928 PyDict_SetItemString(d
,"QUANTIZE_INCLUDE_WINDOWS_COLOURS", SWIG_From_int((int)(wxQUANTIZE_INCLUDE_WINDOWS_COLOURS
)));
49931 PyDict_SetItemString(d
,"QUANTIZE_FILL_DESTINATION_IMAGE", SWIG_From_int((int)(wxQUANTIZE_FILL_DESTINATION_IMAGE
)));
49934 PyDict_SetItemString(d
,"EVENT_PROPAGATE_NONE", SWIG_From_int((int)(wxEVENT_PROPAGATE_NONE
)));
49937 PyDict_SetItemString(d
,"EVENT_PROPAGATE_MAX", SWIG_From_int((int)(wxEVENT_PROPAGATE_MAX
)));
49939 PyDict_SetItemString(d
, "wxEVT_NULL", PyInt_FromLong(wxEVT_NULL
));
49940 PyDict_SetItemString(d
, "wxEVT_FIRST", PyInt_FromLong(wxEVT_FIRST
));
49941 PyDict_SetItemString(d
, "wxEVT_USER_FIRST", PyInt_FromLong(wxEVT_USER_FIRST
));
49942 PyDict_SetItemString(d
, "wxEVT_COMMAND_BUTTON_CLICKED", PyInt_FromLong(wxEVT_COMMAND_BUTTON_CLICKED
));
49943 PyDict_SetItemString(d
, "wxEVT_COMMAND_CHECKBOX_CLICKED", PyInt_FromLong(wxEVT_COMMAND_CHECKBOX_CLICKED
));
49944 PyDict_SetItemString(d
, "wxEVT_COMMAND_CHOICE_SELECTED", PyInt_FromLong(wxEVT_COMMAND_CHOICE_SELECTED
));
49945 PyDict_SetItemString(d
, "wxEVT_COMMAND_LISTBOX_SELECTED", PyInt_FromLong(wxEVT_COMMAND_LISTBOX_SELECTED
));
49946 PyDict_SetItemString(d
, "wxEVT_COMMAND_LISTBOX_DOUBLECLICKED", PyInt_FromLong(wxEVT_COMMAND_LISTBOX_DOUBLECLICKED
));
49947 PyDict_SetItemString(d
, "wxEVT_COMMAND_CHECKLISTBOX_TOGGLED", PyInt_FromLong(wxEVT_COMMAND_CHECKLISTBOX_TOGGLED
));
49948 PyDict_SetItemString(d
, "wxEVT_COMMAND_MENU_SELECTED", PyInt_FromLong(wxEVT_COMMAND_MENU_SELECTED
));
49949 PyDict_SetItemString(d
, "wxEVT_COMMAND_TOOL_CLICKED", PyInt_FromLong(wxEVT_COMMAND_TOOL_CLICKED
));
49950 PyDict_SetItemString(d
, "wxEVT_COMMAND_SLIDER_UPDATED", PyInt_FromLong(wxEVT_COMMAND_SLIDER_UPDATED
));
49951 PyDict_SetItemString(d
, "wxEVT_COMMAND_RADIOBOX_SELECTED", PyInt_FromLong(wxEVT_COMMAND_RADIOBOX_SELECTED
));
49952 PyDict_SetItemString(d
, "wxEVT_COMMAND_RADIOBUTTON_SELECTED", PyInt_FromLong(wxEVT_COMMAND_RADIOBUTTON_SELECTED
));
49953 PyDict_SetItemString(d
, "wxEVT_COMMAND_SCROLLBAR_UPDATED", PyInt_FromLong(wxEVT_COMMAND_SCROLLBAR_UPDATED
));
49954 PyDict_SetItemString(d
, "wxEVT_COMMAND_VLBOX_SELECTED", PyInt_FromLong(wxEVT_COMMAND_VLBOX_SELECTED
));
49955 PyDict_SetItemString(d
, "wxEVT_COMMAND_COMBOBOX_SELECTED", PyInt_FromLong(wxEVT_COMMAND_COMBOBOX_SELECTED
));
49956 PyDict_SetItemString(d
, "wxEVT_COMMAND_TOOL_RCLICKED", PyInt_FromLong(wxEVT_COMMAND_TOOL_RCLICKED
));
49957 PyDict_SetItemString(d
, "wxEVT_COMMAND_TOOL_ENTER", PyInt_FromLong(wxEVT_COMMAND_TOOL_ENTER
));
49958 PyDict_SetItemString(d
, "wxEVT_LEFT_DOWN", PyInt_FromLong(wxEVT_LEFT_DOWN
));
49959 PyDict_SetItemString(d
, "wxEVT_LEFT_UP", PyInt_FromLong(wxEVT_LEFT_UP
));
49960 PyDict_SetItemString(d
, "wxEVT_MIDDLE_DOWN", PyInt_FromLong(wxEVT_MIDDLE_DOWN
));
49961 PyDict_SetItemString(d
, "wxEVT_MIDDLE_UP", PyInt_FromLong(wxEVT_MIDDLE_UP
));
49962 PyDict_SetItemString(d
, "wxEVT_RIGHT_DOWN", PyInt_FromLong(wxEVT_RIGHT_DOWN
));
49963 PyDict_SetItemString(d
, "wxEVT_RIGHT_UP", PyInt_FromLong(wxEVT_RIGHT_UP
));
49964 PyDict_SetItemString(d
, "wxEVT_MOTION", PyInt_FromLong(wxEVT_MOTION
));
49965 PyDict_SetItemString(d
, "wxEVT_ENTER_WINDOW", PyInt_FromLong(wxEVT_ENTER_WINDOW
));
49966 PyDict_SetItemString(d
, "wxEVT_LEAVE_WINDOW", PyInt_FromLong(wxEVT_LEAVE_WINDOW
));
49967 PyDict_SetItemString(d
, "wxEVT_LEFT_DCLICK", PyInt_FromLong(wxEVT_LEFT_DCLICK
));
49968 PyDict_SetItemString(d
, "wxEVT_MIDDLE_DCLICK", PyInt_FromLong(wxEVT_MIDDLE_DCLICK
));
49969 PyDict_SetItemString(d
, "wxEVT_RIGHT_DCLICK", PyInt_FromLong(wxEVT_RIGHT_DCLICK
));
49970 PyDict_SetItemString(d
, "wxEVT_SET_FOCUS", PyInt_FromLong(wxEVT_SET_FOCUS
));
49971 PyDict_SetItemString(d
, "wxEVT_KILL_FOCUS", PyInt_FromLong(wxEVT_KILL_FOCUS
));
49972 PyDict_SetItemString(d
, "wxEVT_CHILD_FOCUS", PyInt_FromLong(wxEVT_CHILD_FOCUS
));
49973 PyDict_SetItemString(d
, "wxEVT_MOUSEWHEEL", PyInt_FromLong(wxEVT_MOUSEWHEEL
));
49974 PyDict_SetItemString(d
, "wxEVT_NC_LEFT_DOWN", PyInt_FromLong(wxEVT_NC_LEFT_DOWN
));
49975 PyDict_SetItemString(d
, "wxEVT_NC_LEFT_UP", PyInt_FromLong(wxEVT_NC_LEFT_UP
));
49976 PyDict_SetItemString(d
, "wxEVT_NC_MIDDLE_DOWN", PyInt_FromLong(wxEVT_NC_MIDDLE_DOWN
));
49977 PyDict_SetItemString(d
, "wxEVT_NC_MIDDLE_UP", PyInt_FromLong(wxEVT_NC_MIDDLE_UP
));
49978 PyDict_SetItemString(d
, "wxEVT_NC_RIGHT_DOWN", PyInt_FromLong(wxEVT_NC_RIGHT_DOWN
));
49979 PyDict_SetItemString(d
, "wxEVT_NC_RIGHT_UP", PyInt_FromLong(wxEVT_NC_RIGHT_UP
));
49980 PyDict_SetItemString(d
, "wxEVT_NC_MOTION", PyInt_FromLong(wxEVT_NC_MOTION
));
49981 PyDict_SetItemString(d
, "wxEVT_NC_ENTER_WINDOW", PyInt_FromLong(wxEVT_NC_ENTER_WINDOW
));
49982 PyDict_SetItemString(d
, "wxEVT_NC_LEAVE_WINDOW", PyInt_FromLong(wxEVT_NC_LEAVE_WINDOW
));
49983 PyDict_SetItemString(d
, "wxEVT_NC_LEFT_DCLICK", PyInt_FromLong(wxEVT_NC_LEFT_DCLICK
));
49984 PyDict_SetItemString(d
, "wxEVT_NC_MIDDLE_DCLICK", PyInt_FromLong(wxEVT_NC_MIDDLE_DCLICK
));
49985 PyDict_SetItemString(d
, "wxEVT_NC_RIGHT_DCLICK", PyInt_FromLong(wxEVT_NC_RIGHT_DCLICK
));
49986 PyDict_SetItemString(d
, "wxEVT_CHAR", PyInt_FromLong(wxEVT_CHAR
));
49987 PyDict_SetItemString(d
, "wxEVT_CHAR_HOOK", PyInt_FromLong(wxEVT_CHAR_HOOK
));
49988 PyDict_SetItemString(d
, "wxEVT_NAVIGATION_KEY", PyInt_FromLong(wxEVT_NAVIGATION_KEY
));
49989 PyDict_SetItemString(d
, "wxEVT_KEY_DOWN", PyInt_FromLong(wxEVT_KEY_DOWN
));
49990 PyDict_SetItemString(d
, "wxEVT_KEY_UP", PyInt_FromLong(wxEVT_KEY_UP
));
49991 PyDict_SetItemString(d
, "wxEVT_HOTKEY", PyInt_FromLong(wxEVT_HOTKEY
));
49992 PyDict_SetItemString(d
, "wxEVT_SET_CURSOR", PyInt_FromLong(wxEVT_SET_CURSOR
));
49993 PyDict_SetItemString(d
, "wxEVT_SCROLL_TOP", PyInt_FromLong(wxEVT_SCROLL_TOP
));
49994 PyDict_SetItemString(d
, "wxEVT_SCROLL_BOTTOM", PyInt_FromLong(wxEVT_SCROLL_BOTTOM
));
49995 PyDict_SetItemString(d
, "wxEVT_SCROLL_LINEUP", PyInt_FromLong(wxEVT_SCROLL_LINEUP
));
49996 PyDict_SetItemString(d
, "wxEVT_SCROLL_LINEDOWN", PyInt_FromLong(wxEVT_SCROLL_LINEDOWN
));
49997 PyDict_SetItemString(d
, "wxEVT_SCROLL_PAGEUP", PyInt_FromLong(wxEVT_SCROLL_PAGEUP
));
49998 PyDict_SetItemString(d
, "wxEVT_SCROLL_PAGEDOWN", PyInt_FromLong(wxEVT_SCROLL_PAGEDOWN
));
49999 PyDict_SetItemString(d
, "wxEVT_SCROLL_THUMBTRACK", PyInt_FromLong(wxEVT_SCROLL_THUMBTRACK
));
50000 PyDict_SetItemString(d
, "wxEVT_SCROLL_THUMBRELEASE", PyInt_FromLong(wxEVT_SCROLL_THUMBRELEASE
));
50001 PyDict_SetItemString(d
, "wxEVT_SCROLL_CHANGED", PyInt_FromLong(wxEVT_SCROLL_CHANGED
));
50002 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_TOP", PyInt_FromLong(wxEVT_SCROLLWIN_TOP
));
50003 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_BOTTOM", PyInt_FromLong(wxEVT_SCROLLWIN_BOTTOM
));
50004 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_LINEUP", PyInt_FromLong(wxEVT_SCROLLWIN_LINEUP
));
50005 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_LINEDOWN", PyInt_FromLong(wxEVT_SCROLLWIN_LINEDOWN
));
50006 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_PAGEUP", PyInt_FromLong(wxEVT_SCROLLWIN_PAGEUP
));
50007 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_PAGEDOWN", PyInt_FromLong(wxEVT_SCROLLWIN_PAGEDOWN
));
50008 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_THUMBTRACK", PyInt_FromLong(wxEVT_SCROLLWIN_THUMBTRACK
));
50009 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_THUMBRELEASE", PyInt_FromLong(wxEVT_SCROLLWIN_THUMBRELEASE
));
50010 PyDict_SetItemString(d
, "wxEVT_SIZE", PyInt_FromLong(wxEVT_SIZE
));
50011 PyDict_SetItemString(d
, "wxEVT_MOVE", PyInt_FromLong(wxEVT_MOVE
));
50012 PyDict_SetItemString(d
, "wxEVT_CLOSE_WINDOW", PyInt_FromLong(wxEVT_CLOSE_WINDOW
));
50013 PyDict_SetItemString(d
, "wxEVT_END_SESSION", PyInt_FromLong(wxEVT_END_SESSION
));
50014 PyDict_SetItemString(d
, "wxEVT_QUERY_END_SESSION", PyInt_FromLong(wxEVT_QUERY_END_SESSION
));
50015 PyDict_SetItemString(d
, "wxEVT_ACTIVATE_APP", PyInt_FromLong(wxEVT_ACTIVATE_APP
));
50016 PyDict_SetItemString(d
, "wxEVT_POWER", PyInt_FromLong(wxEVT_POWER
));
50017 PyDict_SetItemString(d
, "wxEVT_ACTIVATE", PyInt_FromLong(wxEVT_ACTIVATE
));
50018 PyDict_SetItemString(d
, "wxEVT_CREATE", PyInt_FromLong(wxEVT_CREATE
));
50019 PyDict_SetItemString(d
, "wxEVT_DESTROY", PyInt_FromLong(wxEVT_DESTROY
));
50020 PyDict_SetItemString(d
, "wxEVT_SHOW", PyInt_FromLong(wxEVT_SHOW
));
50021 PyDict_SetItemString(d
, "wxEVT_ICONIZE", PyInt_FromLong(wxEVT_ICONIZE
));
50022 PyDict_SetItemString(d
, "wxEVT_MAXIMIZE", PyInt_FromLong(wxEVT_MAXIMIZE
));
50023 PyDict_SetItemString(d
, "wxEVT_MOUSE_CAPTURE_CHANGED", PyInt_FromLong(wxEVT_MOUSE_CAPTURE_CHANGED
));
50024 PyDict_SetItemString(d
, "wxEVT_PAINT", PyInt_FromLong(wxEVT_PAINT
));
50025 PyDict_SetItemString(d
, "wxEVT_ERASE_BACKGROUND", PyInt_FromLong(wxEVT_ERASE_BACKGROUND
));
50026 PyDict_SetItemString(d
, "wxEVT_NC_PAINT", PyInt_FromLong(wxEVT_NC_PAINT
));
50027 PyDict_SetItemString(d
, "wxEVT_PAINT_ICON", PyInt_FromLong(wxEVT_PAINT_ICON
));
50028 PyDict_SetItemString(d
, "wxEVT_MENU_OPEN", PyInt_FromLong(wxEVT_MENU_OPEN
));
50029 PyDict_SetItemString(d
, "wxEVT_MENU_CLOSE", PyInt_FromLong(wxEVT_MENU_CLOSE
));
50030 PyDict_SetItemString(d
, "wxEVT_MENU_HIGHLIGHT", PyInt_FromLong(wxEVT_MENU_HIGHLIGHT
));
50031 PyDict_SetItemString(d
, "wxEVT_CONTEXT_MENU", PyInt_FromLong(wxEVT_CONTEXT_MENU
));
50032 PyDict_SetItemString(d
, "wxEVT_SYS_COLOUR_CHANGED", PyInt_FromLong(wxEVT_SYS_COLOUR_CHANGED
));
50033 PyDict_SetItemString(d
, "wxEVT_DISPLAY_CHANGED", PyInt_FromLong(wxEVT_DISPLAY_CHANGED
));
50034 PyDict_SetItemString(d
, "wxEVT_SETTING_CHANGED", PyInt_FromLong(wxEVT_SETTING_CHANGED
));
50035 PyDict_SetItemString(d
, "wxEVT_QUERY_NEW_PALETTE", PyInt_FromLong(wxEVT_QUERY_NEW_PALETTE
));
50036 PyDict_SetItemString(d
, "wxEVT_PALETTE_CHANGED", PyInt_FromLong(wxEVT_PALETTE_CHANGED
));
50037 PyDict_SetItemString(d
, "wxEVT_DROP_FILES", PyInt_FromLong(wxEVT_DROP_FILES
));
50038 PyDict_SetItemString(d
, "wxEVT_DRAW_ITEM", PyInt_FromLong(wxEVT_DRAW_ITEM
));
50039 PyDict_SetItemString(d
, "wxEVT_MEASURE_ITEM", PyInt_FromLong(wxEVT_MEASURE_ITEM
));
50040 PyDict_SetItemString(d
, "wxEVT_COMPARE_ITEM", PyInt_FromLong(wxEVT_COMPARE_ITEM
));
50041 PyDict_SetItemString(d
, "wxEVT_INIT_DIALOG", PyInt_FromLong(wxEVT_INIT_DIALOG
));
50042 PyDict_SetItemString(d
, "wxEVT_IDLE", PyInt_FromLong(wxEVT_IDLE
));
50043 PyDict_SetItemString(d
, "wxEVT_UPDATE_UI", PyInt_FromLong(wxEVT_UPDATE_UI
));
50044 PyDict_SetItemString(d
, "wxEVT_SIZING", PyInt_FromLong(wxEVT_SIZING
));
50045 PyDict_SetItemString(d
, "wxEVT_MOVING", PyInt_FromLong(wxEVT_MOVING
));
50046 PyDict_SetItemString(d
, "wxEVT_HIBERNATE", PyInt_FromLong(wxEVT_HIBERNATE
));
50047 PyDict_SetItemString(d
, "wxEVT_COMMAND_LEFT_CLICK", PyInt_FromLong(wxEVT_COMMAND_LEFT_CLICK
));
50048 PyDict_SetItemString(d
, "wxEVT_COMMAND_LEFT_DCLICK", PyInt_FromLong(wxEVT_COMMAND_LEFT_DCLICK
));
50049 PyDict_SetItemString(d
, "wxEVT_COMMAND_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_RIGHT_CLICK
));
50050 PyDict_SetItemString(d
, "wxEVT_COMMAND_RIGHT_DCLICK", PyInt_FromLong(wxEVT_COMMAND_RIGHT_DCLICK
));
50051 PyDict_SetItemString(d
, "wxEVT_COMMAND_SET_FOCUS", PyInt_FromLong(wxEVT_COMMAND_SET_FOCUS
));
50052 PyDict_SetItemString(d
, "wxEVT_COMMAND_KILL_FOCUS", PyInt_FromLong(wxEVT_COMMAND_KILL_FOCUS
));
50053 PyDict_SetItemString(d
, "wxEVT_COMMAND_ENTER", PyInt_FromLong(wxEVT_COMMAND_ENTER
));
50055 PyDict_SetItemString(d
,"MOUSE_BTN_ANY", SWIG_From_int((int)(wxMOUSE_BTN_ANY
)));
50058 PyDict_SetItemString(d
,"MOUSE_BTN_NONE", SWIG_From_int((int)(wxMOUSE_BTN_NONE
)));
50061 PyDict_SetItemString(d
,"MOUSE_BTN_LEFT", SWIG_From_int((int)(wxMOUSE_BTN_LEFT
)));
50064 PyDict_SetItemString(d
,"MOUSE_BTN_MIDDLE", SWIG_From_int((int)(wxMOUSE_BTN_MIDDLE
)));
50067 PyDict_SetItemString(d
,"MOUSE_BTN_RIGHT", SWIG_From_int((int)(wxMOUSE_BTN_RIGHT
)));
50070 PyDict_SetItemString(d
,"UPDATE_UI_PROCESS_ALL", SWIG_From_int((int)(wxUPDATE_UI_PROCESS_ALL
)));
50073 PyDict_SetItemString(d
,"UPDATE_UI_PROCESS_SPECIFIED", SWIG_From_int((int)(wxUPDATE_UI_PROCESS_SPECIFIED
)));
50076 PyDict_SetItemString(d
,"NavigationKeyEvent_IsBackward", SWIG_From_int((int)(wxNavigationKeyEvent::IsBackward
)));
50079 PyDict_SetItemString(d
,"NavigationKeyEvent_IsForward", SWIG_From_int((int)(wxNavigationKeyEvent::IsForward
)));
50082 PyDict_SetItemString(d
,"NavigationKeyEvent_WinChange", SWIG_From_int((int)(wxNavigationKeyEvent::WinChange
)));
50085 PyDict_SetItemString(d
,"NavigationKeyEvent_FromTab", SWIG_From_int((int)(wxNavigationKeyEvent::FromTab
)));
50088 PyDict_SetItemString(d
,"IDLE_PROCESS_ALL", SWIG_From_int((int)(wxIDLE_PROCESS_ALL
)));
50091 PyDict_SetItemString(d
,"IDLE_PROCESS_SPECIFIED", SWIG_From_int((int)(wxIDLE_PROCESS_SPECIFIED
)));
50093 PyDict_SetItemString(d
, "wxEVT_DATE_CHANGED", PyInt_FromLong(wxEVT_DATE_CHANGED
));
50095 PyDict_SetItemString(d
,"PYAPP_ASSERT_SUPPRESS", SWIG_From_int((int)(wxPYAPP_ASSERT_SUPPRESS
)));
50098 PyDict_SetItemString(d
,"PYAPP_ASSERT_EXCEPTION", SWIG_From_int((int)(wxPYAPP_ASSERT_EXCEPTION
)));
50101 PyDict_SetItemString(d
,"PYAPP_ASSERT_DIALOG", SWIG_From_int((int)(wxPYAPP_ASSERT_DIALOG
)));
50104 PyDict_SetItemString(d
,"PYAPP_ASSERT_LOG", SWIG_From_int((int)(wxPYAPP_ASSERT_LOG
)));
50107 PyDict_SetItemString(d
,"PRINT_WINDOWS", SWIG_From_int((int)(wxPRINT_WINDOWS
)));
50110 PyDict_SetItemString(d
,"PRINT_POSTSCRIPT", SWIG_From_int((int)(wxPRINT_POSTSCRIPT
)));
50112 SWIG_addvarlink(SWIG_globals
,(char*)"NullAcceleratorTable",_wrap_NullAcceleratorTable_get
, _wrap_NullAcceleratorTable_set
);
50113 SWIG_addvarlink(SWIG_globals
,(char*)"PanelNameStr",_wrap_PanelNameStr_get
, _wrap_PanelNameStr_set
);
50115 PyDict_SetItemString(d
,"WINDOW_VARIANT_NORMAL", SWIG_From_int((int)(wxWINDOW_VARIANT_NORMAL
)));
50118 PyDict_SetItemString(d
,"WINDOW_VARIANT_SMALL", SWIG_From_int((int)(wxWINDOW_VARIANT_SMALL
)));
50121 PyDict_SetItemString(d
,"WINDOW_VARIANT_MINI", SWIG_From_int((int)(wxWINDOW_VARIANT_MINI
)));
50124 PyDict_SetItemString(d
,"WINDOW_VARIANT_LARGE", SWIG_From_int((int)(wxWINDOW_VARIANT_LARGE
)));
50127 PyDict_SetItemString(d
,"WINDOW_VARIANT_MAX", SWIG_From_int((int)(wxWINDOW_VARIANT_MAX
)));
50129 SWIG_addvarlink(SWIG_globals
,(char*)"DefaultValidator",_wrap_DefaultValidator_get
, _wrap_DefaultValidator_set
);
50130 SWIG_addvarlink(SWIG_globals
,(char*)"ControlNameStr",_wrap_ControlNameStr_get
, _wrap_ControlNameStr_set
);
50132 PyDict_SetItemString(d
,"FLEX_GROWMODE_NONE", SWIG_From_int((int)(wxFLEX_GROWMODE_NONE
)));
50135 PyDict_SetItemString(d
,"FLEX_GROWMODE_SPECIFIED", SWIG_From_int((int)(wxFLEX_GROWMODE_SPECIFIED
)));
50138 PyDict_SetItemString(d
,"FLEX_GROWMODE_ALL", SWIG_From_int((int)(wxFLEX_GROWMODE_ALL
)));
50140 SWIG_addvarlink(SWIG_globals
,(char*)"DefaultSpan",_wrap_DefaultSpan_get
, _wrap_DefaultSpan_set
);
50142 PyDict_SetItemString(d
,"Left", SWIG_From_int((int)(wxLeft
)));
50145 PyDict_SetItemString(d
,"Top", SWIG_From_int((int)(wxTop
)));
50148 PyDict_SetItemString(d
,"Right", SWIG_From_int((int)(wxRight
)));
50151 PyDict_SetItemString(d
,"Bottom", SWIG_From_int((int)(wxBottom
)));
50154 PyDict_SetItemString(d
,"Width", SWIG_From_int((int)(wxWidth
)));
50157 PyDict_SetItemString(d
,"Height", SWIG_From_int((int)(wxHeight
)));
50160 PyDict_SetItemString(d
,"Centre", SWIG_From_int((int)(wxCentre
)));
50163 PyDict_SetItemString(d
,"Center", SWIG_From_int((int)(wxCenter
)));
50166 PyDict_SetItemString(d
,"CentreX", SWIG_From_int((int)(wxCentreX
)));
50169 PyDict_SetItemString(d
,"CentreY", SWIG_From_int((int)(wxCentreY
)));
50172 PyDict_SetItemString(d
,"Unconstrained", SWIG_From_int((int)(wxUnconstrained
)));
50175 PyDict_SetItemString(d
,"AsIs", SWIG_From_int((int)(wxAsIs
)));
50178 PyDict_SetItemString(d
,"PercentOf", SWIG_From_int((int)(wxPercentOf
)));
50181 PyDict_SetItemString(d
,"Above", SWIG_From_int((int)(wxAbove
)));
50184 PyDict_SetItemString(d
,"Below", SWIG_From_int((int)(wxBelow
)));
50187 PyDict_SetItemString(d
,"LeftOf", SWIG_From_int((int)(wxLeftOf
)));
50190 PyDict_SetItemString(d
,"RightOf", SWIG_From_int((int)(wxRightOf
)));
50193 PyDict_SetItemString(d
,"SameAs", SWIG_From_int((int)(wxSameAs
)));
50196 PyDict_SetItemString(d
,"Absolute", SWIG_From_int((int)(wxAbsolute
)));
50199 // Initialize threading, some globals and such
50203 // Although these are defined in __version__ they need to be here too so
50204 // that an assert can be done to ensure that the wxPython and the wxWindows
50206 PyDict_SetItemString(d
,"MAJOR_VERSION", PyInt_FromLong((long)wxMAJOR_VERSION
));
50207 PyDict_SetItemString(d
,"MINOR_VERSION", PyInt_FromLong((long)wxMINOR_VERSION
));
50208 PyDict_SetItemString(d
,"RELEASE_VERSION", PyInt_FromLong((long)wxRELEASE_NUMBER
));