1 /* ----------------------------------------------------------------------------
2 * This file was automatically generated by SWIG (http://www.swig.org).
5 * This file is not intended to be easily readable and contains a number of
6 * coding conventions designed to improve portability and efficiency. Do not make
7 * changes to this file unless you know what you are doing--modify the SWIG
8 * interface file instead.
9 * ----------------------------------------------------------------------------- */
14 template<class T
> class SwigValueWrapper
{
17 SwigValueWrapper() : tt(0) { }
18 SwigValueWrapper(const SwigValueWrapper
<T
>& rhs
) : tt(new T(*rhs
.tt
)) { }
19 SwigValueWrapper(const T
& t
) : tt(new T(t
)) { }
20 ~SwigValueWrapper() { delete tt
; }
21 SwigValueWrapper
& operator=(const T
& t
) { delete tt
; tt
= new T(t
); return *this; }
22 operator T
&() const { return *tt
; }
23 T
*operator&() { return tt
; }
25 SwigValueWrapper
& operator=(const SwigValueWrapper
<T
>& rhs
);
30 #ifndef SWIG_TEMPLATE_DISAMBIGUATOR
31 # if defined(__SUNPRO_CC)
32 # define SWIG_TEMPLATE_DISAMBIGUATOR template
34 # define SWIG_TEMPLATE_DISAMBIGUATOR
41 /***********************************************************************
44 * This file contains generic CAPI SWIG runtime support for pointer
47 ************************************************************************/
49 /* This should only be incremented when either the layout of swig_type_info changes,
50 or for whatever reason, the runtime changes incompatibly */
51 #define SWIG_RUNTIME_VERSION "1"
53 /* define SWIG_TYPE_TABLE_NAME as "SWIG_TYPE_TABLE" */
54 #ifdef SWIG_TYPE_TABLE
55 #define SWIG_QUOTE_STRING(x) #x
56 #define SWIG_EXPAND_AND_QUOTE_STRING(x) SWIG_QUOTE_STRING(x)
57 #define SWIG_TYPE_TABLE_NAME SWIG_EXPAND_AND_QUOTE_STRING(SWIG_TYPE_TABLE)
59 #define SWIG_TYPE_TABLE_NAME
65 #if defined(__cplusplus) || (defined(__GNUC__) && !defined(__STRICT_ANSI__))
66 # define SWIGINLINE inline
73 You can use the SWIGRUNTIME and SWIGRUNTIMEINLINE macros for
74 creating a static or dynamic library from the swig runtime code.
75 In 99.9% of the cases, swig just needs to declare them as 'static'.
77 But only do this if is strictly necessary, ie, if you have problems
78 with your compiler or so.
81 #define SWIGRUNTIME static
83 #ifndef SWIGRUNTIMEINLINE
84 #define SWIGRUNTIMEINLINE SWIGRUNTIME SWIGINLINE
91 typedef void *(*swig_converter_func
)(void *);
92 typedef struct swig_type_info
*(*swig_dycast_func
)(void **);
94 typedef struct swig_type_info
{
96 swig_converter_func converter
;
99 swig_dycast_func dcast
;
100 struct swig_type_info
*next
;
101 struct swig_type_info
*prev
;
105 Compare two type names skipping the space characters, therefore
106 "char*" == "char *" and "Class<int>" == "Class<int >", etc.
108 Return 0 when the two name types are equivalent, as in
109 strncmp, but skipping ' '.
112 SWIG_TypeNameComp(const char *f1
, const char *l1
,
113 const char *f2
, const char *l2
) {
114 for (;(f1
!= l1
) && (f2
!= l2
); ++f1
, ++f2
) {
115 while ((*f1
== ' ') && (f1
!= l1
)) ++f1
;
116 while ((*f2
== ' ') && (f2
!= l2
)) ++f2
;
117 if (*f1
!= *f2
) return *f1
- *f2
;
119 return (l1
- f1
) - (l2
- f2
);
123 Check type equivalence in a name list like <name1>|<name2>|...
126 SWIG_TypeEquiv(const char *nb
, const char *tb
) {
128 const char* te
= tb
+ strlen(tb
);
130 while (!equiv
&& *ne
) {
131 for (nb
= ne
; *ne
; ++ne
) {
132 if (*ne
== '|') break;
134 equiv
= SWIG_TypeNameComp(nb
, ne
, tb
, te
) == 0;
141 Register a type mapping with the type-checking
143 SWIGRUNTIME swig_type_info
*
144 SWIG_TypeRegisterTL(swig_type_info
**tl
, swig_type_info
*ti
) {
145 swig_type_info
*tc
, *head
, *ret
, *next
;
146 /* Check to see if this type has already been registered */
149 /* check simple type equivalence */
150 int typeequiv
= (strcmp(tc
->name
, ti
->name
) == 0);
151 /* check full type equivalence, resolving typedefs */
153 /* only if tc is not a typedef (no '|' on it) */
154 if (tc
->str
&& ti
->str
&& !strstr(tc
->str
,"|")) {
155 typeequiv
= SWIG_TypeEquiv(ti
->str
,tc
->str
);
159 /* Already exists in the table. Just add additional types to the list */
160 if (ti
->clientdata
) tc
->clientdata
= ti
->clientdata
;
174 /* Build linked lists */
178 /* Patch up the rest of the links */
185 if (next
) next
->prev
= head
;
194 SWIGRUNTIME swig_type_info
*
195 SWIG_TypeCheck(const char *c
, swig_type_info
*ty
) {
197 if (!ty
) return 0; /* Void pointer */
198 s
= ty
->next
; /* First element always just a name */
200 if (strcmp(s
->name
,c
) == 0) {
201 if (s
== ty
->next
) return s
;
202 /* Move s to the top of the linked list */
203 s
->prev
->next
= s
->next
;
205 s
->next
->prev
= s
->prev
;
207 /* Insert s as second element in the list */
209 if (ty
->next
) ty
->next
->prev
= s
;
215 } while (s
&& (s
!= ty
->next
));
220 Cast a pointer up an inheritance hierarchy
222 SWIGRUNTIMEINLINE
void *
223 SWIG_TypeCast(swig_type_info
*ty
, void *ptr
) {
224 return ((!ty
) || (!ty
->converter
)) ? ptr
: (*ty
->converter
)(ptr
);
228 Dynamic pointer casting. Down an inheritance hierarchy
230 SWIGRUNTIME swig_type_info
*
231 SWIG_TypeDynamicCast(swig_type_info
*ty
, void **ptr
) {
232 swig_type_info
*lastty
= ty
;
233 if (!ty
|| !ty
->dcast
) return ty
;
234 while (ty
&& (ty
->dcast
)) {
235 ty
= (*ty
->dcast
)(ptr
);
242 Return the name associated with this type
244 SWIGRUNTIMEINLINE
const char *
245 SWIG_TypeName(const swig_type_info
*ty
) {
250 Return the pretty name associated with this type,
251 that is an unmangled type name in a form presentable to the user.
253 SWIGRUNTIME
const char *
254 SWIG_TypePrettyName(const swig_type_info
*type
) {
255 /* The "str" field contains the equivalent pretty names of the
256 type, separated by vertical-bar characters. We choose
257 to print the last name, as it is often (?) the most
259 if (type
->str
!= NULL
) {
260 const char *last_name
= type
->str
;
262 for (s
= type
->str
; *s
; s
++)
263 if (*s
== '|') last_name
= s
+1;
271 Search for a swig_type_info structure
273 SWIGRUNTIME swig_type_info
*
274 SWIG_TypeQueryTL(swig_type_info
*tl
, const char *name
) {
275 swig_type_info
*ty
= tl
;
277 if (ty
->str
&& (SWIG_TypeEquiv(ty
->str
,name
))) return ty
;
278 if (ty
->name
&& (strcmp(name
,ty
->name
) == 0)) return ty
;
285 Set the clientdata field for a type
288 SWIG_TypeClientDataTL(swig_type_info
*tl
, swig_type_info
*ti
, void *clientdata
) {
289 swig_type_info
*tc
, *equiv
;
290 if (ti
->clientdata
) return;
291 /* if (ti->clientdata == clientdata) return; */
292 ti
->clientdata
= clientdata
;
295 if (!equiv
->converter
) {
298 if ((strcmp(tc
->name
, equiv
->name
) == 0))
299 SWIG_TypeClientDataTL(tl
,tc
,clientdata
);
308 Pack binary data into a string
311 SWIG_PackData(char *c
, void *ptr
, size_t sz
) {
312 static char hex
[17] = "0123456789abcdef";
313 unsigned char *u
= (unsigned char *) ptr
;
314 const unsigned char *eu
= u
+ sz
;
315 register unsigned char uu
;
316 for (; u
!= eu
; ++u
) {
318 *(c
++) = hex
[(uu
& 0xf0) >> 4];
319 *(c
++) = hex
[uu
& 0xf];
325 Unpack binary data from a string
327 SWIGRUNTIME
const char *
328 SWIG_UnpackData(const char *c
, void *ptr
, size_t sz
) {
329 register unsigned char *u
= (unsigned char *) ptr
;
330 register const unsigned char *eu
= u
+ sz
;
331 for (; u
!= eu
; ++u
) {
332 register int d
= *(c
++);
333 register unsigned char uu
= 0;
334 if ((d
>= '0') && (d
<= '9'))
335 uu
= ((d
- '0') << 4);
336 else if ((d
>= 'a') && (d
<= 'f'))
337 uu
= ((d
- ('a'-10)) << 4);
341 if ((d
>= '0') && (d
<= '9'))
343 else if ((d
>= 'a') && (d
<= 'f'))
344 uu
|= (d
- ('a'-10));
353 This function will propagate the clientdata field of type to any new
354 swig_type_info structures that have been added into the list of
355 equivalent types. It is like calling SWIG_TypeClientData(type,
356 clientdata) a second time.
359 SWIG_PropagateClientDataTL(swig_type_info
*tl
, swig_type_info
*type
) {
360 swig_type_info
*equiv
= type
->next
;
362 if (!type
->clientdata
) return;
364 if (!equiv
->converter
) {
367 if ((strcmp(tc
->name
, equiv
->name
) == 0) && !tc
->clientdata
)
368 SWIG_TypeClientDataTL(tl
,tc
, type
->clientdata
);
377 Pack 'void *' into a string buffer.
380 SWIG_PackVoidPtr(char *buff
, void *ptr
, const char *name
, size_t bsz
) {
382 if ((2*sizeof(void *) + 2) > bsz
) return 0;
384 r
= SWIG_PackData(r
,&ptr
,sizeof(void *));
385 if (strlen(name
) + 1 > (bsz
- (r
- buff
))) return 0;
390 SWIGRUNTIME
const char *
391 SWIG_UnpackVoidPtr(const char *c
, void **ptr
, const char *name
) {
393 if (strcmp(c
,"NULL") == 0) {
400 return SWIG_UnpackData(++c
,ptr
,sizeof(void *));
404 SWIG_PackDataName(char *buff
, void *ptr
, size_t sz
, const char *name
, size_t bsz
) {
406 size_t lname
= (name
? strlen(name
) : 0);
407 if ((2*sz
+ 2 + lname
) > bsz
) return 0;
409 r
= SWIG_PackData(r
,ptr
,sz
);
411 strncpy(r
,name
,lname
+1);
418 SWIGRUNTIME
const char *
419 SWIG_UnpackDataName(const char *c
, void *ptr
, size_t sz
, const char *name
) {
421 if (strcmp(c
,"NULL") == 0) {
428 return SWIG_UnpackData(++c
,ptr
,sz
);
435 /***********************************************************************
438 * This file contains generic SWIG runtime support for pointer
439 * type checking as well as a few commonly used macros to control
442 * Author : David Beazley (beazley@cs.uchicago.edu)
444 * Copyright (c) 1999-2000, The University of Chicago
446 * This file may be freely redistributed without license or fee provided
447 * this copyright message remains intact.
448 ************************************************************************/
451 #if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
452 # if !defined(STATIC_LINKED)
453 # define SWIGEXPORT(a) __declspec(dllexport) a
455 # define SWIGEXPORT(a) a
458 # define SWIGEXPORT(a) a
466 /*************************************************************************/
469 /* The static type info list */
471 static swig_type_info
*swig_type_list
= 0;
472 static swig_type_info
**swig_type_list_handle
= &swig_type_list
;
475 /* Register a type mapping with the type-checking */
476 static swig_type_info
*
477 SWIG_TypeRegister(swig_type_info
*ti
) {
478 return SWIG_TypeRegisterTL(swig_type_list_handle
, ti
);
481 /* Search for a swig_type_info structure */
482 static swig_type_info
*
483 SWIG_TypeQuery(const char *name
) {
484 return SWIG_TypeQueryTL(*swig_type_list_handle
, name
);
487 /* Set the clientdata field for a type */
489 SWIG_TypeClientData(swig_type_info
*ti
, void *clientdata
) {
490 SWIG_TypeClientDataTL(*swig_type_list_handle
, ti
, clientdata
);
493 /* This function will propagate the clientdata field of type to
494 * any new swig_type_info structures that have been added into the list
495 * of equivalent types. It is like calling
496 * SWIG_TypeClientData(type, clientdata) a second time.
499 SWIG_PropagateClientData(swig_type_info
*type
) {
500 SWIG_PropagateClientDataTL(*swig_type_list_handle
, type
);
507 /* -----------------------------------------------------------------------------
508 * SWIG API. Portion that goes into the runtime
509 * ----------------------------------------------------------------------------- */
515 /* -----------------------------------------------------------------------------
516 * for internal method declarations
517 * ----------------------------------------------------------------------------- */
520 #define SWIGINTERN static
523 #ifndef SWIGINTERNSHORT
525 #define SWIGINTERNSHORT static inline
527 #define SWIGINTERNSHORT static
528 #endif /* __cplusplus */
533 Exception handling in wrappers
535 #define SWIG_fail goto fail
536 #define SWIG_arg_fail(arg) SWIG_Python_ArgFail(arg)
537 #define SWIG_append_errmsg(msg) SWIG_Python_AddErrMesg(msg,0)
538 #define SWIG_preppend_errmsg(msg) SWIG_Python_AddErrMesg(msg,1)
539 #define SWIG_type_error(type,obj) SWIG_Python_TypeError(type,obj)
540 #define SWIG_null_ref(type) SWIG_Python_NullRef(type)
545 #define SWIG_contract_assert(expr, msg) \
546 if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, (char *) msg ); goto fail; } else
548 /* -----------------------------------------------------------------------------
549 * Constant declarations
550 * ----------------------------------------------------------------------------- */
553 #define SWIG_PY_INT 1
554 #define SWIG_PY_FLOAT 2
555 #define SWIG_PY_STRING 3
556 #define SWIG_PY_POINTER 4
557 #define SWIG_PY_BINARY 5
559 /* Constant information structure */
560 typedef struct swig_const_info
{
566 swig_type_info
**ptype
;
570 /* -----------------------------------------------------------------------------
571 * Alloc. memory flags
572 * ----------------------------------------------------------------------------- */
573 #define SWIG_OLDOBJ 1
574 #define SWIG_NEWOBJ SWIG_OLDOBJ + 1
575 #define SWIG_PYSTR SWIG_NEWOBJ + 1
582 /***********************************************************************
585 * This file contains the runtime support for Python modules
586 * and includes code for managing global variables and pointer
589 * Author : David Beazley (beazley@cs.uchicago.edu)
590 ************************************************************************/
592 /* Common SWIG API */
593 #define SWIG_ConvertPtr(obj, pp, type, flags) SWIG_Python_ConvertPtr(obj, pp, type, flags)
594 #define SWIG_NewPointerObj(p, type, flags) SWIG_Python_NewPointerObj(p, type, flags)
595 #define SWIG_MustGetPtr(p, type, argnum, flags) SWIG_Python_MustGetPtr(p, type, argnum, flags)
598 /* Python-specific SWIG API */
599 #define SWIG_ConvertPacked(obj, ptr, sz, ty, flags) SWIG_Python_ConvertPacked(obj, ptr, sz, ty, flags)
600 #define SWIG_NewPackedObj(ptr, sz, type) SWIG_Python_NewPackedObj(ptr, sz, type)
603 /* -----------------------------------------------------------------------------
604 * Pointer declarations
605 * ----------------------------------------------------------------------------- */
607 Use SWIG_NO_COBJECT_TYPES to force the use of strings to represent
608 C/C++ pointers in the python side. Very useful for debugging, but
611 #if !defined(SWIG_NO_COBJECT_TYPES) && !defined(SWIG_COBJECT_TYPES)
612 # define SWIG_COBJECT_TYPES
615 /* Flags for pointer conversion */
616 #define SWIG_POINTER_EXCEPTION 0x1
617 #define SWIG_POINTER_DISOWN 0x2
624 /* -----------------------------------------------------------------------------
625 * Create a new pointer string
626 * ----------------------------------------------------------------------------- */
628 #ifndef SWIG_BUFFER_SIZE
629 #define SWIG_BUFFER_SIZE 1024
632 #if defined(SWIG_COBJECT_TYPES)
633 #if !defined(SWIG_COBJECT_PYTHON)
634 /* -----------------------------------------------------------------------------
635 * Implements a simple Swig Object type, and use it instead of PyCObject
636 * ----------------------------------------------------------------------------- */
644 /* Declarations for objects of type PySwigObject */
647 PySwigObject_print(PySwigObject
*v
, FILE *fp
, int flags
)
649 char result
[SWIG_BUFFER_SIZE
];
650 if (SWIG_PackVoidPtr(result
, v
->ptr
, v
->desc
, sizeof(result
))) {
651 fputs("<Swig Object at ", fp
); fputs(result
, fp
); fputs(">", fp
);
658 SWIGRUNTIME PyObject
*
659 PySwigObject_repr(PySwigObject
*v
)
661 char result
[SWIG_BUFFER_SIZE
];
662 return SWIG_PackVoidPtr(result
, v
->ptr
, v
->desc
, sizeof(result
)) ?
663 PyString_FromFormat("<Swig Object at %s>", result
) : 0;
666 SWIGRUNTIME PyObject
*
667 PySwigObject_str(PySwigObject
*v
)
669 char result
[SWIG_BUFFER_SIZE
];
670 return SWIG_PackVoidPtr(result
, v
->ptr
, v
->desc
, sizeof(result
)) ?
671 PyString_FromString(result
) : 0;
674 SWIGRUNTIME PyObject
*
675 PySwigObject_long(PySwigObject
*v
)
677 return PyLong_FromUnsignedLong((unsigned long) v
->ptr
);
680 SWIGRUNTIME PyObject
*
681 PySwigObject_oct(PySwigObject
*v
)
684 unsigned long x
= (unsigned long)v
->ptr
;
688 PyOS_snprintf(buf
, sizeof(buf
), "0%lo", x
);
689 return PyString_FromString(buf
);
692 SWIGRUNTIME PyObject
*
693 PySwigObject_hex(PySwigObject
*v
)
696 PyOS_snprintf(buf
, sizeof(buf
), "0x%lx", (unsigned long)v
->ptr
);
697 return PyString_FromString(buf
);
701 PySwigObject_compare(PySwigObject
*v
, PySwigObject
*w
)
703 int c
= strcmp(v
->desc
, w
->desc
);
709 return (i
< j
) ? -1 : (i
> j
) ? 1 : 0;
714 PySwigObject_dealloc(PySwigObject
*self
)
719 SWIGRUNTIME PyTypeObject
*
720 PySwigObject_GetType() {
721 static char PySwigObject_Type__doc__
[] =
722 "Swig object carries a C/C++ instance pointer";
724 static PyNumberMethods PySwigObject_as_number
= {
725 (binaryfunc
)0, /*nb_add*/
726 (binaryfunc
)0, /*nb_subtract*/
727 (binaryfunc
)0, /*nb_multiply*/
728 (binaryfunc
)0, /*nb_divide*/
729 (binaryfunc
)0, /*nb_remainder*/
730 (binaryfunc
)0, /*nb_divmod*/
731 (ternaryfunc
)0,/*nb_power*/
732 (unaryfunc
)0, /*nb_negative*/
733 (unaryfunc
)0, /*nb_positive*/
734 (unaryfunc
)0, /*nb_absolute*/
735 (inquiry
)0, /*nb_nonzero*/
742 (coercion
)0, /*nb_coerce*/
743 (unaryfunc
)PySwigObject_long
, /*nb_int*/
744 (unaryfunc
)PySwigObject_long
, /*nb_long*/
745 (unaryfunc
)0, /*nb_float*/
746 (unaryfunc
)PySwigObject_oct
, /*nb_oct*/
747 (unaryfunc
)PySwigObject_hex
, /*nb_hex*/
748 #if PY_VERSION_HEX >= 0x02000000
749 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_true_divide */
753 static int type_init
= 0;
754 static PyTypeObject PySwigObject_Type
;
758 PyObject_HEAD_INIT(&PyType_Type
)
760 "PySwigObject", /*tp_name*/
761 sizeof(PySwigObject
), /*tp_basicsize*/
764 (destructor
)PySwigObject_dealloc
, /*tp_dealloc*/
765 (printfunc
)PySwigObject_print
, /*tp_print*/
766 (getattrfunc
)0, /*tp_getattr*/
767 (setattrfunc
)0, /*tp_setattr*/
768 (cmpfunc
)PySwigObject_compare
, /*tp_compare*/
769 (reprfunc
)PySwigObject_repr
, /*tp_repr*/
770 &PySwigObject_as_number
, /*tp_as_number*/
771 0, /*tp_as_sequence*/
773 (hashfunc
)0, /*tp_hash*/
774 (ternaryfunc
)0, /*tp_call*/
775 (reprfunc
)PySwigObject_str
, /*tp_str*/
776 /* Space for future expansion */
778 PySwigObject_Type__doc__
, /* Documentation string */
779 #if PY_VERSION_HEX >= 0x02000000
783 #if PY_VERSION_HEX >= 0x02010000
784 0, /* tp_richcompare */
785 0, /* tp_weaklistoffset */
787 #if PY_VERSION_HEX >= 0x02020000
788 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
790 #if PY_VERSION_HEX >= 0x02030000
794 0,0,0,0 /* tp_alloc -> tp_next */
798 PySwigObject_Type
= tmp
;
802 return &PySwigObject_Type
;
805 SWIGRUNTIME PyObject
*
806 PySwigObject_FromVoidPtrAndDesc(void *ptr
, const char *desc
)
808 PySwigObject
*self
= PyObject_NEW(PySwigObject
, PySwigObject_GetType());
809 if (self
== NULL
) return NULL
;
812 return (PyObject
*)self
;
815 SWIGRUNTIMEINLINE
void *
816 PySwigObject_AsVoidPtr(PyObject
*self
)
818 return ((PySwigObject
*)self
)->ptr
;
821 SWIGRUNTIMEINLINE
const char *
822 PySwigObject_GetDesc(PyObject
*self
)
824 return ((PySwigObject
*)self
)->desc
;
827 SWIGRUNTIMEINLINE
int
828 PySwigObject_Check(PyObject
*op
) {
829 return ((op
)->ob_type
== PySwigObject_GetType())
830 || (strcmp((op
)->ob_type
->tp_name
,"PySwigObject") == 0);
833 /* -----------------------------------------------------------------------------
834 * Implements a simple Swig Packed type, and use it instead of string
835 * ----------------------------------------------------------------------------- */
845 PySwigPacked_print(PySwigPacked
*v
, FILE *fp
, int flags
)
847 char result
[SWIG_BUFFER_SIZE
];
848 fputs("<Swig Packed ", fp
);
849 if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))) {
858 SWIGRUNTIME PyObject
*
859 PySwigPacked_repr(PySwigPacked
*v
)
861 char result
[SWIG_BUFFER_SIZE
];
862 if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))) {
863 return PyString_FromFormat("<Swig Packed at %s%s>", result
, v
->desc
);
865 return PyString_FromFormat("<Swig Packed %s>", v
->desc
);
869 SWIGRUNTIME PyObject
*
870 PySwigPacked_str(PySwigPacked
*v
)
872 char result
[SWIG_BUFFER_SIZE
];
873 if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))){
874 return PyString_FromFormat("%s%s", result
, v
->desc
);
876 return PyString_FromFormat("%s", v
->desc
);
881 PySwigPacked_compare(PySwigPacked
*v
, PySwigPacked
*w
)
883 int c
= strcmp(v
->desc
, w
->desc
);
889 int s
= (i
< j
) ? -1 : (i
> j
) ? 1 : 0;
890 return s
? s
: strncmp((char *)v
->pack
, (char *)w
->pack
, 2*v
->size
);
895 PySwigPacked_dealloc(PySwigPacked
*self
)
901 SWIGRUNTIME PyTypeObject
*
902 PySwigPacked_GetType() {
903 static char PySwigPacked_Type__doc__
[] =
904 "Swig object carries a C/C++ instance pointer";
905 static int type_init
= 0;
907 static PyTypeObject PySwigPacked_Type
;
910 PyObject_HEAD_INIT(&PyType_Type
)
912 "PySwigPacked", /*tp_name*/
913 sizeof(PySwigPacked
), /*tp_basicsize*/
916 (destructor
)PySwigPacked_dealloc
, /*tp_dealloc*/
917 (printfunc
)PySwigPacked_print
, /*tp_print*/
918 (getattrfunc
)0, /*tp_getattr*/
919 (setattrfunc
)0, /*tp_setattr*/
920 (cmpfunc
)PySwigPacked_compare
, /*tp_compare*/
921 (reprfunc
)PySwigPacked_repr
, /*tp_repr*/
923 0, /*tp_as_sequence*/
925 (hashfunc
)0, /*tp_hash*/
926 (ternaryfunc
)0, /*tp_call*/
927 (reprfunc
)PySwigPacked_str
, /*tp_str*/
928 /* Space for future expansion */
930 PySwigPacked_Type__doc__
, /* Documentation string */
931 #if PY_VERSION_HEX >= 0x02000000
935 #if PY_VERSION_HEX >= 0x02010000
936 0, /* tp_richcompare */
937 0, /* tp_weaklistoffset */
939 #if PY_VERSION_HEX >= 0x02020000
940 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
942 #if PY_VERSION_HEX >= 0x02030000
946 0,0,0,0 /* tp_alloc -> tp_next */
950 PySwigPacked_Type
= tmp
;
956 return &PySwigPacked_Type
;
959 SWIGRUNTIME PyObject
*
960 PySwigPacked_FromDataAndDesc(void *ptr
, size_t size
, const char *desc
)
962 PySwigPacked
*self
= PyObject_NEW(PySwigPacked
, PySwigPacked_GetType());
966 void *pack
= malloc(size
);
967 memcpy(pack
, ptr
, size
);
971 return (PyObject
*) self
;
975 SWIGRUNTIMEINLINE
const char *
976 PySwigPacked_UnpackData(PyObject
*obj
, void *ptr
, size_t size
)
978 PySwigPacked
*self
= (PySwigPacked
*)obj
;
979 if (self
->size
!= size
) return 0;
980 memcpy(ptr
, self
->pack
, size
);
984 SWIGRUNTIMEINLINE
const char *
985 PySwigPacked_GetDesc(PyObject
*self
)
987 return ((PySwigPacked
*)self
)->desc
;
990 SWIGRUNTIMEINLINE
int
991 PySwigPacked_Check(PyObject
*op
) {
992 return ((op
)->ob_type
== PySwigPacked_GetType())
993 || (strcmp((op
)->ob_type
->tp_name
,"PySwigPacked") == 0);
997 /* -----------------------------------------------------------------------------
998 * Use the old Python PyCObject instead of PySwigObject
999 * ----------------------------------------------------------------------------- */
1001 #define PySwigObject_GetDesc(obj) PyCObject_GetDesc(obj)
1002 #define PySwigObject_Check(obj) PyCObject_Check(obj)
1003 #define PySwigObject_AsVoidPtr(obj) PyCObject_AsVoidPtr(obj)
1004 #define PySwigObject_FromVoidPtrAndDesc(p, d) PyCObject_FromVoidPtrAndDesc(p, d, NULL)
1010 /* -----------------------------------------------------------------------------
1011 * errors manipulation
1012 * ----------------------------------------------------------------------------- */
1015 SWIG_Python_TypeError(const char *type
, PyObject
*obj
)
1018 #if defined(SWIG_COBJECT_TYPES)
1019 if (PySwigObject_Check(obj
)) {
1020 const char *otype
= (const char *) PySwigObject_GetDesc(obj
);
1022 PyErr_Format(PyExc_TypeError
, "a '%s' is expected, 'PySwigObject(%s)' is received",
1029 const char *otype
= (obj
? obj
->ob_type
->tp_name
: 0);
1031 PyObject
*str
= PyObject_Str(obj
);
1032 const char *cstr
= str
? PyString_AsString(str
) : 0;
1034 PyErr_Format(PyExc_TypeError
, "a '%s' is expected, '%s(%s)' is received",
1037 PyErr_Format(PyExc_TypeError
, "a '%s' is expected, '%s' is received",
1044 PyErr_Format(PyExc_TypeError
, "a '%s' is expected", type
);
1046 PyErr_Format(PyExc_TypeError
, "unexpected type is received");
1050 SWIGRUNTIMEINLINE
void
1051 SWIG_Python_NullRef(const char *type
)
1054 PyErr_Format(PyExc_TypeError
, "null reference of type '%s' was received",type
);
1056 PyErr_Format(PyExc_TypeError
, "null reference was received");
1061 SWIG_Python_AddErrMesg(const char* mesg
, int infront
)
1063 if (PyErr_Occurred()) {
1065 PyObject
*value
= 0;
1066 PyObject
*traceback
= 0;
1067 PyErr_Fetch(&type
, &value
, &traceback
);
1069 PyObject
*old_str
= PyObject_Str(value
);
1073 PyErr_Format(type
, "%s %s", mesg
, PyString_AsString(old_str
));
1075 PyErr_Format(type
, "%s %s", PyString_AsString(old_str
), mesg
);
1086 SWIG_Python_ArgFail(int argnum
)
1088 if (PyErr_Occurred()) {
1089 /* add information about failing argument */
1091 sprintf(mesg
, "argument number %d:", argnum
);
1092 return SWIG_Python_AddErrMesg(mesg
, 1);
1099 /* -----------------------------------------------------------------------------
1100 * pointers/data manipulation
1101 * ----------------------------------------------------------------------------- */
1103 /* Convert a pointer value */
1105 SWIG_Python_ConvertPtr(PyObject
*obj
, void **ptr
, swig_type_info
*ty
, int flags
) {
1108 static PyObject
*SWIG_this
= 0;
1110 PyObject
*pyobj
= 0;
1114 if (obj
== Py_None
) {
1119 #ifdef SWIG_COBJECT_TYPES
1120 if (!(PySwigObject_Check(obj
))) {
1122 SWIG_this
= PyString_FromString("this");
1124 obj
= PyObject_GetAttr(obj
,SWIG_this
);
1126 if (!obj
) goto type_error
;
1127 if (!PySwigObject_Check(obj
)) {
1132 vptr
= PySwigObject_AsVoidPtr(obj
);
1133 c
= (const char *) PySwigObject_GetDesc(obj
);
1134 if (newref
) { Py_DECREF(obj
); }
1137 if (!(PyString_Check(obj
))) {
1139 SWIG_this
= PyString_FromString("this");
1141 obj
= PyObject_GetAttr(obj
,SWIG_this
);
1143 if (!obj
) goto type_error
;
1144 if (!PyString_Check(obj
)) {
1149 c
= PyString_AS_STRING(obj
);
1150 /* Pointer values must start with leading underscore */
1151 c
= SWIG_UnpackVoidPtr(c
, &vptr
, ty
->name
);
1152 if (newref
) { Py_DECREF(obj
); }
1153 if (!c
) goto type_error
;
1159 tc
= SWIG_TypeCheck(c
,ty
);
1160 if (!tc
) goto type_error
;
1161 *ptr
= SWIG_TypeCast(tc
,vptr
);
1166 if ((pyobj
) && (flags
& SWIG_POINTER_DISOWN
)) {
1167 PyObject_SetAttrString(pyobj
,(char*)"thisown",Py_False
);
1173 if (pyobj
&& !obj
) {
1175 if (PyCFunction_Check(obj
)) {
1176 /* here we get the method pointer for callbacks */
1177 char *doc
= (((PyCFunctionObject
*)obj
) -> m_ml
-> ml_doc
);
1178 c
= doc
? strstr(doc
, "swig_ptr: ") : 0;
1180 c
= SWIG_UnpackVoidPtr(c
+ 10, &vptr
, ty
->name
);
1181 if (!c
) goto type_error
;
1186 if (flags
& SWIG_POINTER_EXCEPTION
) {
1188 SWIG_Python_TypeError(SWIG_TypePrettyName(ty
), obj
);
1190 SWIG_Python_TypeError("C/C++ pointer", obj
);
1196 /* Convert a pointer value, signal an exception on a type mismatch */
1198 SWIG_Python_MustGetPtr(PyObject
*obj
, swig_type_info
*ty
, int argnum
, int flags
) {
1200 if (SWIG_Python_ConvertPtr(obj
, &result
, ty
, flags
) == -1) {
1202 if (flags
& SWIG_POINTER_EXCEPTION
) {
1203 SWIG_Python_TypeError(SWIG_TypePrettyName(ty
), obj
);
1204 SWIG_Python_ArgFail(argnum
);
1210 /* Convert a packed value value */
1212 SWIG_Python_ConvertPacked(PyObject
*obj
, void *ptr
, size_t sz
, swig_type_info
*ty
, int flags
) {
1216 #if defined(SWIG_COBJECT_TYPES) && !defined(SWIG_COBJECT_PYTHON)
1217 c
= PySwigPacked_UnpackData(obj
, ptr
, sz
);
1219 if ((!obj
) || (!PyString_Check(obj
))) goto type_error
;
1220 c
= PyString_AS_STRING(obj
);
1221 /* Pointer values must start with leading underscore */
1222 c
= SWIG_UnpackDataName(c
, ptr
, sz
, ty
->name
);
1224 if (!c
) goto type_error
;
1226 tc
= SWIG_TypeCheck(c
,ty
);
1227 if (!tc
) goto type_error
;
1233 if (flags
& SWIG_POINTER_EXCEPTION
) {
1235 SWIG_Python_TypeError(SWIG_TypePrettyName(ty
), obj
);
1237 SWIG_Python_TypeError("C/C++ packed data", obj
);
1243 /* Create a new array object */
1244 SWIGRUNTIME PyObject
*
1245 SWIG_Python_NewPointerObj(void *ptr
, swig_type_info
*type
, int own
) {
1251 #ifdef SWIG_COBJECT_TYPES
1252 robj
= PySwigObject_FromVoidPtrAndDesc((void *) ptr
, (char *)type
->name
);
1255 char result
[SWIG_BUFFER_SIZE
];
1256 robj
= SWIG_PackVoidPtr(result
, ptr
, type
->name
, sizeof(result
)) ?
1257 PyString_FromString(result
) : 0;
1260 if (!robj
|| (robj
== Py_None
)) return robj
;
1261 if (type
->clientdata
) {
1263 PyObject
*args
= Py_BuildValue((char*)"(O)", robj
);
1265 inst
= PyObject_CallObject((PyObject
*) type
->clientdata
, args
);
1269 PyObject_SetAttrString(inst
,(char*)"thisown",Py_True
);
1277 SWIGRUNTIME PyObject
*
1278 SWIG_Python_NewPackedObj(void *ptr
, size_t sz
, swig_type_info
*type
) {
1284 #if defined(SWIG_COBJECT_TYPES) && !defined(SWIG_COBJECT_PYTHON)
1285 robj
= PySwigPacked_FromDataAndDesc((void *) ptr
, sz
, (char *)type
->name
);
1288 char result
[SWIG_BUFFER_SIZE
];
1289 robj
= SWIG_PackDataName(result
, ptr
, sz
, type
->name
, sizeof(result
)) ?
1290 PyString_FromString(result
) : 0;
1296 /* -----------------------------------------------------------------------------*
1298 * -----------------------------------------------------------------------------*/
1300 #ifdef SWIG_LINK_RUNTIME
1301 void *SWIG_ReturnGlobalTypeList(void *);
1304 SWIGRUNTIME swig_type_info
**
1305 SWIG_Python_GetTypeListHandle() {
1306 static void *type_pointer
= (void *)0;
1307 /* first check if module already created */
1308 if (!type_pointer
) {
1309 #ifdef SWIG_LINK_RUNTIME
1310 type_pointer
= SWIG_ReturnGlobalTypeList((void *)0);
1312 type_pointer
= PyCObject_Import((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION
,
1313 (char*)"type_pointer" SWIG_TYPE_TABLE_NAME
);
1314 if (PyErr_Occurred()) {
1316 type_pointer
= (void *)0;
1320 return (swig_type_info
**) type_pointer
;
1324 Search for a swig_type_info structure
1326 SWIGRUNTIMEINLINE swig_type_info
*
1327 SWIG_Python_GetTypeList() {
1328 swig_type_info
**tlh
= SWIG_Python_GetTypeListHandle();
1329 return tlh
? *tlh
: (swig_type_info
*)0;
1332 #define SWIG_Runtime_GetTypeList SWIG_Python_GetTypeList
1339 /* -------- TYPES TABLE (BEGIN) -------- */
1341 #define SWIGTYPE_p_wxLayoutConstraints swig_types[0]
1342 #define SWIGTYPE_p_wxRealPoint swig_types[1]
1343 #define SWIGTYPE_p_wxSizerItem swig_types[2]
1344 #define SWIGTYPE_p_wxGBSizerItem swig_types[3]
1345 #define SWIGTYPE_p_wxScrollEvent swig_types[4]
1346 #define SWIGTYPE_p_wxEventLoop swig_types[5]
1347 #define SWIGTYPE_p_wxIndividualLayoutConstraint swig_types[6]
1348 #define SWIGTYPE_p_wxSizer swig_types[7]
1349 #define SWIGTYPE_p_wxBoxSizer swig_types[8]
1350 #define SWIGTYPE_p_wxStaticBoxSizer swig_types[9]
1351 #define SWIGTYPE_p_wxGridBagSizer swig_types[10]
1352 #define SWIGTYPE_p_wxAcceleratorEntry swig_types[11]
1353 #define SWIGTYPE_p_wxUpdateUIEvent swig_types[12]
1354 #define SWIGTYPE_p_wxEvent swig_types[13]
1355 #define SWIGTYPE_p_wxMenu swig_types[14]
1356 #define SWIGTYPE_p_wxGridSizer swig_types[15]
1357 #define SWIGTYPE_p_wxFlexGridSizer swig_types[16]
1358 #define SWIGTYPE_p_wxInitDialogEvent swig_types[17]
1359 #define SWIGTYPE_p_wxItemContainer swig_types[18]
1360 #define SWIGTYPE_p_wxNcPaintEvent swig_types[19]
1361 #define SWIGTYPE_p_wxPaintEvent swig_types[20]
1362 #define SWIGTYPE_p_wxSysColourChangedEvent swig_types[21]
1363 #define SWIGTYPE_p_wxMouseCaptureChangedEvent swig_types[22]
1364 #define SWIGTYPE_p_wxDisplayChangedEvent swig_types[23]
1365 #define SWIGTYPE_p_wxPaletteChangedEvent swig_types[24]
1366 #define SWIGTYPE_p_wxControl swig_types[25]
1367 #define SWIGTYPE_p_wxFont swig_types[26]
1368 #define SWIGTYPE_p_wxMenuBarBase swig_types[27]
1369 #define SWIGTYPE_p_wxSetCursorEvent swig_types[28]
1370 #define SWIGTYPE_p_wxFSFile swig_types[29]
1371 #define SWIGTYPE_p_wxCaret swig_types[30]
1372 #define SWIGTYPE_ptrdiff_t swig_types[31]
1373 #define SWIGTYPE_std__ptrdiff_t swig_types[32]
1374 #define SWIGTYPE_p_wxRegion swig_types[33]
1375 #define SWIGTYPE_p_wxPoint2D swig_types[34]
1376 #define SWIGTYPE_p_int swig_types[35]
1377 #define SWIGTYPE_p_wxSize swig_types[36]
1378 #define SWIGTYPE_p_wxDC swig_types[37]
1379 #define SWIGTYPE_p_wxPySizer swig_types[38]
1380 #define SWIGTYPE_p_wxVisualAttributes swig_types[39]
1381 #define SWIGTYPE_p_wxNotifyEvent swig_types[40]
1382 #define SWIGTYPE_p_wxPyEvent swig_types[41]
1383 #define SWIGTYPE_p_wxPropagationDisabler swig_types[42]
1384 #define SWIGTYPE_p_form_ops_t swig_types[43]
1385 #define SWIGTYPE_p_wxAppTraits swig_types[44]
1386 #define SWIGTYPE_p_wxArrayString swig_types[45]
1387 #define SWIGTYPE_p_wxShowEvent swig_types[46]
1388 #define SWIGTYPE_p_wxToolTip swig_types[47]
1389 #define SWIGTYPE_p_wxMoveEvent swig_types[48]
1390 #define SWIGTYPE_p_wxSizeEvent swig_types[49]
1391 #define SWIGTYPE_p_wxActivateEvent swig_types[50]
1392 #define SWIGTYPE_p_wxIconizeEvent swig_types[51]
1393 #define SWIGTYPE_p_wxMaximizeEvent swig_types[52]
1394 #define SWIGTYPE_p_wxQueryNewPaletteEvent swig_types[53]
1395 #define SWIGTYPE_p_wxWindowCreateEvent swig_types[54]
1396 #define SWIGTYPE_p_wxIdleEvent swig_types[55]
1397 #define SWIGTYPE_p_wxDateEvent swig_types[56]
1398 #define SWIGTYPE_p_wxMenuItem swig_types[57]
1399 #define SWIGTYPE_p_wxStaticBox swig_types[58]
1400 #define SWIGTYPE_p_long swig_types[59]
1401 #define SWIGTYPE_p_wxDuplexMode swig_types[60]
1402 #define SWIGTYPE_p_wxTIFFHandler swig_types[61]
1403 #define SWIGTYPE_p_wxXPMHandler swig_types[62]
1404 #define SWIGTYPE_p_wxPNMHandler swig_types[63]
1405 #define SWIGTYPE_p_wxJPEGHandler swig_types[64]
1406 #define SWIGTYPE_p_wxPCXHandler swig_types[65]
1407 #define SWIGTYPE_p_wxGIFHandler swig_types[66]
1408 #define SWIGTYPE_p_wxPNGHandler swig_types[67]
1409 #define SWIGTYPE_p_wxANIHandler swig_types[68]
1410 #define SWIGTYPE_p_wxMemoryFSHandler swig_types[69]
1411 #define SWIGTYPE_p_wxZipFSHandler swig_types[70]
1412 #define SWIGTYPE_p_wxInternetFSHandler swig_types[71]
1413 #define SWIGTYPE_p_wxPyFileSystemHandler swig_types[72]
1414 #define SWIGTYPE_p_wxEvtHandler swig_types[73]
1415 #define SWIGTYPE_p_wxCURHandler swig_types[74]
1416 #define SWIGTYPE_p_wxICOHandler swig_types[75]
1417 #define SWIGTYPE_p_wxBMPHandler swig_types[76]
1418 #define SWIGTYPE_p_wxImageHandler swig_types[77]
1419 #define SWIGTYPE_p_wxFileSystemHandler swig_types[78]
1420 #define SWIGTYPE_p_wxRect swig_types[79]
1421 #define SWIGTYPE_p_wxButton swig_types[80]
1422 #define SWIGTYPE_p_wxGBSpan swig_types[81]
1423 #define SWIGTYPE_p_wxPropagateOnce swig_types[82]
1424 #define SWIGTYPE_p_wxAcceleratorTable swig_types[83]
1425 #define SWIGTYPE_p_wxStdDialogButtonSizer swig_types[84]
1426 #define SWIGTYPE_p_char swig_types[85]
1427 #define SWIGTYPE_p_wxGBPosition swig_types[86]
1428 #define SWIGTYPE_p_wxImage swig_types[87]
1429 #define SWIGTYPE_p_wxFrame swig_types[88]
1430 #define SWIGTYPE_p_wxScrollWinEvent swig_types[89]
1431 #define SWIGTYPE_p_wxPaperSize swig_types[90]
1432 #define SWIGTYPE_p_wxImageHistogram swig_types[91]
1433 #define SWIGTYPE_p_wxPoint swig_types[92]
1434 #define SWIGTYPE_p_wxCursor swig_types[93]
1435 #define SWIGTYPE_p_wxObject swig_types[94]
1436 #define SWIGTYPE_p_wxInputStream swig_types[95]
1437 #define SWIGTYPE_p_wxOutputStream swig_types[96]
1438 #define SWIGTYPE_p_wxPyInputStream swig_types[97]
1439 #define SWIGTYPE_p_wxDateTime swig_types[98]
1440 #define SWIGTYPE_p_wxKeyEvent swig_types[99]
1441 #define SWIGTYPE_p_wxNavigationKeyEvent swig_types[100]
1442 #define SWIGTYPE_p_wxWindowDestroyEvent swig_types[101]
1443 #define SWIGTYPE_p_unsigned_long swig_types[102]
1444 #define SWIGTYPE_p_wxWindow swig_types[103]
1445 #define SWIGTYPE_p_wxMenuBar swig_types[104]
1446 #define SWIGTYPE_p_wxFileSystem swig_types[105]
1447 #define SWIGTYPE_p_wxBitmap swig_types[106]
1448 #define SWIGTYPE_unsigned_int swig_types[107]
1449 #define SWIGTYPE_p_unsigned_int swig_types[108]
1450 #define SWIGTYPE_p_wxMenuEvent swig_types[109]
1451 #define SWIGTYPE_p_wxContextMenuEvent swig_types[110]
1452 #define SWIGTYPE_p_unsigned_char swig_types[111]
1453 #define SWIGTYPE_p_wxEraseEvent swig_types[112]
1454 #define SWIGTYPE_p_wxMouseEvent swig_types[113]
1455 #define SWIGTYPE_p_wxCloseEvent swig_types[114]
1456 #define SWIGTYPE_p_wxPyApp swig_types[115]
1457 #define SWIGTYPE_p_wxCommandEvent swig_types[116]
1458 #define SWIGTYPE_p_wxPyCommandEvent swig_types[117]
1459 #define SWIGTYPE_p_wxPyDropTarget swig_types[118]
1460 #define SWIGTYPE_p_wxQuantize swig_types[119]
1461 #define SWIGTYPE_p_wxChildFocusEvent swig_types[120]
1462 #define SWIGTYPE_p_wxFocusEvent swig_types[121]
1463 #define SWIGTYPE_p_wxDropFilesEvent swig_types[122]
1464 #define SWIGTYPE_p_wxControlWithItems swig_types[123]
1465 #define SWIGTYPE_p_wxColour swig_types[124]
1466 #define SWIGTYPE_p_wxValidator swig_types[125]
1467 #define SWIGTYPE_p_wxPyValidator swig_types[126]
1468 static swig_type_info
*swig_types
[128];
1470 /* -------- TYPES TABLE (END) -------- */
1473 /*-----------------------------------------------
1474 @(target):= _core_.so
1475 ------------------------------------------------*/
1476 #define SWIG_init init_core_
1478 #define SWIG_name "_core_"
1480 #include "wx/wxPython/wxPython_int.h"
1481 #include "wx/wxPython/pyclasses.h"
1484 #ifndef wxPyUSE_EXPORT
1485 // Helper functions for dealing with SWIG objects and such. These are
1486 // located here so they know about the SWIG types and functions declared
1487 // in the wrapper code.
1489 #include <wx/hashmap.h>
1490 WX_DECLARE_STRING_HASH_MAP( swig_type_info
*, wxPyTypeInfoHashMap
);
1493 // Maintains a hashmap of className to swig_type_info pointers. Given the
1494 // name of a class either looks up the type info in the cache, or scans the
1495 // SWIG tables for it.
1496 extern PyObject
* wxPyPtrTypeMap
;
1498 swig_type_info
* wxPyFindSwigType(const wxChar
* className
) {
1500 static wxPyTypeInfoHashMap
* typeInfoCache
= NULL
;
1502 if (typeInfoCache
== NULL
)
1503 typeInfoCache
= new wxPyTypeInfoHashMap
;
1505 wxString
name(className
);
1506 swig_type_info
* swigType
= (*typeInfoCache
)[name
];
1509 // it wasn't in the cache, so look it up from SWIG
1510 name
.Append(wxT(" *"));
1511 swigType
= SWIG_TypeQuery(name
.mb_str());
1513 // if it still wasn't found, try looking for a mapped name
1518 if ((item
= PyDict_GetItemString(wxPyPtrTypeMap
,
1519 (char*)(const char*)name
.mbc_str())) != NULL
) {
1520 name
= wxString(PyString_AsString(item
), *wxConvCurrent
);
1521 name
.Append(wxT(" *"));
1522 swigType
= SWIG_TypeQuery(name
.mb_str());
1526 // and add it to the map if found
1527 (*typeInfoCache
)[className
] = swigType
;
1534 // Check if a class name is a type known to SWIG
1535 bool wxPyCheckSwigType(const wxChar
* className
) {
1537 swig_type_info
* swigType
= wxPyFindSwigType(className
);
1538 return swigType
!= NULL
;
1542 // Given a pointer to a C++ object and a class name, construct a Python proxy
1544 PyObject
* wxPyConstructObject(void* ptr
,
1545 const wxChar
* className
,
1548 swig_type_info
* swigType
= wxPyFindSwigType(className
);
1549 wxCHECK_MSG(swigType
!= NULL
, NULL
, wxT("Unknown type in wxPyConstructObject"));
1551 return SWIG_Python_NewPointerObj(ptr
, swigType
, setThisOwn
);
1555 // Extract a pointer to the wrapped C++ object from a Python proxy object.
1556 // Ensures that the proxy object is of the specified (or derived) type. If
1557 // not able to perform the conversion then a Python exception is set and the
1558 // error should be handled properly in the caller. Returns True on success.
1559 bool wxPyConvertSwigPtr(PyObject
* obj
, void **ptr
,
1560 const wxChar
* className
) {
1562 swig_type_info
* swigType
= wxPyFindSwigType(className
);
1563 wxCHECK_MSG(swigType
!= NULL
, false, wxT("Unknown type in wxPyConvertSwigPtr"));
1565 return SWIG_Python_ConvertPtr(obj
, ptr
, swigType
, SWIG_POINTER_EXCEPTION
) != -1;
1569 // Make a SWIGified pointer object suitable for a .this attribute
1570 PyObject
* wxPyMakeSwigPtr(void* ptr
, const wxChar
* className
) {
1572 PyObject
* robj
= NULL
;
1574 swig_type_info
* swigType
= wxPyFindSwigType(className
);
1575 wxCHECK_MSG(swigType
!= NULL
, NULL
, wxT("Unknown type in wxPyConvertSwigPtr"));
1577 #ifdef SWIG_COBJECT_TYPES
1578 robj
= PySwigObject_FromVoidPtrAndDesc((void *) ptr
, (char *)swigType
->name
);
1582 robj
= SWIG_PackVoidPtr(result
, ptr
, swigType
->name
, sizeof(result
)) ?
1583 PyString_FromString(result
) : 0;
1593 // Export a C API in a struct. Other modules will be able to load this from
1594 // the wx._core_ module and will then have safe access to these functions,
1595 // even if they are located in another shared library.
1596 static wxPyCoreAPI API
= {
1599 wxPyConstructObject
,
1603 wxPyBeginAllowThreads
,
1604 wxPyEndAllowThreads
,
1605 wxPyBeginBlockThreads
,
1606 wxPyEndBlockThreads
,
1618 wxPoint_LIST_helper
,
1619 wxBitmap_LIST_helper
,
1620 wxString_LIST_helper
,
1621 wxAcceleratorEntry_LIST_helper
,
1630 wxPySimple_typecheck
,
1633 wxPyCBH_setCallbackInfo
,
1634 wxPyCBH_findCallback
,
1635 wxPyCBH_callCallback
,
1636 wxPyCBH_callCallbackObj
,
1642 wxPy2int_seq_helper
,
1643 wxPy4int_seq_helper
,
1644 wxArrayString2PyList_helper
,
1645 wxArrayInt2PyList_helper
,
1647 wxPyClientData_dtor
,
1649 wxPyOORClientData_dtor
,
1651 wxPyCBInputStream_create
,
1652 wxPyCBInputStream_copy
,
1655 wxPySwigInstance_Check
,
1664 #if !WXWIN_COMPATIBILITY_2_4
1665 #define wxHIDE_READONLY 0
1669 /*@c:\\PROJECTS\\SWIG-cvs\\Lib\\python\\pymacros.swg,66,SWIG_define@*/
1670 #define SWIG_From_int PyInt_FromLong
1675 enum wxHotkeyModifier
1683 #define wxEVT_HOTKEY 9999
1686 static const wxString
wxPyEmptyString(wxEmptyString
);
1687 static wxString
wxObject_GetClassName(wxObject
*self
){
1688 return self
->GetClassInfo()->GetClassName();
1690 static void wxObject_Destroy(wxObject
*self
){
1695 #define wxCURSOR_COPY_ARROW wxCURSOR_ARROW
1703 SWIG_CheckLongInRange(long value
, long min_value
, long max_value
,
1706 if (value
< min_value
) {
1708 PyErr_Format(PyExc_OverflowError
,
1709 "value %ld is less than '%s' minimum %ld",
1710 value
, errmsg
, min_value
);
1713 } else if (value
> max_value
) {
1715 PyErr_Format(PyExc_OverflowError
,
1716 "value %ld is greater than '%s' maximum %ld",
1717 value
, errmsg
, max_value
);
1726 SWIG_AsVal_long(PyObject
* obj
, long* val
)
1728 if (PyNumber_Check(obj
)) {
1729 if (val
) *val
= PyInt_AsLong(obj
);
1733 SWIG_type_error("number", obj
);
1739 #if INT_MAX != LONG_MAX
1741 SWIG_AsVal_int(PyObject
*obj
, int *val
)
1743 const char* errmsg
= val
? "int" : (char*)0;
1745 if (SWIG_AsVal_long(obj
, &v
)) {
1746 if (SWIG_CheckLongInRange(v
, INT_MIN
,INT_MAX
, errmsg
)) {
1747 if (val
) *val
= (int)(v
);
1756 SWIG_type_error(errmsg
, obj
);
1762 SWIG_AsVal_int(PyObject
*obj
, int *val
)
1764 return SWIG_AsVal_long(obj
,(long*)val
);
1770 SWIG_As_int(PyObject
* obj
)
1773 if (!SWIG_AsVal_int(obj
, &v
)) {
1775 this is needed to make valgrind/purify happier.
1777 memset((void*)&v
, 0, sizeof(int));
1784 SWIG_Check_int(PyObject
* obj
)
1786 return SWIG_AsVal_int(obj
, (int*)0);
1789 static PyObject
*wxSize_Get(wxSize
*self
){
1790 bool blocked
= wxPyBeginBlockThreads();
1791 PyObject
* tup
= PyTuple_New(2);
1792 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(self
->x
));
1793 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(self
->y
));
1794 wxPyEndBlockThreads(blocked
);
1799 SWIG_AsVal_double(PyObject
*obj
, double* val
)
1801 if (PyNumber_Check(obj
)) {
1802 if (val
) *val
= PyFloat_AsDouble(obj
);
1806 SWIG_type_error("number", obj
);
1812 SWIGINTERNSHORT
double
1813 SWIG_As_double(PyObject
* obj
)
1816 if (!SWIG_AsVal_double(obj
, &v
)) {
1818 this is needed to make valgrind/purify happier.
1820 memset((void*)&v
, 0, sizeof(double));
1827 SWIG_Check_double(PyObject
* obj
)
1829 return SWIG_AsVal_double(obj
, (double*)0);
1833 /*@c:\\PROJECTS\\SWIG-cvs\\Lib\\python\\pymacros.swg,66,SWIG_define@*/
1834 #define SWIG_From_double PyFloat_FromDouble
1837 static void wxRealPoint_Set(wxRealPoint
*self
,double x
,double y
){
1841 static PyObject
*wxRealPoint_Get(wxRealPoint
*self
){
1842 bool blocked
= wxPyBeginBlockThreads();
1843 PyObject
* tup
= PyTuple_New(2);
1844 PyTuple_SET_ITEM(tup
, 0, PyFloat_FromDouble(self
->x
));
1845 PyTuple_SET_ITEM(tup
, 1, PyFloat_FromDouble(self
->y
));
1846 wxPyEndBlockThreads(blocked
);
1850 SWIGINTERNSHORT
long
1851 SWIG_As_long(PyObject
* obj
)
1854 if (!SWIG_AsVal_long(obj
, &v
)) {
1856 this is needed to make valgrind/purify happier.
1858 memset((void*)&v
, 0, sizeof(long));
1865 SWIG_Check_long(PyObject
* obj
)
1867 return SWIG_AsVal_long(obj
, (long*)0);
1870 static void wxPoint_Set(wxPoint
*self
,long x
,long y
){
1874 static PyObject
*wxPoint_Get(wxPoint
*self
){
1875 bool blocked
= wxPyBeginBlockThreads();
1876 PyObject
* tup
= PyTuple_New(2);
1877 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(self
->x
));
1878 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(self
->y
));
1879 wxPyEndBlockThreads(blocked
);
1882 static void wxRect_Set(wxRect
*self
,int x
=0,int y
=0,int width
=0,int height
=0){
1885 self
->width
= width
;
1886 self
->height
= height
;
1888 static PyObject
*wxRect_Get(wxRect
*self
){
1889 bool blocked
= wxPyBeginBlockThreads();
1890 PyObject
* tup
= PyTuple_New(4);
1891 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(self
->x
));
1892 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(self
->y
));
1893 PyTuple_SET_ITEM(tup
, 2, PyInt_FromLong(self
->width
));
1894 PyTuple_SET_ITEM(tup
, 3, PyInt_FromLong(self
->height
));
1895 wxPyEndBlockThreads(blocked
);
1899 PyObject
* wxIntersectRect(wxRect
* r1
, wxRect
* r2
) {
1902 wxRect
dest(0,0,0,0);
1905 reg1
.Intersect(reg2
);
1906 dest
= reg1
.GetBox();
1908 if (dest
!= wxRect(0,0,0,0)) {
1909 bool blocked
= wxPyBeginBlockThreads();
1910 wxRect
* newRect
= new wxRect(dest
);
1911 obj
= wxPyConstructObject((void*)newRect
, wxT("wxRect"), true);
1912 wxPyEndBlockThreads(blocked
);
1920 static PyObject
* t_output_helper(PyObject
* target
, PyObject
* o
) {
1926 } else if (target
== Py_None
) {
1930 if (!PyTuple_Check(target
)) {
1932 target
= PyTuple_New(1);
1933 PyTuple_SetItem(target
, 0, o2
);
1935 o3
= PyTuple_New(1);
1936 PyTuple_SetItem(o3
, 0, o
);
1939 target
= PySequence_Concat(o2
, o3
);
1947 static void wxPoint2D_Set(wxPoint2D
*self
,double x
=0,double y
=0){
1951 static PyObject
*wxPoint2D_Get(wxPoint2D
*self
){
1952 bool blocked
= wxPyBeginBlockThreads();
1953 PyObject
* tup
= PyTuple_New(2);
1954 PyTuple_SET_ITEM(tup
, 0, PyFloat_FromDouble(self
->m_x
));
1955 PyTuple_SET_ITEM(tup
, 1, PyFloat_FromDouble(self
->m_y
));
1956 wxPyEndBlockThreads(blocked
);
1960 #include "wx/wxPython/pyistream.h"
1962 static wxPyInputStream
*new_wxPyInputStream(PyObject
*p
){
1963 wxInputStream
* wxis
= wxPyCBInputStream::create(p
);
1965 return new wxPyInputStream(wxis
);
1970 SWIGINTERNSHORT PyObject
*
1971 SWIG_From_char(char c
)
1973 return PyString_FromStringAndSize(&c
,1);
1977 SWIGINTERNSHORT PyObject
*
1978 SWIG_From_unsigned_SS_long(unsigned long value
)
1980 return (value
> LONG_MAX
) ?
1981 PyLong_FromUnsignedLong(value
)
1982 : PyInt_FromLong((long)(value
));
1986 /* returns SWIG_OLDOBJ if the input is a raw char*, SWIG_PYSTR if is a PyString */
1988 SWIG_AsCharPtrAndSize(PyObject
*obj
, char** cptr
, size_t* psize
)
1990 static swig_type_info
* pchar_info
= 0;
1992 if (!pchar_info
) pchar_info
= SWIG_TypeQuery("char *");
1993 if (SWIG_ConvertPtr(obj
, (void**)&vptr
, pchar_info
, 0) != -1) {
1994 if (cptr
) *cptr
= vptr
;
1995 if (psize
) *psize
= vptr
? (strlen(vptr
) + 1) : 0;
1999 if (PyString_Check(obj
)) {
2001 *cptr
= PyString_AS_STRING(obj
);
2003 *psize
= PyString_GET_SIZE(obj
) + 1;
2010 SWIG_type_error("char *", obj
);
2017 SWIG_AsCharArray(PyObject
*obj
, char *val
, size_t size
)
2019 char* cptr
; size_t csize
;
2020 if (SWIG_AsCharPtrAndSize(obj
, &cptr
, &csize
)) {
2023 char x[5] = "hello";
2025 ie, assing the array using an extra '0' char.
2027 if ((csize
== size
+ 1) && !(cptr
[csize
-1])) --csize
;
2028 if (csize
<= size
) {
2030 if (csize
) memcpy(val
, cptr
, csize
);
2031 if (csize
< size
) memset(val
+ csize
, 0, size
- csize
);
2037 PyErr_Format(PyExc_TypeError
,
2038 "a char array of maximum size %lu is expected",
2039 (unsigned long) size
);
2046 SWIG_AsVal_char(PyObject
*obj
, char *val
)
2048 const char* errmsg
= val
? "char" : (char*)0;
2050 if (SWIG_AsVal_long(obj
, &v
)) {
2051 if (SWIG_CheckLongInRange(v
, CHAR_MIN
,CHAR_MAX
, errmsg
)) {
2052 if (val
) *val
= (char)(v
);
2059 return SWIG_AsCharArray(obj
, val
, 1);
2064 SWIGINTERNSHORT
char
2065 SWIG_As_char(PyObject
* obj
)
2068 if (!SWIG_AsVal_char(obj
, &v
)) {
2070 this is needed to make valgrind/purify happier.
2072 memset((void*)&v
, 0, sizeof(char));
2079 SWIG_Check_char(PyObject
* obj
)
2081 return SWIG_AsVal_char(obj
, (char*)0);
2085 /*@c:\\PROJECTS\\SWIG-cvs\\Lib\\python\\pymacros.swg,66,SWIG_define@*/
2086 #define SWIG_From_long PyInt_FromLong
2089 static void wxOutputStream_write(wxOutputStream
*self
,PyObject
*obj
){
2090 // We use only strings for the streams, not unicode
2091 PyObject
* str
= PyObject_Str(obj
);
2093 PyErr_SetString(PyExc_TypeError
, "Unable to convert to string");
2096 self
->Write(PyString_AS_STRING(str
),
2097 PyString_GET_SIZE(str
));
2101 #include "wx/wxPython/pyistream.h"
2104 class wxPyFileSystemHandler
: public wxFileSystemHandler
2107 wxPyFileSystemHandler() : wxFileSystemHandler() {}
2109 DEC_PYCALLBACK_BOOL_STRING_pure(CanOpen
);
2110 DEC_PYCALLBACK_FSF_FSSTRING_pure(OpenFile
);
2111 DEC_PYCALLBACK_STRING_STRINGINT_pure(FindFirst
);
2112 DEC_PYCALLBACK_STRING__pure(FindNext
);
2114 wxString
GetProtocol(const wxString
& location
) {
2115 return wxFileSystemHandler::GetProtocol(location
);
2118 wxString
GetLeftLocation(const wxString
& location
) {
2119 return wxFileSystemHandler::GetLeftLocation(location
);
2122 wxString
GetAnchor(const wxString
& location
) {
2123 return wxFileSystemHandler::GetAnchor(location
);
2126 wxString
GetRightLocation(const wxString
& location
) {
2127 return wxFileSystemHandler::GetRightLocation(location
);
2130 wxString
GetMimeTypeFromExt(const wxString
& location
) {
2131 return wxFileSystemHandler::GetMimeTypeFromExt(location
);
2138 IMP_PYCALLBACK_BOOL_STRING_pure(wxPyFileSystemHandler
, wxFileSystemHandler
, CanOpen
);
2139 IMP_PYCALLBACK_FSF_FSSTRING_pure(wxPyFileSystemHandler
, wxFileSystemHandler
, OpenFile
);
2140 IMP_PYCALLBACK_STRING_STRINGINT_pure(wxPyFileSystemHandler
, wxFileSystemHandler
, FindFirst
);
2141 IMP_PYCALLBACK_STRING__pure(wxPyFileSystemHandler
, wxFileSystemHandler
, FindNext
);
2145 SWIG_AsVal_bool(PyObject
*obj
, bool *val
)
2147 if (obj
== Py_True
) {
2148 if (val
) *val
= true;
2151 if (obj
== Py_False
) {
2152 if (val
) *val
= false;
2156 if (SWIG_AsVal_int(obj
, &res
)) {
2157 if (val
) *val
= res
? true : false;
2163 SWIG_type_error("bool", obj
);
2169 SWIGINTERNSHORT
bool
2170 SWIG_As_bool(PyObject
* obj
)
2173 if (!SWIG_AsVal_bool(obj
, &v
)) {
2175 this is needed to make valgrind/purify happier.
2177 memset((void*)&v
, 0, sizeof(bool));
2184 SWIG_Check_bool(PyObject
* obj
)
2186 return SWIG_AsVal_bool(obj
, (bool*)0);
2189 static wxString
FileSystem_URLToFileName(wxString
const &url
){
2190 wxFileName fname
= wxFileSystem::URLToFileName(url
);
2191 return fname
.GetFullPath();
2194 void __wxMemoryFSHandler_AddFile_wxImage(const wxString
& filename
,
2197 wxMemoryFSHandler::AddFile(filename
, image
, type
);
2200 void __wxMemoryFSHandler_AddFile_wxBitmap(const wxString
& filename
,
2201 const wxBitmap
& bitmap
,
2203 wxMemoryFSHandler::AddFile(filename
, bitmap
, type
);
2206 void __wxMemoryFSHandler_AddFile_Data(const wxString
& filename
,
2208 if (! PyString_Check(data
)) {
2209 wxPyBLOCK_THREADS(PyErr_SetString(PyExc_TypeError
,
2210 "Expected string object"));
2214 bool blocked
= wxPyBeginBlockThreads();
2215 void* ptr
= (void*)PyString_AsString(data
);
2216 size_t size
= PyString_Size(data
);
2217 wxPyEndBlockThreads(blocked
);
2219 wxMemoryFSHandler::AddFile(filename
, ptr
, size
);
2223 #include "wx/wxPython/pyistream.h"
2227 SWIG_AsVal_unsigned_SS_long(PyObject
* obj
, unsigned long* val
)
2230 if (SWIG_AsVal_long(obj
, &v
) && v
< 0) {
2231 SWIG_type_error("unsigned number", obj
);
2234 *val
= (unsigned long)v
;
2240 SWIG_CheckUnsignedLongInRange(unsigned long value
,
2241 unsigned long max_value
,
2244 if (value
> max_value
) {
2246 PyErr_Format(PyExc_OverflowError
,
2247 "value %lu is greater than '%s' minimum %lu",
2248 value
, errmsg
, max_value
);
2257 SWIG_AsVal_unsigned_SS_char(PyObject
*obj
, unsigned char *val
)
2259 const char* errmsg
= val
? "unsigned char" : (char*)0;
2261 if (SWIG_AsVal_unsigned_SS_long(obj
, &v
)) {
2262 if (SWIG_CheckUnsignedLongInRange(v
, UCHAR_MAX
,errmsg
)) {
2263 if (val
) *val
= (unsigned char)(v
);
2272 SWIG_type_error(errmsg
, obj
);
2278 SWIGINTERNSHORT
unsigned char
2279 SWIG_As_unsigned_SS_char(PyObject
* obj
)
2282 if (!SWIG_AsVal_unsigned_SS_char(obj
, &v
)) {
2284 this is needed to make valgrind/purify happier.
2286 memset((void*)&v
, 0, sizeof(unsigned char));
2293 SWIG_Check_unsigned_SS_char(PyObject
* obj
)
2295 return SWIG_AsVal_unsigned_SS_char(obj
, (unsigned char*)0);
2299 /*@c:\\PROJECTS\\SWIG-cvs\\Lib\\python\\pymacros.swg,66,SWIG_define@*/
2300 #define SWIG_From_unsigned_SS_char PyInt_FromLong
2304 static wxImage
*new_wxImage(int width
=0,int height
=0,bool clear
=true){
2305 if (width
> 0 && height
> 0)
2306 return new wxImage(width
, height
, clear
);
2310 static wxImage
*new_wxImage(wxBitmap
const &bitmap
){
2311 return new wxImage(bitmap
.ConvertToImage());
2313 static wxImage
*new_wxImage(int width
,int height
,unsigned char *data
){
2314 // Copy the source data so the wxImage can clean it up later
2315 unsigned char* copy
= (unsigned char*)malloc(width
*height
*3);
2320 memcpy(copy
, data
, width
*height
*3);
2321 return new wxImage(width
, height
, copy
, false);
2323 static wxImage
*new_wxImage(int width
,int height
,unsigned char *data
,unsigned char *alpha
){
2324 // Copy the source data so the wxImage can clean it up later
2325 unsigned char* dcopy
= (unsigned char*)malloc(width
*height
*3);
2326 if (dcopy
== NULL
) {
2330 memcpy(dcopy
, data
, width
*height
*3);
2331 unsigned char* acopy
= (unsigned char*)malloc(width
*height
);
2332 if (acopy
== NULL
) {
2336 memcpy(acopy
, alpha
, width
*height
);
2338 return new wxImage(width
, height
, dcopy
, acopy
, false);
2340 static wxSize
wxImage_GetSize(wxImage
*self
){
2341 wxSize
size(self
->GetWidth(), self
->GetHeight());
2344 static PyObject
*wxImage_GetData(wxImage
*self
){
2345 unsigned char* data
= self
->GetData();
2346 int len
= self
->GetWidth() * self
->GetHeight() * 3;
2348 wxPyBLOCK_THREADS( rv
= PyString_FromStringAndSize((char*)data
, len
));
2351 static void wxImage_SetData(wxImage
*self
,PyObject
*data
){
2352 unsigned char* dataPtr
;
2354 if (! PyString_Check(data
)) {
2355 wxPyBLOCK_THREADS(PyErr_SetString(PyExc_TypeError
,
2356 "Expected string object"));
2360 size_t len
= self
->GetWidth() * self
->GetHeight() * 3;
2361 dataPtr
= (unsigned char*) malloc(len
);
2362 wxPyBLOCK_THREADS( memcpy(dataPtr
, PyString_AsString(data
), len
) );
2363 self
->SetData(dataPtr
);
2364 // wxImage takes ownership of dataPtr...
2366 static PyObject
*wxImage_GetDataBuffer(wxImage
*self
){
2367 unsigned char* data
= self
->GetData();
2368 int len
= self
->GetWidth() * self
->GetHeight() * 3;
2370 wxPyBLOCK_THREADS( rv
= PyBuffer_FromReadWriteMemory(data
, len
) );
2373 static void wxImage_SetDataBuffer(wxImage
*self
,PyObject
*data
){
2374 unsigned char* buffer
;
2377 bool blocked
= wxPyBeginBlockThreads();
2378 if (!PyArg_Parse(data
, "t#", &buffer
, &size
))
2381 if (size
!= self
->GetWidth() * self
->GetHeight() * 3) {
2382 PyErr_SetString(PyExc_TypeError
, "Incorrect buffer size");
2385 self
->SetData(buffer
);
2387 wxPyEndBlockThreads(blocked
);
2389 static PyObject
*wxImage_GetAlphaData(wxImage
*self
){
2390 unsigned char* data
= self
->GetAlpha();
2394 int len
= self
->GetWidth() * self
->GetHeight();
2396 wxPyBLOCK_THREADS( rv
= PyString_FromStringAndSize((char*)data
, len
) );
2400 static void wxImage_SetAlphaData(wxImage
*self
,PyObject
*data
){
2401 unsigned char* dataPtr
;
2403 if (! PyString_Check(data
)) {
2404 PyErr_SetString(PyExc_TypeError
, "Expected string object");
2408 size_t len
= self
->GetWidth() * self
->GetHeight();
2409 dataPtr
= (unsigned char*) malloc(len
);
2410 wxPyBLOCK_THREADS( memcpy(dataPtr
, PyString_AsString(data
), len
) );
2411 self
->SetAlpha(dataPtr
);
2412 // wxImage takes ownership of dataPtr...
2414 static PyObject
*wxImage_GetAlphaBuffer(wxImage
*self
){
2415 unsigned char* data
= self
->GetAlpha();
2416 int len
= self
->GetWidth() * self
->GetHeight();
2418 wxPyBLOCK_THREADS( rv
= PyBuffer_FromReadWriteMemory(data
, len
) );
2421 static void wxImage_SetAlphaBuffer(wxImage
*self
,PyObject
*data
){
2422 unsigned char* buffer
;
2425 bool blocked
= wxPyBeginBlockThreads();
2426 if (!PyArg_Parse(data
, "t#", &buffer
, &size
))
2429 if (size
!= self
->GetWidth() * self
->GetHeight()) {
2430 PyErr_SetString(PyExc_TypeError
, "Incorrect buffer size");
2433 self
->SetAlpha(buffer
);
2435 wxPyEndBlockThreads(blocked
);
2438 SWIGINTERNSHORT
unsigned long
2439 SWIG_As_unsigned_SS_long(PyObject
* obj
)
2442 if (!SWIG_AsVal_unsigned_SS_long(obj
, &v
)) {
2444 this is needed to make valgrind/purify happier.
2446 memset((void*)&v
, 0, sizeof(unsigned long));
2453 SWIG_Check_unsigned_SS_long(PyObject
* obj
)
2455 return SWIG_AsVal_unsigned_SS_long(obj
, (unsigned long*)0);
2458 static wxBitmap
wxImage_ConvertToBitmap(wxImage
*self
,int depth
=-1){
2459 wxBitmap
bitmap(*self
, depth
);
2462 static wxBitmap
wxImage_ConvertToMonoBitmap(wxImage
*self
,unsigned char red
,unsigned char green
,unsigned char blue
){
2463 wxImage mono
= self
->ConvertToMono( red
, green
, blue
);
2464 wxBitmap
bitmap( mono
, 1 );
2467 static const wxString
wxPyIMAGE_OPTION_FILENAME(wxIMAGE_OPTION_FILENAME
);
2468 static const wxString
wxPyIMAGE_OPTION_BMP_FORMAT(wxIMAGE_OPTION_BMP_FORMAT
);
2469 static const wxString
wxPyIMAGE_OPTION_CUR_HOTSPOT_X(wxIMAGE_OPTION_CUR_HOTSPOT_X
);
2470 static const wxString
wxPyIMAGE_OPTION_CUR_HOTSPOT_Y(wxIMAGE_OPTION_CUR_HOTSPOT_Y
);
2471 static const wxString
wxPyIMAGE_OPTION_RESOLUTION(wxIMAGE_OPTION_RESOLUTION
);
2472 static const wxString
wxPyIMAGE_OPTION_RESOLUTIONX(wxIMAGE_OPTION_RESOLUTIONX
);
2473 static const wxString
wxPyIMAGE_OPTION_RESOLUTIONY(wxIMAGE_OPTION_RESOLUTIONY
);
2474 static const wxString
wxPyIMAGE_OPTION_RESOLUTIONUNIT(wxIMAGE_OPTION_RESOLUTIONUNIT
);
2475 static const wxString
wxPyIMAGE_OPTION_QUALITY(wxIMAGE_OPTION_QUALITY
);
2476 static const wxString
wxPyIMAGE_OPTION_BITSPERSAMPLE(wxIMAGE_OPTION_BITSPERSAMPLE
);
2477 static const wxString
wxPyIMAGE_OPTION_SAMPLESPERPIXEL(wxIMAGE_OPTION_SAMPLESPERPIXEL
);
2478 static const wxString
wxPyIMAGE_OPTION_COMPRESSION(wxIMAGE_OPTION_COMPRESSION
);
2479 static const wxString
wxPyIMAGE_OPTION_IMAGEDESCRIPTOR(wxIMAGE_OPTION_IMAGEDESCRIPTOR
);
2480 static const wxString
wxPyIMAGE_OPTION_PNG_FORMAT(wxIMAGE_OPTION_PNG_FORMAT
);
2481 static const wxString
wxPyIMAGE_OPTION_PNG_BITDEPTH(wxIMAGE_OPTION_PNG_BITDEPTH
);
2483 #include <wx/quantize.h>
2485 static bool Quantize_Quantize(wxImage
const &src
,wxImage
&dest
,int desiredNoColours
=236,int flags
=wxQUANTIZE_INCLUDE_WINDOWS_COLOURS
|wxQUANTIZE_FILL_DESTINATION_IMAGE
){
2486 return wxQuantize::Quantize(src
, dest
,
2489 NULL
, // eightBitData
2492 static void wxEvtHandler_Connect(wxEvtHandler
*self
,int id
,int lastId
,int eventType
,PyObject
*func
){
2493 if (PyCallable_Check(func
)) {
2494 self
->Connect(id
, lastId
, eventType
,
2495 (wxObjectEventFunction
) &wxPyCallback::EventThunker
,
2496 new wxPyCallback(func
));
2498 else if (func
== Py_None
) {
2499 self
->Disconnect(id
, lastId
, eventType
,
2500 (wxObjectEventFunction
)
2501 &wxPyCallback::EventThunker
);
2505 PyErr_SetString(PyExc_TypeError
, "Expected callable object or None."));
2508 static bool wxEvtHandler_Disconnect(wxEvtHandler
*self
,int id
,int lastId
=-1,wxEventType eventType
=wxEVT_NULL
){
2509 return self
->Disconnect(id
, lastId
, eventType
,
2510 (wxObjectEventFunction
)
2511 &wxPyCallback::EventThunker
);
2513 static void wxEvtHandler__setOORInfo(wxEvtHandler
*self
,PyObject
*_self
,bool incref
=true){
2514 if (_self
&& _self
!= Py_None
) {
2515 self
->SetClientObject(new wxPyOORClientData(_self
, incref
));
2518 wxPyOORClientData
* data
= (wxPyOORClientData
*)self
->GetClientObject();
2520 self
->SetClientObject(NULL
); // This will delete it too
2525 static int wxKeyEvent_GetUnicodeKey(wxKeyEvent
*self
){
2527 return self
->GetUnicodeKey();
2533 #if UINT_MAX < LONG_MAX
2534 /*@c:\\PROJECTS\\SWIG-cvs\\Lib\\python\\pymacros.swg,66,SWIG_define@*/
2535 #define SWIG_From_unsigned_SS_int SWIG_From_long
2538 /*@c:\\PROJECTS\\SWIG-cvs\\Lib\\python\\pymacros.swg,66,SWIG_define@*/
2539 #define SWIG_From_unsigned_SS_int SWIG_From_unsigned_SS_long
2544 #if UINT_MAX != ULONG_MAX
2546 SWIG_AsVal_unsigned_SS_int(PyObject
*obj
, unsigned int *val
)
2548 const char* errmsg
= val
? "unsigned int" : (char*)0;
2550 if (SWIG_AsVal_unsigned_SS_long(obj
, &v
)) {
2551 if (SWIG_CheckUnsignedLongInRange(v
, INT_MAX
, errmsg
)) {
2552 if (val
) *val
= (unsigned int)(v
);
2559 SWIG_type_error(errmsg
, obj
);
2564 SWIGINTERNSHORT
unsigned int
2565 SWIG_AsVal_unsigned_SS_int(PyObject
*obj
, unsigned int *val
)
2567 return SWIG_AsVal_unsigned_SS_long(obj
,(unsigned long *)val
);
2572 SWIGINTERNSHORT
unsigned int
2573 SWIG_As_unsigned_SS_int(PyObject
* obj
)
2576 if (!SWIG_AsVal_unsigned_SS_int(obj
, &v
)) {
2578 this is needed to make valgrind/purify happier.
2580 memset((void*)&v
, 0, sizeof(unsigned int));
2587 SWIG_Check_unsigned_SS_int(PyObject
* obj
)
2589 return SWIG_AsVal_unsigned_SS_int(obj
, (unsigned int*)0);
2592 static void wxSizeEvent_SetSize(wxSizeEvent
*self
,wxSize size
){
2593 self
->m_size
= size
;
2595 static PyObject
*wxDropFilesEvent_GetFiles(wxDropFilesEvent
*self
){
2596 int count
= self
->GetNumberOfFiles();
2597 wxString
* files
= self
->GetFiles();
2598 PyObject
* list
= PyList_New(count
);
2601 PyErr_SetString(PyExc_MemoryError
, "Can't allocate list of files!");
2605 for (int i
=0; i
<count
; i
++) {
2606 PyList_SetItem(list
, i
, wx2PyString(files
[i
]));
2612 static wxPyApp
*new_wxPyApp(){
2613 wxPythonApp
= new wxPyApp();
2617 void wxApp_CleanUp() {
2622 wxPyApp
* wxPyGetApp() { return (wxPyApp
*)wxTheApp
; }
2626 SWIG_AsCharPtr(PyObject
*obj
, char **val
)
2628 if (SWIG_AsCharPtrAndSize(obj
, val
, (size_t*)(0))) {
2633 SWIG_type_error("char *", obj
);
2639 SWIGINTERN PyObject
*
2640 SWIG_FromCharPtr(const char* cptr
)
2643 size_t size
= strlen(cptr
);
2644 if (size
> INT_MAX
) {
2645 return SWIG_NewPointerObj((char*)(cptr
),
2646 SWIG_TypeQuery("char *"), 0);
2649 return PyString_FromStringAndSize(cptr
, size
);
2651 return PyString_FromString(cptr
);
2662 // A dummy class that raises an exception if used...
2666 wxEventLoop() { wxPyRaiseNotImplemented(); }
2667 int Run() { return 0; }
2668 void Exit(int rc
= 0) {}
2669 bool Pending() const { return false; }
2670 bool Dispatch() { return false; }
2671 bool IsRunning() const { return false; }
2672 static wxEventLoop
*GetActive() { wxPyRaiseNotImplemented(); return NULL
; }
2673 static void SetActive(wxEventLoop
* loop
) { wxPyRaiseNotImplemented(); }
2678 #include <wx/evtloop.h>
2684 static const wxString
wxPyPanelNameStr(wxPanelNameStr
);
2685 static wxVisualAttributes
*new_wxVisualAttributes(){ return new wxVisualAttributes
; }
2686 static void delete_wxVisualAttributes(wxVisualAttributes
*self
){ delete self
; }
2687 static PyObject
*wxWindow_GetChildren(wxWindow
*self
){
2688 wxWindowList
& list
= self
->GetChildren();
2689 return wxPy_ConvertList(&list
);
2691 static bool wxWindow_RegisterHotKey(wxWindow
*self
,int hotkeyId
,int modifiers
,int keycode
){
2693 return self
->RegisterHotKey(hotkeyId
, modifiers
, keycode
);
2698 static bool wxWindow_UnregisterHotKey(wxWindow
*self
,int hotkeyId
){
2705 static long wxWindow_GetHandle(wxWindow
*self
){
2706 return wxPyGetWinHandle(self
);
2708 static void wxWindow_AssociateHandle(wxWindow
*self
,long handle
){
2709 self
->AssociateHandle((WXWidget
)handle
);
2712 wxWindow
* wxFindWindowById( long id
, const wxWindow
*parent
= NULL
) {
2713 return wxWindow::FindWindowById(id
, parent
);
2716 wxWindow
* wxFindWindowByName( const wxString
& name
,
2717 const wxWindow
*parent
= NULL
) {
2718 return wxWindow::FindWindowByName(name
, parent
);
2721 wxWindow
* wxFindWindowByLabel( const wxString
& label
,
2722 const wxWindow
*parent
= NULL
) {
2723 return wxWindow::FindWindowByLabel(label
, parent
);
2728 #include <wx/msw/private.h> // to get wxGetWindowId
2732 wxWindow
* wxWindow_FromHWND(wxWindow
* parent
, unsigned long _hWnd
) {
2734 WXHWND hWnd
= (WXHWND
)_hWnd
;
2735 long id
= wxGetWindowId(hWnd
);
2736 wxWindow
* win
= new wxWindow
;
2737 parent
->AddChild(win
);
2738 win
->SetEventHandler(win
);
2741 win
->SubclassWin(hWnd
);
2742 win
->AdoptAttributesFromHWND();
2743 win
->SetupColours();
2746 wxPyRaiseNotImplemented();
2752 IMP_PYCALLBACK_BOOL_WXWIN(wxPyValidator
, wxValidator
, Validate
);
2753 IMP_PYCALLBACK_BOOL_(wxPyValidator
, wxValidator
, TransferToWindow
);
2754 IMP_PYCALLBACK_BOOL_(wxPyValidator
, wxValidator
, TransferFromWindow
);
2756 IMPLEMENT_DYNAMIC_CLASS(wxPyValidator
, wxValidator
);
2758 static void wxMenu_Destroy(wxMenu
*self
){ delete self
; }
2759 static PyObject
*wxMenu_GetMenuItems(wxMenu
*self
){
2760 wxMenuItemList
& list
= self
->GetMenuItems();
2761 return wxPy_ConvertList(&list
);
2763 static const wxString
wxPyControlNameStr(wxControlNameStr
);
2764 static int wxItemContainer_Append(wxItemContainer
*self
,wxString
const &item
,PyObject
*clientData
=NULL
){
2766 wxPyClientData
* data
= new wxPyClientData(clientData
);
2767 return self
->Append(item
, data
);
2769 return self
->Append(item
);
2771 static int wxItemContainer_Insert(wxItemContainer
*self
,wxString
const &item
,int pos
,PyObject
*clientData
=NULL
){
2773 wxPyClientData
* data
= new wxPyClientData(clientData
);
2774 return self
->Insert(item
, pos
, data
);
2776 return self
->Insert(item
, pos
);
2778 static PyObject
*wxItemContainer_GetClientData(wxItemContainer
*self
,int n
){
2779 wxPyClientData
* data
= (wxPyClientData
*)self
->GetClientObject(n
);
2781 Py_INCREF(data
->m_obj
);
2788 static void wxItemContainer_SetClientData(wxItemContainer
*self
,int n
,PyObject
*clientData
){
2789 wxPyClientData
* data
= new wxPyClientData(clientData
);
2790 self
->SetClientObject(n
, data
);
2794 static wxSizerItem
*new_wxSizerItem(wxWindow
*window
,int proportion
,int flag
,int border
,PyObject
*userData
=NULL
){
2795 wxPyUserData
* data
= NULL
;
2797 bool blocked
= wxPyBeginBlockThreads();
2798 data
= new wxPyUserData(userData
);
2799 wxPyEndBlockThreads(blocked
);
2801 return new wxSizerItem(window
, proportion
, flag
, border
, data
);
2803 static wxSizerItem
*new_wxSizerItem(int width
,int height
,int proportion
,int flag
,int border
,PyObject
*userData
=NULL
){
2804 wxPyUserData
* data
= NULL
;
2806 bool blocked
= wxPyBeginBlockThreads();
2807 data
= new wxPyUserData(userData
);
2808 wxPyEndBlockThreads(blocked
);
2810 return new wxSizerItem(width
, height
, proportion
, flag
, border
, data
);
2812 static wxSizerItem
*new_wxSizerItem(wxSizer
*sizer
,int proportion
,int flag
,int border
,PyObject
*userData
=NULL
){
2813 wxPyUserData
* data
= NULL
;
2815 bool blocked
= wxPyBeginBlockThreads();
2816 data
= new wxPyUserData(userData
);
2817 wxPyEndBlockThreads(blocked
);
2819 return new wxSizerItem(sizer
, proportion
, flag
, border
, data
);
2824 SWIG_CheckDoubleInRange(double value
, double min_value
,
2825 double max_value
, const char* errmsg
)
2827 if (value
< min_value
) {
2829 PyErr_Format(PyExc_OverflowError
,
2830 "value %g is less than %s minimum %g",
2831 value
, errmsg
, min_value
);
2834 } else if (value
> max_value
) {
2836 PyErr_Format(PyExc_OverflowError
,
2837 "value %g is greater than %s maximum %g",
2838 value
, errmsg
, max_value
);
2847 SWIG_AsVal_float(PyObject
*obj
, float *val
)
2849 const char* errmsg
= val
? "float" : (char*)0;
2851 if (SWIG_AsVal_double(obj
, &v
)) {
2852 if (SWIG_CheckDoubleInRange(v
, -FLT_MAX
, FLT_MAX
, errmsg
)) {
2853 if (val
) *val
= (float)(v
);
2862 SWIG_type_error(errmsg
, obj
);
2868 SWIGINTERNSHORT
float
2869 SWIG_As_float(PyObject
* obj
)
2872 if (!SWIG_AsVal_float(obj
, &v
)) {
2874 this is needed to make valgrind/purify happier.
2876 memset((void*)&v
, 0, sizeof(float));
2883 SWIG_Check_float(PyObject
* obj
)
2885 return SWIG_AsVal_float(obj
, (float*)0);
2889 /*@c:\\PROJECTS\\SWIG-cvs\\Lib\\python\\pymacros.swg,66,SWIG_define@*/
2890 #define SWIG_From_float PyFloat_FromDouble
2893 static PyObject
*wxSizerItem_GetUserData(wxSizerItem
*self
){
2894 wxPyUserData
* data
= (wxPyUserData
*)self
->GetUserData();
2896 Py_INCREF(data
->m_obj
);
2904 // Figure out the type of the sizer item
2906 struct wxPySizerItemInfo
{
2908 : window(NULL
), sizer(NULL
), gotSize(false),
2909 size(wxDefaultSize
), gotPos(false), pos(-1)
2920 static wxPySizerItemInfo
wxPySizerItemTypeHelper(PyObject
* item
, bool checkSize
, bool checkIdx
) {
2922 wxPySizerItemInfo info
;
2924 wxSize
* sizePtr
= &size
;
2926 // Find out what the type of the item is
2928 if ( ! wxPyConvertSwigPtr(item
, (void**)&info
.window
, wxT("wxWindow")) ) {
2933 if ( ! wxPyConvertSwigPtr(item
, (void**)&info
.sizer
, wxT("wxSizer")) ) {
2937 // try wxSize or (w,h)
2938 if ( checkSize
&& wxSize_helper(item
, &sizePtr
)) {
2939 info
.size
= *sizePtr
;
2940 info
.gotSize
= true;
2944 if (checkIdx
&& PyInt_Check(item
)) {
2945 info
.pos
= PyInt_AsLong(item
);
2951 if ( !(info
.window
|| info
.sizer
|| (checkSize
&& info
.gotSize
) || (checkIdx
&& info
.gotPos
)) ) {
2952 // no expected type, figure out what kind of error message to generate
2953 if ( !checkSize
&& !checkIdx
)
2954 PyErr_SetString(PyExc_TypeError
, "wxWindow or wxSizer expected for item");
2955 else if ( checkSize
&& !checkIdx
)
2956 PyErr_SetString(PyExc_TypeError
, "wxWindow, wxSizer, wxSize, or (w,h) expected for item");
2957 else if ( !checkSize
&& checkIdx
)
2958 PyErr_SetString(PyExc_TypeError
, "wxWindow, wxSizer or int (position) expected for item");
2960 // can this one happen?
2961 PyErr_SetString(PyExc_TypeError
, "wxWindow, wxSizer, wxSize, or (w,h) or int (position) expected for item");
2967 static void wxSizer__setOORInfo(wxSizer
*self
,PyObject
*_self
){
2968 if (!self
->GetClientObject())
2969 self
->SetClientObject(new wxPyOORClientData(_self
));
2971 static wxSizerItem
*wxSizer_Add(wxSizer
*self
,PyObject
*item
,int proportion
=0,int flag
=0,int border
=0,PyObject
*userData
=NULL
){
2973 wxPyUserData
* data
= NULL
;
2974 bool blocked
= wxPyBeginBlockThreads();
2975 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, true, false);
2976 if ( userData
&& (info
.window
|| info
.sizer
|| info
.gotSize
) )
2977 data
= new wxPyUserData(userData
);
2978 wxPyEndBlockThreads(blocked
);
2980 // Now call the real Add method if a valid item type was found
2982 return self
->Add(info
.window
, proportion
, flag
, border
, data
);
2983 else if ( info
.sizer
)
2984 return self
->Add(info
.sizer
, proportion
, flag
, border
, data
);
2985 else if (info
.gotSize
)
2986 return self
->Add(info
.size
.GetWidth(), info
.size
.GetHeight(),
2987 proportion
, flag
, border
, data
);
2991 static wxSizerItem
*wxSizer_Insert(wxSizer
*self
,int before
,PyObject
*item
,int proportion
=0,int flag
=0,int border
=0,PyObject
*userData
=NULL
){
2993 wxPyUserData
* data
= NULL
;
2994 bool blocked
= wxPyBeginBlockThreads();
2995 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, true, false);
2996 if ( userData
&& (info
.window
|| info
.sizer
|| info
.gotSize
) )
2997 data
= new wxPyUserData(userData
);
2998 wxPyEndBlockThreads(blocked
);
3000 // Now call the real Insert method if a valid item type was found
3002 return self
->Insert(before
, info
.window
, proportion
, flag
, border
, data
);
3003 else if ( info
.sizer
)
3004 return self
->Insert(before
, info
.sizer
, proportion
, flag
, border
, data
);
3005 else if (info
.gotSize
)
3006 return self
->Insert(before
, info
.size
.GetWidth(), info
.size
.GetHeight(),
3007 proportion
, flag
, border
, data
);
3011 static wxSizerItem
*wxSizer_Prepend(wxSizer
*self
,PyObject
*item
,int proportion
=0,int flag
=0,int border
=0,PyObject
*userData
=NULL
){
3013 wxPyUserData
* data
= NULL
;
3014 bool blocked
= wxPyBeginBlockThreads();
3015 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, true, false);
3016 if ( userData
&& (info
.window
|| info
.sizer
|| info
.gotSize
) )
3017 data
= new wxPyUserData(userData
);
3018 wxPyEndBlockThreads(blocked
);
3020 // Now call the real Prepend method if a valid item type was found
3022 return self
->Prepend(info
.window
, proportion
, flag
, border
, data
);
3023 else if ( info
.sizer
)
3024 return self
->Prepend(info
.sizer
, proportion
, flag
, border
, data
);
3025 else if (info
.gotSize
)
3026 return self
->Prepend(info
.size
.GetWidth(), info
.size
.GetHeight(),
3027 proportion
, flag
, border
, data
);
3031 static bool wxSizer_Remove(wxSizer
*self
,PyObject
*item
){
3032 bool blocked
= wxPyBeginBlockThreads();
3033 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, false, true);
3034 wxPyEndBlockThreads(blocked
);
3036 return self
->Remove(info
.window
);
3037 else if ( info
.sizer
)
3038 return self
->Remove(info
.sizer
);
3039 else if ( info
.gotPos
)
3040 return self
->Remove(info
.pos
);
3044 static bool wxSizer_Detach(wxSizer
*self
,PyObject
*item
){
3045 bool blocked
= wxPyBeginBlockThreads();
3046 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, false, true);
3047 wxPyEndBlockThreads(blocked
);
3049 return self
->Detach(info
.window
);
3050 else if ( info
.sizer
)
3051 return self
->Detach(info
.sizer
);
3052 else if ( info
.gotPos
)
3053 return self
->Detach(info
.pos
);
3057 static wxSizerItem
*wxSizer_GetItem(wxSizer
*self
,PyObject
*item
){
3058 bool blocked
= wxPyBeginBlockThreads();
3059 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, false, true);
3060 wxPyEndBlockThreads(blocked
);
3062 return self
->GetItem(info
.window
);
3063 else if ( info
.sizer
)
3064 return self
->GetItem(info
.sizer
);
3065 else if ( info
.gotPos
)
3066 return self
->GetItem(info
.pos
);
3070 static void wxSizer__SetItemMinSize(wxSizer
*self
,PyObject
*item
,wxSize
const &size
){
3071 bool blocked
= wxPyBeginBlockThreads();
3072 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, false, true);
3073 wxPyEndBlockThreads(blocked
);
3075 self
->SetItemMinSize(info
.window
, size
);
3076 else if ( info
.sizer
)
3077 self
->SetItemMinSize(info
.sizer
, size
);
3078 else if ( info
.gotPos
)
3079 self
->SetItemMinSize(info
.pos
, size
);
3081 static PyObject
*wxSizer_GetChildren(wxSizer
*self
){
3082 wxSizerItemList
& list
= self
->GetChildren();
3083 return wxPy_ConvertList(&list
);
3085 static bool wxSizer_Show(wxSizer
*self
,PyObject
*item
,bool show
=true,bool recursive
=false){
3086 bool blocked
= wxPyBeginBlockThreads();
3087 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, false, true);
3088 wxPyEndBlockThreads(blocked
);
3090 return self
->Show(info
.window
, show
, recursive
);
3091 else if ( info
.sizer
)
3092 return self
->Show(info
.sizer
, show
, recursive
);
3093 else if ( info
.gotPos
)
3094 return self
->Show(info
.pos
, show
);
3098 static bool wxSizer_IsShown(wxSizer
*self
,PyObject
*item
){
3099 bool blocked
= wxPyBeginBlockThreads();
3100 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, false, false);
3101 wxPyEndBlockThreads(blocked
);
3103 return self
->IsShown(info
.window
);
3104 else if ( info
.sizer
)
3105 return self
->IsShown(info
.sizer
);
3106 else if ( info
.gotPos
)
3107 return self
->IsShown(info
.pos
);
3113 IMP_PYCALLBACK___pure(wxPySizer
, wxSizer
, RecalcSizes
);
3114 IMP_PYCALLBACK_wxSize__pure(wxPySizer
, wxSizer
, CalcMin
);
3115 IMPLEMENT_DYNAMIC_CLASS(wxPySizer
, wxSizer
);
3120 bool wxGBPosition_helper(PyObject
* source
, wxGBPosition
** obj
)
3122 if (source
== Py_None
) {
3123 **obj
= wxGBPosition(-1,-1);
3126 return wxPyTwoIntItem_helper(source
, obj
, wxT("wxGBPosition"));
3129 bool wxGBSpan_helper(PyObject
* source
, wxGBSpan
** obj
)
3131 if (source
== Py_None
) {
3132 **obj
= wxGBSpan(-1,-1);
3135 return wxPyTwoIntItem_helper(source
, obj
, wxT("wxGBSpan"));
3139 static void wxGBPosition_Set(wxGBPosition
*self
,int row
=0,int col
=0){
3143 static PyObject
*wxGBPosition_Get(wxGBPosition
*self
){
3144 bool blocked
= wxPyBeginBlockThreads();
3145 PyObject
* tup
= PyTuple_New(2);
3146 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(self
->GetRow()));
3147 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(self
->GetCol()));
3148 wxPyEndBlockThreads(blocked
);
3151 static void wxGBSpan_Set(wxGBSpan
*self
,int rowspan
=1,int colspan
=1){
3152 self
->SetRowspan(rowspan
);
3153 self
->SetColspan(colspan
);
3155 static PyObject
*wxGBSpan_Get(wxGBSpan
*self
){
3156 bool blocked
= wxPyBeginBlockThreads();
3157 PyObject
* tup
= PyTuple_New(2);
3158 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(self
->GetRowspan()));
3159 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(self
->GetColspan()));
3160 wxPyEndBlockThreads(blocked
);
3163 static wxGBSizerItem
*new_wxGBSizerItem(wxWindow
*window
,wxGBPosition
const &pos
,wxGBSpan
const &span
,int flag
,int border
,PyObject
*userData
=NULL
){
3164 wxPyUserData
* data
= NULL
;
3166 bool blocked
= wxPyBeginBlockThreads();
3167 data
= new wxPyUserData(userData
);
3168 wxPyEndBlockThreads(blocked
);
3170 return new wxGBSizerItem(window
, pos
, span
, flag
, border
, data
);
3172 static wxGBSizerItem
*new_wxGBSizerItem(wxSizer
*sizer
,wxGBPosition
const &pos
,wxGBSpan
const &span
,int flag
,int border
,PyObject
*userData
=NULL
){
3173 wxPyUserData
* data
= NULL
;
3175 bool blocked
= wxPyBeginBlockThreads();
3176 data
= new wxPyUserData(userData
);
3177 wxPyEndBlockThreads(blocked
);
3179 return new wxGBSizerItem(sizer
, pos
, span
, flag
, border
, data
);
3181 static wxGBSizerItem
*new_wxGBSizerItem(int width
,int height
,wxGBPosition
const &pos
,wxGBSpan
const &span
,int flag
,int border
,PyObject
*userData
=NULL
){
3182 wxPyUserData
* data
= NULL
;
3184 bool blocked
= wxPyBeginBlockThreads();
3185 data
= new wxPyUserData(userData
);
3186 wxPyEndBlockThreads(blocked
);
3188 return new wxGBSizerItem(width
, height
, pos
, span
, flag
, border
, data
);
3190 static wxGBPosition
wxGBSizerItem_GetEndPos(wxGBSizerItem
*self
){
3192 self
->GetEndPos(row
, col
);
3193 return wxGBPosition(row
, col
);
3195 static wxGBSizerItem
*wxGridBagSizer_Add(wxGridBagSizer
*self
,PyObject
*item
,wxGBPosition
const &pos
,wxGBSpan
const &span
=wxDefaultSpan
,int flag
=0,int border
=0,PyObject
*userData
=NULL
){
3197 wxPyUserData
* data
= NULL
;
3198 bool blocked
= wxPyBeginBlockThreads();
3199 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, true, false);
3200 if ( userData
&& (info
.window
|| info
.sizer
|| info
.gotSize
) )
3201 data
= new wxPyUserData(userData
);
3202 wxPyEndBlockThreads(blocked
);
3204 // Now call the real Add method if a valid item type was found
3206 return (wxGBSizerItem
*)self
->Add(info
.window
, pos
, span
, flag
, border
, data
);
3207 else if ( info
.sizer
)
3208 return (wxGBSizerItem
*)self
->Add(info
.sizer
, pos
, span
, flag
, border
, data
);
3209 else if (info
.gotSize
)
3210 return (wxGBSizerItem
*)self
->Add(info
.size
.GetWidth(), info
.size
.GetHeight(),
3211 pos
, span
, flag
, border
, data
);
3219 static int _wrap_EmptyString_set(PyObject
*) {
3220 PyErr_SetString(PyExc_TypeError
,"Variable EmptyString is read-only.");
3225 static PyObject
*_wrap_EmptyString_get(void) {
3230 pyobj
= PyUnicode_FromWideChar((&wxPyEmptyString
)->c_str(), (&wxPyEmptyString
)->Len());
3232 pyobj
= PyString_FromStringAndSize((&wxPyEmptyString
)->c_str(), (&wxPyEmptyString
)->Len());
3239 static PyObject
*_wrap_Object_GetClassName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3240 PyObject
*resultobj
;
3241 wxObject
*arg1
= (wxObject
*) 0 ;
3243 PyObject
* obj0
= 0 ;
3245 (char *) "self", NULL
3248 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Object_GetClassName",kwnames
,&obj0
)) goto fail
;
3249 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxObject
, SWIG_POINTER_EXCEPTION
| 0);
3250 if (SWIG_arg_fail(1)) SWIG_fail
;
3252 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3253 result
= wxObject_GetClassName(arg1
);
3255 wxPyEndAllowThreads(__tstate
);
3256 if (PyErr_Occurred()) SWIG_fail
;
3260 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3262 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3271 static PyObject
*_wrap_Object_Destroy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3272 PyObject
*resultobj
;
3273 wxObject
*arg1
= (wxObject
*) 0 ;
3274 PyObject
* obj0
= 0 ;
3276 (char *) "self", NULL
3279 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Object_Destroy",kwnames
,&obj0
)) goto fail
;
3280 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxObject
, SWIG_POINTER_EXCEPTION
| 0);
3281 if (SWIG_arg_fail(1)) SWIG_fail
;
3283 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3284 wxObject_Destroy(arg1
);
3286 wxPyEndAllowThreads(__tstate
);
3287 if (PyErr_Occurred()) SWIG_fail
;
3289 Py_INCREF(Py_None
); resultobj
= Py_None
;
3296 static PyObject
* Object_swigregister(PyObject
*, PyObject
*args
) {
3298 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3299 SWIG_TypeClientData(SWIGTYPE_p_wxObject
, obj
);
3301 return Py_BuildValue((char *)"");
3303 static PyObject
*_wrap_Size_width_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3304 PyObject
*resultobj
;
3305 wxSize
*arg1
= (wxSize
*) 0 ;
3307 PyObject
* obj0
= 0 ;
3308 PyObject
* obj1
= 0 ;
3310 (char *) "self",(char *) "x", NULL
3313 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size_width_set",kwnames
,&obj0
,&obj1
)) goto fail
;
3314 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
| 0);
3315 if (SWIG_arg_fail(1)) SWIG_fail
;
3317 arg2
= (int)(SWIG_As_int(obj1
));
3318 if (SWIG_arg_fail(2)) SWIG_fail
;
3320 if (arg1
) (arg1
)->x
= arg2
;
3322 Py_INCREF(Py_None
); resultobj
= Py_None
;
3329 static PyObject
*_wrap_Size_width_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3330 PyObject
*resultobj
;
3331 wxSize
*arg1
= (wxSize
*) 0 ;
3333 PyObject
* obj0
= 0 ;
3335 (char *) "self", NULL
3338 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Size_width_get",kwnames
,&obj0
)) goto fail
;
3339 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
| 0);
3340 if (SWIG_arg_fail(1)) SWIG_fail
;
3341 result
= (int) ((arg1
)->x
);
3344 resultobj
= SWIG_From_int((int)(result
));
3352 static PyObject
*_wrap_Size_height_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3353 PyObject
*resultobj
;
3354 wxSize
*arg1
= (wxSize
*) 0 ;
3356 PyObject
* obj0
= 0 ;
3357 PyObject
* obj1
= 0 ;
3359 (char *) "self",(char *) "y", NULL
3362 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size_height_set",kwnames
,&obj0
,&obj1
)) goto fail
;
3363 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
| 0);
3364 if (SWIG_arg_fail(1)) SWIG_fail
;
3366 arg2
= (int)(SWIG_As_int(obj1
));
3367 if (SWIG_arg_fail(2)) SWIG_fail
;
3369 if (arg1
) (arg1
)->y
= arg2
;
3371 Py_INCREF(Py_None
); resultobj
= Py_None
;
3378 static PyObject
*_wrap_Size_height_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3379 PyObject
*resultobj
;
3380 wxSize
*arg1
= (wxSize
*) 0 ;
3382 PyObject
* obj0
= 0 ;
3384 (char *) "self", NULL
3387 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Size_height_get",kwnames
,&obj0
)) goto fail
;
3388 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
| 0);
3389 if (SWIG_arg_fail(1)) SWIG_fail
;
3390 result
= (int) ((arg1
)->y
);
3393 resultobj
= SWIG_From_int((int)(result
));
3401 static PyObject
*_wrap_new_Size(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3402 PyObject
*resultobj
;
3403 int arg1
= (int) 0 ;
3404 int arg2
= (int) 0 ;
3406 PyObject
* obj0
= 0 ;
3407 PyObject
* obj1
= 0 ;
3409 (char *) "w",(char *) "h", NULL
3412 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Size",kwnames
,&obj0
,&obj1
)) goto fail
;
3415 arg1
= (int)(SWIG_As_int(obj0
));
3416 if (SWIG_arg_fail(1)) SWIG_fail
;
3421 arg2
= (int)(SWIG_As_int(obj1
));
3422 if (SWIG_arg_fail(2)) SWIG_fail
;
3426 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3427 result
= (wxSize
*)new wxSize(arg1
,arg2
);
3429 wxPyEndAllowThreads(__tstate
);
3430 if (PyErr_Occurred()) SWIG_fail
;
3432 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSize
, 1);
3439 static PyObject
*_wrap_delete_Size(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3440 PyObject
*resultobj
;
3441 wxSize
*arg1
= (wxSize
*) 0 ;
3442 PyObject
* obj0
= 0 ;
3444 (char *) "self", NULL
3447 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Size",kwnames
,&obj0
)) goto fail
;
3448 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
| 0);
3449 if (SWIG_arg_fail(1)) SWIG_fail
;
3451 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3454 wxPyEndAllowThreads(__tstate
);
3455 if (PyErr_Occurred()) SWIG_fail
;
3457 Py_INCREF(Py_None
); resultobj
= Py_None
;
3464 static PyObject
*_wrap_Size___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3465 PyObject
*resultobj
;
3466 wxSize
*arg1
= (wxSize
*) 0 ;
3470 PyObject
* obj0
= 0 ;
3471 PyObject
* obj1
= 0 ;
3473 (char *) "self",(char *) "sz", NULL
3476 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
3477 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
| 0);
3478 if (SWIG_arg_fail(1)) SWIG_fail
;
3481 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
3484 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3485 result
= (bool)(arg1
)->operator ==((wxSize
const &)*arg2
);
3487 wxPyEndAllowThreads(__tstate
);
3488 if (PyErr_Occurred()) SWIG_fail
;
3491 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3499 static PyObject
*_wrap_Size___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3500 PyObject
*resultobj
;
3501 wxSize
*arg1
= (wxSize
*) 0 ;
3505 PyObject
* obj0
= 0 ;
3506 PyObject
* obj1
= 0 ;
3508 (char *) "self",(char *) "sz", NULL
3511 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
3512 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
| 0);
3513 if (SWIG_arg_fail(1)) SWIG_fail
;
3516 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
3519 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3520 result
= (bool)(arg1
)->operator !=((wxSize
const &)*arg2
);
3522 wxPyEndAllowThreads(__tstate
);
3523 if (PyErr_Occurred()) SWIG_fail
;
3526 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3534 static PyObject
*_wrap_Size___add__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3535 PyObject
*resultobj
;
3536 wxSize
*arg1
= (wxSize
*) 0 ;
3540 PyObject
* obj0
= 0 ;
3541 PyObject
* obj1
= 0 ;
3543 (char *) "self",(char *) "sz", NULL
3546 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size___add__",kwnames
,&obj0
,&obj1
)) goto fail
;
3547 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
| 0);
3548 if (SWIG_arg_fail(1)) SWIG_fail
;
3551 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
3554 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3555 result
= (arg1
)->operator +((wxSize
const &)*arg2
);
3557 wxPyEndAllowThreads(__tstate
);
3558 if (PyErr_Occurred()) SWIG_fail
;
3562 resultptr
= new wxSize((wxSize
&)(result
));
3563 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
3571 static PyObject
*_wrap_Size___sub__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3572 PyObject
*resultobj
;
3573 wxSize
*arg1
= (wxSize
*) 0 ;
3577 PyObject
* obj0
= 0 ;
3578 PyObject
* obj1
= 0 ;
3580 (char *) "self",(char *) "sz", NULL
3583 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size___sub__",kwnames
,&obj0
,&obj1
)) goto fail
;
3584 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
| 0);
3585 if (SWIG_arg_fail(1)) SWIG_fail
;
3588 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
3591 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3592 result
= (arg1
)->operator -((wxSize
const &)*arg2
);
3594 wxPyEndAllowThreads(__tstate
);
3595 if (PyErr_Occurred()) SWIG_fail
;
3599 resultptr
= new wxSize((wxSize
&)(result
));
3600 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
3608 static PyObject
*_wrap_Size_IncTo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3609 PyObject
*resultobj
;
3610 wxSize
*arg1
= (wxSize
*) 0 ;
3613 PyObject
* obj0
= 0 ;
3614 PyObject
* obj1
= 0 ;
3616 (char *) "self",(char *) "sz", NULL
3619 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size_IncTo",kwnames
,&obj0
,&obj1
)) goto fail
;
3620 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
| 0);
3621 if (SWIG_arg_fail(1)) SWIG_fail
;
3624 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
3627 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3628 (arg1
)->IncTo((wxSize
const &)*arg2
);
3630 wxPyEndAllowThreads(__tstate
);
3631 if (PyErr_Occurred()) SWIG_fail
;
3633 Py_INCREF(Py_None
); resultobj
= Py_None
;
3640 static PyObject
*_wrap_Size_DecTo(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_DecTo",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
)->DecTo((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_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3673 PyObject
*resultobj
;
3674 wxSize
*arg1
= (wxSize
*) 0 ;
3677 PyObject
* obj0
= 0 ;
3678 PyObject
* obj1
= 0 ;
3679 PyObject
* obj2
= 0 ;
3681 (char *) "self",(char *) "w",(char *) "h", NULL
3684 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Size_Set",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3685 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
| 0);
3686 if (SWIG_arg_fail(1)) SWIG_fail
;
3688 arg2
= (int)(SWIG_As_int(obj1
));
3689 if (SWIG_arg_fail(2)) SWIG_fail
;
3692 arg3
= (int)(SWIG_As_int(obj2
));
3693 if (SWIG_arg_fail(3)) SWIG_fail
;
3696 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3697 (arg1
)->Set(arg2
,arg3
);
3699 wxPyEndAllowThreads(__tstate
);
3700 if (PyErr_Occurred()) SWIG_fail
;
3702 Py_INCREF(Py_None
); resultobj
= Py_None
;
3709 static PyObject
*_wrap_Size_SetWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3710 PyObject
*resultobj
;
3711 wxSize
*arg1
= (wxSize
*) 0 ;
3713 PyObject
* obj0
= 0 ;
3714 PyObject
* obj1
= 0 ;
3716 (char *) "self",(char *) "w", NULL
3719 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size_SetWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
3720 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
| 0);
3721 if (SWIG_arg_fail(1)) SWIG_fail
;
3723 arg2
= (int)(SWIG_As_int(obj1
));
3724 if (SWIG_arg_fail(2)) SWIG_fail
;
3727 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3728 (arg1
)->SetWidth(arg2
);
3730 wxPyEndAllowThreads(__tstate
);
3731 if (PyErr_Occurred()) SWIG_fail
;
3733 Py_INCREF(Py_None
); resultobj
= Py_None
;
3740 static PyObject
*_wrap_Size_SetHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3741 PyObject
*resultobj
;
3742 wxSize
*arg1
= (wxSize
*) 0 ;
3744 PyObject
* obj0
= 0 ;
3745 PyObject
* obj1
= 0 ;
3747 (char *) "self",(char *) "h", NULL
3750 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size_SetHeight",kwnames
,&obj0
,&obj1
)) goto fail
;
3751 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
| 0);
3752 if (SWIG_arg_fail(1)) SWIG_fail
;
3754 arg2
= (int)(SWIG_As_int(obj1
));
3755 if (SWIG_arg_fail(2)) SWIG_fail
;
3758 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3759 (arg1
)->SetHeight(arg2
);
3761 wxPyEndAllowThreads(__tstate
);
3762 if (PyErr_Occurred()) SWIG_fail
;
3764 Py_INCREF(Py_None
); resultobj
= Py_None
;
3771 static PyObject
*_wrap_Size_GetWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3772 PyObject
*resultobj
;
3773 wxSize
*arg1
= (wxSize
*) 0 ;
3775 PyObject
* obj0
= 0 ;
3777 (char *) "self", NULL
3780 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Size_GetWidth",kwnames
,&obj0
)) goto fail
;
3781 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
| 0);
3782 if (SWIG_arg_fail(1)) SWIG_fail
;
3784 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3785 result
= (int)((wxSize
const *)arg1
)->GetWidth();
3787 wxPyEndAllowThreads(__tstate
);
3788 if (PyErr_Occurred()) SWIG_fail
;
3791 resultobj
= SWIG_From_int((int)(result
));
3799 static PyObject
*_wrap_Size_GetHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3800 PyObject
*resultobj
;
3801 wxSize
*arg1
= (wxSize
*) 0 ;
3803 PyObject
* obj0
= 0 ;
3805 (char *) "self", NULL
3808 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Size_GetHeight",kwnames
,&obj0
)) goto fail
;
3809 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
| 0);
3810 if (SWIG_arg_fail(1)) SWIG_fail
;
3812 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3813 result
= (int)((wxSize
const *)arg1
)->GetHeight();
3815 wxPyEndAllowThreads(__tstate
);
3816 if (PyErr_Occurred()) SWIG_fail
;
3819 resultobj
= SWIG_From_int((int)(result
));
3827 static PyObject
*_wrap_Size_IsFullySpecified(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3828 PyObject
*resultobj
;
3829 wxSize
*arg1
= (wxSize
*) 0 ;
3831 PyObject
* obj0
= 0 ;
3833 (char *) "self", NULL
3836 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Size_IsFullySpecified",kwnames
,&obj0
)) goto fail
;
3837 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
| 0);
3838 if (SWIG_arg_fail(1)) SWIG_fail
;
3840 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3841 result
= (bool)((wxSize
const *)arg1
)->IsFullySpecified();
3843 wxPyEndAllowThreads(__tstate
);
3844 if (PyErr_Occurred()) SWIG_fail
;
3847 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3855 static PyObject
*_wrap_Size_SetDefaults(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3856 PyObject
*resultobj
;
3857 wxSize
*arg1
= (wxSize
*) 0 ;
3860 PyObject
* obj0
= 0 ;
3861 PyObject
* obj1
= 0 ;
3863 (char *) "self",(char *) "size", NULL
3866 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size_SetDefaults",kwnames
,&obj0
,&obj1
)) goto fail
;
3867 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
| 0);
3868 if (SWIG_arg_fail(1)) SWIG_fail
;
3871 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
3874 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3875 (arg1
)->SetDefaults((wxSize
const &)*arg2
);
3877 wxPyEndAllowThreads(__tstate
);
3878 if (PyErr_Occurred()) SWIG_fail
;
3880 Py_INCREF(Py_None
); resultobj
= Py_None
;
3887 static PyObject
*_wrap_Size_Get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3888 PyObject
*resultobj
;
3889 wxSize
*arg1
= (wxSize
*) 0 ;
3891 PyObject
* obj0
= 0 ;
3893 (char *) "self", NULL
3896 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Size_Get",kwnames
,&obj0
)) goto fail
;
3897 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
| 0);
3898 if (SWIG_arg_fail(1)) SWIG_fail
;
3900 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3901 result
= (PyObject
*)wxSize_Get(arg1
);
3903 wxPyEndAllowThreads(__tstate
);
3904 if (PyErr_Occurred()) SWIG_fail
;
3913 static PyObject
* Size_swigregister(PyObject
*, PyObject
*args
) {
3915 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3916 SWIG_TypeClientData(SWIGTYPE_p_wxSize
, obj
);
3918 return Py_BuildValue((char *)"");
3920 static PyObject
*_wrap_RealPoint_x_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3921 PyObject
*resultobj
;
3922 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
3924 PyObject
* obj0
= 0 ;
3925 PyObject
* obj1
= 0 ;
3927 (char *) "self",(char *) "x", NULL
3930 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RealPoint_x_set",kwnames
,&obj0
,&obj1
)) goto fail
;
3931 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRealPoint
, SWIG_POINTER_EXCEPTION
| 0);
3932 if (SWIG_arg_fail(1)) SWIG_fail
;
3934 arg2
= (double)(SWIG_As_double(obj1
));
3935 if (SWIG_arg_fail(2)) SWIG_fail
;
3937 if (arg1
) (arg1
)->x
= arg2
;
3939 Py_INCREF(Py_None
); resultobj
= Py_None
;
3946 static PyObject
*_wrap_RealPoint_x_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3947 PyObject
*resultobj
;
3948 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
3950 PyObject
* obj0
= 0 ;
3952 (char *) "self", NULL
3955 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RealPoint_x_get",kwnames
,&obj0
)) goto fail
;
3956 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRealPoint
, SWIG_POINTER_EXCEPTION
| 0);
3957 if (SWIG_arg_fail(1)) SWIG_fail
;
3958 result
= (double) ((arg1
)->x
);
3961 resultobj
= SWIG_From_double((double)(result
));
3969 static PyObject
*_wrap_RealPoint_y_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3970 PyObject
*resultobj
;
3971 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
3973 PyObject
* obj0
= 0 ;
3974 PyObject
* obj1
= 0 ;
3976 (char *) "self",(char *) "y", NULL
3979 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RealPoint_y_set",kwnames
,&obj0
,&obj1
)) goto fail
;
3980 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRealPoint
, SWIG_POINTER_EXCEPTION
| 0);
3981 if (SWIG_arg_fail(1)) SWIG_fail
;
3983 arg2
= (double)(SWIG_As_double(obj1
));
3984 if (SWIG_arg_fail(2)) SWIG_fail
;
3986 if (arg1
) (arg1
)->y
= arg2
;
3988 Py_INCREF(Py_None
); resultobj
= Py_None
;
3995 static PyObject
*_wrap_RealPoint_y_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3996 PyObject
*resultobj
;
3997 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
3999 PyObject
* obj0
= 0 ;
4001 (char *) "self", NULL
4004 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RealPoint_y_get",kwnames
,&obj0
)) goto fail
;
4005 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRealPoint
, SWIG_POINTER_EXCEPTION
| 0);
4006 if (SWIG_arg_fail(1)) SWIG_fail
;
4007 result
= (double) ((arg1
)->y
);
4010 resultobj
= SWIG_From_double((double)(result
));
4018 static PyObject
*_wrap_new_RealPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4019 PyObject
*resultobj
;
4020 double arg1
= (double) 0.0 ;
4021 double arg2
= (double) 0.0 ;
4022 wxRealPoint
*result
;
4023 PyObject
* obj0
= 0 ;
4024 PyObject
* obj1
= 0 ;
4026 (char *) "x",(char *) "y", NULL
4029 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_RealPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
4032 arg1
= (double)(SWIG_As_double(obj0
));
4033 if (SWIG_arg_fail(1)) SWIG_fail
;
4038 arg2
= (double)(SWIG_As_double(obj1
));
4039 if (SWIG_arg_fail(2)) SWIG_fail
;
4043 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4044 result
= (wxRealPoint
*)new wxRealPoint(arg1
,arg2
);
4046 wxPyEndAllowThreads(__tstate
);
4047 if (PyErr_Occurred()) SWIG_fail
;
4049 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRealPoint
, 1);
4056 static PyObject
*_wrap_delete_RealPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4057 PyObject
*resultobj
;
4058 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
4059 PyObject
* obj0
= 0 ;
4061 (char *) "self", NULL
4064 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_RealPoint",kwnames
,&obj0
)) goto fail
;
4065 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRealPoint
, SWIG_POINTER_EXCEPTION
| 0);
4066 if (SWIG_arg_fail(1)) SWIG_fail
;
4068 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4071 wxPyEndAllowThreads(__tstate
);
4072 if (PyErr_Occurred()) SWIG_fail
;
4074 Py_INCREF(Py_None
); resultobj
= Py_None
;
4081 static PyObject
*_wrap_RealPoint___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4082 PyObject
*resultobj
;
4083 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
4084 wxRealPoint
*arg2
= 0 ;
4087 PyObject
* obj0
= 0 ;
4088 PyObject
* obj1
= 0 ;
4090 (char *) "self",(char *) "pt", NULL
4093 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RealPoint___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
4094 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRealPoint
, SWIG_POINTER_EXCEPTION
| 0);
4095 if (SWIG_arg_fail(1)) SWIG_fail
;
4098 if ( ! wxRealPoint_helper(obj1
, &arg2
)) SWIG_fail
;
4101 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4102 result
= (bool)(arg1
)->operator ==((wxRealPoint
const &)*arg2
);
4104 wxPyEndAllowThreads(__tstate
);
4105 if (PyErr_Occurred()) SWIG_fail
;
4108 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4116 static PyObject
*_wrap_RealPoint___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4117 PyObject
*resultobj
;
4118 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
4119 wxRealPoint
*arg2
= 0 ;
4122 PyObject
* obj0
= 0 ;
4123 PyObject
* obj1
= 0 ;
4125 (char *) "self",(char *) "pt", NULL
4128 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RealPoint___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
4129 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRealPoint
, SWIG_POINTER_EXCEPTION
| 0);
4130 if (SWIG_arg_fail(1)) SWIG_fail
;
4133 if ( ! wxRealPoint_helper(obj1
, &arg2
)) SWIG_fail
;
4136 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4137 result
= (bool)(arg1
)->operator !=((wxRealPoint
const &)*arg2
);
4139 wxPyEndAllowThreads(__tstate
);
4140 if (PyErr_Occurred()) SWIG_fail
;
4143 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4151 static PyObject
*_wrap_RealPoint___add__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4152 PyObject
*resultobj
;
4153 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
4154 wxRealPoint
*arg2
= 0 ;
4157 PyObject
* obj0
= 0 ;
4158 PyObject
* obj1
= 0 ;
4160 (char *) "self",(char *) "pt", NULL
4163 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RealPoint___add__",kwnames
,&obj0
,&obj1
)) goto fail
;
4164 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRealPoint
, SWIG_POINTER_EXCEPTION
| 0);
4165 if (SWIG_arg_fail(1)) SWIG_fail
;
4168 if ( ! wxRealPoint_helper(obj1
, &arg2
)) SWIG_fail
;
4171 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4172 result
= (arg1
)->operator +((wxRealPoint
const &)*arg2
);
4174 wxPyEndAllowThreads(__tstate
);
4175 if (PyErr_Occurred()) SWIG_fail
;
4178 wxRealPoint
* resultptr
;
4179 resultptr
= new wxRealPoint((wxRealPoint
&)(result
));
4180 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRealPoint
, 1);
4188 static PyObject
*_wrap_RealPoint___sub__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4189 PyObject
*resultobj
;
4190 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
4191 wxRealPoint
*arg2
= 0 ;
4194 PyObject
* obj0
= 0 ;
4195 PyObject
* obj1
= 0 ;
4197 (char *) "self",(char *) "pt", NULL
4200 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RealPoint___sub__",kwnames
,&obj0
,&obj1
)) goto fail
;
4201 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRealPoint
, SWIG_POINTER_EXCEPTION
| 0);
4202 if (SWIG_arg_fail(1)) SWIG_fail
;
4205 if ( ! wxRealPoint_helper(obj1
, &arg2
)) SWIG_fail
;
4208 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4209 result
= (arg1
)->operator -((wxRealPoint
const &)*arg2
);
4211 wxPyEndAllowThreads(__tstate
);
4212 if (PyErr_Occurred()) SWIG_fail
;
4215 wxRealPoint
* resultptr
;
4216 resultptr
= new wxRealPoint((wxRealPoint
&)(result
));
4217 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRealPoint
, 1);
4225 static PyObject
*_wrap_RealPoint_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4226 PyObject
*resultobj
;
4227 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
4230 PyObject
* obj0
= 0 ;
4231 PyObject
* obj1
= 0 ;
4232 PyObject
* obj2
= 0 ;
4234 (char *) "self",(char *) "x",(char *) "y", NULL
4237 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:RealPoint_Set",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4238 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRealPoint
, SWIG_POINTER_EXCEPTION
| 0);
4239 if (SWIG_arg_fail(1)) SWIG_fail
;
4241 arg2
= (double)(SWIG_As_double(obj1
));
4242 if (SWIG_arg_fail(2)) SWIG_fail
;
4245 arg3
= (double)(SWIG_As_double(obj2
));
4246 if (SWIG_arg_fail(3)) SWIG_fail
;
4249 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4250 wxRealPoint_Set(arg1
,arg2
,arg3
);
4252 wxPyEndAllowThreads(__tstate
);
4253 if (PyErr_Occurred()) SWIG_fail
;
4255 Py_INCREF(Py_None
); resultobj
= Py_None
;
4262 static PyObject
*_wrap_RealPoint_Get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4263 PyObject
*resultobj
;
4264 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
4266 PyObject
* obj0
= 0 ;
4268 (char *) "self", NULL
4271 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RealPoint_Get",kwnames
,&obj0
)) goto fail
;
4272 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRealPoint
, SWIG_POINTER_EXCEPTION
| 0);
4273 if (SWIG_arg_fail(1)) SWIG_fail
;
4275 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4276 result
= (PyObject
*)wxRealPoint_Get(arg1
);
4278 wxPyEndAllowThreads(__tstate
);
4279 if (PyErr_Occurred()) SWIG_fail
;
4288 static PyObject
* RealPoint_swigregister(PyObject
*, PyObject
*args
) {
4290 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4291 SWIG_TypeClientData(SWIGTYPE_p_wxRealPoint
, obj
);
4293 return Py_BuildValue((char *)"");
4295 static PyObject
*_wrap_Point_x_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4296 PyObject
*resultobj
;
4297 wxPoint
*arg1
= (wxPoint
*) 0 ;
4299 PyObject
* obj0
= 0 ;
4300 PyObject
* obj1
= 0 ;
4302 (char *) "self",(char *) "x", NULL
4305 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point_x_set",kwnames
,&obj0
,&obj1
)) goto fail
;
4306 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint
, SWIG_POINTER_EXCEPTION
| 0);
4307 if (SWIG_arg_fail(1)) SWIG_fail
;
4309 arg2
= (int)(SWIG_As_int(obj1
));
4310 if (SWIG_arg_fail(2)) SWIG_fail
;
4312 if (arg1
) (arg1
)->x
= arg2
;
4314 Py_INCREF(Py_None
); resultobj
= Py_None
;
4321 static PyObject
*_wrap_Point_x_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4322 PyObject
*resultobj
;
4323 wxPoint
*arg1
= (wxPoint
*) 0 ;
4325 PyObject
* obj0
= 0 ;
4327 (char *) "self", NULL
4330 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point_x_get",kwnames
,&obj0
)) goto fail
;
4331 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint
, SWIG_POINTER_EXCEPTION
| 0);
4332 if (SWIG_arg_fail(1)) SWIG_fail
;
4333 result
= (int) ((arg1
)->x
);
4336 resultobj
= SWIG_From_int((int)(result
));
4344 static PyObject
*_wrap_Point_y_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4345 PyObject
*resultobj
;
4346 wxPoint
*arg1
= (wxPoint
*) 0 ;
4348 PyObject
* obj0
= 0 ;
4349 PyObject
* obj1
= 0 ;
4351 (char *) "self",(char *) "y", NULL
4354 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point_y_set",kwnames
,&obj0
,&obj1
)) goto fail
;
4355 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint
, SWIG_POINTER_EXCEPTION
| 0);
4356 if (SWIG_arg_fail(1)) SWIG_fail
;
4358 arg2
= (int)(SWIG_As_int(obj1
));
4359 if (SWIG_arg_fail(2)) SWIG_fail
;
4361 if (arg1
) (arg1
)->y
= arg2
;
4363 Py_INCREF(Py_None
); resultobj
= Py_None
;
4370 static PyObject
*_wrap_Point_y_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4371 PyObject
*resultobj
;
4372 wxPoint
*arg1
= (wxPoint
*) 0 ;
4374 PyObject
* obj0
= 0 ;
4376 (char *) "self", NULL
4379 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point_y_get",kwnames
,&obj0
)) goto fail
;
4380 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint
, SWIG_POINTER_EXCEPTION
| 0);
4381 if (SWIG_arg_fail(1)) SWIG_fail
;
4382 result
= (int) ((arg1
)->y
);
4385 resultobj
= SWIG_From_int((int)(result
));
4393 static PyObject
*_wrap_new_Point(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4394 PyObject
*resultobj
;
4395 int arg1
= (int) 0 ;
4396 int arg2
= (int) 0 ;
4398 PyObject
* obj0
= 0 ;
4399 PyObject
* obj1
= 0 ;
4401 (char *) "x",(char *) "y", NULL
4404 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Point",kwnames
,&obj0
,&obj1
)) goto fail
;
4407 arg1
= (int)(SWIG_As_int(obj0
));
4408 if (SWIG_arg_fail(1)) SWIG_fail
;
4413 arg2
= (int)(SWIG_As_int(obj1
));
4414 if (SWIG_arg_fail(2)) SWIG_fail
;
4418 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4419 result
= (wxPoint
*)new wxPoint(arg1
,arg2
);
4421 wxPyEndAllowThreads(__tstate
);
4422 if (PyErr_Occurred()) SWIG_fail
;
4424 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint
, 1);
4431 static PyObject
*_wrap_delete_Point(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4432 PyObject
*resultobj
;
4433 wxPoint
*arg1
= (wxPoint
*) 0 ;
4434 PyObject
* obj0
= 0 ;
4436 (char *) "self", NULL
4439 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Point",kwnames
,&obj0
)) goto fail
;
4440 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint
, SWIG_POINTER_EXCEPTION
| 0);
4441 if (SWIG_arg_fail(1)) SWIG_fail
;
4443 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4446 wxPyEndAllowThreads(__tstate
);
4447 if (PyErr_Occurred()) SWIG_fail
;
4449 Py_INCREF(Py_None
); resultobj
= Py_None
;
4456 static PyObject
*_wrap_Point___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4457 PyObject
*resultobj
;
4458 wxPoint
*arg1
= (wxPoint
*) 0 ;
4462 PyObject
* obj0
= 0 ;
4463 PyObject
* obj1
= 0 ;
4465 (char *) "self",(char *) "pt", NULL
4468 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
4469 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint
, SWIG_POINTER_EXCEPTION
| 0);
4470 if (SWIG_arg_fail(1)) SWIG_fail
;
4473 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
4476 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4477 result
= (bool)(arg1
)->operator ==((wxPoint
const &)*arg2
);
4479 wxPyEndAllowThreads(__tstate
);
4480 if (PyErr_Occurred()) SWIG_fail
;
4483 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4491 static PyObject
*_wrap_Point___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4492 PyObject
*resultobj
;
4493 wxPoint
*arg1
= (wxPoint
*) 0 ;
4497 PyObject
* obj0
= 0 ;
4498 PyObject
* obj1
= 0 ;
4500 (char *) "self",(char *) "pt", NULL
4503 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
4504 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint
, SWIG_POINTER_EXCEPTION
| 0);
4505 if (SWIG_arg_fail(1)) SWIG_fail
;
4508 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
4511 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4512 result
= (bool)(arg1
)->operator !=((wxPoint
const &)*arg2
);
4514 wxPyEndAllowThreads(__tstate
);
4515 if (PyErr_Occurred()) SWIG_fail
;
4518 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4526 static PyObject
*_wrap_Point___add__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4527 PyObject
*resultobj
;
4528 wxPoint
*arg1
= (wxPoint
*) 0 ;
4532 PyObject
* obj0
= 0 ;
4533 PyObject
* obj1
= 0 ;
4535 (char *) "self",(char *) "pt", NULL
4538 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point___add__",kwnames
,&obj0
,&obj1
)) goto fail
;
4539 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint
, SWIG_POINTER_EXCEPTION
| 0);
4540 if (SWIG_arg_fail(1)) SWIG_fail
;
4543 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
4546 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4547 result
= (arg1
)->operator +((wxPoint
const &)*arg2
);
4549 wxPyEndAllowThreads(__tstate
);
4550 if (PyErr_Occurred()) SWIG_fail
;
4553 wxPoint
* resultptr
;
4554 resultptr
= new wxPoint((wxPoint
&)(result
));
4555 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
4563 static PyObject
*_wrap_Point___sub__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4564 PyObject
*resultobj
;
4565 wxPoint
*arg1
= (wxPoint
*) 0 ;
4569 PyObject
* obj0
= 0 ;
4570 PyObject
* obj1
= 0 ;
4572 (char *) "self",(char *) "pt", NULL
4575 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point___sub__",kwnames
,&obj0
,&obj1
)) goto fail
;
4576 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint
, SWIG_POINTER_EXCEPTION
| 0);
4577 if (SWIG_arg_fail(1)) SWIG_fail
;
4580 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
4583 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4584 result
= (arg1
)->operator -((wxPoint
const &)*arg2
);
4586 wxPyEndAllowThreads(__tstate
);
4587 if (PyErr_Occurred()) SWIG_fail
;
4590 wxPoint
* resultptr
;
4591 resultptr
= new wxPoint((wxPoint
&)(result
));
4592 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
4600 static PyObject
*_wrap_Point___iadd__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4601 PyObject
*resultobj
;
4602 wxPoint
*arg1
= (wxPoint
*) 0 ;
4606 PyObject
* obj0
= 0 ;
4607 PyObject
* obj1
= 0 ;
4609 (char *) "self",(char *) "pt", NULL
4612 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point___iadd__",kwnames
,&obj0
,&obj1
)) goto fail
;
4613 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
4614 if (SWIG_arg_fail(1)) SWIG_fail
;
4617 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
4620 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4622 wxPoint
&_result_ref
= (arg1
)->operator +=((wxPoint
const &)*arg2
);
4623 result
= (wxPoint
*) &_result_ref
;
4626 wxPyEndAllowThreads(__tstate
);
4627 if (PyErr_Occurred()) SWIG_fail
;
4629 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint
, 1);
4636 static PyObject
*_wrap_Point___isub__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4637 PyObject
*resultobj
;
4638 wxPoint
*arg1
= (wxPoint
*) 0 ;
4642 PyObject
* obj0
= 0 ;
4643 PyObject
* obj1
= 0 ;
4645 (char *) "self",(char *) "pt", NULL
4648 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point___isub__",kwnames
,&obj0
,&obj1
)) goto fail
;
4649 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
4650 if (SWIG_arg_fail(1)) SWIG_fail
;
4653 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
4656 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4658 wxPoint
&_result_ref
= (arg1
)->operator -=((wxPoint
const &)*arg2
);
4659 result
= (wxPoint
*) &_result_ref
;
4662 wxPyEndAllowThreads(__tstate
);
4663 if (PyErr_Occurred()) SWIG_fail
;
4665 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint
, 1);
4672 static PyObject
*_wrap_Point_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4673 PyObject
*resultobj
;
4674 wxPoint
*arg1
= (wxPoint
*) 0 ;
4677 PyObject
* obj0
= 0 ;
4678 PyObject
* obj1
= 0 ;
4679 PyObject
* obj2
= 0 ;
4681 (char *) "self",(char *) "x",(char *) "y", NULL
4684 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Point_Set",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4685 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint
, SWIG_POINTER_EXCEPTION
| 0);
4686 if (SWIG_arg_fail(1)) SWIG_fail
;
4688 arg2
= (long)(SWIG_As_long(obj1
));
4689 if (SWIG_arg_fail(2)) SWIG_fail
;
4692 arg3
= (long)(SWIG_As_long(obj2
));
4693 if (SWIG_arg_fail(3)) SWIG_fail
;
4696 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4697 wxPoint_Set(arg1
,arg2
,arg3
);
4699 wxPyEndAllowThreads(__tstate
);
4700 if (PyErr_Occurred()) SWIG_fail
;
4702 Py_INCREF(Py_None
); resultobj
= Py_None
;
4709 static PyObject
*_wrap_Point_Get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4710 PyObject
*resultobj
;
4711 wxPoint
*arg1
= (wxPoint
*) 0 ;
4713 PyObject
* obj0
= 0 ;
4715 (char *) "self", NULL
4718 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point_Get",kwnames
,&obj0
)) goto fail
;
4719 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint
, SWIG_POINTER_EXCEPTION
| 0);
4720 if (SWIG_arg_fail(1)) SWIG_fail
;
4722 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4723 result
= (PyObject
*)wxPoint_Get(arg1
);
4725 wxPyEndAllowThreads(__tstate
);
4726 if (PyErr_Occurred()) SWIG_fail
;
4735 static PyObject
* Point_swigregister(PyObject
*, PyObject
*args
) {
4737 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4738 SWIG_TypeClientData(SWIGTYPE_p_wxPoint
, obj
);
4740 return Py_BuildValue((char *)"");
4742 static PyObject
*_wrap_new_Rect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4743 PyObject
*resultobj
;
4744 int arg1
= (int) 0 ;
4745 int arg2
= (int) 0 ;
4746 int arg3
= (int) 0 ;
4747 int arg4
= (int) 0 ;
4749 PyObject
* obj0
= 0 ;
4750 PyObject
* obj1
= 0 ;
4751 PyObject
* obj2
= 0 ;
4752 PyObject
* obj3
= 0 ;
4754 (char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
4757 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_Rect",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
4760 arg1
= (int)(SWIG_As_int(obj0
));
4761 if (SWIG_arg_fail(1)) SWIG_fail
;
4766 arg2
= (int)(SWIG_As_int(obj1
));
4767 if (SWIG_arg_fail(2)) SWIG_fail
;
4772 arg3
= (int)(SWIG_As_int(obj2
));
4773 if (SWIG_arg_fail(3)) SWIG_fail
;
4778 arg4
= (int)(SWIG_As_int(obj3
));
4779 if (SWIG_arg_fail(4)) SWIG_fail
;
4783 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4784 result
= (wxRect
*)new wxRect(arg1
,arg2
,arg3
,arg4
);
4786 wxPyEndAllowThreads(__tstate
);
4787 if (PyErr_Occurred()) SWIG_fail
;
4789 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 1);
4796 static PyObject
*_wrap_new_RectPP(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4797 PyObject
*resultobj
;
4803 PyObject
* obj0
= 0 ;
4804 PyObject
* obj1
= 0 ;
4806 (char *) "topLeft",(char *) "bottomRight", NULL
4809 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_RectPP",kwnames
,&obj0
,&obj1
)) goto fail
;
4812 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
4816 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
4819 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4820 result
= (wxRect
*)new wxRect((wxPoint
const &)*arg1
,(wxPoint
const &)*arg2
);
4822 wxPyEndAllowThreads(__tstate
);
4823 if (PyErr_Occurred()) SWIG_fail
;
4825 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 1);
4832 static PyObject
*_wrap_new_RectPS(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4833 PyObject
*resultobj
;
4839 PyObject
* obj0
= 0 ;
4840 PyObject
* obj1
= 0 ;
4842 (char *) "pos",(char *) "size", NULL
4845 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_RectPS",kwnames
,&obj0
,&obj1
)) goto fail
;
4848 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
4852 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
4855 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4856 result
= (wxRect
*)new wxRect((wxPoint
const &)*arg1
,(wxSize
const &)*arg2
);
4858 wxPyEndAllowThreads(__tstate
);
4859 if (PyErr_Occurred()) SWIG_fail
;
4861 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 1);
4868 static PyObject
*_wrap_new_RectS(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4869 PyObject
*resultobj
;
4873 PyObject
* obj0
= 0 ;
4875 (char *) "size", NULL
4878 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_RectS",kwnames
,&obj0
)) goto fail
;
4881 if ( ! wxSize_helper(obj0
, &arg1
)) SWIG_fail
;
4884 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4885 result
= (wxRect
*)new wxRect((wxSize
const &)*arg1
);
4887 wxPyEndAllowThreads(__tstate
);
4888 if (PyErr_Occurred()) SWIG_fail
;
4890 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 1);
4897 static PyObject
*_wrap_delete_Rect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4898 PyObject
*resultobj
;
4899 wxRect
*arg1
= (wxRect
*) 0 ;
4900 PyObject
* obj0
= 0 ;
4902 (char *) "self", NULL
4905 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Rect",kwnames
,&obj0
)) goto fail
;
4906 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
4907 if (SWIG_arg_fail(1)) SWIG_fail
;
4909 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4912 wxPyEndAllowThreads(__tstate
);
4913 if (PyErr_Occurred()) SWIG_fail
;
4915 Py_INCREF(Py_None
); resultobj
= Py_None
;
4922 static PyObject
*_wrap_Rect_GetX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4923 PyObject
*resultobj
;
4924 wxRect
*arg1
= (wxRect
*) 0 ;
4926 PyObject
* obj0
= 0 ;
4928 (char *) "self", NULL
4931 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetX",kwnames
,&obj0
)) goto fail
;
4932 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
4933 if (SWIG_arg_fail(1)) SWIG_fail
;
4935 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4936 result
= (int)((wxRect
const *)arg1
)->GetX();
4938 wxPyEndAllowThreads(__tstate
);
4939 if (PyErr_Occurred()) SWIG_fail
;
4942 resultobj
= SWIG_From_int((int)(result
));
4950 static PyObject
*_wrap_Rect_SetX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4951 PyObject
*resultobj
;
4952 wxRect
*arg1
= (wxRect
*) 0 ;
4954 PyObject
* obj0
= 0 ;
4955 PyObject
* obj1
= 0 ;
4957 (char *) "self",(char *) "x", NULL
4960 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetX",kwnames
,&obj0
,&obj1
)) goto fail
;
4961 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
4962 if (SWIG_arg_fail(1)) SWIG_fail
;
4964 arg2
= (int)(SWIG_As_int(obj1
));
4965 if (SWIG_arg_fail(2)) SWIG_fail
;
4968 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4971 wxPyEndAllowThreads(__tstate
);
4972 if (PyErr_Occurred()) SWIG_fail
;
4974 Py_INCREF(Py_None
); resultobj
= Py_None
;
4981 static PyObject
*_wrap_Rect_GetY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4982 PyObject
*resultobj
;
4983 wxRect
*arg1
= (wxRect
*) 0 ;
4985 PyObject
* obj0
= 0 ;
4987 (char *) "self", NULL
4990 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetY",kwnames
,&obj0
)) goto fail
;
4991 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
4992 if (SWIG_arg_fail(1)) SWIG_fail
;
4994 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4995 result
= (int)(arg1
)->GetY();
4997 wxPyEndAllowThreads(__tstate
);
4998 if (PyErr_Occurred()) SWIG_fail
;
5001 resultobj
= SWIG_From_int((int)(result
));
5009 static PyObject
*_wrap_Rect_SetY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5010 PyObject
*resultobj
;
5011 wxRect
*arg1
= (wxRect
*) 0 ;
5013 PyObject
* obj0
= 0 ;
5014 PyObject
* obj1
= 0 ;
5016 (char *) "self",(char *) "y", NULL
5019 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetY",kwnames
,&obj0
,&obj1
)) goto fail
;
5020 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5021 if (SWIG_arg_fail(1)) SWIG_fail
;
5023 arg2
= (int)(SWIG_As_int(obj1
));
5024 if (SWIG_arg_fail(2)) SWIG_fail
;
5027 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5030 wxPyEndAllowThreads(__tstate
);
5031 if (PyErr_Occurred()) SWIG_fail
;
5033 Py_INCREF(Py_None
); resultobj
= Py_None
;
5040 static PyObject
*_wrap_Rect_GetWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5041 PyObject
*resultobj
;
5042 wxRect
*arg1
= (wxRect
*) 0 ;
5044 PyObject
* obj0
= 0 ;
5046 (char *) "self", NULL
5049 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetWidth",kwnames
,&obj0
)) goto fail
;
5050 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5051 if (SWIG_arg_fail(1)) SWIG_fail
;
5053 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5054 result
= (int)((wxRect
const *)arg1
)->GetWidth();
5056 wxPyEndAllowThreads(__tstate
);
5057 if (PyErr_Occurred()) SWIG_fail
;
5060 resultobj
= SWIG_From_int((int)(result
));
5068 static PyObject
*_wrap_Rect_SetWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5069 PyObject
*resultobj
;
5070 wxRect
*arg1
= (wxRect
*) 0 ;
5072 PyObject
* obj0
= 0 ;
5073 PyObject
* obj1
= 0 ;
5075 (char *) "self",(char *) "w", NULL
5078 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
5079 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5080 if (SWIG_arg_fail(1)) SWIG_fail
;
5082 arg2
= (int)(SWIG_As_int(obj1
));
5083 if (SWIG_arg_fail(2)) SWIG_fail
;
5086 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5087 (arg1
)->SetWidth(arg2
);
5089 wxPyEndAllowThreads(__tstate
);
5090 if (PyErr_Occurred()) SWIG_fail
;
5092 Py_INCREF(Py_None
); resultobj
= Py_None
;
5099 static PyObject
*_wrap_Rect_GetHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5100 PyObject
*resultobj
;
5101 wxRect
*arg1
= (wxRect
*) 0 ;
5103 PyObject
* obj0
= 0 ;
5105 (char *) "self", NULL
5108 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetHeight",kwnames
,&obj0
)) goto fail
;
5109 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5110 if (SWIG_arg_fail(1)) SWIG_fail
;
5112 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5113 result
= (int)((wxRect
const *)arg1
)->GetHeight();
5115 wxPyEndAllowThreads(__tstate
);
5116 if (PyErr_Occurred()) SWIG_fail
;
5119 resultobj
= SWIG_From_int((int)(result
));
5127 static PyObject
*_wrap_Rect_SetHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5128 PyObject
*resultobj
;
5129 wxRect
*arg1
= (wxRect
*) 0 ;
5131 PyObject
* obj0
= 0 ;
5132 PyObject
* obj1
= 0 ;
5134 (char *) "self",(char *) "h", NULL
5137 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetHeight",kwnames
,&obj0
,&obj1
)) goto fail
;
5138 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5139 if (SWIG_arg_fail(1)) SWIG_fail
;
5141 arg2
= (int)(SWIG_As_int(obj1
));
5142 if (SWIG_arg_fail(2)) SWIG_fail
;
5145 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5146 (arg1
)->SetHeight(arg2
);
5148 wxPyEndAllowThreads(__tstate
);
5149 if (PyErr_Occurred()) SWIG_fail
;
5151 Py_INCREF(Py_None
); resultobj
= Py_None
;
5158 static PyObject
*_wrap_Rect_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5159 PyObject
*resultobj
;
5160 wxRect
*arg1
= (wxRect
*) 0 ;
5162 PyObject
* obj0
= 0 ;
5164 (char *) "self", NULL
5167 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetPosition",kwnames
,&obj0
)) goto fail
;
5168 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5169 if (SWIG_arg_fail(1)) SWIG_fail
;
5171 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5172 result
= ((wxRect
const *)arg1
)->GetPosition();
5174 wxPyEndAllowThreads(__tstate
);
5175 if (PyErr_Occurred()) SWIG_fail
;
5178 wxPoint
* resultptr
;
5179 resultptr
= new wxPoint((wxPoint
&)(result
));
5180 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
5188 static PyObject
*_wrap_Rect_SetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5189 PyObject
*resultobj
;
5190 wxRect
*arg1
= (wxRect
*) 0 ;
5193 PyObject
* obj0
= 0 ;
5194 PyObject
* obj1
= 0 ;
5196 (char *) "self",(char *) "p", NULL
5199 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
5200 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5201 if (SWIG_arg_fail(1)) SWIG_fail
;
5204 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
5207 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5208 (arg1
)->SetPosition((wxPoint
const &)*arg2
);
5210 wxPyEndAllowThreads(__tstate
);
5211 if (PyErr_Occurred()) SWIG_fail
;
5213 Py_INCREF(Py_None
); resultobj
= Py_None
;
5220 static PyObject
*_wrap_Rect_GetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5221 PyObject
*resultobj
;
5222 wxRect
*arg1
= (wxRect
*) 0 ;
5224 PyObject
* obj0
= 0 ;
5226 (char *) "self", NULL
5229 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetSize",kwnames
,&obj0
)) goto fail
;
5230 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5231 if (SWIG_arg_fail(1)) SWIG_fail
;
5233 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5234 result
= ((wxRect
const *)arg1
)->GetSize();
5236 wxPyEndAllowThreads(__tstate
);
5237 if (PyErr_Occurred()) SWIG_fail
;
5241 resultptr
= new wxSize((wxSize
&)(result
));
5242 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
5250 static PyObject
*_wrap_Rect_SetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5251 PyObject
*resultobj
;
5252 wxRect
*arg1
= (wxRect
*) 0 ;
5255 PyObject
* obj0
= 0 ;
5256 PyObject
* obj1
= 0 ;
5258 (char *) "self",(char *) "s", NULL
5261 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetSize",kwnames
,&obj0
,&obj1
)) goto fail
;
5262 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5263 if (SWIG_arg_fail(1)) SWIG_fail
;
5266 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
5269 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5270 (arg1
)->SetSize((wxSize
const &)*arg2
);
5272 wxPyEndAllowThreads(__tstate
);
5273 if (PyErr_Occurred()) SWIG_fail
;
5275 Py_INCREF(Py_None
); resultobj
= Py_None
;
5282 static PyObject
*_wrap_Rect_GetTopLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5283 PyObject
*resultobj
;
5284 wxRect
*arg1
= (wxRect
*) 0 ;
5286 PyObject
* obj0
= 0 ;
5288 (char *) "self", NULL
5291 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetTopLeft",kwnames
,&obj0
)) goto fail
;
5292 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5293 if (SWIG_arg_fail(1)) SWIG_fail
;
5295 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5296 result
= ((wxRect
const *)arg1
)->GetTopLeft();
5298 wxPyEndAllowThreads(__tstate
);
5299 if (PyErr_Occurred()) SWIG_fail
;
5302 wxPoint
* resultptr
;
5303 resultptr
= new wxPoint((wxPoint
&)(result
));
5304 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
5312 static PyObject
*_wrap_Rect_SetTopLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5313 PyObject
*resultobj
;
5314 wxRect
*arg1
= (wxRect
*) 0 ;
5317 PyObject
* obj0
= 0 ;
5318 PyObject
* obj1
= 0 ;
5320 (char *) "self",(char *) "p", NULL
5323 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetTopLeft",kwnames
,&obj0
,&obj1
)) goto fail
;
5324 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5325 if (SWIG_arg_fail(1)) SWIG_fail
;
5328 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
5331 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5332 (arg1
)->SetTopLeft((wxPoint
const &)*arg2
);
5334 wxPyEndAllowThreads(__tstate
);
5335 if (PyErr_Occurred()) SWIG_fail
;
5337 Py_INCREF(Py_None
); resultobj
= Py_None
;
5344 static PyObject
*_wrap_Rect_GetBottomRight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5345 PyObject
*resultobj
;
5346 wxRect
*arg1
= (wxRect
*) 0 ;
5348 PyObject
* obj0
= 0 ;
5350 (char *) "self", NULL
5353 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetBottomRight",kwnames
,&obj0
)) goto fail
;
5354 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5355 if (SWIG_arg_fail(1)) SWIG_fail
;
5357 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5358 result
= ((wxRect
const *)arg1
)->GetBottomRight();
5360 wxPyEndAllowThreads(__tstate
);
5361 if (PyErr_Occurred()) SWIG_fail
;
5364 wxPoint
* resultptr
;
5365 resultptr
= new wxPoint((wxPoint
&)(result
));
5366 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
5374 static PyObject
*_wrap_Rect_SetBottomRight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5375 PyObject
*resultobj
;
5376 wxRect
*arg1
= (wxRect
*) 0 ;
5379 PyObject
* obj0
= 0 ;
5380 PyObject
* obj1
= 0 ;
5382 (char *) "self",(char *) "p", NULL
5385 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetBottomRight",kwnames
,&obj0
,&obj1
)) goto fail
;
5386 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5387 if (SWIG_arg_fail(1)) SWIG_fail
;
5390 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
5393 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5394 (arg1
)->SetBottomRight((wxPoint
const &)*arg2
);
5396 wxPyEndAllowThreads(__tstate
);
5397 if (PyErr_Occurred()) SWIG_fail
;
5399 Py_INCREF(Py_None
); resultobj
= Py_None
;
5406 static PyObject
*_wrap_Rect_GetLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5407 PyObject
*resultobj
;
5408 wxRect
*arg1
= (wxRect
*) 0 ;
5410 PyObject
* obj0
= 0 ;
5412 (char *) "self", NULL
5415 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetLeft",kwnames
,&obj0
)) goto fail
;
5416 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5417 if (SWIG_arg_fail(1)) SWIG_fail
;
5419 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5420 result
= (int)((wxRect
const *)arg1
)->GetLeft();
5422 wxPyEndAllowThreads(__tstate
);
5423 if (PyErr_Occurred()) SWIG_fail
;
5426 resultobj
= SWIG_From_int((int)(result
));
5434 static PyObject
*_wrap_Rect_GetTop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5435 PyObject
*resultobj
;
5436 wxRect
*arg1
= (wxRect
*) 0 ;
5438 PyObject
* obj0
= 0 ;
5440 (char *) "self", NULL
5443 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetTop",kwnames
,&obj0
)) goto fail
;
5444 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5445 if (SWIG_arg_fail(1)) SWIG_fail
;
5447 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5448 result
= (int)((wxRect
const *)arg1
)->GetTop();
5450 wxPyEndAllowThreads(__tstate
);
5451 if (PyErr_Occurred()) SWIG_fail
;
5454 resultobj
= SWIG_From_int((int)(result
));
5462 static PyObject
*_wrap_Rect_GetBottom(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5463 PyObject
*resultobj
;
5464 wxRect
*arg1
= (wxRect
*) 0 ;
5466 PyObject
* obj0
= 0 ;
5468 (char *) "self", NULL
5471 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetBottom",kwnames
,&obj0
)) goto fail
;
5472 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5473 if (SWIG_arg_fail(1)) SWIG_fail
;
5475 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5476 result
= (int)((wxRect
const *)arg1
)->GetBottom();
5478 wxPyEndAllowThreads(__tstate
);
5479 if (PyErr_Occurred()) SWIG_fail
;
5482 resultobj
= SWIG_From_int((int)(result
));
5490 static PyObject
*_wrap_Rect_GetRight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5491 PyObject
*resultobj
;
5492 wxRect
*arg1
= (wxRect
*) 0 ;
5494 PyObject
* obj0
= 0 ;
5496 (char *) "self", NULL
5499 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetRight",kwnames
,&obj0
)) goto fail
;
5500 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5501 if (SWIG_arg_fail(1)) SWIG_fail
;
5503 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5504 result
= (int)((wxRect
const *)arg1
)->GetRight();
5506 wxPyEndAllowThreads(__tstate
);
5507 if (PyErr_Occurred()) SWIG_fail
;
5510 resultobj
= SWIG_From_int((int)(result
));
5518 static PyObject
*_wrap_Rect_SetLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5519 PyObject
*resultobj
;
5520 wxRect
*arg1
= (wxRect
*) 0 ;
5522 PyObject
* obj0
= 0 ;
5523 PyObject
* obj1
= 0 ;
5525 (char *) "self",(char *) "left", NULL
5528 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetLeft",kwnames
,&obj0
,&obj1
)) goto fail
;
5529 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5530 if (SWIG_arg_fail(1)) SWIG_fail
;
5532 arg2
= (int)(SWIG_As_int(obj1
));
5533 if (SWIG_arg_fail(2)) SWIG_fail
;
5536 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5537 (arg1
)->SetLeft(arg2
);
5539 wxPyEndAllowThreads(__tstate
);
5540 if (PyErr_Occurred()) SWIG_fail
;
5542 Py_INCREF(Py_None
); resultobj
= Py_None
;
5549 static PyObject
*_wrap_Rect_SetRight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5550 PyObject
*resultobj
;
5551 wxRect
*arg1
= (wxRect
*) 0 ;
5553 PyObject
* obj0
= 0 ;
5554 PyObject
* obj1
= 0 ;
5556 (char *) "self",(char *) "right", NULL
5559 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetRight",kwnames
,&obj0
,&obj1
)) 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 arg2
= (int)(SWIG_As_int(obj1
));
5564 if (SWIG_arg_fail(2)) SWIG_fail
;
5567 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5568 (arg1
)->SetRight(arg2
);
5570 wxPyEndAllowThreads(__tstate
);
5571 if (PyErr_Occurred()) SWIG_fail
;
5573 Py_INCREF(Py_None
); resultobj
= Py_None
;
5580 static PyObject
*_wrap_Rect_SetTop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5581 PyObject
*resultobj
;
5582 wxRect
*arg1
= (wxRect
*) 0 ;
5584 PyObject
* obj0
= 0 ;
5585 PyObject
* obj1
= 0 ;
5587 (char *) "self",(char *) "top", NULL
5590 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetTop",kwnames
,&obj0
,&obj1
)) goto fail
;
5591 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5592 if (SWIG_arg_fail(1)) SWIG_fail
;
5594 arg2
= (int)(SWIG_As_int(obj1
));
5595 if (SWIG_arg_fail(2)) SWIG_fail
;
5598 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5599 (arg1
)->SetTop(arg2
);
5601 wxPyEndAllowThreads(__tstate
);
5602 if (PyErr_Occurred()) SWIG_fail
;
5604 Py_INCREF(Py_None
); resultobj
= Py_None
;
5611 static PyObject
*_wrap_Rect_SetBottom(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5612 PyObject
*resultobj
;
5613 wxRect
*arg1
= (wxRect
*) 0 ;
5615 PyObject
* obj0
= 0 ;
5616 PyObject
* obj1
= 0 ;
5618 (char *) "self",(char *) "bottom", NULL
5621 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetBottom",kwnames
,&obj0
,&obj1
)) goto fail
;
5622 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5623 if (SWIG_arg_fail(1)) SWIG_fail
;
5625 arg2
= (int)(SWIG_As_int(obj1
));
5626 if (SWIG_arg_fail(2)) SWIG_fail
;
5629 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5630 (arg1
)->SetBottom(arg2
);
5632 wxPyEndAllowThreads(__tstate
);
5633 if (PyErr_Occurred()) SWIG_fail
;
5635 Py_INCREF(Py_None
); resultobj
= Py_None
;
5642 static PyObject
*_wrap_Rect_Inflate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5643 PyObject
*resultobj
;
5644 wxRect
*arg1
= (wxRect
*) 0 ;
5648 PyObject
* obj0
= 0 ;
5649 PyObject
* obj1
= 0 ;
5650 PyObject
* obj2
= 0 ;
5652 (char *) "self",(char *) "dx",(char *) "dy", NULL
5655 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Rect_Inflate",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5656 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5657 if (SWIG_arg_fail(1)) SWIG_fail
;
5659 arg2
= (int)(SWIG_As_int(obj1
));
5660 if (SWIG_arg_fail(2)) SWIG_fail
;
5663 arg3
= (int)(SWIG_As_int(obj2
));
5664 if (SWIG_arg_fail(3)) SWIG_fail
;
5667 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5669 wxRect
&_result_ref
= (arg1
)->Inflate(arg2
,arg3
);
5670 result
= (wxRect
*) &_result_ref
;
5673 wxPyEndAllowThreads(__tstate
);
5674 if (PyErr_Occurred()) SWIG_fail
;
5676 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 0);
5683 static PyObject
*_wrap_Rect_Deflate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5684 PyObject
*resultobj
;
5685 wxRect
*arg1
= (wxRect
*) 0 ;
5689 PyObject
* obj0
= 0 ;
5690 PyObject
* obj1
= 0 ;
5691 PyObject
* obj2
= 0 ;
5693 (char *) "self",(char *) "dx",(char *) "dy", NULL
5696 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Rect_Deflate",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5697 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5698 if (SWIG_arg_fail(1)) SWIG_fail
;
5700 arg2
= (int)(SWIG_As_int(obj1
));
5701 if (SWIG_arg_fail(2)) SWIG_fail
;
5704 arg3
= (int)(SWIG_As_int(obj2
));
5705 if (SWIG_arg_fail(3)) SWIG_fail
;
5708 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5710 wxRect
&_result_ref
= (arg1
)->Deflate(arg2
,arg3
);
5711 result
= (wxRect
*) &_result_ref
;
5714 wxPyEndAllowThreads(__tstate
);
5715 if (PyErr_Occurred()) SWIG_fail
;
5717 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 0);
5724 static PyObject
*_wrap_Rect_OffsetXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5725 PyObject
*resultobj
;
5726 wxRect
*arg1
= (wxRect
*) 0 ;
5729 PyObject
* obj0
= 0 ;
5730 PyObject
* obj1
= 0 ;
5731 PyObject
* obj2
= 0 ;
5733 (char *) "self",(char *) "dx",(char *) "dy", NULL
5736 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Rect_OffsetXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5737 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5738 if (SWIG_arg_fail(1)) SWIG_fail
;
5740 arg2
= (int)(SWIG_As_int(obj1
));
5741 if (SWIG_arg_fail(2)) SWIG_fail
;
5744 arg3
= (int)(SWIG_As_int(obj2
));
5745 if (SWIG_arg_fail(3)) SWIG_fail
;
5748 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5749 (arg1
)->Offset(arg2
,arg3
);
5751 wxPyEndAllowThreads(__tstate
);
5752 if (PyErr_Occurred()) SWIG_fail
;
5754 Py_INCREF(Py_None
); resultobj
= Py_None
;
5761 static PyObject
*_wrap_Rect_Offset(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5762 PyObject
*resultobj
;
5763 wxRect
*arg1
= (wxRect
*) 0 ;
5766 PyObject
* obj0
= 0 ;
5767 PyObject
* obj1
= 0 ;
5769 (char *) "self",(char *) "pt", NULL
5772 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_Offset",kwnames
,&obj0
,&obj1
)) goto fail
;
5773 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5774 if (SWIG_arg_fail(1)) SWIG_fail
;
5777 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
5780 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5781 (arg1
)->Offset((wxPoint
const &)*arg2
);
5783 wxPyEndAllowThreads(__tstate
);
5784 if (PyErr_Occurred()) SWIG_fail
;
5786 Py_INCREF(Py_None
); resultobj
= Py_None
;
5793 static PyObject
*_wrap_Rect_Intersect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5794 PyObject
*resultobj
;
5795 wxRect
*arg1
= (wxRect
*) 0 ;
5799 PyObject
* obj0
= 0 ;
5800 PyObject
* obj1
= 0 ;
5802 (char *) "self",(char *) "rect", NULL
5805 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_Intersect",kwnames
,&obj0
,&obj1
)) goto fail
;
5806 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5807 if (SWIG_arg_fail(1)) SWIG_fail
;
5810 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
5813 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5814 result
= (arg1
)->Intersect((wxRect
const &)*arg2
);
5816 wxPyEndAllowThreads(__tstate
);
5817 if (PyErr_Occurred()) SWIG_fail
;
5821 resultptr
= new wxRect((wxRect
&)(result
));
5822 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
5830 static PyObject
*_wrap_Rect_Union(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5831 PyObject
*resultobj
;
5832 wxRect
*arg1
= (wxRect
*) 0 ;
5836 PyObject
* obj0
= 0 ;
5837 PyObject
* obj1
= 0 ;
5839 (char *) "self",(char *) "rect", NULL
5842 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_Union",kwnames
,&obj0
,&obj1
)) goto fail
;
5843 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5844 if (SWIG_arg_fail(1)) SWIG_fail
;
5847 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
5850 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5851 result
= (arg1
)->Union((wxRect
const &)*arg2
);
5853 wxPyEndAllowThreads(__tstate
);
5854 if (PyErr_Occurred()) SWIG_fail
;
5858 resultptr
= new wxRect((wxRect
&)(result
));
5859 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
5867 static PyObject
*_wrap_Rect___add__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5868 PyObject
*resultobj
;
5869 wxRect
*arg1
= (wxRect
*) 0 ;
5873 PyObject
* obj0
= 0 ;
5874 PyObject
* obj1
= 0 ;
5876 (char *) "self",(char *) "rect", NULL
5879 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect___add__",kwnames
,&obj0
,&obj1
)) goto fail
;
5880 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5881 if (SWIG_arg_fail(1)) SWIG_fail
;
5884 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
5887 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5888 result
= ((wxRect
const *)arg1
)->operator +((wxRect
const &)*arg2
);
5890 wxPyEndAllowThreads(__tstate
);
5891 if (PyErr_Occurred()) SWIG_fail
;
5895 resultptr
= new wxRect((wxRect
&)(result
));
5896 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
5904 static PyObject
*_wrap_Rect___iadd__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5905 PyObject
*resultobj
;
5906 wxRect
*arg1
= (wxRect
*) 0 ;
5910 PyObject
* obj0
= 0 ;
5911 PyObject
* obj1
= 0 ;
5913 (char *) "self",(char *) "rect", NULL
5916 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect___iadd__",kwnames
,&obj0
,&obj1
)) goto fail
;
5917 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
5918 if (SWIG_arg_fail(1)) SWIG_fail
;
5921 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
5924 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5926 wxRect
&_result_ref
= (arg1
)->operator +=((wxRect
const &)*arg2
);
5927 result
= (wxRect
*) &_result_ref
;
5930 wxPyEndAllowThreads(__tstate
);
5931 if (PyErr_Occurred()) SWIG_fail
;
5933 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 1);
5940 static PyObject
*_wrap_Rect___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5941 PyObject
*resultobj
;
5942 wxRect
*arg1
= (wxRect
*) 0 ;
5946 PyObject
* obj0
= 0 ;
5947 PyObject
* obj1
= 0 ;
5949 (char *) "self",(char *) "rect", NULL
5952 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
5953 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5954 if (SWIG_arg_fail(1)) SWIG_fail
;
5957 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
5960 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5961 result
= (bool)((wxRect
const *)arg1
)->operator ==((wxRect
const &)*arg2
);
5963 wxPyEndAllowThreads(__tstate
);
5964 if (PyErr_Occurred()) SWIG_fail
;
5967 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5975 static PyObject
*_wrap_Rect___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5976 PyObject
*resultobj
;
5977 wxRect
*arg1
= (wxRect
*) 0 ;
5981 PyObject
* obj0
= 0 ;
5982 PyObject
* obj1
= 0 ;
5984 (char *) "self",(char *) "rect", NULL
5987 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
5988 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5989 if (SWIG_arg_fail(1)) SWIG_fail
;
5992 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
5995 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5996 result
= (bool)((wxRect
const *)arg1
)->operator !=((wxRect
const &)*arg2
);
5998 wxPyEndAllowThreads(__tstate
);
5999 if (PyErr_Occurred()) SWIG_fail
;
6002 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6010 static PyObject
*_wrap_Rect_InsideXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6011 PyObject
*resultobj
;
6012 wxRect
*arg1
= (wxRect
*) 0 ;
6016 PyObject
* obj0
= 0 ;
6017 PyObject
* obj1
= 0 ;
6018 PyObject
* obj2
= 0 ;
6020 (char *) "self",(char *) "x",(char *) "y", NULL
6023 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Rect_InsideXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6024 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
6025 if (SWIG_arg_fail(1)) SWIG_fail
;
6027 arg2
= (int)(SWIG_As_int(obj1
));
6028 if (SWIG_arg_fail(2)) SWIG_fail
;
6031 arg3
= (int)(SWIG_As_int(obj2
));
6032 if (SWIG_arg_fail(3)) SWIG_fail
;
6035 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6036 result
= (bool)((wxRect
const *)arg1
)->Inside(arg2
,arg3
);
6038 wxPyEndAllowThreads(__tstate
);
6039 if (PyErr_Occurred()) SWIG_fail
;
6042 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6050 static PyObject
*_wrap_Rect_Inside(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6051 PyObject
*resultobj
;
6052 wxRect
*arg1
= (wxRect
*) 0 ;
6056 PyObject
* obj0
= 0 ;
6057 PyObject
* obj1
= 0 ;
6059 (char *) "self",(char *) "pt", NULL
6062 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_Inside",kwnames
,&obj0
,&obj1
)) goto fail
;
6063 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
6064 if (SWIG_arg_fail(1)) SWIG_fail
;
6067 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
6070 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6071 result
= (bool)((wxRect
const *)arg1
)->Inside((wxPoint
const &)*arg2
);
6073 wxPyEndAllowThreads(__tstate
);
6074 if (PyErr_Occurred()) SWIG_fail
;
6077 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6085 static PyObject
*_wrap_Rect_Intersects(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6086 PyObject
*resultobj
;
6087 wxRect
*arg1
= (wxRect
*) 0 ;
6091 PyObject
* obj0
= 0 ;
6092 PyObject
* obj1
= 0 ;
6094 (char *) "self",(char *) "rect", NULL
6097 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_Intersects",kwnames
,&obj0
,&obj1
)) goto fail
;
6098 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
6099 if (SWIG_arg_fail(1)) SWIG_fail
;
6102 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
6105 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6106 result
= (bool)((wxRect
const *)arg1
)->Intersects((wxRect
const &)*arg2
);
6108 wxPyEndAllowThreads(__tstate
);
6109 if (PyErr_Occurred()) SWIG_fail
;
6112 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6120 static PyObject
*_wrap_Rect_x_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6121 PyObject
*resultobj
;
6122 wxRect
*arg1
= (wxRect
*) 0 ;
6124 PyObject
* obj0
= 0 ;
6125 PyObject
* obj1
= 0 ;
6127 (char *) "self",(char *) "x", NULL
6130 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_x_set",kwnames
,&obj0
,&obj1
)) goto fail
;
6131 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
6132 if (SWIG_arg_fail(1)) SWIG_fail
;
6134 arg2
= (int)(SWIG_As_int(obj1
));
6135 if (SWIG_arg_fail(2)) SWIG_fail
;
6137 if (arg1
) (arg1
)->x
= arg2
;
6139 Py_INCREF(Py_None
); resultobj
= Py_None
;
6146 static PyObject
*_wrap_Rect_x_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6147 PyObject
*resultobj
;
6148 wxRect
*arg1
= (wxRect
*) 0 ;
6150 PyObject
* obj0
= 0 ;
6152 (char *) "self", NULL
6155 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_x_get",kwnames
,&obj0
)) goto fail
;
6156 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
6157 if (SWIG_arg_fail(1)) SWIG_fail
;
6158 result
= (int) ((arg1
)->x
);
6161 resultobj
= SWIG_From_int((int)(result
));
6169 static PyObject
*_wrap_Rect_y_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6170 PyObject
*resultobj
;
6171 wxRect
*arg1
= (wxRect
*) 0 ;
6173 PyObject
* obj0
= 0 ;
6174 PyObject
* obj1
= 0 ;
6176 (char *) "self",(char *) "y", NULL
6179 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_y_set",kwnames
,&obj0
,&obj1
)) goto fail
;
6180 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
6181 if (SWIG_arg_fail(1)) SWIG_fail
;
6183 arg2
= (int)(SWIG_As_int(obj1
));
6184 if (SWIG_arg_fail(2)) SWIG_fail
;
6186 if (arg1
) (arg1
)->y
= arg2
;
6188 Py_INCREF(Py_None
); resultobj
= Py_None
;
6195 static PyObject
*_wrap_Rect_y_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6196 PyObject
*resultobj
;
6197 wxRect
*arg1
= (wxRect
*) 0 ;
6199 PyObject
* obj0
= 0 ;
6201 (char *) "self", NULL
6204 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_y_get",kwnames
,&obj0
)) goto fail
;
6205 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
6206 if (SWIG_arg_fail(1)) SWIG_fail
;
6207 result
= (int) ((arg1
)->y
);
6210 resultobj
= SWIG_From_int((int)(result
));
6218 static PyObject
*_wrap_Rect_width_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6219 PyObject
*resultobj
;
6220 wxRect
*arg1
= (wxRect
*) 0 ;
6222 PyObject
* obj0
= 0 ;
6223 PyObject
* obj1
= 0 ;
6225 (char *) "self",(char *) "width", NULL
6228 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_width_set",kwnames
,&obj0
,&obj1
)) goto fail
;
6229 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
6230 if (SWIG_arg_fail(1)) SWIG_fail
;
6232 arg2
= (int)(SWIG_As_int(obj1
));
6233 if (SWIG_arg_fail(2)) SWIG_fail
;
6235 if (arg1
) (arg1
)->width
= arg2
;
6237 Py_INCREF(Py_None
); resultobj
= Py_None
;
6244 static PyObject
*_wrap_Rect_width_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6245 PyObject
*resultobj
;
6246 wxRect
*arg1
= (wxRect
*) 0 ;
6248 PyObject
* obj0
= 0 ;
6250 (char *) "self", NULL
6253 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_width_get",kwnames
,&obj0
)) goto fail
;
6254 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
6255 if (SWIG_arg_fail(1)) SWIG_fail
;
6256 result
= (int) ((arg1
)->width
);
6259 resultobj
= SWIG_From_int((int)(result
));
6267 static PyObject
*_wrap_Rect_height_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6268 PyObject
*resultobj
;
6269 wxRect
*arg1
= (wxRect
*) 0 ;
6271 PyObject
* obj0
= 0 ;
6272 PyObject
* obj1
= 0 ;
6274 (char *) "self",(char *) "height", NULL
6277 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_height_set",kwnames
,&obj0
,&obj1
)) goto fail
;
6278 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
6279 if (SWIG_arg_fail(1)) SWIG_fail
;
6281 arg2
= (int)(SWIG_As_int(obj1
));
6282 if (SWIG_arg_fail(2)) SWIG_fail
;
6284 if (arg1
) (arg1
)->height
= arg2
;
6286 Py_INCREF(Py_None
); resultobj
= Py_None
;
6293 static PyObject
*_wrap_Rect_height_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6294 PyObject
*resultobj
;
6295 wxRect
*arg1
= (wxRect
*) 0 ;
6297 PyObject
* obj0
= 0 ;
6299 (char *) "self", NULL
6302 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_height_get",kwnames
,&obj0
)) goto fail
;
6303 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
6304 if (SWIG_arg_fail(1)) SWIG_fail
;
6305 result
= (int) ((arg1
)->height
);
6308 resultobj
= SWIG_From_int((int)(result
));
6316 static PyObject
*_wrap_Rect_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6317 PyObject
*resultobj
;
6318 wxRect
*arg1
= (wxRect
*) 0 ;
6319 int arg2
= (int) 0 ;
6320 int arg3
= (int) 0 ;
6321 int arg4
= (int) 0 ;
6322 int arg5
= (int) 0 ;
6323 PyObject
* obj0
= 0 ;
6324 PyObject
* obj1
= 0 ;
6325 PyObject
* obj2
= 0 ;
6326 PyObject
* obj3
= 0 ;
6327 PyObject
* obj4
= 0 ;
6329 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
6332 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOO:Rect_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
6333 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
6334 if (SWIG_arg_fail(1)) SWIG_fail
;
6337 arg2
= (int)(SWIG_As_int(obj1
));
6338 if (SWIG_arg_fail(2)) SWIG_fail
;
6343 arg3
= (int)(SWIG_As_int(obj2
));
6344 if (SWIG_arg_fail(3)) SWIG_fail
;
6349 arg4
= (int)(SWIG_As_int(obj3
));
6350 if (SWIG_arg_fail(4)) SWIG_fail
;
6355 arg5
= (int)(SWIG_As_int(obj4
));
6356 if (SWIG_arg_fail(5)) SWIG_fail
;
6360 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6361 wxRect_Set(arg1
,arg2
,arg3
,arg4
,arg5
);
6363 wxPyEndAllowThreads(__tstate
);
6364 if (PyErr_Occurred()) SWIG_fail
;
6366 Py_INCREF(Py_None
); resultobj
= Py_None
;
6373 static PyObject
*_wrap_Rect_Get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6374 PyObject
*resultobj
;
6375 wxRect
*arg1
= (wxRect
*) 0 ;
6377 PyObject
* obj0
= 0 ;
6379 (char *) "self", NULL
6382 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_Get",kwnames
,&obj0
)) goto fail
;
6383 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
6384 if (SWIG_arg_fail(1)) SWIG_fail
;
6386 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6387 result
= (PyObject
*)wxRect_Get(arg1
);
6389 wxPyEndAllowThreads(__tstate
);
6390 if (PyErr_Occurred()) SWIG_fail
;
6399 static PyObject
* Rect_swigregister(PyObject
*, PyObject
*args
) {
6401 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6402 SWIG_TypeClientData(SWIGTYPE_p_wxRect
, obj
);
6404 return Py_BuildValue((char *)"");
6406 static PyObject
*_wrap_IntersectRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6407 PyObject
*resultobj
;
6408 wxRect
*arg1
= (wxRect
*) 0 ;
6409 wxRect
*arg2
= (wxRect
*) 0 ;
6411 PyObject
* obj0
= 0 ;
6412 PyObject
* obj1
= 0 ;
6414 (char *) "r1",(char *) "r2", NULL
6417 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IntersectRect",kwnames
,&obj0
,&obj1
)) goto fail
;
6418 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
6419 if (SWIG_arg_fail(1)) SWIG_fail
;
6420 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
6421 if (SWIG_arg_fail(2)) SWIG_fail
;
6423 if (!wxPyCheckForApp()) SWIG_fail
;
6424 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6425 result
= (PyObject
*)wxIntersectRect(arg1
,arg2
);
6427 wxPyEndAllowThreads(__tstate
);
6428 if (PyErr_Occurred()) SWIG_fail
;
6437 static PyObject
*_wrap_new_Point2D(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6438 PyObject
*resultobj
;
6439 double arg1
= (double) 0.0 ;
6440 double arg2
= (double) 0.0 ;
6442 PyObject
* obj0
= 0 ;
6443 PyObject
* obj1
= 0 ;
6445 (char *) "x",(char *) "y", NULL
6448 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Point2D",kwnames
,&obj0
,&obj1
)) goto fail
;
6451 arg1
= (double)(SWIG_As_double(obj0
));
6452 if (SWIG_arg_fail(1)) SWIG_fail
;
6457 arg2
= (double)(SWIG_As_double(obj1
));
6458 if (SWIG_arg_fail(2)) SWIG_fail
;
6462 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6463 result
= (wxPoint2D
*)new wxPoint2D(arg1
,arg2
);
6465 wxPyEndAllowThreads(__tstate
);
6466 if (PyErr_Occurred()) SWIG_fail
;
6468 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint2D
, 1);
6475 static PyObject
*_wrap_new_Point2DCopy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6476 PyObject
*resultobj
;
6477 wxPoint2D
*arg1
= 0 ;
6480 PyObject
* obj0
= 0 ;
6485 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_Point2DCopy",kwnames
,&obj0
)) goto fail
;
6488 if ( ! wxPoint2D_helper(obj0
, &arg1
)) SWIG_fail
;
6491 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6492 result
= (wxPoint2D
*)new wxPoint2D((wxPoint2D
const &)*arg1
);
6494 wxPyEndAllowThreads(__tstate
);
6495 if (PyErr_Occurred()) SWIG_fail
;
6497 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint2D
, 1);
6504 static PyObject
*_wrap_new_Point2DFromPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6505 PyObject
*resultobj
;
6509 PyObject
* obj0
= 0 ;
6514 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_Point2DFromPoint",kwnames
,&obj0
)) goto fail
;
6517 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
6520 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6521 result
= (wxPoint2D
*)new wxPoint2D((wxPoint
const &)*arg1
);
6523 wxPyEndAllowThreads(__tstate
);
6524 if (PyErr_Occurred()) SWIG_fail
;
6526 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint2D
, 1);
6533 static PyObject
*_wrap_Point2D_GetFloor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6534 PyObject
*resultobj
;
6535 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
6536 int *arg2
= (int *) 0 ;
6537 int *arg3
= (int *) 0 ;
6542 PyObject
* obj0
= 0 ;
6544 (char *) "self", NULL
6547 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
6548 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
6549 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D_GetFloor",kwnames
,&obj0
)) goto fail
;
6550 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| 0);
6551 if (SWIG_arg_fail(1)) SWIG_fail
;
6553 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6554 ((wxPoint2D
const *)arg1
)->GetFloor(arg2
,arg3
);
6556 wxPyEndAllowThreads(__tstate
);
6557 if (PyErr_Occurred()) SWIG_fail
;
6559 Py_INCREF(Py_None
); resultobj
= Py_None
;
6560 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
6561 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
6562 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
6563 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
6570 static PyObject
*_wrap_Point2D_GetRounded(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6571 PyObject
*resultobj
;
6572 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
6573 int *arg2
= (int *) 0 ;
6574 int *arg3
= (int *) 0 ;
6579 PyObject
* obj0
= 0 ;
6581 (char *) "self", NULL
6584 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
6585 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
6586 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D_GetRounded",kwnames
,&obj0
)) goto fail
;
6587 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| 0);
6588 if (SWIG_arg_fail(1)) SWIG_fail
;
6590 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6591 ((wxPoint2D
const *)arg1
)->GetRounded(arg2
,arg3
);
6593 wxPyEndAllowThreads(__tstate
);
6594 if (PyErr_Occurred()) SWIG_fail
;
6596 Py_INCREF(Py_None
); resultobj
= Py_None
;
6597 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
6598 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
6599 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
6600 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
6607 static PyObject
*_wrap_Point2D_GetVectorLength(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6608 PyObject
*resultobj
;
6609 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
6611 PyObject
* obj0
= 0 ;
6613 (char *) "self", NULL
6616 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D_GetVectorLength",kwnames
,&obj0
)) goto fail
;
6617 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| 0);
6618 if (SWIG_arg_fail(1)) SWIG_fail
;
6620 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6621 result
= (double)((wxPoint2D
const *)arg1
)->GetVectorLength();
6623 wxPyEndAllowThreads(__tstate
);
6624 if (PyErr_Occurred()) SWIG_fail
;
6627 resultobj
= SWIG_From_double((double)(result
));
6635 static PyObject
*_wrap_Point2D_GetVectorAngle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6636 PyObject
*resultobj
;
6637 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
6639 PyObject
* obj0
= 0 ;
6641 (char *) "self", NULL
6644 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D_GetVectorAngle",kwnames
,&obj0
)) goto fail
;
6645 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| 0);
6646 if (SWIG_arg_fail(1)) SWIG_fail
;
6648 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6649 result
= (double)((wxPoint2D
const *)arg1
)->GetVectorAngle();
6651 wxPyEndAllowThreads(__tstate
);
6652 if (PyErr_Occurred()) SWIG_fail
;
6655 resultobj
= SWIG_From_double((double)(result
));
6663 static PyObject
*_wrap_Point2D_SetVectorLength(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6664 PyObject
*resultobj
;
6665 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
6667 PyObject
* obj0
= 0 ;
6668 PyObject
* obj1
= 0 ;
6670 (char *) "self",(char *) "length", NULL
6673 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_SetVectorLength",kwnames
,&obj0
,&obj1
)) goto fail
;
6674 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| 0);
6675 if (SWIG_arg_fail(1)) SWIG_fail
;
6677 arg2
= (double)(SWIG_As_double(obj1
));
6678 if (SWIG_arg_fail(2)) SWIG_fail
;
6681 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6682 (arg1
)->SetVectorLength(arg2
);
6684 wxPyEndAllowThreads(__tstate
);
6685 if (PyErr_Occurred()) SWIG_fail
;
6687 Py_INCREF(Py_None
); resultobj
= Py_None
;
6694 static PyObject
*_wrap_Point2D_SetVectorAngle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6695 PyObject
*resultobj
;
6696 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
6698 PyObject
* obj0
= 0 ;
6699 PyObject
* obj1
= 0 ;
6701 (char *) "self",(char *) "degrees", NULL
6704 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_SetVectorAngle",kwnames
,&obj0
,&obj1
)) 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 arg2
= (double)(SWIG_As_double(obj1
));
6709 if (SWIG_arg_fail(2)) SWIG_fail
;
6712 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6713 (arg1
)->SetVectorAngle(arg2
);
6715 wxPyEndAllowThreads(__tstate
);
6716 if (PyErr_Occurred()) SWIG_fail
;
6718 Py_INCREF(Py_None
); resultobj
= Py_None
;
6725 static PyObject
*_wrap_Point2D_GetDistance(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6726 PyObject
*resultobj
;
6727 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
6728 wxPoint2D
*arg2
= 0 ;
6731 PyObject
* obj0
= 0 ;
6732 PyObject
* obj1
= 0 ;
6734 (char *) "self",(char *) "pt", NULL
6737 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_GetDistance",kwnames
,&obj0
,&obj1
)) goto fail
;
6738 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| 0);
6739 if (SWIG_arg_fail(1)) SWIG_fail
;
6742 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
6745 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6746 result
= (double)((wxPoint2D
const *)arg1
)->GetDistance((wxPoint2D
const &)*arg2
);
6748 wxPyEndAllowThreads(__tstate
);
6749 if (PyErr_Occurred()) SWIG_fail
;
6752 resultobj
= SWIG_From_double((double)(result
));
6760 static PyObject
*_wrap_Point2D_GetDistanceSquare(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6761 PyObject
*resultobj
;
6762 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
6763 wxPoint2D
*arg2
= 0 ;
6766 PyObject
* obj0
= 0 ;
6767 PyObject
* obj1
= 0 ;
6769 (char *) "self",(char *) "pt", NULL
6772 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_GetDistanceSquare",kwnames
,&obj0
,&obj1
)) goto fail
;
6773 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| 0);
6774 if (SWIG_arg_fail(1)) SWIG_fail
;
6777 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
6780 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6781 result
= (double)((wxPoint2D
const *)arg1
)->GetDistanceSquare((wxPoint2D
const &)*arg2
);
6783 wxPyEndAllowThreads(__tstate
);
6784 if (PyErr_Occurred()) SWIG_fail
;
6787 resultobj
= SWIG_From_double((double)(result
));
6795 static PyObject
*_wrap_Point2D_GetDotProduct(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6796 PyObject
*resultobj
;
6797 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
6798 wxPoint2D
*arg2
= 0 ;
6801 PyObject
* obj0
= 0 ;
6802 PyObject
* obj1
= 0 ;
6804 (char *) "self",(char *) "vec", NULL
6807 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_GetDotProduct",kwnames
,&obj0
,&obj1
)) goto fail
;
6808 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| 0);
6809 if (SWIG_arg_fail(1)) SWIG_fail
;
6812 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
6815 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6816 result
= (double)((wxPoint2D
const *)arg1
)->GetDotProduct((wxPoint2D
const &)*arg2
);
6818 wxPyEndAllowThreads(__tstate
);
6819 if (PyErr_Occurred()) SWIG_fail
;
6822 resultobj
= SWIG_From_double((double)(result
));
6830 static PyObject
*_wrap_Point2D_GetCrossProduct(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6831 PyObject
*resultobj
;
6832 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
6833 wxPoint2D
*arg2
= 0 ;
6836 PyObject
* obj0
= 0 ;
6837 PyObject
* obj1
= 0 ;
6839 (char *) "self",(char *) "vec", NULL
6842 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_GetCrossProduct",kwnames
,&obj0
,&obj1
)) goto fail
;
6843 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| 0);
6844 if (SWIG_arg_fail(1)) SWIG_fail
;
6847 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
6850 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6851 result
= (double)((wxPoint2D
const *)arg1
)->GetCrossProduct((wxPoint2D
const &)*arg2
);
6853 wxPyEndAllowThreads(__tstate
);
6854 if (PyErr_Occurred()) SWIG_fail
;
6857 resultobj
= SWIG_From_double((double)(result
));
6865 static PyObject
*_wrap_Point2D___neg__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6866 PyObject
*resultobj
;
6867 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
6869 PyObject
* obj0
= 0 ;
6871 (char *) "self", NULL
6874 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D___neg__",kwnames
,&obj0
)) goto fail
;
6875 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| 0);
6876 if (SWIG_arg_fail(1)) SWIG_fail
;
6878 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6879 result
= (arg1
)->operator -();
6881 wxPyEndAllowThreads(__tstate
);
6882 if (PyErr_Occurred()) SWIG_fail
;
6885 wxPoint2D
* resultptr
;
6886 resultptr
= new wxPoint2D((wxPoint2D
&)(result
));
6887 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint2D
, 1);
6895 static PyObject
*_wrap_Point2D___iadd__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6896 PyObject
*resultobj
;
6897 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
6898 wxPoint2D
*arg2
= 0 ;
6901 PyObject
* obj0
= 0 ;
6902 PyObject
* obj1
= 0 ;
6904 (char *) "self",(char *) "pt", NULL
6907 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D___iadd__",kwnames
,&obj0
,&obj1
)) goto fail
;
6908 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
6909 if (SWIG_arg_fail(1)) SWIG_fail
;
6912 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
6915 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6917 wxPoint2D
&_result_ref
= (arg1
)->operator +=((wxPoint2D
const &)*arg2
);
6918 result
= (wxPoint2D
*) &_result_ref
;
6921 wxPyEndAllowThreads(__tstate
);
6922 if (PyErr_Occurred()) SWIG_fail
;
6924 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint2D
, 1);
6931 static PyObject
*_wrap_Point2D___isub__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6932 PyObject
*resultobj
;
6933 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
6934 wxPoint2D
*arg2
= 0 ;
6937 PyObject
* obj0
= 0 ;
6938 PyObject
* obj1
= 0 ;
6940 (char *) "self",(char *) "pt", NULL
6943 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D___isub__",kwnames
,&obj0
,&obj1
)) goto fail
;
6944 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
6945 if (SWIG_arg_fail(1)) SWIG_fail
;
6948 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
6951 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6953 wxPoint2D
&_result_ref
= (arg1
)->operator -=((wxPoint2D
const &)*arg2
);
6954 result
= (wxPoint2D
*) &_result_ref
;
6957 wxPyEndAllowThreads(__tstate
);
6958 if (PyErr_Occurred()) SWIG_fail
;
6960 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint2D
, 1);
6967 static PyObject
*_wrap_Point2D___imul__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6968 PyObject
*resultobj
;
6969 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
6970 wxPoint2D
*arg2
= 0 ;
6973 PyObject
* obj0
= 0 ;
6974 PyObject
* obj1
= 0 ;
6976 (char *) "self",(char *) "pt", NULL
6979 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D___imul__",kwnames
,&obj0
,&obj1
)) goto fail
;
6980 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
6981 if (SWIG_arg_fail(1)) SWIG_fail
;
6984 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
6987 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6989 wxPoint2D
&_result_ref
= (arg1
)->operator *=((wxPoint2D
const &)*arg2
);
6990 result
= (wxPoint2D
*) &_result_ref
;
6993 wxPyEndAllowThreads(__tstate
);
6994 if (PyErr_Occurred()) SWIG_fail
;
6996 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint2D
, 1);
7003 static PyObject
*_wrap_Point2D___idiv__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7004 PyObject
*resultobj
;
7005 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
7006 wxPoint2D
*arg2
= 0 ;
7009 PyObject
* obj0
= 0 ;
7010 PyObject
* obj1
= 0 ;
7012 (char *) "self",(char *) "pt", NULL
7015 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D___idiv__",kwnames
,&obj0
,&obj1
)) goto fail
;
7016 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
7017 if (SWIG_arg_fail(1)) SWIG_fail
;
7020 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
7023 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7025 wxPoint2D
&_result_ref
= (arg1
)->operator /=((wxPoint2D
const &)*arg2
);
7026 result
= (wxPoint2D
*) &_result_ref
;
7029 wxPyEndAllowThreads(__tstate
);
7030 if (PyErr_Occurred()) SWIG_fail
;
7032 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint2D
, 1);
7039 static PyObject
*_wrap_Point2D___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7040 PyObject
*resultobj
;
7041 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
7042 wxPoint2D
*arg2
= 0 ;
7045 PyObject
* obj0
= 0 ;
7046 PyObject
* obj1
= 0 ;
7048 (char *) "self",(char *) "pt", NULL
7051 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
7052 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| 0);
7053 if (SWIG_arg_fail(1)) SWIG_fail
;
7056 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
7059 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7060 result
= (bool)((wxPoint2D
const *)arg1
)->operator ==((wxPoint2D
const &)*arg2
);
7062 wxPyEndAllowThreads(__tstate
);
7063 if (PyErr_Occurred()) SWIG_fail
;
7066 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7074 static PyObject
*_wrap_Point2D___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7075 PyObject
*resultobj
;
7076 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
7077 wxPoint2D
*arg2
= 0 ;
7080 PyObject
* obj0
= 0 ;
7081 PyObject
* obj1
= 0 ;
7083 (char *) "self",(char *) "pt", NULL
7086 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
7087 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| 0);
7088 if (SWIG_arg_fail(1)) SWIG_fail
;
7091 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
7094 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7095 result
= (bool)((wxPoint2D
const *)arg1
)->operator !=((wxPoint2D
const &)*arg2
);
7097 wxPyEndAllowThreads(__tstate
);
7098 if (PyErr_Occurred()) SWIG_fail
;
7101 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7109 static PyObject
*_wrap_Point2D_x_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7110 PyObject
*resultobj
;
7111 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
7113 PyObject
* obj0
= 0 ;
7114 PyObject
* obj1
= 0 ;
7116 (char *) "self",(char *) "m_x", NULL
7119 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_x_set",kwnames
,&obj0
,&obj1
)) goto fail
;
7120 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| 0);
7121 if (SWIG_arg_fail(1)) SWIG_fail
;
7123 arg2
= (double)(SWIG_As_double(obj1
));
7124 if (SWIG_arg_fail(2)) SWIG_fail
;
7126 if (arg1
) (arg1
)->m_x
= arg2
;
7128 Py_INCREF(Py_None
); resultobj
= Py_None
;
7135 static PyObject
*_wrap_Point2D_x_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7136 PyObject
*resultobj
;
7137 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
7139 PyObject
* obj0
= 0 ;
7141 (char *) "self", NULL
7144 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D_x_get",kwnames
,&obj0
)) goto fail
;
7145 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| 0);
7146 if (SWIG_arg_fail(1)) SWIG_fail
;
7147 result
= (double) ((arg1
)->m_x
);
7150 resultobj
= SWIG_From_double((double)(result
));
7158 static PyObject
*_wrap_Point2D_y_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7159 PyObject
*resultobj
;
7160 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
7162 PyObject
* obj0
= 0 ;
7163 PyObject
* obj1
= 0 ;
7165 (char *) "self",(char *) "m_y", NULL
7168 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_y_set",kwnames
,&obj0
,&obj1
)) goto fail
;
7169 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| 0);
7170 if (SWIG_arg_fail(1)) SWIG_fail
;
7172 arg2
= (double)(SWIG_As_double(obj1
));
7173 if (SWIG_arg_fail(2)) SWIG_fail
;
7175 if (arg1
) (arg1
)->m_y
= arg2
;
7177 Py_INCREF(Py_None
); resultobj
= Py_None
;
7184 static PyObject
*_wrap_Point2D_y_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7185 PyObject
*resultobj
;
7186 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
7188 PyObject
* obj0
= 0 ;
7190 (char *) "self", NULL
7193 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D_y_get",kwnames
,&obj0
)) goto fail
;
7194 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| 0);
7195 if (SWIG_arg_fail(1)) SWIG_fail
;
7196 result
= (double) ((arg1
)->m_y
);
7199 resultobj
= SWIG_From_double((double)(result
));
7207 static PyObject
*_wrap_Point2D_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7208 PyObject
*resultobj
;
7209 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
7210 double arg2
= (double) 0 ;
7211 double arg3
= (double) 0 ;
7212 PyObject
* obj0
= 0 ;
7213 PyObject
* obj1
= 0 ;
7214 PyObject
* obj2
= 0 ;
7216 (char *) "self",(char *) "x",(char *) "y", NULL
7219 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Point2D_Set",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7220 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| 0);
7221 if (SWIG_arg_fail(1)) SWIG_fail
;
7224 arg2
= (double)(SWIG_As_double(obj1
));
7225 if (SWIG_arg_fail(2)) SWIG_fail
;
7230 arg3
= (double)(SWIG_As_double(obj2
));
7231 if (SWIG_arg_fail(3)) SWIG_fail
;
7235 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7236 wxPoint2D_Set(arg1
,arg2
,arg3
);
7238 wxPyEndAllowThreads(__tstate
);
7239 if (PyErr_Occurred()) SWIG_fail
;
7241 Py_INCREF(Py_None
); resultobj
= Py_None
;
7248 static PyObject
*_wrap_Point2D_Get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7249 PyObject
*resultobj
;
7250 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
7252 PyObject
* obj0
= 0 ;
7254 (char *) "self", NULL
7257 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D_Get",kwnames
,&obj0
)) goto fail
;
7258 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| 0);
7259 if (SWIG_arg_fail(1)) SWIG_fail
;
7261 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7262 result
= (PyObject
*)wxPoint2D_Get(arg1
);
7264 wxPyEndAllowThreads(__tstate
);
7265 if (PyErr_Occurred()) SWIG_fail
;
7274 static PyObject
* Point2D_swigregister(PyObject
*, PyObject
*args
) {
7276 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7277 SWIG_TypeClientData(SWIGTYPE_p_wxPoint2D
, obj
);
7279 return Py_BuildValue((char *)"");
7281 static int _wrap_DefaultPosition_set(PyObject
*) {
7282 PyErr_SetString(PyExc_TypeError
,"Variable DefaultPosition is read-only.");
7287 static PyObject
*_wrap_DefaultPosition_get(void) {
7290 pyobj
= SWIG_NewPointerObj((void *)(&wxDefaultPosition
), SWIGTYPE_p_wxPoint
, 0);
7295 static int _wrap_DefaultSize_set(PyObject
*) {
7296 PyErr_SetString(PyExc_TypeError
,"Variable DefaultSize is read-only.");
7301 static PyObject
*_wrap_DefaultSize_get(void) {
7304 pyobj
= SWIG_NewPointerObj((void *)(&wxDefaultSize
), SWIGTYPE_p_wxSize
, 0);
7309 static PyObject
*_wrap_new_InputStream(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7310 PyObject
*resultobj
;
7311 PyObject
*arg1
= (PyObject
*) 0 ;
7312 wxPyInputStream
*result
;
7313 PyObject
* obj0
= 0 ;
7318 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_InputStream",kwnames
,&obj0
)) goto fail
;
7321 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7322 result
= (wxPyInputStream
*)new_wxPyInputStream(arg1
);
7324 wxPyEndAllowThreads(__tstate
);
7325 if (PyErr_Occurred()) SWIG_fail
;
7327 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyInputStream
, 1);
7334 static PyObject
*_wrap_delete_InputStream(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7335 PyObject
*resultobj
;
7336 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
7337 PyObject
* obj0
= 0 ;
7339 (char *) "self", NULL
7342 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_InputStream",kwnames
,&obj0
)) goto fail
;
7343 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyInputStream
, SWIG_POINTER_EXCEPTION
| 0);
7344 if (SWIG_arg_fail(1)) SWIG_fail
;
7346 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7349 wxPyEndAllowThreads(__tstate
);
7350 if (PyErr_Occurred()) SWIG_fail
;
7352 Py_INCREF(Py_None
); resultobj
= Py_None
;
7359 static PyObject
*_wrap_InputStream_close(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7360 PyObject
*resultobj
;
7361 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
7362 PyObject
* obj0
= 0 ;
7364 (char *) "self", NULL
7367 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_close",kwnames
,&obj0
)) goto fail
;
7368 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyInputStream
, SWIG_POINTER_EXCEPTION
| 0);
7369 if (SWIG_arg_fail(1)) SWIG_fail
;
7371 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7374 wxPyEndAllowThreads(__tstate
);
7375 if (PyErr_Occurred()) SWIG_fail
;
7377 Py_INCREF(Py_None
); resultobj
= Py_None
;
7384 static PyObject
*_wrap_InputStream_flush(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7385 PyObject
*resultobj
;
7386 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
7387 PyObject
* obj0
= 0 ;
7389 (char *) "self", NULL
7392 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_flush",kwnames
,&obj0
)) goto fail
;
7393 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyInputStream
, SWIG_POINTER_EXCEPTION
| 0);
7394 if (SWIG_arg_fail(1)) SWIG_fail
;
7396 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7399 wxPyEndAllowThreads(__tstate
);
7400 if (PyErr_Occurred()) SWIG_fail
;
7402 Py_INCREF(Py_None
); resultobj
= Py_None
;
7409 static PyObject
*_wrap_InputStream_eof(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7410 PyObject
*resultobj
;
7411 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
7413 PyObject
* obj0
= 0 ;
7415 (char *) "self", NULL
7418 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_eof",kwnames
,&obj0
)) goto fail
;
7419 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyInputStream
, SWIG_POINTER_EXCEPTION
| 0);
7420 if (SWIG_arg_fail(1)) SWIG_fail
;
7422 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7423 result
= (bool)(arg1
)->eof();
7425 wxPyEndAllowThreads(__tstate
);
7426 if (PyErr_Occurred()) SWIG_fail
;
7429 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7437 static PyObject
*_wrap_InputStream_read(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7438 PyObject
*resultobj
;
7439 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
7440 int arg2
= (int) -1 ;
7442 PyObject
* obj0
= 0 ;
7443 PyObject
* obj1
= 0 ;
7445 (char *) "self",(char *) "size", NULL
7448 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:InputStream_read",kwnames
,&obj0
,&obj1
)) goto fail
;
7449 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyInputStream
, SWIG_POINTER_EXCEPTION
| 0);
7450 if (SWIG_arg_fail(1)) SWIG_fail
;
7453 arg2
= (int)(SWIG_As_int(obj1
));
7454 if (SWIG_arg_fail(2)) SWIG_fail
;
7458 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7459 result
= (PyObject
*)(arg1
)->read(arg2
);
7461 wxPyEndAllowThreads(__tstate
);
7462 if (PyErr_Occurred()) SWIG_fail
;
7471 static PyObject
*_wrap_InputStream_readline(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7472 PyObject
*resultobj
;
7473 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
7474 int arg2
= (int) -1 ;
7476 PyObject
* obj0
= 0 ;
7477 PyObject
* obj1
= 0 ;
7479 (char *) "self",(char *) "size", NULL
7482 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:InputStream_readline",kwnames
,&obj0
,&obj1
)) goto fail
;
7483 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyInputStream
, SWIG_POINTER_EXCEPTION
| 0);
7484 if (SWIG_arg_fail(1)) SWIG_fail
;
7487 arg2
= (int)(SWIG_As_int(obj1
));
7488 if (SWIG_arg_fail(2)) SWIG_fail
;
7492 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7493 result
= (PyObject
*)(arg1
)->readline(arg2
);
7495 wxPyEndAllowThreads(__tstate
);
7496 if (PyErr_Occurred()) SWIG_fail
;
7505 static PyObject
*_wrap_InputStream_readlines(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7506 PyObject
*resultobj
;
7507 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
7508 int arg2
= (int) -1 ;
7510 PyObject
* obj0
= 0 ;
7511 PyObject
* obj1
= 0 ;
7513 (char *) "self",(char *) "sizehint", NULL
7516 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:InputStream_readlines",kwnames
,&obj0
,&obj1
)) goto fail
;
7517 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyInputStream
, SWIG_POINTER_EXCEPTION
| 0);
7518 if (SWIG_arg_fail(1)) SWIG_fail
;
7521 arg2
= (int)(SWIG_As_int(obj1
));
7522 if (SWIG_arg_fail(2)) SWIG_fail
;
7526 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7527 result
= (PyObject
*)(arg1
)->readlines(arg2
);
7529 wxPyEndAllowThreads(__tstate
);
7530 if (PyErr_Occurred()) SWIG_fail
;
7539 static PyObject
*_wrap_InputStream_seek(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7540 PyObject
*resultobj
;
7541 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
7543 int arg3
= (int) 0 ;
7544 PyObject
* obj0
= 0 ;
7545 PyObject
* obj1
= 0 ;
7546 PyObject
* obj2
= 0 ;
7548 (char *) "self",(char *) "offset",(char *) "whence", NULL
7551 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:InputStream_seek",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7552 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyInputStream
, SWIG_POINTER_EXCEPTION
| 0);
7553 if (SWIG_arg_fail(1)) SWIG_fail
;
7555 arg2
= (int)(SWIG_As_int(obj1
));
7556 if (SWIG_arg_fail(2)) SWIG_fail
;
7560 arg3
= (int)(SWIG_As_int(obj2
));
7561 if (SWIG_arg_fail(3)) SWIG_fail
;
7565 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7566 (arg1
)->seek(arg2
,arg3
);
7568 wxPyEndAllowThreads(__tstate
);
7569 if (PyErr_Occurred()) SWIG_fail
;
7571 Py_INCREF(Py_None
); resultobj
= Py_None
;
7578 static PyObject
*_wrap_InputStream_tell(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7579 PyObject
*resultobj
;
7580 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
7582 PyObject
* obj0
= 0 ;
7584 (char *) "self", NULL
7587 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_tell",kwnames
,&obj0
)) goto fail
;
7588 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyInputStream
, SWIG_POINTER_EXCEPTION
| 0);
7589 if (SWIG_arg_fail(1)) SWIG_fail
;
7591 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7592 result
= (int)(arg1
)->tell();
7594 wxPyEndAllowThreads(__tstate
);
7595 if (PyErr_Occurred()) SWIG_fail
;
7598 resultobj
= SWIG_From_int((int)(result
));
7606 static PyObject
*_wrap_InputStream_Peek(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7607 PyObject
*resultobj
;
7608 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
7610 PyObject
* obj0
= 0 ;
7612 (char *) "self", NULL
7615 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_Peek",kwnames
,&obj0
)) goto fail
;
7616 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyInputStream
, SWIG_POINTER_EXCEPTION
| 0);
7617 if (SWIG_arg_fail(1)) SWIG_fail
;
7619 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7620 result
= (char)(arg1
)->Peek();
7622 wxPyEndAllowThreads(__tstate
);
7623 if (PyErr_Occurred()) SWIG_fail
;
7626 resultobj
= SWIG_From_char((char)(result
));
7634 static PyObject
*_wrap_InputStream_GetC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7635 PyObject
*resultobj
;
7636 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
7638 PyObject
* obj0
= 0 ;
7640 (char *) "self", NULL
7643 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_GetC",kwnames
,&obj0
)) goto fail
;
7644 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyInputStream
, SWIG_POINTER_EXCEPTION
| 0);
7645 if (SWIG_arg_fail(1)) SWIG_fail
;
7647 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7648 result
= (char)(arg1
)->GetC();
7650 wxPyEndAllowThreads(__tstate
);
7651 if (PyErr_Occurred()) SWIG_fail
;
7654 resultobj
= SWIG_From_char((char)(result
));
7662 static PyObject
*_wrap_InputStream_LastRead(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7663 PyObject
*resultobj
;
7664 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
7666 PyObject
* obj0
= 0 ;
7668 (char *) "self", NULL
7671 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_LastRead",kwnames
,&obj0
)) goto fail
;
7672 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyInputStream
, SWIG_POINTER_EXCEPTION
| 0);
7673 if (SWIG_arg_fail(1)) SWIG_fail
;
7675 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7676 result
= (size_t)(arg1
)->LastRead();
7678 wxPyEndAllowThreads(__tstate
);
7679 if (PyErr_Occurred()) SWIG_fail
;
7682 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
7690 static PyObject
*_wrap_InputStream_CanRead(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7691 PyObject
*resultobj
;
7692 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
7694 PyObject
* obj0
= 0 ;
7696 (char *) "self", NULL
7699 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_CanRead",kwnames
,&obj0
)) goto fail
;
7700 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyInputStream
, SWIG_POINTER_EXCEPTION
| 0);
7701 if (SWIG_arg_fail(1)) SWIG_fail
;
7703 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7704 result
= (bool)(arg1
)->CanRead();
7706 wxPyEndAllowThreads(__tstate
);
7707 if (PyErr_Occurred()) SWIG_fail
;
7710 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7718 static PyObject
*_wrap_InputStream_Eof(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7719 PyObject
*resultobj
;
7720 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
7722 PyObject
* obj0
= 0 ;
7724 (char *) "self", NULL
7727 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_Eof",kwnames
,&obj0
)) goto fail
;
7728 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyInputStream
, SWIG_POINTER_EXCEPTION
| 0);
7729 if (SWIG_arg_fail(1)) SWIG_fail
;
7731 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7732 result
= (bool)(arg1
)->Eof();
7734 wxPyEndAllowThreads(__tstate
);
7735 if (PyErr_Occurred()) SWIG_fail
;
7738 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7746 static PyObject
*_wrap_InputStream_Ungetch(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7747 PyObject
*resultobj
;
7748 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
7751 PyObject
* obj0
= 0 ;
7752 PyObject
* obj1
= 0 ;
7754 (char *) "self",(char *) "c", NULL
7757 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:InputStream_Ungetch",kwnames
,&obj0
,&obj1
)) goto fail
;
7758 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyInputStream
, SWIG_POINTER_EXCEPTION
| 0);
7759 if (SWIG_arg_fail(1)) SWIG_fail
;
7761 arg2
= (char)(SWIG_As_char(obj1
));
7762 if (SWIG_arg_fail(2)) SWIG_fail
;
7765 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7766 result
= (bool)(arg1
)->Ungetch(arg2
);
7768 wxPyEndAllowThreads(__tstate
);
7769 if (PyErr_Occurred()) SWIG_fail
;
7772 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7780 static PyObject
*_wrap_InputStream_SeekI(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7781 PyObject
*resultobj
;
7782 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
7784 wxSeekMode arg3
= (wxSeekMode
) wxFromStart
;
7786 PyObject
* obj0
= 0 ;
7787 PyObject
* obj1
= 0 ;
7788 PyObject
* obj2
= 0 ;
7790 (char *) "self",(char *) "pos",(char *) "mode", NULL
7793 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:InputStream_SeekI",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7794 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyInputStream
, SWIG_POINTER_EXCEPTION
| 0);
7795 if (SWIG_arg_fail(1)) SWIG_fail
;
7797 arg2
= (long)(SWIG_As_long(obj1
));
7798 if (SWIG_arg_fail(2)) SWIG_fail
;
7802 arg3
= (wxSeekMode
)(SWIG_As_int(obj2
));
7803 if (SWIG_arg_fail(3)) SWIG_fail
;
7807 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7808 result
= (long)(arg1
)->SeekI(arg2
,(wxSeekMode
)arg3
);
7810 wxPyEndAllowThreads(__tstate
);
7811 if (PyErr_Occurred()) SWIG_fail
;
7814 resultobj
= SWIG_From_long((long)(result
));
7822 static PyObject
*_wrap_InputStream_TellI(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7823 PyObject
*resultobj
;
7824 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
7826 PyObject
* obj0
= 0 ;
7828 (char *) "self", NULL
7831 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_TellI",kwnames
,&obj0
)) goto fail
;
7832 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyInputStream
, SWIG_POINTER_EXCEPTION
| 0);
7833 if (SWIG_arg_fail(1)) SWIG_fail
;
7835 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7836 result
= (long)(arg1
)->TellI();
7838 wxPyEndAllowThreads(__tstate
);
7839 if (PyErr_Occurred()) SWIG_fail
;
7842 resultobj
= SWIG_From_long((long)(result
));
7850 static PyObject
* InputStream_swigregister(PyObject
*, PyObject
*args
) {
7852 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7853 SWIG_TypeClientData(SWIGTYPE_p_wxPyInputStream
, obj
);
7855 return Py_BuildValue((char *)"");
7857 static PyObject
*_wrap_OutputStream_write(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7858 PyObject
*resultobj
;
7859 wxOutputStream
*arg1
= (wxOutputStream
*) 0 ;
7860 PyObject
*arg2
= (PyObject
*) 0 ;
7861 PyObject
* obj0
= 0 ;
7862 PyObject
* obj1
= 0 ;
7864 (char *) "self",(char *) "obj", NULL
7867 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:OutputStream_write",kwnames
,&obj0
,&obj1
)) goto fail
;
7868 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxOutputStream
, SWIG_POINTER_EXCEPTION
| 0);
7869 if (SWIG_arg_fail(1)) SWIG_fail
;
7872 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7873 wxOutputStream_write(arg1
,arg2
);
7875 wxPyEndAllowThreads(__tstate
);
7876 if (PyErr_Occurred()) SWIG_fail
;
7878 Py_INCREF(Py_None
); resultobj
= Py_None
;
7885 static PyObject
* OutputStream_swigregister(PyObject
*, PyObject
*args
) {
7887 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7888 SWIG_TypeClientData(SWIGTYPE_p_wxOutputStream
, obj
);
7890 return Py_BuildValue((char *)"");
7892 static PyObject
*_wrap_new_FSFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7893 PyObject
*resultobj
;
7894 wxInputStream
*arg1
= (wxInputStream
*) 0 ;
7895 wxString
*arg2
= 0 ;
7896 wxString
*arg3
= 0 ;
7897 wxString
*arg4
= 0 ;
7900 wxPyInputStream
*temp1
;
7901 bool temp2
= false ;
7902 bool temp3
= false ;
7903 bool temp4
= false ;
7904 PyObject
* obj0
= 0 ;
7905 PyObject
* obj1
= 0 ;
7906 PyObject
* obj2
= 0 ;
7907 PyObject
* obj3
= 0 ;
7908 PyObject
* obj4
= 0 ;
7910 (char *) "stream",(char *) "loc",(char *) "mimetype",(char *) "anchor",(char *) "modif", NULL
7913 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:new_FSFile",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
7915 if (wxPyConvertSwigPtr(obj0
, (void **)&temp1
, wxT("wxPyInputStream"))) {
7916 arg1
= wxPyCBInputStream_copy((wxPyCBInputStream
*)temp1
->m_wxis
);
7918 PyErr_Clear(); // clear the failure of the wxPyConvert above
7919 arg1
= wxPyCBInputStream_create(obj0
, true);
7921 PyErr_SetString(PyExc_TypeError
, "Expected wx.InputStream or Python file-like object.");
7927 arg2
= wxString_in_helper(obj1
);
7928 if (arg2
== NULL
) SWIG_fail
;
7932 arg3
= wxString_in_helper(obj2
);
7933 if (arg3
== NULL
) SWIG_fail
;
7937 arg4
= wxString_in_helper(obj3
);
7938 if (arg4
== NULL
) SWIG_fail
;
7943 SWIG_Python_ConvertPtr(obj4
, (void **)&argp
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
);
7944 if (SWIG_arg_fail(5)) SWIG_fail
;
7946 SWIG_null_ref("wxDateTime");
7948 if (SWIG_arg_fail(5)) SWIG_fail
;
7952 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7953 result
= (wxFSFile
*)new wxFSFile(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
);
7955 wxPyEndAllowThreads(__tstate
);
7956 if (PyErr_Occurred()) SWIG_fail
;
7959 resultobj
= wxPyMake_wxObject(result
, 1);
7991 static PyObject
*_wrap_delete_FSFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7992 PyObject
*resultobj
;
7993 wxFSFile
*arg1
= (wxFSFile
*) 0 ;
7994 PyObject
* obj0
= 0 ;
7996 (char *) "self", NULL
7999 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FSFile",kwnames
,&obj0
)) goto fail
;
8000 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFSFile
, SWIG_POINTER_EXCEPTION
| 0);
8001 if (SWIG_arg_fail(1)) SWIG_fail
;
8003 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8006 wxPyEndAllowThreads(__tstate
);
8007 if (PyErr_Occurred()) SWIG_fail
;
8009 Py_INCREF(Py_None
); resultobj
= Py_None
;
8016 static PyObject
*_wrap_FSFile_GetStream(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8017 PyObject
*resultobj
;
8018 wxFSFile
*arg1
= (wxFSFile
*) 0 ;
8019 wxInputStream
*result
;
8020 PyObject
* obj0
= 0 ;
8022 (char *) "self", NULL
8025 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FSFile_GetStream",kwnames
,&obj0
)) goto fail
;
8026 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFSFile
, SWIG_POINTER_EXCEPTION
| 0);
8027 if (SWIG_arg_fail(1)) SWIG_fail
;
8029 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8030 result
= (wxInputStream
*)(arg1
)->GetStream();
8032 wxPyEndAllowThreads(__tstate
);
8033 if (PyErr_Occurred()) SWIG_fail
;
8036 wxPyInputStream
* _ptr
= NULL
;
8039 _ptr
= new wxPyInputStream(result
);
8041 resultobj
= wxPyConstructObject(_ptr
, wxT("wxPyInputStream"), 0);
8049 static PyObject
*_wrap_FSFile_GetMimeType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8050 PyObject
*resultobj
;
8051 wxFSFile
*arg1
= (wxFSFile
*) 0 ;
8053 PyObject
* obj0
= 0 ;
8055 (char *) "self", NULL
8058 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FSFile_GetMimeType",kwnames
,&obj0
)) goto fail
;
8059 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFSFile
, SWIG_POINTER_EXCEPTION
| 0);
8060 if (SWIG_arg_fail(1)) SWIG_fail
;
8062 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8064 wxString
const &_result_ref
= (arg1
)->GetMimeType();
8065 result
= (wxString
*) &_result_ref
;
8068 wxPyEndAllowThreads(__tstate
);
8069 if (PyErr_Occurred()) SWIG_fail
;
8073 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
8075 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
8084 static PyObject
*_wrap_FSFile_GetLocation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8085 PyObject
*resultobj
;
8086 wxFSFile
*arg1
= (wxFSFile
*) 0 ;
8088 PyObject
* obj0
= 0 ;
8090 (char *) "self", NULL
8093 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FSFile_GetLocation",kwnames
,&obj0
)) goto fail
;
8094 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFSFile
, SWIG_POINTER_EXCEPTION
| 0);
8095 if (SWIG_arg_fail(1)) SWIG_fail
;
8097 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8099 wxString
const &_result_ref
= (arg1
)->GetLocation();
8100 result
= (wxString
*) &_result_ref
;
8103 wxPyEndAllowThreads(__tstate
);
8104 if (PyErr_Occurred()) SWIG_fail
;
8108 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
8110 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
8119 static PyObject
*_wrap_FSFile_GetAnchor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8120 PyObject
*resultobj
;
8121 wxFSFile
*arg1
= (wxFSFile
*) 0 ;
8123 PyObject
* obj0
= 0 ;
8125 (char *) "self", NULL
8128 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FSFile_GetAnchor",kwnames
,&obj0
)) goto fail
;
8129 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFSFile
, SWIG_POINTER_EXCEPTION
| 0);
8130 if (SWIG_arg_fail(1)) SWIG_fail
;
8132 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8134 wxString
const &_result_ref
= (arg1
)->GetAnchor();
8135 result
= (wxString
*) &_result_ref
;
8138 wxPyEndAllowThreads(__tstate
);
8139 if (PyErr_Occurred()) SWIG_fail
;
8143 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
8145 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
8154 static PyObject
*_wrap_FSFile_GetModificationTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8155 PyObject
*resultobj
;
8156 wxFSFile
*arg1
= (wxFSFile
*) 0 ;
8158 PyObject
* obj0
= 0 ;
8160 (char *) "self", NULL
8163 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FSFile_GetModificationTime",kwnames
,&obj0
)) goto fail
;
8164 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFSFile
, SWIG_POINTER_EXCEPTION
| 0);
8165 if (SWIG_arg_fail(1)) SWIG_fail
;
8167 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8168 result
= (arg1
)->GetModificationTime();
8170 wxPyEndAllowThreads(__tstate
);
8171 if (PyErr_Occurred()) SWIG_fail
;
8174 wxDateTime
* resultptr
;
8175 resultptr
= new wxDateTime((wxDateTime
&)(result
));
8176 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
8184 static PyObject
* FSFile_swigregister(PyObject
*, PyObject
*args
) {
8186 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8187 SWIG_TypeClientData(SWIGTYPE_p_wxFSFile
, obj
);
8189 return Py_BuildValue((char *)"");
8191 static PyObject
* CPPFileSystemHandler_swigregister(PyObject
*, PyObject
*args
) {
8193 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8194 SWIG_TypeClientData(SWIGTYPE_p_wxFileSystemHandler
, obj
);
8196 return Py_BuildValue((char *)"");
8198 static PyObject
*_wrap_new_FileSystemHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8199 PyObject
*resultobj
;
8200 wxPyFileSystemHandler
*result
;
8205 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_FileSystemHandler",kwnames
)) goto fail
;
8207 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8208 result
= (wxPyFileSystemHandler
*)new wxPyFileSystemHandler();
8210 wxPyEndAllowThreads(__tstate
);
8211 if (PyErr_Occurred()) SWIG_fail
;
8213 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyFileSystemHandler
, 1);
8220 static PyObject
*_wrap_FileSystemHandler__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8221 PyObject
*resultobj
;
8222 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
8223 PyObject
*arg2
= (PyObject
*) 0 ;
8224 PyObject
*arg3
= (PyObject
*) 0 ;
8225 PyObject
* obj0
= 0 ;
8226 PyObject
* obj1
= 0 ;
8227 PyObject
* obj2
= 0 ;
8229 (char *) "self",(char *) "self",(char *) "_class", NULL
8232 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:FileSystemHandler__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8233 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyFileSystemHandler
, SWIG_POINTER_EXCEPTION
| 0);
8234 if (SWIG_arg_fail(1)) SWIG_fail
;
8238 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8239 (arg1
)->_setCallbackInfo(arg2
,arg3
);
8241 wxPyEndAllowThreads(__tstate
);
8242 if (PyErr_Occurred()) SWIG_fail
;
8244 Py_INCREF(Py_None
); resultobj
= Py_None
;
8251 static PyObject
*_wrap_FileSystemHandler_CanOpen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8252 PyObject
*resultobj
;
8253 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
8254 wxString
*arg2
= 0 ;
8256 bool temp2
= false ;
8257 PyObject
* obj0
= 0 ;
8258 PyObject
* obj1
= 0 ;
8260 (char *) "self",(char *) "location", NULL
8263 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystemHandler_CanOpen",kwnames
,&obj0
,&obj1
)) goto fail
;
8264 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyFileSystemHandler
, SWIG_POINTER_EXCEPTION
| 0);
8265 if (SWIG_arg_fail(1)) SWIG_fail
;
8267 arg2
= wxString_in_helper(obj1
);
8268 if (arg2
== NULL
) SWIG_fail
;
8272 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8273 result
= (bool)(arg1
)->CanOpen((wxString
const &)*arg2
);
8275 wxPyEndAllowThreads(__tstate
);
8276 if (PyErr_Occurred()) SWIG_fail
;
8279 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8295 static PyObject
*_wrap_FileSystemHandler_OpenFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8296 PyObject
*resultobj
;
8297 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
8298 wxFileSystem
*arg2
= 0 ;
8299 wxString
*arg3
= 0 ;
8301 bool temp3
= false ;
8302 PyObject
* obj0
= 0 ;
8303 PyObject
* obj1
= 0 ;
8304 PyObject
* obj2
= 0 ;
8306 (char *) "self",(char *) "fs",(char *) "location", NULL
8309 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:FileSystemHandler_OpenFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8310 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyFileSystemHandler
, SWIG_POINTER_EXCEPTION
| 0);
8311 if (SWIG_arg_fail(1)) SWIG_fail
;
8313 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFileSystem
, SWIG_POINTER_EXCEPTION
| 0);
8314 if (SWIG_arg_fail(2)) SWIG_fail
;
8316 SWIG_null_ref("wxFileSystem");
8318 if (SWIG_arg_fail(2)) SWIG_fail
;
8321 arg3
= wxString_in_helper(obj2
);
8322 if (arg3
== NULL
) SWIG_fail
;
8326 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8327 result
= (wxFSFile
*)(arg1
)->OpenFile(*arg2
,(wxString
const &)*arg3
);
8329 wxPyEndAllowThreads(__tstate
);
8330 if (PyErr_Occurred()) SWIG_fail
;
8333 resultobj
= wxPyMake_wxObject(result
, 1);
8349 static PyObject
*_wrap_FileSystemHandler_FindFirst(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8350 PyObject
*resultobj
;
8351 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
8352 wxString
*arg2
= 0 ;
8353 int arg3
= (int) 0 ;
8355 bool temp2
= false ;
8356 PyObject
* obj0
= 0 ;
8357 PyObject
* obj1
= 0 ;
8358 PyObject
* obj2
= 0 ;
8360 (char *) "self",(char *) "spec",(char *) "flags", NULL
8363 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileSystemHandler_FindFirst",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8364 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyFileSystemHandler
, SWIG_POINTER_EXCEPTION
| 0);
8365 if (SWIG_arg_fail(1)) SWIG_fail
;
8367 arg2
= wxString_in_helper(obj1
);
8368 if (arg2
== NULL
) SWIG_fail
;
8373 arg3
= (int)(SWIG_As_int(obj2
));
8374 if (SWIG_arg_fail(3)) SWIG_fail
;
8378 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8379 result
= (arg1
)->FindFirst((wxString
const &)*arg2
,arg3
);
8381 wxPyEndAllowThreads(__tstate
);
8382 if (PyErr_Occurred()) SWIG_fail
;
8386 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8388 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8405 static PyObject
*_wrap_FileSystemHandler_FindNext(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8406 PyObject
*resultobj
;
8407 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
8409 PyObject
* obj0
= 0 ;
8411 (char *) "self", NULL
8414 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileSystemHandler_FindNext",kwnames
,&obj0
)) goto fail
;
8415 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyFileSystemHandler
, SWIG_POINTER_EXCEPTION
| 0);
8416 if (SWIG_arg_fail(1)) SWIG_fail
;
8418 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8419 result
= (arg1
)->FindNext();
8421 wxPyEndAllowThreads(__tstate
);
8422 if (PyErr_Occurred()) SWIG_fail
;
8426 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8428 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8437 static PyObject
*_wrap_FileSystemHandler_GetProtocol(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8438 PyObject
*resultobj
;
8439 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
8440 wxString
*arg2
= 0 ;
8442 bool temp2
= false ;
8443 PyObject
* obj0
= 0 ;
8444 PyObject
* obj1
= 0 ;
8446 (char *) "self",(char *) "location", NULL
8449 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystemHandler_GetProtocol",kwnames
,&obj0
,&obj1
)) goto fail
;
8450 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyFileSystemHandler
, SWIG_POINTER_EXCEPTION
| 0);
8451 if (SWIG_arg_fail(1)) SWIG_fail
;
8453 arg2
= wxString_in_helper(obj1
);
8454 if (arg2
== NULL
) SWIG_fail
;
8458 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8459 result
= (arg1
)->GetProtocol((wxString
const &)*arg2
);
8461 wxPyEndAllowThreads(__tstate
);
8462 if (PyErr_Occurred()) SWIG_fail
;
8466 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8468 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8485 static PyObject
*_wrap_FileSystemHandler_GetLeftLocation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8486 PyObject
*resultobj
;
8487 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
8488 wxString
*arg2
= 0 ;
8490 bool temp2
= false ;
8491 PyObject
* obj0
= 0 ;
8492 PyObject
* obj1
= 0 ;
8494 (char *) "self",(char *) "location", NULL
8497 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystemHandler_GetLeftLocation",kwnames
,&obj0
,&obj1
)) goto fail
;
8498 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyFileSystemHandler
, SWIG_POINTER_EXCEPTION
| 0);
8499 if (SWIG_arg_fail(1)) SWIG_fail
;
8501 arg2
= wxString_in_helper(obj1
);
8502 if (arg2
== NULL
) SWIG_fail
;
8506 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8507 result
= (arg1
)->GetLeftLocation((wxString
const &)*arg2
);
8509 wxPyEndAllowThreads(__tstate
);
8510 if (PyErr_Occurred()) SWIG_fail
;
8514 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8516 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8533 static PyObject
*_wrap_FileSystemHandler_GetAnchor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8534 PyObject
*resultobj
;
8535 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
8536 wxString
*arg2
= 0 ;
8538 bool temp2
= false ;
8539 PyObject
* obj0
= 0 ;
8540 PyObject
* obj1
= 0 ;
8542 (char *) "self",(char *) "location", NULL
8545 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystemHandler_GetAnchor",kwnames
,&obj0
,&obj1
)) goto fail
;
8546 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyFileSystemHandler
, SWIG_POINTER_EXCEPTION
| 0);
8547 if (SWIG_arg_fail(1)) SWIG_fail
;
8549 arg2
= wxString_in_helper(obj1
);
8550 if (arg2
== NULL
) SWIG_fail
;
8554 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8555 result
= (arg1
)->GetAnchor((wxString
const &)*arg2
);
8557 wxPyEndAllowThreads(__tstate
);
8558 if (PyErr_Occurred()) SWIG_fail
;
8562 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8564 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8581 static PyObject
*_wrap_FileSystemHandler_GetRightLocation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8582 PyObject
*resultobj
;
8583 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
8584 wxString
*arg2
= 0 ;
8586 bool temp2
= false ;
8587 PyObject
* obj0
= 0 ;
8588 PyObject
* obj1
= 0 ;
8590 (char *) "self",(char *) "location", NULL
8593 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystemHandler_GetRightLocation",kwnames
,&obj0
,&obj1
)) goto fail
;
8594 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyFileSystemHandler
, SWIG_POINTER_EXCEPTION
| 0);
8595 if (SWIG_arg_fail(1)) SWIG_fail
;
8597 arg2
= wxString_in_helper(obj1
);
8598 if (arg2
== NULL
) SWIG_fail
;
8602 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8603 result
= (arg1
)->GetRightLocation((wxString
const &)*arg2
);
8605 wxPyEndAllowThreads(__tstate
);
8606 if (PyErr_Occurred()) SWIG_fail
;
8610 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8612 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8629 static PyObject
*_wrap_FileSystemHandler_GetMimeTypeFromExt(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8630 PyObject
*resultobj
;
8631 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
8632 wxString
*arg2
= 0 ;
8634 bool temp2
= false ;
8635 PyObject
* obj0
= 0 ;
8636 PyObject
* obj1
= 0 ;
8638 (char *) "self",(char *) "location", NULL
8641 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystemHandler_GetMimeTypeFromExt",kwnames
,&obj0
,&obj1
)) goto fail
;
8642 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyFileSystemHandler
, SWIG_POINTER_EXCEPTION
| 0);
8643 if (SWIG_arg_fail(1)) SWIG_fail
;
8645 arg2
= wxString_in_helper(obj1
);
8646 if (arg2
== NULL
) SWIG_fail
;
8650 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8651 result
= (arg1
)->GetMimeTypeFromExt((wxString
const &)*arg2
);
8653 wxPyEndAllowThreads(__tstate
);
8654 if (PyErr_Occurred()) SWIG_fail
;
8658 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8660 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8677 static PyObject
* FileSystemHandler_swigregister(PyObject
*, PyObject
*args
) {
8679 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8680 SWIG_TypeClientData(SWIGTYPE_p_wxPyFileSystemHandler
, obj
);
8682 return Py_BuildValue((char *)"");
8684 static PyObject
*_wrap_new_FileSystem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8685 PyObject
*resultobj
;
8686 wxFileSystem
*result
;
8691 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_FileSystem",kwnames
)) goto fail
;
8693 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8694 result
= (wxFileSystem
*)new wxFileSystem();
8696 wxPyEndAllowThreads(__tstate
);
8697 if (PyErr_Occurred()) SWIG_fail
;
8700 resultobj
= wxPyMake_wxObject(result
, 1);
8708 static PyObject
*_wrap_delete_FileSystem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8709 PyObject
*resultobj
;
8710 wxFileSystem
*arg1
= (wxFileSystem
*) 0 ;
8711 PyObject
* obj0
= 0 ;
8713 (char *) "self", NULL
8716 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FileSystem",kwnames
,&obj0
)) goto fail
;
8717 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileSystem
, SWIG_POINTER_EXCEPTION
| 0);
8718 if (SWIG_arg_fail(1)) SWIG_fail
;
8720 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8723 wxPyEndAllowThreads(__tstate
);
8724 if (PyErr_Occurred()) SWIG_fail
;
8726 Py_INCREF(Py_None
); resultobj
= Py_None
;
8733 static PyObject
*_wrap_FileSystem_ChangePathTo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8734 PyObject
*resultobj
;
8735 wxFileSystem
*arg1
= (wxFileSystem
*) 0 ;
8736 wxString
*arg2
= 0 ;
8737 bool arg3
= (bool) false ;
8738 bool temp2
= false ;
8739 PyObject
* obj0
= 0 ;
8740 PyObject
* obj1
= 0 ;
8741 PyObject
* obj2
= 0 ;
8743 (char *) "self",(char *) "location",(char *) "is_dir", NULL
8746 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileSystem_ChangePathTo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8747 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileSystem
, SWIG_POINTER_EXCEPTION
| 0);
8748 if (SWIG_arg_fail(1)) SWIG_fail
;
8750 arg2
= wxString_in_helper(obj1
);
8751 if (arg2
== NULL
) SWIG_fail
;
8756 arg3
= (bool)(SWIG_As_bool(obj2
));
8757 if (SWIG_arg_fail(3)) SWIG_fail
;
8761 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8762 (arg1
)->ChangePathTo((wxString
const &)*arg2
,arg3
);
8764 wxPyEndAllowThreads(__tstate
);
8765 if (PyErr_Occurred()) SWIG_fail
;
8767 Py_INCREF(Py_None
); resultobj
= Py_None
;
8782 static PyObject
*_wrap_FileSystem_GetPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8783 PyObject
*resultobj
;
8784 wxFileSystem
*arg1
= (wxFileSystem
*) 0 ;
8786 PyObject
* obj0
= 0 ;
8788 (char *) "self", NULL
8791 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileSystem_GetPath",kwnames
,&obj0
)) goto fail
;
8792 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileSystem
, SWIG_POINTER_EXCEPTION
| 0);
8793 if (SWIG_arg_fail(1)) SWIG_fail
;
8795 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8796 result
= (arg1
)->GetPath();
8798 wxPyEndAllowThreads(__tstate
);
8799 if (PyErr_Occurred()) SWIG_fail
;
8803 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8805 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8814 static PyObject
*_wrap_FileSystem_OpenFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8815 PyObject
*resultobj
;
8816 wxFileSystem
*arg1
= (wxFileSystem
*) 0 ;
8817 wxString
*arg2
= 0 ;
8819 bool temp2
= false ;
8820 PyObject
* obj0
= 0 ;
8821 PyObject
* obj1
= 0 ;
8823 (char *) "self",(char *) "location", NULL
8826 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystem_OpenFile",kwnames
,&obj0
,&obj1
)) goto fail
;
8827 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileSystem
, SWIG_POINTER_EXCEPTION
| 0);
8828 if (SWIG_arg_fail(1)) SWIG_fail
;
8830 arg2
= wxString_in_helper(obj1
);
8831 if (arg2
== NULL
) SWIG_fail
;
8835 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8836 result
= (wxFSFile
*)(arg1
)->OpenFile((wxString
const &)*arg2
);
8838 wxPyEndAllowThreads(__tstate
);
8839 if (PyErr_Occurred()) SWIG_fail
;
8842 resultobj
= wxPyMake_wxObject(result
, 1);
8858 static PyObject
*_wrap_FileSystem_FindFirst(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8859 PyObject
*resultobj
;
8860 wxFileSystem
*arg1
= (wxFileSystem
*) 0 ;
8861 wxString
*arg2
= 0 ;
8862 int arg3
= (int) 0 ;
8864 bool temp2
= false ;
8865 PyObject
* obj0
= 0 ;
8866 PyObject
* obj1
= 0 ;
8867 PyObject
* obj2
= 0 ;
8869 (char *) "self",(char *) "spec",(char *) "flags", NULL
8872 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileSystem_FindFirst",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8873 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileSystem
, SWIG_POINTER_EXCEPTION
| 0);
8874 if (SWIG_arg_fail(1)) SWIG_fail
;
8876 arg2
= wxString_in_helper(obj1
);
8877 if (arg2
== NULL
) SWIG_fail
;
8882 arg3
= (int)(SWIG_As_int(obj2
));
8883 if (SWIG_arg_fail(3)) SWIG_fail
;
8887 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8888 result
= (arg1
)->FindFirst((wxString
const &)*arg2
,arg3
);
8890 wxPyEndAllowThreads(__tstate
);
8891 if (PyErr_Occurred()) SWIG_fail
;
8895 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8897 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8914 static PyObject
*_wrap_FileSystem_FindNext(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8915 PyObject
*resultobj
;
8916 wxFileSystem
*arg1
= (wxFileSystem
*) 0 ;
8918 PyObject
* obj0
= 0 ;
8920 (char *) "self", NULL
8923 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileSystem_FindNext",kwnames
,&obj0
)) goto fail
;
8924 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileSystem
, SWIG_POINTER_EXCEPTION
| 0);
8925 if (SWIG_arg_fail(1)) SWIG_fail
;
8927 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8928 result
= (arg1
)->FindNext();
8930 wxPyEndAllowThreads(__tstate
);
8931 if (PyErr_Occurred()) SWIG_fail
;
8935 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8937 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8946 static PyObject
*_wrap_FileSystem_AddHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8947 PyObject
*resultobj
;
8948 wxFileSystemHandler
*arg1
= (wxFileSystemHandler
*) 0 ;
8949 PyObject
* obj0
= 0 ;
8951 (char *) "handler", NULL
8954 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileSystem_AddHandler",kwnames
,&obj0
)) goto fail
;
8955 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileSystemHandler
, SWIG_POINTER_EXCEPTION
| 0);
8956 if (SWIG_arg_fail(1)) SWIG_fail
;
8958 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8959 wxFileSystem::AddHandler(arg1
);
8961 wxPyEndAllowThreads(__tstate
);
8962 if (PyErr_Occurred()) SWIG_fail
;
8964 Py_INCREF(Py_None
); resultobj
= Py_None
;
8971 static PyObject
*_wrap_FileSystem_CleanUpHandlers(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8972 PyObject
*resultobj
;
8977 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":FileSystem_CleanUpHandlers",kwnames
)) goto fail
;
8979 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8980 wxFileSystem::CleanUpHandlers();
8982 wxPyEndAllowThreads(__tstate
);
8983 if (PyErr_Occurred()) SWIG_fail
;
8985 Py_INCREF(Py_None
); resultobj
= Py_None
;
8992 static PyObject
*_wrap_FileSystem_FileNameToURL(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8993 PyObject
*resultobj
;
8994 wxString
*arg1
= 0 ;
8996 bool temp1
= false ;
8997 PyObject
* obj0
= 0 ;
8999 (char *) "filename", NULL
9002 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileSystem_FileNameToURL",kwnames
,&obj0
)) goto fail
;
9004 arg1
= wxString_in_helper(obj0
);
9005 if (arg1
== NULL
) SWIG_fail
;
9009 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9010 result
= wxFileSystem::FileNameToURL((wxString
const &)*arg1
);
9012 wxPyEndAllowThreads(__tstate
);
9013 if (PyErr_Occurred()) SWIG_fail
;
9017 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9019 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9036 static PyObject
*_wrap_FileSystem_URLToFileName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9037 PyObject
*resultobj
;
9038 wxString
*arg1
= 0 ;
9040 bool temp1
= false ;
9041 PyObject
* obj0
= 0 ;
9043 (char *) "url", NULL
9046 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileSystem_URLToFileName",kwnames
,&obj0
)) goto fail
;
9048 arg1
= wxString_in_helper(obj0
);
9049 if (arg1
== NULL
) SWIG_fail
;
9053 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9054 result
= FileSystem_URLToFileName((wxString
const &)*arg1
);
9056 wxPyEndAllowThreads(__tstate
);
9057 if (PyErr_Occurred()) SWIG_fail
;
9061 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9063 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9080 static PyObject
* FileSystem_swigregister(PyObject
*, PyObject
*args
) {
9082 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9083 SWIG_TypeClientData(SWIGTYPE_p_wxFileSystem
, obj
);
9085 return Py_BuildValue((char *)"");
9087 static PyObject
*_wrap_new_InternetFSHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9088 PyObject
*resultobj
;
9089 wxInternetFSHandler
*result
;
9094 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_InternetFSHandler",kwnames
)) goto fail
;
9096 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9097 result
= (wxInternetFSHandler
*)new wxInternetFSHandler();
9099 wxPyEndAllowThreads(__tstate
);
9100 if (PyErr_Occurred()) SWIG_fail
;
9102 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxInternetFSHandler
, 1);
9109 static PyObject
*_wrap_InternetFSHandler_CanOpen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9110 PyObject
*resultobj
;
9111 wxInternetFSHandler
*arg1
= (wxInternetFSHandler
*) 0 ;
9112 wxString
*arg2
= 0 ;
9114 bool temp2
= false ;
9115 PyObject
* obj0
= 0 ;
9116 PyObject
* obj1
= 0 ;
9118 (char *) "self",(char *) "location", NULL
9121 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:InternetFSHandler_CanOpen",kwnames
,&obj0
,&obj1
)) goto fail
;
9122 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxInternetFSHandler
, SWIG_POINTER_EXCEPTION
| 0);
9123 if (SWIG_arg_fail(1)) SWIG_fail
;
9125 arg2
= wxString_in_helper(obj1
);
9126 if (arg2
== NULL
) SWIG_fail
;
9130 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9131 result
= (bool)(arg1
)->CanOpen((wxString
const &)*arg2
);
9133 wxPyEndAllowThreads(__tstate
);
9134 if (PyErr_Occurred()) SWIG_fail
;
9137 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9153 static PyObject
*_wrap_InternetFSHandler_OpenFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9154 PyObject
*resultobj
;
9155 wxInternetFSHandler
*arg1
= (wxInternetFSHandler
*) 0 ;
9156 wxFileSystem
*arg2
= 0 ;
9157 wxString
*arg3
= 0 ;
9159 bool temp3
= false ;
9160 PyObject
* obj0
= 0 ;
9161 PyObject
* obj1
= 0 ;
9162 PyObject
* obj2
= 0 ;
9164 (char *) "self",(char *) "fs",(char *) "location", NULL
9167 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:InternetFSHandler_OpenFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9168 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxInternetFSHandler
, SWIG_POINTER_EXCEPTION
| 0);
9169 if (SWIG_arg_fail(1)) SWIG_fail
;
9171 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFileSystem
, SWIG_POINTER_EXCEPTION
| 0);
9172 if (SWIG_arg_fail(2)) SWIG_fail
;
9174 SWIG_null_ref("wxFileSystem");
9176 if (SWIG_arg_fail(2)) SWIG_fail
;
9179 arg3
= wxString_in_helper(obj2
);
9180 if (arg3
== NULL
) SWIG_fail
;
9184 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9185 result
= (wxFSFile
*)(arg1
)->OpenFile(*arg2
,(wxString
const &)*arg3
);
9187 wxPyEndAllowThreads(__tstate
);
9188 if (PyErr_Occurred()) SWIG_fail
;
9191 resultobj
= wxPyMake_wxObject(result
, 1);
9207 static PyObject
* InternetFSHandler_swigregister(PyObject
*, PyObject
*args
) {
9209 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9210 SWIG_TypeClientData(SWIGTYPE_p_wxInternetFSHandler
, obj
);
9212 return Py_BuildValue((char *)"");
9214 static PyObject
*_wrap_new_ZipFSHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9215 PyObject
*resultobj
;
9216 wxZipFSHandler
*result
;
9221 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ZipFSHandler",kwnames
)) goto fail
;
9223 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9224 result
= (wxZipFSHandler
*)new wxZipFSHandler();
9226 wxPyEndAllowThreads(__tstate
);
9227 if (PyErr_Occurred()) SWIG_fail
;
9229 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxZipFSHandler
, 1);
9236 static PyObject
*_wrap_ZipFSHandler_CanOpen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9237 PyObject
*resultobj
;
9238 wxZipFSHandler
*arg1
= (wxZipFSHandler
*) 0 ;
9239 wxString
*arg2
= 0 ;
9241 bool temp2
= false ;
9242 PyObject
* obj0
= 0 ;
9243 PyObject
* obj1
= 0 ;
9245 (char *) "self",(char *) "location", NULL
9248 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ZipFSHandler_CanOpen",kwnames
,&obj0
,&obj1
)) goto fail
;
9249 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxZipFSHandler
, SWIG_POINTER_EXCEPTION
| 0);
9250 if (SWIG_arg_fail(1)) SWIG_fail
;
9252 arg2
= wxString_in_helper(obj1
);
9253 if (arg2
== NULL
) SWIG_fail
;
9257 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9258 result
= (bool)(arg1
)->CanOpen((wxString
const &)*arg2
);
9260 wxPyEndAllowThreads(__tstate
);
9261 if (PyErr_Occurred()) SWIG_fail
;
9264 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9280 static PyObject
*_wrap_ZipFSHandler_OpenFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9281 PyObject
*resultobj
;
9282 wxZipFSHandler
*arg1
= (wxZipFSHandler
*) 0 ;
9283 wxFileSystem
*arg2
= 0 ;
9284 wxString
*arg3
= 0 ;
9286 bool temp3
= false ;
9287 PyObject
* obj0
= 0 ;
9288 PyObject
* obj1
= 0 ;
9289 PyObject
* obj2
= 0 ;
9291 (char *) "self",(char *) "fs",(char *) "location", NULL
9294 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ZipFSHandler_OpenFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9295 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxZipFSHandler
, SWIG_POINTER_EXCEPTION
| 0);
9296 if (SWIG_arg_fail(1)) SWIG_fail
;
9298 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFileSystem
, SWIG_POINTER_EXCEPTION
| 0);
9299 if (SWIG_arg_fail(2)) SWIG_fail
;
9301 SWIG_null_ref("wxFileSystem");
9303 if (SWIG_arg_fail(2)) SWIG_fail
;
9306 arg3
= wxString_in_helper(obj2
);
9307 if (arg3
== NULL
) SWIG_fail
;
9311 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9312 result
= (wxFSFile
*)(arg1
)->OpenFile(*arg2
,(wxString
const &)*arg3
);
9314 wxPyEndAllowThreads(__tstate
);
9315 if (PyErr_Occurred()) SWIG_fail
;
9318 resultobj
= wxPyMake_wxObject(result
, 1);
9334 static PyObject
*_wrap_ZipFSHandler_FindFirst(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9335 PyObject
*resultobj
;
9336 wxZipFSHandler
*arg1
= (wxZipFSHandler
*) 0 ;
9337 wxString
*arg2
= 0 ;
9338 int arg3
= (int) 0 ;
9340 bool temp2
= false ;
9341 PyObject
* obj0
= 0 ;
9342 PyObject
* obj1
= 0 ;
9343 PyObject
* obj2
= 0 ;
9345 (char *) "self",(char *) "spec",(char *) "flags", NULL
9348 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ZipFSHandler_FindFirst",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9349 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxZipFSHandler
, SWIG_POINTER_EXCEPTION
| 0);
9350 if (SWIG_arg_fail(1)) SWIG_fail
;
9352 arg2
= wxString_in_helper(obj1
);
9353 if (arg2
== NULL
) SWIG_fail
;
9358 arg3
= (int)(SWIG_As_int(obj2
));
9359 if (SWIG_arg_fail(3)) SWIG_fail
;
9363 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9364 result
= (arg1
)->FindFirst((wxString
const &)*arg2
,arg3
);
9366 wxPyEndAllowThreads(__tstate
);
9367 if (PyErr_Occurred()) SWIG_fail
;
9371 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9373 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9390 static PyObject
*_wrap_ZipFSHandler_FindNext(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9391 PyObject
*resultobj
;
9392 wxZipFSHandler
*arg1
= (wxZipFSHandler
*) 0 ;
9394 PyObject
* obj0
= 0 ;
9396 (char *) "self", NULL
9399 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ZipFSHandler_FindNext",kwnames
,&obj0
)) goto fail
;
9400 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxZipFSHandler
, SWIG_POINTER_EXCEPTION
| 0);
9401 if (SWIG_arg_fail(1)) SWIG_fail
;
9403 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9404 result
= (arg1
)->FindNext();
9406 wxPyEndAllowThreads(__tstate
);
9407 if (PyErr_Occurred()) SWIG_fail
;
9411 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9413 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9422 static PyObject
* ZipFSHandler_swigregister(PyObject
*, PyObject
*args
) {
9424 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9425 SWIG_TypeClientData(SWIGTYPE_p_wxZipFSHandler
, obj
);
9427 return Py_BuildValue((char *)"");
9429 static PyObject
*_wrap___wxMemoryFSHandler_AddFile_wxImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9430 PyObject
*resultobj
;
9431 wxString
*arg1
= 0 ;
9434 bool temp1
= false ;
9435 PyObject
* obj0
= 0 ;
9436 PyObject
* obj1
= 0 ;
9437 PyObject
* obj2
= 0 ;
9439 (char *) "filename",(char *) "image",(char *) "type", NULL
9442 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:__wxMemoryFSHandler_AddFile_wxImage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9444 arg1
= wxString_in_helper(obj0
);
9445 if (arg1
== NULL
) SWIG_fail
;
9449 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
9450 if (SWIG_arg_fail(2)) SWIG_fail
;
9452 SWIG_null_ref("wxImage");
9454 if (SWIG_arg_fail(2)) SWIG_fail
;
9457 arg3
= (long)(SWIG_As_long(obj2
));
9458 if (SWIG_arg_fail(3)) SWIG_fail
;
9461 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9462 __wxMemoryFSHandler_AddFile_wxImage((wxString
const &)*arg1
,*arg2
,arg3
);
9464 wxPyEndAllowThreads(__tstate
);
9465 if (PyErr_Occurred()) SWIG_fail
;
9467 Py_INCREF(Py_None
); resultobj
= Py_None
;
9482 static PyObject
*_wrap___wxMemoryFSHandler_AddFile_wxBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9483 PyObject
*resultobj
;
9484 wxString
*arg1
= 0 ;
9485 wxBitmap
*arg2
= 0 ;
9487 bool temp1
= false ;
9488 PyObject
* obj0
= 0 ;
9489 PyObject
* obj1
= 0 ;
9490 PyObject
* obj2
= 0 ;
9492 (char *) "filename",(char *) "bitmap",(char *) "type", NULL
9495 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:__wxMemoryFSHandler_AddFile_wxBitmap",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9497 arg1
= wxString_in_helper(obj0
);
9498 if (arg1
== NULL
) SWIG_fail
;
9502 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
9503 if (SWIG_arg_fail(2)) SWIG_fail
;
9505 SWIG_null_ref("wxBitmap");
9507 if (SWIG_arg_fail(2)) SWIG_fail
;
9510 arg3
= (long)(SWIG_As_long(obj2
));
9511 if (SWIG_arg_fail(3)) SWIG_fail
;
9514 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9515 __wxMemoryFSHandler_AddFile_wxBitmap((wxString
const &)*arg1
,(wxBitmap
const &)*arg2
,arg3
);
9517 wxPyEndAllowThreads(__tstate
);
9518 if (PyErr_Occurred()) SWIG_fail
;
9520 Py_INCREF(Py_None
); resultobj
= Py_None
;
9535 static PyObject
*_wrap___wxMemoryFSHandler_AddFile_Data(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9536 PyObject
*resultobj
;
9537 wxString
*arg1
= 0 ;
9538 PyObject
*arg2
= (PyObject
*) 0 ;
9539 bool temp1
= false ;
9540 PyObject
* obj0
= 0 ;
9541 PyObject
* obj1
= 0 ;
9543 (char *) "filename",(char *) "data", NULL
9546 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:__wxMemoryFSHandler_AddFile_Data",kwnames
,&obj0
,&obj1
)) goto fail
;
9548 arg1
= wxString_in_helper(obj0
);
9549 if (arg1
== NULL
) SWIG_fail
;
9554 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9555 __wxMemoryFSHandler_AddFile_Data((wxString
const &)*arg1
,arg2
);
9557 wxPyEndAllowThreads(__tstate
);
9558 if (PyErr_Occurred()) SWIG_fail
;
9560 Py_INCREF(Py_None
); resultobj
= Py_None
;
9575 static PyObject
*_wrap_new_MemoryFSHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9576 PyObject
*resultobj
;
9577 wxMemoryFSHandler
*result
;
9582 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_MemoryFSHandler",kwnames
)) goto fail
;
9584 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9585 result
= (wxMemoryFSHandler
*)new wxMemoryFSHandler();
9587 wxPyEndAllowThreads(__tstate
);
9588 if (PyErr_Occurred()) SWIG_fail
;
9590 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMemoryFSHandler
, 1);
9597 static PyObject
*_wrap_MemoryFSHandler_RemoveFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9598 PyObject
*resultobj
;
9599 wxString
*arg1
= 0 ;
9600 bool temp1
= false ;
9601 PyObject
* obj0
= 0 ;
9603 (char *) "filename", NULL
9606 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MemoryFSHandler_RemoveFile",kwnames
,&obj0
)) goto fail
;
9608 arg1
= wxString_in_helper(obj0
);
9609 if (arg1
== NULL
) SWIG_fail
;
9613 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9614 wxMemoryFSHandler::RemoveFile((wxString
const &)*arg1
);
9616 wxPyEndAllowThreads(__tstate
);
9617 if (PyErr_Occurred()) SWIG_fail
;
9619 Py_INCREF(Py_None
); resultobj
= Py_None
;
9634 static PyObject
*_wrap_MemoryFSHandler_CanOpen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9635 PyObject
*resultobj
;
9636 wxMemoryFSHandler
*arg1
= (wxMemoryFSHandler
*) 0 ;
9637 wxString
*arg2
= 0 ;
9639 bool temp2
= false ;
9640 PyObject
* obj0
= 0 ;
9641 PyObject
* obj1
= 0 ;
9643 (char *) "self",(char *) "location", NULL
9646 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MemoryFSHandler_CanOpen",kwnames
,&obj0
,&obj1
)) goto fail
;
9647 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMemoryFSHandler
, SWIG_POINTER_EXCEPTION
| 0);
9648 if (SWIG_arg_fail(1)) SWIG_fail
;
9650 arg2
= wxString_in_helper(obj1
);
9651 if (arg2
== NULL
) SWIG_fail
;
9655 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9656 result
= (bool)(arg1
)->CanOpen((wxString
const &)*arg2
);
9658 wxPyEndAllowThreads(__tstate
);
9659 if (PyErr_Occurred()) SWIG_fail
;
9662 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9678 static PyObject
*_wrap_MemoryFSHandler_OpenFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9679 PyObject
*resultobj
;
9680 wxMemoryFSHandler
*arg1
= (wxMemoryFSHandler
*) 0 ;
9681 wxFileSystem
*arg2
= 0 ;
9682 wxString
*arg3
= 0 ;
9684 bool temp3
= false ;
9685 PyObject
* obj0
= 0 ;
9686 PyObject
* obj1
= 0 ;
9687 PyObject
* obj2
= 0 ;
9689 (char *) "self",(char *) "fs",(char *) "location", NULL
9692 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MemoryFSHandler_OpenFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9693 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMemoryFSHandler
, SWIG_POINTER_EXCEPTION
| 0);
9694 if (SWIG_arg_fail(1)) SWIG_fail
;
9696 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFileSystem
, SWIG_POINTER_EXCEPTION
| 0);
9697 if (SWIG_arg_fail(2)) SWIG_fail
;
9699 SWIG_null_ref("wxFileSystem");
9701 if (SWIG_arg_fail(2)) SWIG_fail
;
9704 arg3
= wxString_in_helper(obj2
);
9705 if (arg3
== NULL
) SWIG_fail
;
9709 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9710 result
= (wxFSFile
*)(arg1
)->OpenFile(*arg2
,(wxString
const &)*arg3
);
9712 wxPyEndAllowThreads(__tstate
);
9713 if (PyErr_Occurred()) SWIG_fail
;
9716 resultobj
= wxPyMake_wxObject(result
, 1);
9732 static PyObject
*_wrap_MemoryFSHandler_FindFirst(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9733 PyObject
*resultobj
;
9734 wxMemoryFSHandler
*arg1
= (wxMemoryFSHandler
*) 0 ;
9735 wxString
*arg2
= 0 ;
9736 int arg3
= (int) 0 ;
9738 bool temp2
= false ;
9739 PyObject
* obj0
= 0 ;
9740 PyObject
* obj1
= 0 ;
9741 PyObject
* obj2
= 0 ;
9743 (char *) "self",(char *) "spec",(char *) "flags", NULL
9746 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:MemoryFSHandler_FindFirst",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9747 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMemoryFSHandler
, SWIG_POINTER_EXCEPTION
| 0);
9748 if (SWIG_arg_fail(1)) SWIG_fail
;
9750 arg2
= wxString_in_helper(obj1
);
9751 if (arg2
== NULL
) SWIG_fail
;
9756 arg3
= (int)(SWIG_As_int(obj2
));
9757 if (SWIG_arg_fail(3)) SWIG_fail
;
9761 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9762 result
= (arg1
)->FindFirst((wxString
const &)*arg2
,arg3
);
9764 wxPyEndAllowThreads(__tstate
);
9765 if (PyErr_Occurred()) SWIG_fail
;
9769 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9771 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9788 static PyObject
*_wrap_MemoryFSHandler_FindNext(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9789 PyObject
*resultobj
;
9790 wxMemoryFSHandler
*arg1
= (wxMemoryFSHandler
*) 0 ;
9792 PyObject
* obj0
= 0 ;
9794 (char *) "self", NULL
9797 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MemoryFSHandler_FindNext",kwnames
,&obj0
)) goto fail
;
9798 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMemoryFSHandler
, SWIG_POINTER_EXCEPTION
| 0);
9799 if (SWIG_arg_fail(1)) SWIG_fail
;
9801 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9802 result
= (arg1
)->FindNext();
9804 wxPyEndAllowThreads(__tstate
);
9805 if (PyErr_Occurred()) SWIG_fail
;
9809 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9811 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9820 static PyObject
* MemoryFSHandler_swigregister(PyObject
*, PyObject
*args
) {
9822 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9823 SWIG_TypeClientData(SWIGTYPE_p_wxMemoryFSHandler
, obj
);
9825 return Py_BuildValue((char *)"");
9827 static PyObject
*_wrap_ImageHandler_GetName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9828 PyObject
*resultobj
;
9829 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
9831 PyObject
* obj0
= 0 ;
9833 (char *) "self", NULL
9836 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ImageHandler_GetName",kwnames
,&obj0
)) goto fail
;
9837 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImageHandler
, SWIG_POINTER_EXCEPTION
| 0);
9838 if (SWIG_arg_fail(1)) SWIG_fail
;
9840 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9841 result
= (arg1
)->GetName();
9843 wxPyEndAllowThreads(__tstate
);
9844 if (PyErr_Occurred()) SWIG_fail
;
9848 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9850 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9859 static PyObject
*_wrap_ImageHandler_GetExtension(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9860 PyObject
*resultobj
;
9861 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
9863 PyObject
* obj0
= 0 ;
9865 (char *) "self", NULL
9868 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ImageHandler_GetExtension",kwnames
,&obj0
)) goto fail
;
9869 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImageHandler
, SWIG_POINTER_EXCEPTION
| 0);
9870 if (SWIG_arg_fail(1)) SWIG_fail
;
9872 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9873 result
= (arg1
)->GetExtension();
9875 wxPyEndAllowThreads(__tstate
);
9876 if (PyErr_Occurred()) SWIG_fail
;
9880 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9882 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9891 static PyObject
*_wrap_ImageHandler_GetType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9892 PyObject
*resultobj
;
9893 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
9895 PyObject
* obj0
= 0 ;
9897 (char *) "self", NULL
9900 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ImageHandler_GetType",kwnames
,&obj0
)) goto fail
;
9901 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImageHandler
, SWIG_POINTER_EXCEPTION
| 0);
9902 if (SWIG_arg_fail(1)) SWIG_fail
;
9904 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9905 result
= (long)(arg1
)->GetType();
9907 wxPyEndAllowThreads(__tstate
);
9908 if (PyErr_Occurred()) SWIG_fail
;
9911 resultobj
= SWIG_From_long((long)(result
));
9919 static PyObject
*_wrap_ImageHandler_GetMimeType(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_GetMimeType",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
)->GetMimeType();
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_CanRead(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9952 PyObject
*resultobj
;
9953 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
9954 wxString
*arg2
= 0 ;
9956 bool temp2
= false ;
9957 PyObject
* obj0
= 0 ;
9958 PyObject
* obj1
= 0 ;
9960 (char *) "self",(char *) "name", NULL
9963 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageHandler_CanRead",kwnames
,&obj0
,&obj1
)) goto fail
;
9964 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImageHandler
, SWIG_POINTER_EXCEPTION
| 0);
9965 if (SWIG_arg_fail(1)) SWIG_fail
;
9967 arg2
= wxString_in_helper(obj1
);
9968 if (arg2
== NULL
) SWIG_fail
;
9972 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9973 result
= (bool)(arg1
)->CanRead((wxString
const &)*arg2
);
9975 wxPyEndAllowThreads(__tstate
);
9976 if (PyErr_Occurred()) SWIG_fail
;
9979 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9995 static PyObject
*_wrap_ImageHandler_SetName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9996 PyObject
*resultobj
;
9997 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
9998 wxString
*arg2
= 0 ;
9999 bool temp2
= false ;
10000 PyObject
* obj0
= 0 ;
10001 PyObject
* obj1
= 0 ;
10002 char *kwnames
[] = {
10003 (char *) "self",(char *) "name", NULL
10006 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageHandler_SetName",kwnames
,&obj0
,&obj1
)) goto fail
;
10007 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImageHandler
, SWIG_POINTER_EXCEPTION
| 0);
10008 if (SWIG_arg_fail(1)) SWIG_fail
;
10010 arg2
= wxString_in_helper(obj1
);
10011 if (arg2
== NULL
) SWIG_fail
;
10015 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10016 (arg1
)->SetName((wxString
const &)*arg2
);
10018 wxPyEndAllowThreads(__tstate
);
10019 if (PyErr_Occurred()) SWIG_fail
;
10021 Py_INCREF(Py_None
); resultobj
= Py_None
;
10036 static PyObject
*_wrap_ImageHandler_SetExtension(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10037 PyObject
*resultobj
;
10038 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
10039 wxString
*arg2
= 0 ;
10040 bool temp2
= false ;
10041 PyObject
* obj0
= 0 ;
10042 PyObject
* obj1
= 0 ;
10043 char *kwnames
[] = {
10044 (char *) "self",(char *) "extension", NULL
10047 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageHandler_SetExtension",kwnames
,&obj0
,&obj1
)) goto fail
;
10048 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImageHandler
, SWIG_POINTER_EXCEPTION
| 0);
10049 if (SWIG_arg_fail(1)) SWIG_fail
;
10051 arg2
= wxString_in_helper(obj1
);
10052 if (arg2
== NULL
) SWIG_fail
;
10056 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10057 (arg1
)->SetExtension((wxString
const &)*arg2
);
10059 wxPyEndAllowThreads(__tstate
);
10060 if (PyErr_Occurred()) SWIG_fail
;
10062 Py_INCREF(Py_None
); resultobj
= Py_None
;
10077 static PyObject
*_wrap_ImageHandler_SetType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10078 PyObject
*resultobj
;
10079 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
10081 PyObject
* obj0
= 0 ;
10082 PyObject
* obj1
= 0 ;
10083 char *kwnames
[] = {
10084 (char *) "self",(char *) "type", NULL
10087 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageHandler_SetType",kwnames
,&obj0
,&obj1
)) goto fail
;
10088 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImageHandler
, SWIG_POINTER_EXCEPTION
| 0);
10089 if (SWIG_arg_fail(1)) SWIG_fail
;
10091 arg2
= (long)(SWIG_As_long(obj1
));
10092 if (SWIG_arg_fail(2)) SWIG_fail
;
10095 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10096 (arg1
)->SetType(arg2
);
10098 wxPyEndAllowThreads(__tstate
);
10099 if (PyErr_Occurred()) SWIG_fail
;
10101 Py_INCREF(Py_None
); resultobj
= Py_None
;
10108 static PyObject
*_wrap_ImageHandler_SetMimeType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10109 PyObject
*resultobj
;
10110 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
10111 wxString
*arg2
= 0 ;
10112 bool temp2
= false ;
10113 PyObject
* obj0
= 0 ;
10114 PyObject
* obj1
= 0 ;
10115 char *kwnames
[] = {
10116 (char *) "self",(char *) "mimetype", NULL
10119 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageHandler_SetMimeType",kwnames
,&obj0
,&obj1
)) goto fail
;
10120 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImageHandler
, SWIG_POINTER_EXCEPTION
| 0);
10121 if (SWIG_arg_fail(1)) SWIG_fail
;
10123 arg2
= wxString_in_helper(obj1
);
10124 if (arg2
== NULL
) SWIG_fail
;
10128 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10129 (arg1
)->SetMimeType((wxString
const &)*arg2
);
10131 wxPyEndAllowThreads(__tstate
);
10132 if (PyErr_Occurred()) SWIG_fail
;
10134 Py_INCREF(Py_None
); resultobj
= Py_None
;
10149 static PyObject
* ImageHandler_swigregister(PyObject
*, PyObject
*args
) {
10151 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10152 SWIG_TypeClientData(SWIGTYPE_p_wxImageHandler
, obj
);
10154 return Py_BuildValue((char *)"");
10156 static PyObject
*_wrap_new_ImageHistogram(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10157 PyObject
*resultobj
;
10158 wxImageHistogram
*result
;
10159 char *kwnames
[] = {
10163 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ImageHistogram",kwnames
)) goto fail
;
10165 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10166 result
= (wxImageHistogram
*)new wxImageHistogram();
10168 wxPyEndAllowThreads(__tstate
);
10169 if (PyErr_Occurred()) SWIG_fail
;
10171 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImageHistogram
, 1);
10178 static PyObject
*_wrap_ImageHistogram_MakeKey(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10179 PyObject
*resultobj
;
10180 unsigned char arg1
;
10181 unsigned char arg2
;
10182 unsigned char arg3
;
10183 unsigned long result
;
10184 PyObject
* obj0
= 0 ;
10185 PyObject
* obj1
= 0 ;
10186 PyObject
* obj2
= 0 ;
10187 char *kwnames
[] = {
10188 (char *) "r",(char *) "g",(char *) "b", NULL
10191 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ImageHistogram_MakeKey",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10193 arg1
= (unsigned char)(SWIG_As_unsigned_SS_char(obj0
));
10194 if (SWIG_arg_fail(1)) SWIG_fail
;
10197 arg2
= (unsigned char)(SWIG_As_unsigned_SS_char(obj1
));
10198 if (SWIG_arg_fail(2)) SWIG_fail
;
10201 arg3
= (unsigned char)(SWIG_As_unsigned_SS_char(obj2
));
10202 if (SWIG_arg_fail(3)) SWIG_fail
;
10205 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10206 result
= (unsigned long)wxImageHistogram::MakeKey(arg1
,arg2
,arg3
);
10208 wxPyEndAllowThreads(__tstate
);
10209 if (PyErr_Occurred()) SWIG_fail
;
10212 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
10220 static PyObject
*_wrap_ImageHistogram_FindFirstUnusedColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10221 PyObject
*resultobj
;
10222 wxImageHistogram
*arg1
= (wxImageHistogram
*) 0 ;
10223 unsigned char *arg2
= (unsigned char *) 0 ;
10224 unsigned char *arg3
= (unsigned char *) 0 ;
10225 unsigned char *arg4
= (unsigned char *) 0 ;
10226 unsigned char arg5
= (unsigned char) 1 ;
10227 unsigned char arg6
= (unsigned char) 0 ;
10228 unsigned char arg7
= (unsigned char) 0 ;
10230 unsigned char temp2
;
10232 unsigned char temp3
;
10234 unsigned char temp4
;
10236 PyObject
* obj0
= 0 ;
10237 PyObject
* obj1
= 0 ;
10238 PyObject
* obj2
= 0 ;
10239 PyObject
* obj3
= 0 ;
10240 char *kwnames
[] = {
10241 (char *) "self",(char *) "startR",(char *) "startG",(char *) "startB", NULL
10244 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
10245 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
10246 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
10247 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:ImageHistogram_FindFirstUnusedColour",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
10248 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImageHistogram
, SWIG_POINTER_EXCEPTION
| 0);
10249 if (SWIG_arg_fail(1)) SWIG_fail
;
10252 arg5
= (unsigned char)(SWIG_As_unsigned_SS_char(obj1
));
10253 if (SWIG_arg_fail(5)) SWIG_fail
;
10258 arg6
= (unsigned char)(SWIG_As_unsigned_SS_char(obj2
));
10259 if (SWIG_arg_fail(6)) SWIG_fail
;
10264 arg7
= (unsigned char)(SWIG_As_unsigned_SS_char(obj3
));
10265 if (SWIG_arg_fail(7)) SWIG_fail
;
10269 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10270 result
= (bool)((wxImageHistogram
const *)arg1
)->FindFirstUnusedColour(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
10272 wxPyEndAllowThreads(__tstate
);
10273 if (PyErr_Occurred()) SWIG_fail
;
10276 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10278 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
10279 SWIG_From_unsigned_SS_char((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_unsigned_char
, 0)));
10280 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
10281 SWIG_From_unsigned_SS_char((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_unsigned_char
, 0)));
10282 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
10283 SWIG_From_unsigned_SS_char((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_unsigned_char
, 0)));
10290 static PyObject
* ImageHistogram_swigregister(PyObject
*, PyObject
*args
) {
10292 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10293 SWIG_TypeClientData(SWIGTYPE_p_wxImageHistogram
, obj
);
10295 return Py_BuildValue((char *)"");
10297 static PyObject
*_wrap_new_Image(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10298 PyObject
*resultobj
;
10299 wxString
*arg1
= 0 ;
10300 long arg2
= (long) wxBITMAP_TYPE_ANY
;
10301 int arg3
= (int) -1 ;
10303 bool temp1
= false ;
10304 PyObject
* obj0
= 0 ;
10305 PyObject
* obj1
= 0 ;
10306 PyObject
* obj2
= 0 ;
10307 char *kwnames
[] = {
10308 (char *) "name",(char *) "type",(char *) "index", NULL
10311 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:new_Image",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10313 arg1
= wxString_in_helper(obj0
);
10314 if (arg1
== NULL
) SWIG_fail
;
10319 arg2
= (long)(SWIG_As_long(obj1
));
10320 if (SWIG_arg_fail(2)) SWIG_fail
;
10325 arg3
= (int)(SWIG_As_int(obj2
));
10326 if (SWIG_arg_fail(3)) SWIG_fail
;
10330 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10331 result
= (wxImage
*)new wxImage((wxString
const &)*arg1
,arg2
,arg3
);
10333 wxPyEndAllowThreads(__tstate
);
10334 if (PyErr_Occurred()) SWIG_fail
;
10336 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 1);
10351 static PyObject
*_wrap_delete_Image(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10352 PyObject
*resultobj
;
10353 wxImage
*arg1
= (wxImage
*) 0 ;
10354 PyObject
* obj0
= 0 ;
10355 char *kwnames
[] = {
10356 (char *) "self", NULL
10359 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Image",kwnames
,&obj0
)) goto fail
;
10360 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
10361 if (SWIG_arg_fail(1)) SWIG_fail
;
10363 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10366 wxPyEndAllowThreads(__tstate
);
10367 if (PyErr_Occurred()) SWIG_fail
;
10369 Py_INCREF(Py_None
); resultobj
= Py_None
;
10376 static PyObject
*_wrap_new_ImageFromMime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10377 PyObject
*resultobj
;
10378 wxString
*arg1
= 0 ;
10379 wxString
*arg2
= 0 ;
10380 int arg3
= (int) -1 ;
10382 bool temp1
= false ;
10383 bool temp2
= false ;
10384 PyObject
* obj0
= 0 ;
10385 PyObject
* obj1
= 0 ;
10386 PyObject
* obj2
= 0 ;
10387 char *kwnames
[] = {
10388 (char *) "name",(char *) "mimetype",(char *) "index", NULL
10391 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:new_ImageFromMime",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10393 arg1
= wxString_in_helper(obj0
);
10394 if (arg1
== NULL
) SWIG_fail
;
10398 arg2
= wxString_in_helper(obj1
);
10399 if (arg2
== NULL
) SWIG_fail
;
10404 arg3
= (int)(SWIG_As_int(obj2
));
10405 if (SWIG_arg_fail(3)) SWIG_fail
;
10409 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10410 result
= (wxImage
*)new wxImage((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
);
10412 wxPyEndAllowThreads(__tstate
);
10413 if (PyErr_Occurred()) SWIG_fail
;
10415 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 1);
10438 static PyObject
*_wrap_new_ImageFromStream(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10439 PyObject
*resultobj
;
10440 wxInputStream
*arg1
= 0 ;
10441 long arg2
= (long) wxBITMAP_TYPE_ANY
;
10442 int arg3
= (int) -1 ;
10444 wxPyInputStream
*temp1
;
10446 PyObject
* obj0
= 0 ;
10447 PyObject
* obj1
= 0 ;
10448 PyObject
* obj2
= 0 ;
10449 char *kwnames
[] = {
10450 (char *) "stream",(char *) "type",(char *) "index", NULL
10453 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:new_ImageFromStream",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10455 if (wxPyConvertSwigPtr(obj0
, (void **)&temp1
, wxT("wxPyInputStream"))) {
10456 arg1
= temp1
->m_wxis
;
10459 PyErr_Clear(); // clear the failure of the wxPyConvert above
10460 arg1
= wxPyCBInputStream_create(obj0
, false);
10461 if (arg1
== NULL
) {
10462 PyErr_SetString(PyExc_TypeError
, "Expected wx.InputStream or Python file-like object.");
10470 arg2
= (long)(SWIG_As_long(obj1
));
10471 if (SWIG_arg_fail(2)) SWIG_fail
;
10476 arg3
= (int)(SWIG_As_int(obj2
));
10477 if (SWIG_arg_fail(3)) SWIG_fail
;
10481 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10482 result
= (wxImage
*)new wxImage(*arg1
,arg2
,arg3
);
10484 wxPyEndAllowThreads(__tstate
);
10485 if (PyErr_Occurred()) SWIG_fail
;
10487 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 1);
10489 if (created1
) delete arg1
;
10494 if (created1
) delete arg1
;
10500 static PyObject
*_wrap_new_ImageFromStreamMime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10501 PyObject
*resultobj
;
10502 wxInputStream
*arg1
= 0 ;
10503 wxString
*arg2
= 0 ;
10504 int arg3
= (int) -1 ;
10506 wxPyInputStream
*temp1
;
10508 bool temp2
= false ;
10509 PyObject
* obj0
= 0 ;
10510 PyObject
* obj1
= 0 ;
10511 PyObject
* obj2
= 0 ;
10512 char *kwnames
[] = {
10513 (char *) "stream",(char *) "mimetype",(char *) "index", NULL
10516 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:new_ImageFromStreamMime",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10518 if (wxPyConvertSwigPtr(obj0
, (void **)&temp1
, wxT("wxPyInputStream"))) {
10519 arg1
= temp1
->m_wxis
;
10522 PyErr_Clear(); // clear the failure of the wxPyConvert above
10523 arg1
= wxPyCBInputStream_create(obj0
, false);
10524 if (arg1
== NULL
) {
10525 PyErr_SetString(PyExc_TypeError
, "Expected wx.InputStream or Python file-like object.");
10532 arg2
= wxString_in_helper(obj1
);
10533 if (arg2
== NULL
) SWIG_fail
;
10538 arg3
= (int)(SWIG_As_int(obj2
));
10539 if (SWIG_arg_fail(3)) SWIG_fail
;
10543 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10544 result
= (wxImage
*)new wxImage(*arg1
,(wxString
const &)*arg2
,arg3
);
10546 wxPyEndAllowThreads(__tstate
);
10547 if (PyErr_Occurred()) SWIG_fail
;
10549 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 1);
10551 if (created1
) delete arg1
;
10560 if (created1
) delete arg1
;
10570 static PyObject
*_wrap_new_EmptyImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10571 PyObject
*resultobj
;
10572 int arg1
= (int) 0 ;
10573 int arg2
= (int) 0 ;
10574 bool arg3
= (bool) true ;
10576 PyObject
* obj0
= 0 ;
10577 PyObject
* obj1
= 0 ;
10578 PyObject
* obj2
= 0 ;
10579 char *kwnames
[] = {
10580 (char *) "width",(char *) "height",(char *) "clear", NULL
10583 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_EmptyImage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10586 arg1
= (int)(SWIG_As_int(obj0
));
10587 if (SWIG_arg_fail(1)) SWIG_fail
;
10592 arg2
= (int)(SWIG_As_int(obj1
));
10593 if (SWIG_arg_fail(2)) SWIG_fail
;
10598 arg3
= (bool)(SWIG_As_bool(obj2
));
10599 if (SWIG_arg_fail(3)) SWIG_fail
;
10603 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10604 result
= (wxImage
*)new_wxImage(arg1
,arg2
,arg3
);
10606 wxPyEndAllowThreads(__tstate
);
10607 if (PyErr_Occurred()) SWIG_fail
;
10609 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 1);
10616 static PyObject
*_wrap_new_ImageFromBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10617 PyObject
*resultobj
;
10618 wxBitmap
*arg1
= 0 ;
10620 PyObject
* obj0
= 0 ;
10621 char *kwnames
[] = {
10622 (char *) "bitmap", NULL
10625 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_ImageFromBitmap",kwnames
,&obj0
)) goto fail
;
10627 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
10628 if (SWIG_arg_fail(1)) SWIG_fail
;
10629 if (arg1
== NULL
) {
10630 SWIG_null_ref("wxBitmap");
10632 if (SWIG_arg_fail(1)) SWIG_fail
;
10635 if (!wxPyCheckForApp()) SWIG_fail
;
10636 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10637 result
= (wxImage
*)new_wxImage((wxBitmap
const &)*arg1
);
10639 wxPyEndAllowThreads(__tstate
);
10640 if (PyErr_Occurred()) SWIG_fail
;
10642 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 1);
10649 static PyObject
*_wrap_new_ImageFromData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10650 PyObject
*resultobj
;
10653 unsigned char *arg3
= (unsigned char *) 0 ;
10655 PyObject
* obj0
= 0 ;
10656 PyObject
* obj1
= 0 ;
10657 PyObject
* obj2
= 0 ;
10658 char *kwnames
[] = {
10659 (char *) "width",(char *) "height",(char *) "data", NULL
10662 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:new_ImageFromData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10664 arg1
= (int)(SWIG_As_int(obj0
));
10665 if (SWIG_arg_fail(1)) SWIG_fail
;
10668 arg2
= (int)(SWIG_As_int(obj1
));
10669 if (SWIG_arg_fail(2)) SWIG_fail
;
10671 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_unsigned_char
, SWIG_POINTER_EXCEPTION
| 0);
10672 if (SWIG_arg_fail(3)) SWIG_fail
;
10674 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10675 result
= (wxImage
*)new_wxImage(arg1
,arg2
,arg3
);
10677 wxPyEndAllowThreads(__tstate
);
10678 if (PyErr_Occurred()) SWIG_fail
;
10680 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 1);
10687 static PyObject
*_wrap_new_ImageFromDataWithAlpha(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10688 PyObject
*resultobj
;
10691 unsigned char *arg3
= (unsigned char *) 0 ;
10692 unsigned char *arg4
= (unsigned char *) 0 ;
10694 PyObject
* obj0
= 0 ;
10695 PyObject
* obj1
= 0 ;
10696 PyObject
* obj2
= 0 ;
10697 PyObject
* obj3
= 0 ;
10698 char *kwnames
[] = {
10699 (char *) "width",(char *) "height",(char *) "data",(char *) "alpha", NULL
10702 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:new_ImageFromDataWithAlpha",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
10704 arg1
= (int)(SWIG_As_int(obj0
));
10705 if (SWIG_arg_fail(1)) SWIG_fail
;
10708 arg2
= (int)(SWIG_As_int(obj1
));
10709 if (SWIG_arg_fail(2)) SWIG_fail
;
10711 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_unsigned_char
, SWIG_POINTER_EXCEPTION
| 0);
10712 if (SWIG_arg_fail(3)) SWIG_fail
;
10713 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_unsigned_char
, SWIG_POINTER_EXCEPTION
| 0);
10714 if (SWIG_arg_fail(4)) SWIG_fail
;
10716 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10717 result
= (wxImage
*)new_wxImage(arg1
,arg2
,arg3
,arg4
);
10719 wxPyEndAllowThreads(__tstate
);
10720 if (PyErr_Occurred()) SWIG_fail
;
10722 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 1);
10729 static PyObject
*_wrap_Image_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10730 PyObject
*resultobj
;
10731 wxImage
*arg1
= (wxImage
*) 0 ;
10734 PyObject
* obj0
= 0 ;
10735 PyObject
* obj1
= 0 ;
10736 PyObject
* obj2
= 0 ;
10737 char *kwnames
[] = {
10738 (char *) "self",(char *) "width",(char *) "height", NULL
10741 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_Create",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10742 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
10743 if (SWIG_arg_fail(1)) SWIG_fail
;
10745 arg2
= (int)(SWIG_As_int(obj1
));
10746 if (SWIG_arg_fail(2)) SWIG_fail
;
10749 arg3
= (int)(SWIG_As_int(obj2
));
10750 if (SWIG_arg_fail(3)) SWIG_fail
;
10753 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10754 (arg1
)->Create(arg2
,arg3
);
10756 wxPyEndAllowThreads(__tstate
);
10757 if (PyErr_Occurred()) SWIG_fail
;
10759 Py_INCREF(Py_None
); resultobj
= Py_None
;
10766 static PyObject
*_wrap_Image_Destroy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10767 PyObject
*resultobj
;
10768 wxImage
*arg1
= (wxImage
*) 0 ;
10769 PyObject
* obj0
= 0 ;
10770 char *kwnames
[] = {
10771 (char *) "self", NULL
10774 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_Destroy",kwnames
,&obj0
)) goto fail
;
10775 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
10776 if (SWIG_arg_fail(1)) SWIG_fail
;
10778 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10781 wxPyEndAllowThreads(__tstate
);
10782 if (PyErr_Occurred()) SWIG_fail
;
10784 Py_INCREF(Py_None
); resultobj
= Py_None
;
10791 static PyObject
*_wrap_Image_Scale(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10792 PyObject
*resultobj
;
10793 wxImage
*arg1
= (wxImage
*) 0 ;
10796 SwigValueWrapper
<wxImage
> result
;
10797 PyObject
* obj0
= 0 ;
10798 PyObject
* obj1
= 0 ;
10799 PyObject
* obj2
= 0 ;
10800 char *kwnames
[] = {
10801 (char *) "self",(char *) "width",(char *) "height", NULL
10804 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_Scale",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10805 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
10806 if (SWIG_arg_fail(1)) SWIG_fail
;
10808 arg2
= (int)(SWIG_As_int(obj1
));
10809 if (SWIG_arg_fail(2)) SWIG_fail
;
10812 arg3
= (int)(SWIG_As_int(obj2
));
10813 if (SWIG_arg_fail(3)) SWIG_fail
;
10816 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10817 result
= (arg1
)->Scale(arg2
,arg3
);
10819 wxPyEndAllowThreads(__tstate
);
10820 if (PyErr_Occurred()) SWIG_fail
;
10823 wxImage
* resultptr
;
10824 resultptr
= new wxImage((wxImage
&)(result
));
10825 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
10833 static PyObject
*_wrap_Image_ShrinkBy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10834 PyObject
*resultobj
;
10835 wxImage
*arg1
= (wxImage
*) 0 ;
10838 SwigValueWrapper
<wxImage
> result
;
10839 PyObject
* obj0
= 0 ;
10840 PyObject
* obj1
= 0 ;
10841 PyObject
* obj2
= 0 ;
10842 char *kwnames
[] = {
10843 (char *) "self",(char *) "xFactor",(char *) "yFactor", NULL
10846 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_ShrinkBy",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10847 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
10848 if (SWIG_arg_fail(1)) SWIG_fail
;
10850 arg2
= (int)(SWIG_As_int(obj1
));
10851 if (SWIG_arg_fail(2)) SWIG_fail
;
10854 arg3
= (int)(SWIG_As_int(obj2
));
10855 if (SWIG_arg_fail(3)) SWIG_fail
;
10858 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10859 result
= ((wxImage
const *)arg1
)->ShrinkBy(arg2
,arg3
);
10861 wxPyEndAllowThreads(__tstate
);
10862 if (PyErr_Occurred()) SWIG_fail
;
10865 wxImage
* resultptr
;
10866 resultptr
= new wxImage((wxImage
&)(result
));
10867 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
10875 static PyObject
*_wrap_Image_Rescale(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10876 PyObject
*resultobj
;
10877 wxImage
*arg1
= (wxImage
*) 0 ;
10881 PyObject
* obj0
= 0 ;
10882 PyObject
* obj1
= 0 ;
10883 PyObject
* obj2
= 0 ;
10884 char *kwnames
[] = {
10885 (char *) "self",(char *) "width",(char *) "height", NULL
10888 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_Rescale",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10889 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
10890 if (SWIG_arg_fail(1)) SWIG_fail
;
10892 arg2
= (int)(SWIG_As_int(obj1
));
10893 if (SWIG_arg_fail(2)) SWIG_fail
;
10896 arg3
= (int)(SWIG_As_int(obj2
));
10897 if (SWIG_arg_fail(3)) SWIG_fail
;
10900 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10902 wxImage
&_result_ref
= (arg1
)->Rescale(arg2
,arg3
);
10903 result
= (wxImage
*) &_result_ref
;
10906 wxPyEndAllowThreads(__tstate
);
10907 if (PyErr_Occurred()) SWIG_fail
;
10909 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 0);
10916 static PyObject
*_wrap_Image_SetRGB(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10917 PyObject
*resultobj
;
10918 wxImage
*arg1
= (wxImage
*) 0 ;
10921 unsigned char arg4
;
10922 unsigned char arg5
;
10923 unsigned char arg6
;
10924 PyObject
* obj0
= 0 ;
10925 PyObject
* obj1
= 0 ;
10926 PyObject
* obj2
= 0 ;
10927 PyObject
* obj3
= 0 ;
10928 PyObject
* obj4
= 0 ;
10929 PyObject
* obj5
= 0 ;
10930 char *kwnames
[] = {
10931 (char *) "self",(char *) "x",(char *) "y",(char *) "r",(char *) "g",(char *) "b", NULL
10934 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:Image_SetRGB",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
10935 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
10936 if (SWIG_arg_fail(1)) SWIG_fail
;
10938 arg2
= (int)(SWIG_As_int(obj1
));
10939 if (SWIG_arg_fail(2)) SWIG_fail
;
10942 arg3
= (int)(SWIG_As_int(obj2
));
10943 if (SWIG_arg_fail(3)) SWIG_fail
;
10946 arg4
= (unsigned char)(SWIG_As_unsigned_SS_char(obj3
));
10947 if (SWIG_arg_fail(4)) SWIG_fail
;
10950 arg5
= (unsigned char)(SWIG_As_unsigned_SS_char(obj4
));
10951 if (SWIG_arg_fail(5)) SWIG_fail
;
10954 arg6
= (unsigned char)(SWIG_As_unsigned_SS_char(obj5
));
10955 if (SWIG_arg_fail(6)) SWIG_fail
;
10958 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10959 (arg1
)->SetRGB(arg2
,arg3
,arg4
,arg5
,arg6
);
10961 wxPyEndAllowThreads(__tstate
);
10962 if (PyErr_Occurred()) SWIG_fail
;
10964 Py_INCREF(Py_None
); resultobj
= Py_None
;
10971 static PyObject
*_wrap_Image_GetRed(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10972 PyObject
*resultobj
;
10973 wxImage
*arg1
= (wxImage
*) 0 ;
10976 unsigned char result
;
10977 PyObject
* obj0
= 0 ;
10978 PyObject
* obj1
= 0 ;
10979 PyObject
* obj2
= 0 ;
10980 char *kwnames
[] = {
10981 (char *) "self",(char *) "x",(char *) "y", NULL
10984 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_GetRed",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10985 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
10986 if (SWIG_arg_fail(1)) SWIG_fail
;
10988 arg2
= (int)(SWIG_As_int(obj1
));
10989 if (SWIG_arg_fail(2)) SWIG_fail
;
10992 arg3
= (int)(SWIG_As_int(obj2
));
10993 if (SWIG_arg_fail(3)) SWIG_fail
;
10996 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10997 result
= (unsigned char)(arg1
)->GetRed(arg2
,arg3
);
10999 wxPyEndAllowThreads(__tstate
);
11000 if (PyErr_Occurred()) SWIG_fail
;
11003 resultobj
= SWIG_From_unsigned_SS_char((unsigned char)(result
));
11011 static PyObject
*_wrap_Image_GetGreen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11012 PyObject
*resultobj
;
11013 wxImage
*arg1
= (wxImage
*) 0 ;
11016 unsigned char result
;
11017 PyObject
* obj0
= 0 ;
11018 PyObject
* obj1
= 0 ;
11019 PyObject
* obj2
= 0 ;
11020 char *kwnames
[] = {
11021 (char *) "self",(char *) "x",(char *) "y", NULL
11024 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_GetGreen",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11025 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
11026 if (SWIG_arg_fail(1)) SWIG_fail
;
11028 arg2
= (int)(SWIG_As_int(obj1
));
11029 if (SWIG_arg_fail(2)) SWIG_fail
;
11032 arg3
= (int)(SWIG_As_int(obj2
));
11033 if (SWIG_arg_fail(3)) SWIG_fail
;
11036 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11037 result
= (unsigned char)(arg1
)->GetGreen(arg2
,arg3
);
11039 wxPyEndAllowThreads(__tstate
);
11040 if (PyErr_Occurred()) SWIG_fail
;
11043 resultobj
= SWIG_From_unsigned_SS_char((unsigned char)(result
));
11051 static PyObject
*_wrap_Image_GetBlue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11052 PyObject
*resultobj
;
11053 wxImage
*arg1
= (wxImage
*) 0 ;
11056 unsigned char result
;
11057 PyObject
* obj0
= 0 ;
11058 PyObject
* obj1
= 0 ;
11059 PyObject
* obj2
= 0 ;
11060 char *kwnames
[] = {
11061 (char *) "self",(char *) "x",(char *) "y", NULL
11064 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_GetBlue",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11065 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
11066 if (SWIG_arg_fail(1)) SWIG_fail
;
11068 arg2
= (int)(SWIG_As_int(obj1
));
11069 if (SWIG_arg_fail(2)) SWIG_fail
;
11072 arg3
= (int)(SWIG_As_int(obj2
));
11073 if (SWIG_arg_fail(3)) SWIG_fail
;
11076 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11077 result
= (unsigned char)(arg1
)->GetBlue(arg2
,arg3
);
11079 wxPyEndAllowThreads(__tstate
);
11080 if (PyErr_Occurred()) SWIG_fail
;
11083 resultobj
= SWIG_From_unsigned_SS_char((unsigned char)(result
));
11091 static PyObject
*_wrap_Image_SetAlpha(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11092 PyObject
*resultobj
;
11093 wxImage
*arg1
= (wxImage
*) 0 ;
11096 unsigned char arg4
;
11097 PyObject
* obj0
= 0 ;
11098 PyObject
* obj1
= 0 ;
11099 PyObject
* obj2
= 0 ;
11100 PyObject
* obj3
= 0 ;
11101 char *kwnames
[] = {
11102 (char *) "self",(char *) "x",(char *) "y",(char *) "alpha", NULL
11105 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Image_SetAlpha",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11106 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
11107 if (SWIG_arg_fail(1)) SWIG_fail
;
11109 arg2
= (int)(SWIG_As_int(obj1
));
11110 if (SWIG_arg_fail(2)) SWIG_fail
;
11113 arg3
= (int)(SWIG_As_int(obj2
));
11114 if (SWIG_arg_fail(3)) SWIG_fail
;
11117 arg4
= (unsigned char)(SWIG_As_unsigned_SS_char(obj3
));
11118 if (SWIG_arg_fail(4)) SWIG_fail
;
11121 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11122 (arg1
)->SetAlpha(arg2
,arg3
,arg4
);
11124 wxPyEndAllowThreads(__tstate
);
11125 if (PyErr_Occurred()) SWIG_fail
;
11127 Py_INCREF(Py_None
); resultobj
= Py_None
;
11134 static PyObject
*_wrap_Image_GetAlpha(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11135 PyObject
*resultobj
;
11136 wxImage
*arg1
= (wxImage
*) 0 ;
11139 unsigned char result
;
11140 PyObject
* obj0
= 0 ;
11141 PyObject
* obj1
= 0 ;
11142 PyObject
* obj2
= 0 ;
11143 char *kwnames
[] = {
11144 (char *) "self",(char *) "x",(char *) "y", NULL
11147 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_GetAlpha",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11148 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
11149 if (SWIG_arg_fail(1)) SWIG_fail
;
11151 arg2
= (int)(SWIG_As_int(obj1
));
11152 if (SWIG_arg_fail(2)) SWIG_fail
;
11155 arg3
= (int)(SWIG_As_int(obj2
));
11156 if (SWIG_arg_fail(3)) SWIG_fail
;
11159 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11160 result
= (unsigned char)(arg1
)->GetAlpha(arg2
,arg3
);
11162 wxPyEndAllowThreads(__tstate
);
11163 if (PyErr_Occurred()) SWIG_fail
;
11166 resultobj
= SWIG_From_unsigned_SS_char((unsigned char)(result
));
11174 static PyObject
*_wrap_Image_HasAlpha(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11175 PyObject
*resultobj
;
11176 wxImage
*arg1
= (wxImage
*) 0 ;
11178 PyObject
* obj0
= 0 ;
11179 char *kwnames
[] = {
11180 (char *) "self", NULL
11183 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_HasAlpha",kwnames
,&obj0
)) goto fail
;
11184 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
11185 if (SWIG_arg_fail(1)) SWIG_fail
;
11187 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11188 result
= (bool)(arg1
)->HasAlpha();
11190 wxPyEndAllowThreads(__tstate
);
11191 if (PyErr_Occurred()) SWIG_fail
;
11194 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11202 static PyObject
*_wrap_Image_InitAlpha(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11203 PyObject
*resultobj
;
11204 wxImage
*arg1
= (wxImage
*) 0 ;
11205 PyObject
* obj0
= 0 ;
11206 char *kwnames
[] = {
11207 (char *) "self", NULL
11210 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_InitAlpha",kwnames
,&obj0
)) goto fail
;
11211 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
11212 if (SWIG_arg_fail(1)) SWIG_fail
;
11214 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11215 (arg1
)->InitAlpha();
11217 wxPyEndAllowThreads(__tstate
);
11218 if (PyErr_Occurred()) SWIG_fail
;
11220 Py_INCREF(Py_None
); resultobj
= Py_None
;
11227 static PyObject
*_wrap_Image_FindFirstUnusedColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11228 PyObject
*resultobj
;
11229 wxImage
*arg1
= (wxImage
*) 0 ;
11230 byte
*arg2
= (byte
*) 0 ;
11231 byte
*arg3
= (byte
*) 0 ;
11232 byte
*arg4
= (byte
*) 0 ;
11233 byte arg5
= (byte
) 0 ;
11234 byte arg6
= (byte
) 0 ;
11235 byte arg7
= (byte
) 0 ;
11243 PyObject
* obj0
= 0 ;
11244 PyObject
* obj1
= 0 ;
11245 PyObject
* obj2
= 0 ;
11246 PyObject
* obj3
= 0 ;
11247 char *kwnames
[] = {
11248 (char *) "self",(char *) "startR",(char *) "startG",(char *) "startB", NULL
11251 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
11252 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
11253 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
11254 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:Image_FindFirstUnusedColour",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11255 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
11256 if (SWIG_arg_fail(1)) SWIG_fail
;
11259 arg5
= (byte
)(SWIG_As_unsigned_SS_char(obj1
));
11260 if (SWIG_arg_fail(5)) SWIG_fail
;
11265 arg6
= (byte
)(SWIG_As_unsigned_SS_char(obj2
));
11266 if (SWIG_arg_fail(6)) SWIG_fail
;
11271 arg7
= (byte
)(SWIG_As_unsigned_SS_char(obj3
));
11272 if (SWIG_arg_fail(7)) SWIG_fail
;
11276 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11277 result
= (bool)((wxImage
const *)arg1
)->FindFirstUnusedColour(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
11279 wxPyEndAllowThreads(__tstate
);
11280 if (PyErr_Occurred()) SWIG_fail
;
11283 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11285 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
11286 SWIG_From_unsigned_SS_char((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_unsigned_char
, 0)));
11287 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
11288 SWIG_From_unsigned_SS_char((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_unsigned_char
, 0)));
11289 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
11290 SWIG_From_unsigned_SS_char((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_unsigned_char
, 0)));
11297 static PyObject
*_wrap_Image_ConvertAlphaToMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11298 PyObject
*resultobj
;
11299 wxImage
*arg1
= (wxImage
*) 0 ;
11300 byte arg2
= (byte
) 128 ;
11302 PyObject
* obj0
= 0 ;
11303 PyObject
* obj1
= 0 ;
11304 char *kwnames
[] = {
11305 (char *) "self",(char *) "threshold", NULL
11308 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Image_ConvertAlphaToMask",kwnames
,&obj0
,&obj1
)) goto fail
;
11309 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
11310 if (SWIG_arg_fail(1)) SWIG_fail
;
11313 arg2
= (byte
)(SWIG_As_unsigned_SS_char(obj1
));
11314 if (SWIG_arg_fail(2)) SWIG_fail
;
11318 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11319 result
= (bool)(arg1
)->ConvertAlphaToMask(arg2
);
11321 wxPyEndAllowThreads(__tstate
);
11322 if (PyErr_Occurred()) SWIG_fail
;
11325 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11333 static PyObject
*_wrap_Image_ConvertColourToAlpha(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11334 PyObject
*resultobj
;
11335 wxImage
*arg1
= (wxImage
*) 0 ;
11336 unsigned char arg2
;
11337 unsigned char arg3
;
11338 unsigned char arg4
;
11340 PyObject
* obj0
= 0 ;
11341 PyObject
* obj1
= 0 ;
11342 PyObject
* obj2
= 0 ;
11343 PyObject
* obj3
= 0 ;
11344 char *kwnames
[] = {
11345 (char *) "self",(char *) "r",(char *) "g",(char *) "b", NULL
11348 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Image_ConvertColourToAlpha",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11349 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
11350 if (SWIG_arg_fail(1)) SWIG_fail
;
11352 arg2
= (unsigned char)(SWIG_As_unsigned_SS_char(obj1
));
11353 if (SWIG_arg_fail(2)) SWIG_fail
;
11356 arg3
= (unsigned char)(SWIG_As_unsigned_SS_char(obj2
));
11357 if (SWIG_arg_fail(3)) SWIG_fail
;
11360 arg4
= (unsigned char)(SWIG_As_unsigned_SS_char(obj3
));
11361 if (SWIG_arg_fail(4)) SWIG_fail
;
11364 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11365 result
= (bool)(arg1
)->ConvertColourToAlpha(arg2
,arg3
,arg4
);
11367 wxPyEndAllowThreads(__tstate
);
11368 if (PyErr_Occurred()) SWIG_fail
;
11371 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11379 static PyObject
*_wrap_Image_SetMaskFromImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11380 PyObject
*resultobj
;
11381 wxImage
*arg1
= (wxImage
*) 0 ;
11382 wxImage
*arg2
= 0 ;
11387 PyObject
* obj0
= 0 ;
11388 PyObject
* obj1
= 0 ;
11389 PyObject
* obj2
= 0 ;
11390 PyObject
* obj3
= 0 ;
11391 PyObject
* obj4
= 0 ;
11392 char *kwnames
[] = {
11393 (char *) "self",(char *) "mask",(char *) "mr",(char *) "mg",(char *) "mb", NULL
11396 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Image_SetMaskFromImage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
11397 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
11398 if (SWIG_arg_fail(1)) SWIG_fail
;
11400 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
11401 if (SWIG_arg_fail(2)) SWIG_fail
;
11402 if (arg2
== NULL
) {
11403 SWIG_null_ref("wxImage");
11405 if (SWIG_arg_fail(2)) SWIG_fail
;
11408 arg3
= (byte
)(SWIG_As_unsigned_SS_char(obj2
));
11409 if (SWIG_arg_fail(3)) SWIG_fail
;
11412 arg4
= (byte
)(SWIG_As_unsigned_SS_char(obj3
));
11413 if (SWIG_arg_fail(4)) SWIG_fail
;
11416 arg5
= (byte
)(SWIG_As_unsigned_SS_char(obj4
));
11417 if (SWIG_arg_fail(5)) SWIG_fail
;
11420 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11421 result
= (bool)(arg1
)->SetMaskFromImage((wxImage
const &)*arg2
,arg3
,arg4
,arg5
);
11423 wxPyEndAllowThreads(__tstate
);
11424 if (PyErr_Occurred()) SWIG_fail
;
11427 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11435 static PyObject
*_wrap_Image_CanRead(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11436 PyObject
*resultobj
;
11437 wxString
*arg1
= 0 ;
11439 bool temp1
= false ;
11440 PyObject
* obj0
= 0 ;
11441 char *kwnames
[] = {
11442 (char *) "name", NULL
11445 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_CanRead",kwnames
,&obj0
)) goto fail
;
11447 arg1
= wxString_in_helper(obj0
);
11448 if (arg1
== NULL
) SWIG_fail
;
11452 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11453 result
= (bool)wxImage::CanRead((wxString
const &)*arg1
);
11455 wxPyEndAllowThreads(__tstate
);
11456 if (PyErr_Occurred()) SWIG_fail
;
11459 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11475 static PyObject
*_wrap_Image_GetImageCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11476 PyObject
*resultobj
;
11477 wxString
*arg1
= 0 ;
11478 long arg2
= (long) wxBITMAP_TYPE_ANY
;
11480 bool temp1
= false ;
11481 PyObject
* obj0
= 0 ;
11482 PyObject
* obj1
= 0 ;
11483 char *kwnames
[] = {
11484 (char *) "name",(char *) "type", NULL
11487 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Image_GetImageCount",kwnames
,&obj0
,&obj1
)) goto fail
;
11489 arg1
= wxString_in_helper(obj0
);
11490 if (arg1
== NULL
) SWIG_fail
;
11495 arg2
= (long)(SWIG_As_long(obj1
));
11496 if (SWIG_arg_fail(2)) SWIG_fail
;
11500 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11501 result
= (int)wxImage::GetImageCount((wxString
const &)*arg1
,arg2
);
11503 wxPyEndAllowThreads(__tstate
);
11504 if (PyErr_Occurred()) SWIG_fail
;
11507 resultobj
= SWIG_From_int((int)(result
));
11523 static PyObject
*_wrap_Image_LoadFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11524 PyObject
*resultobj
;
11525 wxImage
*arg1
= (wxImage
*) 0 ;
11526 wxString
*arg2
= 0 ;
11527 long arg3
= (long) wxBITMAP_TYPE_ANY
;
11528 int arg4
= (int) -1 ;
11530 bool temp2
= false ;
11531 PyObject
* obj0
= 0 ;
11532 PyObject
* obj1
= 0 ;
11533 PyObject
* obj2
= 0 ;
11534 PyObject
* obj3
= 0 ;
11535 char *kwnames
[] = {
11536 (char *) "self",(char *) "name",(char *) "type",(char *) "index", NULL
11539 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:Image_LoadFile",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11540 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
11541 if (SWIG_arg_fail(1)) SWIG_fail
;
11543 arg2
= wxString_in_helper(obj1
);
11544 if (arg2
== NULL
) SWIG_fail
;
11549 arg3
= (long)(SWIG_As_long(obj2
));
11550 if (SWIG_arg_fail(3)) SWIG_fail
;
11555 arg4
= (int)(SWIG_As_int(obj3
));
11556 if (SWIG_arg_fail(4)) SWIG_fail
;
11560 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11561 result
= (bool)(arg1
)->LoadFile((wxString
const &)*arg2
,arg3
,arg4
);
11563 wxPyEndAllowThreads(__tstate
);
11564 if (PyErr_Occurred()) SWIG_fail
;
11567 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11583 static PyObject
*_wrap_Image_LoadMimeFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11584 PyObject
*resultobj
;
11585 wxImage
*arg1
= (wxImage
*) 0 ;
11586 wxString
*arg2
= 0 ;
11587 wxString
*arg3
= 0 ;
11588 int arg4
= (int) -1 ;
11590 bool temp2
= false ;
11591 bool temp3
= false ;
11592 PyObject
* obj0
= 0 ;
11593 PyObject
* obj1
= 0 ;
11594 PyObject
* obj2
= 0 ;
11595 PyObject
* obj3
= 0 ;
11596 char *kwnames
[] = {
11597 (char *) "self",(char *) "name",(char *) "mimetype",(char *) "index", NULL
11600 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Image_LoadMimeFile",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
;
11604 arg2
= wxString_in_helper(obj1
);
11605 if (arg2
== NULL
) SWIG_fail
;
11609 arg3
= wxString_in_helper(obj2
);
11610 if (arg3
== NULL
) SWIG_fail
;
11615 arg4
= (int)(SWIG_As_int(obj3
));
11616 if (SWIG_arg_fail(4)) SWIG_fail
;
11620 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11621 result
= (bool)(arg1
)->LoadFile((wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
);
11623 wxPyEndAllowThreads(__tstate
);
11624 if (PyErr_Occurred()) SWIG_fail
;
11627 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11651 static PyObject
*_wrap_Image_SaveFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11652 PyObject
*resultobj
;
11653 wxImage
*arg1
= (wxImage
*) 0 ;
11654 wxString
*arg2
= 0 ;
11657 bool temp2
= false ;
11658 PyObject
* obj0
= 0 ;
11659 PyObject
* obj1
= 0 ;
11660 PyObject
* obj2
= 0 ;
11661 char *kwnames
[] = {
11662 (char *) "self",(char *) "name",(char *) "type", NULL
11665 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_SaveFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11666 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
11667 if (SWIG_arg_fail(1)) SWIG_fail
;
11669 arg2
= wxString_in_helper(obj1
);
11670 if (arg2
== NULL
) SWIG_fail
;
11674 arg3
= (int)(SWIG_As_int(obj2
));
11675 if (SWIG_arg_fail(3)) SWIG_fail
;
11678 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11679 result
= (bool)(arg1
)->SaveFile((wxString
const &)*arg2
,arg3
);
11681 wxPyEndAllowThreads(__tstate
);
11682 if (PyErr_Occurred()) SWIG_fail
;
11685 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11701 static PyObject
*_wrap_Image_SaveMimeFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11702 PyObject
*resultobj
;
11703 wxImage
*arg1
= (wxImage
*) 0 ;
11704 wxString
*arg2
= 0 ;
11705 wxString
*arg3
= 0 ;
11707 bool temp2
= false ;
11708 bool temp3
= false ;
11709 PyObject
* obj0
= 0 ;
11710 PyObject
* obj1
= 0 ;
11711 PyObject
* obj2
= 0 ;
11712 char *kwnames
[] = {
11713 (char *) "self",(char *) "name",(char *) "mimetype", NULL
11716 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_SaveMimeFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11717 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
11718 if (SWIG_arg_fail(1)) SWIG_fail
;
11720 arg2
= wxString_in_helper(obj1
);
11721 if (arg2
== NULL
) SWIG_fail
;
11725 arg3
= wxString_in_helper(obj2
);
11726 if (arg3
== NULL
) SWIG_fail
;
11730 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11731 result
= (bool)(arg1
)->SaveFile((wxString
const &)*arg2
,(wxString
const &)*arg3
);
11733 wxPyEndAllowThreads(__tstate
);
11734 if (PyErr_Occurred()) SWIG_fail
;
11737 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11761 static PyObject
*_wrap_Image_CanReadStream(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11762 PyObject
*resultobj
;
11763 wxInputStream
*arg1
= 0 ;
11765 wxPyInputStream
*temp1
;
11767 PyObject
* obj0
= 0 ;
11768 char *kwnames
[] = {
11769 (char *) "stream", NULL
11772 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_CanReadStream",kwnames
,&obj0
)) goto fail
;
11774 if (wxPyConvertSwigPtr(obj0
, (void **)&temp1
, wxT("wxPyInputStream"))) {
11775 arg1
= temp1
->m_wxis
;
11778 PyErr_Clear(); // clear the failure of the wxPyConvert above
11779 arg1
= wxPyCBInputStream_create(obj0
, false);
11780 if (arg1
== NULL
) {
11781 PyErr_SetString(PyExc_TypeError
, "Expected wx.InputStream or Python file-like object.");
11788 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11789 result
= (bool)wxImage::CanRead(*arg1
);
11791 wxPyEndAllowThreads(__tstate
);
11792 if (PyErr_Occurred()) SWIG_fail
;
11795 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11798 if (created1
) delete arg1
;
11803 if (created1
) delete arg1
;
11809 static PyObject
*_wrap_Image_LoadStream(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11810 PyObject
*resultobj
;
11811 wxImage
*arg1
= (wxImage
*) 0 ;
11812 wxInputStream
*arg2
= 0 ;
11813 long arg3
= (long) wxBITMAP_TYPE_ANY
;
11814 int arg4
= (int) -1 ;
11816 wxPyInputStream
*temp2
;
11818 PyObject
* obj0
= 0 ;
11819 PyObject
* obj1
= 0 ;
11820 PyObject
* obj2
= 0 ;
11821 PyObject
* obj3
= 0 ;
11822 char *kwnames
[] = {
11823 (char *) "self",(char *) "stream",(char *) "type",(char *) "index", NULL
11826 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:Image_LoadStream",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11827 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
11828 if (SWIG_arg_fail(1)) SWIG_fail
;
11830 if (wxPyConvertSwigPtr(obj1
, (void **)&temp2
, wxT("wxPyInputStream"))) {
11831 arg2
= temp2
->m_wxis
;
11834 PyErr_Clear(); // clear the failure of the wxPyConvert above
11835 arg2
= wxPyCBInputStream_create(obj1
, false);
11836 if (arg2
== NULL
) {
11837 PyErr_SetString(PyExc_TypeError
, "Expected wx.InputStream or Python file-like object.");
11845 arg3
= (long)(SWIG_As_long(obj2
));
11846 if (SWIG_arg_fail(3)) SWIG_fail
;
11851 arg4
= (int)(SWIG_As_int(obj3
));
11852 if (SWIG_arg_fail(4)) SWIG_fail
;
11856 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11857 result
= (bool)(arg1
)->LoadFile(*arg2
,arg3
,arg4
);
11859 wxPyEndAllowThreads(__tstate
);
11860 if (PyErr_Occurred()) SWIG_fail
;
11863 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11866 if (created2
) delete arg2
;
11871 if (created2
) delete arg2
;
11877 static PyObject
*_wrap_Image_LoadMimeStream(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11878 PyObject
*resultobj
;
11879 wxImage
*arg1
= (wxImage
*) 0 ;
11880 wxInputStream
*arg2
= 0 ;
11881 wxString
*arg3
= 0 ;
11882 int arg4
= (int) -1 ;
11884 wxPyInputStream
*temp2
;
11886 bool temp3
= false ;
11887 PyObject
* obj0
= 0 ;
11888 PyObject
* obj1
= 0 ;
11889 PyObject
* obj2
= 0 ;
11890 PyObject
* obj3
= 0 ;
11891 char *kwnames
[] = {
11892 (char *) "self",(char *) "stream",(char *) "mimetype",(char *) "index", NULL
11895 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Image_LoadMimeStream",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11896 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
11897 if (SWIG_arg_fail(1)) SWIG_fail
;
11899 if (wxPyConvertSwigPtr(obj1
, (void **)&temp2
, wxT("wxPyInputStream"))) {
11900 arg2
= temp2
->m_wxis
;
11903 PyErr_Clear(); // clear the failure of the wxPyConvert above
11904 arg2
= wxPyCBInputStream_create(obj1
, false);
11905 if (arg2
== NULL
) {
11906 PyErr_SetString(PyExc_TypeError
, "Expected wx.InputStream or Python file-like object.");
11913 arg3
= wxString_in_helper(obj2
);
11914 if (arg3
== NULL
) SWIG_fail
;
11919 arg4
= (int)(SWIG_As_int(obj3
));
11920 if (SWIG_arg_fail(4)) SWIG_fail
;
11924 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11925 result
= (bool)(arg1
)->LoadFile(*arg2
,(wxString
const &)*arg3
,arg4
);
11927 wxPyEndAllowThreads(__tstate
);
11928 if (PyErr_Occurred()) SWIG_fail
;
11931 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11934 if (created2
) delete arg2
;
11943 if (created2
) delete arg2
;
11953 static PyObject
*_wrap_Image_Ok(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11954 PyObject
*resultobj
;
11955 wxImage
*arg1
= (wxImage
*) 0 ;
11957 PyObject
* obj0
= 0 ;
11958 char *kwnames
[] = {
11959 (char *) "self", NULL
11962 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_Ok",kwnames
,&obj0
)) goto fail
;
11963 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
11964 if (SWIG_arg_fail(1)) SWIG_fail
;
11966 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11967 result
= (bool)(arg1
)->Ok();
11969 wxPyEndAllowThreads(__tstate
);
11970 if (PyErr_Occurred()) SWIG_fail
;
11973 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11981 static PyObject
*_wrap_Image_GetWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11982 PyObject
*resultobj
;
11983 wxImage
*arg1
= (wxImage
*) 0 ;
11985 PyObject
* obj0
= 0 ;
11986 char *kwnames
[] = {
11987 (char *) "self", NULL
11990 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetWidth",kwnames
,&obj0
)) goto fail
;
11991 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
11992 if (SWIG_arg_fail(1)) SWIG_fail
;
11994 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11995 result
= (int)(arg1
)->GetWidth();
11997 wxPyEndAllowThreads(__tstate
);
11998 if (PyErr_Occurred()) SWIG_fail
;
12001 resultobj
= SWIG_From_int((int)(result
));
12009 static PyObject
*_wrap_Image_GetHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12010 PyObject
*resultobj
;
12011 wxImage
*arg1
= (wxImage
*) 0 ;
12013 PyObject
* obj0
= 0 ;
12014 char *kwnames
[] = {
12015 (char *) "self", NULL
12018 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetHeight",kwnames
,&obj0
)) goto fail
;
12019 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12020 if (SWIG_arg_fail(1)) SWIG_fail
;
12022 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12023 result
= (int)(arg1
)->GetHeight();
12025 wxPyEndAllowThreads(__tstate
);
12026 if (PyErr_Occurred()) SWIG_fail
;
12029 resultobj
= SWIG_From_int((int)(result
));
12037 static PyObject
*_wrap_Image_GetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12038 PyObject
*resultobj
;
12039 wxImage
*arg1
= (wxImage
*) 0 ;
12041 PyObject
* obj0
= 0 ;
12042 char *kwnames
[] = {
12043 (char *) "self", NULL
12046 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetSize",kwnames
,&obj0
)) goto fail
;
12047 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12048 if (SWIG_arg_fail(1)) SWIG_fail
;
12050 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12051 result
= wxImage_GetSize(arg1
);
12053 wxPyEndAllowThreads(__tstate
);
12054 if (PyErr_Occurred()) SWIG_fail
;
12057 wxSize
* resultptr
;
12058 resultptr
= new wxSize((wxSize
&)(result
));
12059 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
12067 static PyObject
*_wrap_Image_GetSubImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12068 PyObject
*resultobj
;
12069 wxImage
*arg1
= (wxImage
*) 0 ;
12071 SwigValueWrapper
<wxImage
> result
;
12073 PyObject
* obj0
= 0 ;
12074 PyObject
* obj1
= 0 ;
12075 char *kwnames
[] = {
12076 (char *) "self",(char *) "rect", NULL
12079 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_GetSubImage",kwnames
,&obj0
,&obj1
)) goto fail
;
12080 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12081 if (SWIG_arg_fail(1)) SWIG_fail
;
12084 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
12087 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12088 result
= (arg1
)->GetSubImage((wxRect
const &)*arg2
);
12090 wxPyEndAllowThreads(__tstate
);
12091 if (PyErr_Occurred()) SWIG_fail
;
12094 wxImage
* resultptr
;
12095 resultptr
= new wxImage((wxImage
&)(result
));
12096 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
12104 static PyObject
*_wrap_Image_Copy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12105 PyObject
*resultobj
;
12106 wxImage
*arg1
= (wxImage
*) 0 ;
12107 SwigValueWrapper
<wxImage
> result
;
12108 PyObject
* obj0
= 0 ;
12109 char *kwnames
[] = {
12110 (char *) "self", NULL
12113 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_Copy",kwnames
,&obj0
)) goto fail
;
12114 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12115 if (SWIG_arg_fail(1)) SWIG_fail
;
12117 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12118 result
= (arg1
)->Copy();
12120 wxPyEndAllowThreads(__tstate
);
12121 if (PyErr_Occurred()) SWIG_fail
;
12124 wxImage
* resultptr
;
12125 resultptr
= new wxImage((wxImage
&)(result
));
12126 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
12134 static PyObject
*_wrap_Image_Paste(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12135 PyObject
*resultobj
;
12136 wxImage
*arg1
= (wxImage
*) 0 ;
12137 wxImage
*arg2
= 0 ;
12140 PyObject
* obj0
= 0 ;
12141 PyObject
* obj1
= 0 ;
12142 PyObject
* obj2
= 0 ;
12143 PyObject
* obj3
= 0 ;
12144 char *kwnames
[] = {
12145 (char *) "self",(char *) "image",(char *) "x",(char *) "y", NULL
12148 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Image_Paste",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
12149 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12150 if (SWIG_arg_fail(1)) SWIG_fail
;
12152 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12153 if (SWIG_arg_fail(2)) SWIG_fail
;
12154 if (arg2
== NULL
) {
12155 SWIG_null_ref("wxImage");
12157 if (SWIG_arg_fail(2)) SWIG_fail
;
12160 arg3
= (int)(SWIG_As_int(obj2
));
12161 if (SWIG_arg_fail(3)) SWIG_fail
;
12164 arg4
= (int)(SWIG_As_int(obj3
));
12165 if (SWIG_arg_fail(4)) SWIG_fail
;
12168 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12169 (arg1
)->Paste((wxImage
const &)*arg2
,arg3
,arg4
);
12171 wxPyEndAllowThreads(__tstate
);
12172 if (PyErr_Occurred()) SWIG_fail
;
12174 Py_INCREF(Py_None
); resultobj
= Py_None
;
12181 static PyObject
*_wrap_Image_GetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12182 PyObject
*resultobj
;
12183 wxImage
*arg1
= (wxImage
*) 0 ;
12185 PyObject
* obj0
= 0 ;
12186 char *kwnames
[] = {
12187 (char *) "self", NULL
12190 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetData",kwnames
,&obj0
)) goto fail
;
12191 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12192 if (SWIG_arg_fail(1)) SWIG_fail
;
12194 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12195 result
= (PyObject
*)wxImage_GetData(arg1
);
12197 wxPyEndAllowThreads(__tstate
);
12198 if (PyErr_Occurred()) SWIG_fail
;
12200 resultobj
= result
;
12207 static PyObject
*_wrap_Image_SetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12208 PyObject
*resultobj
;
12209 wxImage
*arg1
= (wxImage
*) 0 ;
12210 PyObject
*arg2
= (PyObject
*) 0 ;
12211 PyObject
* obj0
= 0 ;
12212 PyObject
* obj1
= 0 ;
12213 char *kwnames
[] = {
12214 (char *) "self",(char *) "data", NULL
12217 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
12218 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12219 if (SWIG_arg_fail(1)) SWIG_fail
;
12222 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12223 wxImage_SetData(arg1
,arg2
);
12225 wxPyEndAllowThreads(__tstate
);
12226 if (PyErr_Occurred()) SWIG_fail
;
12228 Py_INCREF(Py_None
); resultobj
= Py_None
;
12235 static PyObject
*_wrap_Image_GetDataBuffer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12236 PyObject
*resultobj
;
12237 wxImage
*arg1
= (wxImage
*) 0 ;
12239 PyObject
* obj0
= 0 ;
12240 char *kwnames
[] = {
12241 (char *) "self", NULL
12244 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetDataBuffer",kwnames
,&obj0
)) goto fail
;
12245 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12246 if (SWIG_arg_fail(1)) SWIG_fail
;
12248 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12249 result
= (PyObject
*)wxImage_GetDataBuffer(arg1
);
12251 wxPyEndAllowThreads(__tstate
);
12252 if (PyErr_Occurred()) SWIG_fail
;
12254 resultobj
= result
;
12261 static PyObject
*_wrap_Image_SetDataBuffer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12262 PyObject
*resultobj
;
12263 wxImage
*arg1
= (wxImage
*) 0 ;
12264 PyObject
*arg2
= (PyObject
*) 0 ;
12265 PyObject
* obj0
= 0 ;
12266 PyObject
* obj1
= 0 ;
12267 char *kwnames
[] = {
12268 (char *) "self",(char *) "data", NULL
12271 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_SetDataBuffer",kwnames
,&obj0
,&obj1
)) goto fail
;
12272 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12273 if (SWIG_arg_fail(1)) SWIG_fail
;
12276 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12277 wxImage_SetDataBuffer(arg1
,arg2
);
12279 wxPyEndAllowThreads(__tstate
);
12280 if (PyErr_Occurred()) SWIG_fail
;
12282 Py_INCREF(Py_None
); resultobj
= Py_None
;
12289 static PyObject
*_wrap_Image_GetAlphaData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12290 PyObject
*resultobj
;
12291 wxImage
*arg1
= (wxImage
*) 0 ;
12293 PyObject
* obj0
= 0 ;
12294 char *kwnames
[] = {
12295 (char *) "self", NULL
12298 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetAlphaData",kwnames
,&obj0
)) goto fail
;
12299 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12300 if (SWIG_arg_fail(1)) SWIG_fail
;
12302 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12303 result
= (PyObject
*)wxImage_GetAlphaData(arg1
);
12305 wxPyEndAllowThreads(__tstate
);
12306 if (PyErr_Occurred()) SWIG_fail
;
12308 resultobj
= result
;
12315 static PyObject
*_wrap_Image_SetAlphaData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12316 PyObject
*resultobj
;
12317 wxImage
*arg1
= (wxImage
*) 0 ;
12318 PyObject
*arg2
= (PyObject
*) 0 ;
12319 PyObject
* obj0
= 0 ;
12320 PyObject
* obj1
= 0 ;
12321 char *kwnames
[] = {
12322 (char *) "self",(char *) "data", NULL
12325 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_SetAlphaData",kwnames
,&obj0
,&obj1
)) goto fail
;
12326 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12327 if (SWIG_arg_fail(1)) SWIG_fail
;
12330 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12331 wxImage_SetAlphaData(arg1
,arg2
);
12333 wxPyEndAllowThreads(__tstate
);
12334 if (PyErr_Occurred()) SWIG_fail
;
12336 Py_INCREF(Py_None
); resultobj
= Py_None
;
12343 static PyObject
*_wrap_Image_GetAlphaBuffer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12344 PyObject
*resultobj
;
12345 wxImage
*arg1
= (wxImage
*) 0 ;
12347 PyObject
* obj0
= 0 ;
12348 char *kwnames
[] = {
12349 (char *) "self", NULL
12352 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetAlphaBuffer",kwnames
,&obj0
)) goto fail
;
12353 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12354 if (SWIG_arg_fail(1)) SWIG_fail
;
12356 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12357 result
= (PyObject
*)wxImage_GetAlphaBuffer(arg1
);
12359 wxPyEndAllowThreads(__tstate
);
12360 if (PyErr_Occurred()) SWIG_fail
;
12362 resultobj
= result
;
12369 static PyObject
*_wrap_Image_SetAlphaBuffer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12370 PyObject
*resultobj
;
12371 wxImage
*arg1
= (wxImage
*) 0 ;
12372 PyObject
*arg2
= (PyObject
*) 0 ;
12373 PyObject
* obj0
= 0 ;
12374 PyObject
* obj1
= 0 ;
12375 char *kwnames
[] = {
12376 (char *) "self",(char *) "data", NULL
12379 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_SetAlphaBuffer",kwnames
,&obj0
,&obj1
)) goto fail
;
12380 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12381 if (SWIG_arg_fail(1)) SWIG_fail
;
12384 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12385 wxImage_SetAlphaBuffer(arg1
,arg2
);
12387 wxPyEndAllowThreads(__tstate
);
12388 if (PyErr_Occurred()) SWIG_fail
;
12390 Py_INCREF(Py_None
); resultobj
= Py_None
;
12397 static PyObject
*_wrap_Image_SetMaskColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12398 PyObject
*resultobj
;
12399 wxImage
*arg1
= (wxImage
*) 0 ;
12400 unsigned char arg2
;
12401 unsigned char arg3
;
12402 unsigned char arg4
;
12403 PyObject
* obj0
= 0 ;
12404 PyObject
* obj1
= 0 ;
12405 PyObject
* obj2
= 0 ;
12406 PyObject
* obj3
= 0 ;
12407 char *kwnames
[] = {
12408 (char *) "self",(char *) "r",(char *) "g",(char *) "b", NULL
12411 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Image_SetMaskColour",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
12412 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12413 if (SWIG_arg_fail(1)) SWIG_fail
;
12415 arg2
= (unsigned char)(SWIG_As_unsigned_SS_char(obj1
));
12416 if (SWIG_arg_fail(2)) SWIG_fail
;
12419 arg3
= (unsigned char)(SWIG_As_unsigned_SS_char(obj2
));
12420 if (SWIG_arg_fail(3)) SWIG_fail
;
12423 arg4
= (unsigned char)(SWIG_As_unsigned_SS_char(obj3
));
12424 if (SWIG_arg_fail(4)) SWIG_fail
;
12427 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12428 (arg1
)->SetMaskColour(arg2
,arg3
,arg4
);
12430 wxPyEndAllowThreads(__tstate
);
12431 if (PyErr_Occurred()) SWIG_fail
;
12433 Py_INCREF(Py_None
); resultobj
= Py_None
;
12440 static PyObject
*_wrap_Image_GetMaskRed(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12441 PyObject
*resultobj
;
12442 wxImage
*arg1
= (wxImage
*) 0 ;
12443 unsigned char result
;
12444 PyObject
* obj0
= 0 ;
12445 char *kwnames
[] = {
12446 (char *) "self", NULL
12449 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetMaskRed",kwnames
,&obj0
)) goto fail
;
12450 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12451 if (SWIG_arg_fail(1)) SWIG_fail
;
12453 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12454 result
= (unsigned char)(arg1
)->GetMaskRed();
12456 wxPyEndAllowThreads(__tstate
);
12457 if (PyErr_Occurred()) SWIG_fail
;
12460 resultobj
= SWIG_From_unsigned_SS_char((unsigned char)(result
));
12468 static PyObject
*_wrap_Image_GetMaskGreen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12469 PyObject
*resultobj
;
12470 wxImage
*arg1
= (wxImage
*) 0 ;
12471 unsigned char result
;
12472 PyObject
* obj0
= 0 ;
12473 char *kwnames
[] = {
12474 (char *) "self", NULL
12477 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetMaskGreen",kwnames
,&obj0
)) goto fail
;
12478 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12479 if (SWIG_arg_fail(1)) SWIG_fail
;
12481 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12482 result
= (unsigned char)(arg1
)->GetMaskGreen();
12484 wxPyEndAllowThreads(__tstate
);
12485 if (PyErr_Occurred()) SWIG_fail
;
12488 resultobj
= SWIG_From_unsigned_SS_char((unsigned char)(result
));
12496 static PyObject
*_wrap_Image_GetMaskBlue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12497 PyObject
*resultobj
;
12498 wxImage
*arg1
= (wxImage
*) 0 ;
12499 unsigned char result
;
12500 PyObject
* obj0
= 0 ;
12501 char *kwnames
[] = {
12502 (char *) "self", NULL
12505 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetMaskBlue",kwnames
,&obj0
)) goto fail
;
12506 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12507 if (SWIG_arg_fail(1)) SWIG_fail
;
12509 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12510 result
= (unsigned char)(arg1
)->GetMaskBlue();
12512 wxPyEndAllowThreads(__tstate
);
12513 if (PyErr_Occurred()) SWIG_fail
;
12516 resultobj
= SWIG_From_unsigned_SS_char((unsigned char)(result
));
12524 static PyObject
*_wrap_Image_SetMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12525 PyObject
*resultobj
;
12526 wxImage
*arg1
= (wxImage
*) 0 ;
12527 bool arg2
= (bool) true ;
12528 PyObject
* obj0
= 0 ;
12529 PyObject
* obj1
= 0 ;
12530 char *kwnames
[] = {
12531 (char *) "self",(char *) "mask", NULL
12534 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Image_SetMask",kwnames
,&obj0
,&obj1
)) goto fail
;
12535 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12536 if (SWIG_arg_fail(1)) SWIG_fail
;
12539 arg2
= (bool)(SWIG_As_bool(obj1
));
12540 if (SWIG_arg_fail(2)) SWIG_fail
;
12544 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12545 (arg1
)->SetMask(arg2
);
12547 wxPyEndAllowThreads(__tstate
);
12548 if (PyErr_Occurred()) SWIG_fail
;
12550 Py_INCREF(Py_None
); resultobj
= Py_None
;
12557 static PyObject
*_wrap_Image_HasMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12558 PyObject
*resultobj
;
12559 wxImage
*arg1
= (wxImage
*) 0 ;
12561 PyObject
* obj0
= 0 ;
12562 char *kwnames
[] = {
12563 (char *) "self", NULL
12566 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_HasMask",kwnames
,&obj0
)) goto fail
;
12567 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12568 if (SWIG_arg_fail(1)) SWIG_fail
;
12570 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12571 result
= (bool)(arg1
)->HasMask();
12573 wxPyEndAllowThreads(__tstate
);
12574 if (PyErr_Occurred()) SWIG_fail
;
12577 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12585 static PyObject
*_wrap_Image_Rotate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12586 PyObject
*resultobj
;
12587 wxImage
*arg1
= (wxImage
*) 0 ;
12589 wxPoint
*arg3
= 0 ;
12590 bool arg4
= (bool) true ;
12591 wxPoint
*arg5
= (wxPoint
*) NULL
;
12592 SwigValueWrapper
<wxImage
> result
;
12594 PyObject
* obj0
= 0 ;
12595 PyObject
* obj1
= 0 ;
12596 PyObject
* obj2
= 0 ;
12597 PyObject
* obj3
= 0 ;
12598 PyObject
* obj4
= 0 ;
12599 char *kwnames
[] = {
12600 (char *) "self",(char *) "angle",(char *) "centre_of_rotation",(char *) "interpolating",(char *) "offset_after_rotation", NULL
12603 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:Image_Rotate",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
12604 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12605 if (SWIG_arg_fail(1)) SWIG_fail
;
12607 arg2
= (double)(SWIG_As_double(obj1
));
12608 if (SWIG_arg_fail(2)) SWIG_fail
;
12612 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
12616 arg4
= (bool)(SWIG_As_bool(obj3
));
12617 if (SWIG_arg_fail(4)) SWIG_fail
;
12621 SWIG_Python_ConvertPtr(obj4
, (void **)&arg5
, SWIGTYPE_p_wxPoint
, SWIG_POINTER_EXCEPTION
| 0);
12622 if (SWIG_arg_fail(5)) SWIG_fail
;
12625 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12626 result
= ((wxImage
const *)arg1
)->Rotate(arg2
,(wxPoint
const &)*arg3
,arg4
,arg5
);
12628 wxPyEndAllowThreads(__tstate
);
12629 if (PyErr_Occurred()) SWIG_fail
;
12632 wxImage
* resultptr
;
12633 resultptr
= new wxImage((wxImage
&)(result
));
12634 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
12642 static PyObject
*_wrap_Image_Rotate90(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12643 PyObject
*resultobj
;
12644 wxImage
*arg1
= (wxImage
*) 0 ;
12645 bool arg2
= (bool) true ;
12646 SwigValueWrapper
<wxImage
> result
;
12647 PyObject
* obj0
= 0 ;
12648 PyObject
* obj1
= 0 ;
12649 char *kwnames
[] = {
12650 (char *) "self",(char *) "clockwise", NULL
12653 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Image_Rotate90",kwnames
,&obj0
,&obj1
)) goto fail
;
12654 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12655 if (SWIG_arg_fail(1)) SWIG_fail
;
12658 arg2
= (bool)(SWIG_As_bool(obj1
));
12659 if (SWIG_arg_fail(2)) SWIG_fail
;
12663 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12664 result
= (arg1
)->Rotate90(arg2
);
12666 wxPyEndAllowThreads(__tstate
);
12667 if (PyErr_Occurred()) SWIG_fail
;
12670 wxImage
* resultptr
;
12671 resultptr
= new wxImage((wxImage
&)(result
));
12672 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
12680 static PyObject
*_wrap_Image_Mirror(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12681 PyObject
*resultobj
;
12682 wxImage
*arg1
= (wxImage
*) 0 ;
12683 bool arg2
= (bool) true ;
12684 SwigValueWrapper
<wxImage
> result
;
12685 PyObject
* obj0
= 0 ;
12686 PyObject
* obj1
= 0 ;
12687 char *kwnames
[] = {
12688 (char *) "self",(char *) "horizontally", NULL
12691 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Image_Mirror",kwnames
,&obj0
,&obj1
)) goto fail
;
12692 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12693 if (SWIG_arg_fail(1)) SWIG_fail
;
12696 arg2
= (bool)(SWIG_As_bool(obj1
));
12697 if (SWIG_arg_fail(2)) SWIG_fail
;
12701 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12702 result
= (arg1
)->Mirror(arg2
);
12704 wxPyEndAllowThreads(__tstate
);
12705 if (PyErr_Occurred()) SWIG_fail
;
12708 wxImage
* resultptr
;
12709 resultptr
= new wxImage((wxImage
&)(result
));
12710 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
12718 static PyObject
*_wrap_Image_Replace(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12719 PyObject
*resultobj
;
12720 wxImage
*arg1
= (wxImage
*) 0 ;
12721 unsigned char arg2
;
12722 unsigned char arg3
;
12723 unsigned char arg4
;
12724 unsigned char arg5
;
12725 unsigned char arg6
;
12726 unsigned char arg7
;
12727 PyObject
* obj0
= 0 ;
12728 PyObject
* obj1
= 0 ;
12729 PyObject
* obj2
= 0 ;
12730 PyObject
* obj3
= 0 ;
12731 PyObject
* obj4
= 0 ;
12732 PyObject
* obj5
= 0 ;
12733 PyObject
* obj6
= 0 ;
12734 char *kwnames
[] = {
12735 (char *) "self",(char *) "r1",(char *) "g1",(char *) "b1",(char *) "r2",(char *) "g2",(char *) "b2", NULL
12738 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:Image_Replace",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
12739 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12740 if (SWIG_arg_fail(1)) SWIG_fail
;
12742 arg2
= (unsigned char)(SWIG_As_unsigned_SS_char(obj1
));
12743 if (SWIG_arg_fail(2)) SWIG_fail
;
12746 arg3
= (unsigned char)(SWIG_As_unsigned_SS_char(obj2
));
12747 if (SWIG_arg_fail(3)) SWIG_fail
;
12750 arg4
= (unsigned char)(SWIG_As_unsigned_SS_char(obj3
));
12751 if (SWIG_arg_fail(4)) SWIG_fail
;
12754 arg5
= (unsigned char)(SWIG_As_unsigned_SS_char(obj4
));
12755 if (SWIG_arg_fail(5)) SWIG_fail
;
12758 arg6
= (unsigned char)(SWIG_As_unsigned_SS_char(obj5
));
12759 if (SWIG_arg_fail(6)) SWIG_fail
;
12762 arg7
= (unsigned char)(SWIG_As_unsigned_SS_char(obj6
));
12763 if (SWIG_arg_fail(7)) SWIG_fail
;
12766 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12767 (arg1
)->Replace(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
12769 wxPyEndAllowThreads(__tstate
);
12770 if (PyErr_Occurred()) SWIG_fail
;
12772 Py_INCREF(Py_None
); resultobj
= Py_None
;
12779 static PyObject
*_wrap_Image_ConvertToMono(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12780 PyObject
*resultobj
;
12781 wxImage
*arg1
= (wxImage
*) 0 ;
12782 unsigned char arg2
;
12783 unsigned char arg3
;
12784 unsigned char arg4
;
12785 SwigValueWrapper
<wxImage
> result
;
12786 PyObject
* obj0
= 0 ;
12787 PyObject
* obj1
= 0 ;
12788 PyObject
* obj2
= 0 ;
12789 PyObject
* obj3
= 0 ;
12790 char *kwnames
[] = {
12791 (char *) "self",(char *) "r",(char *) "g",(char *) "b", NULL
12794 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Image_ConvertToMono",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
12795 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12796 if (SWIG_arg_fail(1)) SWIG_fail
;
12798 arg2
= (unsigned char)(SWIG_As_unsigned_SS_char(obj1
));
12799 if (SWIG_arg_fail(2)) SWIG_fail
;
12802 arg3
= (unsigned char)(SWIG_As_unsigned_SS_char(obj2
));
12803 if (SWIG_arg_fail(3)) SWIG_fail
;
12806 arg4
= (unsigned char)(SWIG_As_unsigned_SS_char(obj3
));
12807 if (SWIG_arg_fail(4)) SWIG_fail
;
12810 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12811 result
= ((wxImage
const *)arg1
)->ConvertToMono(arg2
,arg3
,arg4
);
12813 wxPyEndAllowThreads(__tstate
);
12814 if (PyErr_Occurred()) SWIG_fail
;
12817 wxImage
* resultptr
;
12818 resultptr
= new wxImage((wxImage
&)(result
));
12819 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
12827 static PyObject
*_wrap_Image_SetOption(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12828 PyObject
*resultobj
;
12829 wxImage
*arg1
= (wxImage
*) 0 ;
12830 wxString
*arg2
= 0 ;
12831 wxString
*arg3
= 0 ;
12832 bool temp2
= false ;
12833 bool temp3
= false ;
12834 PyObject
* obj0
= 0 ;
12835 PyObject
* obj1
= 0 ;
12836 PyObject
* obj2
= 0 ;
12837 char *kwnames
[] = {
12838 (char *) "self",(char *) "name",(char *) "value", NULL
12841 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_SetOption",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12842 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12843 if (SWIG_arg_fail(1)) SWIG_fail
;
12845 arg2
= wxString_in_helper(obj1
);
12846 if (arg2
== NULL
) SWIG_fail
;
12850 arg3
= wxString_in_helper(obj2
);
12851 if (arg3
== NULL
) SWIG_fail
;
12855 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12856 (arg1
)->SetOption((wxString
const &)*arg2
,(wxString
const &)*arg3
);
12858 wxPyEndAllowThreads(__tstate
);
12859 if (PyErr_Occurred()) SWIG_fail
;
12861 Py_INCREF(Py_None
); resultobj
= Py_None
;
12884 static PyObject
*_wrap_Image_SetOptionInt(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12885 PyObject
*resultobj
;
12886 wxImage
*arg1
= (wxImage
*) 0 ;
12887 wxString
*arg2
= 0 ;
12889 bool temp2
= false ;
12890 PyObject
* obj0
= 0 ;
12891 PyObject
* obj1
= 0 ;
12892 PyObject
* obj2
= 0 ;
12893 char *kwnames
[] = {
12894 (char *) "self",(char *) "name",(char *) "value", NULL
12897 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_SetOptionInt",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12898 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12899 if (SWIG_arg_fail(1)) SWIG_fail
;
12901 arg2
= wxString_in_helper(obj1
);
12902 if (arg2
== NULL
) SWIG_fail
;
12906 arg3
= (int)(SWIG_As_int(obj2
));
12907 if (SWIG_arg_fail(3)) SWIG_fail
;
12910 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12911 (arg1
)->SetOption((wxString
const &)*arg2
,arg3
);
12913 wxPyEndAllowThreads(__tstate
);
12914 if (PyErr_Occurred()) SWIG_fail
;
12916 Py_INCREF(Py_None
); resultobj
= Py_None
;
12931 static PyObject
*_wrap_Image_GetOption(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12932 PyObject
*resultobj
;
12933 wxImage
*arg1
= (wxImage
*) 0 ;
12934 wxString
*arg2
= 0 ;
12936 bool temp2
= false ;
12937 PyObject
* obj0
= 0 ;
12938 PyObject
* obj1
= 0 ;
12939 char *kwnames
[] = {
12940 (char *) "self",(char *) "name", NULL
12943 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_GetOption",kwnames
,&obj0
,&obj1
)) goto fail
;
12944 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12945 if (SWIG_arg_fail(1)) SWIG_fail
;
12947 arg2
= wxString_in_helper(obj1
);
12948 if (arg2
== NULL
) SWIG_fail
;
12952 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12953 result
= ((wxImage
const *)arg1
)->GetOption((wxString
const &)*arg2
);
12955 wxPyEndAllowThreads(__tstate
);
12956 if (PyErr_Occurred()) SWIG_fail
;
12960 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12962 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12979 static PyObject
*_wrap_Image_GetOptionInt(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12980 PyObject
*resultobj
;
12981 wxImage
*arg1
= (wxImage
*) 0 ;
12982 wxString
*arg2
= 0 ;
12984 bool temp2
= false ;
12985 PyObject
* obj0
= 0 ;
12986 PyObject
* obj1
= 0 ;
12987 char *kwnames
[] = {
12988 (char *) "self",(char *) "name", NULL
12991 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_GetOptionInt",kwnames
,&obj0
,&obj1
)) goto fail
;
12992 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12993 if (SWIG_arg_fail(1)) SWIG_fail
;
12995 arg2
= wxString_in_helper(obj1
);
12996 if (arg2
== NULL
) SWIG_fail
;
13000 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13001 result
= (int)((wxImage
const *)arg1
)->GetOptionInt((wxString
const &)*arg2
);
13003 wxPyEndAllowThreads(__tstate
);
13004 if (PyErr_Occurred()) SWIG_fail
;
13007 resultobj
= SWIG_From_int((int)(result
));
13023 static PyObject
*_wrap_Image_HasOption(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13024 PyObject
*resultobj
;
13025 wxImage
*arg1
= (wxImage
*) 0 ;
13026 wxString
*arg2
= 0 ;
13028 bool temp2
= false ;
13029 PyObject
* obj0
= 0 ;
13030 PyObject
* obj1
= 0 ;
13031 char *kwnames
[] = {
13032 (char *) "self",(char *) "name", NULL
13035 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_HasOption",kwnames
,&obj0
,&obj1
)) 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 arg2
= wxString_in_helper(obj1
);
13040 if (arg2
== NULL
) SWIG_fail
;
13044 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13045 result
= (bool)((wxImage
const *)arg1
)->HasOption((wxString
const &)*arg2
);
13047 wxPyEndAllowThreads(__tstate
);
13048 if (PyErr_Occurred()) SWIG_fail
;
13051 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13067 static PyObject
*_wrap_Image_CountColours(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13068 PyObject
*resultobj
;
13069 wxImage
*arg1
= (wxImage
*) 0 ;
13070 unsigned long arg2
= (unsigned long) (unsigned long) -1 ;
13071 unsigned long result
;
13072 PyObject
* obj0
= 0 ;
13073 PyObject
* obj1
= 0 ;
13074 char *kwnames
[] = {
13075 (char *) "self",(char *) "stopafter", NULL
13078 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Image_CountColours",kwnames
,&obj0
,&obj1
)) goto fail
;
13079 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
13080 if (SWIG_arg_fail(1)) SWIG_fail
;
13083 arg2
= (unsigned long)(SWIG_As_unsigned_SS_long(obj1
));
13084 if (SWIG_arg_fail(2)) SWIG_fail
;
13088 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13089 result
= (unsigned long)(arg1
)->CountColours(arg2
);
13091 wxPyEndAllowThreads(__tstate
);
13092 if (PyErr_Occurred()) SWIG_fail
;
13095 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
13103 static PyObject
*_wrap_Image_ComputeHistogram(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13104 PyObject
*resultobj
;
13105 wxImage
*arg1
= (wxImage
*) 0 ;
13106 wxImageHistogram
*arg2
= 0 ;
13107 unsigned long result
;
13108 PyObject
* obj0
= 0 ;
13109 PyObject
* obj1
= 0 ;
13110 char *kwnames
[] = {
13111 (char *) "self",(char *) "h", NULL
13114 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_ComputeHistogram",kwnames
,&obj0
,&obj1
)) goto fail
;
13115 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
13116 if (SWIG_arg_fail(1)) SWIG_fail
;
13118 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxImageHistogram
, SWIG_POINTER_EXCEPTION
| 0);
13119 if (SWIG_arg_fail(2)) SWIG_fail
;
13120 if (arg2
== NULL
) {
13121 SWIG_null_ref("wxImageHistogram");
13123 if (SWIG_arg_fail(2)) SWIG_fail
;
13126 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13127 result
= (unsigned long)(arg1
)->ComputeHistogram(*arg2
);
13129 wxPyEndAllowThreads(__tstate
);
13130 if (PyErr_Occurred()) SWIG_fail
;
13133 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
13141 static PyObject
*_wrap_Image_AddHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13142 PyObject
*resultobj
;
13143 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
13144 PyObject
* obj0
= 0 ;
13145 char *kwnames
[] = {
13146 (char *) "handler", NULL
13149 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_AddHandler",kwnames
,&obj0
)) goto fail
;
13150 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImageHandler
, SWIG_POINTER_EXCEPTION
| 0);
13151 if (SWIG_arg_fail(1)) SWIG_fail
;
13153 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13154 wxImage::AddHandler(arg1
);
13156 wxPyEndAllowThreads(__tstate
);
13157 if (PyErr_Occurred()) SWIG_fail
;
13159 Py_INCREF(Py_None
); resultobj
= Py_None
;
13166 static PyObject
*_wrap_Image_InsertHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13167 PyObject
*resultobj
;
13168 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
13169 PyObject
* obj0
= 0 ;
13170 char *kwnames
[] = {
13171 (char *) "handler", NULL
13174 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_InsertHandler",kwnames
,&obj0
)) goto fail
;
13175 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImageHandler
, SWIG_POINTER_EXCEPTION
| 0);
13176 if (SWIG_arg_fail(1)) SWIG_fail
;
13178 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13179 wxImage::InsertHandler(arg1
);
13181 wxPyEndAllowThreads(__tstate
);
13182 if (PyErr_Occurred()) SWIG_fail
;
13184 Py_INCREF(Py_None
); resultobj
= Py_None
;
13191 static PyObject
*_wrap_Image_RemoveHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13192 PyObject
*resultobj
;
13193 wxString
*arg1
= 0 ;
13195 bool temp1
= false ;
13196 PyObject
* obj0
= 0 ;
13197 char *kwnames
[] = {
13198 (char *) "name", NULL
13201 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_RemoveHandler",kwnames
,&obj0
)) goto fail
;
13203 arg1
= wxString_in_helper(obj0
);
13204 if (arg1
== NULL
) SWIG_fail
;
13208 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13209 result
= (bool)wxImage::RemoveHandler((wxString
const &)*arg1
);
13211 wxPyEndAllowThreads(__tstate
);
13212 if (PyErr_Occurred()) SWIG_fail
;
13215 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13231 static PyObject
*_wrap_Image_GetImageExtWildcard(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13232 PyObject
*resultobj
;
13234 char *kwnames
[] = {
13238 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Image_GetImageExtWildcard",kwnames
)) goto fail
;
13240 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13241 result
= wxImage::GetImageExtWildcard();
13243 wxPyEndAllowThreads(__tstate
);
13244 if (PyErr_Occurred()) SWIG_fail
;
13248 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13250 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13259 static PyObject
*_wrap_Image_ConvertToBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13260 PyObject
*resultobj
;
13261 wxImage
*arg1
= (wxImage
*) 0 ;
13262 int arg2
= (int) -1 ;
13264 PyObject
* obj0
= 0 ;
13265 PyObject
* obj1
= 0 ;
13266 char *kwnames
[] = {
13267 (char *) "self",(char *) "depth", NULL
13270 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Image_ConvertToBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
13271 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
13272 if (SWIG_arg_fail(1)) SWIG_fail
;
13275 arg2
= (int)(SWIG_As_int(obj1
));
13276 if (SWIG_arg_fail(2)) SWIG_fail
;
13280 if (!wxPyCheckForApp()) SWIG_fail
;
13281 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13282 result
= wxImage_ConvertToBitmap(arg1
,arg2
);
13284 wxPyEndAllowThreads(__tstate
);
13285 if (PyErr_Occurred()) SWIG_fail
;
13288 wxBitmap
* resultptr
;
13289 resultptr
= new wxBitmap((wxBitmap
&)(result
));
13290 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
13298 static PyObject
*_wrap_Image_ConvertToMonoBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13299 PyObject
*resultobj
;
13300 wxImage
*arg1
= (wxImage
*) 0 ;
13301 unsigned char arg2
;
13302 unsigned char arg3
;
13303 unsigned char arg4
;
13305 PyObject
* obj0
= 0 ;
13306 PyObject
* obj1
= 0 ;
13307 PyObject
* obj2
= 0 ;
13308 PyObject
* obj3
= 0 ;
13309 char *kwnames
[] = {
13310 (char *) "self",(char *) "red",(char *) "green",(char *) "blue", NULL
13313 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Image_ConvertToMonoBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
13314 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
13315 if (SWIG_arg_fail(1)) SWIG_fail
;
13317 arg2
= (unsigned char)(SWIG_As_unsigned_SS_char(obj1
));
13318 if (SWIG_arg_fail(2)) SWIG_fail
;
13321 arg3
= (unsigned char)(SWIG_As_unsigned_SS_char(obj2
));
13322 if (SWIG_arg_fail(3)) SWIG_fail
;
13325 arg4
= (unsigned char)(SWIG_As_unsigned_SS_char(obj3
));
13326 if (SWIG_arg_fail(4)) SWIG_fail
;
13329 if (!wxPyCheckForApp()) SWIG_fail
;
13330 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13331 result
= wxImage_ConvertToMonoBitmap(arg1
,arg2
,arg3
,arg4
);
13333 wxPyEndAllowThreads(__tstate
);
13334 if (PyErr_Occurred()) SWIG_fail
;
13337 wxBitmap
* resultptr
;
13338 resultptr
= new wxBitmap((wxBitmap
&)(result
));
13339 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
13347 static PyObject
* Image_swigregister(PyObject
*, PyObject
*args
) {
13349 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13350 SWIG_TypeClientData(SWIGTYPE_p_wxImage
, obj
);
13352 return Py_BuildValue((char *)"");
13354 static int _wrap_NullImage_set(PyObject
*) {
13355 PyErr_SetString(PyExc_TypeError
,"Variable NullImage is read-only.");
13360 static PyObject
*_wrap_NullImage_get(void) {
13363 pyobj
= SWIG_NewPointerObj((void *)(&wxNullImage
), SWIGTYPE_p_wxImage
, 0);
13368 static int _wrap_IMAGE_OPTION_FILENAME_set(PyObject
*) {
13369 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_FILENAME is read-only.");
13374 static PyObject
*_wrap_IMAGE_OPTION_FILENAME_get(void) {
13379 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_FILENAME
)->c_str(), (&wxPyIMAGE_OPTION_FILENAME
)->Len());
13381 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_FILENAME
)->c_str(), (&wxPyIMAGE_OPTION_FILENAME
)->Len());
13388 static int _wrap_IMAGE_OPTION_BMP_FORMAT_set(PyObject
*) {
13389 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_BMP_FORMAT is read-only.");
13394 static PyObject
*_wrap_IMAGE_OPTION_BMP_FORMAT_get(void) {
13399 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_BMP_FORMAT
)->c_str(), (&wxPyIMAGE_OPTION_BMP_FORMAT
)->Len());
13401 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_BMP_FORMAT
)->c_str(), (&wxPyIMAGE_OPTION_BMP_FORMAT
)->Len());
13408 static int _wrap_IMAGE_OPTION_CUR_HOTSPOT_X_set(PyObject
*) {
13409 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_CUR_HOTSPOT_X is read-only.");
13414 static PyObject
*_wrap_IMAGE_OPTION_CUR_HOTSPOT_X_get(void) {
13419 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_CUR_HOTSPOT_X
)->c_str(), (&wxPyIMAGE_OPTION_CUR_HOTSPOT_X
)->Len());
13421 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_CUR_HOTSPOT_X
)->c_str(), (&wxPyIMAGE_OPTION_CUR_HOTSPOT_X
)->Len());
13428 static int _wrap_IMAGE_OPTION_CUR_HOTSPOT_Y_set(PyObject
*) {
13429 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_CUR_HOTSPOT_Y is read-only.");
13434 static PyObject
*_wrap_IMAGE_OPTION_CUR_HOTSPOT_Y_get(void) {
13439 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_CUR_HOTSPOT_Y
)->c_str(), (&wxPyIMAGE_OPTION_CUR_HOTSPOT_Y
)->Len());
13441 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_CUR_HOTSPOT_Y
)->c_str(), (&wxPyIMAGE_OPTION_CUR_HOTSPOT_Y
)->Len());
13448 static int _wrap_IMAGE_OPTION_RESOLUTION_set(PyObject
*) {
13449 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_RESOLUTION is read-only.");
13454 static PyObject
*_wrap_IMAGE_OPTION_RESOLUTION_get(void) {
13459 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_RESOLUTION
)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTION
)->Len());
13461 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_RESOLUTION
)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTION
)->Len());
13468 static int _wrap_IMAGE_OPTION_RESOLUTIONX_set(PyObject
*) {
13469 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_RESOLUTIONX is read-only.");
13474 static PyObject
*_wrap_IMAGE_OPTION_RESOLUTIONX_get(void) {
13479 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_RESOLUTIONX
)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTIONX
)->Len());
13481 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_RESOLUTIONX
)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTIONX
)->Len());
13488 static int _wrap_IMAGE_OPTION_RESOLUTIONY_set(PyObject
*) {
13489 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_RESOLUTIONY is read-only.");
13494 static PyObject
*_wrap_IMAGE_OPTION_RESOLUTIONY_get(void) {
13499 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_RESOLUTIONY
)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTIONY
)->Len());
13501 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_RESOLUTIONY
)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTIONY
)->Len());
13508 static int _wrap_IMAGE_OPTION_RESOLUTIONUNIT_set(PyObject
*) {
13509 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_RESOLUTIONUNIT is read-only.");
13514 static PyObject
*_wrap_IMAGE_OPTION_RESOLUTIONUNIT_get(void) {
13519 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_RESOLUTIONUNIT
)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTIONUNIT
)->Len());
13521 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_RESOLUTIONUNIT
)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTIONUNIT
)->Len());
13528 static int _wrap_IMAGE_OPTION_QUALITY_set(PyObject
*) {
13529 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_QUALITY is read-only.");
13534 static PyObject
*_wrap_IMAGE_OPTION_QUALITY_get(void) {
13539 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_QUALITY
)->c_str(), (&wxPyIMAGE_OPTION_QUALITY
)->Len());
13541 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_QUALITY
)->c_str(), (&wxPyIMAGE_OPTION_QUALITY
)->Len());
13548 static int _wrap_IMAGE_OPTION_BITSPERSAMPLE_set(PyObject
*) {
13549 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_BITSPERSAMPLE is read-only.");
13554 static PyObject
*_wrap_IMAGE_OPTION_BITSPERSAMPLE_get(void) {
13559 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_BITSPERSAMPLE
)->c_str(), (&wxPyIMAGE_OPTION_BITSPERSAMPLE
)->Len());
13561 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_BITSPERSAMPLE
)->c_str(), (&wxPyIMAGE_OPTION_BITSPERSAMPLE
)->Len());
13568 static int _wrap_IMAGE_OPTION_SAMPLESPERPIXEL_set(PyObject
*) {
13569 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_SAMPLESPERPIXEL is read-only.");
13574 static PyObject
*_wrap_IMAGE_OPTION_SAMPLESPERPIXEL_get(void) {
13579 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_SAMPLESPERPIXEL
)->c_str(), (&wxPyIMAGE_OPTION_SAMPLESPERPIXEL
)->Len());
13581 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_SAMPLESPERPIXEL
)->c_str(), (&wxPyIMAGE_OPTION_SAMPLESPERPIXEL
)->Len());
13588 static int _wrap_IMAGE_OPTION_COMPRESSION_set(PyObject
*) {
13589 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_COMPRESSION is read-only.");
13594 static PyObject
*_wrap_IMAGE_OPTION_COMPRESSION_get(void) {
13599 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_COMPRESSION
)->c_str(), (&wxPyIMAGE_OPTION_COMPRESSION
)->Len());
13601 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_COMPRESSION
)->c_str(), (&wxPyIMAGE_OPTION_COMPRESSION
)->Len());
13608 static int _wrap_IMAGE_OPTION_IMAGEDESCRIPTOR_set(PyObject
*) {
13609 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_IMAGEDESCRIPTOR is read-only.");
13614 static PyObject
*_wrap_IMAGE_OPTION_IMAGEDESCRIPTOR_get(void) {
13619 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_IMAGEDESCRIPTOR
)->c_str(), (&wxPyIMAGE_OPTION_IMAGEDESCRIPTOR
)->Len());
13621 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_IMAGEDESCRIPTOR
)->c_str(), (&wxPyIMAGE_OPTION_IMAGEDESCRIPTOR
)->Len());
13628 static int _wrap_IMAGE_OPTION_PNG_FORMAT_set(PyObject
*) {
13629 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_PNG_FORMAT is read-only.");
13634 static PyObject
*_wrap_IMAGE_OPTION_PNG_FORMAT_get(void) {
13639 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_PNG_FORMAT
)->c_str(), (&wxPyIMAGE_OPTION_PNG_FORMAT
)->Len());
13641 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_PNG_FORMAT
)->c_str(), (&wxPyIMAGE_OPTION_PNG_FORMAT
)->Len());
13648 static int _wrap_IMAGE_OPTION_PNG_BITDEPTH_set(PyObject
*) {
13649 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_PNG_BITDEPTH is read-only.");
13654 static PyObject
*_wrap_IMAGE_OPTION_PNG_BITDEPTH_get(void) {
13659 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_PNG_BITDEPTH
)->c_str(), (&wxPyIMAGE_OPTION_PNG_BITDEPTH
)->Len());
13661 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_PNG_BITDEPTH
)->c_str(), (&wxPyIMAGE_OPTION_PNG_BITDEPTH
)->Len());
13668 static PyObject
*_wrap_new_BMPHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13669 PyObject
*resultobj
;
13670 wxBMPHandler
*result
;
13671 char *kwnames
[] = {
13675 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_BMPHandler",kwnames
)) goto fail
;
13677 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13678 result
= (wxBMPHandler
*)new wxBMPHandler();
13680 wxPyEndAllowThreads(__tstate
);
13681 if (PyErr_Occurred()) SWIG_fail
;
13683 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBMPHandler
, 1);
13690 static PyObject
* BMPHandler_swigregister(PyObject
*, PyObject
*args
) {
13692 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13693 SWIG_TypeClientData(SWIGTYPE_p_wxBMPHandler
, obj
);
13695 return Py_BuildValue((char *)"");
13697 static PyObject
*_wrap_new_ICOHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13698 PyObject
*resultobj
;
13699 wxICOHandler
*result
;
13700 char *kwnames
[] = {
13704 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ICOHandler",kwnames
)) goto fail
;
13706 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13707 result
= (wxICOHandler
*)new wxICOHandler();
13709 wxPyEndAllowThreads(__tstate
);
13710 if (PyErr_Occurred()) SWIG_fail
;
13712 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxICOHandler
, 1);
13719 static PyObject
* ICOHandler_swigregister(PyObject
*, PyObject
*args
) {
13721 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13722 SWIG_TypeClientData(SWIGTYPE_p_wxICOHandler
, obj
);
13724 return Py_BuildValue((char *)"");
13726 static PyObject
*_wrap_new_CURHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13727 PyObject
*resultobj
;
13728 wxCURHandler
*result
;
13729 char *kwnames
[] = {
13733 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_CURHandler",kwnames
)) goto fail
;
13735 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13736 result
= (wxCURHandler
*)new wxCURHandler();
13738 wxPyEndAllowThreads(__tstate
);
13739 if (PyErr_Occurred()) SWIG_fail
;
13741 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCURHandler
, 1);
13748 static PyObject
* CURHandler_swigregister(PyObject
*, PyObject
*args
) {
13750 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13751 SWIG_TypeClientData(SWIGTYPE_p_wxCURHandler
, obj
);
13753 return Py_BuildValue((char *)"");
13755 static PyObject
*_wrap_new_ANIHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13756 PyObject
*resultobj
;
13757 wxANIHandler
*result
;
13758 char *kwnames
[] = {
13762 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ANIHandler",kwnames
)) goto fail
;
13764 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13765 result
= (wxANIHandler
*)new wxANIHandler();
13767 wxPyEndAllowThreads(__tstate
);
13768 if (PyErr_Occurred()) SWIG_fail
;
13770 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxANIHandler
, 1);
13777 static PyObject
* ANIHandler_swigregister(PyObject
*, PyObject
*args
) {
13779 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13780 SWIG_TypeClientData(SWIGTYPE_p_wxANIHandler
, obj
);
13782 return Py_BuildValue((char *)"");
13784 static PyObject
*_wrap_new_PNGHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13785 PyObject
*resultobj
;
13786 wxPNGHandler
*result
;
13787 char *kwnames
[] = {
13791 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PNGHandler",kwnames
)) goto fail
;
13793 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13794 result
= (wxPNGHandler
*)new wxPNGHandler();
13796 wxPyEndAllowThreads(__tstate
);
13797 if (PyErr_Occurred()) SWIG_fail
;
13799 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPNGHandler
, 1);
13806 static PyObject
* PNGHandler_swigregister(PyObject
*, PyObject
*args
) {
13808 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13809 SWIG_TypeClientData(SWIGTYPE_p_wxPNGHandler
, obj
);
13811 return Py_BuildValue((char *)"");
13813 static PyObject
*_wrap_new_GIFHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13814 PyObject
*resultobj
;
13815 wxGIFHandler
*result
;
13816 char *kwnames
[] = {
13820 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_GIFHandler",kwnames
)) goto fail
;
13822 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13823 result
= (wxGIFHandler
*)new wxGIFHandler();
13825 wxPyEndAllowThreads(__tstate
);
13826 if (PyErr_Occurred()) SWIG_fail
;
13828 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGIFHandler
, 1);
13835 static PyObject
* GIFHandler_swigregister(PyObject
*, PyObject
*args
) {
13837 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13838 SWIG_TypeClientData(SWIGTYPE_p_wxGIFHandler
, obj
);
13840 return Py_BuildValue((char *)"");
13842 static PyObject
*_wrap_new_PCXHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13843 PyObject
*resultobj
;
13844 wxPCXHandler
*result
;
13845 char *kwnames
[] = {
13849 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PCXHandler",kwnames
)) goto fail
;
13851 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13852 result
= (wxPCXHandler
*)new wxPCXHandler();
13854 wxPyEndAllowThreads(__tstate
);
13855 if (PyErr_Occurred()) SWIG_fail
;
13857 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPCXHandler
, 1);
13864 static PyObject
* PCXHandler_swigregister(PyObject
*, PyObject
*args
) {
13866 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13867 SWIG_TypeClientData(SWIGTYPE_p_wxPCXHandler
, obj
);
13869 return Py_BuildValue((char *)"");
13871 static PyObject
*_wrap_new_JPEGHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13872 PyObject
*resultobj
;
13873 wxJPEGHandler
*result
;
13874 char *kwnames
[] = {
13878 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_JPEGHandler",kwnames
)) goto fail
;
13880 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13881 result
= (wxJPEGHandler
*)new wxJPEGHandler();
13883 wxPyEndAllowThreads(__tstate
);
13884 if (PyErr_Occurred()) SWIG_fail
;
13886 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxJPEGHandler
, 1);
13893 static PyObject
* JPEGHandler_swigregister(PyObject
*, PyObject
*args
) {
13895 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13896 SWIG_TypeClientData(SWIGTYPE_p_wxJPEGHandler
, obj
);
13898 return Py_BuildValue((char *)"");
13900 static PyObject
*_wrap_new_PNMHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13901 PyObject
*resultobj
;
13902 wxPNMHandler
*result
;
13903 char *kwnames
[] = {
13907 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PNMHandler",kwnames
)) goto fail
;
13909 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13910 result
= (wxPNMHandler
*)new wxPNMHandler();
13912 wxPyEndAllowThreads(__tstate
);
13913 if (PyErr_Occurred()) SWIG_fail
;
13915 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPNMHandler
, 1);
13922 static PyObject
* PNMHandler_swigregister(PyObject
*, PyObject
*args
) {
13924 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13925 SWIG_TypeClientData(SWIGTYPE_p_wxPNMHandler
, obj
);
13927 return Py_BuildValue((char *)"");
13929 static PyObject
*_wrap_new_XPMHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13930 PyObject
*resultobj
;
13931 wxXPMHandler
*result
;
13932 char *kwnames
[] = {
13936 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_XPMHandler",kwnames
)) goto fail
;
13938 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13939 result
= (wxXPMHandler
*)new wxXPMHandler();
13941 wxPyEndAllowThreads(__tstate
);
13942 if (PyErr_Occurred()) SWIG_fail
;
13944 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxXPMHandler
, 1);
13951 static PyObject
* XPMHandler_swigregister(PyObject
*, PyObject
*args
) {
13953 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13954 SWIG_TypeClientData(SWIGTYPE_p_wxXPMHandler
, obj
);
13956 return Py_BuildValue((char *)"");
13958 static PyObject
*_wrap_new_TIFFHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13959 PyObject
*resultobj
;
13960 wxTIFFHandler
*result
;
13961 char *kwnames
[] = {
13965 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_TIFFHandler",kwnames
)) goto fail
;
13967 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13968 result
= (wxTIFFHandler
*)new wxTIFFHandler();
13970 wxPyEndAllowThreads(__tstate
);
13971 if (PyErr_Occurred()) SWIG_fail
;
13973 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTIFFHandler
, 1);
13980 static PyObject
* TIFFHandler_swigregister(PyObject
*, PyObject
*args
) {
13982 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13983 SWIG_TypeClientData(SWIGTYPE_p_wxTIFFHandler
, obj
);
13985 return Py_BuildValue((char *)"");
13987 static PyObject
*_wrap_Quantize_Quantize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13988 PyObject
*resultobj
;
13989 wxImage
*arg1
= 0 ;
13990 wxImage
*arg2
= 0 ;
13991 int arg3
= (int) 236 ;
13992 int arg4
= (int) wxQUANTIZE_INCLUDE_WINDOWS_COLOURS
|wxQUANTIZE_FILL_DESTINATION_IMAGE
;
13994 PyObject
* obj0
= 0 ;
13995 PyObject
* obj1
= 0 ;
13996 PyObject
* obj2
= 0 ;
13997 PyObject
* obj3
= 0 ;
13998 char *kwnames
[] = {
13999 (char *) "src",(char *) "dest",(char *) "desiredNoColours",(char *) "flags", NULL
14002 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:Quantize_Quantize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
14004 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
14005 if (SWIG_arg_fail(1)) SWIG_fail
;
14006 if (arg1
== NULL
) {
14007 SWIG_null_ref("wxImage");
14009 if (SWIG_arg_fail(1)) SWIG_fail
;
14012 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
14013 if (SWIG_arg_fail(2)) SWIG_fail
;
14014 if (arg2
== NULL
) {
14015 SWIG_null_ref("wxImage");
14017 if (SWIG_arg_fail(2)) SWIG_fail
;
14021 arg3
= (int)(SWIG_As_int(obj2
));
14022 if (SWIG_arg_fail(3)) SWIG_fail
;
14027 arg4
= (int)(SWIG_As_int(obj3
));
14028 if (SWIG_arg_fail(4)) SWIG_fail
;
14032 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14033 result
= (bool)Quantize_Quantize((wxImage
const &)*arg1
,*arg2
,arg3
,arg4
);
14035 wxPyEndAllowThreads(__tstate
);
14036 if (PyErr_Occurred()) SWIG_fail
;
14039 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14047 static PyObject
* Quantize_swigregister(PyObject
*, PyObject
*args
) {
14049 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14050 SWIG_TypeClientData(SWIGTYPE_p_wxQuantize
, obj
);
14052 return Py_BuildValue((char *)"");
14054 static PyObject
*_wrap_new_EvtHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14055 PyObject
*resultobj
;
14056 wxEvtHandler
*result
;
14057 char *kwnames
[] = {
14061 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_EvtHandler",kwnames
)) goto fail
;
14063 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14064 result
= (wxEvtHandler
*)new wxEvtHandler();
14066 wxPyEndAllowThreads(__tstate
);
14067 if (PyErr_Occurred()) SWIG_fail
;
14069 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxEvtHandler
, 1);
14076 static PyObject
*_wrap_EvtHandler_GetNextHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14077 PyObject
*resultobj
;
14078 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
14079 wxEvtHandler
*result
;
14080 PyObject
* obj0
= 0 ;
14081 char *kwnames
[] = {
14082 (char *) "self", NULL
14085 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EvtHandler_GetNextHandler",kwnames
,&obj0
)) goto fail
;
14086 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
14087 if (SWIG_arg_fail(1)) SWIG_fail
;
14089 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14090 result
= (wxEvtHandler
*)(arg1
)->GetNextHandler();
14092 wxPyEndAllowThreads(__tstate
);
14093 if (PyErr_Occurred()) SWIG_fail
;
14096 resultobj
= wxPyMake_wxObject(result
, 0);
14104 static PyObject
*_wrap_EvtHandler_GetPreviousHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14105 PyObject
*resultobj
;
14106 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
14107 wxEvtHandler
*result
;
14108 PyObject
* obj0
= 0 ;
14109 char *kwnames
[] = {
14110 (char *) "self", NULL
14113 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EvtHandler_GetPreviousHandler",kwnames
,&obj0
)) goto fail
;
14114 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
14115 if (SWIG_arg_fail(1)) SWIG_fail
;
14117 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14118 result
= (wxEvtHandler
*)(arg1
)->GetPreviousHandler();
14120 wxPyEndAllowThreads(__tstate
);
14121 if (PyErr_Occurred()) SWIG_fail
;
14124 resultobj
= wxPyMake_wxObject(result
, 0);
14132 static PyObject
*_wrap_EvtHandler_SetNextHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14133 PyObject
*resultobj
;
14134 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
14135 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
14136 PyObject
* obj0
= 0 ;
14137 PyObject
* obj1
= 0 ;
14138 char *kwnames
[] = {
14139 (char *) "self",(char *) "handler", NULL
14142 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EvtHandler_SetNextHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
14143 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
14144 if (SWIG_arg_fail(1)) SWIG_fail
;
14145 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
14146 if (SWIG_arg_fail(2)) SWIG_fail
;
14148 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14149 (arg1
)->SetNextHandler(arg2
);
14151 wxPyEndAllowThreads(__tstate
);
14152 if (PyErr_Occurred()) SWIG_fail
;
14154 Py_INCREF(Py_None
); resultobj
= Py_None
;
14161 static PyObject
*_wrap_EvtHandler_SetPreviousHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14162 PyObject
*resultobj
;
14163 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
14164 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
14165 PyObject
* obj0
= 0 ;
14166 PyObject
* obj1
= 0 ;
14167 char *kwnames
[] = {
14168 (char *) "self",(char *) "handler", NULL
14171 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EvtHandler_SetPreviousHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
14172 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
14173 if (SWIG_arg_fail(1)) SWIG_fail
;
14174 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
14175 if (SWIG_arg_fail(2)) SWIG_fail
;
14177 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14178 (arg1
)->SetPreviousHandler(arg2
);
14180 wxPyEndAllowThreads(__tstate
);
14181 if (PyErr_Occurred()) SWIG_fail
;
14183 Py_INCREF(Py_None
); resultobj
= Py_None
;
14190 static PyObject
*_wrap_EvtHandler_GetEvtHandlerEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14191 PyObject
*resultobj
;
14192 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
14194 PyObject
* obj0
= 0 ;
14195 char *kwnames
[] = {
14196 (char *) "self", NULL
14199 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EvtHandler_GetEvtHandlerEnabled",kwnames
,&obj0
)) goto fail
;
14200 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
14201 if (SWIG_arg_fail(1)) SWIG_fail
;
14203 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14204 result
= (bool)(arg1
)->GetEvtHandlerEnabled();
14206 wxPyEndAllowThreads(__tstate
);
14207 if (PyErr_Occurred()) SWIG_fail
;
14210 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14218 static PyObject
*_wrap_EvtHandler_SetEvtHandlerEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14219 PyObject
*resultobj
;
14220 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
14222 PyObject
* obj0
= 0 ;
14223 PyObject
* obj1
= 0 ;
14224 char *kwnames
[] = {
14225 (char *) "self",(char *) "enabled", NULL
14228 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EvtHandler_SetEvtHandlerEnabled",kwnames
,&obj0
,&obj1
)) goto fail
;
14229 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
14230 if (SWIG_arg_fail(1)) SWIG_fail
;
14232 arg2
= (bool)(SWIG_As_bool(obj1
));
14233 if (SWIG_arg_fail(2)) SWIG_fail
;
14236 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14237 (arg1
)->SetEvtHandlerEnabled(arg2
);
14239 wxPyEndAllowThreads(__tstate
);
14240 if (PyErr_Occurred()) SWIG_fail
;
14242 Py_INCREF(Py_None
); resultobj
= Py_None
;
14249 static PyObject
*_wrap_EvtHandler_ProcessEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14250 PyObject
*resultobj
;
14251 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
14252 wxEvent
*arg2
= 0 ;
14254 PyObject
* obj0
= 0 ;
14255 PyObject
* obj1
= 0 ;
14256 char *kwnames
[] = {
14257 (char *) "self",(char *) "event", NULL
14260 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EvtHandler_ProcessEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
14261 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
14262 if (SWIG_arg_fail(1)) SWIG_fail
;
14264 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
14265 if (SWIG_arg_fail(2)) SWIG_fail
;
14266 if (arg2
== NULL
) {
14267 SWIG_null_ref("wxEvent");
14269 if (SWIG_arg_fail(2)) SWIG_fail
;
14272 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14273 result
= (bool)(arg1
)->ProcessEvent(*arg2
);
14275 wxPyEndAllowThreads(__tstate
);
14276 if (PyErr_Occurred()) SWIG_fail
;
14279 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14287 static PyObject
*_wrap_EvtHandler_AddPendingEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14288 PyObject
*resultobj
;
14289 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
14290 wxEvent
*arg2
= 0 ;
14291 PyObject
* obj0
= 0 ;
14292 PyObject
* obj1
= 0 ;
14293 char *kwnames
[] = {
14294 (char *) "self",(char *) "event", NULL
14297 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EvtHandler_AddPendingEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
14298 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
14299 if (SWIG_arg_fail(1)) SWIG_fail
;
14301 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
14302 if (SWIG_arg_fail(2)) SWIG_fail
;
14303 if (arg2
== NULL
) {
14304 SWIG_null_ref("wxEvent");
14306 if (SWIG_arg_fail(2)) SWIG_fail
;
14309 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14310 (arg1
)->AddPendingEvent(*arg2
);
14312 wxPyEndAllowThreads(__tstate
);
14313 if (PyErr_Occurred()) SWIG_fail
;
14315 Py_INCREF(Py_None
); resultobj
= Py_None
;
14322 static PyObject
*_wrap_EvtHandler_ProcessPendingEvents(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14323 PyObject
*resultobj
;
14324 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
14325 PyObject
* obj0
= 0 ;
14326 char *kwnames
[] = {
14327 (char *) "self", NULL
14330 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EvtHandler_ProcessPendingEvents",kwnames
,&obj0
)) goto fail
;
14331 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
14332 if (SWIG_arg_fail(1)) SWIG_fail
;
14334 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14335 (arg1
)->ProcessPendingEvents();
14337 wxPyEndAllowThreads(__tstate
);
14338 if (PyErr_Occurred()) SWIG_fail
;
14340 Py_INCREF(Py_None
); resultobj
= Py_None
;
14347 static PyObject
*_wrap_EvtHandler_Connect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14348 PyObject
*resultobj
;
14349 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
14353 PyObject
*arg5
= (PyObject
*) 0 ;
14354 PyObject
* obj0
= 0 ;
14355 PyObject
* obj1
= 0 ;
14356 PyObject
* obj2
= 0 ;
14357 PyObject
* obj3
= 0 ;
14358 PyObject
* obj4
= 0 ;
14359 char *kwnames
[] = {
14360 (char *) "self",(char *) "id",(char *) "lastId",(char *) "eventType",(char *) "func", NULL
14363 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:EvtHandler_Connect",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
14364 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
14365 if (SWIG_arg_fail(1)) SWIG_fail
;
14367 arg2
= (int)(SWIG_As_int(obj1
));
14368 if (SWIG_arg_fail(2)) SWIG_fail
;
14371 arg3
= (int)(SWIG_As_int(obj2
));
14372 if (SWIG_arg_fail(3)) SWIG_fail
;
14375 arg4
= (int)(SWIG_As_int(obj3
));
14376 if (SWIG_arg_fail(4)) SWIG_fail
;
14380 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14381 wxEvtHandler_Connect(arg1
,arg2
,arg3
,arg4
,arg5
);
14383 wxPyEndAllowThreads(__tstate
);
14384 if (PyErr_Occurred()) SWIG_fail
;
14386 Py_INCREF(Py_None
); resultobj
= Py_None
;
14393 static PyObject
*_wrap_EvtHandler_Disconnect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14394 PyObject
*resultobj
;
14395 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
14397 int arg3
= (int) -1 ;
14398 wxEventType arg4
= (wxEventType
) wxEVT_NULL
;
14400 PyObject
* obj0
= 0 ;
14401 PyObject
* obj1
= 0 ;
14402 PyObject
* obj2
= 0 ;
14403 PyObject
* obj3
= 0 ;
14404 char *kwnames
[] = {
14405 (char *) "self",(char *) "id",(char *) "lastId",(char *) "eventType", NULL
14408 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:EvtHandler_Disconnect",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
14409 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
14410 if (SWIG_arg_fail(1)) SWIG_fail
;
14412 arg2
= (int)(SWIG_As_int(obj1
));
14413 if (SWIG_arg_fail(2)) SWIG_fail
;
14417 arg3
= (int)(SWIG_As_int(obj2
));
14418 if (SWIG_arg_fail(3)) SWIG_fail
;
14423 arg4
= (wxEventType
)(SWIG_As_int(obj3
));
14424 if (SWIG_arg_fail(4)) SWIG_fail
;
14428 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14429 result
= (bool)wxEvtHandler_Disconnect(arg1
,arg2
,arg3
,arg4
);
14431 wxPyEndAllowThreads(__tstate
);
14432 if (PyErr_Occurred()) SWIG_fail
;
14435 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14443 static PyObject
*_wrap_EvtHandler__setOORInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14444 PyObject
*resultobj
;
14445 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
14446 PyObject
*arg2
= (PyObject
*) 0 ;
14447 bool arg3
= (bool) true ;
14448 PyObject
* obj0
= 0 ;
14449 PyObject
* obj1
= 0 ;
14450 PyObject
* obj2
= 0 ;
14451 char *kwnames
[] = {
14452 (char *) "self",(char *) "_self",(char *) "incref", NULL
14455 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:EvtHandler__setOORInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14456 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
14457 if (SWIG_arg_fail(1)) SWIG_fail
;
14461 arg3
= (bool)(SWIG_As_bool(obj2
));
14462 if (SWIG_arg_fail(3)) SWIG_fail
;
14466 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14467 wxEvtHandler__setOORInfo(arg1
,arg2
,arg3
);
14469 wxPyEndAllowThreads(__tstate
);
14470 if (PyErr_Occurred()) SWIG_fail
;
14472 Py_INCREF(Py_None
); resultobj
= Py_None
;
14479 static PyObject
* EvtHandler_swigregister(PyObject
*, PyObject
*args
) {
14481 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14482 SWIG_TypeClientData(SWIGTYPE_p_wxEvtHandler
, obj
);
14484 return Py_BuildValue((char *)"");
14486 static PyObject
*_wrap_NewEventType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14487 PyObject
*resultobj
;
14488 wxEventType result
;
14489 char *kwnames
[] = {
14493 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":NewEventType",kwnames
)) goto fail
;
14495 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14496 result
= (wxEventType
)wxNewEventType();
14498 wxPyEndAllowThreads(__tstate
);
14499 if (PyErr_Occurred()) SWIG_fail
;
14502 resultobj
= SWIG_From_int((int)(result
));
14510 static PyObject
*_wrap_delete_Event(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14511 PyObject
*resultobj
;
14512 wxEvent
*arg1
= (wxEvent
*) 0 ;
14513 PyObject
* obj0
= 0 ;
14514 char *kwnames
[] = {
14515 (char *) "self", NULL
14518 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Event",kwnames
,&obj0
)) goto fail
;
14519 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
14520 if (SWIG_arg_fail(1)) SWIG_fail
;
14522 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14525 wxPyEndAllowThreads(__tstate
);
14526 if (PyErr_Occurred()) SWIG_fail
;
14528 Py_INCREF(Py_None
); resultobj
= Py_None
;
14535 static PyObject
*_wrap_Event_SetEventType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14536 PyObject
*resultobj
;
14537 wxEvent
*arg1
= (wxEvent
*) 0 ;
14539 PyObject
* obj0
= 0 ;
14540 PyObject
* obj1
= 0 ;
14541 char *kwnames
[] = {
14542 (char *) "self",(char *) "typ", NULL
14545 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Event_SetEventType",kwnames
,&obj0
,&obj1
)) goto fail
;
14546 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
14547 if (SWIG_arg_fail(1)) SWIG_fail
;
14549 arg2
= (wxEventType
)(SWIG_As_int(obj1
));
14550 if (SWIG_arg_fail(2)) SWIG_fail
;
14553 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14554 (arg1
)->SetEventType(arg2
);
14556 wxPyEndAllowThreads(__tstate
);
14557 if (PyErr_Occurred()) SWIG_fail
;
14559 Py_INCREF(Py_None
); resultobj
= Py_None
;
14566 static PyObject
*_wrap_Event_GetEventType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14567 PyObject
*resultobj
;
14568 wxEvent
*arg1
= (wxEvent
*) 0 ;
14569 wxEventType result
;
14570 PyObject
* obj0
= 0 ;
14571 char *kwnames
[] = {
14572 (char *) "self", NULL
14575 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_GetEventType",kwnames
,&obj0
)) goto fail
;
14576 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
14577 if (SWIG_arg_fail(1)) SWIG_fail
;
14579 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14580 result
= (wxEventType
)((wxEvent
const *)arg1
)->GetEventType();
14582 wxPyEndAllowThreads(__tstate
);
14583 if (PyErr_Occurred()) SWIG_fail
;
14586 resultobj
= SWIG_From_int((int)(result
));
14594 static PyObject
*_wrap_Event_GetEventObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14595 PyObject
*resultobj
;
14596 wxEvent
*arg1
= (wxEvent
*) 0 ;
14598 PyObject
* obj0
= 0 ;
14599 char *kwnames
[] = {
14600 (char *) "self", NULL
14603 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_GetEventObject",kwnames
,&obj0
)) goto fail
;
14604 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
14605 if (SWIG_arg_fail(1)) SWIG_fail
;
14607 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14608 result
= (wxObject
*)((wxEvent
const *)arg1
)->GetEventObject();
14610 wxPyEndAllowThreads(__tstate
);
14611 if (PyErr_Occurred()) SWIG_fail
;
14614 resultobj
= wxPyMake_wxObject(result
, 0);
14622 static PyObject
*_wrap_Event_SetEventObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14623 PyObject
*resultobj
;
14624 wxEvent
*arg1
= (wxEvent
*) 0 ;
14625 wxObject
*arg2
= (wxObject
*) 0 ;
14626 PyObject
* obj0
= 0 ;
14627 PyObject
* obj1
= 0 ;
14628 char *kwnames
[] = {
14629 (char *) "self",(char *) "obj", NULL
14632 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Event_SetEventObject",kwnames
,&obj0
,&obj1
)) goto fail
;
14633 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
14634 if (SWIG_arg_fail(1)) SWIG_fail
;
14635 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxObject
, SWIG_POINTER_EXCEPTION
| 0);
14636 if (SWIG_arg_fail(2)) SWIG_fail
;
14638 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14639 (arg1
)->SetEventObject(arg2
);
14641 wxPyEndAllowThreads(__tstate
);
14642 if (PyErr_Occurred()) SWIG_fail
;
14644 Py_INCREF(Py_None
); resultobj
= Py_None
;
14651 static PyObject
*_wrap_Event_GetTimestamp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14652 PyObject
*resultobj
;
14653 wxEvent
*arg1
= (wxEvent
*) 0 ;
14655 PyObject
* obj0
= 0 ;
14656 char *kwnames
[] = {
14657 (char *) "self", NULL
14660 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_GetTimestamp",kwnames
,&obj0
)) goto fail
;
14661 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
14662 if (SWIG_arg_fail(1)) SWIG_fail
;
14664 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14665 result
= (long)((wxEvent
const *)arg1
)->GetTimestamp();
14667 wxPyEndAllowThreads(__tstate
);
14668 if (PyErr_Occurred()) SWIG_fail
;
14671 resultobj
= SWIG_From_long((long)(result
));
14679 static PyObject
*_wrap_Event_SetTimestamp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14680 PyObject
*resultobj
;
14681 wxEvent
*arg1
= (wxEvent
*) 0 ;
14682 long arg2
= (long) 0 ;
14683 PyObject
* obj0
= 0 ;
14684 PyObject
* obj1
= 0 ;
14685 char *kwnames
[] = {
14686 (char *) "self",(char *) "ts", NULL
14689 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Event_SetTimestamp",kwnames
,&obj0
,&obj1
)) goto fail
;
14690 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
14691 if (SWIG_arg_fail(1)) SWIG_fail
;
14694 arg2
= (long)(SWIG_As_long(obj1
));
14695 if (SWIG_arg_fail(2)) SWIG_fail
;
14699 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14700 (arg1
)->SetTimestamp(arg2
);
14702 wxPyEndAllowThreads(__tstate
);
14703 if (PyErr_Occurred()) SWIG_fail
;
14705 Py_INCREF(Py_None
); resultobj
= Py_None
;
14712 static PyObject
*_wrap_Event_GetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14713 PyObject
*resultobj
;
14714 wxEvent
*arg1
= (wxEvent
*) 0 ;
14716 PyObject
* obj0
= 0 ;
14717 char *kwnames
[] = {
14718 (char *) "self", NULL
14721 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_GetId",kwnames
,&obj0
)) goto fail
;
14722 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
14723 if (SWIG_arg_fail(1)) SWIG_fail
;
14725 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14726 result
= (int)((wxEvent
const *)arg1
)->GetId();
14728 wxPyEndAllowThreads(__tstate
);
14729 if (PyErr_Occurred()) SWIG_fail
;
14732 resultobj
= SWIG_From_int((int)(result
));
14740 static PyObject
*_wrap_Event_SetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14741 PyObject
*resultobj
;
14742 wxEvent
*arg1
= (wxEvent
*) 0 ;
14744 PyObject
* obj0
= 0 ;
14745 PyObject
* obj1
= 0 ;
14746 char *kwnames
[] = {
14747 (char *) "self",(char *) "Id", NULL
14750 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Event_SetId",kwnames
,&obj0
,&obj1
)) goto fail
;
14751 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
14752 if (SWIG_arg_fail(1)) SWIG_fail
;
14754 arg2
= (int)(SWIG_As_int(obj1
));
14755 if (SWIG_arg_fail(2)) SWIG_fail
;
14758 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14759 (arg1
)->SetId(arg2
);
14761 wxPyEndAllowThreads(__tstate
);
14762 if (PyErr_Occurred()) SWIG_fail
;
14764 Py_INCREF(Py_None
); resultobj
= Py_None
;
14771 static PyObject
*_wrap_Event_IsCommandEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14772 PyObject
*resultobj
;
14773 wxEvent
*arg1
= (wxEvent
*) 0 ;
14775 PyObject
* obj0
= 0 ;
14776 char *kwnames
[] = {
14777 (char *) "self", NULL
14780 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_IsCommandEvent",kwnames
,&obj0
)) goto fail
;
14781 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
14782 if (SWIG_arg_fail(1)) SWIG_fail
;
14784 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14785 result
= (bool)((wxEvent
const *)arg1
)->IsCommandEvent();
14787 wxPyEndAllowThreads(__tstate
);
14788 if (PyErr_Occurred()) SWIG_fail
;
14791 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14799 static PyObject
*_wrap_Event_Skip(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14800 PyObject
*resultobj
;
14801 wxEvent
*arg1
= (wxEvent
*) 0 ;
14802 bool arg2
= (bool) true ;
14803 PyObject
* obj0
= 0 ;
14804 PyObject
* obj1
= 0 ;
14805 char *kwnames
[] = {
14806 (char *) "self",(char *) "skip", NULL
14809 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Event_Skip",kwnames
,&obj0
,&obj1
)) goto fail
;
14810 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
14811 if (SWIG_arg_fail(1)) SWIG_fail
;
14814 arg2
= (bool)(SWIG_As_bool(obj1
));
14815 if (SWIG_arg_fail(2)) SWIG_fail
;
14819 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14820 (arg1
)->Skip(arg2
);
14822 wxPyEndAllowThreads(__tstate
);
14823 if (PyErr_Occurred()) SWIG_fail
;
14825 Py_INCREF(Py_None
); resultobj
= Py_None
;
14832 static PyObject
*_wrap_Event_GetSkipped(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14833 PyObject
*resultobj
;
14834 wxEvent
*arg1
= (wxEvent
*) 0 ;
14836 PyObject
* obj0
= 0 ;
14837 char *kwnames
[] = {
14838 (char *) "self", NULL
14841 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_GetSkipped",kwnames
,&obj0
)) goto fail
;
14842 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
14843 if (SWIG_arg_fail(1)) SWIG_fail
;
14845 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14846 result
= (bool)((wxEvent
const *)arg1
)->GetSkipped();
14848 wxPyEndAllowThreads(__tstate
);
14849 if (PyErr_Occurred()) SWIG_fail
;
14852 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14860 static PyObject
*_wrap_Event_ShouldPropagate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14861 PyObject
*resultobj
;
14862 wxEvent
*arg1
= (wxEvent
*) 0 ;
14864 PyObject
* obj0
= 0 ;
14865 char *kwnames
[] = {
14866 (char *) "self", NULL
14869 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_ShouldPropagate",kwnames
,&obj0
)) goto fail
;
14870 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
14871 if (SWIG_arg_fail(1)) SWIG_fail
;
14873 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14874 result
= (bool)((wxEvent
const *)arg1
)->ShouldPropagate();
14876 wxPyEndAllowThreads(__tstate
);
14877 if (PyErr_Occurred()) SWIG_fail
;
14880 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14888 static PyObject
*_wrap_Event_StopPropagation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14889 PyObject
*resultobj
;
14890 wxEvent
*arg1
= (wxEvent
*) 0 ;
14892 PyObject
* obj0
= 0 ;
14893 char *kwnames
[] = {
14894 (char *) "self", NULL
14897 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_StopPropagation",kwnames
,&obj0
)) goto fail
;
14898 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
14899 if (SWIG_arg_fail(1)) SWIG_fail
;
14901 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14902 result
= (int)(arg1
)->StopPropagation();
14904 wxPyEndAllowThreads(__tstate
);
14905 if (PyErr_Occurred()) SWIG_fail
;
14908 resultobj
= SWIG_From_int((int)(result
));
14916 static PyObject
*_wrap_Event_ResumePropagation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14917 PyObject
*resultobj
;
14918 wxEvent
*arg1
= (wxEvent
*) 0 ;
14920 PyObject
* obj0
= 0 ;
14921 PyObject
* obj1
= 0 ;
14922 char *kwnames
[] = {
14923 (char *) "self",(char *) "propagationLevel", NULL
14926 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Event_ResumePropagation",kwnames
,&obj0
,&obj1
)) goto fail
;
14927 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
14928 if (SWIG_arg_fail(1)) SWIG_fail
;
14930 arg2
= (int)(SWIG_As_int(obj1
));
14931 if (SWIG_arg_fail(2)) SWIG_fail
;
14934 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14935 (arg1
)->ResumePropagation(arg2
);
14937 wxPyEndAllowThreads(__tstate
);
14938 if (PyErr_Occurred()) SWIG_fail
;
14940 Py_INCREF(Py_None
); resultobj
= Py_None
;
14947 static PyObject
*_wrap_Event_Clone(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14948 PyObject
*resultobj
;
14949 wxEvent
*arg1
= (wxEvent
*) 0 ;
14951 PyObject
* obj0
= 0 ;
14952 char *kwnames
[] = {
14953 (char *) "self", NULL
14956 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_Clone",kwnames
,&obj0
)) goto fail
;
14957 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
14958 if (SWIG_arg_fail(1)) SWIG_fail
;
14960 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14961 result
= (wxEvent
*)(arg1
)->Clone();
14963 wxPyEndAllowThreads(__tstate
);
14964 if (PyErr_Occurred()) SWIG_fail
;
14966 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxEvent
, 0);
14973 static PyObject
* Event_swigregister(PyObject
*, PyObject
*args
) {
14975 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14976 SWIG_TypeClientData(SWIGTYPE_p_wxEvent
, obj
);
14978 return Py_BuildValue((char *)"");
14980 static PyObject
*_wrap_new_PropagationDisabler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14981 PyObject
*resultobj
;
14982 wxEvent
*arg1
= 0 ;
14983 wxPropagationDisabler
*result
;
14984 PyObject
* obj0
= 0 ;
14985 char *kwnames
[] = {
14986 (char *) "event", NULL
14989 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PropagationDisabler",kwnames
,&obj0
)) goto fail
;
14991 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
14992 if (SWIG_arg_fail(1)) SWIG_fail
;
14993 if (arg1
== NULL
) {
14994 SWIG_null_ref("wxEvent");
14996 if (SWIG_arg_fail(1)) SWIG_fail
;
14999 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15000 result
= (wxPropagationDisabler
*)new wxPropagationDisabler(*arg1
);
15002 wxPyEndAllowThreads(__tstate
);
15003 if (PyErr_Occurred()) SWIG_fail
;
15005 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPropagationDisabler
, 1);
15012 static PyObject
*_wrap_delete_PropagationDisabler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15013 PyObject
*resultobj
;
15014 wxPropagationDisabler
*arg1
= (wxPropagationDisabler
*) 0 ;
15015 PyObject
* obj0
= 0 ;
15016 char *kwnames
[] = {
15017 (char *) "self", NULL
15020 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PropagationDisabler",kwnames
,&obj0
)) goto fail
;
15021 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPropagationDisabler
, SWIG_POINTER_EXCEPTION
| 0);
15022 if (SWIG_arg_fail(1)) SWIG_fail
;
15024 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15027 wxPyEndAllowThreads(__tstate
);
15028 if (PyErr_Occurred()) SWIG_fail
;
15030 Py_INCREF(Py_None
); resultobj
= Py_None
;
15037 static PyObject
* PropagationDisabler_swigregister(PyObject
*, PyObject
*args
) {
15039 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15040 SWIG_TypeClientData(SWIGTYPE_p_wxPropagationDisabler
, obj
);
15042 return Py_BuildValue((char *)"");
15044 static PyObject
*_wrap_new_PropagateOnce(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15045 PyObject
*resultobj
;
15046 wxEvent
*arg1
= 0 ;
15047 wxPropagateOnce
*result
;
15048 PyObject
* obj0
= 0 ;
15049 char *kwnames
[] = {
15050 (char *) "event", NULL
15053 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PropagateOnce",kwnames
,&obj0
)) goto fail
;
15055 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
15056 if (SWIG_arg_fail(1)) SWIG_fail
;
15057 if (arg1
== NULL
) {
15058 SWIG_null_ref("wxEvent");
15060 if (SWIG_arg_fail(1)) SWIG_fail
;
15063 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15064 result
= (wxPropagateOnce
*)new wxPropagateOnce(*arg1
);
15066 wxPyEndAllowThreads(__tstate
);
15067 if (PyErr_Occurred()) SWIG_fail
;
15069 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPropagateOnce
, 1);
15076 static PyObject
*_wrap_delete_PropagateOnce(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15077 PyObject
*resultobj
;
15078 wxPropagateOnce
*arg1
= (wxPropagateOnce
*) 0 ;
15079 PyObject
* obj0
= 0 ;
15080 char *kwnames
[] = {
15081 (char *) "self", NULL
15084 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PropagateOnce",kwnames
,&obj0
)) goto fail
;
15085 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPropagateOnce
, SWIG_POINTER_EXCEPTION
| 0);
15086 if (SWIG_arg_fail(1)) SWIG_fail
;
15088 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15091 wxPyEndAllowThreads(__tstate
);
15092 if (PyErr_Occurred()) SWIG_fail
;
15094 Py_INCREF(Py_None
); resultobj
= Py_None
;
15101 static PyObject
* PropagateOnce_swigregister(PyObject
*, PyObject
*args
) {
15103 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15104 SWIG_TypeClientData(SWIGTYPE_p_wxPropagateOnce
, obj
);
15106 return Py_BuildValue((char *)"");
15108 static PyObject
*_wrap_new_CommandEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15109 PyObject
*resultobj
;
15110 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
15111 int arg2
= (int) 0 ;
15112 wxCommandEvent
*result
;
15113 PyObject
* obj0
= 0 ;
15114 PyObject
* obj1
= 0 ;
15115 char *kwnames
[] = {
15116 (char *) "commandType",(char *) "winid", NULL
15119 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_CommandEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
15122 arg1
= (wxEventType
)(SWIG_As_int(obj0
));
15123 if (SWIG_arg_fail(1)) SWIG_fail
;
15128 arg2
= (int)(SWIG_As_int(obj1
));
15129 if (SWIG_arg_fail(2)) SWIG_fail
;
15133 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15134 result
= (wxCommandEvent
*)new wxCommandEvent(arg1
,arg2
);
15136 wxPyEndAllowThreads(__tstate
);
15137 if (PyErr_Occurred()) SWIG_fail
;
15139 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCommandEvent
, 1);
15146 static PyObject
*_wrap_CommandEvent_GetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15147 PyObject
*resultobj
;
15148 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
15150 PyObject
* obj0
= 0 ;
15151 char *kwnames
[] = {
15152 (char *) "self", NULL
15155 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CommandEvent_GetSelection",kwnames
,&obj0
)) goto fail
;
15156 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCommandEvent
, SWIG_POINTER_EXCEPTION
| 0);
15157 if (SWIG_arg_fail(1)) SWIG_fail
;
15159 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15160 result
= (int)((wxCommandEvent
const *)arg1
)->GetSelection();
15162 wxPyEndAllowThreads(__tstate
);
15163 if (PyErr_Occurred()) SWIG_fail
;
15166 resultobj
= SWIG_From_int((int)(result
));
15174 static PyObject
*_wrap_CommandEvent_SetString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15175 PyObject
*resultobj
;
15176 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
15177 wxString
*arg2
= 0 ;
15178 bool temp2
= false ;
15179 PyObject
* obj0
= 0 ;
15180 PyObject
* obj1
= 0 ;
15181 char *kwnames
[] = {
15182 (char *) "self",(char *) "s", NULL
15185 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CommandEvent_SetString",kwnames
,&obj0
,&obj1
)) goto fail
;
15186 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCommandEvent
, SWIG_POINTER_EXCEPTION
| 0);
15187 if (SWIG_arg_fail(1)) SWIG_fail
;
15189 arg2
= wxString_in_helper(obj1
);
15190 if (arg2
== NULL
) SWIG_fail
;
15194 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15195 (arg1
)->SetString((wxString
const &)*arg2
);
15197 wxPyEndAllowThreads(__tstate
);
15198 if (PyErr_Occurred()) SWIG_fail
;
15200 Py_INCREF(Py_None
); resultobj
= Py_None
;
15215 static PyObject
*_wrap_CommandEvent_GetString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15216 PyObject
*resultobj
;
15217 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
15219 PyObject
* obj0
= 0 ;
15220 char *kwnames
[] = {
15221 (char *) "self", NULL
15224 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CommandEvent_GetString",kwnames
,&obj0
)) goto fail
;
15225 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCommandEvent
, SWIG_POINTER_EXCEPTION
| 0);
15226 if (SWIG_arg_fail(1)) SWIG_fail
;
15228 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15229 result
= ((wxCommandEvent
const *)arg1
)->GetString();
15231 wxPyEndAllowThreads(__tstate
);
15232 if (PyErr_Occurred()) SWIG_fail
;
15236 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
15238 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
15247 static PyObject
*_wrap_CommandEvent_IsChecked(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15248 PyObject
*resultobj
;
15249 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
15251 PyObject
* obj0
= 0 ;
15252 char *kwnames
[] = {
15253 (char *) "self", NULL
15256 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CommandEvent_IsChecked",kwnames
,&obj0
)) goto fail
;
15257 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCommandEvent
, SWIG_POINTER_EXCEPTION
| 0);
15258 if (SWIG_arg_fail(1)) SWIG_fail
;
15260 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15261 result
= (bool)((wxCommandEvent
const *)arg1
)->IsChecked();
15263 wxPyEndAllowThreads(__tstate
);
15264 if (PyErr_Occurred()) SWIG_fail
;
15267 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15275 static PyObject
*_wrap_CommandEvent_IsSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15276 PyObject
*resultobj
;
15277 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
15279 PyObject
* obj0
= 0 ;
15280 char *kwnames
[] = {
15281 (char *) "self", NULL
15284 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CommandEvent_IsSelection",kwnames
,&obj0
)) goto fail
;
15285 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCommandEvent
, SWIG_POINTER_EXCEPTION
| 0);
15286 if (SWIG_arg_fail(1)) SWIG_fail
;
15288 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15289 result
= (bool)((wxCommandEvent
const *)arg1
)->IsSelection();
15291 wxPyEndAllowThreads(__tstate
);
15292 if (PyErr_Occurred()) SWIG_fail
;
15295 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15303 static PyObject
*_wrap_CommandEvent_SetExtraLong(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15304 PyObject
*resultobj
;
15305 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
15307 PyObject
* obj0
= 0 ;
15308 PyObject
* obj1
= 0 ;
15309 char *kwnames
[] = {
15310 (char *) "self",(char *) "extraLong", NULL
15313 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CommandEvent_SetExtraLong",kwnames
,&obj0
,&obj1
)) goto fail
;
15314 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCommandEvent
, SWIG_POINTER_EXCEPTION
| 0);
15315 if (SWIG_arg_fail(1)) SWIG_fail
;
15317 arg2
= (long)(SWIG_As_long(obj1
));
15318 if (SWIG_arg_fail(2)) SWIG_fail
;
15321 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15322 (arg1
)->SetExtraLong(arg2
);
15324 wxPyEndAllowThreads(__tstate
);
15325 if (PyErr_Occurred()) SWIG_fail
;
15327 Py_INCREF(Py_None
); resultobj
= Py_None
;
15334 static PyObject
*_wrap_CommandEvent_GetExtraLong(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15335 PyObject
*resultobj
;
15336 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
15338 PyObject
* obj0
= 0 ;
15339 char *kwnames
[] = {
15340 (char *) "self", NULL
15343 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CommandEvent_GetExtraLong",kwnames
,&obj0
)) goto fail
;
15344 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCommandEvent
, SWIG_POINTER_EXCEPTION
| 0);
15345 if (SWIG_arg_fail(1)) SWIG_fail
;
15347 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15348 result
= (long)((wxCommandEvent
const *)arg1
)->GetExtraLong();
15350 wxPyEndAllowThreads(__tstate
);
15351 if (PyErr_Occurred()) SWIG_fail
;
15354 resultobj
= SWIG_From_long((long)(result
));
15362 static PyObject
*_wrap_CommandEvent_SetInt(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15363 PyObject
*resultobj
;
15364 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
15366 PyObject
* obj0
= 0 ;
15367 PyObject
* obj1
= 0 ;
15368 char *kwnames
[] = {
15369 (char *) "self",(char *) "i", NULL
15372 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CommandEvent_SetInt",kwnames
,&obj0
,&obj1
)) goto fail
;
15373 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCommandEvent
, SWIG_POINTER_EXCEPTION
| 0);
15374 if (SWIG_arg_fail(1)) SWIG_fail
;
15376 arg2
= (int)(SWIG_As_int(obj1
));
15377 if (SWIG_arg_fail(2)) SWIG_fail
;
15380 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15381 (arg1
)->SetInt(arg2
);
15383 wxPyEndAllowThreads(__tstate
);
15384 if (PyErr_Occurred()) SWIG_fail
;
15386 Py_INCREF(Py_None
); resultobj
= Py_None
;
15393 static PyObject
*_wrap_CommandEvent_GetInt(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15394 PyObject
*resultobj
;
15395 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
15397 PyObject
* obj0
= 0 ;
15398 char *kwnames
[] = {
15399 (char *) "self", NULL
15402 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CommandEvent_GetInt",kwnames
,&obj0
)) goto fail
;
15403 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCommandEvent
, SWIG_POINTER_EXCEPTION
| 0);
15404 if (SWIG_arg_fail(1)) SWIG_fail
;
15406 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15407 result
= (long)((wxCommandEvent
const *)arg1
)->GetInt();
15409 wxPyEndAllowThreads(__tstate
);
15410 if (PyErr_Occurred()) SWIG_fail
;
15413 resultobj
= SWIG_From_long((long)(result
));
15421 static PyObject
*_wrap_CommandEvent_Clone(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15422 PyObject
*resultobj
;
15423 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
15425 PyObject
* obj0
= 0 ;
15426 char *kwnames
[] = {
15427 (char *) "self", NULL
15430 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CommandEvent_Clone",kwnames
,&obj0
)) goto fail
;
15431 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCommandEvent
, SWIG_POINTER_EXCEPTION
| 0);
15432 if (SWIG_arg_fail(1)) SWIG_fail
;
15434 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15435 result
= (wxEvent
*)((wxCommandEvent
const *)arg1
)->Clone();
15437 wxPyEndAllowThreads(__tstate
);
15438 if (PyErr_Occurred()) SWIG_fail
;
15440 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxEvent
, 0);
15447 static PyObject
* CommandEvent_swigregister(PyObject
*, PyObject
*args
) {
15449 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15450 SWIG_TypeClientData(SWIGTYPE_p_wxCommandEvent
, obj
);
15452 return Py_BuildValue((char *)"");
15454 static PyObject
*_wrap_new_NotifyEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15455 PyObject
*resultobj
;
15456 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
15457 int arg2
= (int) 0 ;
15458 wxNotifyEvent
*result
;
15459 PyObject
* obj0
= 0 ;
15460 PyObject
* obj1
= 0 ;
15461 char *kwnames
[] = {
15462 (char *) "commandType",(char *) "winid", NULL
15465 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_NotifyEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
15468 arg1
= (wxEventType
)(SWIG_As_int(obj0
));
15469 if (SWIG_arg_fail(1)) SWIG_fail
;
15474 arg2
= (int)(SWIG_As_int(obj1
));
15475 if (SWIG_arg_fail(2)) SWIG_fail
;
15479 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15480 result
= (wxNotifyEvent
*)new wxNotifyEvent(arg1
,arg2
);
15482 wxPyEndAllowThreads(__tstate
);
15483 if (PyErr_Occurred()) SWIG_fail
;
15485 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNotifyEvent
, 1);
15492 static PyObject
*_wrap_NotifyEvent_Veto(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15493 PyObject
*resultobj
;
15494 wxNotifyEvent
*arg1
= (wxNotifyEvent
*) 0 ;
15495 PyObject
* obj0
= 0 ;
15496 char *kwnames
[] = {
15497 (char *) "self", NULL
15500 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NotifyEvent_Veto",kwnames
,&obj0
)) goto fail
;
15501 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNotifyEvent
, SWIG_POINTER_EXCEPTION
| 0);
15502 if (SWIG_arg_fail(1)) SWIG_fail
;
15504 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15507 wxPyEndAllowThreads(__tstate
);
15508 if (PyErr_Occurred()) SWIG_fail
;
15510 Py_INCREF(Py_None
); resultobj
= Py_None
;
15517 static PyObject
*_wrap_NotifyEvent_Allow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15518 PyObject
*resultobj
;
15519 wxNotifyEvent
*arg1
= (wxNotifyEvent
*) 0 ;
15520 PyObject
* obj0
= 0 ;
15521 char *kwnames
[] = {
15522 (char *) "self", NULL
15525 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NotifyEvent_Allow",kwnames
,&obj0
)) goto fail
;
15526 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNotifyEvent
, SWIG_POINTER_EXCEPTION
| 0);
15527 if (SWIG_arg_fail(1)) SWIG_fail
;
15529 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15532 wxPyEndAllowThreads(__tstate
);
15533 if (PyErr_Occurred()) SWIG_fail
;
15535 Py_INCREF(Py_None
); resultobj
= Py_None
;
15542 static PyObject
*_wrap_NotifyEvent_IsAllowed(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15543 PyObject
*resultobj
;
15544 wxNotifyEvent
*arg1
= (wxNotifyEvent
*) 0 ;
15546 PyObject
* obj0
= 0 ;
15547 char *kwnames
[] = {
15548 (char *) "self", NULL
15551 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NotifyEvent_IsAllowed",kwnames
,&obj0
)) goto fail
;
15552 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNotifyEvent
, SWIG_POINTER_EXCEPTION
| 0);
15553 if (SWIG_arg_fail(1)) SWIG_fail
;
15555 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15556 result
= (bool)(arg1
)->IsAllowed();
15558 wxPyEndAllowThreads(__tstate
);
15559 if (PyErr_Occurred()) SWIG_fail
;
15562 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15570 static PyObject
* NotifyEvent_swigregister(PyObject
*, PyObject
*args
) {
15572 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15573 SWIG_TypeClientData(SWIGTYPE_p_wxNotifyEvent
, obj
);
15575 return Py_BuildValue((char *)"");
15577 static PyObject
*_wrap_new_ScrollEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15578 PyObject
*resultobj
;
15579 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
15580 int arg2
= (int) 0 ;
15581 int arg3
= (int) 0 ;
15582 int arg4
= (int) 0 ;
15583 wxScrollEvent
*result
;
15584 PyObject
* obj0
= 0 ;
15585 PyObject
* obj1
= 0 ;
15586 PyObject
* obj2
= 0 ;
15587 PyObject
* obj3
= 0 ;
15588 char *kwnames
[] = {
15589 (char *) "commandType",(char *) "winid",(char *) "pos",(char *) "orient", NULL
15592 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_ScrollEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
15595 arg1
= (wxEventType
)(SWIG_As_int(obj0
));
15596 if (SWIG_arg_fail(1)) SWIG_fail
;
15601 arg2
= (int)(SWIG_As_int(obj1
));
15602 if (SWIG_arg_fail(2)) SWIG_fail
;
15607 arg3
= (int)(SWIG_As_int(obj2
));
15608 if (SWIG_arg_fail(3)) SWIG_fail
;
15613 arg4
= (int)(SWIG_As_int(obj3
));
15614 if (SWIG_arg_fail(4)) SWIG_fail
;
15618 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15619 result
= (wxScrollEvent
*)new wxScrollEvent(arg1
,arg2
,arg3
,arg4
);
15621 wxPyEndAllowThreads(__tstate
);
15622 if (PyErr_Occurred()) SWIG_fail
;
15624 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxScrollEvent
, 1);
15631 static PyObject
*_wrap_ScrollEvent_GetOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15632 PyObject
*resultobj
;
15633 wxScrollEvent
*arg1
= (wxScrollEvent
*) 0 ;
15635 PyObject
* obj0
= 0 ;
15636 char *kwnames
[] = {
15637 (char *) "self", NULL
15640 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollEvent_GetOrientation",kwnames
,&obj0
)) goto fail
;
15641 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrollEvent
, SWIG_POINTER_EXCEPTION
| 0);
15642 if (SWIG_arg_fail(1)) SWIG_fail
;
15644 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15645 result
= (int)((wxScrollEvent
const *)arg1
)->GetOrientation();
15647 wxPyEndAllowThreads(__tstate
);
15648 if (PyErr_Occurred()) SWIG_fail
;
15651 resultobj
= SWIG_From_int((int)(result
));
15659 static PyObject
*_wrap_ScrollEvent_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15660 PyObject
*resultobj
;
15661 wxScrollEvent
*arg1
= (wxScrollEvent
*) 0 ;
15663 PyObject
* obj0
= 0 ;
15664 char *kwnames
[] = {
15665 (char *) "self", NULL
15668 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
15669 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrollEvent
, SWIG_POINTER_EXCEPTION
| 0);
15670 if (SWIG_arg_fail(1)) SWIG_fail
;
15672 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15673 result
= (int)((wxScrollEvent
const *)arg1
)->GetPosition();
15675 wxPyEndAllowThreads(__tstate
);
15676 if (PyErr_Occurred()) SWIG_fail
;
15679 resultobj
= SWIG_From_int((int)(result
));
15687 static PyObject
*_wrap_ScrollEvent_SetOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15688 PyObject
*resultobj
;
15689 wxScrollEvent
*arg1
= (wxScrollEvent
*) 0 ;
15691 PyObject
* obj0
= 0 ;
15692 PyObject
* obj1
= 0 ;
15693 char *kwnames
[] = {
15694 (char *) "self",(char *) "orient", NULL
15697 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrollEvent_SetOrientation",kwnames
,&obj0
,&obj1
)) goto fail
;
15698 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrollEvent
, SWIG_POINTER_EXCEPTION
| 0);
15699 if (SWIG_arg_fail(1)) SWIG_fail
;
15701 arg2
= (int)(SWIG_As_int(obj1
));
15702 if (SWIG_arg_fail(2)) SWIG_fail
;
15705 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15706 (arg1
)->SetOrientation(arg2
);
15708 wxPyEndAllowThreads(__tstate
);
15709 if (PyErr_Occurred()) SWIG_fail
;
15711 Py_INCREF(Py_None
); resultobj
= Py_None
;
15718 static PyObject
*_wrap_ScrollEvent_SetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15719 PyObject
*resultobj
;
15720 wxScrollEvent
*arg1
= (wxScrollEvent
*) 0 ;
15722 PyObject
* obj0
= 0 ;
15723 PyObject
* obj1
= 0 ;
15724 char *kwnames
[] = {
15725 (char *) "self",(char *) "pos", NULL
15728 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrollEvent_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
15729 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrollEvent
, SWIG_POINTER_EXCEPTION
| 0);
15730 if (SWIG_arg_fail(1)) SWIG_fail
;
15732 arg2
= (int)(SWIG_As_int(obj1
));
15733 if (SWIG_arg_fail(2)) SWIG_fail
;
15736 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15737 (arg1
)->SetPosition(arg2
);
15739 wxPyEndAllowThreads(__tstate
);
15740 if (PyErr_Occurred()) SWIG_fail
;
15742 Py_INCREF(Py_None
); resultobj
= Py_None
;
15749 static PyObject
* ScrollEvent_swigregister(PyObject
*, PyObject
*args
) {
15751 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15752 SWIG_TypeClientData(SWIGTYPE_p_wxScrollEvent
, obj
);
15754 return Py_BuildValue((char *)"");
15756 static PyObject
*_wrap_new_ScrollWinEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15757 PyObject
*resultobj
;
15758 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
15759 int arg2
= (int) 0 ;
15760 int arg3
= (int) 0 ;
15761 wxScrollWinEvent
*result
;
15762 PyObject
* obj0
= 0 ;
15763 PyObject
* obj1
= 0 ;
15764 PyObject
* obj2
= 0 ;
15765 char *kwnames
[] = {
15766 (char *) "commandType",(char *) "pos",(char *) "orient", NULL
15769 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_ScrollWinEvent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15772 arg1
= (wxEventType
)(SWIG_As_int(obj0
));
15773 if (SWIG_arg_fail(1)) SWIG_fail
;
15778 arg2
= (int)(SWIG_As_int(obj1
));
15779 if (SWIG_arg_fail(2)) SWIG_fail
;
15784 arg3
= (int)(SWIG_As_int(obj2
));
15785 if (SWIG_arg_fail(3)) SWIG_fail
;
15789 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15790 result
= (wxScrollWinEvent
*)new wxScrollWinEvent(arg1
,arg2
,arg3
);
15792 wxPyEndAllowThreads(__tstate
);
15793 if (PyErr_Occurred()) SWIG_fail
;
15795 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxScrollWinEvent
, 1);
15802 static PyObject
*_wrap_ScrollWinEvent_GetOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15803 PyObject
*resultobj
;
15804 wxScrollWinEvent
*arg1
= (wxScrollWinEvent
*) 0 ;
15806 PyObject
* obj0
= 0 ;
15807 char *kwnames
[] = {
15808 (char *) "self", NULL
15811 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollWinEvent_GetOrientation",kwnames
,&obj0
)) goto fail
;
15812 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrollWinEvent
, SWIG_POINTER_EXCEPTION
| 0);
15813 if (SWIG_arg_fail(1)) SWIG_fail
;
15815 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15816 result
= (int)((wxScrollWinEvent
const *)arg1
)->GetOrientation();
15818 wxPyEndAllowThreads(__tstate
);
15819 if (PyErr_Occurred()) SWIG_fail
;
15822 resultobj
= SWIG_From_int((int)(result
));
15830 static PyObject
*_wrap_ScrollWinEvent_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15831 PyObject
*resultobj
;
15832 wxScrollWinEvent
*arg1
= (wxScrollWinEvent
*) 0 ;
15834 PyObject
* obj0
= 0 ;
15835 char *kwnames
[] = {
15836 (char *) "self", NULL
15839 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollWinEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
15840 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrollWinEvent
, SWIG_POINTER_EXCEPTION
| 0);
15841 if (SWIG_arg_fail(1)) SWIG_fail
;
15843 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15844 result
= (int)((wxScrollWinEvent
const *)arg1
)->GetPosition();
15846 wxPyEndAllowThreads(__tstate
);
15847 if (PyErr_Occurred()) SWIG_fail
;
15850 resultobj
= SWIG_From_int((int)(result
));
15858 static PyObject
*_wrap_ScrollWinEvent_SetOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15859 PyObject
*resultobj
;
15860 wxScrollWinEvent
*arg1
= (wxScrollWinEvent
*) 0 ;
15862 PyObject
* obj0
= 0 ;
15863 PyObject
* obj1
= 0 ;
15864 char *kwnames
[] = {
15865 (char *) "self",(char *) "orient", NULL
15868 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrollWinEvent_SetOrientation",kwnames
,&obj0
,&obj1
)) goto fail
;
15869 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrollWinEvent
, SWIG_POINTER_EXCEPTION
| 0);
15870 if (SWIG_arg_fail(1)) SWIG_fail
;
15872 arg2
= (int)(SWIG_As_int(obj1
));
15873 if (SWIG_arg_fail(2)) SWIG_fail
;
15876 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15877 (arg1
)->SetOrientation(arg2
);
15879 wxPyEndAllowThreads(__tstate
);
15880 if (PyErr_Occurred()) SWIG_fail
;
15882 Py_INCREF(Py_None
); resultobj
= Py_None
;
15889 static PyObject
*_wrap_ScrollWinEvent_SetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15890 PyObject
*resultobj
;
15891 wxScrollWinEvent
*arg1
= (wxScrollWinEvent
*) 0 ;
15893 PyObject
* obj0
= 0 ;
15894 PyObject
* obj1
= 0 ;
15895 char *kwnames
[] = {
15896 (char *) "self",(char *) "pos", NULL
15899 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrollWinEvent_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
15900 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrollWinEvent
, SWIG_POINTER_EXCEPTION
| 0);
15901 if (SWIG_arg_fail(1)) SWIG_fail
;
15903 arg2
= (int)(SWIG_As_int(obj1
));
15904 if (SWIG_arg_fail(2)) SWIG_fail
;
15907 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15908 (arg1
)->SetPosition(arg2
);
15910 wxPyEndAllowThreads(__tstate
);
15911 if (PyErr_Occurred()) SWIG_fail
;
15913 Py_INCREF(Py_None
); resultobj
= Py_None
;
15920 static PyObject
* ScrollWinEvent_swigregister(PyObject
*, PyObject
*args
) {
15922 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15923 SWIG_TypeClientData(SWIGTYPE_p_wxScrollWinEvent
, obj
);
15925 return Py_BuildValue((char *)"");
15927 static PyObject
*_wrap_new_MouseEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15928 PyObject
*resultobj
;
15929 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
15930 wxMouseEvent
*result
;
15931 PyObject
* obj0
= 0 ;
15932 char *kwnames
[] = {
15933 (char *) "mouseType", NULL
15936 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_MouseEvent",kwnames
,&obj0
)) goto fail
;
15939 arg1
= (wxEventType
)(SWIG_As_int(obj0
));
15940 if (SWIG_arg_fail(1)) SWIG_fail
;
15944 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15945 result
= (wxMouseEvent
*)new wxMouseEvent(arg1
);
15947 wxPyEndAllowThreads(__tstate
);
15948 if (PyErr_Occurred()) SWIG_fail
;
15951 resultobj
= wxPyMake_wxObject(result
, 1);
15959 static PyObject
*_wrap_MouseEvent_IsButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15960 PyObject
*resultobj
;
15961 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15963 PyObject
* obj0
= 0 ;
15964 char *kwnames
[] = {
15965 (char *) "self", NULL
15968 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_IsButton",kwnames
,&obj0
)) goto fail
;
15969 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
15970 if (SWIG_arg_fail(1)) SWIG_fail
;
15972 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15973 result
= (bool)((wxMouseEvent
const *)arg1
)->IsButton();
15975 wxPyEndAllowThreads(__tstate
);
15976 if (PyErr_Occurred()) SWIG_fail
;
15979 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15987 static PyObject
*_wrap_MouseEvent_ButtonDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15988 PyObject
*resultobj
;
15989 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15990 int arg2
= (int) wxMOUSE_BTN_ANY
;
15992 PyObject
* obj0
= 0 ;
15993 PyObject
* obj1
= 0 ;
15994 char *kwnames
[] = {
15995 (char *) "self",(char *) "but", NULL
15998 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:MouseEvent_ButtonDown",kwnames
,&obj0
,&obj1
)) goto fail
;
15999 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16000 if (SWIG_arg_fail(1)) SWIG_fail
;
16003 arg2
= (int)(SWIG_As_int(obj1
));
16004 if (SWIG_arg_fail(2)) SWIG_fail
;
16008 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16009 result
= (bool)((wxMouseEvent
const *)arg1
)->ButtonDown(arg2
);
16011 wxPyEndAllowThreads(__tstate
);
16012 if (PyErr_Occurred()) SWIG_fail
;
16015 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16023 static PyObject
*_wrap_MouseEvent_ButtonDClick(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16024 PyObject
*resultobj
;
16025 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16026 int arg2
= (int) wxMOUSE_BTN_ANY
;
16028 PyObject
* obj0
= 0 ;
16029 PyObject
* obj1
= 0 ;
16030 char *kwnames
[] = {
16031 (char *) "self",(char *) "but", NULL
16034 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:MouseEvent_ButtonDClick",kwnames
,&obj0
,&obj1
)) goto fail
;
16035 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16036 if (SWIG_arg_fail(1)) SWIG_fail
;
16039 arg2
= (int)(SWIG_As_int(obj1
));
16040 if (SWIG_arg_fail(2)) SWIG_fail
;
16044 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16045 result
= (bool)((wxMouseEvent
const *)arg1
)->ButtonDClick(arg2
);
16047 wxPyEndAllowThreads(__tstate
);
16048 if (PyErr_Occurred()) SWIG_fail
;
16051 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16059 static PyObject
*_wrap_MouseEvent_ButtonUp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16060 PyObject
*resultobj
;
16061 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16062 int arg2
= (int) wxMOUSE_BTN_ANY
;
16064 PyObject
* obj0
= 0 ;
16065 PyObject
* obj1
= 0 ;
16066 char *kwnames
[] = {
16067 (char *) "self",(char *) "but", NULL
16070 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:MouseEvent_ButtonUp",kwnames
,&obj0
,&obj1
)) goto fail
;
16071 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16072 if (SWIG_arg_fail(1)) SWIG_fail
;
16075 arg2
= (int)(SWIG_As_int(obj1
));
16076 if (SWIG_arg_fail(2)) SWIG_fail
;
16080 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16081 result
= (bool)((wxMouseEvent
const *)arg1
)->ButtonUp(arg2
);
16083 wxPyEndAllowThreads(__tstate
);
16084 if (PyErr_Occurred()) SWIG_fail
;
16087 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16095 static PyObject
*_wrap_MouseEvent_Button(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16096 PyObject
*resultobj
;
16097 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16100 PyObject
* obj0
= 0 ;
16101 PyObject
* obj1
= 0 ;
16102 char *kwnames
[] = {
16103 (char *) "self",(char *) "but", NULL
16106 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_Button",kwnames
,&obj0
,&obj1
)) goto fail
;
16107 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16108 if (SWIG_arg_fail(1)) SWIG_fail
;
16110 arg2
= (int)(SWIG_As_int(obj1
));
16111 if (SWIG_arg_fail(2)) SWIG_fail
;
16114 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16115 result
= (bool)((wxMouseEvent
const *)arg1
)->Button(arg2
);
16117 wxPyEndAllowThreads(__tstate
);
16118 if (PyErr_Occurred()) SWIG_fail
;
16121 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16129 static PyObject
*_wrap_MouseEvent_ButtonIsDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16130 PyObject
*resultobj
;
16131 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16134 PyObject
* obj0
= 0 ;
16135 PyObject
* obj1
= 0 ;
16136 char *kwnames
[] = {
16137 (char *) "self",(char *) "but", NULL
16140 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_ButtonIsDown",kwnames
,&obj0
,&obj1
)) goto fail
;
16141 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16142 if (SWIG_arg_fail(1)) SWIG_fail
;
16144 arg2
= (int)(SWIG_As_int(obj1
));
16145 if (SWIG_arg_fail(2)) SWIG_fail
;
16148 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16149 result
= (bool)((wxMouseEvent
const *)arg1
)->ButtonIsDown(arg2
);
16151 wxPyEndAllowThreads(__tstate
);
16152 if (PyErr_Occurred()) SWIG_fail
;
16155 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16163 static PyObject
*_wrap_MouseEvent_GetButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16164 PyObject
*resultobj
;
16165 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16167 PyObject
* obj0
= 0 ;
16168 char *kwnames
[] = {
16169 (char *) "self", NULL
16172 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetButton",kwnames
,&obj0
)) goto fail
;
16173 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16174 if (SWIG_arg_fail(1)) SWIG_fail
;
16176 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16177 result
= (int)((wxMouseEvent
const *)arg1
)->GetButton();
16179 wxPyEndAllowThreads(__tstate
);
16180 if (PyErr_Occurred()) SWIG_fail
;
16183 resultobj
= SWIG_From_int((int)(result
));
16191 static PyObject
*_wrap_MouseEvent_ControlDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16192 PyObject
*resultobj
;
16193 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16195 PyObject
* obj0
= 0 ;
16196 char *kwnames
[] = {
16197 (char *) "self", NULL
16200 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_ControlDown",kwnames
,&obj0
)) goto fail
;
16201 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16202 if (SWIG_arg_fail(1)) SWIG_fail
;
16204 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16205 result
= (bool)((wxMouseEvent
const *)arg1
)->ControlDown();
16207 wxPyEndAllowThreads(__tstate
);
16208 if (PyErr_Occurred()) SWIG_fail
;
16211 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16219 static PyObject
*_wrap_MouseEvent_MetaDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16220 PyObject
*resultobj
;
16221 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16223 PyObject
* obj0
= 0 ;
16224 char *kwnames
[] = {
16225 (char *) "self", NULL
16228 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_MetaDown",kwnames
,&obj0
)) goto fail
;
16229 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16230 if (SWIG_arg_fail(1)) SWIG_fail
;
16232 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16233 result
= (bool)((wxMouseEvent
const *)arg1
)->MetaDown();
16235 wxPyEndAllowThreads(__tstate
);
16236 if (PyErr_Occurred()) SWIG_fail
;
16239 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16247 static PyObject
*_wrap_MouseEvent_AltDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16248 PyObject
*resultobj
;
16249 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16251 PyObject
* obj0
= 0 ;
16252 char *kwnames
[] = {
16253 (char *) "self", NULL
16256 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_AltDown",kwnames
,&obj0
)) goto fail
;
16257 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16258 if (SWIG_arg_fail(1)) SWIG_fail
;
16260 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16261 result
= (bool)((wxMouseEvent
const *)arg1
)->AltDown();
16263 wxPyEndAllowThreads(__tstate
);
16264 if (PyErr_Occurred()) SWIG_fail
;
16267 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16275 static PyObject
*_wrap_MouseEvent_ShiftDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16276 PyObject
*resultobj
;
16277 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16279 PyObject
* obj0
= 0 ;
16280 char *kwnames
[] = {
16281 (char *) "self", NULL
16284 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_ShiftDown",kwnames
,&obj0
)) goto fail
;
16285 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16286 if (SWIG_arg_fail(1)) SWIG_fail
;
16288 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16289 result
= (bool)((wxMouseEvent
const *)arg1
)->ShiftDown();
16291 wxPyEndAllowThreads(__tstate
);
16292 if (PyErr_Occurred()) SWIG_fail
;
16295 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16303 static PyObject
*_wrap_MouseEvent_CmdDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16304 PyObject
*resultobj
;
16305 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16307 PyObject
* obj0
= 0 ;
16308 char *kwnames
[] = {
16309 (char *) "self", NULL
16312 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_CmdDown",kwnames
,&obj0
)) goto fail
;
16313 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16314 if (SWIG_arg_fail(1)) SWIG_fail
;
16316 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16317 result
= (bool)((wxMouseEvent
const *)arg1
)->CmdDown();
16319 wxPyEndAllowThreads(__tstate
);
16320 if (PyErr_Occurred()) SWIG_fail
;
16323 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16331 static PyObject
*_wrap_MouseEvent_LeftDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16332 PyObject
*resultobj
;
16333 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16335 PyObject
* obj0
= 0 ;
16336 char *kwnames
[] = {
16337 (char *) "self", NULL
16340 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_LeftDown",kwnames
,&obj0
)) goto fail
;
16341 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16342 if (SWIG_arg_fail(1)) SWIG_fail
;
16344 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16345 result
= (bool)((wxMouseEvent
const *)arg1
)->LeftDown();
16347 wxPyEndAllowThreads(__tstate
);
16348 if (PyErr_Occurred()) SWIG_fail
;
16351 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16359 static PyObject
*_wrap_MouseEvent_MiddleDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16360 PyObject
*resultobj
;
16361 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16363 PyObject
* obj0
= 0 ;
16364 char *kwnames
[] = {
16365 (char *) "self", NULL
16368 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_MiddleDown",kwnames
,&obj0
)) goto fail
;
16369 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16370 if (SWIG_arg_fail(1)) SWIG_fail
;
16372 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16373 result
= (bool)((wxMouseEvent
const *)arg1
)->MiddleDown();
16375 wxPyEndAllowThreads(__tstate
);
16376 if (PyErr_Occurred()) SWIG_fail
;
16379 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16387 static PyObject
*_wrap_MouseEvent_RightDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16388 PyObject
*resultobj
;
16389 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16391 PyObject
* obj0
= 0 ;
16392 char *kwnames
[] = {
16393 (char *) "self", NULL
16396 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_RightDown",kwnames
,&obj0
)) goto fail
;
16397 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16398 if (SWIG_arg_fail(1)) SWIG_fail
;
16400 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16401 result
= (bool)((wxMouseEvent
const *)arg1
)->RightDown();
16403 wxPyEndAllowThreads(__tstate
);
16404 if (PyErr_Occurred()) SWIG_fail
;
16407 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16415 static PyObject
*_wrap_MouseEvent_LeftUp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16416 PyObject
*resultobj
;
16417 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16419 PyObject
* obj0
= 0 ;
16420 char *kwnames
[] = {
16421 (char *) "self", NULL
16424 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_LeftUp",kwnames
,&obj0
)) goto fail
;
16425 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16426 if (SWIG_arg_fail(1)) SWIG_fail
;
16428 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16429 result
= (bool)((wxMouseEvent
const *)arg1
)->LeftUp();
16431 wxPyEndAllowThreads(__tstate
);
16432 if (PyErr_Occurred()) SWIG_fail
;
16435 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16443 static PyObject
*_wrap_MouseEvent_MiddleUp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16444 PyObject
*resultobj
;
16445 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16447 PyObject
* obj0
= 0 ;
16448 char *kwnames
[] = {
16449 (char *) "self", NULL
16452 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_MiddleUp",kwnames
,&obj0
)) goto fail
;
16453 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16454 if (SWIG_arg_fail(1)) SWIG_fail
;
16456 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16457 result
= (bool)((wxMouseEvent
const *)arg1
)->MiddleUp();
16459 wxPyEndAllowThreads(__tstate
);
16460 if (PyErr_Occurred()) SWIG_fail
;
16463 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16471 static PyObject
*_wrap_MouseEvent_RightUp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16472 PyObject
*resultobj
;
16473 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16475 PyObject
* obj0
= 0 ;
16476 char *kwnames
[] = {
16477 (char *) "self", NULL
16480 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_RightUp",kwnames
,&obj0
)) goto fail
;
16481 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16482 if (SWIG_arg_fail(1)) SWIG_fail
;
16484 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16485 result
= (bool)((wxMouseEvent
const *)arg1
)->RightUp();
16487 wxPyEndAllowThreads(__tstate
);
16488 if (PyErr_Occurred()) SWIG_fail
;
16491 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16499 static PyObject
*_wrap_MouseEvent_LeftDClick(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16500 PyObject
*resultobj
;
16501 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16503 PyObject
* obj0
= 0 ;
16504 char *kwnames
[] = {
16505 (char *) "self", NULL
16508 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_LeftDClick",kwnames
,&obj0
)) goto fail
;
16509 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16510 if (SWIG_arg_fail(1)) SWIG_fail
;
16512 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16513 result
= (bool)((wxMouseEvent
const *)arg1
)->LeftDClick();
16515 wxPyEndAllowThreads(__tstate
);
16516 if (PyErr_Occurred()) SWIG_fail
;
16519 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16527 static PyObject
*_wrap_MouseEvent_MiddleDClick(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16528 PyObject
*resultobj
;
16529 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16531 PyObject
* obj0
= 0 ;
16532 char *kwnames
[] = {
16533 (char *) "self", NULL
16536 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_MiddleDClick",kwnames
,&obj0
)) goto fail
;
16537 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16538 if (SWIG_arg_fail(1)) SWIG_fail
;
16540 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16541 result
= (bool)((wxMouseEvent
const *)arg1
)->MiddleDClick();
16543 wxPyEndAllowThreads(__tstate
);
16544 if (PyErr_Occurred()) SWIG_fail
;
16547 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16555 static PyObject
*_wrap_MouseEvent_RightDClick(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16556 PyObject
*resultobj
;
16557 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16559 PyObject
* obj0
= 0 ;
16560 char *kwnames
[] = {
16561 (char *) "self", NULL
16564 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_RightDClick",kwnames
,&obj0
)) goto fail
;
16565 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16566 if (SWIG_arg_fail(1)) SWIG_fail
;
16568 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16569 result
= (bool)((wxMouseEvent
const *)arg1
)->RightDClick();
16571 wxPyEndAllowThreads(__tstate
);
16572 if (PyErr_Occurred()) SWIG_fail
;
16575 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16583 static PyObject
*_wrap_MouseEvent_LeftIsDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16584 PyObject
*resultobj
;
16585 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16587 PyObject
* obj0
= 0 ;
16588 char *kwnames
[] = {
16589 (char *) "self", NULL
16592 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_LeftIsDown",kwnames
,&obj0
)) goto fail
;
16593 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16594 if (SWIG_arg_fail(1)) SWIG_fail
;
16596 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16597 result
= (bool)(arg1
)->LeftIsDown();
16599 wxPyEndAllowThreads(__tstate
);
16600 if (PyErr_Occurred()) SWIG_fail
;
16603 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16611 static PyObject
*_wrap_MouseEvent_MiddleIsDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16612 PyObject
*resultobj
;
16613 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16615 PyObject
* obj0
= 0 ;
16616 char *kwnames
[] = {
16617 (char *) "self", NULL
16620 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_MiddleIsDown",kwnames
,&obj0
)) goto fail
;
16621 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16622 if (SWIG_arg_fail(1)) SWIG_fail
;
16624 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16625 result
= (bool)(arg1
)->MiddleIsDown();
16627 wxPyEndAllowThreads(__tstate
);
16628 if (PyErr_Occurred()) SWIG_fail
;
16631 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16639 static PyObject
*_wrap_MouseEvent_RightIsDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16640 PyObject
*resultobj
;
16641 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16643 PyObject
* obj0
= 0 ;
16644 char *kwnames
[] = {
16645 (char *) "self", NULL
16648 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_RightIsDown",kwnames
,&obj0
)) goto fail
;
16649 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16650 if (SWIG_arg_fail(1)) SWIG_fail
;
16652 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16653 result
= (bool)(arg1
)->RightIsDown();
16655 wxPyEndAllowThreads(__tstate
);
16656 if (PyErr_Occurred()) SWIG_fail
;
16659 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16667 static PyObject
*_wrap_MouseEvent_Dragging(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16668 PyObject
*resultobj
;
16669 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16671 PyObject
* obj0
= 0 ;
16672 char *kwnames
[] = {
16673 (char *) "self", NULL
16676 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_Dragging",kwnames
,&obj0
)) goto fail
;
16677 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16678 if (SWIG_arg_fail(1)) SWIG_fail
;
16680 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16681 result
= (bool)((wxMouseEvent
const *)arg1
)->Dragging();
16683 wxPyEndAllowThreads(__tstate
);
16684 if (PyErr_Occurred()) SWIG_fail
;
16687 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16695 static PyObject
*_wrap_MouseEvent_Moving(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16696 PyObject
*resultobj
;
16697 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16699 PyObject
* obj0
= 0 ;
16700 char *kwnames
[] = {
16701 (char *) "self", NULL
16704 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_Moving",kwnames
,&obj0
)) goto fail
;
16705 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16706 if (SWIG_arg_fail(1)) SWIG_fail
;
16708 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16709 result
= (bool)((wxMouseEvent
const *)arg1
)->Moving();
16711 wxPyEndAllowThreads(__tstate
);
16712 if (PyErr_Occurred()) SWIG_fail
;
16715 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16723 static PyObject
*_wrap_MouseEvent_Entering(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16724 PyObject
*resultobj
;
16725 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16727 PyObject
* obj0
= 0 ;
16728 char *kwnames
[] = {
16729 (char *) "self", NULL
16732 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_Entering",kwnames
,&obj0
)) goto fail
;
16733 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16734 if (SWIG_arg_fail(1)) SWIG_fail
;
16736 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16737 result
= (bool)((wxMouseEvent
const *)arg1
)->Entering();
16739 wxPyEndAllowThreads(__tstate
);
16740 if (PyErr_Occurred()) SWIG_fail
;
16743 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16751 static PyObject
*_wrap_MouseEvent_Leaving(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16752 PyObject
*resultobj
;
16753 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16755 PyObject
* obj0
= 0 ;
16756 char *kwnames
[] = {
16757 (char *) "self", NULL
16760 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_Leaving",kwnames
,&obj0
)) goto fail
;
16761 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16762 if (SWIG_arg_fail(1)) SWIG_fail
;
16764 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16765 result
= (bool)((wxMouseEvent
const *)arg1
)->Leaving();
16767 wxPyEndAllowThreads(__tstate
);
16768 if (PyErr_Occurred()) SWIG_fail
;
16771 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16779 static PyObject
*_wrap_MouseEvent_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16780 PyObject
*resultobj
;
16781 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16783 PyObject
* obj0
= 0 ;
16784 char *kwnames
[] = {
16785 (char *) "self", NULL
16788 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
16789 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16790 if (SWIG_arg_fail(1)) SWIG_fail
;
16792 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16793 result
= (arg1
)->GetPosition();
16795 wxPyEndAllowThreads(__tstate
);
16796 if (PyErr_Occurred()) SWIG_fail
;
16799 wxPoint
* resultptr
;
16800 resultptr
= new wxPoint((wxPoint
&)(result
));
16801 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
16809 static PyObject
*_wrap_MouseEvent_GetPositionTuple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16810 PyObject
*resultobj
;
16811 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16812 long *arg2
= (long *) 0 ;
16813 long *arg3
= (long *) 0 ;
16818 PyObject
* obj0
= 0 ;
16819 char *kwnames
[] = {
16820 (char *) "self", NULL
16823 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
16824 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
16825 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetPositionTuple",kwnames
,&obj0
)) goto fail
;
16826 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16827 if (SWIG_arg_fail(1)) SWIG_fail
;
16829 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16830 (arg1
)->GetPosition(arg2
,arg3
);
16832 wxPyEndAllowThreads(__tstate
);
16833 if (PyErr_Occurred()) SWIG_fail
;
16835 Py_INCREF(Py_None
); resultobj
= Py_None
;
16836 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
16837 SWIG_From_long((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_long
, 0)));
16838 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
16839 SWIG_From_long((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, 0)));
16846 static PyObject
*_wrap_MouseEvent_GetLogicalPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16847 PyObject
*resultobj
;
16848 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16851 PyObject
* obj0
= 0 ;
16852 PyObject
* obj1
= 0 ;
16853 char *kwnames
[] = {
16854 (char *) "self",(char *) "dc", NULL
16857 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_GetLogicalPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
16858 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16859 if (SWIG_arg_fail(1)) SWIG_fail
;
16861 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
16862 if (SWIG_arg_fail(2)) SWIG_fail
;
16863 if (arg2
== NULL
) {
16864 SWIG_null_ref("wxDC");
16866 if (SWIG_arg_fail(2)) SWIG_fail
;
16869 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16870 result
= ((wxMouseEvent
const *)arg1
)->GetLogicalPosition((wxDC
const &)*arg2
);
16872 wxPyEndAllowThreads(__tstate
);
16873 if (PyErr_Occurred()) SWIG_fail
;
16876 wxPoint
* resultptr
;
16877 resultptr
= new wxPoint((wxPoint
&)(result
));
16878 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
16886 static PyObject
*_wrap_MouseEvent_GetX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16887 PyObject
*resultobj
;
16888 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16890 PyObject
* obj0
= 0 ;
16891 char *kwnames
[] = {
16892 (char *) "self", NULL
16895 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetX",kwnames
,&obj0
)) goto fail
;
16896 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16897 if (SWIG_arg_fail(1)) SWIG_fail
;
16899 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16900 result
= (int)((wxMouseEvent
const *)arg1
)->GetX();
16902 wxPyEndAllowThreads(__tstate
);
16903 if (PyErr_Occurred()) SWIG_fail
;
16906 resultobj
= SWIG_From_int((int)(result
));
16914 static PyObject
*_wrap_MouseEvent_GetY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16915 PyObject
*resultobj
;
16916 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16918 PyObject
* obj0
= 0 ;
16919 char *kwnames
[] = {
16920 (char *) "self", NULL
16923 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetY",kwnames
,&obj0
)) goto fail
;
16924 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16925 if (SWIG_arg_fail(1)) SWIG_fail
;
16927 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16928 result
= (int)((wxMouseEvent
const *)arg1
)->GetY();
16930 wxPyEndAllowThreads(__tstate
);
16931 if (PyErr_Occurred()) SWIG_fail
;
16934 resultobj
= SWIG_From_int((int)(result
));
16942 static PyObject
*_wrap_MouseEvent_GetWheelRotation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16943 PyObject
*resultobj
;
16944 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16946 PyObject
* obj0
= 0 ;
16947 char *kwnames
[] = {
16948 (char *) "self", NULL
16951 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetWheelRotation",kwnames
,&obj0
)) goto fail
;
16952 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16953 if (SWIG_arg_fail(1)) SWIG_fail
;
16955 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16956 result
= (int)((wxMouseEvent
const *)arg1
)->GetWheelRotation();
16958 wxPyEndAllowThreads(__tstate
);
16959 if (PyErr_Occurred()) SWIG_fail
;
16962 resultobj
= SWIG_From_int((int)(result
));
16970 static PyObject
*_wrap_MouseEvent_GetWheelDelta(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16971 PyObject
*resultobj
;
16972 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16974 PyObject
* obj0
= 0 ;
16975 char *kwnames
[] = {
16976 (char *) "self", NULL
16979 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetWheelDelta",kwnames
,&obj0
)) goto fail
;
16980 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16981 if (SWIG_arg_fail(1)) SWIG_fail
;
16983 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16984 result
= (int)((wxMouseEvent
const *)arg1
)->GetWheelDelta();
16986 wxPyEndAllowThreads(__tstate
);
16987 if (PyErr_Occurred()) SWIG_fail
;
16990 resultobj
= SWIG_From_int((int)(result
));
16998 static PyObject
*_wrap_MouseEvent_GetLinesPerAction(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16999 PyObject
*resultobj
;
17000 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17002 PyObject
* obj0
= 0 ;
17003 char *kwnames
[] = {
17004 (char *) "self", NULL
17007 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetLinesPerAction",kwnames
,&obj0
)) goto fail
;
17008 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17009 if (SWIG_arg_fail(1)) SWIG_fail
;
17011 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17012 result
= (int)((wxMouseEvent
const *)arg1
)->GetLinesPerAction();
17014 wxPyEndAllowThreads(__tstate
);
17015 if (PyErr_Occurred()) SWIG_fail
;
17018 resultobj
= SWIG_From_int((int)(result
));
17026 static PyObject
*_wrap_MouseEvent_IsPageScroll(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17027 PyObject
*resultobj
;
17028 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17030 PyObject
* obj0
= 0 ;
17031 char *kwnames
[] = {
17032 (char *) "self", NULL
17035 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_IsPageScroll",kwnames
,&obj0
)) goto fail
;
17036 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17037 if (SWIG_arg_fail(1)) SWIG_fail
;
17039 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17040 result
= (bool)((wxMouseEvent
const *)arg1
)->IsPageScroll();
17042 wxPyEndAllowThreads(__tstate
);
17043 if (PyErr_Occurred()) SWIG_fail
;
17046 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17054 static PyObject
*_wrap_MouseEvent_m_x_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17055 PyObject
*resultobj
;
17056 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17058 PyObject
* obj0
= 0 ;
17059 PyObject
* obj1
= 0 ;
17060 char *kwnames
[] = {
17061 (char *) "self",(char *) "m_x", NULL
17064 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_x_set",kwnames
,&obj0
,&obj1
)) goto fail
;
17065 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17066 if (SWIG_arg_fail(1)) SWIG_fail
;
17068 arg2
= (int)(SWIG_As_int(obj1
));
17069 if (SWIG_arg_fail(2)) SWIG_fail
;
17071 if (arg1
) (arg1
)->m_x
= arg2
;
17073 Py_INCREF(Py_None
); resultobj
= Py_None
;
17080 static PyObject
*_wrap_MouseEvent_m_x_get(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_m_x_get",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
;
17092 result
= (int) ((arg1
)->m_x
);
17095 resultobj
= SWIG_From_int((int)(result
));
17103 static PyObject
*_wrap_MouseEvent_m_y_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17104 PyObject
*resultobj
;
17105 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17107 PyObject
* obj0
= 0 ;
17108 PyObject
* obj1
= 0 ;
17109 char *kwnames
[] = {
17110 (char *) "self",(char *) "m_y", NULL
17113 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_y_set",kwnames
,&obj0
,&obj1
)) goto fail
;
17114 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17115 if (SWIG_arg_fail(1)) SWIG_fail
;
17117 arg2
= (int)(SWIG_As_int(obj1
));
17118 if (SWIG_arg_fail(2)) SWIG_fail
;
17120 if (arg1
) (arg1
)->m_y
= arg2
;
17122 Py_INCREF(Py_None
); resultobj
= Py_None
;
17129 static PyObject
*_wrap_MouseEvent_m_y_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17130 PyObject
*resultobj
;
17131 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17133 PyObject
* obj0
= 0 ;
17134 char *kwnames
[] = {
17135 (char *) "self", NULL
17138 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_y_get",kwnames
,&obj0
)) goto fail
;
17139 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17140 if (SWIG_arg_fail(1)) SWIG_fail
;
17141 result
= (int) ((arg1
)->m_y
);
17144 resultobj
= SWIG_From_int((int)(result
));
17152 static PyObject
*_wrap_MouseEvent_m_leftDown_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17153 PyObject
*resultobj
;
17154 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17156 PyObject
* obj0
= 0 ;
17157 PyObject
* obj1
= 0 ;
17158 char *kwnames
[] = {
17159 (char *) "self",(char *) "m_leftDown", NULL
17162 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_leftDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
17163 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17164 if (SWIG_arg_fail(1)) SWIG_fail
;
17166 arg2
= (bool)(SWIG_As_bool(obj1
));
17167 if (SWIG_arg_fail(2)) SWIG_fail
;
17169 if (arg1
) (arg1
)->m_leftDown
= arg2
;
17171 Py_INCREF(Py_None
); resultobj
= Py_None
;
17178 static PyObject
*_wrap_MouseEvent_m_leftDown_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17179 PyObject
*resultobj
;
17180 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17182 PyObject
* obj0
= 0 ;
17183 char *kwnames
[] = {
17184 (char *) "self", NULL
17187 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_leftDown_get",kwnames
,&obj0
)) goto fail
;
17188 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17189 if (SWIG_arg_fail(1)) SWIG_fail
;
17190 result
= (bool) ((arg1
)->m_leftDown
);
17193 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17201 static PyObject
*_wrap_MouseEvent_m_middleDown_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17202 PyObject
*resultobj
;
17203 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17205 PyObject
* obj0
= 0 ;
17206 PyObject
* obj1
= 0 ;
17207 char *kwnames
[] = {
17208 (char *) "self",(char *) "m_middleDown", NULL
17211 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_middleDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
17212 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17213 if (SWIG_arg_fail(1)) SWIG_fail
;
17215 arg2
= (bool)(SWIG_As_bool(obj1
));
17216 if (SWIG_arg_fail(2)) SWIG_fail
;
17218 if (arg1
) (arg1
)->m_middleDown
= arg2
;
17220 Py_INCREF(Py_None
); resultobj
= Py_None
;
17227 static PyObject
*_wrap_MouseEvent_m_middleDown_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17228 PyObject
*resultobj
;
17229 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17231 PyObject
* obj0
= 0 ;
17232 char *kwnames
[] = {
17233 (char *) "self", NULL
17236 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_middleDown_get",kwnames
,&obj0
)) goto fail
;
17237 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17238 if (SWIG_arg_fail(1)) SWIG_fail
;
17239 result
= (bool) ((arg1
)->m_middleDown
);
17242 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17250 static PyObject
*_wrap_MouseEvent_m_rightDown_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17251 PyObject
*resultobj
;
17252 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17254 PyObject
* obj0
= 0 ;
17255 PyObject
* obj1
= 0 ;
17256 char *kwnames
[] = {
17257 (char *) "self",(char *) "m_rightDown", NULL
17260 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_rightDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
17261 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17262 if (SWIG_arg_fail(1)) SWIG_fail
;
17264 arg2
= (bool)(SWIG_As_bool(obj1
));
17265 if (SWIG_arg_fail(2)) SWIG_fail
;
17267 if (arg1
) (arg1
)->m_rightDown
= arg2
;
17269 Py_INCREF(Py_None
); resultobj
= Py_None
;
17276 static PyObject
*_wrap_MouseEvent_m_rightDown_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17277 PyObject
*resultobj
;
17278 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17280 PyObject
* obj0
= 0 ;
17281 char *kwnames
[] = {
17282 (char *) "self", NULL
17285 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_rightDown_get",kwnames
,&obj0
)) goto fail
;
17286 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17287 if (SWIG_arg_fail(1)) SWIG_fail
;
17288 result
= (bool) ((arg1
)->m_rightDown
);
17291 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17299 static PyObject
*_wrap_MouseEvent_m_controlDown_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17300 PyObject
*resultobj
;
17301 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17303 PyObject
* obj0
= 0 ;
17304 PyObject
* obj1
= 0 ;
17305 char *kwnames
[] = {
17306 (char *) "self",(char *) "m_controlDown", NULL
17309 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_controlDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
17310 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17311 if (SWIG_arg_fail(1)) SWIG_fail
;
17313 arg2
= (bool)(SWIG_As_bool(obj1
));
17314 if (SWIG_arg_fail(2)) SWIG_fail
;
17316 if (arg1
) (arg1
)->m_controlDown
= arg2
;
17318 Py_INCREF(Py_None
); resultobj
= Py_None
;
17325 static PyObject
*_wrap_MouseEvent_m_controlDown_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17326 PyObject
*resultobj
;
17327 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17329 PyObject
* obj0
= 0 ;
17330 char *kwnames
[] = {
17331 (char *) "self", NULL
17334 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_controlDown_get",kwnames
,&obj0
)) goto fail
;
17335 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17336 if (SWIG_arg_fail(1)) SWIG_fail
;
17337 result
= (bool) ((arg1
)->m_controlDown
);
17340 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17348 static PyObject
*_wrap_MouseEvent_m_shiftDown_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17349 PyObject
*resultobj
;
17350 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17352 PyObject
* obj0
= 0 ;
17353 PyObject
* obj1
= 0 ;
17354 char *kwnames
[] = {
17355 (char *) "self",(char *) "m_shiftDown", NULL
17358 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_shiftDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
17359 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17360 if (SWIG_arg_fail(1)) SWIG_fail
;
17362 arg2
= (bool)(SWIG_As_bool(obj1
));
17363 if (SWIG_arg_fail(2)) SWIG_fail
;
17365 if (arg1
) (arg1
)->m_shiftDown
= arg2
;
17367 Py_INCREF(Py_None
); resultobj
= Py_None
;
17374 static PyObject
*_wrap_MouseEvent_m_shiftDown_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17375 PyObject
*resultobj
;
17376 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17378 PyObject
* obj0
= 0 ;
17379 char *kwnames
[] = {
17380 (char *) "self", NULL
17383 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_shiftDown_get",kwnames
,&obj0
)) goto fail
;
17384 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17385 if (SWIG_arg_fail(1)) SWIG_fail
;
17386 result
= (bool) ((arg1
)->m_shiftDown
);
17389 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17397 static PyObject
*_wrap_MouseEvent_m_altDown_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17398 PyObject
*resultobj
;
17399 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17401 PyObject
* obj0
= 0 ;
17402 PyObject
* obj1
= 0 ;
17403 char *kwnames
[] = {
17404 (char *) "self",(char *) "m_altDown", NULL
17407 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_altDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
17408 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17409 if (SWIG_arg_fail(1)) SWIG_fail
;
17411 arg2
= (bool)(SWIG_As_bool(obj1
));
17412 if (SWIG_arg_fail(2)) SWIG_fail
;
17414 if (arg1
) (arg1
)->m_altDown
= arg2
;
17416 Py_INCREF(Py_None
); resultobj
= Py_None
;
17423 static PyObject
*_wrap_MouseEvent_m_altDown_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17424 PyObject
*resultobj
;
17425 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17427 PyObject
* obj0
= 0 ;
17428 char *kwnames
[] = {
17429 (char *) "self", NULL
17432 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_altDown_get",kwnames
,&obj0
)) goto fail
;
17433 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17434 if (SWIG_arg_fail(1)) SWIG_fail
;
17435 result
= (bool) ((arg1
)->m_altDown
);
17438 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17446 static PyObject
*_wrap_MouseEvent_m_metaDown_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17447 PyObject
*resultobj
;
17448 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17450 PyObject
* obj0
= 0 ;
17451 PyObject
* obj1
= 0 ;
17452 char *kwnames
[] = {
17453 (char *) "self",(char *) "m_metaDown", NULL
17456 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_metaDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
17457 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17458 if (SWIG_arg_fail(1)) SWIG_fail
;
17460 arg2
= (bool)(SWIG_As_bool(obj1
));
17461 if (SWIG_arg_fail(2)) SWIG_fail
;
17463 if (arg1
) (arg1
)->m_metaDown
= arg2
;
17465 Py_INCREF(Py_None
); resultobj
= Py_None
;
17472 static PyObject
*_wrap_MouseEvent_m_metaDown_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17473 PyObject
*resultobj
;
17474 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17476 PyObject
* obj0
= 0 ;
17477 char *kwnames
[] = {
17478 (char *) "self", NULL
17481 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_metaDown_get",kwnames
,&obj0
)) goto fail
;
17482 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17483 if (SWIG_arg_fail(1)) SWIG_fail
;
17484 result
= (bool) ((arg1
)->m_metaDown
);
17487 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17495 static PyObject
*_wrap_MouseEvent_m_wheelRotation_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17496 PyObject
*resultobj
;
17497 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17499 PyObject
* obj0
= 0 ;
17500 PyObject
* obj1
= 0 ;
17501 char *kwnames
[] = {
17502 (char *) "self",(char *) "m_wheelRotation", NULL
17505 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_wheelRotation_set",kwnames
,&obj0
,&obj1
)) goto fail
;
17506 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17507 if (SWIG_arg_fail(1)) SWIG_fail
;
17509 arg2
= (int)(SWIG_As_int(obj1
));
17510 if (SWIG_arg_fail(2)) SWIG_fail
;
17512 if (arg1
) (arg1
)->m_wheelRotation
= arg2
;
17514 Py_INCREF(Py_None
); resultobj
= Py_None
;
17521 static PyObject
*_wrap_MouseEvent_m_wheelRotation_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17522 PyObject
*resultobj
;
17523 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17525 PyObject
* obj0
= 0 ;
17526 char *kwnames
[] = {
17527 (char *) "self", NULL
17530 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_wheelRotation_get",kwnames
,&obj0
)) goto fail
;
17531 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17532 if (SWIG_arg_fail(1)) SWIG_fail
;
17533 result
= (int) ((arg1
)->m_wheelRotation
);
17536 resultobj
= SWIG_From_int((int)(result
));
17544 static PyObject
*_wrap_MouseEvent_m_wheelDelta_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17545 PyObject
*resultobj
;
17546 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17548 PyObject
* obj0
= 0 ;
17549 PyObject
* obj1
= 0 ;
17550 char *kwnames
[] = {
17551 (char *) "self",(char *) "m_wheelDelta", NULL
17554 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_wheelDelta_set",kwnames
,&obj0
,&obj1
)) goto fail
;
17555 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17556 if (SWIG_arg_fail(1)) SWIG_fail
;
17558 arg2
= (int)(SWIG_As_int(obj1
));
17559 if (SWIG_arg_fail(2)) SWIG_fail
;
17561 if (arg1
) (arg1
)->m_wheelDelta
= arg2
;
17563 Py_INCREF(Py_None
); resultobj
= Py_None
;
17570 static PyObject
*_wrap_MouseEvent_m_wheelDelta_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17571 PyObject
*resultobj
;
17572 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17574 PyObject
* obj0
= 0 ;
17575 char *kwnames
[] = {
17576 (char *) "self", NULL
17579 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_wheelDelta_get",kwnames
,&obj0
)) goto fail
;
17580 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17581 if (SWIG_arg_fail(1)) SWIG_fail
;
17582 result
= (int) ((arg1
)->m_wheelDelta
);
17585 resultobj
= SWIG_From_int((int)(result
));
17593 static PyObject
*_wrap_MouseEvent_m_linesPerAction_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17594 PyObject
*resultobj
;
17595 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17597 PyObject
* obj0
= 0 ;
17598 PyObject
* obj1
= 0 ;
17599 char *kwnames
[] = {
17600 (char *) "self",(char *) "m_linesPerAction", NULL
17603 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_linesPerAction_set",kwnames
,&obj0
,&obj1
)) goto fail
;
17604 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17605 if (SWIG_arg_fail(1)) SWIG_fail
;
17607 arg2
= (int)(SWIG_As_int(obj1
));
17608 if (SWIG_arg_fail(2)) SWIG_fail
;
17610 if (arg1
) (arg1
)->m_linesPerAction
= arg2
;
17612 Py_INCREF(Py_None
); resultobj
= Py_None
;
17619 static PyObject
*_wrap_MouseEvent_m_linesPerAction_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17620 PyObject
*resultobj
;
17621 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17623 PyObject
* obj0
= 0 ;
17624 char *kwnames
[] = {
17625 (char *) "self", NULL
17628 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_linesPerAction_get",kwnames
,&obj0
)) goto fail
;
17629 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17630 if (SWIG_arg_fail(1)) SWIG_fail
;
17631 result
= (int) ((arg1
)->m_linesPerAction
);
17634 resultobj
= SWIG_From_int((int)(result
));
17642 static PyObject
* MouseEvent_swigregister(PyObject
*, PyObject
*args
) {
17644 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17645 SWIG_TypeClientData(SWIGTYPE_p_wxMouseEvent
, obj
);
17647 return Py_BuildValue((char *)"");
17649 static PyObject
*_wrap_new_SetCursorEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17650 PyObject
*resultobj
;
17651 int arg1
= (int) 0 ;
17652 int arg2
= (int) 0 ;
17653 wxSetCursorEvent
*result
;
17654 PyObject
* obj0
= 0 ;
17655 PyObject
* obj1
= 0 ;
17656 char *kwnames
[] = {
17657 (char *) "x",(char *) "y", NULL
17660 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_SetCursorEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
17663 arg1
= (int)(SWIG_As_int(obj0
));
17664 if (SWIG_arg_fail(1)) SWIG_fail
;
17669 arg2
= (int)(SWIG_As_int(obj1
));
17670 if (SWIG_arg_fail(2)) SWIG_fail
;
17674 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17675 result
= (wxSetCursorEvent
*)new wxSetCursorEvent(arg1
,arg2
);
17677 wxPyEndAllowThreads(__tstate
);
17678 if (PyErr_Occurred()) SWIG_fail
;
17680 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSetCursorEvent
, 1);
17687 static PyObject
*_wrap_SetCursorEvent_GetX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17688 PyObject
*resultobj
;
17689 wxSetCursorEvent
*arg1
= (wxSetCursorEvent
*) 0 ;
17691 PyObject
* obj0
= 0 ;
17692 char *kwnames
[] = {
17693 (char *) "self", NULL
17696 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SetCursorEvent_GetX",kwnames
,&obj0
)) goto fail
;
17697 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSetCursorEvent
, SWIG_POINTER_EXCEPTION
| 0);
17698 if (SWIG_arg_fail(1)) SWIG_fail
;
17700 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17701 result
= (int)((wxSetCursorEvent
const *)arg1
)->GetX();
17703 wxPyEndAllowThreads(__tstate
);
17704 if (PyErr_Occurred()) SWIG_fail
;
17707 resultobj
= SWIG_From_int((int)(result
));
17715 static PyObject
*_wrap_SetCursorEvent_GetY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17716 PyObject
*resultobj
;
17717 wxSetCursorEvent
*arg1
= (wxSetCursorEvent
*) 0 ;
17719 PyObject
* obj0
= 0 ;
17720 char *kwnames
[] = {
17721 (char *) "self", NULL
17724 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SetCursorEvent_GetY",kwnames
,&obj0
)) goto fail
;
17725 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSetCursorEvent
, SWIG_POINTER_EXCEPTION
| 0);
17726 if (SWIG_arg_fail(1)) SWIG_fail
;
17728 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17729 result
= (int)((wxSetCursorEvent
const *)arg1
)->GetY();
17731 wxPyEndAllowThreads(__tstate
);
17732 if (PyErr_Occurred()) SWIG_fail
;
17735 resultobj
= SWIG_From_int((int)(result
));
17743 static PyObject
*_wrap_SetCursorEvent_SetCursor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17744 PyObject
*resultobj
;
17745 wxSetCursorEvent
*arg1
= (wxSetCursorEvent
*) 0 ;
17746 wxCursor
*arg2
= 0 ;
17747 PyObject
* obj0
= 0 ;
17748 PyObject
* obj1
= 0 ;
17749 char *kwnames
[] = {
17750 (char *) "self",(char *) "cursor", NULL
17753 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SetCursorEvent_SetCursor",kwnames
,&obj0
,&obj1
)) goto fail
;
17754 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSetCursorEvent
, SWIG_POINTER_EXCEPTION
| 0);
17755 if (SWIG_arg_fail(1)) SWIG_fail
;
17757 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxCursor
, SWIG_POINTER_EXCEPTION
| 0);
17758 if (SWIG_arg_fail(2)) SWIG_fail
;
17759 if (arg2
== NULL
) {
17760 SWIG_null_ref("wxCursor");
17762 if (SWIG_arg_fail(2)) SWIG_fail
;
17765 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17766 (arg1
)->SetCursor((wxCursor
const &)*arg2
);
17768 wxPyEndAllowThreads(__tstate
);
17769 if (PyErr_Occurred()) SWIG_fail
;
17771 Py_INCREF(Py_None
); resultobj
= Py_None
;
17778 static PyObject
*_wrap_SetCursorEvent_GetCursor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17779 PyObject
*resultobj
;
17780 wxSetCursorEvent
*arg1
= (wxSetCursorEvent
*) 0 ;
17782 PyObject
* obj0
= 0 ;
17783 char *kwnames
[] = {
17784 (char *) "self", NULL
17787 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SetCursorEvent_GetCursor",kwnames
,&obj0
)) goto fail
;
17788 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSetCursorEvent
, SWIG_POINTER_EXCEPTION
| 0);
17789 if (SWIG_arg_fail(1)) SWIG_fail
;
17791 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17793 wxCursor
const &_result_ref
= ((wxSetCursorEvent
const *)arg1
)->GetCursor();
17794 result
= (wxCursor
*) &_result_ref
;
17797 wxPyEndAllowThreads(__tstate
);
17798 if (PyErr_Occurred()) SWIG_fail
;
17801 wxCursor
* resultptr
= new wxCursor(*result
);
17802 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxCursor
, 1);
17810 static PyObject
*_wrap_SetCursorEvent_HasCursor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17811 PyObject
*resultobj
;
17812 wxSetCursorEvent
*arg1
= (wxSetCursorEvent
*) 0 ;
17814 PyObject
* obj0
= 0 ;
17815 char *kwnames
[] = {
17816 (char *) "self", NULL
17819 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SetCursorEvent_HasCursor",kwnames
,&obj0
)) goto fail
;
17820 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSetCursorEvent
, SWIG_POINTER_EXCEPTION
| 0);
17821 if (SWIG_arg_fail(1)) SWIG_fail
;
17823 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17824 result
= (bool)((wxSetCursorEvent
const *)arg1
)->HasCursor();
17826 wxPyEndAllowThreads(__tstate
);
17827 if (PyErr_Occurred()) SWIG_fail
;
17830 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17838 static PyObject
* SetCursorEvent_swigregister(PyObject
*, PyObject
*args
) {
17840 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17841 SWIG_TypeClientData(SWIGTYPE_p_wxSetCursorEvent
, obj
);
17843 return Py_BuildValue((char *)"");
17845 static PyObject
*_wrap_new_KeyEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17846 PyObject
*resultobj
;
17847 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
17848 wxKeyEvent
*result
;
17849 PyObject
* obj0
= 0 ;
17850 char *kwnames
[] = {
17851 (char *) "keyType", NULL
17854 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_KeyEvent",kwnames
,&obj0
)) goto fail
;
17857 arg1
= (wxEventType
)(SWIG_As_int(obj0
));
17858 if (SWIG_arg_fail(1)) SWIG_fail
;
17862 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17863 result
= (wxKeyEvent
*)new wxKeyEvent(arg1
);
17865 wxPyEndAllowThreads(__tstate
);
17866 if (PyErr_Occurred()) SWIG_fail
;
17868 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxKeyEvent
, 1);
17875 static PyObject
*_wrap_KeyEvent_ControlDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17876 PyObject
*resultobj
;
17877 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
17879 PyObject
* obj0
= 0 ;
17880 char *kwnames
[] = {
17881 (char *) "self", NULL
17884 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_ControlDown",kwnames
,&obj0
)) goto fail
;
17885 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
17886 if (SWIG_arg_fail(1)) SWIG_fail
;
17888 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17889 result
= (bool)((wxKeyEvent
const *)arg1
)->ControlDown();
17891 wxPyEndAllowThreads(__tstate
);
17892 if (PyErr_Occurred()) SWIG_fail
;
17895 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17903 static PyObject
*_wrap_KeyEvent_MetaDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17904 PyObject
*resultobj
;
17905 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
17907 PyObject
* obj0
= 0 ;
17908 char *kwnames
[] = {
17909 (char *) "self", NULL
17912 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_MetaDown",kwnames
,&obj0
)) goto fail
;
17913 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
17914 if (SWIG_arg_fail(1)) SWIG_fail
;
17916 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17917 result
= (bool)((wxKeyEvent
const *)arg1
)->MetaDown();
17919 wxPyEndAllowThreads(__tstate
);
17920 if (PyErr_Occurred()) SWIG_fail
;
17923 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17931 static PyObject
*_wrap_KeyEvent_AltDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17932 PyObject
*resultobj
;
17933 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
17935 PyObject
* obj0
= 0 ;
17936 char *kwnames
[] = {
17937 (char *) "self", NULL
17940 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_AltDown",kwnames
,&obj0
)) goto fail
;
17941 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
17942 if (SWIG_arg_fail(1)) SWIG_fail
;
17944 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17945 result
= (bool)((wxKeyEvent
const *)arg1
)->AltDown();
17947 wxPyEndAllowThreads(__tstate
);
17948 if (PyErr_Occurred()) SWIG_fail
;
17951 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17959 static PyObject
*_wrap_KeyEvent_ShiftDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17960 PyObject
*resultobj
;
17961 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
17963 PyObject
* obj0
= 0 ;
17964 char *kwnames
[] = {
17965 (char *) "self", NULL
17968 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_ShiftDown",kwnames
,&obj0
)) goto fail
;
17969 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
17970 if (SWIG_arg_fail(1)) SWIG_fail
;
17972 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17973 result
= (bool)((wxKeyEvent
const *)arg1
)->ShiftDown();
17975 wxPyEndAllowThreads(__tstate
);
17976 if (PyErr_Occurred()) SWIG_fail
;
17979 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17987 static PyObject
*_wrap_KeyEvent_CmdDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17988 PyObject
*resultobj
;
17989 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
17991 PyObject
* obj0
= 0 ;
17992 char *kwnames
[] = {
17993 (char *) "self", NULL
17996 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_CmdDown",kwnames
,&obj0
)) goto fail
;
17997 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
17998 if (SWIG_arg_fail(1)) SWIG_fail
;
18000 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18001 result
= (bool)((wxKeyEvent
const *)arg1
)->CmdDown();
18003 wxPyEndAllowThreads(__tstate
);
18004 if (PyErr_Occurred()) SWIG_fail
;
18007 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18015 static PyObject
*_wrap_KeyEvent_HasModifiers(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18016 PyObject
*resultobj
;
18017 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18019 PyObject
* obj0
= 0 ;
18020 char *kwnames
[] = {
18021 (char *) "self", NULL
18024 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_HasModifiers",kwnames
,&obj0
)) goto fail
;
18025 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18026 if (SWIG_arg_fail(1)) SWIG_fail
;
18028 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18029 result
= (bool)((wxKeyEvent
const *)arg1
)->HasModifiers();
18031 wxPyEndAllowThreads(__tstate
);
18032 if (PyErr_Occurred()) SWIG_fail
;
18035 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18043 static PyObject
*_wrap_KeyEvent_GetKeyCode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18044 PyObject
*resultobj
;
18045 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18047 PyObject
* obj0
= 0 ;
18048 char *kwnames
[] = {
18049 (char *) "self", NULL
18052 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetKeyCode",kwnames
,&obj0
)) goto fail
;
18053 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18054 if (SWIG_arg_fail(1)) SWIG_fail
;
18056 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18057 result
= (int)((wxKeyEvent
const *)arg1
)->GetKeyCode();
18059 wxPyEndAllowThreads(__tstate
);
18060 if (PyErr_Occurred()) SWIG_fail
;
18063 resultobj
= SWIG_From_int((int)(result
));
18071 static PyObject
*_wrap_KeyEvent_GetUnicodeKey(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18072 PyObject
*resultobj
;
18073 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18075 PyObject
* obj0
= 0 ;
18076 char *kwnames
[] = {
18077 (char *) "self", NULL
18080 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetUnicodeKey",kwnames
,&obj0
)) goto fail
;
18081 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18082 if (SWIG_arg_fail(1)) SWIG_fail
;
18084 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18085 result
= (int)wxKeyEvent_GetUnicodeKey(arg1
);
18087 wxPyEndAllowThreads(__tstate
);
18088 if (PyErr_Occurred()) SWIG_fail
;
18091 resultobj
= SWIG_From_int((int)(result
));
18099 static PyObject
*_wrap_KeyEvent_GetRawKeyCode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18100 PyObject
*resultobj
;
18101 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18102 unsigned int result
;
18103 PyObject
* obj0
= 0 ;
18104 char *kwnames
[] = {
18105 (char *) "self", NULL
18108 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetRawKeyCode",kwnames
,&obj0
)) goto fail
;
18109 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18110 if (SWIG_arg_fail(1)) SWIG_fail
;
18112 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18113 result
= (unsigned int)((wxKeyEvent
const *)arg1
)->GetRawKeyCode();
18115 wxPyEndAllowThreads(__tstate
);
18116 if (PyErr_Occurred()) SWIG_fail
;
18119 resultobj
= SWIG_From_unsigned_SS_int((unsigned int)(result
));
18127 static PyObject
*_wrap_KeyEvent_GetRawKeyFlags(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18128 PyObject
*resultobj
;
18129 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18130 unsigned int result
;
18131 PyObject
* obj0
= 0 ;
18132 char *kwnames
[] = {
18133 (char *) "self", NULL
18136 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetRawKeyFlags",kwnames
,&obj0
)) goto fail
;
18137 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18138 if (SWIG_arg_fail(1)) SWIG_fail
;
18140 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18141 result
= (unsigned int)((wxKeyEvent
const *)arg1
)->GetRawKeyFlags();
18143 wxPyEndAllowThreads(__tstate
);
18144 if (PyErr_Occurred()) SWIG_fail
;
18147 resultobj
= SWIG_From_unsigned_SS_int((unsigned int)(result
));
18155 static PyObject
*_wrap_KeyEvent_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18156 PyObject
*resultobj
;
18157 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18159 PyObject
* obj0
= 0 ;
18160 char *kwnames
[] = {
18161 (char *) "self", NULL
18164 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
18165 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18166 if (SWIG_arg_fail(1)) SWIG_fail
;
18168 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18169 result
= (arg1
)->GetPosition();
18171 wxPyEndAllowThreads(__tstate
);
18172 if (PyErr_Occurred()) SWIG_fail
;
18175 wxPoint
* resultptr
;
18176 resultptr
= new wxPoint((wxPoint
&)(result
));
18177 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
18185 static PyObject
*_wrap_KeyEvent_GetPositionTuple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18186 PyObject
*resultobj
;
18187 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18188 long *arg2
= (long *) 0 ;
18189 long *arg3
= (long *) 0 ;
18194 PyObject
* obj0
= 0 ;
18195 char *kwnames
[] = {
18196 (char *) "self", NULL
18199 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
18200 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
18201 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetPositionTuple",kwnames
,&obj0
)) goto fail
;
18202 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18203 if (SWIG_arg_fail(1)) SWIG_fail
;
18205 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18206 (arg1
)->GetPosition(arg2
,arg3
);
18208 wxPyEndAllowThreads(__tstate
);
18209 if (PyErr_Occurred()) SWIG_fail
;
18211 Py_INCREF(Py_None
); resultobj
= Py_None
;
18212 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
18213 SWIG_From_long((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_long
, 0)));
18214 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
18215 SWIG_From_long((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, 0)));
18222 static PyObject
*_wrap_KeyEvent_GetX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18223 PyObject
*resultobj
;
18224 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18226 PyObject
* obj0
= 0 ;
18227 char *kwnames
[] = {
18228 (char *) "self", NULL
18231 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetX",kwnames
,&obj0
)) goto fail
;
18232 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18233 if (SWIG_arg_fail(1)) SWIG_fail
;
18235 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18236 result
= (int)((wxKeyEvent
const *)arg1
)->GetX();
18238 wxPyEndAllowThreads(__tstate
);
18239 if (PyErr_Occurred()) SWIG_fail
;
18242 resultobj
= SWIG_From_int((int)(result
));
18250 static PyObject
*_wrap_KeyEvent_GetY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18251 PyObject
*resultobj
;
18252 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18254 PyObject
* obj0
= 0 ;
18255 char *kwnames
[] = {
18256 (char *) "self", NULL
18259 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetY",kwnames
,&obj0
)) goto fail
;
18260 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18261 if (SWIG_arg_fail(1)) SWIG_fail
;
18263 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18264 result
= (int)((wxKeyEvent
const *)arg1
)->GetY();
18266 wxPyEndAllowThreads(__tstate
);
18267 if (PyErr_Occurred()) SWIG_fail
;
18270 resultobj
= SWIG_From_int((int)(result
));
18278 static PyObject
*_wrap_KeyEvent_m_x_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18279 PyObject
*resultobj
;
18280 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18282 PyObject
* obj0
= 0 ;
18283 PyObject
* obj1
= 0 ;
18284 char *kwnames
[] = {
18285 (char *) "self",(char *) "m_x", NULL
18288 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_x_set",kwnames
,&obj0
,&obj1
)) goto fail
;
18289 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18290 if (SWIG_arg_fail(1)) SWIG_fail
;
18292 arg2
= (int)(SWIG_As_int(obj1
));
18293 if (SWIG_arg_fail(2)) SWIG_fail
;
18295 if (arg1
) (arg1
)->m_x
= arg2
;
18297 Py_INCREF(Py_None
); resultobj
= Py_None
;
18304 static PyObject
*_wrap_KeyEvent_m_x_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18305 PyObject
*resultobj
;
18306 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18308 PyObject
* obj0
= 0 ;
18309 char *kwnames
[] = {
18310 (char *) "self", NULL
18313 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_x_get",kwnames
,&obj0
)) goto fail
;
18314 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18315 if (SWIG_arg_fail(1)) SWIG_fail
;
18316 result
= (int) ((arg1
)->m_x
);
18319 resultobj
= SWIG_From_int((int)(result
));
18327 static PyObject
*_wrap_KeyEvent_m_y_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18328 PyObject
*resultobj
;
18329 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18331 PyObject
* obj0
= 0 ;
18332 PyObject
* obj1
= 0 ;
18333 char *kwnames
[] = {
18334 (char *) "self",(char *) "m_y", NULL
18337 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_y_set",kwnames
,&obj0
,&obj1
)) goto fail
;
18338 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18339 if (SWIG_arg_fail(1)) SWIG_fail
;
18341 arg2
= (int)(SWIG_As_int(obj1
));
18342 if (SWIG_arg_fail(2)) SWIG_fail
;
18344 if (arg1
) (arg1
)->m_y
= arg2
;
18346 Py_INCREF(Py_None
); resultobj
= Py_None
;
18353 static PyObject
*_wrap_KeyEvent_m_y_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18354 PyObject
*resultobj
;
18355 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18357 PyObject
* obj0
= 0 ;
18358 char *kwnames
[] = {
18359 (char *) "self", NULL
18362 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_y_get",kwnames
,&obj0
)) goto fail
;
18363 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18364 if (SWIG_arg_fail(1)) SWIG_fail
;
18365 result
= (int) ((arg1
)->m_y
);
18368 resultobj
= SWIG_From_int((int)(result
));
18376 static PyObject
*_wrap_KeyEvent_m_keyCode_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18377 PyObject
*resultobj
;
18378 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18380 PyObject
* obj0
= 0 ;
18381 PyObject
* obj1
= 0 ;
18382 char *kwnames
[] = {
18383 (char *) "self",(char *) "m_keyCode", NULL
18386 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_keyCode_set",kwnames
,&obj0
,&obj1
)) goto fail
;
18387 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18388 if (SWIG_arg_fail(1)) SWIG_fail
;
18390 arg2
= (long)(SWIG_As_long(obj1
));
18391 if (SWIG_arg_fail(2)) SWIG_fail
;
18393 if (arg1
) (arg1
)->m_keyCode
= arg2
;
18395 Py_INCREF(Py_None
); resultobj
= Py_None
;
18402 static PyObject
*_wrap_KeyEvent_m_keyCode_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18403 PyObject
*resultobj
;
18404 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18406 PyObject
* obj0
= 0 ;
18407 char *kwnames
[] = {
18408 (char *) "self", NULL
18411 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_keyCode_get",kwnames
,&obj0
)) goto fail
;
18412 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18413 if (SWIG_arg_fail(1)) SWIG_fail
;
18414 result
= (long) ((arg1
)->m_keyCode
);
18417 resultobj
= SWIG_From_long((long)(result
));
18425 static PyObject
*_wrap_KeyEvent_m_controlDown_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18426 PyObject
*resultobj
;
18427 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18429 PyObject
* obj0
= 0 ;
18430 PyObject
* obj1
= 0 ;
18431 char *kwnames
[] = {
18432 (char *) "self",(char *) "m_controlDown", NULL
18435 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_controlDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
18436 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18437 if (SWIG_arg_fail(1)) SWIG_fail
;
18439 arg2
= (bool)(SWIG_As_bool(obj1
));
18440 if (SWIG_arg_fail(2)) SWIG_fail
;
18442 if (arg1
) (arg1
)->m_controlDown
= arg2
;
18444 Py_INCREF(Py_None
); resultobj
= Py_None
;
18451 static PyObject
*_wrap_KeyEvent_m_controlDown_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18452 PyObject
*resultobj
;
18453 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18455 PyObject
* obj0
= 0 ;
18456 char *kwnames
[] = {
18457 (char *) "self", NULL
18460 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_controlDown_get",kwnames
,&obj0
)) goto fail
;
18461 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18462 if (SWIG_arg_fail(1)) SWIG_fail
;
18463 result
= (bool) ((arg1
)->m_controlDown
);
18466 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18474 static PyObject
*_wrap_KeyEvent_m_shiftDown_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18475 PyObject
*resultobj
;
18476 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18478 PyObject
* obj0
= 0 ;
18479 PyObject
* obj1
= 0 ;
18480 char *kwnames
[] = {
18481 (char *) "self",(char *) "m_shiftDown", NULL
18484 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_shiftDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
18485 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18486 if (SWIG_arg_fail(1)) SWIG_fail
;
18488 arg2
= (bool)(SWIG_As_bool(obj1
));
18489 if (SWIG_arg_fail(2)) SWIG_fail
;
18491 if (arg1
) (arg1
)->m_shiftDown
= arg2
;
18493 Py_INCREF(Py_None
); resultobj
= Py_None
;
18500 static PyObject
*_wrap_KeyEvent_m_shiftDown_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18501 PyObject
*resultobj
;
18502 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18504 PyObject
* obj0
= 0 ;
18505 char *kwnames
[] = {
18506 (char *) "self", NULL
18509 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_shiftDown_get",kwnames
,&obj0
)) goto fail
;
18510 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18511 if (SWIG_arg_fail(1)) SWIG_fail
;
18512 result
= (bool) ((arg1
)->m_shiftDown
);
18515 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18523 static PyObject
*_wrap_KeyEvent_m_altDown_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18524 PyObject
*resultobj
;
18525 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18527 PyObject
* obj0
= 0 ;
18528 PyObject
* obj1
= 0 ;
18529 char *kwnames
[] = {
18530 (char *) "self",(char *) "m_altDown", NULL
18533 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_altDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
18534 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18535 if (SWIG_arg_fail(1)) SWIG_fail
;
18537 arg2
= (bool)(SWIG_As_bool(obj1
));
18538 if (SWIG_arg_fail(2)) SWIG_fail
;
18540 if (arg1
) (arg1
)->m_altDown
= arg2
;
18542 Py_INCREF(Py_None
); resultobj
= Py_None
;
18549 static PyObject
*_wrap_KeyEvent_m_altDown_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18550 PyObject
*resultobj
;
18551 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18553 PyObject
* obj0
= 0 ;
18554 char *kwnames
[] = {
18555 (char *) "self", NULL
18558 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_altDown_get",kwnames
,&obj0
)) goto fail
;
18559 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18560 if (SWIG_arg_fail(1)) SWIG_fail
;
18561 result
= (bool) ((arg1
)->m_altDown
);
18564 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18572 static PyObject
*_wrap_KeyEvent_m_metaDown_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18573 PyObject
*resultobj
;
18574 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18576 PyObject
* obj0
= 0 ;
18577 PyObject
* obj1
= 0 ;
18578 char *kwnames
[] = {
18579 (char *) "self",(char *) "m_metaDown", NULL
18582 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_metaDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
18583 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18584 if (SWIG_arg_fail(1)) SWIG_fail
;
18586 arg2
= (bool)(SWIG_As_bool(obj1
));
18587 if (SWIG_arg_fail(2)) SWIG_fail
;
18589 if (arg1
) (arg1
)->m_metaDown
= arg2
;
18591 Py_INCREF(Py_None
); resultobj
= Py_None
;
18598 static PyObject
*_wrap_KeyEvent_m_metaDown_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18599 PyObject
*resultobj
;
18600 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18602 PyObject
* obj0
= 0 ;
18603 char *kwnames
[] = {
18604 (char *) "self", NULL
18607 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_metaDown_get",kwnames
,&obj0
)) goto fail
;
18608 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18609 if (SWIG_arg_fail(1)) SWIG_fail
;
18610 result
= (bool) ((arg1
)->m_metaDown
);
18613 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18621 static PyObject
*_wrap_KeyEvent_m_scanCode_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18622 PyObject
*resultobj
;
18623 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18625 PyObject
* obj0
= 0 ;
18626 PyObject
* obj1
= 0 ;
18627 char *kwnames
[] = {
18628 (char *) "self",(char *) "m_scanCode", NULL
18631 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_scanCode_set",kwnames
,&obj0
,&obj1
)) goto fail
;
18632 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18633 if (SWIG_arg_fail(1)) SWIG_fail
;
18635 arg2
= (bool)(SWIG_As_bool(obj1
));
18636 if (SWIG_arg_fail(2)) SWIG_fail
;
18638 if (arg1
) (arg1
)->m_scanCode
= arg2
;
18640 Py_INCREF(Py_None
); resultobj
= Py_None
;
18647 static PyObject
*_wrap_KeyEvent_m_scanCode_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18648 PyObject
*resultobj
;
18649 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18651 PyObject
* obj0
= 0 ;
18652 char *kwnames
[] = {
18653 (char *) "self", NULL
18656 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_scanCode_get",kwnames
,&obj0
)) goto fail
;
18657 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18658 if (SWIG_arg_fail(1)) SWIG_fail
;
18659 result
= (bool) ((arg1
)->m_scanCode
);
18662 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18670 static PyObject
*_wrap_KeyEvent_m_rawCode_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18671 PyObject
*resultobj
;
18672 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18673 unsigned int arg2
;
18674 PyObject
* obj0
= 0 ;
18675 PyObject
* obj1
= 0 ;
18676 char *kwnames
[] = {
18677 (char *) "self",(char *) "m_rawCode", NULL
18680 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_rawCode_set",kwnames
,&obj0
,&obj1
)) goto fail
;
18681 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18682 if (SWIG_arg_fail(1)) SWIG_fail
;
18684 arg2
= (unsigned int)(SWIG_As_unsigned_SS_int(obj1
));
18685 if (SWIG_arg_fail(2)) SWIG_fail
;
18687 if (arg1
) (arg1
)->m_rawCode
= arg2
;
18689 Py_INCREF(Py_None
); resultobj
= Py_None
;
18696 static PyObject
*_wrap_KeyEvent_m_rawCode_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18697 PyObject
*resultobj
;
18698 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18699 unsigned int result
;
18700 PyObject
* obj0
= 0 ;
18701 char *kwnames
[] = {
18702 (char *) "self", NULL
18705 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_rawCode_get",kwnames
,&obj0
)) goto fail
;
18706 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18707 if (SWIG_arg_fail(1)) SWIG_fail
;
18708 result
= (unsigned int) ((arg1
)->m_rawCode
);
18711 resultobj
= SWIG_From_unsigned_SS_int((unsigned int)(result
));
18719 static PyObject
*_wrap_KeyEvent_m_rawFlags_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18720 PyObject
*resultobj
;
18721 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18722 unsigned int arg2
;
18723 PyObject
* obj0
= 0 ;
18724 PyObject
* obj1
= 0 ;
18725 char *kwnames
[] = {
18726 (char *) "self",(char *) "m_rawFlags", NULL
18729 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_rawFlags_set",kwnames
,&obj0
,&obj1
)) goto fail
;
18730 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18731 if (SWIG_arg_fail(1)) SWIG_fail
;
18733 arg2
= (unsigned int)(SWIG_As_unsigned_SS_int(obj1
));
18734 if (SWIG_arg_fail(2)) SWIG_fail
;
18736 if (arg1
) (arg1
)->m_rawFlags
= arg2
;
18738 Py_INCREF(Py_None
); resultobj
= Py_None
;
18745 static PyObject
*_wrap_KeyEvent_m_rawFlags_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18746 PyObject
*resultobj
;
18747 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18748 unsigned int result
;
18749 PyObject
* obj0
= 0 ;
18750 char *kwnames
[] = {
18751 (char *) "self", NULL
18754 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_rawFlags_get",kwnames
,&obj0
)) goto fail
;
18755 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18756 if (SWIG_arg_fail(1)) SWIG_fail
;
18757 result
= (unsigned int) ((arg1
)->m_rawFlags
);
18760 resultobj
= SWIG_From_unsigned_SS_int((unsigned int)(result
));
18768 static PyObject
* KeyEvent_swigregister(PyObject
*, PyObject
*args
) {
18770 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18771 SWIG_TypeClientData(SWIGTYPE_p_wxKeyEvent
, obj
);
18773 return Py_BuildValue((char *)"");
18775 static PyObject
*_wrap_new_SizeEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18776 PyObject
*resultobj
;
18777 wxSize
const &arg1_defvalue
= wxDefaultSize
;
18778 wxSize
*arg1
= (wxSize
*) &arg1_defvalue
;
18779 int arg2
= (int) 0 ;
18780 wxSizeEvent
*result
;
18782 PyObject
* obj0
= 0 ;
18783 PyObject
* obj1
= 0 ;
18784 char *kwnames
[] = {
18785 (char *) "sz",(char *) "winid", NULL
18788 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_SizeEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
18792 if ( ! wxSize_helper(obj0
, &arg1
)) SWIG_fail
;
18797 arg2
= (int)(SWIG_As_int(obj1
));
18798 if (SWIG_arg_fail(2)) SWIG_fail
;
18802 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18803 result
= (wxSizeEvent
*)new wxSizeEvent((wxSize
const &)*arg1
,arg2
);
18805 wxPyEndAllowThreads(__tstate
);
18806 if (PyErr_Occurred()) SWIG_fail
;
18808 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizeEvent
, 1);
18815 static PyObject
*_wrap_SizeEvent_GetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18816 PyObject
*resultobj
;
18817 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
18819 PyObject
* obj0
= 0 ;
18820 char *kwnames
[] = {
18821 (char *) "self", NULL
18824 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizeEvent_GetSize",kwnames
,&obj0
)) goto fail
;
18825 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizeEvent
, SWIG_POINTER_EXCEPTION
| 0);
18826 if (SWIG_arg_fail(1)) SWIG_fail
;
18828 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18829 result
= ((wxSizeEvent
const *)arg1
)->GetSize();
18831 wxPyEndAllowThreads(__tstate
);
18832 if (PyErr_Occurred()) SWIG_fail
;
18835 wxSize
* resultptr
;
18836 resultptr
= new wxSize((wxSize
&)(result
));
18837 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
18845 static PyObject
*_wrap_SizeEvent_GetRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18846 PyObject
*resultobj
;
18847 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
18849 PyObject
* obj0
= 0 ;
18850 char *kwnames
[] = {
18851 (char *) "self", NULL
18854 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizeEvent_GetRect",kwnames
,&obj0
)) goto fail
;
18855 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizeEvent
, SWIG_POINTER_EXCEPTION
| 0);
18856 if (SWIG_arg_fail(1)) SWIG_fail
;
18858 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18859 result
= ((wxSizeEvent
const *)arg1
)->GetRect();
18861 wxPyEndAllowThreads(__tstate
);
18862 if (PyErr_Occurred()) SWIG_fail
;
18865 wxRect
* resultptr
;
18866 resultptr
= new wxRect((wxRect
&)(result
));
18867 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
18875 static PyObject
*_wrap_SizeEvent_SetRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18876 PyObject
*resultobj
;
18877 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
18879 PyObject
* obj0
= 0 ;
18880 PyObject
* obj1
= 0 ;
18881 char *kwnames
[] = {
18882 (char *) "self",(char *) "rect", NULL
18885 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizeEvent_SetRect",kwnames
,&obj0
,&obj1
)) goto fail
;
18886 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizeEvent
, SWIG_POINTER_EXCEPTION
| 0);
18887 if (SWIG_arg_fail(1)) SWIG_fail
;
18890 SWIG_Python_ConvertPtr(obj1
, (void **)&argp
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
);
18891 if (SWIG_arg_fail(2)) SWIG_fail
;
18892 if (argp
== NULL
) {
18893 SWIG_null_ref("wxRect");
18895 if (SWIG_arg_fail(2)) SWIG_fail
;
18899 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18900 (arg1
)->SetRect(arg2
);
18902 wxPyEndAllowThreads(__tstate
);
18903 if (PyErr_Occurred()) SWIG_fail
;
18905 Py_INCREF(Py_None
); resultobj
= Py_None
;
18912 static PyObject
*_wrap_SizeEvent_SetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18913 PyObject
*resultobj
;
18914 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
18916 PyObject
* obj0
= 0 ;
18917 PyObject
* obj1
= 0 ;
18918 char *kwnames
[] = {
18919 (char *) "self",(char *) "size", NULL
18922 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizeEvent_SetSize",kwnames
,&obj0
,&obj1
)) goto fail
;
18923 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizeEvent
, SWIG_POINTER_EXCEPTION
| 0);
18924 if (SWIG_arg_fail(1)) SWIG_fail
;
18927 SWIG_Python_ConvertPtr(obj1
, (void **)&argp
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
);
18928 if (SWIG_arg_fail(2)) SWIG_fail
;
18929 if (argp
== NULL
) {
18930 SWIG_null_ref("wxSize");
18932 if (SWIG_arg_fail(2)) SWIG_fail
;
18936 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18937 wxSizeEvent_SetSize(arg1
,arg2
);
18939 wxPyEndAllowThreads(__tstate
);
18940 if (PyErr_Occurred()) SWIG_fail
;
18942 Py_INCREF(Py_None
); resultobj
= Py_None
;
18949 static PyObject
*_wrap_SizeEvent_m_size_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18950 PyObject
*resultobj
;
18951 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
18952 wxSize
*arg2
= (wxSize
*) 0 ;
18953 PyObject
* obj0
= 0 ;
18954 PyObject
* obj1
= 0 ;
18955 char *kwnames
[] = {
18956 (char *) "self",(char *) "m_size", NULL
18959 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizeEvent_m_size_set",kwnames
,&obj0
,&obj1
)) goto fail
;
18960 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizeEvent
, SWIG_POINTER_EXCEPTION
| 0);
18961 if (SWIG_arg_fail(1)) SWIG_fail
;
18962 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
| 0);
18963 if (SWIG_arg_fail(2)) SWIG_fail
;
18964 if (arg1
) (arg1
)->m_size
= *arg2
;
18966 Py_INCREF(Py_None
); resultobj
= Py_None
;
18973 static PyObject
*_wrap_SizeEvent_m_size_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18974 PyObject
*resultobj
;
18975 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
18977 PyObject
* obj0
= 0 ;
18978 char *kwnames
[] = {
18979 (char *) "self", NULL
18982 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizeEvent_m_size_get",kwnames
,&obj0
)) goto fail
;
18983 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizeEvent
, SWIG_POINTER_EXCEPTION
| 0);
18984 if (SWIG_arg_fail(1)) SWIG_fail
;
18985 result
= (wxSize
*)& ((arg1
)->m_size
);
18987 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSize
, 0);
18994 static PyObject
*_wrap_SizeEvent_m_rect_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18995 PyObject
*resultobj
;
18996 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
18997 wxRect
*arg2
= (wxRect
*) 0 ;
18998 PyObject
* obj0
= 0 ;
18999 PyObject
* obj1
= 0 ;
19000 char *kwnames
[] = {
19001 (char *) "self",(char *) "m_rect", NULL
19004 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizeEvent_m_rect_set",kwnames
,&obj0
,&obj1
)) goto fail
;
19005 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizeEvent
, SWIG_POINTER_EXCEPTION
| 0);
19006 if (SWIG_arg_fail(1)) SWIG_fail
;
19007 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
19008 if (SWIG_arg_fail(2)) SWIG_fail
;
19009 if (arg1
) (arg1
)->m_rect
= *arg2
;
19011 Py_INCREF(Py_None
); resultobj
= Py_None
;
19018 static PyObject
*_wrap_SizeEvent_m_rect_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19019 PyObject
*resultobj
;
19020 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
19022 PyObject
* obj0
= 0 ;
19023 char *kwnames
[] = {
19024 (char *) "self", NULL
19027 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizeEvent_m_rect_get",kwnames
,&obj0
)) goto fail
;
19028 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizeEvent
, SWIG_POINTER_EXCEPTION
| 0);
19029 if (SWIG_arg_fail(1)) SWIG_fail
;
19030 result
= (wxRect
*)& ((arg1
)->m_rect
);
19032 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 0);
19039 static PyObject
* SizeEvent_swigregister(PyObject
*, PyObject
*args
) {
19041 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19042 SWIG_TypeClientData(SWIGTYPE_p_wxSizeEvent
, obj
);
19044 return Py_BuildValue((char *)"");
19046 static PyObject
*_wrap_new_MoveEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19047 PyObject
*resultobj
;
19048 wxPoint
const &arg1_defvalue
= wxDefaultPosition
;
19049 wxPoint
*arg1
= (wxPoint
*) &arg1_defvalue
;
19050 int arg2
= (int) 0 ;
19051 wxMoveEvent
*result
;
19053 PyObject
* obj0
= 0 ;
19054 PyObject
* obj1
= 0 ;
19055 char *kwnames
[] = {
19056 (char *) "pos",(char *) "winid", NULL
19059 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_MoveEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
19063 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
19068 arg2
= (int)(SWIG_As_int(obj1
));
19069 if (SWIG_arg_fail(2)) SWIG_fail
;
19073 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19074 result
= (wxMoveEvent
*)new wxMoveEvent((wxPoint
const &)*arg1
,arg2
);
19076 wxPyEndAllowThreads(__tstate
);
19077 if (PyErr_Occurred()) SWIG_fail
;
19079 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMoveEvent
, 1);
19086 static PyObject
*_wrap_MoveEvent_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19087 PyObject
*resultobj
;
19088 wxMoveEvent
*arg1
= (wxMoveEvent
*) 0 ;
19090 PyObject
* obj0
= 0 ;
19091 char *kwnames
[] = {
19092 (char *) "self", NULL
19095 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MoveEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
19096 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMoveEvent
, SWIG_POINTER_EXCEPTION
| 0);
19097 if (SWIG_arg_fail(1)) SWIG_fail
;
19099 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19100 result
= ((wxMoveEvent
const *)arg1
)->GetPosition();
19102 wxPyEndAllowThreads(__tstate
);
19103 if (PyErr_Occurred()) SWIG_fail
;
19106 wxPoint
* resultptr
;
19107 resultptr
= new wxPoint((wxPoint
&)(result
));
19108 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
19116 static PyObject
*_wrap_MoveEvent_GetRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19117 PyObject
*resultobj
;
19118 wxMoveEvent
*arg1
= (wxMoveEvent
*) 0 ;
19120 PyObject
* obj0
= 0 ;
19121 char *kwnames
[] = {
19122 (char *) "self", NULL
19125 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MoveEvent_GetRect",kwnames
,&obj0
)) goto fail
;
19126 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMoveEvent
, SWIG_POINTER_EXCEPTION
| 0);
19127 if (SWIG_arg_fail(1)) SWIG_fail
;
19129 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19130 result
= ((wxMoveEvent
const *)arg1
)->GetRect();
19132 wxPyEndAllowThreads(__tstate
);
19133 if (PyErr_Occurred()) SWIG_fail
;
19136 wxRect
* resultptr
;
19137 resultptr
= new wxRect((wxRect
&)(result
));
19138 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
19146 static PyObject
*_wrap_MoveEvent_SetRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19147 PyObject
*resultobj
;
19148 wxMoveEvent
*arg1
= (wxMoveEvent
*) 0 ;
19151 PyObject
* obj0
= 0 ;
19152 PyObject
* obj1
= 0 ;
19153 char *kwnames
[] = {
19154 (char *) "self",(char *) "rect", NULL
19157 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MoveEvent_SetRect",kwnames
,&obj0
,&obj1
)) goto fail
;
19158 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMoveEvent
, SWIG_POINTER_EXCEPTION
| 0);
19159 if (SWIG_arg_fail(1)) SWIG_fail
;
19162 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
19165 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19166 (arg1
)->SetRect((wxRect
const &)*arg2
);
19168 wxPyEndAllowThreads(__tstate
);
19169 if (PyErr_Occurred()) SWIG_fail
;
19171 Py_INCREF(Py_None
); resultobj
= Py_None
;
19178 static PyObject
*_wrap_MoveEvent_SetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19179 PyObject
*resultobj
;
19180 wxMoveEvent
*arg1
= (wxMoveEvent
*) 0 ;
19181 wxPoint
*arg2
= 0 ;
19183 PyObject
* obj0
= 0 ;
19184 PyObject
* obj1
= 0 ;
19185 char *kwnames
[] = {
19186 (char *) "self",(char *) "pos", NULL
19189 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MoveEvent_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
19190 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMoveEvent
, SWIG_POINTER_EXCEPTION
| 0);
19191 if (SWIG_arg_fail(1)) SWIG_fail
;
19194 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
19197 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19198 (arg1
)->SetPosition((wxPoint
const &)*arg2
);
19200 wxPyEndAllowThreads(__tstate
);
19201 if (PyErr_Occurred()) SWIG_fail
;
19203 Py_INCREF(Py_None
); resultobj
= Py_None
;
19210 static PyObject
* MoveEvent_swigregister(PyObject
*, PyObject
*args
) {
19212 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19213 SWIG_TypeClientData(SWIGTYPE_p_wxMoveEvent
, obj
);
19215 return Py_BuildValue((char *)"");
19217 static PyObject
*_wrap_new_PaintEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19218 PyObject
*resultobj
;
19219 int arg1
= (int) 0 ;
19220 wxPaintEvent
*result
;
19221 PyObject
* obj0
= 0 ;
19222 char *kwnames
[] = {
19223 (char *) "Id", NULL
19226 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_PaintEvent",kwnames
,&obj0
)) goto fail
;
19229 arg1
= (int)(SWIG_As_int(obj0
));
19230 if (SWIG_arg_fail(1)) SWIG_fail
;
19234 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19235 result
= (wxPaintEvent
*)new wxPaintEvent(arg1
);
19237 wxPyEndAllowThreads(__tstate
);
19238 if (PyErr_Occurred()) SWIG_fail
;
19240 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPaintEvent
, 1);
19247 static PyObject
* PaintEvent_swigregister(PyObject
*, PyObject
*args
) {
19249 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19250 SWIG_TypeClientData(SWIGTYPE_p_wxPaintEvent
, obj
);
19252 return Py_BuildValue((char *)"");
19254 static PyObject
*_wrap_new_NcPaintEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19255 PyObject
*resultobj
;
19256 int arg1
= (int) 0 ;
19257 wxNcPaintEvent
*result
;
19258 PyObject
* obj0
= 0 ;
19259 char *kwnames
[] = {
19260 (char *) "winid", NULL
19263 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_NcPaintEvent",kwnames
,&obj0
)) goto fail
;
19266 arg1
= (int)(SWIG_As_int(obj0
));
19267 if (SWIG_arg_fail(1)) SWIG_fail
;
19271 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19272 result
= (wxNcPaintEvent
*)new wxNcPaintEvent(arg1
);
19274 wxPyEndAllowThreads(__tstate
);
19275 if (PyErr_Occurred()) SWIG_fail
;
19277 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNcPaintEvent
, 1);
19284 static PyObject
* NcPaintEvent_swigregister(PyObject
*, PyObject
*args
) {
19286 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19287 SWIG_TypeClientData(SWIGTYPE_p_wxNcPaintEvent
, obj
);
19289 return Py_BuildValue((char *)"");
19291 static PyObject
*_wrap_new_EraseEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19292 PyObject
*resultobj
;
19293 int arg1
= (int) 0 ;
19294 wxDC
*arg2
= (wxDC
*) (wxDC
*) NULL
;
19295 wxEraseEvent
*result
;
19296 PyObject
* obj0
= 0 ;
19297 PyObject
* obj1
= 0 ;
19298 char *kwnames
[] = {
19299 (char *) "Id",(char *) "dc", NULL
19302 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_EraseEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
19305 arg1
= (int)(SWIG_As_int(obj0
));
19306 if (SWIG_arg_fail(1)) SWIG_fail
;
19310 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
19311 if (SWIG_arg_fail(2)) SWIG_fail
;
19314 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19315 result
= (wxEraseEvent
*)new wxEraseEvent(arg1
,arg2
);
19317 wxPyEndAllowThreads(__tstate
);
19318 if (PyErr_Occurred()) SWIG_fail
;
19320 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxEraseEvent
, 1);
19327 static PyObject
*_wrap_EraseEvent_GetDC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19328 PyObject
*resultobj
;
19329 wxEraseEvent
*arg1
= (wxEraseEvent
*) 0 ;
19331 PyObject
* obj0
= 0 ;
19332 char *kwnames
[] = {
19333 (char *) "self", NULL
19336 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EraseEvent_GetDC",kwnames
,&obj0
)) goto fail
;
19337 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEraseEvent
, SWIG_POINTER_EXCEPTION
| 0);
19338 if (SWIG_arg_fail(1)) SWIG_fail
;
19340 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19341 result
= (wxDC
*)((wxEraseEvent
const *)arg1
)->GetDC();
19343 wxPyEndAllowThreads(__tstate
);
19344 if (PyErr_Occurred()) SWIG_fail
;
19347 resultobj
= wxPyMake_wxObject(result
, 0);
19355 static PyObject
* EraseEvent_swigregister(PyObject
*, PyObject
*args
) {
19357 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19358 SWIG_TypeClientData(SWIGTYPE_p_wxEraseEvent
, obj
);
19360 return Py_BuildValue((char *)"");
19362 static PyObject
*_wrap_new_FocusEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19363 PyObject
*resultobj
;
19364 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
19365 int arg2
= (int) 0 ;
19366 wxFocusEvent
*result
;
19367 PyObject
* obj0
= 0 ;
19368 PyObject
* obj1
= 0 ;
19369 char *kwnames
[] = {
19370 (char *) "type",(char *) "winid", NULL
19373 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_FocusEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
19376 arg1
= (wxEventType
)(SWIG_As_int(obj0
));
19377 if (SWIG_arg_fail(1)) SWIG_fail
;
19382 arg2
= (int)(SWIG_As_int(obj1
));
19383 if (SWIG_arg_fail(2)) SWIG_fail
;
19387 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19388 result
= (wxFocusEvent
*)new wxFocusEvent(arg1
,arg2
);
19390 wxPyEndAllowThreads(__tstate
);
19391 if (PyErr_Occurred()) SWIG_fail
;
19393 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFocusEvent
, 1);
19400 static PyObject
*_wrap_FocusEvent_GetWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19401 PyObject
*resultobj
;
19402 wxFocusEvent
*arg1
= (wxFocusEvent
*) 0 ;
19404 PyObject
* obj0
= 0 ;
19405 char *kwnames
[] = {
19406 (char *) "self", NULL
19409 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FocusEvent_GetWindow",kwnames
,&obj0
)) goto fail
;
19410 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFocusEvent
, SWIG_POINTER_EXCEPTION
| 0);
19411 if (SWIG_arg_fail(1)) SWIG_fail
;
19413 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19414 result
= (wxWindow
*)((wxFocusEvent
const *)arg1
)->GetWindow();
19416 wxPyEndAllowThreads(__tstate
);
19417 if (PyErr_Occurred()) SWIG_fail
;
19420 resultobj
= wxPyMake_wxObject(result
, 0);
19428 static PyObject
*_wrap_FocusEvent_SetWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19429 PyObject
*resultobj
;
19430 wxFocusEvent
*arg1
= (wxFocusEvent
*) 0 ;
19431 wxWindow
*arg2
= (wxWindow
*) 0 ;
19432 PyObject
* obj0
= 0 ;
19433 PyObject
* obj1
= 0 ;
19434 char *kwnames
[] = {
19435 (char *) "self",(char *) "win", NULL
19438 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FocusEvent_SetWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
19439 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFocusEvent
, SWIG_POINTER_EXCEPTION
| 0);
19440 if (SWIG_arg_fail(1)) SWIG_fail
;
19441 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
19442 if (SWIG_arg_fail(2)) SWIG_fail
;
19444 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19445 (arg1
)->SetWindow(arg2
);
19447 wxPyEndAllowThreads(__tstate
);
19448 if (PyErr_Occurred()) SWIG_fail
;
19450 Py_INCREF(Py_None
); resultobj
= Py_None
;
19457 static PyObject
* FocusEvent_swigregister(PyObject
*, PyObject
*args
) {
19459 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19460 SWIG_TypeClientData(SWIGTYPE_p_wxFocusEvent
, obj
);
19462 return Py_BuildValue((char *)"");
19464 static PyObject
*_wrap_new_ChildFocusEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19465 PyObject
*resultobj
;
19466 wxWindow
*arg1
= (wxWindow
*) NULL
;
19467 wxChildFocusEvent
*result
;
19468 PyObject
* obj0
= 0 ;
19469 char *kwnames
[] = {
19470 (char *) "win", NULL
19473 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_ChildFocusEvent",kwnames
,&obj0
)) goto fail
;
19475 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
19476 if (SWIG_arg_fail(1)) SWIG_fail
;
19479 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19480 result
= (wxChildFocusEvent
*)new wxChildFocusEvent(arg1
);
19482 wxPyEndAllowThreads(__tstate
);
19483 if (PyErr_Occurred()) SWIG_fail
;
19485 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxChildFocusEvent
, 1);
19492 static PyObject
*_wrap_ChildFocusEvent_GetWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19493 PyObject
*resultobj
;
19494 wxChildFocusEvent
*arg1
= (wxChildFocusEvent
*) 0 ;
19496 PyObject
* obj0
= 0 ;
19497 char *kwnames
[] = {
19498 (char *) "self", NULL
19501 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ChildFocusEvent_GetWindow",kwnames
,&obj0
)) goto fail
;
19502 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxChildFocusEvent
, SWIG_POINTER_EXCEPTION
| 0);
19503 if (SWIG_arg_fail(1)) SWIG_fail
;
19505 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19506 result
= (wxWindow
*)((wxChildFocusEvent
const *)arg1
)->GetWindow();
19508 wxPyEndAllowThreads(__tstate
);
19509 if (PyErr_Occurred()) SWIG_fail
;
19512 resultobj
= wxPyMake_wxObject(result
, 0);
19520 static PyObject
* ChildFocusEvent_swigregister(PyObject
*, PyObject
*args
) {
19522 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19523 SWIG_TypeClientData(SWIGTYPE_p_wxChildFocusEvent
, obj
);
19525 return Py_BuildValue((char *)"");
19527 static PyObject
*_wrap_new_ActivateEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19528 PyObject
*resultobj
;
19529 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
19530 bool arg2
= (bool) true ;
19531 int arg3
= (int) 0 ;
19532 wxActivateEvent
*result
;
19533 PyObject
* obj0
= 0 ;
19534 PyObject
* obj1
= 0 ;
19535 PyObject
* obj2
= 0 ;
19536 char *kwnames
[] = {
19537 (char *) "type",(char *) "active",(char *) "Id", NULL
19540 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_ActivateEvent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19543 arg1
= (wxEventType
)(SWIG_As_int(obj0
));
19544 if (SWIG_arg_fail(1)) SWIG_fail
;
19549 arg2
= (bool)(SWIG_As_bool(obj1
));
19550 if (SWIG_arg_fail(2)) SWIG_fail
;
19555 arg3
= (int)(SWIG_As_int(obj2
));
19556 if (SWIG_arg_fail(3)) SWIG_fail
;
19560 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19561 result
= (wxActivateEvent
*)new wxActivateEvent(arg1
,arg2
,arg3
);
19563 wxPyEndAllowThreads(__tstate
);
19564 if (PyErr_Occurred()) SWIG_fail
;
19566 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxActivateEvent
, 1);
19573 static PyObject
*_wrap_ActivateEvent_GetActive(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19574 PyObject
*resultobj
;
19575 wxActivateEvent
*arg1
= (wxActivateEvent
*) 0 ;
19577 PyObject
* obj0
= 0 ;
19578 char *kwnames
[] = {
19579 (char *) "self", NULL
19582 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ActivateEvent_GetActive",kwnames
,&obj0
)) goto fail
;
19583 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxActivateEvent
, SWIG_POINTER_EXCEPTION
| 0);
19584 if (SWIG_arg_fail(1)) SWIG_fail
;
19586 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19587 result
= (bool)((wxActivateEvent
const *)arg1
)->GetActive();
19589 wxPyEndAllowThreads(__tstate
);
19590 if (PyErr_Occurred()) SWIG_fail
;
19593 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19601 static PyObject
* ActivateEvent_swigregister(PyObject
*, PyObject
*args
) {
19603 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19604 SWIG_TypeClientData(SWIGTYPE_p_wxActivateEvent
, obj
);
19606 return Py_BuildValue((char *)"");
19608 static PyObject
*_wrap_new_InitDialogEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19609 PyObject
*resultobj
;
19610 int arg1
= (int) 0 ;
19611 wxInitDialogEvent
*result
;
19612 PyObject
* obj0
= 0 ;
19613 char *kwnames
[] = {
19614 (char *) "Id", NULL
19617 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_InitDialogEvent",kwnames
,&obj0
)) goto fail
;
19620 arg1
= (int)(SWIG_As_int(obj0
));
19621 if (SWIG_arg_fail(1)) SWIG_fail
;
19625 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19626 result
= (wxInitDialogEvent
*)new wxInitDialogEvent(arg1
);
19628 wxPyEndAllowThreads(__tstate
);
19629 if (PyErr_Occurred()) SWIG_fail
;
19631 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxInitDialogEvent
, 1);
19638 static PyObject
* InitDialogEvent_swigregister(PyObject
*, PyObject
*args
) {
19640 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19641 SWIG_TypeClientData(SWIGTYPE_p_wxInitDialogEvent
, obj
);
19643 return Py_BuildValue((char *)"");
19645 static PyObject
*_wrap_new_MenuEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19646 PyObject
*resultobj
;
19647 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
19648 int arg2
= (int) 0 ;
19649 wxMenu
*arg3
= (wxMenu
*) NULL
;
19650 wxMenuEvent
*result
;
19651 PyObject
* obj0
= 0 ;
19652 PyObject
* obj1
= 0 ;
19653 PyObject
* obj2
= 0 ;
19654 char *kwnames
[] = {
19655 (char *) "type",(char *) "winid",(char *) "menu", NULL
19658 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_MenuEvent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19661 arg1
= (wxEventType
)(SWIG_As_int(obj0
));
19662 if (SWIG_arg_fail(1)) SWIG_fail
;
19667 arg2
= (int)(SWIG_As_int(obj1
));
19668 if (SWIG_arg_fail(2)) SWIG_fail
;
19672 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
19673 if (SWIG_arg_fail(3)) SWIG_fail
;
19676 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19677 result
= (wxMenuEvent
*)new wxMenuEvent(arg1
,arg2
,arg3
);
19679 wxPyEndAllowThreads(__tstate
);
19680 if (PyErr_Occurred()) SWIG_fail
;
19682 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMenuEvent
, 1);
19689 static PyObject
*_wrap_MenuEvent_GetMenuId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19690 PyObject
*resultobj
;
19691 wxMenuEvent
*arg1
= (wxMenuEvent
*) 0 ;
19693 PyObject
* obj0
= 0 ;
19694 char *kwnames
[] = {
19695 (char *) "self", NULL
19698 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuEvent_GetMenuId",kwnames
,&obj0
)) goto fail
;
19699 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuEvent
, SWIG_POINTER_EXCEPTION
| 0);
19700 if (SWIG_arg_fail(1)) SWIG_fail
;
19702 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19703 result
= (int)((wxMenuEvent
const *)arg1
)->GetMenuId();
19705 wxPyEndAllowThreads(__tstate
);
19706 if (PyErr_Occurred()) SWIG_fail
;
19709 resultobj
= SWIG_From_int((int)(result
));
19717 static PyObject
*_wrap_MenuEvent_IsPopup(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19718 PyObject
*resultobj
;
19719 wxMenuEvent
*arg1
= (wxMenuEvent
*) 0 ;
19721 PyObject
* obj0
= 0 ;
19722 char *kwnames
[] = {
19723 (char *) "self", NULL
19726 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuEvent_IsPopup",kwnames
,&obj0
)) goto fail
;
19727 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuEvent
, SWIG_POINTER_EXCEPTION
| 0);
19728 if (SWIG_arg_fail(1)) SWIG_fail
;
19730 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19731 result
= (bool)((wxMenuEvent
const *)arg1
)->IsPopup();
19733 wxPyEndAllowThreads(__tstate
);
19734 if (PyErr_Occurred()) SWIG_fail
;
19737 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19745 static PyObject
*_wrap_MenuEvent_GetMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19746 PyObject
*resultobj
;
19747 wxMenuEvent
*arg1
= (wxMenuEvent
*) 0 ;
19749 PyObject
* obj0
= 0 ;
19750 char *kwnames
[] = {
19751 (char *) "self", NULL
19754 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuEvent_GetMenu",kwnames
,&obj0
)) goto fail
;
19755 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuEvent
, SWIG_POINTER_EXCEPTION
| 0);
19756 if (SWIG_arg_fail(1)) SWIG_fail
;
19758 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19759 result
= (wxMenu
*)((wxMenuEvent
const *)arg1
)->GetMenu();
19761 wxPyEndAllowThreads(__tstate
);
19762 if (PyErr_Occurred()) SWIG_fail
;
19765 resultobj
= wxPyMake_wxObject(result
, 0);
19773 static PyObject
* MenuEvent_swigregister(PyObject
*, PyObject
*args
) {
19775 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19776 SWIG_TypeClientData(SWIGTYPE_p_wxMenuEvent
, obj
);
19778 return Py_BuildValue((char *)"");
19780 static PyObject
*_wrap_new_CloseEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19781 PyObject
*resultobj
;
19782 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
19783 int arg2
= (int) 0 ;
19784 wxCloseEvent
*result
;
19785 PyObject
* obj0
= 0 ;
19786 PyObject
* obj1
= 0 ;
19787 char *kwnames
[] = {
19788 (char *) "type",(char *) "winid", NULL
19791 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_CloseEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
19794 arg1
= (wxEventType
)(SWIG_As_int(obj0
));
19795 if (SWIG_arg_fail(1)) SWIG_fail
;
19800 arg2
= (int)(SWIG_As_int(obj1
));
19801 if (SWIG_arg_fail(2)) SWIG_fail
;
19805 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19806 result
= (wxCloseEvent
*)new wxCloseEvent(arg1
,arg2
);
19808 wxPyEndAllowThreads(__tstate
);
19809 if (PyErr_Occurred()) SWIG_fail
;
19811 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCloseEvent
, 1);
19818 static PyObject
*_wrap_CloseEvent_SetLoggingOff(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19819 PyObject
*resultobj
;
19820 wxCloseEvent
*arg1
= (wxCloseEvent
*) 0 ;
19822 PyObject
* obj0
= 0 ;
19823 PyObject
* obj1
= 0 ;
19824 char *kwnames
[] = {
19825 (char *) "self",(char *) "logOff", NULL
19828 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CloseEvent_SetLoggingOff",kwnames
,&obj0
,&obj1
)) goto fail
;
19829 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCloseEvent
, SWIG_POINTER_EXCEPTION
| 0);
19830 if (SWIG_arg_fail(1)) SWIG_fail
;
19832 arg2
= (bool)(SWIG_As_bool(obj1
));
19833 if (SWIG_arg_fail(2)) SWIG_fail
;
19836 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19837 (arg1
)->SetLoggingOff(arg2
);
19839 wxPyEndAllowThreads(__tstate
);
19840 if (PyErr_Occurred()) SWIG_fail
;
19842 Py_INCREF(Py_None
); resultobj
= Py_None
;
19849 static PyObject
*_wrap_CloseEvent_GetLoggingOff(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19850 PyObject
*resultobj
;
19851 wxCloseEvent
*arg1
= (wxCloseEvent
*) 0 ;
19853 PyObject
* obj0
= 0 ;
19854 char *kwnames
[] = {
19855 (char *) "self", NULL
19858 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CloseEvent_GetLoggingOff",kwnames
,&obj0
)) goto fail
;
19859 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCloseEvent
, SWIG_POINTER_EXCEPTION
| 0);
19860 if (SWIG_arg_fail(1)) SWIG_fail
;
19862 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19863 result
= (bool)((wxCloseEvent
const *)arg1
)->GetLoggingOff();
19865 wxPyEndAllowThreads(__tstate
);
19866 if (PyErr_Occurred()) SWIG_fail
;
19869 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19877 static PyObject
*_wrap_CloseEvent_Veto(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19878 PyObject
*resultobj
;
19879 wxCloseEvent
*arg1
= (wxCloseEvent
*) 0 ;
19880 bool arg2
= (bool) true ;
19881 PyObject
* obj0
= 0 ;
19882 PyObject
* obj1
= 0 ;
19883 char *kwnames
[] = {
19884 (char *) "self",(char *) "veto", NULL
19887 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:CloseEvent_Veto",kwnames
,&obj0
,&obj1
)) goto fail
;
19888 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCloseEvent
, SWIG_POINTER_EXCEPTION
| 0);
19889 if (SWIG_arg_fail(1)) SWIG_fail
;
19892 arg2
= (bool)(SWIG_As_bool(obj1
));
19893 if (SWIG_arg_fail(2)) SWIG_fail
;
19897 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19898 (arg1
)->Veto(arg2
);
19900 wxPyEndAllowThreads(__tstate
);
19901 if (PyErr_Occurred()) SWIG_fail
;
19903 Py_INCREF(Py_None
); resultobj
= Py_None
;
19910 static PyObject
*_wrap_CloseEvent_SetCanVeto(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19911 PyObject
*resultobj
;
19912 wxCloseEvent
*arg1
= (wxCloseEvent
*) 0 ;
19914 PyObject
* obj0
= 0 ;
19915 PyObject
* obj1
= 0 ;
19916 char *kwnames
[] = {
19917 (char *) "self",(char *) "canVeto", NULL
19920 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CloseEvent_SetCanVeto",kwnames
,&obj0
,&obj1
)) goto fail
;
19921 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCloseEvent
, SWIG_POINTER_EXCEPTION
| 0);
19922 if (SWIG_arg_fail(1)) SWIG_fail
;
19924 arg2
= (bool)(SWIG_As_bool(obj1
));
19925 if (SWIG_arg_fail(2)) SWIG_fail
;
19928 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19929 (arg1
)->SetCanVeto(arg2
);
19931 wxPyEndAllowThreads(__tstate
);
19932 if (PyErr_Occurred()) SWIG_fail
;
19934 Py_INCREF(Py_None
); resultobj
= Py_None
;
19941 static PyObject
*_wrap_CloseEvent_CanVeto(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19942 PyObject
*resultobj
;
19943 wxCloseEvent
*arg1
= (wxCloseEvent
*) 0 ;
19945 PyObject
* obj0
= 0 ;
19946 char *kwnames
[] = {
19947 (char *) "self", NULL
19950 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CloseEvent_CanVeto",kwnames
,&obj0
)) goto fail
;
19951 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCloseEvent
, SWIG_POINTER_EXCEPTION
| 0);
19952 if (SWIG_arg_fail(1)) SWIG_fail
;
19954 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19955 result
= (bool)((wxCloseEvent
const *)arg1
)->CanVeto();
19957 wxPyEndAllowThreads(__tstate
);
19958 if (PyErr_Occurred()) SWIG_fail
;
19961 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19969 static PyObject
*_wrap_CloseEvent_GetVeto(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19970 PyObject
*resultobj
;
19971 wxCloseEvent
*arg1
= (wxCloseEvent
*) 0 ;
19973 PyObject
* obj0
= 0 ;
19974 char *kwnames
[] = {
19975 (char *) "self", NULL
19978 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CloseEvent_GetVeto",kwnames
,&obj0
)) goto fail
;
19979 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCloseEvent
, SWIG_POINTER_EXCEPTION
| 0);
19980 if (SWIG_arg_fail(1)) SWIG_fail
;
19982 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19983 result
= (bool)((wxCloseEvent
const *)arg1
)->GetVeto();
19985 wxPyEndAllowThreads(__tstate
);
19986 if (PyErr_Occurred()) SWIG_fail
;
19989 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19997 static PyObject
* CloseEvent_swigregister(PyObject
*, PyObject
*args
) {
19999 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20000 SWIG_TypeClientData(SWIGTYPE_p_wxCloseEvent
, obj
);
20002 return Py_BuildValue((char *)"");
20004 static PyObject
*_wrap_new_ShowEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20005 PyObject
*resultobj
;
20006 int arg1
= (int) 0 ;
20007 bool arg2
= (bool) false ;
20008 wxShowEvent
*result
;
20009 PyObject
* obj0
= 0 ;
20010 PyObject
* obj1
= 0 ;
20011 char *kwnames
[] = {
20012 (char *) "winid",(char *) "show", NULL
20015 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_ShowEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
20018 arg1
= (int)(SWIG_As_int(obj0
));
20019 if (SWIG_arg_fail(1)) SWIG_fail
;
20024 arg2
= (bool)(SWIG_As_bool(obj1
));
20025 if (SWIG_arg_fail(2)) SWIG_fail
;
20029 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20030 result
= (wxShowEvent
*)new wxShowEvent(arg1
,arg2
);
20032 wxPyEndAllowThreads(__tstate
);
20033 if (PyErr_Occurred()) SWIG_fail
;
20035 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxShowEvent
, 1);
20042 static PyObject
*_wrap_ShowEvent_SetShow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20043 PyObject
*resultobj
;
20044 wxShowEvent
*arg1
= (wxShowEvent
*) 0 ;
20046 PyObject
* obj0
= 0 ;
20047 PyObject
* obj1
= 0 ;
20048 char *kwnames
[] = {
20049 (char *) "self",(char *) "show", NULL
20052 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ShowEvent_SetShow",kwnames
,&obj0
,&obj1
)) goto fail
;
20053 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxShowEvent
, SWIG_POINTER_EXCEPTION
| 0);
20054 if (SWIG_arg_fail(1)) SWIG_fail
;
20056 arg2
= (bool)(SWIG_As_bool(obj1
));
20057 if (SWIG_arg_fail(2)) SWIG_fail
;
20060 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20061 (arg1
)->SetShow(arg2
);
20063 wxPyEndAllowThreads(__tstate
);
20064 if (PyErr_Occurred()) SWIG_fail
;
20066 Py_INCREF(Py_None
); resultobj
= Py_None
;
20073 static PyObject
*_wrap_ShowEvent_GetShow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20074 PyObject
*resultobj
;
20075 wxShowEvent
*arg1
= (wxShowEvent
*) 0 ;
20077 PyObject
* obj0
= 0 ;
20078 char *kwnames
[] = {
20079 (char *) "self", NULL
20082 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ShowEvent_GetShow",kwnames
,&obj0
)) goto fail
;
20083 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxShowEvent
, SWIG_POINTER_EXCEPTION
| 0);
20084 if (SWIG_arg_fail(1)) SWIG_fail
;
20086 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20087 result
= (bool)((wxShowEvent
const *)arg1
)->GetShow();
20089 wxPyEndAllowThreads(__tstate
);
20090 if (PyErr_Occurred()) SWIG_fail
;
20093 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20101 static PyObject
* ShowEvent_swigregister(PyObject
*, PyObject
*args
) {
20103 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20104 SWIG_TypeClientData(SWIGTYPE_p_wxShowEvent
, obj
);
20106 return Py_BuildValue((char *)"");
20108 static PyObject
*_wrap_new_IconizeEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20109 PyObject
*resultobj
;
20110 int arg1
= (int) 0 ;
20111 bool arg2
= (bool) true ;
20112 wxIconizeEvent
*result
;
20113 PyObject
* obj0
= 0 ;
20114 PyObject
* obj1
= 0 ;
20115 char *kwnames
[] = {
20116 (char *) "id",(char *) "iconized", NULL
20119 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_IconizeEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
20122 arg1
= (int)(SWIG_As_int(obj0
));
20123 if (SWIG_arg_fail(1)) SWIG_fail
;
20128 arg2
= (bool)(SWIG_As_bool(obj1
));
20129 if (SWIG_arg_fail(2)) SWIG_fail
;
20133 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20134 result
= (wxIconizeEvent
*)new wxIconizeEvent(arg1
,arg2
);
20136 wxPyEndAllowThreads(__tstate
);
20137 if (PyErr_Occurred()) SWIG_fail
;
20139 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIconizeEvent
, 1);
20146 static PyObject
*_wrap_IconizeEvent_Iconized(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20147 PyObject
*resultobj
;
20148 wxIconizeEvent
*arg1
= (wxIconizeEvent
*) 0 ;
20150 PyObject
* obj0
= 0 ;
20151 char *kwnames
[] = {
20152 (char *) "self", NULL
20155 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IconizeEvent_Iconized",kwnames
,&obj0
)) goto fail
;
20156 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIconizeEvent
, SWIG_POINTER_EXCEPTION
| 0);
20157 if (SWIG_arg_fail(1)) SWIG_fail
;
20159 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20160 result
= (bool)(arg1
)->Iconized();
20162 wxPyEndAllowThreads(__tstate
);
20163 if (PyErr_Occurred()) SWIG_fail
;
20166 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20174 static PyObject
* IconizeEvent_swigregister(PyObject
*, PyObject
*args
) {
20176 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20177 SWIG_TypeClientData(SWIGTYPE_p_wxIconizeEvent
, obj
);
20179 return Py_BuildValue((char *)"");
20181 static PyObject
*_wrap_new_MaximizeEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20182 PyObject
*resultobj
;
20183 int arg1
= (int) 0 ;
20184 wxMaximizeEvent
*result
;
20185 PyObject
* obj0
= 0 ;
20186 char *kwnames
[] = {
20187 (char *) "id", NULL
20190 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_MaximizeEvent",kwnames
,&obj0
)) goto fail
;
20193 arg1
= (int)(SWIG_As_int(obj0
));
20194 if (SWIG_arg_fail(1)) SWIG_fail
;
20198 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20199 result
= (wxMaximizeEvent
*)new wxMaximizeEvent(arg1
);
20201 wxPyEndAllowThreads(__tstate
);
20202 if (PyErr_Occurred()) SWIG_fail
;
20204 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMaximizeEvent
, 1);
20211 static PyObject
* MaximizeEvent_swigregister(PyObject
*, PyObject
*args
) {
20213 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20214 SWIG_TypeClientData(SWIGTYPE_p_wxMaximizeEvent
, obj
);
20216 return Py_BuildValue((char *)"");
20218 static PyObject
*_wrap_DropFilesEvent_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20219 PyObject
*resultobj
;
20220 wxDropFilesEvent
*arg1
= (wxDropFilesEvent
*) 0 ;
20222 PyObject
* obj0
= 0 ;
20223 char *kwnames
[] = {
20224 (char *) "self", NULL
20227 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DropFilesEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
20228 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDropFilesEvent
, SWIG_POINTER_EXCEPTION
| 0);
20229 if (SWIG_arg_fail(1)) SWIG_fail
;
20231 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20232 result
= (arg1
)->GetPosition();
20234 wxPyEndAllowThreads(__tstate
);
20235 if (PyErr_Occurred()) SWIG_fail
;
20238 wxPoint
* resultptr
;
20239 resultptr
= new wxPoint((wxPoint
&)(result
));
20240 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
20248 static PyObject
*_wrap_DropFilesEvent_GetNumberOfFiles(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20249 PyObject
*resultobj
;
20250 wxDropFilesEvent
*arg1
= (wxDropFilesEvent
*) 0 ;
20252 PyObject
* obj0
= 0 ;
20253 char *kwnames
[] = {
20254 (char *) "self", NULL
20257 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DropFilesEvent_GetNumberOfFiles",kwnames
,&obj0
)) goto fail
;
20258 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDropFilesEvent
, SWIG_POINTER_EXCEPTION
| 0);
20259 if (SWIG_arg_fail(1)) SWIG_fail
;
20261 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20262 result
= (int)(arg1
)->GetNumberOfFiles();
20264 wxPyEndAllowThreads(__tstate
);
20265 if (PyErr_Occurred()) SWIG_fail
;
20268 resultobj
= SWIG_From_int((int)(result
));
20276 static PyObject
*_wrap_DropFilesEvent_GetFiles(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20277 PyObject
*resultobj
;
20278 wxDropFilesEvent
*arg1
= (wxDropFilesEvent
*) 0 ;
20280 PyObject
* obj0
= 0 ;
20281 char *kwnames
[] = {
20282 (char *) "self", NULL
20285 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DropFilesEvent_GetFiles",kwnames
,&obj0
)) goto fail
;
20286 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDropFilesEvent
, SWIG_POINTER_EXCEPTION
| 0);
20287 if (SWIG_arg_fail(1)) SWIG_fail
;
20289 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20290 result
= (PyObject
*)wxDropFilesEvent_GetFiles(arg1
);
20292 wxPyEndAllowThreads(__tstate
);
20293 if (PyErr_Occurred()) SWIG_fail
;
20295 resultobj
= result
;
20302 static PyObject
* DropFilesEvent_swigregister(PyObject
*, PyObject
*args
) {
20304 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20305 SWIG_TypeClientData(SWIGTYPE_p_wxDropFilesEvent
, obj
);
20307 return Py_BuildValue((char *)"");
20309 static PyObject
*_wrap_new_UpdateUIEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20310 PyObject
*resultobj
;
20311 int arg1
= (int) 0 ;
20312 wxUpdateUIEvent
*result
;
20313 PyObject
* obj0
= 0 ;
20314 char *kwnames
[] = {
20315 (char *) "commandId", NULL
20318 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_UpdateUIEvent",kwnames
,&obj0
)) goto fail
;
20321 arg1
= (int)(SWIG_As_int(obj0
));
20322 if (SWIG_arg_fail(1)) SWIG_fail
;
20326 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20327 result
= (wxUpdateUIEvent
*)new wxUpdateUIEvent(arg1
);
20329 wxPyEndAllowThreads(__tstate
);
20330 if (PyErr_Occurred()) SWIG_fail
;
20332 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxUpdateUIEvent
, 1);
20339 static PyObject
*_wrap_UpdateUIEvent_GetChecked(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20340 PyObject
*resultobj
;
20341 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
20343 PyObject
* obj0
= 0 ;
20344 char *kwnames
[] = {
20345 (char *) "self", NULL
20348 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_GetChecked",kwnames
,&obj0
)) goto fail
;
20349 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxUpdateUIEvent
, SWIG_POINTER_EXCEPTION
| 0);
20350 if (SWIG_arg_fail(1)) SWIG_fail
;
20352 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20353 result
= (bool)((wxUpdateUIEvent
const *)arg1
)->GetChecked();
20355 wxPyEndAllowThreads(__tstate
);
20356 if (PyErr_Occurred()) SWIG_fail
;
20359 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20367 static PyObject
*_wrap_UpdateUIEvent_GetEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20368 PyObject
*resultobj
;
20369 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
20371 PyObject
* obj0
= 0 ;
20372 char *kwnames
[] = {
20373 (char *) "self", NULL
20376 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_GetEnabled",kwnames
,&obj0
)) goto fail
;
20377 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxUpdateUIEvent
, SWIG_POINTER_EXCEPTION
| 0);
20378 if (SWIG_arg_fail(1)) SWIG_fail
;
20380 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20381 result
= (bool)((wxUpdateUIEvent
const *)arg1
)->GetEnabled();
20383 wxPyEndAllowThreads(__tstate
);
20384 if (PyErr_Occurred()) SWIG_fail
;
20387 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20395 static PyObject
*_wrap_UpdateUIEvent_GetText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20396 PyObject
*resultobj
;
20397 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
20399 PyObject
* obj0
= 0 ;
20400 char *kwnames
[] = {
20401 (char *) "self", NULL
20404 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_GetText",kwnames
,&obj0
)) goto fail
;
20405 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxUpdateUIEvent
, SWIG_POINTER_EXCEPTION
| 0);
20406 if (SWIG_arg_fail(1)) SWIG_fail
;
20408 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20409 result
= ((wxUpdateUIEvent
const *)arg1
)->GetText();
20411 wxPyEndAllowThreads(__tstate
);
20412 if (PyErr_Occurred()) SWIG_fail
;
20416 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
20418 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
20427 static PyObject
*_wrap_UpdateUIEvent_GetSetText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20428 PyObject
*resultobj
;
20429 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
20431 PyObject
* obj0
= 0 ;
20432 char *kwnames
[] = {
20433 (char *) "self", NULL
20436 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_GetSetText",kwnames
,&obj0
)) goto fail
;
20437 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxUpdateUIEvent
, SWIG_POINTER_EXCEPTION
| 0);
20438 if (SWIG_arg_fail(1)) SWIG_fail
;
20440 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20441 result
= (bool)((wxUpdateUIEvent
const *)arg1
)->GetSetText();
20443 wxPyEndAllowThreads(__tstate
);
20444 if (PyErr_Occurred()) SWIG_fail
;
20447 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20455 static PyObject
*_wrap_UpdateUIEvent_GetSetChecked(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20456 PyObject
*resultobj
;
20457 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
20459 PyObject
* obj0
= 0 ;
20460 char *kwnames
[] = {
20461 (char *) "self", NULL
20464 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_GetSetChecked",kwnames
,&obj0
)) goto fail
;
20465 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxUpdateUIEvent
, SWIG_POINTER_EXCEPTION
| 0);
20466 if (SWIG_arg_fail(1)) SWIG_fail
;
20468 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20469 result
= (bool)((wxUpdateUIEvent
const *)arg1
)->GetSetChecked();
20471 wxPyEndAllowThreads(__tstate
);
20472 if (PyErr_Occurred()) SWIG_fail
;
20475 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20483 static PyObject
*_wrap_UpdateUIEvent_GetSetEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20484 PyObject
*resultobj
;
20485 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
20487 PyObject
* obj0
= 0 ;
20488 char *kwnames
[] = {
20489 (char *) "self", NULL
20492 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_GetSetEnabled",kwnames
,&obj0
)) goto fail
;
20493 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxUpdateUIEvent
, SWIG_POINTER_EXCEPTION
| 0);
20494 if (SWIG_arg_fail(1)) SWIG_fail
;
20496 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20497 result
= (bool)((wxUpdateUIEvent
const *)arg1
)->GetSetEnabled();
20499 wxPyEndAllowThreads(__tstate
);
20500 if (PyErr_Occurred()) SWIG_fail
;
20503 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20511 static PyObject
*_wrap_UpdateUIEvent_Check(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20512 PyObject
*resultobj
;
20513 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
20515 PyObject
* obj0
= 0 ;
20516 PyObject
* obj1
= 0 ;
20517 char *kwnames
[] = {
20518 (char *) "self",(char *) "check", NULL
20521 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:UpdateUIEvent_Check",kwnames
,&obj0
,&obj1
)) goto fail
;
20522 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxUpdateUIEvent
, 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
)->Check(arg2
);
20532 wxPyEndAllowThreads(__tstate
);
20533 if (PyErr_Occurred()) SWIG_fail
;
20535 Py_INCREF(Py_None
); resultobj
= Py_None
;
20542 static PyObject
*_wrap_UpdateUIEvent_Enable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20543 PyObject
*resultobj
;
20544 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
20546 PyObject
* obj0
= 0 ;
20547 PyObject
* obj1
= 0 ;
20548 char *kwnames
[] = {
20549 (char *) "self",(char *) "enable", NULL
20552 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:UpdateUIEvent_Enable",kwnames
,&obj0
,&obj1
)) goto fail
;
20553 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxUpdateUIEvent
, SWIG_POINTER_EXCEPTION
| 0);
20554 if (SWIG_arg_fail(1)) SWIG_fail
;
20556 arg2
= (bool)(SWIG_As_bool(obj1
));
20557 if (SWIG_arg_fail(2)) SWIG_fail
;
20560 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20561 (arg1
)->Enable(arg2
);
20563 wxPyEndAllowThreads(__tstate
);
20564 if (PyErr_Occurred()) SWIG_fail
;
20566 Py_INCREF(Py_None
); resultobj
= Py_None
;
20573 static PyObject
*_wrap_UpdateUIEvent_SetText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20574 PyObject
*resultobj
;
20575 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
20576 wxString
*arg2
= 0 ;
20577 bool temp2
= false ;
20578 PyObject
* obj0
= 0 ;
20579 PyObject
* obj1
= 0 ;
20580 char *kwnames
[] = {
20581 (char *) "self",(char *) "text", NULL
20584 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:UpdateUIEvent_SetText",kwnames
,&obj0
,&obj1
)) goto fail
;
20585 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxUpdateUIEvent
, SWIG_POINTER_EXCEPTION
| 0);
20586 if (SWIG_arg_fail(1)) SWIG_fail
;
20588 arg2
= wxString_in_helper(obj1
);
20589 if (arg2
== NULL
) SWIG_fail
;
20593 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20594 (arg1
)->SetText((wxString
const &)*arg2
);
20596 wxPyEndAllowThreads(__tstate
);
20597 if (PyErr_Occurred()) SWIG_fail
;
20599 Py_INCREF(Py_None
); resultobj
= Py_None
;
20614 static PyObject
*_wrap_UpdateUIEvent_SetUpdateInterval(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20615 PyObject
*resultobj
;
20617 PyObject
* obj0
= 0 ;
20618 char *kwnames
[] = {
20619 (char *) "updateInterval", NULL
20622 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_SetUpdateInterval",kwnames
,&obj0
)) goto fail
;
20624 arg1
= (long)(SWIG_As_long(obj0
));
20625 if (SWIG_arg_fail(1)) SWIG_fail
;
20628 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20629 wxUpdateUIEvent::SetUpdateInterval(arg1
);
20631 wxPyEndAllowThreads(__tstate
);
20632 if (PyErr_Occurred()) SWIG_fail
;
20634 Py_INCREF(Py_None
); resultobj
= Py_None
;
20641 static PyObject
*_wrap_UpdateUIEvent_GetUpdateInterval(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20642 PyObject
*resultobj
;
20644 char *kwnames
[] = {
20648 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":UpdateUIEvent_GetUpdateInterval",kwnames
)) goto fail
;
20650 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20651 result
= (long)wxUpdateUIEvent::GetUpdateInterval();
20653 wxPyEndAllowThreads(__tstate
);
20654 if (PyErr_Occurred()) SWIG_fail
;
20657 resultobj
= SWIG_From_long((long)(result
));
20665 static PyObject
*_wrap_UpdateUIEvent_CanUpdate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20666 PyObject
*resultobj
;
20667 wxWindow
*arg1
= (wxWindow
*) 0 ;
20669 PyObject
* obj0
= 0 ;
20670 char *kwnames
[] = {
20671 (char *) "win", NULL
20674 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_CanUpdate",kwnames
,&obj0
)) goto fail
;
20675 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
20676 if (SWIG_arg_fail(1)) SWIG_fail
;
20678 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20679 result
= (bool)wxUpdateUIEvent::CanUpdate(arg1
);
20681 wxPyEndAllowThreads(__tstate
);
20682 if (PyErr_Occurred()) SWIG_fail
;
20685 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20693 static PyObject
*_wrap_UpdateUIEvent_ResetUpdateTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20694 PyObject
*resultobj
;
20695 char *kwnames
[] = {
20699 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":UpdateUIEvent_ResetUpdateTime",kwnames
)) goto fail
;
20701 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20702 wxUpdateUIEvent::ResetUpdateTime();
20704 wxPyEndAllowThreads(__tstate
);
20705 if (PyErr_Occurred()) SWIG_fail
;
20707 Py_INCREF(Py_None
); resultobj
= Py_None
;
20714 static PyObject
*_wrap_UpdateUIEvent_SetMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20715 PyObject
*resultobj
;
20716 wxUpdateUIMode arg1
;
20717 PyObject
* obj0
= 0 ;
20718 char *kwnames
[] = {
20719 (char *) "mode", NULL
20722 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_SetMode",kwnames
,&obj0
)) goto fail
;
20724 arg1
= (wxUpdateUIMode
)(SWIG_As_int(obj0
));
20725 if (SWIG_arg_fail(1)) SWIG_fail
;
20728 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20729 wxUpdateUIEvent::SetMode((wxUpdateUIMode
)arg1
);
20731 wxPyEndAllowThreads(__tstate
);
20732 if (PyErr_Occurred()) SWIG_fail
;
20734 Py_INCREF(Py_None
); resultobj
= Py_None
;
20741 static PyObject
*_wrap_UpdateUIEvent_GetMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20742 PyObject
*resultobj
;
20743 wxUpdateUIMode result
;
20744 char *kwnames
[] = {
20748 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":UpdateUIEvent_GetMode",kwnames
)) goto fail
;
20750 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20751 result
= (wxUpdateUIMode
)wxUpdateUIEvent::GetMode();
20753 wxPyEndAllowThreads(__tstate
);
20754 if (PyErr_Occurred()) SWIG_fail
;
20756 resultobj
= SWIG_From_int((result
));
20763 static PyObject
* UpdateUIEvent_swigregister(PyObject
*, PyObject
*args
) {
20765 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20766 SWIG_TypeClientData(SWIGTYPE_p_wxUpdateUIEvent
, obj
);
20768 return Py_BuildValue((char *)"");
20770 static PyObject
*_wrap_new_SysColourChangedEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20771 PyObject
*resultobj
;
20772 wxSysColourChangedEvent
*result
;
20773 char *kwnames
[] = {
20777 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_SysColourChangedEvent",kwnames
)) goto fail
;
20779 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20780 result
= (wxSysColourChangedEvent
*)new wxSysColourChangedEvent();
20782 wxPyEndAllowThreads(__tstate
);
20783 if (PyErr_Occurred()) SWIG_fail
;
20785 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSysColourChangedEvent
, 1);
20792 static PyObject
* SysColourChangedEvent_swigregister(PyObject
*, PyObject
*args
) {
20794 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20795 SWIG_TypeClientData(SWIGTYPE_p_wxSysColourChangedEvent
, obj
);
20797 return Py_BuildValue((char *)"");
20799 static PyObject
*_wrap_new_MouseCaptureChangedEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20800 PyObject
*resultobj
;
20801 int arg1
= (int) 0 ;
20802 wxWindow
*arg2
= (wxWindow
*) NULL
;
20803 wxMouseCaptureChangedEvent
*result
;
20804 PyObject
* obj0
= 0 ;
20805 PyObject
* obj1
= 0 ;
20806 char *kwnames
[] = {
20807 (char *) "winid",(char *) "gainedCapture", NULL
20810 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_MouseCaptureChangedEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
20813 arg1
= (int)(SWIG_As_int(obj0
));
20814 if (SWIG_arg_fail(1)) SWIG_fail
;
20818 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
20819 if (SWIG_arg_fail(2)) SWIG_fail
;
20822 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20823 result
= (wxMouseCaptureChangedEvent
*)new wxMouseCaptureChangedEvent(arg1
,arg2
);
20825 wxPyEndAllowThreads(__tstate
);
20826 if (PyErr_Occurred()) SWIG_fail
;
20828 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMouseCaptureChangedEvent
, 1);
20835 static PyObject
*_wrap_MouseCaptureChangedEvent_GetCapturedWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20836 PyObject
*resultobj
;
20837 wxMouseCaptureChangedEvent
*arg1
= (wxMouseCaptureChangedEvent
*) 0 ;
20839 PyObject
* obj0
= 0 ;
20840 char *kwnames
[] = {
20841 (char *) "self", NULL
20844 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseCaptureChangedEvent_GetCapturedWindow",kwnames
,&obj0
)) goto fail
;
20845 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseCaptureChangedEvent
, SWIG_POINTER_EXCEPTION
| 0);
20846 if (SWIG_arg_fail(1)) SWIG_fail
;
20848 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20849 result
= (wxWindow
*)((wxMouseCaptureChangedEvent
const *)arg1
)->GetCapturedWindow();
20851 wxPyEndAllowThreads(__tstate
);
20852 if (PyErr_Occurred()) SWIG_fail
;
20855 resultobj
= wxPyMake_wxObject(result
, 0);
20863 static PyObject
* MouseCaptureChangedEvent_swigregister(PyObject
*, PyObject
*args
) {
20865 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20866 SWIG_TypeClientData(SWIGTYPE_p_wxMouseCaptureChangedEvent
, obj
);
20868 return Py_BuildValue((char *)"");
20870 static PyObject
*_wrap_new_DisplayChangedEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20871 PyObject
*resultobj
;
20872 wxDisplayChangedEvent
*result
;
20873 char *kwnames
[] = {
20877 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_DisplayChangedEvent",kwnames
)) goto fail
;
20879 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20880 result
= (wxDisplayChangedEvent
*)new wxDisplayChangedEvent();
20882 wxPyEndAllowThreads(__tstate
);
20883 if (PyErr_Occurred()) SWIG_fail
;
20885 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDisplayChangedEvent
, 1);
20892 static PyObject
* DisplayChangedEvent_swigregister(PyObject
*, PyObject
*args
) {
20894 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20895 SWIG_TypeClientData(SWIGTYPE_p_wxDisplayChangedEvent
, obj
);
20897 return Py_BuildValue((char *)"");
20899 static PyObject
*_wrap_new_PaletteChangedEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20900 PyObject
*resultobj
;
20901 int arg1
= (int) 0 ;
20902 wxPaletteChangedEvent
*result
;
20903 PyObject
* obj0
= 0 ;
20904 char *kwnames
[] = {
20905 (char *) "id", NULL
20908 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_PaletteChangedEvent",kwnames
,&obj0
)) goto fail
;
20911 arg1
= (int)(SWIG_As_int(obj0
));
20912 if (SWIG_arg_fail(1)) SWIG_fail
;
20916 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20917 result
= (wxPaletteChangedEvent
*)new wxPaletteChangedEvent(arg1
);
20919 wxPyEndAllowThreads(__tstate
);
20920 if (PyErr_Occurred()) SWIG_fail
;
20922 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPaletteChangedEvent
, 1);
20929 static PyObject
*_wrap_PaletteChangedEvent_SetChangedWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20930 PyObject
*resultobj
;
20931 wxPaletteChangedEvent
*arg1
= (wxPaletteChangedEvent
*) 0 ;
20932 wxWindow
*arg2
= (wxWindow
*) 0 ;
20933 PyObject
* obj0
= 0 ;
20934 PyObject
* obj1
= 0 ;
20935 char *kwnames
[] = {
20936 (char *) "self",(char *) "win", NULL
20939 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PaletteChangedEvent_SetChangedWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
20940 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPaletteChangedEvent
, SWIG_POINTER_EXCEPTION
| 0);
20941 if (SWIG_arg_fail(1)) SWIG_fail
;
20942 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
20943 if (SWIG_arg_fail(2)) SWIG_fail
;
20945 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20946 (arg1
)->SetChangedWindow(arg2
);
20948 wxPyEndAllowThreads(__tstate
);
20949 if (PyErr_Occurred()) SWIG_fail
;
20951 Py_INCREF(Py_None
); resultobj
= Py_None
;
20958 static PyObject
*_wrap_PaletteChangedEvent_GetChangedWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20959 PyObject
*resultobj
;
20960 wxPaletteChangedEvent
*arg1
= (wxPaletteChangedEvent
*) 0 ;
20962 PyObject
* obj0
= 0 ;
20963 char *kwnames
[] = {
20964 (char *) "self", NULL
20967 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PaletteChangedEvent_GetChangedWindow",kwnames
,&obj0
)) goto fail
;
20968 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPaletteChangedEvent
, SWIG_POINTER_EXCEPTION
| 0);
20969 if (SWIG_arg_fail(1)) SWIG_fail
;
20971 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20972 result
= (wxWindow
*)(arg1
)->GetChangedWindow();
20974 wxPyEndAllowThreads(__tstate
);
20975 if (PyErr_Occurred()) SWIG_fail
;
20978 resultobj
= wxPyMake_wxObject(result
, 0);
20986 static PyObject
* PaletteChangedEvent_swigregister(PyObject
*, PyObject
*args
) {
20988 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20989 SWIG_TypeClientData(SWIGTYPE_p_wxPaletteChangedEvent
, obj
);
20991 return Py_BuildValue((char *)"");
20993 static PyObject
*_wrap_new_QueryNewPaletteEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20994 PyObject
*resultobj
;
20995 int arg1
= (int) 0 ;
20996 wxQueryNewPaletteEvent
*result
;
20997 PyObject
* obj0
= 0 ;
20998 char *kwnames
[] = {
20999 (char *) "winid", NULL
21002 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_QueryNewPaletteEvent",kwnames
,&obj0
)) goto fail
;
21005 arg1
= (int)(SWIG_As_int(obj0
));
21006 if (SWIG_arg_fail(1)) SWIG_fail
;
21010 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21011 result
= (wxQueryNewPaletteEvent
*)new wxQueryNewPaletteEvent(arg1
);
21013 wxPyEndAllowThreads(__tstate
);
21014 if (PyErr_Occurred()) SWIG_fail
;
21016 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxQueryNewPaletteEvent
, 1);
21023 static PyObject
*_wrap_QueryNewPaletteEvent_SetPaletteRealized(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21024 PyObject
*resultobj
;
21025 wxQueryNewPaletteEvent
*arg1
= (wxQueryNewPaletteEvent
*) 0 ;
21027 PyObject
* obj0
= 0 ;
21028 PyObject
* obj1
= 0 ;
21029 char *kwnames
[] = {
21030 (char *) "self",(char *) "realized", NULL
21033 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryNewPaletteEvent_SetPaletteRealized",kwnames
,&obj0
,&obj1
)) goto fail
;
21034 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxQueryNewPaletteEvent
, SWIG_POINTER_EXCEPTION
| 0);
21035 if (SWIG_arg_fail(1)) SWIG_fail
;
21037 arg2
= (bool)(SWIG_As_bool(obj1
));
21038 if (SWIG_arg_fail(2)) SWIG_fail
;
21041 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21042 (arg1
)->SetPaletteRealized(arg2
);
21044 wxPyEndAllowThreads(__tstate
);
21045 if (PyErr_Occurred()) SWIG_fail
;
21047 Py_INCREF(Py_None
); resultobj
= Py_None
;
21054 static PyObject
*_wrap_QueryNewPaletteEvent_GetPaletteRealized(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21055 PyObject
*resultobj
;
21056 wxQueryNewPaletteEvent
*arg1
= (wxQueryNewPaletteEvent
*) 0 ;
21058 PyObject
* obj0
= 0 ;
21059 char *kwnames
[] = {
21060 (char *) "self", NULL
21063 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:QueryNewPaletteEvent_GetPaletteRealized",kwnames
,&obj0
)) goto fail
;
21064 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxQueryNewPaletteEvent
, SWIG_POINTER_EXCEPTION
| 0);
21065 if (SWIG_arg_fail(1)) SWIG_fail
;
21067 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21068 result
= (bool)((wxQueryNewPaletteEvent
const *)arg1
)->GetPaletteRealized();
21070 wxPyEndAllowThreads(__tstate
);
21071 if (PyErr_Occurred()) SWIG_fail
;
21074 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21082 static PyObject
* QueryNewPaletteEvent_swigregister(PyObject
*, PyObject
*args
) {
21084 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21085 SWIG_TypeClientData(SWIGTYPE_p_wxQueryNewPaletteEvent
, obj
);
21087 return Py_BuildValue((char *)"");
21089 static PyObject
*_wrap_new_NavigationKeyEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21090 PyObject
*resultobj
;
21091 wxNavigationKeyEvent
*result
;
21092 char *kwnames
[] = {
21096 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_NavigationKeyEvent",kwnames
)) goto fail
;
21098 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21099 result
= (wxNavigationKeyEvent
*)new wxNavigationKeyEvent();
21101 wxPyEndAllowThreads(__tstate
);
21102 if (PyErr_Occurred()) SWIG_fail
;
21104 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNavigationKeyEvent
, 1);
21111 static PyObject
*_wrap_NavigationKeyEvent_GetDirection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21112 PyObject
*resultobj
;
21113 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
21115 PyObject
* obj0
= 0 ;
21116 char *kwnames
[] = {
21117 (char *) "self", NULL
21120 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NavigationKeyEvent_GetDirection",kwnames
,&obj0
)) goto fail
;
21121 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNavigationKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
21122 if (SWIG_arg_fail(1)) SWIG_fail
;
21124 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21125 result
= (bool)((wxNavigationKeyEvent
const *)arg1
)->GetDirection();
21127 wxPyEndAllowThreads(__tstate
);
21128 if (PyErr_Occurred()) SWIG_fail
;
21131 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21139 static PyObject
*_wrap_NavigationKeyEvent_SetDirection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21140 PyObject
*resultobj
;
21141 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
21143 PyObject
* obj0
= 0 ;
21144 PyObject
* obj1
= 0 ;
21145 char *kwnames
[] = {
21146 (char *) "self",(char *) "forward", NULL
21149 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NavigationKeyEvent_SetDirection",kwnames
,&obj0
,&obj1
)) goto fail
;
21150 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNavigationKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
21151 if (SWIG_arg_fail(1)) SWIG_fail
;
21153 arg2
= (bool)(SWIG_As_bool(obj1
));
21154 if (SWIG_arg_fail(2)) SWIG_fail
;
21157 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21158 (arg1
)->SetDirection(arg2
);
21160 wxPyEndAllowThreads(__tstate
);
21161 if (PyErr_Occurred()) SWIG_fail
;
21163 Py_INCREF(Py_None
); resultobj
= Py_None
;
21170 static PyObject
*_wrap_NavigationKeyEvent_IsWindowChange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21171 PyObject
*resultobj
;
21172 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
21174 PyObject
* obj0
= 0 ;
21175 char *kwnames
[] = {
21176 (char *) "self", NULL
21179 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NavigationKeyEvent_IsWindowChange",kwnames
,&obj0
)) goto fail
;
21180 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNavigationKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
21181 if (SWIG_arg_fail(1)) SWIG_fail
;
21183 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21184 result
= (bool)((wxNavigationKeyEvent
const *)arg1
)->IsWindowChange();
21186 wxPyEndAllowThreads(__tstate
);
21187 if (PyErr_Occurred()) SWIG_fail
;
21190 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21198 static PyObject
*_wrap_NavigationKeyEvent_SetWindowChange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21199 PyObject
*resultobj
;
21200 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
21202 PyObject
* obj0
= 0 ;
21203 PyObject
* obj1
= 0 ;
21204 char *kwnames
[] = {
21205 (char *) "self",(char *) "ischange", NULL
21208 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NavigationKeyEvent_SetWindowChange",kwnames
,&obj0
,&obj1
)) goto fail
;
21209 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNavigationKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
21210 if (SWIG_arg_fail(1)) SWIG_fail
;
21212 arg2
= (bool)(SWIG_As_bool(obj1
));
21213 if (SWIG_arg_fail(2)) SWIG_fail
;
21216 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21217 (arg1
)->SetWindowChange(arg2
);
21219 wxPyEndAllowThreads(__tstate
);
21220 if (PyErr_Occurred()) SWIG_fail
;
21222 Py_INCREF(Py_None
); resultobj
= Py_None
;
21229 static PyObject
*_wrap_NavigationKeyEvent_IsFromTab(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21230 PyObject
*resultobj
;
21231 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
21233 PyObject
* obj0
= 0 ;
21234 char *kwnames
[] = {
21235 (char *) "self", NULL
21238 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NavigationKeyEvent_IsFromTab",kwnames
,&obj0
)) goto fail
;
21239 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNavigationKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
21240 if (SWIG_arg_fail(1)) SWIG_fail
;
21242 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21243 result
= (bool)((wxNavigationKeyEvent
const *)arg1
)->IsFromTab();
21245 wxPyEndAllowThreads(__tstate
);
21246 if (PyErr_Occurred()) SWIG_fail
;
21249 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21257 static PyObject
*_wrap_NavigationKeyEvent_SetFromTab(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21258 PyObject
*resultobj
;
21259 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
21261 PyObject
* obj0
= 0 ;
21262 PyObject
* obj1
= 0 ;
21263 char *kwnames
[] = {
21264 (char *) "self",(char *) "bIs", NULL
21267 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NavigationKeyEvent_SetFromTab",kwnames
,&obj0
,&obj1
)) goto fail
;
21268 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNavigationKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
21269 if (SWIG_arg_fail(1)) SWIG_fail
;
21271 arg2
= (bool)(SWIG_As_bool(obj1
));
21272 if (SWIG_arg_fail(2)) SWIG_fail
;
21275 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21276 (arg1
)->SetFromTab(arg2
);
21278 wxPyEndAllowThreads(__tstate
);
21279 if (PyErr_Occurred()) SWIG_fail
;
21281 Py_INCREF(Py_None
); resultobj
= Py_None
;
21288 static PyObject
*_wrap_NavigationKeyEvent_SetFlags(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21289 PyObject
*resultobj
;
21290 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
21292 PyObject
* obj0
= 0 ;
21293 PyObject
* obj1
= 0 ;
21294 char *kwnames
[] = {
21295 (char *) "self",(char *) "flags", NULL
21298 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NavigationKeyEvent_SetFlags",kwnames
,&obj0
,&obj1
)) goto fail
;
21299 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNavigationKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
21300 if (SWIG_arg_fail(1)) SWIG_fail
;
21302 arg2
= (long)(SWIG_As_long(obj1
));
21303 if (SWIG_arg_fail(2)) SWIG_fail
;
21306 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21307 (arg1
)->SetFlags(arg2
);
21309 wxPyEndAllowThreads(__tstate
);
21310 if (PyErr_Occurred()) SWIG_fail
;
21312 Py_INCREF(Py_None
); resultobj
= Py_None
;
21319 static PyObject
*_wrap_NavigationKeyEvent_GetCurrentFocus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21320 PyObject
*resultobj
;
21321 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
21323 PyObject
* obj0
= 0 ;
21324 char *kwnames
[] = {
21325 (char *) "self", NULL
21328 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NavigationKeyEvent_GetCurrentFocus",kwnames
,&obj0
)) goto fail
;
21329 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNavigationKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
21330 if (SWIG_arg_fail(1)) SWIG_fail
;
21332 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21333 result
= (wxWindow
*)((wxNavigationKeyEvent
const *)arg1
)->GetCurrentFocus();
21335 wxPyEndAllowThreads(__tstate
);
21336 if (PyErr_Occurred()) SWIG_fail
;
21339 resultobj
= wxPyMake_wxObject(result
, 0);
21347 static PyObject
*_wrap_NavigationKeyEvent_SetCurrentFocus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21348 PyObject
*resultobj
;
21349 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
21350 wxWindow
*arg2
= (wxWindow
*) 0 ;
21351 PyObject
* obj0
= 0 ;
21352 PyObject
* obj1
= 0 ;
21353 char *kwnames
[] = {
21354 (char *) "self",(char *) "win", NULL
21357 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NavigationKeyEvent_SetCurrentFocus",kwnames
,&obj0
,&obj1
)) goto fail
;
21358 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNavigationKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
21359 if (SWIG_arg_fail(1)) SWIG_fail
;
21360 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
21361 if (SWIG_arg_fail(2)) SWIG_fail
;
21363 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21364 (arg1
)->SetCurrentFocus(arg2
);
21366 wxPyEndAllowThreads(__tstate
);
21367 if (PyErr_Occurred()) SWIG_fail
;
21369 Py_INCREF(Py_None
); resultobj
= Py_None
;
21376 static PyObject
* NavigationKeyEvent_swigregister(PyObject
*, PyObject
*args
) {
21378 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21379 SWIG_TypeClientData(SWIGTYPE_p_wxNavigationKeyEvent
, obj
);
21381 return Py_BuildValue((char *)"");
21383 static PyObject
*_wrap_new_WindowCreateEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21384 PyObject
*resultobj
;
21385 wxWindow
*arg1
= (wxWindow
*) NULL
;
21386 wxWindowCreateEvent
*result
;
21387 PyObject
* obj0
= 0 ;
21388 char *kwnames
[] = {
21389 (char *) "win", NULL
21392 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_WindowCreateEvent",kwnames
,&obj0
)) goto fail
;
21394 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
21395 if (SWIG_arg_fail(1)) SWIG_fail
;
21398 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21399 result
= (wxWindowCreateEvent
*)new wxWindowCreateEvent(arg1
);
21401 wxPyEndAllowThreads(__tstate
);
21402 if (PyErr_Occurred()) SWIG_fail
;
21404 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxWindowCreateEvent
, 1);
21411 static PyObject
*_wrap_WindowCreateEvent_GetWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21412 PyObject
*resultobj
;
21413 wxWindowCreateEvent
*arg1
= (wxWindowCreateEvent
*) 0 ;
21415 PyObject
* obj0
= 0 ;
21416 char *kwnames
[] = {
21417 (char *) "self", NULL
21420 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:WindowCreateEvent_GetWindow",kwnames
,&obj0
)) goto fail
;
21421 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindowCreateEvent
, SWIG_POINTER_EXCEPTION
| 0);
21422 if (SWIG_arg_fail(1)) SWIG_fail
;
21424 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21425 result
= (wxWindow
*)((wxWindowCreateEvent
const *)arg1
)->GetWindow();
21427 wxPyEndAllowThreads(__tstate
);
21428 if (PyErr_Occurred()) SWIG_fail
;
21431 resultobj
= wxPyMake_wxObject(result
, 0);
21439 static PyObject
* WindowCreateEvent_swigregister(PyObject
*, PyObject
*args
) {
21441 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21442 SWIG_TypeClientData(SWIGTYPE_p_wxWindowCreateEvent
, obj
);
21444 return Py_BuildValue((char *)"");
21446 static PyObject
*_wrap_new_WindowDestroyEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21447 PyObject
*resultobj
;
21448 wxWindow
*arg1
= (wxWindow
*) NULL
;
21449 wxWindowDestroyEvent
*result
;
21450 PyObject
* obj0
= 0 ;
21451 char *kwnames
[] = {
21452 (char *) "win", NULL
21455 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_WindowDestroyEvent",kwnames
,&obj0
)) goto fail
;
21457 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
21458 if (SWIG_arg_fail(1)) SWIG_fail
;
21461 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21462 result
= (wxWindowDestroyEvent
*)new wxWindowDestroyEvent(arg1
);
21464 wxPyEndAllowThreads(__tstate
);
21465 if (PyErr_Occurred()) SWIG_fail
;
21467 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxWindowDestroyEvent
, 1);
21474 static PyObject
*_wrap_WindowDestroyEvent_GetWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21475 PyObject
*resultobj
;
21476 wxWindowDestroyEvent
*arg1
= (wxWindowDestroyEvent
*) 0 ;
21478 PyObject
* obj0
= 0 ;
21479 char *kwnames
[] = {
21480 (char *) "self", NULL
21483 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:WindowDestroyEvent_GetWindow",kwnames
,&obj0
)) goto fail
;
21484 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindowDestroyEvent
, SWIG_POINTER_EXCEPTION
| 0);
21485 if (SWIG_arg_fail(1)) SWIG_fail
;
21487 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21488 result
= (wxWindow
*)((wxWindowDestroyEvent
const *)arg1
)->GetWindow();
21490 wxPyEndAllowThreads(__tstate
);
21491 if (PyErr_Occurred()) SWIG_fail
;
21494 resultobj
= wxPyMake_wxObject(result
, 0);
21502 static PyObject
* WindowDestroyEvent_swigregister(PyObject
*, PyObject
*args
) {
21504 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21505 SWIG_TypeClientData(SWIGTYPE_p_wxWindowDestroyEvent
, obj
);
21507 return Py_BuildValue((char *)"");
21509 static PyObject
*_wrap_new_ContextMenuEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21510 PyObject
*resultobj
;
21511 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
21512 int arg2
= (int) 0 ;
21513 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
21514 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
21515 wxContextMenuEvent
*result
;
21517 PyObject
* obj0
= 0 ;
21518 PyObject
* obj1
= 0 ;
21519 PyObject
* obj2
= 0 ;
21520 char *kwnames
[] = {
21521 (char *) "type",(char *) "winid",(char *) "pt", NULL
21524 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_ContextMenuEvent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21527 arg1
= (wxEventType
)(SWIG_As_int(obj0
));
21528 if (SWIG_arg_fail(1)) SWIG_fail
;
21533 arg2
= (int)(SWIG_As_int(obj1
));
21534 if (SWIG_arg_fail(2)) SWIG_fail
;
21540 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
21544 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21545 result
= (wxContextMenuEvent
*)new wxContextMenuEvent(arg1
,arg2
,(wxPoint
const &)*arg3
);
21547 wxPyEndAllowThreads(__tstate
);
21548 if (PyErr_Occurred()) SWIG_fail
;
21550 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxContextMenuEvent
, 1);
21557 static PyObject
*_wrap_ContextMenuEvent_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21558 PyObject
*resultobj
;
21559 wxContextMenuEvent
*arg1
= (wxContextMenuEvent
*) 0 ;
21561 PyObject
* obj0
= 0 ;
21562 char *kwnames
[] = {
21563 (char *) "self", NULL
21566 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ContextMenuEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
21567 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxContextMenuEvent
, SWIG_POINTER_EXCEPTION
| 0);
21568 if (SWIG_arg_fail(1)) SWIG_fail
;
21570 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21572 wxPoint
const &_result_ref
= ((wxContextMenuEvent
const *)arg1
)->GetPosition();
21573 result
= (wxPoint
*) &_result_ref
;
21576 wxPyEndAllowThreads(__tstate
);
21577 if (PyErr_Occurred()) SWIG_fail
;
21579 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint
, 0);
21586 static PyObject
*_wrap_ContextMenuEvent_SetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21587 PyObject
*resultobj
;
21588 wxContextMenuEvent
*arg1
= (wxContextMenuEvent
*) 0 ;
21589 wxPoint
*arg2
= 0 ;
21591 PyObject
* obj0
= 0 ;
21592 PyObject
* obj1
= 0 ;
21593 char *kwnames
[] = {
21594 (char *) "self",(char *) "pos", NULL
21597 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ContextMenuEvent_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
21598 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxContextMenuEvent
, SWIG_POINTER_EXCEPTION
| 0);
21599 if (SWIG_arg_fail(1)) SWIG_fail
;
21602 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
21605 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21606 (arg1
)->SetPosition((wxPoint
const &)*arg2
);
21608 wxPyEndAllowThreads(__tstate
);
21609 if (PyErr_Occurred()) SWIG_fail
;
21611 Py_INCREF(Py_None
); resultobj
= Py_None
;
21618 static PyObject
* ContextMenuEvent_swigregister(PyObject
*, PyObject
*args
) {
21620 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21621 SWIG_TypeClientData(SWIGTYPE_p_wxContextMenuEvent
, obj
);
21623 return Py_BuildValue((char *)"");
21625 static PyObject
*_wrap_new_IdleEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21626 PyObject
*resultobj
;
21627 wxIdleEvent
*result
;
21628 char *kwnames
[] = {
21632 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_IdleEvent",kwnames
)) goto fail
;
21634 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21635 result
= (wxIdleEvent
*)new wxIdleEvent();
21637 wxPyEndAllowThreads(__tstate
);
21638 if (PyErr_Occurred()) SWIG_fail
;
21640 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIdleEvent
, 1);
21647 static PyObject
*_wrap_IdleEvent_RequestMore(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21648 PyObject
*resultobj
;
21649 wxIdleEvent
*arg1
= (wxIdleEvent
*) 0 ;
21650 bool arg2
= (bool) true ;
21651 PyObject
* obj0
= 0 ;
21652 PyObject
* obj1
= 0 ;
21653 char *kwnames
[] = {
21654 (char *) "self",(char *) "needMore", NULL
21657 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:IdleEvent_RequestMore",kwnames
,&obj0
,&obj1
)) goto fail
;
21658 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIdleEvent
, SWIG_POINTER_EXCEPTION
| 0);
21659 if (SWIG_arg_fail(1)) SWIG_fail
;
21662 arg2
= (bool)(SWIG_As_bool(obj1
));
21663 if (SWIG_arg_fail(2)) SWIG_fail
;
21667 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21668 (arg1
)->RequestMore(arg2
);
21670 wxPyEndAllowThreads(__tstate
);
21671 if (PyErr_Occurred()) SWIG_fail
;
21673 Py_INCREF(Py_None
); resultobj
= Py_None
;
21680 static PyObject
*_wrap_IdleEvent_MoreRequested(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21681 PyObject
*resultobj
;
21682 wxIdleEvent
*arg1
= (wxIdleEvent
*) 0 ;
21684 PyObject
* obj0
= 0 ;
21685 char *kwnames
[] = {
21686 (char *) "self", NULL
21689 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IdleEvent_MoreRequested",kwnames
,&obj0
)) goto fail
;
21690 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIdleEvent
, SWIG_POINTER_EXCEPTION
| 0);
21691 if (SWIG_arg_fail(1)) SWIG_fail
;
21693 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21694 result
= (bool)((wxIdleEvent
const *)arg1
)->MoreRequested();
21696 wxPyEndAllowThreads(__tstate
);
21697 if (PyErr_Occurred()) SWIG_fail
;
21700 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21708 static PyObject
*_wrap_IdleEvent_SetMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21709 PyObject
*resultobj
;
21711 PyObject
* obj0
= 0 ;
21712 char *kwnames
[] = {
21713 (char *) "mode", NULL
21716 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IdleEvent_SetMode",kwnames
,&obj0
)) goto fail
;
21718 arg1
= (wxIdleMode
)(SWIG_As_int(obj0
));
21719 if (SWIG_arg_fail(1)) SWIG_fail
;
21722 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21723 wxIdleEvent::SetMode((wxIdleMode
)arg1
);
21725 wxPyEndAllowThreads(__tstate
);
21726 if (PyErr_Occurred()) SWIG_fail
;
21728 Py_INCREF(Py_None
); resultobj
= Py_None
;
21735 static PyObject
*_wrap_IdleEvent_GetMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21736 PyObject
*resultobj
;
21738 char *kwnames
[] = {
21742 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":IdleEvent_GetMode",kwnames
)) goto fail
;
21744 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21745 result
= (wxIdleMode
)wxIdleEvent::GetMode();
21747 wxPyEndAllowThreads(__tstate
);
21748 if (PyErr_Occurred()) SWIG_fail
;
21750 resultobj
= SWIG_From_int((result
));
21757 static PyObject
*_wrap_IdleEvent_CanSend(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21758 PyObject
*resultobj
;
21759 wxWindow
*arg1
= (wxWindow
*) 0 ;
21761 PyObject
* obj0
= 0 ;
21762 char *kwnames
[] = {
21763 (char *) "win", NULL
21766 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IdleEvent_CanSend",kwnames
,&obj0
)) goto fail
;
21767 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
21768 if (SWIG_arg_fail(1)) SWIG_fail
;
21770 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21771 result
= (bool)wxIdleEvent::CanSend(arg1
);
21773 wxPyEndAllowThreads(__tstate
);
21774 if (PyErr_Occurred()) SWIG_fail
;
21777 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21785 static PyObject
* IdleEvent_swigregister(PyObject
*, PyObject
*args
) {
21787 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21788 SWIG_TypeClientData(SWIGTYPE_p_wxIdleEvent
, obj
);
21790 return Py_BuildValue((char *)"");
21792 static PyObject
*_wrap_new_PyEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21793 PyObject
*resultobj
;
21794 int arg1
= (int) 0 ;
21795 wxEventType arg2
= (wxEventType
) wxEVT_NULL
;
21797 PyObject
* obj0
= 0 ;
21798 PyObject
* obj1
= 0 ;
21799 char *kwnames
[] = {
21800 (char *) "winid",(char *) "commandType", NULL
21803 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_PyEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
21806 arg1
= (int)(SWIG_As_int(obj0
));
21807 if (SWIG_arg_fail(1)) SWIG_fail
;
21812 arg2
= (wxEventType
)(SWIG_As_int(obj1
));
21813 if (SWIG_arg_fail(2)) SWIG_fail
;
21817 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21818 result
= (wxPyEvent
*)new wxPyEvent(arg1
,arg2
);
21820 wxPyEndAllowThreads(__tstate
);
21821 if (PyErr_Occurred()) SWIG_fail
;
21823 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyEvent
, 1);
21830 static PyObject
*_wrap_delete_PyEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21831 PyObject
*resultobj
;
21832 wxPyEvent
*arg1
= (wxPyEvent
*) 0 ;
21833 PyObject
* obj0
= 0 ;
21834 char *kwnames
[] = {
21835 (char *) "self", NULL
21838 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PyEvent",kwnames
,&obj0
)) goto fail
;
21839 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyEvent
, SWIG_POINTER_EXCEPTION
| 0);
21840 if (SWIG_arg_fail(1)) SWIG_fail
;
21842 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21845 wxPyEndAllowThreads(__tstate
);
21846 if (PyErr_Occurred()) SWIG_fail
;
21848 Py_INCREF(Py_None
); resultobj
= Py_None
;
21855 static PyObject
*_wrap_PyEvent_SetSelf(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21856 PyObject
*resultobj
;
21857 wxPyEvent
*arg1
= (wxPyEvent
*) 0 ;
21858 PyObject
*arg2
= (PyObject
*) 0 ;
21859 PyObject
* obj0
= 0 ;
21860 PyObject
* obj1
= 0 ;
21861 char *kwnames
[] = {
21862 (char *) "self",(char *) "self", NULL
21865 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyEvent_SetSelf",kwnames
,&obj0
,&obj1
)) goto fail
;
21866 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyEvent
, SWIG_POINTER_EXCEPTION
| 0);
21867 if (SWIG_arg_fail(1)) SWIG_fail
;
21870 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21871 (arg1
)->SetSelf(arg2
);
21873 wxPyEndAllowThreads(__tstate
);
21874 if (PyErr_Occurred()) SWIG_fail
;
21876 Py_INCREF(Py_None
); resultobj
= Py_None
;
21883 static PyObject
*_wrap_PyEvent_GetSelf(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21884 PyObject
*resultobj
;
21885 wxPyEvent
*arg1
= (wxPyEvent
*) 0 ;
21887 PyObject
* obj0
= 0 ;
21888 char *kwnames
[] = {
21889 (char *) "self", NULL
21892 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyEvent_GetSelf",kwnames
,&obj0
)) goto fail
;
21893 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyEvent
, SWIG_POINTER_EXCEPTION
| 0);
21894 if (SWIG_arg_fail(1)) SWIG_fail
;
21896 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21897 result
= (PyObject
*)(arg1
)->GetSelf();
21899 wxPyEndAllowThreads(__tstate
);
21900 if (PyErr_Occurred()) SWIG_fail
;
21902 resultobj
= result
;
21909 static PyObject
* PyEvent_swigregister(PyObject
*, PyObject
*args
) {
21911 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21912 SWIG_TypeClientData(SWIGTYPE_p_wxPyEvent
, obj
);
21914 return Py_BuildValue((char *)"");
21916 static PyObject
*_wrap_new_PyCommandEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21917 PyObject
*resultobj
;
21918 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
21919 int arg2
= (int) 0 ;
21920 wxPyCommandEvent
*result
;
21921 PyObject
* obj0
= 0 ;
21922 PyObject
* obj1
= 0 ;
21923 char *kwnames
[] = {
21924 (char *) "commandType",(char *) "id", NULL
21927 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_PyCommandEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
21930 arg1
= (wxEventType
)(SWIG_As_int(obj0
));
21931 if (SWIG_arg_fail(1)) SWIG_fail
;
21936 arg2
= (int)(SWIG_As_int(obj1
));
21937 if (SWIG_arg_fail(2)) SWIG_fail
;
21941 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21942 result
= (wxPyCommandEvent
*)new wxPyCommandEvent(arg1
,arg2
);
21944 wxPyEndAllowThreads(__tstate
);
21945 if (PyErr_Occurred()) SWIG_fail
;
21947 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyCommandEvent
, 1);
21954 static PyObject
*_wrap_delete_PyCommandEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21955 PyObject
*resultobj
;
21956 wxPyCommandEvent
*arg1
= (wxPyCommandEvent
*) 0 ;
21957 PyObject
* obj0
= 0 ;
21958 char *kwnames
[] = {
21959 (char *) "self", NULL
21962 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PyCommandEvent",kwnames
,&obj0
)) goto fail
;
21963 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyCommandEvent
, SWIG_POINTER_EXCEPTION
| 0);
21964 if (SWIG_arg_fail(1)) SWIG_fail
;
21966 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21969 wxPyEndAllowThreads(__tstate
);
21970 if (PyErr_Occurred()) SWIG_fail
;
21972 Py_INCREF(Py_None
); resultobj
= Py_None
;
21979 static PyObject
*_wrap_PyCommandEvent_SetSelf(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21980 PyObject
*resultobj
;
21981 wxPyCommandEvent
*arg1
= (wxPyCommandEvent
*) 0 ;
21982 PyObject
*arg2
= (PyObject
*) 0 ;
21983 PyObject
* obj0
= 0 ;
21984 PyObject
* obj1
= 0 ;
21985 char *kwnames
[] = {
21986 (char *) "self",(char *) "self", NULL
21989 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyCommandEvent_SetSelf",kwnames
,&obj0
,&obj1
)) goto fail
;
21990 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyCommandEvent
, SWIG_POINTER_EXCEPTION
| 0);
21991 if (SWIG_arg_fail(1)) SWIG_fail
;
21994 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21995 (arg1
)->SetSelf(arg2
);
21997 wxPyEndAllowThreads(__tstate
);
21998 if (PyErr_Occurred()) SWIG_fail
;
22000 Py_INCREF(Py_None
); resultobj
= Py_None
;
22007 static PyObject
*_wrap_PyCommandEvent_GetSelf(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22008 PyObject
*resultobj
;
22009 wxPyCommandEvent
*arg1
= (wxPyCommandEvent
*) 0 ;
22011 PyObject
* obj0
= 0 ;
22012 char *kwnames
[] = {
22013 (char *) "self", NULL
22016 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyCommandEvent_GetSelf",kwnames
,&obj0
)) goto fail
;
22017 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyCommandEvent
, SWIG_POINTER_EXCEPTION
| 0);
22018 if (SWIG_arg_fail(1)) SWIG_fail
;
22020 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22021 result
= (PyObject
*)(arg1
)->GetSelf();
22023 wxPyEndAllowThreads(__tstate
);
22024 if (PyErr_Occurred()) SWIG_fail
;
22026 resultobj
= result
;
22033 static PyObject
* PyCommandEvent_swigregister(PyObject
*, PyObject
*args
) {
22035 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
22036 SWIG_TypeClientData(SWIGTYPE_p_wxPyCommandEvent
, obj
);
22038 return Py_BuildValue((char *)"");
22040 static PyObject
*_wrap_new_DateEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22041 PyObject
*resultobj
;
22042 wxWindow
*arg1
= (wxWindow
*) 0 ;
22043 wxDateTime
*arg2
= 0 ;
22045 wxDateEvent
*result
;
22046 PyObject
* obj0
= 0 ;
22047 PyObject
* obj1
= 0 ;
22048 PyObject
* obj2
= 0 ;
22049 char *kwnames
[] = {
22050 (char *) "win",(char *) "dt",(char *) "type", NULL
22053 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:new_DateEvent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22054 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
22055 if (SWIG_arg_fail(1)) SWIG_fail
;
22057 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22058 if (SWIG_arg_fail(2)) SWIG_fail
;
22059 if (arg2
== NULL
) {
22060 SWIG_null_ref("wxDateTime");
22062 if (SWIG_arg_fail(2)) SWIG_fail
;
22065 arg3
= (wxEventType
)(SWIG_As_int(obj2
));
22066 if (SWIG_arg_fail(3)) SWIG_fail
;
22069 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22070 result
= (wxDateEvent
*)new wxDateEvent(arg1
,(wxDateTime
const &)*arg2
,arg3
);
22072 wxPyEndAllowThreads(__tstate
);
22073 if (PyErr_Occurred()) SWIG_fail
;
22075 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateEvent
, 1);
22082 static PyObject
*_wrap_DateEvent_GetDate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22083 PyObject
*resultobj
;
22084 wxDateEvent
*arg1
= (wxDateEvent
*) 0 ;
22085 wxDateTime
*result
;
22086 PyObject
* obj0
= 0 ;
22087 char *kwnames
[] = {
22088 (char *) "self", NULL
22091 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateEvent_GetDate",kwnames
,&obj0
)) goto fail
;
22092 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateEvent
, SWIG_POINTER_EXCEPTION
| 0);
22093 if (SWIG_arg_fail(1)) SWIG_fail
;
22095 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22097 wxDateTime
const &_result_ref
= ((wxDateEvent
const *)arg1
)->GetDate();
22098 result
= (wxDateTime
*) &_result_ref
;
22101 wxPyEndAllowThreads(__tstate
);
22102 if (PyErr_Occurred()) SWIG_fail
;
22104 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
22111 static PyObject
*_wrap_DateEvent_SetDate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22112 PyObject
*resultobj
;
22113 wxDateEvent
*arg1
= (wxDateEvent
*) 0 ;
22114 wxDateTime
*arg2
= 0 ;
22115 PyObject
* obj0
= 0 ;
22116 PyObject
* obj1
= 0 ;
22117 char *kwnames
[] = {
22118 (char *) "self",(char *) "date", NULL
22121 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateEvent_SetDate",kwnames
,&obj0
,&obj1
)) goto fail
;
22122 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateEvent
, SWIG_POINTER_EXCEPTION
| 0);
22123 if (SWIG_arg_fail(1)) SWIG_fail
;
22125 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22126 if (SWIG_arg_fail(2)) SWIG_fail
;
22127 if (arg2
== NULL
) {
22128 SWIG_null_ref("wxDateTime");
22130 if (SWIG_arg_fail(2)) SWIG_fail
;
22133 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22134 (arg1
)->SetDate((wxDateTime
const &)*arg2
);
22136 wxPyEndAllowThreads(__tstate
);
22137 if (PyErr_Occurred()) SWIG_fail
;
22139 Py_INCREF(Py_None
); resultobj
= Py_None
;
22146 static PyObject
* DateEvent_swigregister(PyObject
*, PyObject
*args
) {
22148 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
22149 SWIG_TypeClientData(SWIGTYPE_p_wxDateEvent
, obj
);
22151 return Py_BuildValue((char *)"");
22153 static PyObject
*_wrap_new_PyApp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22154 PyObject
*resultobj
;
22156 char *kwnames
[] = {
22160 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PyApp",kwnames
)) goto fail
;
22162 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22163 result
= (wxPyApp
*)new_wxPyApp();
22165 wxPyEndAllowThreads(__tstate
);
22166 if (PyErr_Occurred()) SWIG_fail
;
22168 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyApp
, 1);
22175 static PyObject
*_wrap_delete_PyApp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22176 PyObject
*resultobj
;
22177 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
22178 PyObject
* obj0
= 0 ;
22179 char *kwnames
[] = {
22180 (char *) "self", NULL
22183 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PyApp",kwnames
,&obj0
)) goto fail
;
22184 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
22185 if (SWIG_arg_fail(1)) SWIG_fail
;
22187 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22190 wxPyEndAllowThreads(__tstate
);
22191 if (PyErr_Occurred()) SWIG_fail
;
22193 Py_INCREF(Py_None
); resultobj
= Py_None
;
22200 static PyObject
*_wrap_PyApp__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22201 PyObject
*resultobj
;
22202 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
22203 PyObject
*arg2
= (PyObject
*) 0 ;
22204 PyObject
*arg3
= (PyObject
*) 0 ;
22205 PyObject
* obj0
= 0 ;
22206 PyObject
* obj1
= 0 ;
22207 PyObject
* obj2
= 0 ;
22208 char *kwnames
[] = {
22209 (char *) "self",(char *) "self",(char *) "_class", NULL
22212 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyApp__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22213 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
22214 if (SWIG_arg_fail(1)) SWIG_fail
;
22218 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22219 (arg1
)->_setCallbackInfo(arg2
,arg3
);
22221 wxPyEndAllowThreads(__tstate
);
22222 if (PyErr_Occurred()) SWIG_fail
;
22224 Py_INCREF(Py_None
); resultobj
= Py_None
;
22231 static PyObject
*_wrap_PyApp_GetAppName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22232 PyObject
*resultobj
;
22233 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
22235 PyObject
* obj0
= 0 ;
22236 char *kwnames
[] = {
22237 (char *) "self", NULL
22240 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetAppName",kwnames
,&obj0
)) goto fail
;
22241 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
22242 if (SWIG_arg_fail(1)) SWIG_fail
;
22244 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22245 result
= ((wxPyApp
const *)arg1
)->GetAppName();
22247 wxPyEndAllowThreads(__tstate
);
22248 if (PyErr_Occurred()) SWIG_fail
;
22252 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
22254 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
22263 static PyObject
*_wrap_PyApp_SetAppName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22264 PyObject
*resultobj
;
22265 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
22266 wxString
*arg2
= 0 ;
22267 bool temp2
= false ;
22268 PyObject
* obj0
= 0 ;
22269 PyObject
* obj1
= 0 ;
22270 char *kwnames
[] = {
22271 (char *) "self",(char *) "name", NULL
22274 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetAppName",kwnames
,&obj0
,&obj1
)) goto fail
;
22275 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
22276 if (SWIG_arg_fail(1)) SWIG_fail
;
22278 arg2
= wxString_in_helper(obj1
);
22279 if (arg2
== NULL
) SWIG_fail
;
22283 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22284 (arg1
)->SetAppName((wxString
const &)*arg2
);
22286 wxPyEndAllowThreads(__tstate
);
22287 if (PyErr_Occurred()) SWIG_fail
;
22289 Py_INCREF(Py_None
); resultobj
= Py_None
;
22304 static PyObject
*_wrap_PyApp_GetClassName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22305 PyObject
*resultobj
;
22306 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
22308 PyObject
* obj0
= 0 ;
22309 char *kwnames
[] = {
22310 (char *) "self", NULL
22313 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetClassName",kwnames
,&obj0
)) goto fail
;
22314 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
22315 if (SWIG_arg_fail(1)) SWIG_fail
;
22317 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22318 result
= ((wxPyApp
const *)arg1
)->GetClassName();
22320 wxPyEndAllowThreads(__tstate
);
22321 if (PyErr_Occurred()) SWIG_fail
;
22325 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
22327 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
22336 static PyObject
*_wrap_PyApp_SetClassName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22337 PyObject
*resultobj
;
22338 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
22339 wxString
*arg2
= 0 ;
22340 bool temp2
= false ;
22341 PyObject
* obj0
= 0 ;
22342 PyObject
* obj1
= 0 ;
22343 char *kwnames
[] = {
22344 (char *) "self",(char *) "name", NULL
22347 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetClassName",kwnames
,&obj0
,&obj1
)) goto fail
;
22348 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
22349 if (SWIG_arg_fail(1)) SWIG_fail
;
22351 arg2
= wxString_in_helper(obj1
);
22352 if (arg2
== NULL
) SWIG_fail
;
22356 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22357 (arg1
)->SetClassName((wxString
const &)*arg2
);
22359 wxPyEndAllowThreads(__tstate
);
22360 if (PyErr_Occurred()) SWIG_fail
;
22362 Py_INCREF(Py_None
); resultobj
= Py_None
;
22377 static PyObject
*_wrap_PyApp_GetVendorName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22378 PyObject
*resultobj
;
22379 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
22381 PyObject
* obj0
= 0 ;
22382 char *kwnames
[] = {
22383 (char *) "self", NULL
22386 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetVendorName",kwnames
,&obj0
)) goto fail
;
22387 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
22388 if (SWIG_arg_fail(1)) SWIG_fail
;
22390 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22392 wxString
const &_result_ref
= ((wxPyApp
const *)arg1
)->GetVendorName();
22393 result
= (wxString
*) &_result_ref
;
22396 wxPyEndAllowThreads(__tstate
);
22397 if (PyErr_Occurred()) SWIG_fail
;
22401 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
22403 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
22412 static PyObject
*_wrap_PyApp_SetVendorName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22413 PyObject
*resultobj
;
22414 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
22415 wxString
*arg2
= 0 ;
22416 bool temp2
= false ;
22417 PyObject
* obj0
= 0 ;
22418 PyObject
* obj1
= 0 ;
22419 char *kwnames
[] = {
22420 (char *) "self",(char *) "name", NULL
22423 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetVendorName",kwnames
,&obj0
,&obj1
)) goto fail
;
22424 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
22425 if (SWIG_arg_fail(1)) SWIG_fail
;
22427 arg2
= wxString_in_helper(obj1
);
22428 if (arg2
== NULL
) SWIG_fail
;
22432 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22433 (arg1
)->SetVendorName((wxString
const &)*arg2
);
22435 wxPyEndAllowThreads(__tstate
);
22436 if (PyErr_Occurred()) SWIG_fail
;
22438 Py_INCREF(Py_None
); resultobj
= Py_None
;
22453 static PyObject
*_wrap_PyApp_GetTraits(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22454 PyObject
*resultobj
;
22455 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
22456 wxAppTraits
*result
;
22457 PyObject
* obj0
= 0 ;
22458 char *kwnames
[] = {
22459 (char *) "self", NULL
22462 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetTraits",kwnames
,&obj0
)) goto fail
;
22463 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
22464 if (SWIG_arg_fail(1)) SWIG_fail
;
22466 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22467 result
= (wxAppTraits
*)(arg1
)->GetTraits();
22469 wxPyEndAllowThreads(__tstate
);
22470 if (PyErr_Occurred()) SWIG_fail
;
22472 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxAppTraits
, 0);
22479 static PyObject
*_wrap_PyApp_ProcessPendingEvents(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22480 PyObject
*resultobj
;
22481 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
22482 PyObject
* obj0
= 0 ;
22483 char *kwnames
[] = {
22484 (char *) "self", NULL
22487 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_ProcessPendingEvents",kwnames
,&obj0
)) goto fail
;
22488 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
22489 if (SWIG_arg_fail(1)) SWIG_fail
;
22491 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22492 (arg1
)->ProcessPendingEvents();
22494 wxPyEndAllowThreads(__tstate
);
22495 if (PyErr_Occurred()) SWIG_fail
;
22497 Py_INCREF(Py_None
); resultobj
= Py_None
;
22504 static PyObject
*_wrap_PyApp_Yield(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22505 PyObject
*resultobj
;
22506 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
22507 bool arg2
= (bool) false ;
22509 PyObject
* obj0
= 0 ;
22510 PyObject
* obj1
= 0 ;
22511 char *kwnames
[] = {
22512 (char *) "self",(char *) "onlyIfNeeded", NULL
22515 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:PyApp_Yield",kwnames
,&obj0
,&obj1
)) goto fail
;
22516 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
22517 if (SWIG_arg_fail(1)) SWIG_fail
;
22520 arg2
= (bool)(SWIG_As_bool(obj1
));
22521 if (SWIG_arg_fail(2)) SWIG_fail
;
22525 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22526 result
= (bool)(arg1
)->Yield(arg2
);
22528 wxPyEndAllowThreads(__tstate
);
22529 if (PyErr_Occurred()) SWIG_fail
;
22532 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22540 static PyObject
*_wrap_PyApp_WakeUpIdle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22541 PyObject
*resultobj
;
22542 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
22543 PyObject
* obj0
= 0 ;
22544 char *kwnames
[] = {
22545 (char *) "self", NULL
22548 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_WakeUpIdle",kwnames
,&obj0
)) goto fail
;
22549 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
22550 if (SWIG_arg_fail(1)) SWIG_fail
;
22552 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22553 (arg1
)->WakeUpIdle();
22555 wxPyEndAllowThreads(__tstate
);
22556 if (PyErr_Occurred()) SWIG_fail
;
22558 Py_INCREF(Py_None
); resultobj
= Py_None
;
22565 static PyObject
*_wrap_PyApp_IsMainLoopRunning(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22566 PyObject
*resultobj
;
22568 char *kwnames
[] = {
22572 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PyApp_IsMainLoopRunning",kwnames
)) goto fail
;
22574 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22575 result
= (bool)wxPyApp::IsMainLoopRunning();
22577 wxPyEndAllowThreads(__tstate
);
22578 if (PyErr_Occurred()) SWIG_fail
;
22581 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22589 static PyObject
*_wrap_PyApp_MainLoop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22590 PyObject
*resultobj
;
22591 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
22593 PyObject
* obj0
= 0 ;
22594 char *kwnames
[] = {
22595 (char *) "self", NULL
22598 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_MainLoop",kwnames
,&obj0
)) goto fail
;
22599 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
22600 if (SWIG_arg_fail(1)) SWIG_fail
;
22602 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22603 result
= (int)(arg1
)->MainLoop();
22605 wxPyEndAllowThreads(__tstate
);
22606 if (PyErr_Occurred()) SWIG_fail
;
22609 resultobj
= SWIG_From_int((int)(result
));
22617 static PyObject
*_wrap_PyApp_Exit(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22618 PyObject
*resultobj
;
22619 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
22620 PyObject
* obj0
= 0 ;
22621 char *kwnames
[] = {
22622 (char *) "self", NULL
22625 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_Exit",kwnames
,&obj0
)) goto fail
;
22626 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
22627 if (SWIG_arg_fail(1)) SWIG_fail
;
22629 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22632 wxPyEndAllowThreads(__tstate
);
22633 if (PyErr_Occurred()) SWIG_fail
;
22635 Py_INCREF(Py_None
); resultobj
= Py_None
;
22642 static PyObject
*_wrap_PyApp_ExitMainLoop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22643 PyObject
*resultobj
;
22644 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
22645 PyObject
* obj0
= 0 ;
22646 char *kwnames
[] = {
22647 (char *) "self", NULL
22650 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_ExitMainLoop",kwnames
,&obj0
)) goto fail
;
22651 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
22652 if (SWIG_arg_fail(1)) SWIG_fail
;
22654 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22655 (arg1
)->ExitMainLoop();
22657 wxPyEndAllowThreads(__tstate
);
22658 if (PyErr_Occurred()) SWIG_fail
;
22660 Py_INCREF(Py_None
); resultobj
= Py_None
;
22667 static PyObject
*_wrap_PyApp_Pending(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22668 PyObject
*resultobj
;
22669 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
22671 PyObject
* obj0
= 0 ;
22672 char *kwnames
[] = {
22673 (char *) "self", NULL
22676 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_Pending",kwnames
,&obj0
)) goto fail
;
22677 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
22678 if (SWIG_arg_fail(1)) SWIG_fail
;
22680 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22681 result
= (bool)(arg1
)->Pending();
22683 wxPyEndAllowThreads(__tstate
);
22684 if (PyErr_Occurred()) SWIG_fail
;
22687 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22695 static PyObject
*_wrap_PyApp_Dispatch(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22696 PyObject
*resultobj
;
22697 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
22699 PyObject
* obj0
= 0 ;
22700 char *kwnames
[] = {
22701 (char *) "self", NULL
22704 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_Dispatch",kwnames
,&obj0
)) goto fail
;
22705 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
22706 if (SWIG_arg_fail(1)) SWIG_fail
;
22708 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22709 result
= (bool)(arg1
)->Dispatch();
22711 wxPyEndAllowThreads(__tstate
);
22712 if (PyErr_Occurred()) SWIG_fail
;
22715 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22723 static PyObject
*_wrap_PyApp_ProcessIdle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22724 PyObject
*resultobj
;
22725 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
22727 PyObject
* obj0
= 0 ;
22728 char *kwnames
[] = {
22729 (char *) "self", NULL
22732 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_ProcessIdle",kwnames
,&obj0
)) goto fail
;
22733 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
22734 if (SWIG_arg_fail(1)) SWIG_fail
;
22736 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22737 result
= (bool)(arg1
)->ProcessIdle();
22739 wxPyEndAllowThreads(__tstate
);
22740 if (PyErr_Occurred()) SWIG_fail
;
22743 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22751 static PyObject
*_wrap_PyApp_SendIdleEvents(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22752 PyObject
*resultobj
;
22753 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
22754 wxWindow
*arg2
= (wxWindow
*) 0 ;
22755 wxIdleEvent
*arg3
= 0 ;
22757 PyObject
* obj0
= 0 ;
22758 PyObject
* obj1
= 0 ;
22759 PyObject
* obj2
= 0 ;
22760 char *kwnames
[] = {
22761 (char *) "self",(char *) "win",(char *) "event", NULL
22764 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyApp_SendIdleEvents",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22765 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
22766 if (SWIG_arg_fail(1)) SWIG_fail
;
22767 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
22768 if (SWIG_arg_fail(2)) SWIG_fail
;
22770 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxIdleEvent
, SWIG_POINTER_EXCEPTION
| 0);
22771 if (SWIG_arg_fail(3)) SWIG_fail
;
22772 if (arg3
== NULL
) {
22773 SWIG_null_ref("wxIdleEvent");
22775 if (SWIG_arg_fail(3)) SWIG_fail
;
22778 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22779 result
= (bool)(arg1
)->SendIdleEvents(arg2
,*arg3
);
22781 wxPyEndAllowThreads(__tstate
);
22782 if (PyErr_Occurred()) SWIG_fail
;
22785 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22793 static PyObject
*_wrap_PyApp_IsActive(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22794 PyObject
*resultobj
;
22795 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
22797 PyObject
* obj0
= 0 ;
22798 char *kwnames
[] = {
22799 (char *) "self", NULL
22802 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_IsActive",kwnames
,&obj0
)) goto fail
;
22803 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
22804 if (SWIG_arg_fail(1)) SWIG_fail
;
22806 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22807 result
= (bool)((wxPyApp
const *)arg1
)->IsActive();
22809 wxPyEndAllowThreads(__tstate
);
22810 if (PyErr_Occurred()) SWIG_fail
;
22813 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22821 static PyObject
*_wrap_PyApp_SetTopWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22822 PyObject
*resultobj
;
22823 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
22824 wxWindow
*arg2
= (wxWindow
*) 0 ;
22825 PyObject
* obj0
= 0 ;
22826 PyObject
* obj1
= 0 ;
22827 char *kwnames
[] = {
22828 (char *) "self",(char *) "win", NULL
22831 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetTopWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
22832 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
22833 if (SWIG_arg_fail(1)) SWIG_fail
;
22834 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
22835 if (SWIG_arg_fail(2)) SWIG_fail
;
22837 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22838 (arg1
)->SetTopWindow(arg2
);
22840 wxPyEndAllowThreads(__tstate
);
22841 if (PyErr_Occurred()) SWIG_fail
;
22843 Py_INCREF(Py_None
); resultobj
= Py_None
;
22850 static PyObject
*_wrap_PyApp_GetTopWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22851 PyObject
*resultobj
;
22852 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
22854 PyObject
* obj0
= 0 ;
22855 char *kwnames
[] = {
22856 (char *) "self", NULL
22859 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetTopWindow",kwnames
,&obj0
)) goto fail
;
22860 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
22861 if (SWIG_arg_fail(1)) SWIG_fail
;
22863 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22864 result
= (wxWindow
*)((wxPyApp
const *)arg1
)->GetTopWindow();
22866 wxPyEndAllowThreads(__tstate
);
22867 if (PyErr_Occurred()) SWIG_fail
;
22870 resultobj
= wxPyMake_wxObject(result
, 0);
22878 static PyObject
*_wrap_PyApp_SetExitOnFrameDelete(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22879 PyObject
*resultobj
;
22880 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
22882 PyObject
* obj0
= 0 ;
22883 PyObject
* obj1
= 0 ;
22884 char *kwnames
[] = {
22885 (char *) "self",(char *) "flag", NULL
22888 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetExitOnFrameDelete",kwnames
,&obj0
,&obj1
)) goto fail
;
22889 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
22890 if (SWIG_arg_fail(1)) SWIG_fail
;
22892 arg2
= (bool)(SWIG_As_bool(obj1
));
22893 if (SWIG_arg_fail(2)) SWIG_fail
;
22896 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22897 (arg1
)->SetExitOnFrameDelete(arg2
);
22899 wxPyEndAllowThreads(__tstate
);
22900 if (PyErr_Occurred()) SWIG_fail
;
22902 Py_INCREF(Py_None
); resultobj
= Py_None
;
22909 static PyObject
*_wrap_PyApp_GetExitOnFrameDelete(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22910 PyObject
*resultobj
;
22911 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
22913 PyObject
* obj0
= 0 ;
22914 char *kwnames
[] = {
22915 (char *) "self", NULL
22918 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetExitOnFrameDelete",kwnames
,&obj0
)) goto fail
;
22919 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
22920 if (SWIG_arg_fail(1)) SWIG_fail
;
22922 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22923 result
= (bool)((wxPyApp
const *)arg1
)->GetExitOnFrameDelete();
22925 wxPyEndAllowThreads(__tstate
);
22926 if (PyErr_Occurred()) SWIG_fail
;
22929 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22937 static PyObject
*_wrap_PyApp_SetUseBestVisual(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22938 PyObject
*resultobj
;
22939 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
22941 PyObject
* obj0
= 0 ;
22942 PyObject
* obj1
= 0 ;
22943 char *kwnames
[] = {
22944 (char *) "self",(char *) "flag", NULL
22947 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetUseBestVisual",kwnames
,&obj0
,&obj1
)) goto fail
;
22948 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
22949 if (SWIG_arg_fail(1)) SWIG_fail
;
22951 arg2
= (bool)(SWIG_As_bool(obj1
));
22952 if (SWIG_arg_fail(2)) SWIG_fail
;
22955 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22956 (arg1
)->SetUseBestVisual(arg2
);
22958 wxPyEndAllowThreads(__tstate
);
22959 if (PyErr_Occurred()) SWIG_fail
;
22961 Py_INCREF(Py_None
); resultobj
= Py_None
;
22968 static PyObject
*_wrap_PyApp_GetUseBestVisual(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22969 PyObject
*resultobj
;
22970 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
22972 PyObject
* obj0
= 0 ;
22973 char *kwnames
[] = {
22974 (char *) "self", NULL
22977 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetUseBestVisual",kwnames
,&obj0
)) goto fail
;
22978 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
22979 if (SWIG_arg_fail(1)) SWIG_fail
;
22981 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22982 result
= (bool)((wxPyApp
const *)arg1
)->GetUseBestVisual();
22984 wxPyEndAllowThreads(__tstate
);
22985 if (PyErr_Occurred()) SWIG_fail
;
22988 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22996 static PyObject
*_wrap_PyApp_SetPrintMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22997 PyObject
*resultobj
;
22998 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
23000 PyObject
* obj0
= 0 ;
23001 PyObject
* obj1
= 0 ;
23002 char *kwnames
[] = {
23003 (char *) "self",(char *) "mode", NULL
23006 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetPrintMode",kwnames
,&obj0
,&obj1
)) goto fail
;
23007 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
23008 if (SWIG_arg_fail(1)) SWIG_fail
;
23010 arg2
= (int)(SWIG_As_int(obj1
));
23011 if (SWIG_arg_fail(2)) SWIG_fail
;
23014 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23015 (arg1
)->SetPrintMode(arg2
);
23017 wxPyEndAllowThreads(__tstate
);
23018 if (PyErr_Occurred()) SWIG_fail
;
23020 Py_INCREF(Py_None
); resultobj
= Py_None
;
23027 static PyObject
*_wrap_PyApp_GetPrintMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23028 PyObject
*resultobj
;
23029 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
23031 PyObject
* obj0
= 0 ;
23032 char *kwnames
[] = {
23033 (char *) "self", NULL
23036 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetPrintMode",kwnames
,&obj0
)) goto fail
;
23037 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
23038 if (SWIG_arg_fail(1)) SWIG_fail
;
23040 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23041 result
= (int)((wxPyApp
const *)arg1
)->GetPrintMode();
23043 wxPyEndAllowThreads(__tstate
);
23044 if (PyErr_Occurred()) SWIG_fail
;
23047 resultobj
= SWIG_From_int((int)(result
));
23055 static PyObject
*_wrap_PyApp_SetAssertMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23056 PyObject
*resultobj
;
23057 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
23059 PyObject
* obj0
= 0 ;
23060 PyObject
* obj1
= 0 ;
23061 char *kwnames
[] = {
23062 (char *) "self",(char *) "mode", NULL
23065 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetAssertMode",kwnames
,&obj0
,&obj1
)) goto fail
;
23066 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
23067 if (SWIG_arg_fail(1)) SWIG_fail
;
23069 arg2
= (int)(SWIG_As_int(obj1
));
23070 if (SWIG_arg_fail(2)) SWIG_fail
;
23073 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23074 (arg1
)->SetAssertMode(arg2
);
23076 wxPyEndAllowThreads(__tstate
);
23077 if (PyErr_Occurred()) SWIG_fail
;
23079 Py_INCREF(Py_None
); resultobj
= Py_None
;
23086 static PyObject
*_wrap_PyApp_GetAssertMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23087 PyObject
*resultobj
;
23088 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
23090 PyObject
* obj0
= 0 ;
23091 char *kwnames
[] = {
23092 (char *) "self", NULL
23095 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetAssertMode",kwnames
,&obj0
)) goto fail
;
23096 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
23097 if (SWIG_arg_fail(1)) SWIG_fail
;
23099 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23100 result
= (int)(arg1
)->GetAssertMode();
23102 wxPyEndAllowThreads(__tstate
);
23103 if (PyErr_Occurred()) SWIG_fail
;
23106 resultobj
= SWIG_From_int((int)(result
));
23114 static PyObject
*_wrap_PyApp_GetMacSupportPCMenuShortcuts(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23115 PyObject
*resultobj
;
23117 char *kwnames
[] = {
23121 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PyApp_GetMacSupportPCMenuShortcuts",kwnames
)) goto fail
;
23123 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23124 result
= (bool)wxPyApp::GetMacSupportPCMenuShortcuts();
23126 wxPyEndAllowThreads(__tstate
);
23127 if (PyErr_Occurred()) SWIG_fail
;
23130 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23138 static PyObject
*_wrap_PyApp_GetMacAboutMenuItemId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23139 PyObject
*resultobj
;
23141 char *kwnames
[] = {
23145 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PyApp_GetMacAboutMenuItemId",kwnames
)) goto fail
;
23147 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23148 result
= (long)wxPyApp::GetMacAboutMenuItemId();
23150 wxPyEndAllowThreads(__tstate
);
23151 if (PyErr_Occurred()) SWIG_fail
;
23154 resultobj
= SWIG_From_long((long)(result
));
23162 static PyObject
*_wrap_PyApp_GetMacPreferencesMenuItemId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23163 PyObject
*resultobj
;
23165 char *kwnames
[] = {
23169 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PyApp_GetMacPreferencesMenuItemId",kwnames
)) goto fail
;
23171 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23172 result
= (long)wxPyApp::GetMacPreferencesMenuItemId();
23174 wxPyEndAllowThreads(__tstate
);
23175 if (PyErr_Occurred()) SWIG_fail
;
23178 resultobj
= SWIG_From_long((long)(result
));
23186 static PyObject
*_wrap_PyApp_GetMacExitMenuItemId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23187 PyObject
*resultobj
;
23189 char *kwnames
[] = {
23193 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PyApp_GetMacExitMenuItemId",kwnames
)) goto fail
;
23195 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23196 result
= (long)wxPyApp::GetMacExitMenuItemId();
23198 wxPyEndAllowThreads(__tstate
);
23199 if (PyErr_Occurred()) SWIG_fail
;
23202 resultobj
= SWIG_From_long((long)(result
));
23210 static PyObject
*_wrap_PyApp_GetMacHelpMenuTitleName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23211 PyObject
*resultobj
;
23213 char *kwnames
[] = {
23217 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PyApp_GetMacHelpMenuTitleName",kwnames
)) goto fail
;
23219 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23220 result
= wxPyApp::GetMacHelpMenuTitleName();
23222 wxPyEndAllowThreads(__tstate
);
23223 if (PyErr_Occurred()) SWIG_fail
;
23227 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
23229 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
23238 static PyObject
*_wrap_PyApp_SetMacSupportPCMenuShortcuts(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23239 PyObject
*resultobj
;
23241 PyObject
* obj0
= 0 ;
23242 char *kwnames
[] = {
23243 (char *) "val", NULL
23246 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_SetMacSupportPCMenuShortcuts",kwnames
,&obj0
)) goto fail
;
23248 arg1
= (bool)(SWIG_As_bool(obj0
));
23249 if (SWIG_arg_fail(1)) SWIG_fail
;
23252 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23253 wxPyApp::SetMacSupportPCMenuShortcuts(arg1
);
23255 wxPyEndAllowThreads(__tstate
);
23256 if (PyErr_Occurred()) SWIG_fail
;
23258 Py_INCREF(Py_None
); resultobj
= Py_None
;
23265 static PyObject
*_wrap_PyApp_SetMacAboutMenuItemId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23266 PyObject
*resultobj
;
23268 PyObject
* obj0
= 0 ;
23269 char *kwnames
[] = {
23270 (char *) "val", NULL
23273 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_SetMacAboutMenuItemId",kwnames
,&obj0
)) goto fail
;
23275 arg1
= (long)(SWIG_As_long(obj0
));
23276 if (SWIG_arg_fail(1)) SWIG_fail
;
23279 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23280 wxPyApp::SetMacAboutMenuItemId(arg1
);
23282 wxPyEndAllowThreads(__tstate
);
23283 if (PyErr_Occurred()) SWIG_fail
;
23285 Py_INCREF(Py_None
); resultobj
= Py_None
;
23292 static PyObject
*_wrap_PyApp_SetMacPreferencesMenuItemId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23293 PyObject
*resultobj
;
23295 PyObject
* obj0
= 0 ;
23296 char *kwnames
[] = {
23297 (char *) "val", NULL
23300 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_SetMacPreferencesMenuItemId",kwnames
,&obj0
)) goto fail
;
23302 arg1
= (long)(SWIG_As_long(obj0
));
23303 if (SWIG_arg_fail(1)) SWIG_fail
;
23306 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23307 wxPyApp::SetMacPreferencesMenuItemId(arg1
);
23309 wxPyEndAllowThreads(__tstate
);
23310 if (PyErr_Occurred()) SWIG_fail
;
23312 Py_INCREF(Py_None
); resultobj
= Py_None
;
23319 static PyObject
*_wrap_PyApp_SetMacExitMenuItemId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23320 PyObject
*resultobj
;
23322 PyObject
* obj0
= 0 ;
23323 char *kwnames
[] = {
23324 (char *) "val", NULL
23327 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_SetMacExitMenuItemId",kwnames
,&obj0
)) goto fail
;
23329 arg1
= (long)(SWIG_As_long(obj0
));
23330 if (SWIG_arg_fail(1)) SWIG_fail
;
23333 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23334 wxPyApp::SetMacExitMenuItemId(arg1
);
23336 wxPyEndAllowThreads(__tstate
);
23337 if (PyErr_Occurred()) SWIG_fail
;
23339 Py_INCREF(Py_None
); resultobj
= Py_None
;
23346 static PyObject
*_wrap_PyApp_SetMacHelpMenuTitleName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23347 PyObject
*resultobj
;
23348 wxString
*arg1
= 0 ;
23349 bool temp1
= false ;
23350 PyObject
* obj0
= 0 ;
23351 char *kwnames
[] = {
23352 (char *) "val", NULL
23355 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_SetMacHelpMenuTitleName",kwnames
,&obj0
)) goto fail
;
23357 arg1
= wxString_in_helper(obj0
);
23358 if (arg1
== NULL
) SWIG_fail
;
23362 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23363 wxPyApp::SetMacHelpMenuTitleName((wxString
const &)*arg1
);
23365 wxPyEndAllowThreads(__tstate
);
23366 if (PyErr_Occurred()) SWIG_fail
;
23368 Py_INCREF(Py_None
); resultobj
= Py_None
;
23383 static PyObject
*_wrap_PyApp__BootstrapApp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23384 PyObject
*resultobj
;
23385 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
23386 PyObject
* obj0
= 0 ;
23387 char *kwnames
[] = {
23388 (char *) "self", NULL
23391 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp__BootstrapApp",kwnames
,&obj0
)) goto fail
;
23392 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
23393 if (SWIG_arg_fail(1)) SWIG_fail
;
23395 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23396 (arg1
)->_BootstrapApp();
23398 wxPyEndAllowThreads(__tstate
);
23399 if (PyErr_Occurred()) SWIG_fail
;
23401 Py_INCREF(Py_None
); resultobj
= Py_None
;
23408 static PyObject
*_wrap_PyApp_GetComCtl32Version(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23409 PyObject
*resultobj
;
23411 char *kwnames
[] = {
23415 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PyApp_GetComCtl32Version",kwnames
)) goto fail
;
23417 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23418 result
= (int)wxPyApp::GetComCtl32Version();
23420 wxPyEndAllowThreads(__tstate
);
23421 if (PyErr_Occurred()) SWIG_fail
;
23424 resultobj
= SWIG_From_int((int)(result
));
23432 static PyObject
* PyApp_swigregister(PyObject
*, PyObject
*args
) {
23434 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
23435 SWIG_TypeClientData(SWIGTYPE_p_wxPyApp
, obj
);
23437 return Py_BuildValue((char *)"");
23439 static PyObject
*_wrap_Exit(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23440 PyObject
*resultobj
;
23441 char *kwnames
[] = {
23445 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Exit",kwnames
)) goto fail
;
23447 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23450 wxPyEndAllowThreads(__tstate
);
23451 if (PyErr_Occurred()) SWIG_fail
;
23453 Py_INCREF(Py_None
); resultobj
= Py_None
;
23460 static PyObject
*_wrap_Yield(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23461 PyObject
*resultobj
;
23463 char *kwnames
[] = {
23467 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Yield",kwnames
)) goto fail
;
23469 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23470 result
= (bool)wxYield();
23472 wxPyEndAllowThreads(__tstate
);
23473 if (PyErr_Occurred()) SWIG_fail
;
23476 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23484 static PyObject
*_wrap_YieldIfNeeded(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23485 PyObject
*resultobj
;
23487 char *kwnames
[] = {
23491 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":YieldIfNeeded",kwnames
)) goto fail
;
23493 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23494 result
= (bool)wxYieldIfNeeded();
23496 wxPyEndAllowThreads(__tstate
);
23497 if (PyErr_Occurred()) SWIG_fail
;
23500 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23508 static PyObject
*_wrap_SafeYield(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23509 PyObject
*resultobj
;
23510 wxWindow
*arg1
= (wxWindow
*) NULL
;
23511 bool arg2
= (bool) false ;
23513 PyObject
* obj0
= 0 ;
23514 PyObject
* obj1
= 0 ;
23515 char *kwnames
[] = {
23516 (char *) "win",(char *) "onlyIfNeeded", NULL
23519 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:SafeYield",kwnames
,&obj0
,&obj1
)) goto fail
;
23521 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
23522 if (SWIG_arg_fail(1)) SWIG_fail
;
23526 arg2
= (bool)(SWIG_As_bool(obj1
));
23527 if (SWIG_arg_fail(2)) SWIG_fail
;
23531 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23532 result
= (bool)wxSafeYield(arg1
,arg2
);
23534 wxPyEndAllowThreads(__tstate
);
23535 if (PyErr_Occurred()) SWIG_fail
;
23538 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23546 static PyObject
*_wrap_WakeUpIdle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23547 PyObject
*resultobj
;
23548 char *kwnames
[] = {
23552 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":WakeUpIdle",kwnames
)) goto fail
;
23554 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23557 wxPyEndAllowThreads(__tstate
);
23558 if (PyErr_Occurred()) SWIG_fail
;
23560 Py_INCREF(Py_None
); resultobj
= Py_None
;
23567 static PyObject
*_wrap_PostEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23568 PyObject
*resultobj
;
23569 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
23570 wxEvent
*arg2
= 0 ;
23571 PyObject
* obj0
= 0 ;
23572 PyObject
* obj1
= 0 ;
23573 char *kwnames
[] = {
23574 (char *) "dest",(char *) "event", NULL
23577 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PostEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
23578 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
23579 if (SWIG_arg_fail(1)) SWIG_fail
;
23581 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
23582 if (SWIG_arg_fail(2)) SWIG_fail
;
23583 if (arg2
== NULL
) {
23584 SWIG_null_ref("wxEvent");
23586 if (SWIG_arg_fail(2)) SWIG_fail
;
23589 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23590 wxPostEvent(arg1
,*arg2
);
23592 wxPyEndAllowThreads(__tstate
);
23593 if (PyErr_Occurred()) SWIG_fail
;
23595 Py_INCREF(Py_None
); resultobj
= Py_None
;
23602 static PyObject
*_wrap_App_CleanUp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23603 PyObject
*resultobj
;
23604 char *kwnames
[] = {
23608 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":App_CleanUp",kwnames
)) goto fail
;
23610 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23613 wxPyEndAllowThreads(__tstate
);
23614 if (PyErr_Occurred()) SWIG_fail
;
23616 Py_INCREF(Py_None
); resultobj
= Py_None
;
23623 static PyObject
*_wrap_GetApp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23624 PyObject
*resultobj
;
23626 char *kwnames
[] = {
23630 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetApp",kwnames
)) goto fail
;
23632 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23633 result
= (wxPyApp
*)wxPyGetApp();
23635 wxPyEndAllowThreads(__tstate
);
23636 if (PyErr_Occurred()) SWIG_fail
;
23639 resultobj
= wxPyMake_wxObject(result
, 0);
23647 static PyObject
*_wrap_SetDefaultPyEncoding(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23648 PyObject
*resultobj
;
23649 char *arg1
= (char *) 0 ;
23650 PyObject
* obj0
= 0 ;
23651 char *kwnames
[] = {
23652 (char *) "encoding", NULL
23655 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SetDefaultPyEncoding",kwnames
,&obj0
)) goto fail
;
23656 if (!SWIG_AsCharPtr(obj0
, (char**)&arg1
)) {
23657 SWIG_arg_fail(1);SWIG_fail
;
23660 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23661 wxSetDefaultPyEncoding((char const *)arg1
);
23663 wxPyEndAllowThreads(__tstate
);
23664 if (PyErr_Occurred()) SWIG_fail
;
23666 Py_INCREF(Py_None
); resultobj
= Py_None
;
23673 static PyObject
*_wrap_GetDefaultPyEncoding(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23674 PyObject
*resultobj
;
23676 char *kwnames
[] = {
23680 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetDefaultPyEncoding",kwnames
)) goto fail
;
23682 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23683 result
= (char *)wxGetDefaultPyEncoding();
23685 wxPyEndAllowThreads(__tstate
);
23686 if (PyErr_Occurred()) SWIG_fail
;
23688 resultobj
= SWIG_FromCharPtr(result
);
23695 static PyObject
*_wrap_new_EventLoop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23696 PyObject
*resultobj
;
23697 wxEventLoop
*result
;
23698 char *kwnames
[] = {
23702 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_EventLoop",kwnames
)) goto fail
;
23704 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23705 result
= (wxEventLoop
*)new wxEventLoop();
23707 wxPyEndAllowThreads(__tstate
);
23708 if (PyErr_Occurred()) SWIG_fail
;
23710 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxEventLoop
, 1);
23717 static PyObject
*_wrap_delete_EventLoop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23718 PyObject
*resultobj
;
23719 wxEventLoop
*arg1
= (wxEventLoop
*) 0 ;
23720 PyObject
* obj0
= 0 ;
23721 char *kwnames
[] = {
23722 (char *) "self", NULL
23725 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_EventLoop",kwnames
,&obj0
)) goto fail
;
23726 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEventLoop
, SWIG_POINTER_EXCEPTION
| 0);
23727 if (SWIG_arg_fail(1)) SWIG_fail
;
23729 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23732 wxPyEndAllowThreads(__tstate
);
23733 if (PyErr_Occurred()) SWIG_fail
;
23735 Py_INCREF(Py_None
); resultobj
= Py_None
;
23742 static PyObject
*_wrap_EventLoop_Run(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23743 PyObject
*resultobj
;
23744 wxEventLoop
*arg1
= (wxEventLoop
*) 0 ;
23746 PyObject
* obj0
= 0 ;
23747 char *kwnames
[] = {
23748 (char *) "self", NULL
23751 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EventLoop_Run",kwnames
,&obj0
)) goto fail
;
23752 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEventLoop
, SWIG_POINTER_EXCEPTION
| 0);
23753 if (SWIG_arg_fail(1)) SWIG_fail
;
23755 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23756 result
= (int)(arg1
)->Run();
23758 wxPyEndAllowThreads(__tstate
);
23759 if (PyErr_Occurred()) SWIG_fail
;
23762 resultobj
= SWIG_From_int((int)(result
));
23770 static PyObject
*_wrap_EventLoop_Exit(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23771 PyObject
*resultobj
;
23772 wxEventLoop
*arg1
= (wxEventLoop
*) 0 ;
23773 int arg2
= (int) 0 ;
23774 PyObject
* obj0
= 0 ;
23775 PyObject
* obj1
= 0 ;
23776 char *kwnames
[] = {
23777 (char *) "self",(char *) "rc", NULL
23780 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:EventLoop_Exit",kwnames
,&obj0
,&obj1
)) goto fail
;
23781 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEventLoop
, SWIG_POINTER_EXCEPTION
| 0);
23782 if (SWIG_arg_fail(1)) SWIG_fail
;
23785 arg2
= (int)(SWIG_As_int(obj1
));
23786 if (SWIG_arg_fail(2)) SWIG_fail
;
23790 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23791 (arg1
)->Exit(arg2
);
23793 wxPyEndAllowThreads(__tstate
);
23794 if (PyErr_Occurred()) SWIG_fail
;
23796 Py_INCREF(Py_None
); resultobj
= Py_None
;
23803 static PyObject
*_wrap_EventLoop_Pending(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23804 PyObject
*resultobj
;
23805 wxEventLoop
*arg1
= (wxEventLoop
*) 0 ;
23807 PyObject
* obj0
= 0 ;
23808 char *kwnames
[] = {
23809 (char *) "self", NULL
23812 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EventLoop_Pending",kwnames
,&obj0
)) goto fail
;
23813 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEventLoop
, SWIG_POINTER_EXCEPTION
| 0);
23814 if (SWIG_arg_fail(1)) SWIG_fail
;
23816 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23817 result
= (bool)((wxEventLoop
const *)arg1
)->Pending();
23819 wxPyEndAllowThreads(__tstate
);
23820 if (PyErr_Occurred()) SWIG_fail
;
23823 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23831 static PyObject
*_wrap_EventLoop_Dispatch(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23832 PyObject
*resultobj
;
23833 wxEventLoop
*arg1
= (wxEventLoop
*) 0 ;
23835 PyObject
* obj0
= 0 ;
23836 char *kwnames
[] = {
23837 (char *) "self", NULL
23840 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EventLoop_Dispatch",kwnames
,&obj0
)) goto fail
;
23841 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEventLoop
, SWIG_POINTER_EXCEPTION
| 0);
23842 if (SWIG_arg_fail(1)) SWIG_fail
;
23844 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23845 result
= (bool)(arg1
)->Dispatch();
23847 wxPyEndAllowThreads(__tstate
);
23848 if (PyErr_Occurred()) SWIG_fail
;
23851 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23859 static PyObject
*_wrap_EventLoop_IsRunning(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23860 PyObject
*resultobj
;
23861 wxEventLoop
*arg1
= (wxEventLoop
*) 0 ;
23863 PyObject
* obj0
= 0 ;
23864 char *kwnames
[] = {
23865 (char *) "self", NULL
23868 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EventLoop_IsRunning",kwnames
,&obj0
)) goto fail
;
23869 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEventLoop
, SWIG_POINTER_EXCEPTION
| 0);
23870 if (SWIG_arg_fail(1)) SWIG_fail
;
23872 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23873 result
= (bool)((wxEventLoop
const *)arg1
)->IsRunning();
23875 wxPyEndAllowThreads(__tstate
);
23876 if (PyErr_Occurred()) SWIG_fail
;
23879 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23887 static PyObject
*_wrap_EventLoop_GetActive(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23888 PyObject
*resultobj
;
23889 wxEventLoop
*result
;
23890 char *kwnames
[] = {
23894 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":EventLoop_GetActive",kwnames
)) goto fail
;
23896 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23897 result
= (wxEventLoop
*)wxEventLoop::GetActive();
23899 wxPyEndAllowThreads(__tstate
);
23900 if (PyErr_Occurred()) SWIG_fail
;
23902 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxEventLoop
, 0);
23909 static PyObject
*_wrap_EventLoop_SetActive(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23910 PyObject
*resultobj
;
23911 wxEventLoop
*arg1
= (wxEventLoop
*) 0 ;
23912 PyObject
* obj0
= 0 ;
23913 char *kwnames
[] = {
23914 (char *) "loop", NULL
23917 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EventLoop_SetActive",kwnames
,&obj0
)) goto fail
;
23918 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEventLoop
, SWIG_POINTER_EXCEPTION
| 0);
23919 if (SWIG_arg_fail(1)) SWIG_fail
;
23921 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23922 wxEventLoop::SetActive(arg1
);
23924 wxPyEndAllowThreads(__tstate
);
23925 if (PyErr_Occurred()) SWIG_fail
;
23927 Py_INCREF(Py_None
); resultobj
= Py_None
;
23934 static PyObject
* EventLoop_swigregister(PyObject
*, PyObject
*args
) {
23936 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
23937 SWIG_TypeClientData(SWIGTYPE_p_wxEventLoop
, obj
);
23939 return Py_BuildValue((char *)"");
23941 static PyObject
*_wrap_new_AcceleratorEntry(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23942 PyObject
*resultobj
;
23943 int arg1
= (int) 0 ;
23944 int arg2
= (int) 0 ;
23945 int arg3
= (int) 0 ;
23946 wxAcceleratorEntry
*result
;
23947 PyObject
* obj0
= 0 ;
23948 PyObject
* obj1
= 0 ;
23949 PyObject
* obj2
= 0 ;
23950 char *kwnames
[] = {
23951 (char *) "flags",(char *) "keyCode",(char *) "cmdID", NULL
23954 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_AcceleratorEntry",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23957 arg1
= (int)(SWIG_As_int(obj0
));
23958 if (SWIG_arg_fail(1)) SWIG_fail
;
23963 arg2
= (int)(SWIG_As_int(obj1
));
23964 if (SWIG_arg_fail(2)) SWIG_fail
;
23969 arg3
= (int)(SWIG_As_int(obj2
));
23970 if (SWIG_arg_fail(3)) SWIG_fail
;
23974 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23975 result
= (wxAcceleratorEntry
*)new wxAcceleratorEntry(arg1
,arg2
,arg3
);
23977 wxPyEndAllowThreads(__tstate
);
23978 if (PyErr_Occurred()) SWIG_fail
;
23980 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxAcceleratorEntry
, 1);
23987 static PyObject
*_wrap_delete_AcceleratorEntry(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23988 PyObject
*resultobj
;
23989 wxAcceleratorEntry
*arg1
= (wxAcceleratorEntry
*) 0 ;
23990 PyObject
* obj0
= 0 ;
23991 char *kwnames
[] = {
23992 (char *) "self", NULL
23995 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_AcceleratorEntry",kwnames
,&obj0
)) goto fail
;
23996 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxAcceleratorEntry
, SWIG_POINTER_EXCEPTION
| 0);
23997 if (SWIG_arg_fail(1)) SWIG_fail
;
23999 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24002 wxPyEndAllowThreads(__tstate
);
24003 if (PyErr_Occurred()) SWIG_fail
;
24005 Py_INCREF(Py_None
); resultobj
= Py_None
;
24012 static PyObject
*_wrap_AcceleratorEntry_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24013 PyObject
*resultobj
;
24014 wxAcceleratorEntry
*arg1
= (wxAcceleratorEntry
*) 0 ;
24018 PyObject
* obj0
= 0 ;
24019 PyObject
* obj1
= 0 ;
24020 PyObject
* obj2
= 0 ;
24021 PyObject
* obj3
= 0 ;
24022 char *kwnames
[] = {
24023 (char *) "self",(char *) "flags",(char *) "keyCode",(char *) "cmd", NULL
24026 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:AcceleratorEntry_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
24027 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxAcceleratorEntry
, SWIG_POINTER_EXCEPTION
| 0);
24028 if (SWIG_arg_fail(1)) SWIG_fail
;
24030 arg2
= (int)(SWIG_As_int(obj1
));
24031 if (SWIG_arg_fail(2)) SWIG_fail
;
24034 arg3
= (int)(SWIG_As_int(obj2
));
24035 if (SWIG_arg_fail(3)) SWIG_fail
;
24038 arg4
= (int)(SWIG_As_int(obj3
));
24039 if (SWIG_arg_fail(4)) SWIG_fail
;
24042 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24043 (arg1
)->Set(arg2
,arg3
,arg4
);
24045 wxPyEndAllowThreads(__tstate
);
24046 if (PyErr_Occurred()) SWIG_fail
;
24048 Py_INCREF(Py_None
); resultobj
= Py_None
;
24055 static PyObject
*_wrap_AcceleratorEntry_GetFlags(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24056 PyObject
*resultobj
;
24057 wxAcceleratorEntry
*arg1
= (wxAcceleratorEntry
*) 0 ;
24059 PyObject
* obj0
= 0 ;
24060 char *kwnames
[] = {
24061 (char *) "self", NULL
24064 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:AcceleratorEntry_GetFlags",kwnames
,&obj0
)) goto fail
;
24065 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxAcceleratorEntry
, SWIG_POINTER_EXCEPTION
| 0);
24066 if (SWIG_arg_fail(1)) SWIG_fail
;
24068 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24069 result
= (int)(arg1
)->GetFlags();
24071 wxPyEndAllowThreads(__tstate
);
24072 if (PyErr_Occurred()) SWIG_fail
;
24075 resultobj
= SWIG_From_int((int)(result
));
24083 static PyObject
*_wrap_AcceleratorEntry_GetKeyCode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24084 PyObject
*resultobj
;
24085 wxAcceleratorEntry
*arg1
= (wxAcceleratorEntry
*) 0 ;
24087 PyObject
* obj0
= 0 ;
24088 char *kwnames
[] = {
24089 (char *) "self", NULL
24092 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:AcceleratorEntry_GetKeyCode",kwnames
,&obj0
)) goto fail
;
24093 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxAcceleratorEntry
, SWIG_POINTER_EXCEPTION
| 0);
24094 if (SWIG_arg_fail(1)) SWIG_fail
;
24096 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24097 result
= (int)(arg1
)->GetKeyCode();
24099 wxPyEndAllowThreads(__tstate
);
24100 if (PyErr_Occurred()) SWIG_fail
;
24103 resultobj
= SWIG_From_int((int)(result
));
24111 static PyObject
*_wrap_AcceleratorEntry_GetCommand(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24112 PyObject
*resultobj
;
24113 wxAcceleratorEntry
*arg1
= (wxAcceleratorEntry
*) 0 ;
24115 PyObject
* obj0
= 0 ;
24116 char *kwnames
[] = {
24117 (char *) "self", NULL
24120 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:AcceleratorEntry_GetCommand",kwnames
,&obj0
)) goto fail
;
24121 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxAcceleratorEntry
, SWIG_POINTER_EXCEPTION
| 0);
24122 if (SWIG_arg_fail(1)) SWIG_fail
;
24124 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24125 result
= (int)(arg1
)->GetCommand();
24127 wxPyEndAllowThreads(__tstate
);
24128 if (PyErr_Occurred()) SWIG_fail
;
24131 resultobj
= SWIG_From_int((int)(result
));
24139 static PyObject
* AcceleratorEntry_swigregister(PyObject
*, PyObject
*args
) {
24141 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24142 SWIG_TypeClientData(SWIGTYPE_p_wxAcceleratorEntry
, obj
);
24144 return Py_BuildValue((char *)"");
24146 static PyObject
*_wrap_new_AcceleratorTable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24147 PyObject
*resultobj
;
24149 wxAcceleratorEntry
*arg2
= (wxAcceleratorEntry
*) 0 ;
24150 wxAcceleratorTable
*result
;
24151 PyObject
* obj0
= 0 ;
24152 char *kwnames
[] = {
24156 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_AcceleratorTable",kwnames
,&obj0
)) goto fail
;
24158 arg2
= wxAcceleratorEntry_LIST_helper(obj0
);
24159 if (arg2
) arg1
= PyList_Size(obj0
);
24163 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24164 result
= (wxAcceleratorTable
*)new wxAcceleratorTable(arg1
,(wxAcceleratorEntry
const *)arg2
);
24166 wxPyEndAllowThreads(__tstate
);
24167 if (PyErr_Occurred()) SWIG_fail
;
24169 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxAcceleratorTable
, 1);
24182 static PyObject
*_wrap_delete_AcceleratorTable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24183 PyObject
*resultobj
;
24184 wxAcceleratorTable
*arg1
= (wxAcceleratorTable
*) 0 ;
24185 PyObject
* obj0
= 0 ;
24186 char *kwnames
[] = {
24187 (char *) "self", NULL
24190 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_AcceleratorTable",kwnames
,&obj0
)) goto fail
;
24191 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxAcceleratorTable
, SWIG_POINTER_EXCEPTION
| 0);
24192 if (SWIG_arg_fail(1)) SWIG_fail
;
24194 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24197 wxPyEndAllowThreads(__tstate
);
24198 if (PyErr_Occurred()) SWIG_fail
;
24200 Py_INCREF(Py_None
); resultobj
= Py_None
;
24207 static PyObject
*_wrap_AcceleratorTable_Ok(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24208 PyObject
*resultobj
;
24209 wxAcceleratorTable
*arg1
= (wxAcceleratorTable
*) 0 ;
24211 PyObject
* obj0
= 0 ;
24212 char *kwnames
[] = {
24213 (char *) "self", NULL
24216 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:AcceleratorTable_Ok",kwnames
,&obj0
)) goto fail
;
24217 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxAcceleratorTable
, SWIG_POINTER_EXCEPTION
| 0);
24218 if (SWIG_arg_fail(1)) SWIG_fail
;
24220 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24221 result
= (bool)((wxAcceleratorTable
const *)arg1
)->Ok();
24223 wxPyEndAllowThreads(__tstate
);
24224 if (PyErr_Occurred()) SWIG_fail
;
24227 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24235 static PyObject
* AcceleratorTable_swigregister(PyObject
*, PyObject
*args
) {
24237 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24238 SWIG_TypeClientData(SWIGTYPE_p_wxAcceleratorTable
, obj
);
24240 return Py_BuildValue((char *)"");
24242 static int _wrap_NullAcceleratorTable_set(PyObject
*) {
24243 PyErr_SetString(PyExc_TypeError
,"Variable NullAcceleratorTable is read-only.");
24248 static PyObject
*_wrap_NullAcceleratorTable_get(void) {
24251 pyobj
= SWIG_NewPointerObj((void *)(&wxNullAcceleratorTable
), SWIGTYPE_p_wxAcceleratorTable
, 0);
24256 static PyObject
*_wrap_GetAccelFromString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24257 PyObject
*resultobj
;
24258 wxString
*arg1
= 0 ;
24259 wxAcceleratorEntry
*result
;
24260 bool temp1
= false ;
24261 PyObject
* obj0
= 0 ;
24262 char *kwnames
[] = {
24263 (char *) "label", NULL
24266 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GetAccelFromString",kwnames
,&obj0
)) goto fail
;
24268 arg1
= wxString_in_helper(obj0
);
24269 if (arg1
== NULL
) SWIG_fail
;
24273 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24274 result
= (wxAcceleratorEntry
*)wxGetAccelFromString((wxString
const &)*arg1
);
24276 wxPyEndAllowThreads(__tstate
);
24277 if (PyErr_Occurred()) SWIG_fail
;
24279 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxAcceleratorEntry
, 0);
24294 static int _wrap_PanelNameStr_set(PyObject
*) {
24295 PyErr_SetString(PyExc_TypeError
,"Variable PanelNameStr is read-only.");
24300 static PyObject
*_wrap_PanelNameStr_get(void) {
24305 pyobj
= PyUnicode_FromWideChar((&wxPyPanelNameStr
)->c_str(), (&wxPyPanelNameStr
)->Len());
24307 pyobj
= PyString_FromStringAndSize((&wxPyPanelNameStr
)->c_str(), (&wxPyPanelNameStr
)->Len());
24314 static PyObject
*_wrap_new_VisualAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24315 PyObject
*resultobj
;
24316 wxVisualAttributes
*result
;
24317 char *kwnames
[] = {
24321 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_VisualAttributes",kwnames
)) goto fail
;
24323 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24324 result
= (wxVisualAttributes
*)new_wxVisualAttributes();
24326 wxPyEndAllowThreads(__tstate
);
24327 if (PyErr_Occurred()) SWIG_fail
;
24329 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxVisualAttributes
, 1);
24336 static PyObject
*_wrap_delete_VisualAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24337 PyObject
*resultobj
;
24338 wxVisualAttributes
*arg1
= (wxVisualAttributes
*) 0 ;
24339 PyObject
* obj0
= 0 ;
24340 char *kwnames
[] = {
24341 (char *) "self", NULL
24344 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_VisualAttributes",kwnames
,&obj0
)) goto fail
;
24345 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_EXCEPTION
| 0);
24346 if (SWIG_arg_fail(1)) SWIG_fail
;
24348 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24349 delete_wxVisualAttributes(arg1
);
24351 wxPyEndAllowThreads(__tstate
);
24352 if (PyErr_Occurred()) SWIG_fail
;
24354 Py_INCREF(Py_None
); resultobj
= Py_None
;
24361 static PyObject
*_wrap_VisualAttributes_font_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24362 PyObject
*resultobj
;
24363 wxVisualAttributes
*arg1
= (wxVisualAttributes
*) 0 ;
24364 wxFont
*arg2
= (wxFont
*) 0 ;
24365 PyObject
* obj0
= 0 ;
24366 PyObject
* obj1
= 0 ;
24367 char *kwnames
[] = {
24368 (char *) "self",(char *) "font", NULL
24371 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VisualAttributes_font_set",kwnames
,&obj0
,&obj1
)) goto fail
;
24372 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_EXCEPTION
| 0);
24373 if (SWIG_arg_fail(1)) SWIG_fail
;
24374 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
24375 if (SWIG_arg_fail(2)) SWIG_fail
;
24376 if (arg1
) (arg1
)->font
= *arg2
;
24378 Py_INCREF(Py_None
); resultobj
= Py_None
;
24385 static PyObject
*_wrap_VisualAttributes_font_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24386 PyObject
*resultobj
;
24387 wxVisualAttributes
*arg1
= (wxVisualAttributes
*) 0 ;
24389 PyObject
* obj0
= 0 ;
24390 char *kwnames
[] = {
24391 (char *) "self", NULL
24394 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VisualAttributes_font_get",kwnames
,&obj0
)) goto fail
;
24395 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_EXCEPTION
| 0);
24396 if (SWIG_arg_fail(1)) SWIG_fail
;
24397 result
= (wxFont
*)& ((arg1
)->font
);
24399 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFont
, 0);
24406 static PyObject
*_wrap_VisualAttributes_colFg_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24407 PyObject
*resultobj
;
24408 wxVisualAttributes
*arg1
= (wxVisualAttributes
*) 0 ;
24409 wxColour
*arg2
= (wxColour
*) 0 ;
24410 PyObject
* obj0
= 0 ;
24411 PyObject
* obj1
= 0 ;
24412 char *kwnames
[] = {
24413 (char *) "self",(char *) "colFg", NULL
24416 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VisualAttributes_colFg_set",kwnames
,&obj0
,&obj1
)) goto fail
;
24417 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_EXCEPTION
| 0);
24418 if (SWIG_arg_fail(1)) SWIG_fail
;
24419 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxColour
, SWIG_POINTER_EXCEPTION
| 0);
24420 if (SWIG_arg_fail(2)) SWIG_fail
;
24421 if (arg1
) (arg1
)->colFg
= *arg2
;
24423 Py_INCREF(Py_None
); resultobj
= Py_None
;
24430 static PyObject
*_wrap_VisualAttributes_colFg_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24431 PyObject
*resultobj
;
24432 wxVisualAttributes
*arg1
= (wxVisualAttributes
*) 0 ;
24434 PyObject
* obj0
= 0 ;
24435 char *kwnames
[] = {
24436 (char *) "self", NULL
24439 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VisualAttributes_colFg_get",kwnames
,&obj0
)) goto fail
;
24440 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_EXCEPTION
| 0);
24441 if (SWIG_arg_fail(1)) SWIG_fail
;
24442 result
= (wxColour
*)& ((arg1
)->colFg
);
24444 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColour
, 0);
24451 static PyObject
*_wrap_VisualAttributes_colBg_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24452 PyObject
*resultobj
;
24453 wxVisualAttributes
*arg1
= (wxVisualAttributes
*) 0 ;
24454 wxColour
*arg2
= (wxColour
*) 0 ;
24455 PyObject
* obj0
= 0 ;
24456 PyObject
* obj1
= 0 ;
24457 char *kwnames
[] = {
24458 (char *) "self",(char *) "colBg", NULL
24461 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VisualAttributes_colBg_set",kwnames
,&obj0
,&obj1
)) goto fail
;
24462 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_EXCEPTION
| 0);
24463 if (SWIG_arg_fail(1)) SWIG_fail
;
24464 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxColour
, SWIG_POINTER_EXCEPTION
| 0);
24465 if (SWIG_arg_fail(2)) SWIG_fail
;
24466 if (arg1
) (arg1
)->colBg
= *arg2
;
24468 Py_INCREF(Py_None
); resultobj
= Py_None
;
24475 static PyObject
*_wrap_VisualAttributes_colBg_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24476 PyObject
*resultobj
;
24477 wxVisualAttributes
*arg1
= (wxVisualAttributes
*) 0 ;
24479 PyObject
* obj0
= 0 ;
24480 char *kwnames
[] = {
24481 (char *) "self", NULL
24484 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VisualAttributes_colBg_get",kwnames
,&obj0
)) goto fail
;
24485 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_EXCEPTION
| 0);
24486 if (SWIG_arg_fail(1)) SWIG_fail
;
24487 result
= (wxColour
*)& ((arg1
)->colBg
);
24489 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColour
, 0);
24496 static PyObject
* VisualAttributes_swigregister(PyObject
*, PyObject
*args
) {
24498 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24499 SWIG_TypeClientData(SWIGTYPE_p_wxVisualAttributes
, obj
);
24501 return Py_BuildValue((char *)"");
24503 static PyObject
*_wrap_new_Window(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24504 PyObject
*resultobj
;
24505 wxWindow
*arg1
= (wxWindow
*) 0 ;
24506 int arg2
= (int) (int)-1 ;
24507 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
24508 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
24509 wxSize
const &arg4_defvalue
= wxDefaultSize
;
24510 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
24511 long arg5
= (long) 0 ;
24512 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
24513 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
24517 bool temp6
= false ;
24518 PyObject
* obj0
= 0 ;
24519 PyObject
* obj1
= 0 ;
24520 PyObject
* obj2
= 0 ;
24521 PyObject
* obj3
= 0 ;
24522 PyObject
* obj4
= 0 ;
24523 PyObject
* obj5
= 0 ;
24524 char *kwnames
[] = {
24525 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
24528 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_Window",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
24529 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
24530 if (SWIG_arg_fail(1)) SWIG_fail
;
24533 arg2
= (int const)(SWIG_As_int(obj1
));
24534 if (SWIG_arg_fail(2)) SWIG_fail
;
24540 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
24546 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
24551 arg5
= (long)(SWIG_As_long(obj4
));
24552 if (SWIG_arg_fail(5)) SWIG_fail
;
24557 arg6
= wxString_in_helper(obj5
);
24558 if (arg6
== NULL
) SWIG_fail
;
24563 if (!wxPyCheckForApp()) SWIG_fail
;
24564 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24565 result
= (wxWindow
*)new wxWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
24567 wxPyEndAllowThreads(__tstate
);
24568 if (PyErr_Occurred()) SWIG_fail
;
24570 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxWindow
, 1);
24585 static PyObject
*_wrap_new_PreWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24586 PyObject
*resultobj
;
24588 char *kwnames
[] = {
24592 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreWindow",kwnames
)) goto fail
;
24594 if (!wxPyCheckForApp()) SWIG_fail
;
24595 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24596 result
= (wxWindow
*)new wxWindow();
24598 wxPyEndAllowThreads(__tstate
);
24599 if (PyErr_Occurred()) SWIG_fail
;
24601 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxWindow
, 1);
24608 static PyObject
*_wrap_Window_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24609 PyObject
*resultobj
;
24610 wxWindow
*arg1
= (wxWindow
*) 0 ;
24611 wxWindow
*arg2
= (wxWindow
*) 0 ;
24612 int arg3
= (int) (int)-1 ;
24613 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
24614 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
24615 wxSize
const &arg5_defvalue
= wxDefaultSize
;
24616 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
24617 long arg6
= (long) 0 ;
24618 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
24619 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
24623 bool temp7
= false ;
24624 PyObject
* obj0
= 0 ;
24625 PyObject
* obj1
= 0 ;
24626 PyObject
* obj2
= 0 ;
24627 PyObject
* obj3
= 0 ;
24628 PyObject
* obj4
= 0 ;
24629 PyObject
* obj5
= 0 ;
24630 PyObject
* obj6
= 0 ;
24631 char *kwnames
[] = {
24632 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
24635 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:Window_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
24636 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
24637 if (SWIG_arg_fail(1)) SWIG_fail
;
24638 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
24639 if (SWIG_arg_fail(2)) SWIG_fail
;
24642 arg3
= (int const)(SWIG_As_int(obj2
));
24643 if (SWIG_arg_fail(3)) SWIG_fail
;
24649 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
24655 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
24660 arg6
= (long)(SWIG_As_long(obj5
));
24661 if (SWIG_arg_fail(6)) SWIG_fail
;
24666 arg7
= wxString_in_helper(obj6
);
24667 if (arg7
== NULL
) SWIG_fail
;
24672 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24673 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
24675 wxPyEndAllowThreads(__tstate
);
24676 if (PyErr_Occurred()) SWIG_fail
;
24679 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24695 static PyObject
*_wrap_Window_Close(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24696 PyObject
*resultobj
;
24697 wxWindow
*arg1
= (wxWindow
*) 0 ;
24698 bool arg2
= (bool) false ;
24700 PyObject
* obj0
= 0 ;
24701 PyObject
* obj1
= 0 ;
24702 char *kwnames
[] = {
24703 (char *) "self",(char *) "force", NULL
24706 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_Close",kwnames
,&obj0
,&obj1
)) goto fail
;
24707 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
24708 if (SWIG_arg_fail(1)) SWIG_fail
;
24711 arg2
= (bool)(SWIG_As_bool(obj1
));
24712 if (SWIG_arg_fail(2)) SWIG_fail
;
24716 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24717 result
= (bool)(arg1
)->Close(arg2
);
24719 wxPyEndAllowThreads(__tstate
);
24720 if (PyErr_Occurred()) SWIG_fail
;
24723 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24731 static PyObject
*_wrap_Window_Destroy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24732 PyObject
*resultobj
;
24733 wxWindow
*arg1
= (wxWindow
*) 0 ;
24735 PyObject
* obj0
= 0 ;
24736 char *kwnames
[] = {
24737 (char *) "self", NULL
24740 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Destroy",kwnames
,&obj0
)) goto fail
;
24741 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
24742 if (SWIG_arg_fail(1)) SWIG_fail
;
24744 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24745 result
= (bool)(arg1
)->Destroy();
24747 wxPyEndAllowThreads(__tstate
);
24748 if (PyErr_Occurred()) SWIG_fail
;
24751 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24759 static PyObject
*_wrap_Window_DestroyChildren(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24760 PyObject
*resultobj
;
24761 wxWindow
*arg1
= (wxWindow
*) 0 ;
24763 PyObject
* obj0
= 0 ;
24764 char *kwnames
[] = {
24765 (char *) "self", NULL
24768 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_DestroyChildren",kwnames
,&obj0
)) goto fail
;
24769 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
24770 if (SWIG_arg_fail(1)) SWIG_fail
;
24772 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24773 result
= (bool)(arg1
)->DestroyChildren();
24775 wxPyEndAllowThreads(__tstate
);
24776 if (PyErr_Occurred()) SWIG_fail
;
24779 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24787 static PyObject
*_wrap_Window_IsBeingDeleted(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24788 PyObject
*resultobj
;
24789 wxWindow
*arg1
= (wxWindow
*) 0 ;
24791 PyObject
* obj0
= 0 ;
24792 char *kwnames
[] = {
24793 (char *) "self", NULL
24796 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_IsBeingDeleted",kwnames
,&obj0
)) goto fail
;
24797 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
24798 if (SWIG_arg_fail(1)) SWIG_fail
;
24800 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24801 result
= (bool)((wxWindow
const *)arg1
)->IsBeingDeleted();
24803 wxPyEndAllowThreads(__tstate
);
24804 if (PyErr_Occurred()) SWIG_fail
;
24807 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24815 static PyObject
*_wrap_Window_SetTitle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24816 PyObject
*resultobj
;
24817 wxWindow
*arg1
= (wxWindow
*) 0 ;
24818 wxString
*arg2
= 0 ;
24819 bool temp2
= false ;
24820 PyObject
* obj0
= 0 ;
24821 PyObject
* obj1
= 0 ;
24822 char *kwnames
[] = {
24823 (char *) "self",(char *) "title", NULL
24826 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetTitle",kwnames
,&obj0
,&obj1
)) goto fail
;
24827 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
24828 if (SWIG_arg_fail(1)) SWIG_fail
;
24830 arg2
= wxString_in_helper(obj1
);
24831 if (arg2
== NULL
) SWIG_fail
;
24835 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24836 (arg1
)->SetTitle((wxString
const &)*arg2
);
24838 wxPyEndAllowThreads(__tstate
);
24839 if (PyErr_Occurred()) SWIG_fail
;
24841 Py_INCREF(Py_None
); resultobj
= Py_None
;
24856 static PyObject
*_wrap_Window_GetTitle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24857 PyObject
*resultobj
;
24858 wxWindow
*arg1
= (wxWindow
*) 0 ;
24860 PyObject
* obj0
= 0 ;
24861 char *kwnames
[] = {
24862 (char *) "self", NULL
24865 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetTitle",kwnames
,&obj0
)) goto fail
;
24866 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
24867 if (SWIG_arg_fail(1)) SWIG_fail
;
24869 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24870 result
= ((wxWindow
const *)arg1
)->GetTitle();
24872 wxPyEndAllowThreads(__tstate
);
24873 if (PyErr_Occurred()) SWIG_fail
;
24877 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
24879 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
24888 static PyObject
*_wrap_Window_SetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24889 PyObject
*resultobj
;
24890 wxWindow
*arg1
= (wxWindow
*) 0 ;
24891 wxString
*arg2
= 0 ;
24892 bool temp2
= false ;
24893 PyObject
* obj0
= 0 ;
24894 PyObject
* obj1
= 0 ;
24895 char *kwnames
[] = {
24896 (char *) "self",(char *) "label", NULL
24899 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
24900 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
24901 if (SWIG_arg_fail(1)) SWIG_fail
;
24903 arg2
= wxString_in_helper(obj1
);
24904 if (arg2
== NULL
) SWIG_fail
;
24908 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24909 (arg1
)->SetLabel((wxString
const &)*arg2
);
24911 wxPyEndAllowThreads(__tstate
);
24912 if (PyErr_Occurred()) SWIG_fail
;
24914 Py_INCREF(Py_None
); resultobj
= Py_None
;
24929 static PyObject
*_wrap_Window_GetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24930 PyObject
*resultobj
;
24931 wxWindow
*arg1
= (wxWindow
*) 0 ;
24933 PyObject
* obj0
= 0 ;
24934 char *kwnames
[] = {
24935 (char *) "self", NULL
24938 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetLabel",kwnames
,&obj0
)) goto fail
;
24939 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
24940 if (SWIG_arg_fail(1)) SWIG_fail
;
24942 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24943 result
= ((wxWindow
const *)arg1
)->GetLabel();
24945 wxPyEndAllowThreads(__tstate
);
24946 if (PyErr_Occurred()) SWIG_fail
;
24950 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
24952 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
24961 static PyObject
*_wrap_Window_SetName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24962 PyObject
*resultobj
;
24963 wxWindow
*arg1
= (wxWindow
*) 0 ;
24964 wxString
*arg2
= 0 ;
24965 bool temp2
= false ;
24966 PyObject
* obj0
= 0 ;
24967 PyObject
* obj1
= 0 ;
24968 char *kwnames
[] = {
24969 (char *) "self",(char *) "name", NULL
24972 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetName",kwnames
,&obj0
,&obj1
)) goto fail
;
24973 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
24974 if (SWIG_arg_fail(1)) SWIG_fail
;
24976 arg2
= wxString_in_helper(obj1
);
24977 if (arg2
== NULL
) SWIG_fail
;
24981 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24982 (arg1
)->SetName((wxString
const &)*arg2
);
24984 wxPyEndAllowThreads(__tstate
);
24985 if (PyErr_Occurred()) SWIG_fail
;
24987 Py_INCREF(Py_None
); resultobj
= Py_None
;
25002 static PyObject
*_wrap_Window_GetName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25003 PyObject
*resultobj
;
25004 wxWindow
*arg1
= (wxWindow
*) 0 ;
25006 PyObject
* obj0
= 0 ;
25007 char *kwnames
[] = {
25008 (char *) "self", NULL
25011 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetName",kwnames
,&obj0
)) goto fail
;
25012 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25013 if (SWIG_arg_fail(1)) SWIG_fail
;
25015 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25016 result
= ((wxWindow
const *)arg1
)->GetName();
25018 wxPyEndAllowThreads(__tstate
);
25019 if (PyErr_Occurred()) SWIG_fail
;
25023 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
25025 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
25034 static PyObject
*_wrap_Window_SetWindowVariant(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25035 PyObject
*resultobj
;
25036 wxWindow
*arg1
= (wxWindow
*) 0 ;
25037 wxWindowVariant arg2
;
25038 PyObject
* obj0
= 0 ;
25039 PyObject
* obj1
= 0 ;
25040 char *kwnames
[] = {
25041 (char *) "self",(char *) "variant", NULL
25044 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetWindowVariant",kwnames
,&obj0
,&obj1
)) goto fail
;
25045 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25046 if (SWIG_arg_fail(1)) SWIG_fail
;
25048 arg2
= (wxWindowVariant
)(SWIG_As_int(obj1
));
25049 if (SWIG_arg_fail(2)) SWIG_fail
;
25052 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25053 (arg1
)->SetWindowVariant((wxWindowVariant
)arg2
);
25055 wxPyEndAllowThreads(__tstate
);
25056 if (PyErr_Occurred()) SWIG_fail
;
25058 Py_INCREF(Py_None
); resultobj
= Py_None
;
25065 static PyObject
*_wrap_Window_GetWindowVariant(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25066 PyObject
*resultobj
;
25067 wxWindow
*arg1
= (wxWindow
*) 0 ;
25068 wxWindowVariant result
;
25069 PyObject
* obj0
= 0 ;
25070 char *kwnames
[] = {
25071 (char *) "self", NULL
25074 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetWindowVariant",kwnames
,&obj0
)) goto fail
;
25075 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25076 if (SWIG_arg_fail(1)) SWIG_fail
;
25078 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25079 result
= (wxWindowVariant
)((wxWindow
const *)arg1
)->GetWindowVariant();
25081 wxPyEndAllowThreads(__tstate
);
25082 if (PyErr_Occurred()) SWIG_fail
;
25084 resultobj
= SWIG_From_int((result
));
25091 static PyObject
*_wrap_Window_SetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25092 PyObject
*resultobj
;
25093 wxWindow
*arg1
= (wxWindow
*) 0 ;
25095 PyObject
* obj0
= 0 ;
25096 PyObject
* obj1
= 0 ;
25097 char *kwnames
[] = {
25098 (char *) "self",(char *) "winid", NULL
25101 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetId",kwnames
,&obj0
,&obj1
)) goto fail
;
25102 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25103 if (SWIG_arg_fail(1)) SWIG_fail
;
25105 arg2
= (int)(SWIG_As_int(obj1
));
25106 if (SWIG_arg_fail(2)) SWIG_fail
;
25109 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25110 (arg1
)->SetId(arg2
);
25112 wxPyEndAllowThreads(__tstate
);
25113 if (PyErr_Occurred()) SWIG_fail
;
25115 Py_INCREF(Py_None
); resultobj
= Py_None
;
25122 static PyObject
*_wrap_Window_GetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25123 PyObject
*resultobj
;
25124 wxWindow
*arg1
= (wxWindow
*) 0 ;
25126 PyObject
* obj0
= 0 ;
25127 char *kwnames
[] = {
25128 (char *) "self", NULL
25131 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetId",kwnames
,&obj0
)) goto fail
;
25132 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25133 if (SWIG_arg_fail(1)) SWIG_fail
;
25135 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25136 result
= (int)((wxWindow
const *)arg1
)->GetId();
25138 wxPyEndAllowThreads(__tstate
);
25139 if (PyErr_Occurred()) SWIG_fail
;
25142 resultobj
= SWIG_From_int((int)(result
));
25150 static PyObject
*_wrap_Window_NewControlId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25151 PyObject
*resultobj
;
25153 char *kwnames
[] = {
25157 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Window_NewControlId",kwnames
)) goto fail
;
25159 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25160 result
= (int)wxWindow::NewControlId();
25162 wxPyEndAllowThreads(__tstate
);
25163 if (PyErr_Occurred()) SWIG_fail
;
25166 resultobj
= SWIG_From_int((int)(result
));
25174 static PyObject
*_wrap_Window_NextControlId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25175 PyObject
*resultobj
;
25178 PyObject
* obj0
= 0 ;
25179 char *kwnames
[] = {
25180 (char *) "winid", NULL
25183 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_NextControlId",kwnames
,&obj0
)) goto fail
;
25185 arg1
= (int)(SWIG_As_int(obj0
));
25186 if (SWIG_arg_fail(1)) SWIG_fail
;
25189 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25190 result
= (int)wxWindow::NextControlId(arg1
);
25192 wxPyEndAllowThreads(__tstate
);
25193 if (PyErr_Occurred()) SWIG_fail
;
25196 resultobj
= SWIG_From_int((int)(result
));
25204 static PyObject
*_wrap_Window_PrevControlId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25205 PyObject
*resultobj
;
25208 PyObject
* obj0
= 0 ;
25209 char *kwnames
[] = {
25210 (char *) "winid", NULL
25213 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_PrevControlId",kwnames
,&obj0
)) goto fail
;
25215 arg1
= (int)(SWIG_As_int(obj0
));
25216 if (SWIG_arg_fail(1)) SWIG_fail
;
25219 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25220 result
= (int)wxWindow::PrevControlId(arg1
);
25222 wxPyEndAllowThreads(__tstate
);
25223 if (PyErr_Occurred()) SWIG_fail
;
25226 resultobj
= SWIG_From_int((int)(result
));
25234 static PyObject
*_wrap_Window_SetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25235 PyObject
*resultobj
;
25236 wxWindow
*arg1
= (wxWindow
*) 0 ;
25239 PyObject
* obj0
= 0 ;
25240 PyObject
* obj1
= 0 ;
25241 char *kwnames
[] = {
25242 (char *) "self",(char *) "size", NULL
25245 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetSize",kwnames
,&obj0
,&obj1
)) goto fail
;
25246 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25247 if (SWIG_arg_fail(1)) SWIG_fail
;
25250 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
25253 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25254 (arg1
)->SetSize((wxSize
const &)*arg2
);
25256 wxPyEndAllowThreads(__tstate
);
25257 if (PyErr_Occurred()) SWIG_fail
;
25259 Py_INCREF(Py_None
); resultobj
= Py_None
;
25266 static PyObject
*_wrap_Window_SetDimensions(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25267 PyObject
*resultobj
;
25268 wxWindow
*arg1
= (wxWindow
*) 0 ;
25273 int arg6
= (int) wxSIZE_AUTO
;
25274 PyObject
* obj0
= 0 ;
25275 PyObject
* obj1
= 0 ;
25276 PyObject
* obj2
= 0 ;
25277 PyObject
* obj3
= 0 ;
25278 PyObject
* obj4
= 0 ;
25279 PyObject
* obj5
= 0 ;
25280 char *kwnames
[] = {
25281 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
25284 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:Window_SetDimensions",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
25285 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25286 if (SWIG_arg_fail(1)) SWIG_fail
;
25288 arg2
= (int)(SWIG_As_int(obj1
));
25289 if (SWIG_arg_fail(2)) SWIG_fail
;
25292 arg3
= (int)(SWIG_As_int(obj2
));
25293 if (SWIG_arg_fail(3)) SWIG_fail
;
25296 arg4
= (int)(SWIG_As_int(obj3
));
25297 if (SWIG_arg_fail(4)) SWIG_fail
;
25300 arg5
= (int)(SWIG_As_int(obj4
));
25301 if (SWIG_arg_fail(5)) SWIG_fail
;
25305 arg6
= (int)(SWIG_As_int(obj5
));
25306 if (SWIG_arg_fail(6)) SWIG_fail
;
25310 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25311 (arg1
)->SetSize(arg2
,arg3
,arg4
,arg5
,arg6
);
25313 wxPyEndAllowThreads(__tstate
);
25314 if (PyErr_Occurred()) SWIG_fail
;
25316 Py_INCREF(Py_None
); resultobj
= Py_None
;
25323 static PyObject
*_wrap_Window_SetRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25324 PyObject
*resultobj
;
25325 wxWindow
*arg1
= (wxWindow
*) 0 ;
25327 int arg3
= (int) wxSIZE_AUTO
;
25329 PyObject
* obj0
= 0 ;
25330 PyObject
* obj1
= 0 ;
25331 PyObject
* obj2
= 0 ;
25332 char *kwnames
[] = {
25333 (char *) "self",(char *) "rect",(char *) "sizeFlags", NULL
25336 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_SetRect",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25337 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25338 if (SWIG_arg_fail(1)) SWIG_fail
;
25341 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
25345 arg3
= (int)(SWIG_As_int(obj2
));
25346 if (SWIG_arg_fail(3)) SWIG_fail
;
25350 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25351 (arg1
)->SetSize((wxRect
const &)*arg2
,arg3
);
25353 wxPyEndAllowThreads(__tstate
);
25354 if (PyErr_Occurred()) SWIG_fail
;
25356 Py_INCREF(Py_None
); resultobj
= Py_None
;
25363 static PyObject
*_wrap_Window_SetSizeWH(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25364 PyObject
*resultobj
;
25365 wxWindow
*arg1
= (wxWindow
*) 0 ;
25368 PyObject
* obj0
= 0 ;
25369 PyObject
* obj1
= 0 ;
25370 PyObject
* obj2
= 0 ;
25371 char *kwnames
[] = {
25372 (char *) "self",(char *) "width",(char *) "height", NULL
25375 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_SetSizeWH",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25376 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25377 if (SWIG_arg_fail(1)) SWIG_fail
;
25379 arg2
= (int)(SWIG_As_int(obj1
));
25380 if (SWIG_arg_fail(2)) SWIG_fail
;
25383 arg3
= (int)(SWIG_As_int(obj2
));
25384 if (SWIG_arg_fail(3)) SWIG_fail
;
25387 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25388 (arg1
)->SetSize(arg2
,arg3
);
25390 wxPyEndAllowThreads(__tstate
);
25391 if (PyErr_Occurred()) SWIG_fail
;
25393 Py_INCREF(Py_None
); resultobj
= Py_None
;
25400 static PyObject
*_wrap_Window_Move(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25401 PyObject
*resultobj
;
25402 wxWindow
*arg1
= (wxWindow
*) 0 ;
25403 wxPoint
*arg2
= 0 ;
25404 int arg3
= (int) wxSIZE_USE_EXISTING
;
25406 PyObject
* obj0
= 0 ;
25407 PyObject
* obj1
= 0 ;
25408 PyObject
* obj2
= 0 ;
25409 char *kwnames
[] = {
25410 (char *) "self",(char *) "pt",(char *) "flags", NULL
25413 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_Move",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25414 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25415 if (SWIG_arg_fail(1)) SWIG_fail
;
25418 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
25422 arg3
= (int)(SWIG_As_int(obj2
));
25423 if (SWIG_arg_fail(3)) SWIG_fail
;
25427 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25428 (arg1
)->Move((wxPoint
const &)*arg2
,arg3
);
25430 wxPyEndAllowThreads(__tstate
);
25431 if (PyErr_Occurred()) SWIG_fail
;
25433 Py_INCREF(Py_None
); resultobj
= Py_None
;
25440 static PyObject
*_wrap_Window_MoveXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25441 PyObject
*resultobj
;
25442 wxWindow
*arg1
= (wxWindow
*) 0 ;
25445 int arg4
= (int) wxSIZE_USE_EXISTING
;
25446 PyObject
* obj0
= 0 ;
25447 PyObject
* obj1
= 0 ;
25448 PyObject
* obj2
= 0 ;
25449 PyObject
* obj3
= 0 ;
25450 char *kwnames
[] = {
25451 (char *) "self",(char *) "x",(char *) "y",(char *) "flags", NULL
25454 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Window_MoveXY",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
25455 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25456 if (SWIG_arg_fail(1)) SWIG_fail
;
25458 arg2
= (int)(SWIG_As_int(obj1
));
25459 if (SWIG_arg_fail(2)) SWIG_fail
;
25462 arg3
= (int)(SWIG_As_int(obj2
));
25463 if (SWIG_arg_fail(3)) SWIG_fail
;
25467 arg4
= (int)(SWIG_As_int(obj3
));
25468 if (SWIG_arg_fail(4)) SWIG_fail
;
25472 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25473 (arg1
)->Move(arg2
,arg3
,arg4
);
25475 wxPyEndAllowThreads(__tstate
);
25476 if (PyErr_Occurred()) SWIG_fail
;
25478 Py_INCREF(Py_None
); resultobj
= Py_None
;
25485 static PyObject
*_wrap_Window_SetBestFittingSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25486 PyObject
*resultobj
;
25487 wxWindow
*arg1
= (wxWindow
*) 0 ;
25488 wxSize
const &arg2_defvalue
= wxDefaultSize
;
25489 wxSize
*arg2
= (wxSize
*) &arg2_defvalue
;
25491 PyObject
* obj0
= 0 ;
25492 PyObject
* obj1
= 0 ;
25493 char *kwnames
[] = {
25494 (char *) "self",(char *) "size", NULL
25497 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_SetBestFittingSize",kwnames
,&obj0
,&obj1
)) goto fail
;
25498 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25499 if (SWIG_arg_fail(1)) SWIG_fail
;
25503 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
25507 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25508 (arg1
)->SetBestFittingSize((wxSize
const &)*arg2
);
25510 wxPyEndAllowThreads(__tstate
);
25511 if (PyErr_Occurred()) SWIG_fail
;
25513 Py_INCREF(Py_None
); resultobj
= Py_None
;
25520 static PyObject
*_wrap_Window_Raise(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25521 PyObject
*resultobj
;
25522 wxWindow
*arg1
= (wxWindow
*) 0 ;
25523 PyObject
* obj0
= 0 ;
25524 char *kwnames
[] = {
25525 (char *) "self", NULL
25528 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Raise",kwnames
,&obj0
)) goto fail
;
25529 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25530 if (SWIG_arg_fail(1)) SWIG_fail
;
25532 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25535 wxPyEndAllowThreads(__tstate
);
25536 if (PyErr_Occurred()) SWIG_fail
;
25538 Py_INCREF(Py_None
); resultobj
= Py_None
;
25545 static PyObject
*_wrap_Window_Lower(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25546 PyObject
*resultobj
;
25547 wxWindow
*arg1
= (wxWindow
*) 0 ;
25548 PyObject
* obj0
= 0 ;
25549 char *kwnames
[] = {
25550 (char *) "self", NULL
25553 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Lower",kwnames
,&obj0
)) goto fail
;
25554 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25555 if (SWIG_arg_fail(1)) SWIG_fail
;
25557 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25560 wxPyEndAllowThreads(__tstate
);
25561 if (PyErr_Occurred()) SWIG_fail
;
25563 Py_INCREF(Py_None
); resultobj
= Py_None
;
25570 static PyObject
*_wrap_Window_SetClientSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25571 PyObject
*resultobj
;
25572 wxWindow
*arg1
= (wxWindow
*) 0 ;
25575 PyObject
* obj0
= 0 ;
25576 PyObject
* obj1
= 0 ;
25577 char *kwnames
[] = {
25578 (char *) "self",(char *) "size", NULL
25581 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetClientSize",kwnames
,&obj0
,&obj1
)) goto fail
;
25582 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25583 if (SWIG_arg_fail(1)) SWIG_fail
;
25586 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
25589 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25590 (arg1
)->SetClientSize((wxSize
const &)*arg2
);
25592 wxPyEndAllowThreads(__tstate
);
25593 if (PyErr_Occurred()) SWIG_fail
;
25595 Py_INCREF(Py_None
); resultobj
= Py_None
;
25602 static PyObject
*_wrap_Window_SetClientSizeWH(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25603 PyObject
*resultobj
;
25604 wxWindow
*arg1
= (wxWindow
*) 0 ;
25607 PyObject
* obj0
= 0 ;
25608 PyObject
* obj1
= 0 ;
25609 PyObject
* obj2
= 0 ;
25610 char *kwnames
[] = {
25611 (char *) "self",(char *) "width",(char *) "height", NULL
25614 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_SetClientSizeWH",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25615 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25616 if (SWIG_arg_fail(1)) SWIG_fail
;
25618 arg2
= (int)(SWIG_As_int(obj1
));
25619 if (SWIG_arg_fail(2)) SWIG_fail
;
25622 arg3
= (int)(SWIG_As_int(obj2
));
25623 if (SWIG_arg_fail(3)) SWIG_fail
;
25626 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25627 (arg1
)->SetClientSize(arg2
,arg3
);
25629 wxPyEndAllowThreads(__tstate
);
25630 if (PyErr_Occurred()) SWIG_fail
;
25632 Py_INCREF(Py_None
); resultobj
= Py_None
;
25639 static PyObject
*_wrap_Window_SetClientRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25640 PyObject
*resultobj
;
25641 wxWindow
*arg1
= (wxWindow
*) 0 ;
25644 PyObject
* obj0
= 0 ;
25645 PyObject
* obj1
= 0 ;
25646 char *kwnames
[] = {
25647 (char *) "self",(char *) "rect", NULL
25650 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetClientRect",kwnames
,&obj0
,&obj1
)) goto fail
;
25651 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25652 if (SWIG_arg_fail(1)) SWIG_fail
;
25655 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
25658 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25659 (arg1
)->SetClientSize((wxRect
const &)*arg2
);
25661 wxPyEndAllowThreads(__tstate
);
25662 if (PyErr_Occurred()) SWIG_fail
;
25664 Py_INCREF(Py_None
); resultobj
= Py_None
;
25671 static PyObject
*_wrap_Window_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25672 PyObject
*resultobj
;
25673 wxWindow
*arg1
= (wxWindow
*) 0 ;
25675 PyObject
* obj0
= 0 ;
25676 char *kwnames
[] = {
25677 (char *) "self", NULL
25680 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetPosition",kwnames
,&obj0
)) goto fail
;
25681 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25682 if (SWIG_arg_fail(1)) SWIG_fail
;
25684 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25685 result
= (arg1
)->GetPosition();
25687 wxPyEndAllowThreads(__tstate
);
25688 if (PyErr_Occurred()) SWIG_fail
;
25691 wxPoint
* resultptr
;
25692 resultptr
= new wxPoint((wxPoint
&)(result
));
25693 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
25701 static PyObject
*_wrap_Window_GetPositionTuple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25702 PyObject
*resultobj
;
25703 wxWindow
*arg1
= (wxWindow
*) 0 ;
25704 int *arg2
= (int *) 0 ;
25705 int *arg3
= (int *) 0 ;
25710 PyObject
* obj0
= 0 ;
25711 char *kwnames
[] = {
25712 (char *) "self", NULL
25715 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
25716 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
25717 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetPositionTuple",kwnames
,&obj0
)) goto fail
;
25718 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25719 if (SWIG_arg_fail(1)) SWIG_fail
;
25721 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25722 (arg1
)->GetPosition(arg2
,arg3
);
25724 wxPyEndAllowThreads(__tstate
);
25725 if (PyErr_Occurred()) SWIG_fail
;
25727 Py_INCREF(Py_None
); resultobj
= Py_None
;
25728 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
25729 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
25730 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
25731 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
25738 static PyObject
*_wrap_Window_GetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25739 PyObject
*resultobj
;
25740 wxWindow
*arg1
= (wxWindow
*) 0 ;
25742 PyObject
* obj0
= 0 ;
25743 char *kwnames
[] = {
25744 (char *) "self", NULL
25747 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetSize",kwnames
,&obj0
)) goto fail
;
25748 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25749 if (SWIG_arg_fail(1)) SWIG_fail
;
25751 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25752 result
= ((wxWindow
const *)arg1
)->GetSize();
25754 wxPyEndAllowThreads(__tstate
);
25755 if (PyErr_Occurred()) SWIG_fail
;
25758 wxSize
* resultptr
;
25759 resultptr
= new wxSize((wxSize
&)(result
));
25760 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
25768 static PyObject
*_wrap_Window_GetSizeTuple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25769 PyObject
*resultobj
;
25770 wxWindow
*arg1
= (wxWindow
*) 0 ;
25771 int *arg2
= (int *) 0 ;
25772 int *arg3
= (int *) 0 ;
25777 PyObject
* obj0
= 0 ;
25778 char *kwnames
[] = {
25779 (char *) "self", NULL
25782 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
25783 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
25784 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetSizeTuple",kwnames
,&obj0
)) goto fail
;
25785 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25786 if (SWIG_arg_fail(1)) SWIG_fail
;
25788 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25789 ((wxWindow
const *)arg1
)->GetSize(arg2
,arg3
);
25791 wxPyEndAllowThreads(__tstate
);
25792 if (PyErr_Occurred()) SWIG_fail
;
25794 Py_INCREF(Py_None
); resultobj
= Py_None
;
25795 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
25796 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
25797 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
25798 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
25805 static PyObject
*_wrap_Window_GetRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25806 PyObject
*resultobj
;
25807 wxWindow
*arg1
= (wxWindow
*) 0 ;
25809 PyObject
* obj0
= 0 ;
25810 char *kwnames
[] = {
25811 (char *) "self", NULL
25814 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetRect",kwnames
,&obj0
)) goto fail
;
25815 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25816 if (SWIG_arg_fail(1)) SWIG_fail
;
25818 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25819 result
= ((wxWindow
const *)arg1
)->GetRect();
25821 wxPyEndAllowThreads(__tstate
);
25822 if (PyErr_Occurred()) SWIG_fail
;
25825 wxRect
* resultptr
;
25826 resultptr
= new wxRect((wxRect
&)(result
));
25827 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
25835 static PyObject
*_wrap_Window_GetClientSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25836 PyObject
*resultobj
;
25837 wxWindow
*arg1
= (wxWindow
*) 0 ;
25839 PyObject
* obj0
= 0 ;
25840 char *kwnames
[] = {
25841 (char *) "self", NULL
25844 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetClientSize",kwnames
,&obj0
)) 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 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25849 result
= ((wxWindow
const *)arg1
)->GetClientSize();
25851 wxPyEndAllowThreads(__tstate
);
25852 if (PyErr_Occurred()) SWIG_fail
;
25855 wxSize
* resultptr
;
25856 resultptr
= new wxSize((wxSize
&)(result
));
25857 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
25865 static PyObject
*_wrap_Window_GetClientSizeTuple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25866 PyObject
*resultobj
;
25867 wxWindow
*arg1
= (wxWindow
*) 0 ;
25868 int *arg2
= (int *) 0 ;
25869 int *arg3
= (int *) 0 ;
25874 PyObject
* obj0
= 0 ;
25875 char *kwnames
[] = {
25876 (char *) "self", NULL
25879 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
25880 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
25881 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetClientSizeTuple",kwnames
,&obj0
)) goto fail
;
25882 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25883 if (SWIG_arg_fail(1)) SWIG_fail
;
25885 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25886 ((wxWindow
const *)arg1
)->GetClientSize(arg2
,arg3
);
25888 wxPyEndAllowThreads(__tstate
);
25889 if (PyErr_Occurred()) SWIG_fail
;
25891 Py_INCREF(Py_None
); resultobj
= Py_None
;
25892 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
25893 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
25894 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
25895 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
25902 static PyObject
*_wrap_Window_GetClientAreaOrigin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25903 PyObject
*resultobj
;
25904 wxWindow
*arg1
= (wxWindow
*) 0 ;
25906 PyObject
* obj0
= 0 ;
25907 char *kwnames
[] = {
25908 (char *) "self", NULL
25911 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetClientAreaOrigin",kwnames
,&obj0
)) goto fail
;
25912 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25913 if (SWIG_arg_fail(1)) SWIG_fail
;
25915 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25916 result
= ((wxWindow
const *)arg1
)->GetClientAreaOrigin();
25918 wxPyEndAllowThreads(__tstate
);
25919 if (PyErr_Occurred()) SWIG_fail
;
25922 wxPoint
* resultptr
;
25923 resultptr
= new wxPoint((wxPoint
&)(result
));
25924 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
25932 static PyObject
*_wrap_Window_GetClientRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25933 PyObject
*resultobj
;
25934 wxWindow
*arg1
= (wxWindow
*) 0 ;
25936 PyObject
* obj0
= 0 ;
25937 char *kwnames
[] = {
25938 (char *) "self", NULL
25941 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetClientRect",kwnames
,&obj0
)) goto fail
;
25942 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25943 if (SWIG_arg_fail(1)) SWIG_fail
;
25945 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25946 result
= ((wxWindow
const *)arg1
)->GetClientRect();
25948 wxPyEndAllowThreads(__tstate
);
25949 if (PyErr_Occurred()) SWIG_fail
;
25952 wxRect
* resultptr
;
25953 resultptr
= new wxRect((wxRect
&)(result
));
25954 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
25962 static PyObject
*_wrap_Window_GetBestSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25963 PyObject
*resultobj
;
25964 wxWindow
*arg1
= (wxWindow
*) 0 ;
25966 PyObject
* obj0
= 0 ;
25967 char *kwnames
[] = {
25968 (char *) "self", NULL
25971 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetBestSize",kwnames
,&obj0
)) goto fail
;
25972 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25973 if (SWIG_arg_fail(1)) SWIG_fail
;
25975 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25976 result
= ((wxWindow
const *)arg1
)->GetBestSize();
25978 wxPyEndAllowThreads(__tstate
);
25979 if (PyErr_Occurred()) SWIG_fail
;
25982 wxSize
* resultptr
;
25983 resultptr
= new wxSize((wxSize
&)(result
));
25984 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
25992 static PyObject
*_wrap_Window_GetBestSizeTuple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25993 PyObject
*resultobj
;
25994 wxWindow
*arg1
= (wxWindow
*) 0 ;
25995 int *arg2
= (int *) 0 ;
25996 int *arg3
= (int *) 0 ;
26001 PyObject
* obj0
= 0 ;
26002 char *kwnames
[] = {
26003 (char *) "self", NULL
26006 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
26007 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
26008 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetBestSizeTuple",kwnames
,&obj0
)) goto fail
;
26009 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26010 if (SWIG_arg_fail(1)) SWIG_fail
;
26012 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26013 ((wxWindow
const *)arg1
)->GetBestSize(arg2
,arg3
);
26015 wxPyEndAllowThreads(__tstate
);
26016 if (PyErr_Occurred()) SWIG_fail
;
26018 Py_INCREF(Py_None
); resultobj
= Py_None
;
26019 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
26020 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
26021 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
26022 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
26029 static PyObject
*_wrap_Window_InvalidateBestSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26030 PyObject
*resultobj
;
26031 wxWindow
*arg1
= (wxWindow
*) 0 ;
26032 PyObject
* obj0
= 0 ;
26033 char *kwnames
[] = {
26034 (char *) "self", NULL
26037 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_InvalidateBestSize",kwnames
,&obj0
)) goto fail
;
26038 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26039 if (SWIG_arg_fail(1)) SWIG_fail
;
26041 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26042 (arg1
)->InvalidateBestSize();
26044 wxPyEndAllowThreads(__tstate
);
26045 if (PyErr_Occurred()) SWIG_fail
;
26047 Py_INCREF(Py_None
); resultobj
= Py_None
;
26054 static PyObject
*_wrap_Window_GetBestFittingSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26055 PyObject
*resultobj
;
26056 wxWindow
*arg1
= (wxWindow
*) 0 ;
26058 PyObject
* obj0
= 0 ;
26059 char *kwnames
[] = {
26060 (char *) "self", NULL
26063 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetBestFittingSize",kwnames
,&obj0
)) goto fail
;
26064 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26065 if (SWIG_arg_fail(1)) SWIG_fail
;
26067 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26068 result
= ((wxWindow
const *)arg1
)->GetBestFittingSize();
26070 wxPyEndAllowThreads(__tstate
);
26071 if (PyErr_Occurred()) SWIG_fail
;
26074 wxSize
* resultptr
;
26075 resultptr
= new wxSize((wxSize
&)(result
));
26076 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
26084 static PyObject
*_wrap_Window_GetAdjustedBestSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26085 PyObject
*resultobj
;
26086 wxWindow
*arg1
= (wxWindow
*) 0 ;
26088 PyObject
* obj0
= 0 ;
26089 char *kwnames
[] = {
26090 (char *) "self", NULL
26093 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetAdjustedBestSize",kwnames
,&obj0
)) goto fail
;
26094 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26095 if (SWIG_arg_fail(1)) SWIG_fail
;
26097 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26098 result
= ((wxWindow
const *)arg1
)->GetAdjustedBestSize();
26100 wxPyEndAllowThreads(__tstate
);
26101 if (PyErr_Occurred()) SWIG_fail
;
26104 wxSize
* resultptr
;
26105 resultptr
= new wxSize((wxSize
&)(result
));
26106 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
26114 static PyObject
*_wrap_Window_Center(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26115 PyObject
*resultobj
;
26116 wxWindow
*arg1
= (wxWindow
*) 0 ;
26117 int arg2
= (int) wxBOTH
;
26118 PyObject
* obj0
= 0 ;
26119 PyObject
* obj1
= 0 ;
26120 char *kwnames
[] = {
26121 (char *) "self",(char *) "direction", NULL
26124 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_Center",kwnames
,&obj0
,&obj1
)) goto fail
;
26125 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26126 if (SWIG_arg_fail(1)) SWIG_fail
;
26129 arg2
= (int)(SWIG_As_int(obj1
));
26130 if (SWIG_arg_fail(2)) SWIG_fail
;
26134 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26135 (arg1
)->Center(arg2
);
26137 wxPyEndAllowThreads(__tstate
);
26138 if (PyErr_Occurred()) SWIG_fail
;
26140 Py_INCREF(Py_None
); resultobj
= Py_None
;
26147 static PyObject
*_wrap_Window_CenterOnScreen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26148 PyObject
*resultobj
;
26149 wxWindow
*arg1
= (wxWindow
*) 0 ;
26150 int arg2
= (int) wxBOTH
;
26151 PyObject
* obj0
= 0 ;
26152 PyObject
* obj1
= 0 ;
26153 char *kwnames
[] = {
26154 (char *) "self",(char *) "dir", NULL
26157 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_CenterOnScreen",kwnames
,&obj0
,&obj1
)) goto fail
;
26158 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26159 if (SWIG_arg_fail(1)) SWIG_fail
;
26162 arg2
= (int)(SWIG_As_int(obj1
));
26163 if (SWIG_arg_fail(2)) SWIG_fail
;
26167 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26168 (arg1
)->CenterOnScreen(arg2
);
26170 wxPyEndAllowThreads(__tstate
);
26171 if (PyErr_Occurred()) SWIG_fail
;
26173 Py_INCREF(Py_None
); resultobj
= Py_None
;
26180 static PyObject
*_wrap_Window_CenterOnParent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26181 PyObject
*resultobj
;
26182 wxWindow
*arg1
= (wxWindow
*) 0 ;
26183 int arg2
= (int) wxBOTH
;
26184 PyObject
* obj0
= 0 ;
26185 PyObject
* obj1
= 0 ;
26186 char *kwnames
[] = {
26187 (char *) "self",(char *) "dir", NULL
26190 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_CenterOnParent",kwnames
,&obj0
,&obj1
)) goto fail
;
26191 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26192 if (SWIG_arg_fail(1)) SWIG_fail
;
26195 arg2
= (int)(SWIG_As_int(obj1
));
26196 if (SWIG_arg_fail(2)) SWIG_fail
;
26200 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26201 (arg1
)->CenterOnParent(arg2
);
26203 wxPyEndAllowThreads(__tstate
);
26204 if (PyErr_Occurred()) SWIG_fail
;
26206 Py_INCREF(Py_None
); resultobj
= Py_None
;
26213 static PyObject
*_wrap_Window_Fit(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26214 PyObject
*resultobj
;
26215 wxWindow
*arg1
= (wxWindow
*) 0 ;
26216 PyObject
* obj0
= 0 ;
26217 char *kwnames
[] = {
26218 (char *) "self", NULL
26221 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Fit",kwnames
,&obj0
)) goto fail
;
26222 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26223 if (SWIG_arg_fail(1)) SWIG_fail
;
26225 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26228 wxPyEndAllowThreads(__tstate
);
26229 if (PyErr_Occurred()) SWIG_fail
;
26231 Py_INCREF(Py_None
); resultobj
= Py_None
;
26238 static PyObject
*_wrap_Window_FitInside(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26239 PyObject
*resultobj
;
26240 wxWindow
*arg1
= (wxWindow
*) 0 ;
26241 PyObject
* obj0
= 0 ;
26242 char *kwnames
[] = {
26243 (char *) "self", NULL
26246 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_FitInside",kwnames
,&obj0
)) goto fail
;
26247 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26248 if (SWIG_arg_fail(1)) SWIG_fail
;
26250 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26251 (arg1
)->FitInside();
26253 wxPyEndAllowThreads(__tstate
);
26254 if (PyErr_Occurred()) SWIG_fail
;
26256 Py_INCREF(Py_None
); resultobj
= Py_None
;
26263 static PyObject
*_wrap_Window_SetSizeHints(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26264 PyObject
*resultobj
;
26265 wxWindow
*arg1
= (wxWindow
*) 0 ;
26268 int arg4
= (int) -1 ;
26269 int arg5
= (int) -1 ;
26270 int arg6
= (int) -1 ;
26271 int arg7
= (int) -1 ;
26272 PyObject
* obj0
= 0 ;
26273 PyObject
* obj1
= 0 ;
26274 PyObject
* obj2
= 0 ;
26275 PyObject
* obj3
= 0 ;
26276 PyObject
* obj4
= 0 ;
26277 PyObject
* obj5
= 0 ;
26278 PyObject
* obj6
= 0 ;
26279 char *kwnames
[] = {
26280 (char *) "self",(char *) "minW",(char *) "minH",(char *) "maxW",(char *) "maxH",(char *) "incW",(char *) "incH", NULL
26283 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:Window_SetSizeHints",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) 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 arg2
= (int)(SWIG_As_int(obj1
));
26288 if (SWIG_arg_fail(2)) SWIG_fail
;
26291 arg3
= (int)(SWIG_As_int(obj2
));
26292 if (SWIG_arg_fail(3)) SWIG_fail
;
26296 arg4
= (int)(SWIG_As_int(obj3
));
26297 if (SWIG_arg_fail(4)) SWIG_fail
;
26302 arg5
= (int)(SWIG_As_int(obj4
));
26303 if (SWIG_arg_fail(5)) SWIG_fail
;
26308 arg6
= (int)(SWIG_As_int(obj5
));
26309 if (SWIG_arg_fail(6)) SWIG_fail
;
26314 arg7
= (int)(SWIG_As_int(obj6
));
26315 if (SWIG_arg_fail(7)) SWIG_fail
;
26319 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26320 (arg1
)->SetSizeHints(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
26322 wxPyEndAllowThreads(__tstate
);
26323 if (PyErr_Occurred()) SWIG_fail
;
26325 Py_INCREF(Py_None
); resultobj
= Py_None
;
26332 static PyObject
*_wrap_Window_SetSizeHintsSz(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26333 PyObject
*resultobj
;
26334 wxWindow
*arg1
= (wxWindow
*) 0 ;
26336 wxSize
const &arg3_defvalue
= wxDefaultSize
;
26337 wxSize
*arg3
= (wxSize
*) &arg3_defvalue
;
26338 wxSize
const &arg4_defvalue
= wxDefaultSize
;
26339 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
26343 PyObject
* obj0
= 0 ;
26344 PyObject
* obj1
= 0 ;
26345 PyObject
* obj2
= 0 ;
26346 PyObject
* obj3
= 0 ;
26347 char *kwnames
[] = {
26348 (char *) "self",(char *) "minSize",(char *) "maxSize",(char *) "incSize", NULL
26351 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:Window_SetSizeHintsSz",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
26352 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26353 if (SWIG_arg_fail(1)) SWIG_fail
;
26356 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
26361 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
26367 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
26371 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26372 (arg1
)->SetSizeHints((wxSize
const &)*arg2
,(wxSize
const &)*arg3
,(wxSize
const &)*arg4
);
26374 wxPyEndAllowThreads(__tstate
);
26375 if (PyErr_Occurred()) SWIG_fail
;
26377 Py_INCREF(Py_None
); resultobj
= Py_None
;
26384 static PyObject
*_wrap_Window_SetVirtualSizeHints(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26385 PyObject
*resultobj
;
26386 wxWindow
*arg1
= (wxWindow
*) 0 ;
26389 int arg4
= (int) -1 ;
26390 int arg5
= (int) -1 ;
26391 PyObject
* obj0
= 0 ;
26392 PyObject
* obj1
= 0 ;
26393 PyObject
* obj2
= 0 ;
26394 PyObject
* obj3
= 0 ;
26395 PyObject
* obj4
= 0 ;
26396 char *kwnames
[] = {
26397 (char *) "self",(char *) "minW",(char *) "minH",(char *) "maxW",(char *) "maxH", NULL
26400 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:Window_SetVirtualSizeHints",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
26401 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26402 if (SWIG_arg_fail(1)) SWIG_fail
;
26404 arg2
= (int)(SWIG_As_int(obj1
));
26405 if (SWIG_arg_fail(2)) SWIG_fail
;
26408 arg3
= (int)(SWIG_As_int(obj2
));
26409 if (SWIG_arg_fail(3)) SWIG_fail
;
26413 arg4
= (int)(SWIG_As_int(obj3
));
26414 if (SWIG_arg_fail(4)) SWIG_fail
;
26419 arg5
= (int)(SWIG_As_int(obj4
));
26420 if (SWIG_arg_fail(5)) SWIG_fail
;
26424 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26425 (arg1
)->SetVirtualSizeHints(arg2
,arg3
,arg4
,arg5
);
26427 wxPyEndAllowThreads(__tstate
);
26428 if (PyErr_Occurred()) SWIG_fail
;
26430 Py_INCREF(Py_None
); resultobj
= Py_None
;
26437 static PyObject
*_wrap_Window_SetVirtualSizeHintsSz(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26438 PyObject
*resultobj
;
26439 wxWindow
*arg1
= (wxWindow
*) 0 ;
26441 wxSize
const &arg3_defvalue
= wxDefaultSize
;
26442 wxSize
*arg3
= (wxSize
*) &arg3_defvalue
;
26445 PyObject
* obj0
= 0 ;
26446 PyObject
* obj1
= 0 ;
26447 PyObject
* obj2
= 0 ;
26448 char *kwnames
[] = {
26449 (char *) "self",(char *) "minSize",(char *) "maxSize", NULL
26452 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_SetVirtualSizeHintsSz",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26453 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26454 if (SWIG_arg_fail(1)) SWIG_fail
;
26457 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
26462 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
26466 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26467 (arg1
)->SetVirtualSizeHints((wxSize
const &)*arg2
,(wxSize
const &)*arg3
);
26469 wxPyEndAllowThreads(__tstate
);
26470 if (PyErr_Occurred()) SWIG_fail
;
26472 Py_INCREF(Py_None
); resultobj
= Py_None
;
26479 static PyObject
*_wrap_Window_GetMaxSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26480 PyObject
*resultobj
;
26481 wxWindow
*arg1
= (wxWindow
*) 0 ;
26483 PyObject
* obj0
= 0 ;
26484 char *kwnames
[] = {
26485 (char *) "self", NULL
26488 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetMaxSize",kwnames
,&obj0
)) goto fail
;
26489 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26490 if (SWIG_arg_fail(1)) SWIG_fail
;
26492 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26493 result
= ((wxWindow
const *)arg1
)->GetMaxSize();
26495 wxPyEndAllowThreads(__tstate
);
26496 if (PyErr_Occurred()) SWIG_fail
;
26499 wxSize
* resultptr
;
26500 resultptr
= new wxSize((wxSize
&)(result
));
26501 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
26509 static PyObject
*_wrap_Window_GetMinSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26510 PyObject
*resultobj
;
26511 wxWindow
*arg1
= (wxWindow
*) 0 ;
26513 PyObject
* obj0
= 0 ;
26514 char *kwnames
[] = {
26515 (char *) "self", NULL
26518 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetMinSize",kwnames
,&obj0
)) goto fail
;
26519 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26520 if (SWIG_arg_fail(1)) SWIG_fail
;
26522 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26523 result
= ((wxWindow
const *)arg1
)->GetMinSize();
26525 wxPyEndAllowThreads(__tstate
);
26526 if (PyErr_Occurred()) SWIG_fail
;
26529 wxSize
* resultptr
;
26530 resultptr
= new wxSize((wxSize
&)(result
));
26531 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
26539 static PyObject
*_wrap_Window_SetMinSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26540 PyObject
*resultobj
;
26541 wxWindow
*arg1
= (wxWindow
*) 0 ;
26544 PyObject
* obj0
= 0 ;
26545 PyObject
* obj1
= 0 ;
26546 char *kwnames
[] = {
26547 (char *) "self",(char *) "minSize", NULL
26550 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetMinSize",kwnames
,&obj0
,&obj1
)) goto fail
;
26551 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26552 if (SWIG_arg_fail(1)) SWIG_fail
;
26555 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
26558 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26559 (arg1
)->SetMinSize((wxSize
const &)*arg2
);
26561 wxPyEndAllowThreads(__tstate
);
26562 if (PyErr_Occurred()) SWIG_fail
;
26564 Py_INCREF(Py_None
); resultobj
= Py_None
;
26571 static PyObject
*_wrap_Window_SetMaxSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26572 PyObject
*resultobj
;
26573 wxWindow
*arg1
= (wxWindow
*) 0 ;
26576 PyObject
* obj0
= 0 ;
26577 PyObject
* obj1
= 0 ;
26578 char *kwnames
[] = {
26579 (char *) "self",(char *) "maxSize", NULL
26582 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetMaxSize",kwnames
,&obj0
,&obj1
)) goto fail
;
26583 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26584 if (SWIG_arg_fail(1)) SWIG_fail
;
26587 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
26590 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26591 (arg1
)->SetMaxSize((wxSize
const &)*arg2
);
26593 wxPyEndAllowThreads(__tstate
);
26594 if (PyErr_Occurred()) SWIG_fail
;
26596 Py_INCREF(Py_None
); resultobj
= Py_None
;
26603 static PyObject
*_wrap_Window_GetMinWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26604 PyObject
*resultobj
;
26605 wxWindow
*arg1
= (wxWindow
*) 0 ;
26607 PyObject
* obj0
= 0 ;
26608 char *kwnames
[] = {
26609 (char *) "self", NULL
26612 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetMinWidth",kwnames
,&obj0
)) goto fail
;
26613 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26614 if (SWIG_arg_fail(1)) SWIG_fail
;
26616 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26617 result
= (int)((wxWindow
const *)arg1
)->GetMinWidth();
26619 wxPyEndAllowThreads(__tstate
);
26620 if (PyErr_Occurred()) SWIG_fail
;
26623 resultobj
= SWIG_From_int((int)(result
));
26631 static PyObject
*_wrap_Window_GetMinHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26632 PyObject
*resultobj
;
26633 wxWindow
*arg1
= (wxWindow
*) 0 ;
26635 PyObject
* obj0
= 0 ;
26636 char *kwnames
[] = {
26637 (char *) "self", NULL
26640 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetMinHeight",kwnames
,&obj0
)) goto fail
;
26641 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26642 if (SWIG_arg_fail(1)) SWIG_fail
;
26644 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26645 result
= (int)((wxWindow
const *)arg1
)->GetMinHeight();
26647 wxPyEndAllowThreads(__tstate
);
26648 if (PyErr_Occurred()) SWIG_fail
;
26651 resultobj
= SWIG_From_int((int)(result
));
26659 static PyObject
*_wrap_Window_GetMaxWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26660 PyObject
*resultobj
;
26661 wxWindow
*arg1
= (wxWindow
*) 0 ;
26663 PyObject
* obj0
= 0 ;
26664 char *kwnames
[] = {
26665 (char *) "self", NULL
26668 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetMaxWidth",kwnames
,&obj0
)) goto fail
;
26669 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26670 if (SWIG_arg_fail(1)) SWIG_fail
;
26672 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26673 result
= (int)((wxWindow
const *)arg1
)->GetMaxWidth();
26675 wxPyEndAllowThreads(__tstate
);
26676 if (PyErr_Occurred()) SWIG_fail
;
26679 resultobj
= SWIG_From_int((int)(result
));
26687 static PyObject
*_wrap_Window_GetMaxHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26688 PyObject
*resultobj
;
26689 wxWindow
*arg1
= (wxWindow
*) 0 ;
26691 PyObject
* obj0
= 0 ;
26692 char *kwnames
[] = {
26693 (char *) "self", NULL
26696 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetMaxHeight",kwnames
,&obj0
)) goto fail
;
26697 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26698 if (SWIG_arg_fail(1)) SWIG_fail
;
26700 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26701 result
= (int)((wxWindow
const *)arg1
)->GetMaxHeight();
26703 wxPyEndAllowThreads(__tstate
);
26704 if (PyErr_Occurred()) SWIG_fail
;
26707 resultobj
= SWIG_From_int((int)(result
));
26715 static PyObject
*_wrap_Window_SetVirtualSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26716 PyObject
*resultobj
;
26717 wxWindow
*arg1
= (wxWindow
*) 0 ;
26720 PyObject
* obj0
= 0 ;
26721 PyObject
* obj1
= 0 ;
26722 char *kwnames
[] = {
26723 (char *) "self",(char *) "size", NULL
26726 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetVirtualSize",kwnames
,&obj0
,&obj1
)) goto fail
;
26727 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26728 if (SWIG_arg_fail(1)) SWIG_fail
;
26731 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
26734 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26735 (arg1
)->SetVirtualSize((wxSize
const &)*arg2
);
26737 wxPyEndAllowThreads(__tstate
);
26738 if (PyErr_Occurred()) SWIG_fail
;
26740 Py_INCREF(Py_None
); resultobj
= Py_None
;
26747 static PyObject
*_wrap_Window_SetVirtualSizeWH(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26748 PyObject
*resultobj
;
26749 wxWindow
*arg1
= (wxWindow
*) 0 ;
26752 PyObject
* obj0
= 0 ;
26753 PyObject
* obj1
= 0 ;
26754 PyObject
* obj2
= 0 ;
26755 char *kwnames
[] = {
26756 (char *) "self",(char *) "w",(char *) "h", NULL
26759 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_SetVirtualSizeWH",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26760 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26761 if (SWIG_arg_fail(1)) SWIG_fail
;
26763 arg2
= (int)(SWIG_As_int(obj1
));
26764 if (SWIG_arg_fail(2)) SWIG_fail
;
26767 arg3
= (int)(SWIG_As_int(obj2
));
26768 if (SWIG_arg_fail(3)) SWIG_fail
;
26771 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26772 (arg1
)->SetVirtualSize(arg2
,arg3
);
26774 wxPyEndAllowThreads(__tstate
);
26775 if (PyErr_Occurred()) SWIG_fail
;
26777 Py_INCREF(Py_None
); resultobj
= Py_None
;
26784 static PyObject
*_wrap_Window_GetVirtualSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26785 PyObject
*resultobj
;
26786 wxWindow
*arg1
= (wxWindow
*) 0 ;
26788 PyObject
* obj0
= 0 ;
26789 char *kwnames
[] = {
26790 (char *) "self", NULL
26793 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetVirtualSize",kwnames
,&obj0
)) goto fail
;
26794 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26795 if (SWIG_arg_fail(1)) SWIG_fail
;
26797 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26798 result
= ((wxWindow
const *)arg1
)->GetVirtualSize();
26800 wxPyEndAllowThreads(__tstate
);
26801 if (PyErr_Occurred()) SWIG_fail
;
26804 wxSize
* resultptr
;
26805 resultptr
= new wxSize((wxSize
&)(result
));
26806 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
26814 static PyObject
*_wrap_Window_GetVirtualSizeTuple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26815 PyObject
*resultobj
;
26816 wxWindow
*arg1
= (wxWindow
*) 0 ;
26817 int *arg2
= (int *) 0 ;
26818 int *arg3
= (int *) 0 ;
26823 PyObject
* obj0
= 0 ;
26824 char *kwnames
[] = {
26825 (char *) "self", NULL
26828 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
26829 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
26830 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetVirtualSizeTuple",kwnames
,&obj0
)) goto fail
;
26831 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26832 if (SWIG_arg_fail(1)) SWIG_fail
;
26834 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26835 ((wxWindow
const *)arg1
)->GetVirtualSize(arg2
,arg3
);
26837 wxPyEndAllowThreads(__tstate
);
26838 if (PyErr_Occurred()) SWIG_fail
;
26840 Py_INCREF(Py_None
); resultobj
= Py_None
;
26841 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
26842 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
26843 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
26844 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
26851 static PyObject
*_wrap_Window_GetBestVirtualSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26852 PyObject
*resultobj
;
26853 wxWindow
*arg1
= (wxWindow
*) 0 ;
26855 PyObject
* obj0
= 0 ;
26856 char *kwnames
[] = {
26857 (char *) "self", NULL
26860 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetBestVirtualSize",kwnames
,&obj0
)) goto fail
;
26861 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26862 if (SWIG_arg_fail(1)) SWIG_fail
;
26864 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26865 result
= ((wxWindow
const *)arg1
)->GetBestVirtualSize();
26867 wxPyEndAllowThreads(__tstate
);
26868 if (PyErr_Occurred()) SWIG_fail
;
26871 wxSize
* resultptr
;
26872 resultptr
= new wxSize((wxSize
&)(result
));
26873 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
26881 static PyObject
*_wrap_Window_Show(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26882 PyObject
*resultobj
;
26883 wxWindow
*arg1
= (wxWindow
*) 0 ;
26884 bool arg2
= (bool) true ;
26886 PyObject
* obj0
= 0 ;
26887 PyObject
* obj1
= 0 ;
26888 char *kwnames
[] = {
26889 (char *) "self",(char *) "show", NULL
26892 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_Show",kwnames
,&obj0
,&obj1
)) goto fail
;
26893 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26894 if (SWIG_arg_fail(1)) SWIG_fail
;
26897 arg2
= (bool)(SWIG_As_bool(obj1
));
26898 if (SWIG_arg_fail(2)) SWIG_fail
;
26902 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26903 result
= (bool)(arg1
)->Show(arg2
);
26905 wxPyEndAllowThreads(__tstate
);
26906 if (PyErr_Occurred()) SWIG_fail
;
26909 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26917 static PyObject
*_wrap_Window_Hide(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26918 PyObject
*resultobj
;
26919 wxWindow
*arg1
= (wxWindow
*) 0 ;
26921 PyObject
* obj0
= 0 ;
26922 char *kwnames
[] = {
26923 (char *) "self", NULL
26926 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Hide",kwnames
,&obj0
)) goto fail
;
26927 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26928 if (SWIG_arg_fail(1)) SWIG_fail
;
26930 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26931 result
= (bool)(arg1
)->Hide();
26933 wxPyEndAllowThreads(__tstate
);
26934 if (PyErr_Occurred()) SWIG_fail
;
26937 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26945 static PyObject
*_wrap_Window_Enable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26946 PyObject
*resultobj
;
26947 wxWindow
*arg1
= (wxWindow
*) 0 ;
26948 bool arg2
= (bool) true ;
26950 PyObject
* obj0
= 0 ;
26951 PyObject
* obj1
= 0 ;
26952 char *kwnames
[] = {
26953 (char *) "self",(char *) "enable", NULL
26956 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_Enable",kwnames
,&obj0
,&obj1
)) goto fail
;
26957 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26958 if (SWIG_arg_fail(1)) SWIG_fail
;
26961 arg2
= (bool)(SWIG_As_bool(obj1
));
26962 if (SWIG_arg_fail(2)) SWIG_fail
;
26966 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26967 result
= (bool)(arg1
)->Enable(arg2
);
26969 wxPyEndAllowThreads(__tstate
);
26970 if (PyErr_Occurred()) SWIG_fail
;
26973 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26981 static PyObject
*_wrap_Window_Disable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26982 PyObject
*resultobj
;
26983 wxWindow
*arg1
= (wxWindow
*) 0 ;
26985 PyObject
* obj0
= 0 ;
26986 char *kwnames
[] = {
26987 (char *) "self", NULL
26990 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Disable",kwnames
,&obj0
)) goto fail
;
26991 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26992 if (SWIG_arg_fail(1)) SWIG_fail
;
26994 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26995 result
= (bool)(arg1
)->Disable();
26997 wxPyEndAllowThreads(__tstate
);
26998 if (PyErr_Occurred()) SWIG_fail
;
27001 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27009 static PyObject
*_wrap_Window_IsShown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27010 PyObject
*resultobj
;
27011 wxWindow
*arg1
= (wxWindow
*) 0 ;
27013 PyObject
* obj0
= 0 ;
27014 char *kwnames
[] = {
27015 (char *) "self", NULL
27018 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_IsShown",kwnames
,&obj0
)) goto fail
;
27019 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27020 if (SWIG_arg_fail(1)) SWIG_fail
;
27022 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27023 result
= (bool)((wxWindow
const *)arg1
)->IsShown();
27025 wxPyEndAllowThreads(__tstate
);
27026 if (PyErr_Occurred()) SWIG_fail
;
27029 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27037 static PyObject
*_wrap_Window_IsEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27038 PyObject
*resultobj
;
27039 wxWindow
*arg1
= (wxWindow
*) 0 ;
27041 PyObject
* obj0
= 0 ;
27042 char *kwnames
[] = {
27043 (char *) "self", NULL
27046 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_IsEnabled",kwnames
,&obj0
)) goto fail
;
27047 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27048 if (SWIG_arg_fail(1)) SWIG_fail
;
27050 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27051 result
= (bool)((wxWindow
const *)arg1
)->IsEnabled();
27053 wxPyEndAllowThreads(__tstate
);
27054 if (PyErr_Occurred()) SWIG_fail
;
27057 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27065 static PyObject
*_wrap_Window_SetWindowStyleFlag(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27066 PyObject
*resultobj
;
27067 wxWindow
*arg1
= (wxWindow
*) 0 ;
27069 PyObject
* obj0
= 0 ;
27070 PyObject
* obj1
= 0 ;
27071 char *kwnames
[] = {
27072 (char *) "self",(char *) "style", NULL
27075 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetWindowStyleFlag",kwnames
,&obj0
,&obj1
)) goto fail
;
27076 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27077 if (SWIG_arg_fail(1)) SWIG_fail
;
27079 arg2
= (long)(SWIG_As_long(obj1
));
27080 if (SWIG_arg_fail(2)) SWIG_fail
;
27083 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27084 (arg1
)->SetWindowStyleFlag(arg2
);
27086 wxPyEndAllowThreads(__tstate
);
27087 if (PyErr_Occurred()) SWIG_fail
;
27089 Py_INCREF(Py_None
); resultobj
= Py_None
;
27096 static PyObject
*_wrap_Window_GetWindowStyleFlag(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27097 PyObject
*resultobj
;
27098 wxWindow
*arg1
= (wxWindow
*) 0 ;
27100 PyObject
* obj0
= 0 ;
27101 char *kwnames
[] = {
27102 (char *) "self", NULL
27105 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetWindowStyleFlag",kwnames
,&obj0
)) goto fail
;
27106 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27107 if (SWIG_arg_fail(1)) SWIG_fail
;
27109 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27110 result
= (long)((wxWindow
const *)arg1
)->GetWindowStyleFlag();
27112 wxPyEndAllowThreads(__tstate
);
27113 if (PyErr_Occurred()) SWIG_fail
;
27116 resultobj
= SWIG_From_long((long)(result
));
27124 static PyObject
*_wrap_Window_HasFlag(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27125 PyObject
*resultobj
;
27126 wxWindow
*arg1
= (wxWindow
*) 0 ;
27129 PyObject
* obj0
= 0 ;
27130 PyObject
* obj1
= 0 ;
27131 char *kwnames
[] = {
27132 (char *) "self",(char *) "flag", NULL
27135 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_HasFlag",kwnames
,&obj0
,&obj1
)) goto fail
;
27136 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27137 if (SWIG_arg_fail(1)) SWIG_fail
;
27139 arg2
= (int)(SWIG_As_int(obj1
));
27140 if (SWIG_arg_fail(2)) SWIG_fail
;
27143 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27144 result
= (bool)((wxWindow
const *)arg1
)->HasFlag(arg2
);
27146 wxPyEndAllowThreads(__tstate
);
27147 if (PyErr_Occurred()) SWIG_fail
;
27150 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27158 static PyObject
*_wrap_Window_IsRetained(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27159 PyObject
*resultobj
;
27160 wxWindow
*arg1
= (wxWindow
*) 0 ;
27162 PyObject
* obj0
= 0 ;
27163 char *kwnames
[] = {
27164 (char *) "self", NULL
27167 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_IsRetained",kwnames
,&obj0
)) goto fail
;
27168 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27169 if (SWIG_arg_fail(1)) SWIG_fail
;
27171 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27172 result
= (bool)((wxWindow
const *)arg1
)->IsRetained();
27174 wxPyEndAllowThreads(__tstate
);
27175 if (PyErr_Occurred()) SWIG_fail
;
27178 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27186 static PyObject
*_wrap_Window_SetExtraStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27187 PyObject
*resultobj
;
27188 wxWindow
*arg1
= (wxWindow
*) 0 ;
27190 PyObject
* obj0
= 0 ;
27191 PyObject
* obj1
= 0 ;
27192 char *kwnames
[] = {
27193 (char *) "self",(char *) "exStyle", NULL
27196 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetExtraStyle",kwnames
,&obj0
,&obj1
)) goto fail
;
27197 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27198 if (SWIG_arg_fail(1)) SWIG_fail
;
27200 arg2
= (long)(SWIG_As_long(obj1
));
27201 if (SWIG_arg_fail(2)) SWIG_fail
;
27204 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27205 (arg1
)->SetExtraStyle(arg2
);
27207 wxPyEndAllowThreads(__tstate
);
27208 if (PyErr_Occurred()) SWIG_fail
;
27210 Py_INCREF(Py_None
); resultobj
= Py_None
;
27217 static PyObject
*_wrap_Window_GetExtraStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27218 PyObject
*resultobj
;
27219 wxWindow
*arg1
= (wxWindow
*) 0 ;
27221 PyObject
* obj0
= 0 ;
27222 char *kwnames
[] = {
27223 (char *) "self", NULL
27226 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetExtraStyle",kwnames
,&obj0
)) goto fail
;
27227 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27228 if (SWIG_arg_fail(1)) SWIG_fail
;
27230 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27231 result
= (long)((wxWindow
const *)arg1
)->GetExtraStyle();
27233 wxPyEndAllowThreads(__tstate
);
27234 if (PyErr_Occurred()) SWIG_fail
;
27237 resultobj
= SWIG_From_long((long)(result
));
27245 static PyObject
*_wrap_Window_MakeModal(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27246 PyObject
*resultobj
;
27247 wxWindow
*arg1
= (wxWindow
*) 0 ;
27248 bool arg2
= (bool) true ;
27249 PyObject
* obj0
= 0 ;
27250 PyObject
* obj1
= 0 ;
27251 char *kwnames
[] = {
27252 (char *) "self",(char *) "modal", NULL
27255 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_MakeModal",kwnames
,&obj0
,&obj1
)) goto fail
;
27256 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27257 if (SWIG_arg_fail(1)) SWIG_fail
;
27260 arg2
= (bool)(SWIG_As_bool(obj1
));
27261 if (SWIG_arg_fail(2)) SWIG_fail
;
27265 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27266 (arg1
)->MakeModal(arg2
);
27268 wxPyEndAllowThreads(__tstate
);
27269 if (PyErr_Occurred()) SWIG_fail
;
27271 Py_INCREF(Py_None
); resultobj
= Py_None
;
27278 static PyObject
*_wrap_Window_SetThemeEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27279 PyObject
*resultobj
;
27280 wxWindow
*arg1
= (wxWindow
*) 0 ;
27282 PyObject
* obj0
= 0 ;
27283 PyObject
* obj1
= 0 ;
27284 char *kwnames
[] = {
27285 (char *) "self",(char *) "enableTheme", NULL
27288 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetThemeEnabled",kwnames
,&obj0
,&obj1
)) goto fail
;
27289 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27290 if (SWIG_arg_fail(1)) SWIG_fail
;
27292 arg2
= (bool)(SWIG_As_bool(obj1
));
27293 if (SWIG_arg_fail(2)) SWIG_fail
;
27296 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27297 (arg1
)->SetThemeEnabled(arg2
);
27299 wxPyEndAllowThreads(__tstate
);
27300 if (PyErr_Occurred()) SWIG_fail
;
27302 Py_INCREF(Py_None
); resultobj
= Py_None
;
27309 static PyObject
*_wrap_Window_GetThemeEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27310 PyObject
*resultobj
;
27311 wxWindow
*arg1
= (wxWindow
*) 0 ;
27313 PyObject
* obj0
= 0 ;
27314 char *kwnames
[] = {
27315 (char *) "self", NULL
27318 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetThemeEnabled",kwnames
,&obj0
)) goto fail
;
27319 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27320 if (SWIG_arg_fail(1)) SWIG_fail
;
27322 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27323 result
= (bool)((wxWindow
const *)arg1
)->GetThemeEnabled();
27325 wxPyEndAllowThreads(__tstate
);
27326 if (PyErr_Occurred()) SWIG_fail
;
27329 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27337 static PyObject
*_wrap_Window_SetFocus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27338 PyObject
*resultobj
;
27339 wxWindow
*arg1
= (wxWindow
*) 0 ;
27340 PyObject
* obj0
= 0 ;
27341 char *kwnames
[] = {
27342 (char *) "self", NULL
27345 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_SetFocus",kwnames
,&obj0
)) goto fail
;
27346 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27347 if (SWIG_arg_fail(1)) SWIG_fail
;
27349 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27350 (arg1
)->SetFocus();
27352 wxPyEndAllowThreads(__tstate
);
27353 if (PyErr_Occurred()) SWIG_fail
;
27355 Py_INCREF(Py_None
); resultobj
= Py_None
;
27362 static PyObject
*_wrap_Window_SetFocusFromKbd(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27363 PyObject
*resultobj
;
27364 wxWindow
*arg1
= (wxWindow
*) 0 ;
27365 PyObject
* obj0
= 0 ;
27366 char *kwnames
[] = {
27367 (char *) "self", NULL
27370 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_SetFocusFromKbd",kwnames
,&obj0
)) goto fail
;
27371 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27372 if (SWIG_arg_fail(1)) SWIG_fail
;
27374 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27375 (arg1
)->SetFocusFromKbd();
27377 wxPyEndAllowThreads(__tstate
);
27378 if (PyErr_Occurred()) SWIG_fail
;
27380 Py_INCREF(Py_None
); resultobj
= Py_None
;
27387 static PyObject
*_wrap_Window_FindFocus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27388 PyObject
*resultobj
;
27390 char *kwnames
[] = {
27394 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Window_FindFocus",kwnames
)) goto fail
;
27396 if (!wxPyCheckForApp()) SWIG_fail
;
27397 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27398 result
= (wxWindow
*)wxWindow::FindFocus();
27400 wxPyEndAllowThreads(__tstate
);
27401 if (PyErr_Occurred()) SWIG_fail
;
27404 resultobj
= wxPyMake_wxObject(result
, 0);
27412 static PyObject
*_wrap_Window_AcceptsFocus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27413 PyObject
*resultobj
;
27414 wxWindow
*arg1
= (wxWindow
*) 0 ;
27416 PyObject
* obj0
= 0 ;
27417 char *kwnames
[] = {
27418 (char *) "self", NULL
27421 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_AcceptsFocus",kwnames
,&obj0
)) goto fail
;
27422 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27423 if (SWIG_arg_fail(1)) SWIG_fail
;
27425 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27426 result
= (bool)((wxWindow
const *)arg1
)->AcceptsFocus();
27428 wxPyEndAllowThreads(__tstate
);
27429 if (PyErr_Occurred()) SWIG_fail
;
27432 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27440 static PyObject
*_wrap_Window_AcceptsFocusFromKeyboard(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27441 PyObject
*resultobj
;
27442 wxWindow
*arg1
= (wxWindow
*) 0 ;
27444 PyObject
* obj0
= 0 ;
27445 char *kwnames
[] = {
27446 (char *) "self", NULL
27449 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_AcceptsFocusFromKeyboard",kwnames
,&obj0
)) goto fail
;
27450 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27451 if (SWIG_arg_fail(1)) SWIG_fail
;
27453 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27454 result
= (bool)((wxWindow
const *)arg1
)->AcceptsFocusFromKeyboard();
27456 wxPyEndAllowThreads(__tstate
);
27457 if (PyErr_Occurred()) SWIG_fail
;
27460 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27468 static PyObject
*_wrap_Window_GetDefaultItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27469 PyObject
*resultobj
;
27470 wxWindow
*arg1
= (wxWindow
*) 0 ;
27472 PyObject
* obj0
= 0 ;
27473 char *kwnames
[] = {
27474 (char *) "self", NULL
27477 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetDefaultItem",kwnames
,&obj0
)) goto fail
;
27478 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27479 if (SWIG_arg_fail(1)) SWIG_fail
;
27481 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27482 result
= (wxWindow
*)((wxWindow
const *)arg1
)->GetDefaultItem();
27484 wxPyEndAllowThreads(__tstate
);
27485 if (PyErr_Occurred()) SWIG_fail
;
27488 resultobj
= wxPyMake_wxObject(result
, 0);
27496 static PyObject
*_wrap_Window_SetDefaultItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27497 PyObject
*resultobj
;
27498 wxWindow
*arg1
= (wxWindow
*) 0 ;
27499 wxWindow
*arg2
= (wxWindow
*) 0 ;
27501 PyObject
* obj0
= 0 ;
27502 PyObject
* obj1
= 0 ;
27503 char *kwnames
[] = {
27504 (char *) "self",(char *) "child", NULL
27507 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetDefaultItem",kwnames
,&obj0
,&obj1
)) goto fail
;
27508 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27509 if (SWIG_arg_fail(1)) SWIG_fail
;
27510 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27511 if (SWIG_arg_fail(2)) SWIG_fail
;
27513 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27514 result
= (wxWindow
*)(arg1
)->SetDefaultItem(arg2
);
27516 wxPyEndAllowThreads(__tstate
);
27517 if (PyErr_Occurred()) SWIG_fail
;
27520 resultobj
= wxPyMake_wxObject(result
, 0);
27528 static PyObject
*_wrap_Window_SetTmpDefaultItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27529 PyObject
*resultobj
;
27530 wxWindow
*arg1
= (wxWindow
*) 0 ;
27531 wxWindow
*arg2
= (wxWindow
*) 0 ;
27532 PyObject
* obj0
= 0 ;
27533 PyObject
* obj1
= 0 ;
27534 char *kwnames
[] = {
27535 (char *) "self",(char *) "win", NULL
27538 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetTmpDefaultItem",kwnames
,&obj0
,&obj1
)) goto fail
;
27539 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27540 if (SWIG_arg_fail(1)) SWIG_fail
;
27541 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27542 if (SWIG_arg_fail(2)) SWIG_fail
;
27544 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27545 (arg1
)->SetTmpDefaultItem(arg2
);
27547 wxPyEndAllowThreads(__tstate
);
27548 if (PyErr_Occurred()) SWIG_fail
;
27550 Py_INCREF(Py_None
); resultobj
= Py_None
;
27557 static PyObject
*_wrap_Window_Navigate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27558 PyObject
*resultobj
;
27559 wxWindow
*arg1
= (wxWindow
*) 0 ;
27560 int arg2
= (int) wxNavigationKeyEvent::IsForward
;
27562 PyObject
* obj0
= 0 ;
27563 PyObject
* obj1
= 0 ;
27564 char *kwnames
[] = {
27565 (char *) "self",(char *) "flags", NULL
27568 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_Navigate",kwnames
,&obj0
,&obj1
)) goto fail
;
27569 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27570 if (SWIG_arg_fail(1)) SWIG_fail
;
27573 arg2
= (int)(SWIG_As_int(obj1
));
27574 if (SWIG_arg_fail(2)) SWIG_fail
;
27578 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27579 result
= (bool)(arg1
)->Navigate(arg2
);
27581 wxPyEndAllowThreads(__tstate
);
27582 if (PyErr_Occurred()) SWIG_fail
;
27585 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27593 static PyObject
*_wrap_Window_MoveAfterInTabOrder(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27594 PyObject
*resultobj
;
27595 wxWindow
*arg1
= (wxWindow
*) 0 ;
27596 wxWindow
*arg2
= (wxWindow
*) 0 ;
27597 PyObject
* obj0
= 0 ;
27598 PyObject
* obj1
= 0 ;
27599 char *kwnames
[] = {
27600 (char *) "self",(char *) "win", NULL
27603 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_MoveAfterInTabOrder",kwnames
,&obj0
,&obj1
)) goto fail
;
27604 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27605 if (SWIG_arg_fail(1)) SWIG_fail
;
27606 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27607 if (SWIG_arg_fail(2)) SWIG_fail
;
27609 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27610 (arg1
)->MoveAfterInTabOrder(arg2
);
27612 wxPyEndAllowThreads(__tstate
);
27613 if (PyErr_Occurred()) SWIG_fail
;
27615 Py_INCREF(Py_None
); resultobj
= Py_None
;
27622 static PyObject
*_wrap_Window_MoveBeforeInTabOrder(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27623 PyObject
*resultobj
;
27624 wxWindow
*arg1
= (wxWindow
*) 0 ;
27625 wxWindow
*arg2
= (wxWindow
*) 0 ;
27626 PyObject
* obj0
= 0 ;
27627 PyObject
* obj1
= 0 ;
27628 char *kwnames
[] = {
27629 (char *) "self",(char *) "win", NULL
27632 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_MoveBeforeInTabOrder",kwnames
,&obj0
,&obj1
)) goto fail
;
27633 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27634 if (SWIG_arg_fail(1)) SWIG_fail
;
27635 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27636 if (SWIG_arg_fail(2)) SWIG_fail
;
27638 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27639 (arg1
)->MoveBeforeInTabOrder(arg2
);
27641 wxPyEndAllowThreads(__tstate
);
27642 if (PyErr_Occurred()) SWIG_fail
;
27644 Py_INCREF(Py_None
); resultobj
= Py_None
;
27651 static PyObject
*_wrap_Window_GetChildren(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27652 PyObject
*resultobj
;
27653 wxWindow
*arg1
= (wxWindow
*) 0 ;
27655 PyObject
* obj0
= 0 ;
27656 char *kwnames
[] = {
27657 (char *) "self", NULL
27660 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetChildren",kwnames
,&obj0
)) goto fail
;
27661 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27662 if (SWIG_arg_fail(1)) SWIG_fail
;
27664 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27665 result
= (PyObject
*)wxWindow_GetChildren(arg1
);
27667 wxPyEndAllowThreads(__tstate
);
27668 if (PyErr_Occurred()) SWIG_fail
;
27670 resultobj
= result
;
27677 static PyObject
*_wrap_Window_GetParent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27678 PyObject
*resultobj
;
27679 wxWindow
*arg1
= (wxWindow
*) 0 ;
27681 PyObject
* obj0
= 0 ;
27682 char *kwnames
[] = {
27683 (char *) "self", NULL
27686 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetParent",kwnames
,&obj0
)) goto fail
;
27687 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27688 if (SWIG_arg_fail(1)) SWIG_fail
;
27690 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27691 result
= (wxWindow
*)((wxWindow
const *)arg1
)->GetParent();
27693 wxPyEndAllowThreads(__tstate
);
27694 if (PyErr_Occurred()) SWIG_fail
;
27697 resultobj
= wxPyMake_wxObject(result
, 0);
27705 static PyObject
*_wrap_Window_GetGrandParent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27706 PyObject
*resultobj
;
27707 wxWindow
*arg1
= (wxWindow
*) 0 ;
27709 PyObject
* obj0
= 0 ;
27710 char *kwnames
[] = {
27711 (char *) "self", NULL
27714 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetGrandParent",kwnames
,&obj0
)) goto fail
;
27715 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27716 if (SWIG_arg_fail(1)) SWIG_fail
;
27718 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27719 result
= (wxWindow
*)((wxWindow
const *)arg1
)->GetGrandParent();
27721 wxPyEndAllowThreads(__tstate
);
27722 if (PyErr_Occurred()) SWIG_fail
;
27725 resultobj
= wxPyMake_wxObject(result
, 0);
27733 static PyObject
*_wrap_Window_IsTopLevel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27734 PyObject
*resultobj
;
27735 wxWindow
*arg1
= (wxWindow
*) 0 ;
27737 PyObject
* obj0
= 0 ;
27738 char *kwnames
[] = {
27739 (char *) "self", NULL
27742 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_IsTopLevel",kwnames
,&obj0
)) goto fail
;
27743 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27744 if (SWIG_arg_fail(1)) SWIG_fail
;
27746 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27747 result
= (bool)((wxWindow
const *)arg1
)->IsTopLevel();
27749 wxPyEndAllowThreads(__tstate
);
27750 if (PyErr_Occurred()) SWIG_fail
;
27753 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27761 static PyObject
*_wrap_Window_Reparent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27762 PyObject
*resultobj
;
27763 wxWindow
*arg1
= (wxWindow
*) 0 ;
27764 wxWindow
*arg2
= (wxWindow
*) 0 ;
27766 PyObject
* obj0
= 0 ;
27767 PyObject
* obj1
= 0 ;
27768 char *kwnames
[] = {
27769 (char *) "self",(char *) "newParent", NULL
27772 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_Reparent",kwnames
,&obj0
,&obj1
)) goto fail
;
27773 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27774 if (SWIG_arg_fail(1)) SWIG_fail
;
27775 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27776 if (SWIG_arg_fail(2)) SWIG_fail
;
27778 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27779 result
= (bool)(arg1
)->Reparent(arg2
);
27781 wxPyEndAllowThreads(__tstate
);
27782 if (PyErr_Occurred()) SWIG_fail
;
27785 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27793 static PyObject
*_wrap_Window_AddChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27794 PyObject
*resultobj
;
27795 wxWindow
*arg1
= (wxWindow
*) 0 ;
27796 wxWindow
*arg2
= (wxWindow
*) 0 ;
27797 PyObject
* obj0
= 0 ;
27798 PyObject
* obj1
= 0 ;
27799 char *kwnames
[] = {
27800 (char *) "self",(char *) "child", NULL
27803 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_AddChild",kwnames
,&obj0
,&obj1
)) goto fail
;
27804 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27805 if (SWIG_arg_fail(1)) SWIG_fail
;
27806 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27807 if (SWIG_arg_fail(2)) SWIG_fail
;
27809 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27810 (arg1
)->AddChild(arg2
);
27812 wxPyEndAllowThreads(__tstate
);
27813 if (PyErr_Occurred()) SWIG_fail
;
27815 Py_INCREF(Py_None
); resultobj
= Py_None
;
27822 static PyObject
*_wrap_Window_RemoveChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27823 PyObject
*resultobj
;
27824 wxWindow
*arg1
= (wxWindow
*) 0 ;
27825 wxWindow
*arg2
= (wxWindow
*) 0 ;
27826 PyObject
* obj0
= 0 ;
27827 PyObject
* obj1
= 0 ;
27828 char *kwnames
[] = {
27829 (char *) "self",(char *) "child", NULL
27832 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_RemoveChild",kwnames
,&obj0
,&obj1
)) goto fail
;
27833 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27834 if (SWIG_arg_fail(1)) SWIG_fail
;
27835 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27836 if (SWIG_arg_fail(2)) SWIG_fail
;
27838 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27839 (arg1
)->RemoveChild(arg2
);
27841 wxPyEndAllowThreads(__tstate
);
27842 if (PyErr_Occurred()) SWIG_fail
;
27844 Py_INCREF(Py_None
); resultobj
= Py_None
;
27851 static PyObject
*_wrap_Window_FindWindowById(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27852 PyObject
*resultobj
;
27853 wxWindow
*arg1
= (wxWindow
*) 0 ;
27856 PyObject
* obj0
= 0 ;
27857 PyObject
* obj1
= 0 ;
27858 char *kwnames
[] = {
27859 (char *) "self",(char *) "winid", NULL
27862 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_FindWindowById",kwnames
,&obj0
,&obj1
)) goto fail
;
27863 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27864 if (SWIG_arg_fail(1)) SWIG_fail
;
27866 arg2
= (long)(SWIG_As_long(obj1
));
27867 if (SWIG_arg_fail(2)) SWIG_fail
;
27870 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27871 result
= (wxWindow
*)(arg1
)->FindWindow(arg2
);
27873 wxPyEndAllowThreads(__tstate
);
27874 if (PyErr_Occurred()) SWIG_fail
;
27877 resultobj
= wxPyMake_wxObject(result
, 0);
27885 static PyObject
*_wrap_Window_FindWindowByName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27886 PyObject
*resultobj
;
27887 wxWindow
*arg1
= (wxWindow
*) 0 ;
27888 wxString
*arg2
= 0 ;
27890 bool temp2
= false ;
27891 PyObject
* obj0
= 0 ;
27892 PyObject
* obj1
= 0 ;
27893 char *kwnames
[] = {
27894 (char *) "self",(char *) "name", NULL
27897 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_FindWindowByName",kwnames
,&obj0
,&obj1
)) goto fail
;
27898 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27899 if (SWIG_arg_fail(1)) SWIG_fail
;
27901 arg2
= wxString_in_helper(obj1
);
27902 if (arg2
== NULL
) SWIG_fail
;
27906 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27907 result
= (wxWindow
*)(arg1
)->FindWindow((wxString
const &)*arg2
);
27909 wxPyEndAllowThreads(__tstate
);
27910 if (PyErr_Occurred()) SWIG_fail
;
27913 resultobj
= wxPyMake_wxObject(result
, 0);
27929 static PyObject
*_wrap_Window_GetEventHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27930 PyObject
*resultobj
;
27931 wxWindow
*arg1
= (wxWindow
*) 0 ;
27932 wxEvtHandler
*result
;
27933 PyObject
* obj0
= 0 ;
27934 char *kwnames
[] = {
27935 (char *) "self", NULL
27938 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetEventHandler",kwnames
,&obj0
)) goto fail
;
27939 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27940 if (SWIG_arg_fail(1)) SWIG_fail
;
27942 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27943 result
= (wxEvtHandler
*)((wxWindow
const *)arg1
)->GetEventHandler();
27945 wxPyEndAllowThreads(__tstate
);
27946 if (PyErr_Occurred()) SWIG_fail
;
27949 resultobj
= wxPyMake_wxObject(result
, 0);
27957 static PyObject
*_wrap_Window_SetEventHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27958 PyObject
*resultobj
;
27959 wxWindow
*arg1
= (wxWindow
*) 0 ;
27960 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
27961 PyObject
* obj0
= 0 ;
27962 PyObject
* obj1
= 0 ;
27963 char *kwnames
[] = {
27964 (char *) "self",(char *) "handler", NULL
27967 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetEventHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
27968 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27969 if (SWIG_arg_fail(1)) SWIG_fail
;
27970 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
27971 if (SWIG_arg_fail(2)) SWIG_fail
;
27973 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27974 (arg1
)->SetEventHandler(arg2
);
27976 wxPyEndAllowThreads(__tstate
);
27977 if (PyErr_Occurred()) SWIG_fail
;
27979 Py_INCREF(Py_None
); resultobj
= Py_None
;
27986 static PyObject
*_wrap_Window_PushEventHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27987 PyObject
*resultobj
;
27988 wxWindow
*arg1
= (wxWindow
*) 0 ;
27989 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
27990 PyObject
* obj0
= 0 ;
27991 PyObject
* obj1
= 0 ;
27992 char *kwnames
[] = {
27993 (char *) "self",(char *) "handler", NULL
27996 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_PushEventHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
27997 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27998 if (SWIG_arg_fail(1)) SWIG_fail
;
27999 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
28000 if (SWIG_arg_fail(2)) SWIG_fail
;
28002 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28003 (arg1
)->PushEventHandler(arg2
);
28005 wxPyEndAllowThreads(__tstate
);
28006 if (PyErr_Occurred()) SWIG_fail
;
28008 Py_INCREF(Py_None
); resultobj
= Py_None
;
28015 static PyObject
*_wrap_Window_PopEventHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28016 PyObject
*resultobj
;
28017 wxWindow
*arg1
= (wxWindow
*) 0 ;
28018 bool arg2
= (bool) false ;
28019 wxEvtHandler
*result
;
28020 PyObject
* obj0
= 0 ;
28021 PyObject
* obj1
= 0 ;
28022 char *kwnames
[] = {
28023 (char *) "self",(char *) "deleteHandler", NULL
28026 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_PopEventHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
28027 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28028 if (SWIG_arg_fail(1)) SWIG_fail
;
28031 arg2
= (bool)(SWIG_As_bool(obj1
));
28032 if (SWIG_arg_fail(2)) SWIG_fail
;
28036 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28037 result
= (wxEvtHandler
*)(arg1
)->PopEventHandler(arg2
);
28039 wxPyEndAllowThreads(__tstate
);
28040 if (PyErr_Occurred()) SWIG_fail
;
28043 resultobj
= wxPyMake_wxObject(result
, 0);
28051 static PyObject
*_wrap_Window_RemoveEventHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28052 PyObject
*resultobj
;
28053 wxWindow
*arg1
= (wxWindow
*) 0 ;
28054 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
28056 PyObject
* obj0
= 0 ;
28057 PyObject
* obj1
= 0 ;
28058 char *kwnames
[] = {
28059 (char *) "self",(char *) "handler", NULL
28062 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_RemoveEventHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
28063 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28064 if (SWIG_arg_fail(1)) SWIG_fail
;
28065 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
28066 if (SWIG_arg_fail(2)) SWIG_fail
;
28068 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28069 result
= (bool)(arg1
)->RemoveEventHandler(arg2
);
28071 wxPyEndAllowThreads(__tstate
);
28072 if (PyErr_Occurred()) SWIG_fail
;
28075 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28083 static PyObject
*_wrap_Window_SetValidator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28084 PyObject
*resultobj
;
28085 wxWindow
*arg1
= (wxWindow
*) 0 ;
28086 wxValidator
*arg2
= 0 ;
28087 PyObject
* obj0
= 0 ;
28088 PyObject
* obj1
= 0 ;
28089 char *kwnames
[] = {
28090 (char *) "self",(char *) "validator", NULL
28093 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetValidator",kwnames
,&obj0
,&obj1
)) goto fail
;
28094 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28095 if (SWIG_arg_fail(1)) SWIG_fail
;
28097 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
28098 if (SWIG_arg_fail(2)) SWIG_fail
;
28099 if (arg2
== NULL
) {
28100 SWIG_null_ref("wxValidator");
28102 if (SWIG_arg_fail(2)) SWIG_fail
;
28105 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28106 (arg1
)->SetValidator((wxValidator
const &)*arg2
);
28108 wxPyEndAllowThreads(__tstate
);
28109 if (PyErr_Occurred()) SWIG_fail
;
28111 Py_INCREF(Py_None
); resultobj
= Py_None
;
28118 static PyObject
*_wrap_Window_GetValidator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28119 PyObject
*resultobj
;
28120 wxWindow
*arg1
= (wxWindow
*) 0 ;
28121 wxValidator
*result
;
28122 PyObject
* obj0
= 0 ;
28123 char *kwnames
[] = {
28124 (char *) "self", NULL
28127 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetValidator",kwnames
,&obj0
)) goto fail
;
28128 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28129 if (SWIG_arg_fail(1)) SWIG_fail
;
28131 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28132 result
= (wxValidator
*)(arg1
)->GetValidator();
28134 wxPyEndAllowThreads(__tstate
);
28135 if (PyErr_Occurred()) SWIG_fail
;
28138 resultobj
= wxPyMake_wxObject(result
, 0);
28146 static PyObject
*_wrap_Window_Validate(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_Validate",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
= (bool)(arg1
)->Validate();
28162 wxPyEndAllowThreads(__tstate
);
28163 if (PyErr_Occurred()) SWIG_fail
;
28166 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28174 static PyObject
*_wrap_Window_TransferDataToWindow(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_TransferDataToWindow",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
= (bool)(arg1
)->TransferDataToWindow();
28190 wxPyEndAllowThreads(__tstate
);
28191 if (PyErr_Occurred()) SWIG_fail
;
28194 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28202 static PyObject
*_wrap_Window_TransferDataFromWindow(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_TransferDataFromWindow",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)(arg1
)->TransferDataFromWindow();
28218 wxPyEndAllowThreads(__tstate
);
28219 if (PyErr_Occurred()) SWIG_fail
;
28222 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28230 static PyObject
*_wrap_Window_InitDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28231 PyObject
*resultobj
;
28232 wxWindow
*arg1
= (wxWindow
*) 0 ;
28233 PyObject
* obj0
= 0 ;
28234 char *kwnames
[] = {
28235 (char *) "self", NULL
28238 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_InitDialog",kwnames
,&obj0
)) goto fail
;
28239 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28240 if (SWIG_arg_fail(1)) SWIG_fail
;
28242 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28243 (arg1
)->InitDialog();
28245 wxPyEndAllowThreads(__tstate
);
28246 if (PyErr_Occurred()) SWIG_fail
;
28248 Py_INCREF(Py_None
); resultobj
= Py_None
;
28255 static PyObject
*_wrap_Window_SetAcceleratorTable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28256 PyObject
*resultobj
;
28257 wxWindow
*arg1
= (wxWindow
*) 0 ;
28258 wxAcceleratorTable
*arg2
= 0 ;
28259 PyObject
* obj0
= 0 ;
28260 PyObject
* obj1
= 0 ;
28261 char *kwnames
[] = {
28262 (char *) "self",(char *) "accel", NULL
28265 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetAcceleratorTable",kwnames
,&obj0
,&obj1
)) goto fail
;
28266 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28267 if (SWIG_arg_fail(1)) SWIG_fail
;
28269 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxAcceleratorTable
, SWIG_POINTER_EXCEPTION
| 0);
28270 if (SWIG_arg_fail(2)) SWIG_fail
;
28271 if (arg2
== NULL
) {
28272 SWIG_null_ref("wxAcceleratorTable");
28274 if (SWIG_arg_fail(2)) SWIG_fail
;
28277 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28278 (arg1
)->SetAcceleratorTable((wxAcceleratorTable
const &)*arg2
);
28280 wxPyEndAllowThreads(__tstate
);
28281 if (PyErr_Occurred()) SWIG_fail
;
28283 Py_INCREF(Py_None
); resultobj
= Py_None
;
28290 static PyObject
*_wrap_Window_GetAcceleratorTable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28291 PyObject
*resultobj
;
28292 wxWindow
*arg1
= (wxWindow
*) 0 ;
28293 wxAcceleratorTable
*result
;
28294 PyObject
* obj0
= 0 ;
28295 char *kwnames
[] = {
28296 (char *) "self", NULL
28299 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetAcceleratorTable",kwnames
,&obj0
)) goto fail
;
28300 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28301 if (SWIG_arg_fail(1)) SWIG_fail
;
28303 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28304 result
= (wxAcceleratorTable
*)(arg1
)->GetAcceleratorTable();
28306 wxPyEndAllowThreads(__tstate
);
28307 if (PyErr_Occurred()) SWIG_fail
;
28309 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxAcceleratorTable
, 0);
28316 static PyObject
*_wrap_Window_RegisterHotKey(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28317 PyObject
*resultobj
;
28318 wxWindow
*arg1
= (wxWindow
*) 0 ;
28323 PyObject
* obj0
= 0 ;
28324 PyObject
* obj1
= 0 ;
28325 PyObject
* obj2
= 0 ;
28326 PyObject
* obj3
= 0 ;
28327 char *kwnames
[] = {
28328 (char *) "self",(char *) "hotkeyId",(char *) "modifiers",(char *) "keycode", NULL
28331 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Window_RegisterHotKey",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) 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
= (int)(SWIG_As_int(obj1
));
28336 if (SWIG_arg_fail(2)) SWIG_fail
;
28339 arg3
= (int)(SWIG_As_int(obj2
));
28340 if (SWIG_arg_fail(3)) SWIG_fail
;
28343 arg4
= (int)(SWIG_As_int(obj3
));
28344 if (SWIG_arg_fail(4)) SWIG_fail
;
28347 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28348 result
= (bool)wxWindow_RegisterHotKey(arg1
,arg2
,arg3
,arg4
);
28350 wxPyEndAllowThreads(__tstate
);
28351 if (PyErr_Occurred()) SWIG_fail
;
28354 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28362 static PyObject
*_wrap_Window_UnregisterHotKey(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28363 PyObject
*resultobj
;
28364 wxWindow
*arg1
= (wxWindow
*) 0 ;
28367 PyObject
* obj0
= 0 ;
28368 PyObject
* obj1
= 0 ;
28369 char *kwnames
[] = {
28370 (char *) "self",(char *) "hotkeyId", NULL
28373 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_UnregisterHotKey",kwnames
,&obj0
,&obj1
)) goto fail
;
28374 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28375 if (SWIG_arg_fail(1)) SWIG_fail
;
28377 arg2
= (int)(SWIG_As_int(obj1
));
28378 if (SWIG_arg_fail(2)) SWIG_fail
;
28381 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28382 result
= (bool)wxWindow_UnregisterHotKey(arg1
,arg2
);
28384 wxPyEndAllowThreads(__tstate
);
28385 if (PyErr_Occurred()) SWIG_fail
;
28388 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28396 static PyObject
*_wrap_Window_ConvertDialogPointToPixels(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28397 PyObject
*resultobj
;
28398 wxWindow
*arg1
= (wxWindow
*) 0 ;
28399 wxPoint
*arg2
= 0 ;
28402 PyObject
* obj0
= 0 ;
28403 PyObject
* obj1
= 0 ;
28404 char *kwnames
[] = {
28405 (char *) "self",(char *) "pt", NULL
28408 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ConvertDialogPointToPixels",kwnames
,&obj0
,&obj1
)) goto fail
;
28409 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28410 if (SWIG_arg_fail(1)) SWIG_fail
;
28413 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
28416 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28417 result
= (arg1
)->ConvertDialogToPixels((wxPoint
const &)*arg2
);
28419 wxPyEndAllowThreads(__tstate
);
28420 if (PyErr_Occurred()) SWIG_fail
;
28423 wxPoint
* resultptr
;
28424 resultptr
= new wxPoint((wxPoint
&)(result
));
28425 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
28433 static PyObject
*_wrap_Window_ConvertDialogSizeToPixels(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28434 PyObject
*resultobj
;
28435 wxWindow
*arg1
= (wxWindow
*) 0 ;
28439 PyObject
* obj0
= 0 ;
28440 PyObject
* obj1
= 0 ;
28441 char *kwnames
[] = {
28442 (char *) "self",(char *) "sz", NULL
28445 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ConvertDialogSizeToPixels",kwnames
,&obj0
,&obj1
)) goto fail
;
28446 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28447 if (SWIG_arg_fail(1)) SWIG_fail
;
28450 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
28453 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28454 result
= (arg1
)->ConvertDialogToPixels((wxSize
const &)*arg2
);
28456 wxPyEndAllowThreads(__tstate
);
28457 if (PyErr_Occurred()) SWIG_fail
;
28460 wxSize
* resultptr
;
28461 resultptr
= new wxSize((wxSize
&)(result
));
28462 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
28470 static PyObject
*_wrap_Window_DLG_PNT(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28471 PyObject
*resultobj
;
28472 wxWindow
*arg1
= (wxWindow
*) 0 ;
28473 wxPoint
*arg2
= 0 ;
28476 PyObject
* obj0
= 0 ;
28477 PyObject
* obj1
= 0 ;
28478 char *kwnames
[] = {
28479 (char *) "self",(char *) "pt", NULL
28482 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_DLG_PNT",kwnames
,&obj0
,&obj1
)) goto fail
;
28483 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28484 if (SWIG_arg_fail(1)) SWIG_fail
;
28487 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
28490 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28491 result
= (arg1
)->ConvertDialogToPixels((wxPoint
const &)*arg2
);
28493 wxPyEndAllowThreads(__tstate
);
28494 if (PyErr_Occurred()) SWIG_fail
;
28497 wxPoint
* resultptr
;
28498 resultptr
= new wxPoint((wxPoint
&)(result
));
28499 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
28507 static PyObject
*_wrap_Window_DLG_SZE(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28508 PyObject
*resultobj
;
28509 wxWindow
*arg1
= (wxWindow
*) 0 ;
28513 PyObject
* obj0
= 0 ;
28514 PyObject
* obj1
= 0 ;
28515 char *kwnames
[] = {
28516 (char *) "self",(char *) "sz", NULL
28519 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_DLG_SZE",kwnames
,&obj0
,&obj1
)) goto fail
;
28520 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28521 if (SWIG_arg_fail(1)) SWIG_fail
;
28524 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
28527 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28528 result
= (arg1
)->ConvertDialogToPixels((wxSize
const &)*arg2
);
28530 wxPyEndAllowThreads(__tstate
);
28531 if (PyErr_Occurred()) SWIG_fail
;
28534 wxSize
* resultptr
;
28535 resultptr
= new wxSize((wxSize
&)(result
));
28536 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
28544 static PyObject
*_wrap_Window_ConvertPixelPointToDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28545 PyObject
*resultobj
;
28546 wxWindow
*arg1
= (wxWindow
*) 0 ;
28547 wxPoint
*arg2
= 0 ;
28550 PyObject
* obj0
= 0 ;
28551 PyObject
* obj1
= 0 ;
28552 char *kwnames
[] = {
28553 (char *) "self",(char *) "pt", NULL
28556 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ConvertPixelPointToDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
28557 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28558 if (SWIG_arg_fail(1)) SWIG_fail
;
28561 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
28564 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28565 result
= (arg1
)->ConvertPixelsToDialog((wxPoint
const &)*arg2
);
28567 wxPyEndAllowThreads(__tstate
);
28568 if (PyErr_Occurred()) SWIG_fail
;
28571 wxPoint
* resultptr
;
28572 resultptr
= new wxPoint((wxPoint
&)(result
));
28573 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
28581 static PyObject
*_wrap_Window_ConvertPixelSizeToDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28582 PyObject
*resultobj
;
28583 wxWindow
*arg1
= (wxWindow
*) 0 ;
28587 PyObject
* obj0
= 0 ;
28588 PyObject
* obj1
= 0 ;
28589 char *kwnames
[] = {
28590 (char *) "self",(char *) "sz", NULL
28593 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ConvertPixelSizeToDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
28594 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28595 if (SWIG_arg_fail(1)) SWIG_fail
;
28598 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
28601 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28602 result
= (arg1
)->ConvertPixelsToDialog((wxSize
const &)*arg2
);
28604 wxPyEndAllowThreads(__tstate
);
28605 if (PyErr_Occurred()) SWIG_fail
;
28608 wxSize
* resultptr
;
28609 resultptr
= new wxSize((wxSize
&)(result
));
28610 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
28618 static PyObject
*_wrap_Window_WarpPointer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28619 PyObject
*resultobj
;
28620 wxWindow
*arg1
= (wxWindow
*) 0 ;
28623 PyObject
* obj0
= 0 ;
28624 PyObject
* obj1
= 0 ;
28625 PyObject
* obj2
= 0 ;
28626 char *kwnames
[] = {
28627 (char *) "self",(char *) "x",(char *) "y", NULL
28630 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_WarpPointer",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
28631 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28632 if (SWIG_arg_fail(1)) SWIG_fail
;
28634 arg2
= (int)(SWIG_As_int(obj1
));
28635 if (SWIG_arg_fail(2)) SWIG_fail
;
28638 arg3
= (int)(SWIG_As_int(obj2
));
28639 if (SWIG_arg_fail(3)) SWIG_fail
;
28642 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28643 (arg1
)->WarpPointer(arg2
,arg3
);
28645 wxPyEndAllowThreads(__tstate
);
28646 if (PyErr_Occurred()) SWIG_fail
;
28648 Py_INCREF(Py_None
); resultobj
= Py_None
;
28655 static PyObject
*_wrap_Window_CaptureMouse(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28656 PyObject
*resultobj
;
28657 wxWindow
*arg1
= (wxWindow
*) 0 ;
28658 PyObject
* obj0
= 0 ;
28659 char *kwnames
[] = {
28660 (char *) "self", NULL
28663 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_CaptureMouse",kwnames
,&obj0
)) goto fail
;
28664 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28665 if (SWIG_arg_fail(1)) SWIG_fail
;
28667 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28668 (arg1
)->CaptureMouse();
28670 wxPyEndAllowThreads(__tstate
);
28671 if (PyErr_Occurred()) SWIG_fail
;
28673 Py_INCREF(Py_None
); resultobj
= Py_None
;
28680 static PyObject
*_wrap_Window_ReleaseMouse(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28681 PyObject
*resultobj
;
28682 wxWindow
*arg1
= (wxWindow
*) 0 ;
28683 PyObject
* obj0
= 0 ;
28684 char *kwnames
[] = {
28685 (char *) "self", NULL
28688 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_ReleaseMouse",kwnames
,&obj0
)) goto fail
;
28689 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28690 if (SWIG_arg_fail(1)) SWIG_fail
;
28692 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28693 (arg1
)->ReleaseMouse();
28695 wxPyEndAllowThreads(__tstate
);
28696 if (PyErr_Occurred()) SWIG_fail
;
28698 Py_INCREF(Py_None
); resultobj
= Py_None
;
28705 static PyObject
*_wrap_Window_GetCapture(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28706 PyObject
*resultobj
;
28708 char *kwnames
[] = {
28712 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Window_GetCapture",kwnames
)) goto fail
;
28714 if (!wxPyCheckForApp()) SWIG_fail
;
28715 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28716 result
= (wxWindow
*)wxWindow::GetCapture();
28718 wxPyEndAllowThreads(__tstate
);
28719 if (PyErr_Occurred()) SWIG_fail
;
28722 resultobj
= wxPyMake_wxObject(result
, 0);
28730 static PyObject
*_wrap_Window_HasCapture(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28731 PyObject
*resultobj
;
28732 wxWindow
*arg1
= (wxWindow
*) 0 ;
28734 PyObject
* obj0
= 0 ;
28735 char *kwnames
[] = {
28736 (char *) "self", NULL
28739 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_HasCapture",kwnames
,&obj0
)) goto fail
;
28740 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28741 if (SWIG_arg_fail(1)) SWIG_fail
;
28743 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28744 result
= (bool)((wxWindow
const *)arg1
)->HasCapture();
28746 wxPyEndAllowThreads(__tstate
);
28747 if (PyErr_Occurred()) SWIG_fail
;
28750 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28758 static PyObject
*_wrap_Window_Refresh(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28759 PyObject
*resultobj
;
28760 wxWindow
*arg1
= (wxWindow
*) 0 ;
28761 bool arg2
= (bool) true ;
28762 wxRect
*arg3
= (wxRect
*) NULL
;
28763 PyObject
* obj0
= 0 ;
28764 PyObject
* obj1
= 0 ;
28765 PyObject
* obj2
= 0 ;
28766 char *kwnames
[] = {
28767 (char *) "self",(char *) "eraseBackground",(char *) "rect", NULL
28770 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Window_Refresh",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
28771 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28772 if (SWIG_arg_fail(1)) SWIG_fail
;
28775 arg2
= (bool)(SWIG_As_bool(obj1
));
28776 if (SWIG_arg_fail(2)) SWIG_fail
;
28780 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
28781 if (SWIG_arg_fail(3)) SWIG_fail
;
28784 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28785 (arg1
)->Refresh(arg2
,(wxRect
const *)arg3
);
28787 wxPyEndAllowThreads(__tstate
);
28788 if (PyErr_Occurred()) SWIG_fail
;
28790 Py_INCREF(Py_None
); resultobj
= Py_None
;
28797 static PyObject
*_wrap_Window_RefreshRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28798 PyObject
*resultobj
;
28799 wxWindow
*arg1
= (wxWindow
*) 0 ;
28801 bool arg3
= (bool) true ;
28803 PyObject
* obj0
= 0 ;
28804 PyObject
* obj1
= 0 ;
28805 PyObject
* obj2
= 0 ;
28806 char *kwnames
[] = {
28807 (char *) "self",(char *) "rect",(char *) "eraseBackground", NULL
28810 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_RefreshRect",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
28811 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28812 if (SWIG_arg_fail(1)) SWIG_fail
;
28815 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
28819 arg3
= (bool)(SWIG_As_bool(obj2
));
28820 if (SWIG_arg_fail(3)) SWIG_fail
;
28824 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28825 (arg1
)->RefreshRect((wxRect
const &)*arg2
,arg3
);
28827 wxPyEndAllowThreads(__tstate
);
28828 if (PyErr_Occurred()) SWIG_fail
;
28830 Py_INCREF(Py_None
); resultobj
= Py_None
;
28837 static PyObject
*_wrap_Window_Update(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28838 PyObject
*resultobj
;
28839 wxWindow
*arg1
= (wxWindow
*) 0 ;
28840 PyObject
* obj0
= 0 ;
28841 char *kwnames
[] = {
28842 (char *) "self", NULL
28845 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Update",kwnames
,&obj0
)) goto fail
;
28846 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28847 if (SWIG_arg_fail(1)) SWIG_fail
;
28849 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28852 wxPyEndAllowThreads(__tstate
);
28853 if (PyErr_Occurred()) SWIG_fail
;
28855 Py_INCREF(Py_None
); resultobj
= Py_None
;
28862 static PyObject
*_wrap_Window_ClearBackground(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28863 PyObject
*resultobj
;
28864 wxWindow
*arg1
= (wxWindow
*) 0 ;
28865 PyObject
* obj0
= 0 ;
28866 char *kwnames
[] = {
28867 (char *) "self", NULL
28870 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_ClearBackground",kwnames
,&obj0
)) goto fail
;
28871 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28872 if (SWIG_arg_fail(1)) SWIG_fail
;
28874 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28875 (arg1
)->ClearBackground();
28877 wxPyEndAllowThreads(__tstate
);
28878 if (PyErr_Occurred()) SWIG_fail
;
28880 Py_INCREF(Py_None
); resultobj
= Py_None
;
28887 static PyObject
*_wrap_Window_Freeze(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28888 PyObject
*resultobj
;
28889 wxWindow
*arg1
= (wxWindow
*) 0 ;
28890 PyObject
* obj0
= 0 ;
28891 char *kwnames
[] = {
28892 (char *) "self", NULL
28895 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Freeze",kwnames
,&obj0
)) goto fail
;
28896 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28897 if (SWIG_arg_fail(1)) SWIG_fail
;
28899 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28902 wxPyEndAllowThreads(__tstate
);
28903 if (PyErr_Occurred()) SWIG_fail
;
28905 Py_INCREF(Py_None
); resultobj
= Py_None
;
28912 static PyObject
*_wrap_Window_Thaw(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28913 PyObject
*resultobj
;
28914 wxWindow
*arg1
= (wxWindow
*) 0 ;
28915 PyObject
* obj0
= 0 ;
28916 char *kwnames
[] = {
28917 (char *) "self", NULL
28920 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Thaw",kwnames
,&obj0
)) goto fail
;
28921 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28922 if (SWIG_arg_fail(1)) SWIG_fail
;
28924 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28927 wxPyEndAllowThreads(__tstate
);
28928 if (PyErr_Occurred()) SWIG_fail
;
28930 Py_INCREF(Py_None
); resultobj
= Py_None
;
28937 static PyObject
*_wrap_Window_PrepareDC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28938 PyObject
*resultobj
;
28939 wxWindow
*arg1
= (wxWindow
*) 0 ;
28941 PyObject
* obj0
= 0 ;
28942 PyObject
* obj1
= 0 ;
28943 char *kwnames
[] = {
28944 (char *) "self",(char *) "dc", NULL
28947 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_PrepareDC",kwnames
,&obj0
,&obj1
)) goto fail
;
28948 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28949 if (SWIG_arg_fail(1)) SWIG_fail
;
28951 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
28952 if (SWIG_arg_fail(2)) SWIG_fail
;
28953 if (arg2
== NULL
) {
28954 SWIG_null_ref("wxDC");
28956 if (SWIG_arg_fail(2)) SWIG_fail
;
28959 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28960 (arg1
)->PrepareDC(*arg2
);
28962 wxPyEndAllowThreads(__tstate
);
28963 if (PyErr_Occurred()) SWIG_fail
;
28965 Py_INCREF(Py_None
); resultobj
= Py_None
;
28972 static PyObject
*_wrap_Window_GetUpdateRegion(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28973 PyObject
*resultobj
;
28974 wxWindow
*arg1
= (wxWindow
*) 0 ;
28976 PyObject
* obj0
= 0 ;
28977 char *kwnames
[] = {
28978 (char *) "self", NULL
28981 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetUpdateRegion",kwnames
,&obj0
)) goto fail
;
28982 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28983 if (SWIG_arg_fail(1)) SWIG_fail
;
28985 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28987 wxRegion
&_result_ref
= (arg1
)->GetUpdateRegion();
28988 result
= (wxRegion
*) &_result_ref
;
28991 wxPyEndAllowThreads(__tstate
);
28992 if (PyErr_Occurred()) SWIG_fail
;
28994 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRegion
, 0);
29001 static PyObject
*_wrap_Window_GetUpdateClientRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29002 PyObject
*resultobj
;
29003 wxWindow
*arg1
= (wxWindow
*) 0 ;
29005 PyObject
* obj0
= 0 ;
29006 char *kwnames
[] = {
29007 (char *) "self", NULL
29010 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetUpdateClientRect",kwnames
,&obj0
)) goto fail
;
29011 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29012 if (SWIG_arg_fail(1)) SWIG_fail
;
29014 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29015 result
= ((wxWindow
const *)arg1
)->GetUpdateClientRect();
29017 wxPyEndAllowThreads(__tstate
);
29018 if (PyErr_Occurred()) SWIG_fail
;
29021 wxRect
* resultptr
;
29022 resultptr
= new wxRect((wxRect
&)(result
));
29023 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
29031 static PyObject
*_wrap_Window_IsExposed(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29032 PyObject
*resultobj
;
29033 wxWindow
*arg1
= (wxWindow
*) 0 ;
29036 int arg4
= (int) 1 ;
29037 int arg5
= (int) 1 ;
29039 PyObject
* obj0
= 0 ;
29040 PyObject
* obj1
= 0 ;
29041 PyObject
* obj2
= 0 ;
29042 PyObject
* obj3
= 0 ;
29043 PyObject
* obj4
= 0 ;
29044 char *kwnames
[] = {
29045 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
29048 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:Window_IsExposed",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
29049 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29050 if (SWIG_arg_fail(1)) SWIG_fail
;
29052 arg2
= (int)(SWIG_As_int(obj1
));
29053 if (SWIG_arg_fail(2)) SWIG_fail
;
29056 arg3
= (int)(SWIG_As_int(obj2
));
29057 if (SWIG_arg_fail(3)) SWIG_fail
;
29061 arg4
= (int)(SWIG_As_int(obj3
));
29062 if (SWIG_arg_fail(4)) SWIG_fail
;
29067 arg5
= (int)(SWIG_As_int(obj4
));
29068 if (SWIG_arg_fail(5)) SWIG_fail
;
29072 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29073 result
= (bool)((wxWindow
const *)arg1
)->IsExposed(arg2
,arg3
,arg4
,arg5
);
29075 wxPyEndAllowThreads(__tstate
);
29076 if (PyErr_Occurred()) SWIG_fail
;
29079 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29087 static PyObject
*_wrap_Window_IsExposedPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29088 PyObject
*resultobj
;
29089 wxWindow
*arg1
= (wxWindow
*) 0 ;
29090 wxPoint
*arg2
= 0 ;
29093 PyObject
* obj0
= 0 ;
29094 PyObject
* obj1
= 0 ;
29095 char *kwnames
[] = {
29096 (char *) "self",(char *) "pt", NULL
29099 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_IsExposedPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
29100 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29101 if (SWIG_arg_fail(1)) SWIG_fail
;
29104 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
29107 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29108 result
= (bool)((wxWindow
const *)arg1
)->IsExposed((wxPoint
const &)*arg2
);
29110 wxPyEndAllowThreads(__tstate
);
29111 if (PyErr_Occurred()) SWIG_fail
;
29114 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29122 static PyObject
*_wrap_Window_IsExposedRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29123 PyObject
*resultobj
;
29124 wxWindow
*arg1
= (wxWindow
*) 0 ;
29128 PyObject
* obj0
= 0 ;
29129 PyObject
* obj1
= 0 ;
29130 char *kwnames
[] = {
29131 (char *) "self",(char *) "rect", NULL
29134 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_IsExposedRect",kwnames
,&obj0
,&obj1
)) goto fail
;
29135 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29136 if (SWIG_arg_fail(1)) SWIG_fail
;
29139 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
29142 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29143 result
= (bool)((wxWindow
const *)arg1
)->IsExposed((wxRect
const &)*arg2
);
29145 wxPyEndAllowThreads(__tstate
);
29146 if (PyErr_Occurred()) SWIG_fail
;
29149 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29157 static PyObject
*_wrap_Window_GetDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29158 PyObject
*resultobj
;
29159 wxWindow
*arg1
= (wxWindow
*) 0 ;
29160 wxVisualAttributes result
;
29161 PyObject
* obj0
= 0 ;
29162 char *kwnames
[] = {
29163 (char *) "self", NULL
29166 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetDefaultAttributes",kwnames
,&obj0
)) goto fail
;
29167 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29168 if (SWIG_arg_fail(1)) SWIG_fail
;
29170 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29171 result
= ((wxWindow
const *)arg1
)->GetDefaultAttributes();
29173 wxPyEndAllowThreads(__tstate
);
29174 if (PyErr_Occurred()) SWIG_fail
;
29177 wxVisualAttributes
* resultptr
;
29178 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
29179 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
29187 static PyObject
*_wrap_Window_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29188 PyObject
*resultobj
;
29189 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
29190 wxVisualAttributes result
;
29191 PyObject
* obj0
= 0 ;
29192 char *kwnames
[] = {
29193 (char *) "variant", NULL
29196 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Window_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
29199 arg1
= (wxWindowVariant
)(SWIG_As_int(obj0
));
29200 if (SWIG_arg_fail(1)) SWIG_fail
;
29204 if (!wxPyCheckForApp()) SWIG_fail
;
29205 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29206 result
= wxWindow::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
29208 wxPyEndAllowThreads(__tstate
);
29209 if (PyErr_Occurred()) SWIG_fail
;
29212 wxVisualAttributes
* resultptr
;
29213 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
29214 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
29222 static PyObject
*_wrap_Window_SetBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29223 PyObject
*resultobj
;
29224 wxWindow
*arg1
= (wxWindow
*) 0 ;
29225 wxColour
*arg2
= 0 ;
29228 PyObject
* obj0
= 0 ;
29229 PyObject
* obj1
= 0 ;
29230 char *kwnames
[] = {
29231 (char *) "self",(char *) "colour", NULL
29234 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
29235 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29236 if (SWIG_arg_fail(1)) SWIG_fail
;
29239 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
29242 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29243 result
= (bool)(arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
29245 wxPyEndAllowThreads(__tstate
);
29246 if (PyErr_Occurred()) SWIG_fail
;
29249 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29257 static PyObject
*_wrap_Window_SetOwnBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29258 PyObject
*resultobj
;
29259 wxWindow
*arg1
= (wxWindow
*) 0 ;
29260 wxColour
*arg2
= 0 ;
29262 PyObject
* obj0
= 0 ;
29263 PyObject
* obj1
= 0 ;
29264 char *kwnames
[] = {
29265 (char *) "self",(char *) "colour", NULL
29268 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetOwnBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
29269 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29270 if (SWIG_arg_fail(1)) SWIG_fail
;
29273 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
29276 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29277 (arg1
)->SetOwnBackgroundColour((wxColour
const &)*arg2
);
29279 wxPyEndAllowThreads(__tstate
);
29280 if (PyErr_Occurred()) SWIG_fail
;
29282 Py_INCREF(Py_None
); resultobj
= Py_None
;
29289 static PyObject
*_wrap_Window_SetForegroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29290 PyObject
*resultobj
;
29291 wxWindow
*arg1
= (wxWindow
*) 0 ;
29292 wxColour
*arg2
= 0 ;
29295 PyObject
* obj0
= 0 ;
29296 PyObject
* obj1
= 0 ;
29297 char *kwnames
[] = {
29298 (char *) "self",(char *) "colour", NULL
29301 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetForegroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
29302 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29303 if (SWIG_arg_fail(1)) SWIG_fail
;
29306 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
29309 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29310 result
= (bool)(arg1
)->SetForegroundColour((wxColour
const &)*arg2
);
29312 wxPyEndAllowThreads(__tstate
);
29313 if (PyErr_Occurred()) SWIG_fail
;
29316 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29324 static PyObject
*_wrap_Window_SetOwnForegroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29325 PyObject
*resultobj
;
29326 wxWindow
*arg1
= (wxWindow
*) 0 ;
29327 wxColour
*arg2
= 0 ;
29329 PyObject
* obj0
= 0 ;
29330 PyObject
* obj1
= 0 ;
29331 char *kwnames
[] = {
29332 (char *) "self",(char *) "colour", NULL
29335 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetOwnForegroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
29336 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29337 if (SWIG_arg_fail(1)) SWIG_fail
;
29340 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
29343 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29344 (arg1
)->SetOwnForegroundColour((wxColour
const &)*arg2
);
29346 wxPyEndAllowThreads(__tstate
);
29347 if (PyErr_Occurred()) SWIG_fail
;
29349 Py_INCREF(Py_None
); resultobj
= Py_None
;
29356 static PyObject
*_wrap_Window_GetBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29357 PyObject
*resultobj
;
29358 wxWindow
*arg1
= (wxWindow
*) 0 ;
29360 PyObject
* obj0
= 0 ;
29361 char *kwnames
[] = {
29362 (char *) "self", NULL
29365 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetBackgroundColour",kwnames
,&obj0
)) goto fail
;
29366 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29367 if (SWIG_arg_fail(1)) SWIG_fail
;
29369 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29370 result
= ((wxWindow
const *)arg1
)->GetBackgroundColour();
29372 wxPyEndAllowThreads(__tstate
);
29373 if (PyErr_Occurred()) SWIG_fail
;
29376 wxColour
* resultptr
;
29377 resultptr
= new wxColour((wxColour
&)(result
));
29378 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
29386 static PyObject
*_wrap_Window_GetForegroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29387 PyObject
*resultobj
;
29388 wxWindow
*arg1
= (wxWindow
*) 0 ;
29390 PyObject
* obj0
= 0 ;
29391 char *kwnames
[] = {
29392 (char *) "self", NULL
29395 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetForegroundColour",kwnames
,&obj0
)) goto fail
;
29396 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29397 if (SWIG_arg_fail(1)) SWIG_fail
;
29399 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29400 result
= ((wxWindow
const *)arg1
)->GetForegroundColour();
29402 wxPyEndAllowThreads(__tstate
);
29403 if (PyErr_Occurred()) SWIG_fail
;
29406 wxColour
* resultptr
;
29407 resultptr
= new wxColour((wxColour
&)(result
));
29408 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
29416 static PyObject
*_wrap_Window_InheritsBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29417 PyObject
*resultobj
;
29418 wxWindow
*arg1
= (wxWindow
*) 0 ;
29420 PyObject
* obj0
= 0 ;
29421 char *kwnames
[] = {
29422 (char *) "self", NULL
29425 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_InheritsBackgroundColour",kwnames
,&obj0
)) goto fail
;
29426 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29427 if (SWIG_arg_fail(1)) SWIG_fail
;
29429 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29430 result
= (bool)((wxWindow
const *)arg1
)->InheritsBackgroundColour();
29432 wxPyEndAllowThreads(__tstate
);
29433 if (PyErr_Occurred()) SWIG_fail
;
29436 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29444 static PyObject
*_wrap_Window_UseBgCol(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29445 PyObject
*resultobj
;
29446 wxWindow
*arg1
= (wxWindow
*) 0 ;
29448 PyObject
* obj0
= 0 ;
29449 char *kwnames
[] = {
29450 (char *) "self", NULL
29453 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_UseBgCol",kwnames
,&obj0
)) goto fail
;
29454 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29455 if (SWIG_arg_fail(1)) SWIG_fail
;
29457 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29458 result
= (bool)((wxWindow
const *)arg1
)->UseBgCol();
29460 wxPyEndAllowThreads(__tstate
);
29461 if (PyErr_Occurred()) SWIG_fail
;
29464 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29472 static PyObject
*_wrap_Window_SetBackgroundStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29473 PyObject
*resultobj
;
29474 wxWindow
*arg1
= (wxWindow
*) 0 ;
29475 wxBackgroundStyle arg2
;
29477 PyObject
* obj0
= 0 ;
29478 PyObject
* obj1
= 0 ;
29479 char *kwnames
[] = {
29480 (char *) "self",(char *) "style", NULL
29483 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetBackgroundStyle",kwnames
,&obj0
,&obj1
)) goto fail
;
29484 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29485 if (SWIG_arg_fail(1)) SWIG_fail
;
29487 arg2
= (wxBackgroundStyle
)(SWIG_As_int(obj1
));
29488 if (SWIG_arg_fail(2)) SWIG_fail
;
29491 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29492 result
= (bool)(arg1
)->SetBackgroundStyle((wxBackgroundStyle
)arg2
);
29494 wxPyEndAllowThreads(__tstate
);
29495 if (PyErr_Occurred()) SWIG_fail
;
29498 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29506 static PyObject
*_wrap_Window_GetBackgroundStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29507 PyObject
*resultobj
;
29508 wxWindow
*arg1
= (wxWindow
*) 0 ;
29509 wxBackgroundStyle result
;
29510 PyObject
* obj0
= 0 ;
29511 char *kwnames
[] = {
29512 (char *) "self", NULL
29515 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetBackgroundStyle",kwnames
,&obj0
)) goto fail
;
29516 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29517 if (SWIG_arg_fail(1)) SWIG_fail
;
29519 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29520 result
= (wxBackgroundStyle
)((wxWindow
const *)arg1
)->GetBackgroundStyle();
29522 wxPyEndAllowThreads(__tstate
);
29523 if (PyErr_Occurred()) SWIG_fail
;
29525 resultobj
= SWIG_From_int((result
));
29532 static PyObject
*_wrap_Window_HasTransparentBackground(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29533 PyObject
*resultobj
;
29534 wxWindow
*arg1
= (wxWindow
*) 0 ;
29536 PyObject
* obj0
= 0 ;
29537 char *kwnames
[] = {
29538 (char *) "self", NULL
29541 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_HasTransparentBackground",kwnames
,&obj0
)) goto fail
;
29542 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29543 if (SWIG_arg_fail(1)) SWIG_fail
;
29545 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29546 result
= (bool)(arg1
)->HasTransparentBackground();
29548 wxPyEndAllowThreads(__tstate
);
29549 if (PyErr_Occurred()) SWIG_fail
;
29552 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29560 static PyObject
*_wrap_Window_SetCursor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29561 PyObject
*resultobj
;
29562 wxWindow
*arg1
= (wxWindow
*) 0 ;
29563 wxCursor
*arg2
= 0 ;
29565 PyObject
* obj0
= 0 ;
29566 PyObject
* obj1
= 0 ;
29567 char *kwnames
[] = {
29568 (char *) "self",(char *) "cursor", NULL
29571 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetCursor",kwnames
,&obj0
,&obj1
)) goto fail
;
29572 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29573 if (SWIG_arg_fail(1)) SWIG_fail
;
29575 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxCursor
, SWIG_POINTER_EXCEPTION
| 0);
29576 if (SWIG_arg_fail(2)) SWIG_fail
;
29577 if (arg2
== NULL
) {
29578 SWIG_null_ref("wxCursor");
29580 if (SWIG_arg_fail(2)) SWIG_fail
;
29583 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29584 result
= (bool)(arg1
)->SetCursor((wxCursor
const &)*arg2
);
29586 wxPyEndAllowThreads(__tstate
);
29587 if (PyErr_Occurred()) SWIG_fail
;
29590 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29598 static PyObject
*_wrap_Window_GetCursor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29599 PyObject
*resultobj
;
29600 wxWindow
*arg1
= (wxWindow
*) 0 ;
29602 PyObject
* obj0
= 0 ;
29603 char *kwnames
[] = {
29604 (char *) "self", NULL
29607 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetCursor",kwnames
,&obj0
)) goto fail
;
29608 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29609 if (SWIG_arg_fail(1)) SWIG_fail
;
29611 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29612 result
= (arg1
)->GetCursor();
29614 wxPyEndAllowThreads(__tstate
);
29615 if (PyErr_Occurred()) SWIG_fail
;
29618 wxCursor
* resultptr
;
29619 resultptr
= new wxCursor((wxCursor
&)(result
));
29620 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxCursor
, 1);
29628 static PyObject
*_wrap_Window_SetFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29629 PyObject
*resultobj
;
29630 wxWindow
*arg1
= (wxWindow
*) 0 ;
29633 PyObject
* obj0
= 0 ;
29634 PyObject
* obj1
= 0 ;
29635 char *kwnames
[] = {
29636 (char *) "self",(char *) "font", NULL
29639 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetFont",kwnames
,&obj0
,&obj1
)) goto fail
;
29640 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29641 if (SWIG_arg_fail(1)) SWIG_fail
;
29643 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
29644 if (SWIG_arg_fail(2)) SWIG_fail
;
29645 if (arg2
== NULL
) {
29646 SWIG_null_ref("wxFont");
29648 if (SWIG_arg_fail(2)) SWIG_fail
;
29651 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29652 result
= (bool)(arg1
)->SetFont((wxFont
const &)*arg2
);
29654 wxPyEndAllowThreads(__tstate
);
29655 if (PyErr_Occurred()) SWIG_fail
;
29658 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29666 static PyObject
*_wrap_Window_SetOwnFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29667 PyObject
*resultobj
;
29668 wxWindow
*arg1
= (wxWindow
*) 0 ;
29670 PyObject
* obj0
= 0 ;
29671 PyObject
* obj1
= 0 ;
29672 char *kwnames
[] = {
29673 (char *) "self",(char *) "font", NULL
29676 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetOwnFont",kwnames
,&obj0
,&obj1
)) goto fail
;
29677 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29678 if (SWIG_arg_fail(1)) SWIG_fail
;
29680 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
29681 if (SWIG_arg_fail(2)) SWIG_fail
;
29682 if (arg2
== NULL
) {
29683 SWIG_null_ref("wxFont");
29685 if (SWIG_arg_fail(2)) SWIG_fail
;
29688 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29689 (arg1
)->SetOwnFont((wxFont
const &)*arg2
);
29691 wxPyEndAllowThreads(__tstate
);
29692 if (PyErr_Occurred()) SWIG_fail
;
29694 Py_INCREF(Py_None
); resultobj
= Py_None
;
29701 static PyObject
*_wrap_Window_GetFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29702 PyObject
*resultobj
;
29703 wxWindow
*arg1
= (wxWindow
*) 0 ;
29705 PyObject
* obj0
= 0 ;
29706 char *kwnames
[] = {
29707 (char *) "self", NULL
29710 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetFont",kwnames
,&obj0
)) goto fail
;
29711 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29712 if (SWIG_arg_fail(1)) SWIG_fail
;
29714 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29715 result
= (arg1
)->GetFont();
29717 wxPyEndAllowThreads(__tstate
);
29718 if (PyErr_Occurred()) SWIG_fail
;
29721 wxFont
* resultptr
;
29722 resultptr
= new wxFont((wxFont
&)(result
));
29723 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxFont
, 1);
29731 static PyObject
*_wrap_Window_SetCaret(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29732 PyObject
*resultobj
;
29733 wxWindow
*arg1
= (wxWindow
*) 0 ;
29734 wxCaret
*arg2
= (wxCaret
*) 0 ;
29735 PyObject
* obj0
= 0 ;
29736 PyObject
* obj1
= 0 ;
29737 char *kwnames
[] = {
29738 (char *) "self",(char *) "caret", NULL
29741 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetCaret",kwnames
,&obj0
,&obj1
)) goto fail
;
29742 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29743 if (SWIG_arg_fail(1)) SWIG_fail
;
29744 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxCaret
, SWIG_POINTER_EXCEPTION
| 0);
29745 if (SWIG_arg_fail(2)) SWIG_fail
;
29747 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29748 (arg1
)->SetCaret(arg2
);
29750 wxPyEndAllowThreads(__tstate
);
29751 if (PyErr_Occurred()) SWIG_fail
;
29753 Py_INCREF(Py_None
); resultobj
= Py_None
;
29760 static PyObject
*_wrap_Window_GetCaret(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29761 PyObject
*resultobj
;
29762 wxWindow
*arg1
= (wxWindow
*) 0 ;
29764 PyObject
* obj0
= 0 ;
29765 char *kwnames
[] = {
29766 (char *) "self", NULL
29769 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetCaret",kwnames
,&obj0
)) goto fail
;
29770 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29771 if (SWIG_arg_fail(1)) SWIG_fail
;
29773 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29774 result
= (wxCaret
*)((wxWindow
const *)arg1
)->GetCaret();
29776 wxPyEndAllowThreads(__tstate
);
29777 if (PyErr_Occurred()) SWIG_fail
;
29779 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCaret
, 0);
29786 static PyObject
*_wrap_Window_GetCharHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29787 PyObject
*resultobj
;
29788 wxWindow
*arg1
= (wxWindow
*) 0 ;
29790 PyObject
* obj0
= 0 ;
29791 char *kwnames
[] = {
29792 (char *) "self", NULL
29795 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetCharHeight",kwnames
,&obj0
)) goto fail
;
29796 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29797 if (SWIG_arg_fail(1)) SWIG_fail
;
29799 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29800 result
= (int)((wxWindow
const *)arg1
)->GetCharHeight();
29802 wxPyEndAllowThreads(__tstate
);
29803 if (PyErr_Occurred()) SWIG_fail
;
29806 resultobj
= SWIG_From_int((int)(result
));
29814 static PyObject
*_wrap_Window_GetCharWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29815 PyObject
*resultobj
;
29816 wxWindow
*arg1
= (wxWindow
*) 0 ;
29818 PyObject
* obj0
= 0 ;
29819 char *kwnames
[] = {
29820 (char *) "self", NULL
29823 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetCharWidth",kwnames
,&obj0
)) goto fail
;
29824 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29825 if (SWIG_arg_fail(1)) SWIG_fail
;
29827 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29828 result
= (int)((wxWindow
const *)arg1
)->GetCharWidth();
29830 wxPyEndAllowThreads(__tstate
);
29831 if (PyErr_Occurred()) SWIG_fail
;
29834 resultobj
= SWIG_From_int((int)(result
));
29842 static PyObject
*_wrap_Window_GetTextExtent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29843 PyObject
*resultobj
;
29844 wxWindow
*arg1
= (wxWindow
*) 0 ;
29845 wxString
*arg2
= 0 ;
29846 int *arg3
= (int *) 0 ;
29847 int *arg4
= (int *) 0 ;
29848 bool temp2
= false ;
29853 PyObject
* obj0
= 0 ;
29854 PyObject
* obj1
= 0 ;
29855 char *kwnames
[] = {
29856 (char *) "self",(char *) "string", NULL
29859 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
29860 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
29861 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_GetTextExtent",kwnames
,&obj0
,&obj1
)) goto fail
;
29862 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29863 if (SWIG_arg_fail(1)) SWIG_fail
;
29865 arg2
= wxString_in_helper(obj1
);
29866 if (arg2
== NULL
) SWIG_fail
;
29870 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29871 (arg1
)->GetTextExtent((wxString
const &)*arg2
,arg3
,arg4
);
29873 wxPyEndAllowThreads(__tstate
);
29874 if (PyErr_Occurred()) SWIG_fail
;
29876 Py_INCREF(Py_None
); resultobj
= Py_None
;
29877 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
29878 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
29879 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
29880 SWIG_From_int((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, 0)));
29895 static PyObject
*_wrap_Window_GetFullTextExtent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29896 PyObject
*resultobj
;
29897 wxWindow
*arg1
= (wxWindow
*) 0 ;
29898 wxString
*arg2
= 0 ;
29899 int *arg3
= (int *) 0 ;
29900 int *arg4
= (int *) 0 ;
29901 int *arg5
= (int *) 0 ;
29902 int *arg6
= (int *) 0 ;
29903 wxFont
*arg7
= (wxFont
*) NULL
;
29904 bool temp2
= false ;
29913 PyObject
* obj0
= 0 ;
29914 PyObject
* obj1
= 0 ;
29915 PyObject
* obj2
= 0 ;
29916 char *kwnames
[] = {
29917 (char *) "self",(char *) "string",(char *) "font", NULL
29920 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
29921 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
29922 arg5
= &temp5
; res5
= SWIG_NEWOBJ
;
29923 arg6
= &temp6
; res6
= SWIG_NEWOBJ
;
29924 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_GetFullTextExtent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29925 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29926 if (SWIG_arg_fail(1)) SWIG_fail
;
29928 arg2
= wxString_in_helper(obj1
);
29929 if (arg2
== NULL
) SWIG_fail
;
29933 SWIG_Python_ConvertPtr(obj2
, (void **)&arg7
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
29934 if (SWIG_arg_fail(7)) SWIG_fail
;
29937 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29938 (arg1
)->GetTextExtent((wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
,(wxFont
const *)arg7
);
29940 wxPyEndAllowThreads(__tstate
);
29941 if (PyErr_Occurred()) SWIG_fail
;
29943 Py_INCREF(Py_None
); resultobj
= Py_None
;
29944 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
29945 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
29946 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
29947 SWIG_From_int((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, 0)));
29948 resultobj
= t_output_helper(resultobj
, ((res5
== SWIG_NEWOBJ
) ?
29949 SWIG_From_int((*arg5
)) : SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, 0)));
29950 resultobj
= t_output_helper(resultobj
, ((res6
== SWIG_NEWOBJ
) ?
29951 SWIG_From_int((*arg6
)) : SWIG_NewPointerObj((void*)(arg6
), SWIGTYPE_p_int
, 0)));
29966 static PyObject
*_wrap_Window_ClientToScreenXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29967 PyObject
*resultobj
;
29968 wxWindow
*arg1
= (wxWindow
*) 0 ;
29969 int *arg2
= (int *) 0 ;
29970 int *arg3
= (int *) 0 ;
29975 PyObject
* obj0
= 0 ;
29976 PyObject
* obj1
= 0 ;
29977 PyObject
* obj2
= 0 ;
29978 char *kwnames
[] = {
29979 (char *) "self",(char *) "x",(char *) "y", NULL
29982 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_ClientToScreenXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29983 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29984 if (SWIG_arg_fail(1)) SWIG_fail
;
29986 if (!(SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_int
,0) != -1)) {
29987 temp2
= SWIG_As_int(obj1
);
29988 if (SWIG_arg_fail(2)) SWIG_fail
;
29990 res2
= SWIG_NEWOBJ
;
29994 if (!(SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_int
,0) != -1)) {
29995 temp3
= SWIG_As_int(obj2
);
29996 if (SWIG_arg_fail(3)) SWIG_fail
;
29998 res3
= SWIG_NEWOBJ
;
30002 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30003 ((wxWindow
const *)arg1
)->ClientToScreen(arg2
,arg3
);
30005 wxPyEndAllowThreads(__tstate
);
30006 if (PyErr_Occurred()) SWIG_fail
;
30008 Py_INCREF(Py_None
); resultobj
= Py_None
;
30009 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
30010 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
30011 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
30012 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
30019 static PyObject
*_wrap_Window_ScreenToClientXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30020 PyObject
*resultobj
;
30021 wxWindow
*arg1
= (wxWindow
*) 0 ;
30022 int *arg2
= (int *) 0 ;
30023 int *arg3
= (int *) 0 ;
30028 PyObject
* obj0
= 0 ;
30029 PyObject
* obj1
= 0 ;
30030 PyObject
* obj2
= 0 ;
30031 char *kwnames
[] = {
30032 (char *) "self",(char *) "x",(char *) "y", NULL
30035 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_ScreenToClientXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
30036 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30037 if (SWIG_arg_fail(1)) SWIG_fail
;
30039 if (!(SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_int
,0) != -1)) {
30040 temp2
= SWIG_As_int(obj1
);
30041 if (SWIG_arg_fail(2)) SWIG_fail
;
30043 res2
= SWIG_NEWOBJ
;
30047 if (!(SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_int
,0) != -1)) {
30048 temp3
= SWIG_As_int(obj2
);
30049 if (SWIG_arg_fail(3)) SWIG_fail
;
30051 res3
= SWIG_NEWOBJ
;
30055 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30056 ((wxWindow
const *)arg1
)->ScreenToClient(arg2
,arg3
);
30058 wxPyEndAllowThreads(__tstate
);
30059 if (PyErr_Occurred()) SWIG_fail
;
30061 Py_INCREF(Py_None
); resultobj
= Py_None
;
30062 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
30063 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
30064 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
30065 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
30072 static PyObject
*_wrap_Window_ClientToScreen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30073 PyObject
*resultobj
;
30074 wxWindow
*arg1
= (wxWindow
*) 0 ;
30075 wxPoint
*arg2
= 0 ;
30078 PyObject
* obj0
= 0 ;
30079 PyObject
* obj1
= 0 ;
30080 char *kwnames
[] = {
30081 (char *) "self",(char *) "pt", NULL
30084 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ClientToScreen",kwnames
,&obj0
,&obj1
)) goto fail
;
30085 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30086 if (SWIG_arg_fail(1)) SWIG_fail
;
30089 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
30092 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30093 result
= ((wxWindow
const *)arg1
)->ClientToScreen((wxPoint
const &)*arg2
);
30095 wxPyEndAllowThreads(__tstate
);
30096 if (PyErr_Occurred()) SWIG_fail
;
30099 wxPoint
* resultptr
;
30100 resultptr
= new wxPoint((wxPoint
&)(result
));
30101 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
30109 static PyObject
*_wrap_Window_ScreenToClient(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30110 PyObject
*resultobj
;
30111 wxWindow
*arg1
= (wxWindow
*) 0 ;
30112 wxPoint
*arg2
= 0 ;
30115 PyObject
* obj0
= 0 ;
30116 PyObject
* obj1
= 0 ;
30117 char *kwnames
[] = {
30118 (char *) "self",(char *) "pt", NULL
30121 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ScreenToClient",kwnames
,&obj0
,&obj1
)) goto fail
;
30122 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30123 if (SWIG_arg_fail(1)) SWIG_fail
;
30126 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
30129 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30130 result
= ((wxWindow
const *)arg1
)->ScreenToClient((wxPoint
const &)*arg2
);
30132 wxPyEndAllowThreads(__tstate
);
30133 if (PyErr_Occurred()) SWIG_fail
;
30136 wxPoint
* resultptr
;
30137 resultptr
= new wxPoint((wxPoint
&)(result
));
30138 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
30146 static PyObject
*_wrap_Window_HitTestXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30147 PyObject
*resultobj
;
30148 wxWindow
*arg1
= (wxWindow
*) 0 ;
30152 PyObject
* obj0
= 0 ;
30153 PyObject
* obj1
= 0 ;
30154 PyObject
* obj2
= 0 ;
30155 char *kwnames
[] = {
30156 (char *) "self",(char *) "x",(char *) "y", NULL
30159 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_HitTestXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
30160 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30161 if (SWIG_arg_fail(1)) SWIG_fail
;
30163 arg2
= (int)(SWIG_As_int(obj1
));
30164 if (SWIG_arg_fail(2)) SWIG_fail
;
30167 arg3
= (int)(SWIG_As_int(obj2
));
30168 if (SWIG_arg_fail(3)) SWIG_fail
;
30171 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30172 result
= (wxHitTest
)((wxWindow
const *)arg1
)->HitTest(arg2
,arg3
);
30174 wxPyEndAllowThreads(__tstate
);
30175 if (PyErr_Occurred()) SWIG_fail
;
30177 resultobj
= SWIG_From_int((result
));
30184 static PyObject
*_wrap_Window_HitTest(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30185 PyObject
*resultobj
;
30186 wxWindow
*arg1
= (wxWindow
*) 0 ;
30187 wxPoint
*arg2
= 0 ;
30190 PyObject
* obj0
= 0 ;
30191 PyObject
* obj1
= 0 ;
30192 char *kwnames
[] = {
30193 (char *) "self",(char *) "pt", NULL
30196 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
30197 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30198 if (SWIG_arg_fail(1)) SWIG_fail
;
30201 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
30204 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30205 result
= (wxHitTest
)((wxWindow
const *)arg1
)->HitTest((wxPoint
const &)*arg2
);
30207 wxPyEndAllowThreads(__tstate
);
30208 if (PyErr_Occurred()) SWIG_fail
;
30210 resultobj
= SWIG_From_int((result
));
30217 static PyObject
*_wrap_Window_GetBorder__SWIG_0(PyObject
*, PyObject
*args
) {
30218 PyObject
*resultobj
;
30219 wxWindow
*arg1
= (wxWindow
*) 0 ;
30222 PyObject
* obj0
= 0 ;
30223 PyObject
* obj1
= 0 ;
30225 if(!PyArg_ParseTuple(args
,(char *)"OO:Window_GetBorder",&obj0
,&obj1
)) goto fail
;
30226 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30227 if (SWIG_arg_fail(1)) SWIG_fail
;
30229 arg2
= (long)(SWIG_As_long(obj1
));
30230 if (SWIG_arg_fail(2)) SWIG_fail
;
30233 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30234 result
= (wxBorder
)((wxWindow
const *)arg1
)->GetBorder(arg2
);
30236 wxPyEndAllowThreads(__tstate
);
30237 if (PyErr_Occurred()) SWIG_fail
;
30239 resultobj
= SWIG_From_int((result
));
30246 static PyObject
*_wrap_Window_GetBorder__SWIG_1(PyObject
*, PyObject
*args
) {
30247 PyObject
*resultobj
;
30248 wxWindow
*arg1
= (wxWindow
*) 0 ;
30250 PyObject
* obj0
= 0 ;
30252 if(!PyArg_ParseTuple(args
,(char *)"O:Window_GetBorder",&obj0
)) goto fail
;
30253 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30254 if (SWIG_arg_fail(1)) SWIG_fail
;
30256 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30257 result
= (wxBorder
)((wxWindow
const *)arg1
)->GetBorder();
30259 wxPyEndAllowThreads(__tstate
);
30260 if (PyErr_Occurred()) SWIG_fail
;
30262 resultobj
= SWIG_From_int((result
));
30269 static PyObject
*_wrap_Window_GetBorder(PyObject
*self
, PyObject
*args
) {
30274 argc
= PyObject_Length(args
);
30275 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
30276 argv
[ii
] = PyTuple_GetItem(args
,ii
);
30282 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
30290 return _wrap_Window_GetBorder__SWIG_1(self
,args
);
30297 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
30305 _v
= SWIG_Check_long(argv
[1]);
30307 return _wrap_Window_GetBorder__SWIG_0(self
,args
);
30312 PyErr_SetString(PyExc_NotImplementedError
,"No matching function for overloaded 'Window_GetBorder'");
30317 static PyObject
*_wrap_Window_UpdateWindowUI(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30318 PyObject
*resultobj
;
30319 wxWindow
*arg1
= (wxWindow
*) 0 ;
30320 long arg2
= (long) wxUPDATE_UI_NONE
;
30321 PyObject
* obj0
= 0 ;
30322 PyObject
* obj1
= 0 ;
30323 char *kwnames
[] = {
30324 (char *) "self",(char *) "flags", NULL
30327 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_UpdateWindowUI",kwnames
,&obj0
,&obj1
)) goto fail
;
30328 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30329 if (SWIG_arg_fail(1)) SWIG_fail
;
30332 arg2
= (long)(SWIG_As_long(obj1
));
30333 if (SWIG_arg_fail(2)) SWIG_fail
;
30337 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30338 (arg1
)->UpdateWindowUI(arg2
);
30340 wxPyEndAllowThreads(__tstate
);
30341 if (PyErr_Occurred()) SWIG_fail
;
30343 Py_INCREF(Py_None
); resultobj
= Py_None
;
30350 static PyObject
*_wrap_Window_PopupMenuXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30351 PyObject
*resultobj
;
30352 wxWindow
*arg1
= (wxWindow
*) 0 ;
30353 wxMenu
*arg2
= (wxMenu
*) 0 ;
30354 int arg3
= (int) -1 ;
30355 int arg4
= (int) -1 ;
30357 PyObject
* obj0
= 0 ;
30358 PyObject
* obj1
= 0 ;
30359 PyObject
* obj2
= 0 ;
30360 PyObject
* obj3
= 0 ;
30361 char *kwnames
[] = {
30362 (char *) "self",(char *) "menu",(char *) "x",(char *) "y", NULL
30365 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:Window_PopupMenuXY",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
30366 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30367 if (SWIG_arg_fail(1)) SWIG_fail
;
30368 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
30369 if (SWIG_arg_fail(2)) SWIG_fail
;
30372 arg3
= (int)(SWIG_As_int(obj2
));
30373 if (SWIG_arg_fail(3)) SWIG_fail
;
30378 arg4
= (int)(SWIG_As_int(obj3
));
30379 if (SWIG_arg_fail(4)) SWIG_fail
;
30383 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30384 result
= (bool)(arg1
)->PopupMenu(arg2
,arg3
,arg4
);
30386 wxPyEndAllowThreads(__tstate
);
30387 if (PyErr_Occurred()) SWIG_fail
;
30390 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30398 static PyObject
*_wrap_Window_PopupMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30399 PyObject
*resultobj
;
30400 wxWindow
*arg1
= (wxWindow
*) 0 ;
30401 wxMenu
*arg2
= (wxMenu
*) 0 ;
30402 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
30403 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
30406 PyObject
* obj0
= 0 ;
30407 PyObject
* obj1
= 0 ;
30408 PyObject
* obj2
= 0 ;
30409 char *kwnames
[] = {
30410 (char *) "self",(char *) "menu",(char *) "pos", NULL
30413 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_PopupMenu",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
30414 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30415 if (SWIG_arg_fail(1)) SWIG_fail
;
30416 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
30417 if (SWIG_arg_fail(2)) SWIG_fail
;
30421 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
30425 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30426 result
= (bool)(arg1
)->PopupMenu(arg2
,(wxPoint
const &)*arg3
);
30428 wxPyEndAllowThreads(__tstate
);
30429 if (PyErr_Occurred()) SWIG_fail
;
30432 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30440 static PyObject
*_wrap_Window_GetHandle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30441 PyObject
*resultobj
;
30442 wxWindow
*arg1
= (wxWindow
*) 0 ;
30444 PyObject
* obj0
= 0 ;
30445 char *kwnames
[] = {
30446 (char *) "self", NULL
30449 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetHandle",kwnames
,&obj0
)) goto fail
;
30450 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30451 if (SWIG_arg_fail(1)) SWIG_fail
;
30453 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30454 result
= (long)wxWindow_GetHandle(arg1
);
30456 wxPyEndAllowThreads(__tstate
);
30457 if (PyErr_Occurred()) SWIG_fail
;
30460 resultobj
= SWIG_From_long((long)(result
));
30468 static PyObject
*_wrap_Window_AssociateHandle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30469 PyObject
*resultobj
;
30470 wxWindow
*arg1
= (wxWindow
*) 0 ;
30472 PyObject
* obj0
= 0 ;
30473 PyObject
* obj1
= 0 ;
30474 char *kwnames
[] = {
30475 (char *) "self",(char *) "handle", NULL
30478 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_AssociateHandle",kwnames
,&obj0
,&obj1
)) goto fail
;
30479 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30480 if (SWIG_arg_fail(1)) SWIG_fail
;
30482 arg2
= (long)(SWIG_As_long(obj1
));
30483 if (SWIG_arg_fail(2)) SWIG_fail
;
30486 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30487 wxWindow_AssociateHandle(arg1
,arg2
);
30489 wxPyEndAllowThreads(__tstate
);
30490 if (PyErr_Occurred()) SWIG_fail
;
30492 Py_INCREF(Py_None
); resultobj
= Py_None
;
30499 static PyObject
*_wrap_Window_DissociateHandle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30500 PyObject
*resultobj
;
30501 wxWindow
*arg1
= (wxWindow
*) 0 ;
30502 PyObject
* obj0
= 0 ;
30503 char *kwnames
[] = {
30504 (char *) "self", NULL
30507 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_DissociateHandle",kwnames
,&obj0
)) goto fail
;
30508 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30509 if (SWIG_arg_fail(1)) SWIG_fail
;
30511 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30512 (arg1
)->DissociateHandle();
30514 wxPyEndAllowThreads(__tstate
);
30515 if (PyErr_Occurred()) SWIG_fail
;
30517 Py_INCREF(Py_None
); resultobj
= Py_None
;
30524 static PyObject
*_wrap_Window_OnPaint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30525 PyObject
*resultobj
;
30526 wxWindow
*arg1
= (wxWindow
*) 0 ;
30527 wxPaintEvent
*arg2
= 0 ;
30528 PyObject
* obj0
= 0 ;
30529 PyObject
* obj1
= 0 ;
30530 char *kwnames
[] = {
30531 (char *) "self",(char *) "event", NULL
30534 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_OnPaint",kwnames
,&obj0
,&obj1
)) goto fail
;
30535 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30536 if (SWIG_arg_fail(1)) SWIG_fail
;
30538 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPaintEvent
, SWIG_POINTER_EXCEPTION
| 0);
30539 if (SWIG_arg_fail(2)) SWIG_fail
;
30540 if (arg2
== NULL
) {
30541 SWIG_null_ref("wxPaintEvent");
30543 if (SWIG_arg_fail(2)) SWIG_fail
;
30546 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30547 (arg1
)->OnPaint(*arg2
);
30549 wxPyEndAllowThreads(__tstate
);
30550 if (PyErr_Occurred()) SWIG_fail
;
30552 Py_INCREF(Py_None
); resultobj
= Py_None
;
30559 static PyObject
*_wrap_Window_HasScrollbar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30560 PyObject
*resultobj
;
30561 wxWindow
*arg1
= (wxWindow
*) 0 ;
30564 PyObject
* obj0
= 0 ;
30565 PyObject
* obj1
= 0 ;
30566 char *kwnames
[] = {
30567 (char *) "self",(char *) "orient", NULL
30570 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_HasScrollbar",kwnames
,&obj0
,&obj1
)) goto fail
;
30571 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30572 if (SWIG_arg_fail(1)) SWIG_fail
;
30574 arg2
= (int)(SWIG_As_int(obj1
));
30575 if (SWIG_arg_fail(2)) SWIG_fail
;
30578 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30579 result
= (bool)((wxWindow
const *)arg1
)->HasScrollbar(arg2
);
30581 wxPyEndAllowThreads(__tstate
);
30582 if (PyErr_Occurred()) SWIG_fail
;
30585 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30593 static PyObject
*_wrap_Window_SetScrollbar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30594 PyObject
*resultobj
;
30595 wxWindow
*arg1
= (wxWindow
*) 0 ;
30600 bool arg6
= (bool) true ;
30601 PyObject
* obj0
= 0 ;
30602 PyObject
* obj1
= 0 ;
30603 PyObject
* obj2
= 0 ;
30604 PyObject
* obj3
= 0 ;
30605 PyObject
* obj4
= 0 ;
30606 PyObject
* obj5
= 0 ;
30607 char *kwnames
[] = {
30608 (char *) "self",(char *) "orientation",(char *) "position",(char *) "thumbSize",(char *) "range",(char *) "refresh", NULL
30611 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:Window_SetScrollbar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
30612 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30613 if (SWIG_arg_fail(1)) SWIG_fail
;
30615 arg2
= (int)(SWIG_As_int(obj1
));
30616 if (SWIG_arg_fail(2)) SWIG_fail
;
30619 arg3
= (int)(SWIG_As_int(obj2
));
30620 if (SWIG_arg_fail(3)) SWIG_fail
;
30623 arg4
= (int)(SWIG_As_int(obj3
));
30624 if (SWIG_arg_fail(4)) SWIG_fail
;
30627 arg5
= (int)(SWIG_As_int(obj4
));
30628 if (SWIG_arg_fail(5)) SWIG_fail
;
30632 arg6
= (bool)(SWIG_As_bool(obj5
));
30633 if (SWIG_arg_fail(6)) SWIG_fail
;
30637 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30638 (arg1
)->SetScrollbar(arg2
,arg3
,arg4
,arg5
,arg6
);
30640 wxPyEndAllowThreads(__tstate
);
30641 if (PyErr_Occurred()) SWIG_fail
;
30643 Py_INCREF(Py_None
); resultobj
= Py_None
;
30650 static PyObject
*_wrap_Window_SetScrollPos(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30651 PyObject
*resultobj
;
30652 wxWindow
*arg1
= (wxWindow
*) 0 ;
30655 bool arg4
= (bool) true ;
30656 PyObject
* obj0
= 0 ;
30657 PyObject
* obj1
= 0 ;
30658 PyObject
* obj2
= 0 ;
30659 PyObject
* obj3
= 0 ;
30660 char *kwnames
[] = {
30661 (char *) "self",(char *) "orientation",(char *) "pos",(char *) "refresh", NULL
30664 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Window_SetScrollPos",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
30665 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30666 if (SWIG_arg_fail(1)) SWIG_fail
;
30668 arg2
= (int)(SWIG_As_int(obj1
));
30669 if (SWIG_arg_fail(2)) SWIG_fail
;
30672 arg3
= (int)(SWIG_As_int(obj2
));
30673 if (SWIG_arg_fail(3)) SWIG_fail
;
30677 arg4
= (bool)(SWIG_As_bool(obj3
));
30678 if (SWIG_arg_fail(4)) SWIG_fail
;
30682 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30683 (arg1
)->SetScrollPos(arg2
,arg3
,arg4
);
30685 wxPyEndAllowThreads(__tstate
);
30686 if (PyErr_Occurred()) SWIG_fail
;
30688 Py_INCREF(Py_None
); resultobj
= Py_None
;
30695 static PyObject
*_wrap_Window_GetScrollPos(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30696 PyObject
*resultobj
;
30697 wxWindow
*arg1
= (wxWindow
*) 0 ;
30700 PyObject
* obj0
= 0 ;
30701 PyObject
* obj1
= 0 ;
30702 char *kwnames
[] = {
30703 (char *) "self",(char *) "orientation", NULL
30706 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_GetScrollPos",kwnames
,&obj0
,&obj1
)) goto fail
;
30707 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30708 if (SWIG_arg_fail(1)) SWIG_fail
;
30710 arg2
= (int)(SWIG_As_int(obj1
));
30711 if (SWIG_arg_fail(2)) SWIG_fail
;
30714 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30715 result
= (int)((wxWindow
const *)arg1
)->GetScrollPos(arg2
);
30717 wxPyEndAllowThreads(__tstate
);
30718 if (PyErr_Occurred()) SWIG_fail
;
30721 resultobj
= SWIG_From_int((int)(result
));
30729 static PyObject
*_wrap_Window_GetScrollThumb(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30730 PyObject
*resultobj
;
30731 wxWindow
*arg1
= (wxWindow
*) 0 ;
30734 PyObject
* obj0
= 0 ;
30735 PyObject
* obj1
= 0 ;
30736 char *kwnames
[] = {
30737 (char *) "self",(char *) "orientation", NULL
30740 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_GetScrollThumb",kwnames
,&obj0
,&obj1
)) goto fail
;
30741 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30742 if (SWIG_arg_fail(1)) SWIG_fail
;
30744 arg2
= (int)(SWIG_As_int(obj1
));
30745 if (SWIG_arg_fail(2)) SWIG_fail
;
30748 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30749 result
= (int)((wxWindow
const *)arg1
)->GetScrollThumb(arg2
);
30751 wxPyEndAllowThreads(__tstate
);
30752 if (PyErr_Occurred()) SWIG_fail
;
30755 resultobj
= SWIG_From_int((int)(result
));
30763 static PyObject
*_wrap_Window_GetScrollRange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30764 PyObject
*resultobj
;
30765 wxWindow
*arg1
= (wxWindow
*) 0 ;
30768 PyObject
* obj0
= 0 ;
30769 PyObject
* obj1
= 0 ;
30770 char *kwnames
[] = {
30771 (char *) "self",(char *) "orientation", NULL
30774 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_GetScrollRange",kwnames
,&obj0
,&obj1
)) goto fail
;
30775 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30776 if (SWIG_arg_fail(1)) SWIG_fail
;
30778 arg2
= (int)(SWIG_As_int(obj1
));
30779 if (SWIG_arg_fail(2)) SWIG_fail
;
30782 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30783 result
= (int)((wxWindow
const *)arg1
)->GetScrollRange(arg2
);
30785 wxPyEndAllowThreads(__tstate
);
30786 if (PyErr_Occurred()) SWIG_fail
;
30789 resultobj
= SWIG_From_int((int)(result
));
30797 static PyObject
*_wrap_Window_ScrollWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30798 PyObject
*resultobj
;
30799 wxWindow
*arg1
= (wxWindow
*) 0 ;
30802 wxRect
*arg4
= (wxRect
*) NULL
;
30803 PyObject
* obj0
= 0 ;
30804 PyObject
* obj1
= 0 ;
30805 PyObject
* obj2
= 0 ;
30806 PyObject
* obj3
= 0 ;
30807 char *kwnames
[] = {
30808 (char *) "self",(char *) "dx",(char *) "dy",(char *) "rect", NULL
30811 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Window_ScrollWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
30812 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30813 if (SWIG_arg_fail(1)) SWIG_fail
;
30815 arg2
= (int)(SWIG_As_int(obj1
));
30816 if (SWIG_arg_fail(2)) SWIG_fail
;
30819 arg3
= (int)(SWIG_As_int(obj2
));
30820 if (SWIG_arg_fail(3)) SWIG_fail
;
30823 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
30824 if (SWIG_arg_fail(4)) SWIG_fail
;
30827 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30828 (arg1
)->ScrollWindow(arg2
,arg3
,(wxRect
const *)arg4
);
30830 wxPyEndAllowThreads(__tstate
);
30831 if (PyErr_Occurred()) SWIG_fail
;
30833 Py_INCREF(Py_None
); resultobj
= Py_None
;
30840 static PyObject
*_wrap_Window_ScrollLines(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30841 PyObject
*resultobj
;
30842 wxWindow
*arg1
= (wxWindow
*) 0 ;
30845 PyObject
* obj0
= 0 ;
30846 PyObject
* obj1
= 0 ;
30847 char *kwnames
[] = {
30848 (char *) "self",(char *) "lines", NULL
30851 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ScrollLines",kwnames
,&obj0
,&obj1
)) goto fail
;
30852 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30853 if (SWIG_arg_fail(1)) SWIG_fail
;
30855 arg2
= (int)(SWIG_As_int(obj1
));
30856 if (SWIG_arg_fail(2)) SWIG_fail
;
30859 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30860 result
= (bool)(arg1
)->ScrollLines(arg2
);
30862 wxPyEndAllowThreads(__tstate
);
30863 if (PyErr_Occurred()) SWIG_fail
;
30866 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30874 static PyObject
*_wrap_Window_ScrollPages(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30875 PyObject
*resultobj
;
30876 wxWindow
*arg1
= (wxWindow
*) 0 ;
30879 PyObject
* obj0
= 0 ;
30880 PyObject
* obj1
= 0 ;
30881 char *kwnames
[] = {
30882 (char *) "self",(char *) "pages", NULL
30885 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ScrollPages",kwnames
,&obj0
,&obj1
)) goto fail
;
30886 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30887 if (SWIG_arg_fail(1)) SWIG_fail
;
30889 arg2
= (int)(SWIG_As_int(obj1
));
30890 if (SWIG_arg_fail(2)) SWIG_fail
;
30893 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30894 result
= (bool)(arg1
)->ScrollPages(arg2
);
30896 wxPyEndAllowThreads(__tstate
);
30897 if (PyErr_Occurred()) SWIG_fail
;
30900 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30908 static PyObject
*_wrap_Window_LineUp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30909 PyObject
*resultobj
;
30910 wxWindow
*arg1
= (wxWindow
*) 0 ;
30912 PyObject
* obj0
= 0 ;
30913 char *kwnames
[] = {
30914 (char *) "self", NULL
30917 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_LineUp",kwnames
,&obj0
)) goto fail
;
30918 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30919 if (SWIG_arg_fail(1)) SWIG_fail
;
30921 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30922 result
= (bool)(arg1
)->LineUp();
30924 wxPyEndAllowThreads(__tstate
);
30925 if (PyErr_Occurred()) SWIG_fail
;
30928 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30936 static PyObject
*_wrap_Window_LineDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30937 PyObject
*resultobj
;
30938 wxWindow
*arg1
= (wxWindow
*) 0 ;
30940 PyObject
* obj0
= 0 ;
30941 char *kwnames
[] = {
30942 (char *) "self", NULL
30945 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_LineDown",kwnames
,&obj0
)) goto fail
;
30946 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30947 if (SWIG_arg_fail(1)) SWIG_fail
;
30949 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30950 result
= (bool)(arg1
)->LineDown();
30952 wxPyEndAllowThreads(__tstate
);
30953 if (PyErr_Occurred()) SWIG_fail
;
30956 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30964 static PyObject
*_wrap_Window_PageUp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30965 PyObject
*resultobj
;
30966 wxWindow
*arg1
= (wxWindow
*) 0 ;
30968 PyObject
* obj0
= 0 ;
30969 char *kwnames
[] = {
30970 (char *) "self", NULL
30973 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_PageUp",kwnames
,&obj0
)) goto fail
;
30974 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30975 if (SWIG_arg_fail(1)) SWIG_fail
;
30977 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30978 result
= (bool)(arg1
)->PageUp();
30980 wxPyEndAllowThreads(__tstate
);
30981 if (PyErr_Occurred()) SWIG_fail
;
30984 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30992 static PyObject
*_wrap_Window_PageDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30993 PyObject
*resultobj
;
30994 wxWindow
*arg1
= (wxWindow
*) 0 ;
30996 PyObject
* obj0
= 0 ;
30997 char *kwnames
[] = {
30998 (char *) "self", NULL
31001 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_PageDown",kwnames
,&obj0
)) goto fail
;
31002 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31003 if (SWIG_arg_fail(1)) SWIG_fail
;
31005 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31006 result
= (bool)(arg1
)->PageDown();
31008 wxPyEndAllowThreads(__tstate
);
31009 if (PyErr_Occurred()) SWIG_fail
;
31012 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31020 static PyObject
*_wrap_Window_SetHelpText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31021 PyObject
*resultobj
;
31022 wxWindow
*arg1
= (wxWindow
*) 0 ;
31023 wxString
*arg2
= 0 ;
31024 bool temp2
= false ;
31025 PyObject
* obj0
= 0 ;
31026 PyObject
* obj1
= 0 ;
31027 char *kwnames
[] = {
31028 (char *) "self",(char *) "text", NULL
31031 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetHelpText",kwnames
,&obj0
,&obj1
)) goto fail
;
31032 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31033 if (SWIG_arg_fail(1)) SWIG_fail
;
31035 arg2
= wxString_in_helper(obj1
);
31036 if (arg2
== NULL
) SWIG_fail
;
31040 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31041 (arg1
)->SetHelpText((wxString
const &)*arg2
);
31043 wxPyEndAllowThreads(__tstate
);
31044 if (PyErr_Occurred()) SWIG_fail
;
31046 Py_INCREF(Py_None
); resultobj
= Py_None
;
31061 static PyObject
*_wrap_Window_SetHelpTextForId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31062 PyObject
*resultobj
;
31063 wxWindow
*arg1
= (wxWindow
*) 0 ;
31064 wxString
*arg2
= 0 ;
31065 bool temp2
= false ;
31066 PyObject
* obj0
= 0 ;
31067 PyObject
* obj1
= 0 ;
31068 char *kwnames
[] = {
31069 (char *) "self",(char *) "text", NULL
31072 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetHelpTextForId",kwnames
,&obj0
,&obj1
)) goto fail
;
31073 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31074 if (SWIG_arg_fail(1)) SWIG_fail
;
31076 arg2
= wxString_in_helper(obj1
);
31077 if (arg2
== NULL
) SWIG_fail
;
31081 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31082 (arg1
)->SetHelpTextForId((wxString
const &)*arg2
);
31084 wxPyEndAllowThreads(__tstate
);
31085 if (PyErr_Occurred()) SWIG_fail
;
31087 Py_INCREF(Py_None
); resultobj
= Py_None
;
31102 static PyObject
*_wrap_Window_GetHelpText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31103 PyObject
*resultobj
;
31104 wxWindow
*arg1
= (wxWindow
*) 0 ;
31106 PyObject
* obj0
= 0 ;
31107 char *kwnames
[] = {
31108 (char *) "self", NULL
31111 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetHelpText",kwnames
,&obj0
)) goto fail
;
31112 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31113 if (SWIG_arg_fail(1)) SWIG_fail
;
31115 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31116 result
= ((wxWindow
const *)arg1
)->GetHelpText();
31118 wxPyEndAllowThreads(__tstate
);
31119 if (PyErr_Occurred()) SWIG_fail
;
31123 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
31125 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
31134 static PyObject
*_wrap_Window_SetToolTipString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31135 PyObject
*resultobj
;
31136 wxWindow
*arg1
= (wxWindow
*) 0 ;
31137 wxString
*arg2
= 0 ;
31138 bool temp2
= false ;
31139 PyObject
* obj0
= 0 ;
31140 PyObject
* obj1
= 0 ;
31141 char *kwnames
[] = {
31142 (char *) "self",(char *) "tip", NULL
31145 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetToolTipString",kwnames
,&obj0
,&obj1
)) goto fail
;
31146 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31147 if (SWIG_arg_fail(1)) SWIG_fail
;
31149 arg2
= wxString_in_helper(obj1
);
31150 if (arg2
== NULL
) SWIG_fail
;
31154 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31155 (arg1
)->SetToolTip((wxString
const &)*arg2
);
31157 wxPyEndAllowThreads(__tstate
);
31158 if (PyErr_Occurred()) SWIG_fail
;
31160 Py_INCREF(Py_None
); resultobj
= Py_None
;
31175 static PyObject
*_wrap_Window_SetToolTip(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31176 PyObject
*resultobj
;
31177 wxWindow
*arg1
= (wxWindow
*) 0 ;
31178 wxToolTip
*arg2
= (wxToolTip
*) 0 ;
31179 PyObject
* obj0
= 0 ;
31180 PyObject
* obj1
= 0 ;
31181 char *kwnames
[] = {
31182 (char *) "self",(char *) "tip", NULL
31185 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetToolTip",kwnames
,&obj0
,&obj1
)) goto fail
;
31186 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31187 if (SWIG_arg_fail(1)) SWIG_fail
;
31188 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxToolTip
, SWIG_POINTER_EXCEPTION
| 0);
31189 if (SWIG_arg_fail(2)) SWIG_fail
;
31191 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31192 (arg1
)->SetToolTip(arg2
);
31194 wxPyEndAllowThreads(__tstate
);
31195 if (PyErr_Occurred()) SWIG_fail
;
31197 Py_INCREF(Py_None
); resultobj
= Py_None
;
31204 static PyObject
*_wrap_Window_GetToolTip(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31205 PyObject
*resultobj
;
31206 wxWindow
*arg1
= (wxWindow
*) 0 ;
31208 PyObject
* obj0
= 0 ;
31209 char *kwnames
[] = {
31210 (char *) "self", NULL
31213 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetToolTip",kwnames
,&obj0
)) goto fail
;
31214 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31215 if (SWIG_arg_fail(1)) SWIG_fail
;
31217 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31218 result
= (wxToolTip
*)((wxWindow
const *)arg1
)->GetToolTip();
31220 wxPyEndAllowThreads(__tstate
);
31221 if (PyErr_Occurred()) SWIG_fail
;
31224 resultobj
= wxPyMake_wxObject(result
, 0);
31232 static PyObject
*_wrap_Window_SetDropTarget(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31233 PyObject
*resultobj
;
31234 wxWindow
*arg1
= (wxWindow
*) 0 ;
31235 wxPyDropTarget
*arg2
= (wxPyDropTarget
*) 0 ;
31236 PyObject
* obj0
= 0 ;
31237 PyObject
* obj1
= 0 ;
31238 char *kwnames
[] = {
31239 (char *) "self",(char *) "dropTarget", NULL
31242 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetDropTarget",kwnames
,&obj0
,&obj1
)) goto fail
;
31243 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31244 if (SWIG_arg_fail(1)) SWIG_fail
;
31245 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPyDropTarget
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
31246 if (SWIG_arg_fail(2)) SWIG_fail
;
31248 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31249 (arg1
)->SetDropTarget(arg2
);
31251 wxPyEndAllowThreads(__tstate
);
31252 if (PyErr_Occurred()) SWIG_fail
;
31254 Py_INCREF(Py_None
); resultobj
= Py_None
;
31261 static PyObject
*_wrap_Window_GetDropTarget(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31262 PyObject
*resultobj
;
31263 wxWindow
*arg1
= (wxWindow
*) 0 ;
31264 wxPyDropTarget
*result
;
31265 PyObject
* obj0
= 0 ;
31266 char *kwnames
[] = {
31267 (char *) "self", NULL
31270 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetDropTarget",kwnames
,&obj0
)) goto fail
;
31271 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31272 if (SWIG_arg_fail(1)) SWIG_fail
;
31274 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31275 result
= (wxPyDropTarget
*)((wxWindow
const *)arg1
)->GetDropTarget();
31277 wxPyEndAllowThreads(__tstate
);
31278 if (PyErr_Occurred()) SWIG_fail
;
31280 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyDropTarget
, 0);
31287 static PyObject
*_wrap_Window_DragAcceptFiles(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31288 PyObject
*resultobj
;
31289 wxWindow
*arg1
= (wxWindow
*) 0 ;
31291 PyObject
* obj0
= 0 ;
31292 PyObject
* obj1
= 0 ;
31293 char *kwnames
[] = {
31294 (char *) "self",(char *) "accept", NULL
31297 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_DragAcceptFiles",kwnames
,&obj0
,&obj1
)) goto fail
;
31298 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31299 if (SWIG_arg_fail(1)) SWIG_fail
;
31301 arg2
= (bool)(SWIG_As_bool(obj1
));
31302 if (SWIG_arg_fail(2)) SWIG_fail
;
31305 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31306 (arg1
)->DragAcceptFiles(arg2
);
31308 wxPyEndAllowThreads(__tstate
);
31309 if (PyErr_Occurred()) SWIG_fail
;
31311 Py_INCREF(Py_None
); resultobj
= Py_None
;
31318 static PyObject
*_wrap_Window_SetConstraints(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31319 PyObject
*resultobj
;
31320 wxWindow
*arg1
= (wxWindow
*) 0 ;
31321 wxLayoutConstraints
*arg2
= (wxLayoutConstraints
*) 0 ;
31322 PyObject
* obj0
= 0 ;
31323 PyObject
* obj1
= 0 ;
31324 char *kwnames
[] = {
31325 (char *) "self",(char *) "constraints", NULL
31328 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetConstraints",kwnames
,&obj0
,&obj1
)) goto fail
;
31329 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31330 if (SWIG_arg_fail(1)) SWIG_fail
;
31331 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxLayoutConstraints
, SWIG_POINTER_EXCEPTION
| 0);
31332 if (SWIG_arg_fail(2)) SWIG_fail
;
31334 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31335 (arg1
)->SetConstraints(arg2
);
31337 wxPyEndAllowThreads(__tstate
);
31338 if (PyErr_Occurred()) SWIG_fail
;
31340 Py_INCREF(Py_None
); resultobj
= Py_None
;
31347 static PyObject
*_wrap_Window_GetConstraints(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31348 PyObject
*resultobj
;
31349 wxWindow
*arg1
= (wxWindow
*) 0 ;
31350 wxLayoutConstraints
*result
;
31351 PyObject
* obj0
= 0 ;
31352 char *kwnames
[] = {
31353 (char *) "self", NULL
31356 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetConstraints",kwnames
,&obj0
)) goto fail
;
31357 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31358 if (SWIG_arg_fail(1)) SWIG_fail
;
31360 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31361 result
= (wxLayoutConstraints
*)((wxWindow
const *)arg1
)->GetConstraints();
31363 wxPyEndAllowThreads(__tstate
);
31364 if (PyErr_Occurred()) SWIG_fail
;
31366 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLayoutConstraints
, 0);
31373 static PyObject
*_wrap_Window_SetAutoLayout(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31374 PyObject
*resultobj
;
31375 wxWindow
*arg1
= (wxWindow
*) 0 ;
31377 PyObject
* obj0
= 0 ;
31378 PyObject
* obj1
= 0 ;
31379 char *kwnames
[] = {
31380 (char *) "self",(char *) "autoLayout", NULL
31383 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetAutoLayout",kwnames
,&obj0
,&obj1
)) goto fail
;
31384 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31385 if (SWIG_arg_fail(1)) SWIG_fail
;
31387 arg2
= (bool)(SWIG_As_bool(obj1
));
31388 if (SWIG_arg_fail(2)) SWIG_fail
;
31391 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31392 (arg1
)->SetAutoLayout(arg2
);
31394 wxPyEndAllowThreads(__tstate
);
31395 if (PyErr_Occurred()) SWIG_fail
;
31397 Py_INCREF(Py_None
); resultobj
= Py_None
;
31404 static PyObject
*_wrap_Window_GetAutoLayout(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31405 PyObject
*resultobj
;
31406 wxWindow
*arg1
= (wxWindow
*) 0 ;
31408 PyObject
* obj0
= 0 ;
31409 char *kwnames
[] = {
31410 (char *) "self", NULL
31413 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetAutoLayout",kwnames
,&obj0
)) goto fail
;
31414 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31415 if (SWIG_arg_fail(1)) SWIG_fail
;
31417 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31418 result
= (bool)((wxWindow
const *)arg1
)->GetAutoLayout();
31420 wxPyEndAllowThreads(__tstate
);
31421 if (PyErr_Occurred()) SWIG_fail
;
31424 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31432 static PyObject
*_wrap_Window_Layout(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31433 PyObject
*resultobj
;
31434 wxWindow
*arg1
= (wxWindow
*) 0 ;
31436 PyObject
* obj0
= 0 ;
31437 char *kwnames
[] = {
31438 (char *) "self", NULL
31441 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Layout",kwnames
,&obj0
)) goto fail
;
31442 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31443 if (SWIG_arg_fail(1)) SWIG_fail
;
31445 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31446 result
= (bool)(arg1
)->Layout();
31448 wxPyEndAllowThreads(__tstate
);
31449 if (PyErr_Occurred()) SWIG_fail
;
31452 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31460 static PyObject
*_wrap_Window_SetSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31461 PyObject
*resultobj
;
31462 wxWindow
*arg1
= (wxWindow
*) 0 ;
31463 wxSizer
*arg2
= (wxSizer
*) 0 ;
31464 bool arg3
= (bool) true ;
31465 PyObject
* obj0
= 0 ;
31466 PyObject
* obj1
= 0 ;
31467 PyObject
* obj2
= 0 ;
31468 char *kwnames
[] = {
31469 (char *) "self",(char *) "sizer",(char *) "deleteOld", NULL
31472 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_SetSizer",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
31473 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31474 if (SWIG_arg_fail(1)) SWIG_fail
;
31475 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
31476 if (SWIG_arg_fail(2)) SWIG_fail
;
31479 arg3
= (bool)(SWIG_As_bool(obj2
));
31480 if (SWIG_arg_fail(3)) SWIG_fail
;
31484 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31485 (arg1
)->SetSizer(arg2
,arg3
);
31487 wxPyEndAllowThreads(__tstate
);
31488 if (PyErr_Occurred()) SWIG_fail
;
31490 Py_INCREF(Py_None
); resultobj
= Py_None
;
31497 static PyObject
*_wrap_Window_SetSizerAndFit(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31498 PyObject
*resultobj
;
31499 wxWindow
*arg1
= (wxWindow
*) 0 ;
31500 wxSizer
*arg2
= (wxSizer
*) 0 ;
31501 bool arg3
= (bool) true ;
31502 PyObject
* obj0
= 0 ;
31503 PyObject
* obj1
= 0 ;
31504 PyObject
* obj2
= 0 ;
31505 char *kwnames
[] = {
31506 (char *) "self",(char *) "sizer",(char *) "deleteOld", NULL
31509 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_SetSizerAndFit",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
31510 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31511 if (SWIG_arg_fail(1)) SWIG_fail
;
31512 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
31513 if (SWIG_arg_fail(2)) SWIG_fail
;
31516 arg3
= (bool)(SWIG_As_bool(obj2
));
31517 if (SWIG_arg_fail(3)) SWIG_fail
;
31521 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31522 (arg1
)->SetSizerAndFit(arg2
,arg3
);
31524 wxPyEndAllowThreads(__tstate
);
31525 if (PyErr_Occurred()) SWIG_fail
;
31527 Py_INCREF(Py_None
); resultobj
= Py_None
;
31534 static PyObject
*_wrap_Window_GetSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31535 PyObject
*resultobj
;
31536 wxWindow
*arg1
= (wxWindow
*) 0 ;
31538 PyObject
* obj0
= 0 ;
31539 char *kwnames
[] = {
31540 (char *) "self", NULL
31543 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetSizer",kwnames
,&obj0
)) goto fail
;
31544 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31545 if (SWIG_arg_fail(1)) SWIG_fail
;
31547 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31548 result
= (wxSizer
*)((wxWindow
const *)arg1
)->GetSizer();
31550 wxPyEndAllowThreads(__tstate
);
31551 if (PyErr_Occurred()) SWIG_fail
;
31554 resultobj
= wxPyMake_wxSizer(result
, 0);
31562 static PyObject
*_wrap_Window_SetContainingSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31563 PyObject
*resultobj
;
31564 wxWindow
*arg1
= (wxWindow
*) 0 ;
31565 wxSizer
*arg2
= (wxSizer
*) 0 ;
31566 PyObject
* obj0
= 0 ;
31567 PyObject
* obj1
= 0 ;
31568 char *kwnames
[] = {
31569 (char *) "self",(char *) "sizer", NULL
31572 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetContainingSizer",kwnames
,&obj0
,&obj1
)) goto fail
;
31573 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31574 if (SWIG_arg_fail(1)) SWIG_fail
;
31575 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
31576 if (SWIG_arg_fail(2)) SWIG_fail
;
31578 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31579 (arg1
)->SetContainingSizer(arg2
);
31581 wxPyEndAllowThreads(__tstate
);
31582 if (PyErr_Occurred()) SWIG_fail
;
31584 Py_INCREF(Py_None
); resultobj
= Py_None
;
31591 static PyObject
*_wrap_Window_GetContainingSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31592 PyObject
*resultobj
;
31593 wxWindow
*arg1
= (wxWindow
*) 0 ;
31595 PyObject
* obj0
= 0 ;
31596 char *kwnames
[] = {
31597 (char *) "self", NULL
31600 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetContainingSizer",kwnames
,&obj0
)) goto fail
;
31601 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31602 if (SWIG_arg_fail(1)) SWIG_fail
;
31604 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31605 result
= (wxSizer
*)((wxWindow
const *)arg1
)->GetContainingSizer();
31607 wxPyEndAllowThreads(__tstate
);
31608 if (PyErr_Occurred()) SWIG_fail
;
31611 resultobj
= wxPyMake_wxSizer(result
, 0);
31619 static PyObject
*_wrap_Window_InheritAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31620 PyObject
*resultobj
;
31621 wxWindow
*arg1
= (wxWindow
*) 0 ;
31622 PyObject
* obj0
= 0 ;
31623 char *kwnames
[] = {
31624 (char *) "self", NULL
31627 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_InheritAttributes",kwnames
,&obj0
)) goto fail
;
31628 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31629 if (SWIG_arg_fail(1)) SWIG_fail
;
31631 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31632 (arg1
)->InheritAttributes();
31634 wxPyEndAllowThreads(__tstate
);
31635 if (PyErr_Occurred()) SWIG_fail
;
31637 Py_INCREF(Py_None
); resultobj
= Py_None
;
31644 static PyObject
*_wrap_Window_ShouldInheritColours(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31645 PyObject
*resultobj
;
31646 wxWindow
*arg1
= (wxWindow
*) 0 ;
31648 PyObject
* obj0
= 0 ;
31649 char *kwnames
[] = {
31650 (char *) "self", NULL
31653 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_ShouldInheritColours",kwnames
,&obj0
)) goto fail
;
31654 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31655 if (SWIG_arg_fail(1)) SWIG_fail
;
31657 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31658 result
= (bool)((wxWindow
const *)arg1
)->ShouldInheritColours();
31660 wxPyEndAllowThreads(__tstate
);
31661 if (PyErr_Occurred()) SWIG_fail
;
31664 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31672 static PyObject
* Window_swigregister(PyObject
*, PyObject
*args
) {
31674 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
31675 SWIG_TypeClientData(SWIGTYPE_p_wxWindow
, obj
);
31677 return Py_BuildValue((char *)"");
31679 static PyObject
*_wrap_FindWindowById(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31680 PyObject
*resultobj
;
31682 wxWindow
*arg2
= (wxWindow
*) NULL
;
31684 PyObject
* obj0
= 0 ;
31685 PyObject
* obj1
= 0 ;
31686 char *kwnames
[] = {
31687 (char *) "id",(char *) "parent", NULL
31690 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:FindWindowById",kwnames
,&obj0
,&obj1
)) goto fail
;
31692 arg1
= (long)(SWIG_As_long(obj0
));
31693 if (SWIG_arg_fail(1)) SWIG_fail
;
31696 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31697 if (SWIG_arg_fail(2)) SWIG_fail
;
31700 if (!wxPyCheckForApp()) SWIG_fail
;
31701 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31702 result
= (wxWindow
*)wxFindWindowById(arg1
,(wxWindow
const *)arg2
);
31704 wxPyEndAllowThreads(__tstate
);
31705 if (PyErr_Occurred()) SWIG_fail
;
31708 resultobj
= wxPyMake_wxObject(result
, 0);
31716 static PyObject
*_wrap_FindWindowByName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31717 PyObject
*resultobj
;
31718 wxString
*arg1
= 0 ;
31719 wxWindow
*arg2
= (wxWindow
*) NULL
;
31721 bool temp1
= false ;
31722 PyObject
* obj0
= 0 ;
31723 PyObject
* obj1
= 0 ;
31724 char *kwnames
[] = {
31725 (char *) "name",(char *) "parent", NULL
31728 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:FindWindowByName",kwnames
,&obj0
,&obj1
)) goto fail
;
31730 arg1
= wxString_in_helper(obj0
);
31731 if (arg1
== NULL
) SWIG_fail
;
31735 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31736 if (SWIG_arg_fail(2)) SWIG_fail
;
31739 if (!wxPyCheckForApp()) SWIG_fail
;
31740 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31741 result
= (wxWindow
*)wxFindWindowByName((wxString
const &)*arg1
,(wxWindow
const *)arg2
);
31743 wxPyEndAllowThreads(__tstate
);
31744 if (PyErr_Occurred()) SWIG_fail
;
31747 resultobj
= wxPyMake_wxObject(result
, 0);
31763 static PyObject
*_wrap_FindWindowByLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31764 PyObject
*resultobj
;
31765 wxString
*arg1
= 0 ;
31766 wxWindow
*arg2
= (wxWindow
*) NULL
;
31768 bool temp1
= false ;
31769 PyObject
* obj0
= 0 ;
31770 PyObject
* obj1
= 0 ;
31771 char *kwnames
[] = {
31772 (char *) "label",(char *) "parent", NULL
31775 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:FindWindowByLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
31777 arg1
= wxString_in_helper(obj0
);
31778 if (arg1
== NULL
) SWIG_fail
;
31782 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31783 if (SWIG_arg_fail(2)) SWIG_fail
;
31786 if (!wxPyCheckForApp()) SWIG_fail
;
31787 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31788 result
= (wxWindow
*)wxFindWindowByLabel((wxString
const &)*arg1
,(wxWindow
const *)arg2
);
31790 wxPyEndAllowThreads(__tstate
);
31791 if (PyErr_Occurred()) SWIG_fail
;
31794 resultobj
= wxPyMake_wxObject(result
, 0);
31810 static PyObject
*_wrap_Window_FromHWND(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31811 PyObject
*resultobj
;
31812 wxWindow
*arg1
= (wxWindow
*) 0 ;
31813 unsigned long arg2
;
31815 PyObject
* obj0
= 0 ;
31816 PyObject
* obj1
= 0 ;
31817 char *kwnames
[] = {
31818 (char *) "parent",(char *) "_hWnd", NULL
31821 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_FromHWND",kwnames
,&obj0
,&obj1
)) goto fail
;
31822 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31823 if (SWIG_arg_fail(1)) SWIG_fail
;
31825 arg2
= (unsigned long)(SWIG_As_unsigned_SS_long(obj1
));
31826 if (SWIG_arg_fail(2)) SWIG_fail
;
31829 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31830 result
= (wxWindow
*)wxWindow_FromHWND(arg1
,arg2
);
31832 wxPyEndAllowThreads(__tstate
);
31833 if (PyErr_Occurred()) SWIG_fail
;
31836 resultobj
= wxPyMake_wxObject(result
, 0);
31844 static PyObject
*_wrap_new_Validator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31845 PyObject
*resultobj
;
31846 wxValidator
*result
;
31847 char *kwnames
[] = {
31851 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_Validator",kwnames
)) goto fail
;
31853 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31854 result
= (wxValidator
*)new wxValidator();
31856 wxPyEndAllowThreads(__tstate
);
31857 if (PyErr_Occurred()) SWIG_fail
;
31859 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxValidator
, 1);
31866 static PyObject
*_wrap_Validator_Clone(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31867 PyObject
*resultobj
;
31868 wxValidator
*arg1
= (wxValidator
*) 0 ;
31869 wxValidator
*result
;
31870 PyObject
* obj0
= 0 ;
31871 char *kwnames
[] = {
31872 (char *) "self", NULL
31875 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Validator_Clone",kwnames
,&obj0
)) goto fail
;
31876 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
31877 if (SWIG_arg_fail(1)) SWIG_fail
;
31879 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31880 result
= (wxValidator
*)(arg1
)->Clone();
31882 wxPyEndAllowThreads(__tstate
);
31883 if (PyErr_Occurred()) SWIG_fail
;
31886 resultobj
= wxPyMake_wxObject(result
, 0);
31894 static PyObject
*_wrap_Validator_Validate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31895 PyObject
*resultobj
;
31896 wxValidator
*arg1
= (wxValidator
*) 0 ;
31897 wxWindow
*arg2
= (wxWindow
*) 0 ;
31899 PyObject
* obj0
= 0 ;
31900 PyObject
* obj1
= 0 ;
31901 char *kwnames
[] = {
31902 (char *) "self",(char *) "parent", NULL
31905 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Validator_Validate",kwnames
,&obj0
,&obj1
)) goto fail
;
31906 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
31907 if (SWIG_arg_fail(1)) SWIG_fail
;
31908 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31909 if (SWIG_arg_fail(2)) SWIG_fail
;
31911 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31912 result
= (bool)(arg1
)->Validate(arg2
);
31914 wxPyEndAllowThreads(__tstate
);
31915 if (PyErr_Occurred()) SWIG_fail
;
31918 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31926 static PyObject
*_wrap_Validator_TransferToWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31927 PyObject
*resultobj
;
31928 wxValidator
*arg1
= (wxValidator
*) 0 ;
31930 PyObject
* obj0
= 0 ;
31931 char *kwnames
[] = {
31932 (char *) "self", NULL
31935 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Validator_TransferToWindow",kwnames
,&obj0
)) goto fail
;
31936 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
31937 if (SWIG_arg_fail(1)) SWIG_fail
;
31939 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31940 result
= (bool)(arg1
)->TransferToWindow();
31942 wxPyEndAllowThreads(__tstate
);
31943 if (PyErr_Occurred()) SWIG_fail
;
31946 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31954 static PyObject
*_wrap_Validator_TransferFromWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31955 PyObject
*resultobj
;
31956 wxValidator
*arg1
= (wxValidator
*) 0 ;
31958 PyObject
* obj0
= 0 ;
31959 char *kwnames
[] = {
31960 (char *) "self", NULL
31963 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Validator_TransferFromWindow",kwnames
,&obj0
)) goto fail
;
31964 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
31965 if (SWIG_arg_fail(1)) SWIG_fail
;
31967 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31968 result
= (bool)(arg1
)->TransferFromWindow();
31970 wxPyEndAllowThreads(__tstate
);
31971 if (PyErr_Occurred()) SWIG_fail
;
31974 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31982 static PyObject
*_wrap_Validator_GetWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31983 PyObject
*resultobj
;
31984 wxValidator
*arg1
= (wxValidator
*) 0 ;
31986 PyObject
* obj0
= 0 ;
31987 char *kwnames
[] = {
31988 (char *) "self", NULL
31991 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Validator_GetWindow",kwnames
,&obj0
)) goto fail
;
31992 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
31993 if (SWIG_arg_fail(1)) SWIG_fail
;
31995 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31996 result
= (wxWindow
*)(arg1
)->GetWindow();
31998 wxPyEndAllowThreads(__tstate
);
31999 if (PyErr_Occurred()) SWIG_fail
;
32002 resultobj
= wxPyMake_wxObject(result
, 0);
32010 static PyObject
*_wrap_Validator_SetWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32011 PyObject
*resultobj
;
32012 wxValidator
*arg1
= (wxValidator
*) 0 ;
32013 wxWindow
*arg2
= (wxWindow
*) 0 ;
32014 PyObject
* obj0
= 0 ;
32015 PyObject
* obj1
= 0 ;
32016 char *kwnames
[] = {
32017 (char *) "self",(char *) "window", NULL
32020 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Validator_SetWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
32021 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
32022 if (SWIG_arg_fail(1)) SWIG_fail
;
32023 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
32024 if (SWIG_arg_fail(2)) SWIG_fail
;
32026 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32027 (arg1
)->SetWindow(arg2
);
32029 wxPyEndAllowThreads(__tstate
);
32030 if (PyErr_Occurred()) SWIG_fail
;
32032 Py_INCREF(Py_None
); resultobj
= Py_None
;
32039 static PyObject
*_wrap_Validator_IsSilent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32040 PyObject
*resultobj
;
32042 char *kwnames
[] = {
32046 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Validator_IsSilent",kwnames
)) goto fail
;
32048 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32049 result
= (bool)wxValidator::IsSilent();
32051 wxPyEndAllowThreads(__tstate
);
32052 if (PyErr_Occurred()) SWIG_fail
;
32055 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32063 static PyObject
*_wrap_Validator_SetBellOnError(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32064 PyObject
*resultobj
;
32065 int arg1
= (int) true ;
32066 PyObject
* obj0
= 0 ;
32067 char *kwnames
[] = {
32068 (char *) "doIt", NULL
32071 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Validator_SetBellOnError",kwnames
,&obj0
)) goto fail
;
32074 arg1
= (int)(SWIG_As_int(obj0
));
32075 if (SWIG_arg_fail(1)) SWIG_fail
;
32079 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32080 wxValidator::SetBellOnError(arg1
);
32082 wxPyEndAllowThreads(__tstate
);
32083 if (PyErr_Occurred()) SWIG_fail
;
32085 Py_INCREF(Py_None
); resultobj
= Py_None
;
32092 static PyObject
* Validator_swigregister(PyObject
*, PyObject
*args
) {
32094 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
32095 SWIG_TypeClientData(SWIGTYPE_p_wxValidator
, obj
);
32097 return Py_BuildValue((char *)"");
32099 static PyObject
*_wrap_new_PyValidator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32100 PyObject
*resultobj
;
32101 wxPyValidator
*result
;
32102 char *kwnames
[] = {
32106 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PyValidator",kwnames
)) goto fail
;
32108 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32109 result
= (wxPyValidator
*)new wxPyValidator();
32111 wxPyEndAllowThreads(__tstate
);
32112 if (PyErr_Occurred()) SWIG_fail
;
32114 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyValidator
, 1);
32121 static PyObject
*_wrap_PyValidator__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32122 PyObject
*resultobj
;
32123 wxPyValidator
*arg1
= (wxPyValidator
*) 0 ;
32124 PyObject
*arg2
= (PyObject
*) 0 ;
32125 PyObject
*arg3
= (PyObject
*) 0 ;
32126 int arg4
= (int) true ;
32127 PyObject
* obj0
= 0 ;
32128 PyObject
* obj1
= 0 ;
32129 PyObject
* obj2
= 0 ;
32130 PyObject
* obj3
= 0 ;
32131 char *kwnames
[] = {
32132 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
32135 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:PyValidator__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
32136 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyValidator
, SWIG_POINTER_EXCEPTION
| 0);
32137 if (SWIG_arg_fail(1)) SWIG_fail
;
32142 arg4
= (int)(SWIG_As_int(obj3
));
32143 if (SWIG_arg_fail(4)) SWIG_fail
;
32147 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32148 (arg1
)->_setCallbackInfo(arg2
,arg3
,arg4
);
32150 wxPyEndAllowThreads(__tstate
);
32151 if (PyErr_Occurred()) SWIG_fail
;
32153 Py_INCREF(Py_None
); resultobj
= Py_None
;
32160 static PyObject
* PyValidator_swigregister(PyObject
*, PyObject
*args
) {
32162 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
32163 SWIG_TypeClientData(SWIGTYPE_p_wxPyValidator
, obj
);
32165 return Py_BuildValue((char *)"");
32167 static int _wrap_DefaultValidator_set(PyObject
*) {
32168 PyErr_SetString(PyExc_TypeError
,"Variable DefaultValidator is read-only.");
32173 static PyObject
*_wrap_DefaultValidator_get(void) {
32176 pyobj
= SWIG_NewPointerObj((void *)(&wxDefaultValidator
), SWIGTYPE_p_wxValidator
, 0);
32181 static PyObject
*_wrap_new_Menu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32182 PyObject
*resultobj
;
32183 wxString
const &arg1_defvalue
= wxPyEmptyString
;
32184 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
32185 long arg2
= (long) 0 ;
32187 bool temp1
= false ;
32188 PyObject
* obj0
= 0 ;
32189 PyObject
* obj1
= 0 ;
32190 char *kwnames
[] = {
32191 (char *) "title",(char *) "style", NULL
32194 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Menu",kwnames
,&obj0
,&obj1
)) goto fail
;
32197 arg1
= wxString_in_helper(obj0
);
32198 if (arg1
== NULL
) SWIG_fail
;
32204 arg2
= (long)(SWIG_As_long(obj1
));
32205 if (SWIG_arg_fail(2)) SWIG_fail
;
32209 if (!wxPyCheckForApp()) SWIG_fail
;
32210 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32211 result
= (wxMenu
*)new wxMenu((wxString
const &)*arg1
,arg2
);
32213 wxPyEndAllowThreads(__tstate
);
32214 if (PyErr_Occurred()) SWIG_fail
;
32216 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMenu
, 1);
32231 static PyObject
*_wrap_Menu_Append(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32232 PyObject
*resultobj
;
32233 wxMenu
*arg1
= (wxMenu
*) 0 ;
32235 wxString
*arg3
= 0 ;
32236 wxString
const &arg4_defvalue
= wxPyEmptyString
;
32237 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
32238 wxItemKind arg5
= (wxItemKind
) wxITEM_NORMAL
;
32239 wxMenuItem
*result
;
32240 bool temp3
= false ;
32241 bool temp4
= false ;
32242 PyObject
* obj0
= 0 ;
32243 PyObject
* obj1
= 0 ;
32244 PyObject
* obj2
= 0 ;
32245 PyObject
* obj3
= 0 ;
32246 PyObject
* obj4
= 0 ;
32247 char *kwnames
[] = {
32248 (char *) "self",(char *) "id",(char *) "text",(char *) "help",(char *) "kind", NULL
32251 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:Menu_Append",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
32252 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
32253 if (SWIG_arg_fail(1)) SWIG_fail
;
32255 arg2
= (int)(SWIG_As_int(obj1
));
32256 if (SWIG_arg_fail(2)) SWIG_fail
;
32259 arg3
= wxString_in_helper(obj2
);
32260 if (arg3
== NULL
) SWIG_fail
;
32265 arg4
= wxString_in_helper(obj3
);
32266 if (arg4
== NULL
) SWIG_fail
;
32272 arg5
= (wxItemKind
)(SWIG_As_int(obj4
));
32273 if (SWIG_arg_fail(5)) SWIG_fail
;
32277 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32278 result
= (wxMenuItem
*)(arg1
)->Append(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,(wxItemKind
)arg5
);
32280 wxPyEndAllowThreads(__tstate
);
32281 if (PyErr_Occurred()) SWIG_fail
;
32284 resultobj
= wxPyMake_wxObject(result
, 0);
32308 static PyObject
*_wrap_Menu_AppendSeparator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32309 PyObject
*resultobj
;
32310 wxMenu
*arg1
= (wxMenu
*) 0 ;
32311 wxMenuItem
*result
;
32312 PyObject
* obj0
= 0 ;
32313 char *kwnames
[] = {
32314 (char *) "self", NULL
32317 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_AppendSeparator",kwnames
,&obj0
)) goto fail
;
32318 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
32319 if (SWIG_arg_fail(1)) SWIG_fail
;
32321 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32322 result
= (wxMenuItem
*)(arg1
)->AppendSeparator();
32324 wxPyEndAllowThreads(__tstate
);
32325 if (PyErr_Occurred()) SWIG_fail
;
32328 resultobj
= wxPyMake_wxObject(result
, 0);
32336 static PyObject
*_wrap_Menu_AppendCheckItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32337 PyObject
*resultobj
;
32338 wxMenu
*arg1
= (wxMenu
*) 0 ;
32340 wxString
*arg3
= 0 ;
32341 wxString
const &arg4_defvalue
= wxPyEmptyString
;
32342 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
32343 wxMenuItem
*result
;
32344 bool temp3
= false ;
32345 bool temp4
= false ;
32346 PyObject
* obj0
= 0 ;
32347 PyObject
* obj1
= 0 ;
32348 PyObject
* obj2
= 0 ;
32349 PyObject
* obj3
= 0 ;
32350 char *kwnames
[] = {
32351 (char *) "self",(char *) "id",(char *) "text",(char *) "help", NULL
32354 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Menu_AppendCheckItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
32355 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
32356 if (SWIG_arg_fail(1)) SWIG_fail
;
32358 arg2
= (int)(SWIG_As_int(obj1
));
32359 if (SWIG_arg_fail(2)) SWIG_fail
;
32362 arg3
= wxString_in_helper(obj2
);
32363 if (arg3
== NULL
) SWIG_fail
;
32368 arg4
= wxString_in_helper(obj3
);
32369 if (arg4
== NULL
) SWIG_fail
;
32374 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32375 result
= (wxMenuItem
*)(arg1
)->AppendCheckItem(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
);
32377 wxPyEndAllowThreads(__tstate
);
32378 if (PyErr_Occurred()) SWIG_fail
;
32381 resultobj
= wxPyMake_wxObject(result
, 0);
32405 static PyObject
*_wrap_Menu_AppendRadioItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32406 PyObject
*resultobj
;
32407 wxMenu
*arg1
= (wxMenu
*) 0 ;
32409 wxString
*arg3
= 0 ;
32410 wxString
const &arg4_defvalue
= wxPyEmptyString
;
32411 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
32412 wxMenuItem
*result
;
32413 bool temp3
= false ;
32414 bool temp4
= false ;
32415 PyObject
* obj0
= 0 ;
32416 PyObject
* obj1
= 0 ;
32417 PyObject
* obj2
= 0 ;
32418 PyObject
* obj3
= 0 ;
32419 char *kwnames
[] = {
32420 (char *) "self",(char *) "id",(char *) "text",(char *) "help", NULL
32423 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Menu_AppendRadioItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
32424 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
32425 if (SWIG_arg_fail(1)) SWIG_fail
;
32427 arg2
= (int)(SWIG_As_int(obj1
));
32428 if (SWIG_arg_fail(2)) SWIG_fail
;
32431 arg3
= wxString_in_helper(obj2
);
32432 if (arg3
== NULL
) SWIG_fail
;
32437 arg4
= wxString_in_helper(obj3
);
32438 if (arg4
== NULL
) SWIG_fail
;
32443 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32444 result
= (wxMenuItem
*)(arg1
)->AppendRadioItem(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
);
32446 wxPyEndAllowThreads(__tstate
);
32447 if (PyErr_Occurred()) SWIG_fail
;
32450 resultobj
= wxPyMake_wxObject(result
, 0);
32474 static PyObject
*_wrap_Menu_AppendMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32475 PyObject
*resultobj
;
32476 wxMenu
*arg1
= (wxMenu
*) 0 ;
32478 wxString
*arg3
= 0 ;
32479 wxMenu
*arg4
= (wxMenu
*) 0 ;
32480 wxString
const &arg5_defvalue
= wxPyEmptyString
;
32481 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
32482 wxMenuItem
*result
;
32483 bool temp3
= false ;
32484 bool temp5
= false ;
32485 PyObject
* obj0
= 0 ;
32486 PyObject
* obj1
= 0 ;
32487 PyObject
* obj2
= 0 ;
32488 PyObject
* obj3
= 0 ;
32489 PyObject
* obj4
= 0 ;
32490 char *kwnames
[] = {
32491 (char *) "self",(char *) "id",(char *) "text",(char *) "submenu",(char *) "help", NULL
32494 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:Menu_AppendMenu",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
32495 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
32496 if (SWIG_arg_fail(1)) SWIG_fail
;
32498 arg2
= (int)(SWIG_As_int(obj1
));
32499 if (SWIG_arg_fail(2)) SWIG_fail
;
32502 arg3
= wxString_in_helper(obj2
);
32503 if (arg3
== NULL
) SWIG_fail
;
32506 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
32507 if (SWIG_arg_fail(4)) SWIG_fail
;
32510 arg5
= wxString_in_helper(obj4
);
32511 if (arg5
== NULL
) SWIG_fail
;
32516 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32517 result
= (wxMenuItem
*)(arg1
)->Append(arg2
,(wxString
const &)*arg3
,arg4
,(wxString
const &)*arg5
);
32519 wxPyEndAllowThreads(__tstate
);
32520 if (PyErr_Occurred()) SWIG_fail
;
32523 resultobj
= wxPyMake_wxObject(result
, 0);
32547 static PyObject
*_wrap_Menu_AppendItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32548 PyObject
*resultobj
;
32549 wxMenu
*arg1
= (wxMenu
*) 0 ;
32550 wxMenuItem
*arg2
= (wxMenuItem
*) 0 ;
32551 wxMenuItem
*result
;
32552 PyObject
* obj0
= 0 ;
32553 PyObject
* obj1
= 0 ;
32554 char *kwnames
[] = {
32555 (char *) "self",(char *) "item", NULL
32558 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_AppendItem",kwnames
,&obj0
,&obj1
)) goto fail
;
32559 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
32560 if (SWIG_arg_fail(1)) SWIG_fail
;
32561 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
32562 if (SWIG_arg_fail(2)) SWIG_fail
;
32564 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32565 result
= (wxMenuItem
*)(arg1
)->Append(arg2
);
32567 wxPyEndAllowThreads(__tstate
);
32568 if (PyErr_Occurred()) SWIG_fail
;
32571 resultobj
= wxPyMake_wxObject(result
, 0);
32579 static PyObject
*_wrap_Menu_Break(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32580 PyObject
*resultobj
;
32581 wxMenu
*arg1
= (wxMenu
*) 0 ;
32582 PyObject
* obj0
= 0 ;
32583 char *kwnames
[] = {
32584 (char *) "self", NULL
32587 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_Break",kwnames
,&obj0
)) goto fail
;
32588 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
32589 if (SWIG_arg_fail(1)) SWIG_fail
;
32591 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32594 wxPyEndAllowThreads(__tstate
);
32595 if (PyErr_Occurred()) SWIG_fail
;
32597 Py_INCREF(Py_None
); resultobj
= Py_None
;
32604 static PyObject
*_wrap_Menu_InsertItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32605 PyObject
*resultobj
;
32606 wxMenu
*arg1
= (wxMenu
*) 0 ;
32608 wxMenuItem
*arg3
= (wxMenuItem
*) 0 ;
32609 wxMenuItem
*result
;
32610 PyObject
* obj0
= 0 ;
32611 PyObject
* obj1
= 0 ;
32612 PyObject
* obj2
= 0 ;
32613 char *kwnames
[] = {
32614 (char *) "self",(char *) "pos",(char *) "item", NULL
32617 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Menu_InsertItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
32618 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
32619 if (SWIG_arg_fail(1)) SWIG_fail
;
32621 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
32622 if (SWIG_arg_fail(2)) SWIG_fail
;
32624 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
32625 if (SWIG_arg_fail(3)) SWIG_fail
;
32627 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32628 result
= (wxMenuItem
*)(arg1
)->Insert(arg2
,arg3
);
32630 wxPyEndAllowThreads(__tstate
);
32631 if (PyErr_Occurred()) SWIG_fail
;
32634 resultobj
= wxPyMake_wxObject(result
, 0);
32642 static PyObject
*_wrap_Menu_Insert(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32643 PyObject
*resultobj
;
32644 wxMenu
*arg1
= (wxMenu
*) 0 ;
32647 wxString
*arg4
= 0 ;
32648 wxString
const &arg5_defvalue
= wxPyEmptyString
;
32649 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
32650 wxItemKind arg6
= (wxItemKind
) wxITEM_NORMAL
;
32651 wxMenuItem
*result
;
32652 bool temp4
= false ;
32653 bool temp5
= false ;
32654 PyObject
* obj0
= 0 ;
32655 PyObject
* obj1
= 0 ;
32656 PyObject
* obj2
= 0 ;
32657 PyObject
* obj3
= 0 ;
32658 PyObject
* obj4
= 0 ;
32659 PyObject
* obj5
= 0 ;
32660 char *kwnames
[] = {
32661 (char *) "self",(char *) "pos",(char *) "id",(char *) "text",(char *) "help",(char *) "kind", NULL
32664 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:Menu_Insert",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
32665 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
32666 if (SWIG_arg_fail(1)) SWIG_fail
;
32668 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
32669 if (SWIG_arg_fail(2)) SWIG_fail
;
32672 arg3
= (int)(SWIG_As_int(obj2
));
32673 if (SWIG_arg_fail(3)) SWIG_fail
;
32676 arg4
= wxString_in_helper(obj3
);
32677 if (arg4
== NULL
) SWIG_fail
;
32682 arg5
= wxString_in_helper(obj4
);
32683 if (arg5
== NULL
) SWIG_fail
;
32689 arg6
= (wxItemKind
)(SWIG_As_int(obj5
));
32690 if (SWIG_arg_fail(6)) SWIG_fail
;
32694 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32695 result
= (wxMenuItem
*)(arg1
)->Insert(arg2
,arg3
,(wxString
const &)*arg4
,(wxString
const &)*arg5
,(wxItemKind
)arg6
);
32697 wxPyEndAllowThreads(__tstate
);
32698 if (PyErr_Occurred()) SWIG_fail
;
32701 resultobj
= wxPyMake_wxObject(result
, 0);
32725 static PyObject
*_wrap_Menu_InsertSeparator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32726 PyObject
*resultobj
;
32727 wxMenu
*arg1
= (wxMenu
*) 0 ;
32729 wxMenuItem
*result
;
32730 PyObject
* obj0
= 0 ;
32731 PyObject
* obj1
= 0 ;
32732 char *kwnames
[] = {
32733 (char *) "self",(char *) "pos", NULL
32736 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_InsertSeparator",kwnames
,&obj0
,&obj1
)) goto fail
;
32737 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
32738 if (SWIG_arg_fail(1)) SWIG_fail
;
32740 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
32741 if (SWIG_arg_fail(2)) SWIG_fail
;
32744 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32745 result
= (wxMenuItem
*)(arg1
)->InsertSeparator(arg2
);
32747 wxPyEndAllowThreads(__tstate
);
32748 if (PyErr_Occurred()) SWIG_fail
;
32751 resultobj
= wxPyMake_wxObject(result
, 0);
32759 static PyObject
*_wrap_Menu_InsertCheckItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32760 PyObject
*resultobj
;
32761 wxMenu
*arg1
= (wxMenu
*) 0 ;
32764 wxString
*arg4
= 0 ;
32765 wxString
const &arg5_defvalue
= wxPyEmptyString
;
32766 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
32767 wxMenuItem
*result
;
32768 bool temp4
= false ;
32769 bool temp5
= false ;
32770 PyObject
* obj0
= 0 ;
32771 PyObject
* obj1
= 0 ;
32772 PyObject
* obj2
= 0 ;
32773 PyObject
* obj3
= 0 ;
32774 PyObject
* obj4
= 0 ;
32775 char *kwnames
[] = {
32776 (char *) "self",(char *) "pos",(char *) "id",(char *) "text",(char *) "help", NULL
32779 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:Menu_InsertCheckItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
32780 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
32781 if (SWIG_arg_fail(1)) SWIG_fail
;
32783 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
32784 if (SWIG_arg_fail(2)) SWIG_fail
;
32787 arg3
= (int)(SWIG_As_int(obj2
));
32788 if (SWIG_arg_fail(3)) SWIG_fail
;
32791 arg4
= wxString_in_helper(obj3
);
32792 if (arg4
== NULL
) SWIG_fail
;
32797 arg5
= wxString_in_helper(obj4
);
32798 if (arg5
== NULL
) SWIG_fail
;
32803 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32804 result
= (wxMenuItem
*)(arg1
)->InsertCheckItem(arg2
,arg3
,(wxString
const &)*arg4
,(wxString
const &)*arg5
);
32806 wxPyEndAllowThreads(__tstate
);
32807 if (PyErr_Occurred()) SWIG_fail
;
32810 resultobj
= wxPyMake_wxObject(result
, 0);
32834 static PyObject
*_wrap_Menu_InsertRadioItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32835 PyObject
*resultobj
;
32836 wxMenu
*arg1
= (wxMenu
*) 0 ;
32839 wxString
*arg4
= 0 ;
32840 wxString
const &arg5_defvalue
= wxPyEmptyString
;
32841 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
32842 wxMenuItem
*result
;
32843 bool temp4
= false ;
32844 bool temp5
= false ;
32845 PyObject
* obj0
= 0 ;
32846 PyObject
* obj1
= 0 ;
32847 PyObject
* obj2
= 0 ;
32848 PyObject
* obj3
= 0 ;
32849 PyObject
* obj4
= 0 ;
32850 char *kwnames
[] = {
32851 (char *) "self",(char *) "pos",(char *) "id",(char *) "text",(char *) "help", NULL
32854 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:Menu_InsertRadioItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
32855 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
32856 if (SWIG_arg_fail(1)) SWIG_fail
;
32858 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
32859 if (SWIG_arg_fail(2)) SWIG_fail
;
32862 arg3
= (int)(SWIG_As_int(obj2
));
32863 if (SWIG_arg_fail(3)) SWIG_fail
;
32866 arg4
= wxString_in_helper(obj3
);
32867 if (arg4
== NULL
) SWIG_fail
;
32872 arg5
= wxString_in_helper(obj4
);
32873 if (arg5
== NULL
) SWIG_fail
;
32878 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32879 result
= (wxMenuItem
*)(arg1
)->InsertRadioItem(arg2
,arg3
,(wxString
const &)*arg4
,(wxString
const &)*arg5
);
32881 wxPyEndAllowThreads(__tstate
);
32882 if (PyErr_Occurred()) SWIG_fail
;
32885 resultobj
= wxPyMake_wxObject(result
, 0);
32909 static PyObject
*_wrap_Menu_InsertMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32910 PyObject
*resultobj
;
32911 wxMenu
*arg1
= (wxMenu
*) 0 ;
32914 wxString
*arg4
= 0 ;
32915 wxMenu
*arg5
= (wxMenu
*) 0 ;
32916 wxString
const &arg6_defvalue
= wxPyEmptyString
;
32917 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
32918 wxMenuItem
*result
;
32919 bool temp4
= false ;
32920 bool temp6
= false ;
32921 PyObject
* obj0
= 0 ;
32922 PyObject
* obj1
= 0 ;
32923 PyObject
* obj2
= 0 ;
32924 PyObject
* obj3
= 0 ;
32925 PyObject
* obj4
= 0 ;
32926 PyObject
* obj5
= 0 ;
32927 char *kwnames
[] = {
32928 (char *) "self",(char *) "pos",(char *) "id",(char *) "text",(char *) "submenu",(char *) "help", NULL
32931 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:Menu_InsertMenu",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
32932 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
32933 if (SWIG_arg_fail(1)) SWIG_fail
;
32935 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
32936 if (SWIG_arg_fail(2)) SWIG_fail
;
32939 arg3
= (int)(SWIG_As_int(obj2
));
32940 if (SWIG_arg_fail(3)) SWIG_fail
;
32943 arg4
= wxString_in_helper(obj3
);
32944 if (arg4
== NULL
) SWIG_fail
;
32947 SWIG_Python_ConvertPtr(obj4
, (void **)&arg5
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
32948 if (SWIG_arg_fail(5)) SWIG_fail
;
32951 arg6
= wxString_in_helper(obj5
);
32952 if (arg6
== NULL
) SWIG_fail
;
32957 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32958 result
= (wxMenuItem
*)(arg1
)->Insert(arg2
,arg3
,(wxString
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
32960 wxPyEndAllowThreads(__tstate
);
32961 if (PyErr_Occurred()) SWIG_fail
;
32964 resultobj
= wxPyMake_wxObject(result
, 0);
32988 static PyObject
*_wrap_Menu_PrependItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32989 PyObject
*resultobj
;
32990 wxMenu
*arg1
= (wxMenu
*) 0 ;
32991 wxMenuItem
*arg2
= (wxMenuItem
*) 0 ;
32992 wxMenuItem
*result
;
32993 PyObject
* obj0
= 0 ;
32994 PyObject
* obj1
= 0 ;
32995 char *kwnames
[] = {
32996 (char *) "self",(char *) "item", NULL
32999 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_PrependItem",kwnames
,&obj0
,&obj1
)) goto fail
;
33000 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33001 if (SWIG_arg_fail(1)) SWIG_fail
;
33002 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
33003 if (SWIG_arg_fail(2)) SWIG_fail
;
33005 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33006 result
= (wxMenuItem
*)(arg1
)->Prepend(arg2
);
33008 wxPyEndAllowThreads(__tstate
);
33009 if (PyErr_Occurred()) SWIG_fail
;
33012 resultobj
= wxPyMake_wxObject(result
, 0);
33020 static PyObject
*_wrap_Menu_Prepend(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33021 PyObject
*resultobj
;
33022 wxMenu
*arg1
= (wxMenu
*) 0 ;
33024 wxString
*arg3
= 0 ;
33025 wxString
const &arg4_defvalue
= wxPyEmptyString
;
33026 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
33027 wxItemKind arg5
= (wxItemKind
) wxITEM_NORMAL
;
33028 wxMenuItem
*result
;
33029 bool temp3
= false ;
33030 bool temp4
= false ;
33031 PyObject
* obj0
= 0 ;
33032 PyObject
* obj1
= 0 ;
33033 PyObject
* obj2
= 0 ;
33034 PyObject
* obj3
= 0 ;
33035 PyObject
* obj4
= 0 ;
33036 char *kwnames
[] = {
33037 (char *) "self",(char *) "id",(char *) "text",(char *) "help",(char *) "kind", NULL
33040 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:Menu_Prepend",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
33041 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33042 if (SWIG_arg_fail(1)) SWIG_fail
;
33044 arg2
= (int)(SWIG_As_int(obj1
));
33045 if (SWIG_arg_fail(2)) SWIG_fail
;
33048 arg3
= wxString_in_helper(obj2
);
33049 if (arg3
== NULL
) SWIG_fail
;
33054 arg4
= wxString_in_helper(obj3
);
33055 if (arg4
== NULL
) SWIG_fail
;
33061 arg5
= (wxItemKind
)(SWIG_As_int(obj4
));
33062 if (SWIG_arg_fail(5)) SWIG_fail
;
33066 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33067 result
= (wxMenuItem
*)(arg1
)->Prepend(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,(wxItemKind
)arg5
);
33069 wxPyEndAllowThreads(__tstate
);
33070 if (PyErr_Occurred()) SWIG_fail
;
33073 resultobj
= wxPyMake_wxObject(result
, 0);
33097 static PyObject
*_wrap_Menu_PrependSeparator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33098 PyObject
*resultobj
;
33099 wxMenu
*arg1
= (wxMenu
*) 0 ;
33100 wxMenuItem
*result
;
33101 PyObject
* obj0
= 0 ;
33102 char *kwnames
[] = {
33103 (char *) "self", NULL
33106 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_PrependSeparator",kwnames
,&obj0
)) goto fail
;
33107 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33108 if (SWIG_arg_fail(1)) SWIG_fail
;
33110 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33111 result
= (wxMenuItem
*)(arg1
)->PrependSeparator();
33113 wxPyEndAllowThreads(__tstate
);
33114 if (PyErr_Occurred()) SWIG_fail
;
33117 resultobj
= wxPyMake_wxObject(result
, 0);
33125 static PyObject
*_wrap_Menu_PrependCheckItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33126 PyObject
*resultobj
;
33127 wxMenu
*arg1
= (wxMenu
*) 0 ;
33129 wxString
*arg3
= 0 ;
33130 wxString
const &arg4_defvalue
= wxPyEmptyString
;
33131 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
33132 wxMenuItem
*result
;
33133 bool temp3
= false ;
33134 bool temp4
= false ;
33135 PyObject
* obj0
= 0 ;
33136 PyObject
* obj1
= 0 ;
33137 PyObject
* obj2
= 0 ;
33138 PyObject
* obj3
= 0 ;
33139 char *kwnames
[] = {
33140 (char *) "self",(char *) "id",(char *) "text",(char *) "help", NULL
33143 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Menu_PrependCheckItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
33144 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33145 if (SWIG_arg_fail(1)) SWIG_fail
;
33147 arg2
= (int)(SWIG_As_int(obj1
));
33148 if (SWIG_arg_fail(2)) SWIG_fail
;
33151 arg3
= wxString_in_helper(obj2
);
33152 if (arg3
== NULL
) SWIG_fail
;
33157 arg4
= wxString_in_helper(obj3
);
33158 if (arg4
== NULL
) SWIG_fail
;
33163 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33164 result
= (wxMenuItem
*)(arg1
)->PrependCheckItem(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
);
33166 wxPyEndAllowThreads(__tstate
);
33167 if (PyErr_Occurred()) SWIG_fail
;
33170 resultobj
= wxPyMake_wxObject(result
, 0);
33194 static PyObject
*_wrap_Menu_PrependRadioItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33195 PyObject
*resultobj
;
33196 wxMenu
*arg1
= (wxMenu
*) 0 ;
33198 wxString
*arg3
= 0 ;
33199 wxString
const &arg4_defvalue
= wxPyEmptyString
;
33200 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
33201 wxMenuItem
*result
;
33202 bool temp3
= false ;
33203 bool temp4
= false ;
33204 PyObject
* obj0
= 0 ;
33205 PyObject
* obj1
= 0 ;
33206 PyObject
* obj2
= 0 ;
33207 PyObject
* obj3
= 0 ;
33208 char *kwnames
[] = {
33209 (char *) "self",(char *) "id",(char *) "text",(char *) "help", NULL
33212 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Menu_PrependRadioItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
33213 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33214 if (SWIG_arg_fail(1)) SWIG_fail
;
33216 arg2
= (int)(SWIG_As_int(obj1
));
33217 if (SWIG_arg_fail(2)) SWIG_fail
;
33220 arg3
= wxString_in_helper(obj2
);
33221 if (arg3
== NULL
) SWIG_fail
;
33226 arg4
= wxString_in_helper(obj3
);
33227 if (arg4
== NULL
) SWIG_fail
;
33232 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33233 result
= (wxMenuItem
*)(arg1
)->PrependRadioItem(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
);
33235 wxPyEndAllowThreads(__tstate
);
33236 if (PyErr_Occurred()) SWIG_fail
;
33239 resultobj
= wxPyMake_wxObject(result
, 0);
33263 static PyObject
*_wrap_Menu_PrependMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33264 PyObject
*resultobj
;
33265 wxMenu
*arg1
= (wxMenu
*) 0 ;
33267 wxString
*arg3
= 0 ;
33268 wxMenu
*arg4
= (wxMenu
*) 0 ;
33269 wxString
const &arg5_defvalue
= wxPyEmptyString
;
33270 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
33271 wxMenuItem
*result
;
33272 bool temp3
= false ;
33273 bool temp5
= false ;
33274 PyObject
* obj0
= 0 ;
33275 PyObject
* obj1
= 0 ;
33276 PyObject
* obj2
= 0 ;
33277 PyObject
* obj3
= 0 ;
33278 PyObject
* obj4
= 0 ;
33279 char *kwnames
[] = {
33280 (char *) "self",(char *) "id",(char *) "text",(char *) "submenu",(char *) "help", NULL
33283 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:Menu_PrependMenu",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
33284 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33285 if (SWIG_arg_fail(1)) SWIG_fail
;
33287 arg2
= (int)(SWIG_As_int(obj1
));
33288 if (SWIG_arg_fail(2)) SWIG_fail
;
33291 arg3
= wxString_in_helper(obj2
);
33292 if (arg3
== NULL
) SWIG_fail
;
33295 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33296 if (SWIG_arg_fail(4)) SWIG_fail
;
33299 arg5
= wxString_in_helper(obj4
);
33300 if (arg5
== NULL
) SWIG_fail
;
33305 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33306 result
= (wxMenuItem
*)(arg1
)->Prepend(arg2
,(wxString
const &)*arg3
,arg4
,(wxString
const &)*arg5
);
33308 wxPyEndAllowThreads(__tstate
);
33309 if (PyErr_Occurred()) SWIG_fail
;
33312 resultobj
= wxPyMake_wxObject(result
, 0);
33336 static PyObject
*_wrap_Menu_Remove(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33337 PyObject
*resultobj
;
33338 wxMenu
*arg1
= (wxMenu
*) 0 ;
33340 wxMenuItem
*result
;
33341 PyObject
* obj0
= 0 ;
33342 PyObject
* obj1
= 0 ;
33343 char *kwnames
[] = {
33344 (char *) "self",(char *) "id", NULL
33347 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_Remove",kwnames
,&obj0
,&obj1
)) goto fail
;
33348 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33349 if (SWIG_arg_fail(1)) SWIG_fail
;
33351 arg2
= (int)(SWIG_As_int(obj1
));
33352 if (SWIG_arg_fail(2)) SWIG_fail
;
33355 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33356 result
= (wxMenuItem
*)(arg1
)->Remove(arg2
);
33358 wxPyEndAllowThreads(__tstate
);
33359 if (PyErr_Occurred()) SWIG_fail
;
33362 resultobj
= wxPyMake_wxObject(result
, 0);
33370 static PyObject
*_wrap_Menu_RemoveItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33371 PyObject
*resultobj
;
33372 wxMenu
*arg1
= (wxMenu
*) 0 ;
33373 wxMenuItem
*arg2
= (wxMenuItem
*) 0 ;
33374 wxMenuItem
*result
;
33375 PyObject
* obj0
= 0 ;
33376 PyObject
* obj1
= 0 ;
33377 char *kwnames
[] = {
33378 (char *) "self",(char *) "item", NULL
33381 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_RemoveItem",kwnames
,&obj0
,&obj1
)) goto fail
;
33382 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33383 if (SWIG_arg_fail(1)) SWIG_fail
;
33384 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
33385 if (SWIG_arg_fail(2)) SWIG_fail
;
33387 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33388 result
= (wxMenuItem
*)(arg1
)->Remove(arg2
);
33390 wxPyEndAllowThreads(__tstate
);
33391 if (PyErr_Occurred()) SWIG_fail
;
33394 resultobj
= wxPyMake_wxObject(result
, 0);
33402 static PyObject
*_wrap_Menu_Delete(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33403 PyObject
*resultobj
;
33404 wxMenu
*arg1
= (wxMenu
*) 0 ;
33407 PyObject
* obj0
= 0 ;
33408 PyObject
* obj1
= 0 ;
33409 char *kwnames
[] = {
33410 (char *) "self",(char *) "id", NULL
33413 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_Delete",kwnames
,&obj0
,&obj1
)) goto fail
;
33414 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33415 if (SWIG_arg_fail(1)) SWIG_fail
;
33417 arg2
= (int)(SWIG_As_int(obj1
));
33418 if (SWIG_arg_fail(2)) SWIG_fail
;
33421 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33422 result
= (bool)(arg1
)->Delete(arg2
);
33424 wxPyEndAllowThreads(__tstate
);
33425 if (PyErr_Occurred()) SWIG_fail
;
33428 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33436 static PyObject
*_wrap_Menu_DeleteItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33437 PyObject
*resultobj
;
33438 wxMenu
*arg1
= (wxMenu
*) 0 ;
33439 wxMenuItem
*arg2
= (wxMenuItem
*) 0 ;
33441 PyObject
* obj0
= 0 ;
33442 PyObject
* obj1
= 0 ;
33443 char *kwnames
[] = {
33444 (char *) "self",(char *) "item", NULL
33447 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_DeleteItem",kwnames
,&obj0
,&obj1
)) goto fail
;
33448 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33449 if (SWIG_arg_fail(1)) SWIG_fail
;
33450 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
33451 if (SWIG_arg_fail(2)) SWIG_fail
;
33453 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33454 result
= (bool)(arg1
)->Delete(arg2
);
33456 wxPyEndAllowThreads(__tstate
);
33457 if (PyErr_Occurred()) SWIG_fail
;
33460 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33468 static PyObject
*_wrap_Menu_Destroy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33469 PyObject
*resultobj
;
33470 wxMenu
*arg1
= (wxMenu
*) 0 ;
33471 PyObject
* obj0
= 0 ;
33472 char *kwnames
[] = {
33473 (char *) "self", NULL
33476 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_Destroy",kwnames
,&obj0
)) goto fail
;
33477 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33478 if (SWIG_arg_fail(1)) SWIG_fail
;
33480 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33481 wxMenu_Destroy(arg1
);
33483 wxPyEndAllowThreads(__tstate
);
33484 if (PyErr_Occurred()) SWIG_fail
;
33486 Py_INCREF(Py_None
); resultobj
= Py_None
;
33493 static PyObject
*_wrap_Menu_DestroyId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33494 PyObject
*resultobj
;
33495 wxMenu
*arg1
= (wxMenu
*) 0 ;
33498 PyObject
* obj0
= 0 ;
33499 PyObject
* obj1
= 0 ;
33500 char *kwnames
[] = {
33501 (char *) "self",(char *) "id", NULL
33504 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_DestroyId",kwnames
,&obj0
,&obj1
)) goto fail
;
33505 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33506 if (SWIG_arg_fail(1)) SWIG_fail
;
33508 arg2
= (int)(SWIG_As_int(obj1
));
33509 if (SWIG_arg_fail(2)) SWIG_fail
;
33512 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33513 result
= (bool)(arg1
)->Destroy(arg2
);
33515 wxPyEndAllowThreads(__tstate
);
33516 if (PyErr_Occurred()) SWIG_fail
;
33519 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33527 static PyObject
*_wrap_Menu_DestroyItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33528 PyObject
*resultobj
;
33529 wxMenu
*arg1
= (wxMenu
*) 0 ;
33530 wxMenuItem
*arg2
= (wxMenuItem
*) 0 ;
33532 PyObject
* obj0
= 0 ;
33533 PyObject
* obj1
= 0 ;
33534 char *kwnames
[] = {
33535 (char *) "self",(char *) "item", NULL
33538 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_DestroyItem",kwnames
,&obj0
,&obj1
)) goto fail
;
33539 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33540 if (SWIG_arg_fail(1)) SWIG_fail
;
33541 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
33542 if (SWIG_arg_fail(2)) SWIG_fail
;
33544 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33545 result
= (bool)(arg1
)->Destroy(arg2
);
33547 wxPyEndAllowThreads(__tstate
);
33548 if (PyErr_Occurred()) SWIG_fail
;
33551 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33559 static PyObject
*_wrap_Menu_GetMenuItemCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33560 PyObject
*resultobj
;
33561 wxMenu
*arg1
= (wxMenu
*) 0 ;
33563 PyObject
* obj0
= 0 ;
33564 char *kwnames
[] = {
33565 (char *) "self", NULL
33568 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetMenuItemCount",kwnames
,&obj0
)) goto fail
;
33569 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33570 if (SWIG_arg_fail(1)) SWIG_fail
;
33572 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33573 result
= (size_t)((wxMenu
const *)arg1
)->GetMenuItemCount();
33575 wxPyEndAllowThreads(__tstate
);
33576 if (PyErr_Occurred()) SWIG_fail
;
33579 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
33587 static PyObject
*_wrap_Menu_GetMenuItems(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33588 PyObject
*resultobj
;
33589 wxMenu
*arg1
= (wxMenu
*) 0 ;
33591 PyObject
* obj0
= 0 ;
33592 char *kwnames
[] = {
33593 (char *) "self", NULL
33596 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetMenuItems",kwnames
,&obj0
)) goto fail
;
33597 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33598 if (SWIG_arg_fail(1)) SWIG_fail
;
33600 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33601 result
= (PyObject
*)wxMenu_GetMenuItems(arg1
);
33603 wxPyEndAllowThreads(__tstate
);
33604 if (PyErr_Occurred()) SWIG_fail
;
33606 resultobj
= result
;
33613 static PyObject
*_wrap_Menu_FindItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33614 PyObject
*resultobj
;
33615 wxMenu
*arg1
= (wxMenu
*) 0 ;
33616 wxString
*arg2
= 0 ;
33618 bool temp2
= false ;
33619 PyObject
* obj0
= 0 ;
33620 PyObject
* obj1
= 0 ;
33621 char *kwnames
[] = {
33622 (char *) "self",(char *) "item", NULL
33625 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_FindItem",kwnames
,&obj0
,&obj1
)) goto fail
;
33626 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33627 if (SWIG_arg_fail(1)) SWIG_fail
;
33629 arg2
= wxString_in_helper(obj1
);
33630 if (arg2
== NULL
) SWIG_fail
;
33634 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33635 result
= (int)((wxMenu
const *)arg1
)->FindItem((wxString
const &)*arg2
);
33637 wxPyEndAllowThreads(__tstate
);
33638 if (PyErr_Occurred()) SWIG_fail
;
33641 resultobj
= SWIG_From_int((int)(result
));
33657 static PyObject
*_wrap_Menu_FindItemById(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33658 PyObject
*resultobj
;
33659 wxMenu
*arg1
= (wxMenu
*) 0 ;
33661 wxMenuItem
*result
;
33662 PyObject
* obj0
= 0 ;
33663 PyObject
* obj1
= 0 ;
33664 char *kwnames
[] = {
33665 (char *) "self",(char *) "id", NULL
33668 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_FindItemById",kwnames
,&obj0
,&obj1
)) goto fail
;
33669 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33670 if (SWIG_arg_fail(1)) SWIG_fail
;
33672 arg2
= (int)(SWIG_As_int(obj1
));
33673 if (SWIG_arg_fail(2)) SWIG_fail
;
33676 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33677 result
= (wxMenuItem
*)((wxMenu
const *)arg1
)->FindItem(arg2
);
33679 wxPyEndAllowThreads(__tstate
);
33680 if (PyErr_Occurred()) SWIG_fail
;
33683 resultobj
= wxPyMake_wxObject(result
, 0);
33691 static PyObject
*_wrap_Menu_FindItemByPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33692 PyObject
*resultobj
;
33693 wxMenu
*arg1
= (wxMenu
*) 0 ;
33695 wxMenuItem
*result
;
33696 PyObject
* obj0
= 0 ;
33697 PyObject
* obj1
= 0 ;
33698 char *kwnames
[] = {
33699 (char *) "self",(char *) "position", NULL
33702 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_FindItemByPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
33703 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33704 if (SWIG_arg_fail(1)) SWIG_fail
;
33706 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
33707 if (SWIG_arg_fail(2)) SWIG_fail
;
33710 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33711 result
= (wxMenuItem
*)((wxMenu
const *)arg1
)->FindItemByPosition(arg2
);
33713 wxPyEndAllowThreads(__tstate
);
33714 if (PyErr_Occurred()) SWIG_fail
;
33717 resultobj
= wxPyMake_wxObject(result
, 0);
33725 static PyObject
*_wrap_Menu_Enable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33726 PyObject
*resultobj
;
33727 wxMenu
*arg1
= (wxMenu
*) 0 ;
33730 PyObject
* obj0
= 0 ;
33731 PyObject
* obj1
= 0 ;
33732 PyObject
* obj2
= 0 ;
33733 char *kwnames
[] = {
33734 (char *) "self",(char *) "id",(char *) "enable", NULL
33737 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Menu_Enable",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
33738 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33739 if (SWIG_arg_fail(1)) SWIG_fail
;
33741 arg2
= (int)(SWIG_As_int(obj1
));
33742 if (SWIG_arg_fail(2)) SWIG_fail
;
33745 arg3
= (bool)(SWIG_As_bool(obj2
));
33746 if (SWIG_arg_fail(3)) SWIG_fail
;
33749 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33750 (arg1
)->Enable(arg2
,arg3
);
33752 wxPyEndAllowThreads(__tstate
);
33753 if (PyErr_Occurred()) SWIG_fail
;
33755 Py_INCREF(Py_None
); resultobj
= Py_None
;
33762 static PyObject
*_wrap_Menu_IsEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33763 PyObject
*resultobj
;
33764 wxMenu
*arg1
= (wxMenu
*) 0 ;
33767 PyObject
* obj0
= 0 ;
33768 PyObject
* obj1
= 0 ;
33769 char *kwnames
[] = {
33770 (char *) "self",(char *) "id", NULL
33773 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_IsEnabled",kwnames
,&obj0
,&obj1
)) goto fail
;
33774 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33775 if (SWIG_arg_fail(1)) SWIG_fail
;
33777 arg2
= (int)(SWIG_As_int(obj1
));
33778 if (SWIG_arg_fail(2)) SWIG_fail
;
33781 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33782 result
= (bool)((wxMenu
const *)arg1
)->IsEnabled(arg2
);
33784 wxPyEndAllowThreads(__tstate
);
33785 if (PyErr_Occurred()) SWIG_fail
;
33788 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33796 static PyObject
*_wrap_Menu_Check(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33797 PyObject
*resultobj
;
33798 wxMenu
*arg1
= (wxMenu
*) 0 ;
33801 PyObject
* obj0
= 0 ;
33802 PyObject
* obj1
= 0 ;
33803 PyObject
* obj2
= 0 ;
33804 char *kwnames
[] = {
33805 (char *) "self",(char *) "id",(char *) "check", NULL
33808 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Menu_Check",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
33809 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33810 if (SWIG_arg_fail(1)) SWIG_fail
;
33812 arg2
= (int)(SWIG_As_int(obj1
));
33813 if (SWIG_arg_fail(2)) SWIG_fail
;
33816 arg3
= (bool)(SWIG_As_bool(obj2
));
33817 if (SWIG_arg_fail(3)) SWIG_fail
;
33820 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33821 (arg1
)->Check(arg2
,arg3
);
33823 wxPyEndAllowThreads(__tstate
);
33824 if (PyErr_Occurred()) SWIG_fail
;
33826 Py_INCREF(Py_None
); resultobj
= Py_None
;
33833 static PyObject
*_wrap_Menu_IsChecked(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33834 PyObject
*resultobj
;
33835 wxMenu
*arg1
= (wxMenu
*) 0 ;
33838 PyObject
* obj0
= 0 ;
33839 PyObject
* obj1
= 0 ;
33840 char *kwnames
[] = {
33841 (char *) "self",(char *) "id", NULL
33844 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_IsChecked",kwnames
,&obj0
,&obj1
)) goto fail
;
33845 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33846 if (SWIG_arg_fail(1)) SWIG_fail
;
33848 arg2
= (int)(SWIG_As_int(obj1
));
33849 if (SWIG_arg_fail(2)) SWIG_fail
;
33852 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33853 result
= (bool)((wxMenu
const *)arg1
)->IsChecked(arg2
);
33855 wxPyEndAllowThreads(__tstate
);
33856 if (PyErr_Occurred()) SWIG_fail
;
33859 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33867 static PyObject
*_wrap_Menu_SetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33868 PyObject
*resultobj
;
33869 wxMenu
*arg1
= (wxMenu
*) 0 ;
33871 wxString
*arg3
= 0 ;
33872 bool temp3
= false ;
33873 PyObject
* obj0
= 0 ;
33874 PyObject
* obj1
= 0 ;
33875 PyObject
* obj2
= 0 ;
33876 char *kwnames
[] = {
33877 (char *) "self",(char *) "id",(char *) "label", NULL
33880 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Menu_SetLabel",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
33881 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33882 if (SWIG_arg_fail(1)) SWIG_fail
;
33884 arg2
= (int)(SWIG_As_int(obj1
));
33885 if (SWIG_arg_fail(2)) SWIG_fail
;
33888 arg3
= wxString_in_helper(obj2
);
33889 if (arg3
== NULL
) SWIG_fail
;
33893 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33894 (arg1
)->SetLabel(arg2
,(wxString
const &)*arg3
);
33896 wxPyEndAllowThreads(__tstate
);
33897 if (PyErr_Occurred()) SWIG_fail
;
33899 Py_INCREF(Py_None
); resultobj
= Py_None
;
33914 static PyObject
*_wrap_Menu_GetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33915 PyObject
*resultobj
;
33916 wxMenu
*arg1
= (wxMenu
*) 0 ;
33919 PyObject
* obj0
= 0 ;
33920 PyObject
* obj1
= 0 ;
33921 char *kwnames
[] = {
33922 (char *) "self",(char *) "id", NULL
33925 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_GetLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
33926 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33927 if (SWIG_arg_fail(1)) SWIG_fail
;
33929 arg2
= (int)(SWIG_As_int(obj1
));
33930 if (SWIG_arg_fail(2)) SWIG_fail
;
33933 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33934 result
= ((wxMenu
const *)arg1
)->GetLabel(arg2
);
33936 wxPyEndAllowThreads(__tstate
);
33937 if (PyErr_Occurred()) SWIG_fail
;
33941 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
33943 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
33952 static PyObject
*_wrap_Menu_SetHelpString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33953 PyObject
*resultobj
;
33954 wxMenu
*arg1
= (wxMenu
*) 0 ;
33956 wxString
*arg3
= 0 ;
33957 bool temp3
= false ;
33958 PyObject
* obj0
= 0 ;
33959 PyObject
* obj1
= 0 ;
33960 PyObject
* obj2
= 0 ;
33961 char *kwnames
[] = {
33962 (char *) "self",(char *) "id",(char *) "helpString", NULL
33965 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Menu_SetHelpString",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
33966 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33967 if (SWIG_arg_fail(1)) SWIG_fail
;
33969 arg2
= (int)(SWIG_As_int(obj1
));
33970 if (SWIG_arg_fail(2)) SWIG_fail
;
33973 arg3
= wxString_in_helper(obj2
);
33974 if (arg3
== NULL
) SWIG_fail
;
33978 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33979 (arg1
)->SetHelpString(arg2
,(wxString
const &)*arg3
);
33981 wxPyEndAllowThreads(__tstate
);
33982 if (PyErr_Occurred()) SWIG_fail
;
33984 Py_INCREF(Py_None
); resultobj
= Py_None
;
33999 static PyObject
*_wrap_Menu_GetHelpString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34000 PyObject
*resultobj
;
34001 wxMenu
*arg1
= (wxMenu
*) 0 ;
34004 PyObject
* obj0
= 0 ;
34005 PyObject
* obj1
= 0 ;
34006 char *kwnames
[] = {
34007 (char *) "self",(char *) "id", NULL
34010 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_GetHelpString",kwnames
,&obj0
,&obj1
)) goto fail
;
34011 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34012 if (SWIG_arg_fail(1)) SWIG_fail
;
34014 arg2
= (int)(SWIG_As_int(obj1
));
34015 if (SWIG_arg_fail(2)) SWIG_fail
;
34018 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34019 result
= ((wxMenu
const *)arg1
)->GetHelpString(arg2
);
34021 wxPyEndAllowThreads(__tstate
);
34022 if (PyErr_Occurred()) SWIG_fail
;
34026 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
34028 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
34037 static PyObject
*_wrap_Menu_SetTitle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34038 PyObject
*resultobj
;
34039 wxMenu
*arg1
= (wxMenu
*) 0 ;
34040 wxString
*arg2
= 0 ;
34041 bool temp2
= false ;
34042 PyObject
* obj0
= 0 ;
34043 PyObject
* obj1
= 0 ;
34044 char *kwnames
[] = {
34045 (char *) "self",(char *) "title", NULL
34048 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_SetTitle",kwnames
,&obj0
,&obj1
)) goto fail
;
34049 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34050 if (SWIG_arg_fail(1)) SWIG_fail
;
34052 arg2
= wxString_in_helper(obj1
);
34053 if (arg2
== NULL
) SWIG_fail
;
34057 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34058 (arg1
)->SetTitle((wxString
const &)*arg2
);
34060 wxPyEndAllowThreads(__tstate
);
34061 if (PyErr_Occurred()) SWIG_fail
;
34063 Py_INCREF(Py_None
); resultobj
= Py_None
;
34078 static PyObject
*_wrap_Menu_GetTitle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34079 PyObject
*resultobj
;
34080 wxMenu
*arg1
= (wxMenu
*) 0 ;
34082 PyObject
* obj0
= 0 ;
34083 char *kwnames
[] = {
34084 (char *) "self", NULL
34087 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetTitle",kwnames
,&obj0
)) goto fail
;
34088 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34089 if (SWIG_arg_fail(1)) SWIG_fail
;
34091 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34092 result
= ((wxMenu
const *)arg1
)->GetTitle();
34094 wxPyEndAllowThreads(__tstate
);
34095 if (PyErr_Occurred()) SWIG_fail
;
34099 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
34101 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
34110 static PyObject
*_wrap_Menu_SetEventHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34111 PyObject
*resultobj
;
34112 wxMenu
*arg1
= (wxMenu
*) 0 ;
34113 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
34114 PyObject
* obj0
= 0 ;
34115 PyObject
* obj1
= 0 ;
34116 char *kwnames
[] = {
34117 (char *) "self",(char *) "handler", NULL
34120 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_SetEventHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
34121 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34122 if (SWIG_arg_fail(1)) SWIG_fail
;
34123 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
34124 if (SWIG_arg_fail(2)) SWIG_fail
;
34126 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34127 (arg1
)->SetEventHandler(arg2
);
34129 wxPyEndAllowThreads(__tstate
);
34130 if (PyErr_Occurred()) SWIG_fail
;
34132 Py_INCREF(Py_None
); resultobj
= Py_None
;
34139 static PyObject
*_wrap_Menu_GetEventHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34140 PyObject
*resultobj
;
34141 wxMenu
*arg1
= (wxMenu
*) 0 ;
34142 wxEvtHandler
*result
;
34143 PyObject
* obj0
= 0 ;
34144 char *kwnames
[] = {
34145 (char *) "self", NULL
34148 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetEventHandler",kwnames
,&obj0
)) goto fail
;
34149 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34150 if (SWIG_arg_fail(1)) SWIG_fail
;
34152 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34153 result
= (wxEvtHandler
*)((wxMenu
const *)arg1
)->GetEventHandler();
34155 wxPyEndAllowThreads(__tstate
);
34156 if (PyErr_Occurred()) SWIG_fail
;
34159 resultobj
= wxPyMake_wxObject(result
, 0);
34167 static PyObject
*_wrap_Menu_SetInvokingWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34168 PyObject
*resultobj
;
34169 wxMenu
*arg1
= (wxMenu
*) 0 ;
34170 wxWindow
*arg2
= (wxWindow
*) 0 ;
34171 PyObject
* obj0
= 0 ;
34172 PyObject
* obj1
= 0 ;
34173 char *kwnames
[] = {
34174 (char *) "self",(char *) "win", NULL
34177 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_SetInvokingWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
34178 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34179 if (SWIG_arg_fail(1)) SWIG_fail
;
34180 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
34181 if (SWIG_arg_fail(2)) SWIG_fail
;
34183 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34184 (arg1
)->SetInvokingWindow(arg2
);
34186 wxPyEndAllowThreads(__tstate
);
34187 if (PyErr_Occurred()) SWIG_fail
;
34189 Py_INCREF(Py_None
); resultobj
= Py_None
;
34196 static PyObject
*_wrap_Menu_GetInvokingWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34197 PyObject
*resultobj
;
34198 wxMenu
*arg1
= (wxMenu
*) 0 ;
34200 PyObject
* obj0
= 0 ;
34201 char *kwnames
[] = {
34202 (char *) "self", NULL
34205 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetInvokingWindow",kwnames
,&obj0
)) goto fail
;
34206 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34207 if (SWIG_arg_fail(1)) SWIG_fail
;
34209 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34210 result
= (wxWindow
*)((wxMenu
const *)arg1
)->GetInvokingWindow();
34212 wxPyEndAllowThreads(__tstate
);
34213 if (PyErr_Occurred()) SWIG_fail
;
34216 resultobj
= wxPyMake_wxObject(result
, 0);
34224 static PyObject
*_wrap_Menu_GetStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34225 PyObject
*resultobj
;
34226 wxMenu
*arg1
= (wxMenu
*) 0 ;
34228 PyObject
* obj0
= 0 ;
34229 char *kwnames
[] = {
34230 (char *) "self", NULL
34233 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetStyle",kwnames
,&obj0
)) goto fail
;
34234 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34235 if (SWIG_arg_fail(1)) SWIG_fail
;
34237 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34238 result
= (long)((wxMenu
const *)arg1
)->GetStyle();
34240 wxPyEndAllowThreads(__tstate
);
34241 if (PyErr_Occurred()) SWIG_fail
;
34244 resultobj
= SWIG_From_long((long)(result
));
34252 static PyObject
*_wrap_Menu_UpdateUI(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34253 PyObject
*resultobj
;
34254 wxMenu
*arg1
= (wxMenu
*) 0 ;
34255 wxEvtHandler
*arg2
= (wxEvtHandler
*) NULL
;
34256 PyObject
* obj0
= 0 ;
34257 PyObject
* obj1
= 0 ;
34258 char *kwnames
[] = {
34259 (char *) "self",(char *) "source", NULL
34262 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Menu_UpdateUI",kwnames
,&obj0
,&obj1
)) goto fail
;
34263 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34264 if (SWIG_arg_fail(1)) SWIG_fail
;
34266 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
34267 if (SWIG_arg_fail(2)) SWIG_fail
;
34270 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34271 (arg1
)->UpdateUI(arg2
);
34273 wxPyEndAllowThreads(__tstate
);
34274 if (PyErr_Occurred()) SWIG_fail
;
34276 Py_INCREF(Py_None
); resultobj
= Py_None
;
34283 static PyObject
*_wrap_Menu_GetMenuBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34284 PyObject
*resultobj
;
34285 wxMenu
*arg1
= (wxMenu
*) 0 ;
34287 PyObject
* obj0
= 0 ;
34288 char *kwnames
[] = {
34289 (char *) "self", NULL
34292 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetMenuBar",kwnames
,&obj0
)) goto fail
;
34293 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34294 if (SWIG_arg_fail(1)) SWIG_fail
;
34296 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34297 result
= (wxMenuBar
*)((wxMenu
const *)arg1
)->GetMenuBar();
34299 wxPyEndAllowThreads(__tstate
);
34300 if (PyErr_Occurred()) SWIG_fail
;
34303 resultobj
= wxPyMake_wxObject(result
, 0);
34311 static PyObject
*_wrap_Menu_Attach(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34312 PyObject
*resultobj
;
34313 wxMenu
*arg1
= (wxMenu
*) 0 ;
34314 wxMenuBarBase
*arg2
= (wxMenuBarBase
*) 0 ;
34315 PyObject
* obj0
= 0 ;
34316 PyObject
* obj1
= 0 ;
34317 char *kwnames
[] = {
34318 (char *) "self",(char *) "menubar", NULL
34321 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_Attach",kwnames
,&obj0
,&obj1
)) goto fail
;
34322 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34323 if (SWIG_arg_fail(1)) SWIG_fail
;
34324 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMenuBarBase
, SWIG_POINTER_EXCEPTION
| 0);
34325 if (SWIG_arg_fail(2)) SWIG_fail
;
34327 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34328 (arg1
)->Attach(arg2
);
34330 wxPyEndAllowThreads(__tstate
);
34331 if (PyErr_Occurred()) SWIG_fail
;
34333 Py_INCREF(Py_None
); resultobj
= Py_None
;
34340 static PyObject
*_wrap_Menu_Detach(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34341 PyObject
*resultobj
;
34342 wxMenu
*arg1
= (wxMenu
*) 0 ;
34343 PyObject
* obj0
= 0 ;
34344 char *kwnames
[] = {
34345 (char *) "self", NULL
34348 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_Detach",kwnames
,&obj0
)) goto fail
;
34349 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34350 if (SWIG_arg_fail(1)) SWIG_fail
;
34352 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34355 wxPyEndAllowThreads(__tstate
);
34356 if (PyErr_Occurred()) SWIG_fail
;
34358 Py_INCREF(Py_None
); resultobj
= Py_None
;
34365 static PyObject
*_wrap_Menu_IsAttached(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34366 PyObject
*resultobj
;
34367 wxMenu
*arg1
= (wxMenu
*) 0 ;
34369 PyObject
* obj0
= 0 ;
34370 char *kwnames
[] = {
34371 (char *) "self", NULL
34374 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_IsAttached",kwnames
,&obj0
)) goto fail
;
34375 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34376 if (SWIG_arg_fail(1)) SWIG_fail
;
34378 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34379 result
= (bool)((wxMenu
const *)arg1
)->IsAttached();
34381 wxPyEndAllowThreads(__tstate
);
34382 if (PyErr_Occurred()) SWIG_fail
;
34385 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34393 static PyObject
*_wrap_Menu_SetParent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34394 PyObject
*resultobj
;
34395 wxMenu
*arg1
= (wxMenu
*) 0 ;
34396 wxMenu
*arg2
= (wxMenu
*) 0 ;
34397 PyObject
* obj0
= 0 ;
34398 PyObject
* obj1
= 0 ;
34399 char *kwnames
[] = {
34400 (char *) "self",(char *) "parent", NULL
34403 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_SetParent",kwnames
,&obj0
,&obj1
)) goto fail
;
34404 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34405 if (SWIG_arg_fail(1)) SWIG_fail
;
34406 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34407 if (SWIG_arg_fail(2)) SWIG_fail
;
34409 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34410 (arg1
)->SetParent(arg2
);
34412 wxPyEndAllowThreads(__tstate
);
34413 if (PyErr_Occurred()) SWIG_fail
;
34415 Py_INCREF(Py_None
); resultobj
= Py_None
;
34422 static PyObject
*_wrap_Menu_GetParent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34423 PyObject
*resultobj
;
34424 wxMenu
*arg1
= (wxMenu
*) 0 ;
34426 PyObject
* obj0
= 0 ;
34427 char *kwnames
[] = {
34428 (char *) "self", NULL
34431 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetParent",kwnames
,&obj0
)) goto fail
;
34432 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34433 if (SWIG_arg_fail(1)) SWIG_fail
;
34435 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34436 result
= (wxMenu
*)((wxMenu
const *)arg1
)->GetParent();
34438 wxPyEndAllowThreads(__tstate
);
34439 if (PyErr_Occurred()) SWIG_fail
;
34442 resultobj
= wxPyMake_wxObject(result
, 0);
34450 static PyObject
* Menu_swigregister(PyObject
*, PyObject
*args
) {
34452 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
34453 SWIG_TypeClientData(SWIGTYPE_p_wxMenu
, obj
);
34455 return Py_BuildValue((char *)"");
34457 static PyObject
*_wrap_new_MenuBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34458 PyObject
*resultobj
;
34459 long arg1
= (long) 0 ;
34461 PyObject
* obj0
= 0 ;
34462 char *kwnames
[] = {
34463 (char *) "style", NULL
34466 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_MenuBar",kwnames
,&obj0
)) goto fail
;
34469 arg1
= (long)(SWIG_As_long(obj0
));
34470 if (SWIG_arg_fail(1)) SWIG_fail
;
34474 if (!wxPyCheckForApp()) SWIG_fail
;
34475 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34476 result
= (wxMenuBar
*)new wxMenuBar(arg1
);
34478 wxPyEndAllowThreads(__tstate
);
34479 if (PyErr_Occurred()) SWIG_fail
;
34481 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMenuBar
, 1);
34488 static PyObject
*_wrap_MenuBar_Append(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34489 PyObject
*resultobj
;
34490 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
34491 wxMenu
*arg2
= (wxMenu
*) 0 ;
34492 wxString
*arg3
= 0 ;
34494 bool temp3
= false ;
34495 PyObject
* obj0
= 0 ;
34496 PyObject
* obj1
= 0 ;
34497 PyObject
* obj2
= 0 ;
34498 char *kwnames
[] = {
34499 (char *) "self",(char *) "menu",(char *) "title", NULL
34502 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_Append",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
34503 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
34504 if (SWIG_arg_fail(1)) SWIG_fail
;
34505 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34506 if (SWIG_arg_fail(2)) SWIG_fail
;
34508 arg3
= wxString_in_helper(obj2
);
34509 if (arg3
== NULL
) SWIG_fail
;
34513 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34514 result
= (bool)(arg1
)->Append(arg2
,(wxString
const &)*arg3
);
34516 wxPyEndAllowThreads(__tstate
);
34517 if (PyErr_Occurred()) SWIG_fail
;
34520 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34536 static PyObject
*_wrap_MenuBar_Insert(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34537 PyObject
*resultobj
;
34538 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
34540 wxMenu
*arg3
= (wxMenu
*) 0 ;
34541 wxString
*arg4
= 0 ;
34543 bool temp4
= false ;
34544 PyObject
* obj0
= 0 ;
34545 PyObject
* obj1
= 0 ;
34546 PyObject
* obj2
= 0 ;
34547 PyObject
* obj3
= 0 ;
34548 char *kwnames
[] = {
34549 (char *) "self",(char *) "pos",(char *) "menu",(char *) "title", NULL
34552 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:MenuBar_Insert",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
34553 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
34554 if (SWIG_arg_fail(1)) SWIG_fail
;
34556 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
34557 if (SWIG_arg_fail(2)) SWIG_fail
;
34559 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34560 if (SWIG_arg_fail(3)) SWIG_fail
;
34562 arg4
= wxString_in_helper(obj3
);
34563 if (arg4
== NULL
) SWIG_fail
;
34567 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34568 result
= (bool)(arg1
)->Insert(arg2
,arg3
,(wxString
const &)*arg4
);
34570 wxPyEndAllowThreads(__tstate
);
34571 if (PyErr_Occurred()) SWIG_fail
;
34574 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34590 static PyObject
*_wrap_MenuBar_GetMenuCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34591 PyObject
*resultobj
;
34592 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
34594 PyObject
* obj0
= 0 ;
34595 char *kwnames
[] = {
34596 (char *) "self", NULL
34599 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuBar_GetMenuCount",kwnames
,&obj0
)) goto fail
;
34600 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
34601 if (SWIG_arg_fail(1)) SWIG_fail
;
34603 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34604 result
= (size_t)((wxMenuBar
const *)arg1
)->GetMenuCount();
34606 wxPyEndAllowThreads(__tstate
);
34607 if (PyErr_Occurred()) SWIG_fail
;
34610 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
34618 static PyObject
*_wrap_MenuBar_GetMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34619 PyObject
*resultobj
;
34620 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
34623 PyObject
* obj0
= 0 ;
34624 PyObject
* obj1
= 0 ;
34625 char *kwnames
[] = {
34626 (char *) "self",(char *) "pos", NULL
34629 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_GetMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
34630 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
34631 if (SWIG_arg_fail(1)) SWIG_fail
;
34633 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
34634 if (SWIG_arg_fail(2)) SWIG_fail
;
34637 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34638 result
= (wxMenu
*)((wxMenuBar
const *)arg1
)->GetMenu(arg2
);
34640 wxPyEndAllowThreads(__tstate
);
34641 if (PyErr_Occurred()) SWIG_fail
;
34644 resultobj
= wxPyMake_wxObject(result
, 0);
34652 static PyObject
*_wrap_MenuBar_Replace(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34653 PyObject
*resultobj
;
34654 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
34656 wxMenu
*arg3
= (wxMenu
*) 0 ;
34657 wxString
*arg4
= 0 ;
34659 bool temp4
= false ;
34660 PyObject
* obj0
= 0 ;
34661 PyObject
* obj1
= 0 ;
34662 PyObject
* obj2
= 0 ;
34663 PyObject
* obj3
= 0 ;
34664 char *kwnames
[] = {
34665 (char *) "self",(char *) "pos",(char *) "menu",(char *) "title", NULL
34668 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:MenuBar_Replace",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
34669 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
34670 if (SWIG_arg_fail(1)) SWIG_fail
;
34672 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
34673 if (SWIG_arg_fail(2)) SWIG_fail
;
34675 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34676 if (SWIG_arg_fail(3)) SWIG_fail
;
34678 arg4
= wxString_in_helper(obj3
);
34679 if (arg4
== NULL
) SWIG_fail
;
34683 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34684 result
= (wxMenu
*)(arg1
)->Replace(arg2
,arg3
,(wxString
const &)*arg4
);
34686 wxPyEndAllowThreads(__tstate
);
34687 if (PyErr_Occurred()) SWIG_fail
;
34690 resultobj
= wxPyMake_wxObject(result
, 0);
34706 static PyObject
*_wrap_MenuBar_Remove(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34707 PyObject
*resultobj
;
34708 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
34711 PyObject
* obj0
= 0 ;
34712 PyObject
* obj1
= 0 ;
34713 char *kwnames
[] = {
34714 (char *) "self",(char *) "pos", NULL
34717 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_Remove",kwnames
,&obj0
,&obj1
)) goto fail
;
34718 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
34719 if (SWIG_arg_fail(1)) SWIG_fail
;
34721 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
34722 if (SWIG_arg_fail(2)) SWIG_fail
;
34725 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34726 result
= (wxMenu
*)(arg1
)->Remove(arg2
);
34728 wxPyEndAllowThreads(__tstate
);
34729 if (PyErr_Occurred()) SWIG_fail
;
34732 resultobj
= wxPyMake_wxObject(result
, 0);
34740 static PyObject
*_wrap_MenuBar_EnableTop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34741 PyObject
*resultobj
;
34742 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
34745 PyObject
* obj0
= 0 ;
34746 PyObject
* obj1
= 0 ;
34747 PyObject
* obj2
= 0 ;
34748 char *kwnames
[] = {
34749 (char *) "self",(char *) "pos",(char *) "enable", NULL
34752 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_EnableTop",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
34753 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
34754 if (SWIG_arg_fail(1)) SWIG_fail
;
34756 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
34757 if (SWIG_arg_fail(2)) SWIG_fail
;
34760 arg3
= (bool)(SWIG_As_bool(obj2
));
34761 if (SWIG_arg_fail(3)) SWIG_fail
;
34764 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34765 (arg1
)->EnableTop(arg2
,arg3
);
34767 wxPyEndAllowThreads(__tstate
);
34768 if (PyErr_Occurred()) SWIG_fail
;
34770 Py_INCREF(Py_None
); resultobj
= Py_None
;
34777 static PyObject
*_wrap_MenuBar_IsEnabledTop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34778 PyObject
*resultobj
;
34779 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
34782 PyObject
* obj0
= 0 ;
34783 PyObject
* obj1
= 0 ;
34784 char *kwnames
[] = {
34785 (char *) "self",(char *) "pos", NULL
34788 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_IsEnabledTop",kwnames
,&obj0
,&obj1
)) goto fail
;
34789 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
34790 if (SWIG_arg_fail(1)) SWIG_fail
;
34792 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
34793 if (SWIG_arg_fail(2)) SWIG_fail
;
34796 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34797 result
= (bool)((wxMenuBar
const *)arg1
)->IsEnabledTop(arg2
);
34799 wxPyEndAllowThreads(__tstate
);
34800 if (PyErr_Occurred()) SWIG_fail
;
34803 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34811 static PyObject
*_wrap_MenuBar_SetLabelTop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34812 PyObject
*resultobj
;
34813 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
34815 wxString
*arg3
= 0 ;
34816 bool temp3
= false ;
34817 PyObject
* obj0
= 0 ;
34818 PyObject
* obj1
= 0 ;
34819 PyObject
* obj2
= 0 ;
34820 char *kwnames
[] = {
34821 (char *) "self",(char *) "pos",(char *) "label", NULL
34824 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_SetLabelTop",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
34825 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
34826 if (SWIG_arg_fail(1)) SWIG_fail
;
34828 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
34829 if (SWIG_arg_fail(2)) SWIG_fail
;
34832 arg3
= wxString_in_helper(obj2
);
34833 if (arg3
== NULL
) SWIG_fail
;
34837 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34838 (arg1
)->SetLabelTop(arg2
,(wxString
const &)*arg3
);
34840 wxPyEndAllowThreads(__tstate
);
34841 if (PyErr_Occurred()) SWIG_fail
;
34843 Py_INCREF(Py_None
); resultobj
= Py_None
;
34858 static PyObject
*_wrap_MenuBar_GetLabelTop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34859 PyObject
*resultobj
;
34860 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
34863 PyObject
* obj0
= 0 ;
34864 PyObject
* obj1
= 0 ;
34865 char *kwnames
[] = {
34866 (char *) "self",(char *) "pos", NULL
34869 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_GetLabelTop",kwnames
,&obj0
,&obj1
)) goto fail
;
34870 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
34871 if (SWIG_arg_fail(1)) SWIG_fail
;
34873 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
34874 if (SWIG_arg_fail(2)) SWIG_fail
;
34877 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34878 result
= ((wxMenuBar
const *)arg1
)->GetLabelTop(arg2
);
34880 wxPyEndAllowThreads(__tstate
);
34881 if (PyErr_Occurred()) SWIG_fail
;
34885 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
34887 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
34896 static PyObject
*_wrap_MenuBar_FindMenuItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34897 PyObject
*resultobj
;
34898 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
34899 wxString
*arg2
= 0 ;
34900 wxString
*arg3
= 0 ;
34902 bool temp2
= false ;
34903 bool temp3
= false ;
34904 PyObject
* obj0
= 0 ;
34905 PyObject
* obj1
= 0 ;
34906 PyObject
* obj2
= 0 ;
34907 char *kwnames
[] = {
34908 (char *) "self",(char *) "menu",(char *) "item", NULL
34911 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_FindMenuItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
34912 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
34913 if (SWIG_arg_fail(1)) SWIG_fail
;
34915 arg2
= wxString_in_helper(obj1
);
34916 if (arg2
== NULL
) SWIG_fail
;
34920 arg3
= wxString_in_helper(obj2
);
34921 if (arg3
== NULL
) SWIG_fail
;
34925 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34926 result
= (int)((wxMenuBar
const *)arg1
)->FindMenuItem((wxString
const &)*arg2
,(wxString
const &)*arg3
);
34928 wxPyEndAllowThreads(__tstate
);
34929 if (PyErr_Occurred()) SWIG_fail
;
34932 resultobj
= SWIG_From_int((int)(result
));
34956 static PyObject
*_wrap_MenuBar_FindItemById(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34957 PyObject
*resultobj
;
34958 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
34960 wxMenuItem
*result
;
34961 PyObject
* obj0
= 0 ;
34962 PyObject
* obj1
= 0 ;
34963 char *kwnames
[] = {
34964 (char *) "self",(char *) "id", NULL
34967 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_FindItemById",kwnames
,&obj0
,&obj1
)) goto fail
;
34968 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
34969 if (SWIG_arg_fail(1)) SWIG_fail
;
34971 arg2
= (int)(SWIG_As_int(obj1
));
34972 if (SWIG_arg_fail(2)) SWIG_fail
;
34975 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34976 result
= (wxMenuItem
*)((wxMenuBar
const *)arg1
)->FindItem(arg2
);
34978 wxPyEndAllowThreads(__tstate
);
34979 if (PyErr_Occurred()) SWIG_fail
;
34982 resultobj
= wxPyMake_wxObject(result
, 0);
34990 static PyObject
*_wrap_MenuBar_FindMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34991 PyObject
*resultobj
;
34992 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
34993 wxString
*arg2
= 0 ;
34995 bool temp2
= false ;
34996 PyObject
* obj0
= 0 ;
34997 PyObject
* obj1
= 0 ;
34998 char *kwnames
[] = {
34999 (char *) "self",(char *) "title", NULL
35002 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_FindMenu",kwnames
,&obj0
,&obj1
)) 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 arg2
= wxString_in_helper(obj1
);
35007 if (arg2
== NULL
) SWIG_fail
;
35011 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35012 result
= (int)((wxMenuBar
const *)arg1
)->FindMenu((wxString
const &)*arg2
);
35014 wxPyEndAllowThreads(__tstate
);
35015 if (PyErr_Occurred()) SWIG_fail
;
35018 resultobj
= SWIG_From_int((int)(result
));
35034 static PyObject
*_wrap_MenuBar_Enable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35035 PyObject
*resultobj
;
35036 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
35039 PyObject
* obj0
= 0 ;
35040 PyObject
* obj1
= 0 ;
35041 PyObject
* obj2
= 0 ;
35042 char *kwnames
[] = {
35043 (char *) "self",(char *) "id",(char *) "enable", NULL
35046 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_Enable",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
35047 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
35048 if (SWIG_arg_fail(1)) SWIG_fail
;
35050 arg2
= (int)(SWIG_As_int(obj1
));
35051 if (SWIG_arg_fail(2)) SWIG_fail
;
35054 arg3
= (bool)(SWIG_As_bool(obj2
));
35055 if (SWIG_arg_fail(3)) SWIG_fail
;
35058 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35059 (arg1
)->Enable(arg2
,arg3
);
35061 wxPyEndAllowThreads(__tstate
);
35062 if (PyErr_Occurred()) SWIG_fail
;
35064 Py_INCREF(Py_None
); resultobj
= Py_None
;
35071 static PyObject
*_wrap_MenuBar_Check(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35072 PyObject
*resultobj
;
35073 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
35076 PyObject
* obj0
= 0 ;
35077 PyObject
* obj1
= 0 ;
35078 PyObject
* obj2
= 0 ;
35079 char *kwnames
[] = {
35080 (char *) "self",(char *) "id",(char *) "check", NULL
35083 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_Check",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
35084 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
35085 if (SWIG_arg_fail(1)) SWIG_fail
;
35087 arg2
= (int)(SWIG_As_int(obj1
));
35088 if (SWIG_arg_fail(2)) SWIG_fail
;
35091 arg3
= (bool)(SWIG_As_bool(obj2
));
35092 if (SWIG_arg_fail(3)) SWIG_fail
;
35095 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35096 (arg1
)->Check(arg2
,arg3
);
35098 wxPyEndAllowThreads(__tstate
);
35099 if (PyErr_Occurred()) SWIG_fail
;
35101 Py_INCREF(Py_None
); resultobj
= Py_None
;
35108 static PyObject
*_wrap_MenuBar_IsChecked(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35109 PyObject
*resultobj
;
35110 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
35113 PyObject
* obj0
= 0 ;
35114 PyObject
* obj1
= 0 ;
35115 char *kwnames
[] = {
35116 (char *) "self",(char *) "id", NULL
35119 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_IsChecked",kwnames
,&obj0
,&obj1
)) goto fail
;
35120 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
35121 if (SWIG_arg_fail(1)) SWIG_fail
;
35123 arg2
= (int)(SWIG_As_int(obj1
));
35124 if (SWIG_arg_fail(2)) SWIG_fail
;
35127 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35128 result
= (bool)((wxMenuBar
const *)arg1
)->IsChecked(arg2
);
35130 wxPyEndAllowThreads(__tstate
);
35131 if (PyErr_Occurred()) SWIG_fail
;
35134 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35142 static PyObject
*_wrap_MenuBar_IsEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35143 PyObject
*resultobj
;
35144 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
35147 PyObject
* obj0
= 0 ;
35148 PyObject
* obj1
= 0 ;
35149 char *kwnames
[] = {
35150 (char *) "self",(char *) "id", NULL
35153 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_IsEnabled",kwnames
,&obj0
,&obj1
)) goto fail
;
35154 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
35155 if (SWIG_arg_fail(1)) SWIG_fail
;
35157 arg2
= (int)(SWIG_As_int(obj1
));
35158 if (SWIG_arg_fail(2)) SWIG_fail
;
35161 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35162 result
= (bool)((wxMenuBar
const *)arg1
)->IsEnabled(arg2
);
35164 wxPyEndAllowThreads(__tstate
);
35165 if (PyErr_Occurred()) SWIG_fail
;
35168 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35176 static PyObject
*_wrap_MenuBar_SetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35177 PyObject
*resultobj
;
35178 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
35180 wxString
*arg3
= 0 ;
35181 bool temp3
= false ;
35182 PyObject
* obj0
= 0 ;
35183 PyObject
* obj1
= 0 ;
35184 PyObject
* obj2
= 0 ;
35185 char *kwnames
[] = {
35186 (char *) "self",(char *) "id",(char *) "label", NULL
35189 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_SetLabel",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
35190 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
35191 if (SWIG_arg_fail(1)) SWIG_fail
;
35193 arg2
= (int)(SWIG_As_int(obj1
));
35194 if (SWIG_arg_fail(2)) SWIG_fail
;
35197 arg3
= wxString_in_helper(obj2
);
35198 if (arg3
== NULL
) SWIG_fail
;
35202 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35203 (arg1
)->SetLabel(arg2
,(wxString
const &)*arg3
);
35205 wxPyEndAllowThreads(__tstate
);
35206 if (PyErr_Occurred()) SWIG_fail
;
35208 Py_INCREF(Py_None
); resultobj
= Py_None
;
35223 static PyObject
*_wrap_MenuBar_GetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35224 PyObject
*resultobj
;
35225 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
35228 PyObject
* obj0
= 0 ;
35229 PyObject
* obj1
= 0 ;
35230 char *kwnames
[] = {
35231 (char *) "self",(char *) "id", NULL
35234 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_GetLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
35235 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
35236 if (SWIG_arg_fail(1)) SWIG_fail
;
35238 arg2
= (int)(SWIG_As_int(obj1
));
35239 if (SWIG_arg_fail(2)) SWIG_fail
;
35242 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35243 result
= ((wxMenuBar
const *)arg1
)->GetLabel(arg2
);
35245 wxPyEndAllowThreads(__tstate
);
35246 if (PyErr_Occurred()) SWIG_fail
;
35250 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
35252 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
35261 static PyObject
*_wrap_MenuBar_SetHelpString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35262 PyObject
*resultobj
;
35263 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
35265 wxString
*arg3
= 0 ;
35266 bool temp3
= false ;
35267 PyObject
* obj0
= 0 ;
35268 PyObject
* obj1
= 0 ;
35269 PyObject
* obj2
= 0 ;
35270 char *kwnames
[] = {
35271 (char *) "self",(char *) "id",(char *) "helpString", NULL
35274 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_SetHelpString",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
35275 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
35276 if (SWIG_arg_fail(1)) SWIG_fail
;
35278 arg2
= (int)(SWIG_As_int(obj1
));
35279 if (SWIG_arg_fail(2)) SWIG_fail
;
35282 arg3
= wxString_in_helper(obj2
);
35283 if (arg3
== NULL
) SWIG_fail
;
35287 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35288 (arg1
)->SetHelpString(arg2
,(wxString
const &)*arg3
);
35290 wxPyEndAllowThreads(__tstate
);
35291 if (PyErr_Occurred()) SWIG_fail
;
35293 Py_INCREF(Py_None
); resultobj
= Py_None
;
35308 static PyObject
*_wrap_MenuBar_GetHelpString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35309 PyObject
*resultobj
;
35310 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
35313 PyObject
* obj0
= 0 ;
35314 PyObject
* obj1
= 0 ;
35315 char *kwnames
[] = {
35316 (char *) "self",(char *) "id", NULL
35319 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_GetHelpString",kwnames
,&obj0
,&obj1
)) goto fail
;
35320 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
35321 if (SWIG_arg_fail(1)) SWIG_fail
;
35323 arg2
= (int)(SWIG_As_int(obj1
));
35324 if (SWIG_arg_fail(2)) SWIG_fail
;
35327 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35328 result
= ((wxMenuBar
const *)arg1
)->GetHelpString(arg2
);
35330 wxPyEndAllowThreads(__tstate
);
35331 if (PyErr_Occurred()) SWIG_fail
;
35335 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
35337 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
35346 static PyObject
*_wrap_MenuBar_GetFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35347 PyObject
*resultobj
;
35348 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
35350 PyObject
* obj0
= 0 ;
35351 char *kwnames
[] = {
35352 (char *) "self", NULL
35355 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuBar_GetFrame",kwnames
,&obj0
)) goto fail
;
35356 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
35357 if (SWIG_arg_fail(1)) SWIG_fail
;
35359 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35360 result
= (wxFrame
*)((wxMenuBar
const *)arg1
)->GetFrame();
35362 wxPyEndAllowThreads(__tstate
);
35363 if (PyErr_Occurred()) SWIG_fail
;
35366 resultobj
= wxPyMake_wxObject(result
, 0);
35374 static PyObject
*_wrap_MenuBar_IsAttached(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35375 PyObject
*resultobj
;
35376 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
35378 PyObject
* obj0
= 0 ;
35379 char *kwnames
[] = {
35380 (char *) "self", NULL
35383 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuBar_IsAttached",kwnames
,&obj0
)) goto fail
;
35384 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
35385 if (SWIG_arg_fail(1)) SWIG_fail
;
35387 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35388 result
= (bool)((wxMenuBar
const *)arg1
)->IsAttached();
35390 wxPyEndAllowThreads(__tstate
);
35391 if (PyErr_Occurred()) SWIG_fail
;
35394 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35402 static PyObject
*_wrap_MenuBar_Attach(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35403 PyObject
*resultobj
;
35404 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
35405 wxFrame
*arg2
= (wxFrame
*) 0 ;
35406 PyObject
* obj0
= 0 ;
35407 PyObject
* obj1
= 0 ;
35408 char *kwnames
[] = {
35409 (char *) "self",(char *) "frame", NULL
35412 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_Attach",kwnames
,&obj0
,&obj1
)) goto fail
;
35413 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
35414 if (SWIG_arg_fail(1)) SWIG_fail
;
35415 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFrame
, SWIG_POINTER_EXCEPTION
| 0);
35416 if (SWIG_arg_fail(2)) SWIG_fail
;
35418 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35419 (arg1
)->Attach(arg2
);
35421 wxPyEndAllowThreads(__tstate
);
35422 if (PyErr_Occurred()) SWIG_fail
;
35424 Py_INCREF(Py_None
); resultobj
= Py_None
;
35431 static PyObject
*_wrap_MenuBar_Detach(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35432 PyObject
*resultobj
;
35433 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
35434 PyObject
* obj0
= 0 ;
35435 char *kwnames
[] = {
35436 (char *) "self", NULL
35439 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuBar_Detach",kwnames
,&obj0
)) goto fail
;
35440 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
35441 if (SWIG_arg_fail(1)) SWIG_fail
;
35443 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35446 wxPyEndAllowThreads(__tstate
);
35447 if (PyErr_Occurred()) SWIG_fail
;
35449 Py_INCREF(Py_None
); resultobj
= Py_None
;
35456 static PyObject
* MenuBar_swigregister(PyObject
*, PyObject
*args
) {
35458 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
35459 SWIG_TypeClientData(SWIGTYPE_p_wxMenuBar
, obj
);
35461 return Py_BuildValue((char *)"");
35463 static PyObject
*_wrap_new_MenuItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35464 PyObject
*resultobj
;
35465 wxMenu
*arg1
= (wxMenu
*) NULL
;
35466 int arg2
= (int) wxID_ANY
;
35467 wxString
const &arg3_defvalue
= wxPyEmptyString
;
35468 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
35469 wxString
const &arg4_defvalue
= wxPyEmptyString
;
35470 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
35471 wxItemKind arg5
= (wxItemKind
) wxITEM_NORMAL
;
35472 wxMenu
*arg6
= (wxMenu
*) NULL
;
35473 wxMenuItem
*result
;
35474 bool temp3
= false ;
35475 bool temp4
= false ;
35476 PyObject
* obj0
= 0 ;
35477 PyObject
* obj1
= 0 ;
35478 PyObject
* obj2
= 0 ;
35479 PyObject
* obj3
= 0 ;
35480 PyObject
* obj4
= 0 ;
35481 PyObject
* obj5
= 0 ;
35482 char *kwnames
[] = {
35483 (char *) "parentMenu",(char *) "id",(char *) "text",(char *) "help",(char *) "kind",(char *) "subMenu", NULL
35486 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOOOO:new_MenuItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
35488 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
35489 if (SWIG_arg_fail(1)) SWIG_fail
;
35493 arg2
= (int)(SWIG_As_int(obj1
));
35494 if (SWIG_arg_fail(2)) SWIG_fail
;
35499 arg3
= wxString_in_helper(obj2
);
35500 if (arg3
== NULL
) SWIG_fail
;
35506 arg4
= wxString_in_helper(obj3
);
35507 if (arg4
== NULL
) SWIG_fail
;
35513 arg5
= (wxItemKind
)(SWIG_As_int(obj4
));
35514 if (SWIG_arg_fail(5)) SWIG_fail
;
35518 SWIG_Python_ConvertPtr(obj5
, (void **)&arg6
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
35519 if (SWIG_arg_fail(6)) SWIG_fail
;
35522 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35523 result
= (wxMenuItem
*)new wxMenuItem(arg1
,arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,(wxItemKind
)arg5
,arg6
);
35525 wxPyEndAllowThreads(__tstate
);
35526 if (PyErr_Occurred()) SWIG_fail
;
35529 resultobj
= wxPyMake_wxObject(result
, 1);
35553 static PyObject
*_wrap_MenuItem_GetMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35554 PyObject
*resultobj
;
35555 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
35557 PyObject
* obj0
= 0 ;
35558 char *kwnames
[] = {
35559 (char *) "self", NULL
35562 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetMenu",kwnames
,&obj0
)) goto fail
;
35563 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
35564 if (SWIG_arg_fail(1)) SWIG_fail
;
35566 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35567 result
= (wxMenu
*)((wxMenuItem
const *)arg1
)->GetMenu();
35569 wxPyEndAllowThreads(__tstate
);
35570 if (PyErr_Occurred()) SWIG_fail
;
35573 resultobj
= wxPyMake_wxObject(result
, 0);
35581 static PyObject
*_wrap_MenuItem_SetMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35582 PyObject
*resultobj
;
35583 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
35584 wxMenu
*arg2
= (wxMenu
*) 0 ;
35585 PyObject
* obj0
= 0 ;
35586 PyObject
* obj1
= 0 ;
35587 char *kwnames
[] = {
35588 (char *) "self",(char *) "menu", NULL
35591 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
35592 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
35593 if (SWIG_arg_fail(1)) SWIG_fail
;
35594 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
35595 if (SWIG_arg_fail(2)) SWIG_fail
;
35597 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35598 (arg1
)->SetMenu(arg2
);
35600 wxPyEndAllowThreads(__tstate
);
35601 if (PyErr_Occurred()) SWIG_fail
;
35603 Py_INCREF(Py_None
); resultobj
= Py_None
;
35610 static PyObject
*_wrap_MenuItem_SetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35611 PyObject
*resultobj
;
35612 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
35614 PyObject
* obj0
= 0 ;
35615 PyObject
* obj1
= 0 ;
35616 char *kwnames
[] = {
35617 (char *) "self",(char *) "id", NULL
35620 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetId",kwnames
,&obj0
,&obj1
)) goto fail
;
35621 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
35622 if (SWIG_arg_fail(1)) SWIG_fail
;
35624 arg2
= (int)(SWIG_As_int(obj1
));
35625 if (SWIG_arg_fail(2)) SWIG_fail
;
35628 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35629 (arg1
)->SetId(arg2
);
35631 wxPyEndAllowThreads(__tstate
);
35632 if (PyErr_Occurred()) SWIG_fail
;
35634 Py_INCREF(Py_None
); resultobj
= Py_None
;
35641 static PyObject
*_wrap_MenuItem_GetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35642 PyObject
*resultobj
;
35643 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
35645 PyObject
* obj0
= 0 ;
35646 char *kwnames
[] = {
35647 (char *) "self", NULL
35650 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetId",kwnames
,&obj0
)) goto fail
;
35651 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
35652 if (SWIG_arg_fail(1)) SWIG_fail
;
35654 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35655 result
= (int)((wxMenuItem
const *)arg1
)->GetId();
35657 wxPyEndAllowThreads(__tstate
);
35658 if (PyErr_Occurred()) SWIG_fail
;
35661 resultobj
= SWIG_From_int((int)(result
));
35669 static PyObject
*_wrap_MenuItem_IsSeparator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35670 PyObject
*resultobj
;
35671 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
35673 PyObject
* obj0
= 0 ;
35674 char *kwnames
[] = {
35675 (char *) "self", NULL
35678 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_IsSeparator",kwnames
,&obj0
)) goto fail
;
35679 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
35680 if (SWIG_arg_fail(1)) SWIG_fail
;
35682 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35683 result
= (bool)((wxMenuItem
const *)arg1
)->IsSeparator();
35685 wxPyEndAllowThreads(__tstate
);
35686 if (PyErr_Occurred()) SWIG_fail
;
35689 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35697 static PyObject
*_wrap_MenuItem_SetText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35698 PyObject
*resultobj
;
35699 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
35700 wxString
*arg2
= 0 ;
35701 bool temp2
= false ;
35702 PyObject
* obj0
= 0 ;
35703 PyObject
* obj1
= 0 ;
35704 char *kwnames
[] = {
35705 (char *) "self",(char *) "str", NULL
35708 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetText",kwnames
,&obj0
,&obj1
)) goto fail
;
35709 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
35710 if (SWIG_arg_fail(1)) SWIG_fail
;
35712 arg2
= wxString_in_helper(obj1
);
35713 if (arg2
== NULL
) SWIG_fail
;
35717 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35718 (arg1
)->SetText((wxString
const &)*arg2
);
35720 wxPyEndAllowThreads(__tstate
);
35721 if (PyErr_Occurred()) SWIG_fail
;
35723 Py_INCREF(Py_None
); resultobj
= Py_None
;
35738 static PyObject
*_wrap_MenuItem_GetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35739 PyObject
*resultobj
;
35740 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
35742 PyObject
* obj0
= 0 ;
35743 char *kwnames
[] = {
35744 (char *) "self", NULL
35747 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetLabel",kwnames
,&obj0
)) goto fail
;
35748 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
35749 if (SWIG_arg_fail(1)) SWIG_fail
;
35751 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35752 result
= ((wxMenuItem
const *)arg1
)->GetLabel();
35754 wxPyEndAllowThreads(__tstate
);
35755 if (PyErr_Occurred()) SWIG_fail
;
35759 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
35761 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
35770 static PyObject
*_wrap_MenuItem_GetText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35771 PyObject
*resultobj
;
35772 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
35774 PyObject
* obj0
= 0 ;
35775 char *kwnames
[] = {
35776 (char *) "self", NULL
35779 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetText",kwnames
,&obj0
)) goto fail
;
35780 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
35781 if (SWIG_arg_fail(1)) SWIG_fail
;
35783 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35785 wxString
const &_result_ref
= ((wxMenuItem
const *)arg1
)->GetText();
35786 result
= (wxString
*) &_result_ref
;
35789 wxPyEndAllowThreads(__tstate
);
35790 if (PyErr_Occurred()) SWIG_fail
;
35794 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
35796 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
35805 static PyObject
*_wrap_MenuItem_GetLabelFromText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35806 PyObject
*resultobj
;
35807 wxString
*arg1
= 0 ;
35809 bool temp1
= false ;
35810 PyObject
* obj0
= 0 ;
35811 char *kwnames
[] = {
35812 (char *) "text", NULL
35815 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetLabelFromText",kwnames
,&obj0
)) goto fail
;
35817 arg1
= wxString_in_helper(obj0
);
35818 if (arg1
== NULL
) SWIG_fail
;
35822 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35823 result
= wxMenuItem::GetLabelFromText((wxString
const &)*arg1
);
35825 wxPyEndAllowThreads(__tstate
);
35826 if (PyErr_Occurred()) SWIG_fail
;
35830 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
35832 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
35849 static PyObject
*_wrap_MenuItem_GetKind(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35850 PyObject
*resultobj
;
35851 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
35853 PyObject
* obj0
= 0 ;
35854 char *kwnames
[] = {
35855 (char *) "self", NULL
35858 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetKind",kwnames
,&obj0
)) goto fail
;
35859 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
35860 if (SWIG_arg_fail(1)) SWIG_fail
;
35862 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35863 result
= (wxItemKind
)((wxMenuItem
const *)arg1
)->GetKind();
35865 wxPyEndAllowThreads(__tstate
);
35866 if (PyErr_Occurred()) SWIG_fail
;
35868 resultobj
= SWIG_From_int((result
));
35875 static PyObject
*_wrap_MenuItem_SetKind(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35876 PyObject
*resultobj
;
35877 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
35879 PyObject
* obj0
= 0 ;
35880 PyObject
* obj1
= 0 ;
35881 char *kwnames
[] = {
35882 (char *) "self",(char *) "kind", NULL
35885 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetKind",kwnames
,&obj0
,&obj1
)) goto fail
;
35886 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
35887 if (SWIG_arg_fail(1)) SWIG_fail
;
35889 arg2
= (wxItemKind
)(SWIG_As_int(obj1
));
35890 if (SWIG_arg_fail(2)) SWIG_fail
;
35893 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35894 (arg1
)->SetKind((wxItemKind
)arg2
);
35896 wxPyEndAllowThreads(__tstate
);
35897 if (PyErr_Occurred()) SWIG_fail
;
35899 Py_INCREF(Py_None
); resultobj
= Py_None
;
35906 static PyObject
*_wrap_MenuItem_SetCheckable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35907 PyObject
*resultobj
;
35908 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
35910 PyObject
* obj0
= 0 ;
35911 PyObject
* obj1
= 0 ;
35912 char *kwnames
[] = {
35913 (char *) "self",(char *) "checkable", NULL
35916 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetCheckable",kwnames
,&obj0
,&obj1
)) goto fail
;
35917 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
35918 if (SWIG_arg_fail(1)) SWIG_fail
;
35920 arg2
= (bool)(SWIG_As_bool(obj1
));
35921 if (SWIG_arg_fail(2)) SWIG_fail
;
35924 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35925 (arg1
)->SetCheckable(arg2
);
35927 wxPyEndAllowThreads(__tstate
);
35928 if (PyErr_Occurred()) SWIG_fail
;
35930 Py_INCREF(Py_None
); resultobj
= Py_None
;
35937 static PyObject
*_wrap_MenuItem_IsCheckable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35938 PyObject
*resultobj
;
35939 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
35941 PyObject
* obj0
= 0 ;
35942 char *kwnames
[] = {
35943 (char *) "self", NULL
35946 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_IsCheckable",kwnames
,&obj0
)) goto fail
;
35947 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
35948 if (SWIG_arg_fail(1)) SWIG_fail
;
35950 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35951 result
= (bool)((wxMenuItem
const *)arg1
)->IsCheckable();
35953 wxPyEndAllowThreads(__tstate
);
35954 if (PyErr_Occurred()) SWIG_fail
;
35957 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35965 static PyObject
*_wrap_MenuItem_IsSubMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35966 PyObject
*resultobj
;
35967 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
35969 PyObject
* obj0
= 0 ;
35970 char *kwnames
[] = {
35971 (char *) "self", NULL
35974 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_IsSubMenu",kwnames
,&obj0
)) goto fail
;
35975 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
35976 if (SWIG_arg_fail(1)) SWIG_fail
;
35978 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35979 result
= (bool)((wxMenuItem
const *)arg1
)->IsSubMenu();
35981 wxPyEndAllowThreads(__tstate
);
35982 if (PyErr_Occurred()) SWIG_fail
;
35985 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35993 static PyObject
*_wrap_MenuItem_SetSubMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35994 PyObject
*resultobj
;
35995 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
35996 wxMenu
*arg2
= (wxMenu
*) 0 ;
35997 PyObject
* obj0
= 0 ;
35998 PyObject
* obj1
= 0 ;
35999 char *kwnames
[] = {
36000 (char *) "self",(char *) "menu", NULL
36003 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetSubMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
36004 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36005 if (SWIG_arg_fail(1)) SWIG_fail
;
36006 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
36007 if (SWIG_arg_fail(2)) SWIG_fail
;
36009 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36010 (arg1
)->SetSubMenu(arg2
);
36012 wxPyEndAllowThreads(__tstate
);
36013 if (PyErr_Occurred()) SWIG_fail
;
36015 Py_INCREF(Py_None
); resultobj
= Py_None
;
36022 static PyObject
*_wrap_MenuItem_GetSubMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36023 PyObject
*resultobj
;
36024 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36026 PyObject
* obj0
= 0 ;
36027 char *kwnames
[] = {
36028 (char *) "self", NULL
36031 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetSubMenu",kwnames
,&obj0
)) goto fail
;
36032 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36033 if (SWIG_arg_fail(1)) SWIG_fail
;
36035 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36036 result
= (wxMenu
*)((wxMenuItem
const *)arg1
)->GetSubMenu();
36038 wxPyEndAllowThreads(__tstate
);
36039 if (PyErr_Occurred()) SWIG_fail
;
36042 resultobj
= wxPyMake_wxObject(result
, 0);
36050 static PyObject
*_wrap_MenuItem_Enable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36051 PyObject
*resultobj
;
36052 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36053 bool arg2
= (bool) true ;
36054 PyObject
* obj0
= 0 ;
36055 PyObject
* obj1
= 0 ;
36056 char *kwnames
[] = {
36057 (char *) "self",(char *) "enable", NULL
36060 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:MenuItem_Enable",kwnames
,&obj0
,&obj1
)) goto fail
;
36061 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36062 if (SWIG_arg_fail(1)) SWIG_fail
;
36065 arg2
= (bool)(SWIG_As_bool(obj1
));
36066 if (SWIG_arg_fail(2)) SWIG_fail
;
36070 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36071 (arg1
)->Enable(arg2
);
36073 wxPyEndAllowThreads(__tstate
);
36074 if (PyErr_Occurred()) SWIG_fail
;
36076 Py_INCREF(Py_None
); resultobj
= Py_None
;
36083 static PyObject
*_wrap_MenuItem_IsEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36084 PyObject
*resultobj
;
36085 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36087 PyObject
* obj0
= 0 ;
36088 char *kwnames
[] = {
36089 (char *) "self", NULL
36092 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_IsEnabled",kwnames
,&obj0
)) goto fail
;
36093 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36094 if (SWIG_arg_fail(1)) SWIG_fail
;
36096 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36097 result
= (bool)((wxMenuItem
const *)arg1
)->IsEnabled();
36099 wxPyEndAllowThreads(__tstate
);
36100 if (PyErr_Occurred()) SWIG_fail
;
36103 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
36111 static PyObject
*_wrap_MenuItem_Check(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36112 PyObject
*resultobj
;
36113 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36114 bool arg2
= (bool) true ;
36115 PyObject
* obj0
= 0 ;
36116 PyObject
* obj1
= 0 ;
36117 char *kwnames
[] = {
36118 (char *) "self",(char *) "check", NULL
36121 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:MenuItem_Check",kwnames
,&obj0
,&obj1
)) goto fail
;
36122 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36123 if (SWIG_arg_fail(1)) SWIG_fail
;
36126 arg2
= (bool)(SWIG_As_bool(obj1
));
36127 if (SWIG_arg_fail(2)) SWIG_fail
;
36131 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36132 (arg1
)->Check(arg2
);
36134 wxPyEndAllowThreads(__tstate
);
36135 if (PyErr_Occurred()) SWIG_fail
;
36137 Py_INCREF(Py_None
); resultobj
= Py_None
;
36144 static PyObject
*_wrap_MenuItem_IsChecked(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36145 PyObject
*resultobj
;
36146 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36148 PyObject
* obj0
= 0 ;
36149 char *kwnames
[] = {
36150 (char *) "self", NULL
36153 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_IsChecked",kwnames
,&obj0
)) goto fail
;
36154 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36155 if (SWIG_arg_fail(1)) SWIG_fail
;
36157 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36158 result
= (bool)((wxMenuItem
const *)arg1
)->IsChecked();
36160 wxPyEndAllowThreads(__tstate
);
36161 if (PyErr_Occurred()) SWIG_fail
;
36164 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
36172 static PyObject
*_wrap_MenuItem_Toggle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36173 PyObject
*resultobj
;
36174 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36175 PyObject
* obj0
= 0 ;
36176 char *kwnames
[] = {
36177 (char *) "self", NULL
36180 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_Toggle",kwnames
,&obj0
)) goto fail
;
36181 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36182 if (SWIG_arg_fail(1)) SWIG_fail
;
36184 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36187 wxPyEndAllowThreads(__tstate
);
36188 if (PyErr_Occurred()) SWIG_fail
;
36190 Py_INCREF(Py_None
); resultobj
= Py_None
;
36197 static PyObject
*_wrap_MenuItem_SetHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36198 PyObject
*resultobj
;
36199 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36200 wxString
*arg2
= 0 ;
36201 bool temp2
= false ;
36202 PyObject
* obj0
= 0 ;
36203 PyObject
* obj1
= 0 ;
36204 char *kwnames
[] = {
36205 (char *) "self",(char *) "str", NULL
36208 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
36209 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36210 if (SWIG_arg_fail(1)) SWIG_fail
;
36212 arg2
= wxString_in_helper(obj1
);
36213 if (arg2
== NULL
) SWIG_fail
;
36217 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36218 (arg1
)->SetHelp((wxString
const &)*arg2
);
36220 wxPyEndAllowThreads(__tstate
);
36221 if (PyErr_Occurred()) SWIG_fail
;
36223 Py_INCREF(Py_None
); resultobj
= Py_None
;
36238 static PyObject
*_wrap_MenuItem_GetHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36239 PyObject
*resultobj
;
36240 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36242 PyObject
* obj0
= 0 ;
36243 char *kwnames
[] = {
36244 (char *) "self", NULL
36247 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetHelp",kwnames
,&obj0
)) goto fail
;
36248 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36249 if (SWIG_arg_fail(1)) SWIG_fail
;
36251 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36253 wxString
const &_result_ref
= ((wxMenuItem
const *)arg1
)->GetHelp();
36254 result
= (wxString
*) &_result_ref
;
36257 wxPyEndAllowThreads(__tstate
);
36258 if (PyErr_Occurred()) SWIG_fail
;
36262 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
36264 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
36273 static PyObject
*_wrap_MenuItem_GetAccel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36274 PyObject
*resultobj
;
36275 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36276 wxAcceleratorEntry
*result
;
36277 PyObject
* obj0
= 0 ;
36278 char *kwnames
[] = {
36279 (char *) "self", NULL
36282 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetAccel",kwnames
,&obj0
)) goto fail
;
36283 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36284 if (SWIG_arg_fail(1)) SWIG_fail
;
36286 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36287 result
= (wxAcceleratorEntry
*)((wxMenuItem
const *)arg1
)->GetAccel();
36289 wxPyEndAllowThreads(__tstate
);
36290 if (PyErr_Occurred()) SWIG_fail
;
36292 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxAcceleratorEntry
, 0);
36299 static PyObject
*_wrap_MenuItem_SetAccel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36300 PyObject
*resultobj
;
36301 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36302 wxAcceleratorEntry
*arg2
= (wxAcceleratorEntry
*) 0 ;
36303 PyObject
* obj0
= 0 ;
36304 PyObject
* obj1
= 0 ;
36305 char *kwnames
[] = {
36306 (char *) "self",(char *) "accel", NULL
36309 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetAccel",kwnames
,&obj0
,&obj1
)) goto fail
;
36310 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36311 if (SWIG_arg_fail(1)) SWIG_fail
;
36312 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxAcceleratorEntry
, SWIG_POINTER_EXCEPTION
| 0);
36313 if (SWIG_arg_fail(2)) SWIG_fail
;
36315 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36316 (arg1
)->SetAccel(arg2
);
36318 wxPyEndAllowThreads(__tstate
);
36319 if (PyErr_Occurred()) SWIG_fail
;
36321 Py_INCREF(Py_None
); resultobj
= Py_None
;
36328 static PyObject
*_wrap_MenuItem_SetFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36329 PyObject
*resultobj
;
36330 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36332 PyObject
* obj0
= 0 ;
36333 PyObject
* obj1
= 0 ;
36334 char *kwnames
[] = {
36335 (char *) "self",(char *) "font", NULL
36338 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetFont",kwnames
,&obj0
,&obj1
)) goto fail
;
36339 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36340 if (SWIG_arg_fail(1)) SWIG_fail
;
36342 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
36343 if (SWIG_arg_fail(2)) SWIG_fail
;
36344 if (arg2
== NULL
) {
36345 SWIG_null_ref("wxFont");
36347 if (SWIG_arg_fail(2)) SWIG_fail
;
36350 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36351 (arg1
)->SetFont((wxFont
const &)*arg2
);
36353 wxPyEndAllowThreads(__tstate
);
36354 if (PyErr_Occurred()) SWIG_fail
;
36356 Py_INCREF(Py_None
); resultobj
= Py_None
;
36363 static PyObject
*_wrap_MenuItem_GetFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36364 PyObject
*resultobj
;
36365 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36367 PyObject
* obj0
= 0 ;
36368 char *kwnames
[] = {
36369 (char *) "self", NULL
36372 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetFont",kwnames
,&obj0
)) goto fail
;
36373 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36374 if (SWIG_arg_fail(1)) SWIG_fail
;
36376 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36377 result
= (arg1
)->GetFont();
36379 wxPyEndAllowThreads(__tstate
);
36380 if (PyErr_Occurred()) SWIG_fail
;
36383 wxFont
* resultptr
;
36384 resultptr
= new wxFont((wxFont
&)(result
));
36385 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxFont
, 1);
36393 static PyObject
*_wrap_MenuItem_SetTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36394 PyObject
*resultobj
;
36395 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36396 wxColour
*arg2
= 0 ;
36398 PyObject
* obj0
= 0 ;
36399 PyObject
* obj1
= 0 ;
36400 char *kwnames
[] = {
36401 (char *) "self",(char *) "colText", NULL
36404 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
36405 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36406 if (SWIG_arg_fail(1)) SWIG_fail
;
36409 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
36412 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36413 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
36415 wxPyEndAllowThreads(__tstate
);
36416 if (PyErr_Occurred()) SWIG_fail
;
36418 Py_INCREF(Py_None
); resultobj
= Py_None
;
36425 static PyObject
*_wrap_MenuItem_GetTextColour(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_GetTextColour",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
= (arg1
)->GetTextColour();
36441 wxPyEndAllowThreads(__tstate
);
36442 if (PyErr_Occurred()) SWIG_fail
;
36445 wxColour
* resultptr
;
36446 resultptr
= new wxColour((wxColour
&)(result
));
36447 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
36455 static PyObject
*_wrap_MenuItem_SetBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36456 PyObject
*resultobj
;
36457 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36458 wxColour
*arg2
= 0 ;
36460 PyObject
* obj0
= 0 ;
36461 PyObject
* obj1
= 0 ;
36462 char *kwnames
[] = {
36463 (char *) "self",(char *) "colBack", NULL
36466 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
36467 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36468 if (SWIG_arg_fail(1)) SWIG_fail
;
36471 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
36474 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36475 (arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
36477 wxPyEndAllowThreads(__tstate
);
36478 if (PyErr_Occurred()) SWIG_fail
;
36480 Py_INCREF(Py_None
); resultobj
= Py_None
;
36487 static PyObject
*_wrap_MenuItem_GetBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36488 PyObject
*resultobj
;
36489 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36491 PyObject
* obj0
= 0 ;
36492 char *kwnames
[] = {
36493 (char *) "self", NULL
36496 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetBackgroundColour",kwnames
,&obj0
)) goto fail
;
36497 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36498 if (SWIG_arg_fail(1)) SWIG_fail
;
36500 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36501 result
= (arg1
)->GetBackgroundColour();
36503 wxPyEndAllowThreads(__tstate
);
36504 if (PyErr_Occurred()) SWIG_fail
;
36507 wxColour
* resultptr
;
36508 resultptr
= new wxColour((wxColour
&)(result
));
36509 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
36517 static PyObject
*_wrap_MenuItem_SetBitmaps(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36518 PyObject
*resultobj
;
36519 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36520 wxBitmap
*arg2
= 0 ;
36521 wxBitmap
const &arg3_defvalue
= wxNullBitmap
;
36522 wxBitmap
*arg3
= (wxBitmap
*) &arg3_defvalue
;
36523 PyObject
* obj0
= 0 ;
36524 PyObject
* obj1
= 0 ;
36525 PyObject
* obj2
= 0 ;
36526 char *kwnames
[] = {
36527 (char *) "self",(char *) "bmpChecked",(char *) "bmpUnchecked", NULL
36530 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:MenuItem_SetBitmaps",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
36531 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36532 if (SWIG_arg_fail(1)) SWIG_fail
;
36534 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
36535 if (SWIG_arg_fail(2)) SWIG_fail
;
36536 if (arg2
== NULL
) {
36537 SWIG_null_ref("wxBitmap");
36539 if (SWIG_arg_fail(2)) SWIG_fail
;
36543 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
36544 if (SWIG_arg_fail(3)) SWIG_fail
;
36545 if (arg3
== NULL
) {
36546 SWIG_null_ref("wxBitmap");
36548 if (SWIG_arg_fail(3)) SWIG_fail
;
36552 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36553 (arg1
)->SetBitmaps((wxBitmap
const &)*arg2
,(wxBitmap
const &)*arg3
);
36555 wxPyEndAllowThreads(__tstate
);
36556 if (PyErr_Occurred()) SWIG_fail
;
36558 Py_INCREF(Py_None
); resultobj
= Py_None
;
36565 static PyObject
*_wrap_MenuItem_SetDisabledBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36566 PyObject
*resultobj
;
36567 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36568 wxBitmap
*arg2
= 0 ;
36569 PyObject
* obj0
= 0 ;
36570 PyObject
* obj1
= 0 ;
36571 char *kwnames
[] = {
36572 (char *) "self",(char *) "bmpDisabled", NULL
36575 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetDisabledBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
36576 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36577 if (SWIG_arg_fail(1)) SWIG_fail
;
36579 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
36580 if (SWIG_arg_fail(2)) SWIG_fail
;
36581 if (arg2
== NULL
) {
36582 SWIG_null_ref("wxBitmap");
36584 if (SWIG_arg_fail(2)) SWIG_fail
;
36587 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36588 (arg1
)->SetDisabledBitmap((wxBitmap
const &)*arg2
);
36590 wxPyEndAllowThreads(__tstate
);
36591 if (PyErr_Occurred()) SWIG_fail
;
36593 Py_INCREF(Py_None
); resultobj
= Py_None
;
36600 static PyObject
*_wrap_MenuItem_GetDisabledBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36601 PyObject
*resultobj
;
36602 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36604 PyObject
* obj0
= 0 ;
36605 char *kwnames
[] = {
36606 (char *) "self", NULL
36609 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetDisabledBitmap",kwnames
,&obj0
)) goto fail
;
36610 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36611 if (SWIG_arg_fail(1)) SWIG_fail
;
36613 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36615 wxBitmap
const &_result_ref
= ((wxMenuItem
const *)arg1
)->GetDisabledBitmap();
36616 result
= (wxBitmap
*) &_result_ref
;
36619 wxPyEndAllowThreads(__tstate
);
36620 if (PyErr_Occurred()) SWIG_fail
;
36623 wxBitmap
* resultptr
= new wxBitmap(*result
);
36624 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
36632 static PyObject
*_wrap_MenuItem_SetMarginWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36633 PyObject
*resultobj
;
36634 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36636 PyObject
* obj0
= 0 ;
36637 PyObject
* obj1
= 0 ;
36638 char *kwnames
[] = {
36639 (char *) "self",(char *) "nWidth", NULL
36642 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetMarginWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
36643 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36644 if (SWIG_arg_fail(1)) SWIG_fail
;
36646 arg2
= (int)(SWIG_As_int(obj1
));
36647 if (SWIG_arg_fail(2)) SWIG_fail
;
36650 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36651 (arg1
)->SetMarginWidth(arg2
);
36653 wxPyEndAllowThreads(__tstate
);
36654 if (PyErr_Occurred()) SWIG_fail
;
36656 Py_INCREF(Py_None
); resultobj
= Py_None
;
36663 static PyObject
*_wrap_MenuItem_GetMarginWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36664 PyObject
*resultobj
;
36665 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36667 PyObject
* obj0
= 0 ;
36668 char *kwnames
[] = {
36669 (char *) "self", NULL
36672 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetMarginWidth",kwnames
,&obj0
)) goto fail
;
36673 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36674 if (SWIG_arg_fail(1)) SWIG_fail
;
36676 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36677 result
= (int)(arg1
)->GetMarginWidth();
36679 wxPyEndAllowThreads(__tstate
);
36680 if (PyErr_Occurred()) SWIG_fail
;
36683 resultobj
= SWIG_From_int((int)(result
));
36691 static PyObject
*_wrap_MenuItem_GetDefaultMarginWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36692 PyObject
*resultobj
;
36694 char *kwnames
[] = {
36698 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":MenuItem_GetDefaultMarginWidth",kwnames
)) goto fail
;
36700 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36701 result
= (int)wxMenuItem::GetDefaultMarginWidth();
36703 wxPyEndAllowThreads(__tstate
);
36704 if (PyErr_Occurred()) SWIG_fail
;
36707 resultobj
= SWIG_From_int((int)(result
));
36715 static PyObject
*_wrap_MenuItem_IsOwnerDrawn(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36716 PyObject
*resultobj
;
36717 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36719 PyObject
* obj0
= 0 ;
36720 char *kwnames
[] = {
36721 (char *) "self", NULL
36724 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_IsOwnerDrawn",kwnames
,&obj0
)) goto fail
;
36725 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36726 if (SWIG_arg_fail(1)) SWIG_fail
;
36728 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36729 result
= (bool)(arg1
)->IsOwnerDrawn();
36731 wxPyEndAllowThreads(__tstate
);
36732 if (PyErr_Occurred()) SWIG_fail
;
36735 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
36743 static PyObject
*_wrap_MenuItem_SetOwnerDrawn(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36744 PyObject
*resultobj
;
36745 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36746 bool arg2
= (bool) true ;
36747 PyObject
* obj0
= 0 ;
36748 PyObject
* obj1
= 0 ;
36749 char *kwnames
[] = {
36750 (char *) "self",(char *) "ownerDrawn", NULL
36753 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:MenuItem_SetOwnerDrawn",kwnames
,&obj0
,&obj1
)) goto fail
;
36754 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36755 if (SWIG_arg_fail(1)) SWIG_fail
;
36758 arg2
= (bool)(SWIG_As_bool(obj1
));
36759 if (SWIG_arg_fail(2)) SWIG_fail
;
36763 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36764 (arg1
)->SetOwnerDrawn(arg2
);
36766 wxPyEndAllowThreads(__tstate
);
36767 if (PyErr_Occurred()) SWIG_fail
;
36769 Py_INCREF(Py_None
); resultobj
= Py_None
;
36776 static PyObject
*_wrap_MenuItem_ResetOwnerDrawn(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36777 PyObject
*resultobj
;
36778 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36779 PyObject
* obj0
= 0 ;
36780 char *kwnames
[] = {
36781 (char *) "self", NULL
36784 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_ResetOwnerDrawn",kwnames
,&obj0
)) goto fail
;
36785 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36786 if (SWIG_arg_fail(1)) SWIG_fail
;
36788 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36789 (arg1
)->ResetOwnerDrawn();
36791 wxPyEndAllowThreads(__tstate
);
36792 if (PyErr_Occurred()) SWIG_fail
;
36794 Py_INCREF(Py_None
); resultobj
= Py_None
;
36801 static PyObject
*_wrap_MenuItem_SetBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36802 PyObject
*resultobj
;
36803 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36804 wxBitmap
*arg2
= 0 ;
36805 PyObject
* obj0
= 0 ;
36806 PyObject
* obj1
= 0 ;
36807 char *kwnames
[] = {
36808 (char *) "self",(char *) "bitmap", NULL
36811 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
36812 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36813 if (SWIG_arg_fail(1)) SWIG_fail
;
36815 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
36816 if (SWIG_arg_fail(2)) SWIG_fail
;
36817 if (arg2
== NULL
) {
36818 SWIG_null_ref("wxBitmap");
36820 if (SWIG_arg_fail(2)) SWIG_fail
;
36823 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36824 (arg1
)->SetBitmap((wxBitmap
const &)*arg2
);
36826 wxPyEndAllowThreads(__tstate
);
36827 if (PyErr_Occurred()) SWIG_fail
;
36829 Py_INCREF(Py_None
); resultobj
= Py_None
;
36836 static PyObject
*_wrap_MenuItem_GetBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36837 PyObject
*resultobj
;
36838 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36840 PyObject
* obj0
= 0 ;
36841 char *kwnames
[] = {
36842 (char *) "self", NULL
36845 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetBitmap",kwnames
,&obj0
)) goto fail
;
36846 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36847 if (SWIG_arg_fail(1)) SWIG_fail
;
36849 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36851 wxBitmap
const &_result_ref
= (arg1
)->GetBitmap();
36852 result
= (wxBitmap
*) &_result_ref
;
36855 wxPyEndAllowThreads(__tstate
);
36856 if (PyErr_Occurred()) SWIG_fail
;
36859 wxBitmap
* resultptr
= new wxBitmap(*result
);
36860 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
36868 static PyObject
* MenuItem_swigregister(PyObject
*, PyObject
*args
) {
36870 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
36871 SWIG_TypeClientData(SWIGTYPE_p_wxMenuItem
, obj
);
36873 return Py_BuildValue((char *)"");
36875 static int _wrap_ControlNameStr_set(PyObject
*) {
36876 PyErr_SetString(PyExc_TypeError
,"Variable ControlNameStr is read-only.");
36881 static PyObject
*_wrap_ControlNameStr_get(void) {
36886 pyobj
= PyUnicode_FromWideChar((&wxPyControlNameStr
)->c_str(), (&wxPyControlNameStr
)->Len());
36888 pyobj
= PyString_FromStringAndSize((&wxPyControlNameStr
)->c_str(), (&wxPyControlNameStr
)->Len());
36895 static PyObject
*_wrap_new_Control(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36896 PyObject
*resultobj
;
36897 wxWindow
*arg1
= (wxWindow
*) 0 ;
36898 int arg2
= (int) -1 ;
36899 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
36900 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
36901 wxSize
const &arg4_defvalue
= wxDefaultSize
;
36902 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
36903 long arg5
= (long) 0 ;
36904 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
36905 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
36906 wxString
const &arg7_defvalue
= wxPyControlNameStr
;
36907 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
36911 bool temp7
= false ;
36912 PyObject
* obj0
= 0 ;
36913 PyObject
* obj1
= 0 ;
36914 PyObject
* obj2
= 0 ;
36915 PyObject
* obj3
= 0 ;
36916 PyObject
* obj4
= 0 ;
36917 PyObject
* obj5
= 0 ;
36918 PyObject
* obj6
= 0 ;
36919 char *kwnames
[] = {
36920 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
36923 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_Control",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
36924 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
36925 if (SWIG_arg_fail(1)) SWIG_fail
;
36928 arg2
= (int)(SWIG_As_int(obj1
));
36929 if (SWIG_arg_fail(2)) SWIG_fail
;
36935 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
36941 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
36946 arg5
= (long)(SWIG_As_long(obj4
));
36947 if (SWIG_arg_fail(5)) SWIG_fail
;
36952 SWIG_Python_ConvertPtr(obj5
, (void **)&arg6
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
36953 if (SWIG_arg_fail(6)) SWIG_fail
;
36954 if (arg6
== NULL
) {
36955 SWIG_null_ref("wxValidator");
36957 if (SWIG_arg_fail(6)) SWIG_fail
;
36962 arg7
= wxString_in_helper(obj6
);
36963 if (arg7
== NULL
) SWIG_fail
;
36968 if (!wxPyCheckForApp()) SWIG_fail
;
36969 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36970 result
= (wxControl
*)new wxControl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
36972 wxPyEndAllowThreads(__tstate
);
36973 if (PyErr_Occurred()) SWIG_fail
;
36975 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxControl
, 1);
36990 static PyObject
*_wrap_new_PreControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36991 PyObject
*resultobj
;
36993 char *kwnames
[] = {
36997 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreControl",kwnames
)) goto fail
;
36999 if (!wxPyCheckForApp()) SWIG_fail
;
37000 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37001 result
= (wxControl
*)new wxControl();
37003 wxPyEndAllowThreads(__tstate
);
37004 if (PyErr_Occurred()) SWIG_fail
;
37006 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxControl
, 1);
37013 static PyObject
*_wrap_Control_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37014 PyObject
*resultobj
;
37015 wxControl
*arg1
= (wxControl
*) 0 ;
37016 wxWindow
*arg2
= (wxWindow
*) 0 ;
37017 int arg3
= (int) -1 ;
37018 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
37019 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
37020 wxSize
const &arg5_defvalue
= wxDefaultSize
;
37021 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
37022 long arg6
= (long) 0 ;
37023 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
37024 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
37025 wxString
const &arg8_defvalue
= wxPyControlNameStr
;
37026 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
37030 bool temp8
= false ;
37031 PyObject
* obj0
= 0 ;
37032 PyObject
* obj1
= 0 ;
37033 PyObject
* obj2
= 0 ;
37034 PyObject
* obj3
= 0 ;
37035 PyObject
* obj4
= 0 ;
37036 PyObject
* obj5
= 0 ;
37037 PyObject
* obj6
= 0 ;
37038 PyObject
* obj7
= 0 ;
37039 char *kwnames
[] = {
37040 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
37043 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:Control_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
37044 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxControl
, SWIG_POINTER_EXCEPTION
| 0);
37045 if (SWIG_arg_fail(1)) SWIG_fail
;
37046 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
37047 if (SWIG_arg_fail(2)) SWIG_fail
;
37050 arg3
= (int)(SWIG_As_int(obj2
));
37051 if (SWIG_arg_fail(3)) SWIG_fail
;
37057 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
37063 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
37068 arg6
= (long)(SWIG_As_long(obj5
));
37069 if (SWIG_arg_fail(6)) SWIG_fail
;
37074 SWIG_Python_ConvertPtr(obj6
, (void **)&arg7
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
37075 if (SWIG_arg_fail(7)) SWIG_fail
;
37076 if (arg7
== NULL
) {
37077 SWIG_null_ref("wxValidator");
37079 if (SWIG_arg_fail(7)) SWIG_fail
;
37084 arg8
= wxString_in_helper(obj7
);
37085 if (arg8
== NULL
) SWIG_fail
;
37090 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37091 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
37093 wxPyEndAllowThreads(__tstate
);
37094 if (PyErr_Occurred()) SWIG_fail
;
37097 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
37113 static PyObject
*_wrap_Control_Command(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37114 PyObject
*resultobj
;
37115 wxControl
*arg1
= (wxControl
*) 0 ;
37116 wxCommandEvent
*arg2
= 0 ;
37117 PyObject
* obj0
= 0 ;
37118 PyObject
* obj1
= 0 ;
37119 char *kwnames
[] = {
37120 (char *) "self",(char *) "event", NULL
37123 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Control_Command",kwnames
,&obj0
,&obj1
)) goto fail
;
37124 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxControl
, SWIG_POINTER_EXCEPTION
| 0);
37125 if (SWIG_arg_fail(1)) SWIG_fail
;
37127 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxCommandEvent
, SWIG_POINTER_EXCEPTION
| 0);
37128 if (SWIG_arg_fail(2)) SWIG_fail
;
37129 if (arg2
== NULL
) {
37130 SWIG_null_ref("wxCommandEvent");
37132 if (SWIG_arg_fail(2)) SWIG_fail
;
37135 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37136 (arg1
)->Command(*arg2
);
37138 wxPyEndAllowThreads(__tstate
);
37139 if (PyErr_Occurred()) SWIG_fail
;
37141 Py_INCREF(Py_None
); resultobj
= Py_None
;
37148 static PyObject
*_wrap_Control_GetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37149 PyObject
*resultobj
;
37150 wxControl
*arg1
= (wxControl
*) 0 ;
37152 PyObject
* obj0
= 0 ;
37153 char *kwnames
[] = {
37154 (char *) "self", NULL
37157 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Control_GetLabel",kwnames
,&obj0
)) goto fail
;
37158 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxControl
, SWIG_POINTER_EXCEPTION
| 0);
37159 if (SWIG_arg_fail(1)) SWIG_fail
;
37161 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37162 result
= (arg1
)->GetLabel();
37164 wxPyEndAllowThreads(__tstate
);
37165 if (PyErr_Occurred()) SWIG_fail
;
37169 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
37171 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
37180 static PyObject
*_wrap_Control_SetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37181 PyObject
*resultobj
;
37182 wxControl
*arg1
= (wxControl
*) 0 ;
37183 wxString
*arg2
= 0 ;
37184 bool temp2
= false ;
37185 PyObject
* obj0
= 0 ;
37186 PyObject
* obj1
= 0 ;
37187 char *kwnames
[] = {
37188 (char *) "self",(char *) "label", NULL
37191 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Control_SetLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
37192 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxControl
, SWIG_POINTER_EXCEPTION
| 0);
37193 if (SWIG_arg_fail(1)) SWIG_fail
;
37195 arg2
= wxString_in_helper(obj1
);
37196 if (arg2
== NULL
) SWIG_fail
;
37200 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37201 (arg1
)->SetLabel((wxString
const &)*arg2
);
37203 wxPyEndAllowThreads(__tstate
);
37204 if (PyErr_Occurred()) SWIG_fail
;
37206 Py_INCREF(Py_None
); resultobj
= Py_None
;
37221 static PyObject
*_wrap_Control_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37222 PyObject
*resultobj
;
37223 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
37224 wxVisualAttributes result
;
37225 PyObject
* obj0
= 0 ;
37226 char *kwnames
[] = {
37227 (char *) "variant", NULL
37230 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Control_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
37233 arg1
= (wxWindowVariant
)(SWIG_As_int(obj0
));
37234 if (SWIG_arg_fail(1)) SWIG_fail
;
37238 if (!wxPyCheckForApp()) SWIG_fail
;
37239 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37240 result
= wxControl::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
37242 wxPyEndAllowThreads(__tstate
);
37243 if (PyErr_Occurred()) SWIG_fail
;
37246 wxVisualAttributes
* resultptr
;
37247 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
37248 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
37256 static PyObject
* Control_swigregister(PyObject
*, PyObject
*args
) {
37258 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
37259 SWIG_TypeClientData(SWIGTYPE_p_wxControl
, obj
);
37261 return Py_BuildValue((char *)"");
37263 static PyObject
*_wrap_ItemContainer_Append(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37264 PyObject
*resultobj
;
37265 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
37266 wxString
*arg2
= 0 ;
37267 PyObject
*arg3
= (PyObject
*) NULL
;
37269 bool temp2
= false ;
37270 PyObject
* obj0
= 0 ;
37271 PyObject
* obj1
= 0 ;
37272 PyObject
* obj2
= 0 ;
37273 char *kwnames
[] = {
37274 (char *) "self",(char *) "item",(char *) "clientData", NULL
37277 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ItemContainer_Append",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
37278 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxItemContainer
, SWIG_POINTER_EXCEPTION
| 0);
37279 if (SWIG_arg_fail(1)) SWIG_fail
;
37281 arg2
= wxString_in_helper(obj1
);
37282 if (arg2
== NULL
) SWIG_fail
;
37289 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37290 result
= (int)wxItemContainer_Append(arg1
,(wxString
const &)*arg2
,arg3
);
37292 wxPyEndAllowThreads(__tstate
);
37293 if (PyErr_Occurred()) SWIG_fail
;
37296 resultobj
= SWIG_From_int((int)(result
));
37312 static PyObject
*_wrap_ItemContainer_AppendItems(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37313 PyObject
*resultobj
;
37314 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
37315 wxArrayString
*arg2
= 0 ;
37316 bool temp2
= false ;
37317 PyObject
* obj0
= 0 ;
37318 PyObject
* obj1
= 0 ;
37319 char *kwnames
[] = {
37320 (char *) "self",(char *) "strings", NULL
37323 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_AppendItems",kwnames
,&obj0
,&obj1
)) goto fail
;
37324 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxItemContainer
, SWIG_POINTER_EXCEPTION
| 0);
37325 if (SWIG_arg_fail(1)) SWIG_fail
;
37327 if (! PySequence_Check(obj1
)) {
37328 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
37331 arg2
= new wxArrayString
;
37333 int i
, len
=PySequence_Length(obj1
);
37334 for (i
=0; i
<len
; i
++) {
37335 PyObject
* item
= PySequence_GetItem(obj1
, i
);
37337 PyObject
* str
= PyObject_Unicode(item
);
37339 PyObject
* str
= PyObject_Str(item
);
37341 if (PyErr_Occurred()) SWIG_fail
;
37342 arg2
->Add(Py2wxString(str
));
37348 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37349 (arg1
)->Append((wxArrayString
const &)*arg2
);
37351 wxPyEndAllowThreads(__tstate
);
37352 if (PyErr_Occurred()) SWIG_fail
;
37354 Py_INCREF(Py_None
); resultobj
= Py_None
;
37356 if (temp2
) delete arg2
;
37361 if (temp2
) delete arg2
;
37367 static PyObject
*_wrap_ItemContainer_Insert(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37368 PyObject
*resultobj
;
37369 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
37370 wxString
*arg2
= 0 ;
37372 PyObject
*arg4
= (PyObject
*) NULL
;
37374 bool temp2
= false ;
37375 PyObject
* obj0
= 0 ;
37376 PyObject
* obj1
= 0 ;
37377 PyObject
* obj2
= 0 ;
37378 PyObject
* obj3
= 0 ;
37379 char *kwnames
[] = {
37380 (char *) "self",(char *) "item",(char *) "pos",(char *) "clientData", NULL
37383 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:ItemContainer_Insert",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
37384 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxItemContainer
, SWIG_POINTER_EXCEPTION
| 0);
37385 if (SWIG_arg_fail(1)) SWIG_fail
;
37387 arg2
= wxString_in_helper(obj1
);
37388 if (arg2
== NULL
) SWIG_fail
;
37392 arg3
= (int)(SWIG_As_int(obj2
));
37393 if (SWIG_arg_fail(3)) SWIG_fail
;
37399 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37400 result
= (int)wxItemContainer_Insert(arg1
,(wxString
const &)*arg2
,arg3
,arg4
);
37402 wxPyEndAllowThreads(__tstate
);
37403 if (PyErr_Occurred()) SWIG_fail
;
37406 resultobj
= SWIG_From_int((int)(result
));
37422 static PyObject
*_wrap_ItemContainer_Clear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37423 PyObject
*resultobj
;
37424 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
37425 PyObject
* obj0
= 0 ;
37426 char *kwnames
[] = {
37427 (char *) "self", NULL
37430 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ItemContainer_Clear",kwnames
,&obj0
)) goto fail
;
37431 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxItemContainer
, SWIG_POINTER_EXCEPTION
| 0);
37432 if (SWIG_arg_fail(1)) SWIG_fail
;
37434 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37437 wxPyEndAllowThreads(__tstate
);
37438 if (PyErr_Occurred()) SWIG_fail
;
37440 Py_INCREF(Py_None
); resultobj
= Py_None
;
37447 static PyObject
*_wrap_ItemContainer_Delete(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37448 PyObject
*resultobj
;
37449 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
37451 PyObject
* obj0
= 0 ;
37452 PyObject
* obj1
= 0 ;
37453 char *kwnames
[] = {
37454 (char *) "self",(char *) "n", NULL
37457 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_Delete",kwnames
,&obj0
,&obj1
)) goto fail
;
37458 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxItemContainer
, SWIG_POINTER_EXCEPTION
| 0);
37459 if (SWIG_arg_fail(1)) SWIG_fail
;
37461 arg2
= (int)(SWIG_As_int(obj1
));
37462 if (SWIG_arg_fail(2)) SWIG_fail
;
37465 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37466 (arg1
)->Delete(arg2
);
37468 wxPyEndAllowThreads(__tstate
);
37469 if (PyErr_Occurred()) SWIG_fail
;
37471 Py_INCREF(Py_None
); resultobj
= Py_None
;
37478 static PyObject
*_wrap_ItemContainer_GetClientData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37479 PyObject
*resultobj
;
37480 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
37483 PyObject
* obj0
= 0 ;
37484 PyObject
* obj1
= 0 ;
37485 char *kwnames
[] = {
37486 (char *) "self",(char *) "n", NULL
37489 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_GetClientData",kwnames
,&obj0
,&obj1
)) goto fail
;
37490 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxItemContainer
, SWIG_POINTER_EXCEPTION
| 0);
37491 if (SWIG_arg_fail(1)) SWIG_fail
;
37493 arg2
= (int)(SWIG_As_int(obj1
));
37494 if (SWIG_arg_fail(2)) SWIG_fail
;
37497 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37498 result
= (PyObject
*)wxItemContainer_GetClientData(arg1
,arg2
);
37500 wxPyEndAllowThreads(__tstate
);
37501 if (PyErr_Occurred()) SWIG_fail
;
37503 resultobj
= result
;
37510 static PyObject
*_wrap_ItemContainer_SetClientData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37511 PyObject
*resultobj
;
37512 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
37514 PyObject
*arg3
= (PyObject
*) 0 ;
37515 PyObject
* obj0
= 0 ;
37516 PyObject
* obj1
= 0 ;
37517 PyObject
* obj2
= 0 ;
37518 char *kwnames
[] = {
37519 (char *) "self",(char *) "n",(char *) "clientData", NULL
37522 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ItemContainer_SetClientData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
37523 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxItemContainer
, SWIG_POINTER_EXCEPTION
| 0);
37524 if (SWIG_arg_fail(1)) SWIG_fail
;
37526 arg2
= (int)(SWIG_As_int(obj1
));
37527 if (SWIG_arg_fail(2)) SWIG_fail
;
37531 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37532 wxItemContainer_SetClientData(arg1
,arg2
,arg3
);
37534 wxPyEndAllowThreads(__tstate
);
37535 if (PyErr_Occurred()) SWIG_fail
;
37537 Py_INCREF(Py_None
); resultobj
= Py_None
;
37544 static PyObject
*_wrap_ItemContainer_GetCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37545 PyObject
*resultobj
;
37546 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
37548 PyObject
* obj0
= 0 ;
37549 char *kwnames
[] = {
37550 (char *) "self", NULL
37553 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ItemContainer_GetCount",kwnames
,&obj0
)) goto fail
;
37554 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxItemContainer
, SWIG_POINTER_EXCEPTION
| 0);
37555 if (SWIG_arg_fail(1)) SWIG_fail
;
37557 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37558 result
= (int)((wxItemContainer
const *)arg1
)->GetCount();
37560 wxPyEndAllowThreads(__tstate
);
37561 if (PyErr_Occurred()) SWIG_fail
;
37564 resultobj
= SWIG_From_int((int)(result
));
37572 static PyObject
*_wrap_ItemContainer_IsEmpty(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37573 PyObject
*resultobj
;
37574 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
37576 PyObject
* obj0
= 0 ;
37577 char *kwnames
[] = {
37578 (char *) "self", NULL
37581 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ItemContainer_IsEmpty",kwnames
,&obj0
)) goto fail
;
37582 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxItemContainer
, SWIG_POINTER_EXCEPTION
| 0);
37583 if (SWIG_arg_fail(1)) SWIG_fail
;
37585 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37586 result
= (bool)((wxItemContainer
const *)arg1
)->IsEmpty();
37588 wxPyEndAllowThreads(__tstate
);
37589 if (PyErr_Occurred()) SWIG_fail
;
37592 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
37600 static PyObject
*_wrap_ItemContainer_GetString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37601 PyObject
*resultobj
;
37602 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
37605 PyObject
* obj0
= 0 ;
37606 PyObject
* obj1
= 0 ;
37607 char *kwnames
[] = {
37608 (char *) "self",(char *) "n", NULL
37611 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_GetString",kwnames
,&obj0
,&obj1
)) goto fail
;
37612 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxItemContainer
, SWIG_POINTER_EXCEPTION
| 0);
37613 if (SWIG_arg_fail(1)) SWIG_fail
;
37615 arg2
= (int)(SWIG_As_int(obj1
));
37616 if (SWIG_arg_fail(2)) SWIG_fail
;
37619 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37620 result
= ((wxItemContainer
const *)arg1
)->GetString(arg2
);
37622 wxPyEndAllowThreads(__tstate
);
37623 if (PyErr_Occurred()) SWIG_fail
;
37627 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
37629 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
37638 static PyObject
*_wrap_ItemContainer_GetStrings(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37639 PyObject
*resultobj
;
37640 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
37641 wxArrayString result
;
37642 PyObject
* obj0
= 0 ;
37643 char *kwnames
[] = {
37644 (char *) "self", NULL
37647 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ItemContainer_GetStrings",kwnames
,&obj0
)) goto fail
;
37648 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxItemContainer
, SWIG_POINTER_EXCEPTION
| 0);
37649 if (SWIG_arg_fail(1)) SWIG_fail
;
37651 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37652 result
= ((wxItemContainer
const *)arg1
)->GetStrings();
37654 wxPyEndAllowThreads(__tstate
);
37655 if (PyErr_Occurred()) SWIG_fail
;
37658 resultobj
= wxArrayString2PyList_helper(result
);
37666 static PyObject
*_wrap_ItemContainer_SetString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37667 PyObject
*resultobj
;
37668 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
37670 wxString
*arg3
= 0 ;
37671 bool temp3
= false ;
37672 PyObject
* obj0
= 0 ;
37673 PyObject
* obj1
= 0 ;
37674 PyObject
* obj2
= 0 ;
37675 char *kwnames
[] = {
37676 (char *) "self",(char *) "n",(char *) "s", NULL
37679 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ItemContainer_SetString",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
37680 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxItemContainer
, SWIG_POINTER_EXCEPTION
| 0);
37681 if (SWIG_arg_fail(1)) SWIG_fail
;
37683 arg2
= (int)(SWIG_As_int(obj1
));
37684 if (SWIG_arg_fail(2)) SWIG_fail
;
37687 arg3
= wxString_in_helper(obj2
);
37688 if (arg3
== NULL
) SWIG_fail
;
37692 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37693 (arg1
)->SetString(arg2
,(wxString
const &)*arg3
);
37695 wxPyEndAllowThreads(__tstate
);
37696 if (PyErr_Occurred()) SWIG_fail
;
37698 Py_INCREF(Py_None
); resultobj
= Py_None
;
37713 static PyObject
*_wrap_ItemContainer_FindString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37714 PyObject
*resultobj
;
37715 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
37716 wxString
*arg2
= 0 ;
37718 bool temp2
= false ;
37719 PyObject
* obj0
= 0 ;
37720 PyObject
* obj1
= 0 ;
37721 char *kwnames
[] = {
37722 (char *) "self",(char *) "s", NULL
37725 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_FindString",kwnames
,&obj0
,&obj1
)) goto fail
;
37726 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxItemContainer
, SWIG_POINTER_EXCEPTION
| 0);
37727 if (SWIG_arg_fail(1)) SWIG_fail
;
37729 arg2
= wxString_in_helper(obj1
);
37730 if (arg2
== NULL
) SWIG_fail
;
37734 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37735 result
= (int)((wxItemContainer
const *)arg1
)->FindString((wxString
const &)*arg2
);
37737 wxPyEndAllowThreads(__tstate
);
37738 if (PyErr_Occurred()) SWIG_fail
;
37741 resultobj
= SWIG_From_int((int)(result
));
37757 static PyObject
*_wrap_ItemContainer_SetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37758 PyObject
*resultobj
;
37759 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
37761 PyObject
* obj0
= 0 ;
37762 PyObject
* obj1
= 0 ;
37763 char *kwnames
[] = {
37764 (char *) "self",(char *) "n", NULL
37767 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
37768 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxItemContainer
, SWIG_POINTER_EXCEPTION
| 0);
37769 if (SWIG_arg_fail(1)) SWIG_fail
;
37771 arg2
= (int)(SWIG_As_int(obj1
));
37772 if (SWIG_arg_fail(2)) SWIG_fail
;
37775 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37776 (arg1
)->SetSelection(arg2
);
37778 wxPyEndAllowThreads(__tstate
);
37779 if (PyErr_Occurred()) SWIG_fail
;
37781 Py_INCREF(Py_None
); resultobj
= Py_None
;
37788 static PyObject
*_wrap_ItemContainer_GetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37789 PyObject
*resultobj
;
37790 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
37792 PyObject
* obj0
= 0 ;
37793 char *kwnames
[] = {
37794 (char *) "self", NULL
37797 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ItemContainer_GetSelection",kwnames
,&obj0
)) goto fail
;
37798 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxItemContainer
, SWIG_POINTER_EXCEPTION
| 0);
37799 if (SWIG_arg_fail(1)) SWIG_fail
;
37801 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37802 result
= (int)((wxItemContainer
const *)arg1
)->GetSelection();
37804 wxPyEndAllowThreads(__tstate
);
37805 if (PyErr_Occurred()) SWIG_fail
;
37808 resultobj
= SWIG_From_int((int)(result
));
37816 static PyObject
*_wrap_ItemContainer_SetStringSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37817 PyObject
*resultobj
;
37818 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
37819 wxString
*arg2
= 0 ;
37821 bool temp2
= false ;
37822 PyObject
* obj0
= 0 ;
37823 PyObject
* obj1
= 0 ;
37824 char *kwnames
[] = {
37825 (char *) "self",(char *) "s", NULL
37828 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_SetStringSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
37829 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxItemContainer
, SWIG_POINTER_EXCEPTION
| 0);
37830 if (SWIG_arg_fail(1)) SWIG_fail
;
37832 arg2
= wxString_in_helper(obj1
);
37833 if (arg2
== NULL
) SWIG_fail
;
37837 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37838 result
= (bool)(arg1
)->SetStringSelection((wxString
const &)*arg2
);
37840 wxPyEndAllowThreads(__tstate
);
37841 if (PyErr_Occurred()) SWIG_fail
;
37844 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
37860 static PyObject
*_wrap_ItemContainer_GetStringSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37861 PyObject
*resultobj
;
37862 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
37864 PyObject
* obj0
= 0 ;
37865 char *kwnames
[] = {
37866 (char *) "self", NULL
37869 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ItemContainer_GetStringSelection",kwnames
,&obj0
)) goto fail
;
37870 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxItemContainer
, SWIG_POINTER_EXCEPTION
| 0);
37871 if (SWIG_arg_fail(1)) SWIG_fail
;
37873 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37874 result
= ((wxItemContainer
const *)arg1
)->GetStringSelection();
37876 wxPyEndAllowThreads(__tstate
);
37877 if (PyErr_Occurred()) SWIG_fail
;
37881 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
37883 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
37892 static PyObject
*_wrap_ItemContainer_Select(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37893 PyObject
*resultobj
;
37894 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
37896 PyObject
* obj0
= 0 ;
37897 PyObject
* obj1
= 0 ;
37898 char *kwnames
[] = {
37899 (char *) "self",(char *) "n", NULL
37902 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_Select",kwnames
,&obj0
,&obj1
)) goto fail
;
37903 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxItemContainer
, SWIG_POINTER_EXCEPTION
| 0);
37904 if (SWIG_arg_fail(1)) SWIG_fail
;
37906 arg2
= (int)(SWIG_As_int(obj1
));
37907 if (SWIG_arg_fail(2)) SWIG_fail
;
37910 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37911 (arg1
)->Select(arg2
);
37913 wxPyEndAllowThreads(__tstate
);
37914 if (PyErr_Occurred()) SWIG_fail
;
37916 Py_INCREF(Py_None
); resultobj
= Py_None
;
37923 static PyObject
* ItemContainer_swigregister(PyObject
*, PyObject
*args
) {
37925 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
37926 SWIG_TypeClientData(SWIGTYPE_p_wxItemContainer
, obj
);
37928 return Py_BuildValue((char *)"");
37930 static PyObject
* ControlWithItems_swigregister(PyObject
*, PyObject
*args
) {
37932 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
37933 SWIG_TypeClientData(SWIGTYPE_p_wxControlWithItems
, obj
);
37935 return Py_BuildValue((char *)"");
37937 static PyObject
*_wrap_new_SizerItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37938 PyObject
*resultobj
;
37939 wxSizerItem
*result
;
37940 char *kwnames
[] = {
37944 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_SizerItem",kwnames
)) goto fail
;
37946 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37947 result
= (wxSizerItem
*)new wxSizerItem();
37949 wxPyEndAllowThreads(__tstate
);
37950 if (PyErr_Occurred()) SWIG_fail
;
37952 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizerItem
, 1);
37959 static PyObject
*_wrap_new_SizerItemWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37960 PyObject
*resultobj
;
37961 wxWindow
*arg1
= (wxWindow
*) 0 ;
37965 PyObject
*arg5
= (PyObject
*) NULL
;
37966 wxSizerItem
*result
;
37967 PyObject
* obj0
= 0 ;
37968 PyObject
* obj1
= 0 ;
37969 PyObject
* obj2
= 0 ;
37970 PyObject
* obj3
= 0 ;
37971 PyObject
* obj4
= 0 ;
37972 char *kwnames
[] = {
37973 (char *) "window",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
37976 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:new_SizerItemWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
37977 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
37978 if (SWIG_arg_fail(1)) SWIG_fail
;
37980 arg2
= (int)(SWIG_As_int(obj1
));
37981 if (SWIG_arg_fail(2)) SWIG_fail
;
37984 arg3
= (int)(SWIG_As_int(obj2
));
37985 if (SWIG_arg_fail(3)) SWIG_fail
;
37988 arg4
= (int)(SWIG_As_int(obj3
));
37989 if (SWIG_arg_fail(4)) SWIG_fail
;
37995 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37996 result
= (wxSizerItem
*)new_wxSizerItem(arg1
,arg2
,arg3
,arg4
,arg5
);
37998 wxPyEndAllowThreads(__tstate
);
37999 if (PyErr_Occurred()) SWIG_fail
;
38001 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizerItem
, 1);
38008 static PyObject
*_wrap_new_SizerItemSpacer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38009 PyObject
*resultobj
;
38015 PyObject
*arg6
= (PyObject
*) NULL
;
38016 wxSizerItem
*result
;
38017 PyObject
* obj0
= 0 ;
38018 PyObject
* obj1
= 0 ;
38019 PyObject
* obj2
= 0 ;
38020 PyObject
* obj3
= 0 ;
38021 PyObject
* obj4
= 0 ;
38022 PyObject
* obj5
= 0 ;
38023 char *kwnames
[] = {
38024 (char *) "width",(char *) "height",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
38027 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:new_SizerItemSpacer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
38029 arg1
= (int)(SWIG_As_int(obj0
));
38030 if (SWIG_arg_fail(1)) SWIG_fail
;
38033 arg2
= (int)(SWIG_As_int(obj1
));
38034 if (SWIG_arg_fail(2)) SWIG_fail
;
38037 arg3
= (int)(SWIG_As_int(obj2
));
38038 if (SWIG_arg_fail(3)) SWIG_fail
;
38041 arg4
= (int)(SWIG_As_int(obj3
));
38042 if (SWIG_arg_fail(4)) SWIG_fail
;
38045 arg5
= (int)(SWIG_As_int(obj4
));
38046 if (SWIG_arg_fail(5)) SWIG_fail
;
38052 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38053 result
= (wxSizerItem
*)new_wxSizerItem(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
);
38055 wxPyEndAllowThreads(__tstate
);
38056 if (PyErr_Occurred()) SWIG_fail
;
38058 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizerItem
, 1);
38065 static PyObject
*_wrap_new_SizerItemSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38066 PyObject
*resultobj
;
38067 wxSizer
*arg1
= (wxSizer
*) 0 ;
38071 PyObject
*arg5
= (PyObject
*) NULL
;
38072 wxSizerItem
*result
;
38073 PyObject
* obj0
= 0 ;
38074 PyObject
* obj1
= 0 ;
38075 PyObject
* obj2
= 0 ;
38076 PyObject
* obj3
= 0 ;
38077 PyObject
* obj4
= 0 ;
38078 char *kwnames
[] = {
38079 (char *) "sizer",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
38082 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:new_SizerItemSizer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
38083 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, 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
= (int)(SWIG_As_int(obj2
));
38091 if (SWIG_arg_fail(3)) SWIG_fail
;
38094 arg4
= (int)(SWIG_As_int(obj3
));
38095 if (SWIG_arg_fail(4)) SWIG_fail
;
38101 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38102 result
= (wxSizerItem
*)new_wxSizerItem(arg1
,arg2
,arg3
,arg4
,arg5
);
38104 wxPyEndAllowThreads(__tstate
);
38105 if (PyErr_Occurred()) SWIG_fail
;
38107 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizerItem
, 1);
38114 static PyObject
*_wrap_SizerItem_DeleteWindows(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38115 PyObject
*resultobj
;
38116 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
38117 PyObject
* obj0
= 0 ;
38118 char *kwnames
[] = {
38119 (char *) "self", NULL
38122 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_DeleteWindows",kwnames
,&obj0
)) goto fail
;
38123 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
38124 if (SWIG_arg_fail(1)) SWIG_fail
;
38126 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38127 (arg1
)->DeleteWindows();
38129 wxPyEndAllowThreads(__tstate
);
38130 if (PyErr_Occurred()) SWIG_fail
;
38132 Py_INCREF(Py_None
); resultobj
= Py_None
;
38139 static PyObject
*_wrap_SizerItem_DetachSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38140 PyObject
*resultobj
;
38141 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
38142 PyObject
* obj0
= 0 ;
38143 char *kwnames
[] = {
38144 (char *) "self", NULL
38147 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_DetachSizer",kwnames
,&obj0
)) goto fail
;
38148 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
38149 if (SWIG_arg_fail(1)) SWIG_fail
;
38151 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38152 (arg1
)->DetachSizer();
38154 wxPyEndAllowThreads(__tstate
);
38155 if (PyErr_Occurred()) SWIG_fail
;
38157 Py_INCREF(Py_None
); resultobj
= Py_None
;
38164 static PyObject
*_wrap_SizerItem_GetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38165 PyObject
*resultobj
;
38166 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
38168 PyObject
* obj0
= 0 ;
38169 char *kwnames
[] = {
38170 (char *) "self", NULL
38173 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetSize",kwnames
,&obj0
)) goto fail
;
38174 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
38175 if (SWIG_arg_fail(1)) SWIG_fail
;
38177 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38178 result
= (arg1
)->GetSize();
38180 wxPyEndAllowThreads(__tstate
);
38181 if (PyErr_Occurred()) SWIG_fail
;
38184 wxSize
* resultptr
;
38185 resultptr
= new wxSize((wxSize
&)(result
));
38186 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
38194 static PyObject
*_wrap_SizerItem_CalcMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38195 PyObject
*resultobj
;
38196 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
38198 PyObject
* obj0
= 0 ;
38199 char *kwnames
[] = {
38200 (char *) "self", NULL
38203 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_CalcMin",kwnames
,&obj0
)) goto fail
;
38204 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
38205 if (SWIG_arg_fail(1)) SWIG_fail
;
38207 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38208 result
= (arg1
)->CalcMin();
38210 wxPyEndAllowThreads(__tstate
);
38211 if (PyErr_Occurred()) SWIG_fail
;
38214 wxSize
* resultptr
;
38215 resultptr
= new wxSize((wxSize
&)(result
));
38216 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
38224 static PyObject
*_wrap_SizerItem_SetDimension(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38225 PyObject
*resultobj
;
38226 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
38229 PyObject
* obj0
= 0 ;
38230 PyObject
* obj1
= 0 ;
38231 PyObject
* obj2
= 0 ;
38232 char *kwnames
[] = {
38233 (char *) "self",(char *) "pos",(char *) "size", NULL
38236 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SizerItem_SetDimension",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
38237 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
38238 if (SWIG_arg_fail(1)) SWIG_fail
;
38241 SWIG_Python_ConvertPtr(obj1
, (void **)&argp
, SWIGTYPE_p_wxPoint
, SWIG_POINTER_EXCEPTION
);
38242 if (SWIG_arg_fail(2)) SWIG_fail
;
38243 if (argp
== NULL
) {
38244 SWIG_null_ref("wxPoint");
38246 if (SWIG_arg_fail(2)) SWIG_fail
;
38251 SWIG_Python_ConvertPtr(obj2
, (void **)&argp
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
);
38252 if (SWIG_arg_fail(3)) SWIG_fail
;
38253 if (argp
== NULL
) {
38254 SWIG_null_ref("wxSize");
38256 if (SWIG_arg_fail(3)) SWIG_fail
;
38260 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38261 (arg1
)->SetDimension(arg2
,arg3
);
38263 wxPyEndAllowThreads(__tstate
);
38264 if (PyErr_Occurred()) SWIG_fail
;
38266 Py_INCREF(Py_None
); resultobj
= Py_None
;
38273 static PyObject
*_wrap_SizerItem_GetMinSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38274 PyObject
*resultobj
;
38275 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
38277 PyObject
* obj0
= 0 ;
38278 char *kwnames
[] = {
38279 (char *) "self", NULL
38282 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetMinSize",kwnames
,&obj0
)) goto fail
;
38283 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
38284 if (SWIG_arg_fail(1)) SWIG_fail
;
38286 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38287 result
= (arg1
)->GetMinSize();
38289 wxPyEndAllowThreads(__tstate
);
38290 if (PyErr_Occurred()) SWIG_fail
;
38293 wxSize
* resultptr
;
38294 resultptr
= new wxSize((wxSize
&)(result
));
38295 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
38303 static PyObject
*_wrap_SizerItem_GetMinSizeWithBorder(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38304 PyObject
*resultobj
;
38305 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
38307 PyObject
* obj0
= 0 ;
38308 char *kwnames
[] = {
38309 (char *) "self", NULL
38312 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetMinSizeWithBorder",kwnames
,&obj0
)) goto fail
;
38313 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
38314 if (SWIG_arg_fail(1)) SWIG_fail
;
38316 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38317 result
= ((wxSizerItem
const *)arg1
)->GetMinSizeWithBorder();
38319 wxPyEndAllowThreads(__tstate
);
38320 if (PyErr_Occurred()) SWIG_fail
;
38323 wxSize
* resultptr
;
38324 resultptr
= new wxSize((wxSize
&)(result
));
38325 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
38333 static PyObject
*_wrap_SizerItem_SetInitSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38334 PyObject
*resultobj
;
38335 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
38338 PyObject
* obj0
= 0 ;
38339 PyObject
* obj1
= 0 ;
38340 PyObject
* obj2
= 0 ;
38341 char *kwnames
[] = {
38342 (char *) "self",(char *) "x",(char *) "y", NULL
38345 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SizerItem_SetInitSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
38346 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
38347 if (SWIG_arg_fail(1)) SWIG_fail
;
38349 arg2
= (int)(SWIG_As_int(obj1
));
38350 if (SWIG_arg_fail(2)) SWIG_fail
;
38353 arg3
= (int)(SWIG_As_int(obj2
));
38354 if (SWIG_arg_fail(3)) SWIG_fail
;
38357 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38358 (arg1
)->SetInitSize(arg2
,arg3
);
38360 wxPyEndAllowThreads(__tstate
);
38361 if (PyErr_Occurred()) SWIG_fail
;
38363 Py_INCREF(Py_None
); resultobj
= Py_None
;
38370 static PyObject
*_wrap_SizerItem_SetRatioWH(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38371 PyObject
*resultobj
;
38372 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
38375 PyObject
* obj0
= 0 ;
38376 PyObject
* obj1
= 0 ;
38377 PyObject
* obj2
= 0 ;
38378 char *kwnames
[] = {
38379 (char *) "self",(char *) "width",(char *) "height", NULL
38382 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SizerItem_SetRatioWH",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
38383 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
38384 if (SWIG_arg_fail(1)) SWIG_fail
;
38386 arg2
= (int)(SWIG_As_int(obj1
));
38387 if (SWIG_arg_fail(2)) SWIG_fail
;
38390 arg3
= (int)(SWIG_As_int(obj2
));
38391 if (SWIG_arg_fail(3)) SWIG_fail
;
38394 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38395 (arg1
)->SetRatio(arg2
,arg3
);
38397 wxPyEndAllowThreads(__tstate
);
38398 if (PyErr_Occurred()) SWIG_fail
;
38400 Py_INCREF(Py_None
); resultobj
= Py_None
;
38407 static PyObject
*_wrap_SizerItem_SetRatioSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38408 PyObject
*resultobj
;
38409 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
38411 PyObject
* obj0
= 0 ;
38412 PyObject
* obj1
= 0 ;
38413 char *kwnames
[] = {
38414 (char *) "self",(char *) "size", NULL
38417 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetRatioSize",kwnames
,&obj0
,&obj1
)) goto fail
;
38418 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
38419 if (SWIG_arg_fail(1)) SWIG_fail
;
38422 SWIG_Python_ConvertPtr(obj1
, (void **)&argp
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
);
38423 if (SWIG_arg_fail(2)) SWIG_fail
;
38424 if (argp
== NULL
) {
38425 SWIG_null_ref("wxSize");
38427 if (SWIG_arg_fail(2)) SWIG_fail
;
38431 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38432 (arg1
)->SetRatio(arg2
);
38434 wxPyEndAllowThreads(__tstate
);
38435 if (PyErr_Occurred()) SWIG_fail
;
38437 Py_INCREF(Py_None
); resultobj
= Py_None
;
38444 static PyObject
*_wrap_SizerItem_SetRatio(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38445 PyObject
*resultobj
;
38446 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
38448 PyObject
* obj0
= 0 ;
38449 PyObject
* obj1
= 0 ;
38450 char *kwnames
[] = {
38451 (char *) "self",(char *) "ratio", NULL
38454 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetRatio",kwnames
,&obj0
,&obj1
)) goto fail
;
38455 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
38456 if (SWIG_arg_fail(1)) SWIG_fail
;
38458 arg2
= (float)(SWIG_As_float(obj1
));
38459 if (SWIG_arg_fail(2)) SWIG_fail
;
38462 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38463 (arg1
)->SetRatio(arg2
);
38465 wxPyEndAllowThreads(__tstate
);
38466 if (PyErr_Occurred()) SWIG_fail
;
38468 Py_INCREF(Py_None
); resultobj
= Py_None
;
38475 static PyObject
*_wrap_SizerItem_GetRatio(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38476 PyObject
*resultobj
;
38477 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
38479 PyObject
* obj0
= 0 ;
38480 char *kwnames
[] = {
38481 (char *) "self", NULL
38484 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetRatio",kwnames
,&obj0
)) goto fail
;
38485 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
38486 if (SWIG_arg_fail(1)) SWIG_fail
;
38488 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38489 result
= (float)(arg1
)->GetRatio();
38491 wxPyEndAllowThreads(__tstate
);
38492 if (PyErr_Occurred()) SWIG_fail
;
38495 resultobj
= SWIG_From_float((float)(result
));
38503 static PyObject
*_wrap_SizerItem_GetRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38504 PyObject
*resultobj
;
38505 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
38507 PyObject
* obj0
= 0 ;
38508 char *kwnames
[] = {
38509 (char *) "self", NULL
38512 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetRect",kwnames
,&obj0
)) goto fail
;
38513 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
38514 if (SWIG_arg_fail(1)) SWIG_fail
;
38516 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38517 result
= (arg1
)->GetRect();
38519 wxPyEndAllowThreads(__tstate
);
38520 if (PyErr_Occurred()) SWIG_fail
;
38523 wxRect
* resultptr
;
38524 resultptr
= new wxRect((wxRect
&)(result
));
38525 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
38533 static PyObject
*_wrap_SizerItem_IsWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38534 PyObject
*resultobj
;
38535 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
38537 PyObject
* obj0
= 0 ;
38538 char *kwnames
[] = {
38539 (char *) "self", NULL
38542 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_IsWindow",kwnames
,&obj0
)) goto fail
;
38543 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
38544 if (SWIG_arg_fail(1)) SWIG_fail
;
38546 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38547 result
= (bool)(arg1
)->IsWindow();
38549 wxPyEndAllowThreads(__tstate
);
38550 if (PyErr_Occurred()) SWIG_fail
;
38553 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38561 static PyObject
*_wrap_SizerItem_IsSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38562 PyObject
*resultobj
;
38563 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
38565 PyObject
* obj0
= 0 ;
38566 char *kwnames
[] = {
38567 (char *) "self", NULL
38570 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_IsSizer",kwnames
,&obj0
)) goto fail
;
38571 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
38572 if (SWIG_arg_fail(1)) SWIG_fail
;
38574 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38575 result
= (bool)(arg1
)->IsSizer();
38577 wxPyEndAllowThreads(__tstate
);
38578 if (PyErr_Occurred()) SWIG_fail
;
38581 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38589 static PyObject
*_wrap_SizerItem_IsSpacer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38590 PyObject
*resultobj
;
38591 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
38593 PyObject
* obj0
= 0 ;
38594 char *kwnames
[] = {
38595 (char *) "self", NULL
38598 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_IsSpacer",kwnames
,&obj0
)) goto fail
;
38599 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
38600 if (SWIG_arg_fail(1)) SWIG_fail
;
38602 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38603 result
= (bool)(arg1
)->IsSpacer();
38605 wxPyEndAllowThreads(__tstate
);
38606 if (PyErr_Occurred()) SWIG_fail
;
38609 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38617 static PyObject
*_wrap_SizerItem_SetProportion(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38618 PyObject
*resultobj
;
38619 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
38621 PyObject
* obj0
= 0 ;
38622 PyObject
* obj1
= 0 ;
38623 char *kwnames
[] = {
38624 (char *) "self",(char *) "proportion", NULL
38627 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetProportion",kwnames
,&obj0
,&obj1
)) goto fail
;
38628 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
38629 if (SWIG_arg_fail(1)) SWIG_fail
;
38631 arg2
= (int)(SWIG_As_int(obj1
));
38632 if (SWIG_arg_fail(2)) SWIG_fail
;
38635 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38636 (arg1
)->SetProportion(arg2
);
38638 wxPyEndAllowThreads(__tstate
);
38639 if (PyErr_Occurred()) SWIG_fail
;
38641 Py_INCREF(Py_None
); resultobj
= Py_None
;
38648 static PyObject
*_wrap_SizerItem_GetProportion(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38649 PyObject
*resultobj
;
38650 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
38652 PyObject
* obj0
= 0 ;
38653 char *kwnames
[] = {
38654 (char *) "self", NULL
38657 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetProportion",kwnames
,&obj0
)) goto fail
;
38658 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
38659 if (SWIG_arg_fail(1)) SWIG_fail
;
38661 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38662 result
= (int)(arg1
)->GetProportion();
38664 wxPyEndAllowThreads(__tstate
);
38665 if (PyErr_Occurred()) SWIG_fail
;
38668 resultobj
= SWIG_From_int((int)(result
));
38676 static PyObject
*_wrap_SizerItem_SetFlag(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38677 PyObject
*resultobj
;
38678 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
38680 PyObject
* obj0
= 0 ;
38681 PyObject
* obj1
= 0 ;
38682 char *kwnames
[] = {
38683 (char *) "self",(char *) "flag", NULL
38686 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetFlag",kwnames
,&obj0
,&obj1
)) goto fail
;
38687 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
38688 if (SWIG_arg_fail(1)) SWIG_fail
;
38690 arg2
= (int)(SWIG_As_int(obj1
));
38691 if (SWIG_arg_fail(2)) SWIG_fail
;
38694 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38695 (arg1
)->SetFlag(arg2
);
38697 wxPyEndAllowThreads(__tstate
);
38698 if (PyErr_Occurred()) SWIG_fail
;
38700 Py_INCREF(Py_None
); resultobj
= Py_None
;
38707 static PyObject
*_wrap_SizerItem_GetFlag(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38708 PyObject
*resultobj
;
38709 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
38711 PyObject
* obj0
= 0 ;
38712 char *kwnames
[] = {
38713 (char *) "self", NULL
38716 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetFlag",kwnames
,&obj0
)) goto fail
;
38717 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
38718 if (SWIG_arg_fail(1)) SWIG_fail
;
38720 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38721 result
= (int)(arg1
)->GetFlag();
38723 wxPyEndAllowThreads(__tstate
);
38724 if (PyErr_Occurred()) SWIG_fail
;
38727 resultobj
= SWIG_From_int((int)(result
));
38735 static PyObject
*_wrap_SizerItem_SetBorder(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38736 PyObject
*resultobj
;
38737 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
38739 PyObject
* obj0
= 0 ;
38740 PyObject
* obj1
= 0 ;
38741 char *kwnames
[] = {
38742 (char *) "self",(char *) "border", NULL
38745 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetBorder",kwnames
,&obj0
,&obj1
)) goto fail
;
38746 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
38747 if (SWIG_arg_fail(1)) SWIG_fail
;
38749 arg2
= (int)(SWIG_As_int(obj1
));
38750 if (SWIG_arg_fail(2)) SWIG_fail
;
38753 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38754 (arg1
)->SetBorder(arg2
);
38756 wxPyEndAllowThreads(__tstate
);
38757 if (PyErr_Occurred()) SWIG_fail
;
38759 Py_INCREF(Py_None
); resultobj
= Py_None
;
38766 static PyObject
*_wrap_SizerItem_GetBorder(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38767 PyObject
*resultobj
;
38768 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
38770 PyObject
* obj0
= 0 ;
38771 char *kwnames
[] = {
38772 (char *) "self", NULL
38775 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetBorder",kwnames
,&obj0
)) goto fail
;
38776 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
38777 if (SWIG_arg_fail(1)) SWIG_fail
;
38779 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38780 result
= (int)(arg1
)->GetBorder();
38782 wxPyEndAllowThreads(__tstate
);
38783 if (PyErr_Occurred()) SWIG_fail
;
38786 resultobj
= SWIG_From_int((int)(result
));
38794 static PyObject
*_wrap_SizerItem_GetWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38795 PyObject
*resultobj
;
38796 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
38798 PyObject
* obj0
= 0 ;
38799 char *kwnames
[] = {
38800 (char *) "self", NULL
38803 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetWindow",kwnames
,&obj0
)) goto fail
;
38804 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
38805 if (SWIG_arg_fail(1)) SWIG_fail
;
38807 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38808 result
= (wxWindow
*)(arg1
)->GetWindow();
38810 wxPyEndAllowThreads(__tstate
);
38811 if (PyErr_Occurred()) SWIG_fail
;
38814 resultobj
= wxPyMake_wxObject(result
, 0);
38822 static PyObject
*_wrap_SizerItem_SetWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38823 PyObject
*resultobj
;
38824 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
38825 wxWindow
*arg2
= (wxWindow
*) 0 ;
38826 PyObject
* obj0
= 0 ;
38827 PyObject
* obj1
= 0 ;
38828 char *kwnames
[] = {
38829 (char *) "self",(char *) "window", NULL
38832 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
38833 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
38834 if (SWIG_arg_fail(1)) SWIG_fail
;
38835 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
38836 if (SWIG_arg_fail(2)) SWIG_fail
;
38838 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38839 (arg1
)->SetWindow(arg2
);
38841 wxPyEndAllowThreads(__tstate
);
38842 if (PyErr_Occurred()) SWIG_fail
;
38844 Py_INCREF(Py_None
); resultobj
= Py_None
;
38851 static PyObject
*_wrap_SizerItem_GetSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38852 PyObject
*resultobj
;
38853 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
38855 PyObject
* obj0
= 0 ;
38856 char *kwnames
[] = {
38857 (char *) "self", NULL
38860 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetSizer",kwnames
,&obj0
)) goto fail
;
38861 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
38862 if (SWIG_arg_fail(1)) SWIG_fail
;
38864 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38865 result
= (wxSizer
*)(arg1
)->GetSizer();
38867 wxPyEndAllowThreads(__tstate
);
38868 if (PyErr_Occurred()) SWIG_fail
;
38871 resultobj
= wxPyMake_wxSizer(result
, 0);
38879 static PyObject
*_wrap_SizerItem_SetSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38880 PyObject
*resultobj
;
38881 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
38882 wxSizer
*arg2
= (wxSizer
*) 0 ;
38883 PyObject
* obj0
= 0 ;
38884 PyObject
* obj1
= 0 ;
38885 char *kwnames
[] = {
38886 (char *) "self",(char *) "sizer", NULL
38889 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetSizer",kwnames
,&obj0
,&obj1
)) goto fail
;
38890 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
38891 if (SWIG_arg_fail(1)) SWIG_fail
;
38892 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
38893 if (SWIG_arg_fail(2)) SWIG_fail
;
38895 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38896 (arg1
)->SetSizer(arg2
);
38898 wxPyEndAllowThreads(__tstate
);
38899 if (PyErr_Occurred()) SWIG_fail
;
38901 Py_INCREF(Py_None
); resultobj
= Py_None
;
38908 static PyObject
*_wrap_SizerItem_GetSpacer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38909 PyObject
*resultobj
;
38910 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
38912 PyObject
* obj0
= 0 ;
38913 char *kwnames
[] = {
38914 (char *) "self", NULL
38917 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetSpacer",kwnames
,&obj0
)) goto fail
;
38918 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
38919 if (SWIG_arg_fail(1)) SWIG_fail
;
38921 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38923 wxSize
const &_result_ref
= (arg1
)->GetSpacer();
38924 result
= (wxSize
*) &_result_ref
;
38927 wxPyEndAllowThreads(__tstate
);
38928 if (PyErr_Occurred()) SWIG_fail
;
38930 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSize
, 0);
38937 static PyObject
*_wrap_SizerItem_SetSpacer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38938 PyObject
*resultobj
;
38939 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
38942 PyObject
* obj0
= 0 ;
38943 PyObject
* obj1
= 0 ;
38944 char *kwnames
[] = {
38945 (char *) "self",(char *) "size", NULL
38948 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetSpacer",kwnames
,&obj0
,&obj1
)) goto fail
;
38949 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
38950 if (SWIG_arg_fail(1)) SWIG_fail
;
38953 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
38956 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38957 (arg1
)->SetSpacer((wxSize
const &)*arg2
);
38959 wxPyEndAllowThreads(__tstate
);
38960 if (PyErr_Occurred()) SWIG_fail
;
38962 Py_INCREF(Py_None
); resultobj
= Py_None
;
38969 static PyObject
*_wrap_SizerItem_Show(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38970 PyObject
*resultobj
;
38971 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
38973 PyObject
* obj0
= 0 ;
38974 PyObject
* obj1
= 0 ;
38975 char *kwnames
[] = {
38976 (char *) "self",(char *) "show", NULL
38979 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_Show",kwnames
,&obj0
,&obj1
)) goto fail
;
38980 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
38981 if (SWIG_arg_fail(1)) SWIG_fail
;
38983 arg2
= (bool)(SWIG_As_bool(obj1
));
38984 if (SWIG_arg_fail(2)) SWIG_fail
;
38987 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38988 (arg1
)->Show(arg2
);
38990 wxPyEndAllowThreads(__tstate
);
38991 if (PyErr_Occurred()) SWIG_fail
;
38993 Py_INCREF(Py_None
); resultobj
= Py_None
;
39000 static PyObject
*_wrap_SizerItem_IsShown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39001 PyObject
*resultobj
;
39002 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
39004 PyObject
* obj0
= 0 ;
39005 char *kwnames
[] = {
39006 (char *) "self", NULL
39009 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_IsShown",kwnames
,&obj0
)) goto fail
;
39010 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
39011 if (SWIG_arg_fail(1)) SWIG_fail
;
39013 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39014 result
= (bool)(arg1
)->IsShown();
39016 wxPyEndAllowThreads(__tstate
);
39017 if (PyErr_Occurred()) SWIG_fail
;
39020 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
39028 static PyObject
*_wrap_SizerItem_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39029 PyObject
*resultobj
;
39030 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
39032 PyObject
* obj0
= 0 ;
39033 char *kwnames
[] = {
39034 (char *) "self", NULL
39037 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetPosition",kwnames
,&obj0
)) goto fail
;
39038 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
39039 if (SWIG_arg_fail(1)) SWIG_fail
;
39041 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39042 result
= (arg1
)->GetPosition();
39044 wxPyEndAllowThreads(__tstate
);
39045 if (PyErr_Occurred()) SWIG_fail
;
39048 wxPoint
* resultptr
;
39049 resultptr
= new wxPoint((wxPoint
&)(result
));
39050 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
39058 static PyObject
*_wrap_SizerItem_GetUserData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39059 PyObject
*resultobj
;
39060 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
39062 PyObject
* obj0
= 0 ;
39063 char *kwnames
[] = {
39064 (char *) "self", NULL
39067 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetUserData",kwnames
,&obj0
)) goto fail
;
39068 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
39069 if (SWIG_arg_fail(1)) SWIG_fail
;
39071 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39072 result
= (PyObject
*)wxSizerItem_GetUserData(arg1
);
39074 wxPyEndAllowThreads(__tstate
);
39075 if (PyErr_Occurred()) SWIG_fail
;
39077 resultobj
= result
;
39084 static PyObject
* SizerItem_swigregister(PyObject
*, PyObject
*args
) {
39086 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
39087 SWIG_TypeClientData(SWIGTYPE_p_wxSizerItem
, obj
);
39089 return Py_BuildValue((char *)"");
39091 static PyObject
*_wrap_Sizer__setOORInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39092 PyObject
*resultobj
;
39093 wxSizer
*arg1
= (wxSizer
*) 0 ;
39094 PyObject
*arg2
= (PyObject
*) 0 ;
39095 PyObject
* obj0
= 0 ;
39096 PyObject
* obj1
= 0 ;
39097 char *kwnames
[] = {
39098 (char *) "self",(char *) "_self", NULL
39101 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer__setOORInfo",kwnames
,&obj0
,&obj1
)) goto fail
;
39102 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
39103 if (SWIG_arg_fail(1)) SWIG_fail
;
39106 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39107 wxSizer__setOORInfo(arg1
,arg2
);
39109 wxPyEndAllowThreads(__tstate
);
39110 if (PyErr_Occurred()) SWIG_fail
;
39112 Py_INCREF(Py_None
); resultobj
= Py_None
;
39119 static PyObject
*_wrap_Sizer_Add(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39120 PyObject
*resultobj
;
39121 wxSizer
*arg1
= (wxSizer
*) 0 ;
39122 PyObject
*arg2
= (PyObject
*) 0 ;
39123 int arg3
= (int) 0 ;
39124 int arg4
= (int) 0 ;
39125 int arg5
= (int) 0 ;
39126 PyObject
*arg6
= (PyObject
*) NULL
;
39127 wxSizerItem
*result
;
39128 PyObject
* obj0
= 0 ;
39129 PyObject
* obj1
= 0 ;
39130 PyObject
* obj2
= 0 ;
39131 PyObject
* obj3
= 0 ;
39132 PyObject
* obj4
= 0 ;
39133 PyObject
* obj5
= 0 ;
39134 char *kwnames
[] = {
39135 (char *) "self",(char *) "item",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
39138 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:Sizer_Add",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
39139 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
39140 if (SWIG_arg_fail(1)) SWIG_fail
;
39144 arg3
= (int)(SWIG_As_int(obj2
));
39145 if (SWIG_arg_fail(3)) SWIG_fail
;
39150 arg4
= (int)(SWIG_As_int(obj3
));
39151 if (SWIG_arg_fail(4)) SWIG_fail
;
39156 arg5
= (int)(SWIG_As_int(obj4
));
39157 if (SWIG_arg_fail(5)) SWIG_fail
;
39164 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39165 result
= (wxSizerItem
*)wxSizer_Add(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
);
39167 wxPyEndAllowThreads(__tstate
);
39168 if (PyErr_Occurred()) SWIG_fail
;
39170 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizerItem
, 0);
39177 static PyObject
*_wrap_Sizer_Insert(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39178 PyObject
*resultobj
;
39179 wxSizer
*arg1
= (wxSizer
*) 0 ;
39181 PyObject
*arg3
= (PyObject
*) 0 ;
39182 int arg4
= (int) 0 ;
39183 int arg5
= (int) 0 ;
39184 int arg6
= (int) 0 ;
39185 PyObject
*arg7
= (PyObject
*) NULL
;
39186 wxSizerItem
*result
;
39187 PyObject
* obj0
= 0 ;
39188 PyObject
* obj1
= 0 ;
39189 PyObject
* obj2
= 0 ;
39190 PyObject
* obj3
= 0 ;
39191 PyObject
* obj4
= 0 ;
39192 PyObject
* obj5
= 0 ;
39193 PyObject
* obj6
= 0 ;
39194 char *kwnames
[] = {
39195 (char *) "self",(char *) "before",(char *) "item",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
39198 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:Sizer_Insert",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
39199 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
39200 if (SWIG_arg_fail(1)) SWIG_fail
;
39202 arg2
= (int)(SWIG_As_int(obj1
));
39203 if (SWIG_arg_fail(2)) SWIG_fail
;
39208 arg4
= (int)(SWIG_As_int(obj3
));
39209 if (SWIG_arg_fail(4)) SWIG_fail
;
39214 arg5
= (int)(SWIG_As_int(obj4
));
39215 if (SWIG_arg_fail(5)) SWIG_fail
;
39220 arg6
= (int)(SWIG_As_int(obj5
));
39221 if (SWIG_arg_fail(6)) SWIG_fail
;
39228 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39229 result
= (wxSizerItem
*)wxSizer_Insert(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
39231 wxPyEndAllowThreads(__tstate
);
39232 if (PyErr_Occurred()) SWIG_fail
;
39234 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizerItem
, 0);
39241 static PyObject
*_wrap_Sizer_Prepend(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39242 PyObject
*resultobj
;
39243 wxSizer
*arg1
= (wxSizer
*) 0 ;
39244 PyObject
*arg2
= (PyObject
*) 0 ;
39245 int arg3
= (int) 0 ;
39246 int arg4
= (int) 0 ;
39247 int arg5
= (int) 0 ;
39248 PyObject
*arg6
= (PyObject
*) NULL
;
39249 wxSizerItem
*result
;
39250 PyObject
* obj0
= 0 ;
39251 PyObject
* obj1
= 0 ;
39252 PyObject
* obj2
= 0 ;
39253 PyObject
* obj3
= 0 ;
39254 PyObject
* obj4
= 0 ;
39255 PyObject
* obj5
= 0 ;
39256 char *kwnames
[] = {
39257 (char *) "self",(char *) "item",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
39260 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:Sizer_Prepend",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
39261 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
39262 if (SWIG_arg_fail(1)) SWIG_fail
;
39266 arg3
= (int)(SWIG_As_int(obj2
));
39267 if (SWIG_arg_fail(3)) SWIG_fail
;
39272 arg4
= (int)(SWIG_As_int(obj3
));
39273 if (SWIG_arg_fail(4)) SWIG_fail
;
39278 arg5
= (int)(SWIG_As_int(obj4
));
39279 if (SWIG_arg_fail(5)) SWIG_fail
;
39286 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39287 result
= (wxSizerItem
*)wxSizer_Prepend(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
);
39289 wxPyEndAllowThreads(__tstate
);
39290 if (PyErr_Occurred()) SWIG_fail
;
39292 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizerItem
, 0);
39299 static PyObject
*_wrap_Sizer_Remove(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39300 PyObject
*resultobj
;
39301 wxSizer
*arg1
= (wxSizer
*) 0 ;
39302 PyObject
*arg2
= (PyObject
*) 0 ;
39304 PyObject
* obj0
= 0 ;
39305 PyObject
* obj1
= 0 ;
39306 char *kwnames
[] = {
39307 (char *) "self",(char *) "item", NULL
39310 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_Remove",kwnames
,&obj0
,&obj1
)) goto fail
;
39311 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
39312 if (SWIG_arg_fail(1)) SWIG_fail
;
39315 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39316 result
= (bool)wxSizer_Remove(arg1
,arg2
);
39318 wxPyEndAllowThreads(__tstate
);
39319 if (PyErr_Occurred()) SWIG_fail
;
39322 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
39330 static PyObject
*_wrap_Sizer_Detach(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39331 PyObject
*resultobj
;
39332 wxSizer
*arg1
= (wxSizer
*) 0 ;
39333 PyObject
*arg2
= (PyObject
*) 0 ;
39335 PyObject
* obj0
= 0 ;
39336 PyObject
* obj1
= 0 ;
39337 char *kwnames
[] = {
39338 (char *) "self",(char *) "item", NULL
39341 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_Detach",kwnames
,&obj0
,&obj1
)) goto fail
;
39342 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
39343 if (SWIG_arg_fail(1)) SWIG_fail
;
39346 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39347 result
= (bool)wxSizer_Detach(arg1
,arg2
);
39349 wxPyEndAllowThreads(__tstate
);
39350 if (PyErr_Occurred()) SWIG_fail
;
39353 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
39361 static PyObject
*_wrap_Sizer_GetItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39362 PyObject
*resultobj
;
39363 wxSizer
*arg1
= (wxSizer
*) 0 ;
39364 PyObject
*arg2
= (PyObject
*) 0 ;
39365 wxSizerItem
*result
;
39366 PyObject
* obj0
= 0 ;
39367 PyObject
* obj1
= 0 ;
39368 char *kwnames
[] = {
39369 (char *) "self",(char *) "item", NULL
39372 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_GetItem",kwnames
,&obj0
,&obj1
)) goto fail
;
39373 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
39374 if (SWIG_arg_fail(1)) SWIG_fail
;
39377 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39378 result
= (wxSizerItem
*)wxSizer_GetItem(arg1
,arg2
);
39380 wxPyEndAllowThreads(__tstate
);
39381 if (PyErr_Occurred()) SWIG_fail
;
39383 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizerItem
, 0);
39390 static PyObject
*_wrap_Sizer__SetItemMinSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39391 PyObject
*resultobj
;
39392 wxSizer
*arg1
= (wxSizer
*) 0 ;
39393 PyObject
*arg2
= (PyObject
*) 0 ;
39396 PyObject
* obj0
= 0 ;
39397 PyObject
* obj1
= 0 ;
39398 PyObject
* obj2
= 0 ;
39399 char *kwnames
[] = {
39400 (char *) "self",(char *) "item",(char *) "size", NULL
39403 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Sizer__SetItemMinSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
39404 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
39405 if (SWIG_arg_fail(1)) SWIG_fail
;
39409 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
39412 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39413 wxSizer__SetItemMinSize(arg1
,arg2
,(wxSize
const &)*arg3
);
39415 wxPyEndAllowThreads(__tstate
);
39416 if (PyErr_Occurred()) SWIG_fail
;
39418 Py_INCREF(Py_None
); resultobj
= Py_None
;
39425 static PyObject
*_wrap_Sizer_AddItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39426 PyObject
*resultobj
;
39427 wxSizer
*arg1
= (wxSizer
*) 0 ;
39428 wxSizerItem
*arg2
= (wxSizerItem
*) 0 ;
39429 wxSizerItem
*result
;
39430 PyObject
* obj0
= 0 ;
39431 PyObject
* obj1
= 0 ;
39432 char *kwnames
[] = {
39433 (char *) "self",(char *) "item", NULL
39436 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_AddItem",kwnames
,&obj0
,&obj1
)) goto fail
;
39437 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
39438 if (SWIG_arg_fail(1)) SWIG_fail
;
39439 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
39440 if (SWIG_arg_fail(2)) SWIG_fail
;
39442 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39443 result
= (wxSizerItem
*)(arg1
)->Add(arg2
);
39445 wxPyEndAllowThreads(__tstate
);
39446 if (PyErr_Occurred()) SWIG_fail
;
39448 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizerItem
, 0);
39455 static PyObject
*_wrap_Sizer_InsertItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39456 PyObject
*resultobj
;
39457 wxSizer
*arg1
= (wxSizer
*) 0 ;
39459 wxSizerItem
*arg3
= (wxSizerItem
*) 0 ;
39460 wxSizerItem
*result
;
39461 PyObject
* obj0
= 0 ;
39462 PyObject
* obj1
= 0 ;
39463 PyObject
* obj2
= 0 ;
39464 char *kwnames
[] = {
39465 (char *) "self",(char *) "index",(char *) "item", NULL
39468 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Sizer_InsertItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
39469 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
39470 if (SWIG_arg_fail(1)) SWIG_fail
;
39472 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
39473 if (SWIG_arg_fail(2)) SWIG_fail
;
39475 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
39476 if (SWIG_arg_fail(3)) SWIG_fail
;
39478 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39479 result
= (wxSizerItem
*)(arg1
)->Insert(arg2
,arg3
);
39481 wxPyEndAllowThreads(__tstate
);
39482 if (PyErr_Occurred()) SWIG_fail
;
39484 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizerItem
, 0);
39491 static PyObject
*_wrap_Sizer_PrependItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39492 PyObject
*resultobj
;
39493 wxSizer
*arg1
= (wxSizer
*) 0 ;
39494 wxSizerItem
*arg2
= (wxSizerItem
*) 0 ;
39495 wxSizerItem
*result
;
39496 PyObject
* obj0
= 0 ;
39497 PyObject
* obj1
= 0 ;
39498 char *kwnames
[] = {
39499 (char *) "self",(char *) "item", NULL
39502 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_PrependItem",kwnames
,&obj0
,&obj1
)) goto fail
;
39503 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
39504 if (SWIG_arg_fail(1)) SWIG_fail
;
39505 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
39506 if (SWIG_arg_fail(2)) SWIG_fail
;
39508 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39509 result
= (wxSizerItem
*)(arg1
)->Prepend(arg2
);
39511 wxPyEndAllowThreads(__tstate
);
39512 if (PyErr_Occurred()) SWIG_fail
;
39514 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizerItem
, 0);
39521 static PyObject
*_wrap_Sizer_SetDimension(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39522 PyObject
*resultobj
;
39523 wxSizer
*arg1
= (wxSizer
*) 0 ;
39528 PyObject
* obj0
= 0 ;
39529 PyObject
* obj1
= 0 ;
39530 PyObject
* obj2
= 0 ;
39531 PyObject
* obj3
= 0 ;
39532 PyObject
* obj4
= 0 ;
39533 char *kwnames
[] = {
39534 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
39537 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Sizer_SetDimension",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
39538 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
39539 if (SWIG_arg_fail(1)) SWIG_fail
;
39541 arg2
= (int)(SWIG_As_int(obj1
));
39542 if (SWIG_arg_fail(2)) SWIG_fail
;
39545 arg3
= (int)(SWIG_As_int(obj2
));
39546 if (SWIG_arg_fail(3)) SWIG_fail
;
39549 arg4
= (int)(SWIG_As_int(obj3
));
39550 if (SWIG_arg_fail(4)) SWIG_fail
;
39553 arg5
= (int)(SWIG_As_int(obj4
));
39554 if (SWIG_arg_fail(5)) SWIG_fail
;
39557 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39558 (arg1
)->SetDimension(arg2
,arg3
,arg4
,arg5
);
39560 wxPyEndAllowThreads(__tstate
);
39561 if (PyErr_Occurred()) SWIG_fail
;
39563 Py_INCREF(Py_None
); resultobj
= Py_None
;
39570 static PyObject
*_wrap_Sizer_SetMinSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39571 PyObject
*resultobj
;
39572 wxSizer
*arg1
= (wxSizer
*) 0 ;
39575 PyObject
* obj0
= 0 ;
39576 PyObject
* obj1
= 0 ;
39577 char *kwnames
[] = {
39578 (char *) "self",(char *) "size", NULL
39581 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_SetMinSize",kwnames
,&obj0
,&obj1
)) goto fail
;
39582 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
39583 if (SWIG_arg_fail(1)) SWIG_fail
;
39586 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
39589 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39590 (arg1
)->SetMinSize((wxSize
const &)*arg2
);
39592 wxPyEndAllowThreads(__tstate
);
39593 if (PyErr_Occurred()) SWIG_fail
;
39595 Py_INCREF(Py_None
); resultobj
= Py_None
;
39602 static PyObject
*_wrap_Sizer_GetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39603 PyObject
*resultobj
;
39604 wxSizer
*arg1
= (wxSizer
*) 0 ;
39606 PyObject
* obj0
= 0 ;
39607 char *kwnames
[] = {
39608 (char *) "self", NULL
39611 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_GetSize",kwnames
,&obj0
)) goto fail
;
39612 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
39613 if (SWIG_arg_fail(1)) SWIG_fail
;
39615 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39616 result
= (arg1
)->GetSize();
39618 wxPyEndAllowThreads(__tstate
);
39619 if (PyErr_Occurred()) SWIG_fail
;
39622 wxSize
* resultptr
;
39623 resultptr
= new wxSize((wxSize
&)(result
));
39624 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
39632 static PyObject
*_wrap_Sizer_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39633 PyObject
*resultobj
;
39634 wxSizer
*arg1
= (wxSizer
*) 0 ;
39636 PyObject
* obj0
= 0 ;
39637 char *kwnames
[] = {
39638 (char *) "self", NULL
39641 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_GetPosition",kwnames
,&obj0
)) goto fail
;
39642 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
39643 if (SWIG_arg_fail(1)) SWIG_fail
;
39645 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39646 result
= (arg1
)->GetPosition();
39648 wxPyEndAllowThreads(__tstate
);
39649 if (PyErr_Occurred()) SWIG_fail
;
39652 wxPoint
* resultptr
;
39653 resultptr
= new wxPoint((wxPoint
&)(result
));
39654 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
39662 static PyObject
*_wrap_Sizer_GetMinSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39663 PyObject
*resultobj
;
39664 wxSizer
*arg1
= (wxSizer
*) 0 ;
39666 PyObject
* obj0
= 0 ;
39667 char *kwnames
[] = {
39668 (char *) "self", NULL
39671 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_GetMinSize",kwnames
,&obj0
)) goto fail
;
39672 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
39673 if (SWIG_arg_fail(1)) SWIG_fail
;
39675 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39676 result
= (arg1
)->GetMinSize();
39678 wxPyEndAllowThreads(__tstate
);
39679 if (PyErr_Occurred()) SWIG_fail
;
39682 wxSize
* resultptr
;
39683 resultptr
= new wxSize((wxSize
&)(result
));
39684 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
39692 static PyObject
*_wrap_Sizer_RecalcSizes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39693 PyObject
*resultobj
;
39694 wxSizer
*arg1
= (wxSizer
*) 0 ;
39695 PyObject
* obj0
= 0 ;
39696 char *kwnames
[] = {
39697 (char *) "self", NULL
39700 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_RecalcSizes",kwnames
,&obj0
)) goto fail
;
39701 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
39702 if (SWIG_arg_fail(1)) SWIG_fail
;
39704 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39705 (arg1
)->RecalcSizes();
39707 wxPyEndAllowThreads(__tstate
);
39708 if (PyErr_Occurred()) SWIG_fail
;
39710 Py_INCREF(Py_None
); resultobj
= Py_None
;
39717 static PyObject
*_wrap_Sizer_CalcMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39718 PyObject
*resultobj
;
39719 wxSizer
*arg1
= (wxSizer
*) 0 ;
39721 PyObject
* obj0
= 0 ;
39722 char *kwnames
[] = {
39723 (char *) "self", NULL
39726 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_CalcMin",kwnames
,&obj0
)) goto fail
;
39727 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
39728 if (SWIG_arg_fail(1)) SWIG_fail
;
39730 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39731 result
= (arg1
)->CalcMin();
39733 wxPyEndAllowThreads(__tstate
);
39734 if (PyErr_Occurred()) SWIG_fail
;
39737 wxSize
* resultptr
;
39738 resultptr
= new wxSize((wxSize
&)(result
));
39739 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
39747 static PyObject
*_wrap_Sizer_Layout(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39748 PyObject
*resultobj
;
39749 wxSizer
*arg1
= (wxSizer
*) 0 ;
39750 PyObject
* obj0
= 0 ;
39751 char *kwnames
[] = {
39752 (char *) "self", NULL
39755 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_Layout",kwnames
,&obj0
)) goto fail
;
39756 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
39757 if (SWIG_arg_fail(1)) SWIG_fail
;
39759 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39762 wxPyEndAllowThreads(__tstate
);
39763 if (PyErr_Occurred()) SWIG_fail
;
39765 Py_INCREF(Py_None
); resultobj
= Py_None
;
39772 static PyObject
*_wrap_Sizer_Fit(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39773 PyObject
*resultobj
;
39774 wxSizer
*arg1
= (wxSizer
*) 0 ;
39775 wxWindow
*arg2
= (wxWindow
*) 0 ;
39777 PyObject
* obj0
= 0 ;
39778 PyObject
* obj1
= 0 ;
39779 char *kwnames
[] = {
39780 (char *) "self",(char *) "window", NULL
39783 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_Fit",kwnames
,&obj0
,&obj1
)) goto fail
;
39784 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
39785 if (SWIG_arg_fail(1)) SWIG_fail
;
39786 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
39787 if (SWIG_arg_fail(2)) SWIG_fail
;
39789 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39790 result
= (arg1
)->Fit(arg2
);
39792 wxPyEndAllowThreads(__tstate
);
39793 if (PyErr_Occurred()) SWIG_fail
;
39796 wxSize
* resultptr
;
39797 resultptr
= new wxSize((wxSize
&)(result
));
39798 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
39806 static PyObject
*_wrap_Sizer_FitInside(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39807 PyObject
*resultobj
;
39808 wxSizer
*arg1
= (wxSizer
*) 0 ;
39809 wxWindow
*arg2
= (wxWindow
*) 0 ;
39810 PyObject
* obj0
= 0 ;
39811 PyObject
* obj1
= 0 ;
39812 char *kwnames
[] = {
39813 (char *) "self",(char *) "window", NULL
39816 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_FitInside",kwnames
,&obj0
,&obj1
)) goto fail
;
39817 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
39818 if (SWIG_arg_fail(1)) SWIG_fail
;
39819 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
39820 if (SWIG_arg_fail(2)) SWIG_fail
;
39822 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39823 (arg1
)->FitInside(arg2
);
39825 wxPyEndAllowThreads(__tstate
);
39826 if (PyErr_Occurred()) SWIG_fail
;
39828 Py_INCREF(Py_None
); resultobj
= Py_None
;
39835 static PyObject
*_wrap_Sizer_SetSizeHints(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39836 PyObject
*resultobj
;
39837 wxSizer
*arg1
= (wxSizer
*) 0 ;
39838 wxWindow
*arg2
= (wxWindow
*) 0 ;
39839 PyObject
* obj0
= 0 ;
39840 PyObject
* obj1
= 0 ;
39841 char *kwnames
[] = {
39842 (char *) "self",(char *) "window", NULL
39845 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_SetSizeHints",kwnames
,&obj0
,&obj1
)) goto fail
;
39846 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
39847 if (SWIG_arg_fail(1)) SWIG_fail
;
39848 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
39849 if (SWIG_arg_fail(2)) SWIG_fail
;
39851 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39852 (arg1
)->SetSizeHints(arg2
);
39854 wxPyEndAllowThreads(__tstate
);
39855 if (PyErr_Occurred()) SWIG_fail
;
39857 Py_INCREF(Py_None
); resultobj
= Py_None
;
39864 static PyObject
*_wrap_Sizer_SetVirtualSizeHints(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39865 PyObject
*resultobj
;
39866 wxSizer
*arg1
= (wxSizer
*) 0 ;
39867 wxWindow
*arg2
= (wxWindow
*) 0 ;
39868 PyObject
* obj0
= 0 ;
39869 PyObject
* obj1
= 0 ;
39870 char *kwnames
[] = {
39871 (char *) "self",(char *) "window", NULL
39874 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_SetVirtualSizeHints",kwnames
,&obj0
,&obj1
)) goto fail
;
39875 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
39876 if (SWIG_arg_fail(1)) SWIG_fail
;
39877 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
39878 if (SWIG_arg_fail(2)) SWIG_fail
;
39880 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39881 (arg1
)->SetVirtualSizeHints(arg2
);
39883 wxPyEndAllowThreads(__tstate
);
39884 if (PyErr_Occurred()) SWIG_fail
;
39886 Py_INCREF(Py_None
); resultobj
= Py_None
;
39893 static PyObject
*_wrap_Sizer_Clear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39894 PyObject
*resultobj
;
39895 wxSizer
*arg1
= (wxSizer
*) 0 ;
39896 bool arg2
= (bool) false ;
39897 PyObject
* obj0
= 0 ;
39898 PyObject
* obj1
= 0 ;
39899 char *kwnames
[] = {
39900 (char *) "self",(char *) "deleteWindows", NULL
39903 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Sizer_Clear",kwnames
,&obj0
,&obj1
)) goto fail
;
39904 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
39905 if (SWIG_arg_fail(1)) SWIG_fail
;
39908 arg2
= (bool)(SWIG_As_bool(obj1
));
39909 if (SWIG_arg_fail(2)) SWIG_fail
;
39913 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39914 (arg1
)->Clear(arg2
);
39916 wxPyEndAllowThreads(__tstate
);
39917 if (PyErr_Occurred()) SWIG_fail
;
39919 Py_INCREF(Py_None
); resultobj
= Py_None
;
39926 static PyObject
*_wrap_Sizer_DeleteWindows(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39927 PyObject
*resultobj
;
39928 wxSizer
*arg1
= (wxSizer
*) 0 ;
39929 PyObject
* obj0
= 0 ;
39930 char *kwnames
[] = {
39931 (char *) "self", NULL
39934 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_DeleteWindows",kwnames
,&obj0
)) goto fail
;
39935 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
39936 if (SWIG_arg_fail(1)) SWIG_fail
;
39938 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39939 (arg1
)->DeleteWindows();
39941 wxPyEndAllowThreads(__tstate
);
39942 if (PyErr_Occurred()) SWIG_fail
;
39944 Py_INCREF(Py_None
); resultobj
= Py_None
;
39951 static PyObject
*_wrap_Sizer_GetChildren(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39952 PyObject
*resultobj
;
39953 wxSizer
*arg1
= (wxSizer
*) 0 ;
39955 PyObject
* obj0
= 0 ;
39956 char *kwnames
[] = {
39957 (char *) "self", NULL
39960 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_GetChildren",kwnames
,&obj0
)) goto fail
;
39961 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
39962 if (SWIG_arg_fail(1)) SWIG_fail
;
39964 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39965 result
= (PyObject
*)wxSizer_GetChildren(arg1
);
39967 wxPyEndAllowThreads(__tstate
);
39968 if (PyErr_Occurred()) SWIG_fail
;
39970 resultobj
= result
;
39977 static PyObject
*_wrap_Sizer_Show(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39978 PyObject
*resultobj
;
39979 wxSizer
*arg1
= (wxSizer
*) 0 ;
39980 PyObject
*arg2
= (PyObject
*) 0 ;
39981 bool arg3
= (bool) true ;
39982 bool arg4
= (bool) false ;
39984 PyObject
* obj0
= 0 ;
39985 PyObject
* obj1
= 0 ;
39986 PyObject
* obj2
= 0 ;
39987 PyObject
* obj3
= 0 ;
39988 char *kwnames
[] = {
39989 (char *) "self",(char *) "item",(char *) "show",(char *) "recursive", NULL
39992 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:Sizer_Show",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
39993 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
39994 if (SWIG_arg_fail(1)) SWIG_fail
;
39998 arg3
= (bool)(SWIG_As_bool(obj2
));
39999 if (SWIG_arg_fail(3)) SWIG_fail
;
40004 arg4
= (bool)(SWIG_As_bool(obj3
));
40005 if (SWIG_arg_fail(4)) SWIG_fail
;
40009 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40010 result
= (bool)wxSizer_Show(arg1
,arg2
,arg3
,arg4
);
40012 wxPyEndAllowThreads(__tstate
);
40013 if (PyErr_Occurred()) SWIG_fail
;
40016 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
40024 static PyObject
*_wrap_Sizer_IsShown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40025 PyObject
*resultobj
;
40026 wxSizer
*arg1
= (wxSizer
*) 0 ;
40027 PyObject
*arg2
= (PyObject
*) 0 ;
40029 PyObject
* obj0
= 0 ;
40030 PyObject
* obj1
= 0 ;
40031 char *kwnames
[] = {
40032 (char *) "self",(char *) "item", NULL
40035 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_IsShown",kwnames
,&obj0
,&obj1
)) goto fail
;
40036 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
40037 if (SWIG_arg_fail(1)) SWIG_fail
;
40040 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40041 result
= (bool)wxSizer_IsShown(arg1
,arg2
);
40043 wxPyEndAllowThreads(__tstate
);
40044 if (PyErr_Occurred()) SWIG_fail
;
40047 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
40055 static PyObject
*_wrap_Sizer_ShowItems(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40056 PyObject
*resultobj
;
40057 wxSizer
*arg1
= (wxSizer
*) 0 ;
40059 PyObject
* obj0
= 0 ;
40060 PyObject
* obj1
= 0 ;
40061 char *kwnames
[] = {
40062 (char *) "self",(char *) "show", NULL
40065 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_ShowItems",kwnames
,&obj0
,&obj1
)) goto fail
;
40066 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
40067 if (SWIG_arg_fail(1)) SWIG_fail
;
40069 arg2
= (bool)(SWIG_As_bool(obj1
));
40070 if (SWIG_arg_fail(2)) SWIG_fail
;
40073 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40074 (arg1
)->ShowItems(arg2
);
40076 wxPyEndAllowThreads(__tstate
);
40077 if (PyErr_Occurred()) SWIG_fail
;
40079 Py_INCREF(Py_None
); resultobj
= Py_None
;
40086 static PyObject
* Sizer_swigregister(PyObject
*, PyObject
*args
) {
40088 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
40089 SWIG_TypeClientData(SWIGTYPE_p_wxSizer
, obj
);
40091 return Py_BuildValue((char *)"");
40093 static PyObject
*_wrap_new_PySizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40094 PyObject
*resultobj
;
40096 char *kwnames
[] = {
40100 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PySizer",kwnames
)) goto fail
;
40102 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40103 result
= (wxPySizer
*)new wxPySizer();
40105 wxPyEndAllowThreads(__tstate
);
40106 if (PyErr_Occurred()) SWIG_fail
;
40108 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPySizer
, 1);
40115 static PyObject
*_wrap_PySizer__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40116 PyObject
*resultobj
;
40117 wxPySizer
*arg1
= (wxPySizer
*) 0 ;
40118 PyObject
*arg2
= (PyObject
*) 0 ;
40119 PyObject
*arg3
= (PyObject
*) 0 ;
40120 PyObject
* obj0
= 0 ;
40121 PyObject
* obj1
= 0 ;
40122 PyObject
* obj2
= 0 ;
40123 char *kwnames
[] = {
40124 (char *) "self",(char *) "self",(char *) "_class", NULL
40127 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PySizer__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
40128 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPySizer
, SWIG_POINTER_EXCEPTION
| 0);
40129 if (SWIG_arg_fail(1)) SWIG_fail
;
40133 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40134 (arg1
)->_setCallbackInfo(arg2
,arg3
);
40136 wxPyEndAllowThreads(__tstate
);
40137 if (PyErr_Occurred()) SWIG_fail
;
40139 Py_INCREF(Py_None
); resultobj
= Py_None
;
40146 static PyObject
* PySizer_swigregister(PyObject
*, PyObject
*args
) {
40148 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
40149 SWIG_TypeClientData(SWIGTYPE_p_wxPySizer
, obj
);
40151 return Py_BuildValue((char *)"");
40153 static PyObject
*_wrap_new_BoxSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40154 PyObject
*resultobj
;
40155 int arg1
= (int) wxHORIZONTAL
;
40156 wxBoxSizer
*result
;
40157 PyObject
* obj0
= 0 ;
40158 char *kwnames
[] = {
40159 (char *) "orient", NULL
40162 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_BoxSizer",kwnames
,&obj0
)) goto fail
;
40165 arg1
= (int)(SWIG_As_int(obj0
));
40166 if (SWIG_arg_fail(1)) SWIG_fail
;
40170 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40171 result
= (wxBoxSizer
*)new wxBoxSizer(arg1
);
40173 wxPyEndAllowThreads(__tstate
);
40174 if (PyErr_Occurred()) SWIG_fail
;
40176 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBoxSizer
, 1);
40183 static PyObject
*_wrap_BoxSizer_GetOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40184 PyObject
*resultobj
;
40185 wxBoxSizer
*arg1
= (wxBoxSizer
*) 0 ;
40187 PyObject
* obj0
= 0 ;
40188 char *kwnames
[] = {
40189 (char *) "self", NULL
40192 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BoxSizer_GetOrientation",kwnames
,&obj0
)) goto fail
;
40193 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBoxSizer
, SWIG_POINTER_EXCEPTION
| 0);
40194 if (SWIG_arg_fail(1)) SWIG_fail
;
40196 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40197 result
= (int)(arg1
)->GetOrientation();
40199 wxPyEndAllowThreads(__tstate
);
40200 if (PyErr_Occurred()) SWIG_fail
;
40203 resultobj
= SWIG_From_int((int)(result
));
40211 static PyObject
*_wrap_BoxSizer_SetOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40212 PyObject
*resultobj
;
40213 wxBoxSizer
*arg1
= (wxBoxSizer
*) 0 ;
40215 PyObject
* obj0
= 0 ;
40216 PyObject
* obj1
= 0 ;
40217 char *kwnames
[] = {
40218 (char *) "self",(char *) "orient", NULL
40221 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BoxSizer_SetOrientation",kwnames
,&obj0
,&obj1
)) goto fail
;
40222 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBoxSizer
, SWIG_POINTER_EXCEPTION
| 0);
40223 if (SWIG_arg_fail(1)) SWIG_fail
;
40225 arg2
= (int)(SWIG_As_int(obj1
));
40226 if (SWIG_arg_fail(2)) SWIG_fail
;
40229 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40230 (arg1
)->SetOrientation(arg2
);
40232 wxPyEndAllowThreads(__tstate
);
40233 if (PyErr_Occurred()) SWIG_fail
;
40235 Py_INCREF(Py_None
); resultobj
= Py_None
;
40242 static PyObject
* BoxSizer_swigregister(PyObject
*, PyObject
*args
) {
40244 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
40245 SWIG_TypeClientData(SWIGTYPE_p_wxBoxSizer
, obj
);
40247 return Py_BuildValue((char *)"");
40249 static PyObject
*_wrap_new_StaticBoxSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40250 PyObject
*resultobj
;
40251 wxStaticBox
*arg1
= (wxStaticBox
*) 0 ;
40252 int arg2
= (int) wxHORIZONTAL
;
40253 wxStaticBoxSizer
*result
;
40254 PyObject
* obj0
= 0 ;
40255 PyObject
* obj1
= 0 ;
40256 char *kwnames
[] = {
40257 (char *) "box",(char *) "orient", NULL
40260 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_StaticBoxSizer",kwnames
,&obj0
,&obj1
)) goto fail
;
40261 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStaticBox
, SWIG_POINTER_EXCEPTION
| 0);
40262 if (SWIG_arg_fail(1)) SWIG_fail
;
40265 arg2
= (int)(SWIG_As_int(obj1
));
40266 if (SWIG_arg_fail(2)) SWIG_fail
;
40270 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40271 result
= (wxStaticBoxSizer
*)new wxStaticBoxSizer(arg1
,arg2
);
40273 wxPyEndAllowThreads(__tstate
);
40274 if (PyErr_Occurred()) SWIG_fail
;
40276 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStaticBoxSizer
, 1);
40283 static PyObject
*_wrap_StaticBoxSizer_GetStaticBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40284 PyObject
*resultobj
;
40285 wxStaticBoxSizer
*arg1
= (wxStaticBoxSizer
*) 0 ;
40286 wxStaticBox
*result
;
40287 PyObject
* obj0
= 0 ;
40288 char *kwnames
[] = {
40289 (char *) "self", NULL
40292 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StaticBoxSizer_GetStaticBox",kwnames
,&obj0
)) goto fail
;
40293 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStaticBoxSizer
, SWIG_POINTER_EXCEPTION
| 0);
40294 if (SWIG_arg_fail(1)) SWIG_fail
;
40296 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40297 result
= (wxStaticBox
*)(arg1
)->GetStaticBox();
40299 wxPyEndAllowThreads(__tstate
);
40300 if (PyErr_Occurred()) SWIG_fail
;
40303 resultobj
= wxPyMake_wxObject(result
, 0);
40311 static PyObject
* StaticBoxSizer_swigregister(PyObject
*, PyObject
*args
) {
40313 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
40314 SWIG_TypeClientData(SWIGTYPE_p_wxStaticBoxSizer
, obj
);
40316 return Py_BuildValue((char *)"");
40318 static PyObject
*_wrap_new_GridSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40319 PyObject
*resultobj
;
40320 int arg1
= (int) 1 ;
40321 int arg2
= (int) 0 ;
40322 int arg3
= (int) 0 ;
40323 int arg4
= (int) 0 ;
40324 wxGridSizer
*result
;
40325 PyObject
* obj0
= 0 ;
40326 PyObject
* obj1
= 0 ;
40327 PyObject
* obj2
= 0 ;
40328 PyObject
* obj3
= 0 ;
40329 char *kwnames
[] = {
40330 (char *) "rows",(char *) "cols",(char *) "vgap",(char *) "hgap", NULL
40333 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_GridSizer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
40336 arg1
= (int)(SWIG_As_int(obj0
));
40337 if (SWIG_arg_fail(1)) SWIG_fail
;
40342 arg2
= (int)(SWIG_As_int(obj1
));
40343 if (SWIG_arg_fail(2)) SWIG_fail
;
40348 arg3
= (int)(SWIG_As_int(obj2
));
40349 if (SWIG_arg_fail(3)) SWIG_fail
;
40354 arg4
= (int)(SWIG_As_int(obj3
));
40355 if (SWIG_arg_fail(4)) SWIG_fail
;
40359 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40360 result
= (wxGridSizer
*)new wxGridSizer(arg1
,arg2
,arg3
,arg4
);
40362 wxPyEndAllowThreads(__tstate
);
40363 if (PyErr_Occurred()) SWIG_fail
;
40365 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGridSizer
, 1);
40372 static PyObject
*_wrap_GridSizer_SetCols(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40373 PyObject
*resultobj
;
40374 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
40376 PyObject
* obj0
= 0 ;
40377 PyObject
* obj1
= 0 ;
40378 char *kwnames
[] = {
40379 (char *) "self",(char *) "cols", NULL
40382 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridSizer_SetCols",kwnames
,&obj0
,&obj1
)) goto fail
;
40383 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridSizer
, SWIG_POINTER_EXCEPTION
| 0);
40384 if (SWIG_arg_fail(1)) SWIG_fail
;
40386 arg2
= (int)(SWIG_As_int(obj1
));
40387 if (SWIG_arg_fail(2)) SWIG_fail
;
40390 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40391 (arg1
)->SetCols(arg2
);
40393 wxPyEndAllowThreads(__tstate
);
40394 if (PyErr_Occurred()) SWIG_fail
;
40396 Py_INCREF(Py_None
); resultobj
= Py_None
;
40403 static PyObject
*_wrap_GridSizer_SetRows(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40404 PyObject
*resultobj
;
40405 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
40407 PyObject
* obj0
= 0 ;
40408 PyObject
* obj1
= 0 ;
40409 char *kwnames
[] = {
40410 (char *) "self",(char *) "rows", NULL
40413 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridSizer_SetRows",kwnames
,&obj0
,&obj1
)) goto fail
;
40414 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridSizer
, SWIG_POINTER_EXCEPTION
| 0);
40415 if (SWIG_arg_fail(1)) SWIG_fail
;
40417 arg2
= (int)(SWIG_As_int(obj1
));
40418 if (SWIG_arg_fail(2)) SWIG_fail
;
40421 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40422 (arg1
)->SetRows(arg2
);
40424 wxPyEndAllowThreads(__tstate
);
40425 if (PyErr_Occurred()) SWIG_fail
;
40427 Py_INCREF(Py_None
); resultobj
= Py_None
;
40434 static PyObject
*_wrap_GridSizer_SetVGap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40435 PyObject
*resultobj
;
40436 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
40438 PyObject
* obj0
= 0 ;
40439 PyObject
* obj1
= 0 ;
40440 char *kwnames
[] = {
40441 (char *) "self",(char *) "gap", NULL
40444 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridSizer_SetVGap",kwnames
,&obj0
,&obj1
)) goto fail
;
40445 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridSizer
, SWIG_POINTER_EXCEPTION
| 0);
40446 if (SWIG_arg_fail(1)) SWIG_fail
;
40448 arg2
= (int)(SWIG_As_int(obj1
));
40449 if (SWIG_arg_fail(2)) SWIG_fail
;
40452 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40453 (arg1
)->SetVGap(arg2
);
40455 wxPyEndAllowThreads(__tstate
);
40456 if (PyErr_Occurred()) SWIG_fail
;
40458 Py_INCREF(Py_None
); resultobj
= Py_None
;
40465 static PyObject
*_wrap_GridSizer_SetHGap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40466 PyObject
*resultobj
;
40467 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
40469 PyObject
* obj0
= 0 ;
40470 PyObject
* obj1
= 0 ;
40471 char *kwnames
[] = {
40472 (char *) "self",(char *) "gap", NULL
40475 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridSizer_SetHGap",kwnames
,&obj0
,&obj1
)) goto fail
;
40476 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridSizer
, SWIG_POINTER_EXCEPTION
| 0);
40477 if (SWIG_arg_fail(1)) SWIG_fail
;
40479 arg2
= (int)(SWIG_As_int(obj1
));
40480 if (SWIG_arg_fail(2)) SWIG_fail
;
40483 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40484 (arg1
)->SetHGap(arg2
);
40486 wxPyEndAllowThreads(__tstate
);
40487 if (PyErr_Occurred()) SWIG_fail
;
40489 Py_INCREF(Py_None
); resultobj
= Py_None
;
40496 static PyObject
*_wrap_GridSizer_GetCols(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40497 PyObject
*resultobj
;
40498 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
40500 PyObject
* obj0
= 0 ;
40501 char *kwnames
[] = {
40502 (char *) "self", NULL
40505 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridSizer_GetCols",kwnames
,&obj0
)) goto fail
;
40506 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridSizer
, SWIG_POINTER_EXCEPTION
| 0);
40507 if (SWIG_arg_fail(1)) SWIG_fail
;
40509 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40510 result
= (int)(arg1
)->GetCols();
40512 wxPyEndAllowThreads(__tstate
);
40513 if (PyErr_Occurred()) SWIG_fail
;
40516 resultobj
= SWIG_From_int((int)(result
));
40524 static PyObject
*_wrap_GridSizer_GetRows(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40525 PyObject
*resultobj
;
40526 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
40528 PyObject
* obj0
= 0 ;
40529 char *kwnames
[] = {
40530 (char *) "self", NULL
40533 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridSizer_GetRows",kwnames
,&obj0
)) goto fail
;
40534 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridSizer
, SWIG_POINTER_EXCEPTION
| 0);
40535 if (SWIG_arg_fail(1)) SWIG_fail
;
40537 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40538 result
= (int)(arg1
)->GetRows();
40540 wxPyEndAllowThreads(__tstate
);
40541 if (PyErr_Occurred()) SWIG_fail
;
40544 resultobj
= SWIG_From_int((int)(result
));
40552 static PyObject
*_wrap_GridSizer_GetVGap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40553 PyObject
*resultobj
;
40554 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
40556 PyObject
* obj0
= 0 ;
40557 char *kwnames
[] = {
40558 (char *) "self", NULL
40561 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridSizer_GetVGap",kwnames
,&obj0
)) goto fail
;
40562 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridSizer
, SWIG_POINTER_EXCEPTION
| 0);
40563 if (SWIG_arg_fail(1)) SWIG_fail
;
40565 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40566 result
= (int)(arg1
)->GetVGap();
40568 wxPyEndAllowThreads(__tstate
);
40569 if (PyErr_Occurred()) SWIG_fail
;
40572 resultobj
= SWIG_From_int((int)(result
));
40580 static PyObject
*_wrap_GridSizer_GetHGap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40581 PyObject
*resultobj
;
40582 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
40584 PyObject
* obj0
= 0 ;
40585 char *kwnames
[] = {
40586 (char *) "self", NULL
40589 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridSizer_GetHGap",kwnames
,&obj0
)) goto fail
;
40590 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridSizer
, SWIG_POINTER_EXCEPTION
| 0);
40591 if (SWIG_arg_fail(1)) SWIG_fail
;
40593 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40594 result
= (int)(arg1
)->GetHGap();
40596 wxPyEndAllowThreads(__tstate
);
40597 if (PyErr_Occurred()) SWIG_fail
;
40600 resultobj
= SWIG_From_int((int)(result
));
40608 static PyObject
* GridSizer_swigregister(PyObject
*, PyObject
*args
) {
40610 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
40611 SWIG_TypeClientData(SWIGTYPE_p_wxGridSizer
, obj
);
40613 return Py_BuildValue((char *)"");
40615 static PyObject
*_wrap_new_FlexGridSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40616 PyObject
*resultobj
;
40617 int arg1
= (int) 1 ;
40618 int arg2
= (int) 0 ;
40619 int arg3
= (int) 0 ;
40620 int arg4
= (int) 0 ;
40621 wxFlexGridSizer
*result
;
40622 PyObject
* obj0
= 0 ;
40623 PyObject
* obj1
= 0 ;
40624 PyObject
* obj2
= 0 ;
40625 PyObject
* obj3
= 0 ;
40626 char *kwnames
[] = {
40627 (char *) "rows",(char *) "cols",(char *) "vgap",(char *) "hgap", NULL
40630 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_FlexGridSizer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
40633 arg1
= (int)(SWIG_As_int(obj0
));
40634 if (SWIG_arg_fail(1)) SWIG_fail
;
40639 arg2
= (int)(SWIG_As_int(obj1
));
40640 if (SWIG_arg_fail(2)) SWIG_fail
;
40645 arg3
= (int)(SWIG_As_int(obj2
));
40646 if (SWIG_arg_fail(3)) SWIG_fail
;
40651 arg4
= (int)(SWIG_As_int(obj3
));
40652 if (SWIG_arg_fail(4)) SWIG_fail
;
40656 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40657 result
= (wxFlexGridSizer
*)new wxFlexGridSizer(arg1
,arg2
,arg3
,arg4
);
40659 wxPyEndAllowThreads(__tstate
);
40660 if (PyErr_Occurred()) SWIG_fail
;
40662 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFlexGridSizer
, 1);
40669 static PyObject
*_wrap_FlexGridSizer_AddGrowableRow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40670 PyObject
*resultobj
;
40671 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
40673 int arg3
= (int) 0 ;
40674 PyObject
* obj0
= 0 ;
40675 PyObject
* obj1
= 0 ;
40676 PyObject
* obj2
= 0 ;
40677 char *kwnames
[] = {
40678 (char *) "self",(char *) "idx",(char *) "proportion", NULL
40681 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FlexGridSizer_AddGrowableRow",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
40682 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFlexGridSizer
, SWIG_POINTER_EXCEPTION
| 0);
40683 if (SWIG_arg_fail(1)) SWIG_fail
;
40685 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
40686 if (SWIG_arg_fail(2)) SWIG_fail
;
40690 arg3
= (int)(SWIG_As_int(obj2
));
40691 if (SWIG_arg_fail(3)) SWIG_fail
;
40695 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40696 (arg1
)->AddGrowableRow(arg2
,arg3
);
40698 wxPyEndAllowThreads(__tstate
);
40699 if (PyErr_Occurred()) SWIG_fail
;
40701 Py_INCREF(Py_None
); resultobj
= Py_None
;
40708 static PyObject
*_wrap_FlexGridSizer_RemoveGrowableRow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40709 PyObject
*resultobj
;
40710 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
40712 PyObject
* obj0
= 0 ;
40713 PyObject
* obj1
= 0 ;
40714 char *kwnames
[] = {
40715 (char *) "self",(char *) "idx", NULL
40718 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FlexGridSizer_RemoveGrowableRow",kwnames
,&obj0
,&obj1
)) goto fail
;
40719 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFlexGridSizer
, SWIG_POINTER_EXCEPTION
| 0);
40720 if (SWIG_arg_fail(1)) SWIG_fail
;
40722 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
40723 if (SWIG_arg_fail(2)) SWIG_fail
;
40726 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40727 (arg1
)->RemoveGrowableRow(arg2
);
40729 wxPyEndAllowThreads(__tstate
);
40730 if (PyErr_Occurred()) SWIG_fail
;
40732 Py_INCREF(Py_None
); resultobj
= Py_None
;
40739 static PyObject
*_wrap_FlexGridSizer_AddGrowableCol(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40740 PyObject
*resultobj
;
40741 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
40743 int arg3
= (int) 0 ;
40744 PyObject
* obj0
= 0 ;
40745 PyObject
* obj1
= 0 ;
40746 PyObject
* obj2
= 0 ;
40747 char *kwnames
[] = {
40748 (char *) "self",(char *) "idx",(char *) "proportion", NULL
40751 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FlexGridSizer_AddGrowableCol",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
40752 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFlexGridSizer
, SWIG_POINTER_EXCEPTION
| 0);
40753 if (SWIG_arg_fail(1)) SWIG_fail
;
40755 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
40756 if (SWIG_arg_fail(2)) SWIG_fail
;
40760 arg3
= (int)(SWIG_As_int(obj2
));
40761 if (SWIG_arg_fail(3)) SWIG_fail
;
40765 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40766 (arg1
)->AddGrowableCol(arg2
,arg3
);
40768 wxPyEndAllowThreads(__tstate
);
40769 if (PyErr_Occurred()) SWIG_fail
;
40771 Py_INCREF(Py_None
); resultobj
= Py_None
;
40778 static PyObject
*_wrap_FlexGridSizer_RemoveGrowableCol(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40779 PyObject
*resultobj
;
40780 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
40782 PyObject
* obj0
= 0 ;
40783 PyObject
* obj1
= 0 ;
40784 char *kwnames
[] = {
40785 (char *) "self",(char *) "idx", NULL
40788 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FlexGridSizer_RemoveGrowableCol",kwnames
,&obj0
,&obj1
)) goto fail
;
40789 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFlexGridSizer
, SWIG_POINTER_EXCEPTION
| 0);
40790 if (SWIG_arg_fail(1)) SWIG_fail
;
40792 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
40793 if (SWIG_arg_fail(2)) SWIG_fail
;
40796 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40797 (arg1
)->RemoveGrowableCol(arg2
);
40799 wxPyEndAllowThreads(__tstate
);
40800 if (PyErr_Occurred()) SWIG_fail
;
40802 Py_INCREF(Py_None
); resultobj
= Py_None
;
40809 static PyObject
*_wrap_FlexGridSizer_SetFlexibleDirection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40810 PyObject
*resultobj
;
40811 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
40813 PyObject
* obj0
= 0 ;
40814 PyObject
* obj1
= 0 ;
40815 char *kwnames
[] = {
40816 (char *) "self",(char *) "direction", NULL
40819 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FlexGridSizer_SetFlexibleDirection",kwnames
,&obj0
,&obj1
)) goto fail
;
40820 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFlexGridSizer
, SWIG_POINTER_EXCEPTION
| 0);
40821 if (SWIG_arg_fail(1)) SWIG_fail
;
40823 arg2
= (int)(SWIG_As_int(obj1
));
40824 if (SWIG_arg_fail(2)) SWIG_fail
;
40827 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40828 (arg1
)->SetFlexibleDirection(arg2
);
40830 wxPyEndAllowThreads(__tstate
);
40831 if (PyErr_Occurred()) SWIG_fail
;
40833 Py_INCREF(Py_None
); resultobj
= Py_None
;
40840 static PyObject
*_wrap_FlexGridSizer_GetFlexibleDirection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40841 PyObject
*resultobj
;
40842 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
40844 PyObject
* obj0
= 0 ;
40845 char *kwnames
[] = {
40846 (char *) "self", NULL
40849 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FlexGridSizer_GetFlexibleDirection",kwnames
,&obj0
)) goto fail
;
40850 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFlexGridSizer
, SWIG_POINTER_EXCEPTION
| 0);
40851 if (SWIG_arg_fail(1)) SWIG_fail
;
40853 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40854 result
= (int)(arg1
)->GetFlexibleDirection();
40856 wxPyEndAllowThreads(__tstate
);
40857 if (PyErr_Occurred()) SWIG_fail
;
40860 resultobj
= SWIG_From_int((int)(result
));
40868 static PyObject
*_wrap_FlexGridSizer_SetNonFlexibleGrowMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40869 PyObject
*resultobj
;
40870 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
40871 wxFlexSizerGrowMode arg2
;
40872 PyObject
* obj0
= 0 ;
40873 PyObject
* obj1
= 0 ;
40874 char *kwnames
[] = {
40875 (char *) "self",(char *) "mode", NULL
40878 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FlexGridSizer_SetNonFlexibleGrowMode",kwnames
,&obj0
,&obj1
)) goto fail
;
40879 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFlexGridSizer
, SWIG_POINTER_EXCEPTION
| 0);
40880 if (SWIG_arg_fail(1)) SWIG_fail
;
40882 arg2
= (wxFlexSizerGrowMode
)(SWIG_As_int(obj1
));
40883 if (SWIG_arg_fail(2)) SWIG_fail
;
40886 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40887 (arg1
)->SetNonFlexibleGrowMode((wxFlexSizerGrowMode
)arg2
);
40889 wxPyEndAllowThreads(__tstate
);
40890 if (PyErr_Occurred()) SWIG_fail
;
40892 Py_INCREF(Py_None
); resultobj
= Py_None
;
40899 static PyObject
*_wrap_FlexGridSizer_GetNonFlexibleGrowMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40900 PyObject
*resultobj
;
40901 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
40902 wxFlexSizerGrowMode result
;
40903 PyObject
* obj0
= 0 ;
40904 char *kwnames
[] = {
40905 (char *) "self", NULL
40908 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FlexGridSizer_GetNonFlexibleGrowMode",kwnames
,&obj0
)) goto fail
;
40909 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFlexGridSizer
, SWIG_POINTER_EXCEPTION
| 0);
40910 if (SWIG_arg_fail(1)) SWIG_fail
;
40912 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40913 result
= (wxFlexSizerGrowMode
)(arg1
)->GetNonFlexibleGrowMode();
40915 wxPyEndAllowThreads(__tstate
);
40916 if (PyErr_Occurred()) SWIG_fail
;
40918 resultobj
= SWIG_From_int((result
));
40925 static PyObject
*_wrap_FlexGridSizer_GetRowHeights(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40926 PyObject
*resultobj
;
40927 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
40928 wxArrayInt
*result
;
40929 PyObject
* obj0
= 0 ;
40930 char *kwnames
[] = {
40931 (char *) "self", NULL
40934 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FlexGridSizer_GetRowHeights",kwnames
,&obj0
)) goto fail
;
40935 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFlexGridSizer
, SWIG_POINTER_EXCEPTION
| 0);
40936 if (SWIG_arg_fail(1)) SWIG_fail
;
40938 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40940 wxArrayInt
const &_result_ref
= ((wxFlexGridSizer
const *)arg1
)->GetRowHeights();
40941 result
= (wxArrayInt
*) &_result_ref
;
40944 wxPyEndAllowThreads(__tstate
);
40945 if (PyErr_Occurred()) SWIG_fail
;
40948 resultobj
= PyList_New(0);
40950 for (idx
= 0; idx
< result
->GetCount(); idx
+= 1) {
40951 PyObject
* val
= PyInt_FromLong( result
->Item(idx
) );
40952 PyList_Append(resultobj
, val
);
40962 static PyObject
*_wrap_FlexGridSizer_GetColWidths(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40963 PyObject
*resultobj
;
40964 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
40965 wxArrayInt
*result
;
40966 PyObject
* obj0
= 0 ;
40967 char *kwnames
[] = {
40968 (char *) "self", NULL
40971 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FlexGridSizer_GetColWidths",kwnames
,&obj0
)) goto fail
;
40972 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFlexGridSizer
, SWIG_POINTER_EXCEPTION
| 0);
40973 if (SWIG_arg_fail(1)) SWIG_fail
;
40975 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40977 wxArrayInt
const &_result_ref
= ((wxFlexGridSizer
const *)arg1
)->GetColWidths();
40978 result
= (wxArrayInt
*) &_result_ref
;
40981 wxPyEndAllowThreads(__tstate
);
40982 if (PyErr_Occurred()) SWIG_fail
;
40985 resultobj
= PyList_New(0);
40987 for (idx
= 0; idx
< result
->GetCount(); idx
+= 1) {
40988 PyObject
* val
= PyInt_FromLong( result
->Item(idx
) );
40989 PyList_Append(resultobj
, val
);
40999 static PyObject
* FlexGridSizer_swigregister(PyObject
*, PyObject
*args
) {
41001 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
41002 SWIG_TypeClientData(SWIGTYPE_p_wxFlexGridSizer
, obj
);
41004 return Py_BuildValue((char *)"");
41006 static PyObject
*_wrap_new_StdDialogButtonSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41007 PyObject
*resultobj
;
41008 wxStdDialogButtonSizer
*result
;
41009 char *kwnames
[] = {
41013 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_StdDialogButtonSizer",kwnames
)) goto fail
;
41015 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41016 result
= (wxStdDialogButtonSizer
*)new wxStdDialogButtonSizer();
41018 wxPyEndAllowThreads(__tstate
);
41019 if (PyErr_Occurred()) SWIG_fail
;
41021 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStdDialogButtonSizer
, 1);
41028 static PyObject
*_wrap_StdDialogButtonSizer_AddButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41029 PyObject
*resultobj
;
41030 wxStdDialogButtonSizer
*arg1
= (wxStdDialogButtonSizer
*) 0 ;
41031 wxButton
*arg2
= (wxButton
*) 0 ;
41032 PyObject
* obj0
= 0 ;
41033 PyObject
* obj1
= 0 ;
41034 char *kwnames
[] = {
41035 (char *) "self",(char *) "button", NULL
41038 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StdDialogButtonSizer_AddButton",kwnames
,&obj0
,&obj1
)) goto fail
;
41039 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStdDialogButtonSizer
, SWIG_POINTER_EXCEPTION
| 0);
41040 if (SWIG_arg_fail(1)) SWIG_fail
;
41041 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxButton
, SWIG_POINTER_EXCEPTION
| 0);
41042 if (SWIG_arg_fail(2)) SWIG_fail
;
41044 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41045 (arg1
)->AddButton(arg2
);
41047 wxPyEndAllowThreads(__tstate
);
41048 if (PyErr_Occurred()) SWIG_fail
;
41050 Py_INCREF(Py_None
); resultobj
= Py_None
;
41057 static PyObject
*_wrap_StdDialogButtonSizer_Realize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41058 PyObject
*resultobj
;
41059 wxStdDialogButtonSizer
*arg1
= (wxStdDialogButtonSizer
*) 0 ;
41060 PyObject
* obj0
= 0 ;
41061 char *kwnames
[] = {
41062 (char *) "self", NULL
41065 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StdDialogButtonSizer_Realize",kwnames
,&obj0
)) goto fail
;
41066 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStdDialogButtonSizer
, SWIG_POINTER_EXCEPTION
| 0);
41067 if (SWIG_arg_fail(1)) SWIG_fail
;
41069 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41072 wxPyEndAllowThreads(__tstate
);
41073 if (PyErr_Occurred()) SWIG_fail
;
41075 Py_INCREF(Py_None
); resultobj
= Py_None
;
41082 static PyObject
*_wrap_StdDialogButtonSizer_SetAffirmativeButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41083 PyObject
*resultobj
;
41084 wxStdDialogButtonSizer
*arg1
= (wxStdDialogButtonSizer
*) 0 ;
41085 wxButton
*arg2
= (wxButton
*) 0 ;
41086 PyObject
* obj0
= 0 ;
41087 PyObject
* obj1
= 0 ;
41088 char *kwnames
[] = {
41089 (char *) "self",(char *) "button", NULL
41092 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StdDialogButtonSizer_SetAffirmativeButton",kwnames
,&obj0
,&obj1
)) goto fail
;
41093 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStdDialogButtonSizer
, SWIG_POINTER_EXCEPTION
| 0);
41094 if (SWIG_arg_fail(1)) SWIG_fail
;
41095 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxButton
, SWIG_POINTER_EXCEPTION
| 0);
41096 if (SWIG_arg_fail(2)) SWIG_fail
;
41098 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41099 (arg1
)->SetAffirmativeButton(arg2
);
41101 wxPyEndAllowThreads(__tstate
);
41102 if (PyErr_Occurred()) SWIG_fail
;
41104 Py_INCREF(Py_None
); resultobj
= Py_None
;
41111 static PyObject
*_wrap_StdDialogButtonSizer_SetNegativeButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41112 PyObject
*resultobj
;
41113 wxStdDialogButtonSizer
*arg1
= (wxStdDialogButtonSizer
*) 0 ;
41114 wxButton
*arg2
= (wxButton
*) 0 ;
41115 PyObject
* obj0
= 0 ;
41116 PyObject
* obj1
= 0 ;
41117 char *kwnames
[] = {
41118 (char *) "self",(char *) "button", NULL
41121 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StdDialogButtonSizer_SetNegativeButton",kwnames
,&obj0
,&obj1
)) goto fail
;
41122 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStdDialogButtonSizer
, SWIG_POINTER_EXCEPTION
| 0);
41123 if (SWIG_arg_fail(1)) SWIG_fail
;
41124 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxButton
, SWIG_POINTER_EXCEPTION
| 0);
41125 if (SWIG_arg_fail(2)) SWIG_fail
;
41127 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41128 (arg1
)->SetNegativeButton(arg2
);
41130 wxPyEndAllowThreads(__tstate
);
41131 if (PyErr_Occurred()) SWIG_fail
;
41133 Py_INCREF(Py_None
); resultobj
= Py_None
;
41140 static PyObject
*_wrap_StdDialogButtonSizer_SetCancelButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41141 PyObject
*resultobj
;
41142 wxStdDialogButtonSizer
*arg1
= (wxStdDialogButtonSizer
*) 0 ;
41143 wxButton
*arg2
= (wxButton
*) 0 ;
41144 PyObject
* obj0
= 0 ;
41145 PyObject
* obj1
= 0 ;
41146 char *kwnames
[] = {
41147 (char *) "self",(char *) "button", NULL
41150 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StdDialogButtonSizer_SetCancelButton",kwnames
,&obj0
,&obj1
)) goto fail
;
41151 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStdDialogButtonSizer
, SWIG_POINTER_EXCEPTION
| 0);
41152 if (SWIG_arg_fail(1)) SWIG_fail
;
41153 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxButton
, SWIG_POINTER_EXCEPTION
| 0);
41154 if (SWIG_arg_fail(2)) SWIG_fail
;
41156 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41157 (arg1
)->SetCancelButton(arg2
);
41159 wxPyEndAllowThreads(__tstate
);
41160 if (PyErr_Occurred()) SWIG_fail
;
41162 Py_INCREF(Py_None
); resultobj
= Py_None
;
41169 static PyObject
*_wrap_StdDialogButtonSizer_GetAffirmativeButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41170 PyObject
*resultobj
;
41171 wxStdDialogButtonSizer
*arg1
= (wxStdDialogButtonSizer
*) 0 ;
41173 PyObject
* obj0
= 0 ;
41174 char *kwnames
[] = {
41175 (char *) "self", NULL
41178 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StdDialogButtonSizer_GetAffirmativeButton",kwnames
,&obj0
)) goto fail
;
41179 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStdDialogButtonSizer
, SWIG_POINTER_EXCEPTION
| 0);
41180 if (SWIG_arg_fail(1)) SWIG_fail
;
41182 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41183 result
= (wxButton
*)((wxStdDialogButtonSizer
const *)arg1
)->GetAffirmativeButton();
41185 wxPyEndAllowThreads(__tstate
);
41186 if (PyErr_Occurred()) SWIG_fail
;
41189 resultobj
= wxPyMake_wxObject(result
, 0);
41197 static PyObject
*_wrap_StdDialogButtonSizer_GetApplyButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41198 PyObject
*resultobj
;
41199 wxStdDialogButtonSizer
*arg1
= (wxStdDialogButtonSizer
*) 0 ;
41201 PyObject
* obj0
= 0 ;
41202 char *kwnames
[] = {
41203 (char *) "self", NULL
41206 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StdDialogButtonSizer_GetApplyButton",kwnames
,&obj0
)) goto fail
;
41207 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStdDialogButtonSizer
, SWIG_POINTER_EXCEPTION
| 0);
41208 if (SWIG_arg_fail(1)) SWIG_fail
;
41210 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41211 result
= (wxButton
*)((wxStdDialogButtonSizer
const *)arg1
)->GetApplyButton();
41213 wxPyEndAllowThreads(__tstate
);
41214 if (PyErr_Occurred()) SWIG_fail
;
41217 resultobj
= wxPyMake_wxObject(result
, 0);
41225 static PyObject
*_wrap_StdDialogButtonSizer_GetNegativeButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41226 PyObject
*resultobj
;
41227 wxStdDialogButtonSizer
*arg1
= (wxStdDialogButtonSizer
*) 0 ;
41229 PyObject
* obj0
= 0 ;
41230 char *kwnames
[] = {
41231 (char *) "self", NULL
41234 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StdDialogButtonSizer_GetNegativeButton",kwnames
,&obj0
)) goto fail
;
41235 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStdDialogButtonSizer
, SWIG_POINTER_EXCEPTION
| 0);
41236 if (SWIG_arg_fail(1)) SWIG_fail
;
41238 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41239 result
= (wxButton
*)((wxStdDialogButtonSizer
const *)arg1
)->GetNegativeButton();
41241 wxPyEndAllowThreads(__tstate
);
41242 if (PyErr_Occurred()) SWIG_fail
;
41245 resultobj
= wxPyMake_wxObject(result
, 0);
41253 static PyObject
*_wrap_StdDialogButtonSizer_GetCancelButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41254 PyObject
*resultobj
;
41255 wxStdDialogButtonSizer
*arg1
= (wxStdDialogButtonSizer
*) 0 ;
41257 PyObject
* obj0
= 0 ;
41258 char *kwnames
[] = {
41259 (char *) "self", NULL
41262 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StdDialogButtonSizer_GetCancelButton",kwnames
,&obj0
)) goto fail
;
41263 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStdDialogButtonSizer
, SWIG_POINTER_EXCEPTION
| 0);
41264 if (SWIG_arg_fail(1)) SWIG_fail
;
41266 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41267 result
= (wxButton
*)((wxStdDialogButtonSizer
const *)arg1
)->GetCancelButton();
41269 wxPyEndAllowThreads(__tstate
);
41270 if (PyErr_Occurred()) SWIG_fail
;
41273 resultobj
= wxPyMake_wxObject(result
, 0);
41281 static PyObject
*_wrap_StdDialogButtonSizer_GetHelpButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41282 PyObject
*resultobj
;
41283 wxStdDialogButtonSizer
*arg1
= (wxStdDialogButtonSizer
*) 0 ;
41285 PyObject
* obj0
= 0 ;
41286 char *kwnames
[] = {
41287 (char *) "self", NULL
41290 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StdDialogButtonSizer_GetHelpButton",kwnames
,&obj0
)) goto fail
;
41291 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStdDialogButtonSizer
, SWIG_POINTER_EXCEPTION
| 0);
41292 if (SWIG_arg_fail(1)) SWIG_fail
;
41294 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41295 result
= (wxButton
*)((wxStdDialogButtonSizer
const *)arg1
)->GetHelpButton();
41297 wxPyEndAllowThreads(__tstate
);
41298 if (PyErr_Occurred()) SWIG_fail
;
41301 resultobj
= wxPyMake_wxObject(result
, 0);
41309 static PyObject
* StdDialogButtonSizer_swigregister(PyObject
*, PyObject
*args
) {
41311 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
41312 SWIG_TypeClientData(SWIGTYPE_p_wxStdDialogButtonSizer
, obj
);
41314 return Py_BuildValue((char *)"");
41316 static PyObject
*_wrap_new_GBPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41317 PyObject
*resultobj
;
41318 int arg1
= (int) 0 ;
41319 int arg2
= (int) 0 ;
41320 wxGBPosition
*result
;
41321 PyObject
* obj0
= 0 ;
41322 PyObject
* obj1
= 0 ;
41323 char *kwnames
[] = {
41324 (char *) "row",(char *) "col", NULL
41327 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_GBPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
41330 arg1
= (int)(SWIG_As_int(obj0
));
41331 if (SWIG_arg_fail(1)) SWIG_fail
;
41336 arg2
= (int)(SWIG_As_int(obj1
));
41337 if (SWIG_arg_fail(2)) SWIG_fail
;
41341 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41342 result
= (wxGBPosition
*)new wxGBPosition(arg1
,arg2
);
41344 wxPyEndAllowThreads(__tstate
);
41345 if (PyErr_Occurred()) SWIG_fail
;
41347 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBPosition
, 1);
41354 static PyObject
*_wrap_GBPosition_GetRow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41355 PyObject
*resultobj
;
41356 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
41358 PyObject
* obj0
= 0 ;
41359 char *kwnames
[] = {
41360 (char *) "self", NULL
41363 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBPosition_GetRow",kwnames
,&obj0
)) goto fail
;
41364 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBPosition
, SWIG_POINTER_EXCEPTION
| 0);
41365 if (SWIG_arg_fail(1)) SWIG_fail
;
41367 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41368 result
= (int)((wxGBPosition
const *)arg1
)->GetRow();
41370 wxPyEndAllowThreads(__tstate
);
41371 if (PyErr_Occurred()) SWIG_fail
;
41374 resultobj
= SWIG_From_int((int)(result
));
41382 static PyObject
*_wrap_GBPosition_GetCol(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41383 PyObject
*resultobj
;
41384 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
41386 PyObject
* obj0
= 0 ;
41387 char *kwnames
[] = {
41388 (char *) "self", NULL
41391 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBPosition_GetCol",kwnames
,&obj0
)) goto fail
;
41392 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBPosition
, SWIG_POINTER_EXCEPTION
| 0);
41393 if (SWIG_arg_fail(1)) SWIG_fail
;
41395 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41396 result
= (int)((wxGBPosition
const *)arg1
)->GetCol();
41398 wxPyEndAllowThreads(__tstate
);
41399 if (PyErr_Occurred()) SWIG_fail
;
41402 resultobj
= SWIG_From_int((int)(result
));
41410 static PyObject
*_wrap_GBPosition_SetRow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41411 PyObject
*resultobj
;
41412 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
41414 PyObject
* obj0
= 0 ;
41415 PyObject
* obj1
= 0 ;
41416 char *kwnames
[] = {
41417 (char *) "self",(char *) "row", NULL
41420 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBPosition_SetRow",kwnames
,&obj0
,&obj1
)) goto fail
;
41421 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBPosition
, SWIG_POINTER_EXCEPTION
| 0);
41422 if (SWIG_arg_fail(1)) SWIG_fail
;
41424 arg2
= (int)(SWIG_As_int(obj1
));
41425 if (SWIG_arg_fail(2)) SWIG_fail
;
41428 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41429 (arg1
)->SetRow(arg2
);
41431 wxPyEndAllowThreads(__tstate
);
41432 if (PyErr_Occurred()) SWIG_fail
;
41434 Py_INCREF(Py_None
); resultobj
= Py_None
;
41441 static PyObject
*_wrap_GBPosition_SetCol(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41442 PyObject
*resultobj
;
41443 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
41445 PyObject
* obj0
= 0 ;
41446 PyObject
* obj1
= 0 ;
41447 char *kwnames
[] = {
41448 (char *) "self",(char *) "col", NULL
41451 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBPosition_SetCol",kwnames
,&obj0
,&obj1
)) goto fail
;
41452 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBPosition
, SWIG_POINTER_EXCEPTION
| 0);
41453 if (SWIG_arg_fail(1)) SWIG_fail
;
41455 arg2
= (int)(SWIG_As_int(obj1
));
41456 if (SWIG_arg_fail(2)) SWIG_fail
;
41459 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41460 (arg1
)->SetCol(arg2
);
41462 wxPyEndAllowThreads(__tstate
);
41463 if (PyErr_Occurred()) SWIG_fail
;
41465 Py_INCREF(Py_None
); resultobj
= Py_None
;
41472 static PyObject
*_wrap_GBPosition___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41473 PyObject
*resultobj
;
41474 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
41475 wxGBPosition
*arg2
= 0 ;
41477 wxGBPosition temp2
;
41478 PyObject
* obj0
= 0 ;
41479 PyObject
* obj1
= 0 ;
41480 char *kwnames
[] = {
41481 (char *) "self",(char *) "other", NULL
41484 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBPosition___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
41485 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBPosition
, SWIG_POINTER_EXCEPTION
| 0);
41486 if (SWIG_arg_fail(1)) SWIG_fail
;
41489 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
41492 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41493 result
= (bool)(arg1
)->operator ==((wxGBPosition
const &)*arg2
);
41495 wxPyEndAllowThreads(__tstate
);
41496 if (PyErr_Occurred()) SWIG_fail
;
41499 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
41507 static PyObject
*_wrap_GBPosition___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41508 PyObject
*resultobj
;
41509 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
41510 wxGBPosition
*arg2
= 0 ;
41512 wxGBPosition temp2
;
41513 PyObject
* obj0
= 0 ;
41514 PyObject
* obj1
= 0 ;
41515 char *kwnames
[] = {
41516 (char *) "self",(char *) "other", NULL
41519 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBPosition___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
41520 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBPosition
, SWIG_POINTER_EXCEPTION
| 0);
41521 if (SWIG_arg_fail(1)) SWIG_fail
;
41524 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
41527 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41528 result
= (bool)(arg1
)->operator !=((wxGBPosition
const &)*arg2
);
41530 wxPyEndAllowThreads(__tstate
);
41531 if (PyErr_Occurred()) SWIG_fail
;
41534 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
41542 static PyObject
*_wrap_GBPosition_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41543 PyObject
*resultobj
;
41544 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
41545 int arg2
= (int) 0 ;
41546 int arg3
= (int) 0 ;
41547 PyObject
* obj0
= 0 ;
41548 PyObject
* obj1
= 0 ;
41549 PyObject
* obj2
= 0 ;
41550 char *kwnames
[] = {
41551 (char *) "self",(char *) "row",(char *) "col", NULL
41554 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:GBPosition_Set",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
41555 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBPosition
, SWIG_POINTER_EXCEPTION
| 0);
41556 if (SWIG_arg_fail(1)) SWIG_fail
;
41559 arg2
= (int)(SWIG_As_int(obj1
));
41560 if (SWIG_arg_fail(2)) SWIG_fail
;
41565 arg3
= (int)(SWIG_As_int(obj2
));
41566 if (SWIG_arg_fail(3)) SWIG_fail
;
41570 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41571 wxGBPosition_Set(arg1
,arg2
,arg3
);
41573 wxPyEndAllowThreads(__tstate
);
41574 if (PyErr_Occurred()) SWIG_fail
;
41576 Py_INCREF(Py_None
); resultobj
= Py_None
;
41583 static PyObject
*_wrap_GBPosition_Get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41584 PyObject
*resultobj
;
41585 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
41587 PyObject
* obj0
= 0 ;
41588 char *kwnames
[] = {
41589 (char *) "self", NULL
41592 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBPosition_Get",kwnames
,&obj0
)) goto fail
;
41593 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBPosition
, SWIG_POINTER_EXCEPTION
| 0);
41594 if (SWIG_arg_fail(1)) SWIG_fail
;
41596 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41597 result
= (PyObject
*)wxGBPosition_Get(arg1
);
41599 wxPyEndAllowThreads(__tstate
);
41600 if (PyErr_Occurred()) SWIG_fail
;
41602 resultobj
= result
;
41609 static PyObject
* GBPosition_swigregister(PyObject
*, PyObject
*args
) {
41611 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
41612 SWIG_TypeClientData(SWIGTYPE_p_wxGBPosition
, obj
);
41614 return Py_BuildValue((char *)"");
41616 static PyObject
*_wrap_new_GBSpan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41617 PyObject
*resultobj
;
41618 int arg1
= (int) 1 ;
41619 int arg2
= (int) 1 ;
41621 PyObject
* obj0
= 0 ;
41622 PyObject
* obj1
= 0 ;
41623 char *kwnames
[] = {
41624 (char *) "rowspan",(char *) "colspan", NULL
41627 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_GBSpan",kwnames
,&obj0
,&obj1
)) goto fail
;
41630 arg1
= (int)(SWIG_As_int(obj0
));
41631 if (SWIG_arg_fail(1)) SWIG_fail
;
41636 arg2
= (int)(SWIG_As_int(obj1
));
41637 if (SWIG_arg_fail(2)) SWIG_fail
;
41641 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41642 result
= (wxGBSpan
*)new wxGBSpan(arg1
,arg2
);
41644 wxPyEndAllowThreads(__tstate
);
41645 if (PyErr_Occurred()) SWIG_fail
;
41647 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSpan
, 1);
41654 static PyObject
*_wrap_GBSpan_GetRowspan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41655 PyObject
*resultobj
;
41656 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
41658 PyObject
* obj0
= 0 ;
41659 char *kwnames
[] = {
41660 (char *) "self", NULL
41663 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBSpan_GetRowspan",kwnames
,&obj0
)) goto fail
;
41664 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBSpan
, SWIG_POINTER_EXCEPTION
| 0);
41665 if (SWIG_arg_fail(1)) SWIG_fail
;
41667 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41668 result
= (int)((wxGBSpan
const *)arg1
)->GetRowspan();
41670 wxPyEndAllowThreads(__tstate
);
41671 if (PyErr_Occurred()) SWIG_fail
;
41674 resultobj
= SWIG_From_int((int)(result
));
41682 static PyObject
*_wrap_GBSpan_GetColspan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41683 PyObject
*resultobj
;
41684 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
41686 PyObject
* obj0
= 0 ;
41687 char *kwnames
[] = {
41688 (char *) "self", NULL
41691 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBSpan_GetColspan",kwnames
,&obj0
)) goto fail
;
41692 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBSpan
, SWIG_POINTER_EXCEPTION
| 0);
41693 if (SWIG_arg_fail(1)) SWIG_fail
;
41695 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41696 result
= (int)((wxGBSpan
const *)arg1
)->GetColspan();
41698 wxPyEndAllowThreads(__tstate
);
41699 if (PyErr_Occurred()) SWIG_fail
;
41702 resultobj
= SWIG_From_int((int)(result
));
41710 static PyObject
*_wrap_GBSpan_SetRowspan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41711 PyObject
*resultobj
;
41712 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
41714 PyObject
* obj0
= 0 ;
41715 PyObject
* obj1
= 0 ;
41716 char *kwnames
[] = {
41717 (char *) "self",(char *) "rowspan", NULL
41720 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSpan_SetRowspan",kwnames
,&obj0
,&obj1
)) goto fail
;
41721 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBSpan
, SWIG_POINTER_EXCEPTION
| 0);
41722 if (SWIG_arg_fail(1)) SWIG_fail
;
41724 arg2
= (int)(SWIG_As_int(obj1
));
41725 if (SWIG_arg_fail(2)) SWIG_fail
;
41728 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41729 (arg1
)->SetRowspan(arg2
);
41731 wxPyEndAllowThreads(__tstate
);
41732 if (PyErr_Occurred()) SWIG_fail
;
41734 Py_INCREF(Py_None
); resultobj
= Py_None
;
41741 static PyObject
*_wrap_GBSpan_SetColspan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41742 PyObject
*resultobj
;
41743 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
41745 PyObject
* obj0
= 0 ;
41746 PyObject
* obj1
= 0 ;
41747 char *kwnames
[] = {
41748 (char *) "self",(char *) "colspan", NULL
41751 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSpan_SetColspan",kwnames
,&obj0
,&obj1
)) goto fail
;
41752 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBSpan
, SWIG_POINTER_EXCEPTION
| 0);
41753 if (SWIG_arg_fail(1)) SWIG_fail
;
41755 arg2
= (int)(SWIG_As_int(obj1
));
41756 if (SWIG_arg_fail(2)) SWIG_fail
;
41759 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41760 (arg1
)->SetColspan(arg2
);
41762 wxPyEndAllowThreads(__tstate
);
41763 if (PyErr_Occurred()) SWIG_fail
;
41765 Py_INCREF(Py_None
); resultobj
= Py_None
;
41772 static PyObject
*_wrap_GBSpan___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41773 PyObject
*resultobj
;
41774 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
41775 wxGBSpan
*arg2
= 0 ;
41778 PyObject
* obj0
= 0 ;
41779 PyObject
* obj1
= 0 ;
41780 char *kwnames
[] = {
41781 (char *) "self",(char *) "other", NULL
41784 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSpan___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
41785 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBSpan
, SWIG_POINTER_EXCEPTION
| 0);
41786 if (SWIG_arg_fail(1)) SWIG_fail
;
41789 if ( ! wxGBSpan_helper(obj1
, &arg2
)) SWIG_fail
;
41792 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41793 result
= (bool)(arg1
)->operator ==((wxGBSpan
const &)*arg2
);
41795 wxPyEndAllowThreads(__tstate
);
41796 if (PyErr_Occurred()) SWIG_fail
;
41799 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
41807 static PyObject
*_wrap_GBSpan___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41808 PyObject
*resultobj
;
41809 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
41810 wxGBSpan
*arg2
= 0 ;
41813 PyObject
* obj0
= 0 ;
41814 PyObject
* obj1
= 0 ;
41815 char *kwnames
[] = {
41816 (char *) "self",(char *) "other", NULL
41819 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSpan___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
41820 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBSpan
, SWIG_POINTER_EXCEPTION
| 0);
41821 if (SWIG_arg_fail(1)) SWIG_fail
;
41824 if ( ! wxGBSpan_helper(obj1
, &arg2
)) SWIG_fail
;
41827 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41828 result
= (bool)(arg1
)->operator !=((wxGBSpan
const &)*arg2
);
41830 wxPyEndAllowThreads(__tstate
);
41831 if (PyErr_Occurred()) SWIG_fail
;
41834 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
41842 static PyObject
*_wrap_GBSpan_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41843 PyObject
*resultobj
;
41844 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
41845 int arg2
= (int) 1 ;
41846 int arg3
= (int) 1 ;
41847 PyObject
* obj0
= 0 ;
41848 PyObject
* obj1
= 0 ;
41849 PyObject
* obj2
= 0 ;
41850 char *kwnames
[] = {
41851 (char *) "self",(char *) "rowspan",(char *) "colspan", NULL
41854 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:GBSpan_Set",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
41855 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBSpan
, SWIG_POINTER_EXCEPTION
| 0);
41856 if (SWIG_arg_fail(1)) SWIG_fail
;
41859 arg2
= (int)(SWIG_As_int(obj1
));
41860 if (SWIG_arg_fail(2)) SWIG_fail
;
41865 arg3
= (int)(SWIG_As_int(obj2
));
41866 if (SWIG_arg_fail(3)) SWIG_fail
;
41870 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41871 wxGBSpan_Set(arg1
,arg2
,arg3
);
41873 wxPyEndAllowThreads(__tstate
);
41874 if (PyErr_Occurred()) SWIG_fail
;
41876 Py_INCREF(Py_None
); resultobj
= Py_None
;
41883 static PyObject
*_wrap_GBSpan_Get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41884 PyObject
*resultobj
;
41885 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
41887 PyObject
* obj0
= 0 ;
41888 char *kwnames
[] = {
41889 (char *) "self", NULL
41892 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBSpan_Get",kwnames
,&obj0
)) goto fail
;
41893 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBSpan
, SWIG_POINTER_EXCEPTION
| 0);
41894 if (SWIG_arg_fail(1)) SWIG_fail
;
41896 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41897 result
= (PyObject
*)wxGBSpan_Get(arg1
);
41899 wxPyEndAllowThreads(__tstate
);
41900 if (PyErr_Occurred()) SWIG_fail
;
41902 resultobj
= result
;
41909 static PyObject
* GBSpan_swigregister(PyObject
*, PyObject
*args
) {
41911 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
41912 SWIG_TypeClientData(SWIGTYPE_p_wxGBSpan
, obj
);
41914 return Py_BuildValue((char *)"");
41916 static int _wrap_DefaultSpan_set(PyObject
*) {
41917 PyErr_SetString(PyExc_TypeError
,"Variable DefaultSpan is read-only.");
41922 static PyObject
*_wrap_DefaultSpan_get(void) {
41925 pyobj
= SWIG_NewPointerObj((void *)(&wxDefaultSpan
), SWIGTYPE_p_wxGBSpan
, 0);
41930 static PyObject
*_wrap_new_GBSizerItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41931 PyObject
*resultobj
;
41932 wxGBSizerItem
*result
;
41933 char *kwnames
[] = {
41937 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_GBSizerItem",kwnames
)) goto fail
;
41939 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41940 result
= (wxGBSizerItem
*)new wxGBSizerItem();
41942 wxPyEndAllowThreads(__tstate
);
41943 if (PyErr_Occurred()) SWIG_fail
;
41945 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 1);
41952 static PyObject
*_wrap_new_GBSizerItemWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41953 PyObject
*resultobj
;
41954 wxWindow
*arg1
= (wxWindow
*) 0 ;
41955 wxGBPosition
*arg2
= 0 ;
41956 wxGBSpan
*arg3
= 0 ;
41959 PyObject
*arg6
= (PyObject
*) NULL
;
41960 wxGBSizerItem
*result
;
41961 wxGBPosition temp2
;
41963 PyObject
* obj0
= 0 ;
41964 PyObject
* obj1
= 0 ;
41965 PyObject
* obj2
= 0 ;
41966 PyObject
* obj3
= 0 ;
41967 PyObject
* obj4
= 0 ;
41968 PyObject
* obj5
= 0 ;
41969 char *kwnames
[] = {
41970 (char *) "window",(char *) "pos",(char *) "span",(char *) "flag",(char *) "border",(char *) "userData", NULL
41973 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:new_GBSizerItemWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
41974 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
41975 if (SWIG_arg_fail(1)) SWIG_fail
;
41978 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
41982 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
41985 arg4
= (int)(SWIG_As_int(obj3
));
41986 if (SWIG_arg_fail(4)) SWIG_fail
;
41989 arg5
= (int)(SWIG_As_int(obj4
));
41990 if (SWIG_arg_fail(5)) SWIG_fail
;
41996 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41997 result
= (wxGBSizerItem
*)new_wxGBSizerItem(arg1
,(wxGBPosition
const &)*arg2
,(wxGBSpan
const &)*arg3
,arg4
,arg5
,arg6
);
41999 wxPyEndAllowThreads(__tstate
);
42000 if (PyErr_Occurred()) SWIG_fail
;
42002 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 1);
42009 static PyObject
*_wrap_new_GBSizerItemSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42010 PyObject
*resultobj
;
42011 wxSizer
*arg1
= (wxSizer
*) 0 ;
42012 wxGBPosition
*arg2
= 0 ;
42013 wxGBSpan
*arg3
= 0 ;
42016 PyObject
*arg6
= (PyObject
*) NULL
;
42017 wxGBSizerItem
*result
;
42018 wxGBPosition temp2
;
42020 PyObject
* obj0
= 0 ;
42021 PyObject
* obj1
= 0 ;
42022 PyObject
* obj2
= 0 ;
42023 PyObject
* obj3
= 0 ;
42024 PyObject
* obj4
= 0 ;
42025 PyObject
* obj5
= 0 ;
42026 char *kwnames
[] = {
42027 (char *) "sizer",(char *) "pos",(char *) "span",(char *) "flag",(char *) "border",(char *) "userData", NULL
42030 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:new_GBSizerItemSizer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
42031 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
42032 if (SWIG_arg_fail(1)) SWIG_fail
;
42035 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
42039 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
42042 arg4
= (int)(SWIG_As_int(obj3
));
42043 if (SWIG_arg_fail(4)) SWIG_fail
;
42046 arg5
= (int)(SWIG_As_int(obj4
));
42047 if (SWIG_arg_fail(5)) SWIG_fail
;
42053 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42054 result
= (wxGBSizerItem
*)new_wxGBSizerItem(arg1
,(wxGBPosition
const &)*arg2
,(wxGBSpan
const &)*arg3
,arg4
,arg5
,arg6
);
42056 wxPyEndAllowThreads(__tstate
);
42057 if (PyErr_Occurred()) SWIG_fail
;
42059 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 1);
42066 static PyObject
*_wrap_new_GBSizerItemSpacer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42067 PyObject
*resultobj
;
42070 wxGBPosition
*arg3
= 0 ;
42071 wxGBSpan
*arg4
= 0 ;
42074 PyObject
*arg7
= (PyObject
*) NULL
;
42075 wxGBSizerItem
*result
;
42076 wxGBPosition temp3
;
42078 PyObject
* obj0
= 0 ;
42079 PyObject
* obj1
= 0 ;
42080 PyObject
* obj2
= 0 ;
42081 PyObject
* obj3
= 0 ;
42082 PyObject
* obj4
= 0 ;
42083 PyObject
* obj5
= 0 ;
42084 PyObject
* obj6
= 0 ;
42085 char *kwnames
[] = {
42086 (char *) "width",(char *) "height",(char *) "pos",(char *) "span",(char *) "flag",(char *) "border",(char *) "userData", NULL
42089 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO|O:new_GBSizerItemSpacer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
42091 arg1
= (int)(SWIG_As_int(obj0
));
42092 if (SWIG_arg_fail(1)) SWIG_fail
;
42095 arg2
= (int)(SWIG_As_int(obj1
));
42096 if (SWIG_arg_fail(2)) SWIG_fail
;
42100 if ( ! wxGBPosition_helper(obj2
, &arg3
)) SWIG_fail
;
42104 if ( ! wxGBSpan_helper(obj3
, &arg4
)) SWIG_fail
;
42107 arg5
= (int)(SWIG_As_int(obj4
));
42108 if (SWIG_arg_fail(5)) SWIG_fail
;
42111 arg6
= (int)(SWIG_As_int(obj5
));
42112 if (SWIG_arg_fail(6)) SWIG_fail
;
42118 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42119 result
= (wxGBSizerItem
*)new_wxGBSizerItem(arg1
,arg2
,(wxGBPosition
const &)*arg3
,(wxGBSpan
const &)*arg4
,arg5
,arg6
,arg7
);
42121 wxPyEndAllowThreads(__tstate
);
42122 if (PyErr_Occurred()) SWIG_fail
;
42124 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 1);
42131 static PyObject
*_wrap_GBSizerItem_GetPos(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42132 PyObject
*resultobj
;
42133 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
42134 wxGBPosition result
;
42135 PyObject
* obj0
= 0 ;
42136 char *kwnames
[] = {
42137 (char *) "self", NULL
42140 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBSizerItem_GetPos",kwnames
,&obj0
)) goto fail
;
42141 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
42142 if (SWIG_arg_fail(1)) SWIG_fail
;
42144 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42145 result
= ((wxGBSizerItem
const *)arg1
)->GetPos();
42147 wxPyEndAllowThreads(__tstate
);
42148 if (PyErr_Occurred()) SWIG_fail
;
42151 wxGBPosition
* resultptr
;
42152 resultptr
= new wxGBPosition((wxGBPosition
&)(result
));
42153 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBPosition
, 1);
42161 static PyObject
*_wrap_GBSizerItem_GetSpan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42162 PyObject
*resultobj
;
42163 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
42165 PyObject
* obj0
= 0 ;
42166 char *kwnames
[] = {
42167 (char *) "self", NULL
42170 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBSizerItem_GetSpan",kwnames
,&obj0
)) goto fail
;
42171 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
42172 if (SWIG_arg_fail(1)) SWIG_fail
;
42174 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42175 result
= ((wxGBSizerItem
const *)arg1
)->GetSpan();
42177 wxPyEndAllowThreads(__tstate
);
42178 if (PyErr_Occurred()) SWIG_fail
;
42181 wxGBSpan
* resultptr
;
42182 resultptr
= new wxGBSpan((wxGBSpan
&)(result
));
42183 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBSpan
, 1);
42191 static PyObject
*_wrap_GBSizerItem_SetPos(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42192 PyObject
*resultobj
;
42193 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
42194 wxGBPosition
*arg2
= 0 ;
42196 wxGBPosition temp2
;
42197 PyObject
* obj0
= 0 ;
42198 PyObject
* obj1
= 0 ;
42199 char *kwnames
[] = {
42200 (char *) "self",(char *) "pos", NULL
42203 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSizerItem_SetPos",kwnames
,&obj0
,&obj1
)) goto fail
;
42204 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
42205 if (SWIG_arg_fail(1)) SWIG_fail
;
42208 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
42211 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42212 result
= (bool)(arg1
)->SetPos((wxGBPosition
const &)*arg2
);
42214 wxPyEndAllowThreads(__tstate
);
42215 if (PyErr_Occurred()) SWIG_fail
;
42218 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
42226 static PyObject
*_wrap_GBSizerItem_SetSpan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42227 PyObject
*resultobj
;
42228 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
42229 wxGBSpan
*arg2
= 0 ;
42232 PyObject
* obj0
= 0 ;
42233 PyObject
* obj1
= 0 ;
42234 char *kwnames
[] = {
42235 (char *) "self",(char *) "span", NULL
42238 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSizerItem_SetSpan",kwnames
,&obj0
,&obj1
)) goto fail
;
42239 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
42240 if (SWIG_arg_fail(1)) SWIG_fail
;
42243 if ( ! wxGBSpan_helper(obj1
, &arg2
)) SWIG_fail
;
42246 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42247 result
= (bool)(arg1
)->SetSpan((wxGBSpan
const &)*arg2
);
42249 wxPyEndAllowThreads(__tstate
);
42250 if (PyErr_Occurred()) SWIG_fail
;
42253 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
42261 static PyObject
*_wrap_GBSizerItem_Intersects(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42262 PyObject
*resultobj
;
42263 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
42264 wxGBSizerItem
*arg2
= 0 ;
42266 PyObject
* obj0
= 0 ;
42267 PyObject
* obj1
= 0 ;
42268 char *kwnames
[] = {
42269 (char *) "self",(char *) "other", NULL
42272 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSizerItem_Intersects",kwnames
,&obj0
,&obj1
)) goto fail
;
42273 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
42274 if (SWIG_arg_fail(1)) SWIG_fail
;
42276 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxGBSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
42277 if (SWIG_arg_fail(2)) SWIG_fail
;
42278 if (arg2
== NULL
) {
42279 SWIG_null_ref("wxGBSizerItem");
42281 if (SWIG_arg_fail(2)) SWIG_fail
;
42284 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42285 result
= (bool)(arg1
)->Intersects((wxGBSizerItem
const &)*arg2
);
42287 wxPyEndAllowThreads(__tstate
);
42288 if (PyErr_Occurred()) SWIG_fail
;
42291 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
42299 static PyObject
*_wrap_GBSizerItem_IntersectsPos(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42300 PyObject
*resultobj
;
42301 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
42302 wxGBPosition
*arg2
= 0 ;
42303 wxGBSpan
*arg3
= 0 ;
42305 wxGBPosition temp2
;
42307 PyObject
* obj0
= 0 ;
42308 PyObject
* obj1
= 0 ;
42309 PyObject
* obj2
= 0 ;
42310 char *kwnames
[] = {
42311 (char *) "self",(char *) "pos",(char *) "span", NULL
42314 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GBSizerItem_IntersectsPos",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
42315 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
42316 if (SWIG_arg_fail(1)) SWIG_fail
;
42319 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
42323 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
42326 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42327 result
= (bool)(arg1
)->Intersects((wxGBPosition
const &)*arg2
,(wxGBSpan
const &)*arg3
);
42329 wxPyEndAllowThreads(__tstate
);
42330 if (PyErr_Occurred()) SWIG_fail
;
42333 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
42341 static PyObject
*_wrap_GBSizerItem_GetEndPos(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42342 PyObject
*resultobj
;
42343 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
42344 wxGBPosition result
;
42345 PyObject
* obj0
= 0 ;
42346 char *kwnames
[] = {
42347 (char *) "self", NULL
42350 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBSizerItem_GetEndPos",kwnames
,&obj0
)) goto fail
;
42351 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
42352 if (SWIG_arg_fail(1)) SWIG_fail
;
42354 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42355 result
= wxGBSizerItem_GetEndPos(arg1
);
42357 wxPyEndAllowThreads(__tstate
);
42358 if (PyErr_Occurred()) SWIG_fail
;
42361 wxGBPosition
* resultptr
;
42362 resultptr
= new wxGBPosition((wxGBPosition
&)(result
));
42363 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBPosition
, 1);
42371 static PyObject
*_wrap_GBSizerItem_GetGBSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42372 PyObject
*resultobj
;
42373 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
42374 wxGridBagSizer
*result
;
42375 PyObject
* obj0
= 0 ;
42376 char *kwnames
[] = {
42377 (char *) "self", NULL
42380 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBSizerItem_GetGBSizer",kwnames
,&obj0
)) goto fail
;
42381 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
42382 if (SWIG_arg_fail(1)) SWIG_fail
;
42384 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42385 result
= (wxGridBagSizer
*)((wxGBSizerItem
const *)arg1
)->GetGBSizer();
42387 wxPyEndAllowThreads(__tstate
);
42388 if (PyErr_Occurred()) SWIG_fail
;
42390 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGridBagSizer
, 0);
42397 static PyObject
*_wrap_GBSizerItem_SetGBSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42398 PyObject
*resultobj
;
42399 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
42400 wxGridBagSizer
*arg2
= (wxGridBagSizer
*) 0 ;
42401 PyObject
* obj0
= 0 ;
42402 PyObject
* obj1
= 0 ;
42403 char *kwnames
[] = {
42404 (char *) "self",(char *) "sizer", NULL
42407 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSizerItem_SetGBSizer",kwnames
,&obj0
,&obj1
)) goto fail
;
42408 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
42409 if (SWIG_arg_fail(1)) SWIG_fail
;
42410 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
42411 if (SWIG_arg_fail(2)) SWIG_fail
;
42413 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42414 (arg1
)->SetGBSizer(arg2
);
42416 wxPyEndAllowThreads(__tstate
);
42417 if (PyErr_Occurred()) SWIG_fail
;
42419 Py_INCREF(Py_None
); resultobj
= Py_None
;
42426 static PyObject
* GBSizerItem_swigregister(PyObject
*, PyObject
*args
) {
42428 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
42429 SWIG_TypeClientData(SWIGTYPE_p_wxGBSizerItem
, obj
);
42431 return Py_BuildValue((char *)"");
42433 static PyObject
*_wrap_new_GridBagSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42434 PyObject
*resultobj
;
42435 int arg1
= (int) 0 ;
42436 int arg2
= (int) 0 ;
42437 wxGridBagSizer
*result
;
42438 PyObject
* obj0
= 0 ;
42439 PyObject
* obj1
= 0 ;
42440 char *kwnames
[] = {
42441 (char *) "vgap",(char *) "hgap", NULL
42444 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_GridBagSizer",kwnames
,&obj0
,&obj1
)) goto fail
;
42447 arg1
= (int)(SWIG_As_int(obj0
));
42448 if (SWIG_arg_fail(1)) SWIG_fail
;
42453 arg2
= (int)(SWIG_As_int(obj1
));
42454 if (SWIG_arg_fail(2)) SWIG_fail
;
42458 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42459 result
= (wxGridBagSizer
*)new wxGridBagSizer(arg1
,arg2
);
42461 wxPyEndAllowThreads(__tstate
);
42462 if (PyErr_Occurred()) SWIG_fail
;
42464 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGridBagSizer
, 1);
42471 static PyObject
*_wrap_GridBagSizer_Add(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42472 PyObject
*resultobj
;
42473 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
42474 PyObject
*arg2
= (PyObject
*) 0 ;
42475 wxGBPosition
*arg3
= 0 ;
42476 wxGBSpan
const &arg4_defvalue
= wxDefaultSpan
;
42477 wxGBSpan
*arg4
= (wxGBSpan
*) &arg4_defvalue
;
42478 int arg5
= (int) 0 ;
42479 int arg6
= (int) 0 ;
42480 PyObject
*arg7
= (PyObject
*) NULL
;
42481 wxGBSizerItem
*result
;
42482 wxGBPosition temp3
;
42484 PyObject
* obj0
= 0 ;
42485 PyObject
* obj1
= 0 ;
42486 PyObject
* obj2
= 0 ;
42487 PyObject
* obj3
= 0 ;
42488 PyObject
* obj4
= 0 ;
42489 PyObject
* obj5
= 0 ;
42490 PyObject
* obj6
= 0 ;
42491 char *kwnames
[] = {
42492 (char *) "self",(char *) "item",(char *) "pos",(char *) "span",(char *) "flag",(char *) "border",(char *) "userData", NULL
42495 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:GridBagSizer_Add",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
42496 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
42497 if (SWIG_arg_fail(1)) SWIG_fail
;
42501 if ( ! wxGBPosition_helper(obj2
, &arg3
)) SWIG_fail
;
42506 if ( ! wxGBSpan_helper(obj3
, &arg4
)) SWIG_fail
;
42511 arg5
= (int)(SWIG_As_int(obj4
));
42512 if (SWIG_arg_fail(5)) SWIG_fail
;
42517 arg6
= (int)(SWIG_As_int(obj5
));
42518 if (SWIG_arg_fail(6)) SWIG_fail
;
42525 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42526 result
= (wxGBSizerItem
*)wxGridBagSizer_Add(arg1
,arg2
,(wxGBPosition
const &)*arg3
,(wxGBSpan
const &)*arg4
,arg5
,arg6
,arg7
);
42528 wxPyEndAllowThreads(__tstate
);
42529 if (PyErr_Occurred()) SWIG_fail
;
42531 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 0);
42538 static PyObject
*_wrap_GridBagSizer_AddItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42539 PyObject
*resultobj
;
42540 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
42541 wxGBSizerItem
*arg2
= (wxGBSizerItem
*) 0 ;
42542 wxGBSizerItem
*result
;
42543 PyObject
* obj0
= 0 ;
42544 PyObject
* obj1
= 0 ;
42545 char *kwnames
[] = {
42546 (char *) "self",(char *) "item", NULL
42549 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridBagSizer_AddItem",kwnames
,&obj0
,&obj1
)) goto fail
;
42550 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
42551 if (SWIG_arg_fail(1)) SWIG_fail
;
42552 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxGBSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
42553 if (SWIG_arg_fail(2)) SWIG_fail
;
42555 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42556 result
= (wxGBSizerItem
*)(arg1
)->Add(arg2
);
42558 wxPyEndAllowThreads(__tstate
);
42559 if (PyErr_Occurred()) SWIG_fail
;
42561 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 0);
42568 static PyObject
*_wrap_GridBagSizer_GetCellSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42569 PyObject
*resultobj
;
42570 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
42574 PyObject
* obj0
= 0 ;
42575 PyObject
* obj1
= 0 ;
42576 PyObject
* obj2
= 0 ;
42577 char *kwnames
[] = {
42578 (char *) "self",(char *) "row",(char *) "col", NULL
42581 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GridBagSizer_GetCellSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
42582 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
42583 if (SWIG_arg_fail(1)) SWIG_fail
;
42585 arg2
= (int)(SWIG_As_int(obj1
));
42586 if (SWIG_arg_fail(2)) SWIG_fail
;
42589 arg3
= (int)(SWIG_As_int(obj2
));
42590 if (SWIG_arg_fail(3)) SWIG_fail
;
42593 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42594 result
= ((wxGridBagSizer
const *)arg1
)->GetCellSize(arg2
,arg3
);
42596 wxPyEndAllowThreads(__tstate
);
42597 if (PyErr_Occurred()) SWIG_fail
;
42600 wxSize
* resultptr
;
42601 resultptr
= new wxSize((wxSize
&)(result
));
42602 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
42610 static PyObject
*_wrap_GridBagSizer_GetEmptyCellSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42611 PyObject
*resultobj
;
42612 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
42614 PyObject
* obj0
= 0 ;
42615 char *kwnames
[] = {
42616 (char *) "self", NULL
42619 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridBagSizer_GetEmptyCellSize",kwnames
,&obj0
)) goto fail
;
42620 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
42621 if (SWIG_arg_fail(1)) SWIG_fail
;
42623 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42624 result
= ((wxGridBagSizer
const *)arg1
)->GetEmptyCellSize();
42626 wxPyEndAllowThreads(__tstate
);
42627 if (PyErr_Occurred()) SWIG_fail
;
42630 wxSize
* resultptr
;
42631 resultptr
= new wxSize((wxSize
&)(result
));
42632 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
42640 static PyObject
*_wrap_GridBagSizer_SetEmptyCellSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42641 PyObject
*resultobj
;
42642 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
42645 PyObject
* obj0
= 0 ;
42646 PyObject
* obj1
= 0 ;
42647 char *kwnames
[] = {
42648 (char *) "self",(char *) "sz", NULL
42651 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridBagSizer_SetEmptyCellSize",kwnames
,&obj0
,&obj1
)) goto fail
;
42652 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
42653 if (SWIG_arg_fail(1)) SWIG_fail
;
42656 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
42659 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42660 (arg1
)->SetEmptyCellSize((wxSize
const &)*arg2
);
42662 wxPyEndAllowThreads(__tstate
);
42663 if (PyErr_Occurred()) SWIG_fail
;
42665 Py_INCREF(Py_None
); resultobj
= Py_None
;
42672 static PyObject
*_wrap_GridBagSizer_GetItemPosition__SWIG_0(PyObject
*, PyObject
*args
) {
42673 PyObject
*resultobj
;
42674 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
42675 wxWindow
*arg2
= (wxWindow
*) 0 ;
42676 wxGBPosition result
;
42677 PyObject
* obj0
= 0 ;
42678 PyObject
* obj1
= 0 ;
42680 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_GetItemPosition",&obj0
,&obj1
)) goto fail
;
42681 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
42682 if (SWIG_arg_fail(1)) SWIG_fail
;
42683 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
42684 if (SWIG_arg_fail(2)) SWIG_fail
;
42686 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42687 result
= (arg1
)->GetItemPosition(arg2
);
42689 wxPyEndAllowThreads(__tstate
);
42690 if (PyErr_Occurred()) SWIG_fail
;
42693 wxGBPosition
* resultptr
;
42694 resultptr
= new wxGBPosition((wxGBPosition
&)(result
));
42695 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBPosition
, 1);
42703 static PyObject
*_wrap_GridBagSizer_GetItemPosition__SWIG_1(PyObject
*, PyObject
*args
) {
42704 PyObject
*resultobj
;
42705 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
42706 wxSizer
*arg2
= (wxSizer
*) 0 ;
42707 wxGBPosition result
;
42708 PyObject
* obj0
= 0 ;
42709 PyObject
* obj1
= 0 ;
42711 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_GetItemPosition",&obj0
,&obj1
)) goto fail
;
42712 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
42713 if (SWIG_arg_fail(1)) SWIG_fail
;
42714 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
42715 if (SWIG_arg_fail(2)) SWIG_fail
;
42717 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42718 result
= (arg1
)->GetItemPosition(arg2
);
42720 wxPyEndAllowThreads(__tstate
);
42721 if (PyErr_Occurred()) SWIG_fail
;
42724 wxGBPosition
* resultptr
;
42725 resultptr
= new wxGBPosition((wxGBPosition
&)(result
));
42726 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBPosition
, 1);
42734 static PyObject
*_wrap_GridBagSizer_GetItemPosition__SWIG_2(PyObject
*, PyObject
*args
) {
42735 PyObject
*resultobj
;
42736 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
42738 wxGBPosition result
;
42739 PyObject
* obj0
= 0 ;
42740 PyObject
* obj1
= 0 ;
42742 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_GetItemPosition",&obj0
,&obj1
)) goto fail
;
42743 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
42744 if (SWIG_arg_fail(1)) SWIG_fail
;
42746 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
42747 if (SWIG_arg_fail(2)) SWIG_fail
;
42750 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42751 result
= (arg1
)->GetItemPosition(arg2
);
42753 wxPyEndAllowThreads(__tstate
);
42754 if (PyErr_Occurred()) SWIG_fail
;
42757 wxGBPosition
* resultptr
;
42758 resultptr
= new wxGBPosition((wxGBPosition
&)(result
));
42759 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBPosition
, 1);
42767 static PyObject
*_wrap_GridBagSizer_GetItemPosition(PyObject
*self
, PyObject
*args
) {
42772 argc
= PyObject_Length(args
);
42773 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
42774 argv
[ii
] = PyTuple_GetItem(args
,ii
);
42780 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
42790 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
42798 return _wrap_GridBagSizer_GetItemPosition__SWIG_0(self
,args
);
42806 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
42816 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxSizer
, 0) == -1) {
42824 return _wrap_GridBagSizer_GetItemPosition__SWIG_1(self
,args
);
42832 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
42840 _v
= SWIG_Check_unsigned_SS_long(argv
[1]);
42842 return _wrap_GridBagSizer_GetItemPosition__SWIG_2(self
,args
);
42847 PyErr_SetString(PyExc_NotImplementedError
,"No matching function for overloaded 'GridBagSizer_GetItemPosition'");
42852 static PyObject
*_wrap_GridBagSizer_SetItemPosition__SWIG_0(PyObject
*, PyObject
*args
) {
42853 PyObject
*resultobj
;
42854 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
42855 wxWindow
*arg2
= (wxWindow
*) 0 ;
42856 wxGBPosition
*arg3
= 0 ;
42858 wxGBPosition temp3
;
42859 PyObject
* obj0
= 0 ;
42860 PyObject
* obj1
= 0 ;
42861 PyObject
* obj2
= 0 ;
42863 if(!PyArg_ParseTuple(args
,(char *)"OOO:GridBagSizer_SetItemPosition",&obj0
,&obj1
,&obj2
)) goto fail
;
42864 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
42865 if (SWIG_arg_fail(1)) SWIG_fail
;
42866 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
42867 if (SWIG_arg_fail(2)) SWIG_fail
;
42870 if ( ! wxGBPosition_helper(obj2
, &arg3
)) SWIG_fail
;
42873 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42874 result
= (bool)(arg1
)->SetItemPosition(arg2
,(wxGBPosition
const &)*arg3
);
42876 wxPyEndAllowThreads(__tstate
);
42877 if (PyErr_Occurred()) SWIG_fail
;
42880 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
42888 static PyObject
*_wrap_GridBagSizer_SetItemPosition__SWIG_1(PyObject
*, PyObject
*args
) {
42889 PyObject
*resultobj
;
42890 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
42891 wxSizer
*arg2
= (wxSizer
*) 0 ;
42892 wxGBPosition
*arg3
= 0 ;
42894 wxGBPosition temp3
;
42895 PyObject
* obj0
= 0 ;
42896 PyObject
* obj1
= 0 ;
42897 PyObject
* obj2
= 0 ;
42899 if(!PyArg_ParseTuple(args
,(char *)"OOO:GridBagSizer_SetItemPosition",&obj0
,&obj1
,&obj2
)) goto fail
;
42900 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
42901 if (SWIG_arg_fail(1)) SWIG_fail
;
42902 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
42903 if (SWIG_arg_fail(2)) SWIG_fail
;
42906 if ( ! wxGBPosition_helper(obj2
, &arg3
)) SWIG_fail
;
42909 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42910 result
= (bool)(arg1
)->SetItemPosition(arg2
,(wxGBPosition
const &)*arg3
);
42912 wxPyEndAllowThreads(__tstate
);
42913 if (PyErr_Occurred()) SWIG_fail
;
42916 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
42924 static PyObject
*_wrap_GridBagSizer_SetItemPosition__SWIG_2(PyObject
*, PyObject
*args
) {
42925 PyObject
*resultobj
;
42926 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
42928 wxGBPosition
*arg3
= 0 ;
42930 wxGBPosition temp3
;
42931 PyObject
* obj0
= 0 ;
42932 PyObject
* obj1
= 0 ;
42933 PyObject
* obj2
= 0 ;
42935 if(!PyArg_ParseTuple(args
,(char *)"OOO:GridBagSizer_SetItemPosition",&obj0
,&obj1
,&obj2
)) goto fail
;
42936 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
42937 if (SWIG_arg_fail(1)) SWIG_fail
;
42939 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
42940 if (SWIG_arg_fail(2)) SWIG_fail
;
42944 if ( ! wxGBPosition_helper(obj2
, &arg3
)) SWIG_fail
;
42947 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42948 result
= (bool)(arg1
)->SetItemPosition(arg2
,(wxGBPosition
const &)*arg3
);
42950 wxPyEndAllowThreads(__tstate
);
42951 if (PyErr_Occurred()) SWIG_fail
;
42954 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
42962 static PyObject
*_wrap_GridBagSizer_SetItemPosition(PyObject
*self
, PyObject
*args
) {
42967 argc
= PyObject_Length(args
);
42968 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
42969 argv
[ii
] = PyTuple_GetItem(args
,ii
);
42975 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
42985 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
42994 _v
= wxPySimple_typecheck(argv
[2], wxT("wxGBPosition"), 2);
42997 return _wrap_GridBagSizer_SetItemPosition__SWIG_0(self
,args
);
43006 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
43016 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxSizer
, 0) == -1) {
43025 _v
= wxPySimple_typecheck(argv
[2], wxT("wxGBPosition"), 2);
43028 return _wrap_GridBagSizer_SetItemPosition__SWIG_1(self
,args
);
43037 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
43045 _v
= SWIG_Check_unsigned_SS_long(argv
[1]);
43048 _v
= wxPySimple_typecheck(argv
[2], wxT("wxGBPosition"), 2);
43051 return _wrap_GridBagSizer_SetItemPosition__SWIG_2(self
,args
);
43057 PyErr_SetString(PyExc_NotImplementedError
,"No matching function for overloaded 'GridBagSizer_SetItemPosition'");
43062 static PyObject
*_wrap_GridBagSizer_GetItemSpan__SWIG_0(PyObject
*, PyObject
*args
) {
43063 PyObject
*resultobj
;
43064 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
43065 wxWindow
*arg2
= (wxWindow
*) 0 ;
43067 PyObject
* obj0
= 0 ;
43068 PyObject
* obj1
= 0 ;
43070 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_GetItemSpan",&obj0
,&obj1
)) goto fail
;
43071 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
43072 if (SWIG_arg_fail(1)) SWIG_fail
;
43073 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
43074 if (SWIG_arg_fail(2)) SWIG_fail
;
43076 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43077 result
= (arg1
)->GetItemSpan(arg2
);
43079 wxPyEndAllowThreads(__tstate
);
43080 if (PyErr_Occurred()) SWIG_fail
;
43083 wxGBSpan
* resultptr
;
43084 resultptr
= new wxGBSpan((wxGBSpan
&)(result
));
43085 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBSpan
, 1);
43093 static PyObject
*_wrap_GridBagSizer_GetItemSpan__SWIG_1(PyObject
*, PyObject
*args
) {
43094 PyObject
*resultobj
;
43095 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
43096 wxSizer
*arg2
= (wxSizer
*) 0 ;
43098 PyObject
* obj0
= 0 ;
43099 PyObject
* obj1
= 0 ;
43101 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_GetItemSpan",&obj0
,&obj1
)) goto fail
;
43102 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
43103 if (SWIG_arg_fail(1)) SWIG_fail
;
43104 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
43105 if (SWIG_arg_fail(2)) SWIG_fail
;
43107 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43108 result
= (arg1
)->GetItemSpan(arg2
);
43110 wxPyEndAllowThreads(__tstate
);
43111 if (PyErr_Occurred()) SWIG_fail
;
43114 wxGBSpan
* resultptr
;
43115 resultptr
= new wxGBSpan((wxGBSpan
&)(result
));
43116 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBSpan
, 1);
43124 static PyObject
*_wrap_GridBagSizer_GetItemSpan__SWIG_2(PyObject
*, PyObject
*args
) {
43125 PyObject
*resultobj
;
43126 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
43129 PyObject
* obj0
= 0 ;
43130 PyObject
* obj1
= 0 ;
43132 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_GetItemSpan",&obj0
,&obj1
)) goto fail
;
43133 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
43134 if (SWIG_arg_fail(1)) SWIG_fail
;
43136 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
43137 if (SWIG_arg_fail(2)) SWIG_fail
;
43140 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43141 result
= (arg1
)->GetItemSpan(arg2
);
43143 wxPyEndAllowThreads(__tstate
);
43144 if (PyErr_Occurred()) SWIG_fail
;
43147 wxGBSpan
* resultptr
;
43148 resultptr
= new wxGBSpan((wxGBSpan
&)(result
));
43149 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBSpan
, 1);
43157 static PyObject
*_wrap_GridBagSizer_GetItemSpan(PyObject
*self
, PyObject
*args
) {
43162 argc
= PyObject_Length(args
);
43163 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
43164 argv
[ii
] = PyTuple_GetItem(args
,ii
);
43170 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
43180 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
43188 return _wrap_GridBagSizer_GetItemSpan__SWIG_0(self
,args
);
43196 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
43206 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxSizer
, 0) == -1) {
43214 return _wrap_GridBagSizer_GetItemSpan__SWIG_1(self
,args
);
43222 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
43230 _v
= SWIG_Check_unsigned_SS_long(argv
[1]);
43232 return _wrap_GridBagSizer_GetItemSpan__SWIG_2(self
,args
);
43237 PyErr_SetString(PyExc_NotImplementedError
,"No matching function for overloaded 'GridBagSizer_GetItemSpan'");
43242 static PyObject
*_wrap_GridBagSizer_SetItemSpan__SWIG_0(PyObject
*, PyObject
*args
) {
43243 PyObject
*resultobj
;
43244 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
43245 wxWindow
*arg2
= (wxWindow
*) 0 ;
43246 wxGBSpan
*arg3
= 0 ;
43249 PyObject
* obj0
= 0 ;
43250 PyObject
* obj1
= 0 ;
43251 PyObject
* obj2
= 0 ;
43253 if(!PyArg_ParseTuple(args
,(char *)"OOO:GridBagSizer_SetItemSpan",&obj0
,&obj1
,&obj2
)) goto fail
;
43254 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
43255 if (SWIG_arg_fail(1)) SWIG_fail
;
43256 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
43257 if (SWIG_arg_fail(2)) SWIG_fail
;
43260 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
43263 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43264 result
= (bool)(arg1
)->SetItemSpan(arg2
,(wxGBSpan
const &)*arg3
);
43266 wxPyEndAllowThreads(__tstate
);
43267 if (PyErr_Occurred()) SWIG_fail
;
43270 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
43278 static PyObject
*_wrap_GridBagSizer_SetItemSpan__SWIG_1(PyObject
*, PyObject
*args
) {
43279 PyObject
*resultobj
;
43280 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
43281 wxSizer
*arg2
= (wxSizer
*) 0 ;
43282 wxGBSpan
*arg3
= 0 ;
43285 PyObject
* obj0
= 0 ;
43286 PyObject
* obj1
= 0 ;
43287 PyObject
* obj2
= 0 ;
43289 if(!PyArg_ParseTuple(args
,(char *)"OOO:GridBagSizer_SetItemSpan",&obj0
,&obj1
,&obj2
)) goto fail
;
43290 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
43291 if (SWIG_arg_fail(1)) SWIG_fail
;
43292 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
43293 if (SWIG_arg_fail(2)) SWIG_fail
;
43296 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
43299 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43300 result
= (bool)(arg1
)->SetItemSpan(arg2
,(wxGBSpan
const &)*arg3
);
43302 wxPyEndAllowThreads(__tstate
);
43303 if (PyErr_Occurred()) SWIG_fail
;
43306 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
43314 static PyObject
*_wrap_GridBagSizer_SetItemSpan__SWIG_2(PyObject
*, PyObject
*args
) {
43315 PyObject
*resultobj
;
43316 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
43318 wxGBSpan
*arg3
= 0 ;
43321 PyObject
* obj0
= 0 ;
43322 PyObject
* obj1
= 0 ;
43323 PyObject
* obj2
= 0 ;
43325 if(!PyArg_ParseTuple(args
,(char *)"OOO:GridBagSizer_SetItemSpan",&obj0
,&obj1
,&obj2
)) goto fail
;
43326 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
43327 if (SWIG_arg_fail(1)) SWIG_fail
;
43329 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
43330 if (SWIG_arg_fail(2)) SWIG_fail
;
43334 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
43337 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43338 result
= (bool)(arg1
)->SetItemSpan(arg2
,(wxGBSpan
const &)*arg3
);
43340 wxPyEndAllowThreads(__tstate
);
43341 if (PyErr_Occurred()) SWIG_fail
;
43344 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
43352 static PyObject
*_wrap_GridBagSizer_SetItemSpan(PyObject
*self
, PyObject
*args
) {
43357 argc
= PyObject_Length(args
);
43358 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
43359 argv
[ii
] = PyTuple_GetItem(args
,ii
);
43365 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
43375 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
43384 _v
= wxPySimple_typecheck(argv
[2], wxT("wxGBSpan"), 2);
43387 return _wrap_GridBagSizer_SetItemSpan__SWIG_0(self
,args
);
43396 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
43406 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxSizer
, 0) == -1) {
43415 _v
= wxPySimple_typecheck(argv
[2], wxT("wxGBSpan"), 2);
43418 return _wrap_GridBagSizer_SetItemSpan__SWIG_1(self
,args
);
43427 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
43435 _v
= SWIG_Check_unsigned_SS_long(argv
[1]);
43438 _v
= wxPySimple_typecheck(argv
[2], wxT("wxGBSpan"), 2);
43441 return _wrap_GridBagSizer_SetItemSpan__SWIG_2(self
,args
);
43447 PyErr_SetString(PyExc_NotImplementedError
,"No matching function for overloaded 'GridBagSizer_SetItemSpan'");
43452 static PyObject
*_wrap_GridBagSizer_FindItem__SWIG_0(PyObject
*, PyObject
*args
) {
43453 PyObject
*resultobj
;
43454 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
43455 wxWindow
*arg2
= (wxWindow
*) 0 ;
43456 wxGBSizerItem
*result
;
43457 PyObject
* obj0
= 0 ;
43458 PyObject
* obj1
= 0 ;
43460 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_FindItem",&obj0
,&obj1
)) goto fail
;
43461 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
43462 if (SWIG_arg_fail(1)) SWIG_fail
;
43463 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
43464 if (SWIG_arg_fail(2)) SWIG_fail
;
43466 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43467 result
= (wxGBSizerItem
*)(arg1
)->FindItem(arg2
);
43469 wxPyEndAllowThreads(__tstate
);
43470 if (PyErr_Occurred()) SWIG_fail
;
43472 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 0);
43479 static PyObject
*_wrap_GridBagSizer_FindItem__SWIG_1(PyObject
*, PyObject
*args
) {
43480 PyObject
*resultobj
;
43481 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
43482 wxSizer
*arg2
= (wxSizer
*) 0 ;
43483 wxGBSizerItem
*result
;
43484 PyObject
* obj0
= 0 ;
43485 PyObject
* obj1
= 0 ;
43487 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_FindItem",&obj0
,&obj1
)) goto fail
;
43488 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
43489 if (SWIG_arg_fail(1)) SWIG_fail
;
43490 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
43491 if (SWIG_arg_fail(2)) SWIG_fail
;
43493 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43494 result
= (wxGBSizerItem
*)(arg1
)->FindItem(arg2
);
43496 wxPyEndAllowThreads(__tstate
);
43497 if (PyErr_Occurred()) SWIG_fail
;
43499 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 0);
43506 static PyObject
*_wrap_GridBagSizer_FindItem(PyObject
*self
, PyObject
*args
) {
43511 argc
= PyObject_Length(args
);
43512 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
43513 argv
[ii
] = PyTuple_GetItem(args
,ii
);
43519 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
43529 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
43537 return _wrap_GridBagSizer_FindItem__SWIG_0(self
,args
);
43545 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
43555 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxSizer
, 0) == -1) {
43563 return _wrap_GridBagSizer_FindItem__SWIG_1(self
,args
);
43568 PyErr_SetString(PyExc_NotImplementedError
,"No matching function for overloaded 'GridBagSizer_FindItem'");
43573 static PyObject
*_wrap_GridBagSizer_FindItemAtPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
43574 PyObject
*resultobj
;
43575 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
43576 wxGBPosition
*arg2
= 0 ;
43577 wxGBSizerItem
*result
;
43578 wxGBPosition temp2
;
43579 PyObject
* obj0
= 0 ;
43580 PyObject
* obj1
= 0 ;
43581 char *kwnames
[] = {
43582 (char *) "self",(char *) "pos", NULL
43585 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridBagSizer_FindItemAtPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
43586 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
43587 if (SWIG_arg_fail(1)) SWIG_fail
;
43590 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
43593 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43594 result
= (wxGBSizerItem
*)(arg1
)->FindItemAtPosition((wxGBPosition
const &)*arg2
);
43596 wxPyEndAllowThreads(__tstate
);
43597 if (PyErr_Occurred()) SWIG_fail
;
43599 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 0);
43606 static PyObject
*_wrap_GridBagSizer_FindItemAtPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
43607 PyObject
*resultobj
;
43608 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
43609 wxPoint
*arg2
= 0 ;
43610 wxGBSizerItem
*result
;
43612 PyObject
* obj0
= 0 ;
43613 PyObject
* obj1
= 0 ;
43614 char *kwnames
[] = {
43615 (char *) "self",(char *) "pt", NULL
43618 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridBagSizer_FindItemAtPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
43619 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
43620 if (SWIG_arg_fail(1)) SWIG_fail
;
43623 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
43626 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43627 result
= (wxGBSizerItem
*)(arg1
)->FindItemAtPoint((wxPoint
const &)*arg2
);
43629 wxPyEndAllowThreads(__tstate
);
43630 if (PyErr_Occurred()) SWIG_fail
;
43632 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 0);
43639 static PyObject
*_wrap_GridBagSizer_CheckForIntersection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
43640 PyObject
*resultobj
;
43641 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
43642 wxGBSizerItem
*arg2
= (wxGBSizerItem
*) 0 ;
43643 wxGBSizerItem
*arg3
= (wxGBSizerItem
*) NULL
;
43645 PyObject
* obj0
= 0 ;
43646 PyObject
* obj1
= 0 ;
43647 PyObject
* obj2
= 0 ;
43648 char *kwnames
[] = {
43649 (char *) "self",(char *) "item",(char *) "excludeItem", NULL
43652 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:GridBagSizer_CheckForIntersection",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
43653 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
43654 if (SWIG_arg_fail(1)) SWIG_fail
;
43655 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxGBSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
43656 if (SWIG_arg_fail(2)) SWIG_fail
;
43658 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxGBSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
43659 if (SWIG_arg_fail(3)) SWIG_fail
;
43662 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43663 result
= (bool)(arg1
)->CheckForIntersection(arg2
,arg3
);
43665 wxPyEndAllowThreads(__tstate
);
43666 if (PyErr_Occurred()) SWIG_fail
;
43669 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
43677 static PyObject
*_wrap_GridBagSizer_CheckForIntersectionPos(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
43678 PyObject
*resultobj
;
43679 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
43680 wxGBPosition
*arg2
= 0 ;
43681 wxGBSpan
*arg3
= 0 ;
43682 wxGBSizerItem
*arg4
= (wxGBSizerItem
*) NULL
;
43684 wxGBPosition temp2
;
43686 PyObject
* obj0
= 0 ;
43687 PyObject
* obj1
= 0 ;
43688 PyObject
* obj2
= 0 ;
43689 PyObject
* obj3
= 0 ;
43690 char *kwnames
[] = {
43691 (char *) "self",(char *) "pos",(char *) "span",(char *) "excludeItem", NULL
43694 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:GridBagSizer_CheckForIntersectionPos",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
43695 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
43696 if (SWIG_arg_fail(1)) SWIG_fail
;
43699 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
43703 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
43706 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxGBSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
43707 if (SWIG_arg_fail(4)) SWIG_fail
;
43710 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43711 result
= (bool)(arg1
)->CheckForIntersection((wxGBPosition
const &)*arg2
,(wxGBSpan
const &)*arg3
,arg4
);
43713 wxPyEndAllowThreads(__tstate
);
43714 if (PyErr_Occurred()) SWIG_fail
;
43717 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
43725 static PyObject
* GridBagSizer_swigregister(PyObject
*, PyObject
*args
) {
43727 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
43728 SWIG_TypeClientData(SWIGTYPE_p_wxGridBagSizer
, obj
);
43730 return Py_BuildValue((char *)"");
43732 static PyObject
*_wrap_IndividualLayoutConstraint_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
43733 PyObject
*resultobj
;
43734 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
43735 wxRelationship arg2
;
43736 wxWindow
*arg3
= (wxWindow
*) 0 ;
43738 int arg5
= (int) 0 ;
43739 int arg6
= (int) wxLAYOUT_DEFAULT_MARGIN
;
43740 PyObject
* obj0
= 0 ;
43741 PyObject
* obj1
= 0 ;
43742 PyObject
* obj2
= 0 ;
43743 PyObject
* obj3
= 0 ;
43744 PyObject
* obj4
= 0 ;
43745 PyObject
* obj5
= 0 ;
43746 char *kwnames
[] = {
43747 (char *) "self",(char *) "rel",(char *) "otherW",(char *) "otherE",(char *) "val",(char *) "marg", NULL
43750 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:IndividualLayoutConstraint_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
43751 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
43752 if (SWIG_arg_fail(1)) SWIG_fail
;
43754 arg2
= (wxRelationship
)(SWIG_As_int(obj1
));
43755 if (SWIG_arg_fail(2)) SWIG_fail
;
43757 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
43758 if (SWIG_arg_fail(3)) SWIG_fail
;
43760 arg4
= (wxEdge
)(SWIG_As_int(obj3
));
43761 if (SWIG_arg_fail(4)) SWIG_fail
;
43765 arg5
= (int)(SWIG_As_int(obj4
));
43766 if (SWIG_arg_fail(5)) SWIG_fail
;
43771 arg6
= (int)(SWIG_As_int(obj5
));
43772 if (SWIG_arg_fail(6)) SWIG_fail
;
43776 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43777 (arg1
)->Set((wxRelationship
)arg2
,arg3
,(wxEdge
)arg4
,arg5
,arg6
);
43779 wxPyEndAllowThreads(__tstate
);
43780 if (PyErr_Occurred()) SWIG_fail
;
43782 Py_INCREF(Py_None
); resultobj
= Py_None
;
43789 static PyObject
*_wrap_IndividualLayoutConstraint_LeftOf(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
43790 PyObject
*resultobj
;
43791 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
43792 wxWindow
*arg2
= (wxWindow
*) 0 ;
43793 int arg3
= (int) 0 ;
43794 PyObject
* obj0
= 0 ;
43795 PyObject
* obj1
= 0 ;
43796 PyObject
* obj2
= 0 ;
43797 char *kwnames
[] = {
43798 (char *) "self",(char *) "sibling",(char *) "marg", NULL
43801 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:IndividualLayoutConstraint_LeftOf",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
43802 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
43803 if (SWIG_arg_fail(1)) SWIG_fail
;
43804 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
43805 if (SWIG_arg_fail(2)) SWIG_fail
;
43808 arg3
= (int)(SWIG_As_int(obj2
));
43809 if (SWIG_arg_fail(3)) SWIG_fail
;
43813 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43814 (arg1
)->LeftOf(arg2
,arg3
);
43816 wxPyEndAllowThreads(__tstate
);
43817 if (PyErr_Occurred()) SWIG_fail
;
43819 Py_INCREF(Py_None
); resultobj
= Py_None
;
43826 static PyObject
*_wrap_IndividualLayoutConstraint_RightOf(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
43827 PyObject
*resultobj
;
43828 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
43829 wxWindow
*arg2
= (wxWindow
*) 0 ;
43830 int arg3
= (int) 0 ;
43831 PyObject
* obj0
= 0 ;
43832 PyObject
* obj1
= 0 ;
43833 PyObject
* obj2
= 0 ;
43834 char *kwnames
[] = {
43835 (char *) "self",(char *) "sibling",(char *) "marg", NULL
43838 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:IndividualLayoutConstraint_RightOf",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
43839 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
43840 if (SWIG_arg_fail(1)) SWIG_fail
;
43841 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
43842 if (SWIG_arg_fail(2)) SWIG_fail
;
43845 arg3
= (int)(SWIG_As_int(obj2
));
43846 if (SWIG_arg_fail(3)) SWIG_fail
;
43850 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43851 (arg1
)->RightOf(arg2
,arg3
);
43853 wxPyEndAllowThreads(__tstate
);
43854 if (PyErr_Occurred()) SWIG_fail
;
43856 Py_INCREF(Py_None
); resultobj
= Py_None
;
43863 static PyObject
*_wrap_IndividualLayoutConstraint_Above(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
43864 PyObject
*resultobj
;
43865 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
43866 wxWindow
*arg2
= (wxWindow
*) 0 ;
43867 int arg3
= (int) 0 ;
43868 PyObject
* obj0
= 0 ;
43869 PyObject
* obj1
= 0 ;
43870 PyObject
* obj2
= 0 ;
43871 char *kwnames
[] = {
43872 (char *) "self",(char *) "sibling",(char *) "marg", NULL
43875 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:IndividualLayoutConstraint_Above",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
43876 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
43877 if (SWIG_arg_fail(1)) SWIG_fail
;
43878 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
43879 if (SWIG_arg_fail(2)) SWIG_fail
;
43882 arg3
= (int)(SWIG_As_int(obj2
));
43883 if (SWIG_arg_fail(3)) SWIG_fail
;
43887 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43888 (arg1
)->Above(arg2
,arg3
);
43890 wxPyEndAllowThreads(__tstate
);
43891 if (PyErr_Occurred()) SWIG_fail
;
43893 Py_INCREF(Py_None
); resultobj
= Py_None
;
43900 static PyObject
*_wrap_IndividualLayoutConstraint_Below(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
43901 PyObject
*resultobj
;
43902 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
43903 wxWindow
*arg2
= (wxWindow
*) 0 ;
43904 int arg3
= (int) 0 ;
43905 PyObject
* obj0
= 0 ;
43906 PyObject
* obj1
= 0 ;
43907 PyObject
* obj2
= 0 ;
43908 char *kwnames
[] = {
43909 (char *) "self",(char *) "sibling",(char *) "marg", NULL
43912 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:IndividualLayoutConstraint_Below",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
43913 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
43914 if (SWIG_arg_fail(1)) SWIG_fail
;
43915 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
43916 if (SWIG_arg_fail(2)) SWIG_fail
;
43919 arg3
= (int)(SWIG_As_int(obj2
));
43920 if (SWIG_arg_fail(3)) SWIG_fail
;
43924 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43925 (arg1
)->Below(arg2
,arg3
);
43927 wxPyEndAllowThreads(__tstate
);
43928 if (PyErr_Occurred()) SWIG_fail
;
43930 Py_INCREF(Py_None
); resultobj
= Py_None
;
43937 static PyObject
*_wrap_IndividualLayoutConstraint_SameAs(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
43938 PyObject
*resultobj
;
43939 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
43940 wxWindow
*arg2
= (wxWindow
*) 0 ;
43942 int arg4
= (int) 0 ;
43943 PyObject
* obj0
= 0 ;
43944 PyObject
* obj1
= 0 ;
43945 PyObject
* obj2
= 0 ;
43946 PyObject
* obj3
= 0 ;
43947 char *kwnames
[] = {
43948 (char *) "self",(char *) "otherW",(char *) "edge",(char *) "marg", NULL
43951 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:IndividualLayoutConstraint_SameAs",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
43952 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
43953 if (SWIG_arg_fail(1)) SWIG_fail
;
43954 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
43955 if (SWIG_arg_fail(2)) SWIG_fail
;
43957 arg3
= (wxEdge
)(SWIG_As_int(obj2
));
43958 if (SWIG_arg_fail(3)) SWIG_fail
;
43962 arg4
= (int)(SWIG_As_int(obj3
));
43963 if (SWIG_arg_fail(4)) SWIG_fail
;
43967 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43968 (arg1
)->SameAs(arg2
,(wxEdge
)arg3
,arg4
);
43970 wxPyEndAllowThreads(__tstate
);
43971 if (PyErr_Occurred()) SWIG_fail
;
43973 Py_INCREF(Py_None
); resultobj
= Py_None
;
43980 static PyObject
*_wrap_IndividualLayoutConstraint_PercentOf(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
43981 PyObject
*resultobj
;
43982 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
43983 wxWindow
*arg2
= (wxWindow
*) 0 ;
43986 PyObject
* obj0
= 0 ;
43987 PyObject
* obj1
= 0 ;
43988 PyObject
* obj2
= 0 ;
43989 PyObject
* obj3
= 0 ;
43990 char *kwnames
[] = {
43991 (char *) "self",(char *) "otherW",(char *) "wh",(char *) "per", NULL
43994 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:IndividualLayoutConstraint_PercentOf",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
43995 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
43996 if (SWIG_arg_fail(1)) SWIG_fail
;
43997 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
43998 if (SWIG_arg_fail(2)) SWIG_fail
;
44000 arg3
= (wxEdge
)(SWIG_As_int(obj2
));
44001 if (SWIG_arg_fail(3)) SWIG_fail
;
44004 arg4
= (int)(SWIG_As_int(obj3
));
44005 if (SWIG_arg_fail(4)) SWIG_fail
;
44008 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44009 (arg1
)->PercentOf(arg2
,(wxEdge
)arg3
,arg4
);
44011 wxPyEndAllowThreads(__tstate
);
44012 if (PyErr_Occurred()) SWIG_fail
;
44014 Py_INCREF(Py_None
); resultobj
= Py_None
;
44021 static PyObject
*_wrap_IndividualLayoutConstraint_Absolute(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44022 PyObject
*resultobj
;
44023 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
44025 PyObject
* obj0
= 0 ;
44026 PyObject
* obj1
= 0 ;
44027 char *kwnames
[] = {
44028 (char *) "self",(char *) "val", NULL
44031 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_Absolute",kwnames
,&obj0
,&obj1
)) goto fail
;
44032 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
44033 if (SWIG_arg_fail(1)) SWIG_fail
;
44035 arg2
= (int)(SWIG_As_int(obj1
));
44036 if (SWIG_arg_fail(2)) SWIG_fail
;
44039 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44040 (arg1
)->Absolute(arg2
);
44042 wxPyEndAllowThreads(__tstate
);
44043 if (PyErr_Occurred()) SWIG_fail
;
44045 Py_INCREF(Py_None
); resultobj
= Py_None
;
44052 static PyObject
*_wrap_IndividualLayoutConstraint_Unconstrained(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44053 PyObject
*resultobj
;
44054 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
44055 PyObject
* obj0
= 0 ;
44056 char *kwnames
[] = {
44057 (char *) "self", NULL
44060 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_Unconstrained",kwnames
,&obj0
)) goto fail
;
44061 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
44062 if (SWIG_arg_fail(1)) SWIG_fail
;
44064 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44065 (arg1
)->Unconstrained();
44067 wxPyEndAllowThreads(__tstate
);
44068 if (PyErr_Occurred()) SWIG_fail
;
44070 Py_INCREF(Py_None
); resultobj
= Py_None
;
44077 static PyObject
*_wrap_IndividualLayoutConstraint_AsIs(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44078 PyObject
*resultobj
;
44079 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
44080 PyObject
* obj0
= 0 ;
44081 char *kwnames
[] = {
44082 (char *) "self", NULL
44085 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_AsIs",kwnames
,&obj0
)) goto fail
;
44086 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
44087 if (SWIG_arg_fail(1)) SWIG_fail
;
44089 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44092 wxPyEndAllowThreads(__tstate
);
44093 if (PyErr_Occurred()) SWIG_fail
;
44095 Py_INCREF(Py_None
); resultobj
= Py_None
;
44102 static PyObject
*_wrap_IndividualLayoutConstraint_GetOtherWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44103 PyObject
*resultobj
;
44104 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
44106 PyObject
* obj0
= 0 ;
44107 char *kwnames
[] = {
44108 (char *) "self", NULL
44111 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetOtherWindow",kwnames
,&obj0
)) goto fail
;
44112 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
44113 if (SWIG_arg_fail(1)) SWIG_fail
;
44115 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44116 result
= (wxWindow
*)(arg1
)->GetOtherWindow();
44118 wxPyEndAllowThreads(__tstate
);
44119 if (PyErr_Occurred()) SWIG_fail
;
44122 resultobj
= wxPyMake_wxObject(result
, 0);
44130 static PyObject
*_wrap_IndividualLayoutConstraint_GetMyEdge(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44131 PyObject
*resultobj
;
44132 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
44134 PyObject
* obj0
= 0 ;
44135 char *kwnames
[] = {
44136 (char *) "self", NULL
44139 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetMyEdge",kwnames
,&obj0
)) goto fail
;
44140 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
44141 if (SWIG_arg_fail(1)) SWIG_fail
;
44143 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44144 result
= (wxEdge
)((wxIndividualLayoutConstraint
const *)arg1
)->GetMyEdge();
44146 wxPyEndAllowThreads(__tstate
);
44147 if (PyErr_Occurred()) SWIG_fail
;
44149 resultobj
= SWIG_From_int((result
));
44156 static PyObject
*_wrap_IndividualLayoutConstraint_SetEdge(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44157 PyObject
*resultobj
;
44158 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
44160 PyObject
* obj0
= 0 ;
44161 PyObject
* obj1
= 0 ;
44162 char *kwnames
[] = {
44163 (char *) "self",(char *) "which", NULL
44166 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_SetEdge",kwnames
,&obj0
,&obj1
)) goto fail
;
44167 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
44168 if (SWIG_arg_fail(1)) SWIG_fail
;
44170 arg2
= (wxEdge
)(SWIG_As_int(obj1
));
44171 if (SWIG_arg_fail(2)) SWIG_fail
;
44174 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44175 (arg1
)->SetEdge((wxEdge
)arg2
);
44177 wxPyEndAllowThreads(__tstate
);
44178 if (PyErr_Occurred()) SWIG_fail
;
44180 Py_INCREF(Py_None
); resultobj
= Py_None
;
44187 static PyObject
*_wrap_IndividualLayoutConstraint_SetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44188 PyObject
*resultobj
;
44189 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
44191 PyObject
* obj0
= 0 ;
44192 PyObject
* obj1
= 0 ;
44193 char *kwnames
[] = {
44194 (char *) "self",(char *) "v", NULL
44197 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
44198 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
44199 if (SWIG_arg_fail(1)) SWIG_fail
;
44201 arg2
= (int)(SWIG_As_int(obj1
));
44202 if (SWIG_arg_fail(2)) SWIG_fail
;
44205 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44206 (arg1
)->SetValue(arg2
);
44208 wxPyEndAllowThreads(__tstate
);
44209 if (PyErr_Occurred()) SWIG_fail
;
44211 Py_INCREF(Py_None
); resultobj
= Py_None
;
44218 static PyObject
*_wrap_IndividualLayoutConstraint_GetMargin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44219 PyObject
*resultobj
;
44220 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
44222 PyObject
* obj0
= 0 ;
44223 char *kwnames
[] = {
44224 (char *) "self", NULL
44227 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetMargin",kwnames
,&obj0
)) goto fail
;
44228 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
44229 if (SWIG_arg_fail(1)) SWIG_fail
;
44231 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44232 result
= (int)(arg1
)->GetMargin();
44234 wxPyEndAllowThreads(__tstate
);
44235 if (PyErr_Occurred()) SWIG_fail
;
44238 resultobj
= SWIG_From_int((int)(result
));
44246 static PyObject
*_wrap_IndividualLayoutConstraint_SetMargin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44247 PyObject
*resultobj
;
44248 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
44250 PyObject
* obj0
= 0 ;
44251 PyObject
* obj1
= 0 ;
44252 char *kwnames
[] = {
44253 (char *) "self",(char *) "m", NULL
44256 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_SetMargin",kwnames
,&obj0
,&obj1
)) goto fail
;
44257 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
44258 if (SWIG_arg_fail(1)) SWIG_fail
;
44260 arg2
= (int)(SWIG_As_int(obj1
));
44261 if (SWIG_arg_fail(2)) SWIG_fail
;
44264 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44265 (arg1
)->SetMargin(arg2
);
44267 wxPyEndAllowThreads(__tstate
);
44268 if (PyErr_Occurred()) SWIG_fail
;
44270 Py_INCREF(Py_None
); resultobj
= Py_None
;
44277 static PyObject
*_wrap_IndividualLayoutConstraint_GetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44278 PyObject
*resultobj
;
44279 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
44281 PyObject
* obj0
= 0 ;
44282 char *kwnames
[] = {
44283 (char *) "self", NULL
44286 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetValue",kwnames
,&obj0
)) goto fail
;
44287 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
44288 if (SWIG_arg_fail(1)) SWIG_fail
;
44290 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44291 result
= (int)((wxIndividualLayoutConstraint
const *)arg1
)->GetValue();
44293 wxPyEndAllowThreads(__tstate
);
44294 if (PyErr_Occurred()) SWIG_fail
;
44297 resultobj
= SWIG_From_int((int)(result
));
44305 static PyObject
*_wrap_IndividualLayoutConstraint_GetPercent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44306 PyObject
*resultobj
;
44307 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
44309 PyObject
* obj0
= 0 ;
44310 char *kwnames
[] = {
44311 (char *) "self", NULL
44314 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetPercent",kwnames
,&obj0
)) goto fail
;
44315 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
44316 if (SWIG_arg_fail(1)) SWIG_fail
;
44318 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44319 result
= (int)((wxIndividualLayoutConstraint
const *)arg1
)->GetPercent();
44321 wxPyEndAllowThreads(__tstate
);
44322 if (PyErr_Occurred()) SWIG_fail
;
44325 resultobj
= SWIG_From_int((int)(result
));
44333 static PyObject
*_wrap_IndividualLayoutConstraint_GetOtherEdge(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44334 PyObject
*resultobj
;
44335 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
44337 PyObject
* obj0
= 0 ;
44338 char *kwnames
[] = {
44339 (char *) "self", NULL
44342 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetOtherEdge",kwnames
,&obj0
)) goto fail
;
44343 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
44344 if (SWIG_arg_fail(1)) SWIG_fail
;
44346 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44347 result
= (int)((wxIndividualLayoutConstraint
const *)arg1
)->GetOtherEdge();
44349 wxPyEndAllowThreads(__tstate
);
44350 if (PyErr_Occurred()) SWIG_fail
;
44353 resultobj
= SWIG_From_int((int)(result
));
44361 static PyObject
*_wrap_IndividualLayoutConstraint_GetDone(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44362 PyObject
*resultobj
;
44363 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
44365 PyObject
* obj0
= 0 ;
44366 char *kwnames
[] = {
44367 (char *) "self", NULL
44370 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetDone",kwnames
,&obj0
)) goto fail
;
44371 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
44372 if (SWIG_arg_fail(1)) SWIG_fail
;
44374 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44375 result
= (bool)((wxIndividualLayoutConstraint
const *)arg1
)->GetDone();
44377 wxPyEndAllowThreads(__tstate
);
44378 if (PyErr_Occurred()) SWIG_fail
;
44381 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
44389 static PyObject
*_wrap_IndividualLayoutConstraint_SetDone(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44390 PyObject
*resultobj
;
44391 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
44393 PyObject
* obj0
= 0 ;
44394 PyObject
* obj1
= 0 ;
44395 char *kwnames
[] = {
44396 (char *) "self",(char *) "d", NULL
44399 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_SetDone",kwnames
,&obj0
,&obj1
)) goto fail
;
44400 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
44401 if (SWIG_arg_fail(1)) SWIG_fail
;
44403 arg2
= (bool)(SWIG_As_bool(obj1
));
44404 if (SWIG_arg_fail(2)) SWIG_fail
;
44407 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44408 (arg1
)->SetDone(arg2
);
44410 wxPyEndAllowThreads(__tstate
);
44411 if (PyErr_Occurred()) SWIG_fail
;
44413 Py_INCREF(Py_None
); resultobj
= Py_None
;
44420 static PyObject
*_wrap_IndividualLayoutConstraint_GetRelationship(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44421 PyObject
*resultobj
;
44422 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
44423 wxRelationship result
;
44424 PyObject
* obj0
= 0 ;
44425 char *kwnames
[] = {
44426 (char *) "self", NULL
44429 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetRelationship",kwnames
,&obj0
)) 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 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44434 result
= (wxRelationship
)(arg1
)->GetRelationship();
44436 wxPyEndAllowThreads(__tstate
);
44437 if (PyErr_Occurred()) SWIG_fail
;
44439 resultobj
= SWIG_From_int((result
));
44446 static PyObject
*_wrap_IndividualLayoutConstraint_SetRelationship(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44447 PyObject
*resultobj
;
44448 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
44449 wxRelationship arg2
;
44450 PyObject
* obj0
= 0 ;
44451 PyObject
* obj1
= 0 ;
44452 char *kwnames
[] = {
44453 (char *) "self",(char *) "r", NULL
44456 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_SetRelationship",kwnames
,&obj0
,&obj1
)) goto fail
;
44457 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
44458 if (SWIG_arg_fail(1)) SWIG_fail
;
44460 arg2
= (wxRelationship
)(SWIG_As_int(obj1
));
44461 if (SWIG_arg_fail(2)) SWIG_fail
;
44464 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44465 (arg1
)->SetRelationship((wxRelationship
)arg2
);
44467 wxPyEndAllowThreads(__tstate
);
44468 if (PyErr_Occurred()) SWIG_fail
;
44470 Py_INCREF(Py_None
); resultobj
= Py_None
;
44477 static PyObject
*_wrap_IndividualLayoutConstraint_ResetIfWin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44478 PyObject
*resultobj
;
44479 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
44480 wxWindow
*arg2
= (wxWindow
*) 0 ;
44482 PyObject
* obj0
= 0 ;
44483 PyObject
* obj1
= 0 ;
44484 char *kwnames
[] = {
44485 (char *) "self",(char *) "otherW", NULL
44488 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_ResetIfWin",kwnames
,&obj0
,&obj1
)) goto fail
;
44489 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
44490 if (SWIG_arg_fail(1)) SWIG_fail
;
44491 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
44492 if (SWIG_arg_fail(2)) SWIG_fail
;
44494 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44495 result
= (bool)(arg1
)->ResetIfWin(arg2
);
44497 wxPyEndAllowThreads(__tstate
);
44498 if (PyErr_Occurred()) SWIG_fail
;
44501 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
44509 static PyObject
*_wrap_IndividualLayoutConstraint_SatisfyConstraint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44510 PyObject
*resultobj
;
44511 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
44512 wxLayoutConstraints
*arg2
= (wxLayoutConstraints
*) 0 ;
44513 wxWindow
*arg3
= (wxWindow
*) 0 ;
44515 PyObject
* obj0
= 0 ;
44516 PyObject
* obj1
= 0 ;
44517 PyObject
* obj2
= 0 ;
44518 char *kwnames
[] = {
44519 (char *) "self",(char *) "constraints",(char *) "win", NULL
44522 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:IndividualLayoutConstraint_SatisfyConstraint",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
44523 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
44524 if (SWIG_arg_fail(1)) SWIG_fail
;
44525 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxLayoutConstraints
, SWIG_POINTER_EXCEPTION
| 0);
44526 if (SWIG_arg_fail(2)) SWIG_fail
;
44527 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
44528 if (SWIG_arg_fail(3)) SWIG_fail
;
44530 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44531 result
= (bool)(arg1
)->SatisfyConstraint(arg2
,arg3
);
44533 wxPyEndAllowThreads(__tstate
);
44534 if (PyErr_Occurred()) SWIG_fail
;
44537 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
44545 static PyObject
*_wrap_IndividualLayoutConstraint_GetEdge(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44546 PyObject
*resultobj
;
44547 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
44549 wxWindow
*arg3
= (wxWindow
*) 0 ;
44550 wxWindow
*arg4
= (wxWindow
*) 0 ;
44552 PyObject
* obj0
= 0 ;
44553 PyObject
* obj1
= 0 ;
44554 PyObject
* obj2
= 0 ;
44555 PyObject
* obj3
= 0 ;
44556 char *kwnames
[] = {
44557 (char *) "self",(char *) "which",(char *) "thisWin",(char *) "other", NULL
44560 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:IndividualLayoutConstraint_GetEdge",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
44561 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
44562 if (SWIG_arg_fail(1)) SWIG_fail
;
44564 arg2
= (wxEdge
)(SWIG_As_int(obj1
));
44565 if (SWIG_arg_fail(2)) SWIG_fail
;
44567 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
44568 if (SWIG_arg_fail(3)) SWIG_fail
;
44569 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
44570 if (SWIG_arg_fail(4)) SWIG_fail
;
44572 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44573 result
= (int)((wxIndividualLayoutConstraint
const *)arg1
)->GetEdge((wxEdge
)arg2
,arg3
,arg4
);
44575 wxPyEndAllowThreads(__tstate
);
44576 if (PyErr_Occurred()) SWIG_fail
;
44579 resultobj
= SWIG_From_int((int)(result
));
44587 static PyObject
* IndividualLayoutConstraint_swigregister(PyObject
*, PyObject
*args
) {
44589 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
44590 SWIG_TypeClientData(SWIGTYPE_p_wxIndividualLayoutConstraint
, obj
);
44592 return Py_BuildValue((char *)"");
44594 static PyObject
*_wrap_LayoutConstraints_left_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44595 PyObject
*resultobj
;
44596 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
44597 wxIndividualLayoutConstraint
*result
;
44598 PyObject
* obj0
= 0 ;
44599 char *kwnames
[] = {
44600 (char *) "self", NULL
44603 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_left_get",kwnames
,&obj0
)) goto fail
;
44604 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLayoutConstraints
, SWIG_POINTER_EXCEPTION
| 0);
44605 if (SWIG_arg_fail(1)) SWIG_fail
;
44606 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->left
);
44608 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
44615 static PyObject
*_wrap_LayoutConstraints_top_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44616 PyObject
*resultobj
;
44617 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
44618 wxIndividualLayoutConstraint
*result
;
44619 PyObject
* obj0
= 0 ;
44620 char *kwnames
[] = {
44621 (char *) "self", NULL
44624 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_top_get",kwnames
,&obj0
)) goto fail
;
44625 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLayoutConstraints
, SWIG_POINTER_EXCEPTION
| 0);
44626 if (SWIG_arg_fail(1)) SWIG_fail
;
44627 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->top
);
44629 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
44636 static PyObject
*_wrap_LayoutConstraints_right_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44637 PyObject
*resultobj
;
44638 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
44639 wxIndividualLayoutConstraint
*result
;
44640 PyObject
* obj0
= 0 ;
44641 char *kwnames
[] = {
44642 (char *) "self", NULL
44645 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_right_get",kwnames
,&obj0
)) goto fail
;
44646 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLayoutConstraints
, SWIG_POINTER_EXCEPTION
| 0);
44647 if (SWIG_arg_fail(1)) SWIG_fail
;
44648 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->right
);
44650 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
44657 static PyObject
*_wrap_LayoutConstraints_bottom_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44658 PyObject
*resultobj
;
44659 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
44660 wxIndividualLayoutConstraint
*result
;
44661 PyObject
* obj0
= 0 ;
44662 char *kwnames
[] = {
44663 (char *) "self", NULL
44666 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_bottom_get",kwnames
,&obj0
)) goto fail
;
44667 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLayoutConstraints
, SWIG_POINTER_EXCEPTION
| 0);
44668 if (SWIG_arg_fail(1)) SWIG_fail
;
44669 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->bottom
);
44671 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
44678 static PyObject
*_wrap_LayoutConstraints_width_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44679 PyObject
*resultobj
;
44680 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
44681 wxIndividualLayoutConstraint
*result
;
44682 PyObject
* obj0
= 0 ;
44683 char *kwnames
[] = {
44684 (char *) "self", NULL
44687 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_width_get",kwnames
,&obj0
)) goto fail
;
44688 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLayoutConstraints
, SWIG_POINTER_EXCEPTION
| 0);
44689 if (SWIG_arg_fail(1)) SWIG_fail
;
44690 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->width
);
44692 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
44699 static PyObject
*_wrap_LayoutConstraints_height_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44700 PyObject
*resultobj
;
44701 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
44702 wxIndividualLayoutConstraint
*result
;
44703 PyObject
* obj0
= 0 ;
44704 char *kwnames
[] = {
44705 (char *) "self", NULL
44708 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_height_get",kwnames
,&obj0
)) goto fail
;
44709 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLayoutConstraints
, SWIG_POINTER_EXCEPTION
| 0);
44710 if (SWIG_arg_fail(1)) SWIG_fail
;
44711 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->height
);
44713 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
44720 static PyObject
*_wrap_LayoutConstraints_centreX_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44721 PyObject
*resultobj
;
44722 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
44723 wxIndividualLayoutConstraint
*result
;
44724 PyObject
* obj0
= 0 ;
44725 char *kwnames
[] = {
44726 (char *) "self", NULL
44729 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_centreX_get",kwnames
,&obj0
)) goto fail
;
44730 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLayoutConstraints
, SWIG_POINTER_EXCEPTION
| 0);
44731 if (SWIG_arg_fail(1)) SWIG_fail
;
44732 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->centreX
);
44734 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
44741 static PyObject
*_wrap_LayoutConstraints_centreY_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44742 PyObject
*resultobj
;
44743 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
44744 wxIndividualLayoutConstraint
*result
;
44745 PyObject
* obj0
= 0 ;
44746 char *kwnames
[] = {
44747 (char *) "self", NULL
44750 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_centreY_get",kwnames
,&obj0
)) goto fail
;
44751 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLayoutConstraints
, SWIG_POINTER_EXCEPTION
| 0);
44752 if (SWIG_arg_fail(1)) SWIG_fail
;
44753 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->centreY
);
44755 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
44762 static PyObject
*_wrap_new_LayoutConstraints(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44763 PyObject
*resultobj
;
44764 wxLayoutConstraints
*result
;
44765 char *kwnames
[] = {
44769 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_LayoutConstraints",kwnames
)) goto fail
;
44771 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44772 result
= (wxLayoutConstraints
*)new wxLayoutConstraints();
44774 wxPyEndAllowThreads(__tstate
);
44775 if (PyErr_Occurred()) SWIG_fail
;
44777 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLayoutConstraints
, 1);
44784 static PyObject
*_wrap_LayoutConstraints_SatisfyConstraints(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44785 PyObject
*resultobj
;
44786 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
44787 wxWindow
*arg2
= (wxWindow
*) 0 ;
44788 int *arg3
= (int *) 0 ;
44792 PyObject
* obj0
= 0 ;
44793 PyObject
* obj1
= 0 ;
44794 char *kwnames
[] = {
44795 (char *) "self",(char *) "win", NULL
44798 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
44799 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LayoutConstraints_SatisfyConstraints",kwnames
,&obj0
,&obj1
)) goto fail
;
44800 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLayoutConstraints
, SWIG_POINTER_EXCEPTION
| 0);
44801 if (SWIG_arg_fail(1)) SWIG_fail
;
44802 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
44803 if (SWIG_arg_fail(2)) SWIG_fail
;
44805 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44806 result
= (bool)(arg1
)->SatisfyConstraints(arg2
,arg3
);
44808 wxPyEndAllowThreads(__tstate
);
44809 if (PyErr_Occurred()) SWIG_fail
;
44812 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
44814 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
44815 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
44822 static PyObject
*_wrap_LayoutConstraints_AreSatisfied(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44823 PyObject
*resultobj
;
44824 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
44826 PyObject
* obj0
= 0 ;
44827 char *kwnames
[] = {
44828 (char *) "self", NULL
44831 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_AreSatisfied",kwnames
,&obj0
)) goto fail
;
44832 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLayoutConstraints
, SWIG_POINTER_EXCEPTION
| 0);
44833 if (SWIG_arg_fail(1)) SWIG_fail
;
44835 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44836 result
= (bool)((wxLayoutConstraints
const *)arg1
)->AreSatisfied();
44838 wxPyEndAllowThreads(__tstate
);
44839 if (PyErr_Occurred()) SWIG_fail
;
44842 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
44850 static PyObject
* LayoutConstraints_swigregister(PyObject
*, PyObject
*args
) {
44852 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
44853 SWIG_TypeClientData(SWIGTYPE_p_wxLayoutConstraints
, obj
);
44855 return Py_BuildValue((char *)"");
44857 static PyMethodDef SwigMethods
[] = {
44858 { (char *)"_wxPySetDictionary", __wxPySetDictionary
, METH_VARARGS
, NULL
},
44859 { (char *)"_wxPyFixStockObjects", __wxPyFixStockObjects
, METH_VARARGS
, NULL
},
44860 { (char *)"Object_GetClassName", (PyCFunction
) _wrap_Object_GetClassName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44861 { (char *)"Object_Destroy", (PyCFunction
) _wrap_Object_Destroy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44862 { (char *)"Object_swigregister", Object_swigregister
, METH_VARARGS
, NULL
},
44863 { (char *)"Size_width_set", (PyCFunction
) _wrap_Size_width_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44864 { (char *)"Size_width_get", (PyCFunction
) _wrap_Size_width_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44865 { (char *)"Size_height_set", (PyCFunction
) _wrap_Size_height_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44866 { (char *)"Size_height_get", (PyCFunction
) _wrap_Size_height_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44867 { (char *)"new_Size", (PyCFunction
) _wrap_new_Size
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44868 { (char *)"delete_Size", (PyCFunction
) _wrap_delete_Size
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44869 { (char *)"Size___eq__", (PyCFunction
) _wrap_Size___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44870 { (char *)"Size___ne__", (PyCFunction
) _wrap_Size___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44871 { (char *)"Size___add__", (PyCFunction
) _wrap_Size___add__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44872 { (char *)"Size___sub__", (PyCFunction
) _wrap_Size___sub__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44873 { (char *)"Size_IncTo", (PyCFunction
) _wrap_Size_IncTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44874 { (char *)"Size_DecTo", (PyCFunction
) _wrap_Size_DecTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44875 { (char *)"Size_Set", (PyCFunction
) _wrap_Size_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44876 { (char *)"Size_SetWidth", (PyCFunction
) _wrap_Size_SetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44877 { (char *)"Size_SetHeight", (PyCFunction
) _wrap_Size_SetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44878 { (char *)"Size_GetWidth", (PyCFunction
) _wrap_Size_GetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44879 { (char *)"Size_GetHeight", (PyCFunction
) _wrap_Size_GetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44880 { (char *)"Size_IsFullySpecified", (PyCFunction
) _wrap_Size_IsFullySpecified
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44881 { (char *)"Size_SetDefaults", (PyCFunction
) _wrap_Size_SetDefaults
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44882 { (char *)"Size_Get", (PyCFunction
) _wrap_Size_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44883 { (char *)"Size_swigregister", Size_swigregister
, METH_VARARGS
, NULL
},
44884 { (char *)"RealPoint_x_set", (PyCFunction
) _wrap_RealPoint_x_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44885 { (char *)"RealPoint_x_get", (PyCFunction
) _wrap_RealPoint_x_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44886 { (char *)"RealPoint_y_set", (PyCFunction
) _wrap_RealPoint_y_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44887 { (char *)"RealPoint_y_get", (PyCFunction
) _wrap_RealPoint_y_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44888 { (char *)"new_RealPoint", (PyCFunction
) _wrap_new_RealPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44889 { (char *)"delete_RealPoint", (PyCFunction
) _wrap_delete_RealPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44890 { (char *)"RealPoint___eq__", (PyCFunction
) _wrap_RealPoint___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44891 { (char *)"RealPoint___ne__", (PyCFunction
) _wrap_RealPoint___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44892 { (char *)"RealPoint___add__", (PyCFunction
) _wrap_RealPoint___add__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44893 { (char *)"RealPoint___sub__", (PyCFunction
) _wrap_RealPoint___sub__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44894 { (char *)"RealPoint_Set", (PyCFunction
) _wrap_RealPoint_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44895 { (char *)"RealPoint_Get", (PyCFunction
) _wrap_RealPoint_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44896 { (char *)"RealPoint_swigregister", RealPoint_swigregister
, METH_VARARGS
, NULL
},
44897 { (char *)"Point_x_set", (PyCFunction
) _wrap_Point_x_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44898 { (char *)"Point_x_get", (PyCFunction
) _wrap_Point_x_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44899 { (char *)"Point_y_set", (PyCFunction
) _wrap_Point_y_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44900 { (char *)"Point_y_get", (PyCFunction
) _wrap_Point_y_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44901 { (char *)"new_Point", (PyCFunction
) _wrap_new_Point
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44902 { (char *)"delete_Point", (PyCFunction
) _wrap_delete_Point
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44903 { (char *)"Point___eq__", (PyCFunction
) _wrap_Point___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44904 { (char *)"Point___ne__", (PyCFunction
) _wrap_Point___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44905 { (char *)"Point___add__", (PyCFunction
) _wrap_Point___add__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44906 { (char *)"Point___sub__", (PyCFunction
) _wrap_Point___sub__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44907 { (char *)"Point___iadd__", (PyCFunction
) _wrap_Point___iadd__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44908 { (char *)"Point___isub__", (PyCFunction
) _wrap_Point___isub__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44909 { (char *)"Point_Set", (PyCFunction
) _wrap_Point_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44910 { (char *)"Point_Get", (PyCFunction
) _wrap_Point_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44911 { (char *)"Point_swigregister", Point_swigregister
, METH_VARARGS
, NULL
},
44912 { (char *)"new_Rect", (PyCFunction
) _wrap_new_Rect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44913 { (char *)"new_RectPP", (PyCFunction
) _wrap_new_RectPP
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44914 { (char *)"new_RectPS", (PyCFunction
) _wrap_new_RectPS
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44915 { (char *)"new_RectS", (PyCFunction
) _wrap_new_RectS
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44916 { (char *)"delete_Rect", (PyCFunction
) _wrap_delete_Rect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44917 { (char *)"Rect_GetX", (PyCFunction
) _wrap_Rect_GetX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44918 { (char *)"Rect_SetX", (PyCFunction
) _wrap_Rect_SetX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44919 { (char *)"Rect_GetY", (PyCFunction
) _wrap_Rect_GetY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44920 { (char *)"Rect_SetY", (PyCFunction
) _wrap_Rect_SetY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44921 { (char *)"Rect_GetWidth", (PyCFunction
) _wrap_Rect_GetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44922 { (char *)"Rect_SetWidth", (PyCFunction
) _wrap_Rect_SetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44923 { (char *)"Rect_GetHeight", (PyCFunction
) _wrap_Rect_GetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44924 { (char *)"Rect_SetHeight", (PyCFunction
) _wrap_Rect_SetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44925 { (char *)"Rect_GetPosition", (PyCFunction
) _wrap_Rect_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44926 { (char *)"Rect_SetPosition", (PyCFunction
) _wrap_Rect_SetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44927 { (char *)"Rect_GetSize", (PyCFunction
) _wrap_Rect_GetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44928 { (char *)"Rect_SetSize", (PyCFunction
) _wrap_Rect_SetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44929 { (char *)"Rect_GetTopLeft", (PyCFunction
) _wrap_Rect_GetTopLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44930 { (char *)"Rect_SetTopLeft", (PyCFunction
) _wrap_Rect_SetTopLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44931 { (char *)"Rect_GetBottomRight", (PyCFunction
) _wrap_Rect_GetBottomRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44932 { (char *)"Rect_SetBottomRight", (PyCFunction
) _wrap_Rect_SetBottomRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44933 { (char *)"Rect_GetLeft", (PyCFunction
) _wrap_Rect_GetLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44934 { (char *)"Rect_GetTop", (PyCFunction
) _wrap_Rect_GetTop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44935 { (char *)"Rect_GetBottom", (PyCFunction
) _wrap_Rect_GetBottom
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44936 { (char *)"Rect_GetRight", (PyCFunction
) _wrap_Rect_GetRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44937 { (char *)"Rect_SetLeft", (PyCFunction
) _wrap_Rect_SetLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44938 { (char *)"Rect_SetRight", (PyCFunction
) _wrap_Rect_SetRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44939 { (char *)"Rect_SetTop", (PyCFunction
) _wrap_Rect_SetTop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44940 { (char *)"Rect_SetBottom", (PyCFunction
) _wrap_Rect_SetBottom
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44941 { (char *)"Rect_Inflate", (PyCFunction
) _wrap_Rect_Inflate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44942 { (char *)"Rect_Deflate", (PyCFunction
) _wrap_Rect_Deflate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44943 { (char *)"Rect_OffsetXY", (PyCFunction
) _wrap_Rect_OffsetXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44944 { (char *)"Rect_Offset", (PyCFunction
) _wrap_Rect_Offset
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44945 { (char *)"Rect_Intersect", (PyCFunction
) _wrap_Rect_Intersect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44946 { (char *)"Rect_Union", (PyCFunction
) _wrap_Rect_Union
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44947 { (char *)"Rect___add__", (PyCFunction
) _wrap_Rect___add__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44948 { (char *)"Rect___iadd__", (PyCFunction
) _wrap_Rect___iadd__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44949 { (char *)"Rect___eq__", (PyCFunction
) _wrap_Rect___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44950 { (char *)"Rect___ne__", (PyCFunction
) _wrap_Rect___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44951 { (char *)"Rect_InsideXY", (PyCFunction
) _wrap_Rect_InsideXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44952 { (char *)"Rect_Inside", (PyCFunction
) _wrap_Rect_Inside
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44953 { (char *)"Rect_Intersects", (PyCFunction
) _wrap_Rect_Intersects
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44954 { (char *)"Rect_x_set", (PyCFunction
) _wrap_Rect_x_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44955 { (char *)"Rect_x_get", (PyCFunction
) _wrap_Rect_x_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44956 { (char *)"Rect_y_set", (PyCFunction
) _wrap_Rect_y_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44957 { (char *)"Rect_y_get", (PyCFunction
) _wrap_Rect_y_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44958 { (char *)"Rect_width_set", (PyCFunction
) _wrap_Rect_width_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44959 { (char *)"Rect_width_get", (PyCFunction
) _wrap_Rect_width_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44960 { (char *)"Rect_height_set", (PyCFunction
) _wrap_Rect_height_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44961 { (char *)"Rect_height_get", (PyCFunction
) _wrap_Rect_height_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44962 { (char *)"Rect_Set", (PyCFunction
) _wrap_Rect_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44963 { (char *)"Rect_Get", (PyCFunction
) _wrap_Rect_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44964 { (char *)"Rect_swigregister", Rect_swigregister
, METH_VARARGS
, NULL
},
44965 { (char *)"IntersectRect", (PyCFunction
) _wrap_IntersectRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44966 { (char *)"new_Point2D", (PyCFunction
) _wrap_new_Point2D
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44967 { (char *)"new_Point2DCopy", (PyCFunction
) _wrap_new_Point2DCopy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44968 { (char *)"new_Point2DFromPoint", (PyCFunction
) _wrap_new_Point2DFromPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44969 { (char *)"Point2D_GetFloor", (PyCFunction
) _wrap_Point2D_GetFloor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44970 { (char *)"Point2D_GetRounded", (PyCFunction
) _wrap_Point2D_GetRounded
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44971 { (char *)"Point2D_GetVectorLength", (PyCFunction
) _wrap_Point2D_GetVectorLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44972 { (char *)"Point2D_GetVectorAngle", (PyCFunction
) _wrap_Point2D_GetVectorAngle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44973 { (char *)"Point2D_SetVectorLength", (PyCFunction
) _wrap_Point2D_SetVectorLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44974 { (char *)"Point2D_SetVectorAngle", (PyCFunction
) _wrap_Point2D_SetVectorAngle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44975 { (char *)"Point2D_GetDistance", (PyCFunction
) _wrap_Point2D_GetDistance
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44976 { (char *)"Point2D_GetDistanceSquare", (PyCFunction
) _wrap_Point2D_GetDistanceSquare
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44977 { (char *)"Point2D_GetDotProduct", (PyCFunction
) _wrap_Point2D_GetDotProduct
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44978 { (char *)"Point2D_GetCrossProduct", (PyCFunction
) _wrap_Point2D_GetCrossProduct
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44979 { (char *)"Point2D___neg__", (PyCFunction
) _wrap_Point2D___neg__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44980 { (char *)"Point2D___iadd__", (PyCFunction
) _wrap_Point2D___iadd__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44981 { (char *)"Point2D___isub__", (PyCFunction
) _wrap_Point2D___isub__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44982 { (char *)"Point2D___imul__", (PyCFunction
) _wrap_Point2D___imul__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44983 { (char *)"Point2D___idiv__", (PyCFunction
) _wrap_Point2D___idiv__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44984 { (char *)"Point2D___eq__", (PyCFunction
) _wrap_Point2D___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44985 { (char *)"Point2D___ne__", (PyCFunction
) _wrap_Point2D___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44986 { (char *)"Point2D_x_set", (PyCFunction
) _wrap_Point2D_x_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44987 { (char *)"Point2D_x_get", (PyCFunction
) _wrap_Point2D_x_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44988 { (char *)"Point2D_y_set", (PyCFunction
) _wrap_Point2D_y_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44989 { (char *)"Point2D_y_get", (PyCFunction
) _wrap_Point2D_y_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44990 { (char *)"Point2D_Set", (PyCFunction
) _wrap_Point2D_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44991 { (char *)"Point2D_Get", (PyCFunction
) _wrap_Point2D_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44992 { (char *)"Point2D_swigregister", Point2D_swigregister
, METH_VARARGS
, NULL
},
44993 { (char *)"new_InputStream", (PyCFunction
) _wrap_new_InputStream
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44994 { (char *)"delete_InputStream", (PyCFunction
) _wrap_delete_InputStream
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44995 { (char *)"InputStream_close", (PyCFunction
) _wrap_InputStream_close
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44996 { (char *)"InputStream_flush", (PyCFunction
) _wrap_InputStream_flush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44997 { (char *)"InputStream_eof", (PyCFunction
) _wrap_InputStream_eof
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44998 { (char *)"InputStream_read", (PyCFunction
) _wrap_InputStream_read
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44999 { (char *)"InputStream_readline", (PyCFunction
) _wrap_InputStream_readline
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45000 { (char *)"InputStream_readlines", (PyCFunction
) _wrap_InputStream_readlines
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45001 { (char *)"InputStream_seek", (PyCFunction
) _wrap_InputStream_seek
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45002 { (char *)"InputStream_tell", (PyCFunction
) _wrap_InputStream_tell
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45003 { (char *)"InputStream_Peek", (PyCFunction
) _wrap_InputStream_Peek
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45004 { (char *)"InputStream_GetC", (PyCFunction
) _wrap_InputStream_GetC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45005 { (char *)"InputStream_LastRead", (PyCFunction
) _wrap_InputStream_LastRead
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45006 { (char *)"InputStream_CanRead", (PyCFunction
) _wrap_InputStream_CanRead
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45007 { (char *)"InputStream_Eof", (PyCFunction
) _wrap_InputStream_Eof
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45008 { (char *)"InputStream_Ungetch", (PyCFunction
) _wrap_InputStream_Ungetch
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45009 { (char *)"InputStream_SeekI", (PyCFunction
) _wrap_InputStream_SeekI
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45010 { (char *)"InputStream_TellI", (PyCFunction
) _wrap_InputStream_TellI
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45011 { (char *)"InputStream_swigregister", InputStream_swigregister
, METH_VARARGS
, NULL
},
45012 { (char *)"OutputStream_write", (PyCFunction
) _wrap_OutputStream_write
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45013 { (char *)"OutputStream_swigregister", OutputStream_swigregister
, METH_VARARGS
, NULL
},
45014 { (char *)"new_FSFile", (PyCFunction
) _wrap_new_FSFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45015 { (char *)"delete_FSFile", (PyCFunction
) _wrap_delete_FSFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45016 { (char *)"FSFile_GetStream", (PyCFunction
) _wrap_FSFile_GetStream
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45017 { (char *)"FSFile_GetMimeType", (PyCFunction
) _wrap_FSFile_GetMimeType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45018 { (char *)"FSFile_GetLocation", (PyCFunction
) _wrap_FSFile_GetLocation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45019 { (char *)"FSFile_GetAnchor", (PyCFunction
) _wrap_FSFile_GetAnchor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45020 { (char *)"FSFile_GetModificationTime", (PyCFunction
) _wrap_FSFile_GetModificationTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45021 { (char *)"FSFile_swigregister", FSFile_swigregister
, METH_VARARGS
, NULL
},
45022 { (char *)"CPPFileSystemHandler_swigregister", CPPFileSystemHandler_swigregister
, METH_VARARGS
, NULL
},
45023 { (char *)"new_FileSystemHandler", (PyCFunction
) _wrap_new_FileSystemHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45024 { (char *)"FileSystemHandler__setCallbackInfo", (PyCFunction
) _wrap_FileSystemHandler__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45025 { (char *)"FileSystemHandler_CanOpen", (PyCFunction
) _wrap_FileSystemHandler_CanOpen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45026 { (char *)"FileSystemHandler_OpenFile", (PyCFunction
) _wrap_FileSystemHandler_OpenFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45027 { (char *)"FileSystemHandler_FindFirst", (PyCFunction
) _wrap_FileSystemHandler_FindFirst
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45028 { (char *)"FileSystemHandler_FindNext", (PyCFunction
) _wrap_FileSystemHandler_FindNext
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45029 { (char *)"FileSystemHandler_GetProtocol", (PyCFunction
) _wrap_FileSystemHandler_GetProtocol
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45030 { (char *)"FileSystemHandler_GetLeftLocation", (PyCFunction
) _wrap_FileSystemHandler_GetLeftLocation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45031 { (char *)"FileSystemHandler_GetAnchor", (PyCFunction
) _wrap_FileSystemHandler_GetAnchor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45032 { (char *)"FileSystemHandler_GetRightLocation", (PyCFunction
) _wrap_FileSystemHandler_GetRightLocation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45033 { (char *)"FileSystemHandler_GetMimeTypeFromExt", (PyCFunction
) _wrap_FileSystemHandler_GetMimeTypeFromExt
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45034 { (char *)"FileSystemHandler_swigregister", FileSystemHandler_swigregister
, METH_VARARGS
, NULL
},
45035 { (char *)"new_FileSystem", (PyCFunction
) _wrap_new_FileSystem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45036 { (char *)"delete_FileSystem", (PyCFunction
) _wrap_delete_FileSystem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45037 { (char *)"FileSystem_ChangePathTo", (PyCFunction
) _wrap_FileSystem_ChangePathTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45038 { (char *)"FileSystem_GetPath", (PyCFunction
) _wrap_FileSystem_GetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45039 { (char *)"FileSystem_OpenFile", (PyCFunction
) _wrap_FileSystem_OpenFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45040 { (char *)"FileSystem_FindFirst", (PyCFunction
) _wrap_FileSystem_FindFirst
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45041 { (char *)"FileSystem_FindNext", (PyCFunction
) _wrap_FileSystem_FindNext
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45042 { (char *)"FileSystem_AddHandler", (PyCFunction
) _wrap_FileSystem_AddHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45043 { (char *)"FileSystem_CleanUpHandlers", (PyCFunction
) _wrap_FileSystem_CleanUpHandlers
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45044 { (char *)"FileSystem_FileNameToURL", (PyCFunction
) _wrap_FileSystem_FileNameToURL
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45045 { (char *)"FileSystem_URLToFileName", (PyCFunction
) _wrap_FileSystem_URLToFileName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45046 { (char *)"FileSystem_swigregister", FileSystem_swigregister
, METH_VARARGS
, NULL
},
45047 { (char *)"new_InternetFSHandler", (PyCFunction
) _wrap_new_InternetFSHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45048 { (char *)"InternetFSHandler_CanOpen", (PyCFunction
) _wrap_InternetFSHandler_CanOpen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45049 { (char *)"InternetFSHandler_OpenFile", (PyCFunction
) _wrap_InternetFSHandler_OpenFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45050 { (char *)"InternetFSHandler_swigregister", InternetFSHandler_swigregister
, METH_VARARGS
, NULL
},
45051 { (char *)"new_ZipFSHandler", (PyCFunction
) _wrap_new_ZipFSHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45052 { (char *)"ZipFSHandler_CanOpen", (PyCFunction
) _wrap_ZipFSHandler_CanOpen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45053 { (char *)"ZipFSHandler_OpenFile", (PyCFunction
) _wrap_ZipFSHandler_OpenFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45054 { (char *)"ZipFSHandler_FindFirst", (PyCFunction
) _wrap_ZipFSHandler_FindFirst
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45055 { (char *)"ZipFSHandler_FindNext", (PyCFunction
) _wrap_ZipFSHandler_FindNext
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45056 { (char *)"ZipFSHandler_swigregister", ZipFSHandler_swigregister
, METH_VARARGS
, NULL
},
45057 { (char *)"__wxMemoryFSHandler_AddFile_wxImage", (PyCFunction
) _wrap___wxMemoryFSHandler_AddFile_wxImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45058 { (char *)"__wxMemoryFSHandler_AddFile_wxBitmap", (PyCFunction
) _wrap___wxMemoryFSHandler_AddFile_wxBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45059 { (char *)"__wxMemoryFSHandler_AddFile_Data", (PyCFunction
) _wrap___wxMemoryFSHandler_AddFile_Data
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45060 { (char *)"new_MemoryFSHandler", (PyCFunction
) _wrap_new_MemoryFSHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45061 { (char *)"MemoryFSHandler_RemoveFile", (PyCFunction
) _wrap_MemoryFSHandler_RemoveFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45062 { (char *)"MemoryFSHandler_CanOpen", (PyCFunction
) _wrap_MemoryFSHandler_CanOpen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45063 { (char *)"MemoryFSHandler_OpenFile", (PyCFunction
) _wrap_MemoryFSHandler_OpenFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45064 { (char *)"MemoryFSHandler_FindFirst", (PyCFunction
) _wrap_MemoryFSHandler_FindFirst
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45065 { (char *)"MemoryFSHandler_FindNext", (PyCFunction
) _wrap_MemoryFSHandler_FindNext
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45066 { (char *)"MemoryFSHandler_swigregister", MemoryFSHandler_swigregister
, METH_VARARGS
, NULL
},
45067 { (char *)"ImageHandler_GetName", (PyCFunction
) _wrap_ImageHandler_GetName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45068 { (char *)"ImageHandler_GetExtension", (PyCFunction
) _wrap_ImageHandler_GetExtension
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45069 { (char *)"ImageHandler_GetType", (PyCFunction
) _wrap_ImageHandler_GetType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45070 { (char *)"ImageHandler_GetMimeType", (PyCFunction
) _wrap_ImageHandler_GetMimeType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45071 { (char *)"ImageHandler_CanRead", (PyCFunction
) _wrap_ImageHandler_CanRead
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45072 { (char *)"ImageHandler_SetName", (PyCFunction
) _wrap_ImageHandler_SetName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45073 { (char *)"ImageHandler_SetExtension", (PyCFunction
) _wrap_ImageHandler_SetExtension
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45074 { (char *)"ImageHandler_SetType", (PyCFunction
) _wrap_ImageHandler_SetType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45075 { (char *)"ImageHandler_SetMimeType", (PyCFunction
) _wrap_ImageHandler_SetMimeType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45076 { (char *)"ImageHandler_swigregister", ImageHandler_swigregister
, METH_VARARGS
, NULL
},
45077 { (char *)"new_ImageHistogram", (PyCFunction
) _wrap_new_ImageHistogram
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45078 { (char *)"ImageHistogram_MakeKey", (PyCFunction
) _wrap_ImageHistogram_MakeKey
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45079 { (char *)"ImageHistogram_FindFirstUnusedColour", (PyCFunction
) _wrap_ImageHistogram_FindFirstUnusedColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45080 { (char *)"ImageHistogram_swigregister", ImageHistogram_swigregister
, METH_VARARGS
, NULL
},
45081 { (char *)"new_Image", (PyCFunction
) _wrap_new_Image
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45082 { (char *)"delete_Image", (PyCFunction
) _wrap_delete_Image
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45083 { (char *)"new_ImageFromMime", (PyCFunction
) _wrap_new_ImageFromMime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45084 { (char *)"new_ImageFromStream", (PyCFunction
) _wrap_new_ImageFromStream
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45085 { (char *)"new_ImageFromStreamMime", (PyCFunction
) _wrap_new_ImageFromStreamMime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45086 { (char *)"new_EmptyImage", (PyCFunction
) _wrap_new_EmptyImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45087 { (char *)"new_ImageFromBitmap", (PyCFunction
) _wrap_new_ImageFromBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45088 { (char *)"new_ImageFromData", (PyCFunction
) _wrap_new_ImageFromData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45089 { (char *)"new_ImageFromDataWithAlpha", (PyCFunction
) _wrap_new_ImageFromDataWithAlpha
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45090 { (char *)"Image_Create", (PyCFunction
) _wrap_Image_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45091 { (char *)"Image_Destroy", (PyCFunction
) _wrap_Image_Destroy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45092 { (char *)"Image_Scale", (PyCFunction
) _wrap_Image_Scale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45093 { (char *)"Image_ShrinkBy", (PyCFunction
) _wrap_Image_ShrinkBy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45094 { (char *)"Image_Rescale", (PyCFunction
) _wrap_Image_Rescale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45095 { (char *)"Image_SetRGB", (PyCFunction
) _wrap_Image_SetRGB
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45096 { (char *)"Image_GetRed", (PyCFunction
) _wrap_Image_GetRed
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45097 { (char *)"Image_GetGreen", (PyCFunction
) _wrap_Image_GetGreen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45098 { (char *)"Image_GetBlue", (PyCFunction
) _wrap_Image_GetBlue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45099 { (char *)"Image_SetAlpha", (PyCFunction
) _wrap_Image_SetAlpha
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45100 { (char *)"Image_GetAlpha", (PyCFunction
) _wrap_Image_GetAlpha
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45101 { (char *)"Image_HasAlpha", (PyCFunction
) _wrap_Image_HasAlpha
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45102 { (char *)"Image_InitAlpha", (PyCFunction
) _wrap_Image_InitAlpha
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45103 { (char *)"Image_FindFirstUnusedColour", (PyCFunction
) _wrap_Image_FindFirstUnusedColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45104 { (char *)"Image_ConvertAlphaToMask", (PyCFunction
) _wrap_Image_ConvertAlphaToMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45105 { (char *)"Image_ConvertColourToAlpha", (PyCFunction
) _wrap_Image_ConvertColourToAlpha
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45106 { (char *)"Image_SetMaskFromImage", (PyCFunction
) _wrap_Image_SetMaskFromImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45107 { (char *)"Image_CanRead", (PyCFunction
) _wrap_Image_CanRead
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45108 { (char *)"Image_GetImageCount", (PyCFunction
) _wrap_Image_GetImageCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45109 { (char *)"Image_LoadFile", (PyCFunction
) _wrap_Image_LoadFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45110 { (char *)"Image_LoadMimeFile", (PyCFunction
) _wrap_Image_LoadMimeFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45111 { (char *)"Image_SaveFile", (PyCFunction
) _wrap_Image_SaveFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45112 { (char *)"Image_SaveMimeFile", (PyCFunction
) _wrap_Image_SaveMimeFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45113 { (char *)"Image_CanReadStream", (PyCFunction
) _wrap_Image_CanReadStream
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45114 { (char *)"Image_LoadStream", (PyCFunction
) _wrap_Image_LoadStream
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45115 { (char *)"Image_LoadMimeStream", (PyCFunction
) _wrap_Image_LoadMimeStream
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45116 { (char *)"Image_Ok", (PyCFunction
) _wrap_Image_Ok
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45117 { (char *)"Image_GetWidth", (PyCFunction
) _wrap_Image_GetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45118 { (char *)"Image_GetHeight", (PyCFunction
) _wrap_Image_GetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45119 { (char *)"Image_GetSize", (PyCFunction
) _wrap_Image_GetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45120 { (char *)"Image_GetSubImage", (PyCFunction
) _wrap_Image_GetSubImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45121 { (char *)"Image_Copy", (PyCFunction
) _wrap_Image_Copy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45122 { (char *)"Image_Paste", (PyCFunction
) _wrap_Image_Paste
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45123 { (char *)"Image_GetData", (PyCFunction
) _wrap_Image_GetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45124 { (char *)"Image_SetData", (PyCFunction
) _wrap_Image_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45125 { (char *)"Image_GetDataBuffer", (PyCFunction
) _wrap_Image_GetDataBuffer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45126 { (char *)"Image_SetDataBuffer", (PyCFunction
) _wrap_Image_SetDataBuffer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45127 { (char *)"Image_GetAlphaData", (PyCFunction
) _wrap_Image_GetAlphaData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45128 { (char *)"Image_SetAlphaData", (PyCFunction
) _wrap_Image_SetAlphaData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45129 { (char *)"Image_GetAlphaBuffer", (PyCFunction
) _wrap_Image_GetAlphaBuffer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45130 { (char *)"Image_SetAlphaBuffer", (PyCFunction
) _wrap_Image_SetAlphaBuffer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45131 { (char *)"Image_SetMaskColour", (PyCFunction
) _wrap_Image_SetMaskColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45132 { (char *)"Image_GetMaskRed", (PyCFunction
) _wrap_Image_GetMaskRed
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45133 { (char *)"Image_GetMaskGreen", (PyCFunction
) _wrap_Image_GetMaskGreen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45134 { (char *)"Image_GetMaskBlue", (PyCFunction
) _wrap_Image_GetMaskBlue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45135 { (char *)"Image_SetMask", (PyCFunction
) _wrap_Image_SetMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45136 { (char *)"Image_HasMask", (PyCFunction
) _wrap_Image_HasMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45137 { (char *)"Image_Rotate", (PyCFunction
) _wrap_Image_Rotate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45138 { (char *)"Image_Rotate90", (PyCFunction
) _wrap_Image_Rotate90
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45139 { (char *)"Image_Mirror", (PyCFunction
) _wrap_Image_Mirror
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45140 { (char *)"Image_Replace", (PyCFunction
) _wrap_Image_Replace
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45141 { (char *)"Image_ConvertToMono", (PyCFunction
) _wrap_Image_ConvertToMono
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45142 { (char *)"Image_SetOption", (PyCFunction
) _wrap_Image_SetOption
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45143 { (char *)"Image_SetOptionInt", (PyCFunction
) _wrap_Image_SetOptionInt
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45144 { (char *)"Image_GetOption", (PyCFunction
) _wrap_Image_GetOption
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45145 { (char *)"Image_GetOptionInt", (PyCFunction
) _wrap_Image_GetOptionInt
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45146 { (char *)"Image_HasOption", (PyCFunction
) _wrap_Image_HasOption
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45147 { (char *)"Image_CountColours", (PyCFunction
) _wrap_Image_CountColours
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45148 { (char *)"Image_ComputeHistogram", (PyCFunction
) _wrap_Image_ComputeHistogram
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45149 { (char *)"Image_AddHandler", (PyCFunction
) _wrap_Image_AddHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45150 { (char *)"Image_InsertHandler", (PyCFunction
) _wrap_Image_InsertHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45151 { (char *)"Image_RemoveHandler", (PyCFunction
) _wrap_Image_RemoveHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45152 { (char *)"Image_GetImageExtWildcard", (PyCFunction
) _wrap_Image_GetImageExtWildcard
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45153 { (char *)"Image_ConvertToBitmap", (PyCFunction
) _wrap_Image_ConvertToBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45154 { (char *)"Image_ConvertToMonoBitmap", (PyCFunction
) _wrap_Image_ConvertToMonoBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45155 { (char *)"Image_swigregister", Image_swigregister
, METH_VARARGS
, NULL
},
45156 { (char *)"new_BMPHandler", (PyCFunction
) _wrap_new_BMPHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45157 { (char *)"BMPHandler_swigregister", BMPHandler_swigregister
, METH_VARARGS
, NULL
},
45158 { (char *)"new_ICOHandler", (PyCFunction
) _wrap_new_ICOHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45159 { (char *)"ICOHandler_swigregister", ICOHandler_swigregister
, METH_VARARGS
, NULL
},
45160 { (char *)"new_CURHandler", (PyCFunction
) _wrap_new_CURHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45161 { (char *)"CURHandler_swigregister", CURHandler_swigregister
, METH_VARARGS
, NULL
},
45162 { (char *)"new_ANIHandler", (PyCFunction
) _wrap_new_ANIHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45163 { (char *)"ANIHandler_swigregister", ANIHandler_swigregister
, METH_VARARGS
, NULL
},
45164 { (char *)"new_PNGHandler", (PyCFunction
) _wrap_new_PNGHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45165 { (char *)"PNGHandler_swigregister", PNGHandler_swigregister
, METH_VARARGS
, NULL
},
45166 { (char *)"new_GIFHandler", (PyCFunction
) _wrap_new_GIFHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45167 { (char *)"GIFHandler_swigregister", GIFHandler_swigregister
, METH_VARARGS
, NULL
},
45168 { (char *)"new_PCXHandler", (PyCFunction
) _wrap_new_PCXHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45169 { (char *)"PCXHandler_swigregister", PCXHandler_swigregister
, METH_VARARGS
, NULL
},
45170 { (char *)"new_JPEGHandler", (PyCFunction
) _wrap_new_JPEGHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45171 { (char *)"JPEGHandler_swigregister", JPEGHandler_swigregister
, METH_VARARGS
, NULL
},
45172 { (char *)"new_PNMHandler", (PyCFunction
) _wrap_new_PNMHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45173 { (char *)"PNMHandler_swigregister", PNMHandler_swigregister
, METH_VARARGS
, NULL
},
45174 { (char *)"new_XPMHandler", (PyCFunction
) _wrap_new_XPMHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45175 { (char *)"XPMHandler_swigregister", XPMHandler_swigregister
, METH_VARARGS
, NULL
},
45176 { (char *)"new_TIFFHandler", (PyCFunction
) _wrap_new_TIFFHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45177 { (char *)"TIFFHandler_swigregister", TIFFHandler_swigregister
, METH_VARARGS
, NULL
},
45178 { (char *)"Quantize_Quantize", (PyCFunction
) _wrap_Quantize_Quantize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45179 { (char *)"Quantize_swigregister", Quantize_swigregister
, METH_VARARGS
, NULL
},
45180 { (char *)"new_EvtHandler", (PyCFunction
) _wrap_new_EvtHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45181 { (char *)"EvtHandler_GetNextHandler", (PyCFunction
) _wrap_EvtHandler_GetNextHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45182 { (char *)"EvtHandler_GetPreviousHandler", (PyCFunction
) _wrap_EvtHandler_GetPreviousHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45183 { (char *)"EvtHandler_SetNextHandler", (PyCFunction
) _wrap_EvtHandler_SetNextHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45184 { (char *)"EvtHandler_SetPreviousHandler", (PyCFunction
) _wrap_EvtHandler_SetPreviousHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45185 { (char *)"EvtHandler_GetEvtHandlerEnabled", (PyCFunction
) _wrap_EvtHandler_GetEvtHandlerEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45186 { (char *)"EvtHandler_SetEvtHandlerEnabled", (PyCFunction
) _wrap_EvtHandler_SetEvtHandlerEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45187 { (char *)"EvtHandler_ProcessEvent", (PyCFunction
) _wrap_EvtHandler_ProcessEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45188 { (char *)"EvtHandler_AddPendingEvent", (PyCFunction
) _wrap_EvtHandler_AddPendingEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45189 { (char *)"EvtHandler_ProcessPendingEvents", (PyCFunction
) _wrap_EvtHandler_ProcessPendingEvents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45190 { (char *)"EvtHandler_Connect", (PyCFunction
) _wrap_EvtHandler_Connect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45191 { (char *)"EvtHandler_Disconnect", (PyCFunction
) _wrap_EvtHandler_Disconnect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45192 { (char *)"EvtHandler__setOORInfo", (PyCFunction
) _wrap_EvtHandler__setOORInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45193 { (char *)"EvtHandler_swigregister", EvtHandler_swigregister
, METH_VARARGS
, NULL
},
45194 { (char *)"NewEventType", (PyCFunction
) _wrap_NewEventType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45195 { (char *)"delete_Event", (PyCFunction
) _wrap_delete_Event
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45196 { (char *)"Event_SetEventType", (PyCFunction
) _wrap_Event_SetEventType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45197 { (char *)"Event_GetEventType", (PyCFunction
) _wrap_Event_GetEventType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45198 { (char *)"Event_GetEventObject", (PyCFunction
) _wrap_Event_GetEventObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45199 { (char *)"Event_SetEventObject", (PyCFunction
) _wrap_Event_SetEventObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45200 { (char *)"Event_GetTimestamp", (PyCFunction
) _wrap_Event_GetTimestamp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45201 { (char *)"Event_SetTimestamp", (PyCFunction
) _wrap_Event_SetTimestamp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45202 { (char *)"Event_GetId", (PyCFunction
) _wrap_Event_GetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45203 { (char *)"Event_SetId", (PyCFunction
) _wrap_Event_SetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45204 { (char *)"Event_IsCommandEvent", (PyCFunction
) _wrap_Event_IsCommandEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45205 { (char *)"Event_Skip", (PyCFunction
) _wrap_Event_Skip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45206 { (char *)"Event_GetSkipped", (PyCFunction
) _wrap_Event_GetSkipped
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45207 { (char *)"Event_ShouldPropagate", (PyCFunction
) _wrap_Event_ShouldPropagate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45208 { (char *)"Event_StopPropagation", (PyCFunction
) _wrap_Event_StopPropagation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45209 { (char *)"Event_ResumePropagation", (PyCFunction
) _wrap_Event_ResumePropagation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45210 { (char *)"Event_Clone", (PyCFunction
) _wrap_Event_Clone
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45211 { (char *)"Event_swigregister", Event_swigregister
, METH_VARARGS
, NULL
},
45212 { (char *)"new_PropagationDisabler", (PyCFunction
) _wrap_new_PropagationDisabler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45213 { (char *)"delete_PropagationDisabler", (PyCFunction
) _wrap_delete_PropagationDisabler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45214 { (char *)"PropagationDisabler_swigregister", PropagationDisabler_swigregister
, METH_VARARGS
, NULL
},
45215 { (char *)"new_PropagateOnce", (PyCFunction
) _wrap_new_PropagateOnce
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45216 { (char *)"delete_PropagateOnce", (PyCFunction
) _wrap_delete_PropagateOnce
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45217 { (char *)"PropagateOnce_swigregister", PropagateOnce_swigregister
, METH_VARARGS
, NULL
},
45218 { (char *)"new_CommandEvent", (PyCFunction
) _wrap_new_CommandEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45219 { (char *)"CommandEvent_GetSelection", (PyCFunction
) _wrap_CommandEvent_GetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45220 { (char *)"CommandEvent_SetString", (PyCFunction
) _wrap_CommandEvent_SetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45221 { (char *)"CommandEvent_GetString", (PyCFunction
) _wrap_CommandEvent_GetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45222 { (char *)"CommandEvent_IsChecked", (PyCFunction
) _wrap_CommandEvent_IsChecked
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45223 { (char *)"CommandEvent_IsSelection", (PyCFunction
) _wrap_CommandEvent_IsSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45224 { (char *)"CommandEvent_SetExtraLong", (PyCFunction
) _wrap_CommandEvent_SetExtraLong
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45225 { (char *)"CommandEvent_GetExtraLong", (PyCFunction
) _wrap_CommandEvent_GetExtraLong
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45226 { (char *)"CommandEvent_SetInt", (PyCFunction
) _wrap_CommandEvent_SetInt
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45227 { (char *)"CommandEvent_GetInt", (PyCFunction
) _wrap_CommandEvent_GetInt
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45228 { (char *)"CommandEvent_Clone", (PyCFunction
) _wrap_CommandEvent_Clone
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45229 { (char *)"CommandEvent_swigregister", CommandEvent_swigregister
, METH_VARARGS
, NULL
},
45230 { (char *)"new_NotifyEvent", (PyCFunction
) _wrap_new_NotifyEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45231 { (char *)"NotifyEvent_Veto", (PyCFunction
) _wrap_NotifyEvent_Veto
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45232 { (char *)"NotifyEvent_Allow", (PyCFunction
) _wrap_NotifyEvent_Allow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45233 { (char *)"NotifyEvent_IsAllowed", (PyCFunction
) _wrap_NotifyEvent_IsAllowed
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45234 { (char *)"NotifyEvent_swigregister", NotifyEvent_swigregister
, METH_VARARGS
, NULL
},
45235 { (char *)"new_ScrollEvent", (PyCFunction
) _wrap_new_ScrollEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45236 { (char *)"ScrollEvent_GetOrientation", (PyCFunction
) _wrap_ScrollEvent_GetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45237 { (char *)"ScrollEvent_GetPosition", (PyCFunction
) _wrap_ScrollEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45238 { (char *)"ScrollEvent_SetOrientation", (PyCFunction
) _wrap_ScrollEvent_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45239 { (char *)"ScrollEvent_SetPosition", (PyCFunction
) _wrap_ScrollEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45240 { (char *)"ScrollEvent_swigregister", ScrollEvent_swigregister
, METH_VARARGS
, NULL
},
45241 { (char *)"new_ScrollWinEvent", (PyCFunction
) _wrap_new_ScrollWinEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45242 { (char *)"ScrollWinEvent_GetOrientation", (PyCFunction
) _wrap_ScrollWinEvent_GetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45243 { (char *)"ScrollWinEvent_GetPosition", (PyCFunction
) _wrap_ScrollWinEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45244 { (char *)"ScrollWinEvent_SetOrientation", (PyCFunction
) _wrap_ScrollWinEvent_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45245 { (char *)"ScrollWinEvent_SetPosition", (PyCFunction
) _wrap_ScrollWinEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45246 { (char *)"ScrollWinEvent_swigregister", ScrollWinEvent_swigregister
, METH_VARARGS
, NULL
},
45247 { (char *)"new_MouseEvent", (PyCFunction
) _wrap_new_MouseEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45248 { (char *)"MouseEvent_IsButton", (PyCFunction
) _wrap_MouseEvent_IsButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45249 { (char *)"MouseEvent_ButtonDown", (PyCFunction
) _wrap_MouseEvent_ButtonDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45250 { (char *)"MouseEvent_ButtonDClick", (PyCFunction
) _wrap_MouseEvent_ButtonDClick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45251 { (char *)"MouseEvent_ButtonUp", (PyCFunction
) _wrap_MouseEvent_ButtonUp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45252 { (char *)"MouseEvent_Button", (PyCFunction
) _wrap_MouseEvent_Button
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45253 { (char *)"MouseEvent_ButtonIsDown", (PyCFunction
) _wrap_MouseEvent_ButtonIsDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45254 { (char *)"MouseEvent_GetButton", (PyCFunction
) _wrap_MouseEvent_GetButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45255 { (char *)"MouseEvent_ControlDown", (PyCFunction
) _wrap_MouseEvent_ControlDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45256 { (char *)"MouseEvent_MetaDown", (PyCFunction
) _wrap_MouseEvent_MetaDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45257 { (char *)"MouseEvent_AltDown", (PyCFunction
) _wrap_MouseEvent_AltDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45258 { (char *)"MouseEvent_ShiftDown", (PyCFunction
) _wrap_MouseEvent_ShiftDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45259 { (char *)"MouseEvent_CmdDown", (PyCFunction
) _wrap_MouseEvent_CmdDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45260 { (char *)"MouseEvent_LeftDown", (PyCFunction
) _wrap_MouseEvent_LeftDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45261 { (char *)"MouseEvent_MiddleDown", (PyCFunction
) _wrap_MouseEvent_MiddleDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45262 { (char *)"MouseEvent_RightDown", (PyCFunction
) _wrap_MouseEvent_RightDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45263 { (char *)"MouseEvent_LeftUp", (PyCFunction
) _wrap_MouseEvent_LeftUp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45264 { (char *)"MouseEvent_MiddleUp", (PyCFunction
) _wrap_MouseEvent_MiddleUp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45265 { (char *)"MouseEvent_RightUp", (PyCFunction
) _wrap_MouseEvent_RightUp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45266 { (char *)"MouseEvent_LeftDClick", (PyCFunction
) _wrap_MouseEvent_LeftDClick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45267 { (char *)"MouseEvent_MiddleDClick", (PyCFunction
) _wrap_MouseEvent_MiddleDClick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45268 { (char *)"MouseEvent_RightDClick", (PyCFunction
) _wrap_MouseEvent_RightDClick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45269 { (char *)"MouseEvent_LeftIsDown", (PyCFunction
) _wrap_MouseEvent_LeftIsDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45270 { (char *)"MouseEvent_MiddleIsDown", (PyCFunction
) _wrap_MouseEvent_MiddleIsDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45271 { (char *)"MouseEvent_RightIsDown", (PyCFunction
) _wrap_MouseEvent_RightIsDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45272 { (char *)"MouseEvent_Dragging", (PyCFunction
) _wrap_MouseEvent_Dragging
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45273 { (char *)"MouseEvent_Moving", (PyCFunction
) _wrap_MouseEvent_Moving
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45274 { (char *)"MouseEvent_Entering", (PyCFunction
) _wrap_MouseEvent_Entering
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45275 { (char *)"MouseEvent_Leaving", (PyCFunction
) _wrap_MouseEvent_Leaving
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45276 { (char *)"MouseEvent_GetPosition", (PyCFunction
) _wrap_MouseEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45277 { (char *)"MouseEvent_GetPositionTuple", (PyCFunction
) _wrap_MouseEvent_GetPositionTuple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45278 { (char *)"MouseEvent_GetLogicalPosition", (PyCFunction
) _wrap_MouseEvent_GetLogicalPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45279 { (char *)"MouseEvent_GetX", (PyCFunction
) _wrap_MouseEvent_GetX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45280 { (char *)"MouseEvent_GetY", (PyCFunction
) _wrap_MouseEvent_GetY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45281 { (char *)"MouseEvent_GetWheelRotation", (PyCFunction
) _wrap_MouseEvent_GetWheelRotation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45282 { (char *)"MouseEvent_GetWheelDelta", (PyCFunction
) _wrap_MouseEvent_GetWheelDelta
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45283 { (char *)"MouseEvent_GetLinesPerAction", (PyCFunction
) _wrap_MouseEvent_GetLinesPerAction
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45284 { (char *)"MouseEvent_IsPageScroll", (PyCFunction
) _wrap_MouseEvent_IsPageScroll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45285 { (char *)"MouseEvent_m_x_set", (PyCFunction
) _wrap_MouseEvent_m_x_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45286 { (char *)"MouseEvent_m_x_get", (PyCFunction
) _wrap_MouseEvent_m_x_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45287 { (char *)"MouseEvent_m_y_set", (PyCFunction
) _wrap_MouseEvent_m_y_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45288 { (char *)"MouseEvent_m_y_get", (PyCFunction
) _wrap_MouseEvent_m_y_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45289 { (char *)"MouseEvent_m_leftDown_set", (PyCFunction
) _wrap_MouseEvent_m_leftDown_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45290 { (char *)"MouseEvent_m_leftDown_get", (PyCFunction
) _wrap_MouseEvent_m_leftDown_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45291 { (char *)"MouseEvent_m_middleDown_set", (PyCFunction
) _wrap_MouseEvent_m_middleDown_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45292 { (char *)"MouseEvent_m_middleDown_get", (PyCFunction
) _wrap_MouseEvent_m_middleDown_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45293 { (char *)"MouseEvent_m_rightDown_set", (PyCFunction
) _wrap_MouseEvent_m_rightDown_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45294 { (char *)"MouseEvent_m_rightDown_get", (PyCFunction
) _wrap_MouseEvent_m_rightDown_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45295 { (char *)"MouseEvent_m_controlDown_set", (PyCFunction
) _wrap_MouseEvent_m_controlDown_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45296 { (char *)"MouseEvent_m_controlDown_get", (PyCFunction
) _wrap_MouseEvent_m_controlDown_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45297 { (char *)"MouseEvent_m_shiftDown_set", (PyCFunction
) _wrap_MouseEvent_m_shiftDown_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45298 { (char *)"MouseEvent_m_shiftDown_get", (PyCFunction
) _wrap_MouseEvent_m_shiftDown_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45299 { (char *)"MouseEvent_m_altDown_set", (PyCFunction
) _wrap_MouseEvent_m_altDown_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45300 { (char *)"MouseEvent_m_altDown_get", (PyCFunction
) _wrap_MouseEvent_m_altDown_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45301 { (char *)"MouseEvent_m_metaDown_set", (PyCFunction
) _wrap_MouseEvent_m_metaDown_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45302 { (char *)"MouseEvent_m_metaDown_get", (PyCFunction
) _wrap_MouseEvent_m_metaDown_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45303 { (char *)"MouseEvent_m_wheelRotation_set", (PyCFunction
) _wrap_MouseEvent_m_wheelRotation_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45304 { (char *)"MouseEvent_m_wheelRotation_get", (PyCFunction
) _wrap_MouseEvent_m_wheelRotation_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45305 { (char *)"MouseEvent_m_wheelDelta_set", (PyCFunction
) _wrap_MouseEvent_m_wheelDelta_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45306 { (char *)"MouseEvent_m_wheelDelta_get", (PyCFunction
) _wrap_MouseEvent_m_wheelDelta_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45307 { (char *)"MouseEvent_m_linesPerAction_set", (PyCFunction
) _wrap_MouseEvent_m_linesPerAction_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45308 { (char *)"MouseEvent_m_linesPerAction_get", (PyCFunction
) _wrap_MouseEvent_m_linesPerAction_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45309 { (char *)"MouseEvent_swigregister", MouseEvent_swigregister
, METH_VARARGS
, NULL
},
45310 { (char *)"new_SetCursorEvent", (PyCFunction
) _wrap_new_SetCursorEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45311 { (char *)"SetCursorEvent_GetX", (PyCFunction
) _wrap_SetCursorEvent_GetX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45312 { (char *)"SetCursorEvent_GetY", (PyCFunction
) _wrap_SetCursorEvent_GetY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45313 { (char *)"SetCursorEvent_SetCursor", (PyCFunction
) _wrap_SetCursorEvent_SetCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45314 { (char *)"SetCursorEvent_GetCursor", (PyCFunction
) _wrap_SetCursorEvent_GetCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45315 { (char *)"SetCursorEvent_HasCursor", (PyCFunction
) _wrap_SetCursorEvent_HasCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45316 { (char *)"SetCursorEvent_swigregister", SetCursorEvent_swigregister
, METH_VARARGS
, NULL
},
45317 { (char *)"new_KeyEvent", (PyCFunction
) _wrap_new_KeyEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45318 { (char *)"KeyEvent_ControlDown", (PyCFunction
) _wrap_KeyEvent_ControlDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45319 { (char *)"KeyEvent_MetaDown", (PyCFunction
) _wrap_KeyEvent_MetaDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45320 { (char *)"KeyEvent_AltDown", (PyCFunction
) _wrap_KeyEvent_AltDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45321 { (char *)"KeyEvent_ShiftDown", (PyCFunction
) _wrap_KeyEvent_ShiftDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45322 { (char *)"KeyEvent_CmdDown", (PyCFunction
) _wrap_KeyEvent_CmdDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45323 { (char *)"KeyEvent_HasModifiers", (PyCFunction
) _wrap_KeyEvent_HasModifiers
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45324 { (char *)"KeyEvent_GetKeyCode", (PyCFunction
) _wrap_KeyEvent_GetKeyCode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45325 { (char *)"KeyEvent_GetUnicodeKey", (PyCFunction
) _wrap_KeyEvent_GetUnicodeKey
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45326 { (char *)"KeyEvent_GetRawKeyCode", (PyCFunction
) _wrap_KeyEvent_GetRawKeyCode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45327 { (char *)"KeyEvent_GetRawKeyFlags", (PyCFunction
) _wrap_KeyEvent_GetRawKeyFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45328 { (char *)"KeyEvent_GetPosition", (PyCFunction
) _wrap_KeyEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45329 { (char *)"KeyEvent_GetPositionTuple", (PyCFunction
) _wrap_KeyEvent_GetPositionTuple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45330 { (char *)"KeyEvent_GetX", (PyCFunction
) _wrap_KeyEvent_GetX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45331 { (char *)"KeyEvent_GetY", (PyCFunction
) _wrap_KeyEvent_GetY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45332 { (char *)"KeyEvent_m_x_set", (PyCFunction
) _wrap_KeyEvent_m_x_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45333 { (char *)"KeyEvent_m_x_get", (PyCFunction
) _wrap_KeyEvent_m_x_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45334 { (char *)"KeyEvent_m_y_set", (PyCFunction
) _wrap_KeyEvent_m_y_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45335 { (char *)"KeyEvent_m_y_get", (PyCFunction
) _wrap_KeyEvent_m_y_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45336 { (char *)"KeyEvent_m_keyCode_set", (PyCFunction
) _wrap_KeyEvent_m_keyCode_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45337 { (char *)"KeyEvent_m_keyCode_get", (PyCFunction
) _wrap_KeyEvent_m_keyCode_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45338 { (char *)"KeyEvent_m_controlDown_set", (PyCFunction
) _wrap_KeyEvent_m_controlDown_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45339 { (char *)"KeyEvent_m_controlDown_get", (PyCFunction
) _wrap_KeyEvent_m_controlDown_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45340 { (char *)"KeyEvent_m_shiftDown_set", (PyCFunction
) _wrap_KeyEvent_m_shiftDown_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45341 { (char *)"KeyEvent_m_shiftDown_get", (PyCFunction
) _wrap_KeyEvent_m_shiftDown_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45342 { (char *)"KeyEvent_m_altDown_set", (PyCFunction
) _wrap_KeyEvent_m_altDown_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45343 { (char *)"KeyEvent_m_altDown_get", (PyCFunction
) _wrap_KeyEvent_m_altDown_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45344 { (char *)"KeyEvent_m_metaDown_set", (PyCFunction
) _wrap_KeyEvent_m_metaDown_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45345 { (char *)"KeyEvent_m_metaDown_get", (PyCFunction
) _wrap_KeyEvent_m_metaDown_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45346 { (char *)"KeyEvent_m_scanCode_set", (PyCFunction
) _wrap_KeyEvent_m_scanCode_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45347 { (char *)"KeyEvent_m_scanCode_get", (PyCFunction
) _wrap_KeyEvent_m_scanCode_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45348 { (char *)"KeyEvent_m_rawCode_set", (PyCFunction
) _wrap_KeyEvent_m_rawCode_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45349 { (char *)"KeyEvent_m_rawCode_get", (PyCFunction
) _wrap_KeyEvent_m_rawCode_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45350 { (char *)"KeyEvent_m_rawFlags_set", (PyCFunction
) _wrap_KeyEvent_m_rawFlags_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45351 { (char *)"KeyEvent_m_rawFlags_get", (PyCFunction
) _wrap_KeyEvent_m_rawFlags_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45352 { (char *)"KeyEvent_swigregister", KeyEvent_swigregister
, METH_VARARGS
, NULL
},
45353 { (char *)"new_SizeEvent", (PyCFunction
) _wrap_new_SizeEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45354 { (char *)"SizeEvent_GetSize", (PyCFunction
) _wrap_SizeEvent_GetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45355 { (char *)"SizeEvent_GetRect", (PyCFunction
) _wrap_SizeEvent_GetRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45356 { (char *)"SizeEvent_SetRect", (PyCFunction
) _wrap_SizeEvent_SetRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45357 { (char *)"SizeEvent_SetSize", (PyCFunction
) _wrap_SizeEvent_SetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45358 { (char *)"SizeEvent_m_size_set", (PyCFunction
) _wrap_SizeEvent_m_size_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45359 { (char *)"SizeEvent_m_size_get", (PyCFunction
) _wrap_SizeEvent_m_size_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45360 { (char *)"SizeEvent_m_rect_set", (PyCFunction
) _wrap_SizeEvent_m_rect_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45361 { (char *)"SizeEvent_m_rect_get", (PyCFunction
) _wrap_SizeEvent_m_rect_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45362 { (char *)"SizeEvent_swigregister", SizeEvent_swigregister
, METH_VARARGS
, NULL
},
45363 { (char *)"new_MoveEvent", (PyCFunction
) _wrap_new_MoveEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45364 { (char *)"MoveEvent_GetPosition", (PyCFunction
) _wrap_MoveEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45365 { (char *)"MoveEvent_GetRect", (PyCFunction
) _wrap_MoveEvent_GetRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45366 { (char *)"MoveEvent_SetRect", (PyCFunction
) _wrap_MoveEvent_SetRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45367 { (char *)"MoveEvent_SetPosition", (PyCFunction
) _wrap_MoveEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45368 { (char *)"MoveEvent_swigregister", MoveEvent_swigregister
, METH_VARARGS
, NULL
},
45369 { (char *)"new_PaintEvent", (PyCFunction
) _wrap_new_PaintEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45370 { (char *)"PaintEvent_swigregister", PaintEvent_swigregister
, METH_VARARGS
, NULL
},
45371 { (char *)"new_NcPaintEvent", (PyCFunction
) _wrap_new_NcPaintEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45372 { (char *)"NcPaintEvent_swigregister", NcPaintEvent_swigregister
, METH_VARARGS
, NULL
},
45373 { (char *)"new_EraseEvent", (PyCFunction
) _wrap_new_EraseEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45374 { (char *)"EraseEvent_GetDC", (PyCFunction
) _wrap_EraseEvent_GetDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45375 { (char *)"EraseEvent_swigregister", EraseEvent_swigregister
, METH_VARARGS
, NULL
},
45376 { (char *)"new_FocusEvent", (PyCFunction
) _wrap_new_FocusEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45377 { (char *)"FocusEvent_GetWindow", (PyCFunction
) _wrap_FocusEvent_GetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45378 { (char *)"FocusEvent_SetWindow", (PyCFunction
) _wrap_FocusEvent_SetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45379 { (char *)"FocusEvent_swigregister", FocusEvent_swigregister
, METH_VARARGS
, NULL
},
45380 { (char *)"new_ChildFocusEvent", (PyCFunction
) _wrap_new_ChildFocusEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45381 { (char *)"ChildFocusEvent_GetWindow", (PyCFunction
) _wrap_ChildFocusEvent_GetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45382 { (char *)"ChildFocusEvent_swigregister", ChildFocusEvent_swigregister
, METH_VARARGS
, NULL
},
45383 { (char *)"new_ActivateEvent", (PyCFunction
) _wrap_new_ActivateEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45384 { (char *)"ActivateEvent_GetActive", (PyCFunction
) _wrap_ActivateEvent_GetActive
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45385 { (char *)"ActivateEvent_swigregister", ActivateEvent_swigregister
, METH_VARARGS
, NULL
},
45386 { (char *)"new_InitDialogEvent", (PyCFunction
) _wrap_new_InitDialogEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45387 { (char *)"InitDialogEvent_swigregister", InitDialogEvent_swigregister
, METH_VARARGS
, NULL
},
45388 { (char *)"new_MenuEvent", (PyCFunction
) _wrap_new_MenuEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45389 { (char *)"MenuEvent_GetMenuId", (PyCFunction
) _wrap_MenuEvent_GetMenuId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45390 { (char *)"MenuEvent_IsPopup", (PyCFunction
) _wrap_MenuEvent_IsPopup
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45391 { (char *)"MenuEvent_GetMenu", (PyCFunction
) _wrap_MenuEvent_GetMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45392 { (char *)"MenuEvent_swigregister", MenuEvent_swigregister
, METH_VARARGS
, NULL
},
45393 { (char *)"new_CloseEvent", (PyCFunction
) _wrap_new_CloseEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45394 { (char *)"CloseEvent_SetLoggingOff", (PyCFunction
) _wrap_CloseEvent_SetLoggingOff
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45395 { (char *)"CloseEvent_GetLoggingOff", (PyCFunction
) _wrap_CloseEvent_GetLoggingOff
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45396 { (char *)"CloseEvent_Veto", (PyCFunction
) _wrap_CloseEvent_Veto
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45397 { (char *)"CloseEvent_SetCanVeto", (PyCFunction
) _wrap_CloseEvent_SetCanVeto
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45398 { (char *)"CloseEvent_CanVeto", (PyCFunction
) _wrap_CloseEvent_CanVeto
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45399 { (char *)"CloseEvent_GetVeto", (PyCFunction
) _wrap_CloseEvent_GetVeto
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45400 { (char *)"CloseEvent_swigregister", CloseEvent_swigregister
, METH_VARARGS
, NULL
},
45401 { (char *)"new_ShowEvent", (PyCFunction
) _wrap_new_ShowEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45402 { (char *)"ShowEvent_SetShow", (PyCFunction
) _wrap_ShowEvent_SetShow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45403 { (char *)"ShowEvent_GetShow", (PyCFunction
) _wrap_ShowEvent_GetShow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45404 { (char *)"ShowEvent_swigregister", ShowEvent_swigregister
, METH_VARARGS
, NULL
},
45405 { (char *)"new_IconizeEvent", (PyCFunction
) _wrap_new_IconizeEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45406 { (char *)"IconizeEvent_Iconized", (PyCFunction
) _wrap_IconizeEvent_Iconized
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45407 { (char *)"IconizeEvent_swigregister", IconizeEvent_swigregister
, METH_VARARGS
, NULL
},
45408 { (char *)"new_MaximizeEvent", (PyCFunction
) _wrap_new_MaximizeEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45409 { (char *)"MaximizeEvent_swigregister", MaximizeEvent_swigregister
, METH_VARARGS
, NULL
},
45410 { (char *)"DropFilesEvent_GetPosition", (PyCFunction
) _wrap_DropFilesEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45411 { (char *)"DropFilesEvent_GetNumberOfFiles", (PyCFunction
) _wrap_DropFilesEvent_GetNumberOfFiles
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45412 { (char *)"DropFilesEvent_GetFiles", (PyCFunction
) _wrap_DropFilesEvent_GetFiles
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45413 { (char *)"DropFilesEvent_swigregister", DropFilesEvent_swigregister
, METH_VARARGS
, NULL
},
45414 { (char *)"new_UpdateUIEvent", (PyCFunction
) _wrap_new_UpdateUIEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45415 { (char *)"UpdateUIEvent_GetChecked", (PyCFunction
) _wrap_UpdateUIEvent_GetChecked
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45416 { (char *)"UpdateUIEvent_GetEnabled", (PyCFunction
) _wrap_UpdateUIEvent_GetEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45417 { (char *)"UpdateUIEvent_GetText", (PyCFunction
) _wrap_UpdateUIEvent_GetText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45418 { (char *)"UpdateUIEvent_GetSetText", (PyCFunction
) _wrap_UpdateUIEvent_GetSetText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45419 { (char *)"UpdateUIEvent_GetSetChecked", (PyCFunction
) _wrap_UpdateUIEvent_GetSetChecked
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45420 { (char *)"UpdateUIEvent_GetSetEnabled", (PyCFunction
) _wrap_UpdateUIEvent_GetSetEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45421 { (char *)"UpdateUIEvent_Check", (PyCFunction
) _wrap_UpdateUIEvent_Check
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45422 { (char *)"UpdateUIEvent_Enable", (PyCFunction
) _wrap_UpdateUIEvent_Enable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45423 { (char *)"UpdateUIEvent_SetText", (PyCFunction
) _wrap_UpdateUIEvent_SetText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45424 { (char *)"UpdateUIEvent_SetUpdateInterval", (PyCFunction
) _wrap_UpdateUIEvent_SetUpdateInterval
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45425 { (char *)"UpdateUIEvent_GetUpdateInterval", (PyCFunction
) _wrap_UpdateUIEvent_GetUpdateInterval
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45426 { (char *)"UpdateUIEvent_CanUpdate", (PyCFunction
) _wrap_UpdateUIEvent_CanUpdate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45427 { (char *)"UpdateUIEvent_ResetUpdateTime", (PyCFunction
) _wrap_UpdateUIEvent_ResetUpdateTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45428 { (char *)"UpdateUIEvent_SetMode", (PyCFunction
) _wrap_UpdateUIEvent_SetMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45429 { (char *)"UpdateUIEvent_GetMode", (PyCFunction
) _wrap_UpdateUIEvent_GetMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45430 { (char *)"UpdateUIEvent_swigregister", UpdateUIEvent_swigregister
, METH_VARARGS
, NULL
},
45431 { (char *)"new_SysColourChangedEvent", (PyCFunction
) _wrap_new_SysColourChangedEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45432 { (char *)"SysColourChangedEvent_swigregister", SysColourChangedEvent_swigregister
, METH_VARARGS
, NULL
},
45433 { (char *)"new_MouseCaptureChangedEvent", (PyCFunction
) _wrap_new_MouseCaptureChangedEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45434 { (char *)"MouseCaptureChangedEvent_GetCapturedWindow", (PyCFunction
) _wrap_MouseCaptureChangedEvent_GetCapturedWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45435 { (char *)"MouseCaptureChangedEvent_swigregister", MouseCaptureChangedEvent_swigregister
, METH_VARARGS
, NULL
},
45436 { (char *)"new_DisplayChangedEvent", (PyCFunction
) _wrap_new_DisplayChangedEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45437 { (char *)"DisplayChangedEvent_swigregister", DisplayChangedEvent_swigregister
, METH_VARARGS
, NULL
},
45438 { (char *)"new_PaletteChangedEvent", (PyCFunction
) _wrap_new_PaletteChangedEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45439 { (char *)"PaletteChangedEvent_SetChangedWindow", (PyCFunction
) _wrap_PaletteChangedEvent_SetChangedWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45440 { (char *)"PaletteChangedEvent_GetChangedWindow", (PyCFunction
) _wrap_PaletteChangedEvent_GetChangedWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45441 { (char *)"PaletteChangedEvent_swigregister", PaletteChangedEvent_swigregister
, METH_VARARGS
, NULL
},
45442 { (char *)"new_QueryNewPaletteEvent", (PyCFunction
) _wrap_new_QueryNewPaletteEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45443 { (char *)"QueryNewPaletteEvent_SetPaletteRealized", (PyCFunction
) _wrap_QueryNewPaletteEvent_SetPaletteRealized
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45444 { (char *)"QueryNewPaletteEvent_GetPaletteRealized", (PyCFunction
) _wrap_QueryNewPaletteEvent_GetPaletteRealized
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45445 { (char *)"QueryNewPaletteEvent_swigregister", QueryNewPaletteEvent_swigregister
, METH_VARARGS
, NULL
},
45446 { (char *)"new_NavigationKeyEvent", (PyCFunction
) _wrap_new_NavigationKeyEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45447 { (char *)"NavigationKeyEvent_GetDirection", (PyCFunction
) _wrap_NavigationKeyEvent_GetDirection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45448 { (char *)"NavigationKeyEvent_SetDirection", (PyCFunction
) _wrap_NavigationKeyEvent_SetDirection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45449 { (char *)"NavigationKeyEvent_IsWindowChange", (PyCFunction
) _wrap_NavigationKeyEvent_IsWindowChange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45450 { (char *)"NavigationKeyEvent_SetWindowChange", (PyCFunction
) _wrap_NavigationKeyEvent_SetWindowChange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45451 { (char *)"NavigationKeyEvent_IsFromTab", (PyCFunction
) _wrap_NavigationKeyEvent_IsFromTab
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45452 { (char *)"NavigationKeyEvent_SetFromTab", (PyCFunction
) _wrap_NavigationKeyEvent_SetFromTab
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45453 { (char *)"NavigationKeyEvent_SetFlags", (PyCFunction
) _wrap_NavigationKeyEvent_SetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45454 { (char *)"NavigationKeyEvent_GetCurrentFocus", (PyCFunction
) _wrap_NavigationKeyEvent_GetCurrentFocus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45455 { (char *)"NavigationKeyEvent_SetCurrentFocus", (PyCFunction
) _wrap_NavigationKeyEvent_SetCurrentFocus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45456 { (char *)"NavigationKeyEvent_swigregister", NavigationKeyEvent_swigregister
, METH_VARARGS
, NULL
},
45457 { (char *)"new_WindowCreateEvent", (PyCFunction
) _wrap_new_WindowCreateEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45458 { (char *)"WindowCreateEvent_GetWindow", (PyCFunction
) _wrap_WindowCreateEvent_GetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45459 { (char *)"WindowCreateEvent_swigregister", WindowCreateEvent_swigregister
, METH_VARARGS
, NULL
},
45460 { (char *)"new_WindowDestroyEvent", (PyCFunction
) _wrap_new_WindowDestroyEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45461 { (char *)"WindowDestroyEvent_GetWindow", (PyCFunction
) _wrap_WindowDestroyEvent_GetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45462 { (char *)"WindowDestroyEvent_swigregister", WindowDestroyEvent_swigregister
, METH_VARARGS
, NULL
},
45463 { (char *)"new_ContextMenuEvent", (PyCFunction
) _wrap_new_ContextMenuEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45464 { (char *)"ContextMenuEvent_GetPosition", (PyCFunction
) _wrap_ContextMenuEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45465 { (char *)"ContextMenuEvent_SetPosition", (PyCFunction
) _wrap_ContextMenuEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45466 { (char *)"ContextMenuEvent_swigregister", ContextMenuEvent_swigregister
, METH_VARARGS
, NULL
},
45467 { (char *)"new_IdleEvent", (PyCFunction
) _wrap_new_IdleEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45468 { (char *)"IdleEvent_RequestMore", (PyCFunction
) _wrap_IdleEvent_RequestMore
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45469 { (char *)"IdleEvent_MoreRequested", (PyCFunction
) _wrap_IdleEvent_MoreRequested
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45470 { (char *)"IdleEvent_SetMode", (PyCFunction
) _wrap_IdleEvent_SetMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45471 { (char *)"IdleEvent_GetMode", (PyCFunction
) _wrap_IdleEvent_GetMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45472 { (char *)"IdleEvent_CanSend", (PyCFunction
) _wrap_IdleEvent_CanSend
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45473 { (char *)"IdleEvent_swigregister", IdleEvent_swigregister
, METH_VARARGS
, NULL
},
45474 { (char *)"new_PyEvent", (PyCFunction
) _wrap_new_PyEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45475 { (char *)"delete_PyEvent", (PyCFunction
) _wrap_delete_PyEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45476 { (char *)"PyEvent_SetSelf", (PyCFunction
) _wrap_PyEvent_SetSelf
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45477 { (char *)"PyEvent_GetSelf", (PyCFunction
) _wrap_PyEvent_GetSelf
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45478 { (char *)"PyEvent_swigregister", PyEvent_swigregister
, METH_VARARGS
, NULL
},
45479 { (char *)"new_PyCommandEvent", (PyCFunction
) _wrap_new_PyCommandEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45480 { (char *)"delete_PyCommandEvent", (PyCFunction
) _wrap_delete_PyCommandEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45481 { (char *)"PyCommandEvent_SetSelf", (PyCFunction
) _wrap_PyCommandEvent_SetSelf
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45482 { (char *)"PyCommandEvent_GetSelf", (PyCFunction
) _wrap_PyCommandEvent_GetSelf
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45483 { (char *)"PyCommandEvent_swigregister", PyCommandEvent_swigregister
, METH_VARARGS
, NULL
},
45484 { (char *)"new_DateEvent", (PyCFunction
) _wrap_new_DateEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45485 { (char *)"DateEvent_GetDate", (PyCFunction
) _wrap_DateEvent_GetDate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45486 { (char *)"DateEvent_SetDate", (PyCFunction
) _wrap_DateEvent_SetDate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45487 { (char *)"DateEvent_swigregister", DateEvent_swigregister
, METH_VARARGS
, NULL
},
45488 { (char *)"new_PyApp", (PyCFunction
) _wrap_new_PyApp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45489 { (char *)"delete_PyApp", (PyCFunction
) _wrap_delete_PyApp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45490 { (char *)"PyApp__setCallbackInfo", (PyCFunction
) _wrap_PyApp__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45491 { (char *)"PyApp_GetAppName", (PyCFunction
) _wrap_PyApp_GetAppName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45492 { (char *)"PyApp_SetAppName", (PyCFunction
) _wrap_PyApp_SetAppName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45493 { (char *)"PyApp_GetClassName", (PyCFunction
) _wrap_PyApp_GetClassName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45494 { (char *)"PyApp_SetClassName", (PyCFunction
) _wrap_PyApp_SetClassName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45495 { (char *)"PyApp_GetVendorName", (PyCFunction
) _wrap_PyApp_GetVendorName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45496 { (char *)"PyApp_SetVendorName", (PyCFunction
) _wrap_PyApp_SetVendorName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45497 { (char *)"PyApp_GetTraits", (PyCFunction
) _wrap_PyApp_GetTraits
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45498 { (char *)"PyApp_ProcessPendingEvents", (PyCFunction
) _wrap_PyApp_ProcessPendingEvents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45499 { (char *)"PyApp_Yield", (PyCFunction
) _wrap_PyApp_Yield
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45500 { (char *)"PyApp_WakeUpIdle", (PyCFunction
) _wrap_PyApp_WakeUpIdle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45501 { (char *)"PyApp_IsMainLoopRunning", (PyCFunction
) _wrap_PyApp_IsMainLoopRunning
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45502 { (char *)"PyApp_MainLoop", (PyCFunction
) _wrap_PyApp_MainLoop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45503 { (char *)"PyApp_Exit", (PyCFunction
) _wrap_PyApp_Exit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45504 { (char *)"PyApp_ExitMainLoop", (PyCFunction
) _wrap_PyApp_ExitMainLoop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45505 { (char *)"PyApp_Pending", (PyCFunction
) _wrap_PyApp_Pending
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45506 { (char *)"PyApp_Dispatch", (PyCFunction
) _wrap_PyApp_Dispatch
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45507 { (char *)"PyApp_ProcessIdle", (PyCFunction
) _wrap_PyApp_ProcessIdle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45508 { (char *)"PyApp_SendIdleEvents", (PyCFunction
) _wrap_PyApp_SendIdleEvents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45509 { (char *)"PyApp_IsActive", (PyCFunction
) _wrap_PyApp_IsActive
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45510 { (char *)"PyApp_SetTopWindow", (PyCFunction
) _wrap_PyApp_SetTopWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45511 { (char *)"PyApp_GetTopWindow", (PyCFunction
) _wrap_PyApp_GetTopWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45512 { (char *)"PyApp_SetExitOnFrameDelete", (PyCFunction
) _wrap_PyApp_SetExitOnFrameDelete
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45513 { (char *)"PyApp_GetExitOnFrameDelete", (PyCFunction
) _wrap_PyApp_GetExitOnFrameDelete
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45514 { (char *)"PyApp_SetUseBestVisual", (PyCFunction
) _wrap_PyApp_SetUseBestVisual
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45515 { (char *)"PyApp_GetUseBestVisual", (PyCFunction
) _wrap_PyApp_GetUseBestVisual
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45516 { (char *)"PyApp_SetPrintMode", (PyCFunction
) _wrap_PyApp_SetPrintMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45517 { (char *)"PyApp_GetPrintMode", (PyCFunction
) _wrap_PyApp_GetPrintMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45518 { (char *)"PyApp_SetAssertMode", (PyCFunction
) _wrap_PyApp_SetAssertMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45519 { (char *)"PyApp_GetAssertMode", (PyCFunction
) _wrap_PyApp_GetAssertMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45520 { (char *)"PyApp_GetMacSupportPCMenuShortcuts", (PyCFunction
) _wrap_PyApp_GetMacSupportPCMenuShortcuts
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45521 { (char *)"PyApp_GetMacAboutMenuItemId", (PyCFunction
) _wrap_PyApp_GetMacAboutMenuItemId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45522 { (char *)"PyApp_GetMacPreferencesMenuItemId", (PyCFunction
) _wrap_PyApp_GetMacPreferencesMenuItemId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45523 { (char *)"PyApp_GetMacExitMenuItemId", (PyCFunction
) _wrap_PyApp_GetMacExitMenuItemId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45524 { (char *)"PyApp_GetMacHelpMenuTitleName", (PyCFunction
) _wrap_PyApp_GetMacHelpMenuTitleName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45525 { (char *)"PyApp_SetMacSupportPCMenuShortcuts", (PyCFunction
) _wrap_PyApp_SetMacSupportPCMenuShortcuts
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45526 { (char *)"PyApp_SetMacAboutMenuItemId", (PyCFunction
) _wrap_PyApp_SetMacAboutMenuItemId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45527 { (char *)"PyApp_SetMacPreferencesMenuItemId", (PyCFunction
) _wrap_PyApp_SetMacPreferencesMenuItemId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45528 { (char *)"PyApp_SetMacExitMenuItemId", (PyCFunction
) _wrap_PyApp_SetMacExitMenuItemId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45529 { (char *)"PyApp_SetMacHelpMenuTitleName", (PyCFunction
) _wrap_PyApp_SetMacHelpMenuTitleName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45530 { (char *)"PyApp__BootstrapApp", (PyCFunction
) _wrap_PyApp__BootstrapApp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45531 { (char *)"PyApp_GetComCtl32Version", (PyCFunction
) _wrap_PyApp_GetComCtl32Version
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45532 { (char *)"PyApp_swigregister", PyApp_swigregister
, METH_VARARGS
, NULL
},
45533 { (char *)"Exit", (PyCFunction
) _wrap_Exit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45534 { (char *)"Yield", (PyCFunction
) _wrap_Yield
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45535 { (char *)"YieldIfNeeded", (PyCFunction
) _wrap_YieldIfNeeded
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45536 { (char *)"SafeYield", (PyCFunction
) _wrap_SafeYield
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45537 { (char *)"WakeUpIdle", (PyCFunction
) _wrap_WakeUpIdle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45538 { (char *)"PostEvent", (PyCFunction
) _wrap_PostEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45539 { (char *)"App_CleanUp", (PyCFunction
) _wrap_App_CleanUp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45540 { (char *)"GetApp", (PyCFunction
) _wrap_GetApp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45541 { (char *)"SetDefaultPyEncoding", (PyCFunction
) _wrap_SetDefaultPyEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45542 { (char *)"GetDefaultPyEncoding", (PyCFunction
) _wrap_GetDefaultPyEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45543 { (char *)"new_EventLoop", (PyCFunction
) _wrap_new_EventLoop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45544 { (char *)"delete_EventLoop", (PyCFunction
) _wrap_delete_EventLoop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45545 { (char *)"EventLoop_Run", (PyCFunction
) _wrap_EventLoop_Run
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45546 { (char *)"EventLoop_Exit", (PyCFunction
) _wrap_EventLoop_Exit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45547 { (char *)"EventLoop_Pending", (PyCFunction
) _wrap_EventLoop_Pending
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45548 { (char *)"EventLoop_Dispatch", (PyCFunction
) _wrap_EventLoop_Dispatch
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45549 { (char *)"EventLoop_IsRunning", (PyCFunction
) _wrap_EventLoop_IsRunning
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45550 { (char *)"EventLoop_GetActive", (PyCFunction
) _wrap_EventLoop_GetActive
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45551 { (char *)"EventLoop_SetActive", (PyCFunction
) _wrap_EventLoop_SetActive
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45552 { (char *)"EventLoop_swigregister", EventLoop_swigregister
, METH_VARARGS
, NULL
},
45553 { (char *)"new_AcceleratorEntry", (PyCFunction
) _wrap_new_AcceleratorEntry
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45554 { (char *)"delete_AcceleratorEntry", (PyCFunction
) _wrap_delete_AcceleratorEntry
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45555 { (char *)"AcceleratorEntry_Set", (PyCFunction
) _wrap_AcceleratorEntry_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45556 { (char *)"AcceleratorEntry_GetFlags", (PyCFunction
) _wrap_AcceleratorEntry_GetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45557 { (char *)"AcceleratorEntry_GetKeyCode", (PyCFunction
) _wrap_AcceleratorEntry_GetKeyCode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45558 { (char *)"AcceleratorEntry_GetCommand", (PyCFunction
) _wrap_AcceleratorEntry_GetCommand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45559 { (char *)"AcceleratorEntry_swigregister", AcceleratorEntry_swigregister
, METH_VARARGS
, NULL
},
45560 { (char *)"new_AcceleratorTable", (PyCFunction
) _wrap_new_AcceleratorTable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45561 { (char *)"delete_AcceleratorTable", (PyCFunction
) _wrap_delete_AcceleratorTable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45562 { (char *)"AcceleratorTable_Ok", (PyCFunction
) _wrap_AcceleratorTable_Ok
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45563 { (char *)"AcceleratorTable_swigregister", AcceleratorTable_swigregister
, METH_VARARGS
, NULL
},
45564 { (char *)"GetAccelFromString", (PyCFunction
) _wrap_GetAccelFromString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45565 { (char *)"new_VisualAttributes", (PyCFunction
) _wrap_new_VisualAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45566 { (char *)"delete_VisualAttributes", (PyCFunction
) _wrap_delete_VisualAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45567 { (char *)"VisualAttributes_font_set", (PyCFunction
) _wrap_VisualAttributes_font_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45568 { (char *)"VisualAttributes_font_get", (PyCFunction
) _wrap_VisualAttributes_font_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45569 { (char *)"VisualAttributes_colFg_set", (PyCFunction
) _wrap_VisualAttributes_colFg_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45570 { (char *)"VisualAttributes_colFg_get", (PyCFunction
) _wrap_VisualAttributes_colFg_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45571 { (char *)"VisualAttributes_colBg_set", (PyCFunction
) _wrap_VisualAttributes_colBg_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45572 { (char *)"VisualAttributes_colBg_get", (PyCFunction
) _wrap_VisualAttributes_colBg_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45573 { (char *)"VisualAttributes_swigregister", VisualAttributes_swigregister
, METH_VARARGS
, NULL
},
45574 { (char *)"new_Window", (PyCFunction
) _wrap_new_Window
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45575 { (char *)"new_PreWindow", (PyCFunction
) _wrap_new_PreWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45576 { (char *)"Window_Create", (PyCFunction
) _wrap_Window_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45577 { (char *)"Window_Close", (PyCFunction
) _wrap_Window_Close
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45578 { (char *)"Window_Destroy", (PyCFunction
) _wrap_Window_Destroy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45579 { (char *)"Window_DestroyChildren", (PyCFunction
) _wrap_Window_DestroyChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45580 { (char *)"Window_IsBeingDeleted", (PyCFunction
) _wrap_Window_IsBeingDeleted
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45581 { (char *)"Window_SetTitle", (PyCFunction
) _wrap_Window_SetTitle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45582 { (char *)"Window_GetTitle", (PyCFunction
) _wrap_Window_GetTitle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45583 { (char *)"Window_SetLabel", (PyCFunction
) _wrap_Window_SetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45584 { (char *)"Window_GetLabel", (PyCFunction
) _wrap_Window_GetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45585 { (char *)"Window_SetName", (PyCFunction
) _wrap_Window_SetName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45586 { (char *)"Window_GetName", (PyCFunction
) _wrap_Window_GetName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45587 { (char *)"Window_SetWindowVariant", (PyCFunction
) _wrap_Window_SetWindowVariant
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45588 { (char *)"Window_GetWindowVariant", (PyCFunction
) _wrap_Window_GetWindowVariant
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45589 { (char *)"Window_SetId", (PyCFunction
) _wrap_Window_SetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45590 { (char *)"Window_GetId", (PyCFunction
) _wrap_Window_GetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45591 { (char *)"Window_NewControlId", (PyCFunction
) _wrap_Window_NewControlId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45592 { (char *)"Window_NextControlId", (PyCFunction
) _wrap_Window_NextControlId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45593 { (char *)"Window_PrevControlId", (PyCFunction
) _wrap_Window_PrevControlId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45594 { (char *)"Window_SetSize", (PyCFunction
) _wrap_Window_SetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45595 { (char *)"Window_SetDimensions", (PyCFunction
) _wrap_Window_SetDimensions
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45596 { (char *)"Window_SetRect", (PyCFunction
) _wrap_Window_SetRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45597 { (char *)"Window_SetSizeWH", (PyCFunction
) _wrap_Window_SetSizeWH
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45598 { (char *)"Window_Move", (PyCFunction
) _wrap_Window_Move
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45599 { (char *)"Window_MoveXY", (PyCFunction
) _wrap_Window_MoveXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45600 { (char *)"Window_SetBestFittingSize", (PyCFunction
) _wrap_Window_SetBestFittingSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45601 { (char *)"Window_Raise", (PyCFunction
) _wrap_Window_Raise
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45602 { (char *)"Window_Lower", (PyCFunction
) _wrap_Window_Lower
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45603 { (char *)"Window_SetClientSize", (PyCFunction
) _wrap_Window_SetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45604 { (char *)"Window_SetClientSizeWH", (PyCFunction
) _wrap_Window_SetClientSizeWH
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45605 { (char *)"Window_SetClientRect", (PyCFunction
) _wrap_Window_SetClientRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45606 { (char *)"Window_GetPosition", (PyCFunction
) _wrap_Window_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45607 { (char *)"Window_GetPositionTuple", (PyCFunction
) _wrap_Window_GetPositionTuple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45608 { (char *)"Window_GetSize", (PyCFunction
) _wrap_Window_GetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45609 { (char *)"Window_GetSizeTuple", (PyCFunction
) _wrap_Window_GetSizeTuple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45610 { (char *)"Window_GetRect", (PyCFunction
) _wrap_Window_GetRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45611 { (char *)"Window_GetClientSize", (PyCFunction
) _wrap_Window_GetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45612 { (char *)"Window_GetClientSizeTuple", (PyCFunction
) _wrap_Window_GetClientSizeTuple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45613 { (char *)"Window_GetClientAreaOrigin", (PyCFunction
) _wrap_Window_GetClientAreaOrigin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45614 { (char *)"Window_GetClientRect", (PyCFunction
) _wrap_Window_GetClientRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45615 { (char *)"Window_GetBestSize", (PyCFunction
) _wrap_Window_GetBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45616 { (char *)"Window_GetBestSizeTuple", (PyCFunction
) _wrap_Window_GetBestSizeTuple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45617 { (char *)"Window_InvalidateBestSize", (PyCFunction
) _wrap_Window_InvalidateBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45618 { (char *)"Window_GetBestFittingSize", (PyCFunction
) _wrap_Window_GetBestFittingSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45619 { (char *)"Window_GetAdjustedBestSize", (PyCFunction
) _wrap_Window_GetAdjustedBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45620 { (char *)"Window_Center", (PyCFunction
) _wrap_Window_Center
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45621 { (char *)"Window_CenterOnScreen", (PyCFunction
) _wrap_Window_CenterOnScreen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45622 { (char *)"Window_CenterOnParent", (PyCFunction
) _wrap_Window_CenterOnParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45623 { (char *)"Window_Fit", (PyCFunction
) _wrap_Window_Fit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45624 { (char *)"Window_FitInside", (PyCFunction
) _wrap_Window_FitInside
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45625 { (char *)"Window_SetSizeHints", (PyCFunction
) _wrap_Window_SetSizeHints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45626 { (char *)"Window_SetSizeHintsSz", (PyCFunction
) _wrap_Window_SetSizeHintsSz
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45627 { (char *)"Window_SetVirtualSizeHints", (PyCFunction
) _wrap_Window_SetVirtualSizeHints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45628 { (char *)"Window_SetVirtualSizeHintsSz", (PyCFunction
) _wrap_Window_SetVirtualSizeHintsSz
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45629 { (char *)"Window_GetMaxSize", (PyCFunction
) _wrap_Window_GetMaxSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45630 { (char *)"Window_GetMinSize", (PyCFunction
) _wrap_Window_GetMinSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45631 { (char *)"Window_SetMinSize", (PyCFunction
) _wrap_Window_SetMinSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45632 { (char *)"Window_SetMaxSize", (PyCFunction
) _wrap_Window_SetMaxSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45633 { (char *)"Window_GetMinWidth", (PyCFunction
) _wrap_Window_GetMinWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45634 { (char *)"Window_GetMinHeight", (PyCFunction
) _wrap_Window_GetMinHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45635 { (char *)"Window_GetMaxWidth", (PyCFunction
) _wrap_Window_GetMaxWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45636 { (char *)"Window_GetMaxHeight", (PyCFunction
) _wrap_Window_GetMaxHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45637 { (char *)"Window_SetVirtualSize", (PyCFunction
) _wrap_Window_SetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45638 { (char *)"Window_SetVirtualSizeWH", (PyCFunction
) _wrap_Window_SetVirtualSizeWH
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45639 { (char *)"Window_GetVirtualSize", (PyCFunction
) _wrap_Window_GetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45640 { (char *)"Window_GetVirtualSizeTuple", (PyCFunction
) _wrap_Window_GetVirtualSizeTuple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45641 { (char *)"Window_GetBestVirtualSize", (PyCFunction
) _wrap_Window_GetBestVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45642 { (char *)"Window_Show", (PyCFunction
) _wrap_Window_Show
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45643 { (char *)"Window_Hide", (PyCFunction
) _wrap_Window_Hide
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45644 { (char *)"Window_Enable", (PyCFunction
) _wrap_Window_Enable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45645 { (char *)"Window_Disable", (PyCFunction
) _wrap_Window_Disable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45646 { (char *)"Window_IsShown", (PyCFunction
) _wrap_Window_IsShown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45647 { (char *)"Window_IsEnabled", (PyCFunction
) _wrap_Window_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45648 { (char *)"Window_SetWindowStyleFlag", (PyCFunction
) _wrap_Window_SetWindowStyleFlag
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45649 { (char *)"Window_GetWindowStyleFlag", (PyCFunction
) _wrap_Window_GetWindowStyleFlag
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45650 { (char *)"Window_HasFlag", (PyCFunction
) _wrap_Window_HasFlag
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45651 { (char *)"Window_IsRetained", (PyCFunction
) _wrap_Window_IsRetained
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45652 { (char *)"Window_SetExtraStyle", (PyCFunction
) _wrap_Window_SetExtraStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45653 { (char *)"Window_GetExtraStyle", (PyCFunction
) _wrap_Window_GetExtraStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45654 { (char *)"Window_MakeModal", (PyCFunction
) _wrap_Window_MakeModal
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45655 { (char *)"Window_SetThemeEnabled", (PyCFunction
) _wrap_Window_SetThemeEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45656 { (char *)"Window_GetThemeEnabled", (PyCFunction
) _wrap_Window_GetThemeEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45657 { (char *)"Window_SetFocus", (PyCFunction
) _wrap_Window_SetFocus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45658 { (char *)"Window_SetFocusFromKbd", (PyCFunction
) _wrap_Window_SetFocusFromKbd
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45659 { (char *)"Window_FindFocus", (PyCFunction
) _wrap_Window_FindFocus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45660 { (char *)"Window_AcceptsFocus", (PyCFunction
) _wrap_Window_AcceptsFocus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45661 { (char *)"Window_AcceptsFocusFromKeyboard", (PyCFunction
) _wrap_Window_AcceptsFocusFromKeyboard
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45662 { (char *)"Window_GetDefaultItem", (PyCFunction
) _wrap_Window_GetDefaultItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45663 { (char *)"Window_SetDefaultItem", (PyCFunction
) _wrap_Window_SetDefaultItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45664 { (char *)"Window_SetTmpDefaultItem", (PyCFunction
) _wrap_Window_SetTmpDefaultItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45665 { (char *)"Window_Navigate", (PyCFunction
) _wrap_Window_Navigate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45666 { (char *)"Window_MoveAfterInTabOrder", (PyCFunction
) _wrap_Window_MoveAfterInTabOrder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45667 { (char *)"Window_MoveBeforeInTabOrder", (PyCFunction
) _wrap_Window_MoveBeforeInTabOrder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45668 { (char *)"Window_GetChildren", (PyCFunction
) _wrap_Window_GetChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45669 { (char *)"Window_GetParent", (PyCFunction
) _wrap_Window_GetParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45670 { (char *)"Window_GetGrandParent", (PyCFunction
) _wrap_Window_GetGrandParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45671 { (char *)"Window_IsTopLevel", (PyCFunction
) _wrap_Window_IsTopLevel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45672 { (char *)"Window_Reparent", (PyCFunction
) _wrap_Window_Reparent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45673 { (char *)"Window_AddChild", (PyCFunction
) _wrap_Window_AddChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45674 { (char *)"Window_RemoveChild", (PyCFunction
) _wrap_Window_RemoveChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45675 { (char *)"Window_FindWindowById", (PyCFunction
) _wrap_Window_FindWindowById
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45676 { (char *)"Window_FindWindowByName", (PyCFunction
) _wrap_Window_FindWindowByName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45677 { (char *)"Window_GetEventHandler", (PyCFunction
) _wrap_Window_GetEventHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45678 { (char *)"Window_SetEventHandler", (PyCFunction
) _wrap_Window_SetEventHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45679 { (char *)"Window_PushEventHandler", (PyCFunction
) _wrap_Window_PushEventHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45680 { (char *)"Window_PopEventHandler", (PyCFunction
) _wrap_Window_PopEventHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45681 { (char *)"Window_RemoveEventHandler", (PyCFunction
) _wrap_Window_RemoveEventHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45682 { (char *)"Window_SetValidator", (PyCFunction
) _wrap_Window_SetValidator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45683 { (char *)"Window_GetValidator", (PyCFunction
) _wrap_Window_GetValidator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45684 { (char *)"Window_Validate", (PyCFunction
) _wrap_Window_Validate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45685 { (char *)"Window_TransferDataToWindow", (PyCFunction
) _wrap_Window_TransferDataToWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45686 { (char *)"Window_TransferDataFromWindow", (PyCFunction
) _wrap_Window_TransferDataFromWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45687 { (char *)"Window_InitDialog", (PyCFunction
) _wrap_Window_InitDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45688 { (char *)"Window_SetAcceleratorTable", (PyCFunction
) _wrap_Window_SetAcceleratorTable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45689 { (char *)"Window_GetAcceleratorTable", (PyCFunction
) _wrap_Window_GetAcceleratorTable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45690 { (char *)"Window_RegisterHotKey", (PyCFunction
) _wrap_Window_RegisterHotKey
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45691 { (char *)"Window_UnregisterHotKey", (PyCFunction
) _wrap_Window_UnregisterHotKey
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45692 { (char *)"Window_ConvertDialogPointToPixels", (PyCFunction
) _wrap_Window_ConvertDialogPointToPixels
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45693 { (char *)"Window_ConvertDialogSizeToPixels", (PyCFunction
) _wrap_Window_ConvertDialogSizeToPixels
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45694 { (char *)"Window_DLG_PNT", (PyCFunction
) _wrap_Window_DLG_PNT
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45695 { (char *)"Window_DLG_SZE", (PyCFunction
) _wrap_Window_DLG_SZE
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45696 { (char *)"Window_ConvertPixelPointToDialog", (PyCFunction
) _wrap_Window_ConvertPixelPointToDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45697 { (char *)"Window_ConvertPixelSizeToDialog", (PyCFunction
) _wrap_Window_ConvertPixelSizeToDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45698 { (char *)"Window_WarpPointer", (PyCFunction
) _wrap_Window_WarpPointer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45699 { (char *)"Window_CaptureMouse", (PyCFunction
) _wrap_Window_CaptureMouse
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45700 { (char *)"Window_ReleaseMouse", (PyCFunction
) _wrap_Window_ReleaseMouse
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45701 { (char *)"Window_GetCapture", (PyCFunction
) _wrap_Window_GetCapture
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45702 { (char *)"Window_HasCapture", (PyCFunction
) _wrap_Window_HasCapture
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45703 { (char *)"Window_Refresh", (PyCFunction
) _wrap_Window_Refresh
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45704 { (char *)"Window_RefreshRect", (PyCFunction
) _wrap_Window_RefreshRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45705 { (char *)"Window_Update", (PyCFunction
) _wrap_Window_Update
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45706 { (char *)"Window_ClearBackground", (PyCFunction
) _wrap_Window_ClearBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45707 { (char *)"Window_Freeze", (PyCFunction
) _wrap_Window_Freeze
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45708 { (char *)"Window_Thaw", (PyCFunction
) _wrap_Window_Thaw
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45709 { (char *)"Window_PrepareDC", (PyCFunction
) _wrap_Window_PrepareDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45710 { (char *)"Window_GetUpdateRegion", (PyCFunction
) _wrap_Window_GetUpdateRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45711 { (char *)"Window_GetUpdateClientRect", (PyCFunction
) _wrap_Window_GetUpdateClientRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45712 { (char *)"Window_IsExposed", (PyCFunction
) _wrap_Window_IsExposed
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45713 { (char *)"Window_IsExposedPoint", (PyCFunction
) _wrap_Window_IsExposedPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45714 { (char *)"Window_IsExposedRect", (PyCFunction
) _wrap_Window_IsExposedRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45715 { (char *)"Window_GetDefaultAttributes", (PyCFunction
) _wrap_Window_GetDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45716 { (char *)"Window_GetClassDefaultAttributes", (PyCFunction
) _wrap_Window_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45717 { (char *)"Window_SetBackgroundColour", (PyCFunction
) _wrap_Window_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45718 { (char *)"Window_SetOwnBackgroundColour", (PyCFunction
) _wrap_Window_SetOwnBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45719 { (char *)"Window_SetForegroundColour", (PyCFunction
) _wrap_Window_SetForegroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45720 { (char *)"Window_SetOwnForegroundColour", (PyCFunction
) _wrap_Window_SetOwnForegroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45721 { (char *)"Window_GetBackgroundColour", (PyCFunction
) _wrap_Window_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45722 { (char *)"Window_GetForegroundColour", (PyCFunction
) _wrap_Window_GetForegroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45723 { (char *)"Window_InheritsBackgroundColour", (PyCFunction
) _wrap_Window_InheritsBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45724 { (char *)"Window_UseBgCol", (PyCFunction
) _wrap_Window_UseBgCol
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45725 { (char *)"Window_SetBackgroundStyle", (PyCFunction
) _wrap_Window_SetBackgroundStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45726 { (char *)"Window_GetBackgroundStyle", (PyCFunction
) _wrap_Window_GetBackgroundStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45727 { (char *)"Window_HasTransparentBackground", (PyCFunction
) _wrap_Window_HasTransparentBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45728 { (char *)"Window_SetCursor", (PyCFunction
) _wrap_Window_SetCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45729 { (char *)"Window_GetCursor", (PyCFunction
) _wrap_Window_GetCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45730 { (char *)"Window_SetFont", (PyCFunction
) _wrap_Window_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45731 { (char *)"Window_SetOwnFont", (PyCFunction
) _wrap_Window_SetOwnFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45732 { (char *)"Window_GetFont", (PyCFunction
) _wrap_Window_GetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45733 { (char *)"Window_SetCaret", (PyCFunction
) _wrap_Window_SetCaret
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45734 { (char *)"Window_GetCaret", (PyCFunction
) _wrap_Window_GetCaret
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45735 { (char *)"Window_GetCharHeight", (PyCFunction
) _wrap_Window_GetCharHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45736 { (char *)"Window_GetCharWidth", (PyCFunction
) _wrap_Window_GetCharWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45737 { (char *)"Window_GetTextExtent", (PyCFunction
) _wrap_Window_GetTextExtent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45738 { (char *)"Window_GetFullTextExtent", (PyCFunction
) _wrap_Window_GetFullTextExtent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45739 { (char *)"Window_ClientToScreenXY", (PyCFunction
) _wrap_Window_ClientToScreenXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45740 { (char *)"Window_ScreenToClientXY", (PyCFunction
) _wrap_Window_ScreenToClientXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45741 { (char *)"Window_ClientToScreen", (PyCFunction
) _wrap_Window_ClientToScreen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45742 { (char *)"Window_ScreenToClient", (PyCFunction
) _wrap_Window_ScreenToClient
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45743 { (char *)"Window_HitTestXY", (PyCFunction
) _wrap_Window_HitTestXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45744 { (char *)"Window_HitTest", (PyCFunction
) _wrap_Window_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45745 { (char *)"Window_GetBorder", _wrap_Window_GetBorder
, METH_VARARGS
, NULL
},
45746 { (char *)"Window_UpdateWindowUI", (PyCFunction
) _wrap_Window_UpdateWindowUI
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45747 { (char *)"Window_PopupMenuXY", (PyCFunction
) _wrap_Window_PopupMenuXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45748 { (char *)"Window_PopupMenu", (PyCFunction
) _wrap_Window_PopupMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45749 { (char *)"Window_GetHandle", (PyCFunction
) _wrap_Window_GetHandle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45750 { (char *)"Window_AssociateHandle", (PyCFunction
) _wrap_Window_AssociateHandle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45751 { (char *)"Window_DissociateHandle", (PyCFunction
) _wrap_Window_DissociateHandle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45752 { (char *)"Window_OnPaint", (PyCFunction
) _wrap_Window_OnPaint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45753 { (char *)"Window_HasScrollbar", (PyCFunction
) _wrap_Window_HasScrollbar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45754 { (char *)"Window_SetScrollbar", (PyCFunction
) _wrap_Window_SetScrollbar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45755 { (char *)"Window_SetScrollPos", (PyCFunction
) _wrap_Window_SetScrollPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45756 { (char *)"Window_GetScrollPos", (PyCFunction
) _wrap_Window_GetScrollPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45757 { (char *)"Window_GetScrollThumb", (PyCFunction
) _wrap_Window_GetScrollThumb
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45758 { (char *)"Window_GetScrollRange", (PyCFunction
) _wrap_Window_GetScrollRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45759 { (char *)"Window_ScrollWindow", (PyCFunction
) _wrap_Window_ScrollWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45760 { (char *)"Window_ScrollLines", (PyCFunction
) _wrap_Window_ScrollLines
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45761 { (char *)"Window_ScrollPages", (PyCFunction
) _wrap_Window_ScrollPages
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45762 { (char *)"Window_LineUp", (PyCFunction
) _wrap_Window_LineUp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45763 { (char *)"Window_LineDown", (PyCFunction
) _wrap_Window_LineDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45764 { (char *)"Window_PageUp", (PyCFunction
) _wrap_Window_PageUp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45765 { (char *)"Window_PageDown", (PyCFunction
) _wrap_Window_PageDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45766 { (char *)"Window_SetHelpText", (PyCFunction
) _wrap_Window_SetHelpText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45767 { (char *)"Window_SetHelpTextForId", (PyCFunction
) _wrap_Window_SetHelpTextForId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45768 { (char *)"Window_GetHelpText", (PyCFunction
) _wrap_Window_GetHelpText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45769 { (char *)"Window_SetToolTipString", (PyCFunction
) _wrap_Window_SetToolTipString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45770 { (char *)"Window_SetToolTip", (PyCFunction
) _wrap_Window_SetToolTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45771 { (char *)"Window_GetToolTip", (PyCFunction
) _wrap_Window_GetToolTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45772 { (char *)"Window_SetDropTarget", (PyCFunction
) _wrap_Window_SetDropTarget
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45773 { (char *)"Window_GetDropTarget", (PyCFunction
) _wrap_Window_GetDropTarget
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45774 { (char *)"Window_DragAcceptFiles", (PyCFunction
) _wrap_Window_DragAcceptFiles
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45775 { (char *)"Window_SetConstraints", (PyCFunction
) _wrap_Window_SetConstraints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45776 { (char *)"Window_GetConstraints", (PyCFunction
) _wrap_Window_GetConstraints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45777 { (char *)"Window_SetAutoLayout", (PyCFunction
) _wrap_Window_SetAutoLayout
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45778 { (char *)"Window_GetAutoLayout", (PyCFunction
) _wrap_Window_GetAutoLayout
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45779 { (char *)"Window_Layout", (PyCFunction
) _wrap_Window_Layout
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45780 { (char *)"Window_SetSizer", (PyCFunction
) _wrap_Window_SetSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45781 { (char *)"Window_SetSizerAndFit", (PyCFunction
) _wrap_Window_SetSizerAndFit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45782 { (char *)"Window_GetSizer", (PyCFunction
) _wrap_Window_GetSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45783 { (char *)"Window_SetContainingSizer", (PyCFunction
) _wrap_Window_SetContainingSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45784 { (char *)"Window_GetContainingSizer", (PyCFunction
) _wrap_Window_GetContainingSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45785 { (char *)"Window_InheritAttributes", (PyCFunction
) _wrap_Window_InheritAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45786 { (char *)"Window_ShouldInheritColours", (PyCFunction
) _wrap_Window_ShouldInheritColours
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45787 { (char *)"Window_swigregister", Window_swigregister
, METH_VARARGS
, NULL
},
45788 { (char *)"FindWindowById", (PyCFunction
) _wrap_FindWindowById
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45789 { (char *)"FindWindowByName", (PyCFunction
) _wrap_FindWindowByName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45790 { (char *)"FindWindowByLabel", (PyCFunction
) _wrap_FindWindowByLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45791 { (char *)"Window_FromHWND", (PyCFunction
) _wrap_Window_FromHWND
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45792 { (char *)"new_Validator", (PyCFunction
) _wrap_new_Validator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45793 { (char *)"Validator_Clone", (PyCFunction
) _wrap_Validator_Clone
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45794 { (char *)"Validator_Validate", (PyCFunction
) _wrap_Validator_Validate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45795 { (char *)"Validator_TransferToWindow", (PyCFunction
) _wrap_Validator_TransferToWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45796 { (char *)"Validator_TransferFromWindow", (PyCFunction
) _wrap_Validator_TransferFromWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45797 { (char *)"Validator_GetWindow", (PyCFunction
) _wrap_Validator_GetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45798 { (char *)"Validator_SetWindow", (PyCFunction
) _wrap_Validator_SetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45799 { (char *)"Validator_IsSilent", (PyCFunction
) _wrap_Validator_IsSilent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45800 { (char *)"Validator_SetBellOnError", (PyCFunction
) _wrap_Validator_SetBellOnError
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45801 { (char *)"Validator_swigregister", Validator_swigregister
, METH_VARARGS
, NULL
},
45802 { (char *)"new_PyValidator", (PyCFunction
) _wrap_new_PyValidator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45803 { (char *)"PyValidator__setCallbackInfo", (PyCFunction
) _wrap_PyValidator__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45804 { (char *)"PyValidator_swigregister", PyValidator_swigregister
, METH_VARARGS
, NULL
},
45805 { (char *)"new_Menu", (PyCFunction
) _wrap_new_Menu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45806 { (char *)"Menu_Append", (PyCFunction
) _wrap_Menu_Append
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45807 { (char *)"Menu_AppendSeparator", (PyCFunction
) _wrap_Menu_AppendSeparator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45808 { (char *)"Menu_AppendCheckItem", (PyCFunction
) _wrap_Menu_AppendCheckItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45809 { (char *)"Menu_AppendRadioItem", (PyCFunction
) _wrap_Menu_AppendRadioItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45810 { (char *)"Menu_AppendMenu", (PyCFunction
) _wrap_Menu_AppendMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45811 { (char *)"Menu_AppendItem", (PyCFunction
) _wrap_Menu_AppendItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45812 { (char *)"Menu_Break", (PyCFunction
) _wrap_Menu_Break
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45813 { (char *)"Menu_InsertItem", (PyCFunction
) _wrap_Menu_InsertItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45814 { (char *)"Menu_Insert", (PyCFunction
) _wrap_Menu_Insert
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45815 { (char *)"Menu_InsertSeparator", (PyCFunction
) _wrap_Menu_InsertSeparator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45816 { (char *)"Menu_InsertCheckItem", (PyCFunction
) _wrap_Menu_InsertCheckItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45817 { (char *)"Menu_InsertRadioItem", (PyCFunction
) _wrap_Menu_InsertRadioItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45818 { (char *)"Menu_InsertMenu", (PyCFunction
) _wrap_Menu_InsertMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45819 { (char *)"Menu_PrependItem", (PyCFunction
) _wrap_Menu_PrependItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45820 { (char *)"Menu_Prepend", (PyCFunction
) _wrap_Menu_Prepend
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45821 { (char *)"Menu_PrependSeparator", (PyCFunction
) _wrap_Menu_PrependSeparator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45822 { (char *)"Menu_PrependCheckItem", (PyCFunction
) _wrap_Menu_PrependCheckItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45823 { (char *)"Menu_PrependRadioItem", (PyCFunction
) _wrap_Menu_PrependRadioItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45824 { (char *)"Menu_PrependMenu", (PyCFunction
) _wrap_Menu_PrependMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45825 { (char *)"Menu_Remove", (PyCFunction
) _wrap_Menu_Remove
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45826 { (char *)"Menu_RemoveItem", (PyCFunction
) _wrap_Menu_RemoveItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45827 { (char *)"Menu_Delete", (PyCFunction
) _wrap_Menu_Delete
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45828 { (char *)"Menu_DeleteItem", (PyCFunction
) _wrap_Menu_DeleteItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45829 { (char *)"Menu_Destroy", (PyCFunction
) _wrap_Menu_Destroy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45830 { (char *)"Menu_DestroyId", (PyCFunction
) _wrap_Menu_DestroyId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45831 { (char *)"Menu_DestroyItem", (PyCFunction
) _wrap_Menu_DestroyItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45832 { (char *)"Menu_GetMenuItemCount", (PyCFunction
) _wrap_Menu_GetMenuItemCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45833 { (char *)"Menu_GetMenuItems", (PyCFunction
) _wrap_Menu_GetMenuItems
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45834 { (char *)"Menu_FindItem", (PyCFunction
) _wrap_Menu_FindItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45835 { (char *)"Menu_FindItemById", (PyCFunction
) _wrap_Menu_FindItemById
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45836 { (char *)"Menu_FindItemByPosition", (PyCFunction
) _wrap_Menu_FindItemByPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45837 { (char *)"Menu_Enable", (PyCFunction
) _wrap_Menu_Enable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45838 { (char *)"Menu_IsEnabled", (PyCFunction
) _wrap_Menu_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45839 { (char *)"Menu_Check", (PyCFunction
) _wrap_Menu_Check
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45840 { (char *)"Menu_IsChecked", (PyCFunction
) _wrap_Menu_IsChecked
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45841 { (char *)"Menu_SetLabel", (PyCFunction
) _wrap_Menu_SetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45842 { (char *)"Menu_GetLabel", (PyCFunction
) _wrap_Menu_GetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45843 { (char *)"Menu_SetHelpString", (PyCFunction
) _wrap_Menu_SetHelpString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45844 { (char *)"Menu_GetHelpString", (PyCFunction
) _wrap_Menu_GetHelpString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45845 { (char *)"Menu_SetTitle", (PyCFunction
) _wrap_Menu_SetTitle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45846 { (char *)"Menu_GetTitle", (PyCFunction
) _wrap_Menu_GetTitle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45847 { (char *)"Menu_SetEventHandler", (PyCFunction
) _wrap_Menu_SetEventHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45848 { (char *)"Menu_GetEventHandler", (PyCFunction
) _wrap_Menu_GetEventHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45849 { (char *)"Menu_SetInvokingWindow", (PyCFunction
) _wrap_Menu_SetInvokingWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45850 { (char *)"Menu_GetInvokingWindow", (PyCFunction
) _wrap_Menu_GetInvokingWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45851 { (char *)"Menu_GetStyle", (PyCFunction
) _wrap_Menu_GetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45852 { (char *)"Menu_UpdateUI", (PyCFunction
) _wrap_Menu_UpdateUI
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45853 { (char *)"Menu_GetMenuBar", (PyCFunction
) _wrap_Menu_GetMenuBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45854 { (char *)"Menu_Attach", (PyCFunction
) _wrap_Menu_Attach
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45855 { (char *)"Menu_Detach", (PyCFunction
) _wrap_Menu_Detach
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45856 { (char *)"Menu_IsAttached", (PyCFunction
) _wrap_Menu_IsAttached
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45857 { (char *)"Menu_SetParent", (PyCFunction
) _wrap_Menu_SetParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45858 { (char *)"Menu_GetParent", (PyCFunction
) _wrap_Menu_GetParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45859 { (char *)"Menu_swigregister", Menu_swigregister
, METH_VARARGS
, NULL
},
45860 { (char *)"new_MenuBar", (PyCFunction
) _wrap_new_MenuBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45861 { (char *)"MenuBar_Append", (PyCFunction
) _wrap_MenuBar_Append
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45862 { (char *)"MenuBar_Insert", (PyCFunction
) _wrap_MenuBar_Insert
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45863 { (char *)"MenuBar_GetMenuCount", (PyCFunction
) _wrap_MenuBar_GetMenuCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45864 { (char *)"MenuBar_GetMenu", (PyCFunction
) _wrap_MenuBar_GetMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45865 { (char *)"MenuBar_Replace", (PyCFunction
) _wrap_MenuBar_Replace
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45866 { (char *)"MenuBar_Remove", (PyCFunction
) _wrap_MenuBar_Remove
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45867 { (char *)"MenuBar_EnableTop", (PyCFunction
) _wrap_MenuBar_EnableTop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45868 { (char *)"MenuBar_IsEnabledTop", (PyCFunction
) _wrap_MenuBar_IsEnabledTop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45869 { (char *)"MenuBar_SetLabelTop", (PyCFunction
) _wrap_MenuBar_SetLabelTop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45870 { (char *)"MenuBar_GetLabelTop", (PyCFunction
) _wrap_MenuBar_GetLabelTop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45871 { (char *)"MenuBar_FindMenuItem", (PyCFunction
) _wrap_MenuBar_FindMenuItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45872 { (char *)"MenuBar_FindItemById", (PyCFunction
) _wrap_MenuBar_FindItemById
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45873 { (char *)"MenuBar_FindMenu", (PyCFunction
) _wrap_MenuBar_FindMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45874 { (char *)"MenuBar_Enable", (PyCFunction
) _wrap_MenuBar_Enable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45875 { (char *)"MenuBar_Check", (PyCFunction
) _wrap_MenuBar_Check
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45876 { (char *)"MenuBar_IsChecked", (PyCFunction
) _wrap_MenuBar_IsChecked
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45877 { (char *)"MenuBar_IsEnabled", (PyCFunction
) _wrap_MenuBar_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45878 { (char *)"MenuBar_SetLabel", (PyCFunction
) _wrap_MenuBar_SetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45879 { (char *)"MenuBar_GetLabel", (PyCFunction
) _wrap_MenuBar_GetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45880 { (char *)"MenuBar_SetHelpString", (PyCFunction
) _wrap_MenuBar_SetHelpString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45881 { (char *)"MenuBar_GetHelpString", (PyCFunction
) _wrap_MenuBar_GetHelpString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45882 { (char *)"MenuBar_GetFrame", (PyCFunction
) _wrap_MenuBar_GetFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45883 { (char *)"MenuBar_IsAttached", (PyCFunction
) _wrap_MenuBar_IsAttached
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45884 { (char *)"MenuBar_Attach", (PyCFunction
) _wrap_MenuBar_Attach
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45885 { (char *)"MenuBar_Detach", (PyCFunction
) _wrap_MenuBar_Detach
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45886 { (char *)"MenuBar_swigregister", MenuBar_swigregister
, METH_VARARGS
, NULL
},
45887 { (char *)"new_MenuItem", (PyCFunction
) _wrap_new_MenuItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45888 { (char *)"MenuItem_GetMenu", (PyCFunction
) _wrap_MenuItem_GetMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45889 { (char *)"MenuItem_SetMenu", (PyCFunction
) _wrap_MenuItem_SetMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45890 { (char *)"MenuItem_SetId", (PyCFunction
) _wrap_MenuItem_SetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45891 { (char *)"MenuItem_GetId", (PyCFunction
) _wrap_MenuItem_GetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45892 { (char *)"MenuItem_IsSeparator", (PyCFunction
) _wrap_MenuItem_IsSeparator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45893 { (char *)"MenuItem_SetText", (PyCFunction
) _wrap_MenuItem_SetText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45894 { (char *)"MenuItem_GetLabel", (PyCFunction
) _wrap_MenuItem_GetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45895 { (char *)"MenuItem_GetText", (PyCFunction
) _wrap_MenuItem_GetText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45896 { (char *)"MenuItem_GetLabelFromText", (PyCFunction
) _wrap_MenuItem_GetLabelFromText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45897 { (char *)"MenuItem_GetKind", (PyCFunction
) _wrap_MenuItem_GetKind
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45898 { (char *)"MenuItem_SetKind", (PyCFunction
) _wrap_MenuItem_SetKind
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45899 { (char *)"MenuItem_SetCheckable", (PyCFunction
) _wrap_MenuItem_SetCheckable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45900 { (char *)"MenuItem_IsCheckable", (PyCFunction
) _wrap_MenuItem_IsCheckable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45901 { (char *)"MenuItem_IsSubMenu", (PyCFunction
) _wrap_MenuItem_IsSubMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45902 { (char *)"MenuItem_SetSubMenu", (PyCFunction
) _wrap_MenuItem_SetSubMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45903 { (char *)"MenuItem_GetSubMenu", (PyCFunction
) _wrap_MenuItem_GetSubMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45904 { (char *)"MenuItem_Enable", (PyCFunction
) _wrap_MenuItem_Enable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45905 { (char *)"MenuItem_IsEnabled", (PyCFunction
) _wrap_MenuItem_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45906 { (char *)"MenuItem_Check", (PyCFunction
) _wrap_MenuItem_Check
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45907 { (char *)"MenuItem_IsChecked", (PyCFunction
) _wrap_MenuItem_IsChecked
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45908 { (char *)"MenuItem_Toggle", (PyCFunction
) _wrap_MenuItem_Toggle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45909 { (char *)"MenuItem_SetHelp", (PyCFunction
) _wrap_MenuItem_SetHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45910 { (char *)"MenuItem_GetHelp", (PyCFunction
) _wrap_MenuItem_GetHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45911 { (char *)"MenuItem_GetAccel", (PyCFunction
) _wrap_MenuItem_GetAccel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45912 { (char *)"MenuItem_SetAccel", (PyCFunction
) _wrap_MenuItem_SetAccel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45913 { (char *)"MenuItem_SetFont", (PyCFunction
) _wrap_MenuItem_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45914 { (char *)"MenuItem_GetFont", (PyCFunction
) _wrap_MenuItem_GetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45915 { (char *)"MenuItem_SetTextColour", (PyCFunction
) _wrap_MenuItem_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45916 { (char *)"MenuItem_GetTextColour", (PyCFunction
) _wrap_MenuItem_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45917 { (char *)"MenuItem_SetBackgroundColour", (PyCFunction
) _wrap_MenuItem_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45918 { (char *)"MenuItem_GetBackgroundColour", (PyCFunction
) _wrap_MenuItem_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45919 { (char *)"MenuItem_SetBitmaps", (PyCFunction
) _wrap_MenuItem_SetBitmaps
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45920 { (char *)"MenuItem_SetDisabledBitmap", (PyCFunction
) _wrap_MenuItem_SetDisabledBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45921 { (char *)"MenuItem_GetDisabledBitmap", (PyCFunction
) _wrap_MenuItem_GetDisabledBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45922 { (char *)"MenuItem_SetMarginWidth", (PyCFunction
) _wrap_MenuItem_SetMarginWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45923 { (char *)"MenuItem_GetMarginWidth", (PyCFunction
) _wrap_MenuItem_GetMarginWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45924 { (char *)"MenuItem_GetDefaultMarginWidth", (PyCFunction
) _wrap_MenuItem_GetDefaultMarginWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45925 { (char *)"MenuItem_IsOwnerDrawn", (PyCFunction
) _wrap_MenuItem_IsOwnerDrawn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45926 { (char *)"MenuItem_SetOwnerDrawn", (PyCFunction
) _wrap_MenuItem_SetOwnerDrawn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45927 { (char *)"MenuItem_ResetOwnerDrawn", (PyCFunction
) _wrap_MenuItem_ResetOwnerDrawn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45928 { (char *)"MenuItem_SetBitmap", (PyCFunction
) _wrap_MenuItem_SetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45929 { (char *)"MenuItem_GetBitmap", (PyCFunction
) _wrap_MenuItem_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45930 { (char *)"MenuItem_swigregister", MenuItem_swigregister
, METH_VARARGS
, NULL
},
45931 { (char *)"new_Control", (PyCFunction
) _wrap_new_Control
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45932 { (char *)"new_PreControl", (PyCFunction
) _wrap_new_PreControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45933 { (char *)"Control_Create", (PyCFunction
) _wrap_Control_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45934 { (char *)"Control_Command", (PyCFunction
) _wrap_Control_Command
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45935 { (char *)"Control_GetLabel", (PyCFunction
) _wrap_Control_GetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45936 { (char *)"Control_SetLabel", (PyCFunction
) _wrap_Control_SetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45937 { (char *)"Control_GetClassDefaultAttributes", (PyCFunction
) _wrap_Control_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45938 { (char *)"Control_swigregister", Control_swigregister
, METH_VARARGS
, NULL
},
45939 { (char *)"ItemContainer_Append", (PyCFunction
) _wrap_ItemContainer_Append
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45940 { (char *)"ItemContainer_AppendItems", (PyCFunction
) _wrap_ItemContainer_AppendItems
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45941 { (char *)"ItemContainer_Insert", (PyCFunction
) _wrap_ItemContainer_Insert
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45942 { (char *)"ItemContainer_Clear", (PyCFunction
) _wrap_ItemContainer_Clear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45943 { (char *)"ItemContainer_Delete", (PyCFunction
) _wrap_ItemContainer_Delete
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45944 { (char *)"ItemContainer_GetClientData", (PyCFunction
) _wrap_ItemContainer_GetClientData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45945 { (char *)"ItemContainer_SetClientData", (PyCFunction
) _wrap_ItemContainer_SetClientData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45946 { (char *)"ItemContainer_GetCount", (PyCFunction
) _wrap_ItemContainer_GetCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45947 { (char *)"ItemContainer_IsEmpty", (PyCFunction
) _wrap_ItemContainer_IsEmpty
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45948 { (char *)"ItemContainer_GetString", (PyCFunction
) _wrap_ItemContainer_GetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45949 { (char *)"ItemContainer_GetStrings", (PyCFunction
) _wrap_ItemContainer_GetStrings
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45950 { (char *)"ItemContainer_SetString", (PyCFunction
) _wrap_ItemContainer_SetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45951 { (char *)"ItemContainer_FindString", (PyCFunction
) _wrap_ItemContainer_FindString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45952 { (char *)"ItemContainer_SetSelection", (PyCFunction
) _wrap_ItemContainer_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45953 { (char *)"ItemContainer_GetSelection", (PyCFunction
) _wrap_ItemContainer_GetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45954 { (char *)"ItemContainer_SetStringSelection", (PyCFunction
) _wrap_ItemContainer_SetStringSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45955 { (char *)"ItemContainer_GetStringSelection", (PyCFunction
) _wrap_ItemContainer_GetStringSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45956 { (char *)"ItemContainer_Select", (PyCFunction
) _wrap_ItemContainer_Select
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45957 { (char *)"ItemContainer_swigregister", ItemContainer_swigregister
, METH_VARARGS
, NULL
},
45958 { (char *)"ControlWithItems_swigregister", ControlWithItems_swigregister
, METH_VARARGS
, NULL
},
45959 { (char *)"new_SizerItem", (PyCFunction
) _wrap_new_SizerItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45960 { (char *)"new_SizerItemWindow", (PyCFunction
) _wrap_new_SizerItemWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45961 { (char *)"new_SizerItemSpacer", (PyCFunction
) _wrap_new_SizerItemSpacer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45962 { (char *)"new_SizerItemSizer", (PyCFunction
) _wrap_new_SizerItemSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45963 { (char *)"SizerItem_DeleteWindows", (PyCFunction
) _wrap_SizerItem_DeleteWindows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45964 { (char *)"SizerItem_DetachSizer", (PyCFunction
) _wrap_SizerItem_DetachSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45965 { (char *)"SizerItem_GetSize", (PyCFunction
) _wrap_SizerItem_GetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45966 { (char *)"SizerItem_CalcMin", (PyCFunction
) _wrap_SizerItem_CalcMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45967 { (char *)"SizerItem_SetDimension", (PyCFunction
) _wrap_SizerItem_SetDimension
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45968 { (char *)"SizerItem_GetMinSize", (PyCFunction
) _wrap_SizerItem_GetMinSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45969 { (char *)"SizerItem_GetMinSizeWithBorder", (PyCFunction
) _wrap_SizerItem_GetMinSizeWithBorder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45970 { (char *)"SizerItem_SetInitSize", (PyCFunction
) _wrap_SizerItem_SetInitSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45971 { (char *)"SizerItem_SetRatioWH", (PyCFunction
) _wrap_SizerItem_SetRatioWH
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45972 { (char *)"SizerItem_SetRatioSize", (PyCFunction
) _wrap_SizerItem_SetRatioSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45973 { (char *)"SizerItem_SetRatio", (PyCFunction
) _wrap_SizerItem_SetRatio
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45974 { (char *)"SizerItem_GetRatio", (PyCFunction
) _wrap_SizerItem_GetRatio
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45975 { (char *)"SizerItem_GetRect", (PyCFunction
) _wrap_SizerItem_GetRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45976 { (char *)"SizerItem_IsWindow", (PyCFunction
) _wrap_SizerItem_IsWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45977 { (char *)"SizerItem_IsSizer", (PyCFunction
) _wrap_SizerItem_IsSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45978 { (char *)"SizerItem_IsSpacer", (PyCFunction
) _wrap_SizerItem_IsSpacer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45979 { (char *)"SizerItem_SetProportion", (PyCFunction
) _wrap_SizerItem_SetProportion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45980 { (char *)"SizerItem_GetProportion", (PyCFunction
) _wrap_SizerItem_GetProportion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45981 { (char *)"SizerItem_SetFlag", (PyCFunction
) _wrap_SizerItem_SetFlag
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45982 { (char *)"SizerItem_GetFlag", (PyCFunction
) _wrap_SizerItem_GetFlag
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45983 { (char *)"SizerItem_SetBorder", (PyCFunction
) _wrap_SizerItem_SetBorder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45984 { (char *)"SizerItem_GetBorder", (PyCFunction
) _wrap_SizerItem_GetBorder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45985 { (char *)"SizerItem_GetWindow", (PyCFunction
) _wrap_SizerItem_GetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45986 { (char *)"SizerItem_SetWindow", (PyCFunction
) _wrap_SizerItem_SetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45987 { (char *)"SizerItem_GetSizer", (PyCFunction
) _wrap_SizerItem_GetSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45988 { (char *)"SizerItem_SetSizer", (PyCFunction
) _wrap_SizerItem_SetSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45989 { (char *)"SizerItem_GetSpacer", (PyCFunction
) _wrap_SizerItem_GetSpacer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45990 { (char *)"SizerItem_SetSpacer", (PyCFunction
) _wrap_SizerItem_SetSpacer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45991 { (char *)"SizerItem_Show", (PyCFunction
) _wrap_SizerItem_Show
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45992 { (char *)"SizerItem_IsShown", (PyCFunction
) _wrap_SizerItem_IsShown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45993 { (char *)"SizerItem_GetPosition", (PyCFunction
) _wrap_SizerItem_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45994 { (char *)"SizerItem_GetUserData", (PyCFunction
) _wrap_SizerItem_GetUserData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45995 { (char *)"SizerItem_swigregister", SizerItem_swigregister
, METH_VARARGS
, NULL
},
45996 { (char *)"Sizer__setOORInfo", (PyCFunction
) _wrap_Sizer__setOORInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45997 { (char *)"Sizer_Add", (PyCFunction
) _wrap_Sizer_Add
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45998 { (char *)"Sizer_Insert", (PyCFunction
) _wrap_Sizer_Insert
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45999 { (char *)"Sizer_Prepend", (PyCFunction
) _wrap_Sizer_Prepend
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46000 { (char *)"Sizer_Remove", (PyCFunction
) _wrap_Sizer_Remove
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46001 { (char *)"Sizer_Detach", (PyCFunction
) _wrap_Sizer_Detach
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46002 { (char *)"Sizer_GetItem", (PyCFunction
) _wrap_Sizer_GetItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46003 { (char *)"Sizer__SetItemMinSize", (PyCFunction
) _wrap_Sizer__SetItemMinSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46004 { (char *)"Sizer_AddItem", (PyCFunction
) _wrap_Sizer_AddItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46005 { (char *)"Sizer_InsertItem", (PyCFunction
) _wrap_Sizer_InsertItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46006 { (char *)"Sizer_PrependItem", (PyCFunction
) _wrap_Sizer_PrependItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46007 { (char *)"Sizer_SetDimension", (PyCFunction
) _wrap_Sizer_SetDimension
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46008 { (char *)"Sizer_SetMinSize", (PyCFunction
) _wrap_Sizer_SetMinSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46009 { (char *)"Sizer_GetSize", (PyCFunction
) _wrap_Sizer_GetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46010 { (char *)"Sizer_GetPosition", (PyCFunction
) _wrap_Sizer_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46011 { (char *)"Sizer_GetMinSize", (PyCFunction
) _wrap_Sizer_GetMinSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46012 { (char *)"Sizer_RecalcSizes", (PyCFunction
) _wrap_Sizer_RecalcSizes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46013 { (char *)"Sizer_CalcMin", (PyCFunction
) _wrap_Sizer_CalcMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46014 { (char *)"Sizer_Layout", (PyCFunction
) _wrap_Sizer_Layout
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46015 { (char *)"Sizer_Fit", (PyCFunction
) _wrap_Sizer_Fit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46016 { (char *)"Sizer_FitInside", (PyCFunction
) _wrap_Sizer_FitInside
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46017 { (char *)"Sizer_SetSizeHints", (PyCFunction
) _wrap_Sizer_SetSizeHints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46018 { (char *)"Sizer_SetVirtualSizeHints", (PyCFunction
) _wrap_Sizer_SetVirtualSizeHints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46019 { (char *)"Sizer_Clear", (PyCFunction
) _wrap_Sizer_Clear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46020 { (char *)"Sizer_DeleteWindows", (PyCFunction
) _wrap_Sizer_DeleteWindows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46021 { (char *)"Sizer_GetChildren", (PyCFunction
) _wrap_Sizer_GetChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46022 { (char *)"Sizer_Show", (PyCFunction
) _wrap_Sizer_Show
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46023 { (char *)"Sizer_IsShown", (PyCFunction
) _wrap_Sizer_IsShown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46024 { (char *)"Sizer_ShowItems", (PyCFunction
) _wrap_Sizer_ShowItems
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46025 { (char *)"Sizer_swigregister", Sizer_swigregister
, METH_VARARGS
, NULL
},
46026 { (char *)"new_PySizer", (PyCFunction
) _wrap_new_PySizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46027 { (char *)"PySizer__setCallbackInfo", (PyCFunction
) _wrap_PySizer__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46028 { (char *)"PySizer_swigregister", PySizer_swigregister
, METH_VARARGS
, NULL
},
46029 { (char *)"new_BoxSizer", (PyCFunction
) _wrap_new_BoxSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46030 { (char *)"BoxSizer_GetOrientation", (PyCFunction
) _wrap_BoxSizer_GetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46031 { (char *)"BoxSizer_SetOrientation", (PyCFunction
) _wrap_BoxSizer_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46032 { (char *)"BoxSizer_swigregister", BoxSizer_swigregister
, METH_VARARGS
, NULL
},
46033 { (char *)"new_StaticBoxSizer", (PyCFunction
) _wrap_new_StaticBoxSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46034 { (char *)"StaticBoxSizer_GetStaticBox", (PyCFunction
) _wrap_StaticBoxSizer_GetStaticBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46035 { (char *)"StaticBoxSizer_swigregister", StaticBoxSizer_swigregister
, METH_VARARGS
, NULL
},
46036 { (char *)"new_GridSizer", (PyCFunction
) _wrap_new_GridSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46037 { (char *)"GridSizer_SetCols", (PyCFunction
) _wrap_GridSizer_SetCols
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46038 { (char *)"GridSizer_SetRows", (PyCFunction
) _wrap_GridSizer_SetRows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46039 { (char *)"GridSizer_SetVGap", (PyCFunction
) _wrap_GridSizer_SetVGap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46040 { (char *)"GridSizer_SetHGap", (PyCFunction
) _wrap_GridSizer_SetHGap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46041 { (char *)"GridSizer_GetCols", (PyCFunction
) _wrap_GridSizer_GetCols
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46042 { (char *)"GridSizer_GetRows", (PyCFunction
) _wrap_GridSizer_GetRows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46043 { (char *)"GridSizer_GetVGap", (PyCFunction
) _wrap_GridSizer_GetVGap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46044 { (char *)"GridSizer_GetHGap", (PyCFunction
) _wrap_GridSizer_GetHGap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46045 { (char *)"GridSizer_swigregister", GridSizer_swigregister
, METH_VARARGS
, NULL
},
46046 { (char *)"new_FlexGridSizer", (PyCFunction
) _wrap_new_FlexGridSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46047 { (char *)"FlexGridSizer_AddGrowableRow", (PyCFunction
) _wrap_FlexGridSizer_AddGrowableRow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46048 { (char *)"FlexGridSizer_RemoveGrowableRow", (PyCFunction
) _wrap_FlexGridSizer_RemoveGrowableRow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46049 { (char *)"FlexGridSizer_AddGrowableCol", (PyCFunction
) _wrap_FlexGridSizer_AddGrowableCol
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46050 { (char *)"FlexGridSizer_RemoveGrowableCol", (PyCFunction
) _wrap_FlexGridSizer_RemoveGrowableCol
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46051 { (char *)"FlexGridSizer_SetFlexibleDirection", (PyCFunction
) _wrap_FlexGridSizer_SetFlexibleDirection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46052 { (char *)"FlexGridSizer_GetFlexibleDirection", (PyCFunction
) _wrap_FlexGridSizer_GetFlexibleDirection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46053 { (char *)"FlexGridSizer_SetNonFlexibleGrowMode", (PyCFunction
) _wrap_FlexGridSizer_SetNonFlexibleGrowMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46054 { (char *)"FlexGridSizer_GetNonFlexibleGrowMode", (PyCFunction
) _wrap_FlexGridSizer_GetNonFlexibleGrowMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46055 { (char *)"FlexGridSizer_GetRowHeights", (PyCFunction
) _wrap_FlexGridSizer_GetRowHeights
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46056 { (char *)"FlexGridSizer_GetColWidths", (PyCFunction
) _wrap_FlexGridSizer_GetColWidths
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46057 { (char *)"FlexGridSizer_swigregister", FlexGridSizer_swigregister
, METH_VARARGS
, NULL
},
46058 { (char *)"new_StdDialogButtonSizer", (PyCFunction
) _wrap_new_StdDialogButtonSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46059 { (char *)"StdDialogButtonSizer_AddButton", (PyCFunction
) _wrap_StdDialogButtonSizer_AddButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46060 { (char *)"StdDialogButtonSizer_Realize", (PyCFunction
) _wrap_StdDialogButtonSizer_Realize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46061 { (char *)"StdDialogButtonSizer_SetAffirmativeButton", (PyCFunction
) _wrap_StdDialogButtonSizer_SetAffirmativeButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46062 { (char *)"StdDialogButtonSizer_SetNegativeButton", (PyCFunction
) _wrap_StdDialogButtonSizer_SetNegativeButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46063 { (char *)"StdDialogButtonSizer_SetCancelButton", (PyCFunction
) _wrap_StdDialogButtonSizer_SetCancelButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46064 { (char *)"StdDialogButtonSizer_GetAffirmativeButton", (PyCFunction
) _wrap_StdDialogButtonSizer_GetAffirmativeButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46065 { (char *)"StdDialogButtonSizer_GetApplyButton", (PyCFunction
) _wrap_StdDialogButtonSizer_GetApplyButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46066 { (char *)"StdDialogButtonSizer_GetNegativeButton", (PyCFunction
) _wrap_StdDialogButtonSizer_GetNegativeButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46067 { (char *)"StdDialogButtonSizer_GetCancelButton", (PyCFunction
) _wrap_StdDialogButtonSizer_GetCancelButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46068 { (char *)"StdDialogButtonSizer_GetHelpButton", (PyCFunction
) _wrap_StdDialogButtonSizer_GetHelpButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46069 { (char *)"StdDialogButtonSizer_swigregister", StdDialogButtonSizer_swigregister
, METH_VARARGS
, NULL
},
46070 { (char *)"new_GBPosition", (PyCFunction
) _wrap_new_GBPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46071 { (char *)"GBPosition_GetRow", (PyCFunction
) _wrap_GBPosition_GetRow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46072 { (char *)"GBPosition_GetCol", (PyCFunction
) _wrap_GBPosition_GetCol
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46073 { (char *)"GBPosition_SetRow", (PyCFunction
) _wrap_GBPosition_SetRow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46074 { (char *)"GBPosition_SetCol", (PyCFunction
) _wrap_GBPosition_SetCol
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46075 { (char *)"GBPosition___eq__", (PyCFunction
) _wrap_GBPosition___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46076 { (char *)"GBPosition___ne__", (PyCFunction
) _wrap_GBPosition___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46077 { (char *)"GBPosition_Set", (PyCFunction
) _wrap_GBPosition_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46078 { (char *)"GBPosition_Get", (PyCFunction
) _wrap_GBPosition_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46079 { (char *)"GBPosition_swigregister", GBPosition_swigregister
, METH_VARARGS
, NULL
},
46080 { (char *)"new_GBSpan", (PyCFunction
) _wrap_new_GBSpan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46081 { (char *)"GBSpan_GetRowspan", (PyCFunction
) _wrap_GBSpan_GetRowspan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46082 { (char *)"GBSpan_GetColspan", (PyCFunction
) _wrap_GBSpan_GetColspan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46083 { (char *)"GBSpan_SetRowspan", (PyCFunction
) _wrap_GBSpan_SetRowspan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46084 { (char *)"GBSpan_SetColspan", (PyCFunction
) _wrap_GBSpan_SetColspan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46085 { (char *)"GBSpan___eq__", (PyCFunction
) _wrap_GBSpan___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46086 { (char *)"GBSpan___ne__", (PyCFunction
) _wrap_GBSpan___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46087 { (char *)"GBSpan_Set", (PyCFunction
) _wrap_GBSpan_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46088 { (char *)"GBSpan_Get", (PyCFunction
) _wrap_GBSpan_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46089 { (char *)"GBSpan_swigregister", GBSpan_swigregister
, METH_VARARGS
, NULL
},
46090 { (char *)"new_GBSizerItem", (PyCFunction
) _wrap_new_GBSizerItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46091 { (char *)"new_GBSizerItemWindow", (PyCFunction
) _wrap_new_GBSizerItemWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46092 { (char *)"new_GBSizerItemSizer", (PyCFunction
) _wrap_new_GBSizerItemSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46093 { (char *)"new_GBSizerItemSpacer", (PyCFunction
) _wrap_new_GBSizerItemSpacer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46094 { (char *)"GBSizerItem_GetPos", (PyCFunction
) _wrap_GBSizerItem_GetPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46095 { (char *)"GBSizerItem_GetSpan", (PyCFunction
) _wrap_GBSizerItem_GetSpan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46096 { (char *)"GBSizerItem_SetPos", (PyCFunction
) _wrap_GBSizerItem_SetPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46097 { (char *)"GBSizerItem_SetSpan", (PyCFunction
) _wrap_GBSizerItem_SetSpan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46098 { (char *)"GBSizerItem_Intersects", (PyCFunction
) _wrap_GBSizerItem_Intersects
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46099 { (char *)"GBSizerItem_IntersectsPos", (PyCFunction
) _wrap_GBSizerItem_IntersectsPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46100 { (char *)"GBSizerItem_GetEndPos", (PyCFunction
) _wrap_GBSizerItem_GetEndPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46101 { (char *)"GBSizerItem_GetGBSizer", (PyCFunction
) _wrap_GBSizerItem_GetGBSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46102 { (char *)"GBSizerItem_SetGBSizer", (PyCFunction
) _wrap_GBSizerItem_SetGBSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46103 { (char *)"GBSizerItem_swigregister", GBSizerItem_swigregister
, METH_VARARGS
, NULL
},
46104 { (char *)"new_GridBagSizer", (PyCFunction
) _wrap_new_GridBagSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46105 { (char *)"GridBagSizer_Add", (PyCFunction
) _wrap_GridBagSizer_Add
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46106 { (char *)"GridBagSizer_AddItem", (PyCFunction
) _wrap_GridBagSizer_AddItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46107 { (char *)"GridBagSizer_GetCellSize", (PyCFunction
) _wrap_GridBagSizer_GetCellSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46108 { (char *)"GridBagSizer_GetEmptyCellSize", (PyCFunction
) _wrap_GridBagSizer_GetEmptyCellSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46109 { (char *)"GridBagSizer_SetEmptyCellSize", (PyCFunction
) _wrap_GridBagSizer_SetEmptyCellSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46110 { (char *)"GridBagSizer_GetItemPosition", _wrap_GridBagSizer_GetItemPosition
, METH_VARARGS
, NULL
},
46111 { (char *)"GridBagSizer_SetItemPosition", _wrap_GridBagSizer_SetItemPosition
, METH_VARARGS
, NULL
},
46112 { (char *)"GridBagSizer_GetItemSpan", _wrap_GridBagSizer_GetItemSpan
, METH_VARARGS
, NULL
},
46113 { (char *)"GridBagSizer_SetItemSpan", _wrap_GridBagSizer_SetItemSpan
, METH_VARARGS
, NULL
},
46114 { (char *)"GridBagSizer_FindItem", _wrap_GridBagSizer_FindItem
, METH_VARARGS
, NULL
},
46115 { (char *)"GridBagSizer_FindItemAtPosition", (PyCFunction
) _wrap_GridBagSizer_FindItemAtPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46116 { (char *)"GridBagSizer_FindItemAtPoint", (PyCFunction
) _wrap_GridBagSizer_FindItemAtPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46117 { (char *)"GridBagSizer_CheckForIntersection", (PyCFunction
) _wrap_GridBagSizer_CheckForIntersection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46118 { (char *)"GridBagSizer_CheckForIntersectionPos", (PyCFunction
) _wrap_GridBagSizer_CheckForIntersectionPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46119 { (char *)"GridBagSizer_swigregister", GridBagSizer_swigregister
, METH_VARARGS
, NULL
},
46120 { (char *)"IndividualLayoutConstraint_Set", (PyCFunction
) _wrap_IndividualLayoutConstraint_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46121 { (char *)"IndividualLayoutConstraint_LeftOf", (PyCFunction
) _wrap_IndividualLayoutConstraint_LeftOf
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46122 { (char *)"IndividualLayoutConstraint_RightOf", (PyCFunction
) _wrap_IndividualLayoutConstraint_RightOf
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46123 { (char *)"IndividualLayoutConstraint_Above", (PyCFunction
) _wrap_IndividualLayoutConstraint_Above
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46124 { (char *)"IndividualLayoutConstraint_Below", (PyCFunction
) _wrap_IndividualLayoutConstraint_Below
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46125 { (char *)"IndividualLayoutConstraint_SameAs", (PyCFunction
) _wrap_IndividualLayoutConstraint_SameAs
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46126 { (char *)"IndividualLayoutConstraint_PercentOf", (PyCFunction
) _wrap_IndividualLayoutConstraint_PercentOf
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46127 { (char *)"IndividualLayoutConstraint_Absolute", (PyCFunction
) _wrap_IndividualLayoutConstraint_Absolute
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46128 { (char *)"IndividualLayoutConstraint_Unconstrained", (PyCFunction
) _wrap_IndividualLayoutConstraint_Unconstrained
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46129 { (char *)"IndividualLayoutConstraint_AsIs", (PyCFunction
) _wrap_IndividualLayoutConstraint_AsIs
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46130 { (char *)"IndividualLayoutConstraint_GetOtherWindow", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetOtherWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46131 { (char *)"IndividualLayoutConstraint_GetMyEdge", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetMyEdge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46132 { (char *)"IndividualLayoutConstraint_SetEdge", (PyCFunction
) _wrap_IndividualLayoutConstraint_SetEdge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46133 { (char *)"IndividualLayoutConstraint_SetValue", (PyCFunction
) _wrap_IndividualLayoutConstraint_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46134 { (char *)"IndividualLayoutConstraint_GetMargin", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetMargin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46135 { (char *)"IndividualLayoutConstraint_SetMargin", (PyCFunction
) _wrap_IndividualLayoutConstraint_SetMargin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46136 { (char *)"IndividualLayoutConstraint_GetValue", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46137 { (char *)"IndividualLayoutConstraint_GetPercent", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetPercent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46138 { (char *)"IndividualLayoutConstraint_GetOtherEdge", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetOtherEdge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46139 { (char *)"IndividualLayoutConstraint_GetDone", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetDone
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46140 { (char *)"IndividualLayoutConstraint_SetDone", (PyCFunction
) _wrap_IndividualLayoutConstraint_SetDone
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46141 { (char *)"IndividualLayoutConstraint_GetRelationship", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetRelationship
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46142 { (char *)"IndividualLayoutConstraint_SetRelationship", (PyCFunction
) _wrap_IndividualLayoutConstraint_SetRelationship
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46143 { (char *)"IndividualLayoutConstraint_ResetIfWin", (PyCFunction
) _wrap_IndividualLayoutConstraint_ResetIfWin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46144 { (char *)"IndividualLayoutConstraint_SatisfyConstraint", (PyCFunction
) _wrap_IndividualLayoutConstraint_SatisfyConstraint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46145 { (char *)"IndividualLayoutConstraint_GetEdge", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetEdge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46146 { (char *)"IndividualLayoutConstraint_swigregister", IndividualLayoutConstraint_swigregister
, METH_VARARGS
, NULL
},
46147 { (char *)"LayoutConstraints_left_get", (PyCFunction
) _wrap_LayoutConstraints_left_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46148 { (char *)"LayoutConstraints_top_get", (PyCFunction
) _wrap_LayoutConstraints_top_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46149 { (char *)"LayoutConstraints_right_get", (PyCFunction
) _wrap_LayoutConstraints_right_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46150 { (char *)"LayoutConstraints_bottom_get", (PyCFunction
) _wrap_LayoutConstraints_bottom_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46151 { (char *)"LayoutConstraints_width_get", (PyCFunction
) _wrap_LayoutConstraints_width_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46152 { (char *)"LayoutConstraints_height_get", (PyCFunction
) _wrap_LayoutConstraints_height_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46153 { (char *)"LayoutConstraints_centreX_get", (PyCFunction
) _wrap_LayoutConstraints_centreX_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46154 { (char *)"LayoutConstraints_centreY_get", (PyCFunction
) _wrap_LayoutConstraints_centreY_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46155 { (char *)"new_LayoutConstraints", (PyCFunction
) _wrap_new_LayoutConstraints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46156 { (char *)"LayoutConstraints_SatisfyConstraints", (PyCFunction
) _wrap_LayoutConstraints_SatisfyConstraints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46157 { (char *)"LayoutConstraints_AreSatisfied", (PyCFunction
) _wrap_LayoutConstraints_AreSatisfied
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46158 { (char *)"LayoutConstraints_swigregister", LayoutConstraints_swigregister
, METH_VARARGS
, NULL
},
46159 { NULL
, NULL
, 0, NULL
}
46163 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
46165 static void *_p_wxGBSizerItemTo_p_wxSizerItem(void *x
) {
46166 return (void *)((wxSizerItem
*) ((wxGBSizerItem
*) x
));
46168 static void *_p_wxBoxSizerTo_p_wxSizer(void *x
) {
46169 return (void *)((wxSizer
*) ((wxBoxSizer
*) x
));
46171 static void *_p_wxStaticBoxSizerTo_p_wxSizer(void *x
) {
46172 return (void *)((wxSizer
*) (wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
46174 static void *_p_wxStdDialogButtonSizerTo_p_wxSizer(void *x
) {
46175 return (void *)((wxSizer
*) (wxBoxSizer
*) ((wxStdDialogButtonSizer
*) x
));
46177 static void *_p_wxGridBagSizerTo_p_wxSizer(void *x
) {
46178 return (void *)((wxSizer
*) (wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
46180 static void *_p_wxGridSizerTo_p_wxSizer(void *x
) {
46181 return (void *)((wxSizer
*) ((wxGridSizer
*) x
));
46183 static void *_p_wxFlexGridSizerTo_p_wxSizer(void *x
) {
46184 return (void *)((wxSizer
*) (wxGridSizer
*) ((wxFlexGridSizer
*) x
));
46186 static void *_p_wxPySizerTo_p_wxSizer(void *x
) {
46187 return (void *)((wxSizer
*) ((wxPySizer
*) x
));
46189 static void *_p_wxStaticBoxSizerTo_p_wxBoxSizer(void *x
) {
46190 return (void *)((wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
46192 static void *_p_wxStdDialogButtonSizerTo_p_wxBoxSizer(void *x
) {
46193 return (void *)((wxBoxSizer
*) ((wxStdDialogButtonSizer
*) x
));
46195 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x
) {
46196 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
46198 static void *_p_wxMenuEventTo_p_wxEvent(void *x
) {
46199 return (void *)((wxEvent
*) ((wxMenuEvent
*) x
));
46201 static void *_p_wxCloseEventTo_p_wxEvent(void *x
) {
46202 return (void *)((wxEvent
*) ((wxCloseEvent
*) x
));
46204 static void *_p_wxMouseEventTo_p_wxEvent(void *x
) {
46205 return (void *)((wxEvent
*) ((wxMouseEvent
*) x
));
46207 static void *_p_wxEraseEventTo_p_wxEvent(void *x
) {
46208 return (void *)((wxEvent
*) ((wxEraseEvent
*) x
));
46210 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x
) {
46211 return (void *)((wxEvent
*) ((wxSetCursorEvent
*) x
));
46213 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x
) {
46214 return (void *)((wxEvent
*) ((wxInitDialogEvent
*) x
));
46216 static void *_p_wxScrollEventTo_p_wxEvent(void *x
) {
46217 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxScrollEvent
*) x
));
46219 static void *_p_wxPyEventTo_p_wxEvent(void *x
) {
46220 return (void *)((wxEvent
*) ((wxPyEvent
*) x
));
46222 static void *_p_wxNotifyEventTo_p_wxEvent(void *x
) {
46223 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxNotifyEvent
*) x
));
46225 static void *_p_wxIdleEventTo_p_wxEvent(void *x
) {
46226 return (void *)((wxEvent
*) ((wxIdleEvent
*) x
));
46228 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x
) {
46229 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
46231 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x
) {
46232 return (void *)((wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
46234 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x
) {
46235 return (void *)((wxEvent
*) ((wxMaximizeEvent
*) x
));
46237 static void *_p_wxIconizeEventTo_p_wxEvent(void *x
) {
46238 return (void *)((wxEvent
*) ((wxIconizeEvent
*) x
));
46240 static void *_p_wxActivateEventTo_p_wxEvent(void *x
) {
46241 return (void *)((wxEvent
*) ((wxActivateEvent
*) x
));
46243 static void *_p_wxSizeEventTo_p_wxEvent(void *x
) {
46244 return (void *)((wxEvent
*) ((wxSizeEvent
*) x
));
46246 static void *_p_wxMoveEventTo_p_wxEvent(void *x
) {
46247 return (void *)((wxEvent
*) ((wxMoveEvent
*) x
));
46249 static void *_p_wxDateEventTo_p_wxEvent(void *x
) {
46250 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxDateEvent
*) x
));
46252 static void *_p_wxPaintEventTo_p_wxEvent(void *x
) {
46253 return (void *)((wxEvent
*) ((wxPaintEvent
*) x
));
46255 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x
) {
46256 return (void *)((wxEvent
*) ((wxNcPaintEvent
*) x
));
46258 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x
) {
46259 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
46261 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x
) {
46262 return (void *)((wxEvent
*) ((wxPaletteChangedEvent
*) x
));
46264 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x
) {
46265 return (void *)((wxEvent
*) ((wxDisplayChangedEvent
*) x
));
46267 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x
) {
46268 return (void *)((wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
46270 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x
) {
46271 return (void *)((wxEvent
*) ((wxSysColourChangedEvent
*) x
));
46273 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x
) {
46274 return (void *)((wxEvent
*) ((wxDropFilesEvent
*) x
));
46276 static void *_p_wxFocusEventTo_p_wxEvent(void *x
) {
46277 return (void *)((wxEvent
*) ((wxFocusEvent
*) x
));
46279 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x
) {
46280 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
46282 static void *_p_wxShowEventTo_p_wxEvent(void *x
) {
46283 return (void *)((wxEvent
*) ((wxShowEvent
*) x
));
46285 static void *_p_wxCommandEventTo_p_wxEvent(void *x
) {
46286 return (void *)((wxEvent
*) ((wxCommandEvent
*) x
));
46288 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x
) {
46289 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
46291 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x
) {
46292 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
46294 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x
) {
46295 return (void *)((wxEvent
*) ((wxNavigationKeyEvent
*) x
));
46297 static void *_p_wxKeyEventTo_p_wxEvent(void *x
) {
46298 return (void *)((wxEvent
*) ((wxKeyEvent
*) x
));
46300 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x
) {
46301 return (void *)((wxEvent
*) ((wxScrollWinEvent
*) x
));
46303 static void *_p_wxGridBagSizerTo_p_wxGridSizer(void *x
) {
46304 return (void *)((wxGridSizer
*) (wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
46306 static void *_p_wxFlexGridSizerTo_p_wxGridSizer(void *x
) {
46307 return (void *)((wxGridSizer
*) ((wxFlexGridSizer
*) x
));
46309 static void *_p_wxGridBagSizerTo_p_wxFlexGridSizer(void *x
) {
46310 return (void *)((wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
46312 static void *_p_wxControlWithItemsTo_p_wxItemContainer(void *x
) {
46313 return (void *)((wxItemContainer
*) ((wxControlWithItems
*) x
));
46315 static void *_p_wxControlWithItemsTo_p_wxControl(void *x
) {
46316 return (void *)((wxControl
*) ((wxControlWithItems
*) x
));
46318 static void *_p_wxControlTo_p_wxEvtHandler(void *x
) {
46319 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxControl
*) x
));
46321 static void *_p_wxWindowTo_p_wxEvtHandler(void *x
) {
46322 return (void *)((wxEvtHandler
*) ((wxWindow
*) x
));
46324 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x
) {
46325 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
46327 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x
) {
46328 return (void *)((wxEvtHandler
*) ((wxPyApp
*) x
));
46330 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x
) {
46331 return (void *)((wxEvtHandler
*) ((wxValidator
*) x
));
46333 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x
) {
46334 return (void *)((wxEvtHandler
*) (wxValidator
*) ((wxPyValidator
*) x
));
46336 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x
) {
46337 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMenuBar
*) x
));
46339 static void *_p_wxMenuTo_p_wxEvtHandler(void *x
) {
46340 return (void *)((wxEvtHandler
*) ((wxMenu
*) x
));
46342 static void *_p_wxANIHandlerTo_p_wxCURHandler(void *x
) {
46343 return (void *)((wxCURHandler
*) ((wxANIHandler
*) x
));
46345 static void *_p_wxCURHandlerTo_p_wxICOHandler(void *x
) {
46346 return (void *)((wxICOHandler
*) ((wxCURHandler
*) x
));
46348 static void *_p_wxANIHandlerTo_p_wxICOHandler(void *x
) {
46349 return (void *)((wxICOHandler
*) (wxCURHandler
*) ((wxANIHandler
*) x
));
46351 static void *_p_wxICOHandlerTo_p_wxBMPHandler(void *x
) {
46352 return (void *)((wxBMPHandler
*) ((wxICOHandler
*) x
));
46354 static void *_p_wxCURHandlerTo_p_wxBMPHandler(void *x
) {
46355 return (void *)((wxBMPHandler
*) (wxICOHandler
*) ((wxCURHandler
*) x
));
46357 static void *_p_wxANIHandlerTo_p_wxBMPHandler(void *x
) {
46358 return (void *)((wxBMPHandler
*) (wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
46360 static void *_p_wxBMPHandlerTo_p_wxImageHandler(void *x
) {
46361 return (void *)((wxImageHandler
*) ((wxBMPHandler
*) x
));
46363 static void *_p_wxICOHandlerTo_p_wxImageHandler(void *x
) {
46364 return (void *)((wxImageHandler
*) (wxBMPHandler
*) ((wxICOHandler
*) x
));
46366 static void *_p_wxCURHandlerTo_p_wxImageHandler(void *x
) {
46367 return (void *)((wxImageHandler
*) (wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
46369 static void *_p_wxANIHandlerTo_p_wxImageHandler(void *x
) {
46370 return (void *)((wxImageHandler
*) (wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
46372 static void *_p_wxPNGHandlerTo_p_wxImageHandler(void *x
) {
46373 return (void *)((wxImageHandler
*) ((wxPNGHandler
*) x
));
46375 static void *_p_wxGIFHandlerTo_p_wxImageHandler(void *x
) {
46376 return (void *)((wxImageHandler
*) ((wxGIFHandler
*) x
));
46378 static void *_p_wxPCXHandlerTo_p_wxImageHandler(void *x
) {
46379 return (void *)((wxImageHandler
*) ((wxPCXHandler
*) x
));
46381 static void *_p_wxJPEGHandlerTo_p_wxImageHandler(void *x
) {
46382 return (void *)((wxImageHandler
*) ((wxJPEGHandler
*) x
));
46384 static void *_p_wxPNMHandlerTo_p_wxImageHandler(void *x
) {
46385 return (void *)((wxImageHandler
*) ((wxPNMHandler
*) x
));
46387 static void *_p_wxXPMHandlerTo_p_wxImageHandler(void *x
) {
46388 return (void *)((wxImageHandler
*) ((wxXPMHandler
*) x
));
46390 static void *_p_wxTIFFHandlerTo_p_wxImageHandler(void *x
) {
46391 return (void *)((wxImageHandler
*) ((wxTIFFHandler
*) x
));
46393 static void *_p_wxPyFileSystemHandlerTo_p_wxFileSystemHandler(void *x
) {
46394 return (void *)((wxFileSystemHandler
*) ((wxPyFileSystemHandler
*) x
));
46396 static void *_p_wxInternetFSHandlerTo_p_wxFileSystemHandler(void *x
) {
46397 return (void *)((wxFileSystemHandler
*) ((wxInternetFSHandler
*) x
));
46399 static void *_p_wxZipFSHandlerTo_p_wxFileSystemHandler(void *x
) {
46400 return (void *)((wxFileSystemHandler
*) ((wxZipFSHandler
*) x
));
46402 static void *_p_wxMemoryFSHandlerTo_p_wxFileSystemHandler(void *x
) {
46403 return (void *)((wxFileSystemHandler
*) ((wxMemoryFSHandler
*) x
));
46405 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
46406 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
46408 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
46409 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
46411 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
46412 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
46414 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
46415 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
46417 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
46418 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
46420 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
46421 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
46423 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
46424 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
46426 static void *_p_wxSizerTo_p_wxObject(void *x
) {
46427 return (void *)((wxObject
*) ((wxSizer
*) x
));
46429 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
46430 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
46432 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
46433 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
46435 static void *_p_wxEventTo_p_wxObject(void *x
) {
46436 return (void *)((wxObject
*) ((wxEvent
*) x
));
46438 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
46439 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
46441 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
46442 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
46444 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
46445 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
46447 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
46448 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
46450 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
46451 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
46453 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
46454 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
46456 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
46457 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
46459 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
46460 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
46462 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
46463 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
46465 static void *_p_wxControlTo_p_wxObject(void *x
) {
46466 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
46468 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
46469 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
46471 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
46472 return (void *)((wxObject
*) ((wxFSFile
*) x
));
46474 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
46475 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
46477 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
46478 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
46480 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
46481 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
46483 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
46484 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
46486 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
46487 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
46489 static void *_p_wxDateEventTo_p_wxObject(void *x
) {
46490 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxDateEvent
*) x
));
46492 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
46493 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
46495 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
46496 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
46498 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
46499 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
46501 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
46502 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
46504 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
46505 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
46507 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
46508 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
46510 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
46511 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
46513 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
46514 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
46516 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
46517 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
46519 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
46520 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
46522 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
46523 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
46525 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
46526 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
46528 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
46529 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
46531 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
46532 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
46534 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
46535 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
46537 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
46538 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
46540 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
46541 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
46543 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
46544 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
46546 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
46547 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
46549 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
46550 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
46552 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
46553 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
46555 static void *_p_wxStdDialogButtonSizerTo_p_wxObject(void *x
) {
46556 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStdDialogButtonSizer
*) x
));
46558 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
46559 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
46561 static void *_p_wxImageTo_p_wxObject(void *x
) {
46562 return (void *)((wxObject
*) ((wxImage
*) x
));
46564 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
46565 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
46567 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
46568 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
46570 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
46571 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
46573 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
46574 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
46576 static void *_p_wxWindowTo_p_wxObject(void *x
) {
46577 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
46579 static void *_p_wxMenuTo_p_wxObject(void *x
) {
46580 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
46582 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
46583 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
46585 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
46586 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
46588 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
46589 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
46591 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
46592 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
46594 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
46595 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
46597 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
46598 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
46600 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
46601 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
46603 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
46604 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
46606 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
46607 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
46609 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
46610 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
46612 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
46613 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
46615 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
46616 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
46618 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
46619 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
46621 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
46622 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
46624 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
46625 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
46627 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
46628 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
46630 static void *_p_wxControlTo_p_wxWindow(void *x
) {
46631 return (void *)((wxWindow
*) ((wxControl
*) x
));
46633 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
46634 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
46636 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
46637 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
46639 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x
) {
46640 return (void *)((wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
46642 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x
) {
46643 return (void *)((wxCommandEvent
*) ((wxScrollEvent
*) x
));
46645 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x
) {
46646 return (void *)((wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
46648 static void *_p_wxDateEventTo_p_wxCommandEvent(void *x
) {
46649 return (void *)((wxCommandEvent
*) ((wxDateEvent
*) x
));
46651 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x
) {
46652 return (void *)((wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
46654 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x
) {
46655 return (void *)((wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
46657 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x
) {
46658 return (void *)((wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
46660 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x
) {
46661 return (void *)((wxCommandEvent
*) ((wxNotifyEvent
*) x
));
46663 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x
) {
46664 return (void *)((wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
46666 static void *_p_wxPyValidatorTo_p_wxValidator(void *x
) {
46667 return (void *)((wxValidator
*) ((wxPyValidator
*) x
));
46669 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}};
46670 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}};
46671 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}};
46672 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}};
46673 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}};
46674 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}};
46675 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}};
46676 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}};
46677 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}};
46678 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}};
46679 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}};
46680 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}};
46681 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}};
46682 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}};
46683 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}};
46684 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}};
46685 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}};
46686 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}};
46687 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}};
46688 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}};
46689 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}};
46690 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}};
46691 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}};
46692 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}};
46693 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}};
46694 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}};
46695 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}};
46696 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}};
46697 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}};
46698 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}};
46699 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}};
46700 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}};
46701 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}};
46702 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}};
46703 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}};
46704 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}};
46705 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}};
46706 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}};
46707 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}};
46708 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}};
46709 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}};
46710 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}};
46711 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}};
46712 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}};
46713 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}};
46714 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}};
46715 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}};
46716 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}};
46717 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}};
46718 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}};
46719 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}};
46720 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}};
46721 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}};
46722 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}};
46723 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}};
46724 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}};
46725 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}};
46726 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}};
46727 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}};
46728 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}};
46729 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}};
46730 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}};
46731 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}};
46732 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}};
46733 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}};
46734 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}};
46735 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}};
46736 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}};
46737 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}};
46738 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}};
46739 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}};
46740 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}};
46741 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}};
46742 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}};
46743 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}};
46744 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}};
46745 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}};
46746 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}};
46747 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}};
46748 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}};
46749 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}};
46750 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}};
46751 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}};
46752 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}};
46753 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}};
46754 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}};
46755 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}};
46756 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}};
46757 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}};
46758 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}};
46759 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}};
46760 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}};
46761 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}};
46762 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}};
46763 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}};
46764 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}};
46765 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}};
46766 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}};
46767 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}};
46768 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}};
46769 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}};
46770 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}};
46771 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}};
46772 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}};
46773 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}};
46774 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}};
46775 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}};
46776 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}};
46777 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}};
46778 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}};
46779 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}};
46780 static swig_type_info _swigt__p_unsigned_char
[] = {{"_p_unsigned_char", 0, "unsigned char *|byte *", 0, 0, 0, 0},{"_p_unsigned_char", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
46781 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}};
46782 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}};
46783 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}};
46784 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}};
46785 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}};
46786 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}};
46787 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}};
46788 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}};
46789 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}};
46790 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}};
46791 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}};
46792 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}};
46793 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}};
46794 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}};
46795 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}};
46797 static swig_type_info
*swig_types_initial
[] = {
46798 _swigt__p_wxLayoutConstraints
,
46799 _swigt__p_wxRealPoint
,
46800 _swigt__p_wxSizerItem
,
46801 _swigt__p_wxGBSizerItem
,
46802 _swigt__p_wxScrollEvent
,
46803 _swigt__p_wxEventLoop
,
46804 _swigt__p_wxIndividualLayoutConstraint
,
46806 _swigt__p_wxBoxSizer
,
46807 _swigt__p_wxStaticBoxSizer
,
46808 _swigt__p_wxGridBagSizer
,
46809 _swigt__p_wxAcceleratorEntry
,
46810 _swigt__p_wxUpdateUIEvent
,
46813 _swigt__p_wxGridSizer
,
46814 _swigt__p_wxFlexGridSizer
,
46815 _swigt__p_wxInitDialogEvent
,
46816 _swigt__p_wxItemContainer
,
46817 _swigt__p_wxNcPaintEvent
,
46818 _swigt__p_wxPaintEvent
,
46819 _swigt__p_wxSysColourChangedEvent
,
46820 _swigt__p_wxMouseCaptureChangedEvent
,
46821 _swigt__p_wxDisplayChangedEvent
,
46822 _swigt__p_wxPaletteChangedEvent
,
46823 _swigt__p_wxControl
,
46825 _swigt__p_wxMenuBarBase
,
46826 _swigt__p_wxSetCursorEvent
,
46827 _swigt__p_wxFSFile
,
46830 _swigt__std__ptrdiff_t
,
46831 _swigt__p_wxRegion
,
46832 _swigt__p_wxPoint2D
,
46836 _swigt__p_wxPySizer
,
46837 _swigt__p_wxVisualAttributes
,
46838 _swigt__p_wxNotifyEvent
,
46839 _swigt__p_wxPyEvent
,
46840 _swigt__p_wxPropagationDisabler
,
46841 _swigt__p_form_ops_t
,
46842 _swigt__p_wxAppTraits
,
46843 _swigt__p_wxArrayString
,
46844 _swigt__p_wxShowEvent
,
46845 _swigt__p_wxToolTip
,
46846 _swigt__p_wxMoveEvent
,
46847 _swigt__p_wxSizeEvent
,
46848 _swigt__p_wxActivateEvent
,
46849 _swigt__p_wxIconizeEvent
,
46850 _swigt__p_wxMaximizeEvent
,
46851 _swigt__p_wxQueryNewPaletteEvent
,
46852 _swigt__p_wxWindowCreateEvent
,
46853 _swigt__p_wxIdleEvent
,
46854 _swigt__p_wxDateEvent
,
46855 _swigt__p_wxMenuItem
,
46856 _swigt__p_wxStaticBox
,
46858 _swigt__p_wxDuplexMode
,
46859 _swigt__p_wxTIFFHandler
,
46860 _swigt__p_wxXPMHandler
,
46861 _swigt__p_wxPNMHandler
,
46862 _swigt__p_wxJPEGHandler
,
46863 _swigt__p_wxPCXHandler
,
46864 _swigt__p_wxGIFHandler
,
46865 _swigt__p_wxPNGHandler
,
46866 _swigt__p_wxANIHandler
,
46867 _swigt__p_wxMemoryFSHandler
,
46868 _swigt__p_wxZipFSHandler
,
46869 _swigt__p_wxInternetFSHandler
,
46870 _swigt__p_wxPyFileSystemHandler
,
46871 _swigt__p_wxEvtHandler
,
46872 _swigt__p_wxCURHandler
,
46873 _swigt__p_wxICOHandler
,
46874 _swigt__p_wxBMPHandler
,
46875 _swigt__p_wxImageHandler
,
46876 _swigt__p_wxFileSystemHandler
,
46878 _swigt__p_wxButton
,
46879 _swigt__p_wxGBSpan
,
46880 _swigt__p_wxPropagateOnce
,
46881 _swigt__p_wxAcceleratorTable
,
46882 _swigt__p_wxStdDialogButtonSizer
,
46884 _swigt__p_wxGBPosition
,
46887 _swigt__p_wxScrollWinEvent
,
46888 _swigt__p_wxPaperSize
,
46889 _swigt__p_wxImageHistogram
,
46891 _swigt__p_wxCursor
,
46892 _swigt__p_wxObject
,
46893 _swigt__p_wxInputStream
,
46894 _swigt__p_wxOutputStream
,
46895 _swigt__p_wxPyInputStream
,
46896 _swigt__p_wxDateTime
,
46897 _swigt__p_wxKeyEvent
,
46898 _swigt__p_wxNavigationKeyEvent
,
46899 _swigt__p_wxWindowDestroyEvent
,
46900 _swigt__p_unsigned_long
,
46901 _swigt__p_wxWindow
,
46902 _swigt__p_wxMenuBar
,
46903 _swigt__p_wxFileSystem
,
46904 _swigt__p_wxBitmap
,
46905 _swigt__unsigned_int
,
46906 _swigt__p_unsigned_int
,
46907 _swigt__p_wxMenuEvent
,
46908 _swigt__p_wxContextMenuEvent
,
46909 _swigt__p_unsigned_char
,
46910 _swigt__p_wxEraseEvent
,
46911 _swigt__p_wxMouseEvent
,
46912 _swigt__p_wxCloseEvent
,
46914 _swigt__p_wxCommandEvent
,
46915 _swigt__p_wxPyCommandEvent
,
46916 _swigt__p_wxPyDropTarget
,
46917 _swigt__p_wxQuantize
,
46918 _swigt__p_wxChildFocusEvent
,
46919 _swigt__p_wxFocusEvent
,
46920 _swigt__p_wxDropFilesEvent
,
46921 _swigt__p_wxControlWithItems
,
46922 _swigt__p_wxColour
,
46923 _swigt__p_wxValidator
,
46924 _swigt__p_wxPyValidator
,
46929 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
46931 static swig_const_info swig_const_table
[] = {
46932 {0, 0, 0, 0.0, 0, 0}};
46943 /* Python-specific SWIG API */
46944 #define SWIG_newvarlink() SWIG_Python_newvarlink()
46945 #define SWIG_addvarlink(p, name, get_attr, set_attr) SWIG_Python_addvarlink(p, name, get_attr, set_attr)
46946 #define SWIG_InstallConstants(d, constants) SWIG_Python_InstallConstants(d, constants)
46948 /* -----------------------------------------------------------------------------
46949 * global variable support code.
46950 * ----------------------------------------------------------------------------- */
46952 typedef struct swig_globalvar
{
46953 char *name
; /* Name of global variable */
46954 PyObject
*(*get_attr
)(); /* Return the current value */
46955 int (*set_attr
)(PyObject
*); /* Set the value */
46956 struct swig_globalvar
*next
;
46959 typedef struct swig_varlinkobject
{
46961 swig_globalvar
*vars
;
46962 } swig_varlinkobject
;
46965 swig_varlink_repr(swig_varlinkobject
*v
) {
46967 return PyString_FromString("<Swig global variables>");
46971 swig_varlink_print(swig_varlinkobject
*v
, FILE *fp
, int flags
) {
46972 swig_globalvar
*var
;
46974 fprintf(fp
,"Swig global variables { ");
46975 for (var
= v
->vars
; var
; var
=var
->next
) {
46976 fprintf(fp
,"%s", var
->name
);
46977 if (var
->next
) fprintf(fp
,", ");
46979 fprintf(fp
," }\n");
46984 swig_varlink_getattr(swig_varlinkobject
*v
, char *n
) {
46985 swig_globalvar
*var
= v
->vars
;
46987 if (strcmp(var
->name
,n
) == 0) {
46988 return (*var
->get_attr
)();
46992 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
46997 swig_varlink_setattr(swig_varlinkobject
*v
, char *n
, PyObject
*p
) {
46998 swig_globalvar
*var
= v
->vars
;
47000 if (strcmp(var
->name
,n
) == 0) {
47001 return (*var
->set_attr
)(p
);
47005 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
47009 static PyTypeObject varlinktype
= {
47010 PyObject_HEAD_INIT(0)
47011 0, /* Number of items in variable part (ob_size) */
47012 (char *)"swigvarlink", /* Type name (tp_name) */
47013 sizeof(swig_varlinkobject
), /* Basic size (tp_basicsize) */
47014 0, /* Itemsize (tp_itemsize) */
47015 0, /* Deallocator (tp_dealloc) */
47016 (printfunc
) swig_varlink_print
, /* Print (tp_print) */
47017 (getattrfunc
) swig_varlink_getattr
, /* get attr (tp_getattr) */
47018 (setattrfunc
) swig_varlink_setattr
, /* Set attr (tp_setattr) */
47019 0, /* tp_compare */
47020 (reprfunc
) swig_varlink_repr
, /* tp_repr */
47021 0, /* tp_as_number */
47022 0, /* tp_as_sequence */
47023 0, /* tp_as_mapping */
47027 0, /* tp_getattro */
47028 0, /* tp_setattro */
47029 0, /* tp_as_buffer */
47032 #if PY_VERSION_HEX >= 0x02000000
47033 0, /* tp_traverse */
47036 #if PY_VERSION_HEX >= 0x02010000
47037 0, /* tp_richcompare */
47038 0, /* tp_weaklistoffset */
47040 #if PY_VERSION_HEX >= 0x02020000
47041 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
47043 #if PY_VERSION_HEX >= 0x02030000
47046 #ifdef COUNT_ALLOCS
47047 0,0,0,0 /* tp_alloc -> tp_next */
47051 /* Create a variable linking object for use later */
47053 SWIG_Python_newvarlink(void) {
47054 swig_varlinkobject
*result
= 0;
47055 result
= PyMem_NEW(swig_varlinkobject
,1);
47056 varlinktype
.ob_type
= &PyType_Type
; /* Patch varlinktype into a PyType */
47057 result
->ob_type
= &varlinktype
;
47059 result
->ob_refcnt
= 0;
47060 Py_XINCREF((PyObject
*) result
);
47061 return ((PyObject
*) result
);
47065 SWIG_Python_addvarlink(PyObject
*p
, char *name
, PyObject
*(*get_attr
)(void), int (*set_attr
)(PyObject
*p
)) {
47066 swig_varlinkobject
*v
;
47067 swig_globalvar
*gv
;
47068 v
= (swig_varlinkobject
*) p
;
47069 gv
= (swig_globalvar
*) malloc(sizeof(swig_globalvar
));
47070 gv
->name
= (char *) malloc(strlen(name
)+1);
47071 strcpy(gv
->name
,name
);
47072 gv
->get_attr
= get_attr
;
47073 gv
->set_attr
= set_attr
;
47074 gv
->next
= v
->vars
;
47078 /* -----------------------------------------------------------------------------
47079 * constants/methods manipulation
47080 * ----------------------------------------------------------------------------- */
47082 /* Install Constants */
47084 SWIG_Python_InstallConstants(PyObject
*d
, swig_const_info constants
[]) {
47087 for (i
= 0; constants
[i
].type
; i
++) {
47088 switch(constants
[i
].type
) {
47090 obj
= PyInt_FromLong(constants
[i
].lvalue
);
47092 case SWIG_PY_FLOAT
:
47093 obj
= PyFloat_FromDouble(constants
[i
].dvalue
);
47095 case SWIG_PY_STRING
:
47096 if (constants
[i
].pvalue
) {
47097 obj
= PyString_FromString((char *) constants
[i
].pvalue
);
47099 Py_INCREF(Py_None
);
47103 case SWIG_PY_POINTER
:
47104 obj
= SWIG_NewPointerObj(constants
[i
].pvalue
, *(constants
[i
]).ptype
,0);
47106 case SWIG_PY_BINARY
:
47107 obj
= SWIG_NewPackedObj(constants
[i
].pvalue
, constants
[i
].lvalue
, *(constants
[i
].ptype
));
47114 PyDict_SetItemString(d
,constants
[i
].name
,obj
);
47120 /* -----------------------------------------------------------------------------*/
47121 /* Fix SwigMethods to carry the callback ptrs when needed */
47122 /* -----------------------------------------------------------------------------*/
47125 SWIG_Python_FixMethods(PyMethodDef
*methods
,
47126 swig_const_info
*const_table
,
47127 swig_type_info
**types
,
47128 swig_type_info
**types_initial
) {
47130 for (i
= 0; methods
[i
].ml_name
; ++i
) {
47131 char *c
= methods
[i
].ml_doc
;
47132 if (c
&& (c
= strstr(c
, "swig_ptr: "))) {
47134 swig_const_info
*ci
= 0;
47135 char *name
= c
+ 10;
47136 for (j
= 0; const_table
[j
].type
; j
++) {
47137 if (strncmp(const_table
[j
].name
, name
,
47138 strlen(const_table
[j
].name
)) == 0) {
47139 ci
= &(const_table
[j
]);
47144 size_t shift
= (ci
->ptype
) - types
;
47145 swig_type_info
*ty
= types_initial
[shift
];
47146 size_t ldoc
= (c
- methods
[i
].ml_doc
);
47147 size_t lptr
= strlen(ty
->name
)+2*sizeof(void*)+2;
47148 char *ndoc
= (char*)malloc(ldoc
+ lptr
+ 10);
47150 void *ptr
= (ci
->type
== SWIG_PY_POINTER
) ? ci
->pvalue
: (void *)(ci
->lvalue
);
47151 strncpy(buff
, methods
[i
].ml_doc
, ldoc
);
47153 strncpy(buff
, "swig_ptr: ", 10);
47155 SWIG_PackVoidPtr(buff
, ptr
, ty
->name
, lptr
);
47156 methods
[i
].ml_doc
= ndoc
;
47162 /* -----------------------------------------------------------------------------*
47163 * Initialize type list
47164 * -----------------------------------------------------------------------------*/
47166 #if PY_MAJOR_VERSION < 2
47167 /* PyModule_AddObject function was introduced in Python 2.0. The following function
47168 is copied out of Python/modsupport.c in python version 2.3.4 */
47170 PyModule_AddObject(PyObject
*m
, char *name
, PyObject
*o
)
47173 if (!PyModule_Check(m
)) {
47174 PyErr_SetString(PyExc_TypeError
,
47175 "PyModule_AddObject() needs module as first arg");
47179 PyErr_SetString(PyExc_TypeError
,
47180 "PyModule_AddObject() needs non-NULL value");
47184 dict
= PyModule_GetDict(m
);
47185 if (dict
== NULL
) {
47186 /* Internal error -- modules must have a dict! */
47187 PyErr_Format(PyExc_SystemError
, "module '%s' has no __dict__",
47188 PyModule_GetName(m
));
47191 if (PyDict_SetItemString(dict
, name
, o
))
47198 static swig_type_info
**
47199 SWIG_Python_SetTypeListHandle(swig_type_info
**type_list_handle
) {
47200 static PyMethodDef swig_empty_runtime_method_table
[] = {
47202 NULL
, NULL
, 0, NULL
47206 PyObject
*module = Py_InitModule((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION
,
47207 swig_empty_runtime_method_table
);
47208 PyObject
*pointer
= PyCObject_FromVoidPtr((void *) type_list_handle
, NULL
);
47209 if (pointer
&& module) {
47210 PyModule_AddObject(module, (char*)"type_pointer" SWIG_TYPE_TABLE_NAME
, pointer
);
47212 return type_list_handle
;
47215 static swig_type_info
**
47216 SWIG_Python_LookupTypePointer(swig_type_info
**type_list_handle
) {
47217 swig_type_info
**type_pointer
;
47219 /* first check if module already created */
47220 type_pointer
= SWIG_Python_GetTypeListHandle();
47221 if (type_pointer
) {
47222 return type_pointer
;
47224 /* create a new module and variable */
47225 return SWIG_Python_SetTypeListHandle(type_list_handle
);
47233 /* -----------------------------------------------------------------------------*
47234 * Partial Init method
47235 * -----------------------------------------------------------------------------*/
47237 #ifdef SWIG_LINK_RUNTIME
47241 SWIGEXPORT(void *) SWIG_ReturnGlobalTypeList(void *);
47247 SWIGEXPORT(void) SWIG_init(void) {
47248 static PyObject
*SWIG_globals
= 0;
47249 static int typeinit
= 0;
47252 if (!SWIG_globals
) SWIG_globals
= SWIG_newvarlink();
47254 /* Fix SwigMethods to carry the callback ptrs when needed */
47255 SWIG_Python_FixMethods(SwigMethods
, swig_const_table
, swig_types
, swig_types_initial
);
47257 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
47258 d
= PyModule_GetDict(m
);
47261 #ifdef SWIG_LINK_RUNTIME
47262 swig_type_list_handle
= (swig_type_info
**) SWIG_ReturnGlobalTypeList(swig_type_list_handle
);
47264 # ifndef SWIG_STATIC_RUNTIME
47265 swig_type_list_handle
= SWIG_Python_LookupTypePointer(swig_type_list_handle
);
47268 for (i
= 0; swig_types_initial
[i
]; i
++) {
47269 swig_types
[i
] = SWIG_TypeRegister(swig_types_initial
[i
]);
47273 SWIG_InstallConstants(d
,swig_const_table
);
47276 #ifndef wxPyUSE_EXPORT
47277 // Make our API structure a CObject so other modules can import it
47278 // from this module.
47279 PyObject
* cobj
= PyCObject_FromVoidPtr(&API
, NULL
);
47280 PyDict_SetItemString(d
,"_wxPyCoreAPI", cobj
);
47285 PyDict_SetItemString(d
,"NOT_FOUND", SWIG_From_int((int)(wxNOT_FOUND
)));
47288 PyDict_SetItemString(d
,"VSCROLL", SWIG_From_int((int)(wxVSCROLL
)));
47291 PyDict_SetItemString(d
,"HSCROLL", SWIG_From_int((int)(wxHSCROLL
)));
47294 PyDict_SetItemString(d
,"CAPTION", SWIG_From_int((int)(wxCAPTION
)));
47297 PyDict_SetItemString(d
,"DOUBLE_BORDER", SWIG_From_int((int)(wxDOUBLE_BORDER
)));
47300 PyDict_SetItemString(d
,"SUNKEN_BORDER", SWIG_From_int((int)(wxSUNKEN_BORDER
)));
47303 PyDict_SetItemString(d
,"RAISED_BORDER", SWIG_From_int((int)(wxRAISED_BORDER
)));
47306 PyDict_SetItemString(d
,"BORDER", SWIG_From_int((int)(wxBORDER
)));
47309 PyDict_SetItemString(d
,"SIMPLE_BORDER", SWIG_From_int((int)(wxSIMPLE_BORDER
)));
47312 PyDict_SetItemString(d
,"STATIC_BORDER", SWIG_From_int((int)(wxSTATIC_BORDER
)));
47315 PyDict_SetItemString(d
,"TRANSPARENT_WINDOW", SWIG_From_int((int)(wxTRANSPARENT_WINDOW
)));
47318 PyDict_SetItemString(d
,"NO_BORDER", SWIG_From_int((int)(wxNO_BORDER
)));
47321 PyDict_SetItemString(d
,"TAB_TRAVERSAL", SWIG_From_int((int)(wxTAB_TRAVERSAL
)));
47324 PyDict_SetItemString(d
,"WANTS_CHARS", SWIG_From_int((int)(wxWANTS_CHARS
)));
47327 PyDict_SetItemString(d
,"POPUP_WINDOW", SWIG_From_int((int)(wxPOPUP_WINDOW
)));
47330 PyDict_SetItemString(d
,"CENTER_FRAME", SWIG_From_int((int)(wxCENTER_FRAME
)));
47333 PyDict_SetItemString(d
,"CENTRE_ON_SCREEN", SWIG_From_int((int)(wxCENTRE_ON_SCREEN
)));
47336 PyDict_SetItemString(d
,"CENTER_ON_SCREEN", SWIG_From_int((int)(wxCENTER_ON_SCREEN
)));
47339 PyDict_SetItemString(d
,"ED_CLIENT_MARGIN", SWIG_From_int((int)(wxED_CLIENT_MARGIN
)));
47342 PyDict_SetItemString(d
,"ED_BUTTONS_BOTTOM", SWIG_From_int((int)(wxED_BUTTONS_BOTTOM
)));
47345 PyDict_SetItemString(d
,"ED_BUTTONS_RIGHT", SWIG_From_int((int)(wxED_BUTTONS_RIGHT
)));
47348 PyDict_SetItemString(d
,"ED_STATIC_LINE", SWIG_From_int((int)(wxED_STATIC_LINE
)));
47351 PyDict_SetItemString(d
,"EXT_DIALOG_STYLE", SWIG_From_int((int)(wxEXT_DIALOG_STYLE
)));
47354 PyDict_SetItemString(d
,"CLIP_CHILDREN", SWIG_From_int((int)(wxCLIP_CHILDREN
)));
47357 PyDict_SetItemString(d
,"CLIP_SIBLINGS", SWIG_From_int((int)(wxCLIP_SIBLINGS
)));
47360 PyDict_SetItemString(d
,"ALWAYS_SHOW_SB", SWIG_From_int((int)(wxALWAYS_SHOW_SB
)));
47363 PyDict_SetItemString(d
,"RETAINED", SWIG_From_int((int)(wxRETAINED
)));
47366 PyDict_SetItemString(d
,"BACKINGSTORE", SWIG_From_int((int)(wxBACKINGSTORE
)));
47369 PyDict_SetItemString(d
,"COLOURED", SWIG_From_int((int)(wxCOLOURED
)));
47372 PyDict_SetItemString(d
,"FIXED_LENGTH", SWIG_From_int((int)(wxFIXED_LENGTH
)));
47375 PyDict_SetItemString(d
,"LB_NEEDED_SB", SWIG_From_int((int)(wxLB_NEEDED_SB
)));
47378 PyDict_SetItemString(d
,"LB_ALWAYS_SB", SWIG_From_int((int)(wxLB_ALWAYS_SB
)));
47381 PyDict_SetItemString(d
,"LB_SORT", SWIG_From_int((int)(wxLB_SORT
)));
47384 PyDict_SetItemString(d
,"LB_SINGLE", SWIG_From_int((int)(wxLB_SINGLE
)));
47387 PyDict_SetItemString(d
,"LB_MULTIPLE", SWIG_From_int((int)(wxLB_MULTIPLE
)));
47390 PyDict_SetItemString(d
,"LB_EXTENDED", SWIG_From_int((int)(wxLB_EXTENDED
)));
47393 PyDict_SetItemString(d
,"LB_OWNERDRAW", SWIG_From_int((int)(wxLB_OWNERDRAW
)));
47396 PyDict_SetItemString(d
,"LB_HSCROLL", SWIG_From_int((int)(wxLB_HSCROLL
)));
47399 PyDict_SetItemString(d
,"PROCESS_ENTER", SWIG_From_int((int)(wxPROCESS_ENTER
)));
47402 PyDict_SetItemString(d
,"PASSWORD", SWIG_From_int((int)(wxPASSWORD
)));
47405 PyDict_SetItemString(d
,"CB_SIMPLE", SWIG_From_int((int)(wxCB_SIMPLE
)));
47408 PyDict_SetItemString(d
,"CB_DROPDOWN", SWIG_From_int((int)(wxCB_DROPDOWN
)));
47411 PyDict_SetItemString(d
,"CB_SORT", SWIG_From_int((int)(wxCB_SORT
)));
47414 PyDict_SetItemString(d
,"CB_READONLY", SWIG_From_int((int)(wxCB_READONLY
)));
47417 PyDict_SetItemString(d
,"RA_HORIZONTAL", SWIG_From_int((int)(wxRA_HORIZONTAL
)));
47420 PyDict_SetItemString(d
,"RA_VERTICAL", SWIG_From_int((int)(wxRA_VERTICAL
)));
47423 PyDict_SetItemString(d
,"RA_SPECIFY_ROWS", SWIG_From_int((int)(wxRA_SPECIFY_ROWS
)));
47426 PyDict_SetItemString(d
,"RA_SPECIFY_COLS", SWIG_From_int((int)(wxRA_SPECIFY_COLS
)));
47429 PyDict_SetItemString(d
,"RA_USE_CHECKBOX", SWIG_From_int((int)(wxRA_USE_CHECKBOX
)));
47432 PyDict_SetItemString(d
,"RB_GROUP", SWIG_From_int((int)(wxRB_GROUP
)));
47435 PyDict_SetItemString(d
,"RB_SINGLE", SWIG_From_int((int)(wxRB_SINGLE
)));
47438 PyDict_SetItemString(d
,"SB_HORIZONTAL", SWIG_From_int((int)(wxSB_HORIZONTAL
)));
47441 PyDict_SetItemString(d
,"SB_VERTICAL", SWIG_From_int((int)(wxSB_VERTICAL
)));
47444 PyDict_SetItemString(d
,"RB_USE_CHECKBOX", SWIG_From_int((int)(wxRB_USE_CHECKBOX
)));
47447 PyDict_SetItemString(d
,"ST_SIZEGRIP", SWIG_From_int((int)(wxST_SIZEGRIP
)));
47450 PyDict_SetItemString(d
,"ST_NO_AUTORESIZE", SWIG_From_int((int)(wxST_NO_AUTORESIZE
)));
47453 PyDict_SetItemString(d
,"FLOOD_SURFACE", SWIG_From_int((int)(wxFLOOD_SURFACE
)));
47456 PyDict_SetItemString(d
,"FLOOD_BORDER", SWIG_From_int((int)(wxFLOOD_BORDER
)));
47459 PyDict_SetItemString(d
,"ODDEVEN_RULE", SWIG_From_int((int)(wxODDEVEN_RULE
)));
47462 PyDict_SetItemString(d
,"WINDING_RULE", SWIG_From_int((int)(wxWINDING_RULE
)));
47465 PyDict_SetItemString(d
,"TOOL_TOP", SWIG_From_int((int)(wxTOOL_TOP
)));
47468 PyDict_SetItemString(d
,"TOOL_BOTTOM", SWIG_From_int((int)(wxTOOL_BOTTOM
)));
47471 PyDict_SetItemString(d
,"TOOL_LEFT", SWIG_From_int((int)(wxTOOL_LEFT
)));
47474 PyDict_SetItemString(d
,"TOOL_RIGHT", SWIG_From_int((int)(wxTOOL_RIGHT
)));
47477 PyDict_SetItemString(d
,"OK", SWIG_From_int((int)(wxOK
)));
47480 PyDict_SetItemString(d
,"YES_NO", SWIG_From_int((int)(wxYES_NO
)));
47483 PyDict_SetItemString(d
,"CANCEL", SWIG_From_int((int)(wxCANCEL
)));
47486 PyDict_SetItemString(d
,"YES", SWIG_From_int((int)(wxYES
)));
47489 PyDict_SetItemString(d
,"NO", SWIG_From_int((int)(wxNO
)));
47492 PyDict_SetItemString(d
,"NO_DEFAULT", SWIG_From_int((int)(wxNO_DEFAULT
)));
47495 PyDict_SetItemString(d
,"YES_DEFAULT", SWIG_From_int((int)(wxYES_DEFAULT
)));
47498 PyDict_SetItemString(d
,"ICON_EXCLAMATION", SWIG_From_int((int)(wxICON_EXCLAMATION
)));
47501 PyDict_SetItemString(d
,"ICON_HAND", SWIG_From_int((int)(wxICON_HAND
)));
47504 PyDict_SetItemString(d
,"ICON_QUESTION", SWIG_From_int((int)(wxICON_QUESTION
)));
47507 PyDict_SetItemString(d
,"ICON_INFORMATION", SWIG_From_int((int)(wxICON_INFORMATION
)));
47510 PyDict_SetItemString(d
,"ICON_STOP", SWIG_From_int((int)(wxICON_STOP
)));
47513 PyDict_SetItemString(d
,"ICON_ASTERISK", SWIG_From_int((int)(wxICON_ASTERISK
)));
47516 PyDict_SetItemString(d
,"ICON_MASK", SWIG_From_int((int)(wxICON_MASK
)));
47519 PyDict_SetItemString(d
,"ICON_WARNING", SWIG_From_int((int)(wxICON_WARNING
)));
47522 PyDict_SetItemString(d
,"ICON_ERROR", SWIG_From_int((int)(wxICON_ERROR
)));
47525 PyDict_SetItemString(d
,"FORWARD", SWIG_From_int((int)(wxFORWARD
)));
47528 PyDict_SetItemString(d
,"BACKWARD", SWIG_From_int((int)(wxBACKWARD
)));
47531 PyDict_SetItemString(d
,"RESET", SWIG_From_int((int)(wxRESET
)));
47534 PyDict_SetItemString(d
,"HELP", SWIG_From_int((int)(wxHELP
)));
47537 PyDict_SetItemString(d
,"MORE", SWIG_From_int((int)(wxMORE
)));
47540 PyDict_SetItemString(d
,"SETUP", SWIG_From_int((int)(wxSETUP
)));
47543 PyDict_SetItemString(d
,"SIZE_AUTO_WIDTH", SWIG_From_int((int)(wxSIZE_AUTO_WIDTH
)));
47546 PyDict_SetItemString(d
,"SIZE_AUTO_HEIGHT", SWIG_From_int((int)(wxSIZE_AUTO_HEIGHT
)));
47549 PyDict_SetItemString(d
,"SIZE_AUTO", SWIG_From_int((int)(wxSIZE_AUTO
)));
47552 PyDict_SetItemString(d
,"SIZE_USE_EXISTING", SWIG_From_int((int)(wxSIZE_USE_EXISTING
)));
47555 PyDict_SetItemString(d
,"SIZE_ALLOW_MINUS_ONE", SWIG_From_int((int)(wxSIZE_ALLOW_MINUS_ONE
)));
47558 PyDict_SetItemString(d
,"PORTRAIT", SWIG_From_int((int)(wxPORTRAIT
)));
47561 PyDict_SetItemString(d
,"LANDSCAPE", SWIG_From_int((int)(wxLANDSCAPE
)));
47564 PyDict_SetItemString(d
,"PRINT_QUALITY_HIGH", SWIG_From_int((int)(wxPRINT_QUALITY_HIGH
)));
47567 PyDict_SetItemString(d
,"PRINT_QUALITY_MEDIUM", SWIG_From_int((int)(wxPRINT_QUALITY_MEDIUM
)));
47570 PyDict_SetItemString(d
,"PRINT_QUALITY_LOW", SWIG_From_int((int)(wxPRINT_QUALITY_LOW
)));
47573 PyDict_SetItemString(d
,"PRINT_QUALITY_DRAFT", SWIG_From_int((int)(wxPRINT_QUALITY_DRAFT
)));
47576 PyDict_SetItemString(d
,"ID_ANY", SWIG_From_int((int)(wxID_ANY
)));
47579 PyDict_SetItemString(d
,"ID_SEPARATOR", SWIG_From_int((int)(wxID_SEPARATOR
)));
47582 PyDict_SetItemString(d
,"ID_LOWEST", SWIG_From_int((int)(wxID_LOWEST
)));
47585 PyDict_SetItemString(d
,"ID_OPEN", SWIG_From_int((int)(wxID_OPEN
)));
47588 PyDict_SetItemString(d
,"ID_CLOSE", SWIG_From_int((int)(wxID_CLOSE
)));
47591 PyDict_SetItemString(d
,"ID_NEW", SWIG_From_int((int)(wxID_NEW
)));
47594 PyDict_SetItemString(d
,"ID_SAVE", SWIG_From_int((int)(wxID_SAVE
)));
47597 PyDict_SetItemString(d
,"ID_SAVEAS", SWIG_From_int((int)(wxID_SAVEAS
)));
47600 PyDict_SetItemString(d
,"ID_REVERT", SWIG_From_int((int)(wxID_REVERT
)));
47603 PyDict_SetItemString(d
,"ID_EXIT", SWIG_From_int((int)(wxID_EXIT
)));
47606 PyDict_SetItemString(d
,"ID_UNDO", SWIG_From_int((int)(wxID_UNDO
)));
47609 PyDict_SetItemString(d
,"ID_REDO", SWIG_From_int((int)(wxID_REDO
)));
47612 PyDict_SetItemString(d
,"ID_HELP", SWIG_From_int((int)(wxID_HELP
)));
47615 PyDict_SetItemString(d
,"ID_PRINT", SWIG_From_int((int)(wxID_PRINT
)));
47618 PyDict_SetItemString(d
,"ID_PRINT_SETUP", SWIG_From_int((int)(wxID_PRINT_SETUP
)));
47621 PyDict_SetItemString(d
,"ID_PREVIEW", SWIG_From_int((int)(wxID_PREVIEW
)));
47624 PyDict_SetItemString(d
,"ID_ABOUT", SWIG_From_int((int)(wxID_ABOUT
)));
47627 PyDict_SetItemString(d
,"ID_HELP_CONTENTS", SWIG_From_int((int)(wxID_HELP_CONTENTS
)));
47630 PyDict_SetItemString(d
,"ID_HELP_COMMANDS", SWIG_From_int((int)(wxID_HELP_COMMANDS
)));
47633 PyDict_SetItemString(d
,"ID_HELP_PROCEDURES", SWIG_From_int((int)(wxID_HELP_PROCEDURES
)));
47636 PyDict_SetItemString(d
,"ID_HELP_CONTEXT", SWIG_From_int((int)(wxID_HELP_CONTEXT
)));
47639 PyDict_SetItemString(d
,"ID_CLOSE_ALL", SWIG_From_int((int)(wxID_CLOSE_ALL
)));
47642 PyDict_SetItemString(d
,"ID_PREFERENCES", SWIG_From_int((int)(wxID_PREFERENCES
)));
47645 PyDict_SetItemString(d
,"ID_CUT", SWIG_From_int((int)(wxID_CUT
)));
47648 PyDict_SetItemString(d
,"ID_COPY", SWIG_From_int((int)(wxID_COPY
)));
47651 PyDict_SetItemString(d
,"ID_PASTE", SWIG_From_int((int)(wxID_PASTE
)));
47654 PyDict_SetItemString(d
,"ID_CLEAR", SWIG_From_int((int)(wxID_CLEAR
)));
47657 PyDict_SetItemString(d
,"ID_FIND", SWIG_From_int((int)(wxID_FIND
)));
47660 PyDict_SetItemString(d
,"ID_DUPLICATE", SWIG_From_int((int)(wxID_DUPLICATE
)));
47663 PyDict_SetItemString(d
,"ID_SELECTALL", SWIG_From_int((int)(wxID_SELECTALL
)));
47666 PyDict_SetItemString(d
,"ID_DELETE", SWIG_From_int((int)(wxID_DELETE
)));
47669 PyDict_SetItemString(d
,"ID_REPLACE", SWIG_From_int((int)(wxID_REPLACE
)));
47672 PyDict_SetItemString(d
,"ID_REPLACE_ALL", SWIG_From_int((int)(wxID_REPLACE_ALL
)));
47675 PyDict_SetItemString(d
,"ID_PROPERTIES", SWIG_From_int((int)(wxID_PROPERTIES
)));
47678 PyDict_SetItemString(d
,"ID_VIEW_DETAILS", SWIG_From_int((int)(wxID_VIEW_DETAILS
)));
47681 PyDict_SetItemString(d
,"ID_VIEW_LARGEICONS", SWIG_From_int((int)(wxID_VIEW_LARGEICONS
)));
47684 PyDict_SetItemString(d
,"ID_VIEW_SMALLICONS", SWIG_From_int((int)(wxID_VIEW_SMALLICONS
)));
47687 PyDict_SetItemString(d
,"ID_VIEW_LIST", SWIG_From_int((int)(wxID_VIEW_LIST
)));
47690 PyDict_SetItemString(d
,"ID_VIEW_SORTDATE", SWIG_From_int((int)(wxID_VIEW_SORTDATE
)));
47693 PyDict_SetItemString(d
,"ID_VIEW_SORTNAME", SWIG_From_int((int)(wxID_VIEW_SORTNAME
)));
47696 PyDict_SetItemString(d
,"ID_VIEW_SORTSIZE", SWIG_From_int((int)(wxID_VIEW_SORTSIZE
)));
47699 PyDict_SetItemString(d
,"ID_VIEW_SORTTYPE", SWIG_From_int((int)(wxID_VIEW_SORTTYPE
)));
47702 PyDict_SetItemString(d
,"ID_FILE1", SWIG_From_int((int)(wxID_FILE1
)));
47705 PyDict_SetItemString(d
,"ID_FILE2", SWIG_From_int((int)(wxID_FILE2
)));
47708 PyDict_SetItemString(d
,"ID_FILE3", SWIG_From_int((int)(wxID_FILE3
)));
47711 PyDict_SetItemString(d
,"ID_FILE4", SWIG_From_int((int)(wxID_FILE4
)));
47714 PyDict_SetItemString(d
,"ID_FILE5", SWIG_From_int((int)(wxID_FILE5
)));
47717 PyDict_SetItemString(d
,"ID_FILE6", SWIG_From_int((int)(wxID_FILE6
)));
47720 PyDict_SetItemString(d
,"ID_FILE7", SWIG_From_int((int)(wxID_FILE7
)));
47723 PyDict_SetItemString(d
,"ID_FILE8", SWIG_From_int((int)(wxID_FILE8
)));
47726 PyDict_SetItemString(d
,"ID_FILE9", SWIG_From_int((int)(wxID_FILE9
)));
47729 PyDict_SetItemString(d
,"ID_OK", SWIG_From_int((int)(wxID_OK
)));
47732 PyDict_SetItemString(d
,"ID_CANCEL", SWIG_From_int((int)(wxID_CANCEL
)));
47735 PyDict_SetItemString(d
,"ID_APPLY", SWIG_From_int((int)(wxID_APPLY
)));
47738 PyDict_SetItemString(d
,"ID_YES", SWIG_From_int((int)(wxID_YES
)));
47741 PyDict_SetItemString(d
,"ID_NO", SWIG_From_int((int)(wxID_NO
)));
47744 PyDict_SetItemString(d
,"ID_STATIC", SWIG_From_int((int)(wxID_STATIC
)));
47747 PyDict_SetItemString(d
,"ID_FORWARD", SWIG_From_int((int)(wxID_FORWARD
)));
47750 PyDict_SetItemString(d
,"ID_BACKWARD", SWIG_From_int((int)(wxID_BACKWARD
)));
47753 PyDict_SetItemString(d
,"ID_DEFAULT", SWIG_From_int((int)(wxID_DEFAULT
)));
47756 PyDict_SetItemString(d
,"ID_MORE", SWIG_From_int((int)(wxID_MORE
)));
47759 PyDict_SetItemString(d
,"ID_SETUP", SWIG_From_int((int)(wxID_SETUP
)));
47762 PyDict_SetItemString(d
,"ID_RESET", SWIG_From_int((int)(wxID_RESET
)));
47765 PyDict_SetItemString(d
,"ID_CONTEXT_HELP", SWIG_From_int((int)(wxID_CONTEXT_HELP
)));
47768 PyDict_SetItemString(d
,"ID_YESTOALL", SWIG_From_int((int)(wxID_YESTOALL
)));
47771 PyDict_SetItemString(d
,"ID_NOTOALL", SWIG_From_int((int)(wxID_NOTOALL
)));
47774 PyDict_SetItemString(d
,"ID_ABORT", SWIG_From_int((int)(wxID_ABORT
)));
47777 PyDict_SetItemString(d
,"ID_RETRY", SWIG_From_int((int)(wxID_RETRY
)));
47780 PyDict_SetItemString(d
,"ID_IGNORE", SWIG_From_int((int)(wxID_IGNORE
)));
47783 PyDict_SetItemString(d
,"ID_ADD", SWIG_From_int((int)(wxID_ADD
)));
47786 PyDict_SetItemString(d
,"ID_REMOVE", SWIG_From_int((int)(wxID_REMOVE
)));
47789 PyDict_SetItemString(d
,"ID_UP", SWIG_From_int((int)(wxID_UP
)));
47792 PyDict_SetItemString(d
,"ID_DOWN", SWIG_From_int((int)(wxID_DOWN
)));
47795 PyDict_SetItemString(d
,"ID_HOME", SWIG_From_int((int)(wxID_HOME
)));
47798 PyDict_SetItemString(d
,"ID_REFRESH", SWIG_From_int((int)(wxID_REFRESH
)));
47801 PyDict_SetItemString(d
,"ID_STOP", SWIG_From_int((int)(wxID_STOP
)));
47804 PyDict_SetItemString(d
,"ID_INDEX", SWIG_From_int((int)(wxID_INDEX
)));
47807 PyDict_SetItemString(d
,"ID_BOLD", SWIG_From_int((int)(wxID_BOLD
)));
47810 PyDict_SetItemString(d
,"ID_ITALIC", SWIG_From_int((int)(wxID_ITALIC
)));
47813 PyDict_SetItemString(d
,"ID_JUSTIFY_CENTER", SWIG_From_int((int)(wxID_JUSTIFY_CENTER
)));
47816 PyDict_SetItemString(d
,"ID_JUSTIFY_FILL", SWIG_From_int((int)(wxID_JUSTIFY_FILL
)));
47819 PyDict_SetItemString(d
,"ID_JUSTIFY_RIGHT", SWIG_From_int((int)(wxID_JUSTIFY_RIGHT
)));
47822 PyDict_SetItemString(d
,"ID_JUSTIFY_LEFT", SWIG_From_int((int)(wxID_JUSTIFY_LEFT
)));
47825 PyDict_SetItemString(d
,"ID_UNDERLINE", SWIG_From_int((int)(wxID_UNDERLINE
)));
47828 PyDict_SetItemString(d
,"ID_INDENT", SWIG_From_int((int)(wxID_INDENT
)));
47831 PyDict_SetItemString(d
,"ID_UNINDENT", SWIG_From_int((int)(wxID_UNINDENT
)));
47834 PyDict_SetItemString(d
,"ID_ZOOM_100", SWIG_From_int((int)(wxID_ZOOM_100
)));
47837 PyDict_SetItemString(d
,"ID_ZOOM_FIT", SWIG_From_int((int)(wxID_ZOOM_FIT
)));
47840 PyDict_SetItemString(d
,"ID_ZOOM_IN", SWIG_From_int((int)(wxID_ZOOM_IN
)));
47843 PyDict_SetItemString(d
,"ID_ZOOM_OUT", SWIG_From_int((int)(wxID_ZOOM_OUT
)));
47846 PyDict_SetItemString(d
,"ID_UNDELETE", SWIG_From_int((int)(wxID_UNDELETE
)));
47849 PyDict_SetItemString(d
,"ID_REVERT_TO_SAVED", SWIG_From_int((int)(wxID_REVERT_TO_SAVED
)));
47852 PyDict_SetItemString(d
,"ID_HIGHEST", SWIG_From_int((int)(wxID_HIGHEST
)));
47855 PyDict_SetItemString(d
,"OPEN", SWIG_From_int((int)(wxOPEN
)));
47858 PyDict_SetItemString(d
,"SAVE", SWIG_From_int((int)(wxSAVE
)));
47861 PyDict_SetItemString(d
,"HIDE_READONLY", SWIG_From_int((int)(wxHIDE_READONLY
)));
47864 PyDict_SetItemString(d
,"OVERWRITE_PROMPT", SWIG_From_int((int)(wxOVERWRITE_PROMPT
)));
47867 PyDict_SetItemString(d
,"FILE_MUST_EXIST", SWIG_From_int((int)(wxFILE_MUST_EXIST
)));
47870 PyDict_SetItemString(d
,"MULTIPLE", SWIG_From_int((int)(wxMULTIPLE
)));
47873 PyDict_SetItemString(d
,"CHANGE_DIR", SWIG_From_int((int)(wxCHANGE_DIR
)));
47876 PyDict_SetItemString(d
,"ACCEL_ALT", SWIG_From_int((int)(wxACCEL_ALT
)));
47879 PyDict_SetItemString(d
,"ACCEL_CTRL", SWIG_From_int((int)(wxACCEL_CTRL
)));
47882 PyDict_SetItemString(d
,"ACCEL_SHIFT", SWIG_From_int((int)(wxACCEL_SHIFT
)));
47885 PyDict_SetItemString(d
,"ACCEL_NORMAL", SWIG_From_int((int)(wxACCEL_NORMAL
)));
47888 PyDict_SetItemString(d
,"PD_AUTO_HIDE", SWIG_From_int((int)(wxPD_AUTO_HIDE
)));
47891 PyDict_SetItemString(d
,"PD_APP_MODAL", SWIG_From_int((int)(wxPD_APP_MODAL
)));
47894 PyDict_SetItemString(d
,"PD_CAN_ABORT", SWIG_From_int((int)(wxPD_CAN_ABORT
)));
47897 PyDict_SetItemString(d
,"PD_ELAPSED_TIME", SWIG_From_int((int)(wxPD_ELAPSED_TIME
)));
47900 PyDict_SetItemString(d
,"PD_ESTIMATED_TIME", SWIG_From_int((int)(wxPD_ESTIMATED_TIME
)));
47903 PyDict_SetItemString(d
,"PD_REMAINING_TIME", SWIG_From_int((int)(wxPD_REMAINING_TIME
)));
47906 PyDict_SetItemString(d
,"PD_SMOOTH", SWIG_From_int((int)(wxPD_SMOOTH
)));
47909 PyDict_SetItemString(d
,"PD_CAN_SKIP", SWIG_From_int((int)(wxPD_CAN_SKIP
)));
47912 PyDict_SetItemString(d
,"DD_NEW_DIR_BUTTON", SWIG_From_int((int)(wxDD_NEW_DIR_BUTTON
)));
47915 PyDict_SetItemString(d
,"DD_DEFAULT_STYLE", SWIG_From_int((int)(wxDD_DEFAULT_STYLE
)));
47918 PyDict_SetItemString(d
,"MENU_TEAROFF", SWIG_From_int((int)(wxMENU_TEAROFF
)));
47921 PyDict_SetItemString(d
,"MB_DOCKABLE", SWIG_From_int((int)(wxMB_DOCKABLE
)));
47924 PyDict_SetItemString(d
,"NO_FULL_REPAINT_ON_RESIZE", SWIG_From_int((int)(wxNO_FULL_REPAINT_ON_RESIZE
)));
47927 PyDict_SetItemString(d
,"FULL_REPAINT_ON_RESIZE", SWIG_From_int((int)(wxFULL_REPAINT_ON_RESIZE
)));
47930 PyDict_SetItemString(d
,"LI_HORIZONTAL", SWIG_From_int((int)(wxLI_HORIZONTAL
)));
47933 PyDict_SetItemString(d
,"LI_VERTICAL", SWIG_From_int((int)(wxLI_VERTICAL
)));
47936 PyDict_SetItemString(d
,"WS_EX_VALIDATE_RECURSIVELY", SWIG_From_int((int)(wxWS_EX_VALIDATE_RECURSIVELY
)));
47939 PyDict_SetItemString(d
,"WS_EX_BLOCK_EVENTS", SWIG_From_int((int)(wxWS_EX_BLOCK_EVENTS
)));
47942 PyDict_SetItemString(d
,"WS_EX_TRANSIENT", SWIG_From_int((int)(wxWS_EX_TRANSIENT
)));
47945 PyDict_SetItemString(d
,"WS_EX_THEMED_BACKGROUND", SWIG_From_int((int)(wxWS_EX_THEMED_BACKGROUND
)));
47948 PyDict_SetItemString(d
,"WS_EX_PROCESS_IDLE", SWIG_From_int((int)(wxWS_EX_PROCESS_IDLE
)));
47951 PyDict_SetItemString(d
,"WS_EX_PROCESS_UI_UPDATES", SWIG_From_int((int)(wxWS_EX_PROCESS_UI_UPDATES
)));
47954 PyDict_SetItemString(d
,"MM_TEXT", SWIG_From_int((int)(wxMM_TEXT
)));
47957 PyDict_SetItemString(d
,"MM_LOMETRIC", SWIG_From_int((int)(wxMM_LOMETRIC
)));
47960 PyDict_SetItemString(d
,"MM_HIMETRIC", SWIG_From_int((int)(wxMM_HIMETRIC
)));
47963 PyDict_SetItemString(d
,"MM_LOENGLISH", SWIG_From_int((int)(wxMM_LOENGLISH
)));
47966 PyDict_SetItemString(d
,"MM_HIENGLISH", SWIG_From_int((int)(wxMM_HIENGLISH
)));
47969 PyDict_SetItemString(d
,"MM_TWIPS", SWIG_From_int((int)(wxMM_TWIPS
)));
47972 PyDict_SetItemString(d
,"MM_ISOTROPIC", SWIG_From_int((int)(wxMM_ISOTROPIC
)));
47975 PyDict_SetItemString(d
,"MM_ANISOTROPIC", SWIG_From_int((int)(wxMM_ANISOTROPIC
)));
47978 PyDict_SetItemString(d
,"MM_POINTS", SWIG_From_int((int)(wxMM_POINTS
)));
47981 PyDict_SetItemString(d
,"MM_METRIC", SWIG_From_int((int)(wxMM_METRIC
)));
47984 PyDict_SetItemString(d
,"CENTRE", SWIG_From_int((int)(wxCENTRE
)));
47987 PyDict_SetItemString(d
,"CENTER", SWIG_From_int((int)(wxCENTER
)));
47990 PyDict_SetItemString(d
,"HORIZONTAL", SWIG_From_int((int)(wxHORIZONTAL
)));
47993 PyDict_SetItemString(d
,"VERTICAL", SWIG_From_int((int)(wxVERTICAL
)));
47996 PyDict_SetItemString(d
,"BOTH", SWIG_From_int((int)(wxBOTH
)));
47999 PyDict_SetItemString(d
,"LEFT", SWIG_From_int((int)(wxLEFT
)));
48002 PyDict_SetItemString(d
,"RIGHT", SWIG_From_int((int)(wxRIGHT
)));
48005 PyDict_SetItemString(d
,"UP", SWIG_From_int((int)(wxUP
)));
48008 PyDict_SetItemString(d
,"DOWN", SWIG_From_int((int)(wxDOWN
)));
48011 PyDict_SetItemString(d
,"TOP", SWIG_From_int((int)(wxTOP
)));
48014 PyDict_SetItemString(d
,"BOTTOM", SWIG_From_int((int)(wxBOTTOM
)));
48017 PyDict_SetItemString(d
,"NORTH", SWIG_From_int((int)(wxNORTH
)));
48020 PyDict_SetItemString(d
,"SOUTH", SWIG_From_int((int)(wxSOUTH
)));
48023 PyDict_SetItemString(d
,"WEST", SWIG_From_int((int)(wxWEST
)));
48026 PyDict_SetItemString(d
,"EAST", SWIG_From_int((int)(wxEAST
)));
48029 PyDict_SetItemString(d
,"ALL", SWIG_From_int((int)(wxALL
)));
48032 PyDict_SetItemString(d
,"ALIGN_NOT", SWIG_From_int((int)(wxALIGN_NOT
)));
48035 PyDict_SetItemString(d
,"ALIGN_CENTER_HORIZONTAL", SWIG_From_int((int)(wxALIGN_CENTER_HORIZONTAL
)));
48038 PyDict_SetItemString(d
,"ALIGN_CENTRE_HORIZONTAL", SWIG_From_int((int)(wxALIGN_CENTRE_HORIZONTAL
)));
48041 PyDict_SetItemString(d
,"ALIGN_LEFT", SWIG_From_int((int)(wxALIGN_LEFT
)));
48044 PyDict_SetItemString(d
,"ALIGN_TOP", SWIG_From_int((int)(wxALIGN_TOP
)));
48047 PyDict_SetItemString(d
,"ALIGN_RIGHT", SWIG_From_int((int)(wxALIGN_RIGHT
)));
48050 PyDict_SetItemString(d
,"ALIGN_BOTTOM", SWIG_From_int((int)(wxALIGN_BOTTOM
)));
48053 PyDict_SetItemString(d
,"ALIGN_CENTER_VERTICAL", SWIG_From_int((int)(wxALIGN_CENTER_VERTICAL
)));
48056 PyDict_SetItemString(d
,"ALIGN_CENTRE_VERTICAL", SWIG_From_int((int)(wxALIGN_CENTRE_VERTICAL
)));
48059 PyDict_SetItemString(d
,"ALIGN_CENTER", SWIG_From_int((int)(wxALIGN_CENTER
)));
48062 PyDict_SetItemString(d
,"ALIGN_CENTRE", SWIG_From_int((int)(wxALIGN_CENTRE
)));
48065 PyDict_SetItemString(d
,"ALIGN_MASK", SWIG_From_int((int)(wxALIGN_MASK
)));
48068 PyDict_SetItemString(d
,"STRETCH_NOT", SWIG_From_int((int)(wxSTRETCH_NOT
)));
48071 PyDict_SetItemString(d
,"SHRINK", SWIG_From_int((int)(wxSHRINK
)));
48074 PyDict_SetItemString(d
,"GROW", SWIG_From_int((int)(wxGROW
)));
48077 PyDict_SetItemString(d
,"EXPAND", SWIG_From_int((int)(wxEXPAND
)));
48080 PyDict_SetItemString(d
,"SHAPED", SWIG_From_int((int)(wxSHAPED
)));
48083 PyDict_SetItemString(d
,"FIXED_MINSIZE", SWIG_From_int((int)(wxFIXED_MINSIZE
)));
48086 PyDict_SetItemString(d
,"TILE", SWIG_From_int((int)(wxTILE
)));
48089 PyDict_SetItemString(d
,"ADJUST_MINSIZE", SWIG_From_int((int)(wxADJUST_MINSIZE
)));
48092 PyDict_SetItemString(d
,"BORDER_DEFAULT", SWIG_From_int((int)(wxBORDER_DEFAULT
)));
48095 PyDict_SetItemString(d
,"BORDER_NONE", SWIG_From_int((int)(wxBORDER_NONE
)));
48098 PyDict_SetItemString(d
,"BORDER_STATIC", SWIG_From_int((int)(wxBORDER_STATIC
)));
48101 PyDict_SetItemString(d
,"BORDER_SIMPLE", SWIG_From_int((int)(wxBORDER_SIMPLE
)));
48104 PyDict_SetItemString(d
,"BORDER_RAISED", SWIG_From_int((int)(wxBORDER_RAISED
)));
48107 PyDict_SetItemString(d
,"BORDER_SUNKEN", SWIG_From_int((int)(wxBORDER_SUNKEN
)));
48110 PyDict_SetItemString(d
,"BORDER_DOUBLE", SWIG_From_int((int)(wxBORDER_DOUBLE
)));
48113 PyDict_SetItemString(d
,"BORDER_MASK", SWIG_From_int((int)(wxBORDER_MASK
)));
48116 PyDict_SetItemString(d
,"BG_STYLE_SYSTEM", SWIG_From_int((int)(wxBG_STYLE_SYSTEM
)));
48119 PyDict_SetItemString(d
,"BG_STYLE_COLOUR", SWIG_From_int((int)(wxBG_STYLE_COLOUR
)));
48122 PyDict_SetItemString(d
,"BG_STYLE_CUSTOM", SWIG_From_int((int)(wxBG_STYLE_CUSTOM
)));
48125 PyDict_SetItemString(d
,"DEFAULT", SWIG_From_int((int)(wxDEFAULT
)));
48128 PyDict_SetItemString(d
,"DECORATIVE", SWIG_From_int((int)(wxDECORATIVE
)));
48131 PyDict_SetItemString(d
,"ROMAN", SWIG_From_int((int)(wxROMAN
)));
48134 PyDict_SetItemString(d
,"SCRIPT", SWIG_From_int((int)(wxSCRIPT
)));
48137 PyDict_SetItemString(d
,"SWISS", SWIG_From_int((int)(wxSWISS
)));
48140 PyDict_SetItemString(d
,"MODERN", SWIG_From_int((int)(wxMODERN
)));
48143 PyDict_SetItemString(d
,"TELETYPE", SWIG_From_int((int)(wxTELETYPE
)));
48146 PyDict_SetItemString(d
,"VARIABLE", SWIG_From_int((int)(wxVARIABLE
)));
48149 PyDict_SetItemString(d
,"FIXED", SWIG_From_int((int)(wxFIXED
)));
48152 PyDict_SetItemString(d
,"NORMAL", SWIG_From_int((int)(wxNORMAL
)));
48155 PyDict_SetItemString(d
,"LIGHT", SWIG_From_int((int)(wxLIGHT
)));
48158 PyDict_SetItemString(d
,"BOLD", SWIG_From_int((int)(wxBOLD
)));
48161 PyDict_SetItemString(d
,"ITALIC", SWIG_From_int((int)(wxITALIC
)));
48164 PyDict_SetItemString(d
,"SLANT", SWIG_From_int((int)(wxSLANT
)));
48167 PyDict_SetItemString(d
,"SOLID", SWIG_From_int((int)(wxSOLID
)));
48170 PyDict_SetItemString(d
,"DOT", SWIG_From_int((int)(wxDOT
)));
48173 PyDict_SetItemString(d
,"LONG_DASH", SWIG_From_int((int)(wxLONG_DASH
)));
48176 PyDict_SetItemString(d
,"SHORT_DASH", SWIG_From_int((int)(wxSHORT_DASH
)));
48179 PyDict_SetItemString(d
,"DOT_DASH", SWIG_From_int((int)(wxDOT_DASH
)));
48182 PyDict_SetItemString(d
,"USER_DASH", SWIG_From_int((int)(wxUSER_DASH
)));
48185 PyDict_SetItemString(d
,"TRANSPARENT", SWIG_From_int((int)(wxTRANSPARENT
)));
48188 PyDict_SetItemString(d
,"STIPPLE", SWIG_From_int((int)(wxSTIPPLE
)));
48191 PyDict_SetItemString(d
,"BDIAGONAL_HATCH", SWIG_From_int((int)(wxBDIAGONAL_HATCH
)));
48194 PyDict_SetItemString(d
,"CROSSDIAG_HATCH", SWIG_From_int((int)(wxCROSSDIAG_HATCH
)));
48197 PyDict_SetItemString(d
,"FDIAGONAL_HATCH", SWIG_From_int((int)(wxFDIAGONAL_HATCH
)));
48200 PyDict_SetItemString(d
,"CROSS_HATCH", SWIG_From_int((int)(wxCROSS_HATCH
)));
48203 PyDict_SetItemString(d
,"HORIZONTAL_HATCH", SWIG_From_int((int)(wxHORIZONTAL_HATCH
)));
48206 PyDict_SetItemString(d
,"VERTICAL_HATCH", SWIG_From_int((int)(wxVERTICAL_HATCH
)));
48209 PyDict_SetItemString(d
,"JOIN_BEVEL", SWIG_From_int((int)(wxJOIN_BEVEL
)));
48212 PyDict_SetItemString(d
,"JOIN_MITER", SWIG_From_int((int)(wxJOIN_MITER
)));
48215 PyDict_SetItemString(d
,"JOIN_ROUND", SWIG_From_int((int)(wxJOIN_ROUND
)));
48218 PyDict_SetItemString(d
,"CAP_ROUND", SWIG_From_int((int)(wxCAP_ROUND
)));
48221 PyDict_SetItemString(d
,"CAP_PROJECTING", SWIG_From_int((int)(wxCAP_PROJECTING
)));
48224 PyDict_SetItemString(d
,"CAP_BUTT", SWIG_From_int((int)(wxCAP_BUTT
)));
48227 PyDict_SetItemString(d
,"CLEAR", SWIG_From_int((int)(wxCLEAR
)));
48230 PyDict_SetItemString(d
,"XOR", SWIG_From_int((int)(wxXOR
)));
48233 PyDict_SetItemString(d
,"INVERT", SWIG_From_int((int)(wxINVERT
)));
48236 PyDict_SetItemString(d
,"OR_REVERSE", SWIG_From_int((int)(wxOR_REVERSE
)));
48239 PyDict_SetItemString(d
,"AND_REVERSE", SWIG_From_int((int)(wxAND_REVERSE
)));
48242 PyDict_SetItemString(d
,"COPY", SWIG_From_int((int)(wxCOPY
)));
48245 PyDict_SetItemString(d
,"AND", SWIG_From_int((int)(wxAND
)));
48248 PyDict_SetItemString(d
,"AND_INVERT", SWIG_From_int((int)(wxAND_INVERT
)));
48251 PyDict_SetItemString(d
,"NO_OP", SWIG_From_int((int)(wxNO_OP
)));
48254 PyDict_SetItemString(d
,"NOR", SWIG_From_int((int)(wxNOR
)));
48257 PyDict_SetItemString(d
,"EQUIV", SWIG_From_int((int)(wxEQUIV
)));
48260 PyDict_SetItemString(d
,"SRC_INVERT", SWIG_From_int((int)(wxSRC_INVERT
)));
48263 PyDict_SetItemString(d
,"OR_INVERT", SWIG_From_int((int)(wxOR_INVERT
)));
48266 PyDict_SetItemString(d
,"NAND", SWIG_From_int((int)(wxNAND
)));
48269 PyDict_SetItemString(d
,"OR", SWIG_From_int((int)(wxOR
)));
48272 PyDict_SetItemString(d
,"SET", SWIG_From_int((int)(wxSET
)));
48275 PyDict_SetItemString(d
,"WXK_BACK", SWIG_From_int((int)(WXK_BACK
)));
48278 PyDict_SetItemString(d
,"WXK_TAB", SWIG_From_int((int)(WXK_TAB
)));
48281 PyDict_SetItemString(d
,"WXK_RETURN", SWIG_From_int((int)(WXK_RETURN
)));
48284 PyDict_SetItemString(d
,"WXK_ESCAPE", SWIG_From_int((int)(WXK_ESCAPE
)));
48287 PyDict_SetItemString(d
,"WXK_SPACE", SWIG_From_int((int)(WXK_SPACE
)));
48290 PyDict_SetItemString(d
,"WXK_DELETE", SWIG_From_int((int)(WXK_DELETE
)));
48293 PyDict_SetItemString(d
,"WXK_START", SWIG_From_int((int)(WXK_START
)));
48296 PyDict_SetItemString(d
,"WXK_LBUTTON", SWIG_From_int((int)(WXK_LBUTTON
)));
48299 PyDict_SetItemString(d
,"WXK_RBUTTON", SWIG_From_int((int)(WXK_RBUTTON
)));
48302 PyDict_SetItemString(d
,"WXK_CANCEL", SWIG_From_int((int)(WXK_CANCEL
)));
48305 PyDict_SetItemString(d
,"WXK_MBUTTON", SWIG_From_int((int)(WXK_MBUTTON
)));
48308 PyDict_SetItemString(d
,"WXK_CLEAR", SWIG_From_int((int)(WXK_CLEAR
)));
48311 PyDict_SetItemString(d
,"WXK_SHIFT", SWIG_From_int((int)(WXK_SHIFT
)));
48314 PyDict_SetItemString(d
,"WXK_ALT", SWIG_From_int((int)(WXK_ALT
)));
48317 PyDict_SetItemString(d
,"WXK_CONTROL", SWIG_From_int((int)(WXK_CONTROL
)));
48320 PyDict_SetItemString(d
,"WXK_MENU", SWIG_From_int((int)(WXK_MENU
)));
48323 PyDict_SetItemString(d
,"WXK_PAUSE", SWIG_From_int((int)(WXK_PAUSE
)));
48326 PyDict_SetItemString(d
,"WXK_CAPITAL", SWIG_From_int((int)(WXK_CAPITAL
)));
48329 PyDict_SetItemString(d
,"WXK_PRIOR", SWIG_From_int((int)(WXK_PRIOR
)));
48332 PyDict_SetItemString(d
,"WXK_NEXT", SWIG_From_int((int)(WXK_NEXT
)));
48335 PyDict_SetItemString(d
,"WXK_END", SWIG_From_int((int)(WXK_END
)));
48338 PyDict_SetItemString(d
,"WXK_HOME", SWIG_From_int((int)(WXK_HOME
)));
48341 PyDict_SetItemString(d
,"WXK_LEFT", SWIG_From_int((int)(WXK_LEFT
)));
48344 PyDict_SetItemString(d
,"WXK_UP", SWIG_From_int((int)(WXK_UP
)));
48347 PyDict_SetItemString(d
,"WXK_RIGHT", SWIG_From_int((int)(WXK_RIGHT
)));
48350 PyDict_SetItemString(d
,"WXK_DOWN", SWIG_From_int((int)(WXK_DOWN
)));
48353 PyDict_SetItemString(d
,"WXK_SELECT", SWIG_From_int((int)(WXK_SELECT
)));
48356 PyDict_SetItemString(d
,"WXK_PRINT", SWIG_From_int((int)(WXK_PRINT
)));
48359 PyDict_SetItemString(d
,"WXK_EXECUTE", SWIG_From_int((int)(WXK_EXECUTE
)));
48362 PyDict_SetItemString(d
,"WXK_SNAPSHOT", SWIG_From_int((int)(WXK_SNAPSHOT
)));
48365 PyDict_SetItemString(d
,"WXK_INSERT", SWIG_From_int((int)(WXK_INSERT
)));
48368 PyDict_SetItemString(d
,"WXK_HELP", SWIG_From_int((int)(WXK_HELP
)));
48371 PyDict_SetItemString(d
,"WXK_NUMPAD0", SWIG_From_int((int)(WXK_NUMPAD0
)));
48374 PyDict_SetItemString(d
,"WXK_NUMPAD1", SWIG_From_int((int)(WXK_NUMPAD1
)));
48377 PyDict_SetItemString(d
,"WXK_NUMPAD2", SWIG_From_int((int)(WXK_NUMPAD2
)));
48380 PyDict_SetItemString(d
,"WXK_NUMPAD3", SWIG_From_int((int)(WXK_NUMPAD3
)));
48383 PyDict_SetItemString(d
,"WXK_NUMPAD4", SWIG_From_int((int)(WXK_NUMPAD4
)));
48386 PyDict_SetItemString(d
,"WXK_NUMPAD5", SWIG_From_int((int)(WXK_NUMPAD5
)));
48389 PyDict_SetItemString(d
,"WXK_NUMPAD6", SWIG_From_int((int)(WXK_NUMPAD6
)));
48392 PyDict_SetItemString(d
,"WXK_NUMPAD7", SWIG_From_int((int)(WXK_NUMPAD7
)));
48395 PyDict_SetItemString(d
,"WXK_NUMPAD8", SWIG_From_int((int)(WXK_NUMPAD8
)));
48398 PyDict_SetItemString(d
,"WXK_NUMPAD9", SWIG_From_int((int)(WXK_NUMPAD9
)));
48401 PyDict_SetItemString(d
,"WXK_MULTIPLY", SWIG_From_int((int)(WXK_MULTIPLY
)));
48404 PyDict_SetItemString(d
,"WXK_ADD", SWIG_From_int((int)(WXK_ADD
)));
48407 PyDict_SetItemString(d
,"WXK_SEPARATOR", SWIG_From_int((int)(WXK_SEPARATOR
)));
48410 PyDict_SetItemString(d
,"WXK_SUBTRACT", SWIG_From_int((int)(WXK_SUBTRACT
)));
48413 PyDict_SetItemString(d
,"WXK_DECIMAL", SWIG_From_int((int)(WXK_DECIMAL
)));
48416 PyDict_SetItemString(d
,"WXK_DIVIDE", SWIG_From_int((int)(WXK_DIVIDE
)));
48419 PyDict_SetItemString(d
,"WXK_F1", SWIG_From_int((int)(WXK_F1
)));
48422 PyDict_SetItemString(d
,"WXK_F2", SWIG_From_int((int)(WXK_F2
)));
48425 PyDict_SetItemString(d
,"WXK_F3", SWIG_From_int((int)(WXK_F3
)));
48428 PyDict_SetItemString(d
,"WXK_F4", SWIG_From_int((int)(WXK_F4
)));
48431 PyDict_SetItemString(d
,"WXK_F5", SWIG_From_int((int)(WXK_F5
)));
48434 PyDict_SetItemString(d
,"WXK_F6", SWIG_From_int((int)(WXK_F6
)));
48437 PyDict_SetItemString(d
,"WXK_F7", SWIG_From_int((int)(WXK_F7
)));
48440 PyDict_SetItemString(d
,"WXK_F8", SWIG_From_int((int)(WXK_F8
)));
48443 PyDict_SetItemString(d
,"WXK_F9", SWIG_From_int((int)(WXK_F9
)));
48446 PyDict_SetItemString(d
,"WXK_F10", SWIG_From_int((int)(WXK_F10
)));
48449 PyDict_SetItemString(d
,"WXK_F11", SWIG_From_int((int)(WXK_F11
)));
48452 PyDict_SetItemString(d
,"WXK_F12", SWIG_From_int((int)(WXK_F12
)));
48455 PyDict_SetItemString(d
,"WXK_F13", SWIG_From_int((int)(WXK_F13
)));
48458 PyDict_SetItemString(d
,"WXK_F14", SWIG_From_int((int)(WXK_F14
)));
48461 PyDict_SetItemString(d
,"WXK_F15", SWIG_From_int((int)(WXK_F15
)));
48464 PyDict_SetItemString(d
,"WXK_F16", SWIG_From_int((int)(WXK_F16
)));
48467 PyDict_SetItemString(d
,"WXK_F17", SWIG_From_int((int)(WXK_F17
)));
48470 PyDict_SetItemString(d
,"WXK_F18", SWIG_From_int((int)(WXK_F18
)));
48473 PyDict_SetItemString(d
,"WXK_F19", SWIG_From_int((int)(WXK_F19
)));
48476 PyDict_SetItemString(d
,"WXK_F20", SWIG_From_int((int)(WXK_F20
)));
48479 PyDict_SetItemString(d
,"WXK_F21", SWIG_From_int((int)(WXK_F21
)));
48482 PyDict_SetItemString(d
,"WXK_F22", SWIG_From_int((int)(WXK_F22
)));
48485 PyDict_SetItemString(d
,"WXK_F23", SWIG_From_int((int)(WXK_F23
)));
48488 PyDict_SetItemString(d
,"WXK_F24", SWIG_From_int((int)(WXK_F24
)));
48491 PyDict_SetItemString(d
,"WXK_NUMLOCK", SWIG_From_int((int)(WXK_NUMLOCK
)));
48494 PyDict_SetItemString(d
,"WXK_SCROLL", SWIG_From_int((int)(WXK_SCROLL
)));
48497 PyDict_SetItemString(d
,"WXK_PAGEUP", SWIG_From_int((int)(WXK_PAGEUP
)));
48500 PyDict_SetItemString(d
,"WXK_PAGEDOWN", SWIG_From_int((int)(WXK_PAGEDOWN
)));
48503 PyDict_SetItemString(d
,"WXK_NUMPAD_SPACE", SWIG_From_int((int)(WXK_NUMPAD_SPACE
)));
48506 PyDict_SetItemString(d
,"WXK_NUMPAD_TAB", SWIG_From_int((int)(WXK_NUMPAD_TAB
)));
48509 PyDict_SetItemString(d
,"WXK_NUMPAD_ENTER", SWIG_From_int((int)(WXK_NUMPAD_ENTER
)));
48512 PyDict_SetItemString(d
,"WXK_NUMPAD_F1", SWIG_From_int((int)(WXK_NUMPAD_F1
)));
48515 PyDict_SetItemString(d
,"WXK_NUMPAD_F2", SWIG_From_int((int)(WXK_NUMPAD_F2
)));
48518 PyDict_SetItemString(d
,"WXK_NUMPAD_F3", SWIG_From_int((int)(WXK_NUMPAD_F3
)));
48521 PyDict_SetItemString(d
,"WXK_NUMPAD_F4", SWIG_From_int((int)(WXK_NUMPAD_F4
)));
48524 PyDict_SetItemString(d
,"WXK_NUMPAD_HOME", SWIG_From_int((int)(WXK_NUMPAD_HOME
)));
48527 PyDict_SetItemString(d
,"WXK_NUMPAD_LEFT", SWIG_From_int((int)(WXK_NUMPAD_LEFT
)));
48530 PyDict_SetItemString(d
,"WXK_NUMPAD_UP", SWIG_From_int((int)(WXK_NUMPAD_UP
)));
48533 PyDict_SetItemString(d
,"WXK_NUMPAD_RIGHT", SWIG_From_int((int)(WXK_NUMPAD_RIGHT
)));
48536 PyDict_SetItemString(d
,"WXK_NUMPAD_DOWN", SWIG_From_int((int)(WXK_NUMPAD_DOWN
)));
48539 PyDict_SetItemString(d
,"WXK_NUMPAD_PRIOR", SWIG_From_int((int)(WXK_NUMPAD_PRIOR
)));
48542 PyDict_SetItemString(d
,"WXK_NUMPAD_PAGEUP", SWIG_From_int((int)(WXK_NUMPAD_PAGEUP
)));
48545 PyDict_SetItemString(d
,"WXK_NUMPAD_NEXT", SWIG_From_int((int)(WXK_NUMPAD_NEXT
)));
48548 PyDict_SetItemString(d
,"WXK_NUMPAD_PAGEDOWN", SWIG_From_int((int)(WXK_NUMPAD_PAGEDOWN
)));
48551 PyDict_SetItemString(d
,"WXK_NUMPAD_END", SWIG_From_int((int)(WXK_NUMPAD_END
)));
48554 PyDict_SetItemString(d
,"WXK_NUMPAD_BEGIN", SWIG_From_int((int)(WXK_NUMPAD_BEGIN
)));
48557 PyDict_SetItemString(d
,"WXK_NUMPAD_INSERT", SWIG_From_int((int)(WXK_NUMPAD_INSERT
)));
48560 PyDict_SetItemString(d
,"WXK_NUMPAD_DELETE", SWIG_From_int((int)(WXK_NUMPAD_DELETE
)));
48563 PyDict_SetItemString(d
,"WXK_NUMPAD_EQUAL", SWIG_From_int((int)(WXK_NUMPAD_EQUAL
)));
48566 PyDict_SetItemString(d
,"WXK_NUMPAD_MULTIPLY", SWIG_From_int((int)(WXK_NUMPAD_MULTIPLY
)));
48569 PyDict_SetItemString(d
,"WXK_NUMPAD_ADD", SWIG_From_int((int)(WXK_NUMPAD_ADD
)));
48572 PyDict_SetItemString(d
,"WXK_NUMPAD_SEPARATOR", SWIG_From_int((int)(WXK_NUMPAD_SEPARATOR
)));
48575 PyDict_SetItemString(d
,"WXK_NUMPAD_SUBTRACT", SWIG_From_int((int)(WXK_NUMPAD_SUBTRACT
)));
48578 PyDict_SetItemString(d
,"WXK_NUMPAD_DECIMAL", SWIG_From_int((int)(WXK_NUMPAD_DECIMAL
)));
48581 PyDict_SetItemString(d
,"WXK_NUMPAD_DIVIDE", SWIG_From_int((int)(WXK_NUMPAD_DIVIDE
)));
48584 PyDict_SetItemString(d
,"WXK_WINDOWS_LEFT", SWIG_From_int((int)(WXK_WINDOWS_LEFT
)));
48587 PyDict_SetItemString(d
,"WXK_WINDOWS_RIGHT", SWIG_From_int((int)(WXK_WINDOWS_RIGHT
)));
48590 PyDict_SetItemString(d
,"WXK_WINDOWS_MENU", SWIG_From_int((int)(WXK_WINDOWS_MENU
)));
48593 PyDict_SetItemString(d
,"PAPER_NONE", SWIG_From_int((int)(wxPAPER_NONE
)));
48596 PyDict_SetItemString(d
,"PAPER_LETTER", SWIG_From_int((int)(wxPAPER_LETTER
)));
48599 PyDict_SetItemString(d
,"PAPER_LEGAL", SWIG_From_int((int)(wxPAPER_LEGAL
)));
48602 PyDict_SetItemString(d
,"PAPER_A4", SWIG_From_int((int)(wxPAPER_A4
)));
48605 PyDict_SetItemString(d
,"PAPER_CSHEET", SWIG_From_int((int)(wxPAPER_CSHEET
)));
48608 PyDict_SetItemString(d
,"PAPER_DSHEET", SWIG_From_int((int)(wxPAPER_DSHEET
)));
48611 PyDict_SetItemString(d
,"PAPER_ESHEET", SWIG_From_int((int)(wxPAPER_ESHEET
)));
48614 PyDict_SetItemString(d
,"PAPER_LETTERSMALL", SWIG_From_int((int)(wxPAPER_LETTERSMALL
)));
48617 PyDict_SetItemString(d
,"PAPER_TABLOID", SWIG_From_int((int)(wxPAPER_TABLOID
)));
48620 PyDict_SetItemString(d
,"PAPER_LEDGER", SWIG_From_int((int)(wxPAPER_LEDGER
)));
48623 PyDict_SetItemString(d
,"PAPER_STATEMENT", SWIG_From_int((int)(wxPAPER_STATEMENT
)));
48626 PyDict_SetItemString(d
,"PAPER_EXECUTIVE", SWIG_From_int((int)(wxPAPER_EXECUTIVE
)));
48629 PyDict_SetItemString(d
,"PAPER_A3", SWIG_From_int((int)(wxPAPER_A3
)));
48632 PyDict_SetItemString(d
,"PAPER_A4SMALL", SWIG_From_int((int)(wxPAPER_A4SMALL
)));
48635 PyDict_SetItemString(d
,"PAPER_A5", SWIG_From_int((int)(wxPAPER_A5
)));
48638 PyDict_SetItemString(d
,"PAPER_B4", SWIG_From_int((int)(wxPAPER_B4
)));
48641 PyDict_SetItemString(d
,"PAPER_B5", SWIG_From_int((int)(wxPAPER_B5
)));
48644 PyDict_SetItemString(d
,"PAPER_FOLIO", SWIG_From_int((int)(wxPAPER_FOLIO
)));
48647 PyDict_SetItemString(d
,"PAPER_QUARTO", SWIG_From_int((int)(wxPAPER_QUARTO
)));
48650 PyDict_SetItemString(d
,"PAPER_10X14", SWIG_From_int((int)(wxPAPER_10X14
)));
48653 PyDict_SetItemString(d
,"PAPER_11X17", SWIG_From_int((int)(wxPAPER_11X17
)));
48656 PyDict_SetItemString(d
,"PAPER_NOTE", SWIG_From_int((int)(wxPAPER_NOTE
)));
48659 PyDict_SetItemString(d
,"PAPER_ENV_9", SWIG_From_int((int)(wxPAPER_ENV_9
)));
48662 PyDict_SetItemString(d
,"PAPER_ENV_10", SWIG_From_int((int)(wxPAPER_ENV_10
)));
48665 PyDict_SetItemString(d
,"PAPER_ENV_11", SWIG_From_int((int)(wxPAPER_ENV_11
)));
48668 PyDict_SetItemString(d
,"PAPER_ENV_12", SWIG_From_int((int)(wxPAPER_ENV_12
)));
48671 PyDict_SetItemString(d
,"PAPER_ENV_14", SWIG_From_int((int)(wxPAPER_ENV_14
)));
48674 PyDict_SetItemString(d
,"PAPER_ENV_DL", SWIG_From_int((int)(wxPAPER_ENV_DL
)));
48677 PyDict_SetItemString(d
,"PAPER_ENV_C5", SWIG_From_int((int)(wxPAPER_ENV_C5
)));
48680 PyDict_SetItemString(d
,"PAPER_ENV_C3", SWIG_From_int((int)(wxPAPER_ENV_C3
)));
48683 PyDict_SetItemString(d
,"PAPER_ENV_C4", SWIG_From_int((int)(wxPAPER_ENV_C4
)));
48686 PyDict_SetItemString(d
,"PAPER_ENV_C6", SWIG_From_int((int)(wxPAPER_ENV_C6
)));
48689 PyDict_SetItemString(d
,"PAPER_ENV_C65", SWIG_From_int((int)(wxPAPER_ENV_C65
)));
48692 PyDict_SetItemString(d
,"PAPER_ENV_B4", SWIG_From_int((int)(wxPAPER_ENV_B4
)));
48695 PyDict_SetItemString(d
,"PAPER_ENV_B5", SWIG_From_int((int)(wxPAPER_ENV_B5
)));
48698 PyDict_SetItemString(d
,"PAPER_ENV_B6", SWIG_From_int((int)(wxPAPER_ENV_B6
)));
48701 PyDict_SetItemString(d
,"PAPER_ENV_ITALY", SWIG_From_int((int)(wxPAPER_ENV_ITALY
)));
48704 PyDict_SetItemString(d
,"PAPER_ENV_MONARCH", SWIG_From_int((int)(wxPAPER_ENV_MONARCH
)));
48707 PyDict_SetItemString(d
,"PAPER_ENV_PERSONAL", SWIG_From_int((int)(wxPAPER_ENV_PERSONAL
)));
48710 PyDict_SetItemString(d
,"PAPER_FANFOLD_US", SWIG_From_int((int)(wxPAPER_FANFOLD_US
)));
48713 PyDict_SetItemString(d
,"PAPER_FANFOLD_STD_GERMAN", SWIG_From_int((int)(wxPAPER_FANFOLD_STD_GERMAN
)));
48716 PyDict_SetItemString(d
,"PAPER_FANFOLD_LGL_GERMAN", SWIG_From_int((int)(wxPAPER_FANFOLD_LGL_GERMAN
)));
48719 PyDict_SetItemString(d
,"PAPER_ISO_B4", SWIG_From_int((int)(wxPAPER_ISO_B4
)));
48722 PyDict_SetItemString(d
,"PAPER_JAPANESE_POSTCARD", SWIG_From_int((int)(wxPAPER_JAPANESE_POSTCARD
)));
48725 PyDict_SetItemString(d
,"PAPER_9X11", SWIG_From_int((int)(wxPAPER_9X11
)));
48728 PyDict_SetItemString(d
,"PAPER_10X11", SWIG_From_int((int)(wxPAPER_10X11
)));
48731 PyDict_SetItemString(d
,"PAPER_15X11", SWIG_From_int((int)(wxPAPER_15X11
)));
48734 PyDict_SetItemString(d
,"PAPER_ENV_INVITE", SWIG_From_int((int)(wxPAPER_ENV_INVITE
)));
48737 PyDict_SetItemString(d
,"PAPER_LETTER_EXTRA", SWIG_From_int((int)(wxPAPER_LETTER_EXTRA
)));
48740 PyDict_SetItemString(d
,"PAPER_LEGAL_EXTRA", SWIG_From_int((int)(wxPAPER_LEGAL_EXTRA
)));
48743 PyDict_SetItemString(d
,"PAPER_TABLOID_EXTRA", SWIG_From_int((int)(wxPAPER_TABLOID_EXTRA
)));
48746 PyDict_SetItemString(d
,"PAPER_A4_EXTRA", SWIG_From_int((int)(wxPAPER_A4_EXTRA
)));
48749 PyDict_SetItemString(d
,"PAPER_LETTER_TRANSVERSE", SWIG_From_int((int)(wxPAPER_LETTER_TRANSVERSE
)));
48752 PyDict_SetItemString(d
,"PAPER_A4_TRANSVERSE", SWIG_From_int((int)(wxPAPER_A4_TRANSVERSE
)));
48755 PyDict_SetItemString(d
,"PAPER_LETTER_EXTRA_TRANSVERSE", SWIG_From_int((int)(wxPAPER_LETTER_EXTRA_TRANSVERSE
)));
48758 PyDict_SetItemString(d
,"PAPER_A_PLUS", SWIG_From_int((int)(wxPAPER_A_PLUS
)));
48761 PyDict_SetItemString(d
,"PAPER_B_PLUS", SWIG_From_int((int)(wxPAPER_B_PLUS
)));
48764 PyDict_SetItemString(d
,"PAPER_LETTER_PLUS", SWIG_From_int((int)(wxPAPER_LETTER_PLUS
)));
48767 PyDict_SetItemString(d
,"PAPER_A4_PLUS", SWIG_From_int((int)(wxPAPER_A4_PLUS
)));
48770 PyDict_SetItemString(d
,"PAPER_A5_TRANSVERSE", SWIG_From_int((int)(wxPAPER_A5_TRANSVERSE
)));
48773 PyDict_SetItemString(d
,"PAPER_B5_TRANSVERSE", SWIG_From_int((int)(wxPAPER_B5_TRANSVERSE
)));
48776 PyDict_SetItemString(d
,"PAPER_A3_EXTRA", SWIG_From_int((int)(wxPAPER_A3_EXTRA
)));
48779 PyDict_SetItemString(d
,"PAPER_A5_EXTRA", SWIG_From_int((int)(wxPAPER_A5_EXTRA
)));
48782 PyDict_SetItemString(d
,"PAPER_B5_EXTRA", SWIG_From_int((int)(wxPAPER_B5_EXTRA
)));
48785 PyDict_SetItemString(d
,"PAPER_A2", SWIG_From_int((int)(wxPAPER_A2
)));
48788 PyDict_SetItemString(d
,"PAPER_A3_TRANSVERSE", SWIG_From_int((int)(wxPAPER_A3_TRANSVERSE
)));
48791 PyDict_SetItemString(d
,"PAPER_A3_EXTRA_TRANSVERSE", SWIG_From_int((int)(wxPAPER_A3_EXTRA_TRANSVERSE
)));
48794 PyDict_SetItemString(d
,"DUPLEX_SIMPLEX", SWIG_From_int((int)(wxDUPLEX_SIMPLEX
)));
48797 PyDict_SetItemString(d
,"DUPLEX_HORIZONTAL", SWIG_From_int((int)(wxDUPLEX_HORIZONTAL
)));
48800 PyDict_SetItemString(d
,"DUPLEX_VERTICAL", SWIG_From_int((int)(wxDUPLEX_VERTICAL
)));
48803 PyDict_SetItemString(d
,"ITEM_SEPARATOR", SWIG_From_int((int)(wxITEM_SEPARATOR
)));
48806 PyDict_SetItemString(d
,"ITEM_NORMAL", SWIG_From_int((int)(wxITEM_NORMAL
)));
48809 PyDict_SetItemString(d
,"ITEM_CHECK", SWIG_From_int((int)(wxITEM_CHECK
)));
48812 PyDict_SetItemString(d
,"ITEM_RADIO", SWIG_From_int((int)(wxITEM_RADIO
)));
48815 PyDict_SetItemString(d
,"ITEM_MAX", SWIG_From_int((int)(wxITEM_MAX
)));
48818 PyDict_SetItemString(d
,"HT_NOWHERE", SWIG_From_int((int)(wxHT_NOWHERE
)));
48821 PyDict_SetItemString(d
,"HT_SCROLLBAR_FIRST", SWIG_From_int((int)(wxHT_SCROLLBAR_FIRST
)));
48824 PyDict_SetItemString(d
,"HT_SCROLLBAR_ARROW_LINE_1", SWIG_From_int((int)(wxHT_SCROLLBAR_ARROW_LINE_1
)));
48827 PyDict_SetItemString(d
,"HT_SCROLLBAR_ARROW_LINE_2", SWIG_From_int((int)(wxHT_SCROLLBAR_ARROW_LINE_2
)));
48830 PyDict_SetItemString(d
,"HT_SCROLLBAR_ARROW_PAGE_1", SWIG_From_int((int)(wxHT_SCROLLBAR_ARROW_PAGE_1
)));
48833 PyDict_SetItemString(d
,"HT_SCROLLBAR_ARROW_PAGE_2", SWIG_From_int((int)(wxHT_SCROLLBAR_ARROW_PAGE_2
)));
48836 PyDict_SetItemString(d
,"HT_SCROLLBAR_THUMB", SWIG_From_int((int)(wxHT_SCROLLBAR_THUMB
)));
48839 PyDict_SetItemString(d
,"HT_SCROLLBAR_BAR_1", SWIG_From_int((int)(wxHT_SCROLLBAR_BAR_1
)));
48842 PyDict_SetItemString(d
,"HT_SCROLLBAR_BAR_2", SWIG_From_int((int)(wxHT_SCROLLBAR_BAR_2
)));
48845 PyDict_SetItemString(d
,"HT_SCROLLBAR_LAST", SWIG_From_int((int)(wxHT_SCROLLBAR_LAST
)));
48848 PyDict_SetItemString(d
,"HT_WINDOW_OUTSIDE", SWIG_From_int((int)(wxHT_WINDOW_OUTSIDE
)));
48851 PyDict_SetItemString(d
,"HT_WINDOW_INSIDE", SWIG_From_int((int)(wxHT_WINDOW_INSIDE
)));
48854 PyDict_SetItemString(d
,"HT_WINDOW_VERT_SCROLLBAR", SWIG_From_int((int)(wxHT_WINDOW_VERT_SCROLLBAR
)));
48857 PyDict_SetItemString(d
,"HT_WINDOW_HORZ_SCROLLBAR", SWIG_From_int((int)(wxHT_WINDOW_HORZ_SCROLLBAR
)));
48860 PyDict_SetItemString(d
,"HT_WINDOW_CORNER", SWIG_From_int((int)(wxHT_WINDOW_CORNER
)));
48863 PyDict_SetItemString(d
,"HT_MAX", SWIG_From_int((int)(wxHT_MAX
)));
48866 PyDict_SetItemString(d
,"MOD_NONE", SWIG_From_int((int)(wxMOD_NONE
)));
48869 PyDict_SetItemString(d
,"MOD_ALT", SWIG_From_int((int)(wxMOD_ALT
)));
48872 PyDict_SetItemString(d
,"MOD_CONTROL", SWIG_From_int((int)(wxMOD_CONTROL
)));
48875 PyDict_SetItemString(d
,"MOD_SHIFT", SWIG_From_int((int)(wxMOD_SHIFT
)));
48878 PyDict_SetItemString(d
,"MOD_WIN", SWIG_From_int((int)(wxMOD_WIN
)));
48881 PyDict_SetItemString(d
,"UPDATE_UI_NONE", SWIG_From_int((int)(wxUPDATE_UI_NONE
)));
48884 PyDict_SetItemString(d
,"UPDATE_UI_RECURSE", SWIG_From_int((int)(wxUPDATE_UI_RECURSE
)));
48887 PyDict_SetItemString(d
,"UPDATE_UI_FROMIDLE", SWIG_From_int((int)(wxUPDATE_UI_FROMIDLE
)));
48889 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals
);
48890 SWIG_addvarlink(SWIG_globals
,(char*)"EmptyString",_wrap_EmptyString_get
, _wrap_EmptyString_set
);
48892 PyDict_SetItemString(d
,"BITMAP_TYPE_INVALID", SWIG_From_int((int)(wxBITMAP_TYPE_INVALID
)));
48895 PyDict_SetItemString(d
,"BITMAP_TYPE_BMP", SWIG_From_int((int)(wxBITMAP_TYPE_BMP
)));
48898 PyDict_SetItemString(d
,"BITMAP_TYPE_ICO", SWIG_From_int((int)(wxBITMAP_TYPE_ICO
)));
48901 PyDict_SetItemString(d
,"BITMAP_TYPE_CUR", SWIG_From_int((int)(wxBITMAP_TYPE_CUR
)));
48904 PyDict_SetItemString(d
,"BITMAP_TYPE_XBM", SWIG_From_int((int)(wxBITMAP_TYPE_XBM
)));
48907 PyDict_SetItemString(d
,"BITMAP_TYPE_XBM_DATA", SWIG_From_int((int)(wxBITMAP_TYPE_XBM_DATA
)));
48910 PyDict_SetItemString(d
,"BITMAP_TYPE_XPM", SWIG_From_int((int)(wxBITMAP_TYPE_XPM
)));
48913 PyDict_SetItemString(d
,"BITMAP_TYPE_XPM_DATA", SWIG_From_int((int)(wxBITMAP_TYPE_XPM_DATA
)));
48916 PyDict_SetItemString(d
,"BITMAP_TYPE_TIF", SWIG_From_int((int)(wxBITMAP_TYPE_TIF
)));
48919 PyDict_SetItemString(d
,"BITMAP_TYPE_GIF", SWIG_From_int((int)(wxBITMAP_TYPE_GIF
)));
48922 PyDict_SetItemString(d
,"BITMAP_TYPE_PNG", SWIG_From_int((int)(wxBITMAP_TYPE_PNG
)));
48925 PyDict_SetItemString(d
,"BITMAP_TYPE_JPEG", SWIG_From_int((int)(wxBITMAP_TYPE_JPEG
)));
48928 PyDict_SetItemString(d
,"BITMAP_TYPE_PNM", SWIG_From_int((int)(wxBITMAP_TYPE_PNM
)));
48931 PyDict_SetItemString(d
,"BITMAP_TYPE_PCX", SWIG_From_int((int)(wxBITMAP_TYPE_PCX
)));
48934 PyDict_SetItemString(d
,"BITMAP_TYPE_PICT", SWIG_From_int((int)(wxBITMAP_TYPE_PICT
)));
48937 PyDict_SetItemString(d
,"BITMAP_TYPE_ICON", SWIG_From_int((int)(wxBITMAP_TYPE_ICON
)));
48940 PyDict_SetItemString(d
,"BITMAP_TYPE_ANI", SWIG_From_int((int)(wxBITMAP_TYPE_ANI
)));
48943 PyDict_SetItemString(d
,"BITMAP_TYPE_IFF", SWIG_From_int((int)(wxBITMAP_TYPE_IFF
)));
48946 PyDict_SetItemString(d
,"BITMAP_TYPE_MACCURSOR", SWIG_From_int((int)(wxBITMAP_TYPE_MACCURSOR
)));
48949 PyDict_SetItemString(d
,"BITMAP_TYPE_ANY", SWIG_From_int((int)(wxBITMAP_TYPE_ANY
)));
48952 PyDict_SetItemString(d
,"CURSOR_NONE", SWIG_From_int((int)(wxCURSOR_NONE
)));
48955 PyDict_SetItemString(d
,"CURSOR_ARROW", SWIG_From_int((int)(wxCURSOR_ARROW
)));
48958 PyDict_SetItemString(d
,"CURSOR_RIGHT_ARROW", SWIG_From_int((int)(wxCURSOR_RIGHT_ARROW
)));
48961 PyDict_SetItemString(d
,"CURSOR_BULLSEYE", SWIG_From_int((int)(wxCURSOR_BULLSEYE
)));
48964 PyDict_SetItemString(d
,"CURSOR_CHAR", SWIG_From_int((int)(wxCURSOR_CHAR
)));
48967 PyDict_SetItemString(d
,"CURSOR_CROSS", SWIG_From_int((int)(wxCURSOR_CROSS
)));
48970 PyDict_SetItemString(d
,"CURSOR_HAND", SWIG_From_int((int)(wxCURSOR_HAND
)));
48973 PyDict_SetItemString(d
,"CURSOR_IBEAM", SWIG_From_int((int)(wxCURSOR_IBEAM
)));
48976 PyDict_SetItemString(d
,"CURSOR_LEFT_BUTTON", SWIG_From_int((int)(wxCURSOR_LEFT_BUTTON
)));
48979 PyDict_SetItemString(d
,"CURSOR_MAGNIFIER", SWIG_From_int((int)(wxCURSOR_MAGNIFIER
)));
48982 PyDict_SetItemString(d
,"CURSOR_MIDDLE_BUTTON", SWIG_From_int((int)(wxCURSOR_MIDDLE_BUTTON
)));
48985 PyDict_SetItemString(d
,"CURSOR_NO_ENTRY", SWIG_From_int((int)(wxCURSOR_NO_ENTRY
)));
48988 PyDict_SetItemString(d
,"CURSOR_PAINT_BRUSH", SWIG_From_int((int)(wxCURSOR_PAINT_BRUSH
)));
48991 PyDict_SetItemString(d
,"CURSOR_PENCIL", SWIG_From_int((int)(wxCURSOR_PENCIL
)));
48994 PyDict_SetItemString(d
,"CURSOR_POINT_LEFT", SWIG_From_int((int)(wxCURSOR_POINT_LEFT
)));
48997 PyDict_SetItemString(d
,"CURSOR_POINT_RIGHT", SWIG_From_int((int)(wxCURSOR_POINT_RIGHT
)));
49000 PyDict_SetItemString(d
,"CURSOR_QUESTION_ARROW", SWIG_From_int((int)(wxCURSOR_QUESTION_ARROW
)));
49003 PyDict_SetItemString(d
,"CURSOR_RIGHT_BUTTON", SWIG_From_int((int)(wxCURSOR_RIGHT_BUTTON
)));
49006 PyDict_SetItemString(d
,"CURSOR_SIZENESW", SWIG_From_int((int)(wxCURSOR_SIZENESW
)));
49009 PyDict_SetItemString(d
,"CURSOR_SIZENS", SWIG_From_int((int)(wxCURSOR_SIZENS
)));
49012 PyDict_SetItemString(d
,"CURSOR_SIZENWSE", SWIG_From_int((int)(wxCURSOR_SIZENWSE
)));
49015 PyDict_SetItemString(d
,"CURSOR_SIZEWE", SWIG_From_int((int)(wxCURSOR_SIZEWE
)));
49018 PyDict_SetItemString(d
,"CURSOR_SIZING", SWIG_From_int((int)(wxCURSOR_SIZING
)));
49021 PyDict_SetItemString(d
,"CURSOR_SPRAYCAN", SWIG_From_int((int)(wxCURSOR_SPRAYCAN
)));
49024 PyDict_SetItemString(d
,"CURSOR_WAIT", SWIG_From_int((int)(wxCURSOR_WAIT
)));
49027 PyDict_SetItemString(d
,"CURSOR_WATCH", SWIG_From_int((int)(wxCURSOR_WATCH
)));
49030 PyDict_SetItemString(d
,"CURSOR_BLANK", SWIG_From_int((int)(wxCURSOR_BLANK
)));
49033 PyDict_SetItemString(d
,"CURSOR_DEFAULT", SWIG_From_int((int)(wxCURSOR_DEFAULT
)));
49036 PyDict_SetItemString(d
,"CURSOR_COPY_ARROW", SWIG_From_int((int)(wxCURSOR_COPY_ARROW
)));
49039 PyDict_SetItemString(d
,"CURSOR_ARROWWAIT", SWIG_From_int((int)(wxCURSOR_ARROWWAIT
)));
49042 PyDict_SetItemString(d
,"CURSOR_MAX", SWIG_From_int((int)(wxCURSOR_MAX
)));
49044 SWIG_addvarlink(SWIG_globals
,(char*)"DefaultPosition",_wrap_DefaultPosition_get
, _wrap_DefaultPosition_set
);
49045 SWIG_addvarlink(SWIG_globals
,(char*)"DefaultSize",_wrap_DefaultSize_get
, _wrap_DefaultSize_set
);
49047 PyDict_SetItemString(d
,"FromStart", SWIG_From_int((int)(wxFromStart
)));
49050 PyDict_SetItemString(d
,"FromCurrent", SWIG_From_int((int)(wxFromCurrent
)));
49053 PyDict_SetItemString(d
,"FromEnd", SWIG_From_int((int)(wxFromEnd
)));
49056 wxPyPtrTypeMap_Add("wxInputStream", "wxPyInputStream");
49059 wxPyPtrTypeMap_Add("wxFileSystemHandler", "wxPyFileSystemHandler");
49061 SWIG_addvarlink(SWIG_globals
,(char*)"NullImage",_wrap_NullImage_get
, _wrap_NullImage_set
);
49062 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_FILENAME",_wrap_IMAGE_OPTION_FILENAME_get
, _wrap_IMAGE_OPTION_FILENAME_set
);
49063 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_BMP_FORMAT",_wrap_IMAGE_OPTION_BMP_FORMAT_get
, _wrap_IMAGE_OPTION_BMP_FORMAT_set
);
49064 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_CUR_HOTSPOT_X",_wrap_IMAGE_OPTION_CUR_HOTSPOT_X_get
, _wrap_IMAGE_OPTION_CUR_HOTSPOT_X_set
);
49065 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_CUR_HOTSPOT_Y",_wrap_IMAGE_OPTION_CUR_HOTSPOT_Y_get
, _wrap_IMAGE_OPTION_CUR_HOTSPOT_Y_set
);
49066 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_RESOLUTION",_wrap_IMAGE_OPTION_RESOLUTION_get
, _wrap_IMAGE_OPTION_RESOLUTION_set
);
49067 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_RESOLUTIONX",_wrap_IMAGE_OPTION_RESOLUTIONX_get
, _wrap_IMAGE_OPTION_RESOLUTIONX_set
);
49068 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_RESOLUTIONY",_wrap_IMAGE_OPTION_RESOLUTIONY_get
, _wrap_IMAGE_OPTION_RESOLUTIONY_set
);
49069 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_RESOLUTIONUNIT",_wrap_IMAGE_OPTION_RESOLUTIONUNIT_get
, _wrap_IMAGE_OPTION_RESOLUTIONUNIT_set
);
49070 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_QUALITY",_wrap_IMAGE_OPTION_QUALITY_get
, _wrap_IMAGE_OPTION_QUALITY_set
);
49072 PyDict_SetItemString(d
,"IMAGE_RESOLUTION_INCHES", SWIG_From_int((int)(wxIMAGE_RESOLUTION_INCHES
)));
49075 PyDict_SetItemString(d
,"IMAGE_RESOLUTION_CM", SWIG_From_int((int)(wxIMAGE_RESOLUTION_CM
)));
49077 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_BITSPERSAMPLE",_wrap_IMAGE_OPTION_BITSPERSAMPLE_get
, _wrap_IMAGE_OPTION_BITSPERSAMPLE_set
);
49078 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_SAMPLESPERPIXEL",_wrap_IMAGE_OPTION_SAMPLESPERPIXEL_get
, _wrap_IMAGE_OPTION_SAMPLESPERPIXEL_set
);
49079 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_COMPRESSION",_wrap_IMAGE_OPTION_COMPRESSION_get
, _wrap_IMAGE_OPTION_COMPRESSION_set
);
49080 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_IMAGEDESCRIPTOR",_wrap_IMAGE_OPTION_IMAGEDESCRIPTOR_get
, _wrap_IMAGE_OPTION_IMAGEDESCRIPTOR_set
);
49081 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_PNG_FORMAT",_wrap_IMAGE_OPTION_PNG_FORMAT_get
, _wrap_IMAGE_OPTION_PNG_FORMAT_set
);
49082 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_PNG_BITDEPTH",_wrap_IMAGE_OPTION_PNG_BITDEPTH_get
, _wrap_IMAGE_OPTION_PNG_BITDEPTH_set
);
49084 PyDict_SetItemString(d
,"PNG_TYPE_COLOUR", SWIG_From_int((int)(wxPNG_TYPE_COLOUR
)));
49087 PyDict_SetItemString(d
,"PNG_TYPE_GREY", SWIG_From_int((int)(wxPNG_TYPE_GREY
)));
49090 PyDict_SetItemString(d
,"PNG_TYPE_GREY_RED", SWIG_From_int((int)(wxPNG_TYPE_GREY_RED
)));
49093 PyDict_SetItemString(d
,"BMP_24BPP", SWIG_From_int((int)(wxBMP_24BPP
)));
49096 PyDict_SetItemString(d
,"BMP_8BPP", SWIG_From_int((int)(wxBMP_8BPP
)));
49099 PyDict_SetItemString(d
,"BMP_8BPP_GREY", SWIG_From_int((int)(wxBMP_8BPP_GREY
)));
49102 PyDict_SetItemString(d
,"BMP_8BPP_GRAY", SWIG_From_int((int)(wxBMP_8BPP_GRAY
)));
49105 PyDict_SetItemString(d
,"BMP_8BPP_RED", SWIG_From_int((int)(wxBMP_8BPP_RED
)));
49108 PyDict_SetItemString(d
,"BMP_8BPP_PALETTE", SWIG_From_int((int)(wxBMP_8BPP_PALETTE
)));
49111 PyDict_SetItemString(d
,"BMP_4BPP", SWIG_From_int((int)(wxBMP_4BPP
)));
49114 PyDict_SetItemString(d
,"BMP_1BPP", SWIG_From_int((int)(wxBMP_1BPP
)));
49117 PyDict_SetItemString(d
,"BMP_1BPP_BW", SWIG_From_int((int)(wxBMP_1BPP_BW
)));
49120 PyDict_SetItemString(d
,"QUANTIZE_INCLUDE_WINDOWS_COLOURS", SWIG_From_int((int)(wxQUANTIZE_INCLUDE_WINDOWS_COLOURS
)));
49123 PyDict_SetItemString(d
,"QUANTIZE_FILL_DESTINATION_IMAGE", SWIG_From_int((int)(wxQUANTIZE_FILL_DESTINATION_IMAGE
)));
49126 PyDict_SetItemString(d
,"EVENT_PROPAGATE_NONE", SWIG_From_int((int)(wxEVENT_PROPAGATE_NONE
)));
49129 PyDict_SetItemString(d
,"EVENT_PROPAGATE_MAX", SWIG_From_int((int)(wxEVENT_PROPAGATE_MAX
)));
49131 PyDict_SetItemString(d
, "wxEVT_NULL", PyInt_FromLong(wxEVT_NULL
));
49132 PyDict_SetItemString(d
, "wxEVT_FIRST", PyInt_FromLong(wxEVT_FIRST
));
49133 PyDict_SetItemString(d
, "wxEVT_USER_FIRST", PyInt_FromLong(wxEVT_USER_FIRST
));
49134 PyDict_SetItemString(d
, "wxEVT_COMMAND_BUTTON_CLICKED", PyInt_FromLong(wxEVT_COMMAND_BUTTON_CLICKED
));
49135 PyDict_SetItemString(d
, "wxEVT_COMMAND_CHECKBOX_CLICKED", PyInt_FromLong(wxEVT_COMMAND_CHECKBOX_CLICKED
));
49136 PyDict_SetItemString(d
, "wxEVT_COMMAND_CHOICE_SELECTED", PyInt_FromLong(wxEVT_COMMAND_CHOICE_SELECTED
));
49137 PyDict_SetItemString(d
, "wxEVT_COMMAND_LISTBOX_SELECTED", PyInt_FromLong(wxEVT_COMMAND_LISTBOX_SELECTED
));
49138 PyDict_SetItemString(d
, "wxEVT_COMMAND_LISTBOX_DOUBLECLICKED", PyInt_FromLong(wxEVT_COMMAND_LISTBOX_DOUBLECLICKED
));
49139 PyDict_SetItemString(d
, "wxEVT_COMMAND_CHECKLISTBOX_TOGGLED", PyInt_FromLong(wxEVT_COMMAND_CHECKLISTBOX_TOGGLED
));
49140 PyDict_SetItemString(d
, "wxEVT_COMMAND_MENU_SELECTED", PyInt_FromLong(wxEVT_COMMAND_MENU_SELECTED
));
49141 PyDict_SetItemString(d
, "wxEVT_COMMAND_TOOL_CLICKED", PyInt_FromLong(wxEVT_COMMAND_TOOL_CLICKED
));
49142 PyDict_SetItemString(d
, "wxEVT_COMMAND_SLIDER_UPDATED", PyInt_FromLong(wxEVT_COMMAND_SLIDER_UPDATED
));
49143 PyDict_SetItemString(d
, "wxEVT_COMMAND_RADIOBOX_SELECTED", PyInt_FromLong(wxEVT_COMMAND_RADIOBOX_SELECTED
));
49144 PyDict_SetItemString(d
, "wxEVT_COMMAND_RADIOBUTTON_SELECTED", PyInt_FromLong(wxEVT_COMMAND_RADIOBUTTON_SELECTED
));
49145 PyDict_SetItemString(d
, "wxEVT_COMMAND_SCROLLBAR_UPDATED", PyInt_FromLong(wxEVT_COMMAND_SCROLLBAR_UPDATED
));
49146 PyDict_SetItemString(d
, "wxEVT_COMMAND_VLBOX_SELECTED", PyInt_FromLong(wxEVT_COMMAND_VLBOX_SELECTED
));
49147 PyDict_SetItemString(d
, "wxEVT_COMMAND_COMBOBOX_SELECTED", PyInt_FromLong(wxEVT_COMMAND_COMBOBOX_SELECTED
));
49148 PyDict_SetItemString(d
, "wxEVT_COMMAND_TOOL_RCLICKED", PyInt_FromLong(wxEVT_COMMAND_TOOL_RCLICKED
));
49149 PyDict_SetItemString(d
, "wxEVT_COMMAND_TOOL_ENTER", PyInt_FromLong(wxEVT_COMMAND_TOOL_ENTER
));
49150 PyDict_SetItemString(d
, "wxEVT_LEFT_DOWN", PyInt_FromLong(wxEVT_LEFT_DOWN
));
49151 PyDict_SetItemString(d
, "wxEVT_LEFT_UP", PyInt_FromLong(wxEVT_LEFT_UP
));
49152 PyDict_SetItemString(d
, "wxEVT_MIDDLE_DOWN", PyInt_FromLong(wxEVT_MIDDLE_DOWN
));
49153 PyDict_SetItemString(d
, "wxEVT_MIDDLE_UP", PyInt_FromLong(wxEVT_MIDDLE_UP
));
49154 PyDict_SetItemString(d
, "wxEVT_RIGHT_DOWN", PyInt_FromLong(wxEVT_RIGHT_DOWN
));
49155 PyDict_SetItemString(d
, "wxEVT_RIGHT_UP", PyInt_FromLong(wxEVT_RIGHT_UP
));
49156 PyDict_SetItemString(d
, "wxEVT_MOTION", PyInt_FromLong(wxEVT_MOTION
));
49157 PyDict_SetItemString(d
, "wxEVT_ENTER_WINDOW", PyInt_FromLong(wxEVT_ENTER_WINDOW
));
49158 PyDict_SetItemString(d
, "wxEVT_LEAVE_WINDOW", PyInt_FromLong(wxEVT_LEAVE_WINDOW
));
49159 PyDict_SetItemString(d
, "wxEVT_LEFT_DCLICK", PyInt_FromLong(wxEVT_LEFT_DCLICK
));
49160 PyDict_SetItemString(d
, "wxEVT_MIDDLE_DCLICK", PyInt_FromLong(wxEVT_MIDDLE_DCLICK
));
49161 PyDict_SetItemString(d
, "wxEVT_RIGHT_DCLICK", PyInt_FromLong(wxEVT_RIGHT_DCLICK
));
49162 PyDict_SetItemString(d
, "wxEVT_SET_FOCUS", PyInt_FromLong(wxEVT_SET_FOCUS
));
49163 PyDict_SetItemString(d
, "wxEVT_KILL_FOCUS", PyInt_FromLong(wxEVT_KILL_FOCUS
));
49164 PyDict_SetItemString(d
, "wxEVT_CHILD_FOCUS", PyInt_FromLong(wxEVT_CHILD_FOCUS
));
49165 PyDict_SetItemString(d
, "wxEVT_MOUSEWHEEL", PyInt_FromLong(wxEVT_MOUSEWHEEL
));
49166 PyDict_SetItemString(d
, "wxEVT_NC_LEFT_DOWN", PyInt_FromLong(wxEVT_NC_LEFT_DOWN
));
49167 PyDict_SetItemString(d
, "wxEVT_NC_LEFT_UP", PyInt_FromLong(wxEVT_NC_LEFT_UP
));
49168 PyDict_SetItemString(d
, "wxEVT_NC_MIDDLE_DOWN", PyInt_FromLong(wxEVT_NC_MIDDLE_DOWN
));
49169 PyDict_SetItemString(d
, "wxEVT_NC_MIDDLE_UP", PyInt_FromLong(wxEVT_NC_MIDDLE_UP
));
49170 PyDict_SetItemString(d
, "wxEVT_NC_RIGHT_DOWN", PyInt_FromLong(wxEVT_NC_RIGHT_DOWN
));
49171 PyDict_SetItemString(d
, "wxEVT_NC_RIGHT_UP", PyInt_FromLong(wxEVT_NC_RIGHT_UP
));
49172 PyDict_SetItemString(d
, "wxEVT_NC_MOTION", PyInt_FromLong(wxEVT_NC_MOTION
));
49173 PyDict_SetItemString(d
, "wxEVT_NC_ENTER_WINDOW", PyInt_FromLong(wxEVT_NC_ENTER_WINDOW
));
49174 PyDict_SetItemString(d
, "wxEVT_NC_LEAVE_WINDOW", PyInt_FromLong(wxEVT_NC_LEAVE_WINDOW
));
49175 PyDict_SetItemString(d
, "wxEVT_NC_LEFT_DCLICK", PyInt_FromLong(wxEVT_NC_LEFT_DCLICK
));
49176 PyDict_SetItemString(d
, "wxEVT_NC_MIDDLE_DCLICK", PyInt_FromLong(wxEVT_NC_MIDDLE_DCLICK
));
49177 PyDict_SetItemString(d
, "wxEVT_NC_RIGHT_DCLICK", PyInt_FromLong(wxEVT_NC_RIGHT_DCLICK
));
49178 PyDict_SetItemString(d
, "wxEVT_CHAR", PyInt_FromLong(wxEVT_CHAR
));
49179 PyDict_SetItemString(d
, "wxEVT_CHAR_HOOK", PyInt_FromLong(wxEVT_CHAR_HOOK
));
49180 PyDict_SetItemString(d
, "wxEVT_NAVIGATION_KEY", PyInt_FromLong(wxEVT_NAVIGATION_KEY
));
49181 PyDict_SetItemString(d
, "wxEVT_KEY_DOWN", PyInt_FromLong(wxEVT_KEY_DOWN
));
49182 PyDict_SetItemString(d
, "wxEVT_KEY_UP", PyInt_FromLong(wxEVT_KEY_UP
));
49183 PyDict_SetItemString(d
, "wxEVT_HOTKEY", PyInt_FromLong(wxEVT_HOTKEY
));
49184 PyDict_SetItemString(d
, "wxEVT_SET_CURSOR", PyInt_FromLong(wxEVT_SET_CURSOR
));
49185 PyDict_SetItemString(d
, "wxEVT_SCROLL_TOP", PyInt_FromLong(wxEVT_SCROLL_TOP
));
49186 PyDict_SetItemString(d
, "wxEVT_SCROLL_BOTTOM", PyInt_FromLong(wxEVT_SCROLL_BOTTOM
));
49187 PyDict_SetItemString(d
, "wxEVT_SCROLL_LINEUP", PyInt_FromLong(wxEVT_SCROLL_LINEUP
));
49188 PyDict_SetItemString(d
, "wxEVT_SCROLL_LINEDOWN", PyInt_FromLong(wxEVT_SCROLL_LINEDOWN
));
49189 PyDict_SetItemString(d
, "wxEVT_SCROLL_PAGEUP", PyInt_FromLong(wxEVT_SCROLL_PAGEUP
));
49190 PyDict_SetItemString(d
, "wxEVT_SCROLL_PAGEDOWN", PyInt_FromLong(wxEVT_SCROLL_PAGEDOWN
));
49191 PyDict_SetItemString(d
, "wxEVT_SCROLL_THUMBTRACK", PyInt_FromLong(wxEVT_SCROLL_THUMBTRACK
));
49192 PyDict_SetItemString(d
, "wxEVT_SCROLL_THUMBRELEASE", PyInt_FromLong(wxEVT_SCROLL_THUMBRELEASE
));
49193 PyDict_SetItemString(d
, "wxEVT_SCROLL_ENDSCROLL", PyInt_FromLong(wxEVT_SCROLL_ENDSCROLL
));
49194 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_TOP", PyInt_FromLong(wxEVT_SCROLLWIN_TOP
));
49195 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_BOTTOM", PyInt_FromLong(wxEVT_SCROLLWIN_BOTTOM
));
49196 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_LINEUP", PyInt_FromLong(wxEVT_SCROLLWIN_LINEUP
));
49197 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_LINEDOWN", PyInt_FromLong(wxEVT_SCROLLWIN_LINEDOWN
));
49198 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_PAGEUP", PyInt_FromLong(wxEVT_SCROLLWIN_PAGEUP
));
49199 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_PAGEDOWN", PyInt_FromLong(wxEVT_SCROLLWIN_PAGEDOWN
));
49200 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_THUMBTRACK", PyInt_FromLong(wxEVT_SCROLLWIN_THUMBTRACK
));
49201 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_THUMBRELEASE", PyInt_FromLong(wxEVT_SCROLLWIN_THUMBRELEASE
));
49202 PyDict_SetItemString(d
, "wxEVT_SIZE", PyInt_FromLong(wxEVT_SIZE
));
49203 PyDict_SetItemString(d
, "wxEVT_MOVE", PyInt_FromLong(wxEVT_MOVE
));
49204 PyDict_SetItemString(d
, "wxEVT_CLOSE_WINDOW", PyInt_FromLong(wxEVT_CLOSE_WINDOW
));
49205 PyDict_SetItemString(d
, "wxEVT_END_SESSION", PyInt_FromLong(wxEVT_END_SESSION
));
49206 PyDict_SetItemString(d
, "wxEVT_QUERY_END_SESSION", PyInt_FromLong(wxEVT_QUERY_END_SESSION
));
49207 PyDict_SetItemString(d
, "wxEVT_ACTIVATE_APP", PyInt_FromLong(wxEVT_ACTIVATE_APP
));
49208 PyDict_SetItemString(d
, "wxEVT_POWER", PyInt_FromLong(wxEVT_POWER
));
49209 PyDict_SetItemString(d
, "wxEVT_ACTIVATE", PyInt_FromLong(wxEVT_ACTIVATE
));
49210 PyDict_SetItemString(d
, "wxEVT_CREATE", PyInt_FromLong(wxEVT_CREATE
));
49211 PyDict_SetItemString(d
, "wxEVT_DESTROY", PyInt_FromLong(wxEVT_DESTROY
));
49212 PyDict_SetItemString(d
, "wxEVT_SHOW", PyInt_FromLong(wxEVT_SHOW
));
49213 PyDict_SetItemString(d
, "wxEVT_ICONIZE", PyInt_FromLong(wxEVT_ICONIZE
));
49214 PyDict_SetItemString(d
, "wxEVT_MAXIMIZE", PyInt_FromLong(wxEVT_MAXIMIZE
));
49215 PyDict_SetItemString(d
, "wxEVT_MOUSE_CAPTURE_CHANGED", PyInt_FromLong(wxEVT_MOUSE_CAPTURE_CHANGED
));
49216 PyDict_SetItemString(d
, "wxEVT_PAINT", PyInt_FromLong(wxEVT_PAINT
));
49217 PyDict_SetItemString(d
, "wxEVT_ERASE_BACKGROUND", PyInt_FromLong(wxEVT_ERASE_BACKGROUND
));
49218 PyDict_SetItemString(d
, "wxEVT_NC_PAINT", PyInt_FromLong(wxEVT_NC_PAINT
));
49219 PyDict_SetItemString(d
, "wxEVT_PAINT_ICON", PyInt_FromLong(wxEVT_PAINT_ICON
));
49220 PyDict_SetItemString(d
, "wxEVT_MENU_OPEN", PyInt_FromLong(wxEVT_MENU_OPEN
));
49221 PyDict_SetItemString(d
, "wxEVT_MENU_CLOSE", PyInt_FromLong(wxEVT_MENU_CLOSE
));
49222 PyDict_SetItemString(d
, "wxEVT_MENU_HIGHLIGHT", PyInt_FromLong(wxEVT_MENU_HIGHLIGHT
));
49223 PyDict_SetItemString(d
, "wxEVT_CONTEXT_MENU", PyInt_FromLong(wxEVT_CONTEXT_MENU
));
49224 PyDict_SetItemString(d
, "wxEVT_SYS_COLOUR_CHANGED", PyInt_FromLong(wxEVT_SYS_COLOUR_CHANGED
));
49225 PyDict_SetItemString(d
, "wxEVT_DISPLAY_CHANGED", PyInt_FromLong(wxEVT_DISPLAY_CHANGED
));
49226 PyDict_SetItemString(d
, "wxEVT_SETTING_CHANGED", PyInt_FromLong(wxEVT_SETTING_CHANGED
));
49227 PyDict_SetItemString(d
, "wxEVT_QUERY_NEW_PALETTE", PyInt_FromLong(wxEVT_QUERY_NEW_PALETTE
));
49228 PyDict_SetItemString(d
, "wxEVT_PALETTE_CHANGED", PyInt_FromLong(wxEVT_PALETTE_CHANGED
));
49229 PyDict_SetItemString(d
, "wxEVT_DROP_FILES", PyInt_FromLong(wxEVT_DROP_FILES
));
49230 PyDict_SetItemString(d
, "wxEVT_DRAW_ITEM", PyInt_FromLong(wxEVT_DRAW_ITEM
));
49231 PyDict_SetItemString(d
, "wxEVT_MEASURE_ITEM", PyInt_FromLong(wxEVT_MEASURE_ITEM
));
49232 PyDict_SetItemString(d
, "wxEVT_COMPARE_ITEM", PyInt_FromLong(wxEVT_COMPARE_ITEM
));
49233 PyDict_SetItemString(d
, "wxEVT_INIT_DIALOG", PyInt_FromLong(wxEVT_INIT_DIALOG
));
49234 PyDict_SetItemString(d
, "wxEVT_IDLE", PyInt_FromLong(wxEVT_IDLE
));
49235 PyDict_SetItemString(d
, "wxEVT_UPDATE_UI", PyInt_FromLong(wxEVT_UPDATE_UI
));
49236 PyDict_SetItemString(d
, "wxEVT_SIZING", PyInt_FromLong(wxEVT_SIZING
));
49237 PyDict_SetItemString(d
, "wxEVT_MOVING", PyInt_FromLong(wxEVT_MOVING
));
49238 PyDict_SetItemString(d
, "wxEVT_COMMAND_LEFT_CLICK", PyInt_FromLong(wxEVT_COMMAND_LEFT_CLICK
));
49239 PyDict_SetItemString(d
, "wxEVT_COMMAND_LEFT_DCLICK", PyInt_FromLong(wxEVT_COMMAND_LEFT_DCLICK
));
49240 PyDict_SetItemString(d
, "wxEVT_COMMAND_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_RIGHT_CLICK
));
49241 PyDict_SetItemString(d
, "wxEVT_COMMAND_RIGHT_DCLICK", PyInt_FromLong(wxEVT_COMMAND_RIGHT_DCLICK
));
49242 PyDict_SetItemString(d
, "wxEVT_COMMAND_SET_FOCUS", PyInt_FromLong(wxEVT_COMMAND_SET_FOCUS
));
49243 PyDict_SetItemString(d
, "wxEVT_COMMAND_KILL_FOCUS", PyInt_FromLong(wxEVT_COMMAND_KILL_FOCUS
));
49244 PyDict_SetItemString(d
, "wxEVT_COMMAND_ENTER", PyInt_FromLong(wxEVT_COMMAND_ENTER
));
49246 PyDict_SetItemString(d
,"MOUSE_BTN_ANY", SWIG_From_int((int)(wxMOUSE_BTN_ANY
)));
49249 PyDict_SetItemString(d
,"MOUSE_BTN_NONE", SWIG_From_int((int)(wxMOUSE_BTN_NONE
)));
49252 PyDict_SetItemString(d
,"MOUSE_BTN_LEFT", SWIG_From_int((int)(wxMOUSE_BTN_LEFT
)));
49255 PyDict_SetItemString(d
,"MOUSE_BTN_MIDDLE", SWIG_From_int((int)(wxMOUSE_BTN_MIDDLE
)));
49258 PyDict_SetItemString(d
,"MOUSE_BTN_RIGHT", SWIG_From_int((int)(wxMOUSE_BTN_RIGHT
)));
49261 PyDict_SetItemString(d
,"UPDATE_UI_PROCESS_ALL", SWIG_From_int((int)(wxUPDATE_UI_PROCESS_ALL
)));
49264 PyDict_SetItemString(d
,"UPDATE_UI_PROCESS_SPECIFIED", SWIG_From_int((int)(wxUPDATE_UI_PROCESS_SPECIFIED
)));
49267 PyDict_SetItemString(d
,"NavigationKeyEvent_IsBackward", SWIG_From_int((int)(wxNavigationKeyEvent::IsBackward
)));
49270 PyDict_SetItemString(d
,"NavigationKeyEvent_IsForward", SWIG_From_int((int)(wxNavigationKeyEvent::IsForward
)));
49273 PyDict_SetItemString(d
,"NavigationKeyEvent_WinChange", SWIG_From_int((int)(wxNavigationKeyEvent::WinChange
)));
49276 PyDict_SetItemString(d
,"NavigationKeyEvent_FromTab", SWIG_From_int((int)(wxNavigationKeyEvent::FromTab
)));
49279 PyDict_SetItemString(d
,"IDLE_PROCESS_ALL", SWIG_From_int((int)(wxIDLE_PROCESS_ALL
)));
49282 PyDict_SetItemString(d
,"IDLE_PROCESS_SPECIFIED", SWIG_From_int((int)(wxIDLE_PROCESS_SPECIFIED
)));
49284 PyDict_SetItemString(d
, "wxEVT_DATE_CHANGED", PyInt_FromLong(wxEVT_DATE_CHANGED
));
49286 PyDict_SetItemString(d
,"PYAPP_ASSERT_SUPPRESS", SWIG_From_int((int)(wxPYAPP_ASSERT_SUPPRESS
)));
49289 PyDict_SetItemString(d
,"PYAPP_ASSERT_EXCEPTION", SWIG_From_int((int)(wxPYAPP_ASSERT_EXCEPTION
)));
49292 PyDict_SetItemString(d
,"PYAPP_ASSERT_DIALOG", SWIG_From_int((int)(wxPYAPP_ASSERT_DIALOG
)));
49295 PyDict_SetItemString(d
,"PYAPP_ASSERT_LOG", SWIG_From_int((int)(wxPYAPP_ASSERT_LOG
)));
49298 PyDict_SetItemString(d
,"PRINT_WINDOWS", SWIG_From_int((int)(wxPRINT_WINDOWS
)));
49301 PyDict_SetItemString(d
,"PRINT_POSTSCRIPT", SWIG_From_int((int)(wxPRINT_POSTSCRIPT
)));
49303 SWIG_addvarlink(SWIG_globals
,(char*)"NullAcceleratorTable",_wrap_NullAcceleratorTable_get
, _wrap_NullAcceleratorTable_set
);
49304 SWIG_addvarlink(SWIG_globals
,(char*)"PanelNameStr",_wrap_PanelNameStr_get
, _wrap_PanelNameStr_set
);
49306 PyDict_SetItemString(d
,"WINDOW_VARIANT_NORMAL", SWIG_From_int((int)(wxWINDOW_VARIANT_NORMAL
)));
49309 PyDict_SetItemString(d
,"WINDOW_VARIANT_SMALL", SWIG_From_int((int)(wxWINDOW_VARIANT_SMALL
)));
49312 PyDict_SetItemString(d
,"WINDOW_VARIANT_MINI", SWIG_From_int((int)(wxWINDOW_VARIANT_MINI
)));
49315 PyDict_SetItemString(d
,"WINDOW_VARIANT_LARGE", SWIG_From_int((int)(wxWINDOW_VARIANT_LARGE
)));
49318 PyDict_SetItemString(d
,"WINDOW_VARIANT_MAX", SWIG_From_int((int)(wxWINDOW_VARIANT_MAX
)));
49320 SWIG_addvarlink(SWIG_globals
,(char*)"DefaultValidator",_wrap_DefaultValidator_get
, _wrap_DefaultValidator_set
);
49321 SWIG_addvarlink(SWIG_globals
,(char*)"ControlNameStr",_wrap_ControlNameStr_get
, _wrap_ControlNameStr_set
);
49323 PyDict_SetItemString(d
,"FLEX_GROWMODE_NONE", SWIG_From_int((int)(wxFLEX_GROWMODE_NONE
)));
49326 PyDict_SetItemString(d
,"FLEX_GROWMODE_SPECIFIED", SWIG_From_int((int)(wxFLEX_GROWMODE_SPECIFIED
)));
49329 PyDict_SetItemString(d
,"FLEX_GROWMODE_ALL", SWIG_From_int((int)(wxFLEX_GROWMODE_ALL
)));
49331 SWIG_addvarlink(SWIG_globals
,(char*)"DefaultSpan",_wrap_DefaultSpan_get
, _wrap_DefaultSpan_set
);
49333 PyDict_SetItemString(d
,"Left", SWIG_From_int((int)(wxLeft
)));
49336 PyDict_SetItemString(d
,"Top", SWIG_From_int((int)(wxTop
)));
49339 PyDict_SetItemString(d
,"Right", SWIG_From_int((int)(wxRight
)));
49342 PyDict_SetItemString(d
,"Bottom", SWIG_From_int((int)(wxBottom
)));
49345 PyDict_SetItemString(d
,"Width", SWIG_From_int((int)(wxWidth
)));
49348 PyDict_SetItemString(d
,"Height", SWIG_From_int((int)(wxHeight
)));
49351 PyDict_SetItemString(d
,"Centre", SWIG_From_int((int)(wxCentre
)));
49354 PyDict_SetItemString(d
,"Center", SWIG_From_int((int)(wxCenter
)));
49357 PyDict_SetItemString(d
,"CentreX", SWIG_From_int((int)(wxCentreX
)));
49360 PyDict_SetItemString(d
,"CentreY", SWIG_From_int((int)(wxCentreY
)));
49363 PyDict_SetItemString(d
,"Unconstrained", SWIG_From_int((int)(wxUnconstrained
)));
49366 PyDict_SetItemString(d
,"AsIs", SWIG_From_int((int)(wxAsIs
)));
49369 PyDict_SetItemString(d
,"PercentOf", SWIG_From_int((int)(wxPercentOf
)));
49372 PyDict_SetItemString(d
,"Above", SWIG_From_int((int)(wxAbove
)));
49375 PyDict_SetItemString(d
,"Below", SWIG_From_int((int)(wxBelow
)));
49378 PyDict_SetItemString(d
,"LeftOf", SWIG_From_int((int)(wxLeftOf
)));
49381 PyDict_SetItemString(d
,"RightOf", SWIG_From_int((int)(wxRightOf
)));
49384 PyDict_SetItemString(d
,"SameAs", SWIG_From_int((int)(wxSameAs
)));
49387 PyDict_SetItemString(d
,"Absolute", SWIG_From_int((int)(wxAbsolute
)));
49390 // Initialize threading, some globals and such
49394 // Although these are defined in __version__ they need to be here too so
49395 // that an assert can be done to ensure that the wxPython and the wxWindows
49397 PyDict_SetItemString(d
,"MAJOR_VERSION", PyInt_FromLong((long)wxMAJOR_VERSION
));
49398 PyDict_SetItemString(d
,"MINOR_VERSION", PyInt_FromLong((long)wxMINOR_VERSION
));
49399 PyDict_SetItemString(d
,"RELEASE_VERSION", PyInt_FromLong((long)wxRELEASE_NUMBER
));