1 /* ----------------------------------------------------------------------------
2 * This file was automatically generated by SWIG (http://www.swig.org).
5 * This file is not intended to be easily readable and contains a number of
6 * coding conventions designed to improve portability and efficiency. Do not make
7 * changes to this file unless you know what you are doing--modify the SWIG
8 * interface file instead.
9 * ----------------------------------------------------------------------------- */
14 template<class T
> class SwigValueWrapper
{
17 SwigValueWrapper() : tt(0) { }
18 SwigValueWrapper(const SwigValueWrapper
<T
>& rhs
) : tt(new T(*rhs
.tt
)) { }
19 SwigValueWrapper(const T
& t
) : tt(new T(t
)) { }
20 ~SwigValueWrapper() { delete tt
; }
21 SwigValueWrapper
& operator=(const T
& t
) { delete tt
; tt
= new T(t
); return *this; }
22 operator T
&() const { return *tt
; }
23 T
*operator&() { return tt
; }
25 SwigValueWrapper
& operator=(const SwigValueWrapper
<T
>& rhs
);
30 #ifndef SWIG_TEMPLATE_DISAMBIGUATOR
31 # if defined(__SUNPRO_CC)
32 # define SWIG_TEMPLATE_DISAMBIGUATOR template
34 # define SWIG_TEMPLATE_DISAMBIGUATOR
41 /***********************************************************************
44 * This file contains generic CAPI SWIG runtime support for pointer
47 ************************************************************************/
49 /* This should only be incremented when either the layout of swig_type_info changes,
50 or for whatever reason, the runtime changes incompatibly */
51 #define SWIG_RUNTIME_VERSION "1"
53 /* define SWIG_TYPE_TABLE_NAME as "SWIG_TYPE_TABLE" */
54 #ifdef SWIG_TYPE_TABLE
55 #define SWIG_QUOTE_STRING(x) #x
56 #define SWIG_EXPAND_AND_QUOTE_STRING(x) SWIG_QUOTE_STRING(x)
57 #define SWIG_TYPE_TABLE_NAME SWIG_EXPAND_AND_QUOTE_STRING(SWIG_TYPE_TABLE)
59 #define SWIG_TYPE_TABLE_NAME
65 #if defined(__cplusplus) || (defined(__GNUC__) && !defined(__STRICT_ANSI__))
66 # define SWIGINLINE inline
73 You can use the SWIGRUNTIME and SWIGRUNTIMEINLINE macros for
74 creating a static or dynamic library from the swig runtime code.
75 In 99.9% of the cases, swig just needs to declare them as 'static'.
77 But only do this if is strictly necessary, ie, if you have problems
78 with your compiler or so.
81 #define SWIGRUNTIME static
83 #ifndef SWIGRUNTIMEINLINE
84 #define SWIGRUNTIMEINLINE SWIGRUNTIME SWIGINLINE
91 typedef void *(*swig_converter_func
)(void *);
92 typedef struct swig_type_info
*(*swig_dycast_func
)(void **);
94 typedef struct swig_type_info
{
96 swig_converter_func converter
;
99 swig_dycast_func dcast
;
100 struct swig_type_info
*next
;
101 struct swig_type_info
*prev
;
105 Compare two type names skipping the space characters, therefore
106 "char*" == "char *" and "Class<int>" == "Class<int >", etc.
108 Return 0 when the two name types are equivalent, as in
109 strncmp, but skipping ' '.
112 SWIG_TypeNameComp(const char *f1
, const char *l1
,
113 const char *f2
, const char *l2
) {
114 for (;(f1
!= l1
) && (f2
!= l2
); ++f1
, ++f2
) {
115 while ((*f1
== ' ') && (f1
!= l1
)) ++f1
;
116 while ((*f2
== ' ') && (f2
!= l2
)) ++f2
;
117 if (*f1
!= *f2
) return *f1
- *f2
;
119 return (l1
- f1
) - (l2
- f2
);
123 Check type equivalence in a name list like <name1>|<name2>|...
126 SWIG_TypeEquiv(const char *nb
, const char *tb
) {
128 const char* te
= tb
+ strlen(tb
);
130 while (!equiv
&& *ne
) {
131 for (nb
= ne
; *ne
; ++ne
) {
132 if (*ne
== '|') break;
134 equiv
= SWIG_TypeNameComp(nb
, ne
, tb
, te
) == 0;
141 Register a type mapping with the type-checking
143 SWIGRUNTIME swig_type_info
*
144 SWIG_TypeRegisterTL(swig_type_info
**tl
, swig_type_info
*ti
) {
145 swig_type_info
*tc
, *head
, *ret
, *next
;
146 /* Check to see if this type has already been registered */
149 /* check simple type equivalence */
150 int typeequiv
= (strcmp(tc
->name
, ti
->name
) == 0);
151 /* check full type equivalence, resolving typedefs */
153 /* only if tc is not a typedef (no '|' on it) */
154 if (tc
->str
&& ti
->str
&& !strstr(tc
->str
,"|")) {
155 typeequiv
= SWIG_TypeEquiv(ti
->str
,tc
->str
);
159 /* Already exists in the table. Just add additional types to the list */
160 if (ti
->clientdata
) tc
->clientdata
= ti
->clientdata
;
174 /* Build linked lists */
178 /* Patch up the rest of the links */
185 if (next
) next
->prev
= head
;
194 SWIGRUNTIME swig_type_info
*
195 SWIG_TypeCheck(const char *c
, swig_type_info
*ty
) {
197 if (!ty
) return 0; /* Void pointer */
198 s
= ty
->next
; /* First element always just a name */
200 if (strcmp(s
->name
,c
) == 0) {
201 if (s
== ty
->next
) return s
;
202 /* Move s to the top of the linked list */
203 s
->prev
->next
= s
->next
;
205 s
->next
->prev
= s
->prev
;
207 /* Insert s as second element in the list */
209 if (ty
->next
) ty
->next
->prev
= s
;
215 } while (s
&& (s
!= ty
->next
));
220 Cast a pointer up an inheritance hierarchy
222 SWIGRUNTIMEINLINE
void *
223 SWIG_TypeCast(swig_type_info
*ty
, void *ptr
) {
224 return ((!ty
) || (!ty
->converter
)) ? ptr
: (*ty
->converter
)(ptr
);
228 Dynamic pointer casting. Down an inheritance hierarchy
230 SWIGRUNTIME swig_type_info
*
231 SWIG_TypeDynamicCast(swig_type_info
*ty
, void **ptr
) {
232 swig_type_info
*lastty
= ty
;
233 if (!ty
|| !ty
->dcast
) return ty
;
234 while (ty
&& (ty
->dcast
)) {
235 ty
= (*ty
->dcast
)(ptr
);
242 Return the name associated with this type
244 SWIGRUNTIMEINLINE
const char *
245 SWIG_TypeName(const swig_type_info
*ty
) {
250 Return the pretty name associated with this type,
251 that is an unmangled type name in a form presentable to the user.
253 SWIGRUNTIME
const char *
254 SWIG_TypePrettyName(const swig_type_info
*type
) {
255 /* The "str" field contains the equivalent pretty names of the
256 type, separated by vertical-bar characters. We choose
257 to print the last name, as it is often (?) the most
259 if (type
->str
!= NULL
) {
260 const char *last_name
= type
->str
;
262 for (s
= type
->str
; *s
; s
++)
263 if (*s
== '|') last_name
= s
+1;
271 Search for a swig_type_info structure
273 SWIGRUNTIME swig_type_info
*
274 SWIG_TypeQueryTL(swig_type_info
*tl
, const char *name
) {
275 swig_type_info
*ty
= tl
;
277 if (ty
->str
&& (SWIG_TypeEquiv(ty
->str
,name
))) return ty
;
278 if (ty
->name
&& (strcmp(name
,ty
->name
) == 0)) return ty
;
285 Set the clientdata field for a type
288 SWIG_TypeClientDataTL(swig_type_info
*tl
, swig_type_info
*ti
, void *clientdata
) {
289 swig_type_info
*tc
, *equiv
;
290 if (ti
->clientdata
) return;
291 /* if (ti->clientdata == clientdata) return; */
292 ti
->clientdata
= clientdata
;
295 if (!equiv
->converter
) {
298 if ((strcmp(tc
->name
, equiv
->name
) == 0))
299 SWIG_TypeClientDataTL(tl
,tc
,clientdata
);
308 Pack binary data into a string
311 SWIG_PackData(char *c
, void *ptr
, size_t sz
) {
312 static char hex
[17] = "0123456789abcdef";
313 unsigned char *u
= (unsigned char *) ptr
;
314 const unsigned char *eu
= u
+ sz
;
315 register unsigned char uu
;
316 for (; u
!= eu
; ++u
) {
318 *(c
++) = hex
[(uu
& 0xf0) >> 4];
319 *(c
++) = hex
[uu
& 0xf];
325 Unpack binary data from a string
327 SWIGRUNTIME
const char *
328 SWIG_UnpackData(const char *c
, void *ptr
, size_t sz
) {
329 register unsigned char *u
= (unsigned char *) ptr
;
330 register const unsigned char *eu
= u
+ sz
;
331 for (; u
!= eu
; ++u
) {
332 register int d
= *(c
++);
333 register unsigned char uu
= 0;
334 if ((d
>= '0') && (d
<= '9'))
335 uu
= ((d
- '0') << 4);
336 else if ((d
>= 'a') && (d
<= 'f'))
337 uu
= ((d
- ('a'-10)) << 4);
341 if ((d
>= '0') && (d
<= '9'))
343 else if ((d
>= 'a') && (d
<= 'f'))
344 uu
|= (d
- ('a'-10));
353 This function will propagate the clientdata field of type to any new
354 swig_type_info structures that have been added into the list of
355 equivalent types. It is like calling SWIG_TypeClientData(type,
356 clientdata) a second time.
359 SWIG_PropagateClientDataTL(swig_type_info
*tl
, swig_type_info
*type
) {
360 swig_type_info
*equiv
= type
->next
;
362 if (!type
->clientdata
) return;
364 if (!equiv
->converter
) {
367 if ((strcmp(tc
->name
, equiv
->name
) == 0) && !tc
->clientdata
)
368 SWIG_TypeClientDataTL(tl
,tc
, type
->clientdata
);
377 Pack 'void *' into a string buffer.
380 SWIG_PackVoidPtr(char *buff
, void *ptr
, const char *name
, size_t bsz
) {
382 if ((2*sizeof(void *) + 2) > bsz
) return 0;
384 r
= SWIG_PackData(r
,&ptr
,sizeof(void *));
385 if (strlen(name
) + 1 > (bsz
- (r
- buff
))) return 0;
390 SWIGRUNTIME
const char *
391 SWIG_UnpackVoidPtr(const char *c
, void **ptr
, const char *name
) {
393 if (strcmp(c
,"NULL") == 0) {
400 return SWIG_UnpackData(++c
,ptr
,sizeof(void *));
404 SWIG_PackDataName(char *buff
, void *ptr
, size_t sz
, const char *name
, size_t bsz
) {
406 size_t lname
= (name
? strlen(name
) : 0);
407 if ((2*sz
+ 2 + lname
) > bsz
) return 0;
409 r
= SWIG_PackData(r
,ptr
,sz
);
411 strncpy(r
,name
,lname
+1);
418 SWIGRUNTIME
const char *
419 SWIG_UnpackDataName(const char *c
, void *ptr
, size_t sz
, const char *name
) {
421 if (strcmp(c
,"NULL") == 0) {
428 return SWIG_UnpackData(++c
,ptr
,sz
);
435 /***********************************************************************
438 * This file contains generic SWIG runtime support for pointer
439 * type checking as well as a few commonly used macros to control
442 * Author : David Beazley (beazley@cs.uchicago.edu)
444 * Copyright (c) 1999-2000, The University of Chicago
446 * This file may be freely redistributed without license or fee provided
447 * this copyright message remains intact.
448 ************************************************************************/
451 #if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
452 # if !defined(STATIC_LINKED)
453 # define SWIGEXPORT(a) __declspec(dllexport) a
455 # define SWIGEXPORT(a) a
458 # define SWIGEXPORT(a) a
466 /*************************************************************************/
469 /* The static type info list */
471 static swig_type_info
*swig_type_list
= 0;
472 static swig_type_info
**swig_type_list_handle
= &swig_type_list
;
475 /* Register a type mapping with the type-checking */
476 static swig_type_info
*
477 SWIG_TypeRegister(swig_type_info
*ti
) {
478 return SWIG_TypeRegisterTL(swig_type_list_handle
, ti
);
481 /* Search for a swig_type_info structure */
482 static swig_type_info
*
483 SWIG_TypeQuery(const char *name
) {
484 return SWIG_TypeQueryTL(*swig_type_list_handle
, name
);
487 /* Set the clientdata field for a type */
489 SWIG_TypeClientData(swig_type_info
*ti
, void *clientdata
) {
490 SWIG_TypeClientDataTL(*swig_type_list_handle
, ti
, clientdata
);
493 /* This function will propagate the clientdata field of type to
494 * any new swig_type_info structures that have been added into the list
495 * of equivalent types. It is like calling
496 * SWIG_TypeClientData(type, clientdata) a second time.
499 SWIG_PropagateClientData(swig_type_info
*type
) {
500 SWIG_PropagateClientDataTL(*swig_type_list_handle
, type
);
507 /* -----------------------------------------------------------------------------
508 * SWIG API. Portion that goes into the runtime
509 * ----------------------------------------------------------------------------- */
515 /* -----------------------------------------------------------------------------
516 * for internal method declarations
517 * ----------------------------------------------------------------------------- */
520 #define SWIGINTERN static
523 #ifndef SWIGINTERNSHORT
525 #define SWIGINTERNSHORT static inline
527 #define SWIGINTERNSHORT static
528 #endif /* __cplusplus */
533 Exception handling in wrappers
535 #define SWIG_fail goto fail
536 #define SWIG_arg_fail(arg) SWIG_Python_ArgFail(arg)
537 #define SWIG_append_errmsg(msg) SWIG_Python_AddErrMesg(msg,0)
538 #define SWIG_preppend_errmsg(msg) SWIG_Python_AddErrMesg(msg,1)
539 #define SWIG_type_error(type,obj) SWIG_Python_TypeError(type,obj)
540 #define SWIG_null_ref(type) SWIG_Python_NullRef(type)
545 #define SWIG_contract_assert(expr, msg) \
546 if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, (char *) msg ); goto fail; } else
548 /* -----------------------------------------------------------------------------
549 * Constant declarations
550 * ----------------------------------------------------------------------------- */
553 #define SWIG_PY_INT 1
554 #define SWIG_PY_FLOAT 2
555 #define SWIG_PY_STRING 3
556 #define SWIG_PY_POINTER 4
557 #define SWIG_PY_BINARY 5
559 /* Constant information structure */
560 typedef struct swig_const_info
{
566 swig_type_info
**ptype
;
570 /* -----------------------------------------------------------------------------
571 * Alloc. memory flags
572 * ----------------------------------------------------------------------------- */
573 #define SWIG_OLDOBJ 1
574 #define SWIG_NEWOBJ SWIG_OLDOBJ + 1
575 #define SWIG_PYSTR SWIG_NEWOBJ + 1
582 /***********************************************************************
585 * This file contains the runtime support for Python modules
586 * and includes code for managing global variables and pointer
589 * Author : David Beazley (beazley@cs.uchicago.edu)
590 ************************************************************************/
592 /* Common SWIG API */
593 #define SWIG_ConvertPtr(obj, pp, type, flags) SWIG_Python_ConvertPtr(obj, pp, type, flags)
594 #define SWIG_NewPointerObj(p, type, flags) SWIG_Python_NewPointerObj(p, type, flags)
595 #define SWIG_MustGetPtr(p, type, argnum, flags) SWIG_Python_MustGetPtr(p, type, argnum, flags)
598 /* Python-specific SWIG API */
599 #define SWIG_ConvertPacked(obj, ptr, sz, ty, flags) SWIG_Python_ConvertPacked(obj, ptr, sz, ty, flags)
600 #define SWIG_NewPackedObj(ptr, sz, type) SWIG_Python_NewPackedObj(ptr, sz, type)
603 /* -----------------------------------------------------------------------------
604 * Pointer declarations
605 * ----------------------------------------------------------------------------- */
607 Use SWIG_NO_COBJECT_TYPES to force the use of strings to represent
608 C/C++ pointers in the python side. Very useful for debugging, but
611 #if !defined(SWIG_NO_COBJECT_TYPES) && !defined(SWIG_COBJECT_TYPES)
612 # define SWIG_COBJECT_TYPES
615 /* Flags for pointer conversion */
616 #define SWIG_POINTER_EXCEPTION 0x1
617 #define SWIG_POINTER_DISOWN 0x2
624 /* -----------------------------------------------------------------------------
625 * Create a new pointer string
626 * ----------------------------------------------------------------------------- */
628 #ifndef SWIG_BUFFER_SIZE
629 #define SWIG_BUFFER_SIZE 1024
632 #if defined(SWIG_COBJECT_TYPES)
633 #if !defined(SWIG_COBJECT_PYTHON)
634 /* -----------------------------------------------------------------------------
635 * Implements a simple Swig Object type, and use it instead of PyCObject
636 * ----------------------------------------------------------------------------- */
644 /* Declarations for objects of type PySwigObject */
647 PySwigObject_print(PySwigObject
*v
, FILE *fp
, int flags
)
649 char result
[SWIG_BUFFER_SIZE
];
650 if (SWIG_PackVoidPtr(result
, v
->ptr
, v
->desc
, sizeof(result
))) {
651 fputs("<Swig Object at ", fp
); fputs(result
, fp
); fputs(">", fp
);
658 SWIGRUNTIME PyObject
*
659 PySwigObject_repr(PySwigObject
*v
)
661 char result
[SWIG_BUFFER_SIZE
];
662 return SWIG_PackVoidPtr(result
, v
->ptr
, v
->desc
, sizeof(result
)) ?
663 PyString_FromFormat("<Swig Object at %s>", result
) : 0;
666 SWIGRUNTIME PyObject
*
667 PySwigObject_str(PySwigObject
*v
)
669 char result
[SWIG_BUFFER_SIZE
];
670 return SWIG_PackVoidPtr(result
, v
->ptr
, v
->desc
, sizeof(result
)) ?
671 PyString_FromString(result
) : 0;
674 SWIGRUNTIME PyObject
*
675 PySwigObject_long(PySwigObject
*v
)
677 return PyLong_FromUnsignedLong((unsigned long) v
->ptr
);
680 SWIGRUNTIME PyObject
*
681 PySwigObject_oct(PySwigObject
*v
)
684 unsigned long x
= (unsigned long)v
->ptr
;
688 PyOS_snprintf(buf
, sizeof(buf
), "0%lo", x
);
689 return PyString_FromString(buf
);
692 SWIGRUNTIME PyObject
*
693 PySwigObject_hex(PySwigObject
*v
)
696 PyOS_snprintf(buf
, sizeof(buf
), "0x%lx", (unsigned long)v
->ptr
);
697 return PyString_FromString(buf
);
701 PySwigObject_compare(PySwigObject
*v
, PySwigObject
*w
)
703 int c
= strcmp(v
->desc
, w
->desc
);
709 return (i
< j
) ? -1 : (i
> j
) ? 1 : 0;
714 PySwigObject_dealloc(PySwigObject
*self
)
719 SWIGRUNTIME PyTypeObject
*
720 PySwigObject_GetType() {
721 static char PySwigObject_Type__doc__
[] =
722 "Swig object carries a C/C++ instance pointer";
724 static PyNumberMethods PySwigObject_as_number
= {
725 (binaryfunc
)0, /*nb_add*/
726 (binaryfunc
)0, /*nb_subtract*/
727 (binaryfunc
)0, /*nb_multiply*/
728 (binaryfunc
)0, /*nb_divide*/
729 (binaryfunc
)0, /*nb_remainder*/
730 (binaryfunc
)0, /*nb_divmod*/
731 (ternaryfunc
)0,/*nb_power*/
732 (unaryfunc
)0, /*nb_negative*/
733 (unaryfunc
)0, /*nb_positive*/
734 (unaryfunc
)0, /*nb_absolute*/
735 (inquiry
)0, /*nb_nonzero*/
742 (coercion
)0, /*nb_coerce*/
743 (unaryfunc
)PySwigObject_long
, /*nb_int*/
744 (unaryfunc
)PySwigObject_long
, /*nb_long*/
745 (unaryfunc
)0, /*nb_float*/
746 (unaryfunc
)PySwigObject_oct
, /*nb_oct*/
747 (unaryfunc
)PySwigObject_hex
, /*nb_hex*/
748 #if PY_VERSION_HEX >= 0x02000000
749 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_true_divide */
753 static int type_init
= 0;
754 static PyTypeObject PySwigObject_Type
;
758 PyObject_HEAD_INIT(&PyType_Type
)
760 "PySwigObject", /*tp_name*/
761 sizeof(PySwigObject
), /*tp_basicsize*/
764 (destructor
)PySwigObject_dealloc
, /*tp_dealloc*/
765 (printfunc
)PySwigObject_print
, /*tp_print*/
766 (getattrfunc
)0, /*tp_getattr*/
767 (setattrfunc
)0, /*tp_setattr*/
768 (cmpfunc
)PySwigObject_compare
, /*tp_compare*/
769 (reprfunc
)PySwigObject_repr
, /*tp_repr*/
770 &PySwigObject_as_number
, /*tp_as_number*/
771 0, /*tp_as_sequence*/
773 (hashfunc
)0, /*tp_hash*/
774 (ternaryfunc
)0, /*tp_call*/
775 (reprfunc
)PySwigObject_str
, /*tp_str*/
776 /* Space for future expansion */
778 PySwigObject_Type__doc__
, /* Documentation string */
779 #if PY_VERSION_HEX >= 0x02000000
783 #if PY_VERSION_HEX >= 0x02010000
784 0, /* tp_richcompare */
785 0, /* tp_weaklistoffset */
787 #if PY_VERSION_HEX >= 0x02020000
788 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
790 #if PY_VERSION_HEX >= 0x02030000
794 0,0,0,0 /* tp_alloc -> tp_next */
798 PySwigObject_Type
= tmp
;
802 return &PySwigObject_Type
;
805 SWIGRUNTIME PyObject
*
806 PySwigObject_FromVoidPtrAndDesc(void *ptr
, const char *desc
)
808 PySwigObject
*self
= PyObject_NEW(PySwigObject
, PySwigObject_GetType());
809 if (self
== NULL
) return NULL
;
812 return (PyObject
*)self
;
815 SWIGRUNTIMEINLINE
void *
816 PySwigObject_AsVoidPtr(PyObject
*self
)
818 return ((PySwigObject
*)self
)->ptr
;
821 SWIGRUNTIMEINLINE
const char *
822 PySwigObject_GetDesc(PyObject
*self
)
824 return ((PySwigObject
*)self
)->desc
;
827 SWIGRUNTIMEINLINE
int
828 PySwigObject_Check(PyObject
*op
) {
829 return ((op
)->ob_type
== PySwigObject_GetType())
830 || (strcmp((op
)->ob_type
->tp_name
,"PySwigObject") == 0);
833 /* -----------------------------------------------------------------------------
834 * Implements a simple Swig Packed type, and use it instead of string
835 * ----------------------------------------------------------------------------- */
845 PySwigPacked_print(PySwigPacked
*v
, FILE *fp
, int flags
)
847 char result
[SWIG_BUFFER_SIZE
];
848 fputs("<Swig Packed ", fp
);
849 if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))) {
858 SWIGRUNTIME PyObject
*
859 PySwigPacked_repr(PySwigPacked
*v
)
861 char result
[SWIG_BUFFER_SIZE
];
862 if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))) {
863 return PyString_FromFormat("<Swig Packed at %s%s>", result
, v
->desc
);
865 return PyString_FromFormat("<Swig Packed %s>", v
->desc
);
869 SWIGRUNTIME PyObject
*
870 PySwigPacked_str(PySwigPacked
*v
)
872 char result
[SWIG_BUFFER_SIZE
];
873 if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))){
874 return PyString_FromFormat("%s%s", result
, v
->desc
);
876 return PyString_FromFormat("%s", v
->desc
);
881 PySwigPacked_compare(PySwigPacked
*v
, PySwigPacked
*w
)
883 int c
= strcmp(v
->desc
, w
->desc
);
889 int s
= (i
< j
) ? -1 : (i
> j
) ? 1 : 0;
890 return s
? s
: strncmp((char *)v
->pack
, (char *)w
->pack
, 2*v
->size
);
895 PySwigPacked_dealloc(PySwigPacked
*self
)
901 SWIGRUNTIME PyTypeObject
*
902 PySwigPacked_GetType() {
903 static char PySwigPacked_Type__doc__
[] =
904 "Swig object carries a C/C++ instance pointer";
905 static int type_init
= 0;
907 static PyTypeObject PySwigPacked_Type
;
910 PyObject_HEAD_INIT(&PyType_Type
)
912 "PySwigPacked", /*tp_name*/
913 sizeof(PySwigPacked
), /*tp_basicsize*/
916 (destructor
)PySwigPacked_dealloc
, /*tp_dealloc*/
917 (printfunc
)PySwigPacked_print
, /*tp_print*/
918 (getattrfunc
)0, /*tp_getattr*/
919 (setattrfunc
)0, /*tp_setattr*/
920 (cmpfunc
)PySwigPacked_compare
, /*tp_compare*/
921 (reprfunc
)PySwigPacked_repr
, /*tp_repr*/
923 0, /*tp_as_sequence*/
925 (hashfunc
)0, /*tp_hash*/
926 (ternaryfunc
)0, /*tp_call*/
927 (reprfunc
)PySwigPacked_str
, /*tp_str*/
928 /* Space for future expansion */
930 PySwigPacked_Type__doc__
, /* Documentation string */
931 #if PY_VERSION_HEX >= 0x02000000
935 #if PY_VERSION_HEX >= 0x02010000
936 0, /* tp_richcompare */
937 0, /* tp_weaklistoffset */
939 #if PY_VERSION_HEX >= 0x02020000
940 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
942 #if PY_VERSION_HEX >= 0x02030000
946 0,0,0,0 /* tp_alloc -> tp_next */
950 PySwigPacked_Type
= tmp
;
956 return &PySwigPacked_Type
;
959 SWIGRUNTIME PyObject
*
960 PySwigPacked_FromDataAndDesc(void *ptr
, size_t size
, const char *desc
)
962 PySwigPacked
*self
= PyObject_NEW(PySwigPacked
, PySwigPacked_GetType());
966 void *pack
= malloc(size
);
967 memcpy(pack
, ptr
, size
);
971 return (PyObject
*) self
;
975 SWIGRUNTIMEINLINE
const char *
976 PySwigPacked_UnpackData(PyObject
*obj
, void *ptr
, size_t size
)
978 PySwigPacked
*self
= (PySwigPacked
*)obj
;
979 if (self
->size
!= size
) return 0;
980 memcpy(ptr
, self
->pack
, size
);
984 SWIGRUNTIMEINLINE
const char *
985 PySwigPacked_GetDesc(PyObject
*self
)
987 return ((PySwigPacked
*)self
)->desc
;
990 SWIGRUNTIMEINLINE
int
991 PySwigPacked_Check(PyObject
*op
) {
992 return ((op
)->ob_type
== PySwigPacked_GetType())
993 || (strcmp((op
)->ob_type
->tp_name
,"PySwigPacked") == 0);
997 /* -----------------------------------------------------------------------------
998 * Use the old Python PyCObject instead of PySwigObject
999 * ----------------------------------------------------------------------------- */
1001 #define PySwigObject_GetDesc(obj) PyCObject_GetDesc(obj)
1002 #define PySwigObject_Check(obj) PyCObject_Check(obj)
1003 #define PySwigObject_AsVoidPtr(obj) PyCObject_AsVoidPtr(obj)
1004 #define PySwigObject_FromVoidPtrAndDesc(p, d) PyCObject_FromVoidPtrAndDesc(p, d, NULL)
1010 /* -----------------------------------------------------------------------------
1011 * errors manipulation
1012 * ----------------------------------------------------------------------------- */
1015 SWIG_Python_TypeError(const char *type
, PyObject
*obj
)
1018 #if defined(SWIG_COBJECT_TYPES)
1019 if (PySwigObject_Check(obj
)) {
1020 const char *otype
= (const char *) PySwigObject_GetDesc(obj
);
1022 PyErr_Format(PyExc_TypeError
, "a '%s' is expected, 'PySwigObject(%s)' is received",
1029 const char *otype
= (obj
? obj
->ob_type
->tp_name
: 0);
1031 PyObject
*str
= PyObject_Str(obj
);
1032 const char *cstr
= str
? PyString_AsString(str
) : 0;
1034 PyErr_Format(PyExc_TypeError
, "a '%s' is expected, '%s(%s)' is received",
1037 PyErr_Format(PyExc_TypeError
, "a '%s' is expected, '%s' is received",
1044 PyErr_Format(PyExc_TypeError
, "a '%s' is expected", type
);
1046 PyErr_Format(PyExc_TypeError
, "unexpected type is received");
1050 SWIGRUNTIMEINLINE
void
1051 SWIG_Python_NullRef(const char *type
)
1054 PyErr_Format(PyExc_TypeError
, "null reference of type '%s' was received",type
);
1056 PyErr_Format(PyExc_TypeError
, "null reference was received");
1061 SWIG_Python_AddErrMesg(const char* mesg
, int infront
)
1063 if (PyErr_Occurred()) {
1065 PyObject
*value
= 0;
1066 PyObject
*traceback
= 0;
1067 PyErr_Fetch(&type
, &value
, &traceback
);
1069 PyObject
*old_str
= PyObject_Str(value
);
1073 PyErr_Format(type
, "%s %s", mesg
, PyString_AsString(old_str
));
1075 PyErr_Format(type
, "%s %s", PyString_AsString(old_str
), mesg
);
1086 SWIG_Python_ArgFail(int argnum
)
1088 if (PyErr_Occurred()) {
1089 /* add information about failing argument */
1091 sprintf(mesg
, "argument number %d:", argnum
);
1092 return SWIG_Python_AddErrMesg(mesg
, 1);
1099 /* -----------------------------------------------------------------------------
1100 * pointers/data manipulation
1101 * ----------------------------------------------------------------------------- */
1103 /* Convert a pointer value */
1105 SWIG_Python_ConvertPtr(PyObject
*obj
, void **ptr
, swig_type_info
*ty
, int flags
) {
1108 static PyObject
*SWIG_this
= 0;
1110 PyObject
*pyobj
= 0;
1114 if (obj
== Py_None
) {
1119 #ifdef SWIG_COBJECT_TYPES
1120 if (!(PySwigObject_Check(obj
))) {
1122 SWIG_this
= PyString_FromString("this");
1124 obj
= PyObject_GetAttr(obj
,SWIG_this
);
1126 if (!obj
) goto type_error
;
1127 if (!PySwigObject_Check(obj
)) {
1132 vptr
= PySwigObject_AsVoidPtr(obj
);
1133 c
= (const char *) PySwigObject_GetDesc(obj
);
1134 if (newref
) { Py_DECREF(obj
); }
1137 if (!(PyString_Check(obj
))) {
1139 SWIG_this
= PyString_FromString("this");
1141 obj
= PyObject_GetAttr(obj
,SWIG_this
);
1143 if (!obj
) goto type_error
;
1144 if (!PyString_Check(obj
)) {
1149 c
= PyString_AS_STRING(obj
);
1150 /* Pointer values must start with leading underscore */
1151 c
= SWIG_UnpackVoidPtr(c
, &vptr
, ty
->name
);
1152 if (newref
) { Py_DECREF(obj
); }
1153 if (!c
) goto type_error
;
1159 tc
= SWIG_TypeCheck(c
,ty
);
1160 if (!tc
) goto type_error
;
1161 *ptr
= SWIG_TypeCast(tc
,vptr
);
1166 if ((pyobj
) && (flags
& SWIG_POINTER_DISOWN
)) {
1167 PyObject_SetAttrString(pyobj
,(char*)"thisown",Py_False
);
1173 if (pyobj
&& !obj
) {
1175 if (PyCFunction_Check(obj
)) {
1176 /* here we get the method pointer for callbacks */
1177 char *doc
= (((PyCFunctionObject
*)obj
) -> m_ml
-> ml_doc
);
1178 c
= doc
? strstr(doc
, "swig_ptr: ") : 0;
1180 c
= SWIG_UnpackVoidPtr(c
+ 10, &vptr
, ty
->name
);
1181 if (!c
) goto type_error
;
1186 if (flags
& SWIG_POINTER_EXCEPTION
) {
1188 SWIG_Python_TypeError(SWIG_TypePrettyName(ty
), obj
);
1190 SWIG_Python_TypeError("C/C++ pointer", obj
);
1196 /* Convert a pointer value, signal an exception on a type mismatch */
1198 SWIG_Python_MustGetPtr(PyObject
*obj
, swig_type_info
*ty
, int argnum
, int flags
) {
1200 if (SWIG_Python_ConvertPtr(obj
, &result
, ty
, flags
) == -1) {
1202 if (flags
& SWIG_POINTER_EXCEPTION
) {
1203 SWIG_Python_TypeError(SWIG_TypePrettyName(ty
), obj
);
1204 SWIG_Python_ArgFail(argnum
);
1210 /* Convert a packed value value */
1212 SWIG_Python_ConvertPacked(PyObject
*obj
, void *ptr
, size_t sz
, swig_type_info
*ty
, int flags
) {
1216 #if defined(SWIG_COBJECT_TYPES) && !defined(SWIG_COBJECT_PYTHON)
1217 c
= PySwigPacked_UnpackData(obj
, ptr
, sz
);
1219 if ((!obj
) || (!PyString_Check(obj
))) goto type_error
;
1220 c
= PyString_AS_STRING(obj
);
1221 /* Pointer values must start with leading underscore */
1222 c
= SWIG_UnpackDataName(c
, ptr
, sz
, ty
->name
);
1224 if (!c
) goto type_error
;
1226 tc
= SWIG_TypeCheck(c
,ty
);
1227 if (!tc
) goto type_error
;
1233 if (flags
& SWIG_POINTER_EXCEPTION
) {
1235 SWIG_Python_TypeError(SWIG_TypePrettyName(ty
), obj
);
1237 SWIG_Python_TypeError("C/C++ packed data", obj
);
1243 /* Create a new array object */
1244 SWIGRUNTIME PyObject
*
1245 SWIG_Python_NewPointerObj(void *ptr
, swig_type_info
*type
, int own
) {
1251 #ifdef SWIG_COBJECT_TYPES
1252 robj
= PySwigObject_FromVoidPtrAndDesc((void *) ptr
, (char *)type
->name
);
1255 char result
[SWIG_BUFFER_SIZE
];
1256 robj
= SWIG_PackVoidPtr(result
, ptr
, type
->name
, sizeof(result
)) ?
1257 PyString_FromString(result
) : 0;
1260 if (!robj
|| (robj
== Py_None
)) return robj
;
1261 if (type
->clientdata
) {
1263 PyObject
*args
= Py_BuildValue((char*)"(O)", robj
);
1265 inst
= PyObject_CallObject((PyObject
*) type
->clientdata
, args
);
1269 PyObject_SetAttrString(inst
,(char*)"thisown",Py_True
);
1277 SWIGRUNTIME PyObject
*
1278 SWIG_Python_NewPackedObj(void *ptr
, size_t sz
, swig_type_info
*type
) {
1284 #if defined(SWIG_COBJECT_TYPES) && !defined(SWIG_COBJECT_PYTHON)
1285 robj
= PySwigPacked_FromDataAndDesc((void *) ptr
, sz
, (char *)type
->name
);
1288 char result
[SWIG_BUFFER_SIZE
];
1289 robj
= SWIG_PackDataName(result
, ptr
, sz
, type
->name
, sizeof(result
)) ?
1290 PyString_FromString(result
) : 0;
1296 /* -----------------------------------------------------------------------------*
1298 * -----------------------------------------------------------------------------*/
1300 #ifdef SWIG_LINK_RUNTIME
1301 void *SWIG_ReturnGlobalTypeList(void *);
1304 SWIGRUNTIME swig_type_info
**
1305 SWIG_Python_GetTypeListHandle() {
1306 static void *type_pointer
= (void *)0;
1307 /* first check if module already created */
1308 if (!type_pointer
) {
1309 #ifdef SWIG_LINK_RUNTIME
1310 type_pointer
= SWIG_ReturnGlobalTypeList((void *)0);
1312 type_pointer
= PyCObject_Import((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION
,
1313 (char*)"type_pointer" SWIG_TYPE_TABLE_NAME
);
1314 if (PyErr_Occurred()) {
1316 type_pointer
= (void *)0;
1320 return (swig_type_info
**) type_pointer
;
1324 Search for a swig_type_info structure
1326 SWIGRUNTIMEINLINE swig_type_info
*
1327 SWIG_Python_GetTypeList() {
1328 swig_type_info
**tlh
= SWIG_Python_GetTypeListHandle();
1329 return tlh
? *tlh
: (swig_type_info
*)0;
1332 #define SWIG_Runtime_GetTypeList SWIG_Python_GetTypeList
1339 /* -------- TYPES TABLE (BEGIN) -------- */
1341 #define SWIGTYPE_p_wxLayoutConstraints swig_types[0]
1342 #define SWIGTYPE_p_wxRealPoint swig_types[1]
1343 #define SWIGTYPE_p_wxSizerItem swig_types[2]
1344 #define SWIGTYPE_p_wxGBSizerItem swig_types[3]
1345 #define SWIGTYPE_p_wxScrollEvent swig_types[4]
1346 #define SWIGTYPE_p_wxEventLoop swig_types[5]
1347 #define SWIGTYPE_p_wxIndividualLayoutConstraint swig_types[6]
1348 #define SWIGTYPE_p_wxSizer swig_types[7]
1349 #define SWIGTYPE_p_wxBoxSizer swig_types[8]
1350 #define SWIGTYPE_p_wxStaticBoxSizer swig_types[9]
1351 #define SWIGTYPE_p_wxGridBagSizer swig_types[10]
1352 #define SWIGTYPE_p_wxAcceleratorEntry swig_types[11]
1353 #define SWIGTYPE_p_wxUpdateUIEvent swig_types[12]
1354 #define SWIGTYPE_p_wxEvent swig_types[13]
1355 #define SWIGTYPE_p_buffer swig_types[14]
1356 #define SWIGTYPE_p_wxMenu swig_types[15]
1357 #define SWIGTYPE_p_wxGridSizer swig_types[16]
1358 #define SWIGTYPE_p_wxFlexGridSizer swig_types[17]
1359 #define SWIGTYPE_p_wxInitDialogEvent swig_types[18]
1360 #define SWIGTYPE_p_wxItemContainer swig_types[19]
1361 #define SWIGTYPE_p_wxNcPaintEvent swig_types[20]
1362 #define SWIGTYPE_p_wxPaintEvent swig_types[21]
1363 #define SWIGTYPE_p_wxSysColourChangedEvent swig_types[22]
1364 #define SWIGTYPE_p_wxMouseCaptureChangedEvent swig_types[23]
1365 #define SWIGTYPE_p_wxDisplayChangedEvent swig_types[24]
1366 #define SWIGTYPE_p_wxPaletteChangedEvent swig_types[25]
1367 #define SWIGTYPE_p_wxControl swig_types[26]
1368 #define SWIGTYPE_p_wxFont swig_types[27]
1369 #define SWIGTYPE_p_wxMenuBarBase swig_types[28]
1370 #define SWIGTYPE_p_wxSetCursorEvent swig_types[29]
1371 #define SWIGTYPE_p_wxFSFile swig_types[30]
1372 #define SWIGTYPE_p_wxCaret swig_types[31]
1373 #define SWIGTYPE_ptrdiff_t swig_types[32]
1374 #define SWIGTYPE_std__ptrdiff_t swig_types[33]
1375 #define SWIGTYPE_p_wxRegion swig_types[34]
1376 #define SWIGTYPE_p_wxPoint2D swig_types[35]
1377 #define SWIGTYPE_p_int swig_types[36]
1378 #define SWIGTYPE_p_wxSize swig_types[37]
1379 #define SWIGTYPE_p_wxDC swig_types[38]
1380 #define SWIGTYPE_p_wxPySizer swig_types[39]
1381 #define SWIGTYPE_p_wxVisualAttributes swig_types[40]
1382 #define SWIGTYPE_p_wxNotifyEvent swig_types[41]
1383 #define SWIGTYPE_p_wxPyEvent swig_types[42]
1384 #define SWIGTYPE_p_wxPropagationDisabler swig_types[43]
1385 #define SWIGTYPE_p_form_ops_t swig_types[44]
1386 #define SWIGTYPE_p_wxAppTraits swig_types[45]
1387 #define SWIGTYPE_p_wxArrayString swig_types[46]
1388 #define SWIGTYPE_p_wxShowEvent swig_types[47]
1389 #define SWIGTYPE_p_wxToolTip swig_types[48]
1390 #define SWIGTYPE_p_wxMoveEvent swig_types[49]
1391 #define SWIGTYPE_p_wxSizeEvent swig_types[50]
1392 #define SWIGTYPE_p_wxActivateEvent swig_types[51]
1393 #define SWIGTYPE_p_wxIconizeEvent swig_types[52]
1394 #define SWIGTYPE_p_wxMaximizeEvent swig_types[53]
1395 #define SWIGTYPE_p_wxQueryNewPaletteEvent swig_types[54]
1396 #define SWIGTYPE_p_wxWindowCreateEvent swig_types[55]
1397 #define SWIGTYPE_p_wxIdleEvent swig_types[56]
1398 #define SWIGTYPE_p_wxDateEvent swig_types[57]
1399 #define SWIGTYPE_p_wxMenuItem swig_types[58]
1400 #define SWIGTYPE_p_wxStaticBox swig_types[59]
1401 #define SWIGTYPE_p_long swig_types[60]
1402 #define SWIGTYPE_p_wxDuplexMode swig_types[61]
1403 #define SWIGTYPE_p_wxTIFFHandler swig_types[62]
1404 #define SWIGTYPE_p_wxXPMHandler swig_types[63]
1405 #define SWIGTYPE_p_wxPNMHandler swig_types[64]
1406 #define SWIGTYPE_p_wxJPEGHandler swig_types[65]
1407 #define SWIGTYPE_p_wxPCXHandler swig_types[66]
1408 #define SWIGTYPE_p_wxGIFHandler swig_types[67]
1409 #define SWIGTYPE_p_wxPNGHandler swig_types[68]
1410 #define SWIGTYPE_p_wxANIHandler swig_types[69]
1411 #define SWIGTYPE_p_wxMemoryFSHandler swig_types[70]
1412 #define SWIGTYPE_p_wxZipFSHandler swig_types[71]
1413 #define SWIGTYPE_p_wxInternetFSHandler swig_types[72]
1414 #define SWIGTYPE_p_wxPyFileSystemHandler swig_types[73]
1415 #define SWIGTYPE_p_wxEvtHandler swig_types[74]
1416 #define SWIGTYPE_p_wxCURHandler swig_types[75]
1417 #define SWIGTYPE_p_wxICOHandler swig_types[76]
1418 #define SWIGTYPE_p_wxBMPHandler swig_types[77]
1419 #define SWIGTYPE_p_wxImageHandler swig_types[78]
1420 #define SWIGTYPE_p_wxFileSystemHandler swig_types[79]
1421 #define SWIGTYPE_p_wxRect swig_types[80]
1422 #define SWIGTYPE_p_wxButton swig_types[81]
1423 #define SWIGTYPE_p_wxGBSpan swig_types[82]
1424 #define SWIGTYPE_p_wxPropagateOnce swig_types[83]
1425 #define SWIGTYPE_p_wxAcceleratorTable swig_types[84]
1426 #define SWIGTYPE_p_wxStdDialogButtonSizer swig_types[85]
1427 #define SWIGTYPE_p_char swig_types[86]
1428 #define SWIGTYPE_p_wxGBPosition swig_types[87]
1429 #define SWIGTYPE_p_wxImage swig_types[88]
1430 #define SWIGTYPE_p_wxFrame swig_types[89]
1431 #define SWIGTYPE_p_wxScrollWinEvent swig_types[90]
1432 #define SWIGTYPE_p_wxPaperSize swig_types[91]
1433 #define SWIGTYPE_p_wxImageHistogram swig_types[92]
1434 #define SWIGTYPE_p_wxPoint swig_types[93]
1435 #define SWIGTYPE_p_wxCursor swig_types[94]
1436 #define SWIGTYPE_p_wxObject swig_types[95]
1437 #define SWIGTYPE_p_wxInputStream swig_types[96]
1438 #define SWIGTYPE_p_wxOutputStream swig_types[97]
1439 #define SWIGTYPE_p_wxPyInputStream swig_types[98]
1440 #define SWIGTYPE_p_wxDateTime swig_types[99]
1441 #define SWIGTYPE_p_wxKeyEvent swig_types[100]
1442 #define SWIGTYPE_p_wxNavigationKeyEvent swig_types[101]
1443 #define SWIGTYPE_p_wxWindowDestroyEvent swig_types[102]
1444 #define SWIGTYPE_p_unsigned_long swig_types[103]
1445 #define SWIGTYPE_p_wxWindow swig_types[104]
1446 #define SWIGTYPE_p_wxMenuBar swig_types[105]
1447 #define SWIGTYPE_p_wxFileSystem swig_types[106]
1448 #define SWIGTYPE_p_wxBitmap swig_types[107]
1449 #define SWIGTYPE_unsigned_int swig_types[108]
1450 #define SWIGTYPE_p_unsigned_int swig_types[109]
1451 #define SWIGTYPE_p_wxMenuEvent swig_types[110]
1452 #define SWIGTYPE_p_wxContextMenuEvent swig_types[111]
1453 #define SWIGTYPE_p_unsigned_char swig_types[112]
1454 #define SWIGTYPE_p_wxEraseEvent swig_types[113]
1455 #define SWIGTYPE_p_wxMouseEvent swig_types[114]
1456 #define SWIGTYPE_p_wxCloseEvent swig_types[115]
1457 #define SWIGTYPE_p_wxPyApp swig_types[116]
1458 #define SWIGTYPE_p_wxCommandEvent swig_types[117]
1459 #define SWIGTYPE_p_wxPyCommandEvent swig_types[118]
1460 #define SWIGTYPE_p_wxPyDropTarget swig_types[119]
1461 #define SWIGTYPE_p_wxQuantize swig_types[120]
1462 #define SWIGTYPE_p_wxFocusEvent swig_types[121]
1463 #define SWIGTYPE_p_wxChildFocusEvent swig_types[122]
1464 #define SWIGTYPE_p_wxDropFilesEvent swig_types[123]
1465 #define SWIGTYPE_p_wxControlWithItems swig_types[124]
1466 #define SWIGTYPE_p_wxColour swig_types[125]
1467 #define SWIGTYPE_p_wxValidator swig_types[126]
1468 #define SWIGTYPE_p_wxPyValidator swig_types[127]
1469 static swig_type_info
*swig_types
[129];
1471 /* -------- TYPES TABLE (END) -------- */
1474 /*-----------------------------------------------
1475 @(target):= _core_.so
1476 ------------------------------------------------*/
1477 #define SWIG_init init_core_
1479 #define SWIG_name "_core_"
1481 #include "wx/wxPython/wxPython_int.h"
1482 #include "wx/wxPython/pyclasses.h"
1485 #ifndef wxPyUSE_EXPORT
1486 // Helper functions for dealing with SWIG objects and such. These are
1487 // located here so they know about the SWIG types and functions declared
1488 // in the wrapper code.
1490 #include <wx/hashmap.h>
1491 WX_DECLARE_STRING_HASH_MAP( swig_type_info
*, wxPyTypeInfoHashMap
);
1494 // Maintains a hashmap of className to swig_type_info pointers. Given the
1495 // name of a class either looks up the type info in the cache, or scans the
1496 // SWIG tables for it.
1497 extern PyObject
* wxPyPtrTypeMap
;
1499 swig_type_info
* wxPyFindSwigType(const wxChar
* className
) {
1501 static wxPyTypeInfoHashMap
* typeInfoCache
= NULL
;
1503 if (typeInfoCache
== NULL
)
1504 typeInfoCache
= new wxPyTypeInfoHashMap
;
1506 wxString
name(className
);
1507 swig_type_info
* swigType
= (*typeInfoCache
)[name
];
1510 // it wasn't in the cache, so look it up from SWIG
1511 name
.Append(wxT(" *"));
1512 swigType
= SWIG_TypeQuery(name
.mb_str());
1514 // if it still wasn't found, try looking for a mapped name
1519 if ((item
= PyDict_GetItemString(wxPyPtrTypeMap
,
1520 (char*)(const char*)name
.mbc_str())) != NULL
) {
1521 name
= wxString(PyString_AsString(item
), *wxConvCurrent
);
1522 name
.Append(wxT(" *"));
1523 swigType
= SWIG_TypeQuery(name
.mb_str());
1527 // and add it to the map if found
1528 (*typeInfoCache
)[className
] = swigType
;
1535 // Check if a class name is a type known to SWIG
1536 bool wxPyCheckSwigType(const wxChar
* className
) {
1538 swig_type_info
* swigType
= wxPyFindSwigType(className
);
1539 return swigType
!= NULL
;
1543 // Given a pointer to a C++ object and a class name, construct a Python proxy
1545 PyObject
* wxPyConstructObject(void* ptr
,
1546 const wxChar
* className
,
1549 swig_type_info
* swigType
= wxPyFindSwigType(className
);
1550 wxCHECK_MSG(swigType
!= NULL
, NULL
, wxT("Unknown type in wxPyConstructObject"));
1552 return SWIG_Python_NewPointerObj(ptr
, swigType
, setThisOwn
);
1556 // Extract a pointer to the wrapped C++ object from a Python proxy object.
1557 // Ensures that the proxy object is of the specified (or derived) type. If
1558 // not able to perform the conversion then a Python exception is set and the
1559 // error should be handled properly in the caller. Returns True on success.
1560 bool wxPyConvertSwigPtr(PyObject
* obj
, void **ptr
,
1561 const wxChar
* className
) {
1563 swig_type_info
* swigType
= wxPyFindSwigType(className
);
1564 wxCHECK_MSG(swigType
!= NULL
, false, wxT("Unknown type in wxPyConvertSwigPtr"));
1566 return SWIG_Python_ConvertPtr(obj
, ptr
, swigType
, SWIG_POINTER_EXCEPTION
) != -1;
1570 // Make a SWIGified pointer object suitable for a .this attribute
1571 PyObject
* wxPyMakeSwigPtr(void* ptr
, const wxChar
* className
) {
1573 PyObject
* robj
= NULL
;
1575 swig_type_info
* swigType
= wxPyFindSwigType(className
);
1576 wxCHECK_MSG(swigType
!= NULL
, NULL
, wxT("Unknown type in wxPyConvertSwigPtr"));
1578 #ifdef SWIG_COBJECT_TYPES
1579 robj
= PySwigObject_FromVoidPtrAndDesc((void *) ptr
, (char *)swigType
->name
);
1583 robj
= SWIG_PackVoidPtr(result
, ptr
, swigType
->name
, sizeof(result
)) ?
1584 PyString_FromString(result
) : 0;
1594 // Export a C API in a struct. Other modules will be able to load this from
1595 // the wx._core_ module and will then have safe access to these functions,
1596 // even if they are located in another shared library.
1597 static wxPyCoreAPI API
= {
1600 wxPyConstructObject
,
1604 wxPyBeginAllowThreads
,
1605 wxPyEndAllowThreads
,
1606 wxPyBeginBlockThreads
,
1607 wxPyEndBlockThreads
,
1619 wxPoint_LIST_helper
,
1620 wxBitmap_LIST_helper
,
1621 wxString_LIST_helper
,
1622 wxAcceleratorEntry_LIST_helper
,
1631 wxPySimple_typecheck
,
1634 wxPyCBH_setCallbackInfo
,
1635 wxPyCBH_findCallback
,
1636 wxPyCBH_callCallback
,
1637 wxPyCBH_callCallbackObj
,
1643 wxPy2int_seq_helper
,
1644 wxPy4int_seq_helper
,
1645 wxArrayString2PyList_helper
,
1646 wxArrayInt2PyList_helper
,
1648 wxPyClientData_dtor
,
1650 wxPyOORClientData_dtor
,
1652 wxPyCBInputStream_create
,
1653 wxPyCBInputStream_copy
,
1656 wxPySwigInstance_Check
,
1665 #if !WXWIN_COMPATIBILITY_2_4
1666 #define wxHIDE_READONLY 0
1670 /*@/opt/swig/share/swig/1.3.24/python/pymacros.swg,66,SWIG_define@*/
1671 #define SWIG_From_int PyInt_FromLong
1676 enum wxHotkeyModifier
1684 #define wxEVT_HOTKEY 9999
1687 static const wxString
wxPyEmptyString(wxEmptyString
);
1688 static wxString
wxObject_GetClassName(wxObject
*self
){
1689 return self
->GetClassInfo()->GetClassName();
1691 static void wxObject_Destroy(wxObject
*self
){
1696 #define wxCURSOR_COPY_ARROW wxCURSOR_ARROW
1704 SWIG_CheckLongInRange(long value
, long min_value
, long max_value
,
1707 if (value
< min_value
) {
1709 PyErr_Format(PyExc_OverflowError
,
1710 "value %ld is less than '%s' minimum %ld",
1711 value
, errmsg
, min_value
);
1714 } else if (value
> max_value
) {
1716 PyErr_Format(PyExc_OverflowError
,
1717 "value %ld is greater than '%s' maximum %ld",
1718 value
, errmsg
, max_value
);
1727 SWIG_AsVal_long(PyObject
* obj
, long* val
)
1729 if (PyNumber_Check(obj
)) {
1730 if (val
) *val
= PyInt_AsLong(obj
);
1734 SWIG_type_error("number", obj
);
1740 #if INT_MAX != LONG_MAX
1742 SWIG_AsVal_int(PyObject
*obj
, int *val
)
1744 const char* errmsg
= val
? "int" : (char*)0;
1746 if (SWIG_AsVal_long(obj
, &v
)) {
1747 if (SWIG_CheckLongInRange(v
, INT_MIN
,INT_MAX
, errmsg
)) {
1748 if (val
) *val
= (int)(v
);
1757 SWIG_type_error(errmsg
, obj
);
1763 SWIG_AsVal_int(PyObject
*obj
, int *val
)
1765 return SWIG_AsVal_long(obj
,(long*)val
);
1771 SWIG_As_int(PyObject
* obj
)
1774 if (!SWIG_AsVal_int(obj
, &v
)) {
1776 this is needed to make valgrind/purify happier.
1778 memset((void*)&v
, 0, sizeof(int));
1785 SWIG_Check_int(PyObject
* obj
)
1787 return SWIG_AsVal_int(obj
, (int*)0);
1790 static PyObject
*wxSize_Get(wxSize
*self
){
1791 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
1792 PyObject
* tup
= PyTuple_New(2);
1793 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(self
->x
));
1794 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(self
->y
));
1795 wxPyEndBlockThreads(blocked
);
1800 SWIG_AsVal_double(PyObject
*obj
, double* val
)
1802 if (PyNumber_Check(obj
)) {
1803 if (val
) *val
= PyFloat_AsDouble(obj
);
1807 SWIG_type_error("number", obj
);
1813 SWIGINTERNSHORT
double
1814 SWIG_As_double(PyObject
* obj
)
1817 if (!SWIG_AsVal_double(obj
, &v
)) {
1819 this is needed to make valgrind/purify happier.
1821 memset((void*)&v
, 0, sizeof(double));
1828 SWIG_Check_double(PyObject
* obj
)
1830 return SWIG_AsVal_double(obj
, (double*)0);
1834 /*@/opt/swig/share/swig/1.3.24/python/pymacros.swg,66,SWIG_define@*/
1835 #define SWIG_From_double PyFloat_FromDouble
1838 static void wxRealPoint_Set(wxRealPoint
*self
,double x
,double y
){
1842 static PyObject
*wxRealPoint_Get(wxRealPoint
*self
){
1843 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
1844 PyObject
* tup
= PyTuple_New(2);
1845 PyTuple_SET_ITEM(tup
, 0, PyFloat_FromDouble(self
->x
));
1846 PyTuple_SET_ITEM(tup
, 1, PyFloat_FromDouble(self
->y
));
1847 wxPyEndBlockThreads(blocked
);
1851 SWIGINTERNSHORT
long
1852 SWIG_As_long(PyObject
* obj
)
1855 if (!SWIG_AsVal_long(obj
, &v
)) {
1857 this is needed to make valgrind/purify happier.
1859 memset((void*)&v
, 0, sizeof(long));
1866 SWIG_Check_long(PyObject
* obj
)
1868 return SWIG_AsVal_long(obj
, (long*)0);
1871 static void wxPoint_Set(wxPoint
*self
,long x
,long y
){
1875 static PyObject
*wxPoint_Get(wxPoint
*self
){
1876 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
1877 PyObject
* tup
= PyTuple_New(2);
1878 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(self
->x
));
1879 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(self
->y
));
1880 wxPyEndBlockThreads(blocked
);
1883 static void wxRect_Set(wxRect
*self
,int x
=0,int y
=0,int width
=0,int height
=0){
1886 self
->width
= width
;
1887 self
->height
= height
;
1889 static PyObject
*wxRect_Get(wxRect
*self
){
1890 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
1891 PyObject
* tup
= PyTuple_New(4);
1892 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(self
->x
));
1893 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(self
->y
));
1894 PyTuple_SET_ITEM(tup
, 2, PyInt_FromLong(self
->width
));
1895 PyTuple_SET_ITEM(tup
, 3, PyInt_FromLong(self
->height
));
1896 wxPyEndBlockThreads(blocked
);
1900 PyObject
* wxIntersectRect(wxRect
* r1
, wxRect
* r2
) {
1903 wxRect
dest(0,0,0,0);
1906 reg1
.Intersect(reg2
);
1907 dest
= reg1
.GetBox();
1909 if (dest
!= wxRect(0,0,0,0)) {
1910 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
1911 wxRect
* newRect
= new wxRect(dest
);
1912 obj
= wxPyConstructObject((void*)newRect
, wxT("wxRect"), true);
1913 wxPyEndBlockThreads(blocked
);
1921 static PyObject
* t_output_helper(PyObject
* target
, PyObject
* o
) {
1927 } else if (target
== Py_None
) {
1931 if (!PyTuple_Check(target
)) {
1933 target
= PyTuple_New(1);
1934 PyTuple_SetItem(target
, 0, o2
);
1936 o3
= PyTuple_New(1);
1937 PyTuple_SetItem(o3
, 0, o
);
1940 target
= PySequence_Concat(o2
, o3
);
1948 static void wxPoint2D_Set(wxPoint2D
*self
,double x
=0,double y
=0){
1952 static PyObject
*wxPoint2D_Get(wxPoint2D
*self
){
1953 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
1954 PyObject
* tup
= PyTuple_New(2);
1955 PyTuple_SET_ITEM(tup
, 0, PyFloat_FromDouble(self
->m_x
));
1956 PyTuple_SET_ITEM(tup
, 1, PyFloat_FromDouble(self
->m_y
));
1957 wxPyEndBlockThreads(blocked
);
1961 #include "wx/wxPython/pyistream.h"
1963 static wxPyInputStream
*new_wxPyInputStream(PyObject
*p
){
1964 wxInputStream
* wxis
= wxPyCBInputStream::create(p
);
1966 return new wxPyInputStream(wxis
);
1971 SWIGINTERNSHORT PyObject
*
1972 SWIG_From_char(char c
)
1974 return PyString_FromStringAndSize(&c
,1);
1978 SWIGINTERNSHORT PyObject
*
1979 SWIG_From_unsigned_SS_long(unsigned long value
)
1981 return (value
> LONG_MAX
) ?
1982 PyLong_FromUnsignedLong(value
)
1983 : PyInt_FromLong((long)(value
));
1987 /* returns SWIG_OLDOBJ if the input is a raw char*, SWIG_PYSTR if is a PyString */
1989 SWIG_AsCharPtrAndSize(PyObject
*obj
, char** cptr
, size_t* psize
)
1991 static swig_type_info
* pchar_info
= 0;
1993 if (!pchar_info
) pchar_info
= SWIG_TypeQuery("char *");
1994 if (SWIG_ConvertPtr(obj
, (void**)&vptr
, pchar_info
, 0) != -1) {
1995 if (cptr
) *cptr
= vptr
;
1996 if (psize
) *psize
= vptr
? (strlen(vptr
) + 1) : 0;
2000 if (PyString_Check(obj
)) {
2002 *cptr
= PyString_AS_STRING(obj
);
2004 *psize
= PyString_GET_SIZE(obj
) + 1;
2011 SWIG_type_error("char *", obj
);
2018 SWIG_AsCharArray(PyObject
*obj
, char *val
, size_t size
)
2020 char* cptr
; size_t csize
;
2021 if (SWIG_AsCharPtrAndSize(obj
, &cptr
, &csize
)) {
2024 char x[5] = "hello";
2026 ie, assing the array using an extra '0' char.
2028 if ((csize
== size
+ 1) && !(cptr
[csize
-1])) --csize
;
2029 if (csize
<= size
) {
2031 if (csize
) memcpy(val
, cptr
, csize
);
2032 if (csize
< size
) memset(val
+ csize
, 0, size
- csize
);
2038 PyErr_Format(PyExc_TypeError
,
2039 "a char array of maximum size %lu is expected",
2040 (unsigned long) size
);
2047 SWIG_AsVal_char(PyObject
*obj
, char *val
)
2049 const char* errmsg
= val
? "char" : (char*)0;
2051 if (SWIG_AsVal_long(obj
, &v
)) {
2052 if (SWIG_CheckLongInRange(v
, CHAR_MIN
,CHAR_MAX
, errmsg
)) {
2053 if (val
) *val
= (char)(v
);
2060 return SWIG_AsCharArray(obj
, val
, 1);
2065 SWIGINTERNSHORT
char
2066 SWIG_As_char(PyObject
* obj
)
2069 if (!SWIG_AsVal_char(obj
, &v
)) {
2071 this is needed to make valgrind/purify happier.
2073 memset((void*)&v
, 0, sizeof(char));
2080 SWIG_Check_char(PyObject
* obj
)
2082 return SWIG_AsVal_char(obj
, (char*)0);
2086 /*@/opt/swig/share/swig/1.3.24/python/pymacros.swg,66,SWIG_define@*/
2087 #define SWIG_From_long PyInt_FromLong
2090 static void wxOutputStream_write(wxOutputStream
*self
,PyObject
*obj
){
2091 // We use only strings for the streams, not unicode
2092 PyObject
* str
= PyObject_Str(obj
);
2094 PyErr_SetString(PyExc_TypeError
, "Unable to convert to string");
2097 self
->Write(PyString_AS_STRING(str
),
2098 PyString_GET_SIZE(str
));
2102 #include "wx/wxPython/pyistream.h"
2105 class wxPyFileSystemHandler
: public wxFileSystemHandler
2108 wxPyFileSystemHandler() : wxFileSystemHandler() {}
2110 DEC_PYCALLBACK_BOOL_STRING_pure(CanOpen
);
2111 DEC_PYCALLBACK_FSF_FSSTRING_pure(OpenFile
);
2112 DEC_PYCALLBACK_STRING_STRINGINT_pure(FindFirst
);
2113 DEC_PYCALLBACK_STRING__pure(FindNext
);
2115 wxString
GetProtocol(const wxString
& location
) {
2116 return wxFileSystemHandler::GetProtocol(location
);
2119 wxString
GetLeftLocation(const wxString
& location
) {
2120 return wxFileSystemHandler::GetLeftLocation(location
);
2123 wxString
GetAnchor(const wxString
& location
) {
2124 return wxFileSystemHandler::GetAnchor(location
);
2127 wxString
GetRightLocation(const wxString
& location
) {
2128 return wxFileSystemHandler::GetRightLocation(location
);
2131 wxString
GetMimeTypeFromExt(const wxString
& location
) {
2132 return wxFileSystemHandler::GetMimeTypeFromExt(location
);
2139 IMP_PYCALLBACK_BOOL_STRING_pure(wxPyFileSystemHandler
, wxFileSystemHandler
, CanOpen
);
2140 IMP_PYCALLBACK_FSF_FSSTRING_pure(wxPyFileSystemHandler
, wxFileSystemHandler
, OpenFile
);
2141 IMP_PYCALLBACK_STRING_STRINGINT_pure(wxPyFileSystemHandler
, wxFileSystemHandler
, FindFirst
);
2142 IMP_PYCALLBACK_STRING__pure(wxPyFileSystemHandler
, wxFileSystemHandler
, FindNext
);
2146 SWIG_AsVal_bool(PyObject
*obj
, bool *val
)
2148 if (obj
== Py_True
) {
2149 if (val
) *val
= true;
2152 if (obj
== Py_False
) {
2153 if (val
) *val
= false;
2157 if (SWIG_AsVal_int(obj
, &res
)) {
2158 if (val
) *val
= res
? true : false;
2164 SWIG_type_error("bool", obj
);
2170 SWIGINTERNSHORT
bool
2171 SWIG_As_bool(PyObject
* obj
)
2174 if (!SWIG_AsVal_bool(obj
, &v
)) {
2176 this is needed to make valgrind/purify happier.
2178 memset((void*)&v
, 0, sizeof(bool));
2185 SWIG_Check_bool(PyObject
* obj
)
2187 return SWIG_AsVal_bool(obj
, (bool*)0);
2190 static wxString
FileSystem_URLToFileName(wxString
const &url
){
2191 wxFileName fname
= wxFileSystem::URLToFileName(url
);
2192 return fname
.GetFullPath();
2195 void __wxMemoryFSHandler_AddFile_wxImage(const wxString
& filename
,
2198 wxMemoryFSHandler::AddFile(filename
, image
, type
);
2201 void __wxMemoryFSHandler_AddFile_wxBitmap(const wxString
& filename
,
2202 const wxBitmap
& bitmap
,
2204 wxMemoryFSHandler::AddFile(filename
, bitmap
, type
);
2207 void __wxMemoryFSHandler_AddFile_Data(const wxString
& filename
,
2209 if (! PyString_Check(data
)) {
2210 wxPyBLOCK_THREADS(PyErr_SetString(PyExc_TypeError
,
2211 "Expected string object"));
2215 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2216 void* ptr
= (void*)PyString_AsString(data
);
2217 size_t size
= PyString_Size(data
);
2218 wxPyEndBlockThreads(blocked
);
2220 wxMemoryFSHandler::AddFile(filename
, ptr
, size
);
2224 #include "wx/wxPython/pyistream.h"
2228 SWIG_AsVal_unsigned_SS_long(PyObject
* obj
, unsigned long* val
)
2231 if (SWIG_AsVal_long(obj
, &v
) && v
< 0) {
2232 SWIG_type_error("unsigned number", obj
);
2235 *val
= (unsigned long)v
;
2241 SWIG_CheckUnsignedLongInRange(unsigned long value
,
2242 unsigned long max_value
,
2245 if (value
> max_value
) {
2247 PyErr_Format(PyExc_OverflowError
,
2248 "value %lu is greater than '%s' minimum %lu",
2249 value
, errmsg
, max_value
);
2258 SWIG_AsVal_unsigned_SS_char(PyObject
*obj
, unsigned char *val
)
2260 const char* errmsg
= val
? "unsigned char" : (char*)0;
2262 if (SWIG_AsVal_unsigned_SS_long(obj
, &v
)) {
2263 if (SWIG_CheckUnsignedLongInRange(v
, UCHAR_MAX
,errmsg
)) {
2264 if (val
) *val
= (unsigned char)(v
);
2273 SWIG_type_error(errmsg
, obj
);
2279 SWIGINTERNSHORT
unsigned char
2280 SWIG_As_unsigned_SS_char(PyObject
* obj
)
2283 if (!SWIG_AsVal_unsigned_SS_char(obj
, &v
)) {
2285 this is needed to make valgrind/purify happier.
2287 memset((void*)&v
, 0, sizeof(unsigned char));
2294 SWIG_Check_unsigned_SS_char(PyObject
* obj
)
2296 return SWIG_AsVal_unsigned_SS_char(obj
, (unsigned char*)0);
2300 /*@/opt/swig/share/swig/1.3.24/python/pymacros.swg,66,SWIG_define@*/
2301 #define SWIG_From_unsigned_SS_char PyInt_FromLong
2306 SWIGINTERNSHORT
unsigned long
2307 SWIG_As_unsigned_SS_long(PyObject
* obj
)
2310 if (!SWIG_AsVal_unsigned_SS_long(obj
, &v
)) {
2312 this is needed to make valgrind/purify happier.
2314 memset((void*)&v
, 0, sizeof(unsigned long));
2321 SWIG_Check_unsigned_SS_long(PyObject
* obj
)
2323 return SWIG_AsVal_unsigned_SS_long(obj
, (unsigned long*)0);
2326 static unsigned long wxImageHistogram_GetCount(wxImageHistogram
*self
,unsigned long key
){
2327 wxImageHistogramEntry e
= (*self
)[key
];
2330 static unsigned long wxImageHistogram_GetCountRGB(wxImageHistogram
*self
,unsigned char r
,unsigned char g
,unsigned char b
){
2331 unsigned long key
= wxImageHistogram::MakeKey(r
, g
, b
);
2332 wxImageHistogramEntry e
= (*self
)[key
];
2335 static unsigned long wxImageHistogram_GetCountColour(wxImageHistogram
*self
,wxColour
const &colour
){
2336 unsigned long key
= wxImageHistogram::MakeKey(colour
.Red(),
2339 wxImageHistogramEntry e
= (*self
)[key
];
2343 typedef unsigned char* buffer
;
2345 static wxImage
*new_wxImage(int width
=0,int height
=0,bool clear
=true){
2346 if (width
> 0 && height
> 0)
2347 return new wxImage(width
, height
, clear
);
2351 static wxImage
*new_wxImage(wxBitmap
const &bitmap
){
2352 return new wxImage(bitmap
.ConvertToImage());
2354 static wxImage
*new_wxImage(int width
,int height
,buffer data
,int DATASIZE
){
2355 if (DATASIZE
!= width
*height
*3) {
2356 wxPyErr_SetString(PyExc_ValueError
, "Invalid data buffer size.");
2360 // Copy the source data so the wxImage can clean it up later
2361 buffer copy
= (buffer
)malloc(DATASIZE
);
2363 wxPyBLOCK_THREADS(PyErr_NoMemory());
2366 memcpy(copy
, data
, DATASIZE
);
2367 return new wxImage(width
, height
, copy
, false);
2369 static wxImage
*new_wxImage(int width
,int height
,buffer data
,int DATASIZE
,buffer alpha
,int ALPHASIZE
){
2370 if (DATASIZE
!= width
*height
*3) {
2371 wxPyErr_SetString(PyExc_ValueError
, "Invalid data buffer size.");
2374 if (ALPHASIZE
!= width
*height
) {
2375 wxPyErr_SetString(PyExc_ValueError
, "Invalid alpha buffer size.");
2379 // Copy the source data so the wxImage can clean it up later
2380 buffer dcopy
= (buffer
)malloc(DATASIZE
);
2381 if (dcopy
== NULL
) {
2382 wxPyBLOCK_THREADS(PyErr_NoMemory());
2385 memcpy(dcopy
, data
, DATASIZE
);
2387 buffer acopy
= (buffer
)malloc(ALPHASIZE
);
2388 if (acopy
== NULL
) {
2389 wxPyBLOCK_THREADS(PyErr_NoMemory());
2392 memcpy(acopy
, alpha
, ALPHASIZE
);
2394 return new wxImage(width
, height
, dcopy
, acopy
, false);
2396 static wxSize
wxImage_GetSize(wxImage
*self
){
2397 wxSize
size(self
->GetWidth(), self
->GetHeight());
2400 static PyObject
*wxImage_GetData(wxImage
*self
){
2401 buffer data
= self
->GetData();
2402 int len
= self
->GetWidth() * self
->GetHeight() * 3;
2404 wxPyBLOCK_THREADS( rv
= PyString_FromStringAndSize((char*)data
, len
));
2407 static void wxImage_SetData(wxImage
*self
,buffer data
,int DATASIZE
){
2408 if (DATASIZE
!= self
->GetWidth() * self
->GetHeight() * 3) {
2409 wxPyErr_SetString(PyExc_ValueError
, "Invalid data buffer size.");
2412 buffer copy
= (buffer
)malloc(DATASIZE
);
2414 wxPyBLOCK_THREADS(PyErr_NoMemory());
2417 memcpy(copy
, data
, DATASIZE
);
2418 self
->SetData(copy
, false);
2419 // wxImage takes ownership of copy...
2421 static PyObject
*wxImage_GetDataBuffer(wxImage
*self
){
2422 buffer data
= self
->GetData();
2423 int len
= self
->GetWidth() * self
->GetHeight() * 3;
2425 wxPyBLOCK_THREADS( rv
= PyBuffer_FromReadWriteMemory(data
, len
) );
2428 static void wxImage_SetDataBuffer(wxImage
*self
,buffer data
,int DATASIZE
){
2429 if (DATASIZE
!= self
->GetWidth() * self
->GetHeight() * 3) {
2430 wxPyErr_SetString(PyExc_ValueError
, "Invalid data buffer size.");
2433 self
->SetData(data
, true);
2435 static PyObject
*wxImage_GetAlphaData(wxImage
*self
){
2436 buffer data
= self
->GetAlpha();
2440 int len
= self
->GetWidth() * self
->GetHeight();
2442 wxPyBLOCK_THREADS( rv
= PyString_FromStringAndSize((char*)data
, len
) );
2446 static void wxImage_SetAlphaData(wxImage
*self
,buffer alpha
,int ALPHASIZE
){
2447 if (ALPHASIZE
!= self
->GetWidth() * self
->GetHeight()) {
2448 wxPyErr_SetString(PyExc_ValueError
, "Invalid alpha buffer size.");
2451 buffer acopy
= (buffer
)malloc(ALPHASIZE
);
2452 if (acopy
== NULL
) {
2453 wxPyBLOCK_THREADS(PyErr_NoMemory());
2456 memcpy(acopy
, alpha
, ALPHASIZE
);
2457 self
->SetAlpha(acopy
, false);
2458 // wxImage takes ownership of acopy...
2460 static PyObject
*wxImage_GetAlphaBuffer(wxImage
*self
){
2461 buffer data
= self
->GetAlpha();
2462 int len
= self
->GetWidth() * self
->GetHeight();
2464 wxPyBLOCK_THREADS( rv
= PyBuffer_FromReadWriteMemory(data
, len
) );
2467 static void wxImage_SetAlphaBuffer(wxImage
*self
,buffer alpha
,int ALPHASIZE
){
2468 if (ALPHASIZE
!= self
->GetWidth() * self
->GetHeight()) {
2469 wxPyErr_SetString(PyExc_ValueError
, "Invalid alpha buffer size.");
2472 self
->SetAlpha(alpha
, true);
2474 static wxBitmap
wxImage_ConvertToBitmap(wxImage
*self
,int depth
=-1){
2475 wxBitmap
bitmap(*self
, depth
);
2478 static wxBitmap
wxImage_ConvertToMonoBitmap(wxImage
*self
,unsigned char red
,unsigned char green
,unsigned char blue
){
2479 wxImage mono
= self
->ConvertToMono( red
, green
, blue
);
2480 wxBitmap
bitmap( mono
, 1 );
2483 static const wxString
wxPyIMAGE_OPTION_FILENAME(wxIMAGE_OPTION_FILENAME
);
2484 static const wxString
wxPyIMAGE_OPTION_BMP_FORMAT(wxIMAGE_OPTION_BMP_FORMAT
);
2485 static const wxString
wxPyIMAGE_OPTION_CUR_HOTSPOT_X(wxIMAGE_OPTION_CUR_HOTSPOT_X
);
2486 static const wxString
wxPyIMAGE_OPTION_CUR_HOTSPOT_Y(wxIMAGE_OPTION_CUR_HOTSPOT_Y
);
2487 static const wxString
wxPyIMAGE_OPTION_RESOLUTION(wxIMAGE_OPTION_RESOLUTION
);
2488 static const wxString
wxPyIMAGE_OPTION_RESOLUTIONX(wxIMAGE_OPTION_RESOLUTIONX
);
2489 static const wxString
wxPyIMAGE_OPTION_RESOLUTIONY(wxIMAGE_OPTION_RESOLUTIONY
);
2490 static const wxString
wxPyIMAGE_OPTION_RESOLUTIONUNIT(wxIMAGE_OPTION_RESOLUTIONUNIT
);
2491 static const wxString
wxPyIMAGE_OPTION_QUALITY(wxIMAGE_OPTION_QUALITY
);
2492 static const wxString
wxPyIMAGE_OPTION_BITSPERSAMPLE(wxIMAGE_OPTION_BITSPERSAMPLE
);
2493 static const wxString
wxPyIMAGE_OPTION_SAMPLESPERPIXEL(wxIMAGE_OPTION_SAMPLESPERPIXEL
);
2494 static const wxString
wxPyIMAGE_OPTION_COMPRESSION(wxIMAGE_OPTION_COMPRESSION
);
2495 static const wxString
wxPyIMAGE_OPTION_IMAGEDESCRIPTOR(wxIMAGE_OPTION_IMAGEDESCRIPTOR
);
2496 static const wxString
wxPyIMAGE_OPTION_PNG_FORMAT(wxIMAGE_OPTION_PNG_FORMAT
);
2497 static const wxString
wxPyIMAGE_OPTION_PNG_BITDEPTH(wxIMAGE_OPTION_PNG_BITDEPTH
);
2499 #include <wx/quantize.h>
2501 static bool Quantize_Quantize(wxImage
const &src
,wxImage
&dest
,int desiredNoColours
=236,int flags
=wxQUANTIZE_INCLUDE_WINDOWS_COLOURS
|wxQUANTIZE_FILL_DESTINATION_IMAGE
){
2502 return wxQuantize::Quantize(src
, dest
,
2505 NULL
, // eightBitData
2508 static void wxEvtHandler_Connect(wxEvtHandler
*self
,int id
,int lastId
,int eventType
,PyObject
*func
){
2509 if (PyCallable_Check(func
)) {
2510 self
->Connect(id
, lastId
, eventType
,
2511 (wxObjectEventFunction
) &wxPyCallback::EventThunker
,
2512 new wxPyCallback(func
));
2514 else if (func
== Py_None
) {
2515 self
->Disconnect(id
, lastId
, eventType
,
2516 (wxObjectEventFunction
)
2517 &wxPyCallback::EventThunker
);
2521 PyErr_SetString(PyExc_TypeError
, "Expected callable object or None."));
2524 static bool wxEvtHandler_Disconnect(wxEvtHandler
*self
,int id
,int lastId
=-1,wxEventType eventType
=wxEVT_NULL
){
2525 return self
->Disconnect(id
, lastId
, eventType
,
2526 (wxObjectEventFunction
)
2527 &wxPyCallback::EventThunker
);
2529 static void wxEvtHandler__setOORInfo(wxEvtHandler
*self
,PyObject
*_self
,bool incref
=true){
2530 if (_self
&& _self
!= Py_None
) {
2531 self
->SetClientObject(new wxPyOORClientData(_self
, incref
));
2534 wxPyOORClientData
* data
= (wxPyOORClientData
*)self
->GetClientObject();
2536 self
->SetClientObject(NULL
); // This will delete it too
2541 static int wxKeyEvent_GetUnicodeKey(wxKeyEvent
*self
){
2543 return self
->GetUnicodeKey();
2549 #if UINT_MAX < LONG_MAX
2550 /*@/opt/swig/share/swig/1.3.24/python/pymacros.swg,66,SWIG_define@*/
2551 #define SWIG_From_unsigned_SS_int SWIG_From_long
2554 /*@/opt/swig/share/swig/1.3.24/python/pymacros.swg,66,SWIG_define@*/
2555 #define SWIG_From_unsigned_SS_int SWIG_From_unsigned_SS_long
2560 #if UINT_MAX != ULONG_MAX
2562 SWIG_AsVal_unsigned_SS_int(PyObject
*obj
, unsigned int *val
)
2564 const char* errmsg
= val
? "unsigned int" : (char*)0;
2566 if (SWIG_AsVal_unsigned_SS_long(obj
, &v
)) {
2567 if (SWIG_CheckUnsignedLongInRange(v
, INT_MAX
, errmsg
)) {
2568 if (val
) *val
= (unsigned int)(v
);
2575 SWIG_type_error(errmsg
, obj
);
2580 SWIGINTERNSHORT
unsigned int
2581 SWIG_AsVal_unsigned_SS_int(PyObject
*obj
, unsigned int *val
)
2583 return SWIG_AsVal_unsigned_SS_long(obj
,(unsigned long *)val
);
2588 SWIGINTERNSHORT
unsigned int
2589 SWIG_As_unsigned_SS_int(PyObject
* obj
)
2592 if (!SWIG_AsVal_unsigned_SS_int(obj
, &v
)) {
2594 this is needed to make valgrind/purify happier.
2596 memset((void*)&v
, 0, sizeof(unsigned int));
2603 SWIG_Check_unsigned_SS_int(PyObject
* obj
)
2605 return SWIG_AsVal_unsigned_SS_int(obj
, (unsigned int*)0);
2608 static void wxSizeEvent_SetSize(wxSizeEvent
*self
,wxSize size
){
2609 self
->m_size
= size
;
2611 static PyObject
*wxDropFilesEvent_GetFiles(wxDropFilesEvent
*self
){
2612 int count
= self
->GetNumberOfFiles();
2613 wxString
* files
= self
->GetFiles();
2614 PyObject
* list
= PyList_New(count
);
2617 PyErr_SetString(PyExc_MemoryError
, "Can't allocate list of files!");
2621 for (int i
=0; i
<count
; i
++) {
2622 PyList_SetItem(list
, i
, wx2PyString(files
[i
]));
2628 static wxPyApp
*new_wxPyApp(){
2629 wxPythonApp
= new wxPyApp();
2632 static int PyApp_GetComCtl32Version(){ wxPyRaiseNotImplemented(); return 0; }
2634 void wxApp_CleanUp() {
2639 wxPyApp
* wxPyGetApp() { return (wxPyApp
*)wxTheApp
; }
2643 SWIG_AsCharPtr(PyObject
*obj
, char **val
)
2645 if (SWIG_AsCharPtrAndSize(obj
, val
, (size_t*)(0))) {
2650 SWIG_type_error("char *", obj
);
2656 SWIGINTERN PyObject
*
2657 SWIG_FromCharPtr(const char* cptr
)
2660 size_t size
= strlen(cptr
);
2661 if (size
> INT_MAX
) {
2662 return SWIG_NewPointerObj((char*)(cptr
),
2663 SWIG_TypeQuery("char *"), 0);
2666 return PyString_FromStringAndSize(cptr
, size
);
2668 return PyString_FromString(cptr
);
2679 // A dummy class that raises an exception if used...
2683 wxEventLoop() { wxPyRaiseNotImplemented(); }
2684 int Run() { return 0; }
2685 void Exit(int rc
= 0) {}
2686 bool Pending() const { return false; }
2687 bool Dispatch() { return false; }
2688 bool IsRunning() const { return false; }
2689 static wxEventLoop
*GetActive() { wxPyRaiseNotImplemented(); return NULL
; }
2690 static void SetActive(wxEventLoop
* loop
) { wxPyRaiseNotImplemented(); }
2695 #include <wx/evtloop.h>
2701 static const wxString
wxPyPanelNameStr(wxPanelNameStr
);
2702 static wxVisualAttributes
*new_wxVisualAttributes(){ return new wxVisualAttributes
; }
2703 static void delete_wxVisualAttributes(wxVisualAttributes
*self
){ delete self
; }
2704 static PyObject
*wxWindow_GetChildren(wxWindow
*self
){
2705 wxWindowList
& list
= self
->GetChildren();
2706 return wxPy_ConvertList(&list
);
2708 static bool wxWindow_RegisterHotKey(wxWindow
*self
,int hotkeyId
,int modifiers
,int keycode
){
2710 return self
->RegisterHotKey(hotkeyId
, modifiers
, keycode
);
2715 static bool wxWindow_UnregisterHotKey(wxWindow
*self
,int hotkeyId
){
2722 static long wxWindow_GetHandle(wxWindow
*self
){
2723 return wxPyGetWinHandle(self
);
2725 static void wxWindow_AssociateHandle(wxWindow
*self
,long handle
){
2726 self
->AssociateHandle((WXWidget
)handle
);
2729 wxWindow
* wxFindWindowById( long id
, const wxWindow
*parent
= NULL
) {
2730 return wxWindow::FindWindowById(id
, parent
);
2733 wxWindow
* wxFindWindowByName( const wxString
& name
,
2734 const wxWindow
*parent
= NULL
) {
2735 return wxWindow::FindWindowByName(name
, parent
);
2738 wxWindow
* wxFindWindowByLabel( const wxString
& label
,
2739 const wxWindow
*parent
= NULL
) {
2740 return wxWindow::FindWindowByLabel(label
, parent
);
2745 #include <wx/msw/private.h> // to get wxGetWindowId
2749 wxWindow
* wxWindow_FromHWND(wxWindow
* parent
, unsigned long _hWnd
) {
2751 WXHWND hWnd
= (WXHWND
)_hWnd
;
2752 long id
= wxGetWindowId(hWnd
);
2753 wxWindow
* win
= new wxWindow
;
2754 parent
->AddChild(win
);
2755 win
->SetEventHandler(win
);
2758 win
->SubclassWin(hWnd
);
2759 win
->AdoptAttributesFromHWND();
2760 win
->SetupColours();
2763 wxPyRaiseNotImplemented();
2769 IMP_PYCALLBACK_BOOL_WXWIN(wxPyValidator
, wxValidator
, Validate
);
2770 IMP_PYCALLBACK_BOOL_(wxPyValidator
, wxValidator
, TransferToWindow
);
2771 IMP_PYCALLBACK_BOOL_(wxPyValidator
, wxValidator
, TransferFromWindow
);
2773 IMPLEMENT_DYNAMIC_CLASS(wxPyValidator
, wxValidator
);
2775 static void wxMenu_Destroy(wxMenu
*self
){ delete self
; }
2776 static PyObject
*wxMenu_GetMenuItems(wxMenu
*self
){
2777 wxMenuItemList
& list
= self
->GetMenuItems();
2778 return wxPy_ConvertList(&list
);
2780 static void wxMenuItem_SetFont(wxMenuItem
*self
,wxFont
const &font
){}
2781 static wxFont
wxMenuItem_GetFont(wxMenuItem
*self
){ return wxNullFont
; }
2782 static void wxMenuItem_SetTextColour(wxMenuItem
*self
,wxColour
const &colText
){}
2783 static wxColour
wxMenuItem_GetTextColour(wxMenuItem
*self
){ return wxNullColour
; }
2784 static void wxMenuItem_SetBackgroundColour(wxMenuItem
*self
,wxColour
const &colBack
){}
2785 static wxColour
wxMenuItem_GetBackgroundColour(wxMenuItem
*self
){ return wxNullColour
; }
2786 static void wxMenuItem_SetBitmaps(wxMenuItem
*self
,wxBitmap
const &bmpChecked
,wxBitmap
const &bmpUnchecked
=wxNullBitmap
){}
2787 static void wxMenuItem_SetDisabledBitmap(wxMenuItem
*self
,wxBitmap
const &bmpDisabled
){}
2788 static wxBitmap
const &wxMenuItem_GetDisabledBitmap(wxMenuItem
const *self
){ return wxNullBitmap
; }
2789 static void wxMenuItem_SetMarginWidth(wxMenuItem
*self
,int nWidth
){}
2790 static int wxMenuItem_GetMarginWidth(wxMenuItem
*self
){ return 0; }
2791 static int MenuItem_GetDefaultMarginWidth(){ return 0; }
2792 static bool wxMenuItem_IsOwnerDrawn(wxMenuItem
*self
){ return false; }
2793 static void wxMenuItem_SetOwnerDrawn(wxMenuItem
*self
,bool ownerDrawn
=true){}
2794 static void wxMenuItem_ResetOwnerDrawn(wxMenuItem
*self
){}
2795 static const wxString
wxPyControlNameStr(wxControlNameStr
);
2796 static int wxItemContainer_Append(wxItemContainer
*self
,wxString
const &item
,PyObject
*clientData
=NULL
){
2798 wxPyClientData
* data
= new wxPyClientData(clientData
);
2799 return self
->Append(item
, data
);
2801 return self
->Append(item
);
2803 static int wxItemContainer_Insert(wxItemContainer
*self
,wxString
const &item
,int pos
,PyObject
*clientData
=NULL
){
2805 wxPyClientData
* data
= new wxPyClientData(clientData
);
2806 return self
->Insert(item
, pos
, data
);
2808 return self
->Insert(item
, pos
);
2810 static PyObject
*wxItemContainer_GetClientData(wxItemContainer
*self
,int n
){
2811 wxPyClientData
* data
= (wxPyClientData
*)self
->GetClientObject(n
);
2813 Py_INCREF(data
->m_obj
);
2820 static void wxItemContainer_SetClientData(wxItemContainer
*self
,int n
,PyObject
*clientData
){
2821 wxPyClientData
* data
= new wxPyClientData(clientData
);
2822 self
->SetClientObject(n
, data
);
2826 static wxSizerItem
*new_wxSizerItem(wxWindow
*window
,int proportion
,int flag
,int border
,PyObject
*userData
=NULL
){
2827 wxPyUserData
* data
= NULL
;
2829 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2830 data
= new wxPyUserData(userData
);
2831 wxPyEndBlockThreads(blocked
);
2833 return new wxSizerItem(window
, proportion
, flag
, border
, data
);
2835 static wxSizerItem
*new_wxSizerItem(int width
,int height
,int proportion
,int flag
,int border
,PyObject
*userData
=NULL
){
2836 wxPyUserData
* data
= NULL
;
2838 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2839 data
= new wxPyUserData(userData
);
2840 wxPyEndBlockThreads(blocked
);
2842 return new wxSizerItem(width
, height
, proportion
, flag
, border
, data
);
2844 static wxSizerItem
*new_wxSizerItem(wxSizer
*sizer
,int proportion
,int flag
,int border
,PyObject
*userData
=NULL
){
2845 wxPyUserData
* data
= NULL
;
2847 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2848 data
= new wxPyUserData(userData
);
2849 wxPyEndBlockThreads(blocked
);
2851 return new wxSizerItem(sizer
, proportion
, flag
, border
, data
);
2856 SWIG_CheckDoubleInRange(double value
, double min_value
,
2857 double max_value
, const char* errmsg
)
2859 if (value
< min_value
) {
2861 PyErr_Format(PyExc_OverflowError
,
2862 "value %g is less than %s minimum %g",
2863 value
, errmsg
, min_value
);
2866 } else if (value
> max_value
) {
2868 PyErr_Format(PyExc_OverflowError
,
2869 "value %g is greater than %s maximum %g",
2870 value
, errmsg
, max_value
);
2879 SWIG_AsVal_float(PyObject
*obj
, float *val
)
2881 const char* errmsg
= val
? "float" : (char*)0;
2883 if (SWIG_AsVal_double(obj
, &v
)) {
2884 if (SWIG_CheckDoubleInRange(v
, -FLT_MAX
, FLT_MAX
, errmsg
)) {
2885 if (val
) *val
= (float)(v
);
2894 SWIG_type_error(errmsg
, obj
);
2900 SWIGINTERNSHORT
float
2901 SWIG_As_float(PyObject
* obj
)
2904 if (!SWIG_AsVal_float(obj
, &v
)) {
2906 this is needed to make valgrind/purify happier.
2908 memset((void*)&v
, 0, sizeof(float));
2915 SWIG_Check_float(PyObject
* obj
)
2917 return SWIG_AsVal_float(obj
, (float*)0);
2921 /*@/opt/swig/share/swig/1.3.24/python/pymacros.swg,66,SWIG_define@*/
2922 #define SWIG_From_float PyFloat_FromDouble
2925 static PyObject
*wxSizerItem_GetUserData(wxSizerItem
*self
){
2926 wxPyUserData
* data
= (wxPyUserData
*)self
->GetUserData();
2928 Py_INCREF(data
->m_obj
);
2936 // Figure out the type of the sizer item
2938 struct wxPySizerItemInfo
{
2940 : window(NULL
), sizer(NULL
), gotSize(false),
2941 size(wxDefaultSize
), gotPos(false), pos(-1)
2952 static wxPySizerItemInfo
wxPySizerItemTypeHelper(PyObject
* item
, bool checkSize
, bool checkIdx
) {
2954 wxPySizerItemInfo info
;
2956 wxSize
* sizePtr
= &size
;
2958 // Find out what the type of the item is
2960 if ( ! wxPyConvertSwigPtr(item
, (void**)&info
.window
, wxT("wxWindow")) ) {
2965 if ( ! wxPyConvertSwigPtr(item
, (void**)&info
.sizer
, wxT("wxSizer")) ) {
2969 // try wxSize or (w,h)
2970 if ( checkSize
&& wxSize_helper(item
, &sizePtr
)) {
2971 info
.size
= *sizePtr
;
2972 info
.gotSize
= true;
2976 if (checkIdx
&& PyInt_Check(item
)) {
2977 info
.pos
= PyInt_AsLong(item
);
2983 if ( !(info
.window
|| info
.sizer
|| (checkSize
&& info
.gotSize
) || (checkIdx
&& info
.gotPos
)) ) {
2984 // no expected type, figure out what kind of error message to generate
2985 if ( !checkSize
&& !checkIdx
)
2986 PyErr_SetString(PyExc_TypeError
, "wxWindow or wxSizer expected for item");
2987 else if ( checkSize
&& !checkIdx
)
2988 PyErr_SetString(PyExc_TypeError
, "wxWindow, wxSizer, wxSize, or (w,h) expected for item");
2989 else if ( !checkSize
&& checkIdx
)
2990 PyErr_SetString(PyExc_TypeError
, "wxWindow, wxSizer or int (position) expected for item");
2992 // can this one happen?
2993 PyErr_SetString(PyExc_TypeError
, "wxWindow, wxSizer, wxSize, or (w,h) or int (position) expected for item");
2999 static void wxSizer__setOORInfo(wxSizer
*self
,PyObject
*_self
){
3000 if (!self
->GetClientObject())
3001 self
->SetClientObject(new wxPyOORClientData(_self
));
3003 static wxSizerItem
*wxSizer_Add(wxSizer
*self
,PyObject
*item
,int proportion
=0,int flag
=0,int border
=0,PyObject
*userData
=NULL
){
3005 wxPyUserData
* data
= NULL
;
3006 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3007 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, true, false);
3008 if ( userData
&& (info
.window
|| info
.sizer
|| info
.gotSize
) )
3009 data
= new wxPyUserData(userData
);
3010 wxPyEndBlockThreads(blocked
);
3012 // Now call the real Add method if a valid item type was found
3014 return self
->Add(info
.window
, proportion
, flag
, border
, data
);
3015 else if ( info
.sizer
)
3016 return self
->Add(info
.sizer
, proportion
, flag
, border
, data
);
3017 else if (info
.gotSize
)
3018 return self
->Add(info
.size
.GetWidth(), info
.size
.GetHeight(),
3019 proportion
, flag
, border
, data
);
3023 static wxSizerItem
*wxSizer_Insert(wxSizer
*self
,int before
,PyObject
*item
,int proportion
=0,int flag
=0,int border
=0,PyObject
*userData
=NULL
){
3025 wxPyUserData
* data
= NULL
;
3026 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3027 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, true, false);
3028 if ( userData
&& (info
.window
|| info
.sizer
|| info
.gotSize
) )
3029 data
= new wxPyUserData(userData
);
3030 wxPyEndBlockThreads(blocked
);
3032 // Now call the real Insert method if a valid item type was found
3034 return self
->Insert(before
, info
.window
, proportion
, flag
, border
, data
);
3035 else if ( info
.sizer
)
3036 return self
->Insert(before
, info
.sizer
, proportion
, flag
, border
, data
);
3037 else if (info
.gotSize
)
3038 return self
->Insert(before
, info
.size
.GetWidth(), info
.size
.GetHeight(),
3039 proportion
, flag
, border
, data
);
3043 static wxSizerItem
*wxSizer_Prepend(wxSizer
*self
,PyObject
*item
,int proportion
=0,int flag
=0,int border
=0,PyObject
*userData
=NULL
){
3045 wxPyUserData
* data
= NULL
;
3046 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3047 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, true, false);
3048 if ( userData
&& (info
.window
|| info
.sizer
|| info
.gotSize
) )
3049 data
= new wxPyUserData(userData
);
3050 wxPyEndBlockThreads(blocked
);
3052 // Now call the real Prepend method if a valid item type was found
3054 return self
->Prepend(info
.window
, proportion
, flag
, border
, data
);
3055 else if ( info
.sizer
)
3056 return self
->Prepend(info
.sizer
, proportion
, flag
, border
, data
);
3057 else if (info
.gotSize
)
3058 return self
->Prepend(info
.size
.GetWidth(), info
.size
.GetHeight(),
3059 proportion
, flag
, border
, data
);
3063 static bool wxSizer_Remove(wxSizer
*self
,PyObject
*item
){
3064 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3065 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, false, true);
3066 wxPyEndBlockThreads(blocked
);
3068 return self
->Remove(info
.window
);
3069 else if ( info
.sizer
)
3070 return self
->Remove(info
.sizer
);
3071 else if ( info
.gotPos
)
3072 return self
->Remove(info
.pos
);
3076 static bool wxSizer_Detach(wxSizer
*self
,PyObject
*item
){
3077 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3078 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, false, true);
3079 wxPyEndBlockThreads(blocked
);
3081 return self
->Detach(info
.window
);
3082 else if ( info
.sizer
)
3083 return self
->Detach(info
.sizer
);
3084 else if ( info
.gotPos
)
3085 return self
->Detach(info
.pos
);
3089 static wxSizerItem
*wxSizer_GetItem(wxSizer
*self
,PyObject
*item
){
3090 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3091 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, false, true);
3092 wxPyEndBlockThreads(blocked
);
3094 return self
->GetItem(info
.window
);
3095 else if ( info
.sizer
)
3096 return self
->GetItem(info
.sizer
);
3097 else if ( info
.gotPos
)
3098 return self
->GetItem(info
.pos
);
3102 static void wxSizer__SetItemMinSize(wxSizer
*self
,PyObject
*item
,wxSize
const &size
){
3103 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3104 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, false, true);
3105 wxPyEndBlockThreads(blocked
);
3107 self
->SetItemMinSize(info
.window
, size
);
3108 else if ( info
.sizer
)
3109 self
->SetItemMinSize(info
.sizer
, size
);
3110 else if ( info
.gotPos
)
3111 self
->SetItemMinSize(info
.pos
, size
);
3113 static PyObject
*wxSizer_GetChildren(wxSizer
*self
){
3114 wxSizerItemList
& list
= self
->GetChildren();
3115 return wxPy_ConvertList(&list
);
3117 static bool wxSizer_Show(wxSizer
*self
,PyObject
*item
,bool show
=true,bool recursive
=false){
3118 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3119 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, false, true);
3120 wxPyEndBlockThreads(blocked
);
3122 return self
->Show(info
.window
, show
, recursive
);
3123 else if ( info
.sizer
)
3124 return self
->Show(info
.sizer
, show
, recursive
);
3125 else if ( info
.gotPos
)
3126 return self
->Show(info
.pos
, show
);
3130 static bool wxSizer_IsShown(wxSizer
*self
,PyObject
*item
){
3131 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3132 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, false, false);
3133 wxPyEndBlockThreads(blocked
);
3135 return self
->IsShown(info
.window
);
3136 else if ( info
.sizer
)
3137 return self
->IsShown(info
.sizer
);
3138 else if ( info
.gotPos
)
3139 return self
->IsShown(info
.pos
);
3145 IMP_PYCALLBACK___pure(wxPySizer
, wxSizer
, RecalcSizes
);
3146 IMP_PYCALLBACK_wxSize__pure(wxPySizer
, wxSizer
, CalcMin
);
3147 IMPLEMENT_DYNAMIC_CLASS(wxPySizer
, wxSizer
);
3152 bool wxGBPosition_helper(PyObject
* source
, wxGBPosition
** obj
)
3154 if (source
== Py_None
) {
3155 **obj
= wxGBPosition(-1,-1);
3158 return wxPyTwoIntItem_helper(source
, obj
, wxT("wxGBPosition"));
3161 bool wxGBSpan_helper(PyObject
* source
, wxGBSpan
** obj
)
3163 if (source
== Py_None
) {
3164 **obj
= wxGBSpan(-1,-1);
3167 return wxPyTwoIntItem_helper(source
, obj
, wxT("wxGBSpan"));
3171 static void wxGBPosition_Set(wxGBPosition
*self
,int row
=0,int col
=0){
3175 static PyObject
*wxGBPosition_Get(wxGBPosition
*self
){
3176 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3177 PyObject
* tup
= PyTuple_New(2);
3178 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(self
->GetRow()));
3179 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(self
->GetCol()));
3180 wxPyEndBlockThreads(blocked
);
3183 static void wxGBSpan_Set(wxGBSpan
*self
,int rowspan
=1,int colspan
=1){
3184 self
->SetRowspan(rowspan
);
3185 self
->SetColspan(colspan
);
3187 static PyObject
*wxGBSpan_Get(wxGBSpan
*self
){
3188 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3189 PyObject
* tup
= PyTuple_New(2);
3190 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(self
->GetRowspan()));
3191 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(self
->GetColspan()));
3192 wxPyEndBlockThreads(blocked
);
3195 static wxGBSizerItem
*new_wxGBSizerItem(wxWindow
*window
,wxGBPosition
const &pos
,wxGBSpan
const &span
,int flag
,int border
,PyObject
*userData
=NULL
){
3196 wxPyUserData
* data
= NULL
;
3198 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3199 data
= new wxPyUserData(userData
);
3200 wxPyEndBlockThreads(blocked
);
3202 return new wxGBSizerItem(window
, pos
, span
, flag
, border
, data
);
3204 static wxGBSizerItem
*new_wxGBSizerItem(wxSizer
*sizer
,wxGBPosition
const &pos
,wxGBSpan
const &span
,int flag
,int border
,PyObject
*userData
=NULL
){
3205 wxPyUserData
* data
= NULL
;
3207 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3208 data
= new wxPyUserData(userData
);
3209 wxPyEndBlockThreads(blocked
);
3211 return new wxGBSizerItem(sizer
, pos
, span
, flag
, border
, data
);
3213 static wxGBSizerItem
*new_wxGBSizerItem(int width
,int height
,wxGBPosition
const &pos
,wxGBSpan
const &span
,int flag
,int border
,PyObject
*userData
=NULL
){
3214 wxPyUserData
* data
= NULL
;
3216 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3217 data
= new wxPyUserData(userData
);
3218 wxPyEndBlockThreads(blocked
);
3220 return new wxGBSizerItem(width
, height
, pos
, span
, flag
, border
, data
);
3222 static wxGBPosition
wxGBSizerItem_GetEndPos(wxGBSizerItem
*self
){
3224 self
->GetEndPos(row
, col
);
3225 return wxGBPosition(row
, col
);
3227 static wxGBSizerItem
*wxGridBagSizer_Add(wxGridBagSizer
*self
,PyObject
*item
,wxGBPosition
const &pos
,wxGBSpan
const &span
=wxDefaultSpan
,int flag
=0,int border
=0,PyObject
*userData
=NULL
){
3229 wxPyUserData
* data
= NULL
;
3230 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3231 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, true, false);
3232 if ( userData
&& (info
.window
|| info
.sizer
|| info
.gotSize
) )
3233 data
= new wxPyUserData(userData
);
3234 wxPyEndBlockThreads(blocked
);
3236 // Now call the real Add method if a valid item type was found
3238 return (wxGBSizerItem
*)self
->Add(info
.window
, pos
, span
, flag
, border
, data
);
3239 else if ( info
.sizer
)
3240 return (wxGBSizerItem
*)self
->Add(info
.sizer
, pos
, span
, flag
, border
, data
);
3241 else if (info
.gotSize
)
3242 return (wxGBSizerItem
*)self
->Add(info
.size
.GetWidth(), info
.size
.GetHeight(),
3243 pos
, span
, flag
, border
, data
);
3251 static int _wrap_EmptyString_set(PyObject
*) {
3252 PyErr_SetString(PyExc_TypeError
,"Variable EmptyString is read-only.");
3257 static PyObject
*_wrap_EmptyString_get(void) {
3262 pyobj
= PyUnicode_FromWideChar((&wxPyEmptyString
)->c_str(), (&wxPyEmptyString
)->Len());
3264 pyobj
= PyString_FromStringAndSize((&wxPyEmptyString
)->c_str(), (&wxPyEmptyString
)->Len());
3271 static PyObject
*_wrap_Object_GetClassName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3272 PyObject
*resultobj
;
3273 wxObject
*arg1
= (wxObject
*) 0 ;
3275 PyObject
* obj0
= 0 ;
3277 (char *) "self", NULL
3280 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Object_GetClassName",kwnames
,&obj0
)) goto fail
;
3281 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxObject
, SWIG_POINTER_EXCEPTION
| 0);
3282 if (SWIG_arg_fail(1)) SWIG_fail
;
3284 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3285 result
= wxObject_GetClassName(arg1
);
3287 wxPyEndAllowThreads(__tstate
);
3288 if (PyErr_Occurred()) SWIG_fail
;
3292 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3294 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3303 static PyObject
*_wrap_Object_Destroy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3304 PyObject
*resultobj
;
3305 wxObject
*arg1
= (wxObject
*) 0 ;
3306 PyObject
* obj0
= 0 ;
3308 (char *) "self", NULL
3311 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Object_Destroy",kwnames
,&obj0
)) goto fail
;
3312 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxObject
, SWIG_POINTER_EXCEPTION
| 0);
3313 if (SWIG_arg_fail(1)) SWIG_fail
;
3315 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3316 wxObject_Destroy(arg1
);
3318 wxPyEndAllowThreads(__tstate
);
3319 if (PyErr_Occurred()) SWIG_fail
;
3321 Py_INCREF(Py_None
); resultobj
= Py_None
;
3328 static PyObject
* Object_swigregister(PyObject
*, PyObject
*args
) {
3330 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3331 SWIG_TypeClientData(SWIGTYPE_p_wxObject
, obj
);
3333 return Py_BuildValue((char *)"");
3335 static PyObject
*_wrap_Size_width_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3336 PyObject
*resultobj
;
3337 wxSize
*arg1
= (wxSize
*) 0 ;
3339 PyObject
* obj0
= 0 ;
3340 PyObject
* obj1
= 0 ;
3342 (char *) "self",(char *) "x", NULL
3345 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size_width_set",kwnames
,&obj0
,&obj1
)) goto fail
;
3346 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
| 0);
3347 if (SWIG_arg_fail(1)) SWIG_fail
;
3349 arg2
= (int)(SWIG_As_int(obj1
));
3350 if (SWIG_arg_fail(2)) SWIG_fail
;
3352 if (arg1
) (arg1
)->x
= arg2
;
3354 Py_INCREF(Py_None
); resultobj
= Py_None
;
3361 static PyObject
*_wrap_Size_width_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3362 PyObject
*resultobj
;
3363 wxSize
*arg1
= (wxSize
*) 0 ;
3365 PyObject
* obj0
= 0 ;
3367 (char *) "self", NULL
3370 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Size_width_get",kwnames
,&obj0
)) goto fail
;
3371 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
| 0);
3372 if (SWIG_arg_fail(1)) SWIG_fail
;
3373 result
= (int) ((arg1
)->x
);
3376 resultobj
= SWIG_From_int((int)(result
));
3384 static PyObject
*_wrap_Size_height_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3385 PyObject
*resultobj
;
3386 wxSize
*arg1
= (wxSize
*) 0 ;
3388 PyObject
* obj0
= 0 ;
3389 PyObject
* obj1
= 0 ;
3391 (char *) "self",(char *) "y", NULL
3394 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size_height_set",kwnames
,&obj0
,&obj1
)) goto fail
;
3395 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
| 0);
3396 if (SWIG_arg_fail(1)) SWIG_fail
;
3398 arg2
= (int)(SWIG_As_int(obj1
));
3399 if (SWIG_arg_fail(2)) SWIG_fail
;
3401 if (arg1
) (arg1
)->y
= arg2
;
3403 Py_INCREF(Py_None
); resultobj
= Py_None
;
3410 static PyObject
*_wrap_Size_height_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3411 PyObject
*resultobj
;
3412 wxSize
*arg1
= (wxSize
*) 0 ;
3414 PyObject
* obj0
= 0 ;
3416 (char *) "self", NULL
3419 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Size_height_get",kwnames
,&obj0
)) goto fail
;
3420 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
| 0);
3421 if (SWIG_arg_fail(1)) SWIG_fail
;
3422 result
= (int) ((arg1
)->y
);
3425 resultobj
= SWIG_From_int((int)(result
));
3433 static PyObject
*_wrap_new_Size(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3434 PyObject
*resultobj
;
3435 int arg1
= (int) 0 ;
3436 int arg2
= (int) 0 ;
3438 PyObject
* obj0
= 0 ;
3439 PyObject
* obj1
= 0 ;
3441 (char *) "w",(char *) "h", NULL
3444 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Size",kwnames
,&obj0
,&obj1
)) goto fail
;
3447 arg1
= (int)(SWIG_As_int(obj0
));
3448 if (SWIG_arg_fail(1)) SWIG_fail
;
3453 arg2
= (int)(SWIG_As_int(obj1
));
3454 if (SWIG_arg_fail(2)) SWIG_fail
;
3458 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3459 result
= (wxSize
*)new wxSize(arg1
,arg2
);
3461 wxPyEndAllowThreads(__tstate
);
3462 if (PyErr_Occurred()) SWIG_fail
;
3464 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSize
, 1);
3471 static PyObject
*_wrap_delete_Size(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3472 PyObject
*resultobj
;
3473 wxSize
*arg1
= (wxSize
*) 0 ;
3474 PyObject
* obj0
= 0 ;
3476 (char *) "self", NULL
3479 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Size",kwnames
,&obj0
)) goto fail
;
3480 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
| 0);
3481 if (SWIG_arg_fail(1)) SWIG_fail
;
3483 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3486 wxPyEndAllowThreads(__tstate
);
3487 if (PyErr_Occurred()) SWIG_fail
;
3489 Py_INCREF(Py_None
); resultobj
= Py_None
;
3496 static PyObject
*_wrap_Size___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3497 PyObject
*resultobj
;
3498 wxSize
*arg1
= (wxSize
*) 0 ;
3502 PyObject
* obj0
= 0 ;
3503 PyObject
* obj1
= 0 ;
3505 (char *) "self",(char *) "sz", NULL
3508 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
3509 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
| 0);
3510 if (SWIG_arg_fail(1)) SWIG_fail
;
3513 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
3516 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3517 result
= (bool)(arg1
)->operator ==((wxSize
const &)*arg2
);
3519 wxPyEndAllowThreads(__tstate
);
3520 if (PyErr_Occurred()) SWIG_fail
;
3523 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3531 static PyObject
*_wrap_Size___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3532 PyObject
*resultobj
;
3533 wxSize
*arg1
= (wxSize
*) 0 ;
3537 PyObject
* obj0
= 0 ;
3538 PyObject
* obj1
= 0 ;
3540 (char *) "self",(char *) "sz", NULL
3543 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
3544 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
| 0);
3545 if (SWIG_arg_fail(1)) SWIG_fail
;
3548 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
3551 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3552 result
= (bool)(arg1
)->operator !=((wxSize
const &)*arg2
);
3554 wxPyEndAllowThreads(__tstate
);
3555 if (PyErr_Occurred()) SWIG_fail
;
3558 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3566 static PyObject
*_wrap_Size___add__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3567 PyObject
*resultobj
;
3568 wxSize
*arg1
= (wxSize
*) 0 ;
3572 PyObject
* obj0
= 0 ;
3573 PyObject
* obj1
= 0 ;
3575 (char *) "self",(char *) "sz", NULL
3578 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size___add__",kwnames
,&obj0
,&obj1
)) goto fail
;
3579 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
| 0);
3580 if (SWIG_arg_fail(1)) SWIG_fail
;
3583 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
3586 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3587 result
= (arg1
)->operator +((wxSize
const &)*arg2
);
3589 wxPyEndAllowThreads(__tstate
);
3590 if (PyErr_Occurred()) SWIG_fail
;
3594 resultptr
= new wxSize((wxSize
&)(result
));
3595 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
3603 static PyObject
*_wrap_Size___sub__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3604 PyObject
*resultobj
;
3605 wxSize
*arg1
= (wxSize
*) 0 ;
3609 PyObject
* obj0
= 0 ;
3610 PyObject
* obj1
= 0 ;
3612 (char *) "self",(char *) "sz", NULL
3615 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size___sub__",kwnames
,&obj0
,&obj1
)) goto fail
;
3616 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
| 0);
3617 if (SWIG_arg_fail(1)) SWIG_fail
;
3620 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
3623 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3624 result
= (arg1
)->operator -((wxSize
const &)*arg2
);
3626 wxPyEndAllowThreads(__tstate
);
3627 if (PyErr_Occurred()) SWIG_fail
;
3631 resultptr
= new wxSize((wxSize
&)(result
));
3632 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
3640 static PyObject
*_wrap_Size_IncTo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3641 PyObject
*resultobj
;
3642 wxSize
*arg1
= (wxSize
*) 0 ;
3645 PyObject
* obj0
= 0 ;
3646 PyObject
* obj1
= 0 ;
3648 (char *) "self",(char *) "sz", NULL
3651 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size_IncTo",kwnames
,&obj0
,&obj1
)) goto fail
;
3652 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
| 0);
3653 if (SWIG_arg_fail(1)) SWIG_fail
;
3656 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
3659 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3660 (arg1
)->IncTo((wxSize
const &)*arg2
);
3662 wxPyEndAllowThreads(__tstate
);
3663 if (PyErr_Occurred()) SWIG_fail
;
3665 Py_INCREF(Py_None
); resultobj
= Py_None
;
3672 static PyObject
*_wrap_Size_DecTo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3673 PyObject
*resultobj
;
3674 wxSize
*arg1
= (wxSize
*) 0 ;
3677 PyObject
* obj0
= 0 ;
3678 PyObject
* obj1
= 0 ;
3680 (char *) "self",(char *) "sz", NULL
3683 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size_DecTo",kwnames
,&obj0
,&obj1
)) goto fail
;
3684 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
| 0);
3685 if (SWIG_arg_fail(1)) SWIG_fail
;
3688 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
3691 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3692 (arg1
)->DecTo((wxSize
const &)*arg2
);
3694 wxPyEndAllowThreads(__tstate
);
3695 if (PyErr_Occurred()) SWIG_fail
;
3697 Py_INCREF(Py_None
); resultobj
= Py_None
;
3704 static PyObject
*_wrap_Size_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3705 PyObject
*resultobj
;
3706 wxSize
*arg1
= (wxSize
*) 0 ;
3709 PyObject
* obj0
= 0 ;
3710 PyObject
* obj1
= 0 ;
3711 PyObject
* obj2
= 0 ;
3713 (char *) "self",(char *) "w",(char *) "h", NULL
3716 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Size_Set",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3717 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
| 0);
3718 if (SWIG_arg_fail(1)) SWIG_fail
;
3720 arg2
= (int)(SWIG_As_int(obj1
));
3721 if (SWIG_arg_fail(2)) SWIG_fail
;
3724 arg3
= (int)(SWIG_As_int(obj2
));
3725 if (SWIG_arg_fail(3)) SWIG_fail
;
3728 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3729 (arg1
)->Set(arg2
,arg3
);
3731 wxPyEndAllowThreads(__tstate
);
3732 if (PyErr_Occurred()) SWIG_fail
;
3734 Py_INCREF(Py_None
); resultobj
= Py_None
;
3741 static PyObject
*_wrap_Size_SetWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3742 PyObject
*resultobj
;
3743 wxSize
*arg1
= (wxSize
*) 0 ;
3745 PyObject
* obj0
= 0 ;
3746 PyObject
* obj1
= 0 ;
3748 (char *) "self",(char *) "w", NULL
3751 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size_SetWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
3752 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
| 0);
3753 if (SWIG_arg_fail(1)) SWIG_fail
;
3755 arg2
= (int)(SWIG_As_int(obj1
));
3756 if (SWIG_arg_fail(2)) SWIG_fail
;
3759 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3760 (arg1
)->SetWidth(arg2
);
3762 wxPyEndAllowThreads(__tstate
);
3763 if (PyErr_Occurred()) SWIG_fail
;
3765 Py_INCREF(Py_None
); resultobj
= Py_None
;
3772 static PyObject
*_wrap_Size_SetHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3773 PyObject
*resultobj
;
3774 wxSize
*arg1
= (wxSize
*) 0 ;
3776 PyObject
* obj0
= 0 ;
3777 PyObject
* obj1
= 0 ;
3779 (char *) "self",(char *) "h", NULL
3782 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size_SetHeight",kwnames
,&obj0
,&obj1
)) goto fail
;
3783 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
| 0);
3784 if (SWIG_arg_fail(1)) SWIG_fail
;
3786 arg2
= (int)(SWIG_As_int(obj1
));
3787 if (SWIG_arg_fail(2)) SWIG_fail
;
3790 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3791 (arg1
)->SetHeight(arg2
);
3793 wxPyEndAllowThreads(__tstate
);
3794 if (PyErr_Occurred()) SWIG_fail
;
3796 Py_INCREF(Py_None
); resultobj
= Py_None
;
3803 static PyObject
*_wrap_Size_GetWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3804 PyObject
*resultobj
;
3805 wxSize
*arg1
= (wxSize
*) 0 ;
3807 PyObject
* obj0
= 0 ;
3809 (char *) "self", NULL
3812 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Size_GetWidth",kwnames
,&obj0
)) goto fail
;
3813 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
| 0);
3814 if (SWIG_arg_fail(1)) SWIG_fail
;
3816 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3817 result
= (int)((wxSize
const *)arg1
)->GetWidth();
3819 wxPyEndAllowThreads(__tstate
);
3820 if (PyErr_Occurred()) SWIG_fail
;
3823 resultobj
= SWIG_From_int((int)(result
));
3831 static PyObject
*_wrap_Size_GetHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3832 PyObject
*resultobj
;
3833 wxSize
*arg1
= (wxSize
*) 0 ;
3835 PyObject
* obj0
= 0 ;
3837 (char *) "self", NULL
3840 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Size_GetHeight",kwnames
,&obj0
)) goto fail
;
3841 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
| 0);
3842 if (SWIG_arg_fail(1)) SWIG_fail
;
3844 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3845 result
= (int)((wxSize
const *)arg1
)->GetHeight();
3847 wxPyEndAllowThreads(__tstate
);
3848 if (PyErr_Occurred()) SWIG_fail
;
3851 resultobj
= SWIG_From_int((int)(result
));
3859 static PyObject
*_wrap_Size_IsFullySpecified(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3860 PyObject
*resultobj
;
3861 wxSize
*arg1
= (wxSize
*) 0 ;
3863 PyObject
* obj0
= 0 ;
3865 (char *) "self", NULL
3868 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Size_IsFullySpecified",kwnames
,&obj0
)) goto fail
;
3869 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
| 0);
3870 if (SWIG_arg_fail(1)) SWIG_fail
;
3872 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3873 result
= (bool)((wxSize
const *)arg1
)->IsFullySpecified();
3875 wxPyEndAllowThreads(__tstate
);
3876 if (PyErr_Occurred()) SWIG_fail
;
3879 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3887 static PyObject
*_wrap_Size_SetDefaults(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3888 PyObject
*resultobj
;
3889 wxSize
*arg1
= (wxSize
*) 0 ;
3892 PyObject
* obj0
= 0 ;
3893 PyObject
* obj1
= 0 ;
3895 (char *) "self",(char *) "size", NULL
3898 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size_SetDefaults",kwnames
,&obj0
,&obj1
)) goto fail
;
3899 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
| 0);
3900 if (SWIG_arg_fail(1)) SWIG_fail
;
3903 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
3906 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3907 (arg1
)->SetDefaults((wxSize
const &)*arg2
);
3909 wxPyEndAllowThreads(__tstate
);
3910 if (PyErr_Occurred()) SWIG_fail
;
3912 Py_INCREF(Py_None
); resultobj
= Py_None
;
3919 static PyObject
*_wrap_Size_Get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3920 PyObject
*resultobj
;
3921 wxSize
*arg1
= (wxSize
*) 0 ;
3923 PyObject
* obj0
= 0 ;
3925 (char *) "self", NULL
3928 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Size_Get",kwnames
,&obj0
)) goto fail
;
3929 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
| 0);
3930 if (SWIG_arg_fail(1)) SWIG_fail
;
3932 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3933 result
= (PyObject
*)wxSize_Get(arg1
);
3935 wxPyEndAllowThreads(__tstate
);
3936 if (PyErr_Occurred()) SWIG_fail
;
3945 static PyObject
* Size_swigregister(PyObject
*, PyObject
*args
) {
3947 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3948 SWIG_TypeClientData(SWIGTYPE_p_wxSize
, obj
);
3950 return Py_BuildValue((char *)"");
3952 static PyObject
*_wrap_RealPoint_x_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3953 PyObject
*resultobj
;
3954 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
3956 PyObject
* obj0
= 0 ;
3957 PyObject
* obj1
= 0 ;
3959 (char *) "self",(char *) "x", NULL
3962 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RealPoint_x_set",kwnames
,&obj0
,&obj1
)) goto fail
;
3963 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRealPoint
, SWIG_POINTER_EXCEPTION
| 0);
3964 if (SWIG_arg_fail(1)) SWIG_fail
;
3966 arg2
= (double)(SWIG_As_double(obj1
));
3967 if (SWIG_arg_fail(2)) SWIG_fail
;
3969 if (arg1
) (arg1
)->x
= arg2
;
3971 Py_INCREF(Py_None
); resultobj
= Py_None
;
3978 static PyObject
*_wrap_RealPoint_x_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3979 PyObject
*resultobj
;
3980 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
3982 PyObject
* obj0
= 0 ;
3984 (char *) "self", NULL
3987 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RealPoint_x_get",kwnames
,&obj0
)) goto fail
;
3988 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRealPoint
, SWIG_POINTER_EXCEPTION
| 0);
3989 if (SWIG_arg_fail(1)) SWIG_fail
;
3990 result
= (double) ((arg1
)->x
);
3993 resultobj
= SWIG_From_double((double)(result
));
4001 static PyObject
*_wrap_RealPoint_y_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4002 PyObject
*resultobj
;
4003 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
4005 PyObject
* obj0
= 0 ;
4006 PyObject
* obj1
= 0 ;
4008 (char *) "self",(char *) "y", NULL
4011 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RealPoint_y_set",kwnames
,&obj0
,&obj1
)) goto fail
;
4012 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRealPoint
, SWIG_POINTER_EXCEPTION
| 0);
4013 if (SWIG_arg_fail(1)) SWIG_fail
;
4015 arg2
= (double)(SWIG_As_double(obj1
));
4016 if (SWIG_arg_fail(2)) SWIG_fail
;
4018 if (arg1
) (arg1
)->y
= arg2
;
4020 Py_INCREF(Py_None
); resultobj
= Py_None
;
4027 static PyObject
*_wrap_RealPoint_y_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4028 PyObject
*resultobj
;
4029 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
4031 PyObject
* obj0
= 0 ;
4033 (char *) "self", NULL
4036 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RealPoint_y_get",kwnames
,&obj0
)) goto fail
;
4037 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRealPoint
, SWIG_POINTER_EXCEPTION
| 0);
4038 if (SWIG_arg_fail(1)) SWIG_fail
;
4039 result
= (double) ((arg1
)->y
);
4042 resultobj
= SWIG_From_double((double)(result
));
4050 static PyObject
*_wrap_new_RealPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4051 PyObject
*resultobj
;
4052 double arg1
= (double) 0.0 ;
4053 double arg2
= (double) 0.0 ;
4054 wxRealPoint
*result
;
4055 PyObject
* obj0
= 0 ;
4056 PyObject
* obj1
= 0 ;
4058 (char *) "x",(char *) "y", NULL
4061 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_RealPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
4064 arg1
= (double)(SWIG_As_double(obj0
));
4065 if (SWIG_arg_fail(1)) SWIG_fail
;
4070 arg2
= (double)(SWIG_As_double(obj1
));
4071 if (SWIG_arg_fail(2)) SWIG_fail
;
4075 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4076 result
= (wxRealPoint
*)new wxRealPoint(arg1
,arg2
);
4078 wxPyEndAllowThreads(__tstate
);
4079 if (PyErr_Occurred()) SWIG_fail
;
4081 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRealPoint
, 1);
4088 static PyObject
*_wrap_delete_RealPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4089 PyObject
*resultobj
;
4090 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
4091 PyObject
* obj0
= 0 ;
4093 (char *) "self", NULL
4096 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_RealPoint",kwnames
,&obj0
)) goto fail
;
4097 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRealPoint
, SWIG_POINTER_EXCEPTION
| 0);
4098 if (SWIG_arg_fail(1)) SWIG_fail
;
4100 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4103 wxPyEndAllowThreads(__tstate
);
4104 if (PyErr_Occurred()) SWIG_fail
;
4106 Py_INCREF(Py_None
); resultobj
= Py_None
;
4113 static PyObject
*_wrap_RealPoint___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4114 PyObject
*resultobj
;
4115 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
4116 wxRealPoint
*arg2
= 0 ;
4119 PyObject
* obj0
= 0 ;
4120 PyObject
* obj1
= 0 ;
4122 (char *) "self",(char *) "pt", NULL
4125 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RealPoint___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
4126 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRealPoint
, SWIG_POINTER_EXCEPTION
| 0);
4127 if (SWIG_arg_fail(1)) SWIG_fail
;
4130 if ( ! wxRealPoint_helper(obj1
, &arg2
)) SWIG_fail
;
4133 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4134 result
= (bool)(arg1
)->operator ==((wxRealPoint
const &)*arg2
);
4136 wxPyEndAllowThreads(__tstate
);
4137 if (PyErr_Occurred()) SWIG_fail
;
4140 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4148 static PyObject
*_wrap_RealPoint___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4149 PyObject
*resultobj
;
4150 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
4151 wxRealPoint
*arg2
= 0 ;
4154 PyObject
* obj0
= 0 ;
4155 PyObject
* obj1
= 0 ;
4157 (char *) "self",(char *) "pt", NULL
4160 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RealPoint___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
4161 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRealPoint
, SWIG_POINTER_EXCEPTION
| 0);
4162 if (SWIG_arg_fail(1)) SWIG_fail
;
4165 if ( ! wxRealPoint_helper(obj1
, &arg2
)) SWIG_fail
;
4168 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4169 result
= (bool)(arg1
)->operator !=((wxRealPoint
const &)*arg2
);
4171 wxPyEndAllowThreads(__tstate
);
4172 if (PyErr_Occurred()) SWIG_fail
;
4175 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4183 static PyObject
*_wrap_RealPoint___add__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4184 PyObject
*resultobj
;
4185 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
4186 wxRealPoint
*arg2
= 0 ;
4189 PyObject
* obj0
= 0 ;
4190 PyObject
* obj1
= 0 ;
4192 (char *) "self",(char *) "pt", NULL
4195 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RealPoint___add__",kwnames
,&obj0
,&obj1
)) goto fail
;
4196 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRealPoint
, SWIG_POINTER_EXCEPTION
| 0);
4197 if (SWIG_arg_fail(1)) SWIG_fail
;
4200 if ( ! wxRealPoint_helper(obj1
, &arg2
)) SWIG_fail
;
4203 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4204 result
= (arg1
)->operator +((wxRealPoint
const &)*arg2
);
4206 wxPyEndAllowThreads(__tstate
);
4207 if (PyErr_Occurred()) SWIG_fail
;
4210 wxRealPoint
* resultptr
;
4211 resultptr
= new wxRealPoint((wxRealPoint
&)(result
));
4212 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRealPoint
, 1);
4220 static PyObject
*_wrap_RealPoint___sub__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4221 PyObject
*resultobj
;
4222 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
4223 wxRealPoint
*arg2
= 0 ;
4226 PyObject
* obj0
= 0 ;
4227 PyObject
* obj1
= 0 ;
4229 (char *) "self",(char *) "pt", NULL
4232 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RealPoint___sub__",kwnames
,&obj0
,&obj1
)) goto fail
;
4233 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRealPoint
, SWIG_POINTER_EXCEPTION
| 0);
4234 if (SWIG_arg_fail(1)) SWIG_fail
;
4237 if ( ! wxRealPoint_helper(obj1
, &arg2
)) SWIG_fail
;
4240 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4241 result
= (arg1
)->operator -((wxRealPoint
const &)*arg2
);
4243 wxPyEndAllowThreads(__tstate
);
4244 if (PyErr_Occurred()) SWIG_fail
;
4247 wxRealPoint
* resultptr
;
4248 resultptr
= new wxRealPoint((wxRealPoint
&)(result
));
4249 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRealPoint
, 1);
4257 static PyObject
*_wrap_RealPoint_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4258 PyObject
*resultobj
;
4259 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
4262 PyObject
* obj0
= 0 ;
4263 PyObject
* obj1
= 0 ;
4264 PyObject
* obj2
= 0 ;
4266 (char *) "self",(char *) "x",(char *) "y", NULL
4269 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:RealPoint_Set",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4270 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRealPoint
, SWIG_POINTER_EXCEPTION
| 0);
4271 if (SWIG_arg_fail(1)) SWIG_fail
;
4273 arg2
= (double)(SWIG_As_double(obj1
));
4274 if (SWIG_arg_fail(2)) SWIG_fail
;
4277 arg3
= (double)(SWIG_As_double(obj2
));
4278 if (SWIG_arg_fail(3)) SWIG_fail
;
4281 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4282 wxRealPoint_Set(arg1
,arg2
,arg3
);
4284 wxPyEndAllowThreads(__tstate
);
4285 if (PyErr_Occurred()) SWIG_fail
;
4287 Py_INCREF(Py_None
); resultobj
= Py_None
;
4294 static PyObject
*_wrap_RealPoint_Get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4295 PyObject
*resultobj
;
4296 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
4298 PyObject
* obj0
= 0 ;
4300 (char *) "self", NULL
4303 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RealPoint_Get",kwnames
,&obj0
)) goto fail
;
4304 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRealPoint
, SWIG_POINTER_EXCEPTION
| 0);
4305 if (SWIG_arg_fail(1)) SWIG_fail
;
4307 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4308 result
= (PyObject
*)wxRealPoint_Get(arg1
);
4310 wxPyEndAllowThreads(__tstate
);
4311 if (PyErr_Occurred()) SWIG_fail
;
4320 static PyObject
* RealPoint_swigregister(PyObject
*, PyObject
*args
) {
4322 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4323 SWIG_TypeClientData(SWIGTYPE_p_wxRealPoint
, obj
);
4325 return Py_BuildValue((char *)"");
4327 static PyObject
*_wrap_Point_x_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4328 PyObject
*resultobj
;
4329 wxPoint
*arg1
= (wxPoint
*) 0 ;
4331 PyObject
* obj0
= 0 ;
4332 PyObject
* obj1
= 0 ;
4334 (char *) "self",(char *) "x", NULL
4337 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point_x_set",kwnames
,&obj0
,&obj1
)) goto fail
;
4338 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint
, SWIG_POINTER_EXCEPTION
| 0);
4339 if (SWIG_arg_fail(1)) SWIG_fail
;
4341 arg2
= (int)(SWIG_As_int(obj1
));
4342 if (SWIG_arg_fail(2)) SWIG_fail
;
4344 if (arg1
) (arg1
)->x
= arg2
;
4346 Py_INCREF(Py_None
); resultobj
= Py_None
;
4353 static PyObject
*_wrap_Point_x_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4354 PyObject
*resultobj
;
4355 wxPoint
*arg1
= (wxPoint
*) 0 ;
4357 PyObject
* obj0
= 0 ;
4359 (char *) "self", NULL
4362 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point_x_get",kwnames
,&obj0
)) goto fail
;
4363 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint
, SWIG_POINTER_EXCEPTION
| 0);
4364 if (SWIG_arg_fail(1)) SWIG_fail
;
4365 result
= (int) ((arg1
)->x
);
4368 resultobj
= SWIG_From_int((int)(result
));
4376 static PyObject
*_wrap_Point_y_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4377 PyObject
*resultobj
;
4378 wxPoint
*arg1
= (wxPoint
*) 0 ;
4380 PyObject
* obj0
= 0 ;
4381 PyObject
* obj1
= 0 ;
4383 (char *) "self",(char *) "y", NULL
4386 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point_y_set",kwnames
,&obj0
,&obj1
)) goto fail
;
4387 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint
, SWIG_POINTER_EXCEPTION
| 0);
4388 if (SWIG_arg_fail(1)) SWIG_fail
;
4390 arg2
= (int)(SWIG_As_int(obj1
));
4391 if (SWIG_arg_fail(2)) SWIG_fail
;
4393 if (arg1
) (arg1
)->y
= arg2
;
4395 Py_INCREF(Py_None
); resultobj
= Py_None
;
4402 static PyObject
*_wrap_Point_y_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4403 PyObject
*resultobj
;
4404 wxPoint
*arg1
= (wxPoint
*) 0 ;
4406 PyObject
* obj0
= 0 ;
4408 (char *) "self", NULL
4411 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point_y_get",kwnames
,&obj0
)) goto fail
;
4412 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint
, SWIG_POINTER_EXCEPTION
| 0);
4413 if (SWIG_arg_fail(1)) SWIG_fail
;
4414 result
= (int) ((arg1
)->y
);
4417 resultobj
= SWIG_From_int((int)(result
));
4425 static PyObject
*_wrap_new_Point(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4426 PyObject
*resultobj
;
4427 int arg1
= (int) 0 ;
4428 int arg2
= (int) 0 ;
4430 PyObject
* obj0
= 0 ;
4431 PyObject
* obj1
= 0 ;
4433 (char *) "x",(char *) "y", NULL
4436 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Point",kwnames
,&obj0
,&obj1
)) goto fail
;
4439 arg1
= (int)(SWIG_As_int(obj0
));
4440 if (SWIG_arg_fail(1)) SWIG_fail
;
4445 arg2
= (int)(SWIG_As_int(obj1
));
4446 if (SWIG_arg_fail(2)) SWIG_fail
;
4450 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4451 result
= (wxPoint
*)new wxPoint(arg1
,arg2
);
4453 wxPyEndAllowThreads(__tstate
);
4454 if (PyErr_Occurred()) SWIG_fail
;
4456 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint
, 1);
4463 static PyObject
*_wrap_delete_Point(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4464 PyObject
*resultobj
;
4465 wxPoint
*arg1
= (wxPoint
*) 0 ;
4466 PyObject
* obj0
= 0 ;
4468 (char *) "self", NULL
4471 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Point",kwnames
,&obj0
)) goto fail
;
4472 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint
, SWIG_POINTER_EXCEPTION
| 0);
4473 if (SWIG_arg_fail(1)) SWIG_fail
;
4475 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4478 wxPyEndAllowThreads(__tstate
);
4479 if (PyErr_Occurred()) SWIG_fail
;
4481 Py_INCREF(Py_None
); resultobj
= Py_None
;
4488 static PyObject
*_wrap_Point___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4489 PyObject
*resultobj
;
4490 wxPoint
*arg1
= (wxPoint
*) 0 ;
4494 PyObject
* obj0
= 0 ;
4495 PyObject
* obj1
= 0 ;
4497 (char *) "self",(char *) "pt", NULL
4500 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
4501 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint
, SWIG_POINTER_EXCEPTION
| 0);
4502 if (SWIG_arg_fail(1)) SWIG_fail
;
4505 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
4508 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4509 result
= (bool)(arg1
)->operator ==((wxPoint
const &)*arg2
);
4511 wxPyEndAllowThreads(__tstate
);
4512 if (PyErr_Occurred()) SWIG_fail
;
4515 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4523 static PyObject
*_wrap_Point___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4524 PyObject
*resultobj
;
4525 wxPoint
*arg1
= (wxPoint
*) 0 ;
4529 PyObject
* obj0
= 0 ;
4530 PyObject
* obj1
= 0 ;
4532 (char *) "self",(char *) "pt", NULL
4535 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
4536 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint
, SWIG_POINTER_EXCEPTION
| 0);
4537 if (SWIG_arg_fail(1)) SWIG_fail
;
4540 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
4543 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4544 result
= (bool)(arg1
)->operator !=((wxPoint
const &)*arg2
);
4546 wxPyEndAllowThreads(__tstate
);
4547 if (PyErr_Occurred()) SWIG_fail
;
4550 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4558 static PyObject
*_wrap_Point___add__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4559 PyObject
*resultobj
;
4560 wxPoint
*arg1
= (wxPoint
*) 0 ;
4564 PyObject
* obj0
= 0 ;
4565 PyObject
* obj1
= 0 ;
4567 (char *) "self",(char *) "pt", NULL
4570 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point___add__",kwnames
,&obj0
,&obj1
)) goto fail
;
4571 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint
, SWIG_POINTER_EXCEPTION
| 0);
4572 if (SWIG_arg_fail(1)) SWIG_fail
;
4575 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
4578 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4579 result
= (arg1
)->operator +((wxPoint
const &)*arg2
);
4581 wxPyEndAllowThreads(__tstate
);
4582 if (PyErr_Occurred()) SWIG_fail
;
4585 wxPoint
* resultptr
;
4586 resultptr
= new wxPoint((wxPoint
&)(result
));
4587 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
4595 static PyObject
*_wrap_Point___sub__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4596 PyObject
*resultobj
;
4597 wxPoint
*arg1
= (wxPoint
*) 0 ;
4601 PyObject
* obj0
= 0 ;
4602 PyObject
* obj1
= 0 ;
4604 (char *) "self",(char *) "pt", NULL
4607 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point___sub__",kwnames
,&obj0
,&obj1
)) goto fail
;
4608 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint
, SWIG_POINTER_EXCEPTION
| 0);
4609 if (SWIG_arg_fail(1)) SWIG_fail
;
4612 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
4615 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4616 result
= (arg1
)->operator -((wxPoint
const &)*arg2
);
4618 wxPyEndAllowThreads(__tstate
);
4619 if (PyErr_Occurred()) SWIG_fail
;
4622 wxPoint
* resultptr
;
4623 resultptr
= new wxPoint((wxPoint
&)(result
));
4624 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
4632 static PyObject
*_wrap_Point___iadd__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4633 PyObject
*resultobj
;
4634 wxPoint
*arg1
= (wxPoint
*) 0 ;
4638 PyObject
* obj0
= 0 ;
4639 PyObject
* obj1
= 0 ;
4641 (char *) "self",(char *) "pt", NULL
4644 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point___iadd__",kwnames
,&obj0
,&obj1
)) goto fail
;
4645 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
4646 if (SWIG_arg_fail(1)) SWIG_fail
;
4649 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
4652 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4654 wxPoint
&_result_ref
= (arg1
)->operator +=((wxPoint
const &)*arg2
);
4655 result
= (wxPoint
*) &_result_ref
;
4658 wxPyEndAllowThreads(__tstate
);
4659 if (PyErr_Occurred()) SWIG_fail
;
4661 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint
, 1);
4668 static PyObject
*_wrap_Point___isub__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4669 PyObject
*resultobj
;
4670 wxPoint
*arg1
= (wxPoint
*) 0 ;
4674 PyObject
* obj0
= 0 ;
4675 PyObject
* obj1
= 0 ;
4677 (char *) "self",(char *) "pt", NULL
4680 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point___isub__",kwnames
,&obj0
,&obj1
)) goto fail
;
4681 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
4682 if (SWIG_arg_fail(1)) SWIG_fail
;
4685 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
4688 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4690 wxPoint
&_result_ref
= (arg1
)->operator -=((wxPoint
const &)*arg2
);
4691 result
= (wxPoint
*) &_result_ref
;
4694 wxPyEndAllowThreads(__tstate
);
4695 if (PyErr_Occurred()) SWIG_fail
;
4697 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint
, 1);
4704 static PyObject
*_wrap_Point_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4705 PyObject
*resultobj
;
4706 wxPoint
*arg1
= (wxPoint
*) 0 ;
4709 PyObject
* obj0
= 0 ;
4710 PyObject
* obj1
= 0 ;
4711 PyObject
* obj2
= 0 ;
4713 (char *) "self",(char *) "x",(char *) "y", NULL
4716 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Point_Set",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4717 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint
, SWIG_POINTER_EXCEPTION
| 0);
4718 if (SWIG_arg_fail(1)) SWIG_fail
;
4720 arg2
= (long)(SWIG_As_long(obj1
));
4721 if (SWIG_arg_fail(2)) SWIG_fail
;
4724 arg3
= (long)(SWIG_As_long(obj2
));
4725 if (SWIG_arg_fail(3)) SWIG_fail
;
4728 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4729 wxPoint_Set(arg1
,arg2
,arg3
);
4731 wxPyEndAllowThreads(__tstate
);
4732 if (PyErr_Occurred()) SWIG_fail
;
4734 Py_INCREF(Py_None
); resultobj
= Py_None
;
4741 static PyObject
*_wrap_Point_Get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4742 PyObject
*resultobj
;
4743 wxPoint
*arg1
= (wxPoint
*) 0 ;
4745 PyObject
* obj0
= 0 ;
4747 (char *) "self", NULL
4750 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point_Get",kwnames
,&obj0
)) goto fail
;
4751 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint
, SWIG_POINTER_EXCEPTION
| 0);
4752 if (SWIG_arg_fail(1)) SWIG_fail
;
4754 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4755 result
= (PyObject
*)wxPoint_Get(arg1
);
4757 wxPyEndAllowThreads(__tstate
);
4758 if (PyErr_Occurred()) SWIG_fail
;
4767 static PyObject
* Point_swigregister(PyObject
*, PyObject
*args
) {
4769 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4770 SWIG_TypeClientData(SWIGTYPE_p_wxPoint
, obj
);
4772 return Py_BuildValue((char *)"");
4774 static PyObject
*_wrap_new_Rect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4775 PyObject
*resultobj
;
4776 int arg1
= (int) 0 ;
4777 int arg2
= (int) 0 ;
4778 int arg3
= (int) 0 ;
4779 int arg4
= (int) 0 ;
4781 PyObject
* obj0
= 0 ;
4782 PyObject
* obj1
= 0 ;
4783 PyObject
* obj2
= 0 ;
4784 PyObject
* obj3
= 0 ;
4786 (char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
4789 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_Rect",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
4792 arg1
= (int)(SWIG_As_int(obj0
));
4793 if (SWIG_arg_fail(1)) SWIG_fail
;
4798 arg2
= (int)(SWIG_As_int(obj1
));
4799 if (SWIG_arg_fail(2)) SWIG_fail
;
4804 arg3
= (int)(SWIG_As_int(obj2
));
4805 if (SWIG_arg_fail(3)) SWIG_fail
;
4810 arg4
= (int)(SWIG_As_int(obj3
));
4811 if (SWIG_arg_fail(4)) SWIG_fail
;
4815 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4816 result
= (wxRect
*)new wxRect(arg1
,arg2
,arg3
,arg4
);
4818 wxPyEndAllowThreads(__tstate
);
4819 if (PyErr_Occurred()) SWIG_fail
;
4821 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 1);
4828 static PyObject
*_wrap_new_RectPP(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4829 PyObject
*resultobj
;
4835 PyObject
* obj0
= 0 ;
4836 PyObject
* obj1
= 0 ;
4838 (char *) "topLeft",(char *) "bottomRight", NULL
4841 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_RectPP",kwnames
,&obj0
,&obj1
)) goto fail
;
4844 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
4848 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
4851 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4852 result
= (wxRect
*)new wxRect((wxPoint
const &)*arg1
,(wxPoint
const &)*arg2
);
4854 wxPyEndAllowThreads(__tstate
);
4855 if (PyErr_Occurred()) SWIG_fail
;
4857 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 1);
4864 static PyObject
*_wrap_new_RectPS(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4865 PyObject
*resultobj
;
4871 PyObject
* obj0
= 0 ;
4872 PyObject
* obj1
= 0 ;
4874 (char *) "pos",(char *) "size", NULL
4877 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_RectPS",kwnames
,&obj0
,&obj1
)) goto fail
;
4880 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
4884 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
4887 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4888 result
= (wxRect
*)new wxRect((wxPoint
const &)*arg1
,(wxSize
const &)*arg2
);
4890 wxPyEndAllowThreads(__tstate
);
4891 if (PyErr_Occurred()) SWIG_fail
;
4893 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 1);
4900 static PyObject
*_wrap_new_RectS(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4901 PyObject
*resultobj
;
4905 PyObject
* obj0
= 0 ;
4907 (char *) "size", NULL
4910 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_RectS",kwnames
,&obj0
)) goto fail
;
4913 if ( ! wxSize_helper(obj0
, &arg1
)) SWIG_fail
;
4916 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4917 result
= (wxRect
*)new wxRect((wxSize
const &)*arg1
);
4919 wxPyEndAllowThreads(__tstate
);
4920 if (PyErr_Occurred()) SWIG_fail
;
4922 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 1);
4929 static PyObject
*_wrap_delete_Rect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4930 PyObject
*resultobj
;
4931 wxRect
*arg1
= (wxRect
*) 0 ;
4932 PyObject
* obj0
= 0 ;
4934 (char *) "self", NULL
4937 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Rect",kwnames
,&obj0
)) goto fail
;
4938 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
4939 if (SWIG_arg_fail(1)) SWIG_fail
;
4941 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4944 wxPyEndAllowThreads(__tstate
);
4945 if (PyErr_Occurred()) SWIG_fail
;
4947 Py_INCREF(Py_None
); resultobj
= Py_None
;
4954 static PyObject
*_wrap_Rect_GetX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4955 PyObject
*resultobj
;
4956 wxRect
*arg1
= (wxRect
*) 0 ;
4958 PyObject
* obj0
= 0 ;
4960 (char *) "self", NULL
4963 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetX",kwnames
,&obj0
)) goto fail
;
4964 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
4965 if (SWIG_arg_fail(1)) SWIG_fail
;
4967 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4968 result
= (int)((wxRect
const *)arg1
)->GetX();
4970 wxPyEndAllowThreads(__tstate
);
4971 if (PyErr_Occurred()) SWIG_fail
;
4974 resultobj
= SWIG_From_int((int)(result
));
4982 static PyObject
*_wrap_Rect_SetX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4983 PyObject
*resultobj
;
4984 wxRect
*arg1
= (wxRect
*) 0 ;
4986 PyObject
* obj0
= 0 ;
4987 PyObject
* obj1
= 0 ;
4989 (char *) "self",(char *) "x", NULL
4992 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetX",kwnames
,&obj0
,&obj1
)) goto fail
;
4993 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
4994 if (SWIG_arg_fail(1)) SWIG_fail
;
4996 arg2
= (int)(SWIG_As_int(obj1
));
4997 if (SWIG_arg_fail(2)) SWIG_fail
;
5000 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5003 wxPyEndAllowThreads(__tstate
);
5004 if (PyErr_Occurred()) SWIG_fail
;
5006 Py_INCREF(Py_None
); resultobj
= Py_None
;
5013 static PyObject
*_wrap_Rect_GetY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5014 PyObject
*resultobj
;
5015 wxRect
*arg1
= (wxRect
*) 0 ;
5017 PyObject
* obj0
= 0 ;
5019 (char *) "self", NULL
5022 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetY",kwnames
,&obj0
)) goto fail
;
5023 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5024 if (SWIG_arg_fail(1)) SWIG_fail
;
5026 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5027 result
= (int)(arg1
)->GetY();
5029 wxPyEndAllowThreads(__tstate
);
5030 if (PyErr_Occurred()) SWIG_fail
;
5033 resultobj
= SWIG_From_int((int)(result
));
5041 static PyObject
*_wrap_Rect_SetY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5042 PyObject
*resultobj
;
5043 wxRect
*arg1
= (wxRect
*) 0 ;
5045 PyObject
* obj0
= 0 ;
5046 PyObject
* obj1
= 0 ;
5048 (char *) "self",(char *) "y", NULL
5051 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetY",kwnames
,&obj0
,&obj1
)) goto fail
;
5052 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5053 if (SWIG_arg_fail(1)) SWIG_fail
;
5055 arg2
= (int)(SWIG_As_int(obj1
));
5056 if (SWIG_arg_fail(2)) SWIG_fail
;
5059 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5062 wxPyEndAllowThreads(__tstate
);
5063 if (PyErr_Occurred()) SWIG_fail
;
5065 Py_INCREF(Py_None
); resultobj
= Py_None
;
5072 static PyObject
*_wrap_Rect_GetWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5073 PyObject
*resultobj
;
5074 wxRect
*arg1
= (wxRect
*) 0 ;
5076 PyObject
* obj0
= 0 ;
5078 (char *) "self", NULL
5081 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetWidth",kwnames
,&obj0
)) goto fail
;
5082 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5083 if (SWIG_arg_fail(1)) SWIG_fail
;
5085 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5086 result
= (int)((wxRect
const *)arg1
)->GetWidth();
5088 wxPyEndAllowThreads(__tstate
);
5089 if (PyErr_Occurred()) SWIG_fail
;
5092 resultobj
= SWIG_From_int((int)(result
));
5100 static PyObject
*_wrap_Rect_SetWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5101 PyObject
*resultobj
;
5102 wxRect
*arg1
= (wxRect
*) 0 ;
5104 PyObject
* obj0
= 0 ;
5105 PyObject
* obj1
= 0 ;
5107 (char *) "self",(char *) "w", NULL
5110 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
5111 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5112 if (SWIG_arg_fail(1)) SWIG_fail
;
5114 arg2
= (int)(SWIG_As_int(obj1
));
5115 if (SWIG_arg_fail(2)) SWIG_fail
;
5118 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5119 (arg1
)->SetWidth(arg2
);
5121 wxPyEndAllowThreads(__tstate
);
5122 if (PyErr_Occurred()) SWIG_fail
;
5124 Py_INCREF(Py_None
); resultobj
= Py_None
;
5131 static PyObject
*_wrap_Rect_GetHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5132 PyObject
*resultobj
;
5133 wxRect
*arg1
= (wxRect
*) 0 ;
5135 PyObject
* obj0
= 0 ;
5137 (char *) "self", NULL
5140 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetHeight",kwnames
,&obj0
)) goto fail
;
5141 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5142 if (SWIG_arg_fail(1)) SWIG_fail
;
5144 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5145 result
= (int)((wxRect
const *)arg1
)->GetHeight();
5147 wxPyEndAllowThreads(__tstate
);
5148 if (PyErr_Occurred()) SWIG_fail
;
5151 resultobj
= SWIG_From_int((int)(result
));
5159 static PyObject
*_wrap_Rect_SetHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5160 PyObject
*resultobj
;
5161 wxRect
*arg1
= (wxRect
*) 0 ;
5163 PyObject
* obj0
= 0 ;
5164 PyObject
* obj1
= 0 ;
5166 (char *) "self",(char *) "h", NULL
5169 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetHeight",kwnames
,&obj0
,&obj1
)) goto fail
;
5170 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5171 if (SWIG_arg_fail(1)) SWIG_fail
;
5173 arg2
= (int)(SWIG_As_int(obj1
));
5174 if (SWIG_arg_fail(2)) SWIG_fail
;
5177 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5178 (arg1
)->SetHeight(arg2
);
5180 wxPyEndAllowThreads(__tstate
);
5181 if (PyErr_Occurred()) SWIG_fail
;
5183 Py_INCREF(Py_None
); resultobj
= Py_None
;
5190 static PyObject
*_wrap_Rect_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5191 PyObject
*resultobj
;
5192 wxRect
*arg1
= (wxRect
*) 0 ;
5194 PyObject
* obj0
= 0 ;
5196 (char *) "self", NULL
5199 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetPosition",kwnames
,&obj0
)) goto fail
;
5200 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5201 if (SWIG_arg_fail(1)) SWIG_fail
;
5203 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5204 result
= ((wxRect
const *)arg1
)->GetPosition();
5206 wxPyEndAllowThreads(__tstate
);
5207 if (PyErr_Occurred()) SWIG_fail
;
5210 wxPoint
* resultptr
;
5211 resultptr
= new wxPoint((wxPoint
&)(result
));
5212 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
5220 static PyObject
*_wrap_Rect_SetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5221 PyObject
*resultobj
;
5222 wxRect
*arg1
= (wxRect
*) 0 ;
5225 PyObject
* obj0
= 0 ;
5226 PyObject
* obj1
= 0 ;
5228 (char *) "self",(char *) "p", NULL
5231 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
5232 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5233 if (SWIG_arg_fail(1)) SWIG_fail
;
5236 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
5239 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5240 (arg1
)->SetPosition((wxPoint
const &)*arg2
);
5242 wxPyEndAllowThreads(__tstate
);
5243 if (PyErr_Occurred()) SWIG_fail
;
5245 Py_INCREF(Py_None
); resultobj
= Py_None
;
5252 static PyObject
*_wrap_Rect_GetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5253 PyObject
*resultobj
;
5254 wxRect
*arg1
= (wxRect
*) 0 ;
5256 PyObject
* obj0
= 0 ;
5258 (char *) "self", NULL
5261 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetSize",kwnames
,&obj0
)) goto fail
;
5262 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5263 if (SWIG_arg_fail(1)) SWIG_fail
;
5265 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5266 result
= ((wxRect
const *)arg1
)->GetSize();
5268 wxPyEndAllowThreads(__tstate
);
5269 if (PyErr_Occurred()) SWIG_fail
;
5273 resultptr
= new wxSize((wxSize
&)(result
));
5274 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
5282 static PyObject
*_wrap_Rect_SetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5283 PyObject
*resultobj
;
5284 wxRect
*arg1
= (wxRect
*) 0 ;
5287 PyObject
* obj0
= 0 ;
5288 PyObject
* obj1
= 0 ;
5290 (char *) "self",(char *) "s", NULL
5293 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetSize",kwnames
,&obj0
,&obj1
)) goto fail
;
5294 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5295 if (SWIG_arg_fail(1)) SWIG_fail
;
5298 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
5301 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5302 (arg1
)->SetSize((wxSize
const &)*arg2
);
5304 wxPyEndAllowThreads(__tstate
);
5305 if (PyErr_Occurred()) SWIG_fail
;
5307 Py_INCREF(Py_None
); resultobj
= Py_None
;
5314 static PyObject
*_wrap_Rect_IsEmpty(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5315 PyObject
*resultobj
;
5316 wxRect
*arg1
= (wxRect
*) 0 ;
5318 PyObject
* obj0
= 0 ;
5320 (char *) "self", NULL
5323 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_IsEmpty",kwnames
,&obj0
)) goto fail
;
5324 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5325 if (SWIG_arg_fail(1)) SWIG_fail
;
5327 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5328 result
= (bool)((wxRect
const *)arg1
)->IsEmpty();
5330 wxPyEndAllowThreads(__tstate
);
5331 if (PyErr_Occurred()) SWIG_fail
;
5334 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5342 static PyObject
*_wrap_Rect_GetTopLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5343 PyObject
*resultobj
;
5344 wxRect
*arg1
= (wxRect
*) 0 ;
5346 PyObject
* obj0
= 0 ;
5348 (char *) "self", NULL
5351 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetTopLeft",kwnames
,&obj0
)) goto fail
;
5352 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5353 if (SWIG_arg_fail(1)) SWIG_fail
;
5355 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5356 result
= ((wxRect
const *)arg1
)->GetTopLeft();
5358 wxPyEndAllowThreads(__tstate
);
5359 if (PyErr_Occurred()) SWIG_fail
;
5362 wxPoint
* resultptr
;
5363 resultptr
= new wxPoint((wxPoint
&)(result
));
5364 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
5372 static PyObject
*_wrap_Rect_SetTopLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5373 PyObject
*resultobj
;
5374 wxRect
*arg1
= (wxRect
*) 0 ;
5377 PyObject
* obj0
= 0 ;
5378 PyObject
* obj1
= 0 ;
5380 (char *) "self",(char *) "p", NULL
5383 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetTopLeft",kwnames
,&obj0
,&obj1
)) goto fail
;
5384 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5385 if (SWIG_arg_fail(1)) SWIG_fail
;
5388 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
5391 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5392 (arg1
)->SetTopLeft((wxPoint
const &)*arg2
);
5394 wxPyEndAllowThreads(__tstate
);
5395 if (PyErr_Occurred()) SWIG_fail
;
5397 Py_INCREF(Py_None
); resultobj
= Py_None
;
5404 static PyObject
*_wrap_Rect_GetBottomRight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5405 PyObject
*resultobj
;
5406 wxRect
*arg1
= (wxRect
*) 0 ;
5408 PyObject
* obj0
= 0 ;
5410 (char *) "self", NULL
5413 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetBottomRight",kwnames
,&obj0
)) goto fail
;
5414 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5415 if (SWIG_arg_fail(1)) SWIG_fail
;
5417 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5418 result
= ((wxRect
const *)arg1
)->GetBottomRight();
5420 wxPyEndAllowThreads(__tstate
);
5421 if (PyErr_Occurred()) SWIG_fail
;
5424 wxPoint
* resultptr
;
5425 resultptr
= new wxPoint((wxPoint
&)(result
));
5426 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
5434 static PyObject
*_wrap_Rect_SetBottomRight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5435 PyObject
*resultobj
;
5436 wxRect
*arg1
= (wxRect
*) 0 ;
5439 PyObject
* obj0
= 0 ;
5440 PyObject
* obj1
= 0 ;
5442 (char *) "self",(char *) "p", NULL
5445 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetBottomRight",kwnames
,&obj0
,&obj1
)) goto fail
;
5446 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5447 if (SWIG_arg_fail(1)) SWIG_fail
;
5450 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
5453 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5454 (arg1
)->SetBottomRight((wxPoint
const &)*arg2
);
5456 wxPyEndAllowThreads(__tstate
);
5457 if (PyErr_Occurred()) SWIG_fail
;
5459 Py_INCREF(Py_None
); resultobj
= Py_None
;
5466 static PyObject
*_wrap_Rect_GetLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5467 PyObject
*resultobj
;
5468 wxRect
*arg1
= (wxRect
*) 0 ;
5470 PyObject
* obj0
= 0 ;
5472 (char *) "self", NULL
5475 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetLeft",kwnames
,&obj0
)) goto fail
;
5476 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5477 if (SWIG_arg_fail(1)) SWIG_fail
;
5479 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5480 result
= (int)((wxRect
const *)arg1
)->GetLeft();
5482 wxPyEndAllowThreads(__tstate
);
5483 if (PyErr_Occurred()) SWIG_fail
;
5486 resultobj
= SWIG_From_int((int)(result
));
5494 static PyObject
*_wrap_Rect_GetTop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5495 PyObject
*resultobj
;
5496 wxRect
*arg1
= (wxRect
*) 0 ;
5498 PyObject
* obj0
= 0 ;
5500 (char *) "self", NULL
5503 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetTop",kwnames
,&obj0
)) goto fail
;
5504 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5505 if (SWIG_arg_fail(1)) SWIG_fail
;
5507 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5508 result
= (int)((wxRect
const *)arg1
)->GetTop();
5510 wxPyEndAllowThreads(__tstate
);
5511 if (PyErr_Occurred()) SWIG_fail
;
5514 resultobj
= SWIG_From_int((int)(result
));
5522 static PyObject
*_wrap_Rect_GetBottom(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5523 PyObject
*resultobj
;
5524 wxRect
*arg1
= (wxRect
*) 0 ;
5526 PyObject
* obj0
= 0 ;
5528 (char *) "self", NULL
5531 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetBottom",kwnames
,&obj0
)) goto fail
;
5532 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5533 if (SWIG_arg_fail(1)) SWIG_fail
;
5535 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5536 result
= (int)((wxRect
const *)arg1
)->GetBottom();
5538 wxPyEndAllowThreads(__tstate
);
5539 if (PyErr_Occurred()) SWIG_fail
;
5542 resultobj
= SWIG_From_int((int)(result
));
5550 static PyObject
*_wrap_Rect_GetRight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5551 PyObject
*resultobj
;
5552 wxRect
*arg1
= (wxRect
*) 0 ;
5554 PyObject
* obj0
= 0 ;
5556 (char *) "self", NULL
5559 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetRight",kwnames
,&obj0
)) goto fail
;
5560 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5561 if (SWIG_arg_fail(1)) SWIG_fail
;
5563 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5564 result
= (int)((wxRect
const *)arg1
)->GetRight();
5566 wxPyEndAllowThreads(__tstate
);
5567 if (PyErr_Occurred()) SWIG_fail
;
5570 resultobj
= SWIG_From_int((int)(result
));
5578 static PyObject
*_wrap_Rect_SetLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5579 PyObject
*resultobj
;
5580 wxRect
*arg1
= (wxRect
*) 0 ;
5582 PyObject
* obj0
= 0 ;
5583 PyObject
* obj1
= 0 ;
5585 (char *) "self",(char *) "left", NULL
5588 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetLeft",kwnames
,&obj0
,&obj1
)) goto fail
;
5589 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5590 if (SWIG_arg_fail(1)) SWIG_fail
;
5592 arg2
= (int)(SWIG_As_int(obj1
));
5593 if (SWIG_arg_fail(2)) SWIG_fail
;
5596 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5597 (arg1
)->SetLeft(arg2
);
5599 wxPyEndAllowThreads(__tstate
);
5600 if (PyErr_Occurred()) SWIG_fail
;
5602 Py_INCREF(Py_None
); resultobj
= Py_None
;
5609 static PyObject
*_wrap_Rect_SetRight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5610 PyObject
*resultobj
;
5611 wxRect
*arg1
= (wxRect
*) 0 ;
5613 PyObject
* obj0
= 0 ;
5614 PyObject
* obj1
= 0 ;
5616 (char *) "self",(char *) "right", NULL
5619 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetRight",kwnames
,&obj0
,&obj1
)) goto fail
;
5620 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5621 if (SWIG_arg_fail(1)) SWIG_fail
;
5623 arg2
= (int)(SWIG_As_int(obj1
));
5624 if (SWIG_arg_fail(2)) SWIG_fail
;
5627 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5628 (arg1
)->SetRight(arg2
);
5630 wxPyEndAllowThreads(__tstate
);
5631 if (PyErr_Occurred()) SWIG_fail
;
5633 Py_INCREF(Py_None
); resultobj
= Py_None
;
5640 static PyObject
*_wrap_Rect_SetTop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5641 PyObject
*resultobj
;
5642 wxRect
*arg1
= (wxRect
*) 0 ;
5644 PyObject
* obj0
= 0 ;
5645 PyObject
* obj1
= 0 ;
5647 (char *) "self",(char *) "top", NULL
5650 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetTop",kwnames
,&obj0
,&obj1
)) goto fail
;
5651 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5652 if (SWIG_arg_fail(1)) SWIG_fail
;
5654 arg2
= (int)(SWIG_As_int(obj1
));
5655 if (SWIG_arg_fail(2)) SWIG_fail
;
5658 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5659 (arg1
)->SetTop(arg2
);
5661 wxPyEndAllowThreads(__tstate
);
5662 if (PyErr_Occurred()) SWIG_fail
;
5664 Py_INCREF(Py_None
); resultobj
= Py_None
;
5671 static PyObject
*_wrap_Rect_SetBottom(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5672 PyObject
*resultobj
;
5673 wxRect
*arg1
= (wxRect
*) 0 ;
5675 PyObject
* obj0
= 0 ;
5676 PyObject
* obj1
= 0 ;
5678 (char *) "self",(char *) "bottom", NULL
5681 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetBottom",kwnames
,&obj0
,&obj1
)) goto fail
;
5682 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5683 if (SWIG_arg_fail(1)) SWIG_fail
;
5685 arg2
= (int)(SWIG_As_int(obj1
));
5686 if (SWIG_arg_fail(2)) SWIG_fail
;
5689 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5690 (arg1
)->SetBottom(arg2
);
5692 wxPyEndAllowThreads(__tstate
);
5693 if (PyErr_Occurred()) SWIG_fail
;
5695 Py_INCREF(Py_None
); resultobj
= Py_None
;
5702 static PyObject
*_wrap_Rect_Inflate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5703 PyObject
*resultobj
;
5704 wxRect
*arg1
= (wxRect
*) 0 ;
5708 PyObject
* obj0
= 0 ;
5709 PyObject
* obj1
= 0 ;
5710 PyObject
* obj2
= 0 ;
5712 (char *) "self",(char *) "dx",(char *) "dy", NULL
5715 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Rect_Inflate",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5716 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5717 if (SWIG_arg_fail(1)) SWIG_fail
;
5719 arg2
= (int)(SWIG_As_int(obj1
));
5720 if (SWIG_arg_fail(2)) SWIG_fail
;
5723 arg3
= (int)(SWIG_As_int(obj2
));
5724 if (SWIG_arg_fail(3)) SWIG_fail
;
5727 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5729 wxRect
&_result_ref
= (arg1
)->Inflate(arg2
,arg3
);
5730 result
= (wxRect
*) &_result_ref
;
5733 wxPyEndAllowThreads(__tstate
);
5734 if (PyErr_Occurred()) SWIG_fail
;
5736 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 0);
5743 static PyObject
*_wrap_Rect_Deflate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5744 PyObject
*resultobj
;
5745 wxRect
*arg1
= (wxRect
*) 0 ;
5749 PyObject
* obj0
= 0 ;
5750 PyObject
* obj1
= 0 ;
5751 PyObject
* obj2
= 0 ;
5753 (char *) "self",(char *) "dx",(char *) "dy", NULL
5756 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Rect_Deflate",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5757 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5758 if (SWIG_arg_fail(1)) SWIG_fail
;
5760 arg2
= (int)(SWIG_As_int(obj1
));
5761 if (SWIG_arg_fail(2)) SWIG_fail
;
5764 arg3
= (int)(SWIG_As_int(obj2
));
5765 if (SWIG_arg_fail(3)) SWIG_fail
;
5768 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5770 wxRect
&_result_ref
= (arg1
)->Deflate(arg2
,arg3
);
5771 result
= (wxRect
*) &_result_ref
;
5774 wxPyEndAllowThreads(__tstate
);
5775 if (PyErr_Occurred()) SWIG_fail
;
5777 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 0);
5784 static PyObject
*_wrap_Rect_OffsetXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5785 PyObject
*resultobj
;
5786 wxRect
*arg1
= (wxRect
*) 0 ;
5789 PyObject
* obj0
= 0 ;
5790 PyObject
* obj1
= 0 ;
5791 PyObject
* obj2
= 0 ;
5793 (char *) "self",(char *) "dx",(char *) "dy", NULL
5796 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Rect_OffsetXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5797 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5798 if (SWIG_arg_fail(1)) SWIG_fail
;
5800 arg2
= (int)(SWIG_As_int(obj1
));
5801 if (SWIG_arg_fail(2)) SWIG_fail
;
5804 arg3
= (int)(SWIG_As_int(obj2
));
5805 if (SWIG_arg_fail(3)) SWIG_fail
;
5808 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5809 (arg1
)->Offset(arg2
,arg3
);
5811 wxPyEndAllowThreads(__tstate
);
5812 if (PyErr_Occurred()) SWIG_fail
;
5814 Py_INCREF(Py_None
); resultobj
= Py_None
;
5821 static PyObject
*_wrap_Rect_Offset(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5822 PyObject
*resultobj
;
5823 wxRect
*arg1
= (wxRect
*) 0 ;
5826 PyObject
* obj0
= 0 ;
5827 PyObject
* obj1
= 0 ;
5829 (char *) "self",(char *) "pt", NULL
5832 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_Offset",kwnames
,&obj0
,&obj1
)) goto fail
;
5833 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5834 if (SWIG_arg_fail(1)) SWIG_fail
;
5837 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
5840 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5841 (arg1
)->Offset((wxPoint
const &)*arg2
);
5843 wxPyEndAllowThreads(__tstate
);
5844 if (PyErr_Occurred()) SWIG_fail
;
5846 Py_INCREF(Py_None
); resultobj
= Py_None
;
5853 static PyObject
*_wrap_Rect_Intersect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5854 PyObject
*resultobj
;
5855 wxRect
*arg1
= (wxRect
*) 0 ;
5859 PyObject
* obj0
= 0 ;
5860 PyObject
* obj1
= 0 ;
5862 (char *) "self",(char *) "rect", NULL
5865 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_Intersect",kwnames
,&obj0
,&obj1
)) goto fail
;
5866 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5867 if (SWIG_arg_fail(1)) SWIG_fail
;
5870 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
5873 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5874 result
= (arg1
)->Intersect((wxRect
const &)*arg2
);
5876 wxPyEndAllowThreads(__tstate
);
5877 if (PyErr_Occurred()) SWIG_fail
;
5881 resultptr
= new wxRect((wxRect
&)(result
));
5882 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
5890 static PyObject
*_wrap_Rect_Union(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5891 PyObject
*resultobj
;
5892 wxRect
*arg1
= (wxRect
*) 0 ;
5896 PyObject
* obj0
= 0 ;
5897 PyObject
* obj1
= 0 ;
5899 (char *) "self",(char *) "rect", NULL
5902 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_Union",kwnames
,&obj0
,&obj1
)) goto fail
;
5903 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5904 if (SWIG_arg_fail(1)) SWIG_fail
;
5907 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
5910 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5911 result
= (arg1
)->Union((wxRect
const &)*arg2
);
5913 wxPyEndAllowThreads(__tstate
);
5914 if (PyErr_Occurred()) SWIG_fail
;
5918 resultptr
= new wxRect((wxRect
&)(result
));
5919 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
5927 static PyObject
*_wrap_Rect___add__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5928 PyObject
*resultobj
;
5929 wxRect
*arg1
= (wxRect
*) 0 ;
5933 PyObject
* obj0
= 0 ;
5934 PyObject
* obj1
= 0 ;
5936 (char *) "self",(char *) "rect", NULL
5939 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect___add__",kwnames
,&obj0
,&obj1
)) goto fail
;
5940 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5941 if (SWIG_arg_fail(1)) SWIG_fail
;
5944 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
5947 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5948 result
= ((wxRect
const *)arg1
)->operator +((wxRect
const &)*arg2
);
5950 wxPyEndAllowThreads(__tstate
);
5951 if (PyErr_Occurred()) SWIG_fail
;
5955 resultptr
= new wxRect((wxRect
&)(result
));
5956 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
5964 static PyObject
*_wrap_Rect___iadd__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5965 PyObject
*resultobj
;
5966 wxRect
*arg1
= (wxRect
*) 0 ;
5970 PyObject
* obj0
= 0 ;
5971 PyObject
* obj1
= 0 ;
5973 (char *) "self",(char *) "rect", NULL
5976 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect___iadd__",kwnames
,&obj0
,&obj1
)) goto fail
;
5977 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
5978 if (SWIG_arg_fail(1)) SWIG_fail
;
5981 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
5984 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5986 wxRect
&_result_ref
= (arg1
)->operator +=((wxRect
const &)*arg2
);
5987 result
= (wxRect
*) &_result_ref
;
5990 wxPyEndAllowThreads(__tstate
);
5991 if (PyErr_Occurred()) SWIG_fail
;
5993 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 1);
6000 static PyObject
*_wrap_Rect___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6001 PyObject
*resultobj
;
6002 wxRect
*arg1
= (wxRect
*) 0 ;
6006 PyObject
* obj0
= 0 ;
6007 PyObject
* obj1
= 0 ;
6009 (char *) "self",(char *) "rect", NULL
6012 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
6013 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
6014 if (SWIG_arg_fail(1)) SWIG_fail
;
6017 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
6020 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6021 result
= (bool)((wxRect
const *)arg1
)->operator ==((wxRect
const &)*arg2
);
6023 wxPyEndAllowThreads(__tstate
);
6024 if (PyErr_Occurred()) SWIG_fail
;
6027 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6035 static PyObject
*_wrap_Rect___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6036 PyObject
*resultobj
;
6037 wxRect
*arg1
= (wxRect
*) 0 ;
6041 PyObject
* obj0
= 0 ;
6042 PyObject
* obj1
= 0 ;
6044 (char *) "self",(char *) "rect", NULL
6047 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
6048 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
6049 if (SWIG_arg_fail(1)) SWIG_fail
;
6052 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
6055 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6056 result
= (bool)((wxRect
const *)arg1
)->operator !=((wxRect
const &)*arg2
);
6058 wxPyEndAllowThreads(__tstate
);
6059 if (PyErr_Occurred()) SWIG_fail
;
6062 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6070 static PyObject
*_wrap_Rect_InsideXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6071 PyObject
*resultobj
;
6072 wxRect
*arg1
= (wxRect
*) 0 ;
6076 PyObject
* obj0
= 0 ;
6077 PyObject
* obj1
= 0 ;
6078 PyObject
* obj2
= 0 ;
6080 (char *) "self",(char *) "x",(char *) "y", NULL
6083 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Rect_InsideXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6084 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
6085 if (SWIG_arg_fail(1)) SWIG_fail
;
6087 arg2
= (int)(SWIG_As_int(obj1
));
6088 if (SWIG_arg_fail(2)) SWIG_fail
;
6091 arg3
= (int)(SWIG_As_int(obj2
));
6092 if (SWIG_arg_fail(3)) SWIG_fail
;
6095 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6096 result
= (bool)((wxRect
const *)arg1
)->Inside(arg2
,arg3
);
6098 wxPyEndAllowThreads(__tstate
);
6099 if (PyErr_Occurred()) SWIG_fail
;
6102 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6110 static PyObject
*_wrap_Rect_Inside(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6111 PyObject
*resultobj
;
6112 wxRect
*arg1
= (wxRect
*) 0 ;
6116 PyObject
* obj0
= 0 ;
6117 PyObject
* obj1
= 0 ;
6119 (char *) "self",(char *) "pt", NULL
6122 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_Inside",kwnames
,&obj0
,&obj1
)) goto fail
;
6123 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
6124 if (SWIG_arg_fail(1)) SWIG_fail
;
6127 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
6130 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6131 result
= (bool)((wxRect
const *)arg1
)->Inside((wxPoint
const &)*arg2
);
6133 wxPyEndAllowThreads(__tstate
);
6134 if (PyErr_Occurred()) SWIG_fail
;
6137 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6145 static PyObject
*_wrap_Rect_Intersects(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6146 PyObject
*resultobj
;
6147 wxRect
*arg1
= (wxRect
*) 0 ;
6151 PyObject
* obj0
= 0 ;
6152 PyObject
* obj1
= 0 ;
6154 (char *) "self",(char *) "rect", NULL
6157 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_Intersects",kwnames
,&obj0
,&obj1
)) goto fail
;
6158 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
6159 if (SWIG_arg_fail(1)) SWIG_fail
;
6162 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
6165 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6166 result
= (bool)((wxRect
const *)arg1
)->Intersects((wxRect
const &)*arg2
);
6168 wxPyEndAllowThreads(__tstate
);
6169 if (PyErr_Occurred()) SWIG_fail
;
6172 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6180 static PyObject
*_wrap_Rect_x_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6181 PyObject
*resultobj
;
6182 wxRect
*arg1
= (wxRect
*) 0 ;
6184 PyObject
* obj0
= 0 ;
6185 PyObject
* obj1
= 0 ;
6187 (char *) "self",(char *) "x", NULL
6190 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_x_set",kwnames
,&obj0
,&obj1
)) goto fail
;
6191 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
6192 if (SWIG_arg_fail(1)) SWIG_fail
;
6194 arg2
= (int)(SWIG_As_int(obj1
));
6195 if (SWIG_arg_fail(2)) SWIG_fail
;
6197 if (arg1
) (arg1
)->x
= arg2
;
6199 Py_INCREF(Py_None
); resultobj
= Py_None
;
6206 static PyObject
*_wrap_Rect_x_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6207 PyObject
*resultobj
;
6208 wxRect
*arg1
= (wxRect
*) 0 ;
6210 PyObject
* obj0
= 0 ;
6212 (char *) "self", NULL
6215 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_x_get",kwnames
,&obj0
)) goto fail
;
6216 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
6217 if (SWIG_arg_fail(1)) SWIG_fail
;
6218 result
= (int) ((arg1
)->x
);
6221 resultobj
= SWIG_From_int((int)(result
));
6229 static PyObject
*_wrap_Rect_y_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6230 PyObject
*resultobj
;
6231 wxRect
*arg1
= (wxRect
*) 0 ;
6233 PyObject
* obj0
= 0 ;
6234 PyObject
* obj1
= 0 ;
6236 (char *) "self",(char *) "y", NULL
6239 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_y_set",kwnames
,&obj0
,&obj1
)) goto fail
;
6240 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
6241 if (SWIG_arg_fail(1)) SWIG_fail
;
6243 arg2
= (int)(SWIG_As_int(obj1
));
6244 if (SWIG_arg_fail(2)) SWIG_fail
;
6246 if (arg1
) (arg1
)->y
= arg2
;
6248 Py_INCREF(Py_None
); resultobj
= Py_None
;
6255 static PyObject
*_wrap_Rect_y_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6256 PyObject
*resultobj
;
6257 wxRect
*arg1
= (wxRect
*) 0 ;
6259 PyObject
* obj0
= 0 ;
6261 (char *) "self", NULL
6264 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_y_get",kwnames
,&obj0
)) goto fail
;
6265 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
6266 if (SWIG_arg_fail(1)) SWIG_fail
;
6267 result
= (int) ((arg1
)->y
);
6270 resultobj
= SWIG_From_int((int)(result
));
6278 static PyObject
*_wrap_Rect_width_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6279 PyObject
*resultobj
;
6280 wxRect
*arg1
= (wxRect
*) 0 ;
6282 PyObject
* obj0
= 0 ;
6283 PyObject
* obj1
= 0 ;
6285 (char *) "self",(char *) "width", NULL
6288 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_width_set",kwnames
,&obj0
,&obj1
)) goto fail
;
6289 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
6290 if (SWIG_arg_fail(1)) SWIG_fail
;
6292 arg2
= (int)(SWIG_As_int(obj1
));
6293 if (SWIG_arg_fail(2)) SWIG_fail
;
6295 if (arg1
) (arg1
)->width
= arg2
;
6297 Py_INCREF(Py_None
); resultobj
= Py_None
;
6304 static PyObject
*_wrap_Rect_width_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6305 PyObject
*resultobj
;
6306 wxRect
*arg1
= (wxRect
*) 0 ;
6308 PyObject
* obj0
= 0 ;
6310 (char *) "self", NULL
6313 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_width_get",kwnames
,&obj0
)) goto fail
;
6314 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
6315 if (SWIG_arg_fail(1)) SWIG_fail
;
6316 result
= (int) ((arg1
)->width
);
6319 resultobj
= SWIG_From_int((int)(result
));
6327 static PyObject
*_wrap_Rect_height_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6328 PyObject
*resultobj
;
6329 wxRect
*arg1
= (wxRect
*) 0 ;
6331 PyObject
* obj0
= 0 ;
6332 PyObject
* obj1
= 0 ;
6334 (char *) "self",(char *) "height", NULL
6337 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_height_set",kwnames
,&obj0
,&obj1
)) goto fail
;
6338 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
6339 if (SWIG_arg_fail(1)) SWIG_fail
;
6341 arg2
= (int)(SWIG_As_int(obj1
));
6342 if (SWIG_arg_fail(2)) SWIG_fail
;
6344 if (arg1
) (arg1
)->height
= arg2
;
6346 Py_INCREF(Py_None
); resultobj
= Py_None
;
6353 static PyObject
*_wrap_Rect_height_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6354 PyObject
*resultobj
;
6355 wxRect
*arg1
= (wxRect
*) 0 ;
6357 PyObject
* obj0
= 0 ;
6359 (char *) "self", NULL
6362 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_height_get",kwnames
,&obj0
)) goto fail
;
6363 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
6364 if (SWIG_arg_fail(1)) SWIG_fail
;
6365 result
= (int) ((arg1
)->height
);
6368 resultobj
= SWIG_From_int((int)(result
));
6376 static PyObject
*_wrap_Rect_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6377 PyObject
*resultobj
;
6378 wxRect
*arg1
= (wxRect
*) 0 ;
6379 int arg2
= (int) 0 ;
6380 int arg3
= (int) 0 ;
6381 int arg4
= (int) 0 ;
6382 int arg5
= (int) 0 ;
6383 PyObject
* obj0
= 0 ;
6384 PyObject
* obj1
= 0 ;
6385 PyObject
* obj2
= 0 ;
6386 PyObject
* obj3
= 0 ;
6387 PyObject
* obj4
= 0 ;
6389 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
6392 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOO:Rect_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
6393 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
6394 if (SWIG_arg_fail(1)) SWIG_fail
;
6397 arg2
= (int)(SWIG_As_int(obj1
));
6398 if (SWIG_arg_fail(2)) SWIG_fail
;
6403 arg3
= (int)(SWIG_As_int(obj2
));
6404 if (SWIG_arg_fail(3)) SWIG_fail
;
6409 arg4
= (int)(SWIG_As_int(obj3
));
6410 if (SWIG_arg_fail(4)) SWIG_fail
;
6415 arg5
= (int)(SWIG_As_int(obj4
));
6416 if (SWIG_arg_fail(5)) SWIG_fail
;
6420 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6421 wxRect_Set(arg1
,arg2
,arg3
,arg4
,arg5
);
6423 wxPyEndAllowThreads(__tstate
);
6424 if (PyErr_Occurred()) SWIG_fail
;
6426 Py_INCREF(Py_None
); resultobj
= Py_None
;
6433 static PyObject
*_wrap_Rect_Get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6434 PyObject
*resultobj
;
6435 wxRect
*arg1
= (wxRect
*) 0 ;
6437 PyObject
* obj0
= 0 ;
6439 (char *) "self", NULL
6442 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_Get",kwnames
,&obj0
)) goto fail
;
6443 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
6444 if (SWIG_arg_fail(1)) SWIG_fail
;
6446 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6447 result
= (PyObject
*)wxRect_Get(arg1
);
6449 wxPyEndAllowThreads(__tstate
);
6450 if (PyErr_Occurred()) SWIG_fail
;
6459 static PyObject
* Rect_swigregister(PyObject
*, PyObject
*args
) {
6461 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6462 SWIG_TypeClientData(SWIGTYPE_p_wxRect
, obj
);
6464 return Py_BuildValue((char *)"");
6466 static PyObject
*_wrap_IntersectRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6467 PyObject
*resultobj
;
6468 wxRect
*arg1
= (wxRect
*) 0 ;
6469 wxRect
*arg2
= (wxRect
*) 0 ;
6471 PyObject
* obj0
= 0 ;
6472 PyObject
* obj1
= 0 ;
6474 (char *) "r1",(char *) "r2", NULL
6477 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IntersectRect",kwnames
,&obj0
,&obj1
)) goto fail
;
6478 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
6479 if (SWIG_arg_fail(1)) SWIG_fail
;
6480 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
6481 if (SWIG_arg_fail(2)) SWIG_fail
;
6483 if (!wxPyCheckForApp()) SWIG_fail
;
6484 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6485 result
= (PyObject
*)wxIntersectRect(arg1
,arg2
);
6487 wxPyEndAllowThreads(__tstate
);
6488 if (PyErr_Occurred()) SWIG_fail
;
6497 static PyObject
*_wrap_new_Point2D(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6498 PyObject
*resultobj
;
6499 double arg1
= (double) 0.0 ;
6500 double arg2
= (double) 0.0 ;
6502 PyObject
* obj0
= 0 ;
6503 PyObject
* obj1
= 0 ;
6505 (char *) "x",(char *) "y", NULL
6508 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Point2D",kwnames
,&obj0
,&obj1
)) goto fail
;
6511 arg1
= (double)(SWIG_As_double(obj0
));
6512 if (SWIG_arg_fail(1)) SWIG_fail
;
6517 arg2
= (double)(SWIG_As_double(obj1
));
6518 if (SWIG_arg_fail(2)) SWIG_fail
;
6522 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6523 result
= (wxPoint2D
*)new wxPoint2D(arg1
,arg2
);
6525 wxPyEndAllowThreads(__tstate
);
6526 if (PyErr_Occurred()) SWIG_fail
;
6528 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint2D
, 1);
6535 static PyObject
*_wrap_new_Point2DCopy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6536 PyObject
*resultobj
;
6537 wxPoint2D
*arg1
= 0 ;
6540 PyObject
* obj0
= 0 ;
6545 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_Point2DCopy",kwnames
,&obj0
)) goto fail
;
6548 if ( ! wxPoint2D_helper(obj0
, &arg1
)) SWIG_fail
;
6551 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6552 result
= (wxPoint2D
*)new wxPoint2D((wxPoint2D
const &)*arg1
);
6554 wxPyEndAllowThreads(__tstate
);
6555 if (PyErr_Occurred()) SWIG_fail
;
6557 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint2D
, 1);
6564 static PyObject
*_wrap_new_Point2DFromPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6565 PyObject
*resultobj
;
6569 PyObject
* obj0
= 0 ;
6574 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_Point2DFromPoint",kwnames
,&obj0
)) goto fail
;
6577 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
6580 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6581 result
= (wxPoint2D
*)new wxPoint2D((wxPoint
const &)*arg1
);
6583 wxPyEndAllowThreads(__tstate
);
6584 if (PyErr_Occurred()) SWIG_fail
;
6586 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint2D
, 1);
6593 static PyObject
*_wrap_Point2D_GetFloor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6594 PyObject
*resultobj
;
6595 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
6596 int *arg2
= (int *) 0 ;
6597 int *arg3
= (int *) 0 ;
6602 PyObject
* obj0
= 0 ;
6604 (char *) "self", NULL
6607 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
6608 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
6609 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D_GetFloor",kwnames
,&obj0
)) goto fail
;
6610 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| 0);
6611 if (SWIG_arg_fail(1)) SWIG_fail
;
6613 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6614 ((wxPoint2D
const *)arg1
)->GetFloor(arg2
,arg3
);
6616 wxPyEndAllowThreads(__tstate
);
6617 if (PyErr_Occurred()) SWIG_fail
;
6619 Py_INCREF(Py_None
); resultobj
= Py_None
;
6620 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
6621 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
6622 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
6623 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
6630 static PyObject
*_wrap_Point2D_GetRounded(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6631 PyObject
*resultobj
;
6632 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
6633 int *arg2
= (int *) 0 ;
6634 int *arg3
= (int *) 0 ;
6639 PyObject
* obj0
= 0 ;
6641 (char *) "self", NULL
6644 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
6645 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
6646 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D_GetRounded",kwnames
,&obj0
)) goto fail
;
6647 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| 0);
6648 if (SWIG_arg_fail(1)) SWIG_fail
;
6650 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6651 ((wxPoint2D
const *)arg1
)->GetRounded(arg2
,arg3
);
6653 wxPyEndAllowThreads(__tstate
);
6654 if (PyErr_Occurred()) SWIG_fail
;
6656 Py_INCREF(Py_None
); resultobj
= Py_None
;
6657 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
6658 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
6659 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
6660 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
6667 static PyObject
*_wrap_Point2D_GetVectorLength(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6668 PyObject
*resultobj
;
6669 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
6671 PyObject
* obj0
= 0 ;
6673 (char *) "self", NULL
6676 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D_GetVectorLength",kwnames
,&obj0
)) goto fail
;
6677 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| 0);
6678 if (SWIG_arg_fail(1)) SWIG_fail
;
6680 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6681 result
= (double)((wxPoint2D
const *)arg1
)->GetVectorLength();
6683 wxPyEndAllowThreads(__tstate
);
6684 if (PyErr_Occurred()) SWIG_fail
;
6687 resultobj
= SWIG_From_double((double)(result
));
6695 static PyObject
*_wrap_Point2D_GetVectorAngle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6696 PyObject
*resultobj
;
6697 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
6699 PyObject
* obj0
= 0 ;
6701 (char *) "self", NULL
6704 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D_GetVectorAngle",kwnames
,&obj0
)) goto fail
;
6705 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| 0);
6706 if (SWIG_arg_fail(1)) SWIG_fail
;
6708 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6709 result
= (double)((wxPoint2D
const *)arg1
)->GetVectorAngle();
6711 wxPyEndAllowThreads(__tstate
);
6712 if (PyErr_Occurred()) SWIG_fail
;
6715 resultobj
= SWIG_From_double((double)(result
));
6723 static PyObject
*_wrap_Point2D_SetVectorLength(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6724 PyObject
*resultobj
;
6725 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
6727 PyObject
* obj0
= 0 ;
6728 PyObject
* obj1
= 0 ;
6730 (char *) "self",(char *) "length", NULL
6733 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_SetVectorLength",kwnames
,&obj0
,&obj1
)) goto fail
;
6734 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| 0);
6735 if (SWIG_arg_fail(1)) SWIG_fail
;
6737 arg2
= (double)(SWIG_As_double(obj1
));
6738 if (SWIG_arg_fail(2)) SWIG_fail
;
6741 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6742 (arg1
)->SetVectorLength(arg2
);
6744 wxPyEndAllowThreads(__tstate
);
6745 if (PyErr_Occurred()) SWIG_fail
;
6747 Py_INCREF(Py_None
); resultobj
= Py_None
;
6754 static PyObject
*_wrap_Point2D_SetVectorAngle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6755 PyObject
*resultobj
;
6756 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
6758 PyObject
* obj0
= 0 ;
6759 PyObject
* obj1
= 0 ;
6761 (char *) "self",(char *) "degrees", NULL
6764 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_SetVectorAngle",kwnames
,&obj0
,&obj1
)) goto fail
;
6765 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| 0);
6766 if (SWIG_arg_fail(1)) SWIG_fail
;
6768 arg2
= (double)(SWIG_As_double(obj1
));
6769 if (SWIG_arg_fail(2)) SWIG_fail
;
6772 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6773 (arg1
)->SetVectorAngle(arg2
);
6775 wxPyEndAllowThreads(__tstate
);
6776 if (PyErr_Occurred()) SWIG_fail
;
6778 Py_INCREF(Py_None
); resultobj
= Py_None
;
6785 static PyObject
*_wrap_Point2D_GetDistance(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6786 PyObject
*resultobj
;
6787 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
6788 wxPoint2D
*arg2
= 0 ;
6791 PyObject
* obj0
= 0 ;
6792 PyObject
* obj1
= 0 ;
6794 (char *) "self",(char *) "pt", NULL
6797 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_GetDistance",kwnames
,&obj0
,&obj1
)) goto fail
;
6798 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| 0);
6799 if (SWIG_arg_fail(1)) SWIG_fail
;
6802 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
6805 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6806 result
= (double)((wxPoint2D
const *)arg1
)->GetDistance((wxPoint2D
const &)*arg2
);
6808 wxPyEndAllowThreads(__tstate
);
6809 if (PyErr_Occurred()) SWIG_fail
;
6812 resultobj
= SWIG_From_double((double)(result
));
6820 static PyObject
*_wrap_Point2D_GetDistanceSquare(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6821 PyObject
*resultobj
;
6822 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
6823 wxPoint2D
*arg2
= 0 ;
6826 PyObject
* obj0
= 0 ;
6827 PyObject
* obj1
= 0 ;
6829 (char *) "self",(char *) "pt", NULL
6832 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_GetDistanceSquare",kwnames
,&obj0
,&obj1
)) goto fail
;
6833 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| 0);
6834 if (SWIG_arg_fail(1)) SWIG_fail
;
6837 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
6840 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6841 result
= (double)((wxPoint2D
const *)arg1
)->GetDistanceSquare((wxPoint2D
const &)*arg2
);
6843 wxPyEndAllowThreads(__tstate
);
6844 if (PyErr_Occurred()) SWIG_fail
;
6847 resultobj
= SWIG_From_double((double)(result
));
6855 static PyObject
*_wrap_Point2D_GetDotProduct(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6856 PyObject
*resultobj
;
6857 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
6858 wxPoint2D
*arg2
= 0 ;
6861 PyObject
* obj0
= 0 ;
6862 PyObject
* obj1
= 0 ;
6864 (char *) "self",(char *) "vec", NULL
6867 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_GetDotProduct",kwnames
,&obj0
,&obj1
)) goto fail
;
6868 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| 0);
6869 if (SWIG_arg_fail(1)) SWIG_fail
;
6872 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
6875 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6876 result
= (double)((wxPoint2D
const *)arg1
)->GetDotProduct((wxPoint2D
const &)*arg2
);
6878 wxPyEndAllowThreads(__tstate
);
6879 if (PyErr_Occurred()) SWIG_fail
;
6882 resultobj
= SWIG_From_double((double)(result
));
6890 static PyObject
*_wrap_Point2D_GetCrossProduct(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6891 PyObject
*resultobj
;
6892 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
6893 wxPoint2D
*arg2
= 0 ;
6896 PyObject
* obj0
= 0 ;
6897 PyObject
* obj1
= 0 ;
6899 (char *) "self",(char *) "vec", NULL
6902 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_GetCrossProduct",kwnames
,&obj0
,&obj1
)) goto fail
;
6903 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| 0);
6904 if (SWIG_arg_fail(1)) SWIG_fail
;
6907 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
6910 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6911 result
= (double)((wxPoint2D
const *)arg1
)->GetCrossProduct((wxPoint2D
const &)*arg2
);
6913 wxPyEndAllowThreads(__tstate
);
6914 if (PyErr_Occurred()) SWIG_fail
;
6917 resultobj
= SWIG_From_double((double)(result
));
6925 static PyObject
*_wrap_Point2D___neg__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6926 PyObject
*resultobj
;
6927 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
6929 PyObject
* obj0
= 0 ;
6931 (char *) "self", NULL
6934 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D___neg__",kwnames
,&obj0
)) goto fail
;
6935 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| 0);
6936 if (SWIG_arg_fail(1)) SWIG_fail
;
6938 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6939 result
= (arg1
)->operator -();
6941 wxPyEndAllowThreads(__tstate
);
6942 if (PyErr_Occurred()) SWIG_fail
;
6945 wxPoint2D
* resultptr
;
6946 resultptr
= new wxPoint2D((wxPoint2D
&)(result
));
6947 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint2D
, 1);
6955 static PyObject
*_wrap_Point2D___iadd__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6956 PyObject
*resultobj
;
6957 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
6958 wxPoint2D
*arg2
= 0 ;
6961 PyObject
* obj0
= 0 ;
6962 PyObject
* obj1
= 0 ;
6964 (char *) "self",(char *) "pt", NULL
6967 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D___iadd__",kwnames
,&obj0
,&obj1
)) goto fail
;
6968 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
6969 if (SWIG_arg_fail(1)) SWIG_fail
;
6972 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
6975 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6977 wxPoint2D
&_result_ref
= (arg1
)->operator +=((wxPoint2D
const &)*arg2
);
6978 result
= (wxPoint2D
*) &_result_ref
;
6981 wxPyEndAllowThreads(__tstate
);
6982 if (PyErr_Occurred()) SWIG_fail
;
6984 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint2D
, 1);
6991 static PyObject
*_wrap_Point2D___isub__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6992 PyObject
*resultobj
;
6993 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
6994 wxPoint2D
*arg2
= 0 ;
6997 PyObject
* obj0
= 0 ;
6998 PyObject
* obj1
= 0 ;
7000 (char *) "self",(char *) "pt", NULL
7003 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D___isub__",kwnames
,&obj0
,&obj1
)) goto fail
;
7004 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
7005 if (SWIG_arg_fail(1)) SWIG_fail
;
7008 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
7011 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7013 wxPoint2D
&_result_ref
= (arg1
)->operator -=((wxPoint2D
const &)*arg2
);
7014 result
= (wxPoint2D
*) &_result_ref
;
7017 wxPyEndAllowThreads(__tstate
);
7018 if (PyErr_Occurred()) SWIG_fail
;
7020 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint2D
, 1);
7027 static PyObject
*_wrap_Point2D___imul__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7028 PyObject
*resultobj
;
7029 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
7030 wxPoint2D
*arg2
= 0 ;
7033 PyObject
* obj0
= 0 ;
7034 PyObject
* obj1
= 0 ;
7036 (char *) "self",(char *) "pt", NULL
7039 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D___imul__",kwnames
,&obj0
,&obj1
)) goto fail
;
7040 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
7041 if (SWIG_arg_fail(1)) SWIG_fail
;
7044 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
7047 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7049 wxPoint2D
&_result_ref
= (arg1
)->operator *=((wxPoint2D
const &)*arg2
);
7050 result
= (wxPoint2D
*) &_result_ref
;
7053 wxPyEndAllowThreads(__tstate
);
7054 if (PyErr_Occurred()) SWIG_fail
;
7056 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint2D
, 1);
7063 static PyObject
*_wrap_Point2D___idiv__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7064 PyObject
*resultobj
;
7065 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
7066 wxPoint2D
*arg2
= 0 ;
7069 PyObject
* obj0
= 0 ;
7070 PyObject
* obj1
= 0 ;
7072 (char *) "self",(char *) "pt", NULL
7075 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D___idiv__",kwnames
,&obj0
,&obj1
)) goto fail
;
7076 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
7077 if (SWIG_arg_fail(1)) SWIG_fail
;
7080 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
7083 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7085 wxPoint2D
&_result_ref
= (arg1
)->operator /=((wxPoint2D
const &)*arg2
);
7086 result
= (wxPoint2D
*) &_result_ref
;
7089 wxPyEndAllowThreads(__tstate
);
7090 if (PyErr_Occurred()) SWIG_fail
;
7092 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint2D
, 1);
7099 static PyObject
*_wrap_Point2D___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7100 PyObject
*resultobj
;
7101 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
7102 wxPoint2D
*arg2
= 0 ;
7105 PyObject
* obj0
= 0 ;
7106 PyObject
* obj1
= 0 ;
7108 (char *) "self",(char *) "pt", NULL
7111 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
7112 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| 0);
7113 if (SWIG_arg_fail(1)) SWIG_fail
;
7116 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
7119 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7120 result
= (bool)((wxPoint2D
const *)arg1
)->operator ==((wxPoint2D
const &)*arg2
);
7122 wxPyEndAllowThreads(__tstate
);
7123 if (PyErr_Occurred()) SWIG_fail
;
7126 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7134 static PyObject
*_wrap_Point2D___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7135 PyObject
*resultobj
;
7136 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
7137 wxPoint2D
*arg2
= 0 ;
7140 PyObject
* obj0
= 0 ;
7141 PyObject
* obj1
= 0 ;
7143 (char *) "self",(char *) "pt", NULL
7146 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
7147 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| 0);
7148 if (SWIG_arg_fail(1)) SWIG_fail
;
7151 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
7154 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7155 result
= (bool)((wxPoint2D
const *)arg1
)->operator !=((wxPoint2D
const &)*arg2
);
7157 wxPyEndAllowThreads(__tstate
);
7158 if (PyErr_Occurred()) SWIG_fail
;
7161 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7169 static PyObject
*_wrap_Point2D_x_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7170 PyObject
*resultobj
;
7171 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
7173 PyObject
* obj0
= 0 ;
7174 PyObject
* obj1
= 0 ;
7176 (char *) "self",(char *) "m_x", NULL
7179 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_x_set",kwnames
,&obj0
,&obj1
)) goto fail
;
7180 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| 0);
7181 if (SWIG_arg_fail(1)) SWIG_fail
;
7183 arg2
= (double)(SWIG_As_double(obj1
));
7184 if (SWIG_arg_fail(2)) SWIG_fail
;
7186 if (arg1
) (arg1
)->m_x
= arg2
;
7188 Py_INCREF(Py_None
); resultobj
= Py_None
;
7195 static PyObject
*_wrap_Point2D_x_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7196 PyObject
*resultobj
;
7197 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
7199 PyObject
* obj0
= 0 ;
7201 (char *) "self", NULL
7204 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D_x_get",kwnames
,&obj0
)) goto fail
;
7205 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| 0);
7206 if (SWIG_arg_fail(1)) SWIG_fail
;
7207 result
= (double) ((arg1
)->m_x
);
7210 resultobj
= SWIG_From_double((double)(result
));
7218 static PyObject
*_wrap_Point2D_y_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7219 PyObject
*resultobj
;
7220 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
7222 PyObject
* obj0
= 0 ;
7223 PyObject
* obj1
= 0 ;
7225 (char *) "self",(char *) "m_y", NULL
7228 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_y_set",kwnames
,&obj0
,&obj1
)) goto fail
;
7229 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| 0);
7230 if (SWIG_arg_fail(1)) SWIG_fail
;
7232 arg2
= (double)(SWIG_As_double(obj1
));
7233 if (SWIG_arg_fail(2)) SWIG_fail
;
7235 if (arg1
) (arg1
)->m_y
= arg2
;
7237 Py_INCREF(Py_None
); resultobj
= Py_None
;
7244 static PyObject
*_wrap_Point2D_y_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7245 PyObject
*resultobj
;
7246 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
7248 PyObject
* obj0
= 0 ;
7250 (char *) "self", NULL
7253 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D_y_get",kwnames
,&obj0
)) goto fail
;
7254 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| 0);
7255 if (SWIG_arg_fail(1)) SWIG_fail
;
7256 result
= (double) ((arg1
)->m_y
);
7259 resultobj
= SWIG_From_double((double)(result
));
7267 static PyObject
*_wrap_Point2D_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7268 PyObject
*resultobj
;
7269 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
7270 double arg2
= (double) 0 ;
7271 double arg3
= (double) 0 ;
7272 PyObject
* obj0
= 0 ;
7273 PyObject
* obj1
= 0 ;
7274 PyObject
* obj2
= 0 ;
7276 (char *) "self",(char *) "x",(char *) "y", NULL
7279 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Point2D_Set",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7280 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| 0);
7281 if (SWIG_arg_fail(1)) SWIG_fail
;
7284 arg2
= (double)(SWIG_As_double(obj1
));
7285 if (SWIG_arg_fail(2)) SWIG_fail
;
7290 arg3
= (double)(SWIG_As_double(obj2
));
7291 if (SWIG_arg_fail(3)) SWIG_fail
;
7295 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7296 wxPoint2D_Set(arg1
,arg2
,arg3
);
7298 wxPyEndAllowThreads(__tstate
);
7299 if (PyErr_Occurred()) SWIG_fail
;
7301 Py_INCREF(Py_None
); resultobj
= Py_None
;
7308 static PyObject
*_wrap_Point2D_Get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7309 PyObject
*resultobj
;
7310 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
7312 PyObject
* obj0
= 0 ;
7314 (char *) "self", NULL
7317 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D_Get",kwnames
,&obj0
)) goto fail
;
7318 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| 0);
7319 if (SWIG_arg_fail(1)) SWIG_fail
;
7321 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7322 result
= (PyObject
*)wxPoint2D_Get(arg1
);
7324 wxPyEndAllowThreads(__tstate
);
7325 if (PyErr_Occurred()) SWIG_fail
;
7334 static PyObject
* Point2D_swigregister(PyObject
*, PyObject
*args
) {
7336 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7337 SWIG_TypeClientData(SWIGTYPE_p_wxPoint2D
, obj
);
7339 return Py_BuildValue((char *)"");
7341 static int _wrap_DefaultPosition_set(PyObject
*) {
7342 PyErr_SetString(PyExc_TypeError
,"Variable DefaultPosition is read-only.");
7347 static PyObject
*_wrap_DefaultPosition_get(void) {
7350 pyobj
= SWIG_NewPointerObj((void *)(&wxDefaultPosition
), SWIGTYPE_p_wxPoint
, 0);
7355 static int _wrap_DefaultSize_set(PyObject
*) {
7356 PyErr_SetString(PyExc_TypeError
,"Variable DefaultSize is read-only.");
7361 static PyObject
*_wrap_DefaultSize_get(void) {
7364 pyobj
= SWIG_NewPointerObj((void *)(&wxDefaultSize
), SWIGTYPE_p_wxSize
, 0);
7369 static PyObject
*_wrap_new_InputStream(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7370 PyObject
*resultobj
;
7371 PyObject
*arg1
= (PyObject
*) 0 ;
7372 wxPyInputStream
*result
;
7373 PyObject
* obj0
= 0 ;
7378 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_InputStream",kwnames
,&obj0
)) goto fail
;
7381 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7382 result
= (wxPyInputStream
*)new_wxPyInputStream(arg1
);
7384 wxPyEndAllowThreads(__tstate
);
7385 if (PyErr_Occurred()) SWIG_fail
;
7387 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyInputStream
, 1);
7394 static PyObject
*_wrap_delete_InputStream(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7395 PyObject
*resultobj
;
7396 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
7397 PyObject
* obj0
= 0 ;
7399 (char *) "self", NULL
7402 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_InputStream",kwnames
,&obj0
)) goto fail
;
7403 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyInputStream
, SWIG_POINTER_EXCEPTION
| 0);
7404 if (SWIG_arg_fail(1)) SWIG_fail
;
7406 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7409 wxPyEndAllowThreads(__tstate
);
7410 if (PyErr_Occurred()) SWIG_fail
;
7412 Py_INCREF(Py_None
); resultobj
= Py_None
;
7419 static PyObject
*_wrap_InputStream_close(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7420 PyObject
*resultobj
;
7421 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
7422 PyObject
* obj0
= 0 ;
7424 (char *) "self", NULL
7427 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_close",kwnames
,&obj0
)) goto fail
;
7428 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyInputStream
, SWIG_POINTER_EXCEPTION
| 0);
7429 if (SWIG_arg_fail(1)) SWIG_fail
;
7431 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7434 wxPyEndAllowThreads(__tstate
);
7435 if (PyErr_Occurred()) SWIG_fail
;
7437 Py_INCREF(Py_None
); resultobj
= Py_None
;
7444 static PyObject
*_wrap_InputStream_flush(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7445 PyObject
*resultobj
;
7446 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
7447 PyObject
* obj0
= 0 ;
7449 (char *) "self", NULL
7452 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_flush",kwnames
,&obj0
)) goto fail
;
7453 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyInputStream
, SWIG_POINTER_EXCEPTION
| 0);
7454 if (SWIG_arg_fail(1)) SWIG_fail
;
7456 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7459 wxPyEndAllowThreads(__tstate
);
7460 if (PyErr_Occurred()) SWIG_fail
;
7462 Py_INCREF(Py_None
); resultobj
= Py_None
;
7469 static PyObject
*_wrap_InputStream_eof(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7470 PyObject
*resultobj
;
7471 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
7473 PyObject
* obj0
= 0 ;
7475 (char *) "self", NULL
7478 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_eof",kwnames
,&obj0
)) goto fail
;
7479 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyInputStream
, SWIG_POINTER_EXCEPTION
| 0);
7480 if (SWIG_arg_fail(1)) SWIG_fail
;
7482 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7483 result
= (bool)(arg1
)->eof();
7485 wxPyEndAllowThreads(__tstate
);
7486 if (PyErr_Occurred()) SWIG_fail
;
7489 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7497 static PyObject
*_wrap_InputStream_read(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7498 PyObject
*resultobj
;
7499 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
7500 int arg2
= (int) -1 ;
7502 PyObject
* obj0
= 0 ;
7503 PyObject
* obj1
= 0 ;
7505 (char *) "self",(char *) "size", NULL
7508 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:InputStream_read",kwnames
,&obj0
,&obj1
)) goto fail
;
7509 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyInputStream
, SWIG_POINTER_EXCEPTION
| 0);
7510 if (SWIG_arg_fail(1)) SWIG_fail
;
7513 arg2
= (int)(SWIG_As_int(obj1
));
7514 if (SWIG_arg_fail(2)) SWIG_fail
;
7518 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7519 result
= (PyObject
*)(arg1
)->read(arg2
);
7521 wxPyEndAllowThreads(__tstate
);
7522 if (PyErr_Occurred()) SWIG_fail
;
7531 static PyObject
*_wrap_InputStream_readline(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7532 PyObject
*resultobj
;
7533 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
7534 int arg2
= (int) -1 ;
7536 PyObject
* obj0
= 0 ;
7537 PyObject
* obj1
= 0 ;
7539 (char *) "self",(char *) "size", NULL
7542 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:InputStream_readline",kwnames
,&obj0
,&obj1
)) goto fail
;
7543 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyInputStream
, SWIG_POINTER_EXCEPTION
| 0);
7544 if (SWIG_arg_fail(1)) SWIG_fail
;
7547 arg2
= (int)(SWIG_As_int(obj1
));
7548 if (SWIG_arg_fail(2)) SWIG_fail
;
7552 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7553 result
= (PyObject
*)(arg1
)->readline(arg2
);
7555 wxPyEndAllowThreads(__tstate
);
7556 if (PyErr_Occurred()) SWIG_fail
;
7565 static PyObject
*_wrap_InputStream_readlines(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7566 PyObject
*resultobj
;
7567 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
7568 int arg2
= (int) -1 ;
7570 PyObject
* obj0
= 0 ;
7571 PyObject
* obj1
= 0 ;
7573 (char *) "self",(char *) "sizehint", NULL
7576 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:InputStream_readlines",kwnames
,&obj0
,&obj1
)) goto fail
;
7577 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyInputStream
, SWIG_POINTER_EXCEPTION
| 0);
7578 if (SWIG_arg_fail(1)) SWIG_fail
;
7581 arg2
= (int)(SWIG_As_int(obj1
));
7582 if (SWIG_arg_fail(2)) SWIG_fail
;
7586 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7587 result
= (PyObject
*)(arg1
)->readlines(arg2
);
7589 wxPyEndAllowThreads(__tstate
);
7590 if (PyErr_Occurred()) SWIG_fail
;
7599 static PyObject
*_wrap_InputStream_seek(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7600 PyObject
*resultobj
;
7601 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
7603 int arg3
= (int) 0 ;
7604 PyObject
* obj0
= 0 ;
7605 PyObject
* obj1
= 0 ;
7606 PyObject
* obj2
= 0 ;
7608 (char *) "self",(char *) "offset",(char *) "whence", NULL
7611 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:InputStream_seek",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7612 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyInputStream
, SWIG_POINTER_EXCEPTION
| 0);
7613 if (SWIG_arg_fail(1)) SWIG_fail
;
7615 arg2
= (int)(SWIG_As_int(obj1
));
7616 if (SWIG_arg_fail(2)) SWIG_fail
;
7620 arg3
= (int)(SWIG_As_int(obj2
));
7621 if (SWIG_arg_fail(3)) SWIG_fail
;
7625 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7626 (arg1
)->seek(arg2
,arg3
);
7628 wxPyEndAllowThreads(__tstate
);
7629 if (PyErr_Occurred()) SWIG_fail
;
7631 Py_INCREF(Py_None
); resultobj
= Py_None
;
7638 static PyObject
*_wrap_InputStream_tell(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7639 PyObject
*resultobj
;
7640 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
7642 PyObject
* obj0
= 0 ;
7644 (char *) "self", NULL
7647 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_tell",kwnames
,&obj0
)) goto fail
;
7648 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyInputStream
, SWIG_POINTER_EXCEPTION
| 0);
7649 if (SWIG_arg_fail(1)) SWIG_fail
;
7651 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7652 result
= (int)(arg1
)->tell();
7654 wxPyEndAllowThreads(__tstate
);
7655 if (PyErr_Occurred()) SWIG_fail
;
7658 resultobj
= SWIG_From_int((int)(result
));
7666 static PyObject
*_wrap_InputStream_Peek(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7667 PyObject
*resultobj
;
7668 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
7670 PyObject
* obj0
= 0 ;
7672 (char *) "self", NULL
7675 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_Peek",kwnames
,&obj0
)) goto fail
;
7676 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyInputStream
, SWIG_POINTER_EXCEPTION
| 0);
7677 if (SWIG_arg_fail(1)) SWIG_fail
;
7679 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7680 result
= (char)(arg1
)->Peek();
7682 wxPyEndAllowThreads(__tstate
);
7683 if (PyErr_Occurred()) SWIG_fail
;
7686 resultobj
= SWIG_From_char((char)(result
));
7694 static PyObject
*_wrap_InputStream_GetC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7695 PyObject
*resultobj
;
7696 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
7698 PyObject
* obj0
= 0 ;
7700 (char *) "self", NULL
7703 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_GetC",kwnames
,&obj0
)) goto fail
;
7704 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyInputStream
, SWIG_POINTER_EXCEPTION
| 0);
7705 if (SWIG_arg_fail(1)) SWIG_fail
;
7707 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7708 result
= (char)(arg1
)->GetC();
7710 wxPyEndAllowThreads(__tstate
);
7711 if (PyErr_Occurred()) SWIG_fail
;
7714 resultobj
= SWIG_From_char((char)(result
));
7722 static PyObject
*_wrap_InputStream_LastRead(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7723 PyObject
*resultobj
;
7724 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
7726 PyObject
* obj0
= 0 ;
7728 (char *) "self", NULL
7731 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_LastRead",kwnames
,&obj0
)) goto fail
;
7732 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyInputStream
, SWIG_POINTER_EXCEPTION
| 0);
7733 if (SWIG_arg_fail(1)) SWIG_fail
;
7735 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7736 result
= (size_t)(arg1
)->LastRead();
7738 wxPyEndAllowThreads(__tstate
);
7739 if (PyErr_Occurred()) SWIG_fail
;
7742 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
7750 static PyObject
*_wrap_InputStream_CanRead(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7751 PyObject
*resultobj
;
7752 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
7754 PyObject
* obj0
= 0 ;
7756 (char *) "self", NULL
7759 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_CanRead",kwnames
,&obj0
)) goto fail
;
7760 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyInputStream
, SWIG_POINTER_EXCEPTION
| 0);
7761 if (SWIG_arg_fail(1)) SWIG_fail
;
7763 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7764 result
= (bool)(arg1
)->CanRead();
7766 wxPyEndAllowThreads(__tstate
);
7767 if (PyErr_Occurred()) SWIG_fail
;
7770 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7778 static PyObject
*_wrap_InputStream_Eof(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7779 PyObject
*resultobj
;
7780 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
7782 PyObject
* obj0
= 0 ;
7784 (char *) "self", NULL
7787 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_Eof",kwnames
,&obj0
)) goto fail
;
7788 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyInputStream
, SWIG_POINTER_EXCEPTION
| 0);
7789 if (SWIG_arg_fail(1)) SWIG_fail
;
7791 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7792 result
= (bool)(arg1
)->Eof();
7794 wxPyEndAllowThreads(__tstate
);
7795 if (PyErr_Occurred()) SWIG_fail
;
7798 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7806 static PyObject
*_wrap_InputStream_Ungetch(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7807 PyObject
*resultobj
;
7808 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
7811 PyObject
* obj0
= 0 ;
7812 PyObject
* obj1
= 0 ;
7814 (char *) "self",(char *) "c", NULL
7817 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:InputStream_Ungetch",kwnames
,&obj0
,&obj1
)) goto fail
;
7818 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyInputStream
, SWIG_POINTER_EXCEPTION
| 0);
7819 if (SWIG_arg_fail(1)) SWIG_fail
;
7821 arg2
= (char)(SWIG_As_char(obj1
));
7822 if (SWIG_arg_fail(2)) SWIG_fail
;
7825 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7826 result
= (bool)(arg1
)->Ungetch(arg2
);
7828 wxPyEndAllowThreads(__tstate
);
7829 if (PyErr_Occurred()) SWIG_fail
;
7832 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7840 static PyObject
*_wrap_InputStream_SeekI(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7841 PyObject
*resultobj
;
7842 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
7844 wxSeekMode arg3
= (wxSeekMode
) wxFromStart
;
7846 PyObject
* obj0
= 0 ;
7847 PyObject
* obj1
= 0 ;
7848 PyObject
* obj2
= 0 ;
7850 (char *) "self",(char *) "pos",(char *) "mode", NULL
7853 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:InputStream_SeekI",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7854 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyInputStream
, SWIG_POINTER_EXCEPTION
| 0);
7855 if (SWIG_arg_fail(1)) SWIG_fail
;
7857 arg2
= (long)(SWIG_As_long(obj1
));
7858 if (SWIG_arg_fail(2)) SWIG_fail
;
7862 arg3
= (wxSeekMode
)(SWIG_As_int(obj2
));
7863 if (SWIG_arg_fail(3)) SWIG_fail
;
7867 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7868 result
= (long)(arg1
)->SeekI(arg2
,(wxSeekMode
)arg3
);
7870 wxPyEndAllowThreads(__tstate
);
7871 if (PyErr_Occurred()) SWIG_fail
;
7874 resultobj
= SWIG_From_long((long)(result
));
7882 static PyObject
*_wrap_InputStream_TellI(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7883 PyObject
*resultobj
;
7884 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
7886 PyObject
* obj0
= 0 ;
7888 (char *) "self", NULL
7891 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_TellI",kwnames
,&obj0
)) goto fail
;
7892 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyInputStream
, SWIG_POINTER_EXCEPTION
| 0);
7893 if (SWIG_arg_fail(1)) SWIG_fail
;
7895 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7896 result
= (long)(arg1
)->TellI();
7898 wxPyEndAllowThreads(__tstate
);
7899 if (PyErr_Occurred()) SWIG_fail
;
7902 resultobj
= SWIG_From_long((long)(result
));
7910 static PyObject
* InputStream_swigregister(PyObject
*, PyObject
*args
) {
7912 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7913 SWIG_TypeClientData(SWIGTYPE_p_wxPyInputStream
, obj
);
7915 return Py_BuildValue((char *)"");
7917 static PyObject
*_wrap_OutputStream_write(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7918 PyObject
*resultobj
;
7919 wxOutputStream
*arg1
= (wxOutputStream
*) 0 ;
7920 PyObject
*arg2
= (PyObject
*) 0 ;
7921 PyObject
* obj0
= 0 ;
7922 PyObject
* obj1
= 0 ;
7924 (char *) "self",(char *) "obj", NULL
7927 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:OutputStream_write",kwnames
,&obj0
,&obj1
)) goto fail
;
7928 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxOutputStream
, SWIG_POINTER_EXCEPTION
| 0);
7929 if (SWIG_arg_fail(1)) SWIG_fail
;
7932 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7933 wxOutputStream_write(arg1
,arg2
);
7935 wxPyEndAllowThreads(__tstate
);
7936 if (PyErr_Occurred()) SWIG_fail
;
7938 Py_INCREF(Py_None
); resultobj
= Py_None
;
7945 static PyObject
* OutputStream_swigregister(PyObject
*, PyObject
*args
) {
7947 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7948 SWIG_TypeClientData(SWIGTYPE_p_wxOutputStream
, obj
);
7950 return Py_BuildValue((char *)"");
7952 static PyObject
*_wrap_new_FSFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7953 PyObject
*resultobj
;
7954 wxInputStream
*arg1
= (wxInputStream
*) 0 ;
7955 wxString
*arg2
= 0 ;
7956 wxString
*arg3
= 0 ;
7957 wxString
*arg4
= 0 ;
7960 wxPyInputStream
*temp1
;
7961 bool temp2
= false ;
7962 bool temp3
= false ;
7963 bool temp4
= false ;
7964 PyObject
* obj0
= 0 ;
7965 PyObject
* obj1
= 0 ;
7966 PyObject
* obj2
= 0 ;
7967 PyObject
* obj3
= 0 ;
7968 PyObject
* obj4
= 0 ;
7970 (char *) "stream",(char *) "loc",(char *) "mimetype",(char *) "anchor",(char *) "modif", NULL
7973 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:new_FSFile",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
7975 if (wxPyConvertSwigPtr(obj0
, (void **)&temp1
, wxT("wxPyInputStream"))) {
7976 arg1
= wxPyCBInputStream_copy((wxPyCBInputStream
*)temp1
->m_wxis
);
7978 PyErr_Clear(); // clear the failure of the wxPyConvert above
7979 arg1
= wxPyCBInputStream_create(obj0
, true);
7981 PyErr_SetString(PyExc_TypeError
, "Expected wx.InputStream or Python file-like object.");
7987 arg2
= wxString_in_helper(obj1
);
7988 if (arg2
== NULL
) SWIG_fail
;
7992 arg3
= wxString_in_helper(obj2
);
7993 if (arg3
== NULL
) SWIG_fail
;
7997 arg4
= wxString_in_helper(obj3
);
7998 if (arg4
== NULL
) SWIG_fail
;
8003 SWIG_Python_ConvertPtr(obj4
, (void **)&argp
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
);
8004 if (SWIG_arg_fail(5)) SWIG_fail
;
8006 SWIG_null_ref("wxDateTime");
8008 if (SWIG_arg_fail(5)) SWIG_fail
;
8012 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8013 result
= (wxFSFile
*)new wxFSFile(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
);
8015 wxPyEndAllowThreads(__tstate
);
8016 if (PyErr_Occurred()) SWIG_fail
;
8019 resultobj
= wxPyMake_wxObject(result
, 1);
8051 static PyObject
*_wrap_delete_FSFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8052 PyObject
*resultobj
;
8053 wxFSFile
*arg1
= (wxFSFile
*) 0 ;
8054 PyObject
* obj0
= 0 ;
8056 (char *) "self", NULL
8059 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FSFile",kwnames
,&obj0
)) goto fail
;
8060 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFSFile
, SWIG_POINTER_EXCEPTION
| 0);
8061 if (SWIG_arg_fail(1)) SWIG_fail
;
8063 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8066 wxPyEndAllowThreads(__tstate
);
8067 if (PyErr_Occurred()) SWIG_fail
;
8069 Py_INCREF(Py_None
); resultobj
= Py_None
;
8076 static PyObject
*_wrap_FSFile_GetStream(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8077 PyObject
*resultobj
;
8078 wxFSFile
*arg1
= (wxFSFile
*) 0 ;
8079 wxInputStream
*result
;
8080 PyObject
* obj0
= 0 ;
8082 (char *) "self", NULL
8085 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FSFile_GetStream",kwnames
,&obj0
)) goto fail
;
8086 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFSFile
, SWIG_POINTER_EXCEPTION
| 0);
8087 if (SWIG_arg_fail(1)) SWIG_fail
;
8089 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8090 result
= (wxInputStream
*)(arg1
)->GetStream();
8092 wxPyEndAllowThreads(__tstate
);
8093 if (PyErr_Occurred()) SWIG_fail
;
8096 wxPyInputStream
* _ptr
= NULL
;
8099 _ptr
= new wxPyInputStream(result
);
8101 resultobj
= wxPyConstructObject(_ptr
, wxT("wxPyInputStream"), 0);
8109 static PyObject
*_wrap_FSFile_GetMimeType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8110 PyObject
*resultobj
;
8111 wxFSFile
*arg1
= (wxFSFile
*) 0 ;
8113 PyObject
* obj0
= 0 ;
8115 (char *) "self", NULL
8118 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FSFile_GetMimeType",kwnames
,&obj0
)) goto fail
;
8119 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFSFile
, SWIG_POINTER_EXCEPTION
| 0);
8120 if (SWIG_arg_fail(1)) SWIG_fail
;
8122 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8124 wxString
const &_result_ref
= (arg1
)->GetMimeType();
8125 result
= (wxString
*) &_result_ref
;
8128 wxPyEndAllowThreads(__tstate
);
8129 if (PyErr_Occurred()) SWIG_fail
;
8133 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
8135 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
8144 static PyObject
*_wrap_FSFile_GetLocation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8145 PyObject
*resultobj
;
8146 wxFSFile
*arg1
= (wxFSFile
*) 0 ;
8148 PyObject
* obj0
= 0 ;
8150 (char *) "self", NULL
8153 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FSFile_GetLocation",kwnames
,&obj0
)) goto fail
;
8154 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFSFile
, SWIG_POINTER_EXCEPTION
| 0);
8155 if (SWIG_arg_fail(1)) SWIG_fail
;
8157 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8159 wxString
const &_result_ref
= (arg1
)->GetLocation();
8160 result
= (wxString
*) &_result_ref
;
8163 wxPyEndAllowThreads(__tstate
);
8164 if (PyErr_Occurred()) SWIG_fail
;
8168 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
8170 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
8179 static PyObject
*_wrap_FSFile_GetAnchor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8180 PyObject
*resultobj
;
8181 wxFSFile
*arg1
= (wxFSFile
*) 0 ;
8183 PyObject
* obj0
= 0 ;
8185 (char *) "self", NULL
8188 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FSFile_GetAnchor",kwnames
,&obj0
)) goto fail
;
8189 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFSFile
, SWIG_POINTER_EXCEPTION
| 0);
8190 if (SWIG_arg_fail(1)) SWIG_fail
;
8192 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8194 wxString
const &_result_ref
= (arg1
)->GetAnchor();
8195 result
= (wxString
*) &_result_ref
;
8198 wxPyEndAllowThreads(__tstate
);
8199 if (PyErr_Occurred()) SWIG_fail
;
8203 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
8205 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
8214 static PyObject
*_wrap_FSFile_GetModificationTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8215 PyObject
*resultobj
;
8216 wxFSFile
*arg1
= (wxFSFile
*) 0 ;
8218 PyObject
* obj0
= 0 ;
8220 (char *) "self", NULL
8223 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FSFile_GetModificationTime",kwnames
,&obj0
)) goto fail
;
8224 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFSFile
, SWIG_POINTER_EXCEPTION
| 0);
8225 if (SWIG_arg_fail(1)) SWIG_fail
;
8227 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8228 result
= (arg1
)->GetModificationTime();
8230 wxPyEndAllowThreads(__tstate
);
8231 if (PyErr_Occurred()) SWIG_fail
;
8234 wxDateTime
* resultptr
;
8235 resultptr
= new wxDateTime((wxDateTime
&)(result
));
8236 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
8244 static PyObject
* FSFile_swigregister(PyObject
*, PyObject
*args
) {
8246 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8247 SWIG_TypeClientData(SWIGTYPE_p_wxFSFile
, obj
);
8249 return Py_BuildValue((char *)"");
8251 static PyObject
* CPPFileSystemHandler_swigregister(PyObject
*, PyObject
*args
) {
8253 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8254 SWIG_TypeClientData(SWIGTYPE_p_wxFileSystemHandler
, obj
);
8256 return Py_BuildValue((char *)"");
8258 static PyObject
*_wrap_new_FileSystemHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8259 PyObject
*resultobj
;
8260 wxPyFileSystemHandler
*result
;
8265 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_FileSystemHandler",kwnames
)) goto fail
;
8267 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8268 result
= (wxPyFileSystemHandler
*)new wxPyFileSystemHandler();
8270 wxPyEndAllowThreads(__tstate
);
8271 if (PyErr_Occurred()) SWIG_fail
;
8273 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyFileSystemHandler
, 1);
8280 static PyObject
*_wrap_FileSystemHandler__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8281 PyObject
*resultobj
;
8282 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
8283 PyObject
*arg2
= (PyObject
*) 0 ;
8284 PyObject
*arg3
= (PyObject
*) 0 ;
8285 PyObject
* obj0
= 0 ;
8286 PyObject
* obj1
= 0 ;
8287 PyObject
* obj2
= 0 ;
8289 (char *) "self",(char *) "self",(char *) "_class", NULL
8292 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:FileSystemHandler__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8293 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyFileSystemHandler
, SWIG_POINTER_EXCEPTION
| 0);
8294 if (SWIG_arg_fail(1)) SWIG_fail
;
8298 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8299 (arg1
)->_setCallbackInfo(arg2
,arg3
);
8301 wxPyEndAllowThreads(__tstate
);
8302 if (PyErr_Occurred()) SWIG_fail
;
8304 Py_INCREF(Py_None
); resultobj
= Py_None
;
8311 static PyObject
*_wrap_FileSystemHandler_CanOpen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8312 PyObject
*resultobj
;
8313 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
8314 wxString
*arg2
= 0 ;
8316 bool temp2
= false ;
8317 PyObject
* obj0
= 0 ;
8318 PyObject
* obj1
= 0 ;
8320 (char *) "self",(char *) "location", NULL
8323 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystemHandler_CanOpen",kwnames
,&obj0
,&obj1
)) goto fail
;
8324 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyFileSystemHandler
, SWIG_POINTER_EXCEPTION
| 0);
8325 if (SWIG_arg_fail(1)) SWIG_fail
;
8327 arg2
= wxString_in_helper(obj1
);
8328 if (arg2
== NULL
) SWIG_fail
;
8332 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8333 result
= (bool)(arg1
)->CanOpen((wxString
const &)*arg2
);
8335 wxPyEndAllowThreads(__tstate
);
8336 if (PyErr_Occurred()) SWIG_fail
;
8339 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8355 static PyObject
*_wrap_FileSystemHandler_OpenFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8356 PyObject
*resultobj
;
8357 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
8358 wxFileSystem
*arg2
= 0 ;
8359 wxString
*arg3
= 0 ;
8361 bool temp3
= false ;
8362 PyObject
* obj0
= 0 ;
8363 PyObject
* obj1
= 0 ;
8364 PyObject
* obj2
= 0 ;
8366 (char *) "self",(char *) "fs",(char *) "location", NULL
8369 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:FileSystemHandler_OpenFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8370 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyFileSystemHandler
, SWIG_POINTER_EXCEPTION
| 0);
8371 if (SWIG_arg_fail(1)) SWIG_fail
;
8373 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFileSystem
, SWIG_POINTER_EXCEPTION
| 0);
8374 if (SWIG_arg_fail(2)) SWIG_fail
;
8376 SWIG_null_ref("wxFileSystem");
8378 if (SWIG_arg_fail(2)) SWIG_fail
;
8381 arg3
= wxString_in_helper(obj2
);
8382 if (arg3
== NULL
) SWIG_fail
;
8386 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8387 result
= (wxFSFile
*)(arg1
)->OpenFile(*arg2
,(wxString
const &)*arg3
);
8389 wxPyEndAllowThreads(__tstate
);
8390 if (PyErr_Occurred()) SWIG_fail
;
8393 resultobj
= wxPyMake_wxObject(result
, 1);
8409 static PyObject
*_wrap_FileSystemHandler_FindFirst(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8410 PyObject
*resultobj
;
8411 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
8412 wxString
*arg2
= 0 ;
8413 int arg3
= (int) 0 ;
8415 bool temp2
= false ;
8416 PyObject
* obj0
= 0 ;
8417 PyObject
* obj1
= 0 ;
8418 PyObject
* obj2
= 0 ;
8420 (char *) "self",(char *) "spec",(char *) "flags", NULL
8423 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileSystemHandler_FindFirst",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8424 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyFileSystemHandler
, SWIG_POINTER_EXCEPTION
| 0);
8425 if (SWIG_arg_fail(1)) SWIG_fail
;
8427 arg2
= wxString_in_helper(obj1
);
8428 if (arg2
== NULL
) SWIG_fail
;
8433 arg3
= (int)(SWIG_As_int(obj2
));
8434 if (SWIG_arg_fail(3)) SWIG_fail
;
8438 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8439 result
= (arg1
)->FindFirst((wxString
const &)*arg2
,arg3
);
8441 wxPyEndAllowThreads(__tstate
);
8442 if (PyErr_Occurred()) SWIG_fail
;
8446 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8448 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8465 static PyObject
*_wrap_FileSystemHandler_FindNext(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8466 PyObject
*resultobj
;
8467 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
8469 PyObject
* obj0
= 0 ;
8471 (char *) "self", NULL
8474 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileSystemHandler_FindNext",kwnames
,&obj0
)) goto fail
;
8475 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyFileSystemHandler
, SWIG_POINTER_EXCEPTION
| 0);
8476 if (SWIG_arg_fail(1)) SWIG_fail
;
8478 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8479 result
= (arg1
)->FindNext();
8481 wxPyEndAllowThreads(__tstate
);
8482 if (PyErr_Occurred()) SWIG_fail
;
8486 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8488 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8497 static PyObject
*_wrap_FileSystemHandler_GetProtocol(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8498 PyObject
*resultobj
;
8499 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
8500 wxString
*arg2
= 0 ;
8502 bool temp2
= false ;
8503 PyObject
* obj0
= 0 ;
8504 PyObject
* obj1
= 0 ;
8506 (char *) "self",(char *) "location", NULL
8509 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystemHandler_GetProtocol",kwnames
,&obj0
,&obj1
)) goto fail
;
8510 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyFileSystemHandler
, SWIG_POINTER_EXCEPTION
| 0);
8511 if (SWIG_arg_fail(1)) SWIG_fail
;
8513 arg2
= wxString_in_helper(obj1
);
8514 if (arg2
== NULL
) SWIG_fail
;
8518 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8519 result
= (arg1
)->GetProtocol((wxString
const &)*arg2
);
8521 wxPyEndAllowThreads(__tstate
);
8522 if (PyErr_Occurred()) SWIG_fail
;
8526 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8528 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8545 static PyObject
*_wrap_FileSystemHandler_GetLeftLocation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8546 PyObject
*resultobj
;
8547 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
8548 wxString
*arg2
= 0 ;
8550 bool temp2
= false ;
8551 PyObject
* obj0
= 0 ;
8552 PyObject
* obj1
= 0 ;
8554 (char *) "self",(char *) "location", NULL
8557 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystemHandler_GetLeftLocation",kwnames
,&obj0
,&obj1
)) goto fail
;
8558 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyFileSystemHandler
, SWIG_POINTER_EXCEPTION
| 0);
8559 if (SWIG_arg_fail(1)) SWIG_fail
;
8561 arg2
= wxString_in_helper(obj1
);
8562 if (arg2
== NULL
) SWIG_fail
;
8566 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8567 result
= (arg1
)->GetLeftLocation((wxString
const &)*arg2
);
8569 wxPyEndAllowThreads(__tstate
);
8570 if (PyErr_Occurred()) SWIG_fail
;
8574 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8576 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8593 static PyObject
*_wrap_FileSystemHandler_GetAnchor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8594 PyObject
*resultobj
;
8595 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
8596 wxString
*arg2
= 0 ;
8598 bool temp2
= false ;
8599 PyObject
* obj0
= 0 ;
8600 PyObject
* obj1
= 0 ;
8602 (char *) "self",(char *) "location", NULL
8605 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystemHandler_GetAnchor",kwnames
,&obj0
,&obj1
)) goto fail
;
8606 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyFileSystemHandler
, SWIG_POINTER_EXCEPTION
| 0);
8607 if (SWIG_arg_fail(1)) SWIG_fail
;
8609 arg2
= wxString_in_helper(obj1
);
8610 if (arg2
== NULL
) SWIG_fail
;
8614 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8615 result
= (arg1
)->GetAnchor((wxString
const &)*arg2
);
8617 wxPyEndAllowThreads(__tstate
);
8618 if (PyErr_Occurred()) SWIG_fail
;
8622 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8624 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8641 static PyObject
*_wrap_FileSystemHandler_GetRightLocation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8642 PyObject
*resultobj
;
8643 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
8644 wxString
*arg2
= 0 ;
8646 bool temp2
= false ;
8647 PyObject
* obj0
= 0 ;
8648 PyObject
* obj1
= 0 ;
8650 (char *) "self",(char *) "location", NULL
8653 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystemHandler_GetRightLocation",kwnames
,&obj0
,&obj1
)) goto fail
;
8654 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyFileSystemHandler
, SWIG_POINTER_EXCEPTION
| 0);
8655 if (SWIG_arg_fail(1)) SWIG_fail
;
8657 arg2
= wxString_in_helper(obj1
);
8658 if (arg2
== NULL
) SWIG_fail
;
8662 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8663 result
= (arg1
)->GetRightLocation((wxString
const &)*arg2
);
8665 wxPyEndAllowThreads(__tstate
);
8666 if (PyErr_Occurred()) SWIG_fail
;
8670 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8672 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8689 static PyObject
*_wrap_FileSystemHandler_GetMimeTypeFromExt(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8690 PyObject
*resultobj
;
8691 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
8692 wxString
*arg2
= 0 ;
8694 bool temp2
= false ;
8695 PyObject
* obj0
= 0 ;
8696 PyObject
* obj1
= 0 ;
8698 (char *) "self",(char *) "location", NULL
8701 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystemHandler_GetMimeTypeFromExt",kwnames
,&obj0
,&obj1
)) goto fail
;
8702 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyFileSystemHandler
, SWIG_POINTER_EXCEPTION
| 0);
8703 if (SWIG_arg_fail(1)) SWIG_fail
;
8705 arg2
= wxString_in_helper(obj1
);
8706 if (arg2
== NULL
) SWIG_fail
;
8710 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8711 result
= (arg1
)->GetMimeTypeFromExt((wxString
const &)*arg2
);
8713 wxPyEndAllowThreads(__tstate
);
8714 if (PyErr_Occurred()) SWIG_fail
;
8718 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8720 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8737 static PyObject
* FileSystemHandler_swigregister(PyObject
*, PyObject
*args
) {
8739 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8740 SWIG_TypeClientData(SWIGTYPE_p_wxPyFileSystemHandler
, obj
);
8742 return Py_BuildValue((char *)"");
8744 static PyObject
*_wrap_new_FileSystem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8745 PyObject
*resultobj
;
8746 wxFileSystem
*result
;
8751 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_FileSystem",kwnames
)) goto fail
;
8753 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8754 result
= (wxFileSystem
*)new wxFileSystem();
8756 wxPyEndAllowThreads(__tstate
);
8757 if (PyErr_Occurred()) SWIG_fail
;
8760 resultobj
= wxPyMake_wxObject(result
, 1);
8768 static PyObject
*_wrap_delete_FileSystem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8769 PyObject
*resultobj
;
8770 wxFileSystem
*arg1
= (wxFileSystem
*) 0 ;
8771 PyObject
* obj0
= 0 ;
8773 (char *) "self", NULL
8776 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FileSystem",kwnames
,&obj0
)) goto fail
;
8777 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileSystem
, SWIG_POINTER_EXCEPTION
| 0);
8778 if (SWIG_arg_fail(1)) SWIG_fail
;
8780 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8783 wxPyEndAllowThreads(__tstate
);
8784 if (PyErr_Occurred()) SWIG_fail
;
8786 Py_INCREF(Py_None
); resultobj
= Py_None
;
8793 static PyObject
*_wrap_FileSystem_ChangePathTo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8794 PyObject
*resultobj
;
8795 wxFileSystem
*arg1
= (wxFileSystem
*) 0 ;
8796 wxString
*arg2
= 0 ;
8797 bool arg3
= (bool) false ;
8798 bool temp2
= false ;
8799 PyObject
* obj0
= 0 ;
8800 PyObject
* obj1
= 0 ;
8801 PyObject
* obj2
= 0 ;
8803 (char *) "self",(char *) "location",(char *) "is_dir", NULL
8806 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileSystem_ChangePathTo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8807 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileSystem
, SWIG_POINTER_EXCEPTION
| 0);
8808 if (SWIG_arg_fail(1)) SWIG_fail
;
8810 arg2
= wxString_in_helper(obj1
);
8811 if (arg2
== NULL
) SWIG_fail
;
8816 arg3
= (bool)(SWIG_As_bool(obj2
));
8817 if (SWIG_arg_fail(3)) SWIG_fail
;
8821 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8822 (arg1
)->ChangePathTo((wxString
const &)*arg2
,arg3
);
8824 wxPyEndAllowThreads(__tstate
);
8825 if (PyErr_Occurred()) SWIG_fail
;
8827 Py_INCREF(Py_None
); resultobj
= Py_None
;
8842 static PyObject
*_wrap_FileSystem_GetPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8843 PyObject
*resultobj
;
8844 wxFileSystem
*arg1
= (wxFileSystem
*) 0 ;
8846 PyObject
* obj0
= 0 ;
8848 (char *) "self", NULL
8851 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileSystem_GetPath",kwnames
,&obj0
)) goto fail
;
8852 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileSystem
, SWIG_POINTER_EXCEPTION
| 0);
8853 if (SWIG_arg_fail(1)) SWIG_fail
;
8855 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8856 result
= (arg1
)->GetPath();
8858 wxPyEndAllowThreads(__tstate
);
8859 if (PyErr_Occurred()) SWIG_fail
;
8863 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8865 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8874 static PyObject
*_wrap_FileSystem_OpenFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8875 PyObject
*resultobj
;
8876 wxFileSystem
*arg1
= (wxFileSystem
*) 0 ;
8877 wxString
*arg2
= 0 ;
8879 bool temp2
= false ;
8880 PyObject
* obj0
= 0 ;
8881 PyObject
* obj1
= 0 ;
8883 (char *) "self",(char *) "location", NULL
8886 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystem_OpenFile",kwnames
,&obj0
,&obj1
)) goto fail
;
8887 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileSystem
, SWIG_POINTER_EXCEPTION
| 0);
8888 if (SWIG_arg_fail(1)) SWIG_fail
;
8890 arg2
= wxString_in_helper(obj1
);
8891 if (arg2
== NULL
) SWIG_fail
;
8895 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8896 result
= (wxFSFile
*)(arg1
)->OpenFile((wxString
const &)*arg2
);
8898 wxPyEndAllowThreads(__tstate
);
8899 if (PyErr_Occurred()) SWIG_fail
;
8902 resultobj
= wxPyMake_wxObject(result
, 1);
8918 static PyObject
*_wrap_FileSystem_FindFirst(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8919 PyObject
*resultobj
;
8920 wxFileSystem
*arg1
= (wxFileSystem
*) 0 ;
8921 wxString
*arg2
= 0 ;
8922 int arg3
= (int) 0 ;
8924 bool temp2
= false ;
8925 PyObject
* obj0
= 0 ;
8926 PyObject
* obj1
= 0 ;
8927 PyObject
* obj2
= 0 ;
8929 (char *) "self",(char *) "spec",(char *) "flags", NULL
8932 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileSystem_FindFirst",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8933 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileSystem
, SWIG_POINTER_EXCEPTION
| 0);
8934 if (SWIG_arg_fail(1)) SWIG_fail
;
8936 arg2
= wxString_in_helper(obj1
);
8937 if (arg2
== NULL
) SWIG_fail
;
8942 arg3
= (int)(SWIG_As_int(obj2
));
8943 if (SWIG_arg_fail(3)) SWIG_fail
;
8947 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8948 result
= (arg1
)->FindFirst((wxString
const &)*arg2
,arg3
);
8950 wxPyEndAllowThreads(__tstate
);
8951 if (PyErr_Occurred()) SWIG_fail
;
8955 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8957 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8974 static PyObject
*_wrap_FileSystem_FindNext(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8975 PyObject
*resultobj
;
8976 wxFileSystem
*arg1
= (wxFileSystem
*) 0 ;
8978 PyObject
* obj0
= 0 ;
8980 (char *) "self", NULL
8983 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileSystem_FindNext",kwnames
,&obj0
)) goto fail
;
8984 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileSystem
, SWIG_POINTER_EXCEPTION
| 0);
8985 if (SWIG_arg_fail(1)) SWIG_fail
;
8987 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8988 result
= (arg1
)->FindNext();
8990 wxPyEndAllowThreads(__tstate
);
8991 if (PyErr_Occurred()) SWIG_fail
;
8995 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8997 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9006 static PyObject
*_wrap_FileSystem_AddHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9007 PyObject
*resultobj
;
9008 wxFileSystemHandler
*arg1
= (wxFileSystemHandler
*) 0 ;
9009 PyObject
* obj0
= 0 ;
9011 (char *) "handler", NULL
9014 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileSystem_AddHandler",kwnames
,&obj0
)) goto fail
;
9015 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileSystemHandler
, SWIG_POINTER_EXCEPTION
| 0);
9016 if (SWIG_arg_fail(1)) SWIG_fail
;
9018 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9019 wxFileSystem::AddHandler(arg1
);
9021 wxPyEndAllowThreads(__tstate
);
9022 if (PyErr_Occurred()) SWIG_fail
;
9024 Py_INCREF(Py_None
); resultobj
= Py_None
;
9031 static PyObject
*_wrap_FileSystem_CleanUpHandlers(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9032 PyObject
*resultobj
;
9037 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":FileSystem_CleanUpHandlers",kwnames
)) goto fail
;
9039 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9040 wxFileSystem::CleanUpHandlers();
9042 wxPyEndAllowThreads(__tstate
);
9043 if (PyErr_Occurred()) SWIG_fail
;
9045 Py_INCREF(Py_None
); resultobj
= Py_None
;
9052 static PyObject
*_wrap_FileSystem_FileNameToURL(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9053 PyObject
*resultobj
;
9054 wxString
*arg1
= 0 ;
9056 bool temp1
= false ;
9057 PyObject
* obj0
= 0 ;
9059 (char *) "filename", NULL
9062 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileSystem_FileNameToURL",kwnames
,&obj0
)) goto fail
;
9064 arg1
= wxString_in_helper(obj0
);
9065 if (arg1
== NULL
) SWIG_fail
;
9069 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9070 result
= wxFileSystem::FileNameToURL((wxString
const &)*arg1
);
9072 wxPyEndAllowThreads(__tstate
);
9073 if (PyErr_Occurred()) SWIG_fail
;
9077 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9079 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9096 static PyObject
*_wrap_FileSystem_URLToFileName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9097 PyObject
*resultobj
;
9098 wxString
*arg1
= 0 ;
9100 bool temp1
= false ;
9101 PyObject
* obj0
= 0 ;
9103 (char *) "url", NULL
9106 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileSystem_URLToFileName",kwnames
,&obj0
)) goto fail
;
9108 arg1
= wxString_in_helper(obj0
);
9109 if (arg1
== NULL
) SWIG_fail
;
9113 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9114 result
= FileSystem_URLToFileName((wxString
const &)*arg1
);
9116 wxPyEndAllowThreads(__tstate
);
9117 if (PyErr_Occurred()) SWIG_fail
;
9121 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9123 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9140 static PyObject
* FileSystem_swigregister(PyObject
*, PyObject
*args
) {
9142 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9143 SWIG_TypeClientData(SWIGTYPE_p_wxFileSystem
, obj
);
9145 return Py_BuildValue((char *)"");
9147 static PyObject
*_wrap_new_InternetFSHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9148 PyObject
*resultobj
;
9149 wxInternetFSHandler
*result
;
9154 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_InternetFSHandler",kwnames
)) goto fail
;
9156 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9157 result
= (wxInternetFSHandler
*)new wxInternetFSHandler();
9159 wxPyEndAllowThreads(__tstate
);
9160 if (PyErr_Occurred()) SWIG_fail
;
9162 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxInternetFSHandler
, 1);
9169 static PyObject
*_wrap_InternetFSHandler_CanOpen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9170 PyObject
*resultobj
;
9171 wxInternetFSHandler
*arg1
= (wxInternetFSHandler
*) 0 ;
9172 wxString
*arg2
= 0 ;
9174 bool temp2
= false ;
9175 PyObject
* obj0
= 0 ;
9176 PyObject
* obj1
= 0 ;
9178 (char *) "self",(char *) "location", NULL
9181 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:InternetFSHandler_CanOpen",kwnames
,&obj0
,&obj1
)) goto fail
;
9182 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxInternetFSHandler
, SWIG_POINTER_EXCEPTION
| 0);
9183 if (SWIG_arg_fail(1)) SWIG_fail
;
9185 arg2
= wxString_in_helper(obj1
);
9186 if (arg2
== NULL
) SWIG_fail
;
9190 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9191 result
= (bool)(arg1
)->CanOpen((wxString
const &)*arg2
);
9193 wxPyEndAllowThreads(__tstate
);
9194 if (PyErr_Occurred()) SWIG_fail
;
9197 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9213 static PyObject
*_wrap_InternetFSHandler_OpenFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9214 PyObject
*resultobj
;
9215 wxInternetFSHandler
*arg1
= (wxInternetFSHandler
*) 0 ;
9216 wxFileSystem
*arg2
= 0 ;
9217 wxString
*arg3
= 0 ;
9219 bool temp3
= false ;
9220 PyObject
* obj0
= 0 ;
9221 PyObject
* obj1
= 0 ;
9222 PyObject
* obj2
= 0 ;
9224 (char *) "self",(char *) "fs",(char *) "location", NULL
9227 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:InternetFSHandler_OpenFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9228 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxInternetFSHandler
, SWIG_POINTER_EXCEPTION
| 0);
9229 if (SWIG_arg_fail(1)) SWIG_fail
;
9231 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFileSystem
, SWIG_POINTER_EXCEPTION
| 0);
9232 if (SWIG_arg_fail(2)) SWIG_fail
;
9234 SWIG_null_ref("wxFileSystem");
9236 if (SWIG_arg_fail(2)) SWIG_fail
;
9239 arg3
= wxString_in_helper(obj2
);
9240 if (arg3
== NULL
) SWIG_fail
;
9244 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9245 result
= (wxFSFile
*)(arg1
)->OpenFile(*arg2
,(wxString
const &)*arg3
);
9247 wxPyEndAllowThreads(__tstate
);
9248 if (PyErr_Occurred()) SWIG_fail
;
9251 resultobj
= wxPyMake_wxObject(result
, 1);
9267 static PyObject
* InternetFSHandler_swigregister(PyObject
*, PyObject
*args
) {
9269 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9270 SWIG_TypeClientData(SWIGTYPE_p_wxInternetFSHandler
, obj
);
9272 return Py_BuildValue((char *)"");
9274 static PyObject
*_wrap_new_ZipFSHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9275 PyObject
*resultobj
;
9276 wxZipFSHandler
*result
;
9281 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ZipFSHandler",kwnames
)) goto fail
;
9283 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9284 result
= (wxZipFSHandler
*)new wxZipFSHandler();
9286 wxPyEndAllowThreads(__tstate
);
9287 if (PyErr_Occurred()) SWIG_fail
;
9289 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxZipFSHandler
, 1);
9296 static PyObject
*_wrap_ZipFSHandler_CanOpen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9297 PyObject
*resultobj
;
9298 wxZipFSHandler
*arg1
= (wxZipFSHandler
*) 0 ;
9299 wxString
*arg2
= 0 ;
9301 bool temp2
= false ;
9302 PyObject
* obj0
= 0 ;
9303 PyObject
* obj1
= 0 ;
9305 (char *) "self",(char *) "location", NULL
9308 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ZipFSHandler_CanOpen",kwnames
,&obj0
,&obj1
)) goto fail
;
9309 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxZipFSHandler
, SWIG_POINTER_EXCEPTION
| 0);
9310 if (SWIG_arg_fail(1)) SWIG_fail
;
9312 arg2
= wxString_in_helper(obj1
);
9313 if (arg2
== NULL
) SWIG_fail
;
9317 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9318 result
= (bool)(arg1
)->CanOpen((wxString
const &)*arg2
);
9320 wxPyEndAllowThreads(__tstate
);
9321 if (PyErr_Occurred()) SWIG_fail
;
9324 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9340 static PyObject
*_wrap_ZipFSHandler_OpenFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9341 PyObject
*resultobj
;
9342 wxZipFSHandler
*arg1
= (wxZipFSHandler
*) 0 ;
9343 wxFileSystem
*arg2
= 0 ;
9344 wxString
*arg3
= 0 ;
9346 bool temp3
= false ;
9347 PyObject
* obj0
= 0 ;
9348 PyObject
* obj1
= 0 ;
9349 PyObject
* obj2
= 0 ;
9351 (char *) "self",(char *) "fs",(char *) "location", NULL
9354 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ZipFSHandler_OpenFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9355 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxZipFSHandler
, SWIG_POINTER_EXCEPTION
| 0);
9356 if (SWIG_arg_fail(1)) SWIG_fail
;
9358 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFileSystem
, SWIG_POINTER_EXCEPTION
| 0);
9359 if (SWIG_arg_fail(2)) SWIG_fail
;
9361 SWIG_null_ref("wxFileSystem");
9363 if (SWIG_arg_fail(2)) SWIG_fail
;
9366 arg3
= wxString_in_helper(obj2
);
9367 if (arg3
== NULL
) SWIG_fail
;
9371 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9372 result
= (wxFSFile
*)(arg1
)->OpenFile(*arg2
,(wxString
const &)*arg3
);
9374 wxPyEndAllowThreads(__tstate
);
9375 if (PyErr_Occurred()) SWIG_fail
;
9378 resultobj
= wxPyMake_wxObject(result
, 1);
9394 static PyObject
*_wrap_ZipFSHandler_FindFirst(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9395 PyObject
*resultobj
;
9396 wxZipFSHandler
*arg1
= (wxZipFSHandler
*) 0 ;
9397 wxString
*arg2
= 0 ;
9398 int arg3
= (int) 0 ;
9400 bool temp2
= false ;
9401 PyObject
* obj0
= 0 ;
9402 PyObject
* obj1
= 0 ;
9403 PyObject
* obj2
= 0 ;
9405 (char *) "self",(char *) "spec",(char *) "flags", NULL
9408 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ZipFSHandler_FindFirst",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9409 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxZipFSHandler
, SWIG_POINTER_EXCEPTION
| 0);
9410 if (SWIG_arg_fail(1)) SWIG_fail
;
9412 arg2
= wxString_in_helper(obj1
);
9413 if (arg2
== NULL
) SWIG_fail
;
9418 arg3
= (int)(SWIG_As_int(obj2
));
9419 if (SWIG_arg_fail(3)) SWIG_fail
;
9423 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9424 result
= (arg1
)->FindFirst((wxString
const &)*arg2
,arg3
);
9426 wxPyEndAllowThreads(__tstate
);
9427 if (PyErr_Occurred()) SWIG_fail
;
9431 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9433 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9450 static PyObject
*_wrap_ZipFSHandler_FindNext(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9451 PyObject
*resultobj
;
9452 wxZipFSHandler
*arg1
= (wxZipFSHandler
*) 0 ;
9454 PyObject
* obj0
= 0 ;
9456 (char *) "self", NULL
9459 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ZipFSHandler_FindNext",kwnames
,&obj0
)) goto fail
;
9460 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxZipFSHandler
, SWIG_POINTER_EXCEPTION
| 0);
9461 if (SWIG_arg_fail(1)) SWIG_fail
;
9463 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9464 result
= (arg1
)->FindNext();
9466 wxPyEndAllowThreads(__tstate
);
9467 if (PyErr_Occurred()) SWIG_fail
;
9471 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9473 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9482 static PyObject
* ZipFSHandler_swigregister(PyObject
*, PyObject
*args
) {
9484 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9485 SWIG_TypeClientData(SWIGTYPE_p_wxZipFSHandler
, obj
);
9487 return Py_BuildValue((char *)"");
9489 static PyObject
*_wrap___wxMemoryFSHandler_AddFile_wxImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9490 PyObject
*resultobj
;
9491 wxString
*arg1
= 0 ;
9494 bool temp1
= false ;
9495 PyObject
* obj0
= 0 ;
9496 PyObject
* obj1
= 0 ;
9497 PyObject
* obj2
= 0 ;
9499 (char *) "filename",(char *) "image",(char *) "type", NULL
9502 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:__wxMemoryFSHandler_AddFile_wxImage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9504 arg1
= wxString_in_helper(obj0
);
9505 if (arg1
== NULL
) SWIG_fail
;
9509 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
9510 if (SWIG_arg_fail(2)) SWIG_fail
;
9512 SWIG_null_ref("wxImage");
9514 if (SWIG_arg_fail(2)) SWIG_fail
;
9517 arg3
= (long)(SWIG_As_long(obj2
));
9518 if (SWIG_arg_fail(3)) SWIG_fail
;
9521 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9522 __wxMemoryFSHandler_AddFile_wxImage((wxString
const &)*arg1
,*arg2
,arg3
);
9524 wxPyEndAllowThreads(__tstate
);
9525 if (PyErr_Occurred()) SWIG_fail
;
9527 Py_INCREF(Py_None
); resultobj
= Py_None
;
9542 static PyObject
*_wrap___wxMemoryFSHandler_AddFile_wxBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9543 PyObject
*resultobj
;
9544 wxString
*arg1
= 0 ;
9545 wxBitmap
*arg2
= 0 ;
9547 bool temp1
= false ;
9548 PyObject
* obj0
= 0 ;
9549 PyObject
* obj1
= 0 ;
9550 PyObject
* obj2
= 0 ;
9552 (char *) "filename",(char *) "bitmap",(char *) "type", NULL
9555 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:__wxMemoryFSHandler_AddFile_wxBitmap",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9557 arg1
= wxString_in_helper(obj0
);
9558 if (arg1
== NULL
) SWIG_fail
;
9562 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
9563 if (SWIG_arg_fail(2)) SWIG_fail
;
9565 SWIG_null_ref("wxBitmap");
9567 if (SWIG_arg_fail(2)) SWIG_fail
;
9570 arg3
= (long)(SWIG_As_long(obj2
));
9571 if (SWIG_arg_fail(3)) SWIG_fail
;
9574 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9575 __wxMemoryFSHandler_AddFile_wxBitmap((wxString
const &)*arg1
,(wxBitmap
const &)*arg2
,arg3
);
9577 wxPyEndAllowThreads(__tstate
);
9578 if (PyErr_Occurred()) SWIG_fail
;
9580 Py_INCREF(Py_None
); resultobj
= Py_None
;
9595 static PyObject
*_wrap___wxMemoryFSHandler_AddFile_Data(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9596 PyObject
*resultobj
;
9597 wxString
*arg1
= 0 ;
9598 PyObject
*arg2
= (PyObject
*) 0 ;
9599 bool temp1
= false ;
9600 PyObject
* obj0
= 0 ;
9601 PyObject
* obj1
= 0 ;
9603 (char *) "filename",(char *) "data", NULL
9606 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:__wxMemoryFSHandler_AddFile_Data",kwnames
,&obj0
,&obj1
)) goto fail
;
9608 arg1
= wxString_in_helper(obj0
);
9609 if (arg1
== NULL
) SWIG_fail
;
9614 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9615 __wxMemoryFSHandler_AddFile_Data((wxString
const &)*arg1
,arg2
);
9617 wxPyEndAllowThreads(__tstate
);
9618 if (PyErr_Occurred()) SWIG_fail
;
9620 Py_INCREF(Py_None
); resultobj
= Py_None
;
9635 static PyObject
*_wrap_new_MemoryFSHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9636 PyObject
*resultobj
;
9637 wxMemoryFSHandler
*result
;
9642 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_MemoryFSHandler",kwnames
)) goto fail
;
9644 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9645 result
= (wxMemoryFSHandler
*)new wxMemoryFSHandler();
9647 wxPyEndAllowThreads(__tstate
);
9648 if (PyErr_Occurred()) SWIG_fail
;
9650 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMemoryFSHandler
, 1);
9657 static PyObject
*_wrap_MemoryFSHandler_RemoveFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9658 PyObject
*resultobj
;
9659 wxString
*arg1
= 0 ;
9660 bool temp1
= false ;
9661 PyObject
* obj0
= 0 ;
9663 (char *) "filename", NULL
9666 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MemoryFSHandler_RemoveFile",kwnames
,&obj0
)) goto fail
;
9668 arg1
= wxString_in_helper(obj0
);
9669 if (arg1
== NULL
) SWIG_fail
;
9673 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9674 wxMemoryFSHandler::RemoveFile((wxString
const &)*arg1
);
9676 wxPyEndAllowThreads(__tstate
);
9677 if (PyErr_Occurred()) SWIG_fail
;
9679 Py_INCREF(Py_None
); resultobj
= Py_None
;
9694 static PyObject
*_wrap_MemoryFSHandler_CanOpen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9695 PyObject
*resultobj
;
9696 wxMemoryFSHandler
*arg1
= (wxMemoryFSHandler
*) 0 ;
9697 wxString
*arg2
= 0 ;
9699 bool temp2
= false ;
9700 PyObject
* obj0
= 0 ;
9701 PyObject
* obj1
= 0 ;
9703 (char *) "self",(char *) "location", NULL
9706 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MemoryFSHandler_CanOpen",kwnames
,&obj0
,&obj1
)) goto fail
;
9707 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMemoryFSHandler
, SWIG_POINTER_EXCEPTION
| 0);
9708 if (SWIG_arg_fail(1)) SWIG_fail
;
9710 arg2
= wxString_in_helper(obj1
);
9711 if (arg2
== NULL
) SWIG_fail
;
9715 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9716 result
= (bool)(arg1
)->CanOpen((wxString
const &)*arg2
);
9718 wxPyEndAllowThreads(__tstate
);
9719 if (PyErr_Occurred()) SWIG_fail
;
9722 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9738 static PyObject
*_wrap_MemoryFSHandler_OpenFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9739 PyObject
*resultobj
;
9740 wxMemoryFSHandler
*arg1
= (wxMemoryFSHandler
*) 0 ;
9741 wxFileSystem
*arg2
= 0 ;
9742 wxString
*arg3
= 0 ;
9744 bool temp3
= false ;
9745 PyObject
* obj0
= 0 ;
9746 PyObject
* obj1
= 0 ;
9747 PyObject
* obj2
= 0 ;
9749 (char *) "self",(char *) "fs",(char *) "location", NULL
9752 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MemoryFSHandler_OpenFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9753 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMemoryFSHandler
, SWIG_POINTER_EXCEPTION
| 0);
9754 if (SWIG_arg_fail(1)) SWIG_fail
;
9756 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFileSystem
, SWIG_POINTER_EXCEPTION
| 0);
9757 if (SWIG_arg_fail(2)) SWIG_fail
;
9759 SWIG_null_ref("wxFileSystem");
9761 if (SWIG_arg_fail(2)) SWIG_fail
;
9764 arg3
= wxString_in_helper(obj2
);
9765 if (arg3
== NULL
) SWIG_fail
;
9769 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9770 result
= (wxFSFile
*)(arg1
)->OpenFile(*arg2
,(wxString
const &)*arg3
);
9772 wxPyEndAllowThreads(__tstate
);
9773 if (PyErr_Occurred()) SWIG_fail
;
9776 resultobj
= wxPyMake_wxObject(result
, 1);
9792 static PyObject
*_wrap_MemoryFSHandler_FindFirst(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9793 PyObject
*resultobj
;
9794 wxMemoryFSHandler
*arg1
= (wxMemoryFSHandler
*) 0 ;
9795 wxString
*arg2
= 0 ;
9796 int arg3
= (int) 0 ;
9798 bool temp2
= false ;
9799 PyObject
* obj0
= 0 ;
9800 PyObject
* obj1
= 0 ;
9801 PyObject
* obj2
= 0 ;
9803 (char *) "self",(char *) "spec",(char *) "flags", NULL
9806 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:MemoryFSHandler_FindFirst",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9807 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMemoryFSHandler
, SWIG_POINTER_EXCEPTION
| 0);
9808 if (SWIG_arg_fail(1)) SWIG_fail
;
9810 arg2
= wxString_in_helper(obj1
);
9811 if (arg2
== NULL
) SWIG_fail
;
9816 arg3
= (int)(SWIG_As_int(obj2
));
9817 if (SWIG_arg_fail(3)) SWIG_fail
;
9821 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9822 result
= (arg1
)->FindFirst((wxString
const &)*arg2
,arg3
);
9824 wxPyEndAllowThreads(__tstate
);
9825 if (PyErr_Occurred()) SWIG_fail
;
9829 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9831 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9848 static PyObject
*_wrap_MemoryFSHandler_FindNext(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9849 PyObject
*resultobj
;
9850 wxMemoryFSHandler
*arg1
= (wxMemoryFSHandler
*) 0 ;
9852 PyObject
* obj0
= 0 ;
9854 (char *) "self", NULL
9857 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MemoryFSHandler_FindNext",kwnames
,&obj0
)) goto fail
;
9858 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMemoryFSHandler
, SWIG_POINTER_EXCEPTION
| 0);
9859 if (SWIG_arg_fail(1)) SWIG_fail
;
9861 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9862 result
= (arg1
)->FindNext();
9864 wxPyEndAllowThreads(__tstate
);
9865 if (PyErr_Occurred()) SWIG_fail
;
9869 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9871 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9880 static PyObject
* MemoryFSHandler_swigregister(PyObject
*, PyObject
*args
) {
9882 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9883 SWIG_TypeClientData(SWIGTYPE_p_wxMemoryFSHandler
, obj
);
9885 return Py_BuildValue((char *)"");
9887 static PyObject
*_wrap_ImageHandler_GetName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9888 PyObject
*resultobj
;
9889 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
9891 PyObject
* obj0
= 0 ;
9893 (char *) "self", NULL
9896 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ImageHandler_GetName",kwnames
,&obj0
)) goto fail
;
9897 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImageHandler
, SWIG_POINTER_EXCEPTION
| 0);
9898 if (SWIG_arg_fail(1)) SWIG_fail
;
9900 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9901 result
= (arg1
)->GetName();
9903 wxPyEndAllowThreads(__tstate
);
9904 if (PyErr_Occurred()) SWIG_fail
;
9908 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9910 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9919 static PyObject
*_wrap_ImageHandler_GetExtension(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9920 PyObject
*resultobj
;
9921 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
9923 PyObject
* obj0
= 0 ;
9925 (char *) "self", NULL
9928 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ImageHandler_GetExtension",kwnames
,&obj0
)) goto fail
;
9929 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImageHandler
, SWIG_POINTER_EXCEPTION
| 0);
9930 if (SWIG_arg_fail(1)) SWIG_fail
;
9932 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9933 result
= (arg1
)->GetExtension();
9935 wxPyEndAllowThreads(__tstate
);
9936 if (PyErr_Occurred()) SWIG_fail
;
9940 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9942 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9951 static PyObject
*_wrap_ImageHandler_GetType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9952 PyObject
*resultobj
;
9953 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
9955 PyObject
* obj0
= 0 ;
9957 (char *) "self", NULL
9960 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ImageHandler_GetType",kwnames
,&obj0
)) goto fail
;
9961 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImageHandler
, SWIG_POINTER_EXCEPTION
| 0);
9962 if (SWIG_arg_fail(1)) SWIG_fail
;
9964 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9965 result
= (long)(arg1
)->GetType();
9967 wxPyEndAllowThreads(__tstate
);
9968 if (PyErr_Occurred()) SWIG_fail
;
9971 resultobj
= SWIG_From_long((long)(result
));
9979 static PyObject
*_wrap_ImageHandler_GetMimeType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9980 PyObject
*resultobj
;
9981 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
9983 PyObject
* obj0
= 0 ;
9985 (char *) "self", NULL
9988 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ImageHandler_GetMimeType",kwnames
,&obj0
)) goto fail
;
9989 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImageHandler
, SWIG_POINTER_EXCEPTION
| 0);
9990 if (SWIG_arg_fail(1)) SWIG_fail
;
9992 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9993 result
= (arg1
)->GetMimeType();
9995 wxPyEndAllowThreads(__tstate
);
9996 if (PyErr_Occurred()) SWIG_fail
;
10000 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10002 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10011 static PyObject
*_wrap_ImageHandler_CanRead(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10012 PyObject
*resultobj
;
10013 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
10014 wxString
*arg2
= 0 ;
10016 bool temp2
= false ;
10017 PyObject
* obj0
= 0 ;
10018 PyObject
* obj1
= 0 ;
10019 char *kwnames
[] = {
10020 (char *) "self",(char *) "name", NULL
10023 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageHandler_CanRead",kwnames
,&obj0
,&obj1
)) goto fail
;
10024 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImageHandler
, SWIG_POINTER_EXCEPTION
| 0);
10025 if (SWIG_arg_fail(1)) SWIG_fail
;
10027 arg2
= wxString_in_helper(obj1
);
10028 if (arg2
== NULL
) SWIG_fail
;
10032 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10033 result
= (bool)(arg1
)->CanRead((wxString
const &)*arg2
);
10035 wxPyEndAllowThreads(__tstate
);
10036 if (PyErr_Occurred()) SWIG_fail
;
10039 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10055 static PyObject
*_wrap_ImageHandler_SetName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10056 PyObject
*resultobj
;
10057 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
10058 wxString
*arg2
= 0 ;
10059 bool temp2
= false ;
10060 PyObject
* obj0
= 0 ;
10061 PyObject
* obj1
= 0 ;
10062 char *kwnames
[] = {
10063 (char *) "self",(char *) "name", NULL
10066 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageHandler_SetName",kwnames
,&obj0
,&obj1
)) goto fail
;
10067 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImageHandler
, SWIG_POINTER_EXCEPTION
| 0);
10068 if (SWIG_arg_fail(1)) SWIG_fail
;
10070 arg2
= wxString_in_helper(obj1
);
10071 if (arg2
== NULL
) SWIG_fail
;
10075 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10076 (arg1
)->SetName((wxString
const &)*arg2
);
10078 wxPyEndAllowThreads(__tstate
);
10079 if (PyErr_Occurred()) SWIG_fail
;
10081 Py_INCREF(Py_None
); resultobj
= Py_None
;
10096 static PyObject
*_wrap_ImageHandler_SetExtension(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10097 PyObject
*resultobj
;
10098 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
10099 wxString
*arg2
= 0 ;
10100 bool temp2
= false ;
10101 PyObject
* obj0
= 0 ;
10102 PyObject
* obj1
= 0 ;
10103 char *kwnames
[] = {
10104 (char *) "self",(char *) "extension", NULL
10107 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageHandler_SetExtension",kwnames
,&obj0
,&obj1
)) goto fail
;
10108 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImageHandler
, SWIG_POINTER_EXCEPTION
| 0);
10109 if (SWIG_arg_fail(1)) SWIG_fail
;
10111 arg2
= wxString_in_helper(obj1
);
10112 if (arg2
== NULL
) SWIG_fail
;
10116 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10117 (arg1
)->SetExtension((wxString
const &)*arg2
);
10119 wxPyEndAllowThreads(__tstate
);
10120 if (PyErr_Occurred()) SWIG_fail
;
10122 Py_INCREF(Py_None
); resultobj
= Py_None
;
10137 static PyObject
*_wrap_ImageHandler_SetType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10138 PyObject
*resultobj
;
10139 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
10141 PyObject
* obj0
= 0 ;
10142 PyObject
* obj1
= 0 ;
10143 char *kwnames
[] = {
10144 (char *) "self",(char *) "type", NULL
10147 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageHandler_SetType",kwnames
,&obj0
,&obj1
)) goto fail
;
10148 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImageHandler
, SWIG_POINTER_EXCEPTION
| 0);
10149 if (SWIG_arg_fail(1)) SWIG_fail
;
10151 arg2
= (long)(SWIG_As_long(obj1
));
10152 if (SWIG_arg_fail(2)) SWIG_fail
;
10155 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10156 (arg1
)->SetType(arg2
);
10158 wxPyEndAllowThreads(__tstate
);
10159 if (PyErr_Occurred()) SWIG_fail
;
10161 Py_INCREF(Py_None
); resultobj
= Py_None
;
10168 static PyObject
*_wrap_ImageHandler_SetMimeType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10169 PyObject
*resultobj
;
10170 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
10171 wxString
*arg2
= 0 ;
10172 bool temp2
= false ;
10173 PyObject
* obj0
= 0 ;
10174 PyObject
* obj1
= 0 ;
10175 char *kwnames
[] = {
10176 (char *) "self",(char *) "mimetype", NULL
10179 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageHandler_SetMimeType",kwnames
,&obj0
,&obj1
)) goto fail
;
10180 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImageHandler
, SWIG_POINTER_EXCEPTION
| 0);
10181 if (SWIG_arg_fail(1)) SWIG_fail
;
10183 arg2
= wxString_in_helper(obj1
);
10184 if (arg2
== NULL
) SWIG_fail
;
10188 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10189 (arg1
)->SetMimeType((wxString
const &)*arg2
);
10191 wxPyEndAllowThreads(__tstate
);
10192 if (PyErr_Occurred()) SWIG_fail
;
10194 Py_INCREF(Py_None
); resultobj
= Py_None
;
10209 static PyObject
* ImageHandler_swigregister(PyObject
*, PyObject
*args
) {
10211 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10212 SWIG_TypeClientData(SWIGTYPE_p_wxImageHandler
, obj
);
10214 return Py_BuildValue((char *)"");
10216 static PyObject
*_wrap_new_ImageHistogram(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10217 PyObject
*resultobj
;
10218 wxImageHistogram
*result
;
10219 char *kwnames
[] = {
10223 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ImageHistogram",kwnames
)) goto fail
;
10225 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10226 result
= (wxImageHistogram
*)new wxImageHistogram();
10228 wxPyEndAllowThreads(__tstate
);
10229 if (PyErr_Occurred()) SWIG_fail
;
10231 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImageHistogram
, 1);
10238 static PyObject
*_wrap_ImageHistogram_MakeKey(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10239 PyObject
*resultobj
;
10240 unsigned char arg1
;
10241 unsigned char arg2
;
10242 unsigned char arg3
;
10243 unsigned long result
;
10244 PyObject
* obj0
= 0 ;
10245 PyObject
* obj1
= 0 ;
10246 PyObject
* obj2
= 0 ;
10247 char *kwnames
[] = {
10248 (char *) "r",(char *) "g",(char *) "b", NULL
10251 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ImageHistogram_MakeKey",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10253 arg1
= (unsigned char)(SWIG_As_unsigned_SS_char(obj0
));
10254 if (SWIG_arg_fail(1)) SWIG_fail
;
10257 arg2
= (unsigned char)(SWIG_As_unsigned_SS_char(obj1
));
10258 if (SWIG_arg_fail(2)) SWIG_fail
;
10261 arg3
= (unsigned char)(SWIG_As_unsigned_SS_char(obj2
));
10262 if (SWIG_arg_fail(3)) SWIG_fail
;
10265 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10266 result
= (unsigned long)wxImageHistogram::MakeKey(arg1
,arg2
,arg3
);
10268 wxPyEndAllowThreads(__tstate
);
10269 if (PyErr_Occurred()) SWIG_fail
;
10272 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
10280 static PyObject
*_wrap_ImageHistogram_FindFirstUnusedColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10281 PyObject
*resultobj
;
10282 wxImageHistogram
*arg1
= (wxImageHistogram
*) 0 ;
10283 unsigned char *arg2
= (unsigned char *) 0 ;
10284 unsigned char *arg3
= (unsigned char *) 0 ;
10285 unsigned char *arg4
= (unsigned char *) 0 ;
10286 unsigned char arg5
= (unsigned char) 1 ;
10287 unsigned char arg6
= (unsigned char) 0 ;
10288 unsigned char arg7
= (unsigned char) 0 ;
10290 unsigned char temp2
;
10292 unsigned char temp3
;
10294 unsigned char temp4
;
10296 PyObject
* obj0
= 0 ;
10297 PyObject
* obj1
= 0 ;
10298 PyObject
* obj2
= 0 ;
10299 PyObject
* obj3
= 0 ;
10300 char *kwnames
[] = {
10301 (char *) "self",(char *) "startR",(char *) "startG",(char *) "startB", NULL
10304 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
10305 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
10306 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
10307 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:ImageHistogram_FindFirstUnusedColour",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
10308 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImageHistogram
, SWIG_POINTER_EXCEPTION
| 0);
10309 if (SWIG_arg_fail(1)) SWIG_fail
;
10312 arg5
= (unsigned char)(SWIG_As_unsigned_SS_char(obj1
));
10313 if (SWIG_arg_fail(5)) SWIG_fail
;
10318 arg6
= (unsigned char)(SWIG_As_unsigned_SS_char(obj2
));
10319 if (SWIG_arg_fail(6)) SWIG_fail
;
10324 arg7
= (unsigned char)(SWIG_As_unsigned_SS_char(obj3
));
10325 if (SWIG_arg_fail(7)) SWIG_fail
;
10329 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10330 result
= (bool)((wxImageHistogram
const *)arg1
)->FindFirstUnusedColour(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
10332 wxPyEndAllowThreads(__tstate
);
10333 if (PyErr_Occurred()) SWIG_fail
;
10336 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10338 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
10339 SWIG_From_unsigned_SS_char((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_unsigned_char
, 0)));
10340 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
10341 SWIG_From_unsigned_SS_char((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_unsigned_char
, 0)));
10342 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
10343 SWIG_From_unsigned_SS_char((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_unsigned_char
, 0)));
10350 static PyObject
*_wrap_ImageHistogram_GetCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10351 PyObject
*resultobj
;
10352 wxImageHistogram
*arg1
= (wxImageHistogram
*) 0 ;
10353 unsigned long arg2
;
10354 unsigned long result
;
10355 PyObject
* obj0
= 0 ;
10356 PyObject
* obj1
= 0 ;
10357 char *kwnames
[] = {
10358 (char *) "self",(char *) "key", NULL
10361 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageHistogram_GetCount",kwnames
,&obj0
,&obj1
)) goto fail
;
10362 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImageHistogram
, SWIG_POINTER_EXCEPTION
| 0);
10363 if (SWIG_arg_fail(1)) SWIG_fail
;
10365 arg2
= (unsigned long)(SWIG_As_unsigned_SS_long(obj1
));
10366 if (SWIG_arg_fail(2)) SWIG_fail
;
10369 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10370 result
= (unsigned long)wxImageHistogram_GetCount(arg1
,arg2
);
10372 wxPyEndAllowThreads(__tstate
);
10373 if (PyErr_Occurred()) SWIG_fail
;
10376 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
10384 static PyObject
*_wrap_ImageHistogram_GetCountRGB(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10385 PyObject
*resultobj
;
10386 wxImageHistogram
*arg1
= (wxImageHistogram
*) 0 ;
10387 unsigned char arg2
;
10388 unsigned char arg3
;
10389 unsigned char arg4
;
10390 unsigned long result
;
10391 PyObject
* obj0
= 0 ;
10392 PyObject
* obj1
= 0 ;
10393 PyObject
* obj2
= 0 ;
10394 PyObject
* obj3
= 0 ;
10395 char *kwnames
[] = {
10396 (char *) "self",(char *) "r",(char *) "g",(char *) "b", NULL
10399 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ImageHistogram_GetCountRGB",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
10400 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImageHistogram
, SWIG_POINTER_EXCEPTION
| 0);
10401 if (SWIG_arg_fail(1)) SWIG_fail
;
10403 arg2
= (unsigned char)(SWIG_As_unsigned_SS_char(obj1
));
10404 if (SWIG_arg_fail(2)) SWIG_fail
;
10407 arg3
= (unsigned char)(SWIG_As_unsigned_SS_char(obj2
));
10408 if (SWIG_arg_fail(3)) SWIG_fail
;
10411 arg4
= (unsigned char)(SWIG_As_unsigned_SS_char(obj3
));
10412 if (SWIG_arg_fail(4)) SWIG_fail
;
10415 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10416 result
= (unsigned long)wxImageHistogram_GetCountRGB(arg1
,arg2
,arg3
,arg4
);
10418 wxPyEndAllowThreads(__tstate
);
10419 if (PyErr_Occurred()) SWIG_fail
;
10422 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
10430 static PyObject
*_wrap_ImageHistogram_GetCountColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10431 PyObject
*resultobj
;
10432 wxImageHistogram
*arg1
= (wxImageHistogram
*) 0 ;
10433 wxColour
*arg2
= 0 ;
10434 unsigned long result
;
10436 PyObject
* obj0
= 0 ;
10437 PyObject
* obj1
= 0 ;
10438 char *kwnames
[] = {
10439 (char *) "self",(char *) "colour", NULL
10442 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageHistogram_GetCountColour",kwnames
,&obj0
,&obj1
)) goto fail
;
10443 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImageHistogram
, SWIG_POINTER_EXCEPTION
| 0);
10444 if (SWIG_arg_fail(1)) SWIG_fail
;
10447 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
10450 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10451 result
= (unsigned long)wxImageHistogram_GetCountColour(arg1
,(wxColour
const &)*arg2
);
10453 wxPyEndAllowThreads(__tstate
);
10454 if (PyErr_Occurred()) SWIG_fail
;
10457 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
10465 static PyObject
* ImageHistogram_swigregister(PyObject
*, PyObject
*args
) {
10467 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10468 SWIG_TypeClientData(SWIGTYPE_p_wxImageHistogram
, obj
);
10470 return Py_BuildValue((char *)"");
10472 static PyObject
*_wrap_new_Image(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10473 PyObject
*resultobj
;
10474 wxString
*arg1
= 0 ;
10475 long arg2
= (long) wxBITMAP_TYPE_ANY
;
10476 int arg3
= (int) -1 ;
10478 bool temp1
= false ;
10479 PyObject
* obj0
= 0 ;
10480 PyObject
* obj1
= 0 ;
10481 PyObject
* obj2
= 0 ;
10482 char *kwnames
[] = {
10483 (char *) "name",(char *) "type",(char *) "index", NULL
10486 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:new_Image",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10488 arg1
= wxString_in_helper(obj0
);
10489 if (arg1
== NULL
) SWIG_fail
;
10494 arg2
= (long)(SWIG_As_long(obj1
));
10495 if (SWIG_arg_fail(2)) SWIG_fail
;
10500 arg3
= (int)(SWIG_As_int(obj2
));
10501 if (SWIG_arg_fail(3)) SWIG_fail
;
10505 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10506 result
= (wxImage
*)new wxImage((wxString
const &)*arg1
,arg2
,arg3
);
10508 wxPyEndAllowThreads(__tstate
);
10509 if (PyErr_Occurred()) SWIG_fail
;
10511 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 1);
10526 static PyObject
*_wrap_delete_Image(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10527 PyObject
*resultobj
;
10528 wxImage
*arg1
= (wxImage
*) 0 ;
10529 PyObject
* obj0
= 0 ;
10530 char *kwnames
[] = {
10531 (char *) "self", NULL
10534 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Image",kwnames
,&obj0
)) goto fail
;
10535 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
10536 if (SWIG_arg_fail(1)) SWIG_fail
;
10538 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10541 wxPyEndAllowThreads(__tstate
);
10542 if (PyErr_Occurred()) SWIG_fail
;
10544 Py_INCREF(Py_None
); resultobj
= Py_None
;
10551 static PyObject
*_wrap_new_ImageFromMime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10552 PyObject
*resultobj
;
10553 wxString
*arg1
= 0 ;
10554 wxString
*arg2
= 0 ;
10555 int arg3
= (int) -1 ;
10557 bool temp1
= false ;
10558 bool temp2
= false ;
10559 PyObject
* obj0
= 0 ;
10560 PyObject
* obj1
= 0 ;
10561 PyObject
* obj2
= 0 ;
10562 char *kwnames
[] = {
10563 (char *) "name",(char *) "mimetype",(char *) "index", NULL
10566 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:new_ImageFromMime",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10568 arg1
= wxString_in_helper(obj0
);
10569 if (arg1
== NULL
) SWIG_fail
;
10573 arg2
= wxString_in_helper(obj1
);
10574 if (arg2
== NULL
) SWIG_fail
;
10579 arg3
= (int)(SWIG_As_int(obj2
));
10580 if (SWIG_arg_fail(3)) SWIG_fail
;
10584 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10585 result
= (wxImage
*)new wxImage((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
);
10587 wxPyEndAllowThreads(__tstate
);
10588 if (PyErr_Occurred()) SWIG_fail
;
10590 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 1);
10613 static PyObject
*_wrap_new_ImageFromStream(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10614 PyObject
*resultobj
;
10615 wxInputStream
*arg1
= 0 ;
10616 long arg2
= (long) wxBITMAP_TYPE_ANY
;
10617 int arg3
= (int) -1 ;
10619 wxPyInputStream
*temp1
;
10621 PyObject
* obj0
= 0 ;
10622 PyObject
* obj1
= 0 ;
10623 PyObject
* obj2
= 0 ;
10624 char *kwnames
[] = {
10625 (char *) "stream",(char *) "type",(char *) "index", NULL
10628 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:new_ImageFromStream",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10630 if (wxPyConvertSwigPtr(obj0
, (void **)&temp1
, wxT("wxPyInputStream"))) {
10631 arg1
= temp1
->m_wxis
;
10634 PyErr_Clear(); // clear the failure of the wxPyConvert above
10635 arg1
= wxPyCBInputStream_create(obj0
, false);
10636 if (arg1
== NULL
) {
10637 PyErr_SetString(PyExc_TypeError
, "Expected wx.InputStream or Python file-like object.");
10645 arg2
= (long)(SWIG_As_long(obj1
));
10646 if (SWIG_arg_fail(2)) SWIG_fail
;
10651 arg3
= (int)(SWIG_As_int(obj2
));
10652 if (SWIG_arg_fail(3)) SWIG_fail
;
10656 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10657 result
= (wxImage
*)new wxImage(*arg1
,arg2
,arg3
);
10659 wxPyEndAllowThreads(__tstate
);
10660 if (PyErr_Occurred()) SWIG_fail
;
10662 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 1);
10664 if (created1
) delete arg1
;
10669 if (created1
) delete arg1
;
10675 static PyObject
*_wrap_new_ImageFromStreamMime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10676 PyObject
*resultobj
;
10677 wxInputStream
*arg1
= 0 ;
10678 wxString
*arg2
= 0 ;
10679 int arg3
= (int) -1 ;
10681 wxPyInputStream
*temp1
;
10683 bool temp2
= false ;
10684 PyObject
* obj0
= 0 ;
10685 PyObject
* obj1
= 0 ;
10686 PyObject
* obj2
= 0 ;
10687 char *kwnames
[] = {
10688 (char *) "stream",(char *) "mimetype",(char *) "index", NULL
10691 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:new_ImageFromStreamMime",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10693 if (wxPyConvertSwigPtr(obj0
, (void **)&temp1
, wxT("wxPyInputStream"))) {
10694 arg1
= temp1
->m_wxis
;
10697 PyErr_Clear(); // clear the failure of the wxPyConvert above
10698 arg1
= wxPyCBInputStream_create(obj0
, false);
10699 if (arg1
== NULL
) {
10700 PyErr_SetString(PyExc_TypeError
, "Expected wx.InputStream or Python file-like object.");
10707 arg2
= wxString_in_helper(obj1
);
10708 if (arg2
== NULL
) SWIG_fail
;
10713 arg3
= (int)(SWIG_As_int(obj2
));
10714 if (SWIG_arg_fail(3)) SWIG_fail
;
10718 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10719 result
= (wxImage
*)new wxImage(*arg1
,(wxString
const &)*arg2
,arg3
);
10721 wxPyEndAllowThreads(__tstate
);
10722 if (PyErr_Occurred()) SWIG_fail
;
10724 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 1);
10726 if (created1
) delete arg1
;
10735 if (created1
) delete arg1
;
10745 static PyObject
*_wrap_new_EmptyImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10746 PyObject
*resultobj
;
10747 int arg1
= (int) 0 ;
10748 int arg2
= (int) 0 ;
10749 bool arg3
= (bool) true ;
10751 PyObject
* obj0
= 0 ;
10752 PyObject
* obj1
= 0 ;
10753 PyObject
* obj2
= 0 ;
10754 char *kwnames
[] = {
10755 (char *) "width",(char *) "height",(char *) "clear", NULL
10758 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_EmptyImage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10761 arg1
= (int)(SWIG_As_int(obj0
));
10762 if (SWIG_arg_fail(1)) SWIG_fail
;
10767 arg2
= (int)(SWIG_As_int(obj1
));
10768 if (SWIG_arg_fail(2)) SWIG_fail
;
10773 arg3
= (bool)(SWIG_As_bool(obj2
));
10774 if (SWIG_arg_fail(3)) SWIG_fail
;
10778 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10779 result
= (wxImage
*)new_wxImage(arg1
,arg2
,arg3
);
10781 wxPyEndAllowThreads(__tstate
);
10782 if (PyErr_Occurred()) SWIG_fail
;
10784 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 1);
10791 static PyObject
*_wrap_new_ImageFromBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10792 PyObject
*resultobj
;
10793 wxBitmap
*arg1
= 0 ;
10795 PyObject
* obj0
= 0 ;
10796 char *kwnames
[] = {
10797 (char *) "bitmap", NULL
10800 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_ImageFromBitmap",kwnames
,&obj0
)) goto fail
;
10802 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
10803 if (SWIG_arg_fail(1)) SWIG_fail
;
10804 if (arg1
== NULL
) {
10805 SWIG_null_ref("wxBitmap");
10807 if (SWIG_arg_fail(1)) SWIG_fail
;
10810 if (!wxPyCheckForApp()) SWIG_fail
;
10811 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10812 result
= (wxImage
*)new_wxImage((wxBitmap
const &)*arg1
);
10814 wxPyEndAllowThreads(__tstate
);
10815 if (PyErr_Occurred()) SWIG_fail
;
10817 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 1);
10824 static PyObject
*_wrap_new_ImageFromData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10825 PyObject
*resultobj
;
10831 PyObject
* obj0
= 0 ;
10832 PyObject
* obj1
= 0 ;
10833 PyObject
* obj2
= 0 ;
10834 char *kwnames
[] = {
10835 (char *) "width",(char *) "height",(char *) "data", NULL
10838 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:new_ImageFromData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10840 arg1
= (int)(SWIG_As_int(obj0
));
10841 if (SWIG_arg_fail(1)) SWIG_fail
;
10844 arg2
= (int)(SWIG_As_int(obj1
));
10845 if (SWIG_arg_fail(2)) SWIG_fail
;
10848 if (!PyArg_Parse(obj2
, "t#", &arg3
, &arg4
)) SWIG_fail
;
10851 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10852 result
= (wxImage
*)new_wxImage(arg1
,arg2
,arg3
,arg4
);
10854 wxPyEndAllowThreads(__tstate
);
10855 if (PyErr_Occurred()) SWIG_fail
;
10857 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 1);
10864 static PyObject
*_wrap_new_ImageFromDataWithAlpha(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10865 PyObject
*resultobj
;
10873 PyObject
* obj0
= 0 ;
10874 PyObject
* obj1
= 0 ;
10875 PyObject
* obj2
= 0 ;
10876 PyObject
* obj3
= 0 ;
10877 char *kwnames
[] = {
10878 (char *) "width",(char *) "height",(char *) "data",(char *) "alpha", NULL
10881 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:new_ImageFromDataWithAlpha",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
10883 arg1
= (int)(SWIG_As_int(obj0
));
10884 if (SWIG_arg_fail(1)) SWIG_fail
;
10887 arg2
= (int)(SWIG_As_int(obj1
));
10888 if (SWIG_arg_fail(2)) SWIG_fail
;
10891 if (!PyArg_Parse(obj2
, "t#", &arg3
, &arg4
)) SWIG_fail
;
10894 if (!PyArg_Parse(obj3
, "t#", &arg5
, &arg6
)) SWIG_fail
;
10897 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10898 result
= (wxImage
*)new_wxImage(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
);
10900 wxPyEndAllowThreads(__tstate
);
10901 if (PyErr_Occurred()) SWIG_fail
;
10903 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 1);
10910 static PyObject
*_wrap_Image_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10911 PyObject
*resultobj
;
10912 wxImage
*arg1
= (wxImage
*) 0 ;
10915 PyObject
* obj0
= 0 ;
10916 PyObject
* obj1
= 0 ;
10917 PyObject
* obj2
= 0 ;
10918 char *kwnames
[] = {
10919 (char *) "self",(char *) "width",(char *) "height", NULL
10922 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_Create",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10923 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
10924 if (SWIG_arg_fail(1)) SWIG_fail
;
10926 arg2
= (int)(SWIG_As_int(obj1
));
10927 if (SWIG_arg_fail(2)) SWIG_fail
;
10930 arg3
= (int)(SWIG_As_int(obj2
));
10931 if (SWIG_arg_fail(3)) SWIG_fail
;
10934 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10935 (arg1
)->Create(arg2
,arg3
);
10937 wxPyEndAllowThreads(__tstate
);
10938 if (PyErr_Occurred()) SWIG_fail
;
10940 Py_INCREF(Py_None
); resultobj
= Py_None
;
10947 static PyObject
*_wrap_Image_Destroy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10948 PyObject
*resultobj
;
10949 wxImage
*arg1
= (wxImage
*) 0 ;
10950 PyObject
* obj0
= 0 ;
10951 char *kwnames
[] = {
10952 (char *) "self", NULL
10955 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_Destroy",kwnames
,&obj0
)) goto fail
;
10956 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
10957 if (SWIG_arg_fail(1)) SWIG_fail
;
10959 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10962 wxPyEndAllowThreads(__tstate
);
10963 if (PyErr_Occurred()) SWIG_fail
;
10965 Py_INCREF(Py_None
); resultobj
= Py_None
;
10972 static PyObject
*_wrap_Image_Scale(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10973 PyObject
*resultobj
;
10974 wxImage
*arg1
= (wxImage
*) 0 ;
10977 SwigValueWrapper
<wxImage
> result
;
10978 PyObject
* obj0
= 0 ;
10979 PyObject
* obj1
= 0 ;
10980 PyObject
* obj2
= 0 ;
10981 char *kwnames
[] = {
10982 (char *) "self",(char *) "width",(char *) "height", NULL
10985 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_Scale",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10986 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
10987 if (SWIG_arg_fail(1)) SWIG_fail
;
10989 arg2
= (int)(SWIG_As_int(obj1
));
10990 if (SWIG_arg_fail(2)) SWIG_fail
;
10993 arg3
= (int)(SWIG_As_int(obj2
));
10994 if (SWIG_arg_fail(3)) SWIG_fail
;
10997 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10998 result
= (arg1
)->Scale(arg2
,arg3
);
11000 wxPyEndAllowThreads(__tstate
);
11001 if (PyErr_Occurred()) SWIG_fail
;
11004 wxImage
* resultptr
;
11005 resultptr
= new wxImage((wxImage
&)(result
));
11006 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
11014 static PyObject
*_wrap_Image_ShrinkBy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11015 PyObject
*resultobj
;
11016 wxImage
*arg1
= (wxImage
*) 0 ;
11019 SwigValueWrapper
<wxImage
> result
;
11020 PyObject
* obj0
= 0 ;
11021 PyObject
* obj1
= 0 ;
11022 PyObject
* obj2
= 0 ;
11023 char *kwnames
[] = {
11024 (char *) "self",(char *) "xFactor",(char *) "yFactor", NULL
11027 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_ShrinkBy",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11028 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
11029 if (SWIG_arg_fail(1)) SWIG_fail
;
11031 arg2
= (int)(SWIG_As_int(obj1
));
11032 if (SWIG_arg_fail(2)) SWIG_fail
;
11035 arg3
= (int)(SWIG_As_int(obj2
));
11036 if (SWIG_arg_fail(3)) SWIG_fail
;
11039 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11040 result
= ((wxImage
const *)arg1
)->ShrinkBy(arg2
,arg3
);
11042 wxPyEndAllowThreads(__tstate
);
11043 if (PyErr_Occurred()) SWIG_fail
;
11046 wxImage
* resultptr
;
11047 resultptr
= new wxImage((wxImage
&)(result
));
11048 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
11056 static PyObject
*_wrap_Image_Rescale(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11057 PyObject
*resultobj
;
11058 wxImage
*arg1
= (wxImage
*) 0 ;
11062 PyObject
* obj0
= 0 ;
11063 PyObject
* obj1
= 0 ;
11064 PyObject
* obj2
= 0 ;
11065 char *kwnames
[] = {
11066 (char *) "self",(char *) "width",(char *) "height", NULL
11069 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_Rescale",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11070 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
11071 if (SWIG_arg_fail(1)) SWIG_fail
;
11073 arg2
= (int)(SWIG_As_int(obj1
));
11074 if (SWIG_arg_fail(2)) SWIG_fail
;
11077 arg3
= (int)(SWIG_As_int(obj2
));
11078 if (SWIG_arg_fail(3)) SWIG_fail
;
11081 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11083 wxImage
&_result_ref
= (arg1
)->Rescale(arg2
,arg3
);
11084 result
= (wxImage
*) &_result_ref
;
11087 wxPyEndAllowThreads(__tstate
);
11088 if (PyErr_Occurred()) SWIG_fail
;
11090 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 0);
11097 static PyObject
*_wrap_Image_Resize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11098 PyObject
*resultobj
;
11099 wxImage
*arg1
= (wxImage
*) 0 ;
11101 wxPoint
*arg3
= 0 ;
11102 int arg4
= (int) -1 ;
11103 int arg5
= (int) -1 ;
11104 int arg6
= (int) -1 ;
11108 PyObject
* obj0
= 0 ;
11109 PyObject
* obj1
= 0 ;
11110 PyObject
* obj2
= 0 ;
11111 PyObject
* obj3
= 0 ;
11112 PyObject
* obj4
= 0 ;
11113 PyObject
* obj5
= 0 ;
11114 char *kwnames
[] = {
11115 (char *) "self",(char *) "size",(char *) "pos",(char *) "r",(char *) "g",(char *) "b", NULL
11118 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOO:Image_Resize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
11119 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
11120 if (SWIG_arg_fail(1)) SWIG_fail
;
11123 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
11127 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
11131 arg4
= (int)(SWIG_As_int(obj3
));
11132 if (SWIG_arg_fail(4)) SWIG_fail
;
11137 arg5
= (int)(SWIG_As_int(obj4
));
11138 if (SWIG_arg_fail(5)) SWIG_fail
;
11143 arg6
= (int)(SWIG_As_int(obj5
));
11144 if (SWIG_arg_fail(6)) SWIG_fail
;
11148 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11150 wxImage
&_result_ref
= (arg1
)->Resize((wxSize
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
,arg5
,arg6
);
11151 result
= (wxImage
*) &_result_ref
;
11154 wxPyEndAllowThreads(__tstate
);
11155 if (PyErr_Occurred()) SWIG_fail
;
11157 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 0);
11164 static PyObject
*_wrap_Image_SetRGB(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11165 PyObject
*resultobj
;
11166 wxImage
*arg1
= (wxImage
*) 0 ;
11169 unsigned char arg4
;
11170 unsigned char arg5
;
11171 unsigned char arg6
;
11172 PyObject
* obj0
= 0 ;
11173 PyObject
* obj1
= 0 ;
11174 PyObject
* obj2
= 0 ;
11175 PyObject
* obj3
= 0 ;
11176 PyObject
* obj4
= 0 ;
11177 PyObject
* obj5
= 0 ;
11178 char *kwnames
[] = {
11179 (char *) "self",(char *) "x",(char *) "y",(char *) "r",(char *) "g",(char *) "b", NULL
11182 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:Image_SetRGB",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
11183 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
11184 if (SWIG_arg_fail(1)) SWIG_fail
;
11186 arg2
= (int)(SWIG_As_int(obj1
));
11187 if (SWIG_arg_fail(2)) SWIG_fail
;
11190 arg3
= (int)(SWIG_As_int(obj2
));
11191 if (SWIG_arg_fail(3)) SWIG_fail
;
11194 arg4
= (unsigned char)(SWIG_As_unsigned_SS_char(obj3
));
11195 if (SWIG_arg_fail(4)) SWIG_fail
;
11198 arg5
= (unsigned char)(SWIG_As_unsigned_SS_char(obj4
));
11199 if (SWIG_arg_fail(5)) SWIG_fail
;
11202 arg6
= (unsigned char)(SWIG_As_unsigned_SS_char(obj5
));
11203 if (SWIG_arg_fail(6)) SWIG_fail
;
11206 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11207 (arg1
)->SetRGB(arg2
,arg3
,arg4
,arg5
,arg6
);
11209 wxPyEndAllowThreads(__tstate
);
11210 if (PyErr_Occurred()) SWIG_fail
;
11212 Py_INCREF(Py_None
); resultobj
= Py_None
;
11219 static PyObject
*_wrap_Image_SetRGBRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11220 PyObject
*resultobj
;
11221 wxImage
*arg1
= (wxImage
*) 0 ;
11223 unsigned char arg3
;
11224 unsigned char arg4
;
11225 unsigned char arg5
;
11227 PyObject
* obj0
= 0 ;
11228 PyObject
* obj1
= 0 ;
11229 PyObject
* obj2
= 0 ;
11230 PyObject
* obj3
= 0 ;
11231 PyObject
* obj4
= 0 ;
11232 char *kwnames
[] = {
11233 (char *) "self",(char *) "rect",(char *) "r",(char *) "g",(char *) "b", NULL
11236 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Image_SetRGBRect",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
11237 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
11238 if (SWIG_arg_fail(1)) SWIG_fail
;
11241 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
11244 arg3
= (unsigned char)(SWIG_As_unsigned_SS_char(obj2
));
11245 if (SWIG_arg_fail(3)) SWIG_fail
;
11248 arg4
= (unsigned char)(SWIG_As_unsigned_SS_char(obj3
));
11249 if (SWIG_arg_fail(4)) SWIG_fail
;
11252 arg5
= (unsigned char)(SWIG_As_unsigned_SS_char(obj4
));
11253 if (SWIG_arg_fail(5)) SWIG_fail
;
11256 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11257 (arg1
)->SetRGB((wxRect
const &)*arg2
,arg3
,arg4
,arg5
);
11259 wxPyEndAllowThreads(__tstate
);
11260 if (PyErr_Occurred()) SWIG_fail
;
11262 Py_INCREF(Py_None
); resultobj
= Py_None
;
11269 static PyObject
*_wrap_Image_GetRed(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11270 PyObject
*resultobj
;
11271 wxImage
*arg1
= (wxImage
*) 0 ;
11274 unsigned char result
;
11275 PyObject
* obj0
= 0 ;
11276 PyObject
* obj1
= 0 ;
11277 PyObject
* obj2
= 0 ;
11278 char *kwnames
[] = {
11279 (char *) "self",(char *) "x",(char *) "y", NULL
11282 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_GetRed",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11283 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
11284 if (SWIG_arg_fail(1)) SWIG_fail
;
11286 arg2
= (int)(SWIG_As_int(obj1
));
11287 if (SWIG_arg_fail(2)) SWIG_fail
;
11290 arg3
= (int)(SWIG_As_int(obj2
));
11291 if (SWIG_arg_fail(3)) SWIG_fail
;
11294 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11295 result
= (unsigned char)(arg1
)->GetRed(arg2
,arg3
);
11297 wxPyEndAllowThreads(__tstate
);
11298 if (PyErr_Occurred()) SWIG_fail
;
11301 resultobj
= SWIG_From_unsigned_SS_char((unsigned char)(result
));
11309 static PyObject
*_wrap_Image_GetGreen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11310 PyObject
*resultobj
;
11311 wxImage
*arg1
= (wxImage
*) 0 ;
11314 unsigned char result
;
11315 PyObject
* obj0
= 0 ;
11316 PyObject
* obj1
= 0 ;
11317 PyObject
* obj2
= 0 ;
11318 char *kwnames
[] = {
11319 (char *) "self",(char *) "x",(char *) "y", NULL
11322 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_GetGreen",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11323 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
11324 if (SWIG_arg_fail(1)) SWIG_fail
;
11326 arg2
= (int)(SWIG_As_int(obj1
));
11327 if (SWIG_arg_fail(2)) SWIG_fail
;
11330 arg3
= (int)(SWIG_As_int(obj2
));
11331 if (SWIG_arg_fail(3)) SWIG_fail
;
11334 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11335 result
= (unsigned char)(arg1
)->GetGreen(arg2
,arg3
);
11337 wxPyEndAllowThreads(__tstate
);
11338 if (PyErr_Occurred()) SWIG_fail
;
11341 resultobj
= SWIG_From_unsigned_SS_char((unsigned char)(result
));
11349 static PyObject
*_wrap_Image_GetBlue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11350 PyObject
*resultobj
;
11351 wxImage
*arg1
= (wxImage
*) 0 ;
11354 unsigned char result
;
11355 PyObject
* obj0
= 0 ;
11356 PyObject
* obj1
= 0 ;
11357 PyObject
* obj2
= 0 ;
11358 char *kwnames
[] = {
11359 (char *) "self",(char *) "x",(char *) "y", NULL
11362 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_GetBlue",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11363 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
11364 if (SWIG_arg_fail(1)) SWIG_fail
;
11366 arg2
= (int)(SWIG_As_int(obj1
));
11367 if (SWIG_arg_fail(2)) SWIG_fail
;
11370 arg3
= (int)(SWIG_As_int(obj2
));
11371 if (SWIG_arg_fail(3)) SWIG_fail
;
11374 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11375 result
= (unsigned char)(arg1
)->GetBlue(arg2
,arg3
);
11377 wxPyEndAllowThreads(__tstate
);
11378 if (PyErr_Occurred()) SWIG_fail
;
11381 resultobj
= SWIG_From_unsigned_SS_char((unsigned char)(result
));
11389 static PyObject
*_wrap_Image_SetAlpha(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11390 PyObject
*resultobj
;
11391 wxImage
*arg1
= (wxImage
*) 0 ;
11394 unsigned char arg4
;
11395 PyObject
* obj0
= 0 ;
11396 PyObject
* obj1
= 0 ;
11397 PyObject
* obj2
= 0 ;
11398 PyObject
* obj3
= 0 ;
11399 char *kwnames
[] = {
11400 (char *) "self",(char *) "x",(char *) "y",(char *) "alpha", NULL
11403 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Image_SetAlpha",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11404 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
11405 if (SWIG_arg_fail(1)) SWIG_fail
;
11407 arg2
= (int)(SWIG_As_int(obj1
));
11408 if (SWIG_arg_fail(2)) SWIG_fail
;
11411 arg3
= (int)(SWIG_As_int(obj2
));
11412 if (SWIG_arg_fail(3)) SWIG_fail
;
11415 arg4
= (unsigned char)(SWIG_As_unsigned_SS_char(obj3
));
11416 if (SWIG_arg_fail(4)) SWIG_fail
;
11419 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11420 (arg1
)->SetAlpha(arg2
,arg3
,arg4
);
11422 wxPyEndAllowThreads(__tstate
);
11423 if (PyErr_Occurred()) SWIG_fail
;
11425 Py_INCREF(Py_None
); resultobj
= Py_None
;
11432 static PyObject
*_wrap_Image_GetAlpha(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11433 PyObject
*resultobj
;
11434 wxImage
*arg1
= (wxImage
*) 0 ;
11437 unsigned char result
;
11438 PyObject
* obj0
= 0 ;
11439 PyObject
* obj1
= 0 ;
11440 PyObject
* obj2
= 0 ;
11441 char *kwnames
[] = {
11442 (char *) "self",(char *) "x",(char *) "y", NULL
11445 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_GetAlpha",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11446 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
11447 if (SWIG_arg_fail(1)) SWIG_fail
;
11449 arg2
= (int)(SWIG_As_int(obj1
));
11450 if (SWIG_arg_fail(2)) SWIG_fail
;
11453 arg3
= (int)(SWIG_As_int(obj2
));
11454 if (SWIG_arg_fail(3)) SWIG_fail
;
11457 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11458 result
= (unsigned char)(arg1
)->GetAlpha(arg2
,arg3
);
11460 wxPyEndAllowThreads(__tstate
);
11461 if (PyErr_Occurred()) SWIG_fail
;
11464 resultobj
= SWIG_From_unsigned_SS_char((unsigned char)(result
));
11472 static PyObject
*_wrap_Image_HasAlpha(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11473 PyObject
*resultobj
;
11474 wxImage
*arg1
= (wxImage
*) 0 ;
11476 PyObject
* obj0
= 0 ;
11477 char *kwnames
[] = {
11478 (char *) "self", NULL
11481 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_HasAlpha",kwnames
,&obj0
)) goto fail
;
11482 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
11483 if (SWIG_arg_fail(1)) SWIG_fail
;
11485 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11486 result
= (bool)(arg1
)->HasAlpha();
11488 wxPyEndAllowThreads(__tstate
);
11489 if (PyErr_Occurred()) SWIG_fail
;
11492 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11500 static PyObject
*_wrap_Image_InitAlpha(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11501 PyObject
*resultobj
;
11502 wxImage
*arg1
= (wxImage
*) 0 ;
11503 PyObject
* obj0
= 0 ;
11504 char *kwnames
[] = {
11505 (char *) "self", NULL
11508 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_InitAlpha",kwnames
,&obj0
)) goto fail
;
11509 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
11510 if (SWIG_arg_fail(1)) SWIG_fail
;
11512 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11513 (arg1
)->InitAlpha();
11515 wxPyEndAllowThreads(__tstate
);
11516 if (PyErr_Occurred()) SWIG_fail
;
11518 Py_INCREF(Py_None
); resultobj
= Py_None
;
11525 static PyObject
*_wrap_Image_IsTransparent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11526 PyObject
*resultobj
;
11527 wxImage
*arg1
= (wxImage
*) 0 ;
11530 unsigned char arg4
= (unsigned char) wxIMAGE_ALPHA_THRESHOLD
;
11532 PyObject
* obj0
= 0 ;
11533 PyObject
* obj1
= 0 ;
11534 PyObject
* obj2
= 0 ;
11535 PyObject
* obj3
= 0 ;
11536 char *kwnames
[] = {
11537 (char *) "self",(char *) "x",(char *) "y",(char *) "threshold", NULL
11540 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Image_IsTransparent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11541 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
11542 if (SWIG_arg_fail(1)) SWIG_fail
;
11544 arg2
= (int)(SWIG_As_int(obj1
));
11545 if (SWIG_arg_fail(2)) SWIG_fail
;
11548 arg3
= (int)(SWIG_As_int(obj2
));
11549 if (SWIG_arg_fail(3)) SWIG_fail
;
11553 arg4
= (unsigned char)(SWIG_As_unsigned_SS_char(obj3
));
11554 if (SWIG_arg_fail(4)) SWIG_fail
;
11558 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11559 result
= (bool)((wxImage
const *)arg1
)->IsTransparent(arg2
,arg3
,arg4
);
11561 wxPyEndAllowThreads(__tstate
);
11562 if (PyErr_Occurred()) SWIG_fail
;
11565 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11573 static PyObject
*_wrap_Image_FindFirstUnusedColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11574 PyObject
*resultobj
;
11575 wxImage
*arg1
= (wxImage
*) 0 ;
11576 byte
*arg2
= (byte
*) 0 ;
11577 byte
*arg3
= (byte
*) 0 ;
11578 byte
*arg4
= (byte
*) 0 ;
11579 byte arg5
= (byte
) 0 ;
11580 byte arg6
= (byte
) 0 ;
11581 byte arg7
= (byte
) 0 ;
11589 PyObject
* obj0
= 0 ;
11590 PyObject
* obj1
= 0 ;
11591 PyObject
* obj2
= 0 ;
11592 PyObject
* obj3
= 0 ;
11593 char *kwnames
[] = {
11594 (char *) "self",(char *) "startR",(char *) "startG",(char *) "startB", NULL
11597 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
11598 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
11599 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
11600 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:Image_FindFirstUnusedColour",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11601 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
11602 if (SWIG_arg_fail(1)) SWIG_fail
;
11605 arg5
= (byte
)(SWIG_As_unsigned_SS_char(obj1
));
11606 if (SWIG_arg_fail(5)) SWIG_fail
;
11611 arg6
= (byte
)(SWIG_As_unsigned_SS_char(obj2
));
11612 if (SWIG_arg_fail(6)) SWIG_fail
;
11617 arg7
= (byte
)(SWIG_As_unsigned_SS_char(obj3
));
11618 if (SWIG_arg_fail(7)) SWIG_fail
;
11622 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11623 result
= (bool)((wxImage
const *)arg1
)->FindFirstUnusedColour(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
11625 wxPyEndAllowThreads(__tstate
);
11626 if (PyErr_Occurred()) SWIG_fail
;
11629 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11631 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
11632 SWIG_From_unsigned_SS_char((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_unsigned_char
, 0)));
11633 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
11634 SWIG_From_unsigned_SS_char((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_unsigned_char
, 0)));
11635 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
11636 SWIG_From_unsigned_SS_char((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_unsigned_char
, 0)));
11643 static PyObject
*_wrap_Image_ConvertAlphaToMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11644 PyObject
*resultobj
;
11645 wxImage
*arg1
= (wxImage
*) 0 ;
11646 byte arg2
= (byte
) wxIMAGE_ALPHA_THRESHOLD
;
11648 PyObject
* obj0
= 0 ;
11649 PyObject
* obj1
= 0 ;
11650 char *kwnames
[] = {
11651 (char *) "self",(char *) "threshold", NULL
11654 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Image_ConvertAlphaToMask",kwnames
,&obj0
,&obj1
)) goto fail
;
11655 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
11656 if (SWIG_arg_fail(1)) SWIG_fail
;
11659 arg2
= (byte
)(SWIG_As_unsigned_SS_char(obj1
));
11660 if (SWIG_arg_fail(2)) SWIG_fail
;
11664 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11665 result
= (bool)(arg1
)->ConvertAlphaToMask(arg2
);
11667 wxPyEndAllowThreads(__tstate
);
11668 if (PyErr_Occurred()) SWIG_fail
;
11671 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11679 static PyObject
*_wrap_Image_ConvertColourToAlpha(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11680 PyObject
*resultobj
;
11681 wxImage
*arg1
= (wxImage
*) 0 ;
11682 unsigned char arg2
;
11683 unsigned char arg3
;
11684 unsigned char arg4
;
11686 PyObject
* obj0
= 0 ;
11687 PyObject
* obj1
= 0 ;
11688 PyObject
* obj2
= 0 ;
11689 PyObject
* obj3
= 0 ;
11690 char *kwnames
[] = {
11691 (char *) "self",(char *) "r",(char *) "g",(char *) "b", NULL
11694 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Image_ConvertColourToAlpha",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11695 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
11696 if (SWIG_arg_fail(1)) SWIG_fail
;
11698 arg2
= (unsigned char)(SWIG_As_unsigned_SS_char(obj1
));
11699 if (SWIG_arg_fail(2)) SWIG_fail
;
11702 arg3
= (unsigned char)(SWIG_As_unsigned_SS_char(obj2
));
11703 if (SWIG_arg_fail(3)) SWIG_fail
;
11706 arg4
= (unsigned char)(SWIG_As_unsigned_SS_char(obj3
));
11707 if (SWIG_arg_fail(4)) SWIG_fail
;
11710 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11711 result
= (bool)(arg1
)->ConvertColourToAlpha(arg2
,arg3
,arg4
);
11713 wxPyEndAllowThreads(__tstate
);
11714 if (PyErr_Occurred()) SWIG_fail
;
11717 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11725 static PyObject
*_wrap_Image_SetMaskFromImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11726 PyObject
*resultobj
;
11727 wxImage
*arg1
= (wxImage
*) 0 ;
11728 wxImage
*arg2
= 0 ;
11733 PyObject
* obj0
= 0 ;
11734 PyObject
* obj1
= 0 ;
11735 PyObject
* obj2
= 0 ;
11736 PyObject
* obj3
= 0 ;
11737 PyObject
* obj4
= 0 ;
11738 char *kwnames
[] = {
11739 (char *) "self",(char *) "mask",(char *) "mr",(char *) "mg",(char *) "mb", NULL
11742 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Image_SetMaskFromImage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
11743 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
11744 if (SWIG_arg_fail(1)) SWIG_fail
;
11746 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
11747 if (SWIG_arg_fail(2)) SWIG_fail
;
11748 if (arg2
== NULL
) {
11749 SWIG_null_ref("wxImage");
11751 if (SWIG_arg_fail(2)) SWIG_fail
;
11754 arg3
= (byte
)(SWIG_As_unsigned_SS_char(obj2
));
11755 if (SWIG_arg_fail(3)) SWIG_fail
;
11758 arg4
= (byte
)(SWIG_As_unsigned_SS_char(obj3
));
11759 if (SWIG_arg_fail(4)) SWIG_fail
;
11762 arg5
= (byte
)(SWIG_As_unsigned_SS_char(obj4
));
11763 if (SWIG_arg_fail(5)) SWIG_fail
;
11766 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11767 result
= (bool)(arg1
)->SetMaskFromImage((wxImage
const &)*arg2
,arg3
,arg4
,arg5
);
11769 wxPyEndAllowThreads(__tstate
);
11770 if (PyErr_Occurred()) SWIG_fail
;
11773 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11781 static PyObject
*_wrap_Image_CanRead(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11782 PyObject
*resultobj
;
11783 wxString
*arg1
= 0 ;
11785 bool temp1
= false ;
11786 PyObject
* obj0
= 0 ;
11787 char *kwnames
[] = {
11788 (char *) "name", NULL
11791 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_CanRead",kwnames
,&obj0
)) goto fail
;
11793 arg1
= wxString_in_helper(obj0
);
11794 if (arg1
== NULL
) SWIG_fail
;
11798 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11799 result
= (bool)wxImage::CanRead((wxString
const &)*arg1
);
11801 wxPyEndAllowThreads(__tstate
);
11802 if (PyErr_Occurred()) SWIG_fail
;
11805 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11821 static PyObject
*_wrap_Image_GetImageCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11822 PyObject
*resultobj
;
11823 wxString
*arg1
= 0 ;
11824 long arg2
= (long) wxBITMAP_TYPE_ANY
;
11826 bool temp1
= false ;
11827 PyObject
* obj0
= 0 ;
11828 PyObject
* obj1
= 0 ;
11829 char *kwnames
[] = {
11830 (char *) "name",(char *) "type", NULL
11833 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Image_GetImageCount",kwnames
,&obj0
,&obj1
)) goto fail
;
11835 arg1
= wxString_in_helper(obj0
);
11836 if (arg1
== NULL
) SWIG_fail
;
11841 arg2
= (long)(SWIG_As_long(obj1
));
11842 if (SWIG_arg_fail(2)) SWIG_fail
;
11846 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11847 result
= (int)wxImage::GetImageCount((wxString
const &)*arg1
,arg2
);
11849 wxPyEndAllowThreads(__tstate
);
11850 if (PyErr_Occurred()) SWIG_fail
;
11853 resultobj
= SWIG_From_int((int)(result
));
11869 static PyObject
*_wrap_Image_LoadFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11870 PyObject
*resultobj
;
11871 wxImage
*arg1
= (wxImage
*) 0 ;
11872 wxString
*arg2
= 0 ;
11873 long arg3
= (long) wxBITMAP_TYPE_ANY
;
11874 int arg4
= (int) -1 ;
11876 bool temp2
= false ;
11877 PyObject
* obj0
= 0 ;
11878 PyObject
* obj1
= 0 ;
11879 PyObject
* obj2
= 0 ;
11880 PyObject
* obj3
= 0 ;
11881 char *kwnames
[] = {
11882 (char *) "self",(char *) "name",(char *) "type",(char *) "index", NULL
11885 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:Image_LoadFile",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11886 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
11887 if (SWIG_arg_fail(1)) SWIG_fail
;
11889 arg2
= wxString_in_helper(obj1
);
11890 if (arg2
== NULL
) SWIG_fail
;
11895 arg3
= (long)(SWIG_As_long(obj2
));
11896 if (SWIG_arg_fail(3)) SWIG_fail
;
11901 arg4
= (int)(SWIG_As_int(obj3
));
11902 if (SWIG_arg_fail(4)) SWIG_fail
;
11906 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11907 result
= (bool)(arg1
)->LoadFile((wxString
const &)*arg2
,arg3
,arg4
);
11909 wxPyEndAllowThreads(__tstate
);
11910 if (PyErr_Occurred()) SWIG_fail
;
11913 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11929 static PyObject
*_wrap_Image_LoadMimeFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11930 PyObject
*resultobj
;
11931 wxImage
*arg1
= (wxImage
*) 0 ;
11932 wxString
*arg2
= 0 ;
11933 wxString
*arg3
= 0 ;
11934 int arg4
= (int) -1 ;
11936 bool temp2
= false ;
11937 bool temp3
= false ;
11938 PyObject
* obj0
= 0 ;
11939 PyObject
* obj1
= 0 ;
11940 PyObject
* obj2
= 0 ;
11941 PyObject
* obj3
= 0 ;
11942 char *kwnames
[] = {
11943 (char *) "self",(char *) "name",(char *) "mimetype",(char *) "index", NULL
11946 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Image_LoadMimeFile",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11947 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
11948 if (SWIG_arg_fail(1)) SWIG_fail
;
11950 arg2
= wxString_in_helper(obj1
);
11951 if (arg2
== NULL
) SWIG_fail
;
11955 arg3
= wxString_in_helper(obj2
);
11956 if (arg3
== NULL
) SWIG_fail
;
11961 arg4
= (int)(SWIG_As_int(obj3
));
11962 if (SWIG_arg_fail(4)) SWIG_fail
;
11966 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11967 result
= (bool)(arg1
)->LoadFile((wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
);
11969 wxPyEndAllowThreads(__tstate
);
11970 if (PyErr_Occurred()) SWIG_fail
;
11973 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11997 static PyObject
*_wrap_Image_SaveFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11998 PyObject
*resultobj
;
11999 wxImage
*arg1
= (wxImage
*) 0 ;
12000 wxString
*arg2
= 0 ;
12003 bool temp2
= false ;
12004 PyObject
* obj0
= 0 ;
12005 PyObject
* obj1
= 0 ;
12006 PyObject
* obj2
= 0 ;
12007 char *kwnames
[] = {
12008 (char *) "self",(char *) "name",(char *) "type", NULL
12011 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_SaveFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12012 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12013 if (SWIG_arg_fail(1)) SWIG_fail
;
12015 arg2
= wxString_in_helper(obj1
);
12016 if (arg2
== NULL
) SWIG_fail
;
12020 arg3
= (int)(SWIG_As_int(obj2
));
12021 if (SWIG_arg_fail(3)) SWIG_fail
;
12024 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12025 result
= (bool)(arg1
)->SaveFile((wxString
const &)*arg2
,arg3
);
12027 wxPyEndAllowThreads(__tstate
);
12028 if (PyErr_Occurred()) SWIG_fail
;
12031 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12047 static PyObject
*_wrap_Image_SaveMimeFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12048 PyObject
*resultobj
;
12049 wxImage
*arg1
= (wxImage
*) 0 ;
12050 wxString
*arg2
= 0 ;
12051 wxString
*arg3
= 0 ;
12053 bool temp2
= false ;
12054 bool temp3
= false ;
12055 PyObject
* obj0
= 0 ;
12056 PyObject
* obj1
= 0 ;
12057 PyObject
* obj2
= 0 ;
12058 char *kwnames
[] = {
12059 (char *) "self",(char *) "name",(char *) "mimetype", NULL
12062 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_SaveMimeFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12063 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12064 if (SWIG_arg_fail(1)) SWIG_fail
;
12066 arg2
= wxString_in_helper(obj1
);
12067 if (arg2
== NULL
) SWIG_fail
;
12071 arg3
= wxString_in_helper(obj2
);
12072 if (arg3
== NULL
) SWIG_fail
;
12076 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12077 result
= (bool)(arg1
)->SaveFile((wxString
const &)*arg2
,(wxString
const &)*arg3
);
12079 wxPyEndAllowThreads(__tstate
);
12080 if (PyErr_Occurred()) SWIG_fail
;
12083 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12107 static PyObject
*_wrap_Image_CanReadStream(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12108 PyObject
*resultobj
;
12109 wxInputStream
*arg1
= 0 ;
12111 wxPyInputStream
*temp1
;
12113 PyObject
* obj0
= 0 ;
12114 char *kwnames
[] = {
12115 (char *) "stream", NULL
12118 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_CanReadStream",kwnames
,&obj0
)) goto fail
;
12120 if (wxPyConvertSwigPtr(obj0
, (void **)&temp1
, wxT("wxPyInputStream"))) {
12121 arg1
= temp1
->m_wxis
;
12124 PyErr_Clear(); // clear the failure of the wxPyConvert above
12125 arg1
= wxPyCBInputStream_create(obj0
, false);
12126 if (arg1
== NULL
) {
12127 PyErr_SetString(PyExc_TypeError
, "Expected wx.InputStream or Python file-like object.");
12134 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12135 result
= (bool)wxImage::CanRead(*arg1
);
12137 wxPyEndAllowThreads(__tstate
);
12138 if (PyErr_Occurred()) SWIG_fail
;
12141 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12144 if (created1
) delete arg1
;
12149 if (created1
) delete arg1
;
12155 static PyObject
*_wrap_Image_LoadStream(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12156 PyObject
*resultobj
;
12157 wxImage
*arg1
= (wxImage
*) 0 ;
12158 wxInputStream
*arg2
= 0 ;
12159 long arg3
= (long) wxBITMAP_TYPE_ANY
;
12160 int arg4
= (int) -1 ;
12162 wxPyInputStream
*temp2
;
12164 PyObject
* obj0
= 0 ;
12165 PyObject
* obj1
= 0 ;
12166 PyObject
* obj2
= 0 ;
12167 PyObject
* obj3
= 0 ;
12168 char *kwnames
[] = {
12169 (char *) "self",(char *) "stream",(char *) "type",(char *) "index", NULL
12172 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:Image_LoadStream",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
12173 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12174 if (SWIG_arg_fail(1)) SWIG_fail
;
12176 if (wxPyConvertSwigPtr(obj1
, (void **)&temp2
, wxT("wxPyInputStream"))) {
12177 arg2
= temp2
->m_wxis
;
12180 PyErr_Clear(); // clear the failure of the wxPyConvert above
12181 arg2
= wxPyCBInputStream_create(obj1
, false);
12182 if (arg2
== NULL
) {
12183 PyErr_SetString(PyExc_TypeError
, "Expected wx.InputStream or Python file-like object.");
12191 arg3
= (long)(SWIG_As_long(obj2
));
12192 if (SWIG_arg_fail(3)) SWIG_fail
;
12197 arg4
= (int)(SWIG_As_int(obj3
));
12198 if (SWIG_arg_fail(4)) SWIG_fail
;
12202 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12203 result
= (bool)(arg1
)->LoadFile(*arg2
,arg3
,arg4
);
12205 wxPyEndAllowThreads(__tstate
);
12206 if (PyErr_Occurred()) SWIG_fail
;
12209 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12212 if (created2
) delete arg2
;
12217 if (created2
) delete arg2
;
12223 static PyObject
*_wrap_Image_LoadMimeStream(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12224 PyObject
*resultobj
;
12225 wxImage
*arg1
= (wxImage
*) 0 ;
12226 wxInputStream
*arg2
= 0 ;
12227 wxString
*arg3
= 0 ;
12228 int arg4
= (int) -1 ;
12230 wxPyInputStream
*temp2
;
12232 bool temp3
= false ;
12233 PyObject
* obj0
= 0 ;
12234 PyObject
* obj1
= 0 ;
12235 PyObject
* obj2
= 0 ;
12236 PyObject
* obj3
= 0 ;
12237 char *kwnames
[] = {
12238 (char *) "self",(char *) "stream",(char *) "mimetype",(char *) "index", NULL
12241 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Image_LoadMimeStream",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
12242 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12243 if (SWIG_arg_fail(1)) SWIG_fail
;
12245 if (wxPyConvertSwigPtr(obj1
, (void **)&temp2
, wxT("wxPyInputStream"))) {
12246 arg2
= temp2
->m_wxis
;
12249 PyErr_Clear(); // clear the failure of the wxPyConvert above
12250 arg2
= wxPyCBInputStream_create(obj1
, false);
12251 if (arg2
== NULL
) {
12252 PyErr_SetString(PyExc_TypeError
, "Expected wx.InputStream or Python file-like object.");
12259 arg3
= wxString_in_helper(obj2
);
12260 if (arg3
== NULL
) SWIG_fail
;
12265 arg4
= (int)(SWIG_As_int(obj3
));
12266 if (SWIG_arg_fail(4)) SWIG_fail
;
12270 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12271 result
= (bool)(arg1
)->LoadFile(*arg2
,(wxString
const &)*arg3
,arg4
);
12273 wxPyEndAllowThreads(__tstate
);
12274 if (PyErr_Occurred()) SWIG_fail
;
12277 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12280 if (created2
) delete arg2
;
12289 if (created2
) delete arg2
;
12299 static PyObject
*_wrap_Image_Ok(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12300 PyObject
*resultobj
;
12301 wxImage
*arg1
= (wxImage
*) 0 ;
12303 PyObject
* obj0
= 0 ;
12304 char *kwnames
[] = {
12305 (char *) "self", NULL
12308 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_Ok",kwnames
,&obj0
)) goto fail
;
12309 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12310 if (SWIG_arg_fail(1)) SWIG_fail
;
12312 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12313 result
= (bool)(arg1
)->Ok();
12315 wxPyEndAllowThreads(__tstate
);
12316 if (PyErr_Occurred()) SWIG_fail
;
12319 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12327 static PyObject
*_wrap_Image_GetWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12328 PyObject
*resultobj
;
12329 wxImage
*arg1
= (wxImage
*) 0 ;
12331 PyObject
* obj0
= 0 ;
12332 char *kwnames
[] = {
12333 (char *) "self", NULL
12336 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetWidth",kwnames
,&obj0
)) goto fail
;
12337 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12338 if (SWIG_arg_fail(1)) SWIG_fail
;
12340 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12341 result
= (int)(arg1
)->GetWidth();
12343 wxPyEndAllowThreads(__tstate
);
12344 if (PyErr_Occurred()) SWIG_fail
;
12347 resultobj
= SWIG_From_int((int)(result
));
12355 static PyObject
*_wrap_Image_GetHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12356 PyObject
*resultobj
;
12357 wxImage
*arg1
= (wxImage
*) 0 ;
12359 PyObject
* obj0
= 0 ;
12360 char *kwnames
[] = {
12361 (char *) "self", NULL
12364 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetHeight",kwnames
,&obj0
)) goto fail
;
12365 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12366 if (SWIG_arg_fail(1)) SWIG_fail
;
12368 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12369 result
= (int)(arg1
)->GetHeight();
12371 wxPyEndAllowThreads(__tstate
);
12372 if (PyErr_Occurred()) SWIG_fail
;
12375 resultobj
= SWIG_From_int((int)(result
));
12383 static PyObject
*_wrap_Image_GetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12384 PyObject
*resultobj
;
12385 wxImage
*arg1
= (wxImage
*) 0 ;
12387 PyObject
* obj0
= 0 ;
12388 char *kwnames
[] = {
12389 (char *) "self", NULL
12392 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetSize",kwnames
,&obj0
)) goto fail
;
12393 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12394 if (SWIG_arg_fail(1)) SWIG_fail
;
12396 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12397 result
= wxImage_GetSize(arg1
);
12399 wxPyEndAllowThreads(__tstate
);
12400 if (PyErr_Occurred()) SWIG_fail
;
12403 wxSize
* resultptr
;
12404 resultptr
= new wxSize((wxSize
&)(result
));
12405 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
12413 static PyObject
*_wrap_Image_GetSubImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12414 PyObject
*resultobj
;
12415 wxImage
*arg1
= (wxImage
*) 0 ;
12417 SwigValueWrapper
<wxImage
> result
;
12419 PyObject
* obj0
= 0 ;
12420 PyObject
* obj1
= 0 ;
12421 char *kwnames
[] = {
12422 (char *) "self",(char *) "rect", NULL
12425 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_GetSubImage",kwnames
,&obj0
,&obj1
)) goto fail
;
12426 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12427 if (SWIG_arg_fail(1)) SWIG_fail
;
12430 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
12433 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12434 result
= (arg1
)->GetSubImage((wxRect
const &)*arg2
);
12436 wxPyEndAllowThreads(__tstate
);
12437 if (PyErr_Occurred()) SWIG_fail
;
12440 wxImage
* resultptr
;
12441 resultptr
= new wxImage((wxImage
&)(result
));
12442 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
12450 static PyObject
*_wrap_Image_Size(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12451 PyObject
*resultobj
;
12452 wxImage
*arg1
= (wxImage
*) 0 ;
12454 wxPoint
*arg3
= 0 ;
12455 int arg4
= (int) -1 ;
12456 int arg5
= (int) -1 ;
12457 int arg6
= (int) -1 ;
12458 SwigValueWrapper
<wxImage
> result
;
12461 PyObject
* obj0
= 0 ;
12462 PyObject
* obj1
= 0 ;
12463 PyObject
* obj2
= 0 ;
12464 PyObject
* obj3
= 0 ;
12465 PyObject
* obj4
= 0 ;
12466 PyObject
* obj5
= 0 ;
12467 char *kwnames
[] = {
12468 (char *) "self",(char *) "size",(char *) "pos",(char *) "r",(char *) "g",(char *) "b", NULL
12471 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOO:Image_Size",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
12472 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12473 if (SWIG_arg_fail(1)) SWIG_fail
;
12476 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
12480 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
12484 arg4
= (int)(SWIG_As_int(obj3
));
12485 if (SWIG_arg_fail(4)) SWIG_fail
;
12490 arg5
= (int)(SWIG_As_int(obj4
));
12491 if (SWIG_arg_fail(5)) SWIG_fail
;
12496 arg6
= (int)(SWIG_As_int(obj5
));
12497 if (SWIG_arg_fail(6)) SWIG_fail
;
12501 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12502 result
= ((wxImage
const *)arg1
)->Size((wxSize
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
,arg5
,arg6
);
12504 wxPyEndAllowThreads(__tstate
);
12505 if (PyErr_Occurred()) SWIG_fail
;
12508 wxImage
* resultptr
;
12509 resultptr
= new wxImage((wxImage
&)(result
));
12510 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
12518 static PyObject
*_wrap_Image_Copy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12519 PyObject
*resultobj
;
12520 wxImage
*arg1
= (wxImage
*) 0 ;
12521 SwigValueWrapper
<wxImage
> result
;
12522 PyObject
* obj0
= 0 ;
12523 char *kwnames
[] = {
12524 (char *) "self", NULL
12527 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_Copy",kwnames
,&obj0
)) goto fail
;
12528 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12529 if (SWIG_arg_fail(1)) SWIG_fail
;
12531 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12532 result
= (arg1
)->Copy();
12534 wxPyEndAllowThreads(__tstate
);
12535 if (PyErr_Occurred()) SWIG_fail
;
12538 wxImage
* resultptr
;
12539 resultptr
= new wxImage((wxImage
&)(result
));
12540 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
12548 static PyObject
*_wrap_Image_Paste(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12549 PyObject
*resultobj
;
12550 wxImage
*arg1
= (wxImage
*) 0 ;
12551 wxImage
*arg2
= 0 ;
12554 PyObject
* obj0
= 0 ;
12555 PyObject
* obj1
= 0 ;
12556 PyObject
* obj2
= 0 ;
12557 PyObject
* obj3
= 0 ;
12558 char *kwnames
[] = {
12559 (char *) "self",(char *) "image",(char *) "x",(char *) "y", NULL
12562 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Image_Paste",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
12563 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12564 if (SWIG_arg_fail(1)) SWIG_fail
;
12566 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12567 if (SWIG_arg_fail(2)) SWIG_fail
;
12568 if (arg2
== NULL
) {
12569 SWIG_null_ref("wxImage");
12571 if (SWIG_arg_fail(2)) SWIG_fail
;
12574 arg3
= (int)(SWIG_As_int(obj2
));
12575 if (SWIG_arg_fail(3)) SWIG_fail
;
12578 arg4
= (int)(SWIG_As_int(obj3
));
12579 if (SWIG_arg_fail(4)) SWIG_fail
;
12582 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12583 (arg1
)->Paste((wxImage
const &)*arg2
,arg3
,arg4
);
12585 wxPyEndAllowThreads(__tstate
);
12586 if (PyErr_Occurred()) SWIG_fail
;
12588 Py_INCREF(Py_None
); resultobj
= Py_None
;
12595 static PyObject
*_wrap_Image_GetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12596 PyObject
*resultobj
;
12597 wxImage
*arg1
= (wxImage
*) 0 ;
12599 PyObject
* obj0
= 0 ;
12600 char *kwnames
[] = {
12601 (char *) "self", NULL
12604 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetData",kwnames
,&obj0
)) goto fail
;
12605 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12606 if (SWIG_arg_fail(1)) SWIG_fail
;
12608 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12609 result
= (PyObject
*)wxImage_GetData(arg1
);
12611 wxPyEndAllowThreads(__tstate
);
12612 if (PyErr_Occurred()) SWIG_fail
;
12614 resultobj
= result
;
12621 static PyObject
*_wrap_Image_SetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12622 PyObject
*resultobj
;
12623 wxImage
*arg1
= (wxImage
*) 0 ;
12626 PyObject
* obj0
= 0 ;
12627 PyObject
* obj1
= 0 ;
12628 char *kwnames
[] = {
12629 (char *) "self",(char *) "data", NULL
12632 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
12633 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12634 if (SWIG_arg_fail(1)) SWIG_fail
;
12636 if (!PyArg_Parse(obj1
, "t#", &arg2
, &arg3
)) SWIG_fail
;
12639 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12640 wxImage_SetData(arg1
,arg2
,arg3
);
12642 wxPyEndAllowThreads(__tstate
);
12643 if (PyErr_Occurred()) SWIG_fail
;
12645 Py_INCREF(Py_None
); resultobj
= Py_None
;
12652 static PyObject
*_wrap_Image_GetDataBuffer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12653 PyObject
*resultobj
;
12654 wxImage
*arg1
= (wxImage
*) 0 ;
12656 PyObject
* obj0
= 0 ;
12657 char *kwnames
[] = {
12658 (char *) "self", NULL
12661 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetDataBuffer",kwnames
,&obj0
)) goto fail
;
12662 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12663 if (SWIG_arg_fail(1)) SWIG_fail
;
12665 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12666 result
= (PyObject
*)wxImage_GetDataBuffer(arg1
);
12668 wxPyEndAllowThreads(__tstate
);
12669 if (PyErr_Occurred()) SWIG_fail
;
12671 resultobj
= result
;
12678 static PyObject
*_wrap_Image_SetDataBuffer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12679 PyObject
*resultobj
;
12680 wxImage
*arg1
= (wxImage
*) 0 ;
12683 PyObject
* obj0
= 0 ;
12684 PyObject
* obj1
= 0 ;
12685 char *kwnames
[] = {
12686 (char *) "self",(char *) "data", NULL
12689 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_SetDataBuffer",kwnames
,&obj0
,&obj1
)) goto fail
;
12690 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12691 if (SWIG_arg_fail(1)) SWIG_fail
;
12693 if (!PyArg_Parse(obj1
, "t#", &arg2
, &arg3
)) SWIG_fail
;
12696 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12697 wxImage_SetDataBuffer(arg1
,arg2
,arg3
);
12699 wxPyEndAllowThreads(__tstate
);
12700 if (PyErr_Occurred()) SWIG_fail
;
12702 Py_INCREF(Py_None
); resultobj
= Py_None
;
12709 static PyObject
*_wrap_Image_GetAlphaData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12710 PyObject
*resultobj
;
12711 wxImage
*arg1
= (wxImage
*) 0 ;
12713 PyObject
* obj0
= 0 ;
12714 char *kwnames
[] = {
12715 (char *) "self", NULL
12718 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetAlphaData",kwnames
,&obj0
)) goto fail
;
12719 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12720 if (SWIG_arg_fail(1)) SWIG_fail
;
12722 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12723 result
= (PyObject
*)wxImage_GetAlphaData(arg1
);
12725 wxPyEndAllowThreads(__tstate
);
12726 if (PyErr_Occurred()) SWIG_fail
;
12728 resultobj
= result
;
12735 static PyObject
*_wrap_Image_SetAlphaData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12736 PyObject
*resultobj
;
12737 wxImage
*arg1
= (wxImage
*) 0 ;
12740 PyObject
* obj0
= 0 ;
12741 PyObject
* obj1
= 0 ;
12742 char *kwnames
[] = {
12743 (char *) "self",(char *) "alpha", NULL
12746 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_SetAlphaData",kwnames
,&obj0
,&obj1
)) goto fail
;
12747 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12748 if (SWIG_arg_fail(1)) SWIG_fail
;
12750 if (!PyArg_Parse(obj1
, "t#", &arg2
, &arg3
)) SWIG_fail
;
12753 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12754 wxImage_SetAlphaData(arg1
,arg2
,arg3
);
12756 wxPyEndAllowThreads(__tstate
);
12757 if (PyErr_Occurred()) SWIG_fail
;
12759 Py_INCREF(Py_None
); resultobj
= Py_None
;
12766 static PyObject
*_wrap_Image_GetAlphaBuffer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12767 PyObject
*resultobj
;
12768 wxImage
*arg1
= (wxImage
*) 0 ;
12770 PyObject
* obj0
= 0 ;
12771 char *kwnames
[] = {
12772 (char *) "self", NULL
12775 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetAlphaBuffer",kwnames
,&obj0
)) goto fail
;
12776 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12777 if (SWIG_arg_fail(1)) SWIG_fail
;
12779 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12780 result
= (PyObject
*)wxImage_GetAlphaBuffer(arg1
);
12782 wxPyEndAllowThreads(__tstate
);
12783 if (PyErr_Occurred()) SWIG_fail
;
12785 resultobj
= result
;
12792 static PyObject
*_wrap_Image_SetAlphaBuffer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12793 PyObject
*resultobj
;
12794 wxImage
*arg1
= (wxImage
*) 0 ;
12797 PyObject
* obj0
= 0 ;
12798 PyObject
* obj1
= 0 ;
12799 char *kwnames
[] = {
12800 (char *) "self",(char *) "alpha", NULL
12803 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_SetAlphaBuffer",kwnames
,&obj0
,&obj1
)) goto fail
;
12804 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12805 if (SWIG_arg_fail(1)) SWIG_fail
;
12807 if (!PyArg_Parse(obj1
, "t#", &arg2
, &arg3
)) SWIG_fail
;
12810 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12811 wxImage_SetAlphaBuffer(arg1
,arg2
,arg3
);
12813 wxPyEndAllowThreads(__tstate
);
12814 if (PyErr_Occurred()) SWIG_fail
;
12816 Py_INCREF(Py_None
); resultobj
= Py_None
;
12823 static PyObject
*_wrap_Image_SetMaskColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12824 PyObject
*resultobj
;
12825 wxImage
*arg1
= (wxImage
*) 0 ;
12826 unsigned char arg2
;
12827 unsigned char arg3
;
12828 unsigned char arg4
;
12829 PyObject
* obj0
= 0 ;
12830 PyObject
* obj1
= 0 ;
12831 PyObject
* obj2
= 0 ;
12832 PyObject
* obj3
= 0 ;
12833 char *kwnames
[] = {
12834 (char *) "self",(char *) "r",(char *) "g",(char *) "b", NULL
12837 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Image_SetMaskColour",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
12838 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12839 if (SWIG_arg_fail(1)) SWIG_fail
;
12841 arg2
= (unsigned char)(SWIG_As_unsigned_SS_char(obj1
));
12842 if (SWIG_arg_fail(2)) SWIG_fail
;
12845 arg3
= (unsigned char)(SWIG_As_unsigned_SS_char(obj2
));
12846 if (SWIG_arg_fail(3)) SWIG_fail
;
12849 arg4
= (unsigned char)(SWIG_As_unsigned_SS_char(obj3
));
12850 if (SWIG_arg_fail(4)) SWIG_fail
;
12853 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12854 (arg1
)->SetMaskColour(arg2
,arg3
,arg4
);
12856 wxPyEndAllowThreads(__tstate
);
12857 if (PyErr_Occurred()) SWIG_fail
;
12859 Py_INCREF(Py_None
); resultobj
= Py_None
;
12866 static PyObject
*_wrap_Image_GetOrFindMaskColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12867 PyObject
*resultobj
;
12868 wxImage
*arg1
= (wxImage
*) 0 ;
12869 unsigned char *arg2
= (unsigned char *) 0 ;
12870 unsigned char *arg3
= (unsigned char *) 0 ;
12871 unsigned char *arg4
= (unsigned char *) 0 ;
12872 unsigned char temp2
;
12874 unsigned char temp3
;
12876 unsigned char temp4
;
12878 PyObject
* obj0
= 0 ;
12879 char *kwnames
[] = {
12880 (char *) "self", NULL
12883 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
12884 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
12885 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
12886 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetOrFindMaskColour",kwnames
,&obj0
)) goto fail
;
12887 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12888 if (SWIG_arg_fail(1)) SWIG_fail
;
12890 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12891 ((wxImage
const *)arg1
)->GetOrFindMaskColour(arg2
,arg3
,arg4
);
12893 wxPyEndAllowThreads(__tstate
);
12894 if (PyErr_Occurred()) SWIG_fail
;
12896 Py_INCREF(Py_None
); resultobj
= Py_None
;
12897 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
12898 SWIG_From_unsigned_SS_char((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_unsigned_char
, 0)));
12899 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
12900 SWIG_From_unsigned_SS_char((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_unsigned_char
, 0)));
12901 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
12902 SWIG_From_unsigned_SS_char((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_unsigned_char
, 0)));
12909 static PyObject
*_wrap_Image_GetMaskRed(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12910 PyObject
*resultobj
;
12911 wxImage
*arg1
= (wxImage
*) 0 ;
12912 unsigned char result
;
12913 PyObject
* obj0
= 0 ;
12914 char *kwnames
[] = {
12915 (char *) "self", NULL
12918 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetMaskRed",kwnames
,&obj0
)) goto fail
;
12919 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12920 if (SWIG_arg_fail(1)) SWIG_fail
;
12922 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12923 result
= (unsigned char)(arg1
)->GetMaskRed();
12925 wxPyEndAllowThreads(__tstate
);
12926 if (PyErr_Occurred()) SWIG_fail
;
12929 resultobj
= SWIG_From_unsigned_SS_char((unsigned char)(result
));
12937 static PyObject
*_wrap_Image_GetMaskGreen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12938 PyObject
*resultobj
;
12939 wxImage
*arg1
= (wxImage
*) 0 ;
12940 unsigned char result
;
12941 PyObject
* obj0
= 0 ;
12942 char *kwnames
[] = {
12943 (char *) "self", NULL
12946 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetMaskGreen",kwnames
,&obj0
)) goto fail
;
12947 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12948 if (SWIG_arg_fail(1)) SWIG_fail
;
12950 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12951 result
= (unsigned char)(arg1
)->GetMaskGreen();
12953 wxPyEndAllowThreads(__tstate
);
12954 if (PyErr_Occurred()) SWIG_fail
;
12957 resultobj
= SWIG_From_unsigned_SS_char((unsigned char)(result
));
12965 static PyObject
*_wrap_Image_GetMaskBlue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12966 PyObject
*resultobj
;
12967 wxImage
*arg1
= (wxImage
*) 0 ;
12968 unsigned char result
;
12969 PyObject
* obj0
= 0 ;
12970 char *kwnames
[] = {
12971 (char *) "self", NULL
12974 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetMaskBlue",kwnames
,&obj0
)) goto fail
;
12975 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12976 if (SWIG_arg_fail(1)) SWIG_fail
;
12978 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12979 result
= (unsigned char)(arg1
)->GetMaskBlue();
12981 wxPyEndAllowThreads(__tstate
);
12982 if (PyErr_Occurred()) SWIG_fail
;
12985 resultobj
= SWIG_From_unsigned_SS_char((unsigned char)(result
));
12993 static PyObject
*_wrap_Image_SetMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12994 PyObject
*resultobj
;
12995 wxImage
*arg1
= (wxImage
*) 0 ;
12996 bool arg2
= (bool) true ;
12997 PyObject
* obj0
= 0 ;
12998 PyObject
* obj1
= 0 ;
12999 char *kwnames
[] = {
13000 (char *) "self",(char *) "mask", NULL
13003 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Image_SetMask",kwnames
,&obj0
,&obj1
)) goto fail
;
13004 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
13005 if (SWIG_arg_fail(1)) SWIG_fail
;
13008 arg2
= (bool)(SWIG_As_bool(obj1
));
13009 if (SWIG_arg_fail(2)) SWIG_fail
;
13013 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13014 (arg1
)->SetMask(arg2
);
13016 wxPyEndAllowThreads(__tstate
);
13017 if (PyErr_Occurred()) SWIG_fail
;
13019 Py_INCREF(Py_None
); resultobj
= Py_None
;
13026 static PyObject
*_wrap_Image_HasMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13027 PyObject
*resultobj
;
13028 wxImage
*arg1
= (wxImage
*) 0 ;
13030 PyObject
* obj0
= 0 ;
13031 char *kwnames
[] = {
13032 (char *) "self", NULL
13035 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_HasMask",kwnames
,&obj0
)) goto fail
;
13036 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
13037 if (SWIG_arg_fail(1)) SWIG_fail
;
13039 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13040 result
= (bool)(arg1
)->HasMask();
13042 wxPyEndAllowThreads(__tstate
);
13043 if (PyErr_Occurred()) SWIG_fail
;
13046 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13054 static PyObject
*_wrap_Image_Rotate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13055 PyObject
*resultobj
;
13056 wxImage
*arg1
= (wxImage
*) 0 ;
13058 wxPoint
*arg3
= 0 ;
13059 bool arg4
= (bool) true ;
13060 wxPoint
*arg5
= (wxPoint
*) NULL
;
13061 SwigValueWrapper
<wxImage
> result
;
13063 PyObject
* obj0
= 0 ;
13064 PyObject
* obj1
= 0 ;
13065 PyObject
* obj2
= 0 ;
13066 PyObject
* obj3
= 0 ;
13067 PyObject
* obj4
= 0 ;
13068 char *kwnames
[] = {
13069 (char *) "self",(char *) "angle",(char *) "centre_of_rotation",(char *) "interpolating",(char *) "offset_after_rotation", NULL
13072 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:Image_Rotate",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
13073 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
13074 if (SWIG_arg_fail(1)) SWIG_fail
;
13076 arg2
= (double)(SWIG_As_double(obj1
));
13077 if (SWIG_arg_fail(2)) SWIG_fail
;
13081 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
13085 arg4
= (bool)(SWIG_As_bool(obj3
));
13086 if (SWIG_arg_fail(4)) SWIG_fail
;
13090 SWIG_Python_ConvertPtr(obj4
, (void **)&arg5
, SWIGTYPE_p_wxPoint
, SWIG_POINTER_EXCEPTION
| 0);
13091 if (SWIG_arg_fail(5)) SWIG_fail
;
13094 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13095 result
= ((wxImage
const *)arg1
)->Rotate(arg2
,(wxPoint
const &)*arg3
,arg4
,arg5
);
13097 wxPyEndAllowThreads(__tstate
);
13098 if (PyErr_Occurred()) SWIG_fail
;
13101 wxImage
* resultptr
;
13102 resultptr
= new wxImage((wxImage
&)(result
));
13103 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
13111 static PyObject
*_wrap_Image_Rotate90(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13112 PyObject
*resultobj
;
13113 wxImage
*arg1
= (wxImage
*) 0 ;
13114 bool arg2
= (bool) true ;
13115 SwigValueWrapper
<wxImage
> result
;
13116 PyObject
* obj0
= 0 ;
13117 PyObject
* obj1
= 0 ;
13118 char *kwnames
[] = {
13119 (char *) "self",(char *) "clockwise", NULL
13122 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Image_Rotate90",kwnames
,&obj0
,&obj1
)) goto fail
;
13123 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
13124 if (SWIG_arg_fail(1)) SWIG_fail
;
13127 arg2
= (bool)(SWIG_As_bool(obj1
));
13128 if (SWIG_arg_fail(2)) SWIG_fail
;
13132 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13133 result
= (arg1
)->Rotate90(arg2
);
13135 wxPyEndAllowThreads(__tstate
);
13136 if (PyErr_Occurred()) SWIG_fail
;
13139 wxImage
* resultptr
;
13140 resultptr
= new wxImage((wxImage
&)(result
));
13141 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
13149 static PyObject
*_wrap_Image_Mirror(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13150 PyObject
*resultobj
;
13151 wxImage
*arg1
= (wxImage
*) 0 ;
13152 bool arg2
= (bool) true ;
13153 SwigValueWrapper
<wxImage
> result
;
13154 PyObject
* obj0
= 0 ;
13155 PyObject
* obj1
= 0 ;
13156 char *kwnames
[] = {
13157 (char *) "self",(char *) "horizontally", NULL
13160 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Image_Mirror",kwnames
,&obj0
,&obj1
)) goto fail
;
13161 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
13162 if (SWIG_arg_fail(1)) SWIG_fail
;
13165 arg2
= (bool)(SWIG_As_bool(obj1
));
13166 if (SWIG_arg_fail(2)) SWIG_fail
;
13170 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13171 result
= (arg1
)->Mirror(arg2
);
13173 wxPyEndAllowThreads(__tstate
);
13174 if (PyErr_Occurred()) SWIG_fail
;
13177 wxImage
* resultptr
;
13178 resultptr
= new wxImage((wxImage
&)(result
));
13179 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
13187 static PyObject
*_wrap_Image_Replace(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13188 PyObject
*resultobj
;
13189 wxImage
*arg1
= (wxImage
*) 0 ;
13190 unsigned char arg2
;
13191 unsigned char arg3
;
13192 unsigned char arg4
;
13193 unsigned char arg5
;
13194 unsigned char arg6
;
13195 unsigned char arg7
;
13196 PyObject
* obj0
= 0 ;
13197 PyObject
* obj1
= 0 ;
13198 PyObject
* obj2
= 0 ;
13199 PyObject
* obj3
= 0 ;
13200 PyObject
* obj4
= 0 ;
13201 PyObject
* obj5
= 0 ;
13202 PyObject
* obj6
= 0 ;
13203 char *kwnames
[] = {
13204 (char *) "self",(char *) "r1",(char *) "g1",(char *) "b1",(char *) "r2",(char *) "g2",(char *) "b2", NULL
13207 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:Image_Replace",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
13208 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
13209 if (SWIG_arg_fail(1)) SWIG_fail
;
13211 arg2
= (unsigned char)(SWIG_As_unsigned_SS_char(obj1
));
13212 if (SWIG_arg_fail(2)) SWIG_fail
;
13215 arg3
= (unsigned char)(SWIG_As_unsigned_SS_char(obj2
));
13216 if (SWIG_arg_fail(3)) SWIG_fail
;
13219 arg4
= (unsigned char)(SWIG_As_unsigned_SS_char(obj3
));
13220 if (SWIG_arg_fail(4)) SWIG_fail
;
13223 arg5
= (unsigned char)(SWIG_As_unsigned_SS_char(obj4
));
13224 if (SWIG_arg_fail(5)) SWIG_fail
;
13227 arg6
= (unsigned char)(SWIG_As_unsigned_SS_char(obj5
));
13228 if (SWIG_arg_fail(6)) SWIG_fail
;
13231 arg7
= (unsigned char)(SWIG_As_unsigned_SS_char(obj6
));
13232 if (SWIG_arg_fail(7)) SWIG_fail
;
13235 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13236 (arg1
)->Replace(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
13238 wxPyEndAllowThreads(__tstate
);
13239 if (PyErr_Occurred()) SWIG_fail
;
13241 Py_INCREF(Py_None
); resultobj
= Py_None
;
13248 static PyObject
*_wrap_Image_ConvertToMono(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13249 PyObject
*resultobj
;
13250 wxImage
*arg1
= (wxImage
*) 0 ;
13251 unsigned char arg2
;
13252 unsigned char arg3
;
13253 unsigned char arg4
;
13254 SwigValueWrapper
<wxImage
> result
;
13255 PyObject
* obj0
= 0 ;
13256 PyObject
* obj1
= 0 ;
13257 PyObject
* obj2
= 0 ;
13258 PyObject
* obj3
= 0 ;
13259 char *kwnames
[] = {
13260 (char *) "self",(char *) "r",(char *) "g",(char *) "b", NULL
13263 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Image_ConvertToMono",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
13264 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
13265 if (SWIG_arg_fail(1)) SWIG_fail
;
13267 arg2
= (unsigned char)(SWIG_As_unsigned_SS_char(obj1
));
13268 if (SWIG_arg_fail(2)) SWIG_fail
;
13271 arg3
= (unsigned char)(SWIG_As_unsigned_SS_char(obj2
));
13272 if (SWIG_arg_fail(3)) SWIG_fail
;
13275 arg4
= (unsigned char)(SWIG_As_unsigned_SS_char(obj3
));
13276 if (SWIG_arg_fail(4)) SWIG_fail
;
13279 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13280 result
= ((wxImage
const *)arg1
)->ConvertToMono(arg2
,arg3
,arg4
);
13282 wxPyEndAllowThreads(__tstate
);
13283 if (PyErr_Occurred()) SWIG_fail
;
13286 wxImage
* resultptr
;
13287 resultptr
= new wxImage((wxImage
&)(result
));
13288 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
13296 static PyObject
*_wrap_Image_SetOption(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13297 PyObject
*resultobj
;
13298 wxImage
*arg1
= (wxImage
*) 0 ;
13299 wxString
*arg2
= 0 ;
13300 wxString
*arg3
= 0 ;
13301 bool temp2
= false ;
13302 bool temp3
= false ;
13303 PyObject
* obj0
= 0 ;
13304 PyObject
* obj1
= 0 ;
13305 PyObject
* obj2
= 0 ;
13306 char *kwnames
[] = {
13307 (char *) "self",(char *) "name",(char *) "value", NULL
13310 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_SetOption",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13311 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
13312 if (SWIG_arg_fail(1)) SWIG_fail
;
13314 arg2
= wxString_in_helper(obj1
);
13315 if (arg2
== NULL
) SWIG_fail
;
13319 arg3
= wxString_in_helper(obj2
);
13320 if (arg3
== NULL
) SWIG_fail
;
13324 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13325 (arg1
)->SetOption((wxString
const &)*arg2
,(wxString
const &)*arg3
);
13327 wxPyEndAllowThreads(__tstate
);
13328 if (PyErr_Occurred()) SWIG_fail
;
13330 Py_INCREF(Py_None
); resultobj
= Py_None
;
13353 static PyObject
*_wrap_Image_SetOptionInt(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13354 PyObject
*resultobj
;
13355 wxImage
*arg1
= (wxImage
*) 0 ;
13356 wxString
*arg2
= 0 ;
13358 bool temp2
= false ;
13359 PyObject
* obj0
= 0 ;
13360 PyObject
* obj1
= 0 ;
13361 PyObject
* obj2
= 0 ;
13362 char *kwnames
[] = {
13363 (char *) "self",(char *) "name",(char *) "value", NULL
13366 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_SetOptionInt",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13367 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
13368 if (SWIG_arg_fail(1)) SWIG_fail
;
13370 arg2
= wxString_in_helper(obj1
);
13371 if (arg2
== NULL
) SWIG_fail
;
13375 arg3
= (int)(SWIG_As_int(obj2
));
13376 if (SWIG_arg_fail(3)) SWIG_fail
;
13379 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13380 (arg1
)->SetOption((wxString
const &)*arg2
,arg3
);
13382 wxPyEndAllowThreads(__tstate
);
13383 if (PyErr_Occurred()) SWIG_fail
;
13385 Py_INCREF(Py_None
); resultobj
= Py_None
;
13400 static PyObject
*_wrap_Image_GetOption(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13401 PyObject
*resultobj
;
13402 wxImage
*arg1
= (wxImage
*) 0 ;
13403 wxString
*arg2
= 0 ;
13405 bool temp2
= false ;
13406 PyObject
* obj0
= 0 ;
13407 PyObject
* obj1
= 0 ;
13408 char *kwnames
[] = {
13409 (char *) "self",(char *) "name", NULL
13412 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_GetOption",kwnames
,&obj0
,&obj1
)) goto fail
;
13413 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
13414 if (SWIG_arg_fail(1)) SWIG_fail
;
13416 arg2
= wxString_in_helper(obj1
);
13417 if (arg2
== NULL
) SWIG_fail
;
13421 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13422 result
= ((wxImage
const *)arg1
)->GetOption((wxString
const &)*arg2
);
13424 wxPyEndAllowThreads(__tstate
);
13425 if (PyErr_Occurred()) SWIG_fail
;
13429 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13431 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13448 static PyObject
*_wrap_Image_GetOptionInt(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13449 PyObject
*resultobj
;
13450 wxImage
*arg1
= (wxImage
*) 0 ;
13451 wxString
*arg2
= 0 ;
13453 bool temp2
= false ;
13454 PyObject
* obj0
= 0 ;
13455 PyObject
* obj1
= 0 ;
13456 char *kwnames
[] = {
13457 (char *) "self",(char *) "name", NULL
13460 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_GetOptionInt",kwnames
,&obj0
,&obj1
)) goto fail
;
13461 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
13462 if (SWIG_arg_fail(1)) SWIG_fail
;
13464 arg2
= wxString_in_helper(obj1
);
13465 if (arg2
== NULL
) SWIG_fail
;
13469 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13470 result
= (int)((wxImage
const *)arg1
)->GetOptionInt((wxString
const &)*arg2
);
13472 wxPyEndAllowThreads(__tstate
);
13473 if (PyErr_Occurred()) SWIG_fail
;
13476 resultobj
= SWIG_From_int((int)(result
));
13492 static PyObject
*_wrap_Image_HasOption(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13493 PyObject
*resultobj
;
13494 wxImage
*arg1
= (wxImage
*) 0 ;
13495 wxString
*arg2
= 0 ;
13497 bool temp2
= false ;
13498 PyObject
* obj0
= 0 ;
13499 PyObject
* obj1
= 0 ;
13500 char *kwnames
[] = {
13501 (char *) "self",(char *) "name", NULL
13504 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_HasOption",kwnames
,&obj0
,&obj1
)) goto fail
;
13505 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
13506 if (SWIG_arg_fail(1)) SWIG_fail
;
13508 arg2
= wxString_in_helper(obj1
);
13509 if (arg2
== NULL
) SWIG_fail
;
13513 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13514 result
= (bool)((wxImage
const *)arg1
)->HasOption((wxString
const &)*arg2
);
13516 wxPyEndAllowThreads(__tstate
);
13517 if (PyErr_Occurred()) SWIG_fail
;
13520 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13536 static PyObject
*_wrap_Image_CountColours(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13537 PyObject
*resultobj
;
13538 wxImage
*arg1
= (wxImage
*) 0 ;
13539 unsigned long arg2
= (unsigned long) (unsigned long) -1 ;
13540 unsigned long result
;
13541 PyObject
* obj0
= 0 ;
13542 PyObject
* obj1
= 0 ;
13543 char *kwnames
[] = {
13544 (char *) "self",(char *) "stopafter", NULL
13547 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Image_CountColours",kwnames
,&obj0
,&obj1
)) goto fail
;
13548 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
13549 if (SWIG_arg_fail(1)) SWIG_fail
;
13552 arg2
= (unsigned long)(SWIG_As_unsigned_SS_long(obj1
));
13553 if (SWIG_arg_fail(2)) SWIG_fail
;
13557 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13558 result
= (unsigned long)(arg1
)->CountColours(arg2
);
13560 wxPyEndAllowThreads(__tstate
);
13561 if (PyErr_Occurred()) SWIG_fail
;
13564 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
13572 static PyObject
*_wrap_Image_ComputeHistogram(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13573 PyObject
*resultobj
;
13574 wxImage
*arg1
= (wxImage
*) 0 ;
13575 wxImageHistogram
*arg2
= 0 ;
13576 unsigned long result
;
13577 PyObject
* obj0
= 0 ;
13578 PyObject
* obj1
= 0 ;
13579 char *kwnames
[] = {
13580 (char *) "self",(char *) "h", NULL
13583 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_ComputeHistogram",kwnames
,&obj0
,&obj1
)) goto fail
;
13584 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
13585 if (SWIG_arg_fail(1)) SWIG_fail
;
13587 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxImageHistogram
, SWIG_POINTER_EXCEPTION
| 0);
13588 if (SWIG_arg_fail(2)) SWIG_fail
;
13589 if (arg2
== NULL
) {
13590 SWIG_null_ref("wxImageHistogram");
13592 if (SWIG_arg_fail(2)) SWIG_fail
;
13595 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13596 result
= (unsigned long)(arg1
)->ComputeHistogram(*arg2
);
13598 wxPyEndAllowThreads(__tstate
);
13599 if (PyErr_Occurred()) SWIG_fail
;
13602 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
13610 static PyObject
*_wrap_Image_AddHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13611 PyObject
*resultobj
;
13612 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
13613 PyObject
* obj0
= 0 ;
13614 char *kwnames
[] = {
13615 (char *) "handler", NULL
13618 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_AddHandler",kwnames
,&obj0
)) goto fail
;
13619 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImageHandler
, SWIG_POINTER_EXCEPTION
| 0);
13620 if (SWIG_arg_fail(1)) SWIG_fail
;
13622 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13623 wxImage::AddHandler(arg1
);
13625 wxPyEndAllowThreads(__tstate
);
13626 if (PyErr_Occurred()) SWIG_fail
;
13628 Py_INCREF(Py_None
); resultobj
= Py_None
;
13635 static PyObject
*_wrap_Image_InsertHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13636 PyObject
*resultobj
;
13637 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
13638 PyObject
* obj0
= 0 ;
13639 char *kwnames
[] = {
13640 (char *) "handler", NULL
13643 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_InsertHandler",kwnames
,&obj0
)) goto fail
;
13644 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImageHandler
, SWIG_POINTER_EXCEPTION
| 0);
13645 if (SWIG_arg_fail(1)) SWIG_fail
;
13647 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13648 wxImage::InsertHandler(arg1
);
13650 wxPyEndAllowThreads(__tstate
);
13651 if (PyErr_Occurred()) SWIG_fail
;
13653 Py_INCREF(Py_None
); resultobj
= Py_None
;
13660 static PyObject
*_wrap_Image_RemoveHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13661 PyObject
*resultobj
;
13662 wxString
*arg1
= 0 ;
13664 bool temp1
= false ;
13665 PyObject
* obj0
= 0 ;
13666 char *kwnames
[] = {
13667 (char *) "name", NULL
13670 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_RemoveHandler",kwnames
,&obj0
)) goto fail
;
13672 arg1
= wxString_in_helper(obj0
);
13673 if (arg1
== NULL
) SWIG_fail
;
13677 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13678 result
= (bool)wxImage::RemoveHandler((wxString
const &)*arg1
);
13680 wxPyEndAllowThreads(__tstate
);
13681 if (PyErr_Occurred()) SWIG_fail
;
13684 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13700 static PyObject
*_wrap_Image_GetImageExtWildcard(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13701 PyObject
*resultobj
;
13703 char *kwnames
[] = {
13707 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Image_GetImageExtWildcard",kwnames
)) goto fail
;
13709 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13710 result
= wxImage::GetImageExtWildcard();
13712 wxPyEndAllowThreads(__tstate
);
13713 if (PyErr_Occurred()) SWIG_fail
;
13717 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13719 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13728 static PyObject
*_wrap_Image_ConvertToBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13729 PyObject
*resultobj
;
13730 wxImage
*arg1
= (wxImage
*) 0 ;
13731 int arg2
= (int) -1 ;
13733 PyObject
* obj0
= 0 ;
13734 PyObject
* obj1
= 0 ;
13735 char *kwnames
[] = {
13736 (char *) "self",(char *) "depth", NULL
13739 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Image_ConvertToBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
13740 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
13741 if (SWIG_arg_fail(1)) SWIG_fail
;
13744 arg2
= (int)(SWIG_As_int(obj1
));
13745 if (SWIG_arg_fail(2)) SWIG_fail
;
13749 if (!wxPyCheckForApp()) SWIG_fail
;
13750 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13751 result
= wxImage_ConvertToBitmap(arg1
,arg2
);
13753 wxPyEndAllowThreads(__tstate
);
13754 if (PyErr_Occurred()) SWIG_fail
;
13757 wxBitmap
* resultptr
;
13758 resultptr
= new wxBitmap((wxBitmap
&)(result
));
13759 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
13767 static PyObject
*_wrap_Image_ConvertToMonoBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13768 PyObject
*resultobj
;
13769 wxImage
*arg1
= (wxImage
*) 0 ;
13770 unsigned char arg2
;
13771 unsigned char arg3
;
13772 unsigned char arg4
;
13774 PyObject
* obj0
= 0 ;
13775 PyObject
* obj1
= 0 ;
13776 PyObject
* obj2
= 0 ;
13777 PyObject
* obj3
= 0 ;
13778 char *kwnames
[] = {
13779 (char *) "self",(char *) "red",(char *) "green",(char *) "blue", NULL
13782 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Image_ConvertToMonoBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
13783 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
13784 if (SWIG_arg_fail(1)) SWIG_fail
;
13786 arg2
= (unsigned char)(SWIG_As_unsigned_SS_char(obj1
));
13787 if (SWIG_arg_fail(2)) SWIG_fail
;
13790 arg3
= (unsigned char)(SWIG_As_unsigned_SS_char(obj2
));
13791 if (SWIG_arg_fail(3)) SWIG_fail
;
13794 arg4
= (unsigned char)(SWIG_As_unsigned_SS_char(obj3
));
13795 if (SWIG_arg_fail(4)) SWIG_fail
;
13798 if (!wxPyCheckForApp()) SWIG_fail
;
13799 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13800 result
= wxImage_ConvertToMonoBitmap(arg1
,arg2
,arg3
,arg4
);
13802 wxPyEndAllowThreads(__tstate
);
13803 if (PyErr_Occurred()) SWIG_fail
;
13806 wxBitmap
* resultptr
;
13807 resultptr
= new wxBitmap((wxBitmap
&)(result
));
13808 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
13816 static PyObject
* Image_swigregister(PyObject
*, PyObject
*args
) {
13818 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13819 SWIG_TypeClientData(SWIGTYPE_p_wxImage
, obj
);
13821 return Py_BuildValue((char *)"");
13823 static int _wrap_NullImage_set(PyObject
*) {
13824 PyErr_SetString(PyExc_TypeError
,"Variable NullImage is read-only.");
13829 static PyObject
*_wrap_NullImage_get(void) {
13832 pyobj
= SWIG_NewPointerObj((void *)(&wxNullImage
), SWIGTYPE_p_wxImage
, 0);
13837 static int _wrap_IMAGE_OPTION_FILENAME_set(PyObject
*) {
13838 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_FILENAME is read-only.");
13843 static PyObject
*_wrap_IMAGE_OPTION_FILENAME_get(void) {
13848 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_FILENAME
)->c_str(), (&wxPyIMAGE_OPTION_FILENAME
)->Len());
13850 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_FILENAME
)->c_str(), (&wxPyIMAGE_OPTION_FILENAME
)->Len());
13857 static int _wrap_IMAGE_OPTION_BMP_FORMAT_set(PyObject
*) {
13858 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_BMP_FORMAT is read-only.");
13863 static PyObject
*_wrap_IMAGE_OPTION_BMP_FORMAT_get(void) {
13868 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_BMP_FORMAT
)->c_str(), (&wxPyIMAGE_OPTION_BMP_FORMAT
)->Len());
13870 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_BMP_FORMAT
)->c_str(), (&wxPyIMAGE_OPTION_BMP_FORMAT
)->Len());
13877 static int _wrap_IMAGE_OPTION_CUR_HOTSPOT_X_set(PyObject
*) {
13878 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_CUR_HOTSPOT_X is read-only.");
13883 static PyObject
*_wrap_IMAGE_OPTION_CUR_HOTSPOT_X_get(void) {
13888 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_CUR_HOTSPOT_X
)->c_str(), (&wxPyIMAGE_OPTION_CUR_HOTSPOT_X
)->Len());
13890 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_CUR_HOTSPOT_X
)->c_str(), (&wxPyIMAGE_OPTION_CUR_HOTSPOT_X
)->Len());
13897 static int _wrap_IMAGE_OPTION_CUR_HOTSPOT_Y_set(PyObject
*) {
13898 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_CUR_HOTSPOT_Y is read-only.");
13903 static PyObject
*_wrap_IMAGE_OPTION_CUR_HOTSPOT_Y_get(void) {
13908 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_CUR_HOTSPOT_Y
)->c_str(), (&wxPyIMAGE_OPTION_CUR_HOTSPOT_Y
)->Len());
13910 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_CUR_HOTSPOT_Y
)->c_str(), (&wxPyIMAGE_OPTION_CUR_HOTSPOT_Y
)->Len());
13917 static int _wrap_IMAGE_OPTION_RESOLUTION_set(PyObject
*) {
13918 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_RESOLUTION is read-only.");
13923 static PyObject
*_wrap_IMAGE_OPTION_RESOLUTION_get(void) {
13928 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_RESOLUTION
)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTION
)->Len());
13930 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_RESOLUTION
)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTION
)->Len());
13937 static int _wrap_IMAGE_OPTION_RESOLUTIONX_set(PyObject
*) {
13938 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_RESOLUTIONX is read-only.");
13943 static PyObject
*_wrap_IMAGE_OPTION_RESOLUTIONX_get(void) {
13948 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_RESOLUTIONX
)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTIONX
)->Len());
13950 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_RESOLUTIONX
)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTIONX
)->Len());
13957 static int _wrap_IMAGE_OPTION_RESOLUTIONY_set(PyObject
*) {
13958 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_RESOLUTIONY is read-only.");
13963 static PyObject
*_wrap_IMAGE_OPTION_RESOLUTIONY_get(void) {
13968 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_RESOLUTIONY
)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTIONY
)->Len());
13970 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_RESOLUTIONY
)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTIONY
)->Len());
13977 static int _wrap_IMAGE_OPTION_RESOLUTIONUNIT_set(PyObject
*) {
13978 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_RESOLUTIONUNIT is read-only.");
13983 static PyObject
*_wrap_IMAGE_OPTION_RESOLUTIONUNIT_get(void) {
13988 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_RESOLUTIONUNIT
)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTIONUNIT
)->Len());
13990 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_RESOLUTIONUNIT
)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTIONUNIT
)->Len());
13997 static int _wrap_IMAGE_OPTION_QUALITY_set(PyObject
*) {
13998 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_QUALITY is read-only.");
14003 static PyObject
*_wrap_IMAGE_OPTION_QUALITY_get(void) {
14008 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_QUALITY
)->c_str(), (&wxPyIMAGE_OPTION_QUALITY
)->Len());
14010 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_QUALITY
)->c_str(), (&wxPyIMAGE_OPTION_QUALITY
)->Len());
14017 static int _wrap_IMAGE_OPTION_BITSPERSAMPLE_set(PyObject
*) {
14018 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_BITSPERSAMPLE is read-only.");
14023 static PyObject
*_wrap_IMAGE_OPTION_BITSPERSAMPLE_get(void) {
14028 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_BITSPERSAMPLE
)->c_str(), (&wxPyIMAGE_OPTION_BITSPERSAMPLE
)->Len());
14030 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_BITSPERSAMPLE
)->c_str(), (&wxPyIMAGE_OPTION_BITSPERSAMPLE
)->Len());
14037 static int _wrap_IMAGE_OPTION_SAMPLESPERPIXEL_set(PyObject
*) {
14038 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_SAMPLESPERPIXEL is read-only.");
14043 static PyObject
*_wrap_IMAGE_OPTION_SAMPLESPERPIXEL_get(void) {
14048 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_SAMPLESPERPIXEL
)->c_str(), (&wxPyIMAGE_OPTION_SAMPLESPERPIXEL
)->Len());
14050 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_SAMPLESPERPIXEL
)->c_str(), (&wxPyIMAGE_OPTION_SAMPLESPERPIXEL
)->Len());
14057 static int _wrap_IMAGE_OPTION_COMPRESSION_set(PyObject
*) {
14058 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_COMPRESSION is read-only.");
14063 static PyObject
*_wrap_IMAGE_OPTION_COMPRESSION_get(void) {
14068 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_COMPRESSION
)->c_str(), (&wxPyIMAGE_OPTION_COMPRESSION
)->Len());
14070 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_COMPRESSION
)->c_str(), (&wxPyIMAGE_OPTION_COMPRESSION
)->Len());
14077 static int _wrap_IMAGE_OPTION_IMAGEDESCRIPTOR_set(PyObject
*) {
14078 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_IMAGEDESCRIPTOR is read-only.");
14083 static PyObject
*_wrap_IMAGE_OPTION_IMAGEDESCRIPTOR_get(void) {
14088 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_IMAGEDESCRIPTOR
)->c_str(), (&wxPyIMAGE_OPTION_IMAGEDESCRIPTOR
)->Len());
14090 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_IMAGEDESCRIPTOR
)->c_str(), (&wxPyIMAGE_OPTION_IMAGEDESCRIPTOR
)->Len());
14097 static int _wrap_IMAGE_OPTION_PNG_FORMAT_set(PyObject
*) {
14098 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_PNG_FORMAT is read-only.");
14103 static PyObject
*_wrap_IMAGE_OPTION_PNG_FORMAT_get(void) {
14108 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_PNG_FORMAT
)->c_str(), (&wxPyIMAGE_OPTION_PNG_FORMAT
)->Len());
14110 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_PNG_FORMAT
)->c_str(), (&wxPyIMAGE_OPTION_PNG_FORMAT
)->Len());
14117 static int _wrap_IMAGE_OPTION_PNG_BITDEPTH_set(PyObject
*) {
14118 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_PNG_BITDEPTH is read-only.");
14123 static PyObject
*_wrap_IMAGE_OPTION_PNG_BITDEPTH_get(void) {
14128 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_PNG_BITDEPTH
)->c_str(), (&wxPyIMAGE_OPTION_PNG_BITDEPTH
)->Len());
14130 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_PNG_BITDEPTH
)->c_str(), (&wxPyIMAGE_OPTION_PNG_BITDEPTH
)->Len());
14137 static PyObject
*_wrap_new_BMPHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14138 PyObject
*resultobj
;
14139 wxBMPHandler
*result
;
14140 char *kwnames
[] = {
14144 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_BMPHandler",kwnames
)) goto fail
;
14146 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14147 result
= (wxBMPHandler
*)new wxBMPHandler();
14149 wxPyEndAllowThreads(__tstate
);
14150 if (PyErr_Occurred()) SWIG_fail
;
14152 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBMPHandler
, 1);
14159 static PyObject
* BMPHandler_swigregister(PyObject
*, PyObject
*args
) {
14161 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14162 SWIG_TypeClientData(SWIGTYPE_p_wxBMPHandler
, obj
);
14164 return Py_BuildValue((char *)"");
14166 static PyObject
*_wrap_new_ICOHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14167 PyObject
*resultobj
;
14168 wxICOHandler
*result
;
14169 char *kwnames
[] = {
14173 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ICOHandler",kwnames
)) goto fail
;
14175 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14176 result
= (wxICOHandler
*)new wxICOHandler();
14178 wxPyEndAllowThreads(__tstate
);
14179 if (PyErr_Occurred()) SWIG_fail
;
14181 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxICOHandler
, 1);
14188 static PyObject
* ICOHandler_swigregister(PyObject
*, PyObject
*args
) {
14190 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14191 SWIG_TypeClientData(SWIGTYPE_p_wxICOHandler
, obj
);
14193 return Py_BuildValue((char *)"");
14195 static PyObject
*_wrap_new_CURHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14196 PyObject
*resultobj
;
14197 wxCURHandler
*result
;
14198 char *kwnames
[] = {
14202 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_CURHandler",kwnames
)) goto fail
;
14204 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14205 result
= (wxCURHandler
*)new wxCURHandler();
14207 wxPyEndAllowThreads(__tstate
);
14208 if (PyErr_Occurred()) SWIG_fail
;
14210 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCURHandler
, 1);
14217 static PyObject
* CURHandler_swigregister(PyObject
*, PyObject
*args
) {
14219 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14220 SWIG_TypeClientData(SWIGTYPE_p_wxCURHandler
, obj
);
14222 return Py_BuildValue((char *)"");
14224 static PyObject
*_wrap_new_ANIHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14225 PyObject
*resultobj
;
14226 wxANIHandler
*result
;
14227 char *kwnames
[] = {
14231 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ANIHandler",kwnames
)) goto fail
;
14233 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14234 result
= (wxANIHandler
*)new wxANIHandler();
14236 wxPyEndAllowThreads(__tstate
);
14237 if (PyErr_Occurred()) SWIG_fail
;
14239 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxANIHandler
, 1);
14246 static PyObject
* ANIHandler_swigregister(PyObject
*, PyObject
*args
) {
14248 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14249 SWIG_TypeClientData(SWIGTYPE_p_wxANIHandler
, obj
);
14251 return Py_BuildValue((char *)"");
14253 static PyObject
*_wrap_new_PNGHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14254 PyObject
*resultobj
;
14255 wxPNGHandler
*result
;
14256 char *kwnames
[] = {
14260 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PNGHandler",kwnames
)) goto fail
;
14262 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14263 result
= (wxPNGHandler
*)new wxPNGHandler();
14265 wxPyEndAllowThreads(__tstate
);
14266 if (PyErr_Occurred()) SWIG_fail
;
14268 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPNGHandler
, 1);
14275 static PyObject
* PNGHandler_swigregister(PyObject
*, PyObject
*args
) {
14277 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14278 SWIG_TypeClientData(SWIGTYPE_p_wxPNGHandler
, obj
);
14280 return Py_BuildValue((char *)"");
14282 static PyObject
*_wrap_new_GIFHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14283 PyObject
*resultobj
;
14284 wxGIFHandler
*result
;
14285 char *kwnames
[] = {
14289 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_GIFHandler",kwnames
)) goto fail
;
14291 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14292 result
= (wxGIFHandler
*)new wxGIFHandler();
14294 wxPyEndAllowThreads(__tstate
);
14295 if (PyErr_Occurred()) SWIG_fail
;
14297 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGIFHandler
, 1);
14304 static PyObject
* GIFHandler_swigregister(PyObject
*, PyObject
*args
) {
14306 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14307 SWIG_TypeClientData(SWIGTYPE_p_wxGIFHandler
, obj
);
14309 return Py_BuildValue((char *)"");
14311 static PyObject
*_wrap_new_PCXHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14312 PyObject
*resultobj
;
14313 wxPCXHandler
*result
;
14314 char *kwnames
[] = {
14318 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PCXHandler",kwnames
)) goto fail
;
14320 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14321 result
= (wxPCXHandler
*)new wxPCXHandler();
14323 wxPyEndAllowThreads(__tstate
);
14324 if (PyErr_Occurred()) SWIG_fail
;
14326 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPCXHandler
, 1);
14333 static PyObject
* PCXHandler_swigregister(PyObject
*, PyObject
*args
) {
14335 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14336 SWIG_TypeClientData(SWIGTYPE_p_wxPCXHandler
, obj
);
14338 return Py_BuildValue((char *)"");
14340 static PyObject
*_wrap_new_JPEGHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14341 PyObject
*resultobj
;
14342 wxJPEGHandler
*result
;
14343 char *kwnames
[] = {
14347 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_JPEGHandler",kwnames
)) goto fail
;
14349 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14350 result
= (wxJPEGHandler
*)new wxJPEGHandler();
14352 wxPyEndAllowThreads(__tstate
);
14353 if (PyErr_Occurred()) SWIG_fail
;
14355 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxJPEGHandler
, 1);
14362 static PyObject
* JPEGHandler_swigregister(PyObject
*, PyObject
*args
) {
14364 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14365 SWIG_TypeClientData(SWIGTYPE_p_wxJPEGHandler
, obj
);
14367 return Py_BuildValue((char *)"");
14369 static PyObject
*_wrap_new_PNMHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14370 PyObject
*resultobj
;
14371 wxPNMHandler
*result
;
14372 char *kwnames
[] = {
14376 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PNMHandler",kwnames
)) goto fail
;
14378 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14379 result
= (wxPNMHandler
*)new wxPNMHandler();
14381 wxPyEndAllowThreads(__tstate
);
14382 if (PyErr_Occurred()) SWIG_fail
;
14384 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPNMHandler
, 1);
14391 static PyObject
* PNMHandler_swigregister(PyObject
*, PyObject
*args
) {
14393 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14394 SWIG_TypeClientData(SWIGTYPE_p_wxPNMHandler
, obj
);
14396 return Py_BuildValue((char *)"");
14398 static PyObject
*_wrap_new_XPMHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14399 PyObject
*resultobj
;
14400 wxXPMHandler
*result
;
14401 char *kwnames
[] = {
14405 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_XPMHandler",kwnames
)) goto fail
;
14407 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14408 result
= (wxXPMHandler
*)new wxXPMHandler();
14410 wxPyEndAllowThreads(__tstate
);
14411 if (PyErr_Occurred()) SWIG_fail
;
14413 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxXPMHandler
, 1);
14420 static PyObject
* XPMHandler_swigregister(PyObject
*, PyObject
*args
) {
14422 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14423 SWIG_TypeClientData(SWIGTYPE_p_wxXPMHandler
, obj
);
14425 return Py_BuildValue((char *)"");
14427 static PyObject
*_wrap_new_TIFFHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14428 PyObject
*resultobj
;
14429 wxTIFFHandler
*result
;
14430 char *kwnames
[] = {
14434 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_TIFFHandler",kwnames
)) goto fail
;
14436 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14437 result
= (wxTIFFHandler
*)new wxTIFFHandler();
14439 wxPyEndAllowThreads(__tstate
);
14440 if (PyErr_Occurred()) SWIG_fail
;
14442 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTIFFHandler
, 1);
14449 static PyObject
* TIFFHandler_swigregister(PyObject
*, PyObject
*args
) {
14451 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14452 SWIG_TypeClientData(SWIGTYPE_p_wxTIFFHandler
, obj
);
14454 return Py_BuildValue((char *)"");
14456 static PyObject
*_wrap_Quantize_Quantize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14457 PyObject
*resultobj
;
14458 wxImage
*arg1
= 0 ;
14459 wxImage
*arg2
= 0 ;
14460 int arg3
= (int) 236 ;
14461 int arg4
= (int) wxQUANTIZE_INCLUDE_WINDOWS_COLOURS
|wxQUANTIZE_FILL_DESTINATION_IMAGE
;
14463 PyObject
* obj0
= 0 ;
14464 PyObject
* obj1
= 0 ;
14465 PyObject
* obj2
= 0 ;
14466 PyObject
* obj3
= 0 ;
14467 char *kwnames
[] = {
14468 (char *) "src",(char *) "dest",(char *) "desiredNoColours",(char *) "flags", NULL
14471 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:Quantize_Quantize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
14473 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
14474 if (SWIG_arg_fail(1)) SWIG_fail
;
14475 if (arg1
== NULL
) {
14476 SWIG_null_ref("wxImage");
14478 if (SWIG_arg_fail(1)) SWIG_fail
;
14481 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
14482 if (SWIG_arg_fail(2)) SWIG_fail
;
14483 if (arg2
== NULL
) {
14484 SWIG_null_ref("wxImage");
14486 if (SWIG_arg_fail(2)) SWIG_fail
;
14490 arg3
= (int)(SWIG_As_int(obj2
));
14491 if (SWIG_arg_fail(3)) SWIG_fail
;
14496 arg4
= (int)(SWIG_As_int(obj3
));
14497 if (SWIG_arg_fail(4)) SWIG_fail
;
14501 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14502 result
= (bool)Quantize_Quantize((wxImage
const &)*arg1
,*arg2
,arg3
,arg4
);
14504 wxPyEndAllowThreads(__tstate
);
14505 if (PyErr_Occurred()) SWIG_fail
;
14508 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14516 static PyObject
* Quantize_swigregister(PyObject
*, PyObject
*args
) {
14518 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14519 SWIG_TypeClientData(SWIGTYPE_p_wxQuantize
, obj
);
14521 return Py_BuildValue((char *)"");
14523 static PyObject
*_wrap_new_EvtHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14524 PyObject
*resultobj
;
14525 wxEvtHandler
*result
;
14526 char *kwnames
[] = {
14530 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_EvtHandler",kwnames
)) goto fail
;
14532 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14533 result
= (wxEvtHandler
*)new wxEvtHandler();
14535 wxPyEndAllowThreads(__tstate
);
14536 if (PyErr_Occurred()) SWIG_fail
;
14538 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxEvtHandler
, 1);
14545 static PyObject
*_wrap_EvtHandler_GetNextHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14546 PyObject
*resultobj
;
14547 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
14548 wxEvtHandler
*result
;
14549 PyObject
* obj0
= 0 ;
14550 char *kwnames
[] = {
14551 (char *) "self", NULL
14554 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EvtHandler_GetNextHandler",kwnames
,&obj0
)) goto fail
;
14555 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
14556 if (SWIG_arg_fail(1)) SWIG_fail
;
14558 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14559 result
= (wxEvtHandler
*)(arg1
)->GetNextHandler();
14561 wxPyEndAllowThreads(__tstate
);
14562 if (PyErr_Occurred()) SWIG_fail
;
14565 resultobj
= wxPyMake_wxObject(result
, 0);
14573 static PyObject
*_wrap_EvtHandler_GetPreviousHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14574 PyObject
*resultobj
;
14575 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
14576 wxEvtHandler
*result
;
14577 PyObject
* obj0
= 0 ;
14578 char *kwnames
[] = {
14579 (char *) "self", NULL
14582 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EvtHandler_GetPreviousHandler",kwnames
,&obj0
)) goto fail
;
14583 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
14584 if (SWIG_arg_fail(1)) SWIG_fail
;
14586 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14587 result
= (wxEvtHandler
*)(arg1
)->GetPreviousHandler();
14589 wxPyEndAllowThreads(__tstate
);
14590 if (PyErr_Occurred()) SWIG_fail
;
14593 resultobj
= wxPyMake_wxObject(result
, 0);
14601 static PyObject
*_wrap_EvtHandler_SetNextHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14602 PyObject
*resultobj
;
14603 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
14604 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
14605 PyObject
* obj0
= 0 ;
14606 PyObject
* obj1
= 0 ;
14607 char *kwnames
[] = {
14608 (char *) "self",(char *) "handler", NULL
14611 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EvtHandler_SetNextHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
14612 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
14613 if (SWIG_arg_fail(1)) SWIG_fail
;
14614 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
14615 if (SWIG_arg_fail(2)) SWIG_fail
;
14617 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14618 (arg1
)->SetNextHandler(arg2
);
14620 wxPyEndAllowThreads(__tstate
);
14621 if (PyErr_Occurred()) SWIG_fail
;
14623 Py_INCREF(Py_None
); resultobj
= Py_None
;
14630 static PyObject
*_wrap_EvtHandler_SetPreviousHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14631 PyObject
*resultobj
;
14632 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
14633 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
14634 PyObject
* obj0
= 0 ;
14635 PyObject
* obj1
= 0 ;
14636 char *kwnames
[] = {
14637 (char *) "self",(char *) "handler", NULL
14640 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EvtHandler_SetPreviousHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
14641 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
14642 if (SWIG_arg_fail(1)) SWIG_fail
;
14643 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
14644 if (SWIG_arg_fail(2)) SWIG_fail
;
14646 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14647 (arg1
)->SetPreviousHandler(arg2
);
14649 wxPyEndAllowThreads(__tstate
);
14650 if (PyErr_Occurred()) SWIG_fail
;
14652 Py_INCREF(Py_None
); resultobj
= Py_None
;
14659 static PyObject
*_wrap_EvtHandler_GetEvtHandlerEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14660 PyObject
*resultobj
;
14661 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
14663 PyObject
* obj0
= 0 ;
14664 char *kwnames
[] = {
14665 (char *) "self", NULL
14668 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EvtHandler_GetEvtHandlerEnabled",kwnames
,&obj0
)) goto fail
;
14669 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
14670 if (SWIG_arg_fail(1)) SWIG_fail
;
14672 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14673 result
= (bool)(arg1
)->GetEvtHandlerEnabled();
14675 wxPyEndAllowThreads(__tstate
);
14676 if (PyErr_Occurred()) SWIG_fail
;
14679 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14687 static PyObject
*_wrap_EvtHandler_SetEvtHandlerEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14688 PyObject
*resultobj
;
14689 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
14691 PyObject
* obj0
= 0 ;
14692 PyObject
* obj1
= 0 ;
14693 char *kwnames
[] = {
14694 (char *) "self",(char *) "enabled", NULL
14697 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EvtHandler_SetEvtHandlerEnabled",kwnames
,&obj0
,&obj1
)) goto fail
;
14698 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
14699 if (SWIG_arg_fail(1)) SWIG_fail
;
14701 arg2
= (bool)(SWIG_As_bool(obj1
));
14702 if (SWIG_arg_fail(2)) SWIG_fail
;
14705 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14706 (arg1
)->SetEvtHandlerEnabled(arg2
);
14708 wxPyEndAllowThreads(__tstate
);
14709 if (PyErr_Occurred()) SWIG_fail
;
14711 Py_INCREF(Py_None
); resultobj
= Py_None
;
14718 static PyObject
*_wrap_EvtHandler_ProcessEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14719 PyObject
*resultobj
;
14720 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
14721 wxEvent
*arg2
= 0 ;
14723 PyObject
* obj0
= 0 ;
14724 PyObject
* obj1
= 0 ;
14725 char *kwnames
[] = {
14726 (char *) "self",(char *) "event", NULL
14729 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EvtHandler_ProcessEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
14730 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
14731 if (SWIG_arg_fail(1)) SWIG_fail
;
14733 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
14734 if (SWIG_arg_fail(2)) SWIG_fail
;
14735 if (arg2
== NULL
) {
14736 SWIG_null_ref("wxEvent");
14738 if (SWIG_arg_fail(2)) SWIG_fail
;
14741 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14742 result
= (bool)(arg1
)->ProcessEvent(*arg2
);
14744 wxPyEndAllowThreads(__tstate
);
14745 if (PyErr_Occurred()) SWIG_fail
;
14748 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14756 static PyObject
*_wrap_EvtHandler_AddPendingEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14757 PyObject
*resultobj
;
14758 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
14759 wxEvent
*arg2
= 0 ;
14760 PyObject
* obj0
= 0 ;
14761 PyObject
* obj1
= 0 ;
14762 char *kwnames
[] = {
14763 (char *) "self",(char *) "event", NULL
14766 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EvtHandler_AddPendingEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
14767 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
14768 if (SWIG_arg_fail(1)) SWIG_fail
;
14770 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
14771 if (SWIG_arg_fail(2)) SWIG_fail
;
14772 if (arg2
== NULL
) {
14773 SWIG_null_ref("wxEvent");
14775 if (SWIG_arg_fail(2)) SWIG_fail
;
14778 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14779 (arg1
)->AddPendingEvent(*arg2
);
14781 wxPyEndAllowThreads(__tstate
);
14782 if (PyErr_Occurred()) SWIG_fail
;
14784 Py_INCREF(Py_None
); resultobj
= Py_None
;
14791 static PyObject
*_wrap_EvtHandler_ProcessPendingEvents(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14792 PyObject
*resultobj
;
14793 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
14794 PyObject
* obj0
= 0 ;
14795 char *kwnames
[] = {
14796 (char *) "self", NULL
14799 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EvtHandler_ProcessPendingEvents",kwnames
,&obj0
)) goto fail
;
14800 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
14801 if (SWIG_arg_fail(1)) SWIG_fail
;
14803 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14804 (arg1
)->ProcessPendingEvents();
14806 wxPyEndAllowThreads(__tstate
);
14807 if (PyErr_Occurred()) SWIG_fail
;
14809 Py_INCREF(Py_None
); resultobj
= Py_None
;
14816 static PyObject
*_wrap_EvtHandler_Connect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14817 PyObject
*resultobj
;
14818 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
14822 PyObject
*arg5
= (PyObject
*) 0 ;
14823 PyObject
* obj0
= 0 ;
14824 PyObject
* obj1
= 0 ;
14825 PyObject
* obj2
= 0 ;
14826 PyObject
* obj3
= 0 ;
14827 PyObject
* obj4
= 0 ;
14828 char *kwnames
[] = {
14829 (char *) "self",(char *) "id",(char *) "lastId",(char *) "eventType",(char *) "func", NULL
14832 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:EvtHandler_Connect",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
14833 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
14834 if (SWIG_arg_fail(1)) SWIG_fail
;
14836 arg2
= (int)(SWIG_As_int(obj1
));
14837 if (SWIG_arg_fail(2)) SWIG_fail
;
14840 arg3
= (int)(SWIG_As_int(obj2
));
14841 if (SWIG_arg_fail(3)) SWIG_fail
;
14844 arg4
= (int)(SWIG_As_int(obj3
));
14845 if (SWIG_arg_fail(4)) SWIG_fail
;
14849 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14850 wxEvtHandler_Connect(arg1
,arg2
,arg3
,arg4
,arg5
);
14852 wxPyEndAllowThreads(__tstate
);
14853 if (PyErr_Occurred()) SWIG_fail
;
14855 Py_INCREF(Py_None
); resultobj
= Py_None
;
14862 static PyObject
*_wrap_EvtHandler_Disconnect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14863 PyObject
*resultobj
;
14864 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
14866 int arg3
= (int) -1 ;
14867 wxEventType arg4
= (wxEventType
) wxEVT_NULL
;
14869 PyObject
* obj0
= 0 ;
14870 PyObject
* obj1
= 0 ;
14871 PyObject
* obj2
= 0 ;
14872 PyObject
* obj3
= 0 ;
14873 char *kwnames
[] = {
14874 (char *) "self",(char *) "id",(char *) "lastId",(char *) "eventType", NULL
14877 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:EvtHandler_Disconnect",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
14878 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
14879 if (SWIG_arg_fail(1)) SWIG_fail
;
14881 arg2
= (int)(SWIG_As_int(obj1
));
14882 if (SWIG_arg_fail(2)) SWIG_fail
;
14886 arg3
= (int)(SWIG_As_int(obj2
));
14887 if (SWIG_arg_fail(3)) SWIG_fail
;
14892 arg4
= (wxEventType
)(SWIG_As_int(obj3
));
14893 if (SWIG_arg_fail(4)) SWIG_fail
;
14897 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14898 result
= (bool)wxEvtHandler_Disconnect(arg1
,arg2
,arg3
,arg4
);
14900 wxPyEndAllowThreads(__tstate
);
14901 if (PyErr_Occurred()) SWIG_fail
;
14904 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14912 static PyObject
*_wrap_EvtHandler__setOORInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14913 PyObject
*resultobj
;
14914 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
14915 PyObject
*arg2
= (PyObject
*) 0 ;
14916 bool arg3
= (bool) true ;
14917 PyObject
* obj0
= 0 ;
14918 PyObject
* obj1
= 0 ;
14919 PyObject
* obj2
= 0 ;
14920 char *kwnames
[] = {
14921 (char *) "self",(char *) "_self",(char *) "incref", NULL
14924 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:EvtHandler__setOORInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14925 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
14926 if (SWIG_arg_fail(1)) SWIG_fail
;
14930 arg3
= (bool)(SWIG_As_bool(obj2
));
14931 if (SWIG_arg_fail(3)) SWIG_fail
;
14935 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14936 wxEvtHandler__setOORInfo(arg1
,arg2
,arg3
);
14938 wxPyEndAllowThreads(__tstate
);
14939 if (PyErr_Occurred()) SWIG_fail
;
14941 Py_INCREF(Py_None
); resultobj
= Py_None
;
14948 static PyObject
* EvtHandler_swigregister(PyObject
*, PyObject
*args
) {
14950 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14951 SWIG_TypeClientData(SWIGTYPE_p_wxEvtHandler
, obj
);
14953 return Py_BuildValue((char *)"");
14955 static PyObject
*_wrap_NewEventType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14956 PyObject
*resultobj
;
14957 wxEventType result
;
14958 char *kwnames
[] = {
14962 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":NewEventType",kwnames
)) goto fail
;
14964 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14965 result
= (wxEventType
)wxNewEventType();
14967 wxPyEndAllowThreads(__tstate
);
14968 if (PyErr_Occurred()) SWIG_fail
;
14971 resultobj
= SWIG_From_int((int)(result
));
14979 static PyObject
*_wrap_delete_Event(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14980 PyObject
*resultobj
;
14981 wxEvent
*arg1
= (wxEvent
*) 0 ;
14982 PyObject
* obj0
= 0 ;
14983 char *kwnames
[] = {
14984 (char *) "self", NULL
14987 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Event",kwnames
,&obj0
)) goto fail
;
14988 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
14989 if (SWIG_arg_fail(1)) SWIG_fail
;
14991 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14994 wxPyEndAllowThreads(__tstate
);
14995 if (PyErr_Occurred()) SWIG_fail
;
14997 Py_INCREF(Py_None
); resultobj
= Py_None
;
15004 static PyObject
*_wrap_Event_SetEventType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15005 PyObject
*resultobj
;
15006 wxEvent
*arg1
= (wxEvent
*) 0 ;
15008 PyObject
* obj0
= 0 ;
15009 PyObject
* obj1
= 0 ;
15010 char *kwnames
[] = {
15011 (char *) "self",(char *) "typ", NULL
15014 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Event_SetEventType",kwnames
,&obj0
,&obj1
)) goto fail
;
15015 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
15016 if (SWIG_arg_fail(1)) SWIG_fail
;
15018 arg2
= (wxEventType
)(SWIG_As_int(obj1
));
15019 if (SWIG_arg_fail(2)) SWIG_fail
;
15022 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15023 (arg1
)->SetEventType(arg2
);
15025 wxPyEndAllowThreads(__tstate
);
15026 if (PyErr_Occurred()) SWIG_fail
;
15028 Py_INCREF(Py_None
); resultobj
= Py_None
;
15035 static PyObject
*_wrap_Event_GetEventType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15036 PyObject
*resultobj
;
15037 wxEvent
*arg1
= (wxEvent
*) 0 ;
15038 wxEventType result
;
15039 PyObject
* obj0
= 0 ;
15040 char *kwnames
[] = {
15041 (char *) "self", NULL
15044 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_GetEventType",kwnames
,&obj0
)) goto fail
;
15045 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
15046 if (SWIG_arg_fail(1)) SWIG_fail
;
15048 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15049 result
= (wxEventType
)((wxEvent
const *)arg1
)->GetEventType();
15051 wxPyEndAllowThreads(__tstate
);
15052 if (PyErr_Occurred()) SWIG_fail
;
15055 resultobj
= SWIG_From_int((int)(result
));
15063 static PyObject
*_wrap_Event_GetEventObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15064 PyObject
*resultobj
;
15065 wxEvent
*arg1
= (wxEvent
*) 0 ;
15067 PyObject
* obj0
= 0 ;
15068 char *kwnames
[] = {
15069 (char *) "self", NULL
15072 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_GetEventObject",kwnames
,&obj0
)) goto fail
;
15073 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
15074 if (SWIG_arg_fail(1)) SWIG_fail
;
15076 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15077 result
= (wxObject
*)((wxEvent
const *)arg1
)->GetEventObject();
15079 wxPyEndAllowThreads(__tstate
);
15080 if (PyErr_Occurred()) SWIG_fail
;
15083 resultobj
= wxPyMake_wxObject(result
, 0);
15091 static PyObject
*_wrap_Event_SetEventObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15092 PyObject
*resultobj
;
15093 wxEvent
*arg1
= (wxEvent
*) 0 ;
15094 wxObject
*arg2
= (wxObject
*) 0 ;
15095 PyObject
* obj0
= 0 ;
15096 PyObject
* obj1
= 0 ;
15097 char *kwnames
[] = {
15098 (char *) "self",(char *) "obj", NULL
15101 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Event_SetEventObject",kwnames
,&obj0
,&obj1
)) goto fail
;
15102 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
15103 if (SWIG_arg_fail(1)) SWIG_fail
;
15104 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxObject
, SWIG_POINTER_EXCEPTION
| 0);
15105 if (SWIG_arg_fail(2)) SWIG_fail
;
15107 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15108 (arg1
)->SetEventObject(arg2
);
15110 wxPyEndAllowThreads(__tstate
);
15111 if (PyErr_Occurred()) SWIG_fail
;
15113 Py_INCREF(Py_None
); resultobj
= Py_None
;
15120 static PyObject
*_wrap_Event_GetTimestamp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15121 PyObject
*resultobj
;
15122 wxEvent
*arg1
= (wxEvent
*) 0 ;
15124 PyObject
* obj0
= 0 ;
15125 char *kwnames
[] = {
15126 (char *) "self", NULL
15129 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_GetTimestamp",kwnames
,&obj0
)) goto fail
;
15130 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
15131 if (SWIG_arg_fail(1)) SWIG_fail
;
15133 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15134 result
= (long)((wxEvent
const *)arg1
)->GetTimestamp();
15136 wxPyEndAllowThreads(__tstate
);
15137 if (PyErr_Occurred()) SWIG_fail
;
15140 resultobj
= SWIG_From_long((long)(result
));
15148 static PyObject
*_wrap_Event_SetTimestamp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15149 PyObject
*resultobj
;
15150 wxEvent
*arg1
= (wxEvent
*) 0 ;
15151 long arg2
= (long) 0 ;
15152 PyObject
* obj0
= 0 ;
15153 PyObject
* obj1
= 0 ;
15154 char *kwnames
[] = {
15155 (char *) "self",(char *) "ts", NULL
15158 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Event_SetTimestamp",kwnames
,&obj0
,&obj1
)) goto fail
;
15159 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
15160 if (SWIG_arg_fail(1)) SWIG_fail
;
15163 arg2
= (long)(SWIG_As_long(obj1
));
15164 if (SWIG_arg_fail(2)) SWIG_fail
;
15168 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15169 (arg1
)->SetTimestamp(arg2
);
15171 wxPyEndAllowThreads(__tstate
);
15172 if (PyErr_Occurred()) SWIG_fail
;
15174 Py_INCREF(Py_None
); resultobj
= Py_None
;
15181 static PyObject
*_wrap_Event_GetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15182 PyObject
*resultobj
;
15183 wxEvent
*arg1
= (wxEvent
*) 0 ;
15185 PyObject
* obj0
= 0 ;
15186 char *kwnames
[] = {
15187 (char *) "self", NULL
15190 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_GetId",kwnames
,&obj0
)) goto fail
;
15191 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
15192 if (SWIG_arg_fail(1)) SWIG_fail
;
15194 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15195 result
= (int)((wxEvent
const *)arg1
)->GetId();
15197 wxPyEndAllowThreads(__tstate
);
15198 if (PyErr_Occurred()) SWIG_fail
;
15201 resultobj
= SWIG_From_int((int)(result
));
15209 static PyObject
*_wrap_Event_SetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15210 PyObject
*resultobj
;
15211 wxEvent
*arg1
= (wxEvent
*) 0 ;
15213 PyObject
* obj0
= 0 ;
15214 PyObject
* obj1
= 0 ;
15215 char *kwnames
[] = {
15216 (char *) "self",(char *) "Id", NULL
15219 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Event_SetId",kwnames
,&obj0
,&obj1
)) goto fail
;
15220 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
15221 if (SWIG_arg_fail(1)) SWIG_fail
;
15223 arg2
= (int)(SWIG_As_int(obj1
));
15224 if (SWIG_arg_fail(2)) SWIG_fail
;
15227 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15228 (arg1
)->SetId(arg2
);
15230 wxPyEndAllowThreads(__tstate
);
15231 if (PyErr_Occurred()) SWIG_fail
;
15233 Py_INCREF(Py_None
); resultobj
= Py_None
;
15240 static PyObject
*_wrap_Event_IsCommandEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15241 PyObject
*resultobj
;
15242 wxEvent
*arg1
= (wxEvent
*) 0 ;
15244 PyObject
* obj0
= 0 ;
15245 char *kwnames
[] = {
15246 (char *) "self", NULL
15249 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_IsCommandEvent",kwnames
,&obj0
)) goto fail
;
15250 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
15251 if (SWIG_arg_fail(1)) SWIG_fail
;
15253 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15254 result
= (bool)((wxEvent
const *)arg1
)->IsCommandEvent();
15256 wxPyEndAllowThreads(__tstate
);
15257 if (PyErr_Occurred()) SWIG_fail
;
15260 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15268 static PyObject
*_wrap_Event_Skip(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15269 PyObject
*resultobj
;
15270 wxEvent
*arg1
= (wxEvent
*) 0 ;
15271 bool arg2
= (bool) true ;
15272 PyObject
* obj0
= 0 ;
15273 PyObject
* obj1
= 0 ;
15274 char *kwnames
[] = {
15275 (char *) "self",(char *) "skip", NULL
15278 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Event_Skip",kwnames
,&obj0
,&obj1
)) goto fail
;
15279 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
15280 if (SWIG_arg_fail(1)) SWIG_fail
;
15283 arg2
= (bool)(SWIG_As_bool(obj1
));
15284 if (SWIG_arg_fail(2)) SWIG_fail
;
15288 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15289 (arg1
)->Skip(arg2
);
15291 wxPyEndAllowThreads(__tstate
);
15292 if (PyErr_Occurred()) SWIG_fail
;
15294 Py_INCREF(Py_None
); resultobj
= Py_None
;
15301 static PyObject
*_wrap_Event_GetSkipped(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15302 PyObject
*resultobj
;
15303 wxEvent
*arg1
= (wxEvent
*) 0 ;
15305 PyObject
* obj0
= 0 ;
15306 char *kwnames
[] = {
15307 (char *) "self", NULL
15310 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_GetSkipped",kwnames
,&obj0
)) goto fail
;
15311 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
15312 if (SWIG_arg_fail(1)) SWIG_fail
;
15314 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15315 result
= (bool)((wxEvent
const *)arg1
)->GetSkipped();
15317 wxPyEndAllowThreads(__tstate
);
15318 if (PyErr_Occurred()) SWIG_fail
;
15321 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15329 static PyObject
*_wrap_Event_ShouldPropagate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15330 PyObject
*resultobj
;
15331 wxEvent
*arg1
= (wxEvent
*) 0 ;
15333 PyObject
* obj0
= 0 ;
15334 char *kwnames
[] = {
15335 (char *) "self", NULL
15338 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_ShouldPropagate",kwnames
,&obj0
)) goto fail
;
15339 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
15340 if (SWIG_arg_fail(1)) SWIG_fail
;
15342 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15343 result
= (bool)((wxEvent
const *)arg1
)->ShouldPropagate();
15345 wxPyEndAllowThreads(__tstate
);
15346 if (PyErr_Occurred()) SWIG_fail
;
15349 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15357 static PyObject
*_wrap_Event_StopPropagation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15358 PyObject
*resultobj
;
15359 wxEvent
*arg1
= (wxEvent
*) 0 ;
15361 PyObject
* obj0
= 0 ;
15362 char *kwnames
[] = {
15363 (char *) "self", NULL
15366 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_StopPropagation",kwnames
,&obj0
)) goto fail
;
15367 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
15368 if (SWIG_arg_fail(1)) SWIG_fail
;
15370 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15371 result
= (int)(arg1
)->StopPropagation();
15373 wxPyEndAllowThreads(__tstate
);
15374 if (PyErr_Occurred()) SWIG_fail
;
15377 resultobj
= SWIG_From_int((int)(result
));
15385 static PyObject
*_wrap_Event_ResumePropagation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15386 PyObject
*resultobj
;
15387 wxEvent
*arg1
= (wxEvent
*) 0 ;
15389 PyObject
* obj0
= 0 ;
15390 PyObject
* obj1
= 0 ;
15391 char *kwnames
[] = {
15392 (char *) "self",(char *) "propagationLevel", NULL
15395 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Event_ResumePropagation",kwnames
,&obj0
,&obj1
)) goto fail
;
15396 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
15397 if (SWIG_arg_fail(1)) SWIG_fail
;
15399 arg2
= (int)(SWIG_As_int(obj1
));
15400 if (SWIG_arg_fail(2)) SWIG_fail
;
15403 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15404 (arg1
)->ResumePropagation(arg2
);
15406 wxPyEndAllowThreads(__tstate
);
15407 if (PyErr_Occurred()) SWIG_fail
;
15409 Py_INCREF(Py_None
); resultobj
= Py_None
;
15416 static PyObject
*_wrap_Event_Clone(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15417 PyObject
*resultobj
;
15418 wxEvent
*arg1
= (wxEvent
*) 0 ;
15420 PyObject
* obj0
= 0 ;
15421 char *kwnames
[] = {
15422 (char *) "self", NULL
15425 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_Clone",kwnames
,&obj0
)) goto fail
;
15426 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
15427 if (SWIG_arg_fail(1)) SWIG_fail
;
15429 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15430 result
= (wxEvent
*)(arg1
)->Clone();
15432 wxPyEndAllowThreads(__tstate
);
15433 if (PyErr_Occurred()) SWIG_fail
;
15435 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxEvent
, 0);
15442 static PyObject
* Event_swigregister(PyObject
*, PyObject
*args
) {
15444 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15445 SWIG_TypeClientData(SWIGTYPE_p_wxEvent
, obj
);
15447 return Py_BuildValue((char *)"");
15449 static PyObject
*_wrap_new_PropagationDisabler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15450 PyObject
*resultobj
;
15451 wxEvent
*arg1
= 0 ;
15452 wxPropagationDisabler
*result
;
15453 PyObject
* obj0
= 0 ;
15454 char *kwnames
[] = {
15455 (char *) "event", NULL
15458 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PropagationDisabler",kwnames
,&obj0
)) goto fail
;
15460 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
15461 if (SWIG_arg_fail(1)) SWIG_fail
;
15462 if (arg1
== NULL
) {
15463 SWIG_null_ref("wxEvent");
15465 if (SWIG_arg_fail(1)) SWIG_fail
;
15468 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15469 result
= (wxPropagationDisabler
*)new wxPropagationDisabler(*arg1
);
15471 wxPyEndAllowThreads(__tstate
);
15472 if (PyErr_Occurred()) SWIG_fail
;
15474 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPropagationDisabler
, 1);
15481 static PyObject
*_wrap_delete_PropagationDisabler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15482 PyObject
*resultobj
;
15483 wxPropagationDisabler
*arg1
= (wxPropagationDisabler
*) 0 ;
15484 PyObject
* obj0
= 0 ;
15485 char *kwnames
[] = {
15486 (char *) "self", NULL
15489 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PropagationDisabler",kwnames
,&obj0
)) goto fail
;
15490 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPropagationDisabler
, SWIG_POINTER_EXCEPTION
| 0);
15491 if (SWIG_arg_fail(1)) SWIG_fail
;
15493 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15496 wxPyEndAllowThreads(__tstate
);
15497 if (PyErr_Occurred()) SWIG_fail
;
15499 Py_INCREF(Py_None
); resultobj
= Py_None
;
15506 static PyObject
* PropagationDisabler_swigregister(PyObject
*, PyObject
*args
) {
15508 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15509 SWIG_TypeClientData(SWIGTYPE_p_wxPropagationDisabler
, obj
);
15511 return Py_BuildValue((char *)"");
15513 static PyObject
*_wrap_new_PropagateOnce(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15514 PyObject
*resultobj
;
15515 wxEvent
*arg1
= 0 ;
15516 wxPropagateOnce
*result
;
15517 PyObject
* obj0
= 0 ;
15518 char *kwnames
[] = {
15519 (char *) "event", NULL
15522 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PropagateOnce",kwnames
,&obj0
)) goto fail
;
15524 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
15525 if (SWIG_arg_fail(1)) SWIG_fail
;
15526 if (arg1
== NULL
) {
15527 SWIG_null_ref("wxEvent");
15529 if (SWIG_arg_fail(1)) SWIG_fail
;
15532 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15533 result
= (wxPropagateOnce
*)new wxPropagateOnce(*arg1
);
15535 wxPyEndAllowThreads(__tstate
);
15536 if (PyErr_Occurred()) SWIG_fail
;
15538 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPropagateOnce
, 1);
15545 static PyObject
*_wrap_delete_PropagateOnce(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15546 PyObject
*resultobj
;
15547 wxPropagateOnce
*arg1
= (wxPropagateOnce
*) 0 ;
15548 PyObject
* obj0
= 0 ;
15549 char *kwnames
[] = {
15550 (char *) "self", NULL
15553 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PropagateOnce",kwnames
,&obj0
)) goto fail
;
15554 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPropagateOnce
, SWIG_POINTER_EXCEPTION
| 0);
15555 if (SWIG_arg_fail(1)) SWIG_fail
;
15557 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15560 wxPyEndAllowThreads(__tstate
);
15561 if (PyErr_Occurred()) SWIG_fail
;
15563 Py_INCREF(Py_None
); resultobj
= Py_None
;
15570 static PyObject
* PropagateOnce_swigregister(PyObject
*, PyObject
*args
) {
15572 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15573 SWIG_TypeClientData(SWIGTYPE_p_wxPropagateOnce
, obj
);
15575 return Py_BuildValue((char *)"");
15577 static PyObject
*_wrap_new_CommandEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15578 PyObject
*resultobj
;
15579 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
15580 int arg2
= (int) 0 ;
15581 wxCommandEvent
*result
;
15582 PyObject
* obj0
= 0 ;
15583 PyObject
* obj1
= 0 ;
15584 char *kwnames
[] = {
15585 (char *) "commandType",(char *) "winid", NULL
15588 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_CommandEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
15591 arg1
= (wxEventType
)(SWIG_As_int(obj0
));
15592 if (SWIG_arg_fail(1)) SWIG_fail
;
15597 arg2
= (int)(SWIG_As_int(obj1
));
15598 if (SWIG_arg_fail(2)) SWIG_fail
;
15602 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15603 result
= (wxCommandEvent
*)new wxCommandEvent(arg1
,arg2
);
15605 wxPyEndAllowThreads(__tstate
);
15606 if (PyErr_Occurred()) SWIG_fail
;
15608 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCommandEvent
, 1);
15615 static PyObject
*_wrap_CommandEvent_GetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15616 PyObject
*resultobj
;
15617 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
15619 PyObject
* obj0
= 0 ;
15620 char *kwnames
[] = {
15621 (char *) "self", NULL
15624 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CommandEvent_GetSelection",kwnames
,&obj0
)) goto fail
;
15625 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCommandEvent
, SWIG_POINTER_EXCEPTION
| 0);
15626 if (SWIG_arg_fail(1)) SWIG_fail
;
15628 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15629 result
= (int)((wxCommandEvent
const *)arg1
)->GetSelection();
15631 wxPyEndAllowThreads(__tstate
);
15632 if (PyErr_Occurred()) SWIG_fail
;
15635 resultobj
= SWIG_From_int((int)(result
));
15643 static PyObject
*_wrap_CommandEvent_SetString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15644 PyObject
*resultobj
;
15645 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
15646 wxString
*arg2
= 0 ;
15647 bool temp2
= false ;
15648 PyObject
* obj0
= 0 ;
15649 PyObject
* obj1
= 0 ;
15650 char *kwnames
[] = {
15651 (char *) "self",(char *) "s", NULL
15654 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CommandEvent_SetString",kwnames
,&obj0
,&obj1
)) goto fail
;
15655 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCommandEvent
, SWIG_POINTER_EXCEPTION
| 0);
15656 if (SWIG_arg_fail(1)) SWIG_fail
;
15658 arg2
= wxString_in_helper(obj1
);
15659 if (arg2
== NULL
) SWIG_fail
;
15663 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15664 (arg1
)->SetString((wxString
const &)*arg2
);
15666 wxPyEndAllowThreads(__tstate
);
15667 if (PyErr_Occurred()) SWIG_fail
;
15669 Py_INCREF(Py_None
); resultobj
= Py_None
;
15684 static PyObject
*_wrap_CommandEvent_GetString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15685 PyObject
*resultobj
;
15686 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
15688 PyObject
* obj0
= 0 ;
15689 char *kwnames
[] = {
15690 (char *) "self", NULL
15693 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CommandEvent_GetString",kwnames
,&obj0
)) goto fail
;
15694 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCommandEvent
, SWIG_POINTER_EXCEPTION
| 0);
15695 if (SWIG_arg_fail(1)) SWIG_fail
;
15697 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15698 result
= ((wxCommandEvent
const *)arg1
)->GetString();
15700 wxPyEndAllowThreads(__tstate
);
15701 if (PyErr_Occurred()) SWIG_fail
;
15705 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
15707 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
15716 static PyObject
*_wrap_CommandEvent_IsChecked(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15717 PyObject
*resultobj
;
15718 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
15720 PyObject
* obj0
= 0 ;
15721 char *kwnames
[] = {
15722 (char *) "self", NULL
15725 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CommandEvent_IsChecked",kwnames
,&obj0
)) goto fail
;
15726 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCommandEvent
, SWIG_POINTER_EXCEPTION
| 0);
15727 if (SWIG_arg_fail(1)) SWIG_fail
;
15729 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15730 result
= (bool)((wxCommandEvent
const *)arg1
)->IsChecked();
15732 wxPyEndAllowThreads(__tstate
);
15733 if (PyErr_Occurred()) SWIG_fail
;
15736 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15744 static PyObject
*_wrap_CommandEvent_IsSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15745 PyObject
*resultobj
;
15746 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
15748 PyObject
* obj0
= 0 ;
15749 char *kwnames
[] = {
15750 (char *) "self", NULL
15753 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CommandEvent_IsSelection",kwnames
,&obj0
)) goto fail
;
15754 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCommandEvent
, SWIG_POINTER_EXCEPTION
| 0);
15755 if (SWIG_arg_fail(1)) SWIG_fail
;
15757 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15758 result
= (bool)((wxCommandEvent
const *)arg1
)->IsSelection();
15760 wxPyEndAllowThreads(__tstate
);
15761 if (PyErr_Occurred()) SWIG_fail
;
15764 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15772 static PyObject
*_wrap_CommandEvent_SetExtraLong(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15773 PyObject
*resultobj
;
15774 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
15776 PyObject
* obj0
= 0 ;
15777 PyObject
* obj1
= 0 ;
15778 char *kwnames
[] = {
15779 (char *) "self",(char *) "extraLong", NULL
15782 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CommandEvent_SetExtraLong",kwnames
,&obj0
,&obj1
)) goto fail
;
15783 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCommandEvent
, SWIG_POINTER_EXCEPTION
| 0);
15784 if (SWIG_arg_fail(1)) SWIG_fail
;
15786 arg2
= (long)(SWIG_As_long(obj1
));
15787 if (SWIG_arg_fail(2)) SWIG_fail
;
15790 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15791 (arg1
)->SetExtraLong(arg2
);
15793 wxPyEndAllowThreads(__tstate
);
15794 if (PyErr_Occurred()) SWIG_fail
;
15796 Py_INCREF(Py_None
); resultobj
= Py_None
;
15803 static PyObject
*_wrap_CommandEvent_GetExtraLong(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15804 PyObject
*resultobj
;
15805 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
15807 PyObject
* obj0
= 0 ;
15808 char *kwnames
[] = {
15809 (char *) "self", NULL
15812 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CommandEvent_GetExtraLong",kwnames
,&obj0
)) goto fail
;
15813 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCommandEvent
, SWIG_POINTER_EXCEPTION
| 0);
15814 if (SWIG_arg_fail(1)) SWIG_fail
;
15816 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15817 result
= (long)((wxCommandEvent
const *)arg1
)->GetExtraLong();
15819 wxPyEndAllowThreads(__tstate
);
15820 if (PyErr_Occurred()) SWIG_fail
;
15823 resultobj
= SWIG_From_long((long)(result
));
15831 static PyObject
*_wrap_CommandEvent_SetInt(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15832 PyObject
*resultobj
;
15833 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
15835 PyObject
* obj0
= 0 ;
15836 PyObject
* obj1
= 0 ;
15837 char *kwnames
[] = {
15838 (char *) "self",(char *) "i", NULL
15841 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CommandEvent_SetInt",kwnames
,&obj0
,&obj1
)) goto fail
;
15842 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCommandEvent
, SWIG_POINTER_EXCEPTION
| 0);
15843 if (SWIG_arg_fail(1)) SWIG_fail
;
15845 arg2
= (int)(SWIG_As_int(obj1
));
15846 if (SWIG_arg_fail(2)) SWIG_fail
;
15849 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15850 (arg1
)->SetInt(arg2
);
15852 wxPyEndAllowThreads(__tstate
);
15853 if (PyErr_Occurred()) SWIG_fail
;
15855 Py_INCREF(Py_None
); resultobj
= Py_None
;
15862 static PyObject
*_wrap_CommandEvent_GetInt(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15863 PyObject
*resultobj
;
15864 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
15866 PyObject
* obj0
= 0 ;
15867 char *kwnames
[] = {
15868 (char *) "self", NULL
15871 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CommandEvent_GetInt",kwnames
,&obj0
)) goto fail
;
15872 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCommandEvent
, SWIG_POINTER_EXCEPTION
| 0);
15873 if (SWIG_arg_fail(1)) SWIG_fail
;
15875 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15876 result
= (long)((wxCommandEvent
const *)arg1
)->GetInt();
15878 wxPyEndAllowThreads(__tstate
);
15879 if (PyErr_Occurred()) SWIG_fail
;
15882 resultobj
= SWIG_From_long((long)(result
));
15890 static PyObject
*_wrap_CommandEvent_Clone(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15891 PyObject
*resultobj
;
15892 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
15894 PyObject
* obj0
= 0 ;
15895 char *kwnames
[] = {
15896 (char *) "self", NULL
15899 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CommandEvent_Clone",kwnames
,&obj0
)) goto fail
;
15900 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCommandEvent
, SWIG_POINTER_EXCEPTION
| 0);
15901 if (SWIG_arg_fail(1)) SWIG_fail
;
15903 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15904 result
= (wxEvent
*)((wxCommandEvent
const *)arg1
)->Clone();
15906 wxPyEndAllowThreads(__tstate
);
15907 if (PyErr_Occurred()) SWIG_fail
;
15909 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxEvent
, 0);
15916 static PyObject
* CommandEvent_swigregister(PyObject
*, PyObject
*args
) {
15918 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15919 SWIG_TypeClientData(SWIGTYPE_p_wxCommandEvent
, obj
);
15921 return Py_BuildValue((char *)"");
15923 static PyObject
*_wrap_new_NotifyEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15924 PyObject
*resultobj
;
15925 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
15926 int arg2
= (int) 0 ;
15927 wxNotifyEvent
*result
;
15928 PyObject
* obj0
= 0 ;
15929 PyObject
* obj1
= 0 ;
15930 char *kwnames
[] = {
15931 (char *) "commandType",(char *) "winid", NULL
15934 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_NotifyEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
15937 arg1
= (wxEventType
)(SWIG_As_int(obj0
));
15938 if (SWIG_arg_fail(1)) SWIG_fail
;
15943 arg2
= (int)(SWIG_As_int(obj1
));
15944 if (SWIG_arg_fail(2)) SWIG_fail
;
15948 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15949 result
= (wxNotifyEvent
*)new wxNotifyEvent(arg1
,arg2
);
15951 wxPyEndAllowThreads(__tstate
);
15952 if (PyErr_Occurred()) SWIG_fail
;
15954 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNotifyEvent
, 1);
15961 static PyObject
*_wrap_NotifyEvent_Veto(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15962 PyObject
*resultobj
;
15963 wxNotifyEvent
*arg1
= (wxNotifyEvent
*) 0 ;
15964 PyObject
* obj0
= 0 ;
15965 char *kwnames
[] = {
15966 (char *) "self", NULL
15969 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NotifyEvent_Veto",kwnames
,&obj0
)) goto fail
;
15970 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNotifyEvent
, SWIG_POINTER_EXCEPTION
| 0);
15971 if (SWIG_arg_fail(1)) SWIG_fail
;
15973 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15976 wxPyEndAllowThreads(__tstate
);
15977 if (PyErr_Occurred()) SWIG_fail
;
15979 Py_INCREF(Py_None
); resultobj
= Py_None
;
15986 static PyObject
*_wrap_NotifyEvent_Allow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15987 PyObject
*resultobj
;
15988 wxNotifyEvent
*arg1
= (wxNotifyEvent
*) 0 ;
15989 PyObject
* obj0
= 0 ;
15990 char *kwnames
[] = {
15991 (char *) "self", NULL
15994 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NotifyEvent_Allow",kwnames
,&obj0
)) goto fail
;
15995 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNotifyEvent
, SWIG_POINTER_EXCEPTION
| 0);
15996 if (SWIG_arg_fail(1)) SWIG_fail
;
15998 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16001 wxPyEndAllowThreads(__tstate
);
16002 if (PyErr_Occurred()) SWIG_fail
;
16004 Py_INCREF(Py_None
); resultobj
= Py_None
;
16011 static PyObject
*_wrap_NotifyEvent_IsAllowed(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16012 PyObject
*resultobj
;
16013 wxNotifyEvent
*arg1
= (wxNotifyEvent
*) 0 ;
16015 PyObject
* obj0
= 0 ;
16016 char *kwnames
[] = {
16017 (char *) "self", NULL
16020 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NotifyEvent_IsAllowed",kwnames
,&obj0
)) goto fail
;
16021 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNotifyEvent
, SWIG_POINTER_EXCEPTION
| 0);
16022 if (SWIG_arg_fail(1)) SWIG_fail
;
16024 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16025 result
= (bool)(arg1
)->IsAllowed();
16027 wxPyEndAllowThreads(__tstate
);
16028 if (PyErr_Occurred()) SWIG_fail
;
16031 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16039 static PyObject
* NotifyEvent_swigregister(PyObject
*, PyObject
*args
) {
16041 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16042 SWIG_TypeClientData(SWIGTYPE_p_wxNotifyEvent
, obj
);
16044 return Py_BuildValue((char *)"");
16046 static PyObject
*_wrap_new_ScrollEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16047 PyObject
*resultobj
;
16048 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
16049 int arg2
= (int) 0 ;
16050 int arg3
= (int) 0 ;
16051 int arg4
= (int) 0 ;
16052 wxScrollEvent
*result
;
16053 PyObject
* obj0
= 0 ;
16054 PyObject
* obj1
= 0 ;
16055 PyObject
* obj2
= 0 ;
16056 PyObject
* obj3
= 0 ;
16057 char *kwnames
[] = {
16058 (char *) "commandType",(char *) "winid",(char *) "pos",(char *) "orient", NULL
16061 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_ScrollEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
16064 arg1
= (wxEventType
)(SWIG_As_int(obj0
));
16065 if (SWIG_arg_fail(1)) SWIG_fail
;
16070 arg2
= (int)(SWIG_As_int(obj1
));
16071 if (SWIG_arg_fail(2)) SWIG_fail
;
16076 arg3
= (int)(SWIG_As_int(obj2
));
16077 if (SWIG_arg_fail(3)) SWIG_fail
;
16082 arg4
= (int)(SWIG_As_int(obj3
));
16083 if (SWIG_arg_fail(4)) SWIG_fail
;
16087 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16088 result
= (wxScrollEvent
*)new wxScrollEvent(arg1
,arg2
,arg3
,arg4
);
16090 wxPyEndAllowThreads(__tstate
);
16091 if (PyErr_Occurred()) SWIG_fail
;
16093 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxScrollEvent
, 1);
16100 static PyObject
*_wrap_ScrollEvent_GetOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16101 PyObject
*resultobj
;
16102 wxScrollEvent
*arg1
= (wxScrollEvent
*) 0 ;
16104 PyObject
* obj0
= 0 ;
16105 char *kwnames
[] = {
16106 (char *) "self", NULL
16109 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollEvent_GetOrientation",kwnames
,&obj0
)) goto fail
;
16110 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrollEvent
, SWIG_POINTER_EXCEPTION
| 0);
16111 if (SWIG_arg_fail(1)) SWIG_fail
;
16113 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16114 result
= (int)((wxScrollEvent
const *)arg1
)->GetOrientation();
16116 wxPyEndAllowThreads(__tstate
);
16117 if (PyErr_Occurred()) SWIG_fail
;
16120 resultobj
= SWIG_From_int((int)(result
));
16128 static PyObject
*_wrap_ScrollEvent_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16129 PyObject
*resultobj
;
16130 wxScrollEvent
*arg1
= (wxScrollEvent
*) 0 ;
16132 PyObject
* obj0
= 0 ;
16133 char *kwnames
[] = {
16134 (char *) "self", NULL
16137 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
16138 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrollEvent
, SWIG_POINTER_EXCEPTION
| 0);
16139 if (SWIG_arg_fail(1)) SWIG_fail
;
16141 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16142 result
= (int)((wxScrollEvent
const *)arg1
)->GetPosition();
16144 wxPyEndAllowThreads(__tstate
);
16145 if (PyErr_Occurred()) SWIG_fail
;
16148 resultobj
= SWIG_From_int((int)(result
));
16156 static PyObject
*_wrap_ScrollEvent_SetOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16157 PyObject
*resultobj
;
16158 wxScrollEvent
*arg1
= (wxScrollEvent
*) 0 ;
16160 PyObject
* obj0
= 0 ;
16161 PyObject
* obj1
= 0 ;
16162 char *kwnames
[] = {
16163 (char *) "self",(char *) "orient", NULL
16166 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrollEvent_SetOrientation",kwnames
,&obj0
,&obj1
)) goto fail
;
16167 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrollEvent
, SWIG_POINTER_EXCEPTION
| 0);
16168 if (SWIG_arg_fail(1)) SWIG_fail
;
16170 arg2
= (int)(SWIG_As_int(obj1
));
16171 if (SWIG_arg_fail(2)) SWIG_fail
;
16174 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16175 (arg1
)->SetOrientation(arg2
);
16177 wxPyEndAllowThreads(__tstate
);
16178 if (PyErr_Occurred()) SWIG_fail
;
16180 Py_INCREF(Py_None
); resultobj
= Py_None
;
16187 static PyObject
*_wrap_ScrollEvent_SetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16188 PyObject
*resultobj
;
16189 wxScrollEvent
*arg1
= (wxScrollEvent
*) 0 ;
16191 PyObject
* obj0
= 0 ;
16192 PyObject
* obj1
= 0 ;
16193 char *kwnames
[] = {
16194 (char *) "self",(char *) "pos", NULL
16197 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrollEvent_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
16198 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrollEvent
, SWIG_POINTER_EXCEPTION
| 0);
16199 if (SWIG_arg_fail(1)) SWIG_fail
;
16201 arg2
= (int)(SWIG_As_int(obj1
));
16202 if (SWIG_arg_fail(2)) SWIG_fail
;
16205 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16206 (arg1
)->SetPosition(arg2
);
16208 wxPyEndAllowThreads(__tstate
);
16209 if (PyErr_Occurred()) SWIG_fail
;
16211 Py_INCREF(Py_None
); resultobj
= Py_None
;
16218 static PyObject
* ScrollEvent_swigregister(PyObject
*, PyObject
*args
) {
16220 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16221 SWIG_TypeClientData(SWIGTYPE_p_wxScrollEvent
, obj
);
16223 return Py_BuildValue((char *)"");
16225 static PyObject
*_wrap_new_ScrollWinEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16226 PyObject
*resultobj
;
16227 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
16228 int arg2
= (int) 0 ;
16229 int arg3
= (int) 0 ;
16230 wxScrollWinEvent
*result
;
16231 PyObject
* obj0
= 0 ;
16232 PyObject
* obj1
= 0 ;
16233 PyObject
* obj2
= 0 ;
16234 char *kwnames
[] = {
16235 (char *) "commandType",(char *) "pos",(char *) "orient", NULL
16238 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_ScrollWinEvent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16241 arg1
= (wxEventType
)(SWIG_As_int(obj0
));
16242 if (SWIG_arg_fail(1)) SWIG_fail
;
16247 arg2
= (int)(SWIG_As_int(obj1
));
16248 if (SWIG_arg_fail(2)) SWIG_fail
;
16253 arg3
= (int)(SWIG_As_int(obj2
));
16254 if (SWIG_arg_fail(3)) SWIG_fail
;
16258 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16259 result
= (wxScrollWinEvent
*)new wxScrollWinEvent(arg1
,arg2
,arg3
);
16261 wxPyEndAllowThreads(__tstate
);
16262 if (PyErr_Occurred()) SWIG_fail
;
16264 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxScrollWinEvent
, 1);
16271 static PyObject
*_wrap_ScrollWinEvent_GetOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16272 PyObject
*resultobj
;
16273 wxScrollWinEvent
*arg1
= (wxScrollWinEvent
*) 0 ;
16275 PyObject
* obj0
= 0 ;
16276 char *kwnames
[] = {
16277 (char *) "self", NULL
16280 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollWinEvent_GetOrientation",kwnames
,&obj0
)) goto fail
;
16281 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrollWinEvent
, SWIG_POINTER_EXCEPTION
| 0);
16282 if (SWIG_arg_fail(1)) SWIG_fail
;
16284 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16285 result
= (int)((wxScrollWinEvent
const *)arg1
)->GetOrientation();
16287 wxPyEndAllowThreads(__tstate
);
16288 if (PyErr_Occurred()) SWIG_fail
;
16291 resultobj
= SWIG_From_int((int)(result
));
16299 static PyObject
*_wrap_ScrollWinEvent_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16300 PyObject
*resultobj
;
16301 wxScrollWinEvent
*arg1
= (wxScrollWinEvent
*) 0 ;
16303 PyObject
* obj0
= 0 ;
16304 char *kwnames
[] = {
16305 (char *) "self", NULL
16308 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollWinEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
16309 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrollWinEvent
, SWIG_POINTER_EXCEPTION
| 0);
16310 if (SWIG_arg_fail(1)) SWIG_fail
;
16312 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16313 result
= (int)((wxScrollWinEvent
const *)arg1
)->GetPosition();
16315 wxPyEndAllowThreads(__tstate
);
16316 if (PyErr_Occurred()) SWIG_fail
;
16319 resultobj
= SWIG_From_int((int)(result
));
16327 static PyObject
*_wrap_ScrollWinEvent_SetOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16328 PyObject
*resultobj
;
16329 wxScrollWinEvent
*arg1
= (wxScrollWinEvent
*) 0 ;
16331 PyObject
* obj0
= 0 ;
16332 PyObject
* obj1
= 0 ;
16333 char *kwnames
[] = {
16334 (char *) "self",(char *) "orient", NULL
16337 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrollWinEvent_SetOrientation",kwnames
,&obj0
,&obj1
)) goto fail
;
16338 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrollWinEvent
, SWIG_POINTER_EXCEPTION
| 0);
16339 if (SWIG_arg_fail(1)) SWIG_fail
;
16341 arg2
= (int)(SWIG_As_int(obj1
));
16342 if (SWIG_arg_fail(2)) SWIG_fail
;
16345 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16346 (arg1
)->SetOrientation(arg2
);
16348 wxPyEndAllowThreads(__tstate
);
16349 if (PyErr_Occurred()) SWIG_fail
;
16351 Py_INCREF(Py_None
); resultobj
= Py_None
;
16358 static PyObject
*_wrap_ScrollWinEvent_SetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16359 PyObject
*resultobj
;
16360 wxScrollWinEvent
*arg1
= (wxScrollWinEvent
*) 0 ;
16362 PyObject
* obj0
= 0 ;
16363 PyObject
* obj1
= 0 ;
16364 char *kwnames
[] = {
16365 (char *) "self",(char *) "pos", NULL
16368 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrollWinEvent_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
16369 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrollWinEvent
, SWIG_POINTER_EXCEPTION
| 0);
16370 if (SWIG_arg_fail(1)) SWIG_fail
;
16372 arg2
= (int)(SWIG_As_int(obj1
));
16373 if (SWIG_arg_fail(2)) SWIG_fail
;
16376 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16377 (arg1
)->SetPosition(arg2
);
16379 wxPyEndAllowThreads(__tstate
);
16380 if (PyErr_Occurred()) SWIG_fail
;
16382 Py_INCREF(Py_None
); resultobj
= Py_None
;
16389 static PyObject
* ScrollWinEvent_swigregister(PyObject
*, PyObject
*args
) {
16391 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16392 SWIG_TypeClientData(SWIGTYPE_p_wxScrollWinEvent
, obj
);
16394 return Py_BuildValue((char *)"");
16396 static PyObject
*_wrap_new_MouseEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16397 PyObject
*resultobj
;
16398 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
16399 wxMouseEvent
*result
;
16400 PyObject
* obj0
= 0 ;
16401 char *kwnames
[] = {
16402 (char *) "mouseType", NULL
16405 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_MouseEvent",kwnames
,&obj0
)) goto fail
;
16408 arg1
= (wxEventType
)(SWIG_As_int(obj0
));
16409 if (SWIG_arg_fail(1)) SWIG_fail
;
16413 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16414 result
= (wxMouseEvent
*)new wxMouseEvent(arg1
);
16416 wxPyEndAllowThreads(__tstate
);
16417 if (PyErr_Occurred()) SWIG_fail
;
16420 resultobj
= wxPyMake_wxObject(result
, 1);
16428 static PyObject
*_wrap_MouseEvent_IsButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16429 PyObject
*resultobj
;
16430 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16432 PyObject
* obj0
= 0 ;
16433 char *kwnames
[] = {
16434 (char *) "self", NULL
16437 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_IsButton",kwnames
,&obj0
)) goto fail
;
16438 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16439 if (SWIG_arg_fail(1)) SWIG_fail
;
16441 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16442 result
= (bool)((wxMouseEvent
const *)arg1
)->IsButton();
16444 wxPyEndAllowThreads(__tstate
);
16445 if (PyErr_Occurred()) SWIG_fail
;
16448 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16456 static PyObject
*_wrap_MouseEvent_ButtonDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16457 PyObject
*resultobj
;
16458 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16459 int arg2
= (int) wxMOUSE_BTN_ANY
;
16461 PyObject
* obj0
= 0 ;
16462 PyObject
* obj1
= 0 ;
16463 char *kwnames
[] = {
16464 (char *) "self",(char *) "but", NULL
16467 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:MouseEvent_ButtonDown",kwnames
,&obj0
,&obj1
)) goto fail
;
16468 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16469 if (SWIG_arg_fail(1)) SWIG_fail
;
16472 arg2
= (int)(SWIG_As_int(obj1
));
16473 if (SWIG_arg_fail(2)) SWIG_fail
;
16477 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16478 result
= (bool)((wxMouseEvent
const *)arg1
)->ButtonDown(arg2
);
16480 wxPyEndAllowThreads(__tstate
);
16481 if (PyErr_Occurred()) SWIG_fail
;
16484 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16492 static PyObject
*_wrap_MouseEvent_ButtonDClick(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16493 PyObject
*resultobj
;
16494 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16495 int arg2
= (int) wxMOUSE_BTN_ANY
;
16497 PyObject
* obj0
= 0 ;
16498 PyObject
* obj1
= 0 ;
16499 char *kwnames
[] = {
16500 (char *) "self",(char *) "but", NULL
16503 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:MouseEvent_ButtonDClick",kwnames
,&obj0
,&obj1
)) goto fail
;
16504 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16505 if (SWIG_arg_fail(1)) SWIG_fail
;
16508 arg2
= (int)(SWIG_As_int(obj1
));
16509 if (SWIG_arg_fail(2)) SWIG_fail
;
16513 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16514 result
= (bool)((wxMouseEvent
const *)arg1
)->ButtonDClick(arg2
);
16516 wxPyEndAllowThreads(__tstate
);
16517 if (PyErr_Occurred()) SWIG_fail
;
16520 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16528 static PyObject
*_wrap_MouseEvent_ButtonUp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16529 PyObject
*resultobj
;
16530 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16531 int arg2
= (int) wxMOUSE_BTN_ANY
;
16533 PyObject
* obj0
= 0 ;
16534 PyObject
* obj1
= 0 ;
16535 char *kwnames
[] = {
16536 (char *) "self",(char *) "but", NULL
16539 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:MouseEvent_ButtonUp",kwnames
,&obj0
,&obj1
)) goto fail
;
16540 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16541 if (SWIG_arg_fail(1)) SWIG_fail
;
16544 arg2
= (int)(SWIG_As_int(obj1
));
16545 if (SWIG_arg_fail(2)) SWIG_fail
;
16549 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16550 result
= (bool)((wxMouseEvent
const *)arg1
)->ButtonUp(arg2
);
16552 wxPyEndAllowThreads(__tstate
);
16553 if (PyErr_Occurred()) SWIG_fail
;
16556 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16564 static PyObject
*_wrap_MouseEvent_Button(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16565 PyObject
*resultobj
;
16566 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16569 PyObject
* obj0
= 0 ;
16570 PyObject
* obj1
= 0 ;
16571 char *kwnames
[] = {
16572 (char *) "self",(char *) "but", NULL
16575 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_Button",kwnames
,&obj0
,&obj1
)) goto fail
;
16576 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16577 if (SWIG_arg_fail(1)) SWIG_fail
;
16579 arg2
= (int)(SWIG_As_int(obj1
));
16580 if (SWIG_arg_fail(2)) SWIG_fail
;
16583 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16584 result
= (bool)((wxMouseEvent
const *)arg1
)->Button(arg2
);
16586 wxPyEndAllowThreads(__tstate
);
16587 if (PyErr_Occurred()) SWIG_fail
;
16590 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16598 static PyObject
*_wrap_MouseEvent_ButtonIsDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16599 PyObject
*resultobj
;
16600 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16603 PyObject
* obj0
= 0 ;
16604 PyObject
* obj1
= 0 ;
16605 char *kwnames
[] = {
16606 (char *) "self",(char *) "but", NULL
16609 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_ButtonIsDown",kwnames
,&obj0
,&obj1
)) goto fail
;
16610 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16611 if (SWIG_arg_fail(1)) SWIG_fail
;
16613 arg2
= (int)(SWIG_As_int(obj1
));
16614 if (SWIG_arg_fail(2)) SWIG_fail
;
16617 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16618 result
= (bool)((wxMouseEvent
const *)arg1
)->ButtonIsDown(arg2
);
16620 wxPyEndAllowThreads(__tstate
);
16621 if (PyErr_Occurred()) SWIG_fail
;
16624 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16632 static PyObject
*_wrap_MouseEvent_GetButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16633 PyObject
*resultobj
;
16634 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16636 PyObject
* obj0
= 0 ;
16637 char *kwnames
[] = {
16638 (char *) "self", NULL
16641 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetButton",kwnames
,&obj0
)) goto fail
;
16642 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16643 if (SWIG_arg_fail(1)) SWIG_fail
;
16645 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16646 result
= (int)((wxMouseEvent
const *)arg1
)->GetButton();
16648 wxPyEndAllowThreads(__tstate
);
16649 if (PyErr_Occurred()) SWIG_fail
;
16652 resultobj
= SWIG_From_int((int)(result
));
16660 static PyObject
*_wrap_MouseEvent_ControlDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16661 PyObject
*resultobj
;
16662 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16664 PyObject
* obj0
= 0 ;
16665 char *kwnames
[] = {
16666 (char *) "self", NULL
16669 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_ControlDown",kwnames
,&obj0
)) goto fail
;
16670 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16671 if (SWIG_arg_fail(1)) SWIG_fail
;
16673 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16674 result
= (bool)((wxMouseEvent
const *)arg1
)->ControlDown();
16676 wxPyEndAllowThreads(__tstate
);
16677 if (PyErr_Occurred()) SWIG_fail
;
16680 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16688 static PyObject
*_wrap_MouseEvent_MetaDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16689 PyObject
*resultobj
;
16690 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16692 PyObject
* obj0
= 0 ;
16693 char *kwnames
[] = {
16694 (char *) "self", NULL
16697 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_MetaDown",kwnames
,&obj0
)) goto fail
;
16698 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16699 if (SWIG_arg_fail(1)) SWIG_fail
;
16701 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16702 result
= (bool)((wxMouseEvent
const *)arg1
)->MetaDown();
16704 wxPyEndAllowThreads(__tstate
);
16705 if (PyErr_Occurred()) SWIG_fail
;
16708 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16716 static PyObject
*_wrap_MouseEvent_AltDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16717 PyObject
*resultobj
;
16718 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16720 PyObject
* obj0
= 0 ;
16721 char *kwnames
[] = {
16722 (char *) "self", NULL
16725 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_AltDown",kwnames
,&obj0
)) goto fail
;
16726 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16727 if (SWIG_arg_fail(1)) SWIG_fail
;
16729 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16730 result
= (bool)((wxMouseEvent
const *)arg1
)->AltDown();
16732 wxPyEndAllowThreads(__tstate
);
16733 if (PyErr_Occurred()) SWIG_fail
;
16736 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16744 static PyObject
*_wrap_MouseEvent_ShiftDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16745 PyObject
*resultobj
;
16746 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16748 PyObject
* obj0
= 0 ;
16749 char *kwnames
[] = {
16750 (char *) "self", NULL
16753 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_ShiftDown",kwnames
,&obj0
)) goto fail
;
16754 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16755 if (SWIG_arg_fail(1)) SWIG_fail
;
16757 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16758 result
= (bool)((wxMouseEvent
const *)arg1
)->ShiftDown();
16760 wxPyEndAllowThreads(__tstate
);
16761 if (PyErr_Occurred()) SWIG_fail
;
16764 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16772 static PyObject
*_wrap_MouseEvent_CmdDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16773 PyObject
*resultobj
;
16774 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16776 PyObject
* obj0
= 0 ;
16777 char *kwnames
[] = {
16778 (char *) "self", NULL
16781 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_CmdDown",kwnames
,&obj0
)) goto fail
;
16782 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16783 if (SWIG_arg_fail(1)) SWIG_fail
;
16785 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16786 result
= (bool)((wxMouseEvent
const *)arg1
)->CmdDown();
16788 wxPyEndAllowThreads(__tstate
);
16789 if (PyErr_Occurred()) SWIG_fail
;
16792 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16800 static PyObject
*_wrap_MouseEvent_LeftDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16801 PyObject
*resultobj
;
16802 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16804 PyObject
* obj0
= 0 ;
16805 char *kwnames
[] = {
16806 (char *) "self", NULL
16809 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_LeftDown",kwnames
,&obj0
)) goto fail
;
16810 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16811 if (SWIG_arg_fail(1)) SWIG_fail
;
16813 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16814 result
= (bool)((wxMouseEvent
const *)arg1
)->LeftDown();
16816 wxPyEndAllowThreads(__tstate
);
16817 if (PyErr_Occurred()) SWIG_fail
;
16820 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16828 static PyObject
*_wrap_MouseEvent_MiddleDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16829 PyObject
*resultobj
;
16830 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16832 PyObject
* obj0
= 0 ;
16833 char *kwnames
[] = {
16834 (char *) "self", NULL
16837 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_MiddleDown",kwnames
,&obj0
)) goto fail
;
16838 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16839 if (SWIG_arg_fail(1)) SWIG_fail
;
16841 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16842 result
= (bool)((wxMouseEvent
const *)arg1
)->MiddleDown();
16844 wxPyEndAllowThreads(__tstate
);
16845 if (PyErr_Occurred()) SWIG_fail
;
16848 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16856 static PyObject
*_wrap_MouseEvent_RightDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16857 PyObject
*resultobj
;
16858 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16860 PyObject
* obj0
= 0 ;
16861 char *kwnames
[] = {
16862 (char *) "self", NULL
16865 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_RightDown",kwnames
,&obj0
)) goto fail
;
16866 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16867 if (SWIG_arg_fail(1)) SWIG_fail
;
16869 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16870 result
= (bool)((wxMouseEvent
const *)arg1
)->RightDown();
16872 wxPyEndAllowThreads(__tstate
);
16873 if (PyErr_Occurred()) SWIG_fail
;
16876 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16884 static PyObject
*_wrap_MouseEvent_LeftUp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16885 PyObject
*resultobj
;
16886 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16888 PyObject
* obj0
= 0 ;
16889 char *kwnames
[] = {
16890 (char *) "self", NULL
16893 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_LeftUp",kwnames
,&obj0
)) goto fail
;
16894 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16895 if (SWIG_arg_fail(1)) SWIG_fail
;
16897 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16898 result
= (bool)((wxMouseEvent
const *)arg1
)->LeftUp();
16900 wxPyEndAllowThreads(__tstate
);
16901 if (PyErr_Occurred()) SWIG_fail
;
16904 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16912 static PyObject
*_wrap_MouseEvent_MiddleUp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16913 PyObject
*resultobj
;
16914 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16916 PyObject
* obj0
= 0 ;
16917 char *kwnames
[] = {
16918 (char *) "self", NULL
16921 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_MiddleUp",kwnames
,&obj0
)) goto fail
;
16922 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16923 if (SWIG_arg_fail(1)) SWIG_fail
;
16925 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16926 result
= (bool)((wxMouseEvent
const *)arg1
)->MiddleUp();
16928 wxPyEndAllowThreads(__tstate
);
16929 if (PyErr_Occurred()) SWIG_fail
;
16932 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16940 static PyObject
*_wrap_MouseEvent_RightUp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16941 PyObject
*resultobj
;
16942 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16944 PyObject
* obj0
= 0 ;
16945 char *kwnames
[] = {
16946 (char *) "self", NULL
16949 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_RightUp",kwnames
,&obj0
)) goto fail
;
16950 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16951 if (SWIG_arg_fail(1)) SWIG_fail
;
16953 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16954 result
= (bool)((wxMouseEvent
const *)arg1
)->RightUp();
16956 wxPyEndAllowThreads(__tstate
);
16957 if (PyErr_Occurred()) SWIG_fail
;
16960 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16968 static PyObject
*_wrap_MouseEvent_LeftDClick(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16969 PyObject
*resultobj
;
16970 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16972 PyObject
* obj0
= 0 ;
16973 char *kwnames
[] = {
16974 (char *) "self", NULL
16977 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_LeftDClick",kwnames
,&obj0
)) goto fail
;
16978 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16979 if (SWIG_arg_fail(1)) SWIG_fail
;
16981 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16982 result
= (bool)((wxMouseEvent
const *)arg1
)->LeftDClick();
16984 wxPyEndAllowThreads(__tstate
);
16985 if (PyErr_Occurred()) SWIG_fail
;
16988 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16996 static PyObject
*_wrap_MouseEvent_MiddleDClick(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16997 PyObject
*resultobj
;
16998 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17000 PyObject
* obj0
= 0 ;
17001 char *kwnames
[] = {
17002 (char *) "self", NULL
17005 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_MiddleDClick",kwnames
,&obj0
)) goto fail
;
17006 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17007 if (SWIG_arg_fail(1)) SWIG_fail
;
17009 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17010 result
= (bool)((wxMouseEvent
const *)arg1
)->MiddleDClick();
17012 wxPyEndAllowThreads(__tstate
);
17013 if (PyErr_Occurred()) SWIG_fail
;
17016 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17024 static PyObject
*_wrap_MouseEvent_RightDClick(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17025 PyObject
*resultobj
;
17026 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17028 PyObject
* obj0
= 0 ;
17029 char *kwnames
[] = {
17030 (char *) "self", NULL
17033 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_RightDClick",kwnames
,&obj0
)) goto fail
;
17034 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17035 if (SWIG_arg_fail(1)) SWIG_fail
;
17037 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17038 result
= (bool)((wxMouseEvent
const *)arg1
)->RightDClick();
17040 wxPyEndAllowThreads(__tstate
);
17041 if (PyErr_Occurred()) SWIG_fail
;
17044 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17052 static PyObject
*_wrap_MouseEvent_LeftIsDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17053 PyObject
*resultobj
;
17054 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17056 PyObject
* obj0
= 0 ;
17057 char *kwnames
[] = {
17058 (char *) "self", NULL
17061 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_LeftIsDown",kwnames
,&obj0
)) goto fail
;
17062 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17063 if (SWIG_arg_fail(1)) SWIG_fail
;
17065 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17066 result
= (bool)(arg1
)->LeftIsDown();
17068 wxPyEndAllowThreads(__tstate
);
17069 if (PyErr_Occurred()) SWIG_fail
;
17072 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17080 static PyObject
*_wrap_MouseEvent_MiddleIsDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17081 PyObject
*resultobj
;
17082 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17084 PyObject
* obj0
= 0 ;
17085 char *kwnames
[] = {
17086 (char *) "self", NULL
17089 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_MiddleIsDown",kwnames
,&obj0
)) goto fail
;
17090 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17091 if (SWIG_arg_fail(1)) SWIG_fail
;
17093 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17094 result
= (bool)(arg1
)->MiddleIsDown();
17096 wxPyEndAllowThreads(__tstate
);
17097 if (PyErr_Occurred()) SWIG_fail
;
17100 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17108 static PyObject
*_wrap_MouseEvent_RightIsDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17109 PyObject
*resultobj
;
17110 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17112 PyObject
* obj0
= 0 ;
17113 char *kwnames
[] = {
17114 (char *) "self", NULL
17117 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_RightIsDown",kwnames
,&obj0
)) goto fail
;
17118 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17119 if (SWIG_arg_fail(1)) SWIG_fail
;
17121 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17122 result
= (bool)(arg1
)->RightIsDown();
17124 wxPyEndAllowThreads(__tstate
);
17125 if (PyErr_Occurred()) SWIG_fail
;
17128 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17136 static PyObject
*_wrap_MouseEvent_Dragging(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17137 PyObject
*resultobj
;
17138 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17140 PyObject
* obj0
= 0 ;
17141 char *kwnames
[] = {
17142 (char *) "self", NULL
17145 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_Dragging",kwnames
,&obj0
)) goto fail
;
17146 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17147 if (SWIG_arg_fail(1)) SWIG_fail
;
17149 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17150 result
= (bool)((wxMouseEvent
const *)arg1
)->Dragging();
17152 wxPyEndAllowThreads(__tstate
);
17153 if (PyErr_Occurred()) SWIG_fail
;
17156 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17164 static PyObject
*_wrap_MouseEvent_Moving(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17165 PyObject
*resultobj
;
17166 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17168 PyObject
* obj0
= 0 ;
17169 char *kwnames
[] = {
17170 (char *) "self", NULL
17173 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_Moving",kwnames
,&obj0
)) goto fail
;
17174 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17175 if (SWIG_arg_fail(1)) SWIG_fail
;
17177 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17178 result
= (bool)((wxMouseEvent
const *)arg1
)->Moving();
17180 wxPyEndAllowThreads(__tstate
);
17181 if (PyErr_Occurred()) SWIG_fail
;
17184 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17192 static PyObject
*_wrap_MouseEvent_Entering(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17193 PyObject
*resultobj
;
17194 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17196 PyObject
* obj0
= 0 ;
17197 char *kwnames
[] = {
17198 (char *) "self", NULL
17201 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_Entering",kwnames
,&obj0
)) goto fail
;
17202 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17203 if (SWIG_arg_fail(1)) SWIG_fail
;
17205 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17206 result
= (bool)((wxMouseEvent
const *)arg1
)->Entering();
17208 wxPyEndAllowThreads(__tstate
);
17209 if (PyErr_Occurred()) SWIG_fail
;
17212 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17220 static PyObject
*_wrap_MouseEvent_Leaving(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17221 PyObject
*resultobj
;
17222 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17224 PyObject
* obj0
= 0 ;
17225 char *kwnames
[] = {
17226 (char *) "self", NULL
17229 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_Leaving",kwnames
,&obj0
)) goto fail
;
17230 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17231 if (SWIG_arg_fail(1)) SWIG_fail
;
17233 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17234 result
= (bool)((wxMouseEvent
const *)arg1
)->Leaving();
17236 wxPyEndAllowThreads(__tstate
);
17237 if (PyErr_Occurred()) SWIG_fail
;
17240 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17248 static PyObject
*_wrap_MouseEvent_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17249 PyObject
*resultobj
;
17250 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17252 PyObject
* obj0
= 0 ;
17253 char *kwnames
[] = {
17254 (char *) "self", NULL
17257 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
17258 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17259 if (SWIG_arg_fail(1)) SWIG_fail
;
17261 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17262 result
= (arg1
)->GetPosition();
17264 wxPyEndAllowThreads(__tstate
);
17265 if (PyErr_Occurred()) SWIG_fail
;
17268 wxPoint
* resultptr
;
17269 resultptr
= new wxPoint((wxPoint
&)(result
));
17270 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
17278 static PyObject
*_wrap_MouseEvent_GetPositionTuple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17279 PyObject
*resultobj
;
17280 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17281 long *arg2
= (long *) 0 ;
17282 long *arg3
= (long *) 0 ;
17287 PyObject
* obj0
= 0 ;
17288 char *kwnames
[] = {
17289 (char *) "self", NULL
17292 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
17293 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
17294 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetPositionTuple",kwnames
,&obj0
)) goto fail
;
17295 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17296 if (SWIG_arg_fail(1)) SWIG_fail
;
17298 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17299 (arg1
)->GetPosition(arg2
,arg3
);
17301 wxPyEndAllowThreads(__tstate
);
17302 if (PyErr_Occurred()) SWIG_fail
;
17304 Py_INCREF(Py_None
); resultobj
= Py_None
;
17305 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
17306 SWIG_From_long((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_long
, 0)));
17307 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
17308 SWIG_From_long((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, 0)));
17315 static PyObject
*_wrap_MouseEvent_GetLogicalPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17316 PyObject
*resultobj
;
17317 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17320 PyObject
* obj0
= 0 ;
17321 PyObject
* obj1
= 0 ;
17322 char *kwnames
[] = {
17323 (char *) "self",(char *) "dc", NULL
17326 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_GetLogicalPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
17327 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17328 if (SWIG_arg_fail(1)) SWIG_fail
;
17330 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
17331 if (SWIG_arg_fail(2)) SWIG_fail
;
17332 if (arg2
== NULL
) {
17333 SWIG_null_ref("wxDC");
17335 if (SWIG_arg_fail(2)) SWIG_fail
;
17338 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17339 result
= ((wxMouseEvent
const *)arg1
)->GetLogicalPosition((wxDC
const &)*arg2
);
17341 wxPyEndAllowThreads(__tstate
);
17342 if (PyErr_Occurred()) SWIG_fail
;
17345 wxPoint
* resultptr
;
17346 resultptr
= new wxPoint((wxPoint
&)(result
));
17347 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
17355 static PyObject
*_wrap_MouseEvent_GetX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17356 PyObject
*resultobj
;
17357 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17359 PyObject
* obj0
= 0 ;
17360 char *kwnames
[] = {
17361 (char *) "self", NULL
17364 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetX",kwnames
,&obj0
)) goto fail
;
17365 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17366 if (SWIG_arg_fail(1)) SWIG_fail
;
17368 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17369 result
= (int)((wxMouseEvent
const *)arg1
)->GetX();
17371 wxPyEndAllowThreads(__tstate
);
17372 if (PyErr_Occurred()) SWIG_fail
;
17375 resultobj
= SWIG_From_int((int)(result
));
17383 static PyObject
*_wrap_MouseEvent_GetY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17384 PyObject
*resultobj
;
17385 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17387 PyObject
* obj0
= 0 ;
17388 char *kwnames
[] = {
17389 (char *) "self", NULL
17392 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetY",kwnames
,&obj0
)) goto fail
;
17393 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17394 if (SWIG_arg_fail(1)) SWIG_fail
;
17396 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17397 result
= (int)((wxMouseEvent
const *)arg1
)->GetY();
17399 wxPyEndAllowThreads(__tstate
);
17400 if (PyErr_Occurred()) SWIG_fail
;
17403 resultobj
= SWIG_From_int((int)(result
));
17411 static PyObject
*_wrap_MouseEvent_GetWheelRotation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17412 PyObject
*resultobj
;
17413 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17415 PyObject
* obj0
= 0 ;
17416 char *kwnames
[] = {
17417 (char *) "self", NULL
17420 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetWheelRotation",kwnames
,&obj0
)) goto fail
;
17421 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17422 if (SWIG_arg_fail(1)) SWIG_fail
;
17424 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17425 result
= (int)((wxMouseEvent
const *)arg1
)->GetWheelRotation();
17427 wxPyEndAllowThreads(__tstate
);
17428 if (PyErr_Occurred()) SWIG_fail
;
17431 resultobj
= SWIG_From_int((int)(result
));
17439 static PyObject
*_wrap_MouseEvent_GetWheelDelta(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17440 PyObject
*resultobj
;
17441 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17443 PyObject
* obj0
= 0 ;
17444 char *kwnames
[] = {
17445 (char *) "self", NULL
17448 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetWheelDelta",kwnames
,&obj0
)) goto fail
;
17449 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17450 if (SWIG_arg_fail(1)) SWIG_fail
;
17452 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17453 result
= (int)((wxMouseEvent
const *)arg1
)->GetWheelDelta();
17455 wxPyEndAllowThreads(__tstate
);
17456 if (PyErr_Occurred()) SWIG_fail
;
17459 resultobj
= SWIG_From_int((int)(result
));
17467 static PyObject
*_wrap_MouseEvent_GetLinesPerAction(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17468 PyObject
*resultobj
;
17469 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17471 PyObject
* obj0
= 0 ;
17472 char *kwnames
[] = {
17473 (char *) "self", NULL
17476 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetLinesPerAction",kwnames
,&obj0
)) goto fail
;
17477 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17478 if (SWIG_arg_fail(1)) SWIG_fail
;
17480 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17481 result
= (int)((wxMouseEvent
const *)arg1
)->GetLinesPerAction();
17483 wxPyEndAllowThreads(__tstate
);
17484 if (PyErr_Occurred()) SWIG_fail
;
17487 resultobj
= SWIG_From_int((int)(result
));
17495 static PyObject
*_wrap_MouseEvent_IsPageScroll(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17496 PyObject
*resultobj
;
17497 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17499 PyObject
* obj0
= 0 ;
17500 char *kwnames
[] = {
17501 (char *) "self", NULL
17504 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_IsPageScroll",kwnames
,&obj0
)) goto fail
;
17505 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17506 if (SWIG_arg_fail(1)) SWIG_fail
;
17508 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17509 result
= (bool)((wxMouseEvent
const *)arg1
)->IsPageScroll();
17511 wxPyEndAllowThreads(__tstate
);
17512 if (PyErr_Occurred()) SWIG_fail
;
17515 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17523 static PyObject
*_wrap_MouseEvent_m_x_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17524 PyObject
*resultobj
;
17525 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17527 PyObject
* obj0
= 0 ;
17528 PyObject
* obj1
= 0 ;
17529 char *kwnames
[] = {
17530 (char *) "self",(char *) "m_x", NULL
17533 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_x_set",kwnames
,&obj0
,&obj1
)) goto fail
;
17534 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17535 if (SWIG_arg_fail(1)) SWIG_fail
;
17537 arg2
= (int)(SWIG_As_int(obj1
));
17538 if (SWIG_arg_fail(2)) SWIG_fail
;
17540 if (arg1
) (arg1
)->m_x
= arg2
;
17542 Py_INCREF(Py_None
); resultobj
= Py_None
;
17549 static PyObject
*_wrap_MouseEvent_m_x_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17550 PyObject
*resultobj
;
17551 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17553 PyObject
* obj0
= 0 ;
17554 char *kwnames
[] = {
17555 (char *) "self", NULL
17558 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_x_get",kwnames
,&obj0
)) goto fail
;
17559 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17560 if (SWIG_arg_fail(1)) SWIG_fail
;
17561 result
= (int) ((arg1
)->m_x
);
17564 resultobj
= SWIG_From_int((int)(result
));
17572 static PyObject
*_wrap_MouseEvent_m_y_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17573 PyObject
*resultobj
;
17574 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17576 PyObject
* obj0
= 0 ;
17577 PyObject
* obj1
= 0 ;
17578 char *kwnames
[] = {
17579 (char *) "self",(char *) "m_y", NULL
17582 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_y_set",kwnames
,&obj0
,&obj1
)) goto fail
;
17583 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17584 if (SWIG_arg_fail(1)) SWIG_fail
;
17586 arg2
= (int)(SWIG_As_int(obj1
));
17587 if (SWIG_arg_fail(2)) SWIG_fail
;
17589 if (arg1
) (arg1
)->m_y
= arg2
;
17591 Py_INCREF(Py_None
); resultobj
= Py_None
;
17598 static PyObject
*_wrap_MouseEvent_m_y_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17599 PyObject
*resultobj
;
17600 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17602 PyObject
* obj0
= 0 ;
17603 char *kwnames
[] = {
17604 (char *) "self", NULL
17607 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_y_get",kwnames
,&obj0
)) goto fail
;
17608 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17609 if (SWIG_arg_fail(1)) SWIG_fail
;
17610 result
= (int) ((arg1
)->m_y
);
17613 resultobj
= SWIG_From_int((int)(result
));
17621 static PyObject
*_wrap_MouseEvent_m_leftDown_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17622 PyObject
*resultobj
;
17623 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17625 PyObject
* obj0
= 0 ;
17626 PyObject
* obj1
= 0 ;
17627 char *kwnames
[] = {
17628 (char *) "self",(char *) "m_leftDown", NULL
17631 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_leftDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
17632 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17633 if (SWIG_arg_fail(1)) SWIG_fail
;
17635 arg2
= (bool)(SWIG_As_bool(obj1
));
17636 if (SWIG_arg_fail(2)) SWIG_fail
;
17638 if (arg1
) (arg1
)->m_leftDown
= arg2
;
17640 Py_INCREF(Py_None
); resultobj
= Py_None
;
17647 static PyObject
*_wrap_MouseEvent_m_leftDown_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17648 PyObject
*resultobj
;
17649 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17651 PyObject
* obj0
= 0 ;
17652 char *kwnames
[] = {
17653 (char *) "self", NULL
17656 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_leftDown_get",kwnames
,&obj0
)) goto fail
;
17657 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17658 if (SWIG_arg_fail(1)) SWIG_fail
;
17659 result
= (bool) ((arg1
)->m_leftDown
);
17662 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17670 static PyObject
*_wrap_MouseEvent_m_middleDown_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17671 PyObject
*resultobj
;
17672 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17674 PyObject
* obj0
= 0 ;
17675 PyObject
* obj1
= 0 ;
17676 char *kwnames
[] = {
17677 (char *) "self",(char *) "m_middleDown", NULL
17680 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_middleDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
17681 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17682 if (SWIG_arg_fail(1)) SWIG_fail
;
17684 arg2
= (bool)(SWIG_As_bool(obj1
));
17685 if (SWIG_arg_fail(2)) SWIG_fail
;
17687 if (arg1
) (arg1
)->m_middleDown
= arg2
;
17689 Py_INCREF(Py_None
); resultobj
= Py_None
;
17696 static PyObject
*_wrap_MouseEvent_m_middleDown_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17697 PyObject
*resultobj
;
17698 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17700 PyObject
* obj0
= 0 ;
17701 char *kwnames
[] = {
17702 (char *) "self", NULL
17705 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_middleDown_get",kwnames
,&obj0
)) goto fail
;
17706 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17707 if (SWIG_arg_fail(1)) SWIG_fail
;
17708 result
= (bool) ((arg1
)->m_middleDown
);
17711 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17719 static PyObject
*_wrap_MouseEvent_m_rightDown_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17720 PyObject
*resultobj
;
17721 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17723 PyObject
* obj0
= 0 ;
17724 PyObject
* obj1
= 0 ;
17725 char *kwnames
[] = {
17726 (char *) "self",(char *) "m_rightDown", NULL
17729 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_rightDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
17730 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17731 if (SWIG_arg_fail(1)) SWIG_fail
;
17733 arg2
= (bool)(SWIG_As_bool(obj1
));
17734 if (SWIG_arg_fail(2)) SWIG_fail
;
17736 if (arg1
) (arg1
)->m_rightDown
= arg2
;
17738 Py_INCREF(Py_None
); resultobj
= Py_None
;
17745 static PyObject
*_wrap_MouseEvent_m_rightDown_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17746 PyObject
*resultobj
;
17747 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17749 PyObject
* obj0
= 0 ;
17750 char *kwnames
[] = {
17751 (char *) "self", NULL
17754 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_rightDown_get",kwnames
,&obj0
)) goto fail
;
17755 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17756 if (SWIG_arg_fail(1)) SWIG_fail
;
17757 result
= (bool) ((arg1
)->m_rightDown
);
17760 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17768 static PyObject
*_wrap_MouseEvent_m_controlDown_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17769 PyObject
*resultobj
;
17770 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17772 PyObject
* obj0
= 0 ;
17773 PyObject
* obj1
= 0 ;
17774 char *kwnames
[] = {
17775 (char *) "self",(char *) "m_controlDown", NULL
17778 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_controlDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
17779 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17780 if (SWIG_arg_fail(1)) SWIG_fail
;
17782 arg2
= (bool)(SWIG_As_bool(obj1
));
17783 if (SWIG_arg_fail(2)) SWIG_fail
;
17785 if (arg1
) (arg1
)->m_controlDown
= arg2
;
17787 Py_INCREF(Py_None
); resultobj
= Py_None
;
17794 static PyObject
*_wrap_MouseEvent_m_controlDown_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17795 PyObject
*resultobj
;
17796 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17798 PyObject
* obj0
= 0 ;
17799 char *kwnames
[] = {
17800 (char *) "self", NULL
17803 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_controlDown_get",kwnames
,&obj0
)) goto fail
;
17804 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17805 if (SWIG_arg_fail(1)) SWIG_fail
;
17806 result
= (bool) ((arg1
)->m_controlDown
);
17809 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17817 static PyObject
*_wrap_MouseEvent_m_shiftDown_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17818 PyObject
*resultobj
;
17819 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17821 PyObject
* obj0
= 0 ;
17822 PyObject
* obj1
= 0 ;
17823 char *kwnames
[] = {
17824 (char *) "self",(char *) "m_shiftDown", NULL
17827 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_shiftDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
17828 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17829 if (SWIG_arg_fail(1)) SWIG_fail
;
17831 arg2
= (bool)(SWIG_As_bool(obj1
));
17832 if (SWIG_arg_fail(2)) SWIG_fail
;
17834 if (arg1
) (arg1
)->m_shiftDown
= arg2
;
17836 Py_INCREF(Py_None
); resultobj
= Py_None
;
17843 static PyObject
*_wrap_MouseEvent_m_shiftDown_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17844 PyObject
*resultobj
;
17845 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17847 PyObject
* obj0
= 0 ;
17848 char *kwnames
[] = {
17849 (char *) "self", NULL
17852 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_shiftDown_get",kwnames
,&obj0
)) goto fail
;
17853 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17854 if (SWIG_arg_fail(1)) SWIG_fail
;
17855 result
= (bool) ((arg1
)->m_shiftDown
);
17858 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17866 static PyObject
*_wrap_MouseEvent_m_altDown_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17867 PyObject
*resultobj
;
17868 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17870 PyObject
* obj0
= 0 ;
17871 PyObject
* obj1
= 0 ;
17872 char *kwnames
[] = {
17873 (char *) "self",(char *) "m_altDown", NULL
17876 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_altDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
17877 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17878 if (SWIG_arg_fail(1)) SWIG_fail
;
17880 arg2
= (bool)(SWIG_As_bool(obj1
));
17881 if (SWIG_arg_fail(2)) SWIG_fail
;
17883 if (arg1
) (arg1
)->m_altDown
= arg2
;
17885 Py_INCREF(Py_None
); resultobj
= Py_None
;
17892 static PyObject
*_wrap_MouseEvent_m_altDown_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17893 PyObject
*resultobj
;
17894 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17896 PyObject
* obj0
= 0 ;
17897 char *kwnames
[] = {
17898 (char *) "self", NULL
17901 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_altDown_get",kwnames
,&obj0
)) goto fail
;
17902 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17903 if (SWIG_arg_fail(1)) SWIG_fail
;
17904 result
= (bool) ((arg1
)->m_altDown
);
17907 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17915 static PyObject
*_wrap_MouseEvent_m_metaDown_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17916 PyObject
*resultobj
;
17917 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17919 PyObject
* obj0
= 0 ;
17920 PyObject
* obj1
= 0 ;
17921 char *kwnames
[] = {
17922 (char *) "self",(char *) "m_metaDown", NULL
17925 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_metaDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
17926 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17927 if (SWIG_arg_fail(1)) SWIG_fail
;
17929 arg2
= (bool)(SWIG_As_bool(obj1
));
17930 if (SWIG_arg_fail(2)) SWIG_fail
;
17932 if (arg1
) (arg1
)->m_metaDown
= arg2
;
17934 Py_INCREF(Py_None
); resultobj
= Py_None
;
17941 static PyObject
*_wrap_MouseEvent_m_metaDown_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17942 PyObject
*resultobj
;
17943 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17945 PyObject
* obj0
= 0 ;
17946 char *kwnames
[] = {
17947 (char *) "self", NULL
17950 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_metaDown_get",kwnames
,&obj0
)) goto fail
;
17951 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17952 if (SWIG_arg_fail(1)) SWIG_fail
;
17953 result
= (bool) ((arg1
)->m_metaDown
);
17956 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17964 static PyObject
*_wrap_MouseEvent_m_wheelRotation_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17965 PyObject
*resultobj
;
17966 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17968 PyObject
* obj0
= 0 ;
17969 PyObject
* obj1
= 0 ;
17970 char *kwnames
[] = {
17971 (char *) "self",(char *) "m_wheelRotation", NULL
17974 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_wheelRotation_set",kwnames
,&obj0
,&obj1
)) goto fail
;
17975 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17976 if (SWIG_arg_fail(1)) SWIG_fail
;
17978 arg2
= (int)(SWIG_As_int(obj1
));
17979 if (SWIG_arg_fail(2)) SWIG_fail
;
17981 if (arg1
) (arg1
)->m_wheelRotation
= arg2
;
17983 Py_INCREF(Py_None
); resultobj
= Py_None
;
17990 static PyObject
*_wrap_MouseEvent_m_wheelRotation_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17991 PyObject
*resultobj
;
17992 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17994 PyObject
* obj0
= 0 ;
17995 char *kwnames
[] = {
17996 (char *) "self", NULL
17999 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_wheelRotation_get",kwnames
,&obj0
)) goto fail
;
18000 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
18001 if (SWIG_arg_fail(1)) SWIG_fail
;
18002 result
= (int) ((arg1
)->m_wheelRotation
);
18005 resultobj
= SWIG_From_int((int)(result
));
18013 static PyObject
*_wrap_MouseEvent_m_wheelDelta_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18014 PyObject
*resultobj
;
18015 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
18017 PyObject
* obj0
= 0 ;
18018 PyObject
* obj1
= 0 ;
18019 char *kwnames
[] = {
18020 (char *) "self",(char *) "m_wheelDelta", NULL
18023 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_wheelDelta_set",kwnames
,&obj0
,&obj1
)) goto fail
;
18024 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
18025 if (SWIG_arg_fail(1)) SWIG_fail
;
18027 arg2
= (int)(SWIG_As_int(obj1
));
18028 if (SWIG_arg_fail(2)) SWIG_fail
;
18030 if (arg1
) (arg1
)->m_wheelDelta
= arg2
;
18032 Py_INCREF(Py_None
); resultobj
= Py_None
;
18039 static PyObject
*_wrap_MouseEvent_m_wheelDelta_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18040 PyObject
*resultobj
;
18041 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
18043 PyObject
* obj0
= 0 ;
18044 char *kwnames
[] = {
18045 (char *) "self", NULL
18048 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_wheelDelta_get",kwnames
,&obj0
)) goto fail
;
18049 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
18050 if (SWIG_arg_fail(1)) SWIG_fail
;
18051 result
= (int) ((arg1
)->m_wheelDelta
);
18054 resultobj
= SWIG_From_int((int)(result
));
18062 static PyObject
*_wrap_MouseEvent_m_linesPerAction_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18063 PyObject
*resultobj
;
18064 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
18066 PyObject
* obj0
= 0 ;
18067 PyObject
* obj1
= 0 ;
18068 char *kwnames
[] = {
18069 (char *) "self",(char *) "m_linesPerAction", NULL
18072 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_linesPerAction_set",kwnames
,&obj0
,&obj1
)) goto fail
;
18073 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
18074 if (SWIG_arg_fail(1)) SWIG_fail
;
18076 arg2
= (int)(SWIG_As_int(obj1
));
18077 if (SWIG_arg_fail(2)) SWIG_fail
;
18079 if (arg1
) (arg1
)->m_linesPerAction
= arg2
;
18081 Py_INCREF(Py_None
); resultobj
= Py_None
;
18088 static PyObject
*_wrap_MouseEvent_m_linesPerAction_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18089 PyObject
*resultobj
;
18090 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
18092 PyObject
* obj0
= 0 ;
18093 char *kwnames
[] = {
18094 (char *) "self", NULL
18097 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_linesPerAction_get",kwnames
,&obj0
)) goto fail
;
18098 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
18099 if (SWIG_arg_fail(1)) SWIG_fail
;
18100 result
= (int) ((arg1
)->m_linesPerAction
);
18103 resultobj
= SWIG_From_int((int)(result
));
18111 static PyObject
* MouseEvent_swigregister(PyObject
*, PyObject
*args
) {
18113 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18114 SWIG_TypeClientData(SWIGTYPE_p_wxMouseEvent
, obj
);
18116 return Py_BuildValue((char *)"");
18118 static PyObject
*_wrap_new_SetCursorEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18119 PyObject
*resultobj
;
18120 int arg1
= (int) 0 ;
18121 int arg2
= (int) 0 ;
18122 wxSetCursorEvent
*result
;
18123 PyObject
* obj0
= 0 ;
18124 PyObject
* obj1
= 0 ;
18125 char *kwnames
[] = {
18126 (char *) "x",(char *) "y", NULL
18129 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_SetCursorEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
18132 arg1
= (int)(SWIG_As_int(obj0
));
18133 if (SWIG_arg_fail(1)) SWIG_fail
;
18138 arg2
= (int)(SWIG_As_int(obj1
));
18139 if (SWIG_arg_fail(2)) SWIG_fail
;
18143 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18144 result
= (wxSetCursorEvent
*)new wxSetCursorEvent(arg1
,arg2
);
18146 wxPyEndAllowThreads(__tstate
);
18147 if (PyErr_Occurred()) SWIG_fail
;
18149 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSetCursorEvent
, 1);
18156 static PyObject
*_wrap_SetCursorEvent_GetX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18157 PyObject
*resultobj
;
18158 wxSetCursorEvent
*arg1
= (wxSetCursorEvent
*) 0 ;
18160 PyObject
* obj0
= 0 ;
18161 char *kwnames
[] = {
18162 (char *) "self", NULL
18165 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SetCursorEvent_GetX",kwnames
,&obj0
)) goto fail
;
18166 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSetCursorEvent
, SWIG_POINTER_EXCEPTION
| 0);
18167 if (SWIG_arg_fail(1)) SWIG_fail
;
18169 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18170 result
= (int)((wxSetCursorEvent
const *)arg1
)->GetX();
18172 wxPyEndAllowThreads(__tstate
);
18173 if (PyErr_Occurred()) SWIG_fail
;
18176 resultobj
= SWIG_From_int((int)(result
));
18184 static PyObject
*_wrap_SetCursorEvent_GetY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18185 PyObject
*resultobj
;
18186 wxSetCursorEvent
*arg1
= (wxSetCursorEvent
*) 0 ;
18188 PyObject
* obj0
= 0 ;
18189 char *kwnames
[] = {
18190 (char *) "self", NULL
18193 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SetCursorEvent_GetY",kwnames
,&obj0
)) goto fail
;
18194 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSetCursorEvent
, SWIG_POINTER_EXCEPTION
| 0);
18195 if (SWIG_arg_fail(1)) SWIG_fail
;
18197 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18198 result
= (int)((wxSetCursorEvent
const *)arg1
)->GetY();
18200 wxPyEndAllowThreads(__tstate
);
18201 if (PyErr_Occurred()) SWIG_fail
;
18204 resultobj
= SWIG_From_int((int)(result
));
18212 static PyObject
*_wrap_SetCursorEvent_SetCursor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18213 PyObject
*resultobj
;
18214 wxSetCursorEvent
*arg1
= (wxSetCursorEvent
*) 0 ;
18215 wxCursor
*arg2
= 0 ;
18216 PyObject
* obj0
= 0 ;
18217 PyObject
* obj1
= 0 ;
18218 char *kwnames
[] = {
18219 (char *) "self",(char *) "cursor", NULL
18222 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SetCursorEvent_SetCursor",kwnames
,&obj0
,&obj1
)) goto fail
;
18223 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSetCursorEvent
, SWIG_POINTER_EXCEPTION
| 0);
18224 if (SWIG_arg_fail(1)) SWIG_fail
;
18226 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxCursor
, SWIG_POINTER_EXCEPTION
| 0);
18227 if (SWIG_arg_fail(2)) SWIG_fail
;
18228 if (arg2
== NULL
) {
18229 SWIG_null_ref("wxCursor");
18231 if (SWIG_arg_fail(2)) SWIG_fail
;
18234 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18235 (arg1
)->SetCursor((wxCursor
const &)*arg2
);
18237 wxPyEndAllowThreads(__tstate
);
18238 if (PyErr_Occurred()) SWIG_fail
;
18240 Py_INCREF(Py_None
); resultobj
= Py_None
;
18247 static PyObject
*_wrap_SetCursorEvent_GetCursor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18248 PyObject
*resultobj
;
18249 wxSetCursorEvent
*arg1
= (wxSetCursorEvent
*) 0 ;
18251 PyObject
* obj0
= 0 ;
18252 char *kwnames
[] = {
18253 (char *) "self", NULL
18256 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SetCursorEvent_GetCursor",kwnames
,&obj0
)) goto fail
;
18257 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSetCursorEvent
, SWIG_POINTER_EXCEPTION
| 0);
18258 if (SWIG_arg_fail(1)) SWIG_fail
;
18260 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18262 wxCursor
const &_result_ref
= ((wxSetCursorEvent
const *)arg1
)->GetCursor();
18263 result
= (wxCursor
*) &_result_ref
;
18266 wxPyEndAllowThreads(__tstate
);
18267 if (PyErr_Occurred()) SWIG_fail
;
18270 wxCursor
* resultptr
= new wxCursor(*result
);
18271 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxCursor
, 1);
18279 static PyObject
*_wrap_SetCursorEvent_HasCursor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18280 PyObject
*resultobj
;
18281 wxSetCursorEvent
*arg1
= (wxSetCursorEvent
*) 0 ;
18283 PyObject
* obj0
= 0 ;
18284 char *kwnames
[] = {
18285 (char *) "self", NULL
18288 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SetCursorEvent_HasCursor",kwnames
,&obj0
)) goto fail
;
18289 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSetCursorEvent
, SWIG_POINTER_EXCEPTION
| 0);
18290 if (SWIG_arg_fail(1)) SWIG_fail
;
18292 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18293 result
= (bool)((wxSetCursorEvent
const *)arg1
)->HasCursor();
18295 wxPyEndAllowThreads(__tstate
);
18296 if (PyErr_Occurred()) SWIG_fail
;
18299 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18307 static PyObject
* SetCursorEvent_swigregister(PyObject
*, PyObject
*args
) {
18309 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18310 SWIG_TypeClientData(SWIGTYPE_p_wxSetCursorEvent
, obj
);
18312 return Py_BuildValue((char *)"");
18314 static PyObject
*_wrap_new_KeyEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18315 PyObject
*resultobj
;
18316 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
18317 wxKeyEvent
*result
;
18318 PyObject
* obj0
= 0 ;
18319 char *kwnames
[] = {
18320 (char *) "keyType", NULL
18323 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_KeyEvent",kwnames
,&obj0
)) goto fail
;
18326 arg1
= (wxEventType
)(SWIG_As_int(obj0
));
18327 if (SWIG_arg_fail(1)) SWIG_fail
;
18331 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18332 result
= (wxKeyEvent
*)new wxKeyEvent(arg1
);
18334 wxPyEndAllowThreads(__tstate
);
18335 if (PyErr_Occurred()) SWIG_fail
;
18337 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxKeyEvent
, 1);
18344 static PyObject
*_wrap_KeyEvent_ControlDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18345 PyObject
*resultobj
;
18346 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18348 PyObject
* obj0
= 0 ;
18349 char *kwnames
[] = {
18350 (char *) "self", NULL
18353 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_ControlDown",kwnames
,&obj0
)) goto fail
;
18354 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18355 if (SWIG_arg_fail(1)) SWIG_fail
;
18357 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18358 result
= (bool)((wxKeyEvent
const *)arg1
)->ControlDown();
18360 wxPyEndAllowThreads(__tstate
);
18361 if (PyErr_Occurred()) SWIG_fail
;
18364 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18372 static PyObject
*_wrap_KeyEvent_MetaDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18373 PyObject
*resultobj
;
18374 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18376 PyObject
* obj0
= 0 ;
18377 char *kwnames
[] = {
18378 (char *) "self", NULL
18381 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_MetaDown",kwnames
,&obj0
)) goto fail
;
18382 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18383 if (SWIG_arg_fail(1)) SWIG_fail
;
18385 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18386 result
= (bool)((wxKeyEvent
const *)arg1
)->MetaDown();
18388 wxPyEndAllowThreads(__tstate
);
18389 if (PyErr_Occurred()) SWIG_fail
;
18392 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18400 static PyObject
*_wrap_KeyEvent_AltDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18401 PyObject
*resultobj
;
18402 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18404 PyObject
* obj0
= 0 ;
18405 char *kwnames
[] = {
18406 (char *) "self", NULL
18409 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_AltDown",kwnames
,&obj0
)) goto fail
;
18410 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18411 if (SWIG_arg_fail(1)) SWIG_fail
;
18413 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18414 result
= (bool)((wxKeyEvent
const *)arg1
)->AltDown();
18416 wxPyEndAllowThreads(__tstate
);
18417 if (PyErr_Occurred()) SWIG_fail
;
18420 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18428 static PyObject
*_wrap_KeyEvent_ShiftDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18429 PyObject
*resultobj
;
18430 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18432 PyObject
* obj0
= 0 ;
18433 char *kwnames
[] = {
18434 (char *) "self", NULL
18437 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_ShiftDown",kwnames
,&obj0
)) goto fail
;
18438 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18439 if (SWIG_arg_fail(1)) SWIG_fail
;
18441 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18442 result
= (bool)((wxKeyEvent
const *)arg1
)->ShiftDown();
18444 wxPyEndAllowThreads(__tstate
);
18445 if (PyErr_Occurred()) SWIG_fail
;
18448 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18456 static PyObject
*_wrap_KeyEvent_CmdDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18457 PyObject
*resultobj
;
18458 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18460 PyObject
* obj0
= 0 ;
18461 char *kwnames
[] = {
18462 (char *) "self", NULL
18465 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_CmdDown",kwnames
,&obj0
)) goto fail
;
18466 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18467 if (SWIG_arg_fail(1)) SWIG_fail
;
18469 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18470 result
= (bool)((wxKeyEvent
const *)arg1
)->CmdDown();
18472 wxPyEndAllowThreads(__tstate
);
18473 if (PyErr_Occurred()) SWIG_fail
;
18476 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18484 static PyObject
*_wrap_KeyEvent_HasModifiers(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18485 PyObject
*resultobj
;
18486 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18488 PyObject
* obj0
= 0 ;
18489 char *kwnames
[] = {
18490 (char *) "self", NULL
18493 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_HasModifiers",kwnames
,&obj0
)) goto fail
;
18494 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18495 if (SWIG_arg_fail(1)) SWIG_fail
;
18497 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18498 result
= (bool)((wxKeyEvent
const *)arg1
)->HasModifiers();
18500 wxPyEndAllowThreads(__tstate
);
18501 if (PyErr_Occurred()) SWIG_fail
;
18504 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18512 static PyObject
*_wrap_KeyEvent_GetKeyCode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18513 PyObject
*resultobj
;
18514 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18516 PyObject
* obj0
= 0 ;
18517 char *kwnames
[] = {
18518 (char *) "self", NULL
18521 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetKeyCode",kwnames
,&obj0
)) goto fail
;
18522 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18523 if (SWIG_arg_fail(1)) SWIG_fail
;
18525 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18526 result
= (int)((wxKeyEvent
const *)arg1
)->GetKeyCode();
18528 wxPyEndAllowThreads(__tstate
);
18529 if (PyErr_Occurred()) SWIG_fail
;
18532 resultobj
= SWIG_From_int((int)(result
));
18540 static PyObject
*_wrap_KeyEvent_GetUnicodeKey(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18541 PyObject
*resultobj
;
18542 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18544 PyObject
* obj0
= 0 ;
18545 char *kwnames
[] = {
18546 (char *) "self", NULL
18549 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetUnicodeKey",kwnames
,&obj0
)) goto fail
;
18550 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18551 if (SWIG_arg_fail(1)) SWIG_fail
;
18553 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18554 result
= (int)wxKeyEvent_GetUnicodeKey(arg1
);
18556 wxPyEndAllowThreads(__tstate
);
18557 if (PyErr_Occurred()) SWIG_fail
;
18560 resultobj
= SWIG_From_int((int)(result
));
18568 static PyObject
*_wrap_KeyEvent_GetRawKeyCode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18569 PyObject
*resultobj
;
18570 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18571 unsigned int result
;
18572 PyObject
* obj0
= 0 ;
18573 char *kwnames
[] = {
18574 (char *) "self", NULL
18577 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetRawKeyCode",kwnames
,&obj0
)) goto fail
;
18578 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18579 if (SWIG_arg_fail(1)) SWIG_fail
;
18581 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18582 result
= (unsigned int)((wxKeyEvent
const *)arg1
)->GetRawKeyCode();
18584 wxPyEndAllowThreads(__tstate
);
18585 if (PyErr_Occurred()) SWIG_fail
;
18588 resultobj
= SWIG_From_unsigned_SS_int((unsigned int)(result
));
18596 static PyObject
*_wrap_KeyEvent_GetRawKeyFlags(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18597 PyObject
*resultobj
;
18598 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18599 unsigned int result
;
18600 PyObject
* obj0
= 0 ;
18601 char *kwnames
[] = {
18602 (char *) "self", NULL
18605 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetRawKeyFlags",kwnames
,&obj0
)) goto fail
;
18606 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18607 if (SWIG_arg_fail(1)) SWIG_fail
;
18609 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18610 result
= (unsigned int)((wxKeyEvent
const *)arg1
)->GetRawKeyFlags();
18612 wxPyEndAllowThreads(__tstate
);
18613 if (PyErr_Occurred()) SWIG_fail
;
18616 resultobj
= SWIG_From_unsigned_SS_int((unsigned int)(result
));
18624 static PyObject
*_wrap_KeyEvent_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18625 PyObject
*resultobj
;
18626 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18628 PyObject
* obj0
= 0 ;
18629 char *kwnames
[] = {
18630 (char *) "self", NULL
18633 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
18634 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18635 if (SWIG_arg_fail(1)) SWIG_fail
;
18637 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18638 result
= (arg1
)->GetPosition();
18640 wxPyEndAllowThreads(__tstate
);
18641 if (PyErr_Occurred()) SWIG_fail
;
18644 wxPoint
* resultptr
;
18645 resultptr
= new wxPoint((wxPoint
&)(result
));
18646 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
18654 static PyObject
*_wrap_KeyEvent_GetPositionTuple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18655 PyObject
*resultobj
;
18656 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18657 long *arg2
= (long *) 0 ;
18658 long *arg3
= (long *) 0 ;
18663 PyObject
* obj0
= 0 ;
18664 char *kwnames
[] = {
18665 (char *) "self", NULL
18668 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
18669 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
18670 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetPositionTuple",kwnames
,&obj0
)) goto fail
;
18671 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18672 if (SWIG_arg_fail(1)) SWIG_fail
;
18674 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18675 (arg1
)->GetPosition(arg2
,arg3
);
18677 wxPyEndAllowThreads(__tstate
);
18678 if (PyErr_Occurred()) SWIG_fail
;
18680 Py_INCREF(Py_None
); resultobj
= Py_None
;
18681 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
18682 SWIG_From_long((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_long
, 0)));
18683 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
18684 SWIG_From_long((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, 0)));
18691 static PyObject
*_wrap_KeyEvent_GetX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18692 PyObject
*resultobj
;
18693 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18695 PyObject
* obj0
= 0 ;
18696 char *kwnames
[] = {
18697 (char *) "self", NULL
18700 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetX",kwnames
,&obj0
)) goto fail
;
18701 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18702 if (SWIG_arg_fail(1)) SWIG_fail
;
18704 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18705 result
= (int)((wxKeyEvent
const *)arg1
)->GetX();
18707 wxPyEndAllowThreads(__tstate
);
18708 if (PyErr_Occurred()) SWIG_fail
;
18711 resultobj
= SWIG_From_int((int)(result
));
18719 static PyObject
*_wrap_KeyEvent_GetY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18720 PyObject
*resultobj
;
18721 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18723 PyObject
* obj0
= 0 ;
18724 char *kwnames
[] = {
18725 (char *) "self", NULL
18728 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetY",kwnames
,&obj0
)) goto fail
;
18729 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18730 if (SWIG_arg_fail(1)) SWIG_fail
;
18732 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18733 result
= (int)((wxKeyEvent
const *)arg1
)->GetY();
18735 wxPyEndAllowThreads(__tstate
);
18736 if (PyErr_Occurred()) SWIG_fail
;
18739 resultobj
= SWIG_From_int((int)(result
));
18747 static PyObject
*_wrap_KeyEvent_m_x_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18748 PyObject
*resultobj
;
18749 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18751 PyObject
* obj0
= 0 ;
18752 PyObject
* obj1
= 0 ;
18753 char *kwnames
[] = {
18754 (char *) "self",(char *) "m_x", NULL
18757 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_x_set",kwnames
,&obj0
,&obj1
)) goto fail
;
18758 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18759 if (SWIG_arg_fail(1)) SWIG_fail
;
18761 arg2
= (int)(SWIG_As_int(obj1
));
18762 if (SWIG_arg_fail(2)) SWIG_fail
;
18764 if (arg1
) (arg1
)->m_x
= arg2
;
18766 Py_INCREF(Py_None
); resultobj
= Py_None
;
18773 static PyObject
*_wrap_KeyEvent_m_x_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18774 PyObject
*resultobj
;
18775 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18777 PyObject
* obj0
= 0 ;
18778 char *kwnames
[] = {
18779 (char *) "self", NULL
18782 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_x_get",kwnames
,&obj0
)) goto fail
;
18783 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18784 if (SWIG_arg_fail(1)) SWIG_fail
;
18785 result
= (int) ((arg1
)->m_x
);
18788 resultobj
= SWIG_From_int((int)(result
));
18796 static PyObject
*_wrap_KeyEvent_m_y_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18797 PyObject
*resultobj
;
18798 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18800 PyObject
* obj0
= 0 ;
18801 PyObject
* obj1
= 0 ;
18802 char *kwnames
[] = {
18803 (char *) "self",(char *) "m_y", NULL
18806 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_y_set",kwnames
,&obj0
,&obj1
)) goto fail
;
18807 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18808 if (SWIG_arg_fail(1)) SWIG_fail
;
18810 arg2
= (int)(SWIG_As_int(obj1
));
18811 if (SWIG_arg_fail(2)) SWIG_fail
;
18813 if (arg1
) (arg1
)->m_y
= arg2
;
18815 Py_INCREF(Py_None
); resultobj
= Py_None
;
18822 static PyObject
*_wrap_KeyEvent_m_y_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18823 PyObject
*resultobj
;
18824 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18826 PyObject
* obj0
= 0 ;
18827 char *kwnames
[] = {
18828 (char *) "self", NULL
18831 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_y_get",kwnames
,&obj0
)) goto fail
;
18832 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18833 if (SWIG_arg_fail(1)) SWIG_fail
;
18834 result
= (int) ((arg1
)->m_y
);
18837 resultobj
= SWIG_From_int((int)(result
));
18845 static PyObject
*_wrap_KeyEvent_m_keyCode_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18846 PyObject
*resultobj
;
18847 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18849 PyObject
* obj0
= 0 ;
18850 PyObject
* obj1
= 0 ;
18851 char *kwnames
[] = {
18852 (char *) "self",(char *) "m_keyCode", NULL
18855 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_keyCode_set",kwnames
,&obj0
,&obj1
)) goto fail
;
18856 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18857 if (SWIG_arg_fail(1)) SWIG_fail
;
18859 arg2
= (long)(SWIG_As_long(obj1
));
18860 if (SWIG_arg_fail(2)) SWIG_fail
;
18862 if (arg1
) (arg1
)->m_keyCode
= arg2
;
18864 Py_INCREF(Py_None
); resultobj
= Py_None
;
18871 static PyObject
*_wrap_KeyEvent_m_keyCode_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18872 PyObject
*resultobj
;
18873 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18875 PyObject
* obj0
= 0 ;
18876 char *kwnames
[] = {
18877 (char *) "self", NULL
18880 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_keyCode_get",kwnames
,&obj0
)) goto fail
;
18881 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18882 if (SWIG_arg_fail(1)) SWIG_fail
;
18883 result
= (long) ((arg1
)->m_keyCode
);
18886 resultobj
= SWIG_From_long((long)(result
));
18894 static PyObject
*_wrap_KeyEvent_m_controlDown_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18895 PyObject
*resultobj
;
18896 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18898 PyObject
* obj0
= 0 ;
18899 PyObject
* obj1
= 0 ;
18900 char *kwnames
[] = {
18901 (char *) "self",(char *) "m_controlDown", NULL
18904 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_controlDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
18905 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18906 if (SWIG_arg_fail(1)) SWIG_fail
;
18908 arg2
= (bool)(SWIG_As_bool(obj1
));
18909 if (SWIG_arg_fail(2)) SWIG_fail
;
18911 if (arg1
) (arg1
)->m_controlDown
= arg2
;
18913 Py_INCREF(Py_None
); resultobj
= Py_None
;
18920 static PyObject
*_wrap_KeyEvent_m_controlDown_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18921 PyObject
*resultobj
;
18922 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18924 PyObject
* obj0
= 0 ;
18925 char *kwnames
[] = {
18926 (char *) "self", NULL
18929 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_controlDown_get",kwnames
,&obj0
)) goto fail
;
18930 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18931 if (SWIG_arg_fail(1)) SWIG_fail
;
18932 result
= (bool) ((arg1
)->m_controlDown
);
18935 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18943 static PyObject
*_wrap_KeyEvent_m_shiftDown_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18944 PyObject
*resultobj
;
18945 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18947 PyObject
* obj0
= 0 ;
18948 PyObject
* obj1
= 0 ;
18949 char *kwnames
[] = {
18950 (char *) "self",(char *) "m_shiftDown", NULL
18953 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_shiftDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
18954 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18955 if (SWIG_arg_fail(1)) SWIG_fail
;
18957 arg2
= (bool)(SWIG_As_bool(obj1
));
18958 if (SWIG_arg_fail(2)) SWIG_fail
;
18960 if (arg1
) (arg1
)->m_shiftDown
= arg2
;
18962 Py_INCREF(Py_None
); resultobj
= Py_None
;
18969 static PyObject
*_wrap_KeyEvent_m_shiftDown_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18970 PyObject
*resultobj
;
18971 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18973 PyObject
* obj0
= 0 ;
18974 char *kwnames
[] = {
18975 (char *) "self", NULL
18978 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_shiftDown_get",kwnames
,&obj0
)) goto fail
;
18979 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18980 if (SWIG_arg_fail(1)) SWIG_fail
;
18981 result
= (bool) ((arg1
)->m_shiftDown
);
18984 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18992 static PyObject
*_wrap_KeyEvent_m_altDown_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18993 PyObject
*resultobj
;
18994 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18996 PyObject
* obj0
= 0 ;
18997 PyObject
* obj1
= 0 ;
18998 char *kwnames
[] = {
18999 (char *) "self",(char *) "m_altDown", NULL
19002 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_altDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
19003 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
19004 if (SWIG_arg_fail(1)) SWIG_fail
;
19006 arg2
= (bool)(SWIG_As_bool(obj1
));
19007 if (SWIG_arg_fail(2)) SWIG_fail
;
19009 if (arg1
) (arg1
)->m_altDown
= arg2
;
19011 Py_INCREF(Py_None
); resultobj
= Py_None
;
19018 static PyObject
*_wrap_KeyEvent_m_altDown_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19019 PyObject
*resultobj
;
19020 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
19022 PyObject
* obj0
= 0 ;
19023 char *kwnames
[] = {
19024 (char *) "self", NULL
19027 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_altDown_get",kwnames
,&obj0
)) goto fail
;
19028 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
19029 if (SWIG_arg_fail(1)) SWIG_fail
;
19030 result
= (bool) ((arg1
)->m_altDown
);
19033 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19041 static PyObject
*_wrap_KeyEvent_m_metaDown_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19042 PyObject
*resultobj
;
19043 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
19045 PyObject
* obj0
= 0 ;
19046 PyObject
* obj1
= 0 ;
19047 char *kwnames
[] = {
19048 (char *) "self",(char *) "m_metaDown", NULL
19051 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_metaDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
19052 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
19053 if (SWIG_arg_fail(1)) SWIG_fail
;
19055 arg2
= (bool)(SWIG_As_bool(obj1
));
19056 if (SWIG_arg_fail(2)) SWIG_fail
;
19058 if (arg1
) (arg1
)->m_metaDown
= arg2
;
19060 Py_INCREF(Py_None
); resultobj
= Py_None
;
19067 static PyObject
*_wrap_KeyEvent_m_metaDown_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19068 PyObject
*resultobj
;
19069 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
19071 PyObject
* obj0
= 0 ;
19072 char *kwnames
[] = {
19073 (char *) "self", NULL
19076 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_metaDown_get",kwnames
,&obj0
)) goto fail
;
19077 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
19078 if (SWIG_arg_fail(1)) SWIG_fail
;
19079 result
= (bool) ((arg1
)->m_metaDown
);
19082 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19090 static PyObject
*_wrap_KeyEvent_m_scanCode_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19091 PyObject
*resultobj
;
19092 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
19094 PyObject
* obj0
= 0 ;
19095 PyObject
* obj1
= 0 ;
19096 char *kwnames
[] = {
19097 (char *) "self",(char *) "m_scanCode", NULL
19100 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_scanCode_set",kwnames
,&obj0
,&obj1
)) goto fail
;
19101 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
19102 if (SWIG_arg_fail(1)) SWIG_fail
;
19104 arg2
= (bool)(SWIG_As_bool(obj1
));
19105 if (SWIG_arg_fail(2)) SWIG_fail
;
19107 if (arg1
) (arg1
)->m_scanCode
= arg2
;
19109 Py_INCREF(Py_None
); resultobj
= Py_None
;
19116 static PyObject
*_wrap_KeyEvent_m_scanCode_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19117 PyObject
*resultobj
;
19118 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
19120 PyObject
* obj0
= 0 ;
19121 char *kwnames
[] = {
19122 (char *) "self", NULL
19125 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_scanCode_get",kwnames
,&obj0
)) goto fail
;
19126 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
19127 if (SWIG_arg_fail(1)) SWIG_fail
;
19128 result
= (bool) ((arg1
)->m_scanCode
);
19131 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19139 static PyObject
*_wrap_KeyEvent_m_rawCode_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19140 PyObject
*resultobj
;
19141 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
19142 unsigned int arg2
;
19143 PyObject
* obj0
= 0 ;
19144 PyObject
* obj1
= 0 ;
19145 char *kwnames
[] = {
19146 (char *) "self",(char *) "m_rawCode", NULL
19149 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_rawCode_set",kwnames
,&obj0
,&obj1
)) goto fail
;
19150 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
19151 if (SWIG_arg_fail(1)) SWIG_fail
;
19153 arg2
= (unsigned int)(SWIG_As_unsigned_SS_int(obj1
));
19154 if (SWIG_arg_fail(2)) SWIG_fail
;
19156 if (arg1
) (arg1
)->m_rawCode
= arg2
;
19158 Py_INCREF(Py_None
); resultobj
= Py_None
;
19165 static PyObject
*_wrap_KeyEvent_m_rawCode_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19166 PyObject
*resultobj
;
19167 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
19168 unsigned int result
;
19169 PyObject
* obj0
= 0 ;
19170 char *kwnames
[] = {
19171 (char *) "self", NULL
19174 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_rawCode_get",kwnames
,&obj0
)) goto fail
;
19175 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
19176 if (SWIG_arg_fail(1)) SWIG_fail
;
19177 result
= (unsigned int) ((arg1
)->m_rawCode
);
19180 resultobj
= SWIG_From_unsigned_SS_int((unsigned int)(result
));
19188 static PyObject
*_wrap_KeyEvent_m_rawFlags_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19189 PyObject
*resultobj
;
19190 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
19191 unsigned int arg2
;
19192 PyObject
* obj0
= 0 ;
19193 PyObject
* obj1
= 0 ;
19194 char *kwnames
[] = {
19195 (char *) "self",(char *) "m_rawFlags", NULL
19198 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_rawFlags_set",kwnames
,&obj0
,&obj1
)) goto fail
;
19199 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
19200 if (SWIG_arg_fail(1)) SWIG_fail
;
19202 arg2
= (unsigned int)(SWIG_As_unsigned_SS_int(obj1
));
19203 if (SWIG_arg_fail(2)) SWIG_fail
;
19205 if (arg1
) (arg1
)->m_rawFlags
= arg2
;
19207 Py_INCREF(Py_None
); resultobj
= Py_None
;
19214 static PyObject
*_wrap_KeyEvent_m_rawFlags_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19215 PyObject
*resultobj
;
19216 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
19217 unsigned int result
;
19218 PyObject
* obj0
= 0 ;
19219 char *kwnames
[] = {
19220 (char *) "self", NULL
19223 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_rawFlags_get",kwnames
,&obj0
)) goto fail
;
19224 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
19225 if (SWIG_arg_fail(1)) SWIG_fail
;
19226 result
= (unsigned int) ((arg1
)->m_rawFlags
);
19229 resultobj
= SWIG_From_unsigned_SS_int((unsigned int)(result
));
19237 static PyObject
* KeyEvent_swigregister(PyObject
*, PyObject
*args
) {
19239 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19240 SWIG_TypeClientData(SWIGTYPE_p_wxKeyEvent
, obj
);
19242 return Py_BuildValue((char *)"");
19244 static PyObject
*_wrap_new_SizeEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19245 PyObject
*resultobj
;
19246 wxSize
const &arg1_defvalue
= wxDefaultSize
;
19247 wxSize
*arg1
= (wxSize
*) &arg1_defvalue
;
19248 int arg2
= (int) 0 ;
19249 wxSizeEvent
*result
;
19251 PyObject
* obj0
= 0 ;
19252 PyObject
* obj1
= 0 ;
19253 char *kwnames
[] = {
19254 (char *) "sz",(char *) "winid", NULL
19257 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_SizeEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
19261 if ( ! wxSize_helper(obj0
, &arg1
)) SWIG_fail
;
19266 arg2
= (int)(SWIG_As_int(obj1
));
19267 if (SWIG_arg_fail(2)) SWIG_fail
;
19271 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19272 result
= (wxSizeEvent
*)new wxSizeEvent((wxSize
const &)*arg1
,arg2
);
19274 wxPyEndAllowThreads(__tstate
);
19275 if (PyErr_Occurred()) SWIG_fail
;
19277 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizeEvent
, 1);
19284 static PyObject
*_wrap_SizeEvent_GetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19285 PyObject
*resultobj
;
19286 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
19288 PyObject
* obj0
= 0 ;
19289 char *kwnames
[] = {
19290 (char *) "self", NULL
19293 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizeEvent_GetSize",kwnames
,&obj0
)) goto fail
;
19294 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizeEvent
, SWIG_POINTER_EXCEPTION
| 0);
19295 if (SWIG_arg_fail(1)) SWIG_fail
;
19297 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19298 result
= ((wxSizeEvent
const *)arg1
)->GetSize();
19300 wxPyEndAllowThreads(__tstate
);
19301 if (PyErr_Occurred()) SWIG_fail
;
19304 wxSize
* resultptr
;
19305 resultptr
= new wxSize((wxSize
&)(result
));
19306 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
19314 static PyObject
*_wrap_SizeEvent_GetRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19315 PyObject
*resultobj
;
19316 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
19318 PyObject
* obj0
= 0 ;
19319 char *kwnames
[] = {
19320 (char *) "self", NULL
19323 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizeEvent_GetRect",kwnames
,&obj0
)) goto fail
;
19324 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizeEvent
, SWIG_POINTER_EXCEPTION
| 0);
19325 if (SWIG_arg_fail(1)) SWIG_fail
;
19327 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19328 result
= ((wxSizeEvent
const *)arg1
)->GetRect();
19330 wxPyEndAllowThreads(__tstate
);
19331 if (PyErr_Occurred()) SWIG_fail
;
19334 wxRect
* resultptr
;
19335 resultptr
= new wxRect((wxRect
&)(result
));
19336 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
19344 static PyObject
*_wrap_SizeEvent_SetRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19345 PyObject
*resultobj
;
19346 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
19348 PyObject
* obj0
= 0 ;
19349 PyObject
* obj1
= 0 ;
19350 char *kwnames
[] = {
19351 (char *) "self",(char *) "rect", NULL
19354 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizeEvent_SetRect",kwnames
,&obj0
,&obj1
)) goto fail
;
19355 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizeEvent
, SWIG_POINTER_EXCEPTION
| 0);
19356 if (SWIG_arg_fail(1)) SWIG_fail
;
19359 SWIG_Python_ConvertPtr(obj1
, (void **)&argp
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
);
19360 if (SWIG_arg_fail(2)) SWIG_fail
;
19361 if (argp
== NULL
) {
19362 SWIG_null_ref("wxRect");
19364 if (SWIG_arg_fail(2)) SWIG_fail
;
19368 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19369 (arg1
)->SetRect(arg2
);
19371 wxPyEndAllowThreads(__tstate
);
19372 if (PyErr_Occurred()) SWIG_fail
;
19374 Py_INCREF(Py_None
); resultobj
= Py_None
;
19381 static PyObject
*_wrap_SizeEvent_SetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19382 PyObject
*resultobj
;
19383 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
19385 PyObject
* obj0
= 0 ;
19386 PyObject
* obj1
= 0 ;
19387 char *kwnames
[] = {
19388 (char *) "self",(char *) "size", NULL
19391 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizeEvent_SetSize",kwnames
,&obj0
,&obj1
)) goto fail
;
19392 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizeEvent
, SWIG_POINTER_EXCEPTION
| 0);
19393 if (SWIG_arg_fail(1)) SWIG_fail
;
19396 SWIG_Python_ConvertPtr(obj1
, (void **)&argp
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
);
19397 if (SWIG_arg_fail(2)) SWIG_fail
;
19398 if (argp
== NULL
) {
19399 SWIG_null_ref("wxSize");
19401 if (SWIG_arg_fail(2)) SWIG_fail
;
19405 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19406 wxSizeEvent_SetSize(arg1
,arg2
);
19408 wxPyEndAllowThreads(__tstate
);
19409 if (PyErr_Occurred()) SWIG_fail
;
19411 Py_INCREF(Py_None
); resultobj
= Py_None
;
19418 static PyObject
*_wrap_SizeEvent_m_size_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19419 PyObject
*resultobj
;
19420 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
19421 wxSize
*arg2
= (wxSize
*) 0 ;
19422 PyObject
* obj0
= 0 ;
19423 PyObject
* obj1
= 0 ;
19424 char *kwnames
[] = {
19425 (char *) "self",(char *) "m_size", NULL
19428 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizeEvent_m_size_set",kwnames
,&obj0
,&obj1
)) goto fail
;
19429 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizeEvent
, SWIG_POINTER_EXCEPTION
| 0);
19430 if (SWIG_arg_fail(1)) SWIG_fail
;
19431 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
| 0);
19432 if (SWIG_arg_fail(2)) SWIG_fail
;
19433 if (arg1
) (arg1
)->m_size
= *arg2
;
19435 Py_INCREF(Py_None
); resultobj
= Py_None
;
19442 static PyObject
*_wrap_SizeEvent_m_size_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19443 PyObject
*resultobj
;
19444 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
19446 PyObject
* obj0
= 0 ;
19447 char *kwnames
[] = {
19448 (char *) "self", NULL
19451 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizeEvent_m_size_get",kwnames
,&obj0
)) goto fail
;
19452 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizeEvent
, SWIG_POINTER_EXCEPTION
| 0);
19453 if (SWIG_arg_fail(1)) SWIG_fail
;
19454 result
= (wxSize
*)& ((arg1
)->m_size
);
19456 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSize
, 0);
19463 static PyObject
*_wrap_SizeEvent_m_rect_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19464 PyObject
*resultobj
;
19465 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
19466 wxRect
*arg2
= (wxRect
*) 0 ;
19467 PyObject
* obj0
= 0 ;
19468 PyObject
* obj1
= 0 ;
19469 char *kwnames
[] = {
19470 (char *) "self",(char *) "m_rect", NULL
19473 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizeEvent_m_rect_set",kwnames
,&obj0
,&obj1
)) goto fail
;
19474 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizeEvent
, SWIG_POINTER_EXCEPTION
| 0);
19475 if (SWIG_arg_fail(1)) SWIG_fail
;
19476 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
19477 if (SWIG_arg_fail(2)) SWIG_fail
;
19478 if (arg1
) (arg1
)->m_rect
= *arg2
;
19480 Py_INCREF(Py_None
); resultobj
= Py_None
;
19487 static PyObject
*_wrap_SizeEvent_m_rect_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19488 PyObject
*resultobj
;
19489 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
19491 PyObject
* obj0
= 0 ;
19492 char *kwnames
[] = {
19493 (char *) "self", NULL
19496 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizeEvent_m_rect_get",kwnames
,&obj0
)) goto fail
;
19497 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizeEvent
, SWIG_POINTER_EXCEPTION
| 0);
19498 if (SWIG_arg_fail(1)) SWIG_fail
;
19499 result
= (wxRect
*)& ((arg1
)->m_rect
);
19501 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 0);
19508 static PyObject
* SizeEvent_swigregister(PyObject
*, PyObject
*args
) {
19510 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19511 SWIG_TypeClientData(SWIGTYPE_p_wxSizeEvent
, obj
);
19513 return Py_BuildValue((char *)"");
19515 static PyObject
*_wrap_new_MoveEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19516 PyObject
*resultobj
;
19517 wxPoint
const &arg1_defvalue
= wxDefaultPosition
;
19518 wxPoint
*arg1
= (wxPoint
*) &arg1_defvalue
;
19519 int arg2
= (int) 0 ;
19520 wxMoveEvent
*result
;
19522 PyObject
* obj0
= 0 ;
19523 PyObject
* obj1
= 0 ;
19524 char *kwnames
[] = {
19525 (char *) "pos",(char *) "winid", NULL
19528 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_MoveEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
19532 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
19537 arg2
= (int)(SWIG_As_int(obj1
));
19538 if (SWIG_arg_fail(2)) SWIG_fail
;
19542 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19543 result
= (wxMoveEvent
*)new wxMoveEvent((wxPoint
const &)*arg1
,arg2
);
19545 wxPyEndAllowThreads(__tstate
);
19546 if (PyErr_Occurred()) SWIG_fail
;
19548 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMoveEvent
, 1);
19555 static PyObject
*_wrap_MoveEvent_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19556 PyObject
*resultobj
;
19557 wxMoveEvent
*arg1
= (wxMoveEvent
*) 0 ;
19559 PyObject
* obj0
= 0 ;
19560 char *kwnames
[] = {
19561 (char *) "self", NULL
19564 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MoveEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
19565 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMoveEvent
, SWIG_POINTER_EXCEPTION
| 0);
19566 if (SWIG_arg_fail(1)) SWIG_fail
;
19568 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19569 result
= ((wxMoveEvent
const *)arg1
)->GetPosition();
19571 wxPyEndAllowThreads(__tstate
);
19572 if (PyErr_Occurred()) SWIG_fail
;
19575 wxPoint
* resultptr
;
19576 resultptr
= new wxPoint((wxPoint
&)(result
));
19577 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
19585 static PyObject
*_wrap_MoveEvent_GetRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19586 PyObject
*resultobj
;
19587 wxMoveEvent
*arg1
= (wxMoveEvent
*) 0 ;
19589 PyObject
* obj0
= 0 ;
19590 char *kwnames
[] = {
19591 (char *) "self", NULL
19594 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MoveEvent_GetRect",kwnames
,&obj0
)) goto fail
;
19595 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMoveEvent
, SWIG_POINTER_EXCEPTION
| 0);
19596 if (SWIG_arg_fail(1)) SWIG_fail
;
19598 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19599 result
= ((wxMoveEvent
const *)arg1
)->GetRect();
19601 wxPyEndAllowThreads(__tstate
);
19602 if (PyErr_Occurred()) SWIG_fail
;
19605 wxRect
* resultptr
;
19606 resultptr
= new wxRect((wxRect
&)(result
));
19607 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
19615 static PyObject
*_wrap_MoveEvent_SetRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19616 PyObject
*resultobj
;
19617 wxMoveEvent
*arg1
= (wxMoveEvent
*) 0 ;
19620 PyObject
* obj0
= 0 ;
19621 PyObject
* obj1
= 0 ;
19622 char *kwnames
[] = {
19623 (char *) "self",(char *) "rect", NULL
19626 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MoveEvent_SetRect",kwnames
,&obj0
,&obj1
)) goto fail
;
19627 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMoveEvent
, SWIG_POINTER_EXCEPTION
| 0);
19628 if (SWIG_arg_fail(1)) SWIG_fail
;
19631 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
19634 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19635 (arg1
)->SetRect((wxRect
const &)*arg2
);
19637 wxPyEndAllowThreads(__tstate
);
19638 if (PyErr_Occurred()) SWIG_fail
;
19640 Py_INCREF(Py_None
); resultobj
= Py_None
;
19647 static PyObject
*_wrap_MoveEvent_SetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19648 PyObject
*resultobj
;
19649 wxMoveEvent
*arg1
= (wxMoveEvent
*) 0 ;
19650 wxPoint
*arg2
= 0 ;
19652 PyObject
* obj0
= 0 ;
19653 PyObject
* obj1
= 0 ;
19654 char *kwnames
[] = {
19655 (char *) "self",(char *) "pos", NULL
19658 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MoveEvent_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
19659 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMoveEvent
, SWIG_POINTER_EXCEPTION
| 0);
19660 if (SWIG_arg_fail(1)) SWIG_fail
;
19663 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
19666 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19667 (arg1
)->SetPosition((wxPoint
const &)*arg2
);
19669 wxPyEndAllowThreads(__tstate
);
19670 if (PyErr_Occurred()) SWIG_fail
;
19672 Py_INCREF(Py_None
); resultobj
= Py_None
;
19679 static PyObject
* MoveEvent_swigregister(PyObject
*, PyObject
*args
) {
19681 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19682 SWIG_TypeClientData(SWIGTYPE_p_wxMoveEvent
, obj
);
19684 return Py_BuildValue((char *)"");
19686 static PyObject
*_wrap_new_PaintEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19687 PyObject
*resultobj
;
19688 int arg1
= (int) 0 ;
19689 wxPaintEvent
*result
;
19690 PyObject
* obj0
= 0 ;
19691 char *kwnames
[] = {
19692 (char *) "Id", NULL
19695 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_PaintEvent",kwnames
,&obj0
)) goto fail
;
19698 arg1
= (int)(SWIG_As_int(obj0
));
19699 if (SWIG_arg_fail(1)) SWIG_fail
;
19703 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19704 result
= (wxPaintEvent
*)new wxPaintEvent(arg1
);
19706 wxPyEndAllowThreads(__tstate
);
19707 if (PyErr_Occurred()) SWIG_fail
;
19709 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPaintEvent
, 1);
19716 static PyObject
* PaintEvent_swigregister(PyObject
*, PyObject
*args
) {
19718 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19719 SWIG_TypeClientData(SWIGTYPE_p_wxPaintEvent
, obj
);
19721 return Py_BuildValue((char *)"");
19723 static PyObject
*_wrap_new_NcPaintEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19724 PyObject
*resultobj
;
19725 int arg1
= (int) 0 ;
19726 wxNcPaintEvent
*result
;
19727 PyObject
* obj0
= 0 ;
19728 char *kwnames
[] = {
19729 (char *) "winid", NULL
19732 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_NcPaintEvent",kwnames
,&obj0
)) goto fail
;
19735 arg1
= (int)(SWIG_As_int(obj0
));
19736 if (SWIG_arg_fail(1)) SWIG_fail
;
19740 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19741 result
= (wxNcPaintEvent
*)new wxNcPaintEvent(arg1
);
19743 wxPyEndAllowThreads(__tstate
);
19744 if (PyErr_Occurred()) SWIG_fail
;
19746 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNcPaintEvent
, 1);
19753 static PyObject
* NcPaintEvent_swigregister(PyObject
*, PyObject
*args
) {
19755 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19756 SWIG_TypeClientData(SWIGTYPE_p_wxNcPaintEvent
, obj
);
19758 return Py_BuildValue((char *)"");
19760 static PyObject
*_wrap_new_EraseEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19761 PyObject
*resultobj
;
19762 int arg1
= (int) 0 ;
19763 wxDC
*arg2
= (wxDC
*) (wxDC
*) NULL
;
19764 wxEraseEvent
*result
;
19765 PyObject
* obj0
= 0 ;
19766 PyObject
* obj1
= 0 ;
19767 char *kwnames
[] = {
19768 (char *) "Id",(char *) "dc", NULL
19771 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_EraseEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
19774 arg1
= (int)(SWIG_As_int(obj0
));
19775 if (SWIG_arg_fail(1)) SWIG_fail
;
19779 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
19780 if (SWIG_arg_fail(2)) SWIG_fail
;
19783 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19784 result
= (wxEraseEvent
*)new wxEraseEvent(arg1
,arg2
);
19786 wxPyEndAllowThreads(__tstate
);
19787 if (PyErr_Occurred()) SWIG_fail
;
19789 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxEraseEvent
, 1);
19796 static PyObject
*_wrap_EraseEvent_GetDC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19797 PyObject
*resultobj
;
19798 wxEraseEvent
*arg1
= (wxEraseEvent
*) 0 ;
19800 PyObject
* obj0
= 0 ;
19801 char *kwnames
[] = {
19802 (char *) "self", NULL
19805 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EraseEvent_GetDC",kwnames
,&obj0
)) goto fail
;
19806 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEraseEvent
, SWIG_POINTER_EXCEPTION
| 0);
19807 if (SWIG_arg_fail(1)) SWIG_fail
;
19809 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19810 result
= (wxDC
*)((wxEraseEvent
const *)arg1
)->GetDC();
19812 wxPyEndAllowThreads(__tstate
);
19813 if (PyErr_Occurred()) SWIG_fail
;
19816 resultobj
= wxPyMake_wxObject(result
, 0);
19824 static PyObject
* EraseEvent_swigregister(PyObject
*, PyObject
*args
) {
19826 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19827 SWIG_TypeClientData(SWIGTYPE_p_wxEraseEvent
, obj
);
19829 return Py_BuildValue((char *)"");
19831 static PyObject
*_wrap_new_FocusEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19832 PyObject
*resultobj
;
19833 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
19834 int arg2
= (int) 0 ;
19835 wxFocusEvent
*result
;
19836 PyObject
* obj0
= 0 ;
19837 PyObject
* obj1
= 0 ;
19838 char *kwnames
[] = {
19839 (char *) "type",(char *) "winid", NULL
19842 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_FocusEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
19845 arg1
= (wxEventType
)(SWIG_As_int(obj0
));
19846 if (SWIG_arg_fail(1)) SWIG_fail
;
19851 arg2
= (int)(SWIG_As_int(obj1
));
19852 if (SWIG_arg_fail(2)) SWIG_fail
;
19856 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19857 result
= (wxFocusEvent
*)new wxFocusEvent(arg1
,arg2
);
19859 wxPyEndAllowThreads(__tstate
);
19860 if (PyErr_Occurred()) SWIG_fail
;
19862 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFocusEvent
, 1);
19869 static PyObject
*_wrap_FocusEvent_GetWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19870 PyObject
*resultobj
;
19871 wxFocusEvent
*arg1
= (wxFocusEvent
*) 0 ;
19873 PyObject
* obj0
= 0 ;
19874 char *kwnames
[] = {
19875 (char *) "self", NULL
19878 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FocusEvent_GetWindow",kwnames
,&obj0
)) goto fail
;
19879 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFocusEvent
, SWIG_POINTER_EXCEPTION
| 0);
19880 if (SWIG_arg_fail(1)) SWIG_fail
;
19882 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19883 result
= (wxWindow
*)((wxFocusEvent
const *)arg1
)->GetWindow();
19885 wxPyEndAllowThreads(__tstate
);
19886 if (PyErr_Occurred()) SWIG_fail
;
19889 resultobj
= wxPyMake_wxObject(result
, 0);
19897 static PyObject
*_wrap_FocusEvent_SetWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19898 PyObject
*resultobj
;
19899 wxFocusEvent
*arg1
= (wxFocusEvent
*) 0 ;
19900 wxWindow
*arg2
= (wxWindow
*) 0 ;
19901 PyObject
* obj0
= 0 ;
19902 PyObject
* obj1
= 0 ;
19903 char *kwnames
[] = {
19904 (char *) "self",(char *) "win", NULL
19907 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FocusEvent_SetWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
19908 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFocusEvent
, SWIG_POINTER_EXCEPTION
| 0);
19909 if (SWIG_arg_fail(1)) SWIG_fail
;
19910 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
19911 if (SWIG_arg_fail(2)) SWIG_fail
;
19913 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19914 (arg1
)->SetWindow(arg2
);
19916 wxPyEndAllowThreads(__tstate
);
19917 if (PyErr_Occurred()) SWIG_fail
;
19919 Py_INCREF(Py_None
); resultobj
= Py_None
;
19926 static PyObject
* FocusEvent_swigregister(PyObject
*, PyObject
*args
) {
19928 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19929 SWIG_TypeClientData(SWIGTYPE_p_wxFocusEvent
, obj
);
19931 return Py_BuildValue((char *)"");
19933 static PyObject
*_wrap_new_ChildFocusEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19934 PyObject
*resultobj
;
19935 wxWindow
*arg1
= (wxWindow
*) NULL
;
19936 wxChildFocusEvent
*result
;
19937 PyObject
* obj0
= 0 ;
19938 char *kwnames
[] = {
19939 (char *) "win", NULL
19942 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_ChildFocusEvent",kwnames
,&obj0
)) goto fail
;
19944 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
19945 if (SWIG_arg_fail(1)) SWIG_fail
;
19948 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19949 result
= (wxChildFocusEvent
*)new wxChildFocusEvent(arg1
);
19951 wxPyEndAllowThreads(__tstate
);
19952 if (PyErr_Occurred()) SWIG_fail
;
19954 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxChildFocusEvent
, 1);
19961 static PyObject
*_wrap_ChildFocusEvent_GetWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19962 PyObject
*resultobj
;
19963 wxChildFocusEvent
*arg1
= (wxChildFocusEvent
*) 0 ;
19965 PyObject
* obj0
= 0 ;
19966 char *kwnames
[] = {
19967 (char *) "self", NULL
19970 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ChildFocusEvent_GetWindow",kwnames
,&obj0
)) goto fail
;
19971 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxChildFocusEvent
, SWIG_POINTER_EXCEPTION
| 0);
19972 if (SWIG_arg_fail(1)) SWIG_fail
;
19974 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19975 result
= (wxWindow
*)((wxChildFocusEvent
const *)arg1
)->GetWindow();
19977 wxPyEndAllowThreads(__tstate
);
19978 if (PyErr_Occurred()) SWIG_fail
;
19981 resultobj
= wxPyMake_wxObject(result
, 0);
19989 static PyObject
* ChildFocusEvent_swigregister(PyObject
*, PyObject
*args
) {
19991 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19992 SWIG_TypeClientData(SWIGTYPE_p_wxChildFocusEvent
, obj
);
19994 return Py_BuildValue((char *)"");
19996 static PyObject
*_wrap_new_ActivateEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19997 PyObject
*resultobj
;
19998 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
19999 bool arg2
= (bool) true ;
20000 int arg3
= (int) 0 ;
20001 wxActivateEvent
*result
;
20002 PyObject
* obj0
= 0 ;
20003 PyObject
* obj1
= 0 ;
20004 PyObject
* obj2
= 0 ;
20005 char *kwnames
[] = {
20006 (char *) "type",(char *) "active",(char *) "Id", NULL
20009 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_ActivateEvent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20012 arg1
= (wxEventType
)(SWIG_As_int(obj0
));
20013 if (SWIG_arg_fail(1)) SWIG_fail
;
20018 arg2
= (bool)(SWIG_As_bool(obj1
));
20019 if (SWIG_arg_fail(2)) SWIG_fail
;
20024 arg3
= (int)(SWIG_As_int(obj2
));
20025 if (SWIG_arg_fail(3)) SWIG_fail
;
20029 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20030 result
= (wxActivateEvent
*)new wxActivateEvent(arg1
,arg2
,arg3
);
20032 wxPyEndAllowThreads(__tstate
);
20033 if (PyErr_Occurred()) SWIG_fail
;
20035 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxActivateEvent
, 1);
20042 static PyObject
*_wrap_ActivateEvent_GetActive(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20043 PyObject
*resultobj
;
20044 wxActivateEvent
*arg1
= (wxActivateEvent
*) 0 ;
20046 PyObject
* obj0
= 0 ;
20047 char *kwnames
[] = {
20048 (char *) "self", NULL
20051 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ActivateEvent_GetActive",kwnames
,&obj0
)) goto fail
;
20052 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxActivateEvent
, SWIG_POINTER_EXCEPTION
| 0);
20053 if (SWIG_arg_fail(1)) SWIG_fail
;
20055 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20056 result
= (bool)((wxActivateEvent
const *)arg1
)->GetActive();
20058 wxPyEndAllowThreads(__tstate
);
20059 if (PyErr_Occurred()) SWIG_fail
;
20062 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20070 static PyObject
* ActivateEvent_swigregister(PyObject
*, PyObject
*args
) {
20072 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20073 SWIG_TypeClientData(SWIGTYPE_p_wxActivateEvent
, obj
);
20075 return Py_BuildValue((char *)"");
20077 static PyObject
*_wrap_new_InitDialogEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20078 PyObject
*resultobj
;
20079 int arg1
= (int) 0 ;
20080 wxInitDialogEvent
*result
;
20081 PyObject
* obj0
= 0 ;
20082 char *kwnames
[] = {
20083 (char *) "Id", NULL
20086 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_InitDialogEvent",kwnames
,&obj0
)) goto fail
;
20089 arg1
= (int)(SWIG_As_int(obj0
));
20090 if (SWIG_arg_fail(1)) SWIG_fail
;
20094 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20095 result
= (wxInitDialogEvent
*)new wxInitDialogEvent(arg1
);
20097 wxPyEndAllowThreads(__tstate
);
20098 if (PyErr_Occurred()) SWIG_fail
;
20100 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxInitDialogEvent
, 1);
20107 static PyObject
* InitDialogEvent_swigregister(PyObject
*, PyObject
*args
) {
20109 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20110 SWIG_TypeClientData(SWIGTYPE_p_wxInitDialogEvent
, obj
);
20112 return Py_BuildValue((char *)"");
20114 static PyObject
*_wrap_new_MenuEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20115 PyObject
*resultobj
;
20116 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
20117 int arg2
= (int) 0 ;
20118 wxMenu
*arg3
= (wxMenu
*) NULL
;
20119 wxMenuEvent
*result
;
20120 PyObject
* obj0
= 0 ;
20121 PyObject
* obj1
= 0 ;
20122 PyObject
* obj2
= 0 ;
20123 char *kwnames
[] = {
20124 (char *) "type",(char *) "winid",(char *) "menu", NULL
20127 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_MenuEvent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20130 arg1
= (wxEventType
)(SWIG_As_int(obj0
));
20131 if (SWIG_arg_fail(1)) SWIG_fail
;
20136 arg2
= (int)(SWIG_As_int(obj1
));
20137 if (SWIG_arg_fail(2)) SWIG_fail
;
20141 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
20142 if (SWIG_arg_fail(3)) SWIG_fail
;
20145 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20146 result
= (wxMenuEvent
*)new wxMenuEvent(arg1
,arg2
,arg3
);
20148 wxPyEndAllowThreads(__tstate
);
20149 if (PyErr_Occurred()) SWIG_fail
;
20151 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMenuEvent
, 1);
20158 static PyObject
*_wrap_MenuEvent_GetMenuId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20159 PyObject
*resultobj
;
20160 wxMenuEvent
*arg1
= (wxMenuEvent
*) 0 ;
20162 PyObject
* obj0
= 0 ;
20163 char *kwnames
[] = {
20164 (char *) "self", NULL
20167 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuEvent_GetMenuId",kwnames
,&obj0
)) goto fail
;
20168 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuEvent
, SWIG_POINTER_EXCEPTION
| 0);
20169 if (SWIG_arg_fail(1)) SWIG_fail
;
20171 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20172 result
= (int)((wxMenuEvent
const *)arg1
)->GetMenuId();
20174 wxPyEndAllowThreads(__tstate
);
20175 if (PyErr_Occurred()) SWIG_fail
;
20178 resultobj
= SWIG_From_int((int)(result
));
20186 static PyObject
*_wrap_MenuEvent_IsPopup(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20187 PyObject
*resultobj
;
20188 wxMenuEvent
*arg1
= (wxMenuEvent
*) 0 ;
20190 PyObject
* obj0
= 0 ;
20191 char *kwnames
[] = {
20192 (char *) "self", NULL
20195 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuEvent_IsPopup",kwnames
,&obj0
)) goto fail
;
20196 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuEvent
, SWIG_POINTER_EXCEPTION
| 0);
20197 if (SWIG_arg_fail(1)) SWIG_fail
;
20199 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20200 result
= (bool)((wxMenuEvent
const *)arg1
)->IsPopup();
20202 wxPyEndAllowThreads(__tstate
);
20203 if (PyErr_Occurred()) SWIG_fail
;
20206 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20214 static PyObject
*_wrap_MenuEvent_GetMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20215 PyObject
*resultobj
;
20216 wxMenuEvent
*arg1
= (wxMenuEvent
*) 0 ;
20218 PyObject
* obj0
= 0 ;
20219 char *kwnames
[] = {
20220 (char *) "self", NULL
20223 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuEvent_GetMenu",kwnames
,&obj0
)) goto fail
;
20224 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuEvent
, SWIG_POINTER_EXCEPTION
| 0);
20225 if (SWIG_arg_fail(1)) SWIG_fail
;
20227 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20228 result
= (wxMenu
*)((wxMenuEvent
const *)arg1
)->GetMenu();
20230 wxPyEndAllowThreads(__tstate
);
20231 if (PyErr_Occurred()) SWIG_fail
;
20234 resultobj
= wxPyMake_wxObject(result
, 0);
20242 static PyObject
* MenuEvent_swigregister(PyObject
*, PyObject
*args
) {
20244 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20245 SWIG_TypeClientData(SWIGTYPE_p_wxMenuEvent
, obj
);
20247 return Py_BuildValue((char *)"");
20249 static PyObject
*_wrap_new_CloseEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20250 PyObject
*resultobj
;
20251 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
20252 int arg2
= (int) 0 ;
20253 wxCloseEvent
*result
;
20254 PyObject
* obj0
= 0 ;
20255 PyObject
* obj1
= 0 ;
20256 char *kwnames
[] = {
20257 (char *) "type",(char *) "winid", NULL
20260 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_CloseEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
20263 arg1
= (wxEventType
)(SWIG_As_int(obj0
));
20264 if (SWIG_arg_fail(1)) SWIG_fail
;
20269 arg2
= (int)(SWIG_As_int(obj1
));
20270 if (SWIG_arg_fail(2)) SWIG_fail
;
20274 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20275 result
= (wxCloseEvent
*)new wxCloseEvent(arg1
,arg2
);
20277 wxPyEndAllowThreads(__tstate
);
20278 if (PyErr_Occurred()) SWIG_fail
;
20280 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCloseEvent
, 1);
20287 static PyObject
*_wrap_CloseEvent_SetLoggingOff(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20288 PyObject
*resultobj
;
20289 wxCloseEvent
*arg1
= (wxCloseEvent
*) 0 ;
20291 PyObject
* obj0
= 0 ;
20292 PyObject
* obj1
= 0 ;
20293 char *kwnames
[] = {
20294 (char *) "self",(char *) "logOff", NULL
20297 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CloseEvent_SetLoggingOff",kwnames
,&obj0
,&obj1
)) goto fail
;
20298 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCloseEvent
, SWIG_POINTER_EXCEPTION
| 0);
20299 if (SWIG_arg_fail(1)) SWIG_fail
;
20301 arg2
= (bool)(SWIG_As_bool(obj1
));
20302 if (SWIG_arg_fail(2)) SWIG_fail
;
20305 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20306 (arg1
)->SetLoggingOff(arg2
);
20308 wxPyEndAllowThreads(__tstate
);
20309 if (PyErr_Occurred()) SWIG_fail
;
20311 Py_INCREF(Py_None
); resultobj
= Py_None
;
20318 static PyObject
*_wrap_CloseEvent_GetLoggingOff(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20319 PyObject
*resultobj
;
20320 wxCloseEvent
*arg1
= (wxCloseEvent
*) 0 ;
20322 PyObject
* obj0
= 0 ;
20323 char *kwnames
[] = {
20324 (char *) "self", NULL
20327 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CloseEvent_GetLoggingOff",kwnames
,&obj0
)) goto fail
;
20328 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCloseEvent
, SWIG_POINTER_EXCEPTION
| 0);
20329 if (SWIG_arg_fail(1)) SWIG_fail
;
20331 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20332 result
= (bool)((wxCloseEvent
const *)arg1
)->GetLoggingOff();
20334 wxPyEndAllowThreads(__tstate
);
20335 if (PyErr_Occurred()) SWIG_fail
;
20338 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20346 static PyObject
*_wrap_CloseEvent_Veto(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20347 PyObject
*resultobj
;
20348 wxCloseEvent
*arg1
= (wxCloseEvent
*) 0 ;
20349 bool arg2
= (bool) true ;
20350 PyObject
* obj0
= 0 ;
20351 PyObject
* obj1
= 0 ;
20352 char *kwnames
[] = {
20353 (char *) "self",(char *) "veto", NULL
20356 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:CloseEvent_Veto",kwnames
,&obj0
,&obj1
)) goto fail
;
20357 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCloseEvent
, SWIG_POINTER_EXCEPTION
| 0);
20358 if (SWIG_arg_fail(1)) SWIG_fail
;
20361 arg2
= (bool)(SWIG_As_bool(obj1
));
20362 if (SWIG_arg_fail(2)) SWIG_fail
;
20366 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20367 (arg1
)->Veto(arg2
);
20369 wxPyEndAllowThreads(__tstate
);
20370 if (PyErr_Occurred()) SWIG_fail
;
20372 Py_INCREF(Py_None
); resultobj
= Py_None
;
20379 static PyObject
*_wrap_CloseEvent_SetCanVeto(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20380 PyObject
*resultobj
;
20381 wxCloseEvent
*arg1
= (wxCloseEvent
*) 0 ;
20383 PyObject
* obj0
= 0 ;
20384 PyObject
* obj1
= 0 ;
20385 char *kwnames
[] = {
20386 (char *) "self",(char *) "canVeto", NULL
20389 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CloseEvent_SetCanVeto",kwnames
,&obj0
,&obj1
)) goto fail
;
20390 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCloseEvent
, SWIG_POINTER_EXCEPTION
| 0);
20391 if (SWIG_arg_fail(1)) SWIG_fail
;
20393 arg2
= (bool)(SWIG_As_bool(obj1
));
20394 if (SWIG_arg_fail(2)) SWIG_fail
;
20397 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20398 (arg1
)->SetCanVeto(arg2
);
20400 wxPyEndAllowThreads(__tstate
);
20401 if (PyErr_Occurred()) SWIG_fail
;
20403 Py_INCREF(Py_None
); resultobj
= Py_None
;
20410 static PyObject
*_wrap_CloseEvent_CanVeto(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20411 PyObject
*resultobj
;
20412 wxCloseEvent
*arg1
= (wxCloseEvent
*) 0 ;
20414 PyObject
* obj0
= 0 ;
20415 char *kwnames
[] = {
20416 (char *) "self", NULL
20419 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CloseEvent_CanVeto",kwnames
,&obj0
)) goto fail
;
20420 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCloseEvent
, SWIG_POINTER_EXCEPTION
| 0);
20421 if (SWIG_arg_fail(1)) SWIG_fail
;
20423 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20424 result
= (bool)((wxCloseEvent
const *)arg1
)->CanVeto();
20426 wxPyEndAllowThreads(__tstate
);
20427 if (PyErr_Occurred()) SWIG_fail
;
20430 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20438 static PyObject
*_wrap_CloseEvent_GetVeto(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20439 PyObject
*resultobj
;
20440 wxCloseEvent
*arg1
= (wxCloseEvent
*) 0 ;
20442 PyObject
* obj0
= 0 ;
20443 char *kwnames
[] = {
20444 (char *) "self", NULL
20447 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CloseEvent_GetVeto",kwnames
,&obj0
)) goto fail
;
20448 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCloseEvent
, SWIG_POINTER_EXCEPTION
| 0);
20449 if (SWIG_arg_fail(1)) SWIG_fail
;
20451 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20452 result
= (bool)((wxCloseEvent
const *)arg1
)->GetVeto();
20454 wxPyEndAllowThreads(__tstate
);
20455 if (PyErr_Occurred()) SWIG_fail
;
20458 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20466 static PyObject
* CloseEvent_swigregister(PyObject
*, PyObject
*args
) {
20468 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20469 SWIG_TypeClientData(SWIGTYPE_p_wxCloseEvent
, obj
);
20471 return Py_BuildValue((char *)"");
20473 static PyObject
*_wrap_new_ShowEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20474 PyObject
*resultobj
;
20475 int arg1
= (int) 0 ;
20476 bool arg2
= (bool) false ;
20477 wxShowEvent
*result
;
20478 PyObject
* obj0
= 0 ;
20479 PyObject
* obj1
= 0 ;
20480 char *kwnames
[] = {
20481 (char *) "winid",(char *) "show", NULL
20484 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_ShowEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
20487 arg1
= (int)(SWIG_As_int(obj0
));
20488 if (SWIG_arg_fail(1)) SWIG_fail
;
20493 arg2
= (bool)(SWIG_As_bool(obj1
));
20494 if (SWIG_arg_fail(2)) SWIG_fail
;
20498 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20499 result
= (wxShowEvent
*)new wxShowEvent(arg1
,arg2
);
20501 wxPyEndAllowThreads(__tstate
);
20502 if (PyErr_Occurred()) SWIG_fail
;
20504 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxShowEvent
, 1);
20511 static PyObject
*_wrap_ShowEvent_SetShow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20512 PyObject
*resultobj
;
20513 wxShowEvent
*arg1
= (wxShowEvent
*) 0 ;
20515 PyObject
* obj0
= 0 ;
20516 PyObject
* obj1
= 0 ;
20517 char *kwnames
[] = {
20518 (char *) "self",(char *) "show", NULL
20521 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ShowEvent_SetShow",kwnames
,&obj0
,&obj1
)) goto fail
;
20522 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxShowEvent
, SWIG_POINTER_EXCEPTION
| 0);
20523 if (SWIG_arg_fail(1)) SWIG_fail
;
20525 arg2
= (bool)(SWIG_As_bool(obj1
));
20526 if (SWIG_arg_fail(2)) SWIG_fail
;
20529 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20530 (arg1
)->SetShow(arg2
);
20532 wxPyEndAllowThreads(__tstate
);
20533 if (PyErr_Occurred()) SWIG_fail
;
20535 Py_INCREF(Py_None
); resultobj
= Py_None
;
20542 static PyObject
*_wrap_ShowEvent_GetShow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20543 PyObject
*resultobj
;
20544 wxShowEvent
*arg1
= (wxShowEvent
*) 0 ;
20546 PyObject
* obj0
= 0 ;
20547 char *kwnames
[] = {
20548 (char *) "self", NULL
20551 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ShowEvent_GetShow",kwnames
,&obj0
)) goto fail
;
20552 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxShowEvent
, SWIG_POINTER_EXCEPTION
| 0);
20553 if (SWIG_arg_fail(1)) SWIG_fail
;
20555 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20556 result
= (bool)((wxShowEvent
const *)arg1
)->GetShow();
20558 wxPyEndAllowThreads(__tstate
);
20559 if (PyErr_Occurred()) SWIG_fail
;
20562 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20570 static PyObject
* ShowEvent_swigregister(PyObject
*, PyObject
*args
) {
20572 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20573 SWIG_TypeClientData(SWIGTYPE_p_wxShowEvent
, obj
);
20575 return Py_BuildValue((char *)"");
20577 static PyObject
*_wrap_new_IconizeEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20578 PyObject
*resultobj
;
20579 int arg1
= (int) 0 ;
20580 bool arg2
= (bool) true ;
20581 wxIconizeEvent
*result
;
20582 PyObject
* obj0
= 0 ;
20583 PyObject
* obj1
= 0 ;
20584 char *kwnames
[] = {
20585 (char *) "id",(char *) "iconized", NULL
20588 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_IconizeEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
20591 arg1
= (int)(SWIG_As_int(obj0
));
20592 if (SWIG_arg_fail(1)) SWIG_fail
;
20597 arg2
= (bool)(SWIG_As_bool(obj1
));
20598 if (SWIG_arg_fail(2)) SWIG_fail
;
20602 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20603 result
= (wxIconizeEvent
*)new wxIconizeEvent(arg1
,arg2
);
20605 wxPyEndAllowThreads(__tstate
);
20606 if (PyErr_Occurred()) SWIG_fail
;
20608 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIconizeEvent
, 1);
20615 static PyObject
*_wrap_IconizeEvent_Iconized(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20616 PyObject
*resultobj
;
20617 wxIconizeEvent
*arg1
= (wxIconizeEvent
*) 0 ;
20619 PyObject
* obj0
= 0 ;
20620 char *kwnames
[] = {
20621 (char *) "self", NULL
20624 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IconizeEvent_Iconized",kwnames
,&obj0
)) goto fail
;
20625 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIconizeEvent
, SWIG_POINTER_EXCEPTION
| 0);
20626 if (SWIG_arg_fail(1)) SWIG_fail
;
20628 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20629 result
= (bool)(arg1
)->Iconized();
20631 wxPyEndAllowThreads(__tstate
);
20632 if (PyErr_Occurred()) SWIG_fail
;
20635 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20643 static PyObject
* IconizeEvent_swigregister(PyObject
*, PyObject
*args
) {
20645 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20646 SWIG_TypeClientData(SWIGTYPE_p_wxIconizeEvent
, obj
);
20648 return Py_BuildValue((char *)"");
20650 static PyObject
*_wrap_new_MaximizeEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20651 PyObject
*resultobj
;
20652 int arg1
= (int) 0 ;
20653 wxMaximizeEvent
*result
;
20654 PyObject
* obj0
= 0 ;
20655 char *kwnames
[] = {
20656 (char *) "id", NULL
20659 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_MaximizeEvent",kwnames
,&obj0
)) goto fail
;
20662 arg1
= (int)(SWIG_As_int(obj0
));
20663 if (SWIG_arg_fail(1)) SWIG_fail
;
20667 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20668 result
= (wxMaximizeEvent
*)new wxMaximizeEvent(arg1
);
20670 wxPyEndAllowThreads(__tstate
);
20671 if (PyErr_Occurred()) SWIG_fail
;
20673 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMaximizeEvent
, 1);
20680 static PyObject
* MaximizeEvent_swigregister(PyObject
*, PyObject
*args
) {
20682 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20683 SWIG_TypeClientData(SWIGTYPE_p_wxMaximizeEvent
, obj
);
20685 return Py_BuildValue((char *)"");
20687 static PyObject
*_wrap_DropFilesEvent_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20688 PyObject
*resultobj
;
20689 wxDropFilesEvent
*arg1
= (wxDropFilesEvent
*) 0 ;
20691 PyObject
* obj0
= 0 ;
20692 char *kwnames
[] = {
20693 (char *) "self", NULL
20696 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DropFilesEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
20697 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDropFilesEvent
, SWIG_POINTER_EXCEPTION
| 0);
20698 if (SWIG_arg_fail(1)) SWIG_fail
;
20700 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20701 result
= (arg1
)->GetPosition();
20703 wxPyEndAllowThreads(__tstate
);
20704 if (PyErr_Occurred()) SWIG_fail
;
20707 wxPoint
* resultptr
;
20708 resultptr
= new wxPoint((wxPoint
&)(result
));
20709 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
20717 static PyObject
*_wrap_DropFilesEvent_GetNumberOfFiles(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20718 PyObject
*resultobj
;
20719 wxDropFilesEvent
*arg1
= (wxDropFilesEvent
*) 0 ;
20721 PyObject
* obj0
= 0 ;
20722 char *kwnames
[] = {
20723 (char *) "self", NULL
20726 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DropFilesEvent_GetNumberOfFiles",kwnames
,&obj0
)) goto fail
;
20727 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDropFilesEvent
, SWIG_POINTER_EXCEPTION
| 0);
20728 if (SWIG_arg_fail(1)) SWIG_fail
;
20730 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20731 result
= (int)(arg1
)->GetNumberOfFiles();
20733 wxPyEndAllowThreads(__tstate
);
20734 if (PyErr_Occurred()) SWIG_fail
;
20737 resultobj
= SWIG_From_int((int)(result
));
20745 static PyObject
*_wrap_DropFilesEvent_GetFiles(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20746 PyObject
*resultobj
;
20747 wxDropFilesEvent
*arg1
= (wxDropFilesEvent
*) 0 ;
20749 PyObject
* obj0
= 0 ;
20750 char *kwnames
[] = {
20751 (char *) "self", NULL
20754 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DropFilesEvent_GetFiles",kwnames
,&obj0
)) goto fail
;
20755 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDropFilesEvent
, SWIG_POINTER_EXCEPTION
| 0);
20756 if (SWIG_arg_fail(1)) SWIG_fail
;
20758 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20759 result
= (PyObject
*)wxDropFilesEvent_GetFiles(arg1
);
20761 wxPyEndAllowThreads(__tstate
);
20762 if (PyErr_Occurred()) SWIG_fail
;
20764 resultobj
= result
;
20771 static PyObject
* DropFilesEvent_swigregister(PyObject
*, PyObject
*args
) {
20773 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20774 SWIG_TypeClientData(SWIGTYPE_p_wxDropFilesEvent
, obj
);
20776 return Py_BuildValue((char *)"");
20778 static PyObject
*_wrap_new_UpdateUIEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20779 PyObject
*resultobj
;
20780 int arg1
= (int) 0 ;
20781 wxUpdateUIEvent
*result
;
20782 PyObject
* obj0
= 0 ;
20783 char *kwnames
[] = {
20784 (char *) "commandId", NULL
20787 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_UpdateUIEvent",kwnames
,&obj0
)) goto fail
;
20790 arg1
= (int)(SWIG_As_int(obj0
));
20791 if (SWIG_arg_fail(1)) SWIG_fail
;
20795 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20796 result
= (wxUpdateUIEvent
*)new wxUpdateUIEvent(arg1
);
20798 wxPyEndAllowThreads(__tstate
);
20799 if (PyErr_Occurred()) SWIG_fail
;
20801 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxUpdateUIEvent
, 1);
20808 static PyObject
*_wrap_UpdateUIEvent_GetChecked(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20809 PyObject
*resultobj
;
20810 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
20812 PyObject
* obj0
= 0 ;
20813 char *kwnames
[] = {
20814 (char *) "self", NULL
20817 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_GetChecked",kwnames
,&obj0
)) goto fail
;
20818 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxUpdateUIEvent
, SWIG_POINTER_EXCEPTION
| 0);
20819 if (SWIG_arg_fail(1)) SWIG_fail
;
20821 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20822 result
= (bool)((wxUpdateUIEvent
const *)arg1
)->GetChecked();
20824 wxPyEndAllowThreads(__tstate
);
20825 if (PyErr_Occurred()) SWIG_fail
;
20828 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20836 static PyObject
*_wrap_UpdateUIEvent_GetEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20837 PyObject
*resultobj
;
20838 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
20840 PyObject
* obj0
= 0 ;
20841 char *kwnames
[] = {
20842 (char *) "self", NULL
20845 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_GetEnabled",kwnames
,&obj0
)) goto fail
;
20846 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxUpdateUIEvent
, SWIG_POINTER_EXCEPTION
| 0);
20847 if (SWIG_arg_fail(1)) SWIG_fail
;
20849 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20850 result
= (bool)((wxUpdateUIEvent
const *)arg1
)->GetEnabled();
20852 wxPyEndAllowThreads(__tstate
);
20853 if (PyErr_Occurred()) SWIG_fail
;
20856 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20864 static PyObject
*_wrap_UpdateUIEvent_GetText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20865 PyObject
*resultobj
;
20866 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
20868 PyObject
* obj0
= 0 ;
20869 char *kwnames
[] = {
20870 (char *) "self", NULL
20873 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_GetText",kwnames
,&obj0
)) goto fail
;
20874 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxUpdateUIEvent
, SWIG_POINTER_EXCEPTION
| 0);
20875 if (SWIG_arg_fail(1)) SWIG_fail
;
20877 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20878 result
= ((wxUpdateUIEvent
const *)arg1
)->GetText();
20880 wxPyEndAllowThreads(__tstate
);
20881 if (PyErr_Occurred()) SWIG_fail
;
20885 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
20887 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
20896 static PyObject
*_wrap_UpdateUIEvent_GetSetText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20897 PyObject
*resultobj
;
20898 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
20900 PyObject
* obj0
= 0 ;
20901 char *kwnames
[] = {
20902 (char *) "self", NULL
20905 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_GetSetText",kwnames
,&obj0
)) goto fail
;
20906 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxUpdateUIEvent
, SWIG_POINTER_EXCEPTION
| 0);
20907 if (SWIG_arg_fail(1)) SWIG_fail
;
20909 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20910 result
= (bool)((wxUpdateUIEvent
const *)arg1
)->GetSetText();
20912 wxPyEndAllowThreads(__tstate
);
20913 if (PyErr_Occurred()) SWIG_fail
;
20916 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20924 static PyObject
*_wrap_UpdateUIEvent_GetSetChecked(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20925 PyObject
*resultobj
;
20926 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
20928 PyObject
* obj0
= 0 ;
20929 char *kwnames
[] = {
20930 (char *) "self", NULL
20933 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_GetSetChecked",kwnames
,&obj0
)) goto fail
;
20934 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxUpdateUIEvent
, SWIG_POINTER_EXCEPTION
| 0);
20935 if (SWIG_arg_fail(1)) SWIG_fail
;
20937 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20938 result
= (bool)((wxUpdateUIEvent
const *)arg1
)->GetSetChecked();
20940 wxPyEndAllowThreads(__tstate
);
20941 if (PyErr_Occurred()) SWIG_fail
;
20944 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20952 static PyObject
*_wrap_UpdateUIEvent_GetSetEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20953 PyObject
*resultobj
;
20954 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
20956 PyObject
* obj0
= 0 ;
20957 char *kwnames
[] = {
20958 (char *) "self", NULL
20961 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_GetSetEnabled",kwnames
,&obj0
)) goto fail
;
20962 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxUpdateUIEvent
, SWIG_POINTER_EXCEPTION
| 0);
20963 if (SWIG_arg_fail(1)) SWIG_fail
;
20965 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20966 result
= (bool)((wxUpdateUIEvent
const *)arg1
)->GetSetEnabled();
20968 wxPyEndAllowThreads(__tstate
);
20969 if (PyErr_Occurred()) SWIG_fail
;
20972 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20980 static PyObject
*_wrap_UpdateUIEvent_Check(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20981 PyObject
*resultobj
;
20982 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
20984 PyObject
* obj0
= 0 ;
20985 PyObject
* obj1
= 0 ;
20986 char *kwnames
[] = {
20987 (char *) "self",(char *) "check", NULL
20990 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:UpdateUIEvent_Check",kwnames
,&obj0
,&obj1
)) goto fail
;
20991 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxUpdateUIEvent
, SWIG_POINTER_EXCEPTION
| 0);
20992 if (SWIG_arg_fail(1)) SWIG_fail
;
20994 arg2
= (bool)(SWIG_As_bool(obj1
));
20995 if (SWIG_arg_fail(2)) SWIG_fail
;
20998 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20999 (arg1
)->Check(arg2
);
21001 wxPyEndAllowThreads(__tstate
);
21002 if (PyErr_Occurred()) SWIG_fail
;
21004 Py_INCREF(Py_None
); resultobj
= Py_None
;
21011 static PyObject
*_wrap_UpdateUIEvent_Enable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21012 PyObject
*resultobj
;
21013 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
21015 PyObject
* obj0
= 0 ;
21016 PyObject
* obj1
= 0 ;
21017 char *kwnames
[] = {
21018 (char *) "self",(char *) "enable", NULL
21021 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:UpdateUIEvent_Enable",kwnames
,&obj0
,&obj1
)) goto fail
;
21022 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxUpdateUIEvent
, SWIG_POINTER_EXCEPTION
| 0);
21023 if (SWIG_arg_fail(1)) SWIG_fail
;
21025 arg2
= (bool)(SWIG_As_bool(obj1
));
21026 if (SWIG_arg_fail(2)) SWIG_fail
;
21029 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21030 (arg1
)->Enable(arg2
);
21032 wxPyEndAllowThreads(__tstate
);
21033 if (PyErr_Occurred()) SWIG_fail
;
21035 Py_INCREF(Py_None
); resultobj
= Py_None
;
21042 static PyObject
*_wrap_UpdateUIEvent_SetText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21043 PyObject
*resultobj
;
21044 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
21045 wxString
*arg2
= 0 ;
21046 bool temp2
= false ;
21047 PyObject
* obj0
= 0 ;
21048 PyObject
* obj1
= 0 ;
21049 char *kwnames
[] = {
21050 (char *) "self",(char *) "text", NULL
21053 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:UpdateUIEvent_SetText",kwnames
,&obj0
,&obj1
)) goto fail
;
21054 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxUpdateUIEvent
, SWIG_POINTER_EXCEPTION
| 0);
21055 if (SWIG_arg_fail(1)) SWIG_fail
;
21057 arg2
= wxString_in_helper(obj1
);
21058 if (arg2
== NULL
) SWIG_fail
;
21062 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21063 (arg1
)->SetText((wxString
const &)*arg2
);
21065 wxPyEndAllowThreads(__tstate
);
21066 if (PyErr_Occurred()) SWIG_fail
;
21068 Py_INCREF(Py_None
); resultobj
= Py_None
;
21083 static PyObject
*_wrap_UpdateUIEvent_SetUpdateInterval(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21084 PyObject
*resultobj
;
21086 PyObject
* obj0
= 0 ;
21087 char *kwnames
[] = {
21088 (char *) "updateInterval", NULL
21091 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_SetUpdateInterval",kwnames
,&obj0
)) goto fail
;
21093 arg1
= (long)(SWIG_As_long(obj0
));
21094 if (SWIG_arg_fail(1)) SWIG_fail
;
21097 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21098 wxUpdateUIEvent::SetUpdateInterval(arg1
);
21100 wxPyEndAllowThreads(__tstate
);
21101 if (PyErr_Occurred()) SWIG_fail
;
21103 Py_INCREF(Py_None
); resultobj
= Py_None
;
21110 static PyObject
*_wrap_UpdateUIEvent_GetUpdateInterval(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21111 PyObject
*resultobj
;
21113 char *kwnames
[] = {
21117 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":UpdateUIEvent_GetUpdateInterval",kwnames
)) goto fail
;
21119 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21120 result
= (long)wxUpdateUIEvent::GetUpdateInterval();
21122 wxPyEndAllowThreads(__tstate
);
21123 if (PyErr_Occurred()) SWIG_fail
;
21126 resultobj
= SWIG_From_long((long)(result
));
21134 static PyObject
*_wrap_UpdateUIEvent_CanUpdate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21135 PyObject
*resultobj
;
21136 wxWindow
*arg1
= (wxWindow
*) 0 ;
21138 PyObject
* obj0
= 0 ;
21139 char *kwnames
[] = {
21140 (char *) "win", NULL
21143 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_CanUpdate",kwnames
,&obj0
)) goto fail
;
21144 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
21145 if (SWIG_arg_fail(1)) SWIG_fail
;
21147 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21148 result
= (bool)wxUpdateUIEvent::CanUpdate(arg1
);
21150 wxPyEndAllowThreads(__tstate
);
21151 if (PyErr_Occurred()) SWIG_fail
;
21154 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21162 static PyObject
*_wrap_UpdateUIEvent_ResetUpdateTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21163 PyObject
*resultobj
;
21164 char *kwnames
[] = {
21168 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":UpdateUIEvent_ResetUpdateTime",kwnames
)) goto fail
;
21170 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21171 wxUpdateUIEvent::ResetUpdateTime();
21173 wxPyEndAllowThreads(__tstate
);
21174 if (PyErr_Occurred()) SWIG_fail
;
21176 Py_INCREF(Py_None
); resultobj
= Py_None
;
21183 static PyObject
*_wrap_UpdateUIEvent_SetMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21184 PyObject
*resultobj
;
21185 wxUpdateUIMode arg1
;
21186 PyObject
* obj0
= 0 ;
21187 char *kwnames
[] = {
21188 (char *) "mode", NULL
21191 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_SetMode",kwnames
,&obj0
)) goto fail
;
21193 arg1
= (wxUpdateUIMode
)(SWIG_As_int(obj0
));
21194 if (SWIG_arg_fail(1)) SWIG_fail
;
21197 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21198 wxUpdateUIEvent::SetMode((wxUpdateUIMode
)arg1
);
21200 wxPyEndAllowThreads(__tstate
);
21201 if (PyErr_Occurred()) SWIG_fail
;
21203 Py_INCREF(Py_None
); resultobj
= Py_None
;
21210 static PyObject
*_wrap_UpdateUIEvent_GetMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21211 PyObject
*resultobj
;
21212 wxUpdateUIMode result
;
21213 char *kwnames
[] = {
21217 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":UpdateUIEvent_GetMode",kwnames
)) goto fail
;
21219 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21220 result
= (wxUpdateUIMode
)wxUpdateUIEvent::GetMode();
21222 wxPyEndAllowThreads(__tstate
);
21223 if (PyErr_Occurred()) SWIG_fail
;
21225 resultobj
= SWIG_From_int((result
));
21232 static PyObject
* UpdateUIEvent_swigregister(PyObject
*, PyObject
*args
) {
21234 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21235 SWIG_TypeClientData(SWIGTYPE_p_wxUpdateUIEvent
, obj
);
21237 return Py_BuildValue((char *)"");
21239 static PyObject
*_wrap_new_SysColourChangedEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21240 PyObject
*resultobj
;
21241 wxSysColourChangedEvent
*result
;
21242 char *kwnames
[] = {
21246 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_SysColourChangedEvent",kwnames
)) goto fail
;
21248 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21249 result
= (wxSysColourChangedEvent
*)new wxSysColourChangedEvent();
21251 wxPyEndAllowThreads(__tstate
);
21252 if (PyErr_Occurred()) SWIG_fail
;
21254 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSysColourChangedEvent
, 1);
21261 static PyObject
* SysColourChangedEvent_swigregister(PyObject
*, PyObject
*args
) {
21263 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21264 SWIG_TypeClientData(SWIGTYPE_p_wxSysColourChangedEvent
, obj
);
21266 return Py_BuildValue((char *)"");
21268 static PyObject
*_wrap_new_MouseCaptureChangedEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21269 PyObject
*resultobj
;
21270 int arg1
= (int) 0 ;
21271 wxWindow
*arg2
= (wxWindow
*) NULL
;
21272 wxMouseCaptureChangedEvent
*result
;
21273 PyObject
* obj0
= 0 ;
21274 PyObject
* obj1
= 0 ;
21275 char *kwnames
[] = {
21276 (char *) "winid",(char *) "gainedCapture", NULL
21279 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_MouseCaptureChangedEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
21282 arg1
= (int)(SWIG_As_int(obj0
));
21283 if (SWIG_arg_fail(1)) SWIG_fail
;
21287 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
21288 if (SWIG_arg_fail(2)) SWIG_fail
;
21291 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21292 result
= (wxMouseCaptureChangedEvent
*)new wxMouseCaptureChangedEvent(arg1
,arg2
);
21294 wxPyEndAllowThreads(__tstate
);
21295 if (PyErr_Occurred()) SWIG_fail
;
21297 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMouseCaptureChangedEvent
, 1);
21304 static PyObject
*_wrap_MouseCaptureChangedEvent_GetCapturedWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21305 PyObject
*resultobj
;
21306 wxMouseCaptureChangedEvent
*arg1
= (wxMouseCaptureChangedEvent
*) 0 ;
21308 PyObject
* obj0
= 0 ;
21309 char *kwnames
[] = {
21310 (char *) "self", NULL
21313 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseCaptureChangedEvent_GetCapturedWindow",kwnames
,&obj0
)) goto fail
;
21314 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseCaptureChangedEvent
, SWIG_POINTER_EXCEPTION
| 0);
21315 if (SWIG_arg_fail(1)) SWIG_fail
;
21317 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21318 result
= (wxWindow
*)((wxMouseCaptureChangedEvent
const *)arg1
)->GetCapturedWindow();
21320 wxPyEndAllowThreads(__tstate
);
21321 if (PyErr_Occurred()) SWIG_fail
;
21324 resultobj
= wxPyMake_wxObject(result
, 0);
21332 static PyObject
* MouseCaptureChangedEvent_swigregister(PyObject
*, PyObject
*args
) {
21334 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21335 SWIG_TypeClientData(SWIGTYPE_p_wxMouseCaptureChangedEvent
, obj
);
21337 return Py_BuildValue((char *)"");
21339 static PyObject
*_wrap_new_DisplayChangedEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21340 PyObject
*resultobj
;
21341 wxDisplayChangedEvent
*result
;
21342 char *kwnames
[] = {
21346 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_DisplayChangedEvent",kwnames
)) goto fail
;
21348 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21349 result
= (wxDisplayChangedEvent
*)new wxDisplayChangedEvent();
21351 wxPyEndAllowThreads(__tstate
);
21352 if (PyErr_Occurred()) SWIG_fail
;
21354 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDisplayChangedEvent
, 1);
21361 static PyObject
* DisplayChangedEvent_swigregister(PyObject
*, PyObject
*args
) {
21363 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21364 SWIG_TypeClientData(SWIGTYPE_p_wxDisplayChangedEvent
, obj
);
21366 return Py_BuildValue((char *)"");
21368 static PyObject
*_wrap_new_PaletteChangedEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21369 PyObject
*resultobj
;
21370 int arg1
= (int) 0 ;
21371 wxPaletteChangedEvent
*result
;
21372 PyObject
* obj0
= 0 ;
21373 char *kwnames
[] = {
21374 (char *) "id", NULL
21377 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_PaletteChangedEvent",kwnames
,&obj0
)) goto fail
;
21380 arg1
= (int)(SWIG_As_int(obj0
));
21381 if (SWIG_arg_fail(1)) SWIG_fail
;
21385 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21386 result
= (wxPaletteChangedEvent
*)new wxPaletteChangedEvent(arg1
);
21388 wxPyEndAllowThreads(__tstate
);
21389 if (PyErr_Occurred()) SWIG_fail
;
21391 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPaletteChangedEvent
, 1);
21398 static PyObject
*_wrap_PaletteChangedEvent_SetChangedWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21399 PyObject
*resultobj
;
21400 wxPaletteChangedEvent
*arg1
= (wxPaletteChangedEvent
*) 0 ;
21401 wxWindow
*arg2
= (wxWindow
*) 0 ;
21402 PyObject
* obj0
= 0 ;
21403 PyObject
* obj1
= 0 ;
21404 char *kwnames
[] = {
21405 (char *) "self",(char *) "win", NULL
21408 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PaletteChangedEvent_SetChangedWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
21409 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPaletteChangedEvent
, SWIG_POINTER_EXCEPTION
| 0);
21410 if (SWIG_arg_fail(1)) SWIG_fail
;
21411 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
21412 if (SWIG_arg_fail(2)) SWIG_fail
;
21414 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21415 (arg1
)->SetChangedWindow(arg2
);
21417 wxPyEndAllowThreads(__tstate
);
21418 if (PyErr_Occurred()) SWIG_fail
;
21420 Py_INCREF(Py_None
); resultobj
= Py_None
;
21427 static PyObject
*_wrap_PaletteChangedEvent_GetChangedWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21428 PyObject
*resultobj
;
21429 wxPaletteChangedEvent
*arg1
= (wxPaletteChangedEvent
*) 0 ;
21431 PyObject
* obj0
= 0 ;
21432 char *kwnames
[] = {
21433 (char *) "self", NULL
21436 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PaletteChangedEvent_GetChangedWindow",kwnames
,&obj0
)) goto fail
;
21437 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPaletteChangedEvent
, SWIG_POINTER_EXCEPTION
| 0);
21438 if (SWIG_arg_fail(1)) SWIG_fail
;
21440 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21441 result
= (wxWindow
*)(arg1
)->GetChangedWindow();
21443 wxPyEndAllowThreads(__tstate
);
21444 if (PyErr_Occurred()) SWIG_fail
;
21447 resultobj
= wxPyMake_wxObject(result
, 0);
21455 static PyObject
* PaletteChangedEvent_swigregister(PyObject
*, PyObject
*args
) {
21457 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21458 SWIG_TypeClientData(SWIGTYPE_p_wxPaletteChangedEvent
, obj
);
21460 return Py_BuildValue((char *)"");
21462 static PyObject
*_wrap_new_QueryNewPaletteEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21463 PyObject
*resultobj
;
21464 int arg1
= (int) 0 ;
21465 wxQueryNewPaletteEvent
*result
;
21466 PyObject
* obj0
= 0 ;
21467 char *kwnames
[] = {
21468 (char *) "winid", NULL
21471 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_QueryNewPaletteEvent",kwnames
,&obj0
)) goto fail
;
21474 arg1
= (int)(SWIG_As_int(obj0
));
21475 if (SWIG_arg_fail(1)) SWIG_fail
;
21479 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21480 result
= (wxQueryNewPaletteEvent
*)new wxQueryNewPaletteEvent(arg1
);
21482 wxPyEndAllowThreads(__tstate
);
21483 if (PyErr_Occurred()) SWIG_fail
;
21485 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxQueryNewPaletteEvent
, 1);
21492 static PyObject
*_wrap_QueryNewPaletteEvent_SetPaletteRealized(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21493 PyObject
*resultobj
;
21494 wxQueryNewPaletteEvent
*arg1
= (wxQueryNewPaletteEvent
*) 0 ;
21496 PyObject
* obj0
= 0 ;
21497 PyObject
* obj1
= 0 ;
21498 char *kwnames
[] = {
21499 (char *) "self",(char *) "realized", NULL
21502 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryNewPaletteEvent_SetPaletteRealized",kwnames
,&obj0
,&obj1
)) goto fail
;
21503 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxQueryNewPaletteEvent
, SWIG_POINTER_EXCEPTION
| 0);
21504 if (SWIG_arg_fail(1)) SWIG_fail
;
21506 arg2
= (bool)(SWIG_As_bool(obj1
));
21507 if (SWIG_arg_fail(2)) SWIG_fail
;
21510 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21511 (arg1
)->SetPaletteRealized(arg2
);
21513 wxPyEndAllowThreads(__tstate
);
21514 if (PyErr_Occurred()) SWIG_fail
;
21516 Py_INCREF(Py_None
); resultobj
= Py_None
;
21523 static PyObject
*_wrap_QueryNewPaletteEvent_GetPaletteRealized(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21524 PyObject
*resultobj
;
21525 wxQueryNewPaletteEvent
*arg1
= (wxQueryNewPaletteEvent
*) 0 ;
21527 PyObject
* obj0
= 0 ;
21528 char *kwnames
[] = {
21529 (char *) "self", NULL
21532 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:QueryNewPaletteEvent_GetPaletteRealized",kwnames
,&obj0
)) goto fail
;
21533 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxQueryNewPaletteEvent
, SWIG_POINTER_EXCEPTION
| 0);
21534 if (SWIG_arg_fail(1)) SWIG_fail
;
21536 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21537 result
= (bool)((wxQueryNewPaletteEvent
const *)arg1
)->GetPaletteRealized();
21539 wxPyEndAllowThreads(__tstate
);
21540 if (PyErr_Occurred()) SWIG_fail
;
21543 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21551 static PyObject
* QueryNewPaletteEvent_swigregister(PyObject
*, PyObject
*args
) {
21553 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21554 SWIG_TypeClientData(SWIGTYPE_p_wxQueryNewPaletteEvent
, obj
);
21556 return Py_BuildValue((char *)"");
21558 static PyObject
*_wrap_new_NavigationKeyEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21559 PyObject
*resultobj
;
21560 wxNavigationKeyEvent
*result
;
21561 char *kwnames
[] = {
21565 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_NavigationKeyEvent",kwnames
)) goto fail
;
21567 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21568 result
= (wxNavigationKeyEvent
*)new wxNavigationKeyEvent();
21570 wxPyEndAllowThreads(__tstate
);
21571 if (PyErr_Occurred()) SWIG_fail
;
21573 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNavigationKeyEvent
, 1);
21580 static PyObject
*_wrap_NavigationKeyEvent_GetDirection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21581 PyObject
*resultobj
;
21582 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
21584 PyObject
* obj0
= 0 ;
21585 char *kwnames
[] = {
21586 (char *) "self", NULL
21589 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NavigationKeyEvent_GetDirection",kwnames
,&obj0
)) goto fail
;
21590 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNavigationKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
21591 if (SWIG_arg_fail(1)) SWIG_fail
;
21593 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21594 result
= (bool)((wxNavigationKeyEvent
const *)arg1
)->GetDirection();
21596 wxPyEndAllowThreads(__tstate
);
21597 if (PyErr_Occurred()) SWIG_fail
;
21600 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21608 static PyObject
*_wrap_NavigationKeyEvent_SetDirection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21609 PyObject
*resultobj
;
21610 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
21612 PyObject
* obj0
= 0 ;
21613 PyObject
* obj1
= 0 ;
21614 char *kwnames
[] = {
21615 (char *) "self",(char *) "forward", NULL
21618 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NavigationKeyEvent_SetDirection",kwnames
,&obj0
,&obj1
)) goto fail
;
21619 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNavigationKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
21620 if (SWIG_arg_fail(1)) SWIG_fail
;
21622 arg2
= (bool)(SWIG_As_bool(obj1
));
21623 if (SWIG_arg_fail(2)) SWIG_fail
;
21626 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21627 (arg1
)->SetDirection(arg2
);
21629 wxPyEndAllowThreads(__tstate
);
21630 if (PyErr_Occurred()) SWIG_fail
;
21632 Py_INCREF(Py_None
); resultobj
= Py_None
;
21639 static PyObject
*_wrap_NavigationKeyEvent_IsWindowChange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21640 PyObject
*resultobj
;
21641 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
21643 PyObject
* obj0
= 0 ;
21644 char *kwnames
[] = {
21645 (char *) "self", NULL
21648 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NavigationKeyEvent_IsWindowChange",kwnames
,&obj0
)) goto fail
;
21649 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNavigationKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
21650 if (SWIG_arg_fail(1)) SWIG_fail
;
21652 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21653 result
= (bool)((wxNavigationKeyEvent
const *)arg1
)->IsWindowChange();
21655 wxPyEndAllowThreads(__tstate
);
21656 if (PyErr_Occurred()) SWIG_fail
;
21659 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21667 static PyObject
*_wrap_NavigationKeyEvent_SetWindowChange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21668 PyObject
*resultobj
;
21669 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
21671 PyObject
* obj0
= 0 ;
21672 PyObject
* obj1
= 0 ;
21673 char *kwnames
[] = {
21674 (char *) "self",(char *) "ischange", NULL
21677 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NavigationKeyEvent_SetWindowChange",kwnames
,&obj0
,&obj1
)) goto fail
;
21678 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNavigationKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
21679 if (SWIG_arg_fail(1)) SWIG_fail
;
21681 arg2
= (bool)(SWIG_As_bool(obj1
));
21682 if (SWIG_arg_fail(2)) SWIG_fail
;
21685 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21686 (arg1
)->SetWindowChange(arg2
);
21688 wxPyEndAllowThreads(__tstate
);
21689 if (PyErr_Occurred()) SWIG_fail
;
21691 Py_INCREF(Py_None
); resultobj
= Py_None
;
21698 static PyObject
*_wrap_NavigationKeyEvent_IsFromTab(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21699 PyObject
*resultobj
;
21700 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
21702 PyObject
* obj0
= 0 ;
21703 char *kwnames
[] = {
21704 (char *) "self", NULL
21707 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NavigationKeyEvent_IsFromTab",kwnames
,&obj0
)) goto fail
;
21708 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNavigationKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
21709 if (SWIG_arg_fail(1)) SWIG_fail
;
21711 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21712 result
= (bool)((wxNavigationKeyEvent
const *)arg1
)->IsFromTab();
21714 wxPyEndAllowThreads(__tstate
);
21715 if (PyErr_Occurred()) SWIG_fail
;
21718 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21726 static PyObject
*_wrap_NavigationKeyEvent_SetFromTab(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21727 PyObject
*resultobj
;
21728 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
21730 PyObject
* obj0
= 0 ;
21731 PyObject
* obj1
= 0 ;
21732 char *kwnames
[] = {
21733 (char *) "self",(char *) "bIs", NULL
21736 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NavigationKeyEvent_SetFromTab",kwnames
,&obj0
,&obj1
)) goto fail
;
21737 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNavigationKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
21738 if (SWIG_arg_fail(1)) SWIG_fail
;
21740 arg2
= (bool)(SWIG_As_bool(obj1
));
21741 if (SWIG_arg_fail(2)) SWIG_fail
;
21744 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21745 (arg1
)->SetFromTab(arg2
);
21747 wxPyEndAllowThreads(__tstate
);
21748 if (PyErr_Occurred()) SWIG_fail
;
21750 Py_INCREF(Py_None
); resultobj
= Py_None
;
21757 static PyObject
*_wrap_NavigationKeyEvent_SetFlags(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21758 PyObject
*resultobj
;
21759 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
21761 PyObject
* obj0
= 0 ;
21762 PyObject
* obj1
= 0 ;
21763 char *kwnames
[] = {
21764 (char *) "self",(char *) "flags", NULL
21767 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NavigationKeyEvent_SetFlags",kwnames
,&obj0
,&obj1
)) goto fail
;
21768 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNavigationKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
21769 if (SWIG_arg_fail(1)) SWIG_fail
;
21771 arg2
= (long)(SWIG_As_long(obj1
));
21772 if (SWIG_arg_fail(2)) SWIG_fail
;
21775 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21776 (arg1
)->SetFlags(arg2
);
21778 wxPyEndAllowThreads(__tstate
);
21779 if (PyErr_Occurred()) SWIG_fail
;
21781 Py_INCREF(Py_None
); resultobj
= Py_None
;
21788 static PyObject
*_wrap_NavigationKeyEvent_GetCurrentFocus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21789 PyObject
*resultobj
;
21790 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
21792 PyObject
* obj0
= 0 ;
21793 char *kwnames
[] = {
21794 (char *) "self", NULL
21797 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NavigationKeyEvent_GetCurrentFocus",kwnames
,&obj0
)) goto fail
;
21798 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNavigationKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
21799 if (SWIG_arg_fail(1)) SWIG_fail
;
21801 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21802 result
= (wxWindow
*)((wxNavigationKeyEvent
const *)arg1
)->GetCurrentFocus();
21804 wxPyEndAllowThreads(__tstate
);
21805 if (PyErr_Occurred()) SWIG_fail
;
21808 resultobj
= wxPyMake_wxObject(result
, 0);
21816 static PyObject
*_wrap_NavigationKeyEvent_SetCurrentFocus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21817 PyObject
*resultobj
;
21818 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
21819 wxWindow
*arg2
= (wxWindow
*) 0 ;
21820 PyObject
* obj0
= 0 ;
21821 PyObject
* obj1
= 0 ;
21822 char *kwnames
[] = {
21823 (char *) "self",(char *) "win", NULL
21826 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NavigationKeyEvent_SetCurrentFocus",kwnames
,&obj0
,&obj1
)) goto fail
;
21827 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNavigationKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
21828 if (SWIG_arg_fail(1)) SWIG_fail
;
21829 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
21830 if (SWIG_arg_fail(2)) SWIG_fail
;
21832 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21833 (arg1
)->SetCurrentFocus(arg2
);
21835 wxPyEndAllowThreads(__tstate
);
21836 if (PyErr_Occurred()) SWIG_fail
;
21838 Py_INCREF(Py_None
); resultobj
= Py_None
;
21845 static PyObject
* NavigationKeyEvent_swigregister(PyObject
*, PyObject
*args
) {
21847 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21848 SWIG_TypeClientData(SWIGTYPE_p_wxNavigationKeyEvent
, obj
);
21850 return Py_BuildValue((char *)"");
21852 static PyObject
*_wrap_new_WindowCreateEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21853 PyObject
*resultobj
;
21854 wxWindow
*arg1
= (wxWindow
*) NULL
;
21855 wxWindowCreateEvent
*result
;
21856 PyObject
* obj0
= 0 ;
21857 char *kwnames
[] = {
21858 (char *) "win", NULL
21861 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_WindowCreateEvent",kwnames
,&obj0
)) goto fail
;
21863 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
21864 if (SWIG_arg_fail(1)) SWIG_fail
;
21867 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21868 result
= (wxWindowCreateEvent
*)new wxWindowCreateEvent(arg1
);
21870 wxPyEndAllowThreads(__tstate
);
21871 if (PyErr_Occurred()) SWIG_fail
;
21873 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxWindowCreateEvent
, 1);
21880 static PyObject
*_wrap_WindowCreateEvent_GetWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21881 PyObject
*resultobj
;
21882 wxWindowCreateEvent
*arg1
= (wxWindowCreateEvent
*) 0 ;
21884 PyObject
* obj0
= 0 ;
21885 char *kwnames
[] = {
21886 (char *) "self", NULL
21889 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:WindowCreateEvent_GetWindow",kwnames
,&obj0
)) goto fail
;
21890 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindowCreateEvent
, SWIG_POINTER_EXCEPTION
| 0);
21891 if (SWIG_arg_fail(1)) SWIG_fail
;
21893 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21894 result
= (wxWindow
*)((wxWindowCreateEvent
const *)arg1
)->GetWindow();
21896 wxPyEndAllowThreads(__tstate
);
21897 if (PyErr_Occurred()) SWIG_fail
;
21900 resultobj
= wxPyMake_wxObject(result
, 0);
21908 static PyObject
* WindowCreateEvent_swigregister(PyObject
*, PyObject
*args
) {
21910 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21911 SWIG_TypeClientData(SWIGTYPE_p_wxWindowCreateEvent
, obj
);
21913 return Py_BuildValue((char *)"");
21915 static PyObject
*_wrap_new_WindowDestroyEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21916 PyObject
*resultobj
;
21917 wxWindow
*arg1
= (wxWindow
*) NULL
;
21918 wxWindowDestroyEvent
*result
;
21919 PyObject
* obj0
= 0 ;
21920 char *kwnames
[] = {
21921 (char *) "win", NULL
21924 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_WindowDestroyEvent",kwnames
,&obj0
)) goto fail
;
21926 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
21927 if (SWIG_arg_fail(1)) SWIG_fail
;
21930 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21931 result
= (wxWindowDestroyEvent
*)new wxWindowDestroyEvent(arg1
);
21933 wxPyEndAllowThreads(__tstate
);
21934 if (PyErr_Occurred()) SWIG_fail
;
21936 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxWindowDestroyEvent
, 1);
21943 static PyObject
*_wrap_WindowDestroyEvent_GetWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21944 PyObject
*resultobj
;
21945 wxWindowDestroyEvent
*arg1
= (wxWindowDestroyEvent
*) 0 ;
21947 PyObject
* obj0
= 0 ;
21948 char *kwnames
[] = {
21949 (char *) "self", NULL
21952 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:WindowDestroyEvent_GetWindow",kwnames
,&obj0
)) goto fail
;
21953 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindowDestroyEvent
, SWIG_POINTER_EXCEPTION
| 0);
21954 if (SWIG_arg_fail(1)) SWIG_fail
;
21956 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21957 result
= (wxWindow
*)((wxWindowDestroyEvent
const *)arg1
)->GetWindow();
21959 wxPyEndAllowThreads(__tstate
);
21960 if (PyErr_Occurred()) SWIG_fail
;
21963 resultobj
= wxPyMake_wxObject(result
, 0);
21971 static PyObject
* WindowDestroyEvent_swigregister(PyObject
*, PyObject
*args
) {
21973 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21974 SWIG_TypeClientData(SWIGTYPE_p_wxWindowDestroyEvent
, obj
);
21976 return Py_BuildValue((char *)"");
21978 static PyObject
*_wrap_new_ContextMenuEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21979 PyObject
*resultobj
;
21980 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
21981 int arg2
= (int) 0 ;
21982 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
21983 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
21984 wxContextMenuEvent
*result
;
21986 PyObject
* obj0
= 0 ;
21987 PyObject
* obj1
= 0 ;
21988 PyObject
* obj2
= 0 ;
21989 char *kwnames
[] = {
21990 (char *) "type",(char *) "winid",(char *) "pt", NULL
21993 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_ContextMenuEvent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21996 arg1
= (wxEventType
)(SWIG_As_int(obj0
));
21997 if (SWIG_arg_fail(1)) SWIG_fail
;
22002 arg2
= (int)(SWIG_As_int(obj1
));
22003 if (SWIG_arg_fail(2)) SWIG_fail
;
22009 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
22013 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22014 result
= (wxContextMenuEvent
*)new wxContextMenuEvent(arg1
,arg2
,(wxPoint
const &)*arg3
);
22016 wxPyEndAllowThreads(__tstate
);
22017 if (PyErr_Occurred()) SWIG_fail
;
22019 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxContextMenuEvent
, 1);
22026 static PyObject
*_wrap_ContextMenuEvent_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22027 PyObject
*resultobj
;
22028 wxContextMenuEvent
*arg1
= (wxContextMenuEvent
*) 0 ;
22030 PyObject
* obj0
= 0 ;
22031 char *kwnames
[] = {
22032 (char *) "self", NULL
22035 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ContextMenuEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
22036 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxContextMenuEvent
, SWIG_POINTER_EXCEPTION
| 0);
22037 if (SWIG_arg_fail(1)) SWIG_fail
;
22039 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22041 wxPoint
const &_result_ref
= ((wxContextMenuEvent
const *)arg1
)->GetPosition();
22042 result
= (wxPoint
*) &_result_ref
;
22045 wxPyEndAllowThreads(__tstate
);
22046 if (PyErr_Occurred()) SWIG_fail
;
22048 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint
, 0);
22055 static PyObject
*_wrap_ContextMenuEvent_SetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22056 PyObject
*resultobj
;
22057 wxContextMenuEvent
*arg1
= (wxContextMenuEvent
*) 0 ;
22058 wxPoint
*arg2
= 0 ;
22060 PyObject
* obj0
= 0 ;
22061 PyObject
* obj1
= 0 ;
22062 char *kwnames
[] = {
22063 (char *) "self",(char *) "pos", NULL
22066 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ContextMenuEvent_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
22067 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxContextMenuEvent
, SWIG_POINTER_EXCEPTION
| 0);
22068 if (SWIG_arg_fail(1)) SWIG_fail
;
22071 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
22074 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22075 (arg1
)->SetPosition((wxPoint
const &)*arg2
);
22077 wxPyEndAllowThreads(__tstate
);
22078 if (PyErr_Occurred()) SWIG_fail
;
22080 Py_INCREF(Py_None
); resultobj
= Py_None
;
22087 static PyObject
* ContextMenuEvent_swigregister(PyObject
*, PyObject
*args
) {
22089 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
22090 SWIG_TypeClientData(SWIGTYPE_p_wxContextMenuEvent
, obj
);
22092 return Py_BuildValue((char *)"");
22094 static PyObject
*_wrap_new_IdleEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22095 PyObject
*resultobj
;
22096 wxIdleEvent
*result
;
22097 char *kwnames
[] = {
22101 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_IdleEvent",kwnames
)) goto fail
;
22103 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22104 result
= (wxIdleEvent
*)new wxIdleEvent();
22106 wxPyEndAllowThreads(__tstate
);
22107 if (PyErr_Occurred()) SWIG_fail
;
22109 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIdleEvent
, 1);
22116 static PyObject
*_wrap_IdleEvent_RequestMore(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22117 PyObject
*resultobj
;
22118 wxIdleEvent
*arg1
= (wxIdleEvent
*) 0 ;
22119 bool arg2
= (bool) true ;
22120 PyObject
* obj0
= 0 ;
22121 PyObject
* obj1
= 0 ;
22122 char *kwnames
[] = {
22123 (char *) "self",(char *) "needMore", NULL
22126 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:IdleEvent_RequestMore",kwnames
,&obj0
,&obj1
)) goto fail
;
22127 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIdleEvent
, SWIG_POINTER_EXCEPTION
| 0);
22128 if (SWIG_arg_fail(1)) SWIG_fail
;
22131 arg2
= (bool)(SWIG_As_bool(obj1
));
22132 if (SWIG_arg_fail(2)) SWIG_fail
;
22136 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22137 (arg1
)->RequestMore(arg2
);
22139 wxPyEndAllowThreads(__tstate
);
22140 if (PyErr_Occurred()) SWIG_fail
;
22142 Py_INCREF(Py_None
); resultobj
= Py_None
;
22149 static PyObject
*_wrap_IdleEvent_MoreRequested(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22150 PyObject
*resultobj
;
22151 wxIdleEvent
*arg1
= (wxIdleEvent
*) 0 ;
22153 PyObject
* obj0
= 0 ;
22154 char *kwnames
[] = {
22155 (char *) "self", NULL
22158 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IdleEvent_MoreRequested",kwnames
,&obj0
)) goto fail
;
22159 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIdleEvent
, SWIG_POINTER_EXCEPTION
| 0);
22160 if (SWIG_arg_fail(1)) SWIG_fail
;
22162 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22163 result
= (bool)((wxIdleEvent
const *)arg1
)->MoreRequested();
22165 wxPyEndAllowThreads(__tstate
);
22166 if (PyErr_Occurred()) SWIG_fail
;
22169 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22177 static PyObject
*_wrap_IdleEvent_SetMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22178 PyObject
*resultobj
;
22180 PyObject
* obj0
= 0 ;
22181 char *kwnames
[] = {
22182 (char *) "mode", NULL
22185 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IdleEvent_SetMode",kwnames
,&obj0
)) goto fail
;
22187 arg1
= (wxIdleMode
)(SWIG_As_int(obj0
));
22188 if (SWIG_arg_fail(1)) SWIG_fail
;
22191 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22192 wxIdleEvent::SetMode((wxIdleMode
)arg1
);
22194 wxPyEndAllowThreads(__tstate
);
22195 if (PyErr_Occurred()) SWIG_fail
;
22197 Py_INCREF(Py_None
); resultobj
= Py_None
;
22204 static PyObject
*_wrap_IdleEvent_GetMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22205 PyObject
*resultobj
;
22207 char *kwnames
[] = {
22211 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":IdleEvent_GetMode",kwnames
)) goto fail
;
22213 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22214 result
= (wxIdleMode
)wxIdleEvent::GetMode();
22216 wxPyEndAllowThreads(__tstate
);
22217 if (PyErr_Occurred()) SWIG_fail
;
22219 resultobj
= SWIG_From_int((result
));
22226 static PyObject
*_wrap_IdleEvent_CanSend(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22227 PyObject
*resultobj
;
22228 wxWindow
*arg1
= (wxWindow
*) 0 ;
22230 PyObject
* obj0
= 0 ;
22231 char *kwnames
[] = {
22232 (char *) "win", NULL
22235 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IdleEvent_CanSend",kwnames
,&obj0
)) goto fail
;
22236 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
22237 if (SWIG_arg_fail(1)) SWIG_fail
;
22239 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22240 result
= (bool)wxIdleEvent::CanSend(arg1
);
22242 wxPyEndAllowThreads(__tstate
);
22243 if (PyErr_Occurred()) SWIG_fail
;
22246 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22254 static PyObject
* IdleEvent_swigregister(PyObject
*, PyObject
*args
) {
22256 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
22257 SWIG_TypeClientData(SWIGTYPE_p_wxIdleEvent
, obj
);
22259 return Py_BuildValue((char *)"");
22261 static PyObject
*_wrap_new_PyEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22262 PyObject
*resultobj
;
22263 int arg1
= (int) 0 ;
22264 wxEventType arg2
= (wxEventType
) wxEVT_NULL
;
22266 PyObject
* obj0
= 0 ;
22267 PyObject
* obj1
= 0 ;
22268 char *kwnames
[] = {
22269 (char *) "winid",(char *) "commandType", NULL
22272 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_PyEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
22275 arg1
= (int)(SWIG_As_int(obj0
));
22276 if (SWIG_arg_fail(1)) SWIG_fail
;
22281 arg2
= (wxEventType
)(SWIG_As_int(obj1
));
22282 if (SWIG_arg_fail(2)) SWIG_fail
;
22286 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22287 result
= (wxPyEvent
*)new wxPyEvent(arg1
,arg2
);
22289 wxPyEndAllowThreads(__tstate
);
22290 if (PyErr_Occurred()) SWIG_fail
;
22292 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyEvent
, 1);
22299 static PyObject
*_wrap_delete_PyEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22300 PyObject
*resultobj
;
22301 wxPyEvent
*arg1
= (wxPyEvent
*) 0 ;
22302 PyObject
* obj0
= 0 ;
22303 char *kwnames
[] = {
22304 (char *) "self", NULL
22307 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PyEvent",kwnames
,&obj0
)) goto fail
;
22308 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyEvent
, SWIG_POINTER_EXCEPTION
| 0);
22309 if (SWIG_arg_fail(1)) SWIG_fail
;
22311 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22314 wxPyEndAllowThreads(__tstate
);
22315 if (PyErr_Occurred()) SWIG_fail
;
22317 Py_INCREF(Py_None
); resultobj
= Py_None
;
22324 static PyObject
*_wrap_PyEvent_SetSelf(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22325 PyObject
*resultobj
;
22326 wxPyEvent
*arg1
= (wxPyEvent
*) 0 ;
22327 PyObject
*arg2
= (PyObject
*) 0 ;
22328 PyObject
* obj0
= 0 ;
22329 PyObject
* obj1
= 0 ;
22330 char *kwnames
[] = {
22331 (char *) "self",(char *) "self", NULL
22334 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyEvent_SetSelf",kwnames
,&obj0
,&obj1
)) goto fail
;
22335 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyEvent
, SWIG_POINTER_EXCEPTION
| 0);
22336 if (SWIG_arg_fail(1)) SWIG_fail
;
22339 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22340 (arg1
)->SetSelf(arg2
);
22342 wxPyEndAllowThreads(__tstate
);
22343 if (PyErr_Occurred()) SWIG_fail
;
22345 Py_INCREF(Py_None
); resultobj
= Py_None
;
22352 static PyObject
*_wrap_PyEvent_GetSelf(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22353 PyObject
*resultobj
;
22354 wxPyEvent
*arg1
= (wxPyEvent
*) 0 ;
22356 PyObject
* obj0
= 0 ;
22357 char *kwnames
[] = {
22358 (char *) "self", NULL
22361 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyEvent_GetSelf",kwnames
,&obj0
)) goto fail
;
22362 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyEvent
, SWIG_POINTER_EXCEPTION
| 0);
22363 if (SWIG_arg_fail(1)) SWIG_fail
;
22365 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22366 result
= (PyObject
*)(arg1
)->GetSelf();
22368 wxPyEndAllowThreads(__tstate
);
22369 if (PyErr_Occurred()) SWIG_fail
;
22371 resultobj
= result
;
22378 static PyObject
* PyEvent_swigregister(PyObject
*, PyObject
*args
) {
22380 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
22381 SWIG_TypeClientData(SWIGTYPE_p_wxPyEvent
, obj
);
22383 return Py_BuildValue((char *)"");
22385 static PyObject
*_wrap_new_PyCommandEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22386 PyObject
*resultobj
;
22387 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
22388 int arg2
= (int) 0 ;
22389 wxPyCommandEvent
*result
;
22390 PyObject
* obj0
= 0 ;
22391 PyObject
* obj1
= 0 ;
22392 char *kwnames
[] = {
22393 (char *) "commandType",(char *) "id", NULL
22396 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_PyCommandEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
22399 arg1
= (wxEventType
)(SWIG_As_int(obj0
));
22400 if (SWIG_arg_fail(1)) SWIG_fail
;
22405 arg2
= (int)(SWIG_As_int(obj1
));
22406 if (SWIG_arg_fail(2)) SWIG_fail
;
22410 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22411 result
= (wxPyCommandEvent
*)new wxPyCommandEvent(arg1
,arg2
);
22413 wxPyEndAllowThreads(__tstate
);
22414 if (PyErr_Occurred()) SWIG_fail
;
22416 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyCommandEvent
, 1);
22423 static PyObject
*_wrap_delete_PyCommandEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22424 PyObject
*resultobj
;
22425 wxPyCommandEvent
*arg1
= (wxPyCommandEvent
*) 0 ;
22426 PyObject
* obj0
= 0 ;
22427 char *kwnames
[] = {
22428 (char *) "self", NULL
22431 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PyCommandEvent",kwnames
,&obj0
)) goto fail
;
22432 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyCommandEvent
, SWIG_POINTER_EXCEPTION
| 0);
22433 if (SWIG_arg_fail(1)) SWIG_fail
;
22435 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22438 wxPyEndAllowThreads(__tstate
);
22439 if (PyErr_Occurred()) SWIG_fail
;
22441 Py_INCREF(Py_None
); resultobj
= Py_None
;
22448 static PyObject
*_wrap_PyCommandEvent_SetSelf(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22449 PyObject
*resultobj
;
22450 wxPyCommandEvent
*arg1
= (wxPyCommandEvent
*) 0 ;
22451 PyObject
*arg2
= (PyObject
*) 0 ;
22452 PyObject
* obj0
= 0 ;
22453 PyObject
* obj1
= 0 ;
22454 char *kwnames
[] = {
22455 (char *) "self",(char *) "self", NULL
22458 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyCommandEvent_SetSelf",kwnames
,&obj0
,&obj1
)) goto fail
;
22459 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyCommandEvent
, SWIG_POINTER_EXCEPTION
| 0);
22460 if (SWIG_arg_fail(1)) SWIG_fail
;
22463 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22464 (arg1
)->SetSelf(arg2
);
22466 wxPyEndAllowThreads(__tstate
);
22467 if (PyErr_Occurred()) SWIG_fail
;
22469 Py_INCREF(Py_None
); resultobj
= Py_None
;
22476 static PyObject
*_wrap_PyCommandEvent_GetSelf(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22477 PyObject
*resultobj
;
22478 wxPyCommandEvent
*arg1
= (wxPyCommandEvent
*) 0 ;
22480 PyObject
* obj0
= 0 ;
22481 char *kwnames
[] = {
22482 (char *) "self", NULL
22485 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyCommandEvent_GetSelf",kwnames
,&obj0
)) goto fail
;
22486 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyCommandEvent
, SWIG_POINTER_EXCEPTION
| 0);
22487 if (SWIG_arg_fail(1)) SWIG_fail
;
22489 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22490 result
= (PyObject
*)(arg1
)->GetSelf();
22492 wxPyEndAllowThreads(__tstate
);
22493 if (PyErr_Occurred()) SWIG_fail
;
22495 resultobj
= result
;
22502 static PyObject
* PyCommandEvent_swigregister(PyObject
*, PyObject
*args
) {
22504 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
22505 SWIG_TypeClientData(SWIGTYPE_p_wxPyCommandEvent
, obj
);
22507 return Py_BuildValue((char *)"");
22509 static PyObject
*_wrap_new_DateEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22510 PyObject
*resultobj
;
22511 wxWindow
*arg1
= (wxWindow
*) 0 ;
22512 wxDateTime
*arg2
= 0 ;
22514 wxDateEvent
*result
;
22515 PyObject
* obj0
= 0 ;
22516 PyObject
* obj1
= 0 ;
22517 PyObject
* obj2
= 0 ;
22518 char *kwnames
[] = {
22519 (char *) "win",(char *) "dt",(char *) "type", NULL
22522 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:new_DateEvent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22523 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
22524 if (SWIG_arg_fail(1)) SWIG_fail
;
22526 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22527 if (SWIG_arg_fail(2)) SWIG_fail
;
22528 if (arg2
== NULL
) {
22529 SWIG_null_ref("wxDateTime");
22531 if (SWIG_arg_fail(2)) SWIG_fail
;
22534 arg3
= (wxEventType
)(SWIG_As_int(obj2
));
22535 if (SWIG_arg_fail(3)) SWIG_fail
;
22538 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22539 result
= (wxDateEvent
*)new wxDateEvent(arg1
,(wxDateTime
const &)*arg2
,arg3
);
22541 wxPyEndAllowThreads(__tstate
);
22542 if (PyErr_Occurred()) SWIG_fail
;
22544 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateEvent
, 1);
22551 static PyObject
*_wrap_DateEvent_GetDate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22552 PyObject
*resultobj
;
22553 wxDateEvent
*arg1
= (wxDateEvent
*) 0 ;
22554 wxDateTime
*result
;
22555 PyObject
* obj0
= 0 ;
22556 char *kwnames
[] = {
22557 (char *) "self", NULL
22560 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateEvent_GetDate",kwnames
,&obj0
)) goto fail
;
22561 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateEvent
, SWIG_POINTER_EXCEPTION
| 0);
22562 if (SWIG_arg_fail(1)) SWIG_fail
;
22564 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22566 wxDateTime
const &_result_ref
= ((wxDateEvent
const *)arg1
)->GetDate();
22567 result
= (wxDateTime
*) &_result_ref
;
22570 wxPyEndAllowThreads(__tstate
);
22571 if (PyErr_Occurred()) SWIG_fail
;
22573 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
22580 static PyObject
*_wrap_DateEvent_SetDate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22581 PyObject
*resultobj
;
22582 wxDateEvent
*arg1
= (wxDateEvent
*) 0 ;
22583 wxDateTime
*arg2
= 0 ;
22584 PyObject
* obj0
= 0 ;
22585 PyObject
* obj1
= 0 ;
22586 char *kwnames
[] = {
22587 (char *) "self",(char *) "date", NULL
22590 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateEvent_SetDate",kwnames
,&obj0
,&obj1
)) goto fail
;
22591 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateEvent
, SWIG_POINTER_EXCEPTION
| 0);
22592 if (SWIG_arg_fail(1)) SWIG_fail
;
22594 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22595 if (SWIG_arg_fail(2)) SWIG_fail
;
22596 if (arg2
== NULL
) {
22597 SWIG_null_ref("wxDateTime");
22599 if (SWIG_arg_fail(2)) SWIG_fail
;
22602 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22603 (arg1
)->SetDate((wxDateTime
const &)*arg2
);
22605 wxPyEndAllowThreads(__tstate
);
22606 if (PyErr_Occurred()) SWIG_fail
;
22608 Py_INCREF(Py_None
); resultobj
= Py_None
;
22615 static PyObject
* DateEvent_swigregister(PyObject
*, PyObject
*args
) {
22617 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
22618 SWIG_TypeClientData(SWIGTYPE_p_wxDateEvent
, obj
);
22620 return Py_BuildValue((char *)"");
22622 static PyObject
*_wrap_new_PyApp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22623 PyObject
*resultobj
;
22625 char *kwnames
[] = {
22629 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PyApp",kwnames
)) goto fail
;
22631 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22632 result
= (wxPyApp
*)new_wxPyApp();
22634 wxPyEndAllowThreads(__tstate
);
22635 if (PyErr_Occurred()) SWIG_fail
;
22637 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyApp
, 1);
22644 static PyObject
*_wrap_delete_PyApp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22645 PyObject
*resultobj
;
22646 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
22647 PyObject
* obj0
= 0 ;
22648 char *kwnames
[] = {
22649 (char *) "self", NULL
22652 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PyApp",kwnames
,&obj0
)) goto fail
;
22653 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
22654 if (SWIG_arg_fail(1)) SWIG_fail
;
22656 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22659 wxPyEndAllowThreads(__tstate
);
22660 if (PyErr_Occurred()) SWIG_fail
;
22662 Py_INCREF(Py_None
); resultobj
= Py_None
;
22669 static PyObject
*_wrap_PyApp__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22670 PyObject
*resultobj
;
22671 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
22672 PyObject
*arg2
= (PyObject
*) 0 ;
22673 PyObject
*arg3
= (PyObject
*) 0 ;
22674 PyObject
* obj0
= 0 ;
22675 PyObject
* obj1
= 0 ;
22676 PyObject
* obj2
= 0 ;
22677 char *kwnames
[] = {
22678 (char *) "self",(char *) "self",(char *) "_class", NULL
22681 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyApp__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22682 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
22683 if (SWIG_arg_fail(1)) SWIG_fail
;
22687 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22688 (arg1
)->_setCallbackInfo(arg2
,arg3
);
22690 wxPyEndAllowThreads(__tstate
);
22691 if (PyErr_Occurred()) SWIG_fail
;
22693 Py_INCREF(Py_None
); resultobj
= Py_None
;
22700 static PyObject
*_wrap_PyApp_GetAppName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22701 PyObject
*resultobj
;
22702 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
22704 PyObject
* obj0
= 0 ;
22705 char *kwnames
[] = {
22706 (char *) "self", NULL
22709 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetAppName",kwnames
,&obj0
)) goto fail
;
22710 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
22711 if (SWIG_arg_fail(1)) SWIG_fail
;
22713 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22714 result
= ((wxPyApp
const *)arg1
)->GetAppName();
22716 wxPyEndAllowThreads(__tstate
);
22717 if (PyErr_Occurred()) SWIG_fail
;
22721 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
22723 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
22732 static PyObject
*_wrap_PyApp_SetAppName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22733 PyObject
*resultobj
;
22734 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
22735 wxString
*arg2
= 0 ;
22736 bool temp2
= false ;
22737 PyObject
* obj0
= 0 ;
22738 PyObject
* obj1
= 0 ;
22739 char *kwnames
[] = {
22740 (char *) "self",(char *) "name", NULL
22743 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetAppName",kwnames
,&obj0
,&obj1
)) goto fail
;
22744 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
22745 if (SWIG_arg_fail(1)) SWIG_fail
;
22747 arg2
= wxString_in_helper(obj1
);
22748 if (arg2
== NULL
) SWIG_fail
;
22752 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22753 (arg1
)->SetAppName((wxString
const &)*arg2
);
22755 wxPyEndAllowThreads(__tstate
);
22756 if (PyErr_Occurred()) SWIG_fail
;
22758 Py_INCREF(Py_None
); resultobj
= Py_None
;
22773 static PyObject
*_wrap_PyApp_GetClassName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22774 PyObject
*resultobj
;
22775 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
22777 PyObject
* obj0
= 0 ;
22778 char *kwnames
[] = {
22779 (char *) "self", NULL
22782 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetClassName",kwnames
,&obj0
)) goto fail
;
22783 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
22784 if (SWIG_arg_fail(1)) SWIG_fail
;
22786 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22787 result
= ((wxPyApp
const *)arg1
)->GetClassName();
22789 wxPyEndAllowThreads(__tstate
);
22790 if (PyErr_Occurred()) SWIG_fail
;
22794 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
22796 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
22805 static PyObject
*_wrap_PyApp_SetClassName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22806 PyObject
*resultobj
;
22807 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
22808 wxString
*arg2
= 0 ;
22809 bool temp2
= false ;
22810 PyObject
* obj0
= 0 ;
22811 PyObject
* obj1
= 0 ;
22812 char *kwnames
[] = {
22813 (char *) "self",(char *) "name", NULL
22816 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetClassName",kwnames
,&obj0
,&obj1
)) goto fail
;
22817 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
22818 if (SWIG_arg_fail(1)) SWIG_fail
;
22820 arg2
= wxString_in_helper(obj1
);
22821 if (arg2
== NULL
) SWIG_fail
;
22825 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22826 (arg1
)->SetClassName((wxString
const &)*arg2
);
22828 wxPyEndAllowThreads(__tstate
);
22829 if (PyErr_Occurred()) SWIG_fail
;
22831 Py_INCREF(Py_None
); resultobj
= Py_None
;
22846 static PyObject
*_wrap_PyApp_GetVendorName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22847 PyObject
*resultobj
;
22848 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
22850 PyObject
* obj0
= 0 ;
22851 char *kwnames
[] = {
22852 (char *) "self", NULL
22855 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetVendorName",kwnames
,&obj0
)) goto fail
;
22856 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
22857 if (SWIG_arg_fail(1)) SWIG_fail
;
22859 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22861 wxString
const &_result_ref
= ((wxPyApp
const *)arg1
)->GetVendorName();
22862 result
= (wxString
*) &_result_ref
;
22865 wxPyEndAllowThreads(__tstate
);
22866 if (PyErr_Occurred()) SWIG_fail
;
22870 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
22872 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
22881 static PyObject
*_wrap_PyApp_SetVendorName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22882 PyObject
*resultobj
;
22883 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
22884 wxString
*arg2
= 0 ;
22885 bool temp2
= false ;
22886 PyObject
* obj0
= 0 ;
22887 PyObject
* obj1
= 0 ;
22888 char *kwnames
[] = {
22889 (char *) "self",(char *) "name", NULL
22892 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetVendorName",kwnames
,&obj0
,&obj1
)) goto fail
;
22893 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
22894 if (SWIG_arg_fail(1)) SWIG_fail
;
22896 arg2
= wxString_in_helper(obj1
);
22897 if (arg2
== NULL
) SWIG_fail
;
22901 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22902 (arg1
)->SetVendorName((wxString
const &)*arg2
);
22904 wxPyEndAllowThreads(__tstate
);
22905 if (PyErr_Occurred()) SWIG_fail
;
22907 Py_INCREF(Py_None
); resultobj
= Py_None
;
22922 static PyObject
*_wrap_PyApp_GetTraits(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22923 PyObject
*resultobj
;
22924 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
22925 wxAppTraits
*result
;
22926 PyObject
* obj0
= 0 ;
22927 char *kwnames
[] = {
22928 (char *) "self", NULL
22931 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetTraits",kwnames
,&obj0
)) goto fail
;
22932 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
22933 if (SWIG_arg_fail(1)) SWIG_fail
;
22935 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22936 result
= (wxAppTraits
*)(arg1
)->GetTraits();
22938 wxPyEndAllowThreads(__tstate
);
22939 if (PyErr_Occurred()) SWIG_fail
;
22941 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxAppTraits
, 0);
22948 static PyObject
*_wrap_PyApp_ProcessPendingEvents(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22949 PyObject
*resultobj
;
22950 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
22951 PyObject
* obj0
= 0 ;
22952 char *kwnames
[] = {
22953 (char *) "self", NULL
22956 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_ProcessPendingEvents",kwnames
,&obj0
)) goto fail
;
22957 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
22958 if (SWIG_arg_fail(1)) SWIG_fail
;
22960 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22961 (arg1
)->ProcessPendingEvents();
22963 wxPyEndAllowThreads(__tstate
);
22964 if (PyErr_Occurred()) SWIG_fail
;
22966 Py_INCREF(Py_None
); resultobj
= Py_None
;
22973 static PyObject
*_wrap_PyApp_Yield(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22974 PyObject
*resultobj
;
22975 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
22976 bool arg2
= (bool) false ;
22978 PyObject
* obj0
= 0 ;
22979 PyObject
* obj1
= 0 ;
22980 char *kwnames
[] = {
22981 (char *) "self",(char *) "onlyIfNeeded", NULL
22984 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:PyApp_Yield",kwnames
,&obj0
,&obj1
)) goto fail
;
22985 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
22986 if (SWIG_arg_fail(1)) SWIG_fail
;
22989 arg2
= (bool)(SWIG_As_bool(obj1
));
22990 if (SWIG_arg_fail(2)) SWIG_fail
;
22994 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22995 result
= (bool)(arg1
)->Yield(arg2
);
22997 wxPyEndAllowThreads(__tstate
);
22998 if (PyErr_Occurred()) SWIG_fail
;
23001 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23009 static PyObject
*_wrap_PyApp_WakeUpIdle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23010 PyObject
*resultobj
;
23011 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
23012 PyObject
* obj0
= 0 ;
23013 char *kwnames
[] = {
23014 (char *) "self", NULL
23017 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_WakeUpIdle",kwnames
,&obj0
)) goto fail
;
23018 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
23019 if (SWIG_arg_fail(1)) SWIG_fail
;
23021 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23022 (arg1
)->WakeUpIdle();
23024 wxPyEndAllowThreads(__tstate
);
23025 if (PyErr_Occurred()) SWIG_fail
;
23027 Py_INCREF(Py_None
); resultobj
= Py_None
;
23034 static PyObject
*_wrap_PyApp_IsMainLoopRunning(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23035 PyObject
*resultobj
;
23037 char *kwnames
[] = {
23041 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PyApp_IsMainLoopRunning",kwnames
)) goto fail
;
23043 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23044 result
= (bool)wxPyApp::IsMainLoopRunning();
23046 wxPyEndAllowThreads(__tstate
);
23047 if (PyErr_Occurred()) SWIG_fail
;
23050 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23058 static PyObject
*_wrap_PyApp_MainLoop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23059 PyObject
*resultobj
;
23060 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
23062 PyObject
* obj0
= 0 ;
23063 char *kwnames
[] = {
23064 (char *) "self", NULL
23067 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_MainLoop",kwnames
,&obj0
)) goto fail
;
23068 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
23069 if (SWIG_arg_fail(1)) SWIG_fail
;
23071 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23072 result
= (int)(arg1
)->MainLoop();
23074 wxPyEndAllowThreads(__tstate
);
23075 if (PyErr_Occurred()) SWIG_fail
;
23078 resultobj
= SWIG_From_int((int)(result
));
23086 static PyObject
*_wrap_PyApp_Exit(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23087 PyObject
*resultobj
;
23088 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
23089 PyObject
* obj0
= 0 ;
23090 char *kwnames
[] = {
23091 (char *) "self", NULL
23094 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_Exit",kwnames
,&obj0
)) goto fail
;
23095 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
23096 if (SWIG_arg_fail(1)) SWIG_fail
;
23098 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23101 wxPyEndAllowThreads(__tstate
);
23102 if (PyErr_Occurred()) SWIG_fail
;
23104 Py_INCREF(Py_None
); resultobj
= Py_None
;
23111 static PyObject
*_wrap_PyApp_ExitMainLoop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23112 PyObject
*resultobj
;
23113 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
23114 PyObject
* obj0
= 0 ;
23115 char *kwnames
[] = {
23116 (char *) "self", NULL
23119 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_ExitMainLoop",kwnames
,&obj0
)) goto fail
;
23120 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
23121 if (SWIG_arg_fail(1)) SWIG_fail
;
23123 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23124 (arg1
)->ExitMainLoop();
23126 wxPyEndAllowThreads(__tstate
);
23127 if (PyErr_Occurred()) SWIG_fail
;
23129 Py_INCREF(Py_None
); resultobj
= Py_None
;
23136 static PyObject
*_wrap_PyApp_Pending(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23137 PyObject
*resultobj
;
23138 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
23140 PyObject
* obj0
= 0 ;
23141 char *kwnames
[] = {
23142 (char *) "self", NULL
23145 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_Pending",kwnames
,&obj0
)) goto fail
;
23146 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
23147 if (SWIG_arg_fail(1)) SWIG_fail
;
23149 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23150 result
= (bool)(arg1
)->Pending();
23152 wxPyEndAllowThreads(__tstate
);
23153 if (PyErr_Occurred()) SWIG_fail
;
23156 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23164 static PyObject
*_wrap_PyApp_Dispatch(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23165 PyObject
*resultobj
;
23166 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
23168 PyObject
* obj0
= 0 ;
23169 char *kwnames
[] = {
23170 (char *) "self", NULL
23173 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_Dispatch",kwnames
,&obj0
)) goto fail
;
23174 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
23175 if (SWIG_arg_fail(1)) SWIG_fail
;
23177 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23178 result
= (bool)(arg1
)->Dispatch();
23180 wxPyEndAllowThreads(__tstate
);
23181 if (PyErr_Occurred()) SWIG_fail
;
23184 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23192 static PyObject
*_wrap_PyApp_ProcessIdle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23193 PyObject
*resultobj
;
23194 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
23196 PyObject
* obj0
= 0 ;
23197 char *kwnames
[] = {
23198 (char *) "self", NULL
23201 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_ProcessIdle",kwnames
,&obj0
)) goto fail
;
23202 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
23203 if (SWIG_arg_fail(1)) SWIG_fail
;
23205 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23206 result
= (bool)(arg1
)->ProcessIdle();
23208 wxPyEndAllowThreads(__tstate
);
23209 if (PyErr_Occurred()) SWIG_fail
;
23212 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23220 static PyObject
*_wrap_PyApp_SendIdleEvents(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23221 PyObject
*resultobj
;
23222 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
23223 wxWindow
*arg2
= (wxWindow
*) 0 ;
23224 wxIdleEvent
*arg3
= 0 ;
23226 PyObject
* obj0
= 0 ;
23227 PyObject
* obj1
= 0 ;
23228 PyObject
* obj2
= 0 ;
23229 char *kwnames
[] = {
23230 (char *) "self",(char *) "win",(char *) "event", NULL
23233 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyApp_SendIdleEvents",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23234 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
23235 if (SWIG_arg_fail(1)) SWIG_fail
;
23236 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
23237 if (SWIG_arg_fail(2)) SWIG_fail
;
23239 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxIdleEvent
, SWIG_POINTER_EXCEPTION
| 0);
23240 if (SWIG_arg_fail(3)) SWIG_fail
;
23241 if (arg3
== NULL
) {
23242 SWIG_null_ref("wxIdleEvent");
23244 if (SWIG_arg_fail(3)) SWIG_fail
;
23247 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23248 result
= (bool)(arg1
)->SendIdleEvents(arg2
,*arg3
);
23250 wxPyEndAllowThreads(__tstate
);
23251 if (PyErr_Occurred()) SWIG_fail
;
23254 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23262 static PyObject
*_wrap_PyApp_IsActive(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23263 PyObject
*resultobj
;
23264 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
23266 PyObject
* obj0
= 0 ;
23267 char *kwnames
[] = {
23268 (char *) "self", NULL
23271 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_IsActive",kwnames
,&obj0
)) goto fail
;
23272 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
23273 if (SWIG_arg_fail(1)) SWIG_fail
;
23275 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23276 result
= (bool)((wxPyApp
const *)arg1
)->IsActive();
23278 wxPyEndAllowThreads(__tstate
);
23279 if (PyErr_Occurred()) SWIG_fail
;
23282 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23290 static PyObject
*_wrap_PyApp_SetTopWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23291 PyObject
*resultobj
;
23292 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
23293 wxWindow
*arg2
= (wxWindow
*) 0 ;
23294 PyObject
* obj0
= 0 ;
23295 PyObject
* obj1
= 0 ;
23296 char *kwnames
[] = {
23297 (char *) "self",(char *) "win", NULL
23300 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetTopWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
23301 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
23302 if (SWIG_arg_fail(1)) SWIG_fail
;
23303 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
23304 if (SWIG_arg_fail(2)) SWIG_fail
;
23306 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23307 (arg1
)->SetTopWindow(arg2
);
23309 wxPyEndAllowThreads(__tstate
);
23310 if (PyErr_Occurred()) SWIG_fail
;
23312 Py_INCREF(Py_None
); resultobj
= Py_None
;
23319 static PyObject
*_wrap_PyApp_GetTopWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23320 PyObject
*resultobj
;
23321 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
23323 PyObject
* obj0
= 0 ;
23324 char *kwnames
[] = {
23325 (char *) "self", NULL
23328 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetTopWindow",kwnames
,&obj0
)) goto fail
;
23329 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
23330 if (SWIG_arg_fail(1)) SWIG_fail
;
23332 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23333 result
= (wxWindow
*)((wxPyApp
const *)arg1
)->GetTopWindow();
23335 wxPyEndAllowThreads(__tstate
);
23336 if (PyErr_Occurred()) SWIG_fail
;
23339 resultobj
= wxPyMake_wxObject(result
, 0);
23347 static PyObject
*_wrap_PyApp_SetExitOnFrameDelete(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23348 PyObject
*resultobj
;
23349 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
23351 PyObject
* obj0
= 0 ;
23352 PyObject
* obj1
= 0 ;
23353 char *kwnames
[] = {
23354 (char *) "self",(char *) "flag", NULL
23357 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetExitOnFrameDelete",kwnames
,&obj0
,&obj1
)) goto fail
;
23358 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
23359 if (SWIG_arg_fail(1)) SWIG_fail
;
23361 arg2
= (bool)(SWIG_As_bool(obj1
));
23362 if (SWIG_arg_fail(2)) SWIG_fail
;
23365 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23366 (arg1
)->SetExitOnFrameDelete(arg2
);
23368 wxPyEndAllowThreads(__tstate
);
23369 if (PyErr_Occurred()) SWIG_fail
;
23371 Py_INCREF(Py_None
); resultobj
= Py_None
;
23378 static PyObject
*_wrap_PyApp_GetExitOnFrameDelete(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23379 PyObject
*resultobj
;
23380 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
23382 PyObject
* obj0
= 0 ;
23383 char *kwnames
[] = {
23384 (char *) "self", NULL
23387 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetExitOnFrameDelete",kwnames
,&obj0
)) goto fail
;
23388 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
23389 if (SWIG_arg_fail(1)) SWIG_fail
;
23391 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23392 result
= (bool)((wxPyApp
const *)arg1
)->GetExitOnFrameDelete();
23394 wxPyEndAllowThreads(__tstate
);
23395 if (PyErr_Occurred()) SWIG_fail
;
23398 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23406 static PyObject
*_wrap_PyApp_SetUseBestVisual(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23407 PyObject
*resultobj
;
23408 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
23410 PyObject
* obj0
= 0 ;
23411 PyObject
* obj1
= 0 ;
23412 char *kwnames
[] = {
23413 (char *) "self",(char *) "flag", NULL
23416 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetUseBestVisual",kwnames
,&obj0
,&obj1
)) goto fail
;
23417 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
23418 if (SWIG_arg_fail(1)) SWIG_fail
;
23420 arg2
= (bool)(SWIG_As_bool(obj1
));
23421 if (SWIG_arg_fail(2)) SWIG_fail
;
23424 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23425 (arg1
)->SetUseBestVisual(arg2
);
23427 wxPyEndAllowThreads(__tstate
);
23428 if (PyErr_Occurred()) SWIG_fail
;
23430 Py_INCREF(Py_None
); resultobj
= Py_None
;
23437 static PyObject
*_wrap_PyApp_GetUseBestVisual(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23438 PyObject
*resultobj
;
23439 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
23441 PyObject
* obj0
= 0 ;
23442 char *kwnames
[] = {
23443 (char *) "self", NULL
23446 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetUseBestVisual",kwnames
,&obj0
)) goto fail
;
23447 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
23448 if (SWIG_arg_fail(1)) SWIG_fail
;
23450 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23451 result
= (bool)((wxPyApp
const *)arg1
)->GetUseBestVisual();
23453 wxPyEndAllowThreads(__tstate
);
23454 if (PyErr_Occurred()) SWIG_fail
;
23457 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23465 static PyObject
*_wrap_PyApp_SetPrintMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23466 PyObject
*resultobj
;
23467 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
23469 PyObject
* obj0
= 0 ;
23470 PyObject
* obj1
= 0 ;
23471 char *kwnames
[] = {
23472 (char *) "self",(char *) "mode", NULL
23475 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetPrintMode",kwnames
,&obj0
,&obj1
)) goto fail
;
23476 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
23477 if (SWIG_arg_fail(1)) SWIG_fail
;
23479 arg2
= (int)(SWIG_As_int(obj1
));
23480 if (SWIG_arg_fail(2)) SWIG_fail
;
23483 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23484 (arg1
)->SetPrintMode(arg2
);
23486 wxPyEndAllowThreads(__tstate
);
23487 if (PyErr_Occurred()) SWIG_fail
;
23489 Py_INCREF(Py_None
); resultobj
= Py_None
;
23496 static PyObject
*_wrap_PyApp_GetPrintMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23497 PyObject
*resultobj
;
23498 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
23500 PyObject
* obj0
= 0 ;
23501 char *kwnames
[] = {
23502 (char *) "self", NULL
23505 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetPrintMode",kwnames
,&obj0
)) goto fail
;
23506 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
23507 if (SWIG_arg_fail(1)) SWIG_fail
;
23509 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23510 result
= (int)((wxPyApp
const *)arg1
)->GetPrintMode();
23512 wxPyEndAllowThreads(__tstate
);
23513 if (PyErr_Occurred()) SWIG_fail
;
23516 resultobj
= SWIG_From_int((int)(result
));
23524 static PyObject
*_wrap_PyApp_SetAssertMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23525 PyObject
*resultobj
;
23526 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
23528 PyObject
* obj0
= 0 ;
23529 PyObject
* obj1
= 0 ;
23530 char *kwnames
[] = {
23531 (char *) "self",(char *) "mode", NULL
23534 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetAssertMode",kwnames
,&obj0
,&obj1
)) goto fail
;
23535 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
23536 if (SWIG_arg_fail(1)) SWIG_fail
;
23538 arg2
= (int)(SWIG_As_int(obj1
));
23539 if (SWIG_arg_fail(2)) SWIG_fail
;
23542 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23543 (arg1
)->SetAssertMode(arg2
);
23545 wxPyEndAllowThreads(__tstate
);
23546 if (PyErr_Occurred()) SWIG_fail
;
23548 Py_INCREF(Py_None
); resultobj
= Py_None
;
23555 static PyObject
*_wrap_PyApp_GetAssertMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23556 PyObject
*resultobj
;
23557 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
23559 PyObject
* obj0
= 0 ;
23560 char *kwnames
[] = {
23561 (char *) "self", NULL
23564 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetAssertMode",kwnames
,&obj0
)) goto fail
;
23565 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
23566 if (SWIG_arg_fail(1)) SWIG_fail
;
23568 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23569 result
= (int)(arg1
)->GetAssertMode();
23571 wxPyEndAllowThreads(__tstate
);
23572 if (PyErr_Occurred()) SWIG_fail
;
23575 resultobj
= SWIG_From_int((int)(result
));
23583 static PyObject
*_wrap_PyApp_GetMacSupportPCMenuShortcuts(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23584 PyObject
*resultobj
;
23586 char *kwnames
[] = {
23590 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PyApp_GetMacSupportPCMenuShortcuts",kwnames
)) goto fail
;
23592 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23593 result
= (bool)wxPyApp::GetMacSupportPCMenuShortcuts();
23595 wxPyEndAllowThreads(__tstate
);
23596 if (PyErr_Occurred()) SWIG_fail
;
23599 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23607 static PyObject
*_wrap_PyApp_GetMacAboutMenuItemId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23608 PyObject
*resultobj
;
23610 char *kwnames
[] = {
23614 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PyApp_GetMacAboutMenuItemId",kwnames
)) goto fail
;
23616 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23617 result
= (long)wxPyApp::GetMacAboutMenuItemId();
23619 wxPyEndAllowThreads(__tstate
);
23620 if (PyErr_Occurred()) SWIG_fail
;
23623 resultobj
= SWIG_From_long((long)(result
));
23631 static PyObject
*_wrap_PyApp_GetMacPreferencesMenuItemId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23632 PyObject
*resultobj
;
23634 char *kwnames
[] = {
23638 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PyApp_GetMacPreferencesMenuItemId",kwnames
)) goto fail
;
23640 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23641 result
= (long)wxPyApp::GetMacPreferencesMenuItemId();
23643 wxPyEndAllowThreads(__tstate
);
23644 if (PyErr_Occurred()) SWIG_fail
;
23647 resultobj
= SWIG_From_long((long)(result
));
23655 static PyObject
*_wrap_PyApp_GetMacExitMenuItemId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23656 PyObject
*resultobj
;
23658 char *kwnames
[] = {
23662 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PyApp_GetMacExitMenuItemId",kwnames
)) goto fail
;
23664 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23665 result
= (long)wxPyApp::GetMacExitMenuItemId();
23667 wxPyEndAllowThreads(__tstate
);
23668 if (PyErr_Occurred()) SWIG_fail
;
23671 resultobj
= SWIG_From_long((long)(result
));
23679 static PyObject
*_wrap_PyApp_GetMacHelpMenuTitleName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23680 PyObject
*resultobj
;
23682 char *kwnames
[] = {
23686 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PyApp_GetMacHelpMenuTitleName",kwnames
)) goto fail
;
23688 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23689 result
= wxPyApp::GetMacHelpMenuTitleName();
23691 wxPyEndAllowThreads(__tstate
);
23692 if (PyErr_Occurred()) SWIG_fail
;
23696 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
23698 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
23707 static PyObject
*_wrap_PyApp_SetMacSupportPCMenuShortcuts(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23708 PyObject
*resultobj
;
23710 PyObject
* obj0
= 0 ;
23711 char *kwnames
[] = {
23712 (char *) "val", NULL
23715 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_SetMacSupportPCMenuShortcuts",kwnames
,&obj0
)) goto fail
;
23717 arg1
= (bool)(SWIG_As_bool(obj0
));
23718 if (SWIG_arg_fail(1)) SWIG_fail
;
23721 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23722 wxPyApp::SetMacSupportPCMenuShortcuts(arg1
);
23724 wxPyEndAllowThreads(__tstate
);
23725 if (PyErr_Occurred()) SWIG_fail
;
23727 Py_INCREF(Py_None
); resultobj
= Py_None
;
23734 static PyObject
*_wrap_PyApp_SetMacAboutMenuItemId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23735 PyObject
*resultobj
;
23737 PyObject
* obj0
= 0 ;
23738 char *kwnames
[] = {
23739 (char *) "val", NULL
23742 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_SetMacAboutMenuItemId",kwnames
,&obj0
)) goto fail
;
23744 arg1
= (long)(SWIG_As_long(obj0
));
23745 if (SWIG_arg_fail(1)) SWIG_fail
;
23748 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23749 wxPyApp::SetMacAboutMenuItemId(arg1
);
23751 wxPyEndAllowThreads(__tstate
);
23752 if (PyErr_Occurred()) SWIG_fail
;
23754 Py_INCREF(Py_None
); resultobj
= Py_None
;
23761 static PyObject
*_wrap_PyApp_SetMacPreferencesMenuItemId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23762 PyObject
*resultobj
;
23764 PyObject
* obj0
= 0 ;
23765 char *kwnames
[] = {
23766 (char *) "val", NULL
23769 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_SetMacPreferencesMenuItemId",kwnames
,&obj0
)) goto fail
;
23771 arg1
= (long)(SWIG_As_long(obj0
));
23772 if (SWIG_arg_fail(1)) SWIG_fail
;
23775 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23776 wxPyApp::SetMacPreferencesMenuItemId(arg1
);
23778 wxPyEndAllowThreads(__tstate
);
23779 if (PyErr_Occurred()) SWIG_fail
;
23781 Py_INCREF(Py_None
); resultobj
= Py_None
;
23788 static PyObject
*_wrap_PyApp_SetMacExitMenuItemId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23789 PyObject
*resultobj
;
23791 PyObject
* obj0
= 0 ;
23792 char *kwnames
[] = {
23793 (char *) "val", NULL
23796 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_SetMacExitMenuItemId",kwnames
,&obj0
)) goto fail
;
23798 arg1
= (long)(SWIG_As_long(obj0
));
23799 if (SWIG_arg_fail(1)) SWIG_fail
;
23802 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23803 wxPyApp::SetMacExitMenuItemId(arg1
);
23805 wxPyEndAllowThreads(__tstate
);
23806 if (PyErr_Occurred()) SWIG_fail
;
23808 Py_INCREF(Py_None
); resultobj
= Py_None
;
23815 static PyObject
*_wrap_PyApp_SetMacHelpMenuTitleName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23816 PyObject
*resultobj
;
23817 wxString
*arg1
= 0 ;
23818 bool temp1
= false ;
23819 PyObject
* obj0
= 0 ;
23820 char *kwnames
[] = {
23821 (char *) "val", NULL
23824 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_SetMacHelpMenuTitleName",kwnames
,&obj0
)) goto fail
;
23826 arg1
= wxString_in_helper(obj0
);
23827 if (arg1
== NULL
) SWIG_fail
;
23831 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23832 wxPyApp::SetMacHelpMenuTitleName((wxString
const &)*arg1
);
23834 wxPyEndAllowThreads(__tstate
);
23835 if (PyErr_Occurred()) SWIG_fail
;
23837 Py_INCREF(Py_None
); resultobj
= Py_None
;
23852 static PyObject
*_wrap_PyApp__BootstrapApp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23853 PyObject
*resultobj
;
23854 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
23855 PyObject
* obj0
= 0 ;
23856 char *kwnames
[] = {
23857 (char *) "self", NULL
23860 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp__BootstrapApp",kwnames
,&obj0
)) goto fail
;
23861 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
23862 if (SWIG_arg_fail(1)) SWIG_fail
;
23864 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23865 (arg1
)->_BootstrapApp();
23867 wxPyEndAllowThreads(__tstate
);
23868 if (PyErr_Occurred()) SWIG_fail
;
23870 Py_INCREF(Py_None
); resultobj
= Py_None
;
23877 static PyObject
*_wrap_PyApp_GetComCtl32Version(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23878 PyObject
*resultobj
;
23880 char *kwnames
[] = {
23884 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PyApp_GetComCtl32Version",kwnames
)) goto fail
;
23886 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23887 result
= (int)PyApp_GetComCtl32Version();
23889 wxPyEndAllowThreads(__tstate
);
23890 if (PyErr_Occurred()) SWIG_fail
;
23893 resultobj
= SWIG_From_int((int)(result
));
23901 static PyObject
* PyApp_swigregister(PyObject
*, PyObject
*args
) {
23903 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
23904 SWIG_TypeClientData(SWIGTYPE_p_wxPyApp
, obj
);
23906 return Py_BuildValue((char *)"");
23908 static PyObject
*_wrap_Exit(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23909 PyObject
*resultobj
;
23910 char *kwnames
[] = {
23914 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Exit",kwnames
)) goto fail
;
23916 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23919 wxPyEndAllowThreads(__tstate
);
23920 if (PyErr_Occurred()) SWIG_fail
;
23922 Py_INCREF(Py_None
); resultobj
= Py_None
;
23929 static PyObject
*_wrap_Yield(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23930 PyObject
*resultobj
;
23932 char *kwnames
[] = {
23936 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Yield",kwnames
)) goto fail
;
23938 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23939 result
= (bool)wxYield();
23941 wxPyEndAllowThreads(__tstate
);
23942 if (PyErr_Occurred()) SWIG_fail
;
23945 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23953 static PyObject
*_wrap_YieldIfNeeded(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23954 PyObject
*resultobj
;
23956 char *kwnames
[] = {
23960 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":YieldIfNeeded",kwnames
)) goto fail
;
23962 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23963 result
= (bool)wxYieldIfNeeded();
23965 wxPyEndAllowThreads(__tstate
);
23966 if (PyErr_Occurred()) SWIG_fail
;
23969 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23977 static PyObject
*_wrap_SafeYield(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23978 PyObject
*resultobj
;
23979 wxWindow
*arg1
= (wxWindow
*) NULL
;
23980 bool arg2
= (bool) false ;
23982 PyObject
* obj0
= 0 ;
23983 PyObject
* obj1
= 0 ;
23984 char *kwnames
[] = {
23985 (char *) "win",(char *) "onlyIfNeeded", NULL
23988 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:SafeYield",kwnames
,&obj0
,&obj1
)) goto fail
;
23990 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
23991 if (SWIG_arg_fail(1)) SWIG_fail
;
23995 arg2
= (bool)(SWIG_As_bool(obj1
));
23996 if (SWIG_arg_fail(2)) SWIG_fail
;
24000 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24001 result
= (bool)wxSafeYield(arg1
,arg2
);
24003 wxPyEndAllowThreads(__tstate
);
24004 if (PyErr_Occurred()) SWIG_fail
;
24007 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24015 static PyObject
*_wrap_WakeUpIdle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24016 PyObject
*resultobj
;
24017 char *kwnames
[] = {
24021 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":WakeUpIdle",kwnames
)) goto fail
;
24023 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24026 wxPyEndAllowThreads(__tstate
);
24027 if (PyErr_Occurred()) SWIG_fail
;
24029 Py_INCREF(Py_None
); resultobj
= Py_None
;
24036 static PyObject
*_wrap_PostEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24037 PyObject
*resultobj
;
24038 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
24039 wxEvent
*arg2
= 0 ;
24040 PyObject
* obj0
= 0 ;
24041 PyObject
* obj1
= 0 ;
24042 char *kwnames
[] = {
24043 (char *) "dest",(char *) "event", NULL
24046 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PostEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
24047 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
24048 if (SWIG_arg_fail(1)) SWIG_fail
;
24050 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
24051 if (SWIG_arg_fail(2)) SWIG_fail
;
24052 if (arg2
== NULL
) {
24053 SWIG_null_ref("wxEvent");
24055 if (SWIG_arg_fail(2)) SWIG_fail
;
24058 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24059 wxPostEvent(arg1
,*arg2
);
24061 wxPyEndAllowThreads(__tstate
);
24062 if (PyErr_Occurred()) SWIG_fail
;
24064 Py_INCREF(Py_None
); resultobj
= Py_None
;
24071 static PyObject
*_wrap_App_CleanUp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24072 PyObject
*resultobj
;
24073 char *kwnames
[] = {
24077 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":App_CleanUp",kwnames
)) goto fail
;
24079 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24082 wxPyEndAllowThreads(__tstate
);
24083 if (PyErr_Occurred()) SWIG_fail
;
24085 Py_INCREF(Py_None
); resultobj
= Py_None
;
24092 static PyObject
*_wrap_GetApp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24093 PyObject
*resultobj
;
24095 char *kwnames
[] = {
24099 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetApp",kwnames
)) goto fail
;
24101 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24102 result
= (wxPyApp
*)wxPyGetApp();
24104 wxPyEndAllowThreads(__tstate
);
24105 if (PyErr_Occurred()) SWIG_fail
;
24108 resultobj
= wxPyMake_wxObject(result
, 0);
24116 static PyObject
*_wrap_SetDefaultPyEncoding(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24117 PyObject
*resultobj
;
24118 char *arg1
= (char *) 0 ;
24119 PyObject
* obj0
= 0 ;
24120 char *kwnames
[] = {
24121 (char *) "encoding", NULL
24124 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SetDefaultPyEncoding",kwnames
,&obj0
)) goto fail
;
24125 if (!SWIG_AsCharPtr(obj0
, (char**)&arg1
)) {
24126 SWIG_arg_fail(1);SWIG_fail
;
24129 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24130 wxSetDefaultPyEncoding((char const *)arg1
);
24132 wxPyEndAllowThreads(__tstate
);
24133 if (PyErr_Occurred()) SWIG_fail
;
24135 Py_INCREF(Py_None
); resultobj
= Py_None
;
24142 static PyObject
*_wrap_GetDefaultPyEncoding(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24143 PyObject
*resultobj
;
24145 char *kwnames
[] = {
24149 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetDefaultPyEncoding",kwnames
)) goto fail
;
24151 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24152 result
= (char *)wxGetDefaultPyEncoding();
24154 wxPyEndAllowThreads(__tstate
);
24155 if (PyErr_Occurred()) SWIG_fail
;
24157 resultobj
= SWIG_FromCharPtr(result
);
24164 static PyObject
*_wrap_new_EventLoop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24165 PyObject
*resultobj
;
24166 wxEventLoop
*result
;
24167 char *kwnames
[] = {
24171 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_EventLoop",kwnames
)) goto fail
;
24173 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24174 result
= (wxEventLoop
*)new wxEventLoop();
24176 wxPyEndAllowThreads(__tstate
);
24177 if (PyErr_Occurred()) SWIG_fail
;
24179 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxEventLoop
, 1);
24186 static PyObject
*_wrap_delete_EventLoop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24187 PyObject
*resultobj
;
24188 wxEventLoop
*arg1
= (wxEventLoop
*) 0 ;
24189 PyObject
* obj0
= 0 ;
24190 char *kwnames
[] = {
24191 (char *) "self", NULL
24194 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_EventLoop",kwnames
,&obj0
)) goto fail
;
24195 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEventLoop
, SWIG_POINTER_EXCEPTION
| 0);
24196 if (SWIG_arg_fail(1)) SWIG_fail
;
24198 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24201 wxPyEndAllowThreads(__tstate
);
24202 if (PyErr_Occurred()) SWIG_fail
;
24204 Py_INCREF(Py_None
); resultobj
= Py_None
;
24211 static PyObject
*_wrap_EventLoop_Run(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24212 PyObject
*resultobj
;
24213 wxEventLoop
*arg1
= (wxEventLoop
*) 0 ;
24215 PyObject
* obj0
= 0 ;
24216 char *kwnames
[] = {
24217 (char *) "self", NULL
24220 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EventLoop_Run",kwnames
,&obj0
)) goto fail
;
24221 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEventLoop
, SWIG_POINTER_EXCEPTION
| 0);
24222 if (SWIG_arg_fail(1)) SWIG_fail
;
24224 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24225 result
= (int)(arg1
)->Run();
24227 wxPyEndAllowThreads(__tstate
);
24228 if (PyErr_Occurred()) SWIG_fail
;
24231 resultobj
= SWIG_From_int((int)(result
));
24239 static PyObject
*_wrap_EventLoop_Exit(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24240 PyObject
*resultobj
;
24241 wxEventLoop
*arg1
= (wxEventLoop
*) 0 ;
24242 int arg2
= (int) 0 ;
24243 PyObject
* obj0
= 0 ;
24244 PyObject
* obj1
= 0 ;
24245 char *kwnames
[] = {
24246 (char *) "self",(char *) "rc", NULL
24249 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:EventLoop_Exit",kwnames
,&obj0
,&obj1
)) goto fail
;
24250 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEventLoop
, SWIG_POINTER_EXCEPTION
| 0);
24251 if (SWIG_arg_fail(1)) SWIG_fail
;
24254 arg2
= (int)(SWIG_As_int(obj1
));
24255 if (SWIG_arg_fail(2)) SWIG_fail
;
24259 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24260 (arg1
)->Exit(arg2
);
24262 wxPyEndAllowThreads(__tstate
);
24263 if (PyErr_Occurred()) SWIG_fail
;
24265 Py_INCREF(Py_None
); resultobj
= Py_None
;
24272 static PyObject
*_wrap_EventLoop_Pending(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24273 PyObject
*resultobj
;
24274 wxEventLoop
*arg1
= (wxEventLoop
*) 0 ;
24276 PyObject
* obj0
= 0 ;
24277 char *kwnames
[] = {
24278 (char *) "self", NULL
24281 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EventLoop_Pending",kwnames
,&obj0
)) goto fail
;
24282 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEventLoop
, SWIG_POINTER_EXCEPTION
| 0);
24283 if (SWIG_arg_fail(1)) SWIG_fail
;
24285 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24286 result
= (bool)((wxEventLoop
const *)arg1
)->Pending();
24288 wxPyEndAllowThreads(__tstate
);
24289 if (PyErr_Occurred()) SWIG_fail
;
24292 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24300 static PyObject
*_wrap_EventLoop_Dispatch(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24301 PyObject
*resultobj
;
24302 wxEventLoop
*arg1
= (wxEventLoop
*) 0 ;
24304 PyObject
* obj0
= 0 ;
24305 char *kwnames
[] = {
24306 (char *) "self", NULL
24309 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EventLoop_Dispatch",kwnames
,&obj0
)) goto fail
;
24310 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEventLoop
, SWIG_POINTER_EXCEPTION
| 0);
24311 if (SWIG_arg_fail(1)) SWIG_fail
;
24313 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24314 result
= (bool)(arg1
)->Dispatch();
24316 wxPyEndAllowThreads(__tstate
);
24317 if (PyErr_Occurred()) SWIG_fail
;
24320 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24328 static PyObject
*_wrap_EventLoop_IsRunning(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24329 PyObject
*resultobj
;
24330 wxEventLoop
*arg1
= (wxEventLoop
*) 0 ;
24332 PyObject
* obj0
= 0 ;
24333 char *kwnames
[] = {
24334 (char *) "self", NULL
24337 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EventLoop_IsRunning",kwnames
,&obj0
)) goto fail
;
24338 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEventLoop
, SWIG_POINTER_EXCEPTION
| 0);
24339 if (SWIG_arg_fail(1)) SWIG_fail
;
24341 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24342 result
= (bool)((wxEventLoop
const *)arg1
)->IsRunning();
24344 wxPyEndAllowThreads(__tstate
);
24345 if (PyErr_Occurred()) SWIG_fail
;
24348 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24356 static PyObject
*_wrap_EventLoop_GetActive(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24357 PyObject
*resultobj
;
24358 wxEventLoop
*result
;
24359 char *kwnames
[] = {
24363 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":EventLoop_GetActive",kwnames
)) goto fail
;
24365 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24366 result
= (wxEventLoop
*)wxEventLoop::GetActive();
24368 wxPyEndAllowThreads(__tstate
);
24369 if (PyErr_Occurred()) SWIG_fail
;
24371 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxEventLoop
, 0);
24378 static PyObject
*_wrap_EventLoop_SetActive(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24379 PyObject
*resultobj
;
24380 wxEventLoop
*arg1
= (wxEventLoop
*) 0 ;
24381 PyObject
* obj0
= 0 ;
24382 char *kwnames
[] = {
24383 (char *) "loop", NULL
24386 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EventLoop_SetActive",kwnames
,&obj0
)) goto fail
;
24387 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEventLoop
, SWIG_POINTER_EXCEPTION
| 0);
24388 if (SWIG_arg_fail(1)) SWIG_fail
;
24390 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24391 wxEventLoop::SetActive(arg1
);
24393 wxPyEndAllowThreads(__tstate
);
24394 if (PyErr_Occurred()) SWIG_fail
;
24396 Py_INCREF(Py_None
); resultobj
= Py_None
;
24403 static PyObject
* EventLoop_swigregister(PyObject
*, PyObject
*args
) {
24405 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24406 SWIG_TypeClientData(SWIGTYPE_p_wxEventLoop
, obj
);
24408 return Py_BuildValue((char *)"");
24410 static PyObject
*_wrap_new_AcceleratorEntry(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24411 PyObject
*resultobj
;
24412 int arg1
= (int) 0 ;
24413 int arg2
= (int) 0 ;
24414 int arg3
= (int) 0 ;
24415 wxAcceleratorEntry
*result
;
24416 PyObject
* obj0
= 0 ;
24417 PyObject
* obj1
= 0 ;
24418 PyObject
* obj2
= 0 ;
24419 char *kwnames
[] = {
24420 (char *) "flags",(char *) "keyCode",(char *) "cmdID", NULL
24423 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_AcceleratorEntry",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24426 arg1
= (int)(SWIG_As_int(obj0
));
24427 if (SWIG_arg_fail(1)) SWIG_fail
;
24432 arg2
= (int)(SWIG_As_int(obj1
));
24433 if (SWIG_arg_fail(2)) SWIG_fail
;
24438 arg3
= (int)(SWIG_As_int(obj2
));
24439 if (SWIG_arg_fail(3)) SWIG_fail
;
24443 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24444 result
= (wxAcceleratorEntry
*)new wxAcceleratorEntry(arg1
,arg2
,arg3
);
24446 wxPyEndAllowThreads(__tstate
);
24447 if (PyErr_Occurred()) SWIG_fail
;
24449 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxAcceleratorEntry
, 1);
24456 static PyObject
*_wrap_delete_AcceleratorEntry(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24457 PyObject
*resultobj
;
24458 wxAcceleratorEntry
*arg1
= (wxAcceleratorEntry
*) 0 ;
24459 PyObject
* obj0
= 0 ;
24460 char *kwnames
[] = {
24461 (char *) "self", NULL
24464 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_AcceleratorEntry",kwnames
,&obj0
)) goto fail
;
24465 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxAcceleratorEntry
, SWIG_POINTER_EXCEPTION
| 0);
24466 if (SWIG_arg_fail(1)) SWIG_fail
;
24468 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24471 wxPyEndAllowThreads(__tstate
);
24472 if (PyErr_Occurred()) SWIG_fail
;
24474 Py_INCREF(Py_None
); resultobj
= Py_None
;
24481 static PyObject
*_wrap_AcceleratorEntry_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24482 PyObject
*resultobj
;
24483 wxAcceleratorEntry
*arg1
= (wxAcceleratorEntry
*) 0 ;
24487 PyObject
* obj0
= 0 ;
24488 PyObject
* obj1
= 0 ;
24489 PyObject
* obj2
= 0 ;
24490 PyObject
* obj3
= 0 ;
24491 char *kwnames
[] = {
24492 (char *) "self",(char *) "flags",(char *) "keyCode",(char *) "cmd", NULL
24495 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:AcceleratorEntry_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
24496 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxAcceleratorEntry
, SWIG_POINTER_EXCEPTION
| 0);
24497 if (SWIG_arg_fail(1)) SWIG_fail
;
24499 arg2
= (int)(SWIG_As_int(obj1
));
24500 if (SWIG_arg_fail(2)) SWIG_fail
;
24503 arg3
= (int)(SWIG_As_int(obj2
));
24504 if (SWIG_arg_fail(3)) SWIG_fail
;
24507 arg4
= (int)(SWIG_As_int(obj3
));
24508 if (SWIG_arg_fail(4)) SWIG_fail
;
24511 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24512 (arg1
)->Set(arg2
,arg3
,arg4
);
24514 wxPyEndAllowThreads(__tstate
);
24515 if (PyErr_Occurred()) SWIG_fail
;
24517 Py_INCREF(Py_None
); resultobj
= Py_None
;
24524 static PyObject
*_wrap_AcceleratorEntry_GetFlags(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24525 PyObject
*resultobj
;
24526 wxAcceleratorEntry
*arg1
= (wxAcceleratorEntry
*) 0 ;
24528 PyObject
* obj0
= 0 ;
24529 char *kwnames
[] = {
24530 (char *) "self", NULL
24533 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:AcceleratorEntry_GetFlags",kwnames
,&obj0
)) goto fail
;
24534 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxAcceleratorEntry
, SWIG_POINTER_EXCEPTION
| 0);
24535 if (SWIG_arg_fail(1)) SWIG_fail
;
24537 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24538 result
= (int)(arg1
)->GetFlags();
24540 wxPyEndAllowThreads(__tstate
);
24541 if (PyErr_Occurred()) SWIG_fail
;
24544 resultobj
= SWIG_From_int((int)(result
));
24552 static PyObject
*_wrap_AcceleratorEntry_GetKeyCode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24553 PyObject
*resultobj
;
24554 wxAcceleratorEntry
*arg1
= (wxAcceleratorEntry
*) 0 ;
24556 PyObject
* obj0
= 0 ;
24557 char *kwnames
[] = {
24558 (char *) "self", NULL
24561 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:AcceleratorEntry_GetKeyCode",kwnames
,&obj0
)) goto fail
;
24562 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxAcceleratorEntry
, SWIG_POINTER_EXCEPTION
| 0);
24563 if (SWIG_arg_fail(1)) SWIG_fail
;
24565 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24566 result
= (int)(arg1
)->GetKeyCode();
24568 wxPyEndAllowThreads(__tstate
);
24569 if (PyErr_Occurred()) SWIG_fail
;
24572 resultobj
= SWIG_From_int((int)(result
));
24580 static PyObject
*_wrap_AcceleratorEntry_GetCommand(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24581 PyObject
*resultobj
;
24582 wxAcceleratorEntry
*arg1
= (wxAcceleratorEntry
*) 0 ;
24584 PyObject
* obj0
= 0 ;
24585 char *kwnames
[] = {
24586 (char *) "self", NULL
24589 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:AcceleratorEntry_GetCommand",kwnames
,&obj0
)) goto fail
;
24590 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxAcceleratorEntry
, SWIG_POINTER_EXCEPTION
| 0);
24591 if (SWIG_arg_fail(1)) SWIG_fail
;
24593 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24594 result
= (int)(arg1
)->GetCommand();
24596 wxPyEndAllowThreads(__tstate
);
24597 if (PyErr_Occurred()) SWIG_fail
;
24600 resultobj
= SWIG_From_int((int)(result
));
24608 static PyObject
* AcceleratorEntry_swigregister(PyObject
*, PyObject
*args
) {
24610 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24611 SWIG_TypeClientData(SWIGTYPE_p_wxAcceleratorEntry
, obj
);
24613 return Py_BuildValue((char *)"");
24615 static PyObject
*_wrap_new_AcceleratorTable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24616 PyObject
*resultobj
;
24618 wxAcceleratorEntry
*arg2
= (wxAcceleratorEntry
*) 0 ;
24619 wxAcceleratorTable
*result
;
24620 PyObject
* obj0
= 0 ;
24621 char *kwnames
[] = {
24625 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_AcceleratorTable",kwnames
,&obj0
)) goto fail
;
24627 arg2
= wxAcceleratorEntry_LIST_helper(obj0
);
24628 if (arg2
) arg1
= PyList_Size(obj0
);
24632 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24633 result
= (wxAcceleratorTable
*)new wxAcceleratorTable(arg1
,(wxAcceleratorEntry
const *)arg2
);
24635 wxPyEndAllowThreads(__tstate
);
24636 if (PyErr_Occurred()) SWIG_fail
;
24638 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxAcceleratorTable
, 1);
24651 static PyObject
*_wrap_delete_AcceleratorTable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24652 PyObject
*resultobj
;
24653 wxAcceleratorTable
*arg1
= (wxAcceleratorTable
*) 0 ;
24654 PyObject
* obj0
= 0 ;
24655 char *kwnames
[] = {
24656 (char *) "self", NULL
24659 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_AcceleratorTable",kwnames
,&obj0
)) goto fail
;
24660 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxAcceleratorTable
, SWIG_POINTER_EXCEPTION
| 0);
24661 if (SWIG_arg_fail(1)) SWIG_fail
;
24663 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24666 wxPyEndAllowThreads(__tstate
);
24667 if (PyErr_Occurred()) SWIG_fail
;
24669 Py_INCREF(Py_None
); resultobj
= Py_None
;
24676 static PyObject
*_wrap_AcceleratorTable_Ok(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24677 PyObject
*resultobj
;
24678 wxAcceleratorTable
*arg1
= (wxAcceleratorTable
*) 0 ;
24680 PyObject
* obj0
= 0 ;
24681 char *kwnames
[] = {
24682 (char *) "self", NULL
24685 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:AcceleratorTable_Ok",kwnames
,&obj0
)) goto fail
;
24686 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxAcceleratorTable
, SWIG_POINTER_EXCEPTION
| 0);
24687 if (SWIG_arg_fail(1)) SWIG_fail
;
24689 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24690 result
= (bool)((wxAcceleratorTable
const *)arg1
)->Ok();
24692 wxPyEndAllowThreads(__tstate
);
24693 if (PyErr_Occurred()) SWIG_fail
;
24696 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24704 static PyObject
* AcceleratorTable_swigregister(PyObject
*, PyObject
*args
) {
24706 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24707 SWIG_TypeClientData(SWIGTYPE_p_wxAcceleratorTable
, obj
);
24709 return Py_BuildValue((char *)"");
24711 static int _wrap_NullAcceleratorTable_set(PyObject
*) {
24712 PyErr_SetString(PyExc_TypeError
,"Variable NullAcceleratorTable is read-only.");
24717 static PyObject
*_wrap_NullAcceleratorTable_get(void) {
24720 pyobj
= SWIG_NewPointerObj((void *)(&wxNullAcceleratorTable
), SWIGTYPE_p_wxAcceleratorTable
, 0);
24725 static PyObject
*_wrap_GetAccelFromString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24726 PyObject
*resultobj
;
24727 wxString
*arg1
= 0 ;
24728 wxAcceleratorEntry
*result
;
24729 bool temp1
= false ;
24730 PyObject
* obj0
= 0 ;
24731 char *kwnames
[] = {
24732 (char *) "label", NULL
24735 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GetAccelFromString",kwnames
,&obj0
)) goto fail
;
24737 arg1
= wxString_in_helper(obj0
);
24738 if (arg1
== NULL
) SWIG_fail
;
24742 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24743 result
= (wxAcceleratorEntry
*)wxGetAccelFromString((wxString
const &)*arg1
);
24745 wxPyEndAllowThreads(__tstate
);
24746 if (PyErr_Occurred()) SWIG_fail
;
24748 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxAcceleratorEntry
, 0);
24763 static int _wrap_PanelNameStr_set(PyObject
*) {
24764 PyErr_SetString(PyExc_TypeError
,"Variable PanelNameStr is read-only.");
24769 static PyObject
*_wrap_PanelNameStr_get(void) {
24774 pyobj
= PyUnicode_FromWideChar((&wxPyPanelNameStr
)->c_str(), (&wxPyPanelNameStr
)->Len());
24776 pyobj
= PyString_FromStringAndSize((&wxPyPanelNameStr
)->c_str(), (&wxPyPanelNameStr
)->Len());
24783 static PyObject
*_wrap_new_VisualAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24784 PyObject
*resultobj
;
24785 wxVisualAttributes
*result
;
24786 char *kwnames
[] = {
24790 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_VisualAttributes",kwnames
)) goto fail
;
24792 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24793 result
= (wxVisualAttributes
*)new_wxVisualAttributes();
24795 wxPyEndAllowThreads(__tstate
);
24796 if (PyErr_Occurred()) SWIG_fail
;
24798 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxVisualAttributes
, 1);
24805 static PyObject
*_wrap_delete_VisualAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24806 PyObject
*resultobj
;
24807 wxVisualAttributes
*arg1
= (wxVisualAttributes
*) 0 ;
24808 PyObject
* obj0
= 0 ;
24809 char *kwnames
[] = {
24810 (char *) "self", NULL
24813 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_VisualAttributes",kwnames
,&obj0
)) goto fail
;
24814 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_EXCEPTION
| 0);
24815 if (SWIG_arg_fail(1)) SWIG_fail
;
24817 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24818 delete_wxVisualAttributes(arg1
);
24820 wxPyEndAllowThreads(__tstate
);
24821 if (PyErr_Occurred()) SWIG_fail
;
24823 Py_INCREF(Py_None
); resultobj
= Py_None
;
24830 static PyObject
*_wrap_VisualAttributes_font_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24831 PyObject
*resultobj
;
24832 wxVisualAttributes
*arg1
= (wxVisualAttributes
*) 0 ;
24833 wxFont
*arg2
= (wxFont
*) 0 ;
24834 PyObject
* obj0
= 0 ;
24835 PyObject
* obj1
= 0 ;
24836 char *kwnames
[] = {
24837 (char *) "self",(char *) "font", NULL
24840 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VisualAttributes_font_set",kwnames
,&obj0
,&obj1
)) goto fail
;
24841 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_EXCEPTION
| 0);
24842 if (SWIG_arg_fail(1)) SWIG_fail
;
24843 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
24844 if (SWIG_arg_fail(2)) SWIG_fail
;
24845 if (arg1
) (arg1
)->font
= *arg2
;
24847 Py_INCREF(Py_None
); resultobj
= Py_None
;
24854 static PyObject
*_wrap_VisualAttributes_font_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24855 PyObject
*resultobj
;
24856 wxVisualAttributes
*arg1
= (wxVisualAttributes
*) 0 ;
24858 PyObject
* obj0
= 0 ;
24859 char *kwnames
[] = {
24860 (char *) "self", NULL
24863 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VisualAttributes_font_get",kwnames
,&obj0
)) goto fail
;
24864 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_EXCEPTION
| 0);
24865 if (SWIG_arg_fail(1)) SWIG_fail
;
24866 result
= (wxFont
*)& ((arg1
)->font
);
24868 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFont
, 0);
24875 static PyObject
*_wrap_VisualAttributes_colFg_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24876 PyObject
*resultobj
;
24877 wxVisualAttributes
*arg1
= (wxVisualAttributes
*) 0 ;
24878 wxColour
*arg2
= (wxColour
*) 0 ;
24879 PyObject
* obj0
= 0 ;
24880 PyObject
* obj1
= 0 ;
24881 char *kwnames
[] = {
24882 (char *) "self",(char *) "colFg", NULL
24885 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VisualAttributes_colFg_set",kwnames
,&obj0
,&obj1
)) goto fail
;
24886 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_EXCEPTION
| 0);
24887 if (SWIG_arg_fail(1)) SWIG_fail
;
24888 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxColour
, SWIG_POINTER_EXCEPTION
| 0);
24889 if (SWIG_arg_fail(2)) SWIG_fail
;
24890 if (arg1
) (arg1
)->colFg
= *arg2
;
24892 Py_INCREF(Py_None
); resultobj
= Py_None
;
24899 static PyObject
*_wrap_VisualAttributes_colFg_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24900 PyObject
*resultobj
;
24901 wxVisualAttributes
*arg1
= (wxVisualAttributes
*) 0 ;
24903 PyObject
* obj0
= 0 ;
24904 char *kwnames
[] = {
24905 (char *) "self", NULL
24908 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VisualAttributes_colFg_get",kwnames
,&obj0
)) goto fail
;
24909 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_EXCEPTION
| 0);
24910 if (SWIG_arg_fail(1)) SWIG_fail
;
24911 result
= (wxColour
*)& ((arg1
)->colFg
);
24913 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColour
, 0);
24920 static PyObject
*_wrap_VisualAttributes_colBg_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24921 PyObject
*resultobj
;
24922 wxVisualAttributes
*arg1
= (wxVisualAttributes
*) 0 ;
24923 wxColour
*arg2
= (wxColour
*) 0 ;
24924 PyObject
* obj0
= 0 ;
24925 PyObject
* obj1
= 0 ;
24926 char *kwnames
[] = {
24927 (char *) "self",(char *) "colBg", NULL
24930 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VisualAttributes_colBg_set",kwnames
,&obj0
,&obj1
)) goto fail
;
24931 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_EXCEPTION
| 0);
24932 if (SWIG_arg_fail(1)) SWIG_fail
;
24933 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxColour
, SWIG_POINTER_EXCEPTION
| 0);
24934 if (SWIG_arg_fail(2)) SWIG_fail
;
24935 if (arg1
) (arg1
)->colBg
= *arg2
;
24937 Py_INCREF(Py_None
); resultobj
= Py_None
;
24944 static PyObject
*_wrap_VisualAttributes_colBg_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24945 PyObject
*resultobj
;
24946 wxVisualAttributes
*arg1
= (wxVisualAttributes
*) 0 ;
24948 PyObject
* obj0
= 0 ;
24949 char *kwnames
[] = {
24950 (char *) "self", NULL
24953 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VisualAttributes_colBg_get",kwnames
,&obj0
)) goto fail
;
24954 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_EXCEPTION
| 0);
24955 if (SWIG_arg_fail(1)) SWIG_fail
;
24956 result
= (wxColour
*)& ((arg1
)->colBg
);
24958 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColour
, 0);
24965 static PyObject
* VisualAttributes_swigregister(PyObject
*, PyObject
*args
) {
24967 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24968 SWIG_TypeClientData(SWIGTYPE_p_wxVisualAttributes
, obj
);
24970 return Py_BuildValue((char *)"");
24972 static PyObject
*_wrap_new_Window(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24973 PyObject
*resultobj
;
24974 wxWindow
*arg1
= (wxWindow
*) 0 ;
24975 int arg2
= (int) (int)-1 ;
24976 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
24977 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
24978 wxSize
const &arg4_defvalue
= wxDefaultSize
;
24979 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
24980 long arg5
= (long) 0 ;
24981 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
24982 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
24986 bool temp6
= false ;
24987 PyObject
* obj0
= 0 ;
24988 PyObject
* obj1
= 0 ;
24989 PyObject
* obj2
= 0 ;
24990 PyObject
* obj3
= 0 ;
24991 PyObject
* obj4
= 0 ;
24992 PyObject
* obj5
= 0 ;
24993 char *kwnames
[] = {
24994 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
24997 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_Window",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
24998 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
24999 if (SWIG_arg_fail(1)) SWIG_fail
;
25002 arg2
= (int const)(SWIG_As_int(obj1
));
25003 if (SWIG_arg_fail(2)) SWIG_fail
;
25009 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
25015 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
25020 arg5
= (long)(SWIG_As_long(obj4
));
25021 if (SWIG_arg_fail(5)) SWIG_fail
;
25026 arg6
= wxString_in_helper(obj5
);
25027 if (arg6
== NULL
) SWIG_fail
;
25032 if (!wxPyCheckForApp()) SWIG_fail
;
25033 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25034 result
= (wxWindow
*)new wxWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
25036 wxPyEndAllowThreads(__tstate
);
25037 if (PyErr_Occurred()) SWIG_fail
;
25039 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxWindow
, 1);
25054 static PyObject
*_wrap_new_PreWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25055 PyObject
*resultobj
;
25057 char *kwnames
[] = {
25061 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreWindow",kwnames
)) goto fail
;
25063 if (!wxPyCheckForApp()) SWIG_fail
;
25064 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25065 result
= (wxWindow
*)new wxWindow();
25067 wxPyEndAllowThreads(__tstate
);
25068 if (PyErr_Occurred()) SWIG_fail
;
25070 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxWindow
, 1);
25077 static PyObject
*_wrap_Window_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25078 PyObject
*resultobj
;
25079 wxWindow
*arg1
= (wxWindow
*) 0 ;
25080 wxWindow
*arg2
= (wxWindow
*) 0 ;
25081 int arg3
= (int) (int)-1 ;
25082 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
25083 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
25084 wxSize
const &arg5_defvalue
= wxDefaultSize
;
25085 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
25086 long arg6
= (long) 0 ;
25087 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
25088 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
25092 bool temp7
= false ;
25093 PyObject
* obj0
= 0 ;
25094 PyObject
* obj1
= 0 ;
25095 PyObject
* obj2
= 0 ;
25096 PyObject
* obj3
= 0 ;
25097 PyObject
* obj4
= 0 ;
25098 PyObject
* obj5
= 0 ;
25099 PyObject
* obj6
= 0 ;
25100 char *kwnames
[] = {
25101 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
25104 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:Window_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
25105 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25106 if (SWIG_arg_fail(1)) SWIG_fail
;
25107 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25108 if (SWIG_arg_fail(2)) SWIG_fail
;
25111 arg3
= (int const)(SWIG_As_int(obj2
));
25112 if (SWIG_arg_fail(3)) SWIG_fail
;
25118 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
25124 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
25129 arg6
= (long)(SWIG_As_long(obj5
));
25130 if (SWIG_arg_fail(6)) SWIG_fail
;
25135 arg7
= wxString_in_helper(obj6
);
25136 if (arg7
== NULL
) SWIG_fail
;
25141 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25142 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
25144 wxPyEndAllowThreads(__tstate
);
25145 if (PyErr_Occurred()) SWIG_fail
;
25148 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25164 static PyObject
*_wrap_Window_Close(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25165 PyObject
*resultobj
;
25166 wxWindow
*arg1
= (wxWindow
*) 0 ;
25167 bool arg2
= (bool) false ;
25169 PyObject
* obj0
= 0 ;
25170 PyObject
* obj1
= 0 ;
25171 char *kwnames
[] = {
25172 (char *) "self",(char *) "force", NULL
25175 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_Close",kwnames
,&obj0
,&obj1
)) goto fail
;
25176 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25177 if (SWIG_arg_fail(1)) SWIG_fail
;
25180 arg2
= (bool)(SWIG_As_bool(obj1
));
25181 if (SWIG_arg_fail(2)) SWIG_fail
;
25185 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25186 result
= (bool)(arg1
)->Close(arg2
);
25188 wxPyEndAllowThreads(__tstate
);
25189 if (PyErr_Occurred()) SWIG_fail
;
25192 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25200 static PyObject
*_wrap_Window_Destroy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25201 PyObject
*resultobj
;
25202 wxWindow
*arg1
= (wxWindow
*) 0 ;
25204 PyObject
* obj0
= 0 ;
25205 char *kwnames
[] = {
25206 (char *) "self", NULL
25209 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Destroy",kwnames
,&obj0
)) goto fail
;
25210 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25211 if (SWIG_arg_fail(1)) SWIG_fail
;
25213 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25214 result
= (bool)(arg1
)->Destroy();
25216 wxPyEndAllowThreads(__tstate
);
25217 if (PyErr_Occurred()) SWIG_fail
;
25220 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25228 static PyObject
*_wrap_Window_DestroyChildren(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25229 PyObject
*resultobj
;
25230 wxWindow
*arg1
= (wxWindow
*) 0 ;
25232 PyObject
* obj0
= 0 ;
25233 char *kwnames
[] = {
25234 (char *) "self", NULL
25237 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_DestroyChildren",kwnames
,&obj0
)) goto fail
;
25238 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25239 if (SWIG_arg_fail(1)) SWIG_fail
;
25241 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25242 result
= (bool)(arg1
)->DestroyChildren();
25244 wxPyEndAllowThreads(__tstate
);
25245 if (PyErr_Occurred()) SWIG_fail
;
25248 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25256 static PyObject
*_wrap_Window_IsBeingDeleted(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25257 PyObject
*resultobj
;
25258 wxWindow
*arg1
= (wxWindow
*) 0 ;
25260 PyObject
* obj0
= 0 ;
25261 char *kwnames
[] = {
25262 (char *) "self", NULL
25265 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_IsBeingDeleted",kwnames
,&obj0
)) goto fail
;
25266 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25267 if (SWIG_arg_fail(1)) SWIG_fail
;
25269 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25270 result
= (bool)((wxWindow
const *)arg1
)->IsBeingDeleted();
25272 wxPyEndAllowThreads(__tstate
);
25273 if (PyErr_Occurred()) SWIG_fail
;
25276 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25284 static PyObject
*_wrap_Window_SetTitle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25285 PyObject
*resultobj
;
25286 wxWindow
*arg1
= (wxWindow
*) 0 ;
25287 wxString
*arg2
= 0 ;
25288 bool temp2
= false ;
25289 PyObject
* obj0
= 0 ;
25290 PyObject
* obj1
= 0 ;
25291 char *kwnames
[] = {
25292 (char *) "self",(char *) "title", NULL
25295 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetTitle",kwnames
,&obj0
,&obj1
)) goto fail
;
25296 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25297 if (SWIG_arg_fail(1)) SWIG_fail
;
25299 arg2
= wxString_in_helper(obj1
);
25300 if (arg2
== NULL
) SWIG_fail
;
25304 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25305 (arg1
)->SetTitle((wxString
const &)*arg2
);
25307 wxPyEndAllowThreads(__tstate
);
25308 if (PyErr_Occurred()) SWIG_fail
;
25310 Py_INCREF(Py_None
); resultobj
= Py_None
;
25325 static PyObject
*_wrap_Window_GetTitle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25326 PyObject
*resultobj
;
25327 wxWindow
*arg1
= (wxWindow
*) 0 ;
25329 PyObject
* obj0
= 0 ;
25330 char *kwnames
[] = {
25331 (char *) "self", NULL
25334 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetTitle",kwnames
,&obj0
)) goto fail
;
25335 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25336 if (SWIG_arg_fail(1)) SWIG_fail
;
25338 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25339 result
= ((wxWindow
const *)arg1
)->GetTitle();
25341 wxPyEndAllowThreads(__tstate
);
25342 if (PyErr_Occurred()) SWIG_fail
;
25346 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
25348 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
25357 static PyObject
*_wrap_Window_SetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25358 PyObject
*resultobj
;
25359 wxWindow
*arg1
= (wxWindow
*) 0 ;
25360 wxString
*arg2
= 0 ;
25361 bool temp2
= false ;
25362 PyObject
* obj0
= 0 ;
25363 PyObject
* obj1
= 0 ;
25364 char *kwnames
[] = {
25365 (char *) "self",(char *) "label", NULL
25368 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
25369 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25370 if (SWIG_arg_fail(1)) SWIG_fail
;
25372 arg2
= wxString_in_helper(obj1
);
25373 if (arg2
== NULL
) SWIG_fail
;
25377 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25378 (arg1
)->SetLabel((wxString
const &)*arg2
);
25380 wxPyEndAllowThreads(__tstate
);
25381 if (PyErr_Occurred()) SWIG_fail
;
25383 Py_INCREF(Py_None
); resultobj
= Py_None
;
25398 static PyObject
*_wrap_Window_GetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25399 PyObject
*resultobj
;
25400 wxWindow
*arg1
= (wxWindow
*) 0 ;
25402 PyObject
* obj0
= 0 ;
25403 char *kwnames
[] = {
25404 (char *) "self", NULL
25407 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetLabel",kwnames
,&obj0
)) goto fail
;
25408 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25409 if (SWIG_arg_fail(1)) SWIG_fail
;
25411 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25412 result
= ((wxWindow
const *)arg1
)->GetLabel();
25414 wxPyEndAllowThreads(__tstate
);
25415 if (PyErr_Occurred()) SWIG_fail
;
25419 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
25421 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
25430 static PyObject
*_wrap_Window_SetName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25431 PyObject
*resultobj
;
25432 wxWindow
*arg1
= (wxWindow
*) 0 ;
25433 wxString
*arg2
= 0 ;
25434 bool temp2
= false ;
25435 PyObject
* obj0
= 0 ;
25436 PyObject
* obj1
= 0 ;
25437 char *kwnames
[] = {
25438 (char *) "self",(char *) "name", NULL
25441 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetName",kwnames
,&obj0
,&obj1
)) goto fail
;
25442 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25443 if (SWIG_arg_fail(1)) SWIG_fail
;
25445 arg2
= wxString_in_helper(obj1
);
25446 if (arg2
== NULL
) SWIG_fail
;
25450 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25451 (arg1
)->SetName((wxString
const &)*arg2
);
25453 wxPyEndAllowThreads(__tstate
);
25454 if (PyErr_Occurred()) SWIG_fail
;
25456 Py_INCREF(Py_None
); resultobj
= Py_None
;
25471 static PyObject
*_wrap_Window_GetName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25472 PyObject
*resultobj
;
25473 wxWindow
*arg1
= (wxWindow
*) 0 ;
25475 PyObject
* obj0
= 0 ;
25476 char *kwnames
[] = {
25477 (char *) "self", NULL
25480 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetName",kwnames
,&obj0
)) goto fail
;
25481 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25482 if (SWIG_arg_fail(1)) SWIG_fail
;
25484 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25485 result
= ((wxWindow
const *)arg1
)->GetName();
25487 wxPyEndAllowThreads(__tstate
);
25488 if (PyErr_Occurred()) SWIG_fail
;
25492 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
25494 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
25503 static PyObject
*_wrap_Window_SetWindowVariant(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25504 PyObject
*resultobj
;
25505 wxWindow
*arg1
= (wxWindow
*) 0 ;
25506 wxWindowVariant arg2
;
25507 PyObject
* obj0
= 0 ;
25508 PyObject
* obj1
= 0 ;
25509 char *kwnames
[] = {
25510 (char *) "self",(char *) "variant", NULL
25513 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetWindowVariant",kwnames
,&obj0
,&obj1
)) goto fail
;
25514 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25515 if (SWIG_arg_fail(1)) SWIG_fail
;
25517 arg2
= (wxWindowVariant
)(SWIG_As_int(obj1
));
25518 if (SWIG_arg_fail(2)) SWIG_fail
;
25521 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25522 (arg1
)->SetWindowVariant((wxWindowVariant
)arg2
);
25524 wxPyEndAllowThreads(__tstate
);
25525 if (PyErr_Occurred()) SWIG_fail
;
25527 Py_INCREF(Py_None
); resultobj
= Py_None
;
25534 static PyObject
*_wrap_Window_GetWindowVariant(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25535 PyObject
*resultobj
;
25536 wxWindow
*arg1
= (wxWindow
*) 0 ;
25537 wxWindowVariant result
;
25538 PyObject
* obj0
= 0 ;
25539 char *kwnames
[] = {
25540 (char *) "self", NULL
25543 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetWindowVariant",kwnames
,&obj0
)) goto fail
;
25544 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25545 if (SWIG_arg_fail(1)) SWIG_fail
;
25547 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25548 result
= (wxWindowVariant
)((wxWindow
const *)arg1
)->GetWindowVariant();
25550 wxPyEndAllowThreads(__tstate
);
25551 if (PyErr_Occurred()) SWIG_fail
;
25553 resultobj
= SWIG_From_int((result
));
25560 static PyObject
*_wrap_Window_SetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25561 PyObject
*resultobj
;
25562 wxWindow
*arg1
= (wxWindow
*) 0 ;
25564 PyObject
* obj0
= 0 ;
25565 PyObject
* obj1
= 0 ;
25566 char *kwnames
[] = {
25567 (char *) "self",(char *) "winid", NULL
25570 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetId",kwnames
,&obj0
,&obj1
)) goto fail
;
25571 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25572 if (SWIG_arg_fail(1)) SWIG_fail
;
25574 arg2
= (int)(SWIG_As_int(obj1
));
25575 if (SWIG_arg_fail(2)) SWIG_fail
;
25578 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25579 (arg1
)->SetId(arg2
);
25581 wxPyEndAllowThreads(__tstate
);
25582 if (PyErr_Occurred()) SWIG_fail
;
25584 Py_INCREF(Py_None
); resultobj
= Py_None
;
25591 static PyObject
*_wrap_Window_GetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25592 PyObject
*resultobj
;
25593 wxWindow
*arg1
= (wxWindow
*) 0 ;
25595 PyObject
* obj0
= 0 ;
25596 char *kwnames
[] = {
25597 (char *) "self", NULL
25600 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetId",kwnames
,&obj0
)) goto fail
;
25601 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25602 if (SWIG_arg_fail(1)) SWIG_fail
;
25604 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25605 result
= (int)((wxWindow
const *)arg1
)->GetId();
25607 wxPyEndAllowThreads(__tstate
);
25608 if (PyErr_Occurred()) SWIG_fail
;
25611 resultobj
= SWIG_From_int((int)(result
));
25619 static PyObject
*_wrap_Window_NewControlId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25620 PyObject
*resultobj
;
25622 char *kwnames
[] = {
25626 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Window_NewControlId",kwnames
)) goto fail
;
25628 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25629 result
= (int)wxWindow::NewControlId();
25631 wxPyEndAllowThreads(__tstate
);
25632 if (PyErr_Occurred()) SWIG_fail
;
25635 resultobj
= SWIG_From_int((int)(result
));
25643 static PyObject
*_wrap_Window_NextControlId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25644 PyObject
*resultobj
;
25647 PyObject
* obj0
= 0 ;
25648 char *kwnames
[] = {
25649 (char *) "winid", NULL
25652 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_NextControlId",kwnames
,&obj0
)) goto fail
;
25654 arg1
= (int)(SWIG_As_int(obj0
));
25655 if (SWIG_arg_fail(1)) SWIG_fail
;
25658 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25659 result
= (int)wxWindow::NextControlId(arg1
);
25661 wxPyEndAllowThreads(__tstate
);
25662 if (PyErr_Occurred()) SWIG_fail
;
25665 resultobj
= SWIG_From_int((int)(result
));
25673 static PyObject
*_wrap_Window_PrevControlId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25674 PyObject
*resultobj
;
25677 PyObject
* obj0
= 0 ;
25678 char *kwnames
[] = {
25679 (char *) "winid", NULL
25682 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_PrevControlId",kwnames
,&obj0
)) goto fail
;
25684 arg1
= (int)(SWIG_As_int(obj0
));
25685 if (SWIG_arg_fail(1)) SWIG_fail
;
25688 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25689 result
= (int)wxWindow::PrevControlId(arg1
);
25691 wxPyEndAllowThreads(__tstate
);
25692 if (PyErr_Occurred()) SWIG_fail
;
25695 resultobj
= SWIG_From_int((int)(result
));
25703 static PyObject
*_wrap_Window_SetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25704 PyObject
*resultobj
;
25705 wxWindow
*arg1
= (wxWindow
*) 0 ;
25708 PyObject
* obj0
= 0 ;
25709 PyObject
* obj1
= 0 ;
25710 char *kwnames
[] = {
25711 (char *) "self",(char *) "size", NULL
25714 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetSize",kwnames
,&obj0
,&obj1
)) goto fail
;
25715 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25716 if (SWIG_arg_fail(1)) SWIG_fail
;
25719 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
25722 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25723 (arg1
)->SetSize((wxSize
const &)*arg2
);
25725 wxPyEndAllowThreads(__tstate
);
25726 if (PyErr_Occurred()) SWIG_fail
;
25728 Py_INCREF(Py_None
); resultobj
= Py_None
;
25735 static PyObject
*_wrap_Window_SetDimensions(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25736 PyObject
*resultobj
;
25737 wxWindow
*arg1
= (wxWindow
*) 0 ;
25742 int arg6
= (int) wxSIZE_AUTO
;
25743 PyObject
* obj0
= 0 ;
25744 PyObject
* obj1
= 0 ;
25745 PyObject
* obj2
= 0 ;
25746 PyObject
* obj3
= 0 ;
25747 PyObject
* obj4
= 0 ;
25748 PyObject
* obj5
= 0 ;
25749 char *kwnames
[] = {
25750 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
25753 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:Window_SetDimensions",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
25754 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25755 if (SWIG_arg_fail(1)) SWIG_fail
;
25757 arg2
= (int)(SWIG_As_int(obj1
));
25758 if (SWIG_arg_fail(2)) SWIG_fail
;
25761 arg3
= (int)(SWIG_As_int(obj2
));
25762 if (SWIG_arg_fail(3)) SWIG_fail
;
25765 arg4
= (int)(SWIG_As_int(obj3
));
25766 if (SWIG_arg_fail(4)) SWIG_fail
;
25769 arg5
= (int)(SWIG_As_int(obj4
));
25770 if (SWIG_arg_fail(5)) SWIG_fail
;
25774 arg6
= (int)(SWIG_As_int(obj5
));
25775 if (SWIG_arg_fail(6)) SWIG_fail
;
25779 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25780 (arg1
)->SetSize(arg2
,arg3
,arg4
,arg5
,arg6
);
25782 wxPyEndAllowThreads(__tstate
);
25783 if (PyErr_Occurred()) SWIG_fail
;
25785 Py_INCREF(Py_None
); resultobj
= Py_None
;
25792 static PyObject
*_wrap_Window_SetRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25793 PyObject
*resultobj
;
25794 wxWindow
*arg1
= (wxWindow
*) 0 ;
25796 int arg3
= (int) wxSIZE_AUTO
;
25798 PyObject
* obj0
= 0 ;
25799 PyObject
* obj1
= 0 ;
25800 PyObject
* obj2
= 0 ;
25801 char *kwnames
[] = {
25802 (char *) "self",(char *) "rect",(char *) "sizeFlags", NULL
25805 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_SetRect",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25806 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25807 if (SWIG_arg_fail(1)) SWIG_fail
;
25810 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
25814 arg3
= (int)(SWIG_As_int(obj2
));
25815 if (SWIG_arg_fail(3)) SWIG_fail
;
25819 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25820 (arg1
)->SetSize((wxRect
const &)*arg2
,arg3
);
25822 wxPyEndAllowThreads(__tstate
);
25823 if (PyErr_Occurred()) SWIG_fail
;
25825 Py_INCREF(Py_None
); resultobj
= Py_None
;
25832 static PyObject
*_wrap_Window_SetSizeWH(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25833 PyObject
*resultobj
;
25834 wxWindow
*arg1
= (wxWindow
*) 0 ;
25837 PyObject
* obj0
= 0 ;
25838 PyObject
* obj1
= 0 ;
25839 PyObject
* obj2
= 0 ;
25840 char *kwnames
[] = {
25841 (char *) "self",(char *) "width",(char *) "height", NULL
25844 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_SetSizeWH",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25845 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25846 if (SWIG_arg_fail(1)) SWIG_fail
;
25848 arg2
= (int)(SWIG_As_int(obj1
));
25849 if (SWIG_arg_fail(2)) SWIG_fail
;
25852 arg3
= (int)(SWIG_As_int(obj2
));
25853 if (SWIG_arg_fail(3)) SWIG_fail
;
25856 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25857 (arg1
)->SetSize(arg2
,arg3
);
25859 wxPyEndAllowThreads(__tstate
);
25860 if (PyErr_Occurred()) SWIG_fail
;
25862 Py_INCREF(Py_None
); resultobj
= Py_None
;
25869 static PyObject
*_wrap_Window_Move(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25870 PyObject
*resultobj
;
25871 wxWindow
*arg1
= (wxWindow
*) 0 ;
25872 wxPoint
*arg2
= 0 ;
25873 int arg3
= (int) wxSIZE_USE_EXISTING
;
25875 PyObject
* obj0
= 0 ;
25876 PyObject
* obj1
= 0 ;
25877 PyObject
* obj2
= 0 ;
25878 char *kwnames
[] = {
25879 (char *) "self",(char *) "pt",(char *) "flags", NULL
25882 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_Move",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25883 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25884 if (SWIG_arg_fail(1)) SWIG_fail
;
25887 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
25891 arg3
= (int)(SWIG_As_int(obj2
));
25892 if (SWIG_arg_fail(3)) SWIG_fail
;
25896 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25897 (arg1
)->Move((wxPoint
const &)*arg2
,arg3
);
25899 wxPyEndAllowThreads(__tstate
);
25900 if (PyErr_Occurred()) SWIG_fail
;
25902 Py_INCREF(Py_None
); resultobj
= Py_None
;
25909 static PyObject
*_wrap_Window_MoveXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25910 PyObject
*resultobj
;
25911 wxWindow
*arg1
= (wxWindow
*) 0 ;
25914 int arg4
= (int) wxSIZE_USE_EXISTING
;
25915 PyObject
* obj0
= 0 ;
25916 PyObject
* obj1
= 0 ;
25917 PyObject
* obj2
= 0 ;
25918 PyObject
* obj3
= 0 ;
25919 char *kwnames
[] = {
25920 (char *) "self",(char *) "x",(char *) "y",(char *) "flags", NULL
25923 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Window_MoveXY",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
25924 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25925 if (SWIG_arg_fail(1)) SWIG_fail
;
25927 arg2
= (int)(SWIG_As_int(obj1
));
25928 if (SWIG_arg_fail(2)) SWIG_fail
;
25931 arg3
= (int)(SWIG_As_int(obj2
));
25932 if (SWIG_arg_fail(3)) SWIG_fail
;
25936 arg4
= (int)(SWIG_As_int(obj3
));
25937 if (SWIG_arg_fail(4)) SWIG_fail
;
25941 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25942 (arg1
)->Move(arg2
,arg3
,arg4
);
25944 wxPyEndAllowThreads(__tstate
);
25945 if (PyErr_Occurred()) SWIG_fail
;
25947 Py_INCREF(Py_None
); resultobj
= Py_None
;
25954 static PyObject
*_wrap_Window_SetBestFittingSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25955 PyObject
*resultobj
;
25956 wxWindow
*arg1
= (wxWindow
*) 0 ;
25957 wxSize
const &arg2_defvalue
= wxDefaultSize
;
25958 wxSize
*arg2
= (wxSize
*) &arg2_defvalue
;
25960 PyObject
* obj0
= 0 ;
25961 PyObject
* obj1
= 0 ;
25962 char *kwnames
[] = {
25963 (char *) "self",(char *) "size", NULL
25966 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_SetBestFittingSize",kwnames
,&obj0
,&obj1
)) goto fail
;
25967 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25968 if (SWIG_arg_fail(1)) SWIG_fail
;
25972 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
25976 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25977 (arg1
)->SetBestFittingSize((wxSize
const &)*arg2
);
25979 wxPyEndAllowThreads(__tstate
);
25980 if (PyErr_Occurred()) SWIG_fail
;
25982 Py_INCREF(Py_None
); resultobj
= Py_None
;
25989 static PyObject
*_wrap_Window_Raise(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25990 PyObject
*resultobj
;
25991 wxWindow
*arg1
= (wxWindow
*) 0 ;
25992 PyObject
* obj0
= 0 ;
25993 char *kwnames
[] = {
25994 (char *) "self", NULL
25997 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Raise",kwnames
,&obj0
)) goto fail
;
25998 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25999 if (SWIG_arg_fail(1)) SWIG_fail
;
26001 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26004 wxPyEndAllowThreads(__tstate
);
26005 if (PyErr_Occurred()) SWIG_fail
;
26007 Py_INCREF(Py_None
); resultobj
= Py_None
;
26014 static PyObject
*_wrap_Window_Lower(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26015 PyObject
*resultobj
;
26016 wxWindow
*arg1
= (wxWindow
*) 0 ;
26017 PyObject
* obj0
= 0 ;
26018 char *kwnames
[] = {
26019 (char *) "self", NULL
26022 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Lower",kwnames
,&obj0
)) goto fail
;
26023 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26024 if (SWIG_arg_fail(1)) SWIG_fail
;
26026 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26029 wxPyEndAllowThreads(__tstate
);
26030 if (PyErr_Occurred()) SWIG_fail
;
26032 Py_INCREF(Py_None
); resultobj
= Py_None
;
26039 static PyObject
*_wrap_Window_SetClientSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26040 PyObject
*resultobj
;
26041 wxWindow
*arg1
= (wxWindow
*) 0 ;
26044 PyObject
* obj0
= 0 ;
26045 PyObject
* obj1
= 0 ;
26046 char *kwnames
[] = {
26047 (char *) "self",(char *) "size", NULL
26050 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetClientSize",kwnames
,&obj0
,&obj1
)) goto fail
;
26051 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26052 if (SWIG_arg_fail(1)) SWIG_fail
;
26055 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
26058 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26059 (arg1
)->SetClientSize((wxSize
const &)*arg2
);
26061 wxPyEndAllowThreads(__tstate
);
26062 if (PyErr_Occurred()) SWIG_fail
;
26064 Py_INCREF(Py_None
); resultobj
= Py_None
;
26071 static PyObject
*_wrap_Window_SetClientSizeWH(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26072 PyObject
*resultobj
;
26073 wxWindow
*arg1
= (wxWindow
*) 0 ;
26076 PyObject
* obj0
= 0 ;
26077 PyObject
* obj1
= 0 ;
26078 PyObject
* obj2
= 0 ;
26079 char *kwnames
[] = {
26080 (char *) "self",(char *) "width",(char *) "height", NULL
26083 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_SetClientSizeWH",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26084 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26085 if (SWIG_arg_fail(1)) SWIG_fail
;
26087 arg2
= (int)(SWIG_As_int(obj1
));
26088 if (SWIG_arg_fail(2)) SWIG_fail
;
26091 arg3
= (int)(SWIG_As_int(obj2
));
26092 if (SWIG_arg_fail(3)) SWIG_fail
;
26095 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26096 (arg1
)->SetClientSize(arg2
,arg3
);
26098 wxPyEndAllowThreads(__tstate
);
26099 if (PyErr_Occurred()) SWIG_fail
;
26101 Py_INCREF(Py_None
); resultobj
= Py_None
;
26108 static PyObject
*_wrap_Window_SetClientRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26109 PyObject
*resultobj
;
26110 wxWindow
*arg1
= (wxWindow
*) 0 ;
26113 PyObject
* obj0
= 0 ;
26114 PyObject
* obj1
= 0 ;
26115 char *kwnames
[] = {
26116 (char *) "self",(char *) "rect", NULL
26119 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetClientRect",kwnames
,&obj0
,&obj1
)) goto fail
;
26120 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26121 if (SWIG_arg_fail(1)) SWIG_fail
;
26124 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
26127 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26128 (arg1
)->SetClientSize((wxRect
const &)*arg2
);
26130 wxPyEndAllowThreads(__tstate
);
26131 if (PyErr_Occurred()) SWIG_fail
;
26133 Py_INCREF(Py_None
); resultobj
= Py_None
;
26140 static PyObject
*_wrap_Window_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26141 PyObject
*resultobj
;
26142 wxWindow
*arg1
= (wxWindow
*) 0 ;
26144 PyObject
* obj0
= 0 ;
26145 char *kwnames
[] = {
26146 (char *) "self", NULL
26149 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetPosition",kwnames
,&obj0
)) goto fail
;
26150 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26151 if (SWIG_arg_fail(1)) SWIG_fail
;
26153 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26154 result
= (arg1
)->GetPosition();
26156 wxPyEndAllowThreads(__tstate
);
26157 if (PyErr_Occurred()) SWIG_fail
;
26160 wxPoint
* resultptr
;
26161 resultptr
= new wxPoint((wxPoint
&)(result
));
26162 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
26170 static PyObject
*_wrap_Window_GetPositionTuple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26171 PyObject
*resultobj
;
26172 wxWindow
*arg1
= (wxWindow
*) 0 ;
26173 int *arg2
= (int *) 0 ;
26174 int *arg3
= (int *) 0 ;
26179 PyObject
* obj0
= 0 ;
26180 char *kwnames
[] = {
26181 (char *) "self", NULL
26184 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
26185 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
26186 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetPositionTuple",kwnames
,&obj0
)) goto fail
;
26187 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26188 if (SWIG_arg_fail(1)) SWIG_fail
;
26190 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26191 (arg1
)->GetPosition(arg2
,arg3
);
26193 wxPyEndAllowThreads(__tstate
);
26194 if (PyErr_Occurred()) SWIG_fail
;
26196 Py_INCREF(Py_None
); resultobj
= Py_None
;
26197 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
26198 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
26199 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
26200 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
26207 static PyObject
*_wrap_Window_GetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26208 PyObject
*resultobj
;
26209 wxWindow
*arg1
= (wxWindow
*) 0 ;
26211 PyObject
* obj0
= 0 ;
26212 char *kwnames
[] = {
26213 (char *) "self", NULL
26216 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetSize",kwnames
,&obj0
)) goto fail
;
26217 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26218 if (SWIG_arg_fail(1)) SWIG_fail
;
26220 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26221 result
= ((wxWindow
const *)arg1
)->GetSize();
26223 wxPyEndAllowThreads(__tstate
);
26224 if (PyErr_Occurred()) SWIG_fail
;
26227 wxSize
* resultptr
;
26228 resultptr
= new wxSize((wxSize
&)(result
));
26229 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
26237 static PyObject
*_wrap_Window_GetSizeTuple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26238 PyObject
*resultobj
;
26239 wxWindow
*arg1
= (wxWindow
*) 0 ;
26240 int *arg2
= (int *) 0 ;
26241 int *arg3
= (int *) 0 ;
26246 PyObject
* obj0
= 0 ;
26247 char *kwnames
[] = {
26248 (char *) "self", NULL
26251 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
26252 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
26253 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetSizeTuple",kwnames
,&obj0
)) goto fail
;
26254 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26255 if (SWIG_arg_fail(1)) SWIG_fail
;
26257 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26258 ((wxWindow
const *)arg1
)->GetSize(arg2
,arg3
);
26260 wxPyEndAllowThreads(__tstate
);
26261 if (PyErr_Occurred()) SWIG_fail
;
26263 Py_INCREF(Py_None
); resultobj
= Py_None
;
26264 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
26265 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
26266 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
26267 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
26274 static PyObject
*_wrap_Window_GetRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26275 PyObject
*resultobj
;
26276 wxWindow
*arg1
= (wxWindow
*) 0 ;
26278 PyObject
* obj0
= 0 ;
26279 char *kwnames
[] = {
26280 (char *) "self", NULL
26283 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetRect",kwnames
,&obj0
)) goto fail
;
26284 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26285 if (SWIG_arg_fail(1)) SWIG_fail
;
26287 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26288 result
= ((wxWindow
const *)arg1
)->GetRect();
26290 wxPyEndAllowThreads(__tstate
);
26291 if (PyErr_Occurred()) SWIG_fail
;
26294 wxRect
* resultptr
;
26295 resultptr
= new wxRect((wxRect
&)(result
));
26296 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
26304 static PyObject
*_wrap_Window_GetClientSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26305 PyObject
*resultobj
;
26306 wxWindow
*arg1
= (wxWindow
*) 0 ;
26308 PyObject
* obj0
= 0 ;
26309 char *kwnames
[] = {
26310 (char *) "self", NULL
26313 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetClientSize",kwnames
,&obj0
)) goto fail
;
26314 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26315 if (SWIG_arg_fail(1)) SWIG_fail
;
26317 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26318 result
= ((wxWindow
const *)arg1
)->GetClientSize();
26320 wxPyEndAllowThreads(__tstate
);
26321 if (PyErr_Occurred()) SWIG_fail
;
26324 wxSize
* resultptr
;
26325 resultptr
= new wxSize((wxSize
&)(result
));
26326 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
26334 static PyObject
*_wrap_Window_GetClientSizeTuple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26335 PyObject
*resultobj
;
26336 wxWindow
*arg1
= (wxWindow
*) 0 ;
26337 int *arg2
= (int *) 0 ;
26338 int *arg3
= (int *) 0 ;
26343 PyObject
* obj0
= 0 ;
26344 char *kwnames
[] = {
26345 (char *) "self", NULL
26348 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
26349 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
26350 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetClientSizeTuple",kwnames
,&obj0
)) goto fail
;
26351 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26352 if (SWIG_arg_fail(1)) SWIG_fail
;
26354 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26355 ((wxWindow
const *)arg1
)->GetClientSize(arg2
,arg3
);
26357 wxPyEndAllowThreads(__tstate
);
26358 if (PyErr_Occurred()) SWIG_fail
;
26360 Py_INCREF(Py_None
); resultobj
= Py_None
;
26361 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
26362 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
26363 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
26364 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
26371 static PyObject
*_wrap_Window_GetClientAreaOrigin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26372 PyObject
*resultobj
;
26373 wxWindow
*arg1
= (wxWindow
*) 0 ;
26375 PyObject
* obj0
= 0 ;
26376 char *kwnames
[] = {
26377 (char *) "self", NULL
26380 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetClientAreaOrigin",kwnames
,&obj0
)) goto fail
;
26381 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26382 if (SWIG_arg_fail(1)) SWIG_fail
;
26384 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26385 result
= ((wxWindow
const *)arg1
)->GetClientAreaOrigin();
26387 wxPyEndAllowThreads(__tstate
);
26388 if (PyErr_Occurred()) SWIG_fail
;
26391 wxPoint
* resultptr
;
26392 resultptr
= new wxPoint((wxPoint
&)(result
));
26393 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
26401 static PyObject
*_wrap_Window_GetClientRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26402 PyObject
*resultobj
;
26403 wxWindow
*arg1
= (wxWindow
*) 0 ;
26405 PyObject
* obj0
= 0 ;
26406 char *kwnames
[] = {
26407 (char *) "self", NULL
26410 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetClientRect",kwnames
,&obj0
)) goto fail
;
26411 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26412 if (SWIG_arg_fail(1)) SWIG_fail
;
26414 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26415 result
= ((wxWindow
const *)arg1
)->GetClientRect();
26417 wxPyEndAllowThreads(__tstate
);
26418 if (PyErr_Occurred()) SWIG_fail
;
26421 wxRect
* resultptr
;
26422 resultptr
= new wxRect((wxRect
&)(result
));
26423 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
26431 static PyObject
*_wrap_Window_GetBestSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26432 PyObject
*resultobj
;
26433 wxWindow
*arg1
= (wxWindow
*) 0 ;
26435 PyObject
* obj0
= 0 ;
26436 char *kwnames
[] = {
26437 (char *) "self", NULL
26440 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetBestSize",kwnames
,&obj0
)) goto fail
;
26441 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26442 if (SWIG_arg_fail(1)) SWIG_fail
;
26444 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26445 result
= ((wxWindow
const *)arg1
)->GetBestSize();
26447 wxPyEndAllowThreads(__tstate
);
26448 if (PyErr_Occurred()) SWIG_fail
;
26451 wxSize
* resultptr
;
26452 resultptr
= new wxSize((wxSize
&)(result
));
26453 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
26461 static PyObject
*_wrap_Window_GetBestSizeTuple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26462 PyObject
*resultobj
;
26463 wxWindow
*arg1
= (wxWindow
*) 0 ;
26464 int *arg2
= (int *) 0 ;
26465 int *arg3
= (int *) 0 ;
26470 PyObject
* obj0
= 0 ;
26471 char *kwnames
[] = {
26472 (char *) "self", NULL
26475 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
26476 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
26477 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetBestSizeTuple",kwnames
,&obj0
)) goto fail
;
26478 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26479 if (SWIG_arg_fail(1)) SWIG_fail
;
26481 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26482 ((wxWindow
const *)arg1
)->GetBestSize(arg2
,arg3
);
26484 wxPyEndAllowThreads(__tstate
);
26485 if (PyErr_Occurred()) SWIG_fail
;
26487 Py_INCREF(Py_None
); resultobj
= Py_None
;
26488 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
26489 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
26490 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
26491 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
26498 static PyObject
*_wrap_Window_InvalidateBestSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26499 PyObject
*resultobj
;
26500 wxWindow
*arg1
= (wxWindow
*) 0 ;
26501 PyObject
* obj0
= 0 ;
26502 char *kwnames
[] = {
26503 (char *) "self", NULL
26506 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_InvalidateBestSize",kwnames
,&obj0
)) goto fail
;
26507 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26508 if (SWIG_arg_fail(1)) SWIG_fail
;
26510 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26511 (arg1
)->InvalidateBestSize();
26513 wxPyEndAllowThreads(__tstate
);
26514 if (PyErr_Occurred()) SWIG_fail
;
26516 Py_INCREF(Py_None
); resultobj
= Py_None
;
26523 static PyObject
*_wrap_Window_GetBestFittingSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26524 PyObject
*resultobj
;
26525 wxWindow
*arg1
= (wxWindow
*) 0 ;
26527 PyObject
* obj0
= 0 ;
26528 char *kwnames
[] = {
26529 (char *) "self", NULL
26532 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetBestFittingSize",kwnames
,&obj0
)) goto fail
;
26533 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26534 if (SWIG_arg_fail(1)) SWIG_fail
;
26536 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26537 result
= ((wxWindow
const *)arg1
)->GetBestFittingSize();
26539 wxPyEndAllowThreads(__tstate
);
26540 if (PyErr_Occurred()) SWIG_fail
;
26543 wxSize
* resultptr
;
26544 resultptr
= new wxSize((wxSize
&)(result
));
26545 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
26553 static PyObject
*_wrap_Window_GetAdjustedBestSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26554 PyObject
*resultobj
;
26555 wxWindow
*arg1
= (wxWindow
*) 0 ;
26557 PyObject
* obj0
= 0 ;
26558 char *kwnames
[] = {
26559 (char *) "self", NULL
26562 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetAdjustedBestSize",kwnames
,&obj0
)) goto fail
;
26563 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26564 if (SWIG_arg_fail(1)) SWIG_fail
;
26566 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26567 result
= ((wxWindow
const *)arg1
)->GetAdjustedBestSize();
26569 wxPyEndAllowThreads(__tstate
);
26570 if (PyErr_Occurred()) SWIG_fail
;
26573 wxSize
* resultptr
;
26574 resultptr
= new wxSize((wxSize
&)(result
));
26575 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
26583 static PyObject
*_wrap_Window_Center(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26584 PyObject
*resultobj
;
26585 wxWindow
*arg1
= (wxWindow
*) 0 ;
26586 int arg2
= (int) wxBOTH
;
26587 PyObject
* obj0
= 0 ;
26588 PyObject
* obj1
= 0 ;
26589 char *kwnames
[] = {
26590 (char *) "self",(char *) "direction", NULL
26593 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_Center",kwnames
,&obj0
,&obj1
)) goto fail
;
26594 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26595 if (SWIG_arg_fail(1)) SWIG_fail
;
26598 arg2
= (int)(SWIG_As_int(obj1
));
26599 if (SWIG_arg_fail(2)) SWIG_fail
;
26603 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26604 (arg1
)->Center(arg2
);
26606 wxPyEndAllowThreads(__tstate
);
26607 if (PyErr_Occurred()) SWIG_fail
;
26609 Py_INCREF(Py_None
); resultobj
= Py_None
;
26616 static PyObject
*_wrap_Window_CenterOnScreen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26617 PyObject
*resultobj
;
26618 wxWindow
*arg1
= (wxWindow
*) 0 ;
26619 int arg2
= (int) wxBOTH
;
26620 PyObject
* obj0
= 0 ;
26621 PyObject
* obj1
= 0 ;
26622 char *kwnames
[] = {
26623 (char *) "self",(char *) "dir", NULL
26626 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_CenterOnScreen",kwnames
,&obj0
,&obj1
)) goto fail
;
26627 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26628 if (SWIG_arg_fail(1)) SWIG_fail
;
26631 arg2
= (int)(SWIG_As_int(obj1
));
26632 if (SWIG_arg_fail(2)) SWIG_fail
;
26636 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26637 (arg1
)->CenterOnScreen(arg2
);
26639 wxPyEndAllowThreads(__tstate
);
26640 if (PyErr_Occurred()) SWIG_fail
;
26642 Py_INCREF(Py_None
); resultobj
= Py_None
;
26649 static PyObject
*_wrap_Window_CenterOnParent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26650 PyObject
*resultobj
;
26651 wxWindow
*arg1
= (wxWindow
*) 0 ;
26652 int arg2
= (int) wxBOTH
;
26653 PyObject
* obj0
= 0 ;
26654 PyObject
* obj1
= 0 ;
26655 char *kwnames
[] = {
26656 (char *) "self",(char *) "dir", NULL
26659 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_CenterOnParent",kwnames
,&obj0
,&obj1
)) goto fail
;
26660 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26661 if (SWIG_arg_fail(1)) SWIG_fail
;
26664 arg2
= (int)(SWIG_As_int(obj1
));
26665 if (SWIG_arg_fail(2)) SWIG_fail
;
26669 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26670 (arg1
)->CenterOnParent(arg2
);
26672 wxPyEndAllowThreads(__tstate
);
26673 if (PyErr_Occurred()) SWIG_fail
;
26675 Py_INCREF(Py_None
); resultobj
= Py_None
;
26682 static PyObject
*_wrap_Window_Fit(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26683 PyObject
*resultobj
;
26684 wxWindow
*arg1
= (wxWindow
*) 0 ;
26685 PyObject
* obj0
= 0 ;
26686 char *kwnames
[] = {
26687 (char *) "self", NULL
26690 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Fit",kwnames
,&obj0
)) goto fail
;
26691 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26692 if (SWIG_arg_fail(1)) SWIG_fail
;
26694 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26697 wxPyEndAllowThreads(__tstate
);
26698 if (PyErr_Occurred()) SWIG_fail
;
26700 Py_INCREF(Py_None
); resultobj
= Py_None
;
26707 static PyObject
*_wrap_Window_FitInside(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26708 PyObject
*resultobj
;
26709 wxWindow
*arg1
= (wxWindow
*) 0 ;
26710 PyObject
* obj0
= 0 ;
26711 char *kwnames
[] = {
26712 (char *) "self", NULL
26715 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_FitInside",kwnames
,&obj0
)) goto fail
;
26716 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26717 if (SWIG_arg_fail(1)) SWIG_fail
;
26719 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26720 (arg1
)->FitInside();
26722 wxPyEndAllowThreads(__tstate
);
26723 if (PyErr_Occurred()) SWIG_fail
;
26725 Py_INCREF(Py_None
); resultobj
= Py_None
;
26732 static PyObject
*_wrap_Window_SetSizeHints(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26733 PyObject
*resultobj
;
26734 wxWindow
*arg1
= (wxWindow
*) 0 ;
26737 int arg4
= (int) -1 ;
26738 int arg5
= (int) -1 ;
26739 int arg6
= (int) -1 ;
26740 int arg7
= (int) -1 ;
26741 PyObject
* obj0
= 0 ;
26742 PyObject
* obj1
= 0 ;
26743 PyObject
* obj2
= 0 ;
26744 PyObject
* obj3
= 0 ;
26745 PyObject
* obj4
= 0 ;
26746 PyObject
* obj5
= 0 ;
26747 PyObject
* obj6
= 0 ;
26748 char *kwnames
[] = {
26749 (char *) "self",(char *) "minW",(char *) "minH",(char *) "maxW",(char *) "maxH",(char *) "incW",(char *) "incH", NULL
26752 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:Window_SetSizeHints",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
26753 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26754 if (SWIG_arg_fail(1)) SWIG_fail
;
26756 arg2
= (int)(SWIG_As_int(obj1
));
26757 if (SWIG_arg_fail(2)) SWIG_fail
;
26760 arg3
= (int)(SWIG_As_int(obj2
));
26761 if (SWIG_arg_fail(3)) SWIG_fail
;
26765 arg4
= (int)(SWIG_As_int(obj3
));
26766 if (SWIG_arg_fail(4)) SWIG_fail
;
26771 arg5
= (int)(SWIG_As_int(obj4
));
26772 if (SWIG_arg_fail(5)) SWIG_fail
;
26777 arg6
= (int)(SWIG_As_int(obj5
));
26778 if (SWIG_arg_fail(6)) SWIG_fail
;
26783 arg7
= (int)(SWIG_As_int(obj6
));
26784 if (SWIG_arg_fail(7)) SWIG_fail
;
26788 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26789 (arg1
)->SetSizeHints(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
26791 wxPyEndAllowThreads(__tstate
);
26792 if (PyErr_Occurred()) SWIG_fail
;
26794 Py_INCREF(Py_None
); resultobj
= Py_None
;
26801 static PyObject
*_wrap_Window_SetSizeHintsSz(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26802 PyObject
*resultobj
;
26803 wxWindow
*arg1
= (wxWindow
*) 0 ;
26805 wxSize
const &arg3_defvalue
= wxDefaultSize
;
26806 wxSize
*arg3
= (wxSize
*) &arg3_defvalue
;
26807 wxSize
const &arg4_defvalue
= wxDefaultSize
;
26808 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
26812 PyObject
* obj0
= 0 ;
26813 PyObject
* obj1
= 0 ;
26814 PyObject
* obj2
= 0 ;
26815 PyObject
* obj3
= 0 ;
26816 char *kwnames
[] = {
26817 (char *) "self",(char *) "minSize",(char *) "maxSize",(char *) "incSize", NULL
26820 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:Window_SetSizeHintsSz",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
26821 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26822 if (SWIG_arg_fail(1)) SWIG_fail
;
26825 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
26830 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
26836 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
26840 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26841 (arg1
)->SetSizeHints((wxSize
const &)*arg2
,(wxSize
const &)*arg3
,(wxSize
const &)*arg4
);
26843 wxPyEndAllowThreads(__tstate
);
26844 if (PyErr_Occurred()) SWIG_fail
;
26846 Py_INCREF(Py_None
); resultobj
= Py_None
;
26853 static PyObject
*_wrap_Window_SetVirtualSizeHints(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26854 PyObject
*resultobj
;
26855 wxWindow
*arg1
= (wxWindow
*) 0 ;
26858 int arg4
= (int) -1 ;
26859 int arg5
= (int) -1 ;
26860 PyObject
* obj0
= 0 ;
26861 PyObject
* obj1
= 0 ;
26862 PyObject
* obj2
= 0 ;
26863 PyObject
* obj3
= 0 ;
26864 PyObject
* obj4
= 0 ;
26865 char *kwnames
[] = {
26866 (char *) "self",(char *) "minW",(char *) "minH",(char *) "maxW",(char *) "maxH", NULL
26869 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:Window_SetVirtualSizeHints",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
26870 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26871 if (SWIG_arg_fail(1)) SWIG_fail
;
26873 arg2
= (int)(SWIG_As_int(obj1
));
26874 if (SWIG_arg_fail(2)) SWIG_fail
;
26877 arg3
= (int)(SWIG_As_int(obj2
));
26878 if (SWIG_arg_fail(3)) SWIG_fail
;
26882 arg4
= (int)(SWIG_As_int(obj3
));
26883 if (SWIG_arg_fail(4)) SWIG_fail
;
26888 arg5
= (int)(SWIG_As_int(obj4
));
26889 if (SWIG_arg_fail(5)) SWIG_fail
;
26893 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26894 (arg1
)->SetVirtualSizeHints(arg2
,arg3
,arg4
,arg5
);
26896 wxPyEndAllowThreads(__tstate
);
26897 if (PyErr_Occurred()) SWIG_fail
;
26899 Py_INCREF(Py_None
); resultobj
= Py_None
;
26906 static PyObject
*_wrap_Window_SetVirtualSizeHintsSz(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26907 PyObject
*resultobj
;
26908 wxWindow
*arg1
= (wxWindow
*) 0 ;
26910 wxSize
const &arg3_defvalue
= wxDefaultSize
;
26911 wxSize
*arg3
= (wxSize
*) &arg3_defvalue
;
26914 PyObject
* obj0
= 0 ;
26915 PyObject
* obj1
= 0 ;
26916 PyObject
* obj2
= 0 ;
26917 char *kwnames
[] = {
26918 (char *) "self",(char *) "minSize",(char *) "maxSize", NULL
26921 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_SetVirtualSizeHintsSz",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26922 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26923 if (SWIG_arg_fail(1)) SWIG_fail
;
26926 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
26931 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
26935 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26936 (arg1
)->SetVirtualSizeHints((wxSize
const &)*arg2
,(wxSize
const &)*arg3
);
26938 wxPyEndAllowThreads(__tstate
);
26939 if (PyErr_Occurred()) SWIG_fail
;
26941 Py_INCREF(Py_None
); resultobj
= Py_None
;
26948 static PyObject
*_wrap_Window_GetMaxSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26949 PyObject
*resultobj
;
26950 wxWindow
*arg1
= (wxWindow
*) 0 ;
26952 PyObject
* obj0
= 0 ;
26953 char *kwnames
[] = {
26954 (char *) "self", NULL
26957 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetMaxSize",kwnames
,&obj0
)) goto fail
;
26958 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26959 if (SWIG_arg_fail(1)) SWIG_fail
;
26961 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26962 result
= ((wxWindow
const *)arg1
)->GetMaxSize();
26964 wxPyEndAllowThreads(__tstate
);
26965 if (PyErr_Occurred()) SWIG_fail
;
26968 wxSize
* resultptr
;
26969 resultptr
= new wxSize((wxSize
&)(result
));
26970 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
26978 static PyObject
*_wrap_Window_GetMinSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26979 PyObject
*resultobj
;
26980 wxWindow
*arg1
= (wxWindow
*) 0 ;
26982 PyObject
* obj0
= 0 ;
26983 char *kwnames
[] = {
26984 (char *) "self", NULL
26987 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetMinSize",kwnames
,&obj0
)) goto fail
;
26988 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26989 if (SWIG_arg_fail(1)) SWIG_fail
;
26991 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26992 result
= ((wxWindow
const *)arg1
)->GetMinSize();
26994 wxPyEndAllowThreads(__tstate
);
26995 if (PyErr_Occurred()) SWIG_fail
;
26998 wxSize
* resultptr
;
26999 resultptr
= new wxSize((wxSize
&)(result
));
27000 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
27008 static PyObject
*_wrap_Window_SetMinSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27009 PyObject
*resultobj
;
27010 wxWindow
*arg1
= (wxWindow
*) 0 ;
27013 PyObject
* obj0
= 0 ;
27014 PyObject
* obj1
= 0 ;
27015 char *kwnames
[] = {
27016 (char *) "self",(char *) "minSize", NULL
27019 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetMinSize",kwnames
,&obj0
,&obj1
)) goto fail
;
27020 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27021 if (SWIG_arg_fail(1)) SWIG_fail
;
27024 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
27027 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27028 (arg1
)->SetMinSize((wxSize
const &)*arg2
);
27030 wxPyEndAllowThreads(__tstate
);
27031 if (PyErr_Occurred()) SWIG_fail
;
27033 Py_INCREF(Py_None
); resultobj
= Py_None
;
27040 static PyObject
*_wrap_Window_SetMaxSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27041 PyObject
*resultobj
;
27042 wxWindow
*arg1
= (wxWindow
*) 0 ;
27045 PyObject
* obj0
= 0 ;
27046 PyObject
* obj1
= 0 ;
27047 char *kwnames
[] = {
27048 (char *) "self",(char *) "maxSize", NULL
27051 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetMaxSize",kwnames
,&obj0
,&obj1
)) goto fail
;
27052 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27053 if (SWIG_arg_fail(1)) SWIG_fail
;
27056 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
27059 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27060 (arg1
)->SetMaxSize((wxSize
const &)*arg2
);
27062 wxPyEndAllowThreads(__tstate
);
27063 if (PyErr_Occurred()) SWIG_fail
;
27065 Py_INCREF(Py_None
); resultobj
= Py_None
;
27072 static PyObject
*_wrap_Window_GetMinWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27073 PyObject
*resultobj
;
27074 wxWindow
*arg1
= (wxWindow
*) 0 ;
27076 PyObject
* obj0
= 0 ;
27077 char *kwnames
[] = {
27078 (char *) "self", NULL
27081 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetMinWidth",kwnames
,&obj0
)) goto fail
;
27082 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27083 if (SWIG_arg_fail(1)) SWIG_fail
;
27085 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27086 result
= (int)((wxWindow
const *)arg1
)->GetMinWidth();
27088 wxPyEndAllowThreads(__tstate
);
27089 if (PyErr_Occurred()) SWIG_fail
;
27092 resultobj
= SWIG_From_int((int)(result
));
27100 static PyObject
*_wrap_Window_GetMinHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27101 PyObject
*resultobj
;
27102 wxWindow
*arg1
= (wxWindow
*) 0 ;
27104 PyObject
* obj0
= 0 ;
27105 char *kwnames
[] = {
27106 (char *) "self", NULL
27109 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetMinHeight",kwnames
,&obj0
)) goto fail
;
27110 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27111 if (SWIG_arg_fail(1)) SWIG_fail
;
27113 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27114 result
= (int)((wxWindow
const *)arg1
)->GetMinHeight();
27116 wxPyEndAllowThreads(__tstate
);
27117 if (PyErr_Occurred()) SWIG_fail
;
27120 resultobj
= SWIG_From_int((int)(result
));
27128 static PyObject
*_wrap_Window_GetMaxWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27129 PyObject
*resultobj
;
27130 wxWindow
*arg1
= (wxWindow
*) 0 ;
27132 PyObject
* obj0
= 0 ;
27133 char *kwnames
[] = {
27134 (char *) "self", NULL
27137 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetMaxWidth",kwnames
,&obj0
)) goto fail
;
27138 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27139 if (SWIG_arg_fail(1)) SWIG_fail
;
27141 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27142 result
= (int)((wxWindow
const *)arg1
)->GetMaxWidth();
27144 wxPyEndAllowThreads(__tstate
);
27145 if (PyErr_Occurred()) SWIG_fail
;
27148 resultobj
= SWIG_From_int((int)(result
));
27156 static PyObject
*_wrap_Window_GetMaxHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27157 PyObject
*resultobj
;
27158 wxWindow
*arg1
= (wxWindow
*) 0 ;
27160 PyObject
* obj0
= 0 ;
27161 char *kwnames
[] = {
27162 (char *) "self", NULL
27165 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetMaxHeight",kwnames
,&obj0
)) goto fail
;
27166 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27167 if (SWIG_arg_fail(1)) SWIG_fail
;
27169 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27170 result
= (int)((wxWindow
const *)arg1
)->GetMaxHeight();
27172 wxPyEndAllowThreads(__tstate
);
27173 if (PyErr_Occurred()) SWIG_fail
;
27176 resultobj
= SWIG_From_int((int)(result
));
27184 static PyObject
*_wrap_Window_SetVirtualSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27185 PyObject
*resultobj
;
27186 wxWindow
*arg1
= (wxWindow
*) 0 ;
27189 PyObject
* obj0
= 0 ;
27190 PyObject
* obj1
= 0 ;
27191 char *kwnames
[] = {
27192 (char *) "self",(char *) "size", NULL
27195 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetVirtualSize",kwnames
,&obj0
,&obj1
)) goto fail
;
27196 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27197 if (SWIG_arg_fail(1)) SWIG_fail
;
27200 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
27203 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27204 (arg1
)->SetVirtualSize((wxSize
const &)*arg2
);
27206 wxPyEndAllowThreads(__tstate
);
27207 if (PyErr_Occurred()) SWIG_fail
;
27209 Py_INCREF(Py_None
); resultobj
= Py_None
;
27216 static PyObject
*_wrap_Window_SetVirtualSizeWH(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27217 PyObject
*resultobj
;
27218 wxWindow
*arg1
= (wxWindow
*) 0 ;
27221 PyObject
* obj0
= 0 ;
27222 PyObject
* obj1
= 0 ;
27223 PyObject
* obj2
= 0 ;
27224 char *kwnames
[] = {
27225 (char *) "self",(char *) "w",(char *) "h", NULL
27228 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_SetVirtualSizeWH",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
27229 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27230 if (SWIG_arg_fail(1)) SWIG_fail
;
27232 arg2
= (int)(SWIG_As_int(obj1
));
27233 if (SWIG_arg_fail(2)) SWIG_fail
;
27236 arg3
= (int)(SWIG_As_int(obj2
));
27237 if (SWIG_arg_fail(3)) SWIG_fail
;
27240 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27241 (arg1
)->SetVirtualSize(arg2
,arg3
);
27243 wxPyEndAllowThreads(__tstate
);
27244 if (PyErr_Occurred()) SWIG_fail
;
27246 Py_INCREF(Py_None
); resultobj
= Py_None
;
27253 static PyObject
*_wrap_Window_GetVirtualSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27254 PyObject
*resultobj
;
27255 wxWindow
*arg1
= (wxWindow
*) 0 ;
27257 PyObject
* obj0
= 0 ;
27258 char *kwnames
[] = {
27259 (char *) "self", NULL
27262 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetVirtualSize",kwnames
,&obj0
)) goto fail
;
27263 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27264 if (SWIG_arg_fail(1)) SWIG_fail
;
27266 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27267 result
= ((wxWindow
const *)arg1
)->GetVirtualSize();
27269 wxPyEndAllowThreads(__tstate
);
27270 if (PyErr_Occurred()) SWIG_fail
;
27273 wxSize
* resultptr
;
27274 resultptr
= new wxSize((wxSize
&)(result
));
27275 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
27283 static PyObject
*_wrap_Window_GetVirtualSizeTuple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27284 PyObject
*resultobj
;
27285 wxWindow
*arg1
= (wxWindow
*) 0 ;
27286 int *arg2
= (int *) 0 ;
27287 int *arg3
= (int *) 0 ;
27292 PyObject
* obj0
= 0 ;
27293 char *kwnames
[] = {
27294 (char *) "self", NULL
27297 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
27298 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
27299 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetVirtualSizeTuple",kwnames
,&obj0
)) goto fail
;
27300 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27301 if (SWIG_arg_fail(1)) SWIG_fail
;
27303 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27304 ((wxWindow
const *)arg1
)->GetVirtualSize(arg2
,arg3
);
27306 wxPyEndAllowThreads(__tstate
);
27307 if (PyErr_Occurred()) SWIG_fail
;
27309 Py_INCREF(Py_None
); resultobj
= Py_None
;
27310 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
27311 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
27312 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
27313 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
27320 static PyObject
*_wrap_Window_GetBestVirtualSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27321 PyObject
*resultobj
;
27322 wxWindow
*arg1
= (wxWindow
*) 0 ;
27324 PyObject
* obj0
= 0 ;
27325 char *kwnames
[] = {
27326 (char *) "self", NULL
27329 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetBestVirtualSize",kwnames
,&obj0
)) goto fail
;
27330 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27331 if (SWIG_arg_fail(1)) SWIG_fail
;
27333 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27334 result
= ((wxWindow
const *)arg1
)->GetBestVirtualSize();
27336 wxPyEndAllowThreads(__tstate
);
27337 if (PyErr_Occurred()) SWIG_fail
;
27340 wxSize
* resultptr
;
27341 resultptr
= new wxSize((wxSize
&)(result
));
27342 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
27350 static PyObject
*_wrap_Window_Show(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27351 PyObject
*resultobj
;
27352 wxWindow
*arg1
= (wxWindow
*) 0 ;
27353 bool arg2
= (bool) true ;
27355 PyObject
* obj0
= 0 ;
27356 PyObject
* obj1
= 0 ;
27357 char *kwnames
[] = {
27358 (char *) "self",(char *) "show", NULL
27361 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_Show",kwnames
,&obj0
,&obj1
)) goto fail
;
27362 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27363 if (SWIG_arg_fail(1)) SWIG_fail
;
27366 arg2
= (bool)(SWIG_As_bool(obj1
));
27367 if (SWIG_arg_fail(2)) SWIG_fail
;
27371 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27372 result
= (bool)(arg1
)->Show(arg2
);
27374 wxPyEndAllowThreads(__tstate
);
27375 if (PyErr_Occurred()) SWIG_fail
;
27378 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27386 static PyObject
*_wrap_Window_Hide(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27387 PyObject
*resultobj
;
27388 wxWindow
*arg1
= (wxWindow
*) 0 ;
27390 PyObject
* obj0
= 0 ;
27391 char *kwnames
[] = {
27392 (char *) "self", NULL
27395 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Hide",kwnames
,&obj0
)) goto fail
;
27396 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27397 if (SWIG_arg_fail(1)) SWIG_fail
;
27399 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27400 result
= (bool)(arg1
)->Hide();
27402 wxPyEndAllowThreads(__tstate
);
27403 if (PyErr_Occurred()) SWIG_fail
;
27406 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27414 static PyObject
*_wrap_Window_Enable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27415 PyObject
*resultobj
;
27416 wxWindow
*arg1
= (wxWindow
*) 0 ;
27417 bool arg2
= (bool) true ;
27419 PyObject
* obj0
= 0 ;
27420 PyObject
* obj1
= 0 ;
27421 char *kwnames
[] = {
27422 (char *) "self",(char *) "enable", NULL
27425 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_Enable",kwnames
,&obj0
,&obj1
)) goto fail
;
27426 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27427 if (SWIG_arg_fail(1)) SWIG_fail
;
27430 arg2
= (bool)(SWIG_As_bool(obj1
));
27431 if (SWIG_arg_fail(2)) SWIG_fail
;
27435 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27436 result
= (bool)(arg1
)->Enable(arg2
);
27438 wxPyEndAllowThreads(__tstate
);
27439 if (PyErr_Occurred()) SWIG_fail
;
27442 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27450 static PyObject
*_wrap_Window_Disable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27451 PyObject
*resultobj
;
27452 wxWindow
*arg1
= (wxWindow
*) 0 ;
27454 PyObject
* obj0
= 0 ;
27455 char *kwnames
[] = {
27456 (char *) "self", NULL
27459 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Disable",kwnames
,&obj0
)) goto fail
;
27460 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27461 if (SWIG_arg_fail(1)) SWIG_fail
;
27463 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27464 result
= (bool)(arg1
)->Disable();
27466 wxPyEndAllowThreads(__tstate
);
27467 if (PyErr_Occurred()) SWIG_fail
;
27470 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27478 static PyObject
*_wrap_Window_IsShown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27479 PyObject
*resultobj
;
27480 wxWindow
*arg1
= (wxWindow
*) 0 ;
27482 PyObject
* obj0
= 0 ;
27483 char *kwnames
[] = {
27484 (char *) "self", NULL
27487 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_IsShown",kwnames
,&obj0
)) goto fail
;
27488 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27489 if (SWIG_arg_fail(1)) SWIG_fail
;
27491 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27492 result
= (bool)((wxWindow
const *)arg1
)->IsShown();
27494 wxPyEndAllowThreads(__tstate
);
27495 if (PyErr_Occurred()) SWIG_fail
;
27498 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27506 static PyObject
*_wrap_Window_IsEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27507 PyObject
*resultobj
;
27508 wxWindow
*arg1
= (wxWindow
*) 0 ;
27510 PyObject
* obj0
= 0 ;
27511 char *kwnames
[] = {
27512 (char *) "self", NULL
27515 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_IsEnabled",kwnames
,&obj0
)) goto fail
;
27516 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27517 if (SWIG_arg_fail(1)) SWIG_fail
;
27519 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27520 result
= (bool)((wxWindow
const *)arg1
)->IsEnabled();
27522 wxPyEndAllowThreads(__tstate
);
27523 if (PyErr_Occurred()) SWIG_fail
;
27526 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27534 static PyObject
*_wrap_Window_SetWindowStyleFlag(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27535 PyObject
*resultobj
;
27536 wxWindow
*arg1
= (wxWindow
*) 0 ;
27538 PyObject
* obj0
= 0 ;
27539 PyObject
* obj1
= 0 ;
27540 char *kwnames
[] = {
27541 (char *) "self",(char *) "style", NULL
27544 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetWindowStyleFlag",kwnames
,&obj0
,&obj1
)) goto fail
;
27545 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27546 if (SWIG_arg_fail(1)) SWIG_fail
;
27548 arg2
= (long)(SWIG_As_long(obj1
));
27549 if (SWIG_arg_fail(2)) SWIG_fail
;
27552 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27553 (arg1
)->SetWindowStyleFlag(arg2
);
27555 wxPyEndAllowThreads(__tstate
);
27556 if (PyErr_Occurred()) SWIG_fail
;
27558 Py_INCREF(Py_None
); resultobj
= Py_None
;
27565 static PyObject
*_wrap_Window_GetWindowStyleFlag(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27566 PyObject
*resultobj
;
27567 wxWindow
*arg1
= (wxWindow
*) 0 ;
27569 PyObject
* obj0
= 0 ;
27570 char *kwnames
[] = {
27571 (char *) "self", NULL
27574 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetWindowStyleFlag",kwnames
,&obj0
)) goto fail
;
27575 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27576 if (SWIG_arg_fail(1)) SWIG_fail
;
27578 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27579 result
= (long)((wxWindow
const *)arg1
)->GetWindowStyleFlag();
27581 wxPyEndAllowThreads(__tstate
);
27582 if (PyErr_Occurred()) SWIG_fail
;
27585 resultobj
= SWIG_From_long((long)(result
));
27593 static PyObject
*_wrap_Window_HasFlag(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27594 PyObject
*resultobj
;
27595 wxWindow
*arg1
= (wxWindow
*) 0 ;
27598 PyObject
* obj0
= 0 ;
27599 PyObject
* obj1
= 0 ;
27600 char *kwnames
[] = {
27601 (char *) "self",(char *) "flag", NULL
27604 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_HasFlag",kwnames
,&obj0
,&obj1
)) goto fail
;
27605 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27606 if (SWIG_arg_fail(1)) SWIG_fail
;
27608 arg2
= (int)(SWIG_As_int(obj1
));
27609 if (SWIG_arg_fail(2)) SWIG_fail
;
27612 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27613 result
= (bool)((wxWindow
const *)arg1
)->HasFlag(arg2
);
27615 wxPyEndAllowThreads(__tstate
);
27616 if (PyErr_Occurred()) SWIG_fail
;
27619 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27627 static PyObject
*_wrap_Window_IsRetained(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27628 PyObject
*resultobj
;
27629 wxWindow
*arg1
= (wxWindow
*) 0 ;
27631 PyObject
* obj0
= 0 ;
27632 char *kwnames
[] = {
27633 (char *) "self", NULL
27636 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_IsRetained",kwnames
,&obj0
)) goto fail
;
27637 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27638 if (SWIG_arg_fail(1)) SWIG_fail
;
27640 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27641 result
= (bool)((wxWindow
const *)arg1
)->IsRetained();
27643 wxPyEndAllowThreads(__tstate
);
27644 if (PyErr_Occurred()) SWIG_fail
;
27647 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27655 static PyObject
*_wrap_Window_SetExtraStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27656 PyObject
*resultobj
;
27657 wxWindow
*arg1
= (wxWindow
*) 0 ;
27659 PyObject
* obj0
= 0 ;
27660 PyObject
* obj1
= 0 ;
27661 char *kwnames
[] = {
27662 (char *) "self",(char *) "exStyle", NULL
27665 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetExtraStyle",kwnames
,&obj0
,&obj1
)) goto fail
;
27666 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27667 if (SWIG_arg_fail(1)) SWIG_fail
;
27669 arg2
= (long)(SWIG_As_long(obj1
));
27670 if (SWIG_arg_fail(2)) SWIG_fail
;
27673 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27674 (arg1
)->SetExtraStyle(arg2
);
27676 wxPyEndAllowThreads(__tstate
);
27677 if (PyErr_Occurred()) SWIG_fail
;
27679 Py_INCREF(Py_None
); resultobj
= Py_None
;
27686 static PyObject
*_wrap_Window_GetExtraStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27687 PyObject
*resultobj
;
27688 wxWindow
*arg1
= (wxWindow
*) 0 ;
27690 PyObject
* obj0
= 0 ;
27691 char *kwnames
[] = {
27692 (char *) "self", NULL
27695 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetExtraStyle",kwnames
,&obj0
)) goto fail
;
27696 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27697 if (SWIG_arg_fail(1)) SWIG_fail
;
27699 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27700 result
= (long)((wxWindow
const *)arg1
)->GetExtraStyle();
27702 wxPyEndAllowThreads(__tstate
);
27703 if (PyErr_Occurred()) SWIG_fail
;
27706 resultobj
= SWIG_From_long((long)(result
));
27714 static PyObject
*_wrap_Window_MakeModal(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27715 PyObject
*resultobj
;
27716 wxWindow
*arg1
= (wxWindow
*) 0 ;
27717 bool arg2
= (bool) true ;
27718 PyObject
* obj0
= 0 ;
27719 PyObject
* obj1
= 0 ;
27720 char *kwnames
[] = {
27721 (char *) "self",(char *) "modal", NULL
27724 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_MakeModal",kwnames
,&obj0
,&obj1
)) goto fail
;
27725 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27726 if (SWIG_arg_fail(1)) SWIG_fail
;
27729 arg2
= (bool)(SWIG_As_bool(obj1
));
27730 if (SWIG_arg_fail(2)) SWIG_fail
;
27734 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27735 (arg1
)->MakeModal(arg2
);
27737 wxPyEndAllowThreads(__tstate
);
27738 if (PyErr_Occurred()) SWIG_fail
;
27740 Py_INCREF(Py_None
); resultobj
= Py_None
;
27747 static PyObject
*_wrap_Window_SetThemeEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27748 PyObject
*resultobj
;
27749 wxWindow
*arg1
= (wxWindow
*) 0 ;
27751 PyObject
* obj0
= 0 ;
27752 PyObject
* obj1
= 0 ;
27753 char *kwnames
[] = {
27754 (char *) "self",(char *) "enableTheme", NULL
27757 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetThemeEnabled",kwnames
,&obj0
,&obj1
)) goto fail
;
27758 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27759 if (SWIG_arg_fail(1)) SWIG_fail
;
27761 arg2
= (bool)(SWIG_As_bool(obj1
));
27762 if (SWIG_arg_fail(2)) SWIG_fail
;
27765 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27766 (arg1
)->SetThemeEnabled(arg2
);
27768 wxPyEndAllowThreads(__tstate
);
27769 if (PyErr_Occurred()) SWIG_fail
;
27771 Py_INCREF(Py_None
); resultobj
= Py_None
;
27778 static PyObject
*_wrap_Window_GetThemeEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27779 PyObject
*resultobj
;
27780 wxWindow
*arg1
= (wxWindow
*) 0 ;
27782 PyObject
* obj0
= 0 ;
27783 char *kwnames
[] = {
27784 (char *) "self", NULL
27787 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetThemeEnabled",kwnames
,&obj0
)) goto fail
;
27788 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27789 if (SWIG_arg_fail(1)) SWIG_fail
;
27791 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27792 result
= (bool)((wxWindow
const *)arg1
)->GetThemeEnabled();
27794 wxPyEndAllowThreads(__tstate
);
27795 if (PyErr_Occurred()) SWIG_fail
;
27798 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27806 static PyObject
*_wrap_Window_SetFocus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27807 PyObject
*resultobj
;
27808 wxWindow
*arg1
= (wxWindow
*) 0 ;
27809 PyObject
* obj0
= 0 ;
27810 char *kwnames
[] = {
27811 (char *) "self", NULL
27814 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_SetFocus",kwnames
,&obj0
)) goto fail
;
27815 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27816 if (SWIG_arg_fail(1)) SWIG_fail
;
27818 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27819 (arg1
)->SetFocus();
27821 wxPyEndAllowThreads(__tstate
);
27822 if (PyErr_Occurred()) SWIG_fail
;
27824 Py_INCREF(Py_None
); resultobj
= Py_None
;
27831 static PyObject
*_wrap_Window_SetFocusFromKbd(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27832 PyObject
*resultobj
;
27833 wxWindow
*arg1
= (wxWindow
*) 0 ;
27834 PyObject
* obj0
= 0 ;
27835 char *kwnames
[] = {
27836 (char *) "self", NULL
27839 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_SetFocusFromKbd",kwnames
,&obj0
)) goto fail
;
27840 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27841 if (SWIG_arg_fail(1)) SWIG_fail
;
27843 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27844 (arg1
)->SetFocusFromKbd();
27846 wxPyEndAllowThreads(__tstate
);
27847 if (PyErr_Occurred()) SWIG_fail
;
27849 Py_INCREF(Py_None
); resultobj
= Py_None
;
27856 static PyObject
*_wrap_Window_FindFocus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27857 PyObject
*resultobj
;
27859 char *kwnames
[] = {
27863 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Window_FindFocus",kwnames
)) goto fail
;
27865 if (!wxPyCheckForApp()) SWIG_fail
;
27866 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27867 result
= (wxWindow
*)wxWindow::FindFocus();
27869 wxPyEndAllowThreads(__tstate
);
27870 if (PyErr_Occurred()) SWIG_fail
;
27873 resultobj
= wxPyMake_wxObject(result
, 0);
27881 static PyObject
*_wrap_Window_AcceptsFocus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27882 PyObject
*resultobj
;
27883 wxWindow
*arg1
= (wxWindow
*) 0 ;
27885 PyObject
* obj0
= 0 ;
27886 char *kwnames
[] = {
27887 (char *) "self", NULL
27890 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_AcceptsFocus",kwnames
,&obj0
)) goto fail
;
27891 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27892 if (SWIG_arg_fail(1)) SWIG_fail
;
27894 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27895 result
= (bool)((wxWindow
const *)arg1
)->AcceptsFocus();
27897 wxPyEndAllowThreads(__tstate
);
27898 if (PyErr_Occurred()) SWIG_fail
;
27901 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27909 static PyObject
*_wrap_Window_AcceptsFocusFromKeyboard(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27910 PyObject
*resultobj
;
27911 wxWindow
*arg1
= (wxWindow
*) 0 ;
27913 PyObject
* obj0
= 0 ;
27914 char *kwnames
[] = {
27915 (char *) "self", NULL
27918 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_AcceptsFocusFromKeyboard",kwnames
,&obj0
)) goto fail
;
27919 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27920 if (SWIG_arg_fail(1)) SWIG_fail
;
27922 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27923 result
= (bool)((wxWindow
const *)arg1
)->AcceptsFocusFromKeyboard();
27925 wxPyEndAllowThreads(__tstate
);
27926 if (PyErr_Occurred()) SWIG_fail
;
27929 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27937 static PyObject
*_wrap_Window_GetDefaultItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27938 PyObject
*resultobj
;
27939 wxWindow
*arg1
= (wxWindow
*) 0 ;
27941 PyObject
* obj0
= 0 ;
27942 char *kwnames
[] = {
27943 (char *) "self", NULL
27946 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetDefaultItem",kwnames
,&obj0
)) goto fail
;
27947 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27948 if (SWIG_arg_fail(1)) SWIG_fail
;
27950 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27951 result
= (wxWindow
*)((wxWindow
const *)arg1
)->GetDefaultItem();
27953 wxPyEndAllowThreads(__tstate
);
27954 if (PyErr_Occurred()) SWIG_fail
;
27957 resultobj
= wxPyMake_wxObject(result
, 0);
27965 static PyObject
*_wrap_Window_SetDefaultItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27966 PyObject
*resultobj
;
27967 wxWindow
*arg1
= (wxWindow
*) 0 ;
27968 wxWindow
*arg2
= (wxWindow
*) 0 ;
27970 PyObject
* obj0
= 0 ;
27971 PyObject
* obj1
= 0 ;
27972 char *kwnames
[] = {
27973 (char *) "self",(char *) "child", NULL
27976 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetDefaultItem",kwnames
,&obj0
,&obj1
)) goto fail
;
27977 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27978 if (SWIG_arg_fail(1)) SWIG_fail
;
27979 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27980 if (SWIG_arg_fail(2)) SWIG_fail
;
27982 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27983 result
= (wxWindow
*)(arg1
)->SetDefaultItem(arg2
);
27985 wxPyEndAllowThreads(__tstate
);
27986 if (PyErr_Occurred()) SWIG_fail
;
27989 resultobj
= wxPyMake_wxObject(result
, 0);
27997 static PyObject
*_wrap_Window_SetTmpDefaultItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27998 PyObject
*resultobj
;
27999 wxWindow
*arg1
= (wxWindow
*) 0 ;
28000 wxWindow
*arg2
= (wxWindow
*) 0 ;
28001 PyObject
* obj0
= 0 ;
28002 PyObject
* obj1
= 0 ;
28003 char *kwnames
[] = {
28004 (char *) "self",(char *) "win", NULL
28007 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetTmpDefaultItem",kwnames
,&obj0
,&obj1
)) goto fail
;
28008 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28009 if (SWIG_arg_fail(1)) SWIG_fail
;
28010 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28011 if (SWIG_arg_fail(2)) SWIG_fail
;
28013 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28014 (arg1
)->SetTmpDefaultItem(arg2
);
28016 wxPyEndAllowThreads(__tstate
);
28017 if (PyErr_Occurred()) SWIG_fail
;
28019 Py_INCREF(Py_None
); resultobj
= Py_None
;
28026 static PyObject
*_wrap_Window_Navigate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28027 PyObject
*resultobj
;
28028 wxWindow
*arg1
= (wxWindow
*) 0 ;
28029 int arg2
= (int) wxNavigationKeyEvent::IsForward
;
28031 PyObject
* obj0
= 0 ;
28032 PyObject
* obj1
= 0 ;
28033 char *kwnames
[] = {
28034 (char *) "self",(char *) "flags", NULL
28037 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_Navigate",kwnames
,&obj0
,&obj1
)) goto fail
;
28038 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28039 if (SWIG_arg_fail(1)) SWIG_fail
;
28042 arg2
= (int)(SWIG_As_int(obj1
));
28043 if (SWIG_arg_fail(2)) SWIG_fail
;
28047 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28048 result
= (bool)(arg1
)->Navigate(arg2
);
28050 wxPyEndAllowThreads(__tstate
);
28051 if (PyErr_Occurred()) SWIG_fail
;
28054 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28062 static PyObject
*_wrap_Window_MoveAfterInTabOrder(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28063 PyObject
*resultobj
;
28064 wxWindow
*arg1
= (wxWindow
*) 0 ;
28065 wxWindow
*arg2
= (wxWindow
*) 0 ;
28066 PyObject
* obj0
= 0 ;
28067 PyObject
* obj1
= 0 ;
28068 char *kwnames
[] = {
28069 (char *) "self",(char *) "win", NULL
28072 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_MoveAfterInTabOrder",kwnames
,&obj0
,&obj1
)) goto fail
;
28073 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28074 if (SWIG_arg_fail(1)) SWIG_fail
;
28075 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28076 if (SWIG_arg_fail(2)) SWIG_fail
;
28078 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28079 (arg1
)->MoveAfterInTabOrder(arg2
);
28081 wxPyEndAllowThreads(__tstate
);
28082 if (PyErr_Occurred()) SWIG_fail
;
28084 Py_INCREF(Py_None
); resultobj
= Py_None
;
28091 static PyObject
*_wrap_Window_MoveBeforeInTabOrder(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28092 PyObject
*resultobj
;
28093 wxWindow
*arg1
= (wxWindow
*) 0 ;
28094 wxWindow
*arg2
= (wxWindow
*) 0 ;
28095 PyObject
* obj0
= 0 ;
28096 PyObject
* obj1
= 0 ;
28097 char *kwnames
[] = {
28098 (char *) "self",(char *) "win", NULL
28101 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_MoveBeforeInTabOrder",kwnames
,&obj0
,&obj1
)) goto fail
;
28102 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28103 if (SWIG_arg_fail(1)) SWIG_fail
;
28104 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28105 if (SWIG_arg_fail(2)) SWIG_fail
;
28107 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28108 (arg1
)->MoveBeforeInTabOrder(arg2
);
28110 wxPyEndAllowThreads(__tstate
);
28111 if (PyErr_Occurred()) SWIG_fail
;
28113 Py_INCREF(Py_None
); resultobj
= Py_None
;
28120 static PyObject
*_wrap_Window_GetChildren(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28121 PyObject
*resultobj
;
28122 wxWindow
*arg1
= (wxWindow
*) 0 ;
28124 PyObject
* obj0
= 0 ;
28125 char *kwnames
[] = {
28126 (char *) "self", NULL
28129 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetChildren",kwnames
,&obj0
)) goto fail
;
28130 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28131 if (SWIG_arg_fail(1)) SWIG_fail
;
28133 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28134 result
= (PyObject
*)wxWindow_GetChildren(arg1
);
28136 wxPyEndAllowThreads(__tstate
);
28137 if (PyErr_Occurred()) SWIG_fail
;
28139 resultobj
= result
;
28146 static PyObject
*_wrap_Window_GetParent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28147 PyObject
*resultobj
;
28148 wxWindow
*arg1
= (wxWindow
*) 0 ;
28150 PyObject
* obj0
= 0 ;
28151 char *kwnames
[] = {
28152 (char *) "self", NULL
28155 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetParent",kwnames
,&obj0
)) goto fail
;
28156 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28157 if (SWIG_arg_fail(1)) SWIG_fail
;
28159 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28160 result
= (wxWindow
*)((wxWindow
const *)arg1
)->GetParent();
28162 wxPyEndAllowThreads(__tstate
);
28163 if (PyErr_Occurred()) SWIG_fail
;
28166 resultobj
= wxPyMake_wxObject(result
, 0);
28174 static PyObject
*_wrap_Window_GetGrandParent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28175 PyObject
*resultobj
;
28176 wxWindow
*arg1
= (wxWindow
*) 0 ;
28178 PyObject
* obj0
= 0 ;
28179 char *kwnames
[] = {
28180 (char *) "self", NULL
28183 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetGrandParent",kwnames
,&obj0
)) goto fail
;
28184 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28185 if (SWIG_arg_fail(1)) SWIG_fail
;
28187 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28188 result
= (wxWindow
*)((wxWindow
const *)arg1
)->GetGrandParent();
28190 wxPyEndAllowThreads(__tstate
);
28191 if (PyErr_Occurred()) SWIG_fail
;
28194 resultobj
= wxPyMake_wxObject(result
, 0);
28202 static PyObject
*_wrap_Window_IsTopLevel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28203 PyObject
*resultobj
;
28204 wxWindow
*arg1
= (wxWindow
*) 0 ;
28206 PyObject
* obj0
= 0 ;
28207 char *kwnames
[] = {
28208 (char *) "self", NULL
28211 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_IsTopLevel",kwnames
,&obj0
)) goto fail
;
28212 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28213 if (SWIG_arg_fail(1)) SWIG_fail
;
28215 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28216 result
= (bool)((wxWindow
const *)arg1
)->IsTopLevel();
28218 wxPyEndAllowThreads(__tstate
);
28219 if (PyErr_Occurred()) SWIG_fail
;
28222 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28230 static PyObject
*_wrap_Window_Reparent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28231 PyObject
*resultobj
;
28232 wxWindow
*arg1
= (wxWindow
*) 0 ;
28233 wxWindow
*arg2
= (wxWindow
*) 0 ;
28235 PyObject
* obj0
= 0 ;
28236 PyObject
* obj1
= 0 ;
28237 char *kwnames
[] = {
28238 (char *) "self",(char *) "newParent", NULL
28241 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_Reparent",kwnames
,&obj0
,&obj1
)) goto fail
;
28242 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28243 if (SWIG_arg_fail(1)) SWIG_fail
;
28244 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28245 if (SWIG_arg_fail(2)) SWIG_fail
;
28247 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28248 result
= (bool)(arg1
)->Reparent(arg2
);
28250 wxPyEndAllowThreads(__tstate
);
28251 if (PyErr_Occurred()) SWIG_fail
;
28254 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28262 static PyObject
*_wrap_Window_AddChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28263 PyObject
*resultobj
;
28264 wxWindow
*arg1
= (wxWindow
*) 0 ;
28265 wxWindow
*arg2
= (wxWindow
*) 0 ;
28266 PyObject
* obj0
= 0 ;
28267 PyObject
* obj1
= 0 ;
28268 char *kwnames
[] = {
28269 (char *) "self",(char *) "child", NULL
28272 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_AddChild",kwnames
,&obj0
,&obj1
)) goto fail
;
28273 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28274 if (SWIG_arg_fail(1)) SWIG_fail
;
28275 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28276 if (SWIG_arg_fail(2)) SWIG_fail
;
28278 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28279 (arg1
)->AddChild(arg2
);
28281 wxPyEndAllowThreads(__tstate
);
28282 if (PyErr_Occurred()) SWIG_fail
;
28284 Py_INCREF(Py_None
); resultobj
= Py_None
;
28291 static PyObject
*_wrap_Window_RemoveChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28292 PyObject
*resultobj
;
28293 wxWindow
*arg1
= (wxWindow
*) 0 ;
28294 wxWindow
*arg2
= (wxWindow
*) 0 ;
28295 PyObject
* obj0
= 0 ;
28296 PyObject
* obj1
= 0 ;
28297 char *kwnames
[] = {
28298 (char *) "self",(char *) "child", NULL
28301 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_RemoveChild",kwnames
,&obj0
,&obj1
)) goto fail
;
28302 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28303 if (SWIG_arg_fail(1)) SWIG_fail
;
28304 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28305 if (SWIG_arg_fail(2)) SWIG_fail
;
28307 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28308 (arg1
)->RemoveChild(arg2
);
28310 wxPyEndAllowThreads(__tstate
);
28311 if (PyErr_Occurred()) SWIG_fail
;
28313 Py_INCREF(Py_None
); resultobj
= Py_None
;
28320 static PyObject
*_wrap_Window_FindWindowById(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28321 PyObject
*resultobj
;
28322 wxWindow
*arg1
= (wxWindow
*) 0 ;
28325 PyObject
* obj0
= 0 ;
28326 PyObject
* obj1
= 0 ;
28327 char *kwnames
[] = {
28328 (char *) "self",(char *) "winid", NULL
28331 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_FindWindowById",kwnames
,&obj0
,&obj1
)) goto fail
;
28332 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28333 if (SWIG_arg_fail(1)) SWIG_fail
;
28335 arg2
= (long)(SWIG_As_long(obj1
));
28336 if (SWIG_arg_fail(2)) SWIG_fail
;
28339 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28340 result
= (wxWindow
*)(arg1
)->FindWindow(arg2
);
28342 wxPyEndAllowThreads(__tstate
);
28343 if (PyErr_Occurred()) SWIG_fail
;
28346 resultobj
= wxPyMake_wxObject(result
, 0);
28354 static PyObject
*_wrap_Window_FindWindowByName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28355 PyObject
*resultobj
;
28356 wxWindow
*arg1
= (wxWindow
*) 0 ;
28357 wxString
*arg2
= 0 ;
28359 bool temp2
= false ;
28360 PyObject
* obj0
= 0 ;
28361 PyObject
* obj1
= 0 ;
28362 char *kwnames
[] = {
28363 (char *) "self",(char *) "name", NULL
28366 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_FindWindowByName",kwnames
,&obj0
,&obj1
)) goto fail
;
28367 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28368 if (SWIG_arg_fail(1)) SWIG_fail
;
28370 arg2
= wxString_in_helper(obj1
);
28371 if (arg2
== NULL
) SWIG_fail
;
28375 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28376 result
= (wxWindow
*)(arg1
)->FindWindow((wxString
const &)*arg2
);
28378 wxPyEndAllowThreads(__tstate
);
28379 if (PyErr_Occurred()) SWIG_fail
;
28382 resultobj
= wxPyMake_wxObject(result
, 0);
28398 static PyObject
*_wrap_Window_GetEventHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28399 PyObject
*resultobj
;
28400 wxWindow
*arg1
= (wxWindow
*) 0 ;
28401 wxEvtHandler
*result
;
28402 PyObject
* obj0
= 0 ;
28403 char *kwnames
[] = {
28404 (char *) "self", NULL
28407 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetEventHandler",kwnames
,&obj0
)) 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 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28412 result
= (wxEvtHandler
*)((wxWindow
const *)arg1
)->GetEventHandler();
28414 wxPyEndAllowThreads(__tstate
);
28415 if (PyErr_Occurred()) SWIG_fail
;
28418 resultobj
= wxPyMake_wxObject(result
, 0);
28426 static PyObject
*_wrap_Window_SetEventHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28427 PyObject
*resultobj
;
28428 wxWindow
*arg1
= (wxWindow
*) 0 ;
28429 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
28430 PyObject
* obj0
= 0 ;
28431 PyObject
* obj1
= 0 ;
28432 char *kwnames
[] = {
28433 (char *) "self",(char *) "handler", NULL
28436 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetEventHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
28437 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28438 if (SWIG_arg_fail(1)) SWIG_fail
;
28439 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
28440 if (SWIG_arg_fail(2)) SWIG_fail
;
28442 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28443 (arg1
)->SetEventHandler(arg2
);
28445 wxPyEndAllowThreads(__tstate
);
28446 if (PyErr_Occurred()) SWIG_fail
;
28448 Py_INCREF(Py_None
); resultobj
= Py_None
;
28455 static PyObject
*_wrap_Window_PushEventHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28456 PyObject
*resultobj
;
28457 wxWindow
*arg1
= (wxWindow
*) 0 ;
28458 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
28459 PyObject
* obj0
= 0 ;
28460 PyObject
* obj1
= 0 ;
28461 char *kwnames
[] = {
28462 (char *) "self",(char *) "handler", NULL
28465 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_PushEventHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
28466 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28467 if (SWIG_arg_fail(1)) SWIG_fail
;
28468 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
28469 if (SWIG_arg_fail(2)) SWIG_fail
;
28471 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28472 (arg1
)->PushEventHandler(arg2
);
28474 wxPyEndAllowThreads(__tstate
);
28475 if (PyErr_Occurred()) SWIG_fail
;
28477 Py_INCREF(Py_None
); resultobj
= Py_None
;
28484 static PyObject
*_wrap_Window_PopEventHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28485 PyObject
*resultobj
;
28486 wxWindow
*arg1
= (wxWindow
*) 0 ;
28487 bool arg2
= (bool) false ;
28488 wxEvtHandler
*result
;
28489 PyObject
* obj0
= 0 ;
28490 PyObject
* obj1
= 0 ;
28491 char *kwnames
[] = {
28492 (char *) "self",(char *) "deleteHandler", NULL
28495 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_PopEventHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
28496 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28497 if (SWIG_arg_fail(1)) SWIG_fail
;
28500 arg2
= (bool)(SWIG_As_bool(obj1
));
28501 if (SWIG_arg_fail(2)) SWIG_fail
;
28505 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28506 result
= (wxEvtHandler
*)(arg1
)->PopEventHandler(arg2
);
28508 wxPyEndAllowThreads(__tstate
);
28509 if (PyErr_Occurred()) SWIG_fail
;
28512 resultobj
= wxPyMake_wxObject(result
, 0);
28520 static PyObject
*_wrap_Window_RemoveEventHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28521 PyObject
*resultobj
;
28522 wxWindow
*arg1
= (wxWindow
*) 0 ;
28523 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
28525 PyObject
* obj0
= 0 ;
28526 PyObject
* obj1
= 0 ;
28527 char *kwnames
[] = {
28528 (char *) "self",(char *) "handler", NULL
28531 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_RemoveEventHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
28532 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28533 if (SWIG_arg_fail(1)) SWIG_fail
;
28534 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
28535 if (SWIG_arg_fail(2)) SWIG_fail
;
28537 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28538 result
= (bool)(arg1
)->RemoveEventHandler(arg2
);
28540 wxPyEndAllowThreads(__tstate
);
28541 if (PyErr_Occurred()) SWIG_fail
;
28544 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28552 static PyObject
*_wrap_Window_SetValidator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28553 PyObject
*resultobj
;
28554 wxWindow
*arg1
= (wxWindow
*) 0 ;
28555 wxValidator
*arg2
= 0 ;
28556 PyObject
* obj0
= 0 ;
28557 PyObject
* obj1
= 0 ;
28558 char *kwnames
[] = {
28559 (char *) "self",(char *) "validator", NULL
28562 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetValidator",kwnames
,&obj0
,&obj1
)) goto fail
;
28563 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28564 if (SWIG_arg_fail(1)) SWIG_fail
;
28566 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
28567 if (SWIG_arg_fail(2)) SWIG_fail
;
28568 if (arg2
== NULL
) {
28569 SWIG_null_ref("wxValidator");
28571 if (SWIG_arg_fail(2)) SWIG_fail
;
28574 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28575 (arg1
)->SetValidator((wxValidator
const &)*arg2
);
28577 wxPyEndAllowThreads(__tstate
);
28578 if (PyErr_Occurred()) SWIG_fail
;
28580 Py_INCREF(Py_None
); resultobj
= Py_None
;
28587 static PyObject
*_wrap_Window_GetValidator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28588 PyObject
*resultobj
;
28589 wxWindow
*arg1
= (wxWindow
*) 0 ;
28590 wxValidator
*result
;
28591 PyObject
* obj0
= 0 ;
28592 char *kwnames
[] = {
28593 (char *) "self", NULL
28596 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetValidator",kwnames
,&obj0
)) goto fail
;
28597 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28598 if (SWIG_arg_fail(1)) SWIG_fail
;
28600 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28601 result
= (wxValidator
*)(arg1
)->GetValidator();
28603 wxPyEndAllowThreads(__tstate
);
28604 if (PyErr_Occurred()) SWIG_fail
;
28607 resultobj
= wxPyMake_wxObject(result
, 0);
28615 static PyObject
*_wrap_Window_Validate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28616 PyObject
*resultobj
;
28617 wxWindow
*arg1
= (wxWindow
*) 0 ;
28619 PyObject
* obj0
= 0 ;
28620 char *kwnames
[] = {
28621 (char *) "self", NULL
28624 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Validate",kwnames
,&obj0
)) goto fail
;
28625 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28626 if (SWIG_arg_fail(1)) SWIG_fail
;
28628 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28629 result
= (bool)(arg1
)->Validate();
28631 wxPyEndAllowThreads(__tstate
);
28632 if (PyErr_Occurred()) SWIG_fail
;
28635 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28643 static PyObject
*_wrap_Window_TransferDataToWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28644 PyObject
*resultobj
;
28645 wxWindow
*arg1
= (wxWindow
*) 0 ;
28647 PyObject
* obj0
= 0 ;
28648 char *kwnames
[] = {
28649 (char *) "self", NULL
28652 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_TransferDataToWindow",kwnames
,&obj0
)) goto fail
;
28653 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28654 if (SWIG_arg_fail(1)) SWIG_fail
;
28656 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28657 result
= (bool)(arg1
)->TransferDataToWindow();
28659 wxPyEndAllowThreads(__tstate
);
28660 if (PyErr_Occurred()) SWIG_fail
;
28663 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28671 static PyObject
*_wrap_Window_TransferDataFromWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28672 PyObject
*resultobj
;
28673 wxWindow
*arg1
= (wxWindow
*) 0 ;
28675 PyObject
* obj0
= 0 ;
28676 char *kwnames
[] = {
28677 (char *) "self", NULL
28680 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_TransferDataFromWindow",kwnames
,&obj0
)) goto fail
;
28681 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28682 if (SWIG_arg_fail(1)) SWIG_fail
;
28684 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28685 result
= (bool)(arg1
)->TransferDataFromWindow();
28687 wxPyEndAllowThreads(__tstate
);
28688 if (PyErr_Occurred()) SWIG_fail
;
28691 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28699 static PyObject
*_wrap_Window_InitDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28700 PyObject
*resultobj
;
28701 wxWindow
*arg1
= (wxWindow
*) 0 ;
28702 PyObject
* obj0
= 0 ;
28703 char *kwnames
[] = {
28704 (char *) "self", NULL
28707 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_InitDialog",kwnames
,&obj0
)) goto fail
;
28708 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28709 if (SWIG_arg_fail(1)) SWIG_fail
;
28711 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28712 (arg1
)->InitDialog();
28714 wxPyEndAllowThreads(__tstate
);
28715 if (PyErr_Occurred()) SWIG_fail
;
28717 Py_INCREF(Py_None
); resultobj
= Py_None
;
28724 static PyObject
*_wrap_Window_SetAcceleratorTable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28725 PyObject
*resultobj
;
28726 wxWindow
*arg1
= (wxWindow
*) 0 ;
28727 wxAcceleratorTable
*arg2
= 0 ;
28728 PyObject
* obj0
= 0 ;
28729 PyObject
* obj1
= 0 ;
28730 char *kwnames
[] = {
28731 (char *) "self",(char *) "accel", NULL
28734 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetAcceleratorTable",kwnames
,&obj0
,&obj1
)) goto fail
;
28735 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28736 if (SWIG_arg_fail(1)) SWIG_fail
;
28738 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxAcceleratorTable
, SWIG_POINTER_EXCEPTION
| 0);
28739 if (SWIG_arg_fail(2)) SWIG_fail
;
28740 if (arg2
== NULL
) {
28741 SWIG_null_ref("wxAcceleratorTable");
28743 if (SWIG_arg_fail(2)) SWIG_fail
;
28746 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28747 (arg1
)->SetAcceleratorTable((wxAcceleratorTable
const &)*arg2
);
28749 wxPyEndAllowThreads(__tstate
);
28750 if (PyErr_Occurred()) SWIG_fail
;
28752 Py_INCREF(Py_None
); resultobj
= Py_None
;
28759 static PyObject
*_wrap_Window_GetAcceleratorTable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28760 PyObject
*resultobj
;
28761 wxWindow
*arg1
= (wxWindow
*) 0 ;
28762 wxAcceleratorTable
*result
;
28763 PyObject
* obj0
= 0 ;
28764 char *kwnames
[] = {
28765 (char *) "self", NULL
28768 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetAcceleratorTable",kwnames
,&obj0
)) goto fail
;
28769 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28770 if (SWIG_arg_fail(1)) SWIG_fail
;
28772 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28773 result
= (wxAcceleratorTable
*)(arg1
)->GetAcceleratorTable();
28775 wxPyEndAllowThreads(__tstate
);
28776 if (PyErr_Occurred()) SWIG_fail
;
28778 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxAcceleratorTable
, 0);
28785 static PyObject
*_wrap_Window_RegisterHotKey(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28786 PyObject
*resultobj
;
28787 wxWindow
*arg1
= (wxWindow
*) 0 ;
28792 PyObject
* obj0
= 0 ;
28793 PyObject
* obj1
= 0 ;
28794 PyObject
* obj2
= 0 ;
28795 PyObject
* obj3
= 0 ;
28796 char *kwnames
[] = {
28797 (char *) "self",(char *) "hotkeyId",(char *) "modifiers",(char *) "keycode", NULL
28800 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Window_RegisterHotKey",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
28801 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28802 if (SWIG_arg_fail(1)) SWIG_fail
;
28804 arg2
= (int)(SWIG_As_int(obj1
));
28805 if (SWIG_arg_fail(2)) SWIG_fail
;
28808 arg3
= (int)(SWIG_As_int(obj2
));
28809 if (SWIG_arg_fail(3)) SWIG_fail
;
28812 arg4
= (int)(SWIG_As_int(obj3
));
28813 if (SWIG_arg_fail(4)) SWIG_fail
;
28816 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28817 result
= (bool)wxWindow_RegisterHotKey(arg1
,arg2
,arg3
,arg4
);
28819 wxPyEndAllowThreads(__tstate
);
28820 if (PyErr_Occurred()) SWIG_fail
;
28823 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28831 static PyObject
*_wrap_Window_UnregisterHotKey(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28832 PyObject
*resultobj
;
28833 wxWindow
*arg1
= (wxWindow
*) 0 ;
28836 PyObject
* obj0
= 0 ;
28837 PyObject
* obj1
= 0 ;
28838 char *kwnames
[] = {
28839 (char *) "self",(char *) "hotkeyId", NULL
28842 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_UnregisterHotKey",kwnames
,&obj0
,&obj1
)) goto fail
;
28843 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28844 if (SWIG_arg_fail(1)) SWIG_fail
;
28846 arg2
= (int)(SWIG_As_int(obj1
));
28847 if (SWIG_arg_fail(2)) SWIG_fail
;
28850 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28851 result
= (bool)wxWindow_UnregisterHotKey(arg1
,arg2
);
28853 wxPyEndAllowThreads(__tstate
);
28854 if (PyErr_Occurred()) SWIG_fail
;
28857 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28865 static PyObject
*_wrap_Window_ConvertDialogPointToPixels(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28866 PyObject
*resultobj
;
28867 wxWindow
*arg1
= (wxWindow
*) 0 ;
28868 wxPoint
*arg2
= 0 ;
28871 PyObject
* obj0
= 0 ;
28872 PyObject
* obj1
= 0 ;
28873 char *kwnames
[] = {
28874 (char *) "self",(char *) "pt", NULL
28877 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ConvertDialogPointToPixels",kwnames
,&obj0
,&obj1
)) goto fail
;
28878 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28879 if (SWIG_arg_fail(1)) SWIG_fail
;
28882 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
28885 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28886 result
= (arg1
)->ConvertDialogToPixels((wxPoint
const &)*arg2
);
28888 wxPyEndAllowThreads(__tstate
);
28889 if (PyErr_Occurred()) SWIG_fail
;
28892 wxPoint
* resultptr
;
28893 resultptr
= new wxPoint((wxPoint
&)(result
));
28894 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
28902 static PyObject
*_wrap_Window_ConvertDialogSizeToPixels(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28903 PyObject
*resultobj
;
28904 wxWindow
*arg1
= (wxWindow
*) 0 ;
28908 PyObject
* obj0
= 0 ;
28909 PyObject
* obj1
= 0 ;
28910 char *kwnames
[] = {
28911 (char *) "self",(char *) "sz", NULL
28914 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ConvertDialogSizeToPixels",kwnames
,&obj0
,&obj1
)) goto fail
;
28915 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28916 if (SWIG_arg_fail(1)) SWIG_fail
;
28919 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
28922 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28923 result
= (arg1
)->ConvertDialogToPixels((wxSize
const &)*arg2
);
28925 wxPyEndAllowThreads(__tstate
);
28926 if (PyErr_Occurred()) SWIG_fail
;
28929 wxSize
* resultptr
;
28930 resultptr
= new wxSize((wxSize
&)(result
));
28931 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
28939 static PyObject
*_wrap_Window_DLG_PNT(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28940 PyObject
*resultobj
;
28941 wxWindow
*arg1
= (wxWindow
*) 0 ;
28942 wxPoint
*arg2
= 0 ;
28945 PyObject
* obj0
= 0 ;
28946 PyObject
* obj1
= 0 ;
28947 char *kwnames
[] = {
28948 (char *) "self",(char *) "pt", NULL
28951 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_DLG_PNT",kwnames
,&obj0
,&obj1
)) goto fail
;
28952 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28953 if (SWIG_arg_fail(1)) SWIG_fail
;
28956 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
28959 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28960 result
= (arg1
)->ConvertDialogToPixels((wxPoint
const &)*arg2
);
28962 wxPyEndAllowThreads(__tstate
);
28963 if (PyErr_Occurred()) SWIG_fail
;
28966 wxPoint
* resultptr
;
28967 resultptr
= new wxPoint((wxPoint
&)(result
));
28968 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
28976 static PyObject
*_wrap_Window_DLG_SZE(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28977 PyObject
*resultobj
;
28978 wxWindow
*arg1
= (wxWindow
*) 0 ;
28982 PyObject
* obj0
= 0 ;
28983 PyObject
* obj1
= 0 ;
28984 char *kwnames
[] = {
28985 (char *) "self",(char *) "sz", NULL
28988 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_DLG_SZE",kwnames
,&obj0
,&obj1
)) goto fail
;
28989 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28990 if (SWIG_arg_fail(1)) SWIG_fail
;
28993 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
28996 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28997 result
= (arg1
)->ConvertDialogToPixels((wxSize
const &)*arg2
);
28999 wxPyEndAllowThreads(__tstate
);
29000 if (PyErr_Occurred()) SWIG_fail
;
29003 wxSize
* resultptr
;
29004 resultptr
= new wxSize((wxSize
&)(result
));
29005 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
29013 static PyObject
*_wrap_Window_ConvertPixelPointToDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29014 PyObject
*resultobj
;
29015 wxWindow
*arg1
= (wxWindow
*) 0 ;
29016 wxPoint
*arg2
= 0 ;
29019 PyObject
* obj0
= 0 ;
29020 PyObject
* obj1
= 0 ;
29021 char *kwnames
[] = {
29022 (char *) "self",(char *) "pt", NULL
29025 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ConvertPixelPointToDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
29026 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29027 if (SWIG_arg_fail(1)) SWIG_fail
;
29030 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
29033 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29034 result
= (arg1
)->ConvertPixelsToDialog((wxPoint
const &)*arg2
);
29036 wxPyEndAllowThreads(__tstate
);
29037 if (PyErr_Occurred()) SWIG_fail
;
29040 wxPoint
* resultptr
;
29041 resultptr
= new wxPoint((wxPoint
&)(result
));
29042 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
29050 static PyObject
*_wrap_Window_ConvertPixelSizeToDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29051 PyObject
*resultobj
;
29052 wxWindow
*arg1
= (wxWindow
*) 0 ;
29056 PyObject
* obj0
= 0 ;
29057 PyObject
* obj1
= 0 ;
29058 char *kwnames
[] = {
29059 (char *) "self",(char *) "sz", NULL
29062 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ConvertPixelSizeToDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
29063 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29064 if (SWIG_arg_fail(1)) SWIG_fail
;
29067 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
29070 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29071 result
= (arg1
)->ConvertPixelsToDialog((wxSize
const &)*arg2
);
29073 wxPyEndAllowThreads(__tstate
);
29074 if (PyErr_Occurred()) SWIG_fail
;
29077 wxSize
* resultptr
;
29078 resultptr
= new wxSize((wxSize
&)(result
));
29079 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
29087 static PyObject
*_wrap_Window_WarpPointer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29088 PyObject
*resultobj
;
29089 wxWindow
*arg1
= (wxWindow
*) 0 ;
29092 PyObject
* obj0
= 0 ;
29093 PyObject
* obj1
= 0 ;
29094 PyObject
* obj2
= 0 ;
29095 char *kwnames
[] = {
29096 (char *) "self",(char *) "x",(char *) "y", NULL
29099 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_WarpPointer",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29100 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29101 if (SWIG_arg_fail(1)) SWIG_fail
;
29103 arg2
= (int)(SWIG_As_int(obj1
));
29104 if (SWIG_arg_fail(2)) SWIG_fail
;
29107 arg3
= (int)(SWIG_As_int(obj2
));
29108 if (SWIG_arg_fail(3)) SWIG_fail
;
29111 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29112 (arg1
)->WarpPointer(arg2
,arg3
);
29114 wxPyEndAllowThreads(__tstate
);
29115 if (PyErr_Occurred()) SWIG_fail
;
29117 Py_INCREF(Py_None
); resultobj
= Py_None
;
29124 static PyObject
*_wrap_Window_CaptureMouse(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29125 PyObject
*resultobj
;
29126 wxWindow
*arg1
= (wxWindow
*) 0 ;
29127 PyObject
* obj0
= 0 ;
29128 char *kwnames
[] = {
29129 (char *) "self", NULL
29132 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_CaptureMouse",kwnames
,&obj0
)) goto fail
;
29133 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29134 if (SWIG_arg_fail(1)) SWIG_fail
;
29136 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29137 (arg1
)->CaptureMouse();
29139 wxPyEndAllowThreads(__tstate
);
29140 if (PyErr_Occurred()) SWIG_fail
;
29142 Py_INCREF(Py_None
); resultobj
= Py_None
;
29149 static PyObject
*_wrap_Window_ReleaseMouse(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29150 PyObject
*resultobj
;
29151 wxWindow
*arg1
= (wxWindow
*) 0 ;
29152 PyObject
* obj0
= 0 ;
29153 char *kwnames
[] = {
29154 (char *) "self", NULL
29157 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_ReleaseMouse",kwnames
,&obj0
)) goto fail
;
29158 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29159 if (SWIG_arg_fail(1)) SWIG_fail
;
29161 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29162 (arg1
)->ReleaseMouse();
29164 wxPyEndAllowThreads(__tstate
);
29165 if (PyErr_Occurred()) SWIG_fail
;
29167 Py_INCREF(Py_None
); resultobj
= Py_None
;
29174 static PyObject
*_wrap_Window_GetCapture(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29175 PyObject
*resultobj
;
29177 char *kwnames
[] = {
29181 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Window_GetCapture",kwnames
)) goto fail
;
29183 if (!wxPyCheckForApp()) SWIG_fail
;
29184 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29185 result
= (wxWindow
*)wxWindow::GetCapture();
29187 wxPyEndAllowThreads(__tstate
);
29188 if (PyErr_Occurred()) SWIG_fail
;
29191 resultobj
= wxPyMake_wxObject(result
, 0);
29199 static PyObject
*_wrap_Window_HasCapture(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29200 PyObject
*resultobj
;
29201 wxWindow
*arg1
= (wxWindow
*) 0 ;
29203 PyObject
* obj0
= 0 ;
29204 char *kwnames
[] = {
29205 (char *) "self", NULL
29208 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_HasCapture",kwnames
,&obj0
)) goto fail
;
29209 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29210 if (SWIG_arg_fail(1)) SWIG_fail
;
29212 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29213 result
= (bool)((wxWindow
const *)arg1
)->HasCapture();
29215 wxPyEndAllowThreads(__tstate
);
29216 if (PyErr_Occurred()) SWIG_fail
;
29219 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29227 static PyObject
*_wrap_Window_Refresh(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29228 PyObject
*resultobj
;
29229 wxWindow
*arg1
= (wxWindow
*) 0 ;
29230 bool arg2
= (bool) true ;
29231 wxRect
*arg3
= (wxRect
*) NULL
;
29232 PyObject
* obj0
= 0 ;
29233 PyObject
* obj1
= 0 ;
29234 PyObject
* obj2
= 0 ;
29235 char *kwnames
[] = {
29236 (char *) "self",(char *) "eraseBackground",(char *) "rect", NULL
29239 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Window_Refresh",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29240 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29241 if (SWIG_arg_fail(1)) SWIG_fail
;
29244 arg2
= (bool)(SWIG_As_bool(obj1
));
29245 if (SWIG_arg_fail(2)) SWIG_fail
;
29249 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
29250 if (SWIG_arg_fail(3)) SWIG_fail
;
29253 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29254 (arg1
)->Refresh(arg2
,(wxRect
const *)arg3
);
29256 wxPyEndAllowThreads(__tstate
);
29257 if (PyErr_Occurred()) SWIG_fail
;
29259 Py_INCREF(Py_None
); resultobj
= Py_None
;
29266 static PyObject
*_wrap_Window_RefreshRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29267 PyObject
*resultobj
;
29268 wxWindow
*arg1
= (wxWindow
*) 0 ;
29270 bool arg3
= (bool) true ;
29272 PyObject
* obj0
= 0 ;
29273 PyObject
* obj1
= 0 ;
29274 PyObject
* obj2
= 0 ;
29275 char *kwnames
[] = {
29276 (char *) "self",(char *) "rect",(char *) "eraseBackground", NULL
29279 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_RefreshRect",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29280 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29281 if (SWIG_arg_fail(1)) SWIG_fail
;
29284 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
29288 arg3
= (bool)(SWIG_As_bool(obj2
));
29289 if (SWIG_arg_fail(3)) SWIG_fail
;
29293 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29294 (arg1
)->RefreshRect((wxRect
const &)*arg2
,arg3
);
29296 wxPyEndAllowThreads(__tstate
);
29297 if (PyErr_Occurred()) SWIG_fail
;
29299 Py_INCREF(Py_None
); resultobj
= Py_None
;
29306 static PyObject
*_wrap_Window_Update(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29307 PyObject
*resultobj
;
29308 wxWindow
*arg1
= (wxWindow
*) 0 ;
29309 PyObject
* obj0
= 0 ;
29310 char *kwnames
[] = {
29311 (char *) "self", NULL
29314 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Update",kwnames
,&obj0
)) goto fail
;
29315 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29316 if (SWIG_arg_fail(1)) SWIG_fail
;
29318 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29321 wxPyEndAllowThreads(__tstate
);
29322 if (PyErr_Occurred()) SWIG_fail
;
29324 Py_INCREF(Py_None
); resultobj
= Py_None
;
29331 static PyObject
*_wrap_Window_ClearBackground(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29332 PyObject
*resultobj
;
29333 wxWindow
*arg1
= (wxWindow
*) 0 ;
29334 PyObject
* obj0
= 0 ;
29335 char *kwnames
[] = {
29336 (char *) "self", NULL
29339 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_ClearBackground",kwnames
,&obj0
)) goto fail
;
29340 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29341 if (SWIG_arg_fail(1)) SWIG_fail
;
29343 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29344 (arg1
)->ClearBackground();
29346 wxPyEndAllowThreads(__tstate
);
29347 if (PyErr_Occurred()) SWIG_fail
;
29349 Py_INCREF(Py_None
); resultobj
= Py_None
;
29356 static PyObject
*_wrap_Window_Freeze(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29357 PyObject
*resultobj
;
29358 wxWindow
*arg1
= (wxWindow
*) 0 ;
29359 PyObject
* obj0
= 0 ;
29360 char *kwnames
[] = {
29361 (char *) "self", NULL
29364 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Freeze",kwnames
,&obj0
)) goto fail
;
29365 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29366 if (SWIG_arg_fail(1)) SWIG_fail
;
29368 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29371 wxPyEndAllowThreads(__tstate
);
29372 if (PyErr_Occurred()) SWIG_fail
;
29374 Py_INCREF(Py_None
); resultobj
= Py_None
;
29381 static PyObject
*_wrap_Window_Thaw(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29382 PyObject
*resultobj
;
29383 wxWindow
*arg1
= (wxWindow
*) 0 ;
29384 PyObject
* obj0
= 0 ;
29385 char *kwnames
[] = {
29386 (char *) "self", NULL
29389 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Thaw",kwnames
,&obj0
)) goto fail
;
29390 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29391 if (SWIG_arg_fail(1)) SWIG_fail
;
29393 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29396 wxPyEndAllowThreads(__tstate
);
29397 if (PyErr_Occurred()) SWIG_fail
;
29399 Py_INCREF(Py_None
); resultobj
= Py_None
;
29406 static PyObject
*_wrap_Window_PrepareDC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29407 PyObject
*resultobj
;
29408 wxWindow
*arg1
= (wxWindow
*) 0 ;
29410 PyObject
* obj0
= 0 ;
29411 PyObject
* obj1
= 0 ;
29412 char *kwnames
[] = {
29413 (char *) "self",(char *) "dc", NULL
29416 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_PrepareDC",kwnames
,&obj0
,&obj1
)) goto fail
;
29417 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29418 if (SWIG_arg_fail(1)) SWIG_fail
;
29420 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
29421 if (SWIG_arg_fail(2)) SWIG_fail
;
29422 if (arg2
== NULL
) {
29423 SWIG_null_ref("wxDC");
29425 if (SWIG_arg_fail(2)) SWIG_fail
;
29428 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29429 (arg1
)->PrepareDC(*arg2
);
29431 wxPyEndAllowThreads(__tstate
);
29432 if (PyErr_Occurred()) SWIG_fail
;
29434 Py_INCREF(Py_None
); resultobj
= Py_None
;
29441 static PyObject
*_wrap_Window_GetUpdateRegion(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29442 PyObject
*resultobj
;
29443 wxWindow
*arg1
= (wxWindow
*) 0 ;
29445 PyObject
* obj0
= 0 ;
29446 char *kwnames
[] = {
29447 (char *) "self", NULL
29450 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetUpdateRegion",kwnames
,&obj0
)) goto fail
;
29451 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29452 if (SWIG_arg_fail(1)) SWIG_fail
;
29454 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29456 wxRegion
&_result_ref
= (arg1
)->GetUpdateRegion();
29457 result
= (wxRegion
*) &_result_ref
;
29460 wxPyEndAllowThreads(__tstate
);
29461 if (PyErr_Occurred()) SWIG_fail
;
29463 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRegion
, 0);
29470 static PyObject
*_wrap_Window_GetUpdateClientRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29471 PyObject
*resultobj
;
29472 wxWindow
*arg1
= (wxWindow
*) 0 ;
29474 PyObject
* obj0
= 0 ;
29475 char *kwnames
[] = {
29476 (char *) "self", NULL
29479 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetUpdateClientRect",kwnames
,&obj0
)) goto fail
;
29480 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29481 if (SWIG_arg_fail(1)) SWIG_fail
;
29483 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29484 result
= ((wxWindow
const *)arg1
)->GetUpdateClientRect();
29486 wxPyEndAllowThreads(__tstate
);
29487 if (PyErr_Occurred()) SWIG_fail
;
29490 wxRect
* resultptr
;
29491 resultptr
= new wxRect((wxRect
&)(result
));
29492 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
29500 static PyObject
*_wrap_Window_IsExposed(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29501 PyObject
*resultobj
;
29502 wxWindow
*arg1
= (wxWindow
*) 0 ;
29505 int arg4
= (int) 1 ;
29506 int arg5
= (int) 1 ;
29508 PyObject
* obj0
= 0 ;
29509 PyObject
* obj1
= 0 ;
29510 PyObject
* obj2
= 0 ;
29511 PyObject
* obj3
= 0 ;
29512 PyObject
* obj4
= 0 ;
29513 char *kwnames
[] = {
29514 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
29517 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:Window_IsExposed",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
29518 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29519 if (SWIG_arg_fail(1)) SWIG_fail
;
29521 arg2
= (int)(SWIG_As_int(obj1
));
29522 if (SWIG_arg_fail(2)) SWIG_fail
;
29525 arg3
= (int)(SWIG_As_int(obj2
));
29526 if (SWIG_arg_fail(3)) SWIG_fail
;
29530 arg4
= (int)(SWIG_As_int(obj3
));
29531 if (SWIG_arg_fail(4)) SWIG_fail
;
29536 arg5
= (int)(SWIG_As_int(obj4
));
29537 if (SWIG_arg_fail(5)) SWIG_fail
;
29541 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29542 result
= (bool)((wxWindow
const *)arg1
)->IsExposed(arg2
,arg3
,arg4
,arg5
);
29544 wxPyEndAllowThreads(__tstate
);
29545 if (PyErr_Occurred()) SWIG_fail
;
29548 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29556 static PyObject
*_wrap_Window_IsExposedPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29557 PyObject
*resultobj
;
29558 wxWindow
*arg1
= (wxWindow
*) 0 ;
29559 wxPoint
*arg2
= 0 ;
29562 PyObject
* obj0
= 0 ;
29563 PyObject
* obj1
= 0 ;
29564 char *kwnames
[] = {
29565 (char *) "self",(char *) "pt", NULL
29568 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_IsExposedPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
29569 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29570 if (SWIG_arg_fail(1)) SWIG_fail
;
29573 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
29576 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29577 result
= (bool)((wxWindow
const *)arg1
)->IsExposed((wxPoint
const &)*arg2
);
29579 wxPyEndAllowThreads(__tstate
);
29580 if (PyErr_Occurred()) SWIG_fail
;
29583 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29591 static PyObject
*_wrap_Window_IsExposedRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29592 PyObject
*resultobj
;
29593 wxWindow
*arg1
= (wxWindow
*) 0 ;
29597 PyObject
* obj0
= 0 ;
29598 PyObject
* obj1
= 0 ;
29599 char *kwnames
[] = {
29600 (char *) "self",(char *) "rect", NULL
29603 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_IsExposedRect",kwnames
,&obj0
,&obj1
)) goto fail
;
29604 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29605 if (SWIG_arg_fail(1)) SWIG_fail
;
29608 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
29611 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29612 result
= (bool)((wxWindow
const *)arg1
)->IsExposed((wxRect
const &)*arg2
);
29614 wxPyEndAllowThreads(__tstate
);
29615 if (PyErr_Occurred()) SWIG_fail
;
29618 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29626 static PyObject
*_wrap_Window_GetDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29627 PyObject
*resultobj
;
29628 wxWindow
*arg1
= (wxWindow
*) 0 ;
29629 wxVisualAttributes result
;
29630 PyObject
* obj0
= 0 ;
29631 char *kwnames
[] = {
29632 (char *) "self", NULL
29635 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetDefaultAttributes",kwnames
,&obj0
)) goto fail
;
29636 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29637 if (SWIG_arg_fail(1)) SWIG_fail
;
29639 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29640 result
= ((wxWindow
const *)arg1
)->GetDefaultAttributes();
29642 wxPyEndAllowThreads(__tstate
);
29643 if (PyErr_Occurred()) SWIG_fail
;
29646 wxVisualAttributes
* resultptr
;
29647 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
29648 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
29656 static PyObject
*_wrap_Window_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29657 PyObject
*resultobj
;
29658 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
29659 wxVisualAttributes result
;
29660 PyObject
* obj0
= 0 ;
29661 char *kwnames
[] = {
29662 (char *) "variant", NULL
29665 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Window_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
29668 arg1
= (wxWindowVariant
)(SWIG_As_int(obj0
));
29669 if (SWIG_arg_fail(1)) SWIG_fail
;
29673 if (!wxPyCheckForApp()) SWIG_fail
;
29674 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29675 result
= wxWindow::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
29677 wxPyEndAllowThreads(__tstate
);
29678 if (PyErr_Occurred()) SWIG_fail
;
29681 wxVisualAttributes
* resultptr
;
29682 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
29683 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
29691 static PyObject
*_wrap_Window_SetBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29692 PyObject
*resultobj
;
29693 wxWindow
*arg1
= (wxWindow
*) 0 ;
29694 wxColour
*arg2
= 0 ;
29697 PyObject
* obj0
= 0 ;
29698 PyObject
* obj1
= 0 ;
29699 char *kwnames
[] = {
29700 (char *) "self",(char *) "colour", NULL
29703 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
29704 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29705 if (SWIG_arg_fail(1)) SWIG_fail
;
29708 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
29711 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29712 result
= (bool)(arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
29714 wxPyEndAllowThreads(__tstate
);
29715 if (PyErr_Occurred()) SWIG_fail
;
29718 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29726 static PyObject
*_wrap_Window_SetOwnBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29727 PyObject
*resultobj
;
29728 wxWindow
*arg1
= (wxWindow
*) 0 ;
29729 wxColour
*arg2
= 0 ;
29731 PyObject
* obj0
= 0 ;
29732 PyObject
* obj1
= 0 ;
29733 char *kwnames
[] = {
29734 (char *) "self",(char *) "colour", NULL
29737 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetOwnBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
29738 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29739 if (SWIG_arg_fail(1)) SWIG_fail
;
29742 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
29745 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29746 (arg1
)->SetOwnBackgroundColour((wxColour
const &)*arg2
);
29748 wxPyEndAllowThreads(__tstate
);
29749 if (PyErr_Occurred()) SWIG_fail
;
29751 Py_INCREF(Py_None
); resultobj
= Py_None
;
29758 static PyObject
*_wrap_Window_SetForegroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29759 PyObject
*resultobj
;
29760 wxWindow
*arg1
= (wxWindow
*) 0 ;
29761 wxColour
*arg2
= 0 ;
29764 PyObject
* obj0
= 0 ;
29765 PyObject
* obj1
= 0 ;
29766 char *kwnames
[] = {
29767 (char *) "self",(char *) "colour", NULL
29770 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetForegroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
29771 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29772 if (SWIG_arg_fail(1)) SWIG_fail
;
29775 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
29778 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29779 result
= (bool)(arg1
)->SetForegroundColour((wxColour
const &)*arg2
);
29781 wxPyEndAllowThreads(__tstate
);
29782 if (PyErr_Occurred()) SWIG_fail
;
29785 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29793 static PyObject
*_wrap_Window_SetOwnForegroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29794 PyObject
*resultobj
;
29795 wxWindow
*arg1
= (wxWindow
*) 0 ;
29796 wxColour
*arg2
= 0 ;
29798 PyObject
* obj0
= 0 ;
29799 PyObject
* obj1
= 0 ;
29800 char *kwnames
[] = {
29801 (char *) "self",(char *) "colour", NULL
29804 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetOwnForegroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
29805 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29806 if (SWIG_arg_fail(1)) SWIG_fail
;
29809 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
29812 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29813 (arg1
)->SetOwnForegroundColour((wxColour
const &)*arg2
);
29815 wxPyEndAllowThreads(__tstate
);
29816 if (PyErr_Occurred()) SWIG_fail
;
29818 Py_INCREF(Py_None
); resultobj
= Py_None
;
29825 static PyObject
*_wrap_Window_GetBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29826 PyObject
*resultobj
;
29827 wxWindow
*arg1
= (wxWindow
*) 0 ;
29829 PyObject
* obj0
= 0 ;
29830 char *kwnames
[] = {
29831 (char *) "self", NULL
29834 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetBackgroundColour",kwnames
,&obj0
)) goto fail
;
29835 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29836 if (SWIG_arg_fail(1)) SWIG_fail
;
29838 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29839 result
= ((wxWindow
const *)arg1
)->GetBackgroundColour();
29841 wxPyEndAllowThreads(__tstate
);
29842 if (PyErr_Occurred()) SWIG_fail
;
29845 wxColour
* resultptr
;
29846 resultptr
= new wxColour((wxColour
&)(result
));
29847 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
29855 static PyObject
*_wrap_Window_GetForegroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29856 PyObject
*resultobj
;
29857 wxWindow
*arg1
= (wxWindow
*) 0 ;
29859 PyObject
* obj0
= 0 ;
29860 char *kwnames
[] = {
29861 (char *) "self", NULL
29864 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetForegroundColour",kwnames
,&obj0
)) goto fail
;
29865 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29866 if (SWIG_arg_fail(1)) SWIG_fail
;
29868 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29869 result
= ((wxWindow
const *)arg1
)->GetForegroundColour();
29871 wxPyEndAllowThreads(__tstate
);
29872 if (PyErr_Occurred()) SWIG_fail
;
29875 wxColour
* resultptr
;
29876 resultptr
= new wxColour((wxColour
&)(result
));
29877 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
29885 static PyObject
*_wrap_Window_InheritsBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29886 PyObject
*resultobj
;
29887 wxWindow
*arg1
= (wxWindow
*) 0 ;
29889 PyObject
* obj0
= 0 ;
29890 char *kwnames
[] = {
29891 (char *) "self", NULL
29894 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_InheritsBackgroundColour",kwnames
,&obj0
)) goto fail
;
29895 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29896 if (SWIG_arg_fail(1)) SWIG_fail
;
29898 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29899 result
= (bool)((wxWindow
const *)arg1
)->InheritsBackgroundColour();
29901 wxPyEndAllowThreads(__tstate
);
29902 if (PyErr_Occurred()) SWIG_fail
;
29905 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29913 static PyObject
*_wrap_Window_UseBgCol(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29914 PyObject
*resultobj
;
29915 wxWindow
*arg1
= (wxWindow
*) 0 ;
29917 PyObject
* obj0
= 0 ;
29918 char *kwnames
[] = {
29919 (char *) "self", NULL
29922 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_UseBgCol",kwnames
,&obj0
)) goto fail
;
29923 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29924 if (SWIG_arg_fail(1)) SWIG_fail
;
29926 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29927 result
= (bool)((wxWindow
const *)arg1
)->UseBgCol();
29929 wxPyEndAllowThreads(__tstate
);
29930 if (PyErr_Occurred()) SWIG_fail
;
29933 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29941 static PyObject
*_wrap_Window_SetBackgroundStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29942 PyObject
*resultobj
;
29943 wxWindow
*arg1
= (wxWindow
*) 0 ;
29944 wxBackgroundStyle arg2
;
29946 PyObject
* obj0
= 0 ;
29947 PyObject
* obj1
= 0 ;
29948 char *kwnames
[] = {
29949 (char *) "self",(char *) "style", NULL
29952 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetBackgroundStyle",kwnames
,&obj0
,&obj1
)) goto fail
;
29953 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29954 if (SWIG_arg_fail(1)) SWIG_fail
;
29956 arg2
= (wxBackgroundStyle
)(SWIG_As_int(obj1
));
29957 if (SWIG_arg_fail(2)) SWIG_fail
;
29960 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29961 result
= (bool)(arg1
)->SetBackgroundStyle((wxBackgroundStyle
)arg2
);
29963 wxPyEndAllowThreads(__tstate
);
29964 if (PyErr_Occurred()) SWIG_fail
;
29967 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29975 static PyObject
*_wrap_Window_GetBackgroundStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29976 PyObject
*resultobj
;
29977 wxWindow
*arg1
= (wxWindow
*) 0 ;
29978 wxBackgroundStyle result
;
29979 PyObject
* obj0
= 0 ;
29980 char *kwnames
[] = {
29981 (char *) "self", NULL
29984 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetBackgroundStyle",kwnames
,&obj0
)) goto fail
;
29985 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29986 if (SWIG_arg_fail(1)) SWIG_fail
;
29988 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29989 result
= (wxBackgroundStyle
)((wxWindow
const *)arg1
)->GetBackgroundStyle();
29991 wxPyEndAllowThreads(__tstate
);
29992 if (PyErr_Occurred()) SWIG_fail
;
29994 resultobj
= SWIG_From_int((result
));
30001 static PyObject
*_wrap_Window_HasTransparentBackground(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30002 PyObject
*resultobj
;
30003 wxWindow
*arg1
= (wxWindow
*) 0 ;
30005 PyObject
* obj0
= 0 ;
30006 char *kwnames
[] = {
30007 (char *) "self", NULL
30010 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_HasTransparentBackground",kwnames
,&obj0
)) goto fail
;
30011 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30012 if (SWIG_arg_fail(1)) SWIG_fail
;
30014 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30015 result
= (bool)(arg1
)->HasTransparentBackground();
30017 wxPyEndAllowThreads(__tstate
);
30018 if (PyErr_Occurred()) SWIG_fail
;
30021 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30029 static PyObject
*_wrap_Window_SetCursor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30030 PyObject
*resultobj
;
30031 wxWindow
*arg1
= (wxWindow
*) 0 ;
30032 wxCursor
*arg2
= 0 ;
30034 PyObject
* obj0
= 0 ;
30035 PyObject
* obj1
= 0 ;
30036 char *kwnames
[] = {
30037 (char *) "self",(char *) "cursor", NULL
30040 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetCursor",kwnames
,&obj0
,&obj1
)) goto fail
;
30041 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30042 if (SWIG_arg_fail(1)) SWIG_fail
;
30044 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxCursor
, SWIG_POINTER_EXCEPTION
| 0);
30045 if (SWIG_arg_fail(2)) SWIG_fail
;
30046 if (arg2
== NULL
) {
30047 SWIG_null_ref("wxCursor");
30049 if (SWIG_arg_fail(2)) SWIG_fail
;
30052 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30053 result
= (bool)(arg1
)->SetCursor((wxCursor
const &)*arg2
);
30055 wxPyEndAllowThreads(__tstate
);
30056 if (PyErr_Occurred()) SWIG_fail
;
30059 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30067 static PyObject
*_wrap_Window_GetCursor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30068 PyObject
*resultobj
;
30069 wxWindow
*arg1
= (wxWindow
*) 0 ;
30071 PyObject
* obj0
= 0 ;
30072 char *kwnames
[] = {
30073 (char *) "self", NULL
30076 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetCursor",kwnames
,&obj0
)) goto fail
;
30077 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30078 if (SWIG_arg_fail(1)) SWIG_fail
;
30080 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30081 result
= (arg1
)->GetCursor();
30083 wxPyEndAllowThreads(__tstate
);
30084 if (PyErr_Occurred()) SWIG_fail
;
30087 wxCursor
* resultptr
;
30088 resultptr
= new wxCursor((wxCursor
&)(result
));
30089 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxCursor
, 1);
30097 static PyObject
*_wrap_Window_SetFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30098 PyObject
*resultobj
;
30099 wxWindow
*arg1
= (wxWindow
*) 0 ;
30102 PyObject
* obj0
= 0 ;
30103 PyObject
* obj1
= 0 ;
30104 char *kwnames
[] = {
30105 (char *) "self",(char *) "font", NULL
30108 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetFont",kwnames
,&obj0
,&obj1
)) goto fail
;
30109 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30110 if (SWIG_arg_fail(1)) SWIG_fail
;
30112 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
30113 if (SWIG_arg_fail(2)) SWIG_fail
;
30114 if (arg2
== NULL
) {
30115 SWIG_null_ref("wxFont");
30117 if (SWIG_arg_fail(2)) SWIG_fail
;
30120 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30121 result
= (bool)(arg1
)->SetFont((wxFont
const &)*arg2
);
30123 wxPyEndAllowThreads(__tstate
);
30124 if (PyErr_Occurred()) SWIG_fail
;
30127 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30135 static PyObject
*_wrap_Window_SetOwnFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30136 PyObject
*resultobj
;
30137 wxWindow
*arg1
= (wxWindow
*) 0 ;
30139 PyObject
* obj0
= 0 ;
30140 PyObject
* obj1
= 0 ;
30141 char *kwnames
[] = {
30142 (char *) "self",(char *) "font", NULL
30145 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetOwnFont",kwnames
,&obj0
,&obj1
)) goto fail
;
30146 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30147 if (SWIG_arg_fail(1)) SWIG_fail
;
30149 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
30150 if (SWIG_arg_fail(2)) SWIG_fail
;
30151 if (arg2
== NULL
) {
30152 SWIG_null_ref("wxFont");
30154 if (SWIG_arg_fail(2)) SWIG_fail
;
30157 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30158 (arg1
)->SetOwnFont((wxFont
const &)*arg2
);
30160 wxPyEndAllowThreads(__tstate
);
30161 if (PyErr_Occurred()) SWIG_fail
;
30163 Py_INCREF(Py_None
); resultobj
= Py_None
;
30170 static PyObject
*_wrap_Window_GetFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30171 PyObject
*resultobj
;
30172 wxWindow
*arg1
= (wxWindow
*) 0 ;
30174 PyObject
* obj0
= 0 ;
30175 char *kwnames
[] = {
30176 (char *) "self", NULL
30179 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetFont",kwnames
,&obj0
)) goto fail
;
30180 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30181 if (SWIG_arg_fail(1)) SWIG_fail
;
30183 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30184 result
= (arg1
)->GetFont();
30186 wxPyEndAllowThreads(__tstate
);
30187 if (PyErr_Occurred()) SWIG_fail
;
30190 wxFont
* resultptr
;
30191 resultptr
= new wxFont((wxFont
&)(result
));
30192 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxFont
, 1);
30200 static PyObject
*_wrap_Window_SetCaret(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30201 PyObject
*resultobj
;
30202 wxWindow
*arg1
= (wxWindow
*) 0 ;
30203 wxCaret
*arg2
= (wxCaret
*) 0 ;
30204 PyObject
* obj0
= 0 ;
30205 PyObject
* obj1
= 0 ;
30206 char *kwnames
[] = {
30207 (char *) "self",(char *) "caret", NULL
30210 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetCaret",kwnames
,&obj0
,&obj1
)) goto fail
;
30211 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30212 if (SWIG_arg_fail(1)) SWIG_fail
;
30213 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxCaret
, SWIG_POINTER_EXCEPTION
| 0);
30214 if (SWIG_arg_fail(2)) SWIG_fail
;
30216 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30217 (arg1
)->SetCaret(arg2
);
30219 wxPyEndAllowThreads(__tstate
);
30220 if (PyErr_Occurred()) SWIG_fail
;
30222 Py_INCREF(Py_None
); resultobj
= Py_None
;
30229 static PyObject
*_wrap_Window_GetCaret(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30230 PyObject
*resultobj
;
30231 wxWindow
*arg1
= (wxWindow
*) 0 ;
30233 PyObject
* obj0
= 0 ;
30234 char *kwnames
[] = {
30235 (char *) "self", NULL
30238 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetCaret",kwnames
,&obj0
)) goto fail
;
30239 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30240 if (SWIG_arg_fail(1)) SWIG_fail
;
30242 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30243 result
= (wxCaret
*)((wxWindow
const *)arg1
)->GetCaret();
30245 wxPyEndAllowThreads(__tstate
);
30246 if (PyErr_Occurred()) SWIG_fail
;
30248 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCaret
, 0);
30255 static PyObject
*_wrap_Window_GetCharHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30256 PyObject
*resultobj
;
30257 wxWindow
*arg1
= (wxWindow
*) 0 ;
30259 PyObject
* obj0
= 0 ;
30260 char *kwnames
[] = {
30261 (char *) "self", NULL
30264 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetCharHeight",kwnames
,&obj0
)) goto fail
;
30265 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30266 if (SWIG_arg_fail(1)) SWIG_fail
;
30268 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30269 result
= (int)((wxWindow
const *)arg1
)->GetCharHeight();
30271 wxPyEndAllowThreads(__tstate
);
30272 if (PyErr_Occurred()) SWIG_fail
;
30275 resultobj
= SWIG_From_int((int)(result
));
30283 static PyObject
*_wrap_Window_GetCharWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30284 PyObject
*resultobj
;
30285 wxWindow
*arg1
= (wxWindow
*) 0 ;
30287 PyObject
* obj0
= 0 ;
30288 char *kwnames
[] = {
30289 (char *) "self", NULL
30292 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetCharWidth",kwnames
,&obj0
)) goto fail
;
30293 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30294 if (SWIG_arg_fail(1)) SWIG_fail
;
30296 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30297 result
= (int)((wxWindow
const *)arg1
)->GetCharWidth();
30299 wxPyEndAllowThreads(__tstate
);
30300 if (PyErr_Occurred()) SWIG_fail
;
30303 resultobj
= SWIG_From_int((int)(result
));
30311 static PyObject
*_wrap_Window_GetTextExtent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30312 PyObject
*resultobj
;
30313 wxWindow
*arg1
= (wxWindow
*) 0 ;
30314 wxString
*arg2
= 0 ;
30315 int *arg3
= (int *) 0 ;
30316 int *arg4
= (int *) 0 ;
30317 bool temp2
= false ;
30322 PyObject
* obj0
= 0 ;
30323 PyObject
* obj1
= 0 ;
30324 char *kwnames
[] = {
30325 (char *) "self",(char *) "string", NULL
30328 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
30329 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
30330 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_GetTextExtent",kwnames
,&obj0
,&obj1
)) goto fail
;
30331 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30332 if (SWIG_arg_fail(1)) SWIG_fail
;
30334 arg2
= wxString_in_helper(obj1
);
30335 if (arg2
== NULL
) SWIG_fail
;
30339 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30340 (arg1
)->GetTextExtent((wxString
const &)*arg2
,arg3
,arg4
);
30342 wxPyEndAllowThreads(__tstate
);
30343 if (PyErr_Occurred()) SWIG_fail
;
30345 Py_INCREF(Py_None
); resultobj
= Py_None
;
30346 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
30347 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
30348 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
30349 SWIG_From_int((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, 0)));
30364 static PyObject
*_wrap_Window_GetFullTextExtent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30365 PyObject
*resultobj
;
30366 wxWindow
*arg1
= (wxWindow
*) 0 ;
30367 wxString
*arg2
= 0 ;
30368 int *arg3
= (int *) 0 ;
30369 int *arg4
= (int *) 0 ;
30370 int *arg5
= (int *) 0 ;
30371 int *arg6
= (int *) 0 ;
30372 wxFont
*arg7
= (wxFont
*) NULL
;
30373 bool temp2
= false ;
30382 PyObject
* obj0
= 0 ;
30383 PyObject
* obj1
= 0 ;
30384 PyObject
* obj2
= 0 ;
30385 char *kwnames
[] = {
30386 (char *) "self",(char *) "string",(char *) "font", NULL
30389 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
30390 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
30391 arg5
= &temp5
; res5
= SWIG_NEWOBJ
;
30392 arg6
= &temp6
; res6
= SWIG_NEWOBJ
;
30393 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_GetFullTextExtent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
30394 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30395 if (SWIG_arg_fail(1)) SWIG_fail
;
30397 arg2
= wxString_in_helper(obj1
);
30398 if (arg2
== NULL
) SWIG_fail
;
30402 SWIG_Python_ConvertPtr(obj2
, (void **)&arg7
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
30403 if (SWIG_arg_fail(7)) SWIG_fail
;
30406 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30407 (arg1
)->GetTextExtent((wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
,(wxFont
const *)arg7
);
30409 wxPyEndAllowThreads(__tstate
);
30410 if (PyErr_Occurred()) SWIG_fail
;
30412 Py_INCREF(Py_None
); resultobj
= Py_None
;
30413 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
30414 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
30415 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
30416 SWIG_From_int((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, 0)));
30417 resultobj
= t_output_helper(resultobj
, ((res5
== SWIG_NEWOBJ
) ?
30418 SWIG_From_int((*arg5
)) : SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, 0)));
30419 resultobj
= t_output_helper(resultobj
, ((res6
== SWIG_NEWOBJ
) ?
30420 SWIG_From_int((*arg6
)) : SWIG_NewPointerObj((void*)(arg6
), SWIGTYPE_p_int
, 0)));
30435 static PyObject
*_wrap_Window_ClientToScreenXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30436 PyObject
*resultobj
;
30437 wxWindow
*arg1
= (wxWindow
*) 0 ;
30438 int *arg2
= (int *) 0 ;
30439 int *arg3
= (int *) 0 ;
30444 PyObject
* obj0
= 0 ;
30445 PyObject
* obj1
= 0 ;
30446 PyObject
* obj2
= 0 ;
30447 char *kwnames
[] = {
30448 (char *) "self",(char *) "x",(char *) "y", NULL
30451 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_ClientToScreenXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
30452 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30453 if (SWIG_arg_fail(1)) SWIG_fail
;
30455 if (!(SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_int
,0) != -1)) {
30456 temp2
= SWIG_As_int(obj1
);
30457 if (SWIG_arg_fail(2)) SWIG_fail
;
30459 res2
= SWIG_NEWOBJ
;
30463 if (!(SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_int
,0) != -1)) {
30464 temp3
= SWIG_As_int(obj2
);
30465 if (SWIG_arg_fail(3)) SWIG_fail
;
30467 res3
= SWIG_NEWOBJ
;
30471 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30472 ((wxWindow
const *)arg1
)->ClientToScreen(arg2
,arg3
);
30474 wxPyEndAllowThreads(__tstate
);
30475 if (PyErr_Occurred()) SWIG_fail
;
30477 Py_INCREF(Py_None
); resultobj
= Py_None
;
30478 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
30479 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
30480 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
30481 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
30488 static PyObject
*_wrap_Window_ScreenToClientXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30489 PyObject
*resultobj
;
30490 wxWindow
*arg1
= (wxWindow
*) 0 ;
30491 int *arg2
= (int *) 0 ;
30492 int *arg3
= (int *) 0 ;
30497 PyObject
* obj0
= 0 ;
30498 PyObject
* obj1
= 0 ;
30499 PyObject
* obj2
= 0 ;
30500 char *kwnames
[] = {
30501 (char *) "self",(char *) "x",(char *) "y", NULL
30504 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_ScreenToClientXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
30505 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30506 if (SWIG_arg_fail(1)) SWIG_fail
;
30508 if (!(SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_int
,0) != -1)) {
30509 temp2
= SWIG_As_int(obj1
);
30510 if (SWIG_arg_fail(2)) SWIG_fail
;
30512 res2
= SWIG_NEWOBJ
;
30516 if (!(SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_int
,0) != -1)) {
30517 temp3
= SWIG_As_int(obj2
);
30518 if (SWIG_arg_fail(3)) SWIG_fail
;
30520 res3
= SWIG_NEWOBJ
;
30524 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30525 ((wxWindow
const *)arg1
)->ScreenToClient(arg2
,arg3
);
30527 wxPyEndAllowThreads(__tstate
);
30528 if (PyErr_Occurred()) SWIG_fail
;
30530 Py_INCREF(Py_None
); resultobj
= Py_None
;
30531 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
30532 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
30533 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
30534 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
30541 static PyObject
*_wrap_Window_ClientToScreen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30542 PyObject
*resultobj
;
30543 wxWindow
*arg1
= (wxWindow
*) 0 ;
30544 wxPoint
*arg2
= 0 ;
30547 PyObject
* obj0
= 0 ;
30548 PyObject
* obj1
= 0 ;
30549 char *kwnames
[] = {
30550 (char *) "self",(char *) "pt", NULL
30553 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ClientToScreen",kwnames
,&obj0
,&obj1
)) goto fail
;
30554 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30555 if (SWIG_arg_fail(1)) SWIG_fail
;
30558 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
30561 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30562 result
= ((wxWindow
const *)arg1
)->ClientToScreen((wxPoint
const &)*arg2
);
30564 wxPyEndAllowThreads(__tstate
);
30565 if (PyErr_Occurred()) SWIG_fail
;
30568 wxPoint
* resultptr
;
30569 resultptr
= new wxPoint((wxPoint
&)(result
));
30570 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
30578 static PyObject
*_wrap_Window_ScreenToClient(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30579 PyObject
*resultobj
;
30580 wxWindow
*arg1
= (wxWindow
*) 0 ;
30581 wxPoint
*arg2
= 0 ;
30584 PyObject
* obj0
= 0 ;
30585 PyObject
* obj1
= 0 ;
30586 char *kwnames
[] = {
30587 (char *) "self",(char *) "pt", NULL
30590 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ScreenToClient",kwnames
,&obj0
,&obj1
)) goto fail
;
30591 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30592 if (SWIG_arg_fail(1)) SWIG_fail
;
30595 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
30598 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30599 result
= ((wxWindow
const *)arg1
)->ScreenToClient((wxPoint
const &)*arg2
);
30601 wxPyEndAllowThreads(__tstate
);
30602 if (PyErr_Occurred()) SWIG_fail
;
30605 wxPoint
* resultptr
;
30606 resultptr
= new wxPoint((wxPoint
&)(result
));
30607 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
30615 static PyObject
*_wrap_Window_HitTestXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30616 PyObject
*resultobj
;
30617 wxWindow
*arg1
= (wxWindow
*) 0 ;
30621 PyObject
* obj0
= 0 ;
30622 PyObject
* obj1
= 0 ;
30623 PyObject
* obj2
= 0 ;
30624 char *kwnames
[] = {
30625 (char *) "self",(char *) "x",(char *) "y", NULL
30628 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_HitTestXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
30629 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30630 if (SWIG_arg_fail(1)) SWIG_fail
;
30632 arg2
= (int)(SWIG_As_int(obj1
));
30633 if (SWIG_arg_fail(2)) SWIG_fail
;
30636 arg3
= (int)(SWIG_As_int(obj2
));
30637 if (SWIG_arg_fail(3)) SWIG_fail
;
30640 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30641 result
= (wxHitTest
)((wxWindow
const *)arg1
)->HitTest(arg2
,arg3
);
30643 wxPyEndAllowThreads(__tstate
);
30644 if (PyErr_Occurred()) SWIG_fail
;
30646 resultobj
= SWIG_From_int((result
));
30653 static PyObject
*_wrap_Window_HitTest(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30654 PyObject
*resultobj
;
30655 wxWindow
*arg1
= (wxWindow
*) 0 ;
30656 wxPoint
*arg2
= 0 ;
30659 PyObject
* obj0
= 0 ;
30660 PyObject
* obj1
= 0 ;
30661 char *kwnames
[] = {
30662 (char *) "self",(char *) "pt", NULL
30665 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
30666 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30667 if (SWIG_arg_fail(1)) SWIG_fail
;
30670 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
30673 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30674 result
= (wxHitTest
)((wxWindow
const *)arg1
)->HitTest((wxPoint
const &)*arg2
);
30676 wxPyEndAllowThreads(__tstate
);
30677 if (PyErr_Occurred()) SWIG_fail
;
30679 resultobj
= SWIG_From_int((result
));
30686 static PyObject
*_wrap_Window_GetBorder__SWIG_0(PyObject
*, PyObject
*args
) {
30687 PyObject
*resultobj
;
30688 wxWindow
*arg1
= (wxWindow
*) 0 ;
30691 PyObject
* obj0
= 0 ;
30692 PyObject
* obj1
= 0 ;
30694 if(!PyArg_ParseTuple(args
,(char *)"OO:Window_GetBorder",&obj0
,&obj1
)) goto fail
;
30695 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30696 if (SWIG_arg_fail(1)) SWIG_fail
;
30698 arg2
= (long)(SWIG_As_long(obj1
));
30699 if (SWIG_arg_fail(2)) SWIG_fail
;
30702 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30703 result
= (wxBorder
)((wxWindow
const *)arg1
)->GetBorder(arg2
);
30705 wxPyEndAllowThreads(__tstate
);
30706 if (PyErr_Occurred()) SWIG_fail
;
30708 resultobj
= SWIG_From_int((result
));
30715 static PyObject
*_wrap_Window_GetBorder__SWIG_1(PyObject
*, PyObject
*args
) {
30716 PyObject
*resultobj
;
30717 wxWindow
*arg1
= (wxWindow
*) 0 ;
30719 PyObject
* obj0
= 0 ;
30721 if(!PyArg_ParseTuple(args
,(char *)"O:Window_GetBorder",&obj0
)) goto fail
;
30722 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30723 if (SWIG_arg_fail(1)) SWIG_fail
;
30725 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30726 result
= (wxBorder
)((wxWindow
const *)arg1
)->GetBorder();
30728 wxPyEndAllowThreads(__tstate
);
30729 if (PyErr_Occurred()) SWIG_fail
;
30731 resultobj
= SWIG_From_int((result
));
30738 static PyObject
*_wrap_Window_GetBorder(PyObject
*self
, PyObject
*args
) {
30743 argc
= PyObject_Length(args
);
30744 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
30745 argv
[ii
] = PyTuple_GetItem(args
,ii
);
30751 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
30759 return _wrap_Window_GetBorder__SWIG_1(self
,args
);
30766 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
30774 _v
= SWIG_Check_long(argv
[1]);
30776 return _wrap_Window_GetBorder__SWIG_0(self
,args
);
30781 PyErr_SetString(PyExc_NotImplementedError
,"No matching function for overloaded 'Window_GetBorder'");
30786 static PyObject
*_wrap_Window_UpdateWindowUI(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30787 PyObject
*resultobj
;
30788 wxWindow
*arg1
= (wxWindow
*) 0 ;
30789 long arg2
= (long) wxUPDATE_UI_NONE
;
30790 PyObject
* obj0
= 0 ;
30791 PyObject
* obj1
= 0 ;
30792 char *kwnames
[] = {
30793 (char *) "self",(char *) "flags", NULL
30796 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_UpdateWindowUI",kwnames
,&obj0
,&obj1
)) goto fail
;
30797 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30798 if (SWIG_arg_fail(1)) SWIG_fail
;
30801 arg2
= (long)(SWIG_As_long(obj1
));
30802 if (SWIG_arg_fail(2)) SWIG_fail
;
30806 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30807 (arg1
)->UpdateWindowUI(arg2
);
30809 wxPyEndAllowThreads(__tstate
);
30810 if (PyErr_Occurred()) SWIG_fail
;
30812 Py_INCREF(Py_None
); resultobj
= Py_None
;
30819 static PyObject
*_wrap_Window_PopupMenuXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30820 PyObject
*resultobj
;
30821 wxWindow
*arg1
= (wxWindow
*) 0 ;
30822 wxMenu
*arg2
= (wxMenu
*) 0 ;
30823 int arg3
= (int) -1 ;
30824 int arg4
= (int) -1 ;
30826 PyObject
* obj0
= 0 ;
30827 PyObject
* obj1
= 0 ;
30828 PyObject
* obj2
= 0 ;
30829 PyObject
* obj3
= 0 ;
30830 char *kwnames
[] = {
30831 (char *) "self",(char *) "menu",(char *) "x",(char *) "y", NULL
30834 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:Window_PopupMenuXY",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
30835 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30836 if (SWIG_arg_fail(1)) SWIG_fail
;
30837 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
30838 if (SWIG_arg_fail(2)) SWIG_fail
;
30841 arg3
= (int)(SWIG_As_int(obj2
));
30842 if (SWIG_arg_fail(3)) SWIG_fail
;
30847 arg4
= (int)(SWIG_As_int(obj3
));
30848 if (SWIG_arg_fail(4)) SWIG_fail
;
30852 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30853 result
= (bool)(arg1
)->PopupMenu(arg2
,arg3
,arg4
);
30855 wxPyEndAllowThreads(__tstate
);
30856 if (PyErr_Occurred()) SWIG_fail
;
30859 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30867 static PyObject
*_wrap_Window_PopupMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30868 PyObject
*resultobj
;
30869 wxWindow
*arg1
= (wxWindow
*) 0 ;
30870 wxMenu
*arg2
= (wxMenu
*) 0 ;
30871 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
30872 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
30875 PyObject
* obj0
= 0 ;
30876 PyObject
* obj1
= 0 ;
30877 PyObject
* obj2
= 0 ;
30878 char *kwnames
[] = {
30879 (char *) "self",(char *) "menu",(char *) "pos", NULL
30882 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_PopupMenu",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
30883 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30884 if (SWIG_arg_fail(1)) SWIG_fail
;
30885 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
30886 if (SWIG_arg_fail(2)) SWIG_fail
;
30890 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
30894 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30895 result
= (bool)(arg1
)->PopupMenu(arg2
,(wxPoint
const &)*arg3
);
30897 wxPyEndAllowThreads(__tstate
);
30898 if (PyErr_Occurred()) SWIG_fail
;
30901 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30909 static PyObject
*_wrap_Window_GetHandle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30910 PyObject
*resultobj
;
30911 wxWindow
*arg1
= (wxWindow
*) 0 ;
30913 PyObject
* obj0
= 0 ;
30914 char *kwnames
[] = {
30915 (char *) "self", NULL
30918 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetHandle",kwnames
,&obj0
)) goto fail
;
30919 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30920 if (SWIG_arg_fail(1)) SWIG_fail
;
30922 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30923 result
= (long)wxWindow_GetHandle(arg1
);
30925 wxPyEndAllowThreads(__tstate
);
30926 if (PyErr_Occurred()) SWIG_fail
;
30929 resultobj
= SWIG_From_long((long)(result
));
30937 static PyObject
*_wrap_Window_AssociateHandle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30938 PyObject
*resultobj
;
30939 wxWindow
*arg1
= (wxWindow
*) 0 ;
30941 PyObject
* obj0
= 0 ;
30942 PyObject
* obj1
= 0 ;
30943 char *kwnames
[] = {
30944 (char *) "self",(char *) "handle", NULL
30947 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_AssociateHandle",kwnames
,&obj0
,&obj1
)) goto fail
;
30948 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30949 if (SWIG_arg_fail(1)) SWIG_fail
;
30951 arg2
= (long)(SWIG_As_long(obj1
));
30952 if (SWIG_arg_fail(2)) SWIG_fail
;
30955 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30956 wxWindow_AssociateHandle(arg1
,arg2
);
30958 wxPyEndAllowThreads(__tstate
);
30959 if (PyErr_Occurred()) SWIG_fail
;
30961 Py_INCREF(Py_None
); resultobj
= Py_None
;
30968 static PyObject
*_wrap_Window_DissociateHandle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30969 PyObject
*resultobj
;
30970 wxWindow
*arg1
= (wxWindow
*) 0 ;
30971 PyObject
* obj0
= 0 ;
30972 char *kwnames
[] = {
30973 (char *) "self", NULL
30976 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_DissociateHandle",kwnames
,&obj0
)) goto fail
;
30977 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30978 if (SWIG_arg_fail(1)) SWIG_fail
;
30980 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30981 (arg1
)->DissociateHandle();
30983 wxPyEndAllowThreads(__tstate
);
30984 if (PyErr_Occurred()) SWIG_fail
;
30986 Py_INCREF(Py_None
); resultobj
= Py_None
;
30993 static PyObject
*_wrap_Window_HasScrollbar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30994 PyObject
*resultobj
;
30995 wxWindow
*arg1
= (wxWindow
*) 0 ;
30998 PyObject
* obj0
= 0 ;
30999 PyObject
* obj1
= 0 ;
31000 char *kwnames
[] = {
31001 (char *) "self",(char *) "orient", NULL
31004 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_HasScrollbar",kwnames
,&obj0
,&obj1
)) goto fail
;
31005 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31006 if (SWIG_arg_fail(1)) SWIG_fail
;
31008 arg2
= (int)(SWIG_As_int(obj1
));
31009 if (SWIG_arg_fail(2)) SWIG_fail
;
31012 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31013 result
= (bool)((wxWindow
const *)arg1
)->HasScrollbar(arg2
);
31015 wxPyEndAllowThreads(__tstate
);
31016 if (PyErr_Occurred()) SWIG_fail
;
31019 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31027 static PyObject
*_wrap_Window_SetScrollbar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31028 PyObject
*resultobj
;
31029 wxWindow
*arg1
= (wxWindow
*) 0 ;
31034 bool arg6
= (bool) true ;
31035 PyObject
* obj0
= 0 ;
31036 PyObject
* obj1
= 0 ;
31037 PyObject
* obj2
= 0 ;
31038 PyObject
* obj3
= 0 ;
31039 PyObject
* obj4
= 0 ;
31040 PyObject
* obj5
= 0 ;
31041 char *kwnames
[] = {
31042 (char *) "self",(char *) "orientation",(char *) "position",(char *) "thumbSize",(char *) "range",(char *) "refresh", NULL
31045 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:Window_SetScrollbar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
31046 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31047 if (SWIG_arg_fail(1)) SWIG_fail
;
31049 arg2
= (int)(SWIG_As_int(obj1
));
31050 if (SWIG_arg_fail(2)) SWIG_fail
;
31053 arg3
= (int)(SWIG_As_int(obj2
));
31054 if (SWIG_arg_fail(3)) SWIG_fail
;
31057 arg4
= (int)(SWIG_As_int(obj3
));
31058 if (SWIG_arg_fail(4)) SWIG_fail
;
31061 arg5
= (int)(SWIG_As_int(obj4
));
31062 if (SWIG_arg_fail(5)) SWIG_fail
;
31066 arg6
= (bool)(SWIG_As_bool(obj5
));
31067 if (SWIG_arg_fail(6)) SWIG_fail
;
31071 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31072 (arg1
)->SetScrollbar(arg2
,arg3
,arg4
,arg5
,arg6
);
31074 wxPyEndAllowThreads(__tstate
);
31075 if (PyErr_Occurred()) SWIG_fail
;
31077 Py_INCREF(Py_None
); resultobj
= Py_None
;
31084 static PyObject
*_wrap_Window_SetScrollPos(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31085 PyObject
*resultobj
;
31086 wxWindow
*arg1
= (wxWindow
*) 0 ;
31089 bool arg4
= (bool) true ;
31090 PyObject
* obj0
= 0 ;
31091 PyObject
* obj1
= 0 ;
31092 PyObject
* obj2
= 0 ;
31093 PyObject
* obj3
= 0 ;
31094 char *kwnames
[] = {
31095 (char *) "self",(char *) "orientation",(char *) "pos",(char *) "refresh", NULL
31098 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Window_SetScrollPos",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
31099 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31100 if (SWIG_arg_fail(1)) SWIG_fail
;
31102 arg2
= (int)(SWIG_As_int(obj1
));
31103 if (SWIG_arg_fail(2)) SWIG_fail
;
31106 arg3
= (int)(SWIG_As_int(obj2
));
31107 if (SWIG_arg_fail(3)) SWIG_fail
;
31111 arg4
= (bool)(SWIG_As_bool(obj3
));
31112 if (SWIG_arg_fail(4)) SWIG_fail
;
31116 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31117 (arg1
)->SetScrollPos(arg2
,arg3
,arg4
);
31119 wxPyEndAllowThreads(__tstate
);
31120 if (PyErr_Occurred()) SWIG_fail
;
31122 Py_INCREF(Py_None
); resultobj
= Py_None
;
31129 static PyObject
*_wrap_Window_GetScrollPos(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31130 PyObject
*resultobj
;
31131 wxWindow
*arg1
= (wxWindow
*) 0 ;
31134 PyObject
* obj0
= 0 ;
31135 PyObject
* obj1
= 0 ;
31136 char *kwnames
[] = {
31137 (char *) "self",(char *) "orientation", NULL
31140 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_GetScrollPos",kwnames
,&obj0
,&obj1
)) goto fail
;
31141 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31142 if (SWIG_arg_fail(1)) SWIG_fail
;
31144 arg2
= (int)(SWIG_As_int(obj1
));
31145 if (SWIG_arg_fail(2)) SWIG_fail
;
31148 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31149 result
= (int)((wxWindow
const *)arg1
)->GetScrollPos(arg2
);
31151 wxPyEndAllowThreads(__tstate
);
31152 if (PyErr_Occurred()) SWIG_fail
;
31155 resultobj
= SWIG_From_int((int)(result
));
31163 static PyObject
*_wrap_Window_GetScrollThumb(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31164 PyObject
*resultobj
;
31165 wxWindow
*arg1
= (wxWindow
*) 0 ;
31168 PyObject
* obj0
= 0 ;
31169 PyObject
* obj1
= 0 ;
31170 char *kwnames
[] = {
31171 (char *) "self",(char *) "orientation", NULL
31174 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_GetScrollThumb",kwnames
,&obj0
,&obj1
)) 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 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31183 result
= (int)((wxWindow
const *)arg1
)->GetScrollThumb(arg2
);
31185 wxPyEndAllowThreads(__tstate
);
31186 if (PyErr_Occurred()) SWIG_fail
;
31189 resultobj
= SWIG_From_int((int)(result
));
31197 static PyObject
*_wrap_Window_GetScrollRange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31198 PyObject
*resultobj
;
31199 wxWindow
*arg1
= (wxWindow
*) 0 ;
31202 PyObject
* obj0
= 0 ;
31203 PyObject
* obj1
= 0 ;
31204 char *kwnames
[] = {
31205 (char *) "self",(char *) "orientation", NULL
31208 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_GetScrollRange",kwnames
,&obj0
,&obj1
)) goto fail
;
31209 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31210 if (SWIG_arg_fail(1)) SWIG_fail
;
31212 arg2
= (int)(SWIG_As_int(obj1
));
31213 if (SWIG_arg_fail(2)) SWIG_fail
;
31216 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31217 result
= (int)((wxWindow
const *)arg1
)->GetScrollRange(arg2
);
31219 wxPyEndAllowThreads(__tstate
);
31220 if (PyErr_Occurred()) SWIG_fail
;
31223 resultobj
= SWIG_From_int((int)(result
));
31231 static PyObject
*_wrap_Window_ScrollWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31232 PyObject
*resultobj
;
31233 wxWindow
*arg1
= (wxWindow
*) 0 ;
31236 wxRect
*arg4
= (wxRect
*) NULL
;
31237 PyObject
* obj0
= 0 ;
31238 PyObject
* obj1
= 0 ;
31239 PyObject
* obj2
= 0 ;
31240 PyObject
* obj3
= 0 ;
31241 char *kwnames
[] = {
31242 (char *) "self",(char *) "dx",(char *) "dy",(char *) "rect", NULL
31245 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Window_ScrollWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
31246 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31247 if (SWIG_arg_fail(1)) SWIG_fail
;
31249 arg2
= (int)(SWIG_As_int(obj1
));
31250 if (SWIG_arg_fail(2)) SWIG_fail
;
31253 arg3
= (int)(SWIG_As_int(obj2
));
31254 if (SWIG_arg_fail(3)) SWIG_fail
;
31257 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
31258 if (SWIG_arg_fail(4)) SWIG_fail
;
31261 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31262 (arg1
)->ScrollWindow(arg2
,arg3
,(wxRect
const *)arg4
);
31264 wxPyEndAllowThreads(__tstate
);
31265 if (PyErr_Occurred()) SWIG_fail
;
31267 Py_INCREF(Py_None
); resultobj
= Py_None
;
31274 static PyObject
*_wrap_Window_ScrollLines(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31275 PyObject
*resultobj
;
31276 wxWindow
*arg1
= (wxWindow
*) 0 ;
31279 PyObject
* obj0
= 0 ;
31280 PyObject
* obj1
= 0 ;
31281 char *kwnames
[] = {
31282 (char *) "self",(char *) "lines", NULL
31285 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ScrollLines",kwnames
,&obj0
,&obj1
)) goto fail
;
31286 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31287 if (SWIG_arg_fail(1)) SWIG_fail
;
31289 arg2
= (int)(SWIG_As_int(obj1
));
31290 if (SWIG_arg_fail(2)) SWIG_fail
;
31293 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31294 result
= (bool)(arg1
)->ScrollLines(arg2
);
31296 wxPyEndAllowThreads(__tstate
);
31297 if (PyErr_Occurred()) SWIG_fail
;
31300 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31308 static PyObject
*_wrap_Window_ScrollPages(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31309 PyObject
*resultobj
;
31310 wxWindow
*arg1
= (wxWindow
*) 0 ;
31313 PyObject
* obj0
= 0 ;
31314 PyObject
* obj1
= 0 ;
31315 char *kwnames
[] = {
31316 (char *) "self",(char *) "pages", NULL
31319 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ScrollPages",kwnames
,&obj0
,&obj1
)) goto fail
;
31320 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31321 if (SWIG_arg_fail(1)) SWIG_fail
;
31323 arg2
= (int)(SWIG_As_int(obj1
));
31324 if (SWIG_arg_fail(2)) SWIG_fail
;
31327 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31328 result
= (bool)(arg1
)->ScrollPages(arg2
);
31330 wxPyEndAllowThreads(__tstate
);
31331 if (PyErr_Occurred()) SWIG_fail
;
31334 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31342 static PyObject
*_wrap_Window_LineUp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31343 PyObject
*resultobj
;
31344 wxWindow
*arg1
= (wxWindow
*) 0 ;
31346 PyObject
* obj0
= 0 ;
31347 char *kwnames
[] = {
31348 (char *) "self", NULL
31351 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_LineUp",kwnames
,&obj0
)) goto fail
;
31352 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31353 if (SWIG_arg_fail(1)) SWIG_fail
;
31355 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31356 result
= (bool)(arg1
)->LineUp();
31358 wxPyEndAllowThreads(__tstate
);
31359 if (PyErr_Occurred()) SWIG_fail
;
31362 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31370 static PyObject
*_wrap_Window_LineDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31371 PyObject
*resultobj
;
31372 wxWindow
*arg1
= (wxWindow
*) 0 ;
31374 PyObject
* obj0
= 0 ;
31375 char *kwnames
[] = {
31376 (char *) "self", NULL
31379 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_LineDown",kwnames
,&obj0
)) goto fail
;
31380 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31381 if (SWIG_arg_fail(1)) SWIG_fail
;
31383 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31384 result
= (bool)(arg1
)->LineDown();
31386 wxPyEndAllowThreads(__tstate
);
31387 if (PyErr_Occurred()) SWIG_fail
;
31390 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31398 static PyObject
*_wrap_Window_PageUp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31399 PyObject
*resultobj
;
31400 wxWindow
*arg1
= (wxWindow
*) 0 ;
31402 PyObject
* obj0
= 0 ;
31403 char *kwnames
[] = {
31404 (char *) "self", NULL
31407 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_PageUp",kwnames
,&obj0
)) goto fail
;
31408 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31409 if (SWIG_arg_fail(1)) SWIG_fail
;
31411 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31412 result
= (bool)(arg1
)->PageUp();
31414 wxPyEndAllowThreads(__tstate
);
31415 if (PyErr_Occurred()) SWIG_fail
;
31418 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31426 static PyObject
*_wrap_Window_PageDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31427 PyObject
*resultobj
;
31428 wxWindow
*arg1
= (wxWindow
*) 0 ;
31430 PyObject
* obj0
= 0 ;
31431 char *kwnames
[] = {
31432 (char *) "self", NULL
31435 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_PageDown",kwnames
,&obj0
)) goto fail
;
31436 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31437 if (SWIG_arg_fail(1)) SWIG_fail
;
31439 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31440 result
= (bool)(arg1
)->PageDown();
31442 wxPyEndAllowThreads(__tstate
);
31443 if (PyErr_Occurred()) SWIG_fail
;
31446 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31454 static PyObject
*_wrap_Window_SetHelpText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31455 PyObject
*resultobj
;
31456 wxWindow
*arg1
= (wxWindow
*) 0 ;
31457 wxString
*arg2
= 0 ;
31458 bool temp2
= false ;
31459 PyObject
* obj0
= 0 ;
31460 PyObject
* obj1
= 0 ;
31461 char *kwnames
[] = {
31462 (char *) "self",(char *) "text", NULL
31465 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetHelpText",kwnames
,&obj0
,&obj1
)) goto fail
;
31466 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31467 if (SWIG_arg_fail(1)) SWIG_fail
;
31469 arg2
= wxString_in_helper(obj1
);
31470 if (arg2
== NULL
) SWIG_fail
;
31474 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31475 (arg1
)->SetHelpText((wxString
const &)*arg2
);
31477 wxPyEndAllowThreads(__tstate
);
31478 if (PyErr_Occurred()) SWIG_fail
;
31480 Py_INCREF(Py_None
); resultobj
= Py_None
;
31495 static PyObject
*_wrap_Window_SetHelpTextForId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31496 PyObject
*resultobj
;
31497 wxWindow
*arg1
= (wxWindow
*) 0 ;
31498 wxString
*arg2
= 0 ;
31499 bool temp2
= false ;
31500 PyObject
* obj0
= 0 ;
31501 PyObject
* obj1
= 0 ;
31502 char *kwnames
[] = {
31503 (char *) "self",(char *) "text", NULL
31506 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetHelpTextForId",kwnames
,&obj0
,&obj1
)) goto fail
;
31507 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31508 if (SWIG_arg_fail(1)) SWIG_fail
;
31510 arg2
= wxString_in_helper(obj1
);
31511 if (arg2
== NULL
) SWIG_fail
;
31515 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31516 (arg1
)->SetHelpTextForId((wxString
const &)*arg2
);
31518 wxPyEndAllowThreads(__tstate
);
31519 if (PyErr_Occurred()) SWIG_fail
;
31521 Py_INCREF(Py_None
); resultobj
= Py_None
;
31536 static PyObject
*_wrap_Window_GetHelpText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31537 PyObject
*resultobj
;
31538 wxWindow
*arg1
= (wxWindow
*) 0 ;
31540 PyObject
* obj0
= 0 ;
31541 char *kwnames
[] = {
31542 (char *) "self", NULL
31545 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetHelpText",kwnames
,&obj0
)) goto fail
;
31546 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31547 if (SWIG_arg_fail(1)) SWIG_fail
;
31549 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31550 result
= ((wxWindow
const *)arg1
)->GetHelpText();
31552 wxPyEndAllowThreads(__tstate
);
31553 if (PyErr_Occurred()) SWIG_fail
;
31557 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
31559 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
31568 static PyObject
*_wrap_Window_SetToolTipString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31569 PyObject
*resultobj
;
31570 wxWindow
*arg1
= (wxWindow
*) 0 ;
31571 wxString
*arg2
= 0 ;
31572 bool temp2
= false ;
31573 PyObject
* obj0
= 0 ;
31574 PyObject
* obj1
= 0 ;
31575 char *kwnames
[] = {
31576 (char *) "self",(char *) "tip", NULL
31579 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetToolTipString",kwnames
,&obj0
,&obj1
)) goto fail
;
31580 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31581 if (SWIG_arg_fail(1)) SWIG_fail
;
31583 arg2
= wxString_in_helper(obj1
);
31584 if (arg2
== NULL
) SWIG_fail
;
31588 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31589 (arg1
)->SetToolTip((wxString
const &)*arg2
);
31591 wxPyEndAllowThreads(__tstate
);
31592 if (PyErr_Occurred()) SWIG_fail
;
31594 Py_INCREF(Py_None
); resultobj
= Py_None
;
31609 static PyObject
*_wrap_Window_SetToolTip(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31610 PyObject
*resultobj
;
31611 wxWindow
*arg1
= (wxWindow
*) 0 ;
31612 wxToolTip
*arg2
= (wxToolTip
*) 0 ;
31613 PyObject
* obj0
= 0 ;
31614 PyObject
* obj1
= 0 ;
31615 char *kwnames
[] = {
31616 (char *) "self",(char *) "tip", NULL
31619 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetToolTip",kwnames
,&obj0
,&obj1
)) goto fail
;
31620 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31621 if (SWIG_arg_fail(1)) SWIG_fail
;
31622 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxToolTip
, SWIG_POINTER_EXCEPTION
| 0);
31623 if (SWIG_arg_fail(2)) SWIG_fail
;
31625 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31626 (arg1
)->SetToolTip(arg2
);
31628 wxPyEndAllowThreads(__tstate
);
31629 if (PyErr_Occurred()) SWIG_fail
;
31631 Py_INCREF(Py_None
); resultobj
= Py_None
;
31638 static PyObject
*_wrap_Window_GetToolTip(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31639 PyObject
*resultobj
;
31640 wxWindow
*arg1
= (wxWindow
*) 0 ;
31642 PyObject
* obj0
= 0 ;
31643 char *kwnames
[] = {
31644 (char *) "self", NULL
31647 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetToolTip",kwnames
,&obj0
)) goto fail
;
31648 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31649 if (SWIG_arg_fail(1)) SWIG_fail
;
31651 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31652 result
= (wxToolTip
*)((wxWindow
const *)arg1
)->GetToolTip();
31654 wxPyEndAllowThreads(__tstate
);
31655 if (PyErr_Occurred()) SWIG_fail
;
31658 resultobj
= wxPyMake_wxObject(result
, 0);
31666 static PyObject
*_wrap_Window_SetDropTarget(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31667 PyObject
*resultobj
;
31668 wxWindow
*arg1
= (wxWindow
*) 0 ;
31669 wxPyDropTarget
*arg2
= (wxPyDropTarget
*) 0 ;
31670 PyObject
* obj0
= 0 ;
31671 PyObject
* obj1
= 0 ;
31672 char *kwnames
[] = {
31673 (char *) "self",(char *) "dropTarget", NULL
31676 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetDropTarget",kwnames
,&obj0
,&obj1
)) goto fail
;
31677 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31678 if (SWIG_arg_fail(1)) SWIG_fail
;
31679 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPyDropTarget
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
31680 if (SWIG_arg_fail(2)) SWIG_fail
;
31682 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31683 (arg1
)->SetDropTarget(arg2
);
31685 wxPyEndAllowThreads(__tstate
);
31686 if (PyErr_Occurred()) SWIG_fail
;
31688 Py_INCREF(Py_None
); resultobj
= Py_None
;
31695 static PyObject
*_wrap_Window_GetDropTarget(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31696 PyObject
*resultobj
;
31697 wxWindow
*arg1
= (wxWindow
*) 0 ;
31698 wxPyDropTarget
*result
;
31699 PyObject
* obj0
= 0 ;
31700 char *kwnames
[] = {
31701 (char *) "self", NULL
31704 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetDropTarget",kwnames
,&obj0
)) goto fail
;
31705 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31706 if (SWIG_arg_fail(1)) SWIG_fail
;
31708 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31709 result
= (wxPyDropTarget
*)((wxWindow
const *)arg1
)->GetDropTarget();
31711 wxPyEndAllowThreads(__tstate
);
31712 if (PyErr_Occurred()) SWIG_fail
;
31714 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyDropTarget
, 0);
31721 static PyObject
*_wrap_Window_SetConstraints(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31722 PyObject
*resultobj
;
31723 wxWindow
*arg1
= (wxWindow
*) 0 ;
31724 wxLayoutConstraints
*arg2
= (wxLayoutConstraints
*) 0 ;
31725 PyObject
* obj0
= 0 ;
31726 PyObject
* obj1
= 0 ;
31727 char *kwnames
[] = {
31728 (char *) "self",(char *) "constraints", NULL
31731 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetConstraints",kwnames
,&obj0
,&obj1
)) goto fail
;
31732 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31733 if (SWIG_arg_fail(1)) SWIG_fail
;
31734 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxLayoutConstraints
, SWIG_POINTER_EXCEPTION
| 0);
31735 if (SWIG_arg_fail(2)) SWIG_fail
;
31737 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31738 (arg1
)->SetConstraints(arg2
);
31740 wxPyEndAllowThreads(__tstate
);
31741 if (PyErr_Occurred()) SWIG_fail
;
31743 Py_INCREF(Py_None
); resultobj
= Py_None
;
31750 static PyObject
*_wrap_Window_GetConstraints(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31751 PyObject
*resultobj
;
31752 wxWindow
*arg1
= (wxWindow
*) 0 ;
31753 wxLayoutConstraints
*result
;
31754 PyObject
* obj0
= 0 ;
31755 char *kwnames
[] = {
31756 (char *) "self", NULL
31759 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetConstraints",kwnames
,&obj0
)) goto fail
;
31760 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31761 if (SWIG_arg_fail(1)) SWIG_fail
;
31763 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31764 result
= (wxLayoutConstraints
*)((wxWindow
const *)arg1
)->GetConstraints();
31766 wxPyEndAllowThreads(__tstate
);
31767 if (PyErr_Occurred()) SWIG_fail
;
31769 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLayoutConstraints
, 0);
31776 static PyObject
*_wrap_Window_SetAutoLayout(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31777 PyObject
*resultobj
;
31778 wxWindow
*arg1
= (wxWindow
*) 0 ;
31780 PyObject
* obj0
= 0 ;
31781 PyObject
* obj1
= 0 ;
31782 char *kwnames
[] = {
31783 (char *) "self",(char *) "autoLayout", NULL
31786 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetAutoLayout",kwnames
,&obj0
,&obj1
)) goto fail
;
31787 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31788 if (SWIG_arg_fail(1)) SWIG_fail
;
31790 arg2
= (bool)(SWIG_As_bool(obj1
));
31791 if (SWIG_arg_fail(2)) SWIG_fail
;
31794 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31795 (arg1
)->SetAutoLayout(arg2
);
31797 wxPyEndAllowThreads(__tstate
);
31798 if (PyErr_Occurred()) SWIG_fail
;
31800 Py_INCREF(Py_None
); resultobj
= Py_None
;
31807 static PyObject
*_wrap_Window_GetAutoLayout(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31808 PyObject
*resultobj
;
31809 wxWindow
*arg1
= (wxWindow
*) 0 ;
31811 PyObject
* obj0
= 0 ;
31812 char *kwnames
[] = {
31813 (char *) "self", NULL
31816 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetAutoLayout",kwnames
,&obj0
)) goto fail
;
31817 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31818 if (SWIG_arg_fail(1)) SWIG_fail
;
31820 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31821 result
= (bool)((wxWindow
const *)arg1
)->GetAutoLayout();
31823 wxPyEndAllowThreads(__tstate
);
31824 if (PyErr_Occurred()) SWIG_fail
;
31827 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31835 static PyObject
*_wrap_Window_Layout(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31836 PyObject
*resultobj
;
31837 wxWindow
*arg1
= (wxWindow
*) 0 ;
31839 PyObject
* obj0
= 0 ;
31840 char *kwnames
[] = {
31841 (char *) "self", NULL
31844 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Layout",kwnames
,&obj0
)) goto fail
;
31845 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31846 if (SWIG_arg_fail(1)) SWIG_fail
;
31848 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31849 result
= (bool)(arg1
)->Layout();
31851 wxPyEndAllowThreads(__tstate
);
31852 if (PyErr_Occurred()) SWIG_fail
;
31855 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31863 static PyObject
*_wrap_Window_SetSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31864 PyObject
*resultobj
;
31865 wxWindow
*arg1
= (wxWindow
*) 0 ;
31866 wxSizer
*arg2
= (wxSizer
*) 0 ;
31867 bool arg3
= (bool) true ;
31868 PyObject
* obj0
= 0 ;
31869 PyObject
* obj1
= 0 ;
31870 PyObject
* obj2
= 0 ;
31871 char *kwnames
[] = {
31872 (char *) "self",(char *) "sizer",(char *) "deleteOld", NULL
31875 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_SetSizer",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
31876 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31877 if (SWIG_arg_fail(1)) SWIG_fail
;
31878 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
31879 if (SWIG_arg_fail(2)) SWIG_fail
;
31882 arg3
= (bool)(SWIG_As_bool(obj2
));
31883 if (SWIG_arg_fail(3)) SWIG_fail
;
31887 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31888 (arg1
)->SetSizer(arg2
,arg3
);
31890 wxPyEndAllowThreads(__tstate
);
31891 if (PyErr_Occurred()) SWIG_fail
;
31893 Py_INCREF(Py_None
); resultobj
= Py_None
;
31900 static PyObject
*_wrap_Window_SetSizerAndFit(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31901 PyObject
*resultobj
;
31902 wxWindow
*arg1
= (wxWindow
*) 0 ;
31903 wxSizer
*arg2
= (wxSizer
*) 0 ;
31904 bool arg3
= (bool) true ;
31905 PyObject
* obj0
= 0 ;
31906 PyObject
* obj1
= 0 ;
31907 PyObject
* obj2
= 0 ;
31908 char *kwnames
[] = {
31909 (char *) "self",(char *) "sizer",(char *) "deleteOld", NULL
31912 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_SetSizerAndFit",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
31913 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31914 if (SWIG_arg_fail(1)) SWIG_fail
;
31915 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
31916 if (SWIG_arg_fail(2)) SWIG_fail
;
31919 arg3
= (bool)(SWIG_As_bool(obj2
));
31920 if (SWIG_arg_fail(3)) SWIG_fail
;
31924 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31925 (arg1
)->SetSizerAndFit(arg2
,arg3
);
31927 wxPyEndAllowThreads(__tstate
);
31928 if (PyErr_Occurred()) SWIG_fail
;
31930 Py_INCREF(Py_None
); resultobj
= Py_None
;
31937 static PyObject
*_wrap_Window_GetSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31938 PyObject
*resultobj
;
31939 wxWindow
*arg1
= (wxWindow
*) 0 ;
31941 PyObject
* obj0
= 0 ;
31942 char *kwnames
[] = {
31943 (char *) "self", NULL
31946 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetSizer",kwnames
,&obj0
)) goto fail
;
31947 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31948 if (SWIG_arg_fail(1)) SWIG_fail
;
31950 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31951 result
= (wxSizer
*)((wxWindow
const *)arg1
)->GetSizer();
31953 wxPyEndAllowThreads(__tstate
);
31954 if (PyErr_Occurred()) SWIG_fail
;
31957 resultobj
= wxPyMake_wxSizer(result
, 0);
31965 static PyObject
*_wrap_Window_SetContainingSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31966 PyObject
*resultobj
;
31967 wxWindow
*arg1
= (wxWindow
*) 0 ;
31968 wxSizer
*arg2
= (wxSizer
*) 0 ;
31969 PyObject
* obj0
= 0 ;
31970 PyObject
* obj1
= 0 ;
31971 char *kwnames
[] = {
31972 (char *) "self",(char *) "sizer", NULL
31975 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetContainingSizer",kwnames
,&obj0
,&obj1
)) goto fail
;
31976 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31977 if (SWIG_arg_fail(1)) SWIG_fail
;
31978 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
31979 if (SWIG_arg_fail(2)) SWIG_fail
;
31981 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31982 (arg1
)->SetContainingSizer(arg2
);
31984 wxPyEndAllowThreads(__tstate
);
31985 if (PyErr_Occurred()) SWIG_fail
;
31987 Py_INCREF(Py_None
); resultobj
= Py_None
;
31994 static PyObject
*_wrap_Window_GetContainingSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31995 PyObject
*resultobj
;
31996 wxWindow
*arg1
= (wxWindow
*) 0 ;
31998 PyObject
* obj0
= 0 ;
31999 char *kwnames
[] = {
32000 (char *) "self", NULL
32003 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetContainingSizer",kwnames
,&obj0
)) goto fail
;
32004 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
32005 if (SWIG_arg_fail(1)) SWIG_fail
;
32007 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32008 result
= (wxSizer
*)((wxWindow
const *)arg1
)->GetContainingSizer();
32010 wxPyEndAllowThreads(__tstate
);
32011 if (PyErr_Occurred()) SWIG_fail
;
32014 resultobj
= wxPyMake_wxSizer(result
, 0);
32022 static PyObject
*_wrap_Window_InheritAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32023 PyObject
*resultobj
;
32024 wxWindow
*arg1
= (wxWindow
*) 0 ;
32025 PyObject
* obj0
= 0 ;
32026 char *kwnames
[] = {
32027 (char *) "self", NULL
32030 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_InheritAttributes",kwnames
,&obj0
)) goto fail
;
32031 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
32032 if (SWIG_arg_fail(1)) SWIG_fail
;
32034 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32035 (arg1
)->InheritAttributes();
32037 wxPyEndAllowThreads(__tstate
);
32038 if (PyErr_Occurred()) SWIG_fail
;
32040 Py_INCREF(Py_None
); resultobj
= Py_None
;
32047 static PyObject
*_wrap_Window_ShouldInheritColours(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32048 PyObject
*resultobj
;
32049 wxWindow
*arg1
= (wxWindow
*) 0 ;
32051 PyObject
* obj0
= 0 ;
32052 char *kwnames
[] = {
32053 (char *) "self", NULL
32056 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_ShouldInheritColours",kwnames
,&obj0
)) goto fail
;
32057 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
32058 if (SWIG_arg_fail(1)) SWIG_fail
;
32060 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32061 result
= (bool)((wxWindow
const *)arg1
)->ShouldInheritColours();
32063 wxPyEndAllowThreads(__tstate
);
32064 if (PyErr_Occurred()) SWIG_fail
;
32067 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32075 static PyObject
* Window_swigregister(PyObject
*, PyObject
*args
) {
32077 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
32078 SWIG_TypeClientData(SWIGTYPE_p_wxWindow
, obj
);
32080 return Py_BuildValue((char *)"");
32082 static PyObject
*_wrap_FindWindowById(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32083 PyObject
*resultobj
;
32085 wxWindow
*arg2
= (wxWindow
*) NULL
;
32087 PyObject
* obj0
= 0 ;
32088 PyObject
* obj1
= 0 ;
32089 char *kwnames
[] = {
32090 (char *) "id",(char *) "parent", NULL
32093 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:FindWindowById",kwnames
,&obj0
,&obj1
)) goto fail
;
32095 arg1
= (long)(SWIG_As_long(obj0
));
32096 if (SWIG_arg_fail(1)) SWIG_fail
;
32099 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
32100 if (SWIG_arg_fail(2)) SWIG_fail
;
32103 if (!wxPyCheckForApp()) SWIG_fail
;
32104 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32105 result
= (wxWindow
*)wxFindWindowById(arg1
,(wxWindow
const *)arg2
);
32107 wxPyEndAllowThreads(__tstate
);
32108 if (PyErr_Occurred()) SWIG_fail
;
32111 resultobj
= wxPyMake_wxObject(result
, 0);
32119 static PyObject
*_wrap_FindWindowByName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32120 PyObject
*resultobj
;
32121 wxString
*arg1
= 0 ;
32122 wxWindow
*arg2
= (wxWindow
*) NULL
;
32124 bool temp1
= false ;
32125 PyObject
* obj0
= 0 ;
32126 PyObject
* obj1
= 0 ;
32127 char *kwnames
[] = {
32128 (char *) "name",(char *) "parent", NULL
32131 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:FindWindowByName",kwnames
,&obj0
,&obj1
)) goto fail
;
32133 arg1
= wxString_in_helper(obj0
);
32134 if (arg1
== NULL
) SWIG_fail
;
32138 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
32139 if (SWIG_arg_fail(2)) SWIG_fail
;
32142 if (!wxPyCheckForApp()) SWIG_fail
;
32143 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32144 result
= (wxWindow
*)wxFindWindowByName((wxString
const &)*arg1
,(wxWindow
const *)arg2
);
32146 wxPyEndAllowThreads(__tstate
);
32147 if (PyErr_Occurred()) SWIG_fail
;
32150 resultobj
= wxPyMake_wxObject(result
, 0);
32166 static PyObject
*_wrap_FindWindowByLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32167 PyObject
*resultobj
;
32168 wxString
*arg1
= 0 ;
32169 wxWindow
*arg2
= (wxWindow
*) NULL
;
32171 bool temp1
= false ;
32172 PyObject
* obj0
= 0 ;
32173 PyObject
* obj1
= 0 ;
32174 char *kwnames
[] = {
32175 (char *) "label",(char *) "parent", NULL
32178 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:FindWindowByLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
32180 arg1
= wxString_in_helper(obj0
);
32181 if (arg1
== NULL
) SWIG_fail
;
32185 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
32186 if (SWIG_arg_fail(2)) SWIG_fail
;
32189 if (!wxPyCheckForApp()) SWIG_fail
;
32190 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32191 result
= (wxWindow
*)wxFindWindowByLabel((wxString
const &)*arg1
,(wxWindow
const *)arg2
);
32193 wxPyEndAllowThreads(__tstate
);
32194 if (PyErr_Occurred()) SWIG_fail
;
32197 resultobj
= wxPyMake_wxObject(result
, 0);
32213 static PyObject
*_wrap_Window_FromHWND(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32214 PyObject
*resultobj
;
32215 wxWindow
*arg1
= (wxWindow
*) 0 ;
32216 unsigned long arg2
;
32218 PyObject
* obj0
= 0 ;
32219 PyObject
* obj1
= 0 ;
32220 char *kwnames
[] = {
32221 (char *) "parent",(char *) "_hWnd", NULL
32224 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_FromHWND",kwnames
,&obj0
,&obj1
)) goto fail
;
32225 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
32226 if (SWIG_arg_fail(1)) SWIG_fail
;
32228 arg2
= (unsigned long)(SWIG_As_unsigned_SS_long(obj1
));
32229 if (SWIG_arg_fail(2)) SWIG_fail
;
32232 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32233 result
= (wxWindow
*)wxWindow_FromHWND(arg1
,arg2
);
32235 wxPyEndAllowThreads(__tstate
);
32236 if (PyErr_Occurred()) SWIG_fail
;
32239 resultobj
= wxPyMake_wxObject(result
, 0);
32247 static PyObject
*_wrap_new_Validator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32248 PyObject
*resultobj
;
32249 wxValidator
*result
;
32250 char *kwnames
[] = {
32254 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_Validator",kwnames
)) goto fail
;
32256 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32257 result
= (wxValidator
*)new wxValidator();
32259 wxPyEndAllowThreads(__tstate
);
32260 if (PyErr_Occurred()) SWIG_fail
;
32262 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxValidator
, 1);
32269 static PyObject
*_wrap_Validator_Clone(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32270 PyObject
*resultobj
;
32271 wxValidator
*arg1
= (wxValidator
*) 0 ;
32272 wxValidator
*result
;
32273 PyObject
* obj0
= 0 ;
32274 char *kwnames
[] = {
32275 (char *) "self", NULL
32278 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Validator_Clone",kwnames
,&obj0
)) goto fail
;
32279 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
32280 if (SWIG_arg_fail(1)) SWIG_fail
;
32282 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32283 result
= (wxValidator
*)(arg1
)->Clone();
32285 wxPyEndAllowThreads(__tstate
);
32286 if (PyErr_Occurred()) SWIG_fail
;
32289 resultobj
= wxPyMake_wxObject(result
, 0);
32297 static PyObject
*_wrap_Validator_Validate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32298 PyObject
*resultobj
;
32299 wxValidator
*arg1
= (wxValidator
*) 0 ;
32300 wxWindow
*arg2
= (wxWindow
*) 0 ;
32302 PyObject
* obj0
= 0 ;
32303 PyObject
* obj1
= 0 ;
32304 char *kwnames
[] = {
32305 (char *) "self",(char *) "parent", NULL
32308 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Validator_Validate",kwnames
,&obj0
,&obj1
)) goto fail
;
32309 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
32310 if (SWIG_arg_fail(1)) SWIG_fail
;
32311 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
32312 if (SWIG_arg_fail(2)) SWIG_fail
;
32314 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32315 result
= (bool)(arg1
)->Validate(arg2
);
32317 wxPyEndAllowThreads(__tstate
);
32318 if (PyErr_Occurred()) SWIG_fail
;
32321 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32329 static PyObject
*_wrap_Validator_TransferToWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32330 PyObject
*resultobj
;
32331 wxValidator
*arg1
= (wxValidator
*) 0 ;
32333 PyObject
* obj0
= 0 ;
32334 char *kwnames
[] = {
32335 (char *) "self", NULL
32338 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Validator_TransferToWindow",kwnames
,&obj0
)) goto fail
;
32339 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
32340 if (SWIG_arg_fail(1)) SWIG_fail
;
32342 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32343 result
= (bool)(arg1
)->TransferToWindow();
32345 wxPyEndAllowThreads(__tstate
);
32346 if (PyErr_Occurred()) SWIG_fail
;
32349 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32357 static PyObject
*_wrap_Validator_TransferFromWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32358 PyObject
*resultobj
;
32359 wxValidator
*arg1
= (wxValidator
*) 0 ;
32361 PyObject
* obj0
= 0 ;
32362 char *kwnames
[] = {
32363 (char *) "self", NULL
32366 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Validator_TransferFromWindow",kwnames
,&obj0
)) goto fail
;
32367 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
32368 if (SWIG_arg_fail(1)) SWIG_fail
;
32370 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32371 result
= (bool)(arg1
)->TransferFromWindow();
32373 wxPyEndAllowThreads(__tstate
);
32374 if (PyErr_Occurred()) SWIG_fail
;
32377 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32385 static PyObject
*_wrap_Validator_GetWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32386 PyObject
*resultobj
;
32387 wxValidator
*arg1
= (wxValidator
*) 0 ;
32389 PyObject
* obj0
= 0 ;
32390 char *kwnames
[] = {
32391 (char *) "self", NULL
32394 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Validator_GetWindow",kwnames
,&obj0
)) goto fail
;
32395 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
32396 if (SWIG_arg_fail(1)) SWIG_fail
;
32398 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32399 result
= (wxWindow
*)(arg1
)->GetWindow();
32401 wxPyEndAllowThreads(__tstate
);
32402 if (PyErr_Occurred()) SWIG_fail
;
32405 resultobj
= wxPyMake_wxObject(result
, 0);
32413 static PyObject
*_wrap_Validator_SetWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32414 PyObject
*resultobj
;
32415 wxValidator
*arg1
= (wxValidator
*) 0 ;
32416 wxWindow
*arg2
= (wxWindow
*) 0 ;
32417 PyObject
* obj0
= 0 ;
32418 PyObject
* obj1
= 0 ;
32419 char *kwnames
[] = {
32420 (char *) "self",(char *) "window", NULL
32423 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Validator_SetWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
32424 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
32425 if (SWIG_arg_fail(1)) SWIG_fail
;
32426 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
32427 if (SWIG_arg_fail(2)) SWIG_fail
;
32429 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32430 (arg1
)->SetWindow(arg2
);
32432 wxPyEndAllowThreads(__tstate
);
32433 if (PyErr_Occurred()) SWIG_fail
;
32435 Py_INCREF(Py_None
); resultobj
= Py_None
;
32442 static PyObject
*_wrap_Validator_IsSilent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32443 PyObject
*resultobj
;
32445 char *kwnames
[] = {
32449 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Validator_IsSilent",kwnames
)) goto fail
;
32451 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32452 result
= (bool)wxValidator::IsSilent();
32454 wxPyEndAllowThreads(__tstate
);
32455 if (PyErr_Occurred()) SWIG_fail
;
32458 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32466 static PyObject
*_wrap_Validator_SetBellOnError(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32467 PyObject
*resultobj
;
32468 int arg1
= (int) true ;
32469 PyObject
* obj0
= 0 ;
32470 char *kwnames
[] = {
32471 (char *) "doIt", NULL
32474 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Validator_SetBellOnError",kwnames
,&obj0
)) goto fail
;
32477 arg1
= (int)(SWIG_As_int(obj0
));
32478 if (SWIG_arg_fail(1)) SWIG_fail
;
32482 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32483 wxValidator::SetBellOnError(arg1
);
32485 wxPyEndAllowThreads(__tstate
);
32486 if (PyErr_Occurred()) SWIG_fail
;
32488 Py_INCREF(Py_None
); resultobj
= Py_None
;
32495 static PyObject
* Validator_swigregister(PyObject
*, PyObject
*args
) {
32497 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
32498 SWIG_TypeClientData(SWIGTYPE_p_wxValidator
, obj
);
32500 return Py_BuildValue((char *)"");
32502 static PyObject
*_wrap_new_PyValidator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32503 PyObject
*resultobj
;
32504 wxPyValidator
*result
;
32505 char *kwnames
[] = {
32509 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PyValidator",kwnames
)) goto fail
;
32511 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32512 result
= (wxPyValidator
*)new wxPyValidator();
32514 wxPyEndAllowThreads(__tstate
);
32515 if (PyErr_Occurred()) SWIG_fail
;
32517 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyValidator
, 1);
32524 static PyObject
*_wrap_PyValidator__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32525 PyObject
*resultobj
;
32526 wxPyValidator
*arg1
= (wxPyValidator
*) 0 ;
32527 PyObject
*arg2
= (PyObject
*) 0 ;
32528 PyObject
*arg3
= (PyObject
*) 0 ;
32529 int arg4
= (int) true ;
32530 PyObject
* obj0
= 0 ;
32531 PyObject
* obj1
= 0 ;
32532 PyObject
* obj2
= 0 ;
32533 PyObject
* obj3
= 0 ;
32534 char *kwnames
[] = {
32535 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
32538 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:PyValidator__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
32539 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyValidator
, SWIG_POINTER_EXCEPTION
| 0);
32540 if (SWIG_arg_fail(1)) SWIG_fail
;
32545 arg4
= (int)(SWIG_As_int(obj3
));
32546 if (SWIG_arg_fail(4)) SWIG_fail
;
32550 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32551 (arg1
)->_setCallbackInfo(arg2
,arg3
,arg4
);
32553 wxPyEndAllowThreads(__tstate
);
32554 if (PyErr_Occurred()) SWIG_fail
;
32556 Py_INCREF(Py_None
); resultobj
= Py_None
;
32563 static PyObject
* PyValidator_swigregister(PyObject
*, PyObject
*args
) {
32565 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
32566 SWIG_TypeClientData(SWIGTYPE_p_wxPyValidator
, obj
);
32568 return Py_BuildValue((char *)"");
32570 static int _wrap_DefaultValidator_set(PyObject
*) {
32571 PyErr_SetString(PyExc_TypeError
,"Variable DefaultValidator is read-only.");
32576 static PyObject
*_wrap_DefaultValidator_get(void) {
32579 pyobj
= SWIG_NewPointerObj((void *)(&wxDefaultValidator
), SWIGTYPE_p_wxValidator
, 0);
32584 static PyObject
*_wrap_new_Menu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32585 PyObject
*resultobj
;
32586 wxString
const &arg1_defvalue
= wxPyEmptyString
;
32587 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
32588 long arg2
= (long) 0 ;
32590 bool temp1
= false ;
32591 PyObject
* obj0
= 0 ;
32592 PyObject
* obj1
= 0 ;
32593 char *kwnames
[] = {
32594 (char *) "title",(char *) "style", NULL
32597 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Menu",kwnames
,&obj0
,&obj1
)) goto fail
;
32600 arg1
= wxString_in_helper(obj0
);
32601 if (arg1
== NULL
) SWIG_fail
;
32607 arg2
= (long)(SWIG_As_long(obj1
));
32608 if (SWIG_arg_fail(2)) SWIG_fail
;
32612 if (!wxPyCheckForApp()) SWIG_fail
;
32613 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32614 result
= (wxMenu
*)new wxMenu((wxString
const &)*arg1
,arg2
);
32616 wxPyEndAllowThreads(__tstate
);
32617 if (PyErr_Occurred()) SWIG_fail
;
32619 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMenu
, 1);
32634 static PyObject
*_wrap_Menu_Append(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32635 PyObject
*resultobj
;
32636 wxMenu
*arg1
= (wxMenu
*) 0 ;
32638 wxString
*arg3
= 0 ;
32639 wxString
const &arg4_defvalue
= wxPyEmptyString
;
32640 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
32641 wxItemKind arg5
= (wxItemKind
) wxITEM_NORMAL
;
32642 wxMenuItem
*result
;
32643 bool temp3
= false ;
32644 bool temp4
= false ;
32645 PyObject
* obj0
= 0 ;
32646 PyObject
* obj1
= 0 ;
32647 PyObject
* obj2
= 0 ;
32648 PyObject
* obj3
= 0 ;
32649 PyObject
* obj4
= 0 ;
32650 char *kwnames
[] = {
32651 (char *) "self",(char *) "id",(char *) "text",(char *) "help",(char *) "kind", NULL
32654 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:Menu_Append",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
32655 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
32656 if (SWIG_arg_fail(1)) SWIG_fail
;
32658 arg2
= (int)(SWIG_As_int(obj1
));
32659 if (SWIG_arg_fail(2)) SWIG_fail
;
32662 arg3
= wxString_in_helper(obj2
);
32663 if (arg3
== NULL
) SWIG_fail
;
32668 arg4
= wxString_in_helper(obj3
);
32669 if (arg4
== NULL
) SWIG_fail
;
32675 arg5
= (wxItemKind
)(SWIG_As_int(obj4
));
32676 if (SWIG_arg_fail(5)) SWIG_fail
;
32680 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32681 result
= (wxMenuItem
*)(arg1
)->Append(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,(wxItemKind
)arg5
);
32683 wxPyEndAllowThreads(__tstate
);
32684 if (PyErr_Occurred()) SWIG_fail
;
32687 resultobj
= wxPyMake_wxObject(result
, 0);
32711 static PyObject
*_wrap_Menu_AppendSeparator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32712 PyObject
*resultobj
;
32713 wxMenu
*arg1
= (wxMenu
*) 0 ;
32714 wxMenuItem
*result
;
32715 PyObject
* obj0
= 0 ;
32716 char *kwnames
[] = {
32717 (char *) "self", NULL
32720 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_AppendSeparator",kwnames
,&obj0
)) goto fail
;
32721 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
32722 if (SWIG_arg_fail(1)) SWIG_fail
;
32724 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32725 result
= (wxMenuItem
*)(arg1
)->AppendSeparator();
32727 wxPyEndAllowThreads(__tstate
);
32728 if (PyErr_Occurred()) SWIG_fail
;
32731 resultobj
= wxPyMake_wxObject(result
, 0);
32739 static PyObject
*_wrap_Menu_AppendCheckItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32740 PyObject
*resultobj
;
32741 wxMenu
*arg1
= (wxMenu
*) 0 ;
32743 wxString
*arg3
= 0 ;
32744 wxString
const &arg4_defvalue
= wxPyEmptyString
;
32745 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
32746 wxMenuItem
*result
;
32747 bool temp3
= false ;
32748 bool temp4
= false ;
32749 PyObject
* obj0
= 0 ;
32750 PyObject
* obj1
= 0 ;
32751 PyObject
* obj2
= 0 ;
32752 PyObject
* obj3
= 0 ;
32753 char *kwnames
[] = {
32754 (char *) "self",(char *) "id",(char *) "text",(char *) "help", NULL
32757 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Menu_AppendCheckItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
32758 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
32759 if (SWIG_arg_fail(1)) SWIG_fail
;
32761 arg2
= (int)(SWIG_As_int(obj1
));
32762 if (SWIG_arg_fail(2)) SWIG_fail
;
32765 arg3
= wxString_in_helper(obj2
);
32766 if (arg3
== NULL
) SWIG_fail
;
32771 arg4
= wxString_in_helper(obj3
);
32772 if (arg4
== NULL
) SWIG_fail
;
32777 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32778 result
= (wxMenuItem
*)(arg1
)->AppendCheckItem(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
);
32780 wxPyEndAllowThreads(__tstate
);
32781 if (PyErr_Occurred()) SWIG_fail
;
32784 resultobj
= wxPyMake_wxObject(result
, 0);
32808 static PyObject
*_wrap_Menu_AppendRadioItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32809 PyObject
*resultobj
;
32810 wxMenu
*arg1
= (wxMenu
*) 0 ;
32812 wxString
*arg3
= 0 ;
32813 wxString
const &arg4_defvalue
= wxPyEmptyString
;
32814 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
32815 wxMenuItem
*result
;
32816 bool temp3
= false ;
32817 bool temp4
= false ;
32818 PyObject
* obj0
= 0 ;
32819 PyObject
* obj1
= 0 ;
32820 PyObject
* obj2
= 0 ;
32821 PyObject
* obj3
= 0 ;
32822 char *kwnames
[] = {
32823 (char *) "self",(char *) "id",(char *) "text",(char *) "help", NULL
32826 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Menu_AppendRadioItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
32827 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
32828 if (SWIG_arg_fail(1)) SWIG_fail
;
32830 arg2
= (int)(SWIG_As_int(obj1
));
32831 if (SWIG_arg_fail(2)) SWIG_fail
;
32834 arg3
= wxString_in_helper(obj2
);
32835 if (arg3
== NULL
) SWIG_fail
;
32840 arg4
= wxString_in_helper(obj3
);
32841 if (arg4
== NULL
) SWIG_fail
;
32846 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32847 result
= (wxMenuItem
*)(arg1
)->AppendRadioItem(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
);
32849 wxPyEndAllowThreads(__tstate
);
32850 if (PyErr_Occurred()) SWIG_fail
;
32853 resultobj
= wxPyMake_wxObject(result
, 0);
32877 static PyObject
*_wrap_Menu_AppendMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32878 PyObject
*resultobj
;
32879 wxMenu
*arg1
= (wxMenu
*) 0 ;
32881 wxString
*arg3
= 0 ;
32882 wxMenu
*arg4
= (wxMenu
*) 0 ;
32883 wxString
const &arg5_defvalue
= wxPyEmptyString
;
32884 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
32885 wxMenuItem
*result
;
32886 bool temp3
= false ;
32887 bool temp5
= false ;
32888 PyObject
* obj0
= 0 ;
32889 PyObject
* obj1
= 0 ;
32890 PyObject
* obj2
= 0 ;
32891 PyObject
* obj3
= 0 ;
32892 PyObject
* obj4
= 0 ;
32893 char *kwnames
[] = {
32894 (char *) "self",(char *) "id",(char *) "text",(char *) "submenu",(char *) "help", NULL
32897 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:Menu_AppendMenu",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
32898 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
32899 if (SWIG_arg_fail(1)) SWIG_fail
;
32901 arg2
= (int)(SWIG_As_int(obj1
));
32902 if (SWIG_arg_fail(2)) SWIG_fail
;
32905 arg3
= wxString_in_helper(obj2
);
32906 if (arg3
== NULL
) SWIG_fail
;
32909 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
32910 if (SWIG_arg_fail(4)) SWIG_fail
;
32913 arg5
= wxString_in_helper(obj4
);
32914 if (arg5
== NULL
) SWIG_fail
;
32919 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32920 result
= (wxMenuItem
*)(arg1
)->Append(arg2
,(wxString
const &)*arg3
,arg4
,(wxString
const &)*arg5
);
32922 wxPyEndAllowThreads(__tstate
);
32923 if (PyErr_Occurred()) SWIG_fail
;
32926 resultobj
= wxPyMake_wxObject(result
, 0);
32950 static PyObject
*_wrap_Menu_AppendItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32951 PyObject
*resultobj
;
32952 wxMenu
*arg1
= (wxMenu
*) 0 ;
32953 wxMenuItem
*arg2
= (wxMenuItem
*) 0 ;
32954 wxMenuItem
*result
;
32955 PyObject
* obj0
= 0 ;
32956 PyObject
* obj1
= 0 ;
32957 char *kwnames
[] = {
32958 (char *) "self",(char *) "item", NULL
32961 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_AppendItem",kwnames
,&obj0
,&obj1
)) goto fail
;
32962 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
32963 if (SWIG_arg_fail(1)) SWIG_fail
;
32964 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
32965 if (SWIG_arg_fail(2)) SWIG_fail
;
32967 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32968 result
= (wxMenuItem
*)(arg1
)->Append(arg2
);
32970 wxPyEndAllowThreads(__tstate
);
32971 if (PyErr_Occurred()) SWIG_fail
;
32974 resultobj
= wxPyMake_wxObject(result
, 0);
32982 static PyObject
*_wrap_Menu_Break(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32983 PyObject
*resultobj
;
32984 wxMenu
*arg1
= (wxMenu
*) 0 ;
32985 PyObject
* obj0
= 0 ;
32986 char *kwnames
[] = {
32987 (char *) "self", NULL
32990 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_Break",kwnames
,&obj0
)) goto fail
;
32991 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
32992 if (SWIG_arg_fail(1)) SWIG_fail
;
32994 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32997 wxPyEndAllowThreads(__tstate
);
32998 if (PyErr_Occurred()) SWIG_fail
;
33000 Py_INCREF(Py_None
); resultobj
= Py_None
;
33007 static PyObject
*_wrap_Menu_InsertItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33008 PyObject
*resultobj
;
33009 wxMenu
*arg1
= (wxMenu
*) 0 ;
33011 wxMenuItem
*arg3
= (wxMenuItem
*) 0 ;
33012 wxMenuItem
*result
;
33013 PyObject
* obj0
= 0 ;
33014 PyObject
* obj1
= 0 ;
33015 PyObject
* obj2
= 0 ;
33016 char *kwnames
[] = {
33017 (char *) "self",(char *) "pos",(char *) "item", NULL
33020 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Menu_InsertItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
33021 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33022 if (SWIG_arg_fail(1)) SWIG_fail
;
33024 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
33025 if (SWIG_arg_fail(2)) SWIG_fail
;
33027 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
33028 if (SWIG_arg_fail(3)) SWIG_fail
;
33030 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33031 result
= (wxMenuItem
*)(arg1
)->Insert(arg2
,arg3
);
33033 wxPyEndAllowThreads(__tstate
);
33034 if (PyErr_Occurred()) SWIG_fail
;
33037 resultobj
= wxPyMake_wxObject(result
, 0);
33045 static PyObject
*_wrap_Menu_Insert(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33046 PyObject
*resultobj
;
33047 wxMenu
*arg1
= (wxMenu
*) 0 ;
33050 wxString
*arg4
= 0 ;
33051 wxString
const &arg5_defvalue
= wxPyEmptyString
;
33052 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
33053 wxItemKind arg6
= (wxItemKind
) wxITEM_NORMAL
;
33054 wxMenuItem
*result
;
33055 bool temp4
= false ;
33056 bool temp5
= false ;
33057 PyObject
* obj0
= 0 ;
33058 PyObject
* obj1
= 0 ;
33059 PyObject
* obj2
= 0 ;
33060 PyObject
* obj3
= 0 ;
33061 PyObject
* obj4
= 0 ;
33062 PyObject
* obj5
= 0 ;
33063 char *kwnames
[] = {
33064 (char *) "self",(char *) "pos",(char *) "id",(char *) "text",(char *) "help",(char *) "kind", NULL
33067 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:Menu_Insert",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
33068 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33069 if (SWIG_arg_fail(1)) SWIG_fail
;
33071 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
33072 if (SWIG_arg_fail(2)) SWIG_fail
;
33075 arg3
= (int)(SWIG_As_int(obj2
));
33076 if (SWIG_arg_fail(3)) SWIG_fail
;
33079 arg4
= wxString_in_helper(obj3
);
33080 if (arg4
== NULL
) SWIG_fail
;
33085 arg5
= wxString_in_helper(obj4
);
33086 if (arg5
== NULL
) SWIG_fail
;
33092 arg6
= (wxItemKind
)(SWIG_As_int(obj5
));
33093 if (SWIG_arg_fail(6)) SWIG_fail
;
33097 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33098 result
= (wxMenuItem
*)(arg1
)->Insert(arg2
,arg3
,(wxString
const &)*arg4
,(wxString
const &)*arg5
,(wxItemKind
)arg6
);
33100 wxPyEndAllowThreads(__tstate
);
33101 if (PyErr_Occurred()) SWIG_fail
;
33104 resultobj
= wxPyMake_wxObject(result
, 0);
33128 static PyObject
*_wrap_Menu_InsertSeparator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33129 PyObject
*resultobj
;
33130 wxMenu
*arg1
= (wxMenu
*) 0 ;
33132 wxMenuItem
*result
;
33133 PyObject
* obj0
= 0 ;
33134 PyObject
* obj1
= 0 ;
33135 char *kwnames
[] = {
33136 (char *) "self",(char *) "pos", NULL
33139 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_InsertSeparator",kwnames
,&obj0
,&obj1
)) goto fail
;
33140 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33141 if (SWIG_arg_fail(1)) SWIG_fail
;
33143 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
33144 if (SWIG_arg_fail(2)) SWIG_fail
;
33147 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33148 result
= (wxMenuItem
*)(arg1
)->InsertSeparator(arg2
);
33150 wxPyEndAllowThreads(__tstate
);
33151 if (PyErr_Occurred()) SWIG_fail
;
33154 resultobj
= wxPyMake_wxObject(result
, 0);
33162 static PyObject
*_wrap_Menu_InsertCheckItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33163 PyObject
*resultobj
;
33164 wxMenu
*arg1
= (wxMenu
*) 0 ;
33167 wxString
*arg4
= 0 ;
33168 wxString
const &arg5_defvalue
= wxPyEmptyString
;
33169 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
33170 wxMenuItem
*result
;
33171 bool temp4
= false ;
33172 bool temp5
= false ;
33173 PyObject
* obj0
= 0 ;
33174 PyObject
* obj1
= 0 ;
33175 PyObject
* obj2
= 0 ;
33176 PyObject
* obj3
= 0 ;
33177 PyObject
* obj4
= 0 ;
33178 char *kwnames
[] = {
33179 (char *) "self",(char *) "pos",(char *) "id",(char *) "text",(char *) "help", NULL
33182 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:Menu_InsertCheckItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
33183 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33184 if (SWIG_arg_fail(1)) SWIG_fail
;
33186 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
33187 if (SWIG_arg_fail(2)) SWIG_fail
;
33190 arg3
= (int)(SWIG_As_int(obj2
));
33191 if (SWIG_arg_fail(3)) SWIG_fail
;
33194 arg4
= wxString_in_helper(obj3
);
33195 if (arg4
== NULL
) SWIG_fail
;
33200 arg5
= wxString_in_helper(obj4
);
33201 if (arg5
== NULL
) SWIG_fail
;
33206 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33207 result
= (wxMenuItem
*)(arg1
)->InsertCheckItem(arg2
,arg3
,(wxString
const &)*arg4
,(wxString
const &)*arg5
);
33209 wxPyEndAllowThreads(__tstate
);
33210 if (PyErr_Occurred()) SWIG_fail
;
33213 resultobj
= wxPyMake_wxObject(result
, 0);
33237 static PyObject
*_wrap_Menu_InsertRadioItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33238 PyObject
*resultobj
;
33239 wxMenu
*arg1
= (wxMenu
*) 0 ;
33242 wxString
*arg4
= 0 ;
33243 wxString
const &arg5_defvalue
= wxPyEmptyString
;
33244 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
33245 wxMenuItem
*result
;
33246 bool temp4
= false ;
33247 bool temp5
= false ;
33248 PyObject
* obj0
= 0 ;
33249 PyObject
* obj1
= 0 ;
33250 PyObject
* obj2
= 0 ;
33251 PyObject
* obj3
= 0 ;
33252 PyObject
* obj4
= 0 ;
33253 char *kwnames
[] = {
33254 (char *) "self",(char *) "pos",(char *) "id",(char *) "text",(char *) "help", NULL
33257 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:Menu_InsertRadioItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
33258 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33259 if (SWIG_arg_fail(1)) SWIG_fail
;
33261 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
33262 if (SWIG_arg_fail(2)) SWIG_fail
;
33265 arg3
= (int)(SWIG_As_int(obj2
));
33266 if (SWIG_arg_fail(3)) SWIG_fail
;
33269 arg4
= wxString_in_helper(obj3
);
33270 if (arg4
== NULL
) SWIG_fail
;
33275 arg5
= wxString_in_helper(obj4
);
33276 if (arg5
== NULL
) SWIG_fail
;
33281 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33282 result
= (wxMenuItem
*)(arg1
)->InsertRadioItem(arg2
,arg3
,(wxString
const &)*arg4
,(wxString
const &)*arg5
);
33284 wxPyEndAllowThreads(__tstate
);
33285 if (PyErr_Occurred()) SWIG_fail
;
33288 resultobj
= wxPyMake_wxObject(result
, 0);
33312 static PyObject
*_wrap_Menu_InsertMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33313 PyObject
*resultobj
;
33314 wxMenu
*arg1
= (wxMenu
*) 0 ;
33317 wxString
*arg4
= 0 ;
33318 wxMenu
*arg5
= (wxMenu
*) 0 ;
33319 wxString
const &arg6_defvalue
= wxPyEmptyString
;
33320 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
33321 wxMenuItem
*result
;
33322 bool temp4
= false ;
33323 bool temp6
= false ;
33324 PyObject
* obj0
= 0 ;
33325 PyObject
* obj1
= 0 ;
33326 PyObject
* obj2
= 0 ;
33327 PyObject
* obj3
= 0 ;
33328 PyObject
* obj4
= 0 ;
33329 PyObject
* obj5
= 0 ;
33330 char *kwnames
[] = {
33331 (char *) "self",(char *) "pos",(char *) "id",(char *) "text",(char *) "submenu",(char *) "help", NULL
33334 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:Menu_InsertMenu",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
33335 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33336 if (SWIG_arg_fail(1)) SWIG_fail
;
33338 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
33339 if (SWIG_arg_fail(2)) SWIG_fail
;
33342 arg3
= (int)(SWIG_As_int(obj2
));
33343 if (SWIG_arg_fail(3)) SWIG_fail
;
33346 arg4
= wxString_in_helper(obj3
);
33347 if (arg4
== NULL
) SWIG_fail
;
33350 SWIG_Python_ConvertPtr(obj4
, (void **)&arg5
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33351 if (SWIG_arg_fail(5)) SWIG_fail
;
33354 arg6
= wxString_in_helper(obj5
);
33355 if (arg6
== NULL
) SWIG_fail
;
33360 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33361 result
= (wxMenuItem
*)(arg1
)->Insert(arg2
,arg3
,(wxString
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
33363 wxPyEndAllowThreads(__tstate
);
33364 if (PyErr_Occurred()) SWIG_fail
;
33367 resultobj
= wxPyMake_wxObject(result
, 0);
33391 static PyObject
*_wrap_Menu_PrependItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33392 PyObject
*resultobj
;
33393 wxMenu
*arg1
= (wxMenu
*) 0 ;
33394 wxMenuItem
*arg2
= (wxMenuItem
*) 0 ;
33395 wxMenuItem
*result
;
33396 PyObject
* obj0
= 0 ;
33397 PyObject
* obj1
= 0 ;
33398 char *kwnames
[] = {
33399 (char *) "self",(char *) "item", NULL
33402 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_PrependItem",kwnames
,&obj0
,&obj1
)) goto fail
;
33403 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33404 if (SWIG_arg_fail(1)) SWIG_fail
;
33405 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
33406 if (SWIG_arg_fail(2)) SWIG_fail
;
33408 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33409 result
= (wxMenuItem
*)(arg1
)->Prepend(arg2
);
33411 wxPyEndAllowThreads(__tstate
);
33412 if (PyErr_Occurred()) SWIG_fail
;
33415 resultobj
= wxPyMake_wxObject(result
, 0);
33423 static PyObject
*_wrap_Menu_Prepend(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33424 PyObject
*resultobj
;
33425 wxMenu
*arg1
= (wxMenu
*) 0 ;
33427 wxString
*arg3
= 0 ;
33428 wxString
const &arg4_defvalue
= wxPyEmptyString
;
33429 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
33430 wxItemKind arg5
= (wxItemKind
) wxITEM_NORMAL
;
33431 wxMenuItem
*result
;
33432 bool temp3
= false ;
33433 bool temp4
= false ;
33434 PyObject
* obj0
= 0 ;
33435 PyObject
* obj1
= 0 ;
33436 PyObject
* obj2
= 0 ;
33437 PyObject
* obj3
= 0 ;
33438 PyObject
* obj4
= 0 ;
33439 char *kwnames
[] = {
33440 (char *) "self",(char *) "id",(char *) "text",(char *) "help",(char *) "kind", NULL
33443 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:Menu_Prepend",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
33444 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33445 if (SWIG_arg_fail(1)) SWIG_fail
;
33447 arg2
= (int)(SWIG_As_int(obj1
));
33448 if (SWIG_arg_fail(2)) SWIG_fail
;
33451 arg3
= wxString_in_helper(obj2
);
33452 if (arg3
== NULL
) SWIG_fail
;
33457 arg4
= wxString_in_helper(obj3
);
33458 if (arg4
== NULL
) SWIG_fail
;
33464 arg5
= (wxItemKind
)(SWIG_As_int(obj4
));
33465 if (SWIG_arg_fail(5)) SWIG_fail
;
33469 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33470 result
= (wxMenuItem
*)(arg1
)->Prepend(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,(wxItemKind
)arg5
);
33472 wxPyEndAllowThreads(__tstate
);
33473 if (PyErr_Occurred()) SWIG_fail
;
33476 resultobj
= wxPyMake_wxObject(result
, 0);
33500 static PyObject
*_wrap_Menu_PrependSeparator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33501 PyObject
*resultobj
;
33502 wxMenu
*arg1
= (wxMenu
*) 0 ;
33503 wxMenuItem
*result
;
33504 PyObject
* obj0
= 0 ;
33505 char *kwnames
[] = {
33506 (char *) "self", NULL
33509 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_PrependSeparator",kwnames
,&obj0
)) goto fail
;
33510 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33511 if (SWIG_arg_fail(1)) SWIG_fail
;
33513 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33514 result
= (wxMenuItem
*)(arg1
)->PrependSeparator();
33516 wxPyEndAllowThreads(__tstate
);
33517 if (PyErr_Occurred()) SWIG_fail
;
33520 resultobj
= wxPyMake_wxObject(result
, 0);
33528 static PyObject
*_wrap_Menu_PrependCheckItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33529 PyObject
*resultobj
;
33530 wxMenu
*arg1
= (wxMenu
*) 0 ;
33532 wxString
*arg3
= 0 ;
33533 wxString
const &arg4_defvalue
= wxPyEmptyString
;
33534 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
33535 wxMenuItem
*result
;
33536 bool temp3
= false ;
33537 bool temp4
= false ;
33538 PyObject
* obj0
= 0 ;
33539 PyObject
* obj1
= 0 ;
33540 PyObject
* obj2
= 0 ;
33541 PyObject
* obj3
= 0 ;
33542 char *kwnames
[] = {
33543 (char *) "self",(char *) "id",(char *) "text",(char *) "help", NULL
33546 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Menu_PrependCheckItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
33547 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33548 if (SWIG_arg_fail(1)) SWIG_fail
;
33550 arg2
= (int)(SWIG_As_int(obj1
));
33551 if (SWIG_arg_fail(2)) SWIG_fail
;
33554 arg3
= wxString_in_helper(obj2
);
33555 if (arg3
== NULL
) SWIG_fail
;
33560 arg4
= wxString_in_helper(obj3
);
33561 if (arg4
== NULL
) SWIG_fail
;
33566 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33567 result
= (wxMenuItem
*)(arg1
)->PrependCheckItem(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
);
33569 wxPyEndAllowThreads(__tstate
);
33570 if (PyErr_Occurred()) SWIG_fail
;
33573 resultobj
= wxPyMake_wxObject(result
, 0);
33597 static PyObject
*_wrap_Menu_PrependRadioItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33598 PyObject
*resultobj
;
33599 wxMenu
*arg1
= (wxMenu
*) 0 ;
33601 wxString
*arg3
= 0 ;
33602 wxString
const &arg4_defvalue
= wxPyEmptyString
;
33603 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
33604 wxMenuItem
*result
;
33605 bool temp3
= false ;
33606 bool temp4
= false ;
33607 PyObject
* obj0
= 0 ;
33608 PyObject
* obj1
= 0 ;
33609 PyObject
* obj2
= 0 ;
33610 PyObject
* obj3
= 0 ;
33611 char *kwnames
[] = {
33612 (char *) "self",(char *) "id",(char *) "text",(char *) "help", NULL
33615 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Menu_PrependRadioItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
33616 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33617 if (SWIG_arg_fail(1)) SWIG_fail
;
33619 arg2
= (int)(SWIG_As_int(obj1
));
33620 if (SWIG_arg_fail(2)) SWIG_fail
;
33623 arg3
= wxString_in_helper(obj2
);
33624 if (arg3
== NULL
) SWIG_fail
;
33629 arg4
= wxString_in_helper(obj3
);
33630 if (arg4
== NULL
) SWIG_fail
;
33635 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33636 result
= (wxMenuItem
*)(arg1
)->PrependRadioItem(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
);
33638 wxPyEndAllowThreads(__tstate
);
33639 if (PyErr_Occurred()) SWIG_fail
;
33642 resultobj
= wxPyMake_wxObject(result
, 0);
33666 static PyObject
*_wrap_Menu_PrependMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33667 PyObject
*resultobj
;
33668 wxMenu
*arg1
= (wxMenu
*) 0 ;
33670 wxString
*arg3
= 0 ;
33671 wxMenu
*arg4
= (wxMenu
*) 0 ;
33672 wxString
const &arg5_defvalue
= wxPyEmptyString
;
33673 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
33674 wxMenuItem
*result
;
33675 bool temp3
= false ;
33676 bool temp5
= false ;
33677 PyObject
* obj0
= 0 ;
33678 PyObject
* obj1
= 0 ;
33679 PyObject
* obj2
= 0 ;
33680 PyObject
* obj3
= 0 ;
33681 PyObject
* obj4
= 0 ;
33682 char *kwnames
[] = {
33683 (char *) "self",(char *) "id",(char *) "text",(char *) "submenu",(char *) "help", NULL
33686 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:Menu_PrependMenu",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
33687 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33688 if (SWIG_arg_fail(1)) SWIG_fail
;
33690 arg2
= (int)(SWIG_As_int(obj1
));
33691 if (SWIG_arg_fail(2)) SWIG_fail
;
33694 arg3
= wxString_in_helper(obj2
);
33695 if (arg3
== NULL
) SWIG_fail
;
33698 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33699 if (SWIG_arg_fail(4)) SWIG_fail
;
33702 arg5
= wxString_in_helper(obj4
);
33703 if (arg5
== NULL
) SWIG_fail
;
33708 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33709 result
= (wxMenuItem
*)(arg1
)->Prepend(arg2
,(wxString
const &)*arg3
,arg4
,(wxString
const &)*arg5
);
33711 wxPyEndAllowThreads(__tstate
);
33712 if (PyErr_Occurred()) SWIG_fail
;
33715 resultobj
= wxPyMake_wxObject(result
, 0);
33739 static PyObject
*_wrap_Menu_Remove(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33740 PyObject
*resultobj
;
33741 wxMenu
*arg1
= (wxMenu
*) 0 ;
33743 wxMenuItem
*result
;
33744 PyObject
* obj0
= 0 ;
33745 PyObject
* obj1
= 0 ;
33746 char *kwnames
[] = {
33747 (char *) "self",(char *) "id", NULL
33750 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_Remove",kwnames
,&obj0
,&obj1
)) goto fail
;
33751 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33752 if (SWIG_arg_fail(1)) SWIG_fail
;
33754 arg2
= (int)(SWIG_As_int(obj1
));
33755 if (SWIG_arg_fail(2)) SWIG_fail
;
33758 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33759 result
= (wxMenuItem
*)(arg1
)->Remove(arg2
);
33761 wxPyEndAllowThreads(__tstate
);
33762 if (PyErr_Occurred()) SWIG_fail
;
33765 resultobj
= wxPyMake_wxObject(result
, 0);
33773 static PyObject
*_wrap_Menu_RemoveItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33774 PyObject
*resultobj
;
33775 wxMenu
*arg1
= (wxMenu
*) 0 ;
33776 wxMenuItem
*arg2
= (wxMenuItem
*) 0 ;
33777 wxMenuItem
*result
;
33778 PyObject
* obj0
= 0 ;
33779 PyObject
* obj1
= 0 ;
33780 char *kwnames
[] = {
33781 (char *) "self",(char *) "item", NULL
33784 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_RemoveItem",kwnames
,&obj0
,&obj1
)) goto fail
;
33785 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33786 if (SWIG_arg_fail(1)) SWIG_fail
;
33787 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
33788 if (SWIG_arg_fail(2)) SWIG_fail
;
33790 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33791 result
= (wxMenuItem
*)(arg1
)->Remove(arg2
);
33793 wxPyEndAllowThreads(__tstate
);
33794 if (PyErr_Occurred()) SWIG_fail
;
33797 resultobj
= wxPyMake_wxObject(result
, 0);
33805 static PyObject
*_wrap_Menu_Delete(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33806 PyObject
*resultobj
;
33807 wxMenu
*arg1
= (wxMenu
*) 0 ;
33810 PyObject
* obj0
= 0 ;
33811 PyObject
* obj1
= 0 ;
33812 char *kwnames
[] = {
33813 (char *) "self",(char *) "id", NULL
33816 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_Delete",kwnames
,&obj0
,&obj1
)) goto fail
;
33817 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33818 if (SWIG_arg_fail(1)) SWIG_fail
;
33820 arg2
= (int)(SWIG_As_int(obj1
));
33821 if (SWIG_arg_fail(2)) SWIG_fail
;
33824 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33825 result
= (bool)(arg1
)->Delete(arg2
);
33827 wxPyEndAllowThreads(__tstate
);
33828 if (PyErr_Occurred()) SWIG_fail
;
33831 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33839 static PyObject
*_wrap_Menu_DeleteItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33840 PyObject
*resultobj
;
33841 wxMenu
*arg1
= (wxMenu
*) 0 ;
33842 wxMenuItem
*arg2
= (wxMenuItem
*) 0 ;
33844 PyObject
* obj0
= 0 ;
33845 PyObject
* obj1
= 0 ;
33846 char *kwnames
[] = {
33847 (char *) "self",(char *) "item", NULL
33850 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_DeleteItem",kwnames
,&obj0
,&obj1
)) goto fail
;
33851 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33852 if (SWIG_arg_fail(1)) SWIG_fail
;
33853 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
33854 if (SWIG_arg_fail(2)) SWIG_fail
;
33856 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33857 result
= (bool)(arg1
)->Delete(arg2
);
33859 wxPyEndAllowThreads(__tstate
);
33860 if (PyErr_Occurred()) SWIG_fail
;
33863 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33871 static PyObject
*_wrap_Menu_Destroy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33872 PyObject
*resultobj
;
33873 wxMenu
*arg1
= (wxMenu
*) 0 ;
33874 PyObject
* obj0
= 0 ;
33875 char *kwnames
[] = {
33876 (char *) "self", NULL
33879 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_Destroy",kwnames
,&obj0
)) 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 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33884 wxMenu_Destroy(arg1
);
33886 wxPyEndAllowThreads(__tstate
);
33887 if (PyErr_Occurred()) SWIG_fail
;
33889 Py_INCREF(Py_None
); resultobj
= Py_None
;
33896 static PyObject
*_wrap_Menu_DestroyId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33897 PyObject
*resultobj
;
33898 wxMenu
*arg1
= (wxMenu
*) 0 ;
33901 PyObject
* obj0
= 0 ;
33902 PyObject
* obj1
= 0 ;
33903 char *kwnames
[] = {
33904 (char *) "self",(char *) "id", NULL
33907 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_DestroyId",kwnames
,&obj0
,&obj1
)) goto fail
;
33908 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33909 if (SWIG_arg_fail(1)) SWIG_fail
;
33911 arg2
= (int)(SWIG_As_int(obj1
));
33912 if (SWIG_arg_fail(2)) SWIG_fail
;
33915 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33916 result
= (bool)(arg1
)->Destroy(arg2
);
33918 wxPyEndAllowThreads(__tstate
);
33919 if (PyErr_Occurred()) SWIG_fail
;
33922 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33930 static PyObject
*_wrap_Menu_DestroyItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33931 PyObject
*resultobj
;
33932 wxMenu
*arg1
= (wxMenu
*) 0 ;
33933 wxMenuItem
*arg2
= (wxMenuItem
*) 0 ;
33935 PyObject
* obj0
= 0 ;
33936 PyObject
* obj1
= 0 ;
33937 char *kwnames
[] = {
33938 (char *) "self",(char *) "item", NULL
33941 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_DestroyItem",kwnames
,&obj0
,&obj1
)) goto fail
;
33942 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33943 if (SWIG_arg_fail(1)) SWIG_fail
;
33944 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
33945 if (SWIG_arg_fail(2)) SWIG_fail
;
33947 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33948 result
= (bool)(arg1
)->Destroy(arg2
);
33950 wxPyEndAllowThreads(__tstate
);
33951 if (PyErr_Occurred()) SWIG_fail
;
33954 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33962 static PyObject
*_wrap_Menu_GetMenuItemCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33963 PyObject
*resultobj
;
33964 wxMenu
*arg1
= (wxMenu
*) 0 ;
33966 PyObject
* obj0
= 0 ;
33967 char *kwnames
[] = {
33968 (char *) "self", NULL
33971 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetMenuItemCount",kwnames
,&obj0
)) goto fail
;
33972 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33973 if (SWIG_arg_fail(1)) SWIG_fail
;
33975 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33976 result
= (size_t)((wxMenu
const *)arg1
)->GetMenuItemCount();
33978 wxPyEndAllowThreads(__tstate
);
33979 if (PyErr_Occurred()) SWIG_fail
;
33982 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
33990 static PyObject
*_wrap_Menu_GetMenuItems(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33991 PyObject
*resultobj
;
33992 wxMenu
*arg1
= (wxMenu
*) 0 ;
33994 PyObject
* obj0
= 0 ;
33995 char *kwnames
[] = {
33996 (char *) "self", NULL
33999 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetMenuItems",kwnames
,&obj0
)) goto fail
;
34000 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34001 if (SWIG_arg_fail(1)) SWIG_fail
;
34003 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34004 result
= (PyObject
*)wxMenu_GetMenuItems(arg1
);
34006 wxPyEndAllowThreads(__tstate
);
34007 if (PyErr_Occurred()) SWIG_fail
;
34009 resultobj
= result
;
34016 static PyObject
*_wrap_Menu_FindItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34017 PyObject
*resultobj
;
34018 wxMenu
*arg1
= (wxMenu
*) 0 ;
34019 wxString
*arg2
= 0 ;
34021 bool temp2
= false ;
34022 PyObject
* obj0
= 0 ;
34023 PyObject
* obj1
= 0 ;
34024 char *kwnames
[] = {
34025 (char *) "self",(char *) "item", NULL
34028 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_FindItem",kwnames
,&obj0
,&obj1
)) goto fail
;
34029 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34030 if (SWIG_arg_fail(1)) SWIG_fail
;
34032 arg2
= wxString_in_helper(obj1
);
34033 if (arg2
== NULL
) SWIG_fail
;
34037 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34038 result
= (int)((wxMenu
const *)arg1
)->FindItem((wxString
const &)*arg2
);
34040 wxPyEndAllowThreads(__tstate
);
34041 if (PyErr_Occurred()) SWIG_fail
;
34044 resultobj
= SWIG_From_int((int)(result
));
34060 static PyObject
*_wrap_Menu_FindItemById(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34061 PyObject
*resultobj
;
34062 wxMenu
*arg1
= (wxMenu
*) 0 ;
34064 wxMenuItem
*result
;
34065 PyObject
* obj0
= 0 ;
34066 PyObject
* obj1
= 0 ;
34067 char *kwnames
[] = {
34068 (char *) "self",(char *) "id", NULL
34071 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_FindItemById",kwnames
,&obj0
,&obj1
)) goto fail
;
34072 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34073 if (SWIG_arg_fail(1)) SWIG_fail
;
34075 arg2
= (int)(SWIG_As_int(obj1
));
34076 if (SWIG_arg_fail(2)) SWIG_fail
;
34079 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34080 result
= (wxMenuItem
*)((wxMenu
const *)arg1
)->FindItem(arg2
);
34082 wxPyEndAllowThreads(__tstate
);
34083 if (PyErr_Occurred()) SWIG_fail
;
34086 resultobj
= wxPyMake_wxObject(result
, 0);
34094 static PyObject
*_wrap_Menu_FindItemByPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34095 PyObject
*resultobj
;
34096 wxMenu
*arg1
= (wxMenu
*) 0 ;
34098 wxMenuItem
*result
;
34099 PyObject
* obj0
= 0 ;
34100 PyObject
* obj1
= 0 ;
34101 char *kwnames
[] = {
34102 (char *) "self",(char *) "position", NULL
34105 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_FindItemByPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
34106 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34107 if (SWIG_arg_fail(1)) SWIG_fail
;
34109 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
34110 if (SWIG_arg_fail(2)) SWIG_fail
;
34113 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34114 result
= (wxMenuItem
*)((wxMenu
const *)arg1
)->FindItemByPosition(arg2
);
34116 wxPyEndAllowThreads(__tstate
);
34117 if (PyErr_Occurred()) SWIG_fail
;
34120 resultobj
= wxPyMake_wxObject(result
, 0);
34128 static PyObject
*_wrap_Menu_Enable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34129 PyObject
*resultobj
;
34130 wxMenu
*arg1
= (wxMenu
*) 0 ;
34133 PyObject
* obj0
= 0 ;
34134 PyObject
* obj1
= 0 ;
34135 PyObject
* obj2
= 0 ;
34136 char *kwnames
[] = {
34137 (char *) "self",(char *) "id",(char *) "enable", NULL
34140 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Menu_Enable",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
34141 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34142 if (SWIG_arg_fail(1)) SWIG_fail
;
34144 arg2
= (int)(SWIG_As_int(obj1
));
34145 if (SWIG_arg_fail(2)) SWIG_fail
;
34148 arg3
= (bool)(SWIG_As_bool(obj2
));
34149 if (SWIG_arg_fail(3)) SWIG_fail
;
34152 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34153 (arg1
)->Enable(arg2
,arg3
);
34155 wxPyEndAllowThreads(__tstate
);
34156 if (PyErr_Occurred()) SWIG_fail
;
34158 Py_INCREF(Py_None
); resultobj
= Py_None
;
34165 static PyObject
*_wrap_Menu_IsEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34166 PyObject
*resultobj
;
34167 wxMenu
*arg1
= (wxMenu
*) 0 ;
34170 PyObject
* obj0
= 0 ;
34171 PyObject
* obj1
= 0 ;
34172 char *kwnames
[] = {
34173 (char *) "self",(char *) "id", NULL
34176 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_IsEnabled",kwnames
,&obj0
,&obj1
)) goto fail
;
34177 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34178 if (SWIG_arg_fail(1)) SWIG_fail
;
34180 arg2
= (int)(SWIG_As_int(obj1
));
34181 if (SWIG_arg_fail(2)) SWIG_fail
;
34184 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34185 result
= (bool)((wxMenu
const *)arg1
)->IsEnabled(arg2
);
34187 wxPyEndAllowThreads(__tstate
);
34188 if (PyErr_Occurred()) SWIG_fail
;
34191 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34199 static PyObject
*_wrap_Menu_Check(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34200 PyObject
*resultobj
;
34201 wxMenu
*arg1
= (wxMenu
*) 0 ;
34204 PyObject
* obj0
= 0 ;
34205 PyObject
* obj1
= 0 ;
34206 PyObject
* obj2
= 0 ;
34207 char *kwnames
[] = {
34208 (char *) "self",(char *) "id",(char *) "check", NULL
34211 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Menu_Check",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
34212 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34213 if (SWIG_arg_fail(1)) SWIG_fail
;
34215 arg2
= (int)(SWIG_As_int(obj1
));
34216 if (SWIG_arg_fail(2)) SWIG_fail
;
34219 arg3
= (bool)(SWIG_As_bool(obj2
));
34220 if (SWIG_arg_fail(3)) SWIG_fail
;
34223 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34224 (arg1
)->Check(arg2
,arg3
);
34226 wxPyEndAllowThreads(__tstate
);
34227 if (PyErr_Occurred()) SWIG_fail
;
34229 Py_INCREF(Py_None
); resultobj
= Py_None
;
34236 static PyObject
*_wrap_Menu_IsChecked(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34237 PyObject
*resultobj
;
34238 wxMenu
*arg1
= (wxMenu
*) 0 ;
34241 PyObject
* obj0
= 0 ;
34242 PyObject
* obj1
= 0 ;
34243 char *kwnames
[] = {
34244 (char *) "self",(char *) "id", NULL
34247 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_IsChecked",kwnames
,&obj0
,&obj1
)) goto fail
;
34248 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34249 if (SWIG_arg_fail(1)) SWIG_fail
;
34251 arg2
= (int)(SWIG_As_int(obj1
));
34252 if (SWIG_arg_fail(2)) SWIG_fail
;
34255 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34256 result
= (bool)((wxMenu
const *)arg1
)->IsChecked(arg2
);
34258 wxPyEndAllowThreads(__tstate
);
34259 if (PyErr_Occurred()) SWIG_fail
;
34262 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34270 static PyObject
*_wrap_Menu_SetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34271 PyObject
*resultobj
;
34272 wxMenu
*arg1
= (wxMenu
*) 0 ;
34274 wxString
*arg3
= 0 ;
34275 bool temp3
= false ;
34276 PyObject
* obj0
= 0 ;
34277 PyObject
* obj1
= 0 ;
34278 PyObject
* obj2
= 0 ;
34279 char *kwnames
[] = {
34280 (char *) "self",(char *) "id",(char *) "label", NULL
34283 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Menu_SetLabel",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
34284 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34285 if (SWIG_arg_fail(1)) SWIG_fail
;
34287 arg2
= (int)(SWIG_As_int(obj1
));
34288 if (SWIG_arg_fail(2)) SWIG_fail
;
34291 arg3
= wxString_in_helper(obj2
);
34292 if (arg3
== NULL
) SWIG_fail
;
34296 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34297 (arg1
)->SetLabel(arg2
,(wxString
const &)*arg3
);
34299 wxPyEndAllowThreads(__tstate
);
34300 if (PyErr_Occurred()) SWIG_fail
;
34302 Py_INCREF(Py_None
); resultobj
= Py_None
;
34317 static PyObject
*_wrap_Menu_GetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34318 PyObject
*resultobj
;
34319 wxMenu
*arg1
= (wxMenu
*) 0 ;
34322 PyObject
* obj0
= 0 ;
34323 PyObject
* obj1
= 0 ;
34324 char *kwnames
[] = {
34325 (char *) "self",(char *) "id", NULL
34328 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_GetLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
34329 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34330 if (SWIG_arg_fail(1)) SWIG_fail
;
34332 arg2
= (int)(SWIG_As_int(obj1
));
34333 if (SWIG_arg_fail(2)) SWIG_fail
;
34336 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34337 result
= ((wxMenu
const *)arg1
)->GetLabel(arg2
);
34339 wxPyEndAllowThreads(__tstate
);
34340 if (PyErr_Occurred()) SWIG_fail
;
34344 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
34346 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
34355 static PyObject
*_wrap_Menu_SetHelpString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34356 PyObject
*resultobj
;
34357 wxMenu
*arg1
= (wxMenu
*) 0 ;
34359 wxString
*arg3
= 0 ;
34360 bool temp3
= false ;
34361 PyObject
* obj0
= 0 ;
34362 PyObject
* obj1
= 0 ;
34363 PyObject
* obj2
= 0 ;
34364 char *kwnames
[] = {
34365 (char *) "self",(char *) "id",(char *) "helpString", NULL
34368 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Menu_SetHelpString",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
34369 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34370 if (SWIG_arg_fail(1)) SWIG_fail
;
34372 arg2
= (int)(SWIG_As_int(obj1
));
34373 if (SWIG_arg_fail(2)) SWIG_fail
;
34376 arg3
= wxString_in_helper(obj2
);
34377 if (arg3
== NULL
) SWIG_fail
;
34381 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34382 (arg1
)->SetHelpString(arg2
,(wxString
const &)*arg3
);
34384 wxPyEndAllowThreads(__tstate
);
34385 if (PyErr_Occurred()) SWIG_fail
;
34387 Py_INCREF(Py_None
); resultobj
= Py_None
;
34402 static PyObject
*_wrap_Menu_GetHelpString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34403 PyObject
*resultobj
;
34404 wxMenu
*arg1
= (wxMenu
*) 0 ;
34407 PyObject
* obj0
= 0 ;
34408 PyObject
* obj1
= 0 ;
34409 char *kwnames
[] = {
34410 (char *) "self",(char *) "id", NULL
34413 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_GetHelpString",kwnames
,&obj0
,&obj1
)) goto fail
;
34414 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34415 if (SWIG_arg_fail(1)) SWIG_fail
;
34417 arg2
= (int)(SWIG_As_int(obj1
));
34418 if (SWIG_arg_fail(2)) SWIG_fail
;
34421 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34422 result
= ((wxMenu
const *)arg1
)->GetHelpString(arg2
);
34424 wxPyEndAllowThreads(__tstate
);
34425 if (PyErr_Occurred()) SWIG_fail
;
34429 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
34431 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
34440 static PyObject
*_wrap_Menu_SetTitle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34441 PyObject
*resultobj
;
34442 wxMenu
*arg1
= (wxMenu
*) 0 ;
34443 wxString
*arg2
= 0 ;
34444 bool temp2
= false ;
34445 PyObject
* obj0
= 0 ;
34446 PyObject
* obj1
= 0 ;
34447 char *kwnames
[] = {
34448 (char *) "self",(char *) "title", NULL
34451 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_SetTitle",kwnames
,&obj0
,&obj1
)) goto fail
;
34452 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34453 if (SWIG_arg_fail(1)) SWIG_fail
;
34455 arg2
= wxString_in_helper(obj1
);
34456 if (arg2
== NULL
) SWIG_fail
;
34460 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34461 (arg1
)->SetTitle((wxString
const &)*arg2
);
34463 wxPyEndAllowThreads(__tstate
);
34464 if (PyErr_Occurred()) SWIG_fail
;
34466 Py_INCREF(Py_None
); resultobj
= Py_None
;
34481 static PyObject
*_wrap_Menu_GetTitle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34482 PyObject
*resultobj
;
34483 wxMenu
*arg1
= (wxMenu
*) 0 ;
34485 PyObject
* obj0
= 0 ;
34486 char *kwnames
[] = {
34487 (char *) "self", NULL
34490 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetTitle",kwnames
,&obj0
)) goto fail
;
34491 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34492 if (SWIG_arg_fail(1)) SWIG_fail
;
34494 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34495 result
= ((wxMenu
const *)arg1
)->GetTitle();
34497 wxPyEndAllowThreads(__tstate
);
34498 if (PyErr_Occurred()) SWIG_fail
;
34502 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
34504 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
34513 static PyObject
*_wrap_Menu_SetEventHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34514 PyObject
*resultobj
;
34515 wxMenu
*arg1
= (wxMenu
*) 0 ;
34516 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
34517 PyObject
* obj0
= 0 ;
34518 PyObject
* obj1
= 0 ;
34519 char *kwnames
[] = {
34520 (char *) "self",(char *) "handler", NULL
34523 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_SetEventHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
34524 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34525 if (SWIG_arg_fail(1)) SWIG_fail
;
34526 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
34527 if (SWIG_arg_fail(2)) SWIG_fail
;
34529 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34530 (arg1
)->SetEventHandler(arg2
);
34532 wxPyEndAllowThreads(__tstate
);
34533 if (PyErr_Occurred()) SWIG_fail
;
34535 Py_INCREF(Py_None
); resultobj
= Py_None
;
34542 static PyObject
*_wrap_Menu_GetEventHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34543 PyObject
*resultobj
;
34544 wxMenu
*arg1
= (wxMenu
*) 0 ;
34545 wxEvtHandler
*result
;
34546 PyObject
* obj0
= 0 ;
34547 char *kwnames
[] = {
34548 (char *) "self", NULL
34551 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetEventHandler",kwnames
,&obj0
)) goto fail
;
34552 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34553 if (SWIG_arg_fail(1)) SWIG_fail
;
34555 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34556 result
= (wxEvtHandler
*)((wxMenu
const *)arg1
)->GetEventHandler();
34558 wxPyEndAllowThreads(__tstate
);
34559 if (PyErr_Occurred()) SWIG_fail
;
34562 resultobj
= wxPyMake_wxObject(result
, 0);
34570 static PyObject
*_wrap_Menu_SetInvokingWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34571 PyObject
*resultobj
;
34572 wxMenu
*arg1
= (wxMenu
*) 0 ;
34573 wxWindow
*arg2
= (wxWindow
*) 0 ;
34574 PyObject
* obj0
= 0 ;
34575 PyObject
* obj1
= 0 ;
34576 char *kwnames
[] = {
34577 (char *) "self",(char *) "win", NULL
34580 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_SetInvokingWindow",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
;
34583 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
34584 if (SWIG_arg_fail(2)) SWIG_fail
;
34586 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34587 (arg1
)->SetInvokingWindow(arg2
);
34589 wxPyEndAllowThreads(__tstate
);
34590 if (PyErr_Occurred()) SWIG_fail
;
34592 Py_INCREF(Py_None
); resultobj
= Py_None
;
34599 static PyObject
*_wrap_Menu_GetInvokingWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34600 PyObject
*resultobj
;
34601 wxMenu
*arg1
= (wxMenu
*) 0 ;
34603 PyObject
* obj0
= 0 ;
34604 char *kwnames
[] = {
34605 (char *) "self", NULL
34608 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetInvokingWindow",kwnames
,&obj0
)) goto fail
;
34609 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34610 if (SWIG_arg_fail(1)) SWIG_fail
;
34612 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34613 result
= (wxWindow
*)((wxMenu
const *)arg1
)->GetInvokingWindow();
34615 wxPyEndAllowThreads(__tstate
);
34616 if (PyErr_Occurred()) SWIG_fail
;
34619 resultobj
= wxPyMake_wxObject(result
, 0);
34627 static PyObject
*_wrap_Menu_GetStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34628 PyObject
*resultobj
;
34629 wxMenu
*arg1
= (wxMenu
*) 0 ;
34631 PyObject
* obj0
= 0 ;
34632 char *kwnames
[] = {
34633 (char *) "self", NULL
34636 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetStyle",kwnames
,&obj0
)) goto fail
;
34637 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34638 if (SWIG_arg_fail(1)) SWIG_fail
;
34640 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34641 result
= (long)((wxMenu
const *)arg1
)->GetStyle();
34643 wxPyEndAllowThreads(__tstate
);
34644 if (PyErr_Occurred()) SWIG_fail
;
34647 resultobj
= SWIG_From_long((long)(result
));
34655 static PyObject
*_wrap_Menu_UpdateUI(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34656 PyObject
*resultobj
;
34657 wxMenu
*arg1
= (wxMenu
*) 0 ;
34658 wxEvtHandler
*arg2
= (wxEvtHandler
*) NULL
;
34659 PyObject
* obj0
= 0 ;
34660 PyObject
* obj1
= 0 ;
34661 char *kwnames
[] = {
34662 (char *) "self",(char *) "source", NULL
34665 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Menu_UpdateUI",kwnames
,&obj0
,&obj1
)) goto fail
;
34666 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34667 if (SWIG_arg_fail(1)) SWIG_fail
;
34669 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
34670 if (SWIG_arg_fail(2)) SWIG_fail
;
34673 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34674 (arg1
)->UpdateUI(arg2
);
34676 wxPyEndAllowThreads(__tstate
);
34677 if (PyErr_Occurred()) SWIG_fail
;
34679 Py_INCREF(Py_None
); resultobj
= Py_None
;
34686 static PyObject
*_wrap_Menu_GetMenuBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34687 PyObject
*resultobj
;
34688 wxMenu
*arg1
= (wxMenu
*) 0 ;
34690 PyObject
* obj0
= 0 ;
34691 char *kwnames
[] = {
34692 (char *) "self", NULL
34695 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetMenuBar",kwnames
,&obj0
)) goto fail
;
34696 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34697 if (SWIG_arg_fail(1)) SWIG_fail
;
34699 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34700 result
= (wxMenuBar
*)((wxMenu
const *)arg1
)->GetMenuBar();
34702 wxPyEndAllowThreads(__tstate
);
34703 if (PyErr_Occurred()) SWIG_fail
;
34706 resultobj
= wxPyMake_wxObject(result
, 0);
34714 static PyObject
*_wrap_Menu_Attach(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34715 PyObject
*resultobj
;
34716 wxMenu
*arg1
= (wxMenu
*) 0 ;
34717 wxMenuBarBase
*arg2
= (wxMenuBarBase
*) 0 ;
34718 PyObject
* obj0
= 0 ;
34719 PyObject
* obj1
= 0 ;
34720 char *kwnames
[] = {
34721 (char *) "self",(char *) "menubar", NULL
34724 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_Attach",kwnames
,&obj0
,&obj1
)) goto fail
;
34725 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34726 if (SWIG_arg_fail(1)) SWIG_fail
;
34727 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMenuBarBase
, SWIG_POINTER_EXCEPTION
| 0);
34728 if (SWIG_arg_fail(2)) SWIG_fail
;
34730 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34731 (arg1
)->Attach(arg2
);
34733 wxPyEndAllowThreads(__tstate
);
34734 if (PyErr_Occurred()) SWIG_fail
;
34736 Py_INCREF(Py_None
); resultobj
= Py_None
;
34743 static PyObject
*_wrap_Menu_Detach(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34744 PyObject
*resultobj
;
34745 wxMenu
*arg1
= (wxMenu
*) 0 ;
34746 PyObject
* obj0
= 0 ;
34747 char *kwnames
[] = {
34748 (char *) "self", NULL
34751 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_Detach",kwnames
,&obj0
)) goto fail
;
34752 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34753 if (SWIG_arg_fail(1)) SWIG_fail
;
34755 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34758 wxPyEndAllowThreads(__tstate
);
34759 if (PyErr_Occurred()) SWIG_fail
;
34761 Py_INCREF(Py_None
); resultobj
= Py_None
;
34768 static PyObject
*_wrap_Menu_IsAttached(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34769 PyObject
*resultobj
;
34770 wxMenu
*arg1
= (wxMenu
*) 0 ;
34772 PyObject
* obj0
= 0 ;
34773 char *kwnames
[] = {
34774 (char *) "self", NULL
34777 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_IsAttached",kwnames
,&obj0
)) goto fail
;
34778 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34779 if (SWIG_arg_fail(1)) SWIG_fail
;
34781 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34782 result
= (bool)((wxMenu
const *)arg1
)->IsAttached();
34784 wxPyEndAllowThreads(__tstate
);
34785 if (PyErr_Occurred()) SWIG_fail
;
34788 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34796 static PyObject
*_wrap_Menu_SetParent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34797 PyObject
*resultobj
;
34798 wxMenu
*arg1
= (wxMenu
*) 0 ;
34799 wxMenu
*arg2
= (wxMenu
*) 0 ;
34800 PyObject
* obj0
= 0 ;
34801 PyObject
* obj1
= 0 ;
34802 char *kwnames
[] = {
34803 (char *) "self",(char *) "parent", NULL
34806 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_SetParent",kwnames
,&obj0
,&obj1
)) goto fail
;
34807 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34808 if (SWIG_arg_fail(1)) SWIG_fail
;
34809 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34810 if (SWIG_arg_fail(2)) SWIG_fail
;
34812 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34813 (arg1
)->SetParent(arg2
);
34815 wxPyEndAllowThreads(__tstate
);
34816 if (PyErr_Occurred()) SWIG_fail
;
34818 Py_INCREF(Py_None
); resultobj
= Py_None
;
34825 static PyObject
*_wrap_Menu_GetParent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34826 PyObject
*resultobj
;
34827 wxMenu
*arg1
= (wxMenu
*) 0 ;
34829 PyObject
* obj0
= 0 ;
34830 char *kwnames
[] = {
34831 (char *) "self", NULL
34834 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetParent",kwnames
,&obj0
)) goto fail
;
34835 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34836 if (SWIG_arg_fail(1)) SWIG_fail
;
34838 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34839 result
= (wxMenu
*)((wxMenu
const *)arg1
)->GetParent();
34841 wxPyEndAllowThreads(__tstate
);
34842 if (PyErr_Occurred()) SWIG_fail
;
34845 resultobj
= wxPyMake_wxObject(result
, 0);
34853 static PyObject
* Menu_swigregister(PyObject
*, PyObject
*args
) {
34855 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
34856 SWIG_TypeClientData(SWIGTYPE_p_wxMenu
, obj
);
34858 return Py_BuildValue((char *)"");
34860 static PyObject
*_wrap_new_MenuBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34861 PyObject
*resultobj
;
34862 long arg1
= (long) 0 ;
34864 PyObject
* obj0
= 0 ;
34865 char *kwnames
[] = {
34866 (char *) "style", NULL
34869 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_MenuBar",kwnames
,&obj0
)) goto fail
;
34872 arg1
= (long)(SWIG_As_long(obj0
));
34873 if (SWIG_arg_fail(1)) SWIG_fail
;
34877 if (!wxPyCheckForApp()) SWIG_fail
;
34878 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34879 result
= (wxMenuBar
*)new wxMenuBar(arg1
);
34881 wxPyEndAllowThreads(__tstate
);
34882 if (PyErr_Occurred()) SWIG_fail
;
34884 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMenuBar
, 1);
34891 static PyObject
*_wrap_MenuBar_Append(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34892 PyObject
*resultobj
;
34893 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
34894 wxMenu
*arg2
= (wxMenu
*) 0 ;
34895 wxString
*arg3
= 0 ;
34897 bool temp3
= false ;
34898 PyObject
* obj0
= 0 ;
34899 PyObject
* obj1
= 0 ;
34900 PyObject
* obj2
= 0 ;
34901 char *kwnames
[] = {
34902 (char *) "self",(char *) "menu",(char *) "title", NULL
34905 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_Append",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
34906 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
34907 if (SWIG_arg_fail(1)) SWIG_fail
;
34908 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34909 if (SWIG_arg_fail(2)) SWIG_fail
;
34911 arg3
= wxString_in_helper(obj2
);
34912 if (arg3
== NULL
) SWIG_fail
;
34916 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34917 result
= (bool)(arg1
)->Append(arg2
,(wxString
const &)*arg3
);
34919 wxPyEndAllowThreads(__tstate
);
34920 if (PyErr_Occurred()) SWIG_fail
;
34923 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34939 static PyObject
*_wrap_MenuBar_Insert(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34940 PyObject
*resultobj
;
34941 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
34943 wxMenu
*arg3
= (wxMenu
*) 0 ;
34944 wxString
*arg4
= 0 ;
34946 bool temp4
= false ;
34947 PyObject
* obj0
= 0 ;
34948 PyObject
* obj1
= 0 ;
34949 PyObject
* obj2
= 0 ;
34950 PyObject
* obj3
= 0 ;
34951 char *kwnames
[] = {
34952 (char *) "self",(char *) "pos",(char *) "menu",(char *) "title", NULL
34955 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:MenuBar_Insert",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
34956 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
34957 if (SWIG_arg_fail(1)) SWIG_fail
;
34959 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
34960 if (SWIG_arg_fail(2)) SWIG_fail
;
34962 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34963 if (SWIG_arg_fail(3)) SWIG_fail
;
34965 arg4
= wxString_in_helper(obj3
);
34966 if (arg4
== NULL
) SWIG_fail
;
34970 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34971 result
= (bool)(arg1
)->Insert(arg2
,arg3
,(wxString
const &)*arg4
);
34973 wxPyEndAllowThreads(__tstate
);
34974 if (PyErr_Occurred()) SWIG_fail
;
34977 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34993 static PyObject
*_wrap_MenuBar_GetMenuCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34994 PyObject
*resultobj
;
34995 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
34997 PyObject
* obj0
= 0 ;
34998 char *kwnames
[] = {
34999 (char *) "self", NULL
35002 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuBar_GetMenuCount",kwnames
,&obj0
)) goto fail
;
35003 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
35004 if (SWIG_arg_fail(1)) SWIG_fail
;
35006 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35007 result
= (size_t)((wxMenuBar
const *)arg1
)->GetMenuCount();
35009 wxPyEndAllowThreads(__tstate
);
35010 if (PyErr_Occurred()) SWIG_fail
;
35013 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
35021 static PyObject
*_wrap_MenuBar_GetMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35022 PyObject
*resultobj
;
35023 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
35026 PyObject
* obj0
= 0 ;
35027 PyObject
* obj1
= 0 ;
35028 char *kwnames
[] = {
35029 (char *) "self",(char *) "pos", NULL
35032 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_GetMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
35033 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
35034 if (SWIG_arg_fail(1)) SWIG_fail
;
35036 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
35037 if (SWIG_arg_fail(2)) SWIG_fail
;
35040 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35041 result
= (wxMenu
*)((wxMenuBar
const *)arg1
)->GetMenu(arg2
);
35043 wxPyEndAllowThreads(__tstate
);
35044 if (PyErr_Occurred()) SWIG_fail
;
35047 resultobj
= wxPyMake_wxObject(result
, 0);
35055 static PyObject
*_wrap_MenuBar_Replace(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35056 PyObject
*resultobj
;
35057 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
35059 wxMenu
*arg3
= (wxMenu
*) 0 ;
35060 wxString
*arg4
= 0 ;
35062 bool temp4
= false ;
35063 PyObject
* obj0
= 0 ;
35064 PyObject
* obj1
= 0 ;
35065 PyObject
* obj2
= 0 ;
35066 PyObject
* obj3
= 0 ;
35067 char *kwnames
[] = {
35068 (char *) "self",(char *) "pos",(char *) "menu",(char *) "title", NULL
35071 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:MenuBar_Replace",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
35072 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
35073 if (SWIG_arg_fail(1)) SWIG_fail
;
35075 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
35076 if (SWIG_arg_fail(2)) SWIG_fail
;
35078 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
35079 if (SWIG_arg_fail(3)) SWIG_fail
;
35081 arg4
= wxString_in_helper(obj3
);
35082 if (arg4
== NULL
) SWIG_fail
;
35086 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35087 result
= (wxMenu
*)(arg1
)->Replace(arg2
,arg3
,(wxString
const &)*arg4
);
35089 wxPyEndAllowThreads(__tstate
);
35090 if (PyErr_Occurred()) SWIG_fail
;
35093 resultobj
= wxPyMake_wxObject(result
, 0);
35109 static PyObject
*_wrap_MenuBar_Remove(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35110 PyObject
*resultobj
;
35111 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
35114 PyObject
* obj0
= 0 ;
35115 PyObject
* obj1
= 0 ;
35116 char *kwnames
[] = {
35117 (char *) "self",(char *) "pos", NULL
35120 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_Remove",kwnames
,&obj0
,&obj1
)) goto fail
;
35121 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
35122 if (SWIG_arg_fail(1)) SWIG_fail
;
35124 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
35125 if (SWIG_arg_fail(2)) SWIG_fail
;
35128 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35129 result
= (wxMenu
*)(arg1
)->Remove(arg2
);
35131 wxPyEndAllowThreads(__tstate
);
35132 if (PyErr_Occurred()) SWIG_fail
;
35135 resultobj
= wxPyMake_wxObject(result
, 0);
35143 static PyObject
*_wrap_MenuBar_EnableTop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35144 PyObject
*resultobj
;
35145 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
35148 PyObject
* obj0
= 0 ;
35149 PyObject
* obj1
= 0 ;
35150 PyObject
* obj2
= 0 ;
35151 char *kwnames
[] = {
35152 (char *) "self",(char *) "pos",(char *) "enable", NULL
35155 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_EnableTop",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
35156 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
35157 if (SWIG_arg_fail(1)) SWIG_fail
;
35159 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
35160 if (SWIG_arg_fail(2)) SWIG_fail
;
35163 arg3
= (bool)(SWIG_As_bool(obj2
));
35164 if (SWIG_arg_fail(3)) SWIG_fail
;
35167 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35168 (arg1
)->EnableTop(arg2
,arg3
);
35170 wxPyEndAllowThreads(__tstate
);
35171 if (PyErr_Occurred()) SWIG_fail
;
35173 Py_INCREF(Py_None
); resultobj
= Py_None
;
35180 static PyObject
*_wrap_MenuBar_IsEnabledTop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35181 PyObject
*resultobj
;
35182 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
35185 PyObject
* obj0
= 0 ;
35186 PyObject
* obj1
= 0 ;
35187 char *kwnames
[] = {
35188 (char *) "self",(char *) "pos", NULL
35191 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_IsEnabledTop",kwnames
,&obj0
,&obj1
)) goto fail
;
35192 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
35193 if (SWIG_arg_fail(1)) SWIG_fail
;
35195 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
35196 if (SWIG_arg_fail(2)) SWIG_fail
;
35199 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35200 result
= (bool)((wxMenuBar
const *)arg1
)->IsEnabledTop(arg2
);
35202 wxPyEndAllowThreads(__tstate
);
35203 if (PyErr_Occurred()) SWIG_fail
;
35206 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35214 static PyObject
*_wrap_MenuBar_SetLabelTop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35215 PyObject
*resultobj
;
35216 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
35218 wxString
*arg3
= 0 ;
35219 bool temp3
= false ;
35220 PyObject
* obj0
= 0 ;
35221 PyObject
* obj1
= 0 ;
35222 PyObject
* obj2
= 0 ;
35223 char *kwnames
[] = {
35224 (char *) "self",(char *) "pos",(char *) "label", NULL
35227 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_SetLabelTop",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
35228 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
35229 if (SWIG_arg_fail(1)) SWIG_fail
;
35231 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
35232 if (SWIG_arg_fail(2)) SWIG_fail
;
35235 arg3
= wxString_in_helper(obj2
);
35236 if (arg3
== NULL
) SWIG_fail
;
35240 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35241 (arg1
)->SetLabelTop(arg2
,(wxString
const &)*arg3
);
35243 wxPyEndAllowThreads(__tstate
);
35244 if (PyErr_Occurred()) SWIG_fail
;
35246 Py_INCREF(Py_None
); resultobj
= Py_None
;
35261 static PyObject
*_wrap_MenuBar_GetLabelTop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35262 PyObject
*resultobj
;
35263 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
35266 PyObject
* obj0
= 0 ;
35267 PyObject
* obj1
= 0 ;
35268 char *kwnames
[] = {
35269 (char *) "self",(char *) "pos", NULL
35272 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_GetLabelTop",kwnames
,&obj0
,&obj1
)) goto fail
;
35273 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
35274 if (SWIG_arg_fail(1)) SWIG_fail
;
35276 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
35277 if (SWIG_arg_fail(2)) SWIG_fail
;
35280 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35281 result
= ((wxMenuBar
const *)arg1
)->GetLabelTop(arg2
);
35283 wxPyEndAllowThreads(__tstate
);
35284 if (PyErr_Occurred()) SWIG_fail
;
35288 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
35290 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
35299 static PyObject
*_wrap_MenuBar_FindMenuItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35300 PyObject
*resultobj
;
35301 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
35302 wxString
*arg2
= 0 ;
35303 wxString
*arg3
= 0 ;
35305 bool temp2
= false ;
35306 bool temp3
= false ;
35307 PyObject
* obj0
= 0 ;
35308 PyObject
* obj1
= 0 ;
35309 PyObject
* obj2
= 0 ;
35310 char *kwnames
[] = {
35311 (char *) "self",(char *) "menu",(char *) "item", NULL
35314 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_FindMenuItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
35315 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
35316 if (SWIG_arg_fail(1)) SWIG_fail
;
35318 arg2
= wxString_in_helper(obj1
);
35319 if (arg2
== NULL
) SWIG_fail
;
35323 arg3
= wxString_in_helper(obj2
);
35324 if (arg3
== NULL
) SWIG_fail
;
35328 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35329 result
= (int)((wxMenuBar
const *)arg1
)->FindMenuItem((wxString
const &)*arg2
,(wxString
const &)*arg3
);
35331 wxPyEndAllowThreads(__tstate
);
35332 if (PyErr_Occurred()) SWIG_fail
;
35335 resultobj
= SWIG_From_int((int)(result
));
35359 static PyObject
*_wrap_MenuBar_FindItemById(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35360 PyObject
*resultobj
;
35361 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
35363 wxMenuItem
*result
;
35364 PyObject
* obj0
= 0 ;
35365 PyObject
* obj1
= 0 ;
35366 char *kwnames
[] = {
35367 (char *) "self",(char *) "id", NULL
35370 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_FindItemById",kwnames
,&obj0
,&obj1
)) goto fail
;
35371 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
35372 if (SWIG_arg_fail(1)) SWIG_fail
;
35374 arg2
= (int)(SWIG_As_int(obj1
));
35375 if (SWIG_arg_fail(2)) SWIG_fail
;
35378 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35379 result
= (wxMenuItem
*)((wxMenuBar
const *)arg1
)->FindItem(arg2
);
35381 wxPyEndAllowThreads(__tstate
);
35382 if (PyErr_Occurred()) SWIG_fail
;
35385 resultobj
= wxPyMake_wxObject(result
, 0);
35393 static PyObject
*_wrap_MenuBar_FindMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35394 PyObject
*resultobj
;
35395 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
35396 wxString
*arg2
= 0 ;
35398 bool temp2
= false ;
35399 PyObject
* obj0
= 0 ;
35400 PyObject
* obj1
= 0 ;
35401 char *kwnames
[] = {
35402 (char *) "self",(char *) "title", NULL
35405 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_FindMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
35406 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
35407 if (SWIG_arg_fail(1)) SWIG_fail
;
35409 arg2
= wxString_in_helper(obj1
);
35410 if (arg2
== NULL
) SWIG_fail
;
35414 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35415 result
= (int)((wxMenuBar
const *)arg1
)->FindMenu((wxString
const &)*arg2
);
35417 wxPyEndAllowThreads(__tstate
);
35418 if (PyErr_Occurred()) SWIG_fail
;
35421 resultobj
= SWIG_From_int((int)(result
));
35437 static PyObject
*_wrap_MenuBar_Enable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35438 PyObject
*resultobj
;
35439 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
35442 PyObject
* obj0
= 0 ;
35443 PyObject
* obj1
= 0 ;
35444 PyObject
* obj2
= 0 ;
35445 char *kwnames
[] = {
35446 (char *) "self",(char *) "id",(char *) "enable", NULL
35449 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_Enable",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
35450 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
35451 if (SWIG_arg_fail(1)) SWIG_fail
;
35453 arg2
= (int)(SWIG_As_int(obj1
));
35454 if (SWIG_arg_fail(2)) SWIG_fail
;
35457 arg3
= (bool)(SWIG_As_bool(obj2
));
35458 if (SWIG_arg_fail(3)) SWIG_fail
;
35461 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35462 (arg1
)->Enable(arg2
,arg3
);
35464 wxPyEndAllowThreads(__tstate
);
35465 if (PyErr_Occurred()) SWIG_fail
;
35467 Py_INCREF(Py_None
); resultobj
= Py_None
;
35474 static PyObject
*_wrap_MenuBar_Check(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35475 PyObject
*resultobj
;
35476 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
35479 PyObject
* obj0
= 0 ;
35480 PyObject
* obj1
= 0 ;
35481 PyObject
* obj2
= 0 ;
35482 char *kwnames
[] = {
35483 (char *) "self",(char *) "id",(char *) "check", NULL
35486 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_Check",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
35487 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
35488 if (SWIG_arg_fail(1)) SWIG_fail
;
35490 arg2
= (int)(SWIG_As_int(obj1
));
35491 if (SWIG_arg_fail(2)) SWIG_fail
;
35494 arg3
= (bool)(SWIG_As_bool(obj2
));
35495 if (SWIG_arg_fail(3)) SWIG_fail
;
35498 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35499 (arg1
)->Check(arg2
,arg3
);
35501 wxPyEndAllowThreads(__tstate
);
35502 if (PyErr_Occurred()) SWIG_fail
;
35504 Py_INCREF(Py_None
); resultobj
= Py_None
;
35511 static PyObject
*_wrap_MenuBar_IsChecked(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35512 PyObject
*resultobj
;
35513 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
35516 PyObject
* obj0
= 0 ;
35517 PyObject
* obj1
= 0 ;
35518 char *kwnames
[] = {
35519 (char *) "self",(char *) "id", NULL
35522 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_IsChecked",kwnames
,&obj0
,&obj1
)) goto fail
;
35523 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
35524 if (SWIG_arg_fail(1)) SWIG_fail
;
35526 arg2
= (int)(SWIG_As_int(obj1
));
35527 if (SWIG_arg_fail(2)) SWIG_fail
;
35530 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35531 result
= (bool)((wxMenuBar
const *)arg1
)->IsChecked(arg2
);
35533 wxPyEndAllowThreads(__tstate
);
35534 if (PyErr_Occurred()) SWIG_fail
;
35537 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35545 static PyObject
*_wrap_MenuBar_IsEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35546 PyObject
*resultobj
;
35547 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
35550 PyObject
* obj0
= 0 ;
35551 PyObject
* obj1
= 0 ;
35552 char *kwnames
[] = {
35553 (char *) "self",(char *) "id", NULL
35556 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_IsEnabled",kwnames
,&obj0
,&obj1
)) goto fail
;
35557 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
35558 if (SWIG_arg_fail(1)) SWIG_fail
;
35560 arg2
= (int)(SWIG_As_int(obj1
));
35561 if (SWIG_arg_fail(2)) SWIG_fail
;
35564 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35565 result
= (bool)((wxMenuBar
const *)arg1
)->IsEnabled(arg2
);
35567 wxPyEndAllowThreads(__tstate
);
35568 if (PyErr_Occurred()) SWIG_fail
;
35571 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35579 static PyObject
*_wrap_MenuBar_SetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35580 PyObject
*resultobj
;
35581 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
35583 wxString
*arg3
= 0 ;
35584 bool temp3
= false ;
35585 PyObject
* obj0
= 0 ;
35586 PyObject
* obj1
= 0 ;
35587 PyObject
* obj2
= 0 ;
35588 char *kwnames
[] = {
35589 (char *) "self",(char *) "id",(char *) "label", NULL
35592 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_SetLabel",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
35593 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
35594 if (SWIG_arg_fail(1)) SWIG_fail
;
35596 arg2
= (int)(SWIG_As_int(obj1
));
35597 if (SWIG_arg_fail(2)) SWIG_fail
;
35600 arg3
= wxString_in_helper(obj2
);
35601 if (arg3
== NULL
) SWIG_fail
;
35605 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35606 (arg1
)->SetLabel(arg2
,(wxString
const &)*arg3
);
35608 wxPyEndAllowThreads(__tstate
);
35609 if (PyErr_Occurred()) SWIG_fail
;
35611 Py_INCREF(Py_None
); resultobj
= Py_None
;
35626 static PyObject
*_wrap_MenuBar_GetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35627 PyObject
*resultobj
;
35628 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
35631 PyObject
* obj0
= 0 ;
35632 PyObject
* obj1
= 0 ;
35633 char *kwnames
[] = {
35634 (char *) "self",(char *) "id", NULL
35637 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_GetLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
35638 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
35639 if (SWIG_arg_fail(1)) SWIG_fail
;
35641 arg2
= (int)(SWIG_As_int(obj1
));
35642 if (SWIG_arg_fail(2)) SWIG_fail
;
35645 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35646 result
= ((wxMenuBar
const *)arg1
)->GetLabel(arg2
);
35648 wxPyEndAllowThreads(__tstate
);
35649 if (PyErr_Occurred()) SWIG_fail
;
35653 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
35655 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
35664 static PyObject
*_wrap_MenuBar_SetHelpString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35665 PyObject
*resultobj
;
35666 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
35668 wxString
*arg3
= 0 ;
35669 bool temp3
= false ;
35670 PyObject
* obj0
= 0 ;
35671 PyObject
* obj1
= 0 ;
35672 PyObject
* obj2
= 0 ;
35673 char *kwnames
[] = {
35674 (char *) "self",(char *) "id",(char *) "helpString", NULL
35677 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_SetHelpString",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
35678 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
35679 if (SWIG_arg_fail(1)) SWIG_fail
;
35681 arg2
= (int)(SWIG_As_int(obj1
));
35682 if (SWIG_arg_fail(2)) SWIG_fail
;
35685 arg3
= wxString_in_helper(obj2
);
35686 if (arg3
== NULL
) SWIG_fail
;
35690 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35691 (arg1
)->SetHelpString(arg2
,(wxString
const &)*arg3
);
35693 wxPyEndAllowThreads(__tstate
);
35694 if (PyErr_Occurred()) SWIG_fail
;
35696 Py_INCREF(Py_None
); resultobj
= Py_None
;
35711 static PyObject
*_wrap_MenuBar_GetHelpString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35712 PyObject
*resultobj
;
35713 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
35716 PyObject
* obj0
= 0 ;
35717 PyObject
* obj1
= 0 ;
35718 char *kwnames
[] = {
35719 (char *) "self",(char *) "id", NULL
35722 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_GetHelpString",kwnames
,&obj0
,&obj1
)) goto fail
;
35723 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
35724 if (SWIG_arg_fail(1)) SWIG_fail
;
35726 arg2
= (int)(SWIG_As_int(obj1
));
35727 if (SWIG_arg_fail(2)) SWIG_fail
;
35730 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35731 result
= ((wxMenuBar
const *)arg1
)->GetHelpString(arg2
);
35733 wxPyEndAllowThreads(__tstate
);
35734 if (PyErr_Occurred()) SWIG_fail
;
35738 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
35740 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
35749 static PyObject
*_wrap_MenuBar_GetFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35750 PyObject
*resultobj
;
35751 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
35753 PyObject
* obj0
= 0 ;
35754 char *kwnames
[] = {
35755 (char *) "self", NULL
35758 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuBar_GetFrame",kwnames
,&obj0
)) goto fail
;
35759 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
35760 if (SWIG_arg_fail(1)) SWIG_fail
;
35762 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35763 result
= (wxFrame
*)((wxMenuBar
const *)arg1
)->GetFrame();
35765 wxPyEndAllowThreads(__tstate
);
35766 if (PyErr_Occurred()) SWIG_fail
;
35769 resultobj
= wxPyMake_wxObject(result
, 0);
35777 static PyObject
*_wrap_MenuBar_IsAttached(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35778 PyObject
*resultobj
;
35779 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
35781 PyObject
* obj0
= 0 ;
35782 char *kwnames
[] = {
35783 (char *) "self", NULL
35786 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuBar_IsAttached",kwnames
,&obj0
)) goto fail
;
35787 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
35788 if (SWIG_arg_fail(1)) SWIG_fail
;
35790 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35791 result
= (bool)((wxMenuBar
const *)arg1
)->IsAttached();
35793 wxPyEndAllowThreads(__tstate
);
35794 if (PyErr_Occurred()) SWIG_fail
;
35797 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35805 static PyObject
*_wrap_MenuBar_Attach(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35806 PyObject
*resultobj
;
35807 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
35808 wxFrame
*arg2
= (wxFrame
*) 0 ;
35809 PyObject
* obj0
= 0 ;
35810 PyObject
* obj1
= 0 ;
35811 char *kwnames
[] = {
35812 (char *) "self",(char *) "frame", NULL
35815 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_Attach",kwnames
,&obj0
,&obj1
)) goto fail
;
35816 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
35817 if (SWIG_arg_fail(1)) SWIG_fail
;
35818 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFrame
, SWIG_POINTER_EXCEPTION
| 0);
35819 if (SWIG_arg_fail(2)) SWIG_fail
;
35821 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35822 (arg1
)->Attach(arg2
);
35824 wxPyEndAllowThreads(__tstate
);
35825 if (PyErr_Occurred()) SWIG_fail
;
35827 Py_INCREF(Py_None
); resultobj
= Py_None
;
35834 static PyObject
*_wrap_MenuBar_Detach(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35835 PyObject
*resultobj
;
35836 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
35837 PyObject
* obj0
= 0 ;
35838 char *kwnames
[] = {
35839 (char *) "self", NULL
35842 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuBar_Detach",kwnames
,&obj0
)) goto fail
;
35843 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
35844 if (SWIG_arg_fail(1)) SWIG_fail
;
35846 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35849 wxPyEndAllowThreads(__tstate
);
35850 if (PyErr_Occurred()) SWIG_fail
;
35852 Py_INCREF(Py_None
); resultobj
= Py_None
;
35859 static PyObject
* MenuBar_swigregister(PyObject
*, PyObject
*args
) {
35861 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
35862 SWIG_TypeClientData(SWIGTYPE_p_wxMenuBar
, obj
);
35864 return Py_BuildValue((char *)"");
35866 static PyObject
*_wrap_new_MenuItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35867 PyObject
*resultobj
;
35868 wxMenu
*arg1
= (wxMenu
*) NULL
;
35869 int arg2
= (int) wxID_ANY
;
35870 wxString
const &arg3_defvalue
= wxPyEmptyString
;
35871 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
35872 wxString
const &arg4_defvalue
= wxPyEmptyString
;
35873 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
35874 wxItemKind arg5
= (wxItemKind
) wxITEM_NORMAL
;
35875 wxMenu
*arg6
= (wxMenu
*) NULL
;
35876 wxMenuItem
*result
;
35877 bool temp3
= false ;
35878 bool temp4
= false ;
35879 PyObject
* obj0
= 0 ;
35880 PyObject
* obj1
= 0 ;
35881 PyObject
* obj2
= 0 ;
35882 PyObject
* obj3
= 0 ;
35883 PyObject
* obj4
= 0 ;
35884 PyObject
* obj5
= 0 ;
35885 char *kwnames
[] = {
35886 (char *) "parentMenu",(char *) "id",(char *) "text",(char *) "help",(char *) "kind",(char *) "subMenu", NULL
35889 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOOOO:new_MenuItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
35891 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
35892 if (SWIG_arg_fail(1)) SWIG_fail
;
35896 arg2
= (int)(SWIG_As_int(obj1
));
35897 if (SWIG_arg_fail(2)) SWIG_fail
;
35902 arg3
= wxString_in_helper(obj2
);
35903 if (arg3
== NULL
) SWIG_fail
;
35909 arg4
= wxString_in_helper(obj3
);
35910 if (arg4
== NULL
) SWIG_fail
;
35916 arg5
= (wxItemKind
)(SWIG_As_int(obj4
));
35917 if (SWIG_arg_fail(5)) SWIG_fail
;
35921 SWIG_Python_ConvertPtr(obj5
, (void **)&arg6
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
35922 if (SWIG_arg_fail(6)) SWIG_fail
;
35925 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35926 result
= (wxMenuItem
*)new wxMenuItem(arg1
,arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,(wxItemKind
)arg5
,arg6
);
35928 wxPyEndAllowThreads(__tstate
);
35929 if (PyErr_Occurred()) SWIG_fail
;
35932 resultobj
= wxPyMake_wxObject(result
, 1);
35956 static PyObject
*_wrap_MenuItem_GetMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35957 PyObject
*resultobj
;
35958 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
35960 PyObject
* obj0
= 0 ;
35961 char *kwnames
[] = {
35962 (char *) "self", NULL
35965 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetMenu",kwnames
,&obj0
)) goto fail
;
35966 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
35967 if (SWIG_arg_fail(1)) SWIG_fail
;
35969 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35970 result
= (wxMenu
*)((wxMenuItem
const *)arg1
)->GetMenu();
35972 wxPyEndAllowThreads(__tstate
);
35973 if (PyErr_Occurred()) SWIG_fail
;
35976 resultobj
= wxPyMake_wxObject(result
, 0);
35984 static PyObject
*_wrap_MenuItem_SetMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35985 PyObject
*resultobj
;
35986 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
35987 wxMenu
*arg2
= (wxMenu
*) 0 ;
35988 PyObject
* obj0
= 0 ;
35989 PyObject
* obj1
= 0 ;
35990 char *kwnames
[] = {
35991 (char *) "self",(char *) "menu", NULL
35994 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
35995 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
35996 if (SWIG_arg_fail(1)) SWIG_fail
;
35997 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
35998 if (SWIG_arg_fail(2)) SWIG_fail
;
36000 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36001 (arg1
)->SetMenu(arg2
);
36003 wxPyEndAllowThreads(__tstate
);
36004 if (PyErr_Occurred()) SWIG_fail
;
36006 Py_INCREF(Py_None
); resultobj
= Py_None
;
36013 static PyObject
*_wrap_MenuItem_SetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36014 PyObject
*resultobj
;
36015 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36017 PyObject
* obj0
= 0 ;
36018 PyObject
* obj1
= 0 ;
36019 char *kwnames
[] = {
36020 (char *) "self",(char *) "id", NULL
36023 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetId",kwnames
,&obj0
,&obj1
)) goto fail
;
36024 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36025 if (SWIG_arg_fail(1)) SWIG_fail
;
36027 arg2
= (int)(SWIG_As_int(obj1
));
36028 if (SWIG_arg_fail(2)) SWIG_fail
;
36031 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36032 (arg1
)->SetId(arg2
);
36034 wxPyEndAllowThreads(__tstate
);
36035 if (PyErr_Occurred()) SWIG_fail
;
36037 Py_INCREF(Py_None
); resultobj
= Py_None
;
36044 static PyObject
*_wrap_MenuItem_GetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36045 PyObject
*resultobj
;
36046 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36048 PyObject
* obj0
= 0 ;
36049 char *kwnames
[] = {
36050 (char *) "self", NULL
36053 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetId",kwnames
,&obj0
)) goto fail
;
36054 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36055 if (SWIG_arg_fail(1)) SWIG_fail
;
36057 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36058 result
= (int)((wxMenuItem
const *)arg1
)->GetId();
36060 wxPyEndAllowThreads(__tstate
);
36061 if (PyErr_Occurred()) SWIG_fail
;
36064 resultobj
= SWIG_From_int((int)(result
));
36072 static PyObject
*_wrap_MenuItem_IsSeparator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36073 PyObject
*resultobj
;
36074 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36076 PyObject
* obj0
= 0 ;
36077 char *kwnames
[] = {
36078 (char *) "self", NULL
36081 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_IsSeparator",kwnames
,&obj0
)) goto fail
;
36082 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36083 if (SWIG_arg_fail(1)) SWIG_fail
;
36085 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36086 result
= (bool)((wxMenuItem
const *)arg1
)->IsSeparator();
36088 wxPyEndAllowThreads(__tstate
);
36089 if (PyErr_Occurred()) SWIG_fail
;
36092 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
36100 static PyObject
*_wrap_MenuItem_SetText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36101 PyObject
*resultobj
;
36102 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36103 wxString
*arg2
= 0 ;
36104 bool temp2
= false ;
36105 PyObject
* obj0
= 0 ;
36106 PyObject
* obj1
= 0 ;
36107 char *kwnames
[] = {
36108 (char *) "self",(char *) "str", NULL
36111 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetText",kwnames
,&obj0
,&obj1
)) goto fail
;
36112 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36113 if (SWIG_arg_fail(1)) SWIG_fail
;
36115 arg2
= wxString_in_helper(obj1
);
36116 if (arg2
== NULL
) SWIG_fail
;
36120 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36121 (arg1
)->SetText((wxString
const &)*arg2
);
36123 wxPyEndAllowThreads(__tstate
);
36124 if (PyErr_Occurred()) SWIG_fail
;
36126 Py_INCREF(Py_None
); resultobj
= Py_None
;
36141 static PyObject
*_wrap_MenuItem_GetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36142 PyObject
*resultobj
;
36143 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36145 PyObject
* obj0
= 0 ;
36146 char *kwnames
[] = {
36147 (char *) "self", NULL
36150 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetLabel",kwnames
,&obj0
)) goto fail
;
36151 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36152 if (SWIG_arg_fail(1)) SWIG_fail
;
36154 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36155 result
= ((wxMenuItem
const *)arg1
)->GetLabel();
36157 wxPyEndAllowThreads(__tstate
);
36158 if (PyErr_Occurred()) SWIG_fail
;
36162 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
36164 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
36173 static PyObject
*_wrap_MenuItem_GetText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36174 PyObject
*resultobj
;
36175 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36177 PyObject
* obj0
= 0 ;
36178 char *kwnames
[] = {
36179 (char *) "self", NULL
36182 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetText",kwnames
,&obj0
)) goto fail
;
36183 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36184 if (SWIG_arg_fail(1)) SWIG_fail
;
36186 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36188 wxString
const &_result_ref
= ((wxMenuItem
const *)arg1
)->GetText();
36189 result
= (wxString
*) &_result_ref
;
36192 wxPyEndAllowThreads(__tstate
);
36193 if (PyErr_Occurred()) SWIG_fail
;
36197 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
36199 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
36208 static PyObject
*_wrap_MenuItem_GetLabelFromText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36209 PyObject
*resultobj
;
36210 wxString
*arg1
= 0 ;
36212 bool temp1
= false ;
36213 PyObject
* obj0
= 0 ;
36214 char *kwnames
[] = {
36215 (char *) "text", NULL
36218 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetLabelFromText",kwnames
,&obj0
)) goto fail
;
36220 arg1
= wxString_in_helper(obj0
);
36221 if (arg1
== NULL
) SWIG_fail
;
36225 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36226 result
= wxMenuItem::GetLabelFromText((wxString
const &)*arg1
);
36228 wxPyEndAllowThreads(__tstate
);
36229 if (PyErr_Occurred()) SWIG_fail
;
36233 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
36235 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
36252 static PyObject
*_wrap_MenuItem_GetKind(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_GetKind",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
= (wxItemKind
)((wxMenuItem
const *)arg1
)->GetKind();
36268 wxPyEndAllowThreads(__tstate
);
36269 if (PyErr_Occurred()) SWIG_fail
;
36271 resultobj
= SWIG_From_int((result
));
36278 static PyObject
*_wrap_MenuItem_SetKind(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36279 PyObject
*resultobj
;
36280 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36282 PyObject
* obj0
= 0 ;
36283 PyObject
* obj1
= 0 ;
36284 char *kwnames
[] = {
36285 (char *) "self",(char *) "kind", NULL
36288 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetKind",kwnames
,&obj0
,&obj1
)) goto fail
;
36289 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36290 if (SWIG_arg_fail(1)) SWIG_fail
;
36292 arg2
= (wxItemKind
)(SWIG_As_int(obj1
));
36293 if (SWIG_arg_fail(2)) SWIG_fail
;
36296 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36297 (arg1
)->SetKind((wxItemKind
)arg2
);
36299 wxPyEndAllowThreads(__tstate
);
36300 if (PyErr_Occurred()) SWIG_fail
;
36302 Py_INCREF(Py_None
); resultobj
= Py_None
;
36309 static PyObject
*_wrap_MenuItem_SetCheckable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36310 PyObject
*resultobj
;
36311 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36313 PyObject
* obj0
= 0 ;
36314 PyObject
* obj1
= 0 ;
36315 char *kwnames
[] = {
36316 (char *) "self",(char *) "checkable", NULL
36319 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetCheckable",kwnames
,&obj0
,&obj1
)) goto fail
;
36320 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36321 if (SWIG_arg_fail(1)) SWIG_fail
;
36323 arg2
= (bool)(SWIG_As_bool(obj1
));
36324 if (SWIG_arg_fail(2)) SWIG_fail
;
36327 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36328 (arg1
)->SetCheckable(arg2
);
36330 wxPyEndAllowThreads(__tstate
);
36331 if (PyErr_Occurred()) SWIG_fail
;
36333 Py_INCREF(Py_None
); resultobj
= Py_None
;
36340 static PyObject
*_wrap_MenuItem_IsCheckable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36341 PyObject
*resultobj
;
36342 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36344 PyObject
* obj0
= 0 ;
36345 char *kwnames
[] = {
36346 (char *) "self", NULL
36349 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_IsCheckable",kwnames
,&obj0
)) goto fail
;
36350 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36351 if (SWIG_arg_fail(1)) SWIG_fail
;
36353 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36354 result
= (bool)((wxMenuItem
const *)arg1
)->IsCheckable();
36356 wxPyEndAllowThreads(__tstate
);
36357 if (PyErr_Occurred()) SWIG_fail
;
36360 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
36368 static PyObject
*_wrap_MenuItem_IsSubMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36369 PyObject
*resultobj
;
36370 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36372 PyObject
* obj0
= 0 ;
36373 char *kwnames
[] = {
36374 (char *) "self", NULL
36377 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_IsSubMenu",kwnames
,&obj0
)) goto fail
;
36378 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36379 if (SWIG_arg_fail(1)) SWIG_fail
;
36381 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36382 result
= (bool)((wxMenuItem
const *)arg1
)->IsSubMenu();
36384 wxPyEndAllowThreads(__tstate
);
36385 if (PyErr_Occurred()) SWIG_fail
;
36388 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
36396 static PyObject
*_wrap_MenuItem_SetSubMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36397 PyObject
*resultobj
;
36398 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36399 wxMenu
*arg2
= (wxMenu
*) 0 ;
36400 PyObject
* obj0
= 0 ;
36401 PyObject
* obj1
= 0 ;
36402 char *kwnames
[] = {
36403 (char *) "self",(char *) "menu", NULL
36406 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetSubMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
36407 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36408 if (SWIG_arg_fail(1)) SWIG_fail
;
36409 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
36410 if (SWIG_arg_fail(2)) SWIG_fail
;
36412 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36413 (arg1
)->SetSubMenu(arg2
);
36415 wxPyEndAllowThreads(__tstate
);
36416 if (PyErr_Occurred()) SWIG_fail
;
36418 Py_INCREF(Py_None
); resultobj
= Py_None
;
36425 static PyObject
*_wrap_MenuItem_GetSubMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36426 PyObject
*resultobj
;
36427 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36429 PyObject
* obj0
= 0 ;
36430 char *kwnames
[] = {
36431 (char *) "self", NULL
36434 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetSubMenu",kwnames
,&obj0
)) goto fail
;
36435 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36436 if (SWIG_arg_fail(1)) SWIG_fail
;
36438 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36439 result
= (wxMenu
*)((wxMenuItem
const *)arg1
)->GetSubMenu();
36441 wxPyEndAllowThreads(__tstate
);
36442 if (PyErr_Occurred()) SWIG_fail
;
36445 resultobj
= wxPyMake_wxObject(result
, 0);
36453 static PyObject
*_wrap_MenuItem_Enable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36454 PyObject
*resultobj
;
36455 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36456 bool arg2
= (bool) true ;
36457 PyObject
* obj0
= 0 ;
36458 PyObject
* obj1
= 0 ;
36459 char *kwnames
[] = {
36460 (char *) "self",(char *) "enable", NULL
36463 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:MenuItem_Enable",kwnames
,&obj0
,&obj1
)) goto fail
;
36464 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36465 if (SWIG_arg_fail(1)) SWIG_fail
;
36468 arg2
= (bool)(SWIG_As_bool(obj1
));
36469 if (SWIG_arg_fail(2)) SWIG_fail
;
36473 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36474 (arg1
)->Enable(arg2
);
36476 wxPyEndAllowThreads(__tstate
);
36477 if (PyErr_Occurred()) SWIG_fail
;
36479 Py_INCREF(Py_None
); resultobj
= Py_None
;
36486 static PyObject
*_wrap_MenuItem_IsEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36487 PyObject
*resultobj
;
36488 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36490 PyObject
* obj0
= 0 ;
36491 char *kwnames
[] = {
36492 (char *) "self", NULL
36495 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_IsEnabled",kwnames
,&obj0
)) goto fail
;
36496 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36497 if (SWIG_arg_fail(1)) SWIG_fail
;
36499 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36500 result
= (bool)((wxMenuItem
const *)arg1
)->IsEnabled();
36502 wxPyEndAllowThreads(__tstate
);
36503 if (PyErr_Occurred()) SWIG_fail
;
36506 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
36514 static PyObject
*_wrap_MenuItem_Check(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36515 PyObject
*resultobj
;
36516 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36517 bool arg2
= (bool) true ;
36518 PyObject
* obj0
= 0 ;
36519 PyObject
* obj1
= 0 ;
36520 char *kwnames
[] = {
36521 (char *) "self",(char *) "check", NULL
36524 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:MenuItem_Check",kwnames
,&obj0
,&obj1
)) goto fail
;
36525 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36526 if (SWIG_arg_fail(1)) SWIG_fail
;
36529 arg2
= (bool)(SWIG_As_bool(obj1
));
36530 if (SWIG_arg_fail(2)) SWIG_fail
;
36534 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36535 (arg1
)->Check(arg2
);
36537 wxPyEndAllowThreads(__tstate
);
36538 if (PyErr_Occurred()) SWIG_fail
;
36540 Py_INCREF(Py_None
); resultobj
= Py_None
;
36547 static PyObject
*_wrap_MenuItem_IsChecked(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36548 PyObject
*resultobj
;
36549 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36551 PyObject
* obj0
= 0 ;
36552 char *kwnames
[] = {
36553 (char *) "self", NULL
36556 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_IsChecked",kwnames
,&obj0
)) goto fail
;
36557 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36558 if (SWIG_arg_fail(1)) SWIG_fail
;
36560 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36561 result
= (bool)((wxMenuItem
const *)arg1
)->IsChecked();
36563 wxPyEndAllowThreads(__tstate
);
36564 if (PyErr_Occurred()) SWIG_fail
;
36567 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
36575 static PyObject
*_wrap_MenuItem_Toggle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36576 PyObject
*resultobj
;
36577 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36578 PyObject
* obj0
= 0 ;
36579 char *kwnames
[] = {
36580 (char *) "self", NULL
36583 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_Toggle",kwnames
,&obj0
)) goto fail
;
36584 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36585 if (SWIG_arg_fail(1)) SWIG_fail
;
36587 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36590 wxPyEndAllowThreads(__tstate
);
36591 if (PyErr_Occurred()) SWIG_fail
;
36593 Py_INCREF(Py_None
); resultobj
= Py_None
;
36600 static PyObject
*_wrap_MenuItem_SetHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36601 PyObject
*resultobj
;
36602 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36603 wxString
*arg2
= 0 ;
36604 bool temp2
= false ;
36605 PyObject
* obj0
= 0 ;
36606 PyObject
* obj1
= 0 ;
36607 char *kwnames
[] = {
36608 (char *) "self",(char *) "str", NULL
36611 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
36612 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36613 if (SWIG_arg_fail(1)) SWIG_fail
;
36615 arg2
= wxString_in_helper(obj1
);
36616 if (arg2
== NULL
) SWIG_fail
;
36620 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36621 (arg1
)->SetHelp((wxString
const &)*arg2
);
36623 wxPyEndAllowThreads(__tstate
);
36624 if (PyErr_Occurred()) SWIG_fail
;
36626 Py_INCREF(Py_None
); resultobj
= Py_None
;
36641 static PyObject
*_wrap_MenuItem_GetHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36642 PyObject
*resultobj
;
36643 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36645 PyObject
* obj0
= 0 ;
36646 char *kwnames
[] = {
36647 (char *) "self", NULL
36650 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetHelp",kwnames
,&obj0
)) goto fail
;
36651 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36652 if (SWIG_arg_fail(1)) SWIG_fail
;
36654 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36656 wxString
const &_result_ref
= ((wxMenuItem
const *)arg1
)->GetHelp();
36657 result
= (wxString
*) &_result_ref
;
36660 wxPyEndAllowThreads(__tstate
);
36661 if (PyErr_Occurred()) SWIG_fail
;
36665 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
36667 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
36676 static PyObject
*_wrap_MenuItem_GetAccel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36677 PyObject
*resultobj
;
36678 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36679 wxAcceleratorEntry
*result
;
36680 PyObject
* obj0
= 0 ;
36681 char *kwnames
[] = {
36682 (char *) "self", NULL
36685 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetAccel",kwnames
,&obj0
)) goto fail
;
36686 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36687 if (SWIG_arg_fail(1)) SWIG_fail
;
36689 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36690 result
= (wxAcceleratorEntry
*)((wxMenuItem
const *)arg1
)->GetAccel();
36692 wxPyEndAllowThreads(__tstate
);
36693 if (PyErr_Occurred()) SWIG_fail
;
36695 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxAcceleratorEntry
, 0);
36702 static PyObject
*_wrap_MenuItem_SetAccel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36703 PyObject
*resultobj
;
36704 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36705 wxAcceleratorEntry
*arg2
= (wxAcceleratorEntry
*) 0 ;
36706 PyObject
* obj0
= 0 ;
36707 PyObject
* obj1
= 0 ;
36708 char *kwnames
[] = {
36709 (char *) "self",(char *) "accel", NULL
36712 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetAccel",kwnames
,&obj0
,&obj1
)) goto fail
;
36713 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36714 if (SWIG_arg_fail(1)) SWIG_fail
;
36715 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxAcceleratorEntry
, SWIG_POINTER_EXCEPTION
| 0);
36716 if (SWIG_arg_fail(2)) SWIG_fail
;
36718 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36719 (arg1
)->SetAccel(arg2
);
36721 wxPyEndAllowThreads(__tstate
);
36722 if (PyErr_Occurred()) SWIG_fail
;
36724 Py_INCREF(Py_None
); resultobj
= Py_None
;
36731 static PyObject
*_wrap_MenuItem_SetFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36732 PyObject
*resultobj
;
36733 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36735 PyObject
* obj0
= 0 ;
36736 PyObject
* obj1
= 0 ;
36737 char *kwnames
[] = {
36738 (char *) "self",(char *) "font", NULL
36741 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetFont",kwnames
,&obj0
,&obj1
)) goto fail
;
36742 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36743 if (SWIG_arg_fail(1)) SWIG_fail
;
36745 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
36746 if (SWIG_arg_fail(2)) SWIG_fail
;
36747 if (arg2
== NULL
) {
36748 SWIG_null_ref("wxFont");
36750 if (SWIG_arg_fail(2)) SWIG_fail
;
36753 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36754 wxMenuItem_SetFont(arg1
,(wxFont
const &)*arg2
);
36756 wxPyEndAllowThreads(__tstate
);
36757 if (PyErr_Occurred()) SWIG_fail
;
36759 Py_INCREF(Py_None
); resultobj
= Py_None
;
36766 static PyObject
*_wrap_MenuItem_GetFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36767 PyObject
*resultobj
;
36768 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36770 PyObject
* obj0
= 0 ;
36771 char *kwnames
[] = {
36772 (char *) "self", NULL
36775 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetFont",kwnames
,&obj0
)) goto fail
;
36776 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36777 if (SWIG_arg_fail(1)) SWIG_fail
;
36779 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36780 result
= wxMenuItem_GetFont(arg1
);
36782 wxPyEndAllowThreads(__tstate
);
36783 if (PyErr_Occurred()) SWIG_fail
;
36786 wxFont
* resultptr
;
36787 resultptr
= new wxFont((wxFont
&)(result
));
36788 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxFont
, 1);
36796 static PyObject
*_wrap_MenuItem_SetTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36797 PyObject
*resultobj
;
36798 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36799 wxColour
*arg2
= 0 ;
36801 PyObject
* obj0
= 0 ;
36802 PyObject
* obj1
= 0 ;
36803 char *kwnames
[] = {
36804 (char *) "self",(char *) "colText", NULL
36807 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
36808 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36809 if (SWIG_arg_fail(1)) SWIG_fail
;
36812 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
36815 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36816 wxMenuItem_SetTextColour(arg1
,(wxColour
const &)*arg2
);
36818 wxPyEndAllowThreads(__tstate
);
36819 if (PyErr_Occurred()) SWIG_fail
;
36821 Py_INCREF(Py_None
); resultobj
= Py_None
;
36828 static PyObject
*_wrap_MenuItem_GetTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36829 PyObject
*resultobj
;
36830 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36832 PyObject
* obj0
= 0 ;
36833 char *kwnames
[] = {
36834 (char *) "self", NULL
36837 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetTextColour",kwnames
,&obj0
)) goto fail
;
36838 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36839 if (SWIG_arg_fail(1)) SWIG_fail
;
36841 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36842 result
= wxMenuItem_GetTextColour(arg1
);
36844 wxPyEndAllowThreads(__tstate
);
36845 if (PyErr_Occurred()) SWIG_fail
;
36848 wxColour
* resultptr
;
36849 resultptr
= new wxColour((wxColour
&)(result
));
36850 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
36858 static PyObject
*_wrap_MenuItem_SetBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36859 PyObject
*resultobj
;
36860 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36861 wxColour
*arg2
= 0 ;
36863 PyObject
* obj0
= 0 ;
36864 PyObject
* obj1
= 0 ;
36865 char *kwnames
[] = {
36866 (char *) "self",(char *) "colBack", NULL
36869 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
36870 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36871 if (SWIG_arg_fail(1)) SWIG_fail
;
36874 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
36877 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36878 wxMenuItem_SetBackgroundColour(arg1
,(wxColour
const &)*arg2
);
36880 wxPyEndAllowThreads(__tstate
);
36881 if (PyErr_Occurred()) SWIG_fail
;
36883 Py_INCREF(Py_None
); resultobj
= Py_None
;
36890 static PyObject
*_wrap_MenuItem_GetBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36891 PyObject
*resultobj
;
36892 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36894 PyObject
* obj0
= 0 ;
36895 char *kwnames
[] = {
36896 (char *) "self", NULL
36899 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetBackgroundColour",kwnames
,&obj0
)) goto fail
;
36900 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36901 if (SWIG_arg_fail(1)) SWIG_fail
;
36903 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36904 result
= wxMenuItem_GetBackgroundColour(arg1
);
36906 wxPyEndAllowThreads(__tstate
);
36907 if (PyErr_Occurred()) SWIG_fail
;
36910 wxColour
* resultptr
;
36911 resultptr
= new wxColour((wxColour
&)(result
));
36912 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
36920 static PyObject
*_wrap_MenuItem_SetBitmaps(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36921 PyObject
*resultobj
;
36922 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36923 wxBitmap
*arg2
= 0 ;
36924 wxBitmap
const &arg3_defvalue
= wxNullBitmap
;
36925 wxBitmap
*arg3
= (wxBitmap
*) &arg3_defvalue
;
36926 PyObject
* obj0
= 0 ;
36927 PyObject
* obj1
= 0 ;
36928 PyObject
* obj2
= 0 ;
36929 char *kwnames
[] = {
36930 (char *) "self",(char *) "bmpChecked",(char *) "bmpUnchecked", NULL
36933 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:MenuItem_SetBitmaps",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
36934 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36935 if (SWIG_arg_fail(1)) SWIG_fail
;
36937 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
36938 if (SWIG_arg_fail(2)) SWIG_fail
;
36939 if (arg2
== NULL
) {
36940 SWIG_null_ref("wxBitmap");
36942 if (SWIG_arg_fail(2)) SWIG_fail
;
36946 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
36947 if (SWIG_arg_fail(3)) SWIG_fail
;
36948 if (arg3
== NULL
) {
36949 SWIG_null_ref("wxBitmap");
36951 if (SWIG_arg_fail(3)) SWIG_fail
;
36955 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36956 wxMenuItem_SetBitmaps(arg1
,(wxBitmap
const &)*arg2
,(wxBitmap
const &)*arg3
);
36958 wxPyEndAllowThreads(__tstate
);
36959 if (PyErr_Occurred()) SWIG_fail
;
36961 Py_INCREF(Py_None
); resultobj
= Py_None
;
36968 static PyObject
*_wrap_MenuItem_SetDisabledBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36969 PyObject
*resultobj
;
36970 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36971 wxBitmap
*arg2
= 0 ;
36972 PyObject
* obj0
= 0 ;
36973 PyObject
* obj1
= 0 ;
36974 char *kwnames
[] = {
36975 (char *) "self",(char *) "bmpDisabled", NULL
36978 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetDisabledBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
36979 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36980 if (SWIG_arg_fail(1)) SWIG_fail
;
36982 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
36983 if (SWIG_arg_fail(2)) SWIG_fail
;
36984 if (arg2
== NULL
) {
36985 SWIG_null_ref("wxBitmap");
36987 if (SWIG_arg_fail(2)) SWIG_fail
;
36990 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36991 wxMenuItem_SetDisabledBitmap(arg1
,(wxBitmap
const &)*arg2
);
36993 wxPyEndAllowThreads(__tstate
);
36994 if (PyErr_Occurred()) SWIG_fail
;
36996 Py_INCREF(Py_None
); resultobj
= Py_None
;
37003 static PyObject
*_wrap_MenuItem_GetDisabledBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37004 PyObject
*resultobj
;
37005 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
37007 PyObject
* obj0
= 0 ;
37008 char *kwnames
[] = {
37009 (char *) "self", NULL
37012 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetDisabledBitmap",kwnames
,&obj0
)) goto fail
;
37013 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
37014 if (SWIG_arg_fail(1)) SWIG_fail
;
37016 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37018 wxBitmap
const &_result_ref
= wxMenuItem_GetDisabledBitmap((wxMenuItem
const *)arg1
);
37019 result
= (wxBitmap
*) &_result_ref
;
37022 wxPyEndAllowThreads(__tstate
);
37023 if (PyErr_Occurred()) SWIG_fail
;
37026 wxBitmap
* resultptr
= new wxBitmap(*result
);
37027 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
37035 static PyObject
*_wrap_MenuItem_SetMarginWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37036 PyObject
*resultobj
;
37037 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
37039 PyObject
* obj0
= 0 ;
37040 PyObject
* obj1
= 0 ;
37041 char *kwnames
[] = {
37042 (char *) "self",(char *) "nWidth", NULL
37045 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetMarginWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
37046 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
37047 if (SWIG_arg_fail(1)) SWIG_fail
;
37049 arg2
= (int)(SWIG_As_int(obj1
));
37050 if (SWIG_arg_fail(2)) SWIG_fail
;
37053 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37054 wxMenuItem_SetMarginWidth(arg1
,arg2
);
37056 wxPyEndAllowThreads(__tstate
);
37057 if (PyErr_Occurred()) SWIG_fail
;
37059 Py_INCREF(Py_None
); resultobj
= Py_None
;
37066 static PyObject
*_wrap_MenuItem_GetMarginWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37067 PyObject
*resultobj
;
37068 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
37070 PyObject
* obj0
= 0 ;
37071 char *kwnames
[] = {
37072 (char *) "self", NULL
37075 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetMarginWidth",kwnames
,&obj0
)) goto fail
;
37076 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
37077 if (SWIG_arg_fail(1)) SWIG_fail
;
37079 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37080 result
= (int)wxMenuItem_GetMarginWidth(arg1
);
37082 wxPyEndAllowThreads(__tstate
);
37083 if (PyErr_Occurred()) SWIG_fail
;
37086 resultobj
= SWIG_From_int((int)(result
));
37094 static PyObject
*_wrap_MenuItem_GetDefaultMarginWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37095 PyObject
*resultobj
;
37097 char *kwnames
[] = {
37101 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":MenuItem_GetDefaultMarginWidth",kwnames
)) goto fail
;
37103 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37104 result
= (int)MenuItem_GetDefaultMarginWidth();
37106 wxPyEndAllowThreads(__tstate
);
37107 if (PyErr_Occurred()) SWIG_fail
;
37110 resultobj
= SWIG_From_int((int)(result
));
37118 static PyObject
*_wrap_MenuItem_IsOwnerDrawn(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37119 PyObject
*resultobj
;
37120 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
37122 PyObject
* obj0
= 0 ;
37123 char *kwnames
[] = {
37124 (char *) "self", NULL
37127 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_IsOwnerDrawn",kwnames
,&obj0
)) goto fail
;
37128 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
37129 if (SWIG_arg_fail(1)) SWIG_fail
;
37131 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37132 result
= (bool)wxMenuItem_IsOwnerDrawn(arg1
);
37134 wxPyEndAllowThreads(__tstate
);
37135 if (PyErr_Occurred()) SWIG_fail
;
37138 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
37146 static PyObject
*_wrap_MenuItem_SetOwnerDrawn(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37147 PyObject
*resultobj
;
37148 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
37149 bool arg2
= (bool) true ;
37150 PyObject
* obj0
= 0 ;
37151 PyObject
* obj1
= 0 ;
37152 char *kwnames
[] = {
37153 (char *) "self",(char *) "ownerDrawn", NULL
37156 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:MenuItem_SetOwnerDrawn",kwnames
,&obj0
,&obj1
)) goto fail
;
37157 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
37158 if (SWIG_arg_fail(1)) SWIG_fail
;
37161 arg2
= (bool)(SWIG_As_bool(obj1
));
37162 if (SWIG_arg_fail(2)) SWIG_fail
;
37166 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37167 wxMenuItem_SetOwnerDrawn(arg1
,arg2
);
37169 wxPyEndAllowThreads(__tstate
);
37170 if (PyErr_Occurred()) SWIG_fail
;
37172 Py_INCREF(Py_None
); resultobj
= Py_None
;
37179 static PyObject
*_wrap_MenuItem_ResetOwnerDrawn(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37180 PyObject
*resultobj
;
37181 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
37182 PyObject
* obj0
= 0 ;
37183 char *kwnames
[] = {
37184 (char *) "self", NULL
37187 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_ResetOwnerDrawn",kwnames
,&obj0
)) goto fail
;
37188 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
37189 if (SWIG_arg_fail(1)) SWIG_fail
;
37191 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37192 wxMenuItem_ResetOwnerDrawn(arg1
);
37194 wxPyEndAllowThreads(__tstate
);
37195 if (PyErr_Occurred()) SWIG_fail
;
37197 Py_INCREF(Py_None
); resultobj
= Py_None
;
37204 static PyObject
*_wrap_MenuItem_SetBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37205 PyObject
*resultobj
;
37206 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
37207 wxBitmap
*arg2
= 0 ;
37208 PyObject
* obj0
= 0 ;
37209 PyObject
* obj1
= 0 ;
37210 char *kwnames
[] = {
37211 (char *) "self",(char *) "bitmap", NULL
37214 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
37215 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
37216 if (SWIG_arg_fail(1)) SWIG_fail
;
37218 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
37219 if (SWIG_arg_fail(2)) SWIG_fail
;
37220 if (arg2
== NULL
) {
37221 SWIG_null_ref("wxBitmap");
37223 if (SWIG_arg_fail(2)) SWIG_fail
;
37226 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37227 (arg1
)->SetBitmap((wxBitmap
const &)*arg2
);
37229 wxPyEndAllowThreads(__tstate
);
37230 if (PyErr_Occurred()) SWIG_fail
;
37232 Py_INCREF(Py_None
); resultobj
= Py_None
;
37239 static PyObject
*_wrap_MenuItem_GetBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37240 PyObject
*resultobj
;
37241 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
37243 PyObject
* obj0
= 0 ;
37244 char *kwnames
[] = {
37245 (char *) "self", NULL
37248 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetBitmap",kwnames
,&obj0
)) goto fail
;
37249 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
37250 if (SWIG_arg_fail(1)) SWIG_fail
;
37252 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37254 wxBitmap
const &_result_ref
= (arg1
)->GetBitmap();
37255 result
= (wxBitmap
*) &_result_ref
;
37258 wxPyEndAllowThreads(__tstate
);
37259 if (PyErr_Occurred()) SWIG_fail
;
37262 wxBitmap
* resultptr
= new wxBitmap(*result
);
37263 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
37271 static PyObject
* MenuItem_swigregister(PyObject
*, PyObject
*args
) {
37273 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
37274 SWIG_TypeClientData(SWIGTYPE_p_wxMenuItem
, obj
);
37276 return Py_BuildValue((char *)"");
37278 static int _wrap_ControlNameStr_set(PyObject
*) {
37279 PyErr_SetString(PyExc_TypeError
,"Variable ControlNameStr is read-only.");
37284 static PyObject
*_wrap_ControlNameStr_get(void) {
37289 pyobj
= PyUnicode_FromWideChar((&wxPyControlNameStr
)->c_str(), (&wxPyControlNameStr
)->Len());
37291 pyobj
= PyString_FromStringAndSize((&wxPyControlNameStr
)->c_str(), (&wxPyControlNameStr
)->Len());
37298 static PyObject
*_wrap_new_Control(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37299 PyObject
*resultobj
;
37300 wxWindow
*arg1
= (wxWindow
*) 0 ;
37301 int arg2
= (int) -1 ;
37302 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
37303 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
37304 wxSize
const &arg4_defvalue
= wxDefaultSize
;
37305 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
37306 long arg5
= (long) 0 ;
37307 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
37308 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
37309 wxString
const &arg7_defvalue
= wxPyControlNameStr
;
37310 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
37314 bool temp7
= false ;
37315 PyObject
* obj0
= 0 ;
37316 PyObject
* obj1
= 0 ;
37317 PyObject
* obj2
= 0 ;
37318 PyObject
* obj3
= 0 ;
37319 PyObject
* obj4
= 0 ;
37320 PyObject
* obj5
= 0 ;
37321 PyObject
* obj6
= 0 ;
37322 char *kwnames
[] = {
37323 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
37326 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_Control",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
37327 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
37328 if (SWIG_arg_fail(1)) SWIG_fail
;
37331 arg2
= (int)(SWIG_As_int(obj1
));
37332 if (SWIG_arg_fail(2)) SWIG_fail
;
37338 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
37344 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
37349 arg5
= (long)(SWIG_As_long(obj4
));
37350 if (SWIG_arg_fail(5)) SWIG_fail
;
37355 SWIG_Python_ConvertPtr(obj5
, (void **)&arg6
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
37356 if (SWIG_arg_fail(6)) SWIG_fail
;
37357 if (arg6
== NULL
) {
37358 SWIG_null_ref("wxValidator");
37360 if (SWIG_arg_fail(6)) SWIG_fail
;
37365 arg7
= wxString_in_helper(obj6
);
37366 if (arg7
== NULL
) SWIG_fail
;
37371 if (!wxPyCheckForApp()) SWIG_fail
;
37372 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37373 result
= (wxControl
*)new wxControl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
37375 wxPyEndAllowThreads(__tstate
);
37376 if (PyErr_Occurred()) SWIG_fail
;
37378 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxControl
, 1);
37393 static PyObject
*_wrap_new_PreControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37394 PyObject
*resultobj
;
37396 char *kwnames
[] = {
37400 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreControl",kwnames
)) goto fail
;
37402 if (!wxPyCheckForApp()) SWIG_fail
;
37403 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37404 result
= (wxControl
*)new wxControl();
37406 wxPyEndAllowThreads(__tstate
);
37407 if (PyErr_Occurred()) SWIG_fail
;
37409 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxControl
, 1);
37416 static PyObject
*_wrap_Control_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37417 PyObject
*resultobj
;
37418 wxControl
*arg1
= (wxControl
*) 0 ;
37419 wxWindow
*arg2
= (wxWindow
*) 0 ;
37420 int arg3
= (int) -1 ;
37421 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
37422 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
37423 wxSize
const &arg5_defvalue
= wxDefaultSize
;
37424 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
37425 long arg6
= (long) 0 ;
37426 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
37427 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
37428 wxString
const &arg8_defvalue
= wxPyControlNameStr
;
37429 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
37433 bool temp8
= false ;
37434 PyObject
* obj0
= 0 ;
37435 PyObject
* obj1
= 0 ;
37436 PyObject
* obj2
= 0 ;
37437 PyObject
* obj3
= 0 ;
37438 PyObject
* obj4
= 0 ;
37439 PyObject
* obj5
= 0 ;
37440 PyObject
* obj6
= 0 ;
37441 PyObject
* obj7
= 0 ;
37442 char *kwnames
[] = {
37443 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
37446 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:Control_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
37447 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxControl
, SWIG_POINTER_EXCEPTION
| 0);
37448 if (SWIG_arg_fail(1)) SWIG_fail
;
37449 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
37450 if (SWIG_arg_fail(2)) SWIG_fail
;
37453 arg3
= (int)(SWIG_As_int(obj2
));
37454 if (SWIG_arg_fail(3)) SWIG_fail
;
37460 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
37466 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
37471 arg6
= (long)(SWIG_As_long(obj5
));
37472 if (SWIG_arg_fail(6)) SWIG_fail
;
37477 SWIG_Python_ConvertPtr(obj6
, (void **)&arg7
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
37478 if (SWIG_arg_fail(7)) SWIG_fail
;
37479 if (arg7
== NULL
) {
37480 SWIG_null_ref("wxValidator");
37482 if (SWIG_arg_fail(7)) SWIG_fail
;
37487 arg8
= wxString_in_helper(obj7
);
37488 if (arg8
== NULL
) SWIG_fail
;
37493 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37494 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
37496 wxPyEndAllowThreads(__tstate
);
37497 if (PyErr_Occurred()) SWIG_fail
;
37500 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
37516 static PyObject
*_wrap_Control_Command(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37517 PyObject
*resultobj
;
37518 wxControl
*arg1
= (wxControl
*) 0 ;
37519 wxCommandEvent
*arg2
= 0 ;
37520 PyObject
* obj0
= 0 ;
37521 PyObject
* obj1
= 0 ;
37522 char *kwnames
[] = {
37523 (char *) "self",(char *) "event", NULL
37526 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Control_Command",kwnames
,&obj0
,&obj1
)) goto fail
;
37527 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxControl
, SWIG_POINTER_EXCEPTION
| 0);
37528 if (SWIG_arg_fail(1)) SWIG_fail
;
37530 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxCommandEvent
, SWIG_POINTER_EXCEPTION
| 0);
37531 if (SWIG_arg_fail(2)) SWIG_fail
;
37532 if (arg2
== NULL
) {
37533 SWIG_null_ref("wxCommandEvent");
37535 if (SWIG_arg_fail(2)) SWIG_fail
;
37538 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37539 (arg1
)->Command(*arg2
);
37541 wxPyEndAllowThreads(__tstate
);
37542 if (PyErr_Occurred()) SWIG_fail
;
37544 Py_INCREF(Py_None
); resultobj
= Py_None
;
37551 static PyObject
*_wrap_Control_GetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37552 PyObject
*resultobj
;
37553 wxControl
*arg1
= (wxControl
*) 0 ;
37555 PyObject
* obj0
= 0 ;
37556 char *kwnames
[] = {
37557 (char *) "self", NULL
37560 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Control_GetLabel",kwnames
,&obj0
)) goto fail
;
37561 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxControl
, SWIG_POINTER_EXCEPTION
| 0);
37562 if (SWIG_arg_fail(1)) SWIG_fail
;
37564 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37565 result
= (arg1
)->GetLabel();
37567 wxPyEndAllowThreads(__tstate
);
37568 if (PyErr_Occurred()) SWIG_fail
;
37572 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
37574 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
37583 static PyObject
*_wrap_Control_SetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37584 PyObject
*resultobj
;
37585 wxControl
*arg1
= (wxControl
*) 0 ;
37586 wxString
*arg2
= 0 ;
37587 bool temp2
= false ;
37588 PyObject
* obj0
= 0 ;
37589 PyObject
* obj1
= 0 ;
37590 char *kwnames
[] = {
37591 (char *) "self",(char *) "label", NULL
37594 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Control_SetLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
37595 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxControl
, SWIG_POINTER_EXCEPTION
| 0);
37596 if (SWIG_arg_fail(1)) SWIG_fail
;
37598 arg2
= wxString_in_helper(obj1
);
37599 if (arg2
== NULL
) SWIG_fail
;
37603 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37604 (arg1
)->SetLabel((wxString
const &)*arg2
);
37606 wxPyEndAllowThreads(__tstate
);
37607 if (PyErr_Occurred()) SWIG_fail
;
37609 Py_INCREF(Py_None
); resultobj
= Py_None
;
37624 static PyObject
*_wrap_Control_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37625 PyObject
*resultobj
;
37626 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
37627 wxVisualAttributes result
;
37628 PyObject
* obj0
= 0 ;
37629 char *kwnames
[] = {
37630 (char *) "variant", NULL
37633 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Control_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
37636 arg1
= (wxWindowVariant
)(SWIG_As_int(obj0
));
37637 if (SWIG_arg_fail(1)) SWIG_fail
;
37641 if (!wxPyCheckForApp()) SWIG_fail
;
37642 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37643 result
= wxControl::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
37645 wxPyEndAllowThreads(__tstate
);
37646 if (PyErr_Occurred()) SWIG_fail
;
37649 wxVisualAttributes
* resultptr
;
37650 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
37651 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
37659 static PyObject
* Control_swigregister(PyObject
*, PyObject
*args
) {
37661 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
37662 SWIG_TypeClientData(SWIGTYPE_p_wxControl
, obj
);
37664 return Py_BuildValue((char *)"");
37666 static PyObject
*_wrap_ItemContainer_Append(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37667 PyObject
*resultobj
;
37668 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
37669 wxString
*arg2
= 0 ;
37670 PyObject
*arg3
= (PyObject
*) NULL
;
37672 bool temp2
= false ;
37673 PyObject
* obj0
= 0 ;
37674 PyObject
* obj1
= 0 ;
37675 PyObject
* obj2
= 0 ;
37676 char *kwnames
[] = {
37677 (char *) "self",(char *) "item",(char *) "clientData", NULL
37680 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ItemContainer_Append",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
37681 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxItemContainer
, SWIG_POINTER_EXCEPTION
| 0);
37682 if (SWIG_arg_fail(1)) SWIG_fail
;
37684 arg2
= wxString_in_helper(obj1
);
37685 if (arg2
== NULL
) SWIG_fail
;
37692 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37693 result
= (int)wxItemContainer_Append(arg1
,(wxString
const &)*arg2
,arg3
);
37695 wxPyEndAllowThreads(__tstate
);
37696 if (PyErr_Occurred()) SWIG_fail
;
37699 resultobj
= SWIG_From_int((int)(result
));
37715 static PyObject
*_wrap_ItemContainer_AppendItems(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37716 PyObject
*resultobj
;
37717 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
37718 wxArrayString
*arg2
= 0 ;
37719 bool temp2
= false ;
37720 PyObject
* obj0
= 0 ;
37721 PyObject
* obj1
= 0 ;
37722 char *kwnames
[] = {
37723 (char *) "self",(char *) "strings", NULL
37726 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_AppendItems",kwnames
,&obj0
,&obj1
)) goto fail
;
37727 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxItemContainer
, SWIG_POINTER_EXCEPTION
| 0);
37728 if (SWIG_arg_fail(1)) SWIG_fail
;
37730 if (! PySequence_Check(obj1
)) {
37731 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
37734 arg2
= new wxArrayString
;
37736 int i
, len
=PySequence_Length(obj1
);
37737 for (i
=0; i
<len
; i
++) {
37738 PyObject
* item
= PySequence_GetItem(obj1
, i
);
37740 PyObject
* str
= PyObject_Unicode(item
);
37742 PyObject
* str
= PyObject_Str(item
);
37744 if (PyErr_Occurred()) SWIG_fail
;
37745 arg2
->Add(Py2wxString(str
));
37751 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37752 (arg1
)->Append((wxArrayString
const &)*arg2
);
37754 wxPyEndAllowThreads(__tstate
);
37755 if (PyErr_Occurred()) SWIG_fail
;
37757 Py_INCREF(Py_None
); resultobj
= Py_None
;
37759 if (temp2
) delete arg2
;
37764 if (temp2
) delete arg2
;
37770 static PyObject
*_wrap_ItemContainer_Insert(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37771 PyObject
*resultobj
;
37772 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
37773 wxString
*arg2
= 0 ;
37775 PyObject
*arg4
= (PyObject
*) NULL
;
37777 bool temp2
= false ;
37778 PyObject
* obj0
= 0 ;
37779 PyObject
* obj1
= 0 ;
37780 PyObject
* obj2
= 0 ;
37781 PyObject
* obj3
= 0 ;
37782 char *kwnames
[] = {
37783 (char *) "self",(char *) "item",(char *) "pos",(char *) "clientData", NULL
37786 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:ItemContainer_Insert",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
37787 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxItemContainer
, SWIG_POINTER_EXCEPTION
| 0);
37788 if (SWIG_arg_fail(1)) SWIG_fail
;
37790 arg2
= wxString_in_helper(obj1
);
37791 if (arg2
== NULL
) SWIG_fail
;
37795 arg3
= (int)(SWIG_As_int(obj2
));
37796 if (SWIG_arg_fail(3)) SWIG_fail
;
37802 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37803 result
= (int)wxItemContainer_Insert(arg1
,(wxString
const &)*arg2
,arg3
,arg4
);
37805 wxPyEndAllowThreads(__tstate
);
37806 if (PyErr_Occurred()) SWIG_fail
;
37809 resultobj
= SWIG_From_int((int)(result
));
37825 static PyObject
*_wrap_ItemContainer_Clear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37826 PyObject
*resultobj
;
37827 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
37828 PyObject
* obj0
= 0 ;
37829 char *kwnames
[] = {
37830 (char *) "self", NULL
37833 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ItemContainer_Clear",kwnames
,&obj0
)) goto fail
;
37834 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxItemContainer
, SWIG_POINTER_EXCEPTION
| 0);
37835 if (SWIG_arg_fail(1)) SWIG_fail
;
37837 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37840 wxPyEndAllowThreads(__tstate
);
37841 if (PyErr_Occurred()) SWIG_fail
;
37843 Py_INCREF(Py_None
); resultobj
= Py_None
;
37850 static PyObject
*_wrap_ItemContainer_Delete(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37851 PyObject
*resultobj
;
37852 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
37854 PyObject
* obj0
= 0 ;
37855 PyObject
* obj1
= 0 ;
37856 char *kwnames
[] = {
37857 (char *) "self",(char *) "n", NULL
37860 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_Delete",kwnames
,&obj0
,&obj1
)) 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
= (int)(SWIG_As_int(obj1
));
37865 if (SWIG_arg_fail(2)) SWIG_fail
;
37868 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37869 (arg1
)->Delete(arg2
);
37871 wxPyEndAllowThreads(__tstate
);
37872 if (PyErr_Occurred()) SWIG_fail
;
37874 Py_INCREF(Py_None
); resultobj
= Py_None
;
37881 static PyObject
*_wrap_ItemContainer_GetClientData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37882 PyObject
*resultobj
;
37883 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
37886 PyObject
* obj0
= 0 ;
37887 PyObject
* obj1
= 0 ;
37888 char *kwnames
[] = {
37889 (char *) "self",(char *) "n", NULL
37892 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_GetClientData",kwnames
,&obj0
,&obj1
)) goto fail
;
37893 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxItemContainer
, SWIG_POINTER_EXCEPTION
| 0);
37894 if (SWIG_arg_fail(1)) SWIG_fail
;
37896 arg2
= (int)(SWIG_As_int(obj1
));
37897 if (SWIG_arg_fail(2)) SWIG_fail
;
37900 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37901 result
= (PyObject
*)wxItemContainer_GetClientData(arg1
,arg2
);
37903 wxPyEndAllowThreads(__tstate
);
37904 if (PyErr_Occurred()) SWIG_fail
;
37906 resultobj
= result
;
37913 static PyObject
*_wrap_ItemContainer_SetClientData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37914 PyObject
*resultobj
;
37915 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
37917 PyObject
*arg3
= (PyObject
*) 0 ;
37918 PyObject
* obj0
= 0 ;
37919 PyObject
* obj1
= 0 ;
37920 PyObject
* obj2
= 0 ;
37921 char *kwnames
[] = {
37922 (char *) "self",(char *) "n",(char *) "clientData", NULL
37925 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ItemContainer_SetClientData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
37926 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxItemContainer
, SWIG_POINTER_EXCEPTION
| 0);
37927 if (SWIG_arg_fail(1)) SWIG_fail
;
37929 arg2
= (int)(SWIG_As_int(obj1
));
37930 if (SWIG_arg_fail(2)) SWIG_fail
;
37934 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37935 wxItemContainer_SetClientData(arg1
,arg2
,arg3
);
37937 wxPyEndAllowThreads(__tstate
);
37938 if (PyErr_Occurred()) SWIG_fail
;
37940 Py_INCREF(Py_None
); resultobj
= Py_None
;
37947 static PyObject
*_wrap_ItemContainer_GetCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37948 PyObject
*resultobj
;
37949 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
37951 PyObject
* obj0
= 0 ;
37952 char *kwnames
[] = {
37953 (char *) "self", NULL
37956 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ItemContainer_GetCount",kwnames
,&obj0
)) goto fail
;
37957 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxItemContainer
, SWIG_POINTER_EXCEPTION
| 0);
37958 if (SWIG_arg_fail(1)) SWIG_fail
;
37960 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37961 result
= (int)((wxItemContainer
const *)arg1
)->GetCount();
37963 wxPyEndAllowThreads(__tstate
);
37964 if (PyErr_Occurred()) SWIG_fail
;
37967 resultobj
= SWIG_From_int((int)(result
));
37975 static PyObject
*_wrap_ItemContainer_IsEmpty(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37976 PyObject
*resultobj
;
37977 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
37979 PyObject
* obj0
= 0 ;
37980 char *kwnames
[] = {
37981 (char *) "self", NULL
37984 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ItemContainer_IsEmpty",kwnames
,&obj0
)) goto fail
;
37985 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxItemContainer
, SWIG_POINTER_EXCEPTION
| 0);
37986 if (SWIG_arg_fail(1)) SWIG_fail
;
37988 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37989 result
= (bool)((wxItemContainer
const *)arg1
)->IsEmpty();
37991 wxPyEndAllowThreads(__tstate
);
37992 if (PyErr_Occurred()) SWIG_fail
;
37995 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38003 static PyObject
*_wrap_ItemContainer_GetString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38004 PyObject
*resultobj
;
38005 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
38008 PyObject
* obj0
= 0 ;
38009 PyObject
* obj1
= 0 ;
38010 char *kwnames
[] = {
38011 (char *) "self",(char *) "n", NULL
38014 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_GetString",kwnames
,&obj0
,&obj1
)) goto fail
;
38015 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxItemContainer
, SWIG_POINTER_EXCEPTION
| 0);
38016 if (SWIG_arg_fail(1)) SWIG_fail
;
38018 arg2
= (int)(SWIG_As_int(obj1
));
38019 if (SWIG_arg_fail(2)) SWIG_fail
;
38022 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38023 result
= ((wxItemContainer
const *)arg1
)->GetString(arg2
);
38025 wxPyEndAllowThreads(__tstate
);
38026 if (PyErr_Occurred()) SWIG_fail
;
38030 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
38032 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
38041 static PyObject
*_wrap_ItemContainer_GetStrings(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38042 PyObject
*resultobj
;
38043 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
38044 wxArrayString result
;
38045 PyObject
* obj0
= 0 ;
38046 char *kwnames
[] = {
38047 (char *) "self", NULL
38050 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ItemContainer_GetStrings",kwnames
,&obj0
)) goto fail
;
38051 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxItemContainer
, SWIG_POINTER_EXCEPTION
| 0);
38052 if (SWIG_arg_fail(1)) SWIG_fail
;
38054 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38055 result
= ((wxItemContainer
const *)arg1
)->GetStrings();
38057 wxPyEndAllowThreads(__tstate
);
38058 if (PyErr_Occurred()) SWIG_fail
;
38061 resultobj
= wxArrayString2PyList_helper(result
);
38069 static PyObject
*_wrap_ItemContainer_SetString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38070 PyObject
*resultobj
;
38071 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
38073 wxString
*arg3
= 0 ;
38074 bool temp3
= false ;
38075 PyObject
* obj0
= 0 ;
38076 PyObject
* obj1
= 0 ;
38077 PyObject
* obj2
= 0 ;
38078 char *kwnames
[] = {
38079 (char *) "self",(char *) "n",(char *) "s", NULL
38082 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ItemContainer_SetString",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
38083 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxItemContainer
, SWIG_POINTER_EXCEPTION
| 0);
38084 if (SWIG_arg_fail(1)) SWIG_fail
;
38086 arg2
= (int)(SWIG_As_int(obj1
));
38087 if (SWIG_arg_fail(2)) SWIG_fail
;
38090 arg3
= wxString_in_helper(obj2
);
38091 if (arg3
== NULL
) SWIG_fail
;
38095 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38096 (arg1
)->SetString(arg2
,(wxString
const &)*arg3
);
38098 wxPyEndAllowThreads(__tstate
);
38099 if (PyErr_Occurred()) SWIG_fail
;
38101 Py_INCREF(Py_None
); resultobj
= Py_None
;
38116 static PyObject
*_wrap_ItemContainer_FindString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38117 PyObject
*resultobj
;
38118 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
38119 wxString
*arg2
= 0 ;
38121 bool temp2
= false ;
38122 PyObject
* obj0
= 0 ;
38123 PyObject
* obj1
= 0 ;
38124 char *kwnames
[] = {
38125 (char *) "self",(char *) "s", NULL
38128 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_FindString",kwnames
,&obj0
,&obj1
)) goto fail
;
38129 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxItemContainer
, SWIG_POINTER_EXCEPTION
| 0);
38130 if (SWIG_arg_fail(1)) SWIG_fail
;
38132 arg2
= wxString_in_helper(obj1
);
38133 if (arg2
== NULL
) SWIG_fail
;
38137 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38138 result
= (int)((wxItemContainer
const *)arg1
)->FindString((wxString
const &)*arg2
);
38140 wxPyEndAllowThreads(__tstate
);
38141 if (PyErr_Occurred()) SWIG_fail
;
38144 resultobj
= SWIG_From_int((int)(result
));
38160 static PyObject
*_wrap_ItemContainer_SetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38161 PyObject
*resultobj
;
38162 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
38164 PyObject
* obj0
= 0 ;
38165 PyObject
* obj1
= 0 ;
38166 char *kwnames
[] = {
38167 (char *) "self",(char *) "n", NULL
38170 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
38171 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxItemContainer
, SWIG_POINTER_EXCEPTION
| 0);
38172 if (SWIG_arg_fail(1)) SWIG_fail
;
38174 arg2
= (int)(SWIG_As_int(obj1
));
38175 if (SWIG_arg_fail(2)) SWIG_fail
;
38178 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38179 (arg1
)->SetSelection(arg2
);
38181 wxPyEndAllowThreads(__tstate
);
38182 if (PyErr_Occurred()) SWIG_fail
;
38184 Py_INCREF(Py_None
); resultobj
= Py_None
;
38191 static PyObject
*_wrap_ItemContainer_GetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38192 PyObject
*resultobj
;
38193 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
38195 PyObject
* obj0
= 0 ;
38196 char *kwnames
[] = {
38197 (char *) "self", NULL
38200 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ItemContainer_GetSelection",kwnames
,&obj0
)) goto fail
;
38201 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxItemContainer
, SWIG_POINTER_EXCEPTION
| 0);
38202 if (SWIG_arg_fail(1)) SWIG_fail
;
38204 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38205 result
= (int)((wxItemContainer
const *)arg1
)->GetSelection();
38207 wxPyEndAllowThreads(__tstate
);
38208 if (PyErr_Occurred()) SWIG_fail
;
38211 resultobj
= SWIG_From_int((int)(result
));
38219 static PyObject
*_wrap_ItemContainer_SetStringSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38220 PyObject
*resultobj
;
38221 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
38222 wxString
*arg2
= 0 ;
38224 bool temp2
= false ;
38225 PyObject
* obj0
= 0 ;
38226 PyObject
* obj1
= 0 ;
38227 char *kwnames
[] = {
38228 (char *) "self",(char *) "s", NULL
38231 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_SetStringSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
38232 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxItemContainer
, SWIG_POINTER_EXCEPTION
| 0);
38233 if (SWIG_arg_fail(1)) SWIG_fail
;
38235 arg2
= wxString_in_helper(obj1
);
38236 if (arg2
== NULL
) SWIG_fail
;
38240 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38241 result
= (bool)(arg1
)->SetStringSelection((wxString
const &)*arg2
);
38243 wxPyEndAllowThreads(__tstate
);
38244 if (PyErr_Occurred()) SWIG_fail
;
38247 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38263 static PyObject
*_wrap_ItemContainer_GetStringSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38264 PyObject
*resultobj
;
38265 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
38267 PyObject
* obj0
= 0 ;
38268 char *kwnames
[] = {
38269 (char *) "self", NULL
38272 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ItemContainer_GetStringSelection",kwnames
,&obj0
)) goto fail
;
38273 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxItemContainer
, SWIG_POINTER_EXCEPTION
| 0);
38274 if (SWIG_arg_fail(1)) SWIG_fail
;
38276 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38277 result
= ((wxItemContainer
const *)arg1
)->GetStringSelection();
38279 wxPyEndAllowThreads(__tstate
);
38280 if (PyErr_Occurred()) SWIG_fail
;
38284 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
38286 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
38295 static PyObject
*_wrap_ItemContainer_Select(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38296 PyObject
*resultobj
;
38297 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
38299 PyObject
* obj0
= 0 ;
38300 PyObject
* obj1
= 0 ;
38301 char *kwnames
[] = {
38302 (char *) "self",(char *) "n", NULL
38305 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_Select",kwnames
,&obj0
,&obj1
)) goto fail
;
38306 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxItemContainer
, SWIG_POINTER_EXCEPTION
| 0);
38307 if (SWIG_arg_fail(1)) SWIG_fail
;
38309 arg2
= (int)(SWIG_As_int(obj1
));
38310 if (SWIG_arg_fail(2)) SWIG_fail
;
38313 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38314 (arg1
)->Select(arg2
);
38316 wxPyEndAllowThreads(__tstate
);
38317 if (PyErr_Occurred()) SWIG_fail
;
38319 Py_INCREF(Py_None
); resultobj
= Py_None
;
38326 static PyObject
* ItemContainer_swigregister(PyObject
*, PyObject
*args
) {
38328 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
38329 SWIG_TypeClientData(SWIGTYPE_p_wxItemContainer
, obj
);
38331 return Py_BuildValue((char *)"");
38333 static PyObject
* ControlWithItems_swigregister(PyObject
*, PyObject
*args
) {
38335 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
38336 SWIG_TypeClientData(SWIGTYPE_p_wxControlWithItems
, obj
);
38338 return Py_BuildValue((char *)"");
38340 static PyObject
*_wrap_new_SizerItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38341 PyObject
*resultobj
;
38342 wxSizerItem
*result
;
38343 char *kwnames
[] = {
38347 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_SizerItem",kwnames
)) goto fail
;
38349 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38350 result
= (wxSizerItem
*)new wxSizerItem();
38352 wxPyEndAllowThreads(__tstate
);
38353 if (PyErr_Occurred()) SWIG_fail
;
38355 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizerItem
, 1);
38362 static PyObject
*_wrap_new_SizerItemWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38363 PyObject
*resultobj
;
38364 wxWindow
*arg1
= (wxWindow
*) 0 ;
38368 PyObject
*arg5
= (PyObject
*) NULL
;
38369 wxSizerItem
*result
;
38370 PyObject
* obj0
= 0 ;
38371 PyObject
* obj1
= 0 ;
38372 PyObject
* obj2
= 0 ;
38373 PyObject
* obj3
= 0 ;
38374 PyObject
* obj4
= 0 ;
38375 char *kwnames
[] = {
38376 (char *) "window",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
38379 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:new_SizerItemWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
38380 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
38381 if (SWIG_arg_fail(1)) SWIG_fail
;
38383 arg2
= (int)(SWIG_As_int(obj1
));
38384 if (SWIG_arg_fail(2)) SWIG_fail
;
38387 arg3
= (int)(SWIG_As_int(obj2
));
38388 if (SWIG_arg_fail(3)) SWIG_fail
;
38391 arg4
= (int)(SWIG_As_int(obj3
));
38392 if (SWIG_arg_fail(4)) SWIG_fail
;
38398 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38399 result
= (wxSizerItem
*)new_wxSizerItem(arg1
,arg2
,arg3
,arg4
,arg5
);
38401 wxPyEndAllowThreads(__tstate
);
38402 if (PyErr_Occurred()) SWIG_fail
;
38404 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizerItem
, 1);
38411 static PyObject
*_wrap_new_SizerItemSpacer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38412 PyObject
*resultobj
;
38418 PyObject
*arg6
= (PyObject
*) NULL
;
38419 wxSizerItem
*result
;
38420 PyObject
* obj0
= 0 ;
38421 PyObject
* obj1
= 0 ;
38422 PyObject
* obj2
= 0 ;
38423 PyObject
* obj3
= 0 ;
38424 PyObject
* obj4
= 0 ;
38425 PyObject
* obj5
= 0 ;
38426 char *kwnames
[] = {
38427 (char *) "width",(char *) "height",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
38430 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:new_SizerItemSpacer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
38432 arg1
= (int)(SWIG_As_int(obj0
));
38433 if (SWIG_arg_fail(1)) SWIG_fail
;
38436 arg2
= (int)(SWIG_As_int(obj1
));
38437 if (SWIG_arg_fail(2)) SWIG_fail
;
38440 arg3
= (int)(SWIG_As_int(obj2
));
38441 if (SWIG_arg_fail(3)) SWIG_fail
;
38444 arg4
= (int)(SWIG_As_int(obj3
));
38445 if (SWIG_arg_fail(4)) SWIG_fail
;
38448 arg5
= (int)(SWIG_As_int(obj4
));
38449 if (SWIG_arg_fail(5)) SWIG_fail
;
38455 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38456 result
= (wxSizerItem
*)new_wxSizerItem(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
);
38458 wxPyEndAllowThreads(__tstate
);
38459 if (PyErr_Occurred()) SWIG_fail
;
38461 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizerItem
, 1);
38468 static PyObject
*_wrap_new_SizerItemSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38469 PyObject
*resultobj
;
38470 wxSizer
*arg1
= (wxSizer
*) 0 ;
38474 PyObject
*arg5
= (PyObject
*) NULL
;
38475 wxSizerItem
*result
;
38476 PyObject
* obj0
= 0 ;
38477 PyObject
* obj1
= 0 ;
38478 PyObject
* obj2
= 0 ;
38479 PyObject
* obj3
= 0 ;
38480 PyObject
* obj4
= 0 ;
38481 char *kwnames
[] = {
38482 (char *) "sizer",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
38485 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:new_SizerItemSizer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
38486 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
38487 if (SWIG_arg_fail(1)) SWIG_fail
;
38489 arg2
= (int)(SWIG_As_int(obj1
));
38490 if (SWIG_arg_fail(2)) SWIG_fail
;
38493 arg3
= (int)(SWIG_As_int(obj2
));
38494 if (SWIG_arg_fail(3)) SWIG_fail
;
38497 arg4
= (int)(SWIG_As_int(obj3
));
38498 if (SWIG_arg_fail(4)) SWIG_fail
;
38504 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38505 result
= (wxSizerItem
*)new_wxSizerItem(arg1
,arg2
,arg3
,arg4
,arg5
);
38507 wxPyEndAllowThreads(__tstate
);
38508 if (PyErr_Occurred()) SWIG_fail
;
38510 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizerItem
, 1);
38517 static PyObject
*_wrap_SizerItem_DeleteWindows(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38518 PyObject
*resultobj
;
38519 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
38520 PyObject
* obj0
= 0 ;
38521 char *kwnames
[] = {
38522 (char *) "self", NULL
38525 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_DeleteWindows",kwnames
,&obj0
)) goto fail
;
38526 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
38527 if (SWIG_arg_fail(1)) SWIG_fail
;
38529 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38530 (arg1
)->DeleteWindows();
38532 wxPyEndAllowThreads(__tstate
);
38533 if (PyErr_Occurred()) SWIG_fail
;
38535 Py_INCREF(Py_None
); resultobj
= Py_None
;
38542 static PyObject
*_wrap_SizerItem_DetachSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38543 PyObject
*resultobj
;
38544 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
38545 PyObject
* obj0
= 0 ;
38546 char *kwnames
[] = {
38547 (char *) "self", NULL
38550 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_DetachSizer",kwnames
,&obj0
)) goto fail
;
38551 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
38552 if (SWIG_arg_fail(1)) SWIG_fail
;
38554 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38555 (arg1
)->DetachSizer();
38557 wxPyEndAllowThreads(__tstate
);
38558 if (PyErr_Occurred()) SWIG_fail
;
38560 Py_INCREF(Py_None
); resultobj
= Py_None
;
38567 static PyObject
*_wrap_SizerItem_GetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38568 PyObject
*resultobj
;
38569 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
38571 PyObject
* obj0
= 0 ;
38572 char *kwnames
[] = {
38573 (char *) "self", NULL
38576 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetSize",kwnames
,&obj0
)) goto fail
;
38577 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
38578 if (SWIG_arg_fail(1)) SWIG_fail
;
38580 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38581 result
= (arg1
)->GetSize();
38583 wxPyEndAllowThreads(__tstate
);
38584 if (PyErr_Occurred()) SWIG_fail
;
38587 wxSize
* resultptr
;
38588 resultptr
= new wxSize((wxSize
&)(result
));
38589 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
38597 static PyObject
*_wrap_SizerItem_CalcMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38598 PyObject
*resultobj
;
38599 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
38601 PyObject
* obj0
= 0 ;
38602 char *kwnames
[] = {
38603 (char *) "self", NULL
38606 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_CalcMin",kwnames
,&obj0
)) goto fail
;
38607 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
38608 if (SWIG_arg_fail(1)) SWIG_fail
;
38610 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38611 result
= (arg1
)->CalcMin();
38613 wxPyEndAllowThreads(__tstate
);
38614 if (PyErr_Occurred()) SWIG_fail
;
38617 wxSize
* resultptr
;
38618 resultptr
= new wxSize((wxSize
&)(result
));
38619 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
38627 static PyObject
*_wrap_SizerItem_SetDimension(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38628 PyObject
*resultobj
;
38629 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
38632 PyObject
* obj0
= 0 ;
38633 PyObject
* obj1
= 0 ;
38634 PyObject
* obj2
= 0 ;
38635 char *kwnames
[] = {
38636 (char *) "self",(char *) "pos",(char *) "size", NULL
38639 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SizerItem_SetDimension",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
38640 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
38641 if (SWIG_arg_fail(1)) SWIG_fail
;
38644 SWIG_Python_ConvertPtr(obj1
, (void **)&argp
, SWIGTYPE_p_wxPoint
, SWIG_POINTER_EXCEPTION
);
38645 if (SWIG_arg_fail(2)) SWIG_fail
;
38646 if (argp
== NULL
) {
38647 SWIG_null_ref("wxPoint");
38649 if (SWIG_arg_fail(2)) SWIG_fail
;
38654 SWIG_Python_ConvertPtr(obj2
, (void **)&argp
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
);
38655 if (SWIG_arg_fail(3)) SWIG_fail
;
38656 if (argp
== NULL
) {
38657 SWIG_null_ref("wxSize");
38659 if (SWIG_arg_fail(3)) SWIG_fail
;
38663 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38664 (arg1
)->SetDimension(arg2
,arg3
);
38666 wxPyEndAllowThreads(__tstate
);
38667 if (PyErr_Occurred()) SWIG_fail
;
38669 Py_INCREF(Py_None
); resultobj
= Py_None
;
38676 static PyObject
*_wrap_SizerItem_GetMinSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38677 PyObject
*resultobj
;
38678 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
38680 PyObject
* obj0
= 0 ;
38681 char *kwnames
[] = {
38682 (char *) "self", NULL
38685 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetMinSize",kwnames
,&obj0
)) goto fail
;
38686 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
38687 if (SWIG_arg_fail(1)) SWIG_fail
;
38689 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38690 result
= (arg1
)->GetMinSize();
38692 wxPyEndAllowThreads(__tstate
);
38693 if (PyErr_Occurred()) SWIG_fail
;
38696 wxSize
* resultptr
;
38697 resultptr
= new wxSize((wxSize
&)(result
));
38698 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
38706 static PyObject
*_wrap_SizerItem_GetMinSizeWithBorder(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38707 PyObject
*resultobj
;
38708 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
38710 PyObject
* obj0
= 0 ;
38711 char *kwnames
[] = {
38712 (char *) "self", NULL
38715 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetMinSizeWithBorder",kwnames
,&obj0
)) goto fail
;
38716 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
38717 if (SWIG_arg_fail(1)) SWIG_fail
;
38719 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38720 result
= ((wxSizerItem
const *)arg1
)->GetMinSizeWithBorder();
38722 wxPyEndAllowThreads(__tstate
);
38723 if (PyErr_Occurred()) SWIG_fail
;
38726 wxSize
* resultptr
;
38727 resultptr
= new wxSize((wxSize
&)(result
));
38728 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
38736 static PyObject
*_wrap_SizerItem_SetInitSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38737 PyObject
*resultobj
;
38738 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
38741 PyObject
* obj0
= 0 ;
38742 PyObject
* obj1
= 0 ;
38743 PyObject
* obj2
= 0 ;
38744 char *kwnames
[] = {
38745 (char *) "self",(char *) "x",(char *) "y", NULL
38748 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SizerItem_SetInitSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
38749 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
38750 if (SWIG_arg_fail(1)) SWIG_fail
;
38752 arg2
= (int)(SWIG_As_int(obj1
));
38753 if (SWIG_arg_fail(2)) SWIG_fail
;
38756 arg3
= (int)(SWIG_As_int(obj2
));
38757 if (SWIG_arg_fail(3)) SWIG_fail
;
38760 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38761 (arg1
)->SetInitSize(arg2
,arg3
);
38763 wxPyEndAllowThreads(__tstate
);
38764 if (PyErr_Occurred()) SWIG_fail
;
38766 Py_INCREF(Py_None
); resultobj
= Py_None
;
38773 static PyObject
*_wrap_SizerItem_SetRatioWH(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38774 PyObject
*resultobj
;
38775 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
38778 PyObject
* obj0
= 0 ;
38779 PyObject
* obj1
= 0 ;
38780 PyObject
* obj2
= 0 ;
38781 char *kwnames
[] = {
38782 (char *) "self",(char *) "width",(char *) "height", NULL
38785 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SizerItem_SetRatioWH",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
38786 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
38787 if (SWIG_arg_fail(1)) SWIG_fail
;
38789 arg2
= (int)(SWIG_As_int(obj1
));
38790 if (SWIG_arg_fail(2)) SWIG_fail
;
38793 arg3
= (int)(SWIG_As_int(obj2
));
38794 if (SWIG_arg_fail(3)) SWIG_fail
;
38797 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38798 (arg1
)->SetRatio(arg2
,arg3
);
38800 wxPyEndAllowThreads(__tstate
);
38801 if (PyErr_Occurred()) SWIG_fail
;
38803 Py_INCREF(Py_None
); resultobj
= Py_None
;
38810 static PyObject
*_wrap_SizerItem_SetRatioSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38811 PyObject
*resultobj
;
38812 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
38815 PyObject
* obj0
= 0 ;
38816 PyObject
* obj1
= 0 ;
38817 char *kwnames
[] = {
38818 (char *) "self",(char *) "size", NULL
38821 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetRatioSize",kwnames
,&obj0
,&obj1
)) goto fail
;
38822 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
38823 if (SWIG_arg_fail(1)) SWIG_fail
;
38826 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
38829 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38830 (arg1
)->SetRatio((wxSize
const &)*arg2
);
38832 wxPyEndAllowThreads(__tstate
);
38833 if (PyErr_Occurred()) SWIG_fail
;
38835 Py_INCREF(Py_None
); resultobj
= Py_None
;
38842 static PyObject
*_wrap_SizerItem_SetRatio(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38843 PyObject
*resultobj
;
38844 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
38846 PyObject
* obj0
= 0 ;
38847 PyObject
* obj1
= 0 ;
38848 char *kwnames
[] = {
38849 (char *) "self",(char *) "ratio", NULL
38852 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetRatio",kwnames
,&obj0
,&obj1
)) goto fail
;
38853 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
38854 if (SWIG_arg_fail(1)) SWIG_fail
;
38856 arg2
= (float)(SWIG_As_float(obj1
));
38857 if (SWIG_arg_fail(2)) SWIG_fail
;
38860 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38861 (arg1
)->SetRatio(arg2
);
38863 wxPyEndAllowThreads(__tstate
);
38864 if (PyErr_Occurred()) SWIG_fail
;
38866 Py_INCREF(Py_None
); resultobj
= Py_None
;
38873 static PyObject
*_wrap_SizerItem_GetRatio(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38874 PyObject
*resultobj
;
38875 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
38877 PyObject
* obj0
= 0 ;
38878 char *kwnames
[] = {
38879 (char *) "self", NULL
38882 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetRatio",kwnames
,&obj0
)) goto fail
;
38883 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
38884 if (SWIG_arg_fail(1)) SWIG_fail
;
38886 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38887 result
= (float)(arg1
)->GetRatio();
38889 wxPyEndAllowThreads(__tstate
);
38890 if (PyErr_Occurred()) SWIG_fail
;
38893 resultobj
= SWIG_From_float((float)(result
));
38901 static PyObject
*_wrap_SizerItem_GetRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38902 PyObject
*resultobj
;
38903 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
38905 PyObject
* obj0
= 0 ;
38906 char *kwnames
[] = {
38907 (char *) "self", NULL
38910 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetRect",kwnames
,&obj0
)) goto fail
;
38911 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
38912 if (SWIG_arg_fail(1)) SWIG_fail
;
38914 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38915 result
= (arg1
)->GetRect();
38917 wxPyEndAllowThreads(__tstate
);
38918 if (PyErr_Occurred()) SWIG_fail
;
38921 wxRect
* resultptr
;
38922 resultptr
= new wxRect((wxRect
&)(result
));
38923 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
38931 static PyObject
*_wrap_SizerItem_IsWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38932 PyObject
*resultobj
;
38933 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
38935 PyObject
* obj0
= 0 ;
38936 char *kwnames
[] = {
38937 (char *) "self", NULL
38940 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_IsWindow",kwnames
,&obj0
)) goto fail
;
38941 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
38942 if (SWIG_arg_fail(1)) SWIG_fail
;
38944 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38945 result
= (bool)(arg1
)->IsWindow();
38947 wxPyEndAllowThreads(__tstate
);
38948 if (PyErr_Occurred()) SWIG_fail
;
38951 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38959 static PyObject
*_wrap_SizerItem_IsSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38960 PyObject
*resultobj
;
38961 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
38963 PyObject
* obj0
= 0 ;
38964 char *kwnames
[] = {
38965 (char *) "self", NULL
38968 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_IsSizer",kwnames
,&obj0
)) goto fail
;
38969 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
38970 if (SWIG_arg_fail(1)) SWIG_fail
;
38972 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38973 result
= (bool)(arg1
)->IsSizer();
38975 wxPyEndAllowThreads(__tstate
);
38976 if (PyErr_Occurred()) SWIG_fail
;
38979 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38987 static PyObject
*_wrap_SizerItem_IsSpacer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38988 PyObject
*resultobj
;
38989 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
38991 PyObject
* obj0
= 0 ;
38992 char *kwnames
[] = {
38993 (char *) "self", NULL
38996 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_IsSpacer",kwnames
,&obj0
)) goto fail
;
38997 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
38998 if (SWIG_arg_fail(1)) SWIG_fail
;
39000 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39001 result
= (bool)(arg1
)->IsSpacer();
39003 wxPyEndAllowThreads(__tstate
);
39004 if (PyErr_Occurred()) SWIG_fail
;
39007 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
39015 static PyObject
*_wrap_SizerItem_SetProportion(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39016 PyObject
*resultobj
;
39017 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
39019 PyObject
* obj0
= 0 ;
39020 PyObject
* obj1
= 0 ;
39021 char *kwnames
[] = {
39022 (char *) "self",(char *) "proportion", NULL
39025 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetProportion",kwnames
,&obj0
,&obj1
)) goto fail
;
39026 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
39027 if (SWIG_arg_fail(1)) SWIG_fail
;
39029 arg2
= (int)(SWIG_As_int(obj1
));
39030 if (SWIG_arg_fail(2)) SWIG_fail
;
39033 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39034 (arg1
)->SetProportion(arg2
);
39036 wxPyEndAllowThreads(__tstate
);
39037 if (PyErr_Occurred()) SWIG_fail
;
39039 Py_INCREF(Py_None
); resultobj
= Py_None
;
39046 static PyObject
*_wrap_SizerItem_GetProportion(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39047 PyObject
*resultobj
;
39048 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
39050 PyObject
* obj0
= 0 ;
39051 char *kwnames
[] = {
39052 (char *) "self", NULL
39055 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetProportion",kwnames
,&obj0
)) goto fail
;
39056 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
39057 if (SWIG_arg_fail(1)) SWIG_fail
;
39059 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39060 result
= (int)(arg1
)->GetProportion();
39062 wxPyEndAllowThreads(__tstate
);
39063 if (PyErr_Occurred()) SWIG_fail
;
39066 resultobj
= SWIG_From_int((int)(result
));
39074 static PyObject
*_wrap_SizerItem_SetFlag(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39075 PyObject
*resultobj
;
39076 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
39078 PyObject
* obj0
= 0 ;
39079 PyObject
* obj1
= 0 ;
39080 char *kwnames
[] = {
39081 (char *) "self",(char *) "flag", NULL
39084 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetFlag",kwnames
,&obj0
,&obj1
)) goto fail
;
39085 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
39086 if (SWIG_arg_fail(1)) SWIG_fail
;
39088 arg2
= (int)(SWIG_As_int(obj1
));
39089 if (SWIG_arg_fail(2)) SWIG_fail
;
39092 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39093 (arg1
)->SetFlag(arg2
);
39095 wxPyEndAllowThreads(__tstate
);
39096 if (PyErr_Occurred()) SWIG_fail
;
39098 Py_INCREF(Py_None
); resultobj
= Py_None
;
39105 static PyObject
*_wrap_SizerItem_GetFlag(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39106 PyObject
*resultobj
;
39107 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
39109 PyObject
* obj0
= 0 ;
39110 char *kwnames
[] = {
39111 (char *) "self", NULL
39114 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetFlag",kwnames
,&obj0
)) goto fail
;
39115 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
39116 if (SWIG_arg_fail(1)) SWIG_fail
;
39118 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39119 result
= (int)(arg1
)->GetFlag();
39121 wxPyEndAllowThreads(__tstate
);
39122 if (PyErr_Occurred()) SWIG_fail
;
39125 resultobj
= SWIG_From_int((int)(result
));
39133 static PyObject
*_wrap_SizerItem_SetBorder(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39134 PyObject
*resultobj
;
39135 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
39137 PyObject
* obj0
= 0 ;
39138 PyObject
* obj1
= 0 ;
39139 char *kwnames
[] = {
39140 (char *) "self",(char *) "border", NULL
39143 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetBorder",kwnames
,&obj0
,&obj1
)) goto fail
;
39144 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
39145 if (SWIG_arg_fail(1)) SWIG_fail
;
39147 arg2
= (int)(SWIG_As_int(obj1
));
39148 if (SWIG_arg_fail(2)) SWIG_fail
;
39151 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39152 (arg1
)->SetBorder(arg2
);
39154 wxPyEndAllowThreads(__tstate
);
39155 if (PyErr_Occurred()) SWIG_fail
;
39157 Py_INCREF(Py_None
); resultobj
= Py_None
;
39164 static PyObject
*_wrap_SizerItem_GetBorder(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39165 PyObject
*resultobj
;
39166 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
39168 PyObject
* obj0
= 0 ;
39169 char *kwnames
[] = {
39170 (char *) "self", NULL
39173 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetBorder",kwnames
,&obj0
)) goto fail
;
39174 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
39175 if (SWIG_arg_fail(1)) SWIG_fail
;
39177 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39178 result
= (int)(arg1
)->GetBorder();
39180 wxPyEndAllowThreads(__tstate
);
39181 if (PyErr_Occurred()) SWIG_fail
;
39184 resultobj
= SWIG_From_int((int)(result
));
39192 static PyObject
*_wrap_SizerItem_GetWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39193 PyObject
*resultobj
;
39194 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
39196 PyObject
* obj0
= 0 ;
39197 char *kwnames
[] = {
39198 (char *) "self", NULL
39201 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetWindow",kwnames
,&obj0
)) 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 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39206 result
= (wxWindow
*)(arg1
)->GetWindow();
39208 wxPyEndAllowThreads(__tstate
);
39209 if (PyErr_Occurred()) SWIG_fail
;
39212 resultobj
= wxPyMake_wxObject(result
, 0);
39220 static PyObject
*_wrap_SizerItem_SetWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39221 PyObject
*resultobj
;
39222 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
39223 wxWindow
*arg2
= (wxWindow
*) 0 ;
39224 PyObject
* obj0
= 0 ;
39225 PyObject
* obj1
= 0 ;
39226 char *kwnames
[] = {
39227 (char *) "self",(char *) "window", NULL
39230 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
39231 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
39232 if (SWIG_arg_fail(1)) SWIG_fail
;
39233 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
39234 if (SWIG_arg_fail(2)) SWIG_fail
;
39236 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39237 (arg1
)->SetWindow(arg2
);
39239 wxPyEndAllowThreads(__tstate
);
39240 if (PyErr_Occurred()) SWIG_fail
;
39242 Py_INCREF(Py_None
); resultobj
= Py_None
;
39249 static PyObject
*_wrap_SizerItem_GetSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39250 PyObject
*resultobj
;
39251 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
39253 PyObject
* obj0
= 0 ;
39254 char *kwnames
[] = {
39255 (char *) "self", NULL
39258 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetSizer",kwnames
,&obj0
)) goto fail
;
39259 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
39260 if (SWIG_arg_fail(1)) SWIG_fail
;
39262 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39263 result
= (wxSizer
*)(arg1
)->GetSizer();
39265 wxPyEndAllowThreads(__tstate
);
39266 if (PyErr_Occurred()) SWIG_fail
;
39269 resultobj
= wxPyMake_wxSizer(result
, 0);
39277 static PyObject
*_wrap_SizerItem_SetSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39278 PyObject
*resultobj
;
39279 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
39280 wxSizer
*arg2
= (wxSizer
*) 0 ;
39281 PyObject
* obj0
= 0 ;
39282 PyObject
* obj1
= 0 ;
39283 char *kwnames
[] = {
39284 (char *) "self",(char *) "sizer", NULL
39287 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetSizer",kwnames
,&obj0
,&obj1
)) goto fail
;
39288 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
39289 if (SWIG_arg_fail(1)) SWIG_fail
;
39290 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
39291 if (SWIG_arg_fail(2)) SWIG_fail
;
39293 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39294 (arg1
)->SetSizer(arg2
);
39296 wxPyEndAllowThreads(__tstate
);
39297 if (PyErr_Occurred()) SWIG_fail
;
39299 Py_INCREF(Py_None
); resultobj
= Py_None
;
39306 static PyObject
*_wrap_SizerItem_GetSpacer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39307 PyObject
*resultobj
;
39308 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
39310 PyObject
* obj0
= 0 ;
39311 char *kwnames
[] = {
39312 (char *) "self", NULL
39315 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetSpacer",kwnames
,&obj0
)) goto fail
;
39316 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
39317 if (SWIG_arg_fail(1)) SWIG_fail
;
39319 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39321 wxSize
const &_result_ref
= (arg1
)->GetSpacer();
39322 result
= (wxSize
*) &_result_ref
;
39325 wxPyEndAllowThreads(__tstate
);
39326 if (PyErr_Occurred()) SWIG_fail
;
39328 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSize
, 0);
39335 static PyObject
*_wrap_SizerItem_SetSpacer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39336 PyObject
*resultobj
;
39337 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
39340 PyObject
* obj0
= 0 ;
39341 PyObject
* obj1
= 0 ;
39342 char *kwnames
[] = {
39343 (char *) "self",(char *) "size", NULL
39346 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetSpacer",kwnames
,&obj0
,&obj1
)) goto fail
;
39347 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
39348 if (SWIG_arg_fail(1)) SWIG_fail
;
39351 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
39354 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39355 (arg1
)->SetSpacer((wxSize
const &)*arg2
);
39357 wxPyEndAllowThreads(__tstate
);
39358 if (PyErr_Occurred()) SWIG_fail
;
39360 Py_INCREF(Py_None
); resultobj
= Py_None
;
39367 static PyObject
*_wrap_SizerItem_Show(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39368 PyObject
*resultobj
;
39369 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
39371 PyObject
* obj0
= 0 ;
39372 PyObject
* obj1
= 0 ;
39373 char *kwnames
[] = {
39374 (char *) "self",(char *) "show", NULL
39377 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_Show",kwnames
,&obj0
,&obj1
)) 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 arg2
= (bool)(SWIG_As_bool(obj1
));
39382 if (SWIG_arg_fail(2)) SWIG_fail
;
39385 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39386 (arg1
)->Show(arg2
);
39388 wxPyEndAllowThreads(__tstate
);
39389 if (PyErr_Occurred()) SWIG_fail
;
39391 Py_INCREF(Py_None
); resultobj
= Py_None
;
39398 static PyObject
*_wrap_SizerItem_IsShown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39399 PyObject
*resultobj
;
39400 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
39402 PyObject
* obj0
= 0 ;
39403 char *kwnames
[] = {
39404 (char *) "self", NULL
39407 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_IsShown",kwnames
,&obj0
)) goto fail
;
39408 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
39409 if (SWIG_arg_fail(1)) SWIG_fail
;
39411 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39412 result
= (bool)(arg1
)->IsShown();
39414 wxPyEndAllowThreads(__tstate
);
39415 if (PyErr_Occurred()) SWIG_fail
;
39418 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
39426 static PyObject
*_wrap_SizerItem_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39427 PyObject
*resultobj
;
39428 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
39430 PyObject
* obj0
= 0 ;
39431 char *kwnames
[] = {
39432 (char *) "self", NULL
39435 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetPosition",kwnames
,&obj0
)) goto fail
;
39436 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
39437 if (SWIG_arg_fail(1)) SWIG_fail
;
39439 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39440 result
= (arg1
)->GetPosition();
39442 wxPyEndAllowThreads(__tstate
);
39443 if (PyErr_Occurred()) SWIG_fail
;
39446 wxPoint
* resultptr
;
39447 resultptr
= new wxPoint((wxPoint
&)(result
));
39448 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
39456 static PyObject
*_wrap_SizerItem_GetUserData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39457 PyObject
*resultobj
;
39458 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
39460 PyObject
* obj0
= 0 ;
39461 char *kwnames
[] = {
39462 (char *) "self", NULL
39465 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetUserData",kwnames
,&obj0
)) goto fail
;
39466 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
39467 if (SWIG_arg_fail(1)) SWIG_fail
;
39469 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39470 result
= (PyObject
*)wxSizerItem_GetUserData(arg1
);
39472 wxPyEndAllowThreads(__tstate
);
39473 if (PyErr_Occurred()) SWIG_fail
;
39475 resultobj
= result
;
39482 static PyObject
* SizerItem_swigregister(PyObject
*, PyObject
*args
) {
39484 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
39485 SWIG_TypeClientData(SWIGTYPE_p_wxSizerItem
, obj
);
39487 return Py_BuildValue((char *)"");
39489 static PyObject
*_wrap_Sizer__setOORInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39490 PyObject
*resultobj
;
39491 wxSizer
*arg1
= (wxSizer
*) 0 ;
39492 PyObject
*arg2
= (PyObject
*) 0 ;
39493 PyObject
* obj0
= 0 ;
39494 PyObject
* obj1
= 0 ;
39495 char *kwnames
[] = {
39496 (char *) "self",(char *) "_self", NULL
39499 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer__setOORInfo",kwnames
,&obj0
,&obj1
)) goto fail
;
39500 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
39501 if (SWIG_arg_fail(1)) SWIG_fail
;
39504 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39505 wxSizer__setOORInfo(arg1
,arg2
);
39507 wxPyEndAllowThreads(__tstate
);
39508 if (PyErr_Occurred()) SWIG_fail
;
39510 Py_INCREF(Py_None
); resultobj
= Py_None
;
39517 static PyObject
*_wrap_Sizer_Add(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39518 PyObject
*resultobj
;
39519 wxSizer
*arg1
= (wxSizer
*) 0 ;
39520 PyObject
*arg2
= (PyObject
*) 0 ;
39521 int arg3
= (int) 0 ;
39522 int arg4
= (int) 0 ;
39523 int arg5
= (int) 0 ;
39524 PyObject
*arg6
= (PyObject
*) NULL
;
39525 wxSizerItem
*result
;
39526 PyObject
* obj0
= 0 ;
39527 PyObject
* obj1
= 0 ;
39528 PyObject
* obj2
= 0 ;
39529 PyObject
* obj3
= 0 ;
39530 PyObject
* obj4
= 0 ;
39531 PyObject
* obj5
= 0 ;
39532 char *kwnames
[] = {
39533 (char *) "self",(char *) "item",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
39536 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:Sizer_Add",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
39537 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
39538 if (SWIG_arg_fail(1)) SWIG_fail
;
39542 arg3
= (int)(SWIG_As_int(obj2
));
39543 if (SWIG_arg_fail(3)) SWIG_fail
;
39548 arg4
= (int)(SWIG_As_int(obj3
));
39549 if (SWIG_arg_fail(4)) SWIG_fail
;
39554 arg5
= (int)(SWIG_As_int(obj4
));
39555 if (SWIG_arg_fail(5)) SWIG_fail
;
39562 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39563 result
= (wxSizerItem
*)wxSizer_Add(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
);
39565 wxPyEndAllowThreads(__tstate
);
39566 if (PyErr_Occurred()) SWIG_fail
;
39568 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizerItem
, 0);
39575 static PyObject
*_wrap_Sizer_Insert(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39576 PyObject
*resultobj
;
39577 wxSizer
*arg1
= (wxSizer
*) 0 ;
39579 PyObject
*arg3
= (PyObject
*) 0 ;
39580 int arg4
= (int) 0 ;
39581 int arg5
= (int) 0 ;
39582 int arg6
= (int) 0 ;
39583 PyObject
*arg7
= (PyObject
*) NULL
;
39584 wxSizerItem
*result
;
39585 PyObject
* obj0
= 0 ;
39586 PyObject
* obj1
= 0 ;
39587 PyObject
* obj2
= 0 ;
39588 PyObject
* obj3
= 0 ;
39589 PyObject
* obj4
= 0 ;
39590 PyObject
* obj5
= 0 ;
39591 PyObject
* obj6
= 0 ;
39592 char *kwnames
[] = {
39593 (char *) "self",(char *) "before",(char *) "item",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
39596 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:Sizer_Insert",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
39597 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
39598 if (SWIG_arg_fail(1)) SWIG_fail
;
39600 arg2
= (int)(SWIG_As_int(obj1
));
39601 if (SWIG_arg_fail(2)) SWIG_fail
;
39606 arg4
= (int)(SWIG_As_int(obj3
));
39607 if (SWIG_arg_fail(4)) SWIG_fail
;
39612 arg5
= (int)(SWIG_As_int(obj4
));
39613 if (SWIG_arg_fail(5)) SWIG_fail
;
39618 arg6
= (int)(SWIG_As_int(obj5
));
39619 if (SWIG_arg_fail(6)) SWIG_fail
;
39626 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39627 result
= (wxSizerItem
*)wxSizer_Insert(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
39629 wxPyEndAllowThreads(__tstate
);
39630 if (PyErr_Occurred()) SWIG_fail
;
39632 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizerItem
, 0);
39639 static PyObject
*_wrap_Sizer_Prepend(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39640 PyObject
*resultobj
;
39641 wxSizer
*arg1
= (wxSizer
*) 0 ;
39642 PyObject
*arg2
= (PyObject
*) 0 ;
39643 int arg3
= (int) 0 ;
39644 int arg4
= (int) 0 ;
39645 int arg5
= (int) 0 ;
39646 PyObject
*arg6
= (PyObject
*) NULL
;
39647 wxSizerItem
*result
;
39648 PyObject
* obj0
= 0 ;
39649 PyObject
* obj1
= 0 ;
39650 PyObject
* obj2
= 0 ;
39651 PyObject
* obj3
= 0 ;
39652 PyObject
* obj4
= 0 ;
39653 PyObject
* obj5
= 0 ;
39654 char *kwnames
[] = {
39655 (char *) "self",(char *) "item",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
39658 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:Sizer_Prepend",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
39659 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
39660 if (SWIG_arg_fail(1)) SWIG_fail
;
39664 arg3
= (int)(SWIG_As_int(obj2
));
39665 if (SWIG_arg_fail(3)) SWIG_fail
;
39670 arg4
= (int)(SWIG_As_int(obj3
));
39671 if (SWIG_arg_fail(4)) SWIG_fail
;
39676 arg5
= (int)(SWIG_As_int(obj4
));
39677 if (SWIG_arg_fail(5)) SWIG_fail
;
39684 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39685 result
= (wxSizerItem
*)wxSizer_Prepend(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
);
39687 wxPyEndAllowThreads(__tstate
);
39688 if (PyErr_Occurred()) SWIG_fail
;
39690 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizerItem
, 0);
39697 static PyObject
*_wrap_Sizer_Remove(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39698 PyObject
*resultobj
;
39699 wxSizer
*arg1
= (wxSizer
*) 0 ;
39700 PyObject
*arg2
= (PyObject
*) 0 ;
39702 PyObject
* obj0
= 0 ;
39703 PyObject
* obj1
= 0 ;
39704 char *kwnames
[] = {
39705 (char *) "self",(char *) "item", NULL
39708 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_Remove",kwnames
,&obj0
,&obj1
)) goto fail
;
39709 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
39710 if (SWIG_arg_fail(1)) SWIG_fail
;
39713 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39714 result
= (bool)wxSizer_Remove(arg1
,arg2
);
39716 wxPyEndAllowThreads(__tstate
);
39717 if (PyErr_Occurred()) SWIG_fail
;
39720 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
39728 static PyObject
*_wrap_Sizer_Detach(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39729 PyObject
*resultobj
;
39730 wxSizer
*arg1
= (wxSizer
*) 0 ;
39731 PyObject
*arg2
= (PyObject
*) 0 ;
39733 PyObject
* obj0
= 0 ;
39734 PyObject
* obj1
= 0 ;
39735 char *kwnames
[] = {
39736 (char *) "self",(char *) "item", NULL
39739 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_Detach",kwnames
,&obj0
,&obj1
)) goto fail
;
39740 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
39741 if (SWIG_arg_fail(1)) SWIG_fail
;
39744 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39745 result
= (bool)wxSizer_Detach(arg1
,arg2
);
39747 wxPyEndAllowThreads(__tstate
);
39748 if (PyErr_Occurred()) SWIG_fail
;
39751 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
39759 static PyObject
*_wrap_Sizer_GetItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39760 PyObject
*resultobj
;
39761 wxSizer
*arg1
= (wxSizer
*) 0 ;
39762 PyObject
*arg2
= (PyObject
*) 0 ;
39763 wxSizerItem
*result
;
39764 PyObject
* obj0
= 0 ;
39765 PyObject
* obj1
= 0 ;
39766 char *kwnames
[] = {
39767 (char *) "self",(char *) "item", NULL
39770 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_GetItem",kwnames
,&obj0
,&obj1
)) goto fail
;
39771 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
39772 if (SWIG_arg_fail(1)) SWIG_fail
;
39775 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39776 result
= (wxSizerItem
*)wxSizer_GetItem(arg1
,arg2
);
39778 wxPyEndAllowThreads(__tstate
);
39779 if (PyErr_Occurred()) SWIG_fail
;
39781 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizerItem
, 0);
39788 static PyObject
*_wrap_Sizer__SetItemMinSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39789 PyObject
*resultobj
;
39790 wxSizer
*arg1
= (wxSizer
*) 0 ;
39791 PyObject
*arg2
= (PyObject
*) 0 ;
39794 PyObject
* obj0
= 0 ;
39795 PyObject
* obj1
= 0 ;
39796 PyObject
* obj2
= 0 ;
39797 char *kwnames
[] = {
39798 (char *) "self",(char *) "item",(char *) "size", NULL
39801 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Sizer__SetItemMinSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
39802 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
39803 if (SWIG_arg_fail(1)) SWIG_fail
;
39807 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
39810 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39811 wxSizer__SetItemMinSize(arg1
,arg2
,(wxSize
const &)*arg3
);
39813 wxPyEndAllowThreads(__tstate
);
39814 if (PyErr_Occurred()) SWIG_fail
;
39816 Py_INCREF(Py_None
); resultobj
= Py_None
;
39823 static PyObject
*_wrap_Sizer_AddItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39824 PyObject
*resultobj
;
39825 wxSizer
*arg1
= (wxSizer
*) 0 ;
39826 wxSizerItem
*arg2
= (wxSizerItem
*) 0 ;
39827 wxSizerItem
*result
;
39828 PyObject
* obj0
= 0 ;
39829 PyObject
* obj1
= 0 ;
39830 char *kwnames
[] = {
39831 (char *) "self",(char *) "item", NULL
39834 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_AddItem",kwnames
,&obj0
,&obj1
)) goto fail
;
39835 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
39836 if (SWIG_arg_fail(1)) SWIG_fail
;
39837 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
39838 if (SWIG_arg_fail(2)) SWIG_fail
;
39840 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39841 result
= (wxSizerItem
*)(arg1
)->Add(arg2
);
39843 wxPyEndAllowThreads(__tstate
);
39844 if (PyErr_Occurred()) SWIG_fail
;
39846 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizerItem
, 0);
39853 static PyObject
*_wrap_Sizer_InsertItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39854 PyObject
*resultobj
;
39855 wxSizer
*arg1
= (wxSizer
*) 0 ;
39857 wxSizerItem
*arg3
= (wxSizerItem
*) 0 ;
39858 wxSizerItem
*result
;
39859 PyObject
* obj0
= 0 ;
39860 PyObject
* obj1
= 0 ;
39861 PyObject
* obj2
= 0 ;
39862 char *kwnames
[] = {
39863 (char *) "self",(char *) "index",(char *) "item", NULL
39866 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Sizer_InsertItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
39867 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
39868 if (SWIG_arg_fail(1)) SWIG_fail
;
39870 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
39871 if (SWIG_arg_fail(2)) SWIG_fail
;
39873 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
39874 if (SWIG_arg_fail(3)) SWIG_fail
;
39876 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39877 result
= (wxSizerItem
*)(arg1
)->Insert(arg2
,arg3
);
39879 wxPyEndAllowThreads(__tstate
);
39880 if (PyErr_Occurred()) SWIG_fail
;
39882 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizerItem
, 0);
39889 static PyObject
*_wrap_Sizer_PrependItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39890 PyObject
*resultobj
;
39891 wxSizer
*arg1
= (wxSizer
*) 0 ;
39892 wxSizerItem
*arg2
= (wxSizerItem
*) 0 ;
39893 wxSizerItem
*result
;
39894 PyObject
* obj0
= 0 ;
39895 PyObject
* obj1
= 0 ;
39896 char *kwnames
[] = {
39897 (char *) "self",(char *) "item", NULL
39900 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_PrependItem",kwnames
,&obj0
,&obj1
)) goto fail
;
39901 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
39902 if (SWIG_arg_fail(1)) SWIG_fail
;
39903 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
39904 if (SWIG_arg_fail(2)) SWIG_fail
;
39906 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39907 result
= (wxSizerItem
*)(arg1
)->Prepend(arg2
);
39909 wxPyEndAllowThreads(__tstate
);
39910 if (PyErr_Occurred()) SWIG_fail
;
39912 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizerItem
, 0);
39919 static PyObject
*_wrap_Sizer_SetDimension(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39920 PyObject
*resultobj
;
39921 wxSizer
*arg1
= (wxSizer
*) 0 ;
39926 PyObject
* obj0
= 0 ;
39927 PyObject
* obj1
= 0 ;
39928 PyObject
* obj2
= 0 ;
39929 PyObject
* obj3
= 0 ;
39930 PyObject
* obj4
= 0 ;
39931 char *kwnames
[] = {
39932 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
39935 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Sizer_SetDimension",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
39936 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
39937 if (SWIG_arg_fail(1)) SWIG_fail
;
39939 arg2
= (int)(SWIG_As_int(obj1
));
39940 if (SWIG_arg_fail(2)) SWIG_fail
;
39943 arg3
= (int)(SWIG_As_int(obj2
));
39944 if (SWIG_arg_fail(3)) SWIG_fail
;
39947 arg4
= (int)(SWIG_As_int(obj3
));
39948 if (SWIG_arg_fail(4)) SWIG_fail
;
39951 arg5
= (int)(SWIG_As_int(obj4
));
39952 if (SWIG_arg_fail(5)) SWIG_fail
;
39955 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39956 (arg1
)->SetDimension(arg2
,arg3
,arg4
,arg5
);
39958 wxPyEndAllowThreads(__tstate
);
39959 if (PyErr_Occurred()) SWIG_fail
;
39961 Py_INCREF(Py_None
); resultobj
= Py_None
;
39968 static PyObject
*_wrap_Sizer_SetMinSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39969 PyObject
*resultobj
;
39970 wxSizer
*arg1
= (wxSizer
*) 0 ;
39973 PyObject
* obj0
= 0 ;
39974 PyObject
* obj1
= 0 ;
39975 char *kwnames
[] = {
39976 (char *) "self",(char *) "size", NULL
39979 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_SetMinSize",kwnames
,&obj0
,&obj1
)) goto fail
;
39980 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
39981 if (SWIG_arg_fail(1)) SWIG_fail
;
39984 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
39987 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39988 (arg1
)->SetMinSize((wxSize
const &)*arg2
);
39990 wxPyEndAllowThreads(__tstate
);
39991 if (PyErr_Occurred()) SWIG_fail
;
39993 Py_INCREF(Py_None
); resultobj
= Py_None
;
40000 static PyObject
*_wrap_Sizer_GetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40001 PyObject
*resultobj
;
40002 wxSizer
*arg1
= (wxSizer
*) 0 ;
40004 PyObject
* obj0
= 0 ;
40005 char *kwnames
[] = {
40006 (char *) "self", NULL
40009 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_GetSize",kwnames
,&obj0
)) goto fail
;
40010 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
40011 if (SWIG_arg_fail(1)) SWIG_fail
;
40013 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40014 result
= (arg1
)->GetSize();
40016 wxPyEndAllowThreads(__tstate
);
40017 if (PyErr_Occurred()) SWIG_fail
;
40020 wxSize
* resultptr
;
40021 resultptr
= new wxSize((wxSize
&)(result
));
40022 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
40030 static PyObject
*_wrap_Sizer_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40031 PyObject
*resultobj
;
40032 wxSizer
*arg1
= (wxSizer
*) 0 ;
40034 PyObject
* obj0
= 0 ;
40035 char *kwnames
[] = {
40036 (char *) "self", NULL
40039 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_GetPosition",kwnames
,&obj0
)) goto fail
;
40040 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
40041 if (SWIG_arg_fail(1)) SWIG_fail
;
40043 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40044 result
= (arg1
)->GetPosition();
40046 wxPyEndAllowThreads(__tstate
);
40047 if (PyErr_Occurred()) SWIG_fail
;
40050 wxPoint
* resultptr
;
40051 resultptr
= new wxPoint((wxPoint
&)(result
));
40052 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
40060 static PyObject
*_wrap_Sizer_GetMinSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40061 PyObject
*resultobj
;
40062 wxSizer
*arg1
= (wxSizer
*) 0 ;
40064 PyObject
* obj0
= 0 ;
40065 char *kwnames
[] = {
40066 (char *) "self", NULL
40069 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_GetMinSize",kwnames
,&obj0
)) goto fail
;
40070 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
40071 if (SWIG_arg_fail(1)) SWIG_fail
;
40073 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40074 result
= (arg1
)->GetMinSize();
40076 wxPyEndAllowThreads(__tstate
);
40077 if (PyErr_Occurred()) SWIG_fail
;
40080 wxSize
* resultptr
;
40081 resultptr
= new wxSize((wxSize
&)(result
));
40082 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
40090 static PyObject
*_wrap_Sizer_RecalcSizes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40091 PyObject
*resultobj
;
40092 wxSizer
*arg1
= (wxSizer
*) 0 ;
40093 PyObject
* obj0
= 0 ;
40094 char *kwnames
[] = {
40095 (char *) "self", NULL
40098 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_RecalcSizes",kwnames
,&obj0
)) goto fail
;
40099 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
40100 if (SWIG_arg_fail(1)) SWIG_fail
;
40102 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40103 (arg1
)->RecalcSizes();
40105 wxPyEndAllowThreads(__tstate
);
40106 if (PyErr_Occurred()) SWIG_fail
;
40108 Py_INCREF(Py_None
); resultobj
= Py_None
;
40115 static PyObject
*_wrap_Sizer_CalcMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40116 PyObject
*resultobj
;
40117 wxSizer
*arg1
= (wxSizer
*) 0 ;
40119 PyObject
* obj0
= 0 ;
40120 char *kwnames
[] = {
40121 (char *) "self", NULL
40124 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_CalcMin",kwnames
,&obj0
)) goto fail
;
40125 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
40126 if (SWIG_arg_fail(1)) SWIG_fail
;
40128 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40129 result
= (arg1
)->CalcMin();
40131 wxPyEndAllowThreads(__tstate
);
40132 if (PyErr_Occurred()) SWIG_fail
;
40135 wxSize
* resultptr
;
40136 resultptr
= new wxSize((wxSize
&)(result
));
40137 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
40145 static PyObject
*_wrap_Sizer_Layout(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40146 PyObject
*resultobj
;
40147 wxSizer
*arg1
= (wxSizer
*) 0 ;
40148 PyObject
* obj0
= 0 ;
40149 char *kwnames
[] = {
40150 (char *) "self", NULL
40153 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_Layout",kwnames
,&obj0
)) goto fail
;
40154 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
40155 if (SWIG_arg_fail(1)) SWIG_fail
;
40157 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40160 wxPyEndAllowThreads(__tstate
);
40161 if (PyErr_Occurred()) SWIG_fail
;
40163 Py_INCREF(Py_None
); resultobj
= Py_None
;
40170 static PyObject
*_wrap_Sizer_Fit(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40171 PyObject
*resultobj
;
40172 wxSizer
*arg1
= (wxSizer
*) 0 ;
40173 wxWindow
*arg2
= (wxWindow
*) 0 ;
40175 PyObject
* obj0
= 0 ;
40176 PyObject
* obj1
= 0 ;
40177 char *kwnames
[] = {
40178 (char *) "self",(char *) "window", NULL
40181 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_Fit",kwnames
,&obj0
,&obj1
)) goto fail
;
40182 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
40183 if (SWIG_arg_fail(1)) SWIG_fail
;
40184 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
40185 if (SWIG_arg_fail(2)) SWIG_fail
;
40187 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40188 result
= (arg1
)->Fit(arg2
);
40190 wxPyEndAllowThreads(__tstate
);
40191 if (PyErr_Occurred()) SWIG_fail
;
40194 wxSize
* resultptr
;
40195 resultptr
= new wxSize((wxSize
&)(result
));
40196 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
40204 static PyObject
*_wrap_Sizer_FitInside(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40205 PyObject
*resultobj
;
40206 wxSizer
*arg1
= (wxSizer
*) 0 ;
40207 wxWindow
*arg2
= (wxWindow
*) 0 ;
40208 PyObject
* obj0
= 0 ;
40209 PyObject
* obj1
= 0 ;
40210 char *kwnames
[] = {
40211 (char *) "self",(char *) "window", NULL
40214 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_FitInside",kwnames
,&obj0
,&obj1
)) goto fail
;
40215 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
40216 if (SWIG_arg_fail(1)) SWIG_fail
;
40217 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
40218 if (SWIG_arg_fail(2)) SWIG_fail
;
40220 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40221 (arg1
)->FitInside(arg2
);
40223 wxPyEndAllowThreads(__tstate
);
40224 if (PyErr_Occurred()) SWIG_fail
;
40226 Py_INCREF(Py_None
); resultobj
= Py_None
;
40233 static PyObject
*_wrap_Sizer_SetSizeHints(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40234 PyObject
*resultobj
;
40235 wxSizer
*arg1
= (wxSizer
*) 0 ;
40236 wxWindow
*arg2
= (wxWindow
*) 0 ;
40237 PyObject
* obj0
= 0 ;
40238 PyObject
* obj1
= 0 ;
40239 char *kwnames
[] = {
40240 (char *) "self",(char *) "window", NULL
40243 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_SetSizeHints",kwnames
,&obj0
,&obj1
)) goto fail
;
40244 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
40245 if (SWIG_arg_fail(1)) SWIG_fail
;
40246 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
40247 if (SWIG_arg_fail(2)) SWIG_fail
;
40249 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40250 (arg1
)->SetSizeHints(arg2
);
40252 wxPyEndAllowThreads(__tstate
);
40253 if (PyErr_Occurred()) SWIG_fail
;
40255 Py_INCREF(Py_None
); resultobj
= Py_None
;
40262 static PyObject
*_wrap_Sizer_SetVirtualSizeHints(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40263 PyObject
*resultobj
;
40264 wxSizer
*arg1
= (wxSizer
*) 0 ;
40265 wxWindow
*arg2
= (wxWindow
*) 0 ;
40266 PyObject
* obj0
= 0 ;
40267 PyObject
* obj1
= 0 ;
40268 char *kwnames
[] = {
40269 (char *) "self",(char *) "window", NULL
40272 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_SetVirtualSizeHints",kwnames
,&obj0
,&obj1
)) goto fail
;
40273 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
40274 if (SWIG_arg_fail(1)) SWIG_fail
;
40275 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
40276 if (SWIG_arg_fail(2)) SWIG_fail
;
40278 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40279 (arg1
)->SetVirtualSizeHints(arg2
);
40281 wxPyEndAllowThreads(__tstate
);
40282 if (PyErr_Occurred()) SWIG_fail
;
40284 Py_INCREF(Py_None
); resultobj
= Py_None
;
40291 static PyObject
*_wrap_Sizer_Clear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40292 PyObject
*resultobj
;
40293 wxSizer
*arg1
= (wxSizer
*) 0 ;
40294 bool arg2
= (bool) false ;
40295 PyObject
* obj0
= 0 ;
40296 PyObject
* obj1
= 0 ;
40297 char *kwnames
[] = {
40298 (char *) "self",(char *) "deleteWindows", NULL
40301 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Sizer_Clear",kwnames
,&obj0
,&obj1
)) goto fail
;
40302 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
40303 if (SWIG_arg_fail(1)) SWIG_fail
;
40306 arg2
= (bool)(SWIG_As_bool(obj1
));
40307 if (SWIG_arg_fail(2)) SWIG_fail
;
40311 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40312 (arg1
)->Clear(arg2
);
40314 wxPyEndAllowThreads(__tstate
);
40315 if (PyErr_Occurred()) SWIG_fail
;
40317 Py_INCREF(Py_None
); resultobj
= Py_None
;
40324 static PyObject
*_wrap_Sizer_DeleteWindows(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40325 PyObject
*resultobj
;
40326 wxSizer
*arg1
= (wxSizer
*) 0 ;
40327 PyObject
* obj0
= 0 ;
40328 char *kwnames
[] = {
40329 (char *) "self", NULL
40332 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_DeleteWindows",kwnames
,&obj0
)) goto fail
;
40333 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
40334 if (SWIG_arg_fail(1)) SWIG_fail
;
40336 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40337 (arg1
)->DeleteWindows();
40339 wxPyEndAllowThreads(__tstate
);
40340 if (PyErr_Occurred()) SWIG_fail
;
40342 Py_INCREF(Py_None
); resultobj
= Py_None
;
40349 static PyObject
*_wrap_Sizer_GetChildren(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40350 PyObject
*resultobj
;
40351 wxSizer
*arg1
= (wxSizer
*) 0 ;
40353 PyObject
* obj0
= 0 ;
40354 char *kwnames
[] = {
40355 (char *) "self", NULL
40358 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_GetChildren",kwnames
,&obj0
)) goto fail
;
40359 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
40360 if (SWIG_arg_fail(1)) SWIG_fail
;
40362 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40363 result
= (PyObject
*)wxSizer_GetChildren(arg1
);
40365 wxPyEndAllowThreads(__tstate
);
40366 if (PyErr_Occurred()) SWIG_fail
;
40368 resultobj
= result
;
40375 static PyObject
*_wrap_Sizer_Show(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40376 PyObject
*resultobj
;
40377 wxSizer
*arg1
= (wxSizer
*) 0 ;
40378 PyObject
*arg2
= (PyObject
*) 0 ;
40379 bool arg3
= (bool) true ;
40380 bool arg4
= (bool) false ;
40382 PyObject
* obj0
= 0 ;
40383 PyObject
* obj1
= 0 ;
40384 PyObject
* obj2
= 0 ;
40385 PyObject
* obj3
= 0 ;
40386 char *kwnames
[] = {
40387 (char *) "self",(char *) "item",(char *) "show",(char *) "recursive", NULL
40390 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:Sizer_Show",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
40391 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
40392 if (SWIG_arg_fail(1)) SWIG_fail
;
40396 arg3
= (bool)(SWIG_As_bool(obj2
));
40397 if (SWIG_arg_fail(3)) SWIG_fail
;
40402 arg4
= (bool)(SWIG_As_bool(obj3
));
40403 if (SWIG_arg_fail(4)) SWIG_fail
;
40407 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40408 result
= (bool)wxSizer_Show(arg1
,arg2
,arg3
,arg4
);
40410 wxPyEndAllowThreads(__tstate
);
40411 if (PyErr_Occurred()) SWIG_fail
;
40414 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
40422 static PyObject
*_wrap_Sizer_IsShown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40423 PyObject
*resultobj
;
40424 wxSizer
*arg1
= (wxSizer
*) 0 ;
40425 PyObject
*arg2
= (PyObject
*) 0 ;
40427 PyObject
* obj0
= 0 ;
40428 PyObject
* obj1
= 0 ;
40429 char *kwnames
[] = {
40430 (char *) "self",(char *) "item", NULL
40433 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_IsShown",kwnames
,&obj0
,&obj1
)) goto fail
;
40434 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
40435 if (SWIG_arg_fail(1)) SWIG_fail
;
40438 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40439 result
= (bool)wxSizer_IsShown(arg1
,arg2
);
40441 wxPyEndAllowThreads(__tstate
);
40442 if (PyErr_Occurred()) SWIG_fail
;
40445 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
40453 static PyObject
*_wrap_Sizer_ShowItems(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40454 PyObject
*resultobj
;
40455 wxSizer
*arg1
= (wxSizer
*) 0 ;
40457 PyObject
* obj0
= 0 ;
40458 PyObject
* obj1
= 0 ;
40459 char *kwnames
[] = {
40460 (char *) "self",(char *) "show", NULL
40463 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_ShowItems",kwnames
,&obj0
,&obj1
)) goto fail
;
40464 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
40465 if (SWIG_arg_fail(1)) SWIG_fail
;
40467 arg2
= (bool)(SWIG_As_bool(obj1
));
40468 if (SWIG_arg_fail(2)) SWIG_fail
;
40471 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40472 (arg1
)->ShowItems(arg2
);
40474 wxPyEndAllowThreads(__tstate
);
40475 if (PyErr_Occurred()) SWIG_fail
;
40477 Py_INCREF(Py_None
); resultobj
= Py_None
;
40484 static PyObject
* Sizer_swigregister(PyObject
*, PyObject
*args
) {
40486 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
40487 SWIG_TypeClientData(SWIGTYPE_p_wxSizer
, obj
);
40489 return Py_BuildValue((char *)"");
40491 static PyObject
*_wrap_new_PySizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40492 PyObject
*resultobj
;
40494 char *kwnames
[] = {
40498 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PySizer",kwnames
)) goto fail
;
40500 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40501 result
= (wxPySizer
*)new wxPySizer();
40503 wxPyEndAllowThreads(__tstate
);
40504 if (PyErr_Occurred()) SWIG_fail
;
40506 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPySizer
, 1);
40513 static PyObject
*_wrap_PySizer__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40514 PyObject
*resultobj
;
40515 wxPySizer
*arg1
= (wxPySizer
*) 0 ;
40516 PyObject
*arg2
= (PyObject
*) 0 ;
40517 PyObject
*arg3
= (PyObject
*) 0 ;
40518 PyObject
* obj0
= 0 ;
40519 PyObject
* obj1
= 0 ;
40520 PyObject
* obj2
= 0 ;
40521 char *kwnames
[] = {
40522 (char *) "self",(char *) "self",(char *) "_class", NULL
40525 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PySizer__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
40526 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPySizer
, SWIG_POINTER_EXCEPTION
| 0);
40527 if (SWIG_arg_fail(1)) SWIG_fail
;
40531 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40532 (arg1
)->_setCallbackInfo(arg2
,arg3
);
40534 wxPyEndAllowThreads(__tstate
);
40535 if (PyErr_Occurred()) SWIG_fail
;
40537 Py_INCREF(Py_None
); resultobj
= Py_None
;
40544 static PyObject
* PySizer_swigregister(PyObject
*, PyObject
*args
) {
40546 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
40547 SWIG_TypeClientData(SWIGTYPE_p_wxPySizer
, obj
);
40549 return Py_BuildValue((char *)"");
40551 static PyObject
*_wrap_new_BoxSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40552 PyObject
*resultobj
;
40553 int arg1
= (int) wxHORIZONTAL
;
40554 wxBoxSizer
*result
;
40555 PyObject
* obj0
= 0 ;
40556 char *kwnames
[] = {
40557 (char *) "orient", NULL
40560 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_BoxSizer",kwnames
,&obj0
)) goto fail
;
40563 arg1
= (int)(SWIG_As_int(obj0
));
40564 if (SWIG_arg_fail(1)) SWIG_fail
;
40568 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40569 result
= (wxBoxSizer
*)new wxBoxSizer(arg1
);
40571 wxPyEndAllowThreads(__tstate
);
40572 if (PyErr_Occurred()) SWIG_fail
;
40574 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBoxSizer
, 1);
40581 static PyObject
*_wrap_BoxSizer_GetOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40582 PyObject
*resultobj
;
40583 wxBoxSizer
*arg1
= (wxBoxSizer
*) 0 ;
40585 PyObject
* obj0
= 0 ;
40586 char *kwnames
[] = {
40587 (char *) "self", NULL
40590 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BoxSizer_GetOrientation",kwnames
,&obj0
)) goto fail
;
40591 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBoxSizer
, SWIG_POINTER_EXCEPTION
| 0);
40592 if (SWIG_arg_fail(1)) SWIG_fail
;
40594 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40595 result
= (int)(arg1
)->GetOrientation();
40597 wxPyEndAllowThreads(__tstate
);
40598 if (PyErr_Occurred()) SWIG_fail
;
40601 resultobj
= SWIG_From_int((int)(result
));
40609 static PyObject
*_wrap_BoxSizer_SetOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40610 PyObject
*resultobj
;
40611 wxBoxSizer
*arg1
= (wxBoxSizer
*) 0 ;
40613 PyObject
* obj0
= 0 ;
40614 PyObject
* obj1
= 0 ;
40615 char *kwnames
[] = {
40616 (char *) "self",(char *) "orient", NULL
40619 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BoxSizer_SetOrientation",kwnames
,&obj0
,&obj1
)) goto fail
;
40620 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBoxSizer
, SWIG_POINTER_EXCEPTION
| 0);
40621 if (SWIG_arg_fail(1)) SWIG_fail
;
40623 arg2
= (int)(SWIG_As_int(obj1
));
40624 if (SWIG_arg_fail(2)) SWIG_fail
;
40627 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40628 (arg1
)->SetOrientation(arg2
);
40630 wxPyEndAllowThreads(__tstate
);
40631 if (PyErr_Occurred()) SWIG_fail
;
40633 Py_INCREF(Py_None
); resultobj
= Py_None
;
40640 static PyObject
* BoxSizer_swigregister(PyObject
*, PyObject
*args
) {
40642 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
40643 SWIG_TypeClientData(SWIGTYPE_p_wxBoxSizer
, obj
);
40645 return Py_BuildValue((char *)"");
40647 static PyObject
*_wrap_new_StaticBoxSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40648 PyObject
*resultobj
;
40649 wxStaticBox
*arg1
= (wxStaticBox
*) 0 ;
40650 int arg2
= (int) wxHORIZONTAL
;
40651 wxStaticBoxSizer
*result
;
40652 PyObject
* obj0
= 0 ;
40653 PyObject
* obj1
= 0 ;
40654 char *kwnames
[] = {
40655 (char *) "box",(char *) "orient", NULL
40658 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_StaticBoxSizer",kwnames
,&obj0
,&obj1
)) goto fail
;
40659 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStaticBox
, SWIG_POINTER_EXCEPTION
| 0);
40660 if (SWIG_arg_fail(1)) SWIG_fail
;
40663 arg2
= (int)(SWIG_As_int(obj1
));
40664 if (SWIG_arg_fail(2)) SWIG_fail
;
40668 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40669 result
= (wxStaticBoxSizer
*)new wxStaticBoxSizer(arg1
,arg2
);
40671 wxPyEndAllowThreads(__tstate
);
40672 if (PyErr_Occurred()) SWIG_fail
;
40674 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStaticBoxSizer
, 1);
40681 static PyObject
*_wrap_StaticBoxSizer_GetStaticBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40682 PyObject
*resultobj
;
40683 wxStaticBoxSizer
*arg1
= (wxStaticBoxSizer
*) 0 ;
40684 wxStaticBox
*result
;
40685 PyObject
* obj0
= 0 ;
40686 char *kwnames
[] = {
40687 (char *) "self", NULL
40690 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StaticBoxSizer_GetStaticBox",kwnames
,&obj0
)) goto fail
;
40691 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStaticBoxSizer
, SWIG_POINTER_EXCEPTION
| 0);
40692 if (SWIG_arg_fail(1)) SWIG_fail
;
40694 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40695 result
= (wxStaticBox
*)(arg1
)->GetStaticBox();
40697 wxPyEndAllowThreads(__tstate
);
40698 if (PyErr_Occurred()) SWIG_fail
;
40701 resultobj
= wxPyMake_wxObject(result
, 0);
40709 static PyObject
* StaticBoxSizer_swigregister(PyObject
*, PyObject
*args
) {
40711 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
40712 SWIG_TypeClientData(SWIGTYPE_p_wxStaticBoxSizer
, obj
);
40714 return Py_BuildValue((char *)"");
40716 static PyObject
*_wrap_new_GridSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40717 PyObject
*resultobj
;
40718 int arg1
= (int) 1 ;
40719 int arg2
= (int) 0 ;
40720 int arg3
= (int) 0 ;
40721 int arg4
= (int) 0 ;
40722 wxGridSizer
*result
;
40723 PyObject
* obj0
= 0 ;
40724 PyObject
* obj1
= 0 ;
40725 PyObject
* obj2
= 0 ;
40726 PyObject
* obj3
= 0 ;
40727 char *kwnames
[] = {
40728 (char *) "rows",(char *) "cols",(char *) "vgap",(char *) "hgap", NULL
40731 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_GridSizer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
40734 arg1
= (int)(SWIG_As_int(obj0
));
40735 if (SWIG_arg_fail(1)) SWIG_fail
;
40740 arg2
= (int)(SWIG_As_int(obj1
));
40741 if (SWIG_arg_fail(2)) SWIG_fail
;
40746 arg3
= (int)(SWIG_As_int(obj2
));
40747 if (SWIG_arg_fail(3)) SWIG_fail
;
40752 arg4
= (int)(SWIG_As_int(obj3
));
40753 if (SWIG_arg_fail(4)) SWIG_fail
;
40757 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40758 result
= (wxGridSizer
*)new wxGridSizer(arg1
,arg2
,arg3
,arg4
);
40760 wxPyEndAllowThreads(__tstate
);
40761 if (PyErr_Occurred()) SWIG_fail
;
40763 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGridSizer
, 1);
40770 static PyObject
*_wrap_GridSizer_SetCols(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40771 PyObject
*resultobj
;
40772 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
40774 PyObject
* obj0
= 0 ;
40775 PyObject
* obj1
= 0 ;
40776 char *kwnames
[] = {
40777 (char *) "self",(char *) "cols", NULL
40780 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridSizer_SetCols",kwnames
,&obj0
,&obj1
)) goto fail
;
40781 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridSizer
, SWIG_POINTER_EXCEPTION
| 0);
40782 if (SWIG_arg_fail(1)) SWIG_fail
;
40784 arg2
= (int)(SWIG_As_int(obj1
));
40785 if (SWIG_arg_fail(2)) SWIG_fail
;
40788 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40789 (arg1
)->SetCols(arg2
);
40791 wxPyEndAllowThreads(__tstate
);
40792 if (PyErr_Occurred()) SWIG_fail
;
40794 Py_INCREF(Py_None
); resultobj
= Py_None
;
40801 static PyObject
*_wrap_GridSizer_SetRows(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40802 PyObject
*resultobj
;
40803 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
40805 PyObject
* obj0
= 0 ;
40806 PyObject
* obj1
= 0 ;
40807 char *kwnames
[] = {
40808 (char *) "self",(char *) "rows", NULL
40811 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridSizer_SetRows",kwnames
,&obj0
,&obj1
)) goto fail
;
40812 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridSizer
, SWIG_POINTER_EXCEPTION
| 0);
40813 if (SWIG_arg_fail(1)) SWIG_fail
;
40815 arg2
= (int)(SWIG_As_int(obj1
));
40816 if (SWIG_arg_fail(2)) SWIG_fail
;
40819 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40820 (arg1
)->SetRows(arg2
);
40822 wxPyEndAllowThreads(__tstate
);
40823 if (PyErr_Occurred()) SWIG_fail
;
40825 Py_INCREF(Py_None
); resultobj
= Py_None
;
40832 static PyObject
*_wrap_GridSizer_SetVGap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40833 PyObject
*resultobj
;
40834 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
40836 PyObject
* obj0
= 0 ;
40837 PyObject
* obj1
= 0 ;
40838 char *kwnames
[] = {
40839 (char *) "self",(char *) "gap", NULL
40842 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridSizer_SetVGap",kwnames
,&obj0
,&obj1
)) goto fail
;
40843 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridSizer
, SWIG_POINTER_EXCEPTION
| 0);
40844 if (SWIG_arg_fail(1)) SWIG_fail
;
40846 arg2
= (int)(SWIG_As_int(obj1
));
40847 if (SWIG_arg_fail(2)) SWIG_fail
;
40850 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40851 (arg1
)->SetVGap(arg2
);
40853 wxPyEndAllowThreads(__tstate
);
40854 if (PyErr_Occurred()) SWIG_fail
;
40856 Py_INCREF(Py_None
); resultobj
= Py_None
;
40863 static PyObject
*_wrap_GridSizer_SetHGap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40864 PyObject
*resultobj
;
40865 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
40867 PyObject
* obj0
= 0 ;
40868 PyObject
* obj1
= 0 ;
40869 char *kwnames
[] = {
40870 (char *) "self",(char *) "gap", NULL
40873 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridSizer_SetHGap",kwnames
,&obj0
,&obj1
)) goto fail
;
40874 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridSizer
, SWIG_POINTER_EXCEPTION
| 0);
40875 if (SWIG_arg_fail(1)) SWIG_fail
;
40877 arg2
= (int)(SWIG_As_int(obj1
));
40878 if (SWIG_arg_fail(2)) SWIG_fail
;
40881 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40882 (arg1
)->SetHGap(arg2
);
40884 wxPyEndAllowThreads(__tstate
);
40885 if (PyErr_Occurred()) SWIG_fail
;
40887 Py_INCREF(Py_None
); resultobj
= Py_None
;
40894 static PyObject
*_wrap_GridSizer_GetCols(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40895 PyObject
*resultobj
;
40896 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
40898 PyObject
* obj0
= 0 ;
40899 char *kwnames
[] = {
40900 (char *) "self", NULL
40903 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridSizer_GetCols",kwnames
,&obj0
)) goto fail
;
40904 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridSizer
, SWIG_POINTER_EXCEPTION
| 0);
40905 if (SWIG_arg_fail(1)) SWIG_fail
;
40907 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40908 result
= (int)(arg1
)->GetCols();
40910 wxPyEndAllowThreads(__tstate
);
40911 if (PyErr_Occurred()) SWIG_fail
;
40914 resultobj
= SWIG_From_int((int)(result
));
40922 static PyObject
*_wrap_GridSizer_GetRows(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40923 PyObject
*resultobj
;
40924 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
40926 PyObject
* obj0
= 0 ;
40927 char *kwnames
[] = {
40928 (char *) "self", NULL
40931 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridSizer_GetRows",kwnames
,&obj0
)) goto fail
;
40932 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridSizer
, SWIG_POINTER_EXCEPTION
| 0);
40933 if (SWIG_arg_fail(1)) SWIG_fail
;
40935 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40936 result
= (int)(arg1
)->GetRows();
40938 wxPyEndAllowThreads(__tstate
);
40939 if (PyErr_Occurred()) SWIG_fail
;
40942 resultobj
= SWIG_From_int((int)(result
));
40950 static PyObject
*_wrap_GridSizer_GetVGap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40951 PyObject
*resultobj
;
40952 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
40954 PyObject
* obj0
= 0 ;
40955 char *kwnames
[] = {
40956 (char *) "self", NULL
40959 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridSizer_GetVGap",kwnames
,&obj0
)) goto fail
;
40960 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridSizer
, SWIG_POINTER_EXCEPTION
| 0);
40961 if (SWIG_arg_fail(1)) SWIG_fail
;
40963 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40964 result
= (int)(arg1
)->GetVGap();
40966 wxPyEndAllowThreads(__tstate
);
40967 if (PyErr_Occurred()) SWIG_fail
;
40970 resultobj
= SWIG_From_int((int)(result
));
40978 static PyObject
*_wrap_GridSizer_GetHGap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40979 PyObject
*resultobj
;
40980 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
40982 PyObject
* obj0
= 0 ;
40983 char *kwnames
[] = {
40984 (char *) "self", NULL
40987 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridSizer_GetHGap",kwnames
,&obj0
)) 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 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40992 result
= (int)(arg1
)->GetHGap();
40994 wxPyEndAllowThreads(__tstate
);
40995 if (PyErr_Occurred()) SWIG_fail
;
40998 resultobj
= SWIG_From_int((int)(result
));
41006 static PyObject
* GridSizer_swigregister(PyObject
*, PyObject
*args
) {
41008 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
41009 SWIG_TypeClientData(SWIGTYPE_p_wxGridSizer
, obj
);
41011 return Py_BuildValue((char *)"");
41013 static PyObject
*_wrap_new_FlexGridSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41014 PyObject
*resultobj
;
41015 int arg1
= (int) 1 ;
41016 int arg2
= (int) 0 ;
41017 int arg3
= (int) 0 ;
41018 int arg4
= (int) 0 ;
41019 wxFlexGridSizer
*result
;
41020 PyObject
* obj0
= 0 ;
41021 PyObject
* obj1
= 0 ;
41022 PyObject
* obj2
= 0 ;
41023 PyObject
* obj3
= 0 ;
41024 char *kwnames
[] = {
41025 (char *) "rows",(char *) "cols",(char *) "vgap",(char *) "hgap", NULL
41028 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_FlexGridSizer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
41031 arg1
= (int)(SWIG_As_int(obj0
));
41032 if (SWIG_arg_fail(1)) SWIG_fail
;
41037 arg2
= (int)(SWIG_As_int(obj1
));
41038 if (SWIG_arg_fail(2)) SWIG_fail
;
41043 arg3
= (int)(SWIG_As_int(obj2
));
41044 if (SWIG_arg_fail(3)) SWIG_fail
;
41049 arg4
= (int)(SWIG_As_int(obj3
));
41050 if (SWIG_arg_fail(4)) SWIG_fail
;
41054 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41055 result
= (wxFlexGridSizer
*)new wxFlexGridSizer(arg1
,arg2
,arg3
,arg4
);
41057 wxPyEndAllowThreads(__tstate
);
41058 if (PyErr_Occurred()) SWIG_fail
;
41060 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFlexGridSizer
, 1);
41067 static PyObject
*_wrap_FlexGridSizer_AddGrowableRow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41068 PyObject
*resultobj
;
41069 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
41071 int arg3
= (int) 0 ;
41072 PyObject
* obj0
= 0 ;
41073 PyObject
* obj1
= 0 ;
41074 PyObject
* obj2
= 0 ;
41075 char *kwnames
[] = {
41076 (char *) "self",(char *) "idx",(char *) "proportion", NULL
41079 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FlexGridSizer_AddGrowableRow",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
41080 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFlexGridSizer
, SWIG_POINTER_EXCEPTION
| 0);
41081 if (SWIG_arg_fail(1)) SWIG_fail
;
41083 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
41084 if (SWIG_arg_fail(2)) SWIG_fail
;
41088 arg3
= (int)(SWIG_As_int(obj2
));
41089 if (SWIG_arg_fail(3)) SWIG_fail
;
41093 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41094 (arg1
)->AddGrowableRow(arg2
,arg3
);
41096 wxPyEndAllowThreads(__tstate
);
41097 if (PyErr_Occurred()) SWIG_fail
;
41099 Py_INCREF(Py_None
); resultobj
= Py_None
;
41106 static PyObject
*_wrap_FlexGridSizer_RemoveGrowableRow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41107 PyObject
*resultobj
;
41108 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
41110 PyObject
* obj0
= 0 ;
41111 PyObject
* obj1
= 0 ;
41112 char *kwnames
[] = {
41113 (char *) "self",(char *) "idx", NULL
41116 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FlexGridSizer_RemoveGrowableRow",kwnames
,&obj0
,&obj1
)) goto fail
;
41117 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFlexGridSizer
, SWIG_POINTER_EXCEPTION
| 0);
41118 if (SWIG_arg_fail(1)) SWIG_fail
;
41120 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
41121 if (SWIG_arg_fail(2)) SWIG_fail
;
41124 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41125 (arg1
)->RemoveGrowableRow(arg2
);
41127 wxPyEndAllowThreads(__tstate
);
41128 if (PyErr_Occurred()) SWIG_fail
;
41130 Py_INCREF(Py_None
); resultobj
= Py_None
;
41137 static PyObject
*_wrap_FlexGridSizer_AddGrowableCol(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41138 PyObject
*resultobj
;
41139 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
41141 int arg3
= (int) 0 ;
41142 PyObject
* obj0
= 0 ;
41143 PyObject
* obj1
= 0 ;
41144 PyObject
* obj2
= 0 ;
41145 char *kwnames
[] = {
41146 (char *) "self",(char *) "idx",(char *) "proportion", NULL
41149 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FlexGridSizer_AddGrowableCol",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
41150 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFlexGridSizer
, SWIG_POINTER_EXCEPTION
| 0);
41151 if (SWIG_arg_fail(1)) SWIG_fail
;
41153 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
41154 if (SWIG_arg_fail(2)) SWIG_fail
;
41158 arg3
= (int)(SWIG_As_int(obj2
));
41159 if (SWIG_arg_fail(3)) SWIG_fail
;
41163 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41164 (arg1
)->AddGrowableCol(arg2
,arg3
);
41166 wxPyEndAllowThreads(__tstate
);
41167 if (PyErr_Occurred()) SWIG_fail
;
41169 Py_INCREF(Py_None
); resultobj
= Py_None
;
41176 static PyObject
*_wrap_FlexGridSizer_RemoveGrowableCol(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41177 PyObject
*resultobj
;
41178 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
41180 PyObject
* obj0
= 0 ;
41181 PyObject
* obj1
= 0 ;
41182 char *kwnames
[] = {
41183 (char *) "self",(char *) "idx", NULL
41186 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FlexGridSizer_RemoveGrowableCol",kwnames
,&obj0
,&obj1
)) goto fail
;
41187 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFlexGridSizer
, SWIG_POINTER_EXCEPTION
| 0);
41188 if (SWIG_arg_fail(1)) SWIG_fail
;
41190 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
41191 if (SWIG_arg_fail(2)) SWIG_fail
;
41194 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41195 (arg1
)->RemoveGrowableCol(arg2
);
41197 wxPyEndAllowThreads(__tstate
);
41198 if (PyErr_Occurred()) SWIG_fail
;
41200 Py_INCREF(Py_None
); resultobj
= Py_None
;
41207 static PyObject
*_wrap_FlexGridSizer_SetFlexibleDirection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41208 PyObject
*resultobj
;
41209 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
41211 PyObject
* obj0
= 0 ;
41212 PyObject
* obj1
= 0 ;
41213 char *kwnames
[] = {
41214 (char *) "self",(char *) "direction", NULL
41217 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FlexGridSizer_SetFlexibleDirection",kwnames
,&obj0
,&obj1
)) goto fail
;
41218 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFlexGridSizer
, SWIG_POINTER_EXCEPTION
| 0);
41219 if (SWIG_arg_fail(1)) SWIG_fail
;
41221 arg2
= (int)(SWIG_As_int(obj1
));
41222 if (SWIG_arg_fail(2)) SWIG_fail
;
41225 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41226 (arg1
)->SetFlexibleDirection(arg2
);
41228 wxPyEndAllowThreads(__tstate
);
41229 if (PyErr_Occurred()) SWIG_fail
;
41231 Py_INCREF(Py_None
); resultobj
= Py_None
;
41238 static PyObject
*_wrap_FlexGridSizer_GetFlexibleDirection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41239 PyObject
*resultobj
;
41240 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
41242 PyObject
* obj0
= 0 ;
41243 char *kwnames
[] = {
41244 (char *) "self", NULL
41247 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FlexGridSizer_GetFlexibleDirection",kwnames
,&obj0
)) goto fail
;
41248 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFlexGridSizer
, SWIG_POINTER_EXCEPTION
| 0);
41249 if (SWIG_arg_fail(1)) SWIG_fail
;
41251 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41252 result
= (int)(arg1
)->GetFlexibleDirection();
41254 wxPyEndAllowThreads(__tstate
);
41255 if (PyErr_Occurred()) SWIG_fail
;
41258 resultobj
= SWIG_From_int((int)(result
));
41266 static PyObject
*_wrap_FlexGridSizer_SetNonFlexibleGrowMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41267 PyObject
*resultobj
;
41268 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
41269 wxFlexSizerGrowMode arg2
;
41270 PyObject
* obj0
= 0 ;
41271 PyObject
* obj1
= 0 ;
41272 char *kwnames
[] = {
41273 (char *) "self",(char *) "mode", NULL
41276 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FlexGridSizer_SetNonFlexibleGrowMode",kwnames
,&obj0
,&obj1
)) goto fail
;
41277 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFlexGridSizer
, SWIG_POINTER_EXCEPTION
| 0);
41278 if (SWIG_arg_fail(1)) SWIG_fail
;
41280 arg2
= (wxFlexSizerGrowMode
)(SWIG_As_int(obj1
));
41281 if (SWIG_arg_fail(2)) SWIG_fail
;
41284 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41285 (arg1
)->SetNonFlexibleGrowMode((wxFlexSizerGrowMode
)arg2
);
41287 wxPyEndAllowThreads(__tstate
);
41288 if (PyErr_Occurred()) SWIG_fail
;
41290 Py_INCREF(Py_None
); resultobj
= Py_None
;
41297 static PyObject
*_wrap_FlexGridSizer_GetNonFlexibleGrowMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41298 PyObject
*resultobj
;
41299 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
41300 wxFlexSizerGrowMode result
;
41301 PyObject
* obj0
= 0 ;
41302 char *kwnames
[] = {
41303 (char *) "self", NULL
41306 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FlexGridSizer_GetNonFlexibleGrowMode",kwnames
,&obj0
)) goto fail
;
41307 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFlexGridSizer
, SWIG_POINTER_EXCEPTION
| 0);
41308 if (SWIG_arg_fail(1)) SWIG_fail
;
41310 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41311 result
= (wxFlexSizerGrowMode
)(arg1
)->GetNonFlexibleGrowMode();
41313 wxPyEndAllowThreads(__tstate
);
41314 if (PyErr_Occurred()) SWIG_fail
;
41316 resultobj
= SWIG_From_int((result
));
41323 static PyObject
*_wrap_FlexGridSizer_GetRowHeights(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41324 PyObject
*resultobj
;
41325 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
41326 wxArrayInt
*result
;
41327 PyObject
* obj0
= 0 ;
41328 char *kwnames
[] = {
41329 (char *) "self", NULL
41332 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FlexGridSizer_GetRowHeights",kwnames
,&obj0
)) goto fail
;
41333 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFlexGridSizer
, SWIG_POINTER_EXCEPTION
| 0);
41334 if (SWIG_arg_fail(1)) SWIG_fail
;
41336 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41338 wxArrayInt
const &_result_ref
= ((wxFlexGridSizer
const *)arg1
)->GetRowHeights();
41339 result
= (wxArrayInt
*) &_result_ref
;
41342 wxPyEndAllowThreads(__tstate
);
41343 if (PyErr_Occurred()) SWIG_fail
;
41346 resultobj
= PyList_New(0);
41348 for (idx
= 0; idx
< result
->GetCount(); idx
+= 1) {
41349 PyObject
* val
= PyInt_FromLong( result
->Item(idx
) );
41350 PyList_Append(resultobj
, val
);
41360 static PyObject
*_wrap_FlexGridSizer_GetColWidths(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41361 PyObject
*resultobj
;
41362 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
41363 wxArrayInt
*result
;
41364 PyObject
* obj0
= 0 ;
41365 char *kwnames
[] = {
41366 (char *) "self", NULL
41369 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FlexGridSizer_GetColWidths",kwnames
,&obj0
)) goto fail
;
41370 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFlexGridSizer
, SWIG_POINTER_EXCEPTION
| 0);
41371 if (SWIG_arg_fail(1)) SWIG_fail
;
41373 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41375 wxArrayInt
const &_result_ref
= ((wxFlexGridSizer
const *)arg1
)->GetColWidths();
41376 result
= (wxArrayInt
*) &_result_ref
;
41379 wxPyEndAllowThreads(__tstate
);
41380 if (PyErr_Occurred()) SWIG_fail
;
41383 resultobj
= PyList_New(0);
41385 for (idx
= 0; idx
< result
->GetCount(); idx
+= 1) {
41386 PyObject
* val
= PyInt_FromLong( result
->Item(idx
) );
41387 PyList_Append(resultobj
, val
);
41397 static PyObject
* FlexGridSizer_swigregister(PyObject
*, PyObject
*args
) {
41399 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
41400 SWIG_TypeClientData(SWIGTYPE_p_wxFlexGridSizer
, obj
);
41402 return Py_BuildValue((char *)"");
41404 static PyObject
*_wrap_new_StdDialogButtonSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41405 PyObject
*resultobj
;
41406 wxStdDialogButtonSizer
*result
;
41407 char *kwnames
[] = {
41411 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_StdDialogButtonSizer",kwnames
)) goto fail
;
41413 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41414 result
= (wxStdDialogButtonSizer
*)new wxStdDialogButtonSizer();
41416 wxPyEndAllowThreads(__tstate
);
41417 if (PyErr_Occurred()) SWIG_fail
;
41419 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStdDialogButtonSizer
, 1);
41426 static PyObject
*_wrap_StdDialogButtonSizer_AddButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41427 PyObject
*resultobj
;
41428 wxStdDialogButtonSizer
*arg1
= (wxStdDialogButtonSizer
*) 0 ;
41429 wxButton
*arg2
= (wxButton
*) 0 ;
41430 PyObject
* obj0
= 0 ;
41431 PyObject
* obj1
= 0 ;
41432 char *kwnames
[] = {
41433 (char *) "self",(char *) "button", NULL
41436 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StdDialogButtonSizer_AddButton",kwnames
,&obj0
,&obj1
)) goto fail
;
41437 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStdDialogButtonSizer
, SWIG_POINTER_EXCEPTION
| 0);
41438 if (SWIG_arg_fail(1)) SWIG_fail
;
41439 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxButton
, SWIG_POINTER_EXCEPTION
| 0);
41440 if (SWIG_arg_fail(2)) SWIG_fail
;
41442 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41443 (arg1
)->AddButton(arg2
);
41445 wxPyEndAllowThreads(__tstate
);
41446 if (PyErr_Occurred()) SWIG_fail
;
41448 Py_INCREF(Py_None
); resultobj
= Py_None
;
41455 static PyObject
*_wrap_StdDialogButtonSizer_Realize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41456 PyObject
*resultobj
;
41457 wxStdDialogButtonSizer
*arg1
= (wxStdDialogButtonSizer
*) 0 ;
41458 PyObject
* obj0
= 0 ;
41459 char *kwnames
[] = {
41460 (char *) "self", NULL
41463 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StdDialogButtonSizer_Realize",kwnames
,&obj0
)) goto fail
;
41464 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStdDialogButtonSizer
, SWIG_POINTER_EXCEPTION
| 0);
41465 if (SWIG_arg_fail(1)) SWIG_fail
;
41467 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41470 wxPyEndAllowThreads(__tstate
);
41471 if (PyErr_Occurred()) SWIG_fail
;
41473 Py_INCREF(Py_None
); resultobj
= Py_None
;
41480 static PyObject
*_wrap_StdDialogButtonSizer_SetAffirmativeButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41481 PyObject
*resultobj
;
41482 wxStdDialogButtonSizer
*arg1
= (wxStdDialogButtonSizer
*) 0 ;
41483 wxButton
*arg2
= (wxButton
*) 0 ;
41484 PyObject
* obj0
= 0 ;
41485 PyObject
* obj1
= 0 ;
41486 char *kwnames
[] = {
41487 (char *) "self",(char *) "button", NULL
41490 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StdDialogButtonSizer_SetAffirmativeButton",kwnames
,&obj0
,&obj1
)) goto fail
;
41491 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStdDialogButtonSizer
, SWIG_POINTER_EXCEPTION
| 0);
41492 if (SWIG_arg_fail(1)) SWIG_fail
;
41493 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxButton
, SWIG_POINTER_EXCEPTION
| 0);
41494 if (SWIG_arg_fail(2)) SWIG_fail
;
41496 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41497 (arg1
)->SetAffirmativeButton(arg2
);
41499 wxPyEndAllowThreads(__tstate
);
41500 if (PyErr_Occurred()) SWIG_fail
;
41502 Py_INCREF(Py_None
); resultobj
= Py_None
;
41509 static PyObject
*_wrap_StdDialogButtonSizer_SetNegativeButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41510 PyObject
*resultobj
;
41511 wxStdDialogButtonSizer
*arg1
= (wxStdDialogButtonSizer
*) 0 ;
41512 wxButton
*arg2
= (wxButton
*) 0 ;
41513 PyObject
* obj0
= 0 ;
41514 PyObject
* obj1
= 0 ;
41515 char *kwnames
[] = {
41516 (char *) "self",(char *) "button", NULL
41519 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StdDialogButtonSizer_SetNegativeButton",kwnames
,&obj0
,&obj1
)) goto fail
;
41520 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStdDialogButtonSizer
, SWIG_POINTER_EXCEPTION
| 0);
41521 if (SWIG_arg_fail(1)) SWIG_fail
;
41522 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxButton
, SWIG_POINTER_EXCEPTION
| 0);
41523 if (SWIG_arg_fail(2)) SWIG_fail
;
41525 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41526 (arg1
)->SetNegativeButton(arg2
);
41528 wxPyEndAllowThreads(__tstate
);
41529 if (PyErr_Occurred()) SWIG_fail
;
41531 Py_INCREF(Py_None
); resultobj
= Py_None
;
41538 static PyObject
*_wrap_StdDialogButtonSizer_SetCancelButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41539 PyObject
*resultobj
;
41540 wxStdDialogButtonSizer
*arg1
= (wxStdDialogButtonSizer
*) 0 ;
41541 wxButton
*arg2
= (wxButton
*) 0 ;
41542 PyObject
* obj0
= 0 ;
41543 PyObject
* obj1
= 0 ;
41544 char *kwnames
[] = {
41545 (char *) "self",(char *) "button", NULL
41548 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StdDialogButtonSizer_SetCancelButton",kwnames
,&obj0
,&obj1
)) goto fail
;
41549 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStdDialogButtonSizer
, SWIG_POINTER_EXCEPTION
| 0);
41550 if (SWIG_arg_fail(1)) SWIG_fail
;
41551 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxButton
, SWIG_POINTER_EXCEPTION
| 0);
41552 if (SWIG_arg_fail(2)) SWIG_fail
;
41554 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41555 (arg1
)->SetCancelButton(arg2
);
41557 wxPyEndAllowThreads(__tstate
);
41558 if (PyErr_Occurred()) SWIG_fail
;
41560 Py_INCREF(Py_None
); resultobj
= Py_None
;
41567 static PyObject
*_wrap_StdDialogButtonSizer_GetAffirmativeButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41568 PyObject
*resultobj
;
41569 wxStdDialogButtonSizer
*arg1
= (wxStdDialogButtonSizer
*) 0 ;
41571 PyObject
* obj0
= 0 ;
41572 char *kwnames
[] = {
41573 (char *) "self", NULL
41576 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StdDialogButtonSizer_GetAffirmativeButton",kwnames
,&obj0
)) goto fail
;
41577 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStdDialogButtonSizer
, SWIG_POINTER_EXCEPTION
| 0);
41578 if (SWIG_arg_fail(1)) SWIG_fail
;
41580 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41581 result
= (wxButton
*)((wxStdDialogButtonSizer
const *)arg1
)->GetAffirmativeButton();
41583 wxPyEndAllowThreads(__tstate
);
41584 if (PyErr_Occurred()) SWIG_fail
;
41587 resultobj
= wxPyMake_wxObject(result
, 0);
41595 static PyObject
*_wrap_StdDialogButtonSizer_GetApplyButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41596 PyObject
*resultobj
;
41597 wxStdDialogButtonSizer
*arg1
= (wxStdDialogButtonSizer
*) 0 ;
41599 PyObject
* obj0
= 0 ;
41600 char *kwnames
[] = {
41601 (char *) "self", NULL
41604 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StdDialogButtonSizer_GetApplyButton",kwnames
,&obj0
)) goto fail
;
41605 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStdDialogButtonSizer
, SWIG_POINTER_EXCEPTION
| 0);
41606 if (SWIG_arg_fail(1)) SWIG_fail
;
41608 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41609 result
= (wxButton
*)((wxStdDialogButtonSizer
const *)arg1
)->GetApplyButton();
41611 wxPyEndAllowThreads(__tstate
);
41612 if (PyErr_Occurred()) SWIG_fail
;
41615 resultobj
= wxPyMake_wxObject(result
, 0);
41623 static PyObject
*_wrap_StdDialogButtonSizer_GetNegativeButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41624 PyObject
*resultobj
;
41625 wxStdDialogButtonSizer
*arg1
= (wxStdDialogButtonSizer
*) 0 ;
41627 PyObject
* obj0
= 0 ;
41628 char *kwnames
[] = {
41629 (char *) "self", NULL
41632 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StdDialogButtonSizer_GetNegativeButton",kwnames
,&obj0
)) goto fail
;
41633 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStdDialogButtonSizer
, SWIG_POINTER_EXCEPTION
| 0);
41634 if (SWIG_arg_fail(1)) SWIG_fail
;
41636 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41637 result
= (wxButton
*)((wxStdDialogButtonSizer
const *)arg1
)->GetNegativeButton();
41639 wxPyEndAllowThreads(__tstate
);
41640 if (PyErr_Occurred()) SWIG_fail
;
41643 resultobj
= wxPyMake_wxObject(result
, 0);
41651 static PyObject
*_wrap_StdDialogButtonSizer_GetCancelButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41652 PyObject
*resultobj
;
41653 wxStdDialogButtonSizer
*arg1
= (wxStdDialogButtonSizer
*) 0 ;
41655 PyObject
* obj0
= 0 ;
41656 char *kwnames
[] = {
41657 (char *) "self", NULL
41660 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StdDialogButtonSizer_GetCancelButton",kwnames
,&obj0
)) goto fail
;
41661 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStdDialogButtonSizer
, SWIG_POINTER_EXCEPTION
| 0);
41662 if (SWIG_arg_fail(1)) SWIG_fail
;
41664 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41665 result
= (wxButton
*)((wxStdDialogButtonSizer
const *)arg1
)->GetCancelButton();
41667 wxPyEndAllowThreads(__tstate
);
41668 if (PyErr_Occurred()) SWIG_fail
;
41671 resultobj
= wxPyMake_wxObject(result
, 0);
41679 static PyObject
*_wrap_StdDialogButtonSizer_GetHelpButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41680 PyObject
*resultobj
;
41681 wxStdDialogButtonSizer
*arg1
= (wxStdDialogButtonSizer
*) 0 ;
41683 PyObject
* obj0
= 0 ;
41684 char *kwnames
[] = {
41685 (char *) "self", NULL
41688 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StdDialogButtonSizer_GetHelpButton",kwnames
,&obj0
)) goto fail
;
41689 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStdDialogButtonSizer
, SWIG_POINTER_EXCEPTION
| 0);
41690 if (SWIG_arg_fail(1)) SWIG_fail
;
41692 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41693 result
= (wxButton
*)((wxStdDialogButtonSizer
const *)arg1
)->GetHelpButton();
41695 wxPyEndAllowThreads(__tstate
);
41696 if (PyErr_Occurred()) SWIG_fail
;
41699 resultobj
= wxPyMake_wxObject(result
, 0);
41707 static PyObject
* StdDialogButtonSizer_swigregister(PyObject
*, PyObject
*args
) {
41709 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
41710 SWIG_TypeClientData(SWIGTYPE_p_wxStdDialogButtonSizer
, obj
);
41712 return Py_BuildValue((char *)"");
41714 static PyObject
*_wrap_new_GBPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41715 PyObject
*resultobj
;
41716 int arg1
= (int) 0 ;
41717 int arg2
= (int) 0 ;
41718 wxGBPosition
*result
;
41719 PyObject
* obj0
= 0 ;
41720 PyObject
* obj1
= 0 ;
41721 char *kwnames
[] = {
41722 (char *) "row",(char *) "col", NULL
41725 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_GBPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
41728 arg1
= (int)(SWIG_As_int(obj0
));
41729 if (SWIG_arg_fail(1)) SWIG_fail
;
41734 arg2
= (int)(SWIG_As_int(obj1
));
41735 if (SWIG_arg_fail(2)) SWIG_fail
;
41739 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41740 result
= (wxGBPosition
*)new wxGBPosition(arg1
,arg2
);
41742 wxPyEndAllowThreads(__tstate
);
41743 if (PyErr_Occurred()) SWIG_fail
;
41745 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBPosition
, 1);
41752 static PyObject
*_wrap_GBPosition_GetRow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41753 PyObject
*resultobj
;
41754 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
41756 PyObject
* obj0
= 0 ;
41757 char *kwnames
[] = {
41758 (char *) "self", NULL
41761 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBPosition_GetRow",kwnames
,&obj0
)) goto fail
;
41762 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBPosition
, SWIG_POINTER_EXCEPTION
| 0);
41763 if (SWIG_arg_fail(1)) SWIG_fail
;
41765 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41766 result
= (int)((wxGBPosition
const *)arg1
)->GetRow();
41768 wxPyEndAllowThreads(__tstate
);
41769 if (PyErr_Occurred()) SWIG_fail
;
41772 resultobj
= SWIG_From_int((int)(result
));
41780 static PyObject
*_wrap_GBPosition_GetCol(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41781 PyObject
*resultobj
;
41782 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
41784 PyObject
* obj0
= 0 ;
41785 char *kwnames
[] = {
41786 (char *) "self", NULL
41789 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBPosition_GetCol",kwnames
,&obj0
)) goto fail
;
41790 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBPosition
, SWIG_POINTER_EXCEPTION
| 0);
41791 if (SWIG_arg_fail(1)) SWIG_fail
;
41793 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41794 result
= (int)((wxGBPosition
const *)arg1
)->GetCol();
41796 wxPyEndAllowThreads(__tstate
);
41797 if (PyErr_Occurred()) SWIG_fail
;
41800 resultobj
= SWIG_From_int((int)(result
));
41808 static PyObject
*_wrap_GBPosition_SetRow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41809 PyObject
*resultobj
;
41810 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
41812 PyObject
* obj0
= 0 ;
41813 PyObject
* obj1
= 0 ;
41814 char *kwnames
[] = {
41815 (char *) "self",(char *) "row", NULL
41818 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBPosition_SetRow",kwnames
,&obj0
,&obj1
)) goto fail
;
41819 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBPosition
, SWIG_POINTER_EXCEPTION
| 0);
41820 if (SWIG_arg_fail(1)) SWIG_fail
;
41822 arg2
= (int)(SWIG_As_int(obj1
));
41823 if (SWIG_arg_fail(2)) SWIG_fail
;
41826 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41827 (arg1
)->SetRow(arg2
);
41829 wxPyEndAllowThreads(__tstate
);
41830 if (PyErr_Occurred()) SWIG_fail
;
41832 Py_INCREF(Py_None
); resultobj
= Py_None
;
41839 static PyObject
*_wrap_GBPosition_SetCol(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41840 PyObject
*resultobj
;
41841 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
41843 PyObject
* obj0
= 0 ;
41844 PyObject
* obj1
= 0 ;
41845 char *kwnames
[] = {
41846 (char *) "self",(char *) "col", NULL
41849 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBPosition_SetCol",kwnames
,&obj0
,&obj1
)) goto fail
;
41850 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBPosition
, SWIG_POINTER_EXCEPTION
| 0);
41851 if (SWIG_arg_fail(1)) SWIG_fail
;
41853 arg2
= (int)(SWIG_As_int(obj1
));
41854 if (SWIG_arg_fail(2)) SWIG_fail
;
41857 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41858 (arg1
)->SetCol(arg2
);
41860 wxPyEndAllowThreads(__tstate
);
41861 if (PyErr_Occurred()) SWIG_fail
;
41863 Py_INCREF(Py_None
); resultobj
= Py_None
;
41870 static PyObject
*_wrap_GBPosition___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41871 PyObject
*resultobj
;
41872 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
41873 wxGBPosition
*arg2
= 0 ;
41875 wxGBPosition temp2
;
41876 PyObject
* obj0
= 0 ;
41877 PyObject
* obj1
= 0 ;
41878 char *kwnames
[] = {
41879 (char *) "self",(char *) "other", NULL
41882 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBPosition___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
41883 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBPosition
, SWIG_POINTER_EXCEPTION
| 0);
41884 if (SWIG_arg_fail(1)) SWIG_fail
;
41887 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
41890 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41891 result
= (bool)(arg1
)->operator ==((wxGBPosition
const &)*arg2
);
41893 wxPyEndAllowThreads(__tstate
);
41894 if (PyErr_Occurred()) SWIG_fail
;
41897 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
41905 static PyObject
*_wrap_GBPosition___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41906 PyObject
*resultobj
;
41907 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
41908 wxGBPosition
*arg2
= 0 ;
41910 wxGBPosition temp2
;
41911 PyObject
* obj0
= 0 ;
41912 PyObject
* obj1
= 0 ;
41913 char *kwnames
[] = {
41914 (char *) "self",(char *) "other", NULL
41917 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBPosition___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
41918 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBPosition
, SWIG_POINTER_EXCEPTION
| 0);
41919 if (SWIG_arg_fail(1)) SWIG_fail
;
41922 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
41925 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41926 result
= (bool)(arg1
)->operator !=((wxGBPosition
const &)*arg2
);
41928 wxPyEndAllowThreads(__tstate
);
41929 if (PyErr_Occurred()) SWIG_fail
;
41932 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
41940 static PyObject
*_wrap_GBPosition_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41941 PyObject
*resultobj
;
41942 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
41943 int arg2
= (int) 0 ;
41944 int arg3
= (int) 0 ;
41945 PyObject
* obj0
= 0 ;
41946 PyObject
* obj1
= 0 ;
41947 PyObject
* obj2
= 0 ;
41948 char *kwnames
[] = {
41949 (char *) "self",(char *) "row",(char *) "col", NULL
41952 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:GBPosition_Set",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
41953 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBPosition
, SWIG_POINTER_EXCEPTION
| 0);
41954 if (SWIG_arg_fail(1)) SWIG_fail
;
41957 arg2
= (int)(SWIG_As_int(obj1
));
41958 if (SWIG_arg_fail(2)) SWIG_fail
;
41963 arg3
= (int)(SWIG_As_int(obj2
));
41964 if (SWIG_arg_fail(3)) SWIG_fail
;
41968 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41969 wxGBPosition_Set(arg1
,arg2
,arg3
);
41971 wxPyEndAllowThreads(__tstate
);
41972 if (PyErr_Occurred()) SWIG_fail
;
41974 Py_INCREF(Py_None
); resultobj
= Py_None
;
41981 static PyObject
*_wrap_GBPosition_Get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41982 PyObject
*resultobj
;
41983 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
41985 PyObject
* obj0
= 0 ;
41986 char *kwnames
[] = {
41987 (char *) "self", NULL
41990 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBPosition_Get",kwnames
,&obj0
)) goto fail
;
41991 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBPosition
, SWIG_POINTER_EXCEPTION
| 0);
41992 if (SWIG_arg_fail(1)) SWIG_fail
;
41994 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41995 result
= (PyObject
*)wxGBPosition_Get(arg1
);
41997 wxPyEndAllowThreads(__tstate
);
41998 if (PyErr_Occurred()) SWIG_fail
;
42000 resultobj
= result
;
42007 static PyObject
* GBPosition_swigregister(PyObject
*, PyObject
*args
) {
42009 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
42010 SWIG_TypeClientData(SWIGTYPE_p_wxGBPosition
, obj
);
42012 return Py_BuildValue((char *)"");
42014 static PyObject
*_wrap_new_GBSpan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42015 PyObject
*resultobj
;
42016 int arg1
= (int) 1 ;
42017 int arg2
= (int) 1 ;
42019 PyObject
* obj0
= 0 ;
42020 PyObject
* obj1
= 0 ;
42021 char *kwnames
[] = {
42022 (char *) "rowspan",(char *) "colspan", NULL
42025 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_GBSpan",kwnames
,&obj0
,&obj1
)) goto fail
;
42028 arg1
= (int)(SWIG_As_int(obj0
));
42029 if (SWIG_arg_fail(1)) SWIG_fail
;
42034 arg2
= (int)(SWIG_As_int(obj1
));
42035 if (SWIG_arg_fail(2)) SWIG_fail
;
42039 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42040 result
= (wxGBSpan
*)new wxGBSpan(arg1
,arg2
);
42042 wxPyEndAllowThreads(__tstate
);
42043 if (PyErr_Occurred()) SWIG_fail
;
42045 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSpan
, 1);
42052 static PyObject
*_wrap_GBSpan_GetRowspan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42053 PyObject
*resultobj
;
42054 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
42056 PyObject
* obj0
= 0 ;
42057 char *kwnames
[] = {
42058 (char *) "self", NULL
42061 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBSpan_GetRowspan",kwnames
,&obj0
)) goto fail
;
42062 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBSpan
, SWIG_POINTER_EXCEPTION
| 0);
42063 if (SWIG_arg_fail(1)) SWIG_fail
;
42065 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42066 result
= (int)((wxGBSpan
const *)arg1
)->GetRowspan();
42068 wxPyEndAllowThreads(__tstate
);
42069 if (PyErr_Occurred()) SWIG_fail
;
42072 resultobj
= SWIG_From_int((int)(result
));
42080 static PyObject
*_wrap_GBSpan_GetColspan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42081 PyObject
*resultobj
;
42082 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
42084 PyObject
* obj0
= 0 ;
42085 char *kwnames
[] = {
42086 (char *) "self", NULL
42089 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBSpan_GetColspan",kwnames
,&obj0
)) goto fail
;
42090 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBSpan
, SWIG_POINTER_EXCEPTION
| 0);
42091 if (SWIG_arg_fail(1)) SWIG_fail
;
42093 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42094 result
= (int)((wxGBSpan
const *)arg1
)->GetColspan();
42096 wxPyEndAllowThreads(__tstate
);
42097 if (PyErr_Occurred()) SWIG_fail
;
42100 resultobj
= SWIG_From_int((int)(result
));
42108 static PyObject
*_wrap_GBSpan_SetRowspan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42109 PyObject
*resultobj
;
42110 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
42112 PyObject
* obj0
= 0 ;
42113 PyObject
* obj1
= 0 ;
42114 char *kwnames
[] = {
42115 (char *) "self",(char *) "rowspan", NULL
42118 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSpan_SetRowspan",kwnames
,&obj0
,&obj1
)) goto fail
;
42119 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBSpan
, SWIG_POINTER_EXCEPTION
| 0);
42120 if (SWIG_arg_fail(1)) SWIG_fail
;
42122 arg2
= (int)(SWIG_As_int(obj1
));
42123 if (SWIG_arg_fail(2)) SWIG_fail
;
42126 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42127 (arg1
)->SetRowspan(arg2
);
42129 wxPyEndAllowThreads(__tstate
);
42130 if (PyErr_Occurred()) SWIG_fail
;
42132 Py_INCREF(Py_None
); resultobj
= Py_None
;
42139 static PyObject
*_wrap_GBSpan_SetColspan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42140 PyObject
*resultobj
;
42141 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
42143 PyObject
* obj0
= 0 ;
42144 PyObject
* obj1
= 0 ;
42145 char *kwnames
[] = {
42146 (char *) "self",(char *) "colspan", NULL
42149 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSpan_SetColspan",kwnames
,&obj0
,&obj1
)) goto fail
;
42150 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBSpan
, SWIG_POINTER_EXCEPTION
| 0);
42151 if (SWIG_arg_fail(1)) SWIG_fail
;
42153 arg2
= (int)(SWIG_As_int(obj1
));
42154 if (SWIG_arg_fail(2)) SWIG_fail
;
42157 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42158 (arg1
)->SetColspan(arg2
);
42160 wxPyEndAllowThreads(__tstate
);
42161 if (PyErr_Occurred()) SWIG_fail
;
42163 Py_INCREF(Py_None
); resultobj
= Py_None
;
42170 static PyObject
*_wrap_GBSpan___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42171 PyObject
*resultobj
;
42172 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
42173 wxGBSpan
*arg2
= 0 ;
42176 PyObject
* obj0
= 0 ;
42177 PyObject
* obj1
= 0 ;
42178 char *kwnames
[] = {
42179 (char *) "self",(char *) "other", NULL
42182 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSpan___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
42183 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBSpan
, SWIG_POINTER_EXCEPTION
| 0);
42184 if (SWIG_arg_fail(1)) SWIG_fail
;
42187 if ( ! wxGBSpan_helper(obj1
, &arg2
)) SWIG_fail
;
42190 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42191 result
= (bool)(arg1
)->operator ==((wxGBSpan
const &)*arg2
);
42193 wxPyEndAllowThreads(__tstate
);
42194 if (PyErr_Occurred()) SWIG_fail
;
42197 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
42205 static PyObject
*_wrap_GBSpan___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42206 PyObject
*resultobj
;
42207 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
42208 wxGBSpan
*arg2
= 0 ;
42211 PyObject
* obj0
= 0 ;
42212 PyObject
* obj1
= 0 ;
42213 char *kwnames
[] = {
42214 (char *) "self",(char *) "other", NULL
42217 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSpan___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
42218 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBSpan
, SWIG_POINTER_EXCEPTION
| 0);
42219 if (SWIG_arg_fail(1)) SWIG_fail
;
42222 if ( ! wxGBSpan_helper(obj1
, &arg2
)) SWIG_fail
;
42225 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42226 result
= (bool)(arg1
)->operator !=((wxGBSpan
const &)*arg2
);
42228 wxPyEndAllowThreads(__tstate
);
42229 if (PyErr_Occurred()) SWIG_fail
;
42232 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
42240 static PyObject
*_wrap_GBSpan_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42241 PyObject
*resultobj
;
42242 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
42243 int arg2
= (int) 1 ;
42244 int arg3
= (int) 1 ;
42245 PyObject
* obj0
= 0 ;
42246 PyObject
* obj1
= 0 ;
42247 PyObject
* obj2
= 0 ;
42248 char *kwnames
[] = {
42249 (char *) "self",(char *) "rowspan",(char *) "colspan", NULL
42252 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:GBSpan_Set",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
42253 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBSpan
, SWIG_POINTER_EXCEPTION
| 0);
42254 if (SWIG_arg_fail(1)) SWIG_fail
;
42257 arg2
= (int)(SWIG_As_int(obj1
));
42258 if (SWIG_arg_fail(2)) SWIG_fail
;
42263 arg3
= (int)(SWIG_As_int(obj2
));
42264 if (SWIG_arg_fail(3)) SWIG_fail
;
42268 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42269 wxGBSpan_Set(arg1
,arg2
,arg3
);
42271 wxPyEndAllowThreads(__tstate
);
42272 if (PyErr_Occurred()) SWIG_fail
;
42274 Py_INCREF(Py_None
); resultobj
= Py_None
;
42281 static PyObject
*_wrap_GBSpan_Get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42282 PyObject
*resultobj
;
42283 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
42285 PyObject
* obj0
= 0 ;
42286 char *kwnames
[] = {
42287 (char *) "self", NULL
42290 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBSpan_Get",kwnames
,&obj0
)) goto fail
;
42291 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBSpan
, SWIG_POINTER_EXCEPTION
| 0);
42292 if (SWIG_arg_fail(1)) SWIG_fail
;
42294 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42295 result
= (PyObject
*)wxGBSpan_Get(arg1
);
42297 wxPyEndAllowThreads(__tstate
);
42298 if (PyErr_Occurred()) SWIG_fail
;
42300 resultobj
= result
;
42307 static PyObject
* GBSpan_swigregister(PyObject
*, PyObject
*args
) {
42309 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
42310 SWIG_TypeClientData(SWIGTYPE_p_wxGBSpan
, obj
);
42312 return Py_BuildValue((char *)"");
42314 static int _wrap_DefaultSpan_set(PyObject
*) {
42315 PyErr_SetString(PyExc_TypeError
,"Variable DefaultSpan is read-only.");
42320 static PyObject
*_wrap_DefaultSpan_get(void) {
42323 pyobj
= SWIG_NewPointerObj((void *)(&wxDefaultSpan
), SWIGTYPE_p_wxGBSpan
, 0);
42328 static PyObject
*_wrap_new_GBSizerItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42329 PyObject
*resultobj
;
42330 wxGBSizerItem
*result
;
42331 char *kwnames
[] = {
42335 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_GBSizerItem",kwnames
)) goto fail
;
42337 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42338 result
= (wxGBSizerItem
*)new wxGBSizerItem();
42340 wxPyEndAllowThreads(__tstate
);
42341 if (PyErr_Occurred()) SWIG_fail
;
42343 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 1);
42350 static PyObject
*_wrap_new_GBSizerItemWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42351 PyObject
*resultobj
;
42352 wxWindow
*arg1
= (wxWindow
*) 0 ;
42353 wxGBPosition
*arg2
= 0 ;
42354 wxGBSpan
*arg3
= 0 ;
42357 PyObject
*arg6
= (PyObject
*) NULL
;
42358 wxGBSizerItem
*result
;
42359 wxGBPosition temp2
;
42361 PyObject
* obj0
= 0 ;
42362 PyObject
* obj1
= 0 ;
42363 PyObject
* obj2
= 0 ;
42364 PyObject
* obj3
= 0 ;
42365 PyObject
* obj4
= 0 ;
42366 PyObject
* obj5
= 0 ;
42367 char *kwnames
[] = {
42368 (char *) "window",(char *) "pos",(char *) "span",(char *) "flag",(char *) "border",(char *) "userData", NULL
42371 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:new_GBSizerItemWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
42372 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
42373 if (SWIG_arg_fail(1)) SWIG_fail
;
42376 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
42380 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
42383 arg4
= (int)(SWIG_As_int(obj3
));
42384 if (SWIG_arg_fail(4)) SWIG_fail
;
42387 arg5
= (int)(SWIG_As_int(obj4
));
42388 if (SWIG_arg_fail(5)) SWIG_fail
;
42394 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42395 result
= (wxGBSizerItem
*)new_wxGBSizerItem(arg1
,(wxGBPosition
const &)*arg2
,(wxGBSpan
const &)*arg3
,arg4
,arg5
,arg6
);
42397 wxPyEndAllowThreads(__tstate
);
42398 if (PyErr_Occurred()) SWIG_fail
;
42400 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 1);
42407 static PyObject
*_wrap_new_GBSizerItemSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42408 PyObject
*resultobj
;
42409 wxSizer
*arg1
= (wxSizer
*) 0 ;
42410 wxGBPosition
*arg2
= 0 ;
42411 wxGBSpan
*arg3
= 0 ;
42414 PyObject
*arg6
= (PyObject
*) NULL
;
42415 wxGBSizerItem
*result
;
42416 wxGBPosition temp2
;
42418 PyObject
* obj0
= 0 ;
42419 PyObject
* obj1
= 0 ;
42420 PyObject
* obj2
= 0 ;
42421 PyObject
* obj3
= 0 ;
42422 PyObject
* obj4
= 0 ;
42423 PyObject
* obj5
= 0 ;
42424 char *kwnames
[] = {
42425 (char *) "sizer",(char *) "pos",(char *) "span",(char *) "flag",(char *) "border",(char *) "userData", NULL
42428 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:new_GBSizerItemSizer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
42429 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
42430 if (SWIG_arg_fail(1)) SWIG_fail
;
42433 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
42437 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
42440 arg4
= (int)(SWIG_As_int(obj3
));
42441 if (SWIG_arg_fail(4)) SWIG_fail
;
42444 arg5
= (int)(SWIG_As_int(obj4
));
42445 if (SWIG_arg_fail(5)) SWIG_fail
;
42451 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42452 result
= (wxGBSizerItem
*)new_wxGBSizerItem(arg1
,(wxGBPosition
const &)*arg2
,(wxGBSpan
const &)*arg3
,arg4
,arg5
,arg6
);
42454 wxPyEndAllowThreads(__tstate
);
42455 if (PyErr_Occurred()) SWIG_fail
;
42457 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 1);
42464 static PyObject
*_wrap_new_GBSizerItemSpacer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42465 PyObject
*resultobj
;
42468 wxGBPosition
*arg3
= 0 ;
42469 wxGBSpan
*arg4
= 0 ;
42472 PyObject
*arg7
= (PyObject
*) NULL
;
42473 wxGBSizerItem
*result
;
42474 wxGBPosition temp3
;
42476 PyObject
* obj0
= 0 ;
42477 PyObject
* obj1
= 0 ;
42478 PyObject
* obj2
= 0 ;
42479 PyObject
* obj3
= 0 ;
42480 PyObject
* obj4
= 0 ;
42481 PyObject
* obj5
= 0 ;
42482 PyObject
* obj6
= 0 ;
42483 char *kwnames
[] = {
42484 (char *) "width",(char *) "height",(char *) "pos",(char *) "span",(char *) "flag",(char *) "border",(char *) "userData", NULL
42487 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO|O:new_GBSizerItemSpacer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
42489 arg1
= (int)(SWIG_As_int(obj0
));
42490 if (SWIG_arg_fail(1)) SWIG_fail
;
42493 arg2
= (int)(SWIG_As_int(obj1
));
42494 if (SWIG_arg_fail(2)) SWIG_fail
;
42498 if ( ! wxGBPosition_helper(obj2
, &arg3
)) SWIG_fail
;
42502 if ( ! wxGBSpan_helper(obj3
, &arg4
)) SWIG_fail
;
42505 arg5
= (int)(SWIG_As_int(obj4
));
42506 if (SWIG_arg_fail(5)) SWIG_fail
;
42509 arg6
= (int)(SWIG_As_int(obj5
));
42510 if (SWIG_arg_fail(6)) SWIG_fail
;
42516 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42517 result
= (wxGBSizerItem
*)new_wxGBSizerItem(arg1
,arg2
,(wxGBPosition
const &)*arg3
,(wxGBSpan
const &)*arg4
,arg5
,arg6
,arg7
);
42519 wxPyEndAllowThreads(__tstate
);
42520 if (PyErr_Occurred()) SWIG_fail
;
42522 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 1);
42529 static PyObject
*_wrap_GBSizerItem_GetPos(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42530 PyObject
*resultobj
;
42531 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
42532 wxGBPosition result
;
42533 PyObject
* obj0
= 0 ;
42534 char *kwnames
[] = {
42535 (char *) "self", NULL
42538 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBSizerItem_GetPos",kwnames
,&obj0
)) goto fail
;
42539 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
42540 if (SWIG_arg_fail(1)) SWIG_fail
;
42542 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42543 result
= ((wxGBSizerItem
const *)arg1
)->GetPos();
42545 wxPyEndAllowThreads(__tstate
);
42546 if (PyErr_Occurred()) SWIG_fail
;
42549 wxGBPosition
* resultptr
;
42550 resultptr
= new wxGBPosition((wxGBPosition
&)(result
));
42551 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBPosition
, 1);
42559 static PyObject
*_wrap_GBSizerItem_GetSpan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42560 PyObject
*resultobj
;
42561 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
42563 PyObject
* obj0
= 0 ;
42564 char *kwnames
[] = {
42565 (char *) "self", NULL
42568 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBSizerItem_GetSpan",kwnames
,&obj0
)) goto fail
;
42569 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
42570 if (SWIG_arg_fail(1)) SWIG_fail
;
42572 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42573 result
= ((wxGBSizerItem
const *)arg1
)->GetSpan();
42575 wxPyEndAllowThreads(__tstate
);
42576 if (PyErr_Occurred()) SWIG_fail
;
42579 wxGBSpan
* resultptr
;
42580 resultptr
= new wxGBSpan((wxGBSpan
&)(result
));
42581 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBSpan
, 1);
42589 static PyObject
*_wrap_GBSizerItem_SetPos(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42590 PyObject
*resultobj
;
42591 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
42592 wxGBPosition
*arg2
= 0 ;
42594 wxGBPosition temp2
;
42595 PyObject
* obj0
= 0 ;
42596 PyObject
* obj1
= 0 ;
42597 char *kwnames
[] = {
42598 (char *) "self",(char *) "pos", NULL
42601 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSizerItem_SetPos",kwnames
,&obj0
,&obj1
)) goto fail
;
42602 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
42603 if (SWIG_arg_fail(1)) SWIG_fail
;
42606 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
42609 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42610 result
= (bool)(arg1
)->SetPos((wxGBPosition
const &)*arg2
);
42612 wxPyEndAllowThreads(__tstate
);
42613 if (PyErr_Occurred()) SWIG_fail
;
42616 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
42624 static PyObject
*_wrap_GBSizerItem_SetSpan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42625 PyObject
*resultobj
;
42626 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
42627 wxGBSpan
*arg2
= 0 ;
42630 PyObject
* obj0
= 0 ;
42631 PyObject
* obj1
= 0 ;
42632 char *kwnames
[] = {
42633 (char *) "self",(char *) "span", NULL
42636 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSizerItem_SetSpan",kwnames
,&obj0
,&obj1
)) goto fail
;
42637 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
42638 if (SWIG_arg_fail(1)) SWIG_fail
;
42641 if ( ! wxGBSpan_helper(obj1
, &arg2
)) SWIG_fail
;
42644 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42645 result
= (bool)(arg1
)->SetSpan((wxGBSpan
const &)*arg2
);
42647 wxPyEndAllowThreads(__tstate
);
42648 if (PyErr_Occurred()) SWIG_fail
;
42651 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
42659 static PyObject
*_wrap_GBSizerItem_Intersects(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42660 PyObject
*resultobj
;
42661 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
42662 wxGBSizerItem
*arg2
= 0 ;
42664 PyObject
* obj0
= 0 ;
42665 PyObject
* obj1
= 0 ;
42666 char *kwnames
[] = {
42667 (char *) "self",(char *) "other", NULL
42670 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSizerItem_Intersects",kwnames
,&obj0
,&obj1
)) goto fail
;
42671 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
42672 if (SWIG_arg_fail(1)) SWIG_fail
;
42674 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxGBSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
42675 if (SWIG_arg_fail(2)) SWIG_fail
;
42676 if (arg2
== NULL
) {
42677 SWIG_null_ref("wxGBSizerItem");
42679 if (SWIG_arg_fail(2)) SWIG_fail
;
42682 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42683 result
= (bool)(arg1
)->Intersects((wxGBSizerItem
const &)*arg2
);
42685 wxPyEndAllowThreads(__tstate
);
42686 if (PyErr_Occurred()) SWIG_fail
;
42689 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
42697 static PyObject
*_wrap_GBSizerItem_IntersectsPos(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42698 PyObject
*resultobj
;
42699 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
42700 wxGBPosition
*arg2
= 0 ;
42701 wxGBSpan
*arg3
= 0 ;
42703 wxGBPosition temp2
;
42705 PyObject
* obj0
= 0 ;
42706 PyObject
* obj1
= 0 ;
42707 PyObject
* obj2
= 0 ;
42708 char *kwnames
[] = {
42709 (char *) "self",(char *) "pos",(char *) "span", NULL
42712 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GBSizerItem_IntersectsPos",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
42713 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
42714 if (SWIG_arg_fail(1)) SWIG_fail
;
42717 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
42721 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
42724 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42725 result
= (bool)(arg1
)->Intersects((wxGBPosition
const &)*arg2
,(wxGBSpan
const &)*arg3
);
42727 wxPyEndAllowThreads(__tstate
);
42728 if (PyErr_Occurred()) SWIG_fail
;
42731 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
42739 static PyObject
*_wrap_GBSizerItem_GetEndPos(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42740 PyObject
*resultobj
;
42741 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
42742 wxGBPosition result
;
42743 PyObject
* obj0
= 0 ;
42744 char *kwnames
[] = {
42745 (char *) "self", NULL
42748 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBSizerItem_GetEndPos",kwnames
,&obj0
)) goto fail
;
42749 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
42750 if (SWIG_arg_fail(1)) SWIG_fail
;
42752 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42753 result
= wxGBSizerItem_GetEndPos(arg1
);
42755 wxPyEndAllowThreads(__tstate
);
42756 if (PyErr_Occurred()) SWIG_fail
;
42759 wxGBPosition
* resultptr
;
42760 resultptr
= new wxGBPosition((wxGBPosition
&)(result
));
42761 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBPosition
, 1);
42769 static PyObject
*_wrap_GBSizerItem_GetGBSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42770 PyObject
*resultobj
;
42771 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
42772 wxGridBagSizer
*result
;
42773 PyObject
* obj0
= 0 ;
42774 char *kwnames
[] = {
42775 (char *) "self", NULL
42778 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBSizerItem_GetGBSizer",kwnames
,&obj0
)) goto fail
;
42779 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
42780 if (SWIG_arg_fail(1)) SWIG_fail
;
42782 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42783 result
= (wxGridBagSizer
*)((wxGBSizerItem
const *)arg1
)->GetGBSizer();
42785 wxPyEndAllowThreads(__tstate
);
42786 if (PyErr_Occurred()) SWIG_fail
;
42788 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGridBagSizer
, 0);
42795 static PyObject
*_wrap_GBSizerItem_SetGBSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42796 PyObject
*resultobj
;
42797 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
42798 wxGridBagSizer
*arg2
= (wxGridBagSizer
*) 0 ;
42799 PyObject
* obj0
= 0 ;
42800 PyObject
* obj1
= 0 ;
42801 char *kwnames
[] = {
42802 (char *) "self",(char *) "sizer", NULL
42805 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSizerItem_SetGBSizer",kwnames
,&obj0
,&obj1
)) goto fail
;
42806 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
42807 if (SWIG_arg_fail(1)) SWIG_fail
;
42808 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
42809 if (SWIG_arg_fail(2)) SWIG_fail
;
42811 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42812 (arg1
)->SetGBSizer(arg2
);
42814 wxPyEndAllowThreads(__tstate
);
42815 if (PyErr_Occurred()) SWIG_fail
;
42817 Py_INCREF(Py_None
); resultobj
= Py_None
;
42824 static PyObject
* GBSizerItem_swigregister(PyObject
*, PyObject
*args
) {
42826 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
42827 SWIG_TypeClientData(SWIGTYPE_p_wxGBSizerItem
, obj
);
42829 return Py_BuildValue((char *)"");
42831 static PyObject
*_wrap_new_GridBagSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42832 PyObject
*resultobj
;
42833 int arg1
= (int) 0 ;
42834 int arg2
= (int) 0 ;
42835 wxGridBagSizer
*result
;
42836 PyObject
* obj0
= 0 ;
42837 PyObject
* obj1
= 0 ;
42838 char *kwnames
[] = {
42839 (char *) "vgap",(char *) "hgap", NULL
42842 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_GridBagSizer",kwnames
,&obj0
,&obj1
)) goto fail
;
42845 arg1
= (int)(SWIG_As_int(obj0
));
42846 if (SWIG_arg_fail(1)) SWIG_fail
;
42851 arg2
= (int)(SWIG_As_int(obj1
));
42852 if (SWIG_arg_fail(2)) SWIG_fail
;
42856 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42857 result
= (wxGridBagSizer
*)new wxGridBagSizer(arg1
,arg2
);
42859 wxPyEndAllowThreads(__tstate
);
42860 if (PyErr_Occurred()) SWIG_fail
;
42862 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGridBagSizer
, 1);
42869 static PyObject
*_wrap_GridBagSizer_Add(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42870 PyObject
*resultobj
;
42871 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
42872 PyObject
*arg2
= (PyObject
*) 0 ;
42873 wxGBPosition
*arg3
= 0 ;
42874 wxGBSpan
const &arg4_defvalue
= wxDefaultSpan
;
42875 wxGBSpan
*arg4
= (wxGBSpan
*) &arg4_defvalue
;
42876 int arg5
= (int) 0 ;
42877 int arg6
= (int) 0 ;
42878 PyObject
*arg7
= (PyObject
*) NULL
;
42879 wxGBSizerItem
*result
;
42880 wxGBPosition temp3
;
42882 PyObject
* obj0
= 0 ;
42883 PyObject
* obj1
= 0 ;
42884 PyObject
* obj2
= 0 ;
42885 PyObject
* obj3
= 0 ;
42886 PyObject
* obj4
= 0 ;
42887 PyObject
* obj5
= 0 ;
42888 PyObject
* obj6
= 0 ;
42889 char *kwnames
[] = {
42890 (char *) "self",(char *) "item",(char *) "pos",(char *) "span",(char *) "flag",(char *) "border",(char *) "userData", NULL
42893 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:GridBagSizer_Add",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
42894 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
42895 if (SWIG_arg_fail(1)) SWIG_fail
;
42899 if ( ! wxGBPosition_helper(obj2
, &arg3
)) SWIG_fail
;
42904 if ( ! wxGBSpan_helper(obj3
, &arg4
)) SWIG_fail
;
42909 arg5
= (int)(SWIG_As_int(obj4
));
42910 if (SWIG_arg_fail(5)) SWIG_fail
;
42915 arg6
= (int)(SWIG_As_int(obj5
));
42916 if (SWIG_arg_fail(6)) SWIG_fail
;
42923 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42924 result
= (wxGBSizerItem
*)wxGridBagSizer_Add(arg1
,arg2
,(wxGBPosition
const &)*arg3
,(wxGBSpan
const &)*arg4
,arg5
,arg6
,arg7
);
42926 wxPyEndAllowThreads(__tstate
);
42927 if (PyErr_Occurred()) SWIG_fail
;
42929 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 0);
42936 static PyObject
*_wrap_GridBagSizer_AddItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42937 PyObject
*resultobj
;
42938 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
42939 wxGBSizerItem
*arg2
= (wxGBSizerItem
*) 0 ;
42940 wxGBSizerItem
*result
;
42941 PyObject
* obj0
= 0 ;
42942 PyObject
* obj1
= 0 ;
42943 char *kwnames
[] = {
42944 (char *) "self",(char *) "item", NULL
42947 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridBagSizer_AddItem",kwnames
,&obj0
,&obj1
)) goto fail
;
42948 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
42949 if (SWIG_arg_fail(1)) SWIG_fail
;
42950 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxGBSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
42951 if (SWIG_arg_fail(2)) SWIG_fail
;
42953 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42954 result
= (wxGBSizerItem
*)(arg1
)->Add(arg2
);
42956 wxPyEndAllowThreads(__tstate
);
42957 if (PyErr_Occurred()) SWIG_fail
;
42959 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 0);
42966 static PyObject
*_wrap_GridBagSizer_GetCellSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42967 PyObject
*resultobj
;
42968 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
42972 PyObject
* obj0
= 0 ;
42973 PyObject
* obj1
= 0 ;
42974 PyObject
* obj2
= 0 ;
42975 char *kwnames
[] = {
42976 (char *) "self",(char *) "row",(char *) "col", NULL
42979 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GridBagSizer_GetCellSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
42980 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
42981 if (SWIG_arg_fail(1)) SWIG_fail
;
42983 arg2
= (int)(SWIG_As_int(obj1
));
42984 if (SWIG_arg_fail(2)) SWIG_fail
;
42987 arg3
= (int)(SWIG_As_int(obj2
));
42988 if (SWIG_arg_fail(3)) SWIG_fail
;
42991 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42992 result
= ((wxGridBagSizer
const *)arg1
)->GetCellSize(arg2
,arg3
);
42994 wxPyEndAllowThreads(__tstate
);
42995 if (PyErr_Occurred()) SWIG_fail
;
42998 wxSize
* resultptr
;
42999 resultptr
= new wxSize((wxSize
&)(result
));
43000 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
43008 static PyObject
*_wrap_GridBagSizer_GetEmptyCellSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
43009 PyObject
*resultobj
;
43010 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
43012 PyObject
* obj0
= 0 ;
43013 char *kwnames
[] = {
43014 (char *) "self", NULL
43017 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridBagSizer_GetEmptyCellSize",kwnames
,&obj0
)) goto fail
;
43018 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
43019 if (SWIG_arg_fail(1)) SWIG_fail
;
43021 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43022 result
= ((wxGridBagSizer
const *)arg1
)->GetEmptyCellSize();
43024 wxPyEndAllowThreads(__tstate
);
43025 if (PyErr_Occurred()) SWIG_fail
;
43028 wxSize
* resultptr
;
43029 resultptr
= new wxSize((wxSize
&)(result
));
43030 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
43038 static PyObject
*_wrap_GridBagSizer_SetEmptyCellSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
43039 PyObject
*resultobj
;
43040 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
43043 PyObject
* obj0
= 0 ;
43044 PyObject
* obj1
= 0 ;
43045 char *kwnames
[] = {
43046 (char *) "self",(char *) "sz", NULL
43049 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridBagSizer_SetEmptyCellSize",kwnames
,&obj0
,&obj1
)) goto fail
;
43050 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
43051 if (SWIG_arg_fail(1)) SWIG_fail
;
43054 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
43057 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43058 (arg1
)->SetEmptyCellSize((wxSize
const &)*arg2
);
43060 wxPyEndAllowThreads(__tstate
);
43061 if (PyErr_Occurred()) SWIG_fail
;
43063 Py_INCREF(Py_None
); resultobj
= Py_None
;
43070 static PyObject
*_wrap_GridBagSizer_GetItemPosition__SWIG_0(PyObject
*, PyObject
*args
) {
43071 PyObject
*resultobj
;
43072 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
43073 wxWindow
*arg2
= (wxWindow
*) 0 ;
43074 wxGBPosition result
;
43075 PyObject
* obj0
= 0 ;
43076 PyObject
* obj1
= 0 ;
43078 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_GetItemPosition",&obj0
,&obj1
)) goto fail
;
43079 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
43080 if (SWIG_arg_fail(1)) SWIG_fail
;
43081 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
43082 if (SWIG_arg_fail(2)) SWIG_fail
;
43084 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43085 result
= (arg1
)->GetItemPosition(arg2
);
43087 wxPyEndAllowThreads(__tstate
);
43088 if (PyErr_Occurred()) SWIG_fail
;
43091 wxGBPosition
* resultptr
;
43092 resultptr
= new wxGBPosition((wxGBPosition
&)(result
));
43093 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBPosition
, 1);
43101 static PyObject
*_wrap_GridBagSizer_GetItemPosition__SWIG_1(PyObject
*, PyObject
*args
) {
43102 PyObject
*resultobj
;
43103 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
43104 wxSizer
*arg2
= (wxSizer
*) 0 ;
43105 wxGBPosition result
;
43106 PyObject
* obj0
= 0 ;
43107 PyObject
* obj1
= 0 ;
43109 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_GetItemPosition",&obj0
,&obj1
)) goto fail
;
43110 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
43111 if (SWIG_arg_fail(1)) SWIG_fail
;
43112 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
43113 if (SWIG_arg_fail(2)) SWIG_fail
;
43115 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43116 result
= (arg1
)->GetItemPosition(arg2
);
43118 wxPyEndAllowThreads(__tstate
);
43119 if (PyErr_Occurred()) SWIG_fail
;
43122 wxGBPosition
* resultptr
;
43123 resultptr
= new wxGBPosition((wxGBPosition
&)(result
));
43124 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBPosition
, 1);
43132 static PyObject
*_wrap_GridBagSizer_GetItemPosition__SWIG_2(PyObject
*, PyObject
*args
) {
43133 PyObject
*resultobj
;
43134 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
43136 wxGBPosition result
;
43137 PyObject
* obj0
= 0 ;
43138 PyObject
* obj1
= 0 ;
43140 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_GetItemPosition",&obj0
,&obj1
)) goto fail
;
43141 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
43142 if (SWIG_arg_fail(1)) SWIG_fail
;
43144 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
43145 if (SWIG_arg_fail(2)) SWIG_fail
;
43148 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43149 result
= (arg1
)->GetItemPosition(arg2
);
43151 wxPyEndAllowThreads(__tstate
);
43152 if (PyErr_Occurred()) SWIG_fail
;
43155 wxGBPosition
* resultptr
;
43156 resultptr
= new wxGBPosition((wxGBPosition
&)(result
));
43157 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBPosition
, 1);
43165 static PyObject
*_wrap_GridBagSizer_GetItemPosition(PyObject
*self
, PyObject
*args
) {
43170 argc
= PyObject_Length(args
);
43171 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
43172 argv
[ii
] = PyTuple_GetItem(args
,ii
);
43178 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
43188 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
43196 return _wrap_GridBagSizer_GetItemPosition__SWIG_0(self
,args
);
43204 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
43214 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxSizer
, 0) == -1) {
43222 return _wrap_GridBagSizer_GetItemPosition__SWIG_1(self
,args
);
43230 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
43238 _v
= SWIG_Check_unsigned_SS_long(argv
[1]);
43240 return _wrap_GridBagSizer_GetItemPosition__SWIG_2(self
,args
);
43245 PyErr_SetString(PyExc_NotImplementedError
,"No matching function for overloaded 'GridBagSizer_GetItemPosition'");
43250 static PyObject
*_wrap_GridBagSizer_SetItemPosition__SWIG_0(PyObject
*, PyObject
*args
) {
43251 PyObject
*resultobj
;
43252 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
43253 wxWindow
*arg2
= (wxWindow
*) 0 ;
43254 wxGBPosition
*arg3
= 0 ;
43256 wxGBPosition temp3
;
43257 PyObject
* obj0
= 0 ;
43258 PyObject
* obj1
= 0 ;
43259 PyObject
* obj2
= 0 ;
43261 if(!PyArg_ParseTuple(args
,(char *)"OOO:GridBagSizer_SetItemPosition",&obj0
,&obj1
,&obj2
)) goto fail
;
43262 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
43263 if (SWIG_arg_fail(1)) SWIG_fail
;
43264 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
43265 if (SWIG_arg_fail(2)) SWIG_fail
;
43268 if ( ! wxGBPosition_helper(obj2
, &arg3
)) SWIG_fail
;
43271 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43272 result
= (bool)(arg1
)->SetItemPosition(arg2
,(wxGBPosition
const &)*arg3
);
43274 wxPyEndAllowThreads(__tstate
);
43275 if (PyErr_Occurred()) SWIG_fail
;
43278 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
43286 static PyObject
*_wrap_GridBagSizer_SetItemPosition__SWIG_1(PyObject
*, PyObject
*args
) {
43287 PyObject
*resultobj
;
43288 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
43289 wxSizer
*arg2
= (wxSizer
*) 0 ;
43290 wxGBPosition
*arg3
= 0 ;
43292 wxGBPosition temp3
;
43293 PyObject
* obj0
= 0 ;
43294 PyObject
* obj1
= 0 ;
43295 PyObject
* obj2
= 0 ;
43297 if(!PyArg_ParseTuple(args
,(char *)"OOO:GridBagSizer_SetItemPosition",&obj0
,&obj1
,&obj2
)) goto fail
;
43298 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
43299 if (SWIG_arg_fail(1)) SWIG_fail
;
43300 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
43301 if (SWIG_arg_fail(2)) SWIG_fail
;
43304 if ( ! wxGBPosition_helper(obj2
, &arg3
)) SWIG_fail
;
43307 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43308 result
= (bool)(arg1
)->SetItemPosition(arg2
,(wxGBPosition
const &)*arg3
);
43310 wxPyEndAllowThreads(__tstate
);
43311 if (PyErr_Occurred()) SWIG_fail
;
43314 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
43322 static PyObject
*_wrap_GridBagSizer_SetItemPosition__SWIG_2(PyObject
*, PyObject
*args
) {
43323 PyObject
*resultobj
;
43324 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
43326 wxGBPosition
*arg3
= 0 ;
43328 wxGBPosition temp3
;
43329 PyObject
* obj0
= 0 ;
43330 PyObject
* obj1
= 0 ;
43331 PyObject
* obj2
= 0 ;
43333 if(!PyArg_ParseTuple(args
,(char *)"OOO:GridBagSizer_SetItemPosition",&obj0
,&obj1
,&obj2
)) goto fail
;
43334 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
43335 if (SWIG_arg_fail(1)) SWIG_fail
;
43337 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
43338 if (SWIG_arg_fail(2)) SWIG_fail
;
43342 if ( ! wxGBPosition_helper(obj2
, &arg3
)) SWIG_fail
;
43345 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43346 result
= (bool)(arg1
)->SetItemPosition(arg2
,(wxGBPosition
const &)*arg3
);
43348 wxPyEndAllowThreads(__tstate
);
43349 if (PyErr_Occurred()) SWIG_fail
;
43352 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
43360 static PyObject
*_wrap_GridBagSizer_SetItemPosition(PyObject
*self
, PyObject
*args
) {
43365 argc
= PyObject_Length(args
);
43366 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
43367 argv
[ii
] = PyTuple_GetItem(args
,ii
);
43373 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
43383 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
43392 _v
= wxPySimple_typecheck(argv
[2], wxT("wxGBPosition"), 2);
43395 return _wrap_GridBagSizer_SetItemPosition__SWIG_0(self
,args
);
43404 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
43414 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxSizer
, 0) == -1) {
43423 _v
= wxPySimple_typecheck(argv
[2], wxT("wxGBPosition"), 2);
43426 return _wrap_GridBagSizer_SetItemPosition__SWIG_1(self
,args
);
43435 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
43443 _v
= SWIG_Check_unsigned_SS_long(argv
[1]);
43446 _v
= wxPySimple_typecheck(argv
[2], wxT("wxGBPosition"), 2);
43449 return _wrap_GridBagSizer_SetItemPosition__SWIG_2(self
,args
);
43455 PyErr_SetString(PyExc_NotImplementedError
,"No matching function for overloaded 'GridBagSizer_SetItemPosition'");
43460 static PyObject
*_wrap_GridBagSizer_GetItemSpan__SWIG_0(PyObject
*, PyObject
*args
) {
43461 PyObject
*resultobj
;
43462 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
43463 wxWindow
*arg2
= (wxWindow
*) 0 ;
43465 PyObject
* obj0
= 0 ;
43466 PyObject
* obj1
= 0 ;
43468 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_GetItemSpan",&obj0
,&obj1
)) goto fail
;
43469 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
43470 if (SWIG_arg_fail(1)) SWIG_fail
;
43471 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
43472 if (SWIG_arg_fail(2)) SWIG_fail
;
43474 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43475 result
= (arg1
)->GetItemSpan(arg2
);
43477 wxPyEndAllowThreads(__tstate
);
43478 if (PyErr_Occurred()) SWIG_fail
;
43481 wxGBSpan
* resultptr
;
43482 resultptr
= new wxGBSpan((wxGBSpan
&)(result
));
43483 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBSpan
, 1);
43491 static PyObject
*_wrap_GridBagSizer_GetItemSpan__SWIG_1(PyObject
*, PyObject
*args
) {
43492 PyObject
*resultobj
;
43493 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
43494 wxSizer
*arg2
= (wxSizer
*) 0 ;
43496 PyObject
* obj0
= 0 ;
43497 PyObject
* obj1
= 0 ;
43499 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_GetItemSpan",&obj0
,&obj1
)) goto fail
;
43500 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
43501 if (SWIG_arg_fail(1)) SWIG_fail
;
43502 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
43503 if (SWIG_arg_fail(2)) SWIG_fail
;
43505 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43506 result
= (arg1
)->GetItemSpan(arg2
);
43508 wxPyEndAllowThreads(__tstate
);
43509 if (PyErr_Occurred()) SWIG_fail
;
43512 wxGBSpan
* resultptr
;
43513 resultptr
= new wxGBSpan((wxGBSpan
&)(result
));
43514 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBSpan
, 1);
43522 static PyObject
*_wrap_GridBagSizer_GetItemSpan__SWIG_2(PyObject
*, PyObject
*args
) {
43523 PyObject
*resultobj
;
43524 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
43527 PyObject
* obj0
= 0 ;
43528 PyObject
* obj1
= 0 ;
43530 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_GetItemSpan",&obj0
,&obj1
)) goto fail
;
43531 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
43532 if (SWIG_arg_fail(1)) SWIG_fail
;
43534 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
43535 if (SWIG_arg_fail(2)) SWIG_fail
;
43538 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43539 result
= (arg1
)->GetItemSpan(arg2
);
43541 wxPyEndAllowThreads(__tstate
);
43542 if (PyErr_Occurred()) SWIG_fail
;
43545 wxGBSpan
* resultptr
;
43546 resultptr
= new wxGBSpan((wxGBSpan
&)(result
));
43547 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBSpan
, 1);
43555 static PyObject
*_wrap_GridBagSizer_GetItemSpan(PyObject
*self
, PyObject
*args
) {
43560 argc
= PyObject_Length(args
);
43561 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
43562 argv
[ii
] = PyTuple_GetItem(args
,ii
);
43568 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
43578 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
43586 return _wrap_GridBagSizer_GetItemSpan__SWIG_0(self
,args
);
43594 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
43604 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxSizer
, 0) == -1) {
43612 return _wrap_GridBagSizer_GetItemSpan__SWIG_1(self
,args
);
43620 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
43628 _v
= SWIG_Check_unsigned_SS_long(argv
[1]);
43630 return _wrap_GridBagSizer_GetItemSpan__SWIG_2(self
,args
);
43635 PyErr_SetString(PyExc_NotImplementedError
,"No matching function for overloaded 'GridBagSizer_GetItemSpan'");
43640 static PyObject
*_wrap_GridBagSizer_SetItemSpan__SWIG_0(PyObject
*, PyObject
*args
) {
43641 PyObject
*resultobj
;
43642 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
43643 wxWindow
*arg2
= (wxWindow
*) 0 ;
43644 wxGBSpan
*arg3
= 0 ;
43647 PyObject
* obj0
= 0 ;
43648 PyObject
* obj1
= 0 ;
43649 PyObject
* obj2
= 0 ;
43651 if(!PyArg_ParseTuple(args
,(char *)"OOO:GridBagSizer_SetItemSpan",&obj0
,&obj1
,&obj2
)) goto fail
;
43652 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
43653 if (SWIG_arg_fail(1)) SWIG_fail
;
43654 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
43655 if (SWIG_arg_fail(2)) SWIG_fail
;
43658 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
43661 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43662 result
= (bool)(arg1
)->SetItemSpan(arg2
,(wxGBSpan
const &)*arg3
);
43664 wxPyEndAllowThreads(__tstate
);
43665 if (PyErr_Occurred()) SWIG_fail
;
43668 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
43676 static PyObject
*_wrap_GridBagSizer_SetItemSpan__SWIG_1(PyObject
*, PyObject
*args
) {
43677 PyObject
*resultobj
;
43678 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
43679 wxSizer
*arg2
= (wxSizer
*) 0 ;
43680 wxGBSpan
*arg3
= 0 ;
43683 PyObject
* obj0
= 0 ;
43684 PyObject
* obj1
= 0 ;
43685 PyObject
* obj2
= 0 ;
43687 if(!PyArg_ParseTuple(args
,(char *)"OOO:GridBagSizer_SetItemSpan",&obj0
,&obj1
,&obj2
)) goto fail
;
43688 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
43689 if (SWIG_arg_fail(1)) SWIG_fail
;
43690 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
43691 if (SWIG_arg_fail(2)) SWIG_fail
;
43694 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
43697 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43698 result
= (bool)(arg1
)->SetItemSpan(arg2
,(wxGBSpan
const &)*arg3
);
43700 wxPyEndAllowThreads(__tstate
);
43701 if (PyErr_Occurred()) SWIG_fail
;
43704 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
43712 static PyObject
*_wrap_GridBagSizer_SetItemSpan__SWIG_2(PyObject
*, PyObject
*args
) {
43713 PyObject
*resultobj
;
43714 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
43716 wxGBSpan
*arg3
= 0 ;
43719 PyObject
* obj0
= 0 ;
43720 PyObject
* obj1
= 0 ;
43721 PyObject
* obj2
= 0 ;
43723 if(!PyArg_ParseTuple(args
,(char *)"OOO:GridBagSizer_SetItemSpan",&obj0
,&obj1
,&obj2
)) goto fail
;
43724 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
43725 if (SWIG_arg_fail(1)) SWIG_fail
;
43727 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
43728 if (SWIG_arg_fail(2)) SWIG_fail
;
43732 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
43735 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43736 result
= (bool)(arg1
)->SetItemSpan(arg2
,(wxGBSpan
const &)*arg3
);
43738 wxPyEndAllowThreads(__tstate
);
43739 if (PyErr_Occurred()) SWIG_fail
;
43742 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
43750 static PyObject
*_wrap_GridBagSizer_SetItemSpan(PyObject
*self
, PyObject
*args
) {
43755 argc
= PyObject_Length(args
);
43756 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
43757 argv
[ii
] = PyTuple_GetItem(args
,ii
);
43763 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
43773 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
43782 _v
= wxPySimple_typecheck(argv
[2], wxT("wxGBSpan"), 2);
43785 return _wrap_GridBagSizer_SetItemSpan__SWIG_0(self
,args
);
43794 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
43804 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxSizer
, 0) == -1) {
43813 _v
= wxPySimple_typecheck(argv
[2], wxT("wxGBSpan"), 2);
43816 return _wrap_GridBagSizer_SetItemSpan__SWIG_1(self
,args
);
43825 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
43833 _v
= SWIG_Check_unsigned_SS_long(argv
[1]);
43836 _v
= wxPySimple_typecheck(argv
[2], wxT("wxGBSpan"), 2);
43839 return _wrap_GridBagSizer_SetItemSpan__SWIG_2(self
,args
);
43845 PyErr_SetString(PyExc_NotImplementedError
,"No matching function for overloaded 'GridBagSizer_SetItemSpan'");
43850 static PyObject
*_wrap_GridBagSizer_FindItem__SWIG_0(PyObject
*, PyObject
*args
) {
43851 PyObject
*resultobj
;
43852 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
43853 wxWindow
*arg2
= (wxWindow
*) 0 ;
43854 wxGBSizerItem
*result
;
43855 PyObject
* obj0
= 0 ;
43856 PyObject
* obj1
= 0 ;
43858 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_FindItem",&obj0
,&obj1
)) goto fail
;
43859 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
43860 if (SWIG_arg_fail(1)) SWIG_fail
;
43861 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
43862 if (SWIG_arg_fail(2)) SWIG_fail
;
43864 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43865 result
= (wxGBSizerItem
*)(arg1
)->FindItem(arg2
);
43867 wxPyEndAllowThreads(__tstate
);
43868 if (PyErr_Occurred()) SWIG_fail
;
43870 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 0);
43877 static PyObject
*_wrap_GridBagSizer_FindItem__SWIG_1(PyObject
*, PyObject
*args
) {
43878 PyObject
*resultobj
;
43879 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
43880 wxSizer
*arg2
= (wxSizer
*) 0 ;
43881 wxGBSizerItem
*result
;
43882 PyObject
* obj0
= 0 ;
43883 PyObject
* obj1
= 0 ;
43885 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_FindItem",&obj0
,&obj1
)) goto fail
;
43886 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
43887 if (SWIG_arg_fail(1)) SWIG_fail
;
43888 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
43889 if (SWIG_arg_fail(2)) SWIG_fail
;
43891 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43892 result
= (wxGBSizerItem
*)(arg1
)->FindItem(arg2
);
43894 wxPyEndAllowThreads(__tstate
);
43895 if (PyErr_Occurred()) SWIG_fail
;
43897 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 0);
43904 static PyObject
*_wrap_GridBagSizer_FindItem(PyObject
*self
, PyObject
*args
) {
43909 argc
= PyObject_Length(args
);
43910 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
43911 argv
[ii
] = PyTuple_GetItem(args
,ii
);
43917 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
43927 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
43935 return _wrap_GridBagSizer_FindItem__SWIG_0(self
,args
);
43943 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
43953 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxSizer
, 0) == -1) {
43961 return _wrap_GridBagSizer_FindItem__SWIG_1(self
,args
);
43966 PyErr_SetString(PyExc_NotImplementedError
,"No matching function for overloaded 'GridBagSizer_FindItem'");
43971 static PyObject
*_wrap_GridBagSizer_FindItemAtPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
43972 PyObject
*resultobj
;
43973 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
43974 wxGBPosition
*arg2
= 0 ;
43975 wxGBSizerItem
*result
;
43976 wxGBPosition temp2
;
43977 PyObject
* obj0
= 0 ;
43978 PyObject
* obj1
= 0 ;
43979 char *kwnames
[] = {
43980 (char *) "self",(char *) "pos", NULL
43983 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridBagSizer_FindItemAtPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
43984 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
43985 if (SWIG_arg_fail(1)) SWIG_fail
;
43988 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
43991 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43992 result
= (wxGBSizerItem
*)(arg1
)->FindItemAtPosition((wxGBPosition
const &)*arg2
);
43994 wxPyEndAllowThreads(__tstate
);
43995 if (PyErr_Occurred()) SWIG_fail
;
43997 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 0);
44004 static PyObject
*_wrap_GridBagSizer_FindItemAtPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44005 PyObject
*resultobj
;
44006 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
44007 wxPoint
*arg2
= 0 ;
44008 wxGBSizerItem
*result
;
44010 PyObject
* obj0
= 0 ;
44011 PyObject
* obj1
= 0 ;
44012 char *kwnames
[] = {
44013 (char *) "self",(char *) "pt", NULL
44016 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridBagSizer_FindItemAtPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
44017 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
44018 if (SWIG_arg_fail(1)) SWIG_fail
;
44021 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
44024 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44025 result
= (wxGBSizerItem
*)(arg1
)->FindItemAtPoint((wxPoint
const &)*arg2
);
44027 wxPyEndAllowThreads(__tstate
);
44028 if (PyErr_Occurred()) SWIG_fail
;
44030 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 0);
44037 static PyObject
*_wrap_GridBagSizer_CheckForIntersection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44038 PyObject
*resultobj
;
44039 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
44040 wxGBSizerItem
*arg2
= (wxGBSizerItem
*) 0 ;
44041 wxGBSizerItem
*arg3
= (wxGBSizerItem
*) NULL
;
44043 PyObject
* obj0
= 0 ;
44044 PyObject
* obj1
= 0 ;
44045 PyObject
* obj2
= 0 ;
44046 char *kwnames
[] = {
44047 (char *) "self",(char *) "item",(char *) "excludeItem", NULL
44050 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:GridBagSizer_CheckForIntersection",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
44051 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
44052 if (SWIG_arg_fail(1)) SWIG_fail
;
44053 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxGBSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
44054 if (SWIG_arg_fail(2)) SWIG_fail
;
44056 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxGBSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
44057 if (SWIG_arg_fail(3)) SWIG_fail
;
44060 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44061 result
= (bool)(arg1
)->CheckForIntersection(arg2
,arg3
);
44063 wxPyEndAllowThreads(__tstate
);
44064 if (PyErr_Occurred()) SWIG_fail
;
44067 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
44075 static PyObject
*_wrap_GridBagSizer_CheckForIntersectionPos(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44076 PyObject
*resultobj
;
44077 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
44078 wxGBPosition
*arg2
= 0 ;
44079 wxGBSpan
*arg3
= 0 ;
44080 wxGBSizerItem
*arg4
= (wxGBSizerItem
*) NULL
;
44082 wxGBPosition temp2
;
44084 PyObject
* obj0
= 0 ;
44085 PyObject
* obj1
= 0 ;
44086 PyObject
* obj2
= 0 ;
44087 PyObject
* obj3
= 0 ;
44088 char *kwnames
[] = {
44089 (char *) "self",(char *) "pos",(char *) "span",(char *) "excludeItem", NULL
44092 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:GridBagSizer_CheckForIntersectionPos",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
44093 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
44094 if (SWIG_arg_fail(1)) SWIG_fail
;
44097 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
44101 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
44104 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxGBSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
44105 if (SWIG_arg_fail(4)) SWIG_fail
;
44108 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44109 result
= (bool)(arg1
)->CheckForIntersection((wxGBPosition
const &)*arg2
,(wxGBSpan
const &)*arg3
,arg4
);
44111 wxPyEndAllowThreads(__tstate
);
44112 if (PyErr_Occurred()) SWIG_fail
;
44115 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
44123 static PyObject
* GridBagSizer_swigregister(PyObject
*, PyObject
*args
) {
44125 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
44126 SWIG_TypeClientData(SWIGTYPE_p_wxGridBagSizer
, obj
);
44128 return Py_BuildValue((char *)"");
44130 static PyObject
*_wrap_IndividualLayoutConstraint_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44131 PyObject
*resultobj
;
44132 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
44133 wxRelationship arg2
;
44134 wxWindow
*arg3
= (wxWindow
*) 0 ;
44136 int arg5
= (int) 0 ;
44137 int arg6
= (int) wxLAYOUT_DEFAULT_MARGIN
;
44138 PyObject
* obj0
= 0 ;
44139 PyObject
* obj1
= 0 ;
44140 PyObject
* obj2
= 0 ;
44141 PyObject
* obj3
= 0 ;
44142 PyObject
* obj4
= 0 ;
44143 PyObject
* obj5
= 0 ;
44144 char *kwnames
[] = {
44145 (char *) "self",(char *) "rel",(char *) "otherW",(char *) "otherE",(char *) "val",(char *) "marg", NULL
44148 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:IndividualLayoutConstraint_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
44149 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
44150 if (SWIG_arg_fail(1)) SWIG_fail
;
44152 arg2
= (wxRelationship
)(SWIG_As_int(obj1
));
44153 if (SWIG_arg_fail(2)) SWIG_fail
;
44155 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
44156 if (SWIG_arg_fail(3)) SWIG_fail
;
44158 arg4
= (wxEdge
)(SWIG_As_int(obj3
));
44159 if (SWIG_arg_fail(4)) SWIG_fail
;
44163 arg5
= (int)(SWIG_As_int(obj4
));
44164 if (SWIG_arg_fail(5)) SWIG_fail
;
44169 arg6
= (int)(SWIG_As_int(obj5
));
44170 if (SWIG_arg_fail(6)) SWIG_fail
;
44174 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44175 (arg1
)->Set((wxRelationship
)arg2
,arg3
,(wxEdge
)arg4
,arg5
,arg6
);
44177 wxPyEndAllowThreads(__tstate
);
44178 if (PyErr_Occurred()) SWIG_fail
;
44180 Py_INCREF(Py_None
); resultobj
= Py_None
;
44187 static PyObject
*_wrap_IndividualLayoutConstraint_LeftOf(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44188 PyObject
*resultobj
;
44189 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
44190 wxWindow
*arg2
= (wxWindow
*) 0 ;
44191 int arg3
= (int) 0 ;
44192 PyObject
* obj0
= 0 ;
44193 PyObject
* obj1
= 0 ;
44194 PyObject
* obj2
= 0 ;
44195 char *kwnames
[] = {
44196 (char *) "self",(char *) "sibling",(char *) "marg", NULL
44199 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:IndividualLayoutConstraint_LeftOf",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
44200 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
44201 if (SWIG_arg_fail(1)) SWIG_fail
;
44202 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
44203 if (SWIG_arg_fail(2)) SWIG_fail
;
44206 arg3
= (int)(SWIG_As_int(obj2
));
44207 if (SWIG_arg_fail(3)) SWIG_fail
;
44211 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44212 (arg1
)->LeftOf(arg2
,arg3
);
44214 wxPyEndAllowThreads(__tstate
);
44215 if (PyErr_Occurred()) SWIG_fail
;
44217 Py_INCREF(Py_None
); resultobj
= Py_None
;
44224 static PyObject
*_wrap_IndividualLayoutConstraint_RightOf(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44225 PyObject
*resultobj
;
44226 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
44227 wxWindow
*arg2
= (wxWindow
*) 0 ;
44228 int arg3
= (int) 0 ;
44229 PyObject
* obj0
= 0 ;
44230 PyObject
* obj1
= 0 ;
44231 PyObject
* obj2
= 0 ;
44232 char *kwnames
[] = {
44233 (char *) "self",(char *) "sibling",(char *) "marg", NULL
44236 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:IndividualLayoutConstraint_RightOf",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
44237 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
44238 if (SWIG_arg_fail(1)) SWIG_fail
;
44239 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
44240 if (SWIG_arg_fail(2)) SWIG_fail
;
44243 arg3
= (int)(SWIG_As_int(obj2
));
44244 if (SWIG_arg_fail(3)) SWIG_fail
;
44248 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44249 (arg1
)->RightOf(arg2
,arg3
);
44251 wxPyEndAllowThreads(__tstate
);
44252 if (PyErr_Occurred()) SWIG_fail
;
44254 Py_INCREF(Py_None
); resultobj
= Py_None
;
44261 static PyObject
*_wrap_IndividualLayoutConstraint_Above(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44262 PyObject
*resultobj
;
44263 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
44264 wxWindow
*arg2
= (wxWindow
*) 0 ;
44265 int arg3
= (int) 0 ;
44266 PyObject
* obj0
= 0 ;
44267 PyObject
* obj1
= 0 ;
44268 PyObject
* obj2
= 0 ;
44269 char *kwnames
[] = {
44270 (char *) "self",(char *) "sibling",(char *) "marg", NULL
44273 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:IndividualLayoutConstraint_Above",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
44274 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
44275 if (SWIG_arg_fail(1)) SWIG_fail
;
44276 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
44277 if (SWIG_arg_fail(2)) SWIG_fail
;
44280 arg3
= (int)(SWIG_As_int(obj2
));
44281 if (SWIG_arg_fail(3)) SWIG_fail
;
44285 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44286 (arg1
)->Above(arg2
,arg3
);
44288 wxPyEndAllowThreads(__tstate
);
44289 if (PyErr_Occurred()) SWIG_fail
;
44291 Py_INCREF(Py_None
); resultobj
= Py_None
;
44298 static PyObject
*_wrap_IndividualLayoutConstraint_Below(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44299 PyObject
*resultobj
;
44300 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
44301 wxWindow
*arg2
= (wxWindow
*) 0 ;
44302 int arg3
= (int) 0 ;
44303 PyObject
* obj0
= 0 ;
44304 PyObject
* obj1
= 0 ;
44305 PyObject
* obj2
= 0 ;
44306 char *kwnames
[] = {
44307 (char *) "self",(char *) "sibling",(char *) "marg", NULL
44310 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:IndividualLayoutConstraint_Below",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
44311 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
44312 if (SWIG_arg_fail(1)) SWIG_fail
;
44313 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
44314 if (SWIG_arg_fail(2)) SWIG_fail
;
44317 arg3
= (int)(SWIG_As_int(obj2
));
44318 if (SWIG_arg_fail(3)) SWIG_fail
;
44322 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44323 (arg1
)->Below(arg2
,arg3
);
44325 wxPyEndAllowThreads(__tstate
);
44326 if (PyErr_Occurred()) SWIG_fail
;
44328 Py_INCREF(Py_None
); resultobj
= Py_None
;
44335 static PyObject
*_wrap_IndividualLayoutConstraint_SameAs(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44336 PyObject
*resultobj
;
44337 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
44338 wxWindow
*arg2
= (wxWindow
*) 0 ;
44340 int arg4
= (int) 0 ;
44341 PyObject
* obj0
= 0 ;
44342 PyObject
* obj1
= 0 ;
44343 PyObject
* obj2
= 0 ;
44344 PyObject
* obj3
= 0 ;
44345 char *kwnames
[] = {
44346 (char *) "self",(char *) "otherW",(char *) "edge",(char *) "marg", NULL
44349 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:IndividualLayoutConstraint_SameAs",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
44350 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
44351 if (SWIG_arg_fail(1)) SWIG_fail
;
44352 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
44353 if (SWIG_arg_fail(2)) SWIG_fail
;
44355 arg3
= (wxEdge
)(SWIG_As_int(obj2
));
44356 if (SWIG_arg_fail(3)) SWIG_fail
;
44360 arg4
= (int)(SWIG_As_int(obj3
));
44361 if (SWIG_arg_fail(4)) SWIG_fail
;
44365 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44366 (arg1
)->SameAs(arg2
,(wxEdge
)arg3
,arg4
);
44368 wxPyEndAllowThreads(__tstate
);
44369 if (PyErr_Occurred()) SWIG_fail
;
44371 Py_INCREF(Py_None
); resultobj
= Py_None
;
44378 static PyObject
*_wrap_IndividualLayoutConstraint_PercentOf(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44379 PyObject
*resultobj
;
44380 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
44381 wxWindow
*arg2
= (wxWindow
*) 0 ;
44384 PyObject
* obj0
= 0 ;
44385 PyObject
* obj1
= 0 ;
44386 PyObject
* obj2
= 0 ;
44387 PyObject
* obj3
= 0 ;
44388 char *kwnames
[] = {
44389 (char *) "self",(char *) "otherW",(char *) "wh",(char *) "per", NULL
44392 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:IndividualLayoutConstraint_PercentOf",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
44393 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
44394 if (SWIG_arg_fail(1)) SWIG_fail
;
44395 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
44396 if (SWIG_arg_fail(2)) SWIG_fail
;
44398 arg3
= (wxEdge
)(SWIG_As_int(obj2
));
44399 if (SWIG_arg_fail(3)) SWIG_fail
;
44402 arg4
= (int)(SWIG_As_int(obj3
));
44403 if (SWIG_arg_fail(4)) SWIG_fail
;
44406 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44407 (arg1
)->PercentOf(arg2
,(wxEdge
)arg3
,arg4
);
44409 wxPyEndAllowThreads(__tstate
);
44410 if (PyErr_Occurred()) SWIG_fail
;
44412 Py_INCREF(Py_None
); resultobj
= Py_None
;
44419 static PyObject
*_wrap_IndividualLayoutConstraint_Absolute(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44420 PyObject
*resultobj
;
44421 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
44423 PyObject
* obj0
= 0 ;
44424 PyObject
* obj1
= 0 ;
44425 char *kwnames
[] = {
44426 (char *) "self",(char *) "val", NULL
44429 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_Absolute",kwnames
,&obj0
,&obj1
)) goto fail
;
44430 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
44431 if (SWIG_arg_fail(1)) SWIG_fail
;
44433 arg2
= (int)(SWIG_As_int(obj1
));
44434 if (SWIG_arg_fail(2)) SWIG_fail
;
44437 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44438 (arg1
)->Absolute(arg2
);
44440 wxPyEndAllowThreads(__tstate
);
44441 if (PyErr_Occurred()) SWIG_fail
;
44443 Py_INCREF(Py_None
); resultobj
= Py_None
;
44450 static PyObject
*_wrap_IndividualLayoutConstraint_Unconstrained(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44451 PyObject
*resultobj
;
44452 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
44453 PyObject
* obj0
= 0 ;
44454 char *kwnames
[] = {
44455 (char *) "self", NULL
44458 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_Unconstrained",kwnames
,&obj0
)) goto fail
;
44459 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
44460 if (SWIG_arg_fail(1)) SWIG_fail
;
44462 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44463 (arg1
)->Unconstrained();
44465 wxPyEndAllowThreads(__tstate
);
44466 if (PyErr_Occurred()) SWIG_fail
;
44468 Py_INCREF(Py_None
); resultobj
= Py_None
;
44475 static PyObject
*_wrap_IndividualLayoutConstraint_AsIs(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44476 PyObject
*resultobj
;
44477 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
44478 PyObject
* obj0
= 0 ;
44479 char *kwnames
[] = {
44480 (char *) "self", NULL
44483 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_AsIs",kwnames
,&obj0
)) goto fail
;
44484 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
44485 if (SWIG_arg_fail(1)) SWIG_fail
;
44487 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44490 wxPyEndAllowThreads(__tstate
);
44491 if (PyErr_Occurred()) SWIG_fail
;
44493 Py_INCREF(Py_None
); resultobj
= Py_None
;
44500 static PyObject
*_wrap_IndividualLayoutConstraint_GetOtherWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44501 PyObject
*resultobj
;
44502 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
44504 PyObject
* obj0
= 0 ;
44505 char *kwnames
[] = {
44506 (char *) "self", NULL
44509 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetOtherWindow",kwnames
,&obj0
)) goto fail
;
44510 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
44511 if (SWIG_arg_fail(1)) SWIG_fail
;
44513 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44514 result
= (wxWindow
*)(arg1
)->GetOtherWindow();
44516 wxPyEndAllowThreads(__tstate
);
44517 if (PyErr_Occurred()) SWIG_fail
;
44520 resultobj
= wxPyMake_wxObject(result
, 0);
44528 static PyObject
*_wrap_IndividualLayoutConstraint_GetMyEdge(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44529 PyObject
*resultobj
;
44530 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
44532 PyObject
* obj0
= 0 ;
44533 char *kwnames
[] = {
44534 (char *) "self", NULL
44537 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetMyEdge",kwnames
,&obj0
)) goto fail
;
44538 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
44539 if (SWIG_arg_fail(1)) SWIG_fail
;
44541 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44542 result
= (wxEdge
)((wxIndividualLayoutConstraint
const *)arg1
)->GetMyEdge();
44544 wxPyEndAllowThreads(__tstate
);
44545 if (PyErr_Occurred()) SWIG_fail
;
44547 resultobj
= SWIG_From_int((result
));
44554 static PyObject
*_wrap_IndividualLayoutConstraint_SetEdge(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44555 PyObject
*resultobj
;
44556 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
44558 PyObject
* obj0
= 0 ;
44559 PyObject
* obj1
= 0 ;
44560 char *kwnames
[] = {
44561 (char *) "self",(char *) "which", NULL
44564 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_SetEdge",kwnames
,&obj0
,&obj1
)) goto fail
;
44565 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
44566 if (SWIG_arg_fail(1)) SWIG_fail
;
44568 arg2
= (wxEdge
)(SWIG_As_int(obj1
));
44569 if (SWIG_arg_fail(2)) SWIG_fail
;
44572 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44573 (arg1
)->SetEdge((wxEdge
)arg2
);
44575 wxPyEndAllowThreads(__tstate
);
44576 if (PyErr_Occurred()) SWIG_fail
;
44578 Py_INCREF(Py_None
); resultobj
= Py_None
;
44585 static PyObject
*_wrap_IndividualLayoutConstraint_SetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44586 PyObject
*resultobj
;
44587 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
44589 PyObject
* obj0
= 0 ;
44590 PyObject
* obj1
= 0 ;
44591 char *kwnames
[] = {
44592 (char *) "self",(char *) "v", NULL
44595 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
44596 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
44597 if (SWIG_arg_fail(1)) SWIG_fail
;
44599 arg2
= (int)(SWIG_As_int(obj1
));
44600 if (SWIG_arg_fail(2)) SWIG_fail
;
44603 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44604 (arg1
)->SetValue(arg2
);
44606 wxPyEndAllowThreads(__tstate
);
44607 if (PyErr_Occurred()) SWIG_fail
;
44609 Py_INCREF(Py_None
); resultobj
= Py_None
;
44616 static PyObject
*_wrap_IndividualLayoutConstraint_GetMargin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44617 PyObject
*resultobj
;
44618 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
44620 PyObject
* obj0
= 0 ;
44621 char *kwnames
[] = {
44622 (char *) "self", NULL
44625 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetMargin",kwnames
,&obj0
)) goto fail
;
44626 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
44627 if (SWIG_arg_fail(1)) SWIG_fail
;
44629 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44630 result
= (int)(arg1
)->GetMargin();
44632 wxPyEndAllowThreads(__tstate
);
44633 if (PyErr_Occurred()) SWIG_fail
;
44636 resultobj
= SWIG_From_int((int)(result
));
44644 static PyObject
*_wrap_IndividualLayoutConstraint_SetMargin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44645 PyObject
*resultobj
;
44646 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
44648 PyObject
* obj0
= 0 ;
44649 PyObject
* obj1
= 0 ;
44650 char *kwnames
[] = {
44651 (char *) "self",(char *) "m", NULL
44654 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_SetMargin",kwnames
,&obj0
,&obj1
)) goto fail
;
44655 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
44656 if (SWIG_arg_fail(1)) SWIG_fail
;
44658 arg2
= (int)(SWIG_As_int(obj1
));
44659 if (SWIG_arg_fail(2)) SWIG_fail
;
44662 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44663 (arg1
)->SetMargin(arg2
);
44665 wxPyEndAllowThreads(__tstate
);
44666 if (PyErr_Occurred()) SWIG_fail
;
44668 Py_INCREF(Py_None
); resultobj
= Py_None
;
44675 static PyObject
*_wrap_IndividualLayoutConstraint_GetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44676 PyObject
*resultobj
;
44677 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
44679 PyObject
* obj0
= 0 ;
44680 char *kwnames
[] = {
44681 (char *) "self", NULL
44684 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetValue",kwnames
,&obj0
)) goto fail
;
44685 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
44686 if (SWIG_arg_fail(1)) SWIG_fail
;
44688 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44689 result
= (int)((wxIndividualLayoutConstraint
const *)arg1
)->GetValue();
44691 wxPyEndAllowThreads(__tstate
);
44692 if (PyErr_Occurred()) SWIG_fail
;
44695 resultobj
= SWIG_From_int((int)(result
));
44703 static PyObject
*_wrap_IndividualLayoutConstraint_GetPercent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44704 PyObject
*resultobj
;
44705 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
44707 PyObject
* obj0
= 0 ;
44708 char *kwnames
[] = {
44709 (char *) "self", NULL
44712 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetPercent",kwnames
,&obj0
)) goto fail
;
44713 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
44714 if (SWIG_arg_fail(1)) SWIG_fail
;
44716 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44717 result
= (int)((wxIndividualLayoutConstraint
const *)arg1
)->GetPercent();
44719 wxPyEndAllowThreads(__tstate
);
44720 if (PyErr_Occurred()) SWIG_fail
;
44723 resultobj
= SWIG_From_int((int)(result
));
44731 static PyObject
*_wrap_IndividualLayoutConstraint_GetOtherEdge(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44732 PyObject
*resultobj
;
44733 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
44735 PyObject
* obj0
= 0 ;
44736 char *kwnames
[] = {
44737 (char *) "self", NULL
44740 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetOtherEdge",kwnames
,&obj0
)) 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 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44745 result
= (int)((wxIndividualLayoutConstraint
const *)arg1
)->GetOtherEdge();
44747 wxPyEndAllowThreads(__tstate
);
44748 if (PyErr_Occurred()) SWIG_fail
;
44751 resultobj
= SWIG_From_int((int)(result
));
44759 static PyObject
*_wrap_IndividualLayoutConstraint_GetDone(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44760 PyObject
*resultobj
;
44761 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
44763 PyObject
* obj0
= 0 ;
44764 char *kwnames
[] = {
44765 (char *) "self", NULL
44768 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetDone",kwnames
,&obj0
)) goto fail
;
44769 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
44770 if (SWIG_arg_fail(1)) SWIG_fail
;
44772 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44773 result
= (bool)((wxIndividualLayoutConstraint
const *)arg1
)->GetDone();
44775 wxPyEndAllowThreads(__tstate
);
44776 if (PyErr_Occurred()) SWIG_fail
;
44779 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
44787 static PyObject
*_wrap_IndividualLayoutConstraint_SetDone(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44788 PyObject
*resultobj
;
44789 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
44791 PyObject
* obj0
= 0 ;
44792 PyObject
* obj1
= 0 ;
44793 char *kwnames
[] = {
44794 (char *) "self",(char *) "d", NULL
44797 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_SetDone",kwnames
,&obj0
,&obj1
)) goto fail
;
44798 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
44799 if (SWIG_arg_fail(1)) SWIG_fail
;
44801 arg2
= (bool)(SWIG_As_bool(obj1
));
44802 if (SWIG_arg_fail(2)) SWIG_fail
;
44805 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44806 (arg1
)->SetDone(arg2
);
44808 wxPyEndAllowThreads(__tstate
);
44809 if (PyErr_Occurred()) SWIG_fail
;
44811 Py_INCREF(Py_None
); resultobj
= Py_None
;
44818 static PyObject
*_wrap_IndividualLayoutConstraint_GetRelationship(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44819 PyObject
*resultobj
;
44820 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
44821 wxRelationship result
;
44822 PyObject
* obj0
= 0 ;
44823 char *kwnames
[] = {
44824 (char *) "self", NULL
44827 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetRelationship",kwnames
,&obj0
)) goto fail
;
44828 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
44829 if (SWIG_arg_fail(1)) SWIG_fail
;
44831 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44832 result
= (wxRelationship
)(arg1
)->GetRelationship();
44834 wxPyEndAllowThreads(__tstate
);
44835 if (PyErr_Occurred()) SWIG_fail
;
44837 resultobj
= SWIG_From_int((result
));
44844 static PyObject
*_wrap_IndividualLayoutConstraint_SetRelationship(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44845 PyObject
*resultobj
;
44846 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
44847 wxRelationship arg2
;
44848 PyObject
* obj0
= 0 ;
44849 PyObject
* obj1
= 0 ;
44850 char *kwnames
[] = {
44851 (char *) "self",(char *) "r", NULL
44854 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_SetRelationship",kwnames
,&obj0
,&obj1
)) goto fail
;
44855 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
44856 if (SWIG_arg_fail(1)) SWIG_fail
;
44858 arg2
= (wxRelationship
)(SWIG_As_int(obj1
));
44859 if (SWIG_arg_fail(2)) SWIG_fail
;
44862 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44863 (arg1
)->SetRelationship((wxRelationship
)arg2
);
44865 wxPyEndAllowThreads(__tstate
);
44866 if (PyErr_Occurred()) SWIG_fail
;
44868 Py_INCREF(Py_None
); resultobj
= Py_None
;
44875 static PyObject
*_wrap_IndividualLayoutConstraint_ResetIfWin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44876 PyObject
*resultobj
;
44877 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
44878 wxWindow
*arg2
= (wxWindow
*) 0 ;
44880 PyObject
* obj0
= 0 ;
44881 PyObject
* obj1
= 0 ;
44882 char *kwnames
[] = {
44883 (char *) "self",(char *) "otherW", NULL
44886 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_ResetIfWin",kwnames
,&obj0
,&obj1
)) goto fail
;
44887 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
44888 if (SWIG_arg_fail(1)) SWIG_fail
;
44889 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
44890 if (SWIG_arg_fail(2)) SWIG_fail
;
44892 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44893 result
= (bool)(arg1
)->ResetIfWin(arg2
);
44895 wxPyEndAllowThreads(__tstate
);
44896 if (PyErr_Occurred()) SWIG_fail
;
44899 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
44907 static PyObject
*_wrap_IndividualLayoutConstraint_SatisfyConstraint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44908 PyObject
*resultobj
;
44909 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
44910 wxLayoutConstraints
*arg2
= (wxLayoutConstraints
*) 0 ;
44911 wxWindow
*arg3
= (wxWindow
*) 0 ;
44913 PyObject
* obj0
= 0 ;
44914 PyObject
* obj1
= 0 ;
44915 PyObject
* obj2
= 0 ;
44916 char *kwnames
[] = {
44917 (char *) "self",(char *) "constraints",(char *) "win", NULL
44920 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:IndividualLayoutConstraint_SatisfyConstraint",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
44921 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
44922 if (SWIG_arg_fail(1)) SWIG_fail
;
44923 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxLayoutConstraints
, SWIG_POINTER_EXCEPTION
| 0);
44924 if (SWIG_arg_fail(2)) SWIG_fail
;
44925 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
44926 if (SWIG_arg_fail(3)) SWIG_fail
;
44928 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44929 result
= (bool)(arg1
)->SatisfyConstraint(arg2
,arg3
);
44931 wxPyEndAllowThreads(__tstate
);
44932 if (PyErr_Occurred()) SWIG_fail
;
44935 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
44943 static PyObject
*_wrap_IndividualLayoutConstraint_GetEdge(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44944 PyObject
*resultobj
;
44945 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
44947 wxWindow
*arg3
= (wxWindow
*) 0 ;
44948 wxWindow
*arg4
= (wxWindow
*) 0 ;
44950 PyObject
* obj0
= 0 ;
44951 PyObject
* obj1
= 0 ;
44952 PyObject
* obj2
= 0 ;
44953 PyObject
* obj3
= 0 ;
44954 char *kwnames
[] = {
44955 (char *) "self",(char *) "which",(char *) "thisWin",(char *) "other", NULL
44958 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:IndividualLayoutConstraint_GetEdge",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
44959 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
44960 if (SWIG_arg_fail(1)) SWIG_fail
;
44962 arg2
= (wxEdge
)(SWIG_As_int(obj1
));
44963 if (SWIG_arg_fail(2)) SWIG_fail
;
44965 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
44966 if (SWIG_arg_fail(3)) SWIG_fail
;
44967 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
44968 if (SWIG_arg_fail(4)) SWIG_fail
;
44970 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44971 result
= (int)((wxIndividualLayoutConstraint
const *)arg1
)->GetEdge((wxEdge
)arg2
,arg3
,arg4
);
44973 wxPyEndAllowThreads(__tstate
);
44974 if (PyErr_Occurred()) SWIG_fail
;
44977 resultobj
= SWIG_From_int((int)(result
));
44985 static PyObject
* IndividualLayoutConstraint_swigregister(PyObject
*, PyObject
*args
) {
44987 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
44988 SWIG_TypeClientData(SWIGTYPE_p_wxIndividualLayoutConstraint
, obj
);
44990 return Py_BuildValue((char *)"");
44992 static PyObject
*_wrap_LayoutConstraints_left_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44993 PyObject
*resultobj
;
44994 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
44995 wxIndividualLayoutConstraint
*result
;
44996 PyObject
* obj0
= 0 ;
44997 char *kwnames
[] = {
44998 (char *) "self", NULL
45001 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_left_get",kwnames
,&obj0
)) goto fail
;
45002 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLayoutConstraints
, SWIG_POINTER_EXCEPTION
| 0);
45003 if (SWIG_arg_fail(1)) SWIG_fail
;
45004 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->left
);
45006 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
45013 static PyObject
*_wrap_LayoutConstraints_top_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
45014 PyObject
*resultobj
;
45015 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
45016 wxIndividualLayoutConstraint
*result
;
45017 PyObject
* obj0
= 0 ;
45018 char *kwnames
[] = {
45019 (char *) "self", NULL
45022 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_top_get",kwnames
,&obj0
)) goto fail
;
45023 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLayoutConstraints
, SWIG_POINTER_EXCEPTION
| 0);
45024 if (SWIG_arg_fail(1)) SWIG_fail
;
45025 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->top
);
45027 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
45034 static PyObject
*_wrap_LayoutConstraints_right_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
45035 PyObject
*resultobj
;
45036 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
45037 wxIndividualLayoutConstraint
*result
;
45038 PyObject
* obj0
= 0 ;
45039 char *kwnames
[] = {
45040 (char *) "self", NULL
45043 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_right_get",kwnames
,&obj0
)) goto fail
;
45044 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLayoutConstraints
, SWIG_POINTER_EXCEPTION
| 0);
45045 if (SWIG_arg_fail(1)) SWIG_fail
;
45046 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->right
);
45048 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
45055 static PyObject
*_wrap_LayoutConstraints_bottom_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
45056 PyObject
*resultobj
;
45057 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
45058 wxIndividualLayoutConstraint
*result
;
45059 PyObject
* obj0
= 0 ;
45060 char *kwnames
[] = {
45061 (char *) "self", NULL
45064 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_bottom_get",kwnames
,&obj0
)) goto fail
;
45065 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLayoutConstraints
, SWIG_POINTER_EXCEPTION
| 0);
45066 if (SWIG_arg_fail(1)) SWIG_fail
;
45067 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->bottom
);
45069 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
45076 static PyObject
*_wrap_LayoutConstraints_width_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
45077 PyObject
*resultobj
;
45078 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
45079 wxIndividualLayoutConstraint
*result
;
45080 PyObject
* obj0
= 0 ;
45081 char *kwnames
[] = {
45082 (char *) "self", NULL
45085 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_width_get",kwnames
,&obj0
)) goto fail
;
45086 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLayoutConstraints
, SWIG_POINTER_EXCEPTION
| 0);
45087 if (SWIG_arg_fail(1)) SWIG_fail
;
45088 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->width
);
45090 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
45097 static PyObject
*_wrap_LayoutConstraints_height_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
45098 PyObject
*resultobj
;
45099 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
45100 wxIndividualLayoutConstraint
*result
;
45101 PyObject
* obj0
= 0 ;
45102 char *kwnames
[] = {
45103 (char *) "self", NULL
45106 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_height_get",kwnames
,&obj0
)) goto fail
;
45107 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLayoutConstraints
, SWIG_POINTER_EXCEPTION
| 0);
45108 if (SWIG_arg_fail(1)) SWIG_fail
;
45109 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->height
);
45111 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
45118 static PyObject
*_wrap_LayoutConstraints_centreX_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
45119 PyObject
*resultobj
;
45120 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
45121 wxIndividualLayoutConstraint
*result
;
45122 PyObject
* obj0
= 0 ;
45123 char *kwnames
[] = {
45124 (char *) "self", NULL
45127 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_centreX_get",kwnames
,&obj0
)) goto fail
;
45128 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLayoutConstraints
, SWIG_POINTER_EXCEPTION
| 0);
45129 if (SWIG_arg_fail(1)) SWIG_fail
;
45130 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->centreX
);
45132 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
45139 static PyObject
*_wrap_LayoutConstraints_centreY_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
45140 PyObject
*resultobj
;
45141 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
45142 wxIndividualLayoutConstraint
*result
;
45143 PyObject
* obj0
= 0 ;
45144 char *kwnames
[] = {
45145 (char *) "self", NULL
45148 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_centreY_get",kwnames
,&obj0
)) goto fail
;
45149 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLayoutConstraints
, SWIG_POINTER_EXCEPTION
| 0);
45150 if (SWIG_arg_fail(1)) SWIG_fail
;
45151 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->centreY
);
45153 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
45160 static PyObject
*_wrap_new_LayoutConstraints(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
45161 PyObject
*resultobj
;
45162 wxLayoutConstraints
*result
;
45163 char *kwnames
[] = {
45167 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_LayoutConstraints",kwnames
)) goto fail
;
45169 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45170 result
= (wxLayoutConstraints
*)new wxLayoutConstraints();
45172 wxPyEndAllowThreads(__tstate
);
45173 if (PyErr_Occurred()) SWIG_fail
;
45175 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLayoutConstraints
, 1);
45182 static PyObject
*_wrap_LayoutConstraints_SatisfyConstraints(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
45183 PyObject
*resultobj
;
45184 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
45185 wxWindow
*arg2
= (wxWindow
*) 0 ;
45186 int *arg3
= (int *) 0 ;
45190 PyObject
* obj0
= 0 ;
45191 PyObject
* obj1
= 0 ;
45192 char *kwnames
[] = {
45193 (char *) "self",(char *) "win", NULL
45196 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
45197 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LayoutConstraints_SatisfyConstraints",kwnames
,&obj0
,&obj1
)) goto fail
;
45198 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLayoutConstraints
, SWIG_POINTER_EXCEPTION
| 0);
45199 if (SWIG_arg_fail(1)) SWIG_fail
;
45200 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
45201 if (SWIG_arg_fail(2)) SWIG_fail
;
45203 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45204 result
= (bool)(arg1
)->SatisfyConstraints(arg2
,arg3
);
45206 wxPyEndAllowThreads(__tstate
);
45207 if (PyErr_Occurred()) SWIG_fail
;
45210 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
45212 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
45213 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
45220 static PyObject
*_wrap_LayoutConstraints_AreSatisfied(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
45221 PyObject
*resultobj
;
45222 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
45224 PyObject
* obj0
= 0 ;
45225 char *kwnames
[] = {
45226 (char *) "self", NULL
45229 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_AreSatisfied",kwnames
,&obj0
)) goto fail
;
45230 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLayoutConstraints
, SWIG_POINTER_EXCEPTION
| 0);
45231 if (SWIG_arg_fail(1)) SWIG_fail
;
45233 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45234 result
= (bool)((wxLayoutConstraints
const *)arg1
)->AreSatisfied();
45236 wxPyEndAllowThreads(__tstate
);
45237 if (PyErr_Occurred()) SWIG_fail
;
45240 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
45248 static PyObject
* LayoutConstraints_swigregister(PyObject
*, PyObject
*args
) {
45250 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
45251 SWIG_TypeClientData(SWIGTYPE_p_wxLayoutConstraints
, obj
);
45253 return Py_BuildValue((char *)"");
45255 static PyMethodDef SwigMethods
[] = {
45256 { (char *)"_wxPySetDictionary", __wxPySetDictionary
, METH_VARARGS
, NULL
},
45257 { (char *)"_wxPyFixStockObjects", __wxPyFixStockObjects
, METH_VARARGS
, NULL
},
45258 { (char *)"Object_GetClassName", (PyCFunction
) _wrap_Object_GetClassName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45259 { (char *)"Object_Destroy", (PyCFunction
) _wrap_Object_Destroy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45260 { (char *)"Object_swigregister", Object_swigregister
, METH_VARARGS
, NULL
},
45261 { (char *)"Size_width_set", (PyCFunction
) _wrap_Size_width_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45262 { (char *)"Size_width_get", (PyCFunction
) _wrap_Size_width_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45263 { (char *)"Size_height_set", (PyCFunction
) _wrap_Size_height_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45264 { (char *)"Size_height_get", (PyCFunction
) _wrap_Size_height_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45265 { (char *)"new_Size", (PyCFunction
) _wrap_new_Size
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45266 { (char *)"delete_Size", (PyCFunction
) _wrap_delete_Size
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45267 { (char *)"Size___eq__", (PyCFunction
) _wrap_Size___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45268 { (char *)"Size___ne__", (PyCFunction
) _wrap_Size___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45269 { (char *)"Size___add__", (PyCFunction
) _wrap_Size___add__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45270 { (char *)"Size___sub__", (PyCFunction
) _wrap_Size___sub__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45271 { (char *)"Size_IncTo", (PyCFunction
) _wrap_Size_IncTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45272 { (char *)"Size_DecTo", (PyCFunction
) _wrap_Size_DecTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45273 { (char *)"Size_Set", (PyCFunction
) _wrap_Size_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45274 { (char *)"Size_SetWidth", (PyCFunction
) _wrap_Size_SetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45275 { (char *)"Size_SetHeight", (PyCFunction
) _wrap_Size_SetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45276 { (char *)"Size_GetWidth", (PyCFunction
) _wrap_Size_GetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45277 { (char *)"Size_GetHeight", (PyCFunction
) _wrap_Size_GetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45278 { (char *)"Size_IsFullySpecified", (PyCFunction
) _wrap_Size_IsFullySpecified
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45279 { (char *)"Size_SetDefaults", (PyCFunction
) _wrap_Size_SetDefaults
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45280 { (char *)"Size_Get", (PyCFunction
) _wrap_Size_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45281 { (char *)"Size_swigregister", Size_swigregister
, METH_VARARGS
, NULL
},
45282 { (char *)"RealPoint_x_set", (PyCFunction
) _wrap_RealPoint_x_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45283 { (char *)"RealPoint_x_get", (PyCFunction
) _wrap_RealPoint_x_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45284 { (char *)"RealPoint_y_set", (PyCFunction
) _wrap_RealPoint_y_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45285 { (char *)"RealPoint_y_get", (PyCFunction
) _wrap_RealPoint_y_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45286 { (char *)"new_RealPoint", (PyCFunction
) _wrap_new_RealPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45287 { (char *)"delete_RealPoint", (PyCFunction
) _wrap_delete_RealPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45288 { (char *)"RealPoint___eq__", (PyCFunction
) _wrap_RealPoint___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45289 { (char *)"RealPoint___ne__", (PyCFunction
) _wrap_RealPoint___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45290 { (char *)"RealPoint___add__", (PyCFunction
) _wrap_RealPoint___add__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45291 { (char *)"RealPoint___sub__", (PyCFunction
) _wrap_RealPoint___sub__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45292 { (char *)"RealPoint_Set", (PyCFunction
) _wrap_RealPoint_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45293 { (char *)"RealPoint_Get", (PyCFunction
) _wrap_RealPoint_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45294 { (char *)"RealPoint_swigregister", RealPoint_swigregister
, METH_VARARGS
, NULL
},
45295 { (char *)"Point_x_set", (PyCFunction
) _wrap_Point_x_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45296 { (char *)"Point_x_get", (PyCFunction
) _wrap_Point_x_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45297 { (char *)"Point_y_set", (PyCFunction
) _wrap_Point_y_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45298 { (char *)"Point_y_get", (PyCFunction
) _wrap_Point_y_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45299 { (char *)"new_Point", (PyCFunction
) _wrap_new_Point
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45300 { (char *)"delete_Point", (PyCFunction
) _wrap_delete_Point
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45301 { (char *)"Point___eq__", (PyCFunction
) _wrap_Point___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45302 { (char *)"Point___ne__", (PyCFunction
) _wrap_Point___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45303 { (char *)"Point___add__", (PyCFunction
) _wrap_Point___add__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45304 { (char *)"Point___sub__", (PyCFunction
) _wrap_Point___sub__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45305 { (char *)"Point___iadd__", (PyCFunction
) _wrap_Point___iadd__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45306 { (char *)"Point___isub__", (PyCFunction
) _wrap_Point___isub__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45307 { (char *)"Point_Set", (PyCFunction
) _wrap_Point_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45308 { (char *)"Point_Get", (PyCFunction
) _wrap_Point_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45309 { (char *)"Point_swigregister", Point_swigregister
, METH_VARARGS
, NULL
},
45310 { (char *)"new_Rect", (PyCFunction
) _wrap_new_Rect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45311 { (char *)"new_RectPP", (PyCFunction
) _wrap_new_RectPP
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45312 { (char *)"new_RectPS", (PyCFunction
) _wrap_new_RectPS
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45313 { (char *)"new_RectS", (PyCFunction
) _wrap_new_RectS
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45314 { (char *)"delete_Rect", (PyCFunction
) _wrap_delete_Rect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45315 { (char *)"Rect_GetX", (PyCFunction
) _wrap_Rect_GetX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45316 { (char *)"Rect_SetX", (PyCFunction
) _wrap_Rect_SetX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45317 { (char *)"Rect_GetY", (PyCFunction
) _wrap_Rect_GetY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45318 { (char *)"Rect_SetY", (PyCFunction
) _wrap_Rect_SetY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45319 { (char *)"Rect_GetWidth", (PyCFunction
) _wrap_Rect_GetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45320 { (char *)"Rect_SetWidth", (PyCFunction
) _wrap_Rect_SetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45321 { (char *)"Rect_GetHeight", (PyCFunction
) _wrap_Rect_GetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45322 { (char *)"Rect_SetHeight", (PyCFunction
) _wrap_Rect_SetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45323 { (char *)"Rect_GetPosition", (PyCFunction
) _wrap_Rect_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45324 { (char *)"Rect_SetPosition", (PyCFunction
) _wrap_Rect_SetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45325 { (char *)"Rect_GetSize", (PyCFunction
) _wrap_Rect_GetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45326 { (char *)"Rect_SetSize", (PyCFunction
) _wrap_Rect_SetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45327 { (char *)"Rect_IsEmpty", (PyCFunction
) _wrap_Rect_IsEmpty
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45328 { (char *)"Rect_GetTopLeft", (PyCFunction
) _wrap_Rect_GetTopLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45329 { (char *)"Rect_SetTopLeft", (PyCFunction
) _wrap_Rect_SetTopLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45330 { (char *)"Rect_GetBottomRight", (PyCFunction
) _wrap_Rect_GetBottomRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45331 { (char *)"Rect_SetBottomRight", (PyCFunction
) _wrap_Rect_SetBottomRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45332 { (char *)"Rect_GetLeft", (PyCFunction
) _wrap_Rect_GetLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45333 { (char *)"Rect_GetTop", (PyCFunction
) _wrap_Rect_GetTop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45334 { (char *)"Rect_GetBottom", (PyCFunction
) _wrap_Rect_GetBottom
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45335 { (char *)"Rect_GetRight", (PyCFunction
) _wrap_Rect_GetRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45336 { (char *)"Rect_SetLeft", (PyCFunction
) _wrap_Rect_SetLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45337 { (char *)"Rect_SetRight", (PyCFunction
) _wrap_Rect_SetRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45338 { (char *)"Rect_SetTop", (PyCFunction
) _wrap_Rect_SetTop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45339 { (char *)"Rect_SetBottom", (PyCFunction
) _wrap_Rect_SetBottom
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45340 { (char *)"Rect_Inflate", (PyCFunction
) _wrap_Rect_Inflate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45341 { (char *)"Rect_Deflate", (PyCFunction
) _wrap_Rect_Deflate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45342 { (char *)"Rect_OffsetXY", (PyCFunction
) _wrap_Rect_OffsetXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45343 { (char *)"Rect_Offset", (PyCFunction
) _wrap_Rect_Offset
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45344 { (char *)"Rect_Intersect", (PyCFunction
) _wrap_Rect_Intersect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45345 { (char *)"Rect_Union", (PyCFunction
) _wrap_Rect_Union
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45346 { (char *)"Rect___add__", (PyCFunction
) _wrap_Rect___add__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45347 { (char *)"Rect___iadd__", (PyCFunction
) _wrap_Rect___iadd__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45348 { (char *)"Rect___eq__", (PyCFunction
) _wrap_Rect___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45349 { (char *)"Rect___ne__", (PyCFunction
) _wrap_Rect___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45350 { (char *)"Rect_InsideXY", (PyCFunction
) _wrap_Rect_InsideXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45351 { (char *)"Rect_Inside", (PyCFunction
) _wrap_Rect_Inside
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45352 { (char *)"Rect_Intersects", (PyCFunction
) _wrap_Rect_Intersects
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45353 { (char *)"Rect_x_set", (PyCFunction
) _wrap_Rect_x_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45354 { (char *)"Rect_x_get", (PyCFunction
) _wrap_Rect_x_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45355 { (char *)"Rect_y_set", (PyCFunction
) _wrap_Rect_y_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45356 { (char *)"Rect_y_get", (PyCFunction
) _wrap_Rect_y_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45357 { (char *)"Rect_width_set", (PyCFunction
) _wrap_Rect_width_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45358 { (char *)"Rect_width_get", (PyCFunction
) _wrap_Rect_width_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45359 { (char *)"Rect_height_set", (PyCFunction
) _wrap_Rect_height_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45360 { (char *)"Rect_height_get", (PyCFunction
) _wrap_Rect_height_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45361 { (char *)"Rect_Set", (PyCFunction
) _wrap_Rect_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45362 { (char *)"Rect_Get", (PyCFunction
) _wrap_Rect_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45363 { (char *)"Rect_swigregister", Rect_swigregister
, METH_VARARGS
, NULL
},
45364 { (char *)"IntersectRect", (PyCFunction
) _wrap_IntersectRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45365 { (char *)"new_Point2D", (PyCFunction
) _wrap_new_Point2D
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45366 { (char *)"new_Point2DCopy", (PyCFunction
) _wrap_new_Point2DCopy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45367 { (char *)"new_Point2DFromPoint", (PyCFunction
) _wrap_new_Point2DFromPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45368 { (char *)"Point2D_GetFloor", (PyCFunction
) _wrap_Point2D_GetFloor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45369 { (char *)"Point2D_GetRounded", (PyCFunction
) _wrap_Point2D_GetRounded
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45370 { (char *)"Point2D_GetVectorLength", (PyCFunction
) _wrap_Point2D_GetVectorLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45371 { (char *)"Point2D_GetVectorAngle", (PyCFunction
) _wrap_Point2D_GetVectorAngle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45372 { (char *)"Point2D_SetVectorLength", (PyCFunction
) _wrap_Point2D_SetVectorLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45373 { (char *)"Point2D_SetVectorAngle", (PyCFunction
) _wrap_Point2D_SetVectorAngle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45374 { (char *)"Point2D_GetDistance", (PyCFunction
) _wrap_Point2D_GetDistance
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45375 { (char *)"Point2D_GetDistanceSquare", (PyCFunction
) _wrap_Point2D_GetDistanceSquare
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45376 { (char *)"Point2D_GetDotProduct", (PyCFunction
) _wrap_Point2D_GetDotProduct
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45377 { (char *)"Point2D_GetCrossProduct", (PyCFunction
) _wrap_Point2D_GetCrossProduct
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45378 { (char *)"Point2D___neg__", (PyCFunction
) _wrap_Point2D___neg__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45379 { (char *)"Point2D___iadd__", (PyCFunction
) _wrap_Point2D___iadd__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45380 { (char *)"Point2D___isub__", (PyCFunction
) _wrap_Point2D___isub__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45381 { (char *)"Point2D___imul__", (PyCFunction
) _wrap_Point2D___imul__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45382 { (char *)"Point2D___idiv__", (PyCFunction
) _wrap_Point2D___idiv__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45383 { (char *)"Point2D___eq__", (PyCFunction
) _wrap_Point2D___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45384 { (char *)"Point2D___ne__", (PyCFunction
) _wrap_Point2D___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45385 { (char *)"Point2D_x_set", (PyCFunction
) _wrap_Point2D_x_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45386 { (char *)"Point2D_x_get", (PyCFunction
) _wrap_Point2D_x_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45387 { (char *)"Point2D_y_set", (PyCFunction
) _wrap_Point2D_y_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45388 { (char *)"Point2D_y_get", (PyCFunction
) _wrap_Point2D_y_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45389 { (char *)"Point2D_Set", (PyCFunction
) _wrap_Point2D_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45390 { (char *)"Point2D_Get", (PyCFunction
) _wrap_Point2D_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45391 { (char *)"Point2D_swigregister", Point2D_swigregister
, METH_VARARGS
, NULL
},
45392 { (char *)"new_InputStream", (PyCFunction
) _wrap_new_InputStream
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45393 { (char *)"delete_InputStream", (PyCFunction
) _wrap_delete_InputStream
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45394 { (char *)"InputStream_close", (PyCFunction
) _wrap_InputStream_close
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45395 { (char *)"InputStream_flush", (PyCFunction
) _wrap_InputStream_flush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45396 { (char *)"InputStream_eof", (PyCFunction
) _wrap_InputStream_eof
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45397 { (char *)"InputStream_read", (PyCFunction
) _wrap_InputStream_read
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45398 { (char *)"InputStream_readline", (PyCFunction
) _wrap_InputStream_readline
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45399 { (char *)"InputStream_readlines", (PyCFunction
) _wrap_InputStream_readlines
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45400 { (char *)"InputStream_seek", (PyCFunction
) _wrap_InputStream_seek
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45401 { (char *)"InputStream_tell", (PyCFunction
) _wrap_InputStream_tell
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45402 { (char *)"InputStream_Peek", (PyCFunction
) _wrap_InputStream_Peek
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45403 { (char *)"InputStream_GetC", (PyCFunction
) _wrap_InputStream_GetC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45404 { (char *)"InputStream_LastRead", (PyCFunction
) _wrap_InputStream_LastRead
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45405 { (char *)"InputStream_CanRead", (PyCFunction
) _wrap_InputStream_CanRead
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45406 { (char *)"InputStream_Eof", (PyCFunction
) _wrap_InputStream_Eof
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45407 { (char *)"InputStream_Ungetch", (PyCFunction
) _wrap_InputStream_Ungetch
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45408 { (char *)"InputStream_SeekI", (PyCFunction
) _wrap_InputStream_SeekI
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45409 { (char *)"InputStream_TellI", (PyCFunction
) _wrap_InputStream_TellI
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45410 { (char *)"InputStream_swigregister", InputStream_swigregister
, METH_VARARGS
, NULL
},
45411 { (char *)"OutputStream_write", (PyCFunction
) _wrap_OutputStream_write
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45412 { (char *)"OutputStream_swigregister", OutputStream_swigregister
, METH_VARARGS
, NULL
},
45413 { (char *)"new_FSFile", (PyCFunction
) _wrap_new_FSFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45414 { (char *)"delete_FSFile", (PyCFunction
) _wrap_delete_FSFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45415 { (char *)"FSFile_GetStream", (PyCFunction
) _wrap_FSFile_GetStream
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45416 { (char *)"FSFile_GetMimeType", (PyCFunction
) _wrap_FSFile_GetMimeType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45417 { (char *)"FSFile_GetLocation", (PyCFunction
) _wrap_FSFile_GetLocation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45418 { (char *)"FSFile_GetAnchor", (PyCFunction
) _wrap_FSFile_GetAnchor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45419 { (char *)"FSFile_GetModificationTime", (PyCFunction
) _wrap_FSFile_GetModificationTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45420 { (char *)"FSFile_swigregister", FSFile_swigregister
, METH_VARARGS
, NULL
},
45421 { (char *)"CPPFileSystemHandler_swigregister", CPPFileSystemHandler_swigregister
, METH_VARARGS
, NULL
},
45422 { (char *)"new_FileSystemHandler", (PyCFunction
) _wrap_new_FileSystemHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45423 { (char *)"FileSystemHandler__setCallbackInfo", (PyCFunction
) _wrap_FileSystemHandler__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45424 { (char *)"FileSystemHandler_CanOpen", (PyCFunction
) _wrap_FileSystemHandler_CanOpen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45425 { (char *)"FileSystemHandler_OpenFile", (PyCFunction
) _wrap_FileSystemHandler_OpenFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45426 { (char *)"FileSystemHandler_FindFirst", (PyCFunction
) _wrap_FileSystemHandler_FindFirst
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45427 { (char *)"FileSystemHandler_FindNext", (PyCFunction
) _wrap_FileSystemHandler_FindNext
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45428 { (char *)"FileSystemHandler_GetProtocol", (PyCFunction
) _wrap_FileSystemHandler_GetProtocol
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45429 { (char *)"FileSystemHandler_GetLeftLocation", (PyCFunction
) _wrap_FileSystemHandler_GetLeftLocation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45430 { (char *)"FileSystemHandler_GetAnchor", (PyCFunction
) _wrap_FileSystemHandler_GetAnchor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45431 { (char *)"FileSystemHandler_GetRightLocation", (PyCFunction
) _wrap_FileSystemHandler_GetRightLocation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45432 { (char *)"FileSystemHandler_GetMimeTypeFromExt", (PyCFunction
) _wrap_FileSystemHandler_GetMimeTypeFromExt
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45433 { (char *)"FileSystemHandler_swigregister", FileSystemHandler_swigregister
, METH_VARARGS
, NULL
},
45434 { (char *)"new_FileSystem", (PyCFunction
) _wrap_new_FileSystem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45435 { (char *)"delete_FileSystem", (PyCFunction
) _wrap_delete_FileSystem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45436 { (char *)"FileSystem_ChangePathTo", (PyCFunction
) _wrap_FileSystem_ChangePathTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45437 { (char *)"FileSystem_GetPath", (PyCFunction
) _wrap_FileSystem_GetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45438 { (char *)"FileSystem_OpenFile", (PyCFunction
) _wrap_FileSystem_OpenFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45439 { (char *)"FileSystem_FindFirst", (PyCFunction
) _wrap_FileSystem_FindFirst
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45440 { (char *)"FileSystem_FindNext", (PyCFunction
) _wrap_FileSystem_FindNext
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45441 { (char *)"FileSystem_AddHandler", (PyCFunction
) _wrap_FileSystem_AddHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45442 { (char *)"FileSystem_CleanUpHandlers", (PyCFunction
) _wrap_FileSystem_CleanUpHandlers
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45443 { (char *)"FileSystem_FileNameToURL", (PyCFunction
) _wrap_FileSystem_FileNameToURL
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45444 { (char *)"FileSystem_URLToFileName", (PyCFunction
) _wrap_FileSystem_URLToFileName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45445 { (char *)"FileSystem_swigregister", FileSystem_swigregister
, METH_VARARGS
, NULL
},
45446 { (char *)"new_InternetFSHandler", (PyCFunction
) _wrap_new_InternetFSHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45447 { (char *)"InternetFSHandler_CanOpen", (PyCFunction
) _wrap_InternetFSHandler_CanOpen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45448 { (char *)"InternetFSHandler_OpenFile", (PyCFunction
) _wrap_InternetFSHandler_OpenFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45449 { (char *)"InternetFSHandler_swigregister", InternetFSHandler_swigregister
, METH_VARARGS
, NULL
},
45450 { (char *)"new_ZipFSHandler", (PyCFunction
) _wrap_new_ZipFSHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45451 { (char *)"ZipFSHandler_CanOpen", (PyCFunction
) _wrap_ZipFSHandler_CanOpen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45452 { (char *)"ZipFSHandler_OpenFile", (PyCFunction
) _wrap_ZipFSHandler_OpenFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45453 { (char *)"ZipFSHandler_FindFirst", (PyCFunction
) _wrap_ZipFSHandler_FindFirst
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45454 { (char *)"ZipFSHandler_FindNext", (PyCFunction
) _wrap_ZipFSHandler_FindNext
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45455 { (char *)"ZipFSHandler_swigregister", ZipFSHandler_swigregister
, METH_VARARGS
, NULL
},
45456 { (char *)"__wxMemoryFSHandler_AddFile_wxImage", (PyCFunction
) _wrap___wxMemoryFSHandler_AddFile_wxImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45457 { (char *)"__wxMemoryFSHandler_AddFile_wxBitmap", (PyCFunction
) _wrap___wxMemoryFSHandler_AddFile_wxBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45458 { (char *)"__wxMemoryFSHandler_AddFile_Data", (PyCFunction
) _wrap___wxMemoryFSHandler_AddFile_Data
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45459 { (char *)"new_MemoryFSHandler", (PyCFunction
) _wrap_new_MemoryFSHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45460 { (char *)"MemoryFSHandler_RemoveFile", (PyCFunction
) _wrap_MemoryFSHandler_RemoveFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45461 { (char *)"MemoryFSHandler_CanOpen", (PyCFunction
) _wrap_MemoryFSHandler_CanOpen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45462 { (char *)"MemoryFSHandler_OpenFile", (PyCFunction
) _wrap_MemoryFSHandler_OpenFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45463 { (char *)"MemoryFSHandler_FindFirst", (PyCFunction
) _wrap_MemoryFSHandler_FindFirst
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45464 { (char *)"MemoryFSHandler_FindNext", (PyCFunction
) _wrap_MemoryFSHandler_FindNext
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45465 { (char *)"MemoryFSHandler_swigregister", MemoryFSHandler_swigregister
, METH_VARARGS
, NULL
},
45466 { (char *)"ImageHandler_GetName", (PyCFunction
) _wrap_ImageHandler_GetName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45467 { (char *)"ImageHandler_GetExtension", (PyCFunction
) _wrap_ImageHandler_GetExtension
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45468 { (char *)"ImageHandler_GetType", (PyCFunction
) _wrap_ImageHandler_GetType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45469 { (char *)"ImageHandler_GetMimeType", (PyCFunction
) _wrap_ImageHandler_GetMimeType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45470 { (char *)"ImageHandler_CanRead", (PyCFunction
) _wrap_ImageHandler_CanRead
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45471 { (char *)"ImageHandler_SetName", (PyCFunction
) _wrap_ImageHandler_SetName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45472 { (char *)"ImageHandler_SetExtension", (PyCFunction
) _wrap_ImageHandler_SetExtension
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45473 { (char *)"ImageHandler_SetType", (PyCFunction
) _wrap_ImageHandler_SetType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45474 { (char *)"ImageHandler_SetMimeType", (PyCFunction
) _wrap_ImageHandler_SetMimeType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45475 { (char *)"ImageHandler_swigregister", ImageHandler_swigregister
, METH_VARARGS
, NULL
},
45476 { (char *)"new_ImageHistogram", (PyCFunction
) _wrap_new_ImageHistogram
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45477 { (char *)"ImageHistogram_MakeKey", (PyCFunction
) _wrap_ImageHistogram_MakeKey
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45478 { (char *)"ImageHistogram_FindFirstUnusedColour", (PyCFunction
) _wrap_ImageHistogram_FindFirstUnusedColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45479 { (char *)"ImageHistogram_GetCount", (PyCFunction
) _wrap_ImageHistogram_GetCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45480 { (char *)"ImageHistogram_GetCountRGB", (PyCFunction
) _wrap_ImageHistogram_GetCountRGB
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45481 { (char *)"ImageHistogram_GetCountColour", (PyCFunction
) _wrap_ImageHistogram_GetCountColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45482 { (char *)"ImageHistogram_swigregister", ImageHistogram_swigregister
, METH_VARARGS
, NULL
},
45483 { (char *)"new_Image", (PyCFunction
) _wrap_new_Image
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45484 { (char *)"delete_Image", (PyCFunction
) _wrap_delete_Image
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45485 { (char *)"new_ImageFromMime", (PyCFunction
) _wrap_new_ImageFromMime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45486 { (char *)"new_ImageFromStream", (PyCFunction
) _wrap_new_ImageFromStream
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45487 { (char *)"new_ImageFromStreamMime", (PyCFunction
) _wrap_new_ImageFromStreamMime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45488 { (char *)"new_EmptyImage", (PyCFunction
) _wrap_new_EmptyImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45489 { (char *)"new_ImageFromBitmap", (PyCFunction
) _wrap_new_ImageFromBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45490 { (char *)"new_ImageFromData", (PyCFunction
) _wrap_new_ImageFromData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45491 { (char *)"new_ImageFromDataWithAlpha", (PyCFunction
) _wrap_new_ImageFromDataWithAlpha
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45492 { (char *)"Image_Create", (PyCFunction
) _wrap_Image_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45493 { (char *)"Image_Destroy", (PyCFunction
) _wrap_Image_Destroy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45494 { (char *)"Image_Scale", (PyCFunction
) _wrap_Image_Scale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45495 { (char *)"Image_ShrinkBy", (PyCFunction
) _wrap_Image_ShrinkBy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45496 { (char *)"Image_Rescale", (PyCFunction
) _wrap_Image_Rescale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45497 { (char *)"Image_Resize", (PyCFunction
) _wrap_Image_Resize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45498 { (char *)"Image_SetRGB", (PyCFunction
) _wrap_Image_SetRGB
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45499 { (char *)"Image_SetRGBRect", (PyCFunction
) _wrap_Image_SetRGBRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45500 { (char *)"Image_GetRed", (PyCFunction
) _wrap_Image_GetRed
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45501 { (char *)"Image_GetGreen", (PyCFunction
) _wrap_Image_GetGreen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45502 { (char *)"Image_GetBlue", (PyCFunction
) _wrap_Image_GetBlue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45503 { (char *)"Image_SetAlpha", (PyCFunction
) _wrap_Image_SetAlpha
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45504 { (char *)"Image_GetAlpha", (PyCFunction
) _wrap_Image_GetAlpha
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45505 { (char *)"Image_HasAlpha", (PyCFunction
) _wrap_Image_HasAlpha
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45506 { (char *)"Image_InitAlpha", (PyCFunction
) _wrap_Image_InitAlpha
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45507 { (char *)"Image_IsTransparent", (PyCFunction
) _wrap_Image_IsTransparent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45508 { (char *)"Image_FindFirstUnusedColour", (PyCFunction
) _wrap_Image_FindFirstUnusedColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45509 { (char *)"Image_ConvertAlphaToMask", (PyCFunction
) _wrap_Image_ConvertAlphaToMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45510 { (char *)"Image_ConvertColourToAlpha", (PyCFunction
) _wrap_Image_ConvertColourToAlpha
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45511 { (char *)"Image_SetMaskFromImage", (PyCFunction
) _wrap_Image_SetMaskFromImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45512 { (char *)"Image_CanRead", (PyCFunction
) _wrap_Image_CanRead
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45513 { (char *)"Image_GetImageCount", (PyCFunction
) _wrap_Image_GetImageCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45514 { (char *)"Image_LoadFile", (PyCFunction
) _wrap_Image_LoadFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45515 { (char *)"Image_LoadMimeFile", (PyCFunction
) _wrap_Image_LoadMimeFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45516 { (char *)"Image_SaveFile", (PyCFunction
) _wrap_Image_SaveFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45517 { (char *)"Image_SaveMimeFile", (PyCFunction
) _wrap_Image_SaveMimeFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45518 { (char *)"Image_CanReadStream", (PyCFunction
) _wrap_Image_CanReadStream
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45519 { (char *)"Image_LoadStream", (PyCFunction
) _wrap_Image_LoadStream
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45520 { (char *)"Image_LoadMimeStream", (PyCFunction
) _wrap_Image_LoadMimeStream
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45521 { (char *)"Image_Ok", (PyCFunction
) _wrap_Image_Ok
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45522 { (char *)"Image_GetWidth", (PyCFunction
) _wrap_Image_GetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45523 { (char *)"Image_GetHeight", (PyCFunction
) _wrap_Image_GetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45524 { (char *)"Image_GetSize", (PyCFunction
) _wrap_Image_GetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45525 { (char *)"Image_GetSubImage", (PyCFunction
) _wrap_Image_GetSubImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45526 { (char *)"Image_Size", (PyCFunction
) _wrap_Image_Size
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45527 { (char *)"Image_Copy", (PyCFunction
) _wrap_Image_Copy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45528 { (char *)"Image_Paste", (PyCFunction
) _wrap_Image_Paste
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45529 { (char *)"Image_GetData", (PyCFunction
) _wrap_Image_GetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45530 { (char *)"Image_SetData", (PyCFunction
) _wrap_Image_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45531 { (char *)"Image_GetDataBuffer", (PyCFunction
) _wrap_Image_GetDataBuffer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45532 { (char *)"Image_SetDataBuffer", (PyCFunction
) _wrap_Image_SetDataBuffer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45533 { (char *)"Image_GetAlphaData", (PyCFunction
) _wrap_Image_GetAlphaData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45534 { (char *)"Image_SetAlphaData", (PyCFunction
) _wrap_Image_SetAlphaData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45535 { (char *)"Image_GetAlphaBuffer", (PyCFunction
) _wrap_Image_GetAlphaBuffer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45536 { (char *)"Image_SetAlphaBuffer", (PyCFunction
) _wrap_Image_SetAlphaBuffer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45537 { (char *)"Image_SetMaskColour", (PyCFunction
) _wrap_Image_SetMaskColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45538 { (char *)"Image_GetOrFindMaskColour", (PyCFunction
) _wrap_Image_GetOrFindMaskColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45539 { (char *)"Image_GetMaskRed", (PyCFunction
) _wrap_Image_GetMaskRed
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45540 { (char *)"Image_GetMaskGreen", (PyCFunction
) _wrap_Image_GetMaskGreen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45541 { (char *)"Image_GetMaskBlue", (PyCFunction
) _wrap_Image_GetMaskBlue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45542 { (char *)"Image_SetMask", (PyCFunction
) _wrap_Image_SetMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45543 { (char *)"Image_HasMask", (PyCFunction
) _wrap_Image_HasMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45544 { (char *)"Image_Rotate", (PyCFunction
) _wrap_Image_Rotate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45545 { (char *)"Image_Rotate90", (PyCFunction
) _wrap_Image_Rotate90
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45546 { (char *)"Image_Mirror", (PyCFunction
) _wrap_Image_Mirror
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45547 { (char *)"Image_Replace", (PyCFunction
) _wrap_Image_Replace
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45548 { (char *)"Image_ConvertToMono", (PyCFunction
) _wrap_Image_ConvertToMono
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45549 { (char *)"Image_SetOption", (PyCFunction
) _wrap_Image_SetOption
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45550 { (char *)"Image_SetOptionInt", (PyCFunction
) _wrap_Image_SetOptionInt
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45551 { (char *)"Image_GetOption", (PyCFunction
) _wrap_Image_GetOption
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45552 { (char *)"Image_GetOptionInt", (PyCFunction
) _wrap_Image_GetOptionInt
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45553 { (char *)"Image_HasOption", (PyCFunction
) _wrap_Image_HasOption
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45554 { (char *)"Image_CountColours", (PyCFunction
) _wrap_Image_CountColours
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45555 { (char *)"Image_ComputeHistogram", (PyCFunction
) _wrap_Image_ComputeHistogram
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45556 { (char *)"Image_AddHandler", (PyCFunction
) _wrap_Image_AddHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45557 { (char *)"Image_InsertHandler", (PyCFunction
) _wrap_Image_InsertHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45558 { (char *)"Image_RemoveHandler", (PyCFunction
) _wrap_Image_RemoveHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45559 { (char *)"Image_GetImageExtWildcard", (PyCFunction
) _wrap_Image_GetImageExtWildcard
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45560 { (char *)"Image_ConvertToBitmap", (PyCFunction
) _wrap_Image_ConvertToBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45561 { (char *)"Image_ConvertToMonoBitmap", (PyCFunction
) _wrap_Image_ConvertToMonoBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45562 { (char *)"Image_swigregister", Image_swigregister
, METH_VARARGS
, NULL
},
45563 { (char *)"new_BMPHandler", (PyCFunction
) _wrap_new_BMPHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45564 { (char *)"BMPHandler_swigregister", BMPHandler_swigregister
, METH_VARARGS
, NULL
},
45565 { (char *)"new_ICOHandler", (PyCFunction
) _wrap_new_ICOHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45566 { (char *)"ICOHandler_swigregister", ICOHandler_swigregister
, METH_VARARGS
, NULL
},
45567 { (char *)"new_CURHandler", (PyCFunction
) _wrap_new_CURHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45568 { (char *)"CURHandler_swigregister", CURHandler_swigregister
, METH_VARARGS
, NULL
},
45569 { (char *)"new_ANIHandler", (PyCFunction
) _wrap_new_ANIHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45570 { (char *)"ANIHandler_swigregister", ANIHandler_swigregister
, METH_VARARGS
, NULL
},
45571 { (char *)"new_PNGHandler", (PyCFunction
) _wrap_new_PNGHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45572 { (char *)"PNGHandler_swigregister", PNGHandler_swigregister
, METH_VARARGS
, NULL
},
45573 { (char *)"new_GIFHandler", (PyCFunction
) _wrap_new_GIFHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45574 { (char *)"GIFHandler_swigregister", GIFHandler_swigregister
, METH_VARARGS
, NULL
},
45575 { (char *)"new_PCXHandler", (PyCFunction
) _wrap_new_PCXHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45576 { (char *)"PCXHandler_swigregister", PCXHandler_swigregister
, METH_VARARGS
, NULL
},
45577 { (char *)"new_JPEGHandler", (PyCFunction
) _wrap_new_JPEGHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45578 { (char *)"JPEGHandler_swigregister", JPEGHandler_swigregister
, METH_VARARGS
, NULL
},
45579 { (char *)"new_PNMHandler", (PyCFunction
) _wrap_new_PNMHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45580 { (char *)"PNMHandler_swigregister", PNMHandler_swigregister
, METH_VARARGS
, NULL
},
45581 { (char *)"new_XPMHandler", (PyCFunction
) _wrap_new_XPMHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45582 { (char *)"XPMHandler_swigregister", XPMHandler_swigregister
, METH_VARARGS
, NULL
},
45583 { (char *)"new_TIFFHandler", (PyCFunction
) _wrap_new_TIFFHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45584 { (char *)"TIFFHandler_swigregister", TIFFHandler_swigregister
, METH_VARARGS
, NULL
},
45585 { (char *)"Quantize_Quantize", (PyCFunction
) _wrap_Quantize_Quantize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45586 { (char *)"Quantize_swigregister", Quantize_swigregister
, METH_VARARGS
, NULL
},
45587 { (char *)"new_EvtHandler", (PyCFunction
) _wrap_new_EvtHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45588 { (char *)"EvtHandler_GetNextHandler", (PyCFunction
) _wrap_EvtHandler_GetNextHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45589 { (char *)"EvtHandler_GetPreviousHandler", (PyCFunction
) _wrap_EvtHandler_GetPreviousHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45590 { (char *)"EvtHandler_SetNextHandler", (PyCFunction
) _wrap_EvtHandler_SetNextHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45591 { (char *)"EvtHandler_SetPreviousHandler", (PyCFunction
) _wrap_EvtHandler_SetPreviousHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45592 { (char *)"EvtHandler_GetEvtHandlerEnabled", (PyCFunction
) _wrap_EvtHandler_GetEvtHandlerEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45593 { (char *)"EvtHandler_SetEvtHandlerEnabled", (PyCFunction
) _wrap_EvtHandler_SetEvtHandlerEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45594 { (char *)"EvtHandler_ProcessEvent", (PyCFunction
) _wrap_EvtHandler_ProcessEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45595 { (char *)"EvtHandler_AddPendingEvent", (PyCFunction
) _wrap_EvtHandler_AddPendingEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45596 { (char *)"EvtHandler_ProcessPendingEvents", (PyCFunction
) _wrap_EvtHandler_ProcessPendingEvents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45597 { (char *)"EvtHandler_Connect", (PyCFunction
) _wrap_EvtHandler_Connect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45598 { (char *)"EvtHandler_Disconnect", (PyCFunction
) _wrap_EvtHandler_Disconnect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45599 { (char *)"EvtHandler__setOORInfo", (PyCFunction
) _wrap_EvtHandler__setOORInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45600 { (char *)"EvtHandler_swigregister", EvtHandler_swigregister
, METH_VARARGS
, NULL
},
45601 { (char *)"NewEventType", (PyCFunction
) _wrap_NewEventType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45602 { (char *)"delete_Event", (PyCFunction
) _wrap_delete_Event
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45603 { (char *)"Event_SetEventType", (PyCFunction
) _wrap_Event_SetEventType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45604 { (char *)"Event_GetEventType", (PyCFunction
) _wrap_Event_GetEventType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45605 { (char *)"Event_GetEventObject", (PyCFunction
) _wrap_Event_GetEventObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45606 { (char *)"Event_SetEventObject", (PyCFunction
) _wrap_Event_SetEventObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45607 { (char *)"Event_GetTimestamp", (PyCFunction
) _wrap_Event_GetTimestamp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45608 { (char *)"Event_SetTimestamp", (PyCFunction
) _wrap_Event_SetTimestamp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45609 { (char *)"Event_GetId", (PyCFunction
) _wrap_Event_GetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45610 { (char *)"Event_SetId", (PyCFunction
) _wrap_Event_SetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45611 { (char *)"Event_IsCommandEvent", (PyCFunction
) _wrap_Event_IsCommandEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45612 { (char *)"Event_Skip", (PyCFunction
) _wrap_Event_Skip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45613 { (char *)"Event_GetSkipped", (PyCFunction
) _wrap_Event_GetSkipped
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45614 { (char *)"Event_ShouldPropagate", (PyCFunction
) _wrap_Event_ShouldPropagate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45615 { (char *)"Event_StopPropagation", (PyCFunction
) _wrap_Event_StopPropagation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45616 { (char *)"Event_ResumePropagation", (PyCFunction
) _wrap_Event_ResumePropagation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45617 { (char *)"Event_Clone", (PyCFunction
) _wrap_Event_Clone
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45618 { (char *)"Event_swigregister", Event_swigregister
, METH_VARARGS
, NULL
},
45619 { (char *)"new_PropagationDisabler", (PyCFunction
) _wrap_new_PropagationDisabler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45620 { (char *)"delete_PropagationDisabler", (PyCFunction
) _wrap_delete_PropagationDisabler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45621 { (char *)"PropagationDisabler_swigregister", PropagationDisabler_swigregister
, METH_VARARGS
, NULL
},
45622 { (char *)"new_PropagateOnce", (PyCFunction
) _wrap_new_PropagateOnce
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45623 { (char *)"delete_PropagateOnce", (PyCFunction
) _wrap_delete_PropagateOnce
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45624 { (char *)"PropagateOnce_swigregister", PropagateOnce_swigregister
, METH_VARARGS
, NULL
},
45625 { (char *)"new_CommandEvent", (PyCFunction
) _wrap_new_CommandEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45626 { (char *)"CommandEvent_GetSelection", (PyCFunction
) _wrap_CommandEvent_GetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45627 { (char *)"CommandEvent_SetString", (PyCFunction
) _wrap_CommandEvent_SetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45628 { (char *)"CommandEvent_GetString", (PyCFunction
) _wrap_CommandEvent_GetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45629 { (char *)"CommandEvent_IsChecked", (PyCFunction
) _wrap_CommandEvent_IsChecked
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45630 { (char *)"CommandEvent_IsSelection", (PyCFunction
) _wrap_CommandEvent_IsSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45631 { (char *)"CommandEvent_SetExtraLong", (PyCFunction
) _wrap_CommandEvent_SetExtraLong
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45632 { (char *)"CommandEvent_GetExtraLong", (PyCFunction
) _wrap_CommandEvent_GetExtraLong
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45633 { (char *)"CommandEvent_SetInt", (PyCFunction
) _wrap_CommandEvent_SetInt
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45634 { (char *)"CommandEvent_GetInt", (PyCFunction
) _wrap_CommandEvent_GetInt
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45635 { (char *)"CommandEvent_Clone", (PyCFunction
) _wrap_CommandEvent_Clone
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45636 { (char *)"CommandEvent_swigregister", CommandEvent_swigregister
, METH_VARARGS
, NULL
},
45637 { (char *)"new_NotifyEvent", (PyCFunction
) _wrap_new_NotifyEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45638 { (char *)"NotifyEvent_Veto", (PyCFunction
) _wrap_NotifyEvent_Veto
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45639 { (char *)"NotifyEvent_Allow", (PyCFunction
) _wrap_NotifyEvent_Allow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45640 { (char *)"NotifyEvent_IsAllowed", (PyCFunction
) _wrap_NotifyEvent_IsAllowed
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45641 { (char *)"NotifyEvent_swigregister", NotifyEvent_swigregister
, METH_VARARGS
, NULL
},
45642 { (char *)"new_ScrollEvent", (PyCFunction
) _wrap_new_ScrollEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45643 { (char *)"ScrollEvent_GetOrientation", (PyCFunction
) _wrap_ScrollEvent_GetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45644 { (char *)"ScrollEvent_GetPosition", (PyCFunction
) _wrap_ScrollEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45645 { (char *)"ScrollEvent_SetOrientation", (PyCFunction
) _wrap_ScrollEvent_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45646 { (char *)"ScrollEvent_SetPosition", (PyCFunction
) _wrap_ScrollEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45647 { (char *)"ScrollEvent_swigregister", ScrollEvent_swigregister
, METH_VARARGS
, NULL
},
45648 { (char *)"new_ScrollWinEvent", (PyCFunction
) _wrap_new_ScrollWinEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45649 { (char *)"ScrollWinEvent_GetOrientation", (PyCFunction
) _wrap_ScrollWinEvent_GetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45650 { (char *)"ScrollWinEvent_GetPosition", (PyCFunction
) _wrap_ScrollWinEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45651 { (char *)"ScrollWinEvent_SetOrientation", (PyCFunction
) _wrap_ScrollWinEvent_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45652 { (char *)"ScrollWinEvent_SetPosition", (PyCFunction
) _wrap_ScrollWinEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45653 { (char *)"ScrollWinEvent_swigregister", ScrollWinEvent_swigregister
, METH_VARARGS
, NULL
},
45654 { (char *)"new_MouseEvent", (PyCFunction
) _wrap_new_MouseEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45655 { (char *)"MouseEvent_IsButton", (PyCFunction
) _wrap_MouseEvent_IsButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45656 { (char *)"MouseEvent_ButtonDown", (PyCFunction
) _wrap_MouseEvent_ButtonDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45657 { (char *)"MouseEvent_ButtonDClick", (PyCFunction
) _wrap_MouseEvent_ButtonDClick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45658 { (char *)"MouseEvent_ButtonUp", (PyCFunction
) _wrap_MouseEvent_ButtonUp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45659 { (char *)"MouseEvent_Button", (PyCFunction
) _wrap_MouseEvent_Button
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45660 { (char *)"MouseEvent_ButtonIsDown", (PyCFunction
) _wrap_MouseEvent_ButtonIsDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45661 { (char *)"MouseEvent_GetButton", (PyCFunction
) _wrap_MouseEvent_GetButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45662 { (char *)"MouseEvent_ControlDown", (PyCFunction
) _wrap_MouseEvent_ControlDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45663 { (char *)"MouseEvent_MetaDown", (PyCFunction
) _wrap_MouseEvent_MetaDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45664 { (char *)"MouseEvent_AltDown", (PyCFunction
) _wrap_MouseEvent_AltDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45665 { (char *)"MouseEvent_ShiftDown", (PyCFunction
) _wrap_MouseEvent_ShiftDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45666 { (char *)"MouseEvent_CmdDown", (PyCFunction
) _wrap_MouseEvent_CmdDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45667 { (char *)"MouseEvent_LeftDown", (PyCFunction
) _wrap_MouseEvent_LeftDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45668 { (char *)"MouseEvent_MiddleDown", (PyCFunction
) _wrap_MouseEvent_MiddleDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45669 { (char *)"MouseEvent_RightDown", (PyCFunction
) _wrap_MouseEvent_RightDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45670 { (char *)"MouseEvent_LeftUp", (PyCFunction
) _wrap_MouseEvent_LeftUp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45671 { (char *)"MouseEvent_MiddleUp", (PyCFunction
) _wrap_MouseEvent_MiddleUp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45672 { (char *)"MouseEvent_RightUp", (PyCFunction
) _wrap_MouseEvent_RightUp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45673 { (char *)"MouseEvent_LeftDClick", (PyCFunction
) _wrap_MouseEvent_LeftDClick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45674 { (char *)"MouseEvent_MiddleDClick", (PyCFunction
) _wrap_MouseEvent_MiddleDClick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45675 { (char *)"MouseEvent_RightDClick", (PyCFunction
) _wrap_MouseEvent_RightDClick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45676 { (char *)"MouseEvent_LeftIsDown", (PyCFunction
) _wrap_MouseEvent_LeftIsDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45677 { (char *)"MouseEvent_MiddleIsDown", (PyCFunction
) _wrap_MouseEvent_MiddleIsDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45678 { (char *)"MouseEvent_RightIsDown", (PyCFunction
) _wrap_MouseEvent_RightIsDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45679 { (char *)"MouseEvent_Dragging", (PyCFunction
) _wrap_MouseEvent_Dragging
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45680 { (char *)"MouseEvent_Moving", (PyCFunction
) _wrap_MouseEvent_Moving
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45681 { (char *)"MouseEvent_Entering", (PyCFunction
) _wrap_MouseEvent_Entering
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45682 { (char *)"MouseEvent_Leaving", (PyCFunction
) _wrap_MouseEvent_Leaving
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45683 { (char *)"MouseEvent_GetPosition", (PyCFunction
) _wrap_MouseEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45684 { (char *)"MouseEvent_GetPositionTuple", (PyCFunction
) _wrap_MouseEvent_GetPositionTuple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45685 { (char *)"MouseEvent_GetLogicalPosition", (PyCFunction
) _wrap_MouseEvent_GetLogicalPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45686 { (char *)"MouseEvent_GetX", (PyCFunction
) _wrap_MouseEvent_GetX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45687 { (char *)"MouseEvent_GetY", (PyCFunction
) _wrap_MouseEvent_GetY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45688 { (char *)"MouseEvent_GetWheelRotation", (PyCFunction
) _wrap_MouseEvent_GetWheelRotation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45689 { (char *)"MouseEvent_GetWheelDelta", (PyCFunction
) _wrap_MouseEvent_GetWheelDelta
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45690 { (char *)"MouseEvent_GetLinesPerAction", (PyCFunction
) _wrap_MouseEvent_GetLinesPerAction
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45691 { (char *)"MouseEvent_IsPageScroll", (PyCFunction
) _wrap_MouseEvent_IsPageScroll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45692 { (char *)"MouseEvent_m_x_set", (PyCFunction
) _wrap_MouseEvent_m_x_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45693 { (char *)"MouseEvent_m_x_get", (PyCFunction
) _wrap_MouseEvent_m_x_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45694 { (char *)"MouseEvent_m_y_set", (PyCFunction
) _wrap_MouseEvent_m_y_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45695 { (char *)"MouseEvent_m_y_get", (PyCFunction
) _wrap_MouseEvent_m_y_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45696 { (char *)"MouseEvent_m_leftDown_set", (PyCFunction
) _wrap_MouseEvent_m_leftDown_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45697 { (char *)"MouseEvent_m_leftDown_get", (PyCFunction
) _wrap_MouseEvent_m_leftDown_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45698 { (char *)"MouseEvent_m_middleDown_set", (PyCFunction
) _wrap_MouseEvent_m_middleDown_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45699 { (char *)"MouseEvent_m_middleDown_get", (PyCFunction
) _wrap_MouseEvent_m_middleDown_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45700 { (char *)"MouseEvent_m_rightDown_set", (PyCFunction
) _wrap_MouseEvent_m_rightDown_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45701 { (char *)"MouseEvent_m_rightDown_get", (PyCFunction
) _wrap_MouseEvent_m_rightDown_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45702 { (char *)"MouseEvent_m_controlDown_set", (PyCFunction
) _wrap_MouseEvent_m_controlDown_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45703 { (char *)"MouseEvent_m_controlDown_get", (PyCFunction
) _wrap_MouseEvent_m_controlDown_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45704 { (char *)"MouseEvent_m_shiftDown_set", (PyCFunction
) _wrap_MouseEvent_m_shiftDown_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45705 { (char *)"MouseEvent_m_shiftDown_get", (PyCFunction
) _wrap_MouseEvent_m_shiftDown_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45706 { (char *)"MouseEvent_m_altDown_set", (PyCFunction
) _wrap_MouseEvent_m_altDown_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45707 { (char *)"MouseEvent_m_altDown_get", (PyCFunction
) _wrap_MouseEvent_m_altDown_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45708 { (char *)"MouseEvent_m_metaDown_set", (PyCFunction
) _wrap_MouseEvent_m_metaDown_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45709 { (char *)"MouseEvent_m_metaDown_get", (PyCFunction
) _wrap_MouseEvent_m_metaDown_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45710 { (char *)"MouseEvent_m_wheelRotation_set", (PyCFunction
) _wrap_MouseEvent_m_wheelRotation_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45711 { (char *)"MouseEvent_m_wheelRotation_get", (PyCFunction
) _wrap_MouseEvent_m_wheelRotation_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45712 { (char *)"MouseEvent_m_wheelDelta_set", (PyCFunction
) _wrap_MouseEvent_m_wheelDelta_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45713 { (char *)"MouseEvent_m_wheelDelta_get", (PyCFunction
) _wrap_MouseEvent_m_wheelDelta_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45714 { (char *)"MouseEvent_m_linesPerAction_set", (PyCFunction
) _wrap_MouseEvent_m_linesPerAction_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45715 { (char *)"MouseEvent_m_linesPerAction_get", (PyCFunction
) _wrap_MouseEvent_m_linesPerAction_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45716 { (char *)"MouseEvent_swigregister", MouseEvent_swigregister
, METH_VARARGS
, NULL
},
45717 { (char *)"new_SetCursorEvent", (PyCFunction
) _wrap_new_SetCursorEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45718 { (char *)"SetCursorEvent_GetX", (PyCFunction
) _wrap_SetCursorEvent_GetX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45719 { (char *)"SetCursorEvent_GetY", (PyCFunction
) _wrap_SetCursorEvent_GetY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45720 { (char *)"SetCursorEvent_SetCursor", (PyCFunction
) _wrap_SetCursorEvent_SetCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45721 { (char *)"SetCursorEvent_GetCursor", (PyCFunction
) _wrap_SetCursorEvent_GetCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45722 { (char *)"SetCursorEvent_HasCursor", (PyCFunction
) _wrap_SetCursorEvent_HasCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45723 { (char *)"SetCursorEvent_swigregister", SetCursorEvent_swigregister
, METH_VARARGS
, NULL
},
45724 { (char *)"new_KeyEvent", (PyCFunction
) _wrap_new_KeyEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45725 { (char *)"KeyEvent_ControlDown", (PyCFunction
) _wrap_KeyEvent_ControlDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45726 { (char *)"KeyEvent_MetaDown", (PyCFunction
) _wrap_KeyEvent_MetaDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45727 { (char *)"KeyEvent_AltDown", (PyCFunction
) _wrap_KeyEvent_AltDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45728 { (char *)"KeyEvent_ShiftDown", (PyCFunction
) _wrap_KeyEvent_ShiftDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45729 { (char *)"KeyEvent_CmdDown", (PyCFunction
) _wrap_KeyEvent_CmdDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45730 { (char *)"KeyEvent_HasModifiers", (PyCFunction
) _wrap_KeyEvent_HasModifiers
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45731 { (char *)"KeyEvent_GetKeyCode", (PyCFunction
) _wrap_KeyEvent_GetKeyCode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45732 { (char *)"KeyEvent_GetUnicodeKey", (PyCFunction
) _wrap_KeyEvent_GetUnicodeKey
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45733 { (char *)"KeyEvent_GetRawKeyCode", (PyCFunction
) _wrap_KeyEvent_GetRawKeyCode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45734 { (char *)"KeyEvent_GetRawKeyFlags", (PyCFunction
) _wrap_KeyEvent_GetRawKeyFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45735 { (char *)"KeyEvent_GetPosition", (PyCFunction
) _wrap_KeyEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45736 { (char *)"KeyEvent_GetPositionTuple", (PyCFunction
) _wrap_KeyEvent_GetPositionTuple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45737 { (char *)"KeyEvent_GetX", (PyCFunction
) _wrap_KeyEvent_GetX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45738 { (char *)"KeyEvent_GetY", (PyCFunction
) _wrap_KeyEvent_GetY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45739 { (char *)"KeyEvent_m_x_set", (PyCFunction
) _wrap_KeyEvent_m_x_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45740 { (char *)"KeyEvent_m_x_get", (PyCFunction
) _wrap_KeyEvent_m_x_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45741 { (char *)"KeyEvent_m_y_set", (PyCFunction
) _wrap_KeyEvent_m_y_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45742 { (char *)"KeyEvent_m_y_get", (PyCFunction
) _wrap_KeyEvent_m_y_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45743 { (char *)"KeyEvent_m_keyCode_set", (PyCFunction
) _wrap_KeyEvent_m_keyCode_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45744 { (char *)"KeyEvent_m_keyCode_get", (PyCFunction
) _wrap_KeyEvent_m_keyCode_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45745 { (char *)"KeyEvent_m_controlDown_set", (PyCFunction
) _wrap_KeyEvent_m_controlDown_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45746 { (char *)"KeyEvent_m_controlDown_get", (PyCFunction
) _wrap_KeyEvent_m_controlDown_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45747 { (char *)"KeyEvent_m_shiftDown_set", (PyCFunction
) _wrap_KeyEvent_m_shiftDown_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45748 { (char *)"KeyEvent_m_shiftDown_get", (PyCFunction
) _wrap_KeyEvent_m_shiftDown_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45749 { (char *)"KeyEvent_m_altDown_set", (PyCFunction
) _wrap_KeyEvent_m_altDown_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45750 { (char *)"KeyEvent_m_altDown_get", (PyCFunction
) _wrap_KeyEvent_m_altDown_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45751 { (char *)"KeyEvent_m_metaDown_set", (PyCFunction
) _wrap_KeyEvent_m_metaDown_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45752 { (char *)"KeyEvent_m_metaDown_get", (PyCFunction
) _wrap_KeyEvent_m_metaDown_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45753 { (char *)"KeyEvent_m_scanCode_set", (PyCFunction
) _wrap_KeyEvent_m_scanCode_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45754 { (char *)"KeyEvent_m_scanCode_get", (PyCFunction
) _wrap_KeyEvent_m_scanCode_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45755 { (char *)"KeyEvent_m_rawCode_set", (PyCFunction
) _wrap_KeyEvent_m_rawCode_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45756 { (char *)"KeyEvent_m_rawCode_get", (PyCFunction
) _wrap_KeyEvent_m_rawCode_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45757 { (char *)"KeyEvent_m_rawFlags_set", (PyCFunction
) _wrap_KeyEvent_m_rawFlags_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45758 { (char *)"KeyEvent_m_rawFlags_get", (PyCFunction
) _wrap_KeyEvent_m_rawFlags_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45759 { (char *)"KeyEvent_swigregister", KeyEvent_swigregister
, METH_VARARGS
, NULL
},
45760 { (char *)"new_SizeEvent", (PyCFunction
) _wrap_new_SizeEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45761 { (char *)"SizeEvent_GetSize", (PyCFunction
) _wrap_SizeEvent_GetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45762 { (char *)"SizeEvent_GetRect", (PyCFunction
) _wrap_SizeEvent_GetRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45763 { (char *)"SizeEvent_SetRect", (PyCFunction
) _wrap_SizeEvent_SetRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45764 { (char *)"SizeEvent_SetSize", (PyCFunction
) _wrap_SizeEvent_SetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45765 { (char *)"SizeEvent_m_size_set", (PyCFunction
) _wrap_SizeEvent_m_size_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45766 { (char *)"SizeEvent_m_size_get", (PyCFunction
) _wrap_SizeEvent_m_size_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45767 { (char *)"SizeEvent_m_rect_set", (PyCFunction
) _wrap_SizeEvent_m_rect_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45768 { (char *)"SizeEvent_m_rect_get", (PyCFunction
) _wrap_SizeEvent_m_rect_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45769 { (char *)"SizeEvent_swigregister", SizeEvent_swigregister
, METH_VARARGS
, NULL
},
45770 { (char *)"new_MoveEvent", (PyCFunction
) _wrap_new_MoveEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45771 { (char *)"MoveEvent_GetPosition", (PyCFunction
) _wrap_MoveEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45772 { (char *)"MoveEvent_GetRect", (PyCFunction
) _wrap_MoveEvent_GetRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45773 { (char *)"MoveEvent_SetRect", (PyCFunction
) _wrap_MoveEvent_SetRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45774 { (char *)"MoveEvent_SetPosition", (PyCFunction
) _wrap_MoveEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45775 { (char *)"MoveEvent_swigregister", MoveEvent_swigregister
, METH_VARARGS
, NULL
},
45776 { (char *)"new_PaintEvent", (PyCFunction
) _wrap_new_PaintEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45777 { (char *)"PaintEvent_swigregister", PaintEvent_swigregister
, METH_VARARGS
, NULL
},
45778 { (char *)"new_NcPaintEvent", (PyCFunction
) _wrap_new_NcPaintEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45779 { (char *)"NcPaintEvent_swigregister", NcPaintEvent_swigregister
, METH_VARARGS
, NULL
},
45780 { (char *)"new_EraseEvent", (PyCFunction
) _wrap_new_EraseEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45781 { (char *)"EraseEvent_GetDC", (PyCFunction
) _wrap_EraseEvent_GetDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45782 { (char *)"EraseEvent_swigregister", EraseEvent_swigregister
, METH_VARARGS
, NULL
},
45783 { (char *)"new_FocusEvent", (PyCFunction
) _wrap_new_FocusEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45784 { (char *)"FocusEvent_GetWindow", (PyCFunction
) _wrap_FocusEvent_GetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45785 { (char *)"FocusEvent_SetWindow", (PyCFunction
) _wrap_FocusEvent_SetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45786 { (char *)"FocusEvent_swigregister", FocusEvent_swigregister
, METH_VARARGS
, NULL
},
45787 { (char *)"new_ChildFocusEvent", (PyCFunction
) _wrap_new_ChildFocusEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45788 { (char *)"ChildFocusEvent_GetWindow", (PyCFunction
) _wrap_ChildFocusEvent_GetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45789 { (char *)"ChildFocusEvent_swigregister", ChildFocusEvent_swigregister
, METH_VARARGS
, NULL
},
45790 { (char *)"new_ActivateEvent", (PyCFunction
) _wrap_new_ActivateEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45791 { (char *)"ActivateEvent_GetActive", (PyCFunction
) _wrap_ActivateEvent_GetActive
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45792 { (char *)"ActivateEvent_swigregister", ActivateEvent_swigregister
, METH_VARARGS
, NULL
},
45793 { (char *)"new_InitDialogEvent", (PyCFunction
) _wrap_new_InitDialogEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45794 { (char *)"InitDialogEvent_swigregister", InitDialogEvent_swigregister
, METH_VARARGS
, NULL
},
45795 { (char *)"new_MenuEvent", (PyCFunction
) _wrap_new_MenuEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45796 { (char *)"MenuEvent_GetMenuId", (PyCFunction
) _wrap_MenuEvent_GetMenuId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45797 { (char *)"MenuEvent_IsPopup", (PyCFunction
) _wrap_MenuEvent_IsPopup
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45798 { (char *)"MenuEvent_GetMenu", (PyCFunction
) _wrap_MenuEvent_GetMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45799 { (char *)"MenuEvent_swigregister", MenuEvent_swigregister
, METH_VARARGS
, NULL
},
45800 { (char *)"new_CloseEvent", (PyCFunction
) _wrap_new_CloseEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45801 { (char *)"CloseEvent_SetLoggingOff", (PyCFunction
) _wrap_CloseEvent_SetLoggingOff
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45802 { (char *)"CloseEvent_GetLoggingOff", (PyCFunction
) _wrap_CloseEvent_GetLoggingOff
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45803 { (char *)"CloseEvent_Veto", (PyCFunction
) _wrap_CloseEvent_Veto
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45804 { (char *)"CloseEvent_SetCanVeto", (PyCFunction
) _wrap_CloseEvent_SetCanVeto
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45805 { (char *)"CloseEvent_CanVeto", (PyCFunction
) _wrap_CloseEvent_CanVeto
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45806 { (char *)"CloseEvent_GetVeto", (PyCFunction
) _wrap_CloseEvent_GetVeto
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45807 { (char *)"CloseEvent_swigregister", CloseEvent_swigregister
, METH_VARARGS
, NULL
},
45808 { (char *)"new_ShowEvent", (PyCFunction
) _wrap_new_ShowEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45809 { (char *)"ShowEvent_SetShow", (PyCFunction
) _wrap_ShowEvent_SetShow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45810 { (char *)"ShowEvent_GetShow", (PyCFunction
) _wrap_ShowEvent_GetShow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45811 { (char *)"ShowEvent_swigregister", ShowEvent_swigregister
, METH_VARARGS
, NULL
},
45812 { (char *)"new_IconizeEvent", (PyCFunction
) _wrap_new_IconizeEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45813 { (char *)"IconizeEvent_Iconized", (PyCFunction
) _wrap_IconizeEvent_Iconized
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45814 { (char *)"IconizeEvent_swigregister", IconizeEvent_swigregister
, METH_VARARGS
, NULL
},
45815 { (char *)"new_MaximizeEvent", (PyCFunction
) _wrap_new_MaximizeEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45816 { (char *)"MaximizeEvent_swigregister", MaximizeEvent_swigregister
, METH_VARARGS
, NULL
},
45817 { (char *)"DropFilesEvent_GetPosition", (PyCFunction
) _wrap_DropFilesEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45818 { (char *)"DropFilesEvent_GetNumberOfFiles", (PyCFunction
) _wrap_DropFilesEvent_GetNumberOfFiles
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45819 { (char *)"DropFilesEvent_GetFiles", (PyCFunction
) _wrap_DropFilesEvent_GetFiles
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45820 { (char *)"DropFilesEvent_swigregister", DropFilesEvent_swigregister
, METH_VARARGS
, NULL
},
45821 { (char *)"new_UpdateUIEvent", (PyCFunction
) _wrap_new_UpdateUIEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45822 { (char *)"UpdateUIEvent_GetChecked", (PyCFunction
) _wrap_UpdateUIEvent_GetChecked
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45823 { (char *)"UpdateUIEvent_GetEnabled", (PyCFunction
) _wrap_UpdateUIEvent_GetEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45824 { (char *)"UpdateUIEvent_GetText", (PyCFunction
) _wrap_UpdateUIEvent_GetText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45825 { (char *)"UpdateUIEvent_GetSetText", (PyCFunction
) _wrap_UpdateUIEvent_GetSetText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45826 { (char *)"UpdateUIEvent_GetSetChecked", (PyCFunction
) _wrap_UpdateUIEvent_GetSetChecked
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45827 { (char *)"UpdateUIEvent_GetSetEnabled", (PyCFunction
) _wrap_UpdateUIEvent_GetSetEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45828 { (char *)"UpdateUIEvent_Check", (PyCFunction
) _wrap_UpdateUIEvent_Check
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45829 { (char *)"UpdateUIEvent_Enable", (PyCFunction
) _wrap_UpdateUIEvent_Enable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45830 { (char *)"UpdateUIEvent_SetText", (PyCFunction
) _wrap_UpdateUIEvent_SetText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45831 { (char *)"UpdateUIEvent_SetUpdateInterval", (PyCFunction
) _wrap_UpdateUIEvent_SetUpdateInterval
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45832 { (char *)"UpdateUIEvent_GetUpdateInterval", (PyCFunction
) _wrap_UpdateUIEvent_GetUpdateInterval
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45833 { (char *)"UpdateUIEvent_CanUpdate", (PyCFunction
) _wrap_UpdateUIEvent_CanUpdate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45834 { (char *)"UpdateUIEvent_ResetUpdateTime", (PyCFunction
) _wrap_UpdateUIEvent_ResetUpdateTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45835 { (char *)"UpdateUIEvent_SetMode", (PyCFunction
) _wrap_UpdateUIEvent_SetMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45836 { (char *)"UpdateUIEvent_GetMode", (PyCFunction
) _wrap_UpdateUIEvent_GetMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45837 { (char *)"UpdateUIEvent_swigregister", UpdateUIEvent_swigregister
, METH_VARARGS
, NULL
},
45838 { (char *)"new_SysColourChangedEvent", (PyCFunction
) _wrap_new_SysColourChangedEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45839 { (char *)"SysColourChangedEvent_swigregister", SysColourChangedEvent_swigregister
, METH_VARARGS
, NULL
},
45840 { (char *)"new_MouseCaptureChangedEvent", (PyCFunction
) _wrap_new_MouseCaptureChangedEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45841 { (char *)"MouseCaptureChangedEvent_GetCapturedWindow", (PyCFunction
) _wrap_MouseCaptureChangedEvent_GetCapturedWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45842 { (char *)"MouseCaptureChangedEvent_swigregister", MouseCaptureChangedEvent_swigregister
, METH_VARARGS
, NULL
},
45843 { (char *)"new_DisplayChangedEvent", (PyCFunction
) _wrap_new_DisplayChangedEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45844 { (char *)"DisplayChangedEvent_swigregister", DisplayChangedEvent_swigregister
, METH_VARARGS
, NULL
},
45845 { (char *)"new_PaletteChangedEvent", (PyCFunction
) _wrap_new_PaletteChangedEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45846 { (char *)"PaletteChangedEvent_SetChangedWindow", (PyCFunction
) _wrap_PaletteChangedEvent_SetChangedWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45847 { (char *)"PaletteChangedEvent_GetChangedWindow", (PyCFunction
) _wrap_PaletteChangedEvent_GetChangedWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45848 { (char *)"PaletteChangedEvent_swigregister", PaletteChangedEvent_swigregister
, METH_VARARGS
, NULL
},
45849 { (char *)"new_QueryNewPaletteEvent", (PyCFunction
) _wrap_new_QueryNewPaletteEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45850 { (char *)"QueryNewPaletteEvent_SetPaletteRealized", (PyCFunction
) _wrap_QueryNewPaletteEvent_SetPaletteRealized
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45851 { (char *)"QueryNewPaletteEvent_GetPaletteRealized", (PyCFunction
) _wrap_QueryNewPaletteEvent_GetPaletteRealized
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45852 { (char *)"QueryNewPaletteEvent_swigregister", QueryNewPaletteEvent_swigregister
, METH_VARARGS
, NULL
},
45853 { (char *)"new_NavigationKeyEvent", (PyCFunction
) _wrap_new_NavigationKeyEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45854 { (char *)"NavigationKeyEvent_GetDirection", (PyCFunction
) _wrap_NavigationKeyEvent_GetDirection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45855 { (char *)"NavigationKeyEvent_SetDirection", (PyCFunction
) _wrap_NavigationKeyEvent_SetDirection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45856 { (char *)"NavigationKeyEvent_IsWindowChange", (PyCFunction
) _wrap_NavigationKeyEvent_IsWindowChange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45857 { (char *)"NavigationKeyEvent_SetWindowChange", (PyCFunction
) _wrap_NavigationKeyEvent_SetWindowChange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45858 { (char *)"NavigationKeyEvent_IsFromTab", (PyCFunction
) _wrap_NavigationKeyEvent_IsFromTab
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45859 { (char *)"NavigationKeyEvent_SetFromTab", (PyCFunction
) _wrap_NavigationKeyEvent_SetFromTab
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45860 { (char *)"NavigationKeyEvent_SetFlags", (PyCFunction
) _wrap_NavigationKeyEvent_SetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45861 { (char *)"NavigationKeyEvent_GetCurrentFocus", (PyCFunction
) _wrap_NavigationKeyEvent_GetCurrentFocus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45862 { (char *)"NavigationKeyEvent_SetCurrentFocus", (PyCFunction
) _wrap_NavigationKeyEvent_SetCurrentFocus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45863 { (char *)"NavigationKeyEvent_swigregister", NavigationKeyEvent_swigregister
, METH_VARARGS
, NULL
},
45864 { (char *)"new_WindowCreateEvent", (PyCFunction
) _wrap_new_WindowCreateEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45865 { (char *)"WindowCreateEvent_GetWindow", (PyCFunction
) _wrap_WindowCreateEvent_GetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45866 { (char *)"WindowCreateEvent_swigregister", WindowCreateEvent_swigregister
, METH_VARARGS
, NULL
},
45867 { (char *)"new_WindowDestroyEvent", (PyCFunction
) _wrap_new_WindowDestroyEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45868 { (char *)"WindowDestroyEvent_GetWindow", (PyCFunction
) _wrap_WindowDestroyEvent_GetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45869 { (char *)"WindowDestroyEvent_swigregister", WindowDestroyEvent_swigregister
, METH_VARARGS
, NULL
},
45870 { (char *)"new_ContextMenuEvent", (PyCFunction
) _wrap_new_ContextMenuEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45871 { (char *)"ContextMenuEvent_GetPosition", (PyCFunction
) _wrap_ContextMenuEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45872 { (char *)"ContextMenuEvent_SetPosition", (PyCFunction
) _wrap_ContextMenuEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45873 { (char *)"ContextMenuEvent_swigregister", ContextMenuEvent_swigregister
, METH_VARARGS
, NULL
},
45874 { (char *)"new_IdleEvent", (PyCFunction
) _wrap_new_IdleEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45875 { (char *)"IdleEvent_RequestMore", (PyCFunction
) _wrap_IdleEvent_RequestMore
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45876 { (char *)"IdleEvent_MoreRequested", (PyCFunction
) _wrap_IdleEvent_MoreRequested
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45877 { (char *)"IdleEvent_SetMode", (PyCFunction
) _wrap_IdleEvent_SetMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45878 { (char *)"IdleEvent_GetMode", (PyCFunction
) _wrap_IdleEvent_GetMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45879 { (char *)"IdleEvent_CanSend", (PyCFunction
) _wrap_IdleEvent_CanSend
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45880 { (char *)"IdleEvent_swigregister", IdleEvent_swigregister
, METH_VARARGS
, NULL
},
45881 { (char *)"new_PyEvent", (PyCFunction
) _wrap_new_PyEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45882 { (char *)"delete_PyEvent", (PyCFunction
) _wrap_delete_PyEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45883 { (char *)"PyEvent_SetSelf", (PyCFunction
) _wrap_PyEvent_SetSelf
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45884 { (char *)"PyEvent_GetSelf", (PyCFunction
) _wrap_PyEvent_GetSelf
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45885 { (char *)"PyEvent_swigregister", PyEvent_swigregister
, METH_VARARGS
, NULL
},
45886 { (char *)"new_PyCommandEvent", (PyCFunction
) _wrap_new_PyCommandEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45887 { (char *)"delete_PyCommandEvent", (PyCFunction
) _wrap_delete_PyCommandEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45888 { (char *)"PyCommandEvent_SetSelf", (PyCFunction
) _wrap_PyCommandEvent_SetSelf
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45889 { (char *)"PyCommandEvent_GetSelf", (PyCFunction
) _wrap_PyCommandEvent_GetSelf
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45890 { (char *)"PyCommandEvent_swigregister", PyCommandEvent_swigregister
, METH_VARARGS
, NULL
},
45891 { (char *)"new_DateEvent", (PyCFunction
) _wrap_new_DateEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45892 { (char *)"DateEvent_GetDate", (PyCFunction
) _wrap_DateEvent_GetDate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45893 { (char *)"DateEvent_SetDate", (PyCFunction
) _wrap_DateEvent_SetDate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45894 { (char *)"DateEvent_swigregister", DateEvent_swigregister
, METH_VARARGS
, NULL
},
45895 { (char *)"new_PyApp", (PyCFunction
) _wrap_new_PyApp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45896 { (char *)"delete_PyApp", (PyCFunction
) _wrap_delete_PyApp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45897 { (char *)"PyApp__setCallbackInfo", (PyCFunction
) _wrap_PyApp__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45898 { (char *)"PyApp_GetAppName", (PyCFunction
) _wrap_PyApp_GetAppName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45899 { (char *)"PyApp_SetAppName", (PyCFunction
) _wrap_PyApp_SetAppName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45900 { (char *)"PyApp_GetClassName", (PyCFunction
) _wrap_PyApp_GetClassName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45901 { (char *)"PyApp_SetClassName", (PyCFunction
) _wrap_PyApp_SetClassName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45902 { (char *)"PyApp_GetVendorName", (PyCFunction
) _wrap_PyApp_GetVendorName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45903 { (char *)"PyApp_SetVendorName", (PyCFunction
) _wrap_PyApp_SetVendorName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45904 { (char *)"PyApp_GetTraits", (PyCFunction
) _wrap_PyApp_GetTraits
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45905 { (char *)"PyApp_ProcessPendingEvents", (PyCFunction
) _wrap_PyApp_ProcessPendingEvents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45906 { (char *)"PyApp_Yield", (PyCFunction
) _wrap_PyApp_Yield
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45907 { (char *)"PyApp_WakeUpIdle", (PyCFunction
) _wrap_PyApp_WakeUpIdle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45908 { (char *)"PyApp_IsMainLoopRunning", (PyCFunction
) _wrap_PyApp_IsMainLoopRunning
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45909 { (char *)"PyApp_MainLoop", (PyCFunction
) _wrap_PyApp_MainLoop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45910 { (char *)"PyApp_Exit", (PyCFunction
) _wrap_PyApp_Exit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45911 { (char *)"PyApp_ExitMainLoop", (PyCFunction
) _wrap_PyApp_ExitMainLoop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45912 { (char *)"PyApp_Pending", (PyCFunction
) _wrap_PyApp_Pending
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45913 { (char *)"PyApp_Dispatch", (PyCFunction
) _wrap_PyApp_Dispatch
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45914 { (char *)"PyApp_ProcessIdle", (PyCFunction
) _wrap_PyApp_ProcessIdle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45915 { (char *)"PyApp_SendIdleEvents", (PyCFunction
) _wrap_PyApp_SendIdleEvents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45916 { (char *)"PyApp_IsActive", (PyCFunction
) _wrap_PyApp_IsActive
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45917 { (char *)"PyApp_SetTopWindow", (PyCFunction
) _wrap_PyApp_SetTopWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45918 { (char *)"PyApp_GetTopWindow", (PyCFunction
) _wrap_PyApp_GetTopWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45919 { (char *)"PyApp_SetExitOnFrameDelete", (PyCFunction
) _wrap_PyApp_SetExitOnFrameDelete
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45920 { (char *)"PyApp_GetExitOnFrameDelete", (PyCFunction
) _wrap_PyApp_GetExitOnFrameDelete
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45921 { (char *)"PyApp_SetUseBestVisual", (PyCFunction
) _wrap_PyApp_SetUseBestVisual
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45922 { (char *)"PyApp_GetUseBestVisual", (PyCFunction
) _wrap_PyApp_GetUseBestVisual
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45923 { (char *)"PyApp_SetPrintMode", (PyCFunction
) _wrap_PyApp_SetPrintMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45924 { (char *)"PyApp_GetPrintMode", (PyCFunction
) _wrap_PyApp_GetPrintMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45925 { (char *)"PyApp_SetAssertMode", (PyCFunction
) _wrap_PyApp_SetAssertMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45926 { (char *)"PyApp_GetAssertMode", (PyCFunction
) _wrap_PyApp_GetAssertMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45927 { (char *)"PyApp_GetMacSupportPCMenuShortcuts", (PyCFunction
) _wrap_PyApp_GetMacSupportPCMenuShortcuts
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45928 { (char *)"PyApp_GetMacAboutMenuItemId", (PyCFunction
) _wrap_PyApp_GetMacAboutMenuItemId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45929 { (char *)"PyApp_GetMacPreferencesMenuItemId", (PyCFunction
) _wrap_PyApp_GetMacPreferencesMenuItemId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45930 { (char *)"PyApp_GetMacExitMenuItemId", (PyCFunction
) _wrap_PyApp_GetMacExitMenuItemId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45931 { (char *)"PyApp_GetMacHelpMenuTitleName", (PyCFunction
) _wrap_PyApp_GetMacHelpMenuTitleName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45932 { (char *)"PyApp_SetMacSupportPCMenuShortcuts", (PyCFunction
) _wrap_PyApp_SetMacSupportPCMenuShortcuts
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45933 { (char *)"PyApp_SetMacAboutMenuItemId", (PyCFunction
) _wrap_PyApp_SetMacAboutMenuItemId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45934 { (char *)"PyApp_SetMacPreferencesMenuItemId", (PyCFunction
) _wrap_PyApp_SetMacPreferencesMenuItemId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45935 { (char *)"PyApp_SetMacExitMenuItemId", (PyCFunction
) _wrap_PyApp_SetMacExitMenuItemId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45936 { (char *)"PyApp_SetMacHelpMenuTitleName", (PyCFunction
) _wrap_PyApp_SetMacHelpMenuTitleName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45937 { (char *)"PyApp__BootstrapApp", (PyCFunction
) _wrap_PyApp__BootstrapApp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45938 { (char *)"PyApp_GetComCtl32Version", (PyCFunction
) _wrap_PyApp_GetComCtl32Version
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45939 { (char *)"PyApp_swigregister", PyApp_swigregister
, METH_VARARGS
, NULL
},
45940 { (char *)"Exit", (PyCFunction
) _wrap_Exit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45941 { (char *)"Yield", (PyCFunction
) _wrap_Yield
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45942 { (char *)"YieldIfNeeded", (PyCFunction
) _wrap_YieldIfNeeded
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45943 { (char *)"SafeYield", (PyCFunction
) _wrap_SafeYield
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45944 { (char *)"WakeUpIdle", (PyCFunction
) _wrap_WakeUpIdle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45945 { (char *)"PostEvent", (PyCFunction
) _wrap_PostEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45946 { (char *)"App_CleanUp", (PyCFunction
) _wrap_App_CleanUp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45947 { (char *)"GetApp", (PyCFunction
) _wrap_GetApp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45948 { (char *)"SetDefaultPyEncoding", (PyCFunction
) _wrap_SetDefaultPyEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45949 { (char *)"GetDefaultPyEncoding", (PyCFunction
) _wrap_GetDefaultPyEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45950 { (char *)"new_EventLoop", (PyCFunction
) _wrap_new_EventLoop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45951 { (char *)"delete_EventLoop", (PyCFunction
) _wrap_delete_EventLoop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45952 { (char *)"EventLoop_Run", (PyCFunction
) _wrap_EventLoop_Run
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45953 { (char *)"EventLoop_Exit", (PyCFunction
) _wrap_EventLoop_Exit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45954 { (char *)"EventLoop_Pending", (PyCFunction
) _wrap_EventLoop_Pending
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45955 { (char *)"EventLoop_Dispatch", (PyCFunction
) _wrap_EventLoop_Dispatch
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45956 { (char *)"EventLoop_IsRunning", (PyCFunction
) _wrap_EventLoop_IsRunning
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45957 { (char *)"EventLoop_GetActive", (PyCFunction
) _wrap_EventLoop_GetActive
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45958 { (char *)"EventLoop_SetActive", (PyCFunction
) _wrap_EventLoop_SetActive
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45959 { (char *)"EventLoop_swigregister", EventLoop_swigregister
, METH_VARARGS
, NULL
},
45960 { (char *)"new_AcceleratorEntry", (PyCFunction
) _wrap_new_AcceleratorEntry
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45961 { (char *)"delete_AcceleratorEntry", (PyCFunction
) _wrap_delete_AcceleratorEntry
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45962 { (char *)"AcceleratorEntry_Set", (PyCFunction
) _wrap_AcceleratorEntry_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45963 { (char *)"AcceleratorEntry_GetFlags", (PyCFunction
) _wrap_AcceleratorEntry_GetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45964 { (char *)"AcceleratorEntry_GetKeyCode", (PyCFunction
) _wrap_AcceleratorEntry_GetKeyCode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45965 { (char *)"AcceleratorEntry_GetCommand", (PyCFunction
) _wrap_AcceleratorEntry_GetCommand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45966 { (char *)"AcceleratorEntry_swigregister", AcceleratorEntry_swigregister
, METH_VARARGS
, NULL
},
45967 { (char *)"new_AcceleratorTable", (PyCFunction
) _wrap_new_AcceleratorTable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45968 { (char *)"delete_AcceleratorTable", (PyCFunction
) _wrap_delete_AcceleratorTable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45969 { (char *)"AcceleratorTable_Ok", (PyCFunction
) _wrap_AcceleratorTable_Ok
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45970 { (char *)"AcceleratorTable_swigregister", AcceleratorTable_swigregister
, METH_VARARGS
, NULL
},
45971 { (char *)"GetAccelFromString", (PyCFunction
) _wrap_GetAccelFromString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45972 { (char *)"new_VisualAttributes", (PyCFunction
) _wrap_new_VisualAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45973 { (char *)"delete_VisualAttributes", (PyCFunction
) _wrap_delete_VisualAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45974 { (char *)"VisualAttributes_font_set", (PyCFunction
) _wrap_VisualAttributes_font_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45975 { (char *)"VisualAttributes_font_get", (PyCFunction
) _wrap_VisualAttributes_font_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45976 { (char *)"VisualAttributes_colFg_set", (PyCFunction
) _wrap_VisualAttributes_colFg_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45977 { (char *)"VisualAttributes_colFg_get", (PyCFunction
) _wrap_VisualAttributes_colFg_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45978 { (char *)"VisualAttributes_colBg_set", (PyCFunction
) _wrap_VisualAttributes_colBg_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45979 { (char *)"VisualAttributes_colBg_get", (PyCFunction
) _wrap_VisualAttributes_colBg_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45980 { (char *)"VisualAttributes_swigregister", VisualAttributes_swigregister
, METH_VARARGS
, NULL
},
45981 { (char *)"new_Window", (PyCFunction
) _wrap_new_Window
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45982 { (char *)"new_PreWindow", (PyCFunction
) _wrap_new_PreWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45983 { (char *)"Window_Create", (PyCFunction
) _wrap_Window_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45984 { (char *)"Window_Close", (PyCFunction
) _wrap_Window_Close
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45985 { (char *)"Window_Destroy", (PyCFunction
) _wrap_Window_Destroy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45986 { (char *)"Window_DestroyChildren", (PyCFunction
) _wrap_Window_DestroyChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45987 { (char *)"Window_IsBeingDeleted", (PyCFunction
) _wrap_Window_IsBeingDeleted
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45988 { (char *)"Window_SetTitle", (PyCFunction
) _wrap_Window_SetTitle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45989 { (char *)"Window_GetTitle", (PyCFunction
) _wrap_Window_GetTitle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45990 { (char *)"Window_SetLabel", (PyCFunction
) _wrap_Window_SetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45991 { (char *)"Window_GetLabel", (PyCFunction
) _wrap_Window_GetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45992 { (char *)"Window_SetName", (PyCFunction
) _wrap_Window_SetName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45993 { (char *)"Window_GetName", (PyCFunction
) _wrap_Window_GetName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45994 { (char *)"Window_SetWindowVariant", (PyCFunction
) _wrap_Window_SetWindowVariant
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45995 { (char *)"Window_GetWindowVariant", (PyCFunction
) _wrap_Window_GetWindowVariant
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45996 { (char *)"Window_SetId", (PyCFunction
) _wrap_Window_SetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45997 { (char *)"Window_GetId", (PyCFunction
) _wrap_Window_GetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45998 { (char *)"Window_NewControlId", (PyCFunction
) _wrap_Window_NewControlId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45999 { (char *)"Window_NextControlId", (PyCFunction
) _wrap_Window_NextControlId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46000 { (char *)"Window_PrevControlId", (PyCFunction
) _wrap_Window_PrevControlId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46001 { (char *)"Window_SetSize", (PyCFunction
) _wrap_Window_SetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46002 { (char *)"Window_SetDimensions", (PyCFunction
) _wrap_Window_SetDimensions
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46003 { (char *)"Window_SetRect", (PyCFunction
) _wrap_Window_SetRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46004 { (char *)"Window_SetSizeWH", (PyCFunction
) _wrap_Window_SetSizeWH
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46005 { (char *)"Window_Move", (PyCFunction
) _wrap_Window_Move
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46006 { (char *)"Window_MoveXY", (PyCFunction
) _wrap_Window_MoveXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46007 { (char *)"Window_SetBestFittingSize", (PyCFunction
) _wrap_Window_SetBestFittingSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46008 { (char *)"Window_Raise", (PyCFunction
) _wrap_Window_Raise
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46009 { (char *)"Window_Lower", (PyCFunction
) _wrap_Window_Lower
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46010 { (char *)"Window_SetClientSize", (PyCFunction
) _wrap_Window_SetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46011 { (char *)"Window_SetClientSizeWH", (PyCFunction
) _wrap_Window_SetClientSizeWH
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46012 { (char *)"Window_SetClientRect", (PyCFunction
) _wrap_Window_SetClientRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46013 { (char *)"Window_GetPosition", (PyCFunction
) _wrap_Window_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46014 { (char *)"Window_GetPositionTuple", (PyCFunction
) _wrap_Window_GetPositionTuple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46015 { (char *)"Window_GetSize", (PyCFunction
) _wrap_Window_GetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46016 { (char *)"Window_GetSizeTuple", (PyCFunction
) _wrap_Window_GetSizeTuple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46017 { (char *)"Window_GetRect", (PyCFunction
) _wrap_Window_GetRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46018 { (char *)"Window_GetClientSize", (PyCFunction
) _wrap_Window_GetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46019 { (char *)"Window_GetClientSizeTuple", (PyCFunction
) _wrap_Window_GetClientSizeTuple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46020 { (char *)"Window_GetClientAreaOrigin", (PyCFunction
) _wrap_Window_GetClientAreaOrigin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46021 { (char *)"Window_GetClientRect", (PyCFunction
) _wrap_Window_GetClientRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46022 { (char *)"Window_GetBestSize", (PyCFunction
) _wrap_Window_GetBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46023 { (char *)"Window_GetBestSizeTuple", (PyCFunction
) _wrap_Window_GetBestSizeTuple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46024 { (char *)"Window_InvalidateBestSize", (PyCFunction
) _wrap_Window_InvalidateBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46025 { (char *)"Window_GetBestFittingSize", (PyCFunction
) _wrap_Window_GetBestFittingSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46026 { (char *)"Window_GetAdjustedBestSize", (PyCFunction
) _wrap_Window_GetAdjustedBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46027 { (char *)"Window_Center", (PyCFunction
) _wrap_Window_Center
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46028 { (char *)"Window_CenterOnScreen", (PyCFunction
) _wrap_Window_CenterOnScreen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46029 { (char *)"Window_CenterOnParent", (PyCFunction
) _wrap_Window_CenterOnParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46030 { (char *)"Window_Fit", (PyCFunction
) _wrap_Window_Fit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46031 { (char *)"Window_FitInside", (PyCFunction
) _wrap_Window_FitInside
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46032 { (char *)"Window_SetSizeHints", (PyCFunction
) _wrap_Window_SetSizeHints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46033 { (char *)"Window_SetSizeHintsSz", (PyCFunction
) _wrap_Window_SetSizeHintsSz
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46034 { (char *)"Window_SetVirtualSizeHints", (PyCFunction
) _wrap_Window_SetVirtualSizeHints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46035 { (char *)"Window_SetVirtualSizeHintsSz", (PyCFunction
) _wrap_Window_SetVirtualSizeHintsSz
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46036 { (char *)"Window_GetMaxSize", (PyCFunction
) _wrap_Window_GetMaxSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46037 { (char *)"Window_GetMinSize", (PyCFunction
) _wrap_Window_GetMinSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46038 { (char *)"Window_SetMinSize", (PyCFunction
) _wrap_Window_SetMinSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46039 { (char *)"Window_SetMaxSize", (PyCFunction
) _wrap_Window_SetMaxSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46040 { (char *)"Window_GetMinWidth", (PyCFunction
) _wrap_Window_GetMinWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46041 { (char *)"Window_GetMinHeight", (PyCFunction
) _wrap_Window_GetMinHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46042 { (char *)"Window_GetMaxWidth", (PyCFunction
) _wrap_Window_GetMaxWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46043 { (char *)"Window_GetMaxHeight", (PyCFunction
) _wrap_Window_GetMaxHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46044 { (char *)"Window_SetVirtualSize", (PyCFunction
) _wrap_Window_SetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46045 { (char *)"Window_SetVirtualSizeWH", (PyCFunction
) _wrap_Window_SetVirtualSizeWH
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46046 { (char *)"Window_GetVirtualSize", (PyCFunction
) _wrap_Window_GetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46047 { (char *)"Window_GetVirtualSizeTuple", (PyCFunction
) _wrap_Window_GetVirtualSizeTuple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46048 { (char *)"Window_GetBestVirtualSize", (PyCFunction
) _wrap_Window_GetBestVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46049 { (char *)"Window_Show", (PyCFunction
) _wrap_Window_Show
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46050 { (char *)"Window_Hide", (PyCFunction
) _wrap_Window_Hide
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46051 { (char *)"Window_Enable", (PyCFunction
) _wrap_Window_Enable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46052 { (char *)"Window_Disable", (PyCFunction
) _wrap_Window_Disable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46053 { (char *)"Window_IsShown", (PyCFunction
) _wrap_Window_IsShown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46054 { (char *)"Window_IsEnabled", (PyCFunction
) _wrap_Window_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46055 { (char *)"Window_SetWindowStyleFlag", (PyCFunction
) _wrap_Window_SetWindowStyleFlag
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46056 { (char *)"Window_GetWindowStyleFlag", (PyCFunction
) _wrap_Window_GetWindowStyleFlag
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46057 { (char *)"Window_HasFlag", (PyCFunction
) _wrap_Window_HasFlag
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46058 { (char *)"Window_IsRetained", (PyCFunction
) _wrap_Window_IsRetained
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46059 { (char *)"Window_SetExtraStyle", (PyCFunction
) _wrap_Window_SetExtraStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46060 { (char *)"Window_GetExtraStyle", (PyCFunction
) _wrap_Window_GetExtraStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46061 { (char *)"Window_MakeModal", (PyCFunction
) _wrap_Window_MakeModal
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46062 { (char *)"Window_SetThemeEnabled", (PyCFunction
) _wrap_Window_SetThemeEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46063 { (char *)"Window_GetThemeEnabled", (PyCFunction
) _wrap_Window_GetThemeEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46064 { (char *)"Window_SetFocus", (PyCFunction
) _wrap_Window_SetFocus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46065 { (char *)"Window_SetFocusFromKbd", (PyCFunction
) _wrap_Window_SetFocusFromKbd
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46066 { (char *)"Window_FindFocus", (PyCFunction
) _wrap_Window_FindFocus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46067 { (char *)"Window_AcceptsFocus", (PyCFunction
) _wrap_Window_AcceptsFocus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46068 { (char *)"Window_AcceptsFocusFromKeyboard", (PyCFunction
) _wrap_Window_AcceptsFocusFromKeyboard
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46069 { (char *)"Window_GetDefaultItem", (PyCFunction
) _wrap_Window_GetDefaultItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46070 { (char *)"Window_SetDefaultItem", (PyCFunction
) _wrap_Window_SetDefaultItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46071 { (char *)"Window_SetTmpDefaultItem", (PyCFunction
) _wrap_Window_SetTmpDefaultItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46072 { (char *)"Window_Navigate", (PyCFunction
) _wrap_Window_Navigate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46073 { (char *)"Window_MoveAfterInTabOrder", (PyCFunction
) _wrap_Window_MoveAfterInTabOrder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46074 { (char *)"Window_MoveBeforeInTabOrder", (PyCFunction
) _wrap_Window_MoveBeforeInTabOrder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46075 { (char *)"Window_GetChildren", (PyCFunction
) _wrap_Window_GetChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46076 { (char *)"Window_GetParent", (PyCFunction
) _wrap_Window_GetParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46077 { (char *)"Window_GetGrandParent", (PyCFunction
) _wrap_Window_GetGrandParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46078 { (char *)"Window_IsTopLevel", (PyCFunction
) _wrap_Window_IsTopLevel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46079 { (char *)"Window_Reparent", (PyCFunction
) _wrap_Window_Reparent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46080 { (char *)"Window_AddChild", (PyCFunction
) _wrap_Window_AddChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46081 { (char *)"Window_RemoveChild", (PyCFunction
) _wrap_Window_RemoveChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46082 { (char *)"Window_FindWindowById", (PyCFunction
) _wrap_Window_FindWindowById
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46083 { (char *)"Window_FindWindowByName", (PyCFunction
) _wrap_Window_FindWindowByName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46084 { (char *)"Window_GetEventHandler", (PyCFunction
) _wrap_Window_GetEventHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46085 { (char *)"Window_SetEventHandler", (PyCFunction
) _wrap_Window_SetEventHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46086 { (char *)"Window_PushEventHandler", (PyCFunction
) _wrap_Window_PushEventHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46087 { (char *)"Window_PopEventHandler", (PyCFunction
) _wrap_Window_PopEventHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46088 { (char *)"Window_RemoveEventHandler", (PyCFunction
) _wrap_Window_RemoveEventHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46089 { (char *)"Window_SetValidator", (PyCFunction
) _wrap_Window_SetValidator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46090 { (char *)"Window_GetValidator", (PyCFunction
) _wrap_Window_GetValidator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46091 { (char *)"Window_Validate", (PyCFunction
) _wrap_Window_Validate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46092 { (char *)"Window_TransferDataToWindow", (PyCFunction
) _wrap_Window_TransferDataToWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46093 { (char *)"Window_TransferDataFromWindow", (PyCFunction
) _wrap_Window_TransferDataFromWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46094 { (char *)"Window_InitDialog", (PyCFunction
) _wrap_Window_InitDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46095 { (char *)"Window_SetAcceleratorTable", (PyCFunction
) _wrap_Window_SetAcceleratorTable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46096 { (char *)"Window_GetAcceleratorTable", (PyCFunction
) _wrap_Window_GetAcceleratorTable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46097 { (char *)"Window_RegisterHotKey", (PyCFunction
) _wrap_Window_RegisterHotKey
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46098 { (char *)"Window_UnregisterHotKey", (PyCFunction
) _wrap_Window_UnregisterHotKey
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46099 { (char *)"Window_ConvertDialogPointToPixels", (PyCFunction
) _wrap_Window_ConvertDialogPointToPixels
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46100 { (char *)"Window_ConvertDialogSizeToPixels", (PyCFunction
) _wrap_Window_ConvertDialogSizeToPixels
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46101 { (char *)"Window_DLG_PNT", (PyCFunction
) _wrap_Window_DLG_PNT
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46102 { (char *)"Window_DLG_SZE", (PyCFunction
) _wrap_Window_DLG_SZE
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46103 { (char *)"Window_ConvertPixelPointToDialog", (PyCFunction
) _wrap_Window_ConvertPixelPointToDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46104 { (char *)"Window_ConvertPixelSizeToDialog", (PyCFunction
) _wrap_Window_ConvertPixelSizeToDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46105 { (char *)"Window_WarpPointer", (PyCFunction
) _wrap_Window_WarpPointer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46106 { (char *)"Window_CaptureMouse", (PyCFunction
) _wrap_Window_CaptureMouse
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46107 { (char *)"Window_ReleaseMouse", (PyCFunction
) _wrap_Window_ReleaseMouse
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46108 { (char *)"Window_GetCapture", (PyCFunction
) _wrap_Window_GetCapture
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46109 { (char *)"Window_HasCapture", (PyCFunction
) _wrap_Window_HasCapture
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46110 { (char *)"Window_Refresh", (PyCFunction
) _wrap_Window_Refresh
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46111 { (char *)"Window_RefreshRect", (PyCFunction
) _wrap_Window_RefreshRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46112 { (char *)"Window_Update", (PyCFunction
) _wrap_Window_Update
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46113 { (char *)"Window_ClearBackground", (PyCFunction
) _wrap_Window_ClearBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46114 { (char *)"Window_Freeze", (PyCFunction
) _wrap_Window_Freeze
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46115 { (char *)"Window_Thaw", (PyCFunction
) _wrap_Window_Thaw
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46116 { (char *)"Window_PrepareDC", (PyCFunction
) _wrap_Window_PrepareDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46117 { (char *)"Window_GetUpdateRegion", (PyCFunction
) _wrap_Window_GetUpdateRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46118 { (char *)"Window_GetUpdateClientRect", (PyCFunction
) _wrap_Window_GetUpdateClientRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46119 { (char *)"Window_IsExposed", (PyCFunction
) _wrap_Window_IsExposed
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46120 { (char *)"Window_IsExposedPoint", (PyCFunction
) _wrap_Window_IsExposedPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46121 { (char *)"Window_IsExposedRect", (PyCFunction
) _wrap_Window_IsExposedRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46122 { (char *)"Window_GetDefaultAttributes", (PyCFunction
) _wrap_Window_GetDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46123 { (char *)"Window_GetClassDefaultAttributes", (PyCFunction
) _wrap_Window_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46124 { (char *)"Window_SetBackgroundColour", (PyCFunction
) _wrap_Window_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46125 { (char *)"Window_SetOwnBackgroundColour", (PyCFunction
) _wrap_Window_SetOwnBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46126 { (char *)"Window_SetForegroundColour", (PyCFunction
) _wrap_Window_SetForegroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46127 { (char *)"Window_SetOwnForegroundColour", (PyCFunction
) _wrap_Window_SetOwnForegroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46128 { (char *)"Window_GetBackgroundColour", (PyCFunction
) _wrap_Window_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46129 { (char *)"Window_GetForegroundColour", (PyCFunction
) _wrap_Window_GetForegroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46130 { (char *)"Window_InheritsBackgroundColour", (PyCFunction
) _wrap_Window_InheritsBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46131 { (char *)"Window_UseBgCol", (PyCFunction
) _wrap_Window_UseBgCol
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46132 { (char *)"Window_SetBackgroundStyle", (PyCFunction
) _wrap_Window_SetBackgroundStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46133 { (char *)"Window_GetBackgroundStyle", (PyCFunction
) _wrap_Window_GetBackgroundStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46134 { (char *)"Window_HasTransparentBackground", (PyCFunction
) _wrap_Window_HasTransparentBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46135 { (char *)"Window_SetCursor", (PyCFunction
) _wrap_Window_SetCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46136 { (char *)"Window_GetCursor", (PyCFunction
) _wrap_Window_GetCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46137 { (char *)"Window_SetFont", (PyCFunction
) _wrap_Window_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46138 { (char *)"Window_SetOwnFont", (PyCFunction
) _wrap_Window_SetOwnFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46139 { (char *)"Window_GetFont", (PyCFunction
) _wrap_Window_GetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46140 { (char *)"Window_SetCaret", (PyCFunction
) _wrap_Window_SetCaret
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46141 { (char *)"Window_GetCaret", (PyCFunction
) _wrap_Window_GetCaret
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46142 { (char *)"Window_GetCharHeight", (PyCFunction
) _wrap_Window_GetCharHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46143 { (char *)"Window_GetCharWidth", (PyCFunction
) _wrap_Window_GetCharWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46144 { (char *)"Window_GetTextExtent", (PyCFunction
) _wrap_Window_GetTextExtent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46145 { (char *)"Window_GetFullTextExtent", (PyCFunction
) _wrap_Window_GetFullTextExtent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46146 { (char *)"Window_ClientToScreenXY", (PyCFunction
) _wrap_Window_ClientToScreenXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46147 { (char *)"Window_ScreenToClientXY", (PyCFunction
) _wrap_Window_ScreenToClientXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46148 { (char *)"Window_ClientToScreen", (PyCFunction
) _wrap_Window_ClientToScreen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46149 { (char *)"Window_ScreenToClient", (PyCFunction
) _wrap_Window_ScreenToClient
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46150 { (char *)"Window_HitTestXY", (PyCFunction
) _wrap_Window_HitTestXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46151 { (char *)"Window_HitTest", (PyCFunction
) _wrap_Window_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46152 { (char *)"Window_GetBorder", _wrap_Window_GetBorder
, METH_VARARGS
, NULL
},
46153 { (char *)"Window_UpdateWindowUI", (PyCFunction
) _wrap_Window_UpdateWindowUI
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46154 { (char *)"Window_PopupMenuXY", (PyCFunction
) _wrap_Window_PopupMenuXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46155 { (char *)"Window_PopupMenu", (PyCFunction
) _wrap_Window_PopupMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46156 { (char *)"Window_GetHandle", (PyCFunction
) _wrap_Window_GetHandle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46157 { (char *)"Window_AssociateHandle", (PyCFunction
) _wrap_Window_AssociateHandle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46158 { (char *)"Window_DissociateHandle", (PyCFunction
) _wrap_Window_DissociateHandle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46159 { (char *)"Window_HasScrollbar", (PyCFunction
) _wrap_Window_HasScrollbar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46160 { (char *)"Window_SetScrollbar", (PyCFunction
) _wrap_Window_SetScrollbar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46161 { (char *)"Window_SetScrollPos", (PyCFunction
) _wrap_Window_SetScrollPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46162 { (char *)"Window_GetScrollPos", (PyCFunction
) _wrap_Window_GetScrollPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46163 { (char *)"Window_GetScrollThumb", (PyCFunction
) _wrap_Window_GetScrollThumb
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46164 { (char *)"Window_GetScrollRange", (PyCFunction
) _wrap_Window_GetScrollRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46165 { (char *)"Window_ScrollWindow", (PyCFunction
) _wrap_Window_ScrollWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46166 { (char *)"Window_ScrollLines", (PyCFunction
) _wrap_Window_ScrollLines
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46167 { (char *)"Window_ScrollPages", (PyCFunction
) _wrap_Window_ScrollPages
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46168 { (char *)"Window_LineUp", (PyCFunction
) _wrap_Window_LineUp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46169 { (char *)"Window_LineDown", (PyCFunction
) _wrap_Window_LineDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46170 { (char *)"Window_PageUp", (PyCFunction
) _wrap_Window_PageUp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46171 { (char *)"Window_PageDown", (PyCFunction
) _wrap_Window_PageDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46172 { (char *)"Window_SetHelpText", (PyCFunction
) _wrap_Window_SetHelpText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46173 { (char *)"Window_SetHelpTextForId", (PyCFunction
) _wrap_Window_SetHelpTextForId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46174 { (char *)"Window_GetHelpText", (PyCFunction
) _wrap_Window_GetHelpText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46175 { (char *)"Window_SetToolTipString", (PyCFunction
) _wrap_Window_SetToolTipString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46176 { (char *)"Window_SetToolTip", (PyCFunction
) _wrap_Window_SetToolTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46177 { (char *)"Window_GetToolTip", (PyCFunction
) _wrap_Window_GetToolTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46178 { (char *)"Window_SetDropTarget", (PyCFunction
) _wrap_Window_SetDropTarget
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46179 { (char *)"Window_GetDropTarget", (PyCFunction
) _wrap_Window_GetDropTarget
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46180 { (char *)"Window_SetConstraints", (PyCFunction
) _wrap_Window_SetConstraints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46181 { (char *)"Window_GetConstraints", (PyCFunction
) _wrap_Window_GetConstraints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46182 { (char *)"Window_SetAutoLayout", (PyCFunction
) _wrap_Window_SetAutoLayout
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46183 { (char *)"Window_GetAutoLayout", (PyCFunction
) _wrap_Window_GetAutoLayout
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46184 { (char *)"Window_Layout", (PyCFunction
) _wrap_Window_Layout
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46185 { (char *)"Window_SetSizer", (PyCFunction
) _wrap_Window_SetSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46186 { (char *)"Window_SetSizerAndFit", (PyCFunction
) _wrap_Window_SetSizerAndFit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46187 { (char *)"Window_GetSizer", (PyCFunction
) _wrap_Window_GetSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46188 { (char *)"Window_SetContainingSizer", (PyCFunction
) _wrap_Window_SetContainingSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46189 { (char *)"Window_GetContainingSizer", (PyCFunction
) _wrap_Window_GetContainingSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46190 { (char *)"Window_InheritAttributes", (PyCFunction
) _wrap_Window_InheritAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46191 { (char *)"Window_ShouldInheritColours", (PyCFunction
) _wrap_Window_ShouldInheritColours
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46192 { (char *)"Window_swigregister", Window_swigregister
, METH_VARARGS
, NULL
},
46193 { (char *)"FindWindowById", (PyCFunction
) _wrap_FindWindowById
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46194 { (char *)"FindWindowByName", (PyCFunction
) _wrap_FindWindowByName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46195 { (char *)"FindWindowByLabel", (PyCFunction
) _wrap_FindWindowByLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46196 { (char *)"Window_FromHWND", (PyCFunction
) _wrap_Window_FromHWND
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46197 { (char *)"new_Validator", (PyCFunction
) _wrap_new_Validator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46198 { (char *)"Validator_Clone", (PyCFunction
) _wrap_Validator_Clone
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46199 { (char *)"Validator_Validate", (PyCFunction
) _wrap_Validator_Validate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46200 { (char *)"Validator_TransferToWindow", (PyCFunction
) _wrap_Validator_TransferToWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46201 { (char *)"Validator_TransferFromWindow", (PyCFunction
) _wrap_Validator_TransferFromWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46202 { (char *)"Validator_GetWindow", (PyCFunction
) _wrap_Validator_GetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46203 { (char *)"Validator_SetWindow", (PyCFunction
) _wrap_Validator_SetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46204 { (char *)"Validator_IsSilent", (PyCFunction
) _wrap_Validator_IsSilent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46205 { (char *)"Validator_SetBellOnError", (PyCFunction
) _wrap_Validator_SetBellOnError
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46206 { (char *)"Validator_swigregister", Validator_swigregister
, METH_VARARGS
, NULL
},
46207 { (char *)"new_PyValidator", (PyCFunction
) _wrap_new_PyValidator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46208 { (char *)"PyValidator__setCallbackInfo", (PyCFunction
) _wrap_PyValidator__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46209 { (char *)"PyValidator_swigregister", PyValidator_swigregister
, METH_VARARGS
, NULL
},
46210 { (char *)"new_Menu", (PyCFunction
) _wrap_new_Menu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46211 { (char *)"Menu_Append", (PyCFunction
) _wrap_Menu_Append
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46212 { (char *)"Menu_AppendSeparator", (PyCFunction
) _wrap_Menu_AppendSeparator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46213 { (char *)"Menu_AppendCheckItem", (PyCFunction
) _wrap_Menu_AppendCheckItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46214 { (char *)"Menu_AppendRadioItem", (PyCFunction
) _wrap_Menu_AppendRadioItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46215 { (char *)"Menu_AppendMenu", (PyCFunction
) _wrap_Menu_AppendMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46216 { (char *)"Menu_AppendItem", (PyCFunction
) _wrap_Menu_AppendItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46217 { (char *)"Menu_Break", (PyCFunction
) _wrap_Menu_Break
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46218 { (char *)"Menu_InsertItem", (PyCFunction
) _wrap_Menu_InsertItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46219 { (char *)"Menu_Insert", (PyCFunction
) _wrap_Menu_Insert
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46220 { (char *)"Menu_InsertSeparator", (PyCFunction
) _wrap_Menu_InsertSeparator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46221 { (char *)"Menu_InsertCheckItem", (PyCFunction
) _wrap_Menu_InsertCheckItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46222 { (char *)"Menu_InsertRadioItem", (PyCFunction
) _wrap_Menu_InsertRadioItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46223 { (char *)"Menu_InsertMenu", (PyCFunction
) _wrap_Menu_InsertMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46224 { (char *)"Menu_PrependItem", (PyCFunction
) _wrap_Menu_PrependItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46225 { (char *)"Menu_Prepend", (PyCFunction
) _wrap_Menu_Prepend
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46226 { (char *)"Menu_PrependSeparator", (PyCFunction
) _wrap_Menu_PrependSeparator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46227 { (char *)"Menu_PrependCheckItem", (PyCFunction
) _wrap_Menu_PrependCheckItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46228 { (char *)"Menu_PrependRadioItem", (PyCFunction
) _wrap_Menu_PrependRadioItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46229 { (char *)"Menu_PrependMenu", (PyCFunction
) _wrap_Menu_PrependMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46230 { (char *)"Menu_Remove", (PyCFunction
) _wrap_Menu_Remove
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46231 { (char *)"Menu_RemoveItem", (PyCFunction
) _wrap_Menu_RemoveItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46232 { (char *)"Menu_Delete", (PyCFunction
) _wrap_Menu_Delete
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46233 { (char *)"Menu_DeleteItem", (PyCFunction
) _wrap_Menu_DeleteItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46234 { (char *)"Menu_Destroy", (PyCFunction
) _wrap_Menu_Destroy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46235 { (char *)"Menu_DestroyId", (PyCFunction
) _wrap_Menu_DestroyId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46236 { (char *)"Menu_DestroyItem", (PyCFunction
) _wrap_Menu_DestroyItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46237 { (char *)"Menu_GetMenuItemCount", (PyCFunction
) _wrap_Menu_GetMenuItemCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46238 { (char *)"Menu_GetMenuItems", (PyCFunction
) _wrap_Menu_GetMenuItems
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46239 { (char *)"Menu_FindItem", (PyCFunction
) _wrap_Menu_FindItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46240 { (char *)"Menu_FindItemById", (PyCFunction
) _wrap_Menu_FindItemById
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46241 { (char *)"Menu_FindItemByPosition", (PyCFunction
) _wrap_Menu_FindItemByPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46242 { (char *)"Menu_Enable", (PyCFunction
) _wrap_Menu_Enable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46243 { (char *)"Menu_IsEnabled", (PyCFunction
) _wrap_Menu_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46244 { (char *)"Menu_Check", (PyCFunction
) _wrap_Menu_Check
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46245 { (char *)"Menu_IsChecked", (PyCFunction
) _wrap_Menu_IsChecked
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46246 { (char *)"Menu_SetLabel", (PyCFunction
) _wrap_Menu_SetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46247 { (char *)"Menu_GetLabel", (PyCFunction
) _wrap_Menu_GetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46248 { (char *)"Menu_SetHelpString", (PyCFunction
) _wrap_Menu_SetHelpString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46249 { (char *)"Menu_GetHelpString", (PyCFunction
) _wrap_Menu_GetHelpString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46250 { (char *)"Menu_SetTitle", (PyCFunction
) _wrap_Menu_SetTitle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46251 { (char *)"Menu_GetTitle", (PyCFunction
) _wrap_Menu_GetTitle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46252 { (char *)"Menu_SetEventHandler", (PyCFunction
) _wrap_Menu_SetEventHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46253 { (char *)"Menu_GetEventHandler", (PyCFunction
) _wrap_Menu_GetEventHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46254 { (char *)"Menu_SetInvokingWindow", (PyCFunction
) _wrap_Menu_SetInvokingWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46255 { (char *)"Menu_GetInvokingWindow", (PyCFunction
) _wrap_Menu_GetInvokingWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46256 { (char *)"Menu_GetStyle", (PyCFunction
) _wrap_Menu_GetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46257 { (char *)"Menu_UpdateUI", (PyCFunction
) _wrap_Menu_UpdateUI
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46258 { (char *)"Menu_GetMenuBar", (PyCFunction
) _wrap_Menu_GetMenuBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46259 { (char *)"Menu_Attach", (PyCFunction
) _wrap_Menu_Attach
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46260 { (char *)"Menu_Detach", (PyCFunction
) _wrap_Menu_Detach
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46261 { (char *)"Menu_IsAttached", (PyCFunction
) _wrap_Menu_IsAttached
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46262 { (char *)"Menu_SetParent", (PyCFunction
) _wrap_Menu_SetParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46263 { (char *)"Menu_GetParent", (PyCFunction
) _wrap_Menu_GetParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46264 { (char *)"Menu_swigregister", Menu_swigregister
, METH_VARARGS
, NULL
},
46265 { (char *)"new_MenuBar", (PyCFunction
) _wrap_new_MenuBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46266 { (char *)"MenuBar_Append", (PyCFunction
) _wrap_MenuBar_Append
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46267 { (char *)"MenuBar_Insert", (PyCFunction
) _wrap_MenuBar_Insert
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46268 { (char *)"MenuBar_GetMenuCount", (PyCFunction
) _wrap_MenuBar_GetMenuCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46269 { (char *)"MenuBar_GetMenu", (PyCFunction
) _wrap_MenuBar_GetMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46270 { (char *)"MenuBar_Replace", (PyCFunction
) _wrap_MenuBar_Replace
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46271 { (char *)"MenuBar_Remove", (PyCFunction
) _wrap_MenuBar_Remove
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46272 { (char *)"MenuBar_EnableTop", (PyCFunction
) _wrap_MenuBar_EnableTop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46273 { (char *)"MenuBar_IsEnabledTop", (PyCFunction
) _wrap_MenuBar_IsEnabledTop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46274 { (char *)"MenuBar_SetLabelTop", (PyCFunction
) _wrap_MenuBar_SetLabelTop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46275 { (char *)"MenuBar_GetLabelTop", (PyCFunction
) _wrap_MenuBar_GetLabelTop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46276 { (char *)"MenuBar_FindMenuItem", (PyCFunction
) _wrap_MenuBar_FindMenuItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46277 { (char *)"MenuBar_FindItemById", (PyCFunction
) _wrap_MenuBar_FindItemById
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46278 { (char *)"MenuBar_FindMenu", (PyCFunction
) _wrap_MenuBar_FindMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46279 { (char *)"MenuBar_Enable", (PyCFunction
) _wrap_MenuBar_Enable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46280 { (char *)"MenuBar_Check", (PyCFunction
) _wrap_MenuBar_Check
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46281 { (char *)"MenuBar_IsChecked", (PyCFunction
) _wrap_MenuBar_IsChecked
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46282 { (char *)"MenuBar_IsEnabled", (PyCFunction
) _wrap_MenuBar_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46283 { (char *)"MenuBar_SetLabel", (PyCFunction
) _wrap_MenuBar_SetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46284 { (char *)"MenuBar_GetLabel", (PyCFunction
) _wrap_MenuBar_GetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46285 { (char *)"MenuBar_SetHelpString", (PyCFunction
) _wrap_MenuBar_SetHelpString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46286 { (char *)"MenuBar_GetHelpString", (PyCFunction
) _wrap_MenuBar_GetHelpString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46287 { (char *)"MenuBar_GetFrame", (PyCFunction
) _wrap_MenuBar_GetFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46288 { (char *)"MenuBar_IsAttached", (PyCFunction
) _wrap_MenuBar_IsAttached
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46289 { (char *)"MenuBar_Attach", (PyCFunction
) _wrap_MenuBar_Attach
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46290 { (char *)"MenuBar_Detach", (PyCFunction
) _wrap_MenuBar_Detach
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46291 { (char *)"MenuBar_swigregister", MenuBar_swigregister
, METH_VARARGS
, NULL
},
46292 { (char *)"new_MenuItem", (PyCFunction
) _wrap_new_MenuItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46293 { (char *)"MenuItem_GetMenu", (PyCFunction
) _wrap_MenuItem_GetMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46294 { (char *)"MenuItem_SetMenu", (PyCFunction
) _wrap_MenuItem_SetMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46295 { (char *)"MenuItem_SetId", (PyCFunction
) _wrap_MenuItem_SetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46296 { (char *)"MenuItem_GetId", (PyCFunction
) _wrap_MenuItem_GetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46297 { (char *)"MenuItem_IsSeparator", (PyCFunction
) _wrap_MenuItem_IsSeparator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46298 { (char *)"MenuItem_SetText", (PyCFunction
) _wrap_MenuItem_SetText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46299 { (char *)"MenuItem_GetLabel", (PyCFunction
) _wrap_MenuItem_GetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46300 { (char *)"MenuItem_GetText", (PyCFunction
) _wrap_MenuItem_GetText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46301 { (char *)"MenuItem_GetLabelFromText", (PyCFunction
) _wrap_MenuItem_GetLabelFromText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46302 { (char *)"MenuItem_GetKind", (PyCFunction
) _wrap_MenuItem_GetKind
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46303 { (char *)"MenuItem_SetKind", (PyCFunction
) _wrap_MenuItem_SetKind
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46304 { (char *)"MenuItem_SetCheckable", (PyCFunction
) _wrap_MenuItem_SetCheckable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46305 { (char *)"MenuItem_IsCheckable", (PyCFunction
) _wrap_MenuItem_IsCheckable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46306 { (char *)"MenuItem_IsSubMenu", (PyCFunction
) _wrap_MenuItem_IsSubMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46307 { (char *)"MenuItem_SetSubMenu", (PyCFunction
) _wrap_MenuItem_SetSubMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46308 { (char *)"MenuItem_GetSubMenu", (PyCFunction
) _wrap_MenuItem_GetSubMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46309 { (char *)"MenuItem_Enable", (PyCFunction
) _wrap_MenuItem_Enable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46310 { (char *)"MenuItem_IsEnabled", (PyCFunction
) _wrap_MenuItem_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46311 { (char *)"MenuItem_Check", (PyCFunction
) _wrap_MenuItem_Check
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46312 { (char *)"MenuItem_IsChecked", (PyCFunction
) _wrap_MenuItem_IsChecked
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46313 { (char *)"MenuItem_Toggle", (PyCFunction
) _wrap_MenuItem_Toggle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46314 { (char *)"MenuItem_SetHelp", (PyCFunction
) _wrap_MenuItem_SetHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46315 { (char *)"MenuItem_GetHelp", (PyCFunction
) _wrap_MenuItem_GetHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46316 { (char *)"MenuItem_GetAccel", (PyCFunction
) _wrap_MenuItem_GetAccel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46317 { (char *)"MenuItem_SetAccel", (PyCFunction
) _wrap_MenuItem_SetAccel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46318 { (char *)"MenuItem_SetFont", (PyCFunction
) _wrap_MenuItem_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46319 { (char *)"MenuItem_GetFont", (PyCFunction
) _wrap_MenuItem_GetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46320 { (char *)"MenuItem_SetTextColour", (PyCFunction
) _wrap_MenuItem_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46321 { (char *)"MenuItem_GetTextColour", (PyCFunction
) _wrap_MenuItem_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46322 { (char *)"MenuItem_SetBackgroundColour", (PyCFunction
) _wrap_MenuItem_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46323 { (char *)"MenuItem_GetBackgroundColour", (PyCFunction
) _wrap_MenuItem_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46324 { (char *)"MenuItem_SetBitmaps", (PyCFunction
) _wrap_MenuItem_SetBitmaps
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46325 { (char *)"MenuItem_SetDisabledBitmap", (PyCFunction
) _wrap_MenuItem_SetDisabledBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46326 { (char *)"MenuItem_GetDisabledBitmap", (PyCFunction
) _wrap_MenuItem_GetDisabledBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46327 { (char *)"MenuItem_SetMarginWidth", (PyCFunction
) _wrap_MenuItem_SetMarginWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46328 { (char *)"MenuItem_GetMarginWidth", (PyCFunction
) _wrap_MenuItem_GetMarginWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46329 { (char *)"MenuItem_GetDefaultMarginWidth", (PyCFunction
) _wrap_MenuItem_GetDefaultMarginWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46330 { (char *)"MenuItem_IsOwnerDrawn", (PyCFunction
) _wrap_MenuItem_IsOwnerDrawn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46331 { (char *)"MenuItem_SetOwnerDrawn", (PyCFunction
) _wrap_MenuItem_SetOwnerDrawn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46332 { (char *)"MenuItem_ResetOwnerDrawn", (PyCFunction
) _wrap_MenuItem_ResetOwnerDrawn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46333 { (char *)"MenuItem_SetBitmap", (PyCFunction
) _wrap_MenuItem_SetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46334 { (char *)"MenuItem_GetBitmap", (PyCFunction
) _wrap_MenuItem_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46335 { (char *)"MenuItem_swigregister", MenuItem_swigregister
, METH_VARARGS
, NULL
},
46336 { (char *)"new_Control", (PyCFunction
) _wrap_new_Control
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46337 { (char *)"new_PreControl", (PyCFunction
) _wrap_new_PreControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46338 { (char *)"Control_Create", (PyCFunction
) _wrap_Control_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46339 { (char *)"Control_Command", (PyCFunction
) _wrap_Control_Command
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46340 { (char *)"Control_GetLabel", (PyCFunction
) _wrap_Control_GetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46341 { (char *)"Control_SetLabel", (PyCFunction
) _wrap_Control_SetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46342 { (char *)"Control_GetClassDefaultAttributes", (PyCFunction
) _wrap_Control_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46343 { (char *)"Control_swigregister", Control_swigregister
, METH_VARARGS
, NULL
},
46344 { (char *)"ItemContainer_Append", (PyCFunction
) _wrap_ItemContainer_Append
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46345 { (char *)"ItemContainer_AppendItems", (PyCFunction
) _wrap_ItemContainer_AppendItems
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46346 { (char *)"ItemContainer_Insert", (PyCFunction
) _wrap_ItemContainer_Insert
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46347 { (char *)"ItemContainer_Clear", (PyCFunction
) _wrap_ItemContainer_Clear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46348 { (char *)"ItemContainer_Delete", (PyCFunction
) _wrap_ItemContainer_Delete
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46349 { (char *)"ItemContainer_GetClientData", (PyCFunction
) _wrap_ItemContainer_GetClientData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46350 { (char *)"ItemContainer_SetClientData", (PyCFunction
) _wrap_ItemContainer_SetClientData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46351 { (char *)"ItemContainer_GetCount", (PyCFunction
) _wrap_ItemContainer_GetCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46352 { (char *)"ItemContainer_IsEmpty", (PyCFunction
) _wrap_ItemContainer_IsEmpty
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46353 { (char *)"ItemContainer_GetString", (PyCFunction
) _wrap_ItemContainer_GetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46354 { (char *)"ItemContainer_GetStrings", (PyCFunction
) _wrap_ItemContainer_GetStrings
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46355 { (char *)"ItemContainer_SetString", (PyCFunction
) _wrap_ItemContainer_SetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46356 { (char *)"ItemContainer_FindString", (PyCFunction
) _wrap_ItemContainer_FindString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46357 { (char *)"ItemContainer_SetSelection", (PyCFunction
) _wrap_ItemContainer_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46358 { (char *)"ItemContainer_GetSelection", (PyCFunction
) _wrap_ItemContainer_GetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46359 { (char *)"ItemContainer_SetStringSelection", (PyCFunction
) _wrap_ItemContainer_SetStringSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46360 { (char *)"ItemContainer_GetStringSelection", (PyCFunction
) _wrap_ItemContainer_GetStringSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46361 { (char *)"ItemContainer_Select", (PyCFunction
) _wrap_ItemContainer_Select
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46362 { (char *)"ItemContainer_swigregister", ItemContainer_swigregister
, METH_VARARGS
, NULL
},
46363 { (char *)"ControlWithItems_swigregister", ControlWithItems_swigregister
, METH_VARARGS
, NULL
},
46364 { (char *)"new_SizerItem", (PyCFunction
) _wrap_new_SizerItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46365 { (char *)"new_SizerItemWindow", (PyCFunction
) _wrap_new_SizerItemWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46366 { (char *)"new_SizerItemSpacer", (PyCFunction
) _wrap_new_SizerItemSpacer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46367 { (char *)"new_SizerItemSizer", (PyCFunction
) _wrap_new_SizerItemSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46368 { (char *)"SizerItem_DeleteWindows", (PyCFunction
) _wrap_SizerItem_DeleteWindows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46369 { (char *)"SizerItem_DetachSizer", (PyCFunction
) _wrap_SizerItem_DetachSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46370 { (char *)"SizerItem_GetSize", (PyCFunction
) _wrap_SizerItem_GetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46371 { (char *)"SizerItem_CalcMin", (PyCFunction
) _wrap_SizerItem_CalcMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46372 { (char *)"SizerItem_SetDimension", (PyCFunction
) _wrap_SizerItem_SetDimension
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46373 { (char *)"SizerItem_GetMinSize", (PyCFunction
) _wrap_SizerItem_GetMinSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46374 { (char *)"SizerItem_GetMinSizeWithBorder", (PyCFunction
) _wrap_SizerItem_GetMinSizeWithBorder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46375 { (char *)"SizerItem_SetInitSize", (PyCFunction
) _wrap_SizerItem_SetInitSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46376 { (char *)"SizerItem_SetRatioWH", (PyCFunction
) _wrap_SizerItem_SetRatioWH
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46377 { (char *)"SizerItem_SetRatioSize", (PyCFunction
) _wrap_SizerItem_SetRatioSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46378 { (char *)"SizerItem_SetRatio", (PyCFunction
) _wrap_SizerItem_SetRatio
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46379 { (char *)"SizerItem_GetRatio", (PyCFunction
) _wrap_SizerItem_GetRatio
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46380 { (char *)"SizerItem_GetRect", (PyCFunction
) _wrap_SizerItem_GetRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46381 { (char *)"SizerItem_IsWindow", (PyCFunction
) _wrap_SizerItem_IsWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46382 { (char *)"SizerItem_IsSizer", (PyCFunction
) _wrap_SizerItem_IsSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46383 { (char *)"SizerItem_IsSpacer", (PyCFunction
) _wrap_SizerItem_IsSpacer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46384 { (char *)"SizerItem_SetProportion", (PyCFunction
) _wrap_SizerItem_SetProportion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46385 { (char *)"SizerItem_GetProportion", (PyCFunction
) _wrap_SizerItem_GetProportion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46386 { (char *)"SizerItem_SetFlag", (PyCFunction
) _wrap_SizerItem_SetFlag
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46387 { (char *)"SizerItem_GetFlag", (PyCFunction
) _wrap_SizerItem_GetFlag
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46388 { (char *)"SizerItem_SetBorder", (PyCFunction
) _wrap_SizerItem_SetBorder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46389 { (char *)"SizerItem_GetBorder", (PyCFunction
) _wrap_SizerItem_GetBorder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46390 { (char *)"SizerItem_GetWindow", (PyCFunction
) _wrap_SizerItem_GetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46391 { (char *)"SizerItem_SetWindow", (PyCFunction
) _wrap_SizerItem_SetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46392 { (char *)"SizerItem_GetSizer", (PyCFunction
) _wrap_SizerItem_GetSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46393 { (char *)"SizerItem_SetSizer", (PyCFunction
) _wrap_SizerItem_SetSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46394 { (char *)"SizerItem_GetSpacer", (PyCFunction
) _wrap_SizerItem_GetSpacer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46395 { (char *)"SizerItem_SetSpacer", (PyCFunction
) _wrap_SizerItem_SetSpacer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46396 { (char *)"SizerItem_Show", (PyCFunction
) _wrap_SizerItem_Show
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46397 { (char *)"SizerItem_IsShown", (PyCFunction
) _wrap_SizerItem_IsShown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46398 { (char *)"SizerItem_GetPosition", (PyCFunction
) _wrap_SizerItem_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46399 { (char *)"SizerItem_GetUserData", (PyCFunction
) _wrap_SizerItem_GetUserData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46400 { (char *)"SizerItem_swigregister", SizerItem_swigregister
, METH_VARARGS
, NULL
},
46401 { (char *)"Sizer__setOORInfo", (PyCFunction
) _wrap_Sizer__setOORInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46402 { (char *)"Sizer_Add", (PyCFunction
) _wrap_Sizer_Add
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46403 { (char *)"Sizer_Insert", (PyCFunction
) _wrap_Sizer_Insert
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46404 { (char *)"Sizer_Prepend", (PyCFunction
) _wrap_Sizer_Prepend
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46405 { (char *)"Sizer_Remove", (PyCFunction
) _wrap_Sizer_Remove
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46406 { (char *)"Sizer_Detach", (PyCFunction
) _wrap_Sizer_Detach
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46407 { (char *)"Sizer_GetItem", (PyCFunction
) _wrap_Sizer_GetItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46408 { (char *)"Sizer__SetItemMinSize", (PyCFunction
) _wrap_Sizer__SetItemMinSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46409 { (char *)"Sizer_AddItem", (PyCFunction
) _wrap_Sizer_AddItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46410 { (char *)"Sizer_InsertItem", (PyCFunction
) _wrap_Sizer_InsertItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46411 { (char *)"Sizer_PrependItem", (PyCFunction
) _wrap_Sizer_PrependItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46412 { (char *)"Sizer_SetDimension", (PyCFunction
) _wrap_Sizer_SetDimension
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46413 { (char *)"Sizer_SetMinSize", (PyCFunction
) _wrap_Sizer_SetMinSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46414 { (char *)"Sizer_GetSize", (PyCFunction
) _wrap_Sizer_GetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46415 { (char *)"Sizer_GetPosition", (PyCFunction
) _wrap_Sizer_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46416 { (char *)"Sizer_GetMinSize", (PyCFunction
) _wrap_Sizer_GetMinSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46417 { (char *)"Sizer_RecalcSizes", (PyCFunction
) _wrap_Sizer_RecalcSizes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46418 { (char *)"Sizer_CalcMin", (PyCFunction
) _wrap_Sizer_CalcMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46419 { (char *)"Sizer_Layout", (PyCFunction
) _wrap_Sizer_Layout
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46420 { (char *)"Sizer_Fit", (PyCFunction
) _wrap_Sizer_Fit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46421 { (char *)"Sizer_FitInside", (PyCFunction
) _wrap_Sizer_FitInside
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46422 { (char *)"Sizer_SetSizeHints", (PyCFunction
) _wrap_Sizer_SetSizeHints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46423 { (char *)"Sizer_SetVirtualSizeHints", (PyCFunction
) _wrap_Sizer_SetVirtualSizeHints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46424 { (char *)"Sizer_Clear", (PyCFunction
) _wrap_Sizer_Clear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46425 { (char *)"Sizer_DeleteWindows", (PyCFunction
) _wrap_Sizer_DeleteWindows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46426 { (char *)"Sizer_GetChildren", (PyCFunction
) _wrap_Sizer_GetChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46427 { (char *)"Sizer_Show", (PyCFunction
) _wrap_Sizer_Show
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46428 { (char *)"Sizer_IsShown", (PyCFunction
) _wrap_Sizer_IsShown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46429 { (char *)"Sizer_ShowItems", (PyCFunction
) _wrap_Sizer_ShowItems
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46430 { (char *)"Sizer_swigregister", Sizer_swigregister
, METH_VARARGS
, NULL
},
46431 { (char *)"new_PySizer", (PyCFunction
) _wrap_new_PySizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46432 { (char *)"PySizer__setCallbackInfo", (PyCFunction
) _wrap_PySizer__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46433 { (char *)"PySizer_swigregister", PySizer_swigregister
, METH_VARARGS
, NULL
},
46434 { (char *)"new_BoxSizer", (PyCFunction
) _wrap_new_BoxSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46435 { (char *)"BoxSizer_GetOrientation", (PyCFunction
) _wrap_BoxSizer_GetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46436 { (char *)"BoxSizer_SetOrientation", (PyCFunction
) _wrap_BoxSizer_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46437 { (char *)"BoxSizer_swigregister", BoxSizer_swigregister
, METH_VARARGS
, NULL
},
46438 { (char *)"new_StaticBoxSizer", (PyCFunction
) _wrap_new_StaticBoxSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46439 { (char *)"StaticBoxSizer_GetStaticBox", (PyCFunction
) _wrap_StaticBoxSizer_GetStaticBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46440 { (char *)"StaticBoxSizer_swigregister", StaticBoxSizer_swigregister
, METH_VARARGS
, NULL
},
46441 { (char *)"new_GridSizer", (PyCFunction
) _wrap_new_GridSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46442 { (char *)"GridSizer_SetCols", (PyCFunction
) _wrap_GridSizer_SetCols
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46443 { (char *)"GridSizer_SetRows", (PyCFunction
) _wrap_GridSizer_SetRows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46444 { (char *)"GridSizer_SetVGap", (PyCFunction
) _wrap_GridSizer_SetVGap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46445 { (char *)"GridSizer_SetHGap", (PyCFunction
) _wrap_GridSizer_SetHGap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46446 { (char *)"GridSizer_GetCols", (PyCFunction
) _wrap_GridSizer_GetCols
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46447 { (char *)"GridSizer_GetRows", (PyCFunction
) _wrap_GridSizer_GetRows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46448 { (char *)"GridSizer_GetVGap", (PyCFunction
) _wrap_GridSizer_GetVGap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46449 { (char *)"GridSizer_GetHGap", (PyCFunction
) _wrap_GridSizer_GetHGap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46450 { (char *)"GridSizer_swigregister", GridSizer_swigregister
, METH_VARARGS
, NULL
},
46451 { (char *)"new_FlexGridSizer", (PyCFunction
) _wrap_new_FlexGridSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46452 { (char *)"FlexGridSizer_AddGrowableRow", (PyCFunction
) _wrap_FlexGridSizer_AddGrowableRow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46453 { (char *)"FlexGridSizer_RemoveGrowableRow", (PyCFunction
) _wrap_FlexGridSizer_RemoveGrowableRow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46454 { (char *)"FlexGridSizer_AddGrowableCol", (PyCFunction
) _wrap_FlexGridSizer_AddGrowableCol
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46455 { (char *)"FlexGridSizer_RemoveGrowableCol", (PyCFunction
) _wrap_FlexGridSizer_RemoveGrowableCol
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46456 { (char *)"FlexGridSizer_SetFlexibleDirection", (PyCFunction
) _wrap_FlexGridSizer_SetFlexibleDirection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46457 { (char *)"FlexGridSizer_GetFlexibleDirection", (PyCFunction
) _wrap_FlexGridSizer_GetFlexibleDirection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46458 { (char *)"FlexGridSizer_SetNonFlexibleGrowMode", (PyCFunction
) _wrap_FlexGridSizer_SetNonFlexibleGrowMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46459 { (char *)"FlexGridSizer_GetNonFlexibleGrowMode", (PyCFunction
) _wrap_FlexGridSizer_GetNonFlexibleGrowMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46460 { (char *)"FlexGridSizer_GetRowHeights", (PyCFunction
) _wrap_FlexGridSizer_GetRowHeights
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46461 { (char *)"FlexGridSizer_GetColWidths", (PyCFunction
) _wrap_FlexGridSizer_GetColWidths
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46462 { (char *)"FlexGridSizer_swigregister", FlexGridSizer_swigregister
, METH_VARARGS
, NULL
},
46463 { (char *)"new_StdDialogButtonSizer", (PyCFunction
) _wrap_new_StdDialogButtonSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46464 { (char *)"StdDialogButtonSizer_AddButton", (PyCFunction
) _wrap_StdDialogButtonSizer_AddButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46465 { (char *)"StdDialogButtonSizer_Realize", (PyCFunction
) _wrap_StdDialogButtonSizer_Realize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46466 { (char *)"StdDialogButtonSizer_SetAffirmativeButton", (PyCFunction
) _wrap_StdDialogButtonSizer_SetAffirmativeButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46467 { (char *)"StdDialogButtonSizer_SetNegativeButton", (PyCFunction
) _wrap_StdDialogButtonSizer_SetNegativeButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46468 { (char *)"StdDialogButtonSizer_SetCancelButton", (PyCFunction
) _wrap_StdDialogButtonSizer_SetCancelButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46469 { (char *)"StdDialogButtonSizer_GetAffirmativeButton", (PyCFunction
) _wrap_StdDialogButtonSizer_GetAffirmativeButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46470 { (char *)"StdDialogButtonSizer_GetApplyButton", (PyCFunction
) _wrap_StdDialogButtonSizer_GetApplyButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46471 { (char *)"StdDialogButtonSizer_GetNegativeButton", (PyCFunction
) _wrap_StdDialogButtonSizer_GetNegativeButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46472 { (char *)"StdDialogButtonSizer_GetCancelButton", (PyCFunction
) _wrap_StdDialogButtonSizer_GetCancelButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46473 { (char *)"StdDialogButtonSizer_GetHelpButton", (PyCFunction
) _wrap_StdDialogButtonSizer_GetHelpButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46474 { (char *)"StdDialogButtonSizer_swigregister", StdDialogButtonSizer_swigregister
, METH_VARARGS
, NULL
},
46475 { (char *)"new_GBPosition", (PyCFunction
) _wrap_new_GBPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46476 { (char *)"GBPosition_GetRow", (PyCFunction
) _wrap_GBPosition_GetRow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46477 { (char *)"GBPosition_GetCol", (PyCFunction
) _wrap_GBPosition_GetCol
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46478 { (char *)"GBPosition_SetRow", (PyCFunction
) _wrap_GBPosition_SetRow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46479 { (char *)"GBPosition_SetCol", (PyCFunction
) _wrap_GBPosition_SetCol
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46480 { (char *)"GBPosition___eq__", (PyCFunction
) _wrap_GBPosition___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46481 { (char *)"GBPosition___ne__", (PyCFunction
) _wrap_GBPosition___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46482 { (char *)"GBPosition_Set", (PyCFunction
) _wrap_GBPosition_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46483 { (char *)"GBPosition_Get", (PyCFunction
) _wrap_GBPosition_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46484 { (char *)"GBPosition_swigregister", GBPosition_swigregister
, METH_VARARGS
, NULL
},
46485 { (char *)"new_GBSpan", (PyCFunction
) _wrap_new_GBSpan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46486 { (char *)"GBSpan_GetRowspan", (PyCFunction
) _wrap_GBSpan_GetRowspan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46487 { (char *)"GBSpan_GetColspan", (PyCFunction
) _wrap_GBSpan_GetColspan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46488 { (char *)"GBSpan_SetRowspan", (PyCFunction
) _wrap_GBSpan_SetRowspan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46489 { (char *)"GBSpan_SetColspan", (PyCFunction
) _wrap_GBSpan_SetColspan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46490 { (char *)"GBSpan___eq__", (PyCFunction
) _wrap_GBSpan___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46491 { (char *)"GBSpan___ne__", (PyCFunction
) _wrap_GBSpan___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46492 { (char *)"GBSpan_Set", (PyCFunction
) _wrap_GBSpan_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46493 { (char *)"GBSpan_Get", (PyCFunction
) _wrap_GBSpan_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46494 { (char *)"GBSpan_swigregister", GBSpan_swigregister
, METH_VARARGS
, NULL
},
46495 { (char *)"new_GBSizerItem", (PyCFunction
) _wrap_new_GBSizerItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46496 { (char *)"new_GBSizerItemWindow", (PyCFunction
) _wrap_new_GBSizerItemWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46497 { (char *)"new_GBSizerItemSizer", (PyCFunction
) _wrap_new_GBSizerItemSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46498 { (char *)"new_GBSizerItemSpacer", (PyCFunction
) _wrap_new_GBSizerItemSpacer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46499 { (char *)"GBSizerItem_GetPos", (PyCFunction
) _wrap_GBSizerItem_GetPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46500 { (char *)"GBSizerItem_GetSpan", (PyCFunction
) _wrap_GBSizerItem_GetSpan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46501 { (char *)"GBSizerItem_SetPos", (PyCFunction
) _wrap_GBSizerItem_SetPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46502 { (char *)"GBSizerItem_SetSpan", (PyCFunction
) _wrap_GBSizerItem_SetSpan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46503 { (char *)"GBSizerItem_Intersects", (PyCFunction
) _wrap_GBSizerItem_Intersects
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46504 { (char *)"GBSizerItem_IntersectsPos", (PyCFunction
) _wrap_GBSizerItem_IntersectsPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46505 { (char *)"GBSizerItem_GetEndPos", (PyCFunction
) _wrap_GBSizerItem_GetEndPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46506 { (char *)"GBSizerItem_GetGBSizer", (PyCFunction
) _wrap_GBSizerItem_GetGBSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46507 { (char *)"GBSizerItem_SetGBSizer", (PyCFunction
) _wrap_GBSizerItem_SetGBSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46508 { (char *)"GBSizerItem_swigregister", GBSizerItem_swigregister
, METH_VARARGS
, NULL
},
46509 { (char *)"new_GridBagSizer", (PyCFunction
) _wrap_new_GridBagSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46510 { (char *)"GridBagSizer_Add", (PyCFunction
) _wrap_GridBagSizer_Add
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46511 { (char *)"GridBagSizer_AddItem", (PyCFunction
) _wrap_GridBagSizer_AddItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46512 { (char *)"GridBagSizer_GetCellSize", (PyCFunction
) _wrap_GridBagSizer_GetCellSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46513 { (char *)"GridBagSizer_GetEmptyCellSize", (PyCFunction
) _wrap_GridBagSizer_GetEmptyCellSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46514 { (char *)"GridBagSizer_SetEmptyCellSize", (PyCFunction
) _wrap_GridBagSizer_SetEmptyCellSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46515 { (char *)"GridBagSizer_GetItemPosition", _wrap_GridBagSizer_GetItemPosition
, METH_VARARGS
, NULL
},
46516 { (char *)"GridBagSizer_SetItemPosition", _wrap_GridBagSizer_SetItemPosition
, METH_VARARGS
, NULL
},
46517 { (char *)"GridBagSizer_GetItemSpan", _wrap_GridBagSizer_GetItemSpan
, METH_VARARGS
, NULL
},
46518 { (char *)"GridBagSizer_SetItemSpan", _wrap_GridBagSizer_SetItemSpan
, METH_VARARGS
, NULL
},
46519 { (char *)"GridBagSizer_FindItem", _wrap_GridBagSizer_FindItem
, METH_VARARGS
, NULL
},
46520 { (char *)"GridBagSizer_FindItemAtPosition", (PyCFunction
) _wrap_GridBagSizer_FindItemAtPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46521 { (char *)"GridBagSizer_FindItemAtPoint", (PyCFunction
) _wrap_GridBagSizer_FindItemAtPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46522 { (char *)"GridBagSizer_CheckForIntersection", (PyCFunction
) _wrap_GridBagSizer_CheckForIntersection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46523 { (char *)"GridBagSizer_CheckForIntersectionPos", (PyCFunction
) _wrap_GridBagSizer_CheckForIntersectionPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46524 { (char *)"GridBagSizer_swigregister", GridBagSizer_swigregister
, METH_VARARGS
, NULL
},
46525 { (char *)"IndividualLayoutConstraint_Set", (PyCFunction
) _wrap_IndividualLayoutConstraint_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46526 { (char *)"IndividualLayoutConstraint_LeftOf", (PyCFunction
) _wrap_IndividualLayoutConstraint_LeftOf
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46527 { (char *)"IndividualLayoutConstraint_RightOf", (PyCFunction
) _wrap_IndividualLayoutConstraint_RightOf
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46528 { (char *)"IndividualLayoutConstraint_Above", (PyCFunction
) _wrap_IndividualLayoutConstraint_Above
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46529 { (char *)"IndividualLayoutConstraint_Below", (PyCFunction
) _wrap_IndividualLayoutConstraint_Below
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46530 { (char *)"IndividualLayoutConstraint_SameAs", (PyCFunction
) _wrap_IndividualLayoutConstraint_SameAs
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46531 { (char *)"IndividualLayoutConstraint_PercentOf", (PyCFunction
) _wrap_IndividualLayoutConstraint_PercentOf
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46532 { (char *)"IndividualLayoutConstraint_Absolute", (PyCFunction
) _wrap_IndividualLayoutConstraint_Absolute
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46533 { (char *)"IndividualLayoutConstraint_Unconstrained", (PyCFunction
) _wrap_IndividualLayoutConstraint_Unconstrained
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46534 { (char *)"IndividualLayoutConstraint_AsIs", (PyCFunction
) _wrap_IndividualLayoutConstraint_AsIs
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46535 { (char *)"IndividualLayoutConstraint_GetOtherWindow", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetOtherWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46536 { (char *)"IndividualLayoutConstraint_GetMyEdge", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetMyEdge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46537 { (char *)"IndividualLayoutConstraint_SetEdge", (PyCFunction
) _wrap_IndividualLayoutConstraint_SetEdge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46538 { (char *)"IndividualLayoutConstraint_SetValue", (PyCFunction
) _wrap_IndividualLayoutConstraint_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46539 { (char *)"IndividualLayoutConstraint_GetMargin", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetMargin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46540 { (char *)"IndividualLayoutConstraint_SetMargin", (PyCFunction
) _wrap_IndividualLayoutConstraint_SetMargin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46541 { (char *)"IndividualLayoutConstraint_GetValue", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46542 { (char *)"IndividualLayoutConstraint_GetPercent", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetPercent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46543 { (char *)"IndividualLayoutConstraint_GetOtherEdge", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetOtherEdge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46544 { (char *)"IndividualLayoutConstraint_GetDone", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetDone
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46545 { (char *)"IndividualLayoutConstraint_SetDone", (PyCFunction
) _wrap_IndividualLayoutConstraint_SetDone
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46546 { (char *)"IndividualLayoutConstraint_GetRelationship", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetRelationship
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46547 { (char *)"IndividualLayoutConstraint_SetRelationship", (PyCFunction
) _wrap_IndividualLayoutConstraint_SetRelationship
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46548 { (char *)"IndividualLayoutConstraint_ResetIfWin", (PyCFunction
) _wrap_IndividualLayoutConstraint_ResetIfWin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46549 { (char *)"IndividualLayoutConstraint_SatisfyConstraint", (PyCFunction
) _wrap_IndividualLayoutConstraint_SatisfyConstraint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46550 { (char *)"IndividualLayoutConstraint_GetEdge", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetEdge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46551 { (char *)"IndividualLayoutConstraint_swigregister", IndividualLayoutConstraint_swigregister
, METH_VARARGS
, NULL
},
46552 { (char *)"LayoutConstraints_left_get", (PyCFunction
) _wrap_LayoutConstraints_left_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46553 { (char *)"LayoutConstraints_top_get", (PyCFunction
) _wrap_LayoutConstraints_top_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46554 { (char *)"LayoutConstraints_right_get", (PyCFunction
) _wrap_LayoutConstraints_right_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46555 { (char *)"LayoutConstraints_bottom_get", (PyCFunction
) _wrap_LayoutConstraints_bottom_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46556 { (char *)"LayoutConstraints_width_get", (PyCFunction
) _wrap_LayoutConstraints_width_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46557 { (char *)"LayoutConstraints_height_get", (PyCFunction
) _wrap_LayoutConstraints_height_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46558 { (char *)"LayoutConstraints_centreX_get", (PyCFunction
) _wrap_LayoutConstraints_centreX_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46559 { (char *)"LayoutConstraints_centreY_get", (PyCFunction
) _wrap_LayoutConstraints_centreY_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46560 { (char *)"new_LayoutConstraints", (PyCFunction
) _wrap_new_LayoutConstraints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46561 { (char *)"LayoutConstraints_SatisfyConstraints", (PyCFunction
) _wrap_LayoutConstraints_SatisfyConstraints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46562 { (char *)"LayoutConstraints_AreSatisfied", (PyCFunction
) _wrap_LayoutConstraints_AreSatisfied
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46563 { (char *)"LayoutConstraints_swigregister", LayoutConstraints_swigregister
, METH_VARARGS
, NULL
},
46564 { NULL
, NULL
, 0, NULL
}
46568 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
46570 static void *_p_wxGBSizerItemTo_p_wxSizerItem(void *x
) {
46571 return (void *)((wxSizerItem
*) ((wxGBSizerItem
*) x
));
46573 static void *_p_wxBoxSizerTo_p_wxSizer(void *x
) {
46574 return (void *)((wxSizer
*) ((wxBoxSizer
*) x
));
46576 static void *_p_wxStaticBoxSizerTo_p_wxSizer(void *x
) {
46577 return (void *)((wxSizer
*) (wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
46579 static void *_p_wxStdDialogButtonSizerTo_p_wxSizer(void *x
) {
46580 return (void *)((wxSizer
*) (wxBoxSizer
*) ((wxStdDialogButtonSizer
*) x
));
46582 static void *_p_wxGridBagSizerTo_p_wxSizer(void *x
) {
46583 return (void *)((wxSizer
*) (wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
46585 static void *_p_wxGridSizerTo_p_wxSizer(void *x
) {
46586 return (void *)((wxSizer
*) ((wxGridSizer
*) x
));
46588 static void *_p_wxFlexGridSizerTo_p_wxSizer(void *x
) {
46589 return (void *)((wxSizer
*) (wxGridSizer
*) ((wxFlexGridSizer
*) x
));
46591 static void *_p_wxPySizerTo_p_wxSizer(void *x
) {
46592 return (void *)((wxSizer
*) ((wxPySizer
*) x
));
46594 static void *_p_wxStaticBoxSizerTo_p_wxBoxSizer(void *x
) {
46595 return (void *)((wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
46597 static void *_p_wxStdDialogButtonSizerTo_p_wxBoxSizer(void *x
) {
46598 return (void *)((wxBoxSizer
*) ((wxStdDialogButtonSizer
*) x
));
46600 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x
) {
46601 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
46603 static void *_p_wxMenuEventTo_p_wxEvent(void *x
) {
46604 return (void *)((wxEvent
*) ((wxMenuEvent
*) x
));
46606 static void *_p_wxCloseEventTo_p_wxEvent(void *x
) {
46607 return (void *)((wxEvent
*) ((wxCloseEvent
*) x
));
46609 static void *_p_wxMouseEventTo_p_wxEvent(void *x
) {
46610 return (void *)((wxEvent
*) ((wxMouseEvent
*) x
));
46612 static void *_p_wxEraseEventTo_p_wxEvent(void *x
) {
46613 return (void *)((wxEvent
*) ((wxEraseEvent
*) x
));
46615 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x
) {
46616 return (void *)((wxEvent
*) ((wxSetCursorEvent
*) x
));
46618 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x
) {
46619 return (void *)((wxEvent
*) ((wxInitDialogEvent
*) x
));
46621 static void *_p_wxScrollEventTo_p_wxEvent(void *x
) {
46622 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxScrollEvent
*) x
));
46624 static void *_p_wxPyEventTo_p_wxEvent(void *x
) {
46625 return (void *)((wxEvent
*) ((wxPyEvent
*) x
));
46627 static void *_p_wxNotifyEventTo_p_wxEvent(void *x
) {
46628 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxNotifyEvent
*) x
));
46630 static void *_p_wxIdleEventTo_p_wxEvent(void *x
) {
46631 return (void *)((wxEvent
*) ((wxIdleEvent
*) x
));
46633 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x
) {
46634 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
46636 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x
) {
46637 return (void *)((wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
46639 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x
) {
46640 return (void *)((wxEvent
*) ((wxMaximizeEvent
*) x
));
46642 static void *_p_wxIconizeEventTo_p_wxEvent(void *x
) {
46643 return (void *)((wxEvent
*) ((wxIconizeEvent
*) x
));
46645 static void *_p_wxActivateEventTo_p_wxEvent(void *x
) {
46646 return (void *)((wxEvent
*) ((wxActivateEvent
*) x
));
46648 static void *_p_wxSizeEventTo_p_wxEvent(void *x
) {
46649 return (void *)((wxEvent
*) ((wxSizeEvent
*) x
));
46651 static void *_p_wxMoveEventTo_p_wxEvent(void *x
) {
46652 return (void *)((wxEvent
*) ((wxMoveEvent
*) x
));
46654 static void *_p_wxDateEventTo_p_wxEvent(void *x
) {
46655 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxDateEvent
*) x
));
46657 static void *_p_wxPaintEventTo_p_wxEvent(void *x
) {
46658 return (void *)((wxEvent
*) ((wxPaintEvent
*) x
));
46660 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x
) {
46661 return (void *)((wxEvent
*) ((wxNcPaintEvent
*) x
));
46663 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x
) {
46664 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
46666 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x
) {
46667 return (void *)((wxEvent
*) ((wxPaletteChangedEvent
*) x
));
46669 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x
) {
46670 return (void *)((wxEvent
*) ((wxDisplayChangedEvent
*) x
));
46672 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x
) {
46673 return (void *)((wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
46675 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x
) {
46676 return (void *)((wxEvent
*) ((wxSysColourChangedEvent
*) x
));
46678 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x
) {
46679 return (void *)((wxEvent
*) ((wxDropFilesEvent
*) x
));
46681 static void *_p_wxFocusEventTo_p_wxEvent(void *x
) {
46682 return (void *)((wxEvent
*) ((wxFocusEvent
*) x
));
46684 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x
) {
46685 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
46687 static void *_p_wxShowEventTo_p_wxEvent(void *x
) {
46688 return (void *)((wxEvent
*) ((wxShowEvent
*) x
));
46690 static void *_p_wxCommandEventTo_p_wxEvent(void *x
) {
46691 return (void *)((wxEvent
*) ((wxCommandEvent
*) x
));
46693 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x
) {
46694 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
46696 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x
) {
46697 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
46699 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x
) {
46700 return (void *)((wxEvent
*) ((wxNavigationKeyEvent
*) x
));
46702 static void *_p_wxKeyEventTo_p_wxEvent(void *x
) {
46703 return (void *)((wxEvent
*) ((wxKeyEvent
*) x
));
46705 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x
) {
46706 return (void *)((wxEvent
*) ((wxScrollWinEvent
*) x
));
46708 static void *_p_wxGridBagSizerTo_p_wxGridSizer(void *x
) {
46709 return (void *)((wxGridSizer
*) (wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
46711 static void *_p_wxFlexGridSizerTo_p_wxGridSizer(void *x
) {
46712 return (void *)((wxGridSizer
*) ((wxFlexGridSizer
*) x
));
46714 static void *_p_wxGridBagSizerTo_p_wxFlexGridSizer(void *x
) {
46715 return (void *)((wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
46717 static void *_p_wxControlWithItemsTo_p_wxItemContainer(void *x
) {
46718 return (void *)((wxItemContainer
*) ((wxControlWithItems
*) x
));
46720 static void *_p_wxControlWithItemsTo_p_wxControl(void *x
) {
46721 return (void *)((wxControl
*) ((wxControlWithItems
*) x
));
46723 static void *_p_wxControlTo_p_wxEvtHandler(void *x
) {
46724 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxControl
*) x
));
46726 static void *_p_wxWindowTo_p_wxEvtHandler(void *x
) {
46727 return (void *)((wxEvtHandler
*) ((wxWindow
*) x
));
46729 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x
) {
46730 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
46732 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x
) {
46733 return (void *)((wxEvtHandler
*) ((wxPyApp
*) x
));
46735 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x
) {
46736 return (void *)((wxEvtHandler
*) ((wxValidator
*) x
));
46738 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x
) {
46739 return (void *)((wxEvtHandler
*) (wxValidator
*) ((wxPyValidator
*) x
));
46741 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x
) {
46742 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMenuBar
*) x
));
46744 static void *_p_wxMenuTo_p_wxEvtHandler(void *x
) {
46745 return (void *)((wxEvtHandler
*) ((wxMenu
*) x
));
46747 static void *_p_wxANIHandlerTo_p_wxCURHandler(void *x
) {
46748 return (void *)((wxCURHandler
*) ((wxANIHandler
*) x
));
46750 static void *_p_wxCURHandlerTo_p_wxICOHandler(void *x
) {
46751 return (void *)((wxICOHandler
*) ((wxCURHandler
*) x
));
46753 static void *_p_wxANIHandlerTo_p_wxICOHandler(void *x
) {
46754 return (void *)((wxICOHandler
*) (wxCURHandler
*) ((wxANIHandler
*) x
));
46756 static void *_p_wxICOHandlerTo_p_wxBMPHandler(void *x
) {
46757 return (void *)((wxBMPHandler
*) ((wxICOHandler
*) x
));
46759 static void *_p_wxCURHandlerTo_p_wxBMPHandler(void *x
) {
46760 return (void *)((wxBMPHandler
*) (wxICOHandler
*) ((wxCURHandler
*) x
));
46762 static void *_p_wxANIHandlerTo_p_wxBMPHandler(void *x
) {
46763 return (void *)((wxBMPHandler
*) (wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
46765 static void *_p_wxBMPHandlerTo_p_wxImageHandler(void *x
) {
46766 return (void *)((wxImageHandler
*) ((wxBMPHandler
*) x
));
46768 static void *_p_wxICOHandlerTo_p_wxImageHandler(void *x
) {
46769 return (void *)((wxImageHandler
*) (wxBMPHandler
*) ((wxICOHandler
*) x
));
46771 static void *_p_wxCURHandlerTo_p_wxImageHandler(void *x
) {
46772 return (void *)((wxImageHandler
*) (wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
46774 static void *_p_wxANIHandlerTo_p_wxImageHandler(void *x
) {
46775 return (void *)((wxImageHandler
*) (wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
46777 static void *_p_wxPNGHandlerTo_p_wxImageHandler(void *x
) {
46778 return (void *)((wxImageHandler
*) ((wxPNGHandler
*) x
));
46780 static void *_p_wxGIFHandlerTo_p_wxImageHandler(void *x
) {
46781 return (void *)((wxImageHandler
*) ((wxGIFHandler
*) x
));
46783 static void *_p_wxPCXHandlerTo_p_wxImageHandler(void *x
) {
46784 return (void *)((wxImageHandler
*) ((wxPCXHandler
*) x
));
46786 static void *_p_wxJPEGHandlerTo_p_wxImageHandler(void *x
) {
46787 return (void *)((wxImageHandler
*) ((wxJPEGHandler
*) x
));
46789 static void *_p_wxPNMHandlerTo_p_wxImageHandler(void *x
) {
46790 return (void *)((wxImageHandler
*) ((wxPNMHandler
*) x
));
46792 static void *_p_wxXPMHandlerTo_p_wxImageHandler(void *x
) {
46793 return (void *)((wxImageHandler
*) ((wxXPMHandler
*) x
));
46795 static void *_p_wxTIFFHandlerTo_p_wxImageHandler(void *x
) {
46796 return (void *)((wxImageHandler
*) ((wxTIFFHandler
*) x
));
46798 static void *_p_wxPyFileSystemHandlerTo_p_wxFileSystemHandler(void *x
) {
46799 return (void *)((wxFileSystemHandler
*) ((wxPyFileSystemHandler
*) x
));
46801 static void *_p_wxInternetFSHandlerTo_p_wxFileSystemHandler(void *x
) {
46802 return (void *)((wxFileSystemHandler
*) ((wxInternetFSHandler
*) x
));
46804 static void *_p_wxZipFSHandlerTo_p_wxFileSystemHandler(void *x
) {
46805 return (void *)((wxFileSystemHandler
*) ((wxZipFSHandler
*) x
));
46807 static void *_p_wxMemoryFSHandlerTo_p_wxFileSystemHandler(void *x
) {
46808 return (void *)((wxFileSystemHandler
*) ((wxMemoryFSHandler
*) x
));
46810 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
46811 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
46813 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
46814 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
46816 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
46817 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
46819 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
46820 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
46822 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
46823 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
46825 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
46826 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
46828 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
46829 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
46831 static void *_p_wxSizerTo_p_wxObject(void *x
) {
46832 return (void *)((wxObject
*) ((wxSizer
*) x
));
46834 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
46835 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
46837 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
46838 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
46840 static void *_p_wxEventTo_p_wxObject(void *x
) {
46841 return (void *)((wxObject
*) ((wxEvent
*) x
));
46843 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
46844 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
46846 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
46847 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
46849 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
46850 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
46852 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
46853 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
46855 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
46856 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
46858 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
46859 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
46861 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
46862 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
46864 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
46865 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
46867 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
46868 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
46870 static void *_p_wxControlTo_p_wxObject(void *x
) {
46871 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
46873 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
46874 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
46876 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
46877 return (void *)((wxObject
*) ((wxFSFile
*) x
));
46879 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
46880 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
46882 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
46883 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
46885 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
46886 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
46888 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
46889 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
46891 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
46892 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
46894 static void *_p_wxDateEventTo_p_wxObject(void *x
) {
46895 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxDateEvent
*) x
));
46897 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
46898 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
46900 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
46901 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
46903 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
46904 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
46906 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
46907 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
46909 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
46910 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
46912 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
46913 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
46915 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
46916 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
46918 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
46919 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
46921 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
46922 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
46924 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
46925 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
46927 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
46928 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
46930 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
46931 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
46933 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
46934 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
46936 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
46937 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
46939 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
46940 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
46942 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
46943 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
46945 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
46946 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
46948 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
46949 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
46951 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
46952 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
46954 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
46955 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
46957 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
46958 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
46960 static void *_p_wxStdDialogButtonSizerTo_p_wxObject(void *x
) {
46961 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStdDialogButtonSizer
*) x
));
46963 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
46964 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
46966 static void *_p_wxImageTo_p_wxObject(void *x
) {
46967 return (void *)((wxObject
*) ((wxImage
*) x
));
46969 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
46970 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
46972 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
46973 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
46975 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
46976 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
46978 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
46979 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
46981 static void *_p_wxWindowTo_p_wxObject(void *x
) {
46982 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
46984 static void *_p_wxMenuTo_p_wxObject(void *x
) {
46985 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
46987 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
46988 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
46990 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
46991 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
46993 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
46994 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
46996 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
46997 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
46999 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
47000 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
47002 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
47003 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
47005 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
47006 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
47008 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
47009 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
47011 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
47012 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
47014 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
47015 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
47017 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
47018 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
47020 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
47021 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
47023 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
47024 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
47026 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
47027 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
47029 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
47030 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
47032 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
47033 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
47035 static void *_p_wxControlTo_p_wxWindow(void *x
) {
47036 return (void *)((wxWindow
*) ((wxControl
*) x
));
47038 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
47039 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
47041 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
47042 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
47044 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x
) {
47045 return (void *)((wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
47047 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x
) {
47048 return (void *)((wxCommandEvent
*) ((wxScrollEvent
*) x
));
47050 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x
) {
47051 return (void *)((wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
47053 static void *_p_wxDateEventTo_p_wxCommandEvent(void *x
) {
47054 return (void *)((wxCommandEvent
*) ((wxDateEvent
*) x
));
47056 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x
) {
47057 return (void *)((wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
47059 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x
) {
47060 return (void *)((wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
47062 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x
) {
47063 return (void *)((wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
47065 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x
) {
47066 return (void *)((wxCommandEvent
*) ((wxNotifyEvent
*) x
));
47068 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x
) {
47069 return (void *)((wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
47071 static void *_p_wxPyValidatorTo_p_wxValidator(void *x
) {
47072 return (void *)((wxValidator
*) ((wxPyValidator
*) x
));
47074 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}};
47075 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}};
47076 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}};
47077 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}};
47078 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}};
47079 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}};
47080 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}};
47081 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}};
47082 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}};
47083 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}};
47084 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}};
47085 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}};
47086 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}};
47087 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}};
47088 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}};
47089 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}};
47090 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}};
47091 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}};
47092 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}};
47093 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}};
47094 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}};
47095 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}};
47096 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}};
47097 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}};
47098 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}};
47099 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}};
47100 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}};
47101 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}};
47102 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}};
47103 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}};
47104 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}};
47105 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}};
47106 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}};
47107 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}};
47108 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}};
47109 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}};
47110 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}};
47111 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}};
47112 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}};
47113 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}};
47114 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}};
47115 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}};
47116 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}};
47117 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}};
47118 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}};
47119 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}};
47120 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}};
47121 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}};
47122 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}};
47123 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}};
47124 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}};
47125 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}};
47126 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}};
47127 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}};
47128 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}};
47129 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}};
47130 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}};
47131 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}};
47132 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}};
47133 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}};
47134 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}};
47135 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}};
47136 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}};
47137 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}};
47138 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}};
47139 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}};
47140 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}};
47141 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}};
47142 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}};
47143 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}};
47144 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}};
47145 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}};
47146 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}};
47147 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}};
47148 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}};
47149 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}};
47150 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}};
47151 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}};
47152 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}};
47153 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}};
47154 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}};
47155 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}};
47156 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}};
47157 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}};
47158 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}};
47159 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}};
47160 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}};
47161 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}};
47162 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}};
47163 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}};
47164 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}};
47165 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}};
47166 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}};
47167 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}};
47168 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}};
47169 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}};
47170 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}};
47171 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}};
47172 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}};
47173 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}};
47174 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}};
47175 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}};
47176 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}};
47177 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}};
47178 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}};
47179 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}};
47180 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}};
47181 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}};
47182 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}};
47183 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}};
47184 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}};
47185 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}};
47186 static swig_type_info _swigt__p_unsigned_char
[] = {{"_p_unsigned_char", 0, "unsigned char *", 0, 0, 0, 0},{"_p_unsigned_char", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
47187 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}};
47188 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}};
47189 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}};
47190 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}};
47191 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}};
47192 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}};
47193 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}};
47194 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}};
47195 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}};
47196 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}};
47197 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}};
47198 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}};
47199 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}};
47200 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}};
47201 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}};
47203 static swig_type_info
*swig_types_initial
[] = {
47204 _swigt__p_wxLayoutConstraints
,
47205 _swigt__p_wxRealPoint
,
47206 _swigt__p_wxSizerItem
,
47207 _swigt__p_wxGBSizerItem
,
47208 _swigt__p_wxScrollEvent
,
47209 _swigt__p_wxEventLoop
,
47210 _swigt__p_wxIndividualLayoutConstraint
,
47212 _swigt__p_wxBoxSizer
,
47213 _swigt__p_wxStaticBoxSizer
,
47214 _swigt__p_wxGridBagSizer
,
47215 _swigt__p_wxAcceleratorEntry
,
47216 _swigt__p_wxUpdateUIEvent
,
47220 _swigt__p_wxGridSizer
,
47221 _swigt__p_wxFlexGridSizer
,
47222 _swigt__p_wxInitDialogEvent
,
47223 _swigt__p_wxItemContainer
,
47224 _swigt__p_wxNcPaintEvent
,
47225 _swigt__p_wxPaintEvent
,
47226 _swigt__p_wxSysColourChangedEvent
,
47227 _swigt__p_wxMouseCaptureChangedEvent
,
47228 _swigt__p_wxDisplayChangedEvent
,
47229 _swigt__p_wxPaletteChangedEvent
,
47230 _swigt__p_wxControl
,
47232 _swigt__p_wxMenuBarBase
,
47233 _swigt__p_wxSetCursorEvent
,
47234 _swigt__p_wxFSFile
,
47237 _swigt__std__ptrdiff_t
,
47238 _swigt__p_wxRegion
,
47239 _swigt__p_wxPoint2D
,
47243 _swigt__p_wxPySizer
,
47244 _swigt__p_wxVisualAttributes
,
47245 _swigt__p_wxNotifyEvent
,
47246 _swigt__p_wxPyEvent
,
47247 _swigt__p_wxPropagationDisabler
,
47248 _swigt__p_form_ops_t
,
47249 _swigt__p_wxAppTraits
,
47250 _swigt__p_wxArrayString
,
47251 _swigt__p_wxShowEvent
,
47252 _swigt__p_wxToolTip
,
47253 _swigt__p_wxMoveEvent
,
47254 _swigt__p_wxSizeEvent
,
47255 _swigt__p_wxActivateEvent
,
47256 _swigt__p_wxIconizeEvent
,
47257 _swigt__p_wxMaximizeEvent
,
47258 _swigt__p_wxQueryNewPaletteEvent
,
47259 _swigt__p_wxWindowCreateEvent
,
47260 _swigt__p_wxIdleEvent
,
47261 _swigt__p_wxDateEvent
,
47262 _swigt__p_wxMenuItem
,
47263 _swigt__p_wxStaticBox
,
47265 _swigt__p_wxDuplexMode
,
47266 _swigt__p_wxTIFFHandler
,
47267 _swigt__p_wxXPMHandler
,
47268 _swigt__p_wxPNMHandler
,
47269 _swigt__p_wxJPEGHandler
,
47270 _swigt__p_wxPCXHandler
,
47271 _swigt__p_wxGIFHandler
,
47272 _swigt__p_wxPNGHandler
,
47273 _swigt__p_wxANIHandler
,
47274 _swigt__p_wxMemoryFSHandler
,
47275 _swigt__p_wxZipFSHandler
,
47276 _swigt__p_wxInternetFSHandler
,
47277 _swigt__p_wxPyFileSystemHandler
,
47278 _swigt__p_wxEvtHandler
,
47279 _swigt__p_wxCURHandler
,
47280 _swigt__p_wxICOHandler
,
47281 _swigt__p_wxBMPHandler
,
47282 _swigt__p_wxImageHandler
,
47283 _swigt__p_wxFileSystemHandler
,
47285 _swigt__p_wxButton
,
47286 _swigt__p_wxGBSpan
,
47287 _swigt__p_wxPropagateOnce
,
47288 _swigt__p_wxAcceleratorTable
,
47289 _swigt__p_wxStdDialogButtonSizer
,
47291 _swigt__p_wxGBPosition
,
47294 _swigt__p_wxScrollWinEvent
,
47295 _swigt__p_wxPaperSize
,
47296 _swigt__p_wxImageHistogram
,
47298 _swigt__p_wxCursor
,
47299 _swigt__p_wxObject
,
47300 _swigt__p_wxInputStream
,
47301 _swigt__p_wxOutputStream
,
47302 _swigt__p_wxPyInputStream
,
47303 _swigt__p_wxDateTime
,
47304 _swigt__p_wxKeyEvent
,
47305 _swigt__p_wxNavigationKeyEvent
,
47306 _swigt__p_wxWindowDestroyEvent
,
47307 _swigt__p_unsigned_long
,
47308 _swigt__p_wxWindow
,
47309 _swigt__p_wxMenuBar
,
47310 _swigt__p_wxFileSystem
,
47311 _swigt__p_wxBitmap
,
47312 _swigt__unsigned_int
,
47313 _swigt__p_unsigned_int
,
47314 _swigt__p_wxMenuEvent
,
47315 _swigt__p_wxContextMenuEvent
,
47316 _swigt__p_unsigned_char
,
47317 _swigt__p_wxEraseEvent
,
47318 _swigt__p_wxMouseEvent
,
47319 _swigt__p_wxCloseEvent
,
47321 _swigt__p_wxCommandEvent
,
47322 _swigt__p_wxPyCommandEvent
,
47323 _swigt__p_wxPyDropTarget
,
47324 _swigt__p_wxQuantize
,
47325 _swigt__p_wxFocusEvent
,
47326 _swigt__p_wxChildFocusEvent
,
47327 _swigt__p_wxDropFilesEvent
,
47328 _swigt__p_wxControlWithItems
,
47329 _swigt__p_wxColour
,
47330 _swigt__p_wxValidator
,
47331 _swigt__p_wxPyValidator
,
47336 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
47338 static swig_const_info swig_const_table
[] = {
47339 {0, 0, 0, 0.0, 0, 0}};
47350 /* Python-specific SWIG API */
47351 #define SWIG_newvarlink() SWIG_Python_newvarlink()
47352 #define SWIG_addvarlink(p, name, get_attr, set_attr) SWIG_Python_addvarlink(p, name, get_attr, set_attr)
47353 #define SWIG_InstallConstants(d, constants) SWIG_Python_InstallConstants(d, constants)
47355 /* -----------------------------------------------------------------------------
47356 * global variable support code.
47357 * ----------------------------------------------------------------------------- */
47359 typedef struct swig_globalvar
{
47360 char *name
; /* Name of global variable */
47361 PyObject
*(*get_attr
)(); /* Return the current value */
47362 int (*set_attr
)(PyObject
*); /* Set the value */
47363 struct swig_globalvar
*next
;
47366 typedef struct swig_varlinkobject
{
47368 swig_globalvar
*vars
;
47369 } swig_varlinkobject
;
47372 swig_varlink_repr(swig_varlinkobject
*v
) {
47374 return PyString_FromString("<Swig global variables>");
47378 swig_varlink_print(swig_varlinkobject
*v
, FILE *fp
, int flags
) {
47379 swig_globalvar
*var
;
47381 fprintf(fp
,"Swig global variables { ");
47382 for (var
= v
->vars
; var
; var
=var
->next
) {
47383 fprintf(fp
,"%s", var
->name
);
47384 if (var
->next
) fprintf(fp
,", ");
47386 fprintf(fp
," }\n");
47391 swig_varlink_getattr(swig_varlinkobject
*v
, char *n
) {
47392 swig_globalvar
*var
= v
->vars
;
47394 if (strcmp(var
->name
,n
) == 0) {
47395 return (*var
->get_attr
)();
47399 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
47404 swig_varlink_setattr(swig_varlinkobject
*v
, char *n
, PyObject
*p
) {
47405 swig_globalvar
*var
= v
->vars
;
47407 if (strcmp(var
->name
,n
) == 0) {
47408 return (*var
->set_attr
)(p
);
47412 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
47416 static PyTypeObject varlinktype
= {
47417 PyObject_HEAD_INIT(0)
47418 0, /* Number of items in variable part (ob_size) */
47419 (char *)"swigvarlink", /* Type name (tp_name) */
47420 sizeof(swig_varlinkobject
), /* Basic size (tp_basicsize) */
47421 0, /* Itemsize (tp_itemsize) */
47422 0, /* Deallocator (tp_dealloc) */
47423 (printfunc
) swig_varlink_print
, /* Print (tp_print) */
47424 (getattrfunc
) swig_varlink_getattr
, /* get attr (tp_getattr) */
47425 (setattrfunc
) swig_varlink_setattr
, /* Set attr (tp_setattr) */
47426 0, /* tp_compare */
47427 (reprfunc
) swig_varlink_repr
, /* tp_repr */
47428 0, /* tp_as_number */
47429 0, /* tp_as_sequence */
47430 0, /* tp_as_mapping */
47434 0, /* tp_getattro */
47435 0, /* tp_setattro */
47436 0, /* tp_as_buffer */
47439 #if PY_VERSION_HEX >= 0x02000000
47440 0, /* tp_traverse */
47443 #if PY_VERSION_HEX >= 0x02010000
47444 0, /* tp_richcompare */
47445 0, /* tp_weaklistoffset */
47447 #if PY_VERSION_HEX >= 0x02020000
47448 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
47450 #if PY_VERSION_HEX >= 0x02030000
47453 #ifdef COUNT_ALLOCS
47454 0,0,0,0 /* tp_alloc -> tp_next */
47458 /* Create a variable linking object for use later */
47460 SWIG_Python_newvarlink(void) {
47461 swig_varlinkobject
*result
= 0;
47462 result
= PyMem_NEW(swig_varlinkobject
,1);
47463 varlinktype
.ob_type
= &PyType_Type
; /* Patch varlinktype into a PyType */
47464 result
->ob_type
= &varlinktype
;
47466 result
->ob_refcnt
= 0;
47467 Py_XINCREF((PyObject
*) result
);
47468 return ((PyObject
*) result
);
47472 SWIG_Python_addvarlink(PyObject
*p
, char *name
, PyObject
*(*get_attr
)(void), int (*set_attr
)(PyObject
*p
)) {
47473 swig_varlinkobject
*v
;
47474 swig_globalvar
*gv
;
47475 v
= (swig_varlinkobject
*) p
;
47476 gv
= (swig_globalvar
*) malloc(sizeof(swig_globalvar
));
47477 gv
->name
= (char *) malloc(strlen(name
)+1);
47478 strcpy(gv
->name
,name
);
47479 gv
->get_attr
= get_attr
;
47480 gv
->set_attr
= set_attr
;
47481 gv
->next
= v
->vars
;
47485 /* -----------------------------------------------------------------------------
47486 * constants/methods manipulation
47487 * ----------------------------------------------------------------------------- */
47489 /* Install Constants */
47491 SWIG_Python_InstallConstants(PyObject
*d
, swig_const_info constants
[]) {
47494 for (i
= 0; constants
[i
].type
; i
++) {
47495 switch(constants
[i
].type
) {
47497 obj
= PyInt_FromLong(constants
[i
].lvalue
);
47499 case SWIG_PY_FLOAT
:
47500 obj
= PyFloat_FromDouble(constants
[i
].dvalue
);
47502 case SWIG_PY_STRING
:
47503 if (constants
[i
].pvalue
) {
47504 obj
= PyString_FromString((char *) constants
[i
].pvalue
);
47506 Py_INCREF(Py_None
);
47510 case SWIG_PY_POINTER
:
47511 obj
= SWIG_NewPointerObj(constants
[i
].pvalue
, *(constants
[i
]).ptype
,0);
47513 case SWIG_PY_BINARY
:
47514 obj
= SWIG_NewPackedObj(constants
[i
].pvalue
, constants
[i
].lvalue
, *(constants
[i
].ptype
));
47521 PyDict_SetItemString(d
,constants
[i
].name
,obj
);
47527 /* -----------------------------------------------------------------------------*/
47528 /* Fix SwigMethods to carry the callback ptrs when needed */
47529 /* -----------------------------------------------------------------------------*/
47532 SWIG_Python_FixMethods(PyMethodDef
*methods
,
47533 swig_const_info
*const_table
,
47534 swig_type_info
**types
,
47535 swig_type_info
**types_initial
) {
47537 for (i
= 0; methods
[i
].ml_name
; ++i
) {
47538 char *c
= methods
[i
].ml_doc
;
47539 if (c
&& (c
= strstr(c
, "swig_ptr: "))) {
47541 swig_const_info
*ci
= 0;
47542 char *name
= c
+ 10;
47543 for (j
= 0; const_table
[j
].type
; j
++) {
47544 if (strncmp(const_table
[j
].name
, name
,
47545 strlen(const_table
[j
].name
)) == 0) {
47546 ci
= &(const_table
[j
]);
47551 size_t shift
= (ci
->ptype
) - types
;
47552 swig_type_info
*ty
= types_initial
[shift
];
47553 size_t ldoc
= (c
- methods
[i
].ml_doc
);
47554 size_t lptr
= strlen(ty
->name
)+2*sizeof(void*)+2;
47555 char *ndoc
= (char*)malloc(ldoc
+ lptr
+ 10);
47557 void *ptr
= (ci
->type
== SWIG_PY_POINTER
) ? ci
->pvalue
: (void *)(ci
->lvalue
);
47558 strncpy(buff
, methods
[i
].ml_doc
, ldoc
);
47560 strncpy(buff
, "swig_ptr: ", 10);
47562 SWIG_PackVoidPtr(buff
, ptr
, ty
->name
, lptr
);
47563 methods
[i
].ml_doc
= ndoc
;
47569 /* -----------------------------------------------------------------------------*
47570 * Initialize type list
47571 * -----------------------------------------------------------------------------*/
47573 #if PY_MAJOR_VERSION < 2
47574 /* PyModule_AddObject function was introduced in Python 2.0. The following function
47575 is copied out of Python/modsupport.c in python version 2.3.4 */
47577 PyModule_AddObject(PyObject
*m
, char *name
, PyObject
*o
)
47580 if (!PyModule_Check(m
)) {
47581 PyErr_SetString(PyExc_TypeError
,
47582 "PyModule_AddObject() needs module as first arg");
47586 PyErr_SetString(PyExc_TypeError
,
47587 "PyModule_AddObject() needs non-NULL value");
47591 dict
= PyModule_GetDict(m
);
47592 if (dict
== NULL
) {
47593 /* Internal error -- modules must have a dict! */
47594 PyErr_Format(PyExc_SystemError
, "module '%s' has no __dict__",
47595 PyModule_GetName(m
));
47598 if (PyDict_SetItemString(dict
, name
, o
))
47605 static swig_type_info
**
47606 SWIG_Python_SetTypeListHandle(swig_type_info
**type_list_handle
) {
47607 static PyMethodDef swig_empty_runtime_method_table
[] = {
47609 NULL
, NULL
, 0, NULL
47613 PyObject
*module = Py_InitModule((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION
,
47614 swig_empty_runtime_method_table
);
47615 PyObject
*pointer
= PyCObject_FromVoidPtr((void *) type_list_handle
, NULL
);
47616 if (pointer
&& module) {
47617 PyModule_AddObject(module, (char*)"type_pointer" SWIG_TYPE_TABLE_NAME
, pointer
);
47619 return type_list_handle
;
47622 static swig_type_info
**
47623 SWIG_Python_LookupTypePointer(swig_type_info
**type_list_handle
) {
47624 swig_type_info
**type_pointer
;
47626 /* first check if module already created */
47627 type_pointer
= SWIG_Python_GetTypeListHandle();
47628 if (type_pointer
) {
47629 return type_pointer
;
47631 /* create a new module and variable */
47632 return SWIG_Python_SetTypeListHandle(type_list_handle
);
47640 /* -----------------------------------------------------------------------------*
47641 * Partial Init method
47642 * -----------------------------------------------------------------------------*/
47644 #ifdef SWIG_LINK_RUNTIME
47648 SWIGEXPORT(void *) SWIG_ReturnGlobalTypeList(void *);
47654 SWIGEXPORT(void) SWIG_init(void) {
47655 static PyObject
*SWIG_globals
= 0;
47656 static int typeinit
= 0;
47659 if (!SWIG_globals
) SWIG_globals
= SWIG_newvarlink();
47661 /* Fix SwigMethods to carry the callback ptrs when needed */
47662 SWIG_Python_FixMethods(SwigMethods
, swig_const_table
, swig_types
, swig_types_initial
);
47664 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
47665 d
= PyModule_GetDict(m
);
47668 #ifdef SWIG_LINK_RUNTIME
47669 swig_type_list_handle
= (swig_type_info
**) SWIG_ReturnGlobalTypeList(swig_type_list_handle
);
47671 # ifndef SWIG_STATIC_RUNTIME
47672 swig_type_list_handle
= SWIG_Python_LookupTypePointer(swig_type_list_handle
);
47675 for (i
= 0; swig_types_initial
[i
]; i
++) {
47676 swig_types
[i
] = SWIG_TypeRegister(swig_types_initial
[i
]);
47680 SWIG_InstallConstants(d
,swig_const_table
);
47683 #ifndef wxPyUSE_EXPORT
47684 // Make our API structure a CObject so other modules can import it
47685 // from this module.
47686 PyObject
* cobj
= PyCObject_FromVoidPtr(&API
, NULL
);
47687 PyDict_SetItemString(d
,"_wxPyCoreAPI", cobj
);
47692 PyDict_SetItemString(d
,"NOT_FOUND", SWIG_From_int((int)(wxNOT_FOUND
)));
47695 PyDict_SetItemString(d
,"VSCROLL", SWIG_From_int((int)(wxVSCROLL
)));
47698 PyDict_SetItemString(d
,"HSCROLL", SWIG_From_int((int)(wxHSCROLL
)));
47701 PyDict_SetItemString(d
,"CAPTION", SWIG_From_int((int)(wxCAPTION
)));
47704 PyDict_SetItemString(d
,"DOUBLE_BORDER", SWIG_From_int((int)(wxDOUBLE_BORDER
)));
47707 PyDict_SetItemString(d
,"SUNKEN_BORDER", SWIG_From_int((int)(wxSUNKEN_BORDER
)));
47710 PyDict_SetItemString(d
,"RAISED_BORDER", SWIG_From_int((int)(wxRAISED_BORDER
)));
47713 PyDict_SetItemString(d
,"BORDER", SWIG_From_int((int)(wxBORDER
)));
47716 PyDict_SetItemString(d
,"SIMPLE_BORDER", SWIG_From_int((int)(wxSIMPLE_BORDER
)));
47719 PyDict_SetItemString(d
,"STATIC_BORDER", SWIG_From_int((int)(wxSTATIC_BORDER
)));
47722 PyDict_SetItemString(d
,"TRANSPARENT_WINDOW", SWIG_From_int((int)(wxTRANSPARENT_WINDOW
)));
47725 PyDict_SetItemString(d
,"NO_BORDER", SWIG_From_int((int)(wxNO_BORDER
)));
47728 PyDict_SetItemString(d
,"DEFAULT_CONTROL_BORDER", SWIG_From_int((int)(wxDEFAULT_CONTROL_BORDER
)));
47731 PyDict_SetItemString(d
,"TAB_TRAVERSAL", SWIG_From_int((int)(wxTAB_TRAVERSAL
)));
47734 PyDict_SetItemString(d
,"WANTS_CHARS", SWIG_From_int((int)(wxWANTS_CHARS
)));
47737 PyDict_SetItemString(d
,"POPUP_WINDOW", SWIG_From_int((int)(wxPOPUP_WINDOW
)));
47740 PyDict_SetItemString(d
,"CENTER_FRAME", SWIG_From_int((int)(wxCENTER_FRAME
)));
47743 PyDict_SetItemString(d
,"CENTRE_ON_SCREEN", SWIG_From_int((int)(wxCENTRE_ON_SCREEN
)));
47746 PyDict_SetItemString(d
,"CENTER_ON_SCREEN", SWIG_From_int((int)(wxCENTER_ON_SCREEN
)));
47749 PyDict_SetItemString(d
,"CLIP_CHILDREN", SWIG_From_int((int)(wxCLIP_CHILDREN
)));
47752 PyDict_SetItemString(d
,"CLIP_SIBLINGS", SWIG_From_int((int)(wxCLIP_SIBLINGS
)));
47755 PyDict_SetItemString(d
,"ALWAYS_SHOW_SB", SWIG_From_int((int)(wxALWAYS_SHOW_SB
)));
47758 PyDict_SetItemString(d
,"RETAINED", SWIG_From_int((int)(wxRETAINED
)));
47761 PyDict_SetItemString(d
,"BACKINGSTORE", SWIG_From_int((int)(wxBACKINGSTORE
)));
47764 PyDict_SetItemString(d
,"COLOURED", SWIG_From_int((int)(wxCOLOURED
)));
47767 PyDict_SetItemString(d
,"FIXED_LENGTH", SWIG_From_int((int)(wxFIXED_LENGTH
)));
47770 PyDict_SetItemString(d
,"LB_NEEDED_SB", SWIG_From_int((int)(wxLB_NEEDED_SB
)));
47773 PyDict_SetItemString(d
,"LB_ALWAYS_SB", SWIG_From_int((int)(wxLB_ALWAYS_SB
)));
47776 PyDict_SetItemString(d
,"LB_SORT", SWIG_From_int((int)(wxLB_SORT
)));
47779 PyDict_SetItemString(d
,"LB_SINGLE", SWIG_From_int((int)(wxLB_SINGLE
)));
47782 PyDict_SetItemString(d
,"LB_MULTIPLE", SWIG_From_int((int)(wxLB_MULTIPLE
)));
47785 PyDict_SetItemString(d
,"LB_EXTENDED", SWIG_From_int((int)(wxLB_EXTENDED
)));
47788 PyDict_SetItemString(d
,"LB_OWNERDRAW", SWIG_From_int((int)(wxLB_OWNERDRAW
)));
47791 PyDict_SetItemString(d
,"LB_HSCROLL", SWIG_From_int((int)(wxLB_HSCROLL
)));
47794 PyDict_SetItemString(d
,"PROCESS_ENTER", SWIG_From_int((int)(wxPROCESS_ENTER
)));
47797 PyDict_SetItemString(d
,"PASSWORD", SWIG_From_int((int)(wxPASSWORD
)));
47800 PyDict_SetItemString(d
,"CB_SIMPLE", SWIG_From_int((int)(wxCB_SIMPLE
)));
47803 PyDict_SetItemString(d
,"CB_DROPDOWN", SWIG_From_int((int)(wxCB_DROPDOWN
)));
47806 PyDict_SetItemString(d
,"CB_SORT", SWIG_From_int((int)(wxCB_SORT
)));
47809 PyDict_SetItemString(d
,"CB_READONLY", SWIG_From_int((int)(wxCB_READONLY
)));
47812 PyDict_SetItemString(d
,"RA_HORIZONTAL", SWIG_From_int((int)(wxRA_HORIZONTAL
)));
47815 PyDict_SetItemString(d
,"RA_VERTICAL", SWIG_From_int((int)(wxRA_VERTICAL
)));
47818 PyDict_SetItemString(d
,"RA_SPECIFY_ROWS", SWIG_From_int((int)(wxRA_SPECIFY_ROWS
)));
47821 PyDict_SetItemString(d
,"RA_SPECIFY_COLS", SWIG_From_int((int)(wxRA_SPECIFY_COLS
)));
47824 PyDict_SetItemString(d
,"RA_USE_CHECKBOX", SWIG_From_int((int)(wxRA_USE_CHECKBOX
)));
47827 PyDict_SetItemString(d
,"RB_GROUP", SWIG_From_int((int)(wxRB_GROUP
)));
47830 PyDict_SetItemString(d
,"RB_SINGLE", SWIG_From_int((int)(wxRB_SINGLE
)));
47833 PyDict_SetItemString(d
,"SB_HORIZONTAL", SWIG_From_int((int)(wxSB_HORIZONTAL
)));
47836 PyDict_SetItemString(d
,"SB_VERTICAL", SWIG_From_int((int)(wxSB_VERTICAL
)));
47839 PyDict_SetItemString(d
,"RB_USE_CHECKBOX", SWIG_From_int((int)(wxRB_USE_CHECKBOX
)));
47842 PyDict_SetItemString(d
,"ST_SIZEGRIP", SWIG_From_int((int)(wxST_SIZEGRIP
)));
47845 PyDict_SetItemString(d
,"ST_NO_AUTORESIZE", SWIG_From_int((int)(wxST_NO_AUTORESIZE
)));
47848 PyDict_SetItemString(d
,"FLOOD_SURFACE", SWIG_From_int((int)(wxFLOOD_SURFACE
)));
47851 PyDict_SetItemString(d
,"FLOOD_BORDER", SWIG_From_int((int)(wxFLOOD_BORDER
)));
47854 PyDict_SetItemString(d
,"ODDEVEN_RULE", SWIG_From_int((int)(wxODDEVEN_RULE
)));
47857 PyDict_SetItemString(d
,"WINDING_RULE", SWIG_From_int((int)(wxWINDING_RULE
)));
47860 PyDict_SetItemString(d
,"TOOL_TOP", SWIG_From_int((int)(wxTOOL_TOP
)));
47863 PyDict_SetItemString(d
,"TOOL_BOTTOM", SWIG_From_int((int)(wxTOOL_BOTTOM
)));
47866 PyDict_SetItemString(d
,"TOOL_LEFT", SWIG_From_int((int)(wxTOOL_LEFT
)));
47869 PyDict_SetItemString(d
,"TOOL_RIGHT", SWIG_From_int((int)(wxTOOL_RIGHT
)));
47872 PyDict_SetItemString(d
,"OK", SWIG_From_int((int)(wxOK
)));
47875 PyDict_SetItemString(d
,"YES_NO", SWIG_From_int((int)(wxYES_NO
)));
47878 PyDict_SetItemString(d
,"CANCEL", SWIG_From_int((int)(wxCANCEL
)));
47881 PyDict_SetItemString(d
,"YES", SWIG_From_int((int)(wxYES
)));
47884 PyDict_SetItemString(d
,"NO", SWIG_From_int((int)(wxNO
)));
47887 PyDict_SetItemString(d
,"NO_DEFAULT", SWIG_From_int((int)(wxNO_DEFAULT
)));
47890 PyDict_SetItemString(d
,"YES_DEFAULT", SWIG_From_int((int)(wxYES_DEFAULT
)));
47893 PyDict_SetItemString(d
,"ICON_EXCLAMATION", SWIG_From_int((int)(wxICON_EXCLAMATION
)));
47896 PyDict_SetItemString(d
,"ICON_HAND", SWIG_From_int((int)(wxICON_HAND
)));
47899 PyDict_SetItemString(d
,"ICON_QUESTION", SWIG_From_int((int)(wxICON_QUESTION
)));
47902 PyDict_SetItemString(d
,"ICON_INFORMATION", SWIG_From_int((int)(wxICON_INFORMATION
)));
47905 PyDict_SetItemString(d
,"ICON_STOP", SWIG_From_int((int)(wxICON_STOP
)));
47908 PyDict_SetItemString(d
,"ICON_ASTERISK", SWIG_From_int((int)(wxICON_ASTERISK
)));
47911 PyDict_SetItemString(d
,"ICON_MASK", SWIG_From_int((int)(wxICON_MASK
)));
47914 PyDict_SetItemString(d
,"ICON_WARNING", SWIG_From_int((int)(wxICON_WARNING
)));
47917 PyDict_SetItemString(d
,"ICON_ERROR", SWIG_From_int((int)(wxICON_ERROR
)));
47920 PyDict_SetItemString(d
,"FORWARD", SWIG_From_int((int)(wxFORWARD
)));
47923 PyDict_SetItemString(d
,"BACKWARD", SWIG_From_int((int)(wxBACKWARD
)));
47926 PyDict_SetItemString(d
,"RESET", SWIG_From_int((int)(wxRESET
)));
47929 PyDict_SetItemString(d
,"HELP", SWIG_From_int((int)(wxHELP
)));
47932 PyDict_SetItemString(d
,"MORE", SWIG_From_int((int)(wxMORE
)));
47935 PyDict_SetItemString(d
,"SETUP", SWIG_From_int((int)(wxSETUP
)));
47938 PyDict_SetItemString(d
,"SIZE_AUTO_WIDTH", SWIG_From_int((int)(wxSIZE_AUTO_WIDTH
)));
47941 PyDict_SetItemString(d
,"SIZE_AUTO_HEIGHT", SWIG_From_int((int)(wxSIZE_AUTO_HEIGHT
)));
47944 PyDict_SetItemString(d
,"SIZE_AUTO", SWIG_From_int((int)(wxSIZE_AUTO
)));
47947 PyDict_SetItemString(d
,"SIZE_USE_EXISTING", SWIG_From_int((int)(wxSIZE_USE_EXISTING
)));
47950 PyDict_SetItemString(d
,"SIZE_ALLOW_MINUS_ONE", SWIG_From_int((int)(wxSIZE_ALLOW_MINUS_ONE
)));
47953 PyDict_SetItemString(d
,"PORTRAIT", SWIG_From_int((int)(wxPORTRAIT
)));
47956 PyDict_SetItemString(d
,"LANDSCAPE", SWIG_From_int((int)(wxLANDSCAPE
)));
47959 PyDict_SetItemString(d
,"PRINT_QUALITY_HIGH", SWIG_From_int((int)(wxPRINT_QUALITY_HIGH
)));
47962 PyDict_SetItemString(d
,"PRINT_QUALITY_MEDIUM", SWIG_From_int((int)(wxPRINT_QUALITY_MEDIUM
)));
47965 PyDict_SetItemString(d
,"PRINT_QUALITY_LOW", SWIG_From_int((int)(wxPRINT_QUALITY_LOW
)));
47968 PyDict_SetItemString(d
,"PRINT_QUALITY_DRAFT", SWIG_From_int((int)(wxPRINT_QUALITY_DRAFT
)));
47971 PyDict_SetItemString(d
,"ID_ANY", SWIG_From_int((int)(wxID_ANY
)));
47974 PyDict_SetItemString(d
,"ID_SEPARATOR", SWIG_From_int((int)(wxID_SEPARATOR
)));
47977 PyDict_SetItemString(d
,"ID_LOWEST", SWIG_From_int((int)(wxID_LOWEST
)));
47980 PyDict_SetItemString(d
,"ID_OPEN", SWIG_From_int((int)(wxID_OPEN
)));
47983 PyDict_SetItemString(d
,"ID_CLOSE", SWIG_From_int((int)(wxID_CLOSE
)));
47986 PyDict_SetItemString(d
,"ID_NEW", SWIG_From_int((int)(wxID_NEW
)));
47989 PyDict_SetItemString(d
,"ID_SAVE", SWIG_From_int((int)(wxID_SAVE
)));
47992 PyDict_SetItemString(d
,"ID_SAVEAS", SWIG_From_int((int)(wxID_SAVEAS
)));
47995 PyDict_SetItemString(d
,"ID_REVERT", SWIG_From_int((int)(wxID_REVERT
)));
47998 PyDict_SetItemString(d
,"ID_EXIT", SWIG_From_int((int)(wxID_EXIT
)));
48001 PyDict_SetItemString(d
,"ID_UNDO", SWIG_From_int((int)(wxID_UNDO
)));
48004 PyDict_SetItemString(d
,"ID_REDO", SWIG_From_int((int)(wxID_REDO
)));
48007 PyDict_SetItemString(d
,"ID_HELP", SWIG_From_int((int)(wxID_HELP
)));
48010 PyDict_SetItemString(d
,"ID_PRINT", SWIG_From_int((int)(wxID_PRINT
)));
48013 PyDict_SetItemString(d
,"ID_PRINT_SETUP", SWIG_From_int((int)(wxID_PRINT_SETUP
)));
48016 PyDict_SetItemString(d
,"ID_PREVIEW", SWIG_From_int((int)(wxID_PREVIEW
)));
48019 PyDict_SetItemString(d
,"ID_ABOUT", SWIG_From_int((int)(wxID_ABOUT
)));
48022 PyDict_SetItemString(d
,"ID_HELP_CONTENTS", SWIG_From_int((int)(wxID_HELP_CONTENTS
)));
48025 PyDict_SetItemString(d
,"ID_HELP_COMMANDS", SWIG_From_int((int)(wxID_HELP_COMMANDS
)));
48028 PyDict_SetItemString(d
,"ID_HELP_PROCEDURES", SWIG_From_int((int)(wxID_HELP_PROCEDURES
)));
48031 PyDict_SetItemString(d
,"ID_HELP_CONTEXT", SWIG_From_int((int)(wxID_HELP_CONTEXT
)));
48034 PyDict_SetItemString(d
,"ID_CLOSE_ALL", SWIG_From_int((int)(wxID_CLOSE_ALL
)));
48037 PyDict_SetItemString(d
,"ID_PREFERENCES", SWIG_From_int((int)(wxID_PREFERENCES
)));
48040 PyDict_SetItemString(d
,"ID_CUT", SWIG_From_int((int)(wxID_CUT
)));
48043 PyDict_SetItemString(d
,"ID_COPY", SWIG_From_int((int)(wxID_COPY
)));
48046 PyDict_SetItemString(d
,"ID_PASTE", SWIG_From_int((int)(wxID_PASTE
)));
48049 PyDict_SetItemString(d
,"ID_CLEAR", SWIG_From_int((int)(wxID_CLEAR
)));
48052 PyDict_SetItemString(d
,"ID_FIND", SWIG_From_int((int)(wxID_FIND
)));
48055 PyDict_SetItemString(d
,"ID_DUPLICATE", SWIG_From_int((int)(wxID_DUPLICATE
)));
48058 PyDict_SetItemString(d
,"ID_SELECTALL", SWIG_From_int((int)(wxID_SELECTALL
)));
48061 PyDict_SetItemString(d
,"ID_DELETE", SWIG_From_int((int)(wxID_DELETE
)));
48064 PyDict_SetItemString(d
,"ID_REPLACE", SWIG_From_int((int)(wxID_REPLACE
)));
48067 PyDict_SetItemString(d
,"ID_REPLACE_ALL", SWIG_From_int((int)(wxID_REPLACE_ALL
)));
48070 PyDict_SetItemString(d
,"ID_PROPERTIES", SWIG_From_int((int)(wxID_PROPERTIES
)));
48073 PyDict_SetItemString(d
,"ID_VIEW_DETAILS", SWIG_From_int((int)(wxID_VIEW_DETAILS
)));
48076 PyDict_SetItemString(d
,"ID_VIEW_LARGEICONS", SWIG_From_int((int)(wxID_VIEW_LARGEICONS
)));
48079 PyDict_SetItemString(d
,"ID_VIEW_SMALLICONS", SWIG_From_int((int)(wxID_VIEW_SMALLICONS
)));
48082 PyDict_SetItemString(d
,"ID_VIEW_LIST", SWIG_From_int((int)(wxID_VIEW_LIST
)));
48085 PyDict_SetItemString(d
,"ID_VIEW_SORTDATE", SWIG_From_int((int)(wxID_VIEW_SORTDATE
)));
48088 PyDict_SetItemString(d
,"ID_VIEW_SORTNAME", SWIG_From_int((int)(wxID_VIEW_SORTNAME
)));
48091 PyDict_SetItemString(d
,"ID_VIEW_SORTSIZE", SWIG_From_int((int)(wxID_VIEW_SORTSIZE
)));
48094 PyDict_SetItemString(d
,"ID_VIEW_SORTTYPE", SWIG_From_int((int)(wxID_VIEW_SORTTYPE
)));
48097 PyDict_SetItemString(d
,"ID_FILE1", SWIG_From_int((int)(wxID_FILE1
)));
48100 PyDict_SetItemString(d
,"ID_FILE2", SWIG_From_int((int)(wxID_FILE2
)));
48103 PyDict_SetItemString(d
,"ID_FILE3", SWIG_From_int((int)(wxID_FILE3
)));
48106 PyDict_SetItemString(d
,"ID_FILE4", SWIG_From_int((int)(wxID_FILE4
)));
48109 PyDict_SetItemString(d
,"ID_FILE5", SWIG_From_int((int)(wxID_FILE5
)));
48112 PyDict_SetItemString(d
,"ID_FILE6", SWIG_From_int((int)(wxID_FILE6
)));
48115 PyDict_SetItemString(d
,"ID_FILE7", SWIG_From_int((int)(wxID_FILE7
)));
48118 PyDict_SetItemString(d
,"ID_FILE8", SWIG_From_int((int)(wxID_FILE8
)));
48121 PyDict_SetItemString(d
,"ID_FILE9", SWIG_From_int((int)(wxID_FILE9
)));
48124 PyDict_SetItemString(d
,"ID_OK", SWIG_From_int((int)(wxID_OK
)));
48127 PyDict_SetItemString(d
,"ID_CANCEL", SWIG_From_int((int)(wxID_CANCEL
)));
48130 PyDict_SetItemString(d
,"ID_APPLY", SWIG_From_int((int)(wxID_APPLY
)));
48133 PyDict_SetItemString(d
,"ID_YES", SWIG_From_int((int)(wxID_YES
)));
48136 PyDict_SetItemString(d
,"ID_NO", SWIG_From_int((int)(wxID_NO
)));
48139 PyDict_SetItemString(d
,"ID_STATIC", SWIG_From_int((int)(wxID_STATIC
)));
48142 PyDict_SetItemString(d
,"ID_FORWARD", SWIG_From_int((int)(wxID_FORWARD
)));
48145 PyDict_SetItemString(d
,"ID_BACKWARD", SWIG_From_int((int)(wxID_BACKWARD
)));
48148 PyDict_SetItemString(d
,"ID_DEFAULT", SWIG_From_int((int)(wxID_DEFAULT
)));
48151 PyDict_SetItemString(d
,"ID_MORE", SWIG_From_int((int)(wxID_MORE
)));
48154 PyDict_SetItemString(d
,"ID_SETUP", SWIG_From_int((int)(wxID_SETUP
)));
48157 PyDict_SetItemString(d
,"ID_RESET", SWIG_From_int((int)(wxID_RESET
)));
48160 PyDict_SetItemString(d
,"ID_CONTEXT_HELP", SWIG_From_int((int)(wxID_CONTEXT_HELP
)));
48163 PyDict_SetItemString(d
,"ID_YESTOALL", SWIG_From_int((int)(wxID_YESTOALL
)));
48166 PyDict_SetItemString(d
,"ID_NOTOALL", SWIG_From_int((int)(wxID_NOTOALL
)));
48169 PyDict_SetItemString(d
,"ID_ABORT", SWIG_From_int((int)(wxID_ABORT
)));
48172 PyDict_SetItemString(d
,"ID_RETRY", SWIG_From_int((int)(wxID_RETRY
)));
48175 PyDict_SetItemString(d
,"ID_IGNORE", SWIG_From_int((int)(wxID_IGNORE
)));
48178 PyDict_SetItemString(d
,"ID_ADD", SWIG_From_int((int)(wxID_ADD
)));
48181 PyDict_SetItemString(d
,"ID_REMOVE", SWIG_From_int((int)(wxID_REMOVE
)));
48184 PyDict_SetItemString(d
,"ID_UP", SWIG_From_int((int)(wxID_UP
)));
48187 PyDict_SetItemString(d
,"ID_DOWN", SWIG_From_int((int)(wxID_DOWN
)));
48190 PyDict_SetItemString(d
,"ID_HOME", SWIG_From_int((int)(wxID_HOME
)));
48193 PyDict_SetItemString(d
,"ID_REFRESH", SWIG_From_int((int)(wxID_REFRESH
)));
48196 PyDict_SetItemString(d
,"ID_STOP", SWIG_From_int((int)(wxID_STOP
)));
48199 PyDict_SetItemString(d
,"ID_INDEX", SWIG_From_int((int)(wxID_INDEX
)));
48202 PyDict_SetItemString(d
,"ID_BOLD", SWIG_From_int((int)(wxID_BOLD
)));
48205 PyDict_SetItemString(d
,"ID_ITALIC", SWIG_From_int((int)(wxID_ITALIC
)));
48208 PyDict_SetItemString(d
,"ID_JUSTIFY_CENTER", SWIG_From_int((int)(wxID_JUSTIFY_CENTER
)));
48211 PyDict_SetItemString(d
,"ID_JUSTIFY_FILL", SWIG_From_int((int)(wxID_JUSTIFY_FILL
)));
48214 PyDict_SetItemString(d
,"ID_JUSTIFY_RIGHT", SWIG_From_int((int)(wxID_JUSTIFY_RIGHT
)));
48217 PyDict_SetItemString(d
,"ID_JUSTIFY_LEFT", SWIG_From_int((int)(wxID_JUSTIFY_LEFT
)));
48220 PyDict_SetItemString(d
,"ID_UNDERLINE", SWIG_From_int((int)(wxID_UNDERLINE
)));
48223 PyDict_SetItemString(d
,"ID_INDENT", SWIG_From_int((int)(wxID_INDENT
)));
48226 PyDict_SetItemString(d
,"ID_UNINDENT", SWIG_From_int((int)(wxID_UNINDENT
)));
48229 PyDict_SetItemString(d
,"ID_ZOOM_100", SWIG_From_int((int)(wxID_ZOOM_100
)));
48232 PyDict_SetItemString(d
,"ID_ZOOM_FIT", SWIG_From_int((int)(wxID_ZOOM_FIT
)));
48235 PyDict_SetItemString(d
,"ID_ZOOM_IN", SWIG_From_int((int)(wxID_ZOOM_IN
)));
48238 PyDict_SetItemString(d
,"ID_ZOOM_OUT", SWIG_From_int((int)(wxID_ZOOM_OUT
)));
48241 PyDict_SetItemString(d
,"ID_UNDELETE", SWIG_From_int((int)(wxID_UNDELETE
)));
48244 PyDict_SetItemString(d
,"ID_REVERT_TO_SAVED", SWIG_From_int((int)(wxID_REVERT_TO_SAVED
)));
48247 PyDict_SetItemString(d
,"ID_HIGHEST", SWIG_From_int((int)(wxID_HIGHEST
)));
48250 PyDict_SetItemString(d
,"OPEN", SWIG_From_int((int)(wxOPEN
)));
48253 PyDict_SetItemString(d
,"SAVE", SWIG_From_int((int)(wxSAVE
)));
48256 PyDict_SetItemString(d
,"HIDE_READONLY", SWIG_From_int((int)(wxHIDE_READONLY
)));
48259 PyDict_SetItemString(d
,"OVERWRITE_PROMPT", SWIG_From_int((int)(wxOVERWRITE_PROMPT
)));
48262 PyDict_SetItemString(d
,"FILE_MUST_EXIST", SWIG_From_int((int)(wxFILE_MUST_EXIST
)));
48265 PyDict_SetItemString(d
,"MULTIPLE", SWIG_From_int((int)(wxMULTIPLE
)));
48268 PyDict_SetItemString(d
,"CHANGE_DIR", SWIG_From_int((int)(wxCHANGE_DIR
)));
48271 PyDict_SetItemString(d
,"ACCEL_ALT", SWIG_From_int((int)(wxACCEL_ALT
)));
48274 PyDict_SetItemString(d
,"ACCEL_CTRL", SWIG_From_int((int)(wxACCEL_CTRL
)));
48277 PyDict_SetItemString(d
,"ACCEL_SHIFT", SWIG_From_int((int)(wxACCEL_SHIFT
)));
48280 PyDict_SetItemString(d
,"ACCEL_NORMAL", SWIG_From_int((int)(wxACCEL_NORMAL
)));
48283 PyDict_SetItemString(d
,"PD_AUTO_HIDE", SWIG_From_int((int)(wxPD_AUTO_HIDE
)));
48286 PyDict_SetItemString(d
,"PD_APP_MODAL", SWIG_From_int((int)(wxPD_APP_MODAL
)));
48289 PyDict_SetItemString(d
,"PD_CAN_ABORT", SWIG_From_int((int)(wxPD_CAN_ABORT
)));
48292 PyDict_SetItemString(d
,"PD_ELAPSED_TIME", SWIG_From_int((int)(wxPD_ELAPSED_TIME
)));
48295 PyDict_SetItemString(d
,"PD_ESTIMATED_TIME", SWIG_From_int((int)(wxPD_ESTIMATED_TIME
)));
48298 PyDict_SetItemString(d
,"PD_REMAINING_TIME", SWIG_From_int((int)(wxPD_REMAINING_TIME
)));
48301 PyDict_SetItemString(d
,"PD_SMOOTH", SWIG_From_int((int)(wxPD_SMOOTH
)));
48304 PyDict_SetItemString(d
,"PD_CAN_SKIP", SWIG_From_int((int)(wxPD_CAN_SKIP
)));
48307 PyDict_SetItemString(d
,"DD_NEW_DIR_BUTTON", SWIG_From_int((int)(wxDD_NEW_DIR_BUTTON
)));
48310 PyDict_SetItemString(d
,"DD_DEFAULT_STYLE", SWIG_From_int((int)(wxDD_DEFAULT_STYLE
)));
48313 PyDict_SetItemString(d
,"MENU_TEAROFF", SWIG_From_int((int)(wxMENU_TEAROFF
)));
48316 PyDict_SetItemString(d
,"MB_DOCKABLE", SWIG_From_int((int)(wxMB_DOCKABLE
)));
48319 PyDict_SetItemString(d
,"NO_FULL_REPAINT_ON_RESIZE", SWIG_From_int((int)(wxNO_FULL_REPAINT_ON_RESIZE
)));
48322 PyDict_SetItemString(d
,"FULL_REPAINT_ON_RESIZE", SWIG_From_int((int)(wxFULL_REPAINT_ON_RESIZE
)));
48325 PyDict_SetItemString(d
,"LI_HORIZONTAL", SWIG_From_int((int)(wxLI_HORIZONTAL
)));
48328 PyDict_SetItemString(d
,"LI_VERTICAL", SWIG_From_int((int)(wxLI_VERTICAL
)));
48331 PyDict_SetItemString(d
,"WS_EX_VALIDATE_RECURSIVELY", SWIG_From_int((int)(wxWS_EX_VALIDATE_RECURSIVELY
)));
48334 PyDict_SetItemString(d
,"WS_EX_BLOCK_EVENTS", SWIG_From_int((int)(wxWS_EX_BLOCK_EVENTS
)));
48337 PyDict_SetItemString(d
,"WS_EX_TRANSIENT", SWIG_From_int((int)(wxWS_EX_TRANSIENT
)));
48340 PyDict_SetItemString(d
,"WS_EX_THEMED_BACKGROUND", SWIG_From_int((int)(wxWS_EX_THEMED_BACKGROUND
)));
48343 PyDict_SetItemString(d
,"WS_EX_PROCESS_IDLE", SWIG_From_int((int)(wxWS_EX_PROCESS_IDLE
)));
48346 PyDict_SetItemString(d
,"WS_EX_PROCESS_UI_UPDATES", SWIG_From_int((int)(wxWS_EX_PROCESS_UI_UPDATES
)));
48349 PyDict_SetItemString(d
,"MM_TEXT", SWIG_From_int((int)(wxMM_TEXT
)));
48352 PyDict_SetItemString(d
,"MM_LOMETRIC", SWIG_From_int((int)(wxMM_LOMETRIC
)));
48355 PyDict_SetItemString(d
,"MM_HIMETRIC", SWIG_From_int((int)(wxMM_HIMETRIC
)));
48358 PyDict_SetItemString(d
,"MM_LOENGLISH", SWIG_From_int((int)(wxMM_LOENGLISH
)));
48361 PyDict_SetItemString(d
,"MM_HIENGLISH", SWIG_From_int((int)(wxMM_HIENGLISH
)));
48364 PyDict_SetItemString(d
,"MM_TWIPS", SWIG_From_int((int)(wxMM_TWIPS
)));
48367 PyDict_SetItemString(d
,"MM_ISOTROPIC", SWIG_From_int((int)(wxMM_ISOTROPIC
)));
48370 PyDict_SetItemString(d
,"MM_ANISOTROPIC", SWIG_From_int((int)(wxMM_ANISOTROPIC
)));
48373 PyDict_SetItemString(d
,"MM_POINTS", SWIG_From_int((int)(wxMM_POINTS
)));
48376 PyDict_SetItemString(d
,"MM_METRIC", SWIG_From_int((int)(wxMM_METRIC
)));
48379 PyDict_SetItemString(d
,"CENTRE", SWIG_From_int((int)(wxCENTRE
)));
48382 PyDict_SetItemString(d
,"CENTER", SWIG_From_int((int)(wxCENTER
)));
48385 PyDict_SetItemString(d
,"HORIZONTAL", SWIG_From_int((int)(wxHORIZONTAL
)));
48388 PyDict_SetItemString(d
,"VERTICAL", SWIG_From_int((int)(wxVERTICAL
)));
48391 PyDict_SetItemString(d
,"BOTH", SWIG_From_int((int)(wxBOTH
)));
48394 PyDict_SetItemString(d
,"LEFT", SWIG_From_int((int)(wxLEFT
)));
48397 PyDict_SetItemString(d
,"RIGHT", SWIG_From_int((int)(wxRIGHT
)));
48400 PyDict_SetItemString(d
,"UP", SWIG_From_int((int)(wxUP
)));
48403 PyDict_SetItemString(d
,"DOWN", SWIG_From_int((int)(wxDOWN
)));
48406 PyDict_SetItemString(d
,"TOP", SWIG_From_int((int)(wxTOP
)));
48409 PyDict_SetItemString(d
,"BOTTOM", SWIG_From_int((int)(wxBOTTOM
)));
48412 PyDict_SetItemString(d
,"NORTH", SWIG_From_int((int)(wxNORTH
)));
48415 PyDict_SetItemString(d
,"SOUTH", SWIG_From_int((int)(wxSOUTH
)));
48418 PyDict_SetItemString(d
,"WEST", SWIG_From_int((int)(wxWEST
)));
48421 PyDict_SetItemString(d
,"EAST", SWIG_From_int((int)(wxEAST
)));
48424 PyDict_SetItemString(d
,"ALL", SWIG_From_int((int)(wxALL
)));
48427 PyDict_SetItemString(d
,"ALIGN_NOT", SWIG_From_int((int)(wxALIGN_NOT
)));
48430 PyDict_SetItemString(d
,"ALIGN_CENTER_HORIZONTAL", SWIG_From_int((int)(wxALIGN_CENTER_HORIZONTAL
)));
48433 PyDict_SetItemString(d
,"ALIGN_CENTRE_HORIZONTAL", SWIG_From_int((int)(wxALIGN_CENTRE_HORIZONTAL
)));
48436 PyDict_SetItemString(d
,"ALIGN_LEFT", SWIG_From_int((int)(wxALIGN_LEFT
)));
48439 PyDict_SetItemString(d
,"ALIGN_TOP", SWIG_From_int((int)(wxALIGN_TOP
)));
48442 PyDict_SetItemString(d
,"ALIGN_RIGHT", SWIG_From_int((int)(wxALIGN_RIGHT
)));
48445 PyDict_SetItemString(d
,"ALIGN_BOTTOM", SWIG_From_int((int)(wxALIGN_BOTTOM
)));
48448 PyDict_SetItemString(d
,"ALIGN_CENTER_VERTICAL", SWIG_From_int((int)(wxALIGN_CENTER_VERTICAL
)));
48451 PyDict_SetItemString(d
,"ALIGN_CENTRE_VERTICAL", SWIG_From_int((int)(wxALIGN_CENTRE_VERTICAL
)));
48454 PyDict_SetItemString(d
,"ALIGN_CENTER", SWIG_From_int((int)(wxALIGN_CENTER
)));
48457 PyDict_SetItemString(d
,"ALIGN_CENTRE", SWIG_From_int((int)(wxALIGN_CENTRE
)));
48460 PyDict_SetItemString(d
,"ALIGN_MASK", SWIG_From_int((int)(wxALIGN_MASK
)));
48463 PyDict_SetItemString(d
,"STRETCH_NOT", SWIG_From_int((int)(wxSTRETCH_NOT
)));
48466 PyDict_SetItemString(d
,"SHRINK", SWIG_From_int((int)(wxSHRINK
)));
48469 PyDict_SetItemString(d
,"GROW", SWIG_From_int((int)(wxGROW
)));
48472 PyDict_SetItemString(d
,"EXPAND", SWIG_From_int((int)(wxEXPAND
)));
48475 PyDict_SetItemString(d
,"SHAPED", SWIG_From_int((int)(wxSHAPED
)));
48478 PyDict_SetItemString(d
,"FIXED_MINSIZE", SWIG_From_int((int)(wxFIXED_MINSIZE
)));
48481 PyDict_SetItemString(d
,"TILE", SWIG_From_int((int)(wxTILE
)));
48484 PyDict_SetItemString(d
,"ADJUST_MINSIZE", SWIG_From_int((int)(wxADJUST_MINSIZE
)));
48487 PyDict_SetItemString(d
,"BORDER_DEFAULT", SWIG_From_int((int)(wxBORDER_DEFAULT
)));
48490 PyDict_SetItemString(d
,"BORDER_NONE", SWIG_From_int((int)(wxBORDER_NONE
)));
48493 PyDict_SetItemString(d
,"BORDER_STATIC", SWIG_From_int((int)(wxBORDER_STATIC
)));
48496 PyDict_SetItemString(d
,"BORDER_SIMPLE", SWIG_From_int((int)(wxBORDER_SIMPLE
)));
48499 PyDict_SetItemString(d
,"BORDER_RAISED", SWIG_From_int((int)(wxBORDER_RAISED
)));
48502 PyDict_SetItemString(d
,"BORDER_SUNKEN", SWIG_From_int((int)(wxBORDER_SUNKEN
)));
48505 PyDict_SetItemString(d
,"BORDER_DOUBLE", SWIG_From_int((int)(wxBORDER_DOUBLE
)));
48508 PyDict_SetItemString(d
,"BORDER_MASK", SWIG_From_int((int)(wxBORDER_MASK
)));
48511 PyDict_SetItemString(d
,"BG_STYLE_SYSTEM", SWIG_From_int((int)(wxBG_STYLE_SYSTEM
)));
48514 PyDict_SetItemString(d
,"BG_STYLE_COLOUR", SWIG_From_int((int)(wxBG_STYLE_COLOUR
)));
48517 PyDict_SetItemString(d
,"BG_STYLE_CUSTOM", SWIG_From_int((int)(wxBG_STYLE_CUSTOM
)));
48520 PyDict_SetItemString(d
,"DEFAULT", SWIG_From_int((int)(wxDEFAULT
)));
48523 PyDict_SetItemString(d
,"DECORATIVE", SWIG_From_int((int)(wxDECORATIVE
)));
48526 PyDict_SetItemString(d
,"ROMAN", SWIG_From_int((int)(wxROMAN
)));
48529 PyDict_SetItemString(d
,"SCRIPT", SWIG_From_int((int)(wxSCRIPT
)));
48532 PyDict_SetItemString(d
,"SWISS", SWIG_From_int((int)(wxSWISS
)));
48535 PyDict_SetItemString(d
,"MODERN", SWIG_From_int((int)(wxMODERN
)));
48538 PyDict_SetItemString(d
,"TELETYPE", SWIG_From_int((int)(wxTELETYPE
)));
48541 PyDict_SetItemString(d
,"VARIABLE", SWIG_From_int((int)(wxVARIABLE
)));
48544 PyDict_SetItemString(d
,"FIXED", SWIG_From_int((int)(wxFIXED
)));
48547 PyDict_SetItemString(d
,"NORMAL", SWIG_From_int((int)(wxNORMAL
)));
48550 PyDict_SetItemString(d
,"LIGHT", SWIG_From_int((int)(wxLIGHT
)));
48553 PyDict_SetItemString(d
,"BOLD", SWIG_From_int((int)(wxBOLD
)));
48556 PyDict_SetItemString(d
,"ITALIC", SWIG_From_int((int)(wxITALIC
)));
48559 PyDict_SetItemString(d
,"SLANT", SWIG_From_int((int)(wxSLANT
)));
48562 PyDict_SetItemString(d
,"SOLID", SWIG_From_int((int)(wxSOLID
)));
48565 PyDict_SetItemString(d
,"DOT", SWIG_From_int((int)(wxDOT
)));
48568 PyDict_SetItemString(d
,"LONG_DASH", SWIG_From_int((int)(wxLONG_DASH
)));
48571 PyDict_SetItemString(d
,"SHORT_DASH", SWIG_From_int((int)(wxSHORT_DASH
)));
48574 PyDict_SetItemString(d
,"DOT_DASH", SWIG_From_int((int)(wxDOT_DASH
)));
48577 PyDict_SetItemString(d
,"USER_DASH", SWIG_From_int((int)(wxUSER_DASH
)));
48580 PyDict_SetItemString(d
,"TRANSPARENT", SWIG_From_int((int)(wxTRANSPARENT
)));
48583 PyDict_SetItemString(d
,"STIPPLE", SWIG_From_int((int)(wxSTIPPLE
)));
48586 PyDict_SetItemString(d
,"BDIAGONAL_HATCH", SWIG_From_int((int)(wxBDIAGONAL_HATCH
)));
48589 PyDict_SetItemString(d
,"CROSSDIAG_HATCH", SWIG_From_int((int)(wxCROSSDIAG_HATCH
)));
48592 PyDict_SetItemString(d
,"FDIAGONAL_HATCH", SWIG_From_int((int)(wxFDIAGONAL_HATCH
)));
48595 PyDict_SetItemString(d
,"CROSS_HATCH", SWIG_From_int((int)(wxCROSS_HATCH
)));
48598 PyDict_SetItemString(d
,"HORIZONTAL_HATCH", SWIG_From_int((int)(wxHORIZONTAL_HATCH
)));
48601 PyDict_SetItemString(d
,"VERTICAL_HATCH", SWIG_From_int((int)(wxVERTICAL_HATCH
)));
48604 PyDict_SetItemString(d
,"JOIN_BEVEL", SWIG_From_int((int)(wxJOIN_BEVEL
)));
48607 PyDict_SetItemString(d
,"JOIN_MITER", SWIG_From_int((int)(wxJOIN_MITER
)));
48610 PyDict_SetItemString(d
,"JOIN_ROUND", SWIG_From_int((int)(wxJOIN_ROUND
)));
48613 PyDict_SetItemString(d
,"CAP_ROUND", SWIG_From_int((int)(wxCAP_ROUND
)));
48616 PyDict_SetItemString(d
,"CAP_PROJECTING", SWIG_From_int((int)(wxCAP_PROJECTING
)));
48619 PyDict_SetItemString(d
,"CAP_BUTT", SWIG_From_int((int)(wxCAP_BUTT
)));
48622 PyDict_SetItemString(d
,"CLEAR", SWIG_From_int((int)(wxCLEAR
)));
48625 PyDict_SetItemString(d
,"XOR", SWIG_From_int((int)(wxXOR
)));
48628 PyDict_SetItemString(d
,"INVERT", SWIG_From_int((int)(wxINVERT
)));
48631 PyDict_SetItemString(d
,"OR_REVERSE", SWIG_From_int((int)(wxOR_REVERSE
)));
48634 PyDict_SetItemString(d
,"AND_REVERSE", SWIG_From_int((int)(wxAND_REVERSE
)));
48637 PyDict_SetItemString(d
,"COPY", SWIG_From_int((int)(wxCOPY
)));
48640 PyDict_SetItemString(d
,"AND", SWIG_From_int((int)(wxAND
)));
48643 PyDict_SetItemString(d
,"AND_INVERT", SWIG_From_int((int)(wxAND_INVERT
)));
48646 PyDict_SetItemString(d
,"NO_OP", SWIG_From_int((int)(wxNO_OP
)));
48649 PyDict_SetItemString(d
,"NOR", SWIG_From_int((int)(wxNOR
)));
48652 PyDict_SetItemString(d
,"EQUIV", SWIG_From_int((int)(wxEQUIV
)));
48655 PyDict_SetItemString(d
,"SRC_INVERT", SWIG_From_int((int)(wxSRC_INVERT
)));
48658 PyDict_SetItemString(d
,"OR_INVERT", SWIG_From_int((int)(wxOR_INVERT
)));
48661 PyDict_SetItemString(d
,"NAND", SWIG_From_int((int)(wxNAND
)));
48664 PyDict_SetItemString(d
,"OR", SWIG_From_int((int)(wxOR
)));
48667 PyDict_SetItemString(d
,"SET", SWIG_From_int((int)(wxSET
)));
48670 PyDict_SetItemString(d
,"WXK_BACK", SWIG_From_int((int)(WXK_BACK
)));
48673 PyDict_SetItemString(d
,"WXK_TAB", SWIG_From_int((int)(WXK_TAB
)));
48676 PyDict_SetItemString(d
,"WXK_RETURN", SWIG_From_int((int)(WXK_RETURN
)));
48679 PyDict_SetItemString(d
,"WXK_ESCAPE", SWIG_From_int((int)(WXK_ESCAPE
)));
48682 PyDict_SetItemString(d
,"WXK_SPACE", SWIG_From_int((int)(WXK_SPACE
)));
48685 PyDict_SetItemString(d
,"WXK_DELETE", SWIG_From_int((int)(WXK_DELETE
)));
48688 PyDict_SetItemString(d
,"WXK_START", SWIG_From_int((int)(WXK_START
)));
48691 PyDict_SetItemString(d
,"WXK_LBUTTON", SWIG_From_int((int)(WXK_LBUTTON
)));
48694 PyDict_SetItemString(d
,"WXK_RBUTTON", SWIG_From_int((int)(WXK_RBUTTON
)));
48697 PyDict_SetItemString(d
,"WXK_CANCEL", SWIG_From_int((int)(WXK_CANCEL
)));
48700 PyDict_SetItemString(d
,"WXK_MBUTTON", SWIG_From_int((int)(WXK_MBUTTON
)));
48703 PyDict_SetItemString(d
,"WXK_CLEAR", SWIG_From_int((int)(WXK_CLEAR
)));
48706 PyDict_SetItemString(d
,"WXK_SHIFT", SWIG_From_int((int)(WXK_SHIFT
)));
48709 PyDict_SetItemString(d
,"WXK_ALT", SWIG_From_int((int)(WXK_ALT
)));
48712 PyDict_SetItemString(d
,"WXK_CONTROL", SWIG_From_int((int)(WXK_CONTROL
)));
48715 PyDict_SetItemString(d
,"WXK_MENU", SWIG_From_int((int)(WXK_MENU
)));
48718 PyDict_SetItemString(d
,"WXK_PAUSE", SWIG_From_int((int)(WXK_PAUSE
)));
48721 PyDict_SetItemString(d
,"WXK_CAPITAL", SWIG_From_int((int)(WXK_CAPITAL
)));
48724 PyDict_SetItemString(d
,"WXK_PRIOR", SWIG_From_int((int)(WXK_PRIOR
)));
48727 PyDict_SetItemString(d
,"WXK_NEXT", SWIG_From_int((int)(WXK_NEXT
)));
48730 PyDict_SetItemString(d
,"WXK_END", SWIG_From_int((int)(WXK_END
)));
48733 PyDict_SetItemString(d
,"WXK_HOME", SWIG_From_int((int)(WXK_HOME
)));
48736 PyDict_SetItemString(d
,"WXK_LEFT", SWIG_From_int((int)(WXK_LEFT
)));
48739 PyDict_SetItemString(d
,"WXK_UP", SWIG_From_int((int)(WXK_UP
)));
48742 PyDict_SetItemString(d
,"WXK_RIGHT", SWIG_From_int((int)(WXK_RIGHT
)));
48745 PyDict_SetItemString(d
,"WXK_DOWN", SWIG_From_int((int)(WXK_DOWN
)));
48748 PyDict_SetItemString(d
,"WXK_SELECT", SWIG_From_int((int)(WXK_SELECT
)));
48751 PyDict_SetItemString(d
,"WXK_PRINT", SWIG_From_int((int)(WXK_PRINT
)));
48754 PyDict_SetItemString(d
,"WXK_EXECUTE", SWIG_From_int((int)(WXK_EXECUTE
)));
48757 PyDict_SetItemString(d
,"WXK_SNAPSHOT", SWIG_From_int((int)(WXK_SNAPSHOT
)));
48760 PyDict_SetItemString(d
,"WXK_INSERT", SWIG_From_int((int)(WXK_INSERT
)));
48763 PyDict_SetItemString(d
,"WXK_HELP", SWIG_From_int((int)(WXK_HELP
)));
48766 PyDict_SetItemString(d
,"WXK_NUMPAD0", SWIG_From_int((int)(WXK_NUMPAD0
)));
48769 PyDict_SetItemString(d
,"WXK_NUMPAD1", SWIG_From_int((int)(WXK_NUMPAD1
)));
48772 PyDict_SetItemString(d
,"WXK_NUMPAD2", SWIG_From_int((int)(WXK_NUMPAD2
)));
48775 PyDict_SetItemString(d
,"WXK_NUMPAD3", SWIG_From_int((int)(WXK_NUMPAD3
)));
48778 PyDict_SetItemString(d
,"WXK_NUMPAD4", SWIG_From_int((int)(WXK_NUMPAD4
)));
48781 PyDict_SetItemString(d
,"WXK_NUMPAD5", SWIG_From_int((int)(WXK_NUMPAD5
)));
48784 PyDict_SetItemString(d
,"WXK_NUMPAD6", SWIG_From_int((int)(WXK_NUMPAD6
)));
48787 PyDict_SetItemString(d
,"WXK_NUMPAD7", SWIG_From_int((int)(WXK_NUMPAD7
)));
48790 PyDict_SetItemString(d
,"WXK_NUMPAD8", SWIG_From_int((int)(WXK_NUMPAD8
)));
48793 PyDict_SetItemString(d
,"WXK_NUMPAD9", SWIG_From_int((int)(WXK_NUMPAD9
)));
48796 PyDict_SetItemString(d
,"WXK_MULTIPLY", SWIG_From_int((int)(WXK_MULTIPLY
)));
48799 PyDict_SetItemString(d
,"WXK_ADD", SWIG_From_int((int)(WXK_ADD
)));
48802 PyDict_SetItemString(d
,"WXK_SEPARATOR", SWIG_From_int((int)(WXK_SEPARATOR
)));
48805 PyDict_SetItemString(d
,"WXK_SUBTRACT", SWIG_From_int((int)(WXK_SUBTRACT
)));
48808 PyDict_SetItemString(d
,"WXK_DECIMAL", SWIG_From_int((int)(WXK_DECIMAL
)));
48811 PyDict_SetItemString(d
,"WXK_DIVIDE", SWIG_From_int((int)(WXK_DIVIDE
)));
48814 PyDict_SetItemString(d
,"WXK_F1", SWIG_From_int((int)(WXK_F1
)));
48817 PyDict_SetItemString(d
,"WXK_F2", SWIG_From_int((int)(WXK_F2
)));
48820 PyDict_SetItemString(d
,"WXK_F3", SWIG_From_int((int)(WXK_F3
)));
48823 PyDict_SetItemString(d
,"WXK_F4", SWIG_From_int((int)(WXK_F4
)));
48826 PyDict_SetItemString(d
,"WXK_F5", SWIG_From_int((int)(WXK_F5
)));
48829 PyDict_SetItemString(d
,"WXK_F6", SWIG_From_int((int)(WXK_F6
)));
48832 PyDict_SetItemString(d
,"WXK_F7", SWIG_From_int((int)(WXK_F7
)));
48835 PyDict_SetItemString(d
,"WXK_F8", SWIG_From_int((int)(WXK_F8
)));
48838 PyDict_SetItemString(d
,"WXK_F9", SWIG_From_int((int)(WXK_F9
)));
48841 PyDict_SetItemString(d
,"WXK_F10", SWIG_From_int((int)(WXK_F10
)));
48844 PyDict_SetItemString(d
,"WXK_F11", SWIG_From_int((int)(WXK_F11
)));
48847 PyDict_SetItemString(d
,"WXK_F12", SWIG_From_int((int)(WXK_F12
)));
48850 PyDict_SetItemString(d
,"WXK_F13", SWIG_From_int((int)(WXK_F13
)));
48853 PyDict_SetItemString(d
,"WXK_F14", SWIG_From_int((int)(WXK_F14
)));
48856 PyDict_SetItemString(d
,"WXK_F15", SWIG_From_int((int)(WXK_F15
)));
48859 PyDict_SetItemString(d
,"WXK_F16", SWIG_From_int((int)(WXK_F16
)));
48862 PyDict_SetItemString(d
,"WXK_F17", SWIG_From_int((int)(WXK_F17
)));
48865 PyDict_SetItemString(d
,"WXK_F18", SWIG_From_int((int)(WXK_F18
)));
48868 PyDict_SetItemString(d
,"WXK_F19", SWIG_From_int((int)(WXK_F19
)));
48871 PyDict_SetItemString(d
,"WXK_F20", SWIG_From_int((int)(WXK_F20
)));
48874 PyDict_SetItemString(d
,"WXK_F21", SWIG_From_int((int)(WXK_F21
)));
48877 PyDict_SetItemString(d
,"WXK_F22", SWIG_From_int((int)(WXK_F22
)));
48880 PyDict_SetItemString(d
,"WXK_F23", SWIG_From_int((int)(WXK_F23
)));
48883 PyDict_SetItemString(d
,"WXK_F24", SWIG_From_int((int)(WXK_F24
)));
48886 PyDict_SetItemString(d
,"WXK_NUMLOCK", SWIG_From_int((int)(WXK_NUMLOCK
)));
48889 PyDict_SetItemString(d
,"WXK_SCROLL", SWIG_From_int((int)(WXK_SCROLL
)));
48892 PyDict_SetItemString(d
,"WXK_PAGEUP", SWIG_From_int((int)(WXK_PAGEUP
)));
48895 PyDict_SetItemString(d
,"WXK_PAGEDOWN", SWIG_From_int((int)(WXK_PAGEDOWN
)));
48898 PyDict_SetItemString(d
,"WXK_NUMPAD_SPACE", SWIG_From_int((int)(WXK_NUMPAD_SPACE
)));
48901 PyDict_SetItemString(d
,"WXK_NUMPAD_TAB", SWIG_From_int((int)(WXK_NUMPAD_TAB
)));
48904 PyDict_SetItemString(d
,"WXK_NUMPAD_ENTER", SWIG_From_int((int)(WXK_NUMPAD_ENTER
)));
48907 PyDict_SetItemString(d
,"WXK_NUMPAD_F1", SWIG_From_int((int)(WXK_NUMPAD_F1
)));
48910 PyDict_SetItemString(d
,"WXK_NUMPAD_F2", SWIG_From_int((int)(WXK_NUMPAD_F2
)));
48913 PyDict_SetItemString(d
,"WXK_NUMPAD_F3", SWIG_From_int((int)(WXK_NUMPAD_F3
)));
48916 PyDict_SetItemString(d
,"WXK_NUMPAD_F4", SWIG_From_int((int)(WXK_NUMPAD_F4
)));
48919 PyDict_SetItemString(d
,"WXK_NUMPAD_HOME", SWIG_From_int((int)(WXK_NUMPAD_HOME
)));
48922 PyDict_SetItemString(d
,"WXK_NUMPAD_LEFT", SWIG_From_int((int)(WXK_NUMPAD_LEFT
)));
48925 PyDict_SetItemString(d
,"WXK_NUMPAD_UP", SWIG_From_int((int)(WXK_NUMPAD_UP
)));
48928 PyDict_SetItemString(d
,"WXK_NUMPAD_RIGHT", SWIG_From_int((int)(WXK_NUMPAD_RIGHT
)));
48931 PyDict_SetItemString(d
,"WXK_NUMPAD_DOWN", SWIG_From_int((int)(WXK_NUMPAD_DOWN
)));
48934 PyDict_SetItemString(d
,"WXK_NUMPAD_PRIOR", SWIG_From_int((int)(WXK_NUMPAD_PRIOR
)));
48937 PyDict_SetItemString(d
,"WXK_NUMPAD_PAGEUP", SWIG_From_int((int)(WXK_NUMPAD_PAGEUP
)));
48940 PyDict_SetItemString(d
,"WXK_NUMPAD_NEXT", SWIG_From_int((int)(WXK_NUMPAD_NEXT
)));
48943 PyDict_SetItemString(d
,"WXK_NUMPAD_PAGEDOWN", SWIG_From_int((int)(WXK_NUMPAD_PAGEDOWN
)));
48946 PyDict_SetItemString(d
,"WXK_NUMPAD_END", SWIG_From_int((int)(WXK_NUMPAD_END
)));
48949 PyDict_SetItemString(d
,"WXK_NUMPAD_BEGIN", SWIG_From_int((int)(WXK_NUMPAD_BEGIN
)));
48952 PyDict_SetItemString(d
,"WXK_NUMPAD_INSERT", SWIG_From_int((int)(WXK_NUMPAD_INSERT
)));
48955 PyDict_SetItemString(d
,"WXK_NUMPAD_DELETE", SWIG_From_int((int)(WXK_NUMPAD_DELETE
)));
48958 PyDict_SetItemString(d
,"WXK_NUMPAD_EQUAL", SWIG_From_int((int)(WXK_NUMPAD_EQUAL
)));
48961 PyDict_SetItemString(d
,"WXK_NUMPAD_MULTIPLY", SWIG_From_int((int)(WXK_NUMPAD_MULTIPLY
)));
48964 PyDict_SetItemString(d
,"WXK_NUMPAD_ADD", SWIG_From_int((int)(WXK_NUMPAD_ADD
)));
48967 PyDict_SetItemString(d
,"WXK_NUMPAD_SEPARATOR", SWIG_From_int((int)(WXK_NUMPAD_SEPARATOR
)));
48970 PyDict_SetItemString(d
,"WXK_NUMPAD_SUBTRACT", SWIG_From_int((int)(WXK_NUMPAD_SUBTRACT
)));
48973 PyDict_SetItemString(d
,"WXK_NUMPAD_DECIMAL", SWIG_From_int((int)(WXK_NUMPAD_DECIMAL
)));
48976 PyDict_SetItemString(d
,"WXK_NUMPAD_DIVIDE", SWIG_From_int((int)(WXK_NUMPAD_DIVIDE
)));
48979 PyDict_SetItemString(d
,"WXK_WINDOWS_LEFT", SWIG_From_int((int)(WXK_WINDOWS_LEFT
)));
48982 PyDict_SetItemString(d
,"WXK_WINDOWS_RIGHT", SWIG_From_int((int)(WXK_WINDOWS_RIGHT
)));
48985 PyDict_SetItemString(d
,"WXK_WINDOWS_MENU", SWIG_From_int((int)(WXK_WINDOWS_MENU
)));
48988 PyDict_SetItemString(d
,"WXK_COMMAND", SWIG_From_int((int)(WXK_COMMAND
)));
48991 PyDict_SetItemString(d
,"WXK_SPECIAL1", SWIG_From_int((int)(WXK_SPECIAL1
)));
48994 PyDict_SetItemString(d
,"WXK_SPECIAL2", SWIG_From_int((int)(WXK_SPECIAL2
)));
48997 PyDict_SetItemString(d
,"WXK_SPECIAL3", SWIG_From_int((int)(WXK_SPECIAL3
)));
49000 PyDict_SetItemString(d
,"WXK_SPECIAL4", SWIG_From_int((int)(WXK_SPECIAL4
)));
49003 PyDict_SetItemString(d
,"WXK_SPECIAL5", SWIG_From_int((int)(WXK_SPECIAL5
)));
49006 PyDict_SetItemString(d
,"WXK_SPECIAL6", SWIG_From_int((int)(WXK_SPECIAL6
)));
49009 PyDict_SetItemString(d
,"WXK_SPECIAL7", SWIG_From_int((int)(WXK_SPECIAL7
)));
49012 PyDict_SetItemString(d
,"WXK_SPECIAL8", SWIG_From_int((int)(WXK_SPECIAL8
)));
49015 PyDict_SetItemString(d
,"WXK_SPECIAL9", SWIG_From_int((int)(WXK_SPECIAL9
)));
49018 PyDict_SetItemString(d
,"WXK_SPECIAL10", SWIG_From_int((int)(WXK_SPECIAL10
)));
49021 PyDict_SetItemString(d
,"WXK_SPECIAL11", SWIG_From_int((int)(WXK_SPECIAL11
)));
49024 PyDict_SetItemString(d
,"WXK_SPECIAL12", SWIG_From_int((int)(WXK_SPECIAL12
)));
49027 PyDict_SetItemString(d
,"WXK_SPECIAL13", SWIG_From_int((int)(WXK_SPECIAL13
)));
49030 PyDict_SetItemString(d
,"WXK_SPECIAL14", SWIG_From_int((int)(WXK_SPECIAL14
)));
49033 PyDict_SetItemString(d
,"WXK_SPECIAL15", SWIG_From_int((int)(WXK_SPECIAL15
)));
49036 PyDict_SetItemString(d
,"WXK_SPECIAL16", SWIG_From_int((int)(WXK_SPECIAL16
)));
49039 PyDict_SetItemString(d
,"WXK_SPECIAL17", SWIG_From_int((int)(WXK_SPECIAL17
)));
49042 PyDict_SetItemString(d
,"WXK_SPECIAL18", SWIG_From_int((int)(WXK_SPECIAL18
)));
49045 PyDict_SetItemString(d
,"WXK_SPECIAL19", SWIG_From_int((int)(WXK_SPECIAL19
)));
49048 PyDict_SetItemString(d
,"WXK_SPECIAL20", SWIG_From_int((int)(WXK_SPECIAL20
)));
49051 PyDict_SetItemString(d
,"PAPER_NONE", SWIG_From_int((int)(wxPAPER_NONE
)));
49054 PyDict_SetItemString(d
,"PAPER_LETTER", SWIG_From_int((int)(wxPAPER_LETTER
)));
49057 PyDict_SetItemString(d
,"PAPER_LEGAL", SWIG_From_int((int)(wxPAPER_LEGAL
)));
49060 PyDict_SetItemString(d
,"PAPER_A4", SWIG_From_int((int)(wxPAPER_A4
)));
49063 PyDict_SetItemString(d
,"PAPER_CSHEET", SWIG_From_int((int)(wxPAPER_CSHEET
)));
49066 PyDict_SetItemString(d
,"PAPER_DSHEET", SWIG_From_int((int)(wxPAPER_DSHEET
)));
49069 PyDict_SetItemString(d
,"PAPER_ESHEET", SWIG_From_int((int)(wxPAPER_ESHEET
)));
49072 PyDict_SetItemString(d
,"PAPER_LETTERSMALL", SWIG_From_int((int)(wxPAPER_LETTERSMALL
)));
49075 PyDict_SetItemString(d
,"PAPER_TABLOID", SWIG_From_int((int)(wxPAPER_TABLOID
)));
49078 PyDict_SetItemString(d
,"PAPER_LEDGER", SWIG_From_int((int)(wxPAPER_LEDGER
)));
49081 PyDict_SetItemString(d
,"PAPER_STATEMENT", SWIG_From_int((int)(wxPAPER_STATEMENT
)));
49084 PyDict_SetItemString(d
,"PAPER_EXECUTIVE", SWIG_From_int((int)(wxPAPER_EXECUTIVE
)));
49087 PyDict_SetItemString(d
,"PAPER_A3", SWIG_From_int((int)(wxPAPER_A3
)));
49090 PyDict_SetItemString(d
,"PAPER_A4SMALL", SWIG_From_int((int)(wxPAPER_A4SMALL
)));
49093 PyDict_SetItemString(d
,"PAPER_A5", SWIG_From_int((int)(wxPAPER_A5
)));
49096 PyDict_SetItemString(d
,"PAPER_B4", SWIG_From_int((int)(wxPAPER_B4
)));
49099 PyDict_SetItemString(d
,"PAPER_B5", SWIG_From_int((int)(wxPAPER_B5
)));
49102 PyDict_SetItemString(d
,"PAPER_FOLIO", SWIG_From_int((int)(wxPAPER_FOLIO
)));
49105 PyDict_SetItemString(d
,"PAPER_QUARTO", SWIG_From_int((int)(wxPAPER_QUARTO
)));
49108 PyDict_SetItemString(d
,"PAPER_10X14", SWIG_From_int((int)(wxPAPER_10X14
)));
49111 PyDict_SetItemString(d
,"PAPER_11X17", SWIG_From_int((int)(wxPAPER_11X17
)));
49114 PyDict_SetItemString(d
,"PAPER_NOTE", SWIG_From_int((int)(wxPAPER_NOTE
)));
49117 PyDict_SetItemString(d
,"PAPER_ENV_9", SWIG_From_int((int)(wxPAPER_ENV_9
)));
49120 PyDict_SetItemString(d
,"PAPER_ENV_10", SWIG_From_int((int)(wxPAPER_ENV_10
)));
49123 PyDict_SetItemString(d
,"PAPER_ENV_11", SWIG_From_int((int)(wxPAPER_ENV_11
)));
49126 PyDict_SetItemString(d
,"PAPER_ENV_12", SWIG_From_int((int)(wxPAPER_ENV_12
)));
49129 PyDict_SetItemString(d
,"PAPER_ENV_14", SWIG_From_int((int)(wxPAPER_ENV_14
)));
49132 PyDict_SetItemString(d
,"PAPER_ENV_DL", SWIG_From_int((int)(wxPAPER_ENV_DL
)));
49135 PyDict_SetItemString(d
,"PAPER_ENV_C5", SWIG_From_int((int)(wxPAPER_ENV_C5
)));
49138 PyDict_SetItemString(d
,"PAPER_ENV_C3", SWIG_From_int((int)(wxPAPER_ENV_C3
)));
49141 PyDict_SetItemString(d
,"PAPER_ENV_C4", SWIG_From_int((int)(wxPAPER_ENV_C4
)));
49144 PyDict_SetItemString(d
,"PAPER_ENV_C6", SWIG_From_int((int)(wxPAPER_ENV_C6
)));
49147 PyDict_SetItemString(d
,"PAPER_ENV_C65", SWIG_From_int((int)(wxPAPER_ENV_C65
)));
49150 PyDict_SetItemString(d
,"PAPER_ENV_B4", SWIG_From_int((int)(wxPAPER_ENV_B4
)));
49153 PyDict_SetItemString(d
,"PAPER_ENV_B5", SWIG_From_int((int)(wxPAPER_ENV_B5
)));
49156 PyDict_SetItemString(d
,"PAPER_ENV_B6", SWIG_From_int((int)(wxPAPER_ENV_B6
)));
49159 PyDict_SetItemString(d
,"PAPER_ENV_ITALY", SWIG_From_int((int)(wxPAPER_ENV_ITALY
)));
49162 PyDict_SetItemString(d
,"PAPER_ENV_MONARCH", SWIG_From_int((int)(wxPAPER_ENV_MONARCH
)));
49165 PyDict_SetItemString(d
,"PAPER_ENV_PERSONAL", SWIG_From_int((int)(wxPAPER_ENV_PERSONAL
)));
49168 PyDict_SetItemString(d
,"PAPER_FANFOLD_US", SWIG_From_int((int)(wxPAPER_FANFOLD_US
)));
49171 PyDict_SetItemString(d
,"PAPER_FANFOLD_STD_GERMAN", SWIG_From_int((int)(wxPAPER_FANFOLD_STD_GERMAN
)));
49174 PyDict_SetItemString(d
,"PAPER_FANFOLD_LGL_GERMAN", SWIG_From_int((int)(wxPAPER_FANFOLD_LGL_GERMAN
)));
49177 PyDict_SetItemString(d
,"PAPER_ISO_B4", SWIG_From_int((int)(wxPAPER_ISO_B4
)));
49180 PyDict_SetItemString(d
,"PAPER_JAPANESE_POSTCARD", SWIG_From_int((int)(wxPAPER_JAPANESE_POSTCARD
)));
49183 PyDict_SetItemString(d
,"PAPER_9X11", SWIG_From_int((int)(wxPAPER_9X11
)));
49186 PyDict_SetItemString(d
,"PAPER_10X11", SWIG_From_int((int)(wxPAPER_10X11
)));
49189 PyDict_SetItemString(d
,"PAPER_15X11", SWIG_From_int((int)(wxPAPER_15X11
)));
49192 PyDict_SetItemString(d
,"PAPER_ENV_INVITE", SWIG_From_int((int)(wxPAPER_ENV_INVITE
)));
49195 PyDict_SetItemString(d
,"PAPER_LETTER_EXTRA", SWIG_From_int((int)(wxPAPER_LETTER_EXTRA
)));
49198 PyDict_SetItemString(d
,"PAPER_LEGAL_EXTRA", SWIG_From_int((int)(wxPAPER_LEGAL_EXTRA
)));
49201 PyDict_SetItemString(d
,"PAPER_TABLOID_EXTRA", SWIG_From_int((int)(wxPAPER_TABLOID_EXTRA
)));
49204 PyDict_SetItemString(d
,"PAPER_A4_EXTRA", SWIG_From_int((int)(wxPAPER_A4_EXTRA
)));
49207 PyDict_SetItemString(d
,"PAPER_LETTER_TRANSVERSE", SWIG_From_int((int)(wxPAPER_LETTER_TRANSVERSE
)));
49210 PyDict_SetItemString(d
,"PAPER_A4_TRANSVERSE", SWIG_From_int((int)(wxPAPER_A4_TRANSVERSE
)));
49213 PyDict_SetItemString(d
,"PAPER_LETTER_EXTRA_TRANSVERSE", SWIG_From_int((int)(wxPAPER_LETTER_EXTRA_TRANSVERSE
)));
49216 PyDict_SetItemString(d
,"PAPER_A_PLUS", SWIG_From_int((int)(wxPAPER_A_PLUS
)));
49219 PyDict_SetItemString(d
,"PAPER_B_PLUS", SWIG_From_int((int)(wxPAPER_B_PLUS
)));
49222 PyDict_SetItemString(d
,"PAPER_LETTER_PLUS", SWIG_From_int((int)(wxPAPER_LETTER_PLUS
)));
49225 PyDict_SetItemString(d
,"PAPER_A4_PLUS", SWIG_From_int((int)(wxPAPER_A4_PLUS
)));
49228 PyDict_SetItemString(d
,"PAPER_A5_TRANSVERSE", SWIG_From_int((int)(wxPAPER_A5_TRANSVERSE
)));
49231 PyDict_SetItemString(d
,"PAPER_B5_TRANSVERSE", SWIG_From_int((int)(wxPAPER_B5_TRANSVERSE
)));
49234 PyDict_SetItemString(d
,"PAPER_A3_EXTRA", SWIG_From_int((int)(wxPAPER_A3_EXTRA
)));
49237 PyDict_SetItemString(d
,"PAPER_A5_EXTRA", SWIG_From_int((int)(wxPAPER_A5_EXTRA
)));
49240 PyDict_SetItemString(d
,"PAPER_B5_EXTRA", SWIG_From_int((int)(wxPAPER_B5_EXTRA
)));
49243 PyDict_SetItemString(d
,"PAPER_A2", SWIG_From_int((int)(wxPAPER_A2
)));
49246 PyDict_SetItemString(d
,"PAPER_A3_TRANSVERSE", SWIG_From_int((int)(wxPAPER_A3_TRANSVERSE
)));
49249 PyDict_SetItemString(d
,"PAPER_A3_EXTRA_TRANSVERSE", SWIG_From_int((int)(wxPAPER_A3_EXTRA_TRANSVERSE
)));
49252 PyDict_SetItemString(d
,"DUPLEX_SIMPLEX", SWIG_From_int((int)(wxDUPLEX_SIMPLEX
)));
49255 PyDict_SetItemString(d
,"DUPLEX_HORIZONTAL", SWIG_From_int((int)(wxDUPLEX_HORIZONTAL
)));
49258 PyDict_SetItemString(d
,"DUPLEX_VERTICAL", SWIG_From_int((int)(wxDUPLEX_VERTICAL
)));
49261 PyDict_SetItemString(d
,"ITEM_SEPARATOR", SWIG_From_int((int)(wxITEM_SEPARATOR
)));
49264 PyDict_SetItemString(d
,"ITEM_NORMAL", SWIG_From_int((int)(wxITEM_NORMAL
)));
49267 PyDict_SetItemString(d
,"ITEM_CHECK", SWIG_From_int((int)(wxITEM_CHECK
)));
49270 PyDict_SetItemString(d
,"ITEM_RADIO", SWIG_From_int((int)(wxITEM_RADIO
)));
49273 PyDict_SetItemString(d
,"ITEM_MAX", SWIG_From_int((int)(wxITEM_MAX
)));
49276 PyDict_SetItemString(d
,"HT_NOWHERE", SWIG_From_int((int)(wxHT_NOWHERE
)));
49279 PyDict_SetItemString(d
,"HT_SCROLLBAR_FIRST", SWIG_From_int((int)(wxHT_SCROLLBAR_FIRST
)));
49282 PyDict_SetItemString(d
,"HT_SCROLLBAR_ARROW_LINE_1", SWIG_From_int((int)(wxHT_SCROLLBAR_ARROW_LINE_1
)));
49285 PyDict_SetItemString(d
,"HT_SCROLLBAR_ARROW_LINE_2", SWIG_From_int((int)(wxHT_SCROLLBAR_ARROW_LINE_2
)));
49288 PyDict_SetItemString(d
,"HT_SCROLLBAR_ARROW_PAGE_1", SWIG_From_int((int)(wxHT_SCROLLBAR_ARROW_PAGE_1
)));
49291 PyDict_SetItemString(d
,"HT_SCROLLBAR_ARROW_PAGE_2", SWIG_From_int((int)(wxHT_SCROLLBAR_ARROW_PAGE_2
)));
49294 PyDict_SetItemString(d
,"HT_SCROLLBAR_THUMB", SWIG_From_int((int)(wxHT_SCROLLBAR_THUMB
)));
49297 PyDict_SetItemString(d
,"HT_SCROLLBAR_BAR_1", SWIG_From_int((int)(wxHT_SCROLLBAR_BAR_1
)));
49300 PyDict_SetItemString(d
,"HT_SCROLLBAR_BAR_2", SWIG_From_int((int)(wxHT_SCROLLBAR_BAR_2
)));
49303 PyDict_SetItemString(d
,"HT_SCROLLBAR_LAST", SWIG_From_int((int)(wxHT_SCROLLBAR_LAST
)));
49306 PyDict_SetItemString(d
,"HT_WINDOW_OUTSIDE", SWIG_From_int((int)(wxHT_WINDOW_OUTSIDE
)));
49309 PyDict_SetItemString(d
,"HT_WINDOW_INSIDE", SWIG_From_int((int)(wxHT_WINDOW_INSIDE
)));
49312 PyDict_SetItemString(d
,"HT_WINDOW_VERT_SCROLLBAR", SWIG_From_int((int)(wxHT_WINDOW_VERT_SCROLLBAR
)));
49315 PyDict_SetItemString(d
,"HT_WINDOW_HORZ_SCROLLBAR", SWIG_From_int((int)(wxHT_WINDOW_HORZ_SCROLLBAR
)));
49318 PyDict_SetItemString(d
,"HT_WINDOW_CORNER", SWIG_From_int((int)(wxHT_WINDOW_CORNER
)));
49321 PyDict_SetItemString(d
,"HT_MAX", SWIG_From_int((int)(wxHT_MAX
)));
49324 PyDict_SetItemString(d
,"MOD_NONE", SWIG_From_int((int)(wxMOD_NONE
)));
49327 PyDict_SetItemString(d
,"MOD_ALT", SWIG_From_int((int)(wxMOD_ALT
)));
49330 PyDict_SetItemString(d
,"MOD_CONTROL", SWIG_From_int((int)(wxMOD_CONTROL
)));
49333 PyDict_SetItemString(d
,"MOD_SHIFT", SWIG_From_int((int)(wxMOD_SHIFT
)));
49336 PyDict_SetItemString(d
,"MOD_WIN", SWIG_From_int((int)(wxMOD_WIN
)));
49339 PyDict_SetItemString(d
,"UPDATE_UI_NONE", SWIG_From_int((int)(wxUPDATE_UI_NONE
)));
49342 PyDict_SetItemString(d
,"UPDATE_UI_RECURSE", SWIG_From_int((int)(wxUPDATE_UI_RECURSE
)));
49345 PyDict_SetItemString(d
,"UPDATE_UI_FROMIDLE", SWIG_From_int((int)(wxUPDATE_UI_FROMIDLE
)));
49347 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals
);
49348 SWIG_addvarlink(SWIG_globals
,(char*)"EmptyString",_wrap_EmptyString_get
, _wrap_EmptyString_set
);
49350 PyDict_SetItemString(d
,"BITMAP_TYPE_INVALID", SWIG_From_int((int)(wxBITMAP_TYPE_INVALID
)));
49353 PyDict_SetItemString(d
,"BITMAP_TYPE_BMP", SWIG_From_int((int)(wxBITMAP_TYPE_BMP
)));
49356 PyDict_SetItemString(d
,"BITMAP_TYPE_ICO", SWIG_From_int((int)(wxBITMAP_TYPE_ICO
)));
49359 PyDict_SetItemString(d
,"BITMAP_TYPE_CUR", SWIG_From_int((int)(wxBITMAP_TYPE_CUR
)));
49362 PyDict_SetItemString(d
,"BITMAP_TYPE_XBM", SWIG_From_int((int)(wxBITMAP_TYPE_XBM
)));
49365 PyDict_SetItemString(d
,"BITMAP_TYPE_XBM_DATA", SWIG_From_int((int)(wxBITMAP_TYPE_XBM_DATA
)));
49368 PyDict_SetItemString(d
,"BITMAP_TYPE_XPM", SWIG_From_int((int)(wxBITMAP_TYPE_XPM
)));
49371 PyDict_SetItemString(d
,"BITMAP_TYPE_XPM_DATA", SWIG_From_int((int)(wxBITMAP_TYPE_XPM_DATA
)));
49374 PyDict_SetItemString(d
,"BITMAP_TYPE_TIF", SWIG_From_int((int)(wxBITMAP_TYPE_TIF
)));
49377 PyDict_SetItemString(d
,"BITMAP_TYPE_GIF", SWIG_From_int((int)(wxBITMAP_TYPE_GIF
)));
49380 PyDict_SetItemString(d
,"BITMAP_TYPE_PNG", SWIG_From_int((int)(wxBITMAP_TYPE_PNG
)));
49383 PyDict_SetItemString(d
,"BITMAP_TYPE_JPEG", SWIG_From_int((int)(wxBITMAP_TYPE_JPEG
)));
49386 PyDict_SetItemString(d
,"BITMAP_TYPE_PNM", SWIG_From_int((int)(wxBITMAP_TYPE_PNM
)));
49389 PyDict_SetItemString(d
,"BITMAP_TYPE_PCX", SWIG_From_int((int)(wxBITMAP_TYPE_PCX
)));
49392 PyDict_SetItemString(d
,"BITMAP_TYPE_PICT", SWIG_From_int((int)(wxBITMAP_TYPE_PICT
)));
49395 PyDict_SetItemString(d
,"BITMAP_TYPE_ICON", SWIG_From_int((int)(wxBITMAP_TYPE_ICON
)));
49398 PyDict_SetItemString(d
,"BITMAP_TYPE_ANI", SWIG_From_int((int)(wxBITMAP_TYPE_ANI
)));
49401 PyDict_SetItemString(d
,"BITMAP_TYPE_IFF", SWIG_From_int((int)(wxBITMAP_TYPE_IFF
)));
49404 PyDict_SetItemString(d
,"BITMAP_TYPE_MACCURSOR", SWIG_From_int((int)(wxBITMAP_TYPE_MACCURSOR
)));
49407 PyDict_SetItemString(d
,"BITMAP_TYPE_ANY", SWIG_From_int((int)(wxBITMAP_TYPE_ANY
)));
49410 PyDict_SetItemString(d
,"CURSOR_NONE", SWIG_From_int((int)(wxCURSOR_NONE
)));
49413 PyDict_SetItemString(d
,"CURSOR_ARROW", SWIG_From_int((int)(wxCURSOR_ARROW
)));
49416 PyDict_SetItemString(d
,"CURSOR_RIGHT_ARROW", SWIG_From_int((int)(wxCURSOR_RIGHT_ARROW
)));
49419 PyDict_SetItemString(d
,"CURSOR_BULLSEYE", SWIG_From_int((int)(wxCURSOR_BULLSEYE
)));
49422 PyDict_SetItemString(d
,"CURSOR_CHAR", SWIG_From_int((int)(wxCURSOR_CHAR
)));
49425 PyDict_SetItemString(d
,"CURSOR_CROSS", SWIG_From_int((int)(wxCURSOR_CROSS
)));
49428 PyDict_SetItemString(d
,"CURSOR_HAND", SWIG_From_int((int)(wxCURSOR_HAND
)));
49431 PyDict_SetItemString(d
,"CURSOR_IBEAM", SWIG_From_int((int)(wxCURSOR_IBEAM
)));
49434 PyDict_SetItemString(d
,"CURSOR_LEFT_BUTTON", SWIG_From_int((int)(wxCURSOR_LEFT_BUTTON
)));
49437 PyDict_SetItemString(d
,"CURSOR_MAGNIFIER", SWIG_From_int((int)(wxCURSOR_MAGNIFIER
)));
49440 PyDict_SetItemString(d
,"CURSOR_MIDDLE_BUTTON", SWIG_From_int((int)(wxCURSOR_MIDDLE_BUTTON
)));
49443 PyDict_SetItemString(d
,"CURSOR_NO_ENTRY", SWIG_From_int((int)(wxCURSOR_NO_ENTRY
)));
49446 PyDict_SetItemString(d
,"CURSOR_PAINT_BRUSH", SWIG_From_int((int)(wxCURSOR_PAINT_BRUSH
)));
49449 PyDict_SetItemString(d
,"CURSOR_PENCIL", SWIG_From_int((int)(wxCURSOR_PENCIL
)));
49452 PyDict_SetItemString(d
,"CURSOR_POINT_LEFT", SWIG_From_int((int)(wxCURSOR_POINT_LEFT
)));
49455 PyDict_SetItemString(d
,"CURSOR_POINT_RIGHT", SWIG_From_int((int)(wxCURSOR_POINT_RIGHT
)));
49458 PyDict_SetItemString(d
,"CURSOR_QUESTION_ARROW", SWIG_From_int((int)(wxCURSOR_QUESTION_ARROW
)));
49461 PyDict_SetItemString(d
,"CURSOR_RIGHT_BUTTON", SWIG_From_int((int)(wxCURSOR_RIGHT_BUTTON
)));
49464 PyDict_SetItemString(d
,"CURSOR_SIZENESW", SWIG_From_int((int)(wxCURSOR_SIZENESW
)));
49467 PyDict_SetItemString(d
,"CURSOR_SIZENS", SWIG_From_int((int)(wxCURSOR_SIZENS
)));
49470 PyDict_SetItemString(d
,"CURSOR_SIZENWSE", SWIG_From_int((int)(wxCURSOR_SIZENWSE
)));
49473 PyDict_SetItemString(d
,"CURSOR_SIZEWE", SWIG_From_int((int)(wxCURSOR_SIZEWE
)));
49476 PyDict_SetItemString(d
,"CURSOR_SIZING", SWIG_From_int((int)(wxCURSOR_SIZING
)));
49479 PyDict_SetItemString(d
,"CURSOR_SPRAYCAN", SWIG_From_int((int)(wxCURSOR_SPRAYCAN
)));
49482 PyDict_SetItemString(d
,"CURSOR_WAIT", SWIG_From_int((int)(wxCURSOR_WAIT
)));
49485 PyDict_SetItemString(d
,"CURSOR_WATCH", SWIG_From_int((int)(wxCURSOR_WATCH
)));
49488 PyDict_SetItemString(d
,"CURSOR_BLANK", SWIG_From_int((int)(wxCURSOR_BLANK
)));
49491 PyDict_SetItemString(d
,"CURSOR_DEFAULT", SWIG_From_int((int)(wxCURSOR_DEFAULT
)));
49494 PyDict_SetItemString(d
,"CURSOR_COPY_ARROW", SWIG_From_int((int)(wxCURSOR_COPY_ARROW
)));
49497 PyDict_SetItemString(d
,"CURSOR_ARROWWAIT", SWIG_From_int((int)(wxCURSOR_ARROWWAIT
)));
49500 PyDict_SetItemString(d
,"CURSOR_MAX", SWIG_From_int((int)(wxCURSOR_MAX
)));
49502 SWIG_addvarlink(SWIG_globals
,(char*)"DefaultPosition",_wrap_DefaultPosition_get
, _wrap_DefaultPosition_set
);
49503 SWIG_addvarlink(SWIG_globals
,(char*)"DefaultSize",_wrap_DefaultSize_get
, _wrap_DefaultSize_set
);
49505 PyDict_SetItemString(d
,"FromStart", SWIG_From_int((int)(wxFromStart
)));
49508 PyDict_SetItemString(d
,"FromCurrent", SWIG_From_int((int)(wxFromCurrent
)));
49511 PyDict_SetItemString(d
,"FromEnd", SWIG_From_int((int)(wxFromEnd
)));
49514 wxPyPtrTypeMap_Add("wxInputStream", "wxPyInputStream");
49517 wxPyPtrTypeMap_Add("wxFileSystemHandler", "wxPyFileSystemHandler");
49520 PyDict_SetItemString(d
,"IMAGE_ALPHA_TRANSPARENT", SWIG_From_int((int)(wxIMAGE_ALPHA_TRANSPARENT
)));
49523 PyDict_SetItemString(d
,"IMAGE_ALPHA_THRESHOLD", SWIG_From_int((int)(wxIMAGE_ALPHA_THRESHOLD
)));
49526 PyDict_SetItemString(d
,"IMAGE_ALPHA_OPAQUE", SWIG_From_int((int)(wxIMAGE_ALPHA_OPAQUE
)));
49528 SWIG_addvarlink(SWIG_globals
,(char*)"NullImage",_wrap_NullImage_get
, _wrap_NullImage_set
);
49529 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_FILENAME",_wrap_IMAGE_OPTION_FILENAME_get
, _wrap_IMAGE_OPTION_FILENAME_set
);
49530 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_BMP_FORMAT",_wrap_IMAGE_OPTION_BMP_FORMAT_get
, _wrap_IMAGE_OPTION_BMP_FORMAT_set
);
49531 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_CUR_HOTSPOT_X",_wrap_IMAGE_OPTION_CUR_HOTSPOT_X_get
, _wrap_IMAGE_OPTION_CUR_HOTSPOT_X_set
);
49532 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_CUR_HOTSPOT_Y",_wrap_IMAGE_OPTION_CUR_HOTSPOT_Y_get
, _wrap_IMAGE_OPTION_CUR_HOTSPOT_Y_set
);
49533 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_RESOLUTION",_wrap_IMAGE_OPTION_RESOLUTION_get
, _wrap_IMAGE_OPTION_RESOLUTION_set
);
49534 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_RESOLUTIONX",_wrap_IMAGE_OPTION_RESOLUTIONX_get
, _wrap_IMAGE_OPTION_RESOLUTIONX_set
);
49535 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_RESOLUTIONY",_wrap_IMAGE_OPTION_RESOLUTIONY_get
, _wrap_IMAGE_OPTION_RESOLUTIONY_set
);
49536 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_RESOLUTIONUNIT",_wrap_IMAGE_OPTION_RESOLUTIONUNIT_get
, _wrap_IMAGE_OPTION_RESOLUTIONUNIT_set
);
49537 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_QUALITY",_wrap_IMAGE_OPTION_QUALITY_get
, _wrap_IMAGE_OPTION_QUALITY_set
);
49539 PyDict_SetItemString(d
,"IMAGE_RESOLUTION_INCHES", SWIG_From_int((int)(wxIMAGE_RESOLUTION_INCHES
)));
49542 PyDict_SetItemString(d
,"IMAGE_RESOLUTION_CM", SWIG_From_int((int)(wxIMAGE_RESOLUTION_CM
)));
49544 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_BITSPERSAMPLE",_wrap_IMAGE_OPTION_BITSPERSAMPLE_get
, _wrap_IMAGE_OPTION_BITSPERSAMPLE_set
);
49545 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_SAMPLESPERPIXEL",_wrap_IMAGE_OPTION_SAMPLESPERPIXEL_get
, _wrap_IMAGE_OPTION_SAMPLESPERPIXEL_set
);
49546 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_COMPRESSION",_wrap_IMAGE_OPTION_COMPRESSION_get
, _wrap_IMAGE_OPTION_COMPRESSION_set
);
49547 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_IMAGEDESCRIPTOR",_wrap_IMAGE_OPTION_IMAGEDESCRIPTOR_get
, _wrap_IMAGE_OPTION_IMAGEDESCRIPTOR_set
);
49548 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_PNG_FORMAT",_wrap_IMAGE_OPTION_PNG_FORMAT_get
, _wrap_IMAGE_OPTION_PNG_FORMAT_set
);
49549 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_PNG_BITDEPTH",_wrap_IMAGE_OPTION_PNG_BITDEPTH_get
, _wrap_IMAGE_OPTION_PNG_BITDEPTH_set
);
49551 PyDict_SetItemString(d
,"PNG_TYPE_COLOUR", SWIG_From_int((int)(wxPNG_TYPE_COLOUR
)));
49554 PyDict_SetItemString(d
,"PNG_TYPE_GREY", SWIG_From_int((int)(wxPNG_TYPE_GREY
)));
49557 PyDict_SetItemString(d
,"PNG_TYPE_GREY_RED", SWIG_From_int((int)(wxPNG_TYPE_GREY_RED
)));
49560 PyDict_SetItemString(d
,"BMP_24BPP", SWIG_From_int((int)(wxBMP_24BPP
)));
49563 PyDict_SetItemString(d
,"BMP_8BPP", SWIG_From_int((int)(wxBMP_8BPP
)));
49566 PyDict_SetItemString(d
,"BMP_8BPP_GREY", SWIG_From_int((int)(wxBMP_8BPP_GREY
)));
49569 PyDict_SetItemString(d
,"BMP_8BPP_GRAY", SWIG_From_int((int)(wxBMP_8BPP_GRAY
)));
49572 PyDict_SetItemString(d
,"BMP_8BPP_RED", SWIG_From_int((int)(wxBMP_8BPP_RED
)));
49575 PyDict_SetItemString(d
,"BMP_8BPP_PALETTE", SWIG_From_int((int)(wxBMP_8BPP_PALETTE
)));
49578 PyDict_SetItemString(d
,"BMP_4BPP", SWIG_From_int((int)(wxBMP_4BPP
)));
49581 PyDict_SetItemString(d
,"BMP_1BPP", SWIG_From_int((int)(wxBMP_1BPP
)));
49584 PyDict_SetItemString(d
,"BMP_1BPP_BW", SWIG_From_int((int)(wxBMP_1BPP_BW
)));
49587 PyDict_SetItemString(d
,"QUANTIZE_INCLUDE_WINDOWS_COLOURS", SWIG_From_int((int)(wxQUANTIZE_INCLUDE_WINDOWS_COLOURS
)));
49590 PyDict_SetItemString(d
,"QUANTIZE_FILL_DESTINATION_IMAGE", SWIG_From_int((int)(wxQUANTIZE_FILL_DESTINATION_IMAGE
)));
49593 PyDict_SetItemString(d
,"EVENT_PROPAGATE_NONE", SWIG_From_int((int)(wxEVENT_PROPAGATE_NONE
)));
49596 PyDict_SetItemString(d
,"EVENT_PROPAGATE_MAX", SWIG_From_int((int)(wxEVENT_PROPAGATE_MAX
)));
49598 PyDict_SetItemString(d
, "wxEVT_NULL", PyInt_FromLong(wxEVT_NULL
));
49599 PyDict_SetItemString(d
, "wxEVT_FIRST", PyInt_FromLong(wxEVT_FIRST
));
49600 PyDict_SetItemString(d
, "wxEVT_USER_FIRST", PyInt_FromLong(wxEVT_USER_FIRST
));
49601 PyDict_SetItemString(d
, "wxEVT_COMMAND_BUTTON_CLICKED", PyInt_FromLong(wxEVT_COMMAND_BUTTON_CLICKED
));
49602 PyDict_SetItemString(d
, "wxEVT_COMMAND_CHECKBOX_CLICKED", PyInt_FromLong(wxEVT_COMMAND_CHECKBOX_CLICKED
));
49603 PyDict_SetItemString(d
, "wxEVT_COMMAND_CHOICE_SELECTED", PyInt_FromLong(wxEVT_COMMAND_CHOICE_SELECTED
));
49604 PyDict_SetItemString(d
, "wxEVT_COMMAND_LISTBOX_SELECTED", PyInt_FromLong(wxEVT_COMMAND_LISTBOX_SELECTED
));
49605 PyDict_SetItemString(d
, "wxEVT_COMMAND_LISTBOX_DOUBLECLICKED", PyInt_FromLong(wxEVT_COMMAND_LISTBOX_DOUBLECLICKED
));
49606 PyDict_SetItemString(d
, "wxEVT_COMMAND_CHECKLISTBOX_TOGGLED", PyInt_FromLong(wxEVT_COMMAND_CHECKLISTBOX_TOGGLED
));
49607 PyDict_SetItemString(d
, "wxEVT_COMMAND_MENU_SELECTED", PyInt_FromLong(wxEVT_COMMAND_MENU_SELECTED
));
49608 PyDict_SetItemString(d
, "wxEVT_COMMAND_TOOL_CLICKED", PyInt_FromLong(wxEVT_COMMAND_TOOL_CLICKED
));
49609 PyDict_SetItemString(d
, "wxEVT_COMMAND_SLIDER_UPDATED", PyInt_FromLong(wxEVT_COMMAND_SLIDER_UPDATED
));
49610 PyDict_SetItemString(d
, "wxEVT_COMMAND_RADIOBOX_SELECTED", PyInt_FromLong(wxEVT_COMMAND_RADIOBOX_SELECTED
));
49611 PyDict_SetItemString(d
, "wxEVT_COMMAND_RADIOBUTTON_SELECTED", PyInt_FromLong(wxEVT_COMMAND_RADIOBUTTON_SELECTED
));
49612 PyDict_SetItemString(d
, "wxEVT_COMMAND_SCROLLBAR_UPDATED", PyInt_FromLong(wxEVT_COMMAND_SCROLLBAR_UPDATED
));
49613 PyDict_SetItemString(d
, "wxEVT_COMMAND_VLBOX_SELECTED", PyInt_FromLong(wxEVT_COMMAND_VLBOX_SELECTED
));
49614 PyDict_SetItemString(d
, "wxEVT_COMMAND_COMBOBOX_SELECTED", PyInt_FromLong(wxEVT_COMMAND_COMBOBOX_SELECTED
));
49615 PyDict_SetItemString(d
, "wxEVT_COMMAND_TOOL_RCLICKED", PyInt_FromLong(wxEVT_COMMAND_TOOL_RCLICKED
));
49616 PyDict_SetItemString(d
, "wxEVT_COMMAND_TOOL_ENTER", PyInt_FromLong(wxEVT_COMMAND_TOOL_ENTER
));
49617 PyDict_SetItemString(d
, "wxEVT_LEFT_DOWN", PyInt_FromLong(wxEVT_LEFT_DOWN
));
49618 PyDict_SetItemString(d
, "wxEVT_LEFT_UP", PyInt_FromLong(wxEVT_LEFT_UP
));
49619 PyDict_SetItemString(d
, "wxEVT_MIDDLE_DOWN", PyInt_FromLong(wxEVT_MIDDLE_DOWN
));
49620 PyDict_SetItemString(d
, "wxEVT_MIDDLE_UP", PyInt_FromLong(wxEVT_MIDDLE_UP
));
49621 PyDict_SetItemString(d
, "wxEVT_RIGHT_DOWN", PyInt_FromLong(wxEVT_RIGHT_DOWN
));
49622 PyDict_SetItemString(d
, "wxEVT_RIGHT_UP", PyInt_FromLong(wxEVT_RIGHT_UP
));
49623 PyDict_SetItemString(d
, "wxEVT_MOTION", PyInt_FromLong(wxEVT_MOTION
));
49624 PyDict_SetItemString(d
, "wxEVT_ENTER_WINDOW", PyInt_FromLong(wxEVT_ENTER_WINDOW
));
49625 PyDict_SetItemString(d
, "wxEVT_LEAVE_WINDOW", PyInt_FromLong(wxEVT_LEAVE_WINDOW
));
49626 PyDict_SetItemString(d
, "wxEVT_LEFT_DCLICK", PyInt_FromLong(wxEVT_LEFT_DCLICK
));
49627 PyDict_SetItemString(d
, "wxEVT_MIDDLE_DCLICK", PyInt_FromLong(wxEVT_MIDDLE_DCLICK
));
49628 PyDict_SetItemString(d
, "wxEVT_RIGHT_DCLICK", PyInt_FromLong(wxEVT_RIGHT_DCLICK
));
49629 PyDict_SetItemString(d
, "wxEVT_SET_FOCUS", PyInt_FromLong(wxEVT_SET_FOCUS
));
49630 PyDict_SetItemString(d
, "wxEVT_KILL_FOCUS", PyInt_FromLong(wxEVT_KILL_FOCUS
));
49631 PyDict_SetItemString(d
, "wxEVT_CHILD_FOCUS", PyInt_FromLong(wxEVT_CHILD_FOCUS
));
49632 PyDict_SetItemString(d
, "wxEVT_MOUSEWHEEL", PyInt_FromLong(wxEVT_MOUSEWHEEL
));
49633 PyDict_SetItemString(d
, "wxEVT_NC_LEFT_DOWN", PyInt_FromLong(wxEVT_NC_LEFT_DOWN
));
49634 PyDict_SetItemString(d
, "wxEVT_NC_LEFT_UP", PyInt_FromLong(wxEVT_NC_LEFT_UP
));
49635 PyDict_SetItemString(d
, "wxEVT_NC_MIDDLE_DOWN", PyInt_FromLong(wxEVT_NC_MIDDLE_DOWN
));
49636 PyDict_SetItemString(d
, "wxEVT_NC_MIDDLE_UP", PyInt_FromLong(wxEVT_NC_MIDDLE_UP
));
49637 PyDict_SetItemString(d
, "wxEVT_NC_RIGHT_DOWN", PyInt_FromLong(wxEVT_NC_RIGHT_DOWN
));
49638 PyDict_SetItemString(d
, "wxEVT_NC_RIGHT_UP", PyInt_FromLong(wxEVT_NC_RIGHT_UP
));
49639 PyDict_SetItemString(d
, "wxEVT_NC_MOTION", PyInt_FromLong(wxEVT_NC_MOTION
));
49640 PyDict_SetItemString(d
, "wxEVT_NC_ENTER_WINDOW", PyInt_FromLong(wxEVT_NC_ENTER_WINDOW
));
49641 PyDict_SetItemString(d
, "wxEVT_NC_LEAVE_WINDOW", PyInt_FromLong(wxEVT_NC_LEAVE_WINDOW
));
49642 PyDict_SetItemString(d
, "wxEVT_NC_LEFT_DCLICK", PyInt_FromLong(wxEVT_NC_LEFT_DCLICK
));
49643 PyDict_SetItemString(d
, "wxEVT_NC_MIDDLE_DCLICK", PyInt_FromLong(wxEVT_NC_MIDDLE_DCLICK
));
49644 PyDict_SetItemString(d
, "wxEVT_NC_RIGHT_DCLICK", PyInt_FromLong(wxEVT_NC_RIGHT_DCLICK
));
49645 PyDict_SetItemString(d
, "wxEVT_CHAR", PyInt_FromLong(wxEVT_CHAR
));
49646 PyDict_SetItemString(d
, "wxEVT_CHAR_HOOK", PyInt_FromLong(wxEVT_CHAR_HOOK
));
49647 PyDict_SetItemString(d
, "wxEVT_NAVIGATION_KEY", PyInt_FromLong(wxEVT_NAVIGATION_KEY
));
49648 PyDict_SetItemString(d
, "wxEVT_KEY_DOWN", PyInt_FromLong(wxEVT_KEY_DOWN
));
49649 PyDict_SetItemString(d
, "wxEVT_KEY_UP", PyInt_FromLong(wxEVT_KEY_UP
));
49650 PyDict_SetItemString(d
, "wxEVT_HOTKEY", PyInt_FromLong(wxEVT_HOTKEY
));
49651 PyDict_SetItemString(d
, "wxEVT_SET_CURSOR", PyInt_FromLong(wxEVT_SET_CURSOR
));
49652 PyDict_SetItemString(d
, "wxEVT_SCROLL_TOP", PyInt_FromLong(wxEVT_SCROLL_TOP
));
49653 PyDict_SetItemString(d
, "wxEVT_SCROLL_BOTTOM", PyInt_FromLong(wxEVT_SCROLL_BOTTOM
));
49654 PyDict_SetItemString(d
, "wxEVT_SCROLL_LINEUP", PyInt_FromLong(wxEVT_SCROLL_LINEUP
));
49655 PyDict_SetItemString(d
, "wxEVT_SCROLL_LINEDOWN", PyInt_FromLong(wxEVT_SCROLL_LINEDOWN
));
49656 PyDict_SetItemString(d
, "wxEVT_SCROLL_PAGEUP", PyInt_FromLong(wxEVT_SCROLL_PAGEUP
));
49657 PyDict_SetItemString(d
, "wxEVT_SCROLL_PAGEDOWN", PyInt_FromLong(wxEVT_SCROLL_PAGEDOWN
));
49658 PyDict_SetItemString(d
, "wxEVT_SCROLL_THUMBTRACK", PyInt_FromLong(wxEVT_SCROLL_THUMBTRACK
));
49659 PyDict_SetItemString(d
, "wxEVT_SCROLL_THUMBRELEASE", PyInt_FromLong(wxEVT_SCROLL_THUMBRELEASE
));
49660 PyDict_SetItemString(d
, "wxEVT_SCROLL_ENDSCROLL", PyInt_FromLong(wxEVT_SCROLL_ENDSCROLL
));
49661 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_TOP", PyInt_FromLong(wxEVT_SCROLLWIN_TOP
));
49662 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_BOTTOM", PyInt_FromLong(wxEVT_SCROLLWIN_BOTTOM
));
49663 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_LINEUP", PyInt_FromLong(wxEVT_SCROLLWIN_LINEUP
));
49664 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_LINEDOWN", PyInt_FromLong(wxEVT_SCROLLWIN_LINEDOWN
));
49665 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_PAGEUP", PyInt_FromLong(wxEVT_SCROLLWIN_PAGEUP
));
49666 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_PAGEDOWN", PyInt_FromLong(wxEVT_SCROLLWIN_PAGEDOWN
));
49667 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_THUMBTRACK", PyInt_FromLong(wxEVT_SCROLLWIN_THUMBTRACK
));
49668 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_THUMBRELEASE", PyInt_FromLong(wxEVT_SCROLLWIN_THUMBRELEASE
));
49669 PyDict_SetItemString(d
, "wxEVT_SIZE", PyInt_FromLong(wxEVT_SIZE
));
49670 PyDict_SetItemString(d
, "wxEVT_MOVE", PyInt_FromLong(wxEVT_MOVE
));
49671 PyDict_SetItemString(d
, "wxEVT_CLOSE_WINDOW", PyInt_FromLong(wxEVT_CLOSE_WINDOW
));
49672 PyDict_SetItemString(d
, "wxEVT_END_SESSION", PyInt_FromLong(wxEVT_END_SESSION
));
49673 PyDict_SetItemString(d
, "wxEVT_QUERY_END_SESSION", PyInt_FromLong(wxEVT_QUERY_END_SESSION
));
49674 PyDict_SetItemString(d
, "wxEVT_ACTIVATE_APP", PyInt_FromLong(wxEVT_ACTIVATE_APP
));
49675 PyDict_SetItemString(d
, "wxEVT_POWER", PyInt_FromLong(wxEVT_POWER
));
49676 PyDict_SetItemString(d
, "wxEVT_ACTIVATE", PyInt_FromLong(wxEVT_ACTIVATE
));
49677 PyDict_SetItemString(d
, "wxEVT_CREATE", PyInt_FromLong(wxEVT_CREATE
));
49678 PyDict_SetItemString(d
, "wxEVT_DESTROY", PyInt_FromLong(wxEVT_DESTROY
));
49679 PyDict_SetItemString(d
, "wxEVT_SHOW", PyInt_FromLong(wxEVT_SHOW
));
49680 PyDict_SetItemString(d
, "wxEVT_ICONIZE", PyInt_FromLong(wxEVT_ICONIZE
));
49681 PyDict_SetItemString(d
, "wxEVT_MAXIMIZE", PyInt_FromLong(wxEVT_MAXIMIZE
));
49682 PyDict_SetItemString(d
, "wxEVT_MOUSE_CAPTURE_CHANGED", PyInt_FromLong(wxEVT_MOUSE_CAPTURE_CHANGED
));
49683 PyDict_SetItemString(d
, "wxEVT_PAINT", PyInt_FromLong(wxEVT_PAINT
));
49684 PyDict_SetItemString(d
, "wxEVT_ERASE_BACKGROUND", PyInt_FromLong(wxEVT_ERASE_BACKGROUND
));
49685 PyDict_SetItemString(d
, "wxEVT_NC_PAINT", PyInt_FromLong(wxEVT_NC_PAINT
));
49686 PyDict_SetItemString(d
, "wxEVT_PAINT_ICON", PyInt_FromLong(wxEVT_PAINT_ICON
));
49687 PyDict_SetItemString(d
, "wxEVT_MENU_OPEN", PyInt_FromLong(wxEVT_MENU_OPEN
));
49688 PyDict_SetItemString(d
, "wxEVT_MENU_CLOSE", PyInt_FromLong(wxEVT_MENU_CLOSE
));
49689 PyDict_SetItemString(d
, "wxEVT_MENU_HIGHLIGHT", PyInt_FromLong(wxEVT_MENU_HIGHLIGHT
));
49690 PyDict_SetItemString(d
, "wxEVT_CONTEXT_MENU", PyInt_FromLong(wxEVT_CONTEXT_MENU
));
49691 PyDict_SetItemString(d
, "wxEVT_SYS_COLOUR_CHANGED", PyInt_FromLong(wxEVT_SYS_COLOUR_CHANGED
));
49692 PyDict_SetItemString(d
, "wxEVT_DISPLAY_CHANGED", PyInt_FromLong(wxEVT_DISPLAY_CHANGED
));
49693 PyDict_SetItemString(d
, "wxEVT_SETTING_CHANGED", PyInt_FromLong(wxEVT_SETTING_CHANGED
));
49694 PyDict_SetItemString(d
, "wxEVT_QUERY_NEW_PALETTE", PyInt_FromLong(wxEVT_QUERY_NEW_PALETTE
));
49695 PyDict_SetItemString(d
, "wxEVT_PALETTE_CHANGED", PyInt_FromLong(wxEVT_PALETTE_CHANGED
));
49696 PyDict_SetItemString(d
, "wxEVT_DROP_FILES", PyInt_FromLong(wxEVT_DROP_FILES
));
49697 PyDict_SetItemString(d
, "wxEVT_DRAW_ITEM", PyInt_FromLong(wxEVT_DRAW_ITEM
));
49698 PyDict_SetItemString(d
, "wxEVT_MEASURE_ITEM", PyInt_FromLong(wxEVT_MEASURE_ITEM
));
49699 PyDict_SetItemString(d
, "wxEVT_COMPARE_ITEM", PyInt_FromLong(wxEVT_COMPARE_ITEM
));
49700 PyDict_SetItemString(d
, "wxEVT_INIT_DIALOG", PyInt_FromLong(wxEVT_INIT_DIALOG
));
49701 PyDict_SetItemString(d
, "wxEVT_IDLE", PyInt_FromLong(wxEVT_IDLE
));
49702 PyDict_SetItemString(d
, "wxEVT_UPDATE_UI", PyInt_FromLong(wxEVT_UPDATE_UI
));
49703 PyDict_SetItemString(d
, "wxEVT_SIZING", PyInt_FromLong(wxEVT_SIZING
));
49704 PyDict_SetItemString(d
, "wxEVT_MOVING", PyInt_FromLong(wxEVT_MOVING
));
49705 PyDict_SetItemString(d
, "wxEVT_HIBERNATE", PyInt_FromLong(wxEVT_HIBERNATE
));
49706 PyDict_SetItemString(d
, "wxEVT_COMMAND_LEFT_CLICK", PyInt_FromLong(wxEVT_COMMAND_LEFT_CLICK
));
49707 PyDict_SetItemString(d
, "wxEVT_COMMAND_LEFT_DCLICK", PyInt_FromLong(wxEVT_COMMAND_LEFT_DCLICK
));
49708 PyDict_SetItemString(d
, "wxEVT_COMMAND_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_RIGHT_CLICK
));
49709 PyDict_SetItemString(d
, "wxEVT_COMMAND_RIGHT_DCLICK", PyInt_FromLong(wxEVT_COMMAND_RIGHT_DCLICK
));
49710 PyDict_SetItemString(d
, "wxEVT_COMMAND_SET_FOCUS", PyInt_FromLong(wxEVT_COMMAND_SET_FOCUS
));
49711 PyDict_SetItemString(d
, "wxEVT_COMMAND_KILL_FOCUS", PyInt_FromLong(wxEVT_COMMAND_KILL_FOCUS
));
49712 PyDict_SetItemString(d
, "wxEVT_COMMAND_ENTER", PyInt_FromLong(wxEVT_COMMAND_ENTER
));
49714 PyDict_SetItemString(d
,"MOUSE_BTN_ANY", SWIG_From_int((int)(wxMOUSE_BTN_ANY
)));
49717 PyDict_SetItemString(d
,"MOUSE_BTN_NONE", SWIG_From_int((int)(wxMOUSE_BTN_NONE
)));
49720 PyDict_SetItemString(d
,"MOUSE_BTN_LEFT", SWIG_From_int((int)(wxMOUSE_BTN_LEFT
)));
49723 PyDict_SetItemString(d
,"MOUSE_BTN_MIDDLE", SWIG_From_int((int)(wxMOUSE_BTN_MIDDLE
)));
49726 PyDict_SetItemString(d
,"MOUSE_BTN_RIGHT", SWIG_From_int((int)(wxMOUSE_BTN_RIGHT
)));
49729 PyDict_SetItemString(d
,"UPDATE_UI_PROCESS_ALL", SWIG_From_int((int)(wxUPDATE_UI_PROCESS_ALL
)));
49732 PyDict_SetItemString(d
,"UPDATE_UI_PROCESS_SPECIFIED", SWIG_From_int((int)(wxUPDATE_UI_PROCESS_SPECIFIED
)));
49735 PyDict_SetItemString(d
,"NavigationKeyEvent_IsBackward", SWIG_From_int((int)(wxNavigationKeyEvent::IsBackward
)));
49738 PyDict_SetItemString(d
,"NavigationKeyEvent_IsForward", SWIG_From_int((int)(wxNavigationKeyEvent::IsForward
)));
49741 PyDict_SetItemString(d
,"NavigationKeyEvent_WinChange", SWIG_From_int((int)(wxNavigationKeyEvent::WinChange
)));
49744 PyDict_SetItemString(d
,"NavigationKeyEvent_FromTab", SWIG_From_int((int)(wxNavigationKeyEvent::FromTab
)));
49747 PyDict_SetItemString(d
,"IDLE_PROCESS_ALL", SWIG_From_int((int)(wxIDLE_PROCESS_ALL
)));
49750 PyDict_SetItemString(d
,"IDLE_PROCESS_SPECIFIED", SWIG_From_int((int)(wxIDLE_PROCESS_SPECIFIED
)));
49752 PyDict_SetItemString(d
, "wxEVT_DATE_CHANGED", PyInt_FromLong(wxEVT_DATE_CHANGED
));
49754 PyDict_SetItemString(d
,"PYAPP_ASSERT_SUPPRESS", SWIG_From_int((int)(wxPYAPP_ASSERT_SUPPRESS
)));
49757 PyDict_SetItemString(d
,"PYAPP_ASSERT_EXCEPTION", SWIG_From_int((int)(wxPYAPP_ASSERT_EXCEPTION
)));
49760 PyDict_SetItemString(d
,"PYAPP_ASSERT_DIALOG", SWIG_From_int((int)(wxPYAPP_ASSERT_DIALOG
)));
49763 PyDict_SetItemString(d
,"PYAPP_ASSERT_LOG", SWIG_From_int((int)(wxPYAPP_ASSERT_LOG
)));
49766 PyDict_SetItemString(d
,"PRINT_WINDOWS", SWIG_From_int((int)(wxPRINT_WINDOWS
)));
49769 PyDict_SetItemString(d
,"PRINT_POSTSCRIPT", SWIG_From_int((int)(wxPRINT_POSTSCRIPT
)));
49771 SWIG_addvarlink(SWIG_globals
,(char*)"NullAcceleratorTable",_wrap_NullAcceleratorTable_get
, _wrap_NullAcceleratorTable_set
);
49772 SWIG_addvarlink(SWIG_globals
,(char*)"PanelNameStr",_wrap_PanelNameStr_get
, _wrap_PanelNameStr_set
);
49774 PyDict_SetItemString(d
,"WINDOW_VARIANT_NORMAL", SWIG_From_int((int)(wxWINDOW_VARIANT_NORMAL
)));
49777 PyDict_SetItemString(d
,"WINDOW_VARIANT_SMALL", SWIG_From_int((int)(wxWINDOW_VARIANT_SMALL
)));
49780 PyDict_SetItemString(d
,"WINDOW_VARIANT_MINI", SWIG_From_int((int)(wxWINDOW_VARIANT_MINI
)));
49783 PyDict_SetItemString(d
,"WINDOW_VARIANT_LARGE", SWIG_From_int((int)(wxWINDOW_VARIANT_LARGE
)));
49786 PyDict_SetItemString(d
,"WINDOW_VARIANT_MAX", SWIG_From_int((int)(wxWINDOW_VARIANT_MAX
)));
49788 SWIG_addvarlink(SWIG_globals
,(char*)"DefaultValidator",_wrap_DefaultValidator_get
, _wrap_DefaultValidator_set
);
49789 SWIG_addvarlink(SWIG_globals
,(char*)"ControlNameStr",_wrap_ControlNameStr_get
, _wrap_ControlNameStr_set
);
49791 PyDict_SetItemString(d
,"FLEX_GROWMODE_NONE", SWIG_From_int((int)(wxFLEX_GROWMODE_NONE
)));
49794 PyDict_SetItemString(d
,"FLEX_GROWMODE_SPECIFIED", SWIG_From_int((int)(wxFLEX_GROWMODE_SPECIFIED
)));
49797 PyDict_SetItemString(d
,"FLEX_GROWMODE_ALL", SWIG_From_int((int)(wxFLEX_GROWMODE_ALL
)));
49799 SWIG_addvarlink(SWIG_globals
,(char*)"DefaultSpan",_wrap_DefaultSpan_get
, _wrap_DefaultSpan_set
);
49801 PyDict_SetItemString(d
,"Left", SWIG_From_int((int)(wxLeft
)));
49804 PyDict_SetItemString(d
,"Top", SWIG_From_int((int)(wxTop
)));
49807 PyDict_SetItemString(d
,"Right", SWIG_From_int((int)(wxRight
)));
49810 PyDict_SetItemString(d
,"Bottom", SWIG_From_int((int)(wxBottom
)));
49813 PyDict_SetItemString(d
,"Width", SWIG_From_int((int)(wxWidth
)));
49816 PyDict_SetItemString(d
,"Height", SWIG_From_int((int)(wxHeight
)));
49819 PyDict_SetItemString(d
,"Centre", SWIG_From_int((int)(wxCentre
)));
49822 PyDict_SetItemString(d
,"Center", SWIG_From_int((int)(wxCenter
)));
49825 PyDict_SetItemString(d
,"CentreX", SWIG_From_int((int)(wxCentreX
)));
49828 PyDict_SetItemString(d
,"CentreY", SWIG_From_int((int)(wxCentreY
)));
49831 PyDict_SetItemString(d
,"Unconstrained", SWIG_From_int((int)(wxUnconstrained
)));
49834 PyDict_SetItemString(d
,"AsIs", SWIG_From_int((int)(wxAsIs
)));
49837 PyDict_SetItemString(d
,"PercentOf", SWIG_From_int((int)(wxPercentOf
)));
49840 PyDict_SetItemString(d
,"Above", SWIG_From_int((int)(wxAbove
)));
49843 PyDict_SetItemString(d
,"Below", SWIG_From_int((int)(wxBelow
)));
49846 PyDict_SetItemString(d
,"LeftOf", SWIG_From_int((int)(wxLeftOf
)));
49849 PyDict_SetItemString(d
,"RightOf", SWIG_From_int((int)(wxRightOf
)));
49852 PyDict_SetItemString(d
,"SameAs", SWIG_From_int((int)(wxSameAs
)));
49855 PyDict_SetItemString(d
,"Absolute", SWIG_From_int((int)(wxAbsolute
)));
49858 // Initialize threading, some globals and such
49862 // Although these are defined in __version__ they need to be here too so
49863 // that an assert can be done to ensure that the wxPython and the wxWindows
49865 PyDict_SetItemString(d
,"MAJOR_VERSION", PyInt_FromLong((long)wxMAJOR_VERSION
));
49866 PyDict_SetItemString(d
,"MINOR_VERSION", PyInt_FromLong((long)wxMINOR_VERSION
));
49867 PyDict_SetItemString(d
,"RELEASE_VERSION", PyInt_FromLong((long)wxRELEASE_NUMBER
));