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
,
1654 wxPySwigInstance_Check
,
1663 #if !WXWIN_COMPATIBILITY_2_4
1664 #define wxHIDE_READONLY 0
1668 /*@/opt/swig/share/swig/1.3.24/python/pymacros.swg,66,SWIG_define@*/
1669 #define SWIG_From_int PyInt_FromLong
1674 enum wxHotkeyModifier
1682 #define wxEVT_HOTKEY 9999
1685 static const wxString
wxPyEmptyString(wxEmptyString
);
1686 static wxString
wxObject_GetClassName(wxObject
*self
){
1687 return self
->GetClassInfo()->GetClassName();
1689 static void wxObject_Destroy(wxObject
*self
){
1694 #define wxCURSOR_COPY_ARROW wxCURSOR_ARROW
1702 SWIG_CheckLongInRange(long value
, long min_value
, long max_value
,
1705 if (value
< min_value
) {
1707 PyErr_Format(PyExc_OverflowError
,
1708 "value %ld is less than '%s' minimum %ld",
1709 value
, errmsg
, min_value
);
1712 } else if (value
> max_value
) {
1714 PyErr_Format(PyExc_OverflowError
,
1715 "value %ld is greater than '%s' maximum %ld",
1716 value
, errmsg
, max_value
);
1725 SWIG_AsVal_long(PyObject
* obj
, long* val
)
1727 if (PyNumber_Check(obj
)) {
1728 if (val
) *val
= PyInt_AsLong(obj
);
1732 SWIG_type_error("number", obj
);
1738 #if INT_MAX != LONG_MAX
1740 SWIG_AsVal_int(PyObject
*obj
, int *val
)
1742 const char* errmsg
= val
? "int" : (char*)0;
1744 if (SWIG_AsVal_long(obj
, &v
)) {
1745 if (SWIG_CheckLongInRange(v
, INT_MIN
,INT_MAX
, errmsg
)) {
1746 if (val
) *val
= (int)(v
);
1755 SWIG_type_error(errmsg
, obj
);
1761 SWIG_AsVal_int(PyObject
*obj
, int *val
)
1763 return SWIG_AsVal_long(obj
,(long*)val
);
1769 SWIG_As_int(PyObject
* obj
)
1772 if (!SWIG_AsVal_int(obj
, &v
)) {
1774 this is needed to make valgrind/purify happier.
1776 memset((void*)&v
, 0, sizeof(int));
1783 SWIG_Check_int(PyObject
* obj
)
1785 return SWIG_AsVal_int(obj
, (int*)0);
1788 static PyObject
*wxSize_Get(wxSize
*self
){
1789 bool blocked
= wxPyBeginBlockThreads();
1790 PyObject
* tup
= PyTuple_New(2);
1791 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(self
->x
));
1792 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(self
->y
));
1793 wxPyEndBlockThreads(blocked
);
1798 SWIG_AsVal_double(PyObject
*obj
, double* val
)
1800 if (PyNumber_Check(obj
)) {
1801 if (val
) *val
= PyFloat_AsDouble(obj
);
1805 SWIG_type_error("number", obj
);
1811 SWIGINTERNSHORT
double
1812 SWIG_As_double(PyObject
* obj
)
1815 if (!SWIG_AsVal_double(obj
, &v
)) {
1817 this is needed to make valgrind/purify happier.
1819 memset((void*)&v
, 0, sizeof(double));
1826 SWIG_Check_double(PyObject
* obj
)
1828 return SWIG_AsVal_double(obj
, (double*)0);
1832 /*@/opt/swig/share/swig/1.3.24/python/pymacros.swg,66,SWIG_define@*/
1833 #define SWIG_From_double PyFloat_FromDouble
1836 static void wxRealPoint_Set(wxRealPoint
*self
,double x
,double y
){
1840 static PyObject
*wxRealPoint_Get(wxRealPoint
*self
){
1841 bool blocked
= wxPyBeginBlockThreads();
1842 PyObject
* tup
= PyTuple_New(2);
1843 PyTuple_SET_ITEM(tup
, 0, PyFloat_FromDouble(self
->x
));
1844 PyTuple_SET_ITEM(tup
, 1, PyFloat_FromDouble(self
->y
));
1845 wxPyEndBlockThreads(blocked
);
1849 SWIGINTERNSHORT
long
1850 SWIG_As_long(PyObject
* obj
)
1853 if (!SWIG_AsVal_long(obj
, &v
)) {
1855 this is needed to make valgrind/purify happier.
1857 memset((void*)&v
, 0, sizeof(long));
1864 SWIG_Check_long(PyObject
* obj
)
1866 return SWIG_AsVal_long(obj
, (long*)0);
1869 static void wxPoint_Set(wxPoint
*self
,long x
,long y
){
1873 static PyObject
*wxPoint_Get(wxPoint
*self
){
1874 bool blocked
= wxPyBeginBlockThreads();
1875 PyObject
* tup
= PyTuple_New(2);
1876 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(self
->x
));
1877 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(self
->y
));
1878 wxPyEndBlockThreads(blocked
);
1881 static void wxRect_Set(wxRect
*self
,int x
=0,int y
=0,int width
=0,int height
=0){
1884 self
->width
= width
;
1885 self
->height
= height
;
1887 static PyObject
*wxRect_Get(wxRect
*self
){
1888 bool blocked
= wxPyBeginBlockThreads();
1889 PyObject
* tup
= PyTuple_New(4);
1890 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(self
->x
));
1891 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(self
->y
));
1892 PyTuple_SET_ITEM(tup
, 2, PyInt_FromLong(self
->width
));
1893 PyTuple_SET_ITEM(tup
, 3, PyInt_FromLong(self
->height
));
1894 wxPyEndBlockThreads(blocked
);
1898 PyObject
* wxIntersectRect(wxRect
* r1
, wxRect
* r2
) {
1901 wxRect
dest(0,0,0,0);
1904 reg1
.Intersect(reg2
);
1905 dest
= reg1
.GetBox();
1907 if (dest
!= wxRect(0,0,0,0)) {
1908 bool blocked
= wxPyBeginBlockThreads();
1909 wxRect
* newRect
= new wxRect(dest
);
1910 obj
= wxPyConstructObject((void*)newRect
, wxT("wxRect"), true);
1911 wxPyEndBlockThreads(blocked
);
1919 static PyObject
* t_output_helper(PyObject
* target
, PyObject
* o
) {
1925 } else if (target
== Py_None
) {
1929 if (!PyTuple_Check(target
)) {
1931 target
= PyTuple_New(1);
1932 PyTuple_SetItem(target
, 0, o2
);
1934 o3
= PyTuple_New(1);
1935 PyTuple_SetItem(o3
, 0, o
);
1938 target
= PySequence_Concat(o2
, o3
);
1946 static void wxPoint2D_Set(wxPoint2D
*self
,double x
=0,double y
=0){
1950 static PyObject
*wxPoint2D_Get(wxPoint2D
*self
){
1951 bool blocked
= wxPyBeginBlockThreads();
1952 PyObject
* tup
= PyTuple_New(2);
1953 PyTuple_SET_ITEM(tup
, 0, PyFloat_FromDouble(self
->m_x
));
1954 PyTuple_SET_ITEM(tup
, 1, PyFloat_FromDouble(self
->m_y
));
1955 wxPyEndBlockThreads(blocked
);
1959 #include "wx/wxPython/pyistream.h"
1961 static wxPyInputStream
*new_wxPyInputStream(PyObject
*p
){
1962 wxInputStream
* wxis
= wxPyCBInputStream::create(p
);
1964 return new wxPyInputStream(wxis
);
1969 SWIGINTERNSHORT PyObject
*
1970 SWIG_From_char(char c
)
1972 return PyString_FromStringAndSize(&c
,1);
1976 SWIGINTERNSHORT PyObject
*
1977 SWIG_From_unsigned_SS_long(unsigned long value
)
1979 return (value
> LONG_MAX
) ?
1980 PyLong_FromUnsignedLong(value
)
1981 : PyInt_FromLong((long)(value
));
1985 /* returns SWIG_OLDOBJ if the input is a raw char*, SWIG_PYSTR if is a PyString */
1987 SWIG_AsCharPtrAndSize(PyObject
*obj
, char** cptr
, size_t* psize
)
1989 static swig_type_info
* pchar_info
= 0;
1991 if (!pchar_info
) pchar_info
= SWIG_TypeQuery("char *");
1992 if (SWIG_ConvertPtr(obj
, (void**)&vptr
, pchar_info
, 0) != -1) {
1993 if (cptr
) *cptr
= vptr
;
1994 if (psize
) *psize
= vptr
? (strlen(vptr
) + 1) : 0;
1998 if (PyString_Check(obj
)) {
2000 *cptr
= PyString_AS_STRING(obj
);
2002 *psize
= PyString_GET_SIZE(obj
) + 1;
2009 SWIG_type_error("char *", obj
);
2016 SWIG_AsCharArray(PyObject
*obj
, char *val
, size_t size
)
2018 char* cptr
; size_t csize
;
2019 if (SWIG_AsCharPtrAndSize(obj
, &cptr
, &csize
)) {
2022 char x[5] = "hello";
2024 ie, assing the array using an extra '0' char.
2026 if ((csize
== size
+ 1) && !(cptr
[csize
-1])) --csize
;
2027 if (csize
<= size
) {
2029 if (csize
) memcpy(val
, cptr
, csize
);
2030 if (csize
< size
) memset(val
+ csize
, 0, size
- csize
);
2036 PyErr_Format(PyExc_TypeError
,
2037 "a char array of maximum size %lu is expected",
2038 (unsigned long) size
);
2045 SWIG_AsVal_char(PyObject
*obj
, char *val
)
2047 const char* errmsg
= val
? "char" : (char*)0;
2049 if (SWIG_AsVal_long(obj
, &v
)) {
2050 if (SWIG_CheckLongInRange(v
, CHAR_MIN
,CHAR_MAX
, errmsg
)) {
2051 if (val
) *val
= (char)(v
);
2058 return SWIG_AsCharArray(obj
, val
, 1);
2063 SWIGINTERNSHORT
char
2064 SWIG_As_char(PyObject
* obj
)
2067 if (!SWIG_AsVal_char(obj
, &v
)) {
2069 this is needed to make valgrind/purify happier.
2071 memset((void*)&v
, 0, sizeof(char));
2078 SWIG_Check_char(PyObject
* obj
)
2080 return SWIG_AsVal_char(obj
, (char*)0);
2084 /*@/opt/swig/share/swig/1.3.24/python/pymacros.swg,66,SWIG_define@*/
2085 #define SWIG_From_long PyInt_FromLong
2088 static void wxOutputStream_write(wxOutputStream
*self
,PyObject
*obj
){
2089 // We use only strings for the streams, not unicode
2090 PyObject
* str
= PyObject_Str(obj
);
2092 PyErr_SetString(PyExc_TypeError
, "Unable to convert to string");
2095 self
->Write(PyString_AS_STRING(str
),
2096 PyString_GET_SIZE(str
));
2100 #include "wx/wxPython/pyistream.h"
2103 class wxPyFileSystemHandler
: public wxFileSystemHandler
2106 wxPyFileSystemHandler() : wxFileSystemHandler() {}
2108 DEC_PYCALLBACK_BOOL_STRING_pure(CanOpen
);
2109 DEC_PYCALLBACK_FSF_FSSTRING_pure(OpenFile
);
2110 DEC_PYCALLBACK_STRING_STRINGINT_pure(FindFirst
);
2111 DEC_PYCALLBACK_STRING__pure(FindNext
);
2113 wxString
GetProtocol(const wxString
& location
) {
2114 return wxFileSystemHandler::GetProtocol(location
);
2117 wxString
GetLeftLocation(const wxString
& location
) {
2118 return wxFileSystemHandler::GetLeftLocation(location
);
2121 wxString
GetAnchor(const wxString
& location
) {
2122 return wxFileSystemHandler::GetAnchor(location
);
2125 wxString
GetRightLocation(const wxString
& location
) {
2126 return wxFileSystemHandler::GetRightLocation(location
);
2129 wxString
GetMimeTypeFromExt(const wxString
& location
) {
2130 return wxFileSystemHandler::GetMimeTypeFromExt(location
);
2137 IMP_PYCALLBACK_BOOL_STRING_pure(wxPyFileSystemHandler
, wxFileSystemHandler
, CanOpen
);
2138 IMP_PYCALLBACK_FSF_FSSTRING_pure(wxPyFileSystemHandler
, wxFileSystemHandler
, OpenFile
);
2139 IMP_PYCALLBACK_STRING_STRINGINT_pure(wxPyFileSystemHandler
, wxFileSystemHandler
, FindFirst
);
2140 IMP_PYCALLBACK_STRING__pure(wxPyFileSystemHandler
, wxFileSystemHandler
, FindNext
);
2144 SWIG_AsVal_bool(PyObject
*obj
, bool *val
)
2146 if (obj
== Py_True
) {
2147 if (val
) *val
= true;
2150 if (obj
== Py_False
) {
2151 if (val
) *val
= false;
2155 if (SWIG_AsVal_int(obj
, &res
)) {
2156 if (val
) *val
= res
? true : false;
2162 SWIG_type_error("bool", obj
);
2168 SWIGINTERNSHORT
bool
2169 SWIG_As_bool(PyObject
* obj
)
2172 if (!SWIG_AsVal_bool(obj
, &v
)) {
2174 this is needed to make valgrind/purify happier.
2176 memset((void*)&v
, 0, sizeof(bool));
2183 SWIG_Check_bool(PyObject
* obj
)
2185 return SWIG_AsVal_bool(obj
, (bool*)0);
2188 static wxString
FileSystem_URLToFileName(wxString
const &url
){
2189 wxFileName fname
= wxFileSystem::URLToFileName(url
);
2190 return fname
.GetFullPath();
2193 void __wxMemoryFSHandler_AddFile_wxImage(const wxString
& filename
,
2196 wxMemoryFSHandler::AddFile(filename
, image
, type
);
2199 void __wxMemoryFSHandler_AddFile_wxBitmap(const wxString
& filename
,
2200 const wxBitmap
& bitmap
,
2202 wxMemoryFSHandler::AddFile(filename
, bitmap
, type
);
2205 void __wxMemoryFSHandler_AddFile_Data(const wxString
& filename
,
2207 if (! PyString_Check(data
)) {
2208 wxPyBLOCK_THREADS(PyErr_SetString(PyExc_TypeError
,
2209 "Expected string object"));
2213 bool blocked
= wxPyBeginBlockThreads();
2214 void* ptr
= (void*)PyString_AsString(data
);
2215 size_t size
= PyString_Size(data
);
2216 wxPyEndBlockThreads(blocked
);
2218 wxMemoryFSHandler::AddFile(filename
, ptr
, size
);
2222 #include "wx/wxPython/pyistream.h"
2226 SWIG_AsVal_unsigned_SS_long(PyObject
* obj
, unsigned long* val
)
2229 if (SWIG_AsVal_long(obj
, &v
) && v
< 0) {
2230 SWIG_type_error("unsigned number", obj
);
2233 *val
= (unsigned long)v
;
2239 SWIG_CheckUnsignedLongInRange(unsigned long value
,
2240 unsigned long max_value
,
2243 if (value
> max_value
) {
2245 PyErr_Format(PyExc_OverflowError
,
2246 "value %lu is greater than '%s' minimum %lu",
2247 value
, errmsg
, max_value
);
2256 SWIG_AsVal_unsigned_SS_char(PyObject
*obj
, unsigned char *val
)
2258 const char* errmsg
= val
? "unsigned char" : (char*)0;
2260 if (SWIG_AsVal_unsigned_SS_long(obj
, &v
)) {
2261 if (SWIG_CheckUnsignedLongInRange(v
, UCHAR_MAX
,errmsg
)) {
2262 if (val
) *val
= (unsigned char)(v
);
2271 SWIG_type_error(errmsg
, obj
);
2277 SWIGINTERNSHORT
unsigned char
2278 SWIG_As_unsigned_SS_char(PyObject
* obj
)
2281 if (!SWIG_AsVal_unsigned_SS_char(obj
, &v
)) {
2283 this is needed to make valgrind/purify happier.
2285 memset((void*)&v
, 0, sizeof(unsigned char));
2292 SWIG_Check_unsigned_SS_char(PyObject
* obj
)
2294 return SWIG_AsVal_unsigned_SS_char(obj
, (unsigned char*)0);
2298 /*@/opt/swig/share/swig/1.3.24/python/pymacros.swg,66,SWIG_define@*/
2299 #define SWIG_From_unsigned_SS_char PyInt_FromLong
2303 static wxImage
*new_wxImage(int width
=0,int height
=0,bool clear
=true){
2304 if (width
> 0 && height
> 0)
2305 return new wxImage(width
, height
, clear
);
2309 static wxImage
*new_wxImage(wxBitmap
const &bitmap
){
2310 return new wxImage(bitmap
.ConvertToImage());
2312 static wxImage
*new_wxImage(int width
,int height
,unsigned char *data
){
2313 // Copy the source data so the wxImage can clean it up later
2314 unsigned char* copy
= (unsigned char*)malloc(width
*height
*3);
2319 memcpy(copy
, data
, width
*height
*3);
2320 return new wxImage(width
, height
, copy
, false);
2322 static wxImage
*new_wxImage(int width
,int height
,unsigned char *data
,unsigned char *alpha
){
2323 // Copy the source data so the wxImage can clean it up later
2324 unsigned char* dcopy
= (unsigned char*)malloc(width
*height
*3);
2325 if (dcopy
== NULL
) {
2329 memcpy(dcopy
, data
, width
*height
*3);
2330 unsigned char* acopy
= (unsigned char*)malloc(width
*height
);
2331 if (acopy
== NULL
) {
2335 memcpy(acopy
, alpha
, width
*height
);
2337 return new wxImage(width
, height
, dcopy
, acopy
, false);
2339 static wxSize
wxImage_GetSize(wxImage
*self
){
2340 wxSize
size(self
->GetWidth(), self
->GetHeight());
2343 static PyObject
*wxImage_GetData(wxImage
*self
){
2344 unsigned char* data
= self
->GetData();
2345 int len
= self
->GetWidth() * self
->GetHeight() * 3;
2347 wxPyBLOCK_THREADS( rv
= PyString_FromStringAndSize((char*)data
, len
));
2350 static void wxImage_SetData(wxImage
*self
,PyObject
*data
){
2351 unsigned char* dataPtr
;
2353 if (! PyString_Check(data
)) {
2354 wxPyBLOCK_THREADS(PyErr_SetString(PyExc_TypeError
,
2355 "Expected string object"));
2359 size_t len
= self
->GetWidth() * self
->GetHeight() * 3;
2360 dataPtr
= (unsigned char*) malloc(len
);
2361 wxPyBLOCK_THREADS( memcpy(dataPtr
, PyString_AsString(data
), len
) );
2362 self
->SetData(dataPtr
);
2363 // wxImage takes ownership of dataPtr...
2365 static PyObject
*wxImage_GetDataBuffer(wxImage
*self
){
2366 unsigned char* data
= self
->GetData();
2367 int len
= self
->GetWidth() * self
->GetHeight() * 3;
2369 wxPyBLOCK_THREADS( rv
= PyBuffer_FromReadWriteMemory(data
, len
) );
2372 static void wxImage_SetDataBuffer(wxImage
*self
,PyObject
*data
){
2373 unsigned char* buffer
;
2376 bool blocked
= wxPyBeginBlockThreads();
2377 if (!PyArg_Parse(data
, "t#", &buffer
, &size
))
2380 if (size
!= self
->GetWidth() * self
->GetHeight() * 3) {
2381 PyErr_SetString(PyExc_TypeError
, "Incorrect buffer size");
2384 self
->SetData(buffer
);
2386 wxPyEndBlockThreads(blocked
);
2388 static PyObject
*wxImage_GetAlphaData(wxImage
*self
){
2389 unsigned char* data
= self
->GetAlpha();
2393 int len
= self
->GetWidth() * self
->GetHeight();
2395 wxPyBLOCK_THREADS( rv
= PyString_FromStringAndSize((char*)data
, len
) );
2399 static void wxImage_SetAlphaData(wxImage
*self
,PyObject
*data
){
2400 unsigned char* dataPtr
;
2402 if (! PyString_Check(data
)) {
2403 PyErr_SetString(PyExc_TypeError
, "Expected string object");
2407 size_t len
= self
->GetWidth() * self
->GetHeight();
2408 dataPtr
= (unsigned char*) malloc(len
);
2409 wxPyBLOCK_THREADS( memcpy(dataPtr
, PyString_AsString(data
), len
) );
2410 self
->SetAlpha(dataPtr
);
2411 // wxImage takes ownership of dataPtr...
2413 static PyObject
*wxImage_GetAlphaBuffer(wxImage
*self
){
2414 unsigned char* data
= self
->GetAlpha();
2415 int len
= self
->GetWidth() * self
->GetHeight();
2417 wxPyBLOCK_THREADS( rv
= PyBuffer_FromReadWriteMemory(data
, len
) );
2420 static void wxImage_SetAlphaBuffer(wxImage
*self
,PyObject
*data
){
2421 unsigned char* buffer
;
2424 bool blocked
= wxPyBeginBlockThreads();
2425 if (!PyArg_Parse(data
, "t#", &buffer
, &size
))
2428 if (size
!= self
->GetWidth() * self
->GetHeight()) {
2429 PyErr_SetString(PyExc_TypeError
, "Incorrect buffer size");
2432 self
->SetAlpha(buffer
);
2434 wxPyEndBlockThreads(blocked
);
2437 SWIGINTERNSHORT
unsigned long
2438 SWIG_As_unsigned_SS_long(PyObject
* obj
)
2441 if (!SWIG_AsVal_unsigned_SS_long(obj
, &v
)) {
2443 this is needed to make valgrind/purify happier.
2445 memset((void*)&v
, 0, sizeof(unsigned long));
2452 SWIG_Check_unsigned_SS_long(PyObject
* obj
)
2454 return SWIG_AsVal_unsigned_SS_long(obj
, (unsigned long*)0);
2457 static wxBitmap
wxImage_ConvertToBitmap(wxImage
*self
,int depth
=-1){
2458 wxBitmap
bitmap(*self
, depth
);
2461 static wxBitmap
wxImage_ConvertToMonoBitmap(wxImage
*self
,unsigned char red
,unsigned char green
,unsigned char blue
){
2462 wxImage mono
= self
->ConvertToMono( red
, green
, blue
);
2463 wxBitmap
bitmap( mono
, 1 );
2466 static const wxString
wxPyIMAGE_OPTION_FILENAME(wxIMAGE_OPTION_FILENAME
);
2467 static const wxString
wxPyIMAGE_OPTION_BMP_FORMAT(wxIMAGE_OPTION_BMP_FORMAT
);
2468 static const wxString
wxPyIMAGE_OPTION_CUR_HOTSPOT_X(wxIMAGE_OPTION_CUR_HOTSPOT_X
);
2469 static const wxString
wxPyIMAGE_OPTION_CUR_HOTSPOT_Y(wxIMAGE_OPTION_CUR_HOTSPOT_Y
);
2470 static const wxString
wxPyIMAGE_OPTION_RESOLUTION(wxIMAGE_OPTION_RESOLUTION
);
2471 static const wxString
wxPyIMAGE_OPTION_RESOLUTIONX(wxIMAGE_OPTION_RESOLUTIONX
);
2472 static const wxString
wxPyIMAGE_OPTION_RESOLUTIONY(wxIMAGE_OPTION_RESOLUTIONY
);
2473 static const wxString
wxPyIMAGE_OPTION_RESOLUTIONUNIT(wxIMAGE_OPTION_RESOLUTIONUNIT
);
2474 static const wxString
wxPyIMAGE_OPTION_BITSPERSAMPLE(wxIMAGE_OPTION_BITSPERSAMPLE
);
2475 static const wxString
wxPyIMAGE_OPTION_SAMPLESPERPIXEL(wxIMAGE_OPTION_SAMPLESPERPIXEL
);
2476 static const wxString
wxPyIMAGE_OPTION_COMPRESSION(wxIMAGE_OPTION_COMPRESSION
);
2477 static const wxString
wxPyIMAGE_OPTION_IMAGEDESCRIPTOR(wxIMAGE_OPTION_IMAGEDESCRIPTOR
);
2479 #include <wx/quantize.h>
2481 static bool Quantize_Quantize(wxImage
const &src
,wxImage
&dest
,int desiredNoColours
=236,int flags
=wxQUANTIZE_INCLUDE_WINDOWS_COLOURS
|wxQUANTIZE_FILL_DESTINATION_IMAGE
){
2482 return wxQuantize::Quantize(src
, dest
,
2485 NULL
, // eightBitData
2488 static void wxEvtHandler_Connect(wxEvtHandler
*self
,int id
,int lastId
,int eventType
,PyObject
*func
){
2489 if (PyCallable_Check(func
)) {
2490 self
->Connect(id
, lastId
, eventType
,
2491 (wxObjectEventFunction
) &wxPyCallback::EventThunker
,
2492 new wxPyCallback(func
));
2494 else if (func
== Py_None
) {
2495 self
->Disconnect(id
, lastId
, eventType
,
2496 (wxObjectEventFunction
)
2497 &wxPyCallback::EventThunker
);
2501 PyErr_SetString(PyExc_TypeError
, "Expected callable object or None."));
2504 static bool wxEvtHandler_Disconnect(wxEvtHandler
*self
,int id
,int lastId
=-1,wxEventType eventType
=wxEVT_NULL
){
2505 return self
->Disconnect(id
, lastId
, eventType
,
2506 (wxObjectEventFunction
)
2507 &wxPyCallback::EventThunker
);
2509 static void wxEvtHandler__setOORInfo(wxEvtHandler
*self
,PyObject
*_self
,bool incref
=true){
2510 if (_self
&& _self
!= Py_None
) {
2511 self
->SetClientObject(new wxPyOORClientData(_self
, incref
));
2514 wxPyOORClientData
* data
= (wxPyOORClientData
*)self
->GetClientObject();
2516 self
->SetClientObject(NULL
); // This will delete it too
2521 static int wxKeyEvent_GetUnicodeKey(wxKeyEvent
*self
){
2523 return self
->GetUnicodeKey();
2529 #if UINT_MAX < LONG_MAX
2530 /*@/opt/swig/share/swig/1.3.24/python/pymacros.swg,66,SWIG_define@*/
2531 #define SWIG_From_unsigned_SS_int SWIG_From_long
2534 /*@/opt/swig/share/swig/1.3.24/python/pymacros.swg,66,SWIG_define@*/
2535 #define SWIG_From_unsigned_SS_int SWIG_From_unsigned_SS_long
2540 #if UINT_MAX != ULONG_MAX
2542 SWIG_AsVal_unsigned_SS_int(PyObject
*obj
, unsigned int *val
)
2544 const char* errmsg
= val
? "unsigned int" : (char*)0;
2546 if (SWIG_AsVal_unsigned_SS_long(obj
, &v
)) {
2547 if (SWIG_CheckUnsignedLongInRange(v
, INT_MAX
, errmsg
)) {
2548 if (val
) *val
= (unsigned int)(v
);
2555 SWIG_type_error(errmsg
, obj
);
2560 SWIGINTERNSHORT
unsigned int
2561 SWIG_AsVal_unsigned_SS_int(PyObject
*obj
, unsigned int *val
)
2563 return SWIG_AsVal_unsigned_SS_long(obj
,(unsigned long *)val
);
2568 SWIGINTERNSHORT
unsigned int
2569 SWIG_As_unsigned_SS_int(PyObject
* obj
)
2572 if (!SWIG_AsVal_unsigned_SS_int(obj
, &v
)) {
2574 this is needed to make valgrind/purify happier.
2576 memset((void*)&v
, 0, sizeof(unsigned int));
2583 SWIG_Check_unsigned_SS_int(PyObject
* obj
)
2585 return SWIG_AsVal_unsigned_SS_int(obj
, (unsigned int*)0);
2588 static void wxSizeEvent_SetSize(wxSizeEvent
*self
,wxSize size
){
2589 self
->m_size
= size
;
2591 static PyObject
*wxDropFilesEvent_GetFiles(wxDropFilesEvent
*self
){
2592 int count
= self
->GetNumberOfFiles();
2593 wxString
* files
= self
->GetFiles();
2594 PyObject
* list
= PyList_New(count
);
2597 PyErr_SetString(PyExc_MemoryError
, "Can't allocate list of files!");
2601 for (int i
=0; i
<count
; i
++) {
2602 PyList_SetItem(list
, i
, wx2PyString(files
[i
]));
2608 static wxPyApp
*new_wxPyApp(){
2609 wxPythonApp
= new wxPyApp();
2612 static int PyApp_GetComCtl32Version(){ wxPyRaiseNotImplemented(); return 0; }
2614 void wxApp_CleanUp() {
2619 wxPyApp
* wxPyGetApp() { return (wxPyApp
*)wxTheApp
; }
2623 SWIG_AsCharPtr(PyObject
*obj
, char **val
)
2625 if (SWIG_AsCharPtrAndSize(obj
, val
, (size_t*)(0))) {
2630 SWIG_type_error("char *", obj
);
2636 SWIGINTERN PyObject
*
2637 SWIG_FromCharPtr(const char* cptr
)
2640 size_t size
= strlen(cptr
);
2641 if (size
> INT_MAX
) {
2642 return SWIG_NewPointerObj((char*)(cptr
),
2643 SWIG_TypeQuery("char *"), 0);
2646 return PyString_FromStringAndSize(cptr
, size
);
2648 return PyString_FromString(cptr
);
2659 // A dummy class that raises an exception if used...
2663 wxEventLoop() { wxPyRaiseNotImplemented(); }
2664 int Run() { return 0; }
2665 void Exit(int rc
= 0) {}
2666 bool Pending() const { return false; }
2667 bool Dispatch() { return false; }
2668 bool IsRunning() const { return false; }
2669 static wxEventLoop
*GetActive() { wxPyRaiseNotImplemented(); return NULL
; }
2670 static void SetActive(wxEventLoop
* loop
) { wxPyRaiseNotImplemented(); }
2675 #include <wx/evtloop.h>
2681 static const wxString
wxPyPanelNameStr(wxPanelNameStr
);
2682 static wxVisualAttributes
*new_wxVisualAttributes(){ return new wxVisualAttributes
; }
2683 static void delete_wxVisualAttributes(wxVisualAttributes
*self
){ delete self
; }
2684 static PyObject
*wxWindow_GetChildren(wxWindow
*self
){
2685 wxWindowList
& list
= self
->GetChildren();
2686 return wxPy_ConvertList(&list
);
2688 static bool wxWindow_RegisterHotKey(wxWindow
*self
,int hotkeyId
,int modifiers
,int keycode
){
2690 return self
->RegisterHotKey(hotkeyId
, modifiers
, keycode
);
2695 static bool wxWindow_UnregisterHotKey(wxWindow
*self
,int hotkeyId
){
2702 static long wxWindow_GetHandle(wxWindow
*self
){
2703 return wxPyGetWinHandle(self
);
2705 static void wxWindow_AssociateHandle(wxWindow
*self
,long handle
){
2706 self
->AssociateHandle((WXWidget
)handle
);
2709 wxWindow
* wxFindWindowById( long id
, const wxWindow
*parent
= NULL
) {
2710 return wxWindow::FindWindowById(id
, parent
);
2713 wxWindow
* wxFindWindowByName( const wxString
& name
,
2714 const wxWindow
*parent
= NULL
) {
2715 return wxWindow::FindWindowByName(name
, parent
);
2718 wxWindow
* wxFindWindowByLabel( const wxString
& label
,
2719 const wxWindow
*parent
= NULL
) {
2720 return wxWindow::FindWindowByLabel(label
, parent
);
2725 #include <wx/msw/private.h> // to get wxGetWindowId
2729 wxWindow
* wxWindow_FromHWND(wxWindow
* parent
, unsigned long _hWnd
) {
2731 WXHWND hWnd
= (WXHWND
)_hWnd
;
2732 long id
= wxGetWindowId(hWnd
);
2733 wxWindow
* win
= new wxWindow
;
2734 parent
->AddChild(win
);
2735 win
->SetEventHandler(win
);
2738 win
->SubclassWin(hWnd
);
2739 win
->AdoptAttributesFromHWND();
2740 win
->SetupColours();
2743 wxPyRaiseNotImplemented();
2749 IMP_PYCALLBACK_BOOL_WXWIN(wxPyValidator
, wxValidator
, Validate
);
2750 IMP_PYCALLBACK_BOOL_(wxPyValidator
, wxValidator
, TransferToWindow
);
2751 IMP_PYCALLBACK_BOOL_(wxPyValidator
, wxValidator
, TransferFromWindow
);
2753 IMPLEMENT_DYNAMIC_CLASS(wxPyValidator
, wxValidator
);
2755 static void wxMenu_Destroy(wxMenu
*self
){ delete self
; }
2756 static PyObject
*wxMenu_GetMenuItems(wxMenu
*self
){
2757 wxMenuItemList
& list
= self
->GetMenuItems();
2758 return wxPy_ConvertList(&list
);
2760 static void wxMenuItem_SetFont(wxMenuItem
*self
,wxFont
const &font
){}
2761 static wxFont
wxMenuItem_GetFont(wxMenuItem
*self
){ return wxNullFont
; }
2762 static void wxMenuItem_SetTextColour(wxMenuItem
*self
,wxColour
const &colText
){}
2763 static wxColour
wxMenuItem_GetTextColour(wxMenuItem
*self
){ return wxNullColour
; }
2764 static void wxMenuItem_SetBackgroundColour(wxMenuItem
*self
,wxColour
const &colBack
){}
2765 static wxColour
wxMenuItem_GetBackgroundColour(wxMenuItem
*self
){ return wxNullColour
; }
2766 static void wxMenuItem_SetBitmaps(wxMenuItem
*self
,wxBitmap
const &bmpChecked
,wxBitmap
const &bmpUnchecked
=wxNullBitmap
){}
2767 static void wxMenuItem_SetDisabledBitmap(wxMenuItem
*self
,wxBitmap
const &bmpDisabled
){}
2768 static wxBitmap
const &wxMenuItem_GetDisabledBitmap(wxMenuItem
const *self
){ return wxNullBitmap
; }
2769 static void wxMenuItem_SetMarginWidth(wxMenuItem
*self
,int nWidth
){}
2770 static int wxMenuItem_GetMarginWidth(wxMenuItem
*self
){ return 0; }
2771 static int MenuItem_GetDefaultMarginWidth(){ return 0; }
2772 static bool wxMenuItem_IsOwnerDrawn(wxMenuItem
*self
){ return false; }
2773 static void wxMenuItem_SetOwnerDrawn(wxMenuItem
*self
,bool ownerDrawn
=true){}
2774 static void wxMenuItem_ResetOwnerDrawn(wxMenuItem
*self
){}
2775 static const wxString
wxPyControlNameStr(wxControlNameStr
);
2776 static int wxItemContainer_Append(wxItemContainer
*self
,wxString
const &item
,PyObject
*clientData
=NULL
){
2778 wxPyClientData
* data
= new wxPyClientData(clientData
);
2779 return self
->Append(item
, data
);
2781 return self
->Append(item
);
2783 static int wxItemContainer_Insert(wxItemContainer
*self
,wxString
const &item
,int pos
,PyObject
*clientData
=NULL
){
2785 wxPyClientData
* data
= new wxPyClientData(clientData
);
2786 return self
->Insert(item
, pos
, data
);
2788 return self
->Insert(item
, pos
);
2790 static PyObject
*wxItemContainer_GetClientData(wxItemContainer
*self
,int n
){
2791 wxPyClientData
* data
= (wxPyClientData
*)self
->GetClientObject(n
);
2793 Py_INCREF(data
->m_obj
);
2800 static void wxItemContainer_SetClientData(wxItemContainer
*self
,int n
,PyObject
*clientData
){
2801 wxPyClientData
* data
= new wxPyClientData(clientData
);
2802 self
->SetClientObject(n
, data
);
2806 static wxSizerItem
*new_wxSizerItem(wxWindow
*window
,int proportion
,int flag
,int border
,PyObject
*userData
=NULL
){
2807 wxPyUserData
* data
= NULL
;
2809 bool blocked
= wxPyBeginBlockThreads();
2810 data
= new wxPyUserData(userData
);
2811 wxPyEndBlockThreads(blocked
);
2813 return new wxSizerItem(window
, proportion
, flag
, border
, data
);
2815 static wxSizerItem
*new_wxSizerItem(int width
,int height
,int proportion
,int flag
,int border
,PyObject
*userData
=NULL
){
2816 wxPyUserData
* data
= NULL
;
2818 bool blocked
= wxPyBeginBlockThreads();
2819 data
= new wxPyUserData(userData
);
2820 wxPyEndBlockThreads(blocked
);
2822 return new wxSizerItem(width
, height
, proportion
, flag
, border
, data
);
2824 static wxSizerItem
*new_wxSizerItem(wxSizer
*sizer
,int proportion
,int flag
,int border
,PyObject
*userData
=NULL
){
2825 wxPyUserData
* data
= NULL
;
2827 bool blocked
= wxPyBeginBlockThreads();
2828 data
= new wxPyUserData(userData
);
2829 wxPyEndBlockThreads(blocked
);
2831 return new wxSizerItem(sizer
, proportion
, flag
, border
, data
);
2836 SWIG_CheckDoubleInRange(double value
, double min_value
,
2837 double max_value
, const char* errmsg
)
2839 if (value
< min_value
) {
2841 PyErr_Format(PyExc_OverflowError
,
2842 "value %g is less than %s minimum %g",
2843 value
, errmsg
, min_value
);
2846 } else if (value
> max_value
) {
2848 PyErr_Format(PyExc_OverflowError
,
2849 "value %g is greater than %s maximum %g",
2850 value
, errmsg
, max_value
);
2859 SWIG_AsVal_float(PyObject
*obj
, float *val
)
2861 const char* errmsg
= val
? "float" : (char*)0;
2863 if (SWIG_AsVal_double(obj
, &v
)) {
2864 if (SWIG_CheckDoubleInRange(v
, -FLT_MAX
, FLT_MAX
, errmsg
)) {
2865 if (val
) *val
= (float)(v
);
2874 SWIG_type_error(errmsg
, obj
);
2880 SWIGINTERNSHORT
float
2881 SWIG_As_float(PyObject
* obj
)
2884 if (!SWIG_AsVal_float(obj
, &v
)) {
2886 this is needed to make valgrind/purify happier.
2888 memset((void*)&v
, 0, sizeof(float));
2895 SWIG_Check_float(PyObject
* obj
)
2897 return SWIG_AsVal_float(obj
, (float*)0);
2901 /*@/opt/swig/share/swig/1.3.24/python/pymacros.swg,66,SWIG_define@*/
2902 #define SWIG_From_float PyFloat_FromDouble
2905 static PyObject
*wxSizerItem_GetUserData(wxSizerItem
*self
){
2906 wxPyUserData
* data
= (wxPyUserData
*)self
->GetUserData();
2908 Py_INCREF(data
->m_obj
);
2916 // Figure out the type of the sizer item
2918 struct wxPySizerItemInfo
{
2920 : window(NULL
), sizer(NULL
), gotSize(false),
2921 size(wxDefaultSize
), gotPos(false), pos(-1)
2932 static wxPySizerItemInfo
wxPySizerItemTypeHelper(PyObject
* item
, bool checkSize
, bool checkIdx
) {
2934 wxPySizerItemInfo info
;
2936 wxSize
* sizePtr
= &size
;
2938 // Find out what the type of the item is
2940 if ( ! wxPyConvertSwigPtr(item
, (void**)&info
.window
, wxT("wxWindow")) ) {
2945 if ( ! wxPyConvertSwigPtr(item
, (void**)&info
.sizer
, wxT("wxSizer")) ) {
2949 // try wxSize or (w,h)
2950 if ( checkSize
&& wxSize_helper(item
, &sizePtr
)) {
2951 info
.size
= *sizePtr
;
2952 info
.gotSize
= true;
2956 if (checkIdx
&& PyInt_Check(item
)) {
2957 info
.pos
= PyInt_AsLong(item
);
2963 if ( !(info
.window
|| info
.sizer
|| (checkSize
&& info
.gotSize
) || (checkIdx
&& info
.gotPos
)) ) {
2964 // no expected type, figure out what kind of error message to generate
2965 if ( !checkSize
&& !checkIdx
)
2966 PyErr_SetString(PyExc_TypeError
, "wxWindow or wxSizer expected for item");
2967 else if ( checkSize
&& !checkIdx
)
2968 PyErr_SetString(PyExc_TypeError
, "wxWindow, wxSizer, wxSize, or (w,h) expected for item");
2969 else if ( !checkSize
&& checkIdx
)
2970 PyErr_SetString(PyExc_TypeError
, "wxWindow, wxSizer or int (position) expected for item");
2972 // can this one happen?
2973 PyErr_SetString(PyExc_TypeError
, "wxWindow, wxSizer, wxSize, or (w,h) or int (position) expected for item");
2979 static void wxSizer__setOORInfo(wxSizer
*self
,PyObject
*_self
){
2980 if (!self
->GetClientObject())
2981 self
->SetClientObject(new wxPyOORClientData(_self
));
2983 static wxSizerItem
*wxSizer_Add(wxSizer
*self
,PyObject
*item
,int proportion
=0,int flag
=0,int border
=0,PyObject
*userData
=NULL
){
2985 wxPyUserData
* data
= NULL
;
2986 bool blocked
= wxPyBeginBlockThreads();
2987 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, true, false);
2988 if ( userData
&& (info
.window
|| info
.sizer
|| info
.gotSize
) )
2989 data
= new wxPyUserData(userData
);
2990 wxPyEndBlockThreads(blocked
);
2992 // Now call the real Add method if a valid item type was found
2994 return self
->Add(info
.window
, proportion
, flag
, border
, data
);
2995 else if ( info
.sizer
)
2996 return self
->Add(info
.sizer
, proportion
, flag
, border
, data
);
2997 else if (info
.gotSize
)
2998 return self
->Add(info
.size
.GetWidth(), info
.size
.GetHeight(),
2999 proportion
, flag
, border
, data
);
3003 static wxSizerItem
*wxSizer_Insert(wxSizer
*self
,int before
,PyObject
*item
,int proportion
=0,int flag
=0,int border
=0,PyObject
*userData
=NULL
){
3005 wxPyUserData
* data
= NULL
;
3006 bool blocked
= wxPyBeginBlockThreads();
3007 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, true, false);
3008 if ( userData
&& (info
.window
|| info
.sizer
|| info
.gotSize
) )
3009 data
= new wxPyUserData(userData
);
3010 wxPyEndBlockThreads(blocked
);
3012 // Now call the real Insert method if a valid item type was found
3014 return self
->Insert(before
, info
.window
, proportion
, flag
, border
, data
);
3015 else if ( info
.sizer
)
3016 return self
->Insert(before
, info
.sizer
, proportion
, flag
, border
, data
);
3017 else if (info
.gotSize
)
3018 return self
->Insert(before
, info
.size
.GetWidth(), info
.size
.GetHeight(),
3019 proportion
, flag
, border
, data
);
3023 static wxSizerItem
*wxSizer_Prepend(wxSizer
*self
,PyObject
*item
,int proportion
=0,int flag
=0,int border
=0,PyObject
*userData
=NULL
){
3025 wxPyUserData
* data
= NULL
;
3026 bool blocked
= wxPyBeginBlockThreads();
3027 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, true, false);
3028 if ( userData
&& (info
.window
|| info
.sizer
|| info
.gotSize
) )
3029 data
= new wxPyUserData(userData
);
3030 wxPyEndBlockThreads(blocked
);
3032 // Now call the real Prepend method if a valid item type was found
3034 return self
->Prepend(info
.window
, proportion
, flag
, border
, data
);
3035 else if ( info
.sizer
)
3036 return self
->Prepend(info
.sizer
, proportion
, flag
, border
, data
);
3037 else if (info
.gotSize
)
3038 return self
->Prepend(info
.size
.GetWidth(), info
.size
.GetHeight(),
3039 proportion
, flag
, border
, data
);
3043 static bool wxSizer_Remove(wxSizer
*self
,PyObject
*item
){
3044 bool blocked
= wxPyBeginBlockThreads();
3045 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, false, true);
3046 wxPyEndBlockThreads(blocked
);
3048 return self
->Remove(info
.window
);
3049 else if ( info
.sizer
)
3050 return self
->Remove(info
.sizer
);
3051 else if ( info
.gotPos
)
3052 return self
->Remove(info
.pos
);
3056 static bool wxSizer_Detach(wxSizer
*self
,PyObject
*item
){
3057 bool blocked
= wxPyBeginBlockThreads();
3058 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, false, true);
3059 wxPyEndBlockThreads(blocked
);
3061 return self
->Detach(info
.window
);
3062 else if ( info
.sizer
)
3063 return self
->Detach(info
.sizer
);
3064 else if ( info
.gotPos
)
3065 return self
->Detach(info
.pos
);
3069 static wxSizerItem
*wxSizer_GetItem(wxSizer
*self
,PyObject
*item
){
3070 bool blocked
= wxPyBeginBlockThreads();
3071 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, false, true);
3072 wxPyEndBlockThreads(blocked
);
3074 return self
->GetItem(info
.window
);
3075 else if ( info
.sizer
)
3076 return self
->GetItem(info
.sizer
);
3077 else if ( info
.gotPos
)
3078 return self
->GetItem(info
.pos
);
3082 static void wxSizer__SetItemMinSize(wxSizer
*self
,PyObject
*item
,wxSize
const &size
){
3083 bool blocked
= wxPyBeginBlockThreads();
3084 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, false, true);
3085 wxPyEndBlockThreads(blocked
);
3087 self
->SetItemMinSize(info
.window
, size
);
3088 else if ( info
.sizer
)
3089 self
->SetItemMinSize(info
.sizer
, size
);
3090 else if ( info
.gotPos
)
3091 self
->SetItemMinSize(info
.pos
, size
);
3093 static PyObject
*wxSizer_GetChildren(wxSizer
*self
){
3094 wxSizerItemList
& list
= self
->GetChildren();
3095 return wxPy_ConvertList(&list
);
3097 static bool wxSizer_Show(wxSizer
*self
,PyObject
*item
,bool show
=true,bool recursive
=false){
3098 bool blocked
= wxPyBeginBlockThreads();
3099 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, false, true);
3100 wxPyEndBlockThreads(blocked
);
3102 return self
->Show(info
.window
, show
, recursive
);
3103 else if ( info
.sizer
)
3104 return self
->Show(info
.sizer
, show
, recursive
);
3105 else if ( info
.gotPos
)
3106 return self
->Show(info
.pos
, show
);
3110 static bool wxSizer_IsShown(wxSizer
*self
,PyObject
*item
){
3111 bool blocked
= wxPyBeginBlockThreads();
3112 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, false, false);
3113 wxPyEndBlockThreads(blocked
);
3115 return self
->IsShown(info
.window
);
3116 else if ( info
.sizer
)
3117 return self
->IsShown(info
.sizer
);
3118 else if ( info
.gotPos
)
3119 return self
->IsShown(info
.pos
);
3125 IMP_PYCALLBACK___pure(wxPySizer
, wxSizer
, RecalcSizes
);
3126 IMP_PYCALLBACK_wxSize__pure(wxPySizer
, wxSizer
, CalcMin
);
3127 IMPLEMENT_DYNAMIC_CLASS(wxPySizer
, wxSizer
);
3132 bool wxGBPosition_helper(PyObject
* source
, wxGBPosition
** obj
)
3134 if (source
== Py_None
) {
3135 **obj
= wxGBPosition(-1,-1);
3138 return wxPyTwoIntItem_helper(source
, obj
, wxT("wxGBPosition"));
3141 bool wxGBSpan_helper(PyObject
* source
, wxGBSpan
** obj
)
3143 if (source
== Py_None
) {
3144 **obj
= wxGBSpan(-1,-1);
3147 return wxPyTwoIntItem_helper(source
, obj
, wxT("wxGBSpan"));
3151 static void wxGBPosition_Set(wxGBPosition
*self
,int row
=0,int col
=0){
3155 static PyObject
*wxGBPosition_Get(wxGBPosition
*self
){
3156 bool blocked
= wxPyBeginBlockThreads();
3157 PyObject
* tup
= PyTuple_New(2);
3158 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(self
->GetRow()));
3159 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(self
->GetCol()));
3160 wxPyEndBlockThreads(blocked
);
3163 static void wxGBSpan_Set(wxGBSpan
*self
,int rowspan
=1,int colspan
=1){
3164 self
->SetRowspan(rowspan
);
3165 self
->SetColspan(colspan
);
3167 static PyObject
*wxGBSpan_Get(wxGBSpan
*self
){
3168 bool blocked
= wxPyBeginBlockThreads();
3169 PyObject
* tup
= PyTuple_New(2);
3170 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(self
->GetRowspan()));
3171 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(self
->GetColspan()));
3172 wxPyEndBlockThreads(blocked
);
3175 static wxGBSizerItem
*new_wxGBSizerItem(wxWindow
*window
,wxGBPosition
const &pos
,wxGBSpan
const &span
,int flag
,int border
,PyObject
*userData
=NULL
){
3176 wxPyUserData
* data
= NULL
;
3178 bool blocked
= wxPyBeginBlockThreads();
3179 data
= new wxPyUserData(userData
);
3180 wxPyEndBlockThreads(blocked
);
3182 return new wxGBSizerItem(window
, pos
, span
, flag
, border
, data
);
3184 static wxGBSizerItem
*new_wxGBSizerItem(wxSizer
*sizer
,wxGBPosition
const &pos
,wxGBSpan
const &span
,int flag
,int border
,PyObject
*userData
=NULL
){
3185 wxPyUserData
* data
= NULL
;
3187 bool blocked
= wxPyBeginBlockThreads();
3188 data
= new wxPyUserData(userData
);
3189 wxPyEndBlockThreads(blocked
);
3191 return new wxGBSizerItem(sizer
, pos
, span
, flag
, border
, data
);
3193 static wxGBSizerItem
*new_wxGBSizerItem(int width
,int height
,wxGBPosition
const &pos
,wxGBSpan
const &span
,int flag
,int border
,PyObject
*userData
=NULL
){
3194 wxPyUserData
* data
= NULL
;
3196 bool blocked
= wxPyBeginBlockThreads();
3197 data
= new wxPyUserData(userData
);
3198 wxPyEndBlockThreads(blocked
);
3200 return new wxGBSizerItem(width
, height
, pos
, span
, flag
, border
, data
);
3202 static wxGBPosition
wxGBSizerItem_GetEndPos(wxGBSizerItem
*self
){
3204 self
->GetEndPos(row
, col
);
3205 return wxGBPosition(row
, col
);
3207 static wxGBSizerItem
*wxGridBagSizer_Add(wxGridBagSizer
*self
,PyObject
*item
,wxGBPosition
const &pos
,wxGBSpan
const &span
=wxDefaultSpan
,int flag
=0,int border
=0,PyObject
*userData
=NULL
){
3209 wxPyUserData
* data
= NULL
;
3210 bool blocked
= wxPyBeginBlockThreads();
3211 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, true, false);
3212 if ( userData
&& (info
.window
|| info
.sizer
|| info
.gotSize
) )
3213 data
= new wxPyUserData(userData
);
3214 wxPyEndBlockThreads(blocked
);
3216 // Now call the real Add method if a valid item type was found
3218 return (wxGBSizerItem
*)self
->Add(info
.window
, pos
, span
, flag
, border
, data
);
3219 else if ( info
.sizer
)
3220 return (wxGBSizerItem
*)self
->Add(info
.sizer
, pos
, span
, flag
, border
, data
);
3221 else if (info
.gotSize
)
3222 return (wxGBSizerItem
*)self
->Add(info
.size
.GetWidth(), info
.size
.GetHeight(),
3223 pos
, span
, flag
, border
, data
);
3231 static int _wrap_EmptyString_set(PyObject
*) {
3232 PyErr_SetString(PyExc_TypeError
,"Variable EmptyString is read-only.");
3237 static PyObject
*_wrap_EmptyString_get(void) {
3242 pyobj
= PyUnicode_FromWideChar((&wxPyEmptyString
)->c_str(), (&wxPyEmptyString
)->Len());
3244 pyobj
= PyString_FromStringAndSize((&wxPyEmptyString
)->c_str(), (&wxPyEmptyString
)->Len());
3251 static PyObject
*_wrap_Object_GetClassName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3252 PyObject
*resultobj
;
3253 wxObject
*arg1
= (wxObject
*) 0 ;
3255 PyObject
* obj0
= 0 ;
3257 (char *) "self", NULL
3260 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Object_GetClassName",kwnames
,&obj0
)) goto fail
;
3261 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxObject
, SWIG_POINTER_EXCEPTION
| 0);
3262 if (SWIG_arg_fail(1)) SWIG_fail
;
3264 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3265 result
= wxObject_GetClassName(arg1
);
3267 wxPyEndAllowThreads(__tstate
);
3268 if (PyErr_Occurred()) SWIG_fail
;
3272 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3274 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3283 static PyObject
*_wrap_Object_Destroy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3284 PyObject
*resultobj
;
3285 wxObject
*arg1
= (wxObject
*) 0 ;
3286 PyObject
* obj0
= 0 ;
3288 (char *) "self", NULL
3291 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Object_Destroy",kwnames
,&obj0
)) goto fail
;
3292 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxObject
, SWIG_POINTER_EXCEPTION
| 0);
3293 if (SWIG_arg_fail(1)) SWIG_fail
;
3295 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3296 wxObject_Destroy(arg1
);
3298 wxPyEndAllowThreads(__tstate
);
3299 if (PyErr_Occurred()) SWIG_fail
;
3301 Py_INCREF(Py_None
); resultobj
= Py_None
;
3308 static PyObject
* Object_swigregister(PyObject
*, PyObject
*args
) {
3310 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3311 SWIG_TypeClientData(SWIGTYPE_p_wxObject
, obj
);
3313 return Py_BuildValue((char *)"");
3315 static PyObject
*_wrap_Size_width_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3316 PyObject
*resultobj
;
3317 wxSize
*arg1
= (wxSize
*) 0 ;
3319 PyObject
* obj0
= 0 ;
3320 PyObject
* obj1
= 0 ;
3322 (char *) "self",(char *) "x", NULL
3325 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size_width_set",kwnames
,&obj0
,&obj1
)) goto fail
;
3326 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
| 0);
3327 if (SWIG_arg_fail(1)) SWIG_fail
;
3329 arg2
= (int)(SWIG_As_int(obj1
));
3330 if (SWIG_arg_fail(2)) SWIG_fail
;
3332 if (arg1
) (arg1
)->x
= arg2
;
3334 Py_INCREF(Py_None
); resultobj
= Py_None
;
3341 static PyObject
*_wrap_Size_width_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3342 PyObject
*resultobj
;
3343 wxSize
*arg1
= (wxSize
*) 0 ;
3345 PyObject
* obj0
= 0 ;
3347 (char *) "self", NULL
3350 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Size_width_get",kwnames
,&obj0
)) goto fail
;
3351 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
| 0);
3352 if (SWIG_arg_fail(1)) SWIG_fail
;
3353 result
= (int) ((arg1
)->x
);
3356 resultobj
= SWIG_From_int((int)(result
));
3364 static PyObject
*_wrap_Size_height_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3365 PyObject
*resultobj
;
3366 wxSize
*arg1
= (wxSize
*) 0 ;
3368 PyObject
* obj0
= 0 ;
3369 PyObject
* obj1
= 0 ;
3371 (char *) "self",(char *) "y", NULL
3374 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size_height_set",kwnames
,&obj0
,&obj1
)) goto fail
;
3375 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
| 0);
3376 if (SWIG_arg_fail(1)) SWIG_fail
;
3378 arg2
= (int)(SWIG_As_int(obj1
));
3379 if (SWIG_arg_fail(2)) SWIG_fail
;
3381 if (arg1
) (arg1
)->y
= arg2
;
3383 Py_INCREF(Py_None
); resultobj
= Py_None
;
3390 static PyObject
*_wrap_Size_height_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3391 PyObject
*resultobj
;
3392 wxSize
*arg1
= (wxSize
*) 0 ;
3394 PyObject
* obj0
= 0 ;
3396 (char *) "self", NULL
3399 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Size_height_get",kwnames
,&obj0
)) goto fail
;
3400 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
| 0);
3401 if (SWIG_arg_fail(1)) SWIG_fail
;
3402 result
= (int) ((arg1
)->y
);
3405 resultobj
= SWIG_From_int((int)(result
));
3413 static PyObject
*_wrap_new_Size(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3414 PyObject
*resultobj
;
3415 int arg1
= (int) 0 ;
3416 int arg2
= (int) 0 ;
3418 PyObject
* obj0
= 0 ;
3419 PyObject
* obj1
= 0 ;
3421 (char *) "w",(char *) "h", NULL
3424 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Size",kwnames
,&obj0
,&obj1
)) goto fail
;
3427 arg1
= (int)(SWIG_As_int(obj0
));
3428 if (SWIG_arg_fail(1)) SWIG_fail
;
3433 arg2
= (int)(SWIG_As_int(obj1
));
3434 if (SWIG_arg_fail(2)) SWIG_fail
;
3438 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3439 result
= (wxSize
*)new wxSize(arg1
,arg2
);
3441 wxPyEndAllowThreads(__tstate
);
3442 if (PyErr_Occurred()) SWIG_fail
;
3444 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSize
, 1);
3451 static PyObject
*_wrap_delete_Size(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3452 PyObject
*resultobj
;
3453 wxSize
*arg1
= (wxSize
*) 0 ;
3454 PyObject
* obj0
= 0 ;
3456 (char *) "self", NULL
3459 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Size",kwnames
,&obj0
)) goto fail
;
3460 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
| 0);
3461 if (SWIG_arg_fail(1)) SWIG_fail
;
3463 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3466 wxPyEndAllowThreads(__tstate
);
3467 if (PyErr_Occurred()) SWIG_fail
;
3469 Py_INCREF(Py_None
); resultobj
= Py_None
;
3476 static PyObject
*_wrap_Size___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3477 PyObject
*resultobj
;
3478 wxSize
*arg1
= (wxSize
*) 0 ;
3482 PyObject
* obj0
= 0 ;
3483 PyObject
* obj1
= 0 ;
3485 (char *) "self",(char *) "sz", NULL
3488 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
3489 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
| 0);
3490 if (SWIG_arg_fail(1)) SWIG_fail
;
3493 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
3496 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3497 result
= (bool)(arg1
)->operator ==((wxSize
const &)*arg2
);
3499 wxPyEndAllowThreads(__tstate
);
3500 if (PyErr_Occurred()) SWIG_fail
;
3503 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3511 static PyObject
*_wrap_Size___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3512 PyObject
*resultobj
;
3513 wxSize
*arg1
= (wxSize
*) 0 ;
3517 PyObject
* obj0
= 0 ;
3518 PyObject
* obj1
= 0 ;
3520 (char *) "self",(char *) "sz", NULL
3523 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
3524 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
| 0);
3525 if (SWIG_arg_fail(1)) SWIG_fail
;
3528 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
3531 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3532 result
= (bool)(arg1
)->operator !=((wxSize
const &)*arg2
);
3534 wxPyEndAllowThreads(__tstate
);
3535 if (PyErr_Occurred()) SWIG_fail
;
3538 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3546 static PyObject
*_wrap_Size___add__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3547 PyObject
*resultobj
;
3548 wxSize
*arg1
= (wxSize
*) 0 ;
3552 PyObject
* obj0
= 0 ;
3553 PyObject
* obj1
= 0 ;
3555 (char *) "self",(char *) "sz", NULL
3558 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size___add__",kwnames
,&obj0
,&obj1
)) goto fail
;
3559 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
| 0);
3560 if (SWIG_arg_fail(1)) SWIG_fail
;
3563 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
3566 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3567 result
= (arg1
)->operator +((wxSize
const &)*arg2
);
3569 wxPyEndAllowThreads(__tstate
);
3570 if (PyErr_Occurred()) SWIG_fail
;
3574 resultptr
= new wxSize((wxSize
&)(result
));
3575 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
3583 static PyObject
*_wrap_Size___sub__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3584 PyObject
*resultobj
;
3585 wxSize
*arg1
= (wxSize
*) 0 ;
3589 PyObject
* obj0
= 0 ;
3590 PyObject
* obj1
= 0 ;
3592 (char *) "self",(char *) "sz", NULL
3595 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size___sub__",kwnames
,&obj0
,&obj1
)) goto fail
;
3596 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
| 0);
3597 if (SWIG_arg_fail(1)) SWIG_fail
;
3600 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
3603 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3604 result
= (arg1
)->operator -((wxSize
const &)*arg2
);
3606 wxPyEndAllowThreads(__tstate
);
3607 if (PyErr_Occurred()) SWIG_fail
;
3611 resultptr
= new wxSize((wxSize
&)(result
));
3612 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
3620 static PyObject
*_wrap_Size_IncTo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3621 PyObject
*resultobj
;
3622 wxSize
*arg1
= (wxSize
*) 0 ;
3625 PyObject
* obj0
= 0 ;
3626 PyObject
* obj1
= 0 ;
3628 (char *) "self",(char *) "sz", NULL
3631 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size_IncTo",kwnames
,&obj0
,&obj1
)) goto fail
;
3632 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
| 0);
3633 if (SWIG_arg_fail(1)) SWIG_fail
;
3636 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
3639 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3640 (arg1
)->IncTo((wxSize
const &)*arg2
);
3642 wxPyEndAllowThreads(__tstate
);
3643 if (PyErr_Occurred()) SWIG_fail
;
3645 Py_INCREF(Py_None
); resultobj
= Py_None
;
3652 static PyObject
*_wrap_Size_DecTo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3653 PyObject
*resultobj
;
3654 wxSize
*arg1
= (wxSize
*) 0 ;
3657 PyObject
* obj0
= 0 ;
3658 PyObject
* obj1
= 0 ;
3660 (char *) "self",(char *) "sz", NULL
3663 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size_DecTo",kwnames
,&obj0
,&obj1
)) goto fail
;
3664 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
| 0);
3665 if (SWIG_arg_fail(1)) SWIG_fail
;
3668 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
3671 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3672 (arg1
)->DecTo((wxSize
const &)*arg2
);
3674 wxPyEndAllowThreads(__tstate
);
3675 if (PyErr_Occurred()) SWIG_fail
;
3677 Py_INCREF(Py_None
); resultobj
= Py_None
;
3684 static PyObject
*_wrap_Size_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3685 PyObject
*resultobj
;
3686 wxSize
*arg1
= (wxSize
*) 0 ;
3689 PyObject
* obj0
= 0 ;
3690 PyObject
* obj1
= 0 ;
3691 PyObject
* obj2
= 0 ;
3693 (char *) "self",(char *) "w",(char *) "h", NULL
3696 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Size_Set",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3697 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
| 0);
3698 if (SWIG_arg_fail(1)) SWIG_fail
;
3700 arg2
= (int)(SWIG_As_int(obj1
));
3701 if (SWIG_arg_fail(2)) SWIG_fail
;
3704 arg3
= (int)(SWIG_As_int(obj2
));
3705 if (SWIG_arg_fail(3)) SWIG_fail
;
3708 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3709 (arg1
)->Set(arg2
,arg3
);
3711 wxPyEndAllowThreads(__tstate
);
3712 if (PyErr_Occurred()) SWIG_fail
;
3714 Py_INCREF(Py_None
); resultobj
= Py_None
;
3721 static PyObject
*_wrap_Size_SetWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3722 PyObject
*resultobj
;
3723 wxSize
*arg1
= (wxSize
*) 0 ;
3725 PyObject
* obj0
= 0 ;
3726 PyObject
* obj1
= 0 ;
3728 (char *) "self",(char *) "w", NULL
3731 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size_SetWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
3732 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
| 0);
3733 if (SWIG_arg_fail(1)) SWIG_fail
;
3735 arg2
= (int)(SWIG_As_int(obj1
));
3736 if (SWIG_arg_fail(2)) SWIG_fail
;
3739 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3740 (arg1
)->SetWidth(arg2
);
3742 wxPyEndAllowThreads(__tstate
);
3743 if (PyErr_Occurred()) SWIG_fail
;
3745 Py_INCREF(Py_None
); resultobj
= Py_None
;
3752 static PyObject
*_wrap_Size_SetHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3753 PyObject
*resultobj
;
3754 wxSize
*arg1
= (wxSize
*) 0 ;
3756 PyObject
* obj0
= 0 ;
3757 PyObject
* obj1
= 0 ;
3759 (char *) "self",(char *) "h", NULL
3762 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size_SetHeight",kwnames
,&obj0
,&obj1
)) goto fail
;
3763 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
| 0);
3764 if (SWIG_arg_fail(1)) SWIG_fail
;
3766 arg2
= (int)(SWIG_As_int(obj1
));
3767 if (SWIG_arg_fail(2)) SWIG_fail
;
3770 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3771 (arg1
)->SetHeight(arg2
);
3773 wxPyEndAllowThreads(__tstate
);
3774 if (PyErr_Occurred()) SWIG_fail
;
3776 Py_INCREF(Py_None
); resultobj
= Py_None
;
3783 static PyObject
*_wrap_Size_GetWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3784 PyObject
*resultobj
;
3785 wxSize
*arg1
= (wxSize
*) 0 ;
3787 PyObject
* obj0
= 0 ;
3789 (char *) "self", NULL
3792 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Size_GetWidth",kwnames
,&obj0
)) goto fail
;
3793 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
| 0);
3794 if (SWIG_arg_fail(1)) SWIG_fail
;
3796 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3797 result
= (int)((wxSize
const *)arg1
)->GetWidth();
3799 wxPyEndAllowThreads(__tstate
);
3800 if (PyErr_Occurred()) SWIG_fail
;
3803 resultobj
= SWIG_From_int((int)(result
));
3811 static PyObject
*_wrap_Size_GetHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3812 PyObject
*resultobj
;
3813 wxSize
*arg1
= (wxSize
*) 0 ;
3815 PyObject
* obj0
= 0 ;
3817 (char *) "self", NULL
3820 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Size_GetHeight",kwnames
,&obj0
)) goto fail
;
3821 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
| 0);
3822 if (SWIG_arg_fail(1)) SWIG_fail
;
3824 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3825 result
= (int)((wxSize
const *)arg1
)->GetHeight();
3827 wxPyEndAllowThreads(__tstate
);
3828 if (PyErr_Occurred()) SWIG_fail
;
3831 resultobj
= SWIG_From_int((int)(result
));
3839 static PyObject
*_wrap_Size_IsFullySpecified(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3840 PyObject
*resultobj
;
3841 wxSize
*arg1
= (wxSize
*) 0 ;
3843 PyObject
* obj0
= 0 ;
3845 (char *) "self", NULL
3848 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Size_IsFullySpecified",kwnames
,&obj0
)) goto fail
;
3849 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
| 0);
3850 if (SWIG_arg_fail(1)) SWIG_fail
;
3852 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3853 result
= (bool)((wxSize
const *)arg1
)->IsFullySpecified();
3855 wxPyEndAllowThreads(__tstate
);
3856 if (PyErr_Occurred()) SWIG_fail
;
3859 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3867 static PyObject
*_wrap_Size_SetDefaults(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3868 PyObject
*resultobj
;
3869 wxSize
*arg1
= (wxSize
*) 0 ;
3872 PyObject
* obj0
= 0 ;
3873 PyObject
* obj1
= 0 ;
3875 (char *) "self",(char *) "size", NULL
3878 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size_SetDefaults",kwnames
,&obj0
,&obj1
)) goto fail
;
3879 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
| 0);
3880 if (SWIG_arg_fail(1)) SWIG_fail
;
3883 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
3886 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3887 (arg1
)->SetDefaults((wxSize
const &)*arg2
);
3889 wxPyEndAllowThreads(__tstate
);
3890 if (PyErr_Occurred()) SWIG_fail
;
3892 Py_INCREF(Py_None
); resultobj
= Py_None
;
3899 static PyObject
*_wrap_Size_Get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3900 PyObject
*resultobj
;
3901 wxSize
*arg1
= (wxSize
*) 0 ;
3903 PyObject
* obj0
= 0 ;
3905 (char *) "self", NULL
3908 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Size_Get",kwnames
,&obj0
)) goto fail
;
3909 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
| 0);
3910 if (SWIG_arg_fail(1)) SWIG_fail
;
3912 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3913 result
= (PyObject
*)wxSize_Get(arg1
);
3915 wxPyEndAllowThreads(__tstate
);
3916 if (PyErr_Occurred()) SWIG_fail
;
3925 static PyObject
* Size_swigregister(PyObject
*, PyObject
*args
) {
3927 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3928 SWIG_TypeClientData(SWIGTYPE_p_wxSize
, obj
);
3930 return Py_BuildValue((char *)"");
3932 static PyObject
*_wrap_RealPoint_x_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3933 PyObject
*resultobj
;
3934 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
3936 PyObject
* obj0
= 0 ;
3937 PyObject
* obj1
= 0 ;
3939 (char *) "self",(char *) "x", NULL
3942 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RealPoint_x_set",kwnames
,&obj0
,&obj1
)) goto fail
;
3943 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRealPoint
, SWIG_POINTER_EXCEPTION
| 0);
3944 if (SWIG_arg_fail(1)) SWIG_fail
;
3946 arg2
= (double)(SWIG_As_double(obj1
));
3947 if (SWIG_arg_fail(2)) SWIG_fail
;
3949 if (arg1
) (arg1
)->x
= arg2
;
3951 Py_INCREF(Py_None
); resultobj
= Py_None
;
3958 static PyObject
*_wrap_RealPoint_x_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3959 PyObject
*resultobj
;
3960 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
3962 PyObject
* obj0
= 0 ;
3964 (char *) "self", NULL
3967 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RealPoint_x_get",kwnames
,&obj0
)) goto fail
;
3968 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRealPoint
, SWIG_POINTER_EXCEPTION
| 0);
3969 if (SWIG_arg_fail(1)) SWIG_fail
;
3970 result
= (double) ((arg1
)->x
);
3973 resultobj
= SWIG_From_double((double)(result
));
3981 static PyObject
*_wrap_RealPoint_y_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3982 PyObject
*resultobj
;
3983 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
3985 PyObject
* obj0
= 0 ;
3986 PyObject
* obj1
= 0 ;
3988 (char *) "self",(char *) "y", NULL
3991 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RealPoint_y_set",kwnames
,&obj0
,&obj1
)) goto fail
;
3992 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRealPoint
, SWIG_POINTER_EXCEPTION
| 0);
3993 if (SWIG_arg_fail(1)) SWIG_fail
;
3995 arg2
= (double)(SWIG_As_double(obj1
));
3996 if (SWIG_arg_fail(2)) SWIG_fail
;
3998 if (arg1
) (arg1
)->y
= arg2
;
4000 Py_INCREF(Py_None
); resultobj
= Py_None
;
4007 static PyObject
*_wrap_RealPoint_y_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4008 PyObject
*resultobj
;
4009 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
4011 PyObject
* obj0
= 0 ;
4013 (char *) "self", NULL
4016 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RealPoint_y_get",kwnames
,&obj0
)) goto fail
;
4017 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRealPoint
, SWIG_POINTER_EXCEPTION
| 0);
4018 if (SWIG_arg_fail(1)) SWIG_fail
;
4019 result
= (double) ((arg1
)->y
);
4022 resultobj
= SWIG_From_double((double)(result
));
4030 static PyObject
*_wrap_new_RealPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4031 PyObject
*resultobj
;
4032 double arg1
= (double) 0.0 ;
4033 double arg2
= (double) 0.0 ;
4034 wxRealPoint
*result
;
4035 PyObject
* obj0
= 0 ;
4036 PyObject
* obj1
= 0 ;
4038 (char *) "x",(char *) "y", NULL
4041 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_RealPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
4044 arg1
= (double)(SWIG_As_double(obj0
));
4045 if (SWIG_arg_fail(1)) SWIG_fail
;
4050 arg2
= (double)(SWIG_As_double(obj1
));
4051 if (SWIG_arg_fail(2)) SWIG_fail
;
4055 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4056 result
= (wxRealPoint
*)new wxRealPoint(arg1
,arg2
);
4058 wxPyEndAllowThreads(__tstate
);
4059 if (PyErr_Occurred()) SWIG_fail
;
4061 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRealPoint
, 1);
4068 static PyObject
*_wrap_delete_RealPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4069 PyObject
*resultobj
;
4070 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
4071 PyObject
* obj0
= 0 ;
4073 (char *) "self", NULL
4076 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_RealPoint",kwnames
,&obj0
)) goto fail
;
4077 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRealPoint
, SWIG_POINTER_EXCEPTION
| 0);
4078 if (SWIG_arg_fail(1)) SWIG_fail
;
4080 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4083 wxPyEndAllowThreads(__tstate
);
4084 if (PyErr_Occurred()) SWIG_fail
;
4086 Py_INCREF(Py_None
); resultobj
= Py_None
;
4093 static PyObject
*_wrap_RealPoint___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4094 PyObject
*resultobj
;
4095 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
4096 wxRealPoint
*arg2
= 0 ;
4099 PyObject
* obj0
= 0 ;
4100 PyObject
* obj1
= 0 ;
4102 (char *) "self",(char *) "pt", NULL
4105 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RealPoint___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
4106 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRealPoint
, SWIG_POINTER_EXCEPTION
| 0);
4107 if (SWIG_arg_fail(1)) SWIG_fail
;
4110 if ( ! wxRealPoint_helper(obj1
, &arg2
)) SWIG_fail
;
4113 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4114 result
= (bool)(arg1
)->operator ==((wxRealPoint
const &)*arg2
);
4116 wxPyEndAllowThreads(__tstate
);
4117 if (PyErr_Occurred()) SWIG_fail
;
4120 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4128 static PyObject
*_wrap_RealPoint___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4129 PyObject
*resultobj
;
4130 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
4131 wxRealPoint
*arg2
= 0 ;
4134 PyObject
* obj0
= 0 ;
4135 PyObject
* obj1
= 0 ;
4137 (char *) "self",(char *) "pt", NULL
4140 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RealPoint___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
4141 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRealPoint
, SWIG_POINTER_EXCEPTION
| 0);
4142 if (SWIG_arg_fail(1)) SWIG_fail
;
4145 if ( ! wxRealPoint_helper(obj1
, &arg2
)) SWIG_fail
;
4148 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4149 result
= (bool)(arg1
)->operator !=((wxRealPoint
const &)*arg2
);
4151 wxPyEndAllowThreads(__tstate
);
4152 if (PyErr_Occurred()) SWIG_fail
;
4155 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4163 static PyObject
*_wrap_RealPoint___add__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4164 PyObject
*resultobj
;
4165 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
4166 wxRealPoint
*arg2
= 0 ;
4169 PyObject
* obj0
= 0 ;
4170 PyObject
* obj1
= 0 ;
4172 (char *) "self",(char *) "pt", NULL
4175 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RealPoint___add__",kwnames
,&obj0
,&obj1
)) goto fail
;
4176 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRealPoint
, SWIG_POINTER_EXCEPTION
| 0);
4177 if (SWIG_arg_fail(1)) SWIG_fail
;
4180 if ( ! wxRealPoint_helper(obj1
, &arg2
)) SWIG_fail
;
4183 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4184 result
= (arg1
)->operator +((wxRealPoint
const &)*arg2
);
4186 wxPyEndAllowThreads(__tstate
);
4187 if (PyErr_Occurred()) SWIG_fail
;
4190 wxRealPoint
* resultptr
;
4191 resultptr
= new wxRealPoint((wxRealPoint
&)(result
));
4192 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRealPoint
, 1);
4200 static PyObject
*_wrap_RealPoint___sub__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4201 PyObject
*resultobj
;
4202 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
4203 wxRealPoint
*arg2
= 0 ;
4206 PyObject
* obj0
= 0 ;
4207 PyObject
* obj1
= 0 ;
4209 (char *) "self",(char *) "pt", NULL
4212 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RealPoint___sub__",kwnames
,&obj0
,&obj1
)) goto fail
;
4213 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRealPoint
, SWIG_POINTER_EXCEPTION
| 0);
4214 if (SWIG_arg_fail(1)) SWIG_fail
;
4217 if ( ! wxRealPoint_helper(obj1
, &arg2
)) SWIG_fail
;
4220 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4221 result
= (arg1
)->operator -((wxRealPoint
const &)*arg2
);
4223 wxPyEndAllowThreads(__tstate
);
4224 if (PyErr_Occurred()) SWIG_fail
;
4227 wxRealPoint
* resultptr
;
4228 resultptr
= new wxRealPoint((wxRealPoint
&)(result
));
4229 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRealPoint
, 1);
4237 static PyObject
*_wrap_RealPoint_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4238 PyObject
*resultobj
;
4239 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
4242 PyObject
* obj0
= 0 ;
4243 PyObject
* obj1
= 0 ;
4244 PyObject
* obj2
= 0 ;
4246 (char *) "self",(char *) "x",(char *) "y", NULL
4249 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:RealPoint_Set",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4250 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRealPoint
, SWIG_POINTER_EXCEPTION
| 0);
4251 if (SWIG_arg_fail(1)) SWIG_fail
;
4253 arg2
= (double)(SWIG_As_double(obj1
));
4254 if (SWIG_arg_fail(2)) SWIG_fail
;
4257 arg3
= (double)(SWIG_As_double(obj2
));
4258 if (SWIG_arg_fail(3)) SWIG_fail
;
4261 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4262 wxRealPoint_Set(arg1
,arg2
,arg3
);
4264 wxPyEndAllowThreads(__tstate
);
4265 if (PyErr_Occurred()) SWIG_fail
;
4267 Py_INCREF(Py_None
); resultobj
= Py_None
;
4274 static PyObject
*_wrap_RealPoint_Get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4275 PyObject
*resultobj
;
4276 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
4278 PyObject
* obj0
= 0 ;
4280 (char *) "self", NULL
4283 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RealPoint_Get",kwnames
,&obj0
)) goto fail
;
4284 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRealPoint
, SWIG_POINTER_EXCEPTION
| 0);
4285 if (SWIG_arg_fail(1)) SWIG_fail
;
4287 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4288 result
= (PyObject
*)wxRealPoint_Get(arg1
);
4290 wxPyEndAllowThreads(__tstate
);
4291 if (PyErr_Occurred()) SWIG_fail
;
4300 static PyObject
* RealPoint_swigregister(PyObject
*, PyObject
*args
) {
4302 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4303 SWIG_TypeClientData(SWIGTYPE_p_wxRealPoint
, obj
);
4305 return Py_BuildValue((char *)"");
4307 static PyObject
*_wrap_Point_x_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4308 PyObject
*resultobj
;
4309 wxPoint
*arg1
= (wxPoint
*) 0 ;
4311 PyObject
* obj0
= 0 ;
4312 PyObject
* obj1
= 0 ;
4314 (char *) "self",(char *) "x", NULL
4317 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point_x_set",kwnames
,&obj0
,&obj1
)) goto fail
;
4318 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint
, SWIG_POINTER_EXCEPTION
| 0);
4319 if (SWIG_arg_fail(1)) SWIG_fail
;
4321 arg2
= (int)(SWIG_As_int(obj1
));
4322 if (SWIG_arg_fail(2)) SWIG_fail
;
4324 if (arg1
) (arg1
)->x
= arg2
;
4326 Py_INCREF(Py_None
); resultobj
= Py_None
;
4333 static PyObject
*_wrap_Point_x_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4334 PyObject
*resultobj
;
4335 wxPoint
*arg1
= (wxPoint
*) 0 ;
4337 PyObject
* obj0
= 0 ;
4339 (char *) "self", NULL
4342 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point_x_get",kwnames
,&obj0
)) goto fail
;
4343 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint
, SWIG_POINTER_EXCEPTION
| 0);
4344 if (SWIG_arg_fail(1)) SWIG_fail
;
4345 result
= (int) ((arg1
)->x
);
4348 resultobj
= SWIG_From_int((int)(result
));
4356 static PyObject
*_wrap_Point_y_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4357 PyObject
*resultobj
;
4358 wxPoint
*arg1
= (wxPoint
*) 0 ;
4360 PyObject
* obj0
= 0 ;
4361 PyObject
* obj1
= 0 ;
4363 (char *) "self",(char *) "y", NULL
4366 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point_y_set",kwnames
,&obj0
,&obj1
)) goto fail
;
4367 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint
, SWIG_POINTER_EXCEPTION
| 0);
4368 if (SWIG_arg_fail(1)) SWIG_fail
;
4370 arg2
= (int)(SWIG_As_int(obj1
));
4371 if (SWIG_arg_fail(2)) SWIG_fail
;
4373 if (arg1
) (arg1
)->y
= arg2
;
4375 Py_INCREF(Py_None
); resultobj
= Py_None
;
4382 static PyObject
*_wrap_Point_y_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4383 PyObject
*resultobj
;
4384 wxPoint
*arg1
= (wxPoint
*) 0 ;
4386 PyObject
* obj0
= 0 ;
4388 (char *) "self", NULL
4391 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point_y_get",kwnames
,&obj0
)) goto fail
;
4392 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint
, SWIG_POINTER_EXCEPTION
| 0);
4393 if (SWIG_arg_fail(1)) SWIG_fail
;
4394 result
= (int) ((arg1
)->y
);
4397 resultobj
= SWIG_From_int((int)(result
));
4405 static PyObject
*_wrap_new_Point(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4406 PyObject
*resultobj
;
4407 int arg1
= (int) 0 ;
4408 int arg2
= (int) 0 ;
4410 PyObject
* obj0
= 0 ;
4411 PyObject
* obj1
= 0 ;
4413 (char *) "x",(char *) "y", NULL
4416 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Point",kwnames
,&obj0
,&obj1
)) goto fail
;
4419 arg1
= (int)(SWIG_As_int(obj0
));
4420 if (SWIG_arg_fail(1)) SWIG_fail
;
4425 arg2
= (int)(SWIG_As_int(obj1
));
4426 if (SWIG_arg_fail(2)) SWIG_fail
;
4430 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4431 result
= (wxPoint
*)new wxPoint(arg1
,arg2
);
4433 wxPyEndAllowThreads(__tstate
);
4434 if (PyErr_Occurred()) SWIG_fail
;
4436 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint
, 1);
4443 static PyObject
*_wrap_delete_Point(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4444 PyObject
*resultobj
;
4445 wxPoint
*arg1
= (wxPoint
*) 0 ;
4446 PyObject
* obj0
= 0 ;
4448 (char *) "self", NULL
4451 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Point",kwnames
,&obj0
)) goto fail
;
4452 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint
, SWIG_POINTER_EXCEPTION
| 0);
4453 if (SWIG_arg_fail(1)) SWIG_fail
;
4455 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4458 wxPyEndAllowThreads(__tstate
);
4459 if (PyErr_Occurred()) SWIG_fail
;
4461 Py_INCREF(Py_None
); resultobj
= Py_None
;
4468 static PyObject
*_wrap_Point___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4469 PyObject
*resultobj
;
4470 wxPoint
*arg1
= (wxPoint
*) 0 ;
4474 PyObject
* obj0
= 0 ;
4475 PyObject
* obj1
= 0 ;
4477 (char *) "self",(char *) "pt", NULL
4480 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
4481 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint
, SWIG_POINTER_EXCEPTION
| 0);
4482 if (SWIG_arg_fail(1)) SWIG_fail
;
4485 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
4488 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4489 result
= (bool)(arg1
)->operator ==((wxPoint
const &)*arg2
);
4491 wxPyEndAllowThreads(__tstate
);
4492 if (PyErr_Occurred()) SWIG_fail
;
4495 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4503 static PyObject
*_wrap_Point___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4504 PyObject
*resultobj
;
4505 wxPoint
*arg1
= (wxPoint
*) 0 ;
4509 PyObject
* obj0
= 0 ;
4510 PyObject
* obj1
= 0 ;
4512 (char *) "self",(char *) "pt", NULL
4515 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
4516 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint
, SWIG_POINTER_EXCEPTION
| 0);
4517 if (SWIG_arg_fail(1)) SWIG_fail
;
4520 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
4523 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4524 result
= (bool)(arg1
)->operator !=((wxPoint
const &)*arg2
);
4526 wxPyEndAllowThreads(__tstate
);
4527 if (PyErr_Occurred()) SWIG_fail
;
4530 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4538 static PyObject
*_wrap_Point___add__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4539 PyObject
*resultobj
;
4540 wxPoint
*arg1
= (wxPoint
*) 0 ;
4544 PyObject
* obj0
= 0 ;
4545 PyObject
* obj1
= 0 ;
4547 (char *) "self",(char *) "pt", NULL
4550 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point___add__",kwnames
,&obj0
,&obj1
)) goto fail
;
4551 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint
, SWIG_POINTER_EXCEPTION
| 0);
4552 if (SWIG_arg_fail(1)) SWIG_fail
;
4555 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
4558 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4559 result
= (arg1
)->operator +((wxPoint
const &)*arg2
);
4561 wxPyEndAllowThreads(__tstate
);
4562 if (PyErr_Occurred()) SWIG_fail
;
4565 wxPoint
* resultptr
;
4566 resultptr
= new wxPoint((wxPoint
&)(result
));
4567 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
4575 static PyObject
*_wrap_Point___sub__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4576 PyObject
*resultobj
;
4577 wxPoint
*arg1
= (wxPoint
*) 0 ;
4581 PyObject
* obj0
= 0 ;
4582 PyObject
* obj1
= 0 ;
4584 (char *) "self",(char *) "pt", NULL
4587 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point___sub__",kwnames
,&obj0
,&obj1
)) goto fail
;
4588 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint
, SWIG_POINTER_EXCEPTION
| 0);
4589 if (SWIG_arg_fail(1)) SWIG_fail
;
4592 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
4595 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4596 result
= (arg1
)->operator -((wxPoint
const &)*arg2
);
4598 wxPyEndAllowThreads(__tstate
);
4599 if (PyErr_Occurred()) SWIG_fail
;
4602 wxPoint
* resultptr
;
4603 resultptr
= new wxPoint((wxPoint
&)(result
));
4604 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
4612 static PyObject
*_wrap_Point___iadd__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4613 PyObject
*resultobj
;
4614 wxPoint
*arg1
= (wxPoint
*) 0 ;
4618 PyObject
* obj0
= 0 ;
4619 PyObject
* obj1
= 0 ;
4621 (char *) "self",(char *) "pt", NULL
4624 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point___iadd__",kwnames
,&obj0
,&obj1
)) goto fail
;
4625 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
4626 if (SWIG_arg_fail(1)) SWIG_fail
;
4629 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
4632 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4634 wxPoint
&_result_ref
= (arg1
)->operator +=((wxPoint
const &)*arg2
);
4635 result
= (wxPoint
*) &_result_ref
;
4638 wxPyEndAllowThreads(__tstate
);
4639 if (PyErr_Occurred()) SWIG_fail
;
4641 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint
, 1);
4648 static PyObject
*_wrap_Point___isub__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4649 PyObject
*resultobj
;
4650 wxPoint
*arg1
= (wxPoint
*) 0 ;
4654 PyObject
* obj0
= 0 ;
4655 PyObject
* obj1
= 0 ;
4657 (char *) "self",(char *) "pt", NULL
4660 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point___isub__",kwnames
,&obj0
,&obj1
)) goto fail
;
4661 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
4662 if (SWIG_arg_fail(1)) SWIG_fail
;
4665 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
4668 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4670 wxPoint
&_result_ref
= (arg1
)->operator -=((wxPoint
const &)*arg2
);
4671 result
= (wxPoint
*) &_result_ref
;
4674 wxPyEndAllowThreads(__tstate
);
4675 if (PyErr_Occurred()) SWIG_fail
;
4677 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint
, 1);
4684 static PyObject
*_wrap_Point_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4685 PyObject
*resultobj
;
4686 wxPoint
*arg1
= (wxPoint
*) 0 ;
4689 PyObject
* obj0
= 0 ;
4690 PyObject
* obj1
= 0 ;
4691 PyObject
* obj2
= 0 ;
4693 (char *) "self",(char *) "x",(char *) "y", NULL
4696 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Point_Set",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4697 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint
, SWIG_POINTER_EXCEPTION
| 0);
4698 if (SWIG_arg_fail(1)) SWIG_fail
;
4700 arg2
= (long)(SWIG_As_long(obj1
));
4701 if (SWIG_arg_fail(2)) SWIG_fail
;
4704 arg3
= (long)(SWIG_As_long(obj2
));
4705 if (SWIG_arg_fail(3)) SWIG_fail
;
4708 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4709 wxPoint_Set(arg1
,arg2
,arg3
);
4711 wxPyEndAllowThreads(__tstate
);
4712 if (PyErr_Occurred()) SWIG_fail
;
4714 Py_INCREF(Py_None
); resultobj
= Py_None
;
4721 static PyObject
*_wrap_Point_Get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4722 PyObject
*resultobj
;
4723 wxPoint
*arg1
= (wxPoint
*) 0 ;
4725 PyObject
* obj0
= 0 ;
4727 (char *) "self", NULL
4730 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point_Get",kwnames
,&obj0
)) goto fail
;
4731 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint
, SWIG_POINTER_EXCEPTION
| 0);
4732 if (SWIG_arg_fail(1)) SWIG_fail
;
4734 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4735 result
= (PyObject
*)wxPoint_Get(arg1
);
4737 wxPyEndAllowThreads(__tstate
);
4738 if (PyErr_Occurred()) SWIG_fail
;
4747 static PyObject
* Point_swigregister(PyObject
*, PyObject
*args
) {
4749 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4750 SWIG_TypeClientData(SWIGTYPE_p_wxPoint
, obj
);
4752 return Py_BuildValue((char *)"");
4754 static PyObject
*_wrap_new_Rect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4755 PyObject
*resultobj
;
4756 int arg1
= (int) 0 ;
4757 int arg2
= (int) 0 ;
4758 int arg3
= (int) 0 ;
4759 int arg4
= (int) 0 ;
4761 PyObject
* obj0
= 0 ;
4762 PyObject
* obj1
= 0 ;
4763 PyObject
* obj2
= 0 ;
4764 PyObject
* obj3
= 0 ;
4766 (char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
4769 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_Rect",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
4772 arg1
= (int)(SWIG_As_int(obj0
));
4773 if (SWIG_arg_fail(1)) SWIG_fail
;
4778 arg2
= (int)(SWIG_As_int(obj1
));
4779 if (SWIG_arg_fail(2)) SWIG_fail
;
4784 arg3
= (int)(SWIG_As_int(obj2
));
4785 if (SWIG_arg_fail(3)) SWIG_fail
;
4790 arg4
= (int)(SWIG_As_int(obj3
));
4791 if (SWIG_arg_fail(4)) SWIG_fail
;
4795 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4796 result
= (wxRect
*)new wxRect(arg1
,arg2
,arg3
,arg4
);
4798 wxPyEndAllowThreads(__tstate
);
4799 if (PyErr_Occurred()) SWIG_fail
;
4801 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 1);
4808 static PyObject
*_wrap_new_RectPP(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4809 PyObject
*resultobj
;
4815 PyObject
* obj0
= 0 ;
4816 PyObject
* obj1
= 0 ;
4818 (char *) "topLeft",(char *) "bottomRight", NULL
4821 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_RectPP",kwnames
,&obj0
,&obj1
)) goto fail
;
4824 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
4828 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
4831 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4832 result
= (wxRect
*)new wxRect((wxPoint
const &)*arg1
,(wxPoint
const &)*arg2
);
4834 wxPyEndAllowThreads(__tstate
);
4835 if (PyErr_Occurred()) SWIG_fail
;
4837 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 1);
4844 static PyObject
*_wrap_new_RectPS(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4845 PyObject
*resultobj
;
4851 PyObject
* obj0
= 0 ;
4852 PyObject
* obj1
= 0 ;
4854 (char *) "pos",(char *) "size", NULL
4857 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_RectPS",kwnames
,&obj0
,&obj1
)) goto fail
;
4860 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
4864 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
4867 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4868 result
= (wxRect
*)new wxRect((wxPoint
const &)*arg1
,(wxSize
const &)*arg2
);
4870 wxPyEndAllowThreads(__tstate
);
4871 if (PyErr_Occurred()) SWIG_fail
;
4873 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 1);
4880 static PyObject
*_wrap_new_RectS(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4881 PyObject
*resultobj
;
4885 PyObject
* obj0
= 0 ;
4887 (char *) "size", NULL
4890 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_RectS",kwnames
,&obj0
)) goto fail
;
4893 if ( ! wxSize_helper(obj0
, &arg1
)) SWIG_fail
;
4896 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4897 result
= (wxRect
*)new wxRect((wxSize
const &)*arg1
);
4899 wxPyEndAllowThreads(__tstate
);
4900 if (PyErr_Occurred()) SWIG_fail
;
4902 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 1);
4909 static PyObject
*_wrap_delete_Rect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4910 PyObject
*resultobj
;
4911 wxRect
*arg1
= (wxRect
*) 0 ;
4912 PyObject
* obj0
= 0 ;
4914 (char *) "self", NULL
4917 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Rect",kwnames
,&obj0
)) goto fail
;
4918 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
4919 if (SWIG_arg_fail(1)) SWIG_fail
;
4921 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4924 wxPyEndAllowThreads(__tstate
);
4925 if (PyErr_Occurred()) SWIG_fail
;
4927 Py_INCREF(Py_None
); resultobj
= Py_None
;
4934 static PyObject
*_wrap_Rect_GetX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4935 PyObject
*resultobj
;
4936 wxRect
*arg1
= (wxRect
*) 0 ;
4938 PyObject
* obj0
= 0 ;
4940 (char *) "self", NULL
4943 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetX",kwnames
,&obj0
)) goto fail
;
4944 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
4945 if (SWIG_arg_fail(1)) SWIG_fail
;
4947 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4948 result
= (int)((wxRect
const *)arg1
)->GetX();
4950 wxPyEndAllowThreads(__tstate
);
4951 if (PyErr_Occurred()) SWIG_fail
;
4954 resultobj
= SWIG_From_int((int)(result
));
4962 static PyObject
*_wrap_Rect_SetX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4963 PyObject
*resultobj
;
4964 wxRect
*arg1
= (wxRect
*) 0 ;
4966 PyObject
* obj0
= 0 ;
4967 PyObject
* obj1
= 0 ;
4969 (char *) "self",(char *) "x", NULL
4972 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetX",kwnames
,&obj0
,&obj1
)) goto fail
;
4973 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
4974 if (SWIG_arg_fail(1)) SWIG_fail
;
4976 arg2
= (int)(SWIG_As_int(obj1
));
4977 if (SWIG_arg_fail(2)) SWIG_fail
;
4980 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4983 wxPyEndAllowThreads(__tstate
);
4984 if (PyErr_Occurred()) SWIG_fail
;
4986 Py_INCREF(Py_None
); resultobj
= Py_None
;
4993 static PyObject
*_wrap_Rect_GetY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4994 PyObject
*resultobj
;
4995 wxRect
*arg1
= (wxRect
*) 0 ;
4997 PyObject
* obj0
= 0 ;
4999 (char *) "self", NULL
5002 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetY",kwnames
,&obj0
)) goto fail
;
5003 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5004 if (SWIG_arg_fail(1)) SWIG_fail
;
5006 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5007 result
= (int)(arg1
)->GetY();
5009 wxPyEndAllowThreads(__tstate
);
5010 if (PyErr_Occurred()) SWIG_fail
;
5013 resultobj
= SWIG_From_int((int)(result
));
5021 static PyObject
*_wrap_Rect_SetY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5022 PyObject
*resultobj
;
5023 wxRect
*arg1
= (wxRect
*) 0 ;
5025 PyObject
* obj0
= 0 ;
5026 PyObject
* obj1
= 0 ;
5028 (char *) "self",(char *) "y", NULL
5031 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetY",kwnames
,&obj0
,&obj1
)) goto fail
;
5032 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5033 if (SWIG_arg_fail(1)) SWIG_fail
;
5035 arg2
= (int)(SWIG_As_int(obj1
));
5036 if (SWIG_arg_fail(2)) SWIG_fail
;
5039 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5042 wxPyEndAllowThreads(__tstate
);
5043 if (PyErr_Occurred()) SWIG_fail
;
5045 Py_INCREF(Py_None
); resultobj
= Py_None
;
5052 static PyObject
*_wrap_Rect_GetWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5053 PyObject
*resultobj
;
5054 wxRect
*arg1
= (wxRect
*) 0 ;
5056 PyObject
* obj0
= 0 ;
5058 (char *) "self", NULL
5061 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetWidth",kwnames
,&obj0
)) goto fail
;
5062 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5063 if (SWIG_arg_fail(1)) SWIG_fail
;
5065 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5066 result
= (int)((wxRect
const *)arg1
)->GetWidth();
5068 wxPyEndAllowThreads(__tstate
);
5069 if (PyErr_Occurred()) SWIG_fail
;
5072 resultobj
= SWIG_From_int((int)(result
));
5080 static PyObject
*_wrap_Rect_SetWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5081 PyObject
*resultobj
;
5082 wxRect
*arg1
= (wxRect
*) 0 ;
5084 PyObject
* obj0
= 0 ;
5085 PyObject
* obj1
= 0 ;
5087 (char *) "self",(char *) "w", NULL
5090 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
5091 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5092 if (SWIG_arg_fail(1)) SWIG_fail
;
5094 arg2
= (int)(SWIG_As_int(obj1
));
5095 if (SWIG_arg_fail(2)) SWIG_fail
;
5098 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5099 (arg1
)->SetWidth(arg2
);
5101 wxPyEndAllowThreads(__tstate
);
5102 if (PyErr_Occurred()) SWIG_fail
;
5104 Py_INCREF(Py_None
); resultobj
= Py_None
;
5111 static PyObject
*_wrap_Rect_GetHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5112 PyObject
*resultobj
;
5113 wxRect
*arg1
= (wxRect
*) 0 ;
5115 PyObject
* obj0
= 0 ;
5117 (char *) "self", NULL
5120 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetHeight",kwnames
,&obj0
)) goto fail
;
5121 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5122 if (SWIG_arg_fail(1)) SWIG_fail
;
5124 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5125 result
= (int)((wxRect
const *)arg1
)->GetHeight();
5127 wxPyEndAllowThreads(__tstate
);
5128 if (PyErr_Occurred()) SWIG_fail
;
5131 resultobj
= SWIG_From_int((int)(result
));
5139 static PyObject
*_wrap_Rect_SetHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5140 PyObject
*resultobj
;
5141 wxRect
*arg1
= (wxRect
*) 0 ;
5143 PyObject
* obj0
= 0 ;
5144 PyObject
* obj1
= 0 ;
5146 (char *) "self",(char *) "h", NULL
5149 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetHeight",kwnames
,&obj0
,&obj1
)) goto fail
;
5150 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5151 if (SWIG_arg_fail(1)) SWIG_fail
;
5153 arg2
= (int)(SWIG_As_int(obj1
));
5154 if (SWIG_arg_fail(2)) SWIG_fail
;
5157 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5158 (arg1
)->SetHeight(arg2
);
5160 wxPyEndAllowThreads(__tstate
);
5161 if (PyErr_Occurred()) SWIG_fail
;
5163 Py_INCREF(Py_None
); resultobj
= Py_None
;
5170 static PyObject
*_wrap_Rect_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5171 PyObject
*resultobj
;
5172 wxRect
*arg1
= (wxRect
*) 0 ;
5174 PyObject
* obj0
= 0 ;
5176 (char *) "self", NULL
5179 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetPosition",kwnames
,&obj0
)) goto fail
;
5180 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5181 if (SWIG_arg_fail(1)) SWIG_fail
;
5183 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5184 result
= ((wxRect
const *)arg1
)->GetPosition();
5186 wxPyEndAllowThreads(__tstate
);
5187 if (PyErr_Occurred()) SWIG_fail
;
5190 wxPoint
* resultptr
;
5191 resultptr
= new wxPoint((wxPoint
&)(result
));
5192 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
5200 static PyObject
*_wrap_Rect_SetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5201 PyObject
*resultobj
;
5202 wxRect
*arg1
= (wxRect
*) 0 ;
5205 PyObject
* obj0
= 0 ;
5206 PyObject
* obj1
= 0 ;
5208 (char *) "self",(char *) "p", NULL
5211 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
5212 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5213 if (SWIG_arg_fail(1)) SWIG_fail
;
5216 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
5219 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5220 (arg1
)->SetPosition((wxPoint
const &)*arg2
);
5222 wxPyEndAllowThreads(__tstate
);
5223 if (PyErr_Occurred()) SWIG_fail
;
5225 Py_INCREF(Py_None
); resultobj
= Py_None
;
5232 static PyObject
*_wrap_Rect_GetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5233 PyObject
*resultobj
;
5234 wxRect
*arg1
= (wxRect
*) 0 ;
5236 PyObject
* obj0
= 0 ;
5238 (char *) "self", NULL
5241 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetSize",kwnames
,&obj0
)) goto fail
;
5242 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5243 if (SWIG_arg_fail(1)) SWIG_fail
;
5245 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5246 result
= ((wxRect
const *)arg1
)->GetSize();
5248 wxPyEndAllowThreads(__tstate
);
5249 if (PyErr_Occurred()) SWIG_fail
;
5253 resultptr
= new wxSize((wxSize
&)(result
));
5254 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
5262 static PyObject
*_wrap_Rect_SetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5263 PyObject
*resultobj
;
5264 wxRect
*arg1
= (wxRect
*) 0 ;
5267 PyObject
* obj0
= 0 ;
5268 PyObject
* obj1
= 0 ;
5270 (char *) "self",(char *) "s", NULL
5273 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetSize",kwnames
,&obj0
,&obj1
)) goto fail
;
5274 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5275 if (SWIG_arg_fail(1)) SWIG_fail
;
5278 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
5281 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5282 (arg1
)->SetSize((wxSize
const &)*arg2
);
5284 wxPyEndAllowThreads(__tstate
);
5285 if (PyErr_Occurred()) SWIG_fail
;
5287 Py_INCREF(Py_None
); resultobj
= Py_None
;
5294 static PyObject
*_wrap_Rect_GetTopLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5295 PyObject
*resultobj
;
5296 wxRect
*arg1
= (wxRect
*) 0 ;
5298 PyObject
* obj0
= 0 ;
5300 (char *) "self", NULL
5303 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetTopLeft",kwnames
,&obj0
)) goto fail
;
5304 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5305 if (SWIG_arg_fail(1)) SWIG_fail
;
5307 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5308 result
= ((wxRect
const *)arg1
)->GetTopLeft();
5310 wxPyEndAllowThreads(__tstate
);
5311 if (PyErr_Occurred()) SWIG_fail
;
5314 wxPoint
* resultptr
;
5315 resultptr
= new wxPoint((wxPoint
&)(result
));
5316 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
5324 static PyObject
*_wrap_Rect_SetTopLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5325 PyObject
*resultobj
;
5326 wxRect
*arg1
= (wxRect
*) 0 ;
5329 PyObject
* obj0
= 0 ;
5330 PyObject
* obj1
= 0 ;
5332 (char *) "self",(char *) "p", NULL
5335 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetTopLeft",kwnames
,&obj0
,&obj1
)) goto fail
;
5336 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5337 if (SWIG_arg_fail(1)) SWIG_fail
;
5340 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
5343 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5344 (arg1
)->SetTopLeft((wxPoint
const &)*arg2
);
5346 wxPyEndAllowThreads(__tstate
);
5347 if (PyErr_Occurred()) SWIG_fail
;
5349 Py_INCREF(Py_None
); resultobj
= Py_None
;
5356 static PyObject
*_wrap_Rect_GetBottomRight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5357 PyObject
*resultobj
;
5358 wxRect
*arg1
= (wxRect
*) 0 ;
5360 PyObject
* obj0
= 0 ;
5362 (char *) "self", NULL
5365 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetBottomRight",kwnames
,&obj0
)) goto fail
;
5366 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5367 if (SWIG_arg_fail(1)) SWIG_fail
;
5369 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5370 result
= ((wxRect
const *)arg1
)->GetBottomRight();
5372 wxPyEndAllowThreads(__tstate
);
5373 if (PyErr_Occurred()) SWIG_fail
;
5376 wxPoint
* resultptr
;
5377 resultptr
= new wxPoint((wxPoint
&)(result
));
5378 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
5386 static PyObject
*_wrap_Rect_SetBottomRight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5387 PyObject
*resultobj
;
5388 wxRect
*arg1
= (wxRect
*) 0 ;
5391 PyObject
* obj0
= 0 ;
5392 PyObject
* obj1
= 0 ;
5394 (char *) "self",(char *) "p", NULL
5397 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetBottomRight",kwnames
,&obj0
,&obj1
)) goto fail
;
5398 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5399 if (SWIG_arg_fail(1)) SWIG_fail
;
5402 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
5405 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5406 (arg1
)->SetBottomRight((wxPoint
const &)*arg2
);
5408 wxPyEndAllowThreads(__tstate
);
5409 if (PyErr_Occurred()) SWIG_fail
;
5411 Py_INCREF(Py_None
); resultobj
= Py_None
;
5418 static PyObject
*_wrap_Rect_GetLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5419 PyObject
*resultobj
;
5420 wxRect
*arg1
= (wxRect
*) 0 ;
5422 PyObject
* obj0
= 0 ;
5424 (char *) "self", NULL
5427 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetLeft",kwnames
,&obj0
)) goto fail
;
5428 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5429 if (SWIG_arg_fail(1)) SWIG_fail
;
5431 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5432 result
= (int)((wxRect
const *)arg1
)->GetLeft();
5434 wxPyEndAllowThreads(__tstate
);
5435 if (PyErr_Occurred()) SWIG_fail
;
5438 resultobj
= SWIG_From_int((int)(result
));
5446 static PyObject
*_wrap_Rect_GetTop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5447 PyObject
*resultobj
;
5448 wxRect
*arg1
= (wxRect
*) 0 ;
5450 PyObject
* obj0
= 0 ;
5452 (char *) "self", NULL
5455 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetTop",kwnames
,&obj0
)) goto fail
;
5456 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5457 if (SWIG_arg_fail(1)) SWIG_fail
;
5459 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5460 result
= (int)((wxRect
const *)arg1
)->GetTop();
5462 wxPyEndAllowThreads(__tstate
);
5463 if (PyErr_Occurred()) SWIG_fail
;
5466 resultobj
= SWIG_From_int((int)(result
));
5474 static PyObject
*_wrap_Rect_GetBottom(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5475 PyObject
*resultobj
;
5476 wxRect
*arg1
= (wxRect
*) 0 ;
5478 PyObject
* obj0
= 0 ;
5480 (char *) "self", NULL
5483 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetBottom",kwnames
,&obj0
)) goto fail
;
5484 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5485 if (SWIG_arg_fail(1)) SWIG_fail
;
5487 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5488 result
= (int)((wxRect
const *)arg1
)->GetBottom();
5490 wxPyEndAllowThreads(__tstate
);
5491 if (PyErr_Occurred()) SWIG_fail
;
5494 resultobj
= SWIG_From_int((int)(result
));
5502 static PyObject
*_wrap_Rect_GetRight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5503 PyObject
*resultobj
;
5504 wxRect
*arg1
= (wxRect
*) 0 ;
5506 PyObject
* obj0
= 0 ;
5508 (char *) "self", NULL
5511 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetRight",kwnames
,&obj0
)) goto fail
;
5512 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5513 if (SWIG_arg_fail(1)) SWIG_fail
;
5515 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5516 result
= (int)((wxRect
const *)arg1
)->GetRight();
5518 wxPyEndAllowThreads(__tstate
);
5519 if (PyErr_Occurred()) SWIG_fail
;
5522 resultobj
= SWIG_From_int((int)(result
));
5530 static PyObject
*_wrap_Rect_SetLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5531 PyObject
*resultobj
;
5532 wxRect
*arg1
= (wxRect
*) 0 ;
5534 PyObject
* obj0
= 0 ;
5535 PyObject
* obj1
= 0 ;
5537 (char *) "self",(char *) "left", NULL
5540 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetLeft",kwnames
,&obj0
,&obj1
)) goto fail
;
5541 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5542 if (SWIG_arg_fail(1)) SWIG_fail
;
5544 arg2
= (int)(SWIG_As_int(obj1
));
5545 if (SWIG_arg_fail(2)) SWIG_fail
;
5548 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5549 (arg1
)->SetLeft(arg2
);
5551 wxPyEndAllowThreads(__tstate
);
5552 if (PyErr_Occurred()) SWIG_fail
;
5554 Py_INCREF(Py_None
); resultobj
= Py_None
;
5561 static PyObject
*_wrap_Rect_SetRight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5562 PyObject
*resultobj
;
5563 wxRect
*arg1
= (wxRect
*) 0 ;
5565 PyObject
* obj0
= 0 ;
5566 PyObject
* obj1
= 0 ;
5568 (char *) "self",(char *) "right", NULL
5571 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetRight",kwnames
,&obj0
,&obj1
)) goto fail
;
5572 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5573 if (SWIG_arg_fail(1)) SWIG_fail
;
5575 arg2
= (int)(SWIG_As_int(obj1
));
5576 if (SWIG_arg_fail(2)) SWIG_fail
;
5579 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5580 (arg1
)->SetRight(arg2
);
5582 wxPyEndAllowThreads(__tstate
);
5583 if (PyErr_Occurred()) SWIG_fail
;
5585 Py_INCREF(Py_None
); resultobj
= Py_None
;
5592 static PyObject
*_wrap_Rect_SetTop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5593 PyObject
*resultobj
;
5594 wxRect
*arg1
= (wxRect
*) 0 ;
5596 PyObject
* obj0
= 0 ;
5597 PyObject
* obj1
= 0 ;
5599 (char *) "self",(char *) "top", NULL
5602 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetTop",kwnames
,&obj0
,&obj1
)) goto fail
;
5603 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5604 if (SWIG_arg_fail(1)) SWIG_fail
;
5606 arg2
= (int)(SWIG_As_int(obj1
));
5607 if (SWIG_arg_fail(2)) SWIG_fail
;
5610 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5611 (arg1
)->SetTop(arg2
);
5613 wxPyEndAllowThreads(__tstate
);
5614 if (PyErr_Occurred()) SWIG_fail
;
5616 Py_INCREF(Py_None
); resultobj
= Py_None
;
5623 static PyObject
*_wrap_Rect_SetBottom(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5624 PyObject
*resultobj
;
5625 wxRect
*arg1
= (wxRect
*) 0 ;
5627 PyObject
* obj0
= 0 ;
5628 PyObject
* obj1
= 0 ;
5630 (char *) "self",(char *) "bottom", NULL
5633 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetBottom",kwnames
,&obj0
,&obj1
)) goto fail
;
5634 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5635 if (SWIG_arg_fail(1)) SWIG_fail
;
5637 arg2
= (int)(SWIG_As_int(obj1
));
5638 if (SWIG_arg_fail(2)) SWIG_fail
;
5641 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5642 (arg1
)->SetBottom(arg2
);
5644 wxPyEndAllowThreads(__tstate
);
5645 if (PyErr_Occurred()) SWIG_fail
;
5647 Py_INCREF(Py_None
); resultobj
= Py_None
;
5654 static PyObject
*_wrap_Rect_Inflate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5655 PyObject
*resultobj
;
5656 wxRect
*arg1
= (wxRect
*) 0 ;
5660 PyObject
* obj0
= 0 ;
5661 PyObject
* obj1
= 0 ;
5662 PyObject
* obj2
= 0 ;
5664 (char *) "self",(char *) "dx",(char *) "dy", NULL
5667 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Rect_Inflate",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5668 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5669 if (SWIG_arg_fail(1)) SWIG_fail
;
5671 arg2
= (int)(SWIG_As_int(obj1
));
5672 if (SWIG_arg_fail(2)) SWIG_fail
;
5675 arg3
= (int)(SWIG_As_int(obj2
));
5676 if (SWIG_arg_fail(3)) SWIG_fail
;
5679 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5681 wxRect
&_result_ref
= (arg1
)->Inflate(arg2
,arg3
);
5682 result
= (wxRect
*) &_result_ref
;
5685 wxPyEndAllowThreads(__tstate
);
5686 if (PyErr_Occurred()) SWIG_fail
;
5688 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 0);
5695 static PyObject
*_wrap_Rect_Deflate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5696 PyObject
*resultobj
;
5697 wxRect
*arg1
= (wxRect
*) 0 ;
5701 PyObject
* obj0
= 0 ;
5702 PyObject
* obj1
= 0 ;
5703 PyObject
* obj2
= 0 ;
5705 (char *) "self",(char *) "dx",(char *) "dy", NULL
5708 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Rect_Deflate",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5709 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5710 if (SWIG_arg_fail(1)) SWIG_fail
;
5712 arg2
= (int)(SWIG_As_int(obj1
));
5713 if (SWIG_arg_fail(2)) SWIG_fail
;
5716 arg3
= (int)(SWIG_As_int(obj2
));
5717 if (SWIG_arg_fail(3)) SWIG_fail
;
5720 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5722 wxRect
&_result_ref
= (arg1
)->Deflate(arg2
,arg3
);
5723 result
= (wxRect
*) &_result_ref
;
5726 wxPyEndAllowThreads(__tstate
);
5727 if (PyErr_Occurred()) SWIG_fail
;
5729 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 0);
5736 static PyObject
*_wrap_Rect_OffsetXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5737 PyObject
*resultobj
;
5738 wxRect
*arg1
= (wxRect
*) 0 ;
5741 PyObject
* obj0
= 0 ;
5742 PyObject
* obj1
= 0 ;
5743 PyObject
* obj2
= 0 ;
5745 (char *) "self",(char *) "dx",(char *) "dy", NULL
5748 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Rect_OffsetXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5749 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5750 if (SWIG_arg_fail(1)) SWIG_fail
;
5752 arg2
= (int)(SWIG_As_int(obj1
));
5753 if (SWIG_arg_fail(2)) SWIG_fail
;
5756 arg3
= (int)(SWIG_As_int(obj2
));
5757 if (SWIG_arg_fail(3)) SWIG_fail
;
5760 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5761 (arg1
)->Offset(arg2
,arg3
);
5763 wxPyEndAllowThreads(__tstate
);
5764 if (PyErr_Occurred()) SWIG_fail
;
5766 Py_INCREF(Py_None
); resultobj
= Py_None
;
5773 static PyObject
*_wrap_Rect_Offset(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5774 PyObject
*resultobj
;
5775 wxRect
*arg1
= (wxRect
*) 0 ;
5778 PyObject
* obj0
= 0 ;
5779 PyObject
* obj1
= 0 ;
5781 (char *) "self",(char *) "pt", NULL
5784 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_Offset",kwnames
,&obj0
,&obj1
)) goto fail
;
5785 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5786 if (SWIG_arg_fail(1)) SWIG_fail
;
5789 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
5792 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5793 (arg1
)->Offset((wxPoint
const &)*arg2
);
5795 wxPyEndAllowThreads(__tstate
);
5796 if (PyErr_Occurred()) SWIG_fail
;
5798 Py_INCREF(Py_None
); resultobj
= Py_None
;
5805 static PyObject
*_wrap_Rect_Intersect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5806 PyObject
*resultobj
;
5807 wxRect
*arg1
= (wxRect
*) 0 ;
5811 PyObject
* obj0
= 0 ;
5812 PyObject
* obj1
= 0 ;
5814 (char *) "self",(char *) "rect", NULL
5817 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_Intersect",kwnames
,&obj0
,&obj1
)) goto fail
;
5818 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5819 if (SWIG_arg_fail(1)) SWIG_fail
;
5822 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
5825 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5826 result
= (arg1
)->Intersect((wxRect
const &)*arg2
);
5828 wxPyEndAllowThreads(__tstate
);
5829 if (PyErr_Occurred()) SWIG_fail
;
5833 resultptr
= new wxRect((wxRect
&)(result
));
5834 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
5842 static PyObject
*_wrap_Rect_Union(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5843 PyObject
*resultobj
;
5844 wxRect
*arg1
= (wxRect
*) 0 ;
5848 PyObject
* obj0
= 0 ;
5849 PyObject
* obj1
= 0 ;
5851 (char *) "self",(char *) "rect", NULL
5854 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_Union",kwnames
,&obj0
,&obj1
)) goto fail
;
5855 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5856 if (SWIG_arg_fail(1)) SWIG_fail
;
5859 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
5862 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5863 result
= (arg1
)->Union((wxRect
const &)*arg2
);
5865 wxPyEndAllowThreads(__tstate
);
5866 if (PyErr_Occurred()) SWIG_fail
;
5870 resultptr
= new wxRect((wxRect
&)(result
));
5871 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
5879 static PyObject
*_wrap_Rect___add__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5880 PyObject
*resultobj
;
5881 wxRect
*arg1
= (wxRect
*) 0 ;
5885 PyObject
* obj0
= 0 ;
5886 PyObject
* obj1
= 0 ;
5888 (char *) "self",(char *) "rect", NULL
5891 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect___add__",kwnames
,&obj0
,&obj1
)) goto fail
;
5892 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5893 if (SWIG_arg_fail(1)) SWIG_fail
;
5896 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
5899 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5900 result
= ((wxRect
const *)arg1
)->operator +((wxRect
const &)*arg2
);
5902 wxPyEndAllowThreads(__tstate
);
5903 if (PyErr_Occurred()) SWIG_fail
;
5907 resultptr
= new wxRect((wxRect
&)(result
));
5908 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
5916 static PyObject
*_wrap_Rect___iadd__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5917 PyObject
*resultobj
;
5918 wxRect
*arg1
= (wxRect
*) 0 ;
5922 PyObject
* obj0
= 0 ;
5923 PyObject
* obj1
= 0 ;
5925 (char *) "self",(char *) "rect", NULL
5928 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect___iadd__",kwnames
,&obj0
,&obj1
)) goto fail
;
5929 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
5930 if (SWIG_arg_fail(1)) SWIG_fail
;
5933 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
5936 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5938 wxRect
&_result_ref
= (arg1
)->operator +=((wxRect
const &)*arg2
);
5939 result
= (wxRect
*) &_result_ref
;
5942 wxPyEndAllowThreads(__tstate
);
5943 if (PyErr_Occurred()) SWIG_fail
;
5945 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 1);
5952 static PyObject
*_wrap_Rect___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5953 PyObject
*resultobj
;
5954 wxRect
*arg1
= (wxRect
*) 0 ;
5958 PyObject
* obj0
= 0 ;
5959 PyObject
* obj1
= 0 ;
5961 (char *) "self",(char *) "rect", NULL
5964 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
5965 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5966 if (SWIG_arg_fail(1)) SWIG_fail
;
5969 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
5972 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5973 result
= (bool)((wxRect
const *)arg1
)->operator ==((wxRect
const &)*arg2
);
5975 wxPyEndAllowThreads(__tstate
);
5976 if (PyErr_Occurred()) SWIG_fail
;
5979 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5987 static PyObject
*_wrap_Rect___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5988 PyObject
*resultobj
;
5989 wxRect
*arg1
= (wxRect
*) 0 ;
5993 PyObject
* obj0
= 0 ;
5994 PyObject
* obj1
= 0 ;
5996 (char *) "self",(char *) "rect", NULL
5999 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
6000 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
6001 if (SWIG_arg_fail(1)) SWIG_fail
;
6004 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
6007 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6008 result
= (bool)((wxRect
const *)arg1
)->operator !=((wxRect
const &)*arg2
);
6010 wxPyEndAllowThreads(__tstate
);
6011 if (PyErr_Occurred()) SWIG_fail
;
6014 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6022 static PyObject
*_wrap_Rect_InsideXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6023 PyObject
*resultobj
;
6024 wxRect
*arg1
= (wxRect
*) 0 ;
6028 PyObject
* obj0
= 0 ;
6029 PyObject
* obj1
= 0 ;
6030 PyObject
* obj2
= 0 ;
6032 (char *) "self",(char *) "x",(char *) "y", NULL
6035 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Rect_InsideXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6036 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
6037 if (SWIG_arg_fail(1)) SWIG_fail
;
6039 arg2
= (int)(SWIG_As_int(obj1
));
6040 if (SWIG_arg_fail(2)) SWIG_fail
;
6043 arg3
= (int)(SWIG_As_int(obj2
));
6044 if (SWIG_arg_fail(3)) SWIG_fail
;
6047 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6048 result
= (bool)((wxRect
const *)arg1
)->Inside(arg2
,arg3
);
6050 wxPyEndAllowThreads(__tstate
);
6051 if (PyErr_Occurred()) SWIG_fail
;
6054 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6062 static PyObject
*_wrap_Rect_Inside(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6063 PyObject
*resultobj
;
6064 wxRect
*arg1
= (wxRect
*) 0 ;
6068 PyObject
* obj0
= 0 ;
6069 PyObject
* obj1
= 0 ;
6071 (char *) "self",(char *) "pt", NULL
6074 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_Inside",kwnames
,&obj0
,&obj1
)) goto fail
;
6075 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
6076 if (SWIG_arg_fail(1)) SWIG_fail
;
6079 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
6082 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6083 result
= (bool)((wxRect
const *)arg1
)->Inside((wxPoint
const &)*arg2
);
6085 wxPyEndAllowThreads(__tstate
);
6086 if (PyErr_Occurred()) SWIG_fail
;
6089 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6097 static PyObject
*_wrap_Rect_Intersects(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6098 PyObject
*resultobj
;
6099 wxRect
*arg1
= (wxRect
*) 0 ;
6103 PyObject
* obj0
= 0 ;
6104 PyObject
* obj1
= 0 ;
6106 (char *) "self",(char *) "rect", NULL
6109 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_Intersects",kwnames
,&obj0
,&obj1
)) goto fail
;
6110 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
6111 if (SWIG_arg_fail(1)) SWIG_fail
;
6114 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
6117 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6118 result
= (bool)((wxRect
const *)arg1
)->Intersects((wxRect
const &)*arg2
);
6120 wxPyEndAllowThreads(__tstate
);
6121 if (PyErr_Occurred()) SWIG_fail
;
6124 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6132 static PyObject
*_wrap_Rect_x_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6133 PyObject
*resultobj
;
6134 wxRect
*arg1
= (wxRect
*) 0 ;
6136 PyObject
* obj0
= 0 ;
6137 PyObject
* obj1
= 0 ;
6139 (char *) "self",(char *) "x", NULL
6142 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_x_set",kwnames
,&obj0
,&obj1
)) goto fail
;
6143 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
6144 if (SWIG_arg_fail(1)) SWIG_fail
;
6146 arg2
= (int)(SWIG_As_int(obj1
));
6147 if (SWIG_arg_fail(2)) SWIG_fail
;
6149 if (arg1
) (arg1
)->x
= arg2
;
6151 Py_INCREF(Py_None
); resultobj
= Py_None
;
6158 static PyObject
*_wrap_Rect_x_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6159 PyObject
*resultobj
;
6160 wxRect
*arg1
= (wxRect
*) 0 ;
6162 PyObject
* obj0
= 0 ;
6164 (char *) "self", NULL
6167 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_x_get",kwnames
,&obj0
)) goto fail
;
6168 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
6169 if (SWIG_arg_fail(1)) SWIG_fail
;
6170 result
= (int) ((arg1
)->x
);
6173 resultobj
= SWIG_From_int((int)(result
));
6181 static PyObject
*_wrap_Rect_y_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6182 PyObject
*resultobj
;
6183 wxRect
*arg1
= (wxRect
*) 0 ;
6185 PyObject
* obj0
= 0 ;
6186 PyObject
* obj1
= 0 ;
6188 (char *) "self",(char *) "y", NULL
6191 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_y_set",kwnames
,&obj0
,&obj1
)) goto fail
;
6192 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
6193 if (SWIG_arg_fail(1)) SWIG_fail
;
6195 arg2
= (int)(SWIG_As_int(obj1
));
6196 if (SWIG_arg_fail(2)) SWIG_fail
;
6198 if (arg1
) (arg1
)->y
= arg2
;
6200 Py_INCREF(Py_None
); resultobj
= Py_None
;
6207 static PyObject
*_wrap_Rect_y_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6208 PyObject
*resultobj
;
6209 wxRect
*arg1
= (wxRect
*) 0 ;
6211 PyObject
* obj0
= 0 ;
6213 (char *) "self", NULL
6216 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_y_get",kwnames
,&obj0
)) goto fail
;
6217 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
6218 if (SWIG_arg_fail(1)) SWIG_fail
;
6219 result
= (int) ((arg1
)->y
);
6222 resultobj
= SWIG_From_int((int)(result
));
6230 static PyObject
*_wrap_Rect_width_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6231 PyObject
*resultobj
;
6232 wxRect
*arg1
= (wxRect
*) 0 ;
6234 PyObject
* obj0
= 0 ;
6235 PyObject
* obj1
= 0 ;
6237 (char *) "self",(char *) "width", NULL
6240 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_width_set",kwnames
,&obj0
,&obj1
)) goto fail
;
6241 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
6242 if (SWIG_arg_fail(1)) SWIG_fail
;
6244 arg2
= (int)(SWIG_As_int(obj1
));
6245 if (SWIG_arg_fail(2)) SWIG_fail
;
6247 if (arg1
) (arg1
)->width
= arg2
;
6249 Py_INCREF(Py_None
); resultobj
= Py_None
;
6256 static PyObject
*_wrap_Rect_width_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6257 PyObject
*resultobj
;
6258 wxRect
*arg1
= (wxRect
*) 0 ;
6260 PyObject
* obj0
= 0 ;
6262 (char *) "self", NULL
6265 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_width_get",kwnames
,&obj0
)) goto fail
;
6266 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
6267 if (SWIG_arg_fail(1)) SWIG_fail
;
6268 result
= (int) ((arg1
)->width
);
6271 resultobj
= SWIG_From_int((int)(result
));
6279 static PyObject
*_wrap_Rect_height_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6280 PyObject
*resultobj
;
6281 wxRect
*arg1
= (wxRect
*) 0 ;
6283 PyObject
* obj0
= 0 ;
6284 PyObject
* obj1
= 0 ;
6286 (char *) "self",(char *) "height", NULL
6289 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_height_set",kwnames
,&obj0
,&obj1
)) goto fail
;
6290 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
6291 if (SWIG_arg_fail(1)) SWIG_fail
;
6293 arg2
= (int)(SWIG_As_int(obj1
));
6294 if (SWIG_arg_fail(2)) SWIG_fail
;
6296 if (arg1
) (arg1
)->height
= arg2
;
6298 Py_INCREF(Py_None
); resultobj
= Py_None
;
6305 static PyObject
*_wrap_Rect_height_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6306 PyObject
*resultobj
;
6307 wxRect
*arg1
= (wxRect
*) 0 ;
6309 PyObject
* obj0
= 0 ;
6311 (char *) "self", NULL
6314 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_height_get",kwnames
,&obj0
)) goto fail
;
6315 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
6316 if (SWIG_arg_fail(1)) SWIG_fail
;
6317 result
= (int) ((arg1
)->height
);
6320 resultobj
= SWIG_From_int((int)(result
));
6328 static PyObject
*_wrap_Rect_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6329 PyObject
*resultobj
;
6330 wxRect
*arg1
= (wxRect
*) 0 ;
6331 int arg2
= (int) 0 ;
6332 int arg3
= (int) 0 ;
6333 int arg4
= (int) 0 ;
6334 int arg5
= (int) 0 ;
6335 PyObject
* obj0
= 0 ;
6336 PyObject
* obj1
= 0 ;
6337 PyObject
* obj2
= 0 ;
6338 PyObject
* obj3
= 0 ;
6339 PyObject
* obj4
= 0 ;
6341 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
6344 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOO:Rect_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
6345 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
6346 if (SWIG_arg_fail(1)) SWIG_fail
;
6349 arg2
= (int)(SWIG_As_int(obj1
));
6350 if (SWIG_arg_fail(2)) SWIG_fail
;
6355 arg3
= (int)(SWIG_As_int(obj2
));
6356 if (SWIG_arg_fail(3)) SWIG_fail
;
6361 arg4
= (int)(SWIG_As_int(obj3
));
6362 if (SWIG_arg_fail(4)) SWIG_fail
;
6367 arg5
= (int)(SWIG_As_int(obj4
));
6368 if (SWIG_arg_fail(5)) SWIG_fail
;
6372 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6373 wxRect_Set(arg1
,arg2
,arg3
,arg4
,arg5
);
6375 wxPyEndAllowThreads(__tstate
);
6376 if (PyErr_Occurred()) SWIG_fail
;
6378 Py_INCREF(Py_None
); resultobj
= Py_None
;
6385 static PyObject
*_wrap_Rect_Get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6386 PyObject
*resultobj
;
6387 wxRect
*arg1
= (wxRect
*) 0 ;
6389 PyObject
* obj0
= 0 ;
6391 (char *) "self", NULL
6394 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_Get",kwnames
,&obj0
)) goto fail
;
6395 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
6396 if (SWIG_arg_fail(1)) SWIG_fail
;
6398 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6399 result
= (PyObject
*)wxRect_Get(arg1
);
6401 wxPyEndAllowThreads(__tstate
);
6402 if (PyErr_Occurred()) SWIG_fail
;
6411 static PyObject
* Rect_swigregister(PyObject
*, PyObject
*args
) {
6413 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6414 SWIG_TypeClientData(SWIGTYPE_p_wxRect
, obj
);
6416 return Py_BuildValue((char *)"");
6418 static PyObject
*_wrap_IntersectRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6419 PyObject
*resultobj
;
6420 wxRect
*arg1
= (wxRect
*) 0 ;
6421 wxRect
*arg2
= (wxRect
*) 0 ;
6423 PyObject
* obj0
= 0 ;
6424 PyObject
* obj1
= 0 ;
6426 (char *) "r1",(char *) "r2", NULL
6429 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IntersectRect",kwnames
,&obj0
,&obj1
)) goto fail
;
6430 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
6431 if (SWIG_arg_fail(1)) SWIG_fail
;
6432 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
6433 if (SWIG_arg_fail(2)) SWIG_fail
;
6435 if (!wxPyCheckForApp()) SWIG_fail
;
6436 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6437 result
= (PyObject
*)wxIntersectRect(arg1
,arg2
);
6439 wxPyEndAllowThreads(__tstate
);
6440 if (PyErr_Occurred()) SWIG_fail
;
6449 static PyObject
*_wrap_new_Point2D(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6450 PyObject
*resultobj
;
6451 double arg1
= (double) 0.0 ;
6452 double arg2
= (double) 0.0 ;
6454 PyObject
* obj0
= 0 ;
6455 PyObject
* obj1
= 0 ;
6457 (char *) "x",(char *) "y", NULL
6460 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Point2D",kwnames
,&obj0
,&obj1
)) goto fail
;
6463 arg1
= (double)(SWIG_As_double(obj0
));
6464 if (SWIG_arg_fail(1)) SWIG_fail
;
6469 arg2
= (double)(SWIG_As_double(obj1
));
6470 if (SWIG_arg_fail(2)) SWIG_fail
;
6474 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6475 result
= (wxPoint2D
*)new wxPoint2D(arg1
,arg2
);
6477 wxPyEndAllowThreads(__tstate
);
6478 if (PyErr_Occurred()) SWIG_fail
;
6480 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint2D
, 1);
6487 static PyObject
*_wrap_new_Point2DCopy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6488 PyObject
*resultobj
;
6489 wxPoint2D
*arg1
= 0 ;
6492 PyObject
* obj0
= 0 ;
6497 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_Point2DCopy",kwnames
,&obj0
)) goto fail
;
6500 if ( ! wxPoint2D_helper(obj0
, &arg1
)) SWIG_fail
;
6503 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6504 result
= (wxPoint2D
*)new wxPoint2D((wxPoint2D
const &)*arg1
);
6506 wxPyEndAllowThreads(__tstate
);
6507 if (PyErr_Occurred()) SWIG_fail
;
6509 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint2D
, 1);
6516 static PyObject
*_wrap_new_Point2DFromPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6517 PyObject
*resultobj
;
6521 PyObject
* obj0
= 0 ;
6526 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_Point2DFromPoint",kwnames
,&obj0
)) goto fail
;
6529 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
6532 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6533 result
= (wxPoint2D
*)new wxPoint2D((wxPoint
const &)*arg1
);
6535 wxPyEndAllowThreads(__tstate
);
6536 if (PyErr_Occurred()) SWIG_fail
;
6538 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint2D
, 1);
6545 static PyObject
*_wrap_Point2D_GetFloor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6546 PyObject
*resultobj
;
6547 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
6548 int *arg2
= (int *) 0 ;
6549 int *arg3
= (int *) 0 ;
6554 PyObject
* obj0
= 0 ;
6556 (char *) "self", NULL
6559 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
6560 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
6561 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D_GetFloor",kwnames
,&obj0
)) goto fail
;
6562 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| 0);
6563 if (SWIG_arg_fail(1)) SWIG_fail
;
6565 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6566 ((wxPoint2D
const *)arg1
)->GetFloor(arg2
,arg3
);
6568 wxPyEndAllowThreads(__tstate
);
6569 if (PyErr_Occurred()) SWIG_fail
;
6571 Py_INCREF(Py_None
); resultobj
= Py_None
;
6572 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
6573 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
6574 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
6575 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
6582 static PyObject
*_wrap_Point2D_GetRounded(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6583 PyObject
*resultobj
;
6584 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
6585 int *arg2
= (int *) 0 ;
6586 int *arg3
= (int *) 0 ;
6591 PyObject
* obj0
= 0 ;
6593 (char *) "self", NULL
6596 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
6597 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
6598 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D_GetRounded",kwnames
,&obj0
)) goto fail
;
6599 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| 0);
6600 if (SWIG_arg_fail(1)) SWIG_fail
;
6602 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6603 ((wxPoint2D
const *)arg1
)->GetRounded(arg2
,arg3
);
6605 wxPyEndAllowThreads(__tstate
);
6606 if (PyErr_Occurred()) SWIG_fail
;
6608 Py_INCREF(Py_None
); resultobj
= Py_None
;
6609 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
6610 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
6611 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
6612 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
6619 static PyObject
*_wrap_Point2D_GetVectorLength(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6620 PyObject
*resultobj
;
6621 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
6623 PyObject
* obj0
= 0 ;
6625 (char *) "self", NULL
6628 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D_GetVectorLength",kwnames
,&obj0
)) goto fail
;
6629 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| 0);
6630 if (SWIG_arg_fail(1)) SWIG_fail
;
6632 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6633 result
= (double)((wxPoint2D
const *)arg1
)->GetVectorLength();
6635 wxPyEndAllowThreads(__tstate
);
6636 if (PyErr_Occurred()) SWIG_fail
;
6639 resultobj
= SWIG_From_double((double)(result
));
6647 static PyObject
*_wrap_Point2D_GetVectorAngle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6648 PyObject
*resultobj
;
6649 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
6651 PyObject
* obj0
= 0 ;
6653 (char *) "self", NULL
6656 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D_GetVectorAngle",kwnames
,&obj0
)) goto fail
;
6657 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| 0);
6658 if (SWIG_arg_fail(1)) SWIG_fail
;
6660 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6661 result
= (double)((wxPoint2D
const *)arg1
)->GetVectorAngle();
6663 wxPyEndAllowThreads(__tstate
);
6664 if (PyErr_Occurred()) SWIG_fail
;
6667 resultobj
= SWIG_From_double((double)(result
));
6675 static PyObject
*_wrap_Point2D_SetVectorLength(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6676 PyObject
*resultobj
;
6677 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
6679 PyObject
* obj0
= 0 ;
6680 PyObject
* obj1
= 0 ;
6682 (char *) "self",(char *) "length", NULL
6685 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_SetVectorLength",kwnames
,&obj0
,&obj1
)) goto fail
;
6686 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| 0);
6687 if (SWIG_arg_fail(1)) SWIG_fail
;
6689 arg2
= (double)(SWIG_As_double(obj1
));
6690 if (SWIG_arg_fail(2)) SWIG_fail
;
6693 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6694 (arg1
)->SetVectorLength(arg2
);
6696 wxPyEndAllowThreads(__tstate
);
6697 if (PyErr_Occurred()) SWIG_fail
;
6699 Py_INCREF(Py_None
); resultobj
= Py_None
;
6706 static PyObject
*_wrap_Point2D_SetVectorAngle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6707 PyObject
*resultobj
;
6708 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
6710 PyObject
* obj0
= 0 ;
6711 PyObject
* obj1
= 0 ;
6713 (char *) "self",(char *) "degrees", NULL
6716 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_SetVectorAngle",kwnames
,&obj0
,&obj1
)) goto fail
;
6717 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| 0);
6718 if (SWIG_arg_fail(1)) SWIG_fail
;
6720 arg2
= (double)(SWIG_As_double(obj1
));
6721 if (SWIG_arg_fail(2)) SWIG_fail
;
6724 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6725 (arg1
)->SetVectorAngle(arg2
);
6727 wxPyEndAllowThreads(__tstate
);
6728 if (PyErr_Occurred()) SWIG_fail
;
6730 Py_INCREF(Py_None
); resultobj
= Py_None
;
6737 static PyObject
*_wrap_Point2D_GetDistance(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6738 PyObject
*resultobj
;
6739 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
6740 wxPoint2D
*arg2
= 0 ;
6743 PyObject
* obj0
= 0 ;
6744 PyObject
* obj1
= 0 ;
6746 (char *) "self",(char *) "pt", NULL
6749 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_GetDistance",kwnames
,&obj0
,&obj1
)) goto fail
;
6750 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| 0);
6751 if (SWIG_arg_fail(1)) SWIG_fail
;
6754 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
6757 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6758 result
= (double)((wxPoint2D
const *)arg1
)->GetDistance((wxPoint2D
const &)*arg2
);
6760 wxPyEndAllowThreads(__tstate
);
6761 if (PyErr_Occurred()) SWIG_fail
;
6764 resultobj
= SWIG_From_double((double)(result
));
6772 static PyObject
*_wrap_Point2D_GetDistanceSquare(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6773 PyObject
*resultobj
;
6774 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
6775 wxPoint2D
*arg2
= 0 ;
6778 PyObject
* obj0
= 0 ;
6779 PyObject
* obj1
= 0 ;
6781 (char *) "self",(char *) "pt", NULL
6784 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_GetDistanceSquare",kwnames
,&obj0
,&obj1
)) goto fail
;
6785 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| 0);
6786 if (SWIG_arg_fail(1)) SWIG_fail
;
6789 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
6792 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6793 result
= (double)((wxPoint2D
const *)arg1
)->GetDistanceSquare((wxPoint2D
const &)*arg2
);
6795 wxPyEndAllowThreads(__tstate
);
6796 if (PyErr_Occurred()) SWIG_fail
;
6799 resultobj
= SWIG_From_double((double)(result
));
6807 static PyObject
*_wrap_Point2D_GetDotProduct(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6808 PyObject
*resultobj
;
6809 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
6810 wxPoint2D
*arg2
= 0 ;
6813 PyObject
* obj0
= 0 ;
6814 PyObject
* obj1
= 0 ;
6816 (char *) "self",(char *) "vec", NULL
6819 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_GetDotProduct",kwnames
,&obj0
,&obj1
)) goto fail
;
6820 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| 0);
6821 if (SWIG_arg_fail(1)) SWIG_fail
;
6824 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
6827 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6828 result
= (double)((wxPoint2D
const *)arg1
)->GetDotProduct((wxPoint2D
const &)*arg2
);
6830 wxPyEndAllowThreads(__tstate
);
6831 if (PyErr_Occurred()) SWIG_fail
;
6834 resultobj
= SWIG_From_double((double)(result
));
6842 static PyObject
*_wrap_Point2D_GetCrossProduct(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6843 PyObject
*resultobj
;
6844 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
6845 wxPoint2D
*arg2
= 0 ;
6848 PyObject
* obj0
= 0 ;
6849 PyObject
* obj1
= 0 ;
6851 (char *) "self",(char *) "vec", NULL
6854 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_GetCrossProduct",kwnames
,&obj0
,&obj1
)) goto fail
;
6855 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| 0);
6856 if (SWIG_arg_fail(1)) SWIG_fail
;
6859 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
6862 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6863 result
= (double)((wxPoint2D
const *)arg1
)->GetCrossProduct((wxPoint2D
const &)*arg2
);
6865 wxPyEndAllowThreads(__tstate
);
6866 if (PyErr_Occurred()) SWIG_fail
;
6869 resultobj
= SWIG_From_double((double)(result
));
6877 static PyObject
*_wrap_Point2D___neg__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6878 PyObject
*resultobj
;
6879 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
6881 PyObject
* obj0
= 0 ;
6883 (char *) "self", NULL
6886 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D___neg__",kwnames
,&obj0
)) goto fail
;
6887 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| 0);
6888 if (SWIG_arg_fail(1)) SWIG_fail
;
6890 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6891 result
= (arg1
)->operator -();
6893 wxPyEndAllowThreads(__tstate
);
6894 if (PyErr_Occurred()) SWIG_fail
;
6897 wxPoint2D
* resultptr
;
6898 resultptr
= new wxPoint2D((wxPoint2D
&)(result
));
6899 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint2D
, 1);
6907 static PyObject
*_wrap_Point2D___iadd__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6908 PyObject
*resultobj
;
6909 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
6910 wxPoint2D
*arg2
= 0 ;
6913 PyObject
* obj0
= 0 ;
6914 PyObject
* obj1
= 0 ;
6916 (char *) "self",(char *) "pt", NULL
6919 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D___iadd__",kwnames
,&obj0
,&obj1
)) goto fail
;
6920 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
6921 if (SWIG_arg_fail(1)) SWIG_fail
;
6924 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
6927 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6929 wxPoint2D
&_result_ref
= (arg1
)->operator +=((wxPoint2D
const &)*arg2
);
6930 result
= (wxPoint2D
*) &_result_ref
;
6933 wxPyEndAllowThreads(__tstate
);
6934 if (PyErr_Occurred()) SWIG_fail
;
6936 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint2D
, 1);
6943 static PyObject
*_wrap_Point2D___isub__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6944 PyObject
*resultobj
;
6945 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
6946 wxPoint2D
*arg2
= 0 ;
6949 PyObject
* obj0
= 0 ;
6950 PyObject
* obj1
= 0 ;
6952 (char *) "self",(char *) "pt", NULL
6955 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D___isub__",kwnames
,&obj0
,&obj1
)) goto fail
;
6956 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
6957 if (SWIG_arg_fail(1)) SWIG_fail
;
6960 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
6963 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6965 wxPoint2D
&_result_ref
= (arg1
)->operator -=((wxPoint2D
const &)*arg2
);
6966 result
= (wxPoint2D
*) &_result_ref
;
6969 wxPyEndAllowThreads(__tstate
);
6970 if (PyErr_Occurred()) SWIG_fail
;
6972 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint2D
, 1);
6979 static PyObject
*_wrap_Point2D___imul__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6980 PyObject
*resultobj
;
6981 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
6982 wxPoint2D
*arg2
= 0 ;
6985 PyObject
* obj0
= 0 ;
6986 PyObject
* obj1
= 0 ;
6988 (char *) "self",(char *) "pt", NULL
6991 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D___imul__",kwnames
,&obj0
,&obj1
)) goto fail
;
6992 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
6993 if (SWIG_arg_fail(1)) SWIG_fail
;
6996 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
6999 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7001 wxPoint2D
&_result_ref
= (arg1
)->operator *=((wxPoint2D
const &)*arg2
);
7002 result
= (wxPoint2D
*) &_result_ref
;
7005 wxPyEndAllowThreads(__tstate
);
7006 if (PyErr_Occurred()) SWIG_fail
;
7008 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint2D
, 1);
7015 static PyObject
*_wrap_Point2D___idiv__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7016 PyObject
*resultobj
;
7017 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
7018 wxPoint2D
*arg2
= 0 ;
7021 PyObject
* obj0
= 0 ;
7022 PyObject
* obj1
= 0 ;
7024 (char *) "self",(char *) "pt", NULL
7027 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D___idiv__",kwnames
,&obj0
,&obj1
)) goto fail
;
7028 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
7029 if (SWIG_arg_fail(1)) SWIG_fail
;
7032 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
7035 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7037 wxPoint2D
&_result_ref
= (arg1
)->operator /=((wxPoint2D
const &)*arg2
);
7038 result
= (wxPoint2D
*) &_result_ref
;
7041 wxPyEndAllowThreads(__tstate
);
7042 if (PyErr_Occurred()) SWIG_fail
;
7044 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint2D
, 1);
7051 static PyObject
*_wrap_Point2D___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7052 PyObject
*resultobj
;
7053 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
7054 wxPoint2D
*arg2
= 0 ;
7057 PyObject
* obj0
= 0 ;
7058 PyObject
* obj1
= 0 ;
7060 (char *) "self",(char *) "pt", NULL
7063 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
7064 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| 0);
7065 if (SWIG_arg_fail(1)) SWIG_fail
;
7068 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
7071 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7072 result
= (bool)((wxPoint2D
const *)arg1
)->operator ==((wxPoint2D
const &)*arg2
);
7074 wxPyEndAllowThreads(__tstate
);
7075 if (PyErr_Occurred()) SWIG_fail
;
7078 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7086 static PyObject
*_wrap_Point2D___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7087 PyObject
*resultobj
;
7088 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
7089 wxPoint2D
*arg2
= 0 ;
7092 PyObject
* obj0
= 0 ;
7093 PyObject
* obj1
= 0 ;
7095 (char *) "self",(char *) "pt", NULL
7098 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
7099 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| 0);
7100 if (SWIG_arg_fail(1)) SWIG_fail
;
7103 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
7106 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7107 result
= (bool)((wxPoint2D
const *)arg1
)->operator !=((wxPoint2D
const &)*arg2
);
7109 wxPyEndAllowThreads(__tstate
);
7110 if (PyErr_Occurred()) SWIG_fail
;
7113 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7121 static PyObject
*_wrap_Point2D_x_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7122 PyObject
*resultobj
;
7123 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
7125 PyObject
* obj0
= 0 ;
7126 PyObject
* obj1
= 0 ;
7128 (char *) "self",(char *) "m_x", NULL
7131 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_x_set",kwnames
,&obj0
,&obj1
)) goto fail
;
7132 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| 0);
7133 if (SWIG_arg_fail(1)) SWIG_fail
;
7135 arg2
= (double)(SWIG_As_double(obj1
));
7136 if (SWIG_arg_fail(2)) SWIG_fail
;
7138 if (arg1
) (arg1
)->m_x
= arg2
;
7140 Py_INCREF(Py_None
); resultobj
= Py_None
;
7147 static PyObject
*_wrap_Point2D_x_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7148 PyObject
*resultobj
;
7149 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
7151 PyObject
* obj0
= 0 ;
7153 (char *) "self", NULL
7156 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D_x_get",kwnames
,&obj0
)) goto fail
;
7157 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| 0);
7158 if (SWIG_arg_fail(1)) SWIG_fail
;
7159 result
= (double) ((arg1
)->m_x
);
7162 resultobj
= SWIG_From_double((double)(result
));
7170 static PyObject
*_wrap_Point2D_y_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7171 PyObject
*resultobj
;
7172 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
7174 PyObject
* obj0
= 0 ;
7175 PyObject
* obj1
= 0 ;
7177 (char *) "self",(char *) "m_y", NULL
7180 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_y_set",kwnames
,&obj0
,&obj1
)) goto fail
;
7181 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| 0);
7182 if (SWIG_arg_fail(1)) SWIG_fail
;
7184 arg2
= (double)(SWIG_As_double(obj1
));
7185 if (SWIG_arg_fail(2)) SWIG_fail
;
7187 if (arg1
) (arg1
)->m_y
= arg2
;
7189 Py_INCREF(Py_None
); resultobj
= Py_None
;
7196 static PyObject
*_wrap_Point2D_y_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7197 PyObject
*resultobj
;
7198 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
7200 PyObject
* obj0
= 0 ;
7202 (char *) "self", NULL
7205 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D_y_get",kwnames
,&obj0
)) goto fail
;
7206 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| 0);
7207 if (SWIG_arg_fail(1)) SWIG_fail
;
7208 result
= (double) ((arg1
)->m_y
);
7211 resultobj
= SWIG_From_double((double)(result
));
7219 static PyObject
*_wrap_Point2D_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7220 PyObject
*resultobj
;
7221 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
7222 double arg2
= (double) 0 ;
7223 double arg3
= (double) 0 ;
7224 PyObject
* obj0
= 0 ;
7225 PyObject
* obj1
= 0 ;
7226 PyObject
* obj2
= 0 ;
7228 (char *) "self",(char *) "x",(char *) "y", NULL
7231 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Point2D_Set",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7232 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| 0);
7233 if (SWIG_arg_fail(1)) SWIG_fail
;
7236 arg2
= (double)(SWIG_As_double(obj1
));
7237 if (SWIG_arg_fail(2)) SWIG_fail
;
7242 arg3
= (double)(SWIG_As_double(obj2
));
7243 if (SWIG_arg_fail(3)) SWIG_fail
;
7247 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7248 wxPoint2D_Set(arg1
,arg2
,arg3
);
7250 wxPyEndAllowThreads(__tstate
);
7251 if (PyErr_Occurred()) SWIG_fail
;
7253 Py_INCREF(Py_None
); resultobj
= Py_None
;
7260 static PyObject
*_wrap_Point2D_Get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7261 PyObject
*resultobj
;
7262 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
7264 PyObject
* obj0
= 0 ;
7266 (char *) "self", NULL
7269 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D_Get",kwnames
,&obj0
)) goto fail
;
7270 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| 0);
7271 if (SWIG_arg_fail(1)) SWIG_fail
;
7273 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7274 result
= (PyObject
*)wxPoint2D_Get(arg1
);
7276 wxPyEndAllowThreads(__tstate
);
7277 if (PyErr_Occurred()) SWIG_fail
;
7286 static PyObject
* Point2D_swigregister(PyObject
*, PyObject
*args
) {
7288 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7289 SWIG_TypeClientData(SWIGTYPE_p_wxPoint2D
, obj
);
7291 return Py_BuildValue((char *)"");
7293 static int _wrap_DefaultPosition_set(PyObject
*) {
7294 PyErr_SetString(PyExc_TypeError
,"Variable DefaultPosition is read-only.");
7299 static PyObject
*_wrap_DefaultPosition_get(void) {
7302 pyobj
= SWIG_NewPointerObj((void *)(&wxDefaultPosition
), SWIGTYPE_p_wxPoint
, 0);
7307 static int _wrap_DefaultSize_set(PyObject
*) {
7308 PyErr_SetString(PyExc_TypeError
,"Variable DefaultSize is read-only.");
7313 static PyObject
*_wrap_DefaultSize_get(void) {
7316 pyobj
= SWIG_NewPointerObj((void *)(&wxDefaultSize
), SWIGTYPE_p_wxSize
, 0);
7321 static PyObject
*_wrap_new_InputStream(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7322 PyObject
*resultobj
;
7323 PyObject
*arg1
= (PyObject
*) 0 ;
7324 wxPyInputStream
*result
;
7325 PyObject
* obj0
= 0 ;
7330 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_InputStream",kwnames
,&obj0
)) goto fail
;
7333 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7334 result
= (wxPyInputStream
*)new_wxPyInputStream(arg1
);
7336 wxPyEndAllowThreads(__tstate
);
7337 if (PyErr_Occurred()) SWIG_fail
;
7339 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyInputStream
, 1);
7346 static PyObject
*_wrap_delete_InputStream(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7347 PyObject
*resultobj
;
7348 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
7349 PyObject
* obj0
= 0 ;
7351 (char *) "self", NULL
7354 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_InputStream",kwnames
,&obj0
)) goto fail
;
7355 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyInputStream
, SWIG_POINTER_EXCEPTION
| 0);
7356 if (SWIG_arg_fail(1)) SWIG_fail
;
7358 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7361 wxPyEndAllowThreads(__tstate
);
7362 if (PyErr_Occurred()) SWIG_fail
;
7364 Py_INCREF(Py_None
); resultobj
= Py_None
;
7371 static PyObject
*_wrap_InputStream_close(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7372 PyObject
*resultobj
;
7373 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
7374 PyObject
* obj0
= 0 ;
7376 (char *) "self", NULL
7379 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_close",kwnames
,&obj0
)) goto fail
;
7380 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyInputStream
, SWIG_POINTER_EXCEPTION
| 0);
7381 if (SWIG_arg_fail(1)) SWIG_fail
;
7383 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7386 wxPyEndAllowThreads(__tstate
);
7387 if (PyErr_Occurred()) SWIG_fail
;
7389 Py_INCREF(Py_None
); resultobj
= Py_None
;
7396 static PyObject
*_wrap_InputStream_flush(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7397 PyObject
*resultobj
;
7398 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
7399 PyObject
* obj0
= 0 ;
7401 (char *) "self", NULL
7404 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_flush",kwnames
,&obj0
)) goto fail
;
7405 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyInputStream
, SWIG_POINTER_EXCEPTION
| 0);
7406 if (SWIG_arg_fail(1)) SWIG_fail
;
7408 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7411 wxPyEndAllowThreads(__tstate
);
7412 if (PyErr_Occurred()) SWIG_fail
;
7414 Py_INCREF(Py_None
); resultobj
= Py_None
;
7421 static PyObject
*_wrap_InputStream_eof(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7422 PyObject
*resultobj
;
7423 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
7425 PyObject
* obj0
= 0 ;
7427 (char *) "self", NULL
7430 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_eof",kwnames
,&obj0
)) goto fail
;
7431 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyInputStream
, SWIG_POINTER_EXCEPTION
| 0);
7432 if (SWIG_arg_fail(1)) SWIG_fail
;
7434 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7435 result
= (bool)(arg1
)->eof();
7437 wxPyEndAllowThreads(__tstate
);
7438 if (PyErr_Occurred()) SWIG_fail
;
7441 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7449 static PyObject
*_wrap_InputStream_read(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7450 PyObject
*resultobj
;
7451 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
7452 int arg2
= (int) -1 ;
7454 PyObject
* obj0
= 0 ;
7455 PyObject
* obj1
= 0 ;
7457 (char *) "self",(char *) "size", NULL
7460 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:InputStream_read",kwnames
,&obj0
,&obj1
)) goto fail
;
7461 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyInputStream
, SWIG_POINTER_EXCEPTION
| 0);
7462 if (SWIG_arg_fail(1)) SWIG_fail
;
7465 arg2
= (int)(SWIG_As_int(obj1
));
7466 if (SWIG_arg_fail(2)) SWIG_fail
;
7470 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7471 result
= (PyObject
*)(arg1
)->read(arg2
);
7473 wxPyEndAllowThreads(__tstate
);
7474 if (PyErr_Occurred()) SWIG_fail
;
7483 static PyObject
*_wrap_InputStream_readline(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7484 PyObject
*resultobj
;
7485 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
7486 int arg2
= (int) -1 ;
7488 PyObject
* obj0
= 0 ;
7489 PyObject
* obj1
= 0 ;
7491 (char *) "self",(char *) "size", NULL
7494 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:InputStream_readline",kwnames
,&obj0
,&obj1
)) goto fail
;
7495 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyInputStream
, SWIG_POINTER_EXCEPTION
| 0);
7496 if (SWIG_arg_fail(1)) SWIG_fail
;
7499 arg2
= (int)(SWIG_As_int(obj1
));
7500 if (SWIG_arg_fail(2)) SWIG_fail
;
7504 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7505 result
= (PyObject
*)(arg1
)->readline(arg2
);
7507 wxPyEndAllowThreads(__tstate
);
7508 if (PyErr_Occurred()) SWIG_fail
;
7517 static PyObject
*_wrap_InputStream_readlines(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7518 PyObject
*resultobj
;
7519 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
7520 int arg2
= (int) -1 ;
7522 PyObject
* obj0
= 0 ;
7523 PyObject
* obj1
= 0 ;
7525 (char *) "self",(char *) "sizehint", NULL
7528 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:InputStream_readlines",kwnames
,&obj0
,&obj1
)) goto fail
;
7529 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyInputStream
, SWIG_POINTER_EXCEPTION
| 0);
7530 if (SWIG_arg_fail(1)) SWIG_fail
;
7533 arg2
= (int)(SWIG_As_int(obj1
));
7534 if (SWIG_arg_fail(2)) SWIG_fail
;
7538 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7539 result
= (PyObject
*)(arg1
)->readlines(arg2
);
7541 wxPyEndAllowThreads(__tstate
);
7542 if (PyErr_Occurred()) SWIG_fail
;
7551 static PyObject
*_wrap_InputStream_seek(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7552 PyObject
*resultobj
;
7553 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
7555 int arg3
= (int) 0 ;
7556 PyObject
* obj0
= 0 ;
7557 PyObject
* obj1
= 0 ;
7558 PyObject
* obj2
= 0 ;
7560 (char *) "self",(char *) "offset",(char *) "whence", NULL
7563 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:InputStream_seek",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7564 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyInputStream
, SWIG_POINTER_EXCEPTION
| 0);
7565 if (SWIG_arg_fail(1)) SWIG_fail
;
7567 arg2
= (int)(SWIG_As_int(obj1
));
7568 if (SWIG_arg_fail(2)) SWIG_fail
;
7572 arg3
= (int)(SWIG_As_int(obj2
));
7573 if (SWIG_arg_fail(3)) SWIG_fail
;
7577 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7578 (arg1
)->seek(arg2
,arg3
);
7580 wxPyEndAllowThreads(__tstate
);
7581 if (PyErr_Occurred()) SWIG_fail
;
7583 Py_INCREF(Py_None
); resultobj
= Py_None
;
7590 static PyObject
*_wrap_InputStream_tell(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7591 PyObject
*resultobj
;
7592 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
7594 PyObject
* obj0
= 0 ;
7596 (char *) "self", NULL
7599 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_tell",kwnames
,&obj0
)) goto fail
;
7600 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyInputStream
, SWIG_POINTER_EXCEPTION
| 0);
7601 if (SWIG_arg_fail(1)) SWIG_fail
;
7603 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7604 result
= (int)(arg1
)->tell();
7606 wxPyEndAllowThreads(__tstate
);
7607 if (PyErr_Occurred()) SWIG_fail
;
7610 resultobj
= SWIG_From_int((int)(result
));
7618 static PyObject
*_wrap_InputStream_Peek(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7619 PyObject
*resultobj
;
7620 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
7622 PyObject
* obj0
= 0 ;
7624 (char *) "self", NULL
7627 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_Peek",kwnames
,&obj0
)) goto fail
;
7628 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyInputStream
, SWIG_POINTER_EXCEPTION
| 0);
7629 if (SWIG_arg_fail(1)) SWIG_fail
;
7631 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7632 result
= (char)(arg1
)->Peek();
7634 wxPyEndAllowThreads(__tstate
);
7635 if (PyErr_Occurred()) SWIG_fail
;
7638 resultobj
= SWIG_From_char((char)(result
));
7646 static PyObject
*_wrap_InputStream_GetC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7647 PyObject
*resultobj
;
7648 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
7650 PyObject
* obj0
= 0 ;
7652 (char *) "self", NULL
7655 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_GetC",kwnames
,&obj0
)) goto fail
;
7656 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyInputStream
, SWIG_POINTER_EXCEPTION
| 0);
7657 if (SWIG_arg_fail(1)) SWIG_fail
;
7659 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7660 result
= (char)(arg1
)->GetC();
7662 wxPyEndAllowThreads(__tstate
);
7663 if (PyErr_Occurred()) SWIG_fail
;
7666 resultobj
= SWIG_From_char((char)(result
));
7674 static PyObject
*_wrap_InputStream_LastRead(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7675 PyObject
*resultobj
;
7676 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
7678 PyObject
* obj0
= 0 ;
7680 (char *) "self", NULL
7683 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_LastRead",kwnames
,&obj0
)) goto fail
;
7684 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyInputStream
, SWIG_POINTER_EXCEPTION
| 0);
7685 if (SWIG_arg_fail(1)) SWIG_fail
;
7687 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7688 result
= (size_t)(arg1
)->LastRead();
7690 wxPyEndAllowThreads(__tstate
);
7691 if (PyErr_Occurred()) SWIG_fail
;
7694 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
7702 static PyObject
*_wrap_InputStream_CanRead(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7703 PyObject
*resultobj
;
7704 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
7706 PyObject
* obj0
= 0 ;
7708 (char *) "self", NULL
7711 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_CanRead",kwnames
,&obj0
)) goto fail
;
7712 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyInputStream
, SWIG_POINTER_EXCEPTION
| 0);
7713 if (SWIG_arg_fail(1)) SWIG_fail
;
7715 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7716 result
= (bool)(arg1
)->CanRead();
7718 wxPyEndAllowThreads(__tstate
);
7719 if (PyErr_Occurred()) SWIG_fail
;
7722 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7730 static PyObject
*_wrap_InputStream_Eof(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7731 PyObject
*resultobj
;
7732 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
7734 PyObject
* obj0
= 0 ;
7736 (char *) "self", NULL
7739 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_Eof",kwnames
,&obj0
)) goto fail
;
7740 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyInputStream
, SWIG_POINTER_EXCEPTION
| 0);
7741 if (SWIG_arg_fail(1)) SWIG_fail
;
7743 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7744 result
= (bool)(arg1
)->Eof();
7746 wxPyEndAllowThreads(__tstate
);
7747 if (PyErr_Occurred()) SWIG_fail
;
7750 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7758 static PyObject
*_wrap_InputStream_Ungetch(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7759 PyObject
*resultobj
;
7760 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
7763 PyObject
* obj0
= 0 ;
7764 PyObject
* obj1
= 0 ;
7766 (char *) "self",(char *) "c", NULL
7769 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:InputStream_Ungetch",kwnames
,&obj0
,&obj1
)) goto fail
;
7770 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyInputStream
, SWIG_POINTER_EXCEPTION
| 0);
7771 if (SWIG_arg_fail(1)) SWIG_fail
;
7773 arg2
= (char)(SWIG_As_char(obj1
));
7774 if (SWIG_arg_fail(2)) SWIG_fail
;
7777 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7778 result
= (bool)(arg1
)->Ungetch(arg2
);
7780 wxPyEndAllowThreads(__tstate
);
7781 if (PyErr_Occurred()) SWIG_fail
;
7784 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7792 static PyObject
*_wrap_InputStream_SeekI(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7793 PyObject
*resultobj
;
7794 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
7796 wxSeekMode arg3
= (wxSeekMode
) wxFromStart
;
7798 PyObject
* obj0
= 0 ;
7799 PyObject
* obj1
= 0 ;
7800 PyObject
* obj2
= 0 ;
7802 (char *) "self",(char *) "pos",(char *) "mode", NULL
7805 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:InputStream_SeekI",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7806 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyInputStream
, SWIG_POINTER_EXCEPTION
| 0);
7807 if (SWIG_arg_fail(1)) SWIG_fail
;
7809 arg2
= (long)(SWIG_As_long(obj1
));
7810 if (SWIG_arg_fail(2)) SWIG_fail
;
7814 arg3
= (wxSeekMode
)(SWIG_As_int(obj2
));
7815 if (SWIG_arg_fail(3)) SWIG_fail
;
7819 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7820 result
= (long)(arg1
)->SeekI(arg2
,(wxSeekMode
)arg3
);
7822 wxPyEndAllowThreads(__tstate
);
7823 if (PyErr_Occurred()) SWIG_fail
;
7826 resultobj
= SWIG_From_long((long)(result
));
7834 static PyObject
*_wrap_InputStream_TellI(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7835 PyObject
*resultobj
;
7836 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
7838 PyObject
* obj0
= 0 ;
7840 (char *) "self", NULL
7843 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_TellI",kwnames
,&obj0
)) goto fail
;
7844 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyInputStream
, SWIG_POINTER_EXCEPTION
| 0);
7845 if (SWIG_arg_fail(1)) SWIG_fail
;
7847 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7848 result
= (long)(arg1
)->TellI();
7850 wxPyEndAllowThreads(__tstate
);
7851 if (PyErr_Occurred()) SWIG_fail
;
7854 resultobj
= SWIG_From_long((long)(result
));
7862 static PyObject
* InputStream_swigregister(PyObject
*, PyObject
*args
) {
7864 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7865 SWIG_TypeClientData(SWIGTYPE_p_wxPyInputStream
, obj
);
7867 return Py_BuildValue((char *)"");
7869 static PyObject
*_wrap_OutputStream_write(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7870 PyObject
*resultobj
;
7871 wxOutputStream
*arg1
= (wxOutputStream
*) 0 ;
7872 PyObject
*arg2
= (PyObject
*) 0 ;
7873 PyObject
* obj0
= 0 ;
7874 PyObject
* obj1
= 0 ;
7876 (char *) "self",(char *) "obj", NULL
7879 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:OutputStream_write",kwnames
,&obj0
,&obj1
)) goto fail
;
7880 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxOutputStream
, SWIG_POINTER_EXCEPTION
| 0);
7881 if (SWIG_arg_fail(1)) SWIG_fail
;
7884 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7885 wxOutputStream_write(arg1
,arg2
);
7887 wxPyEndAllowThreads(__tstate
);
7888 if (PyErr_Occurred()) SWIG_fail
;
7890 Py_INCREF(Py_None
); resultobj
= Py_None
;
7897 static PyObject
* OutputStream_swigregister(PyObject
*, PyObject
*args
) {
7899 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7900 SWIG_TypeClientData(SWIGTYPE_p_wxOutputStream
, obj
);
7902 return Py_BuildValue((char *)"");
7904 static PyObject
*_wrap_new_FSFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7905 PyObject
*resultobj
;
7906 wxInputStream
*arg1
= (wxInputStream
*) 0 ;
7907 wxString
*arg2
= 0 ;
7908 wxString
*arg3
= 0 ;
7909 wxString
*arg4
= 0 ;
7912 wxPyInputStream
*temp1
;
7914 bool temp2
= false ;
7915 bool temp3
= false ;
7916 bool temp4
= false ;
7917 PyObject
* obj0
= 0 ;
7918 PyObject
* obj1
= 0 ;
7919 PyObject
* obj2
= 0 ;
7920 PyObject
* obj3
= 0 ;
7921 PyObject
* obj4
= 0 ;
7923 (char *) "stream",(char *) "loc",(char *) "mimetype",(char *) "anchor",(char *) "modif", NULL
7926 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:new_FSFile",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
7928 if (wxPyConvertSwigPtr(obj0
, (void **)&temp1
, wxT("wxPyInputStream"))) {
7929 arg1
= temp1
->m_wxis
;
7932 PyErr_Clear(); // clear the failure of the wxPyConvert above
7933 arg1
= wxPyCBInputStream_create(obj0
, false);
7935 PyErr_SetString(PyExc_TypeError
, "Expected wxInputStream or Python file-like object.");
7942 arg2
= wxString_in_helper(obj1
);
7943 if (arg2
== NULL
) SWIG_fail
;
7947 arg3
= wxString_in_helper(obj2
);
7948 if (arg3
== NULL
) SWIG_fail
;
7952 arg4
= wxString_in_helper(obj3
);
7953 if (arg4
== NULL
) SWIG_fail
;
7958 SWIG_Python_ConvertPtr(obj4
, (void **)&argp
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
);
7959 if (SWIG_arg_fail(5)) SWIG_fail
;
7961 SWIG_null_ref("wxDateTime");
7963 if (SWIG_arg_fail(5)) SWIG_fail
;
7967 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7968 result
= (wxFSFile
*)new wxFSFile(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
);
7970 wxPyEndAllowThreads(__tstate
);
7971 if (PyErr_Occurred()) SWIG_fail
;
7974 resultobj
= wxPyMake_wxObject(result
, 1);
8014 static PyObject
*_wrap_delete_FSFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8015 PyObject
*resultobj
;
8016 wxFSFile
*arg1
= (wxFSFile
*) 0 ;
8017 PyObject
* obj0
= 0 ;
8019 (char *) "self", NULL
8022 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FSFile",kwnames
,&obj0
)) goto fail
;
8023 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFSFile
, SWIG_POINTER_EXCEPTION
| 0);
8024 if (SWIG_arg_fail(1)) SWIG_fail
;
8026 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8029 wxPyEndAllowThreads(__tstate
);
8030 if (PyErr_Occurred()) SWIG_fail
;
8032 Py_INCREF(Py_None
); resultobj
= Py_None
;
8039 static PyObject
*_wrap_FSFile_GetStream(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8040 PyObject
*resultobj
;
8041 wxFSFile
*arg1
= (wxFSFile
*) 0 ;
8042 wxInputStream
*result
;
8043 PyObject
* obj0
= 0 ;
8045 (char *) "self", NULL
8048 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FSFile_GetStream",kwnames
,&obj0
)) goto fail
;
8049 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFSFile
, SWIG_POINTER_EXCEPTION
| 0);
8050 if (SWIG_arg_fail(1)) SWIG_fail
;
8052 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8053 result
= (wxInputStream
*)(arg1
)->GetStream();
8055 wxPyEndAllowThreads(__tstate
);
8056 if (PyErr_Occurred()) SWIG_fail
;
8059 wxPyInputStream
* _ptr
= NULL
;
8062 _ptr
= new wxPyInputStream(result
);
8064 resultobj
= wxPyConstructObject(_ptr
, wxT("wxPyInputStream"), 0);
8072 static PyObject
*_wrap_FSFile_GetMimeType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8073 PyObject
*resultobj
;
8074 wxFSFile
*arg1
= (wxFSFile
*) 0 ;
8076 PyObject
* obj0
= 0 ;
8078 (char *) "self", NULL
8081 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FSFile_GetMimeType",kwnames
,&obj0
)) goto fail
;
8082 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFSFile
, SWIG_POINTER_EXCEPTION
| 0);
8083 if (SWIG_arg_fail(1)) SWIG_fail
;
8085 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8087 wxString
const &_result_ref
= (arg1
)->GetMimeType();
8088 result
= (wxString
*) &_result_ref
;
8091 wxPyEndAllowThreads(__tstate
);
8092 if (PyErr_Occurred()) SWIG_fail
;
8096 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
8098 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
8107 static PyObject
*_wrap_FSFile_GetLocation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8108 PyObject
*resultobj
;
8109 wxFSFile
*arg1
= (wxFSFile
*) 0 ;
8111 PyObject
* obj0
= 0 ;
8113 (char *) "self", NULL
8116 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FSFile_GetLocation",kwnames
,&obj0
)) goto fail
;
8117 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFSFile
, SWIG_POINTER_EXCEPTION
| 0);
8118 if (SWIG_arg_fail(1)) SWIG_fail
;
8120 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8122 wxString
const &_result_ref
= (arg1
)->GetLocation();
8123 result
= (wxString
*) &_result_ref
;
8126 wxPyEndAllowThreads(__tstate
);
8127 if (PyErr_Occurred()) SWIG_fail
;
8131 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
8133 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
8142 static PyObject
*_wrap_FSFile_GetAnchor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8143 PyObject
*resultobj
;
8144 wxFSFile
*arg1
= (wxFSFile
*) 0 ;
8146 PyObject
* obj0
= 0 ;
8148 (char *) "self", NULL
8151 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FSFile_GetAnchor",kwnames
,&obj0
)) goto fail
;
8152 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFSFile
, SWIG_POINTER_EXCEPTION
| 0);
8153 if (SWIG_arg_fail(1)) SWIG_fail
;
8155 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8157 wxString
const &_result_ref
= (arg1
)->GetAnchor();
8158 result
= (wxString
*) &_result_ref
;
8161 wxPyEndAllowThreads(__tstate
);
8162 if (PyErr_Occurred()) SWIG_fail
;
8166 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
8168 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
8177 static PyObject
*_wrap_FSFile_GetModificationTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8178 PyObject
*resultobj
;
8179 wxFSFile
*arg1
= (wxFSFile
*) 0 ;
8181 PyObject
* obj0
= 0 ;
8183 (char *) "self", NULL
8186 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FSFile_GetModificationTime",kwnames
,&obj0
)) goto fail
;
8187 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFSFile
, SWIG_POINTER_EXCEPTION
| 0);
8188 if (SWIG_arg_fail(1)) SWIG_fail
;
8190 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8191 result
= (arg1
)->GetModificationTime();
8193 wxPyEndAllowThreads(__tstate
);
8194 if (PyErr_Occurred()) SWIG_fail
;
8197 wxDateTime
* resultptr
;
8198 resultptr
= new wxDateTime((wxDateTime
&)(result
));
8199 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
8207 static PyObject
* FSFile_swigregister(PyObject
*, PyObject
*args
) {
8209 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8210 SWIG_TypeClientData(SWIGTYPE_p_wxFSFile
, obj
);
8212 return Py_BuildValue((char *)"");
8214 static PyObject
* CPPFileSystemHandler_swigregister(PyObject
*, PyObject
*args
) {
8216 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8217 SWIG_TypeClientData(SWIGTYPE_p_wxFileSystemHandler
, obj
);
8219 return Py_BuildValue((char *)"");
8221 static PyObject
*_wrap_new_FileSystemHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8222 PyObject
*resultobj
;
8223 wxPyFileSystemHandler
*result
;
8228 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_FileSystemHandler",kwnames
)) goto fail
;
8230 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8231 result
= (wxPyFileSystemHandler
*)new wxPyFileSystemHandler();
8233 wxPyEndAllowThreads(__tstate
);
8234 if (PyErr_Occurred()) SWIG_fail
;
8236 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyFileSystemHandler
, 1);
8243 static PyObject
*_wrap_FileSystemHandler__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8244 PyObject
*resultobj
;
8245 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
8246 PyObject
*arg2
= (PyObject
*) 0 ;
8247 PyObject
*arg3
= (PyObject
*) 0 ;
8248 PyObject
* obj0
= 0 ;
8249 PyObject
* obj1
= 0 ;
8250 PyObject
* obj2
= 0 ;
8252 (char *) "self",(char *) "self",(char *) "_class", NULL
8255 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:FileSystemHandler__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8256 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyFileSystemHandler
, SWIG_POINTER_EXCEPTION
| 0);
8257 if (SWIG_arg_fail(1)) SWIG_fail
;
8261 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8262 (arg1
)->_setCallbackInfo(arg2
,arg3
);
8264 wxPyEndAllowThreads(__tstate
);
8265 if (PyErr_Occurred()) SWIG_fail
;
8267 Py_INCREF(Py_None
); resultobj
= Py_None
;
8274 static PyObject
*_wrap_FileSystemHandler_CanOpen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8275 PyObject
*resultobj
;
8276 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
8277 wxString
*arg2
= 0 ;
8279 bool temp2
= false ;
8280 PyObject
* obj0
= 0 ;
8281 PyObject
* obj1
= 0 ;
8283 (char *) "self",(char *) "location", NULL
8286 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystemHandler_CanOpen",kwnames
,&obj0
,&obj1
)) goto fail
;
8287 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyFileSystemHandler
, SWIG_POINTER_EXCEPTION
| 0);
8288 if (SWIG_arg_fail(1)) SWIG_fail
;
8290 arg2
= wxString_in_helper(obj1
);
8291 if (arg2
== NULL
) SWIG_fail
;
8295 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8296 result
= (bool)(arg1
)->CanOpen((wxString
const &)*arg2
);
8298 wxPyEndAllowThreads(__tstate
);
8299 if (PyErr_Occurred()) SWIG_fail
;
8302 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8318 static PyObject
*_wrap_FileSystemHandler_OpenFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8319 PyObject
*resultobj
;
8320 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
8321 wxFileSystem
*arg2
= 0 ;
8322 wxString
*arg3
= 0 ;
8324 bool temp3
= false ;
8325 PyObject
* obj0
= 0 ;
8326 PyObject
* obj1
= 0 ;
8327 PyObject
* obj2
= 0 ;
8329 (char *) "self",(char *) "fs",(char *) "location", NULL
8332 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:FileSystemHandler_OpenFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8333 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyFileSystemHandler
, SWIG_POINTER_EXCEPTION
| 0);
8334 if (SWIG_arg_fail(1)) SWIG_fail
;
8336 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFileSystem
, SWIG_POINTER_EXCEPTION
| 0);
8337 if (SWIG_arg_fail(2)) SWIG_fail
;
8339 SWIG_null_ref("wxFileSystem");
8341 if (SWIG_arg_fail(2)) SWIG_fail
;
8344 arg3
= wxString_in_helper(obj2
);
8345 if (arg3
== NULL
) SWIG_fail
;
8349 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8350 result
= (wxFSFile
*)(arg1
)->OpenFile(*arg2
,(wxString
const &)*arg3
);
8352 wxPyEndAllowThreads(__tstate
);
8353 if (PyErr_Occurred()) SWIG_fail
;
8356 resultobj
= wxPyMake_wxObject(result
, 1);
8372 static PyObject
*_wrap_FileSystemHandler_FindFirst(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8373 PyObject
*resultobj
;
8374 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
8375 wxString
*arg2
= 0 ;
8376 int arg3
= (int) 0 ;
8378 bool temp2
= false ;
8379 PyObject
* obj0
= 0 ;
8380 PyObject
* obj1
= 0 ;
8381 PyObject
* obj2
= 0 ;
8383 (char *) "self",(char *) "spec",(char *) "flags", NULL
8386 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileSystemHandler_FindFirst",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8387 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyFileSystemHandler
, SWIG_POINTER_EXCEPTION
| 0);
8388 if (SWIG_arg_fail(1)) SWIG_fail
;
8390 arg2
= wxString_in_helper(obj1
);
8391 if (arg2
== NULL
) SWIG_fail
;
8396 arg3
= (int)(SWIG_As_int(obj2
));
8397 if (SWIG_arg_fail(3)) SWIG_fail
;
8401 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8402 result
= (arg1
)->FindFirst((wxString
const &)*arg2
,arg3
);
8404 wxPyEndAllowThreads(__tstate
);
8405 if (PyErr_Occurred()) SWIG_fail
;
8409 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8411 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8428 static PyObject
*_wrap_FileSystemHandler_FindNext(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8429 PyObject
*resultobj
;
8430 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
8432 PyObject
* obj0
= 0 ;
8434 (char *) "self", NULL
8437 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileSystemHandler_FindNext",kwnames
,&obj0
)) goto fail
;
8438 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyFileSystemHandler
, SWIG_POINTER_EXCEPTION
| 0);
8439 if (SWIG_arg_fail(1)) SWIG_fail
;
8441 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8442 result
= (arg1
)->FindNext();
8444 wxPyEndAllowThreads(__tstate
);
8445 if (PyErr_Occurred()) SWIG_fail
;
8449 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8451 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8460 static PyObject
*_wrap_FileSystemHandler_GetProtocol(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8461 PyObject
*resultobj
;
8462 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
8463 wxString
*arg2
= 0 ;
8465 bool temp2
= false ;
8466 PyObject
* obj0
= 0 ;
8467 PyObject
* obj1
= 0 ;
8469 (char *) "self",(char *) "location", NULL
8472 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystemHandler_GetProtocol",kwnames
,&obj0
,&obj1
)) goto fail
;
8473 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyFileSystemHandler
, SWIG_POINTER_EXCEPTION
| 0);
8474 if (SWIG_arg_fail(1)) SWIG_fail
;
8476 arg2
= wxString_in_helper(obj1
);
8477 if (arg2
== NULL
) SWIG_fail
;
8481 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8482 result
= (arg1
)->GetProtocol((wxString
const &)*arg2
);
8484 wxPyEndAllowThreads(__tstate
);
8485 if (PyErr_Occurred()) SWIG_fail
;
8489 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8491 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8508 static PyObject
*_wrap_FileSystemHandler_GetLeftLocation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8509 PyObject
*resultobj
;
8510 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
8511 wxString
*arg2
= 0 ;
8513 bool temp2
= false ;
8514 PyObject
* obj0
= 0 ;
8515 PyObject
* obj1
= 0 ;
8517 (char *) "self",(char *) "location", NULL
8520 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystemHandler_GetLeftLocation",kwnames
,&obj0
,&obj1
)) goto fail
;
8521 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyFileSystemHandler
, SWIG_POINTER_EXCEPTION
| 0);
8522 if (SWIG_arg_fail(1)) SWIG_fail
;
8524 arg2
= wxString_in_helper(obj1
);
8525 if (arg2
== NULL
) SWIG_fail
;
8529 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8530 result
= (arg1
)->GetLeftLocation((wxString
const &)*arg2
);
8532 wxPyEndAllowThreads(__tstate
);
8533 if (PyErr_Occurred()) SWIG_fail
;
8537 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8539 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8556 static PyObject
*_wrap_FileSystemHandler_GetAnchor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8557 PyObject
*resultobj
;
8558 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
8559 wxString
*arg2
= 0 ;
8561 bool temp2
= false ;
8562 PyObject
* obj0
= 0 ;
8563 PyObject
* obj1
= 0 ;
8565 (char *) "self",(char *) "location", NULL
8568 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystemHandler_GetAnchor",kwnames
,&obj0
,&obj1
)) goto fail
;
8569 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyFileSystemHandler
, SWIG_POINTER_EXCEPTION
| 0);
8570 if (SWIG_arg_fail(1)) SWIG_fail
;
8572 arg2
= wxString_in_helper(obj1
);
8573 if (arg2
== NULL
) SWIG_fail
;
8577 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8578 result
= (arg1
)->GetAnchor((wxString
const &)*arg2
);
8580 wxPyEndAllowThreads(__tstate
);
8581 if (PyErr_Occurred()) SWIG_fail
;
8585 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8587 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8604 static PyObject
*_wrap_FileSystemHandler_GetRightLocation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8605 PyObject
*resultobj
;
8606 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
8607 wxString
*arg2
= 0 ;
8609 bool temp2
= false ;
8610 PyObject
* obj0
= 0 ;
8611 PyObject
* obj1
= 0 ;
8613 (char *) "self",(char *) "location", NULL
8616 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystemHandler_GetRightLocation",kwnames
,&obj0
,&obj1
)) goto fail
;
8617 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyFileSystemHandler
, SWIG_POINTER_EXCEPTION
| 0);
8618 if (SWIG_arg_fail(1)) SWIG_fail
;
8620 arg2
= wxString_in_helper(obj1
);
8621 if (arg2
== NULL
) SWIG_fail
;
8625 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8626 result
= (arg1
)->GetRightLocation((wxString
const &)*arg2
);
8628 wxPyEndAllowThreads(__tstate
);
8629 if (PyErr_Occurred()) SWIG_fail
;
8633 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8635 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8652 static PyObject
*_wrap_FileSystemHandler_GetMimeTypeFromExt(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8653 PyObject
*resultobj
;
8654 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
8655 wxString
*arg2
= 0 ;
8657 bool temp2
= false ;
8658 PyObject
* obj0
= 0 ;
8659 PyObject
* obj1
= 0 ;
8661 (char *) "self",(char *) "location", NULL
8664 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystemHandler_GetMimeTypeFromExt",kwnames
,&obj0
,&obj1
)) goto fail
;
8665 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyFileSystemHandler
, SWIG_POINTER_EXCEPTION
| 0);
8666 if (SWIG_arg_fail(1)) SWIG_fail
;
8668 arg2
= wxString_in_helper(obj1
);
8669 if (arg2
== NULL
) SWIG_fail
;
8673 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8674 result
= (arg1
)->GetMimeTypeFromExt((wxString
const &)*arg2
);
8676 wxPyEndAllowThreads(__tstate
);
8677 if (PyErr_Occurred()) SWIG_fail
;
8681 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8683 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8700 static PyObject
* FileSystemHandler_swigregister(PyObject
*, PyObject
*args
) {
8702 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8703 SWIG_TypeClientData(SWIGTYPE_p_wxPyFileSystemHandler
, obj
);
8705 return Py_BuildValue((char *)"");
8707 static PyObject
*_wrap_new_FileSystem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8708 PyObject
*resultobj
;
8709 wxFileSystem
*result
;
8714 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_FileSystem",kwnames
)) goto fail
;
8716 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8717 result
= (wxFileSystem
*)new wxFileSystem();
8719 wxPyEndAllowThreads(__tstate
);
8720 if (PyErr_Occurred()) SWIG_fail
;
8723 resultobj
= wxPyMake_wxObject(result
, 1);
8731 static PyObject
*_wrap_delete_FileSystem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8732 PyObject
*resultobj
;
8733 wxFileSystem
*arg1
= (wxFileSystem
*) 0 ;
8734 PyObject
* obj0
= 0 ;
8736 (char *) "self", NULL
8739 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FileSystem",kwnames
,&obj0
)) goto fail
;
8740 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileSystem
, SWIG_POINTER_EXCEPTION
| 0);
8741 if (SWIG_arg_fail(1)) SWIG_fail
;
8743 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8746 wxPyEndAllowThreads(__tstate
);
8747 if (PyErr_Occurred()) SWIG_fail
;
8749 Py_INCREF(Py_None
); resultobj
= Py_None
;
8756 static PyObject
*_wrap_FileSystem_ChangePathTo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8757 PyObject
*resultobj
;
8758 wxFileSystem
*arg1
= (wxFileSystem
*) 0 ;
8759 wxString
*arg2
= 0 ;
8760 bool arg3
= (bool) false ;
8761 bool temp2
= false ;
8762 PyObject
* obj0
= 0 ;
8763 PyObject
* obj1
= 0 ;
8764 PyObject
* obj2
= 0 ;
8766 (char *) "self",(char *) "location",(char *) "is_dir", NULL
8769 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileSystem_ChangePathTo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8770 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileSystem
, SWIG_POINTER_EXCEPTION
| 0);
8771 if (SWIG_arg_fail(1)) SWIG_fail
;
8773 arg2
= wxString_in_helper(obj1
);
8774 if (arg2
== NULL
) SWIG_fail
;
8779 arg3
= (bool)(SWIG_As_bool(obj2
));
8780 if (SWIG_arg_fail(3)) SWIG_fail
;
8784 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8785 (arg1
)->ChangePathTo((wxString
const &)*arg2
,arg3
);
8787 wxPyEndAllowThreads(__tstate
);
8788 if (PyErr_Occurred()) SWIG_fail
;
8790 Py_INCREF(Py_None
); resultobj
= Py_None
;
8805 static PyObject
*_wrap_FileSystem_GetPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8806 PyObject
*resultobj
;
8807 wxFileSystem
*arg1
= (wxFileSystem
*) 0 ;
8809 PyObject
* obj0
= 0 ;
8811 (char *) "self", NULL
8814 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileSystem_GetPath",kwnames
,&obj0
)) goto fail
;
8815 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileSystem
, SWIG_POINTER_EXCEPTION
| 0);
8816 if (SWIG_arg_fail(1)) SWIG_fail
;
8818 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8819 result
= (arg1
)->GetPath();
8821 wxPyEndAllowThreads(__tstate
);
8822 if (PyErr_Occurred()) SWIG_fail
;
8826 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8828 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8837 static PyObject
*_wrap_FileSystem_OpenFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8838 PyObject
*resultobj
;
8839 wxFileSystem
*arg1
= (wxFileSystem
*) 0 ;
8840 wxString
*arg2
= 0 ;
8842 bool temp2
= false ;
8843 PyObject
* obj0
= 0 ;
8844 PyObject
* obj1
= 0 ;
8846 (char *) "self",(char *) "location", NULL
8849 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystem_OpenFile",kwnames
,&obj0
,&obj1
)) goto fail
;
8850 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileSystem
, SWIG_POINTER_EXCEPTION
| 0);
8851 if (SWIG_arg_fail(1)) SWIG_fail
;
8853 arg2
= wxString_in_helper(obj1
);
8854 if (arg2
== NULL
) SWIG_fail
;
8858 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8859 result
= (wxFSFile
*)(arg1
)->OpenFile((wxString
const &)*arg2
);
8861 wxPyEndAllowThreads(__tstate
);
8862 if (PyErr_Occurred()) SWIG_fail
;
8865 resultobj
= wxPyMake_wxObject(result
, 1);
8881 static PyObject
*_wrap_FileSystem_FindFirst(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8882 PyObject
*resultobj
;
8883 wxFileSystem
*arg1
= (wxFileSystem
*) 0 ;
8884 wxString
*arg2
= 0 ;
8885 int arg3
= (int) 0 ;
8887 bool temp2
= false ;
8888 PyObject
* obj0
= 0 ;
8889 PyObject
* obj1
= 0 ;
8890 PyObject
* obj2
= 0 ;
8892 (char *) "self",(char *) "spec",(char *) "flags", NULL
8895 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileSystem_FindFirst",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8896 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileSystem
, SWIG_POINTER_EXCEPTION
| 0);
8897 if (SWIG_arg_fail(1)) SWIG_fail
;
8899 arg2
= wxString_in_helper(obj1
);
8900 if (arg2
== NULL
) SWIG_fail
;
8905 arg3
= (int)(SWIG_As_int(obj2
));
8906 if (SWIG_arg_fail(3)) SWIG_fail
;
8910 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8911 result
= (arg1
)->FindFirst((wxString
const &)*arg2
,arg3
);
8913 wxPyEndAllowThreads(__tstate
);
8914 if (PyErr_Occurred()) SWIG_fail
;
8918 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8920 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8937 static PyObject
*_wrap_FileSystem_FindNext(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8938 PyObject
*resultobj
;
8939 wxFileSystem
*arg1
= (wxFileSystem
*) 0 ;
8941 PyObject
* obj0
= 0 ;
8943 (char *) "self", NULL
8946 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileSystem_FindNext",kwnames
,&obj0
)) goto fail
;
8947 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileSystem
, SWIG_POINTER_EXCEPTION
| 0);
8948 if (SWIG_arg_fail(1)) SWIG_fail
;
8950 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8951 result
= (arg1
)->FindNext();
8953 wxPyEndAllowThreads(__tstate
);
8954 if (PyErr_Occurred()) SWIG_fail
;
8958 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8960 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8969 static PyObject
*_wrap_FileSystem_AddHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8970 PyObject
*resultobj
;
8971 wxFileSystemHandler
*arg1
= (wxFileSystemHandler
*) 0 ;
8972 PyObject
* obj0
= 0 ;
8974 (char *) "handler", NULL
8977 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileSystem_AddHandler",kwnames
,&obj0
)) goto fail
;
8978 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileSystemHandler
, SWIG_POINTER_EXCEPTION
| 0);
8979 if (SWIG_arg_fail(1)) SWIG_fail
;
8981 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8982 wxFileSystem::AddHandler(arg1
);
8984 wxPyEndAllowThreads(__tstate
);
8985 if (PyErr_Occurred()) SWIG_fail
;
8987 Py_INCREF(Py_None
); resultobj
= Py_None
;
8994 static PyObject
*_wrap_FileSystem_CleanUpHandlers(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8995 PyObject
*resultobj
;
9000 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":FileSystem_CleanUpHandlers",kwnames
)) goto fail
;
9002 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9003 wxFileSystem::CleanUpHandlers();
9005 wxPyEndAllowThreads(__tstate
);
9006 if (PyErr_Occurred()) SWIG_fail
;
9008 Py_INCREF(Py_None
); resultobj
= Py_None
;
9015 static PyObject
*_wrap_FileSystem_FileNameToURL(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9016 PyObject
*resultobj
;
9017 wxString
*arg1
= 0 ;
9019 bool temp1
= false ;
9020 PyObject
* obj0
= 0 ;
9022 (char *) "filename", NULL
9025 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileSystem_FileNameToURL",kwnames
,&obj0
)) goto fail
;
9027 arg1
= wxString_in_helper(obj0
);
9028 if (arg1
== NULL
) SWIG_fail
;
9032 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9033 result
= wxFileSystem::FileNameToURL((wxString
const &)*arg1
);
9035 wxPyEndAllowThreads(__tstate
);
9036 if (PyErr_Occurred()) SWIG_fail
;
9040 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9042 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9059 static PyObject
*_wrap_FileSystem_URLToFileName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9060 PyObject
*resultobj
;
9061 wxString
*arg1
= 0 ;
9063 bool temp1
= false ;
9064 PyObject
* obj0
= 0 ;
9066 (char *) "url", NULL
9069 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileSystem_URLToFileName",kwnames
,&obj0
)) goto fail
;
9071 arg1
= wxString_in_helper(obj0
);
9072 if (arg1
== NULL
) SWIG_fail
;
9076 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9077 result
= FileSystem_URLToFileName((wxString
const &)*arg1
);
9079 wxPyEndAllowThreads(__tstate
);
9080 if (PyErr_Occurred()) SWIG_fail
;
9084 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9086 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9103 static PyObject
* FileSystem_swigregister(PyObject
*, PyObject
*args
) {
9105 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9106 SWIG_TypeClientData(SWIGTYPE_p_wxFileSystem
, obj
);
9108 return Py_BuildValue((char *)"");
9110 static PyObject
*_wrap_new_InternetFSHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9111 PyObject
*resultobj
;
9112 wxInternetFSHandler
*result
;
9117 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_InternetFSHandler",kwnames
)) goto fail
;
9119 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9120 result
= (wxInternetFSHandler
*)new wxInternetFSHandler();
9122 wxPyEndAllowThreads(__tstate
);
9123 if (PyErr_Occurred()) SWIG_fail
;
9125 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxInternetFSHandler
, 1);
9132 static PyObject
*_wrap_InternetFSHandler_CanOpen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9133 PyObject
*resultobj
;
9134 wxInternetFSHandler
*arg1
= (wxInternetFSHandler
*) 0 ;
9135 wxString
*arg2
= 0 ;
9137 bool temp2
= false ;
9138 PyObject
* obj0
= 0 ;
9139 PyObject
* obj1
= 0 ;
9141 (char *) "self",(char *) "location", NULL
9144 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:InternetFSHandler_CanOpen",kwnames
,&obj0
,&obj1
)) goto fail
;
9145 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxInternetFSHandler
, SWIG_POINTER_EXCEPTION
| 0);
9146 if (SWIG_arg_fail(1)) SWIG_fail
;
9148 arg2
= wxString_in_helper(obj1
);
9149 if (arg2
== NULL
) SWIG_fail
;
9153 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9154 result
= (bool)(arg1
)->CanOpen((wxString
const &)*arg2
);
9156 wxPyEndAllowThreads(__tstate
);
9157 if (PyErr_Occurred()) SWIG_fail
;
9160 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9176 static PyObject
*_wrap_InternetFSHandler_OpenFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9177 PyObject
*resultobj
;
9178 wxInternetFSHandler
*arg1
= (wxInternetFSHandler
*) 0 ;
9179 wxFileSystem
*arg2
= 0 ;
9180 wxString
*arg3
= 0 ;
9182 bool temp3
= false ;
9183 PyObject
* obj0
= 0 ;
9184 PyObject
* obj1
= 0 ;
9185 PyObject
* obj2
= 0 ;
9187 (char *) "self",(char *) "fs",(char *) "location", NULL
9190 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:InternetFSHandler_OpenFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9191 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxInternetFSHandler
, SWIG_POINTER_EXCEPTION
| 0);
9192 if (SWIG_arg_fail(1)) SWIG_fail
;
9194 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFileSystem
, SWIG_POINTER_EXCEPTION
| 0);
9195 if (SWIG_arg_fail(2)) SWIG_fail
;
9197 SWIG_null_ref("wxFileSystem");
9199 if (SWIG_arg_fail(2)) SWIG_fail
;
9202 arg3
= wxString_in_helper(obj2
);
9203 if (arg3
== NULL
) SWIG_fail
;
9207 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9208 result
= (wxFSFile
*)(arg1
)->OpenFile(*arg2
,(wxString
const &)*arg3
);
9210 wxPyEndAllowThreads(__tstate
);
9211 if (PyErr_Occurred()) SWIG_fail
;
9214 resultobj
= wxPyMake_wxObject(result
, 1);
9230 static PyObject
* InternetFSHandler_swigregister(PyObject
*, PyObject
*args
) {
9232 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9233 SWIG_TypeClientData(SWIGTYPE_p_wxInternetFSHandler
, obj
);
9235 return Py_BuildValue((char *)"");
9237 static PyObject
*_wrap_new_ZipFSHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9238 PyObject
*resultobj
;
9239 wxZipFSHandler
*result
;
9244 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ZipFSHandler",kwnames
)) goto fail
;
9246 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9247 result
= (wxZipFSHandler
*)new wxZipFSHandler();
9249 wxPyEndAllowThreads(__tstate
);
9250 if (PyErr_Occurred()) SWIG_fail
;
9252 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxZipFSHandler
, 1);
9259 static PyObject
*_wrap_ZipFSHandler_CanOpen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9260 PyObject
*resultobj
;
9261 wxZipFSHandler
*arg1
= (wxZipFSHandler
*) 0 ;
9262 wxString
*arg2
= 0 ;
9264 bool temp2
= false ;
9265 PyObject
* obj0
= 0 ;
9266 PyObject
* obj1
= 0 ;
9268 (char *) "self",(char *) "location", NULL
9271 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ZipFSHandler_CanOpen",kwnames
,&obj0
,&obj1
)) goto fail
;
9272 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxZipFSHandler
, SWIG_POINTER_EXCEPTION
| 0);
9273 if (SWIG_arg_fail(1)) SWIG_fail
;
9275 arg2
= wxString_in_helper(obj1
);
9276 if (arg2
== NULL
) SWIG_fail
;
9280 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9281 result
= (bool)(arg1
)->CanOpen((wxString
const &)*arg2
);
9283 wxPyEndAllowThreads(__tstate
);
9284 if (PyErr_Occurred()) SWIG_fail
;
9287 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9303 static PyObject
*_wrap_ZipFSHandler_OpenFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9304 PyObject
*resultobj
;
9305 wxZipFSHandler
*arg1
= (wxZipFSHandler
*) 0 ;
9306 wxFileSystem
*arg2
= 0 ;
9307 wxString
*arg3
= 0 ;
9309 bool temp3
= false ;
9310 PyObject
* obj0
= 0 ;
9311 PyObject
* obj1
= 0 ;
9312 PyObject
* obj2
= 0 ;
9314 (char *) "self",(char *) "fs",(char *) "location", NULL
9317 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ZipFSHandler_OpenFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9318 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxZipFSHandler
, SWIG_POINTER_EXCEPTION
| 0);
9319 if (SWIG_arg_fail(1)) SWIG_fail
;
9321 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFileSystem
, SWIG_POINTER_EXCEPTION
| 0);
9322 if (SWIG_arg_fail(2)) SWIG_fail
;
9324 SWIG_null_ref("wxFileSystem");
9326 if (SWIG_arg_fail(2)) SWIG_fail
;
9329 arg3
= wxString_in_helper(obj2
);
9330 if (arg3
== NULL
) SWIG_fail
;
9334 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9335 result
= (wxFSFile
*)(arg1
)->OpenFile(*arg2
,(wxString
const &)*arg3
);
9337 wxPyEndAllowThreads(__tstate
);
9338 if (PyErr_Occurred()) SWIG_fail
;
9341 resultobj
= wxPyMake_wxObject(result
, 1);
9357 static PyObject
*_wrap_ZipFSHandler_FindFirst(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9358 PyObject
*resultobj
;
9359 wxZipFSHandler
*arg1
= (wxZipFSHandler
*) 0 ;
9360 wxString
*arg2
= 0 ;
9361 int arg3
= (int) 0 ;
9363 bool temp2
= false ;
9364 PyObject
* obj0
= 0 ;
9365 PyObject
* obj1
= 0 ;
9366 PyObject
* obj2
= 0 ;
9368 (char *) "self",(char *) "spec",(char *) "flags", NULL
9371 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ZipFSHandler_FindFirst",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9372 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxZipFSHandler
, SWIG_POINTER_EXCEPTION
| 0);
9373 if (SWIG_arg_fail(1)) SWIG_fail
;
9375 arg2
= wxString_in_helper(obj1
);
9376 if (arg2
== NULL
) SWIG_fail
;
9381 arg3
= (int)(SWIG_As_int(obj2
));
9382 if (SWIG_arg_fail(3)) SWIG_fail
;
9386 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9387 result
= (arg1
)->FindFirst((wxString
const &)*arg2
,arg3
);
9389 wxPyEndAllowThreads(__tstate
);
9390 if (PyErr_Occurred()) SWIG_fail
;
9394 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9396 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9413 static PyObject
*_wrap_ZipFSHandler_FindNext(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9414 PyObject
*resultobj
;
9415 wxZipFSHandler
*arg1
= (wxZipFSHandler
*) 0 ;
9417 PyObject
* obj0
= 0 ;
9419 (char *) "self", NULL
9422 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ZipFSHandler_FindNext",kwnames
,&obj0
)) goto fail
;
9423 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxZipFSHandler
, SWIG_POINTER_EXCEPTION
| 0);
9424 if (SWIG_arg_fail(1)) SWIG_fail
;
9426 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9427 result
= (arg1
)->FindNext();
9429 wxPyEndAllowThreads(__tstate
);
9430 if (PyErr_Occurred()) SWIG_fail
;
9434 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9436 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9445 static PyObject
* ZipFSHandler_swigregister(PyObject
*, PyObject
*args
) {
9447 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9448 SWIG_TypeClientData(SWIGTYPE_p_wxZipFSHandler
, obj
);
9450 return Py_BuildValue((char *)"");
9452 static PyObject
*_wrap___wxMemoryFSHandler_AddFile_wxImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9453 PyObject
*resultobj
;
9454 wxString
*arg1
= 0 ;
9457 bool temp1
= false ;
9458 PyObject
* obj0
= 0 ;
9459 PyObject
* obj1
= 0 ;
9460 PyObject
* obj2
= 0 ;
9462 (char *) "filename",(char *) "image",(char *) "type", NULL
9465 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:__wxMemoryFSHandler_AddFile_wxImage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9467 arg1
= wxString_in_helper(obj0
);
9468 if (arg1
== NULL
) SWIG_fail
;
9472 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
9473 if (SWIG_arg_fail(2)) SWIG_fail
;
9475 SWIG_null_ref("wxImage");
9477 if (SWIG_arg_fail(2)) SWIG_fail
;
9480 arg3
= (long)(SWIG_As_long(obj2
));
9481 if (SWIG_arg_fail(3)) SWIG_fail
;
9484 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9485 __wxMemoryFSHandler_AddFile_wxImage((wxString
const &)*arg1
,*arg2
,arg3
);
9487 wxPyEndAllowThreads(__tstate
);
9488 if (PyErr_Occurred()) SWIG_fail
;
9490 Py_INCREF(Py_None
); resultobj
= Py_None
;
9505 static PyObject
*_wrap___wxMemoryFSHandler_AddFile_wxBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9506 PyObject
*resultobj
;
9507 wxString
*arg1
= 0 ;
9508 wxBitmap
*arg2
= 0 ;
9510 bool temp1
= false ;
9511 PyObject
* obj0
= 0 ;
9512 PyObject
* obj1
= 0 ;
9513 PyObject
* obj2
= 0 ;
9515 (char *) "filename",(char *) "bitmap",(char *) "type", NULL
9518 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:__wxMemoryFSHandler_AddFile_wxBitmap",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9520 arg1
= wxString_in_helper(obj0
);
9521 if (arg1
== NULL
) SWIG_fail
;
9525 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
9526 if (SWIG_arg_fail(2)) SWIG_fail
;
9528 SWIG_null_ref("wxBitmap");
9530 if (SWIG_arg_fail(2)) SWIG_fail
;
9533 arg3
= (long)(SWIG_As_long(obj2
));
9534 if (SWIG_arg_fail(3)) SWIG_fail
;
9537 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9538 __wxMemoryFSHandler_AddFile_wxBitmap((wxString
const &)*arg1
,(wxBitmap
const &)*arg2
,arg3
);
9540 wxPyEndAllowThreads(__tstate
);
9541 if (PyErr_Occurred()) SWIG_fail
;
9543 Py_INCREF(Py_None
); resultobj
= Py_None
;
9558 static PyObject
*_wrap___wxMemoryFSHandler_AddFile_Data(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9559 PyObject
*resultobj
;
9560 wxString
*arg1
= 0 ;
9561 PyObject
*arg2
= (PyObject
*) 0 ;
9562 bool temp1
= false ;
9563 PyObject
* obj0
= 0 ;
9564 PyObject
* obj1
= 0 ;
9566 (char *) "filename",(char *) "data", NULL
9569 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:__wxMemoryFSHandler_AddFile_Data",kwnames
,&obj0
,&obj1
)) goto fail
;
9571 arg1
= wxString_in_helper(obj0
);
9572 if (arg1
== NULL
) SWIG_fail
;
9577 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9578 __wxMemoryFSHandler_AddFile_Data((wxString
const &)*arg1
,arg2
);
9580 wxPyEndAllowThreads(__tstate
);
9581 if (PyErr_Occurred()) SWIG_fail
;
9583 Py_INCREF(Py_None
); resultobj
= Py_None
;
9598 static PyObject
*_wrap_new_MemoryFSHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9599 PyObject
*resultobj
;
9600 wxMemoryFSHandler
*result
;
9605 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_MemoryFSHandler",kwnames
)) goto fail
;
9607 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9608 result
= (wxMemoryFSHandler
*)new wxMemoryFSHandler();
9610 wxPyEndAllowThreads(__tstate
);
9611 if (PyErr_Occurred()) SWIG_fail
;
9613 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMemoryFSHandler
, 1);
9620 static PyObject
*_wrap_MemoryFSHandler_RemoveFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9621 PyObject
*resultobj
;
9622 wxString
*arg1
= 0 ;
9623 bool temp1
= false ;
9624 PyObject
* obj0
= 0 ;
9626 (char *) "filename", NULL
9629 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MemoryFSHandler_RemoveFile",kwnames
,&obj0
)) goto fail
;
9631 arg1
= wxString_in_helper(obj0
);
9632 if (arg1
== NULL
) SWIG_fail
;
9636 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9637 wxMemoryFSHandler::RemoveFile((wxString
const &)*arg1
);
9639 wxPyEndAllowThreads(__tstate
);
9640 if (PyErr_Occurred()) SWIG_fail
;
9642 Py_INCREF(Py_None
); resultobj
= Py_None
;
9657 static PyObject
*_wrap_MemoryFSHandler_CanOpen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9658 PyObject
*resultobj
;
9659 wxMemoryFSHandler
*arg1
= (wxMemoryFSHandler
*) 0 ;
9660 wxString
*arg2
= 0 ;
9662 bool temp2
= false ;
9663 PyObject
* obj0
= 0 ;
9664 PyObject
* obj1
= 0 ;
9666 (char *) "self",(char *) "location", NULL
9669 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MemoryFSHandler_CanOpen",kwnames
,&obj0
,&obj1
)) goto fail
;
9670 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMemoryFSHandler
, SWIG_POINTER_EXCEPTION
| 0);
9671 if (SWIG_arg_fail(1)) SWIG_fail
;
9673 arg2
= wxString_in_helper(obj1
);
9674 if (arg2
== NULL
) SWIG_fail
;
9678 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9679 result
= (bool)(arg1
)->CanOpen((wxString
const &)*arg2
);
9681 wxPyEndAllowThreads(__tstate
);
9682 if (PyErr_Occurred()) SWIG_fail
;
9685 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9701 static PyObject
*_wrap_MemoryFSHandler_OpenFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9702 PyObject
*resultobj
;
9703 wxMemoryFSHandler
*arg1
= (wxMemoryFSHandler
*) 0 ;
9704 wxFileSystem
*arg2
= 0 ;
9705 wxString
*arg3
= 0 ;
9707 bool temp3
= false ;
9708 PyObject
* obj0
= 0 ;
9709 PyObject
* obj1
= 0 ;
9710 PyObject
* obj2
= 0 ;
9712 (char *) "self",(char *) "fs",(char *) "location", NULL
9715 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MemoryFSHandler_OpenFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9716 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMemoryFSHandler
, SWIG_POINTER_EXCEPTION
| 0);
9717 if (SWIG_arg_fail(1)) SWIG_fail
;
9719 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFileSystem
, SWIG_POINTER_EXCEPTION
| 0);
9720 if (SWIG_arg_fail(2)) SWIG_fail
;
9722 SWIG_null_ref("wxFileSystem");
9724 if (SWIG_arg_fail(2)) SWIG_fail
;
9727 arg3
= wxString_in_helper(obj2
);
9728 if (arg3
== NULL
) SWIG_fail
;
9732 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9733 result
= (wxFSFile
*)(arg1
)->OpenFile(*arg2
,(wxString
const &)*arg3
);
9735 wxPyEndAllowThreads(__tstate
);
9736 if (PyErr_Occurred()) SWIG_fail
;
9739 resultobj
= wxPyMake_wxObject(result
, 1);
9755 static PyObject
*_wrap_MemoryFSHandler_FindFirst(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9756 PyObject
*resultobj
;
9757 wxMemoryFSHandler
*arg1
= (wxMemoryFSHandler
*) 0 ;
9758 wxString
*arg2
= 0 ;
9759 int arg3
= (int) 0 ;
9761 bool temp2
= false ;
9762 PyObject
* obj0
= 0 ;
9763 PyObject
* obj1
= 0 ;
9764 PyObject
* obj2
= 0 ;
9766 (char *) "self",(char *) "spec",(char *) "flags", NULL
9769 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:MemoryFSHandler_FindFirst",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9770 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMemoryFSHandler
, SWIG_POINTER_EXCEPTION
| 0);
9771 if (SWIG_arg_fail(1)) SWIG_fail
;
9773 arg2
= wxString_in_helper(obj1
);
9774 if (arg2
== NULL
) SWIG_fail
;
9779 arg3
= (int)(SWIG_As_int(obj2
));
9780 if (SWIG_arg_fail(3)) SWIG_fail
;
9784 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9785 result
= (arg1
)->FindFirst((wxString
const &)*arg2
,arg3
);
9787 wxPyEndAllowThreads(__tstate
);
9788 if (PyErr_Occurred()) SWIG_fail
;
9792 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9794 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9811 static PyObject
*_wrap_MemoryFSHandler_FindNext(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9812 PyObject
*resultobj
;
9813 wxMemoryFSHandler
*arg1
= (wxMemoryFSHandler
*) 0 ;
9815 PyObject
* obj0
= 0 ;
9817 (char *) "self", NULL
9820 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MemoryFSHandler_FindNext",kwnames
,&obj0
)) goto fail
;
9821 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMemoryFSHandler
, SWIG_POINTER_EXCEPTION
| 0);
9822 if (SWIG_arg_fail(1)) SWIG_fail
;
9824 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9825 result
= (arg1
)->FindNext();
9827 wxPyEndAllowThreads(__tstate
);
9828 if (PyErr_Occurred()) SWIG_fail
;
9832 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9834 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9843 static PyObject
* MemoryFSHandler_swigregister(PyObject
*, PyObject
*args
) {
9845 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9846 SWIG_TypeClientData(SWIGTYPE_p_wxMemoryFSHandler
, obj
);
9848 return Py_BuildValue((char *)"");
9850 static PyObject
*_wrap_ImageHandler_GetName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9851 PyObject
*resultobj
;
9852 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
9854 PyObject
* obj0
= 0 ;
9856 (char *) "self", NULL
9859 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ImageHandler_GetName",kwnames
,&obj0
)) goto fail
;
9860 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImageHandler
, SWIG_POINTER_EXCEPTION
| 0);
9861 if (SWIG_arg_fail(1)) SWIG_fail
;
9863 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9864 result
= (arg1
)->GetName();
9866 wxPyEndAllowThreads(__tstate
);
9867 if (PyErr_Occurred()) SWIG_fail
;
9871 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9873 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9882 static PyObject
*_wrap_ImageHandler_GetExtension(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9883 PyObject
*resultobj
;
9884 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
9886 PyObject
* obj0
= 0 ;
9888 (char *) "self", NULL
9891 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ImageHandler_GetExtension",kwnames
,&obj0
)) goto fail
;
9892 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImageHandler
, SWIG_POINTER_EXCEPTION
| 0);
9893 if (SWIG_arg_fail(1)) SWIG_fail
;
9895 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9896 result
= (arg1
)->GetExtension();
9898 wxPyEndAllowThreads(__tstate
);
9899 if (PyErr_Occurred()) SWIG_fail
;
9903 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9905 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9914 static PyObject
*_wrap_ImageHandler_GetType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9915 PyObject
*resultobj
;
9916 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
9918 PyObject
* obj0
= 0 ;
9920 (char *) "self", NULL
9923 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ImageHandler_GetType",kwnames
,&obj0
)) goto fail
;
9924 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImageHandler
, SWIG_POINTER_EXCEPTION
| 0);
9925 if (SWIG_arg_fail(1)) SWIG_fail
;
9927 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9928 result
= (long)(arg1
)->GetType();
9930 wxPyEndAllowThreads(__tstate
);
9931 if (PyErr_Occurred()) SWIG_fail
;
9934 resultobj
= SWIG_From_long((long)(result
));
9942 static PyObject
*_wrap_ImageHandler_GetMimeType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9943 PyObject
*resultobj
;
9944 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
9946 PyObject
* obj0
= 0 ;
9948 (char *) "self", NULL
9951 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ImageHandler_GetMimeType",kwnames
,&obj0
)) goto fail
;
9952 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImageHandler
, SWIG_POINTER_EXCEPTION
| 0);
9953 if (SWIG_arg_fail(1)) SWIG_fail
;
9955 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9956 result
= (arg1
)->GetMimeType();
9958 wxPyEndAllowThreads(__tstate
);
9959 if (PyErr_Occurred()) SWIG_fail
;
9963 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9965 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9974 static PyObject
*_wrap_ImageHandler_CanRead(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9975 PyObject
*resultobj
;
9976 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
9977 wxString
*arg2
= 0 ;
9979 bool temp2
= false ;
9980 PyObject
* obj0
= 0 ;
9981 PyObject
* obj1
= 0 ;
9983 (char *) "self",(char *) "name", NULL
9986 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageHandler_CanRead",kwnames
,&obj0
,&obj1
)) goto fail
;
9987 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImageHandler
, SWIG_POINTER_EXCEPTION
| 0);
9988 if (SWIG_arg_fail(1)) SWIG_fail
;
9990 arg2
= wxString_in_helper(obj1
);
9991 if (arg2
== NULL
) SWIG_fail
;
9995 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9996 result
= (bool)(arg1
)->CanRead((wxString
const &)*arg2
);
9998 wxPyEndAllowThreads(__tstate
);
9999 if (PyErr_Occurred()) SWIG_fail
;
10002 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10018 static PyObject
*_wrap_ImageHandler_SetName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10019 PyObject
*resultobj
;
10020 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
10021 wxString
*arg2
= 0 ;
10022 bool temp2
= false ;
10023 PyObject
* obj0
= 0 ;
10024 PyObject
* obj1
= 0 ;
10025 char *kwnames
[] = {
10026 (char *) "self",(char *) "name", NULL
10029 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageHandler_SetName",kwnames
,&obj0
,&obj1
)) goto fail
;
10030 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImageHandler
, SWIG_POINTER_EXCEPTION
| 0);
10031 if (SWIG_arg_fail(1)) SWIG_fail
;
10033 arg2
= wxString_in_helper(obj1
);
10034 if (arg2
== NULL
) SWIG_fail
;
10038 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10039 (arg1
)->SetName((wxString
const &)*arg2
);
10041 wxPyEndAllowThreads(__tstate
);
10042 if (PyErr_Occurred()) SWIG_fail
;
10044 Py_INCREF(Py_None
); resultobj
= Py_None
;
10059 static PyObject
*_wrap_ImageHandler_SetExtension(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10060 PyObject
*resultobj
;
10061 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
10062 wxString
*arg2
= 0 ;
10063 bool temp2
= false ;
10064 PyObject
* obj0
= 0 ;
10065 PyObject
* obj1
= 0 ;
10066 char *kwnames
[] = {
10067 (char *) "self",(char *) "extension", NULL
10070 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageHandler_SetExtension",kwnames
,&obj0
,&obj1
)) goto fail
;
10071 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImageHandler
, SWIG_POINTER_EXCEPTION
| 0);
10072 if (SWIG_arg_fail(1)) SWIG_fail
;
10074 arg2
= wxString_in_helper(obj1
);
10075 if (arg2
== NULL
) SWIG_fail
;
10079 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10080 (arg1
)->SetExtension((wxString
const &)*arg2
);
10082 wxPyEndAllowThreads(__tstate
);
10083 if (PyErr_Occurred()) SWIG_fail
;
10085 Py_INCREF(Py_None
); resultobj
= Py_None
;
10100 static PyObject
*_wrap_ImageHandler_SetType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10101 PyObject
*resultobj
;
10102 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
10104 PyObject
* obj0
= 0 ;
10105 PyObject
* obj1
= 0 ;
10106 char *kwnames
[] = {
10107 (char *) "self",(char *) "type", NULL
10110 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageHandler_SetType",kwnames
,&obj0
,&obj1
)) goto fail
;
10111 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImageHandler
, SWIG_POINTER_EXCEPTION
| 0);
10112 if (SWIG_arg_fail(1)) SWIG_fail
;
10114 arg2
= (long)(SWIG_As_long(obj1
));
10115 if (SWIG_arg_fail(2)) SWIG_fail
;
10118 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10119 (arg1
)->SetType(arg2
);
10121 wxPyEndAllowThreads(__tstate
);
10122 if (PyErr_Occurred()) SWIG_fail
;
10124 Py_INCREF(Py_None
); resultobj
= Py_None
;
10131 static PyObject
*_wrap_ImageHandler_SetMimeType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10132 PyObject
*resultobj
;
10133 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
10134 wxString
*arg2
= 0 ;
10135 bool temp2
= false ;
10136 PyObject
* obj0
= 0 ;
10137 PyObject
* obj1
= 0 ;
10138 char *kwnames
[] = {
10139 (char *) "self",(char *) "mimetype", NULL
10142 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageHandler_SetMimeType",kwnames
,&obj0
,&obj1
)) goto fail
;
10143 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImageHandler
, SWIG_POINTER_EXCEPTION
| 0);
10144 if (SWIG_arg_fail(1)) SWIG_fail
;
10146 arg2
= wxString_in_helper(obj1
);
10147 if (arg2
== NULL
) SWIG_fail
;
10151 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10152 (arg1
)->SetMimeType((wxString
const &)*arg2
);
10154 wxPyEndAllowThreads(__tstate
);
10155 if (PyErr_Occurred()) SWIG_fail
;
10157 Py_INCREF(Py_None
); resultobj
= Py_None
;
10172 static PyObject
* ImageHandler_swigregister(PyObject
*, PyObject
*args
) {
10174 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10175 SWIG_TypeClientData(SWIGTYPE_p_wxImageHandler
, obj
);
10177 return Py_BuildValue((char *)"");
10179 static PyObject
*_wrap_new_ImageHistogram(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10180 PyObject
*resultobj
;
10181 wxImageHistogram
*result
;
10182 char *kwnames
[] = {
10186 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ImageHistogram",kwnames
)) goto fail
;
10188 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10189 result
= (wxImageHistogram
*)new wxImageHistogram();
10191 wxPyEndAllowThreads(__tstate
);
10192 if (PyErr_Occurred()) SWIG_fail
;
10194 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImageHistogram
, 1);
10201 static PyObject
*_wrap_ImageHistogram_MakeKey(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10202 PyObject
*resultobj
;
10203 unsigned char arg1
;
10204 unsigned char arg2
;
10205 unsigned char arg3
;
10206 unsigned long result
;
10207 PyObject
* obj0
= 0 ;
10208 PyObject
* obj1
= 0 ;
10209 PyObject
* obj2
= 0 ;
10210 char *kwnames
[] = {
10211 (char *) "r",(char *) "g",(char *) "b", NULL
10214 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ImageHistogram_MakeKey",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10216 arg1
= (unsigned char)(SWIG_As_unsigned_SS_char(obj0
));
10217 if (SWIG_arg_fail(1)) SWIG_fail
;
10220 arg2
= (unsigned char)(SWIG_As_unsigned_SS_char(obj1
));
10221 if (SWIG_arg_fail(2)) SWIG_fail
;
10224 arg3
= (unsigned char)(SWIG_As_unsigned_SS_char(obj2
));
10225 if (SWIG_arg_fail(3)) SWIG_fail
;
10228 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10229 result
= (unsigned long)wxImageHistogram::MakeKey(arg1
,arg2
,arg3
);
10231 wxPyEndAllowThreads(__tstate
);
10232 if (PyErr_Occurred()) SWIG_fail
;
10235 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
10243 static PyObject
*_wrap_ImageHistogram_FindFirstUnusedColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10244 PyObject
*resultobj
;
10245 wxImageHistogram
*arg1
= (wxImageHistogram
*) 0 ;
10246 unsigned char *arg2
= (unsigned char *) 0 ;
10247 unsigned char *arg3
= (unsigned char *) 0 ;
10248 unsigned char *arg4
= (unsigned char *) 0 ;
10249 unsigned char arg5
= (unsigned char) 1 ;
10250 unsigned char arg6
= (unsigned char) 0 ;
10251 unsigned char arg7
= (unsigned char) 0 ;
10253 unsigned char temp2
;
10255 unsigned char temp3
;
10257 unsigned char temp4
;
10259 PyObject
* obj0
= 0 ;
10260 PyObject
* obj1
= 0 ;
10261 PyObject
* obj2
= 0 ;
10262 PyObject
* obj3
= 0 ;
10263 char *kwnames
[] = {
10264 (char *) "self",(char *) "startR",(char *) "startG",(char *) "startB", NULL
10267 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
10268 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
10269 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
10270 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:ImageHistogram_FindFirstUnusedColour",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
10271 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImageHistogram
, SWIG_POINTER_EXCEPTION
| 0);
10272 if (SWIG_arg_fail(1)) SWIG_fail
;
10275 arg5
= (unsigned char)(SWIG_As_unsigned_SS_char(obj1
));
10276 if (SWIG_arg_fail(5)) SWIG_fail
;
10281 arg6
= (unsigned char)(SWIG_As_unsigned_SS_char(obj2
));
10282 if (SWIG_arg_fail(6)) SWIG_fail
;
10287 arg7
= (unsigned char)(SWIG_As_unsigned_SS_char(obj3
));
10288 if (SWIG_arg_fail(7)) SWIG_fail
;
10292 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10293 result
= (bool)((wxImageHistogram
const *)arg1
)->FindFirstUnusedColour(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
10295 wxPyEndAllowThreads(__tstate
);
10296 if (PyErr_Occurred()) SWIG_fail
;
10299 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10301 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
10302 SWIG_From_unsigned_SS_char((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_unsigned_char
, 0)));
10303 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
10304 SWIG_From_unsigned_SS_char((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_unsigned_char
, 0)));
10305 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
10306 SWIG_From_unsigned_SS_char((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_unsigned_char
, 0)));
10313 static PyObject
* ImageHistogram_swigregister(PyObject
*, PyObject
*args
) {
10315 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10316 SWIG_TypeClientData(SWIGTYPE_p_wxImageHistogram
, obj
);
10318 return Py_BuildValue((char *)"");
10320 static PyObject
*_wrap_new_Image(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10321 PyObject
*resultobj
;
10322 wxString
*arg1
= 0 ;
10323 long arg2
= (long) wxBITMAP_TYPE_ANY
;
10324 int arg3
= (int) -1 ;
10326 bool temp1
= false ;
10327 PyObject
* obj0
= 0 ;
10328 PyObject
* obj1
= 0 ;
10329 PyObject
* obj2
= 0 ;
10330 char *kwnames
[] = {
10331 (char *) "name",(char *) "type",(char *) "index", NULL
10334 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:new_Image",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10336 arg1
= wxString_in_helper(obj0
);
10337 if (arg1
== NULL
) SWIG_fail
;
10342 arg2
= (long)(SWIG_As_long(obj1
));
10343 if (SWIG_arg_fail(2)) SWIG_fail
;
10348 arg3
= (int)(SWIG_As_int(obj2
));
10349 if (SWIG_arg_fail(3)) SWIG_fail
;
10353 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10354 result
= (wxImage
*)new wxImage((wxString
const &)*arg1
,arg2
,arg3
);
10356 wxPyEndAllowThreads(__tstate
);
10357 if (PyErr_Occurred()) SWIG_fail
;
10359 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 1);
10374 static PyObject
*_wrap_delete_Image(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10375 PyObject
*resultobj
;
10376 wxImage
*arg1
= (wxImage
*) 0 ;
10377 PyObject
* obj0
= 0 ;
10378 char *kwnames
[] = {
10379 (char *) "self", NULL
10382 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Image",kwnames
,&obj0
)) goto fail
;
10383 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
10384 if (SWIG_arg_fail(1)) SWIG_fail
;
10386 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10389 wxPyEndAllowThreads(__tstate
);
10390 if (PyErr_Occurred()) SWIG_fail
;
10392 Py_INCREF(Py_None
); resultobj
= Py_None
;
10399 static PyObject
*_wrap_new_ImageFromMime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10400 PyObject
*resultobj
;
10401 wxString
*arg1
= 0 ;
10402 wxString
*arg2
= 0 ;
10403 int arg3
= (int) -1 ;
10405 bool temp1
= false ;
10406 bool temp2
= false ;
10407 PyObject
* obj0
= 0 ;
10408 PyObject
* obj1
= 0 ;
10409 PyObject
* obj2
= 0 ;
10410 char *kwnames
[] = {
10411 (char *) "name",(char *) "mimetype",(char *) "index", NULL
10414 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:new_ImageFromMime",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10416 arg1
= wxString_in_helper(obj0
);
10417 if (arg1
== NULL
) SWIG_fail
;
10421 arg2
= wxString_in_helper(obj1
);
10422 if (arg2
== NULL
) SWIG_fail
;
10427 arg3
= (int)(SWIG_As_int(obj2
));
10428 if (SWIG_arg_fail(3)) SWIG_fail
;
10432 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10433 result
= (wxImage
*)new wxImage((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
);
10435 wxPyEndAllowThreads(__tstate
);
10436 if (PyErr_Occurred()) SWIG_fail
;
10438 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 1);
10461 static PyObject
*_wrap_new_ImageFromStream(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10462 PyObject
*resultobj
;
10463 wxInputStream
*arg1
= 0 ;
10464 long arg2
= (long) wxBITMAP_TYPE_ANY
;
10465 int arg3
= (int) -1 ;
10467 wxPyInputStream
*temp1
;
10469 PyObject
* obj0
= 0 ;
10470 PyObject
* obj1
= 0 ;
10471 PyObject
* obj2
= 0 ;
10472 char *kwnames
[] = {
10473 (char *) "stream",(char *) "type",(char *) "index", NULL
10476 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:new_ImageFromStream",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10478 if (wxPyConvertSwigPtr(obj0
, (void **)&temp1
, wxT("wxPyInputStream"))) {
10479 arg1
= temp1
->m_wxis
;
10482 PyErr_Clear(); // clear the failure of the wxPyConvert above
10483 arg1
= wxPyCBInputStream_create(obj0
, false);
10484 if (arg1
== NULL
) {
10485 PyErr_SetString(PyExc_TypeError
, "Expected wxInputStream or Python file-like object.");
10493 arg2
= (long)(SWIG_As_long(obj1
));
10494 if (SWIG_arg_fail(2)) SWIG_fail
;
10499 arg3
= (int)(SWIG_As_int(obj2
));
10500 if (SWIG_arg_fail(3)) SWIG_fail
;
10504 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10505 result
= (wxImage
*)new wxImage(*arg1
,arg2
,arg3
);
10507 wxPyEndAllowThreads(__tstate
);
10508 if (PyErr_Occurred()) SWIG_fail
;
10510 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 1);
10525 static PyObject
*_wrap_new_ImageFromStreamMime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10526 PyObject
*resultobj
;
10527 wxInputStream
*arg1
= 0 ;
10528 wxString
*arg2
= 0 ;
10529 int arg3
= (int) -1 ;
10531 wxPyInputStream
*temp1
;
10533 bool temp2
= false ;
10534 PyObject
* obj0
= 0 ;
10535 PyObject
* obj1
= 0 ;
10536 PyObject
* obj2
= 0 ;
10537 char *kwnames
[] = {
10538 (char *) "stream",(char *) "mimetype",(char *) "index", NULL
10541 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:new_ImageFromStreamMime",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10543 if (wxPyConvertSwigPtr(obj0
, (void **)&temp1
, wxT("wxPyInputStream"))) {
10544 arg1
= temp1
->m_wxis
;
10547 PyErr_Clear(); // clear the failure of the wxPyConvert above
10548 arg1
= wxPyCBInputStream_create(obj0
, false);
10549 if (arg1
== NULL
) {
10550 PyErr_SetString(PyExc_TypeError
, "Expected wxInputStream or Python file-like object.");
10557 arg2
= wxString_in_helper(obj1
);
10558 if (arg2
== NULL
) SWIG_fail
;
10563 arg3
= (int)(SWIG_As_int(obj2
));
10564 if (SWIG_arg_fail(3)) SWIG_fail
;
10568 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10569 result
= (wxImage
*)new wxImage(*arg1
,(wxString
const &)*arg2
,arg3
);
10571 wxPyEndAllowThreads(__tstate
);
10572 if (PyErr_Occurred()) SWIG_fail
;
10574 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 1);
10597 static PyObject
*_wrap_new_EmptyImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10598 PyObject
*resultobj
;
10599 int arg1
= (int) 0 ;
10600 int arg2
= (int) 0 ;
10601 bool arg3
= (bool) true ;
10603 PyObject
* obj0
= 0 ;
10604 PyObject
* obj1
= 0 ;
10605 PyObject
* obj2
= 0 ;
10606 char *kwnames
[] = {
10607 (char *) "width",(char *) "height",(char *) "clear", NULL
10610 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_EmptyImage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10613 arg1
= (int)(SWIG_As_int(obj0
));
10614 if (SWIG_arg_fail(1)) SWIG_fail
;
10619 arg2
= (int)(SWIG_As_int(obj1
));
10620 if (SWIG_arg_fail(2)) SWIG_fail
;
10625 arg3
= (bool)(SWIG_As_bool(obj2
));
10626 if (SWIG_arg_fail(3)) SWIG_fail
;
10630 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10631 result
= (wxImage
*)new_wxImage(arg1
,arg2
,arg3
);
10633 wxPyEndAllowThreads(__tstate
);
10634 if (PyErr_Occurred()) SWIG_fail
;
10636 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 1);
10643 static PyObject
*_wrap_new_ImageFromBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10644 PyObject
*resultobj
;
10645 wxBitmap
*arg1
= 0 ;
10647 PyObject
* obj0
= 0 ;
10648 char *kwnames
[] = {
10649 (char *) "bitmap", NULL
10652 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_ImageFromBitmap",kwnames
,&obj0
)) goto fail
;
10654 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
10655 if (SWIG_arg_fail(1)) SWIG_fail
;
10656 if (arg1
== NULL
) {
10657 SWIG_null_ref("wxBitmap");
10659 if (SWIG_arg_fail(1)) SWIG_fail
;
10662 if (!wxPyCheckForApp()) SWIG_fail
;
10663 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10664 result
= (wxImage
*)new_wxImage((wxBitmap
const &)*arg1
);
10666 wxPyEndAllowThreads(__tstate
);
10667 if (PyErr_Occurred()) SWIG_fail
;
10669 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 1);
10676 static PyObject
*_wrap_new_ImageFromData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10677 PyObject
*resultobj
;
10680 unsigned char *arg3
= (unsigned char *) 0 ;
10682 PyObject
* obj0
= 0 ;
10683 PyObject
* obj1
= 0 ;
10684 PyObject
* obj2
= 0 ;
10685 char *kwnames
[] = {
10686 (char *) "width",(char *) "height",(char *) "data", NULL
10689 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:new_ImageFromData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10691 arg1
= (int)(SWIG_As_int(obj0
));
10692 if (SWIG_arg_fail(1)) SWIG_fail
;
10695 arg2
= (int)(SWIG_As_int(obj1
));
10696 if (SWIG_arg_fail(2)) SWIG_fail
;
10698 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_unsigned_char
, SWIG_POINTER_EXCEPTION
| 0);
10699 if (SWIG_arg_fail(3)) SWIG_fail
;
10701 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10702 result
= (wxImage
*)new_wxImage(arg1
,arg2
,arg3
);
10704 wxPyEndAllowThreads(__tstate
);
10705 if (PyErr_Occurred()) SWIG_fail
;
10707 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 1);
10714 static PyObject
*_wrap_new_ImageFromDataWithAlpha(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10715 PyObject
*resultobj
;
10718 unsigned char *arg3
= (unsigned char *) 0 ;
10719 unsigned char *arg4
= (unsigned char *) 0 ;
10721 PyObject
* obj0
= 0 ;
10722 PyObject
* obj1
= 0 ;
10723 PyObject
* obj2
= 0 ;
10724 PyObject
* obj3
= 0 ;
10725 char *kwnames
[] = {
10726 (char *) "width",(char *) "height",(char *) "data",(char *) "alpha", NULL
10729 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:new_ImageFromDataWithAlpha",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
10731 arg1
= (int)(SWIG_As_int(obj0
));
10732 if (SWIG_arg_fail(1)) SWIG_fail
;
10735 arg2
= (int)(SWIG_As_int(obj1
));
10736 if (SWIG_arg_fail(2)) SWIG_fail
;
10738 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_unsigned_char
, SWIG_POINTER_EXCEPTION
| 0);
10739 if (SWIG_arg_fail(3)) SWIG_fail
;
10740 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_unsigned_char
, SWIG_POINTER_EXCEPTION
| 0);
10741 if (SWIG_arg_fail(4)) SWIG_fail
;
10743 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10744 result
= (wxImage
*)new_wxImage(arg1
,arg2
,arg3
,arg4
);
10746 wxPyEndAllowThreads(__tstate
);
10747 if (PyErr_Occurred()) SWIG_fail
;
10749 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 1);
10756 static PyObject
*_wrap_Image_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10757 PyObject
*resultobj
;
10758 wxImage
*arg1
= (wxImage
*) 0 ;
10761 PyObject
* obj0
= 0 ;
10762 PyObject
* obj1
= 0 ;
10763 PyObject
* obj2
= 0 ;
10764 char *kwnames
[] = {
10765 (char *) "self",(char *) "width",(char *) "height", NULL
10768 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_Create",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10769 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
10770 if (SWIG_arg_fail(1)) SWIG_fail
;
10772 arg2
= (int)(SWIG_As_int(obj1
));
10773 if (SWIG_arg_fail(2)) SWIG_fail
;
10776 arg3
= (int)(SWIG_As_int(obj2
));
10777 if (SWIG_arg_fail(3)) SWIG_fail
;
10780 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10781 (arg1
)->Create(arg2
,arg3
);
10783 wxPyEndAllowThreads(__tstate
);
10784 if (PyErr_Occurred()) SWIG_fail
;
10786 Py_INCREF(Py_None
); resultobj
= Py_None
;
10793 static PyObject
*_wrap_Image_Destroy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10794 PyObject
*resultobj
;
10795 wxImage
*arg1
= (wxImage
*) 0 ;
10796 PyObject
* obj0
= 0 ;
10797 char *kwnames
[] = {
10798 (char *) "self", NULL
10801 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_Destroy",kwnames
,&obj0
)) goto fail
;
10802 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
10803 if (SWIG_arg_fail(1)) SWIG_fail
;
10805 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10808 wxPyEndAllowThreads(__tstate
);
10809 if (PyErr_Occurred()) SWIG_fail
;
10811 Py_INCREF(Py_None
); resultobj
= Py_None
;
10818 static PyObject
*_wrap_Image_Scale(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10819 PyObject
*resultobj
;
10820 wxImage
*arg1
= (wxImage
*) 0 ;
10823 SwigValueWrapper
<wxImage
> result
;
10824 PyObject
* obj0
= 0 ;
10825 PyObject
* obj1
= 0 ;
10826 PyObject
* obj2
= 0 ;
10827 char *kwnames
[] = {
10828 (char *) "self",(char *) "width",(char *) "height", NULL
10831 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_Scale",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10832 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
10833 if (SWIG_arg_fail(1)) SWIG_fail
;
10835 arg2
= (int)(SWIG_As_int(obj1
));
10836 if (SWIG_arg_fail(2)) SWIG_fail
;
10839 arg3
= (int)(SWIG_As_int(obj2
));
10840 if (SWIG_arg_fail(3)) SWIG_fail
;
10843 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10844 result
= (arg1
)->Scale(arg2
,arg3
);
10846 wxPyEndAllowThreads(__tstate
);
10847 if (PyErr_Occurred()) SWIG_fail
;
10850 wxImage
* resultptr
;
10851 resultptr
= new wxImage((wxImage
&)(result
));
10852 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
10860 static PyObject
*_wrap_Image_ShrinkBy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10861 PyObject
*resultobj
;
10862 wxImage
*arg1
= (wxImage
*) 0 ;
10865 SwigValueWrapper
<wxImage
> result
;
10866 PyObject
* obj0
= 0 ;
10867 PyObject
* obj1
= 0 ;
10868 PyObject
* obj2
= 0 ;
10869 char *kwnames
[] = {
10870 (char *) "self",(char *) "xFactor",(char *) "yFactor", NULL
10873 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_ShrinkBy",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10874 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
10875 if (SWIG_arg_fail(1)) SWIG_fail
;
10877 arg2
= (int)(SWIG_As_int(obj1
));
10878 if (SWIG_arg_fail(2)) SWIG_fail
;
10881 arg3
= (int)(SWIG_As_int(obj2
));
10882 if (SWIG_arg_fail(3)) SWIG_fail
;
10885 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10886 result
= ((wxImage
const *)arg1
)->ShrinkBy(arg2
,arg3
);
10888 wxPyEndAllowThreads(__tstate
);
10889 if (PyErr_Occurred()) SWIG_fail
;
10892 wxImage
* resultptr
;
10893 resultptr
= new wxImage((wxImage
&)(result
));
10894 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
10902 static PyObject
*_wrap_Image_Rescale(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10903 PyObject
*resultobj
;
10904 wxImage
*arg1
= (wxImage
*) 0 ;
10908 PyObject
* obj0
= 0 ;
10909 PyObject
* obj1
= 0 ;
10910 PyObject
* obj2
= 0 ;
10911 char *kwnames
[] = {
10912 (char *) "self",(char *) "width",(char *) "height", NULL
10915 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_Rescale",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10916 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
10917 if (SWIG_arg_fail(1)) SWIG_fail
;
10919 arg2
= (int)(SWIG_As_int(obj1
));
10920 if (SWIG_arg_fail(2)) SWIG_fail
;
10923 arg3
= (int)(SWIG_As_int(obj2
));
10924 if (SWIG_arg_fail(3)) SWIG_fail
;
10927 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10929 wxImage
&_result_ref
= (arg1
)->Rescale(arg2
,arg3
);
10930 result
= (wxImage
*) &_result_ref
;
10933 wxPyEndAllowThreads(__tstate
);
10934 if (PyErr_Occurred()) SWIG_fail
;
10936 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 0);
10943 static PyObject
*_wrap_Image_SetRGB(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10944 PyObject
*resultobj
;
10945 wxImage
*arg1
= (wxImage
*) 0 ;
10948 unsigned char arg4
;
10949 unsigned char arg5
;
10950 unsigned char arg6
;
10951 PyObject
* obj0
= 0 ;
10952 PyObject
* obj1
= 0 ;
10953 PyObject
* obj2
= 0 ;
10954 PyObject
* obj3
= 0 ;
10955 PyObject
* obj4
= 0 ;
10956 PyObject
* obj5
= 0 ;
10957 char *kwnames
[] = {
10958 (char *) "self",(char *) "x",(char *) "y",(char *) "r",(char *) "g",(char *) "b", NULL
10961 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:Image_SetRGB",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
10962 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
10963 if (SWIG_arg_fail(1)) SWIG_fail
;
10965 arg2
= (int)(SWIG_As_int(obj1
));
10966 if (SWIG_arg_fail(2)) SWIG_fail
;
10969 arg3
= (int)(SWIG_As_int(obj2
));
10970 if (SWIG_arg_fail(3)) SWIG_fail
;
10973 arg4
= (unsigned char)(SWIG_As_unsigned_SS_char(obj3
));
10974 if (SWIG_arg_fail(4)) SWIG_fail
;
10977 arg5
= (unsigned char)(SWIG_As_unsigned_SS_char(obj4
));
10978 if (SWIG_arg_fail(5)) SWIG_fail
;
10981 arg6
= (unsigned char)(SWIG_As_unsigned_SS_char(obj5
));
10982 if (SWIG_arg_fail(6)) SWIG_fail
;
10985 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10986 (arg1
)->SetRGB(arg2
,arg3
,arg4
,arg5
,arg6
);
10988 wxPyEndAllowThreads(__tstate
);
10989 if (PyErr_Occurred()) SWIG_fail
;
10991 Py_INCREF(Py_None
); resultobj
= Py_None
;
10998 static PyObject
*_wrap_Image_GetRed(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10999 PyObject
*resultobj
;
11000 wxImage
*arg1
= (wxImage
*) 0 ;
11003 unsigned char result
;
11004 PyObject
* obj0
= 0 ;
11005 PyObject
* obj1
= 0 ;
11006 PyObject
* obj2
= 0 ;
11007 char *kwnames
[] = {
11008 (char *) "self",(char *) "x",(char *) "y", NULL
11011 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_GetRed",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11012 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
11013 if (SWIG_arg_fail(1)) SWIG_fail
;
11015 arg2
= (int)(SWIG_As_int(obj1
));
11016 if (SWIG_arg_fail(2)) SWIG_fail
;
11019 arg3
= (int)(SWIG_As_int(obj2
));
11020 if (SWIG_arg_fail(3)) SWIG_fail
;
11023 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11024 result
= (unsigned char)(arg1
)->GetRed(arg2
,arg3
);
11026 wxPyEndAllowThreads(__tstate
);
11027 if (PyErr_Occurred()) SWIG_fail
;
11030 resultobj
= SWIG_From_unsigned_SS_char((unsigned char)(result
));
11038 static PyObject
*_wrap_Image_GetGreen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11039 PyObject
*resultobj
;
11040 wxImage
*arg1
= (wxImage
*) 0 ;
11043 unsigned char result
;
11044 PyObject
* obj0
= 0 ;
11045 PyObject
* obj1
= 0 ;
11046 PyObject
* obj2
= 0 ;
11047 char *kwnames
[] = {
11048 (char *) "self",(char *) "x",(char *) "y", NULL
11051 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_GetGreen",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11052 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
11053 if (SWIG_arg_fail(1)) SWIG_fail
;
11055 arg2
= (int)(SWIG_As_int(obj1
));
11056 if (SWIG_arg_fail(2)) SWIG_fail
;
11059 arg3
= (int)(SWIG_As_int(obj2
));
11060 if (SWIG_arg_fail(3)) SWIG_fail
;
11063 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11064 result
= (unsigned char)(arg1
)->GetGreen(arg2
,arg3
);
11066 wxPyEndAllowThreads(__tstate
);
11067 if (PyErr_Occurred()) SWIG_fail
;
11070 resultobj
= SWIG_From_unsigned_SS_char((unsigned char)(result
));
11078 static PyObject
*_wrap_Image_GetBlue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11079 PyObject
*resultobj
;
11080 wxImage
*arg1
= (wxImage
*) 0 ;
11083 unsigned char result
;
11084 PyObject
* obj0
= 0 ;
11085 PyObject
* obj1
= 0 ;
11086 PyObject
* obj2
= 0 ;
11087 char *kwnames
[] = {
11088 (char *) "self",(char *) "x",(char *) "y", NULL
11091 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_GetBlue",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11092 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
11093 if (SWIG_arg_fail(1)) SWIG_fail
;
11095 arg2
= (int)(SWIG_As_int(obj1
));
11096 if (SWIG_arg_fail(2)) SWIG_fail
;
11099 arg3
= (int)(SWIG_As_int(obj2
));
11100 if (SWIG_arg_fail(3)) SWIG_fail
;
11103 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11104 result
= (unsigned char)(arg1
)->GetBlue(arg2
,arg3
);
11106 wxPyEndAllowThreads(__tstate
);
11107 if (PyErr_Occurred()) SWIG_fail
;
11110 resultobj
= SWIG_From_unsigned_SS_char((unsigned char)(result
));
11118 static PyObject
*_wrap_Image_SetAlpha(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11119 PyObject
*resultobj
;
11120 wxImage
*arg1
= (wxImage
*) 0 ;
11123 unsigned char arg4
;
11124 PyObject
* obj0
= 0 ;
11125 PyObject
* obj1
= 0 ;
11126 PyObject
* obj2
= 0 ;
11127 PyObject
* obj3
= 0 ;
11128 char *kwnames
[] = {
11129 (char *) "self",(char *) "x",(char *) "y",(char *) "alpha", NULL
11132 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Image_SetAlpha",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11133 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
11134 if (SWIG_arg_fail(1)) SWIG_fail
;
11136 arg2
= (int)(SWIG_As_int(obj1
));
11137 if (SWIG_arg_fail(2)) SWIG_fail
;
11140 arg3
= (int)(SWIG_As_int(obj2
));
11141 if (SWIG_arg_fail(3)) SWIG_fail
;
11144 arg4
= (unsigned char)(SWIG_As_unsigned_SS_char(obj3
));
11145 if (SWIG_arg_fail(4)) SWIG_fail
;
11148 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11149 (arg1
)->SetAlpha(arg2
,arg3
,arg4
);
11151 wxPyEndAllowThreads(__tstate
);
11152 if (PyErr_Occurred()) SWIG_fail
;
11154 Py_INCREF(Py_None
); resultobj
= Py_None
;
11161 static PyObject
*_wrap_Image_GetAlpha(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11162 PyObject
*resultobj
;
11163 wxImage
*arg1
= (wxImage
*) 0 ;
11166 unsigned char result
;
11167 PyObject
* obj0
= 0 ;
11168 PyObject
* obj1
= 0 ;
11169 PyObject
* obj2
= 0 ;
11170 char *kwnames
[] = {
11171 (char *) "self",(char *) "x",(char *) "y", NULL
11174 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_GetAlpha",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11175 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
11176 if (SWIG_arg_fail(1)) SWIG_fail
;
11178 arg2
= (int)(SWIG_As_int(obj1
));
11179 if (SWIG_arg_fail(2)) SWIG_fail
;
11182 arg3
= (int)(SWIG_As_int(obj2
));
11183 if (SWIG_arg_fail(3)) SWIG_fail
;
11186 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11187 result
= (unsigned char)(arg1
)->GetAlpha(arg2
,arg3
);
11189 wxPyEndAllowThreads(__tstate
);
11190 if (PyErr_Occurred()) SWIG_fail
;
11193 resultobj
= SWIG_From_unsigned_SS_char((unsigned char)(result
));
11201 static PyObject
*_wrap_Image_HasAlpha(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11202 PyObject
*resultobj
;
11203 wxImage
*arg1
= (wxImage
*) 0 ;
11205 PyObject
* obj0
= 0 ;
11206 char *kwnames
[] = {
11207 (char *) "self", NULL
11210 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_HasAlpha",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 result
= (bool)(arg1
)->HasAlpha();
11217 wxPyEndAllowThreads(__tstate
);
11218 if (PyErr_Occurred()) SWIG_fail
;
11221 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11229 static PyObject
*_wrap_Image_InitAlpha(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11230 PyObject
*resultobj
;
11231 wxImage
*arg1
= (wxImage
*) 0 ;
11232 PyObject
* obj0
= 0 ;
11233 char *kwnames
[] = {
11234 (char *) "self", NULL
11237 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_InitAlpha",kwnames
,&obj0
)) goto fail
;
11238 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
11239 if (SWIG_arg_fail(1)) SWIG_fail
;
11241 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11242 (arg1
)->InitAlpha();
11244 wxPyEndAllowThreads(__tstate
);
11245 if (PyErr_Occurred()) SWIG_fail
;
11247 Py_INCREF(Py_None
); resultobj
= Py_None
;
11254 static PyObject
*_wrap_Image_FindFirstUnusedColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11255 PyObject
*resultobj
;
11256 wxImage
*arg1
= (wxImage
*) 0 ;
11257 byte
*arg2
= (byte
*) 0 ;
11258 byte
*arg3
= (byte
*) 0 ;
11259 byte
*arg4
= (byte
*) 0 ;
11260 byte arg5
= (byte
) 0 ;
11261 byte arg6
= (byte
) 0 ;
11262 byte arg7
= (byte
) 0 ;
11270 PyObject
* obj0
= 0 ;
11271 PyObject
* obj1
= 0 ;
11272 PyObject
* obj2
= 0 ;
11273 PyObject
* obj3
= 0 ;
11274 char *kwnames
[] = {
11275 (char *) "self",(char *) "startR",(char *) "startG",(char *) "startB", NULL
11278 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
11279 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
11280 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
11281 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:Image_FindFirstUnusedColour",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11282 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
11283 if (SWIG_arg_fail(1)) SWIG_fail
;
11286 arg5
= (byte
)(SWIG_As_unsigned_SS_char(obj1
));
11287 if (SWIG_arg_fail(5)) SWIG_fail
;
11292 arg6
= (byte
)(SWIG_As_unsigned_SS_char(obj2
));
11293 if (SWIG_arg_fail(6)) SWIG_fail
;
11298 arg7
= (byte
)(SWIG_As_unsigned_SS_char(obj3
));
11299 if (SWIG_arg_fail(7)) SWIG_fail
;
11303 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11304 result
= (bool)((wxImage
const *)arg1
)->FindFirstUnusedColour(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
11306 wxPyEndAllowThreads(__tstate
);
11307 if (PyErr_Occurred()) SWIG_fail
;
11310 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11312 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
11313 SWIG_From_unsigned_SS_char((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_unsigned_char
, 0)));
11314 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
11315 SWIG_From_unsigned_SS_char((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_unsigned_char
, 0)));
11316 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
11317 SWIG_From_unsigned_SS_char((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_unsigned_char
, 0)));
11324 static PyObject
*_wrap_Image_ConvertAlphaToMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11325 PyObject
*resultobj
;
11326 wxImage
*arg1
= (wxImage
*) 0 ;
11327 byte arg2
= (byte
) 128 ;
11329 PyObject
* obj0
= 0 ;
11330 PyObject
* obj1
= 0 ;
11331 char *kwnames
[] = {
11332 (char *) "self",(char *) "threshold", NULL
11335 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Image_ConvertAlphaToMask",kwnames
,&obj0
,&obj1
)) goto fail
;
11336 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
11337 if (SWIG_arg_fail(1)) SWIG_fail
;
11340 arg2
= (byte
)(SWIG_As_unsigned_SS_char(obj1
));
11341 if (SWIG_arg_fail(2)) SWIG_fail
;
11345 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11346 result
= (bool)(arg1
)->ConvertAlphaToMask(arg2
);
11348 wxPyEndAllowThreads(__tstate
);
11349 if (PyErr_Occurred()) SWIG_fail
;
11352 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11360 static PyObject
*_wrap_Image_ConvertColourToAlpha(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11361 PyObject
*resultobj
;
11362 wxImage
*arg1
= (wxImage
*) 0 ;
11363 unsigned char arg2
;
11364 unsigned char arg3
;
11365 unsigned char arg4
;
11367 PyObject
* obj0
= 0 ;
11368 PyObject
* obj1
= 0 ;
11369 PyObject
* obj2
= 0 ;
11370 PyObject
* obj3
= 0 ;
11371 char *kwnames
[] = {
11372 (char *) "self",(char *) "r",(char *) "g",(char *) "b", NULL
11375 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Image_ConvertColourToAlpha",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11376 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
11377 if (SWIG_arg_fail(1)) SWIG_fail
;
11379 arg2
= (unsigned char)(SWIG_As_unsigned_SS_char(obj1
));
11380 if (SWIG_arg_fail(2)) SWIG_fail
;
11383 arg3
= (unsigned char)(SWIG_As_unsigned_SS_char(obj2
));
11384 if (SWIG_arg_fail(3)) SWIG_fail
;
11387 arg4
= (unsigned char)(SWIG_As_unsigned_SS_char(obj3
));
11388 if (SWIG_arg_fail(4)) SWIG_fail
;
11391 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11392 result
= (bool)(arg1
)->ConvertColourToAlpha(arg2
,arg3
,arg4
);
11394 wxPyEndAllowThreads(__tstate
);
11395 if (PyErr_Occurred()) SWIG_fail
;
11398 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11406 static PyObject
*_wrap_Image_SetMaskFromImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11407 PyObject
*resultobj
;
11408 wxImage
*arg1
= (wxImage
*) 0 ;
11409 wxImage
*arg2
= 0 ;
11414 PyObject
* obj0
= 0 ;
11415 PyObject
* obj1
= 0 ;
11416 PyObject
* obj2
= 0 ;
11417 PyObject
* obj3
= 0 ;
11418 PyObject
* obj4
= 0 ;
11419 char *kwnames
[] = {
11420 (char *) "self",(char *) "mask",(char *) "mr",(char *) "mg",(char *) "mb", NULL
11423 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Image_SetMaskFromImage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
11424 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
11425 if (SWIG_arg_fail(1)) SWIG_fail
;
11427 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
11428 if (SWIG_arg_fail(2)) SWIG_fail
;
11429 if (arg2
== NULL
) {
11430 SWIG_null_ref("wxImage");
11432 if (SWIG_arg_fail(2)) SWIG_fail
;
11435 arg3
= (byte
)(SWIG_As_unsigned_SS_char(obj2
));
11436 if (SWIG_arg_fail(3)) SWIG_fail
;
11439 arg4
= (byte
)(SWIG_As_unsigned_SS_char(obj3
));
11440 if (SWIG_arg_fail(4)) SWIG_fail
;
11443 arg5
= (byte
)(SWIG_As_unsigned_SS_char(obj4
));
11444 if (SWIG_arg_fail(5)) SWIG_fail
;
11447 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11448 result
= (bool)(arg1
)->SetMaskFromImage((wxImage
const &)*arg2
,arg3
,arg4
,arg5
);
11450 wxPyEndAllowThreads(__tstate
);
11451 if (PyErr_Occurred()) SWIG_fail
;
11454 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11462 static PyObject
*_wrap_Image_CanRead(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11463 PyObject
*resultobj
;
11464 wxString
*arg1
= 0 ;
11466 bool temp1
= false ;
11467 PyObject
* obj0
= 0 ;
11468 char *kwnames
[] = {
11469 (char *) "name", NULL
11472 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_CanRead",kwnames
,&obj0
)) goto fail
;
11474 arg1
= wxString_in_helper(obj0
);
11475 if (arg1
== NULL
) SWIG_fail
;
11479 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11480 result
= (bool)wxImage::CanRead((wxString
const &)*arg1
);
11482 wxPyEndAllowThreads(__tstate
);
11483 if (PyErr_Occurred()) SWIG_fail
;
11486 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11502 static PyObject
*_wrap_Image_GetImageCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11503 PyObject
*resultobj
;
11504 wxString
*arg1
= 0 ;
11505 long arg2
= (long) wxBITMAP_TYPE_ANY
;
11507 bool temp1
= false ;
11508 PyObject
* obj0
= 0 ;
11509 PyObject
* obj1
= 0 ;
11510 char *kwnames
[] = {
11511 (char *) "name",(char *) "type", NULL
11514 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Image_GetImageCount",kwnames
,&obj0
,&obj1
)) goto fail
;
11516 arg1
= wxString_in_helper(obj0
);
11517 if (arg1
== NULL
) SWIG_fail
;
11522 arg2
= (long)(SWIG_As_long(obj1
));
11523 if (SWIG_arg_fail(2)) SWIG_fail
;
11527 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11528 result
= (int)wxImage::GetImageCount((wxString
const &)*arg1
,arg2
);
11530 wxPyEndAllowThreads(__tstate
);
11531 if (PyErr_Occurred()) SWIG_fail
;
11534 resultobj
= SWIG_From_int((int)(result
));
11550 static PyObject
*_wrap_Image_LoadFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11551 PyObject
*resultobj
;
11552 wxImage
*arg1
= (wxImage
*) 0 ;
11553 wxString
*arg2
= 0 ;
11554 long arg3
= (long) wxBITMAP_TYPE_ANY
;
11555 int arg4
= (int) -1 ;
11557 bool temp2
= false ;
11558 PyObject
* obj0
= 0 ;
11559 PyObject
* obj1
= 0 ;
11560 PyObject
* obj2
= 0 ;
11561 PyObject
* obj3
= 0 ;
11562 char *kwnames
[] = {
11563 (char *) "self",(char *) "name",(char *) "type",(char *) "index", NULL
11566 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:Image_LoadFile",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11567 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
11568 if (SWIG_arg_fail(1)) SWIG_fail
;
11570 arg2
= wxString_in_helper(obj1
);
11571 if (arg2
== NULL
) SWIG_fail
;
11576 arg3
= (long)(SWIG_As_long(obj2
));
11577 if (SWIG_arg_fail(3)) SWIG_fail
;
11582 arg4
= (int)(SWIG_As_int(obj3
));
11583 if (SWIG_arg_fail(4)) SWIG_fail
;
11587 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11588 result
= (bool)(arg1
)->LoadFile((wxString
const &)*arg2
,arg3
,arg4
);
11590 wxPyEndAllowThreads(__tstate
);
11591 if (PyErr_Occurred()) SWIG_fail
;
11594 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11610 static PyObject
*_wrap_Image_LoadMimeFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11611 PyObject
*resultobj
;
11612 wxImage
*arg1
= (wxImage
*) 0 ;
11613 wxString
*arg2
= 0 ;
11614 wxString
*arg3
= 0 ;
11615 int arg4
= (int) -1 ;
11617 bool temp2
= false ;
11618 bool temp3
= false ;
11619 PyObject
* obj0
= 0 ;
11620 PyObject
* obj1
= 0 ;
11621 PyObject
* obj2
= 0 ;
11622 PyObject
* obj3
= 0 ;
11623 char *kwnames
[] = {
11624 (char *) "self",(char *) "name",(char *) "mimetype",(char *) "index", NULL
11627 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Image_LoadMimeFile",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11628 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
11629 if (SWIG_arg_fail(1)) SWIG_fail
;
11631 arg2
= wxString_in_helper(obj1
);
11632 if (arg2
== NULL
) SWIG_fail
;
11636 arg3
= wxString_in_helper(obj2
);
11637 if (arg3
== NULL
) SWIG_fail
;
11642 arg4
= (int)(SWIG_As_int(obj3
));
11643 if (SWIG_arg_fail(4)) SWIG_fail
;
11647 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11648 result
= (bool)(arg1
)->LoadFile((wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
);
11650 wxPyEndAllowThreads(__tstate
);
11651 if (PyErr_Occurred()) SWIG_fail
;
11654 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11678 static PyObject
*_wrap_Image_SaveFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11679 PyObject
*resultobj
;
11680 wxImage
*arg1
= (wxImage
*) 0 ;
11681 wxString
*arg2
= 0 ;
11684 bool temp2
= false ;
11685 PyObject
* obj0
= 0 ;
11686 PyObject
* obj1
= 0 ;
11687 PyObject
* obj2
= 0 ;
11688 char *kwnames
[] = {
11689 (char *) "self",(char *) "name",(char *) "type", NULL
11692 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_SaveFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11693 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
11694 if (SWIG_arg_fail(1)) SWIG_fail
;
11696 arg2
= wxString_in_helper(obj1
);
11697 if (arg2
== NULL
) SWIG_fail
;
11701 arg3
= (int)(SWIG_As_int(obj2
));
11702 if (SWIG_arg_fail(3)) SWIG_fail
;
11705 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11706 result
= (bool)(arg1
)->SaveFile((wxString
const &)*arg2
,arg3
);
11708 wxPyEndAllowThreads(__tstate
);
11709 if (PyErr_Occurred()) SWIG_fail
;
11712 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11728 static PyObject
*_wrap_Image_SaveMimeFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11729 PyObject
*resultobj
;
11730 wxImage
*arg1
= (wxImage
*) 0 ;
11731 wxString
*arg2
= 0 ;
11732 wxString
*arg3
= 0 ;
11734 bool temp2
= false ;
11735 bool temp3
= false ;
11736 PyObject
* obj0
= 0 ;
11737 PyObject
* obj1
= 0 ;
11738 PyObject
* obj2
= 0 ;
11739 char *kwnames
[] = {
11740 (char *) "self",(char *) "name",(char *) "mimetype", NULL
11743 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_SaveMimeFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11744 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
11745 if (SWIG_arg_fail(1)) SWIG_fail
;
11747 arg2
= wxString_in_helper(obj1
);
11748 if (arg2
== NULL
) SWIG_fail
;
11752 arg3
= wxString_in_helper(obj2
);
11753 if (arg3
== NULL
) SWIG_fail
;
11757 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11758 result
= (bool)(arg1
)->SaveFile((wxString
const &)*arg2
,(wxString
const &)*arg3
);
11760 wxPyEndAllowThreads(__tstate
);
11761 if (PyErr_Occurred()) SWIG_fail
;
11764 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11788 static PyObject
*_wrap_Image_CanReadStream(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11789 PyObject
*resultobj
;
11790 wxInputStream
*arg1
= 0 ;
11792 wxPyInputStream
*temp1
;
11794 PyObject
* obj0
= 0 ;
11795 char *kwnames
[] = {
11796 (char *) "stream", NULL
11799 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_CanReadStream",kwnames
,&obj0
)) goto fail
;
11801 if (wxPyConvertSwigPtr(obj0
, (void **)&temp1
, wxT("wxPyInputStream"))) {
11802 arg1
= temp1
->m_wxis
;
11805 PyErr_Clear(); // clear the failure of the wxPyConvert above
11806 arg1
= wxPyCBInputStream_create(obj0
, false);
11807 if (arg1
== NULL
) {
11808 PyErr_SetString(PyExc_TypeError
, "Expected wxInputStream or Python file-like object.");
11815 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11816 result
= (bool)wxImage::CanRead(*arg1
);
11818 wxPyEndAllowThreads(__tstate
);
11819 if (PyErr_Occurred()) SWIG_fail
;
11822 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11838 static PyObject
*_wrap_Image_LoadStream(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11839 PyObject
*resultobj
;
11840 wxImage
*arg1
= (wxImage
*) 0 ;
11841 wxInputStream
*arg2
= 0 ;
11842 long arg3
= (long) wxBITMAP_TYPE_ANY
;
11843 int arg4
= (int) -1 ;
11845 wxPyInputStream
*temp2
;
11847 PyObject
* obj0
= 0 ;
11848 PyObject
* obj1
= 0 ;
11849 PyObject
* obj2
= 0 ;
11850 PyObject
* obj3
= 0 ;
11851 char *kwnames
[] = {
11852 (char *) "self",(char *) "stream",(char *) "type",(char *) "index", NULL
11855 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:Image_LoadStream",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11856 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
11857 if (SWIG_arg_fail(1)) SWIG_fail
;
11859 if (wxPyConvertSwigPtr(obj1
, (void **)&temp2
, wxT("wxPyInputStream"))) {
11860 arg2
= temp2
->m_wxis
;
11863 PyErr_Clear(); // clear the failure of the wxPyConvert above
11864 arg2
= wxPyCBInputStream_create(obj1
, false);
11865 if (arg2
== NULL
) {
11866 PyErr_SetString(PyExc_TypeError
, "Expected wxInputStream or Python file-like object.");
11874 arg3
= (long)(SWIG_As_long(obj2
));
11875 if (SWIG_arg_fail(3)) SWIG_fail
;
11880 arg4
= (int)(SWIG_As_int(obj3
));
11881 if (SWIG_arg_fail(4)) SWIG_fail
;
11885 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11886 result
= (bool)(arg1
)->LoadFile(*arg2
,arg3
,arg4
);
11888 wxPyEndAllowThreads(__tstate
);
11889 if (PyErr_Occurred()) SWIG_fail
;
11892 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11908 static PyObject
*_wrap_Image_LoadMimeStream(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11909 PyObject
*resultobj
;
11910 wxImage
*arg1
= (wxImage
*) 0 ;
11911 wxInputStream
*arg2
= 0 ;
11912 wxString
*arg3
= 0 ;
11913 int arg4
= (int) -1 ;
11915 wxPyInputStream
*temp2
;
11917 bool temp3
= false ;
11918 PyObject
* obj0
= 0 ;
11919 PyObject
* obj1
= 0 ;
11920 PyObject
* obj2
= 0 ;
11921 PyObject
* obj3
= 0 ;
11922 char *kwnames
[] = {
11923 (char *) "self",(char *) "stream",(char *) "mimetype",(char *) "index", NULL
11926 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Image_LoadMimeStream",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11927 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
11928 if (SWIG_arg_fail(1)) SWIG_fail
;
11930 if (wxPyConvertSwigPtr(obj1
, (void **)&temp2
, wxT("wxPyInputStream"))) {
11931 arg2
= temp2
->m_wxis
;
11934 PyErr_Clear(); // clear the failure of the wxPyConvert above
11935 arg2
= wxPyCBInputStream_create(obj1
, false);
11936 if (arg2
== NULL
) {
11937 PyErr_SetString(PyExc_TypeError
, "Expected wxInputStream or Python file-like object.");
11944 arg3
= wxString_in_helper(obj2
);
11945 if (arg3
== NULL
) SWIG_fail
;
11950 arg4
= (int)(SWIG_As_int(obj3
));
11951 if (SWIG_arg_fail(4)) SWIG_fail
;
11955 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11956 result
= (bool)(arg1
)->LoadFile(*arg2
,(wxString
const &)*arg3
,arg4
);
11958 wxPyEndAllowThreads(__tstate
);
11959 if (PyErr_Occurred()) SWIG_fail
;
11962 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11986 static PyObject
*_wrap_Image_Ok(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11987 PyObject
*resultobj
;
11988 wxImage
*arg1
= (wxImage
*) 0 ;
11990 PyObject
* obj0
= 0 ;
11991 char *kwnames
[] = {
11992 (char *) "self", NULL
11995 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_Ok",kwnames
,&obj0
)) goto fail
;
11996 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
11997 if (SWIG_arg_fail(1)) SWIG_fail
;
11999 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12000 result
= (bool)(arg1
)->Ok();
12002 wxPyEndAllowThreads(__tstate
);
12003 if (PyErr_Occurred()) SWIG_fail
;
12006 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12014 static PyObject
*_wrap_Image_GetWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12015 PyObject
*resultobj
;
12016 wxImage
*arg1
= (wxImage
*) 0 ;
12018 PyObject
* obj0
= 0 ;
12019 char *kwnames
[] = {
12020 (char *) "self", NULL
12023 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetWidth",kwnames
,&obj0
)) goto fail
;
12024 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12025 if (SWIG_arg_fail(1)) SWIG_fail
;
12027 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12028 result
= (int)(arg1
)->GetWidth();
12030 wxPyEndAllowThreads(__tstate
);
12031 if (PyErr_Occurred()) SWIG_fail
;
12034 resultobj
= SWIG_From_int((int)(result
));
12042 static PyObject
*_wrap_Image_GetHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12043 PyObject
*resultobj
;
12044 wxImage
*arg1
= (wxImage
*) 0 ;
12046 PyObject
* obj0
= 0 ;
12047 char *kwnames
[] = {
12048 (char *) "self", NULL
12051 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetHeight",kwnames
,&obj0
)) goto fail
;
12052 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12053 if (SWIG_arg_fail(1)) SWIG_fail
;
12055 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12056 result
= (int)(arg1
)->GetHeight();
12058 wxPyEndAllowThreads(__tstate
);
12059 if (PyErr_Occurred()) SWIG_fail
;
12062 resultobj
= SWIG_From_int((int)(result
));
12070 static PyObject
*_wrap_Image_GetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12071 PyObject
*resultobj
;
12072 wxImage
*arg1
= (wxImage
*) 0 ;
12074 PyObject
* obj0
= 0 ;
12075 char *kwnames
[] = {
12076 (char *) "self", NULL
12079 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetSize",kwnames
,&obj0
)) goto fail
;
12080 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12081 if (SWIG_arg_fail(1)) SWIG_fail
;
12083 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12084 result
= wxImage_GetSize(arg1
);
12086 wxPyEndAllowThreads(__tstate
);
12087 if (PyErr_Occurred()) SWIG_fail
;
12090 wxSize
* resultptr
;
12091 resultptr
= new wxSize((wxSize
&)(result
));
12092 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
12100 static PyObject
*_wrap_Image_GetSubImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12101 PyObject
*resultobj
;
12102 wxImage
*arg1
= (wxImage
*) 0 ;
12104 SwigValueWrapper
<wxImage
> result
;
12106 PyObject
* obj0
= 0 ;
12107 PyObject
* obj1
= 0 ;
12108 char *kwnames
[] = {
12109 (char *) "self",(char *) "rect", NULL
12112 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_GetSubImage",kwnames
,&obj0
,&obj1
)) goto fail
;
12113 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12114 if (SWIG_arg_fail(1)) SWIG_fail
;
12117 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
12120 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12121 result
= (arg1
)->GetSubImage((wxRect
const &)*arg2
);
12123 wxPyEndAllowThreads(__tstate
);
12124 if (PyErr_Occurred()) SWIG_fail
;
12127 wxImage
* resultptr
;
12128 resultptr
= new wxImage((wxImage
&)(result
));
12129 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
12137 static PyObject
*_wrap_Image_Copy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12138 PyObject
*resultobj
;
12139 wxImage
*arg1
= (wxImage
*) 0 ;
12140 SwigValueWrapper
<wxImage
> result
;
12141 PyObject
* obj0
= 0 ;
12142 char *kwnames
[] = {
12143 (char *) "self", NULL
12146 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_Copy",kwnames
,&obj0
)) goto fail
;
12147 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12148 if (SWIG_arg_fail(1)) SWIG_fail
;
12150 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12151 result
= (arg1
)->Copy();
12153 wxPyEndAllowThreads(__tstate
);
12154 if (PyErr_Occurred()) SWIG_fail
;
12157 wxImage
* resultptr
;
12158 resultptr
= new wxImage((wxImage
&)(result
));
12159 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
12167 static PyObject
*_wrap_Image_Paste(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12168 PyObject
*resultobj
;
12169 wxImage
*arg1
= (wxImage
*) 0 ;
12170 wxImage
*arg2
= 0 ;
12173 PyObject
* obj0
= 0 ;
12174 PyObject
* obj1
= 0 ;
12175 PyObject
* obj2
= 0 ;
12176 PyObject
* obj3
= 0 ;
12177 char *kwnames
[] = {
12178 (char *) "self",(char *) "image",(char *) "x",(char *) "y", NULL
12181 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Image_Paste",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
12182 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12183 if (SWIG_arg_fail(1)) SWIG_fail
;
12185 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12186 if (SWIG_arg_fail(2)) SWIG_fail
;
12187 if (arg2
== NULL
) {
12188 SWIG_null_ref("wxImage");
12190 if (SWIG_arg_fail(2)) SWIG_fail
;
12193 arg3
= (int)(SWIG_As_int(obj2
));
12194 if (SWIG_arg_fail(3)) SWIG_fail
;
12197 arg4
= (int)(SWIG_As_int(obj3
));
12198 if (SWIG_arg_fail(4)) SWIG_fail
;
12201 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12202 (arg1
)->Paste((wxImage
const &)*arg2
,arg3
,arg4
);
12204 wxPyEndAllowThreads(__tstate
);
12205 if (PyErr_Occurred()) SWIG_fail
;
12207 Py_INCREF(Py_None
); resultobj
= Py_None
;
12214 static PyObject
*_wrap_Image_GetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12215 PyObject
*resultobj
;
12216 wxImage
*arg1
= (wxImage
*) 0 ;
12218 PyObject
* obj0
= 0 ;
12219 char *kwnames
[] = {
12220 (char *) "self", NULL
12223 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetData",kwnames
,&obj0
)) goto fail
;
12224 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12225 if (SWIG_arg_fail(1)) SWIG_fail
;
12227 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12228 result
= (PyObject
*)wxImage_GetData(arg1
);
12230 wxPyEndAllowThreads(__tstate
);
12231 if (PyErr_Occurred()) SWIG_fail
;
12233 resultobj
= result
;
12240 static PyObject
*_wrap_Image_SetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12241 PyObject
*resultobj
;
12242 wxImage
*arg1
= (wxImage
*) 0 ;
12243 PyObject
*arg2
= (PyObject
*) 0 ;
12244 PyObject
* obj0
= 0 ;
12245 PyObject
* obj1
= 0 ;
12246 char *kwnames
[] = {
12247 (char *) "self",(char *) "data", NULL
12250 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
12251 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12252 if (SWIG_arg_fail(1)) SWIG_fail
;
12255 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12256 wxImage_SetData(arg1
,arg2
);
12258 wxPyEndAllowThreads(__tstate
);
12259 if (PyErr_Occurred()) SWIG_fail
;
12261 Py_INCREF(Py_None
); resultobj
= Py_None
;
12268 static PyObject
*_wrap_Image_GetDataBuffer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12269 PyObject
*resultobj
;
12270 wxImage
*arg1
= (wxImage
*) 0 ;
12272 PyObject
* obj0
= 0 ;
12273 char *kwnames
[] = {
12274 (char *) "self", NULL
12277 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetDataBuffer",kwnames
,&obj0
)) goto fail
;
12278 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12279 if (SWIG_arg_fail(1)) SWIG_fail
;
12281 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12282 result
= (PyObject
*)wxImage_GetDataBuffer(arg1
);
12284 wxPyEndAllowThreads(__tstate
);
12285 if (PyErr_Occurred()) SWIG_fail
;
12287 resultobj
= result
;
12294 static PyObject
*_wrap_Image_SetDataBuffer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12295 PyObject
*resultobj
;
12296 wxImage
*arg1
= (wxImage
*) 0 ;
12297 PyObject
*arg2
= (PyObject
*) 0 ;
12298 PyObject
* obj0
= 0 ;
12299 PyObject
* obj1
= 0 ;
12300 char *kwnames
[] = {
12301 (char *) "self",(char *) "data", NULL
12304 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_SetDataBuffer",kwnames
,&obj0
,&obj1
)) goto fail
;
12305 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12306 if (SWIG_arg_fail(1)) SWIG_fail
;
12309 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12310 wxImage_SetDataBuffer(arg1
,arg2
);
12312 wxPyEndAllowThreads(__tstate
);
12313 if (PyErr_Occurred()) SWIG_fail
;
12315 Py_INCREF(Py_None
); resultobj
= Py_None
;
12322 static PyObject
*_wrap_Image_GetAlphaData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12323 PyObject
*resultobj
;
12324 wxImage
*arg1
= (wxImage
*) 0 ;
12326 PyObject
* obj0
= 0 ;
12327 char *kwnames
[] = {
12328 (char *) "self", NULL
12331 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetAlphaData",kwnames
,&obj0
)) goto fail
;
12332 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12333 if (SWIG_arg_fail(1)) SWIG_fail
;
12335 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12336 result
= (PyObject
*)wxImage_GetAlphaData(arg1
);
12338 wxPyEndAllowThreads(__tstate
);
12339 if (PyErr_Occurred()) SWIG_fail
;
12341 resultobj
= result
;
12348 static PyObject
*_wrap_Image_SetAlphaData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12349 PyObject
*resultobj
;
12350 wxImage
*arg1
= (wxImage
*) 0 ;
12351 PyObject
*arg2
= (PyObject
*) 0 ;
12352 PyObject
* obj0
= 0 ;
12353 PyObject
* obj1
= 0 ;
12354 char *kwnames
[] = {
12355 (char *) "self",(char *) "data", NULL
12358 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_SetAlphaData",kwnames
,&obj0
,&obj1
)) goto fail
;
12359 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12360 if (SWIG_arg_fail(1)) SWIG_fail
;
12363 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12364 wxImage_SetAlphaData(arg1
,arg2
);
12366 wxPyEndAllowThreads(__tstate
);
12367 if (PyErr_Occurred()) SWIG_fail
;
12369 Py_INCREF(Py_None
); resultobj
= Py_None
;
12376 static PyObject
*_wrap_Image_GetAlphaBuffer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12377 PyObject
*resultobj
;
12378 wxImage
*arg1
= (wxImage
*) 0 ;
12380 PyObject
* obj0
= 0 ;
12381 char *kwnames
[] = {
12382 (char *) "self", NULL
12385 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetAlphaBuffer",kwnames
,&obj0
)) goto fail
;
12386 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12387 if (SWIG_arg_fail(1)) SWIG_fail
;
12389 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12390 result
= (PyObject
*)wxImage_GetAlphaBuffer(arg1
);
12392 wxPyEndAllowThreads(__tstate
);
12393 if (PyErr_Occurred()) SWIG_fail
;
12395 resultobj
= result
;
12402 static PyObject
*_wrap_Image_SetAlphaBuffer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12403 PyObject
*resultobj
;
12404 wxImage
*arg1
= (wxImage
*) 0 ;
12405 PyObject
*arg2
= (PyObject
*) 0 ;
12406 PyObject
* obj0
= 0 ;
12407 PyObject
* obj1
= 0 ;
12408 char *kwnames
[] = {
12409 (char *) "self",(char *) "data", NULL
12412 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_SetAlphaBuffer",kwnames
,&obj0
,&obj1
)) goto fail
;
12413 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12414 if (SWIG_arg_fail(1)) SWIG_fail
;
12417 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12418 wxImage_SetAlphaBuffer(arg1
,arg2
);
12420 wxPyEndAllowThreads(__tstate
);
12421 if (PyErr_Occurred()) SWIG_fail
;
12423 Py_INCREF(Py_None
); resultobj
= Py_None
;
12430 static PyObject
*_wrap_Image_SetMaskColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12431 PyObject
*resultobj
;
12432 wxImage
*arg1
= (wxImage
*) 0 ;
12433 unsigned char arg2
;
12434 unsigned char arg3
;
12435 unsigned char arg4
;
12436 PyObject
* obj0
= 0 ;
12437 PyObject
* obj1
= 0 ;
12438 PyObject
* obj2
= 0 ;
12439 PyObject
* obj3
= 0 ;
12440 char *kwnames
[] = {
12441 (char *) "self",(char *) "r",(char *) "g",(char *) "b", NULL
12444 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Image_SetMaskColour",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
12445 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12446 if (SWIG_arg_fail(1)) SWIG_fail
;
12448 arg2
= (unsigned char)(SWIG_As_unsigned_SS_char(obj1
));
12449 if (SWIG_arg_fail(2)) SWIG_fail
;
12452 arg3
= (unsigned char)(SWIG_As_unsigned_SS_char(obj2
));
12453 if (SWIG_arg_fail(3)) SWIG_fail
;
12456 arg4
= (unsigned char)(SWIG_As_unsigned_SS_char(obj3
));
12457 if (SWIG_arg_fail(4)) SWIG_fail
;
12460 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12461 (arg1
)->SetMaskColour(arg2
,arg3
,arg4
);
12463 wxPyEndAllowThreads(__tstate
);
12464 if (PyErr_Occurred()) SWIG_fail
;
12466 Py_INCREF(Py_None
); resultobj
= Py_None
;
12473 static PyObject
*_wrap_Image_GetMaskRed(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12474 PyObject
*resultobj
;
12475 wxImage
*arg1
= (wxImage
*) 0 ;
12476 unsigned char result
;
12477 PyObject
* obj0
= 0 ;
12478 char *kwnames
[] = {
12479 (char *) "self", NULL
12482 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetMaskRed",kwnames
,&obj0
)) goto fail
;
12483 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12484 if (SWIG_arg_fail(1)) SWIG_fail
;
12486 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12487 result
= (unsigned char)(arg1
)->GetMaskRed();
12489 wxPyEndAllowThreads(__tstate
);
12490 if (PyErr_Occurred()) SWIG_fail
;
12493 resultobj
= SWIG_From_unsigned_SS_char((unsigned char)(result
));
12501 static PyObject
*_wrap_Image_GetMaskGreen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12502 PyObject
*resultobj
;
12503 wxImage
*arg1
= (wxImage
*) 0 ;
12504 unsigned char result
;
12505 PyObject
* obj0
= 0 ;
12506 char *kwnames
[] = {
12507 (char *) "self", NULL
12510 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetMaskGreen",kwnames
,&obj0
)) goto fail
;
12511 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12512 if (SWIG_arg_fail(1)) SWIG_fail
;
12514 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12515 result
= (unsigned char)(arg1
)->GetMaskGreen();
12517 wxPyEndAllowThreads(__tstate
);
12518 if (PyErr_Occurred()) SWIG_fail
;
12521 resultobj
= SWIG_From_unsigned_SS_char((unsigned char)(result
));
12529 static PyObject
*_wrap_Image_GetMaskBlue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12530 PyObject
*resultobj
;
12531 wxImage
*arg1
= (wxImage
*) 0 ;
12532 unsigned char result
;
12533 PyObject
* obj0
= 0 ;
12534 char *kwnames
[] = {
12535 (char *) "self", NULL
12538 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetMaskBlue",kwnames
,&obj0
)) goto fail
;
12539 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12540 if (SWIG_arg_fail(1)) SWIG_fail
;
12542 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12543 result
= (unsigned char)(arg1
)->GetMaskBlue();
12545 wxPyEndAllowThreads(__tstate
);
12546 if (PyErr_Occurred()) SWIG_fail
;
12549 resultobj
= SWIG_From_unsigned_SS_char((unsigned char)(result
));
12557 static PyObject
*_wrap_Image_SetMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12558 PyObject
*resultobj
;
12559 wxImage
*arg1
= (wxImage
*) 0 ;
12560 bool arg2
= (bool) true ;
12561 PyObject
* obj0
= 0 ;
12562 PyObject
* obj1
= 0 ;
12563 char *kwnames
[] = {
12564 (char *) "self",(char *) "mask", NULL
12567 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Image_SetMask",kwnames
,&obj0
,&obj1
)) goto fail
;
12568 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12569 if (SWIG_arg_fail(1)) SWIG_fail
;
12572 arg2
= (bool)(SWIG_As_bool(obj1
));
12573 if (SWIG_arg_fail(2)) SWIG_fail
;
12577 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12578 (arg1
)->SetMask(arg2
);
12580 wxPyEndAllowThreads(__tstate
);
12581 if (PyErr_Occurred()) SWIG_fail
;
12583 Py_INCREF(Py_None
); resultobj
= Py_None
;
12590 static PyObject
*_wrap_Image_HasMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12591 PyObject
*resultobj
;
12592 wxImage
*arg1
= (wxImage
*) 0 ;
12594 PyObject
* obj0
= 0 ;
12595 char *kwnames
[] = {
12596 (char *) "self", NULL
12599 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_HasMask",kwnames
,&obj0
)) goto fail
;
12600 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12601 if (SWIG_arg_fail(1)) SWIG_fail
;
12603 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12604 result
= (bool)(arg1
)->HasMask();
12606 wxPyEndAllowThreads(__tstate
);
12607 if (PyErr_Occurred()) SWIG_fail
;
12610 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12618 static PyObject
*_wrap_Image_Rotate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12619 PyObject
*resultobj
;
12620 wxImage
*arg1
= (wxImage
*) 0 ;
12622 wxPoint
*arg3
= 0 ;
12623 bool arg4
= (bool) true ;
12624 wxPoint
*arg5
= (wxPoint
*) NULL
;
12625 SwigValueWrapper
<wxImage
> result
;
12627 PyObject
* obj0
= 0 ;
12628 PyObject
* obj1
= 0 ;
12629 PyObject
* obj2
= 0 ;
12630 PyObject
* obj3
= 0 ;
12631 PyObject
* obj4
= 0 ;
12632 char *kwnames
[] = {
12633 (char *) "self",(char *) "angle",(char *) "centre_of_rotation",(char *) "interpolating",(char *) "offset_after_rotation", NULL
12636 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:Image_Rotate",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
12637 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12638 if (SWIG_arg_fail(1)) SWIG_fail
;
12640 arg2
= (double)(SWIG_As_double(obj1
));
12641 if (SWIG_arg_fail(2)) SWIG_fail
;
12645 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
12649 arg4
= (bool)(SWIG_As_bool(obj3
));
12650 if (SWIG_arg_fail(4)) SWIG_fail
;
12654 SWIG_Python_ConvertPtr(obj4
, (void **)&arg5
, SWIGTYPE_p_wxPoint
, SWIG_POINTER_EXCEPTION
| 0);
12655 if (SWIG_arg_fail(5)) SWIG_fail
;
12658 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12659 result
= ((wxImage
const *)arg1
)->Rotate(arg2
,(wxPoint
const &)*arg3
,arg4
,arg5
);
12661 wxPyEndAllowThreads(__tstate
);
12662 if (PyErr_Occurred()) SWIG_fail
;
12665 wxImage
* resultptr
;
12666 resultptr
= new wxImage((wxImage
&)(result
));
12667 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
12675 static PyObject
*_wrap_Image_Rotate90(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12676 PyObject
*resultobj
;
12677 wxImage
*arg1
= (wxImage
*) 0 ;
12678 bool arg2
= (bool) true ;
12679 SwigValueWrapper
<wxImage
> result
;
12680 PyObject
* obj0
= 0 ;
12681 PyObject
* obj1
= 0 ;
12682 char *kwnames
[] = {
12683 (char *) "self",(char *) "clockwise", NULL
12686 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Image_Rotate90",kwnames
,&obj0
,&obj1
)) goto fail
;
12687 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12688 if (SWIG_arg_fail(1)) SWIG_fail
;
12691 arg2
= (bool)(SWIG_As_bool(obj1
));
12692 if (SWIG_arg_fail(2)) SWIG_fail
;
12696 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12697 result
= (arg1
)->Rotate90(arg2
);
12699 wxPyEndAllowThreads(__tstate
);
12700 if (PyErr_Occurred()) SWIG_fail
;
12703 wxImage
* resultptr
;
12704 resultptr
= new wxImage((wxImage
&)(result
));
12705 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
12713 static PyObject
*_wrap_Image_Mirror(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12714 PyObject
*resultobj
;
12715 wxImage
*arg1
= (wxImage
*) 0 ;
12716 bool arg2
= (bool) true ;
12717 SwigValueWrapper
<wxImage
> result
;
12718 PyObject
* obj0
= 0 ;
12719 PyObject
* obj1
= 0 ;
12720 char *kwnames
[] = {
12721 (char *) "self",(char *) "horizontally", NULL
12724 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Image_Mirror",kwnames
,&obj0
,&obj1
)) goto fail
;
12725 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12726 if (SWIG_arg_fail(1)) SWIG_fail
;
12729 arg2
= (bool)(SWIG_As_bool(obj1
));
12730 if (SWIG_arg_fail(2)) SWIG_fail
;
12734 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12735 result
= (arg1
)->Mirror(arg2
);
12737 wxPyEndAllowThreads(__tstate
);
12738 if (PyErr_Occurred()) SWIG_fail
;
12741 wxImage
* resultptr
;
12742 resultptr
= new wxImage((wxImage
&)(result
));
12743 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
12751 static PyObject
*_wrap_Image_Replace(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12752 PyObject
*resultobj
;
12753 wxImage
*arg1
= (wxImage
*) 0 ;
12754 unsigned char arg2
;
12755 unsigned char arg3
;
12756 unsigned char arg4
;
12757 unsigned char arg5
;
12758 unsigned char arg6
;
12759 unsigned char arg7
;
12760 PyObject
* obj0
= 0 ;
12761 PyObject
* obj1
= 0 ;
12762 PyObject
* obj2
= 0 ;
12763 PyObject
* obj3
= 0 ;
12764 PyObject
* obj4
= 0 ;
12765 PyObject
* obj5
= 0 ;
12766 PyObject
* obj6
= 0 ;
12767 char *kwnames
[] = {
12768 (char *) "self",(char *) "r1",(char *) "g1",(char *) "b1",(char *) "r2",(char *) "g2",(char *) "b2", NULL
12771 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:Image_Replace",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
12772 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12773 if (SWIG_arg_fail(1)) SWIG_fail
;
12775 arg2
= (unsigned char)(SWIG_As_unsigned_SS_char(obj1
));
12776 if (SWIG_arg_fail(2)) SWIG_fail
;
12779 arg3
= (unsigned char)(SWIG_As_unsigned_SS_char(obj2
));
12780 if (SWIG_arg_fail(3)) SWIG_fail
;
12783 arg4
= (unsigned char)(SWIG_As_unsigned_SS_char(obj3
));
12784 if (SWIG_arg_fail(4)) SWIG_fail
;
12787 arg5
= (unsigned char)(SWIG_As_unsigned_SS_char(obj4
));
12788 if (SWIG_arg_fail(5)) SWIG_fail
;
12791 arg6
= (unsigned char)(SWIG_As_unsigned_SS_char(obj5
));
12792 if (SWIG_arg_fail(6)) SWIG_fail
;
12795 arg7
= (unsigned char)(SWIG_As_unsigned_SS_char(obj6
));
12796 if (SWIG_arg_fail(7)) SWIG_fail
;
12799 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12800 (arg1
)->Replace(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
12802 wxPyEndAllowThreads(__tstate
);
12803 if (PyErr_Occurred()) SWIG_fail
;
12805 Py_INCREF(Py_None
); resultobj
= Py_None
;
12812 static PyObject
*_wrap_Image_ConvertToMono(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12813 PyObject
*resultobj
;
12814 wxImage
*arg1
= (wxImage
*) 0 ;
12815 unsigned char arg2
;
12816 unsigned char arg3
;
12817 unsigned char arg4
;
12818 SwigValueWrapper
<wxImage
> result
;
12819 PyObject
* obj0
= 0 ;
12820 PyObject
* obj1
= 0 ;
12821 PyObject
* obj2
= 0 ;
12822 PyObject
* obj3
= 0 ;
12823 char *kwnames
[] = {
12824 (char *) "self",(char *) "r",(char *) "g",(char *) "b", NULL
12827 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Image_ConvertToMono",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
12828 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12829 if (SWIG_arg_fail(1)) SWIG_fail
;
12831 arg2
= (unsigned char)(SWIG_As_unsigned_SS_char(obj1
));
12832 if (SWIG_arg_fail(2)) SWIG_fail
;
12835 arg3
= (unsigned char)(SWIG_As_unsigned_SS_char(obj2
));
12836 if (SWIG_arg_fail(3)) SWIG_fail
;
12839 arg4
= (unsigned char)(SWIG_As_unsigned_SS_char(obj3
));
12840 if (SWIG_arg_fail(4)) SWIG_fail
;
12843 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12844 result
= ((wxImage
const *)arg1
)->ConvertToMono(arg2
,arg3
,arg4
);
12846 wxPyEndAllowThreads(__tstate
);
12847 if (PyErr_Occurred()) SWIG_fail
;
12850 wxImage
* resultptr
;
12851 resultptr
= new wxImage((wxImage
&)(result
));
12852 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
12860 static PyObject
*_wrap_Image_SetOption(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12861 PyObject
*resultobj
;
12862 wxImage
*arg1
= (wxImage
*) 0 ;
12863 wxString
*arg2
= 0 ;
12864 wxString
*arg3
= 0 ;
12865 bool temp2
= false ;
12866 bool temp3
= false ;
12867 PyObject
* obj0
= 0 ;
12868 PyObject
* obj1
= 0 ;
12869 PyObject
* obj2
= 0 ;
12870 char *kwnames
[] = {
12871 (char *) "self",(char *) "name",(char *) "value", NULL
12874 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_SetOption",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12875 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12876 if (SWIG_arg_fail(1)) SWIG_fail
;
12878 arg2
= wxString_in_helper(obj1
);
12879 if (arg2
== NULL
) SWIG_fail
;
12883 arg3
= wxString_in_helper(obj2
);
12884 if (arg3
== NULL
) SWIG_fail
;
12888 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12889 (arg1
)->SetOption((wxString
const &)*arg2
,(wxString
const &)*arg3
);
12891 wxPyEndAllowThreads(__tstate
);
12892 if (PyErr_Occurred()) SWIG_fail
;
12894 Py_INCREF(Py_None
); resultobj
= Py_None
;
12917 static PyObject
*_wrap_Image_SetOptionInt(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12918 PyObject
*resultobj
;
12919 wxImage
*arg1
= (wxImage
*) 0 ;
12920 wxString
*arg2
= 0 ;
12922 bool temp2
= false ;
12923 PyObject
* obj0
= 0 ;
12924 PyObject
* obj1
= 0 ;
12925 PyObject
* obj2
= 0 ;
12926 char *kwnames
[] = {
12927 (char *) "self",(char *) "name",(char *) "value", NULL
12930 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_SetOptionInt",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12931 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12932 if (SWIG_arg_fail(1)) SWIG_fail
;
12934 arg2
= wxString_in_helper(obj1
);
12935 if (arg2
== NULL
) SWIG_fail
;
12939 arg3
= (int)(SWIG_As_int(obj2
));
12940 if (SWIG_arg_fail(3)) SWIG_fail
;
12943 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12944 (arg1
)->SetOption((wxString
const &)*arg2
,arg3
);
12946 wxPyEndAllowThreads(__tstate
);
12947 if (PyErr_Occurred()) SWIG_fail
;
12949 Py_INCREF(Py_None
); resultobj
= Py_None
;
12964 static PyObject
*_wrap_Image_GetOption(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12965 PyObject
*resultobj
;
12966 wxImage
*arg1
= (wxImage
*) 0 ;
12967 wxString
*arg2
= 0 ;
12969 bool temp2
= false ;
12970 PyObject
* obj0
= 0 ;
12971 PyObject
* obj1
= 0 ;
12972 char *kwnames
[] = {
12973 (char *) "self",(char *) "name", NULL
12976 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_GetOption",kwnames
,&obj0
,&obj1
)) goto fail
;
12977 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12978 if (SWIG_arg_fail(1)) SWIG_fail
;
12980 arg2
= wxString_in_helper(obj1
);
12981 if (arg2
== NULL
) SWIG_fail
;
12985 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12986 result
= ((wxImage
const *)arg1
)->GetOption((wxString
const &)*arg2
);
12988 wxPyEndAllowThreads(__tstate
);
12989 if (PyErr_Occurred()) SWIG_fail
;
12993 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12995 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13012 static PyObject
*_wrap_Image_GetOptionInt(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13013 PyObject
*resultobj
;
13014 wxImage
*arg1
= (wxImage
*) 0 ;
13015 wxString
*arg2
= 0 ;
13017 bool temp2
= false ;
13018 PyObject
* obj0
= 0 ;
13019 PyObject
* obj1
= 0 ;
13020 char *kwnames
[] = {
13021 (char *) "self",(char *) "name", NULL
13024 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_GetOptionInt",kwnames
,&obj0
,&obj1
)) goto fail
;
13025 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
13026 if (SWIG_arg_fail(1)) SWIG_fail
;
13028 arg2
= wxString_in_helper(obj1
);
13029 if (arg2
== NULL
) SWIG_fail
;
13033 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13034 result
= (int)((wxImage
const *)arg1
)->GetOptionInt((wxString
const &)*arg2
);
13036 wxPyEndAllowThreads(__tstate
);
13037 if (PyErr_Occurred()) SWIG_fail
;
13040 resultobj
= SWIG_From_int((int)(result
));
13056 static PyObject
*_wrap_Image_HasOption(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13057 PyObject
*resultobj
;
13058 wxImage
*arg1
= (wxImage
*) 0 ;
13059 wxString
*arg2
= 0 ;
13061 bool temp2
= false ;
13062 PyObject
* obj0
= 0 ;
13063 PyObject
* obj1
= 0 ;
13064 char *kwnames
[] = {
13065 (char *) "self",(char *) "name", NULL
13068 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_HasOption",kwnames
,&obj0
,&obj1
)) goto fail
;
13069 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
13070 if (SWIG_arg_fail(1)) SWIG_fail
;
13072 arg2
= wxString_in_helper(obj1
);
13073 if (arg2
== NULL
) SWIG_fail
;
13077 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13078 result
= (bool)((wxImage
const *)arg1
)->HasOption((wxString
const &)*arg2
);
13080 wxPyEndAllowThreads(__tstate
);
13081 if (PyErr_Occurred()) SWIG_fail
;
13084 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13100 static PyObject
*_wrap_Image_CountColours(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13101 PyObject
*resultobj
;
13102 wxImage
*arg1
= (wxImage
*) 0 ;
13103 unsigned long arg2
= (unsigned long) (unsigned long) -1 ;
13104 unsigned long result
;
13105 PyObject
* obj0
= 0 ;
13106 PyObject
* obj1
= 0 ;
13107 char *kwnames
[] = {
13108 (char *) "self",(char *) "stopafter", NULL
13111 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Image_CountColours",kwnames
,&obj0
,&obj1
)) goto fail
;
13112 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
13113 if (SWIG_arg_fail(1)) SWIG_fail
;
13116 arg2
= (unsigned long)(SWIG_As_unsigned_SS_long(obj1
));
13117 if (SWIG_arg_fail(2)) SWIG_fail
;
13121 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13122 result
= (unsigned long)(arg1
)->CountColours(arg2
);
13124 wxPyEndAllowThreads(__tstate
);
13125 if (PyErr_Occurred()) SWIG_fail
;
13128 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
13136 static PyObject
*_wrap_Image_ComputeHistogram(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13137 PyObject
*resultobj
;
13138 wxImage
*arg1
= (wxImage
*) 0 ;
13139 wxImageHistogram
*arg2
= 0 ;
13140 unsigned long result
;
13141 PyObject
* obj0
= 0 ;
13142 PyObject
* obj1
= 0 ;
13143 char *kwnames
[] = {
13144 (char *) "self",(char *) "h", NULL
13147 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_ComputeHistogram",kwnames
,&obj0
,&obj1
)) goto fail
;
13148 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
13149 if (SWIG_arg_fail(1)) SWIG_fail
;
13151 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxImageHistogram
, SWIG_POINTER_EXCEPTION
| 0);
13152 if (SWIG_arg_fail(2)) SWIG_fail
;
13153 if (arg2
== NULL
) {
13154 SWIG_null_ref("wxImageHistogram");
13156 if (SWIG_arg_fail(2)) SWIG_fail
;
13159 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13160 result
= (unsigned long)(arg1
)->ComputeHistogram(*arg2
);
13162 wxPyEndAllowThreads(__tstate
);
13163 if (PyErr_Occurred()) SWIG_fail
;
13166 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
13174 static PyObject
*_wrap_Image_AddHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13175 PyObject
*resultobj
;
13176 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
13177 PyObject
* obj0
= 0 ;
13178 char *kwnames
[] = {
13179 (char *) "handler", NULL
13182 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_AddHandler",kwnames
,&obj0
)) goto fail
;
13183 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImageHandler
, SWIG_POINTER_EXCEPTION
| 0);
13184 if (SWIG_arg_fail(1)) SWIG_fail
;
13186 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13187 wxImage::AddHandler(arg1
);
13189 wxPyEndAllowThreads(__tstate
);
13190 if (PyErr_Occurred()) SWIG_fail
;
13192 Py_INCREF(Py_None
); resultobj
= Py_None
;
13199 static PyObject
*_wrap_Image_InsertHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13200 PyObject
*resultobj
;
13201 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
13202 PyObject
* obj0
= 0 ;
13203 char *kwnames
[] = {
13204 (char *) "handler", NULL
13207 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_InsertHandler",kwnames
,&obj0
)) goto fail
;
13208 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImageHandler
, SWIG_POINTER_EXCEPTION
| 0);
13209 if (SWIG_arg_fail(1)) SWIG_fail
;
13211 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13212 wxImage::InsertHandler(arg1
);
13214 wxPyEndAllowThreads(__tstate
);
13215 if (PyErr_Occurred()) SWIG_fail
;
13217 Py_INCREF(Py_None
); resultobj
= Py_None
;
13224 static PyObject
*_wrap_Image_RemoveHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13225 PyObject
*resultobj
;
13226 wxString
*arg1
= 0 ;
13228 bool temp1
= false ;
13229 PyObject
* obj0
= 0 ;
13230 char *kwnames
[] = {
13231 (char *) "name", NULL
13234 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_RemoveHandler",kwnames
,&obj0
)) goto fail
;
13236 arg1
= wxString_in_helper(obj0
);
13237 if (arg1
== NULL
) SWIG_fail
;
13241 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13242 result
= (bool)wxImage::RemoveHandler((wxString
const &)*arg1
);
13244 wxPyEndAllowThreads(__tstate
);
13245 if (PyErr_Occurred()) SWIG_fail
;
13248 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13264 static PyObject
*_wrap_Image_GetImageExtWildcard(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13265 PyObject
*resultobj
;
13267 char *kwnames
[] = {
13271 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Image_GetImageExtWildcard",kwnames
)) goto fail
;
13273 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13274 result
= wxImage::GetImageExtWildcard();
13276 wxPyEndAllowThreads(__tstate
);
13277 if (PyErr_Occurred()) SWIG_fail
;
13281 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13283 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13292 static PyObject
*_wrap_Image_ConvertToBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13293 PyObject
*resultobj
;
13294 wxImage
*arg1
= (wxImage
*) 0 ;
13295 int arg2
= (int) -1 ;
13297 PyObject
* obj0
= 0 ;
13298 PyObject
* obj1
= 0 ;
13299 char *kwnames
[] = {
13300 (char *) "self",(char *) "depth", NULL
13303 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Image_ConvertToBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
13304 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
13305 if (SWIG_arg_fail(1)) SWIG_fail
;
13308 arg2
= (int)(SWIG_As_int(obj1
));
13309 if (SWIG_arg_fail(2)) SWIG_fail
;
13313 if (!wxPyCheckForApp()) SWIG_fail
;
13314 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13315 result
= wxImage_ConvertToBitmap(arg1
,arg2
);
13317 wxPyEndAllowThreads(__tstate
);
13318 if (PyErr_Occurred()) SWIG_fail
;
13321 wxBitmap
* resultptr
;
13322 resultptr
= new wxBitmap((wxBitmap
&)(result
));
13323 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
13331 static PyObject
*_wrap_Image_ConvertToMonoBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13332 PyObject
*resultobj
;
13333 wxImage
*arg1
= (wxImage
*) 0 ;
13334 unsigned char arg2
;
13335 unsigned char arg3
;
13336 unsigned char arg4
;
13338 PyObject
* obj0
= 0 ;
13339 PyObject
* obj1
= 0 ;
13340 PyObject
* obj2
= 0 ;
13341 PyObject
* obj3
= 0 ;
13342 char *kwnames
[] = {
13343 (char *) "self",(char *) "red",(char *) "green",(char *) "blue", NULL
13346 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Image_ConvertToMonoBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
13347 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
13348 if (SWIG_arg_fail(1)) SWIG_fail
;
13350 arg2
= (unsigned char)(SWIG_As_unsigned_SS_char(obj1
));
13351 if (SWIG_arg_fail(2)) SWIG_fail
;
13354 arg3
= (unsigned char)(SWIG_As_unsigned_SS_char(obj2
));
13355 if (SWIG_arg_fail(3)) SWIG_fail
;
13358 arg4
= (unsigned char)(SWIG_As_unsigned_SS_char(obj3
));
13359 if (SWIG_arg_fail(4)) SWIG_fail
;
13362 if (!wxPyCheckForApp()) SWIG_fail
;
13363 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13364 result
= wxImage_ConvertToMonoBitmap(arg1
,arg2
,arg3
,arg4
);
13366 wxPyEndAllowThreads(__tstate
);
13367 if (PyErr_Occurred()) SWIG_fail
;
13370 wxBitmap
* resultptr
;
13371 resultptr
= new wxBitmap((wxBitmap
&)(result
));
13372 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
13380 static PyObject
* Image_swigregister(PyObject
*, PyObject
*args
) {
13382 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13383 SWIG_TypeClientData(SWIGTYPE_p_wxImage
, obj
);
13385 return Py_BuildValue((char *)"");
13387 static int _wrap_NullImage_set(PyObject
*) {
13388 PyErr_SetString(PyExc_TypeError
,"Variable NullImage is read-only.");
13393 static PyObject
*_wrap_NullImage_get(void) {
13396 pyobj
= SWIG_NewPointerObj((void *)(&wxNullImage
), SWIGTYPE_p_wxImage
, 0);
13401 static int _wrap_IMAGE_OPTION_FILENAME_set(PyObject
*) {
13402 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_FILENAME is read-only.");
13407 static PyObject
*_wrap_IMAGE_OPTION_FILENAME_get(void) {
13412 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_FILENAME
)->c_str(), (&wxPyIMAGE_OPTION_FILENAME
)->Len());
13414 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_FILENAME
)->c_str(), (&wxPyIMAGE_OPTION_FILENAME
)->Len());
13421 static int _wrap_IMAGE_OPTION_BMP_FORMAT_set(PyObject
*) {
13422 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_BMP_FORMAT is read-only.");
13427 static PyObject
*_wrap_IMAGE_OPTION_BMP_FORMAT_get(void) {
13432 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_BMP_FORMAT
)->c_str(), (&wxPyIMAGE_OPTION_BMP_FORMAT
)->Len());
13434 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_BMP_FORMAT
)->c_str(), (&wxPyIMAGE_OPTION_BMP_FORMAT
)->Len());
13441 static int _wrap_IMAGE_OPTION_CUR_HOTSPOT_X_set(PyObject
*) {
13442 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_CUR_HOTSPOT_X is read-only.");
13447 static PyObject
*_wrap_IMAGE_OPTION_CUR_HOTSPOT_X_get(void) {
13452 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_CUR_HOTSPOT_X
)->c_str(), (&wxPyIMAGE_OPTION_CUR_HOTSPOT_X
)->Len());
13454 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_CUR_HOTSPOT_X
)->c_str(), (&wxPyIMAGE_OPTION_CUR_HOTSPOT_X
)->Len());
13461 static int _wrap_IMAGE_OPTION_CUR_HOTSPOT_Y_set(PyObject
*) {
13462 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_CUR_HOTSPOT_Y is read-only.");
13467 static PyObject
*_wrap_IMAGE_OPTION_CUR_HOTSPOT_Y_get(void) {
13472 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_CUR_HOTSPOT_Y
)->c_str(), (&wxPyIMAGE_OPTION_CUR_HOTSPOT_Y
)->Len());
13474 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_CUR_HOTSPOT_Y
)->c_str(), (&wxPyIMAGE_OPTION_CUR_HOTSPOT_Y
)->Len());
13481 static int _wrap_IMAGE_OPTION_RESOLUTION_set(PyObject
*) {
13482 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_RESOLUTION is read-only.");
13487 static PyObject
*_wrap_IMAGE_OPTION_RESOLUTION_get(void) {
13492 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_RESOLUTION
)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTION
)->Len());
13494 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_RESOLUTION
)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTION
)->Len());
13501 static int _wrap_IMAGE_OPTION_RESOLUTIONX_set(PyObject
*) {
13502 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_RESOLUTIONX is read-only.");
13507 static PyObject
*_wrap_IMAGE_OPTION_RESOLUTIONX_get(void) {
13512 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_RESOLUTIONX
)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTIONX
)->Len());
13514 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_RESOLUTIONX
)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTIONX
)->Len());
13521 static int _wrap_IMAGE_OPTION_RESOLUTIONY_set(PyObject
*) {
13522 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_RESOLUTIONY is read-only.");
13527 static PyObject
*_wrap_IMAGE_OPTION_RESOLUTIONY_get(void) {
13532 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_RESOLUTIONY
)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTIONY
)->Len());
13534 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_RESOLUTIONY
)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTIONY
)->Len());
13541 static int _wrap_IMAGE_OPTION_RESOLUTIONUNIT_set(PyObject
*) {
13542 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_RESOLUTIONUNIT is read-only.");
13547 static PyObject
*_wrap_IMAGE_OPTION_RESOLUTIONUNIT_get(void) {
13552 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_RESOLUTIONUNIT
)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTIONUNIT
)->Len());
13554 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_RESOLUTIONUNIT
)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTIONUNIT
)->Len());
13561 static int _wrap_IMAGE_OPTION_BITSPERSAMPLE_set(PyObject
*) {
13562 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_BITSPERSAMPLE is read-only.");
13567 static PyObject
*_wrap_IMAGE_OPTION_BITSPERSAMPLE_get(void) {
13572 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_BITSPERSAMPLE
)->c_str(), (&wxPyIMAGE_OPTION_BITSPERSAMPLE
)->Len());
13574 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_BITSPERSAMPLE
)->c_str(), (&wxPyIMAGE_OPTION_BITSPERSAMPLE
)->Len());
13581 static int _wrap_IMAGE_OPTION_SAMPLESPERPIXEL_set(PyObject
*) {
13582 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_SAMPLESPERPIXEL is read-only.");
13587 static PyObject
*_wrap_IMAGE_OPTION_SAMPLESPERPIXEL_get(void) {
13592 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_SAMPLESPERPIXEL
)->c_str(), (&wxPyIMAGE_OPTION_SAMPLESPERPIXEL
)->Len());
13594 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_SAMPLESPERPIXEL
)->c_str(), (&wxPyIMAGE_OPTION_SAMPLESPERPIXEL
)->Len());
13601 static int _wrap_IMAGE_OPTION_COMPRESSION_set(PyObject
*) {
13602 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_COMPRESSION is read-only.");
13607 static PyObject
*_wrap_IMAGE_OPTION_COMPRESSION_get(void) {
13612 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_COMPRESSION
)->c_str(), (&wxPyIMAGE_OPTION_COMPRESSION
)->Len());
13614 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_COMPRESSION
)->c_str(), (&wxPyIMAGE_OPTION_COMPRESSION
)->Len());
13621 static int _wrap_IMAGE_OPTION_IMAGEDESCRIPTOR_set(PyObject
*) {
13622 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_IMAGEDESCRIPTOR is read-only.");
13627 static PyObject
*_wrap_IMAGE_OPTION_IMAGEDESCRIPTOR_get(void) {
13632 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_IMAGEDESCRIPTOR
)->c_str(), (&wxPyIMAGE_OPTION_IMAGEDESCRIPTOR
)->Len());
13634 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_IMAGEDESCRIPTOR
)->c_str(), (&wxPyIMAGE_OPTION_IMAGEDESCRIPTOR
)->Len());
13641 static PyObject
*_wrap_new_BMPHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13642 PyObject
*resultobj
;
13643 wxBMPHandler
*result
;
13644 char *kwnames
[] = {
13648 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_BMPHandler",kwnames
)) goto fail
;
13650 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13651 result
= (wxBMPHandler
*)new wxBMPHandler();
13653 wxPyEndAllowThreads(__tstate
);
13654 if (PyErr_Occurred()) SWIG_fail
;
13656 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBMPHandler
, 1);
13663 static PyObject
* BMPHandler_swigregister(PyObject
*, PyObject
*args
) {
13665 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13666 SWIG_TypeClientData(SWIGTYPE_p_wxBMPHandler
, obj
);
13668 return Py_BuildValue((char *)"");
13670 static PyObject
*_wrap_new_ICOHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13671 PyObject
*resultobj
;
13672 wxICOHandler
*result
;
13673 char *kwnames
[] = {
13677 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ICOHandler",kwnames
)) goto fail
;
13679 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13680 result
= (wxICOHandler
*)new wxICOHandler();
13682 wxPyEndAllowThreads(__tstate
);
13683 if (PyErr_Occurred()) SWIG_fail
;
13685 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxICOHandler
, 1);
13692 static PyObject
* ICOHandler_swigregister(PyObject
*, PyObject
*args
) {
13694 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13695 SWIG_TypeClientData(SWIGTYPE_p_wxICOHandler
, obj
);
13697 return Py_BuildValue((char *)"");
13699 static PyObject
*_wrap_new_CURHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13700 PyObject
*resultobj
;
13701 wxCURHandler
*result
;
13702 char *kwnames
[] = {
13706 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_CURHandler",kwnames
)) goto fail
;
13708 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13709 result
= (wxCURHandler
*)new wxCURHandler();
13711 wxPyEndAllowThreads(__tstate
);
13712 if (PyErr_Occurred()) SWIG_fail
;
13714 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCURHandler
, 1);
13721 static PyObject
* CURHandler_swigregister(PyObject
*, PyObject
*args
) {
13723 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13724 SWIG_TypeClientData(SWIGTYPE_p_wxCURHandler
, obj
);
13726 return Py_BuildValue((char *)"");
13728 static PyObject
*_wrap_new_ANIHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13729 PyObject
*resultobj
;
13730 wxANIHandler
*result
;
13731 char *kwnames
[] = {
13735 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ANIHandler",kwnames
)) goto fail
;
13737 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13738 result
= (wxANIHandler
*)new wxANIHandler();
13740 wxPyEndAllowThreads(__tstate
);
13741 if (PyErr_Occurred()) SWIG_fail
;
13743 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxANIHandler
, 1);
13750 static PyObject
* ANIHandler_swigregister(PyObject
*, PyObject
*args
) {
13752 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13753 SWIG_TypeClientData(SWIGTYPE_p_wxANIHandler
, obj
);
13755 return Py_BuildValue((char *)"");
13757 static PyObject
*_wrap_new_PNGHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13758 PyObject
*resultobj
;
13759 wxPNGHandler
*result
;
13760 char *kwnames
[] = {
13764 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PNGHandler",kwnames
)) goto fail
;
13766 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13767 result
= (wxPNGHandler
*)new wxPNGHandler();
13769 wxPyEndAllowThreads(__tstate
);
13770 if (PyErr_Occurred()) SWIG_fail
;
13772 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPNGHandler
, 1);
13779 static PyObject
* PNGHandler_swigregister(PyObject
*, PyObject
*args
) {
13781 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13782 SWIG_TypeClientData(SWIGTYPE_p_wxPNGHandler
, obj
);
13784 return Py_BuildValue((char *)"");
13786 static PyObject
*_wrap_new_GIFHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13787 PyObject
*resultobj
;
13788 wxGIFHandler
*result
;
13789 char *kwnames
[] = {
13793 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_GIFHandler",kwnames
)) goto fail
;
13795 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13796 result
= (wxGIFHandler
*)new wxGIFHandler();
13798 wxPyEndAllowThreads(__tstate
);
13799 if (PyErr_Occurred()) SWIG_fail
;
13801 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGIFHandler
, 1);
13808 static PyObject
* GIFHandler_swigregister(PyObject
*, PyObject
*args
) {
13810 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13811 SWIG_TypeClientData(SWIGTYPE_p_wxGIFHandler
, obj
);
13813 return Py_BuildValue((char *)"");
13815 static PyObject
*_wrap_new_PCXHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13816 PyObject
*resultobj
;
13817 wxPCXHandler
*result
;
13818 char *kwnames
[] = {
13822 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PCXHandler",kwnames
)) goto fail
;
13824 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13825 result
= (wxPCXHandler
*)new wxPCXHandler();
13827 wxPyEndAllowThreads(__tstate
);
13828 if (PyErr_Occurred()) SWIG_fail
;
13830 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPCXHandler
, 1);
13837 static PyObject
* PCXHandler_swigregister(PyObject
*, PyObject
*args
) {
13839 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13840 SWIG_TypeClientData(SWIGTYPE_p_wxPCXHandler
, obj
);
13842 return Py_BuildValue((char *)"");
13844 static PyObject
*_wrap_new_JPEGHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13845 PyObject
*resultobj
;
13846 wxJPEGHandler
*result
;
13847 char *kwnames
[] = {
13851 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_JPEGHandler",kwnames
)) goto fail
;
13853 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13854 result
= (wxJPEGHandler
*)new wxJPEGHandler();
13856 wxPyEndAllowThreads(__tstate
);
13857 if (PyErr_Occurred()) SWIG_fail
;
13859 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxJPEGHandler
, 1);
13866 static PyObject
* JPEGHandler_swigregister(PyObject
*, PyObject
*args
) {
13868 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13869 SWIG_TypeClientData(SWIGTYPE_p_wxJPEGHandler
, obj
);
13871 return Py_BuildValue((char *)"");
13873 static PyObject
*_wrap_new_PNMHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13874 PyObject
*resultobj
;
13875 wxPNMHandler
*result
;
13876 char *kwnames
[] = {
13880 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PNMHandler",kwnames
)) goto fail
;
13882 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13883 result
= (wxPNMHandler
*)new wxPNMHandler();
13885 wxPyEndAllowThreads(__tstate
);
13886 if (PyErr_Occurred()) SWIG_fail
;
13888 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPNMHandler
, 1);
13895 static PyObject
* PNMHandler_swigregister(PyObject
*, PyObject
*args
) {
13897 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13898 SWIG_TypeClientData(SWIGTYPE_p_wxPNMHandler
, obj
);
13900 return Py_BuildValue((char *)"");
13902 static PyObject
*_wrap_new_XPMHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13903 PyObject
*resultobj
;
13904 wxXPMHandler
*result
;
13905 char *kwnames
[] = {
13909 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_XPMHandler",kwnames
)) goto fail
;
13911 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13912 result
= (wxXPMHandler
*)new wxXPMHandler();
13914 wxPyEndAllowThreads(__tstate
);
13915 if (PyErr_Occurred()) SWIG_fail
;
13917 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxXPMHandler
, 1);
13924 static PyObject
* XPMHandler_swigregister(PyObject
*, PyObject
*args
) {
13926 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13927 SWIG_TypeClientData(SWIGTYPE_p_wxXPMHandler
, obj
);
13929 return Py_BuildValue((char *)"");
13931 static PyObject
*_wrap_new_TIFFHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13932 PyObject
*resultobj
;
13933 wxTIFFHandler
*result
;
13934 char *kwnames
[] = {
13938 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_TIFFHandler",kwnames
)) goto fail
;
13940 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13941 result
= (wxTIFFHandler
*)new wxTIFFHandler();
13943 wxPyEndAllowThreads(__tstate
);
13944 if (PyErr_Occurred()) SWIG_fail
;
13946 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTIFFHandler
, 1);
13953 static PyObject
* TIFFHandler_swigregister(PyObject
*, PyObject
*args
) {
13955 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13956 SWIG_TypeClientData(SWIGTYPE_p_wxTIFFHandler
, obj
);
13958 return Py_BuildValue((char *)"");
13960 static PyObject
*_wrap_Quantize_Quantize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13961 PyObject
*resultobj
;
13962 wxImage
*arg1
= 0 ;
13963 wxImage
*arg2
= 0 ;
13964 int arg3
= (int) 236 ;
13965 int arg4
= (int) wxQUANTIZE_INCLUDE_WINDOWS_COLOURS
|wxQUANTIZE_FILL_DESTINATION_IMAGE
;
13967 PyObject
* obj0
= 0 ;
13968 PyObject
* obj1
= 0 ;
13969 PyObject
* obj2
= 0 ;
13970 PyObject
* obj3
= 0 ;
13971 char *kwnames
[] = {
13972 (char *) "src",(char *) "dest",(char *) "desiredNoColours",(char *) "flags", NULL
13975 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:Quantize_Quantize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
13977 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
13978 if (SWIG_arg_fail(1)) SWIG_fail
;
13979 if (arg1
== NULL
) {
13980 SWIG_null_ref("wxImage");
13982 if (SWIG_arg_fail(1)) SWIG_fail
;
13985 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
13986 if (SWIG_arg_fail(2)) SWIG_fail
;
13987 if (arg2
== NULL
) {
13988 SWIG_null_ref("wxImage");
13990 if (SWIG_arg_fail(2)) SWIG_fail
;
13994 arg3
= (int)(SWIG_As_int(obj2
));
13995 if (SWIG_arg_fail(3)) SWIG_fail
;
14000 arg4
= (int)(SWIG_As_int(obj3
));
14001 if (SWIG_arg_fail(4)) SWIG_fail
;
14005 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14006 result
= (bool)Quantize_Quantize((wxImage
const &)*arg1
,*arg2
,arg3
,arg4
);
14008 wxPyEndAllowThreads(__tstate
);
14009 if (PyErr_Occurred()) SWIG_fail
;
14012 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14020 static PyObject
* Quantize_swigregister(PyObject
*, PyObject
*args
) {
14022 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14023 SWIG_TypeClientData(SWIGTYPE_p_wxQuantize
, obj
);
14025 return Py_BuildValue((char *)"");
14027 static PyObject
*_wrap_new_EvtHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14028 PyObject
*resultobj
;
14029 wxEvtHandler
*result
;
14030 char *kwnames
[] = {
14034 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_EvtHandler",kwnames
)) goto fail
;
14036 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14037 result
= (wxEvtHandler
*)new wxEvtHandler();
14039 wxPyEndAllowThreads(__tstate
);
14040 if (PyErr_Occurred()) SWIG_fail
;
14042 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxEvtHandler
, 1);
14049 static PyObject
*_wrap_EvtHandler_GetNextHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14050 PyObject
*resultobj
;
14051 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
14052 wxEvtHandler
*result
;
14053 PyObject
* obj0
= 0 ;
14054 char *kwnames
[] = {
14055 (char *) "self", NULL
14058 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EvtHandler_GetNextHandler",kwnames
,&obj0
)) goto fail
;
14059 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
14060 if (SWIG_arg_fail(1)) SWIG_fail
;
14062 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14063 result
= (wxEvtHandler
*)(arg1
)->GetNextHandler();
14065 wxPyEndAllowThreads(__tstate
);
14066 if (PyErr_Occurred()) SWIG_fail
;
14069 resultobj
= wxPyMake_wxObject(result
, 0);
14077 static PyObject
*_wrap_EvtHandler_GetPreviousHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14078 PyObject
*resultobj
;
14079 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
14080 wxEvtHandler
*result
;
14081 PyObject
* obj0
= 0 ;
14082 char *kwnames
[] = {
14083 (char *) "self", NULL
14086 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EvtHandler_GetPreviousHandler",kwnames
,&obj0
)) goto fail
;
14087 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
14088 if (SWIG_arg_fail(1)) SWIG_fail
;
14090 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14091 result
= (wxEvtHandler
*)(arg1
)->GetPreviousHandler();
14093 wxPyEndAllowThreads(__tstate
);
14094 if (PyErr_Occurred()) SWIG_fail
;
14097 resultobj
= wxPyMake_wxObject(result
, 0);
14105 static PyObject
*_wrap_EvtHandler_SetNextHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14106 PyObject
*resultobj
;
14107 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
14108 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
14109 PyObject
* obj0
= 0 ;
14110 PyObject
* obj1
= 0 ;
14111 char *kwnames
[] = {
14112 (char *) "self",(char *) "handler", NULL
14115 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EvtHandler_SetNextHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
14116 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
14117 if (SWIG_arg_fail(1)) SWIG_fail
;
14118 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
14119 if (SWIG_arg_fail(2)) SWIG_fail
;
14121 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14122 (arg1
)->SetNextHandler(arg2
);
14124 wxPyEndAllowThreads(__tstate
);
14125 if (PyErr_Occurred()) SWIG_fail
;
14127 Py_INCREF(Py_None
); resultobj
= Py_None
;
14134 static PyObject
*_wrap_EvtHandler_SetPreviousHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14135 PyObject
*resultobj
;
14136 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
14137 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
14138 PyObject
* obj0
= 0 ;
14139 PyObject
* obj1
= 0 ;
14140 char *kwnames
[] = {
14141 (char *) "self",(char *) "handler", NULL
14144 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EvtHandler_SetPreviousHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
14145 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
14146 if (SWIG_arg_fail(1)) SWIG_fail
;
14147 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
14148 if (SWIG_arg_fail(2)) SWIG_fail
;
14150 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14151 (arg1
)->SetPreviousHandler(arg2
);
14153 wxPyEndAllowThreads(__tstate
);
14154 if (PyErr_Occurred()) SWIG_fail
;
14156 Py_INCREF(Py_None
); resultobj
= Py_None
;
14163 static PyObject
*_wrap_EvtHandler_GetEvtHandlerEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14164 PyObject
*resultobj
;
14165 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
14167 PyObject
* obj0
= 0 ;
14168 char *kwnames
[] = {
14169 (char *) "self", NULL
14172 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EvtHandler_GetEvtHandlerEnabled",kwnames
,&obj0
)) goto fail
;
14173 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
14174 if (SWIG_arg_fail(1)) SWIG_fail
;
14176 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14177 result
= (bool)(arg1
)->GetEvtHandlerEnabled();
14179 wxPyEndAllowThreads(__tstate
);
14180 if (PyErr_Occurred()) SWIG_fail
;
14183 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14191 static PyObject
*_wrap_EvtHandler_SetEvtHandlerEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14192 PyObject
*resultobj
;
14193 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
14195 PyObject
* obj0
= 0 ;
14196 PyObject
* obj1
= 0 ;
14197 char *kwnames
[] = {
14198 (char *) "self",(char *) "enabled", NULL
14201 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EvtHandler_SetEvtHandlerEnabled",kwnames
,&obj0
,&obj1
)) goto fail
;
14202 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
14203 if (SWIG_arg_fail(1)) SWIG_fail
;
14205 arg2
= (bool)(SWIG_As_bool(obj1
));
14206 if (SWIG_arg_fail(2)) SWIG_fail
;
14209 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14210 (arg1
)->SetEvtHandlerEnabled(arg2
);
14212 wxPyEndAllowThreads(__tstate
);
14213 if (PyErr_Occurred()) SWIG_fail
;
14215 Py_INCREF(Py_None
); resultobj
= Py_None
;
14222 static PyObject
*_wrap_EvtHandler_ProcessEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14223 PyObject
*resultobj
;
14224 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
14225 wxEvent
*arg2
= 0 ;
14227 PyObject
* obj0
= 0 ;
14228 PyObject
* obj1
= 0 ;
14229 char *kwnames
[] = {
14230 (char *) "self",(char *) "event", NULL
14233 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EvtHandler_ProcessEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
14234 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
14235 if (SWIG_arg_fail(1)) SWIG_fail
;
14237 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
14238 if (SWIG_arg_fail(2)) SWIG_fail
;
14239 if (arg2
== NULL
) {
14240 SWIG_null_ref("wxEvent");
14242 if (SWIG_arg_fail(2)) SWIG_fail
;
14245 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14246 result
= (bool)(arg1
)->ProcessEvent(*arg2
);
14248 wxPyEndAllowThreads(__tstate
);
14249 if (PyErr_Occurred()) SWIG_fail
;
14252 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14260 static PyObject
*_wrap_EvtHandler_AddPendingEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14261 PyObject
*resultobj
;
14262 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
14263 wxEvent
*arg2
= 0 ;
14264 PyObject
* obj0
= 0 ;
14265 PyObject
* obj1
= 0 ;
14266 char *kwnames
[] = {
14267 (char *) "self",(char *) "event", NULL
14270 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EvtHandler_AddPendingEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
14271 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
14272 if (SWIG_arg_fail(1)) SWIG_fail
;
14274 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
14275 if (SWIG_arg_fail(2)) SWIG_fail
;
14276 if (arg2
== NULL
) {
14277 SWIG_null_ref("wxEvent");
14279 if (SWIG_arg_fail(2)) SWIG_fail
;
14282 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14283 (arg1
)->AddPendingEvent(*arg2
);
14285 wxPyEndAllowThreads(__tstate
);
14286 if (PyErr_Occurred()) SWIG_fail
;
14288 Py_INCREF(Py_None
); resultobj
= Py_None
;
14295 static PyObject
*_wrap_EvtHandler_ProcessPendingEvents(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14296 PyObject
*resultobj
;
14297 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
14298 PyObject
* obj0
= 0 ;
14299 char *kwnames
[] = {
14300 (char *) "self", NULL
14303 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EvtHandler_ProcessPendingEvents",kwnames
,&obj0
)) goto fail
;
14304 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
14305 if (SWIG_arg_fail(1)) SWIG_fail
;
14307 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14308 (arg1
)->ProcessPendingEvents();
14310 wxPyEndAllowThreads(__tstate
);
14311 if (PyErr_Occurred()) SWIG_fail
;
14313 Py_INCREF(Py_None
); resultobj
= Py_None
;
14320 static PyObject
*_wrap_EvtHandler_Connect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14321 PyObject
*resultobj
;
14322 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
14326 PyObject
*arg5
= (PyObject
*) 0 ;
14327 PyObject
* obj0
= 0 ;
14328 PyObject
* obj1
= 0 ;
14329 PyObject
* obj2
= 0 ;
14330 PyObject
* obj3
= 0 ;
14331 PyObject
* obj4
= 0 ;
14332 char *kwnames
[] = {
14333 (char *) "self",(char *) "id",(char *) "lastId",(char *) "eventType",(char *) "func", NULL
14336 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:EvtHandler_Connect",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
14337 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
14338 if (SWIG_arg_fail(1)) SWIG_fail
;
14340 arg2
= (int)(SWIG_As_int(obj1
));
14341 if (SWIG_arg_fail(2)) SWIG_fail
;
14344 arg3
= (int)(SWIG_As_int(obj2
));
14345 if (SWIG_arg_fail(3)) SWIG_fail
;
14348 arg4
= (int)(SWIG_As_int(obj3
));
14349 if (SWIG_arg_fail(4)) SWIG_fail
;
14353 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14354 wxEvtHandler_Connect(arg1
,arg2
,arg3
,arg4
,arg5
);
14356 wxPyEndAllowThreads(__tstate
);
14357 if (PyErr_Occurred()) SWIG_fail
;
14359 Py_INCREF(Py_None
); resultobj
= Py_None
;
14366 static PyObject
*_wrap_EvtHandler_Disconnect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14367 PyObject
*resultobj
;
14368 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
14370 int arg3
= (int) -1 ;
14371 wxEventType arg4
= (wxEventType
) wxEVT_NULL
;
14373 PyObject
* obj0
= 0 ;
14374 PyObject
* obj1
= 0 ;
14375 PyObject
* obj2
= 0 ;
14376 PyObject
* obj3
= 0 ;
14377 char *kwnames
[] = {
14378 (char *) "self",(char *) "id",(char *) "lastId",(char *) "eventType", NULL
14381 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:EvtHandler_Disconnect",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
14382 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
14383 if (SWIG_arg_fail(1)) SWIG_fail
;
14385 arg2
= (int)(SWIG_As_int(obj1
));
14386 if (SWIG_arg_fail(2)) SWIG_fail
;
14390 arg3
= (int)(SWIG_As_int(obj2
));
14391 if (SWIG_arg_fail(3)) SWIG_fail
;
14396 arg4
= (wxEventType
)(SWIG_As_int(obj3
));
14397 if (SWIG_arg_fail(4)) SWIG_fail
;
14401 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14402 result
= (bool)wxEvtHandler_Disconnect(arg1
,arg2
,arg3
,arg4
);
14404 wxPyEndAllowThreads(__tstate
);
14405 if (PyErr_Occurred()) SWIG_fail
;
14408 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14416 static PyObject
*_wrap_EvtHandler__setOORInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14417 PyObject
*resultobj
;
14418 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
14419 PyObject
*arg2
= (PyObject
*) 0 ;
14420 bool arg3
= (bool) true ;
14421 PyObject
* obj0
= 0 ;
14422 PyObject
* obj1
= 0 ;
14423 PyObject
* obj2
= 0 ;
14424 char *kwnames
[] = {
14425 (char *) "self",(char *) "_self",(char *) "incref", NULL
14428 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:EvtHandler__setOORInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14429 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
14430 if (SWIG_arg_fail(1)) SWIG_fail
;
14434 arg3
= (bool)(SWIG_As_bool(obj2
));
14435 if (SWIG_arg_fail(3)) SWIG_fail
;
14439 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14440 wxEvtHandler__setOORInfo(arg1
,arg2
,arg3
);
14442 wxPyEndAllowThreads(__tstate
);
14443 if (PyErr_Occurred()) SWIG_fail
;
14445 Py_INCREF(Py_None
); resultobj
= Py_None
;
14452 static PyObject
* EvtHandler_swigregister(PyObject
*, PyObject
*args
) {
14454 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14455 SWIG_TypeClientData(SWIGTYPE_p_wxEvtHandler
, obj
);
14457 return Py_BuildValue((char *)"");
14459 static PyObject
*_wrap_NewEventType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14460 PyObject
*resultobj
;
14461 wxEventType result
;
14462 char *kwnames
[] = {
14466 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":NewEventType",kwnames
)) goto fail
;
14468 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14469 result
= (wxEventType
)wxNewEventType();
14471 wxPyEndAllowThreads(__tstate
);
14472 if (PyErr_Occurred()) SWIG_fail
;
14475 resultobj
= SWIG_From_int((int)(result
));
14483 static PyObject
*_wrap_delete_Event(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14484 PyObject
*resultobj
;
14485 wxEvent
*arg1
= (wxEvent
*) 0 ;
14486 PyObject
* obj0
= 0 ;
14487 char *kwnames
[] = {
14488 (char *) "self", NULL
14491 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Event",kwnames
,&obj0
)) goto fail
;
14492 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
14493 if (SWIG_arg_fail(1)) SWIG_fail
;
14495 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14498 wxPyEndAllowThreads(__tstate
);
14499 if (PyErr_Occurred()) SWIG_fail
;
14501 Py_INCREF(Py_None
); resultobj
= Py_None
;
14508 static PyObject
*_wrap_Event_SetEventType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14509 PyObject
*resultobj
;
14510 wxEvent
*arg1
= (wxEvent
*) 0 ;
14512 PyObject
* obj0
= 0 ;
14513 PyObject
* obj1
= 0 ;
14514 char *kwnames
[] = {
14515 (char *) "self",(char *) "typ", NULL
14518 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Event_SetEventType",kwnames
,&obj0
,&obj1
)) 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 arg2
= (wxEventType
)(SWIG_As_int(obj1
));
14523 if (SWIG_arg_fail(2)) SWIG_fail
;
14526 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14527 (arg1
)->SetEventType(arg2
);
14529 wxPyEndAllowThreads(__tstate
);
14530 if (PyErr_Occurred()) SWIG_fail
;
14532 Py_INCREF(Py_None
); resultobj
= Py_None
;
14539 static PyObject
*_wrap_Event_GetEventType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14540 PyObject
*resultobj
;
14541 wxEvent
*arg1
= (wxEvent
*) 0 ;
14542 wxEventType result
;
14543 PyObject
* obj0
= 0 ;
14544 char *kwnames
[] = {
14545 (char *) "self", NULL
14548 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_GetEventType",kwnames
,&obj0
)) goto fail
;
14549 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
14550 if (SWIG_arg_fail(1)) SWIG_fail
;
14552 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14553 result
= (wxEventType
)((wxEvent
const *)arg1
)->GetEventType();
14555 wxPyEndAllowThreads(__tstate
);
14556 if (PyErr_Occurred()) SWIG_fail
;
14559 resultobj
= SWIG_From_int((int)(result
));
14567 static PyObject
*_wrap_Event_GetEventObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14568 PyObject
*resultobj
;
14569 wxEvent
*arg1
= (wxEvent
*) 0 ;
14571 PyObject
* obj0
= 0 ;
14572 char *kwnames
[] = {
14573 (char *) "self", NULL
14576 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_GetEventObject",kwnames
,&obj0
)) goto fail
;
14577 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
14578 if (SWIG_arg_fail(1)) SWIG_fail
;
14580 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14581 result
= (wxObject
*)((wxEvent
const *)arg1
)->GetEventObject();
14583 wxPyEndAllowThreads(__tstate
);
14584 if (PyErr_Occurred()) SWIG_fail
;
14587 resultobj
= wxPyMake_wxObject(result
, 0);
14595 static PyObject
*_wrap_Event_SetEventObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14596 PyObject
*resultobj
;
14597 wxEvent
*arg1
= (wxEvent
*) 0 ;
14598 wxObject
*arg2
= (wxObject
*) 0 ;
14599 PyObject
* obj0
= 0 ;
14600 PyObject
* obj1
= 0 ;
14601 char *kwnames
[] = {
14602 (char *) "self",(char *) "obj", NULL
14605 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Event_SetEventObject",kwnames
,&obj0
,&obj1
)) goto fail
;
14606 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
14607 if (SWIG_arg_fail(1)) SWIG_fail
;
14608 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxObject
, SWIG_POINTER_EXCEPTION
| 0);
14609 if (SWIG_arg_fail(2)) SWIG_fail
;
14611 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14612 (arg1
)->SetEventObject(arg2
);
14614 wxPyEndAllowThreads(__tstate
);
14615 if (PyErr_Occurred()) SWIG_fail
;
14617 Py_INCREF(Py_None
); resultobj
= Py_None
;
14624 static PyObject
*_wrap_Event_GetTimestamp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14625 PyObject
*resultobj
;
14626 wxEvent
*arg1
= (wxEvent
*) 0 ;
14628 PyObject
* obj0
= 0 ;
14629 char *kwnames
[] = {
14630 (char *) "self", NULL
14633 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_GetTimestamp",kwnames
,&obj0
)) goto fail
;
14634 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
14635 if (SWIG_arg_fail(1)) SWIG_fail
;
14637 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14638 result
= (long)((wxEvent
const *)arg1
)->GetTimestamp();
14640 wxPyEndAllowThreads(__tstate
);
14641 if (PyErr_Occurred()) SWIG_fail
;
14644 resultobj
= SWIG_From_long((long)(result
));
14652 static PyObject
*_wrap_Event_SetTimestamp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14653 PyObject
*resultobj
;
14654 wxEvent
*arg1
= (wxEvent
*) 0 ;
14655 long arg2
= (long) 0 ;
14656 PyObject
* obj0
= 0 ;
14657 PyObject
* obj1
= 0 ;
14658 char *kwnames
[] = {
14659 (char *) "self",(char *) "ts", NULL
14662 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Event_SetTimestamp",kwnames
,&obj0
,&obj1
)) goto fail
;
14663 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
14664 if (SWIG_arg_fail(1)) SWIG_fail
;
14667 arg2
= (long)(SWIG_As_long(obj1
));
14668 if (SWIG_arg_fail(2)) SWIG_fail
;
14672 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14673 (arg1
)->SetTimestamp(arg2
);
14675 wxPyEndAllowThreads(__tstate
);
14676 if (PyErr_Occurred()) SWIG_fail
;
14678 Py_INCREF(Py_None
); resultobj
= Py_None
;
14685 static PyObject
*_wrap_Event_GetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14686 PyObject
*resultobj
;
14687 wxEvent
*arg1
= (wxEvent
*) 0 ;
14689 PyObject
* obj0
= 0 ;
14690 char *kwnames
[] = {
14691 (char *) "self", NULL
14694 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_GetId",kwnames
,&obj0
)) goto fail
;
14695 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
14696 if (SWIG_arg_fail(1)) SWIG_fail
;
14698 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14699 result
= (int)((wxEvent
const *)arg1
)->GetId();
14701 wxPyEndAllowThreads(__tstate
);
14702 if (PyErr_Occurred()) SWIG_fail
;
14705 resultobj
= SWIG_From_int((int)(result
));
14713 static PyObject
*_wrap_Event_SetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14714 PyObject
*resultobj
;
14715 wxEvent
*arg1
= (wxEvent
*) 0 ;
14717 PyObject
* obj0
= 0 ;
14718 PyObject
* obj1
= 0 ;
14719 char *kwnames
[] = {
14720 (char *) "self",(char *) "Id", NULL
14723 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Event_SetId",kwnames
,&obj0
,&obj1
)) goto fail
;
14724 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
14725 if (SWIG_arg_fail(1)) SWIG_fail
;
14727 arg2
= (int)(SWIG_As_int(obj1
));
14728 if (SWIG_arg_fail(2)) SWIG_fail
;
14731 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14732 (arg1
)->SetId(arg2
);
14734 wxPyEndAllowThreads(__tstate
);
14735 if (PyErr_Occurred()) SWIG_fail
;
14737 Py_INCREF(Py_None
); resultobj
= Py_None
;
14744 static PyObject
*_wrap_Event_IsCommandEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14745 PyObject
*resultobj
;
14746 wxEvent
*arg1
= (wxEvent
*) 0 ;
14748 PyObject
* obj0
= 0 ;
14749 char *kwnames
[] = {
14750 (char *) "self", NULL
14753 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_IsCommandEvent",kwnames
,&obj0
)) goto fail
;
14754 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
14755 if (SWIG_arg_fail(1)) SWIG_fail
;
14757 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14758 result
= (bool)((wxEvent
const *)arg1
)->IsCommandEvent();
14760 wxPyEndAllowThreads(__tstate
);
14761 if (PyErr_Occurred()) SWIG_fail
;
14764 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14772 static PyObject
*_wrap_Event_Skip(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14773 PyObject
*resultobj
;
14774 wxEvent
*arg1
= (wxEvent
*) 0 ;
14775 bool arg2
= (bool) true ;
14776 PyObject
* obj0
= 0 ;
14777 PyObject
* obj1
= 0 ;
14778 char *kwnames
[] = {
14779 (char *) "self",(char *) "skip", NULL
14782 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Event_Skip",kwnames
,&obj0
,&obj1
)) goto fail
;
14783 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
14784 if (SWIG_arg_fail(1)) SWIG_fail
;
14787 arg2
= (bool)(SWIG_As_bool(obj1
));
14788 if (SWIG_arg_fail(2)) SWIG_fail
;
14792 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14793 (arg1
)->Skip(arg2
);
14795 wxPyEndAllowThreads(__tstate
);
14796 if (PyErr_Occurred()) SWIG_fail
;
14798 Py_INCREF(Py_None
); resultobj
= Py_None
;
14805 static PyObject
*_wrap_Event_GetSkipped(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14806 PyObject
*resultobj
;
14807 wxEvent
*arg1
= (wxEvent
*) 0 ;
14809 PyObject
* obj0
= 0 ;
14810 char *kwnames
[] = {
14811 (char *) "self", NULL
14814 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_GetSkipped",kwnames
,&obj0
)) goto fail
;
14815 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
14816 if (SWIG_arg_fail(1)) SWIG_fail
;
14818 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14819 result
= (bool)((wxEvent
const *)arg1
)->GetSkipped();
14821 wxPyEndAllowThreads(__tstate
);
14822 if (PyErr_Occurred()) SWIG_fail
;
14825 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14833 static PyObject
*_wrap_Event_ShouldPropagate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14834 PyObject
*resultobj
;
14835 wxEvent
*arg1
= (wxEvent
*) 0 ;
14837 PyObject
* obj0
= 0 ;
14838 char *kwnames
[] = {
14839 (char *) "self", NULL
14842 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_ShouldPropagate",kwnames
,&obj0
)) goto fail
;
14843 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
14844 if (SWIG_arg_fail(1)) SWIG_fail
;
14846 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14847 result
= (bool)((wxEvent
const *)arg1
)->ShouldPropagate();
14849 wxPyEndAllowThreads(__tstate
);
14850 if (PyErr_Occurred()) SWIG_fail
;
14853 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14861 static PyObject
*_wrap_Event_StopPropagation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14862 PyObject
*resultobj
;
14863 wxEvent
*arg1
= (wxEvent
*) 0 ;
14865 PyObject
* obj0
= 0 ;
14866 char *kwnames
[] = {
14867 (char *) "self", NULL
14870 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_StopPropagation",kwnames
,&obj0
)) goto fail
;
14871 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
14872 if (SWIG_arg_fail(1)) SWIG_fail
;
14874 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14875 result
= (int)(arg1
)->StopPropagation();
14877 wxPyEndAllowThreads(__tstate
);
14878 if (PyErr_Occurred()) SWIG_fail
;
14881 resultobj
= SWIG_From_int((int)(result
));
14889 static PyObject
*_wrap_Event_ResumePropagation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14890 PyObject
*resultobj
;
14891 wxEvent
*arg1
= (wxEvent
*) 0 ;
14893 PyObject
* obj0
= 0 ;
14894 PyObject
* obj1
= 0 ;
14895 char *kwnames
[] = {
14896 (char *) "self",(char *) "propagationLevel", NULL
14899 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Event_ResumePropagation",kwnames
,&obj0
,&obj1
)) goto fail
;
14900 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
14901 if (SWIG_arg_fail(1)) SWIG_fail
;
14903 arg2
= (int)(SWIG_As_int(obj1
));
14904 if (SWIG_arg_fail(2)) SWIG_fail
;
14907 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14908 (arg1
)->ResumePropagation(arg2
);
14910 wxPyEndAllowThreads(__tstate
);
14911 if (PyErr_Occurred()) SWIG_fail
;
14913 Py_INCREF(Py_None
); resultobj
= Py_None
;
14920 static PyObject
*_wrap_Event_Clone(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14921 PyObject
*resultobj
;
14922 wxEvent
*arg1
= (wxEvent
*) 0 ;
14924 PyObject
* obj0
= 0 ;
14925 char *kwnames
[] = {
14926 (char *) "self", NULL
14929 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_Clone",kwnames
,&obj0
)) goto fail
;
14930 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
14931 if (SWIG_arg_fail(1)) SWIG_fail
;
14933 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14934 result
= (wxEvent
*)(arg1
)->Clone();
14936 wxPyEndAllowThreads(__tstate
);
14937 if (PyErr_Occurred()) SWIG_fail
;
14939 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxEvent
, 0);
14946 static PyObject
* Event_swigregister(PyObject
*, PyObject
*args
) {
14948 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14949 SWIG_TypeClientData(SWIGTYPE_p_wxEvent
, obj
);
14951 return Py_BuildValue((char *)"");
14953 static PyObject
*_wrap_new_PropagationDisabler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14954 PyObject
*resultobj
;
14955 wxEvent
*arg1
= 0 ;
14956 wxPropagationDisabler
*result
;
14957 PyObject
* obj0
= 0 ;
14958 char *kwnames
[] = {
14959 (char *) "event", NULL
14962 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PropagationDisabler",kwnames
,&obj0
)) goto fail
;
14964 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
14965 if (SWIG_arg_fail(1)) SWIG_fail
;
14966 if (arg1
== NULL
) {
14967 SWIG_null_ref("wxEvent");
14969 if (SWIG_arg_fail(1)) SWIG_fail
;
14972 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14973 result
= (wxPropagationDisabler
*)new wxPropagationDisabler(*arg1
);
14975 wxPyEndAllowThreads(__tstate
);
14976 if (PyErr_Occurred()) SWIG_fail
;
14978 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPropagationDisabler
, 1);
14985 static PyObject
*_wrap_delete_PropagationDisabler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14986 PyObject
*resultobj
;
14987 wxPropagationDisabler
*arg1
= (wxPropagationDisabler
*) 0 ;
14988 PyObject
* obj0
= 0 ;
14989 char *kwnames
[] = {
14990 (char *) "self", NULL
14993 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PropagationDisabler",kwnames
,&obj0
)) goto fail
;
14994 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPropagationDisabler
, SWIG_POINTER_EXCEPTION
| 0);
14995 if (SWIG_arg_fail(1)) SWIG_fail
;
14997 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15000 wxPyEndAllowThreads(__tstate
);
15001 if (PyErr_Occurred()) SWIG_fail
;
15003 Py_INCREF(Py_None
); resultobj
= Py_None
;
15010 static PyObject
* PropagationDisabler_swigregister(PyObject
*, PyObject
*args
) {
15012 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15013 SWIG_TypeClientData(SWIGTYPE_p_wxPropagationDisabler
, obj
);
15015 return Py_BuildValue((char *)"");
15017 static PyObject
*_wrap_new_PropagateOnce(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15018 PyObject
*resultobj
;
15019 wxEvent
*arg1
= 0 ;
15020 wxPropagateOnce
*result
;
15021 PyObject
* obj0
= 0 ;
15022 char *kwnames
[] = {
15023 (char *) "event", NULL
15026 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PropagateOnce",kwnames
,&obj0
)) goto fail
;
15028 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
15029 if (SWIG_arg_fail(1)) SWIG_fail
;
15030 if (arg1
== NULL
) {
15031 SWIG_null_ref("wxEvent");
15033 if (SWIG_arg_fail(1)) SWIG_fail
;
15036 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15037 result
= (wxPropagateOnce
*)new wxPropagateOnce(*arg1
);
15039 wxPyEndAllowThreads(__tstate
);
15040 if (PyErr_Occurred()) SWIG_fail
;
15042 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPropagateOnce
, 1);
15049 static PyObject
*_wrap_delete_PropagateOnce(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15050 PyObject
*resultobj
;
15051 wxPropagateOnce
*arg1
= (wxPropagateOnce
*) 0 ;
15052 PyObject
* obj0
= 0 ;
15053 char *kwnames
[] = {
15054 (char *) "self", NULL
15057 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PropagateOnce",kwnames
,&obj0
)) goto fail
;
15058 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPropagateOnce
, SWIG_POINTER_EXCEPTION
| 0);
15059 if (SWIG_arg_fail(1)) SWIG_fail
;
15061 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15064 wxPyEndAllowThreads(__tstate
);
15065 if (PyErr_Occurred()) SWIG_fail
;
15067 Py_INCREF(Py_None
); resultobj
= Py_None
;
15074 static PyObject
* PropagateOnce_swigregister(PyObject
*, PyObject
*args
) {
15076 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15077 SWIG_TypeClientData(SWIGTYPE_p_wxPropagateOnce
, obj
);
15079 return Py_BuildValue((char *)"");
15081 static PyObject
*_wrap_new_CommandEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15082 PyObject
*resultobj
;
15083 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
15084 int arg2
= (int) 0 ;
15085 wxCommandEvent
*result
;
15086 PyObject
* obj0
= 0 ;
15087 PyObject
* obj1
= 0 ;
15088 char *kwnames
[] = {
15089 (char *) "commandType",(char *) "winid", NULL
15092 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_CommandEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
15095 arg1
= (wxEventType
)(SWIG_As_int(obj0
));
15096 if (SWIG_arg_fail(1)) SWIG_fail
;
15101 arg2
= (int)(SWIG_As_int(obj1
));
15102 if (SWIG_arg_fail(2)) SWIG_fail
;
15106 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15107 result
= (wxCommandEvent
*)new wxCommandEvent(arg1
,arg2
);
15109 wxPyEndAllowThreads(__tstate
);
15110 if (PyErr_Occurred()) SWIG_fail
;
15112 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCommandEvent
, 1);
15119 static PyObject
*_wrap_CommandEvent_GetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15120 PyObject
*resultobj
;
15121 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
15123 PyObject
* obj0
= 0 ;
15124 char *kwnames
[] = {
15125 (char *) "self", NULL
15128 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CommandEvent_GetSelection",kwnames
,&obj0
)) goto fail
;
15129 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCommandEvent
, SWIG_POINTER_EXCEPTION
| 0);
15130 if (SWIG_arg_fail(1)) SWIG_fail
;
15132 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15133 result
= (int)((wxCommandEvent
const *)arg1
)->GetSelection();
15135 wxPyEndAllowThreads(__tstate
);
15136 if (PyErr_Occurred()) SWIG_fail
;
15139 resultobj
= SWIG_From_int((int)(result
));
15147 static PyObject
*_wrap_CommandEvent_SetString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15148 PyObject
*resultobj
;
15149 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
15150 wxString
*arg2
= 0 ;
15151 bool temp2
= false ;
15152 PyObject
* obj0
= 0 ;
15153 PyObject
* obj1
= 0 ;
15154 char *kwnames
[] = {
15155 (char *) "self",(char *) "s", NULL
15158 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CommandEvent_SetString",kwnames
,&obj0
,&obj1
)) goto fail
;
15159 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCommandEvent
, SWIG_POINTER_EXCEPTION
| 0);
15160 if (SWIG_arg_fail(1)) SWIG_fail
;
15162 arg2
= wxString_in_helper(obj1
);
15163 if (arg2
== NULL
) SWIG_fail
;
15167 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15168 (arg1
)->SetString((wxString
const &)*arg2
);
15170 wxPyEndAllowThreads(__tstate
);
15171 if (PyErr_Occurred()) SWIG_fail
;
15173 Py_INCREF(Py_None
); resultobj
= Py_None
;
15188 static PyObject
*_wrap_CommandEvent_GetString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15189 PyObject
*resultobj
;
15190 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
15192 PyObject
* obj0
= 0 ;
15193 char *kwnames
[] = {
15194 (char *) "self", NULL
15197 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CommandEvent_GetString",kwnames
,&obj0
)) goto fail
;
15198 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCommandEvent
, SWIG_POINTER_EXCEPTION
| 0);
15199 if (SWIG_arg_fail(1)) SWIG_fail
;
15201 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15202 result
= ((wxCommandEvent
const *)arg1
)->GetString();
15204 wxPyEndAllowThreads(__tstate
);
15205 if (PyErr_Occurred()) SWIG_fail
;
15209 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
15211 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
15220 static PyObject
*_wrap_CommandEvent_IsChecked(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15221 PyObject
*resultobj
;
15222 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
15224 PyObject
* obj0
= 0 ;
15225 char *kwnames
[] = {
15226 (char *) "self", NULL
15229 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CommandEvent_IsChecked",kwnames
,&obj0
)) goto fail
;
15230 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCommandEvent
, SWIG_POINTER_EXCEPTION
| 0);
15231 if (SWIG_arg_fail(1)) SWIG_fail
;
15233 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15234 result
= (bool)((wxCommandEvent
const *)arg1
)->IsChecked();
15236 wxPyEndAllowThreads(__tstate
);
15237 if (PyErr_Occurred()) SWIG_fail
;
15240 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15248 static PyObject
*_wrap_CommandEvent_IsSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15249 PyObject
*resultobj
;
15250 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
15252 PyObject
* obj0
= 0 ;
15253 char *kwnames
[] = {
15254 (char *) "self", NULL
15257 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CommandEvent_IsSelection",kwnames
,&obj0
)) goto fail
;
15258 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCommandEvent
, SWIG_POINTER_EXCEPTION
| 0);
15259 if (SWIG_arg_fail(1)) SWIG_fail
;
15261 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15262 result
= (bool)((wxCommandEvent
const *)arg1
)->IsSelection();
15264 wxPyEndAllowThreads(__tstate
);
15265 if (PyErr_Occurred()) SWIG_fail
;
15268 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15276 static PyObject
*_wrap_CommandEvent_SetExtraLong(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15277 PyObject
*resultobj
;
15278 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
15280 PyObject
* obj0
= 0 ;
15281 PyObject
* obj1
= 0 ;
15282 char *kwnames
[] = {
15283 (char *) "self",(char *) "extraLong", NULL
15286 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CommandEvent_SetExtraLong",kwnames
,&obj0
,&obj1
)) goto fail
;
15287 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCommandEvent
, SWIG_POINTER_EXCEPTION
| 0);
15288 if (SWIG_arg_fail(1)) SWIG_fail
;
15290 arg2
= (long)(SWIG_As_long(obj1
));
15291 if (SWIG_arg_fail(2)) SWIG_fail
;
15294 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15295 (arg1
)->SetExtraLong(arg2
);
15297 wxPyEndAllowThreads(__tstate
);
15298 if (PyErr_Occurred()) SWIG_fail
;
15300 Py_INCREF(Py_None
); resultobj
= Py_None
;
15307 static PyObject
*_wrap_CommandEvent_GetExtraLong(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15308 PyObject
*resultobj
;
15309 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
15311 PyObject
* obj0
= 0 ;
15312 char *kwnames
[] = {
15313 (char *) "self", NULL
15316 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CommandEvent_GetExtraLong",kwnames
,&obj0
)) goto fail
;
15317 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCommandEvent
, SWIG_POINTER_EXCEPTION
| 0);
15318 if (SWIG_arg_fail(1)) SWIG_fail
;
15320 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15321 result
= (long)((wxCommandEvent
const *)arg1
)->GetExtraLong();
15323 wxPyEndAllowThreads(__tstate
);
15324 if (PyErr_Occurred()) SWIG_fail
;
15327 resultobj
= SWIG_From_long((long)(result
));
15335 static PyObject
*_wrap_CommandEvent_SetInt(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15336 PyObject
*resultobj
;
15337 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
15339 PyObject
* obj0
= 0 ;
15340 PyObject
* obj1
= 0 ;
15341 char *kwnames
[] = {
15342 (char *) "self",(char *) "i", NULL
15345 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CommandEvent_SetInt",kwnames
,&obj0
,&obj1
)) goto fail
;
15346 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCommandEvent
, SWIG_POINTER_EXCEPTION
| 0);
15347 if (SWIG_arg_fail(1)) SWIG_fail
;
15349 arg2
= (int)(SWIG_As_int(obj1
));
15350 if (SWIG_arg_fail(2)) SWIG_fail
;
15353 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15354 (arg1
)->SetInt(arg2
);
15356 wxPyEndAllowThreads(__tstate
);
15357 if (PyErr_Occurred()) SWIG_fail
;
15359 Py_INCREF(Py_None
); resultobj
= Py_None
;
15366 static PyObject
*_wrap_CommandEvent_GetInt(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15367 PyObject
*resultobj
;
15368 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
15370 PyObject
* obj0
= 0 ;
15371 char *kwnames
[] = {
15372 (char *) "self", NULL
15375 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CommandEvent_GetInt",kwnames
,&obj0
)) goto fail
;
15376 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCommandEvent
, SWIG_POINTER_EXCEPTION
| 0);
15377 if (SWIG_arg_fail(1)) SWIG_fail
;
15379 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15380 result
= (long)((wxCommandEvent
const *)arg1
)->GetInt();
15382 wxPyEndAllowThreads(__tstate
);
15383 if (PyErr_Occurred()) SWIG_fail
;
15386 resultobj
= SWIG_From_long((long)(result
));
15394 static PyObject
*_wrap_CommandEvent_Clone(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15395 PyObject
*resultobj
;
15396 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
15398 PyObject
* obj0
= 0 ;
15399 char *kwnames
[] = {
15400 (char *) "self", NULL
15403 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CommandEvent_Clone",kwnames
,&obj0
)) goto fail
;
15404 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCommandEvent
, SWIG_POINTER_EXCEPTION
| 0);
15405 if (SWIG_arg_fail(1)) SWIG_fail
;
15407 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15408 result
= (wxEvent
*)((wxCommandEvent
const *)arg1
)->Clone();
15410 wxPyEndAllowThreads(__tstate
);
15411 if (PyErr_Occurred()) SWIG_fail
;
15413 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxEvent
, 0);
15420 static PyObject
* CommandEvent_swigregister(PyObject
*, PyObject
*args
) {
15422 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15423 SWIG_TypeClientData(SWIGTYPE_p_wxCommandEvent
, obj
);
15425 return Py_BuildValue((char *)"");
15427 static PyObject
*_wrap_new_NotifyEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15428 PyObject
*resultobj
;
15429 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
15430 int arg2
= (int) 0 ;
15431 wxNotifyEvent
*result
;
15432 PyObject
* obj0
= 0 ;
15433 PyObject
* obj1
= 0 ;
15434 char *kwnames
[] = {
15435 (char *) "commandType",(char *) "winid", NULL
15438 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_NotifyEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
15441 arg1
= (wxEventType
)(SWIG_As_int(obj0
));
15442 if (SWIG_arg_fail(1)) SWIG_fail
;
15447 arg2
= (int)(SWIG_As_int(obj1
));
15448 if (SWIG_arg_fail(2)) SWIG_fail
;
15452 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15453 result
= (wxNotifyEvent
*)new wxNotifyEvent(arg1
,arg2
);
15455 wxPyEndAllowThreads(__tstate
);
15456 if (PyErr_Occurred()) SWIG_fail
;
15458 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNotifyEvent
, 1);
15465 static PyObject
*_wrap_NotifyEvent_Veto(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15466 PyObject
*resultobj
;
15467 wxNotifyEvent
*arg1
= (wxNotifyEvent
*) 0 ;
15468 PyObject
* obj0
= 0 ;
15469 char *kwnames
[] = {
15470 (char *) "self", NULL
15473 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NotifyEvent_Veto",kwnames
,&obj0
)) goto fail
;
15474 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNotifyEvent
, SWIG_POINTER_EXCEPTION
| 0);
15475 if (SWIG_arg_fail(1)) SWIG_fail
;
15477 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15480 wxPyEndAllowThreads(__tstate
);
15481 if (PyErr_Occurred()) SWIG_fail
;
15483 Py_INCREF(Py_None
); resultobj
= Py_None
;
15490 static PyObject
*_wrap_NotifyEvent_Allow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15491 PyObject
*resultobj
;
15492 wxNotifyEvent
*arg1
= (wxNotifyEvent
*) 0 ;
15493 PyObject
* obj0
= 0 ;
15494 char *kwnames
[] = {
15495 (char *) "self", NULL
15498 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NotifyEvent_Allow",kwnames
,&obj0
)) goto fail
;
15499 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNotifyEvent
, SWIG_POINTER_EXCEPTION
| 0);
15500 if (SWIG_arg_fail(1)) SWIG_fail
;
15502 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15505 wxPyEndAllowThreads(__tstate
);
15506 if (PyErr_Occurred()) SWIG_fail
;
15508 Py_INCREF(Py_None
); resultobj
= Py_None
;
15515 static PyObject
*_wrap_NotifyEvent_IsAllowed(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15516 PyObject
*resultobj
;
15517 wxNotifyEvent
*arg1
= (wxNotifyEvent
*) 0 ;
15519 PyObject
* obj0
= 0 ;
15520 char *kwnames
[] = {
15521 (char *) "self", NULL
15524 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NotifyEvent_IsAllowed",kwnames
,&obj0
)) goto fail
;
15525 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNotifyEvent
, SWIG_POINTER_EXCEPTION
| 0);
15526 if (SWIG_arg_fail(1)) SWIG_fail
;
15528 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15529 result
= (bool)(arg1
)->IsAllowed();
15531 wxPyEndAllowThreads(__tstate
);
15532 if (PyErr_Occurred()) SWIG_fail
;
15535 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15543 static PyObject
* NotifyEvent_swigregister(PyObject
*, PyObject
*args
) {
15545 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15546 SWIG_TypeClientData(SWIGTYPE_p_wxNotifyEvent
, obj
);
15548 return Py_BuildValue((char *)"");
15550 static PyObject
*_wrap_new_ScrollEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15551 PyObject
*resultobj
;
15552 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
15553 int arg2
= (int) 0 ;
15554 int arg3
= (int) 0 ;
15555 int arg4
= (int) 0 ;
15556 wxScrollEvent
*result
;
15557 PyObject
* obj0
= 0 ;
15558 PyObject
* obj1
= 0 ;
15559 PyObject
* obj2
= 0 ;
15560 PyObject
* obj3
= 0 ;
15561 char *kwnames
[] = {
15562 (char *) "commandType",(char *) "winid",(char *) "pos",(char *) "orient", NULL
15565 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_ScrollEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
15568 arg1
= (wxEventType
)(SWIG_As_int(obj0
));
15569 if (SWIG_arg_fail(1)) SWIG_fail
;
15574 arg2
= (int)(SWIG_As_int(obj1
));
15575 if (SWIG_arg_fail(2)) SWIG_fail
;
15580 arg3
= (int)(SWIG_As_int(obj2
));
15581 if (SWIG_arg_fail(3)) SWIG_fail
;
15586 arg4
= (int)(SWIG_As_int(obj3
));
15587 if (SWIG_arg_fail(4)) SWIG_fail
;
15591 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15592 result
= (wxScrollEvent
*)new wxScrollEvent(arg1
,arg2
,arg3
,arg4
);
15594 wxPyEndAllowThreads(__tstate
);
15595 if (PyErr_Occurred()) SWIG_fail
;
15597 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxScrollEvent
, 1);
15604 static PyObject
*_wrap_ScrollEvent_GetOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15605 PyObject
*resultobj
;
15606 wxScrollEvent
*arg1
= (wxScrollEvent
*) 0 ;
15608 PyObject
* obj0
= 0 ;
15609 char *kwnames
[] = {
15610 (char *) "self", NULL
15613 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollEvent_GetOrientation",kwnames
,&obj0
)) goto fail
;
15614 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrollEvent
, SWIG_POINTER_EXCEPTION
| 0);
15615 if (SWIG_arg_fail(1)) SWIG_fail
;
15617 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15618 result
= (int)((wxScrollEvent
const *)arg1
)->GetOrientation();
15620 wxPyEndAllowThreads(__tstate
);
15621 if (PyErr_Occurred()) SWIG_fail
;
15624 resultobj
= SWIG_From_int((int)(result
));
15632 static PyObject
*_wrap_ScrollEvent_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15633 PyObject
*resultobj
;
15634 wxScrollEvent
*arg1
= (wxScrollEvent
*) 0 ;
15636 PyObject
* obj0
= 0 ;
15637 char *kwnames
[] = {
15638 (char *) "self", NULL
15641 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
15642 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrollEvent
, SWIG_POINTER_EXCEPTION
| 0);
15643 if (SWIG_arg_fail(1)) SWIG_fail
;
15645 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15646 result
= (int)((wxScrollEvent
const *)arg1
)->GetPosition();
15648 wxPyEndAllowThreads(__tstate
);
15649 if (PyErr_Occurred()) SWIG_fail
;
15652 resultobj
= SWIG_From_int((int)(result
));
15660 static PyObject
*_wrap_ScrollEvent_SetOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15661 PyObject
*resultobj
;
15662 wxScrollEvent
*arg1
= (wxScrollEvent
*) 0 ;
15664 PyObject
* obj0
= 0 ;
15665 PyObject
* obj1
= 0 ;
15666 char *kwnames
[] = {
15667 (char *) "self",(char *) "orient", NULL
15670 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrollEvent_SetOrientation",kwnames
,&obj0
,&obj1
)) goto fail
;
15671 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrollEvent
, SWIG_POINTER_EXCEPTION
| 0);
15672 if (SWIG_arg_fail(1)) SWIG_fail
;
15674 arg2
= (int)(SWIG_As_int(obj1
));
15675 if (SWIG_arg_fail(2)) SWIG_fail
;
15678 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15679 (arg1
)->SetOrientation(arg2
);
15681 wxPyEndAllowThreads(__tstate
);
15682 if (PyErr_Occurred()) SWIG_fail
;
15684 Py_INCREF(Py_None
); resultobj
= Py_None
;
15691 static PyObject
*_wrap_ScrollEvent_SetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15692 PyObject
*resultobj
;
15693 wxScrollEvent
*arg1
= (wxScrollEvent
*) 0 ;
15695 PyObject
* obj0
= 0 ;
15696 PyObject
* obj1
= 0 ;
15697 char *kwnames
[] = {
15698 (char *) "self",(char *) "pos", NULL
15701 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrollEvent_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
15702 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrollEvent
, SWIG_POINTER_EXCEPTION
| 0);
15703 if (SWIG_arg_fail(1)) SWIG_fail
;
15705 arg2
= (int)(SWIG_As_int(obj1
));
15706 if (SWIG_arg_fail(2)) SWIG_fail
;
15709 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15710 (arg1
)->SetPosition(arg2
);
15712 wxPyEndAllowThreads(__tstate
);
15713 if (PyErr_Occurred()) SWIG_fail
;
15715 Py_INCREF(Py_None
); resultobj
= Py_None
;
15722 static PyObject
* ScrollEvent_swigregister(PyObject
*, PyObject
*args
) {
15724 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15725 SWIG_TypeClientData(SWIGTYPE_p_wxScrollEvent
, obj
);
15727 return Py_BuildValue((char *)"");
15729 static PyObject
*_wrap_new_ScrollWinEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15730 PyObject
*resultobj
;
15731 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
15732 int arg2
= (int) 0 ;
15733 int arg3
= (int) 0 ;
15734 wxScrollWinEvent
*result
;
15735 PyObject
* obj0
= 0 ;
15736 PyObject
* obj1
= 0 ;
15737 PyObject
* obj2
= 0 ;
15738 char *kwnames
[] = {
15739 (char *) "commandType",(char *) "pos",(char *) "orient", NULL
15742 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_ScrollWinEvent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15745 arg1
= (wxEventType
)(SWIG_As_int(obj0
));
15746 if (SWIG_arg_fail(1)) SWIG_fail
;
15751 arg2
= (int)(SWIG_As_int(obj1
));
15752 if (SWIG_arg_fail(2)) SWIG_fail
;
15757 arg3
= (int)(SWIG_As_int(obj2
));
15758 if (SWIG_arg_fail(3)) SWIG_fail
;
15762 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15763 result
= (wxScrollWinEvent
*)new wxScrollWinEvent(arg1
,arg2
,arg3
);
15765 wxPyEndAllowThreads(__tstate
);
15766 if (PyErr_Occurred()) SWIG_fail
;
15768 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxScrollWinEvent
, 1);
15775 static PyObject
*_wrap_ScrollWinEvent_GetOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15776 PyObject
*resultobj
;
15777 wxScrollWinEvent
*arg1
= (wxScrollWinEvent
*) 0 ;
15779 PyObject
* obj0
= 0 ;
15780 char *kwnames
[] = {
15781 (char *) "self", NULL
15784 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollWinEvent_GetOrientation",kwnames
,&obj0
)) goto fail
;
15785 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrollWinEvent
, SWIG_POINTER_EXCEPTION
| 0);
15786 if (SWIG_arg_fail(1)) SWIG_fail
;
15788 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15789 result
= (int)((wxScrollWinEvent
const *)arg1
)->GetOrientation();
15791 wxPyEndAllowThreads(__tstate
);
15792 if (PyErr_Occurred()) SWIG_fail
;
15795 resultobj
= SWIG_From_int((int)(result
));
15803 static PyObject
*_wrap_ScrollWinEvent_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15804 PyObject
*resultobj
;
15805 wxScrollWinEvent
*arg1
= (wxScrollWinEvent
*) 0 ;
15807 PyObject
* obj0
= 0 ;
15808 char *kwnames
[] = {
15809 (char *) "self", NULL
15812 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollWinEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
15813 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrollWinEvent
, SWIG_POINTER_EXCEPTION
| 0);
15814 if (SWIG_arg_fail(1)) SWIG_fail
;
15816 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15817 result
= (int)((wxScrollWinEvent
const *)arg1
)->GetPosition();
15819 wxPyEndAllowThreads(__tstate
);
15820 if (PyErr_Occurred()) SWIG_fail
;
15823 resultobj
= SWIG_From_int((int)(result
));
15831 static PyObject
*_wrap_ScrollWinEvent_SetOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15832 PyObject
*resultobj
;
15833 wxScrollWinEvent
*arg1
= (wxScrollWinEvent
*) 0 ;
15835 PyObject
* obj0
= 0 ;
15836 PyObject
* obj1
= 0 ;
15837 char *kwnames
[] = {
15838 (char *) "self",(char *) "orient", NULL
15841 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrollWinEvent_SetOrientation",kwnames
,&obj0
,&obj1
)) goto fail
;
15842 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrollWinEvent
, SWIG_POINTER_EXCEPTION
| 0);
15843 if (SWIG_arg_fail(1)) SWIG_fail
;
15845 arg2
= (int)(SWIG_As_int(obj1
));
15846 if (SWIG_arg_fail(2)) SWIG_fail
;
15849 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15850 (arg1
)->SetOrientation(arg2
);
15852 wxPyEndAllowThreads(__tstate
);
15853 if (PyErr_Occurred()) SWIG_fail
;
15855 Py_INCREF(Py_None
); resultobj
= Py_None
;
15862 static PyObject
*_wrap_ScrollWinEvent_SetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15863 PyObject
*resultobj
;
15864 wxScrollWinEvent
*arg1
= (wxScrollWinEvent
*) 0 ;
15866 PyObject
* obj0
= 0 ;
15867 PyObject
* obj1
= 0 ;
15868 char *kwnames
[] = {
15869 (char *) "self",(char *) "pos", NULL
15872 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrollWinEvent_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
15873 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrollWinEvent
, SWIG_POINTER_EXCEPTION
| 0);
15874 if (SWIG_arg_fail(1)) SWIG_fail
;
15876 arg2
= (int)(SWIG_As_int(obj1
));
15877 if (SWIG_arg_fail(2)) SWIG_fail
;
15880 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15881 (arg1
)->SetPosition(arg2
);
15883 wxPyEndAllowThreads(__tstate
);
15884 if (PyErr_Occurred()) SWIG_fail
;
15886 Py_INCREF(Py_None
); resultobj
= Py_None
;
15893 static PyObject
* ScrollWinEvent_swigregister(PyObject
*, PyObject
*args
) {
15895 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15896 SWIG_TypeClientData(SWIGTYPE_p_wxScrollWinEvent
, obj
);
15898 return Py_BuildValue((char *)"");
15900 static PyObject
*_wrap_new_MouseEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15901 PyObject
*resultobj
;
15902 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
15903 wxMouseEvent
*result
;
15904 PyObject
* obj0
= 0 ;
15905 char *kwnames
[] = {
15906 (char *) "mouseType", NULL
15909 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_MouseEvent",kwnames
,&obj0
)) goto fail
;
15912 arg1
= (wxEventType
)(SWIG_As_int(obj0
));
15913 if (SWIG_arg_fail(1)) SWIG_fail
;
15917 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15918 result
= (wxMouseEvent
*)new wxMouseEvent(arg1
);
15920 wxPyEndAllowThreads(__tstate
);
15921 if (PyErr_Occurred()) SWIG_fail
;
15924 resultobj
= wxPyMake_wxObject(result
, 1);
15932 static PyObject
*_wrap_MouseEvent_IsButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15933 PyObject
*resultobj
;
15934 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15936 PyObject
* obj0
= 0 ;
15937 char *kwnames
[] = {
15938 (char *) "self", NULL
15941 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_IsButton",kwnames
,&obj0
)) goto fail
;
15942 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
15943 if (SWIG_arg_fail(1)) SWIG_fail
;
15945 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15946 result
= (bool)((wxMouseEvent
const *)arg1
)->IsButton();
15948 wxPyEndAllowThreads(__tstate
);
15949 if (PyErr_Occurred()) SWIG_fail
;
15952 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15960 static PyObject
*_wrap_MouseEvent_ButtonDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15961 PyObject
*resultobj
;
15962 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15963 int arg2
= (int) wxMOUSE_BTN_ANY
;
15965 PyObject
* obj0
= 0 ;
15966 PyObject
* obj1
= 0 ;
15967 char *kwnames
[] = {
15968 (char *) "self",(char *) "but", NULL
15971 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:MouseEvent_ButtonDown",kwnames
,&obj0
,&obj1
)) goto fail
;
15972 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
15973 if (SWIG_arg_fail(1)) SWIG_fail
;
15976 arg2
= (int)(SWIG_As_int(obj1
));
15977 if (SWIG_arg_fail(2)) SWIG_fail
;
15981 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15982 result
= (bool)((wxMouseEvent
const *)arg1
)->ButtonDown(arg2
);
15984 wxPyEndAllowThreads(__tstate
);
15985 if (PyErr_Occurred()) SWIG_fail
;
15988 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15996 static PyObject
*_wrap_MouseEvent_ButtonDClick(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15997 PyObject
*resultobj
;
15998 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15999 int arg2
= (int) wxMOUSE_BTN_ANY
;
16001 PyObject
* obj0
= 0 ;
16002 PyObject
* obj1
= 0 ;
16003 char *kwnames
[] = {
16004 (char *) "self",(char *) "but", NULL
16007 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:MouseEvent_ButtonDClick",kwnames
,&obj0
,&obj1
)) goto fail
;
16008 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16009 if (SWIG_arg_fail(1)) SWIG_fail
;
16012 arg2
= (int)(SWIG_As_int(obj1
));
16013 if (SWIG_arg_fail(2)) SWIG_fail
;
16017 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16018 result
= (bool)((wxMouseEvent
const *)arg1
)->ButtonDClick(arg2
);
16020 wxPyEndAllowThreads(__tstate
);
16021 if (PyErr_Occurred()) SWIG_fail
;
16024 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16032 static PyObject
*_wrap_MouseEvent_ButtonUp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16033 PyObject
*resultobj
;
16034 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16035 int arg2
= (int) wxMOUSE_BTN_ANY
;
16037 PyObject
* obj0
= 0 ;
16038 PyObject
* obj1
= 0 ;
16039 char *kwnames
[] = {
16040 (char *) "self",(char *) "but", NULL
16043 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:MouseEvent_ButtonUp",kwnames
,&obj0
,&obj1
)) goto fail
;
16044 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16045 if (SWIG_arg_fail(1)) SWIG_fail
;
16048 arg2
= (int)(SWIG_As_int(obj1
));
16049 if (SWIG_arg_fail(2)) SWIG_fail
;
16053 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16054 result
= (bool)((wxMouseEvent
const *)arg1
)->ButtonUp(arg2
);
16056 wxPyEndAllowThreads(__tstate
);
16057 if (PyErr_Occurred()) SWIG_fail
;
16060 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16068 static PyObject
*_wrap_MouseEvent_Button(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16069 PyObject
*resultobj
;
16070 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16073 PyObject
* obj0
= 0 ;
16074 PyObject
* obj1
= 0 ;
16075 char *kwnames
[] = {
16076 (char *) "self",(char *) "but", NULL
16079 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_Button",kwnames
,&obj0
,&obj1
)) goto fail
;
16080 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16081 if (SWIG_arg_fail(1)) SWIG_fail
;
16083 arg2
= (int)(SWIG_As_int(obj1
));
16084 if (SWIG_arg_fail(2)) SWIG_fail
;
16087 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16088 result
= (bool)((wxMouseEvent
const *)arg1
)->Button(arg2
);
16090 wxPyEndAllowThreads(__tstate
);
16091 if (PyErr_Occurred()) SWIG_fail
;
16094 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16102 static PyObject
*_wrap_MouseEvent_ButtonIsDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16103 PyObject
*resultobj
;
16104 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16107 PyObject
* obj0
= 0 ;
16108 PyObject
* obj1
= 0 ;
16109 char *kwnames
[] = {
16110 (char *) "self",(char *) "but", NULL
16113 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_ButtonIsDown",kwnames
,&obj0
,&obj1
)) goto fail
;
16114 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16115 if (SWIG_arg_fail(1)) SWIG_fail
;
16117 arg2
= (int)(SWIG_As_int(obj1
));
16118 if (SWIG_arg_fail(2)) SWIG_fail
;
16121 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16122 result
= (bool)((wxMouseEvent
const *)arg1
)->ButtonIsDown(arg2
);
16124 wxPyEndAllowThreads(__tstate
);
16125 if (PyErr_Occurred()) SWIG_fail
;
16128 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16136 static PyObject
*_wrap_MouseEvent_GetButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16137 PyObject
*resultobj
;
16138 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16140 PyObject
* obj0
= 0 ;
16141 char *kwnames
[] = {
16142 (char *) "self", NULL
16145 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetButton",kwnames
,&obj0
)) goto fail
;
16146 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16147 if (SWIG_arg_fail(1)) SWIG_fail
;
16149 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16150 result
= (int)((wxMouseEvent
const *)arg1
)->GetButton();
16152 wxPyEndAllowThreads(__tstate
);
16153 if (PyErr_Occurred()) SWIG_fail
;
16156 resultobj
= SWIG_From_int((int)(result
));
16164 static PyObject
*_wrap_MouseEvent_ControlDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16165 PyObject
*resultobj
;
16166 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16168 PyObject
* obj0
= 0 ;
16169 char *kwnames
[] = {
16170 (char *) "self", NULL
16173 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_ControlDown",kwnames
,&obj0
)) goto fail
;
16174 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16175 if (SWIG_arg_fail(1)) SWIG_fail
;
16177 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16178 result
= (bool)((wxMouseEvent
const *)arg1
)->ControlDown();
16180 wxPyEndAllowThreads(__tstate
);
16181 if (PyErr_Occurred()) SWIG_fail
;
16184 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16192 static PyObject
*_wrap_MouseEvent_MetaDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16193 PyObject
*resultobj
;
16194 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16196 PyObject
* obj0
= 0 ;
16197 char *kwnames
[] = {
16198 (char *) "self", NULL
16201 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_MetaDown",kwnames
,&obj0
)) goto fail
;
16202 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16203 if (SWIG_arg_fail(1)) SWIG_fail
;
16205 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16206 result
= (bool)((wxMouseEvent
const *)arg1
)->MetaDown();
16208 wxPyEndAllowThreads(__tstate
);
16209 if (PyErr_Occurred()) SWIG_fail
;
16212 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16220 static PyObject
*_wrap_MouseEvent_AltDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16221 PyObject
*resultobj
;
16222 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16224 PyObject
* obj0
= 0 ;
16225 char *kwnames
[] = {
16226 (char *) "self", NULL
16229 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_AltDown",kwnames
,&obj0
)) goto fail
;
16230 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16231 if (SWIG_arg_fail(1)) SWIG_fail
;
16233 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16234 result
= (bool)((wxMouseEvent
const *)arg1
)->AltDown();
16236 wxPyEndAllowThreads(__tstate
);
16237 if (PyErr_Occurred()) SWIG_fail
;
16240 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16248 static PyObject
*_wrap_MouseEvent_ShiftDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16249 PyObject
*resultobj
;
16250 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16252 PyObject
* obj0
= 0 ;
16253 char *kwnames
[] = {
16254 (char *) "self", NULL
16257 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_ShiftDown",kwnames
,&obj0
)) goto fail
;
16258 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16259 if (SWIG_arg_fail(1)) SWIG_fail
;
16261 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16262 result
= (bool)((wxMouseEvent
const *)arg1
)->ShiftDown();
16264 wxPyEndAllowThreads(__tstate
);
16265 if (PyErr_Occurred()) SWIG_fail
;
16268 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16276 static PyObject
*_wrap_MouseEvent_CmdDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16277 PyObject
*resultobj
;
16278 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16280 PyObject
* obj0
= 0 ;
16281 char *kwnames
[] = {
16282 (char *) "self", NULL
16285 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_CmdDown",kwnames
,&obj0
)) goto fail
;
16286 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16287 if (SWIG_arg_fail(1)) SWIG_fail
;
16289 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16290 result
= (bool)((wxMouseEvent
const *)arg1
)->CmdDown();
16292 wxPyEndAllowThreads(__tstate
);
16293 if (PyErr_Occurred()) SWIG_fail
;
16296 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16304 static PyObject
*_wrap_MouseEvent_LeftDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16305 PyObject
*resultobj
;
16306 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16308 PyObject
* obj0
= 0 ;
16309 char *kwnames
[] = {
16310 (char *) "self", NULL
16313 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_LeftDown",kwnames
,&obj0
)) goto fail
;
16314 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16315 if (SWIG_arg_fail(1)) SWIG_fail
;
16317 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16318 result
= (bool)((wxMouseEvent
const *)arg1
)->LeftDown();
16320 wxPyEndAllowThreads(__tstate
);
16321 if (PyErr_Occurred()) SWIG_fail
;
16324 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16332 static PyObject
*_wrap_MouseEvent_MiddleDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16333 PyObject
*resultobj
;
16334 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16336 PyObject
* obj0
= 0 ;
16337 char *kwnames
[] = {
16338 (char *) "self", NULL
16341 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_MiddleDown",kwnames
,&obj0
)) goto fail
;
16342 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16343 if (SWIG_arg_fail(1)) SWIG_fail
;
16345 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16346 result
= (bool)((wxMouseEvent
const *)arg1
)->MiddleDown();
16348 wxPyEndAllowThreads(__tstate
);
16349 if (PyErr_Occurred()) SWIG_fail
;
16352 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16360 static PyObject
*_wrap_MouseEvent_RightDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16361 PyObject
*resultobj
;
16362 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16364 PyObject
* obj0
= 0 ;
16365 char *kwnames
[] = {
16366 (char *) "self", NULL
16369 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_RightDown",kwnames
,&obj0
)) goto fail
;
16370 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16371 if (SWIG_arg_fail(1)) SWIG_fail
;
16373 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16374 result
= (bool)((wxMouseEvent
const *)arg1
)->RightDown();
16376 wxPyEndAllowThreads(__tstate
);
16377 if (PyErr_Occurred()) SWIG_fail
;
16380 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16388 static PyObject
*_wrap_MouseEvent_LeftUp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16389 PyObject
*resultobj
;
16390 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16392 PyObject
* obj0
= 0 ;
16393 char *kwnames
[] = {
16394 (char *) "self", NULL
16397 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_LeftUp",kwnames
,&obj0
)) goto fail
;
16398 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16399 if (SWIG_arg_fail(1)) SWIG_fail
;
16401 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16402 result
= (bool)((wxMouseEvent
const *)arg1
)->LeftUp();
16404 wxPyEndAllowThreads(__tstate
);
16405 if (PyErr_Occurred()) SWIG_fail
;
16408 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16416 static PyObject
*_wrap_MouseEvent_MiddleUp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16417 PyObject
*resultobj
;
16418 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16420 PyObject
* obj0
= 0 ;
16421 char *kwnames
[] = {
16422 (char *) "self", NULL
16425 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_MiddleUp",kwnames
,&obj0
)) goto fail
;
16426 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16427 if (SWIG_arg_fail(1)) SWIG_fail
;
16429 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16430 result
= (bool)((wxMouseEvent
const *)arg1
)->MiddleUp();
16432 wxPyEndAllowThreads(__tstate
);
16433 if (PyErr_Occurred()) SWIG_fail
;
16436 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16444 static PyObject
*_wrap_MouseEvent_RightUp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16445 PyObject
*resultobj
;
16446 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16448 PyObject
* obj0
= 0 ;
16449 char *kwnames
[] = {
16450 (char *) "self", NULL
16453 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_RightUp",kwnames
,&obj0
)) goto fail
;
16454 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16455 if (SWIG_arg_fail(1)) SWIG_fail
;
16457 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16458 result
= (bool)((wxMouseEvent
const *)arg1
)->RightUp();
16460 wxPyEndAllowThreads(__tstate
);
16461 if (PyErr_Occurred()) SWIG_fail
;
16464 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16472 static PyObject
*_wrap_MouseEvent_LeftDClick(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16473 PyObject
*resultobj
;
16474 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16476 PyObject
* obj0
= 0 ;
16477 char *kwnames
[] = {
16478 (char *) "self", NULL
16481 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_LeftDClick",kwnames
,&obj0
)) goto fail
;
16482 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16483 if (SWIG_arg_fail(1)) SWIG_fail
;
16485 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16486 result
= (bool)((wxMouseEvent
const *)arg1
)->LeftDClick();
16488 wxPyEndAllowThreads(__tstate
);
16489 if (PyErr_Occurred()) SWIG_fail
;
16492 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16500 static PyObject
*_wrap_MouseEvent_MiddleDClick(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16501 PyObject
*resultobj
;
16502 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16504 PyObject
* obj0
= 0 ;
16505 char *kwnames
[] = {
16506 (char *) "self", NULL
16509 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_MiddleDClick",kwnames
,&obj0
)) goto fail
;
16510 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16511 if (SWIG_arg_fail(1)) SWIG_fail
;
16513 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16514 result
= (bool)((wxMouseEvent
const *)arg1
)->MiddleDClick();
16516 wxPyEndAllowThreads(__tstate
);
16517 if (PyErr_Occurred()) SWIG_fail
;
16520 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16528 static PyObject
*_wrap_MouseEvent_RightDClick(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16529 PyObject
*resultobj
;
16530 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16532 PyObject
* obj0
= 0 ;
16533 char *kwnames
[] = {
16534 (char *) "self", NULL
16537 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_RightDClick",kwnames
,&obj0
)) goto fail
;
16538 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16539 if (SWIG_arg_fail(1)) SWIG_fail
;
16541 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16542 result
= (bool)((wxMouseEvent
const *)arg1
)->RightDClick();
16544 wxPyEndAllowThreads(__tstate
);
16545 if (PyErr_Occurred()) SWIG_fail
;
16548 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16556 static PyObject
*_wrap_MouseEvent_LeftIsDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16557 PyObject
*resultobj
;
16558 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16560 PyObject
* obj0
= 0 ;
16561 char *kwnames
[] = {
16562 (char *) "self", NULL
16565 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_LeftIsDown",kwnames
,&obj0
)) goto fail
;
16566 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16567 if (SWIG_arg_fail(1)) SWIG_fail
;
16569 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16570 result
= (bool)(arg1
)->LeftIsDown();
16572 wxPyEndAllowThreads(__tstate
);
16573 if (PyErr_Occurred()) SWIG_fail
;
16576 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16584 static PyObject
*_wrap_MouseEvent_MiddleIsDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16585 PyObject
*resultobj
;
16586 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16588 PyObject
* obj0
= 0 ;
16589 char *kwnames
[] = {
16590 (char *) "self", NULL
16593 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_MiddleIsDown",kwnames
,&obj0
)) goto fail
;
16594 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16595 if (SWIG_arg_fail(1)) SWIG_fail
;
16597 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16598 result
= (bool)(arg1
)->MiddleIsDown();
16600 wxPyEndAllowThreads(__tstate
);
16601 if (PyErr_Occurred()) SWIG_fail
;
16604 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16612 static PyObject
*_wrap_MouseEvent_RightIsDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16613 PyObject
*resultobj
;
16614 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16616 PyObject
* obj0
= 0 ;
16617 char *kwnames
[] = {
16618 (char *) "self", NULL
16621 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_RightIsDown",kwnames
,&obj0
)) goto fail
;
16622 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16623 if (SWIG_arg_fail(1)) SWIG_fail
;
16625 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16626 result
= (bool)(arg1
)->RightIsDown();
16628 wxPyEndAllowThreads(__tstate
);
16629 if (PyErr_Occurred()) SWIG_fail
;
16632 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16640 static PyObject
*_wrap_MouseEvent_Dragging(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16641 PyObject
*resultobj
;
16642 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16644 PyObject
* obj0
= 0 ;
16645 char *kwnames
[] = {
16646 (char *) "self", NULL
16649 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_Dragging",kwnames
,&obj0
)) goto fail
;
16650 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16651 if (SWIG_arg_fail(1)) SWIG_fail
;
16653 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16654 result
= (bool)((wxMouseEvent
const *)arg1
)->Dragging();
16656 wxPyEndAllowThreads(__tstate
);
16657 if (PyErr_Occurred()) SWIG_fail
;
16660 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16668 static PyObject
*_wrap_MouseEvent_Moving(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16669 PyObject
*resultobj
;
16670 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16672 PyObject
* obj0
= 0 ;
16673 char *kwnames
[] = {
16674 (char *) "self", NULL
16677 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_Moving",kwnames
,&obj0
)) goto fail
;
16678 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16679 if (SWIG_arg_fail(1)) SWIG_fail
;
16681 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16682 result
= (bool)((wxMouseEvent
const *)arg1
)->Moving();
16684 wxPyEndAllowThreads(__tstate
);
16685 if (PyErr_Occurred()) SWIG_fail
;
16688 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16696 static PyObject
*_wrap_MouseEvent_Entering(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16697 PyObject
*resultobj
;
16698 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16700 PyObject
* obj0
= 0 ;
16701 char *kwnames
[] = {
16702 (char *) "self", NULL
16705 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_Entering",kwnames
,&obj0
)) goto fail
;
16706 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16707 if (SWIG_arg_fail(1)) SWIG_fail
;
16709 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16710 result
= (bool)((wxMouseEvent
const *)arg1
)->Entering();
16712 wxPyEndAllowThreads(__tstate
);
16713 if (PyErr_Occurred()) SWIG_fail
;
16716 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16724 static PyObject
*_wrap_MouseEvent_Leaving(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16725 PyObject
*resultobj
;
16726 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16728 PyObject
* obj0
= 0 ;
16729 char *kwnames
[] = {
16730 (char *) "self", NULL
16733 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_Leaving",kwnames
,&obj0
)) goto fail
;
16734 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16735 if (SWIG_arg_fail(1)) SWIG_fail
;
16737 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16738 result
= (bool)((wxMouseEvent
const *)arg1
)->Leaving();
16740 wxPyEndAllowThreads(__tstate
);
16741 if (PyErr_Occurred()) SWIG_fail
;
16744 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16752 static PyObject
*_wrap_MouseEvent_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16753 PyObject
*resultobj
;
16754 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16756 PyObject
* obj0
= 0 ;
16757 char *kwnames
[] = {
16758 (char *) "self", NULL
16761 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
16762 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16763 if (SWIG_arg_fail(1)) SWIG_fail
;
16765 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16766 result
= (arg1
)->GetPosition();
16768 wxPyEndAllowThreads(__tstate
);
16769 if (PyErr_Occurred()) SWIG_fail
;
16772 wxPoint
* resultptr
;
16773 resultptr
= new wxPoint((wxPoint
&)(result
));
16774 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
16782 static PyObject
*_wrap_MouseEvent_GetPositionTuple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16783 PyObject
*resultobj
;
16784 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16785 long *arg2
= (long *) 0 ;
16786 long *arg3
= (long *) 0 ;
16791 PyObject
* obj0
= 0 ;
16792 char *kwnames
[] = {
16793 (char *) "self", NULL
16796 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
16797 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
16798 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetPositionTuple",kwnames
,&obj0
)) goto fail
;
16799 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16800 if (SWIG_arg_fail(1)) SWIG_fail
;
16802 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16803 (arg1
)->GetPosition(arg2
,arg3
);
16805 wxPyEndAllowThreads(__tstate
);
16806 if (PyErr_Occurred()) SWIG_fail
;
16808 Py_INCREF(Py_None
); resultobj
= Py_None
;
16809 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
16810 SWIG_From_long((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_long
, 0)));
16811 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
16812 SWIG_From_long((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, 0)));
16819 static PyObject
*_wrap_MouseEvent_GetLogicalPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16820 PyObject
*resultobj
;
16821 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16824 PyObject
* obj0
= 0 ;
16825 PyObject
* obj1
= 0 ;
16826 char *kwnames
[] = {
16827 (char *) "self",(char *) "dc", NULL
16830 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_GetLogicalPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
16831 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16832 if (SWIG_arg_fail(1)) SWIG_fail
;
16834 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
16835 if (SWIG_arg_fail(2)) SWIG_fail
;
16836 if (arg2
== NULL
) {
16837 SWIG_null_ref("wxDC");
16839 if (SWIG_arg_fail(2)) SWIG_fail
;
16842 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16843 result
= ((wxMouseEvent
const *)arg1
)->GetLogicalPosition((wxDC
const &)*arg2
);
16845 wxPyEndAllowThreads(__tstate
);
16846 if (PyErr_Occurred()) SWIG_fail
;
16849 wxPoint
* resultptr
;
16850 resultptr
= new wxPoint((wxPoint
&)(result
));
16851 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
16859 static PyObject
*_wrap_MouseEvent_GetX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16860 PyObject
*resultobj
;
16861 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16863 PyObject
* obj0
= 0 ;
16864 char *kwnames
[] = {
16865 (char *) "self", NULL
16868 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetX",kwnames
,&obj0
)) goto fail
;
16869 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16870 if (SWIG_arg_fail(1)) SWIG_fail
;
16872 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16873 result
= (int)((wxMouseEvent
const *)arg1
)->GetX();
16875 wxPyEndAllowThreads(__tstate
);
16876 if (PyErr_Occurred()) SWIG_fail
;
16879 resultobj
= SWIG_From_int((int)(result
));
16887 static PyObject
*_wrap_MouseEvent_GetY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16888 PyObject
*resultobj
;
16889 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16891 PyObject
* obj0
= 0 ;
16892 char *kwnames
[] = {
16893 (char *) "self", NULL
16896 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetY",kwnames
,&obj0
)) goto fail
;
16897 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16898 if (SWIG_arg_fail(1)) SWIG_fail
;
16900 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16901 result
= (int)((wxMouseEvent
const *)arg1
)->GetY();
16903 wxPyEndAllowThreads(__tstate
);
16904 if (PyErr_Occurred()) SWIG_fail
;
16907 resultobj
= SWIG_From_int((int)(result
));
16915 static PyObject
*_wrap_MouseEvent_GetWheelRotation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16916 PyObject
*resultobj
;
16917 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16919 PyObject
* obj0
= 0 ;
16920 char *kwnames
[] = {
16921 (char *) "self", NULL
16924 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetWheelRotation",kwnames
,&obj0
)) goto fail
;
16925 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16926 if (SWIG_arg_fail(1)) SWIG_fail
;
16928 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16929 result
= (int)((wxMouseEvent
const *)arg1
)->GetWheelRotation();
16931 wxPyEndAllowThreads(__tstate
);
16932 if (PyErr_Occurred()) SWIG_fail
;
16935 resultobj
= SWIG_From_int((int)(result
));
16943 static PyObject
*_wrap_MouseEvent_GetWheelDelta(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16944 PyObject
*resultobj
;
16945 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16947 PyObject
* obj0
= 0 ;
16948 char *kwnames
[] = {
16949 (char *) "self", NULL
16952 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetWheelDelta",kwnames
,&obj0
)) goto fail
;
16953 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16954 if (SWIG_arg_fail(1)) SWIG_fail
;
16956 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16957 result
= (int)((wxMouseEvent
const *)arg1
)->GetWheelDelta();
16959 wxPyEndAllowThreads(__tstate
);
16960 if (PyErr_Occurred()) SWIG_fail
;
16963 resultobj
= SWIG_From_int((int)(result
));
16971 static PyObject
*_wrap_MouseEvent_GetLinesPerAction(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16972 PyObject
*resultobj
;
16973 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16975 PyObject
* obj0
= 0 ;
16976 char *kwnames
[] = {
16977 (char *) "self", NULL
16980 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetLinesPerAction",kwnames
,&obj0
)) goto fail
;
16981 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16982 if (SWIG_arg_fail(1)) SWIG_fail
;
16984 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16985 result
= (int)((wxMouseEvent
const *)arg1
)->GetLinesPerAction();
16987 wxPyEndAllowThreads(__tstate
);
16988 if (PyErr_Occurred()) SWIG_fail
;
16991 resultobj
= SWIG_From_int((int)(result
));
16999 static PyObject
*_wrap_MouseEvent_IsPageScroll(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17000 PyObject
*resultobj
;
17001 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17003 PyObject
* obj0
= 0 ;
17004 char *kwnames
[] = {
17005 (char *) "self", NULL
17008 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_IsPageScroll",kwnames
,&obj0
)) goto fail
;
17009 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17010 if (SWIG_arg_fail(1)) SWIG_fail
;
17012 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17013 result
= (bool)((wxMouseEvent
const *)arg1
)->IsPageScroll();
17015 wxPyEndAllowThreads(__tstate
);
17016 if (PyErr_Occurred()) SWIG_fail
;
17019 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17027 static PyObject
*_wrap_MouseEvent_m_x_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17028 PyObject
*resultobj
;
17029 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17031 PyObject
* obj0
= 0 ;
17032 PyObject
* obj1
= 0 ;
17033 char *kwnames
[] = {
17034 (char *) "self",(char *) "m_x", NULL
17037 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_x_set",kwnames
,&obj0
,&obj1
)) goto fail
;
17038 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17039 if (SWIG_arg_fail(1)) SWIG_fail
;
17041 arg2
= (int)(SWIG_As_int(obj1
));
17042 if (SWIG_arg_fail(2)) SWIG_fail
;
17044 if (arg1
) (arg1
)->m_x
= arg2
;
17046 Py_INCREF(Py_None
); resultobj
= Py_None
;
17053 static PyObject
*_wrap_MouseEvent_m_x_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17054 PyObject
*resultobj
;
17055 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17057 PyObject
* obj0
= 0 ;
17058 char *kwnames
[] = {
17059 (char *) "self", NULL
17062 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_x_get",kwnames
,&obj0
)) goto fail
;
17063 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17064 if (SWIG_arg_fail(1)) SWIG_fail
;
17065 result
= (int) ((arg1
)->m_x
);
17068 resultobj
= SWIG_From_int((int)(result
));
17076 static PyObject
*_wrap_MouseEvent_m_y_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17077 PyObject
*resultobj
;
17078 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17080 PyObject
* obj0
= 0 ;
17081 PyObject
* obj1
= 0 ;
17082 char *kwnames
[] = {
17083 (char *) "self",(char *) "m_y", NULL
17086 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_y_set",kwnames
,&obj0
,&obj1
)) goto fail
;
17087 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17088 if (SWIG_arg_fail(1)) SWIG_fail
;
17090 arg2
= (int)(SWIG_As_int(obj1
));
17091 if (SWIG_arg_fail(2)) SWIG_fail
;
17093 if (arg1
) (arg1
)->m_y
= arg2
;
17095 Py_INCREF(Py_None
); resultobj
= Py_None
;
17102 static PyObject
*_wrap_MouseEvent_m_y_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17103 PyObject
*resultobj
;
17104 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17106 PyObject
* obj0
= 0 ;
17107 char *kwnames
[] = {
17108 (char *) "self", NULL
17111 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_y_get",kwnames
,&obj0
)) goto fail
;
17112 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17113 if (SWIG_arg_fail(1)) SWIG_fail
;
17114 result
= (int) ((arg1
)->m_y
);
17117 resultobj
= SWIG_From_int((int)(result
));
17125 static PyObject
*_wrap_MouseEvent_m_leftDown_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17126 PyObject
*resultobj
;
17127 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17129 PyObject
* obj0
= 0 ;
17130 PyObject
* obj1
= 0 ;
17131 char *kwnames
[] = {
17132 (char *) "self",(char *) "m_leftDown", NULL
17135 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_leftDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
17136 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17137 if (SWIG_arg_fail(1)) SWIG_fail
;
17139 arg2
= (bool)(SWIG_As_bool(obj1
));
17140 if (SWIG_arg_fail(2)) SWIG_fail
;
17142 if (arg1
) (arg1
)->m_leftDown
= arg2
;
17144 Py_INCREF(Py_None
); resultobj
= Py_None
;
17151 static PyObject
*_wrap_MouseEvent_m_leftDown_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17152 PyObject
*resultobj
;
17153 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17155 PyObject
* obj0
= 0 ;
17156 char *kwnames
[] = {
17157 (char *) "self", NULL
17160 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_leftDown_get",kwnames
,&obj0
)) goto fail
;
17161 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17162 if (SWIG_arg_fail(1)) SWIG_fail
;
17163 result
= (bool) ((arg1
)->m_leftDown
);
17166 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17174 static PyObject
*_wrap_MouseEvent_m_middleDown_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17175 PyObject
*resultobj
;
17176 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17178 PyObject
* obj0
= 0 ;
17179 PyObject
* obj1
= 0 ;
17180 char *kwnames
[] = {
17181 (char *) "self",(char *) "m_middleDown", NULL
17184 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_middleDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
17185 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17186 if (SWIG_arg_fail(1)) SWIG_fail
;
17188 arg2
= (bool)(SWIG_As_bool(obj1
));
17189 if (SWIG_arg_fail(2)) SWIG_fail
;
17191 if (arg1
) (arg1
)->m_middleDown
= arg2
;
17193 Py_INCREF(Py_None
); resultobj
= Py_None
;
17200 static PyObject
*_wrap_MouseEvent_m_middleDown_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17201 PyObject
*resultobj
;
17202 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17204 PyObject
* obj0
= 0 ;
17205 char *kwnames
[] = {
17206 (char *) "self", NULL
17209 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_middleDown_get",kwnames
,&obj0
)) goto fail
;
17210 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17211 if (SWIG_arg_fail(1)) SWIG_fail
;
17212 result
= (bool) ((arg1
)->m_middleDown
);
17215 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17223 static PyObject
*_wrap_MouseEvent_m_rightDown_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17224 PyObject
*resultobj
;
17225 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17227 PyObject
* obj0
= 0 ;
17228 PyObject
* obj1
= 0 ;
17229 char *kwnames
[] = {
17230 (char *) "self",(char *) "m_rightDown", NULL
17233 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_rightDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
17234 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17235 if (SWIG_arg_fail(1)) SWIG_fail
;
17237 arg2
= (bool)(SWIG_As_bool(obj1
));
17238 if (SWIG_arg_fail(2)) SWIG_fail
;
17240 if (arg1
) (arg1
)->m_rightDown
= arg2
;
17242 Py_INCREF(Py_None
); resultobj
= Py_None
;
17249 static PyObject
*_wrap_MouseEvent_m_rightDown_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17250 PyObject
*resultobj
;
17251 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17253 PyObject
* obj0
= 0 ;
17254 char *kwnames
[] = {
17255 (char *) "self", NULL
17258 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_rightDown_get",kwnames
,&obj0
)) goto fail
;
17259 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17260 if (SWIG_arg_fail(1)) SWIG_fail
;
17261 result
= (bool) ((arg1
)->m_rightDown
);
17264 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17272 static PyObject
*_wrap_MouseEvent_m_controlDown_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17273 PyObject
*resultobj
;
17274 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17276 PyObject
* obj0
= 0 ;
17277 PyObject
* obj1
= 0 ;
17278 char *kwnames
[] = {
17279 (char *) "self",(char *) "m_controlDown", NULL
17282 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_controlDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
17283 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17284 if (SWIG_arg_fail(1)) SWIG_fail
;
17286 arg2
= (bool)(SWIG_As_bool(obj1
));
17287 if (SWIG_arg_fail(2)) SWIG_fail
;
17289 if (arg1
) (arg1
)->m_controlDown
= arg2
;
17291 Py_INCREF(Py_None
); resultobj
= Py_None
;
17298 static PyObject
*_wrap_MouseEvent_m_controlDown_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17299 PyObject
*resultobj
;
17300 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17302 PyObject
* obj0
= 0 ;
17303 char *kwnames
[] = {
17304 (char *) "self", NULL
17307 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_controlDown_get",kwnames
,&obj0
)) goto fail
;
17308 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17309 if (SWIG_arg_fail(1)) SWIG_fail
;
17310 result
= (bool) ((arg1
)->m_controlDown
);
17313 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17321 static PyObject
*_wrap_MouseEvent_m_shiftDown_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17322 PyObject
*resultobj
;
17323 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17325 PyObject
* obj0
= 0 ;
17326 PyObject
* obj1
= 0 ;
17327 char *kwnames
[] = {
17328 (char *) "self",(char *) "m_shiftDown", NULL
17331 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_shiftDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
17332 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17333 if (SWIG_arg_fail(1)) SWIG_fail
;
17335 arg2
= (bool)(SWIG_As_bool(obj1
));
17336 if (SWIG_arg_fail(2)) SWIG_fail
;
17338 if (arg1
) (arg1
)->m_shiftDown
= arg2
;
17340 Py_INCREF(Py_None
); resultobj
= Py_None
;
17347 static PyObject
*_wrap_MouseEvent_m_shiftDown_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17348 PyObject
*resultobj
;
17349 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17351 PyObject
* obj0
= 0 ;
17352 char *kwnames
[] = {
17353 (char *) "self", NULL
17356 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_shiftDown_get",kwnames
,&obj0
)) goto fail
;
17357 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17358 if (SWIG_arg_fail(1)) SWIG_fail
;
17359 result
= (bool) ((arg1
)->m_shiftDown
);
17362 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17370 static PyObject
*_wrap_MouseEvent_m_altDown_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17371 PyObject
*resultobj
;
17372 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17374 PyObject
* obj0
= 0 ;
17375 PyObject
* obj1
= 0 ;
17376 char *kwnames
[] = {
17377 (char *) "self",(char *) "m_altDown", NULL
17380 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_altDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
17381 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17382 if (SWIG_arg_fail(1)) SWIG_fail
;
17384 arg2
= (bool)(SWIG_As_bool(obj1
));
17385 if (SWIG_arg_fail(2)) SWIG_fail
;
17387 if (arg1
) (arg1
)->m_altDown
= arg2
;
17389 Py_INCREF(Py_None
); resultobj
= Py_None
;
17396 static PyObject
*_wrap_MouseEvent_m_altDown_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17397 PyObject
*resultobj
;
17398 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17400 PyObject
* obj0
= 0 ;
17401 char *kwnames
[] = {
17402 (char *) "self", NULL
17405 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_altDown_get",kwnames
,&obj0
)) goto fail
;
17406 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17407 if (SWIG_arg_fail(1)) SWIG_fail
;
17408 result
= (bool) ((arg1
)->m_altDown
);
17411 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17419 static PyObject
*_wrap_MouseEvent_m_metaDown_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17420 PyObject
*resultobj
;
17421 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17423 PyObject
* obj0
= 0 ;
17424 PyObject
* obj1
= 0 ;
17425 char *kwnames
[] = {
17426 (char *) "self",(char *) "m_metaDown", NULL
17429 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_metaDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
17430 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17431 if (SWIG_arg_fail(1)) SWIG_fail
;
17433 arg2
= (bool)(SWIG_As_bool(obj1
));
17434 if (SWIG_arg_fail(2)) SWIG_fail
;
17436 if (arg1
) (arg1
)->m_metaDown
= arg2
;
17438 Py_INCREF(Py_None
); resultobj
= Py_None
;
17445 static PyObject
*_wrap_MouseEvent_m_metaDown_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17446 PyObject
*resultobj
;
17447 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17449 PyObject
* obj0
= 0 ;
17450 char *kwnames
[] = {
17451 (char *) "self", NULL
17454 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_metaDown_get",kwnames
,&obj0
)) goto fail
;
17455 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17456 if (SWIG_arg_fail(1)) SWIG_fail
;
17457 result
= (bool) ((arg1
)->m_metaDown
);
17460 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17468 static PyObject
*_wrap_MouseEvent_m_wheelRotation_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17469 PyObject
*resultobj
;
17470 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17472 PyObject
* obj0
= 0 ;
17473 PyObject
* obj1
= 0 ;
17474 char *kwnames
[] = {
17475 (char *) "self",(char *) "m_wheelRotation", NULL
17478 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_wheelRotation_set",kwnames
,&obj0
,&obj1
)) goto fail
;
17479 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17480 if (SWIG_arg_fail(1)) SWIG_fail
;
17482 arg2
= (int)(SWIG_As_int(obj1
));
17483 if (SWIG_arg_fail(2)) SWIG_fail
;
17485 if (arg1
) (arg1
)->m_wheelRotation
= arg2
;
17487 Py_INCREF(Py_None
); resultobj
= Py_None
;
17494 static PyObject
*_wrap_MouseEvent_m_wheelRotation_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17495 PyObject
*resultobj
;
17496 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17498 PyObject
* obj0
= 0 ;
17499 char *kwnames
[] = {
17500 (char *) "self", NULL
17503 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_wheelRotation_get",kwnames
,&obj0
)) goto fail
;
17504 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17505 if (SWIG_arg_fail(1)) SWIG_fail
;
17506 result
= (int) ((arg1
)->m_wheelRotation
);
17509 resultobj
= SWIG_From_int((int)(result
));
17517 static PyObject
*_wrap_MouseEvent_m_wheelDelta_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17518 PyObject
*resultobj
;
17519 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17521 PyObject
* obj0
= 0 ;
17522 PyObject
* obj1
= 0 ;
17523 char *kwnames
[] = {
17524 (char *) "self",(char *) "m_wheelDelta", NULL
17527 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_wheelDelta_set",kwnames
,&obj0
,&obj1
)) goto fail
;
17528 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17529 if (SWIG_arg_fail(1)) SWIG_fail
;
17531 arg2
= (int)(SWIG_As_int(obj1
));
17532 if (SWIG_arg_fail(2)) SWIG_fail
;
17534 if (arg1
) (arg1
)->m_wheelDelta
= arg2
;
17536 Py_INCREF(Py_None
); resultobj
= Py_None
;
17543 static PyObject
*_wrap_MouseEvent_m_wheelDelta_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17544 PyObject
*resultobj
;
17545 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17547 PyObject
* obj0
= 0 ;
17548 char *kwnames
[] = {
17549 (char *) "self", NULL
17552 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_wheelDelta_get",kwnames
,&obj0
)) goto fail
;
17553 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17554 if (SWIG_arg_fail(1)) SWIG_fail
;
17555 result
= (int) ((arg1
)->m_wheelDelta
);
17558 resultobj
= SWIG_From_int((int)(result
));
17566 static PyObject
*_wrap_MouseEvent_m_linesPerAction_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17567 PyObject
*resultobj
;
17568 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17570 PyObject
* obj0
= 0 ;
17571 PyObject
* obj1
= 0 ;
17572 char *kwnames
[] = {
17573 (char *) "self",(char *) "m_linesPerAction", NULL
17576 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_linesPerAction_set",kwnames
,&obj0
,&obj1
)) goto fail
;
17577 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17578 if (SWIG_arg_fail(1)) SWIG_fail
;
17580 arg2
= (int)(SWIG_As_int(obj1
));
17581 if (SWIG_arg_fail(2)) SWIG_fail
;
17583 if (arg1
) (arg1
)->m_linesPerAction
= arg2
;
17585 Py_INCREF(Py_None
); resultobj
= Py_None
;
17592 static PyObject
*_wrap_MouseEvent_m_linesPerAction_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17593 PyObject
*resultobj
;
17594 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17596 PyObject
* obj0
= 0 ;
17597 char *kwnames
[] = {
17598 (char *) "self", NULL
17601 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_linesPerAction_get",kwnames
,&obj0
)) goto fail
;
17602 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17603 if (SWIG_arg_fail(1)) SWIG_fail
;
17604 result
= (int) ((arg1
)->m_linesPerAction
);
17607 resultobj
= SWIG_From_int((int)(result
));
17615 static PyObject
* MouseEvent_swigregister(PyObject
*, PyObject
*args
) {
17617 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17618 SWIG_TypeClientData(SWIGTYPE_p_wxMouseEvent
, obj
);
17620 return Py_BuildValue((char *)"");
17622 static PyObject
*_wrap_new_SetCursorEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17623 PyObject
*resultobj
;
17624 int arg1
= (int) 0 ;
17625 int arg2
= (int) 0 ;
17626 wxSetCursorEvent
*result
;
17627 PyObject
* obj0
= 0 ;
17628 PyObject
* obj1
= 0 ;
17629 char *kwnames
[] = {
17630 (char *) "x",(char *) "y", NULL
17633 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_SetCursorEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
17636 arg1
= (int)(SWIG_As_int(obj0
));
17637 if (SWIG_arg_fail(1)) SWIG_fail
;
17642 arg2
= (int)(SWIG_As_int(obj1
));
17643 if (SWIG_arg_fail(2)) SWIG_fail
;
17647 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17648 result
= (wxSetCursorEvent
*)new wxSetCursorEvent(arg1
,arg2
);
17650 wxPyEndAllowThreads(__tstate
);
17651 if (PyErr_Occurred()) SWIG_fail
;
17653 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSetCursorEvent
, 1);
17660 static PyObject
*_wrap_SetCursorEvent_GetX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17661 PyObject
*resultobj
;
17662 wxSetCursorEvent
*arg1
= (wxSetCursorEvent
*) 0 ;
17664 PyObject
* obj0
= 0 ;
17665 char *kwnames
[] = {
17666 (char *) "self", NULL
17669 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SetCursorEvent_GetX",kwnames
,&obj0
)) goto fail
;
17670 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSetCursorEvent
, SWIG_POINTER_EXCEPTION
| 0);
17671 if (SWIG_arg_fail(1)) SWIG_fail
;
17673 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17674 result
= (int)((wxSetCursorEvent
const *)arg1
)->GetX();
17676 wxPyEndAllowThreads(__tstate
);
17677 if (PyErr_Occurred()) SWIG_fail
;
17680 resultobj
= SWIG_From_int((int)(result
));
17688 static PyObject
*_wrap_SetCursorEvent_GetY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17689 PyObject
*resultobj
;
17690 wxSetCursorEvent
*arg1
= (wxSetCursorEvent
*) 0 ;
17692 PyObject
* obj0
= 0 ;
17693 char *kwnames
[] = {
17694 (char *) "self", NULL
17697 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SetCursorEvent_GetY",kwnames
,&obj0
)) goto fail
;
17698 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSetCursorEvent
, SWIG_POINTER_EXCEPTION
| 0);
17699 if (SWIG_arg_fail(1)) SWIG_fail
;
17701 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17702 result
= (int)((wxSetCursorEvent
const *)arg1
)->GetY();
17704 wxPyEndAllowThreads(__tstate
);
17705 if (PyErr_Occurred()) SWIG_fail
;
17708 resultobj
= SWIG_From_int((int)(result
));
17716 static PyObject
*_wrap_SetCursorEvent_SetCursor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17717 PyObject
*resultobj
;
17718 wxSetCursorEvent
*arg1
= (wxSetCursorEvent
*) 0 ;
17719 wxCursor
*arg2
= 0 ;
17720 PyObject
* obj0
= 0 ;
17721 PyObject
* obj1
= 0 ;
17722 char *kwnames
[] = {
17723 (char *) "self",(char *) "cursor", NULL
17726 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SetCursorEvent_SetCursor",kwnames
,&obj0
,&obj1
)) goto fail
;
17727 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSetCursorEvent
, SWIG_POINTER_EXCEPTION
| 0);
17728 if (SWIG_arg_fail(1)) SWIG_fail
;
17730 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxCursor
, SWIG_POINTER_EXCEPTION
| 0);
17731 if (SWIG_arg_fail(2)) SWIG_fail
;
17732 if (arg2
== NULL
) {
17733 SWIG_null_ref("wxCursor");
17735 if (SWIG_arg_fail(2)) SWIG_fail
;
17738 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17739 (arg1
)->SetCursor((wxCursor
const &)*arg2
);
17741 wxPyEndAllowThreads(__tstate
);
17742 if (PyErr_Occurred()) SWIG_fail
;
17744 Py_INCREF(Py_None
); resultobj
= Py_None
;
17751 static PyObject
*_wrap_SetCursorEvent_GetCursor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17752 PyObject
*resultobj
;
17753 wxSetCursorEvent
*arg1
= (wxSetCursorEvent
*) 0 ;
17755 PyObject
* obj0
= 0 ;
17756 char *kwnames
[] = {
17757 (char *) "self", NULL
17760 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SetCursorEvent_GetCursor",kwnames
,&obj0
)) goto fail
;
17761 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSetCursorEvent
, SWIG_POINTER_EXCEPTION
| 0);
17762 if (SWIG_arg_fail(1)) SWIG_fail
;
17764 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17766 wxCursor
const &_result_ref
= ((wxSetCursorEvent
const *)arg1
)->GetCursor();
17767 result
= (wxCursor
*) &_result_ref
;
17770 wxPyEndAllowThreads(__tstate
);
17771 if (PyErr_Occurred()) SWIG_fail
;
17774 wxCursor
* resultptr
= new wxCursor(*result
);
17775 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxCursor
, 1);
17783 static PyObject
*_wrap_SetCursorEvent_HasCursor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17784 PyObject
*resultobj
;
17785 wxSetCursorEvent
*arg1
= (wxSetCursorEvent
*) 0 ;
17787 PyObject
* obj0
= 0 ;
17788 char *kwnames
[] = {
17789 (char *) "self", NULL
17792 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SetCursorEvent_HasCursor",kwnames
,&obj0
)) goto fail
;
17793 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSetCursorEvent
, SWIG_POINTER_EXCEPTION
| 0);
17794 if (SWIG_arg_fail(1)) SWIG_fail
;
17796 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17797 result
= (bool)((wxSetCursorEvent
const *)arg1
)->HasCursor();
17799 wxPyEndAllowThreads(__tstate
);
17800 if (PyErr_Occurred()) SWIG_fail
;
17803 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17811 static PyObject
* SetCursorEvent_swigregister(PyObject
*, PyObject
*args
) {
17813 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17814 SWIG_TypeClientData(SWIGTYPE_p_wxSetCursorEvent
, obj
);
17816 return Py_BuildValue((char *)"");
17818 static PyObject
*_wrap_new_KeyEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17819 PyObject
*resultobj
;
17820 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
17821 wxKeyEvent
*result
;
17822 PyObject
* obj0
= 0 ;
17823 char *kwnames
[] = {
17824 (char *) "keyType", NULL
17827 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_KeyEvent",kwnames
,&obj0
)) goto fail
;
17830 arg1
= (wxEventType
)(SWIG_As_int(obj0
));
17831 if (SWIG_arg_fail(1)) SWIG_fail
;
17835 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17836 result
= (wxKeyEvent
*)new wxKeyEvent(arg1
);
17838 wxPyEndAllowThreads(__tstate
);
17839 if (PyErr_Occurred()) SWIG_fail
;
17841 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxKeyEvent
, 1);
17848 static PyObject
*_wrap_KeyEvent_ControlDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17849 PyObject
*resultobj
;
17850 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
17852 PyObject
* obj0
= 0 ;
17853 char *kwnames
[] = {
17854 (char *) "self", NULL
17857 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_ControlDown",kwnames
,&obj0
)) goto fail
;
17858 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
17859 if (SWIG_arg_fail(1)) SWIG_fail
;
17861 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17862 result
= (bool)((wxKeyEvent
const *)arg1
)->ControlDown();
17864 wxPyEndAllowThreads(__tstate
);
17865 if (PyErr_Occurred()) SWIG_fail
;
17868 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17876 static PyObject
*_wrap_KeyEvent_MetaDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17877 PyObject
*resultobj
;
17878 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
17880 PyObject
* obj0
= 0 ;
17881 char *kwnames
[] = {
17882 (char *) "self", NULL
17885 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_MetaDown",kwnames
,&obj0
)) goto fail
;
17886 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
17887 if (SWIG_arg_fail(1)) SWIG_fail
;
17889 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17890 result
= (bool)((wxKeyEvent
const *)arg1
)->MetaDown();
17892 wxPyEndAllowThreads(__tstate
);
17893 if (PyErr_Occurred()) SWIG_fail
;
17896 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17904 static PyObject
*_wrap_KeyEvent_AltDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17905 PyObject
*resultobj
;
17906 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
17908 PyObject
* obj0
= 0 ;
17909 char *kwnames
[] = {
17910 (char *) "self", NULL
17913 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_AltDown",kwnames
,&obj0
)) goto fail
;
17914 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
17915 if (SWIG_arg_fail(1)) SWIG_fail
;
17917 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17918 result
= (bool)((wxKeyEvent
const *)arg1
)->AltDown();
17920 wxPyEndAllowThreads(__tstate
);
17921 if (PyErr_Occurred()) SWIG_fail
;
17924 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17932 static PyObject
*_wrap_KeyEvent_ShiftDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17933 PyObject
*resultobj
;
17934 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
17936 PyObject
* obj0
= 0 ;
17937 char *kwnames
[] = {
17938 (char *) "self", NULL
17941 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_ShiftDown",kwnames
,&obj0
)) goto fail
;
17942 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
17943 if (SWIG_arg_fail(1)) SWIG_fail
;
17945 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17946 result
= (bool)((wxKeyEvent
const *)arg1
)->ShiftDown();
17948 wxPyEndAllowThreads(__tstate
);
17949 if (PyErr_Occurred()) SWIG_fail
;
17952 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17960 static PyObject
*_wrap_KeyEvent_CmdDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17961 PyObject
*resultobj
;
17962 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
17964 PyObject
* obj0
= 0 ;
17965 char *kwnames
[] = {
17966 (char *) "self", NULL
17969 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_CmdDown",kwnames
,&obj0
)) goto fail
;
17970 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
17971 if (SWIG_arg_fail(1)) SWIG_fail
;
17973 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17974 result
= (bool)((wxKeyEvent
const *)arg1
)->CmdDown();
17976 wxPyEndAllowThreads(__tstate
);
17977 if (PyErr_Occurred()) SWIG_fail
;
17980 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17988 static PyObject
*_wrap_KeyEvent_HasModifiers(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17989 PyObject
*resultobj
;
17990 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
17992 PyObject
* obj0
= 0 ;
17993 char *kwnames
[] = {
17994 (char *) "self", NULL
17997 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_HasModifiers",kwnames
,&obj0
)) goto fail
;
17998 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
17999 if (SWIG_arg_fail(1)) SWIG_fail
;
18001 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18002 result
= (bool)((wxKeyEvent
const *)arg1
)->HasModifiers();
18004 wxPyEndAllowThreads(__tstate
);
18005 if (PyErr_Occurred()) SWIG_fail
;
18008 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18016 static PyObject
*_wrap_KeyEvent_GetKeyCode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18017 PyObject
*resultobj
;
18018 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18020 PyObject
* obj0
= 0 ;
18021 char *kwnames
[] = {
18022 (char *) "self", NULL
18025 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetKeyCode",kwnames
,&obj0
)) goto fail
;
18026 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18027 if (SWIG_arg_fail(1)) SWIG_fail
;
18029 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18030 result
= (int)((wxKeyEvent
const *)arg1
)->GetKeyCode();
18032 wxPyEndAllowThreads(__tstate
);
18033 if (PyErr_Occurred()) SWIG_fail
;
18036 resultobj
= SWIG_From_int((int)(result
));
18044 static PyObject
*_wrap_KeyEvent_GetUnicodeKey(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18045 PyObject
*resultobj
;
18046 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18048 PyObject
* obj0
= 0 ;
18049 char *kwnames
[] = {
18050 (char *) "self", NULL
18053 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetUnicodeKey",kwnames
,&obj0
)) goto fail
;
18054 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18055 if (SWIG_arg_fail(1)) SWIG_fail
;
18057 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18058 result
= (int)wxKeyEvent_GetUnicodeKey(arg1
);
18060 wxPyEndAllowThreads(__tstate
);
18061 if (PyErr_Occurred()) SWIG_fail
;
18064 resultobj
= SWIG_From_int((int)(result
));
18072 static PyObject
*_wrap_KeyEvent_GetRawKeyCode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18073 PyObject
*resultobj
;
18074 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18075 unsigned int result
;
18076 PyObject
* obj0
= 0 ;
18077 char *kwnames
[] = {
18078 (char *) "self", NULL
18081 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetRawKeyCode",kwnames
,&obj0
)) goto fail
;
18082 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18083 if (SWIG_arg_fail(1)) SWIG_fail
;
18085 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18086 result
= (unsigned int)((wxKeyEvent
const *)arg1
)->GetRawKeyCode();
18088 wxPyEndAllowThreads(__tstate
);
18089 if (PyErr_Occurred()) SWIG_fail
;
18092 resultobj
= SWIG_From_unsigned_SS_int((unsigned int)(result
));
18100 static PyObject
*_wrap_KeyEvent_GetRawKeyFlags(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18101 PyObject
*resultobj
;
18102 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18103 unsigned int result
;
18104 PyObject
* obj0
= 0 ;
18105 char *kwnames
[] = {
18106 (char *) "self", NULL
18109 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetRawKeyFlags",kwnames
,&obj0
)) goto fail
;
18110 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18111 if (SWIG_arg_fail(1)) SWIG_fail
;
18113 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18114 result
= (unsigned int)((wxKeyEvent
const *)arg1
)->GetRawKeyFlags();
18116 wxPyEndAllowThreads(__tstate
);
18117 if (PyErr_Occurred()) SWIG_fail
;
18120 resultobj
= SWIG_From_unsigned_SS_int((unsigned int)(result
));
18128 static PyObject
*_wrap_KeyEvent_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18129 PyObject
*resultobj
;
18130 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18132 PyObject
* obj0
= 0 ;
18133 char *kwnames
[] = {
18134 (char *) "self", NULL
18137 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
18138 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18139 if (SWIG_arg_fail(1)) SWIG_fail
;
18141 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18142 result
= (arg1
)->GetPosition();
18144 wxPyEndAllowThreads(__tstate
);
18145 if (PyErr_Occurred()) SWIG_fail
;
18148 wxPoint
* resultptr
;
18149 resultptr
= new wxPoint((wxPoint
&)(result
));
18150 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
18158 static PyObject
*_wrap_KeyEvent_GetPositionTuple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18159 PyObject
*resultobj
;
18160 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18161 long *arg2
= (long *) 0 ;
18162 long *arg3
= (long *) 0 ;
18167 PyObject
* obj0
= 0 ;
18168 char *kwnames
[] = {
18169 (char *) "self", NULL
18172 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
18173 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
18174 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetPositionTuple",kwnames
,&obj0
)) goto fail
;
18175 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18176 if (SWIG_arg_fail(1)) SWIG_fail
;
18178 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18179 (arg1
)->GetPosition(arg2
,arg3
);
18181 wxPyEndAllowThreads(__tstate
);
18182 if (PyErr_Occurred()) SWIG_fail
;
18184 Py_INCREF(Py_None
); resultobj
= Py_None
;
18185 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
18186 SWIG_From_long((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_long
, 0)));
18187 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
18188 SWIG_From_long((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, 0)));
18195 static PyObject
*_wrap_KeyEvent_GetX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18196 PyObject
*resultobj
;
18197 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18199 PyObject
* obj0
= 0 ;
18200 char *kwnames
[] = {
18201 (char *) "self", NULL
18204 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetX",kwnames
,&obj0
)) goto fail
;
18205 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18206 if (SWIG_arg_fail(1)) SWIG_fail
;
18208 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18209 result
= (int)((wxKeyEvent
const *)arg1
)->GetX();
18211 wxPyEndAllowThreads(__tstate
);
18212 if (PyErr_Occurred()) SWIG_fail
;
18215 resultobj
= SWIG_From_int((int)(result
));
18223 static PyObject
*_wrap_KeyEvent_GetY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18224 PyObject
*resultobj
;
18225 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18227 PyObject
* obj0
= 0 ;
18228 char *kwnames
[] = {
18229 (char *) "self", NULL
18232 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetY",kwnames
,&obj0
)) goto fail
;
18233 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18234 if (SWIG_arg_fail(1)) SWIG_fail
;
18236 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18237 result
= (int)((wxKeyEvent
const *)arg1
)->GetY();
18239 wxPyEndAllowThreads(__tstate
);
18240 if (PyErr_Occurred()) SWIG_fail
;
18243 resultobj
= SWIG_From_int((int)(result
));
18251 static PyObject
*_wrap_KeyEvent_m_x_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18252 PyObject
*resultobj
;
18253 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18255 PyObject
* obj0
= 0 ;
18256 PyObject
* obj1
= 0 ;
18257 char *kwnames
[] = {
18258 (char *) "self",(char *) "m_x", NULL
18261 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_x_set",kwnames
,&obj0
,&obj1
)) goto fail
;
18262 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18263 if (SWIG_arg_fail(1)) SWIG_fail
;
18265 arg2
= (int)(SWIG_As_int(obj1
));
18266 if (SWIG_arg_fail(2)) SWIG_fail
;
18268 if (arg1
) (arg1
)->m_x
= arg2
;
18270 Py_INCREF(Py_None
); resultobj
= Py_None
;
18277 static PyObject
*_wrap_KeyEvent_m_x_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18278 PyObject
*resultobj
;
18279 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18281 PyObject
* obj0
= 0 ;
18282 char *kwnames
[] = {
18283 (char *) "self", NULL
18286 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_x_get",kwnames
,&obj0
)) goto fail
;
18287 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18288 if (SWIG_arg_fail(1)) SWIG_fail
;
18289 result
= (int) ((arg1
)->m_x
);
18292 resultobj
= SWIG_From_int((int)(result
));
18300 static PyObject
*_wrap_KeyEvent_m_y_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18301 PyObject
*resultobj
;
18302 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18304 PyObject
* obj0
= 0 ;
18305 PyObject
* obj1
= 0 ;
18306 char *kwnames
[] = {
18307 (char *) "self",(char *) "m_y", NULL
18310 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_y_set",kwnames
,&obj0
,&obj1
)) goto fail
;
18311 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18312 if (SWIG_arg_fail(1)) SWIG_fail
;
18314 arg2
= (int)(SWIG_As_int(obj1
));
18315 if (SWIG_arg_fail(2)) SWIG_fail
;
18317 if (arg1
) (arg1
)->m_y
= arg2
;
18319 Py_INCREF(Py_None
); resultobj
= Py_None
;
18326 static PyObject
*_wrap_KeyEvent_m_y_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18327 PyObject
*resultobj
;
18328 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18330 PyObject
* obj0
= 0 ;
18331 char *kwnames
[] = {
18332 (char *) "self", NULL
18335 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_y_get",kwnames
,&obj0
)) goto fail
;
18336 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18337 if (SWIG_arg_fail(1)) SWIG_fail
;
18338 result
= (int) ((arg1
)->m_y
);
18341 resultobj
= SWIG_From_int((int)(result
));
18349 static PyObject
*_wrap_KeyEvent_m_keyCode_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18350 PyObject
*resultobj
;
18351 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18353 PyObject
* obj0
= 0 ;
18354 PyObject
* obj1
= 0 ;
18355 char *kwnames
[] = {
18356 (char *) "self",(char *) "m_keyCode", NULL
18359 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_keyCode_set",kwnames
,&obj0
,&obj1
)) goto fail
;
18360 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18361 if (SWIG_arg_fail(1)) SWIG_fail
;
18363 arg2
= (long)(SWIG_As_long(obj1
));
18364 if (SWIG_arg_fail(2)) SWIG_fail
;
18366 if (arg1
) (arg1
)->m_keyCode
= arg2
;
18368 Py_INCREF(Py_None
); resultobj
= Py_None
;
18375 static PyObject
*_wrap_KeyEvent_m_keyCode_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18376 PyObject
*resultobj
;
18377 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18379 PyObject
* obj0
= 0 ;
18380 char *kwnames
[] = {
18381 (char *) "self", NULL
18384 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_keyCode_get",kwnames
,&obj0
)) goto fail
;
18385 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18386 if (SWIG_arg_fail(1)) SWIG_fail
;
18387 result
= (long) ((arg1
)->m_keyCode
);
18390 resultobj
= SWIG_From_long((long)(result
));
18398 static PyObject
*_wrap_KeyEvent_m_controlDown_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18399 PyObject
*resultobj
;
18400 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18402 PyObject
* obj0
= 0 ;
18403 PyObject
* obj1
= 0 ;
18404 char *kwnames
[] = {
18405 (char *) "self",(char *) "m_controlDown", NULL
18408 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_controlDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
18409 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18410 if (SWIG_arg_fail(1)) SWIG_fail
;
18412 arg2
= (bool)(SWIG_As_bool(obj1
));
18413 if (SWIG_arg_fail(2)) SWIG_fail
;
18415 if (arg1
) (arg1
)->m_controlDown
= arg2
;
18417 Py_INCREF(Py_None
); resultobj
= Py_None
;
18424 static PyObject
*_wrap_KeyEvent_m_controlDown_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18425 PyObject
*resultobj
;
18426 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18428 PyObject
* obj0
= 0 ;
18429 char *kwnames
[] = {
18430 (char *) "self", NULL
18433 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_controlDown_get",kwnames
,&obj0
)) goto fail
;
18434 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18435 if (SWIG_arg_fail(1)) SWIG_fail
;
18436 result
= (bool) ((arg1
)->m_controlDown
);
18439 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18447 static PyObject
*_wrap_KeyEvent_m_shiftDown_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18448 PyObject
*resultobj
;
18449 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18451 PyObject
* obj0
= 0 ;
18452 PyObject
* obj1
= 0 ;
18453 char *kwnames
[] = {
18454 (char *) "self",(char *) "m_shiftDown", NULL
18457 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_shiftDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
18458 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18459 if (SWIG_arg_fail(1)) SWIG_fail
;
18461 arg2
= (bool)(SWIG_As_bool(obj1
));
18462 if (SWIG_arg_fail(2)) SWIG_fail
;
18464 if (arg1
) (arg1
)->m_shiftDown
= arg2
;
18466 Py_INCREF(Py_None
); resultobj
= Py_None
;
18473 static PyObject
*_wrap_KeyEvent_m_shiftDown_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18474 PyObject
*resultobj
;
18475 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18477 PyObject
* obj0
= 0 ;
18478 char *kwnames
[] = {
18479 (char *) "self", NULL
18482 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_shiftDown_get",kwnames
,&obj0
)) goto fail
;
18483 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18484 if (SWIG_arg_fail(1)) SWIG_fail
;
18485 result
= (bool) ((arg1
)->m_shiftDown
);
18488 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18496 static PyObject
*_wrap_KeyEvent_m_altDown_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18497 PyObject
*resultobj
;
18498 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18500 PyObject
* obj0
= 0 ;
18501 PyObject
* obj1
= 0 ;
18502 char *kwnames
[] = {
18503 (char *) "self",(char *) "m_altDown", NULL
18506 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_altDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
18507 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18508 if (SWIG_arg_fail(1)) SWIG_fail
;
18510 arg2
= (bool)(SWIG_As_bool(obj1
));
18511 if (SWIG_arg_fail(2)) SWIG_fail
;
18513 if (arg1
) (arg1
)->m_altDown
= arg2
;
18515 Py_INCREF(Py_None
); resultobj
= Py_None
;
18522 static PyObject
*_wrap_KeyEvent_m_altDown_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18523 PyObject
*resultobj
;
18524 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18526 PyObject
* obj0
= 0 ;
18527 char *kwnames
[] = {
18528 (char *) "self", NULL
18531 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_altDown_get",kwnames
,&obj0
)) goto fail
;
18532 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18533 if (SWIG_arg_fail(1)) SWIG_fail
;
18534 result
= (bool) ((arg1
)->m_altDown
);
18537 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18545 static PyObject
*_wrap_KeyEvent_m_metaDown_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18546 PyObject
*resultobj
;
18547 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18549 PyObject
* obj0
= 0 ;
18550 PyObject
* obj1
= 0 ;
18551 char *kwnames
[] = {
18552 (char *) "self",(char *) "m_metaDown", NULL
18555 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_metaDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
18556 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18557 if (SWIG_arg_fail(1)) SWIG_fail
;
18559 arg2
= (bool)(SWIG_As_bool(obj1
));
18560 if (SWIG_arg_fail(2)) SWIG_fail
;
18562 if (arg1
) (arg1
)->m_metaDown
= arg2
;
18564 Py_INCREF(Py_None
); resultobj
= Py_None
;
18571 static PyObject
*_wrap_KeyEvent_m_metaDown_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18572 PyObject
*resultobj
;
18573 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18575 PyObject
* obj0
= 0 ;
18576 char *kwnames
[] = {
18577 (char *) "self", NULL
18580 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_metaDown_get",kwnames
,&obj0
)) goto fail
;
18581 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18582 if (SWIG_arg_fail(1)) SWIG_fail
;
18583 result
= (bool) ((arg1
)->m_metaDown
);
18586 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18594 static PyObject
*_wrap_KeyEvent_m_scanCode_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18595 PyObject
*resultobj
;
18596 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18598 PyObject
* obj0
= 0 ;
18599 PyObject
* obj1
= 0 ;
18600 char *kwnames
[] = {
18601 (char *) "self",(char *) "m_scanCode", NULL
18604 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_scanCode_set",kwnames
,&obj0
,&obj1
)) goto fail
;
18605 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18606 if (SWIG_arg_fail(1)) SWIG_fail
;
18608 arg2
= (bool)(SWIG_As_bool(obj1
));
18609 if (SWIG_arg_fail(2)) SWIG_fail
;
18611 if (arg1
) (arg1
)->m_scanCode
= arg2
;
18613 Py_INCREF(Py_None
); resultobj
= Py_None
;
18620 static PyObject
*_wrap_KeyEvent_m_scanCode_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18621 PyObject
*resultobj
;
18622 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18624 PyObject
* obj0
= 0 ;
18625 char *kwnames
[] = {
18626 (char *) "self", NULL
18629 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_scanCode_get",kwnames
,&obj0
)) goto fail
;
18630 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18631 if (SWIG_arg_fail(1)) SWIG_fail
;
18632 result
= (bool) ((arg1
)->m_scanCode
);
18635 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18643 static PyObject
*_wrap_KeyEvent_m_rawCode_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18644 PyObject
*resultobj
;
18645 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18646 unsigned int arg2
;
18647 PyObject
* obj0
= 0 ;
18648 PyObject
* obj1
= 0 ;
18649 char *kwnames
[] = {
18650 (char *) "self",(char *) "m_rawCode", NULL
18653 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_rawCode_set",kwnames
,&obj0
,&obj1
)) goto fail
;
18654 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18655 if (SWIG_arg_fail(1)) SWIG_fail
;
18657 arg2
= (unsigned int)(SWIG_As_unsigned_SS_int(obj1
));
18658 if (SWIG_arg_fail(2)) SWIG_fail
;
18660 if (arg1
) (arg1
)->m_rawCode
= arg2
;
18662 Py_INCREF(Py_None
); resultobj
= Py_None
;
18669 static PyObject
*_wrap_KeyEvent_m_rawCode_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18670 PyObject
*resultobj
;
18671 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18672 unsigned int result
;
18673 PyObject
* obj0
= 0 ;
18674 char *kwnames
[] = {
18675 (char *) "self", NULL
18678 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_rawCode_get",kwnames
,&obj0
)) goto fail
;
18679 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18680 if (SWIG_arg_fail(1)) SWIG_fail
;
18681 result
= (unsigned int) ((arg1
)->m_rawCode
);
18684 resultobj
= SWIG_From_unsigned_SS_int((unsigned int)(result
));
18692 static PyObject
*_wrap_KeyEvent_m_rawFlags_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18693 PyObject
*resultobj
;
18694 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18695 unsigned int arg2
;
18696 PyObject
* obj0
= 0 ;
18697 PyObject
* obj1
= 0 ;
18698 char *kwnames
[] = {
18699 (char *) "self",(char *) "m_rawFlags", NULL
18702 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_rawFlags_set",kwnames
,&obj0
,&obj1
)) goto fail
;
18703 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18704 if (SWIG_arg_fail(1)) SWIG_fail
;
18706 arg2
= (unsigned int)(SWIG_As_unsigned_SS_int(obj1
));
18707 if (SWIG_arg_fail(2)) SWIG_fail
;
18709 if (arg1
) (arg1
)->m_rawFlags
= arg2
;
18711 Py_INCREF(Py_None
); resultobj
= Py_None
;
18718 static PyObject
*_wrap_KeyEvent_m_rawFlags_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18719 PyObject
*resultobj
;
18720 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18721 unsigned int result
;
18722 PyObject
* obj0
= 0 ;
18723 char *kwnames
[] = {
18724 (char *) "self", NULL
18727 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_rawFlags_get",kwnames
,&obj0
)) goto fail
;
18728 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18729 if (SWIG_arg_fail(1)) SWIG_fail
;
18730 result
= (unsigned int) ((arg1
)->m_rawFlags
);
18733 resultobj
= SWIG_From_unsigned_SS_int((unsigned int)(result
));
18741 static PyObject
* KeyEvent_swigregister(PyObject
*, PyObject
*args
) {
18743 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18744 SWIG_TypeClientData(SWIGTYPE_p_wxKeyEvent
, obj
);
18746 return Py_BuildValue((char *)"");
18748 static PyObject
*_wrap_new_SizeEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18749 PyObject
*resultobj
;
18750 wxSize
const &arg1_defvalue
= wxDefaultSize
;
18751 wxSize
*arg1
= (wxSize
*) &arg1_defvalue
;
18752 int arg2
= (int) 0 ;
18753 wxSizeEvent
*result
;
18755 PyObject
* obj0
= 0 ;
18756 PyObject
* obj1
= 0 ;
18757 char *kwnames
[] = {
18758 (char *) "sz",(char *) "winid", NULL
18761 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_SizeEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
18765 if ( ! wxSize_helper(obj0
, &arg1
)) SWIG_fail
;
18770 arg2
= (int)(SWIG_As_int(obj1
));
18771 if (SWIG_arg_fail(2)) SWIG_fail
;
18775 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18776 result
= (wxSizeEvent
*)new wxSizeEvent((wxSize
const &)*arg1
,arg2
);
18778 wxPyEndAllowThreads(__tstate
);
18779 if (PyErr_Occurred()) SWIG_fail
;
18781 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizeEvent
, 1);
18788 static PyObject
*_wrap_SizeEvent_GetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18789 PyObject
*resultobj
;
18790 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
18792 PyObject
* obj0
= 0 ;
18793 char *kwnames
[] = {
18794 (char *) "self", NULL
18797 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizeEvent_GetSize",kwnames
,&obj0
)) goto fail
;
18798 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizeEvent
, SWIG_POINTER_EXCEPTION
| 0);
18799 if (SWIG_arg_fail(1)) SWIG_fail
;
18801 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18802 result
= ((wxSizeEvent
const *)arg1
)->GetSize();
18804 wxPyEndAllowThreads(__tstate
);
18805 if (PyErr_Occurred()) SWIG_fail
;
18808 wxSize
* resultptr
;
18809 resultptr
= new wxSize((wxSize
&)(result
));
18810 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
18818 static PyObject
*_wrap_SizeEvent_GetRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18819 PyObject
*resultobj
;
18820 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
18822 PyObject
* obj0
= 0 ;
18823 char *kwnames
[] = {
18824 (char *) "self", NULL
18827 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizeEvent_GetRect",kwnames
,&obj0
)) goto fail
;
18828 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizeEvent
, SWIG_POINTER_EXCEPTION
| 0);
18829 if (SWIG_arg_fail(1)) SWIG_fail
;
18831 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18832 result
= ((wxSizeEvent
const *)arg1
)->GetRect();
18834 wxPyEndAllowThreads(__tstate
);
18835 if (PyErr_Occurred()) SWIG_fail
;
18838 wxRect
* resultptr
;
18839 resultptr
= new wxRect((wxRect
&)(result
));
18840 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
18848 static PyObject
*_wrap_SizeEvent_SetRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18849 PyObject
*resultobj
;
18850 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
18852 PyObject
* obj0
= 0 ;
18853 PyObject
* obj1
= 0 ;
18854 char *kwnames
[] = {
18855 (char *) "self",(char *) "rect", NULL
18858 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizeEvent_SetRect",kwnames
,&obj0
,&obj1
)) goto fail
;
18859 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizeEvent
, SWIG_POINTER_EXCEPTION
| 0);
18860 if (SWIG_arg_fail(1)) SWIG_fail
;
18863 SWIG_Python_ConvertPtr(obj1
, (void **)&argp
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
);
18864 if (SWIG_arg_fail(2)) SWIG_fail
;
18865 if (argp
== NULL
) {
18866 SWIG_null_ref("wxRect");
18868 if (SWIG_arg_fail(2)) SWIG_fail
;
18872 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18873 (arg1
)->SetRect(arg2
);
18875 wxPyEndAllowThreads(__tstate
);
18876 if (PyErr_Occurred()) SWIG_fail
;
18878 Py_INCREF(Py_None
); resultobj
= Py_None
;
18885 static PyObject
*_wrap_SizeEvent_SetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18886 PyObject
*resultobj
;
18887 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
18889 PyObject
* obj0
= 0 ;
18890 PyObject
* obj1
= 0 ;
18891 char *kwnames
[] = {
18892 (char *) "self",(char *) "size", NULL
18895 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizeEvent_SetSize",kwnames
,&obj0
,&obj1
)) goto fail
;
18896 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizeEvent
, SWIG_POINTER_EXCEPTION
| 0);
18897 if (SWIG_arg_fail(1)) SWIG_fail
;
18900 SWIG_Python_ConvertPtr(obj1
, (void **)&argp
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
);
18901 if (SWIG_arg_fail(2)) SWIG_fail
;
18902 if (argp
== NULL
) {
18903 SWIG_null_ref("wxSize");
18905 if (SWIG_arg_fail(2)) SWIG_fail
;
18909 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18910 wxSizeEvent_SetSize(arg1
,arg2
);
18912 wxPyEndAllowThreads(__tstate
);
18913 if (PyErr_Occurred()) SWIG_fail
;
18915 Py_INCREF(Py_None
); resultobj
= Py_None
;
18922 static PyObject
*_wrap_SizeEvent_m_size_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18923 PyObject
*resultobj
;
18924 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
18925 wxSize
*arg2
= (wxSize
*) 0 ;
18926 PyObject
* obj0
= 0 ;
18927 PyObject
* obj1
= 0 ;
18928 char *kwnames
[] = {
18929 (char *) "self",(char *) "m_size", NULL
18932 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizeEvent_m_size_set",kwnames
,&obj0
,&obj1
)) goto fail
;
18933 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizeEvent
, SWIG_POINTER_EXCEPTION
| 0);
18934 if (SWIG_arg_fail(1)) SWIG_fail
;
18935 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
| 0);
18936 if (SWIG_arg_fail(2)) SWIG_fail
;
18937 if (arg1
) (arg1
)->m_size
= *arg2
;
18939 Py_INCREF(Py_None
); resultobj
= Py_None
;
18946 static PyObject
*_wrap_SizeEvent_m_size_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18947 PyObject
*resultobj
;
18948 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
18950 PyObject
* obj0
= 0 ;
18951 char *kwnames
[] = {
18952 (char *) "self", NULL
18955 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizeEvent_m_size_get",kwnames
,&obj0
)) goto fail
;
18956 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizeEvent
, SWIG_POINTER_EXCEPTION
| 0);
18957 if (SWIG_arg_fail(1)) SWIG_fail
;
18958 result
= (wxSize
*)& ((arg1
)->m_size
);
18960 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSize
, 0);
18967 static PyObject
*_wrap_SizeEvent_m_rect_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18968 PyObject
*resultobj
;
18969 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
18970 wxRect
*arg2
= (wxRect
*) 0 ;
18971 PyObject
* obj0
= 0 ;
18972 PyObject
* obj1
= 0 ;
18973 char *kwnames
[] = {
18974 (char *) "self",(char *) "m_rect", NULL
18977 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizeEvent_m_rect_set",kwnames
,&obj0
,&obj1
)) goto fail
;
18978 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizeEvent
, SWIG_POINTER_EXCEPTION
| 0);
18979 if (SWIG_arg_fail(1)) SWIG_fail
;
18980 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
18981 if (SWIG_arg_fail(2)) SWIG_fail
;
18982 if (arg1
) (arg1
)->m_rect
= *arg2
;
18984 Py_INCREF(Py_None
); resultobj
= Py_None
;
18991 static PyObject
*_wrap_SizeEvent_m_rect_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18992 PyObject
*resultobj
;
18993 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
18995 PyObject
* obj0
= 0 ;
18996 char *kwnames
[] = {
18997 (char *) "self", NULL
19000 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizeEvent_m_rect_get",kwnames
,&obj0
)) goto fail
;
19001 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizeEvent
, SWIG_POINTER_EXCEPTION
| 0);
19002 if (SWIG_arg_fail(1)) SWIG_fail
;
19003 result
= (wxRect
*)& ((arg1
)->m_rect
);
19005 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 0);
19012 static PyObject
* SizeEvent_swigregister(PyObject
*, PyObject
*args
) {
19014 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19015 SWIG_TypeClientData(SWIGTYPE_p_wxSizeEvent
, obj
);
19017 return Py_BuildValue((char *)"");
19019 static PyObject
*_wrap_new_MoveEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19020 PyObject
*resultobj
;
19021 wxPoint
const &arg1_defvalue
= wxDefaultPosition
;
19022 wxPoint
*arg1
= (wxPoint
*) &arg1_defvalue
;
19023 int arg2
= (int) 0 ;
19024 wxMoveEvent
*result
;
19026 PyObject
* obj0
= 0 ;
19027 PyObject
* obj1
= 0 ;
19028 char *kwnames
[] = {
19029 (char *) "pos",(char *) "winid", NULL
19032 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_MoveEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
19036 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
19041 arg2
= (int)(SWIG_As_int(obj1
));
19042 if (SWIG_arg_fail(2)) SWIG_fail
;
19046 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19047 result
= (wxMoveEvent
*)new wxMoveEvent((wxPoint
const &)*arg1
,arg2
);
19049 wxPyEndAllowThreads(__tstate
);
19050 if (PyErr_Occurred()) SWIG_fail
;
19052 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMoveEvent
, 1);
19059 static PyObject
*_wrap_MoveEvent_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19060 PyObject
*resultobj
;
19061 wxMoveEvent
*arg1
= (wxMoveEvent
*) 0 ;
19063 PyObject
* obj0
= 0 ;
19064 char *kwnames
[] = {
19065 (char *) "self", NULL
19068 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MoveEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
19069 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMoveEvent
, SWIG_POINTER_EXCEPTION
| 0);
19070 if (SWIG_arg_fail(1)) SWIG_fail
;
19072 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19073 result
= ((wxMoveEvent
const *)arg1
)->GetPosition();
19075 wxPyEndAllowThreads(__tstate
);
19076 if (PyErr_Occurred()) SWIG_fail
;
19079 wxPoint
* resultptr
;
19080 resultptr
= new wxPoint((wxPoint
&)(result
));
19081 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
19089 static PyObject
*_wrap_MoveEvent_GetRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19090 PyObject
*resultobj
;
19091 wxMoveEvent
*arg1
= (wxMoveEvent
*) 0 ;
19093 PyObject
* obj0
= 0 ;
19094 char *kwnames
[] = {
19095 (char *) "self", NULL
19098 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MoveEvent_GetRect",kwnames
,&obj0
)) goto fail
;
19099 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMoveEvent
, SWIG_POINTER_EXCEPTION
| 0);
19100 if (SWIG_arg_fail(1)) SWIG_fail
;
19102 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19103 result
= ((wxMoveEvent
const *)arg1
)->GetRect();
19105 wxPyEndAllowThreads(__tstate
);
19106 if (PyErr_Occurred()) SWIG_fail
;
19109 wxRect
* resultptr
;
19110 resultptr
= new wxRect((wxRect
&)(result
));
19111 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
19119 static PyObject
*_wrap_MoveEvent_SetRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19120 PyObject
*resultobj
;
19121 wxMoveEvent
*arg1
= (wxMoveEvent
*) 0 ;
19124 PyObject
* obj0
= 0 ;
19125 PyObject
* obj1
= 0 ;
19126 char *kwnames
[] = {
19127 (char *) "self",(char *) "rect", NULL
19130 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MoveEvent_SetRect",kwnames
,&obj0
,&obj1
)) goto fail
;
19131 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMoveEvent
, SWIG_POINTER_EXCEPTION
| 0);
19132 if (SWIG_arg_fail(1)) SWIG_fail
;
19135 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
19138 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19139 (arg1
)->SetRect((wxRect
const &)*arg2
);
19141 wxPyEndAllowThreads(__tstate
);
19142 if (PyErr_Occurred()) SWIG_fail
;
19144 Py_INCREF(Py_None
); resultobj
= Py_None
;
19151 static PyObject
*_wrap_MoveEvent_SetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19152 PyObject
*resultobj
;
19153 wxMoveEvent
*arg1
= (wxMoveEvent
*) 0 ;
19154 wxPoint
*arg2
= 0 ;
19156 PyObject
* obj0
= 0 ;
19157 PyObject
* obj1
= 0 ;
19158 char *kwnames
[] = {
19159 (char *) "self",(char *) "pos", NULL
19162 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MoveEvent_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
19163 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMoveEvent
, SWIG_POINTER_EXCEPTION
| 0);
19164 if (SWIG_arg_fail(1)) SWIG_fail
;
19167 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
19170 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19171 (arg1
)->SetPosition((wxPoint
const &)*arg2
);
19173 wxPyEndAllowThreads(__tstate
);
19174 if (PyErr_Occurred()) SWIG_fail
;
19176 Py_INCREF(Py_None
); resultobj
= Py_None
;
19183 static PyObject
* MoveEvent_swigregister(PyObject
*, PyObject
*args
) {
19185 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19186 SWIG_TypeClientData(SWIGTYPE_p_wxMoveEvent
, obj
);
19188 return Py_BuildValue((char *)"");
19190 static PyObject
*_wrap_new_PaintEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19191 PyObject
*resultobj
;
19192 int arg1
= (int) 0 ;
19193 wxPaintEvent
*result
;
19194 PyObject
* obj0
= 0 ;
19195 char *kwnames
[] = {
19196 (char *) "Id", NULL
19199 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_PaintEvent",kwnames
,&obj0
)) goto fail
;
19202 arg1
= (int)(SWIG_As_int(obj0
));
19203 if (SWIG_arg_fail(1)) SWIG_fail
;
19207 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19208 result
= (wxPaintEvent
*)new wxPaintEvent(arg1
);
19210 wxPyEndAllowThreads(__tstate
);
19211 if (PyErr_Occurred()) SWIG_fail
;
19213 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPaintEvent
, 1);
19220 static PyObject
* PaintEvent_swigregister(PyObject
*, PyObject
*args
) {
19222 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19223 SWIG_TypeClientData(SWIGTYPE_p_wxPaintEvent
, obj
);
19225 return Py_BuildValue((char *)"");
19227 static PyObject
*_wrap_new_NcPaintEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19228 PyObject
*resultobj
;
19229 int arg1
= (int) 0 ;
19230 wxNcPaintEvent
*result
;
19231 PyObject
* obj0
= 0 ;
19232 char *kwnames
[] = {
19233 (char *) "winid", NULL
19236 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_NcPaintEvent",kwnames
,&obj0
)) goto fail
;
19239 arg1
= (int)(SWIG_As_int(obj0
));
19240 if (SWIG_arg_fail(1)) SWIG_fail
;
19244 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19245 result
= (wxNcPaintEvent
*)new wxNcPaintEvent(arg1
);
19247 wxPyEndAllowThreads(__tstate
);
19248 if (PyErr_Occurred()) SWIG_fail
;
19250 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNcPaintEvent
, 1);
19257 static PyObject
* NcPaintEvent_swigregister(PyObject
*, PyObject
*args
) {
19259 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19260 SWIG_TypeClientData(SWIGTYPE_p_wxNcPaintEvent
, obj
);
19262 return Py_BuildValue((char *)"");
19264 static PyObject
*_wrap_new_EraseEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19265 PyObject
*resultobj
;
19266 int arg1
= (int) 0 ;
19267 wxDC
*arg2
= (wxDC
*) (wxDC
*) NULL
;
19268 wxEraseEvent
*result
;
19269 PyObject
* obj0
= 0 ;
19270 PyObject
* obj1
= 0 ;
19271 char *kwnames
[] = {
19272 (char *) "Id",(char *) "dc", NULL
19275 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_EraseEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
19278 arg1
= (int)(SWIG_As_int(obj0
));
19279 if (SWIG_arg_fail(1)) SWIG_fail
;
19283 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
19284 if (SWIG_arg_fail(2)) SWIG_fail
;
19287 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19288 result
= (wxEraseEvent
*)new wxEraseEvent(arg1
,arg2
);
19290 wxPyEndAllowThreads(__tstate
);
19291 if (PyErr_Occurred()) SWIG_fail
;
19293 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxEraseEvent
, 1);
19300 static PyObject
*_wrap_EraseEvent_GetDC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19301 PyObject
*resultobj
;
19302 wxEraseEvent
*arg1
= (wxEraseEvent
*) 0 ;
19304 PyObject
* obj0
= 0 ;
19305 char *kwnames
[] = {
19306 (char *) "self", NULL
19309 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EraseEvent_GetDC",kwnames
,&obj0
)) goto fail
;
19310 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEraseEvent
, SWIG_POINTER_EXCEPTION
| 0);
19311 if (SWIG_arg_fail(1)) SWIG_fail
;
19313 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19314 result
= (wxDC
*)((wxEraseEvent
const *)arg1
)->GetDC();
19316 wxPyEndAllowThreads(__tstate
);
19317 if (PyErr_Occurred()) SWIG_fail
;
19320 resultobj
= wxPyMake_wxObject(result
, 0);
19328 static PyObject
* EraseEvent_swigregister(PyObject
*, PyObject
*args
) {
19330 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19331 SWIG_TypeClientData(SWIGTYPE_p_wxEraseEvent
, obj
);
19333 return Py_BuildValue((char *)"");
19335 static PyObject
*_wrap_new_FocusEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19336 PyObject
*resultobj
;
19337 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
19338 int arg2
= (int) 0 ;
19339 wxFocusEvent
*result
;
19340 PyObject
* obj0
= 0 ;
19341 PyObject
* obj1
= 0 ;
19342 char *kwnames
[] = {
19343 (char *) "type",(char *) "winid", NULL
19346 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_FocusEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
19349 arg1
= (wxEventType
)(SWIG_As_int(obj0
));
19350 if (SWIG_arg_fail(1)) SWIG_fail
;
19355 arg2
= (int)(SWIG_As_int(obj1
));
19356 if (SWIG_arg_fail(2)) SWIG_fail
;
19360 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19361 result
= (wxFocusEvent
*)new wxFocusEvent(arg1
,arg2
);
19363 wxPyEndAllowThreads(__tstate
);
19364 if (PyErr_Occurred()) SWIG_fail
;
19366 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFocusEvent
, 1);
19373 static PyObject
*_wrap_FocusEvent_GetWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19374 PyObject
*resultobj
;
19375 wxFocusEvent
*arg1
= (wxFocusEvent
*) 0 ;
19377 PyObject
* obj0
= 0 ;
19378 char *kwnames
[] = {
19379 (char *) "self", NULL
19382 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FocusEvent_GetWindow",kwnames
,&obj0
)) goto fail
;
19383 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFocusEvent
, SWIG_POINTER_EXCEPTION
| 0);
19384 if (SWIG_arg_fail(1)) SWIG_fail
;
19386 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19387 result
= (wxWindow
*)((wxFocusEvent
const *)arg1
)->GetWindow();
19389 wxPyEndAllowThreads(__tstate
);
19390 if (PyErr_Occurred()) SWIG_fail
;
19393 resultobj
= wxPyMake_wxObject(result
, 0);
19401 static PyObject
*_wrap_FocusEvent_SetWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19402 PyObject
*resultobj
;
19403 wxFocusEvent
*arg1
= (wxFocusEvent
*) 0 ;
19404 wxWindow
*arg2
= (wxWindow
*) 0 ;
19405 PyObject
* obj0
= 0 ;
19406 PyObject
* obj1
= 0 ;
19407 char *kwnames
[] = {
19408 (char *) "self",(char *) "win", NULL
19411 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FocusEvent_SetWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
19412 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFocusEvent
, SWIG_POINTER_EXCEPTION
| 0);
19413 if (SWIG_arg_fail(1)) SWIG_fail
;
19414 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
19415 if (SWIG_arg_fail(2)) SWIG_fail
;
19417 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19418 (arg1
)->SetWindow(arg2
);
19420 wxPyEndAllowThreads(__tstate
);
19421 if (PyErr_Occurred()) SWIG_fail
;
19423 Py_INCREF(Py_None
); resultobj
= Py_None
;
19430 static PyObject
* FocusEvent_swigregister(PyObject
*, PyObject
*args
) {
19432 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19433 SWIG_TypeClientData(SWIGTYPE_p_wxFocusEvent
, obj
);
19435 return Py_BuildValue((char *)"");
19437 static PyObject
*_wrap_new_ChildFocusEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19438 PyObject
*resultobj
;
19439 wxWindow
*arg1
= (wxWindow
*) NULL
;
19440 wxChildFocusEvent
*result
;
19441 PyObject
* obj0
= 0 ;
19442 char *kwnames
[] = {
19443 (char *) "win", NULL
19446 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_ChildFocusEvent",kwnames
,&obj0
)) goto fail
;
19448 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
19449 if (SWIG_arg_fail(1)) SWIG_fail
;
19452 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19453 result
= (wxChildFocusEvent
*)new wxChildFocusEvent(arg1
);
19455 wxPyEndAllowThreads(__tstate
);
19456 if (PyErr_Occurred()) SWIG_fail
;
19458 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxChildFocusEvent
, 1);
19465 static PyObject
*_wrap_ChildFocusEvent_GetWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19466 PyObject
*resultobj
;
19467 wxChildFocusEvent
*arg1
= (wxChildFocusEvent
*) 0 ;
19469 PyObject
* obj0
= 0 ;
19470 char *kwnames
[] = {
19471 (char *) "self", NULL
19474 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ChildFocusEvent_GetWindow",kwnames
,&obj0
)) goto fail
;
19475 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxChildFocusEvent
, SWIG_POINTER_EXCEPTION
| 0);
19476 if (SWIG_arg_fail(1)) SWIG_fail
;
19478 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19479 result
= (wxWindow
*)((wxChildFocusEvent
const *)arg1
)->GetWindow();
19481 wxPyEndAllowThreads(__tstate
);
19482 if (PyErr_Occurred()) SWIG_fail
;
19485 resultobj
= wxPyMake_wxObject(result
, 0);
19493 static PyObject
* ChildFocusEvent_swigregister(PyObject
*, PyObject
*args
) {
19495 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19496 SWIG_TypeClientData(SWIGTYPE_p_wxChildFocusEvent
, obj
);
19498 return Py_BuildValue((char *)"");
19500 static PyObject
*_wrap_new_ActivateEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19501 PyObject
*resultobj
;
19502 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
19503 bool arg2
= (bool) true ;
19504 int arg3
= (int) 0 ;
19505 wxActivateEvent
*result
;
19506 PyObject
* obj0
= 0 ;
19507 PyObject
* obj1
= 0 ;
19508 PyObject
* obj2
= 0 ;
19509 char *kwnames
[] = {
19510 (char *) "type",(char *) "active",(char *) "Id", NULL
19513 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_ActivateEvent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19516 arg1
= (wxEventType
)(SWIG_As_int(obj0
));
19517 if (SWIG_arg_fail(1)) SWIG_fail
;
19522 arg2
= (bool)(SWIG_As_bool(obj1
));
19523 if (SWIG_arg_fail(2)) SWIG_fail
;
19528 arg3
= (int)(SWIG_As_int(obj2
));
19529 if (SWIG_arg_fail(3)) SWIG_fail
;
19533 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19534 result
= (wxActivateEvent
*)new wxActivateEvent(arg1
,arg2
,arg3
);
19536 wxPyEndAllowThreads(__tstate
);
19537 if (PyErr_Occurred()) SWIG_fail
;
19539 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxActivateEvent
, 1);
19546 static PyObject
*_wrap_ActivateEvent_GetActive(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19547 PyObject
*resultobj
;
19548 wxActivateEvent
*arg1
= (wxActivateEvent
*) 0 ;
19550 PyObject
* obj0
= 0 ;
19551 char *kwnames
[] = {
19552 (char *) "self", NULL
19555 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ActivateEvent_GetActive",kwnames
,&obj0
)) goto fail
;
19556 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxActivateEvent
, SWIG_POINTER_EXCEPTION
| 0);
19557 if (SWIG_arg_fail(1)) SWIG_fail
;
19559 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19560 result
= (bool)((wxActivateEvent
const *)arg1
)->GetActive();
19562 wxPyEndAllowThreads(__tstate
);
19563 if (PyErr_Occurred()) SWIG_fail
;
19566 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19574 static PyObject
* ActivateEvent_swigregister(PyObject
*, PyObject
*args
) {
19576 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19577 SWIG_TypeClientData(SWIGTYPE_p_wxActivateEvent
, obj
);
19579 return Py_BuildValue((char *)"");
19581 static PyObject
*_wrap_new_InitDialogEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19582 PyObject
*resultobj
;
19583 int arg1
= (int) 0 ;
19584 wxInitDialogEvent
*result
;
19585 PyObject
* obj0
= 0 ;
19586 char *kwnames
[] = {
19587 (char *) "Id", NULL
19590 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_InitDialogEvent",kwnames
,&obj0
)) goto fail
;
19593 arg1
= (int)(SWIG_As_int(obj0
));
19594 if (SWIG_arg_fail(1)) SWIG_fail
;
19598 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19599 result
= (wxInitDialogEvent
*)new wxInitDialogEvent(arg1
);
19601 wxPyEndAllowThreads(__tstate
);
19602 if (PyErr_Occurred()) SWIG_fail
;
19604 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxInitDialogEvent
, 1);
19611 static PyObject
* InitDialogEvent_swigregister(PyObject
*, PyObject
*args
) {
19613 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19614 SWIG_TypeClientData(SWIGTYPE_p_wxInitDialogEvent
, obj
);
19616 return Py_BuildValue((char *)"");
19618 static PyObject
*_wrap_new_MenuEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19619 PyObject
*resultobj
;
19620 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
19621 int arg2
= (int) 0 ;
19622 wxMenu
*arg3
= (wxMenu
*) NULL
;
19623 wxMenuEvent
*result
;
19624 PyObject
* obj0
= 0 ;
19625 PyObject
* obj1
= 0 ;
19626 PyObject
* obj2
= 0 ;
19627 char *kwnames
[] = {
19628 (char *) "type",(char *) "winid",(char *) "menu", NULL
19631 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_MenuEvent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19634 arg1
= (wxEventType
)(SWIG_As_int(obj0
));
19635 if (SWIG_arg_fail(1)) SWIG_fail
;
19640 arg2
= (int)(SWIG_As_int(obj1
));
19641 if (SWIG_arg_fail(2)) SWIG_fail
;
19645 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
19646 if (SWIG_arg_fail(3)) SWIG_fail
;
19649 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19650 result
= (wxMenuEvent
*)new wxMenuEvent(arg1
,arg2
,arg3
);
19652 wxPyEndAllowThreads(__tstate
);
19653 if (PyErr_Occurred()) SWIG_fail
;
19655 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMenuEvent
, 1);
19662 static PyObject
*_wrap_MenuEvent_GetMenuId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19663 PyObject
*resultobj
;
19664 wxMenuEvent
*arg1
= (wxMenuEvent
*) 0 ;
19666 PyObject
* obj0
= 0 ;
19667 char *kwnames
[] = {
19668 (char *) "self", NULL
19671 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuEvent_GetMenuId",kwnames
,&obj0
)) goto fail
;
19672 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuEvent
, SWIG_POINTER_EXCEPTION
| 0);
19673 if (SWIG_arg_fail(1)) SWIG_fail
;
19675 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19676 result
= (int)((wxMenuEvent
const *)arg1
)->GetMenuId();
19678 wxPyEndAllowThreads(__tstate
);
19679 if (PyErr_Occurred()) SWIG_fail
;
19682 resultobj
= SWIG_From_int((int)(result
));
19690 static PyObject
*_wrap_MenuEvent_IsPopup(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19691 PyObject
*resultobj
;
19692 wxMenuEvent
*arg1
= (wxMenuEvent
*) 0 ;
19694 PyObject
* obj0
= 0 ;
19695 char *kwnames
[] = {
19696 (char *) "self", NULL
19699 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuEvent_IsPopup",kwnames
,&obj0
)) goto fail
;
19700 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuEvent
, SWIG_POINTER_EXCEPTION
| 0);
19701 if (SWIG_arg_fail(1)) SWIG_fail
;
19703 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19704 result
= (bool)((wxMenuEvent
const *)arg1
)->IsPopup();
19706 wxPyEndAllowThreads(__tstate
);
19707 if (PyErr_Occurred()) SWIG_fail
;
19710 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19718 static PyObject
*_wrap_MenuEvent_GetMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19719 PyObject
*resultobj
;
19720 wxMenuEvent
*arg1
= (wxMenuEvent
*) 0 ;
19722 PyObject
* obj0
= 0 ;
19723 char *kwnames
[] = {
19724 (char *) "self", NULL
19727 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuEvent_GetMenu",kwnames
,&obj0
)) goto fail
;
19728 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuEvent
, SWIG_POINTER_EXCEPTION
| 0);
19729 if (SWIG_arg_fail(1)) SWIG_fail
;
19731 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19732 result
= (wxMenu
*)((wxMenuEvent
const *)arg1
)->GetMenu();
19734 wxPyEndAllowThreads(__tstate
);
19735 if (PyErr_Occurred()) SWIG_fail
;
19738 resultobj
= wxPyMake_wxObject(result
, 0);
19746 static PyObject
* MenuEvent_swigregister(PyObject
*, PyObject
*args
) {
19748 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19749 SWIG_TypeClientData(SWIGTYPE_p_wxMenuEvent
, obj
);
19751 return Py_BuildValue((char *)"");
19753 static PyObject
*_wrap_new_CloseEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19754 PyObject
*resultobj
;
19755 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
19756 int arg2
= (int) 0 ;
19757 wxCloseEvent
*result
;
19758 PyObject
* obj0
= 0 ;
19759 PyObject
* obj1
= 0 ;
19760 char *kwnames
[] = {
19761 (char *) "type",(char *) "winid", NULL
19764 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_CloseEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
19767 arg1
= (wxEventType
)(SWIG_As_int(obj0
));
19768 if (SWIG_arg_fail(1)) SWIG_fail
;
19773 arg2
= (int)(SWIG_As_int(obj1
));
19774 if (SWIG_arg_fail(2)) SWIG_fail
;
19778 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19779 result
= (wxCloseEvent
*)new wxCloseEvent(arg1
,arg2
);
19781 wxPyEndAllowThreads(__tstate
);
19782 if (PyErr_Occurred()) SWIG_fail
;
19784 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCloseEvent
, 1);
19791 static PyObject
*_wrap_CloseEvent_SetLoggingOff(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19792 PyObject
*resultobj
;
19793 wxCloseEvent
*arg1
= (wxCloseEvent
*) 0 ;
19795 PyObject
* obj0
= 0 ;
19796 PyObject
* obj1
= 0 ;
19797 char *kwnames
[] = {
19798 (char *) "self",(char *) "logOff", NULL
19801 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CloseEvent_SetLoggingOff",kwnames
,&obj0
,&obj1
)) goto fail
;
19802 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCloseEvent
, SWIG_POINTER_EXCEPTION
| 0);
19803 if (SWIG_arg_fail(1)) SWIG_fail
;
19805 arg2
= (bool)(SWIG_As_bool(obj1
));
19806 if (SWIG_arg_fail(2)) SWIG_fail
;
19809 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19810 (arg1
)->SetLoggingOff(arg2
);
19812 wxPyEndAllowThreads(__tstate
);
19813 if (PyErr_Occurred()) SWIG_fail
;
19815 Py_INCREF(Py_None
); resultobj
= Py_None
;
19822 static PyObject
*_wrap_CloseEvent_GetLoggingOff(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19823 PyObject
*resultobj
;
19824 wxCloseEvent
*arg1
= (wxCloseEvent
*) 0 ;
19826 PyObject
* obj0
= 0 ;
19827 char *kwnames
[] = {
19828 (char *) "self", NULL
19831 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CloseEvent_GetLoggingOff",kwnames
,&obj0
)) goto fail
;
19832 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCloseEvent
, SWIG_POINTER_EXCEPTION
| 0);
19833 if (SWIG_arg_fail(1)) SWIG_fail
;
19835 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19836 result
= (bool)((wxCloseEvent
const *)arg1
)->GetLoggingOff();
19838 wxPyEndAllowThreads(__tstate
);
19839 if (PyErr_Occurred()) SWIG_fail
;
19842 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19850 static PyObject
*_wrap_CloseEvent_Veto(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19851 PyObject
*resultobj
;
19852 wxCloseEvent
*arg1
= (wxCloseEvent
*) 0 ;
19853 bool arg2
= (bool) true ;
19854 PyObject
* obj0
= 0 ;
19855 PyObject
* obj1
= 0 ;
19856 char *kwnames
[] = {
19857 (char *) "self",(char *) "veto", NULL
19860 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:CloseEvent_Veto",kwnames
,&obj0
,&obj1
)) goto fail
;
19861 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCloseEvent
, SWIG_POINTER_EXCEPTION
| 0);
19862 if (SWIG_arg_fail(1)) SWIG_fail
;
19865 arg2
= (bool)(SWIG_As_bool(obj1
));
19866 if (SWIG_arg_fail(2)) SWIG_fail
;
19870 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19871 (arg1
)->Veto(arg2
);
19873 wxPyEndAllowThreads(__tstate
);
19874 if (PyErr_Occurred()) SWIG_fail
;
19876 Py_INCREF(Py_None
); resultobj
= Py_None
;
19883 static PyObject
*_wrap_CloseEvent_SetCanVeto(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19884 PyObject
*resultobj
;
19885 wxCloseEvent
*arg1
= (wxCloseEvent
*) 0 ;
19887 PyObject
* obj0
= 0 ;
19888 PyObject
* obj1
= 0 ;
19889 char *kwnames
[] = {
19890 (char *) "self",(char *) "canVeto", NULL
19893 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CloseEvent_SetCanVeto",kwnames
,&obj0
,&obj1
)) goto fail
;
19894 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCloseEvent
, SWIG_POINTER_EXCEPTION
| 0);
19895 if (SWIG_arg_fail(1)) SWIG_fail
;
19897 arg2
= (bool)(SWIG_As_bool(obj1
));
19898 if (SWIG_arg_fail(2)) SWIG_fail
;
19901 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19902 (arg1
)->SetCanVeto(arg2
);
19904 wxPyEndAllowThreads(__tstate
);
19905 if (PyErr_Occurred()) SWIG_fail
;
19907 Py_INCREF(Py_None
); resultobj
= Py_None
;
19914 static PyObject
*_wrap_CloseEvent_CanVeto(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19915 PyObject
*resultobj
;
19916 wxCloseEvent
*arg1
= (wxCloseEvent
*) 0 ;
19918 PyObject
* obj0
= 0 ;
19919 char *kwnames
[] = {
19920 (char *) "self", NULL
19923 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CloseEvent_CanVeto",kwnames
,&obj0
)) goto fail
;
19924 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCloseEvent
, SWIG_POINTER_EXCEPTION
| 0);
19925 if (SWIG_arg_fail(1)) SWIG_fail
;
19927 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19928 result
= (bool)((wxCloseEvent
const *)arg1
)->CanVeto();
19930 wxPyEndAllowThreads(__tstate
);
19931 if (PyErr_Occurred()) SWIG_fail
;
19934 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19942 static PyObject
*_wrap_CloseEvent_GetVeto(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19943 PyObject
*resultobj
;
19944 wxCloseEvent
*arg1
= (wxCloseEvent
*) 0 ;
19946 PyObject
* obj0
= 0 ;
19947 char *kwnames
[] = {
19948 (char *) "self", NULL
19951 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CloseEvent_GetVeto",kwnames
,&obj0
)) goto fail
;
19952 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCloseEvent
, SWIG_POINTER_EXCEPTION
| 0);
19953 if (SWIG_arg_fail(1)) SWIG_fail
;
19955 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19956 result
= (bool)((wxCloseEvent
const *)arg1
)->GetVeto();
19958 wxPyEndAllowThreads(__tstate
);
19959 if (PyErr_Occurred()) SWIG_fail
;
19962 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19970 static PyObject
* CloseEvent_swigregister(PyObject
*, PyObject
*args
) {
19972 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19973 SWIG_TypeClientData(SWIGTYPE_p_wxCloseEvent
, obj
);
19975 return Py_BuildValue((char *)"");
19977 static PyObject
*_wrap_new_ShowEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19978 PyObject
*resultobj
;
19979 int arg1
= (int) 0 ;
19980 bool arg2
= (bool) false ;
19981 wxShowEvent
*result
;
19982 PyObject
* obj0
= 0 ;
19983 PyObject
* obj1
= 0 ;
19984 char *kwnames
[] = {
19985 (char *) "winid",(char *) "show", NULL
19988 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_ShowEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
19991 arg1
= (int)(SWIG_As_int(obj0
));
19992 if (SWIG_arg_fail(1)) SWIG_fail
;
19997 arg2
= (bool)(SWIG_As_bool(obj1
));
19998 if (SWIG_arg_fail(2)) SWIG_fail
;
20002 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20003 result
= (wxShowEvent
*)new wxShowEvent(arg1
,arg2
);
20005 wxPyEndAllowThreads(__tstate
);
20006 if (PyErr_Occurred()) SWIG_fail
;
20008 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxShowEvent
, 1);
20015 static PyObject
*_wrap_ShowEvent_SetShow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20016 PyObject
*resultobj
;
20017 wxShowEvent
*arg1
= (wxShowEvent
*) 0 ;
20019 PyObject
* obj0
= 0 ;
20020 PyObject
* obj1
= 0 ;
20021 char *kwnames
[] = {
20022 (char *) "self",(char *) "show", NULL
20025 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ShowEvent_SetShow",kwnames
,&obj0
,&obj1
)) goto fail
;
20026 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxShowEvent
, SWIG_POINTER_EXCEPTION
| 0);
20027 if (SWIG_arg_fail(1)) SWIG_fail
;
20029 arg2
= (bool)(SWIG_As_bool(obj1
));
20030 if (SWIG_arg_fail(2)) SWIG_fail
;
20033 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20034 (arg1
)->SetShow(arg2
);
20036 wxPyEndAllowThreads(__tstate
);
20037 if (PyErr_Occurred()) SWIG_fail
;
20039 Py_INCREF(Py_None
); resultobj
= Py_None
;
20046 static PyObject
*_wrap_ShowEvent_GetShow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20047 PyObject
*resultobj
;
20048 wxShowEvent
*arg1
= (wxShowEvent
*) 0 ;
20050 PyObject
* obj0
= 0 ;
20051 char *kwnames
[] = {
20052 (char *) "self", NULL
20055 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ShowEvent_GetShow",kwnames
,&obj0
)) goto fail
;
20056 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxShowEvent
, SWIG_POINTER_EXCEPTION
| 0);
20057 if (SWIG_arg_fail(1)) SWIG_fail
;
20059 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20060 result
= (bool)((wxShowEvent
const *)arg1
)->GetShow();
20062 wxPyEndAllowThreads(__tstate
);
20063 if (PyErr_Occurred()) SWIG_fail
;
20066 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20074 static PyObject
* ShowEvent_swigregister(PyObject
*, PyObject
*args
) {
20076 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20077 SWIG_TypeClientData(SWIGTYPE_p_wxShowEvent
, obj
);
20079 return Py_BuildValue((char *)"");
20081 static PyObject
*_wrap_new_IconizeEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20082 PyObject
*resultobj
;
20083 int arg1
= (int) 0 ;
20084 bool arg2
= (bool) true ;
20085 wxIconizeEvent
*result
;
20086 PyObject
* obj0
= 0 ;
20087 PyObject
* obj1
= 0 ;
20088 char *kwnames
[] = {
20089 (char *) "id",(char *) "iconized", NULL
20092 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_IconizeEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
20095 arg1
= (int)(SWIG_As_int(obj0
));
20096 if (SWIG_arg_fail(1)) SWIG_fail
;
20101 arg2
= (bool)(SWIG_As_bool(obj1
));
20102 if (SWIG_arg_fail(2)) SWIG_fail
;
20106 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20107 result
= (wxIconizeEvent
*)new wxIconizeEvent(arg1
,arg2
);
20109 wxPyEndAllowThreads(__tstate
);
20110 if (PyErr_Occurred()) SWIG_fail
;
20112 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIconizeEvent
, 1);
20119 static PyObject
*_wrap_IconizeEvent_Iconized(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20120 PyObject
*resultobj
;
20121 wxIconizeEvent
*arg1
= (wxIconizeEvent
*) 0 ;
20123 PyObject
* obj0
= 0 ;
20124 char *kwnames
[] = {
20125 (char *) "self", NULL
20128 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IconizeEvent_Iconized",kwnames
,&obj0
)) goto fail
;
20129 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIconizeEvent
, SWIG_POINTER_EXCEPTION
| 0);
20130 if (SWIG_arg_fail(1)) SWIG_fail
;
20132 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20133 result
= (bool)(arg1
)->Iconized();
20135 wxPyEndAllowThreads(__tstate
);
20136 if (PyErr_Occurred()) SWIG_fail
;
20139 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20147 static PyObject
* IconizeEvent_swigregister(PyObject
*, PyObject
*args
) {
20149 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20150 SWIG_TypeClientData(SWIGTYPE_p_wxIconizeEvent
, obj
);
20152 return Py_BuildValue((char *)"");
20154 static PyObject
*_wrap_new_MaximizeEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20155 PyObject
*resultobj
;
20156 int arg1
= (int) 0 ;
20157 wxMaximizeEvent
*result
;
20158 PyObject
* obj0
= 0 ;
20159 char *kwnames
[] = {
20160 (char *) "id", NULL
20163 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_MaximizeEvent",kwnames
,&obj0
)) goto fail
;
20166 arg1
= (int)(SWIG_As_int(obj0
));
20167 if (SWIG_arg_fail(1)) SWIG_fail
;
20171 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20172 result
= (wxMaximizeEvent
*)new wxMaximizeEvent(arg1
);
20174 wxPyEndAllowThreads(__tstate
);
20175 if (PyErr_Occurred()) SWIG_fail
;
20177 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMaximizeEvent
, 1);
20184 static PyObject
* MaximizeEvent_swigregister(PyObject
*, PyObject
*args
) {
20186 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20187 SWIG_TypeClientData(SWIGTYPE_p_wxMaximizeEvent
, obj
);
20189 return Py_BuildValue((char *)"");
20191 static PyObject
*_wrap_DropFilesEvent_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20192 PyObject
*resultobj
;
20193 wxDropFilesEvent
*arg1
= (wxDropFilesEvent
*) 0 ;
20195 PyObject
* obj0
= 0 ;
20196 char *kwnames
[] = {
20197 (char *) "self", NULL
20200 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DropFilesEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
20201 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDropFilesEvent
, SWIG_POINTER_EXCEPTION
| 0);
20202 if (SWIG_arg_fail(1)) SWIG_fail
;
20204 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20205 result
= (arg1
)->GetPosition();
20207 wxPyEndAllowThreads(__tstate
);
20208 if (PyErr_Occurred()) SWIG_fail
;
20211 wxPoint
* resultptr
;
20212 resultptr
= new wxPoint((wxPoint
&)(result
));
20213 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
20221 static PyObject
*_wrap_DropFilesEvent_GetNumberOfFiles(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20222 PyObject
*resultobj
;
20223 wxDropFilesEvent
*arg1
= (wxDropFilesEvent
*) 0 ;
20225 PyObject
* obj0
= 0 ;
20226 char *kwnames
[] = {
20227 (char *) "self", NULL
20230 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DropFilesEvent_GetNumberOfFiles",kwnames
,&obj0
)) goto fail
;
20231 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDropFilesEvent
, SWIG_POINTER_EXCEPTION
| 0);
20232 if (SWIG_arg_fail(1)) SWIG_fail
;
20234 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20235 result
= (int)(arg1
)->GetNumberOfFiles();
20237 wxPyEndAllowThreads(__tstate
);
20238 if (PyErr_Occurred()) SWIG_fail
;
20241 resultobj
= SWIG_From_int((int)(result
));
20249 static PyObject
*_wrap_DropFilesEvent_GetFiles(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20250 PyObject
*resultobj
;
20251 wxDropFilesEvent
*arg1
= (wxDropFilesEvent
*) 0 ;
20253 PyObject
* obj0
= 0 ;
20254 char *kwnames
[] = {
20255 (char *) "self", NULL
20258 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DropFilesEvent_GetFiles",kwnames
,&obj0
)) goto fail
;
20259 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDropFilesEvent
, SWIG_POINTER_EXCEPTION
| 0);
20260 if (SWIG_arg_fail(1)) SWIG_fail
;
20262 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20263 result
= (PyObject
*)wxDropFilesEvent_GetFiles(arg1
);
20265 wxPyEndAllowThreads(__tstate
);
20266 if (PyErr_Occurred()) SWIG_fail
;
20268 resultobj
= result
;
20275 static PyObject
* DropFilesEvent_swigregister(PyObject
*, PyObject
*args
) {
20277 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20278 SWIG_TypeClientData(SWIGTYPE_p_wxDropFilesEvent
, obj
);
20280 return Py_BuildValue((char *)"");
20282 static PyObject
*_wrap_new_UpdateUIEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20283 PyObject
*resultobj
;
20284 int arg1
= (int) 0 ;
20285 wxUpdateUIEvent
*result
;
20286 PyObject
* obj0
= 0 ;
20287 char *kwnames
[] = {
20288 (char *) "commandId", NULL
20291 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_UpdateUIEvent",kwnames
,&obj0
)) goto fail
;
20294 arg1
= (int)(SWIG_As_int(obj0
));
20295 if (SWIG_arg_fail(1)) SWIG_fail
;
20299 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20300 result
= (wxUpdateUIEvent
*)new wxUpdateUIEvent(arg1
);
20302 wxPyEndAllowThreads(__tstate
);
20303 if (PyErr_Occurred()) SWIG_fail
;
20305 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxUpdateUIEvent
, 1);
20312 static PyObject
*_wrap_UpdateUIEvent_GetChecked(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20313 PyObject
*resultobj
;
20314 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
20316 PyObject
* obj0
= 0 ;
20317 char *kwnames
[] = {
20318 (char *) "self", NULL
20321 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_GetChecked",kwnames
,&obj0
)) goto fail
;
20322 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxUpdateUIEvent
, SWIG_POINTER_EXCEPTION
| 0);
20323 if (SWIG_arg_fail(1)) SWIG_fail
;
20325 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20326 result
= (bool)((wxUpdateUIEvent
const *)arg1
)->GetChecked();
20328 wxPyEndAllowThreads(__tstate
);
20329 if (PyErr_Occurred()) SWIG_fail
;
20332 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20340 static PyObject
*_wrap_UpdateUIEvent_GetEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20341 PyObject
*resultobj
;
20342 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
20344 PyObject
* obj0
= 0 ;
20345 char *kwnames
[] = {
20346 (char *) "self", NULL
20349 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_GetEnabled",kwnames
,&obj0
)) goto fail
;
20350 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxUpdateUIEvent
, SWIG_POINTER_EXCEPTION
| 0);
20351 if (SWIG_arg_fail(1)) SWIG_fail
;
20353 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20354 result
= (bool)((wxUpdateUIEvent
const *)arg1
)->GetEnabled();
20356 wxPyEndAllowThreads(__tstate
);
20357 if (PyErr_Occurred()) SWIG_fail
;
20360 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20368 static PyObject
*_wrap_UpdateUIEvent_GetText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20369 PyObject
*resultobj
;
20370 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
20372 PyObject
* obj0
= 0 ;
20373 char *kwnames
[] = {
20374 (char *) "self", NULL
20377 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_GetText",kwnames
,&obj0
)) goto fail
;
20378 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxUpdateUIEvent
, SWIG_POINTER_EXCEPTION
| 0);
20379 if (SWIG_arg_fail(1)) SWIG_fail
;
20381 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20382 result
= ((wxUpdateUIEvent
const *)arg1
)->GetText();
20384 wxPyEndAllowThreads(__tstate
);
20385 if (PyErr_Occurred()) SWIG_fail
;
20389 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
20391 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
20400 static PyObject
*_wrap_UpdateUIEvent_GetSetText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20401 PyObject
*resultobj
;
20402 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
20404 PyObject
* obj0
= 0 ;
20405 char *kwnames
[] = {
20406 (char *) "self", NULL
20409 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_GetSetText",kwnames
,&obj0
)) goto fail
;
20410 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxUpdateUIEvent
, SWIG_POINTER_EXCEPTION
| 0);
20411 if (SWIG_arg_fail(1)) SWIG_fail
;
20413 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20414 result
= (bool)((wxUpdateUIEvent
const *)arg1
)->GetSetText();
20416 wxPyEndAllowThreads(__tstate
);
20417 if (PyErr_Occurred()) SWIG_fail
;
20420 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20428 static PyObject
*_wrap_UpdateUIEvent_GetSetChecked(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20429 PyObject
*resultobj
;
20430 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
20432 PyObject
* obj0
= 0 ;
20433 char *kwnames
[] = {
20434 (char *) "self", NULL
20437 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_GetSetChecked",kwnames
,&obj0
)) goto fail
;
20438 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxUpdateUIEvent
, SWIG_POINTER_EXCEPTION
| 0);
20439 if (SWIG_arg_fail(1)) SWIG_fail
;
20441 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20442 result
= (bool)((wxUpdateUIEvent
const *)arg1
)->GetSetChecked();
20444 wxPyEndAllowThreads(__tstate
);
20445 if (PyErr_Occurred()) SWIG_fail
;
20448 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20456 static PyObject
*_wrap_UpdateUIEvent_GetSetEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20457 PyObject
*resultobj
;
20458 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
20460 PyObject
* obj0
= 0 ;
20461 char *kwnames
[] = {
20462 (char *) "self", NULL
20465 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_GetSetEnabled",kwnames
,&obj0
)) goto fail
;
20466 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxUpdateUIEvent
, SWIG_POINTER_EXCEPTION
| 0);
20467 if (SWIG_arg_fail(1)) SWIG_fail
;
20469 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20470 result
= (bool)((wxUpdateUIEvent
const *)arg1
)->GetSetEnabled();
20472 wxPyEndAllowThreads(__tstate
);
20473 if (PyErr_Occurred()) SWIG_fail
;
20476 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20484 static PyObject
*_wrap_UpdateUIEvent_Check(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20485 PyObject
*resultobj
;
20486 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
20488 PyObject
* obj0
= 0 ;
20489 PyObject
* obj1
= 0 ;
20490 char *kwnames
[] = {
20491 (char *) "self",(char *) "check", NULL
20494 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:UpdateUIEvent_Check",kwnames
,&obj0
,&obj1
)) goto fail
;
20495 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxUpdateUIEvent
, SWIG_POINTER_EXCEPTION
| 0);
20496 if (SWIG_arg_fail(1)) SWIG_fail
;
20498 arg2
= (bool)(SWIG_As_bool(obj1
));
20499 if (SWIG_arg_fail(2)) SWIG_fail
;
20502 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20503 (arg1
)->Check(arg2
);
20505 wxPyEndAllowThreads(__tstate
);
20506 if (PyErr_Occurred()) SWIG_fail
;
20508 Py_INCREF(Py_None
); resultobj
= Py_None
;
20515 static PyObject
*_wrap_UpdateUIEvent_Enable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20516 PyObject
*resultobj
;
20517 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
20519 PyObject
* obj0
= 0 ;
20520 PyObject
* obj1
= 0 ;
20521 char *kwnames
[] = {
20522 (char *) "self",(char *) "enable", NULL
20525 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:UpdateUIEvent_Enable",kwnames
,&obj0
,&obj1
)) goto fail
;
20526 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxUpdateUIEvent
, SWIG_POINTER_EXCEPTION
| 0);
20527 if (SWIG_arg_fail(1)) SWIG_fail
;
20529 arg2
= (bool)(SWIG_As_bool(obj1
));
20530 if (SWIG_arg_fail(2)) SWIG_fail
;
20533 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20534 (arg1
)->Enable(arg2
);
20536 wxPyEndAllowThreads(__tstate
);
20537 if (PyErr_Occurred()) SWIG_fail
;
20539 Py_INCREF(Py_None
); resultobj
= Py_None
;
20546 static PyObject
*_wrap_UpdateUIEvent_SetText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20547 PyObject
*resultobj
;
20548 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
20549 wxString
*arg2
= 0 ;
20550 bool temp2
= false ;
20551 PyObject
* obj0
= 0 ;
20552 PyObject
* obj1
= 0 ;
20553 char *kwnames
[] = {
20554 (char *) "self",(char *) "text", NULL
20557 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:UpdateUIEvent_SetText",kwnames
,&obj0
,&obj1
)) goto fail
;
20558 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxUpdateUIEvent
, SWIG_POINTER_EXCEPTION
| 0);
20559 if (SWIG_arg_fail(1)) SWIG_fail
;
20561 arg2
= wxString_in_helper(obj1
);
20562 if (arg2
== NULL
) SWIG_fail
;
20566 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20567 (arg1
)->SetText((wxString
const &)*arg2
);
20569 wxPyEndAllowThreads(__tstate
);
20570 if (PyErr_Occurred()) SWIG_fail
;
20572 Py_INCREF(Py_None
); resultobj
= Py_None
;
20587 static PyObject
*_wrap_UpdateUIEvent_SetUpdateInterval(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20588 PyObject
*resultobj
;
20590 PyObject
* obj0
= 0 ;
20591 char *kwnames
[] = {
20592 (char *) "updateInterval", NULL
20595 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_SetUpdateInterval",kwnames
,&obj0
)) goto fail
;
20597 arg1
= (long)(SWIG_As_long(obj0
));
20598 if (SWIG_arg_fail(1)) SWIG_fail
;
20601 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20602 wxUpdateUIEvent::SetUpdateInterval(arg1
);
20604 wxPyEndAllowThreads(__tstate
);
20605 if (PyErr_Occurred()) SWIG_fail
;
20607 Py_INCREF(Py_None
); resultobj
= Py_None
;
20614 static PyObject
*_wrap_UpdateUIEvent_GetUpdateInterval(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20615 PyObject
*resultobj
;
20617 char *kwnames
[] = {
20621 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":UpdateUIEvent_GetUpdateInterval",kwnames
)) goto fail
;
20623 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20624 result
= (long)wxUpdateUIEvent::GetUpdateInterval();
20626 wxPyEndAllowThreads(__tstate
);
20627 if (PyErr_Occurred()) SWIG_fail
;
20630 resultobj
= SWIG_From_long((long)(result
));
20638 static PyObject
*_wrap_UpdateUIEvent_CanUpdate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20639 PyObject
*resultobj
;
20640 wxWindow
*arg1
= (wxWindow
*) 0 ;
20642 PyObject
* obj0
= 0 ;
20643 char *kwnames
[] = {
20644 (char *) "win", NULL
20647 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_CanUpdate",kwnames
,&obj0
)) goto fail
;
20648 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
20649 if (SWIG_arg_fail(1)) SWIG_fail
;
20651 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20652 result
= (bool)wxUpdateUIEvent::CanUpdate(arg1
);
20654 wxPyEndAllowThreads(__tstate
);
20655 if (PyErr_Occurred()) SWIG_fail
;
20658 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20666 static PyObject
*_wrap_UpdateUIEvent_ResetUpdateTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20667 PyObject
*resultobj
;
20668 char *kwnames
[] = {
20672 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":UpdateUIEvent_ResetUpdateTime",kwnames
)) goto fail
;
20674 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20675 wxUpdateUIEvent::ResetUpdateTime();
20677 wxPyEndAllowThreads(__tstate
);
20678 if (PyErr_Occurred()) SWIG_fail
;
20680 Py_INCREF(Py_None
); resultobj
= Py_None
;
20687 static PyObject
*_wrap_UpdateUIEvent_SetMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20688 PyObject
*resultobj
;
20689 wxUpdateUIMode arg1
;
20690 PyObject
* obj0
= 0 ;
20691 char *kwnames
[] = {
20692 (char *) "mode", NULL
20695 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_SetMode",kwnames
,&obj0
)) goto fail
;
20697 arg1
= (wxUpdateUIMode
)(SWIG_As_int(obj0
));
20698 if (SWIG_arg_fail(1)) SWIG_fail
;
20701 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20702 wxUpdateUIEvent::SetMode((wxUpdateUIMode
)arg1
);
20704 wxPyEndAllowThreads(__tstate
);
20705 if (PyErr_Occurred()) SWIG_fail
;
20707 Py_INCREF(Py_None
); resultobj
= Py_None
;
20714 static PyObject
*_wrap_UpdateUIEvent_GetMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20715 PyObject
*resultobj
;
20716 wxUpdateUIMode result
;
20717 char *kwnames
[] = {
20721 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":UpdateUIEvent_GetMode",kwnames
)) goto fail
;
20723 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20724 result
= (wxUpdateUIMode
)wxUpdateUIEvent::GetMode();
20726 wxPyEndAllowThreads(__tstate
);
20727 if (PyErr_Occurred()) SWIG_fail
;
20729 resultobj
= SWIG_From_int((result
));
20736 static PyObject
* UpdateUIEvent_swigregister(PyObject
*, PyObject
*args
) {
20738 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20739 SWIG_TypeClientData(SWIGTYPE_p_wxUpdateUIEvent
, obj
);
20741 return Py_BuildValue((char *)"");
20743 static PyObject
*_wrap_new_SysColourChangedEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20744 PyObject
*resultobj
;
20745 wxSysColourChangedEvent
*result
;
20746 char *kwnames
[] = {
20750 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_SysColourChangedEvent",kwnames
)) goto fail
;
20752 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20753 result
= (wxSysColourChangedEvent
*)new wxSysColourChangedEvent();
20755 wxPyEndAllowThreads(__tstate
);
20756 if (PyErr_Occurred()) SWIG_fail
;
20758 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSysColourChangedEvent
, 1);
20765 static PyObject
* SysColourChangedEvent_swigregister(PyObject
*, PyObject
*args
) {
20767 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20768 SWIG_TypeClientData(SWIGTYPE_p_wxSysColourChangedEvent
, obj
);
20770 return Py_BuildValue((char *)"");
20772 static PyObject
*_wrap_new_MouseCaptureChangedEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20773 PyObject
*resultobj
;
20774 int arg1
= (int) 0 ;
20775 wxWindow
*arg2
= (wxWindow
*) NULL
;
20776 wxMouseCaptureChangedEvent
*result
;
20777 PyObject
* obj0
= 0 ;
20778 PyObject
* obj1
= 0 ;
20779 char *kwnames
[] = {
20780 (char *) "winid",(char *) "gainedCapture", NULL
20783 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_MouseCaptureChangedEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
20786 arg1
= (int)(SWIG_As_int(obj0
));
20787 if (SWIG_arg_fail(1)) SWIG_fail
;
20791 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
20792 if (SWIG_arg_fail(2)) SWIG_fail
;
20795 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20796 result
= (wxMouseCaptureChangedEvent
*)new wxMouseCaptureChangedEvent(arg1
,arg2
);
20798 wxPyEndAllowThreads(__tstate
);
20799 if (PyErr_Occurred()) SWIG_fail
;
20801 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMouseCaptureChangedEvent
, 1);
20808 static PyObject
*_wrap_MouseCaptureChangedEvent_GetCapturedWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20809 PyObject
*resultobj
;
20810 wxMouseCaptureChangedEvent
*arg1
= (wxMouseCaptureChangedEvent
*) 0 ;
20812 PyObject
* obj0
= 0 ;
20813 char *kwnames
[] = {
20814 (char *) "self", NULL
20817 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseCaptureChangedEvent_GetCapturedWindow",kwnames
,&obj0
)) goto fail
;
20818 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseCaptureChangedEvent
, SWIG_POINTER_EXCEPTION
| 0);
20819 if (SWIG_arg_fail(1)) SWIG_fail
;
20821 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20822 result
= (wxWindow
*)((wxMouseCaptureChangedEvent
const *)arg1
)->GetCapturedWindow();
20824 wxPyEndAllowThreads(__tstate
);
20825 if (PyErr_Occurred()) SWIG_fail
;
20828 resultobj
= wxPyMake_wxObject(result
, 0);
20836 static PyObject
* MouseCaptureChangedEvent_swigregister(PyObject
*, PyObject
*args
) {
20838 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20839 SWIG_TypeClientData(SWIGTYPE_p_wxMouseCaptureChangedEvent
, obj
);
20841 return Py_BuildValue((char *)"");
20843 static PyObject
*_wrap_new_DisplayChangedEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20844 PyObject
*resultobj
;
20845 wxDisplayChangedEvent
*result
;
20846 char *kwnames
[] = {
20850 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_DisplayChangedEvent",kwnames
)) goto fail
;
20852 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20853 result
= (wxDisplayChangedEvent
*)new wxDisplayChangedEvent();
20855 wxPyEndAllowThreads(__tstate
);
20856 if (PyErr_Occurred()) SWIG_fail
;
20858 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDisplayChangedEvent
, 1);
20865 static PyObject
* DisplayChangedEvent_swigregister(PyObject
*, PyObject
*args
) {
20867 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20868 SWIG_TypeClientData(SWIGTYPE_p_wxDisplayChangedEvent
, obj
);
20870 return Py_BuildValue((char *)"");
20872 static PyObject
*_wrap_new_PaletteChangedEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20873 PyObject
*resultobj
;
20874 int arg1
= (int) 0 ;
20875 wxPaletteChangedEvent
*result
;
20876 PyObject
* obj0
= 0 ;
20877 char *kwnames
[] = {
20878 (char *) "id", NULL
20881 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_PaletteChangedEvent",kwnames
,&obj0
)) goto fail
;
20884 arg1
= (int)(SWIG_As_int(obj0
));
20885 if (SWIG_arg_fail(1)) SWIG_fail
;
20889 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20890 result
= (wxPaletteChangedEvent
*)new wxPaletteChangedEvent(arg1
);
20892 wxPyEndAllowThreads(__tstate
);
20893 if (PyErr_Occurred()) SWIG_fail
;
20895 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPaletteChangedEvent
, 1);
20902 static PyObject
*_wrap_PaletteChangedEvent_SetChangedWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20903 PyObject
*resultobj
;
20904 wxPaletteChangedEvent
*arg1
= (wxPaletteChangedEvent
*) 0 ;
20905 wxWindow
*arg2
= (wxWindow
*) 0 ;
20906 PyObject
* obj0
= 0 ;
20907 PyObject
* obj1
= 0 ;
20908 char *kwnames
[] = {
20909 (char *) "self",(char *) "win", NULL
20912 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PaletteChangedEvent_SetChangedWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
20913 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPaletteChangedEvent
, SWIG_POINTER_EXCEPTION
| 0);
20914 if (SWIG_arg_fail(1)) SWIG_fail
;
20915 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
20916 if (SWIG_arg_fail(2)) SWIG_fail
;
20918 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20919 (arg1
)->SetChangedWindow(arg2
);
20921 wxPyEndAllowThreads(__tstate
);
20922 if (PyErr_Occurred()) SWIG_fail
;
20924 Py_INCREF(Py_None
); resultobj
= Py_None
;
20931 static PyObject
*_wrap_PaletteChangedEvent_GetChangedWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20932 PyObject
*resultobj
;
20933 wxPaletteChangedEvent
*arg1
= (wxPaletteChangedEvent
*) 0 ;
20935 PyObject
* obj0
= 0 ;
20936 char *kwnames
[] = {
20937 (char *) "self", NULL
20940 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PaletteChangedEvent_GetChangedWindow",kwnames
,&obj0
)) goto fail
;
20941 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPaletteChangedEvent
, SWIG_POINTER_EXCEPTION
| 0);
20942 if (SWIG_arg_fail(1)) SWIG_fail
;
20944 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20945 result
= (wxWindow
*)(arg1
)->GetChangedWindow();
20947 wxPyEndAllowThreads(__tstate
);
20948 if (PyErr_Occurred()) SWIG_fail
;
20951 resultobj
= wxPyMake_wxObject(result
, 0);
20959 static PyObject
* PaletteChangedEvent_swigregister(PyObject
*, PyObject
*args
) {
20961 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20962 SWIG_TypeClientData(SWIGTYPE_p_wxPaletteChangedEvent
, obj
);
20964 return Py_BuildValue((char *)"");
20966 static PyObject
*_wrap_new_QueryNewPaletteEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20967 PyObject
*resultobj
;
20968 int arg1
= (int) 0 ;
20969 wxQueryNewPaletteEvent
*result
;
20970 PyObject
* obj0
= 0 ;
20971 char *kwnames
[] = {
20972 (char *) "winid", NULL
20975 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_QueryNewPaletteEvent",kwnames
,&obj0
)) goto fail
;
20978 arg1
= (int)(SWIG_As_int(obj0
));
20979 if (SWIG_arg_fail(1)) SWIG_fail
;
20983 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20984 result
= (wxQueryNewPaletteEvent
*)new wxQueryNewPaletteEvent(arg1
);
20986 wxPyEndAllowThreads(__tstate
);
20987 if (PyErr_Occurred()) SWIG_fail
;
20989 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxQueryNewPaletteEvent
, 1);
20996 static PyObject
*_wrap_QueryNewPaletteEvent_SetPaletteRealized(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20997 PyObject
*resultobj
;
20998 wxQueryNewPaletteEvent
*arg1
= (wxQueryNewPaletteEvent
*) 0 ;
21000 PyObject
* obj0
= 0 ;
21001 PyObject
* obj1
= 0 ;
21002 char *kwnames
[] = {
21003 (char *) "self",(char *) "realized", NULL
21006 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryNewPaletteEvent_SetPaletteRealized",kwnames
,&obj0
,&obj1
)) goto fail
;
21007 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxQueryNewPaletteEvent
, SWIG_POINTER_EXCEPTION
| 0);
21008 if (SWIG_arg_fail(1)) SWIG_fail
;
21010 arg2
= (bool)(SWIG_As_bool(obj1
));
21011 if (SWIG_arg_fail(2)) SWIG_fail
;
21014 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21015 (arg1
)->SetPaletteRealized(arg2
);
21017 wxPyEndAllowThreads(__tstate
);
21018 if (PyErr_Occurred()) SWIG_fail
;
21020 Py_INCREF(Py_None
); resultobj
= Py_None
;
21027 static PyObject
*_wrap_QueryNewPaletteEvent_GetPaletteRealized(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21028 PyObject
*resultobj
;
21029 wxQueryNewPaletteEvent
*arg1
= (wxQueryNewPaletteEvent
*) 0 ;
21031 PyObject
* obj0
= 0 ;
21032 char *kwnames
[] = {
21033 (char *) "self", NULL
21036 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:QueryNewPaletteEvent_GetPaletteRealized",kwnames
,&obj0
)) goto fail
;
21037 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxQueryNewPaletteEvent
, SWIG_POINTER_EXCEPTION
| 0);
21038 if (SWIG_arg_fail(1)) SWIG_fail
;
21040 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21041 result
= (bool)((wxQueryNewPaletteEvent
const *)arg1
)->GetPaletteRealized();
21043 wxPyEndAllowThreads(__tstate
);
21044 if (PyErr_Occurred()) SWIG_fail
;
21047 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21055 static PyObject
* QueryNewPaletteEvent_swigregister(PyObject
*, PyObject
*args
) {
21057 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21058 SWIG_TypeClientData(SWIGTYPE_p_wxQueryNewPaletteEvent
, obj
);
21060 return Py_BuildValue((char *)"");
21062 static PyObject
*_wrap_new_NavigationKeyEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21063 PyObject
*resultobj
;
21064 wxNavigationKeyEvent
*result
;
21065 char *kwnames
[] = {
21069 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_NavigationKeyEvent",kwnames
)) goto fail
;
21071 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21072 result
= (wxNavigationKeyEvent
*)new wxNavigationKeyEvent();
21074 wxPyEndAllowThreads(__tstate
);
21075 if (PyErr_Occurred()) SWIG_fail
;
21077 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNavigationKeyEvent
, 1);
21084 static PyObject
*_wrap_NavigationKeyEvent_GetDirection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21085 PyObject
*resultobj
;
21086 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
21088 PyObject
* obj0
= 0 ;
21089 char *kwnames
[] = {
21090 (char *) "self", NULL
21093 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NavigationKeyEvent_GetDirection",kwnames
,&obj0
)) goto fail
;
21094 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNavigationKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
21095 if (SWIG_arg_fail(1)) SWIG_fail
;
21097 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21098 result
= (bool)((wxNavigationKeyEvent
const *)arg1
)->GetDirection();
21100 wxPyEndAllowThreads(__tstate
);
21101 if (PyErr_Occurred()) SWIG_fail
;
21104 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21112 static PyObject
*_wrap_NavigationKeyEvent_SetDirection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21113 PyObject
*resultobj
;
21114 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
21116 PyObject
* obj0
= 0 ;
21117 PyObject
* obj1
= 0 ;
21118 char *kwnames
[] = {
21119 (char *) "self",(char *) "forward", NULL
21122 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NavigationKeyEvent_SetDirection",kwnames
,&obj0
,&obj1
)) goto fail
;
21123 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNavigationKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
21124 if (SWIG_arg_fail(1)) SWIG_fail
;
21126 arg2
= (bool)(SWIG_As_bool(obj1
));
21127 if (SWIG_arg_fail(2)) SWIG_fail
;
21130 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21131 (arg1
)->SetDirection(arg2
);
21133 wxPyEndAllowThreads(__tstate
);
21134 if (PyErr_Occurred()) SWIG_fail
;
21136 Py_INCREF(Py_None
); resultobj
= Py_None
;
21143 static PyObject
*_wrap_NavigationKeyEvent_IsWindowChange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21144 PyObject
*resultobj
;
21145 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
21147 PyObject
* obj0
= 0 ;
21148 char *kwnames
[] = {
21149 (char *) "self", NULL
21152 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NavigationKeyEvent_IsWindowChange",kwnames
,&obj0
)) goto fail
;
21153 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNavigationKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
21154 if (SWIG_arg_fail(1)) SWIG_fail
;
21156 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21157 result
= (bool)((wxNavigationKeyEvent
const *)arg1
)->IsWindowChange();
21159 wxPyEndAllowThreads(__tstate
);
21160 if (PyErr_Occurred()) SWIG_fail
;
21163 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21171 static PyObject
*_wrap_NavigationKeyEvent_SetWindowChange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21172 PyObject
*resultobj
;
21173 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
21175 PyObject
* obj0
= 0 ;
21176 PyObject
* obj1
= 0 ;
21177 char *kwnames
[] = {
21178 (char *) "self",(char *) "ischange", NULL
21181 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NavigationKeyEvent_SetWindowChange",kwnames
,&obj0
,&obj1
)) goto fail
;
21182 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNavigationKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
21183 if (SWIG_arg_fail(1)) SWIG_fail
;
21185 arg2
= (bool)(SWIG_As_bool(obj1
));
21186 if (SWIG_arg_fail(2)) SWIG_fail
;
21189 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21190 (arg1
)->SetWindowChange(arg2
);
21192 wxPyEndAllowThreads(__tstate
);
21193 if (PyErr_Occurred()) SWIG_fail
;
21195 Py_INCREF(Py_None
); resultobj
= Py_None
;
21202 static PyObject
*_wrap_NavigationKeyEvent_IsFromTab(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21203 PyObject
*resultobj
;
21204 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
21206 PyObject
* obj0
= 0 ;
21207 char *kwnames
[] = {
21208 (char *) "self", NULL
21211 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NavigationKeyEvent_IsFromTab",kwnames
,&obj0
)) goto fail
;
21212 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNavigationKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
21213 if (SWIG_arg_fail(1)) SWIG_fail
;
21215 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21216 result
= (bool)((wxNavigationKeyEvent
const *)arg1
)->IsFromTab();
21218 wxPyEndAllowThreads(__tstate
);
21219 if (PyErr_Occurred()) SWIG_fail
;
21222 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21230 static PyObject
*_wrap_NavigationKeyEvent_SetFromTab(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21231 PyObject
*resultobj
;
21232 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
21234 PyObject
* obj0
= 0 ;
21235 PyObject
* obj1
= 0 ;
21236 char *kwnames
[] = {
21237 (char *) "self",(char *) "bIs", NULL
21240 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NavigationKeyEvent_SetFromTab",kwnames
,&obj0
,&obj1
)) goto fail
;
21241 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNavigationKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
21242 if (SWIG_arg_fail(1)) SWIG_fail
;
21244 arg2
= (bool)(SWIG_As_bool(obj1
));
21245 if (SWIG_arg_fail(2)) SWIG_fail
;
21248 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21249 (arg1
)->SetFromTab(arg2
);
21251 wxPyEndAllowThreads(__tstate
);
21252 if (PyErr_Occurred()) SWIG_fail
;
21254 Py_INCREF(Py_None
); resultobj
= Py_None
;
21261 static PyObject
*_wrap_NavigationKeyEvent_SetFlags(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21262 PyObject
*resultobj
;
21263 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
21265 PyObject
* obj0
= 0 ;
21266 PyObject
* obj1
= 0 ;
21267 char *kwnames
[] = {
21268 (char *) "self",(char *) "flags", NULL
21271 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NavigationKeyEvent_SetFlags",kwnames
,&obj0
,&obj1
)) goto fail
;
21272 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNavigationKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
21273 if (SWIG_arg_fail(1)) SWIG_fail
;
21275 arg2
= (long)(SWIG_As_long(obj1
));
21276 if (SWIG_arg_fail(2)) SWIG_fail
;
21279 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21280 (arg1
)->SetFlags(arg2
);
21282 wxPyEndAllowThreads(__tstate
);
21283 if (PyErr_Occurred()) SWIG_fail
;
21285 Py_INCREF(Py_None
); resultobj
= Py_None
;
21292 static PyObject
*_wrap_NavigationKeyEvent_GetCurrentFocus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21293 PyObject
*resultobj
;
21294 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
21296 PyObject
* obj0
= 0 ;
21297 char *kwnames
[] = {
21298 (char *) "self", NULL
21301 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NavigationKeyEvent_GetCurrentFocus",kwnames
,&obj0
)) goto fail
;
21302 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNavigationKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
21303 if (SWIG_arg_fail(1)) SWIG_fail
;
21305 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21306 result
= (wxWindow
*)((wxNavigationKeyEvent
const *)arg1
)->GetCurrentFocus();
21308 wxPyEndAllowThreads(__tstate
);
21309 if (PyErr_Occurred()) SWIG_fail
;
21312 resultobj
= wxPyMake_wxObject(result
, 0);
21320 static PyObject
*_wrap_NavigationKeyEvent_SetCurrentFocus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21321 PyObject
*resultobj
;
21322 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
21323 wxWindow
*arg2
= (wxWindow
*) 0 ;
21324 PyObject
* obj0
= 0 ;
21325 PyObject
* obj1
= 0 ;
21326 char *kwnames
[] = {
21327 (char *) "self",(char *) "win", NULL
21330 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NavigationKeyEvent_SetCurrentFocus",kwnames
,&obj0
,&obj1
)) goto fail
;
21331 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNavigationKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
21332 if (SWIG_arg_fail(1)) SWIG_fail
;
21333 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
21334 if (SWIG_arg_fail(2)) SWIG_fail
;
21336 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21337 (arg1
)->SetCurrentFocus(arg2
);
21339 wxPyEndAllowThreads(__tstate
);
21340 if (PyErr_Occurred()) SWIG_fail
;
21342 Py_INCREF(Py_None
); resultobj
= Py_None
;
21349 static PyObject
* NavigationKeyEvent_swigregister(PyObject
*, PyObject
*args
) {
21351 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21352 SWIG_TypeClientData(SWIGTYPE_p_wxNavigationKeyEvent
, obj
);
21354 return Py_BuildValue((char *)"");
21356 static PyObject
*_wrap_new_WindowCreateEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21357 PyObject
*resultobj
;
21358 wxWindow
*arg1
= (wxWindow
*) NULL
;
21359 wxWindowCreateEvent
*result
;
21360 PyObject
* obj0
= 0 ;
21361 char *kwnames
[] = {
21362 (char *) "win", NULL
21365 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_WindowCreateEvent",kwnames
,&obj0
)) goto fail
;
21367 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
21368 if (SWIG_arg_fail(1)) SWIG_fail
;
21371 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21372 result
= (wxWindowCreateEvent
*)new wxWindowCreateEvent(arg1
);
21374 wxPyEndAllowThreads(__tstate
);
21375 if (PyErr_Occurred()) SWIG_fail
;
21377 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxWindowCreateEvent
, 1);
21384 static PyObject
*_wrap_WindowCreateEvent_GetWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21385 PyObject
*resultobj
;
21386 wxWindowCreateEvent
*arg1
= (wxWindowCreateEvent
*) 0 ;
21388 PyObject
* obj0
= 0 ;
21389 char *kwnames
[] = {
21390 (char *) "self", NULL
21393 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:WindowCreateEvent_GetWindow",kwnames
,&obj0
)) goto fail
;
21394 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindowCreateEvent
, SWIG_POINTER_EXCEPTION
| 0);
21395 if (SWIG_arg_fail(1)) SWIG_fail
;
21397 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21398 result
= (wxWindow
*)((wxWindowCreateEvent
const *)arg1
)->GetWindow();
21400 wxPyEndAllowThreads(__tstate
);
21401 if (PyErr_Occurred()) SWIG_fail
;
21404 resultobj
= wxPyMake_wxObject(result
, 0);
21412 static PyObject
* WindowCreateEvent_swigregister(PyObject
*, PyObject
*args
) {
21414 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21415 SWIG_TypeClientData(SWIGTYPE_p_wxWindowCreateEvent
, obj
);
21417 return Py_BuildValue((char *)"");
21419 static PyObject
*_wrap_new_WindowDestroyEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21420 PyObject
*resultobj
;
21421 wxWindow
*arg1
= (wxWindow
*) NULL
;
21422 wxWindowDestroyEvent
*result
;
21423 PyObject
* obj0
= 0 ;
21424 char *kwnames
[] = {
21425 (char *) "win", NULL
21428 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_WindowDestroyEvent",kwnames
,&obj0
)) goto fail
;
21430 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
21431 if (SWIG_arg_fail(1)) SWIG_fail
;
21434 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21435 result
= (wxWindowDestroyEvent
*)new wxWindowDestroyEvent(arg1
);
21437 wxPyEndAllowThreads(__tstate
);
21438 if (PyErr_Occurred()) SWIG_fail
;
21440 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxWindowDestroyEvent
, 1);
21447 static PyObject
*_wrap_WindowDestroyEvent_GetWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21448 PyObject
*resultobj
;
21449 wxWindowDestroyEvent
*arg1
= (wxWindowDestroyEvent
*) 0 ;
21451 PyObject
* obj0
= 0 ;
21452 char *kwnames
[] = {
21453 (char *) "self", NULL
21456 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:WindowDestroyEvent_GetWindow",kwnames
,&obj0
)) goto fail
;
21457 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindowDestroyEvent
, SWIG_POINTER_EXCEPTION
| 0);
21458 if (SWIG_arg_fail(1)) SWIG_fail
;
21460 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21461 result
= (wxWindow
*)((wxWindowDestroyEvent
const *)arg1
)->GetWindow();
21463 wxPyEndAllowThreads(__tstate
);
21464 if (PyErr_Occurred()) SWIG_fail
;
21467 resultobj
= wxPyMake_wxObject(result
, 0);
21475 static PyObject
* WindowDestroyEvent_swigregister(PyObject
*, PyObject
*args
) {
21477 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21478 SWIG_TypeClientData(SWIGTYPE_p_wxWindowDestroyEvent
, obj
);
21480 return Py_BuildValue((char *)"");
21482 static PyObject
*_wrap_new_ContextMenuEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21483 PyObject
*resultobj
;
21484 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
21485 int arg2
= (int) 0 ;
21486 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
21487 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
21488 wxContextMenuEvent
*result
;
21490 PyObject
* obj0
= 0 ;
21491 PyObject
* obj1
= 0 ;
21492 PyObject
* obj2
= 0 ;
21493 char *kwnames
[] = {
21494 (char *) "type",(char *) "winid",(char *) "pt", NULL
21497 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_ContextMenuEvent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21500 arg1
= (wxEventType
)(SWIG_As_int(obj0
));
21501 if (SWIG_arg_fail(1)) SWIG_fail
;
21506 arg2
= (int)(SWIG_As_int(obj1
));
21507 if (SWIG_arg_fail(2)) SWIG_fail
;
21513 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
21517 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21518 result
= (wxContextMenuEvent
*)new wxContextMenuEvent(arg1
,arg2
,(wxPoint
const &)*arg3
);
21520 wxPyEndAllowThreads(__tstate
);
21521 if (PyErr_Occurred()) SWIG_fail
;
21523 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxContextMenuEvent
, 1);
21530 static PyObject
*_wrap_ContextMenuEvent_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21531 PyObject
*resultobj
;
21532 wxContextMenuEvent
*arg1
= (wxContextMenuEvent
*) 0 ;
21534 PyObject
* obj0
= 0 ;
21535 char *kwnames
[] = {
21536 (char *) "self", NULL
21539 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ContextMenuEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
21540 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxContextMenuEvent
, SWIG_POINTER_EXCEPTION
| 0);
21541 if (SWIG_arg_fail(1)) SWIG_fail
;
21543 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21545 wxPoint
const &_result_ref
= ((wxContextMenuEvent
const *)arg1
)->GetPosition();
21546 result
= (wxPoint
*) &_result_ref
;
21549 wxPyEndAllowThreads(__tstate
);
21550 if (PyErr_Occurred()) SWIG_fail
;
21552 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint
, 0);
21559 static PyObject
*_wrap_ContextMenuEvent_SetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21560 PyObject
*resultobj
;
21561 wxContextMenuEvent
*arg1
= (wxContextMenuEvent
*) 0 ;
21562 wxPoint
*arg2
= 0 ;
21564 PyObject
* obj0
= 0 ;
21565 PyObject
* obj1
= 0 ;
21566 char *kwnames
[] = {
21567 (char *) "self",(char *) "pos", NULL
21570 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ContextMenuEvent_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
21571 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxContextMenuEvent
, SWIG_POINTER_EXCEPTION
| 0);
21572 if (SWIG_arg_fail(1)) SWIG_fail
;
21575 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
21578 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21579 (arg1
)->SetPosition((wxPoint
const &)*arg2
);
21581 wxPyEndAllowThreads(__tstate
);
21582 if (PyErr_Occurred()) SWIG_fail
;
21584 Py_INCREF(Py_None
); resultobj
= Py_None
;
21591 static PyObject
* ContextMenuEvent_swigregister(PyObject
*, PyObject
*args
) {
21593 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21594 SWIG_TypeClientData(SWIGTYPE_p_wxContextMenuEvent
, obj
);
21596 return Py_BuildValue((char *)"");
21598 static PyObject
*_wrap_new_IdleEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21599 PyObject
*resultobj
;
21600 wxIdleEvent
*result
;
21601 char *kwnames
[] = {
21605 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_IdleEvent",kwnames
)) goto fail
;
21607 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21608 result
= (wxIdleEvent
*)new wxIdleEvent();
21610 wxPyEndAllowThreads(__tstate
);
21611 if (PyErr_Occurred()) SWIG_fail
;
21613 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIdleEvent
, 1);
21620 static PyObject
*_wrap_IdleEvent_RequestMore(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21621 PyObject
*resultobj
;
21622 wxIdleEvent
*arg1
= (wxIdleEvent
*) 0 ;
21623 bool arg2
= (bool) true ;
21624 PyObject
* obj0
= 0 ;
21625 PyObject
* obj1
= 0 ;
21626 char *kwnames
[] = {
21627 (char *) "self",(char *) "needMore", NULL
21630 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:IdleEvent_RequestMore",kwnames
,&obj0
,&obj1
)) goto fail
;
21631 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIdleEvent
, SWIG_POINTER_EXCEPTION
| 0);
21632 if (SWIG_arg_fail(1)) SWIG_fail
;
21635 arg2
= (bool)(SWIG_As_bool(obj1
));
21636 if (SWIG_arg_fail(2)) SWIG_fail
;
21640 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21641 (arg1
)->RequestMore(arg2
);
21643 wxPyEndAllowThreads(__tstate
);
21644 if (PyErr_Occurred()) SWIG_fail
;
21646 Py_INCREF(Py_None
); resultobj
= Py_None
;
21653 static PyObject
*_wrap_IdleEvent_MoreRequested(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21654 PyObject
*resultobj
;
21655 wxIdleEvent
*arg1
= (wxIdleEvent
*) 0 ;
21657 PyObject
* obj0
= 0 ;
21658 char *kwnames
[] = {
21659 (char *) "self", NULL
21662 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IdleEvent_MoreRequested",kwnames
,&obj0
)) goto fail
;
21663 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIdleEvent
, SWIG_POINTER_EXCEPTION
| 0);
21664 if (SWIG_arg_fail(1)) SWIG_fail
;
21666 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21667 result
= (bool)((wxIdleEvent
const *)arg1
)->MoreRequested();
21669 wxPyEndAllowThreads(__tstate
);
21670 if (PyErr_Occurred()) SWIG_fail
;
21673 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21681 static PyObject
*_wrap_IdleEvent_SetMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21682 PyObject
*resultobj
;
21684 PyObject
* obj0
= 0 ;
21685 char *kwnames
[] = {
21686 (char *) "mode", NULL
21689 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IdleEvent_SetMode",kwnames
,&obj0
)) goto fail
;
21691 arg1
= (wxIdleMode
)(SWIG_As_int(obj0
));
21692 if (SWIG_arg_fail(1)) SWIG_fail
;
21695 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21696 wxIdleEvent::SetMode((wxIdleMode
)arg1
);
21698 wxPyEndAllowThreads(__tstate
);
21699 if (PyErr_Occurred()) SWIG_fail
;
21701 Py_INCREF(Py_None
); resultobj
= Py_None
;
21708 static PyObject
*_wrap_IdleEvent_GetMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21709 PyObject
*resultobj
;
21711 char *kwnames
[] = {
21715 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":IdleEvent_GetMode",kwnames
)) goto fail
;
21717 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21718 result
= (wxIdleMode
)wxIdleEvent::GetMode();
21720 wxPyEndAllowThreads(__tstate
);
21721 if (PyErr_Occurred()) SWIG_fail
;
21723 resultobj
= SWIG_From_int((result
));
21730 static PyObject
*_wrap_IdleEvent_CanSend(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21731 PyObject
*resultobj
;
21732 wxWindow
*arg1
= (wxWindow
*) 0 ;
21734 PyObject
* obj0
= 0 ;
21735 char *kwnames
[] = {
21736 (char *) "win", NULL
21739 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IdleEvent_CanSend",kwnames
,&obj0
)) goto fail
;
21740 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
21741 if (SWIG_arg_fail(1)) SWIG_fail
;
21743 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21744 result
= (bool)wxIdleEvent::CanSend(arg1
);
21746 wxPyEndAllowThreads(__tstate
);
21747 if (PyErr_Occurred()) SWIG_fail
;
21750 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21758 static PyObject
* IdleEvent_swigregister(PyObject
*, PyObject
*args
) {
21760 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21761 SWIG_TypeClientData(SWIGTYPE_p_wxIdleEvent
, obj
);
21763 return Py_BuildValue((char *)"");
21765 static PyObject
*_wrap_new_PyEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21766 PyObject
*resultobj
;
21767 int arg1
= (int) 0 ;
21768 wxEventType arg2
= (wxEventType
) wxEVT_NULL
;
21770 PyObject
* obj0
= 0 ;
21771 PyObject
* obj1
= 0 ;
21772 char *kwnames
[] = {
21773 (char *) "winid",(char *) "commandType", NULL
21776 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_PyEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
21779 arg1
= (int)(SWIG_As_int(obj0
));
21780 if (SWIG_arg_fail(1)) SWIG_fail
;
21785 arg2
= (wxEventType
)(SWIG_As_int(obj1
));
21786 if (SWIG_arg_fail(2)) SWIG_fail
;
21790 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21791 result
= (wxPyEvent
*)new wxPyEvent(arg1
,arg2
);
21793 wxPyEndAllowThreads(__tstate
);
21794 if (PyErr_Occurred()) SWIG_fail
;
21796 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyEvent
, 1);
21803 static PyObject
*_wrap_delete_PyEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21804 PyObject
*resultobj
;
21805 wxPyEvent
*arg1
= (wxPyEvent
*) 0 ;
21806 PyObject
* obj0
= 0 ;
21807 char *kwnames
[] = {
21808 (char *) "self", NULL
21811 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PyEvent",kwnames
,&obj0
)) goto fail
;
21812 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyEvent
, SWIG_POINTER_EXCEPTION
| 0);
21813 if (SWIG_arg_fail(1)) SWIG_fail
;
21815 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21818 wxPyEndAllowThreads(__tstate
);
21819 if (PyErr_Occurred()) SWIG_fail
;
21821 Py_INCREF(Py_None
); resultobj
= Py_None
;
21828 static PyObject
*_wrap_PyEvent_SetSelf(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21829 PyObject
*resultobj
;
21830 wxPyEvent
*arg1
= (wxPyEvent
*) 0 ;
21831 PyObject
*arg2
= (PyObject
*) 0 ;
21832 PyObject
* obj0
= 0 ;
21833 PyObject
* obj1
= 0 ;
21834 char *kwnames
[] = {
21835 (char *) "self",(char *) "self", NULL
21838 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyEvent_SetSelf",kwnames
,&obj0
,&obj1
)) goto fail
;
21839 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyEvent
, SWIG_POINTER_EXCEPTION
| 0);
21840 if (SWIG_arg_fail(1)) SWIG_fail
;
21843 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21844 (arg1
)->SetSelf(arg2
);
21846 wxPyEndAllowThreads(__tstate
);
21847 if (PyErr_Occurred()) SWIG_fail
;
21849 Py_INCREF(Py_None
); resultobj
= Py_None
;
21856 static PyObject
*_wrap_PyEvent_GetSelf(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21857 PyObject
*resultobj
;
21858 wxPyEvent
*arg1
= (wxPyEvent
*) 0 ;
21860 PyObject
* obj0
= 0 ;
21861 char *kwnames
[] = {
21862 (char *) "self", NULL
21865 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyEvent_GetSelf",kwnames
,&obj0
)) goto fail
;
21866 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyEvent
, SWIG_POINTER_EXCEPTION
| 0);
21867 if (SWIG_arg_fail(1)) SWIG_fail
;
21869 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21870 result
= (PyObject
*)(arg1
)->GetSelf();
21872 wxPyEndAllowThreads(__tstate
);
21873 if (PyErr_Occurred()) SWIG_fail
;
21875 resultobj
= result
;
21882 static PyObject
* PyEvent_swigregister(PyObject
*, PyObject
*args
) {
21884 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21885 SWIG_TypeClientData(SWIGTYPE_p_wxPyEvent
, obj
);
21887 return Py_BuildValue((char *)"");
21889 static PyObject
*_wrap_new_PyCommandEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21890 PyObject
*resultobj
;
21891 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
21892 int arg2
= (int) 0 ;
21893 wxPyCommandEvent
*result
;
21894 PyObject
* obj0
= 0 ;
21895 PyObject
* obj1
= 0 ;
21896 char *kwnames
[] = {
21897 (char *) "commandType",(char *) "id", NULL
21900 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_PyCommandEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
21903 arg1
= (wxEventType
)(SWIG_As_int(obj0
));
21904 if (SWIG_arg_fail(1)) SWIG_fail
;
21909 arg2
= (int)(SWIG_As_int(obj1
));
21910 if (SWIG_arg_fail(2)) SWIG_fail
;
21914 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21915 result
= (wxPyCommandEvent
*)new wxPyCommandEvent(arg1
,arg2
);
21917 wxPyEndAllowThreads(__tstate
);
21918 if (PyErr_Occurred()) SWIG_fail
;
21920 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyCommandEvent
, 1);
21927 static PyObject
*_wrap_delete_PyCommandEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21928 PyObject
*resultobj
;
21929 wxPyCommandEvent
*arg1
= (wxPyCommandEvent
*) 0 ;
21930 PyObject
* obj0
= 0 ;
21931 char *kwnames
[] = {
21932 (char *) "self", NULL
21935 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PyCommandEvent",kwnames
,&obj0
)) goto fail
;
21936 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyCommandEvent
, SWIG_POINTER_EXCEPTION
| 0);
21937 if (SWIG_arg_fail(1)) SWIG_fail
;
21939 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21942 wxPyEndAllowThreads(__tstate
);
21943 if (PyErr_Occurred()) SWIG_fail
;
21945 Py_INCREF(Py_None
); resultobj
= Py_None
;
21952 static PyObject
*_wrap_PyCommandEvent_SetSelf(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21953 PyObject
*resultobj
;
21954 wxPyCommandEvent
*arg1
= (wxPyCommandEvent
*) 0 ;
21955 PyObject
*arg2
= (PyObject
*) 0 ;
21956 PyObject
* obj0
= 0 ;
21957 PyObject
* obj1
= 0 ;
21958 char *kwnames
[] = {
21959 (char *) "self",(char *) "self", NULL
21962 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyCommandEvent_SetSelf",kwnames
,&obj0
,&obj1
)) goto fail
;
21963 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyCommandEvent
, SWIG_POINTER_EXCEPTION
| 0);
21964 if (SWIG_arg_fail(1)) SWIG_fail
;
21967 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21968 (arg1
)->SetSelf(arg2
);
21970 wxPyEndAllowThreads(__tstate
);
21971 if (PyErr_Occurred()) SWIG_fail
;
21973 Py_INCREF(Py_None
); resultobj
= Py_None
;
21980 static PyObject
*_wrap_PyCommandEvent_GetSelf(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21981 PyObject
*resultobj
;
21982 wxPyCommandEvent
*arg1
= (wxPyCommandEvent
*) 0 ;
21984 PyObject
* obj0
= 0 ;
21985 char *kwnames
[] = {
21986 (char *) "self", NULL
21989 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyCommandEvent_GetSelf",kwnames
,&obj0
)) goto fail
;
21990 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyCommandEvent
, SWIG_POINTER_EXCEPTION
| 0);
21991 if (SWIG_arg_fail(1)) SWIG_fail
;
21993 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21994 result
= (PyObject
*)(arg1
)->GetSelf();
21996 wxPyEndAllowThreads(__tstate
);
21997 if (PyErr_Occurred()) SWIG_fail
;
21999 resultobj
= result
;
22006 static PyObject
* PyCommandEvent_swigregister(PyObject
*, PyObject
*args
) {
22008 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
22009 SWIG_TypeClientData(SWIGTYPE_p_wxPyCommandEvent
, obj
);
22011 return Py_BuildValue((char *)"");
22013 static PyObject
*_wrap_new_DateEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22014 PyObject
*resultobj
;
22015 wxWindow
*arg1
= (wxWindow
*) 0 ;
22016 wxDateTime
*arg2
= 0 ;
22018 wxDateEvent
*result
;
22019 PyObject
* obj0
= 0 ;
22020 PyObject
* obj1
= 0 ;
22021 PyObject
* obj2
= 0 ;
22022 char *kwnames
[] = {
22023 (char *) "win",(char *) "dt",(char *) "type", NULL
22026 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:new_DateEvent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22027 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
22028 if (SWIG_arg_fail(1)) SWIG_fail
;
22030 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22031 if (SWIG_arg_fail(2)) SWIG_fail
;
22032 if (arg2
== NULL
) {
22033 SWIG_null_ref("wxDateTime");
22035 if (SWIG_arg_fail(2)) SWIG_fail
;
22038 arg3
= (wxEventType
)(SWIG_As_int(obj2
));
22039 if (SWIG_arg_fail(3)) SWIG_fail
;
22042 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22043 result
= (wxDateEvent
*)new wxDateEvent(arg1
,(wxDateTime
const &)*arg2
,arg3
);
22045 wxPyEndAllowThreads(__tstate
);
22046 if (PyErr_Occurred()) SWIG_fail
;
22048 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateEvent
, 1);
22055 static PyObject
*_wrap_DateEvent_GetDate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22056 PyObject
*resultobj
;
22057 wxDateEvent
*arg1
= (wxDateEvent
*) 0 ;
22058 wxDateTime
*result
;
22059 PyObject
* obj0
= 0 ;
22060 char *kwnames
[] = {
22061 (char *) "self", NULL
22064 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateEvent_GetDate",kwnames
,&obj0
)) goto fail
;
22065 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateEvent
, SWIG_POINTER_EXCEPTION
| 0);
22066 if (SWIG_arg_fail(1)) SWIG_fail
;
22068 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22070 wxDateTime
const &_result_ref
= ((wxDateEvent
const *)arg1
)->GetDate();
22071 result
= (wxDateTime
*) &_result_ref
;
22074 wxPyEndAllowThreads(__tstate
);
22075 if (PyErr_Occurred()) SWIG_fail
;
22077 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
22084 static PyObject
*_wrap_DateEvent_SetDate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22085 PyObject
*resultobj
;
22086 wxDateEvent
*arg1
= (wxDateEvent
*) 0 ;
22087 wxDateTime
*arg2
= 0 ;
22088 PyObject
* obj0
= 0 ;
22089 PyObject
* obj1
= 0 ;
22090 char *kwnames
[] = {
22091 (char *) "self",(char *) "date", NULL
22094 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateEvent_SetDate",kwnames
,&obj0
,&obj1
)) goto fail
;
22095 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateEvent
, SWIG_POINTER_EXCEPTION
| 0);
22096 if (SWIG_arg_fail(1)) SWIG_fail
;
22098 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22099 if (SWIG_arg_fail(2)) SWIG_fail
;
22100 if (arg2
== NULL
) {
22101 SWIG_null_ref("wxDateTime");
22103 if (SWIG_arg_fail(2)) SWIG_fail
;
22106 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22107 (arg1
)->SetDate((wxDateTime
const &)*arg2
);
22109 wxPyEndAllowThreads(__tstate
);
22110 if (PyErr_Occurred()) SWIG_fail
;
22112 Py_INCREF(Py_None
); resultobj
= Py_None
;
22119 static PyObject
* DateEvent_swigregister(PyObject
*, PyObject
*args
) {
22121 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
22122 SWIG_TypeClientData(SWIGTYPE_p_wxDateEvent
, obj
);
22124 return Py_BuildValue((char *)"");
22126 static PyObject
*_wrap_new_PyApp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22127 PyObject
*resultobj
;
22129 char *kwnames
[] = {
22133 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PyApp",kwnames
)) goto fail
;
22135 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22136 result
= (wxPyApp
*)new_wxPyApp();
22138 wxPyEndAllowThreads(__tstate
);
22139 if (PyErr_Occurred()) SWIG_fail
;
22141 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyApp
, 1);
22148 static PyObject
*_wrap_delete_PyApp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22149 PyObject
*resultobj
;
22150 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
22151 PyObject
* obj0
= 0 ;
22152 char *kwnames
[] = {
22153 (char *) "self", NULL
22156 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PyApp",kwnames
,&obj0
)) goto fail
;
22157 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
22158 if (SWIG_arg_fail(1)) SWIG_fail
;
22160 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22163 wxPyEndAllowThreads(__tstate
);
22164 if (PyErr_Occurred()) SWIG_fail
;
22166 Py_INCREF(Py_None
); resultobj
= Py_None
;
22173 static PyObject
*_wrap_PyApp__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22174 PyObject
*resultobj
;
22175 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
22176 PyObject
*arg2
= (PyObject
*) 0 ;
22177 PyObject
*arg3
= (PyObject
*) 0 ;
22178 PyObject
* obj0
= 0 ;
22179 PyObject
* obj1
= 0 ;
22180 PyObject
* obj2
= 0 ;
22181 char *kwnames
[] = {
22182 (char *) "self",(char *) "self",(char *) "_class", NULL
22185 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyApp__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22186 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
22187 if (SWIG_arg_fail(1)) SWIG_fail
;
22191 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22192 (arg1
)->_setCallbackInfo(arg2
,arg3
);
22194 wxPyEndAllowThreads(__tstate
);
22195 if (PyErr_Occurred()) SWIG_fail
;
22197 Py_INCREF(Py_None
); resultobj
= Py_None
;
22204 static PyObject
*_wrap_PyApp_GetAppName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22205 PyObject
*resultobj
;
22206 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
22208 PyObject
* obj0
= 0 ;
22209 char *kwnames
[] = {
22210 (char *) "self", NULL
22213 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetAppName",kwnames
,&obj0
)) goto fail
;
22214 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
22215 if (SWIG_arg_fail(1)) SWIG_fail
;
22217 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22218 result
= ((wxPyApp
const *)arg1
)->GetAppName();
22220 wxPyEndAllowThreads(__tstate
);
22221 if (PyErr_Occurred()) SWIG_fail
;
22225 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
22227 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
22236 static PyObject
*_wrap_PyApp_SetAppName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22237 PyObject
*resultobj
;
22238 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
22239 wxString
*arg2
= 0 ;
22240 bool temp2
= false ;
22241 PyObject
* obj0
= 0 ;
22242 PyObject
* obj1
= 0 ;
22243 char *kwnames
[] = {
22244 (char *) "self",(char *) "name", NULL
22247 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetAppName",kwnames
,&obj0
,&obj1
)) goto fail
;
22248 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
22249 if (SWIG_arg_fail(1)) SWIG_fail
;
22251 arg2
= wxString_in_helper(obj1
);
22252 if (arg2
== NULL
) SWIG_fail
;
22256 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22257 (arg1
)->SetAppName((wxString
const &)*arg2
);
22259 wxPyEndAllowThreads(__tstate
);
22260 if (PyErr_Occurred()) SWIG_fail
;
22262 Py_INCREF(Py_None
); resultobj
= Py_None
;
22277 static PyObject
*_wrap_PyApp_GetClassName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22278 PyObject
*resultobj
;
22279 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
22281 PyObject
* obj0
= 0 ;
22282 char *kwnames
[] = {
22283 (char *) "self", NULL
22286 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetClassName",kwnames
,&obj0
)) goto fail
;
22287 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
22288 if (SWIG_arg_fail(1)) SWIG_fail
;
22290 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22291 result
= ((wxPyApp
const *)arg1
)->GetClassName();
22293 wxPyEndAllowThreads(__tstate
);
22294 if (PyErr_Occurred()) SWIG_fail
;
22298 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
22300 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
22309 static PyObject
*_wrap_PyApp_SetClassName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22310 PyObject
*resultobj
;
22311 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
22312 wxString
*arg2
= 0 ;
22313 bool temp2
= false ;
22314 PyObject
* obj0
= 0 ;
22315 PyObject
* obj1
= 0 ;
22316 char *kwnames
[] = {
22317 (char *) "self",(char *) "name", NULL
22320 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetClassName",kwnames
,&obj0
,&obj1
)) goto fail
;
22321 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
22322 if (SWIG_arg_fail(1)) SWIG_fail
;
22324 arg2
= wxString_in_helper(obj1
);
22325 if (arg2
== NULL
) SWIG_fail
;
22329 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22330 (arg1
)->SetClassName((wxString
const &)*arg2
);
22332 wxPyEndAllowThreads(__tstate
);
22333 if (PyErr_Occurred()) SWIG_fail
;
22335 Py_INCREF(Py_None
); resultobj
= Py_None
;
22350 static PyObject
*_wrap_PyApp_GetVendorName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22351 PyObject
*resultobj
;
22352 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
22354 PyObject
* obj0
= 0 ;
22355 char *kwnames
[] = {
22356 (char *) "self", NULL
22359 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetVendorName",kwnames
,&obj0
)) goto fail
;
22360 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
22361 if (SWIG_arg_fail(1)) SWIG_fail
;
22363 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22365 wxString
const &_result_ref
= ((wxPyApp
const *)arg1
)->GetVendorName();
22366 result
= (wxString
*) &_result_ref
;
22369 wxPyEndAllowThreads(__tstate
);
22370 if (PyErr_Occurred()) SWIG_fail
;
22374 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
22376 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
22385 static PyObject
*_wrap_PyApp_SetVendorName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22386 PyObject
*resultobj
;
22387 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
22388 wxString
*arg2
= 0 ;
22389 bool temp2
= false ;
22390 PyObject
* obj0
= 0 ;
22391 PyObject
* obj1
= 0 ;
22392 char *kwnames
[] = {
22393 (char *) "self",(char *) "name", NULL
22396 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetVendorName",kwnames
,&obj0
,&obj1
)) goto fail
;
22397 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
22398 if (SWIG_arg_fail(1)) SWIG_fail
;
22400 arg2
= wxString_in_helper(obj1
);
22401 if (arg2
== NULL
) SWIG_fail
;
22405 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22406 (arg1
)->SetVendorName((wxString
const &)*arg2
);
22408 wxPyEndAllowThreads(__tstate
);
22409 if (PyErr_Occurred()) SWIG_fail
;
22411 Py_INCREF(Py_None
); resultobj
= Py_None
;
22426 static PyObject
*_wrap_PyApp_GetTraits(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22427 PyObject
*resultobj
;
22428 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
22429 wxAppTraits
*result
;
22430 PyObject
* obj0
= 0 ;
22431 char *kwnames
[] = {
22432 (char *) "self", NULL
22435 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetTraits",kwnames
,&obj0
)) goto fail
;
22436 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
22437 if (SWIG_arg_fail(1)) SWIG_fail
;
22439 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22440 result
= (wxAppTraits
*)(arg1
)->GetTraits();
22442 wxPyEndAllowThreads(__tstate
);
22443 if (PyErr_Occurred()) SWIG_fail
;
22445 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxAppTraits
, 0);
22452 static PyObject
*_wrap_PyApp_ProcessPendingEvents(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22453 PyObject
*resultobj
;
22454 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
22455 PyObject
* obj0
= 0 ;
22456 char *kwnames
[] = {
22457 (char *) "self", NULL
22460 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_ProcessPendingEvents",kwnames
,&obj0
)) goto fail
;
22461 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
22462 if (SWIG_arg_fail(1)) SWIG_fail
;
22464 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22465 (arg1
)->ProcessPendingEvents();
22467 wxPyEndAllowThreads(__tstate
);
22468 if (PyErr_Occurred()) SWIG_fail
;
22470 Py_INCREF(Py_None
); resultobj
= Py_None
;
22477 static PyObject
*_wrap_PyApp_Yield(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22478 PyObject
*resultobj
;
22479 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
22480 bool arg2
= (bool) false ;
22482 PyObject
* obj0
= 0 ;
22483 PyObject
* obj1
= 0 ;
22484 char *kwnames
[] = {
22485 (char *) "self",(char *) "onlyIfNeeded", NULL
22488 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:PyApp_Yield",kwnames
,&obj0
,&obj1
)) goto fail
;
22489 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
22490 if (SWIG_arg_fail(1)) SWIG_fail
;
22493 arg2
= (bool)(SWIG_As_bool(obj1
));
22494 if (SWIG_arg_fail(2)) SWIG_fail
;
22498 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22499 result
= (bool)(arg1
)->Yield(arg2
);
22501 wxPyEndAllowThreads(__tstate
);
22502 if (PyErr_Occurred()) SWIG_fail
;
22505 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22513 static PyObject
*_wrap_PyApp_WakeUpIdle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22514 PyObject
*resultobj
;
22515 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
22516 PyObject
* obj0
= 0 ;
22517 char *kwnames
[] = {
22518 (char *) "self", NULL
22521 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_WakeUpIdle",kwnames
,&obj0
)) goto fail
;
22522 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
22523 if (SWIG_arg_fail(1)) SWIG_fail
;
22525 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22526 (arg1
)->WakeUpIdle();
22528 wxPyEndAllowThreads(__tstate
);
22529 if (PyErr_Occurred()) SWIG_fail
;
22531 Py_INCREF(Py_None
); resultobj
= Py_None
;
22538 static PyObject
*_wrap_PyApp_IsMainLoopRunning(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22539 PyObject
*resultobj
;
22541 char *kwnames
[] = {
22545 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PyApp_IsMainLoopRunning",kwnames
)) goto fail
;
22547 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22548 result
= (bool)wxPyApp::IsMainLoopRunning();
22550 wxPyEndAllowThreads(__tstate
);
22551 if (PyErr_Occurred()) SWIG_fail
;
22554 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22562 static PyObject
*_wrap_PyApp_MainLoop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22563 PyObject
*resultobj
;
22564 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
22566 PyObject
* obj0
= 0 ;
22567 char *kwnames
[] = {
22568 (char *) "self", NULL
22571 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_MainLoop",kwnames
,&obj0
)) goto fail
;
22572 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
22573 if (SWIG_arg_fail(1)) SWIG_fail
;
22575 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22576 result
= (int)(arg1
)->MainLoop();
22578 wxPyEndAllowThreads(__tstate
);
22579 if (PyErr_Occurred()) SWIG_fail
;
22582 resultobj
= SWIG_From_int((int)(result
));
22590 static PyObject
*_wrap_PyApp_Exit(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22591 PyObject
*resultobj
;
22592 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
22593 PyObject
* obj0
= 0 ;
22594 char *kwnames
[] = {
22595 (char *) "self", NULL
22598 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_Exit",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();
22605 wxPyEndAllowThreads(__tstate
);
22606 if (PyErr_Occurred()) SWIG_fail
;
22608 Py_INCREF(Py_None
); resultobj
= Py_None
;
22615 static PyObject
*_wrap_PyApp_ExitMainLoop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22616 PyObject
*resultobj
;
22617 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
22618 PyObject
* obj0
= 0 ;
22619 char *kwnames
[] = {
22620 (char *) "self", NULL
22623 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_ExitMainLoop",kwnames
,&obj0
)) goto fail
;
22624 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
22625 if (SWIG_arg_fail(1)) SWIG_fail
;
22627 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22628 (arg1
)->ExitMainLoop();
22630 wxPyEndAllowThreads(__tstate
);
22631 if (PyErr_Occurred()) SWIG_fail
;
22633 Py_INCREF(Py_None
); resultobj
= Py_None
;
22640 static PyObject
*_wrap_PyApp_Pending(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22641 PyObject
*resultobj
;
22642 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
22644 PyObject
* obj0
= 0 ;
22645 char *kwnames
[] = {
22646 (char *) "self", NULL
22649 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_Pending",kwnames
,&obj0
)) goto fail
;
22650 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
22651 if (SWIG_arg_fail(1)) SWIG_fail
;
22653 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22654 result
= (bool)(arg1
)->Pending();
22656 wxPyEndAllowThreads(__tstate
);
22657 if (PyErr_Occurred()) SWIG_fail
;
22660 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22668 static PyObject
*_wrap_PyApp_Dispatch(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22669 PyObject
*resultobj
;
22670 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
22672 PyObject
* obj0
= 0 ;
22673 char *kwnames
[] = {
22674 (char *) "self", NULL
22677 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_Dispatch",kwnames
,&obj0
)) goto fail
;
22678 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
22679 if (SWIG_arg_fail(1)) SWIG_fail
;
22681 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22682 result
= (bool)(arg1
)->Dispatch();
22684 wxPyEndAllowThreads(__tstate
);
22685 if (PyErr_Occurred()) SWIG_fail
;
22688 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22696 static PyObject
*_wrap_PyApp_ProcessIdle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22697 PyObject
*resultobj
;
22698 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
22700 PyObject
* obj0
= 0 ;
22701 char *kwnames
[] = {
22702 (char *) "self", NULL
22705 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_ProcessIdle",kwnames
,&obj0
)) goto fail
;
22706 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
22707 if (SWIG_arg_fail(1)) SWIG_fail
;
22709 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22710 result
= (bool)(arg1
)->ProcessIdle();
22712 wxPyEndAllowThreads(__tstate
);
22713 if (PyErr_Occurred()) SWIG_fail
;
22716 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22724 static PyObject
*_wrap_PyApp_SendIdleEvents(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22725 PyObject
*resultobj
;
22726 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
22727 wxWindow
*arg2
= (wxWindow
*) 0 ;
22728 wxIdleEvent
*arg3
= 0 ;
22730 PyObject
* obj0
= 0 ;
22731 PyObject
* obj1
= 0 ;
22732 PyObject
* obj2
= 0 ;
22733 char *kwnames
[] = {
22734 (char *) "self",(char *) "win",(char *) "event", NULL
22737 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyApp_SendIdleEvents",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22738 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
22739 if (SWIG_arg_fail(1)) SWIG_fail
;
22740 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
22741 if (SWIG_arg_fail(2)) SWIG_fail
;
22743 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxIdleEvent
, SWIG_POINTER_EXCEPTION
| 0);
22744 if (SWIG_arg_fail(3)) SWIG_fail
;
22745 if (arg3
== NULL
) {
22746 SWIG_null_ref("wxIdleEvent");
22748 if (SWIG_arg_fail(3)) SWIG_fail
;
22751 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22752 result
= (bool)(arg1
)->SendIdleEvents(arg2
,*arg3
);
22754 wxPyEndAllowThreads(__tstate
);
22755 if (PyErr_Occurred()) SWIG_fail
;
22758 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22766 static PyObject
*_wrap_PyApp_IsActive(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22767 PyObject
*resultobj
;
22768 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
22770 PyObject
* obj0
= 0 ;
22771 char *kwnames
[] = {
22772 (char *) "self", NULL
22775 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_IsActive",kwnames
,&obj0
)) goto fail
;
22776 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
22777 if (SWIG_arg_fail(1)) SWIG_fail
;
22779 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22780 result
= (bool)((wxPyApp
const *)arg1
)->IsActive();
22782 wxPyEndAllowThreads(__tstate
);
22783 if (PyErr_Occurred()) SWIG_fail
;
22786 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22794 static PyObject
*_wrap_PyApp_SetTopWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22795 PyObject
*resultobj
;
22796 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
22797 wxWindow
*arg2
= (wxWindow
*) 0 ;
22798 PyObject
* obj0
= 0 ;
22799 PyObject
* obj1
= 0 ;
22800 char *kwnames
[] = {
22801 (char *) "self",(char *) "win", NULL
22804 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetTopWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
22805 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
22806 if (SWIG_arg_fail(1)) SWIG_fail
;
22807 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
22808 if (SWIG_arg_fail(2)) SWIG_fail
;
22810 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22811 (arg1
)->SetTopWindow(arg2
);
22813 wxPyEndAllowThreads(__tstate
);
22814 if (PyErr_Occurred()) SWIG_fail
;
22816 Py_INCREF(Py_None
); resultobj
= Py_None
;
22823 static PyObject
*_wrap_PyApp_GetTopWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22824 PyObject
*resultobj
;
22825 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
22827 PyObject
* obj0
= 0 ;
22828 char *kwnames
[] = {
22829 (char *) "self", NULL
22832 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetTopWindow",kwnames
,&obj0
)) goto fail
;
22833 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
22834 if (SWIG_arg_fail(1)) SWIG_fail
;
22836 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22837 result
= (wxWindow
*)((wxPyApp
const *)arg1
)->GetTopWindow();
22839 wxPyEndAllowThreads(__tstate
);
22840 if (PyErr_Occurred()) SWIG_fail
;
22843 resultobj
= wxPyMake_wxObject(result
, 0);
22851 static PyObject
*_wrap_PyApp_SetExitOnFrameDelete(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22852 PyObject
*resultobj
;
22853 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
22855 PyObject
* obj0
= 0 ;
22856 PyObject
* obj1
= 0 ;
22857 char *kwnames
[] = {
22858 (char *) "self",(char *) "flag", NULL
22861 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetExitOnFrameDelete",kwnames
,&obj0
,&obj1
)) goto fail
;
22862 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
22863 if (SWIG_arg_fail(1)) SWIG_fail
;
22865 arg2
= (bool)(SWIG_As_bool(obj1
));
22866 if (SWIG_arg_fail(2)) SWIG_fail
;
22869 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22870 (arg1
)->SetExitOnFrameDelete(arg2
);
22872 wxPyEndAllowThreads(__tstate
);
22873 if (PyErr_Occurred()) SWIG_fail
;
22875 Py_INCREF(Py_None
); resultobj
= Py_None
;
22882 static PyObject
*_wrap_PyApp_GetExitOnFrameDelete(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22883 PyObject
*resultobj
;
22884 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
22886 PyObject
* obj0
= 0 ;
22887 char *kwnames
[] = {
22888 (char *) "self", NULL
22891 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetExitOnFrameDelete",kwnames
,&obj0
)) goto fail
;
22892 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
22893 if (SWIG_arg_fail(1)) SWIG_fail
;
22895 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22896 result
= (bool)((wxPyApp
const *)arg1
)->GetExitOnFrameDelete();
22898 wxPyEndAllowThreads(__tstate
);
22899 if (PyErr_Occurred()) SWIG_fail
;
22902 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22910 static PyObject
*_wrap_PyApp_SetUseBestVisual(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22911 PyObject
*resultobj
;
22912 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
22914 PyObject
* obj0
= 0 ;
22915 PyObject
* obj1
= 0 ;
22916 char *kwnames
[] = {
22917 (char *) "self",(char *) "flag", NULL
22920 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetUseBestVisual",kwnames
,&obj0
,&obj1
)) goto fail
;
22921 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
22922 if (SWIG_arg_fail(1)) SWIG_fail
;
22924 arg2
= (bool)(SWIG_As_bool(obj1
));
22925 if (SWIG_arg_fail(2)) SWIG_fail
;
22928 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22929 (arg1
)->SetUseBestVisual(arg2
);
22931 wxPyEndAllowThreads(__tstate
);
22932 if (PyErr_Occurred()) SWIG_fail
;
22934 Py_INCREF(Py_None
); resultobj
= Py_None
;
22941 static PyObject
*_wrap_PyApp_GetUseBestVisual(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22942 PyObject
*resultobj
;
22943 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
22945 PyObject
* obj0
= 0 ;
22946 char *kwnames
[] = {
22947 (char *) "self", NULL
22950 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetUseBestVisual",kwnames
,&obj0
)) goto fail
;
22951 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
22952 if (SWIG_arg_fail(1)) SWIG_fail
;
22954 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22955 result
= (bool)((wxPyApp
const *)arg1
)->GetUseBestVisual();
22957 wxPyEndAllowThreads(__tstate
);
22958 if (PyErr_Occurred()) SWIG_fail
;
22961 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22969 static PyObject
*_wrap_PyApp_SetPrintMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22970 PyObject
*resultobj
;
22971 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
22973 PyObject
* obj0
= 0 ;
22974 PyObject
* obj1
= 0 ;
22975 char *kwnames
[] = {
22976 (char *) "self",(char *) "mode", NULL
22979 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetPrintMode",kwnames
,&obj0
,&obj1
)) goto fail
;
22980 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
22981 if (SWIG_arg_fail(1)) SWIG_fail
;
22983 arg2
= (int)(SWIG_As_int(obj1
));
22984 if (SWIG_arg_fail(2)) SWIG_fail
;
22987 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22988 (arg1
)->SetPrintMode(arg2
);
22990 wxPyEndAllowThreads(__tstate
);
22991 if (PyErr_Occurred()) SWIG_fail
;
22993 Py_INCREF(Py_None
); resultobj
= Py_None
;
23000 static PyObject
*_wrap_PyApp_GetPrintMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23001 PyObject
*resultobj
;
23002 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
23004 PyObject
* obj0
= 0 ;
23005 char *kwnames
[] = {
23006 (char *) "self", NULL
23009 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetPrintMode",kwnames
,&obj0
)) goto fail
;
23010 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
23011 if (SWIG_arg_fail(1)) SWIG_fail
;
23013 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23014 result
= (int)((wxPyApp
const *)arg1
)->GetPrintMode();
23016 wxPyEndAllowThreads(__tstate
);
23017 if (PyErr_Occurred()) SWIG_fail
;
23020 resultobj
= SWIG_From_int((int)(result
));
23028 static PyObject
*_wrap_PyApp_SetAssertMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23029 PyObject
*resultobj
;
23030 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
23032 PyObject
* obj0
= 0 ;
23033 PyObject
* obj1
= 0 ;
23034 char *kwnames
[] = {
23035 (char *) "self",(char *) "mode", NULL
23038 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetAssertMode",kwnames
,&obj0
,&obj1
)) goto fail
;
23039 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
23040 if (SWIG_arg_fail(1)) SWIG_fail
;
23042 arg2
= (int)(SWIG_As_int(obj1
));
23043 if (SWIG_arg_fail(2)) SWIG_fail
;
23046 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23047 (arg1
)->SetAssertMode(arg2
);
23049 wxPyEndAllowThreads(__tstate
);
23050 if (PyErr_Occurred()) SWIG_fail
;
23052 Py_INCREF(Py_None
); resultobj
= Py_None
;
23059 static PyObject
*_wrap_PyApp_GetAssertMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23060 PyObject
*resultobj
;
23061 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
23063 PyObject
* obj0
= 0 ;
23064 char *kwnames
[] = {
23065 (char *) "self", NULL
23068 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetAssertMode",kwnames
,&obj0
)) goto fail
;
23069 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
23070 if (SWIG_arg_fail(1)) SWIG_fail
;
23072 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23073 result
= (int)(arg1
)->GetAssertMode();
23075 wxPyEndAllowThreads(__tstate
);
23076 if (PyErr_Occurred()) SWIG_fail
;
23079 resultobj
= SWIG_From_int((int)(result
));
23087 static PyObject
*_wrap_PyApp_GetMacSupportPCMenuShortcuts(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23088 PyObject
*resultobj
;
23090 char *kwnames
[] = {
23094 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PyApp_GetMacSupportPCMenuShortcuts",kwnames
)) goto fail
;
23096 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23097 result
= (bool)wxPyApp::GetMacSupportPCMenuShortcuts();
23099 wxPyEndAllowThreads(__tstate
);
23100 if (PyErr_Occurred()) SWIG_fail
;
23103 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23111 static PyObject
*_wrap_PyApp_GetMacAboutMenuItemId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23112 PyObject
*resultobj
;
23114 char *kwnames
[] = {
23118 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PyApp_GetMacAboutMenuItemId",kwnames
)) goto fail
;
23120 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23121 result
= (long)wxPyApp::GetMacAboutMenuItemId();
23123 wxPyEndAllowThreads(__tstate
);
23124 if (PyErr_Occurred()) SWIG_fail
;
23127 resultobj
= SWIG_From_long((long)(result
));
23135 static PyObject
*_wrap_PyApp_GetMacPreferencesMenuItemId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23136 PyObject
*resultobj
;
23138 char *kwnames
[] = {
23142 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PyApp_GetMacPreferencesMenuItemId",kwnames
)) goto fail
;
23144 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23145 result
= (long)wxPyApp::GetMacPreferencesMenuItemId();
23147 wxPyEndAllowThreads(__tstate
);
23148 if (PyErr_Occurred()) SWIG_fail
;
23151 resultobj
= SWIG_From_long((long)(result
));
23159 static PyObject
*_wrap_PyApp_GetMacExitMenuItemId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23160 PyObject
*resultobj
;
23162 char *kwnames
[] = {
23166 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PyApp_GetMacExitMenuItemId",kwnames
)) goto fail
;
23168 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23169 result
= (long)wxPyApp::GetMacExitMenuItemId();
23171 wxPyEndAllowThreads(__tstate
);
23172 if (PyErr_Occurred()) SWIG_fail
;
23175 resultobj
= SWIG_From_long((long)(result
));
23183 static PyObject
*_wrap_PyApp_GetMacHelpMenuTitleName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23184 PyObject
*resultobj
;
23186 char *kwnames
[] = {
23190 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PyApp_GetMacHelpMenuTitleName",kwnames
)) goto fail
;
23192 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23193 result
= wxPyApp::GetMacHelpMenuTitleName();
23195 wxPyEndAllowThreads(__tstate
);
23196 if (PyErr_Occurred()) SWIG_fail
;
23200 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
23202 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
23211 static PyObject
*_wrap_PyApp_SetMacSupportPCMenuShortcuts(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23212 PyObject
*resultobj
;
23214 PyObject
* obj0
= 0 ;
23215 char *kwnames
[] = {
23216 (char *) "val", NULL
23219 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_SetMacSupportPCMenuShortcuts",kwnames
,&obj0
)) goto fail
;
23221 arg1
= (bool)(SWIG_As_bool(obj0
));
23222 if (SWIG_arg_fail(1)) SWIG_fail
;
23225 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23226 wxPyApp::SetMacSupportPCMenuShortcuts(arg1
);
23228 wxPyEndAllowThreads(__tstate
);
23229 if (PyErr_Occurred()) SWIG_fail
;
23231 Py_INCREF(Py_None
); resultobj
= Py_None
;
23238 static PyObject
*_wrap_PyApp_SetMacAboutMenuItemId(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_SetMacAboutMenuItemId",kwnames
,&obj0
)) goto fail
;
23248 arg1
= (long)(SWIG_As_long(obj0
));
23249 if (SWIG_arg_fail(1)) SWIG_fail
;
23252 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23253 wxPyApp::SetMacAboutMenuItemId(arg1
);
23255 wxPyEndAllowThreads(__tstate
);
23256 if (PyErr_Occurred()) SWIG_fail
;
23258 Py_INCREF(Py_None
); resultobj
= Py_None
;
23265 static PyObject
*_wrap_PyApp_SetMacPreferencesMenuItemId(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_SetMacPreferencesMenuItemId",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::SetMacPreferencesMenuItemId(arg1
);
23282 wxPyEndAllowThreads(__tstate
);
23283 if (PyErr_Occurred()) SWIG_fail
;
23285 Py_INCREF(Py_None
); resultobj
= Py_None
;
23292 static PyObject
*_wrap_PyApp_SetMacExitMenuItemId(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_SetMacExitMenuItemId",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::SetMacExitMenuItemId(arg1
);
23309 wxPyEndAllowThreads(__tstate
);
23310 if (PyErr_Occurred()) SWIG_fail
;
23312 Py_INCREF(Py_None
); resultobj
= Py_None
;
23319 static PyObject
*_wrap_PyApp_SetMacHelpMenuTitleName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23320 PyObject
*resultobj
;
23321 wxString
*arg1
= 0 ;
23322 bool temp1
= false ;
23323 PyObject
* obj0
= 0 ;
23324 char *kwnames
[] = {
23325 (char *) "val", NULL
23328 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_SetMacHelpMenuTitleName",kwnames
,&obj0
)) goto fail
;
23330 arg1
= wxString_in_helper(obj0
);
23331 if (arg1
== NULL
) SWIG_fail
;
23335 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23336 wxPyApp::SetMacHelpMenuTitleName((wxString
const &)*arg1
);
23338 wxPyEndAllowThreads(__tstate
);
23339 if (PyErr_Occurred()) SWIG_fail
;
23341 Py_INCREF(Py_None
); resultobj
= Py_None
;
23356 static PyObject
*_wrap_PyApp__BootstrapApp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23357 PyObject
*resultobj
;
23358 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
23359 PyObject
* obj0
= 0 ;
23360 char *kwnames
[] = {
23361 (char *) "self", NULL
23364 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp__BootstrapApp",kwnames
,&obj0
)) goto fail
;
23365 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
23366 if (SWIG_arg_fail(1)) SWIG_fail
;
23368 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23369 (arg1
)->_BootstrapApp();
23371 wxPyEndAllowThreads(__tstate
);
23372 if (PyErr_Occurred()) SWIG_fail
;
23374 Py_INCREF(Py_None
); resultobj
= Py_None
;
23381 static PyObject
*_wrap_PyApp_GetComCtl32Version(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23382 PyObject
*resultobj
;
23384 char *kwnames
[] = {
23388 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PyApp_GetComCtl32Version",kwnames
)) goto fail
;
23390 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23391 result
= (int)PyApp_GetComCtl32Version();
23393 wxPyEndAllowThreads(__tstate
);
23394 if (PyErr_Occurred()) SWIG_fail
;
23397 resultobj
= SWIG_From_int((int)(result
));
23405 static PyObject
* PyApp_swigregister(PyObject
*, PyObject
*args
) {
23407 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
23408 SWIG_TypeClientData(SWIGTYPE_p_wxPyApp
, obj
);
23410 return Py_BuildValue((char *)"");
23412 static PyObject
*_wrap_Exit(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23413 PyObject
*resultobj
;
23414 char *kwnames
[] = {
23418 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Exit",kwnames
)) goto fail
;
23420 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23423 wxPyEndAllowThreads(__tstate
);
23424 if (PyErr_Occurred()) SWIG_fail
;
23426 Py_INCREF(Py_None
); resultobj
= Py_None
;
23433 static PyObject
*_wrap_Yield(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23434 PyObject
*resultobj
;
23436 char *kwnames
[] = {
23440 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Yield",kwnames
)) goto fail
;
23442 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23443 result
= (bool)wxYield();
23445 wxPyEndAllowThreads(__tstate
);
23446 if (PyErr_Occurred()) SWIG_fail
;
23449 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23457 static PyObject
*_wrap_YieldIfNeeded(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23458 PyObject
*resultobj
;
23460 char *kwnames
[] = {
23464 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":YieldIfNeeded",kwnames
)) goto fail
;
23466 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23467 result
= (bool)wxYieldIfNeeded();
23469 wxPyEndAllowThreads(__tstate
);
23470 if (PyErr_Occurred()) SWIG_fail
;
23473 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23481 static PyObject
*_wrap_SafeYield(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23482 PyObject
*resultobj
;
23483 wxWindow
*arg1
= (wxWindow
*) NULL
;
23484 bool arg2
= (bool) false ;
23486 PyObject
* obj0
= 0 ;
23487 PyObject
* obj1
= 0 ;
23488 char *kwnames
[] = {
23489 (char *) "win",(char *) "onlyIfNeeded", NULL
23492 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:SafeYield",kwnames
,&obj0
,&obj1
)) goto fail
;
23494 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
23495 if (SWIG_arg_fail(1)) SWIG_fail
;
23499 arg2
= (bool)(SWIG_As_bool(obj1
));
23500 if (SWIG_arg_fail(2)) SWIG_fail
;
23504 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23505 result
= (bool)wxSafeYield(arg1
,arg2
);
23507 wxPyEndAllowThreads(__tstate
);
23508 if (PyErr_Occurred()) SWIG_fail
;
23511 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23519 static PyObject
*_wrap_WakeUpIdle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23520 PyObject
*resultobj
;
23521 char *kwnames
[] = {
23525 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":WakeUpIdle",kwnames
)) goto fail
;
23527 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23530 wxPyEndAllowThreads(__tstate
);
23531 if (PyErr_Occurred()) SWIG_fail
;
23533 Py_INCREF(Py_None
); resultobj
= Py_None
;
23540 static PyObject
*_wrap_PostEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23541 PyObject
*resultobj
;
23542 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
23543 wxEvent
*arg2
= 0 ;
23544 PyObject
* obj0
= 0 ;
23545 PyObject
* obj1
= 0 ;
23546 char *kwnames
[] = {
23547 (char *) "dest",(char *) "event", NULL
23550 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PostEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
23551 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
23552 if (SWIG_arg_fail(1)) SWIG_fail
;
23554 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
23555 if (SWIG_arg_fail(2)) SWIG_fail
;
23556 if (arg2
== NULL
) {
23557 SWIG_null_ref("wxEvent");
23559 if (SWIG_arg_fail(2)) SWIG_fail
;
23562 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23563 wxPostEvent(arg1
,*arg2
);
23565 wxPyEndAllowThreads(__tstate
);
23566 if (PyErr_Occurred()) SWIG_fail
;
23568 Py_INCREF(Py_None
); resultobj
= Py_None
;
23575 static PyObject
*_wrap_App_CleanUp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23576 PyObject
*resultobj
;
23577 char *kwnames
[] = {
23581 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":App_CleanUp",kwnames
)) goto fail
;
23583 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23586 wxPyEndAllowThreads(__tstate
);
23587 if (PyErr_Occurred()) SWIG_fail
;
23589 Py_INCREF(Py_None
); resultobj
= Py_None
;
23596 static PyObject
*_wrap_GetApp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23597 PyObject
*resultobj
;
23599 char *kwnames
[] = {
23603 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetApp",kwnames
)) goto fail
;
23605 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23606 result
= (wxPyApp
*)wxPyGetApp();
23608 wxPyEndAllowThreads(__tstate
);
23609 if (PyErr_Occurred()) SWIG_fail
;
23612 resultobj
= wxPyMake_wxObject(result
, 0);
23620 static PyObject
*_wrap_SetDefaultPyEncoding(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23621 PyObject
*resultobj
;
23622 char *arg1
= (char *) 0 ;
23623 PyObject
* obj0
= 0 ;
23624 char *kwnames
[] = {
23625 (char *) "encoding", NULL
23628 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SetDefaultPyEncoding",kwnames
,&obj0
)) goto fail
;
23629 if (!SWIG_AsCharPtr(obj0
, (char**)&arg1
)) {
23630 SWIG_arg_fail(1);SWIG_fail
;
23633 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23634 wxSetDefaultPyEncoding((char const *)arg1
);
23636 wxPyEndAllowThreads(__tstate
);
23637 if (PyErr_Occurred()) SWIG_fail
;
23639 Py_INCREF(Py_None
); resultobj
= Py_None
;
23646 static PyObject
*_wrap_GetDefaultPyEncoding(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23647 PyObject
*resultobj
;
23649 char *kwnames
[] = {
23653 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetDefaultPyEncoding",kwnames
)) goto fail
;
23655 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23656 result
= (char *)wxGetDefaultPyEncoding();
23658 wxPyEndAllowThreads(__tstate
);
23659 if (PyErr_Occurred()) SWIG_fail
;
23661 resultobj
= SWIG_FromCharPtr(result
);
23668 static PyObject
*_wrap_new_EventLoop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23669 PyObject
*resultobj
;
23670 wxEventLoop
*result
;
23671 char *kwnames
[] = {
23675 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_EventLoop",kwnames
)) goto fail
;
23677 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23678 result
= (wxEventLoop
*)new wxEventLoop();
23680 wxPyEndAllowThreads(__tstate
);
23681 if (PyErr_Occurred()) SWIG_fail
;
23683 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxEventLoop
, 1);
23690 static PyObject
*_wrap_delete_EventLoop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23691 PyObject
*resultobj
;
23692 wxEventLoop
*arg1
= (wxEventLoop
*) 0 ;
23693 PyObject
* obj0
= 0 ;
23694 char *kwnames
[] = {
23695 (char *) "self", NULL
23698 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_EventLoop",kwnames
,&obj0
)) goto fail
;
23699 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEventLoop
, SWIG_POINTER_EXCEPTION
| 0);
23700 if (SWIG_arg_fail(1)) SWIG_fail
;
23702 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23705 wxPyEndAllowThreads(__tstate
);
23706 if (PyErr_Occurred()) SWIG_fail
;
23708 Py_INCREF(Py_None
); resultobj
= Py_None
;
23715 static PyObject
*_wrap_EventLoop_Run(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23716 PyObject
*resultobj
;
23717 wxEventLoop
*arg1
= (wxEventLoop
*) 0 ;
23719 PyObject
* obj0
= 0 ;
23720 char *kwnames
[] = {
23721 (char *) "self", NULL
23724 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EventLoop_Run",kwnames
,&obj0
)) goto fail
;
23725 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEventLoop
, SWIG_POINTER_EXCEPTION
| 0);
23726 if (SWIG_arg_fail(1)) SWIG_fail
;
23728 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23729 result
= (int)(arg1
)->Run();
23731 wxPyEndAllowThreads(__tstate
);
23732 if (PyErr_Occurred()) SWIG_fail
;
23735 resultobj
= SWIG_From_int((int)(result
));
23743 static PyObject
*_wrap_EventLoop_Exit(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23744 PyObject
*resultobj
;
23745 wxEventLoop
*arg1
= (wxEventLoop
*) 0 ;
23746 int arg2
= (int) 0 ;
23747 PyObject
* obj0
= 0 ;
23748 PyObject
* obj1
= 0 ;
23749 char *kwnames
[] = {
23750 (char *) "self",(char *) "rc", NULL
23753 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:EventLoop_Exit",kwnames
,&obj0
,&obj1
)) goto fail
;
23754 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEventLoop
, SWIG_POINTER_EXCEPTION
| 0);
23755 if (SWIG_arg_fail(1)) SWIG_fail
;
23758 arg2
= (int)(SWIG_As_int(obj1
));
23759 if (SWIG_arg_fail(2)) SWIG_fail
;
23763 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23764 (arg1
)->Exit(arg2
);
23766 wxPyEndAllowThreads(__tstate
);
23767 if (PyErr_Occurred()) SWIG_fail
;
23769 Py_INCREF(Py_None
); resultobj
= Py_None
;
23776 static PyObject
*_wrap_EventLoop_Pending(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23777 PyObject
*resultobj
;
23778 wxEventLoop
*arg1
= (wxEventLoop
*) 0 ;
23780 PyObject
* obj0
= 0 ;
23781 char *kwnames
[] = {
23782 (char *) "self", NULL
23785 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EventLoop_Pending",kwnames
,&obj0
)) goto fail
;
23786 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEventLoop
, SWIG_POINTER_EXCEPTION
| 0);
23787 if (SWIG_arg_fail(1)) SWIG_fail
;
23789 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23790 result
= (bool)((wxEventLoop
const *)arg1
)->Pending();
23792 wxPyEndAllowThreads(__tstate
);
23793 if (PyErr_Occurred()) SWIG_fail
;
23796 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23804 static PyObject
*_wrap_EventLoop_Dispatch(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23805 PyObject
*resultobj
;
23806 wxEventLoop
*arg1
= (wxEventLoop
*) 0 ;
23808 PyObject
* obj0
= 0 ;
23809 char *kwnames
[] = {
23810 (char *) "self", NULL
23813 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EventLoop_Dispatch",kwnames
,&obj0
)) goto fail
;
23814 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEventLoop
, SWIG_POINTER_EXCEPTION
| 0);
23815 if (SWIG_arg_fail(1)) SWIG_fail
;
23817 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23818 result
= (bool)(arg1
)->Dispatch();
23820 wxPyEndAllowThreads(__tstate
);
23821 if (PyErr_Occurred()) SWIG_fail
;
23824 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23832 static PyObject
*_wrap_EventLoop_IsRunning(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23833 PyObject
*resultobj
;
23834 wxEventLoop
*arg1
= (wxEventLoop
*) 0 ;
23836 PyObject
* obj0
= 0 ;
23837 char *kwnames
[] = {
23838 (char *) "self", NULL
23841 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EventLoop_IsRunning",kwnames
,&obj0
)) goto fail
;
23842 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEventLoop
, SWIG_POINTER_EXCEPTION
| 0);
23843 if (SWIG_arg_fail(1)) SWIG_fail
;
23845 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23846 result
= (bool)((wxEventLoop
const *)arg1
)->IsRunning();
23848 wxPyEndAllowThreads(__tstate
);
23849 if (PyErr_Occurred()) SWIG_fail
;
23852 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23860 static PyObject
*_wrap_EventLoop_GetActive(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23861 PyObject
*resultobj
;
23862 wxEventLoop
*result
;
23863 char *kwnames
[] = {
23867 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":EventLoop_GetActive",kwnames
)) goto fail
;
23869 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23870 result
= (wxEventLoop
*)wxEventLoop::GetActive();
23872 wxPyEndAllowThreads(__tstate
);
23873 if (PyErr_Occurred()) SWIG_fail
;
23875 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxEventLoop
, 0);
23882 static PyObject
*_wrap_EventLoop_SetActive(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23883 PyObject
*resultobj
;
23884 wxEventLoop
*arg1
= (wxEventLoop
*) 0 ;
23885 PyObject
* obj0
= 0 ;
23886 char *kwnames
[] = {
23887 (char *) "loop", NULL
23890 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EventLoop_SetActive",kwnames
,&obj0
)) goto fail
;
23891 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEventLoop
, SWIG_POINTER_EXCEPTION
| 0);
23892 if (SWIG_arg_fail(1)) SWIG_fail
;
23894 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23895 wxEventLoop::SetActive(arg1
);
23897 wxPyEndAllowThreads(__tstate
);
23898 if (PyErr_Occurred()) SWIG_fail
;
23900 Py_INCREF(Py_None
); resultobj
= Py_None
;
23907 static PyObject
* EventLoop_swigregister(PyObject
*, PyObject
*args
) {
23909 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
23910 SWIG_TypeClientData(SWIGTYPE_p_wxEventLoop
, obj
);
23912 return Py_BuildValue((char *)"");
23914 static PyObject
*_wrap_new_AcceleratorEntry(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23915 PyObject
*resultobj
;
23916 int arg1
= (int) 0 ;
23917 int arg2
= (int) 0 ;
23918 int arg3
= (int) 0 ;
23919 wxAcceleratorEntry
*result
;
23920 PyObject
* obj0
= 0 ;
23921 PyObject
* obj1
= 0 ;
23922 PyObject
* obj2
= 0 ;
23923 char *kwnames
[] = {
23924 (char *) "flags",(char *) "keyCode",(char *) "cmdID", NULL
23927 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_AcceleratorEntry",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23930 arg1
= (int)(SWIG_As_int(obj0
));
23931 if (SWIG_arg_fail(1)) SWIG_fail
;
23936 arg2
= (int)(SWIG_As_int(obj1
));
23937 if (SWIG_arg_fail(2)) SWIG_fail
;
23942 arg3
= (int)(SWIG_As_int(obj2
));
23943 if (SWIG_arg_fail(3)) SWIG_fail
;
23947 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23948 result
= (wxAcceleratorEntry
*)new wxAcceleratorEntry(arg1
,arg2
,arg3
);
23950 wxPyEndAllowThreads(__tstate
);
23951 if (PyErr_Occurred()) SWIG_fail
;
23953 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxAcceleratorEntry
, 1);
23960 static PyObject
*_wrap_delete_AcceleratorEntry(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23961 PyObject
*resultobj
;
23962 wxAcceleratorEntry
*arg1
= (wxAcceleratorEntry
*) 0 ;
23963 PyObject
* obj0
= 0 ;
23964 char *kwnames
[] = {
23965 (char *) "self", NULL
23968 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_AcceleratorEntry",kwnames
,&obj0
)) goto fail
;
23969 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxAcceleratorEntry
, SWIG_POINTER_EXCEPTION
| 0);
23970 if (SWIG_arg_fail(1)) SWIG_fail
;
23972 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23975 wxPyEndAllowThreads(__tstate
);
23976 if (PyErr_Occurred()) SWIG_fail
;
23978 Py_INCREF(Py_None
); resultobj
= Py_None
;
23985 static PyObject
*_wrap_AcceleratorEntry_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23986 PyObject
*resultobj
;
23987 wxAcceleratorEntry
*arg1
= (wxAcceleratorEntry
*) 0 ;
23991 PyObject
* obj0
= 0 ;
23992 PyObject
* obj1
= 0 ;
23993 PyObject
* obj2
= 0 ;
23994 PyObject
* obj3
= 0 ;
23995 char *kwnames
[] = {
23996 (char *) "self",(char *) "flags",(char *) "keyCode",(char *) "cmd", NULL
23999 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:AcceleratorEntry_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
24000 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxAcceleratorEntry
, SWIG_POINTER_EXCEPTION
| 0);
24001 if (SWIG_arg_fail(1)) SWIG_fail
;
24003 arg2
= (int)(SWIG_As_int(obj1
));
24004 if (SWIG_arg_fail(2)) SWIG_fail
;
24007 arg3
= (int)(SWIG_As_int(obj2
));
24008 if (SWIG_arg_fail(3)) SWIG_fail
;
24011 arg4
= (int)(SWIG_As_int(obj3
));
24012 if (SWIG_arg_fail(4)) SWIG_fail
;
24015 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24016 (arg1
)->Set(arg2
,arg3
,arg4
);
24018 wxPyEndAllowThreads(__tstate
);
24019 if (PyErr_Occurred()) SWIG_fail
;
24021 Py_INCREF(Py_None
); resultobj
= Py_None
;
24028 static PyObject
*_wrap_AcceleratorEntry_GetFlags(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24029 PyObject
*resultobj
;
24030 wxAcceleratorEntry
*arg1
= (wxAcceleratorEntry
*) 0 ;
24032 PyObject
* obj0
= 0 ;
24033 char *kwnames
[] = {
24034 (char *) "self", NULL
24037 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:AcceleratorEntry_GetFlags",kwnames
,&obj0
)) goto fail
;
24038 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxAcceleratorEntry
, SWIG_POINTER_EXCEPTION
| 0);
24039 if (SWIG_arg_fail(1)) SWIG_fail
;
24041 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24042 result
= (int)(arg1
)->GetFlags();
24044 wxPyEndAllowThreads(__tstate
);
24045 if (PyErr_Occurred()) SWIG_fail
;
24048 resultobj
= SWIG_From_int((int)(result
));
24056 static PyObject
*_wrap_AcceleratorEntry_GetKeyCode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24057 PyObject
*resultobj
;
24058 wxAcceleratorEntry
*arg1
= (wxAcceleratorEntry
*) 0 ;
24060 PyObject
* obj0
= 0 ;
24061 char *kwnames
[] = {
24062 (char *) "self", NULL
24065 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:AcceleratorEntry_GetKeyCode",kwnames
,&obj0
)) goto fail
;
24066 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxAcceleratorEntry
, SWIG_POINTER_EXCEPTION
| 0);
24067 if (SWIG_arg_fail(1)) SWIG_fail
;
24069 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24070 result
= (int)(arg1
)->GetKeyCode();
24072 wxPyEndAllowThreads(__tstate
);
24073 if (PyErr_Occurred()) SWIG_fail
;
24076 resultobj
= SWIG_From_int((int)(result
));
24084 static PyObject
*_wrap_AcceleratorEntry_GetCommand(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24085 PyObject
*resultobj
;
24086 wxAcceleratorEntry
*arg1
= (wxAcceleratorEntry
*) 0 ;
24088 PyObject
* obj0
= 0 ;
24089 char *kwnames
[] = {
24090 (char *) "self", NULL
24093 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:AcceleratorEntry_GetCommand",kwnames
,&obj0
)) goto fail
;
24094 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxAcceleratorEntry
, SWIG_POINTER_EXCEPTION
| 0);
24095 if (SWIG_arg_fail(1)) SWIG_fail
;
24097 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24098 result
= (int)(arg1
)->GetCommand();
24100 wxPyEndAllowThreads(__tstate
);
24101 if (PyErr_Occurred()) SWIG_fail
;
24104 resultobj
= SWIG_From_int((int)(result
));
24112 static PyObject
* AcceleratorEntry_swigregister(PyObject
*, PyObject
*args
) {
24114 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24115 SWIG_TypeClientData(SWIGTYPE_p_wxAcceleratorEntry
, obj
);
24117 return Py_BuildValue((char *)"");
24119 static PyObject
*_wrap_new_AcceleratorTable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24120 PyObject
*resultobj
;
24122 wxAcceleratorEntry
*arg2
= (wxAcceleratorEntry
*) 0 ;
24123 wxAcceleratorTable
*result
;
24124 PyObject
* obj0
= 0 ;
24125 char *kwnames
[] = {
24129 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_AcceleratorTable",kwnames
,&obj0
)) goto fail
;
24131 arg2
= wxAcceleratorEntry_LIST_helper(obj0
);
24132 if (arg2
) arg1
= PyList_Size(obj0
);
24136 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24137 result
= (wxAcceleratorTable
*)new wxAcceleratorTable(arg1
,(wxAcceleratorEntry
const *)arg2
);
24139 wxPyEndAllowThreads(__tstate
);
24140 if (PyErr_Occurred()) SWIG_fail
;
24142 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxAcceleratorTable
, 1);
24155 static PyObject
*_wrap_delete_AcceleratorTable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24156 PyObject
*resultobj
;
24157 wxAcceleratorTable
*arg1
= (wxAcceleratorTable
*) 0 ;
24158 PyObject
* obj0
= 0 ;
24159 char *kwnames
[] = {
24160 (char *) "self", NULL
24163 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_AcceleratorTable",kwnames
,&obj0
)) goto fail
;
24164 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxAcceleratorTable
, SWIG_POINTER_EXCEPTION
| 0);
24165 if (SWIG_arg_fail(1)) SWIG_fail
;
24167 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24170 wxPyEndAllowThreads(__tstate
);
24171 if (PyErr_Occurred()) SWIG_fail
;
24173 Py_INCREF(Py_None
); resultobj
= Py_None
;
24180 static PyObject
*_wrap_AcceleratorTable_Ok(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24181 PyObject
*resultobj
;
24182 wxAcceleratorTable
*arg1
= (wxAcceleratorTable
*) 0 ;
24184 PyObject
* obj0
= 0 ;
24185 char *kwnames
[] = {
24186 (char *) "self", NULL
24189 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:AcceleratorTable_Ok",kwnames
,&obj0
)) goto fail
;
24190 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxAcceleratorTable
, SWIG_POINTER_EXCEPTION
| 0);
24191 if (SWIG_arg_fail(1)) SWIG_fail
;
24193 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24194 result
= (bool)((wxAcceleratorTable
const *)arg1
)->Ok();
24196 wxPyEndAllowThreads(__tstate
);
24197 if (PyErr_Occurred()) SWIG_fail
;
24200 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24208 static PyObject
* AcceleratorTable_swigregister(PyObject
*, PyObject
*args
) {
24210 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24211 SWIG_TypeClientData(SWIGTYPE_p_wxAcceleratorTable
, obj
);
24213 return Py_BuildValue((char *)"");
24215 static int _wrap_NullAcceleratorTable_set(PyObject
*) {
24216 PyErr_SetString(PyExc_TypeError
,"Variable NullAcceleratorTable is read-only.");
24221 static PyObject
*_wrap_NullAcceleratorTable_get(void) {
24224 pyobj
= SWIG_NewPointerObj((void *)(&wxNullAcceleratorTable
), SWIGTYPE_p_wxAcceleratorTable
, 0);
24229 static PyObject
*_wrap_GetAccelFromString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24230 PyObject
*resultobj
;
24231 wxString
*arg1
= 0 ;
24232 wxAcceleratorEntry
*result
;
24233 bool temp1
= false ;
24234 PyObject
* obj0
= 0 ;
24235 char *kwnames
[] = {
24236 (char *) "label", NULL
24239 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GetAccelFromString",kwnames
,&obj0
)) goto fail
;
24241 arg1
= wxString_in_helper(obj0
);
24242 if (arg1
== NULL
) SWIG_fail
;
24246 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24247 result
= (wxAcceleratorEntry
*)wxGetAccelFromString((wxString
const &)*arg1
);
24249 wxPyEndAllowThreads(__tstate
);
24250 if (PyErr_Occurred()) SWIG_fail
;
24252 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxAcceleratorEntry
, 0);
24267 static int _wrap_PanelNameStr_set(PyObject
*) {
24268 PyErr_SetString(PyExc_TypeError
,"Variable PanelNameStr is read-only.");
24273 static PyObject
*_wrap_PanelNameStr_get(void) {
24278 pyobj
= PyUnicode_FromWideChar((&wxPyPanelNameStr
)->c_str(), (&wxPyPanelNameStr
)->Len());
24280 pyobj
= PyString_FromStringAndSize((&wxPyPanelNameStr
)->c_str(), (&wxPyPanelNameStr
)->Len());
24287 static PyObject
*_wrap_new_VisualAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24288 PyObject
*resultobj
;
24289 wxVisualAttributes
*result
;
24290 char *kwnames
[] = {
24294 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_VisualAttributes",kwnames
)) goto fail
;
24296 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24297 result
= (wxVisualAttributes
*)new_wxVisualAttributes();
24299 wxPyEndAllowThreads(__tstate
);
24300 if (PyErr_Occurred()) SWIG_fail
;
24302 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxVisualAttributes
, 1);
24309 static PyObject
*_wrap_delete_VisualAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24310 PyObject
*resultobj
;
24311 wxVisualAttributes
*arg1
= (wxVisualAttributes
*) 0 ;
24312 PyObject
* obj0
= 0 ;
24313 char *kwnames
[] = {
24314 (char *) "self", NULL
24317 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_VisualAttributes",kwnames
,&obj0
)) goto fail
;
24318 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_EXCEPTION
| 0);
24319 if (SWIG_arg_fail(1)) SWIG_fail
;
24321 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24322 delete_wxVisualAttributes(arg1
);
24324 wxPyEndAllowThreads(__tstate
);
24325 if (PyErr_Occurred()) SWIG_fail
;
24327 Py_INCREF(Py_None
); resultobj
= Py_None
;
24334 static PyObject
*_wrap_VisualAttributes_font_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24335 PyObject
*resultobj
;
24336 wxVisualAttributes
*arg1
= (wxVisualAttributes
*) 0 ;
24337 wxFont
*arg2
= (wxFont
*) 0 ;
24338 PyObject
* obj0
= 0 ;
24339 PyObject
* obj1
= 0 ;
24340 char *kwnames
[] = {
24341 (char *) "self",(char *) "font", NULL
24344 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VisualAttributes_font_set",kwnames
,&obj0
,&obj1
)) goto fail
;
24345 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_EXCEPTION
| 0);
24346 if (SWIG_arg_fail(1)) SWIG_fail
;
24347 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
24348 if (SWIG_arg_fail(2)) SWIG_fail
;
24349 if (arg1
) (arg1
)->font
= *arg2
;
24351 Py_INCREF(Py_None
); resultobj
= Py_None
;
24358 static PyObject
*_wrap_VisualAttributes_font_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24359 PyObject
*resultobj
;
24360 wxVisualAttributes
*arg1
= (wxVisualAttributes
*) 0 ;
24362 PyObject
* obj0
= 0 ;
24363 char *kwnames
[] = {
24364 (char *) "self", NULL
24367 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VisualAttributes_font_get",kwnames
,&obj0
)) goto fail
;
24368 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_EXCEPTION
| 0);
24369 if (SWIG_arg_fail(1)) SWIG_fail
;
24370 result
= (wxFont
*)& ((arg1
)->font
);
24372 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFont
, 0);
24379 static PyObject
*_wrap_VisualAttributes_colFg_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24380 PyObject
*resultobj
;
24381 wxVisualAttributes
*arg1
= (wxVisualAttributes
*) 0 ;
24382 wxColour
*arg2
= (wxColour
*) 0 ;
24383 PyObject
* obj0
= 0 ;
24384 PyObject
* obj1
= 0 ;
24385 char *kwnames
[] = {
24386 (char *) "self",(char *) "colFg", NULL
24389 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VisualAttributes_colFg_set",kwnames
,&obj0
,&obj1
)) goto fail
;
24390 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_EXCEPTION
| 0);
24391 if (SWIG_arg_fail(1)) SWIG_fail
;
24392 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxColour
, SWIG_POINTER_EXCEPTION
| 0);
24393 if (SWIG_arg_fail(2)) SWIG_fail
;
24394 if (arg1
) (arg1
)->colFg
= *arg2
;
24396 Py_INCREF(Py_None
); resultobj
= Py_None
;
24403 static PyObject
*_wrap_VisualAttributes_colFg_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24404 PyObject
*resultobj
;
24405 wxVisualAttributes
*arg1
= (wxVisualAttributes
*) 0 ;
24407 PyObject
* obj0
= 0 ;
24408 char *kwnames
[] = {
24409 (char *) "self", NULL
24412 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VisualAttributes_colFg_get",kwnames
,&obj0
)) goto fail
;
24413 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_EXCEPTION
| 0);
24414 if (SWIG_arg_fail(1)) SWIG_fail
;
24415 result
= (wxColour
*)& ((arg1
)->colFg
);
24417 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColour
, 0);
24424 static PyObject
*_wrap_VisualAttributes_colBg_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24425 PyObject
*resultobj
;
24426 wxVisualAttributes
*arg1
= (wxVisualAttributes
*) 0 ;
24427 wxColour
*arg2
= (wxColour
*) 0 ;
24428 PyObject
* obj0
= 0 ;
24429 PyObject
* obj1
= 0 ;
24430 char *kwnames
[] = {
24431 (char *) "self",(char *) "colBg", NULL
24434 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VisualAttributes_colBg_set",kwnames
,&obj0
,&obj1
)) goto fail
;
24435 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_EXCEPTION
| 0);
24436 if (SWIG_arg_fail(1)) SWIG_fail
;
24437 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxColour
, SWIG_POINTER_EXCEPTION
| 0);
24438 if (SWIG_arg_fail(2)) SWIG_fail
;
24439 if (arg1
) (arg1
)->colBg
= *arg2
;
24441 Py_INCREF(Py_None
); resultobj
= Py_None
;
24448 static PyObject
*_wrap_VisualAttributes_colBg_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24449 PyObject
*resultobj
;
24450 wxVisualAttributes
*arg1
= (wxVisualAttributes
*) 0 ;
24452 PyObject
* obj0
= 0 ;
24453 char *kwnames
[] = {
24454 (char *) "self", NULL
24457 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VisualAttributes_colBg_get",kwnames
,&obj0
)) goto fail
;
24458 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_EXCEPTION
| 0);
24459 if (SWIG_arg_fail(1)) SWIG_fail
;
24460 result
= (wxColour
*)& ((arg1
)->colBg
);
24462 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColour
, 0);
24469 static PyObject
* VisualAttributes_swigregister(PyObject
*, PyObject
*args
) {
24471 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24472 SWIG_TypeClientData(SWIGTYPE_p_wxVisualAttributes
, obj
);
24474 return Py_BuildValue((char *)"");
24476 static PyObject
*_wrap_new_Window(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24477 PyObject
*resultobj
;
24478 wxWindow
*arg1
= (wxWindow
*) 0 ;
24479 int arg2
= (int) (int)-1 ;
24480 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
24481 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
24482 wxSize
const &arg4_defvalue
= wxDefaultSize
;
24483 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
24484 long arg5
= (long) 0 ;
24485 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
24486 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
24490 bool temp6
= false ;
24491 PyObject
* obj0
= 0 ;
24492 PyObject
* obj1
= 0 ;
24493 PyObject
* obj2
= 0 ;
24494 PyObject
* obj3
= 0 ;
24495 PyObject
* obj4
= 0 ;
24496 PyObject
* obj5
= 0 ;
24497 char *kwnames
[] = {
24498 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
24501 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_Window",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
24502 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
24503 if (SWIG_arg_fail(1)) SWIG_fail
;
24506 arg2
= (int const)(SWIG_As_int(obj1
));
24507 if (SWIG_arg_fail(2)) SWIG_fail
;
24513 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
24519 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
24524 arg5
= (long)(SWIG_As_long(obj4
));
24525 if (SWIG_arg_fail(5)) SWIG_fail
;
24530 arg6
= wxString_in_helper(obj5
);
24531 if (arg6
== NULL
) SWIG_fail
;
24536 if (!wxPyCheckForApp()) SWIG_fail
;
24537 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24538 result
= (wxWindow
*)new wxWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
24540 wxPyEndAllowThreads(__tstate
);
24541 if (PyErr_Occurred()) SWIG_fail
;
24543 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxWindow
, 1);
24558 static PyObject
*_wrap_new_PreWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24559 PyObject
*resultobj
;
24561 char *kwnames
[] = {
24565 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreWindow",kwnames
)) goto fail
;
24567 if (!wxPyCheckForApp()) SWIG_fail
;
24568 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24569 result
= (wxWindow
*)new wxWindow();
24571 wxPyEndAllowThreads(__tstate
);
24572 if (PyErr_Occurred()) SWIG_fail
;
24574 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxWindow
, 1);
24581 static PyObject
*_wrap_Window_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24582 PyObject
*resultobj
;
24583 wxWindow
*arg1
= (wxWindow
*) 0 ;
24584 wxWindow
*arg2
= (wxWindow
*) 0 ;
24585 int arg3
= (int) (int)-1 ;
24586 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
24587 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
24588 wxSize
const &arg5_defvalue
= wxDefaultSize
;
24589 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
24590 long arg6
= (long) 0 ;
24591 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
24592 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
24596 bool temp7
= false ;
24597 PyObject
* obj0
= 0 ;
24598 PyObject
* obj1
= 0 ;
24599 PyObject
* obj2
= 0 ;
24600 PyObject
* obj3
= 0 ;
24601 PyObject
* obj4
= 0 ;
24602 PyObject
* obj5
= 0 ;
24603 PyObject
* obj6
= 0 ;
24604 char *kwnames
[] = {
24605 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
24608 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:Window_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
24609 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
24610 if (SWIG_arg_fail(1)) SWIG_fail
;
24611 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
24612 if (SWIG_arg_fail(2)) SWIG_fail
;
24615 arg3
= (int const)(SWIG_As_int(obj2
));
24616 if (SWIG_arg_fail(3)) SWIG_fail
;
24622 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
24628 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
24633 arg6
= (long)(SWIG_As_long(obj5
));
24634 if (SWIG_arg_fail(6)) SWIG_fail
;
24639 arg7
= wxString_in_helper(obj6
);
24640 if (arg7
== NULL
) SWIG_fail
;
24645 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24646 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
24648 wxPyEndAllowThreads(__tstate
);
24649 if (PyErr_Occurred()) SWIG_fail
;
24652 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24668 static PyObject
*_wrap_Window_Close(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24669 PyObject
*resultobj
;
24670 wxWindow
*arg1
= (wxWindow
*) 0 ;
24671 bool arg2
= (bool) false ;
24673 PyObject
* obj0
= 0 ;
24674 PyObject
* obj1
= 0 ;
24675 char *kwnames
[] = {
24676 (char *) "self",(char *) "force", NULL
24679 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_Close",kwnames
,&obj0
,&obj1
)) goto fail
;
24680 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
24681 if (SWIG_arg_fail(1)) SWIG_fail
;
24684 arg2
= (bool)(SWIG_As_bool(obj1
));
24685 if (SWIG_arg_fail(2)) SWIG_fail
;
24689 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24690 result
= (bool)(arg1
)->Close(arg2
);
24692 wxPyEndAllowThreads(__tstate
);
24693 if (PyErr_Occurred()) SWIG_fail
;
24696 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24704 static PyObject
*_wrap_Window_Destroy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24705 PyObject
*resultobj
;
24706 wxWindow
*arg1
= (wxWindow
*) 0 ;
24708 PyObject
* obj0
= 0 ;
24709 char *kwnames
[] = {
24710 (char *) "self", NULL
24713 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Destroy",kwnames
,&obj0
)) goto fail
;
24714 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
24715 if (SWIG_arg_fail(1)) SWIG_fail
;
24717 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24718 result
= (bool)(arg1
)->Destroy();
24720 wxPyEndAllowThreads(__tstate
);
24721 if (PyErr_Occurred()) SWIG_fail
;
24724 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24732 static PyObject
*_wrap_Window_DestroyChildren(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24733 PyObject
*resultobj
;
24734 wxWindow
*arg1
= (wxWindow
*) 0 ;
24736 PyObject
* obj0
= 0 ;
24737 char *kwnames
[] = {
24738 (char *) "self", NULL
24741 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_DestroyChildren",kwnames
,&obj0
)) goto fail
;
24742 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
24743 if (SWIG_arg_fail(1)) SWIG_fail
;
24745 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24746 result
= (bool)(arg1
)->DestroyChildren();
24748 wxPyEndAllowThreads(__tstate
);
24749 if (PyErr_Occurred()) SWIG_fail
;
24752 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24760 static PyObject
*_wrap_Window_IsBeingDeleted(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24761 PyObject
*resultobj
;
24762 wxWindow
*arg1
= (wxWindow
*) 0 ;
24764 PyObject
* obj0
= 0 ;
24765 char *kwnames
[] = {
24766 (char *) "self", NULL
24769 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_IsBeingDeleted",kwnames
,&obj0
)) goto fail
;
24770 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
24771 if (SWIG_arg_fail(1)) SWIG_fail
;
24773 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24774 result
= (bool)((wxWindow
const *)arg1
)->IsBeingDeleted();
24776 wxPyEndAllowThreads(__tstate
);
24777 if (PyErr_Occurred()) SWIG_fail
;
24780 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24788 static PyObject
*_wrap_Window_SetTitle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24789 PyObject
*resultobj
;
24790 wxWindow
*arg1
= (wxWindow
*) 0 ;
24791 wxString
*arg2
= 0 ;
24792 bool temp2
= false ;
24793 PyObject
* obj0
= 0 ;
24794 PyObject
* obj1
= 0 ;
24795 char *kwnames
[] = {
24796 (char *) "self",(char *) "title", NULL
24799 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetTitle",kwnames
,&obj0
,&obj1
)) goto fail
;
24800 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
24801 if (SWIG_arg_fail(1)) SWIG_fail
;
24803 arg2
= wxString_in_helper(obj1
);
24804 if (arg2
== NULL
) SWIG_fail
;
24808 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24809 (arg1
)->SetTitle((wxString
const &)*arg2
);
24811 wxPyEndAllowThreads(__tstate
);
24812 if (PyErr_Occurred()) SWIG_fail
;
24814 Py_INCREF(Py_None
); resultobj
= Py_None
;
24829 static PyObject
*_wrap_Window_GetTitle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24830 PyObject
*resultobj
;
24831 wxWindow
*arg1
= (wxWindow
*) 0 ;
24833 PyObject
* obj0
= 0 ;
24834 char *kwnames
[] = {
24835 (char *) "self", NULL
24838 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetTitle",kwnames
,&obj0
)) goto fail
;
24839 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
24840 if (SWIG_arg_fail(1)) SWIG_fail
;
24842 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24843 result
= ((wxWindow
const *)arg1
)->GetTitle();
24845 wxPyEndAllowThreads(__tstate
);
24846 if (PyErr_Occurred()) SWIG_fail
;
24850 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
24852 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
24861 static PyObject
*_wrap_Window_SetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24862 PyObject
*resultobj
;
24863 wxWindow
*arg1
= (wxWindow
*) 0 ;
24864 wxString
*arg2
= 0 ;
24865 bool temp2
= false ;
24866 PyObject
* obj0
= 0 ;
24867 PyObject
* obj1
= 0 ;
24868 char *kwnames
[] = {
24869 (char *) "self",(char *) "label", NULL
24872 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
24873 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
24874 if (SWIG_arg_fail(1)) SWIG_fail
;
24876 arg2
= wxString_in_helper(obj1
);
24877 if (arg2
== NULL
) SWIG_fail
;
24881 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24882 (arg1
)->SetLabel((wxString
const &)*arg2
);
24884 wxPyEndAllowThreads(__tstate
);
24885 if (PyErr_Occurred()) SWIG_fail
;
24887 Py_INCREF(Py_None
); resultobj
= Py_None
;
24902 static PyObject
*_wrap_Window_GetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24903 PyObject
*resultobj
;
24904 wxWindow
*arg1
= (wxWindow
*) 0 ;
24906 PyObject
* obj0
= 0 ;
24907 char *kwnames
[] = {
24908 (char *) "self", NULL
24911 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetLabel",kwnames
,&obj0
)) goto fail
;
24912 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
24913 if (SWIG_arg_fail(1)) SWIG_fail
;
24915 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24916 result
= ((wxWindow
const *)arg1
)->GetLabel();
24918 wxPyEndAllowThreads(__tstate
);
24919 if (PyErr_Occurred()) SWIG_fail
;
24923 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
24925 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
24934 static PyObject
*_wrap_Window_SetName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24935 PyObject
*resultobj
;
24936 wxWindow
*arg1
= (wxWindow
*) 0 ;
24937 wxString
*arg2
= 0 ;
24938 bool temp2
= false ;
24939 PyObject
* obj0
= 0 ;
24940 PyObject
* obj1
= 0 ;
24941 char *kwnames
[] = {
24942 (char *) "self",(char *) "name", NULL
24945 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetName",kwnames
,&obj0
,&obj1
)) goto fail
;
24946 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
24947 if (SWIG_arg_fail(1)) SWIG_fail
;
24949 arg2
= wxString_in_helper(obj1
);
24950 if (arg2
== NULL
) SWIG_fail
;
24954 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24955 (arg1
)->SetName((wxString
const &)*arg2
);
24957 wxPyEndAllowThreads(__tstate
);
24958 if (PyErr_Occurred()) SWIG_fail
;
24960 Py_INCREF(Py_None
); resultobj
= Py_None
;
24975 static PyObject
*_wrap_Window_GetName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24976 PyObject
*resultobj
;
24977 wxWindow
*arg1
= (wxWindow
*) 0 ;
24979 PyObject
* obj0
= 0 ;
24980 char *kwnames
[] = {
24981 (char *) "self", NULL
24984 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetName",kwnames
,&obj0
)) goto fail
;
24985 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
24986 if (SWIG_arg_fail(1)) SWIG_fail
;
24988 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24989 result
= ((wxWindow
const *)arg1
)->GetName();
24991 wxPyEndAllowThreads(__tstate
);
24992 if (PyErr_Occurred()) SWIG_fail
;
24996 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
24998 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
25007 static PyObject
*_wrap_Window_SetWindowVariant(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25008 PyObject
*resultobj
;
25009 wxWindow
*arg1
= (wxWindow
*) 0 ;
25010 wxWindowVariant arg2
;
25011 PyObject
* obj0
= 0 ;
25012 PyObject
* obj1
= 0 ;
25013 char *kwnames
[] = {
25014 (char *) "self",(char *) "variant", NULL
25017 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetWindowVariant",kwnames
,&obj0
,&obj1
)) goto fail
;
25018 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25019 if (SWIG_arg_fail(1)) SWIG_fail
;
25021 arg2
= (wxWindowVariant
)(SWIG_As_int(obj1
));
25022 if (SWIG_arg_fail(2)) SWIG_fail
;
25025 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25026 (arg1
)->SetWindowVariant((wxWindowVariant
)arg2
);
25028 wxPyEndAllowThreads(__tstate
);
25029 if (PyErr_Occurred()) SWIG_fail
;
25031 Py_INCREF(Py_None
); resultobj
= Py_None
;
25038 static PyObject
*_wrap_Window_GetWindowVariant(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25039 PyObject
*resultobj
;
25040 wxWindow
*arg1
= (wxWindow
*) 0 ;
25041 wxWindowVariant result
;
25042 PyObject
* obj0
= 0 ;
25043 char *kwnames
[] = {
25044 (char *) "self", NULL
25047 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetWindowVariant",kwnames
,&obj0
)) goto fail
;
25048 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25049 if (SWIG_arg_fail(1)) SWIG_fail
;
25051 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25052 result
= (wxWindowVariant
)((wxWindow
const *)arg1
)->GetWindowVariant();
25054 wxPyEndAllowThreads(__tstate
);
25055 if (PyErr_Occurred()) SWIG_fail
;
25057 resultobj
= SWIG_From_int((result
));
25064 static PyObject
*_wrap_Window_SetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25065 PyObject
*resultobj
;
25066 wxWindow
*arg1
= (wxWindow
*) 0 ;
25068 PyObject
* obj0
= 0 ;
25069 PyObject
* obj1
= 0 ;
25070 char *kwnames
[] = {
25071 (char *) "self",(char *) "winid", NULL
25074 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetId",kwnames
,&obj0
,&obj1
)) 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 arg2
= (int)(SWIG_As_int(obj1
));
25079 if (SWIG_arg_fail(2)) SWIG_fail
;
25082 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25083 (arg1
)->SetId(arg2
);
25085 wxPyEndAllowThreads(__tstate
);
25086 if (PyErr_Occurred()) SWIG_fail
;
25088 Py_INCREF(Py_None
); resultobj
= Py_None
;
25095 static PyObject
*_wrap_Window_GetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25096 PyObject
*resultobj
;
25097 wxWindow
*arg1
= (wxWindow
*) 0 ;
25099 PyObject
* obj0
= 0 ;
25100 char *kwnames
[] = {
25101 (char *) "self", NULL
25104 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetId",kwnames
,&obj0
)) goto fail
;
25105 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25106 if (SWIG_arg_fail(1)) SWIG_fail
;
25108 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25109 result
= (int)((wxWindow
const *)arg1
)->GetId();
25111 wxPyEndAllowThreads(__tstate
);
25112 if (PyErr_Occurred()) SWIG_fail
;
25115 resultobj
= SWIG_From_int((int)(result
));
25123 static PyObject
*_wrap_Window_NewControlId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25124 PyObject
*resultobj
;
25126 char *kwnames
[] = {
25130 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Window_NewControlId",kwnames
)) goto fail
;
25132 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25133 result
= (int)wxWindow::NewControlId();
25135 wxPyEndAllowThreads(__tstate
);
25136 if (PyErr_Occurred()) SWIG_fail
;
25139 resultobj
= SWIG_From_int((int)(result
));
25147 static PyObject
*_wrap_Window_NextControlId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25148 PyObject
*resultobj
;
25151 PyObject
* obj0
= 0 ;
25152 char *kwnames
[] = {
25153 (char *) "winid", NULL
25156 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_NextControlId",kwnames
,&obj0
)) goto fail
;
25158 arg1
= (int)(SWIG_As_int(obj0
));
25159 if (SWIG_arg_fail(1)) SWIG_fail
;
25162 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25163 result
= (int)wxWindow::NextControlId(arg1
);
25165 wxPyEndAllowThreads(__tstate
);
25166 if (PyErr_Occurred()) SWIG_fail
;
25169 resultobj
= SWIG_From_int((int)(result
));
25177 static PyObject
*_wrap_Window_PrevControlId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25178 PyObject
*resultobj
;
25181 PyObject
* obj0
= 0 ;
25182 char *kwnames
[] = {
25183 (char *) "winid", NULL
25186 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_PrevControlId",kwnames
,&obj0
)) goto fail
;
25188 arg1
= (int)(SWIG_As_int(obj0
));
25189 if (SWIG_arg_fail(1)) SWIG_fail
;
25192 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25193 result
= (int)wxWindow::PrevControlId(arg1
);
25195 wxPyEndAllowThreads(__tstate
);
25196 if (PyErr_Occurred()) SWIG_fail
;
25199 resultobj
= SWIG_From_int((int)(result
));
25207 static PyObject
*_wrap_Window_SetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25208 PyObject
*resultobj
;
25209 wxWindow
*arg1
= (wxWindow
*) 0 ;
25212 PyObject
* obj0
= 0 ;
25213 PyObject
* obj1
= 0 ;
25214 char *kwnames
[] = {
25215 (char *) "self",(char *) "size", NULL
25218 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetSize",kwnames
,&obj0
,&obj1
)) goto fail
;
25219 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25220 if (SWIG_arg_fail(1)) SWIG_fail
;
25223 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
25226 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25227 (arg1
)->SetSize((wxSize
const &)*arg2
);
25229 wxPyEndAllowThreads(__tstate
);
25230 if (PyErr_Occurred()) SWIG_fail
;
25232 Py_INCREF(Py_None
); resultobj
= Py_None
;
25239 static PyObject
*_wrap_Window_SetDimensions(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25240 PyObject
*resultobj
;
25241 wxWindow
*arg1
= (wxWindow
*) 0 ;
25246 int arg6
= (int) wxSIZE_AUTO
;
25247 PyObject
* obj0
= 0 ;
25248 PyObject
* obj1
= 0 ;
25249 PyObject
* obj2
= 0 ;
25250 PyObject
* obj3
= 0 ;
25251 PyObject
* obj4
= 0 ;
25252 PyObject
* obj5
= 0 ;
25253 char *kwnames
[] = {
25254 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
25257 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:Window_SetDimensions",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
25258 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25259 if (SWIG_arg_fail(1)) SWIG_fail
;
25261 arg2
= (int)(SWIG_As_int(obj1
));
25262 if (SWIG_arg_fail(2)) SWIG_fail
;
25265 arg3
= (int)(SWIG_As_int(obj2
));
25266 if (SWIG_arg_fail(3)) SWIG_fail
;
25269 arg4
= (int)(SWIG_As_int(obj3
));
25270 if (SWIG_arg_fail(4)) SWIG_fail
;
25273 arg5
= (int)(SWIG_As_int(obj4
));
25274 if (SWIG_arg_fail(5)) SWIG_fail
;
25278 arg6
= (int)(SWIG_As_int(obj5
));
25279 if (SWIG_arg_fail(6)) SWIG_fail
;
25283 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25284 (arg1
)->SetSize(arg2
,arg3
,arg4
,arg5
,arg6
);
25286 wxPyEndAllowThreads(__tstate
);
25287 if (PyErr_Occurred()) SWIG_fail
;
25289 Py_INCREF(Py_None
); resultobj
= Py_None
;
25296 static PyObject
*_wrap_Window_SetRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25297 PyObject
*resultobj
;
25298 wxWindow
*arg1
= (wxWindow
*) 0 ;
25300 int arg3
= (int) wxSIZE_AUTO
;
25302 PyObject
* obj0
= 0 ;
25303 PyObject
* obj1
= 0 ;
25304 PyObject
* obj2
= 0 ;
25305 char *kwnames
[] = {
25306 (char *) "self",(char *) "rect",(char *) "sizeFlags", NULL
25309 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_SetRect",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25310 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25311 if (SWIG_arg_fail(1)) SWIG_fail
;
25314 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
25318 arg3
= (int)(SWIG_As_int(obj2
));
25319 if (SWIG_arg_fail(3)) SWIG_fail
;
25323 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25324 (arg1
)->SetSize((wxRect
const &)*arg2
,arg3
);
25326 wxPyEndAllowThreads(__tstate
);
25327 if (PyErr_Occurred()) SWIG_fail
;
25329 Py_INCREF(Py_None
); resultobj
= Py_None
;
25336 static PyObject
*_wrap_Window_SetSizeWH(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25337 PyObject
*resultobj
;
25338 wxWindow
*arg1
= (wxWindow
*) 0 ;
25341 PyObject
* obj0
= 0 ;
25342 PyObject
* obj1
= 0 ;
25343 PyObject
* obj2
= 0 ;
25344 char *kwnames
[] = {
25345 (char *) "self",(char *) "width",(char *) "height", NULL
25348 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_SetSizeWH",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25349 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25350 if (SWIG_arg_fail(1)) SWIG_fail
;
25352 arg2
= (int)(SWIG_As_int(obj1
));
25353 if (SWIG_arg_fail(2)) SWIG_fail
;
25356 arg3
= (int)(SWIG_As_int(obj2
));
25357 if (SWIG_arg_fail(3)) SWIG_fail
;
25360 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25361 (arg1
)->SetSize(arg2
,arg3
);
25363 wxPyEndAllowThreads(__tstate
);
25364 if (PyErr_Occurred()) SWIG_fail
;
25366 Py_INCREF(Py_None
); resultobj
= Py_None
;
25373 static PyObject
*_wrap_Window_Move(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25374 PyObject
*resultobj
;
25375 wxWindow
*arg1
= (wxWindow
*) 0 ;
25376 wxPoint
*arg2
= 0 ;
25377 int arg3
= (int) wxSIZE_USE_EXISTING
;
25379 PyObject
* obj0
= 0 ;
25380 PyObject
* obj1
= 0 ;
25381 PyObject
* obj2
= 0 ;
25382 char *kwnames
[] = {
25383 (char *) "self",(char *) "pt",(char *) "flags", NULL
25386 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_Move",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25387 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25388 if (SWIG_arg_fail(1)) SWIG_fail
;
25391 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
25395 arg3
= (int)(SWIG_As_int(obj2
));
25396 if (SWIG_arg_fail(3)) SWIG_fail
;
25400 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25401 (arg1
)->Move((wxPoint
const &)*arg2
,arg3
);
25403 wxPyEndAllowThreads(__tstate
);
25404 if (PyErr_Occurred()) SWIG_fail
;
25406 Py_INCREF(Py_None
); resultobj
= Py_None
;
25413 static PyObject
*_wrap_Window_MoveXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25414 PyObject
*resultobj
;
25415 wxWindow
*arg1
= (wxWindow
*) 0 ;
25418 int arg4
= (int) wxSIZE_USE_EXISTING
;
25419 PyObject
* obj0
= 0 ;
25420 PyObject
* obj1
= 0 ;
25421 PyObject
* obj2
= 0 ;
25422 PyObject
* obj3
= 0 ;
25423 char *kwnames
[] = {
25424 (char *) "self",(char *) "x",(char *) "y",(char *) "flags", NULL
25427 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Window_MoveXY",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
25428 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25429 if (SWIG_arg_fail(1)) SWIG_fail
;
25431 arg2
= (int)(SWIG_As_int(obj1
));
25432 if (SWIG_arg_fail(2)) SWIG_fail
;
25435 arg3
= (int)(SWIG_As_int(obj2
));
25436 if (SWIG_arg_fail(3)) SWIG_fail
;
25440 arg4
= (int)(SWIG_As_int(obj3
));
25441 if (SWIG_arg_fail(4)) SWIG_fail
;
25445 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25446 (arg1
)->Move(arg2
,arg3
,arg4
);
25448 wxPyEndAllowThreads(__tstate
);
25449 if (PyErr_Occurred()) SWIG_fail
;
25451 Py_INCREF(Py_None
); resultobj
= Py_None
;
25458 static PyObject
*_wrap_Window_SetBestFittingSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25459 PyObject
*resultobj
;
25460 wxWindow
*arg1
= (wxWindow
*) 0 ;
25461 wxSize
const &arg2_defvalue
= wxDefaultSize
;
25462 wxSize
*arg2
= (wxSize
*) &arg2_defvalue
;
25464 PyObject
* obj0
= 0 ;
25465 PyObject
* obj1
= 0 ;
25466 char *kwnames
[] = {
25467 (char *) "self",(char *) "size", NULL
25470 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_SetBestFittingSize",kwnames
,&obj0
,&obj1
)) goto fail
;
25471 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25472 if (SWIG_arg_fail(1)) SWIG_fail
;
25476 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
25480 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25481 (arg1
)->SetBestFittingSize((wxSize
const &)*arg2
);
25483 wxPyEndAllowThreads(__tstate
);
25484 if (PyErr_Occurred()) SWIG_fail
;
25486 Py_INCREF(Py_None
); resultobj
= Py_None
;
25493 static PyObject
*_wrap_Window_Raise(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25494 PyObject
*resultobj
;
25495 wxWindow
*arg1
= (wxWindow
*) 0 ;
25496 PyObject
* obj0
= 0 ;
25497 char *kwnames
[] = {
25498 (char *) "self", NULL
25501 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Raise",kwnames
,&obj0
)) goto fail
;
25502 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25503 if (SWIG_arg_fail(1)) SWIG_fail
;
25505 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25508 wxPyEndAllowThreads(__tstate
);
25509 if (PyErr_Occurred()) SWIG_fail
;
25511 Py_INCREF(Py_None
); resultobj
= Py_None
;
25518 static PyObject
*_wrap_Window_Lower(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25519 PyObject
*resultobj
;
25520 wxWindow
*arg1
= (wxWindow
*) 0 ;
25521 PyObject
* obj0
= 0 ;
25522 char *kwnames
[] = {
25523 (char *) "self", NULL
25526 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Lower",kwnames
,&obj0
)) goto fail
;
25527 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25528 if (SWIG_arg_fail(1)) SWIG_fail
;
25530 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25533 wxPyEndAllowThreads(__tstate
);
25534 if (PyErr_Occurred()) SWIG_fail
;
25536 Py_INCREF(Py_None
); resultobj
= Py_None
;
25543 static PyObject
*_wrap_Window_SetClientSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25544 PyObject
*resultobj
;
25545 wxWindow
*arg1
= (wxWindow
*) 0 ;
25548 PyObject
* obj0
= 0 ;
25549 PyObject
* obj1
= 0 ;
25550 char *kwnames
[] = {
25551 (char *) "self",(char *) "size", NULL
25554 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetClientSize",kwnames
,&obj0
,&obj1
)) goto fail
;
25555 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25556 if (SWIG_arg_fail(1)) SWIG_fail
;
25559 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
25562 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25563 (arg1
)->SetClientSize((wxSize
const &)*arg2
);
25565 wxPyEndAllowThreads(__tstate
);
25566 if (PyErr_Occurred()) SWIG_fail
;
25568 Py_INCREF(Py_None
); resultobj
= Py_None
;
25575 static PyObject
*_wrap_Window_SetClientSizeWH(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25576 PyObject
*resultobj
;
25577 wxWindow
*arg1
= (wxWindow
*) 0 ;
25580 PyObject
* obj0
= 0 ;
25581 PyObject
* obj1
= 0 ;
25582 PyObject
* obj2
= 0 ;
25583 char *kwnames
[] = {
25584 (char *) "self",(char *) "width",(char *) "height", NULL
25587 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_SetClientSizeWH",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25588 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25589 if (SWIG_arg_fail(1)) SWIG_fail
;
25591 arg2
= (int)(SWIG_As_int(obj1
));
25592 if (SWIG_arg_fail(2)) SWIG_fail
;
25595 arg3
= (int)(SWIG_As_int(obj2
));
25596 if (SWIG_arg_fail(3)) SWIG_fail
;
25599 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25600 (arg1
)->SetClientSize(arg2
,arg3
);
25602 wxPyEndAllowThreads(__tstate
);
25603 if (PyErr_Occurred()) SWIG_fail
;
25605 Py_INCREF(Py_None
); resultobj
= Py_None
;
25612 static PyObject
*_wrap_Window_SetClientRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25613 PyObject
*resultobj
;
25614 wxWindow
*arg1
= (wxWindow
*) 0 ;
25617 PyObject
* obj0
= 0 ;
25618 PyObject
* obj1
= 0 ;
25619 char *kwnames
[] = {
25620 (char *) "self",(char *) "rect", NULL
25623 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetClientRect",kwnames
,&obj0
,&obj1
)) goto fail
;
25624 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25625 if (SWIG_arg_fail(1)) SWIG_fail
;
25628 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
25631 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25632 (arg1
)->SetClientSize((wxRect
const &)*arg2
);
25634 wxPyEndAllowThreads(__tstate
);
25635 if (PyErr_Occurred()) SWIG_fail
;
25637 Py_INCREF(Py_None
); resultobj
= Py_None
;
25644 static PyObject
*_wrap_Window_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25645 PyObject
*resultobj
;
25646 wxWindow
*arg1
= (wxWindow
*) 0 ;
25648 PyObject
* obj0
= 0 ;
25649 char *kwnames
[] = {
25650 (char *) "self", NULL
25653 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetPosition",kwnames
,&obj0
)) goto fail
;
25654 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25655 if (SWIG_arg_fail(1)) SWIG_fail
;
25657 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25658 result
= (arg1
)->GetPosition();
25660 wxPyEndAllowThreads(__tstate
);
25661 if (PyErr_Occurred()) SWIG_fail
;
25664 wxPoint
* resultptr
;
25665 resultptr
= new wxPoint((wxPoint
&)(result
));
25666 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
25674 static PyObject
*_wrap_Window_GetPositionTuple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25675 PyObject
*resultobj
;
25676 wxWindow
*arg1
= (wxWindow
*) 0 ;
25677 int *arg2
= (int *) 0 ;
25678 int *arg3
= (int *) 0 ;
25683 PyObject
* obj0
= 0 ;
25684 char *kwnames
[] = {
25685 (char *) "self", NULL
25688 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
25689 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
25690 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetPositionTuple",kwnames
,&obj0
)) goto fail
;
25691 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25692 if (SWIG_arg_fail(1)) SWIG_fail
;
25694 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25695 (arg1
)->GetPosition(arg2
,arg3
);
25697 wxPyEndAllowThreads(__tstate
);
25698 if (PyErr_Occurred()) SWIG_fail
;
25700 Py_INCREF(Py_None
); resultobj
= Py_None
;
25701 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
25702 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
25703 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
25704 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
25711 static PyObject
*_wrap_Window_GetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25712 PyObject
*resultobj
;
25713 wxWindow
*arg1
= (wxWindow
*) 0 ;
25715 PyObject
* obj0
= 0 ;
25716 char *kwnames
[] = {
25717 (char *) "self", NULL
25720 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetSize",kwnames
,&obj0
)) goto fail
;
25721 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25722 if (SWIG_arg_fail(1)) SWIG_fail
;
25724 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25725 result
= ((wxWindow
const *)arg1
)->GetSize();
25727 wxPyEndAllowThreads(__tstate
);
25728 if (PyErr_Occurred()) SWIG_fail
;
25731 wxSize
* resultptr
;
25732 resultptr
= new wxSize((wxSize
&)(result
));
25733 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
25741 static PyObject
*_wrap_Window_GetSizeTuple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25742 PyObject
*resultobj
;
25743 wxWindow
*arg1
= (wxWindow
*) 0 ;
25744 int *arg2
= (int *) 0 ;
25745 int *arg3
= (int *) 0 ;
25750 PyObject
* obj0
= 0 ;
25751 char *kwnames
[] = {
25752 (char *) "self", NULL
25755 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
25756 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
25757 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetSizeTuple",kwnames
,&obj0
)) goto fail
;
25758 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25759 if (SWIG_arg_fail(1)) SWIG_fail
;
25761 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25762 ((wxWindow
const *)arg1
)->GetSize(arg2
,arg3
);
25764 wxPyEndAllowThreads(__tstate
);
25765 if (PyErr_Occurred()) SWIG_fail
;
25767 Py_INCREF(Py_None
); resultobj
= Py_None
;
25768 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
25769 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
25770 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
25771 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
25778 static PyObject
*_wrap_Window_GetRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25779 PyObject
*resultobj
;
25780 wxWindow
*arg1
= (wxWindow
*) 0 ;
25782 PyObject
* obj0
= 0 ;
25783 char *kwnames
[] = {
25784 (char *) "self", NULL
25787 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetRect",kwnames
,&obj0
)) goto fail
;
25788 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25789 if (SWIG_arg_fail(1)) SWIG_fail
;
25791 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25792 result
= ((wxWindow
const *)arg1
)->GetRect();
25794 wxPyEndAllowThreads(__tstate
);
25795 if (PyErr_Occurred()) SWIG_fail
;
25798 wxRect
* resultptr
;
25799 resultptr
= new wxRect((wxRect
&)(result
));
25800 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
25808 static PyObject
*_wrap_Window_GetClientSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25809 PyObject
*resultobj
;
25810 wxWindow
*arg1
= (wxWindow
*) 0 ;
25812 PyObject
* obj0
= 0 ;
25813 char *kwnames
[] = {
25814 (char *) "self", NULL
25817 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetClientSize",kwnames
,&obj0
)) goto fail
;
25818 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25819 if (SWIG_arg_fail(1)) SWIG_fail
;
25821 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25822 result
= ((wxWindow
const *)arg1
)->GetClientSize();
25824 wxPyEndAllowThreads(__tstate
);
25825 if (PyErr_Occurred()) SWIG_fail
;
25828 wxSize
* resultptr
;
25829 resultptr
= new wxSize((wxSize
&)(result
));
25830 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
25838 static PyObject
*_wrap_Window_GetClientSizeTuple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25839 PyObject
*resultobj
;
25840 wxWindow
*arg1
= (wxWindow
*) 0 ;
25841 int *arg2
= (int *) 0 ;
25842 int *arg3
= (int *) 0 ;
25847 PyObject
* obj0
= 0 ;
25848 char *kwnames
[] = {
25849 (char *) "self", NULL
25852 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
25853 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
25854 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetClientSizeTuple",kwnames
,&obj0
)) goto fail
;
25855 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25856 if (SWIG_arg_fail(1)) SWIG_fail
;
25858 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25859 ((wxWindow
const *)arg1
)->GetClientSize(arg2
,arg3
);
25861 wxPyEndAllowThreads(__tstate
);
25862 if (PyErr_Occurred()) SWIG_fail
;
25864 Py_INCREF(Py_None
); resultobj
= Py_None
;
25865 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
25866 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
25867 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
25868 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
25875 static PyObject
*_wrap_Window_GetClientAreaOrigin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25876 PyObject
*resultobj
;
25877 wxWindow
*arg1
= (wxWindow
*) 0 ;
25879 PyObject
* obj0
= 0 ;
25880 char *kwnames
[] = {
25881 (char *) "self", NULL
25884 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetClientAreaOrigin",kwnames
,&obj0
)) goto fail
;
25885 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25886 if (SWIG_arg_fail(1)) SWIG_fail
;
25888 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25889 result
= ((wxWindow
const *)arg1
)->GetClientAreaOrigin();
25891 wxPyEndAllowThreads(__tstate
);
25892 if (PyErr_Occurred()) SWIG_fail
;
25895 wxPoint
* resultptr
;
25896 resultptr
= new wxPoint((wxPoint
&)(result
));
25897 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
25905 static PyObject
*_wrap_Window_GetClientRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25906 PyObject
*resultobj
;
25907 wxWindow
*arg1
= (wxWindow
*) 0 ;
25909 PyObject
* obj0
= 0 ;
25910 char *kwnames
[] = {
25911 (char *) "self", NULL
25914 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetClientRect",kwnames
,&obj0
)) goto fail
;
25915 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25916 if (SWIG_arg_fail(1)) SWIG_fail
;
25918 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25919 result
= ((wxWindow
const *)arg1
)->GetClientRect();
25921 wxPyEndAllowThreads(__tstate
);
25922 if (PyErr_Occurred()) SWIG_fail
;
25925 wxRect
* resultptr
;
25926 resultptr
= new wxRect((wxRect
&)(result
));
25927 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
25935 static PyObject
*_wrap_Window_GetBestSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25936 PyObject
*resultobj
;
25937 wxWindow
*arg1
= (wxWindow
*) 0 ;
25939 PyObject
* obj0
= 0 ;
25940 char *kwnames
[] = {
25941 (char *) "self", NULL
25944 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetBestSize",kwnames
,&obj0
)) goto fail
;
25945 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25946 if (SWIG_arg_fail(1)) SWIG_fail
;
25948 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25949 result
= ((wxWindow
const *)arg1
)->GetBestSize();
25951 wxPyEndAllowThreads(__tstate
);
25952 if (PyErr_Occurred()) SWIG_fail
;
25955 wxSize
* resultptr
;
25956 resultptr
= new wxSize((wxSize
&)(result
));
25957 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
25965 static PyObject
*_wrap_Window_GetBestSizeTuple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25966 PyObject
*resultobj
;
25967 wxWindow
*arg1
= (wxWindow
*) 0 ;
25968 int *arg2
= (int *) 0 ;
25969 int *arg3
= (int *) 0 ;
25974 PyObject
* obj0
= 0 ;
25975 char *kwnames
[] = {
25976 (char *) "self", NULL
25979 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
25980 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
25981 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetBestSizeTuple",kwnames
,&obj0
)) goto fail
;
25982 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25983 if (SWIG_arg_fail(1)) SWIG_fail
;
25985 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25986 ((wxWindow
const *)arg1
)->GetBestSize(arg2
,arg3
);
25988 wxPyEndAllowThreads(__tstate
);
25989 if (PyErr_Occurred()) SWIG_fail
;
25991 Py_INCREF(Py_None
); resultobj
= Py_None
;
25992 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
25993 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
25994 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
25995 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
26002 static PyObject
*_wrap_Window_InvalidateBestSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26003 PyObject
*resultobj
;
26004 wxWindow
*arg1
= (wxWindow
*) 0 ;
26005 PyObject
* obj0
= 0 ;
26006 char *kwnames
[] = {
26007 (char *) "self", NULL
26010 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_InvalidateBestSize",kwnames
,&obj0
)) goto fail
;
26011 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26012 if (SWIG_arg_fail(1)) SWIG_fail
;
26014 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26015 (arg1
)->InvalidateBestSize();
26017 wxPyEndAllowThreads(__tstate
);
26018 if (PyErr_Occurred()) SWIG_fail
;
26020 Py_INCREF(Py_None
); resultobj
= Py_None
;
26027 static PyObject
*_wrap_Window_GetBestFittingSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26028 PyObject
*resultobj
;
26029 wxWindow
*arg1
= (wxWindow
*) 0 ;
26031 PyObject
* obj0
= 0 ;
26032 char *kwnames
[] = {
26033 (char *) "self", NULL
26036 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetBestFittingSize",kwnames
,&obj0
)) goto fail
;
26037 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26038 if (SWIG_arg_fail(1)) SWIG_fail
;
26040 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26041 result
= ((wxWindow
const *)arg1
)->GetBestFittingSize();
26043 wxPyEndAllowThreads(__tstate
);
26044 if (PyErr_Occurred()) SWIG_fail
;
26047 wxSize
* resultptr
;
26048 resultptr
= new wxSize((wxSize
&)(result
));
26049 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
26057 static PyObject
*_wrap_Window_GetAdjustedBestSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26058 PyObject
*resultobj
;
26059 wxWindow
*arg1
= (wxWindow
*) 0 ;
26061 PyObject
* obj0
= 0 ;
26062 char *kwnames
[] = {
26063 (char *) "self", NULL
26066 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetAdjustedBestSize",kwnames
,&obj0
)) goto fail
;
26067 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26068 if (SWIG_arg_fail(1)) SWIG_fail
;
26070 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26071 result
= ((wxWindow
const *)arg1
)->GetAdjustedBestSize();
26073 wxPyEndAllowThreads(__tstate
);
26074 if (PyErr_Occurred()) SWIG_fail
;
26077 wxSize
* resultptr
;
26078 resultptr
= new wxSize((wxSize
&)(result
));
26079 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
26087 static PyObject
*_wrap_Window_Center(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26088 PyObject
*resultobj
;
26089 wxWindow
*arg1
= (wxWindow
*) 0 ;
26090 int arg2
= (int) wxBOTH
;
26091 PyObject
* obj0
= 0 ;
26092 PyObject
* obj1
= 0 ;
26093 char *kwnames
[] = {
26094 (char *) "self",(char *) "direction", NULL
26097 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_Center",kwnames
,&obj0
,&obj1
)) goto fail
;
26098 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26099 if (SWIG_arg_fail(1)) SWIG_fail
;
26102 arg2
= (int)(SWIG_As_int(obj1
));
26103 if (SWIG_arg_fail(2)) SWIG_fail
;
26107 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26108 (arg1
)->Center(arg2
);
26110 wxPyEndAllowThreads(__tstate
);
26111 if (PyErr_Occurred()) SWIG_fail
;
26113 Py_INCREF(Py_None
); resultobj
= Py_None
;
26120 static PyObject
*_wrap_Window_CenterOnScreen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26121 PyObject
*resultobj
;
26122 wxWindow
*arg1
= (wxWindow
*) 0 ;
26123 int arg2
= (int) wxBOTH
;
26124 PyObject
* obj0
= 0 ;
26125 PyObject
* obj1
= 0 ;
26126 char *kwnames
[] = {
26127 (char *) "self",(char *) "dir", NULL
26130 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_CenterOnScreen",kwnames
,&obj0
,&obj1
)) goto fail
;
26131 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26132 if (SWIG_arg_fail(1)) SWIG_fail
;
26135 arg2
= (int)(SWIG_As_int(obj1
));
26136 if (SWIG_arg_fail(2)) SWIG_fail
;
26140 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26141 (arg1
)->CenterOnScreen(arg2
);
26143 wxPyEndAllowThreads(__tstate
);
26144 if (PyErr_Occurred()) SWIG_fail
;
26146 Py_INCREF(Py_None
); resultobj
= Py_None
;
26153 static PyObject
*_wrap_Window_CenterOnParent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26154 PyObject
*resultobj
;
26155 wxWindow
*arg1
= (wxWindow
*) 0 ;
26156 int arg2
= (int) wxBOTH
;
26157 PyObject
* obj0
= 0 ;
26158 PyObject
* obj1
= 0 ;
26159 char *kwnames
[] = {
26160 (char *) "self",(char *) "dir", NULL
26163 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_CenterOnParent",kwnames
,&obj0
,&obj1
)) goto fail
;
26164 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26165 if (SWIG_arg_fail(1)) SWIG_fail
;
26168 arg2
= (int)(SWIG_As_int(obj1
));
26169 if (SWIG_arg_fail(2)) SWIG_fail
;
26173 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26174 (arg1
)->CenterOnParent(arg2
);
26176 wxPyEndAllowThreads(__tstate
);
26177 if (PyErr_Occurred()) SWIG_fail
;
26179 Py_INCREF(Py_None
); resultobj
= Py_None
;
26186 static PyObject
*_wrap_Window_Fit(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26187 PyObject
*resultobj
;
26188 wxWindow
*arg1
= (wxWindow
*) 0 ;
26189 PyObject
* obj0
= 0 ;
26190 char *kwnames
[] = {
26191 (char *) "self", NULL
26194 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Fit",kwnames
,&obj0
)) goto fail
;
26195 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26196 if (SWIG_arg_fail(1)) SWIG_fail
;
26198 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26201 wxPyEndAllowThreads(__tstate
);
26202 if (PyErr_Occurred()) SWIG_fail
;
26204 Py_INCREF(Py_None
); resultobj
= Py_None
;
26211 static PyObject
*_wrap_Window_FitInside(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26212 PyObject
*resultobj
;
26213 wxWindow
*arg1
= (wxWindow
*) 0 ;
26214 PyObject
* obj0
= 0 ;
26215 char *kwnames
[] = {
26216 (char *) "self", NULL
26219 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_FitInside",kwnames
,&obj0
)) goto fail
;
26220 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26221 if (SWIG_arg_fail(1)) SWIG_fail
;
26223 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26224 (arg1
)->FitInside();
26226 wxPyEndAllowThreads(__tstate
);
26227 if (PyErr_Occurred()) SWIG_fail
;
26229 Py_INCREF(Py_None
); resultobj
= Py_None
;
26236 static PyObject
*_wrap_Window_SetSizeHints(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26237 PyObject
*resultobj
;
26238 wxWindow
*arg1
= (wxWindow
*) 0 ;
26241 int arg4
= (int) -1 ;
26242 int arg5
= (int) -1 ;
26243 int arg6
= (int) -1 ;
26244 int arg7
= (int) -1 ;
26245 PyObject
* obj0
= 0 ;
26246 PyObject
* obj1
= 0 ;
26247 PyObject
* obj2
= 0 ;
26248 PyObject
* obj3
= 0 ;
26249 PyObject
* obj4
= 0 ;
26250 PyObject
* obj5
= 0 ;
26251 PyObject
* obj6
= 0 ;
26252 char *kwnames
[] = {
26253 (char *) "self",(char *) "minW",(char *) "minH",(char *) "maxW",(char *) "maxH",(char *) "incW",(char *) "incH", NULL
26256 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:Window_SetSizeHints",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
26257 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26258 if (SWIG_arg_fail(1)) SWIG_fail
;
26260 arg2
= (int)(SWIG_As_int(obj1
));
26261 if (SWIG_arg_fail(2)) SWIG_fail
;
26264 arg3
= (int)(SWIG_As_int(obj2
));
26265 if (SWIG_arg_fail(3)) SWIG_fail
;
26269 arg4
= (int)(SWIG_As_int(obj3
));
26270 if (SWIG_arg_fail(4)) SWIG_fail
;
26275 arg5
= (int)(SWIG_As_int(obj4
));
26276 if (SWIG_arg_fail(5)) SWIG_fail
;
26281 arg6
= (int)(SWIG_As_int(obj5
));
26282 if (SWIG_arg_fail(6)) SWIG_fail
;
26287 arg7
= (int)(SWIG_As_int(obj6
));
26288 if (SWIG_arg_fail(7)) SWIG_fail
;
26292 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26293 (arg1
)->SetSizeHints(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
26295 wxPyEndAllowThreads(__tstate
);
26296 if (PyErr_Occurred()) SWIG_fail
;
26298 Py_INCREF(Py_None
); resultobj
= Py_None
;
26305 static PyObject
*_wrap_Window_SetSizeHintsSz(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26306 PyObject
*resultobj
;
26307 wxWindow
*arg1
= (wxWindow
*) 0 ;
26309 wxSize
const &arg3_defvalue
= wxDefaultSize
;
26310 wxSize
*arg3
= (wxSize
*) &arg3_defvalue
;
26311 wxSize
const &arg4_defvalue
= wxDefaultSize
;
26312 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
26316 PyObject
* obj0
= 0 ;
26317 PyObject
* obj1
= 0 ;
26318 PyObject
* obj2
= 0 ;
26319 PyObject
* obj3
= 0 ;
26320 char *kwnames
[] = {
26321 (char *) "self",(char *) "minSize",(char *) "maxSize",(char *) "incSize", NULL
26324 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:Window_SetSizeHintsSz",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
26325 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26326 if (SWIG_arg_fail(1)) SWIG_fail
;
26329 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
26334 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
26340 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
26344 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26345 (arg1
)->SetSizeHints((wxSize
const &)*arg2
,(wxSize
const &)*arg3
,(wxSize
const &)*arg4
);
26347 wxPyEndAllowThreads(__tstate
);
26348 if (PyErr_Occurred()) SWIG_fail
;
26350 Py_INCREF(Py_None
); resultobj
= Py_None
;
26357 static PyObject
*_wrap_Window_SetVirtualSizeHints(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26358 PyObject
*resultobj
;
26359 wxWindow
*arg1
= (wxWindow
*) 0 ;
26362 int arg4
= (int) -1 ;
26363 int arg5
= (int) -1 ;
26364 PyObject
* obj0
= 0 ;
26365 PyObject
* obj1
= 0 ;
26366 PyObject
* obj2
= 0 ;
26367 PyObject
* obj3
= 0 ;
26368 PyObject
* obj4
= 0 ;
26369 char *kwnames
[] = {
26370 (char *) "self",(char *) "minW",(char *) "minH",(char *) "maxW",(char *) "maxH", NULL
26373 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:Window_SetVirtualSizeHints",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
26374 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26375 if (SWIG_arg_fail(1)) SWIG_fail
;
26377 arg2
= (int)(SWIG_As_int(obj1
));
26378 if (SWIG_arg_fail(2)) SWIG_fail
;
26381 arg3
= (int)(SWIG_As_int(obj2
));
26382 if (SWIG_arg_fail(3)) SWIG_fail
;
26386 arg4
= (int)(SWIG_As_int(obj3
));
26387 if (SWIG_arg_fail(4)) SWIG_fail
;
26392 arg5
= (int)(SWIG_As_int(obj4
));
26393 if (SWIG_arg_fail(5)) SWIG_fail
;
26397 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26398 (arg1
)->SetVirtualSizeHints(arg2
,arg3
,arg4
,arg5
);
26400 wxPyEndAllowThreads(__tstate
);
26401 if (PyErr_Occurred()) SWIG_fail
;
26403 Py_INCREF(Py_None
); resultobj
= Py_None
;
26410 static PyObject
*_wrap_Window_SetVirtualSizeHintsSz(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26411 PyObject
*resultobj
;
26412 wxWindow
*arg1
= (wxWindow
*) 0 ;
26414 wxSize
const &arg3_defvalue
= wxDefaultSize
;
26415 wxSize
*arg3
= (wxSize
*) &arg3_defvalue
;
26418 PyObject
* obj0
= 0 ;
26419 PyObject
* obj1
= 0 ;
26420 PyObject
* obj2
= 0 ;
26421 char *kwnames
[] = {
26422 (char *) "self",(char *) "minSize",(char *) "maxSize", NULL
26425 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_SetVirtualSizeHintsSz",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26426 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26427 if (SWIG_arg_fail(1)) SWIG_fail
;
26430 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
26435 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
26439 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26440 (arg1
)->SetVirtualSizeHints((wxSize
const &)*arg2
,(wxSize
const &)*arg3
);
26442 wxPyEndAllowThreads(__tstate
);
26443 if (PyErr_Occurred()) SWIG_fail
;
26445 Py_INCREF(Py_None
); resultobj
= Py_None
;
26452 static PyObject
*_wrap_Window_GetMaxSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26453 PyObject
*resultobj
;
26454 wxWindow
*arg1
= (wxWindow
*) 0 ;
26456 PyObject
* obj0
= 0 ;
26457 char *kwnames
[] = {
26458 (char *) "self", NULL
26461 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetMaxSize",kwnames
,&obj0
)) goto fail
;
26462 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26463 if (SWIG_arg_fail(1)) SWIG_fail
;
26465 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26466 result
= ((wxWindow
const *)arg1
)->GetMaxSize();
26468 wxPyEndAllowThreads(__tstate
);
26469 if (PyErr_Occurred()) SWIG_fail
;
26472 wxSize
* resultptr
;
26473 resultptr
= new wxSize((wxSize
&)(result
));
26474 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
26482 static PyObject
*_wrap_Window_GetMinSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26483 PyObject
*resultobj
;
26484 wxWindow
*arg1
= (wxWindow
*) 0 ;
26486 PyObject
* obj0
= 0 ;
26487 char *kwnames
[] = {
26488 (char *) "self", NULL
26491 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetMinSize",kwnames
,&obj0
)) goto fail
;
26492 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26493 if (SWIG_arg_fail(1)) SWIG_fail
;
26495 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26496 result
= ((wxWindow
const *)arg1
)->GetMinSize();
26498 wxPyEndAllowThreads(__tstate
);
26499 if (PyErr_Occurred()) SWIG_fail
;
26502 wxSize
* resultptr
;
26503 resultptr
= new wxSize((wxSize
&)(result
));
26504 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
26512 static PyObject
*_wrap_Window_SetMinSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26513 PyObject
*resultobj
;
26514 wxWindow
*arg1
= (wxWindow
*) 0 ;
26517 PyObject
* obj0
= 0 ;
26518 PyObject
* obj1
= 0 ;
26519 char *kwnames
[] = {
26520 (char *) "self",(char *) "minSize", NULL
26523 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetMinSize",kwnames
,&obj0
,&obj1
)) goto fail
;
26524 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26525 if (SWIG_arg_fail(1)) SWIG_fail
;
26528 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
26531 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26532 (arg1
)->SetMinSize((wxSize
const &)*arg2
);
26534 wxPyEndAllowThreads(__tstate
);
26535 if (PyErr_Occurred()) SWIG_fail
;
26537 Py_INCREF(Py_None
); resultobj
= Py_None
;
26544 static PyObject
*_wrap_Window_SetMaxSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26545 PyObject
*resultobj
;
26546 wxWindow
*arg1
= (wxWindow
*) 0 ;
26549 PyObject
* obj0
= 0 ;
26550 PyObject
* obj1
= 0 ;
26551 char *kwnames
[] = {
26552 (char *) "self",(char *) "maxSize", NULL
26555 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetMaxSize",kwnames
,&obj0
,&obj1
)) goto fail
;
26556 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26557 if (SWIG_arg_fail(1)) SWIG_fail
;
26560 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
26563 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26564 (arg1
)->SetMaxSize((wxSize
const &)*arg2
);
26566 wxPyEndAllowThreads(__tstate
);
26567 if (PyErr_Occurred()) SWIG_fail
;
26569 Py_INCREF(Py_None
); resultobj
= Py_None
;
26576 static PyObject
*_wrap_Window_GetMinWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26577 PyObject
*resultobj
;
26578 wxWindow
*arg1
= (wxWindow
*) 0 ;
26580 PyObject
* obj0
= 0 ;
26581 char *kwnames
[] = {
26582 (char *) "self", NULL
26585 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetMinWidth",kwnames
,&obj0
)) goto fail
;
26586 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26587 if (SWIG_arg_fail(1)) SWIG_fail
;
26589 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26590 result
= (int)((wxWindow
const *)arg1
)->GetMinWidth();
26592 wxPyEndAllowThreads(__tstate
);
26593 if (PyErr_Occurred()) SWIG_fail
;
26596 resultobj
= SWIG_From_int((int)(result
));
26604 static PyObject
*_wrap_Window_GetMinHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26605 PyObject
*resultobj
;
26606 wxWindow
*arg1
= (wxWindow
*) 0 ;
26608 PyObject
* obj0
= 0 ;
26609 char *kwnames
[] = {
26610 (char *) "self", NULL
26613 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetMinHeight",kwnames
,&obj0
)) goto fail
;
26614 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26615 if (SWIG_arg_fail(1)) SWIG_fail
;
26617 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26618 result
= (int)((wxWindow
const *)arg1
)->GetMinHeight();
26620 wxPyEndAllowThreads(__tstate
);
26621 if (PyErr_Occurred()) SWIG_fail
;
26624 resultobj
= SWIG_From_int((int)(result
));
26632 static PyObject
*_wrap_Window_GetMaxWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26633 PyObject
*resultobj
;
26634 wxWindow
*arg1
= (wxWindow
*) 0 ;
26636 PyObject
* obj0
= 0 ;
26637 char *kwnames
[] = {
26638 (char *) "self", NULL
26641 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetMaxWidth",kwnames
,&obj0
)) goto fail
;
26642 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26643 if (SWIG_arg_fail(1)) SWIG_fail
;
26645 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26646 result
= (int)((wxWindow
const *)arg1
)->GetMaxWidth();
26648 wxPyEndAllowThreads(__tstate
);
26649 if (PyErr_Occurred()) SWIG_fail
;
26652 resultobj
= SWIG_From_int((int)(result
));
26660 static PyObject
*_wrap_Window_GetMaxHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26661 PyObject
*resultobj
;
26662 wxWindow
*arg1
= (wxWindow
*) 0 ;
26664 PyObject
* obj0
= 0 ;
26665 char *kwnames
[] = {
26666 (char *) "self", NULL
26669 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetMaxHeight",kwnames
,&obj0
)) goto fail
;
26670 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26671 if (SWIG_arg_fail(1)) SWIG_fail
;
26673 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26674 result
= (int)((wxWindow
const *)arg1
)->GetMaxHeight();
26676 wxPyEndAllowThreads(__tstate
);
26677 if (PyErr_Occurred()) SWIG_fail
;
26680 resultobj
= SWIG_From_int((int)(result
));
26688 static PyObject
*_wrap_Window_SetVirtualSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26689 PyObject
*resultobj
;
26690 wxWindow
*arg1
= (wxWindow
*) 0 ;
26693 PyObject
* obj0
= 0 ;
26694 PyObject
* obj1
= 0 ;
26695 char *kwnames
[] = {
26696 (char *) "self",(char *) "size", NULL
26699 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetVirtualSize",kwnames
,&obj0
,&obj1
)) goto fail
;
26700 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26701 if (SWIG_arg_fail(1)) SWIG_fail
;
26704 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
26707 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26708 (arg1
)->SetVirtualSize((wxSize
const &)*arg2
);
26710 wxPyEndAllowThreads(__tstate
);
26711 if (PyErr_Occurred()) SWIG_fail
;
26713 Py_INCREF(Py_None
); resultobj
= Py_None
;
26720 static PyObject
*_wrap_Window_SetVirtualSizeWH(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26721 PyObject
*resultobj
;
26722 wxWindow
*arg1
= (wxWindow
*) 0 ;
26725 PyObject
* obj0
= 0 ;
26726 PyObject
* obj1
= 0 ;
26727 PyObject
* obj2
= 0 ;
26728 char *kwnames
[] = {
26729 (char *) "self",(char *) "w",(char *) "h", NULL
26732 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_SetVirtualSizeWH",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26733 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26734 if (SWIG_arg_fail(1)) SWIG_fail
;
26736 arg2
= (int)(SWIG_As_int(obj1
));
26737 if (SWIG_arg_fail(2)) SWIG_fail
;
26740 arg3
= (int)(SWIG_As_int(obj2
));
26741 if (SWIG_arg_fail(3)) SWIG_fail
;
26744 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26745 (arg1
)->SetVirtualSize(arg2
,arg3
);
26747 wxPyEndAllowThreads(__tstate
);
26748 if (PyErr_Occurred()) SWIG_fail
;
26750 Py_INCREF(Py_None
); resultobj
= Py_None
;
26757 static PyObject
*_wrap_Window_GetVirtualSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26758 PyObject
*resultobj
;
26759 wxWindow
*arg1
= (wxWindow
*) 0 ;
26761 PyObject
* obj0
= 0 ;
26762 char *kwnames
[] = {
26763 (char *) "self", NULL
26766 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetVirtualSize",kwnames
,&obj0
)) goto fail
;
26767 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26768 if (SWIG_arg_fail(1)) SWIG_fail
;
26770 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26771 result
= ((wxWindow
const *)arg1
)->GetVirtualSize();
26773 wxPyEndAllowThreads(__tstate
);
26774 if (PyErr_Occurred()) SWIG_fail
;
26777 wxSize
* resultptr
;
26778 resultptr
= new wxSize((wxSize
&)(result
));
26779 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
26787 static PyObject
*_wrap_Window_GetVirtualSizeTuple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26788 PyObject
*resultobj
;
26789 wxWindow
*arg1
= (wxWindow
*) 0 ;
26790 int *arg2
= (int *) 0 ;
26791 int *arg3
= (int *) 0 ;
26796 PyObject
* obj0
= 0 ;
26797 char *kwnames
[] = {
26798 (char *) "self", NULL
26801 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
26802 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
26803 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetVirtualSizeTuple",kwnames
,&obj0
)) goto fail
;
26804 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26805 if (SWIG_arg_fail(1)) SWIG_fail
;
26807 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26808 ((wxWindow
const *)arg1
)->GetVirtualSize(arg2
,arg3
);
26810 wxPyEndAllowThreads(__tstate
);
26811 if (PyErr_Occurred()) SWIG_fail
;
26813 Py_INCREF(Py_None
); resultobj
= Py_None
;
26814 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
26815 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
26816 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
26817 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
26824 static PyObject
*_wrap_Window_GetBestVirtualSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26825 PyObject
*resultobj
;
26826 wxWindow
*arg1
= (wxWindow
*) 0 ;
26828 PyObject
* obj0
= 0 ;
26829 char *kwnames
[] = {
26830 (char *) "self", NULL
26833 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetBestVirtualSize",kwnames
,&obj0
)) goto fail
;
26834 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26835 if (SWIG_arg_fail(1)) SWIG_fail
;
26837 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26838 result
= ((wxWindow
const *)arg1
)->GetBestVirtualSize();
26840 wxPyEndAllowThreads(__tstate
);
26841 if (PyErr_Occurred()) SWIG_fail
;
26844 wxSize
* resultptr
;
26845 resultptr
= new wxSize((wxSize
&)(result
));
26846 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
26854 static PyObject
*_wrap_Window_Show(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26855 PyObject
*resultobj
;
26856 wxWindow
*arg1
= (wxWindow
*) 0 ;
26857 bool arg2
= (bool) true ;
26859 PyObject
* obj0
= 0 ;
26860 PyObject
* obj1
= 0 ;
26861 char *kwnames
[] = {
26862 (char *) "self",(char *) "show", NULL
26865 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_Show",kwnames
,&obj0
,&obj1
)) goto fail
;
26866 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26867 if (SWIG_arg_fail(1)) SWIG_fail
;
26870 arg2
= (bool)(SWIG_As_bool(obj1
));
26871 if (SWIG_arg_fail(2)) SWIG_fail
;
26875 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26876 result
= (bool)(arg1
)->Show(arg2
);
26878 wxPyEndAllowThreads(__tstate
);
26879 if (PyErr_Occurred()) SWIG_fail
;
26882 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26890 static PyObject
*_wrap_Window_Hide(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26891 PyObject
*resultobj
;
26892 wxWindow
*arg1
= (wxWindow
*) 0 ;
26894 PyObject
* obj0
= 0 ;
26895 char *kwnames
[] = {
26896 (char *) "self", NULL
26899 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Hide",kwnames
,&obj0
)) goto fail
;
26900 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26901 if (SWIG_arg_fail(1)) SWIG_fail
;
26903 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26904 result
= (bool)(arg1
)->Hide();
26906 wxPyEndAllowThreads(__tstate
);
26907 if (PyErr_Occurred()) SWIG_fail
;
26910 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26918 static PyObject
*_wrap_Window_Enable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26919 PyObject
*resultobj
;
26920 wxWindow
*arg1
= (wxWindow
*) 0 ;
26921 bool arg2
= (bool) true ;
26923 PyObject
* obj0
= 0 ;
26924 PyObject
* obj1
= 0 ;
26925 char *kwnames
[] = {
26926 (char *) "self",(char *) "enable", NULL
26929 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_Enable",kwnames
,&obj0
,&obj1
)) goto fail
;
26930 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26931 if (SWIG_arg_fail(1)) SWIG_fail
;
26934 arg2
= (bool)(SWIG_As_bool(obj1
));
26935 if (SWIG_arg_fail(2)) SWIG_fail
;
26939 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26940 result
= (bool)(arg1
)->Enable(arg2
);
26942 wxPyEndAllowThreads(__tstate
);
26943 if (PyErr_Occurred()) SWIG_fail
;
26946 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26954 static PyObject
*_wrap_Window_Disable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26955 PyObject
*resultobj
;
26956 wxWindow
*arg1
= (wxWindow
*) 0 ;
26958 PyObject
* obj0
= 0 ;
26959 char *kwnames
[] = {
26960 (char *) "self", NULL
26963 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Disable",kwnames
,&obj0
)) goto fail
;
26964 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26965 if (SWIG_arg_fail(1)) SWIG_fail
;
26967 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26968 result
= (bool)(arg1
)->Disable();
26970 wxPyEndAllowThreads(__tstate
);
26971 if (PyErr_Occurred()) SWIG_fail
;
26974 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26982 static PyObject
*_wrap_Window_IsShown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26983 PyObject
*resultobj
;
26984 wxWindow
*arg1
= (wxWindow
*) 0 ;
26986 PyObject
* obj0
= 0 ;
26987 char *kwnames
[] = {
26988 (char *) "self", NULL
26991 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_IsShown",kwnames
,&obj0
)) goto fail
;
26992 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26993 if (SWIG_arg_fail(1)) SWIG_fail
;
26995 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26996 result
= (bool)((wxWindow
const *)arg1
)->IsShown();
26998 wxPyEndAllowThreads(__tstate
);
26999 if (PyErr_Occurred()) SWIG_fail
;
27002 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27010 static PyObject
*_wrap_Window_IsEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27011 PyObject
*resultobj
;
27012 wxWindow
*arg1
= (wxWindow
*) 0 ;
27014 PyObject
* obj0
= 0 ;
27015 char *kwnames
[] = {
27016 (char *) "self", NULL
27019 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_IsEnabled",kwnames
,&obj0
)) goto fail
;
27020 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27021 if (SWIG_arg_fail(1)) SWIG_fail
;
27023 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27024 result
= (bool)((wxWindow
const *)arg1
)->IsEnabled();
27026 wxPyEndAllowThreads(__tstate
);
27027 if (PyErr_Occurred()) SWIG_fail
;
27030 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27038 static PyObject
*_wrap_Window_SetWindowStyleFlag(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27039 PyObject
*resultobj
;
27040 wxWindow
*arg1
= (wxWindow
*) 0 ;
27042 PyObject
* obj0
= 0 ;
27043 PyObject
* obj1
= 0 ;
27044 char *kwnames
[] = {
27045 (char *) "self",(char *) "style", NULL
27048 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetWindowStyleFlag",kwnames
,&obj0
,&obj1
)) goto fail
;
27049 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27050 if (SWIG_arg_fail(1)) SWIG_fail
;
27052 arg2
= (long)(SWIG_As_long(obj1
));
27053 if (SWIG_arg_fail(2)) SWIG_fail
;
27056 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27057 (arg1
)->SetWindowStyleFlag(arg2
);
27059 wxPyEndAllowThreads(__tstate
);
27060 if (PyErr_Occurred()) SWIG_fail
;
27062 Py_INCREF(Py_None
); resultobj
= Py_None
;
27069 static PyObject
*_wrap_Window_GetWindowStyleFlag(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27070 PyObject
*resultobj
;
27071 wxWindow
*arg1
= (wxWindow
*) 0 ;
27073 PyObject
* obj0
= 0 ;
27074 char *kwnames
[] = {
27075 (char *) "self", NULL
27078 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetWindowStyleFlag",kwnames
,&obj0
)) goto fail
;
27079 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27080 if (SWIG_arg_fail(1)) SWIG_fail
;
27082 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27083 result
= (long)((wxWindow
const *)arg1
)->GetWindowStyleFlag();
27085 wxPyEndAllowThreads(__tstate
);
27086 if (PyErr_Occurred()) SWIG_fail
;
27089 resultobj
= SWIG_From_long((long)(result
));
27097 static PyObject
*_wrap_Window_HasFlag(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27098 PyObject
*resultobj
;
27099 wxWindow
*arg1
= (wxWindow
*) 0 ;
27102 PyObject
* obj0
= 0 ;
27103 PyObject
* obj1
= 0 ;
27104 char *kwnames
[] = {
27105 (char *) "self",(char *) "flag", NULL
27108 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_HasFlag",kwnames
,&obj0
,&obj1
)) goto fail
;
27109 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27110 if (SWIG_arg_fail(1)) SWIG_fail
;
27112 arg2
= (int)(SWIG_As_int(obj1
));
27113 if (SWIG_arg_fail(2)) SWIG_fail
;
27116 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27117 result
= (bool)((wxWindow
const *)arg1
)->HasFlag(arg2
);
27119 wxPyEndAllowThreads(__tstate
);
27120 if (PyErr_Occurred()) SWIG_fail
;
27123 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27131 static PyObject
*_wrap_Window_IsRetained(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27132 PyObject
*resultobj
;
27133 wxWindow
*arg1
= (wxWindow
*) 0 ;
27135 PyObject
* obj0
= 0 ;
27136 char *kwnames
[] = {
27137 (char *) "self", NULL
27140 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_IsRetained",kwnames
,&obj0
)) goto fail
;
27141 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27142 if (SWIG_arg_fail(1)) SWIG_fail
;
27144 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27145 result
= (bool)((wxWindow
const *)arg1
)->IsRetained();
27147 wxPyEndAllowThreads(__tstate
);
27148 if (PyErr_Occurred()) SWIG_fail
;
27151 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27159 static PyObject
*_wrap_Window_SetExtraStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27160 PyObject
*resultobj
;
27161 wxWindow
*arg1
= (wxWindow
*) 0 ;
27163 PyObject
* obj0
= 0 ;
27164 PyObject
* obj1
= 0 ;
27165 char *kwnames
[] = {
27166 (char *) "self",(char *) "exStyle", NULL
27169 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetExtraStyle",kwnames
,&obj0
,&obj1
)) goto fail
;
27170 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27171 if (SWIG_arg_fail(1)) SWIG_fail
;
27173 arg2
= (long)(SWIG_As_long(obj1
));
27174 if (SWIG_arg_fail(2)) SWIG_fail
;
27177 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27178 (arg1
)->SetExtraStyle(arg2
);
27180 wxPyEndAllowThreads(__tstate
);
27181 if (PyErr_Occurred()) SWIG_fail
;
27183 Py_INCREF(Py_None
); resultobj
= Py_None
;
27190 static PyObject
*_wrap_Window_GetExtraStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27191 PyObject
*resultobj
;
27192 wxWindow
*arg1
= (wxWindow
*) 0 ;
27194 PyObject
* obj0
= 0 ;
27195 char *kwnames
[] = {
27196 (char *) "self", NULL
27199 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetExtraStyle",kwnames
,&obj0
)) goto fail
;
27200 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27201 if (SWIG_arg_fail(1)) SWIG_fail
;
27203 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27204 result
= (long)((wxWindow
const *)arg1
)->GetExtraStyle();
27206 wxPyEndAllowThreads(__tstate
);
27207 if (PyErr_Occurred()) SWIG_fail
;
27210 resultobj
= SWIG_From_long((long)(result
));
27218 static PyObject
*_wrap_Window_MakeModal(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27219 PyObject
*resultobj
;
27220 wxWindow
*arg1
= (wxWindow
*) 0 ;
27221 bool arg2
= (bool) true ;
27222 PyObject
* obj0
= 0 ;
27223 PyObject
* obj1
= 0 ;
27224 char *kwnames
[] = {
27225 (char *) "self",(char *) "modal", NULL
27228 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_MakeModal",kwnames
,&obj0
,&obj1
)) goto fail
;
27229 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27230 if (SWIG_arg_fail(1)) SWIG_fail
;
27233 arg2
= (bool)(SWIG_As_bool(obj1
));
27234 if (SWIG_arg_fail(2)) SWIG_fail
;
27238 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27239 (arg1
)->MakeModal(arg2
);
27241 wxPyEndAllowThreads(__tstate
);
27242 if (PyErr_Occurred()) SWIG_fail
;
27244 Py_INCREF(Py_None
); resultobj
= Py_None
;
27251 static PyObject
*_wrap_Window_SetThemeEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27252 PyObject
*resultobj
;
27253 wxWindow
*arg1
= (wxWindow
*) 0 ;
27255 PyObject
* obj0
= 0 ;
27256 PyObject
* obj1
= 0 ;
27257 char *kwnames
[] = {
27258 (char *) "self",(char *) "enableTheme", NULL
27261 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetThemeEnabled",kwnames
,&obj0
,&obj1
)) goto fail
;
27262 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27263 if (SWIG_arg_fail(1)) SWIG_fail
;
27265 arg2
= (bool)(SWIG_As_bool(obj1
));
27266 if (SWIG_arg_fail(2)) SWIG_fail
;
27269 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27270 (arg1
)->SetThemeEnabled(arg2
);
27272 wxPyEndAllowThreads(__tstate
);
27273 if (PyErr_Occurred()) SWIG_fail
;
27275 Py_INCREF(Py_None
); resultobj
= Py_None
;
27282 static PyObject
*_wrap_Window_GetThemeEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27283 PyObject
*resultobj
;
27284 wxWindow
*arg1
= (wxWindow
*) 0 ;
27286 PyObject
* obj0
= 0 ;
27287 char *kwnames
[] = {
27288 (char *) "self", NULL
27291 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetThemeEnabled",kwnames
,&obj0
)) goto fail
;
27292 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27293 if (SWIG_arg_fail(1)) SWIG_fail
;
27295 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27296 result
= (bool)((wxWindow
const *)arg1
)->GetThemeEnabled();
27298 wxPyEndAllowThreads(__tstate
);
27299 if (PyErr_Occurred()) SWIG_fail
;
27302 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27310 static PyObject
*_wrap_Window_SetFocus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27311 PyObject
*resultobj
;
27312 wxWindow
*arg1
= (wxWindow
*) 0 ;
27313 PyObject
* obj0
= 0 ;
27314 char *kwnames
[] = {
27315 (char *) "self", NULL
27318 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_SetFocus",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 (arg1
)->SetFocus();
27325 wxPyEndAllowThreads(__tstate
);
27326 if (PyErr_Occurred()) SWIG_fail
;
27328 Py_INCREF(Py_None
); resultobj
= Py_None
;
27335 static PyObject
*_wrap_Window_SetFocusFromKbd(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27336 PyObject
*resultobj
;
27337 wxWindow
*arg1
= (wxWindow
*) 0 ;
27338 PyObject
* obj0
= 0 ;
27339 char *kwnames
[] = {
27340 (char *) "self", NULL
27343 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_SetFocusFromKbd",kwnames
,&obj0
)) goto fail
;
27344 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27345 if (SWIG_arg_fail(1)) SWIG_fail
;
27347 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27348 (arg1
)->SetFocusFromKbd();
27350 wxPyEndAllowThreads(__tstate
);
27351 if (PyErr_Occurred()) SWIG_fail
;
27353 Py_INCREF(Py_None
); resultobj
= Py_None
;
27360 static PyObject
*_wrap_Window_FindFocus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27361 PyObject
*resultobj
;
27363 char *kwnames
[] = {
27367 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Window_FindFocus",kwnames
)) goto fail
;
27369 if (!wxPyCheckForApp()) SWIG_fail
;
27370 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27371 result
= (wxWindow
*)wxWindow::FindFocus();
27373 wxPyEndAllowThreads(__tstate
);
27374 if (PyErr_Occurred()) SWIG_fail
;
27377 resultobj
= wxPyMake_wxObject(result
, 0);
27385 static PyObject
*_wrap_Window_AcceptsFocus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27386 PyObject
*resultobj
;
27387 wxWindow
*arg1
= (wxWindow
*) 0 ;
27389 PyObject
* obj0
= 0 ;
27390 char *kwnames
[] = {
27391 (char *) "self", NULL
27394 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_AcceptsFocus",kwnames
,&obj0
)) goto fail
;
27395 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27396 if (SWIG_arg_fail(1)) SWIG_fail
;
27398 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27399 result
= (bool)((wxWindow
const *)arg1
)->AcceptsFocus();
27401 wxPyEndAllowThreads(__tstate
);
27402 if (PyErr_Occurred()) SWIG_fail
;
27405 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27413 static PyObject
*_wrap_Window_AcceptsFocusFromKeyboard(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27414 PyObject
*resultobj
;
27415 wxWindow
*arg1
= (wxWindow
*) 0 ;
27417 PyObject
* obj0
= 0 ;
27418 char *kwnames
[] = {
27419 (char *) "self", NULL
27422 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_AcceptsFocusFromKeyboard",kwnames
,&obj0
)) goto fail
;
27423 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27424 if (SWIG_arg_fail(1)) SWIG_fail
;
27426 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27427 result
= (bool)((wxWindow
const *)arg1
)->AcceptsFocusFromKeyboard();
27429 wxPyEndAllowThreads(__tstate
);
27430 if (PyErr_Occurred()) SWIG_fail
;
27433 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27441 static PyObject
*_wrap_Window_GetDefaultItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27442 PyObject
*resultobj
;
27443 wxWindow
*arg1
= (wxWindow
*) 0 ;
27445 PyObject
* obj0
= 0 ;
27446 char *kwnames
[] = {
27447 (char *) "self", NULL
27450 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetDefaultItem",kwnames
,&obj0
)) goto fail
;
27451 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27452 if (SWIG_arg_fail(1)) SWIG_fail
;
27454 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27455 result
= (wxWindow
*)((wxWindow
const *)arg1
)->GetDefaultItem();
27457 wxPyEndAllowThreads(__tstate
);
27458 if (PyErr_Occurred()) SWIG_fail
;
27461 resultobj
= wxPyMake_wxObject(result
, 0);
27469 static PyObject
*_wrap_Window_SetDefaultItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27470 PyObject
*resultobj
;
27471 wxWindow
*arg1
= (wxWindow
*) 0 ;
27472 wxWindow
*arg2
= (wxWindow
*) 0 ;
27474 PyObject
* obj0
= 0 ;
27475 PyObject
* obj1
= 0 ;
27476 char *kwnames
[] = {
27477 (char *) "self",(char *) "child", NULL
27480 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetDefaultItem",kwnames
,&obj0
,&obj1
)) goto fail
;
27481 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27482 if (SWIG_arg_fail(1)) SWIG_fail
;
27483 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27484 if (SWIG_arg_fail(2)) SWIG_fail
;
27486 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27487 result
= (wxWindow
*)(arg1
)->SetDefaultItem(arg2
);
27489 wxPyEndAllowThreads(__tstate
);
27490 if (PyErr_Occurred()) SWIG_fail
;
27493 resultobj
= wxPyMake_wxObject(result
, 0);
27501 static PyObject
*_wrap_Window_SetTmpDefaultItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27502 PyObject
*resultobj
;
27503 wxWindow
*arg1
= (wxWindow
*) 0 ;
27504 wxWindow
*arg2
= (wxWindow
*) 0 ;
27505 PyObject
* obj0
= 0 ;
27506 PyObject
* obj1
= 0 ;
27507 char *kwnames
[] = {
27508 (char *) "self",(char *) "win", NULL
27511 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetTmpDefaultItem",kwnames
,&obj0
,&obj1
)) goto fail
;
27512 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27513 if (SWIG_arg_fail(1)) SWIG_fail
;
27514 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27515 if (SWIG_arg_fail(2)) SWIG_fail
;
27517 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27518 (arg1
)->SetTmpDefaultItem(arg2
);
27520 wxPyEndAllowThreads(__tstate
);
27521 if (PyErr_Occurred()) SWIG_fail
;
27523 Py_INCREF(Py_None
); resultobj
= Py_None
;
27530 static PyObject
*_wrap_Window_Navigate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27531 PyObject
*resultobj
;
27532 wxWindow
*arg1
= (wxWindow
*) 0 ;
27533 int arg2
= (int) wxNavigationKeyEvent::IsForward
;
27535 PyObject
* obj0
= 0 ;
27536 PyObject
* obj1
= 0 ;
27537 char *kwnames
[] = {
27538 (char *) "self",(char *) "flags", NULL
27541 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_Navigate",kwnames
,&obj0
,&obj1
)) goto fail
;
27542 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27543 if (SWIG_arg_fail(1)) SWIG_fail
;
27546 arg2
= (int)(SWIG_As_int(obj1
));
27547 if (SWIG_arg_fail(2)) SWIG_fail
;
27551 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27552 result
= (bool)(arg1
)->Navigate(arg2
);
27554 wxPyEndAllowThreads(__tstate
);
27555 if (PyErr_Occurred()) SWIG_fail
;
27558 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27566 static PyObject
*_wrap_Window_MoveAfterInTabOrder(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27567 PyObject
*resultobj
;
27568 wxWindow
*arg1
= (wxWindow
*) 0 ;
27569 wxWindow
*arg2
= (wxWindow
*) 0 ;
27570 PyObject
* obj0
= 0 ;
27571 PyObject
* obj1
= 0 ;
27572 char *kwnames
[] = {
27573 (char *) "self",(char *) "win", NULL
27576 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_MoveAfterInTabOrder",kwnames
,&obj0
,&obj1
)) goto fail
;
27577 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27578 if (SWIG_arg_fail(1)) SWIG_fail
;
27579 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27580 if (SWIG_arg_fail(2)) SWIG_fail
;
27582 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27583 (arg1
)->MoveAfterInTabOrder(arg2
);
27585 wxPyEndAllowThreads(__tstate
);
27586 if (PyErr_Occurred()) SWIG_fail
;
27588 Py_INCREF(Py_None
); resultobj
= Py_None
;
27595 static PyObject
*_wrap_Window_MoveBeforeInTabOrder(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27596 PyObject
*resultobj
;
27597 wxWindow
*arg1
= (wxWindow
*) 0 ;
27598 wxWindow
*arg2
= (wxWindow
*) 0 ;
27599 PyObject
* obj0
= 0 ;
27600 PyObject
* obj1
= 0 ;
27601 char *kwnames
[] = {
27602 (char *) "self",(char *) "win", NULL
27605 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_MoveBeforeInTabOrder",kwnames
,&obj0
,&obj1
)) goto fail
;
27606 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27607 if (SWIG_arg_fail(1)) SWIG_fail
;
27608 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27609 if (SWIG_arg_fail(2)) SWIG_fail
;
27611 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27612 (arg1
)->MoveBeforeInTabOrder(arg2
);
27614 wxPyEndAllowThreads(__tstate
);
27615 if (PyErr_Occurred()) SWIG_fail
;
27617 Py_INCREF(Py_None
); resultobj
= Py_None
;
27624 static PyObject
*_wrap_Window_GetChildren(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27625 PyObject
*resultobj
;
27626 wxWindow
*arg1
= (wxWindow
*) 0 ;
27628 PyObject
* obj0
= 0 ;
27629 char *kwnames
[] = {
27630 (char *) "self", NULL
27633 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetChildren",kwnames
,&obj0
)) goto fail
;
27634 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27635 if (SWIG_arg_fail(1)) SWIG_fail
;
27637 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27638 result
= (PyObject
*)wxWindow_GetChildren(arg1
);
27640 wxPyEndAllowThreads(__tstate
);
27641 if (PyErr_Occurred()) SWIG_fail
;
27643 resultobj
= result
;
27650 static PyObject
*_wrap_Window_GetParent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27651 PyObject
*resultobj
;
27652 wxWindow
*arg1
= (wxWindow
*) 0 ;
27654 PyObject
* obj0
= 0 ;
27655 char *kwnames
[] = {
27656 (char *) "self", NULL
27659 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetParent",kwnames
,&obj0
)) goto fail
;
27660 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27661 if (SWIG_arg_fail(1)) SWIG_fail
;
27663 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27664 result
= (wxWindow
*)((wxWindow
const *)arg1
)->GetParent();
27666 wxPyEndAllowThreads(__tstate
);
27667 if (PyErr_Occurred()) SWIG_fail
;
27670 resultobj
= wxPyMake_wxObject(result
, 0);
27678 static PyObject
*_wrap_Window_GetGrandParent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27679 PyObject
*resultobj
;
27680 wxWindow
*arg1
= (wxWindow
*) 0 ;
27682 PyObject
* obj0
= 0 ;
27683 char *kwnames
[] = {
27684 (char *) "self", NULL
27687 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetGrandParent",kwnames
,&obj0
)) goto fail
;
27688 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27689 if (SWIG_arg_fail(1)) SWIG_fail
;
27691 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27692 result
= (wxWindow
*)((wxWindow
const *)arg1
)->GetGrandParent();
27694 wxPyEndAllowThreads(__tstate
);
27695 if (PyErr_Occurred()) SWIG_fail
;
27698 resultobj
= wxPyMake_wxObject(result
, 0);
27706 static PyObject
*_wrap_Window_IsTopLevel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27707 PyObject
*resultobj
;
27708 wxWindow
*arg1
= (wxWindow
*) 0 ;
27710 PyObject
* obj0
= 0 ;
27711 char *kwnames
[] = {
27712 (char *) "self", NULL
27715 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_IsTopLevel",kwnames
,&obj0
)) goto fail
;
27716 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27717 if (SWIG_arg_fail(1)) SWIG_fail
;
27719 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27720 result
= (bool)((wxWindow
const *)arg1
)->IsTopLevel();
27722 wxPyEndAllowThreads(__tstate
);
27723 if (PyErr_Occurred()) SWIG_fail
;
27726 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27734 static PyObject
*_wrap_Window_Reparent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27735 PyObject
*resultobj
;
27736 wxWindow
*arg1
= (wxWindow
*) 0 ;
27737 wxWindow
*arg2
= (wxWindow
*) 0 ;
27739 PyObject
* obj0
= 0 ;
27740 PyObject
* obj1
= 0 ;
27741 char *kwnames
[] = {
27742 (char *) "self",(char *) "newParent", NULL
27745 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_Reparent",kwnames
,&obj0
,&obj1
)) goto fail
;
27746 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27747 if (SWIG_arg_fail(1)) SWIG_fail
;
27748 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27749 if (SWIG_arg_fail(2)) SWIG_fail
;
27751 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27752 result
= (bool)(arg1
)->Reparent(arg2
);
27754 wxPyEndAllowThreads(__tstate
);
27755 if (PyErr_Occurred()) SWIG_fail
;
27758 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27766 static PyObject
*_wrap_Window_AddChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27767 PyObject
*resultobj
;
27768 wxWindow
*arg1
= (wxWindow
*) 0 ;
27769 wxWindow
*arg2
= (wxWindow
*) 0 ;
27770 PyObject
* obj0
= 0 ;
27771 PyObject
* obj1
= 0 ;
27772 char *kwnames
[] = {
27773 (char *) "self",(char *) "child", NULL
27776 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_AddChild",kwnames
,&obj0
,&obj1
)) goto fail
;
27777 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27778 if (SWIG_arg_fail(1)) SWIG_fail
;
27779 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27780 if (SWIG_arg_fail(2)) SWIG_fail
;
27782 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27783 (arg1
)->AddChild(arg2
);
27785 wxPyEndAllowThreads(__tstate
);
27786 if (PyErr_Occurred()) SWIG_fail
;
27788 Py_INCREF(Py_None
); resultobj
= Py_None
;
27795 static PyObject
*_wrap_Window_RemoveChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27796 PyObject
*resultobj
;
27797 wxWindow
*arg1
= (wxWindow
*) 0 ;
27798 wxWindow
*arg2
= (wxWindow
*) 0 ;
27799 PyObject
* obj0
= 0 ;
27800 PyObject
* obj1
= 0 ;
27801 char *kwnames
[] = {
27802 (char *) "self",(char *) "child", NULL
27805 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_RemoveChild",kwnames
,&obj0
,&obj1
)) goto fail
;
27806 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27807 if (SWIG_arg_fail(1)) SWIG_fail
;
27808 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27809 if (SWIG_arg_fail(2)) SWIG_fail
;
27811 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27812 (arg1
)->RemoveChild(arg2
);
27814 wxPyEndAllowThreads(__tstate
);
27815 if (PyErr_Occurred()) SWIG_fail
;
27817 Py_INCREF(Py_None
); resultobj
= Py_None
;
27824 static PyObject
*_wrap_Window_FindWindowById(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27825 PyObject
*resultobj
;
27826 wxWindow
*arg1
= (wxWindow
*) 0 ;
27829 PyObject
* obj0
= 0 ;
27830 PyObject
* obj1
= 0 ;
27831 char *kwnames
[] = {
27832 (char *) "self",(char *) "winid", NULL
27835 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_FindWindowById",kwnames
,&obj0
,&obj1
)) goto fail
;
27836 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27837 if (SWIG_arg_fail(1)) SWIG_fail
;
27839 arg2
= (long)(SWIG_As_long(obj1
));
27840 if (SWIG_arg_fail(2)) SWIG_fail
;
27843 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27844 result
= (wxWindow
*)(arg1
)->FindWindow(arg2
);
27846 wxPyEndAllowThreads(__tstate
);
27847 if (PyErr_Occurred()) SWIG_fail
;
27850 resultobj
= wxPyMake_wxObject(result
, 0);
27858 static PyObject
*_wrap_Window_FindWindowByName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27859 PyObject
*resultobj
;
27860 wxWindow
*arg1
= (wxWindow
*) 0 ;
27861 wxString
*arg2
= 0 ;
27863 bool temp2
= false ;
27864 PyObject
* obj0
= 0 ;
27865 PyObject
* obj1
= 0 ;
27866 char *kwnames
[] = {
27867 (char *) "self",(char *) "name", NULL
27870 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_FindWindowByName",kwnames
,&obj0
,&obj1
)) goto fail
;
27871 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27872 if (SWIG_arg_fail(1)) SWIG_fail
;
27874 arg2
= wxString_in_helper(obj1
);
27875 if (arg2
== NULL
) SWIG_fail
;
27879 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27880 result
= (wxWindow
*)(arg1
)->FindWindow((wxString
const &)*arg2
);
27882 wxPyEndAllowThreads(__tstate
);
27883 if (PyErr_Occurred()) SWIG_fail
;
27886 resultobj
= wxPyMake_wxObject(result
, 0);
27902 static PyObject
*_wrap_Window_GetEventHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27903 PyObject
*resultobj
;
27904 wxWindow
*arg1
= (wxWindow
*) 0 ;
27905 wxEvtHandler
*result
;
27906 PyObject
* obj0
= 0 ;
27907 char *kwnames
[] = {
27908 (char *) "self", NULL
27911 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetEventHandler",kwnames
,&obj0
)) goto fail
;
27912 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27913 if (SWIG_arg_fail(1)) SWIG_fail
;
27915 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27916 result
= (wxEvtHandler
*)((wxWindow
const *)arg1
)->GetEventHandler();
27918 wxPyEndAllowThreads(__tstate
);
27919 if (PyErr_Occurred()) SWIG_fail
;
27922 resultobj
= wxPyMake_wxObject(result
, 0);
27930 static PyObject
*_wrap_Window_SetEventHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27931 PyObject
*resultobj
;
27932 wxWindow
*arg1
= (wxWindow
*) 0 ;
27933 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
27934 PyObject
* obj0
= 0 ;
27935 PyObject
* obj1
= 0 ;
27936 char *kwnames
[] = {
27937 (char *) "self",(char *) "handler", NULL
27940 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetEventHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
27941 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27942 if (SWIG_arg_fail(1)) SWIG_fail
;
27943 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
27944 if (SWIG_arg_fail(2)) SWIG_fail
;
27946 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27947 (arg1
)->SetEventHandler(arg2
);
27949 wxPyEndAllowThreads(__tstate
);
27950 if (PyErr_Occurred()) SWIG_fail
;
27952 Py_INCREF(Py_None
); resultobj
= Py_None
;
27959 static PyObject
*_wrap_Window_PushEventHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27960 PyObject
*resultobj
;
27961 wxWindow
*arg1
= (wxWindow
*) 0 ;
27962 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
27963 PyObject
* obj0
= 0 ;
27964 PyObject
* obj1
= 0 ;
27965 char *kwnames
[] = {
27966 (char *) "self",(char *) "handler", NULL
27969 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_PushEventHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
27970 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27971 if (SWIG_arg_fail(1)) SWIG_fail
;
27972 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
27973 if (SWIG_arg_fail(2)) SWIG_fail
;
27975 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27976 (arg1
)->PushEventHandler(arg2
);
27978 wxPyEndAllowThreads(__tstate
);
27979 if (PyErr_Occurred()) SWIG_fail
;
27981 Py_INCREF(Py_None
); resultobj
= Py_None
;
27988 static PyObject
*_wrap_Window_PopEventHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27989 PyObject
*resultobj
;
27990 wxWindow
*arg1
= (wxWindow
*) 0 ;
27991 bool arg2
= (bool) false ;
27992 wxEvtHandler
*result
;
27993 PyObject
* obj0
= 0 ;
27994 PyObject
* obj1
= 0 ;
27995 char *kwnames
[] = {
27996 (char *) "self",(char *) "deleteHandler", NULL
27999 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_PopEventHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
28000 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28001 if (SWIG_arg_fail(1)) SWIG_fail
;
28004 arg2
= (bool)(SWIG_As_bool(obj1
));
28005 if (SWIG_arg_fail(2)) SWIG_fail
;
28009 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28010 result
= (wxEvtHandler
*)(arg1
)->PopEventHandler(arg2
);
28012 wxPyEndAllowThreads(__tstate
);
28013 if (PyErr_Occurred()) SWIG_fail
;
28016 resultobj
= wxPyMake_wxObject(result
, 0);
28024 static PyObject
*_wrap_Window_RemoveEventHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28025 PyObject
*resultobj
;
28026 wxWindow
*arg1
= (wxWindow
*) 0 ;
28027 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
28029 PyObject
* obj0
= 0 ;
28030 PyObject
* obj1
= 0 ;
28031 char *kwnames
[] = {
28032 (char *) "self",(char *) "handler", NULL
28035 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_RemoveEventHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
28036 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28037 if (SWIG_arg_fail(1)) SWIG_fail
;
28038 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
28039 if (SWIG_arg_fail(2)) SWIG_fail
;
28041 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28042 result
= (bool)(arg1
)->RemoveEventHandler(arg2
);
28044 wxPyEndAllowThreads(__tstate
);
28045 if (PyErr_Occurred()) SWIG_fail
;
28048 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28056 static PyObject
*_wrap_Window_SetValidator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28057 PyObject
*resultobj
;
28058 wxWindow
*arg1
= (wxWindow
*) 0 ;
28059 wxValidator
*arg2
= 0 ;
28060 PyObject
* obj0
= 0 ;
28061 PyObject
* obj1
= 0 ;
28062 char *kwnames
[] = {
28063 (char *) "self",(char *) "validator", NULL
28066 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetValidator",kwnames
,&obj0
,&obj1
)) goto fail
;
28067 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28068 if (SWIG_arg_fail(1)) SWIG_fail
;
28070 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
28071 if (SWIG_arg_fail(2)) SWIG_fail
;
28072 if (arg2
== NULL
) {
28073 SWIG_null_ref("wxValidator");
28075 if (SWIG_arg_fail(2)) SWIG_fail
;
28078 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28079 (arg1
)->SetValidator((wxValidator
const &)*arg2
);
28081 wxPyEndAllowThreads(__tstate
);
28082 if (PyErr_Occurred()) SWIG_fail
;
28084 Py_INCREF(Py_None
); resultobj
= Py_None
;
28091 static PyObject
*_wrap_Window_GetValidator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28092 PyObject
*resultobj
;
28093 wxWindow
*arg1
= (wxWindow
*) 0 ;
28094 wxValidator
*result
;
28095 PyObject
* obj0
= 0 ;
28096 char *kwnames
[] = {
28097 (char *) "self", NULL
28100 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetValidator",kwnames
,&obj0
)) goto fail
;
28101 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28102 if (SWIG_arg_fail(1)) SWIG_fail
;
28104 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28105 result
= (wxValidator
*)(arg1
)->GetValidator();
28107 wxPyEndAllowThreads(__tstate
);
28108 if (PyErr_Occurred()) SWIG_fail
;
28111 resultobj
= wxPyMake_wxObject(result
, 0);
28119 static PyObject
*_wrap_Window_Validate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28120 PyObject
*resultobj
;
28121 wxWindow
*arg1
= (wxWindow
*) 0 ;
28123 PyObject
* obj0
= 0 ;
28124 char *kwnames
[] = {
28125 (char *) "self", NULL
28128 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Validate",kwnames
,&obj0
)) goto fail
;
28129 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28130 if (SWIG_arg_fail(1)) SWIG_fail
;
28132 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28133 result
= (bool)(arg1
)->Validate();
28135 wxPyEndAllowThreads(__tstate
);
28136 if (PyErr_Occurred()) SWIG_fail
;
28139 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28147 static PyObject
*_wrap_Window_TransferDataToWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28148 PyObject
*resultobj
;
28149 wxWindow
*arg1
= (wxWindow
*) 0 ;
28151 PyObject
* obj0
= 0 ;
28152 char *kwnames
[] = {
28153 (char *) "self", NULL
28156 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_TransferDataToWindow",kwnames
,&obj0
)) goto fail
;
28157 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28158 if (SWIG_arg_fail(1)) SWIG_fail
;
28160 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28161 result
= (bool)(arg1
)->TransferDataToWindow();
28163 wxPyEndAllowThreads(__tstate
);
28164 if (PyErr_Occurred()) SWIG_fail
;
28167 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28175 static PyObject
*_wrap_Window_TransferDataFromWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28176 PyObject
*resultobj
;
28177 wxWindow
*arg1
= (wxWindow
*) 0 ;
28179 PyObject
* obj0
= 0 ;
28180 char *kwnames
[] = {
28181 (char *) "self", NULL
28184 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_TransferDataFromWindow",kwnames
,&obj0
)) goto fail
;
28185 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28186 if (SWIG_arg_fail(1)) SWIG_fail
;
28188 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28189 result
= (bool)(arg1
)->TransferDataFromWindow();
28191 wxPyEndAllowThreads(__tstate
);
28192 if (PyErr_Occurred()) SWIG_fail
;
28195 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28203 static PyObject
*_wrap_Window_InitDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28204 PyObject
*resultobj
;
28205 wxWindow
*arg1
= (wxWindow
*) 0 ;
28206 PyObject
* obj0
= 0 ;
28207 char *kwnames
[] = {
28208 (char *) "self", NULL
28211 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_InitDialog",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 (arg1
)->InitDialog();
28218 wxPyEndAllowThreads(__tstate
);
28219 if (PyErr_Occurred()) SWIG_fail
;
28221 Py_INCREF(Py_None
); resultobj
= Py_None
;
28228 static PyObject
*_wrap_Window_SetAcceleratorTable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28229 PyObject
*resultobj
;
28230 wxWindow
*arg1
= (wxWindow
*) 0 ;
28231 wxAcceleratorTable
*arg2
= 0 ;
28232 PyObject
* obj0
= 0 ;
28233 PyObject
* obj1
= 0 ;
28234 char *kwnames
[] = {
28235 (char *) "self",(char *) "accel", NULL
28238 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetAcceleratorTable",kwnames
,&obj0
,&obj1
)) 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 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxAcceleratorTable
, SWIG_POINTER_EXCEPTION
| 0);
28243 if (SWIG_arg_fail(2)) SWIG_fail
;
28244 if (arg2
== NULL
) {
28245 SWIG_null_ref("wxAcceleratorTable");
28247 if (SWIG_arg_fail(2)) SWIG_fail
;
28250 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28251 (arg1
)->SetAcceleratorTable((wxAcceleratorTable
const &)*arg2
);
28253 wxPyEndAllowThreads(__tstate
);
28254 if (PyErr_Occurred()) SWIG_fail
;
28256 Py_INCREF(Py_None
); resultobj
= Py_None
;
28263 static PyObject
*_wrap_Window_GetAcceleratorTable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28264 PyObject
*resultobj
;
28265 wxWindow
*arg1
= (wxWindow
*) 0 ;
28266 wxAcceleratorTable
*result
;
28267 PyObject
* obj0
= 0 ;
28268 char *kwnames
[] = {
28269 (char *) "self", NULL
28272 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetAcceleratorTable",kwnames
,&obj0
)) goto fail
;
28273 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28274 if (SWIG_arg_fail(1)) SWIG_fail
;
28276 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28277 result
= (wxAcceleratorTable
*)(arg1
)->GetAcceleratorTable();
28279 wxPyEndAllowThreads(__tstate
);
28280 if (PyErr_Occurred()) SWIG_fail
;
28282 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxAcceleratorTable
, 0);
28289 static PyObject
*_wrap_Window_RegisterHotKey(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28290 PyObject
*resultobj
;
28291 wxWindow
*arg1
= (wxWindow
*) 0 ;
28296 PyObject
* obj0
= 0 ;
28297 PyObject
* obj1
= 0 ;
28298 PyObject
* obj2
= 0 ;
28299 PyObject
* obj3
= 0 ;
28300 char *kwnames
[] = {
28301 (char *) "self",(char *) "hotkeyId",(char *) "modifiers",(char *) "keycode", NULL
28304 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Window_RegisterHotKey",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
28305 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28306 if (SWIG_arg_fail(1)) SWIG_fail
;
28308 arg2
= (int)(SWIG_As_int(obj1
));
28309 if (SWIG_arg_fail(2)) SWIG_fail
;
28312 arg3
= (int)(SWIG_As_int(obj2
));
28313 if (SWIG_arg_fail(3)) SWIG_fail
;
28316 arg4
= (int)(SWIG_As_int(obj3
));
28317 if (SWIG_arg_fail(4)) SWIG_fail
;
28320 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28321 result
= (bool)wxWindow_RegisterHotKey(arg1
,arg2
,arg3
,arg4
);
28323 wxPyEndAllowThreads(__tstate
);
28324 if (PyErr_Occurred()) SWIG_fail
;
28327 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28335 static PyObject
*_wrap_Window_UnregisterHotKey(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28336 PyObject
*resultobj
;
28337 wxWindow
*arg1
= (wxWindow
*) 0 ;
28340 PyObject
* obj0
= 0 ;
28341 PyObject
* obj1
= 0 ;
28342 char *kwnames
[] = {
28343 (char *) "self",(char *) "hotkeyId", NULL
28346 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_UnregisterHotKey",kwnames
,&obj0
,&obj1
)) goto fail
;
28347 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28348 if (SWIG_arg_fail(1)) SWIG_fail
;
28350 arg2
= (int)(SWIG_As_int(obj1
));
28351 if (SWIG_arg_fail(2)) SWIG_fail
;
28354 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28355 result
= (bool)wxWindow_UnregisterHotKey(arg1
,arg2
);
28357 wxPyEndAllowThreads(__tstate
);
28358 if (PyErr_Occurred()) SWIG_fail
;
28361 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28369 static PyObject
*_wrap_Window_ConvertDialogPointToPixels(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28370 PyObject
*resultobj
;
28371 wxWindow
*arg1
= (wxWindow
*) 0 ;
28372 wxPoint
*arg2
= 0 ;
28375 PyObject
* obj0
= 0 ;
28376 PyObject
* obj1
= 0 ;
28377 char *kwnames
[] = {
28378 (char *) "self",(char *) "pt", NULL
28381 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ConvertDialogPointToPixels",kwnames
,&obj0
,&obj1
)) goto fail
;
28382 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28383 if (SWIG_arg_fail(1)) SWIG_fail
;
28386 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
28389 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28390 result
= (arg1
)->ConvertDialogToPixels((wxPoint
const &)*arg2
);
28392 wxPyEndAllowThreads(__tstate
);
28393 if (PyErr_Occurred()) SWIG_fail
;
28396 wxPoint
* resultptr
;
28397 resultptr
= new wxPoint((wxPoint
&)(result
));
28398 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
28406 static PyObject
*_wrap_Window_ConvertDialogSizeToPixels(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28407 PyObject
*resultobj
;
28408 wxWindow
*arg1
= (wxWindow
*) 0 ;
28412 PyObject
* obj0
= 0 ;
28413 PyObject
* obj1
= 0 ;
28414 char *kwnames
[] = {
28415 (char *) "self",(char *) "sz", NULL
28418 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ConvertDialogSizeToPixels",kwnames
,&obj0
,&obj1
)) goto fail
;
28419 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28420 if (SWIG_arg_fail(1)) SWIG_fail
;
28423 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
28426 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28427 result
= (arg1
)->ConvertDialogToPixels((wxSize
const &)*arg2
);
28429 wxPyEndAllowThreads(__tstate
);
28430 if (PyErr_Occurred()) SWIG_fail
;
28433 wxSize
* resultptr
;
28434 resultptr
= new wxSize((wxSize
&)(result
));
28435 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
28443 static PyObject
*_wrap_Window_DLG_PNT(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28444 PyObject
*resultobj
;
28445 wxWindow
*arg1
= (wxWindow
*) 0 ;
28446 wxPoint
*arg2
= 0 ;
28449 PyObject
* obj0
= 0 ;
28450 PyObject
* obj1
= 0 ;
28451 char *kwnames
[] = {
28452 (char *) "self",(char *) "pt", NULL
28455 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_DLG_PNT",kwnames
,&obj0
,&obj1
)) goto fail
;
28456 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28457 if (SWIG_arg_fail(1)) SWIG_fail
;
28460 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
28463 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28464 result
= (arg1
)->ConvertDialogToPixels((wxPoint
const &)*arg2
);
28466 wxPyEndAllowThreads(__tstate
);
28467 if (PyErr_Occurred()) SWIG_fail
;
28470 wxPoint
* resultptr
;
28471 resultptr
= new wxPoint((wxPoint
&)(result
));
28472 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
28480 static PyObject
*_wrap_Window_DLG_SZE(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28481 PyObject
*resultobj
;
28482 wxWindow
*arg1
= (wxWindow
*) 0 ;
28486 PyObject
* obj0
= 0 ;
28487 PyObject
* obj1
= 0 ;
28488 char *kwnames
[] = {
28489 (char *) "self",(char *) "sz", NULL
28492 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_DLG_SZE",kwnames
,&obj0
,&obj1
)) goto fail
;
28493 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28494 if (SWIG_arg_fail(1)) SWIG_fail
;
28497 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
28500 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28501 result
= (arg1
)->ConvertDialogToPixels((wxSize
const &)*arg2
);
28503 wxPyEndAllowThreads(__tstate
);
28504 if (PyErr_Occurred()) SWIG_fail
;
28507 wxSize
* resultptr
;
28508 resultptr
= new wxSize((wxSize
&)(result
));
28509 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
28517 static PyObject
*_wrap_Window_ConvertPixelPointToDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28518 PyObject
*resultobj
;
28519 wxWindow
*arg1
= (wxWindow
*) 0 ;
28520 wxPoint
*arg2
= 0 ;
28523 PyObject
* obj0
= 0 ;
28524 PyObject
* obj1
= 0 ;
28525 char *kwnames
[] = {
28526 (char *) "self",(char *) "pt", NULL
28529 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ConvertPixelPointToDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
28530 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28531 if (SWIG_arg_fail(1)) SWIG_fail
;
28534 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
28537 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28538 result
= (arg1
)->ConvertPixelsToDialog((wxPoint
const &)*arg2
);
28540 wxPyEndAllowThreads(__tstate
);
28541 if (PyErr_Occurred()) SWIG_fail
;
28544 wxPoint
* resultptr
;
28545 resultptr
= new wxPoint((wxPoint
&)(result
));
28546 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
28554 static PyObject
*_wrap_Window_ConvertPixelSizeToDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28555 PyObject
*resultobj
;
28556 wxWindow
*arg1
= (wxWindow
*) 0 ;
28560 PyObject
* obj0
= 0 ;
28561 PyObject
* obj1
= 0 ;
28562 char *kwnames
[] = {
28563 (char *) "self",(char *) "sz", NULL
28566 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ConvertPixelSizeToDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
28567 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28568 if (SWIG_arg_fail(1)) SWIG_fail
;
28571 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
28574 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28575 result
= (arg1
)->ConvertPixelsToDialog((wxSize
const &)*arg2
);
28577 wxPyEndAllowThreads(__tstate
);
28578 if (PyErr_Occurred()) SWIG_fail
;
28581 wxSize
* resultptr
;
28582 resultptr
= new wxSize((wxSize
&)(result
));
28583 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
28591 static PyObject
*_wrap_Window_WarpPointer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28592 PyObject
*resultobj
;
28593 wxWindow
*arg1
= (wxWindow
*) 0 ;
28596 PyObject
* obj0
= 0 ;
28597 PyObject
* obj1
= 0 ;
28598 PyObject
* obj2
= 0 ;
28599 char *kwnames
[] = {
28600 (char *) "self",(char *) "x",(char *) "y", NULL
28603 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_WarpPointer",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
28604 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28605 if (SWIG_arg_fail(1)) SWIG_fail
;
28607 arg2
= (int)(SWIG_As_int(obj1
));
28608 if (SWIG_arg_fail(2)) SWIG_fail
;
28611 arg3
= (int)(SWIG_As_int(obj2
));
28612 if (SWIG_arg_fail(3)) SWIG_fail
;
28615 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28616 (arg1
)->WarpPointer(arg2
,arg3
);
28618 wxPyEndAllowThreads(__tstate
);
28619 if (PyErr_Occurred()) SWIG_fail
;
28621 Py_INCREF(Py_None
); resultobj
= Py_None
;
28628 static PyObject
*_wrap_Window_CaptureMouse(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28629 PyObject
*resultobj
;
28630 wxWindow
*arg1
= (wxWindow
*) 0 ;
28631 PyObject
* obj0
= 0 ;
28632 char *kwnames
[] = {
28633 (char *) "self", NULL
28636 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_CaptureMouse",kwnames
,&obj0
)) goto fail
;
28637 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28638 if (SWIG_arg_fail(1)) SWIG_fail
;
28640 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28641 (arg1
)->CaptureMouse();
28643 wxPyEndAllowThreads(__tstate
);
28644 if (PyErr_Occurred()) SWIG_fail
;
28646 Py_INCREF(Py_None
); resultobj
= Py_None
;
28653 static PyObject
*_wrap_Window_ReleaseMouse(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28654 PyObject
*resultobj
;
28655 wxWindow
*arg1
= (wxWindow
*) 0 ;
28656 PyObject
* obj0
= 0 ;
28657 char *kwnames
[] = {
28658 (char *) "self", NULL
28661 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_ReleaseMouse",kwnames
,&obj0
)) goto fail
;
28662 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28663 if (SWIG_arg_fail(1)) SWIG_fail
;
28665 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28666 (arg1
)->ReleaseMouse();
28668 wxPyEndAllowThreads(__tstate
);
28669 if (PyErr_Occurred()) SWIG_fail
;
28671 Py_INCREF(Py_None
); resultobj
= Py_None
;
28678 static PyObject
*_wrap_Window_GetCapture(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28679 PyObject
*resultobj
;
28681 char *kwnames
[] = {
28685 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Window_GetCapture",kwnames
)) goto fail
;
28687 if (!wxPyCheckForApp()) SWIG_fail
;
28688 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28689 result
= (wxWindow
*)wxWindow::GetCapture();
28691 wxPyEndAllowThreads(__tstate
);
28692 if (PyErr_Occurred()) SWIG_fail
;
28695 resultobj
= wxPyMake_wxObject(result
, 0);
28703 static PyObject
*_wrap_Window_HasCapture(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28704 PyObject
*resultobj
;
28705 wxWindow
*arg1
= (wxWindow
*) 0 ;
28707 PyObject
* obj0
= 0 ;
28708 char *kwnames
[] = {
28709 (char *) "self", NULL
28712 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_HasCapture",kwnames
,&obj0
)) goto fail
;
28713 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28714 if (SWIG_arg_fail(1)) SWIG_fail
;
28716 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28717 result
= (bool)((wxWindow
const *)arg1
)->HasCapture();
28719 wxPyEndAllowThreads(__tstate
);
28720 if (PyErr_Occurred()) SWIG_fail
;
28723 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28731 static PyObject
*_wrap_Window_Refresh(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28732 PyObject
*resultobj
;
28733 wxWindow
*arg1
= (wxWindow
*) 0 ;
28734 bool arg2
= (bool) true ;
28735 wxRect
*arg3
= (wxRect
*) NULL
;
28736 PyObject
* obj0
= 0 ;
28737 PyObject
* obj1
= 0 ;
28738 PyObject
* obj2
= 0 ;
28739 char *kwnames
[] = {
28740 (char *) "self",(char *) "eraseBackground",(char *) "rect", NULL
28743 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Window_Refresh",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
28744 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28745 if (SWIG_arg_fail(1)) SWIG_fail
;
28748 arg2
= (bool)(SWIG_As_bool(obj1
));
28749 if (SWIG_arg_fail(2)) SWIG_fail
;
28753 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
28754 if (SWIG_arg_fail(3)) SWIG_fail
;
28757 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28758 (arg1
)->Refresh(arg2
,(wxRect
const *)arg3
);
28760 wxPyEndAllowThreads(__tstate
);
28761 if (PyErr_Occurred()) SWIG_fail
;
28763 Py_INCREF(Py_None
); resultobj
= Py_None
;
28770 static PyObject
*_wrap_Window_RefreshRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28771 PyObject
*resultobj
;
28772 wxWindow
*arg1
= (wxWindow
*) 0 ;
28774 bool arg3
= (bool) true ;
28776 PyObject
* obj0
= 0 ;
28777 PyObject
* obj1
= 0 ;
28778 PyObject
* obj2
= 0 ;
28779 char *kwnames
[] = {
28780 (char *) "self",(char *) "rect",(char *) "eraseBackground", NULL
28783 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_RefreshRect",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
28784 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28785 if (SWIG_arg_fail(1)) SWIG_fail
;
28788 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
28792 arg3
= (bool)(SWIG_As_bool(obj2
));
28793 if (SWIG_arg_fail(3)) SWIG_fail
;
28797 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28798 (arg1
)->RefreshRect((wxRect
const &)*arg2
,arg3
);
28800 wxPyEndAllowThreads(__tstate
);
28801 if (PyErr_Occurred()) SWIG_fail
;
28803 Py_INCREF(Py_None
); resultobj
= Py_None
;
28810 static PyObject
*_wrap_Window_Update(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28811 PyObject
*resultobj
;
28812 wxWindow
*arg1
= (wxWindow
*) 0 ;
28813 PyObject
* obj0
= 0 ;
28814 char *kwnames
[] = {
28815 (char *) "self", NULL
28818 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Update",kwnames
,&obj0
)) goto fail
;
28819 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28820 if (SWIG_arg_fail(1)) SWIG_fail
;
28822 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28825 wxPyEndAllowThreads(__tstate
);
28826 if (PyErr_Occurred()) SWIG_fail
;
28828 Py_INCREF(Py_None
); resultobj
= Py_None
;
28835 static PyObject
*_wrap_Window_ClearBackground(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28836 PyObject
*resultobj
;
28837 wxWindow
*arg1
= (wxWindow
*) 0 ;
28838 PyObject
* obj0
= 0 ;
28839 char *kwnames
[] = {
28840 (char *) "self", NULL
28843 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_ClearBackground",kwnames
,&obj0
)) goto fail
;
28844 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28845 if (SWIG_arg_fail(1)) SWIG_fail
;
28847 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28848 (arg1
)->ClearBackground();
28850 wxPyEndAllowThreads(__tstate
);
28851 if (PyErr_Occurred()) SWIG_fail
;
28853 Py_INCREF(Py_None
); resultobj
= Py_None
;
28860 static PyObject
*_wrap_Window_Freeze(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28861 PyObject
*resultobj
;
28862 wxWindow
*arg1
= (wxWindow
*) 0 ;
28863 PyObject
* obj0
= 0 ;
28864 char *kwnames
[] = {
28865 (char *) "self", NULL
28868 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Freeze",kwnames
,&obj0
)) goto fail
;
28869 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28870 if (SWIG_arg_fail(1)) SWIG_fail
;
28872 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28875 wxPyEndAllowThreads(__tstate
);
28876 if (PyErr_Occurred()) SWIG_fail
;
28878 Py_INCREF(Py_None
); resultobj
= Py_None
;
28885 static PyObject
*_wrap_Window_Thaw(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28886 PyObject
*resultobj
;
28887 wxWindow
*arg1
= (wxWindow
*) 0 ;
28888 PyObject
* obj0
= 0 ;
28889 char *kwnames
[] = {
28890 (char *) "self", NULL
28893 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Thaw",kwnames
,&obj0
)) goto fail
;
28894 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28895 if (SWIG_arg_fail(1)) SWIG_fail
;
28897 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28900 wxPyEndAllowThreads(__tstate
);
28901 if (PyErr_Occurred()) SWIG_fail
;
28903 Py_INCREF(Py_None
); resultobj
= Py_None
;
28910 static PyObject
*_wrap_Window_PrepareDC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28911 PyObject
*resultobj
;
28912 wxWindow
*arg1
= (wxWindow
*) 0 ;
28914 PyObject
* obj0
= 0 ;
28915 PyObject
* obj1
= 0 ;
28916 char *kwnames
[] = {
28917 (char *) "self",(char *) "dc", NULL
28920 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_PrepareDC",kwnames
,&obj0
,&obj1
)) 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 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
28925 if (SWIG_arg_fail(2)) SWIG_fail
;
28926 if (arg2
== NULL
) {
28927 SWIG_null_ref("wxDC");
28929 if (SWIG_arg_fail(2)) SWIG_fail
;
28932 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28933 (arg1
)->PrepareDC(*arg2
);
28935 wxPyEndAllowThreads(__tstate
);
28936 if (PyErr_Occurred()) SWIG_fail
;
28938 Py_INCREF(Py_None
); resultobj
= Py_None
;
28945 static PyObject
*_wrap_Window_GetUpdateRegion(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28946 PyObject
*resultobj
;
28947 wxWindow
*arg1
= (wxWindow
*) 0 ;
28949 PyObject
* obj0
= 0 ;
28950 char *kwnames
[] = {
28951 (char *) "self", NULL
28954 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetUpdateRegion",kwnames
,&obj0
)) goto fail
;
28955 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28956 if (SWIG_arg_fail(1)) SWIG_fail
;
28958 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28960 wxRegion
&_result_ref
= (arg1
)->GetUpdateRegion();
28961 result
= (wxRegion
*) &_result_ref
;
28964 wxPyEndAllowThreads(__tstate
);
28965 if (PyErr_Occurred()) SWIG_fail
;
28967 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRegion
, 0);
28974 static PyObject
*_wrap_Window_GetUpdateClientRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28975 PyObject
*resultobj
;
28976 wxWindow
*arg1
= (wxWindow
*) 0 ;
28978 PyObject
* obj0
= 0 ;
28979 char *kwnames
[] = {
28980 (char *) "self", NULL
28983 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetUpdateClientRect",kwnames
,&obj0
)) goto fail
;
28984 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28985 if (SWIG_arg_fail(1)) SWIG_fail
;
28987 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28988 result
= ((wxWindow
const *)arg1
)->GetUpdateClientRect();
28990 wxPyEndAllowThreads(__tstate
);
28991 if (PyErr_Occurred()) SWIG_fail
;
28994 wxRect
* resultptr
;
28995 resultptr
= new wxRect((wxRect
&)(result
));
28996 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
29004 static PyObject
*_wrap_Window_IsExposed(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29005 PyObject
*resultobj
;
29006 wxWindow
*arg1
= (wxWindow
*) 0 ;
29009 int arg4
= (int) 1 ;
29010 int arg5
= (int) 1 ;
29012 PyObject
* obj0
= 0 ;
29013 PyObject
* obj1
= 0 ;
29014 PyObject
* obj2
= 0 ;
29015 PyObject
* obj3
= 0 ;
29016 PyObject
* obj4
= 0 ;
29017 char *kwnames
[] = {
29018 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
29021 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:Window_IsExposed",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
29022 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29023 if (SWIG_arg_fail(1)) SWIG_fail
;
29025 arg2
= (int)(SWIG_As_int(obj1
));
29026 if (SWIG_arg_fail(2)) SWIG_fail
;
29029 arg3
= (int)(SWIG_As_int(obj2
));
29030 if (SWIG_arg_fail(3)) SWIG_fail
;
29034 arg4
= (int)(SWIG_As_int(obj3
));
29035 if (SWIG_arg_fail(4)) SWIG_fail
;
29040 arg5
= (int)(SWIG_As_int(obj4
));
29041 if (SWIG_arg_fail(5)) SWIG_fail
;
29045 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29046 result
= (bool)((wxWindow
const *)arg1
)->IsExposed(arg2
,arg3
,arg4
,arg5
);
29048 wxPyEndAllowThreads(__tstate
);
29049 if (PyErr_Occurred()) SWIG_fail
;
29052 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29060 static PyObject
*_wrap_Window_IsExposedPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29061 PyObject
*resultobj
;
29062 wxWindow
*arg1
= (wxWindow
*) 0 ;
29063 wxPoint
*arg2
= 0 ;
29066 PyObject
* obj0
= 0 ;
29067 PyObject
* obj1
= 0 ;
29068 char *kwnames
[] = {
29069 (char *) "self",(char *) "pt", NULL
29072 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_IsExposedPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
29073 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29074 if (SWIG_arg_fail(1)) SWIG_fail
;
29077 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
29080 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29081 result
= (bool)((wxWindow
const *)arg1
)->IsExposed((wxPoint
const &)*arg2
);
29083 wxPyEndAllowThreads(__tstate
);
29084 if (PyErr_Occurred()) SWIG_fail
;
29087 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29095 static PyObject
*_wrap_Window_IsExposedRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29096 PyObject
*resultobj
;
29097 wxWindow
*arg1
= (wxWindow
*) 0 ;
29101 PyObject
* obj0
= 0 ;
29102 PyObject
* obj1
= 0 ;
29103 char *kwnames
[] = {
29104 (char *) "self",(char *) "rect", NULL
29107 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_IsExposedRect",kwnames
,&obj0
,&obj1
)) goto fail
;
29108 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29109 if (SWIG_arg_fail(1)) SWIG_fail
;
29112 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
29115 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29116 result
= (bool)((wxWindow
const *)arg1
)->IsExposed((wxRect
const &)*arg2
);
29118 wxPyEndAllowThreads(__tstate
);
29119 if (PyErr_Occurred()) SWIG_fail
;
29122 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29130 static PyObject
*_wrap_Window_GetDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29131 PyObject
*resultobj
;
29132 wxWindow
*arg1
= (wxWindow
*) 0 ;
29133 wxVisualAttributes result
;
29134 PyObject
* obj0
= 0 ;
29135 char *kwnames
[] = {
29136 (char *) "self", NULL
29139 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetDefaultAttributes",kwnames
,&obj0
)) goto fail
;
29140 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29141 if (SWIG_arg_fail(1)) SWIG_fail
;
29143 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29144 result
= ((wxWindow
const *)arg1
)->GetDefaultAttributes();
29146 wxPyEndAllowThreads(__tstate
);
29147 if (PyErr_Occurred()) SWIG_fail
;
29150 wxVisualAttributes
* resultptr
;
29151 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
29152 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
29160 static PyObject
*_wrap_Window_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29161 PyObject
*resultobj
;
29162 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
29163 wxVisualAttributes result
;
29164 PyObject
* obj0
= 0 ;
29165 char *kwnames
[] = {
29166 (char *) "variant", NULL
29169 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Window_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
29172 arg1
= (wxWindowVariant
)(SWIG_As_int(obj0
));
29173 if (SWIG_arg_fail(1)) SWIG_fail
;
29177 if (!wxPyCheckForApp()) SWIG_fail
;
29178 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29179 result
= wxWindow::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
29181 wxPyEndAllowThreads(__tstate
);
29182 if (PyErr_Occurred()) SWIG_fail
;
29185 wxVisualAttributes
* resultptr
;
29186 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
29187 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
29195 static PyObject
*_wrap_Window_SetBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29196 PyObject
*resultobj
;
29197 wxWindow
*arg1
= (wxWindow
*) 0 ;
29198 wxColour
*arg2
= 0 ;
29201 PyObject
* obj0
= 0 ;
29202 PyObject
* obj1
= 0 ;
29203 char *kwnames
[] = {
29204 (char *) "self",(char *) "colour", NULL
29207 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
29208 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29209 if (SWIG_arg_fail(1)) SWIG_fail
;
29212 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
29215 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29216 result
= (bool)(arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
29218 wxPyEndAllowThreads(__tstate
);
29219 if (PyErr_Occurred()) SWIG_fail
;
29222 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29230 static PyObject
*_wrap_Window_SetOwnBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29231 PyObject
*resultobj
;
29232 wxWindow
*arg1
= (wxWindow
*) 0 ;
29233 wxColour
*arg2
= 0 ;
29235 PyObject
* obj0
= 0 ;
29236 PyObject
* obj1
= 0 ;
29237 char *kwnames
[] = {
29238 (char *) "self",(char *) "colour", NULL
29241 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetOwnBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
29242 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29243 if (SWIG_arg_fail(1)) SWIG_fail
;
29246 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
29249 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29250 (arg1
)->SetOwnBackgroundColour((wxColour
const &)*arg2
);
29252 wxPyEndAllowThreads(__tstate
);
29253 if (PyErr_Occurred()) SWIG_fail
;
29255 Py_INCREF(Py_None
); resultobj
= Py_None
;
29262 static PyObject
*_wrap_Window_SetForegroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29263 PyObject
*resultobj
;
29264 wxWindow
*arg1
= (wxWindow
*) 0 ;
29265 wxColour
*arg2
= 0 ;
29268 PyObject
* obj0
= 0 ;
29269 PyObject
* obj1
= 0 ;
29270 char *kwnames
[] = {
29271 (char *) "self",(char *) "colour", NULL
29274 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetForegroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
29275 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29276 if (SWIG_arg_fail(1)) SWIG_fail
;
29279 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
29282 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29283 result
= (bool)(arg1
)->SetForegroundColour((wxColour
const &)*arg2
);
29285 wxPyEndAllowThreads(__tstate
);
29286 if (PyErr_Occurred()) SWIG_fail
;
29289 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29297 static PyObject
*_wrap_Window_SetOwnForegroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29298 PyObject
*resultobj
;
29299 wxWindow
*arg1
= (wxWindow
*) 0 ;
29300 wxColour
*arg2
= 0 ;
29302 PyObject
* obj0
= 0 ;
29303 PyObject
* obj1
= 0 ;
29304 char *kwnames
[] = {
29305 (char *) "self",(char *) "colour", NULL
29308 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetOwnForegroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
29309 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29310 if (SWIG_arg_fail(1)) SWIG_fail
;
29313 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
29316 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29317 (arg1
)->SetOwnForegroundColour((wxColour
const &)*arg2
);
29319 wxPyEndAllowThreads(__tstate
);
29320 if (PyErr_Occurred()) SWIG_fail
;
29322 Py_INCREF(Py_None
); resultobj
= Py_None
;
29329 static PyObject
*_wrap_Window_GetBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29330 PyObject
*resultobj
;
29331 wxWindow
*arg1
= (wxWindow
*) 0 ;
29333 PyObject
* obj0
= 0 ;
29334 char *kwnames
[] = {
29335 (char *) "self", NULL
29338 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetBackgroundColour",kwnames
,&obj0
)) goto fail
;
29339 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29340 if (SWIG_arg_fail(1)) SWIG_fail
;
29342 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29343 result
= ((wxWindow
const *)arg1
)->GetBackgroundColour();
29345 wxPyEndAllowThreads(__tstate
);
29346 if (PyErr_Occurred()) SWIG_fail
;
29349 wxColour
* resultptr
;
29350 resultptr
= new wxColour((wxColour
&)(result
));
29351 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
29359 static PyObject
*_wrap_Window_GetForegroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29360 PyObject
*resultobj
;
29361 wxWindow
*arg1
= (wxWindow
*) 0 ;
29363 PyObject
* obj0
= 0 ;
29364 char *kwnames
[] = {
29365 (char *) "self", NULL
29368 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetForegroundColour",kwnames
,&obj0
)) goto fail
;
29369 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29370 if (SWIG_arg_fail(1)) SWIG_fail
;
29372 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29373 result
= ((wxWindow
const *)arg1
)->GetForegroundColour();
29375 wxPyEndAllowThreads(__tstate
);
29376 if (PyErr_Occurred()) SWIG_fail
;
29379 wxColour
* resultptr
;
29380 resultptr
= new wxColour((wxColour
&)(result
));
29381 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
29389 static PyObject
*_wrap_Window_SetBackgroundStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29390 PyObject
*resultobj
;
29391 wxWindow
*arg1
= (wxWindow
*) 0 ;
29392 wxBackgroundStyle arg2
;
29394 PyObject
* obj0
= 0 ;
29395 PyObject
* obj1
= 0 ;
29396 char *kwnames
[] = {
29397 (char *) "self",(char *) "style", NULL
29400 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetBackgroundStyle",kwnames
,&obj0
,&obj1
)) goto fail
;
29401 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29402 if (SWIG_arg_fail(1)) SWIG_fail
;
29404 arg2
= (wxBackgroundStyle
)(SWIG_As_int(obj1
));
29405 if (SWIG_arg_fail(2)) SWIG_fail
;
29408 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29409 result
= (bool)(arg1
)->SetBackgroundStyle((wxBackgroundStyle
)arg2
);
29411 wxPyEndAllowThreads(__tstate
);
29412 if (PyErr_Occurred()) SWIG_fail
;
29415 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29423 static PyObject
*_wrap_Window_GetBackgroundStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29424 PyObject
*resultobj
;
29425 wxWindow
*arg1
= (wxWindow
*) 0 ;
29426 wxBackgroundStyle result
;
29427 PyObject
* obj0
= 0 ;
29428 char *kwnames
[] = {
29429 (char *) "self", NULL
29432 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetBackgroundStyle",kwnames
,&obj0
)) goto fail
;
29433 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29434 if (SWIG_arg_fail(1)) SWIG_fail
;
29436 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29437 result
= (wxBackgroundStyle
)((wxWindow
const *)arg1
)->GetBackgroundStyle();
29439 wxPyEndAllowThreads(__tstate
);
29440 if (PyErr_Occurred()) SWIG_fail
;
29442 resultobj
= SWIG_From_int((result
));
29449 static PyObject
*_wrap_Window_HasTransparentBackground(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29450 PyObject
*resultobj
;
29451 wxWindow
*arg1
= (wxWindow
*) 0 ;
29453 PyObject
* obj0
= 0 ;
29454 char *kwnames
[] = {
29455 (char *) "self", NULL
29458 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_HasTransparentBackground",kwnames
,&obj0
)) goto fail
;
29459 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29460 if (SWIG_arg_fail(1)) SWIG_fail
;
29462 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29463 result
= (bool)(arg1
)->HasTransparentBackground();
29465 wxPyEndAllowThreads(__tstate
);
29466 if (PyErr_Occurred()) SWIG_fail
;
29469 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29477 static PyObject
*_wrap_Window_SetCursor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29478 PyObject
*resultobj
;
29479 wxWindow
*arg1
= (wxWindow
*) 0 ;
29480 wxCursor
*arg2
= 0 ;
29482 PyObject
* obj0
= 0 ;
29483 PyObject
* obj1
= 0 ;
29484 char *kwnames
[] = {
29485 (char *) "self",(char *) "cursor", NULL
29488 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetCursor",kwnames
,&obj0
,&obj1
)) goto fail
;
29489 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29490 if (SWIG_arg_fail(1)) SWIG_fail
;
29492 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxCursor
, SWIG_POINTER_EXCEPTION
| 0);
29493 if (SWIG_arg_fail(2)) SWIG_fail
;
29494 if (arg2
== NULL
) {
29495 SWIG_null_ref("wxCursor");
29497 if (SWIG_arg_fail(2)) SWIG_fail
;
29500 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29501 result
= (bool)(arg1
)->SetCursor((wxCursor
const &)*arg2
);
29503 wxPyEndAllowThreads(__tstate
);
29504 if (PyErr_Occurred()) SWIG_fail
;
29507 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29515 static PyObject
*_wrap_Window_GetCursor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29516 PyObject
*resultobj
;
29517 wxWindow
*arg1
= (wxWindow
*) 0 ;
29519 PyObject
* obj0
= 0 ;
29520 char *kwnames
[] = {
29521 (char *) "self", NULL
29524 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetCursor",kwnames
,&obj0
)) goto fail
;
29525 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29526 if (SWIG_arg_fail(1)) SWIG_fail
;
29528 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29529 result
= (arg1
)->GetCursor();
29531 wxPyEndAllowThreads(__tstate
);
29532 if (PyErr_Occurred()) SWIG_fail
;
29535 wxCursor
* resultptr
;
29536 resultptr
= new wxCursor((wxCursor
&)(result
));
29537 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxCursor
, 1);
29545 static PyObject
*_wrap_Window_SetFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29546 PyObject
*resultobj
;
29547 wxWindow
*arg1
= (wxWindow
*) 0 ;
29550 PyObject
* obj0
= 0 ;
29551 PyObject
* obj1
= 0 ;
29552 char *kwnames
[] = {
29553 (char *) "self",(char *) "font", NULL
29556 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetFont",kwnames
,&obj0
,&obj1
)) goto fail
;
29557 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29558 if (SWIG_arg_fail(1)) SWIG_fail
;
29560 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
29561 if (SWIG_arg_fail(2)) SWIG_fail
;
29562 if (arg2
== NULL
) {
29563 SWIG_null_ref("wxFont");
29565 if (SWIG_arg_fail(2)) SWIG_fail
;
29568 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29569 result
= (bool)(arg1
)->SetFont((wxFont
const &)*arg2
);
29571 wxPyEndAllowThreads(__tstate
);
29572 if (PyErr_Occurred()) SWIG_fail
;
29575 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29583 static PyObject
*_wrap_Window_SetOwnFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29584 PyObject
*resultobj
;
29585 wxWindow
*arg1
= (wxWindow
*) 0 ;
29587 PyObject
* obj0
= 0 ;
29588 PyObject
* obj1
= 0 ;
29589 char *kwnames
[] = {
29590 (char *) "self",(char *) "font", NULL
29593 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetOwnFont",kwnames
,&obj0
,&obj1
)) goto fail
;
29594 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29595 if (SWIG_arg_fail(1)) SWIG_fail
;
29597 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
29598 if (SWIG_arg_fail(2)) SWIG_fail
;
29599 if (arg2
== NULL
) {
29600 SWIG_null_ref("wxFont");
29602 if (SWIG_arg_fail(2)) SWIG_fail
;
29605 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29606 (arg1
)->SetOwnFont((wxFont
const &)*arg2
);
29608 wxPyEndAllowThreads(__tstate
);
29609 if (PyErr_Occurred()) SWIG_fail
;
29611 Py_INCREF(Py_None
); resultobj
= Py_None
;
29618 static PyObject
*_wrap_Window_GetFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29619 PyObject
*resultobj
;
29620 wxWindow
*arg1
= (wxWindow
*) 0 ;
29622 PyObject
* obj0
= 0 ;
29623 char *kwnames
[] = {
29624 (char *) "self", NULL
29627 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetFont",kwnames
,&obj0
)) goto fail
;
29628 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29629 if (SWIG_arg_fail(1)) SWIG_fail
;
29631 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29632 result
= (arg1
)->GetFont();
29634 wxPyEndAllowThreads(__tstate
);
29635 if (PyErr_Occurred()) SWIG_fail
;
29638 wxFont
* resultptr
;
29639 resultptr
= new wxFont((wxFont
&)(result
));
29640 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxFont
, 1);
29648 static PyObject
*_wrap_Window_SetCaret(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29649 PyObject
*resultobj
;
29650 wxWindow
*arg1
= (wxWindow
*) 0 ;
29651 wxCaret
*arg2
= (wxCaret
*) 0 ;
29652 PyObject
* obj0
= 0 ;
29653 PyObject
* obj1
= 0 ;
29654 char *kwnames
[] = {
29655 (char *) "self",(char *) "caret", NULL
29658 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetCaret",kwnames
,&obj0
,&obj1
)) goto fail
;
29659 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29660 if (SWIG_arg_fail(1)) SWIG_fail
;
29661 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxCaret
, SWIG_POINTER_EXCEPTION
| 0);
29662 if (SWIG_arg_fail(2)) SWIG_fail
;
29664 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29665 (arg1
)->SetCaret(arg2
);
29667 wxPyEndAllowThreads(__tstate
);
29668 if (PyErr_Occurred()) SWIG_fail
;
29670 Py_INCREF(Py_None
); resultobj
= Py_None
;
29677 static PyObject
*_wrap_Window_GetCaret(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29678 PyObject
*resultobj
;
29679 wxWindow
*arg1
= (wxWindow
*) 0 ;
29681 PyObject
* obj0
= 0 ;
29682 char *kwnames
[] = {
29683 (char *) "self", NULL
29686 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetCaret",kwnames
,&obj0
)) goto fail
;
29687 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29688 if (SWIG_arg_fail(1)) SWIG_fail
;
29690 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29691 result
= (wxCaret
*)((wxWindow
const *)arg1
)->GetCaret();
29693 wxPyEndAllowThreads(__tstate
);
29694 if (PyErr_Occurred()) SWIG_fail
;
29696 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCaret
, 0);
29703 static PyObject
*_wrap_Window_GetCharHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29704 PyObject
*resultobj
;
29705 wxWindow
*arg1
= (wxWindow
*) 0 ;
29707 PyObject
* obj0
= 0 ;
29708 char *kwnames
[] = {
29709 (char *) "self", NULL
29712 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetCharHeight",kwnames
,&obj0
)) goto fail
;
29713 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29714 if (SWIG_arg_fail(1)) SWIG_fail
;
29716 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29717 result
= (int)((wxWindow
const *)arg1
)->GetCharHeight();
29719 wxPyEndAllowThreads(__tstate
);
29720 if (PyErr_Occurred()) SWIG_fail
;
29723 resultobj
= SWIG_From_int((int)(result
));
29731 static PyObject
*_wrap_Window_GetCharWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29732 PyObject
*resultobj
;
29733 wxWindow
*arg1
= (wxWindow
*) 0 ;
29735 PyObject
* obj0
= 0 ;
29736 char *kwnames
[] = {
29737 (char *) "self", NULL
29740 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetCharWidth",kwnames
,&obj0
)) goto fail
;
29741 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29742 if (SWIG_arg_fail(1)) SWIG_fail
;
29744 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29745 result
= (int)((wxWindow
const *)arg1
)->GetCharWidth();
29747 wxPyEndAllowThreads(__tstate
);
29748 if (PyErr_Occurred()) SWIG_fail
;
29751 resultobj
= SWIG_From_int((int)(result
));
29759 static PyObject
*_wrap_Window_GetTextExtent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29760 PyObject
*resultobj
;
29761 wxWindow
*arg1
= (wxWindow
*) 0 ;
29762 wxString
*arg2
= 0 ;
29763 int *arg3
= (int *) 0 ;
29764 int *arg4
= (int *) 0 ;
29765 bool temp2
= false ;
29770 PyObject
* obj0
= 0 ;
29771 PyObject
* obj1
= 0 ;
29772 char *kwnames
[] = {
29773 (char *) "self",(char *) "string", NULL
29776 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
29777 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
29778 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_GetTextExtent",kwnames
,&obj0
,&obj1
)) goto fail
;
29779 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29780 if (SWIG_arg_fail(1)) SWIG_fail
;
29782 arg2
= wxString_in_helper(obj1
);
29783 if (arg2
== NULL
) SWIG_fail
;
29787 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29788 (arg1
)->GetTextExtent((wxString
const &)*arg2
,arg3
,arg4
);
29790 wxPyEndAllowThreads(__tstate
);
29791 if (PyErr_Occurred()) SWIG_fail
;
29793 Py_INCREF(Py_None
); resultobj
= Py_None
;
29794 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
29795 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
29796 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
29797 SWIG_From_int((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, 0)));
29812 static PyObject
*_wrap_Window_GetFullTextExtent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29813 PyObject
*resultobj
;
29814 wxWindow
*arg1
= (wxWindow
*) 0 ;
29815 wxString
*arg2
= 0 ;
29816 int *arg3
= (int *) 0 ;
29817 int *arg4
= (int *) 0 ;
29818 int *arg5
= (int *) 0 ;
29819 int *arg6
= (int *) 0 ;
29820 wxFont
*arg7
= (wxFont
*) NULL
;
29821 bool temp2
= false ;
29830 PyObject
* obj0
= 0 ;
29831 PyObject
* obj1
= 0 ;
29832 PyObject
* obj2
= 0 ;
29833 char *kwnames
[] = {
29834 (char *) "self",(char *) "string",(char *) "font", NULL
29837 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
29838 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
29839 arg5
= &temp5
; res5
= SWIG_NEWOBJ
;
29840 arg6
= &temp6
; res6
= SWIG_NEWOBJ
;
29841 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_GetFullTextExtent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29842 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29843 if (SWIG_arg_fail(1)) SWIG_fail
;
29845 arg2
= wxString_in_helper(obj1
);
29846 if (arg2
== NULL
) SWIG_fail
;
29850 SWIG_Python_ConvertPtr(obj2
, (void **)&arg7
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
29851 if (SWIG_arg_fail(7)) SWIG_fail
;
29854 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29855 (arg1
)->GetTextExtent((wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
,(wxFont
const *)arg7
);
29857 wxPyEndAllowThreads(__tstate
);
29858 if (PyErr_Occurred()) SWIG_fail
;
29860 Py_INCREF(Py_None
); resultobj
= Py_None
;
29861 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
29862 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
29863 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
29864 SWIG_From_int((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, 0)));
29865 resultobj
= t_output_helper(resultobj
, ((res5
== SWIG_NEWOBJ
) ?
29866 SWIG_From_int((*arg5
)) : SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, 0)));
29867 resultobj
= t_output_helper(resultobj
, ((res6
== SWIG_NEWOBJ
) ?
29868 SWIG_From_int((*arg6
)) : SWIG_NewPointerObj((void*)(arg6
), SWIGTYPE_p_int
, 0)));
29883 static PyObject
*_wrap_Window_ClientToScreenXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29884 PyObject
*resultobj
;
29885 wxWindow
*arg1
= (wxWindow
*) 0 ;
29886 int *arg2
= (int *) 0 ;
29887 int *arg3
= (int *) 0 ;
29892 PyObject
* obj0
= 0 ;
29893 PyObject
* obj1
= 0 ;
29894 PyObject
* obj2
= 0 ;
29895 char *kwnames
[] = {
29896 (char *) "self",(char *) "x",(char *) "y", NULL
29899 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_ClientToScreenXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29900 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29901 if (SWIG_arg_fail(1)) SWIG_fail
;
29903 if (!(SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_int
,0) != -1)) {
29904 temp2
= SWIG_As_int(obj1
);
29905 if (SWIG_arg_fail(2)) SWIG_fail
;
29907 res2
= SWIG_NEWOBJ
;
29911 if (!(SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_int
,0) != -1)) {
29912 temp3
= SWIG_As_int(obj2
);
29913 if (SWIG_arg_fail(3)) SWIG_fail
;
29915 res3
= SWIG_NEWOBJ
;
29919 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29920 ((wxWindow
const *)arg1
)->ClientToScreen(arg2
,arg3
);
29922 wxPyEndAllowThreads(__tstate
);
29923 if (PyErr_Occurred()) SWIG_fail
;
29925 Py_INCREF(Py_None
); resultobj
= Py_None
;
29926 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
29927 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
29928 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
29929 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
29936 static PyObject
*_wrap_Window_ScreenToClientXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29937 PyObject
*resultobj
;
29938 wxWindow
*arg1
= (wxWindow
*) 0 ;
29939 int *arg2
= (int *) 0 ;
29940 int *arg3
= (int *) 0 ;
29945 PyObject
* obj0
= 0 ;
29946 PyObject
* obj1
= 0 ;
29947 PyObject
* obj2
= 0 ;
29948 char *kwnames
[] = {
29949 (char *) "self",(char *) "x",(char *) "y", NULL
29952 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_ScreenToClientXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29953 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29954 if (SWIG_arg_fail(1)) SWIG_fail
;
29956 if (!(SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_int
,0) != -1)) {
29957 temp2
= SWIG_As_int(obj1
);
29958 if (SWIG_arg_fail(2)) SWIG_fail
;
29960 res2
= SWIG_NEWOBJ
;
29964 if (!(SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_int
,0) != -1)) {
29965 temp3
= SWIG_As_int(obj2
);
29966 if (SWIG_arg_fail(3)) SWIG_fail
;
29968 res3
= SWIG_NEWOBJ
;
29972 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29973 ((wxWindow
const *)arg1
)->ScreenToClient(arg2
,arg3
);
29975 wxPyEndAllowThreads(__tstate
);
29976 if (PyErr_Occurred()) SWIG_fail
;
29978 Py_INCREF(Py_None
); resultobj
= Py_None
;
29979 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
29980 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
29981 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
29982 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
29989 static PyObject
*_wrap_Window_ClientToScreen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29990 PyObject
*resultobj
;
29991 wxWindow
*arg1
= (wxWindow
*) 0 ;
29992 wxPoint
*arg2
= 0 ;
29995 PyObject
* obj0
= 0 ;
29996 PyObject
* obj1
= 0 ;
29997 char *kwnames
[] = {
29998 (char *) "self",(char *) "pt", NULL
30001 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ClientToScreen",kwnames
,&obj0
,&obj1
)) goto fail
;
30002 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30003 if (SWIG_arg_fail(1)) SWIG_fail
;
30006 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
30009 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30010 result
= ((wxWindow
const *)arg1
)->ClientToScreen((wxPoint
const &)*arg2
);
30012 wxPyEndAllowThreads(__tstate
);
30013 if (PyErr_Occurred()) SWIG_fail
;
30016 wxPoint
* resultptr
;
30017 resultptr
= new wxPoint((wxPoint
&)(result
));
30018 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
30026 static PyObject
*_wrap_Window_ScreenToClient(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30027 PyObject
*resultobj
;
30028 wxWindow
*arg1
= (wxWindow
*) 0 ;
30029 wxPoint
*arg2
= 0 ;
30032 PyObject
* obj0
= 0 ;
30033 PyObject
* obj1
= 0 ;
30034 char *kwnames
[] = {
30035 (char *) "self",(char *) "pt", NULL
30038 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ScreenToClient",kwnames
,&obj0
,&obj1
)) goto fail
;
30039 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30040 if (SWIG_arg_fail(1)) SWIG_fail
;
30043 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
30046 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30047 result
= ((wxWindow
const *)arg1
)->ScreenToClient((wxPoint
const &)*arg2
);
30049 wxPyEndAllowThreads(__tstate
);
30050 if (PyErr_Occurred()) SWIG_fail
;
30053 wxPoint
* resultptr
;
30054 resultptr
= new wxPoint((wxPoint
&)(result
));
30055 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
30063 static PyObject
*_wrap_Window_HitTestXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30064 PyObject
*resultobj
;
30065 wxWindow
*arg1
= (wxWindow
*) 0 ;
30069 PyObject
* obj0
= 0 ;
30070 PyObject
* obj1
= 0 ;
30071 PyObject
* obj2
= 0 ;
30072 char *kwnames
[] = {
30073 (char *) "self",(char *) "x",(char *) "y", NULL
30076 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_HitTestXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
30077 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30078 if (SWIG_arg_fail(1)) SWIG_fail
;
30080 arg2
= (int)(SWIG_As_int(obj1
));
30081 if (SWIG_arg_fail(2)) SWIG_fail
;
30084 arg3
= (int)(SWIG_As_int(obj2
));
30085 if (SWIG_arg_fail(3)) SWIG_fail
;
30088 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30089 result
= (wxHitTest
)((wxWindow
const *)arg1
)->HitTest(arg2
,arg3
);
30091 wxPyEndAllowThreads(__tstate
);
30092 if (PyErr_Occurred()) SWIG_fail
;
30094 resultobj
= SWIG_From_int((result
));
30101 static PyObject
*_wrap_Window_HitTest(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30102 PyObject
*resultobj
;
30103 wxWindow
*arg1
= (wxWindow
*) 0 ;
30104 wxPoint
*arg2
= 0 ;
30107 PyObject
* obj0
= 0 ;
30108 PyObject
* obj1
= 0 ;
30109 char *kwnames
[] = {
30110 (char *) "self",(char *) "pt", NULL
30113 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
30114 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30115 if (SWIG_arg_fail(1)) SWIG_fail
;
30118 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
30121 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30122 result
= (wxHitTest
)((wxWindow
const *)arg1
)->HitTest((wxPoint
const &)*arg2
);
30124 wxPyEndAllowThreads(__tstate
);
30125 if (PyErr_Occurred()) SWIG_fail
;
30127 resultobj
= SWIG_From_int((result
));
30134 static PyObject
*_wrap_Window_GetBorder__SWIG_0(PyObject
*, PyObject
*args
) {
30135 PyObject
*resultobj
;
30136 wxWindow
*arg1
= (wxWindow
*) 0 ;
30139 PyObject
* obj0
= 0 ;
30140 PyObject
* obj1
= 0 ;
30142 if(!PyArg_ParseTuple(args
,(char *)"OO:Window_GetBorder",&obj0
,&obj1
)) goto fail
;
30143 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30144 if (SWIG_arg_fail(1)) SWIG_fail
;
30146 arg2
= (long)(SWIG_As_long(obj1
));
30147 if (SWIG_arg_fail(2)) SWIG_fail
;
30150 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30151 result
= (wxBorder
)((wxWindow
const *)arg1
)->GetBorder(arg2
);
30153 wxPyEndAllowThreads(__tstate
);
30154 if (PyErr_Occurred()) SWIG_fail
;
30156 resultobj
= SWIG_From_int((result
));
30163 static PyObject
*_wrap_Window_GetBorder__SWIG_1(PyObject
*, PyObject
*args
) {
30164 PyObject
*resultobj
;
30165 wxWindow
*arg1
= (wxWindow
*) 0 ;
30167 PyObject
* obj0
= 0 ;
30169 if(!PyArg_ParseTuple(args
,(char *)"O:Window_GetBorder",&obj0
)) goto fail
;
30170 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30171 if (SWIG_arg_fail(1)) SWIG_fail
;
30173 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30174 result
= (wxBorder
)((wxWindow
const *)arg1
)->GetBorder();
30176 wxPyEndAllowThreads(__tstate
);
30177 if (PyErr_Occurred()) SWIG_fail
;
30179 resultobj
= SWIG_From_int((result
));
30186 static PyObject
*_wrap_Window_GetBorder(PyObject
*self
, PyObject
*args
) {
30191 argc
= PyObject_Length(args
);
30192 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
30193 argv
[ii
] = PyTuple_GetItem(args
,ii
);
30199 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
30207 return _wrap_Window_GetBorder__SWIG_1(self
,args
);
30214 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
30222 _v
= SWIG_Check_long(argv
[1]);
30224 return _wrap_Window_GetBorder__SWIG_0(self
,args
);
30229 PyErr_SetString(PyExc_NotImplementedError
,"No matching function for overloaded 'Window_GetBorder'");
30234 static PyObject
*_wrap_Window_UpdateWindowUI(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30235 PyObject
*resultobj
;
30236 wxWindow
*arg1
= (wxWindow
*) 0 ;
30237 long arg2
= (long) wxUPDATE_UI_NONE
;
30238 PyObject
* obj0
= 0 ;
30239 PyObject
* obj1
= 0 ;
30240 char *kwnames
[] = {
30241 (char *) "self",(char *) "flags", NULL
30244 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_UpdateWindowUI",kwnames
,&obj0
,&obj1
)) goto fail
;
30245 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30246 if (SWIG_arg_fail(1)) SWIG_fail
;
30249 arg2
= (long)(SWIG_As_long(obj1
));
30250 if (SWIG_arg_fail(2)) SWIG_fail
;
30254 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30255 (arg1
)->UpdateWindowUI(arg2
);
30257 wxPyEndAllowThreads(__tstate
);
30258 if (PyErr_Occurred()) SWIG_fail
;
30260 Py_INCREF(Py_None
); resultobj
= Py_None
;
30267 static PyObject
*_wrap_Window_PopupMenuXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30268 PyObject
*resultobj
;
30269 wxWindow
*arg1
= (wxWindow
*) 0 ;
30270 wxMenu
*arg2
= (wxMenu
*) 0 ;
30271 int arg3
= (int) -1 ;
30272 int arg4
= (int) -1 ;
30274 PyObject
* obj0
= 0 ;
30275 PyObject
* obj1
= 0 ;
30276 PyObject
* obj2
= 0 ;
30277 PyObject
* obj3
= 0 ;
30278 char *kwnames
[] = {
30279 (char *) "self",(char *) "menu",(char *) "x",(char *) "y", NULL
30282 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:Window_PopupMenuXY",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
30283 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30284 if (SWIG_arg_fail(1)) SWIG_fail
;
30285 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
30286 if (SWIG_arg_fail(2)) SWIG_fail
;
30289 arg3
= (int)(SWIG_As_int(obj2
));
30290 if (SWIG_arg_fail(3)) SWIG_fail
;
30295 arg4
= (int)(SWIG_As_int(obj3
));
30296 if (SWIG_arg_fail(4)) SWIG_fail
;
30300 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30301 result
= (bool)(arg1
)->PopupMenu(arg2
,arg3
,arg4
);
30303 wxPyEndAllowThreads(__tstate
);
30304 if (PyErr_Occurred()) SWIG_fail
;
30307 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30315 static PyObject
*_wrap_Window_PopupMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30316 PyObject
*resultobj
;
30317 wxWindow
*arg1
= (wxWindow
*) 0 ;
30318 wxMenu
*arg2
= (wxMenu
*) 0 ;
30319 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
30320 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
30323 PyObject
* obj0
= 0 ;
30324 PyObject
* obj1
= 0 ;
30325 PyObject
* obj2
= 0 ;
30326 char *kwnames
[] = {
30327 (char *) "self",(char *) "menu",(char *) "pos", NULL
30330 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_PopupMenu",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
30331 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30332 if (SWIG_arg_fail(1)) SWIG_fail
;
30333 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
30334 if (SWIG_arg_fail(2)) SWIG_fail
;
30338 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
30342 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30343 result
= (bool)(arg1
)->PopupMenu(arg2
,(wxPoint
const &)*arg3
);
30345 wxPyEndAllowThreads(__tstate
);
30346 if (PyErr_Occurred()) SWIG_fail
;
30349 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30357 static PyObject
*_wrap_Window_GetHandle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30358 PyObject
*resultobj
;
30359 wxWindow
*arg1
= (wxWindow
*) 0 ;
30361 PyObject
* obj0
= 0 ;
30362 char *kwnames
[] = {
30363 (char *) "self", NULL
30366 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetHandle",kwnames
,&obj0
)) goto fail
;
30367 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30368 if (SWIG_arg_fail(1)) SWIG_fail
;
30370 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30371 result
= (long)wxWindow_GetHandle(arg1
);
30373 wxPyEndAllowThreads(__tstate
);
30374 if (PyErr_Occurred()) SWIG_fail
;
30377 resultobj
= SWIG_From_long((long)(result
));
30385 static PyObject
*_wrap_Window_AssociateHandle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30386 PyObject
*resultobj
;
30387 wxWindow
*arg1
= (wxWindow
*) 0 ;
30389 PyObject
* obj0
= 0 ;
30390 PyObject
* obj1
= 0 ;
30391 char *kwnames
[] = {
30392 (char *) "self",(char *) "handle", NULL
30395 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_AssociateHandle",kwnames
,&obj0
,&obj1
)) goto fail
;
30396 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30397 if (SWIG_arg_fail(1)) SWIG_fail
;
30399 arg2
= (long)(SWIG_As_long(obj1
));
30400 if (SWIG_arg_fail(2)) SWIG_fail
;
30403 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30404 wxWindow_AssociateHandle(arg1
,arg2
);
30406 wxPyEndAllowThreads(__tstate
);
30407 if (PyErr_Occurred()) SWIG_fail
;
30409 Py_INCREF(Py_None
); resultobj
= Py_None
;
30416 static PyObject
*_wrap_Window_DissociateHandle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30417 PyObject
*resultobj
;
30418 wxWindow
*arg1
= (wxWindow
*) 0 ;
30419 PyObject
* obj0
= 0 ;
30420 char *kwnames
[] = {
30421 (char *) "self", NULL
30424 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_DissociateHandle",kwnames
,&obj0
)) goto fail
;
30425 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30426 if (SWIG_arg_fail(1)) SWIG_fail
;
30428 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30429 (arg1
)->DissociateHandle();
30431 wxPyEndAllowThreads(__tstate
);
30432 if (PyErr_Occurred()) SWIG_fail
;
30434 Py_INCREF(Py_None
); resultobj
= Py_None
;
30441 static PyObject
*_wrap_Window_HasScrollbar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30442 PyObject
*resultobj
;
30443 wxWindow
*arg1
= (wxWindow
*) 0 ;
30446 PyObject
* obj0
= 0 ;
30447 PyObject
* obj1
= 0 ;
30448 char *kwnames
[] = {
30449 (char *) "self",(char *) "orient", NULL
30452 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_HasScrollbar",kwnames
,&obj0
,&obj1
)) goto fail
;
30453 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30454 if (SWIG_arg_fail(1)) SWIG_fail
;
30456 arg2
= (int)(SWIG_As_int(obj1
));
30457 if (SWIG_arg_fail(2)) SWIG_fail
;
30460 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30461 result
= (bool)((wxWindow
const *)arg1
)->HasScrollbar(arg2
);
30463 wxPyEndAllowThreads(__tstate
);
30464 if (PyErr_Occurred()) SWIG_fail
;
30467 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30475 static PyObject
*_wrap_Window_SetScrollbar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30476 PyObject
*resultobj
;
30477 wxWindow
*arg1
= (wxWindow
*) 0 ;
30482 bool arg6
= (bool) true ;
30483 PyObject
* obj0
= 0 ;
30484 PyObject
* obj1
= 0 ;
30485 PyObject
* obj2
= 0 ;
30486 PyObject
* obj3
= 0 ;
30487 PyObject
* obj4
= 0 ;
30488 PyObject
* obj5
= 0 ;
30489 char *kwnames
[] = {
30490 (char *) "self",(char *) "orientation",(char *) "position",(char *) "thumbSize",(char *) "range",(char *) "refresh", NULL
30493 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:Window_SetScrollbar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
30494 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30495 if (SWIG_arg_fail(1)) SWIG_fail
;
30497 arg2
= (int)(SWIG_As_int(obj1
));
30498 if (SWIG_arg_fail(2)) SWIG_fail
;
30501 arg3
= (int)(SWIG_As_int(obj2
));
30502 if (SWIG_arg_fail(3)) SWIG_fail
;
30505 arg4
= (int)(SWIG_As_int(obj3
));
30506 if (SWIG_arg_fail(4)) SWIG_fail
;
30509 arg5
= (int)(SWIG_As_int(obj4
));
30510 if (SWIG_arg_fail(5)) SWIG_fail
;
30514 arg6
= (bool)(SWIG_As_bool(obj5
));
30515 if (SWIG_arg_fail(6)) SWIG_fail
;
30519 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30520 (arg1
)->SetScrollbar(arg2
,arg3
,arg4
,arg5
,arg6
);
30522 wxPyEndAllowThreads(__tstate
);
30523 if (PyErr_Occurred()) SWIG_fail
;
30525 Py_INCREF(Py_None
); resultobj
= Py_None
;
30532 static PyObject
*_wrap_Window_SetScrollPos(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30533 PyObject
*resultobj
;
30534 wxWindow
*arg1
= (wxWindow
*) 0 ;
30537 bool arg4
= (bool) true ;
30538 PyObject
* obj0
= 0 ;
30539 PyObject
* obj1
= 0 ;
30540 PyObject
* obj2
= 0 ;
30541 PyObject
* obj3
= 0 ;
30542 char *kwnames
[] = {
30543 (char *) "self",(char *) "orientation",(char *) "pos",(char *) "refresh", NULL
30546 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Window_SetScrollPos",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
30547 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30548 if (SWIG_arg_fail(1)) SWIG_fail
;
30550 arg2
= (int)(SWIG_As_int(obj1
));
30551 if (SWIG_arg_fail(2)) SWIG_fail
;
30554 arg3
= (int)(SWIG_As_int(obj2
));
30555 if (SWIG_arg_fail(3)) SWIG_fail
;
30559 arg4
= (bool)(SWIG_As_bool(obj3
));
30560 if (SWIG_arg_fail(4)) SWIG_fail
;
30564 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30565 (arg1
)->SetScrollPos(arg2
,arg3
,arg4
);
30567 wxPyEndAllowThreads(__tstate
);
30568 if (PyErr_Occurred()) SWIG_fail
;
30570 Py_INCREF(Py_None
); resultobj
= Py_None
;
30577 static PyObject
*_wrap_Window_GetScrollPos(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30578 PyObject
*resultobj
;
30579 wxWindow
*arg1
= (wxWindow
*) 0 ;
30582 PyObject
* obj0
= 0 ;
30583 PyObject
* obj1
= 0 ;
30584 char *kwnames
[] = {
30585 (char *) "self",(char *) "orientation", NULL
30588 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_GetScrollPos",kwnames
,&obj0
,&obj1
)) goto fail
;
30589 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30590 if (SWIG_arg_fail(1)) SWIG_fail
;
30592 arg2
= (int)(SWIG_As_int(obj1
));
30593 if (SWIG_arg_fail(2)) SWIG_fail
;
30596 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30597 result
= (int)((wxWindow
const *)arg1
)->GetScrollPos(arg2
);
30599 wxPyEndAllowThreads(__tstate
);
30600 if (PyErr_Occurred()) SWIG_fail
;
30603 resultobj
= SWIG_From_int((int)(result
));
30611 static PyObject
*_wrap_Window_GetScrollThumb(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30612 PyObject
*resultobj
;
30613 wxWindow
*arg1
= (wxWindow
*) 0 ;
30616 PyObject
* obj0
= 0 ;
30617 PyObject
* obj1
= 0 ;
30618 char *kwnames
[] = {
30619 (char *) "self",(char *) "orientation", NULL
30622 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_GetScrollThumb",kwnames
,&obj0
,&obj1
)) goto fail
;
30623 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30624 if (SWIG_arg_fail(1)) SWIG_fail
;
30626 arg2
= (int)(SWIG_As_int(obj1
));
30627 if (SWIG_arg_fail(2)) SWIG_fail
;
30630 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30631 result
= (int)((wxWindow
const *)arg1
)->GetScrollThumb(arg2
);
30633 wxPyEndAllowThreads(__tstate
);
30634 if (PyErr_Occurred()) SWIG_fail
;
30637 resultobj
= SWIG_From_int((int)(result
));
30645 static PyObject
*_wrap_Window_GetScrollRange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30646 PyObject
*resultobj
;
30647 wxWindow
*arg1
= (wxWindow
*) 0 ;
30650 PyObject
* obj0
= 0 ;
30651 PyObject
* obj1
= 0 ;
30652 char *kwnames
[] = {
30653 (char *) "self",(char *) "orientation", NULL
30656 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_GetScrollRange",kwnames
,&obj0
,&obj1
)) goto fail
;
30657 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30658 if (SWIG_arg_fail(1)) SWIG_fail
;
30660 arg2
= (int)(SWIG_As_int(obj1
));
30661 if (SWIG_arg_fail(2)) SWIG_fail
;
30664 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30665 result
= (int)((wxWindow
const *)arg1
)->GetScrollRange(arg2
);
30667 wxPyEndAllowThreads(__tstate
);
30668 if (PyErr_Occurred()) SWIG_fail
;
30671 resultobj
= SWIG_From_int((int)(result
));
30679 static PyObject
*_wrap_Window_ScrollWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30680 PyObject
*resultobj
;
30681 wxWindow
*arg1
= (wxWindow
*) 0 ;
30684 wxRect
*arg4
= (wxRect
*) NULL
;
30685 PyObject
* obj0
= 0 ;
30686 PyObject
* obj1
= 0 ;
30687 PyObject
* obj2
= 0 ;
30688 PyObject
* obj3
= 0 ;
30689 char *kwnames
[] = {
30690 (char *) "self",(char *) "dx",(char *) "dy",(char *) "rect", NULL
30693 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Window_ScrollWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
30694 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30695 if (SWIG_arg_fail(1)) SWIG_fail
;
30697 arg2
= (int)(SWIG_As_int(obj1
));
30698 if (SWIG_arg_fail(2)) SWIG_fail
;
30701 arg3
= (int)(SWIG_As_int(obj2
));
30702 if (SWIG_arg_fail(3)) SWIG_fail
;
30705 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
30706 if (SWIG_arg_fail(4)) SWIG_fail
;
30709 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30710 (arg1
)->ScrollWindow(arg2
,arg3
,(wxRect
const *)arg4
);
30712 wxPyEndAllowThreads(__tstate
);
30713 if (PyErr_Occurred()) SWIG_fail
;
30715 Py_INCREF(Py_None
); resultobj
= Py_None
;
30722 static PyObject
*_wrap_Window_ScrollLines(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30723 PyObject
*resultobj
;
30724 wxWindow
*arg1
= (wxWindow
*) 0 ;
30727 PyObject
* obj0
= 0 ;
30728 PyObject
* obj1
= 0 ;
30729 char *kwnames
[] = {
30730 (char *) "self",(char *) "lines", NULL
30733 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ScrollLines",kwnames
,&obj0
,&obj1
)) goto fail
;
30734 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30735 if (SWIG_arg_fail(1)) SWIG_fail
;
30737 arg2
= (int)(SWIG_As_int(obj1
));
30738 if (SWIG_arg_fail(2)) SWIG_fail
;
30741 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30742 result
= (bool)(arg1
)->ScrollLines(arg2
);
30744 wxPyEndAllowThreads(__tstate
);
30745 if (PyErr_Occurred()) SWIG_fail
;
30748 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30756 static PyObject
*_wrap_Window_ScrollPages(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30757 PyObject
*resultobj
;
30758 wxWindow
*arg1
= (wxWindow
*) 0 ;
30761 PyObject
* obj0
= 0 ;
30762 PyObject
* obj1
= 0 ;
30763 char *kwnames
[] = {
30764 (char *) "self",(char *) "pages", NULL
30767 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ScrollPages",kwnames
,&obj0
,&obj1
)) goto fail
;
30768 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30769 if (SWIG_arg_fail(1)) SWIG_fail
;
30771 arg2
= (int)(SWIG_As_int(obj1
));
30772 if (SWIG_arg_fail(2)) SWIG_fail
;
30775 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30776 result
= (bool)(arg1
)->ScrollPages(arg2
);
30778 wxPyEndAllowThreads(__tstate
);
30779 if (PyErr_Occurred()) SWIG_fail
;
30782 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30790 static PyObject
*_wrap_Window_LineUp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30791 PyObject
*resultobj
;
30792 wxWindow
*arg1
= (wxWindow
*) 0 ;
30794 PyObject
* obj0
= 0 ;
30795 char *kwnames
[] = {
30796 (char *) "self", NULL
30799 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_LineUp",kwnames
,&obj0
)) goto fail
;
30800 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30801 if (SWIG_arg_fail(1)) SWIG_fail
;
30803 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30804 result
= (bool)(arg1
)->LineUp();
30806 wxPyEndAllowThreads(__tstate
);
30807 if (PyErr_Occurred()) SWIG_fail
;
30810 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30818 static PyObject
*_wrap_Window_LineDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30819 PyObject
*resultobj
;
30820 wxWindow
*arg1
= (wxWindow
*) 0 ;
30822 PyObject
* obj0
= 0 ;
30823 char *kwnames
[] = {
30824 (char *) "self", NULL
30827 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_LineDown",kwnames
,&obj0
)) goto fail
;
30828 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30829 if (SWIG_arg_fail(1)) SWIG_fail
;
30831 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30832 result
= (bool)(arg1
)->LineDown();
30834 wxPyEndAllowThreads(__tstate
);
30835 if (PyErr_Occurred()) SWIG_fail
;
30838 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30846 static PyObject
*_wrap_Window_PageUp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30847 PyObject
*resultobj
;
30848 wxWindow
*arg1
= (wxWindow
*) 0 ;
30850 PyObject
* obj0
= 0 ;
30851 char *kwnames
[] = {
30852 (char *) "self", NULL
30855 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_PageUp",kwnames
,&obj0
)) goto fail
;
30856 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30857 if (SWIG_arg_fail(1)) SWIG_fail
;
30859 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30860 result
= (bool)(arg1
)->PageUp();
30862 wxPyEndAllowThreads(__tstate
);
30863 if (PyErr_Occurred()) SWIG_fail
;
30866 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30874 static PyObject
*_wrap_Window_PageDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30875 PyObject
*resultobj
;
30876 wxWindow
*arg1
= (wxWindow
*) 0 ;
30878 PyObject
* obj0
= 0 ;
30879 char *kwnames
[] = {
30880 (char *) "self", NULL
30883 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_PageDown",kwnames
,&obj0
)) goto fail
;
30884 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30885 if (SWIG_arg_fail(1)) SWIG_fail
;
30887 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30888 result
= (bool)(arg1
)->PageDown();
30890 wxPyEndAllowThreads(__tstate
);
30891 if (PyErr_Occurred()) SWIG_fail
;
30894 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30902 static PyObject
*_wrap_Window_SetHelpText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30903 PyObject
*resultobj
;
30904 wxWindow
*arg1
= (wxWindow
*) 0 ;
30905 wxString
*arg2
= 0 ;
30906 bool temp2
= false ;
30907 PyObject
* obj0
= 0 ;
30908 PyObject
* obj1
= 0 ;
30909 char *kwnames
[] = {
30910 (char *) "self",(char *) "text", NULL
30913 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetHelpText",kwnames
,&obj0
,&obj1
)) goto fail
;
30914 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30915 if (SWIG_arg_fail(1)) SWIG_fail
;
30917 arg2
= wxString_in_helper(obj1
);
30918 if (arg2
== NULL
) SWIG_fail
;
30922 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30923 (arg1
)->SetHelpText((wxString
const &)*arg2
);
30925 wxPyEndAllowThreads(__tstate
);
30926 if (PyErr_Occurred()) SWIG_fail
;
30928 Py_INCREF(Py_None
); resultobj
= Py_None
;
30943 static PyObject
*_wrap_Window_SetHelpTextForId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30944 PyObject
*resultobj
;
30945 wxWindow
*arg1
= (wxWindow
*) 0 ;
30946 wxString
*arg2
= 0 ;
30947 bool temp2
= false ;
30948 PyObject
* obj0
= 0 ;
30949 PyObject
* obj1
= 0 ;
30950 char *kwnames
[] = {
30951 (char *) "self",(char *) "text", NULL
30954 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetHelpTextForId",kwnames
,&obj0
,&obj1
)) goto fail
;
30955 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30956 if (SWIG_arg_fail(1)) SWIG_fail
;
30958 arg2
= wxString_in_helper(obj1
);
30959 if (arg2
== NULL
) SWIG_fail
;
30963 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30964 (arg1
)->SetHelpTextForId((wxString
const &)*arg2
);
30966 wxPyEndAllowThreads(__tstate
);
30967 if (PyErr_Occurred()) SWIG_fail
;
30969 Py_INCREF(Py_None
); resultobj
= Py_None
;
30984 static PyObject
*_wrap_Window_GetHelpText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30985 PyObject
*resultobj
;
30986 wxWindow
*arg1
= (wxWindow
*) 0 ;
30988 PyObject
* obj0
= 0 ;
30989 char *kwnames
[] = {
30990 (char *) "self", NULL
30993 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetHelpText",kwnames
,&obj0
)) goto fail
;
30994 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30995 if (SWIG_arg_fail(1)) SWIG_fail
;
30997 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30998 result
= ((wxWindow
const *)arg1
)->GetHelpText();
31000 wxPyEndAllowThreads(__tstate
);
31001 if (PyErr_Occurred()) SWIG_fail
;
31005 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
31007 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
31016 static PyObject
*_wrap_Window_SetToolTipString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31017 PyObject
*resultobj
;
31018 wxWindow
*arg1
= (wxWindow
*) 0 ;
31019 wxString
*arg2
= 0 ;
31020 bool temp2
= false ;
31021 PyObject
* obj0
= 0 ;
31022 PyObject
* obj1
= 0 ;
31023 char *kwnames
[] = {
31024 (char *) "self",(char *) "tip", NULL
31027 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetToolTipString",kwnames
,&obj0
,&obj1
)) goto fail
;
31028 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31029 if (SWIG_arg_fail(1)) SWIG_fail
;
31031 arg2
= wxString_in_helper(obj1
);
31032 if (arg2
== NULL
) SWIG_fail
;
31036 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31037 (arg1
)->SetToolTip((wxString
const &)*arg2
);
31039 wxPyEndAllowThreads(__tstate
);
31040 if (PyErr_Occurred()) SWIG_fail
;
31042 Py_INCREF(Py_None
); resultobj
= Py_None
;
31057 static PyObject
*_wrap_Window_SetToolTip(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31058 PyObject
*resultobj
;
31059 wxWindow
*arg1
= (wxWindow
*) 0 ;
31060 wxToolTip
*arg2
= (wxToolTip
*) 0 ;
31061 PyObject
* obj0
= 0 ;
31062 PyObject
* obj1
= 0 ;
31063 char *kwnames
[] = {
31064 (char *) "self",(char *) "tip", NULL
31067 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetToolTip",kwnames
,&obj0
,&obj1
)) goto fail
;
31068 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31069 if (SWIG_arg_fail(1)) SWIG_fail
;
31070 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxToolTip
, SWIG_POINTER_EXCEPTION
| 0);
31071 if (SWIG_arg_fail(2)) SWIG_fail
;
31073 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31074 (arg1
)->SetToolTip(arg2
);
31076 wxPyEndAllowThreads(__tstate
);
31077 if (PyErr_Occurred()) SWIG_fail
;
31079 Py_INCREF(Py_None
); resultobj
= Py_None
;
31086 static PyObject
*_wrap_Window_GetToolTip(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31087 PyObject
*resultobj
;
31088 wxWindow
*arg1
= (wxWindow
*) 0 ;
31090 PyObject
* obj0
= 0 ;
31091 char *kwnames
[] = {
31092 (char *) "self", NULL
31095 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetToolTip",kwnames
,&obj0
)) goto fail
;
31096 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31097 if (SWIG_arg_fail(1)) SWIG_fail
;
31099 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31100 result
= (wxToolTip
*)((wxWindow
const *)arg1
)->GetToolTip();
31102 wxPyEndAllowThreads(__tstate
);
31103 if (PyErr_Occurred()) SWIG_fail
;
31106 resultobj
= wxPyMake_wxObject(result
, 0);
31114 static PyObject
*_wrap_Window_SetDropTarget(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31115 PyObject
*resultobj
;
31116 wxWindow
*arg1
= (wxWindow
*) 0 ;
31117 wxPyDropTarget
*arg2
= (wxPyDropTarget
*) 0 ;
31118 PyObject
* obj0
= 0 ;
31119 PyObject
* obj1
= 0 ;
31120 char *kwnames
[] = {
31121 (char *) "self",(char *) "dropTarget", NULL
31124 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetDropTarget",kwnames
,&obj0
,&obj1
)) goto fail
;
31125 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31126 if (SWIG_arg_fail(1)) SWIG_fail
;
31127 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPyDropTarget
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
31128 if (SWIG_arg_fail(2)) SWIG_fail
;
31130 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31131 (arg1
)->SetDropTarget(arg2
);
31133 wxPyEndAllowThreads(__tstate
);
31134 if (PyErr_Occurred()) SWIG_fail
;
31136 Py_INCREF(Py_None
); resultobj
= Py_None
;
31143 static PyObject
*_wrap_Window_GetDropTarget(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31144 PyObject
*resultobj
;
31145 wxWindow
*arg1
= (wxWindow
*) 0 ;
31146 wxPyDropTarget
*result
;
31147 PyObject
* obj0
= 0 ;
31148 char *kwnames
[] = {
31149 (char *) "self", NULL
31152 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetDropTarget",kwnames
,&obj0
)) goto fail
;
31153 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31154 if (SWIG_arg_fail(1)) SWIG_fail
;
31156 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31157 result
= (wxPyDropTarget
*)((wxWindow
const *)arg1
)->GetDropTarget();
31159 wxPyEndAllowThreads(__tstate
);
31160 if (PyErr_Occurred()) SWIG_fail
;
31162 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyDropTarget
, 0);
31169 static PyObject
*_wrap_Window_SetConstraints(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31170 PyObject
*resultobj
;
31171 wxWindow
*arg1
= (wxWindow
*) 0 ;
31172 wxLayoutConstraints
*arg2
= (wxLayoutConstraints
*) 0 ;
31173 PyObject
* obj0
= 0 ;
31174 PyObject
* obj1
= 0 ;
31175 char *kwnames
[] = {
31176 (char *) "self",(char *) "constraints", NULL
31179 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetConstraints",kwnames
,&obj0
,&obj1
)) goto fail
;
31180 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31181 if (SWIG_arg_fail(1)) SWIG_fail
;
31182 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxLayoutConstraints
, SWIG_POINTER_EXCEPTION
| 0);
31183 if (SWIG_arg_fail(2)) SWIG_fail
;
31185 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31186 (arg1
)->SetConstraints(arg2
);
31188 wxPyEndAllowThreads(__tstate
);
31189 if (PyErr_Occurred()) SWIG_fail
;
31191 Py_INCREF(Py_None
); resultobj
= Py_None
;
31198 static PyObject
*_wrap_Window_GetConstraints(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31199 PyObject
*resultobj
;
31200 wxWindow
*arg1
= (wxWindow
*) 0 ;
31201 wxLayoutConstraints
*result
;
31202 PyObject
* obj0
= 0 ;
31203 char *kwnames
[] = {
31204 (char *) "self", NULL
31207 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetConstraints",kwnames
,&obj0
)) goto fail
;
31208 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31209 if (SWIG_arg_fail(1)) SWIG_fail
;
31211 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31212 result
= (wxLayoutConstraints
*)((wxWindow
const *)arg1
)->GetConstraints();
31214 wxPyEndAllowThreads(__tstate
);
31215 if (PyErr_Occurred()) SWIG_fail
;
31217 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLayoutConstraints
, 0);
31224 static PyObject
*_wrap_Window_SetAutoLayout(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31225 PyObject
*resultobj
;
31226 wxWindow
*arg1
= (wxWindow
*) 0 ;
31228 PyObject
* obj0
= 0 ;
31229 PyObject
* obj1
= 0 ;
31230 char *kwnames
[] = {
31231 (char *) "self",(char *) "autoLayout", NULL
31234 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetAutoLayout",kwnames
,&obj0
,&obj1
)) goto fail
;
31235 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31236 if (SWIG_arg_fail(1)) SWIG_fail
;
31238 arg2
= (bool)(SWIG_As_bool(obj1
));
31239 if (SWIG_arg_fail(2)) SWIG_fail
;
31242 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31243 (arg1
)->SetAutoLayout(arg2
);
31245 wxPyEndAllowThreads(__tstate
);
31246 if (PyErr_Occurred()) SWIG_fail
;
31248 Py_INCREF(Py_None
); resultobj
= Py_None
;
31255 static PyObject
*_wrap_Window_GetAutoLayout(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31256 PyObject
*resultobj
;
31257 wxWindow
*arg1
= (wxWindow
*) 0 ;
31259 PyObject
* obj0
= 0 ;
31260 char *kwnames
[] = {
31261 (char *) "self", NULL
31264 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetAutoLayout",kwnames
,&obj0
)) goto fail
;
31265 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31266 if (SWIG_arg_fail(1)) SWIG_fail
;
31268 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31269 result
= (bool)((wxWindow
const *)arg1
)->GetAutoLayout();
31271 wxPyEndAllowThreads(__tstate
);
31272 if (PyErr_Occurred()) SWIG_fail
;
31275 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31283 static PyObject
*_wrap_Window_Layout(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31284 PyObject
*resultobj
;
31285 wxWindow
*arg1
= (wxWindow
*) 0 ;
31287 PyObject
* obj0
= 0 ;
31288 char *kwnames
[] = {
31289 (char *) "self", NULL
31292 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Layout",kwnames
,&obj0
)) goto fail
;
31293 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31294 if (SWIG_arg_fail(1)) SWIG_fail
;
31296 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31297 result
= (bool)(arg1
)->Layout();
31299 wxPyEndAllowThreads(__tstate
);
31300 if (PyErr_Occurred()) SWIG_fail
;
31303 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31311 static PyObject
*_wrap_Window_SetSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31312 PyObject
*resultobj
;
31313 wxWindow
*arg1
= (wxWindow
*) 0 ;
31314 wxSizer
*arg2
= (wxSizer
*) 0 ;
31315 bool arg3
= (bool) true ;
31316 PyObject
* obj0
= 0 ;
31317 PyObject
* obj1
= 0 ;
31318 PyObject
* obj2
= 0 ;
31319 char *kwnames
[] = {
31320 (char *) "self",(char *) "sizer",(char *) "deleteOld", NULL
31323 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_SetSizer",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
31324 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31325 if (SWIG_arg_fail(1)) SWIG_fail
;
31326 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
31327 if (SWIG_arg_fail(2)) SWIG_fail
;
31330 arg3
= (bool)(SWIG_As_bool(obj2
));
31331 if (SWIG_arg_fail(3)) SWIG_fail
;
31335 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31336 (arg1
)->SetSizer(arg2
,arg3
);
31338 wxPyEndAllowThreads(__tstate
);
31339 if (PyErr_Occurred()) SWIG_fail
;
31341 Py_INCREF(Py_None
); resultobj
= Py_None
;
31348 static PyObject
*_wrap_Window_SetSizerAndFit(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31349 PyObject
*resultobj
;
31350 wxWindow
*arg1
= (wxWindow
*) 0 ;
31351 wxSizer
*arg2
= (wxSizer
*) 0 ;
31352 bool arg3
= (bool) true ;
31353 PyObject
* obj0
= 0 ;
31354 PyObject
* obj1
= 0 ;
31355 PyObject
* obj2
= 0 ;
31356 char *kwnames
[] = {
31357 (char *) "self",(char *) "sizer",(char *) "deleteOld", NULL
31360 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_SetSizerAndFit",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
31361 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31362 if (SWIG_arg_fail(1)) SWIG_fail
;
31363 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
31364 if (SWIG_arg_fail(2)) SWIG_fail
;
31367 arg3
= (bool)(SWIG_As_bool(obj2
));
31368 if (SWIG_arg_fail(3)) SWIG_fail
;
31372 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31373 (arg1
)->SetSizerAndFit(arg2
,arg3
);
31375 wxPyEndAllowThreads(__tstate
);
31376 if (PyErr_Occurred()) SWIG_fail
;
31378 Py_INCREF(Py_None
); resultobj
= Py_None
;
31385 static PyObject
*_wrap_Window_GetSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31386 PyObject
*resultobj
;
31387 wxWindow
*arg1
= (wxWindow
*) 0 ;
31389 PyObject
* obj0
= 0 ;
31390 char *kwnames
[] = {
31391 (char *) "self", NULL
31394 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetSizer",kwnames
,&obj0
)) goto fail
;
31395 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31396 if (SWIG_arg_fail(1)) SWIG_fail
;
31398 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31399 result
= (wxSizer
*)((wxWindow
const *)arg1
)->GetSizer();
31401 wxPyEndAllowThreads(__tstate
);
31402 if (PyErr_Occurred()) SWIG_fail
;
31405 resultobj
= wxPyMake_wxSizer(result
, 0);
31413 static PyObject
*_wrap_Window_SetContainingSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31414 PyObject
*resultobj
;
31415 wxWindow
*arg1
= (wxWindow
*) 0 ;
31416 wxSizer
*arg2
= (wxSizer
*) 0 ;
31417 PyObject
* obj0
= 0 ;
31418 PyObject
* obj1
= 0 ;
31419 char *kwnames
[] = {
31420 (char *) "self",(char *) "sizer", NULL
31423 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetContainingSizer",kwnames
,&obj0
,&obj1
)) goto fail
;
31424 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31425 if (SWIG_arg_fail(1)) SWIG_fail
;
31426 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
31427 if (SWIG_arg_fail(2)) SWIG_fail
;
31429 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31430 (arg1
)->SetContainingSizer(arg2
);
31432 wxPyEndAllowThreads(__tstate
);
31433 if (PyErr_Occurred()) SWIG_fail
;
31435 Py_INCREF(Py_None
); resultobj
= Py_None
;
31442 static PyObject
*_wrap_Window_GetContainingSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31443 PyObject
*resultobj
;
31444 wxWindow
*arg1
= (wxWindow
*) 0 ;
31446 PyObject
* obj0
= 0 ;
31447 char *kwnames
[] = {
31448 (char *) "self", NULL
31451 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetContainingSizer",kwnames
,&obj0
)) goto fail
;
31452 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31453 if (SWIG_arg_fail(1)) SWIG_fail
;
31455 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31456 result
= (wxSizer
*)((wxWindow
const *)arg1
)->GetContainingSizer();
31458 wxPyEndAllowThreads(__tstate
);
31459 if (PyErr_Occurred()) SWIG_fail
;
31462 resultobj
= wxPyMake_wxSizer(result
, 0);
31470 static PyObject
*_wrap_Window_InheritAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31471 PyObject
*resultobj
;
31472 wxWindow
*arg1
= (wxWindow
*) 0 ;
31473 PyObject
* obj0
= 0 ;
31474 char *kwnames
[] = {
31475 (char *) "self", NULL
31478 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_InheritAttributes",kwnames
,&obj0
)) goto fail
;
31479 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31480 if (SWIG_arg_fail(1)) SWIG_fail
;
31482 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31483 (arg1
)->InheritAttributes();
31485 wxPyEndAllowThreads(__tstate
);
31486 if (PyErr_Occurred()) SWIG_fail
;
31488 Py_INCREF(Py_None
); resultobj
= Py_None
;
31495 static PyObject
*_wrap_Window_ShouldInheritColours(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31496 PyObject
*resultobj
;
31497 wxWindow
*arg1
= (wxWindow
*) 0 ;
31499 PyObject
* obj0
= 0 ;
31500 char *kwnames
[] = {
31501 (char *) "self", NULL
31504 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_ShouldInheritColours",kwnames
,&obj0
)) goto fail
;
31505 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31506 if (SWIG_arg_fail(1)) SWIG_fail
;
31508 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31509 result
= (bool)((wxWindow
const *)arg1
)->ShouldInheritColours();
31511 wxPyEndAllowThreads(__tstate
);
31512 if (PyErr_Occurred()) SWIG_fail
;
31515 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31523 static PyObject
* Window_swigregister(PyObject
*, PyObject
*args
) {
31525 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
31526 SWIG_TypeClientData(SWIGTYPE_p_wxWindow
, obj
);
31528 return Py_BuildValue((char *)"");
31530 static PyObject
*_wrap_FindWindowById(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31531 PyObject
*resultobj
;
31533 wxWindow
*arg2
= (wxWindow
*) NULL
;
31535 PyObject
* obj0
= 0 ;
31536 PyObject
* obj1
= 0 ;
31537 char *kwnames
[] = {
31538 (char *) "id",(char *) "parent", NULL
31541 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:FindWindowById",kwnames
,&obj0
,&obj1
)) goto fail
;
31543 arg1
= (long)(SWIG_As_long(obj0
));
31544 if (SWIG_arg_fail(1)) SWIG_fail
;
31547 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31548 if (SWIG_arg_fail(2)) SWIG_fail
;
31551 if (!wxPyCheckForApp()) SWIG_fail
;
31552 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31553 result
= (wxWindow
*)wxFindWindowById(arg1
,(wxWindow
const *)arg2
);
31555 wxPyEndAllowThreads(__tstate
);
31556 if (PyErr_Occurred()) SWIG_fail
;
31559 resultobj
= wxPyMake_wxObject(result
, 0);
31567 static PyObject
*_wrap_FindWindowByName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31568 PyObject
*resultobj
;
31569 wxString
*arg1
= 0 ;
31570 wxWindow
*arg2
= (wxWindow
*) NULL
;
31572 bool temp1
= false ;
31573 PyObject
* obj0
= 0 ;
31574 PyObject
* obj1
= 0 ;
31575 char *kwnames
[] = {
31576 (char *) "name",(char *) "parent", NULL
31579 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:FindWindowByName",kwnames
,&obj0
,&obj1
)) goto fail
;
31581 arg1
= wxString_in_helper(obj0
);
31582 if (arg1
== NULL
) SWIG_fail
;
31586 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31587 if (SWIG_arg_fail(2)) SWIG_fail
;
31590 if (!wxPyCheckForApp()) SWIG_fail
;
31591 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31592 result
= (wxWindow
*)wxFindWindowByName((wxString
const &)*arg1
,(wxWindow
const *)arg2
);
31594 wxPyEndAllowThreads(__tstate
);
31595 if (PyErr_Occurred()) SWIG_fail
;
31598 resultobj
= wxPyMake_wxObject(result
, 0);
31614 static PyObject
*_wrap_FindWindowByLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31615 PyObject
*resultobj
;
31616 wxString
*arg1
= 0 ;
31617 wxWindow
*arg2
= (wxWindow
*) NULL
;
31619 bool temp1
= false ;
31620 PyObject
* obj0
= 0 ;
31621 PyObject
* obj1
= 0 ;
31622 char *kwnames
[] = {
31623 (char *) "label",(char *) "parent", NULL
31626 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:FindWindowByLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
31628 arg1
= wxString_in_helper(obj0
);
31629 if (arg1
== NULL
) SWIG_fail
;
31633 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31634 if (SWIG_arg_fail(2)) SWIG_fail
;
31637 if (!wxPyCheckForApp()) SWIG_fail
;
31638 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31639 result
= (wxWindow
*)wxFindWindowByLabel((wxString
const &)*arg1
,(wxWindow
const *)arg2
);
31641 wxPyEndAllowThreads(__tstate
);
31642 if (PyErr_Occurred()) SWIG_fail
;
31645 resultobj
= wxPyMake_wxObject(result
, 0);
31661 static PyObject
*_wrap_Window_FromHWND(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31662 PyObject
*resultobj
;
31663 wxWindow
*arg1
= (wxWindow
*) 0 ;
31664 unsigned long arg2
;
31666 PyObject
* obj0
= 0 ;
31667 PyObject
* obj1
= 0 ;
31668 char *kwnames
[] = {
31669 (char *) "parent",(char *) "_hWnd", NULL
31672 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_FromHWND",kwnames
,&obj0
,&obj1
)) goto fail
;
31673 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31674 if (SWIG_arg_fail(1)) SWIG_fail
;
31676 arg2
= (unsigned long)(SWIG_As_unsigned_SS_long(obj1
));
31677 if (SWIG_arg_fail(2)) SWIG_fail
;
31680 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31681 result
= (wxWindow
*)wxWindow_FromHWND(arg1
,arg2
);
31683 wxPyEndAllowThreads(__tstate
);
31684 if (PyErr_Occurred()) SWIG_fail
;
31687 resultobj
= wxPyMake_wxObject(result
, 0);
31695 static PyObject
*_wrap_new_Validator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31696 PyObject
*resultobj
;
31697 wxValidator
*result
;
31698 char *kwnames
[] = {
31702 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_Validator",kwnames
)) goto fail
;
31704 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31705 result
= (wxValidator
*)new wxValidator();
31707 wxPyEndAllowThreads(__tstate
);
31708 if (PyErr_Occurred()) SWIG_fail
;
31710 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxValidator
, 1);
31717 static PyObject
*_wrap_Validator_Clone(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31718 PyObject
*resultobj
;
31719 wxValidator
*arg1
= (wxValidator
*) 0 ;
31720 wxValidator
*result
;
31721 PyObject
* obj0
= 0 ;
31722 char *kwnames
[] = {
31723 (char *) "self", NULL
31726 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Validator_Clone",kwnames
,&obj0
)) goto fail
;
31727 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
31728 if (SWIG_arg_fail(1)) SWIG_fail
;
31730 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31731 result
= (wxValidator
*)(arg1
)->Clone();
31733 wxPyEndAllowThreads(__tstate
);
31734 if (PyErr_Occurred()) SWIG_fail
;
31737 resultobj
= wxPyMake_wxObject(result
, 0);
31745 static PyObject
*_wrap_Validator_Validate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31746 PyObject
*resultobj
;
31747 wxValidator
*arg1
= (wxValidator
*) 0 ;
31748 wxWindow
*arg2
= (wxWindow
*) 0 ;
31750 PyObject
* obj0
= 0 ;
31751 PyObject
* obj1
= 0 ;
31752 char *kwnames
[] = {
31753 (char *) "self",(char *) "parent", NULL
31756 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Validator_Validate",kwnames
,&obj0
,&obj1
)) goto fail
;
31757 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
31758 if (SWIG_arg_fail(1)) SWIG_fail
;
31759 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31760 if (SWIG_arg_fail(2)) SWIG_fail
;
31762 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31763 result
= (bool)(arg1
)->Validate(arg2
);
31765 wxPyEndAllowThreads(__tstate
);
31766 if (PyErr_Occurred()) SWIG_fail
;
31769 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31777 static PyObject
*_wrap_Validator_TransferToWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31778 PyObject
*resultobj
;
31779 wxValidator
*arg1
= (wxValidator
*) 0 ;
31781 PyObject
* obj0
= 0 ;
31782 char *kwnames
[] = {
31783 (char *) "self", NULL
31786 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Validator_TransferToWindow",kwnames
,&obj0
)) goto fail
;
31787 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
31788 if (SWIG_arg_fail(1)) SWIG_fail
;
31790 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31791 result
= (bool)(arg1
)->TransferToWindow();
31793 wxPyEndAllowThreads(__tstate
);
31794 if (PyErr_Occurred()) SWIG_fail
;
31797 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31805 static PyObject
*_wrap_Validator_TransferFromWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31806 PyObject
*resultobj
;
31807 wxValidator
*arg1
= (wxValidator
*) 0 ;
31809 PyObject
* obj0
= 0 ;
31810 char *kwnames
[] = {
31811 (char *) "self", NULL
31814 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Validator_TransferFromWindow",kwnames
,&obj0
)) goto fail
;
31815 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
31816 if (SWIG_arg_fail(1)) SWIG_fail
;
31818 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31819 result
= (bool)(arg1
)->TransferFromWindow();
31821 wxPyEndAllowThreads(__tstate
);
31822 if (PyErr_Occurred()) SWIG_fail
;
31825 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31833 static PyObject
*_wrap_Validator_GetWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31834 PyObject
*resultobj
;
31835 wxValidator
*arg1
= (wxValidator
*) 0 ;
31837 PyObject
* obj0
= 0 ;
31838 char *kwnames
[] = {
31839 (char *) "self", NULL
31842 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Validator_GetWindow",kwnames
,&obj0
)) goto fail
;
31843 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
31844 if (SWIG_arg_fail(1)) SWIG_fail
;
31846 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31847 result
= (wxWindow
*)(arg1
)->GetWindow();
31849 wxPyEndAllowThreads(__tstate
);
31850 if (PyErr_Occurred()) SWIG_fail
;
31853 resultobj
= wxPyMake_wxObject(result
, 0);
31861 static PyObject
*_wrap_Validator_SetWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31862 PyObject
*resultobj
;
31863 wxValidator
*arg1
= (wxValidator
*) 0 ;
31864 wxWindow
*arg2
= (wxWindow
*) 0 ;
31865 PyObject
* obj0
= 0 ;
31866 PyObject
* obj1
= 0 ;
31867 char *kwnames
[] = {
31868 (char *) "self",(char *) "window", NULL
31871 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Validator_SetWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
31872 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
31873 if (SWIG_arg_fail(1)) SWIG_fail
;
31874 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31875 if (SWIG_arg_fail(2)) SWIG_fail
;
31877 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31878 (arg1
)->SetWindow(arg2
);
31880 wxPyEndAllowThreads(__tstate
);
31881 if (PyErr_Occurred()) SWIG_fail
;
31883 Py_INCREF(Py_None
); resultobj
= Py_None
;
31890 static PyObject
*_wrap_Validator_IsSilent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31891 PyObject
*resultobj
;
31893 char *kwnames
[] = {
31897 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Validator_IsSilent",kwnames
)) goto fail
;
31899 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31900 result
= (bool)wxValidator::IsSilent();
31902 wxPyEndAllowThreads(__tstate
);
31903 if (PyErr_Occurred()) SWIG_fail
;
31906 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31914 static PyObject
*_wrap_Validator_SetBellOnError(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31915 PyObject
*resultobj
;
31916 int arg1
= (int) true ;
31917 PyObject
* obj0
= 0 ;
31918 char *kwnames
[] = {
31919 (char *) "doIt", NULL
31922 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Validator_SetBellOnError",kwnames
,&obj0
)) goto fail
;
31925 arg1
= (int)(SWIG_As_int(obj0
));
31926 if (SWIG_arg_fail(1)) SWIG_fail
;
31930 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31931 wxValidator::SetBellOnError(arg1
);
31933 wxPyEndAllowThreads(__tstate
);
31934 if (PyErr_Occurred()) SWIG_fail
;
31936 Py_INCREF(Py_None
); resultobj
= Py_None
;
31943 static PyObject
* Validator_swigregister(PyObject
*, PyObject
*args
) {
31945 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
31946 SWIG_TypeClientData(SWIGTYPE_p_wxValidator
, obj
);
31948 return Py_BuildValue((char *)"");
31950 static PyObject
*_wrap_new_PyValidator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31951 PyObject
*resultobj
;
31952 wxPyValidator
*result
;
31953 char *kwnames
[] = {
31957 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PyValidator",kwnames
)) goto fail
;
31959 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31960 result
= (wxPyValidator
*)new wxPyValidator();
31962 wxPyEndAllowThreads(__tstate
);
31963 if (PyErr_Occurred()) SWIG_fail
;
31965 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyValidator
, 1);
31972 static PyObject
*_wrap_PyValidator__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31973 PyObject
*resultobj
;
31974 wxPyValidator
*arg1
= (wxPyValidator
*) 0 ;
31975 PyObject
*arg2
= (PyObject
*) 0 ;
31976 PyObject
*arg3
= (PyObject
*) 0 ;
31977 int arg4
= (int) true ;
31978 PyObject
* obj0
= 0 ;
31979 PyObject
* obj1
= 0 ;
31980 PyObject
* obj2
= 0 ;
31981 PyObject
* obj3
= 0 ;
31982 char *kwnames
[] = {
31983 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
31986 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:PyValidator__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
31987 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyValidator
, SWIG_POINTER_EXCEPTION
| 0);
31988 if (SWIG_arg_fail(1)) SWIG_fail
;
31993 arg4
= (int)(SWIG_As_int(obj3
));
31994 if (SWIG_arg_fail(4)) SWIG_fail
;
31998 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31999 (arg1
)->_setCallbackInfo(arg2
,arg3
,arg4
);
32001 wxPyEndAllowThreads(__tstate
);
32002 if (PyErr_Occurred()) SWIG_fail
;
32004 Py_INCREF(Py_None
); resultobj
= Py_None
;
32011 static PyObject
* PyValidator_swigregister(PyObject
*, PyObject
*args
) {
32013 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
32014 SWIG_TypeClientData(SWIGTYPE_p_wxPyValidator
, obj
);
32016 return Py_BuildValue((char *)"");
32018 static int _wrap_DefaultValidator_set(PyObject
*) {
32019 PyErr_SetString(PyExc_TypeError
,"Variable DefaultValidator is read-only.");
32024 static PyObject
*_wrap_DefaultValidator_get(void) {
32027 pyobj
= SWIG_NewPointerObj((void *)(&wxDefaultValidator
), SWIGTYPE_p_wxValidator
, 0);
32032 static PyObject
*_wrap_new_Menu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32033 PyObject
*resultobj
;
32034 wxString
const &arg1_defvalue
= wxPyEmptyString
;
32035 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
32036 long arg2
= (long) 0 ;
32038 bool temp1
= false ;
32039 PyObject
* obj0
= 0 ;
32040 PyObject
* obj1
= 0 ;
32041 char *kwnames
[] = {
32042 (char *) "title",(char *) "style", NULL
32045 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Menu",kwnames
,&obj0
,&obj1
)) goto fail
;
32048 arg1
= wxString_in_helper(obj0
);
32049 if (arg1
== NULL
) SWIG_fail
;
32055 arg2
= (long)(SWIG_As_long(obj1
));
32056 if (SWIG_arg_fail(2)) SWIG_fail
;
32060 if (!wxPyCheckForApp()) SWIG_fail
;
32061 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32062 result
= (wxMenu
*)new wxMenu((wxString
const &)*arg1
,arg2
);
32064 wxPyEndAllowThreads(__tstate
);
32065 if (PyErr_Occurred()) SWIG_fail
;
32067 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMenu
, 1);
32082 static PyObject
*_wrap_Menu_Append(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32083 PyObject
*resultobj
;
32084 wxMenu
*arg1
= (wxMenu
*) 0 ;
32086 wxString
*arg3
= 0 ;
32087 wxString
const &arg4_defvalue
= wxPyEmptyString
;
32088 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
32089 wxItemKind arg5
= (wxItemKind
) wxITEM_NORMAL
;
32090 wxMenuItem
*result
;
32091 bool temp3
= false ;
32092 bool temp4
= false ;
32093 PyObject
* obj0
= 0 ;
32094 PyObject
* obj1
= 0 ;
32095 PyObject
* obj2
= 0 ;
32096 PyObject
* obj3
= 0 ;
32097 PyObject
* obj4
= 0 ;
32098 char *kwnames
[] = {
32099 (char *) "self",(char *) "id",(char *) "text",(char *) "help",(char *) "kind", NULL
32102 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:Menu_Append",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
32103 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
32104 if (SWIG_arg_fail(1)) SWIG_fail
;
32106 arg2
= (int)(SWIG_As_int(obj1
));
32107 if (SWIG_arg_fail(2)) SWIG_fail
;
32110 arg3
= wxString_in_helper(obj2
);
32111 if (arg3
== NULL
) SWIG_fail
;
32116 arg4
= wxString_in_helper(obj3
);
32117 if (arg4
== NULL
) SWIG_fail
;
32123 arg5
= (wxItemKind
)(SWIG_As_int(obj4
));
32124 if (SWIG_arg_fail(5)) SWIG_fail
;
32128 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32129 result
= (wxMenuItem
*)(arg1
)->Append(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,(wxItemKind
)arg5
);
32131 wxPyEndAllowThreads(__tstate
);
32132 if (PyErr_Occurred()) SWIG_fail
;
32135 resultobj
= wxPyMake_wxObject(result
, 0);
32159 static PyObject
*_wrap_Menu_AppendSeparator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32160 PyObject
*resultobj
;
32161 wxMenu
*arg1
= (wxMenu
*) 0 ;
32162 wxMenuItem
*result
;
32163 PyObject
* obj0
= 0 ;
32164 char *kwnames
[] = {
32165 (char *) "self", NULL
32168 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_AppendSeparator",kwnames
,&obj0
)) goto fail
;
32169 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
32170 if (SWIG_arg_fail(1)) SWIG_fail
;
32172 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32173 result
= (wxMenuItem
*)(arg1
)->AppendSeparator();
32175 wxPyEndAllowThreads(__tstate
);
32176 if (PyErr_Occurred()) SWIG_fail
;
32179 resultobj
= wxPyMake_wxObject(result
, 0);
32187 static PyObject
*_wrap_Menu_AppendCheckItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32188 PyObject
*resultobj
;
32189 wxMenu
*arg1
= (wxMenu
*) 0 ;
32191 wxString
*arg3
= 0 ;
32192 wxString
const &arg4_defvalue
= wxPyEmptyString
;
32193 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
32194 wxMenuItem
*result
;
32195 bool temp3
= false ;
32196 bool temp4
= false ;
32197 PyObject
* obj0
= 0 ;
32198 PyObject
* obj1
= 0 ;
32199 PyObject
* obj2
= 0 ;
32200 PyObject
* obj3
= 0 ;
32201 char *kwnames
[] = {
32202 (char *) "self",(char *) "id",(char *) "text",(char *) "help", NULL
32205 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Menu_AppendCheckItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
32206 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
32207 if (SWIG_arg_fail(1)) SWIG_fail
;
32209 arg2
= (int)(SWIG_As_int(obj1
));
32210 if (SWIG_arg_fail(2)) SWIG_fail
;
32213 arg3
= wxString_in_helper(obj2
);
32214 if (arg3
== NULL
) SWIG_fail
;
32219 arg4
= wxString_in_helper(obj3
);
32220 if (arg4
== NULL
) SWIG_fail
;
32225 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32226 result
= (wxMenuItem
*)(arg1
)->AppendCheckItem(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
);
32228 wxPyEndAllowThreads(__tstate
);
32229 if (PyErr_Occurred()) SWIG_fail
;
32232 resultobj
= wxPyMake_wxObject(result
, 0);
32256 static PyObject
*_wrap_Menu_AppendRadioItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32257 PyObject
*resultobj
;
32258 wxMenu
*arg1
= (wxMenu
*) 0 ;
32260 wxString
*arg3
= 0 ;
32261 wxString
const &arg4_defvalue
= wxPyEmptyString
;
32262 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
32263 wxMenuItem
*result
;
32264 bool temp3
= false ;
32265 bool temp4
= false ;
32266 PyObject
* obj0
= 0 ;
32267 PyObject
* obj1
= 0 ;
32268 PyObject
* obj2
= 0 ;
32269 PyObject
* obj3
= 0 ;
32270 char *kwnames
[] = {
32271 (char *) "self",(char *) "id",(char *) "text",(char *) "help", NULL
32274 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Menu_AppendRadioItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
32275 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
32276 if (SWIG_arg_fail(1)) SWIG_fail
;
32278 arg2
= (int)(SWIG_As_int(obj1
));
32279 if (SWIG_arg_fail(2)) SWIG_fail
;
32282 arg3
= wxString_in_helper(obj2
);
32283 if (arg3
== NULL
) SWIG_fail
;
32288 arg4
= wxString_in_helper(obj3
);
32289 if (arg4
== NULL
) SWIG_fail
;
32294 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32295 result
= (wxMenuItem
*)(arg1
)->AppendRadioItem(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
);
32297 wxPyEndAllowThreads(__tstate
);
32298 if (PyErr_Occurred()) SWIG_fail
;
32301 resultobj
= wxPyMake_wxObject(result
, 0);
32325 static PyObject
*_wrap_Menu_AppendMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32326 PyObject
*resultobj
;
32327 wxMenu
*arg1
= (wxMenu
*) 0 ;
32329 wxString
*arg3
= 0 ;
32330 wxMenu
*arg4
= (wxMenu
*) 0 ;
32331 wxString
const &arg5_defvalue
= wxPyEmptyString
;
32332 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
32333 wxMenuItem
*result
;
32334 bool temp3
= false ;
32335 bool temp5
= false ;
32336 PyObject
* obj0
= 0 ;
32337 PyObject
* obj1
= 0 ;
32338 PyObject
* obj2
= 0 ;
32339 PyObject
* obj3
= 0 ;
32340 PyObject
* obj4
= 0 ;
32341 char *kwnames
[] = {
32342 (char *) "self",(char *) "id",(char *) "text",(char *) "submenu",(char *) "help", NULL
32345 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:Menu_AppendMenu",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
32346 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
32347 if (SWIG_arg_fail(1)) SWIG_fail
;
32349 arg2
= (int)(SWIG_As_int(obj1
));
32350 if (SWIG_arg_fail(2)) SWIG_fail
;
32353 arg3
= wxString_in_helper(obj2
);
32354 if (arg3
== NULL
) SWIG_fail
;
32357 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
32358 if (SWIG_arg_fail(4)) SWIG_fail
;
32361 arg5
= wxString_in_helper(obj4
);
32362 if (arg5
== NULL
) SWIG_fail
;
32367 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32368 result
= (wxMenuItem
*)(arg1
)->Append(arg2
,(wxString
const &)*arg3
,arg4
,(wxString
const &)*arg5
);
32370 wxPyEndAllowThreads(__tstate
);
32371 if (PyErr_Occurred()) SWIG_fail
;
32374 resultobj
= wxPyMake_wxObject(result
, 0);
32398 static PyObject
*_wrap_Menu_AppendItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32399 PyObject
*resultobj
;
32400 wxMenu
*arg1
= (wxMenu
*) 0 ;
32401 wxMenuItem
*arg2
= (wxMenuItem
*) 0 ;
32402 wxMenuItem
*result
;
32403 PyObject
* obj0
= 0 ;
32404 PyObject
* obj1
= 0 ;
32405 char *kwnames
[] = {
32406 (char *) "self",(char *) "item", NULL
32409 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_AppendItem",kwnames
,&obj0
,&obj1
)) goto fail
;
32410 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
32411 if (SWIG_arg_fail(1)) SWIG_fail
;
32412 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
32413 if (SWIG_arg_fail(2)) SWIG_fail
;
32415 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32416 result
= (wxMenuItem
*)(arg1
)->Append(arg2
);
32418 wxPyEndAllowThreads(__tstate
);
32419 if (PyErr_Occurred()) SWIG_fail
;
32422 resultobj
= wxPyMake_wxObject(result
, 0);
32430 static PyObject
*_wrap_Menu_Break(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32431 PyObject
*resultobj
;
32432 wxMenu
*arg1
= (wxMenu
*) 0 ;
32433 PyObject
* obj0
= 0 ;
32434 char *kwnames
[] = {
32435 (char *) "self", NULL
32438 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_Break",kwnames
,&obj0
)) goto fail
;
32439 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
32440 if (SWIG_arg_fail(1)) SWIG_fail
;
32442 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32445 wxPyEndAllowThreads(__tstate
);
32446 if (PyErr_Occurred()) SWIG_fail
;
32448 Py_INCREF(Py_None
); resultobj
= Py_None
;
32455 static PyObject
*_wrap_Menu_InsertItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32456 PyObject
*resultobj
;
32457 wxMenu
*arg1
= (wxMenu
*) 0 ;
32459 wxMenuItem
*arg3
= (wxMenuItem
*) 0 ;
32460 wxMenuItem
*result
;
32461 PyObject
* obj0
= 0 ;
32462 PyObject
* obj1
= 0 ;
32463 PyObject
* obj2
= 0 ;
32464 char *kwnames
[] = {
32465 (char *) "self",(char *) "pos",(char *) "item", NULL
32468 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Menu_InsertItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
32469 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
32470 if (SWIG_arg_fail(1)) SWIG_fail
;
32472 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
32473 if (SWIG_arg_fail(2)) SWIG_fail
;
32475 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
32476 if (SWIG_arg_fail(3)) SWIG_fail
;
32478 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32479 result
= (wxMenuItem
*)(arg1
)->Insert(arg2
,arg3
);
32481 wxPyEndAllowThreads(__tstate
);
32482 if (PyErr_Occurred()) SWIG_fail
;
32485 resultobj
= wxPyMake_wxObject(result
, 0);
32493 static PyObject
*_wrap_Menu_Insert(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32494 PyObject
*resultobj
;
32495 wxMenu
*arg1
= (wxMenu
*) 0 ;
32498 wxString
*arg4
= 0 ;
32499 wxString
const &arg5_defvalue
= wxPyEmptyString
;
32500 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
32501 wxItemKind arg6
= (wxItemKind
) wxITEM_NORMAL
;
32502 wxMenuItem
*result
;
32503 bool temp4
= false ;
32504 bool temp5
= false ;
32505 PyObject
* obj0
= 0 ;
32506 PyObject
* obj1
= 0 ;
32507 PyObject
* obj2
= 0 ;
32508 PyObject
* obj3
= 0 ;
32509 PyObject
* obj4
= 0 ;
32510 PyObject
* obj5
= 0 ;
32511 char *kwnames
[] = {
32512 (char *) "self",(char *) "pos",(char *) "id",(char *) "text",(char *) "help",(char *) "kind", NULL
32515 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:Menu_Insert",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
32516 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
32517 if (SWIG_arg_fail(1)) SWIG_fail
;
32519 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
32520 if (SWIG_arg_fail(2)) SWIG_fail
;
32523 arg3
= (int)(SWIG_As_int(obj2
));
32524 if (SWIG_arg_fail(3)) SWIG_fail
;
32527 arg4
= wxString_in_helper(obj3
);
32528 if (arg4
== NULL
) SWIG_fail
;
32533 arg5
= wxString_in_helper(obj4
);
32534 if (arg5
== NULL
) SWIG_fail
;
32540 arg6
= (wxItemKind
)(SWIG_As_int(obj5
));
32541 if (SWIG_arg_fail(6)) SWIG_fail
;
32545 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32546 result
= (wxMenuItem
*)(arg1
)->Insert(arg2
,arg3
,(wxString
const &)*arg4
,(wxString
const &)*arg5
,(wxItemKind
)arg6
);
32548 wxPyEndAllowThreads(__tstate
);
32549 if (PyErr_Occurred()) SWIG_fail
;
32552 resultobj
= wxPyMake_wxObject(result
, 0);
32576 static PyObject
*_wrap_Menu_InsertSeparator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32577 PyObject
*resultobj
;
32578 wxMenu
*arg1
= (wxMenu
*) 0 ;
32580 wxMenuItem
*result
;
32581 PyObject
* obj0
= 0 ;
32582 PyObject
* obj1
= 0 ;
32583 char *kwnames
[] = {
32584 (char *) "self",(char *) "pos", NULL
32587 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_InsertSeparator",kwnames
,&obj0
,&obj1
)) 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 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
32592 if (SWIG_arg_fail(2)) SWIG_fail
;
32595 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32596 result
= (wxMenuItem
*)(arg1
)->InsertSeparator(arg2
);
32598 wxPyEndAllowThreads(__tstate
);
32599 if (PyErr_Occurred()) SWIG_fail
;
32602 resultobj
= wxPyMake_wxObject(result
, 0);
32610 static PyObject
*_wrap_Menu_InsertCheckItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32611 PyObject
*resultobj
;
32612 wxMenu
*arg1
= (wxMenu
*) 0 ;
32615 wxString
*arg4
= 0 ;
32616 wxString
const &arg5_defvalue
= wxPyEmptyString
;
32617 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
32618 wxMenuItem
*result
;
32619 bool temp4
= false ;
32620 bool temp5
= false ;
32621 PyObject
* obj0
= 0 ;
32622 PyObject
* obj1
= 0 ;
32623 PyObject
* obj2
= 0 ;
32624 PyObject
* obj3
= 0 ;
32625 PyObject
* obj4
= 0 ;
32626 char *kwnames
[] = {
32627 (char *) "self",(char *) "pos",(char *) "id",(char *) "text",(char *) "help", NULL
32630 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:Menu_InsertCheckItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
32631 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
32632 if (SWIG_arg_fail(1)) SWIG_fail
;
32634 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
32635 if (SWIG_arg_fail(2)) SWIG_fail
;
32638 arg3
= (int)(SWIG_As_int(obj2
));
32639 if (SWIG_arg_fail(3)) SWIG_fail
;
32642 arg4
= wxString_in_helper(obj3
);
32643 if (arg4
== NULL
) SWIG_fail
;
32648 arg5
= wxString_in_helper(obj4
);
32649 if (arg5
== NULL
) SWIG_fail
;
32654 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32655 result
= (wxMenuItem
*)(arg1
)->InsertCheckItem(arg2
,arg3
,(wxString
const &)*arg4
,(wxString
const &)*arg5
);
32657 wxPyEndAllowThreads(__tstate
);
32658 if (PyErr_Occurred()) SWIG_fail
;
32661 resultobj
= wxPyMake_wxObject(result
, 0);
32685 static PyObject
*_wrap_Menu_InsertRadioItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32686 PyObject
*resultobj
;
32687 wxMenu
*arg1
= (wxMenu
*) 0 ;
32690 wxString
*arg4
= 0 ;
32691 wxString
const &arg5_defvalue
= wxPyEmptyString
;
32692 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
32693 wxMenuItem
*result
;
32694 bool temp4
= false ;
32695 bool temp5
= false ;
32696 PyObject
* obj0
= 0 ;
32697 PyObject
* obj1
= 0 ;
32698 PyObject
* obj2
= 0 ;
32699 PyObject
* obj3
= 0 ;
32700 PyObject
* obj4
= 0 ;
32701 char *kwnames
[] = {
32702 (char *) "self",(char *) "pos",(char *) "id",(char *) "text",(char *) "help", NULL
32705 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:Menu_InsertRadioItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
32706 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
32707 if (SWIG_arg_fail(1)) SWIG_fail
;
32709 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
32710 if (SWIG_arg_fail(2)) SWIG_fail
;
32713 arg3
= (int)(SWIG_As_int(obj2
));
32714 if (SWIG_arg_fail(3)) SWIG_fail
;
32717 arg4
= wxString_in_helper(obj3
);
32718 if (arg4
== NULL
) SWIG_fail
;
32723 arg5
= wxString_in_helper(obj4
);
32724 if (arg5
== NULL
) SWIG_fail
;
32729 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32730 result
= (wxMenuItem
*)(arg1
)->InsertRadioItem(arg2
,arg3
,(wxString
const &)*arg4
,(wxString
const &)*arg5
);
32732 wxPyEndAllowThreads(__tstate
);
32733 if (PyErr_Occurred()) SWIG_fail
;
32736 resultobj
= wxPyMake_wxObject(result
, 0);
32760 static PyObject
*_wrap_Menu_InsertMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32761 PyObject
*resultobj
;
32762 wxMenu
*arg1
= (wxMenu
*) 0 ;
32765 wxString
*arg4
= 0 ;
32766 wxMenu
*arg5
= (wxMenu
*) 0 ;
32767 wxString
const &arg6_defvalue
= wxPyEmptyString
;
32768 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
32769 wxMenuItem
*result
;
32770 bool temp4
= false ;
32771 bool temp6
= false ;
32772 PyObject
* obj0
= 0 ;
32773 PyObject
* obj1
= 0 ;
32774 PyObject
* obj2
= 0 ;
32775 PyObject
* obj3
= 0 ;
32776 PyObject
* obj4
= 0 ;
32777 PyObject
* obj5
= 0 ;
32778 char *kwnames
[] = {
32779 (char *) "self",(char *) "pos",(char *) "id",(char *) "text",(char *) "submenu",(char *) "help", NULL
32782 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:Menu_InsertMenu",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
32783 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
32784 if (SWIG_arg_fail(1)) SWIG_fail
;
32786 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
32787 if (SWIG_arg_fail(2)) SWIG_fail
;
32790 arg3
= (int)(SWIG_As_int(obj2
));
32791 if (SWIG_arg_fail(3)) SWIG_fail
;
32794 arg4
= wxString_in_helper(obj3
);
32795 if (arg4
== NULL
) SWIG_fail
;
32798 SWIG_Python_ConvertPtr(obj4
, (void **)&arg5
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
32799 if (SWIG_arg_fail(5)) SWIG_fail
;
32802 arg6
= wxString_in_helper(obj5
);
32803 if (arg6
== NULL
) SWIG_fail
;
32808 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32809 result
= (wxMenuItem
*)(arg1
)->Insert(arg2
,arg3
,(wxString
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
32811 wxPyEndAllowThreads(__tstate
);
32812 if (PyErr_Occurred()) SWIG_fail
;
32815 resultobj
= wxPyMake_wxObject(result
, 0);
32839 static PyObject
*_wrap_Menu_PrependItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32840 PyObject
*resultobj
;
32841 wxMenu
*arg1
= (wxMenu
*) 0 ;
32842 wxMenuItem
*arg2
= (wxMenuItem
*) 0 ;
32843 wxMenuItem
*result
;
32844 PyObject
* obj0
= 0 ;
32845 PyObject
* obj1
= 0 ;
32846 char *kwnames
[] = {
32847 (char *) "self",(char *) "item", NULL
32850 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_PrependItem",kwnames
,&obj0
,&obj1
)) goto fail
;
32851 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
32852 if (SWIG_arg_fail(1)) SWIG_fail
;
32853 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
32854 if (SWIG_arg_fail(2)) SWIG_fail
;
32856 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32857 result
= (wxMenuItem
*)(arg1
)->Prepend(arg2
);
32859 wxPyEndAllowThreads(__tstate
);
32860 if (PyErr_Occurred()) SWIG_fail
;
32863 resultobj
= wxPyMake_wxObject(result
, 0);
32871 static PyObject
*_wrap_Menu_Prepend(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32872 PyObject
*resultobj
;
32873 wxMenu
*arg1
= (wxMenu
*) 0 ;
32875 wxString
*arg3
= 0 ;
32876 wxString
const &arg4_defvalue
= wxPyEmptyString
;
32877 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
32878 wxItemKind arg5
= (wxItemKind
) wxITEM_NORMAL
;
32879 wxMenuItem
*result
;
32880 bool temp3
= false ;
32881 bool temp4
= false ;
32882 PyObject
* obj0
= 0 ;
32883 PyObject
* obj1
= 0 ;
32884 PyObject
* obj2
= 0 ;
32885 PyObject
* obj3
= 0 ;
32886 PyObject
* obj4
= 0 ;
32887 char *kwnames
[] = {
32888 (char *) "self",(char *) "id",(char *) "text",(char *) "help",(char *) "kind", NULL
32891 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:Menu_Prepend",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
32892 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
32893 if (SWIG_arg_fail(1)) SWIG_fail
;
32895 arg2
= (int)(SWIG_As_int(obj1
));
32896 if (SWIG_arg_fail(2)) SWIG_fail
;
32899 arg3
= wxString_in_helper(obj2
);
32900 if (arg3
== NULL
) SWIG_fail
;
32905 arg4
= wxString_in_helper(obj3
);
32906 if (arg4
== NULL
) SWIG_fail
;
32912 arg5
= (wxItemKind
)(SWIG_As_int(obj4
));
32913 if (SWIG_arg_fail(5)) SWIG_fail
;
32917 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32918 result
= (wxMenuItem
*)(arg1
)->Prepend(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,(wxItemKind
)arg5
);
32920 wxPyEndAllowThreads(__tstate
);
32921 if (PyErr_Occurred()) SWIG_fail
;
32924 resultobj
= wxPyMake_wxObject(result
, 0);
32948 static PyObject
*_wrap_Menu_PrependSeparator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32949 PyObject
*resultobj
;
32950 wxMenu
*arg1
= (wxMenu
*) 0 ;
32951 wxMenuItem
*result
;
32952 PyObject
* obj0
= 0 ;
32953 char *kwnames
[] = {
32954 (char *) "self", NULL
32957 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_PrependSeparator",kwnames
,&obj0
)) goto fail
;
32958 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
32959 if (SWIG_arg_fail(1)) SWIG_fail
;
32961 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32962 result
= (wxMenuItem
*)(arg1
)->PrependSeparator();
32964 wxPyEndAllowThreads(__tstate
);
32965 if (PyErr_Occurred()) SWIG_fail
;
32968 resultobj
= wxPyMake_wxObject(result
, 0);
32976 static PyObject
*_wrap_Menu_PrependCheckItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32977 PyObject
*resultobj
;
32978 wxMenu
*arg1
= (wxMenu
*) 0 ;
32980 wxString
*arg3
= 0 ;
32981 wxString
const &arg4_defvalue
= wxPyEmptyString
;
32982 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
32983 wxMenuItem
*result
;
32984 bool temp3
= false ;
32985 bool temp4
= false ;
32986 PyObject
* obj0
= 0 ;
32987 PyObject
* obj1
= 0 ;
32988 PyObject
* obj2
= 0 ;
32989 PyObject
* obj3
= 0 ;
32990 char *kwnames
[] = {
32991 (char *) "self",(char *) "id",(char *) "text",(char *) "help", NULL
32994 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Menu_PrependCheckItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
32995 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
32996 if (SWIG_arg_fail(1)) SWIG_fail
;
32998 arg2
= (int)(SWIG_As_int(obj1
));
32999 if (SWIG_arg_fail(2)) SWIG_fail
;
33002 arg3
= wxString_in_helper(obj2
);
33003 if (arg3
== NULL
) SWIG_fail
;
33008 arg4
= wxString_in_helper(obj3
);
33009 if (arg4
== NULL
) SWIG_fail
;
33014 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33015 result
= (wxMenuItem
*)(arg1
)->PrependCheckItem(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
);
33017 wxPyEndAllowThreads(__tstate
);
33018 if (PyErr_Occurred()) SWIG_fail
;
33021 resultobj
= wxPyMake_wxObject(result
, 0);
33045 static PyObject
*_wrap_Menu_PrependRadioItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33046 PyObject
*resultobj
;
33047 wxMenu
*arg1
= (wxMenu
*) 0 ;
33049 wxString
*arg3
= 0 ;
33050 wxString
const &arg4_defvalue
= wxPyEmptyString
;
33051 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
33052 wxMenuItem
*result
;
33053 bool temp3
= false ;
33054 bool temp4
= false ;
33055 PyObject
* obj0
= 0 ;
33056 PyObject
* obj1
= 0 ;
33057 PyObject
* obj2
= 0 ;
33058 PyObject
* obj3
= 0 ;
33059 char *kwnames
[] = {
33060 (char *) "self",(char *) "id",(char *) "text",(char *) "help", NULL
33063 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Menu_PrependRadioItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
33064 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33065 if (SWIG_arg_fail(1)) SWIG_fail
;
33067 arg2
= (int)(SWIG_As_int(obj1
));
33068 if (SWIG_arg_fail(2)) SWIG_fail
;
33071 arg3
= wxString_in_helper(obj2
);
33072 if (arg3
== NULL
) SWIG_fail
;
33077 arg4
= wxString_in_helper(obj3
);
33078 if (arg4
== NULL
) SWIG_fail
;
33083 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33084 result
= (wxMenuItem
*)(arg1
)->PrependRadioItem(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
);
33086 wxPyEndAllowThreads(__tstate
);
33087 if (PyErr_Occurred()) SWIG_fail
;
33090 resultobj
= wxPyMake_wxObject(result
, 0);
33114 static PyObject
*_wrap_Menu_PrependMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33115 PyObject
*resultobj
;
33116 wxMenu
*arg1
= (wxMenu
*) 0 ;
33118 wxString
*arg3
= 0 ;
33119 wxMenu
*arg4
= (wxMenu
*) 0 ;
33120 wxString
const &arg5_defvalue
= wxPyEmptyString
;
33121 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
33122 wxMenuItem
*result
;
33123 bool temp3
= false ;
33124 bool temp5
= false ;
33125 PyObject
* obj0
= 0 ;
33126 PyObject
* obj1
= 0 ;
33127 PyObject
* obj2
= 0 ;
33128 PyObject
* obj3
= 0 ;
33129 PyObject
* obj4
= 0 ;
33130 char *kwnames
[] = {
33131 (char *) "self",(char *) "id",(char *) "text",(char *) "submenu",(char *) "help", NULL
33134 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:Menu_PrependMenu",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
33135 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33136 if (SWIG_arg_fail(1)) SWIG_fail
;
33138 arg2
= (int)(SWIG_As_int(obj1
));
33139 if (SWIG_arg_fail(2)) SWIG_fail
;
33142 arg3
= wxString_in_helper(obj2
);
33143 if (arg3
== NULL
) SWIG_fail
;
33146 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33147 if (SWIG_arg_fail(4)) SWIG_fail
;
33150 arg5
= wxString_in_helper(obj4
);
33151 if (arg5
== NULL
) SWIG_fail
;
33156 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33157 result
= (wxMenuItem
*)(arg1
)->Prepend(arg2
,(wxString
const &)*arg3
,arg4
,(wxString
const &)*arg5
);
33159 wxPyEndAllowThreads(__tstate
);
33160 if (PyErr_Occurred()) SWIG_fail
;
33163 resultobj
= wxPyMake_wxObject(result
, 0);
33187 static PyObject
*_wrap_Menu_Remove(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33188 PyObject
*resultobj
;
33189 wxMenu
*arg1
= (wxMenu
*) 0 ;
33191 wxMenuItem
*result
;
33192 PyObject
* obj0
= 0 ;
33193 PyObject
* obj1
= 0 ;
33194 char *kwnames
[] = {
33195 (char *) "self",(char *) "id", NULL
33198 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_Remove",kwnames
,&obj0
,&obj1
)) goto fail
;
33199 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33200 if (SWIG_arg_fail(1)) SWIG_fail
;
33202 arg2
= (int)(SWIG_As_int(obj1
));
33203 if (SWIG_arg_fail(2)) SWIG_fail
;
33206 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33207 result
= (wxMenuItem
*)(arg1
)->Remove(arg2
);
33209 wxPyEndAllowThreads(__tstate
);
33210 if (PyErr_Occurred()) SWIG_fail
;
33213 resultobj
= wxPyMake_wxObject(result
, 0);
33221 static PyObject
*_wrap_Menu_RemoveItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33222 PyObject
*resultobj
;
33223 wxMenu
*arg1
= (wxMenu
*) 0 ;
33224 wxMenuItem
*arg2
= (wxMenuItem
*) 0 ;
33225 wxMenuItem
*result
;
33226 PyObject
* obj0
= 0 ;
33227 PyObject
* obj1
= 0 ;
33228 char *kwnames
[] = {
33229 (char *) "self",(char *) "item", NULL
33232 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_RemoveItem",kwnames
,&obj0
,&obj1
)) goto fail
;
33233 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33234 if (SWIG_arg_fail(1)) SWIG_fail
;
33235 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
33236 if (SWIG_arg_fail(2)) SWIG_fail
;
33238 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33239 result
= (wxMenuItem
*)(arg1
)->Remove(arg2
);
33241 wxPyEndAllowThreads(__tstate
);
33242 if (PyErr_Occurred()) SWIG_fail
;
33245 resultobj
= wxPyMake_wxObject(result
, 0);
33253 static PyObject
*_wrap_Menu_Delete(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33254 PyObject
*resultobj
;
33255 wxMenu
*arg1
= (wxMenu
*) 0 ;
33258 PyObject
* obj0
= 0 ;
33259 PyObject
* obj1
= 0 ;
33260 char *kwnames
[] = {
33261 (char *) "self",(char *) "id", NULL
33264 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_Delete",kwnames
,&obj0
,&obj1
)) goto fail
;
33265 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33266 if (SWIG_arg_fail(1)) SWIG_fail
;
33268 arg2
= (int)(SWIG_As_int(obj1
));
33269 if (SWIG_arg_fail(2)) SWIG_fail
;
33272 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33273 result
= (bool)(arg1
)->Delete(arg2
);
33275 wxPyEndAllowThreads(__tstate
);
33276 if (PyErr_Occurred()) SWIG_fail
;
33279 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33287 static PyObject
*_wrap_Menu_DeleteItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33288 PyObject
*resultobj
;
33289 wxMenu
*arg1
= (wxMenu
*) 0 ;
33290 wxMenuItem
*arg2
= (wxMenuItem
*) 0 ;
33292 PyObject
* obj0
= 0 ;
33293 PyObject
* obj1
= 0 ;
33294 char *kwnames
[] = {
33295 (char *) "self",(char *) "item", NULL
33298 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_DeleteItem",kwnames
,&obj0
,&obj1
)) goto fail
;
33299 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33300 if (SWIG_arg_fail(1)) SWIG_fail
;
33301 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
33302 if (SWIG_arg_fail(2)) SWIG_fail
;
33304 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33305 result
= (bool)(arg1
)->Delete(arg2
);
33307 wxPyEndAllowThreads(__tstate
);
33308 if (PyErr_Occurred()) SWIG_fail
;
33311 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33319 static PyObject
*_wrap_Menu_Destroy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33320 PyObject
*resultobj
;
33321 wxMenu
*arg1
= (wxMenu
*) 0 ;
33322 PyObject
* obj0
= 0 ;
33323 char *kwnames
[] = {
33324 (char *) "self", NULL
33327 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_Destroy",kwnames
,&obj0
)) goto fail
;
33328 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33329 if (SWIG_arg_fail(1)) SWIG_fail
;
33331 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33332 wxMenu_Destroy(arg1
);
33334 wxPyEndAllowThreads(__tstate
);
33335 if (PyErr_Occurred()) SWIG_fail
;
33337 Py_INCREF(Py_None
); resultobj
= Py_None
;
33344 static PyObject
*_wrap_Menu_DestroyId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33345 PyObject
*resultobj
;
33346 wxMenu
*arg1
= (wxMenu
*) 0 ;
33349 PyObject
* obj0
= 0 ;
33350 PyObject
* obj1
= 0 ;
33351 char *kwnames
[] = {
33352 (char *) "self",(char *) "id", NULL
33355 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_DestroyId",kwnames
,&obj0
,&obj1
)) goto fail
;
33356 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33357 if (SWIG_arg_fail(1)) SWIG_fail
;
33359 arg2
= (int)(SWIG_As_int(obj1
));
33360 if (SWIG_arg_fail(2)) SWIG_fail
;
33363 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33364 result
= (bool)(arg1
)->Destroy(arg2
);
33366 wxPyEndAllowThreads(__tstate
);
33367 if (PyErr_Occurred()) SWIG_fail
;
33370 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33378 static PyObject
*_wrap_Menu_DestroyItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33379 PyObject
*resultobj
;
33380 wxMenu
*arg1
= (wxMenu
*) 0 ;
33381 wxMenuItem
*arg2
= (wxMenuItem
*) 0 ;
33383 PyObject
* obj0
= 0 ;
33384 PyObject
* obj1
= 0 ;
33385 char *kwnames
[] = {
33386 (char *) "self",(char *) "item", NULL
33389 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_DestroyItem",kwnames
,&obj0
,&obj1
)) goto fail
;
33390 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33391 if (SWIG_arg_fail(1)) SWIG_fail
;
33392 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
33393 if (SWIG_arg_fail(2)) SWIG_fail
;
33395 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33396 result
= (bool)(arg1
)->Destroy(arg2
);
33398 wxPyEndAllowThreads(__tstate
);
33399 if (PyErr_Occurred()) SWIG_fail
;
33402 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33410 static PyObject
*_wrap_Menu_GetMenuItemCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33411 PyObject
*resultobj
;
33412 wxMenu
*arg1
= (wxMenu
*) 0 ;
33414 PyObject
* obj0
= 0 ;
33415 char *kwnames
[] = {
33416 (char *) "self", NULL
33419 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetMenuItemCount",kwnames
,&obj0
)) goto fail
;
33420 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33421 if (SWIG_arg_fail(1)) SWIG_fail
;
33423 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33424 result
= (size_t)((wxMenu
const *)arg1
)->GetMenuItemCount();
33426 wxPyEndAllowThreads(__tstate
);
33427 if (PyErr_Occurred()) SWIG_fail
;
33430 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
33438 static PyObject
*_wrap_Menu_GetMenuItems(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33439 PyObject
*resultobj
;
33440 wxMenu
*arg1
= (wxMenu
*) 0 ;
33442 PyObject
* obj0
= 0 ;
33443 char *kwnames
[] = {
33444 (char *) "self", NULL
33447 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetMenuItems",kwnames
,&obj0
)) goto fail
;
33448 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33449 if (SWIG_arg_fail(1)) SWIG_fail
;
33451 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33452 result
= (PyObject
*)wxMenu_GetMenuItems(arg1
);
33454 wxPyEndAllowThreads(__tstate
);
33455 if (PyErr_Occurred()) SWIG_fail
;
33457 resultobj
= result
;
33464 static PyObject
*_wrap_Menu_FindItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33465 PyObject
*resultobj
;
33466 wxMenu
*arg1
= (wxMenu
*) 0 ;
33467 wxString
*arg2
= 0 ;
33469 bool temp2
= false ;
33470 PyObject
* obj0
= 0 ;
33471 PyObject
* obj1
= 0 ;
33472 char *kwnames
[] = {
33473 (char *) "self",(char *) "item", NULL
33476 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_FindItem",kwnames
,&obj0
,&obj1
)) 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 arg2
= wxString_in_helper(obj1
);
33481 if (arg2
== NULL
) SWIG_fail
;
33485 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33486 result
= (int)((wxMenu
const *)arg1
)->FindItem((wxString
const &)*arg2
);
33488 wxPyEndAllowThreads(__tstate
);
33489 if (PyErr_Occurred()) SWIG_fail
;
33492 resultobj
= SWIG_From_int((int)(result
));
33508 static PyObject
*_wrap_Menu_FindItemById(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33509 PyObject
*resultobj
;
33510 wxMenu
*arg1
= (wxMenu
*) 0 ;
33512 wxMenuItem
*result
;
33513 PyObject
* obj0
= 0 ;
33514 PyObject
* obj1
= 0 ;
33515 char *kwnames
[] = {
33516 (char *) "self",(char *) "id", NULL
33519 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_FindItemById",kwnames
,&obj0
,&obj1
)) goto fail
;
33520 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33521 if (SWIG_arg_fail(1)) SWIG_fail
;
33523 arg2
= (int)(SWIG_As_int(obj1
));
33524 if (SWIG_arg_fail(2)) SWIG_fail
;
33527 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33528 result
= (wxMenuItem
*)((wxMenu
const *)arg1
)->FindItem(arg2
);
33530 wxPyEndAllowThreads(__tstate
);
33531 if (PyErr_Occurred()) SWIG_fail
;
33534 resultobj
= wxPyMake_wxObject(result
, 0);
33542 static PyObject
*_wrap_Menu_FindItemByPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33543 PyObject
*resultobj
;
33544 wxMenu
*arg1
= (wxMenu
*) 0 ;
33546 wxMenuItem
*result
;
33547 PyObject
* obj0
= 0 ;
33548 PyObject
* obj1
= 0 ;
33549 char *kwnames
[] = {
33550 (char *) "self",(char *) "position", NULL
33553 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_FindItemByPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
33554 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33555 if (SWIG_arg_fail(1)) SWIG_fail
;
33557 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
33558 if (SWIG_arg_fail(2)) SWIG_fail
;
33561 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33562 result
= (wxMenuItem
*)((wxMenu
const *)arg1
)->FindItemByPosition(arg2
);
33564 wxPyEndAllowThreads(__tstate
);
33565 if (PyErr_Occurred()) SWIG_fail
;
33568 resultobj
= wxPyMake_wxObject(result
, 0);
33576 static PyObject
*_wrap_Menu_Enable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33577 PyObject
*resultobj
;
33578 wxMenu
*arg1
= (wxMenu
*) 0 ;
33581 PyObject
* obj0
= 0 ;
33582 PyObject
* obj1
= 0 ;
33583 PyObject
* obj2
= 0 ;
33584 char *kwnames
[] = {
33585 (char *) "self",(char *) "id",(char *) "enable", NULL
33588 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Menu_Enable",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
33589 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33590 if (SWIG_arg_fail(1)) SWIG_fail
;
33592 arg2
= (int)(SWIG_As_int(obj1
));
33593 if (SWIG_arg_fail(2)) SWIG_fail
;
33596 arg3
= (bool)(SWIG_As_bool(obj2
));
33597 if (SWIG_arg_fail(3)) SWIG_fail
;
33600 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33601 (arg1
)->Enable(arg2
,arg3
);
33603 wxPyEndAllowThreads(__tstate
);
33604 if (PyErr_Occurred()) SWIG_fail
;
33606 Py_INCREF(Py_None
); resultobj
= Py_None
;
33613 static PyObject
*_wrap_Menu_IsEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33614 PyObject
*resultobj
;
33615 wxMenu
*arg1
= (wxMenu
*) 0 ;
33618 PyObject
* obj0
= 0 ;
33619 PyObject
* obj1
= 0 ;
33620 char *kwnames
[] = {
33621 (char *) "self",(char *) "id", NULL
33624 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_IsEnabled",kwnames
,&obj0
,&obj1
)) goto fail
;
33625 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33626 if (SWIG_arg_fail(1)) SWIG_fail
;
33628 arg2
= (int)(SWIG_As_int(obj1
));
33629 if (SWIG_arg_fail(2)) SWIG_fail
;
33632 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33633 result
= (bool)((wxMenu
const *)arg1
)->IsEnabled(arg2
);
33635 wxPyEndAllowThreads(__tstate
);
33636 if (PyErr_Occurred()) SWIG_fail
;
33639 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33647 static PyObject
*_wrap_Menu_Check(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33648 PyObject
*resultobj
;
33649 wxMenu
*arg1
= (wxMenu
*) 0 ;
33652 PyObject
* obj0
= 0 ;
33653 PyObject
* obj1
= 0 ;
33654 PyObject
* obj2
= 0 ;
33655 char *kwnames
[] = {
33656 (char *) "self",(char *) "id",(char *) "check", NULL
33659 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Menu_Check",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
33660 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33661 if (SWIG_arg_fail(1)) SWIG_fail
;
33663 arg2
= (int)(SWIG_As_int(obj1
));
33664 if (SWIG_arg_fail(2)) SWIG_fail
;
33667 arg3
= (bool)(SWIG_As_bool(obj2
));
33668 if (SWIG_arg_fail(3)) SWIG_fail
;
33671 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33672 (arg1
)->Check(arg2
,arg3
);
33674 wxPyEndAllowThreads(__tstate
);
33675 if (PyErr_Occurred()) SWIG_fail
;
33677 Py_INCREF(Py_None
); resultobj
= Py_None
;
33684 static PyObject
*_wrap_Menu_IsChecked(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33685 PyObject
*resultobj
;
33686 wxMenu
*arg1
= (wxMenu
*) 0 ;
33689 PyObject
* obj0
= 0 ;
33690 PyObject
* obj1
= 0 ;
33691 char *kwnames
[] = {
33692 (char *) "self",(char *) "id", NULL
33695 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_IsChecked",kwnames
,&obj0
,&obj1
)) goto fail
;
33696 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33697 if (SWIG_arg_fail(1)) SWIG_fail
;
33699 arg2
= (int)(SWIG_As_int(obj1
));
33700 if (SWIG_arg_fail(2)) SWIG_fail
;
33703 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33704 result
= (bool)((wxMenu
const *)arg1
)->IsChecked(arg2
);
33706 wxPyEndAllowThreads(__tstate
);
33707 if (PyErr_Occurred()) SWIG_fail
;
33710 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33718 static PyObject
*_wrap_Menu_SetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33719 PyObject
*resultobj
;
33720 wxMenu
*arg1
= (wxMenu
*) 0 ;
33722 wxString
*arg3
= 0 ;
33723 bool temp3
= false ;
33724 PyObject
* obj0
= 0 ;
33725 PyObject
* obj1
= 0 ;
33726 PyObject
* obj2
= 0 ;
33727 char *kwnames
[] = {
33728 (char *) "self",(char *) "id",(char *) "label", NULL
33731 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Menu_SetLabel",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
33732 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33733 if (SWIG_arg_fail(1)) SWIG_fail
;
33735 arg2
= (int)(SWIG_As_int(obj1
));
33736 if (SWIG_arg_fail(2)) SWIG_fail
;
33739 arg3
= wxString_in_helper(obj2
);
33740 if (arg3
== NULL
) SWIG_fail
;
33744 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33745 (arg1
)->SetLabel(arg2
,(wxString
const &)*arg3
);
33747 wxPyEndAllowThreads(__tstate
);
33748 if (PyErr_Occurred()) SWIG_fail
;
33750 Py_INCREF(Py_None
); resultobj
= Py_None
;
33765 static PyObject
*_wrap_Menu_GetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33766 PyObject
*resultobj
;
33767 wxMenu
*arg1
= (wxMenu
*) 0 ;
33770 PyObject
* obj0
= 0 ;
33771 PyObject
* obj1
= 0 ;
33772 char *kwnames
[] = {
33773 (char *) "self",(char *) "id", NULL
33776 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_GetLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
33777 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33778 if (SWIG_arg_fail(1)) SWIG_fail
;
33780 arg2
= (int)(SWIG_As_int(obj1
));
33781 if (SWIG_arg_fail(2)) SWIG_fail
;
33784 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33785 result
= ((wxMenu
const *)arg1
)->GetLabel(arg2
);
33787 wxPyEndAllowThreads(__tstate
);
33788 if (PyErr_Occurred()) SWIG_fail
;
33792 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
33794 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
33803 static PyObject
*_wrap_Menu_SetHelpString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33804 PyObject
*resultobj
;
33805 wxMenu
*arg1
= (wxMenu
*) 0 ;
33807 wxString
*arg3
= 0 ;
33808 bool temp3
= false ;
33809 PyObject
* obj0
= 0 ;
33810 PyObject
* obj1
= 0 ;
33811 PyObject
* obj2
= 0 ;
33812 char *kwnames
[] = {
33813 (char *) "self",(char *) "id",(char *) "helpString", NULL
33816 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Menu_SetHelpString",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
33817 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33818 if (SWIG_arg_fail(1)) SWIG_fail
;
33820 arg2
= (int)(SWIG_As_int(obj1
));
33821 if (SWIG_arg_fail(2)) SWIG_fail
;
33824 arg3
= wxString_in_helper(obj2
);
33825 if (arg3
== NULL
) SWIG_fail
;
33829 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33830 (arg1
)->SetHelpString(arg2
,(wxString
const &)*arg3
);
33832 wxPyEndAllowThreads(__tstate
);
33833 if (PyErr_Occurred()) SWIG_fail
;
33835 Py_INCREF(Py_None
); resultobj
= Py_None
;
33850 static PyObject
*_wrap_Menu_GetHelpString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33851 PyObject
*resultobj
;
33852 wxMenu
*arg1
= (wxMenu
*) 0 ;
33855 PyObject
* obj0
= 0 ;
33856 PyObject
* obj1
= 0 ;
33857 char *kwnames
[] = {
33858 (char *) "self",(char *) "id", NULL
33861 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_GetHelpString",kwnames
,&obj0
,&obj1
)) goto fail
;
33862 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33863 if (SWIG_arg_fail(1)) SWIG_fail
;
33865 arg2
= (int)(SWIG_As_int(obj1
));
33866 if (SWIG_arg_fail(2)) SWIG_fail
;
33869 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33870 result
= ((wxMenu
const *)arg1
)->GetHelpString(arg2
);
33872 wxPyEndAllowThreads(__tstate
);
33873 if (PyErr_Occurred()) SWIG_fail
;
33877 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
33879 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
33888 static PyObject
*_wrap_Menu_SetTitle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33889 PyObject
*resultobj
;
33890 wxMenu
*arg1
= (wxMenu
*) 0 ;
33891 wxString
*arg2
= 0 ;
33892 bool temp2
= false ;
33893 PyObject
* obj0
= 0 ;
33894 PyObject
* obj1
= 0 ;
33895 char *kwnames
[] = {
33896 (char *) "self",(char *) "title", NULL
33899 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_SetTitle",kwnames
,&obj0
,&obj1
)) goto fail
;
33900 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33901 if (SWIG_arg_fail(1)) SWIG_fail
;
33903 arg2
= wxString_in_helper(obj1
);
33904 if (arg2
== NULL
) SWIG_fail
;
33908 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33909 (arg1
)->SetTitle((wxString
const &)*arg2
);
33911 wxPyEndAllowThreads(__tstate
);
33912 if (PyErr_Occurred()) SWIG_fail
;
33914 Py_INCREF(Py_None
); resultobj
= Py_None
;
33929 static PyObject
*_wrap_Menu_GetTitle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33930 PyObject
*resultobj
;
33931 wxMenu
*arg1
= (wxMenu
*) 0 ;
33933 PyObject
* obj0
= 0 ;
33934 char *kwnames
[] = {
33935 (char *) "self", NULL
33938 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetTitle",kwnames
,&obj0
)) goto fail
;
33939 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33940 if (SWIG_arg_fail(1)) SWIG_fail
;
33942 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33943 result
= ((wxMenu
const *)arg1
)->GetTitle();
33945 wxPyEndAllowThreads(__tstate
);
33946 if (PyErr_Occurred()) SWIG_fail
;
33950 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
33952 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
33961 static PyObject
*_wrap_Menu_SetEventHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33962 PyObject
*resultobj
;
33963 wxMenu
*arg1
= (wxMenu
*) 0 ;
33964 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
33965 PyObject
* obj0
= 0 ;
33966 PyObject
* obj1
= 0 ;
33967 char *kwnames
[] = {
33968 (char *) "self",(char *) "handler", NULL
33971 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_SetEventHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
33972 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33973 if (SWIG_arg_fail(1)) SWIG_fail
;
33974 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
33975 if (SWIG_arg_fail(2)) SWIG_fail
;
33977 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33978 (arg1
)->SetEventHandler(arg2
);
33980 wxPyEndAllowThreads(__tstate
);
33981 if (PyErr_Occurred()) SWIG_fail
;
33983 Py_INCREF(Py_None
); resultobj
= Py_None
;
33990 static PyObject
*_wrap_Menu_GetEventHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33991 PyObject
*resultobj
;
33992 wxMenu
*arg1
= (wxMenu
*) 0 ;
33993 wxEvtHandler
*result
;
33994 PyObject
* obj0
= 0 ;
33995 char *kwnames
[] = {
33996 (char *) "self", NULL
33999 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetEventHandler",kwnames
,&obj0
)) goto fail
;
34000 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34001 if (SWIG_arg_fail(1)) SWIG_fail
;
34003 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34004 result
= (wxEvtHandler
*)((wxMenu
const *)arg1
)->GetEventHandler();
34006 wxPyEndAllowThreads(__tstate
);
34007 if (PyErr_Occurred()) SWIG_fail
;
34010 resultobj
= wxPyMake_wxObject(result
, 0);
34018 static PyObject
*_wrap_Menu_SetInvokingWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34019 PyObject
*resultobj
;
34020 wxMenu
*arg1
= (wxMenu
*) 0 ;
34021 wxWindow
*arg2
= (wxWindow
*) 0 ;
34022 PyObject
* obj0
= 0 ;
34023 PyObject
* obj1
= 0 ;
34024 char *kwnames
[] = {
34025 (char *) "self",(char *) "win", NULL
34028 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_SetInvokingWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
34029 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34030 if (SWIG_arg_fail(1)) SWIG_fail
;
34031 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
34032 if (SWIG_arg_fail(2)) SWIG_fail
;
34034 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34035 (arg1
)->SetInvokingWindow(arg2
);
34037 wxPyEndAllowThreads(__tstate
);
34038 if (PyErr_Occurred()) SWIG_fail
;
34040 Py_INCREF(Py_None
); resultobj
= Py_None
;
34047 static PyObject
*_wrap_Menu_GetInvokingWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34048 PyObject
*resultobj
;
34049 wxMenu
*arg1
= (wxMenu
*) 0 ;
34051 PyObject
* obj0
= 0 ;
34052 char *kwnames
[] = {
34053 (char *) "self", NULL
34056 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetInvokingWindow",kwnames
,&obj0
)) goto fail
;
34057 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34058 if (SWIG_arg_fail(1)) SWIG_fail
;
34060 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34061 result
= (wxWindow
*)((wxMenu
const *)arg1
)->GetInvokingWindow();
34063 wxPyEndAllowThreads(__tstate
);
34064 if (PyErr_Occurred()) SWIG_fail
;
34067 resultobj
= wxPyMake_wxObject(result
, 0);
34075 static PyObject
*_wrap_Menu_GetStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34076 PyObject
*resultobj
;
34077 wxMenu
*arg1
= (wxMenu
*) 0 ;
34079 PyObject
* obj0
= 0 ;
34080 char *kwnames
[] = {
34081 (char *) "self", NULL
34084 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetStyle",kwnames
,&obj0
)) goto fail
;
34085 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34086 if (SWIG_arg_fail(1)) SWIG_fail
;
34088 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34089 result
= (long)((wxMenu
const *)arg1
)->GetStyle();
34091 wxPyEndAllowThreads(__tstate
);
34092 if (PyErr_Occurred()) SWIG_fail
;
34095 resultobj
= SWIG_From_long((long)(result
));
34103 static PyObject
*_wrap_Menu_UpdateUI(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34104 PyObject
*resultobj
;
34105 wxMenu
*arg1
= (wxMenu
*) 0 ;
34106 wxEvtHandler
*arg2
= (wxEvtHandler
*) NULL
;
34107 PyObject
* obj0
= 0 ;
34108 PyObject
* obj1
= 0 ;
34109 char *kwnames
[] = {
34110 (char *) "self",(char *) "source", NULL
34113 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Menu_UpdateUI",kwnames
,&obj0
,&obj1
)) goto fail
;
34114 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34115 if (SWIG_arg_fail(1)) SWIG_fail
;
34117 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
34118 if (SWIG_arg_fail(2)) SWIG_fail
;
34121 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34122 (arg1
)->UpdateUI(arg2
);
34124 wxPyEndAllowThreads(__tstate
);
34125 if (PyErr_Occurred()) SWIG_fail
;
34127 Py_INCREF(Py_None
); resultobj
= Py_None
;
34134 static PyObject
*_wrap_Menu_GetMenuBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34135 PyObject
*resultobj
;
34136 wxMenu
*arg1
= (wxMenu
*) 0 ;
34138 PyObject
* obj0
= 0 ;
34139 char *kwnames
[] = {
34140 (char *) "self", NULL
34143 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetMenuBar",kwnames
,&obj0
)) goto fail
;
34144 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34145 if (SWIG_arg_fail(1)) SWIG_fail
;
34147 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34148 result
= (wxMenuBar
*)((wxMenu
const *)arg1
)->GetMenuBar();
34150 wxPyEndAllowThreads(__tstate
);
34151 if (PyErr_Occurred()) SWIG_fail
;
34154 resultobj
= wxPyMake_wxObject(result
, 0);
34162 static PyObject
*_wrap_Menu_Attach(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34163 PyObject
*resultobj
;
34164 wxMenu
*arg1
= (wxMenu
*) 0 ;
34165 wxMenuBarBase
*arg2
= (wxMenuBarBase
*) 0 ;
34166 PyObject
* obj0
= 0 ;
34167 PyObject
* obj1
= 0 ;
34168 char *kwnames
[] = {
34169 (char *) "self",(char *) "menubar", NULL
34172 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_Attach",kwnames
,&obj0
,&obj1
)) goto fail
;
34173 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34174 if (SWIG_arg_fail(1)) SWIG_fail
;
34175 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMenuBarBase
, SWIG_POINTER_EXCEPTION
| 0);
34176 if (SWIG_arg_fail(2)) SWIG_fail
;
34178 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34179 (arg1
)->Attach(arg2
);
34181 wxPyEndAllowThreads(__tstate
);
34182 if (PyErr_Occurred()) SWIG_fail
;
34184 Py_INCREF(Py_None
); resultobj
= Py_None
;
34191 static PyObject
*_wrap_Menu_Detach(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34192 PyObject
*resultobj
;
34193 wxMenu
*arg1
= (wxMenu
*) 0 ;
34194 PyObject
* obj0
= 0 ;
34195 char *kwnames
[] = {
34196 (char *) "self", NULL
34199 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_Detach",kwnames
,&obj0
)) goto fail
;
34200 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34201 if (SWIG_arg_fail(1)) SWIG_fail
;
34203 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34206 wxPyEndAllowThreads(__tstate
);
34207 if (PyErr_Occurred()) SWIG_fail
;
34209 Py_INCREF(Py_None
); resultobj
= Py_None
;
34216 static PyObject
*_wrap_Menu_IsAttached(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34217 PyObject
*resultobj
;
34218 wxMenu
*arg1
= (wxMenu
*) 0 ;
34220 PyObject
* obj0
= 0 ;
34221 char *kwnames
[] = {
34222 (char *) "self", NULL
34225 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_IsAttached",kwnames
,&obj0
)) goto fail
;
34226 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34227 if (SWIG_arg_fail(1)) SWIG_fail
;
34229 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34230 result
= (bool)((wxMenu
const *)arg1
)->IsAttached();
34232 wxPyEndAllowThreads(__tstate
);
34233 if (PyErr_Occurred()) SWIG_fail
;
34236 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34244 static PyObject
*_wrap_Menu_SetParent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34245 PyObject
*resultobj
;
34246 wxMenu
*arg1
= (wxMenu
*) 0 ;
34247 wxMenu
*arg2
= (wxMenu
*) 0 ;
34248 PyObject
* obj0
= 0 ;
34249 PyObject
* obj1
= 0 ;
34250 char *kwnames
[] = {
34251 (char *) "self",(char *) "parent", NULL
34254 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_SetParent",kwnames
,&obj0
,&obj1
)) goto fail
;
34255 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34256 if (SWIG_arg_fail(1)) SWIG_fail
;
34257 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34258 if (SWIG_arg_fail(2)) SWIG_fail
;
34260 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34261 (arg1
)->SetParent(arg2
);
34263 wxPyEndAllowThreads(__tstate
);
34264 if (PyErr_Occurred()) SWIG_fail
;
34266 Py_INCREF(Py_None
); resultobj
= Py_None
;
34273 static PyObject
*_wrap_Menu_GetParent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34274 PyObject
*resultobj
;
34275 wxMenu
*arg1
= (wxMenu
*) 0 ;
34277 PyObject
* obj0
= 0 ;
34278 char *kwnames
[] = {
34279 (char *) "self", NULL
34282 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetParent",kwnames
,&obj0
)) goto fail
;
34283 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34284 if (SWIG_arg_fail(1)) SWIG_fail
;
34286 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34287 result
= (wxMenu
*)((wxMenu
const *)arg1
)->GetParent();
34289 wxPyEndAllowThreads(__tstate
);
34290 if (PyErr_Occurred()) SWIG_fail
;
34293 resultobj
= wxPyMake_wxObject(result
, 0);
34301 static PyObject
* Menu_swigregister(PyObject
*, PyObject
*args
) {
34303 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
34304 SWIG_TypeClientData(SWIGTYPE_p_wxMenu
, obj
);
34306 return Py_BuildValue((char *)"");
34308 static PyObject
*_wrap_new_MenuBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34309 PyObject
*resultobj
;
34310 long arg1
= (long) 0 ;
34312 PyObject
* obj0
= 0 ;
34313 char *kwnames
[] = {
34314 (char *) "style", NULL
34317 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_MenuBar",kwnames
,&obj0
)) goto fail
;
34320 arg1
= (long)(SWIG_As_long(obj0
));
34321 if (SWIG_arg_fail(1)) SWIG_fail
;
34325 if (!wxPyCheckForApp()) SWIG_fail
;
34326 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34327 result
= (wxMenuBar
*)new wxMenuBar(arg1
);
34329 wxPyEndAllowThreads(__tstate
);
34330 if (PyErr_Occurred()) SWIG_fail
;
34332 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMenuBar
, 1);
34339 static PyObject
*_wrap_MenuBar_Append(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34340 PyObject
*resultobj
;
34341 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
34342 wxMenu
*arg2
= (wxMenu
*) 0 ;
34343 wxString
*arg3
= 0 ;
34345 bool temp3
= false ;
34346 PyObject
* obj0
= 0 ;
34347 PyObject
* obj1
= 0 ;
34348 PyObject
* obj2
= 0 ;
34349 char *kwnames
[] = {
34350 (char *) "self",(char *) "menu",(char *) "title", NULL
34353 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_Append",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
34354 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
34355 if (SWIG_arg_fail(1)) SWIG_fail
;
34356 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34357 if (SWIG_arg_fail(2)) SWIG_fail
;
34359 arg3
= wxString_in_helper(obj2
);
34360 if (arg3
== NULL
) SWIG_fail
;
34364 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34365 result
= (bool)(arg1
)->Append(arg2
,(wxString
const &)*arg3
);
34367 wxPyEndAllowThreads(__tstate
);
34368 if (PyErr_Occurred()) SWIG_fail
;
34371 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34387 static PyObject
*_wrap_MenuBar_Insert(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34388 PyObject
*resultobj
;
34389 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
34391 wxMenu
*arg3
= (wxMenu
*) 0 ;
34392 wxString
*arg4
= 0 ;
34394 bool temp4
= false ;
34395 PyObject
* obj0
= 0 ;
34396 PyObject
* obj1
= 0 ;
34397 PyObject
* obj2
= 0 ;
34398 PyObject
* obj3
= 0 ;
34399 char *kwnames
[] = {
34400 (char *) "self",(char *) "pos",(char *) "menu",(char *) "title", NULL
34403 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:MenuBar_Insert",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
34404 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
34405 if (SWIG_arg_fail(1)) SWIG_fail
;
34407 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
34408 if (SWIG_arg_fail(2)) SWIG_fail
;
34410 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34411 if (SWIG_arg_fail(3)) SWIG_fail
;
34413 arg4
= wxString_in_helper(obj3
);
34414 if (arg4
== NULL
) SWIG_fail
;
34418 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34419 result
= (bool)(arg1
)->Insert(arg2
,arg3
,(wxString
const &)*arg4
);
34421 wxPyEndAllowThreads(__tstate
);
34422 if (PyErr_Occurred()) SWIG_fail
;
34425 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34441 static PyObject
*_wrap_MenuBar_GetMenuCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34442 PyObject
*resultobj
;
34443 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
34445 PyObject
* obj0
= 0 ;
34446 char *kwnames
[] = {
34447 (char *) "self", NULL
34450 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuBar_GetMenuCount",kwnames
,&obj0
)) goto fail
;
34451 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
34452 if (SWIG_arg_fail(1)) SWIG_fail
;
34454 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34455 result
= (size_t)((wxMenuBar
const *)arg1
)->GetMenuCount();
34457 wxPyEndAllowThreads(__tstate
);
34458 if (PyErr_Occurred()) SWIG_fail
;
34461 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
34469 static PyObject
*_wrap_MenuBar_GetMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34470 PyObject
*resultobj
;
34471 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
34474 PyObject
* obj0
= 0 ;
34475 PyObject
* obj1
= 0 ;
34476 char *kwnames
[] = {
34477 (char *) "self",(char *) "pos", NULL
34480 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_GetMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
34481 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
34482 if (SWIG_arg_fail(1)) SWIG_fail
;
34484 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
34485 if (SWIG_arg_fail(2)) SWIG_fail
;
34488 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34489 result
= (wxMenu
*)((wxMenuBar
const *)arg1
)->GetMenu(arg2
);
34491 wxPyEndAllowThreads(__tstate
);
34492 if (PyErr_Occurred()) SWIG_fail
;
34495 resultobj
= wxPyMake_wxObject(result
, 0);
34503 static PyObject
*_wrap_MenuBar_Replace(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34504 PyObject
*resultobj
;
34505 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
34507 wxMenu
*arg3
= (wxMenu
*) 0 ;
34508 wxString
*arg4
= 0 ;
34510 bool temp4
= false ;
34511 PyObject
* obj0
= 0 ;
34512 PyObject
* obj1
= 0 ;
34513 PyObject
* obj2
= 0 ;
34514 PyObject
* obj3
= 0 ;
34515 char *kwnames
[] = {
34516 (char *) "self",(char *) "pos",(char *) "menu",(char *) "title", NULL
34519 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:MenuBar_Replace",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
34520 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
34521 if (SWIG_arg_fail(1)) SWIG_fail
;
34523 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
34524 if (SWIG_arg_fail(2)) SWIG_fail
;
34526 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34527 if (SWIG_arg_fail(3)) SWIG_fail
;
34529 arg4
= wxString_in_helper(obj3
);
34530 if (arg4
== NULL
) SWIG_fail
;
34534 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34535 result
= (wxMenu
*)(arg1
)->Replace(arg2
,arg3
,(wxString
const &)*arg4
);
34537 wxPyEndAllowThreads(__tstate
);
34538 if (PyErr_Occurred()) SWIG_fail
;
34541 resultobj
= wxPyMake_wxObject(result
, 0);
34557 static PyObject
*_wrap_MenuBar_Remove(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34558 PyObject
*resultobj
;
34559 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
34562 PyObject
* obj0
= 0 ;
34563 PyObject
* obj1
= 0 ;
34564 char *kwnames
[] = {
34565 (char *) "self",(char *) "pos", NULL
34568 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_Remove",kwnames
,&obj0
,&obj1
)) goto fail
;
34569 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
34570 if (SWIG_arg_fail(1)) SWIG_fail
;
34572 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
34573 if (SWIG_arg_fail(2)) SWIG_fail
;
34576 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34577 result
= (wxMenu
*)(arg1
)->Remove(arg2
);
34579 wxPyEndAllowThreads(__tstate
);
34580 if (PyErr_Occurred()) SWIG_fail
;
34583 resultobj
= wxPyMake_wxObject(result
, 0);
34591 static PyObject
*_wrap_MenuBar_EnableTop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34592 PyObject
*resultobj
;
34593 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
34596 PyObject
* obj0
= 0 ;
34597 PyObject
* obj1
= 0 ;
34598 PyObject
* obj2
= 0 ;
34599 char *kwnames
[] = {
34600 (char *) "self",(char *) "pos",(char *) "enable", NULL
34603 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_EnableTop",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
34604 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
34605 if (SWIG_arg_fail(1)) SWIG_fail
;
34607 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
34608 if (SWIG_arg_fail(2)) SWIG_fail
;
34611 arg3
= (bool)(SWIG_As_bool(obj2
));
34612 if (SWIG_arg_fail(3)) SWIG_fail
;
34615 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34616 (arg1
)->EnableTop(arg2
,arg3
);
34618 wxPyEndAllowThreads(__tstate
);
34619 if (PyErr_Occurred()) SWIG_fail
;
34621 Py_INCREF(Py_None
); resultobj
= Py_None
;
34628 static PyObject
*_wrap_MenuBar_IsEnabledTop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34629 PyObject
*resultobj
;
34630 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
34633 PyObject
* obj0
= 0 ;
34634 PyObject
* obj1
= 0 ;
34635 char *kwnames
[] = {
34636 (char *) "self",(char *) "pos", NULL
34639 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_IsEnabledTop",kwnames
,&obj0
,&obj1
)) goto fail
;
34640 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
34641 if (SWIG_arg_fail(1)) SWIG_fail
;
34643 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
34644 if (SWIG_arg_fail(2)) SWIG_fail
;
34647 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34648 result
= (bool)((wxMenuBar
const *)arg1
)->IsEnabledTop(arg2
);
34650 wxPyEndAllowThreads(__tstate
);
34651 if (PyErr_Occurred()) SWIG_fail
;
34654 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34662 static PyObject
*_wrap_MenuBar_SetLabelTop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34663 PyObject
*resultobj
;
34664 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
34666 wxString
*arg3
= 0 ;
34667 bool temp3
= false ;
34668 PyObject
* obj0
= 0 ;
34669 PyObject
* obj1
= 0 ;
34670 PyObject
* obj2
= 0 ;
34671 char *kwnames
[] = {
34672 (char *) "self",(char *) "pos",(char *) "label", NULL
34675 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_SetLabelTop",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
34676 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
34677 if (SWIG_arg_fail(1)) SWIG_fail
;
34679 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
34680 if (SWIG_arg_fail(2)) SWIG_fail
;
34683 arg3
= wxString_in_helper(obj2
);
34684 if (arg3
== NULL
) SWIG_fail
;
34688 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34689 (arg1
)->SetLabelTop(arg2
,(wxString
const &)*arg3
);
34691 wxPyEndAllowThreads(__tstate
);
34692 if (PyErr_Occurred()) SWIG_fail
;
34694 Py_INCREF(Py_None
); resultobj
= Py_None
;
34709 static PyObject
*_wrap_MenuBar_GetLabelTop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34710 PyObject
*resultobj
;
34711 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
34714 PyObject
* obj0
= 0 ;
34715 PyObject
* obj1
= 0 ;
34716 char *kwnames
[] = {
34717 (char *) "self",(char *) "pos", NULL
34720 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_GetLabelTop",kwnames
,&obj0
,&obj1
)) goto fail
;
34721 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
34722 if (SWIG_arg_fail(1)) SWIG_fail
;
34724 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
34725 if (SWIG_arg_fail(2)) SWIG_fail
;
34728 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34729 result
= ((wxMenuBar
const *)arg1
)->GetLabelTop(arg2
);
34731 wxPyEndAllowThreads(__tstate
);
34732 if (PyErr_Occurred()) SWIG_fail
;
34736 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
34738 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
34747 static PyObject
*_wrap_MenuBar_FindMenuItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34748 PyObject
*resultobj
;
34749 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
34750 wxString
*arg2
= 0 ;
34751 wxString
*arg3
= 0 ;
34753 bool temp2
= false ;
34754 bool temp3
= false ;
34755 PyObject
* obj0
= 0 ;
34756 PyObject
* obj1
= 0 ;
34757 PyObject
* obj2
= 0 ;
34758 char *kwnames
[] = {
34759 (char *) "self",(char *) "menu",(char *) "item", NULL
34762 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_FindMenuItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
34763 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
34764 if (SWIG_arg_fail(1)) SWIG_fail
;
34766 arg2
= wxString_in_helper(obj1
);
34767 if (arg2
== NULL
) SWIG_fail
;
34771 arg3
= wxString_in_helper(obj2
);
34772 if (arg3
== NULL
) SWIG_fail
;
34776 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34777 result
= (int)((wxMenuBar
const *)arg1
)->FindMenuItem((wxString
const &)*arg2
,(wxString
const &)*arg3
);
34779 wxPyEndAllowThreads(__tstate
);
34780 if (PyErr_Occurred()) SWIG_fail
;
34783 resultobj
= SWIG_From_int((int)(result
));
34807 static PyObject
*_wrap_MenuBar_FindItemById(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34808 PyObject
*resultobj
;
34809 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
34811 wxMenuItem
*result
;
34812 PyObject
* obj0
= 0 ;
34813 PyObject
* obj1
= 0 ;
34814 char *kwnames
[] = {
34815 (char *) "self",(char *) "id", NULL
34818 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_FindItemById",kwnames
,&obj0
,&obj1
)) goto fail
;
34819 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
34820 if (SWIG_arg_fail(1)) SWIG_fail
;
34822 arg2
= (int)(SWIG_As_int(obj1
));
34823 if (SWIG_arg_fail(2)) SWIG_fail
;
34826 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34827 result
= (wxMenuItem
*)((wxMenuBar
const *)arg1
)->FindItem(arg2
);
34829 wxPyEndAllowThreads(__tstate
);
34830 if (PyErr_Occurred()) SWIG_fail
;
34833 resultobj
= wxPyMake_wxObject(result
, 0);
34841 static PyObject
*_wrap_MenuBar_FindMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34842 PyObject
*resultobj
;
34843 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
34844 wxString
*arg2
= 0 ;
34846 bool temp2
= false ;
34847 PyObject
* obj0
= 0 ;
34848 PyObject
* obj1
= 0 ;
34849 char *kwnames
[] = {
34850 (char *) "self",(char *) "title", NULL
34853 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_FindMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
34854 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
34855 if (SWIG_arg_fail(1)) SWIG_fail
;
34857 arg2
= wxString_in_helper(obj1
);
34858 if (arg2
== NULL
) SWIG_fail
;
34862 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34863 result
= (int)((wxMenuBar
const *)arg1
)->FindMenu((wxString
const &)*arg2
);
34865 wxPyEndAllowThreads(__tstate
);
34866 if (PyErr_Occurred()) SWIG_fail
;
34869 resultobj
= SWIG_From_int((int)(result
));
34885 static PyObject
*_wrap_MenuBar_Enable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34886 PyObject
*resultobj
;
34887 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
34890 PyObject
* obj0
= 0 ;
34891 PyObject
* obj1
= 0 ;
34892 PyObject
* obj2
= 0 ;
34893 char *kwnames
[] = {
34894 (char *) "self",(char *) "id",(char *) "enable", NULL
34897 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_Enable",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
34898 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
34899 if (SWIG_arg_fail(1)) SWIG_fail
;
34901 arg2
= (int)(SWIG_As_int(obj1
));
34902 if (SWIG_arg_fail(2)) SWIG_fail
;
34905 arg3
= (bool)(SWIG_As_bool(obj2
));
34906 if (SWIG_arg_fail(3)) SWIG_fail
;
34909 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34910 (arg1
)->Enable(arg2
,arg3
);
34912 wxPyEndAllowThreads(__tstate
);
34913 if (PyErr_Occurred()) SWIG_fail
;
34915 Py_INCREF(Py_None
); resultobj
= Py_None
;
34922 static PyObject
*_wrap_MenuBar_Check(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34923 PyObject
*resultobj
;
34924 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
34927 PyObject
* obj0
= 0 ;
34928 PyObject
* obj1
= 0 ;
34929 PyObject
* obj2
= 0 ;
34930 char *kwnames
[] = {
34931 (char *) "self",(char *) "id",(char *) "check", NULL
34934 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_Check",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
34935 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
34936 if (SWIG_arg_fail(1)) SWIG_fail
;
34938 arg2
= (int)(SWIG_As_int(obj1
));
34939 if (SWIG_arg_fail(2)) SWIG_fail
;
34942 arg3
= (bool)(SWIG_As_bool(obj2
));
34943 if (SWIG_arg_fail(3)) SWIG_fail
;
34946 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34947 (arg1
)->Check(arg2
,arg3
);
34949 wxPyEndAllowThreads(__tstate
);
34950 if (PyErr_Occurred()) SWIG_fail
;
34952 Py_INCREF(Py_None
); resultobj
= Py_None
;
34959 static PyObject
*_wrap_MenuBar_IsChecked(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34960 PyObject
*resultobj
;
34961 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
34964 PyObject
* obj0
= 0 ;
34965 PyObject
* obj1
= 0 ;
34966 char *kwnames
[] = {
34967 (char *) "self",(char *) "id", NULL
34970 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_IsChecked",kwnames
,&obj0
,&obj1
)) goto fail
;
34971 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
34972 if (SWIG_arg_fail(1)) SWIG_fail
;
34974 arg2
= (int)(SWIG_As_int(obj1
));
34975 if (SWIG_arg_fail(2)) SWIG_fail
;
34978 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34979 result
= (bool)((wxMenuBar
const *)arg1
)->IsChecked(arg2
);
34981 wxPyEndAllowThreads(__tstate
);
34982 if (PyErr_Occurred()) SWIG_fail
;
34985 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34993 static PyObject
*_wrap_MenuBar_IsEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34994 PyObject
*resultobj
;
34995 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
34998 PyObject
* obj0
= 0 ;
34999 PyObject
* obj1
= 0 ;
35000 char *kwnames
[] = {
35001 (char *) "self",(char *) "id", NULL
35004 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_IsEnabled",kwnames
,&obj0
,&obj1
)) goto fail
;
35005 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
35006 if (SWIG_arg_fail(1)) SWIG_fail
;
35008 arg2
= (int)(SWIG_As_int(obj1
));
35009 if (SWIG_arg_fail(2)) SWIG_fail
;
35012 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35013 result
= (bool)((wxMenuBar
const *)arg1
)->IsEnabled(arg2
);
35015 wxPyEndAllowThreads(__tstate
);
35016 if (PyErr_Occurred()) SWIG_fail
;
35019 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35027 static PyObject
*_wrap_MenuBar_SetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35028 PyObject
*resultobj
;
35029 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
35031 wxString
*arg3
= 0 ;
35032 bool temp3
= false ;
35033 PyObject
* obj0
= 0 ;
35034 PyObject
* obj1
= 0 ;
35035 PyObject
* obj2
= 0 ;
35036 char *kwnames
[] = {
35037 (char *) "self",(char *) "id",(char *) "label", NULL
35040 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_SetLabel",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
35041 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
35042 if (SWIG_arg_fail(1)) SWIG_fail
;
35044 arg2
= (int)(SWIG_As_int(obj1
));
35045 if (SWIG_arg_fail(2)) SWIG_fail
;
35048 arg3
= wxString_in_helper(obj2
);
35049 if (arg3
== NULL
) SWIG_fail
;
35053 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35054 (arg1
)->SetLabel(arg2
,(wxString
const &)*arg3
);
35056 wxPyEndAllowThreads(__tstate
);
35057 if (PyErr_Occurred()) SWIG_fail
;
35059 Py_INCREF(Py_None
); resultobj
= Py_None
;
35074 static PyObject
*_wrap_MenuBar_GetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35075 PyObject
*resultobj
;
35076 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
35079 PyObject
* obj0
= 0 ;
35080 PyObject
* obj1
= 0 ;
35081 char *kwnames
[] = {
35082 (char *) "self",(char *) "id", NULL
35085 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_GetLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
35086 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
35087 if (SWIG_arg_fail(1)) SWIG_fail
;
35089 arg2
= (int)(SWIG_As_int(obj1
));
35090 if (SWIG_arg_fail(2)) SWIG_fail
;
35093 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35094 result
= ((wxMenuBar
const *)arg1
)->GetLabel(arg2
);
35096 wxPyEndAllowThreads(__tstate
);
35097 if (PyErr_Occurred()) SWIG_fail
;
35101 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
35103 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
35112 static PyObject
*_wrap_MenuBar_SetHelpString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35113 PyObject
*resultobj
;
35114 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
35116 wxString
*arg3
= 0 ;
35117 bool temp3
= false ;
35118 PyObject
* obj0
= 0 ;
35119 PyObject
* obj1
= 0 ;
35120 PyObject
* obj2
= 0 ;
35121 char *kwnames
[] = {
35122 (char *) "self",(char *) "id",(char *) "helpString", NULL
35125 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_SetHelpString",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
35126 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
35127 if (SWIG_arg_fail(1)) SWIG_fail
;
35129 arg2
= (int)(SWIG_As_int(obj1
));
35130 if (SWIG_arg_fail(2)) SWIG_fail
;
35133 arg3
= wxString_in_helper(obj2
);
35134 if (arg3
== NULL
) SWIG_fail
;
35138 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35139 (arg1
)->SetHelpString(arg2
,(wxString
const &)*arg3
);
35141 wxPyEndAllowThreads(__tstate
);
35142 if (PyErr_Occurred()) SWIG_fail
;
35144 Py_INCREF(Py_None
); resultobj
= Py_None
;
35159 static PyObject
*_wrap_MenuBar_GetHelpString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35160 PyObject
*resultobj
;
35161 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
35164 PyObject
* obj0
= 0 ;
35165 PyObject
* obj1
= 0 ;
35166 char *kwnames
[] = {
35167 (char *) "self",(char *) "id", NULL
35170 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_GetHelpString",kwnames
,&obj0
,&obj1
)) goto fail
;
35171 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
35172 if (SWIG_arg_fail(1)) SWIG_fail
;
35174 arg2
= (int)(SWIG_As_int(obj1
));
35175 if (SWIG_arg_fail(2)) SWIG_fail
;
35178 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35179 result
= ((wxMenuBar
const *)arg1
)->GetHelpString(arg2
);
35181 wxPyEndAllowThreads(__tstate
);
35182 if (PyErr_Occurred()) SWIG_fail
;
35186 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
35188 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
35197 static PyObject
*_wrap_MenuBar_GetFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35198 PyObject
*resultobj
;
35199 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
35201 PyObject
* obj0
= 0 ;
35202 char *kwnames
[] = {
35203 (char *) "self", NULL
35206 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuBar_GetFrame",kwnames
,&obj0
)) goto fail
;
35207 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
35208 if (SWIG_arg_fail(1)) SWIG_fail
;
35210 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35211 result
= (wxFrame
*)((wxMenuBar
const *)arg1
)->GetFrame();
35213 wxPyEndAllowThreads(__tstate
);
35214 if (PyErr_Occurred()) SWIG_fail
;
35217 resultobj
= wxPyMake_wxObject(result
, 0);
35225 static PyObject
*_wrap_MenuBar_IsAttached(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35226 PyObject
*resultobj
;
35227 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
35229 PyObject
* obj0
= 0 ;
35230 char *kwnames
[] = {
35231 (char *) "self", NULL
35234 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuBar_IsAttached",kwnames
,&obj0
)) 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 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35239 result
= (bool)((wxMenuBar
const *)arg1
)->IsAttached();
35241 wxPyEndAllowThreads(__tstate
);
35242 if (PyErr_Occurred()) SWIG_fail
;
35245 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35253 static PyObject
*_wrap_MenuBar_Attach(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35254 PyObject
*resultobj
;
35255 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
35256 wxFrame
*arg2
= (wxFrame
*) 0 ;
35257 PyObject
* obj0
= 0 ;
35258 PyObject
* obj1
= 0 ;
35259 char *kwnames
[] = {
35260 (char *) "self",(char *) "frame", NULL
35263 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_Attach",kwnames
,&obj0
,&obj1
)) goto fail
;
35264 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
35265 if (SWIG_arg_fail(1)) SWIG_fail
;
35266 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFrame
, SWIG_POINTER_EXCEPTION
| 0);
35267 if (SWIG_arg_fail(2)) SWIG_fail
;
35269 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35270 (arg1
)->Attach(arg2
);
35272 wxPyEndAllowThreads(__tstate
);
35273 if (PyErr_Occurred()) SWIG_fail
;
35275 Py_INCREF(Py_None
); resultobj
= Py_None
;
35282 static PyObject
*_wrap_MenuBar_Detach(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35283 PyObject
*resultobj
;
35284 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
35285 PyObject
* obj0
= 0 ;
35286 char *kwnames
[] = {
35287 (char *) "self", NULL
35290 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuBar_Detach",kwnames
,&obj0
)) goto fail
;
35291 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
35292 if (SWIG_arg_fail(1)) SWIG_fail
;
35294 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35297 wxPyEndAllowThreads(__tstate
);
35298 if (PyErr_Occurred()) SWIG_fail
;
35300 Py_INCREF(Py_None
); resultobj
= Py_None
;
35307 static PyObject
* MenuBar_swigregister(PyObject
*, PyObject
*args
) {
35309 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
35310 SWIG_TypeClientData(SWIGTYPE_p_wxMenuBar
, obj
);
35312 return Py_BuildValue((char *)"");
35314 static PyObject
*_wrap_new_MenuItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35315 PyObject
*resultobj
;
35316 wxMenu
*arg1
= (wxMenu
*) NULL
;
35317 int arg2
= (int) wxID_ANY
;
35318 wxString
const &arg3_defvalue
= wxPyEmptyString
;
35319 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
35320 wxString
const &arg4_defvalue
= wxPyEmptyString
;
35321 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
35322 wxItemKind arg5
= (wxItemKind
) wxITEM_NORMAL
;
35323 wxMenu
*arg6
= (wxMenu
*) NULL
;
35324 wxMenuItem
*result
;
35325 bool temp3
= false ;
35326 bool temp4
= false ;
35327 PyObject
* obj0
= 0 ;
35328 PyObject
* obj1
= 0 ;
35329 PyObject
* obj2
= 0 ;
35330 PyObject
* obj3
= 0 ;
35331 PyObject
* obj4
= 0 ;
35332 PyObject
* obj5
= 0 ;
35333 char *kwnames
[] = {
35334 (char *) "parentMenu",(char *) "id",(char *) "text",(char *) "help",(char *) "kind",(char *) "subMenu", NULL
35337 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOOOO:new_MenuItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
35339 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
35340 if (SWIG_arg_fail(1)) SWIG_fail
;
35344 arg2
= (int)(SWIG_As_int(obj1
));
35345 if (SWIG_arg_fail(2)) SWIG_fail
;
35350 arg3
= wxString_in_helper(obj2
);
35351 if (arg3
== NULL
) SWIG_fail
;
35357 arg4
= wxString_in_helper(obj3
);
35358 if (arg4
== NULL
) SWIG_fail
;
35364 arg5
= (wxItemKind
)(SWIG_As_int(obj4
));
35365 if (SWIG_arg_fail(5)) SWIG_fail
;
35369 SWIG_Python_ConvertPtr(obj5
, (void **)&arg6
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
35370 if (SWIG_arg_fail(6)) SWIG_fail
;
35373 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35374 result
= (wxMenuItem
*)new wxMenuItem(arg1
,arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,(wxItemKind
)arg5
,arg6
);
35376 wxPyEndAllowThreads(__tstate
);
35377 if (PyErr_Occurred()) SWIG_fail
;
35380 resultobj
= wxPyMake_wxObject(result
, 1);
35404 static PyObject
*_wrap_MenuItem_GetMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35405 PyObject
*resultobj
;
35406 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
35408 PyObject
* obj0
= 0 ;
35409 char *kwnames
[] = {
35410 (char *) "self", NULL
35413 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetMenu",kwnames
,&obj0
)) goto fail
;
35414 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
35415 if (SWIG_arg_fail(1)) SWIG_fail
;
35417 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35418 result
= (wxMenu
*)((wxMenuItem
const *)arg1
)->GetMenu();
35420 wxPyEndAllowThreads(__tstate
);
35421 if (PyErr_Occurred()) SWIG_fail
;
35424 resultobj
= wxPyMake_wxObject(result
, 0);
35432 static PyObject
*_wrap_MenuItem_SetMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35433 PyObject
*resultobj
;
35434 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
35435 wxMenu
*arg2
= (wxMenu
*) 0 ;
35436 PyObject
* obj0
= 0 ;
35437 PyObject
* obj1
= 0 ;
35438 char *kwnames
[] = {
35439 (char *) "self",(char *) "menu", NULL
35442 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
35443 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
35444 if (SWIG_arg_fail(1)) SWIG_fail
;
35445 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
35446 if (SWIG_arg_fail(2)) SWIG_fail
;
35448 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35449 (arg1
)->SetMenu(arg2
);
35451 wxPyEndAllowThreads(__tstate
);
35452 if (PyErr_Occurred()) SWIG_fail
;
35454 Py_INCREF(Py_None
); resultobj
= Py_None
;
35461 static PyObject
*_wrap_MenuItem_SetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35462 PyObject
*resultobj
;
35463 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
35465 PyObject
* obj0
= 0 ;
35466 PyObject
* obj1
= 0 ;
35467 char *kwnames
[] = {
35468 (char *) "self",(char *) "id", NULL
35471 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetId",kwnames
,&obj0
,&obj1
)) goto fail
;
35472 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
35473 if (SWIG_arg_fail(1)) SWIG_fail
;
35475 arg2
= (int)(SWIG_As_int(obj1
));
35476 if (SWIG_arg_fail(2)) SWIG_fail
;
35479 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35480 (arg1
)->SetId(arg2
);
35482 wxPyEndAllowThreads(__tstate
);
35483 if (PyErr_Occurred()) SWIG_fail
;
35485 Py_INCREF(Py_None
); resultobj
= Py_None
;
35492 static PyObject
*_wrap_MenuItem_GetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35493 PyObject
*resultobj
;
35494 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
35496 PyObject
* obj0
= 0 ;
35497 char *kwnames
[] = {
35498 (char *) "self", NULL
35501 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetId",kwnames
,&obj0
)) goto fail
;
35502 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
35503 if (SWIG_arg_fail(1)) SWIG_fail
;
35505 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35506 result
= (int)((wxMenuItem
const *)arg1
)->GetId();
35508 wxPyEndAllowThreads(__tstate
);
35509 if (PyErr_Occurred()) SWIG_fail
;
35512 resultobj
= SWIG_From_int((int)(result
));
35520 static PyObject
*_wrap_MenuItem_IsSeparator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35521 PyObject
*resultobj
;
35522 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
35524 PyObject
* obj0
= 0 ;
35525 char *kwnames
[] = {
35526 (char *) "self", NULL
35529 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_IsSeparator",kwnames
,&obj0
)) goto fail
;
35530 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
35531 if (SWIG_arg_fail(1)) SWIG_fail
;
35533 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35534 result
= (bool)((wxMenuItem
const *)arg1
)->IsSeparator();
35536 wxPyEndAllowThreads(__tstate
);
35537 if (PyErr_Occurred()) SWIG_fail
;
35540 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35548 static PyObject
*_wrap_MenuItem_SetText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35549 PyObject
*resultobj
;
35550 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
35551 wxString
*arg2
= 0 ;
35552 bool temp2
= false ;
35553 PyObject
* obj0
= 0 ;
35554 PyObject
* obj1
= 0 ;
35555 char *kwnames
[] = {
35556 (char *) "self",(char *) "str", NULL
35559 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetText",kwnames
,&obj0
,&obj1
)) goto fail
;
35560 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
35561 if (SWIG_arg_fail(1)) SWIG_fail
;
35563 arg2
= wxString_in_helper(obj1
);
35564 if (arg2
== NULL
) SWIG_fail
;
35568 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35569 (arg1
)->SetText((wxString
const &)*arg2
);
35571 wxPyEndAllowThreads(__tstate
);
35572 if (PyErr_Occurred()) SWIG_fail
;
35574 Py_INCREF(Py_None
); resultobj
= Py_None
;
35589 static PyObject
*_wrap_MenuItem_GetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35590 PyObject
*resultobj
;
35591 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
35593 PyObject
* obj0
= 0 ;
35594 char *kwnames
[] = {
35595 (char *) "self", NULL
35598 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetLabel",kwnames
,&obj0
)) goto fail
;
35599 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
35600 if (SWIG_arg_fail(1)) SWIG_fail
;
35602 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35603 result
= ((wxMenuItem
const *)arg1
)->GetLabel();
35605 wxPyEndAllowThreads(__tstate
);
35606 if (PyErr_Occurred()) SWIG_fail
;
35610 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
35612 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
35621 static PyObject
*_wrap_MenuItem_GetText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35622 PyObject
*resultobj
;
35623 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
35625 PyObject
* obj0
= 0 ;
35626 char *kwnames
[] = {
35627 (char *) "self", NULL
35630 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetText",kwnames
,&obj0
)) goto fail
;
35631 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
35632 if (SWIG_arg_fail(1)) SWIG_fail
;
35634 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35636 wxString
const &_result_ref
= ((wxMenuItem
const *)arg1
)->GetText();
35637 result
= (wxString
*) &_result_ref
;
35640 wxPyEndAllowThreads(__tstate
);
35641 if (PyErr_Occurred()) SWIG_fail
;
35645 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
35647 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
35656 static PyObject
*_wrap_MenuItem_GetLabelFromText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35657 PyObject
*resultobj
;
35658 wxString
*arg1
= 0 ;
35660 bool temp1
= false ;
35661 PyObject
* obj0
= 0 ;
35662 char *kwnames
[] = {
35663 (char *) "text", NULL
35666 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetLabelFromText",kwnames
,&obj0
)) goto fail
;
35668 arg1
= wxString_in_helper(obj0
);
35669 if (arg1
== NULL
) SWIG_fail
;
35673 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35674 result
= wxMenuItem::GetLabelFromText((wxString
const &)*arg1
);
35676 wxPyEndAllowThreads(__tstate
);
35677 if (PyErr_Occurred()) SWIG_fail
;
35681 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
35683 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
35700 static PyObject
*_wrap_MenuItem_GetKind(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35701 PyObject
*resultobj
;
35702 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
35704 PyObject
* obj0
= 0 ;
35705 char *kwnames
[] = {
35706 (char *) "self", NULL
35709 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetKind",kwnames
,&obj0
)) goto fail
;
35710 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
35711 if (SWIG_arg_fail(1)) SWIG_fail
;
35713 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35714 result
= (wxItemKind
)((wxMenuItem
const *)arg1
)->GetKind();
35716 wxPyEndAllowThreads(__tstate
);
35717 if (PyErr_Occurred()) SWIG_fail
;
35719 resultobj
= SWIG_From_int((result
));
35726 static PyObject
*_wrap_MenuItem_SetKind(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35727 PyObject
*resultobj
;
35728 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
35730 PyObject
* obj0
= 0 ;
35731 PyObject
* obj1
= 0 ;
35732 char *kwnames
[] = {
35733 (char *) "self",(char *) "kind", NULL
35736 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetKind",kwnames
,&obj0
,&obj1
)) goto fail
;
35737 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
35738 if (SWIG_arg_fail(1)) SWIG_fail
;
35740 arg2
= (wxItemKind
)(SWIG_As_int(obj1
));
35741 if (SWIG_arg_fail(2)) SWIG_fail
;
35744 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35745 (arg1
)->SetKind((wxItemKind
)arg2
);
35747 wxPyEndAllowThreads(__tstate
);
35748 if (PyErr_Occurred()) SWIG_fail
;
35750 Py_INCREF(Py_None
); resultobj
= Py_None
;
35757 static PyObject
*_wrap_MenuItem_SetCheckable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35758 PyObject
*resultobj
;
35759 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
35761 PyObject
* obj0
= 0 ;
35762 PyObject
* obj1
= 0 ;
35763 char *kwnames
[] = {
35764 (char *) "self",(char *) "checkable", NULL
35767 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetCheckable",kwnames
,&obj0
,&obj1
)) goto fail
;
35768 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
35769 if (SWIG_arg_fail(1)) SWIG_fail
;
35771 arg2
= (bool)(SWIG_As_bool(obj1
));
35772 if (SWIG_arg_fail(2)) SWIG_fail
;
35775 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35776 (arg1
)->SetCheckable(arg2
);
35778 wxPyEndAllowThreads(__tstate
);
35779 if (PyErr_Occurred()) SWIG_fail
;
35781 Py_INCREF(Py_None
); resultobj
= Py_None
;
35788 static PyObject
*_wrap_MenuItem_IsCheckable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35789 PyObject
*resultobj
;
35790 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
35792 PyObject
* obj0
= 0 ;
35793 char *kwnames
[] = {
35794 (char *) "self", NULL
35797 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_IsCheckable",kwnames
,&obj0
)) goto fail
;
35798 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
35799 if (SWIG_arg_fail(1)) SWIG_fail
;
35801 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35802 result
= (bool)((wxMenuItem
const *)arg1
)->IsCheckable();
35804 wxPyEndAllowThreads(__tstate
);
35805 if (PyErr_Occurred()) SWIG_fail
;
35808 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35816 static PyObject
*_wrap_MenuItem_IsSubMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35817 PyObject
*resultobj
;
35818 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
35820 PyObject
* obj0
= 0 ;
35821 char *kwnames
[] = {
35822 (char *) "self", NULL
35825 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_IsSubMenu",kwnames
,&obj0
)) goto fail
;
35826 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
35827 if (SWIG_arg_fail(1)) SWIG_fail
;
35829 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35830 result
= (bool)((wxMenuItem
const *)arg1
)->IsSubMenu();
35832 wxPyEndAllowThreads(__tstate
);
35833 if (PyErr_Occurred()) SWIG_fail
;
35836 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35844 static PyObject
*_wrap_MenuItem_SetSubMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35845 PyObject
*resultobj
;
35846 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
35847 wxMenu
*arg2
= (wxMenu
*) 0 ;
35848 PyObject
* obj0
= 0 ;
35849 PyObject
* obj1
= 0 ;
35850 char *kwnames
[] = {
35851 (char *) "self",(char *) "menu", NULL
35854 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetSubMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
35855 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
35856 if (SWIG_arg_fail(1)) SWIG_fail
;
35857 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
35858 if (SWIG_arg_fail(2)) SWIG_fail
;
35860 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35861 (arg1
)->SetSubMenu(arg2
);
35863 wxPyEndAllowThreads(__tstate
);
35864 if (PyErr_Occurred()) SWIG_fail
;
35866 Py_INCREF(Py_None
); resultobj
= Py_None
;
35873 static PyObject
*_wrap_MenuItem_GetSubMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35874 PyObject
*resultobj
;
35875 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
35877 PyObject
* obj0
= 0 ;
35878 char *kwnames
[] = {
35879 (char *) "self", NULL
35882 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetSubMenu",kwnames
,&obj0
)) goto fail
;
35883 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
35884 if (SWIG_arg_fail(1)) SWIG_fail
;
35886 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35887 result
= (wxMenu
*)((wxMenuItem
const *)arg1
)->GetSubMenu();
35889 wxPyEndAllowThreads(__tstate
);
35890 if (PyErr_Occurred()) SWIG_fail
;
35893 resultobj
= wxPyMake_wxObject(result
, 0);
35901 static PyObject
*_wrap_MenuItem_Enable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35902 PyObject
*resultobj
;
35903 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
35904 bool arg2
= (bool) true ;
35905 PyObject
* obj0
= 0 ;
35906 PyObject
* obj1
= 0 ;
35907 char *kwnames
[] = {
35908 (char *) "self",(char *) "enable", NULL
35911 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:MenuItem_Enable",kwnames
,&obj0
,&obj1
)) goto fail
;
35912 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
35913 if (SWIG_arg_fail(1)) SWIG_fail
;
35916 arg2
= (bool)(SWIG_As_bool(obj1
));
35917 if (SWIG_arg_fail(2)) SWIG_fail
;
35921 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35922 (arg1
)->Enable(arg2
);
35924 wxPyEndAllowThreads(__tstate
);
35925 if (PyErr_Occurred()) SWIG_fail
;
35927 Py_INCREF(Py_None
); resultobj
= Py_None
;
35934 static PyObject
*_wrap_MenuItem_IsEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35935 PyObject
*resultobj
;
35936 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
35938 PyObject
* obj0
= 0 ;
35939 char *kwnames
[] = {
35940 (char *) "self", NULL
35943 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_IsEnabled",kwnames
,&obj0
)) goto fail
;
35944 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
35945 if (SWIG_arg_fail(1)) SWIG_fail
;
35947 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35948 result
= (bool)((wxMenuItem
const *)arg1
)->IsEnabled();
35950 wxPyEndAllowThreads(__tstate
);
35951 if (PyErr_Occurred()) SWIG_fail
;
35954 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35962 static PyObject
*_wrap_MenuItem_Check(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35963 PyObject
*resultobj
;
35964 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
35965 bool arg2
= (bool) true ;
35966 PyObject
* obj0
= 0 ;
35967 PyObject
* obj1
= 0 ;
35968 char *kwnames
[] = {
35969 (char *) "self",(char *) "check", NULL
35972 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:MenuItem_Check",kwnames
,&obj0
,&obj1
)) goto fail
;
35973 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
35974 if (SWIG_arg_fail(1)) SWIG_fail
;
35977 arg2
= (bool)(SWIG_As_bool(obj1
));
35978 if (SWIG_arg_fail(2)) SWIG_fail
;
35982 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35983 (arg1
)->Check(arg2
);
35985 wxPyEndAllowThreads(__tstate
);
35986 if (PyErr_Occurred()) SWIG_fail
;
35988 Py_INCREF(Py_None
); resultobj
= Py_None
;
35995 static PyObject
*_wrap_MenuItem_IsChecked(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35996 PyObject
*resultobj
;
35997 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
35999 PyObject
* obj0
= 0 ;
36000 char *kwnames
[] = {
36001 (char *) "self", NULL
36004 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_IsChecked",kwnames
,&obj0
)) goto fail
;
36005 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36006 if (SWIG_arg_fail(1)) SWIG_fail
;
36008 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36009 result
= (bool)((wxMenuItem
const *)arg1
)->IsChecked();
36011 wxPyEndAllowThreads(__tstate
);
36012 if (PyErr_Occurred()) SWIG_fail
;
36015 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
36023 static PyObject
*_wrap_MenuItem_Toggle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36024 PyObject
*resultobj
;
36025 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36026 PyObject
* obj0
= 0 ;
36027 char *kwnames
[] = {
36028 (char *) "self", NULL
36031 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_Toggle",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();
36038 wxPyEndAllowThreads(__tstate
);
36039 if (PyErr_Occurred()) SWIG_fail
;
36041 Py_INCREF(Py_None
); resultobj
= Py_None
;
36048 static PyObject
*_wrap_MenuItem_SetHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36049 PyObject
*resultobj
;
36050 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36051 wxString
*arg2
= 0 ;
36052 bool temp2
= false ;
36053 PyObject
* obj0
= 0 ;
36054 PyObject
* obj1
= 0 ;
36055 char *kwnames
[] = {
36056 (char *) "self",(char *) "str", NULL
36059 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
36060 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36061 if (SWIG_arg_fail(1)) SWIG_fail
;
36063 arg2
= wxString_in_helper(obj1
);
36064 if (arg2
== NULL
) SWIG_fail
;
36068 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36069 (arg1
)->SetHelp((wxString
const &)*arg2
);
36071 wxPyEndAllowThreads(__tstate
);
36072 if (PyErr_Occurred()) SWIG_fail
;
36074 Py_INCREF(Py_None
); resultobj
= Py_None
;
36089 static PyObject
*_wrap_MenuItem_GetHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36090 PyObject
*resultobj
;
36091 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36093 PyObject
* obj0
= 0 ;
36094 char *kwnames
[] = {
36095 (char *) "self", NULL
36098 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetHelp",kwnames
,&obj0
)) goto fail
;
36099 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36100 if (SWIG_arg_fail(1)) SWIG_fail
;
36102 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36104 wxString
const &_result_ref
= ((wxMenuItem
const *)arg1
)->GetHelp();
36105 result
= (wxString
*) &_result_ref
;
36108 wxPyEndAllowThreads(__tstate
);
36109 if (PyErr_Occurred()) SWIG_fail
;
36113 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
36115 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
36124 static PyObject
*_wrap_MenuItem_GetAccel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36125 PyObject
*resultobj
;
36126 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36127 wxAcceleratorEntry
*result
;
36128 PyObject
* obj0
= 0 ;
36129 char *kwnames
[] = {
36130 (char *) "self", NULL
36133 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetAccel",kwnames
,&obj0
)) goto fail
;
36134 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36135 if (SWIG_arg_fail(1)) SWIG_fail
;
36137 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36138 result
= (wxAcceleratorEntry
*)((wxMenuItem
const *)arg1
)->GetAccel();
36140 wxPyEndAllowThreads(__tstate
);
36141 if (PyErr_Occurred()) SWIG_fail
;
36143 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxAcceleratorEntry
, 0);
36150 static PyObject
*_wrap_MenuItem_SetAccel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36151 PyObject
*resultobj
;
36152 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36153 wxAcceleratorEntry
*arg2
= (wxAcceleratorEntry
*) 0 ;
36154 PyObject
* obj0
= 0 ;
36155 PyObject
* obj1
= 0 ;
36156 char *kwnames
[] = {
36157 (char *) "self",(char *) "accel", NULL
36160 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetAccel",kwnames
,&obj0
,&obj1
)) goto fail
;
36161 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36162 if (SWIG_arg_fail(1)) SWIG_fail
;
36163 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxAcceleratorEntry
, SWIG_POINTER_EXCEPTION
| 0);
36164 if (SWIG_arg_fail(2)) SWIG_fail
;
36166 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36167 (arg1
)->SetAccel(arg2
);
36169 wxPyEndAllowThreads(__tstate
);
36170 if (PyErr_Occurred()) SWIG_fail
;
36172 Py_INCREF(Py_None
); resultobj
= Py_None
;
36179 static PyObject
*_wrap_MenuItem_SetFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36180 PyObject
*resultobj
;
36181 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36183 PyObject
* obj0
= 0 ;
36184 PyObject
* obj1
= 0 ;
36185 char *kwnames
[] = {
36186 (char *) "self",(char *) "font", NULL
36189 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetFont",kwnames
,&obj0
,&obj1
)) goto fail
;
36190 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36191 if (SWIG_arg_fail(1)) SWIG_fail
;
36193 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
36194 if (SWIG_arg_fail(2)) SWIG_fail
;
36195 if (arg2
== NULL
) {
36196 SWIG_null_ref("wxFont");
36198 if (SWIG_arg_fail(2)) SWIG_fail
;
36201 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36202 wxMenuItem_SetFont(arg1
,(wxFont
const &)*arg2
);
36204 wxPyEndAllowThreads(__tstate
);
36205 if (PyErr_Occurred()) SWIG_fail
;
36207 Py_INCREF(Py_None
); resultobj
= Py_None
;
36214 static PyObject
*_wrap_MenuItem_GetFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36215 PyObject
*resultobj
;
36216 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36218 PyObject
* obj0
= 0 ;
36219 char *kwnames
[] = {
36220 (char *) "self", NULL
36223 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetFont",kwnames
,&obj0
)) goto fail
;
36224 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36225 if (SWIG_arg_fail(1)) SWIG_fail
;
36227 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36228 result
= wxMenuItem_GetFont(arg1
);
36230 wxPyEndAllowThreads(__tstate
);
36231 if (PyErr_Occurred()) SWIG_fail
;
36234 wxFont
* resultptr
;
36235 resultptr
= new wxFont((wxFont
&)(result
));
36236 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxFont
, 1);
36244 static PyObject
*_wrap_MenuItem_SetTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36245 PyObject
*resultobj
;
36246 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36247 wxColour
*arg2
= 0 ;
36249 PyObject
* obj0
= 0 ;
36250 PyObject
* obj1
= 0 ;
36251 char *kwnames
[] = {
36252 (char *) "self",(char *) "colText", NULL
36255 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
36256 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36257 if (SWIG_arg_fail(1)) SWIG_fail
;
36260 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
36263 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36264 wxMenuItem_SetTextColour(arg1
,(wxColour
const &)*arg2
);
36266 wxPyEndAllowThreads(__tstate
);
36267 if (PyErr_Occurred()) SWIG_fail
;
36269 Py_INCREF(Py_None
); resultobj
= Py_None
;
36276 static PyObject
*_wrap_MenuItem_GetTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36277 PyObject
*resultobj
;
36278 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36280 PyObject
* obj0
= 0 ;
36281 char *kwnames
[] = {
36282 (char *) "self", NULL
36285 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetTextColour",kwnames
,&obj0
)) goto fail
;
36286 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36287 if (SWIG_arg_fail(1)) SWIG_fail
;
36289 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36290 result
= wxMenuItem_GetTextColour(arg1
);
36292 wxPyEndAllowThreads(__tstate
);
36293 if (PyErr_Occurred()) SWIG_fail
;
36296 wxColour
* resultptr
;
36297 resultptr
= new wxColour((wxColour
&)(result
));
36298 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
36306 static PyObject
*_wrap_MenuItem_SetBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36307 PyObject
*resultobj
;
36308 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36309 wxColour
*arg2
= 0 ;
36311 PyObject
* obj0
= 0 ;
36312 PyObject
* obj1
= 0 ;
36313 char *kwnames
[] = {
36314 (char *) "self",(char *) "colBack", NULL
36317 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
36318 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36319 if (SWIG_arg_fail(1)) SWIG_fail
;
36322 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
36325 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36326 wxMenuItem_SetBackgroundColour(arg1
,(wxColour
const &)*arg2
);
36328 wxPyEndAllowThreads(__tstate
);
36329 if (PyErr_Occurred()) SWIG_fail
;
36331 Py_INCREF(Py_None
); resultobj
= Py_None
;
36338 static PyObject
*_wrap_MenuItem_GetBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36339 PyObject
*resultobj
;
36340 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36342 PyObject
* obj0
= 0 ;
36343 char *kwnames
[] = {
36344 (char *) "self", NULL
36347 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetBackgroundColour",kwnames
,&obj0
)) goto fail
;
36348 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36349 if (SWIG_arg_fail(1)) SWIG_fail
;
36351 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36352 result
= wxMenuItem_GetBackgroundColour(arg1
);
36354 wxPyEndAllowThreads(__tstate
);
36355 if (PyErr_Occurred()) SWIG_fail
;
36358 wxColour
* resultptr
;
36359 resultptr
= new wxColour((wxColour
&)(result
));
36360 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
36368 static PyObject
*_wrap_MenuItem_SetBitmaps(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36369 PyObject
*resultobj
;
36370 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36371 wxBitmap
*arg2
= 0 ;
36372 wxBitmap
const &arg3_defvalue
= wxNullBitmap
;
36373 wxBitmap
*arg3
= (wxBitmap
*) &arg3_defvalue
;
36374 PyObject
* obj0
= 0 ;
36375 PyObject
* obj1
= 0 ;
36376 PyObject
* obj2
= 0 ;
36377 char *kwnames
[] = {
36378 (char *) "self",(char *) "bmpChecked",(char *) "bmpUnchecked", NULL
36381 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:MenuItem_SetBitmaps",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
36382 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36383 if (SWIG_arg_fail(1)) SWIG_fail
;
36385 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
36386 if (SWIG_arg_fail(2)) SWIG_fail
;
36387 if (arg2
== NULL
) {
36388 SWIG_null_ref("wxBitmap");
36390 if (SWIG_arg_fail(2)) SWIG_fail
;
36394 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
36395 if (SWIG_arg_fail(3)) SWIG_fail
;
36396 if (arg3
== NULL
) {
36397 SWIG_null_ref("wxBitmap");
36399 if (SWIG_arg_fail(3)) SWIG_fail
;
36403 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36404 wxMenuItem_SetBitmaps(arg1
,(wxBitmap
const &)*arg2
,(wxBitmap
const &)*arg3
);
36406 wxPyEndAllowThreads(__tstate
);
36407 if (PyErr_Occurred()) SWIG_fail
;
36409 Py_INCREF(Py_None
); resultobj
= Py_None
;
36416 static PyObject
*_wrap_MenuItem_SetDisabledBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36417 PyObject
*resultobj
;
36418 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36419 wxBitmap
*arg2
= 0 ;
36420 PyObject
* obj0
= 0 ;
36421 PyObject
* obj1
= 0 ;
36422 char *kwnames
[] = {
36423 (char *) "self",(char *) "bmpDisabled", NULL
36426 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetDisabledBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
36427 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36428 if (SWIG_arg_fail(1)) SWIG_fail
;
36430 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
36431 if (SWIG_arg_fail(2)) SWIG_fail
;
36432 if (arg2
== NULL
) {
36433 SWIG_null_ref("wxBitmap");
36435 if (SWIG_arg_fail(2)) SWIG_fail
;
36438 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36439 wxMenuItem_SetDisabledBitmap(arg1
,(wxBitmap
const &)*arg2
);
36441 wxPyEndAllowThreads(__tstate
);
36442 if (PyErr_Occurred()) SWIG_fail
;
36444 Py_INCREF(Py_None
); resultobj
= Py_None
;
36451 static PyObject
*_wrap_MenuItem_GetDisabledBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36452 PyObject
*resultobj
;
36453 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36455 PyObject
* obj0
= 0 ;
36456 char *kwnames
[] = {
36457 (char *) "self", NULL
36460 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetDisabledBitmap",kwnames
,&obj0
)) goto fail
;
36461 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36462 if (SWIG_arg_fail(1)) SWIG_fail
;
36464 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36466 wxBitmap
const &_result_ref
= wxMenuItem_GetDisabledBitmap((wxMenuItem
const *)arg1
);
36467 result
= (wxBitmap
*) &_result_ref
;
36470 wxPyEndAllowThreads(__tstate
);
36471 if (PyErr_Occurred()) SWIG_fail
;
36474 wxBitmap
* resultptr
= new wxBitmap(*result
);
36475 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
36483 static PyObject
*_wrap_MenuItem_SetMarginWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36484 PyObject
*resultobj
;
36485 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36487 PyObject
* obj0
= 0 ;
36488 PyObject
* obj1
= 0 ;
36489 char *kwnames
[] = {
36490 (char *) "self",(char *) "nWidth", NULL
36493 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetMarginWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
36494 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36495 if (SWIG_arg_fail(1)) SWIG_fail
;
36497 arg2
= (int)(SWIG_As_int(obj1
));
36498 if (SWIG_arg_fail(2)) SWIG_fail
;
36501 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36502 wxMenuItem_SetMarginWidth(arg1
,arg2
);
36504 wxPyEndAllowThreads(__tstate
);
36505 if (PyErr_Occurred()) SWIG_fail
;
36507 Py_INCREF(Py_None
); resultobj
= Py_None
;
36514 static PyObject
*_wrap_MenuItem_GetMarginWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36515 PyObject
*resultobj
;
36516 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36518 PyObject
* obj0
= 0 ;
36519 char *kwnames
[] = {
36520 (char *) "self", NULL
36523 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetMarginWidth",kwnames
,&obj0
)) goto fail
;
36524 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36525 if (SWIG_arg_fail(1)) SWIG_fail
;
36527 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36528 result
= (int)wxMenuItem_GetMarginWidth(arg1
);
36530 wxPyEndAllowThreads(__tstate
);
36531 if (PyErr_Occurred()) SWIG_fail
;
36534 resultobj
= SWIG_From_int((int)(result
));
36542 static PyObject
*_wrap_MenuItem_GetDefaultMarginWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36543 PyObject
*resultobj
;
36545 char *kwnames
[] = {
36549 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":MenuItem_GetDefaultMarginWidth",kwnames
)) goto fail
;
36551 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36552 result
= (int)MenuItem_GetDefaultMarginWidth();
36554 wxPyEndAllowThreads(__tstate
);
36555 if (PyErr_Occurred()) SWIG_fail
;
36558 resultobj
= SWIG_From_int((int)(result
));
36566 static PyObject
*_wrap_MenuItem_IsOwnerDrawn(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36567 PyObject
*resultobj
;
36568 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36570 PyObject
* obj0
= 0 ;
36571 char *kwnames
[] = {
36572 (char *) "self", NULL
36575 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_IsOwnerDrawn",kwnames
,&obj0
)) 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 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36580 result
= (bool)wxMenuItem_IsOwnerDrawn(arg1
);
36582 wxPyEndAllowThreads(__tstate
);
36583 if (PyErr_Occurred()) SWIG_fail
;
36586 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
36594 static PyObject
*_wrap_MenuItem_SetOwnerDrawn(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36595 PyObject
*resultobj
;
36596 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36597 bool arg2
= (bool) true ;
36598 PyObject
* obj0
= 0 ;
36599 PyObject
* obj1
= 0 ;
36600 char *kwnames
[] = {
36601 (char *) "self",(char *) "ownerDrawn", NULL
36604 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:MenuItem_SetOwnerDrawn",kwnames
,&obj0
,&obj1
)) goto fail
;
36605 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36606 if (SWIG_arg_fail(1)) SWIG_fail
;
36609 arg2
= (bool)(SWIG_As_bool(obj1
));
36610 if (SWIG_arg_fail(2)) SWIG_fail
;
36614 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36615 wxMenuItem_SetOwnerDrawn(arg1
,arg2
);
36617 wxPyEndAllowThreads(__tstate
);
36618 if (PyErr_Occurred()) SWIG_fail
;
36620 Py_INCREF(Py_None
); resultobj
= Py_None
;
36627 static PyObject
*_wrap_MenuItem_ResetOwnerDrawn(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36628 PyObject
*resultobj
;
36629 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36630 PyObject
* obj0
= 0 ;
36631 char *kwnames
[] = {
36632 (char *) "self", NULL
36635 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_ResetOwnerDrawn",kwnames
,&obj0
)) goto fail
;
36636 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36637 if (SWIG_arg_fail(1)) SWIG_fail
;
36639 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36640 wxMenuItem_ResetOwnerDrawn(arg1
);
36642 wxPyEndAllowThreads(__tstate
);
36643 if (PyErr_Occurred()) SWIG_fail
;
36645 Py_INCREF(Py_None
); resultobj
= Py_None
;
36652 static PyObject
*_wrap_MenuItem_SetBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36653 PyObject
*resultobj
;
36654 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36655 wxBitmap
*arg2
= 0 ;
36656 PyObject
* obj0
= 0 ;
36657 PyObject
* obj1
= 0 ;
36658 char *kwnames
[] = {
36659 (char *) "self",(char *) "bitmap", NULL
36662 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
36663 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36664 if (SWIG_arg_fail(1)) SWIG_fail
;
36666 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
36667 if (SWIG_arg_fail(2)) SWIG_fail
;
36668 if (arg2
== NULL
) {
36669 SWIG_null_ref("wxBitmap");
36671 if (SWIG_arg_fail(2)) SWIG_fail
;
36674 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36675 (arg1
)->SetBitmap((wxBitmap
const &)*arg2
);
36677 wxPyEndAllowThreads(__tstate
);
36678 if (PyErr_Occurred()) SWIG_fail
;
36680 Py_INCREF(Py_None
); resultobj
= Py_None
;
36687 static PyObject
*_wrap_MenuItem_GetBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36688 PyObject
*resultobj
;
36689 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36691 PyObject
* obj0
= 0 ;
36692 char *kwnames
[] = {
36693 (char *) "self", NULL
36696 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetBitmap",kwnames
,&obj0
)) goto fail
;
36697 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36698 if (SWIG_arg_fail(1)) SWIG_fail
;
36700 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36702 wxBitmap
const &_result_ref
= (arg1
)->GetBitmap();
36703 result
= (wxBitmap
*) &_result_ref
;
36706 wxPyEndAllowThreads(__tstate
);
36707 if (PyErr_Occurred()) SWIG_fail
;
36710 wxBitmap
* resultptr
= new wxBitmap(*result
);
36711 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
36719 static PyObject
* MenuItem_swigregister(PyObject
*, PyObject
*args
) {
36721 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
36722 SWIG_TypeClientData(SWIGTYPE_p_wxMenuItem
, obj
);
36724 return Py_BuildValue((char *)"");
36726 static int _wrap_ControlNameStr_set(PyObject
*) {
36727 PyErr_SetString(PyExc_TypeError
,"Variable ControlNameStr is read-only.");
36732 static PyObject
*_wrap_ControlNameStr_get(void) {
36737 pyobj
= PyUnicode_FromWideChar((&wxPyControlNameStr
)->c_str(), (&wxPyControlNameStr
)->Len());
36739 pyobj
= PyString_FromStringAndSize((&wxPyControlNameStr
)->c_str(), (&wxPyControlNameStr
)->Len());
36746 static PyObject
*_wrap_new_Control(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36747 PyObject
*resultobj
;
36748 wxWindow
*arg1
= (wxWindow
*) 0 ;
36749 int arg2
= (int) -1 ;
36750 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
36751 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
36752 wxSize
const &arg4_defvalue
= wxDefaultSize
;
36753 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
36754 long arg5
= (long) 0 ;
36755 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
36756 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
36757 wxString
const &arg7_defvalue
= wxPyControlNameStr
;
36758 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
36762 bool temp7
= false ;
36763 PyObject
* obj0
= 0 ;
36764 PyObject
* obj1
= 0 ;
36765 PyObject
* obj2
= 0 ;
36766 PyObject
* obj3
= 0 ;
36767 PyObject
* obj4
= 0 ;
36768 PyObject
* obj5
= 0 ;
36769 PyObject
* obj6
= 0 ;
36770 char *kwnames
[] = {
36771 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
36774 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_Control",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
36775 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
36776 if (SWIG_arg_fail(1)) SWIG_fail
;
36779 arg2
= (int)(SWIG_As_int(obj1
));
36780 if (SWIG_arg_fail(2)) SWIG_fail
;
36786 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
36792 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
36797 arg5
= (long)(SWIG_As_long(obj4
));
36798 if (SWIG_arg_fail(5)) SWIG_fail
;
36803 SWIG_Python_ConvertPtr(obj5
, (void **)&arg6
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
36804 if (SWIG_arg_fail(6)) SWIG_fail
;
36805 if (arg6
== NULL
) {
36806 SWIG_null_ref("wxValidator");
36808 if (SWIG_arg_fail(6)) SWIG_fail
;
36813 arg7
= wxString_in_helper(obj6
);
36814 if (arg7
== NULL
) SWIG_fail
;
36819 if (!wxPyCheckForApp()) SWIG_fail
;
36820 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36821 result
= (wxControl
*)new wxControl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
36823 wxPyEndAllowThreads(__tstate
);
36824 if (PyErr_Occurred()) SWIG_fail
;
36826 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxControl
, 1);
36841 static PyObject
*_wrap_new_PreControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36842 PyObject
*resultobj
;
36844 char *kwnames
[] = {
36848 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreControl",kwnames
)) goto fail
;
36850 if (!wxPyCheckForApp()) SWIG_fail
;
36851 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36852 result
= (wxControl
*)new wxControl();
36854 wxPyEndAllowThreads(__tstate
);
36855 if (PyErr_Occurred()) SWIG_fail
;
36857 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxControl
, 1);
36864 static PyObject
*_wrap_Control_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36865 PyObject
*resultobj
;
36866 wxControl
*arg1
= (wxControl
*) 0 ;
36867 wxWindow
*arg2
= (wxWindow
*) 0 ;
36868 int arg3
= (int) -1 ;
36869 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
36870 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
36871 wxSize
const &arg5_defvalue
= wxDefaultSize
;
36872 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
36873 long arg6
= (long) 0 ;
36874 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
36875 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
36876 wxString
const &arg8_defvalue
= wxPyControlNameStr
;
36877 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
36881 bool temp8
= false ;
36882 PyObject
* obj0
= 0 ;
36883 PyObject
* obj1
= 0 ;
36884 PyObject
* obj2
= 0 ;
36885 PyObject
* obj3
= 0 ;
36886 PyObject
* obj4
= 0 ;
36887 PyObject
* obj5
= 0 ;
36888 PyObject
* obj6
= 0 ;
36889 PyObject
* obj7
= 0 ;
36890 char *kwnames
[] = {
36891 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
36894 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:Control_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
36895 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxControl
, SWIG_POINTER_EXCEPTION
| 0);
36896 if (SWIG_arg_fail(1)) SWIG_fail
;
36897 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
36898 if (SWIG_arg_fail(2)) SWIG_fail
;
36901 arg3
= (int)(SWIG_As_int(obj2
));
36902 if (SWIG_arg_fail(3)) SWIG_fail
;
36908 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
36914 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
36919 arg6
= (long)(SWIG_As_long(obj5
));
36920 if (SWIG_arg_fail(6)) SWIG_fail
;
36925 SWIG_Python_ConvertPtr(obj6
, (void **)&arg7
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
36926 if (SWIG_arg_fail(7)) SWIG_fail
;
36927 if (arg7
== NULL
) {
36928 SWIG_null_ref("wxValidator");
36930 if (SWIG_arg_fail(7)) SWIG_fail
;
36935 arg8
= wxString_in_helper(obj7
);
36936 if (arg8
== NULL
) SWIG_fail
;
36941 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36942 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
36944 wxPyEndAllowThreads(__tstate
);
36945 if (PyErr_Occurred()) SWIG_fail
;
36948 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
36964 static PyObject
*_wrap_Control_Command(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36965 PyObject
*resultobj
;
36966 wxControl
*arg1
= (wxControl
*) 0 ;
36967 wxCommandEvent
*arg2
= 0 ;
36968 PyObject
* obj0
= 0 ;
36969 PyObject
* obj1
= 0 ;
36970 char *kwnames
[] = {
36971 (char *) "self",(char *) "event", NULL
36974 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Control_Command",kwnames
,&obj0
,&obj1
)) goto fail
;
36975 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxControl
, SWIG_POINTER_EXCEPTION
| 0);
36976 if (SWIG_arg_fail(1)) SWIG_fail
;
36978 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxCommandEvent
, SWIG_POINTER_EXCEPTION
| 0);
36979 if (SWIG_arg_fail(2)) SWIG_fail
;
36980 if (arg2
== NULL
) {
36981 SWIG_null_ref("wxCommandEvent");
36983 if (SWIG_arg_fail(2)) SWIG_fail
;
36986 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36987 (arg1
)->Command(*arg2
);
36989 wxPyEndAllowThreads(__tstate
);
36990 if (PyErr_Occurred()) SWIG_fail
;
36992 Py_INCREF(Py_None
); resultobj
= Py_None
;
36999 static PyObject
*_wrap_Control_GetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37000 PyObject
*resultobj
;
37001 wxControl
*arg1
= (wxControl
*) 0 ;
37003 PyObject
* obj0
= 0 ;
37004 char *kwnames
[] = {
37005 (char *) "self", NULL
37008 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Control_GetLabel",kwnames
,&obj0
)) goto fail
;
37009 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxControl
, SWIG_POINTER_EXCEPTION
| 0);
37010 if (SWIG_arg_fail(1)) SWIG_fail
;
37012 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37013 result
= (arg1
)->GetLabel();
37015 wxPyEndAllowThreads(__tstate
);
37016 if (PyErr_Occurred()) SWIG_fail
;
37020 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
37022 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
37031 static PyObject
*_wrap_Control_SetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37032 PyObject
*resultobj
;
37033 wxControl
*arg1
= (wxControl
*) 0 ;
37034 wxString
*arg2
= 0 ;
37035 bool temp2
= false ;
37036 PyObject
* obj0
= 0 ;
37037 PyObject
* obj1
= 0 ;
37038 char *kwnames
[] = {
37039 (char *) "self",(char *) "label", NULL
37042 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Control_SetLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
37043 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxControl
, SWIG_POINTER_EXCEPTION
| 0);
37044 if (SWIG_arg_fail(1)) SWIG_fail
;
37046 arg2
= wxString_in_helper(obj1
);
37047 if (arg2
== NULL
) SWIG_fail
;
37051 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37052 (arg1
)->SetLabel((wxString
const &)*arg2
);
37054 wxPyEndAllowThreads(__tstate
);
37055 if (PyErr_Occurred()) SWIG_fail
;
37057 Py_INCREF(Py_None
); resultobj
= Py_None
;
37072 static PyObject
*_wrap_Control_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37073 PyObject
*resultobj
;
37074 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
37075 wxVisualAttributes result
;
37076 PyObject
* obj0
= 0 ;
37077 char *kwnames
[] = {
37078 (char *) "variant", NULL
37081 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Control_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
37084 arg1
= (wxWindowVariant
)(SWIG_As_int(obj0
));
37085 if (SWIG_arg_fail(1)) SWIG_fail
;
37089 if (!wxPyCheckForApp()) SWIG_fail
;
37090 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37091 result
= wxControl::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
37093 wxPyEndAllowThreads(__tstate
);
37094 if (PyErr_Occurred()) SWIG_fail
;
37097 wxVisualAttributes
* resultptr
;
37098 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
37099 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
37107 static PyObject
* Control_swigregister(PyObject
*, PyObject
*args
) {
37109 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
37110 SWIG_TypeClientData(SWIGTYPE_p_wxControl
, obj
);
37112 return Py_BuildValue((char *)"");
37114 static PyObject
*_wrap_ItemContainer_Append(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37115 PyObject
*resultobj
;
37116 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
37117 wxString
*arg2
= 0 ;
37118 PyObject
*arg3
= (PyObject
*) NULL
;
37120 bool temp2
= false ;
37121 PyObject
* obj0
= 0 ;
37122 PyObject
* obj1
= 0 ;
37123 PyObject
* obj2
= 0 ;
37124 char *kwnames
[] = {
37125 (char *) "self",(char *) "item",(char *) "clientData", NULL
37128 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ItemContainer_Append",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
37129 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxItemContainer
, SWIG_POINTER_EXCEPTION
| 0);
37130 if (SWIG_arg_fail(1)) SWIG_fail
;
37132 arg2
= wxString_in_helper(obj1
);
37133 if (arg2
== NULL
) SWIG_fail
;
37140 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37141 result
= (int)wxItemContainer_Append(arg1
,(wxString
const &)*arg2
,arg3
);
37143 wxPyEndAllowThreads(__tstate
);
37144 if (PyErr_Occurred()) SWIG_fail
;
37147 resultobj
= SWIG_From_int((int)(result
));
37163 static PyObject
*_wrap_ItemContainer_AppendItems(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37164 PyObject
*resultobj
;
37165 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
37166 wxArrayString
*arg2
= 0 ;
37167 bool temp2
= false ;
37168 PyObject
* obj0
= 0 ;
37169 PyObject
* obj1
= 0 ;
37170 char *kwnames
[] = {
37171 (char *) "self",(char *) "strings", NULL
37174 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_AppendItems",kwnames
,&obj0
,&obj1
)) goto fail
;
37175 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxItemContainer
, SWIG_POINTER_EXCEPTION
| 0);
37176 if (SWIG_arg_fail(1)) SWIG_fail
;
37178 if (! PySequence_Check(obj1
)) {
37179 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
37182 arg2
= new wxArrayString
;
37184 int i
, len
=PySequence_Length(obj1
);
37185 for (i
=0; i
<len
; i
++) {
37186 PyObject
* item
= PySequence_GetItem(obj1
, i
);
37188 PyObject
* str
= PyObject_Unicode(item
);
37190 PyObject
* str
= PyObject_Str(item
);
37192 if (PyErr_Occurred()) SWIG_fail
;
37193 arg2
->Add(Py2wxString(str
));
37199 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37200 (arg1
)->Append((wxArrayString
const &)*arg2
);
37202 wxPyEndAllowThreads(__tstate
);
37203 if (PyErr_Occurred()) SWIG_fail
;
37205 Py_INCREF(Py_None
); resultobj
= Py_None
;
37207 if (temp2
) delete arg2
;
37212 if (temp2
) delete arg2
;
37218 static PyObject
*_wrap_ItemContainer_Insert(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37219 PyObject
*resultobj
;
37220 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
37221 wxString
*arg2
= 0 ;
37223 PyObject
*arg4
= (PyObject
*) NULL
;
37225 bool temp2
= false ;
37226 PyObject
* obj0
= 0 ;
37227 PyObject
* obj1
= 0 ;
37228 PyObject
* obj2
= 0 ;
37229 PyObject
* obj3
= 0 ;
37230 char *kwnames
[] = {
37231 (char *) "self",(char *) "item",(char *) "pos",(char *) "clientData", NULL
37234 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:ItemContainer_Insert",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
37235 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxItemContainer
, SWIG_POINTER_EXCEPTION
| 0);
37236 if (SWIG_arg_fail(1)) SWIG_fail
;
37238 arg2
= wxString_in_helper(obj1
);
37239 if (arg2
== NULL
) SWIG_fail
;
37243 arg3
= (int)(SWIG_As_int(obj2
));
37244 if (SWIG_arg_fail(3)) SWIG_fail
;
37250 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37251 result
= (int)wxItemContainer_Insert(arg1
,(wxString
const &)*arg2
,arg3
,arg4
);
37253 wxPyEndAllowThreads(__tstate
);
37254 if (PyErr_Occurred()) SWIG_fail
;
37257 resultobj
= SWIG_From_int((int)(result
));
37273 static PyObject
*_wrap_ItemContainer_Clear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37274 PyObject
*resultobj
;
37275 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
37276 PyObject
* obj0
= 0 ;
37277 char *kwnames
[] = {
37278 (char *) "self", NULL
37281 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ItemContainer_Clear",kwnames
,&obj0
)) goto fail
;
37282 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxItemContainer
, SWIG_POINTER_EXCEPTION
| 0);
37283 if (SWIG_arg_fail(1)) SWIG_fail
;
37285 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37288 wxPyEndAllowThreads(__tstate
);
37289 if (PyErr_Occurred()) SWIG_fail
;
37291 Py_INCREF(Py_None
); resultobj
= Py_None
;
37298 static PyObject
*_wrap_ItemContainer_Delete(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37299 PyObject
*resultobj
;
37300 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
37302 PyObject
* obj0
= 0 ;
37303 PyObject
* obj1
= 0 ;
37304 char *kwnames
[] = {
37305 (char *) "self",(char *) "n", NULL
37308 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_Delete",kwnames
,&obj0
,&obj1
)) goto fail
;
37309 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxItemContainer
, SWIG_POINTER_EXCEPTION
| 0);
37310 if (SWIG_arg_fail(1)) SWIG_fail
;
37312 arg2
= (int)(SWIG_As_int(obj1
));
37313 if (SWIG_arg_fail(2)) SWIG_fail
;
37316 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37317 (arg1
)->Delete(arg2
);
37319 wxPyEndAllowThreads(__tstate
);
37320 if (PyErr_Occurred()) SWIG_fail
;
37322 Py_INCREF(Py_None
); resultobj
= Py_None
;
37329 static PyObject
*_wrap_ItemContainer_GetClientData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37330 PyObject
*resultobj
;
37331 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
37334 PyObject
* obj0
= 0 ;
37335 PyObject
* obj1
= 0 ;
37336 char *kwnames
[] = {
37337 (char *) "self",(char *) "n", NULL
37340 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_GetClientData",kwnames
,&obj0
,&obj1
)) goto fail
;
37341 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxItemContainer
, SWIG_POINTER_EXCEPTION
| 0);
37342 if (SWIG_arg_fail(1)) SWIG_fail
;
37344 arg2
= (int)(SWIG_As_int(obj1
));
37345 if (SWIG_arg_fail(2)) SWIG_fail
;
37348 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37349 result
= (PyObject
*)wxItemContainer_GetClientData(arg1
,arg2
);
37351 wxPyEndAllowThreads(__tstate
);
37352 if (PyErr_Occurred()) SWIG_fail
;
37354 resultobj
= result
;
37361 static PyObject
*_wrap_ItemContainer_SetClientData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37362 PyObject
*resultobj
;
37363 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
37365 PyObject
*arg3
= (PyObject
*) 0 ;
37366 PyObject
* obj0
= 0 ;
37367 PyObject
* obj1
= 0 ;
37368 PyObject
* obj2
= 0 ;
37369 char *kwnames
[] = {
37370 (char *) "self",(char *) "n",(char *) "clientData", NULL
37373 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ItemContainer_SetClientData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
37374 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxItemContainer
, SWIG_POINTER_EXCEPTION
| 0);
37375 if (SWIG_arg_fail(1)) SWIG_fail
;
37377 arg2
= (int)(SWIG_As_int(obj1
));
37378 if (SWIG_arg_fail(2)) SWIG_fail
;
37382 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37383 wxItemContainer_SetClientData(arg1
,arg2
,arg3
);
37385 wxPyEndAllowThreads(__tstate
);
37386 if (PyErr_Occurred()) SWIG_fail
;
37388 Py_INCREF(Py_None
); resultobj
= Py_None
;
37395 static PyObject
*_wrap_ItemContainer_GetCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37396 PyObject
*resultobj
;
37397 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
37399 PyObject
* obj0
= 0 ;
37400 char *kwnames
[] = {
37401 (char *) "self", NULL
37404 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ItemContainer_GetCount",kwnames
,&obj0
)) goto fail
;
37405 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxItemContainer
, SWIG_POINTER_EXCEPTION
| 0);
37406 if (SWIG_arg_fail(1)) SWIG_fail
;
37408 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37409 result
= (int)((wxItemContainer
const *)arg1
)->GetCount();
37411 wxPyEndAllowThreads(__tstate
);
37412 if (PyErr_Occurred()) SWIG_fail
;
37415 resultobj
= SWIG_From_int((int)(result
));
37423 static PyObject
*_wrap_ItemContainer_IsEmpty(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37424 PyObject
*resultobj
;
37425 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
37427 PyObject
* obj0
= 0 ;
37428 char *kwnames
[] = {
37429 (char *) "self", NULL
37432 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ItemContainer_IsEmpty",kwnames
,&obj0
)) goto fail
;
37433 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxItemContainer
, SWIG_POINTER_EXCEPTION
| 0);
37434 if (SWIG_arg_fail(1)) SWIG_fail
;
37436 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37437 result
= (bool)((wxItemContainer
const *)arg1
)->IsEmpty();
37439 wxPyEndAllowThreads(__tstate
);
37440 if (PyErr_Occurred()) SWIG_fail
;
37443 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
37451 static PyObject
*_wrap_ItemContainer_GetString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37452 PyObject
*resultobj
;
37453 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
37456 PyObject
* obj0
= 0 ;
37457 PyObject
* obj1
= 0 ;
37458 char *kwnames
[] = {
37459 (char *) "self",(char *) "n", NULL
37462 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_GetString",kwnames
,&obj0
,&obj1
)) goto fail
;
37463 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxItemContainer
, SWIG_POINTER_EXCEPTION
| 0);
37464 if (SWIG_arg_fail(1)) SWIG_fail
;
37466 arg2
= (int)(SWIG_As_int(obj1
));
37467 if (SWIG_arg_fail(2)) SWIG_fail
;
37470 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37471 result
= ((wxItemContainer
const *)arg1
)->GetString(arg2
);
37473 wxPyEndAllowThreads(__tstate
);
37474 if (PyErr_Occurred()) SWIG_fail
;
37478 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
37480 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
37489 static PyObject
*_wrap_ItemContainer_GetStrings(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37490 PyObject
*resultobj
;
37491 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
37492 wxArrayString result
;
37493 PyObject
* obj0
= 0 ;
37494 char *kwnames
[] = {
37495 (char *) "self", NULL
37498 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ItemContainer_GetStrings",kwnames
,&obj0
)) goto fail
;
37499 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxItemContainer
, SWIG_POINTER_EXCEPTION
| 0);
37500 if (SWIG_arg_fail(1)) SWIG_fail
;
37502 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37503 result
= ((wxItemContainer
const *)arg1
)->GetStrings();
37505 wxPyEndAllowThreads(__tstate
);
37506 if (PyErr_Occurred()) SWIG_fail
;
37509 resultobj
= wxArrayString2PyList_helper(result
);
37517 static PyObject
*_wrap_ItemContainer_SetString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37518 PyObject
*resultobj
;
37519 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
37521 wxString
*arg3
= 0 ;
37522 bool temp3
= false ;
37523 PyObject
* obj0
= 0 ;
37524 PyObject
* obj1
= 0 ;
37525 PyObject
* obj2
= 0 ;
37526 char *kwnames
[] = {
37527 (char *) "self",(char *) "n",(char *) "s", NULL
37530 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ItemContainer_SetString",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
37531 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxItemContainer
, SWIG_POINTER_EXCEPTION
| 0);
37532 if (SWIG_arg_fail(1)) SWIG_fail
;
37534 arg2
= (int)(SWIG_As_int(obj1
));
37535 if (SWIG_arg_fail(2)) SWIG_fail
;
37538 arg3
= wxString_in_helper(obj2
);
37539 if (arg3
== NULL
) SWIG_fail
;
37543 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37544 (arg1
)->SetString(arg2
,(wxString
const &)*arg3
);
37546 wxPyEndAllowThreads(__tstate
);
37547 if (PyErr_Occurred()) SWIG_fail
;
37549 Py_INCREF(Py_None
); resultobj
= Py_None
;
37564 static PyObject
*_wrap_ItemContainer_FindString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37565 PyObject
*resultobj
;
37566 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
37567 wxString
*arg2
= 0 ;
37569 bool temp2
= false ;
37570 PyObject
* obj0
= 0 ;
37571 PyObject
* obj1
= 0 ;
37572 char *kwnames
[] = {
37573 (char *) "self",(char *) "s", NULL
37576 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_FindString",kwnames
,&obj0
,&obj1
)) goto fail
;
37577 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxItemContainer
, SWIG_POINTER_EXCEPTION
| 0);
37578 if (SWIG_arg_fail(1)) SWIG_fail
;
37580 arg2
= wxString_in_helper(obj1
);
37581 if (arg2
== NULL
) SWIG_fail
;
37585 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37586 result
= (int)((wxItemContainer
const *)arg1
)->FindString((wxString
const &)*arg2
);
37588 wxPyEndAllowThreads(__tstate
);
37589 if (PyErr_Occurred()) SWIG_fail
;
37592 resultobj
= SWIG_From_int((int)(result
));
37608 static PyObject
*_wrap_ItemContainer_SetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37609 PyObject
*resultobj
;
37610 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
37612 PyObject
* obj0
= 0 ;
37613 PyObject
* obj1
= 0 ;
37614 char *kwnames
[] = {
37615 (char *) "self",(char *) "n", NULL
37618 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
37619 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxItemContainer
, SWIG_POINTER_EXCEPTION
| 0);
37620 if (SWIG_arg_fail(1)) SWIG_fail
;
37622 arg2
= (int)(SWIG_As_int(obj1
));
37623 if (SWIG_arg_fail(2)) SWIG_fail
;
37626 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37627 (arg1
)->SetSelection(arg2
);
37629 wxPyEndAllowThreads(__tstate
);
37630 if (PyErr_Occurred()) SWIG_fail
;
37632 Py_INCREF(Py_None
); resultobj
= Py_None
;
37639 static PyObject
*_wrap_ItemContainer_GetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37640 PyObject
*resultobj
;
37641 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
37643 PyObject
* obj0
= 0 ;
37644 char *kwnames
[] = {
37645 (char *) "self", NULL
37648 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ItemContainer_GetSelection",kwnames
,&obj0
)) goto fail
;
37649 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxItemContainer
, SWIG_POINTER_EXCEPTION
| 0);
37650 if (SWIG_arg_fail(1)) SWIG_fail
;
37652 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37653 result
= (int)((wxItemContainer
const *)arg1
)->GetSelection();
37655 wxPyEndAllowThreads(__tstate
);
37656 if (PyErr_Occurred()) SWIG_fail
;
37659 resultobj
= SWIG_From_int((int)(result
));
37667 static PyObject
*_wrap_ItemContainer_SetStringSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37668 PyObject
*resultobj
;
37669 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
37670 wxString
*arg2
= 0 ;
37672 bool temp2
= false ;
37673 PyObject
* obj0
= 0 ;
37674 PyObject
* obj1
= 0 ;
37675 char *kwnames
[] = {
37676 (char *) "self",(char *) "s", NULL
37679 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_SetStringSelection",kwnames
,&obj0
,&obj1
)) 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
= wxString_in_helper(obj1
);
37684 if (arg2
== NULL
) SWIG_fail
;
37688 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37689 result
= (bool)(arg1
)->SetStringSelection((wxString
const &)*arg2
);
37691 wxPyEndAllowThreads(__tstate
);
37692 if (PyErr_Occurred()) SWIG_fail
;
37695 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
37711 static PyObject
*_wrap_ItemContainer_GetStringSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37712 PyObject
*resultobj
;
37713 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
37715 PyObject
* obj0
= 0 ;
37716 char *kwnames
[] = {
37717 (char *) "self", NULL
37720 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ItemContainer_GetStringSelection",kwnames
,&obj0
)) goto fail
;
37721 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxItemContainer
, SWIG_POINTER_EXCEPTION
| 0);
37722 if (SWIG_arg_fail(1)) SWIG_fail
;
37724 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37725 result
= ((wxItemContainer
const *)arg1
)->GetStringSelection();
37727 wxPyEndAllowThreads(__tstate
);
37728 if (PyErr_Occurred()) SWIG_fail
;
37732 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
37734 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
37743 static PyObject
*_wrap_ItemContainer_Select(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37744 PyObject
*resultobj
;
37745 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
37747 PyObject
* obj0
= 0 ;
37748 PyObject
* obj1
= 0 ;
37749 char *kwnames
[] = {
37750 (char *) "self",(char *) "n", NULL
37753 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_Select",kwnames
,&obj0
,&obj1
)) goto fail
;
37754 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxItemContainer
, SWIG_POINTER_EXCEPTION
| 0);
37755 if (SWIG_arg_fail(1)) SWIG_fail
;
37757 arg2
= (int)(SWIG_As_int(obj1
));
37758 if (SWIG_arg_fail(2)) SWIG_fail
;
37761 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37762 (arg1
)->Select(arg2
);
37764 wxPyEndAllowThreads(__tstate
);
37765 if (PyErr_Occurred()) SWIG_fail
;
37767 Py_INCREF(Py_None
); resultobj
= Py_None
;
37774 static PyObject
* ItemContainer_swigregister(PyObject
*, PyObject
*args
) {
37776 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
37777 SWIG_TypeClientData(SWIGTYPE_p_wxItemContainer
, obj
);
37779 return Py_BuildValue((char *)"");
37781 static PyObject
* ControlWithItems_swigregister(PyObject
*, PyObject
*args
) {
37783 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
37784 SWIG_TypeClientData(SWIGTYPE_p_wxControlWithItems
, obj
);
37786 return Py_BuildValue((char *)"");
37788 static PyObject
*_wrap_new_SizerItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37789 PyObject
*resultobj
;
37790 wxSizerItem
*result
;
37791 char *kwnames
[] = {
37795 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_SizerItem",kwnames
)) goto fail
;
37797 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37798 result
= (wxSizerItem
*)new wxSizerItem();
37800 wxPyEndAllowThreads(__tstate
);
37801 if (PyErr_Occurred()) SWIG_fail
;
37803 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizerItem
, 1);
37810 static PyObject
*_wrap_new_SizerItemWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37811 PyObject
*resultobj
;
37812 wxWindow
*arg1
= (wxWindow
*) 0 ;
37816 PyObject
*arg5
= (PyObject
*) NULL
;
37817 wxSizerItem
*result
;
37818 PyObject
* obj0
= 0 ;
37819 PyObject
* obj1
= 0 ;
37820 PyObject
* obj2
= 0 ;
37821 PyObject
* obj3
= 0 ;
37822 PyObject
* obj4
= 0 ;
37823 char *kwnames
[] = {
37824 (char *) "window",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
37827 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:new_SizerItemWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
37828 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
37829 if (SWIG_arg_fail(1)) SWIG_fail
;
37831 arg2
= (int)(SWIG_As_int(obj1
));
37832 if (SWIG_arg_fail(2)) SWIG_fail
;
37835 arg3
= (int)(SWIG_As_int(obj2
));
37836 if (SWIG_arg_fail(3)) SWIG_fail
;
37839 arg4
= (int)(SWIG_As_int(obj3
));
37840 if (SWIG_arg_fail(4)) SWIG_fail
;
37846 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37847 result
= (wxSizerItem
*)new_wxSizerItem(arg1
,arg2
,arg3
,arg4
,arg5
);
37849 wxPyEndAllowThreads(__tstate
);
37850 if (PyErr_Occurred()) SWIG_fail
;
37852 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizerItem
, 1);
37859 static PyObject
*_wrap_new_SizerItemSpacer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37860 PyObject
*resultobj
;
37866 PyObject
*arg6
= (PyObject
*) NULL
;
37867 wxSizerItem
*result
;
37868 PyObject
* obj0
= 0 ;
37869 PyObject
* obj1
= 0 ;
37870 PyObject
* obj2
= 0 ;
37871 PyObject
* obj3
= 0 ;
37872 PyObject
* obj4
= 0 ;
37873 PyObject
* obj5
= 0 ;
37874 char *kwnames
[] = {
37875 (char *) "width",(char *) "height",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
37878 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:new_SizerItemSpacer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
37880 arg1
= (int)(SWIG_As_int(obj0
));
37881 if (SWIG_arg_fail(1)) SWIG_fail
;
37884 arg2
= (int)(SWIG_As_int(obj1
));
37885 if (SWIG_arg_fail(2)) SWIG_fail
;
37888 arg3
= (int)(SWIG_As_int(obj2
));
37889 if (SWIG_arg_fail(3)) SWIG_fail
;
37892 arg4
= (int)(SWIG_As_int(obj3
));
37893 if (SWIG_arg_fail(4)) SWIG_fail
;
37896 arg5
= (int)(SWIG_As_int(obj4
));
37897 if (SWIG_arg_fail(5)) SWIG_fail
;
37903 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37904 result
= (wxSizerItem
*)new_wxSizerItem(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
);
37906 wxPyEndAllowThreads(__tstate
);
37907 if (PyErr_Occurred()) SWIG_fail
;
37909 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizerItem
, 1);
37916 static PyObject
*_wrap_new_SizerItemSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37917 PyObject
*resultobj
;
37918 wxSizer
*arg1
= (wxSizer
*) 0 ;
37922 PyObject
*arg5
= (PyObject
*) NULL
;
37923 wxSizerItem
*result
;
37924 PyObject
* obj0
= 0 ;
37925 PyObject
* obj1
= 0 ;
37926 PyObject
* obj2
= 0 ;
37927 PyObject
* obj3
= 0 ;
37928 PyObject
* obj4
= 0 ;
37929 char *kwnames
[] = {
37930 (char *) "sizer",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
37933 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:new_SizerItemSizer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
37934 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
37935 if (SWIG_arg_fail(1)) SWIG_fail
;
37937 arg2
= (int)(SWIG_As_int(obj1
));
37938 if (SWIG_arg_fail(2)) SWIG_fail
;
37941 arg3
= (int)(SWIG_As_int(obj2
));
37942 if (SWIG_arg_fail(3)) SWIG_fail
;
37945 arg4
= (int)(SWIG_As_int(obj3
));
37946 if (SWIG_arg_fail(4)) SWIG_fail
;
37952 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37953 result
= (wxSizerItem
*)new_wxSizerItem(arg1
,arg2
,arg3
,arg4
,arg5
);
37955 wxPyEndAllowThreads(__tstate
);
37956 if (PyErr_Occurred()) SWIG_fail
;
37958 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizerItem
, 1);
37965 static PyObject
*_wrap_SizerItem_DeleteWindows(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37966 PyObject
*resultobj
;
37967 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
37968 PyObject
* obj0
= 0 ;
37969 char *kwnames
[] = {
37970 (char *) "self", NULL
37973 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_DeleteWindows",kwnames
,&obj0
)) goto fail
;
37974 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
37975 if (SWIG_arg_fail(1)) SWIG_fail
;
37977 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37978 (arg1
)->DeleteWindows();
37980 wxPyEndAllowThreads(__tstate
);
37981 if (PyErr_Occurred()) SWIG_fail
;
37983 Py_INCREF(Py_None
); resultobj
= Py_None
;
37990 static PyObject
*_wrap_SizerItem_DetachSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37991 PyObject
*resultobj
;
37992 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
37993 PyObject
* obj0
= 0 ;
37994 char *kwnames
[] = {
37995 (char *) "self", NULL
37998 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_DetachSizer",kwnames
,&obj0
)) goto fail
;
37999 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
38000 if (SWIG_arg_fail(1)) SWIG_fail
;
38002 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38003 (arg1
)->DetachSizer();
38005 wxPyEndAllowThreads(__tstate
);
38006 if (PyErr_Occurred()) SWIG_fail
;
38008 Py_INCREF(Py_None
); resultobj
= Py_None
;
38015 static PyObject
*_wrap_SizerItem_GetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38016 PyObject
*resultobj
;
38017 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
38019 PyObject
* obj0
= 0 ;
38020 char *kwnames
[] = {
38021 (char *) "self", NULL
38024 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetSize",kwnames
,&obj0
)) goto fail
;
38025 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
38026 if (SWIG_arg_fail(1)) SWIG_fail
;
38028 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38029 result
= (arg1
)->GetSize();
38031 wxPyEndAllowThreads(__tstate
);
38032 if (PyErr_Occurred()) SWIG_fail
;
38035 wxSize
* resultptr
;
38036 resultptr
= new wxSize((wxSize
&)(result
));
38037 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
38045 static PyObject
*_wrap_SizerItem_CalcMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38046 PyObject
*resultobj
;
38047 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
38049 PyObject
* obj0
= 0 ;
38050 char *kwnames
[] = {
38051 (char *) "self", NULL
38054 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_CalcMin",kwnames
,&obj0
)) goto fail
;
38055 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
38056 if (SWIG_arg_fail(1)) SWIG_fail
;
38058 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38059 result
= (arg1
)->CalcMin();
38061 wxPyEndAllowThreads(__tstate
);
38062 if (PyErr_Occurred()) SWIG_fail
;
38065 wxSize
* resultptr
;
38066 resultptr
= new wxSize((wxSize
&)(result
));
38067 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
38075 static PyObject
*_wrap_SizerItem_SetDimension(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38076 PyObject
*resultobj
;
38077 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
38080 PyObject
* obj0
= 0 ;
38081 PyObject
* obj1
= 0 ;
38082 PyObject
* obj2
= 0 ;
38083 char *kwnames
[] = {
38084 (char *) "self",(char *) "pos",(char *) "size", NULL
38087 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SizerItem_SetDimension",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
38088 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
38089 if (SWIG_arg_fail(1)) SWIG_fail
;
38092 SWIG_Python_ConvertPtr(obj1
, (void **)&argp
, SWIGTYPE_p_wxPoint
, SWIG_POINTER_EXCEPTION
);
38093 if (SWIG_arg_fail(2)) SWIG_fail
;
38094 if (argp
== NULL
) {
38095 SWIG_null_ref("wxPoint");
38097 if (SWIG_arg_fail(2)) SWIG_fail
;
38102 SWIG_Python_ConvertPtr(obj2
, (void **)&argp
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
);
38103 if (SWIG_arg_fail(3)) SWIG_fail
;
38104 if (argp
== NULL
) {
38105 SWIG_null_ref("wxSize");
38107 if (SWIG_arg_fail(3)) SWIG_fail
;
38111 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38112 (arg1
)->SetDimension(arg2
,arg3
);
38114 wxPyEndAllowThreads(__tstate
);
38115 if (PyErr_Occurred()) SWIG_fail
;
38117 Py_INCREF(Py_None
); resultobj
= Py_None
;
38124 static PyObject
*_wrap_SizerItem_GetMinSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38125 PyObject
*resultobj
;
38126 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
38128 PyObject
* obj0
= 0 ;
38129 char *kwnames
[] = {
38130 (char *) "self", NULL
38133 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetMinSize",kwnames
,&obj0
)) goto fail
;
38134 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
38135 if (SWIG_arg_fail(1)) SWIG_fail
;
38137 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38138 result
= (arg1
)->GetMinSize();
38140 wxPyEndAllowThreads(__tstate
);
38141 if (PyErr_Occurred()) SWIG_fail
;
38144 wxSize
* resultptr
;
38145 resultptr
= new wxSize((wxSize
&)(result
));
38146 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
38154 static PyObject
*_wrap_SizerItem_GetMinSizeWithBorder(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38155 PyObject
*resultobj
;
38156 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
38158 PyObject
* obj0
= 0 ;
38159 char *kwnames
[] = {
38160 (char *) "self", NULL
38163 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetMinSizeWithBorder",kwnames
,&obj0
)) goto fail
;
38164 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
38165 if (SWIG_arg_fail(1)) SWIG_fail
;
38167 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38168 result
= ((wxSizerItem
const *)arg1
)->GetMinSizeWithBorder();
38170 wxPyEndAllowThreads(__tstate
);
38171 if (PyErr_Occurred()) SWIG_fail
;
38174 wxSize
* resultptr
;
38175 resultptr
= new wxSize((wxSize
&)(result
));
38176 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
38184 static PyObject
*_wrap_SizerItem_SetInitSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38185 PyObject
*resultobj
;
38186 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
38189 PyObject
* obj0
= 0 ;
38190 PyObject
* obj1
= 0 ;
38191 PyObject
* obj2
= 0 ;
38192 char *kwnames
[] = {
38193 (char *) "self",(char *) "x",(char *) "y", NULL
38196 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SizerItem_SetInitSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
38197 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
38198 if (SWIG_arg_fail(1)) SWIG_fail
;
38200 arg2
= (int)(SWIG_As_int(obj1
));
38201 if (SWIG_arg_fail(2)) SWIG_fail
;
38204 arg3
= (int)(SWIG_As_int(obj2
));
38205 if (SWIG_arg_fail(3)) SWIG_fail
;
38208 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38209 (arg1
)->SetInitSize(arg2
,arg3
);
38211 wxPyEndAllowThreads(__tstate
);
38212 if (PyErr_Occurred()) SWIG_fail
;
38214 Py_INCREF(Py_None
); resultobj
= Py_None
;
38221 static PyObject
*_wrap_SizerItem_SetRatioWH(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38222 PyObject
*resultobj
;
38223 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
38226 PyObject
* obj0
= 0 ;
38227 PyObject
* obj1
= 0 ;
38228 PyObject
* obj2
= 0 ;
38229 char *kwnames
[] = {
38230 (char *) "self",(char *) "width",(char *) "height", NULL
38233 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SizerItem_SetRatioWH",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
38234 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
38235 if (SWIG_arg_fail(1)) SWIG_fail
;
38237 arg2
= (int)(SWIG_As_int(obj1
));
38238 if (SWIG_arg_fail(2)) SWIG_fail
;
38241 arg3
= (int)(SWIG_As_int(obj2
));
38242 if (SWIG_arg_fail(3)) SWIG_fail
;
38245 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38246 (arg1
)->SetRatio(arg2
,arg3
);
38248 wxPyEndAllowThreads(__tstate
);
38249 if (PyErr_Occurred()) SWIG_fail
;
38251 Py_INCREF(Py_None
); resultobj
= Py_None
;
38258 static PyObject
*_wrap_SizerItem_SetRatioSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38259 PyObject
*resultobj
;
38260 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
38262 PyObject
* obj0
= 0 ;
38263 PyObject
* obj1
= 0 ;
38264 char *kwnames
[] = {
38265 (char *) "self",(char *) "size", NULL
38268 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetRatioSize",kwnames
,&obj0
,&obj1
)) goto fail
;
38269 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
38270 if (SWIG_arg_fail(1)) SWIG_fail
;
38273 SWIG_Python_ConvertPtr(obj1
, (void **)&argp
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
);
38274 if (SWIG_arg_fail(2)) SWIG_fail
;
38275 if (argp
== NULL
) {
38276 SWIG_null_ref("wxSize");
38278 if (SWIG_arg_fail(2)) SWIG_fail
;
38282 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38283 (arg1
)->SetRatio(arg2
);
38285 wxPyEndAllowThreads(__tstate
);
38286 if (PyErr_Occurred()) SWIG_fail
;
38288 Py_INCREF(Py_None
); resultobj
= Py_None
;
38295 static PyObject
*_wrap_SizerItem_SetRatio(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38296 PyObject
*resultobj
;
38297 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
38299 PyObject
* obj0
= 0 ;
38300 PyObject
* obj1
= 0 ;
38301 char *kwnames
[] = {
38302 (char *) "self",(char *) "ratio", NULL
38305 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetRatio",kwnames
,&obj0
,&obj1
)) goto fail
;
38306 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
38307 if (SWIG_arg_fail(1)) SWIG_fail
;
38309 arg2
= (float)(SWIG_As_float(obj1
));
38310 if (SWIG_arg_fail(2)) SWIG_fail
;
38313 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38314 (arg1
)->SetRatio(arg2
);
38316 wxPyEndAllowThreads(__tstate
);
38317 if (PyErr_Occurred()) SWIG_fail
;
38319 Py_INCREF(Py_None
); resultobj
= Py_None
;
38326 static PyObject
*_wrap_SizerItem_GetRatio(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38327 PyObject
*resultobj
;
38328 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
38330 PyObject
* obj0
= 0 ;
38331 char *kwnames
[] = {
38332 (char *) "self", NULL
38335 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetRatio",kwnames
,&obj0
)) goto fail
;
38336 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
38337 if (SWIG_arg_fail(1)) SWIG_fail
;
38339 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38340 result
= (float)(arg1
)->GetRatio();
38342 wxPyEndAllowThreads(__tstate
);
38343 if (PyErr_Occurred()) SWIG_fail
;
38346 resultobj
= SWIG_From_float((float)(result
));
38354 static PyObject
*_wrap_SizerItem_GetRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38355 PyObject
*resultobj
;
38356 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
38358 PyObject
* obj0
= 0 ;
38359 char *kwnames
[] = {
38360 (char *) "self", NULL
38363 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetRect",kwnames
,&obj0
)) goto fail
;
38364 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
38365 if (SWIG_arg_fail(1)) SWIG_fail
;
38367 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38368 result
= (arg1
)->GetRect();
38370 wxPyEndAllowThreads(__tstate
);
38371 if (PyErr_Occurred()) SWIG_fail
;
38374 wxRect
* resultptr
;
38375 resultptr
= new wxRect((wxRect
&)(result
));
38376 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
38384 static PyObject
*_wrap_SizerItem_IsWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38385 PyObject
*resultobj
;
38386 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
38388 PyObject
* obj0
= 0 ;
38389 char *kwnames
[] = {
38390 (char *) "self", NULL
38393 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_IsWindow",kwnames
,&obj0
)) goto fail
;
38394 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
38395 if (SWIG_arg_fail(1)) SWIG_fail
;
38397 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38398 result
= (bool)(arg1
)->IsWindow();
38400 wxPyEndAllowThreads(__tstate
);
38401 if (PyErr_Occurred()) SWIG_fail
;
38404 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38412 static PyObject
*_wrap_SizerItem_IsSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38413 PyObject
*resultobj
;
38414 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
38416 PyObject
* obj0
= 0 ;
38417 char *kwnames
[] = {
38418 (char *) "self", NULL
38421 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_IsSizer",kwnames
,&obj0
)) goto fail
;
38422 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
38423 if (SWIG_arg_fail(1)) SWIG_fail
;
38425 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38426 result
= (bool)(arg1
)->IsSizer();
38428 wxPyEndAllowThreads(__tstate
);
38429 if (PyErr_Occurred()) SWIG_fail
;
38432 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38440 static PyObject
*_wrap_SizerItem_IsSpacer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38441 PyObject
*resultobj
;
38442 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
38444 PyObject
* obj0
= 0 ;
38445 char *kwnames
[] = {
38446 (char *) "self", NULL
38449 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_IsSpacer",kwnames
,&obj0
)) goto fail
;
38450 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
38451 if (SWIG_arg_fail(1)) SWIG_fail
;
38453 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38454 result
= (bool)(arg1
)->IsSpacer();
38456 wxPyEndAllowThreads(__tstate
);
38457 if (PyErr_Occurred()) SWIG_fail
;
38460 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38468 static PyObject
*_wrap_SizerItem_SetProportion(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38469 PyObject
*resultobj
;
38470 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
38472 PyObject
* obj0
= 0 ;
38473 PyObject
* obj1
= 0 ;
38474 char *kwnames
[] = {
38475 (char *) "self",(char *) "proportion", NULL
38478 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetProportion",kwnames
,&obj0
,&obj1
)) goto fail
;
38479 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
38480 if (SWIG_arg_fail(1)) SWIG_fail
;
38482 arg2
= (int)(SWIG_As_int(obj1
));
38483 if (SWIG_arg_fail(2)) SWIG_fail
;
38486 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38487 (arg1
)->SetProportion(arg2
);
38489 wxPyEndAllowThreads(__tstate
);
38490 if (PyErr_Occurred()) SWIG_fail
;
38492 Py_INCREF(Py_None
); resultobj
= Py_None
;
38499 static PyObject
*_wrap_SizerItem_GetProportion(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38500 PyObject
*resultobj
;
38501 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
38503 PyObject
* obj0
= 0 ;
38504 char *kwnames
[] = {
38505 (char *) "self", NULL
38508 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetProportion",kwnames
,&obj0
)) goto fail
;
38509 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
38510 if (SWIG_arg_fail(1)) SWIG_fail
;
38512 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38513 result
= (int)(arg1
)->GetProportion();
38515 wxPyEndAllowThreads(__tstate
);
38516 if (PyErr_Occurred()) SWIG_fail
;
38519 resultobj
= SWIG_From_int((int)(result
));
38527 static PyObject
*_wrap_SizerItem_SetFlag(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38528 PyObject
*resultobj
;
38529 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
38531 PyObject
* obj0
= 0 ;
38532 PyObject
* obj1
= 0 ;
38533 char *kwnames
[] = {
38534 (char *) "self",(char *) "flag", NULL
38537 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetFlag",kwnames
,&obj0
,&obj1
)) goto fail
;
38538 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
38539 if (SWIG_arg_fail(1)) SWIG_fail
;
38541 arg2
= (int)(SWIG_As_int(obj1
));
38542 if (SWIG_arg_fail(2)) SWIG_fail
;
38545 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38546 (arg1
)->SetFlag(arg2
);
38548 wxPyEndAllowThreads(__tstate
);
38549 if (PyErr_Occurred()) SWIG_fail
;
38551 Py_INCREF(Py_None
); resultobj
= Py_None
;
38558 static PyObject
*_wrap_SizerItem_GetFlag(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38559 PyObject
*resultobj
;
38560 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
38562 PyObject
* obj0
= 0 ;
38563 char *kwnames
[] = {
38564 (char *) "self", NULL
38567 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetFlag",kwnames
,&obj0
)) goto fail
;
38568 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
38569 if (SWIG_arg_fail(1)) SWIG_fail
;
38571 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38572 result
= (int)(arg1
)->GetFlag();
38574 wxPyEndAllowThreads(__tstate
);
38575 if (PyErr_Occurred()) SWIG_fail
;
38578 resultobj
= SWIG_From_int((int)(result
));
38586 static PyObject
*_wrap_SizerItem_SetBorder(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38587 PyObject
*resultobj
;
38588 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
38590 PyObject
* obj0
= 0 ;
38591 PyObject
* obj1
= 0 ;
38592 char *kwnames
[] = {
38593 (char *) "self",(char *) "border", NULL
38596 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetBorder",kwnames
,&obj0
,&obj1
)) goto fail
;
38597 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
38598 if (SWIG_arg_fail(1)) SWIG_fail
;
38600 arg2
= (int)(SWIG_As_int(obj1
));
38601 if (SWIG_arg_fail(2)) SWIG_fail
;
38604 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38605 (arg1
)->SetBorder(arg2
);
38607 wxPyEndAllowThreads(__tstate
);
38608 if (PyErr_Occurred()) SWIG_fail
;
38610 Py_INCREF(Py_None
); resultobj
= Py_None
;
38617 static PyObject
*_wrap_SizerItem_GetBorder(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38618 PyObject
*resultobj
;
38619 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
38621 PyObject
* obj0
= 0 ;
38622 char *kwnames
[] = {
38623 (char *) "self", NULL
38626 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetBorder",kwnames
,&obj0
)) goto fail
;
38627 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
38628 if (SWIG_arg_fail(1)) SWIG_fail
;
38630 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38631 result
= (int)(arg1
)->GetBorder();
38633 wxPyEndAllowThreads(__tstate
);
38634 if (PyErr_Occurred()) SWIG_fail
;
38637 resultobj
= SWIG_From_int((int)(result
));
38645 static PyObject
*_wrap_SizerItem_GetWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38646 PyObject
*resultobj
;
38647 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
38649 PyObject
* obj0
= 0 ;
38650 char *kwnames
[] = {
38651 (char *) "self", NULL
38654 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetWindow",kwnames
,&obj0
)) goto fail
;
38655 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
38656 if (SWIG_arg_fail(1)) SWIG_fail
;
38658 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38659 result
= (wxWindow
*)(arg1
)->GetWindow();
38661 wxPyEndAllowThreads(__tstate
);
38662 if (PyErr_Occurred()) SWIG_fail
;
38665 resultobj
= wxPyMake_wxObject(result
, 0);
38673 static PyObject
*_wrap_SizerItem_SetWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38674 PyObject
*resultobj
;
38675 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
38676 wxWindow
*arg2
= (wxWindow
*) 0 ;
38677 PyObject
* obj0
= 0 ;
38678 PyObject
* obj1
= 0 ;
38679 char *kwnames
[] = {
38680 (char *) "self",(char *) "window", NULL
38683 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
38684 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
38685 if (SWIG_arg_fail(1)) SWIG_fail
;
38686 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
38687 if (SWIG_arg_fail(2)) SWIG_fail
;
38689 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38690 (arg1
)->SetWindow(arg2
);
38692 wxPyEndAllowThreads(__tstate
);
38693 if (PyErr_Occurred()) SWIG_fail
;
38695 Py_INCREF(Py_None
); resultobj
= Py_None
;
38702 static PyObject
*_wrap_SizerItem_GetSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38703 PyObject
*resultobj
;
38704 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
38706 PyObject
* obj0
= 0 ;
38707 char *kwnames
[] = {
38708 (char *) "self", NULL
38711 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetSizer",kwnames
,&obj0
)) goto fail
;
38712 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
38713 if (SWIG_arg_fail(1)) SWIG_fail
;
38715 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38716 result
= (wxSizer
*)(arg1
)->GetSizer();
38718 wxPyEndAllowThreads(__tstate
);
38719 if (PyErr_Occurred()) SWIG_fail
;
38722 resultobj
= wxPyMake_wxSizer(result
, 0);
38730 static PyObject
*_wrap_SizerItem_SetSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38731 PyObject
*resultobj
;
38732 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
38733 wxSizer
*arg2
= (wxSizer
*) 0 ;
38734 PyObject
* obj0
= 0 ;
38735 PyObject
* obj1
= 0 ;
38736 char *kwnames
[] = {
38737 (char *) "self",(char *) "sizer", NULL
38740 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetSizer",kwnames
,&obj0
,&obj1
)) goto fail
;
38741 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
38742 if (SWIG_arg_fail(1)) SWIG_fail
;
38743 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
38744 if (SWIG_arg_fail(2)) SWIG_fail
;
38746 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38747 (arg1
)->SetSizer(arg2
);
38749 wxPyEndAllowThreads(__tstate
);
38750 if (PyErr_Occurred()) SWIG_fail
;
38752 Py_INCREF(Py_None
); resultobj
= Py_None
;
38759 static PyObject
*_wrap_SizerItem_GetSpacer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38760 PyObject
*resultobj
;
38761 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
38763 PyObject
* obj0
= 0 ;
38764 char *kwnames
[] = {
38765 (char *) "self", NULL
38768 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetSpacer",kwnames
,&obj0
)) goto fail
;
38769 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
38770 if (SWIG_arg_fail(1)) SWIG_fail
;
38772 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38774 wxSize
const &_result_ref
= (arg1
)->GetSpacer();
38775 result
= (wxSize
*) &_result_ref
;
38778 wxPyEndAllowThreads(__tstate
);
38779 if (PyErr_Occurred()) SWIG_fail
;
38781 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSize
, 0);
38788 static PyObject
*_wrap_SizerItem_SetSpacer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38789 PyObject
*resultobj
;
38790 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
38793 PyObject
* obj0
= 0 ;
38794 PyObject
* obj1
= 0 ;
38795 char *kwnames
[] = {
38796 (char *) "self",(char *) "size", NULL
38799 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetSpacer",kwnames
,&obj0
,&obj1
)) goto fail
;
38800 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
38801 if (SWIG_arg_fail(1)) SWIG_fail
;
38804 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
38807 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38808 (arg1
)->SetSpacer((wxSize
const &)*arg2
);
38810 wxPyEndAllowThreads(__tstate
);
38811 if (PyErr_Occurred()) SWIG_fail
;
38813 Py_INCREF(Py_None
); resultobj
= Py_None
;
38820 static PyObject
*_wrap_SizerItem_Show(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38821 PyObject
*resultobj
;
38822 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
38824 PyObject
* obj0
= 0 ;
38825 PyObject
* obj1
= 0 ;
38826 char *kwnames
[] = {
38827 (char *) "self",(char *) "show", NULL
38830 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_Show",kwnames
,&obj0
,&obj1
)) goto fail
;
38831 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
38832 if (SWIG_arg_fail(1)) SWIG_fail
;
38834 arg2
= (bool)(SWIG_As_bool(obj1
));
38835 if (SWIG_arg_fail(2)) SWIG_fail
;
38838 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38839 (arg1
)->Show(arg2
);
38841 wxPyEndAllowThreads(__tstate
);
38842 if (PyErr_Occurred()) SWIG_fail
;
38844 Py_INCREF(Py_None
); resultobj
= Py_None
;
38851 static PyObject
*_wrap_SizerItem_IsShown(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_IsShown",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
= (bool)(arg1
)->IsShown();
38867 wxPyEndAllowThreads(__tstate
);
38868 if (PyErr_Occurred()) SWIG_fail
;
38871 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38879 static PyObject
*_wrap_SizerItem_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38880 PyObject
*resultobj
;
38881 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
38883 PyObject
* obj0
= 0 ;
38884 char *kwnames
[] = {
38885 (char *) "self", NULL
38888 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetPosition",kwnames
,&obj0
)) goto fail
;
38889 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
38890 if (SWIG_arg_fail(1)) SWIG_fail
;
38892 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38893 result
= (arg1
)->GetPosition();
38895 wxPyEndAllowThreads(__tstate
);
38896 if (PyErr_Occurred()) SWIG_fail
;
38899 wxPoint
* resultptr
;
38900 resultptr
= new wxPoint((wxPoint
&)(result
));
38901 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
38909 static PyObject
*_wrap_SizerItem_GetUserData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38910 PyObject
*resultobj
;
38911 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
38913 PyObject
* obj0
= 0 ;
38914 char *kwnames
[] = {
38915 (char *) "self", NULL
38918 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetUserData",kwnames
,&obj0
)) goto fail
;
38919 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
38920 if (SWIG_arg_fail(1)) SWIG_fail
;
38922 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38923 result
= (PyObject
*)wxSizerItem_GetUserData(arg1
);
38925 wxPyEndAllowThreads(__tstate
);
38926 if (PyErr_Occurred()) SWIG_fail
;
38928 resultobj
= result
;
38935 static PyObject
* SizerItem_swigregister(PyObject
*, PyObject
*args
) {
38937 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
38938 SWIG_TypeClientData(SWIGTYPE_p_wxSizerItem
, obj
);
38940 return Py_BuildValue((char *)"");
38942 static PyObject
*_wrap_Sizer__setOORInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38943 PyObject
*resultobj
;
38944 wxSizer
*arg1
= (wxSizer
*) 0 ;
38945 PyObject
*arg2
= (PyObject
*) 0 ;
38946 PyObject
* obj0
= 0 ;
38947 PyObject
* obj1
= 0 ;
38948 char *kwnames
[] = {
38949 (char *) "self",(char *) "_self", NULL
38952 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer__setOORInfo",kwnames
,&obj0
,&obj1
)) goto fail
;
38953 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
38954 if (SWIG_arg_fail(1)) SWIG_fail
;
38957 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38958 wxSizer__setOORInfo(arg1
,arg2
);
38960 wxPyEndAllowThreads(__tstate
);
38961 if (PyErr_Occurred()) SWIG_fail
;
38963 Py_INCREF(Py_None
); resultobj
= Py_None
;
38970 static PyObject
*_wrap_Sizer_Add(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38971 PyObject
*resultobj
;
38972 wxSizer
*arg1
= (wxSizer
*) 0 ;
38973 PyObject
*arg2
= (PyObject
*) 0 ;
38974 int arg3
= (int) 0 ;
38975 int arg4
= (int) 0 ;
38976 int arg5
= (int) 0 ;
38977 PyObject
*arg6
= (PyObject
*) NULL
;
38978 wxSizerItem
*result
;
38979 PyObject
* obj0
= 0 ;
38980 PyObject
* obj1
= 0 ;
38981 PyObject
* obj2
= 0 ;
38982 PyObject
* obj3
= 0 ;
38983 PyObject
* obj4
= 0 ;
38984 PyObject
* obj5
= 0 ;
38985 char *kwnames
[] = {
38986 (char *) "self",(char *) "item",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
38989 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:Sizer_Add",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
38990 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
38991 if (SWIG_arg_fail(1)) SWIG_fail
;
38995 arg3
= (int)(SWIG_As_int(obj2
));
38996 if (SWIG_arg_fail(3)) SWIG_fail
;
39001 arg4
= (int)(SWIG_As_int(obj3
));
39002 if (SWIG_arg_fail(4)) SWIG_fail
;
39007 arg5
= (int)(SWIG_As_int(obj4
));
39008 if (SWIG_arg_fail(5)) SWIG_fail
;
39015 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39016 result
= (wxSizerItem
*)wxSizer_Add(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
);
39018 wxPyEndAllowThreads(__tstate
);
39019 if (PyErr_Occurred()) SWIG_fail
;
39021 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizerItem
, 0);
39028 static PyObject
*_wrap_Sizer_Insert(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39029 PyObject
*resultobj
;
39030 wxSizer
*arg1
= (wxSizer
*) 0 ;
39032 PyObject
*arg3
= (PyObject
*) 0 ;
39033 int arg4
= (int) 0 ;
39034 int arg5
= (int) 0 ;
39035 int arg6
= (int) 0 ;
39036 PyObject
*arg7
= (PyObject
*) NULL
;
39037 wxSizerItem
*result
;
39038 PyObject
* obj0
= 0 ;
39039 PyObject
* obj1
= 0 ;
39040 PyObject
* obj2
= 0 ;
39041 PyObject
* obj3
= 0 ;
39042 PyObject
* obj4
= 0 ;
39043 PyObject
* obj5
= 0 ;
39044 PyObject
* obj6
= 0 ;
39045 char *kwnames
[] = {
39046 (char *) "self",(char *) "before",(char *) "item",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
39049 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:Sizer_Insert",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
39050 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
39051 if (SWIG_arg_fail(1)) SWIG_fail
;
39053 arg2
= (int)(SWIG_As_int(obj1
));
39054 if (SWIG_arg_fail(2)) SWIG_fail
;
39059 arg4
= (int)(SWIG_As_int(obj3
));
39060 if (SWIG_arg_fail(4)) SWIG_fail
;
39065 arg5
= (int)(SWIG_As_int(obj4
));
39066 if (SWIG_arg_fail(5)) SWIG_fail
;
39071 arg6
= (int)(SWIG_As_int(obj5
));
39072 if (SWIG_arg_fail(6)) SWIG_fail
;
39079 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39080 result
= (wxSizerItem
*)wxSizer_Insert(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
39082 wxPyEndAllowThreads(__tstate
);
39083 if (PyErr_Occurred()) SWIG_fail
;
39085 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizerItem
, 0);
39092 static PyObject
*_wrap_Sizer_Prepend(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39093 PyObject
*resultobj
;
39094 wxSizer
*arg1
= (wxSizer
*) 0 ;
39095 PyObject
*arg2
= (PyObject
*) 0 ;
39096 int arg3
= (int) 0 ;
39097 int arg4
= (int) 0 ;
39098 int arg5
= (int) 0 ;
39099 PyObject
*arg6
= (PyObject
*) NULL
;
39100 wxSizerItem
*result
;
39101 PyObject
* obj0
= 0 ;
39102 PyObject
* obj1
= 0 ;
39103 PyObject
* obj2
= 0 ;
39104 PyObject
* obj3
= 0 ;
39105 PyObject
* obj4
= 0 ;
39106 PyObject
* obj5
= 0 ;
39107 char *kwnames
[] = {
39108 (char *) "self",(char *) "item",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
39111 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:Sizer_Prepend",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
39112 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
39113 if (SWIG_arg_fail(1)) SWIG_fail
;
39117 arg3
= (int)(SWIG_As_int(obj2
));
39118 if (SWIG_arg_fail(3)) SWIG_fail
;
39123 arg4
= (int)(SWIG_As_int(obj3
));
39124 if (SWIG_arg_fail(4)) SWIG_fail
;
39129 arg5
= (int)(SWIG_As_int(obj4
));
39130 if (SWIG_arg_fail(5)) SWIG_fail
;
39137 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39138 result
= (wxSizerItem
*)wxSizer_Prepend(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
);
39140 wxPyEndAllowThreads(__tstate
);
39141 if (PyErr_Occurred()) SWIG_fail
;
39143 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizerItem
, 0);
39150 static PyObject
*_wrap_Sizer_Remove(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39151 PyObject
*resultobj
;
39152 wxSizer
*arg1
= (wxSizer
*) 0 ;
39153 PyObject
*arg2
= (PyObject
*) 0 ;
39155 PyObject
* obj0
= 0 ;
39156 PyObject
* obj1
= 0 ;
39157 char *kwnames
[] = {
39158 (char *) "self",(char *) "item", NULL
39161 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_Remove",kwnames
,&obj0
,&obj1
)) goto fail
;
39162 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
39163 if (SWIG_arg_fail(1)) SWIG_fail
;
39166 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39167 result
= (bool)wxSizer_Remove(arg1
,arg2
);
39169 wxPyEndAllowThreads(__tstate
);
39170 if (PyErr_Occurred()) SWIG_fail
;
39173 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
39181 static PyObject
*_wrap_Sizer_Detach(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39182 PyObject
*resultobj
;
39183 wxSizer
*arg1
= (wxSizer
*) 0 ;
39184 PyObject
*arg2
= (PyObject
*) 0 ;
39186 PyObject
* obj0
= 0 ;
39187 PyObject
* obj1
= 0 ;
39188 char *kwnames
[] = {
39189 (char *) "self",(char *) "item", NULL
39192 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_Detach",kwnames
,&obj0
,&obj1
)) goto fail
;
39193 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
39194 if (SWIG_arg_fail(1)) SWIG_fail
;
39197 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39198 result
= (bool)wxSizer_Detach(arg1
,arg2
);
39200 wxPyEndAllowThreads(__tstate
);
39201 if (PyErr_Occurred()) SWIG_fail
;
39204 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
39212 static PyObject
*_wrap_Sizer_GetItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39213 PyObject
*resultobj
;
39214 wxSizer
*arg1
= (wxSizer
*) 0 ;
39215 PyObject
*arg2
= (PyObject
*) 0 ;
39216 wxSizerItem
*result
;
39217 PyObject
* obj0
= 0 ;
39218 PyObject
* obj1
= 0 ;
39219 char *kwnames
[] = {
39220 (char *) "self",(char *) "item", NULL
39223 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_GetItem",kwnames
,&obj0
,&obj1
)) goto fail
;
39224 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
39225 if (SWIG_arg_fail(1)) SWIG_fail
;
39228 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39229 result
= (wxSizerItem
*)wxSizer_GetItem(arg1
,arg2
);
39231 wxPyEndAllowThreads(__tstate
);
39232 if (PyErr_Occurred()) SWIG_fail
;
39234 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizerItem
, 0);
39241 static PyObject
*_wrap_Sizer__SetItemMinSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39242 PyObject
*resultobj
;
39243 wxSizer
*arg1
= (wxSizer
*) 0 ;
39244 PyObject
*arg2
= (PyObject
*) 0 ;
39247 PyObject
* obj0
= 0 ;
39248 PyObject
* obj1
= 0 ;
39249 PyObject
* obj2
= 0 ;
39250 char *kwnames
[] = {
39251 (char *) "self",(char *) "item",(char *) "size", NULL
39254 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Sizer__SetItemMinSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
39255 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
39256 if (SWIG_arg_fail(1)) SWIG_fail
;
39260 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
39263 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39264 wxSizer__SetItemMinSize(arg1
,arg2
,(wxSize
const &)*arg3
);
39266 wxPyEndAllowThreads(__tstate
);
39267 if (PyErr_Occurred()) SWIG_fail
;
39269 Py_INCREF(Py_None
); resultobj
= Py_None
;
39276 static PyObject
*_wrap_Sizer_AddItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39277 PyObject
*resultobj
;
39278 wxSizer
*arg1
= (wxSizer
*) 0 ;
39279 wxSizerItem
*arg2
= (wxSizerItem
*) 0 ;
39280 wxSizerItem
*result
;
39281 PyObject
* obj0
= 0 ;
39282 PyObject
* obj1
= 0 ;
39283 char *kwnames
[] = {
39284 (char *) "self",(char *) "item", NULL
39287 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_AddItem",kwnames
,&obj0
,&obj1
)) goto fail
;
39288 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
39289 if (SWIG_arg_fail(1)) SWIG_fail
;
39290 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
39291 if (SWIG_arg_fail(2)) SWIG_fail
;
39293 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39294 result
= (wxSizerItem
*)(arg1
)->Add(arg2
);
39296 wxPyEndAllowThreads(__tstate
);
39297 if (PyErr_Occurred()) SWIG_fail
;
39299 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizerItem
, 0);
39306 static PyObject
*_wrap_Sizer_InsertItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39307 PyObject
*resultobj
;
39308 wxSizer
*arg1
= (wxSizer
*) 0 ;
39310 wxSizerItem
*arg3
= (wxSizerItem
*) 0 ;
39311 wxSizerItem
*result
;
39312 PyObject
* obj0
= 0 ;
39313 PyObject
* obj1
= 0 ;
39314 PyObject
* obj2
= 0 ;
39315 char *kwnames
[] = {
39316 (char *) "self",(char *) "index",(char *) "item", NULL
39319 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Sizer_InsertItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
39320 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
39321 if (SWIG_arg_fail(1)) SWIG_fail
;
39323 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
39324 if (SWIG_arg_fail(2)) SWIG_fail
;
39326 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
39327 if (SWIG_arg_fail(3)) SWIG_fail
;
39329 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39330 result
= (wxSizerItem
*)(arg1
)->Insert(arg2
,arg3
);
39332 wxPyEndAllowThreads(__tstate
);
39333 if (PyErr_Occurred()) SWIG_fail
;
39335 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizerItem
, 0);
39342 static PyObject
*_wrap_Sizer_PrependItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39343 PyObject
*resultobj
;
39344 wxSizer
*arg1
= (wxSizer
*) 0 ;
39345 wxSizerItem
*arg2
= (wxSizerItem
*) 0 ;
39346 wxSizerItem
*result
;
39347 PyObject
* obj0
= 0 ;
39348 PyObject
* obj1
= 0 ;
39349 char *kwnames
[] = {
39350 (char *) "self",(char *) "item", NULL
39353 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_PrependItem",kwnames
,&obj0
,&obj1
)) goto fail
;
39354 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
39355 if (SWIG_arg_fail(1)) SWIG_fail
;
39356 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
39357 if (SWIG_arg_fail(2)) SWIG_fail
;
39359 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39360 result
= (wxSizerItem
*)(arg1
)->Prepend(arg2
);
39362 wxPyEndAllowThreads(__tstate
);
39363 if (PyErr_Occurred()) SWIG_fail
;
39365 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizerItem
, 0);
39372 static PyObject
*_wrap_Sizer_SetDimension(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39373 PyObject
*resultobj
;
39374 wxSizer
*arg1
= (wxSizer
*) 0 ;
39379 PyObject
* obj0
= 0 ;
39380 PyObject
* obj1
= 0 ;
39381 PyObject
* obj2
= 0 ;
39382 PyObject
* obj3
= 0 ;
39383 PyObject
* obj4
= 0 ;
39384 char *kwnames
[] = {
39385 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
39388 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Sizer_SetDimension",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
39389 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
39390 if (SWIG_arg_fail(1)) SWIG_fail
;
39392 arg2
= (int)(SWIG_As_int(obj1
));
39393 if (SWIG_arg_fail(2)) SWIG_fail
;
39396 arg3
= (int)(SWIG_As_int(obj2
));
39397 if (SWIG_arg_fail(3)) SWIG_fail
;
39400 arg4
= (int)(SWIG_As_int(obj3
));
39401 if (SWIG_arg_fail(4)) SWIG_fail
;
39404 arg5
= (int)(SWIG_As_int(obj4
));
39405 if (SWIG_arg_fail(5)) SWIG_fail
;
39408 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39409 (arg1
)->SetDimension(arg2
,arg3
,arg4
,arg5
);
39411 wxPyEndAllowThreads(__tstate
);
39412 if (PyErr_Occurred()) SWIG_fail
;
39414 Py_INCREF(Py_None
); resultobj
= Py_None
;
39421 static PyObject
*_wrap_Sizer_SetMinSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39422 PyObject
*resultobj
;
39423 wxSizer
*arg1
= (wxSizer
*) 0 ;
39426 PyObject
* obj0
= 0 ;
39427 PyObject
* obj1
= 0 ;
39428 char *kwnames
[] = {
39429 (char *) "self",(char *) "size", NULL
39432 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_SetMinSize",kwnames
,&obj0
,&obj1
)) goto fail
;
39433 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
39434 if (SWIG_arg_fail(1)) SWIG_fail
;
39437 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
39440 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39441 (arg1
)->SetMinSize((wxSize
const &)*arg2
);
39443 wxPyEndAllowThreads(__tstate
);
39444 if (PyErr_Occurred()) SWIG_fail
;
39446 Py_INCREF(Py_None
); resultobj
= Py_None
;
39453 static PyObject
*_wrap_Sizer_GetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39454 PyObject
*resultobj
;
39455 wxSizer
*arg1
= (wxSizer
*) 0 ;
39457 PyObject
* obj0
= 0 ;
39458 char *kwnames
[] = {
39459 (char *) "self", NULL
39462 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_GetSize",kwnames
,&obj0
)) goto fail
;
39463 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
39464 if (SWIG_arg_fail(1)) SWIG_fail
;
39466 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39467 result
= (arg1
)->GetSize();
39469 wxPyEndAllowThreads(__tstate
);
39470 if (PyErr_Occurred()) SWIG_fail
;
39473 wxSize
* resultptr
;
39474 resultptr
= new wxSize((wxSize
&)(result
));
39475 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
39483 static PyObject
*_wrap_Sizer_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39484 PyObject
*resultobj
;
39485 wxSizer
*arg1
= (wxSizer
*) 0 ;
39487 PyObject
* obj0
= 0 ;
39488 char *kwnames
[] = {
39489 (char *) "self", NULL
39492 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_GetPosition",kwnames
,&obj0
)) goto fail
;
39493 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
39494 if (SWIG_arg_fail(1)) SWIG_fail
;
39496 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39497 result
= (arg1
)->GetPosition();
39499 wxPyEndAllowThreads(__tstate
);
39500 if (PyErr_Occurred()) SWIG_fail
;
39503 wxPoint
* resultptr
;
39504 resultptr
= new wxPoint((wxPoint
&)(result
));
39505 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
39513 static PyObject
*_wrap_Sizer_GetMinSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39514 PyObject
*resultobj
;
39515 wxSizer
*arg1
= (wxSizer
*) 0 ;
39517 PyObject
* obj0
= 0 ;
39518 char *kwnames
[] = {
39519 (char *) "self", NULL
39522 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_GetMinSize",kwnames
,&obj0
)) goto fail
;
39523 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
39524 if (SWIG_arg_fail(1)) SWIG_fail
;
39526 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39527 result
= (arg1
)->GetMinSize();
39529 wxPyEndAllowThreads(__tstate
);
39530 if (PyErr_Occurred()) SWIG_fail
;
39533 wxSize
* resultptr
;
39534 resultptr
= new wxSize((wxSize
&)(result
));
39535 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
39543 static PyObject
*_wrap_Sizer_RecalcSizes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39544 PyObject
*resultobj
;
39545 wxSizer
*arg1
= (wxSizer
*) 0 ;
39546 PyObject
* obj0
= 0 ;
39547 char *kwnames
[] = {
39548 (char *) "self", NULL
39551 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_RecalcSizes",kwnames
,&obj0
)) goto fail
;
39552 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
39553 if (SWIG_arg_fail(1)) SWIG_fail
;
39555 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39556 (arg1
)->RecalcSizes();
39558 wxPyEndAllowThreads(__tstate
);
39559 if (PyErr_Occurred()) SWIG_fail
;
39561 Py_INCREF(Py_None
); resultobj
= Py_None
;
39568 static PyObject
*_wrap_Sizer_CalcMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39569 PyObject
*resultobj
;
39570 wxSizer
*arg1
= (wxSizer
*) 0 ;
39572 PyObject
* obj0
= 0 ;
39573 char *kwnames
[] = {
39574 (char *) "self", NULL
39577 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_CalcMin",kwnames
,&obj0
)) goto fail
;
39578 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
39579 if (SWIG_arg_fail(1)) SWIG_fail
;
39581 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39582 result
= (arg1
)->CalcMin();
39584 wxPyEndAllowThreads(__tstate
);
39585 if (PyErr_Occurred()) SWIG_fail
;
39588 wxSize
* resultptr
;
39589 resultptr
= new wxSize((wxSize
&)(result
));
39590 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
39598 static PyObject
*_wrap_Sizer_Layout(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39599 PyObject
*resultobj
;
39600 wxSizer
*arg1
= (wxSizer
*) 0 ;
39601 PyObject
* obj0
= 0 ;
39602 char *kwnames
[] = {
39603 (char *) "self", NULL
39606 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_Layout",kwnames
,&obj0
)) goto fail
;
39607 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
39608 if (SWIG_arg_fail(1)) SWIG_fail
;
39610 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39613 wxPyEndAllowThreads(__tstate
);
39614 if (PyErr_Occurred()) SWIG_fail
;
39616 Py_INCREF(Py_None
); resultobj
= Py_None
;
39623 static PyObject
*_wrap_Sizer_Fit(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39624 PyObject
*resultobj
;
39625 wxSizer
*arg1
= (wxSizer
*) 0 ;
39626 wxWindow
*arg2
= (wxWindow
*) 0 ;
39628 PyObject
* obj0
= 0 ;
39629 PyObject
* obj1
= 0 ;
39630 char *kwnames
[] = {
39631 (char *) "self",(char *) "window", NULL
39634 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_Fit",kwnames
,&obj0
,&obj1
)) goto fail
;
39635 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
39636 if (SWIG_arg_fail(1)) SWIG_fail
;
39637 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
39638 if (SWIG_arg_fail(2)) SWIG_fail
;
39640 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39641 result
= (arg1
)->Fit(arg2
);
39643 wxPyEndAllowThreads(__tstate
);
39644 if (PyErr_Occurred()) SWIG_fail
;
39647 wxSize
* resultptr
;
39648 resultptr
= new wxSize((wxSize
&)(result
));
39649 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
39657 static PyObject
*_wrap_Sizer_FitInside(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39658 PyObject
*resultobj
;
39659 wxSizer
*arg1
= (wxSizer
*) 0 ;
39660 wxWindow
*arg2
= (wxWindow
*) 0 ;
39661 PyObject
* obj0
= 0 ;
39662 PyObject
* obj1
= 0 ;
39663 char *kwnames
[] = {
39664 (char *) "self",(char *) "window", NULL
39667 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_FitInside",kwnames
,&obj0
,&obj1
)) goto fail
;
39668 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
39669 if (SWIG_arg_fail(1)) SWIG_fail
;
39670 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
39671 if (SWIG_arg_fail(2)) SWIG_fail
;
39673 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39674 (arg1
)->FitInside(arg2
);
39676 wxPyEndAllowThreads(__tstate
);
39677 if (PyErr_Occurred()) SWIG_fail
;
39679 Py_INCREF(Py_None
); resultobj
= Py_None
;
39686 static PyObject
*_wrap_Sizer_SetSizeHints(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39687 PyObject
*resultobj
;
39688 wxSizer
*arg1
= (wxSizer
*) 0 ;
39689 wxWindow
*arg2
= (wxWindow
*) 0 ;
39690 PyObject
* obj0
= 0 ;
39691 PyObject
* obj1
= 0 ;
39692 char *kwnames
[] = {
39693 (char *) "self",(char *) "window", NULL
39696 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_SetSizeHints",kwnames
,&obj0
,&obj1
)) goto fail
;
39697 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
39698 if (SWIG_arg_fail(1)) SWIG_fail
;
39699 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
39700 if (SWIG_arg_fail(2)) SWIG_fail
;
39702 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39703 (arg1
)->SetSizeHints(arg2
);
39705 wxPyEndAllowThreads(__tstate
);
39706 if (PyErr_Occurred()) SWIG_fail
;
39708 Py_INCREF(Py_None
); resultobj
= Py_None
;
39715 static PyObject
*_wrap_Sizer_SetVirtualSizeHints(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39716 PyObject
*resultobj
;
39717 wxSizer
*arg1
= (wxSizer
*) 0 ;
39718 wxWindow
*arg2
= (wxWindow
*) 0 ;
39719 PyObject
* obj0
= 0 ;
39720 PyObject
* obj1
= 0 ;
39721 char *kwnames
[] = {
39722 (char *) "self",(char *) "window", NULL
39725 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_SetVirtualSizeHints",kwnames
,&obj0
,&obj1
)) goto fail
;
39726 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
39727 if (SWIG_arg_fail(1)) SWIG_fail
;
39728 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
39729 if (SWIG_arg_fail(2)) SWIG_fail
;
39731 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39732 (arg1
)->SetVirtualSizeHints(arg2
);
39734 wxPyEndAllowThreads(__tstate
);
39735 if (PyErr_Occurred()) SWIG_fail
;
39737 Py_INCREF(Py_None
); resultobj
= Py_None
;
39744 static PyObject
*_wrap_Sizer_Clear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39745 PyObject
*resultobj
;
39746 wxSizer
*arg1
= (wxSizer
*) 0 ;
39747 bool arg2
= (bool) false ;
39748 PyObject
* obj0
= 0 ;
39749 PyObject
* obj1
= 0 ;
39750 char *kwnames
[] = {
39751 (char *) "self",(char *) "deleteWindows", NULL
39754 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Sizer_Clear",kwnames
,&obj0
,&obj1
)) goto fail
;
39755 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
39756 if (SWIG_arg_fail(1)) SWIG_fail
;
39759 arg2
= (bool)(SWIG_As_bool(obj1
));
39760 if (SWIG_arg_fail(2)) SWIG_fail
;
39764 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39765 (arg1
)->Clear(arg2
);
39767 wxPyEndAllowThreads(__tstate
);
39768 if (PyErr_Occurred()) SWIG_fail
;
39770 Py_INCREF(Py_None
); resultobj
= Py_None
;
39777 static PyObject
*_wrap_Sizer_DeleteWindows(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39778 PyObject
*resultobj
;
39779 wxSizer
*arg1
= (wxSizer
*) 0 ;
39780 PyObject
* obj0
= 0 ;
39781 char *kwnames
[] = {
39782 (char *) "self", NULL
39785 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_DeleteWindows",kwnames
,&obj0
)) goto fail
;
39786 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
39787 if (SWIG_arg_fail(1)) SWIG_fail
;
39789 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39790 (arg1
)->DeleteWindows();
39792 wxPyEndAllowThreads(__tstate
);
39793 if (PyErr_Occurred()) SWIG_fail
;
39795 Py_INCREF(Py_None
); resultobj
= Py_None
;
39802 static PyObject
*_wrap_Sizer_GetChildren(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39803 PyObject
*resultobj
;
39804 wxSizer
*arg1
= (wxSizer
*) 0 ;
39806 PyObject
* obj0
= 0 ;
39807 char *kwnames
[] = {
39808 (char *) "self", NULL
39811 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_GetChildren",kwnames
,&obj0
)) goto fail
;
39812 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
39813 if (SWIG_arg_fail(1)) SWIG_fail
;
39815 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39816 result
= (PyObject
*)wxSizer_GetChildren(arg1
);
39818 wxPyEndAllowThreads(__tstate
);
39819 if (PyErr_Occurred()) SWIG_fail
;
39821 resultobj
= result
;
39828 static PyObject
*_wrap_Sizer_Show(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39829 PyObject
*resultobj
;
39830 wxSizer
*arg1
= (wxSizer
*) 0 ;
39831 PyObject
*arg2
= (PyObject
*) 0 ;
39832 bool arg3
= (bool) true ;
39833 bool arg4
= (bool) false ;
39835 PyObject
* obj0
= 0 ;
39836 PyObject
* obj1
= 0 ;
39837 PyObject
* obj2
= 0 ;
39838 PyObject
* obj3
= 0 ;
39839 char *kwnames
[] = {
39840 (char *) "self",(char *) "item",(char *) "show",(char *) "recursive", NULL
39843 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:Sizer_Show",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
39844 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
39845 if (SWIG_arg_fail(1)) SWIG_fail
;
39849 arg3
= (bool)(SWIG_As_bool(obj2
));
39850 if (SWIG_arg_fail(3)) SWIG_fail
;
39855 arg4
= (bool)(SWIG_As_bool(obj3
));
39856 if (SWIG_arg_fail(4)) SWIG_fail
;
39860 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39861 result
= (bool)wxSizer_Show(arg1
,arg2
,arg3
,arg4
);
39863 wxPyEndAllowThreads(__tstate
);
39864 if (PyErr_Occurred()) SWIG_fail
;
39867 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
39875 static PyObject
*_wrap_Sizer_IsShown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39876 PyObject
*resultobj
;
39877 wxSizer
*arg1
= (wxSizer
*) 0 ;
39878 PyObject
*arg2
= (PyObject
*) 0 ;
39880 PyObject
* obj0
= 0 ;
39881 PyObject
* obj1
= 0 ;
39882 char *kwnames
[] = {
39883 (char *) "self",(char *) "item", NULL
39886 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_IsShown",kwnames
,&obj0
,&obj1
)) goto fail
;
39887 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
39888 if (SWIG_arg_fail(1)) SWIG_fail
;
39891 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39892 result
= (bool)wxSizer_IsShown(arg1
,arg2
);
39894 wxPyEndAllowThreads(__tstate
);
39895 if (PyErr_Occurred()) SWIG_fail
;
39898 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
39906 static PyObject
*_wrap_Sizer_ShowItems(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39907 PyObject
*resultobj
;
39908 wxSizer
*arg1
= (wxSizer
*) 0 ;
39910 PyObject
* obj0
= 0 ;
39911 PyObject
* obj1
= 0 ;
39912 char *kwnames
[] = {
39913 (char *) "self",(char *) "show", NULL
39916 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_ShowItems",kwnames
,&obj0
,&obj1
)) goto fail
;
39917 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
39918 if (SWIG_arg_fail(1)) SWIG_fail
;
39920 arg2
= (bool)(SWIG_As_bool(obj1
));
39921 if (SWIG_arg_fail(2)) SWIG_fail
;
39924 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39925 (arg1
)->ShowItems(arg2
);
39927 wxPyEndAllowThreads(__tstate
);
39928 if (PyErr_Occurred()) SWIG_fail
;
39930 Py_INCREF(Py_None
); resultobj
= Py_None
;
39937 static PyObject
* Sizer_swigregister(PyObject
*, PyObject
*args
) {
39939 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
39940 SWIG_TypeClientData(SWIGTYPE_p_wxSizer
, obj
);
39942 return Py_BuildValue((char *)"");
39944 static PyObject
*_wrap_new_PySizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39945 PyObject
*resultobj
;
39947 char *kwnames
[] = {
39951 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PySizer",kwnames
)) goto fail
;
39953 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39954 result
= (wxPySizer
*)new wxPySizer();
39956 wxPyEndAllowThreads(__tstate
);
39957 if (PyErr_Occurred()) SWIG_fail
;
39959 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPySizer
, 1);
39966 static PyObject
*_wrap_PySizer__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39967 PyObject
*resultobj
;
39968 wxPySizer
*arg1
= (wxPySizer
*) 0 ;
39969 PyObject
*arg2
= (PyObject
*) 0 ;
39970 PyObject
*arg3
= (PyObject
*) 0 ;
39971 PyObject
* obj0
= 0 ;
39972 PyObject
* obj1
= 0 ;
39973 PyObject
* obj2
= 0 ;
39974 char *kwnames
[] = {
39975 (char *) "self",(char *) "self",(char *) "_class", NULL
39978 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PySizer__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
39979 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPySizer
, SWIG_POINTER_EXCEPTION
| 0);
39980 if (SWIG_arg_fail(1)) SWIG_fail
;
39984 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39985 (arg1
)->_setCallbackInfo(arg2
,arg3
);
39987 wxPyEndAllowThreads(__tstate
);
39988 if (PyErr_Occurred()) SWIG_fail
;
39990 Py_INCREF(Py_None
); resultobj
= Py_None
;
39997 static PyObject
* PySizer_swigregister(PyObject
*, PyObject
*args
) {
39999 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
40000 SWIG_TypeClientData(SWIGTYPE_p_wxPySizer
, obj
);
40002 return Py_BuildValue((char *)"");
40004 static PyObject
*_wrap_new_BoxSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40005 PyObject
*resultobj
;
40006 int arg1
= (int) wxHORIZONTAL
;
40007 wxBoxSizer
*result
;
40008 PyObject
* obj0
= 0 ;
40009 char *kwnames
[] = {
40010 (char *) "orient", NULL
40013 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_BoxSizer",kwnames
,&obj0
)) goto fail
;
40016 arg1
= (int)(SWIG_As_int(obj0
));
40017 if (SWIG_arg_fail(1)) SWIG_fail
;
40021 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40022 result
= (wxBoxSizer
*)new wxBoxSizer(arg1
);
40024 wxPyEndAllowThreads(__tstate
);
40025 if (PyErr_Occurred()) SWIG_fail
;
40027 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBoxSizer
, 1);
40034 static PyObject
*_wrap_BoxSizer_GetOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40035 PyObject
*resultobj
;
40036 wxBoxSizer
*arg1
= (wxBoxSizer
*) 0 ;
40038 PyObject
* obj0
= 0 ;
40039 char *kwnames
[] = {
40040 (char *) "self", NULL
40043 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BoxSizer_GetOrientation",kwnames
,&obj0
)) goto fail
;
40044 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBoxSizer
, SWIG_POINTER_EXCEPTION
| 0);
40045 if (SWIG_arg_fail(1)) SWIG_fail
;
40047 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40048 result
= (int)(arg1
)->GetOrientation();
40050 wxPyEndAllowThreads(__tstate
);
40051 if (PyErr_Occurred()) SWIG_fail
;
40054 resultobj
= SWIG_From_int((int)(result
));
40062 static PyObject
*_wrap_BoxSizer_SetOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40063 PyObject
*resultobj
;
40064 wxBoxSizer
*arg1
= (wxBoxSizer
*) 0 ;
40066 PyObject
* obj0
= 0 ;
40067 PyObject
* obj1
= 0 ;
40068 char *kwnames
[] = {
40069 (char *) "self",(char *) "orient", NULL
40072 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BoxSizer_SetOrientation",kwnames
,&obj0
,&obj1
)) goto fail
;
40073 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBoxSizer
, SWIG_POINTER_EXCEPTION
| 0);
40074 if (SWIG_arg_fail(1)) SWIG_fail
;
40076 arg2
= (int)(SWIG_As_int(obj1
));
40077 if (SWIG_arg_fail(2)) SWIG_fail
;
40080 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40081 (arg1
)->SetOrientation(arg2
);
40083 wxPyEndAllowThreads(__tstate
);
40084 if (PyErr_Occurred()) SWIG_fail
;
40086 Py_INCREF(Py_None
); resultobj
= Py_None
;
40093 static PyObject
* BoxSizer_swigregister(PyObject
*, PyObject
*args
) {
40095 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
40096 SWIG_TypeClientData(SWIGTYPE_p_wxBoxSizer
, obj
);
40098 return Py_BuildValue((char *)"");
40100 static PyObject
*_wrap_new_StaticBoxSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40101 PyObject
*resultobj
;
40102 wxStaticBox
*arg1
= (wxStaticBox
*) 0 ;
40103 int arg2
= (int) wxHORIZONTAL
;
40104 wxStaticBoxSizer
*result
;
40105 PyObject
* obj0
= 0 ;
40106 PyObject
* obj1
= 0 ;
40107 char *kwnames
[] = {
40108 (char *) "box",(char *) "orient", NULL
40111 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_StaticBoxSizer",kwnames
,&obj0
,&obj1
)) goto fail
;
40112 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStaticBox
, SWIG_POINTER_EXCEPTION
| 0);
40113 if (SWIG_arg_fail(1)) SWIG_fail
;
40116 arg2
= (int)(SWIG_As_int(obj1
));
40117 if (SWIG_arg_fail(2)) SWIG_fail
;
40121 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40122 result
= (wxStaticBoxSizer
*)new wxStaticBoxSizer(arg1
,arg2
);
40124 wxPyEndAllowThreads(__tstate
);
40125 if (PyErr_Occurred()) SWIG_fail
;
40127 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStaticBoxSizer
, 1);
40134 static PyObject
*_wrap_StaticBoxSizer_GetStaticBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40135 PyObject
*resultobj
;
40136 wxStaticBoxSizer
*arg1
= (wxStaticBoxSizer
*) 0 ;
40137 wxStaticBox
*result
;
40138 PyObject
* obj0
= 0 ;
40139 char *kwnames
[] = {
40140 (char *) "self", NULL
40143 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StaticBoxSizer_GetStaticBox",kwnames
,&obj0
)) goto fail
;
40144 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStaticBoxSizer
, SWIG_POINTER_EXCEPTION
| 0);
40145 if (SWIG_arg_fail(1)) SWIG_fail
;
40147 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40148 result
= (wxStaticBox
*)(arg1
)->GetStaticBox();
40150 wxPyEndAllowThreads(__tstate
);
40151 if (PyErr_Occurred()) SWIG_fail
;
40154 resultobj
= wxPyMake_wxObject(result
, 0);
40162 static PyObject
* StaticBoxSizer_swigregister(PyObject
*, PyObject
*args
) {
40164 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
40165 SWIG_TypeClientData(SWIGTYPE_p_wxStaticBoxSizer
, obj
);
40167 return Py_BuildValue((char *)"");
40169 static PyObject
*_wrap_new_GridSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40170 PyObject
*resultobj
;
40171 int arg1
= (int) 1 ;
40172 int arg2
= (int) 0 ;
40173 int arg3
= (int) 0 ;
40174 int arg4
= (int) 0 ;
40175 wxGridSizer
*result
;
40176 PyObject
* obj0
= 0 ;
40177 PyObject
* obj1
= 0 ;
40178 PyObject
* obj2
= 0 ;
40179 PyObject
* obj3
= 0 ;
40180 char *kwnames
[] = {
40181 (char *) "rows",(char *) "cols",(char *) "vgap",(char *) "hgap", NULL
40184 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_GridSizer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
40187 arg1
= (int)(SWIG_As_int(obj0
));
40188 if (SWIG_arg_fail(1)) SWIG_fail
;
40193 arg2
= (int)(SWIG_As_int(obj1
));
40194 if (SWIG_arg_fail(2)) SWIG_fail
;
40199 arg3
= (int)(SWIG_As_int(obj2
));
40200 if (SWIG_arg_fail(3)) SWIG_fail
;
40205 arg4
= (int)(SWIG_As_int(obj3
));
40206 if (SWIG_arg_fail(4)) SWIG_fail
;
40210 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40211 result
= (wxGridSizer
*)new wxGridSizer(arg1
,arg2
,arg3
,arg4
);
40213 wxPyEndAllowThreads(__tstate
);
40214 if (PyErr_Occurred()) SWIG_fail
;
40216 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGridSizer
, 1);
40223 static PyObject
*_wrap_GridSizer_SetCols(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40224 PyObject
*resultobj
;
40225 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
40227 PyObject
* obj0
= 0 ;
40228 PyObject
* obj1
= 0 ;
40229 char *kwnames
[] = {
40230 (char *) "self",(char *) "cols", NULL
40233 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridSizer_SetCols",kwnames
,&obj0
,&obj1
)) goto fail
;
40234 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridSizer
, SWIG_POINTER_EXCEPTION
| 0);
40235 if (SWIG_arg_fail(1)) SWIG_fail
;
40237 arg2
= (int)(SWIG_As_int(obj1
));
40238 if (SWIG_arg_fail(2)) SWIG_fail
;
40241 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40242 (arg1
)->SetCols(arg2
);
40244 wxPyEndAllowThreads(__tstate
);
40245 if (PyErr_Occurred()) SWIG_fail
;
40247 Py_INCREF(Py_None
); resultobj
= Py_None
;
40254 static PyObject
*_wrap_GridSizer_SetRows(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40255 PyObject
*resultobj
;
40256 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
40258 PyObject
* obj0
= 0 ;
40259 PyObject
* obj1
= 0 ;
40260 char *kwnames
[] = {
40261 (char *) "self",(char *) "rows", NULL
40264 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridSizer_SetRows",kwnames
,&obj0
,&obj1
)) goto fail
;
40265 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridSizer
, SWIG_POINTER_EXCEPTION
| 0);
40266 if (SWIG_arg_fail(1)) SWIG_fail
;
40268 arg2
= (int)(SWIG_As_int(obj1
));
40269 if (SWIG_arg_fail(2)) SWIG_fail
;
40272 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40273 (arg1
)->SetRows(arg2
);
40275 wxPyEndAllowThreads(__tstate
);
40276 if (PyErr_Occurred()) SWIG_fail
;
40278 Py_INCREF(Py_None
); resultobj
= Py_None
;
40285 static PyObject
*_wrap_GridSizer_SetVGap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40286 PyObject
*resultobj
;
40287 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
40289 PyObject
* obj0
= 0 ;
40290 PyObject
* obj1
= 0 ;
40291 char *kwnames
[] = {
40292 (char *) "self",(char *) "gap", NULL
40295 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridSizer_SetVGap",kwnames
,&obj0
,&obj1
)) goto fail
;
40296 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridSizer
, SWIG_POINTER_EXCEPTION
| 0);
40297 if (SWIG_arg_fail(1)) SWIG_fail
;
40299 arg2
= (int)(SWIG_As_int(obj1
));
40300 if (SWIG_arg_fail(2)) SWIG_fail
;
40303 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40304 (arg1
)->SetVGap(arg2
);
40306 wxPyEndAllowThreads(__tstate
);
40307 if (PyErr_Occurred()) SWIG_fail
;
40309 Py_INCREF(Py_None
); resultobj
= Py_None
;
40316 static PyObject
*_wrap_GridSizer_SetHGap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40317 PyObject
*resultobj
;
40318 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
40320 PyObject
* obj0
= 0 ;
40321 PyObject
* obj1
= 0 ;
40322 char *kwnames
[] = {
40323 (char *) "self",(char *) "gap", NULL
40326 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridSizer_SetHGap",kwnames
,&obj0
,&obj1
)) goto fail
;
40327 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridSizer
, SWIG_POINTER_EXCEPTION
| 0);
40328 if (SWIG_arg_fail(1)) SWIG_fail
;
40330 arg2
= (int)(SWIG_As_int(obj1
));
40331 if (SWIG_arg_fail(2)) SWIG_fail
;
40334 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40335 (arg1
)->SetHGap(arg2
);
40337 wxPyEndAllowThreads(__tstate
);
40338 if (PyErr_Occurred()) SWIG_fail
;
40340 Py_INCREF(Py_None
); resultobj
= Py_None
;
40347 static PyObject
*_wrap_GridSizer_GetCols(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40348 PyObject
*resultobj
;
40349 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
40351 PyObject
* obj0
= 0 ;
40352 char *kwnames
[] = {
40353 (char *) "self", NULL
40356 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridSizer_GetCols",kwnames
,&obj0
)) goto fail
;
40357 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridSizer
, SWIG_POINTER_EXCEPTION
| 0);
40358 if (SWIG_arg_fail(1)) SWIG_fail
;
40360 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40361 result
= (int)(arg1
)->GetCols();
40363 wxPyEndAllowThreads(__tstate
);
40364 if (PyErr_Occurred()) SWIG_fail
;
40367 resultobj
= SWIG_From_int((int)(result
));
40375 static PyObject
*_wrap_GridSizer_GetRows(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40376 PyObject
*resultobj
;
40377 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
40379 PyObject
* obj0
= 0 ;
40380 char *kwnames
[] = {
40381 (char *) "self", NULL
40384 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridSizer_GetRows",kwnames
,&obj0
)) goto fail
;
40385 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridSizer
, SWIG_POINTER_EXCEPTION
| 0);
40386 if (SWIG_arg_fail(1)) SWIG_fail
;
40388 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40389 result
= (int)(arg1
)->GetRows();
40391 wxPyEndAllowThreads(__tstate
);
40392 if (PyErr_Occurred()) SWIG_fail
;
40395 resultobj
= SWIG_From_int((int)(result
));
40403 static PyObject
*_wrap_GridSizer_GetVGap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40404 PyObject
*resultobj
;
40405 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
40407 PyObject
* obj0
= 0 ;
40408 char *kwnames
[] = {
40409 (char *) "self", NULL
40412 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridSizer_GetVGap",kwnames
,&obj0
)) goto fail
;
40413 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridSizer
, SWIG_POINTER_EXCEPTION
| 0);
40414 if (SWIG_arg_fail(1)) SWIG_fail
;
40416 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40417 result
= (int)(arg1
)->GetVGap();
40419 wxPyEndAllowThreads(__tstate
);
40420 if (PyErr_Occurred()) SWIG_fail
;
40423 resultobj
= SWIG_From_int((int)(result
));
40431 static PyObject
*_wrap_GridSizer_GetHGap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40432 PyObject
*resultobj
;
40433 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
40435 PyObject
* obj0
= 0 ;
40436 char *kwnames
[] = {
40437 (char *) "self", NULL
40440 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridSizer_GetHGap",kwnames
,&obj0
)) goto fail
;
40441 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridSizer
, SWIG_POINTER_EXCEPTION
| 0);
40442 if (SWIG_arg_fail(1)) SWIG_fail
;
40444 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40445 result
= (int)(arg1
)->GetHGap();
40447 wxPyEndAllowThreads(__tstate
);
40448 if (PyErr_Occurred()) SWIG_fail
;
40451 resultobj
= SWIG_From_int((int)(result
));
40459 static PyObject
* GridSizer_swigregister(PyObject
*, PyObject
*args
) {
40461 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
40462 SWIG_TypeClientData(SWIGTYPE_p_wxGridSizer
, obj
);
40464 return Py_BuildValue((char *)"");
40466 static PyObject
*_wrap_new_FlexGridSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40467 PyObject
*resultobj
;
40468 int arg1
= (int) 1 ;
40469 int arg2
= (int) 0 ;
40470 int arg3
= (int) 0 ;
40471 int arg4
= (int) 0 ;
40472 wxFlexGridSizer
*result
;
40473 PyObject
* obj0
= 0 ;
40474 PyObject
* obj1
= 0 ;
40475 PyObject
* obj2
= 0 ;
40476 PyObject
* obj3
= 0 ;
40477 char *kwnames
[] = {
40478 (char *) "rows",(char *) "cols",(char *) "vgap",(char *) "hgap", NULL
40481 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_FlexGridSizer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
40484 arg1
= (int)(SWIG_As_int(obj0
));
40485 if (SWIG_arg_fail(1)) SWIG_fail
;
40490 arg2
= (int)(SWIG_As_int(obj1
));
40491 if (SWIG_arg_fail(2)) SWIG_fail
;
40496 arg3
= (int)(SWIG_As_int(obj2
));
40497 if (SWIG_arg_fail(3)) SWIG_fail
;
40502 arg4
= (int)(SWIG_As_int(obj3
));
40503 if (SWIG_arg_fail(4)) SWIG_fail
;
40507 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40508 result
= (wxFlexGridSizer
*)new wxFlexGridSizer(arg1
,arg2
,arg3
,arg4
);
40510 wxPyEndAllowThreads(__tstate
);
40511 if (PyErr_Occurred()) SWIG_fail
;
40513 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFlexGridSizer
, 1);
40520 static PyObject
*_wrap_FlexGridSizer_AddGrowableRow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40521 PyObject
*resultobj
;
40522 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
40524 int arg3
= (int) 0 ;
40525 PyObject
* obj0
= 0 ;
40526 PyObject
* obj1
= 0 ;
40527 PyObject
* obj2
= 0 ;
40528 char *kwnames
[] = {
40529 (char *) "self",(char *) "idx",(char *) "proportion", NULL
40532 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FlexGridSizer_AddGrowableRow",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
40533 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFlexGridSizer
, SWIG_POINTER_EXCEPTION
| 0);
40534 if (SWIG_arg_fail(1)) SWIG_fail
;
40536 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
40537 if (SWIG_arg_fail(2)) SWIG_fail
;
40541 arg3
= (int)(SWIG_As_int(obj2
));
40542 if (SWIG_arg_fail(3)) SWIG_fail
;
40546 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40547 (arg1
)->AddGrowableRow(arg2
,arg3
);
40549 wxPyEndAllowThreads(__tstate
);
40550 if (PyErr_Occurred()) SWIG_fail
;
40552 Py_INCREF(Py_None
); resultobj
= Py_None
;
40559 static PyObject
*_wrap_FlexGridSizer_RemoveGrowableRow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40560 PyObject
*resultobj
;
40561 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
40563 PyObject
* obj0
= 0 ;
40564 PyObject
* obj1
= 0 ;
40565 char *kwnames
[] = {
40566 (char *) "self",(char *) "idx", NULL
40569 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FlexGridSizer_RemoveGrowableRow",kwnames
,&obj0
,&obj1
)) goto fail
;
40570 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFlexGridSizer
, SWIG_POINTER_EXCEPTION
| 0);
40571 if (SWIG_arg_fail(1)) SWIG_fail
;
40573 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
40574 if (SWIG_arg_fail(2)) SWIG_fail
;
40577 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40578 (arg1
)->RemoveGrowableRow(arg2
);
40580 wxPyEndAllowThreads(__tstate
);
40581 if (PyErr_Occurred()) SWIG_fail
;
40583 Py_INCREF(Py_None
); resultobj
= Py_None
;
40590 static PyObject
*_wrap_FlexGridSizer_AddGrowableCol(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40591 PyObject
*resultobj
;
40592 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
40594 int arg3
= (int) 0 ;
40595 PyObject
* obj0
= 0 ;
40596 PyObject
* obj1
= 0 ;
40597 PyObject
* obj2
= 0 ;
40598 char *kwnames
[] = {
40599 (char *) "self",(char *) "idx",(char *) "proportion", NULL
40602 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FlexGridSizer_AddGrowableCol",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
40603 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFlexGridSizer
, SWIG_POINTER_EXCEPTION
| 0);
40604 if (SWIG_arg_fail(1)) SWIG_fail
;
40606 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
40607 if (SWIG_arg_fail(2)) SWIG_fail
;
40611 arg3
= (int)(SWIG_As_int(obj2
));
40612 if (SWIG_arg_fail(3)) SWIG_fail
;
40616 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40617 (arg1
)->AddGrowableCol(arg2
,arg3
);
40619 wxPyEndAllowThreads(__tstate
);
40620 if (PyErr_Occurred()) SWIG_fail
;
40622 Py_INCREF(Py_None
); resultobj
= Py_None
;
40629 static PyObject
*_wrap_FlexGridSizer_RemoveGrowableCol(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40630 PyObject
*resultobj
;
40631 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
40633 PyObject
* obj0
= 0 ;
40634 PyObject
* obj1
= 0 ;
40635 char *kwnames
[] = {
40636 (char *) "self",(char *) "idx", NULL
40639 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FlexGridSizer_RemoveGrowableCol",kwnames
,&obj0
,&obj1
)) goto fail
;
40640 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFlexGridSizer
, SWIG_POINTER_EXCEPTION
| 0);
40641 if (SWIG_arg_fail(1)) SWIG_fail
;
40643 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
40644 if (SWIG_arg_fail(2)) SWIG_fail
;
40647 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40648 (arg1
)->RemoveGrowableCol(arg2
);
40650 wxPyEndAllowThreads(__tstate
);
40651 if (PyErr_Occurred()) SWIG_fail
;
40653 Py_INCREF(Py_None
); resultobj
= Py_None
;
40660 static PyObject
*_wrap_FlexGridSizer_SetFlexibleDirection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40661 PyObject
*resultobj
;
40662 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
40664 PyObject
* obj0
= 0 ;
40665 PyObject
* obj1
= 0 ;
40666 char *kwnames
[] = {
40667 (char *) "self",(char *) "direction", NULL
40670 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FlexGridSizer_SetFlexibleDirection",kwnames
,&obj0
,&obj1
)) goto fail
;
40671 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFlexGridSizer
, SWIG_POINTER_EXCEPTION
| 0);
40672 if (SWIG_arg_fail(1)) SWIG_fail
;
40674 arg2
= (int)(SWIG_As_int(obj1
));
40675 if (SWIG_arg_fail(2)) SWIG_fail
;
40678 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40679 (arg1
)->SetFlexibleDirection(arg2
);
40681 wxPyEndAllowThreads(__tstate
);
40682 if (PyErr_Occurred()) SWIG_fail
;
40684 Py_INCREF(Py_None
); resultobj
= Py_None
;
40691 static PyObject
*_wrap_FlexGridSizer_GetFlexibleDirection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40692 PyObject
*resultobj
;
40693 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
40695 PyObject
* obj0
= 0 ;
40696 char *kwnames
[] = {
40697 (char *) "self", NULL
40700 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FlexGridSizer_GetFlexibleDirection",kwnames
,&obj0
)) goto fail
;
40701 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFlexGridSizer
, SWIG_POINTER_EXCEPTION
| 0);
40702 if (SWIG_arg_fail(1)) SWIG_fail
;
40704 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40705 result
= (int)(arg1
)->GetFlexibleDirection();
40707 wxPyEndAllowThreads(__tstate
);
40708 if (PyErr_Occurred()) SWIG_fail
;
40711 resultobj
= SWIG_From_int((int)(result
));
40719 static PyObject
*_wrap_FlexGridSizer_SetNonFlexibleGrowMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40720 PyObject
*resultobj
;
40721 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
40722 wxFlexSizerGrowMode arg2
;
40723 PyObject
* obj0
= 0 ;
40724 PyObject
* obj1
= 0 ;
40725 char *kwnames
[] = {
40726 (char *) "self",(char *) "mode", NULL
40729 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FlexGridSizer_SetNonFlexibleGrowMode",kwnames
,&obj0
,&obj1
)) goto fail
;
40730 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFlexGridSizer
, SWIG_POINTER_EXCEPTION
| 0);
40731 if (SWIG_arg_fail(1)) SWIG_fail
;
40733 arg2
= (wxFlexSizerGrowMode
)(SWIG_As_int(obj1
));
40734 if (SWIG_arg_fail(2)) SWIG_fail
;
40737 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40738 (arg1
)->SetNonFlexibleGrowMode((wxFlexSizerGrowMode
)arg2
);
40740 wxPyEndAllowThreads(__tstate
);
40741 if (PyErr_Occurred()) SWIG_fail
;
40743 Py_INCREF(Py_None
); resultobj
= Py_None
;
40750 static PyObject
*_wrap_FlexGridSizer_GetNonFlexibleGrowMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40751 PyObject
*resultobj
;
40752 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
40753 wxFlexSizerGrowMode result
;
40754 PyObject
* obj0
= 0 ;
40755 char *kwnames
[] = {
40756 (char *) "self", NULL
40759 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FlexGridSizer_GetNonFlexibleGrowMode",kwnames
,&obj0
)) goto fail
;
40760 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFlexGridSizer
, SWIG_POINTER_EXCEPTION
| 0);
40761 if (SWIG_arg_fail(1)) SWIG_fail
;
40763 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40764 result
= (wxFlexSizerGrowMode
)(arg1
)->GetNonFlexibleGrowMode();
40766 wxPyEndAllowThreads(__tstate
);
40767 if (PyErr_Occurred()) SWIG_fail
;
40769 resultobj
= SWIG_From_int((result
));
40776 static PyObject
*_wrap_FlexGridSizer_GetRowHeights(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40777 PyObject
*resultobj
;
40778 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
40779 wxArrayInt
*result
;
40780 PyObject
* obj0
= 0 ;
40781 char *kwnames
[] = {
40782 (char *) "self", NULL
40785 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FlexGridSizer_GetRowHeights",kwnames
,&obj0
)) goto fail
;
40786 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFlexGridSizer
, SWIG_POINTER_EXCEPTION
| 0);
40787 if (SWIG_arg_fail(1)) SWIG_fail
;
40789 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40791 wxArrayInt
const &_result_ref
= ((wxFlexGridSizer
const *)arg1
)->GetRowHeights();
40792 result
= (wxArrayInt
*) &_result_ref
;
40795 wxPyEndAllowThreads(__tstate
);
40796 if (PyErr_Occurred()) SWIG_fail
;
40799 resultobj
= PyList_New(0);
40801 for (idx
= 0; idx
< result
->GetCount(); idx
+= 1) {
40802 PyObject
* val
= PyInt_FromLong( result
->Item(idx
) );
40803 PyList_Append(resultobj
, val
);
40813 static PyObject
*_wrap_FlexGridSizer_GetColWidths(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40814 PyObject
*resultobj
;
40815 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
40816 wxArrayInt
*result
;
40817 PyObject
* obj0
= 0 ;
40818 char *kwnames
[] = {
40819 (char *) "self", NULL
40822 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FlexGridSizer_GetColWidths",kwnames
,&obj0
)) goto fail
;
40823 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFlexGridSizer
, SWIG_POINTER_EXCEPTION
| 0);
40824 if (SWIG_arg_fail(1)) SWIG_fail
;
40826 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40828 wxArrayInt
const &_result_ref
= ((wxFlexGridSizer
const *)arg1
)->GetColWidths();
40829 result
= (wxArrayInt
*) &_result_ref
;
40832 wxPyEndAllowThreads(__tstate
);
40833 if (PyErr_Occurred()) SWIG_fail
;
40836 resultobj
= PyList_New(0);
40838 for (idx
= 0; idx
< result
->GetCount(); idx
+= 1) {
40839 PyObject
* val
= PyInt_FromLong( result
->Item(idx
) );
40840 PyList_Append(resultobj
, val
);
40850 static PyObject
* FlexGridSizer_swigregister(PyObject
*, PyObject
*args
) {
40852 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
40853 SWIG_TypeClientData(SWIGTYPE_p_wxFlexGridSizer
, obj
);
40855 return Py_BuildValue((char *)"");
40857 static PyObject
*_wrap_new_StdDialogButtonSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40858 PyObject
*resultobj
;
40859 wxStdDialogButtonSizer
*result
;
40860 char *kwnames
[] = {
40864 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_StdDialogButtonSizer",kwnames
)) goto fail
;
40866 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40867 result
= (wxStdDialogButtonSizer
*)new wxStdDialogButtonSizer();
40869 wxPyEndAllowThreads(__tstate
);
40870 if (PyErr_Occurred()) SWIG_fail
;
40872 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStdDialogButtonSizer
, 1);
40879 static PyObject
*_wrap_StdDialogButtonSizer_AddButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40880 PyObject
*resultobj
;
40881 wxStdDialogButtonSizer
*arg1
= (wxStdDialogButtonSizer
*) 0 ;
40882 wxButton
*arg2
= (wxButton
*) 0 ;
40883 PyObject
* obj0
= 0 ;
40884 PyObject
* obj1
= 0 ;
40885 char *kwnames
[] = {
40886 (char *) "self",(char *) "button", NULL
40889 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StdDialogButtonSizer_AddButton",kwnames
,&obj0
,&obj1
)) goto fail
;
40890 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStdDialogButtonSizer
, SWIG_POINTER_EXCEPTION
| 0);
40891 if (SWIG_arg_fail(1)) SWIG_fail
;
40892 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxButton
, SWIG_POINTER_EXCEPTION
| 0);
40893 if (SWIG_arg_fail(2)) SWIG_fail
;
40895 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40896 (arg1
)->AddButton(arg2
);
40898 wxPyEndAllowThreads(__tstate
);
40899 if (PyErr_Occurred()) SWIG_fail
;
40901 Py_INCREF(Py_None
); resultobj
= Py_None
;
40908 static PyObject
*_wrap_StdDialogButtonSizer_Realize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40909 PyObject
*resultobj
;
40910 wxStdDialogButtonSizer
*arg1
= (wxStdDialogButtonSizer
*) 0 ;
40911 PyObject
* obj0
= 0 ;
40912 char *kwnames
[] = {
40913 (char *) "self", NULL
40916 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StdDialogButtonSizer_Realize",kwnames
,&obj0
)) goto fail
;
40917 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStdDialogButtonSizer
, SWIG_POINTER_EXCEPTION
| 0);
40918 if (SWIG_arg_fail(1)) SWIG_fail
;
40920 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40923 wxPyEndAllowThreads(__tstate
);
40924 if (PyErr_Occurred()) SWIG_fail
;
40926 Py_INCREF(Py_None
); resultobj
= Py_None
;
40933 static PyObject
*_wrap_StdDialogButtonSizer_SetAffirmativeButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40934 PyObject
*resultobj
;
40935 wxStdDialogButtonSizer
*arg1
= (wxStdDialogButtonSizer
*) 0 ;
40936 wxButton
*arg2
= (wxButton
*) 0 ;
40937 PyObject
* obj0
= 0 ;
40938 PyObject
* obj1
= 0 ;
40939 char *kwnames
[] = {
40940 (char *) "self",(char *) "button", NULL
40943 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StdDialogButtonSizer_SetAffirmativeButton",kwnames
,&obj0
,&obj1
)) goto fail
;
40944 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStdDialogButtonSizer
, SWIG_POINTER_EXCEPTION
| 0);
40945 if (SWIG_arg_fail(1)) SWIG_fail
;
40946 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxButton
, SWIG_POINTER_EXCEPTION
| 0);
40947 if (SWIG_arg_fail(2)) SWIG_fail
;
40949 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40950 (arg1
)->SetAffirmativeButton(arg2
);
40952 wxPyEndAllowThreads(__tstate
);
40953 if (PyErr_Occurred()) SWIG_fail
;
40955 Py_INCREF(Py_None
); resultobj
= Py_None
;
40962 static PyObject
*_wrap_StdDialogButtonSizer_SetNegativeButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40963 PyObject
*resultobj
;
40964 wxStdDialogButtonSizer
*arg1
= (wxStdDialogButtonSizer
*) 0 ;
40965 wxButton
*arg2
= (wxButton
*) 0 ;
40966 PyObject
* obj0
= 0 ;
40967 PyObject
* obj1
= 0 ;
40968 char *kwnames
[] = {
40969 (char *) "self",(char *) "button", NULL
40972 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StdDialogButtonSizer_SetNegativeButton",kwnames
,&obj0
,&obj1
)) goto fail
;
40973 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStdDialogButtonSizer
, SWIG_POINTER_EXCEPTION
| 0);
40974 if (SWIG_arg_fail(1)) SWIG_fail
;
40975 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxButton
, SWIG_POINTER_EXCEPTION
| 0);
40976 if (SWIG_arg_fail(2)) SWIG_fail
;
40978 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40979 (arg1
)->SetNegativeButton(arg2
);
40981 wxPyEndAllowThreads(__tstate
);
40982 if (PyErr_Occurred()) SWIG_fail
;
40984 Py_INCREF(Py_None
); resultobj
= Py_None
;
40991 static PyObject
*_wrap_StdDialogButtonSizer_SetCancelButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40992 PyObject
*resultobj
;
40993 wxStdDialogButtonSizer
*arg1
= (wxStdDialogButtonSizer
*) 0 ;
40994 wxButton
*arg2
= (wxButton
*) 0 ;
40995 PyObject
* obj0
= 0 ;
40996 PyObject
* obj1
= 0 ;
40997 char *kwnames
[] = {
40998 (char *) "self",(char *) "button", NULL
41001 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StdDialogButtonSizer_SetCancelButton",kwnames
,&obj0
,&obj1
)) goto fail
;
41002 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStdDialogButtonSizer
, SWIG_POINTER_EXCEPTION
| 0);
41003 if (SWIG_arg_fail(1)) SWIG_fail
;
41004 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxButton
, SWIG_POINTER_EXCEPTION
| 0);
41005 if (SWIG_arg_fail(2)) SWIG_fail
;
41007 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41008 (arg1
)->SetCancelButton(arg2
);
41010 wxPyEndAllowThreads(__tstate
);
41011 if (PyErr_Occurred()) SWIG_fail
;
41013 Py_INCREF(Py_None
); resultobj
= Py_None
;
41020 static PyObject
*_wrap_StdDialogButtonSizer_GetAffirmativeButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41021 PyObject
*resultobj
;
41022 wxStdDialogButtonSizer
*arg1
= (wxStdDialogButtonSizer
*) 0 ;
41024 PyObject
* obj0
= 0 ;
41025 char *kwnames
[] = {
41026 (char *) "self", NULL
41029 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StdDialogButtonSizer_GetAffirmativeButton",kwnames
,&obj0
)) goto fail
;
41030 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStdDialogButtonSizer
, SWIG_POINTER_EXCEPTION
| 0);
41031 if (SWIG_arg_fail(1)) SWIG_fail
;
41033 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41034 result
= (wxButton
*)((wxStdDialogButtonSizer
const *)arg1
)->GetAffirmativeButton();
41036 wxPyEndAllowThreads(__tstate
);
41037 if (PyErr_Occurred()) SWIG_fail
;
41040 resultobj
= wxPyMake_wxObject(result
, 0);
41048 static PyObject
*_wrap_StdDialogButtonSizer_GetApplyButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41049 PyObject
*resultobj
;
41050 wxStdDialogButtonSizer
*arg1
= (wxStdDialogButtonSizer
*) 0 ;
41052 PyObject
* obj0
= 0 ;
41053 char *kwnames
[] = {
41054 (char *) "self", NULL
41057 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StdDialogButtonSizer_GetApplyButton",kwnames
,&obj0
)) goto fail
;
41058 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStdDialogButtonSizer
, SWIG_POINTER_EXCEPTION
| 0);
41059 if (SWIG_arg_fail(1)) SWIG_fail
;
41061 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41062 result
= (wxButton
*)((wxStdDialogButtonSizer
const *)arg1
)->GetApplyButton();
41064 wxPyEndAllowThreads(__tstate
);
41065 if (PyErr_Occurred()) SWIG_fail
;
41068 resultobj
= wxPyMake_wxObject(result
, 0);
41076 static PyObject
*_wrap_StdDialogButtonSizer_GetNegativeButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41077 PyObject
*resultobj
;
41078 wxStdDialogButtonSizer
*arg1
= (wxStdDialogButtonSizer
*) 0 ;
41080 PyObject
* obj0
= 0 ;
41081 char *kwnames
[] = {
41082 (char *) "self", NULL
41085 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StdDialogButtonSizer_GetNegativeButton",kwnames
,&obj0
)) goto fail
;
41086 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStdDialogButtonSizer
, SWIG_POINTER_EXCEPTION
| 0);
41087 if (SWIG_arg_fail(1)) SWIG_fail
;
41089 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41090 result
= (wxButton
*)((wxStdDialogButtonSizer
const *)arg1
)->GetNegativeButton();
41092 wxPyEndAllowThreads(__tstate
);
41093 if (PyErr_Occurred()) SWIG_fail
;
41096 resultobj
= wxPyMake_wxObject(result
, 0);
41104 static PyObject
*_wrap_StdDialogButtonSizer_GetCancelButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41105 PyObject
*resultobj
;
41106 wxStdDialogButtonSizer
*arg1
= (wxStdDialogButtonSizer
*) 0 ;
41108 PyObject
* obj0
= 0 ;
41109 char *kwnames
[] = {
41110 (char *) "self", NULL
41113 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StdDialogButtonSizer_GetCancelButton",kwnames
,&obj0
)) goto fail
;
41114 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStdDialogButtonSizer
, SWIG_POINTER_EXCEPTION
| 0);
41115 if (SWIG_arg_fail(1)) SWIG_fail
;
41117 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41118 result
= (wxButton
*)((wxStdDialogButtonSizer
const *)arg1
)->GetCancelButton();
41120 wxPyEndAllowThreads(__tstate
);
41121 if (PyErr_Occurred()) SWIG_fail
;
41124 resultobj
= wxPyMake_wxObject(result
, 0);
41132 static PyObject
*_wrap_StdDialogButtonSizer_GetHelpButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41133 PyObject
*resultobj
;
41134 wxStdDialogButtonSizer
*arg1
= (wxStdDialogButtonSizer
*) 0 ;
41136 PyObject
* obj0
= 0 ;
41137 char *kwnames
[] = {
41138 (char *) "self", NULL
41141 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StdDialogButtonSizer_GetHelpButton",kwnames
,&obj0
)) goto fail
;
41142 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStdDialogButtonSizer
, SWIG_POINTER_EXCEPTION
| 0);
41143 if (SWIG_arg_fail(1)) SWIG_fail
;
41145 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41146 result
= (wxButton
*)((wxStdDialogButtonSizer
const *)arg1
)->GetHelpButton();
41148 wxPyEndAllowThreads(__tstate
);
41149 if (PyErr_Occurred()) SWIG_fail
;
41152 resultobj
= wxPyMake_wxObject(result
, 0);
41160 static PyObject
* StdDialogButtonSizer_swigregister(PyObject
*, PyObject
*args
) {
41162 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
41163 SWIG_TypeClientData(SWIGTYPE_p_wxStdDialogButtonSizer
, obj
);
41165 return Py_BuildValue((char *)"");
41167 static PyObject
*_wrap_new_GBPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41168 PyObject
*resultobj
;
41169 int arg1
= (int) 0 ;
41170 int arg2
= (int) 0 ;
41171 wxGBPosition
*result
;
41172 PyObject
* obj0
= 0 ;
41173 PyObject
* obj1
= 0 ;
41174 char *kwnames
[] = {
41175 (char *) "row",(char *) "col", NULL
41178 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_GBPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
41181 arg1
= (int)(SWIG_As_int(obj0
));
41182 if (SWIG_arg_fail(1)) SWIG_fail
;
41187 arg2
= (int)(SWIG_As_int(obj1
));
41188 if (SWIG_arg_fail(2)) SWIG_fail
;
41192 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41193 result
= (wxGBPosition
*)new wxGBPosition(arg1
,arg2
);
41195 wxPyEndAllowThreads(__tstate
);
41196 if (PyErr_Occurred()) SWIG_fail
;
41198 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBPosition
, 1);
41205 static PyObject
*_wrap_GBPosition_GetRow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41206 PyObject
*resultobj
;
41207 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
41209 PyObject
* obj0
= 0 ;
41210 char *kwnames
[] = {
41211 (char *) "self", NULL
41214 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBPosition_GetRow",kwnames
,&obj0
)) goto fail
;
41215 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBPosition
, SWIG_POINTER_EXCEPTION
| 0);
41216 if (SWIG_arg_fail(1)) SWIG_fail
;
41218 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41219 result
= (int)((wxGBPosition
const *)arg1
)->GetRow();
41221 wxPyEndAllowThreads(__tstate
);
41222 if (PyErr_Occurred()) SWIG_fail
;
41225 resultobj
= SWIG_From_int((int)(result
));
41233 static PyObject
*_wrap_GBPosition_GetCol(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41234 PyObject
*resultobj
;
41235 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
41237 PyObject
* obj0
= 0 ;
41238 char *kwnames
[] = {
41239 (char *) "self", NULL
41242 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBPosition_GetCol",kwnames
,&obj0
)) goto fail
;
41243 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBPosition
, SWIG_POINTER_EXCEPTION
| 0);
41244 if (SWIG_arg_fail(1)) SWIG_fail
;
41246 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41247 result
= (int)((wxGBPosition
const *)arg1
)->GetCol();
41249 wxPyEndAllowThreads(__tstate
);
41250 if (PyErr_Occurred()) SWIG_fail
;
41253 resultobj
= SWIG_From_int((int)(result
));
41261 static PyObject
*_wrap_GBPosition_SetRow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41262 PyObject
*resultobj
;
41263 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
41265 PyObject
* obj0
= 0 ;
41266 PyObject
* obj1
= 0 ;
41267 char *kwnames
[] = {
41268 (char *) "self",(char *) "row", NULL
41271 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBPosition_SetRow",kwnames
,&obj0
,&obj1
)) goto fail
;
41272 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBPosition
, SWIG_POINTER_EXCEPTION
| 0);
41273 if (SWIG_arg_fail(1)) SWIG_fail
;
41275 arg2
= (int)(SWIG_As_int(obj1
));
41276 if (SWIG_arg_fail(2)) SWIG_fail
;
41279 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41280 (arg1
)->SetRow(arg2
);
41282 wxPyEndAllowThreads(__tstate
);
41283 if (PyErr_Occurred()) SWIG_fail
;
41285 Py_INCREF(Py_None
); resultobj
= Py_None
;
41292 static PyObject
*_wrap_GBPosition_SetCol(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41293 PyObject
*resultobj
;
41294 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
41296 PyObject
* obj0
= 0 ;
41297 PyObject
* obj1
= 0 ;
41298 char *kwnames
[] = {
41299 (char *) "self",(char *) "col", NULL
41302 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBPosition_SetCol",kwnames
,&obj0
,&obj1
)) goto fail
;
41303 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBPosition
, SWIG_POINTER_EXCEPTION
| 0);
41304 if (SWIG_arg_fail(1)) SWIG_fail
;
41306 arg2
= (int)(SWIG_As_int(obj1
));
41307 if (SWIG_arg_fail(2)) SWIG_fail
;
41310 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41311 (arg1
)->SetCol(arg2
);
41313 wxPyEndAllowThreads(__tstate
);
41314 if (PyErr_Occurred()) SWIG_fail
;
41316 Py_INCREF(Py_None
); resultobj
= Py_None
;
41323 static PyObject
*_wrap_GBPosition___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41324 PyObject
*resultobj
;
41325 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
41326 wxGBPosition
*arg2
= 0 ;
41328 wxGBPosition temp2
;
41329 PyObject
* obj0
= 0 ;
41330 PyObject
* obj1
= 0 ;
41331 char *kwnames
[] = {
41332 (char *) "self",(char *) "other", NULL
41335 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBPosition___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
41336 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBPosition
, SWIG_POINTER_EXCEPTION
| 0);
41337 if (SWIG_arg_fail(1)) SWIG_fail
;
41340 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
41343 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41344 result
= (bool)(arg1
)->operator ==((wxGBPosition
const &)*arg2
);
41346 wxPyEndAllowThreads(__tstate
);
41347 if (PyErr_Occurred()) SWIG_fail
;
41350 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
41358 static PyObject
*_wrap_GBPosition___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41359 PyObject
*resultobj
;
41360 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
41361 wxGBPosition
*arg2
= 0 ;
41363 wxGBPosition temp2
;
41364 PyObject
* obj0
= 0 ;
41365 PyObject
* obj1
= 0 ;
41366 char *kwnames
[] = {
41367 (char *) "self",(char *) "other", NULL
41370 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBPosition___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
41371 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBPosition
, SWIG_POINTER_EXCEPTION
| 0);
41372 if (SWIG_arg_fail(1)) SWIG_fail
;
41375 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
41378 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41379 result
= (bool)(arg1
)->operator !=((wxGBPosition
const &)*arg2
);
41381 wxPyEndAllowThreads(__tstate
);
41382 if (PyErr_Occurred()) SWIG_fail
;
41385 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
41393 static PyObject
*_wrap_GBPosition_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41394 PyObject
*resultobj
;
41395 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
41396 int arg2
= (int) 0 ;
41397 int arg3
= (int) 0 ;
41398 PyObject
* obj0
= 0 ;
41399 PyObject
* obj1
= 0 ;
41400 PyObject
* obj2
= 0 ;
41401 char *kwnames
[] = {
41402 (char *) "self",(char *) "row",(char *) "col", NULL
41405 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:GBPosition_Set",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
41406 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBPosition
, SWIG_POINTER_EXCEPTION
| 0);
41407 if (SWIG_arg_fail(1)) SWIG_fail
;
41410 arg2
= (int)(SWIG_As_int(obj1
));
41411 if (SWIG_arg_fail(2)) SWIG_fail
;
41416 arg3
= (int)(SWIG_As_int(obj2
));
41417 if (SWIG_arg_fail(3)) SWIG_fail
;
41421 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41422 wxGBPosition_Set(arg1
,arg2
,arg3
);
41424 wxPyEndAllowThreads(__tstate
);
41425 if (PyErr_Occurred()) SWIG_fail
;
41427 Py_INCREF(Py_None
); resultobj
= Py_None
;
41434 static PyObject
*_wrap_GBPosition_Get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41435 PyObject
*resultobj
;
41436 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
41438 PyObject
* obj0
= 0 ;
41439 char *kwnames
[] = {
41440 (char *) "self", NULL
41443 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBPosition_Get",kwnames
,&obj0
)) goto fail
;
41444 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBPosition
, SWIG_POINTER_EXCEPTION
| 0);
41445 if (SWIG_arg_fail(1)) SWIG_fail
;
41447 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41448 result
= (PyObject
*)wxGBPosition_Get(arg1
);
41450 wxPyEndAllowThreads(__tstate
);
41451 if (PyErr_Occurred()) SWIG_fail
;
41453 resultobj
= result
;
41460 static PyObject
* GBPosition_swigregister(PyObject
*, PyObject
*args
) {
41462 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
41463 SWIG_TypeClientData(SWIGTYPE_p_wxGBPosition
, obj
);
41465 return Py_BuildValue((char *)"");
41467 static PyObject
*_wrap_new_GBSpan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41468 PyObject
*resultobj
;
41469 int arg1
= (int) 1 ;
41470 int arg2
= (int) 1 ;
41472 PyObject
* obj0
= 0 ;
41473 PyObject
* obj1
= 0 ;
41474 char *kwnames
[] = {
41475 (char *) "rowspan",(char *) "colspan", NULL
41478 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_GBSpan",kwnames
,&obj0
,&obj1
)) goto fail
;
41481 arg1
= (int)(SWIG_As_int(obj0
));
41482 if (SWIG_arg_fail(1)) SWIG_fail
;
41487 arg2
= (int)(SWIG_As_int(obj1
));
41488 if (SWIG_arg_fail(2)) SWIG_fail
;
41492 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41493 result
= (wxGBSpan
*)new wxGBSpan(arg1
,arg2
);
41495 wxPyEndAllowThreads(__tstate
);
41496 if (PyErr_Occurred()) SWIG_fail
;
41498 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSpan
, 1);
41505 static PyObject
*_wrap_GBSpan_GetRowspan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41506 PyObject
*resultobj
;
41507 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
41509 PyObject
* obj0
= 0 ;
41510 char *kwnames
[] = {
41511 (char *) "self", NULL
41514 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBSpan_GetRowspan",kwnames
,&obj0
)) goto fail
;
41515 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBSpan
, SWIG_POINTER_EXCEPTION
| 0);
41516 if (SWIG_arg_fail(1)) SWIG_fail
;
41518 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41519 result
= (int)((wxGBSpan
const *)arg1
)->GetRowspan();
41521 wxPyEndAllowThreads(__tstate
);
41522 if (PyErr_Occurred()) SWIG_fail
;
41525 resultobj
= SWIG_From_int((int)(result
));
41533 static PyObject
*_wrap_GBSpan_GetColspan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41534 PyObject
*resultobj
;
41535 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
41537 PyObject
* obj0
= 0 ;
41538 char *kwnames
[] = {
41539 (char *) "self", NULL
41542 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBSpan_GetColspan",kwnames
,&obj0
)) goto fail
;
41543 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBSpan
, SWIG_POINTER_EXCEPTION
| 0);
41544 if (SWIG_arg_fail(1)) SWIG_fail
;
41546 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41547 result
= (int)((wxGBSpan
const *)arg1
)->GetColspan();
41549 wxPyEndAllowThreads(__tstate
);
41550 if (PyErr_Occurred()) SWIG_fail
;
41553 resultobj
= SWIG_From_int((int)(result
));
41561 static PyObject
*_wrap_GBSpan_SetRowspan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41562 PyObject
*resultobj
;
41563 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
41565 PyObject
* obj0
= 0 ;
41566 PyObject
* obj1
= 0 ;
41567 char *kwnames
[] = {
41568 (char *) "self",(char *) "rowspan", NULL
41571 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSpan_SetRowspan",kwnames
,&obj0
,&obj1
)) goto fail
;
41572 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBSpan
, SWIG_POINTER_EXCEPTION
| 0);
41573 if (SWIG_arg_fail(1)) SWIG_fail
;
41575 arg2
= (int)(SWIG_As_int(obj1
));
41576 if (SWIG_arg_fail(2)) SWIG_fail
;
41579 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41580 (arg1
)->SetRowspan(arg2
);
41582 wxPyEndAllowThreads(__tstate
);
41583 if (PyErr_Occurred()) SWIG_fail
;
41585 Py_INCREF(Py_None
); resultobj
= Py_None
;
41592 static PyObject
*_wrap_GBSpan_SetColspan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41593 PyObject
*resultobj
;
41594 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
41596 PyObject
* obj0
= 0 ;
41597 PyObject
* obj1
= 0 ;
41598 char *kwnames
[] = {
41599 (char *) "self",(char *) "colspan", NULL
41602 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSpan_SetColspan",kwnames
,&obj0
,&obj1
)) goto fail
;
41603 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBSpan
, SWIG_POINTER_EXCEPTION
| 0);
41604 if (SWIG_arg_fail(1)) SWIG_fail
;
41606 arg2
= (int)(SWIG_As_int(obj1
));
41607 if (SWIG_arg_fail(2)) SWIG_fail
;
41610 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41611 (arg1
)->SetColspan(arg2
);
41613 wxPyEndAllowThreads(__tstate
);
41614 if (PyErr_Occurred()) SWIG_fail
;
41616 Py_INCREF(Py_None
); resultobj
= Py_None
;
41623 static PyObject
*_wrap_GBSpan___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41624 PyObject
*resultobj
;
41625 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
41626 wxGBSpan
*arg2
= 0 ;
41629 PyObject
* obj0
= 0 ;
41630 PyObject
* obj1
= 0 ;
41631 char *kwnames
[] = {
41632 (char *) "self",(char *) "other", NULL
41635 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSpan___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
41636 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBSpan
, SWIG_POINTER_EXCEPTION
| 0);
41637 if (SWIG_arg_fail(1)) SWIG_fail
;
41640 if ( ! wxGBSpan_helper(obj1
, &arg2
)) SWIG_fail
;
41643 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41644 result
= (bool)(arg1
)->operator ==((wxGBSpan
const &)*arg2
);
41646 wxPyEndAllowThreads(__tstate
);
41647 if (PyErr_Occurred()) SWIG_fail
;
41650 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
41658 static PyObject
*_wrap_GBSpan___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41659 PyObject
*resultobj
;
41660 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
41661 wxGBSpan
*arg2
= 0 ;
41664 PyObject
* obj0
= 0 ;
41665 PyObject
* obj1
= 0 ;
41666 char *kwnames
[] = {
41667 (char *) "self",(char *) "other", NULL
41670 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSpan___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
41671 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBSpan
, SWIG_POINTER_EXCEPTION
| 0);
41672 if (SWIG_arg_fail(1)) SWIG_fail
;
41675 if ( ! wxGBSpan_helper(obj1
, &arg2
)) SWIG_fail
;
41678 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41679 result
= (bool)(arg1
)->operator !=((wxGBSpan
const &)*arg2
);
41681 wxPyEndAllowThreads(__tstate
);
41682 if (PyErr_Occurred()) SWIG_fail
;
41685 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
41693 static PyObject
*_wrap_GBSpan_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41694 PyObject
*resultobj
;
41695 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
41696 int arg2
= (int) 1 ;
41697 int arg3
= (int) 1 ;
41698 PyObject
* obj0
= 0 ;
41699 PyObject
* obj1
= 0 ;
41700 PyObject
* obj2
= 0 ;
41701 char *kwnames
[] = {
41702 (char *) "self",(char *) "rowspan",(char *) "colspan", NULL
41705 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:GBSpan_Set",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
41706 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBSpan
, SWIG_POINTER_EXCEPTION
| 0);
41707 if (SWIG_arg_fail(1)) SWIG_fail
;
41710 arg2
= (int)(SWIG_As_int(obj1
));
41711 if (SWIG_arg_fail(2)) SWIG_fail
;
41716 arg3
= (int)(SWIG_As_int(obj2
));
41717 if (SWIG_arg_fail(3)) SWIG_fail
;
41721 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41722 wxGBSpan_Set(arg1
,arg2
,arg3
);
41724 wxPyEndAllowThreads(__tstate
);
41725 if (PyErr_Occurred()) SWIG_fail
;
41727 Py_INCREF(Py_None
); resultobj
= Py_None
;
41734 static PyObject
*_wrap_GBSpan_Get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41735 PyObject
*resultobj
;
41736 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
41738 PyObject
* obj0
= 0 ;
41739 char *kwnames
[] = {
41740 (char *) "self", NULL
41743 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBSpan_Get",kwnames
,&obj0
)) goto fail
;
41744 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBSpan
, SWIG_POINTER_EXCEPTION
| 0);
41745 if (SWIG_arg_fail(1)) SWIG_fail
;
41747 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41748 result
= (PyObject
*)wxGBSpan_Get(arg1
);
41750 wxPyEndAllowThreads(__tstate
);
41751 if (PyErr_Occurred()) SWIG_fail
;
41753 resultobj
= result
;
41760 static PyObject
* GBSpan_swigregister(PyObject
*, PyObject
*args
) {
41762 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
41763 SWIG_TypeClientData(SWIGTYPE_p_wxGBSpan
, obj
);
41765 return Py_BuildValue((char *)"");
41767 static int _wrap_DefaultSpan_set(PyObject
*) {
41768 PyErr_SetString(PyExc_TypeError
,"Variable DefaultSpan is read-only.");
41773 static PyObject
*_wrap_DefaultSpan_get(void) {
41776 pyobj
= SWIG_NewPointerObj((void *)(&wxDefaultSpan
), SWIGTYPE_p_wxGBSpan
, 0);
41781 static PyObject
*_wrap_new_GBSizerItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41782 PyObject
*resultobj
;
41783 wxGBSizerItem
*result
;
41784 char *kwnames
[] = {
41788 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_GBSizerItem",kwnames
)) goto fail
;
41790 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41791 result
= (wxGBSizerItem
*)new wxGBSizerItem();
41793 wxPyEndAllowThreads(__tstate
);
41794 if (PyErr_Occurred()) SWIG_fail
;
41796 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 1);
41803 static PyObject
*_wrap_new_GBSizerItemWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41804 PyObject
*resultobj
;
41805 wxWindow
*arg1
= (wxWindow
*) 0 ;
41806 wxGBPosition
*arg2
= 0 ;
41807 wxGBSpan
*arg3
= 0 ;
41810 PyObject
*arg6
= (PyObject
*) NULL
;
41811 wxGBSizerItem
*result
;
41812 wxGBPosition temp2
;
41814 PyObject
* obj0
= 0 ;
41815 PyObject
* obj1
= 0 ;
41816 PyObject
* obj2
= 0 ;
41817 PyObject
* obj3
= 0 ;
41818 PyObject
* obj4
= 0 ;
41819 PyObject
* obj5
= 0 ;
41820 char *kwnames
[] = {
41821 (char *) "window",(char *) "pos",(char *) "span",(char *) "flag",(char *) "border",(char *) "userData", NULL
41824 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:new_GBSizerItemWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
41825 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
41826 if (SWIG_arg_fail(1)) SWIG_fail
;
41829 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
41833 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
41836 arg4
= (int)(SWIG_As_int(obj3
));
41837 if (SWIG_arg_fail(4)) SWIG_fail
;
41840 arg5
= (int)(SWIG_As_int(obj4
));
41841 if (SWIG_arg_fail(5)) SWIG_fail
;
41847 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41848 result
= (wxGBSizerItem
*)new_wxGBSizerItem(arg1
,(wxGBPosition
const &)*arg2
,(wxGBSpan
const &)*arg3
,arg4
,arg5
,arg6
);
41850 wxPyEndAllowThreads(__tstate
);
41851 if (PyErr_Occurred()) SWIG_fail
;
41853 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 1);
41860 static PyObject
*_wrap_new_GBSizerItemSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41861 PyObject
*resultobj
;
41862 wxSizer
*arg1
= (wxSizer
*) 0 ;
41863 wxGBPosition
*arg2
= 0 ;
41864 wxGBSpan
*arg3
= 0 ;
41867 PyObject
*arg6
= (PyObject
*) NULL
;
41868 wxGBSizerItem
*result
;
41869 wxGBPosition temp2
;
41871 PyObject
* obj0
= 0 ;
41872 PyObject
* obj1
= 0 ;
41873 PyObject
* obj2
= 0 ;
41874 PyObject
* obj3
= 0 ;
41875 PyObject
* obj4
= 0 ;
41876 PyObject
* obj5
= 0 ;
41877 char *kwnames
[] = {
41878 (char *) "sizer",(char *) "pos",(char *) "span",(char *) "flag",(char *) "border",(char *) "userData", NULL
41881 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:new_GBSizerItemSizer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
41882 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
41883 if (SWIG_arg_fail(1)) SWIG_fail
;
41886 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
41890 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
41893 arg4
= (int)(SWIG_As_int(obj3
));
41894 if (SWIG_arg_fail(4)) SWIG_fail
;
41897 arg5
= (int)(SWIG_As_int(obj4
));
41898 if (SWIG_arg_fail(5)) SWIG_fail
;
41904 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41905 result
= (wxGBSizerItem
*)new_wxGBSizerItem(arg1
,(wxGBPosition
const &)*arg2
,(wxGBSpan
const &)*arg3
,arg4
,arg5
,arg6
);
41907 wxPyEndAllowThreads(__tstate
);
41908 if (PyErr_Occurred()) SWIG_fail
;
41910 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 1);
41917 static PyObject
*_wrap_new_GBSizerItemSpacer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41918 PyObject
*resultobj
;
41921 wxGBPosition
*arg3
= 0 ;
41922 wxGBSpan
*arg4
= 0 ;
41925 PyObject
*arg7
= (PyObject
*) NULL
;
41926 wxGBSizerItem
*result
;
41927 wxGBPosition temp3
;
41929 PyObject
* obj0
= 0 ;
41930 PyObject
* obj1
= 0 ;
41931 PyObject
* obj2
= 0 ;
41932 PyObject
* obj3
= 0 ;
41933 PyObject
* obj4
= 0 ;
41934 PyObject
* obj5
= 0 ;
41935 PyObject
* obj6
= 0 ;
41936 char *kwnames
[] = {
41937 (char *) "width",(char *) "height",(char *) "pos",(char *) "span",(char *) "flag",(char *) "border",(char *) "userData", NULL
41940 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO|O:new_GBSizerItemSpacer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
41942 arg1
= (int)(SWIG_As_int(obj0
));
41943 if (SWIG_arg_fail(1)) SWIG_fail
;
41946 arg2
= (int)(SWIG_As_int(obj1
));
41947 if (SWIG_arg_fail(2)) SWIG_fail
;
41951 if ( ! wxGBPosition_helper(obj2
, &arg3
)) SWIG_fail
;
41955 if ( ! wxGBSpan_helper(obj3
, &arg4
)) SWIG_fail
;
41958 arg5
= (int)(SWIG_As_int(obj4
));
41959 if (SWIG_arg_fail(5)) SWIG_fail
;
41962 arg6
= (int)(SWIG_As_int(obj5
));
41963 if (SWIG_arg_fail(6)) SWIG_fail
;
41969 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41970 result
= (wxGBSizerItem
*)new_wxGBSizerItem(arg1
,arg2
,(wxGBPosition
const &)*arg3
,(wxGBSpan
const &)*arg4
,arg5
,arg6
,arg7
);
41972 wxPyEndAllowThreads(__tstate
);
41973 if (PyErr_Occurred()) SWIG_fail
;
41975 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 1);
41982 static PyObject
*_wrap_GBSizerItem_GetPos(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41983 PyObject
*resultobj
;
41984 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
41985 wxGBPosition result
;
41986 PyObject
* obj0
= 0 ;
41987 char *kwnames
[] = {
41988 (char *) "self", NULL
41991 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBSizerItem_GetPos",kwnames
,&obj0
)) goto fail
;
41992 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
41993 if (SWIG_arg_fail(1)) SWIG_fail
;
41995 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41996 result
= ((wxGBSizerItem
const *)arg1
)->GetPos();
41998 wxPyEndAllowThreads(__tstate
);
41999 if (PyErr_Occurred()) SWIG_fail
;
42002 wxGBPosition
* resultptr
;
42003 resultptr
= new wxGBPosition((wxGBPosition
&)(result
));
42004 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBPosition
, 1);
42012 static PyObject
*_wrap_GBSizerItem_GetSpan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42013 PyObject
*resultobj
;
42014 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
42016 PyObject
* obj0
= 0 ;
42017 char *kwnames
[] = {
42018 (char *) "self", NULL
42021 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBSizerItem_GetSpan",kwnames
,&obj0
)) goto fail
;
42022 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
42023 if (SWIG_arg_fail(1)) SWIG_fail
;
42025 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42026 result
= ((wxGBSizerItem
const *)arg1
)->GetSpan();
42028 wxPyEndAllowThreads(__tstate
);
42029 if (PyErr_Occurred()) SWIG_fail
;
42032 wxGBSpan
* resultptr
;
42033 resultptr
= new wxGBSpan((wxGBSpan
&)(result
));
42034 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBSpan
, 1);
42042 static PyObject
*_wrap_GBSizerItem_SetPos(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42043 PyObject
*resultobj
;
42044 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
42045 wxGBPosition
*arg2
= 0 ;
42047 wxGBPosition temp2
;
42048 PyObject
* obj0
= 0 ;
42049 PyObject
* obj1
= 0 ;
42050 char *kwnames
[] = {
42051 (char *) "self",(char *) "pos", NULL
42054 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSizerItem_SetPos",kwnames
,&obj0
,&obj1
)) goto fail
;
42055 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
42056 if (SWIG_arg_fail(1)) SWIG_fail
;
42059 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
42062 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42063 result
= (bool)(arg1
)->SetPos((wxGBPosition
const &)*arg2
);
42065 wxPyEndAllowThreads(__tstate
);
42066 if (PyErr_Occurred()) SWIG_fail
;
42069 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
42077 static PyObject
*_wrap_GBSizerItem_SetSpan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42078 PyObject
*resultobj
;
42079 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
42080 wxGBSpan
*arg2
= 0 ;
42083 PyObject
* obj0
= 0 ;
42084 PyObject
* obj1
= 0 ;
42085 char *kwnames
[] = {
42086 (char *) "self",(char *) "span", NULL
42089 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSizerItem_SetSpan",kwnames
,&obj0
,&obj1
)) goto fail
;
42090 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
42091 if (SWIG_arg_fail(1)) SWIG_fail
;
42094 if ( ! wxGBSpan_helper(obj1
, &arg2
)) SWIG_fail
;
42097 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42098 result
= (bool)(arg1
)->SetSpan((wxGBSpan
const &)*arg2
);
42100 wxPyEndAllowThreads(__tstate
);
42101 if (PyErr_Occurred()) SWIG_fail
;
42104 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
42112 static PyObject
*_wrap_GBSizerItem_Intersects(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42113 PyObject
*resultobj
;
42114 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
42115 wxGBSizerItem
*arg2
= 0 ;
42117 PyObject
* obj0
= 0 ;
42118 PyObject
* obj1
= 0 ;
42119 char *kwnames
[] = {
42120 (char *) "self",(char *) "other", NULL
42123 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSizerItem_Intersects",kwnames
,&obj0
,&obj1
)) goto fail
;
42124 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
42125 if (SWIG_arg_fail(1)) SWIG_fail
;
42127 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxGBSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
42128 if (SWIG_arg_fail(2)) SWIG_fail
;
42129 if (arg2
== NULL
) {
42130 SWIG_null_ref("wxGBSizerItem");
42132 if (SWIG_arg_fail(2)) SWIG_fail
;
42135 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42136 result
= (bool)(arg1
)->Intersects((wxGBSizerItem
const &)*arg2
);
42138 wxPyEndAllowThreads(__tstate
);
42139 if (PyErr_Occurred()) SWIG_fail
;
42142 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
42150 static PyObject
*_wrap_GBSizerItem_IntersectsPos(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42151 PyObject
*resultobj
;
42152 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
42153 wxGBPosition
*arg2
= 0 ;
42154 wxGBSpan
*arg3
= 0 ;
42156 wxGBPosition temp2
;
42158 PyObject
* obj0
= 0 ;
42159 PyObject
* obj1
= 0 ;
42160 PyObject
* obj2
= 0 ;
42161 char *kwnames
[] = {
42162 (char *) "self",(char *) "pos",(char *) "span", NULL
42165 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GBSizerItem_IntersectsPos",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
42166 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
42167 if (SWIG_arg_fail(1)) SWIG_fail
;
42170 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
42174 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
42177 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42178 result
= (bool)(arg1
)->Intersects((wxGBPosition
const &)*arg2
,(wxGBSpan
const &)*arg3
);
42180 wxPyEndAllowThreads(__tstate
);
42181 if (PyErr_Occurred()) SWIG_fail
;
42184 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
42192 static PyObject
*_wrap_GBSizerItem_GetEndPos(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42193 PyObject
*resultobj
;
42194 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
42195 wxGBPosition result
;
42196 PyObject
* obj0
= 0 ;
42197 char *kwnames
[] = {
42198 (char *) "self", NULL
42201 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBSizerItem_GetEndPos",kwnames
,&obj0
)) goto fail
;
42202 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
42203 if (SWIG_arg_fail(1)) SWIG_fail
;
42205 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42206 result
= wxGBSizerItem_GetEndPos(arg1
);
42208 wxPyEndAllowThreads(__tstate
);
42209 if (PyErr_Occurred()) SWIG_fail
;
42212 wxGBPosition
* resultptr
;
42213 resultptr
= new wxGBPosition((wxGBPosition
&)(result
));
42214 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBPosition
, 1);
42222 static PyObject
*_wrap_GBSizerItem_GetGBSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42223 PyObject
*resultobj
;
42224 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
42225 wxGridBagSizer
*result
;
42226 PyObject
* obj0
= 0 ;
42227 char *kwnames
[] = {
42228 (char *) "self", NULL
42231 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBSizerItem_GetGBSizer",kwnames
,&obj0
)) goto fail
;
42232 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
42233 if (SWIG_arg_fail(1)) SWIG_fail
;
42235 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42236 result
= (wxGridBagSizer
*)((wxGBSizerItem
const *)arg1
)->GetGBSizer();
42238 wxPyEndAllowThreads(__tstate
);
42239 if (PyErr_Occurred()) SWIG_fail
;
42241 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGridBagSizer
, 0);
42248 static PyObject
*_wrap_GBSizerItem_SetGBSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42249 PyObject
*resultobj
;
42250 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
42251 wxGridBagSizer
*arg2
= (wxGridBagSizer
*) 0 ;
42252 PyObject
* obj0
= 0 ;
42253 PyObject
* obj1
= 0 ;
42254 char *kwnames
[] = {
42255 (char *) "self",(char *) "sizer", NULL
42258 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSizerItem_SetGBSizer",kwnames
,&obj0
,&obj1
)) goto fail
;
42259 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
42260 if (SWIG_arg_fail(1)) SWIG_fail
;
42261 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
42262 if (SWIG_arg_fail(2)) SWIG_fail
;
42264 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42265 (arg1
)->SetGBSizer(arg2
);
42267 wxPyEndAllowThreads(__tstate
);
42268 if (PyErr_Occurred()) SWIG_fail
;
42270 Py_INCREF(Py_None
); resultobj
= Py_None
;
42277 static PyObject
* GBSizerItem_swigregister(PyObject
*, PyObject
*args
) {
42279 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
42280 SWIG_TypeClientData(SWIGTYPE_p_wxGBSizerItem
, obj
);
42282 return Py_BuildValue((char *)"");
42284 static PyObject
*_wrap_new_GridBagSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42285 PyObject
*resultobj
;
42286 int arg1
= (int) 0 ;
42287 int arg2
= (int) 0 ;
42288 wxGridBagSizer
*result
;
42289 PyObject
* obj0
= 0 ;
42290 PyObject
* obj1
= 0 ;
42291 char *kwnames
[] = {
42292 (char *) "vgap",(char *) "hgap", NULL
42295 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_GridBagSizer",kwnames
,&obj0
,&obj1
)) goto fail
;
42298 arg1
= (int)(SWIG_As_int(obj0
));
42299 if (SWIG_arg_fail(1)) SWIG_fail
;
42304 arg2
= (int)(SWIG_As_int(obj1
));
42305 if (SWIG_arg_fail(2)) SWIG_fail
;
42309 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42310 result
= (wxGridBagSizer
*)new wxGridBagSizer(arg1
,arg2
);
42312 wxPyEndAllowThreads(__tstate
);
42313 if (PyErr_Occurred()) SWIG_fail
;
42315 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGridBagSizer
, 1);
42322 static PyObject
*_wrap_GridBagSizer_Add(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42323 PyObject
*resultobj
;
42324 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
42325 PyObject
*arg2
= (PyObject
*) 0 ;
42326 wxGBPosition
*arg3
= 0 ;
42327 wxGBSpan
const &arg4_defvalue
= wxDefaultSpan
;
42328 wxGBSpan
*arg4
= (wxGBSpan
*) &arg4_defvalue
;
42329 int arg5
= (int) 0 ;
42330 int arg6
= (int) 0 ;
42331 PyObject
*arg7
= (PyObject
*) NULL
;
42332 wxGBSizerItem
*result
;
42333 wxGBPosition temp3
;
42335 PyObject
* obj0
= 0 ;
42336 PyObject
* obj1
= 0 ;
42337 PyObject
* obj2
= 0 ;
42338 PyObject
* obj3
= 0 ;
42339 PyObject
* obj4
= 0 ;
42340 PyObject
* obj5
= 0 ;
42341 PyObject
* obj6
= 0 ;
42342 char *kwnames
[] = {
42343 (char *) "self",(char *) "item",(char *) "pos",(char *) "span",(char *) "flag",(char *) "border",(char *) "userData", NULL
42346 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:GridBagSizer_Add",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
42347 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
42348 if (SWIG_arg_fail(1)) SWIG_fail
;
42352 if ( ! wxGBPosition_helper(obj2
, &arg3
)) SWIG_fail
;
42357 if ( ! wxGBSpan_helper(obj3
, &arg4
)) SWIG_fail
;
42362 arg5
= (int)(SWIG_As_int(obj4
));
42363 if (SWIG_arg_fail(5)) SWIG_fail
;
42368 arg6
= (int)(SWIG_As_int(obj5
));
42369 if (SWIG_arg_fail(6)) SWIG_fail
;
42376 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42377 result
= (wxGBSizerItem
*)wxGridBagSizer_Add(arg1
,arg2
,(wxGBPosition
const &)*arg3
,(wxGBSpan
const &)*arg4
,arg5
,arg6
,arg7
);
42379 wxPyEndAllowThreads(__tstate
);
42380 if (PyErr_Occurred()) SWIG_fail
;
42382 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 0);
42389 static PyObject
*_wrap_GridBagSizer_AddItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42390 PyObject
*resultobj
;
42391 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
42392 wxGBSizerItem
*arg2
= (wxGBSizerItem
*) 0 ;
42393 wxGBSizerItem
*result
;
42394 PyObject
* obj0
= 0 ;
42395 PyObject
* obj1
= 0 ;
42396 char *kwnames
[] = {
42397 (char *) "self",(char *) "item", NULL
42400 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridBagSizer_AddItem",kwnames
,&obj0
,&obj1
)) goto fail
;
42401 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
42402 if (SWIG_arg_fail(1)) SWIG_fail
;
42403 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxGBSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
42404 if (SWIG_arg_fail(2)) SWIG_fail
;
42406 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42407 result
= (wxGBSizerItem
*)(arg1
)->Add(arg2
);
42409 wxPyEndAllowThreads(__tstate
);
42410 if (PyErr_Occurred()) SWIG_fail
;
42412 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 0);
42419 static PyObject
*_wrap_GridBagSizer_GetCellSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42420 PyObject
*resultobj
;
42421 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
42425 PyObject
* obj0
= 0 ;
42426 PyObject
* obj1
= 0 ;
42427 PyObject
* obj2
= 0 ;
42428 char *kwnames
[] = {
42429 (char *) "self",(char *) "row",(char *) "col", NULL
42432 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GridBagSizer_GetCellSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
42433 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
42434 if (SWIG_arg_fail(1)) SWIG_fail
;
42436 arg2
= (int)(SWIG_As_int(obj1
));
42437 if (SWIG_arg_fail(2)) SWIG_fail
;
42440 arg3
= (int)(SWIG_As_int(obj2
));
42441 if (SWIG_arg_fail(3)) SWIG_fail
;
42444 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42445 result
= ((wxGridBagSizer
const *)arg1
)->GetCellSize(arg2
,arg3
);
42447 wxPyEndAllowThreads(__tstate
);
42448 if (PyErr_Occurred()) SWIG_fail
;
42451 wxSize
* resultptr
;
42452 resultptr
= new wxSize((wxSize
&)(result
));
42453 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
42461 static PyObject
*_wrap_GridBagSizer_GetEmptyCellSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42462 PyObject
*resultobj
;
42463 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
42465 PyObject
* obj0
= 0 ;
42466 char *kwnames
[] = {
42467 (char *) "self", NULL
42470 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridBagSizer_GetEmptyCellSize",kwnames
,&obj0
)) goto fail
;
42471 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
42472 if (SWIG_arg_fail(1)) SWIG_fail
;
42474 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42475 result
= ((wxGridBagSizer
const *)arg1
)->GetEmptyCellSize();
42477 wxPyEndAllowThreads(__tstate
);
42478 if (PyErr_Occurred()) SWIG_fail
;
42481 wxSize
* resultptr
;
42482 resultptr
= new wxSize((wxSize
&)(result
));
42483 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
42491 static PyObject
*_wrap_GridBagSizer_SetEmptyCellSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42492 PyObject
*resultobj
;
42493 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
42496 PyObject
* obj0
= 0 ;
42497 PyObject
* obj1
= 0 ;
42498 char *kwnames
[] = {
42499 (char *) "self",(char *) "sz", NULL
42502 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridBagSizer_SetEmptyCellSize",kwnames
,&obj0
,&obj1
)) goto fail
;
42503 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
42504 if (SWIG_arg_fail(1)) SWIG_fail
;
42507 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
42510 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42511 (arg1
)->SetEmptyCellSize((wxSize
const &)*arg2
);
42513 wxPyEndAllowThreads(__tstate
);
42514 if (PyErr_Occurred()) SWIG_fail
;
42516 Py_INCREF(Py_None
); resultobj
= Py_None
;
42523 static PyObject
*_wrap_GridBagSizer_GetItemPosition__SWIG_0(PyObject
*, PyObject
*args
) {
42524 PyObject
*resultobj
;
42525 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
42526 wxWindow
*arg2
= (wxWindow
*) 0 ;
42527 wxGBPosition result
;
42528 PyObject
* obj0
= 0 ;
42529 PyObject
* obj1
= 0 ;
42531 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_GetItemPosition",&obj0
,&obj1
)) goto fail
;
42532 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
42533 if (SWIG_arg_fail(1)) SWIG_fail
;
42534 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
42535 if (SWIG_arg_fail(2)) SWIG_fail
;
42537 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42538 result
= (arg1
)->GetItemPosition(arg2
);
42540 wxPyEndAllowThreads(__tstate
);
42541 if (PyErr_Occurred()) SWIG_fail
;
42544 wxGBPosition
* resultptr
;
42545 resultptr
= new wxGBPosition((wxGBPosition
&)(result
));
42546 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBPosition
, 1);
42554 static PyObject
*_wrap_GridBagSizer_GetItemPosition__SWIG_1(PyObject
*, PyObject
*args
) {
42555 PyObject
*resultobj
;
42556 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
42557 wxSizer
*arg2
= (wxSizer
*) 0 ;
42558 wxGBPosition result
;
42559 PyObject
* obj0
= 0 ;
42560 PyObject
* obj1
= 0 ;
42562 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_GetItemPosition",&obj0
,&obj1
)) goto fail
;
42563 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
42564 if (SWIG_arg_fail(1)) SWIG_fail
;
42565 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
42566 if (SWIG_arg_fail(2)) SWIG_fail
;
42568 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42569 result
= (arg1
)->GetItemPosition(arg2
);
42571 wxPyEndAllowThreads(__tstate
);
42572 if (PyErr_Occurred()) SWIG_fail
;
42575 wxGBPosition
* resultptr
;
42576 resultptr
= new wxGBPosition((wxGBPosition
&)(result
));
42577 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBPosition
, 1);
42585 static PyObject
*_wrap_GridBagSizer_GetItemPosition__SWIG_2(PyObject
*, PyObject
*args
) {
42586 PyObject
*resultobj
;
42587 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
42589 wxGBPosition result
;
42590 PyObject
* obj0
= 0 ;
42591 PyObject
* obj1
= 0 ;
42593 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_GetItemPosition",&obj0
,&obj1
)) goto fail
;
42594 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
42595 if (SWIG_arg_fail(1)) SWIG_fail
;
42597 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
42598 if (SWIG_arg_fail(2)) SWIG_fail
;
42601 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42602 result
= (arg1
)->GetItemPosition(arg2
);
42604 wxPyEndAllowThreads(__tstate
);
42605 if (PyErr_Occurred()) SWIG_fail
;
42608 wxGBPosition
* resultptr
;
42609 resultptr
= new wxGBPosition((wxGBPosition
&)(result
));
42610 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBPosition
, 1);
42618 static PyObject
*_wrap_GridBagSizer_GetItemPosition(PyObject
*self
, PyObject
*args
) {
42623 argc
= PyObject_Length(args
);
42624 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
42625 argv
[ii
] = PyTuple_GetItem(args
,ii
);
42631 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
42641 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
42649 return _wrap_GridBagSizer_GetItemPosition__SWIG_0(self
,args
);
42657 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
42667 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxSizer
, 0) == -1) {
42675 return _wrap_GridBagSizer_GetItemPosition__SWIG_1(self
,args
);
42683 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
42691 _v
= SWIG_Check_unsigned_SS_long(argv
[1]);
42693 return _wrap_GridBagSizer_GetItemPosition__SWIG_2(self
,args
);
42698 PyErr_SetString(PyExc_NotImplementedError
,"No matching function for overloaded 'GridBagSizer_GetItemPosition'");
42703 static PyObject
*_wrap_GridBagSizer_SetItemPosition__SWIG_0(PyObject
*, PyObject
*args
) {
42704 PyObject
*resultobj
;
42705 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
42706 wxWindow
*arg2
= (wxWindow
*) 0 ;
42707 wxGBPosition
*arg3
= 0 ;
42709 wxGBPosition temp3
;
42710 PyObject
* obj0
= 0 ;
42711 PyObject
* obj1
= 0 ;
42712 PyObject
* obj2
= 0 ;
42714 if(!PyArg_ParseTuple(args
,(char *)"OOO:GridBagSizer_SetItemPosition",&obj0
,&obj1
,&obj2
)) goto fail
;
42715 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
42716 if (SWIG_arg_fail(1)) SWIG_fail
;
42717 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
42718 if (SWIG_arg_fail(2)) SWIG_fail
;
42721 if ( ! wxGBPosition_helper(obj2
, &arg3
)) SWIG_fail
;
42724 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42725 result
= (bool)(arg1
)->SetItemPosition(arg2
,(wxGBPosition
const &)*arg3
);
42727 wxPyEndAllowThreads(__tstate
);
42728 if (PyErr_Occurred()) SWIG_fail
;
42731 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
42739 static PyObject
*_wrap_GridBagSizer_SetItemPosition__SWIG_1(PyObject
*, PyObject
*args
) {
42740 PyObject
*resultobj
;
42741 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
42742 wxSizer
*arg2
= (wxSizer
*) 0 ;
42743 wxGBPosition
*arg3
= 0 ;
42745 wxGBPosition temp3
;
42746 PyObject
* obj0
= 0 ;
42747 PyObject
* obj1
= 0 ;
42748 PyObject
* obj2
= 0 ;
42750 if(!PyArg_ParseTuple(args
,(char *)"OOO:GridBagSizer_SetItemPosition",&obj0
,&obj1
,&obj2
)) goto fail
;
42751 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
42752 if (SWIG_arg_fail(1)) SWIG_fail
;
42753 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
42754 if (SWIG_arg_fail(2)) SWIG_fail
;
42757 if ( ! wxGBPosition_helper(obj2
, &arg3
)) SWIG_fail
;
42760 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42761 result
= (bool)(arg1
)->SetItemPosition(arg2
,(wxGBPosition
const &)*arg3
);
42763 wxPyEndAllowThreads(__tstate
);
42764 if (PyErr_Occurred()) SWIG_fail
;
42767 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
42775 static PyObject
*_wrap_GridBagSizer_SetItemPosition__SWIG_2(PyObject
*, PyObject
*args
) {
42776 PyObject
*resultobj
;
42777 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
42779 wxGBPosition
*arg3
= 0 ;
42781 wxGBPosition temp3
;
42782 PyObject
* obj0
= 0 ;
42783 PyObject
* obj1
= 0 ;
42784 PyObject
* obj2
= 0 ;
42786 if(!PyArg_ParseTuple(args
,(char *)"OOO:GridBagSizer_SetItemPosition",&obj0
,&obj1
,&obj2
)) goto fail
;
42787 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
42788 if (SWIG_arg_fail(1)) SWIG_fail
;
42790 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
42791 if (SWIG_arg_fail(2)) SWIG_fail
;
42795 if ( ! wxGBPosition_helper(obj2
, &arg3
)) SWIG_fail
;
42798 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42799 result
= (bool)(arg1
)->SetItemPosition(arg2
,(wxGBPosition
const &)*arg3
);
42801 wxPyEndAllowThreads(__tstate
);
42802 if (PyErr_Occurred()) SWIG_fail
;
42805 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
42813 static PyObject
*_wrap_GridBagSizer_SetItemPosition(PyObject
*self
, PyObject
*args
) {
42818 argc
= PyObject_Length(args
);
42819 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
42820 argv
[ii
] = PyTuple_GetItem(args
,ii
);
42826 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
42836 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
42845 _v
= wxPySimple_typecheck(argv
[2], wxT("wxGBPosition"), 2);
42848 return _wrap_GridBagSizer_SetItemPosition__SWIG_0(self
,args
);
42857 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
42867 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxSizer
, 0) == -1) {
42876 _v
= wxPySimple_typecheck(argv
[2], wxT("wxGBPosition"), 2);
42879 return _wrap_GridBagSizer_SetItemPosition__SWIG_1(self
,args
);
42888 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
42896 _v
= SWIG_Check_unsigned_SS_long(argv
[1]);
42899 _v
= wxPySimple_typecheck(argv
[2], wxT("wxGBPosition"), 2);
42902 return _wrap_GridBagSizer_SetItemPosition__SWIG_2(self
,args
);
42908 PyErr_SetString(PyExc_NotImplementedError
,"No matching function for overloaded 'GridBagSizer_SetItemPosition'");
42913 static PyObject
*_wrap_GridBagSizer_GetItemSpan__SWIG_0(PyObject
*, PyObject
*args
) {
42914 PyObject
*resultobj
;
42915 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
42916 wxWindow
*arg2
= (wxWindow
*) 0 ;
42918 PyObject
* obj0
= 0 ;
42919 PyObject
* obj1
= 0 ;
42921 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_GetItemSpan",&obj0
,&obj1
)) goto fail
;
42922 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
42923 if (SWIG_arg_fail(1)) SWIG_fail
;
42924 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
42925 if (SWIG_arg_fail(2)) SWIG_fail
;
42927 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42928 result
= (arg1
)->GetItemSpan(arg2
);
42930 wxPyEndAllowThreads(__tstate
);
42931 if (PyErr_Occurred()) SWIG_fail
;
42934 wxGBSpan
* resultptr
;
42935 resultptr
= new wxGBSpan((wxGBSpan
&)(result
));
42936 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBSpan
, 1);
42944 static PyObject
*_wrap_GridBagSizer_GetItemSpan__SWIG_1(PyObject
*, PyObject
*args
) {
42945 PyObject
*resultobj
;
42946 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
42947 wxSizer
*arg2
= (wxSizer
*) 0 ;
42949 PyObject
* obj0
= 0 ;
42950 PyObject
* obj1
= 0 ;
42952 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_GetItemSpan",&obj0
,&obj1
)) goto fail
;
42953 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
42954 if (SWIG_arg_fail(1)) SWIG_fail
;
42955 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
42956 if (SWIG_arg_fail(2)) SWIG_fail
;
42958 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42959 result
= (arg1
)->GetItemSpan(arg2
);
42961 wxPyEndAllowThreads(__tstate
);
42962 if (PyErr_Occurred()) SWIG_fail
;
42965 wxGBSpan
* resultptr
;
42966 resultptr
= new wxGBSpan((wxGBSpan
&)(result
));
42967 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBSpan
, 1);
42975 static PyObject
*_wrap_GridBagSizer_GetItemSpan__SWIG_2(PyObject
*, PyObject
*args
) {
42976 PyObject
*resultobj
;
42977 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
42980 PyObject
* obj0
= 0 ;
42981 PyObject
* obj1
= 0 ;
42983 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_GetItemSpan",&obj0
,&obj1
)) goto fail
;
42984 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
42985 if (SWIG_arg_fail(1)) SWIG_fail
;
42987 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
42988 if (SWIG_arg_fail(2)) SWIG_fail
;
42991 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42992 result
= (arg1
)->GetItemSpan(arg2
);
42994 wxPyEndAllowThreads(__tstate
);
42995 if (PyErr_Occurred()) SWIG_fail
;
42998 wxGBSpan
* resultptr
;
42999 resultptr
= new wxGBSpan((wxGBSpan
&)(result
));
43000 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBSpan
, 1);
43008 static PyObject
*_wrap_GridBagSizer_GetItemSpan(PyObject
*self
, PyObject
*args
) {
43013 argc
= PyObject_Length(args
);
43014 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
43015 argv
[ii
] = PyTuple_GetItem(args
,ii
);
43021 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
43031 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
43039 return _wrap_GridBagSizer_GetItemSpan__SWIG_0(self
,args
);
43047 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
43057 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxSizer
, 0) == -1) {
43065 return _wrap_GridBagSizer_GetItemSpan__SWIG_1(self
,args
);
43073 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
43081 _v
= SWIG_Check_unsigned_SS_long(argv
[1]);
43083 return _wrap_GridBagSizer_GetItemSpan__SWIG_2(self
,args
);
43088 PyErr_SetString(PyExc_NotImplementedError
,"No matching function for overloaded 'GridBagSizer_GetItemSpan'");
43093 static PyObject
*_wrap_GridBagSizer_SetItemSpan__SWIG_0(PyObject
*, PyObject
*args
) {
43094 PyObject
*resultobj
;
43095 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
43096 wxWindow
*arg2
= (wxWindow
*) 0 ;
43097 wxGBSpan
*arg3
= 0 ;
43100 PyObject
* obj0
= 0 ;
43101 PyObject
* obj1
= 0 ;
43102 PyObject
* obj2
= 0 ;
43104 if(!PyArg_ParseTuple(args
,(char *)"OOO:GridBagSizer_SetItemSpan",&obj0
,&obj1
,&obj2
)) goto fail
;
43105 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
43106 if (SWIG_arg_fail(1)) SWIG_fail
;
43107 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
43108 if (SWIG_arg_fail(2)) SWIG_fail
;
43111 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
43114 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43115 result
= (bool)(arg1
)->SetItemSpan(arg2
,(wxGBSpan
const &)*arg3
);
43117 wxPyEndAllowThreads(__tstate
);
43118 if (PyErr_Occurred()) SWIG_fail
;
43121 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
43129 static PyObject
*_wrap_GridBagSizer_SetItemSpan__SWIG_1(PyObject
*, PyObject
*args
) {
43130 PyObject
*resultobj
;
43131 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
43132 wxSizer
*arg2
= (wxSizer
*) 0 ;
43133 wxGBSpan
*arg3
= 0 ;
43136 PyObject
* obj0
= 0 ;
43137 PyObject
* obj1
= 0 ;
43138 PyObject
* obj2
= 0 ;
43140 if(!PyArg_ParseTuple(args
,(char *)"OOO:GridBagSizer_SetItemSpan",&obj0
,&obj1
,&obj2
)) goto fail
;
43141 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
43142 if (SWIG_arg_fail(1)) SWIG_fail
;
43143 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
43144 if (SWIG_arg_fail(2)) SWIG_fail
;
43147 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
43150 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43151 result
= (bool)(arg1
)->SetItemSpan(arg2
,(wxGBSpan
const &)*arg3
);
43153 wxPyEndAllowThreads(__tstate
);
43154 if (PyErr_Occurred()) SWIG_fail
;
43157 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
43165 static PyObject
*_wrap_GridBagSizer_SetItemSpan__SWIG_2(PyObject
*, PyObject
*args
) {
43166 PyObject
*resultobj
;
43167 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
43169 wxGBSpan
*arg3
= 0 ;
43172 PyObject
* obj0
= 0 ;
43173 PyObject
* obj1
= 0 ;
43174 PyObject
* obj2
= 0 ;
43176 if(!PyArg_ParseTuple(args
,(char *)"OOO:GridBagSizer_SetItemSpan",&obj0
,&obj1
,&obj2
)) goto fail
;
43177 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
43178 if (SWIG_arg_fail(1)) SWIG_fail
;
43180 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
43181 if (SWIG_arg_fail(2)) SWIG_fail
;
43185 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
43188 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43189 result
= (bool)(arg1
)->SetItemSpan(arg2
,(wxGBSpan
const &)*arg3
);
43191 wxPyEndAllowThreads(__tstate
);
43192 if (PyErr_Occurred()) SWIG_fail
;
43195 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
43203 static PyObject
*_wrap_GridBagSizer_SetItemSpan(PyObject
*self
, PyObject
*args
) {
43208 argc
= PyObject_Length(args
);
43209 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
43210 argv
[ii
] = PyTuple_GetItem(args
,ii
);
43216 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
43226 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
43235 _v
= wxPySimple_typecheck(argv
[2], wxT("wxGBSpan"), 2);
43238 return _wrap_GridBagSizer_SetItemSpan__SWIG_0(self
,args
);
43247 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
43257 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxSizer
, 0) == -1) {
43266 _v
= wxPySimple_typecheck(argv
[2], wxT("wxGBSpan"), 2);
43269 return _wrap_GridBagSizer_SetItemSpan__SWIG_1(self
,args
);
43278 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
43286 _v
= SWIG_Check_unsigned_SS_long(argv
[1]);
43289 _v
= wxPySimple_typecheck(argv
[2], wxT("wxGBSpan"), 2);
43292 return _wrap_GridBagSizer_SetItemSpan__SWIG_2(self
,args
);
43298 PyErr_SetString(PyExc_NotImplementedError
,"No matching function for overloaded 'GridBagSizer_SetItemSpan'");
43303 static PyObject
*_wrap_GridBagSizer_FindItem__SWIG_0(PyObject
*, PyObject
*args
) {
43304 PyObject
*resultobj
;
43305 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
43306 wxWindow
*arg2
= (wxWindow
*) 0 ;
43307 wxGBSizerItem
*result
;
43308 PyObject
* obj0
= 0 ;
43309 PyObject
* obj1
= 0 ;
43311 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_FindItem",&obj0
,&obj1
)) goto fail
;
43312 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
43313 if (SWIG_arg_fail(1)) SWIG_fail
;
43314 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
43315 if (SWIG_arg_fail(2)) SWIG_fail
;
43317 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43318 result
= (wxGBSizerItem
*)(arg1
)->FindItem(arg2
);
43320 wxPyEndAllowThreads(__tstate
);
43321 if (PyErr_Occurred()) SWIG_fail
;
43323 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 0);
43330 static PyObject
*_wrap_GridBagSizer_FindItem__SWIG_1(PyObject
*, PyObject
*args
) {
43331 PyObject
*resultobj
;
43332 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
43333 wxSizer
*arg2
= (wxSizer
*) 0 ;
43334 wxGBSizerItem
*result
;
43335 PyObject
* obj0
= 0 ;
43336 PyObject
* obj1
= 0 ;
43338 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_FindItem",&obj0
,&obj1
)) goto fail
;
43339 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
43340 if (SWIG_arg_fail(1)) SWIG_fail
;
43341 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
43342 if (SWIG_arg_fail(2)) SWIG_fail
;
43344 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43345 result
= (wxGBSizerItem
*)(arg1
)->FindItem(arg2
);
43347 wxPyEndAllowThreads(__tstate
);
43348 if (PyErr_Occurred()) SWIG_fail
;
43350 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 0);
43357 static PyObject
*_wrap_GridBagSizer_FindItem(PyObject
*self
, PyObject
*args
) {
43362 argc
= PyObject_Length(args
);
43363 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
43364 argv
[ii
] = PyTuple_GetItem(args
,ii
);
43370 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
43380 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
43388 return _wrap_GridBagSizer_FindItem__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) {
43414 return _wrap_GridBagSizer_FindItem__SWIG_1(self
,args
);
43419 PyErr_SetString(PyExc_NotImplementedError
,"No matching function for overloaded 'GridBagSizer_FindItem'");
43424 static PyObject
*_wrap_GridBagSizer_FindItemAtPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
43425 PyObject
*resultobj
;
43426 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
43427 wxGBPosition
*arg2
= 0 ;
43428 wxGBSizerItem
*result
;
43429 wxGBPosition temp2
;
43430 PyObject
* obj0
= 0 ;
43431 PyObject
* obj1
= 0 ;
43432 char *kwnames
[] = {
43433 (char *) "self",(char *) "pos", NULL
43436 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridBagSizer_FindItemAtPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
43437 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
43438 if (SWIG_arg_fail(1)) SWIG_fail
;
43441 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
43444 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43445 result
= (wxGBSizerItem
*)(arg1
)->FindItemAtPosition((wxGBPosition
const &)*arg2
);
43447 wxPyEndAllowThreads(__tstate
);
43448 if (PyErr_Occurred()) SWIG_fail
;
43450 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 0);
43457 static PyObject
*_wrap_GridBagSizer_FindItemAtPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
43458 PyObject
*resultobj
;
43459 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
43460 wxPoint
*arg2
= 0 ;
43461 wxGBSizerItem
*result
;
43463 PyObject
* obj0
= 0 ;
43464 PyObject
* obj1
= 0 ;
43465 char *kwnames
[] = {
43466 (char *) "self",(char *) "pt", NULL
43469 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridBagSizer_FindItemAtPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
43470 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
43471 if (SWIG_arg_fail(1)) SWIG_fail
;
43474 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
43477 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43478 result
= (wxGBSizerItem
*)(arg1
)->FindItemAtPoint((wxPoint
const &)*arg2
);
43480 wxPyEndAllowThreads(__tstate
);
43481 if (PyErr_Occurred()) SWIG_fail
;
43483 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 0);
43490 static PyObject
*_wrap_GridBagSizer_CheckForIntersection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
43491 PyObject
*resultobj
;
43492 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
43493 wxGBSizerItem
*arg2
= (wxGBSizerItem
*) 0 ;
43494 wxGBSizerItem
*arg3
= (wxGBSizerItem
*) NULL
;
43496 PyObject
* obj0
= 0 ;
43497 PyObject
* obj1
= 0 ;
43498 PyObject
* obj2
= 0 ;
43499 char *kwnames
[] = {
43500 (char *) "self",(char *) "item",(char *) "excludeItem", NULL
43503 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:GridBagSizer_CheckForIntersection",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
43504 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
43505 if (SWIG_arg_fail(1)) SWIG_fail
;
43506 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxGBSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
43507 if (SWIG_arg_fail(2)) SWIG_fail
;
43509 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxGBSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
43510 if (SWIG_arg_fail(3)) SWIG_fail
;
43513 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43514 result
= (bool)(arg1
)->CheckForIntersection(arg2
,arg3
);
43516 wxPyEndAllowThreads(__tstate
);
43517 if (PyErr_Occurred()) SWIG_fail
;
43520 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
43528 static PyObject
*_wrap_GridBagSizer_CheckForIntersectionPos(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
43529 PyObject
*resultobj
;
43530 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
43531 wxGBPosition
*arg2
= 0 ;
43532 wxGBSpan
*arg3
= 0 ;
43533 wxGBSizerItem
*arg4
= (wxGBSizerItem
*) NULL
;
43535 wxGBPosition temp2
;
43537 PyObject
* obj0
= 0 ;
43538 PyObject
* obj1
= 0 ;
43539 PyObject
* obj2
= 0 ;
43540 PyObject
* obj3
= 0 ;
43541 char *kwnames
[] = {
43542 (char *) "self",(char *) "pos",(char *) "span",(char *) "excludeItem", NULL
43545 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:GridBagSizer_CheckForIntersectionPos",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
43546 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
43547 if (SWIG_arg_fail(1)) SWIG_fail
;
43550 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
43554 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
43557 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxGBSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
43558 if (SWIG_arg_fail(4)) SWIG_fail
;
43561 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43562 result
= (bool)(arg1
)->CheckForIntersection((wxGBPosition
const &)*arg2
,(wxGBSpan
const &)*arg3
,arg4
);
43564 wxPyEndAllowThreads(__tstate
);
43565 if (PyErr_Occurred()) SWIG_fail
;
43568 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
43576 static PyObject
* GridBagSizer_swigregister(PyObject
*, PyObject
*args
) {
43578 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
43579 SWIG_TypeClientData(SWIGTYPE_p_wxGridBagSizer
, obj
);
43581 return Py_BuildValue((char *)"");
43583 static PyObject
*_wrap_IndividualLayoutConstraint_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
43584 PyObject
*resultobj
;
43585 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
43586 wxRelationship arg2
;
43587 wxWindow
*arg3
= (wxWindow
*) 0 ;
43589 int arg5
= (int) 0 ;
43590 int arg6
= (int) wxLAYOUT_DEFAULT_MARGIN
;
43591 PyObject
* obj0
= 0 ;
43592 PyObject
* obj1
= 0 ;
43593 PyObject
* obj2
= 0 ;
43594 PyObject
* obj3
= 0 ;
43595 PyObject
* obj4
= 0 ;
43596 PyObject
* obj5
= 0 ;
43597 char *kwnames
[] = {
43598 (char *) "self",(char *) "rel",(char *) "otherW",(char *) "otherE",(char *) "val",(char *) "marg", NULL
43601 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:IndividualLayoutConstraint_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
43602 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
43603 if (SWIG_arg_fail(1)) SWIG_fail
;
43605 arg2
= (wxRelationship
)(SWIG_As_int(obj1
));
43606 if (SWIG_arg_fail(2)) SWIG_fail
;
43608 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
43609 if (SWIG_arg_fail(3)) SWIG_fail
;
43611 arg4
= (wxEdge
)(SWIG_As_int(obj3
));
43612 if (SWIG_arg_fail(4)) SWIG_fail
;
43616 arg5
= (int)(SWIG_As_int(obj4
));
43617 if (SWIG_arg_fail(5)) SWIG_fail
;
43622 arg6
= (int)(SWIG_As_int(obj5
));
43623 if (SWIG_arg_fail(6)) SWIG_fail
;
43627 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43628 (arg1
)->Set((wxRelationship
)arg2
,arg3
,(wxEdge
)arg4
,arg5
,arg6
);
43630 wxPyEndAllowThreads(__tstate
);
43631 if (PyErr_Occurred()) SWIG_fail
;
43633 Py_INCREF(Py_None
); resultobj
= Py_None
;
43640 static PyObject
*_wrap_IndividualLayoutConstraint_LeftOf(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
43641 PyObject
*resultobj
;
43642 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
43643 wxWindow
*arg2
= (wxWindow
*) 0 ;
43644 int arg3
= (int) 0 ;
43645 PyObject
* obj0
= 0 ;
43646 PyObject
* obj1
= 0 ;
43647 PyObject
* obj2
= 0 ;
43648 char *kwnames
[] = {
43649 (char *) "self",(char *) "sibling",(char *) "marg", NULL
43652 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:IndividualLayoutConstraint_LeftOf",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
43653 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
43654 if (SWIG_arg_fail(1)) SWIG_fail
;
43655 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
43656 if (SWIG_arg_fail(2)) SWIG_fail
;
43659 arg3
= (int)(SWIG_As_int(obj2
));
43660 if (SWIG_arg_fail(3)) SWIG_fail
;
43664 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43665 (arg1
)->LeftOf(arg2
,arg3
);
43667 wxPyEndAllowThreads(__tstate
);
43668 if (PyErr_Occurred()) SWIG_fail
;
43670 Py_INCREF(Py_None
); resultobj
= Py_None
;
43677 static PyObject
*_wrap_IndividualLayoutConstraint_RightOf(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
43678 PyObject
*resultobj
;
43679 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
43680 wxWindow
*arg2
= (wxWindow
*) 0 ;
43681 int arg3
= (int) 0 ;
43682 PyObject
* obj0
= 0 ;
43683 PyObject
* obj1
= 0 ;
43684 PyObject
* obj2
= 0 ;
43685 char *kwnames
[] = {
43686 (char *) "self",(char *) "sibling",(char *) "marg", NULL
43689 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:IndividualLayoutConstraint_RightOf",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
43690 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
43691 if (SWIG_arg_fail(1)) SWIG_fail
;
43692 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
43693 if (SWIG_arg_fail(2)) SWIG_fail
;
43696 arg3
= (int)(SWIG_As_int(obj2
));
43697 if (SWIG_arg_fail(3)) SWIG_fail
;
43701 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43702 (arg1
)->RightOf(arg2
,arg3
);
43704 wxPyEndAllowThreads(__tstate
);
43705 if (PyErr_Occurred()) SWIG_fail
;
43707 Py_INCREF(Py_None
); resultobj
= Py_None
;
43714 static PyObject
*_wrap_IndividualLayoutConstraint_Above(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
43715 PyObject
*resultobj
;
43716 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
43717 wxWindow
*arg2
= (wxWindow
*) 0 ;
43718 int arg3
= (int) 0 ;
43719 PyObject
* obj0
= 0 ;
43720 PyObject
* obj1
= 0 ;
43721 PyObject
* obj2
= 0 ;
43722 char *kwnames
[] = {
43723 (char *) "self",(char *) "sibling",(char *) "marg", NULL
43726 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:IndividualLayoutConstraint_Above",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
43727 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
43728 if (SWIG_arg_fail(1)) SWIG_fail
;
43729 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
43730 if (SWIG_arg_fail(2)) SWIG_fail
;
43733 arg3
= (int)(SWIG_As_int(obj2
));
43734 if (SWIG_arg_fail(3)) SWIG_fail
;
43738 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43739 (arg1
)->Above(arg2
,arg3
);
43741 wxPyEndAllowThreads(__tstate
);
43742 if (PyErr_Occurred()) SWIG_fail
;
43744 Py_INCREF(Py_None
); resultobj
= Py_None
;
43751 static PyObject
*_wrap_IndividualLayoutConstraint_Below(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
43752 PyObject
*resultobj
;
43753 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
43754 wxWindow
*arg2
= (wxWindow
*) 0 ;
43755 int arg3
= (int) 0 ;
43756 PyObject
* obj0
= 0 ;
43757 PyObject
* obj1
= 0 ;
43758 PyObject
* obj2
= 0 ;
43759 char *kwnames
[] = {
43760 (char *) "self",(char *) "sibling",(char *) "marg", NULL
43763 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:IndividualLayoutConstraint_Below",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
43764 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
43765 if (SWIG_arg_fail(1)) SWIG_fail
;
43766 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
43767 if (SWIG_arg_fail(2)) SWIG_fail
;
43770 arg3
= (int)(SWIG_As_int(obj2
));
43771 if (SWIG_arg_fail(3)) SWIG_fail
;
43775 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43776 (arg1
)->Below(arg2
,arg3
);
43778 wxPyEndAllowThreads(__tstate
);
43779 if (PyErr_Occurred()) SWIG_fail
;
43781 Py_INCREF(Py_None
); resultobj
= Py_None
;
43788 static PyObject
*_wrap_IndividualLayoutConstraint_SameAs(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
43789 PyObject
*resultobj
;
43790 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
43791 wxWindow
*arg2
= (wxWindow
*) 0 ;
43793 int arg4
= (int) 0 ;
43794 PyObject
* obj0
= 0 ;
43795 PyObject
* obj1
= 0 ;
43796 PyObject
* obj2
= 0 ;
43797 PyObject
* obj3
= 0 ;
43798 char *kwnames
[] = {
43799 (char *) "self",(char *) "otherW",(char *) "edge",(char *) "marg", NULL
43802 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:IndividualLayoutConstraint_SameAs",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
43803 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
43804 if (SWIG_arg_fail(1)) SWIG_fail
;
43805 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
43806 if (SWIG_arg_fail(2)) SWIG_fail
;
43808 arg3
= (wxEdge
)(SWIG_As_int(obj2
));
43809 if (SWIG_arg_fail(3)) SWIG_fail
;
43813 arg4
= (int)(SWIG_As_int(obj3
));
43814 if (SWIG_arg_fail(4)) SWIG_fail
;
43818 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43819 (arg1
)->SameAs(arg2
,(wxEdge
)arg3
,arg4
);
43821 wxPyEndAllowThreads(__tstate
);
43822 if (PyErr_Occurred()) SWIG_fail
;
43824 Py_INCREF(Py_None
); resultobj
= Py_None
;
43831 static PyObject
*_wrap_IndividualLayoutConstraint_PercentOf(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
43832 PyObject
*resultobj
;
43833 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
43834 wxWindow
*arg2
= (wxWindow
*) 0 ;
43837 PyObject
* obj0
= 0 ;
43838 PyObject
* obj1
= 0 ;
43839 PyObject
* obj2
= 0 ;
43840 PyObject
* obj3
= 0 ;
43841 char *kwnames
[] = {
43842 (char *) "self",(char *) "otherW",(char *) "wh",(char *) "per", NULL
43845 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:IndividualLayoutConstraint_PercentOf",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
43846 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
43847 if (SWIG_arg_fail(1)) SWIG_fail
;
43848 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
43849 if (SWIG_arg_fail(2)) SWIG_fail
;
43851 arg3
= (wxEdge
)(SWIG_As_int(obj2
));
43852 if (SWIG_arg_fail(3)) SWIG_fail
;
43855 arg4
= (int)(SWIG_As_int(obj3
));
43856 if (SWIG_arg_fail(4)) SWIG_fail
;
43859 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43860 (arg1
)->PercentOf(arg2
,(wxEdge
)arg3
,arg4
);
43862 wxPyEndAllowThreads(__tstate
);
43863 if (PyErr_Occurred()) SWIG_fail
;
43865 Py_INCREF(Py_None
); resultobj
= Py_None
;
43872 static PyObject
*_wrap_IndividualLayoutConstraint_Absolute(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
43873 PyObject
*resultobj
;
43874 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
43876 PyObject
* obj0
= 0 ;
43877 PyObject
* obj1
= 0 ;
43878 char *kwnames
[] = {
43879 (char *) "self",(char *) "val", NULL
43882 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_Absolute",kwnames
,&obj0
,&obj1
)) goto fail
;
43883 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
43884 if (SWIG_arg_fail(1)) SWIG_fail
;
43886 arg2
= (int)(SWIG_As_int(obj1
));
43887 if (SWIG_arg_fail(2)) SWIG_fail
;
43890 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43891 (arg1
)->Absolute(arg2
);
43893 wxPyEndAllowThreads(__tstate
);
43894 if (PyErr_Occurred()) SWIG_fail
;
43896 Py_INCREF(Py_None
); resultobj
= Py_None
;
43903 static PyObject
*_wrap_IndividualLayoutConstraint_Unconstrained(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
43904 PyObject
*resultobj
;
43905 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
43906 PyObject
* obj0
= 0 ;
43907 char *kwnames
[] = {
43908 (char *) "self", NULL
43911 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_Unconstrained",kwnames
,&obj0
)) goto fail
;
43912 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
43913 if (SWIG_arg_fail(1)) SWIG_fail
;
43915 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43916 (arg1
)->Unconstrained();
43918 wxPyEndAllowThreads(__tstate
);
43919 if (PyErr_Occurred()) SWIG_fail
;
43921 Py_INCREF(Py_None
); resultobj
= Py_None
;
43928 static PyObject
*_wrap_IndividualLayoutConstraint_AsIs(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
43929 PyObject
*resultobj
;
43930 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
43931 PyObject
* obj0
= 0 ;
43932 char *kwnames
[] = {
43933 (char *) "self", NULL
43936 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_AsIs",kwnames
,&obj0
)) goto fail
;
43937 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
43938 if (SWIG_arg_fail(1)) SWIG_fail
;
43940 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43943 wxPyEndAllowThreads(__tstate
);
43944 if (PyErr_Occurred()) SWIG_fail
;
43946 Py_INCREF(Py_None
); resultobj
= Py_None
;
43953 static PyObject
*_wrap_IndividualLayoutConstraint_GetOtherWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
43954 PyObject
*resultobj
;
43955 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
43957 PyObject
* obj0
= 0 ;
43958 char *kwnames
[] = {
43959 (char *) "self", NULL
43962 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetOtherWindow",kwnames
,&obj0
)) goto fail
;
43963 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
43964 if (SWIG_arg_fail(1)) SWIG_fail
;
43966 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43967 result
= (wxWindow
*)(arg1
)->GetOtherWindow();
43969 wxPyEndAllowThreads(__tstate
);
43970 if (PyErr_Occurred()) SWIG_fail
;
43973 resultobj
= wxPyMake_wxObject(result
, 0);
43981 static PyObject
*_wrap_IndividualLayoutConstraint_GetMyEdge(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
43982 PyObject
*resultobj
;
43983 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
43985 PyObject
* obj0
= 0 ;
43986 char *kwnames
[] = {
43987 (char *) "self", NULL
43990 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetMyEdge",kwnames
,&obj0
)) goto fail
;
43991 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
43992 if (SWIG_arg_fail(1)) SWIG_fail
;
43994 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43995 result
= (wxEdge
)((wxIndividualLayoutConstraint
const *)arg1
)->GetMyEdge();
43997 wxPyEndAllowThreads(__tstate
);
43998 if (PyErr_Occurred()) SWIG_fail
;
44000 resultobj
= SWIG_From_int((result
));
44007 static PyObject
*_wrap_IndividualLayoutConstraint_SetEdge(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44008 PyObject
*resultobj
;
44009 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
44011 PyObject
* obj0
= 0 ;
44012 PyObject
* obj1
= 0 ;
44013 char *kwnames
[] = {
44014 (char *) "self",(char *) "which", NULL
44017 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_SetEdge",kwnames
,&obj0
,&obj1
)) goto fail
;
44018 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
44019 if (SWIG_arg_fail(1)) SWIG_fail
;
44021 arg2
= (wxEdge
)(SWIG_As_int(obj1
));
44022 if (SWIG_arg_fail(2)) SWIG_fail
;
44025 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44026 (arg1
)->SetEdge((wxEdge
)arg2
);
44028 wxPyEndAllowThreads(__tstate
);
44029 if (PyErr_Occurred()) SWIG_fail
;
44031 Py_INCREF(Py_None
); resultobj
= Py_None
;
44038 static PyObject
*_wrap_IndividualLayoutConstraint_SetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44039 PyObject
*resultobj
;
44040 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
44042 PyObject
* obj0
= 0 ;
44043 PyObject
* obj1
= 0 ;
44044 char *kwnames
[] = {
44045 (char *) "self",(char *) "v", NULL
44048 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
44049 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
44050 if (SWIG_arg_fail(1)) SWIG_fail
;
44052 arg2
= (int)(SWIG_As_int(obj1
));
44053 if (SWIG_arg_fail(2)) SWIG_fail
;
44056 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44057 (arg1
)->SetValue(arg2
);
44059 wxPyEndAllowThreads(__tstate
);
44060 if (PyErr_Occurred()) SWIG_fail
;
44062 Py_INCREF(Py_None
); resultobj
= Py_None
;
44069 static PyObject
*_wrap_IndividualLayoutConstraint_GetMargin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44070 PyObject
*resultobj
;
44071 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
44073 PyObject
* obj0
= 0 ;
44074 char *kwnames
[] = {
44075 (char *) "self", NULL
44078 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetMargin",kwnames
,&obj0
)) goto fail
;
44079 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
44080 if (SWIG_arg_fail(1)) SWIG_fail
;
44082 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44083 result
= (int)(arg1
)->GetMargin();
44085 wxPyEndAllowThreads(__tstate
);
44086 if (PyErr_Occurred()) SWIG_fail
;
44089 resultobj
= SWIG_From_int((int)(result
));
44097 static PyObject
*_wrap_IndividualLayoutConstraint_SetMargin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44098 PyObject
*resultobj
;
44099 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
44101 PyObject
* obj0
= 0 ;
44102 PyObject
* obj1
= 0 ;
44103 char *kwnames
[] = {
44104 (char *) "self",(char *) "m", NULL
44107 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_SetMargin",kwnames
,&obj0
,&obj1
)) goto fail
;
44108 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
44109 if (SWIG_arg_fail(1)) SWIG_fail
;
44111 arg2
= (int)(SWIG_As_int(obj1
));
44112 if (SWIG_arg_fail(2)) SWIG_fail
;
44115 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44116 (arg1
)->SetMargin(arg2
);
44118 wxPyEndAllowThreads(__tstate
);
44119 if (PyErr_Occurred()) SWIG_fail
;
44121 Py_INCREF(Py_None
); resultobj
= Py_None
;
44128 static PyObject
*_wrap_IndividualLayoutConstraint_GetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44129 PyObject
*resultobj
;
44130 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
44132 PyObject
* obj0
= 0 ;
44133 char *kwnames
[] = {
44134 (char *) "self", NULL
44137 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetValue",kwnames
,&obj0
)) goto fail
;
44138 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
44139 if (SWIG_arg_fail(1)) SWIG_fail
;
44141 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44142 result
= (int)((wxIndividualLayoutConstraint
const *)arg1
)->GetValue();
44144 wxPyEndAllowThreads(__tstate
);
44145 if (PyErr_Occurred()) SWIG_fail
;
44148 resultobj
= SWIG_From_int((int)(result
));
44156 static PyObject
*_wrap_IndividualLayoutConstraint_GetPercent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44157 PyObject
*resultobj
;
44158 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
44160 PyObject
* obj0
= 0 ;
44161 char *kwnames
[] = {
44162 (char *) "self", NULL
44165 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetPercent",kwnames
,&obj0
)) goto fail
;
44166 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
44167 if (SWIG_arg_fail(1)) SWIG_fail
;
44169 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44170 result
= (int)((wxIndividualLayoutConstraint
const *)arg1
)->GetPercent();
44172 wxPyEndAllowThreads(__tstate
);
44173 if (PyErr_Occurred()) SWIG_fail
;
44176 resultobj
= SWIG_From_int((int)(result
));
44184 static PyObject
*_wrap_IndividualLayoutConstraint_GetOtherEdge(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44185 PyObject
*resultobj
;
44186 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
44188 PyObject
* obj0
= 0 ;
44189 char *kwnames
[] = {
44190 (char *) "self", NULL
44193 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetOtherEdge",kwnames
,&obj0
)) goto fail
;
44194 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
44195 if (SWIG_arg_fail(1)) SWIG_fail
;
44197 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44198 result
= (int)((wxIndividualLayoutConstraint
const *)arg1
)->GetOtherEdge();
44200 wxPyEndAllowThreads(__tstate
);
44201 if (PyErr_Occurred()) SWIG_fail
;
44204 resultobj
= SWIG_From_int((int)(result
));
44212 static PyObject
*_wrap_IndividualLayoutConstraint_GetDone(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44213 PyObject
*resultobj
;
44214 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
44216 PyObject
* obj0
= 0 ;
44217 char *kwnames
[] = {
44218 (char *) "self", NULL
44221 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetDone",kwnames
,&obj0
)) goto fail
;
44222 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
44223 if (SWIG_arg_fail(1)) SWIG_fail
;
44225 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44226 result
= (bool)((wxIndividualLayoutConstraint
const *)arg1
)->GetDone();
44228 wxPyEndAllowThreads(__tstate
);
44229 if (PyErr_Occurred()) SWIG_fail
;
44232 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
44240 static PyObject
*_wrap_IndividualLayoutConstraint_SetDone(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44241 PyObject
*resultobj
;
44242 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
44244 PyObject
* obj0
= 0 ;
44245 PyObject
* obj1
= 0 ;
44246 char *kwnames
[] = {
44247 (char *) "self",(char *) "d", NULL
44250 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_SetDone",kwnames
,&obj0
,&obj1
)) goto fail
;
44251 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
44252 if (SWIG_arg_fail(1)) SWIG_fail
;
44254 arg2
= (bool)(SWIG_As_bool(obj1
));
44255 if (SWIG_arg_fail(2)) SWIG_fail
;
44258 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44259 (arg1
)->SetDone(arg2
);
44261 wxPyEndAllowThreads(__tstate
);
44262 if (PyErr_Occurred()) SWIG_fail
;
44264 Py_INCREF(Py_None
); resultobj
= Py_None
;
44271 static PyObject
*_wrap_IndividualLayoutConstraint_GetRelationship(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44272 PyObject
*resultobj
;
44273 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
44274 wxRelationship result
;
44275 PyObject
* obj0
= 0 ;
44276 char *kwnames
[] = {
44277 (char *) "self", NULL
44280 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetRelationship",kwnames
,&obj0
)) goto fail
;
44281 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
44282 if (SWIG_arg_fail(1)) SWIG_fail
;
44284 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44285 result
= (wxRelationship
)(arg1
)->GetRelationship();
44287 wxPyEndAllowThreads(__tstate
);
44288 if (PyErr_Occurred()) SWIG_fail
;
44290 resultobj
= SWIG_From_int((result
));
44297 static PyObject
*_wrap_IndividualLayoutConstraint_SetRelationship(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44298 PyObject
*resultobj
;
44299 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
44300 wxRelationship arg2
;
44301 PyObject
* obj0
= 0 ;
44302 PyObject
* obj1
= 0 ;
44303 char *kwnames
[] = {
44304 (char *) "self",(char *) "r", NULL
44307 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_SetRelationship",kwnames
,&obj0
,&obj1
)) goto fail
;
44308 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
44309 if (SWIG_arg_fail(1)) SWIG_fail
;
44311 arg2
= (wxRelationship
)(SWIG_As_int(obj1
));
44312 if (SWIG_arg_fail(2)) SWIG_fail
;
44315 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44316 (arg1
)->SetRelationship((wxRelationship
)arg2
);
44318 wxPyEndAllowThreads(__tstate
);
44319 if (PyErr_Occurred()) SWIG_fail
;
44321 Py_INCREF(Py_None
); resultobj
= Py_None
;
44328 static PyObject
*_wrap_IndividualLayoutConstraint_ResetIfWin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44329 PyObject
*resultobj
;
44330 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
44331 wxWindow
*arg2
= (wxWindow
*) 0 ;
44333 PyObject
* obj0
= 0 ;
44334 PyObject
* obj1
= 0 ;
44335 char *kwnames
[] = {
44336 (char *) "self",(char *) "otherW", NULL
44339 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_ResetIfWin",kwnames
,&obj0
,&obj1
)) goto fail
;
44340 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
44341 if (SWIG_arg_fail(1)) SWIG_fail
;
44342 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
44343 if (SWIG_arg_fail(2)) SWIG_fail
;
44345 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44346 result
= (bool)(arg1
)->ResetIfWin(arg2
);
44348 wxPyEndAllowThreads(__tstate
);
44349 if (PyErr_Occurred()) SWIG_fail
;
44352 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
44360 static PyObject
*_wrap_IndividualLayoutConstraint_SatisfyConstraint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44361 PyObject
*resultobj
;
44362 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
44363 wxLayoutConstraints
*arg2
= (wxLayoutConstraints
*) 0 ;
44364 wxWindow
*arg3
= (wxWindow
*) 0 ;
44366 PyObject
* obj0
= 0 ;
44367 PyObject
* obj1
= 0 ;
44368 PyObject
* obj2
= 0 ;
44369 char *kwnames
[] = {
44370 (char *) "self",(char *) "constraints",(char *) "win", NULL
44373 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:IndividualLayoutConstraint_SatisfyConstraint",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
44374 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
44375 if (SWIG_arg_fail(1)) SWIG_fail
;
44376 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxLayoutConstraints
, SWIG_POINTER_EXCEPTION
| 0);
44377 if (SWIG_arg_fail(2)) SWIG_fail
;
44378 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
44379 if (SWIG_arg_fail(3)) SWIG_fail
;
44381 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44382 result
= (bool)(arg1
)->SatisfyConstraint(arg2
,arg3
);
44384 wxPyEndAllowThreads(__tstate
);
44385 if (PyErr_Occurred()) SWIG_fail
;
44388 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
44396 static PyObject
*_wrap_IndividualLayoutConstraint_GetEdge(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44397 PyObject
*resultobj
;
44398 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
44400 wxWindow
*arg3
= (wxWindow
*) 0 ;
44401 wxWindow
*arg4
= (wxWindow
*) 0 ;
44403 PyObject
* obj0
= 0 ;
44404 PyObject
* obj1
= 0 ;
44405 PyObject
* obj2
= 0 ;
44406 PyObject
* obj3
= 0 ;
44407 char *kwnames
[] = {
44408 (char *) "self",(char *) "which",(char *) "thisWin",(char *) "other", NULL
44411 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:IndividualLayoutConstraint_GetEdge",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
44412 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
44413 if (SWIG_arg_fail(1)) SWIG_fail
;
44415 arg2
= (wxEdge
)(SWIG_As_int(obj1
));
44416 if (SWIG_arg_fail(2)) SWIG_fail
;
44418 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
44419 if (SWIG_arg_fail(3)) SWIG_fail
;
44420 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
44421 if (SWIG_arg_fail(4)) SWIG_fail
;
44423 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44424 result
= (int)((wxIndividualLayoutConstraint
const *)arg1
)->GetEdge((wxEdge
)arg2
,arg3
,arg4
);
44426 wxPyEndAllowThreads(__tstate
);
44427 if (PyErr_Occurred()) SWIG_fail
;
44430 resultobj
= SWIG_From_int((int)(result
));
44438 static PyObject
* IndividualLayoutConstraint_swigregister(PyObject
*, PyObject
*args
) {
44440 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
44441 SWIG_TypeClientData(SWIGTYPE_p_wxIndividualLayoutConstraint
, obj
);
44443 return Py_BuildValue((char *)"");
44445 static PyObject
*_wrap_LayoutConstraints_left_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44446 PyObject
*resultobj
;
44447 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
44448 wxIndividualLayoutConstraint
*result
;
44449 PyObject
* obj0
= 0 ;
44450 char *kwnames
[] = {
44451 (char *) "self", NULL
44454 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_left_get",kwnames
,&obj0
)) goto fail
;
44455 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLayoutConstraints
, SWIG_POINTER_EXCEPTION
| 0);
44456 if (SWIG_arg_fail(1)) SWIG_fail
;
44457 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->left
);
44459 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
44466 static PyObject
*_wrap_LayoutConstraints_top_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44467 PyObject
*resultobj
;
44468 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
44469 wxIndividualLayoutConstraint
*result
;
44470 PyObject
* obj0
= 0 ;
44471 char *kwnames
[] = {
44472 (char *) "self", NULL
44475 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_top_get",kwnames
,&obj0
)) goto fail
;
44476 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLayoutConstraints
, SWIG_POINTER_EXCEPTION
| 0);
44477 if (SWIG_arg_fail(1)) SWIG_fail
;
44478 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->top
);
44480 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
44487 static PyObject
*_wrap_LayoutConstraints_right_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44488 PyObject
*resultobj
;
44489 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
44490 wxIndividualLayoutConstraint
*result
;
44491 PyObject
* obj0
= 0 ;
44492 char *kwnames
[] = {
44493 (char *) "self", NULL
44496 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_right_get",kwnames
,&obj0
)) goto fail
;
44497 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLayoutConstraints
, SWIG_POINTER_EXCEPTION
| 0);
44498 if (SWIG_arg_fail(1)) SWIG_fail
;
44499 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->right
);
44501 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
44508 static PyObject
*_wrap_LayoutConstraints_bottom_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44509 PyObject
*resultobj
;
44510 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
44511 wxIndividualLayoutConstraint
*result
;
44512 PyObject
* obj0
= 0 ;
44513 char *kwnames
[] = {
44514 (char *) "self", NULL
44517 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_bottom_get",kwnames
,&obj0
)) goto fail
;
44518 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLayoutConstraints
, SWIG_POINTER_EXCEPTION
| 0);
44519 if (SWIG_arg_fail(1)) SWIG_fail
;
44520 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->bottom
);
44522 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
44529 static PyObject
*_wrap_LayoutConstraints_width_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44530 PyObject
*resultobj
;
44531 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
44532 wxIndividualLayoutConstraint
*result
;
44533 PyObject
* obj0
= 0 ;
44534 char *kwnames
[] = {
44535 (char *) "self", NULL
44538 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_width_get",kwnames
,&obj0
)) goto fail
;
44539 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLayoutConstraints
, SWIG_POINTER_EXCEPTION
| 0);
44540 if (SWIG_arg_fail(1)) SWIG_fail
;
44541 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->width
);
44543 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
44550 static PyObject
*_wrap_LayoutConstraints_height_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44551 PyObject
*resultobj
;
44552 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
44553 wxIndividualLayoutConstraint
*result
;
44554 PyObject
* obj0
= 0 ;
44555 char *kwnames
[] = {
44556 (char *) "self", NULL
44559 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_height_get",kwnames
,&obj0
)) goto fail
;
44560 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLayoutConstraints
, SWIG_POINTER_EXCEPTION
| 0);
44561 if (SWIG_arg_fail(1)) SWIG_fail
;
44562 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->height
);
44564 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
44571 static PyObject
*_wrap_LayoutConstraints_centreX_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44572 PyObject
*resultobj
;
44573 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
44574 wxIndividualLayoutConstraint
*result
;
44575 PyObject
* obj0
= 0 ;
44576 char *kwnames
[] = {
44577 (char *) "self", NULL
44580 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_centreX_get",kwnames
,&obj0
)) goto fail
;
44581 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLayoutConstraints
, SWIG_POINTER_EXCEPTION
| 0);
44582 if (SWIG_arg_fail(1)) SWIG_fail
;
44583 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->centreX
);
44585 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
44592 static PyObject
*_wrap_LayoutConstraints_centreY_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44593 PyObject
*resultobj
;
44594 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
44595 wxIndividualLayoutConstraint
*result
;
44596 PyObject
* obj0
= 0 ;
44597 char *kwnames
[] = {
44598 (char *) "self", NULL
44601 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_centreY_get",kwnames
,&obj0
)) goto fail
;
44602 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLayoutConstraints
, SWIG_POINTER_EXCEPTION
| 0);
44603 if (SWIG_arg_fail(1)) SWIG_fail
;
44604 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->centreY
);
44606 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
44613 static PyObject
*_wrap_new_LayoutConstraints(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44614 PyObject
*resultobj
;
44615 wxLayoutConstraints
*result
;
44616 char *kwnames
[] = {
44620 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_LayoutConstraints",kwnames
)) goto fail
;
44622 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44623 result
= (wxLayoutConstraints
*)new wxLayoutConstraints();
44625 wxPyEndAllowThreads(__tstate
);
44626 if (PyErr_Occurred()) SWIG_fail
;
44628 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLayoutConstraints
, 1);
44635 static PyObject
*_wrap_LayoutConstraints_SatisfyConstraints(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44636 PyObject
*resultobj
;
44637 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
44638 wxWindow
*arg2
= (wxWindow
*) 0 ;
44639 int *arg3
= (int *) 0 ;
44643 PyObject
* obj0
= 0 ;
44644 PyObject
* obj1
= 0 ;
44645 char *kwnames
[] = {
44646 (char *) "self",(char *) "win", NULL
44649 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
44650 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LayoutConstraints_SatisfyConstraints",kwnames
,&obj0
,&obj1
)) goto fail
;
44651 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLayoutConstraints
, SWIG_POINTER_EXCEPTION
| 0);
44652 if (SWIG_arg_fail(1)) SWIG_fail
;
44653 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
44654 if (SWIG_arg_fail(2)) SWIG_fail
;
44656 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44657 result
= (bool)(arg1
)->SatisfyConstraints(arg2
,arg3
);
44659 wxPyEndAllowThreads(__tstate
);
44660 if (PyErr_Occurred()) SWIG_fail
;
44663 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
44665 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
44666 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
44673 static PyObject
*_wrap_LayoutConstraints_AreSatisfied(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44674 PyObject
*resultobj
;
44675 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
44677 PyObject
* obj0
= 0 ;
44678 char *kwnames
[] = {
44679 (char *) "self", NULL
44682 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_AreSatisfied",kwnames
,&obj0
)) goto fail
;
44683 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLayoutConstraints
, SWIG_POINTER_EXCEPTION
| 0);
44684 if (SWIG_arg_fail(1)) SWIG_fail
;
44686 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44687 result
= (bool)((wxLayoutConstraints
const *)arg1
)->AreSatisfied();
44689 wxPyEndAllowThreads(__tstate
);
44690 if (PyErr_Occurred()) SWIG_fail
;
44693 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
44701 static PyObject
* LayoutConstraints_swigregister(PyObject
*, PyObject
*args
) {
44703 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
44704 SWIG_TypeClientData(SWIGTYPE_p_wxLayoutConstraints
, obj
);
44706 return Py_BuildValue((char *)"");
44708 static PyMethodDef SwigMethods
[] = {
44709 { (char *)"_wxPySetDictionary", __wxPySetDictionary
, METH_VARARGS
, NULL
},
44710 { (char *)"_wxPyFixStockObjects", __wxPyFixStockObjects
, METH_VARARGS
, NULL
},
44711 { (char *)"Object_GetClassName", (PyCFunction
) _wrap_Object_GetClassName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44712 { (char *)"Object_Destroy", (PyCFunction
) _wrap_Object_Destroy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44713 { (char *)"Object_swigregister", Object_swigregister
, METH_VARARGS
, NULL
},
44714 { (char *)"Size_width_set", (PyCFunction
) _wrap_Size_width_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44715 { (char *)"Size_width_get", (PyCFunction
) _wrap_Size_width_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44716 { (char *)"Size_height_set", (PyCFunction
) _wrap_Size_height_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44717 { (char *)"Size_height_get", (PyCFunction
) _wrap_Size_height_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44718 { (char *)"new_Size", (PyCFunction
) _wrap_new_Size
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44719 { (char *)"delete_Size", (PyCFunction
) _wrap_delete_Size
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44720 { (char *)"Size___eq__", (PyCFunction
) _wrap_Size___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44721 { (char *)"Size___ne__", (PyCFunction
) _wrap_Size___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44722 { (char *)"Size___add__", (PyCFunction
) _wrap_Size___add__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44723 { (char *)"Size___sub__", (PyCFunction
) _wrap_Size___sub__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44724 { (char *)"Size_IncTo", (PyCFunction
) _wrap_Size_IncTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44725 { (char *)"Size_DecTo", (PyCFunction
) _wrap_Size_DecTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44726 { (char *)"Size_Set", (PyCFunction
) _wrap_Size_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44727 { (char *)"Size_SetWidth", (PyCFunction
) _wrap_Size_SetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44728 { (char *)"Size_SetHeight", (PyCFunction
) _wrap_Size_SetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44729 { (char *)"Size_GetWidth", (PyCFunction
) _wrap_Size_GetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44730 { (char *)"Size_GetHeight", (PyCFunction
) _wrap_Size_GetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44731 { (char *)"Size_IsFullySpecified", (PyCFunction
) _wrap_Size_IsFullySpecified
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44732 { (char *)"Size_SetDefaults", (PyCFunction
) _wrap_Size_SetDefaults
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44733 { (char *)"Size_Get", (PyCFunction
) _wrap_Size_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44734 { (char *)"Size_swigregister", Size_swigregister
, METH_VARARGS
, NULL
},
44735 { (char *)"RealPoint_x_set", (PyCFunction
) _wrap_RealPoint_x_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44736 { (char *)"RealPoint_x_get", (PyCFunction
) _wrap_RealPoint_x_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44737 { (char *)"RealPoint_y_set", (PyCFunction
) _wrap_RealPoint_y_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44738 { (char *)"RealPoint_y_get", (PyCFunction
) _wrap_RealPoint_y_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44739 { (char *)"new_RealPoint", (PyCFunction
) _wrap_new_RealPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44740 { (char *)"delete_RealPoint", (PyCFunction
) _wrap_delete_RealPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44741 { (char *)"RealPoint___eq__", (PyCFunction
) _wrap_RealPoint___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44742 { (char *)"RealPoint___ne__", (PyCFunction
) _wrap_RealPoint___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44743 { (char *)"RealPoint___add__", (PyCFunction
) _wrap_RealPoint___add__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44744 { (char *)"RealPoint___sub__", (PyCFunction
) _wrap_RealPoint___sub__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44745 { (char *)"RealPoint_Set", (PyCFunction
) _wrap_RealPoint_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44746 { (char *)"RealPoint_Get", (PyCFunction
) _wrap_RealPoint_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44747 { (char *)"RealPoint_swigregister", RealPoint_swigregister
, METH_VARARGS
, NULL
},
44748 { (char *)"Point_x_set", (PyCFunction
) _wrap_Point_x_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44749 { (char *)"Point_x_get", (PyCFunction
) _wrap_Point_x_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44750 { (char *)"Point_y_set", (PyCFunction
) _wrap_Point_y_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44751 { (char *)"Point_y_get", (PyCFunction
) _wrap_Point_y_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44752 { (char *)"new_Point", (PyCFunction
) _wrap_new_Point
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44753 { (char *)"delete_Point", (PyCFunction
) _wrap_delete_Point
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44754 { (char *)"Point___eq__", (PyCFunction
) _wrap_Point___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44755 { (char *)"Point___ne__", (PyCFunction
) _wrap_Point___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44756 { (char *)"Point___add__", (PyCFunction
) _wrap_Point___add__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44757 { (char *)"Point___sub__", (PyCFunction
) _wrap_Point___sub__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44758 { (char *)"Point___iadd__", (PyCFunction
) _wrap_Point___iadd__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44759 { (char *)"Point___isub__", (PyCFunction
) _wrap_Point___isub__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44760 { (char *)"Point_Set", (PyCFunction
) _wrap_Point_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44761 { (char *)"Point_Get", (PyCFunction
) _wrap_Point_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44762 { (char *)"Point_swigregister", Point_swigregister
, METH_VARARGS
, NULL
},
44763 { (char *)"new_Rect", (PyCFunction
) _wrap_new_Rect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44764 { (char *)"new_RectPP", (PyCFunction
) _wrap_new_RectPP
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44765 { (char *)"new_RectPS", (PyCFunction
) _wrap_new_RectPS
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44766 { (char *)"new_RectS", (PyCFunction
) _wrap_new_RectS
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44767 { (char *)"delete_Rect", (PyCFunction
) _wrap_delete_Rect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44768 { (char *)"Rect_GetX", (PyCFunction
) _wrap_Rect_GetX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44769 { (char *)"Rect_SetX", (PyCFunction
) _wrap_Rect_SetX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44770 { (char *)"Rect_GetY", (PyCFunction
) _wrap_Rect_GetY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44771 { (char *)"Rect_SetY", (PyCFunction
) _wrap_Rect_SetY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44772 { (char *)"Rect_GetWidth", (PyCFunction
) _wrap_Rect_GetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44773 { (char *)"Rect_SetWidth", (PyCFunction
) _wrap_Rect_SetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44774 { (char *)"Rect_GetHeight", (PyCFunction
) _wrap_Rect_GetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44775 { (char *)"Rect_SetHeight", (PyCFunction
) _wrap_Rect_SetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44776 { (char *)"Rect_GetPosition", (PyCFunction
) _wrap_Rect_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44777 { (char *)"Rect_SetPosition", (PyCFunction
) _wrap_Rect_SetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44778 { (char *)"Rect_GetSize", (PyCFunction
) _wrap_Rect_GetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44779 { (char *)"Rect_SetSize", (PyCFunction
) _wrap_Rect_SetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44780 { (char *)"Rect_GetTopLeft", (PyCFunction
) _wrap_Rect_GetTopLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44781 { (char *)"Rect_SetTopLeft", (PyCFunction
) _wrap_Rect_SetTopLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44782 { (char *)"Rect_GetBottomRight", (PyCFunction
) _wrap_Rect_GetBottomRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44783 { (char *)"Rect_SetBottomRight", (PyCFunction
) _wrap_Rect_SetBottomRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44784 { (char *)"Rect_GetLeft", (PyCFunction
) _wrap_Rect_GetLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44785 { (char *)"Rect_GetTop", (PyCFunction
) _wrap_Rect_GetTop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44786 { (char *)"Rect_GetBottom", (PyCFunction
) _wrap_Rect_GetBottom
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44787 { (char *)"Rect_GetRight", (PyCFunction
) _wrap_Rect_GetRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44788 { (char *)"Rect_SetLeft", (PyCFunction
) _wrap_Rect_SetLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44789 { (char *)"Rect_SetRight", (PyCFunction
) _wrap_Rect_SetRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44790 { (char *)"Rect_SetTop", (PyCFunction
) _wrap_Rect_SetTop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44791 { (char *)"Rect_SetBottom", (PyCFunction
) _wrap_Rect_SetBottom
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44792 { (char *)"Rect_Inflate", (PyCFunction
) _wrap_Rect_Inflate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44793 { (char *)"Rect_Deflate", (PyCFunction
) _wrap_Rect_Deflate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44794 { (char *)"Rect_OffsetXY", (PyCFunction
) _wrap_Rect_OffsetXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44795 { (char *)"Rect_Offset", (PyCFunction
) _wrap_Rect_Offset
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44796 { (char *)"Rect_Intersect", (PyCFunction
) _wrap_Rect_Intersect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44797 { (char *)"Rect_Union", (PyCFunction
) _wrap_Rect_Union
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44798 { (char *)"Rect___add__", (PyCFunction
) _wrap_Rect___add__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44799 { (char *)"Rect___iadd__", (PyCFunction
) _wrap_Rect___iadd__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44800 { (char *)"Rect___eq__", (PyCFunction
) _wrap_Rect___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44801 { (char *)"Rect___ne__", (PyCFunction
) _wrap_Rect___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44802 { (char *)"Rect_InsideXY", (PyCFunction
) _wrap_Rect_InsideXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44803 { (char *)"Rect_Inside", (PyCFunction
) _wrap_Rect_Inside
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44804 { (char *)"Rect_Intersects", (PyCFunction
) _wrap_Rect_Intersects
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44805 { (char *)"Rect_x_set", (PyCFunction
) _wrap_Rect_x_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44806 { (char *)"Rect_x_get", (PyCFunction
) _wrap_Rect_x_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44807 { (char *)"Rect_y_set", (PyCFunction
) _wrap_Rect_y_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44808 { (char *)"Rect_y_get", (PyCFunction
) _wrap_Rect_y_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44809 { (char *)"Rect_width_set", (PyCFunction
) _wrap_Rect_width_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44810 { (char *)"Rect_width_get", (PyCFunction
) _wrap_Rect_width_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44811 { (char *)"Rect_height_set", (PyCFunction
) _wrap_Rect_height_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44812 { (char *)"Rect_height_get", (PyCFunction
) _wrap_Rect_height_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44813 { (char *)"Rect_Set", (PyCFunction
) _wrap_Rect_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44814 { (char *)"Rect_Get", (PyCFunction
) _wrap_Rect_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44815 { (char *)"Rect_swigregister", Rect_swigregister
, METH_VARARGS
, NULL
},
44816 { (char *)"IntersectRect", (PyCFunction
) _wrap_IntersectRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44817 { (char *)"new_Point2D", (PyCFunction
) _wrap_new_Point2D
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44818 { (char *)"new_Point2DCopy", (PyCFunction
) _wrap_new_Point2DCopy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44819 { (char *)"new_Point2DFromPoint", (PyCFunction
) _wrap_new_Point2DFromPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44820 { (char *)"Point2D_GetFloor", (PyCFunction
) _wrap_Point2D_GetFloor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44821 { (char *)"Point2D_GetRounded", (PyCFunction
) _wrap_Point2D_GetRounded
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44822 { (char *)"Point2D_GetVectorLength", (PyCFunction
) _wrap_Point2D_GetVectorLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44823 { (char *)"Point2D_GetVectorAngle", (PyCFunction
) _wrap_Point2D_GetVectorAngle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44824 { (char *)"Point2D_SetVectorLength", (PyCFunction
) _wrap_Point2D_SetVectorLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44825 { (char *)"Point2D_SetVectorAngle", (PyCFunction
) _wrap_Point2D_SetVectorAngle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44826 { (char *)"Point2D_GetDistance", (PyCFunction
) _wrap_Point2D_GetDistance
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44827 { (char *)"Point2D_GetDistanceSquare", (PyCFunction
) _wrap_Point2D_GetDistanceSquare
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44828 { (char *)"Point2D_GetDotProduct", (PyCFunction
) _wrap_Point2D_GetDotProduct
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44829 { (char *)"Point2D_GetCrossProduct", (PyCFunction
) _wrap_Point2D_GetCrossProduct
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44830 { (char *)"Point2D___neg__", (PyCFunction
) _wrap_Point2D___neg__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44831 { (char *)"Point2D___iadd__", (PyCFunction
) _wrap_Point2D___iadd__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44832 { (char *)"Point2D___isub__", (PyCFunction
) _wrap_Point2D___isub__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44833 { (char *)"Point2D___imul__", (PyCFunction
) _wrap_Point2D___imul__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44834 { (char *)"Point2D___idiv__", (PyCFunction
) _wrap_Point2D___idiv__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44835 { (char *)"Point2D___eq__", (PyCFunction
) _wrap_Point2D___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44836 { (char *)"Point2D___ne__", (PyCFunction
) _wrap_Point2D___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44837 { (char *)"Point2D_x_set", (PyCFunction
) _wrap_Point2D_x_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44838 { (char *)"Point2D_x_get", (PyCFunction
) _wrap_Point2D_x_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44839 { (char *)"Point2D_y_set", (PyCFunction
) _wrap_Point2D_y_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44840 { (char *)"Point2D_y_get", (PyCFunction
) _wrap_Point2D_y_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44841 { (char *)"Point2D_Set", (PyCFunction
) _wrap_Point2D_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44842 { (char *)"Point2D_Get", (PyCFunction
) _wrap_Point2D_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44843 { (char *)"Point2D_swigregister", Point2D_swigregister
, METH_VARARGS
, NULL
},
44844 { (char *)"new_InputStream", (PyCFunction
) _wrap_new_InputStream
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44845 { (char *)"delete_InputStream", (PyCFunction
) _wrap_delete_InputStream
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44846 { (char *)"InputStream_close", (PyCFunction
) _wrap_InputStream_close
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44847 { (char *)"InputStream_flush", (PyCFunction
) _wrap_InputStream_flush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44848 { (char *)"InputStream_eof", (PyCFunction
) _wrap_InputStream_eof
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44849 { (char *)"InputStream_read", (PyCFunction
) _wrap_InputStream_read
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44850 { (char *)"InputStream_readline", (PyCFunction
) _wrap_InputStream_readline
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44851 { (char *)"InputStream_readlines", (PyCFunction
) _wrap_InputStream_readlines
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44852 { (char *)"InputStream_seek", (PyCFunction
) _wrap_InputStream_seek
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44853 { (char *)"InputStream_tell", (PyCFunction
) _wrap_InputStream_tell
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44854 { (char *)"InputStream_Peek", (PyCFunction
) _wrap_InputStream_Peek
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44855 { (char *)"InputStream_GetC", (PyCFunction
) _wrap_InputStream_GetC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44856 { (char *)"InputStream_LastRead", (PyCFunction
) _wrap_InputStream_LastRead
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44857 { (char *)"InputStream_CanRead", (PyCFunction
) _wrap_InputStream_CanRead
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44858 { (char *)"InputStream_Eof", (PyCFunction
) _wrap_InputStream_Eof
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44859 { (char *)"InputStream_Ungetch", (PyCFunction
) _wrap_InputStream_Ungetch
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44860 { (char *)"InputStream_SeekI", (PyCFunction
) _wrap_InputStream_SeekI
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44861 { (char *)"InputStream_TellI", (PyCFunction
) _wrap_InputStream_TellI
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44862 { (char *)"InputStream_swigregister", InputStream_swigregister
, METH_VARARGS
, NULL
},
44863 { (char *)"OutputStream_write", (PyCFunction
) _wrap_OutputStream_write
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44864 { (char *)"OutputStream_swigregister", OutputStream_swigregister
, METH_VARARGS
, NULL
},
44865 { (char *)"new_FSFile", (PyCFunction
) _wrap_new_FSFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44866 { (char *)"delete_FSFile", (PyCFunction
) _wrap_delete_FSFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44867 { (char *)"FSFile_GetStream", (PyCFunction
) _wrap_FSFile_GetStream
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44868 { (char *)"FSFile_GetMimeType", (PyCFunction
) _wrap_FSFile_GetMimeType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44869 { (char *)"FSFile_GetLocation", (PyCFunction
) _wrap_FSFile_GetLocation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44870 { (char *)"FSFile_GetAnchor", (PyCFunction
) _wrap_FSFile_GetAnchor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44871 { (char *)"FSFile_GetModificationTime", (PyCFunction
) _wrap_FSFile_GetModificationTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44872 { (char *)"FSFile_swigregister", FSFile_swigregister
, METH_VARARGS
, NULL
},
44873 { (char *)"CPPFileSystemHandler_swigregister", CPPFileSystemHandler_swigregister
, METH_VARARGS
, NULL
},
44874 { (char *)"new_FileSystemHandler", (PyCFunction
) _wrap_new_FileSystemHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44875 { (char *)"FileSystemHandler__setCallbackInfo", (PyCFunction
) _wrap_FileSystemHandler__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44876 { (char *)"FileSystemHandler_CanOpen", (PyCFunction
) _wrap_FileSystemHandler_CanOpen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44877 { (char *)"FileSystemHandler_OpenFile", (PyCFunction
) _wrap_FileSystemHandler_OpenFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44878 { (char *)"FileSystemHandler_FindFirst", (PyCFunction
) _wrap_FileSystemHandler_FindFirst
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44879 { (char *)"FileSystemHandler_FindNext", (PyCFunction
) _wrap_FileSystemHandler_FindNext
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44880 { (char *)"FileSystemHandler_GetProtocol", (PyCFunction
) _wrap_FileSystemHandler_GetProtocol
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44881 { (char *)"FileSystemHandler_GetLeftLocation", (PyCFunction
) _wrap_FileSystemHandler_GetLeftLocation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44882 { (char *)"FileSystemHandler_GetAnchor", (PyCFunction
) _wrap_FileSystemHandler_GetAnchor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44883 { (char *)"FileSystemHandler_GetRightLocation", (PyCFunction
) _wrap_FileSystemHandler_GetRightLocation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44884 { (char *)"FileSystemHandler_GetMimeTypeFromExt", (PyCFunction
) _wrap_FileSystemHandler_GetMimeTypeFromExt
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44885 { (char *)"FileSystemHandler_swigregister", FileSystemHandler_swigregister
, METH_VARARGS
, NULL
},
44886 { (char *)"new_FileSystem", (PyCFunction
) _wrap_new_FileSystem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44887 { (char *)"delete_FileSystem", (PyCFunction
) _wrap_delete_FileSystem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44888 { (char *)"FileSystem_ChangePathTo", (PyCFunction
) _wrap_FileSystem_ChangePathTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44889 { (char *)"FileSystem_GetPath", (PyCFunction
) _wrap_FileSystem_GetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44890 { (char *)"FileSystem_OpenFile", (PyCFunction
) _wrap_FileSystem_OpenFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44891 { (char *)"FileSystem_FindFirst", (PyCFunction
) _wrap_FileSystem_FindFirst
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44892 { (char *)"FileSystem_FindNext", (PyCFunction
) _wrap_FileSystem_FindNext
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44893 { (char *)"FileSystem_AddHandler", (PyCFunction
) _wrap_FileSystem_AddHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44894 { (char *)"FileSystem_CleanUpHandlers", (PyCFunction
) _wrap_FileSystem_CleanUpHandlers
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44895 { (char *)"FileSystem_FileNameToURL", (PyCFunction
) _wrap_FileSystem_FileNameToURL
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44896 { (char *)"FileSystem_URLToFileName", (PyCFunction
) _wrap_FileSystem_URLToFileName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44897 { (char *)"FileSystem_swigregister", FileSystem_swigregister
, METH_VARARGS
, NULL
},
44898 { (char *)"new_InternetFSHandler", (PyCFunction
) _wrap_new_InternetFSHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44899 { (char *)"InternetFSHandler_CanOpen", (PyCFunction
) _wrap_InternetFSHandler_CanOpen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44900 { (char *)"InternetFSHandler_OpenFile", (PyCFunction
) _wrap_InternetFSHandler_OpenFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44901 { (char *)"InternetFSHandler_swigregister", InternetFSHandler_swigregister
, METH_VARARGS
, NULL
},
44902 { (char *)"new_ZipFSHandler", (PyCFunction
) _wrap_new_ZipFSHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44903 { (char *)"ZipFSHandler_CanOpen", (PyCFunction
) _wrap_ZipFSHandler_CanOpen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44904 { (char *)"ZipFSHandler_OpenFile", (PyCFunction
) _wrap_ZipFSHandler_OpenFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44905 { (char *)"ZipFSHandler_FindFirst", (PyCFunction
) _wrap_ZipFSHandler_FindFirst
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44906 { (char *)"ZipFSHandler_FindNext", (PyCFunction
) _wrap_ZipFSHandler_FindNext
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44907 { (char *)"ZipFSHandler_swigregister", ZipFSHandler_swigregister
, METH_VARARGS
, NULL
},
44908 { (char *)"__wxMemoryFSHandler_AddFile_wxImage", (PyCFunction
) _wrap___wxMemoryFSHandler_AddFile_wxImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44909 { (char *)"__wxMemoryFSHandler_AddFile_wxBitmap", (PyCFunction
) _wrap___wxMemoryFSHandler_AddFile_wxBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44910 { (char *)"__wxMemoryFSHandler_AddFile_Data", (PyCFunction
) _wrap___wxMemoryFSHandler_AddFile_Data
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44911 { (char *)"new_MemoryFSHandler", (PyCFunction
) _wrap_new_MemoryFSHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44912 { (char *)"MemoryFSHandler_RemoveFile", (PyCFunction
) _wrap_MemoryFSHandler_RemoveFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44913 { (char *)"MemoryFSHandler_CanOpen", (PyCFunction
) _wrap_MemoryFSHandler_CanOpen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44914 { (char *)"MemoryFSHandler_OpenFile", (PyCFunction
) _wrap_MemoryFSHandler_OpenFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44915 { (char *)"MemoryFSHandler_FindFirst", (PyCFunction
) _wrap_MemoryFSHandler_FindFirst
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44916 { (char *)"MemoryFSHandler_FindNext", (PyCFunction
) _wrap_MemoryFSHandler_FindNext
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44917 { (char *)"MemoryFSHandler_swigregister", MemoryFSHandler_swigregister
, METH_VARARGS
, NULL
},
44918 { (char *)"ImageHandler_GetName", (PyCFunction
) _wrap_ImageHandler_GetName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44919 { (char *)"ImageHandler_GetExtension", (PyCFunction
) _wrap_ImageHandler_GetExtension
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44920 { (char *)"ImageHandler_GetType", (PyCFunction
) _wrap_ImageHandler_GetType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44921 { (char *)"ImageHandler_GetMimeType", (PyCFunction
) _wrap_ImageHandler_GetMimeType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44922 { (char *)"ImageHandler_CanRead", (PyCFunction
) _wrap_ImageHandler_CanRead
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44923 { (char *)"ImageHandler_SetName", (PyCFunction
) _wrap_ImageHandler_SetName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44924 { (char *)"ImageHandler_SetExtension", (PyCFunction
) _wrap_ImageHandler_SetExtension
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44925 { (char *)"ImageHandler_SetType", (PyCFunction
) _wrap_ImageHandler_SetType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44926 { (char *)"ImageHandler_SetMimeType", (PyCFunction
) _wrap_ImageHandler_SetMimeType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44927 { (char *)"ImageHandler_swigregister", ImageHandler_swigregister
, METH_VARARGS
, NULL
},
44928 { (char *)"new_ImageHistogram", (PyCFunction
) _wrap_new_ImageHistogram
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44929 { (char *)"ImageHistogram_MakeKey", (PyCFunction
) _wrap_ImageHistogram_MakeKey
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44930 { (char *)"ImageHistogram_FindFirstUnusedColour", (PyCFunction
) _wrap_ImageHistogram_FindFirstUnusedColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44931 { (char *)"ImageHistogram_swigregister", ImageHistogram_swigregister
, METH_VARARGS
, NULL
},
44932 { (char *)"new_Image", (PyCFunction
) _wrap_new_Image
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44933 { (char *)"delete_Image", (PyCFunction
) _wrap_delete_Image
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44934 { (char *)"new_ImageFromMime", (PyCFunction
) _wrap_new_ImageFromMime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44935 { (char *)"new_ImageFromStream", (PyCFunction
) _wrap_new_ImageFromStream
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44936 { (char *)"new_ImageFromStreamMime", (PyCFunction
) _wrap_new_ImageFromStreamMime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44937 { (char *)"new_EmptyImage", (PyCFunction
) _wrap_new_EmptyImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44938 { (char *)"new_ImageFromBitmap", (PyCFunction
) _wrap_new_ImageFromBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44939 { (char *)"new_ImageFromData", (PyCFunction
) _wrap_new_ImageFromData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44940 { (char *)"new_ImageFromDataWithAlpha", (PyCFunction
) _wrap_new_ImageFromDataWithAlpha
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44941 { (char *)"Image_Create", (PyCFunction
) _wrap_Image_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44942 { (char *)"Image_Destroy", (PyCFunction
) _wrap_Image_Destroy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44943 { (char *)"Image_Scale", (PyCFunction
) _wrap_Image_Scale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44944 { (char *)"Image_ShrinkBy", (PyCFunction
) _wrap_Image_ShrinkBy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44945 { (char *)"Image_Rescale", (PyCFunction
) _wrap_Image_Rescale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44946 { (char *)"Image_SetRGB", (PyCFunction
) _wrap_Image_SetRGB
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44947 { (char *)"Image_GetRed", (PyCFunction
) _wrap_Image_GetRed
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44948 { (char *)"Image_GetGreen", (PyCFunction
) _wrap_Image_GetGreen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44949 { (char *)"Image_GetBlue", (PyCFunction
) _wrap_Image_GetBlue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44950 { (char *)"Image_SetAlpha", (PyCFunction
) _wrap_Image_SetAlpha
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44951 { (char *)"Image_GetAlpha", (PyCFunction
) _wrap_Image_GetAlpha
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44952 { (char *)"Image_HasAlpha", (PyCFunction
) _wrap_Image_HasAlpha
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44953 { (char *)"Image_InitAlpha", (PyCFunction
) _wrap_Image_InitAlpha
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44954 { (char *)"Image_FindFirstUnusedColour", (PyCFunction
) _wrap_Image_FindFirstUnusedColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44955 { (char *)"Image_ConvertAlphaToMask", (PyCFunction
) _wrap_Image_ConvertAlphaToMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44956 { (char *)"Image_ConvertColourToAlpha", (PyCFunction
) _wrap_Image_ConvertColourToAlpha
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44957 { (char *)"Image_SetMaskFromImage", (PyCFunction
) _wrap_Image_SetMaskFromImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44958 { (char *)"Image_CanRead", (PyCFunction
) _wrap_Image_CanRead
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44959 { (char *)"Image_GetImageCount", (PyCFunction
) _wrap_Image_GetImageCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44960 { (char *)"Image_LoadFile", (PyCFunction
) _wrap_Image_LoadFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44961 { (char *)"Image_LoadMimeFile", (PyCFunction
) _wrap_Image_LoadMimeFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44962 { (char *)"Image_SaveFile", (PyCFunction
) _wrap_Image_SaveFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44963 { (char *)"Image_SaveMimeFile", (PyCFunction
) _wrap_Image_SaveMimeFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44964 { (char *)"Image_CanReadStream", (PyCFunction
) _wrap_Image_CanReadStream
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44965 { (char *)"Image_LoadStream", (PyCFunction
) _wrap_Image_LoadStream
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44966 { (char *)"Image_LoadMimeStream", (PyCFunction
) _wrap_Image_LoadMimeStream
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44967 { (char *)"Image_Ok", (PyCFunction
) _wrap_Image_Ok
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44968 { (char *)"Image_GetWidth", (PyCFunction
) _wrap_Image_GetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44969 { (char *)"Image_GetHeight", (PyCFunction
) _wrap_Image_GetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44970 { (char *)"Image_GetSize", (PyCFunction
) _wrap_Image_GetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44971 { (char *)"Image_GetSubImage", (PyCFunction
) _wrap_Image_GetSubImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44972 { (char *)"Image_Copy", (PyCFunction
) _wrap_Image_Copy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44973 { (char *)"Image_Paste", (PyCFunction
) _wrap_Image_Paste
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44974 { (char *)"Image_GetData", (PyCFunction
) _wrap_Image_GetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44975 { (char *)"Image_SetData", (PyCFunction
) _wrap_Image_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44976 { (char *)"Image_GetDataBuffer", (PyCFunction
) _wrap_Image_GetDataBuffer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44977 { (char *)"Image_SetDataBuffer", (PyCFunction
) _wrap_Image_SetDataBuffer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44978 { (char *)"Image_GetAlphaData", (PyCFunction
) _wrap_Image_GetAlphaData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44979 { (char *)"Image_SetAlphaData", (PyCFunction
) _wrap_Image_SetAlphaData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44980 { (char *)"Image_GetAlphaBuffer", (PyCFunction
) _wrap_Image_GetAlphaBuffer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44981 { (char *)"Image_SetAlphaBuffer", (PyCFunction
) _wrap_Image_SetAlphaBuffer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44982 { (char *)"Image_SetMaskColour", (PyCFunction
) _wrap_Image_SetMaskColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44983 { (char *)"Image_GetMaskRed", (PyCFunction
) _wrap_Image_GetMaskRed
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44984 { (char *)"Image_GetMaskGreen", (PyCFunction
) _wrap_Image_GetMaskGreen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44985 { (char *)"Image_GetMaskBlue", (PyCFunction
) _wrap_Image_GetMaskBlue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44986 { (char *)"Image_SetMask", (PyCFunction
) _wrap_Image_SetMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44987 { (char *)"Image_HasMask", (PyCFunction
) _wrap_Image_HasMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44988 { (char *)"Image_Rotate", (PyCFunction
) _wrap_Image_Rotate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44989 { (char *)"Image_Rotate90", (PyCFunction
) _wrap_Image_Rotate90
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44990 { (char *)"Image_Mirror", (PyCFunction
) _wrap_Image_Mirror
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44991 { (char *)"Image_Replace", (PyCFunction
) _wrap_Image_Replace
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44992 { (char *)"Image_ConvertToMono", (PyCFunction
) _wrap_Image_ConvertToMono
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44993 { (char *)"Image_SetOption", (PyCFunction
) _wrap_Image_SetOption
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44994 { (char *)"Image_SetOptionInt", (PyCFunction
) _wrap_Image_SetOptionInt
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44995 { (char *)"Image_GetOption", (PyCFunction
) _wrap_Image_GetOption
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44996 { (char *)"Image_GetOptionInt", (PyCFunction
) _wrap_Image_GetOptionInt
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44997 { (char *)"Image_HasOption", (PyCFunction
) _wrap_Image_HasOption
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44998 { (char *)"Image_CountColours", (PyCFunction
) _wrap_Image_CountColours
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44999 { (char *)"Image_ComputeHistogram", (PyCFunction
) _wrap_Image_ComputeHistogram
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45000 { (char *)"Image_AddHandler", (PyCFunction
) _wrap_Image_AddHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45001 { (char *)"Image_InsertHandler", (PyCFunction
) _wrap_Image_InsertHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45002 { (char *)"Image_RemoveHandler", (PyCFunction
) _wrap_Image_RemoveHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45003 { (char *)"Image_GetImageExtWildcard", (PyCFunction
) _wrap_Image_GetImageExtWildcard
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45004 { (char *)"Image_ConvertToBitmap", (PyCFunction
) _wrap_Image_ConvertToBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45005 { (char *)"Image_ConvertToMonoBitmap", (PyCFunction
) _wrap_Image_ConvertToMonoBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45006 { (char *)"Image_swigregister", Image_swigregister
, METH_VARARGS
, NULL
},
45007 { (char *)"new_BMPHandler", (PyCFunction
) _wrap_new_BMPHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45008 { (char *)"BMPHandler_swigregister", BMPHandler_swigregister
, METH_VARARGS
, NULL
},
45009 { (char *)"new_ICOHandler", (PyCFunction
) _wrap_new_ICOHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45010 { (char *)"ICOHandler_swigregister", ICOHandler_swigregister
, METH_VARARGS
, NULL
},
45011 { (char *)"new_CURHandler", (PyCFunction
) _wrap_new_CURHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45012 { (char *)"CURHandler_swigregister", CURHandler_swigregister
, METH_VARARGS
, NULL
},
45013 { (char *)"new_ANIHandler", (PyCFunction
) _wrap_new_ANIHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45014 { (char *)"ANIHandler_swigregister", ANIHandler_swigregister
, METH_VARARGS
, NULL
},
45015 { (char *)"new_PNGHandler", (PyCFunction
) _wrap_new_PNGHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45016 { (char *)"PNGHandler_swigregister", PNGHandler_swigregister
, METH_VARARGS
, NULL
},
45017 { (char *)"new_GIFHandler", (PyCFunction
) _wrap_new_GIFHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45018 { (char *)"GIFHandler_swigregister", GIFHandler_swigregister
, METH_VARARGS
, NULL
},
45019 { (char *)"new_PCXHandler", (PyCFunction
) _wrap_new_PCXHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45020 { (char *)"PCXHandler_swigregister", PCXHandler_swigregister
, METH_VARARGS
, NULL
},
45021 { (char *)"new_JPEGHandler", (PyCFunction
) _wrap_new_JPEGHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45022 { (char *)"JPEGHandler_swigregister", JPEGHandler_swigregister
, METH_VARARGS
, NULL
},
45023 { (char *)"new_PNMHandler", (PyCFunction
) _wrap_new_PNMHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45024 { (char *)"PNMHandler_swigregister", PNMHandler_swigregister
, METH_VARARGS
, NULL
},
45025 { (char *)"new_XPMHandler", (PyCFunction
) _wrap_new_XPMHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45026 { (char *)"XPMHandler_swigregister", XPMHandler_swigregister
, METH_VARARGS
, NULL
},
45027 { (char *)"new_TIFFHandler", (PyCFunction
) _wrap_new_TIFFHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45028 { (char *)"TIFFHandler_swigregister", TIFFHandler_swigregister
, METH_VARARGS
, NULL
},
45029 { (char *)"Quantize_Quantize", (PyCFunction
) _wrap_Quantize_Quantize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45030 { (char *)"Quantize_swigregister", Quantize_swigregister
, METH_VARARGS
, NULL
},
45031 { (char *)"new_EvtHandler", (PyCFunction
) _wrap_new_EvtHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45032 { (char *)"EvtHandler_GetNextHandler", (PyCFunction
) _wrap_EvtHandler_GetNextHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45033 { (char *)"EvtHandler_GetPreviousHandler", (PyCFunction
) _wrap_EvtHandler_GetPreviousHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45034 { (char *)"EvtHandler_SetNextHandler", (PyCFunction
) _wrap_EvtHandler_SetNextHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45035 { (char *)"EvtHandler_SetPreviousHandler", (PyCFunction
) _wrap_EvtHandler_SetPreviousHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45036 { (char *)"EvtHandler_GetEvtHandlerEnabled", (PyCFunction
) _wrap_EvtHandler_GetEvtHandlerEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45037 { (char *)"EvtHandler_SetEvtHandlerEnabled", (PyCFunction
) _wrap_EvtHandler_SetEvtHandlerEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45038 { (char *)"EvtHandler_ProcessEvent", (PyCFunction
) _wrap_EvtHandler_ProcessEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45039 { (char *)"EvtHandler_AddPendingEvent", (PyCFunction
) _wrap_EvtHandler_AddPendingEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45040 { (char *)"EvtHandler_ProcessPendingEvents", (PyCFunction
) _wrap_EvtHandler_ProcessPendingEvents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45041 { (char *)"EvtHandler_Connect", (PyCFunction
) _wrap_EvtHandler_Connect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45042 { (char *)"EvtHandler_Disconnect", (PyCFunction
) _wrap_EvtHandler_Disconnect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45043 { (char *)"EvtHandler__setOORInfo", (PyCFunction
) _wrap_EvtHandler__setOORInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45044 { (char *)"EvtHandler_swigregister", EvtHandler_swigregister
, METH_VARARGS
, NULL
},
45045 { (char *)"NewEventType", (PyCFunction
) _wrap_NewEventType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45046 { (char *)"delete_Event", (PyCFunction
) _wrap_delete_Event
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45047 { (char *)"Event_SetEventType", (PyCFunction
) _wrap_Event_SetEventType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45048 { (char *)"Event_GetEventType", (PyCFunction
) _wrap_Event_GetEventType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45049 { (char *)"Event_GetEventObject", (PyCFunction
) _wrap_Event_GetEventObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45050 { (char *)"Event_SetEventObject", (PyCFunction
) _wrap_Event_SetEventObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45051 { (char *)"Event_GetTimestamp", (PyCFunction
) _wrap_Event_GetTimestamp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45052 { (char *)"Event_SetTimestamp", (PyCFunction
) _wrap_Event_SetTimestamp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45053 { (char *)"Event_GetId", (PyCFunction
) _wrap_Event_GetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45054 { (char *)"Event_SetId", (PyCFunction
) _wrap_Event_SetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45055 { (char *)"Event_IsCommandEvent", (PyCFunction
) _wrap_Event_IsCommandEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45056 { (char *)"Event_Skip", (PyCFunction
) _wrap_Event_Skip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45057 { (char *)"Event_GetSkipped", (PyCFunction
) _wrap_Event_GetSkipped
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45058 { (char *)"Event_ShouldPropagate", (PyCFunction
) _wrap_Event_ShouldPropagate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45059 { (char *)"Event_StopPropagation", (PyCFunction
) _wrap_Event_StopPropagation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45060 { (char *)"Event_ResumePropagation", (PyCFunction
) _wrap_Event_ResumePropagation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45061 { (char *)"Event_Clone", (PyCFunction
) _wrap_Event_Clone
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45062 { (char *)"Event_swigregister", Event_swigregister
, METH_VARARGS
, NULL
},
45063 { (char *)"new_PropagationDisabler", (PyCFunction
) _wrap_new_PropagationDisabler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45064 { (char *)"delete_PropagationDisabler", (PyCFunction
) _wrap_delete_PropagationDisabler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45065 { (char *)"PropagationDisabler_swigregister", PropagationDisabler_swigregister
, METH_VARARGS
, NULL
},
45066 { (char *)"new_PropagateOnce", (PyCFunction
) _wrap_new_PropagateOnce
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45067 { (char *)"delete_PropagateOnce", (PyCFunction
) _wrap_delete_PropagateOnce
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45068 { (char *)"PropagateOnce_swigregister", PropagateOnce_swigregister
, METH_VARARGS
, NULL
},
45069 { (char *)"new_CommandEvent", (PyCFunction
) _wrap_new_CommandEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45070 { (char *)"CommandEvent_GetSelection", (PyCFunction
) _wrap_CommandEvent_GetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45071 { (char *)"CommandEvent_SetString", (PyCFunction
) _wrap_CommandEvent_SetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45072 { (char *)"CommandEvent_GetString", (PyCFunction
) _wrap_CommandEvent_GetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45073 { (char *)"CommandEvent_IsChecked", (PyCFunction
) _wrap_CommandEvent_IsChecked
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45074 { (char *)"CommandEvent_IsSelection", (PyCFunction
) _wrap_CommandEvent_IsSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45075 { (char *)"CommandEvent_SetExtraLong", (PyCFunction
) _wrap_CommandEvent_SetExtraLong
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45076 { (char *)"CommandEvent_GetExtraLong", (PyCFunction
) _wrap_CommandEvent_GetExtraLong
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45077 { (char *)"CommandEvent_SetInt", (PyCFunction
) _wrap_CommandEvent_SetInt
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45078 { (char *)"CommandEvent_GetInt", (PyCFunction
) _wrap_CommandEvent_GetInt
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45079 { (char *)"CommandEvent_Clone", (PyCFunction
) _wrap_CommandEvent_Clone
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45080 { (char *)"CommandEvent_swigregister", CommandEvent_swigregister
, METH_VARARGS
, NULL
},
45081 { (char *)"new_NotifyEvent", (PyCFunction
) _wrap_new_NotifyEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45082 { (char *)"NotifyEvent_Veto", (PyCFunction
) _wrap_NotifyEvent_Veto
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45083 { (char *)"NotifyEvent_Allow", (PyCFunction
) _wrap_NotifyEvent_Allow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45084 { (char *)"NotifyEvent_IsAllowed", (PyCFunction
) _wrap_NotifyEvent_IsAllowed
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45085 { (char *)"NotifyEvent_swigregister", NotifyEvent_swigregister
, METH_VARARGS
, NULL
},
45086 { (char *)"new_ScrollEvent", (PyCFunction
) _wrap_new_ScrollEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45087 { (char *)"ScrollEvent_GetOrientation", (PyCFunction
) _wrap_ScrollEvent_GetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45088 { (char *)"ScrollEvent_GetPosition", (PyCFunction
) _wrap_ScrollEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45089 { (char *)"ScrollEvent_SetOrientation", (PyCFunction
) _wrap_ScrollEvent_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45090 { (char *)"ScrollEvent_SetPosition", (PyCFunction
) _wrap_ScrollEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45091 { (char *)"ScrollEvent_swigregister", ScrollEvent_swigregister
, METH_VARARGS
, NULL
},
45092 { (char *)"new_ScrollWinEvent", (PyCFunction
) _wrap_new_ScrollWinEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45093 { (char *)"ScrollWinEvent_GetOrientation", (PyCFunction
) _wrap_ScrollWinEvent_GetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45094 { (char *)"ScrollWinEvent_GetPosition", (PyCFunction
) _wrap_ScrollWinEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45095 { (char *)"ScrollWinEvent_SetOrientation", (PyCFunction
) _wrap_ScrollWinEvent_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45096 { (char *)"ScrollWinEvent_SetPosition", (PyCFunction
) _wrap_ScrollWinEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45097 { (char *)"ScrollWinEvent_swigregister", ScrollWinEvent_swigregister
, METH_VARARGS
, NULL
},
45098 { (char *)"new_MouseEvent", (PyCFunction
) _wrap_new_MouseEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45099 { (char *)"MouseEvent_IsButton", (PyCFunction
) _wrap_MouseEvent_IsButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45100 { (char *)"MouseEvent_ButtonDown", (PyCFunction
) _wrap_MouseEvent_ButtonDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45101 { (char *)"MouseEvent_ButtonDClick", (PyCFunction
) _wrap_MouseEvent_ButtonDClick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45102 { (char *)"MouseEvent_ButtonUp", (PyCFunction
) _wrap_MouseEvent_ButtonUp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45103 { (char *)"MouseEvent_Button", (PyCFunction
) _wrap_MouseEvent_Button
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45104 { (char *)"MouseEvent_ButtonIsDown", (PyCFunction
) _wrap_MouseEvent_ButtonIsDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45105 { (char *)"MouseEvent_GetButton", (PyCFunction
) _wrap_MouseEvent_GetButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45106 { (char *)"MouseEvent_ControlDown", (PyCFunction
) _wrap_MouseEvent_ControlDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45107 { (char *)"MouseEvent_MetaDown", (PyCFunction
) _wrap_MouseEvent_MetaDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45108 { (char *)"MouseEvent_AltDown", (PyCFunction
) _wrap_MouseEvent_AltDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45109 { (char *)"MouseEvent_ShiftDown", (PyCFunction
) _wrap_MouseEvent_ShiftDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45110 { (char *)"MouseEvent_CmdDown", (PyCFunction
) _wrap_MouseEvent_CmdDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45111 { (char *)"MouseEvent_LeftDown", (PyCFunction
) _wrap_MouseEvent_LeftDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45112 { (char *)"MouseEvent_MiddleDown", (PyCFunction
) _wrap_MouseEvent_MiddleDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45113 { (char *)"MouseEvent_RightDown", (PyCFunction
) _wrap_MouseEvent_RightDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45114 { (char *)"MouseEvent_LeftUp", (PyCFunction
) _wrap_MouseEvent_LeftUp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45115 { (char *)"MouseEvent_MiddleUp", (PyCFunction
) _wrap_MouseEvent_MiddleUp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45116 { (char *)"MouseEvent_RightUp", (PyCFunction
) _wrap_MouseEvent_RightUp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45117 { (char *)"MouseEvent_LeftDClick", (PyCFunction
) _wrap_MouseEvent_LeftDClick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45118 { (char *)"MouseEvent_MiddleDClick", (PyCFunction
) _wrap_MouseEvent_MiddleDClick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45119 { (char *)"MouseEvent_RightDClick", (PyCFunction
) _wrap_MouseEvent_RightDClick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45120 { (char *)"MouseEvent_LeftIsDown", (PyCFunction
) _wrap_MouseEvent_LeftIsDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45121 { (char *)"MouseEvent_MiddleIsDown", (PyCFunction
) _wrap_MouseEvent_MiddleIsDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45122 { (char *)"MouseEvent_RightIsDown", (PyCFunction
) _wrap_MouseEvent_RightIsDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45123 { (char *)"MouseEvent_Dragging", (PyCFunction
) _wrap_MouseEvent_Dragging
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45124 { (char *)"MouseEvent_Moving", (PyCFunction
) _wrap_MouseEvent_Moving
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45125 { (char *)"MouseEvent_Entering", (PyCFunction
) _wrap_MouseEvent_Entering
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45126 { (char *)"MouseEvent_Leaving", (PyCFunction
) _wrap_MouseEvent_Leaving
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45127 { (char *)"MouseEvent_GetPosition", (PyCFunction
) _wrap_MouseEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45128 { (char *)"MouseEvent_GetPositionTuple", (PyCFunction
) _wrap_MouseEvent_GetPositionTuple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45129 { (char *)"MouseEvent_GetLogicalPosition", (PyCFunction
) _wrap_MouseEvent_GetLogicalPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45130 { (char *)"MouseEvent_GetX", (PyCFunction
) _wrap_MouseEvent_GetX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45131 { (char *)"MouseEvent_GetY", (PyCFunction
) _wrap_MouseEvent_GetY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45132 { (char *)"MouseEvent_GetWheelRotation", (PyCFunction
) _wrap_MouseEvent_GetWheelRotation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45133 { (char *)"MouseEvent_GetWheelDelta", (PyCFunction
) _wrap_MouseEvent_GetWheelDelta
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45134 { (char *)"MouseEvent_GetLinesPerAction", (PyCFunction
) _wrap_MouseEvent_GetLinesPerAction
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45135 { (char *)"MouseEvent_IsPageScroll", (PyCFunction
) _wrap_MouseEvent_IsPageScroll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45136 { (char *)"MouseEvent_m_x_set", (PyCFunction
) _wrap_MouseEvent_m_x_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45137 { (char *)"MouseEvent_m_x_get", (PyCFunction
) _wrap_MouseEvent_m_x_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45138 { (char *)"MouseEvent_m_y_set", (PyCFunction
) _wrap_MouseEvent_m_y_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45139 { (char *)"MouseEvent_m_y_get", (PyCFunction
) _wrap_MouseEvent_m_y_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45140 { (char *)"MouseEvent_m_leftDown_set", (PyCFunction
) _wrap_MouseEvent_m_leftDown_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45141 { (char *)"MouseEvent_m_leftDown_get", (PyCFunction
) _wrap_MouseEvent_m_leftDown_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45142 { (char *)"MouseEvent_m_middleDown_set", (PyCFunction
) _wrap_MouseEvent_m_middleDown_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45143 { (char *)"MouseEvent_m_middleDown_get", (PyCFunction
) _wrap_MouseEvent_m_middleDown_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45144 { (char *)"MouseEvent_m_rightDown_set", (PyCFunction
) _wrap_MouseEvent_m_rightDown_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45145 { (char *)"MouseEvent_m_rightDown_get", (PyCFunction
) _wrap_MouseEvent_m_rightDown_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45146 { (char *)"MouseEvent_m_controlDown_set", (PyCFunction
) _wrap_MouseEvent_m_controlDown_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45147 { (char *)"MouseEvent_m_controlDown_get", (PyCFunction
) _wrap_MouseEvent_m_controlDown_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45148 { (char *)"MouseEvent_m_shiftDown_set", (PyCFunction
) _wrap_MouseEvent_m_shiftDown_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45149 { (char *)"MouseEvent_m_shiftDown_get", (PyCFunction
) _wrap_MouseEvent_m_shiftDown_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45150 { (char *)"MouseEvent_m_altDown_set", (PyCFunction
) _wrap_MouseEvent_m_altDown_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45151 { (char *)"MouseEvent_m_altDown_get", (PyCFunction
) _wrap_MouseEvent_m_altDown_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45152 { (char *)"MouseEvent_m_metaDown_set", (PyCFunction
) _wrap_MouseEvent_m_metaDown_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45153 { (char *)"MouseEvent_m_metaDown_get", (PyCFunction
) _wrap_MouseEvent_m_metaDown_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45154 { (char *)"MouseEvent_m_wheelRotation_set", (PyCFunction
) _wrap_MouseEvent_m_wheelRotation_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45155 { (char *)"MouseEvent_m_wheelRotation_get", (PyCFunction
) _wrap_MouseEvent_m_wheelRotation_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45156 { (char *)"MouseEvent_m_wheelDelta_set", (PyCFunction
) _wrap_MouseEvent_m_wheelDelta_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45157 { (char *)"MouseEvent_m_wheelDelta_get", (PyCFunction
) _wrap_MouseEvent_m_wheelDelta_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45158 { (char *)"MouseEvent_m_linesPerAction_set", (PyCFunction
) _wrap_MouseEvent_m_linesPerAction_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45159 { (char *)"MouseEvent_m_linesPerAction_get", (PyCFunction
) _wrap_MouseEvent_m_linesPerAction_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45160 { (char *)"MouseEvent_swigregister", MouseEvent_swigregister
, METH_VARARGS
, NULL
},
45161 { (char *)"new_SetCursorEvent", (PyCFunction
) _wrap_new_SetCursorEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45162 { (char *)"SetCursorEvent_GetX", (PyCFunction
) _wrap_SetCursorEvent_GetX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45163 { (char *)"SetCursorEvent_GetY", (PyCFunction
) _wrap_SetCursorEvent_GetY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45164 { (char *)"SetCursorEvent_SetCursor", (PyCFunction
) _wrap_SetCursorEvent_SetCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45165 { (char *)"SetCursorEvent_GetCursor", (PyCFunction
) _wrap_SetCursorEvent_GetCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45166 { (char *)"SetCursorEvent_HasCursor", (PyCFunction
) _wrap_SetCursorEvent_HasCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45167 { (char *)"SetCursorEvent_swigregister", SetCursorEvent_swigregister
, METH_VARARGS
, NULL
},
45168 { (char *)"new_KeyEvent", (PyCFunction
) _wrap_new_KeyEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45169 { (char *)"KeyEvent_ControlDown", (PyCFunction
) _wrap_KeyEvent_ControlDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45170 { (char *)"KeyEvent_MetaDown", (PyCFunction
) _wrap_KeyEvent_MetaDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45171 { (char *)"KeyEvent_AltDown", (PyCFunction
) _wrap_KeyEvent_AltDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45172 { (char *)"KeyEvent_ShiftDown", (PyCFunction
) _wrap_KeyEvent_ShiftDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45173 { (char *)"KeyEvent_CmdDown", (PyCFunction
) _wrap_KeyEvent_CmdDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45174 { (char *)"KeyEvent_HasModifiers", (PyCFunction
) _wrap_KeyEvent_HasModifiers
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45175 { (char *)"KeyEvent_GetKeyCode", (PyCFunction
) _wrap_KeyEvent_GetKeyCode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45176 { (char *)"KeyEvent_GetUnicodeKey", (PyCFunction
) _wrap_KeyEvent_GetUnicodeKey
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45177 { (char *)"KeyEvent_GetRawKeyCode", (PyCFunction
) _wrap_KeyEvent_GetRawKeyCode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45178 { (char *)"KeyEvent_GetRawKeyFlags", (PyCFunction
) _wrap_KeyEvent_GetRawKeyFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45179 { (char *)"KeyEvent_GetPosition", (PyCFunction
) _wrap_KeyEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45180 { (char *)"KeyEvent_GetPositionTuple", (PyCFunction
) _wrap_KeyEvent_GetPositionTuple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45181 { (char *)"KeyEvent_GetX", (PyCFunction
) _wrap_KeyEvent_GetX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45182 { (char *)"KeyEvent_GetY", (PyCFunction
) _wrap_KeyEvent_GetY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45183 { (char *)"KeyEvent_m_x_set", (PyCFunction
) _wrap_KeyEvent_m_x_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45184 { (char *)"KeyEvent_m_x_get", (PyCFunction
) _wrap_KeyEvent_m_x_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45185 { (char *)"KeyEvent_m_y_set", (PyCFunction
) _wrap_KeyEvent_m_y_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45186 { (char *)"KeyEvent_m_y_get", (PyCFunction
) _wrap_KeyEvent_m_y_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45187 { (char *)"KeyEvent_m_keyCode_set", (PyCFunction
) _wrap_KeyEvent_m_keyCode_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45188 { (char *)"KeyEvent_m_keyCode_get", (PyCFunction
) _wrap_KeyEvent_m_keyCode_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45189 { (char *)"KeyEvent_m_controlDown_set", (PyCFunction
) _wrap_KeyEvent_m_controlDown_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45190 { (char *)"KeyEvent_m_controlDown_get", (PyCFunction
) _wrap_KeyEvent_m_controlDown_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45191 { (char *)"KeyEvent_m_shiftDown_set", (PyCFunction
) _wrap_KeyEvent_m_shiftDown_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45192 { (char *)"KeyEvent_m_shiftDown_get", (PyCFunction
) _wrap_KeyEvent_m_shiftDown_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45193 { (char *)"KeyEvent_m_altDown_set", (PyCFunction
) _wrap_KeyEvent_m_altDown_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45194 { (char *)"KeyEvent_m_altDown_get", (PyCFunction
) _wrap_KeyEvent_m_altDown_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45195 { (char *)"KeyEvent_m_metaDown_set", (PyCFunction
) _wrap_KeyEvent_m_metaDown_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45196 { (char *)"KeyEvent_m_metaDown_get", (PyCFunction
) _wrap_KeyEvent_m_metaDown_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45197 { (char *)"KeyEvent_m_scanCode_set", (PyCFunction
) _wrap_KeyEvent_m_scanCode_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45198 { (char *)"KeyEvent_m_scanCode_get", (PyCFunction
) _wrap_KeyEvent_m_scanCode_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45199 { (char *)"KeyEvent_m_rawCode_set", (PyCFunction
) _wrap_KeyEvent_m_rawCode_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45200 { (char *)"KeyEvent_m_rawCode_get", (PyCFunction
) _wrap_KeyEvent_m_rawCode_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45201 { (char *)"KeyEvent_m_rawFlags_set", (PyCFunction
) _wrap_KeyEvent_m_rawFlags_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45202 { (char *)"KeyEvent_m_rawFlags_get", (PyCFunction
) _wrap_KeyEvent_m_rawFlags_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45203 { (char *)"KeyEvent_swigregister", KeyEvent_swigregister
, METH_VARARGS
, NULL
},
45204 { (char *)"new_SizeEvent", (PyCFunction
) _wrap_new_SizeEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45205 { (char *)"SizeEvent_GetSize", (PyCFunction
) _wrap_SizeEvent_GetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45206 { (char *)"SizeEvent_GetRect", (PyCFunction
) _wrap_SizeEvent_GetRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45207 { (char *)"SizeEvent_SetRect", (PyCFunction
) _wrap_SizeEvent_SetRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45208 { (char *)"SizeEvent_SetSize", (PyCFunction
) _wrap_SizeEvent_SetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45209 { (char *)"SizeEvent_m_size_set", (PyCFunction
) _wrap_SizeEvent_m_size_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45210 { (char *)"SizeEvent_m_size_get", (PyCFunction
) _wrap_SizeEvent_m_size_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45211 { (char *)"SizeEvent_m_rect_set", (PyCFunction
) _wrap_SizeEvent_m_rect_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45212 { (char *)"SizeEvent_m_rect_get", (PyCFunction
) _wrap_SizeEvent_m_rect_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45213 { (char *)"SizeEvent_swigregister", SizeEvent_swigregister
, METH_VARARGS
, NULL
},
45214 { (char *)"new_MoveEvent", (PyCFunction
) _wrap_new_MoveEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45215 { (char *)"MoveEvent_GetPosition", (PyCFunction
) _wrap_MoveEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45216 { (char *)"MoveEvent_GetRect", (PyCFunction
) _wrap_MoveEvent_GetRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45217 { (char *)"MoveEvent_SetRect", (PyCFunction
) _wrap_MoveEvent_SetRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45218 { (char *)"MoveEvent_SetPosition", (PyCFunction
) _wrap_MoveEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45219 { (char *)"MoveEvent_swigregister", MoveEvent_swigregister
, METH_VARARGS
, NULL
},
45220 { (char *)"new_PaintEvent", (PyCFunction
) _wrap_new_PaintEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45221 { (char *)"PaintEvent_swigregister", PaintEvent_swigregister
, METH_VARARGS
, NULL
},
45222 { (char *)"new_NcPaintEvent", (PyCFunction
) _wrap_new_NcPaintEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45223 { (char *)"NcPaintEvent_swigregister", NcPaintEvent_swigregister
, METH_VARARGS
, NULL
},
45224 { (char *)"new_EraseEvent", (PyCFunction
) _wrap_new_EraseEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45225 { (char *)"EraseEvent_GetDC", (PyCFunction
) _wrap_EraseEvent_GetDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45226 { (char *)"EraseEvent_swigregister", EraseEvent_swigregister
, METH_VARARGS
, NULL
},
45227 { (char *)"new_FocusEvent", (PyCFunction
) _wrap_new_FocusEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45228 { (char *)"FocusEvent_GetWindow", (PyCFunction
) _wrap_FocusEvent_GetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45229 { (char *)"FocusEvent_SetWindow", (PyCFunction
) _wrap_FocusEvent_SetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45230 { (char *)"FocusEvent_swigregister", FocusEvent_swigregister
, METH_VARARGS
, NULL
},
45231 { (char *)"new_ChildFocusEvent", (PyCFunction
) _wrap_new_ChildFocusEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45232 { (char *)"ChildFocusEvent_GetWindow", (PyCFunction
) _wrap_ChildFocusEvent_GetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45233 { (char *)"ChildFocusEvent_swigregister", ChildFocusEvent_swigregister
, METH_VARARGS
, NULL
},
45234 { (char *)"new_ActivateEvent", (PyCFunction
) _wrap_new_ActivateEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45235 { (char *)"ActivateEvent_GetActive", (PyCFunction
) _wrap_ActivateEvent_GetActive
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45236 { (char *)"ActivateEvent_swigregister", ActivateEvent_swigregister
, METH_VARARGS
, NULL
},
45237 { (char *)"new_InitDialogEvent", (PyCFunction
) _wrap_new_InitDialogEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45238 { (char *)"InitDialogEvent_swigregister", InitDialogEvent_swigregister
, METH_VARARGS
, NULL
},
45239 { (char *)"new_MenuEvent", (PyCFunction
) _wrap_new_MenuEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45240 { (char *)"MenuEvent_GetMenuId", (PyCFunction
) _wrap_MenuEvent_GetMenuId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45241 { (char *)"MenuEvent_IsPopup", (PyCFunction
) _wrap_MenuEvent_IsPopup
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45242 { (char *)"MenuEvent_GetMenu", (PyCFunction
) _wrap_MenuEvent_GetMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45243 { (char *)"MenuEvent_swigregister", MenuEvent_swigregister
, METH_VARARGS
, NULL
},
45244 { (char *)"new_CloseEvent", (PyCFunction
) _wrap_new_CloseEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45245 { (char *)"CloseEvent_SetLoggingOff", (PyCFunction
) _wrap_CloseEvent_SetLoggingOff
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45246 { (char *)"CloseEvent_GetLoggingOff", (PyCFunction
) _wrap_CloseEvent_GetLoggingOff
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45247 { (char *)"CloseEvent_Veto", (PyCFunction
) _wrap_CloseEvent_Veto
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45248 { (char *)"CloseEvent_SetCanVeto", (PyCFunction
) _wrap_CloseEvent_SetCanVeto
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45249 { (char *)"CloseEvent_CanVeto", (PyCFunction
) _wrap_CloseEvent_CanVeto
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45250 { (char *)"CloseEvent_GetVeto", (PyCFunction
) _wrap_CloseEvent_GetVeto
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45251 { (char *)"CloseEvent_swigregister", CloseEvent_swigregister
, METH_VARARGS
, NULL
},
45252 { (char *)"new_ShowEvent", (PyCFunction
) _wrap_new_ShowEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45253 { (char *)"ShowEvent_SetShow", (PyCFunction
) _wrap_ShowEvent_SetShow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45254 { (char *)"ShowEvent_GetShow", (PyCFunction
) _wrap_ShowEvent_GetShow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45255 { (char *)"ShowEvent_swigregister", ShowEvent_swigregister
, METH_VARARGS
, NULL
},
45256 { (char *)"new_IconizeEvent", (PyCFunction
) _wrap_new_IconizeEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45257 { (char *)"IconizeEvent_Iconized", (PyCFunction
) _wrap_IconizeEvent_Iconized
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45258 { (char *)"IconizeEvent_swigregister", IconizeEvent_swigregister
, METH_VARARGS
, NULL
},
45259 { (char *)"new_MaximizeEvent", (PyCFunction
) _wrap_new_MaximizeEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45260 { (char *)"MaximizeEvent_swigregister", MaximizeEvent_swigregister
, METH_VARARGS
, NULL
},
45261 { (char *)"DropFilesEvent_GetPosition", (PyCFunction
) _wrap_DropFilesEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45262 { (char *)"DropFilesEvent_GetNumberOfFiles", (PyCFunction
) _wrap_DropFilesEvent_GetNumberOfFiles
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45263 { (char *)"DropFilesEvent_GetFiles", (PyCFunction
) _wrap_DropFilesEvent_GetFiles
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45264 { (char *)"DropFilesEvent_swigregister", DropFilesEvent_swigregister
, METH_VARARGS
, NULL
},
45265 { (char *)"new_UpdateUIEvent", (PyCFunction
) _wrap_new_UpdateUIEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45266 { (char *)"UpdateUIEvent_GetChecked", (PyCFunction
) _wrap_UpdateUIEvent_GetChecked
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45267 { (char *)"UpdateUIEvent_GetEnabled", (PyCFunction
) _wrap_UpdateUIEvent_GetEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45268 { (char *)"UpdateUIEvent_GetText", (PyCFunction
) _wrap_UpdateUIEvent_GetText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45269 { (char *)"UpdateUIEvent_GetSetText", (PyCFunction
) _wrap_UpdateUIEvent_GetSetText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45270 { (char *)"UpdateUIEvent_GetSetChecked", (PyCFunction
) _wrap_UpdateUIEvent_GetSetChecked
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45271 { (char *)"UpdateUIEvent_GetSetEnabled", (PyCFunction
) _wrap_UpdateUIEvent_GetSetEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45272 { (char *)"UpdateUIEvent_Check", (PyCFunction
) _wrap_UpdateUIEvent_Check
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45273 { (char *)"UpdateUIEvent_Enable", (PyCFunction
) _wrap_UpdateUIEvent_Enable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45274 { (char *)"UpdateUIEvent_SetText", (PyCFunction
) _wrap_UpdateUIEvent_SetText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45275 { (char *)"UpdateUIEvent_SetUpdateInterval", (PyCFunction
) _wrap_UpdateUIEvent_SetUpdateInterval
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45276 { (char *)"UpdateUIEvent_GetUpdateInterval", (PyCFunction
) _wrap_UpdateUIEvent_GetUpdateInterval
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45277 { (char *)"UpdateUIEvent_CanUpdate", (PyCFunction
) _wrap_UpdateUIEvent_CanUpdate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45278 { (char *)"UpdateUIEvent_ResetUpdateTime", (PyCFunction
) _wrap_UpdateUIEvent_ResetUpdateTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45279 { (char *)"UpdateUIEvent_SetMode", (PyCFunction
) _wrap_UpdateUIEvent_SetMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45280 { (char *)"UpdateUIEvent_GetMode", (PyCFunction
) _wrap_UpdateUIEvent_GetMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45281 { (char *)"UpdateUIEvent_swigregister", UpdateUIEvent_swigregister
, METH_VARARGS
, NULL
},
45282 { (char *)"new_SysColourChangedEvent", (PyCFunction
) _wrap_new_SysColourChangedEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45283 { (char *)"SysColourChangedEvent_swigregister", SysColourChangedEvent_swigregister
, METH_VARARGS
, NULL
},
45284 { (char *)"new_MouseCaptureChangedEvent", (PyCFunction
) _wrap_new_MouseCaptureChangedEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45285 { (char *)"MouseCaptureChangedEvent_GetCapturedWindow", (PyCFunction
) _wrap_MouseCaptureChangedEvent_GetCapturedWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45286 { (char *)"MouseCaptureChangedEvent_swigregister", MouseCaptureChangedEvent_swigregister
, METH_VARARGS
, NULL
},
45287 { (char *)"new_DisplayChangedEvent", (PyCFunction
) _wrap_new_DisplayChangedEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45288 { (char *)"DisplayChangedEvent_swigregister", DisplayChangedEvent_swigregister
, METH_VARARGS
, NULL
},
45289 { (char *)"new_PaletteChangedEvent", (PyCFunction
) _wrap_new_PaletteChangedEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45290 { (char *)"PaletteChangedEvent_SetChangedWindow", (PyCFunction
) _wrap_PaletteChangedEvent_SetChangedWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45291 { (char *)"PaletteChangedEvent_GetChangedWindow", (PyCFunction
) _wrap_PaletteChangedEvent_GetChangedWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45292 { (char *)"PaletteChangedEvent_swigregister", PaletteChangedEvent_swigregister
, METH_VARARGS
, NULL
},
45293 { (char *)"new_QueryNewPaletteEvent", (PyCFunction
) _wrap_new_QueryNewPaletteEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45294 { (char *)"QueryNewPaletteEvent_SetPaletteRealized", (PyCFunction
) _wrap_QueryNewPaletteEvent_SetPaletteRealized
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45295 { (char *)"QueryNewPaletteEvent_GetPaletteRealized", (PyCFunction
) _wrap_QueryNewPaletteEvent_GetPaletteRealized
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45296 { (char *)"QueryNewPaletteEvent_swigregister", QueryNewPaletteEvent_swigregister
, METH_VARARGS
, NULL
},
45297 { (char *)"new_NavigationKeyEvent", (PyCFunction
) _wrap_new_NavigationKeyEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45298 { (char *)"NavigationKeyEvent_GetDirection", (PyCFunction
) _wrap_NavigationKeyEvent_GetDirection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45299 { (char *)"NavigationKeyEvent_SetDirection", (PyCFunction
) _wrap_NavigationKeyEvent_SetDirection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45300 { (char *)"NavigationKeyEvent_IsWindowChange", (PyCFunction
) _wrap_NavigationKeyEvent_IsWindowChange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45301 { (char *)"NavigationKeyEvent_SetWindowChange", (PyCFunction
) _wrap_NavigationKeyEvent_SetWindowChange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45302 { (char *)"NavigationKeyEvent_IsFromTab", (PyCFunction
) _wrap_NavigationKeyEvent_IsFromTab
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45303 { (char *)"NavigationKeyEvent_SetFromTab", (PyCFunction
) _wrap_NavigationKeyEvent_SetFromTab
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45304 { (char *)"NavigationKeyEvent_SetFlags", (PyCFunction
) _wrap_NavigationKeyEvent_SetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45305 { (char *)"NavigationKeyEvent_GetCurrentFocus", (PyCFunction
) _wrap_NavigationKeyEvent_GetCurrentFocus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45306 { (char *)"NavigationKeyEvent_SetCurrentFocus", (PyCFunction
) _wrap_NavigationKeyEvent_SetCurrentFocus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45307 { (char *)"NavigationKeyEvent_swigregister", NavigationKeyEvent_swigregister
, METH_VARARGS
, NULL
},
45308 { (char *)"new_WindowCreateEvent", (PyCFunction
) _wrap_new_WindowCreateEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45309 { (char *)"WindowCreateEvent_GetWindow", (PyCFunction
) _wrap_WindowCreateEvent_GetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45310 { (char *)"WindowCreateEvent_swigregister", WindowCreateEvent_swigregister
, METH_VARARGS
, NULL
},
45311 { (char *)"new_WindowDestroyEvent", (PyCFunction
) _wrap_new_WindowDestroyEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45312 { (char *)"WindowDestroyEvent_GetWindow", (PyCFunction
) _wrap_WindowDestroyEvent_GetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45313 { (char *)"WindowDestroyEvent_swigregister", WindowDestroyEvent_swigregister
, METH_VARARGS
, NULL
},
45314 { (char *)"new_ContextMenuEvent", (PyCFunction
) _wrap_new_ContextMenuEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45315 { (char *)"ContextMenuEvent_GetPosition", (PyCFunction
) _wrap_ContextMenuEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45316 { (char *)"ContextMenuEvent_SetPosition", (PyCFunction
) _wrap_ContextMenuEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45317 { (char *)"ContextMenuEvent_swigregister", ContextMenuEvent_swigregister
, METH_VARARGS
, NULL
},
45318 { (char *)"new_IdleEvent", (PyCFunction
) _wrap_new_IdleEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45319 { (char *)"IdleEvent_RequestMore", (PyCFunction
) _wrap_IdleEvent_RequestMore
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45320 { (char *)"IdleEvent_MoreRequested", (PyCFunction
) _wrap_IdleEvent_MoreRequested
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45321 { (char *)"IdleEvent_SetMode", (PyCFunction
) _wrap_IdleEvent_SetMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45322 { (char *)"IdleEvent_GetMode", (PyCFunction
) _wrap_IdleEvent_GetMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45323 { (char *)"IdleEvent_CanSend", (PyCFunction
) _wrap_IdleEvent_CanSend
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45324 { (char *)"IdleEvent_swigregister", IdleEvent_swigregister
, METH_VARARGS
, NULL
},
45325 { (char *)"new_PyEvent", (PyCFunction
) _wrap_new_PyEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45326 { (char *)"delete_PyEvent", (PyCFunction
) _wrap_delete_PyEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45327 { (char *)"PyEvent_SetSelf", (PyCFunction
) _wrap_PyEvent_SetSelf
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45328 { (char *)"PyEvent_GetSelf", (PyCFunction
) _wrap_PyEvent_GetSelf
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45329 { (char *)"PyEvent_swigregister", PyEvent_swigregister
, METH_VARARGS
, NULL
},
45330 { (char *)"new_PyCommandEvent", (PyCFunction
) _wrap_new_PyCommandEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45331 { (char *)"delete_PyCommandEvent", (PyCFunction
) _wrap_delete_PyCommandEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45332 { (char *)"PyCommandEvent_SetSelf", (PyCFunction
) _wrap_PyCommandEvent_SetSelf
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45333 { (char *)"PyCommandEvent_GetSelf", (PyCFunction
) _wrap_PyCommandEvent_GetSelf
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45334 { (char *)"PyCommandEvent_swigregister", PyCommandEvent_swigregister
, METH_VARARGS
, NULL
},
45335 { (char *)"new_DateEvent", (PyCFunction
) _wrap_new_DateEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45336 { (char *)"DateEvent_GetDate", (PyCFunction
) _wrap_DateEvent_GetDate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45337 { (char *)"DateEvent_SetDate", (PyCFunction
) _wrap_DateEvent_SetDate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45338 { (char *)"DateEvent_swigregister", DateEvent_swigregister
, METH_VARARGS
, NULL
},
45339 { (char *)"new_PyApp", (PyCFunction
) _wrap_new_PyApp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45340 { (char *)"delete_PyApp", (PyCFunction
) _wrap_delete_PyApp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45341 { (char *)"PyApp__setCallbackInfo", (PyCFunction
) _wrap_PyApp__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45342 { (char *)"PyApp_GetAppName", (PyCFunction
) _wrap_PyApp_GetAppName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45343 { (char *)"PyApp_SetAppName", (PyCFunction
) _wrap_PyApp_SetAppName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45344 { (char *)"PyApp_GetClassName", (PyCFunction
) _wrap_PyApp_GetClassName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45345 { (char *)"PyApp_SetClassName", (PyCFunction
) _wrap_PyApp_SetClassName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45346 { (char *)"PyApp_GetVendorName", (PyCFunction
) _wrap_PyApp_GetVendorName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45347 { (char *)"PyApp_SetVendorName", (PyCFunction
) _wrap_PyApp_SetVendorName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45348 { (char *)"PyApp_GetTraits", (PyCFunction
) _wrap_PyApp_GetTraits
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45349 { (char *)"PyApp_ProcessPendingEvents", (PyCFunction
) _wrap_PyApp_ProcessPendingEvents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45350 { (char *)"PyApp_Yield", (PyCFunction
) _wrap_PyApp_Yield
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45351 { (char *)"PyApp_WakeUpIdle", (PyCFunction
) _wrap_PyApp_WakeUpIdle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45352 { (char *)"PyApp_IsMainLoopRunning", (PyCFunction
) _wrap_PyApp_IsMainLoopRunning
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45353 { (char *)"PyApp_MainLoop", (PyCFunction
) _wrap_PyApp_MainLoop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45354 { (char *)"PyApp_Exit", (PyCFunction
) _wrap_PyApp_Exit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45355 { (char *)"PyApp_ExitMainLoop", (PyCFunction
) _wrap_PyApp_ExitMainLoop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45356 { (char *)"PyApp_Pending", (PyCFunction
) _wrap_PyApp_Pending
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45357 { (char *)"PyApp_Dispatch", (PyCFunction
) _wrap_PyApp_Dispatch
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45358 { (char *)"PyApp_ProcessIdle", (PyCFunction
) _wrap_PyApp_ProcessIdle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45359 { (char *)"PyApp_SendIdleEvents", (PyCFunction
) _wrap_PyApp_SendIdleEvents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45360 { (char *)"PyApp_IsActive", (PyCFunction
) _wrap_PyApp_IsActive
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45361 { (char *)"PyApp_SetTopWindow", (PyCFunction
) _wrap_PyApp_SetTopWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45362 { (char *)"PyApp_GetTopWindow", (PyCFunction
) _wrap_PyApp_GetTopWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45363 { (char *)"PyApp_SetExitOnFrameDelete", (PyCFunction
) _wrap_PyApp_SetExitOnFrameDelete
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45364 { (char *)"PyApp_GetExitOnFrameDelete", (PyCFunction
) _wrap_PyApp_GetExitOnFrameDelete
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45365 { (char *)"PyApp_SetUseBestVisual", (PyCFunction
) _wrap_PyApp_SetUseBestVisual
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45366 { (char *)"PyApp_GetUseBestVisual", (PyCFunction
) _wrap_PyApp_GetUseBestVisual
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45367 { (char *)"PyApp_SetPrintMode", (PyCFunction
) _wrap_PyApp_SetPrintMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45368 { (char *)"PyApp_GetPrintMode", (PyCFunction
) _wrap_PyApp_GetPrintMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45369 { (char *)"PyApp_SetAssertMode", (PyCFunction
) _wrap_PyApp_SetAssertMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45370 { (char *)"PyApp_GetAssertMode", (PyCFunction
) _wrap_PyApp_GetAssertMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45371 { (char *)"PyApp_GetMacSupportPCMenuShortcuts", (PyCFunction
) _wrap_PyApp_GetMacSupportPCMenuShortcuts
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45372 { (char *)"PyApp_GetMacAboutMenuItemId", (PyCFunction
) _wrap_PyApp_GetMacAboutMenuItemId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45373 { (char *)"PyApp_GetMacPreferencesMenuItemId", (PyCFunction
) _wrap_PyApp_GetMacPreferencesMenuItemId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45374 { (char *)"PyApp_GetMacExitMenuItemId", (PyCFunction
) _wrap_PyApp_GetMacExitMenuItemId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45375 { (char *)"PyApp_GetMacHelpMenuTitleName", (PyCFunction
) _wrap_PyApp_GetMacHelpMenuTitleName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45376 { (char *)"PyApp_SetMacSupportPCMenuShortcuts", (PyCFunction
) _wrap_PyApp_SetMacSupportPCMenuShortcuts
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45377 { (char *)"PyApp_SetMacAboutMenuItemId", (PyCFunction
) _wrap_PyApp_SetMacAboutMenuItemId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45378 { (char *)"PyApp_SetMacPreferencesMenuItemId", (PyCFunction
) _wrap_PyApp_SetMacPreferencesMenuItemId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45379 { (char *)"PyApp_SetMacExitMenuItemId", (PyCFunction
) _wrap_PyApp_SetMacExitMenuItemId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45380 { (char *)"PyApp_SetMacHelpMenuTitleName", (PyCFunction
) _wrap_PyApp_SetMacHelpMenuTitleName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45381 { (char *)"PyApp__BootstrapApp", (PyCFunction
) _wrap_PyApp__BootstrapApp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45382 { (char *)"PyApp_GetComCtl32Version", (PyCFunction
) _wrap_PyApp_GetComCtl32Version
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45383 { (char *)"PyApp_swigregister", PyApp_swigregister
, METH_VARARGS
, NULL
},
45384 { (char *)"Exit", (PyCFunction
) _wrap_Exit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45385 { (char *)"Yield", (PyCFunction
) _wrap_Yield
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45386 { (char *)"YieldIfNeeded", (PyCFunction
) _wrap_YieldIfNeeded
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45387 { (char *)"SafeYield", (PyCFunction
) _wrap_SafeYield
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45388 { (char *)"WakeUpIdle", (PyCFunction
) _wrap_WakeUpIdle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45389 { (char *)"PostEvent", (PyCFunction
) _wrap_PostEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45390 { (char *)"App_CleanUp", (PyCFunction
) _wrap_App_CleanUp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45391 { (char *)"GetApp", (PyCFunction
) _wrap_GetApp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45392 { (char *)"SetDefaultPyEncoding", (PyCFunction
) _wrap_SetDefaultPyEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45393 { (char *)"GetDefaultPyEncoding", (PyCFunction
) _wrap_GetDefaultPyEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45394 { (char *)"new_EventLoop", (PyCFunction
) _wrap_new_EventLoop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45395 { (char *)"delete_EventLoop", (PyCFunction
) _wrap_delete_EventLoop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45396 { (char *)"EventLoop_Run", (PyCFunction
) _wrap_EventLoop_Run
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45397 { (char *)"EventLoop_Exit", (PyCFunction
) _wrap_EventLoop_Exit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45398 { (char *)"EventLoop_Pending", (PyCFunction
) _wrap_EventLoop_Pending
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45399 { (char *)"EventLoop_Dispatch", (PyCFunction
) _wrap_EventLoop_Dispatch
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45400 { (char *)"EventLoop_IsRunning", (PyCFunction
) _wrap_EventLoop_IsRunning
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45401 { (char *)"EventLoop_GetActive", (PyCFunction
) _wrap_EventLoop_GetActive
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45402 { (char *)"EventLoop_SetActive", (PyCFunction
) _wrap_EventLoop_SetActive
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45403 { (char *)"EventLoop_swigregister", EventLoop_swigregister
, METH_VARARGS
, NULL
},
45404 { (char *)"new_AcceleratorEntry", (PyCFunction
) _wrap_new_AcceleratorEntry
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45405 { (char *)"delete_AcceleratorEntry", (PyCFunction
) _wrap_delete_AcceleratorEntry
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45406 { (char *)"AcceleratorEntry_Set", (PyCFunction
) _wrap_AcceleratorEntry_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45407 { (char *)"AcceleratorEntry_GetFlags", (PyCFunction
) _wrap_AcceleratorEntry_GetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45408 { (char *)"AcceleratorEntry_GetKeyCode", (PyCFunction
) _wrap_AcceleratorEntry_GetKeyCode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45409 { (char *)"AcceleratorEntry_GetCommand", (PyCFunction
) _wrap_AcceleratorEntry_GetCommand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45410 { (char *)"AcceleratorEntry_swigregister", AcceleratorEntry_swigregister
, METH_VARARGS
, NULL
},
45411 { (char *)"new_AcceleratorTable", (PyCFunction
) _wrap_new_AcceleratorTable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45412 { (char *)"delete_AcceleratorTable", (PyCFunction
) _wrap_delete_AcceleratorTable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45413 { (char *)"AcceleratorTable_Ok", (PyCFunction
) _wrap_AcceleratorTable_Ok
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45414 { (char *)"AcceleratorTable_swigregister", AcceleratorTable_swigregister
, METH_VARARGS
, NULL
},
45415 { (char *)"GetAccelFromString", (PyCFunction
) _wrap_GetAccelFromString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45416 { (char *)"new_VisualAttributes", (PyCFunction
) _wrap_new_VisualAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45417 { (char *)"delete_VisualAttributes", (PyCFunction
) _wrap_delete_VisualAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45418 { (char *)"VisualAttributes_font_set", (PyCFunction
) _wrap_VisualAttributes_font_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45419 { (char *)"VisualAttributes_font_get", (PyCFunction
) _wrap_VisualAttributes_font_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45420 { (char *)"VisualAttributes_colFg_set", (PyCFunction
) _wrap_VisualAttributes_colFg_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45421 { (char *)"VisualAttributes_colFg_get", (PyCFunction
) _wrap_VisualAttributes_colFg_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45422 { (char *)"VisualAttributes_colBg_set", (PyCFunction
) _wrap_VisualAttributes_colBg_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45423 { (char *)"VisualAttributes_colBg_get", (PyCFunction
) _wrap_VisualAttributes_colBg_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45424 { (char *)"VisualAttributes_swigregister", VisualAttributes_swigregister
, METH_VARARGS
, NULL
},
45425 { (char *)"new_Window", (PyCFunction
) _wrap_new_Window
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45426 { (char *)"new_PreWindow", (PyCFunction
) _wrap_new_PreWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45427 { (char *)"Window_Create", (PyCFunction
) _wrap_Window_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45428 { (char *)"Window_Close", (PyCFunction
) _wrap_Window_Close
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45429 { (char *)"Window_Destroy", (PyCFunction
) _wrap_Window_Destroy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45430 { (char *)"Window_DestroyChildren", (PyCFunction
) _wrap_Window_DestroyChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45431 { (char *)"Window_IsBeingDeleted", (PyCFunction
) _wrap_Window_IsBeingDeleted
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45432 { (char *)"Window_SetTitle", (PyCFunction
) _wrap_Window_SetTitle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45433 { (char *)"Window_GetTitle", (PyCFunction
) _wrap_Window_GetTitle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45434 { (char *)"Window_SetLabel", (PyCFunction
) _wrap_Window_SetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45435 { (char *)"Window_GetLabel", (PyCFunction
) _wrap_Window_GetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45436 { (char *)"Window_SetName", (PyCFunction
) _wrap_Window_SetName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45437 { (char *)"Window_GetName", (PyCFunction
) _wrap_Window_GetName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45438 { (char *)"Window_SetWindowVariant", (PyCFunction
) _wrap_Window_SetWindowVariant
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45439 { (char *)"Window_GetWindowVariant", (PyCFunction
) _wrap_Window_GetWindowVariant
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45440 { (char *)"Window_SetId", (PyCFunction
) _wrap_Window_SetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45441 { (char *)"Window_GetId", (PyCFunction
) _wrap_Window_GetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45442 { (char *)"Window_NewControlId", (PyCFunction
) _wrap_Window_NewControlId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45443 { (char *)"Window_NextControlId", (PyCFunction
) _wrap_Window_NextControlId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45444 { (char *)"Window_PrevControlId", (PyCFunction
) _wrap_Window_PrevControlId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45445 { (char *)"Window_SetSize", (PyCFunction
) _wrap_Window_SetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45446 { (char *)"Window_SetDimensions", (PyCFunction
) _wrap_Window_SetDimensions
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45447 { (char *)"Window_SetRect", (PyCFunction
) _wrap_Window_SetRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45448 { (char *)"Window_SetSizeWH", (PyCFunction
) _wrap_Window_SetSizeWH
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45449 { (char *)"Window_Move", (PyCFunction
) _wrap_Window_Move
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45450 { (char *)"Window_MoveXY", (PyCFunction
) _wrap_Window_MoveXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45451 { (char *)"Window_SetBestFittingSize", (PyCFunction
) _wrap_Window_SetBestFittingSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45452 { (char *)"Window_Raise", (PyCFunction
) _wrap_Window_Raise
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45453 { (char *)"Window_Lower", (PyCFunction
) _wrap_Window_Lower
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45454 { (char *)"Window_SetClientSize", (PyCFunction
) _wrap_Window_SetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45455 { (char *)"Window_SetClientSizeWH", (PyCFunction
) _wrap_Window_SetClientSizeWH
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45456 { (char *)"Window_SetClientRect", (PyCFunction
) _wrap_Window_SetClientRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45457 { (char *)"Window_GetPosition", (PyCFunction
) _wrap_Window_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45458 { (char *)"Window_GetPositionTuple", (PyCFunction
) _wrap_Window_GetPositionTuple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45459 { (char *)"Window_GetSize", (PyCFunction
) _wrap_Window_GetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45460 { (char *)"Window_GetSizeTuple", (PyCFunction
) _wrap_Window_GetSizeTuple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45461 { (char *)"Window_GetRect", (PyCFunction
) _wrap_Window_GetRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45462 { (char *)"Window_GetClientSize", (PyCFunction
) _wrap_Window_GetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45463 { (char *)"Window_GetClientSizeTuple", (PyCFunction
) _wrap_Window_GetClientSizeTuple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45464 { (char *)"Window_GetClientAreaOrigin", (PyCFunction
) _wrap_Window_GetClientAreaOrigin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45465 { (char *)"Window_GetClientRect", (PyCFunction
) _wrap_Window_GetClientRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45466 { (char *)"Window_GetBestSize", (PyCFunction
) _wrap_Window_GetBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45467 { (char *)"Window_GetBestSizeTuple", (PyCFunction
) _wrap_Window_GetBestSizeTuple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45468 { (char *)"Window_InvalidateBestSize", (PyCFunction
) _wrap_Window_InvalidateBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45469 { (char *)"Window_GetBestFittingSize", (PyCFunction
) _wrap_Window_GetBestFittingSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45470 { (char *)"Window_GetAdjustedBestSize", (PyCFunction
) _wrap_Window_GetAdjustedBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45471 { (char *)"Window_Center", (PyCFunction
) _wrap_Window_Center
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45472 { (char *)"Window_CenterOnScreen", (PyCFunction
) _wrap_Window_CenterOnScreen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45473 { (char *)"Window_CenterOnParent", (PyCFunction
) _wrap_Window_CenterOnParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45474 { (char *)"Window_Fit", (PyCFunction
) _wrap_Window_Fit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45475 { (char *)"Window_FitInside", (PyCFunction
) _wrap_Window_FitInside
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45476 { (char *)"Window_SetSizeHints", (PyCFunction
) _wrap_Window_SetSizeHints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45477 { (char *)"Window_SetSizeHintsSz", (PyCFunction
) _wrap_Window_SetSizeHintsSz
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45478 { (char *)"Window_SetVirtualSizeHints", (PyCFunction
) _wrap_Window_SetVirtualSizeHints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45479 { (char *)"Window_SetVirtualSizeHintsSz", (PyCFunction
) _wrap_Window_SetVirtualSizeHintsSz
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45480 { (char *)"Window_GetMaxSize", (PyCFunction
) _wrap_Window_GetMaxSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45481 { (char *)"Window_GetMinSize", (PyCFunction
) _wrap_Window_GetMinSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45482 { (char *)"Window_SetMinSize", (PyCFunction
) _wrap_Window_SetMinSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45483 { (char *)"Window_SetMaxSize", (PyCFunction
) _wrap_Window_SetMaxSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45484 { (char *)"Window_GetMinWidth", (PyCFunction
) _wrap_Window_GetMinWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45485 { (char *)"Window_GetMinHeight", (PyCFunction
) _wrap_Window_GetMinHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45486 { (char *)"Window_GetMaxWidth", (PyCFunction
) _wrap_Window_GetMaxWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45487 { (char *)"Window_GetMaxHeight", (PyCFunction
) _wrap_Window_GetMaxHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45488 { (char *)"Window_SetVirtualSize", (PyCFunction
) _wrap_Window_SetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45489 { (char *)"Window_SetVirtualSizeWH", (PyCFunction
) _wrap_Window_SetVirtualSizeWH
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45490 { (char *)"Window_GetVirtualSize", (PyCFunction
) _wrap_Window_GetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45491 { (char *)"Window_GetVirtualSizeTuple", (PyCFunction
) _wrap_Window_GetVirtualSizeTuple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45492 { (char *)"Window_GetBestVirtualSize", (PyCFunction
) _wrap_Window_GetBestVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45493 { (char *)"Window_Show", (PyCFunction
) _wrap_Window_Show
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45494 { (char *)"Window_Hide", (PyCFunction
) _wrap_Window_Hide
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45495 { (char *)"Window_Enable", (PyCFunction
) _wrap_Window_Enable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45496 { (char *)"Window_Disable", (PyCFunction
) _wrap_Window_Disable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45497 { (char *)"Window_IsShown", (PyCFunction
) _wrap_Window_IsShown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45498 { (char *)"Window_IsEnabled", (PyCFunction
) _wrap_Window_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45499 { (char *)"Window_SetWindowStyleFlag", (PyCFunction
) _wrap_Window_SetWindowStyleFlag
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45500 { (char *)"Window_GetWindowStyleFlag", (PyCFunction
) _wrap_Window_GetWindowStyleFlag
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45501 { (char *)"Window_HasFlag", (PyCFunction
) _wrap_Window_HasFlag
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45502 { (char *)"Window_IsRetained", (PyCFunction
) _wrap_Window_IsRetained
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45503 { (char *)"Window_SetExtraStyle", (PyCFunction
) _wrap_Window_SetExtraStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45504 { (char *)"Window_GetExtraStyle", (PyCFunction
) _wrap_Window_GetExtraStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45505 { (char *)"Window_MakeModal", (PyCFunction
) _wrap_Window_MakeModal
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45506 { (char *)"Window_SetThemeEnabled", (PyCFunction
) _wrap_Window_SetThemeEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45507 { (char *)"Window_GetThemeEnabled", (PyCFunction
) _wrap_Window_GetThemeEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45508 { (char *)"Window_SetFocus", (PyCFunction
) _wrap_Window_SetFocus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45509 { (char *)"Window_SetFocusFromKbd", (PyCFunction
) _wrap_Window_SetFocusFromKbd
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45510 { (char *)"Window_FindFocus", (PyCFunction
) _wrap_Window_FindFocus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45511 { (char *)"Window_AcceptsFocus", (PyCFunction
) _wrap_Window_AcceptsFocus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45512 { (char *)"Window_AcceptsFocusFromKeyboard", (PyCFunction
) _wrap_Window_AcceptsFocusFromKeyboard
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45513 { (char *)"Window_GetDefaultItem", (PyCFunction
) _wrap_Window_GetDefaultItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45514 { (char *)"Window_SetDefaultItem", (PyCFunction
) _wrap_Window_SetDefaultItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45515 { (char *)"Window_SetTmpDefaultItem", (PyCFunction
) _wrap_Window_SetTmpDefaultItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45516 { (char *)"Window_Navigate", (PyCFunction
) _wrap_Window_Navigate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45517 { (char *)"Window_MoveAfterInTabOrder", (PyCFunction
) _wrap_Window_MoveAfterInTabOrder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45518 { (char *)"Window_MoveBeforeInTabOrder", (PyCFunction
) _wrap_Window_MoveBeforeInTabOrder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45519 { (char *)"Window_GetChildren", (PyCFunction
) _wrap_Window_GetChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45520 { (char *)"Window_GetParent", (PyCFunction
) _wrap_Window_GetParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45521 { (char *)"Window_GetGrandParent", (PyCFunction
) _wrap_Window_GetGrandParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45522 { (char *)"Window_IsTopLevel", (PyCFunction
) _wrap_Window_IsTopLevel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45523 { (char *)"Window_Reparent", (PyCFunction
) _wrap_Window_Reparent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45524 { (char *)"Window_AddChild", (PyCFunction
) _wrap_Window_AddChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45525 { (char *)"Window_RemoveChild", (PyCFunction
) _wrap_Window_RemoveChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45526 { (char *)"Window_FindWindowById", (PyCFunction
) _wrap_Window_FindWindowById
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45527 { (char *)"Window_FindWindowByName", (PyCFunction
) _wrap_Window_FindWindowByName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45528 { (char *)"Window_GetEventHandler", (PyCFunction
) _wrap_Window_GetEventHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45529 { (char *)"Window_SetEventHandler", (PyCFunction
) _wrap_Window_SetEventHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45530 { (char *)"Window_PushEventHandler", (PyCFunction
) _wrap_Window_PushEventHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45531 { (char *)"Window_PopEventHandler", (PyCFunction
) _wrap_Window_PopEventHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45532 { (char *)"Window_RemoveEventHandler", (PyCFunction
) _wrap_Window_RemoveEventHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45533 { (char *)"Window_SetValidator", (PyCFunction
) _wrap_Window_SetValidator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45534 { (char *)"Window_GetValidator", (PyCFunction
) _wrap_Window_GetValidator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45535 { (char *)"Window_Validate", (PyCFunction
) _wrap_Window_Validate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45536 { (char *)"Window_TransferDataToWindow", (PyCFunction
) _wrap_Window_TransferDataToWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45537 { (char *)"Window_TransferDataFromWindow", (PyCFunction
) _wrap_Window_TransferDataFromWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45538 { (char *)"Window_InitDialog", (PyCFunction
) _wrap_Window_InitDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45539 { (char *)"Window_SetAcceleratorTable", (PyCFunction
) _wrap_Window_SetAcceleratorTable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45540 { (char *)"Window_GetAcceleratorTable", (PyCFunction
) _wrap_Window_GetAcceleratorTable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45541 { (char *)"Window_RegisterHotKey", (PyCFunction
) _wrap_Window_RegisterHotKey
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45542 { (char *)"Window_UnregisterHotKey", (PyCFunction
) _wrap_Window_UnregisterHotKey
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45543 { (char *)"Window_ConvertDialogPointToPixels", (PyCFunction
) _wrap_Window_ConvertDialogPointToPixels
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45544 { (char *)"Window_ConvertDialogSizeToPixels", (PyCFunction
) _wrap_Window_ConvertDialogSizeToPixels
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45545 { (char *)"Window_DLG_PNT", (PyCFunction
) _wrap_Window_DLG_PNT
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45546 { (char *)"Window_DLG_SZE", (PyCFunction
) _wrap_Window_DLG_SZE
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45547 { (char *)"Window_ConvertPixelPointToDialog", (PyCFunction
) _wrap_Window_ConvertPixelPointToDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45548 { (char *)"Window_ConvertPixelSizeToDialog", (PyCFunction
) _wrap_Window_ConvertPixelSizeToDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45549 { (char *)"Window_WarpPointer", (PyCFunction
) _wrap_Window_WarpPointer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45550 { (char *)"Window_CaptureMouse", (PyCFunction
) _wrap_Window_CaptureMouse
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45551 { (char *)"Window_ReleaseMouse", (PyCFunction
) _wrap_Window_ReleaseMouse
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45552 { (char *)"Window_GetCapture", (PyCFunction
) _wrap_Window_GetCapture
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45553 { (char *)"Window_HasCapture", (PyCFunction
) _wrap_Window_HasCapture
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45554 { (char *)"Window_Refresh", (PyCFunction
) _wrap_Window_Refresh
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45555 { (char *)"Window_RefreshRect", (PyCFunction
) _wrap_Window_RefreshRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45556 { (char *)"Window_Update", (PyCFunction
) _wrap_Window_Update
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45557 { (char *)"Window_ClearBackground", (PyCFunction
) _wrap_Window_ClearBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45558 { (char *)"Window_Freeze", (PyCFunction
) _wrap_Window_Freeze
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45559 { (char *)"Window_Thaw", (PyCFunction
) _wrap_Window_Thaw
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45560 { (char *)"Window_PrepareDC", (PyCFunction
) _wrap_Window_PrepareDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45561 { (char *)"Window_GetUpdateRegion", (PyCFunction
) _wrap_Window_GetUpdateRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45562 { (char *)"Window_GetUpdateClientRect", (PyCFunction
) _wrap_Window_GetUpdateClientRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45563 { (char *)"Window_IsExposed", (PyCFunction
) _wrap_Window_IsExposed
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45564 { (char *)"Window_IsExposedPoint", (PyCFunction
) _wrap_Window_IsExposedPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45565 { (char *)"Window_IsExposedRect", (PyCFunction
) _wrap_Window_IsExposedRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45566 { (char *)"Window_GetDefaultAttributes", (PyCFunction
) _wrap_Window_GetDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45567 { (char *)"Window_GetClassDefaultAttributes", (PyCFunction
) _wrap_Window_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45568 { (char *)"Window_SetBackgroundColour", (PyCFunction
) _wrap_Window_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45569 { (char *)"Window_SetOwnBackgroundColour", (PyCFunction
) _wrap_Window_SetOwnBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45570 { (char *)"Window_SetForegroundColour", (PyCFunction
) _wrap_Window_SetForegroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45571 { (char *)"Window_SetOwnForegroundColour", (PyCFunction
) _wrap_Window_SetOwnForegroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45572 { (char *)"Window_GetBackgroundColour", (PyCFunction
) _wrap_Window_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45573 { (char *)"Window_GetForegroundColour", (PyCFunction
) _wrap_Window_GetForegroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45574 { (char *)"Window_SetBackgroundStyle", (PyCFunction
) _wrap_Window_SetBackgroundStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45575 { (char *)"Window_GetBackgroundStyle", (PyCFunction
) _wrap_Window_GetBackgroundStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45576 { (char *)"Window_HasTransparentBackground", (PyCFunction
) _wrap_Window_HasTransparentBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45577 { (char *)"Window_SetCursor", (PyCFunction
) _wrap_Window_SetCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45578 { (char *)"Window_GetCursor", (PyCFunction
) _wrap_Window_GetCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45579 { (char *)"Window_SetFont", (PyCFunction
) _wrap_Window_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45580 { (char *)"Window_SetOwnFont", (PyCFunction
) _wrap_Window_SetOwnFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45581 { (char *)"Window_GetFont", (PyCFunction
) _wrap_Window_GetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45582 { (char *)"Window_SetCaret", (PyCFunction
) _wrap_Window_SetCaret
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45583 { (char *)"Window_GetCaret", (PyCFunction
) _wrap_Window_GetCaret
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45584 { (char *)"Window_GetCharHeight", (PyCFunction
) _wrap_Window_GetCharHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45585 { (char *)"Window_GetCharWidth", (PyCFunction
) _wrap_Window_GetCharWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45586 { (char *)"Window_GetTextExtent", (PyCFunction
) _wrap_Window_GetTextExtent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45587 { (char *)"Window_GetFullTextExtent", (PyCFunction
) _wrap_Window_GetFullTextExtent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45588 { (char *)"Window_ClientToScreenXY", (PyCFunction
) _wrap_Window_ClientToScreenXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45589 { (char *)"Window_ScreenToClientXY", (PyCFunction
) _wrap_Window_ScreenToClientXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45590 { (char *)"Window_ClientToScreen", (PyCFunction
) _wrap_Window_ClientToScreen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45591 { (char *)"Window_ScreenToClient", (PyCFunction
) _wrap_Window_ScreenToClient
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45592 { (char *)"Window_HitTestXY", (PyCFunction
) _wrap_Window_HitTestXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45593 { (char *)"Window_HitTest", (PyCFunction
) _wrap_Window_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45594 { (char *)"Window_GetBorder", _wrap_Window_GetBorder
, METH_VARARGS
, NULL
},
45595 { (char *)"Window_UpdateWindowUI", (PyCFunction
) _wrap_Window_UpdateWindowUI
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45596 { (char *)"Window_PopupMenuXY", (PyCFunction
) _wrap_Window_PopupMenuXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45597 { (char *)"Window_PopupMenu", (PyCFunction
) _wrap_Window_PopupMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45598 { (char *)"Window_GetHandle", (PyCFunction
) _wrap_Window_GetHandle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45599 { (char *)"Window_AssociateHandle", (PyCFunction
) _wrap_Window_AssociateHandle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45600 { (char *)"Window_DissociateHandle", (PyCFunction
) _wrap_Window_DissociateHandle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45601 { (char *)"Window_HasScrollbar", (PyCFunction
) _wrap_Window_HasScrollbar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45602 { (char *)"Window_SetScrollbar", (PyCFunction
) _wrap_Window_SetScrollbar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45603 { (char *)"Window_SetScrollPos", (PyCFunction
) _wrap_Window_SetScrollPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45604 { (char *)"Window_GetScrollPos", (PyCFunction
) _wrap_Window_GetScrollPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45605 { (char *)"Window_GetScrollThumb", (PyCFunction
) _wrap_Window_GetScrollThumb
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45606 { (char *)"Window_GetScrollRange", (PyCFunction
) _wrap_Window_GetScrollRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45607 { (char *)"Window_ScrollWindow", (PyCFunction
) _wrap_Window_ScrollWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45608 { (char *)"Window_ScrollLines", (PyCFunction
) _wrap_Window_ScrollLines
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45609 { (char *)"Window_ScrollPages", (PyCFunction
) _wrap_Window_ScrollPages
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45610 { (char *)"Window_LineUp", (PyCFunction
) _wrap_Window_LineUp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45611 { (char *)"Window_LineDown", (PyCFunction
) _wrap_Window_LineDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45612 { (char *)"Window_PageUp", (PyCFunction
) _wrap_Window_PageUp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45613 { (char *)"Window_PageDown", (PyCFunction
) _wrap_Window_PageDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45614 { (char *)"Window_SetHelpText", (PyCFunction
) _wrap_Window_SetHelpText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45615 { (char *)"Window_SetHelpTextForId", (PyCFunction
) _wrap_Window_SetHelpTextForId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45616 { (char *)"Window_GetHelpText", (PyCFunction
) _wrap_Window_GetHelpText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45617 { (char *)"Window_SetToolTipString", (PyCFunction
) _wrap_Window_SetToolTipString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45618 { (char *)"Window_SetToolTip", (PyCFunction
) _wrap_Window_SetToolTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45619 { (char *)"Window_GetToolTip", (PyCFunction
) _wrap_Window_GetToolTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45620 { (char *)"Window_SetDropTarget", (PyCFunction
) _wrap_Window_SetDropTarget
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45621 { (char *)"Window_GetDropTarget", (PyCFunction
) _wrap_Window_GetDropTarget
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45622 { (char *)"Window_SetConstraints", (PyCFunction
) _wrap_Window_SetConstraints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45623 { (char *)"Window_GetConstraints", (PyCFunction
) _wrap_Window_GetConstraints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45624 { (char *)"Window_SetAutoLayout", (PyCFunction
) _wrap_Window_SetAutoLayout
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45625 { (char *)"Window_GetAutoLayout", (PyCFunction
) _wrap_Window_GetAutoLayout
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45626 { (char *)"Window_Layout", (PyCFunction
) _wrap_Window_Layout
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45627 { (char *)"Window_SetSizer", (PyCFunction
) _wrap_Window_SetSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45628 { (char *)"Window_SetSizerAndFit", (PyCFunction
) _wrap_Window_SetSizerAndFit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45629 { (char *)"Window_GetSizer", (PyCFunction
) _wrap_Window_GetSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45630 { (char *)"Window_SetContainingSizer", (PyCFunction
) _wrap_Window_SetContainingSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45631 { (char *)"Window_GetContainingSizer", (PyCFunction
) _wrap_Window_GetContainingSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45632 { (char *)"Window_InheritAttributes", (PyCFunction
) _wrap_Window_InheritAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45633 { (char *)"Window_ShouldInheritColours", (PyCFunction
) _wrap_Window_ShouldInheritColours
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45634 { (char *)"Window_swigregister", Window_swigregister
, METH_VARARGS
, NULL
},
45635 { (char *)"FindWindowById", (PyCFunction
) _wrap_FindWindowById
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45636 { (char *)"FindWindowByName", (PyCFunction
) _wrap_FindWindowByName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45637 { (char *)"FindWindowByLabel", (PyCFunction
) _wrap_FindWindowByLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45638 { (char *)"Window_FromHWND", (PyCFunction
) _wrap_Window_FromHWND
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45639 { (char *)"new_Validator", (PyCFunction
) _wrap_new_Validator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45640 { (char *)"Validator_Clone", (PyCFunction
) _wrap_Validator_Clone
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45641 { (char *)"Validator_Validate", (PyCFunction
) _wrap_Validator_Validate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45642 { (char *)"Validator_TransferToWindow", (PyCFunction
) _wrap_Validator_TransferToWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45643 { (char *)"Validator_TransferFromWindow", (PyCFunction
) _wrap_Validator_TransferFromWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45644 { (char *)"Validator_GetWindow", (PyCFunction
) _wrap_Validator_GetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45645 { (char *)"Validator_SetWindow", (PyCFunction
) _wrap_Validator_SetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45646 { (char *)"Validator_IsSilent", (PyCFunction
) _wrap_Validator_IsSilent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45647 { (char *)"Validator_SetBellOnError", (PyCFunction
) _wrap_Validator_SetBellOnError
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45648 { (char *)"Validator_swigregister", Validator_swigregister
, METH_VARARGS
, NULL
},
45649 { (char *)"new_PyValidator", (PyCFunction
) _wrap_new_PyValidator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45650 { (char *)"PyValidator__setCallbackInfo", (PyCFunction
) _wrap_PyValidator__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45651 { (char *)"PyValidator_swigregister", PyValidator_swigregister
, METH_VARARGS
, NULL
},
45652 { (char *)"new_Menu", (PyCFunction
) _wrap_new_Menu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45653 { (char *)"Menu_Append", (PyCFunction
) _wrap_Menu_Append
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45654 { (char *)"Menu_AppendSeparator", (PyCFunction
) _wrap_Menu_AppendSeparator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45655 { (char *)"Menu_AppendCheckItem", (PyCFunction
) _wrap_Menu_AppendCheckItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45656 { (char *)"Menu_AppendRadioItem", (PyCFunction
) _wrap_Menu_AppendRadioItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45657 { (char *)"Menu_AppendMenu", (PyCFunction
) _wrap_Menu_AppendMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45658 { (char *)"Menu_AppendItem", (PyCFunction
) _wrap_Menu_AppendItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45659 { (char *)"Menu_Break", (PyCFunction
) _wrap_Menu_Break
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45660 { (char *)"Menu_InsertItem", (PyCFunction
) _wrap_Menu_InsertItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45661 { (char *)"Menu_Insert", (PyCFunction
) _wrap_Menu_Insert
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45662 { (char *)"Menu_InsertSeparator", (PyCFunction
) _wrap_Menu_InsertSeparator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45663 { (char *)"Menu_InsertCheckItem", (PyCFunction
) _wrap_Menu_InsertCheckItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45664 { (char *)"Menu_InsertRadioItem", (PyCFunction
) _wrap_Menu_InsertRadioItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45665 { (char *)"Menu_InsertMenu", (PyCFunction
) _wrap_Menu_InsertMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45666 { (char *)"Menu_PrependItem", (PyCFunction
) _wrap_Menu_PrependItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45667 { (char *)"Menu_Prepend", (PyCFunction
) _wrap_Menu_Prepend
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45668 { (char *)"Menu_PrependSeparator", (PyCFunction
) _wrap_Menu_PrependSeparator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45669 { (char *)"Menu_PrependCheckItem", (PyCFunction
) _wrap_Menu_PrependCheckItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45670 { (char *)"Menu_PrependRadioItem", (PyCFunction
) _wrap_Menu_PrependRadioItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45671 { (char *)"Menu_PrependMenu", (PyCFunction
) _wrap_Menu_PrependMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45672 { (char *)"Menu_Remove", (PyCFunction
) _wrap_Menu_Remove
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45673 { (char *)"Menu_RemoveItem", (PyCFunction
) _wrap_Menu_RemoveItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45674 { (char *)"Menu_Delete", (PyCFunction
) _wrap_Menu_Delete
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45675 { (char *)"Menu_DeleteItem", (PyCFunction
) _wrap_Menu_DeleteItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45676 { (char *)"Menu_Destroy", (PyCFunction
) _wrap_Menu_Destroy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45677 { (char *)"Menu_DestroyId", (PyCFunction
) _wrap_Menu_DestroyId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45678 { (char *)"Menu_DestroyItem", (PyCFunction
) _wrap_Menu_DestroyItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45679 { (char *)"Menu_GetMenuItemCount", (PyCFunction
) _wrap_Menu_GetMenuItemCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45680 { (char *)"Menu_GetMenuItems", (PyCFunction
) _wrap_Menu_GetMenuItems
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45681 { (char *)"Menu_FindItem", (PyCFunction
) _wrap_Menu_FindItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45682 { (char *)"Menu_FindItemById", (PyCFunction
) _wrap_Menu_FindItemById
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45683 { (char *)"Menu_FindItemByPosition", (PyCFunction
) _wrap_Menu_FindItemByPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45684 { (char *)"Menu_Enable", (PyCFunction
) _wrap_Menu_Enable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45685 { (char *)"Menu_IsEnabled", (PyCFunction
) _wrap_Menu_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45686 { (char *)"Menu_Check", (PyCFunction
) _wrap_Menu_Check
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45687 { (char *)"Menu_IsChecked", (PyCFunction
) _wrap_Menu_IsChecked
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45688 { (char *)"Menu_SetLabel", (PyCFunction
) _wrap_Menu_SetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45689 { (char *)"Menu_GetLabel", (PyCFunction
) _wrap_Menu_GetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45690 { (char *)"Menu_SetHelpString", (PyCFunction
) _wrap_Menu_SetHelpString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45691 { (char *)"Menu_GetHelpString", (PyCFunction
) _wrap_Menu_GetHelpString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45692 { (char *)"Menu_SetTitle", (PyCFunction
) _wrap_Menu_SetTitle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45693 { (char *)"Menu_GetTitle", (PyCFunction
) _wrap_Menu_GetTitle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45694 { (char *)"Menu_SetEventHandler", (PyCFunction
) _wrap_Menu_SetEventHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45695 { (char *)"Menu_GetEventHandler", (PyCFunction
) _wrap_Menu_GetEventHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45696 { (char *)"Menu_SetInvokingWindow", (PyCFunction
) _wrap_Menu_SetInvokingWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45697 { (char *)"Menu_GetInvokingWindow", (PyCFunction
) _wrap_Menu_GetInvokingWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45698 { (char *)"Menu_GetStyle", (PyCFunction
) _wrap_Menu_GetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45699 { (char *)"Menu_UpdateUI", (PyCFunction
) _wrap_Menu_UpdateUI
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45700 { (char *)"Menu_GetMenuBar", (PyCFunction
) _wrap_Menu_GetMenuBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45701 { (char *)"Menu_Attach", (PyCFunction
) _wrap_Menu_Attach
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45702 { (char *)"Menu_Detach", (PyCFunction
) _wrap_Menu_Detach
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45703 { (char *)"Menu_IsAttached", (PyCFunction
) _wrap_Menu_IsAttached
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45704 { (char *)"Menu_SetParent", (PyCFunction
) _wrap_Menu_SetParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45705 { (char *)"Menu_GetParent", (PyCFunction
) _wrap_Menu_GetParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45706 { (char *)"Menu_swigregister", Menu_swigregister
, METH_VARARGS
, NULL
},
45707 { (char *)"new_MenuBar", (PyCFunction
) _wrap_new_MenuBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45708 { (char *)"MenuBar_Append", (PyCFunction
) _wrap_MenuBar_Append
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45709 { (char *)"MenuBar_Insert", (PyCFunction
) _wrap_MenuBar_Insert
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45710 { (char *)"MenuBar_GetMenuCount", (PyCFunction
) _wrap_MenuBar_GetMenuCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45711 { (char *)"MenuBar_GetMenu", (PyCFunction
) _wrap_MenuBar_GetMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45712 { (char *)"MenuBar_Replace", (PyCFunction
) _wrap_MenuBar_Replace
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45713 { (char *)"MenuBar_Remove", (PyCFunction
) _wrap_MenuBar_Remove
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45714 { (char *)"MenuBar_EnableTop", (PyCFunction
) _wrap_MenuBar_EnableTop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45715 { (char *)"MenuBar_IsEnabledTop", (PyCFunction
) _wrap_MenuBar_IsEnabledTop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45716 { (char *)"MenuBar_SetLabelTop", (PyCFunction
) _wrap_MenuBar_SetLabelTop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45717 { (char *)"MenuBar_GetLabelTop", (PyCFunction
) _wrap_MenuBar_GetLabelTop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45718 { (char *)"MenuBar_FindMenuItem", (PyCFunction
) _wrap_MenuBar_FindMenuItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45719 { (char *)"MenuBar_FindItemById", (PyCFunction
) _wrap_MenuBar_FindItemById
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45720 { (char *)"MenuBar_FindMenu", (PyCFunction
) _wrap_MenuBar_FindMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45721 { (char *)"MenuBar_Enable", (PyCFunction
) _wrap_MenuBar_Enable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45722 { (char *)"MenuBar_Check", (PyCFunction
) _wrap_MenuBar_Check
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45723 { (char *)"MenuBar_IsChecked", (PyCFunction
) _wrap_MenuBar_IsChecked
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45724 { (char *)"MenuBar_IsEnabled", (PyCFunction
) _wrap_MenuBar_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45725 { (char *)"MenuBar_SetLabel", (PyCFunction
) _wrap_MenuBar_SetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45726 { (char *)"MenuBar_GetLabel", (PyCFunction
) _wrap_MenuBar_GetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45727 { (char *)"MenuBar_SetHelpString", (PyCFunction
) _wrap_MenuBar_SetHelpString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45728 { (char *)"MenuBar_GetHelpString", (PyCFunction
) _wrap_MenuBar_GetHelpString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45729 { (char *)"MenuBar_GetFrame", (PyCFunction
) _wrap_MenuBar_GetFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45730 { (char *)"MenuBar_IsAttached", (PyCFunction
) _wrap_MenuBar_IsAttached
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45731 { (char *)"MenuBar_Attach", (PyCFunction
) _wrap_MenuBar_Attach
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45732 { (char *)"MenuBar_Detach", (PyCFunction
) _wrap_MenuBar_Detach
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45733 { (char *)"MenuBar_swigregister", MenuBar_swigregister
, METH_VARARGS
, NULL
},
45734 { (char *)"new_MenuItem", (PyCFunction
) _wrap_new_MenuItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45735 { (char *)"MenuItem_GetMenu", (PyCFunction
) _wrap_MenuItem_GetMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45736 { (char *)"MenuItem_SetMenu", (PyCFunction
) _wrap_MenuItem_SetMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45737 { (char *)"MenuItem_SetId", (PyCFunction
) _wrap_MenuItem_SetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45738 { (char *)"MenuItem_GetId", (PyCFunction
) _wrap_MenuItem_GetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45739 { (char *)"MenuItem_IsSeparator", (PyCFunction
) _wrap_MenuItem_IsSeparator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45740 { (char *)"MenuItem_SetText", (PyCFunction
) _wrap_MenuItem_SetText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45741 { (char *)"MenuItem_GetLabel", (PyCFunction
) _wrap_MenuItem_GetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45742 { (char *)"MenuItem_GetText", (PyCFunction
) _wrap_MenuItem_GetText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45743 { (char *)"MenuItem_GetLabelFromText", (PyCFunction
) _wrap_MenuItem_GetLabelFromText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45744 { (char *)"MenuItem_GetKind", (PyCFunction
) _wrap_MenuItem_GetKind
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45745 { (char *)"MenuItem_SetKind", (PyCFunction
) _wrap_MenuItem_SetKind
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45746 { (char *)"MenuItem_SetCheckable", (PyCFunction
) _wrap_MenuItem_SetCheckable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45747 { (char *)"MenuItem_IsCheckable", (PyCFunction
) _wrap_MenuItem_IsCheckable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45748 { (char *)"MenuItem_IsSubMenu", (PyCFunction
) _wrap_MenuItem_IsSubMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45749 { (char *)"MenuItem_SetSubMenu", (PyCFunction
) _wrap_MenuItem_SetSubMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45750 { (char *)"MenuItem_GetSubMenu", (PyCFunction
) _wrap_MenuItem_GetSubMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45751 { (char *)"MenuItem_Enable", (PyCFunction
) _wrap_MenuItem_Enable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45752 { (char *)"MenuItem_IsEnabled", (PyCFunction
) _wrap_MenuItem_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45753 { (char *)"MenuItem_Check", (PyCFunction
) _wrap_MenuItem_Check
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45754 { (char *)"MenuItem_IsChecked", (PyCFunction
) _wrap_MenuItem_IsChecked
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45755 { (char *)"MenuItem_Toggle", (PyCFunction
) _wrap_MenuItem_Toggle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45756 { (char *)"MenuItem_SetHelp", (PyCFunction
) _wrap_MenuItem_SetHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45757 { (char *)"MenuItem_GetHelp", (PyCFunction
) _wrap_MenuItem_GetHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45758 { (char *)"MenuItem_GetAccel", (PyCFunction
) _wrap_MenuItem_GetAccel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45759 { (char *)"MenuItem_SetAccel", (PyCFunction
) _wrap_MenuItem_SetAccel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45760 { (char *)"MenuItem_SetFont", (PyCFunction
) _wrap_MenuItem_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45761 { (char *)"MenuItem_GetFont", (PyCFunction
) _wrap_MenuItem_GetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45762 { (char *)"MenuItem_SetTextColour", (PyCFunction
) _wrap_MenuItem_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45763 { (char *)"MenuItem_GetTextColour", (PyCFunction
) _wrap_MenuItem_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45764 { (char *)"MenuItem_SetBackgroundColour", (PyCFunction
) _wrap_MenuItem_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45765 { (char *)"MenuItem_GetBackgroundColour", (PyCFunction
) _wrap_MenuItem_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45766 { (char *)"MenuItem_SetBitmaps", (PyCFunction
) _wrap_MenuItem_SetBitmaps
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45767 { (char *)"MenuItem_SetDisabledBitmap", (PyCFunction
) _wrap_MenuItem_SetDisabledBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45768 { (char *)"MenuItem_GetDisabledBitmap", (PyCFunction
) _wrap_MenuItem_GetDisabledBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45769 { (char *)"MenuItem_SetMarginWidth", (PyCFunction
) _wrap_MenuItem_SetMarginWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45770 { (char *)"MenuItem_GetMarginWidth", (PyCFunction
) _wrap_MenuItem_GetMarginWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45771 { (char *)"MenuItem_GetDefaultMarginWidth", (PyCFunction
) _wrap_MenuItem_GetDefaultMarginWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45772 { (char *)"MenuItem_IsOwnerDrawn", (PyCFunction
) _wrap_MenuItem_IsOwnerDrawn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45773 { (char *)"MenuItem_SetOwnerDrawn", (PyCFunction
) _wrap_MenuItem_SetOwnerDrawn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45774 { (char *)"MenuItem_ResetOwnerDrawn", (PyCFunction
) _wrap_MenuItem_ResetOwnerDrawn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45775 { (char *)"MenuItem_SetBitmap", (PyCFunction
) _wrap_MenuItem_SetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45776 { (char *)"MenuItem_GetBitmap", (PyCFunction
) _wrap_MenuItem_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45777 { (char *)"MenuItem_swigregister", MenuItem_swigregister
, METH_VARARGS
, NULL
},
45778 { (char *)"new_Control", (PyCFunction
) _wrap_new_Control
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45779 { (char *)"new_PreControl", (PyCFunction
) _wrap_new_PreControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45780 { (char *)"Control_Create", (PyCFunction
) _wrap_Control_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45781 { (char *)"Control_Command", (PyCFunction
) _wrap_Control_Command
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45782 { (char *)"Control_GetLabel", (PyCFunction
) _wrap_Control_GetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45783 { (char *)"Control_SetLabel", (PyCFunction
) _wrap_Control_SetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45784 { (char *)"Control_GetClassDefaultAttributes", (PyCFunction
) _wrap_Control_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45785 { (char *)"Control_swigregister", Control_swigregister
, METH_VARARGS
, NULL
},
45786 { (char *)"ItemContainer_Append", (PyCFunction
) _wrap_ItemContainer_Append
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45787 { (char *)"ItemContainer_AppendItems", (PyCFunction
) _wrap_ItemContainer_AppendItems
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45788 { (char *)"ItemContainer_Insert", (PyCFunction
) _wrap_ItemContainer_Insert
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45789 { (char *)"ItemContainer_Clear", (PyCFunction
) _wrap_ItemContainer_Clear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45790 { (char *)"ItemContainer_Delete", (PyCFunction
) _wrap_ItemContainer_Delete
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45791 { (char *)"ItemContainer_GetClientData", (PyCFunction
) _wrap_ItemContainer_GetClientData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45792 { (char *)"ItemContainer_SetClientData", (PyCFunction
) _wrap_ItemContainer_SetClientData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45793 { (char *)"ItemContainer_GetCount", (PyCFunction
) _wrap_ItemContainer_GetCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45794 { (char *)"ItemContainer_IsEmpty", (PyCFunction
) _wrap_ItemContainer_IsEmpty
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45795 { (char *)"ItemContainer_GetString", (PyCFunction
) _wrap_ItemContainer_GetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45796 { (char *)"ItemContainer_GetStrings", (PyCFunction
) _wrap_ItemContainer_GetStrings
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45797 { (char *)"ItemContainer_SetString", (PyCFunction
) _wrap_ItemContainer_SetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45798 { (char *)"ItemContainer_FindString", (PyCFunction
) _wrap_ItemContainer_FindString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45799 { (char *)"ItemContainer_SetSelection", (PyCFunction
) _wrap_ItemContainer_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45800 { (char *)"ItemContainer_GetSelection", (PyCFunction
) _wrap_ItemContainer_GetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45801 { (char *)"ItemContainer_SetStringSelection", (PyCFunction
) _wrap_ItemContainer_SetStringSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45802 { (char *)"ItemContainer_GetStringSelection", (PyCFunction
) _wrap_ItemContainer_GetStringSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45803 { (char *)"ItemContainer_Select", (PyCFunction
) _wrap_ItemContainer_Select
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45804 { (char *)"ItemContainer_swigregister", ItemContainer_swigregister
, METH_VARARGS
, NULL
},
45805 { (char *)"ControlWithItems_swigregister", ControlWithItems_swigregister
, METH_VARARGS
, NULL
},
45806 { (char *)"new_SizerItem", (PyCFunction
) _wrap_new_SizerItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45807 { (char *)"new_SizerItemWindow", (PyCFunction
) _wrap_new_SizerItemWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45808 { (char *)"new_SizerItemSpacer", (PyCFunction
) _wrap_new_SizerItemSpacer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45809 { (char *)"new_SizerItemSizer", (PyCFunction
) _wrap_new_SizerItemSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45810 { (char *)"SizerItem_DeleteWindows", (PyCFunction
) _wrap_SizerItem_DeleteWindows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45811 { (char *)"SizerItem_DetachSizer", (PyCFunction
) _wrap_SizerItem_DetachSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45812 { (char *)"SizerItem_GetSize", (PyCFunction
) _wrap_SizerItem_GetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45813 { (char *)"SizerItem_CalcMin", (PyCFunction
) _wrap_SizerItem_CalcMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45814 { (char *)"SizerItem_SetDimension", (PyCFunction
) _wrap_SizerItem_SetDimension
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45815 { (char *)"SizerItem_GetMinSize", (PyCFunction
) _wrap_SizerItem_GetMinSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45816 { (char *)"SizerItem_GetMinSizeWithBorder", (PyCFunction
) _wrap_SizerItem_GetMinSizeWithBorder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45817 { (char *)"SizerItem_SetInitSize", (PyCFunction
) _wrap_SizerItem_SetInitSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45818 { (char *)"SizerItem_SetRatioWH", (PyCFunction
) _wrap_SizerItem_SetRatioWH
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45819 { (char *)"SizerItem_SetRatioSize", (PyCFunction
) _wrap_SizerItem_SetRatioSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45820 { (char *)"SizerItem_SetRatio", (PyCFunction
) _wrap_SizerItem_SetRatio
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45821 { (char *)"SizerItem_GetRatio", (PyCFunction
) _wrap_SizerItem_GetRatio
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45822 { (char *)"SizerItem_GetRect", (PyCFunction
) _wrap_SizerItem_GetRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45823 { (char *)"SizerItem_IsWindow", (PyCFunction
) _wrap_SizerItem_IsWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45824 { (char *)"SizerItem_IsSizer", (PyCFunction
) _wrap_SizerItem_IsSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45825 { (char *)"SizerItem_IsSpacer", (PyCFunction
) _wrap_SizerItem_IsSpacer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45826 { (char *)"SizerItem_SetProportion", (PyCFunction
) _wrap_SizerItem_SetProportion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45827 { (char *)"SizerItem_GetProportion", (PyCFunction
) _wrap_SizerItem_GetProportion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45828 { (char *)"SizerItem_SetFlag", (PyCFunction
) _wrap_SizerItem_SetFlag
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45829 { (char *)"SizerItem_GetFlag", (PyCFunction
) _wrap_SizerItem_GetFlag
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45830 { (char *)"SizerItem_SetBorder", (PyCFunction
) _wrap_SizerItem_SetBorder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45831 { (char *)"SizerItem_GetBorder", (PyCFunction
) _wrap_SizerItem_GetBorder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45832 { (char *)"SizerItem_GetWindow", (PyCFunction
) _wrap_SizerItem_GetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45833 { (char *)"SizerItem_SetWindow", (PyCFunction
) _wrap_SizerItem_SetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45834 { (char *)"SizerItem_GetSizer", (PyCFunction
) _wrap_SizerItem_GetSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45835 { (char *)"SizerItem_SetSizer", (PyCFunction
) _wrap_SizerItem_SetSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45836 { (char *)"SizerItem_GetSpacer", (PyCFunction
) _wrap_SizerItem_GetSpacer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45837 { (char *)"SizerItem_SetSpacer", (PyCFunction
) _wrap_SizerItem_SetSpacer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45838 { (char *)"SizerItem_Show", (PyCFunction
) _wrap_SizerItem_Show
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45839 { (char *)"SizerItem_IsShown", (PyCFunction
) _wrap_SizerItem_IsShown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45840 { (char *)"SizerItem_GetPosition", (PyCFunction
) _wrap_SizerItem_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45841 { (char *)"SizerItem_GetUserData", (PyCFunction
) _wrap_SizerItem_GetUserData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45842 { (char *)"SizerItem_swigregister", SizerItem_swigregister
, METH_VARARGS
, NULL
},
45843 { (char *)"Sizer__setOORInfo", (PyCFunction
) _wrap_Sizer__setOORInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45844 { (char *)"Sizer_Add", (PyCFunction
) _wrap_Sizer_Add
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45845 { (char *)"Sizer_Insert", (PyCFunction
) _wrap_Sizer_Insert
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45846 { (char *)"Sizer_Prepend", (PyCFunction
) _wrap_Sizer_Prepend
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45847 { (char *)"Sizer_Remove", (PyCFunction
) _wrap_Sizer_Remove
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45848 { (char *)"Sizer_Detach", (PyCFunction
) _wrap_Sizer_Detach
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45849 { (char *)"Sizer_GetItem", (PyCFunction
) _wrap_Sizer_GetItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45850 { (char *)"Sizer__SetItemMinSize", (PyCFunction
) _wrap_Sizer__SetItemMinSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45851 { (char *)"Sizer_AddItem", (PyCFunction
) _wrap_Sizer_AddItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45852 { (char *)"Sizer_InsertItem", (PyCFunction
) _wrap_Sizer_InsertItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45853 { (char *)"Sizer_PrependItem", (PyCFunction
) _wrap_Sizer_PrependItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45854 { (char *)"Sizer_SetDimension", (PyCFunction
) _wrap_Sizer_SetDimension
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45855 { (char *)"Sizer_SetMinSize", (PyCFunction
) _wrap_Sizer_SetMinSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45856 { (char *)"Sizer_GetSize", (PyCFunction
) _wrap_Sizer_GetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45857 { (char *)"Sizer_GetPosition", (PyCFunction
) _wrap_Sizer_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45858 { (char *)"Sizer_GetMinSize", (PyCFunction
) _wrap_Sizer_GetMinSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45859 { (char *)"Sizer_RecalcSizes", (PyCFunction
) _wrap_Sizer_RecalcSizes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45860 { (char *)"Sizer_CalcMin", (PyCFunction
) _wrap_Sizer_CalcMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45861 { (char *)"Sizer_Layout", (PyCFunction
) _wrap_Sizer_Layout
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45862 { (char *)"Sizer_Fit", (PyCFunction
) _wrap_Sizer_Fit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45863 { (char *)"Sizer_FitInside", (PyCFunction
) _wrap_Sizer_FitInside
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45864 { (char *)"Sizer_SetSizeHints", (PyCFunction
) _wrap_Sizer_SetSizeHints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45865 { (char *)"Sizer_SetVirtualSizeHints", (PyCFunction
) _wrap_Sizer_SetVirtualSizeHints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45866 { (char *)"Sizer_Clear", (PyCFunction
) _wrap_Sizer_Clear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45867 { (char *)"Sizer_DeleteWindows", (PyCFunction
) _wrap_Sizer_DeleteWindows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45868 { (char *)"Sizer_GetChildren", (PyCFunction
) _wrap_Sizer_GetChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45869 { (char *)"Sizer_Show", (PyCFunction
) _wrap_Sizer_Show
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45870 { (char *)"Sizer_IsShown", (PyCFunction
) _wrap_Sizer_IsShown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45871 { (char *)"Sizer_ShowItems", (PyCFunction
) _wrap_Sizer_ShowItems
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45872 { (char *)"Sizer_swigregister", Sizer_swigregister
, METH_VARARGS
, NULL
},
45873 { (char *)"new_PySizer", (PyCFunction
) _wrap_new_PySizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45874 { (char *)"PySizer__setCallbackInfo", (PyCFunction
) _wrap_PySizer__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45875 { (char *)"PySizer_swigregister", PySizer_swigregister
, METH_VARARGS
, NULL
},
45876 { (char *)"new_BoxSizer", (PyCFunction
) _wrap_new_BoxSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45877 { (char *)"BoxSizer_GetOrientation", (PyCFunction
) _wrap_BoxSizer_GetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45878 { (char *)"BoxSizer_SetOrientation", (PyCFunction
) _wrap_BoxSizer_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45879 { (char *)"BoxSizer_swigregister", BoxSizer_swigregister
, METH_VARARGS
, NULL
},
45880 { (char *)"new_StaticBoxSizer", (PyCFunction
) _wrap_new_StaticBoxSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45881 { (char *)"StaticBoxSizer_GetStaticBox", (PyCFunction
) _wrap_StaticBoxSizer_GetStaticBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45882 { (char *)"StaticBoxSizer_swigregister", StaticBoxSizer_swigregister
, METH_VARARGS
, NULL
},
45883 { (char *)"new_GridSizer", (PyCFunction
) _wrap_new_GridSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45884 { (char *)"GridSizer_SetCols", (PyCFunction
) _wrap_GridSizer_SetCols
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45885 { (char *)"GridSizer_SetRows", (PyCFunction
) _wrap_GridSizer_SetRows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45886 { (char *)"GridSizer_SetVGap", (PyCFunction
) _wrap_GridSizer_SetVGap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45887 { (char *)"GridSizer_SetHGap", (PyCFunction
) _wrap_GridSizer_SetHGap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45888 { (char *)"GridSizer_GetCols", (PyCFunction
) _wrap_GridSizer_GetCols
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45889 { (char *)"GridSizer_GetRows", (PyCFunction
) _wrap_GridSizer_GetRows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45890 { (char *)"GridSizer_GetVGap", (PyCFunction
) _wrap_GridSizer_GetVGap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45891 { (char *)"GridSizer_GetHGap", (PyCFunction
) _wrap_GridSizer_GetHGap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45892 { (char *)"GridSizer_swigregister", GridSizer_swigregister
, METH_VARARGS
, NULL
},
45893 { (char *)"new_FlexGridSizer", (PyCFunction
) _wrap_new_FlexGridSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45894 { (char *)"FlexGridSizer_AddGrowableRow", (PyCFunction
) _wrap_FlexGridSizer_AddGrowableRow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45895 { (char *)"FlexGridSizer_RemoveGrowableRow", (PyCFunction
) _wrap_FlexGridSizer_RemoveGrowableRow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45896 { (char *)"FlexGridSizer_AddGrowableCol", (PyCFunction
) _wrap_FlexGridSizer_AddGrowableCol
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45897 { (char *)"FlexGridSizer_RemoveGrowableCol", (PyCFunction
) _wrap_FlexGridSizer_RemoveGrowableCol
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45898 { (char *)"FlexGridSizer_SetFlexibleDirection", (PyCFunction
) _wrap_FlexGridSizer_SetFlexibleDirection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45899 { (char *)"FlexGridSizer_GetFlexibleDirection", (PyCFunction
) _wrap_FlexGridSizer_GetFlexibleDirection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45900 { (char *)"FlexGridSizer_SetNonFlexibleGrowMode", (PyCFunction
) _wrap_FlexGridSizer_SetNonFlexibleGrowMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45901 { (char *)"FlexGridSizer_GetNonFlexibleGrowMode", (PyCFunction
) _wrap_FlexGridSizer_GetNonFlexibleGrowMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45902 { (char *)"FlexGridSizer_GetRowHeights", (PyCFunction
) _wrap_FlexGridSizer_GetRowHeights
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45903 { (char *)"FlexGridSizer_GetColWidths", (PyCFunction
) _wrap_FlexGridSizer_GetColWidths
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45904 { (char *)"FlexGridSizer_swigregister", FlexGridSizer_swigregister
, METH_VARARGS
, NULL
},
45905 { (char *)"new_StdDialogButtonSizer", (PyCFunction
) _wrap_new_StdDialogButtonSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45906 { (char *)"StdDialogButtonSizer_AddButton", (PyCFunction
) _wrap_StdDialogButtonSizer_AddButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45907 { (char *)"StdDialogButtonSizer_Realize", (PyCFunction
) _wrap_StdDialogButtonSizer_Realize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45908 { (char *)"StdDialogButtonSizer_SetAffirmativeButton", (PyCFunction
) _wrap_StdDialogButtonSizer_SetAffirmativeButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45909 { (char *)"StdDialogButtonSizer_SetNegativeButton", (PyCFunction
) _wrap_StdDialogButtonSizer_SetNegativeButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45910 { (char *)"StdDialogButtonSizer_SetCancelButton", (PyCFunction
) _wrap_StdDialogButtonSizer_SetCancelButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45911 { (char *)"StdDialogButtonSizer_GetAffirmativeButton", (PyCFunction
) _wrap_StdDialogButtonSizer_GetAffirmativeButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45912 { (char *)"StdDialogButtonSizer_GetApplyButton", (PyCFunction
) _wrap_StdDialogButtonSizer_GetApplyButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45913 { (char *)"StdDialogButtonSizer_GetNegativeButton", (PyCFunction
) _wrap_StdDialogButtonSizer_GetNegativeButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45914 { (char *)"StdDialogButtonSizer_GetCancelButton", (PyCFunction
) _wrap_StdDialogButtonSizer_GetCancelButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45915 { (char *)"StdDialogButtonSizer_GetHelpButton", (PyCFunction
) _wrap_StdDialogButtonSizer_GetHelpButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45916 { (char *)"StdDialogButtonSizer_swigregister", StdDialogButtonSizer_swigregister
, METH_VARARGS
, NULL
},
45917 { (char *)"new_GBPosition", (PyCFunction
) _wrap_new_GBPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45918 { (char *)"GBPosition_GetRow", (PyCFunction
) _wrap_GBPosition_GetRow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45919 { (char *)"GBPosition_GetCol", (PyCFunction
) _wrap_GBPosition_GetCol
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45920 { (char *)"GBPosition_SetRow", (PyCFunction
) _wrap_GBPosition_SetRow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45921 { (char *)"GBPosition_SetCol", (PyCFunction
) _wrap_GBPosition_SetCol
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45922 { (char *)"GBPosition___eq__", (PyCFunction
) _wrap_GBPosition___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45923 { (char *)"GBPosition___ne__", (PyCFunction
) _wrap_GBPosition___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45924 { (char *)"GBPosition_Set", (PyCFunction
) _wrap_GBPosition_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45925 { (char *)"GBPosition_Get", (PyCFunction
) _wrap_GBPosition_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45926 { (char *)"GBPosition_swigregister", GBPosition_swigregister
, METH_VARARGS
, NULL
},
45927 { (char *)"new_GBSpan", (PyCFunction
) _wrap_new_GBSpan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45928 { (char *)"GBSpan_GetRowspan", (PyCFunction
) _wrap_GBSpan_GetRowspan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45929 { (char *)"GBSpan_GetColspan", (PyCFunction
) _wrap_GBSpan_GetColspan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45930 { (char *)"GBSpan_SetRowspan", (PyCFunction
) _wrap_GBSpan_SetRowspan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45931 { (char *)"GBSpan_SetColspan", (PyCFunction
) _wrap_GBSpan_SetColspan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45932 { (char *)"GBSpan___eq__", (PyCFunction
) _wrap_GBSpan___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45933 { (char *)"GBSpan___ne__", (PyCFunction
) _wrap_GBSpan___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45934 { (char *)"GBSpan_Set", (PyCFunction
) _wrap_GBSpan_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45935 { (char *)"GBSpan_Get", (PyCFunction
) _wrap_GBSpan_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45936 { (char *)"GBSpan_swigregister", GBSpan_swigregister
, METH_VARARGS
, NULL
},
45937 { (char *)"new_GBSizerItem", (PyCFunction
) _wrap_new_GBSizerItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45938 { (char *)"new_GBSizerItemWindow", (PyCFunction
) _wrap_new_GBSizerItemWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45939 { (char *)"new_GBSizerItemSizer", (PyCFunction
) _wrap_new_GBSizerItemSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45940 { (char *)"new_GBSizerItemSpacer", (PyCFunction
) _wrap_new_GBSizerItemSpacer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45941 { (char *)"GBSizerItem_GetPos", (PyCFunction
) _wrap_GBSizerItem_GetPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45942 { (char *)"GBSizerItem_GetSpan", (PyCFunction
) _wrap_GBSizerItem_GetSpan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45943 { (char *)"GBSizerItem_SetPos", (PyCFunction
) _wrap_GBSizerItem_SetPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45944 { (char *)"GBSizerItem_SetSpan", (PyCFunction
) _wrap_GBSizerItem_SetSpan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45945 { (char *)"GBSizerItem_Intersects", (PyCFunction
) _wrap_GBSizerItem_Intersects
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45946 { (char *)"GBSizerItem_IntersectsPos", (PyCFunction
) _wrap_GBSizerItem_IntersectsPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45947 { (char *)"GBSizerItem_GetEndPos", (PyCFunction
) _wrap_GBSizerItem_GetEndPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45948 { (char *)"GBSizerItem_GetGBSizer", (PyCFunction
) _wrap_GBSizerItem_GetGBSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45949 { (char *)"GBSizerItem_SetGBSizer", (PyCFunction
) _wrap_GBSizerItem_SetGBSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45950 { (char *)"GBSizerItem_swigregister", GBSizerItem_swigregister
, METH_VARARGS
, NULL
},
45951 { (char *)"new_GridBagSizer", (PyCFunction
) _wrap_new_GridBagSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45952 { (char *)"GridBagSizer_Add", (PyCFunction
) _wrap_GridBagSizer_Add
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45953 { (char *)"GridBagSizer_AddItem", (PyCFunction
) _wrap_GridBagSizer_AddItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45954 { (char *)"GridBagSizer_GetCellSize", (PyCFunction
) _wrap_GridBagSizer_GetCellSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45955 { (char *)"GridBagSizer_GetEmptyCellSize", (PyCFunction
) _wrap_GridBagSizer_GetEmptyCellSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45956 { (char *)"GridBagSizer_SetEmptyCellSize", (PyCFunction
) _wrap_GridBagSizer_SetEmptyCellSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45957 { (char *)"GridBagSizer_GetItemPosition", _wrap_GridBagSizer_GetItemPosition
, METH_VARARGS
, NULL
},
45958 { (char *)"GridBagSizer_SetItemPosition", _wrap_GridBagSizer_SetItemPosition
, METH_VARARGS
, NULL
},
45959 { (char *)"GridBagSizer_GetItemSpan", _wrap_GridBagSizer_GetItemSpan
, METH_VARARGS
, NULL
},
45960 { (char *)"GridBagSizer_SetItemSpan", _wrap_GridBagSizer_SetItemSpan
, METH_VARARGS
, NULL
},
45961 { (char *)"GridBagSizer_FindItem", _wrap_GridBagSizer_FindItem
, METH_VARARGS
, NULL
},
45962 { (char *)"GridBagSizer_FindItemAtPosition", (PyCFunction
) _wrap_GridBagSizer_FindItemAtPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45963 { (char *)"GridBagSizer_FindItemAtPoint", (PyCFunction
) _wrap_GridBagSizer_FindItemAtPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45964 { (char *)"GridBagSizer_CheckForIntersection", (PyCFunction
) _wrap_GridBagSizer_CheckForIntersection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45965 { (char *)"GridBagSizer_CheckForIntersectionPos", (PyCFunction
) _wrap_GridBagSizer_CheckForIntersectionPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45966 { (char *)"GridBagSizer_swigregister", GridBagSizer_swigregister
, METH_VARARGS
, NULL
},
45967 { (char *)"IndividualLayoutConstraint_Set", (PyCFunction
) _wrap_IndividualLayoutConstraint_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45968 { (char *)"IndividualLayoutConstraint_LeftOf", (PyCFunction
) _wrap_IndividualLayoutConstraint_LeftOf
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45969 { (char *)"IndividualLayoutConstraint_RightOf", (PyCFunction
) _wrap_IndividualLayoutConstraint_RightOf
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45970 { (char *)"IndividualLayoutConstraint_Above", (PyCFunction
) _wrap_IndividualLayoutConstraint_Above
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45971 { (char *)"IndividualLayoutConstraint_Below", (PyCFunction
) _wrap_IndividualLayoutConstraint_Below
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45972 { (char *)"IndividualLayoutConstraint_SameAs", (PyCFunction
) _wrap_IndividualLayoutConstraint_SameAs
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45973 { (char *)"IndividualLayoutConstraint_PercentOf", (PyCFunction
) _wrap_IndividualLayoutConstraint_PercentOf
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45974 { (char *)"IndividualLayoutConstraint_Absolute", (PyCFunction
) _wrap_IndividualLayoutConstraint_Absolute
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45975 { (char *)"IndividualLayoutConstraint_Unconstrained", (PyCFunction
) _wrap_IndividualLayoutConstraint_Unconstrained
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45976 { (char *)"IndividualLayoutConstraint_AsIs", (PyCFunction
) _wrap_IndividualLayoutConstraint_AsIs
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45977 { (char *)"IndividualLayoutConstraint_GetOtherWindow", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetOtherWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45978 { (char *)"IndividualLayoutConstraint_GetMyEdge", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetMyEdge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45979 { (char *)"IndividualLayoutConstraint_SetEdge", (PyCFunction
) _wrap_IndividualLayoutConstraint_SetEdge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45980 { (char *)"IndividualLayoutConstraint_SetValue", (PyCFunction
) _wrap_IndividualLayoutConstraint_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45981 { (char *)"IndividualLayoutConstraint_GetMargin", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetMargin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45982 { (char *)"IndividualLayoutConstraint_SetMargin", (PyCFunction
) _wrap_IndividualLayoutConstraint_SetMargin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45983 { (char *)"IndividualLayoutConstraint_GetValue", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45984 { (char *)"IndividualLayoutConstraint_GetPercent", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetPercent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45985 { (char *)"IndividualLayoutConstraint_GetOtherEdge", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetOtherEdge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45986 { (char *)"IndividualLayoutConstraint_GetDone", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetDone
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45987 { (char *)"IndividualLayoutConstraint_SetDone", (PyCFunction
) _wrap_IndividualLayoutConstraint_SetDone
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45988 { (char *)"IndividualLayoutConstraint_GetRelationship", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetRelationship
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45989 { (char *)"IndividualLayoutConstraint_SetRelationship", (PyCFunction
) _wrap_IndividualLayoutConstraint_SetRelationship
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45990 { (char *)"IndividualLayoutConstraint_ResetIfWin", (PyCFunction
) _wrap_IndividualLayoutConstraint_ResetIfWin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45991 { (char *)"IndividualLayoutConstraint_SatisfyConstraint", (PyCFunction
) _wrap_IndividualLayoutConstraint_SatisfyConstraint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45992 { (char *)"IndividualLayoutConstraint_GetEdge", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetEdge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45993 { (char *)"IndividualLayoutConstraint_swigregister", IndividualLayoutConstraint_swigregister
, METH_VARARGS
, NULL
},
45994 { (char *)"LayoutConstraints_left_get", (PyCFunction
) _wrap_LayoutConstraints_left_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45995 { (char *)"LayoutConstraints_top_get", (PyCFunction
) _wrap_LayoutConstraints_top_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45996 { (char *)"LayoutConstraints_right_get", (PyCFunction
) _wrap_LayoutConstraints_right_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45997 { (char *)"LayoutConstraints_bottom_get", (PyCFunction
) _wrap_LayoutConstraints_bottom_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45998 { (char *)"LayoutConstraints_width_get", (PyCFunction
) _wrap_LayoutConstraints_width_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45999 { (char *)"LayoutConstraints_height_get", (PyCFunction
) _wrap_LayoutConstraints_height_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46000 { (char *)"LayoutConstraints_centreX_get", (PyCFunction
) _wrap_LayoutConstraints_centreX_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46001 { (char *)"LayoutConstraints_centreY_get", (PyCFunction
) _wrap_LayoutConstraints_centreY_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46002 { (char *)"new_LayoutConstraints", (PyCFunction
) _wrap_new_LayoutConstraints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46003 { (char *)"LayoutConstraints_SatisfyConstraints", (PyCFunction
) _wrap_LayoutConstraints_SatisfyConstraints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46004 { (char *)"LayoutConstraints_AreSatisfied", (PyCFunction
) _wrap_LayoutConstraints_AreSatisfied
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46005 { (char *)"LayoutConstraints_swigregister", LayoutConstraints_swigregister
, METH_VARARGS
, NULL
},
46006 { NULL
, NULL
, 0, NULL
}
46010 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
46012 static void *_p_wxGBSizerItemTo_p_wxSizerItem(void *x
) {
46013 return (void *)((wxSizerItem
*) ((wxGBSizerItem
*) x
));
46015 static void *_p_wxBoxSizerTo_p_wxSizer(void *x
) {
46016 return (void *)((wxSizer
*) ((wxBoxSizer
*) x
));
46018 static void *_p_wxStaticBoxSizerTo_p_wxSizer(void *x
) {
46019 return (void *)((wxSizer
*) (wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
46021 static void *_p_wxStdDialogButtonSizerTo_p_wxSizer(void *x
) {
46022 return (void *)((wxSizer
*) (wxBoxSizer
*) ((wxStdDialogButtonSizer
*) x
));
46024 static void *_p_wxGridBagSizerTo_p_wxSizer(void *x
) {
46025 return (void *)((wxSizer
*) (wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
46027 static void *_p_wxGridSizerTo_p_wxSizer(void *x
) {
46028 return (void *)((wxSizer
*) ((wxGridSizer
*) x
));
46030 static void *_p_wxFlexGridSizerTo_p_wxSizer(void *x
) {
46031 return (void *)((wxSizer
*) (wxGridSizer
*) ((wxFlexGridSizer
*) x
));
46033 static void *_p_wxPySizerTo_p_wxSizer(void *x
) {
46034 return (void *)((wxSizer
*) ((wxPySizer
*) x
));
46036 static void *_p_wxStaticBoxSizerTo_p_wxBoxSizer(void *x
) {
46037 return (void *)((wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
46039 static void *_p_wxStdDialogButtonSizerTo_p_wxBoxSizer(void *x
) {
46040 return (void *)((wxBoxSizer
*) ((wxStdDialogButtonSizer
*) x
));
46042 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x
) {
46043 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
46045 static void *_p_wxMenuEventTo_p_wxEvent(void *x
) {
46046 return (void *)((wxEvent
*) ((wxMenuEvent
*) x
));
46048 static void *_p_wxCloseEventTo_p_wxEvent(void *x
) {
46049 return (void *)((wxEvent
*) ((wxCloseEvent
*) x
));
46051 static void *_p_wxMouseEventTo_p_wxEvent(void *x
) {
46052 return (void *)((wxEvent
*) ((wxMouseEvent
*) x
));
46054 static void *_p_wxEraseEventTo_p_wxEvent(void *x
) {
46055 return (void *)((wxEvent
*) ((wxEraseEvent
*) x
));
46057 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x
) {
46058 return (void *)((wxEvent
*) ((wxSetCursorEvent
*) x
));
46060 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x
) {
46061 return (void *)((wxEvent
*) ((wxInitDialogEvent
*) x
));
46063 static void *_p_wxScrollEventTo_p_wxEvent(void *x
) {
46064 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxScrollEvent
*) x
));
46066 static void *_p_wxPyEventTo_p_wxEvent(void *x
) {
46067 return (void *)((wxEvent
*) ((wxPyEvent
*) x
));
46069 static void *_p_wxNotifyEventTo_p_wxEvent(void *x
) {
46070 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxNotifyEvent
*) x
));
46072 static void *_p_wxIdleEventTo_p_wxEvent(void *x
) {
46073 return (void *)((wxEvent
*) ((wxIdleEvent
*) x
));
46075 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x
) {
46076 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
46078 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x
) {
46079 return (void *)((wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
46081 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x
) {
46082 return (void *)((wxEvent
*) ((wxMaximizeEvent
*) x
));
46084 static void *_p_wxIconizeEventTo_p_wxEvent(void *x
) {
46085 return (void *)((wxEvent
*) ((wxIconizeEvent
*) x
));
46087 static void *_p_wxActivateEventTo_p_wxEvent(void *x
) {
46088 return (void *)((wxEvent
*) ((wxActivateEvent
*) x
));
46090 static void *_p_wxSizeEventTo_p_wxEvent(void *x
) {
46091 return (void *)((wxEvent
*) ((wxSizeEvent
*) x
));
46093 static void *_p_wxMoveEventTo_p_wxEvent(void *x
) {
46094 return (void *)((wxEvent
*) ((wxMoveEvent
*) x
));
46096 static void *_p_wxDateEventTo_p_wxEvent(void *x
) {
46097 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxDateEvent
*) x
));
46099 static void *_p_wxPaintEventTo_p_wxEvent(void *x
) {
46100 return (void *)((wxEvent
*) ((wxPaintEvent
*) x
));
46102 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x
) {
46103 return (void *)((wxEvent
*) ((wxNcPaintEvent
*) x
));
46105 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x
) {
46106 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
46108 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x
) {
46109 return (void *)((wxEvent
*) ((wxPaletteChangedEvent
*) x
));
46111 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x
) {
46112 return (void *)((wxEvent
*) ((wxDisplayChangedEvent
*) x
));
46114 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x
) {
46115 return (void *)((wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
46117 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x
) {
46118 return (void *)((wxEvent
*) ((wxSysColourChangedEvent
*) x
));
46120 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x
) {
46121 return (void *)((wxEvent
*) ((wxDropFilesEvent
*) x
));
46123 static void *_p_wxFocusEventTo_p_wxEvent(void *x
) {
46124 return (void *)((wxEvent
*) ((wxFocusEvent
*) x
));
46126 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x
) {
46127 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
46129 static void *_p_wxShowEventTo_p_wxEvent(void *x
) {
46130 return (void *)((wxEvent
*) ((wxShowEvent
*) x
));
46132 static void *_p_wxCommandEventTo_p_wxEvent(void *x
) {
46133 return (void *)((wxEvent
*) ((wxCommandEvent
*) x
));
46135 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x
) {
46136 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
46138 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x
) {
46139 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
46141 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x
) {
46142 return (void *)((wxEvent
*) ((wxNavigationKeyEvent
*) x
));
46144 static void *_p_wxKeyEventTo_p_wxEvent(void *x
) {
46145 return (void *)((wxEvent
*) ((wxKeyEvent
*) x
));
46147 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x
) {
46148 return (void *)((wxEvent
*) ((wxScrollWinEvent
*) x
));
46150 static void *_p_wxGridBagSizerTo_p_wxGridSizer(void *x
) {
46151 return (void *)((wxGridSizer
*) (wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
46153 static void *_p_wxFlexGridSizerTo_p_wxGridSizer(void *x
) {
46154 return (void *)((wxGridSizer
*) ((wxFlexGridSizer
*) x
));
46156 static void *_p_wxGridBagSizerTo_p_wxFlexGridSizer(void *x
) {
46157 return (void *)((wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
46159 static void *_p_wxControlWithItemsTo_p_wxItemContainer(void *x
) {
46160 return (void *)((wxItemContainer
*) ((wxControlWithItems
*) x
));
46162 static void *_p_wxControlWithItemsTo_p_wxControl(void *x
) {
46163 return (void *)((wxControl
*) ((wxControlWithItems
*) x
));
46165 static void *_p_wxControlTo_p_wxEvtHandler(void *x
) {
46166 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxControl
*) x
));
46168 static void *_p_wxWindowTo_p_wxEvtHandler(void *x
) {
46169 return (void *)((wxEvtHandler
*) ((wxWindow
*) x
));
46171 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x
) {
46172 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
46174 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x
) {
46175 return (void *)((wxEvtHandler
*) ((wxPyApp
*) x
));
46177 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x
) {
46178 return (void *)((wxEvtHandler
*) ((wxValidator
*) x
));
46180 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x
) {
46181 return (void *)((wxEvtHandler
*) (wxValidator
*) ((wxPyValidator
*) x
));
46183 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x
) {
46184 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMenuBar
*) x
));
46186 static void *_p_wxMenuTo_p_wxEvtHandler(void *x
) {
46187 return (void *)((wxEvtHandler
*) ((wxMenu
*) x
));
46189 static void *_p_wxANIHandlerTo_p_wxCURHandler(void *x
) {
46190 return (void *)((wxCURHandler
*) ((wxANIHandler
*) x
));
46192 static void *_p_wxCURHandlerTo_p_wxICOHandler(void *x
) {
46193 return (void *)((wxICOHandler
*) ((wxCURHandler
*) x
));
46195 static void *_p_wxANIHandlerTo_p_wxICOHandler(void *x
) {
46196 return (void *)((wxICOHandler
*) (wxCURHandler
*) ((wxANIHandler
*) x
));
46198 static void *_p_wxICOHandlerTo_p_wxBMPHandler(void *x
) {
46199 return (void *)((wxBMPHandler
*) ((wxICOHandler
*) x
));
46201 static void *_p_wxCURHandlerTo_p_wxBMPHandler(void *x
) {
46202 return (void *)((wxBMPHandler
*) (wxICOHandler
*) ((wxCURHandler
*) x
));
46204 static void *_p_wxANIHandlerTo_p_wxBMPHandler(void *x
) {
46205 return (void *)((wxBMPHandler
*) (wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
46207 static void *_p_wxBMPHandlerTo_p_wxImageHandler(void *x
) {
46208 return (void *)((wxImageHandler
*) ((wxBMPHandler
*) x
));
46210 static void *_p_wxICOHandlerTo_p_wxImageHandler(void *x
) {
46211 return (void *)((wxImageHandler
*) (wxBMPHandler
*) ((wxICOHandler
*) x
));
46213 static void *_p_wxCURHandlerTo_p_wxImageHandler(void *x
) {
46214 return (void *)((wxImageHandler
*) (wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
46216 static void *_p_wxANIHandlerTo_p_wxImageHandler(void *x
) {
46217 return (void *)((wxImageHandler
*) (wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
46219 static void *_p_wxPNGHandlerTo_p_wxImageHandler(void *x
) {
46220 return (void *)((wxImageHandler
*) ((wxPNGHandler
*) x
));
46222 static void *_p_wxGIFHandlerTo_p_wxImageHandler(void *x
) {
46223 return (void *)((wxImageHandler
*) ((wxGIFHandler
*) x
));
46225 static void *_p_wxPCXHandlerTo_p_wxImageHandler(void *x
) {
46226 return (void *)((wxImageHandler
*) ((wxPCXHandler
*) x
));
46228 static void *_p_wxJPEGHandlerTo_p_wxImageHandler(void *x
) {
46229 return (void *)((wxImageHandler
*) ((wxJPEGHandler
*) x
));
46231 static void *_p_wxPNMHandlerTo_p_wxImageHandler(void *x
) {
46232 return (void *)((wxImageHandler
*) ((wxPNMHandler
*) x
));
46234 static void *_p_wxXPMHandlerTo_p_wxImageHandler(void *x
) {
46235 return (void *)((wxImageHandler
*) ((wxXPMHandler
*) x
));
46237 static void *_p_wxTIFFHandlerTo_p_wxImageHandler(void *x
) {
46238 return (void *)((wxImageHandler
*) ((wxTIFFHandler
*) x
));
46240 static void *_p_wxPyFileSystemHandlerTo_p_wxFileSystemHandler(void *x
) {
46241 return (void *)((wxFileSystemHandler
*) ((wxPyFileSystemHandler
*) x
));
46243 static void *_p_wxInternetFSHandlerTo_p_wxFileSystemHandler(void *x
) {
46244 return (void *)((wxFileSystemHandler
*) ((wxInternetFSHandler
*) x
));
46246 static void *_p_wxZipFSHandlerTo_p_wxFileSystemHandler(void *x
) {
46247 return (void *)((wxFileSystemHandler
*) ((wxZipFSHandler
*) x
));
46249 static void *_p_wxMemoryFSHandlerTo_p_wxFileSystemHandler(void *x
) {
46250 return (void *)((wxFileSystemHandler
*) ((wxMemoryFSHandler
*) x
));
46252 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
46253 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
46255 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
46256 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
46258 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
46259 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
46261 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
46262 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
46264 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
46265 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
46267 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
46268 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
46270 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
46271 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
46273 static void *_p_wxSizerTo_p_wxObject(void *x
) {
46274 return (void *)((wxObject
*) ((wxSizer
*) x
));
46276 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
46277 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
46279 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
46280 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
46282 static void *_p_wxEventTo_p_wxObject(void *x
) {
46283 return (void *)((wxObject
*) ((wxEvent
*) x
));
46285 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
46286 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
46288 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
46289 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
46291 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
46292 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
46294 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
46295 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
46297 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
46298 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
46300 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
46301 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
46303 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
46304 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
46306 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
46307 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
46309 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
46310 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
46312 static void *_p_wxControlTo_p_wxObject(void *x
) {
46313 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
46315 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
46316 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
46318 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
46319 return (void *)((wxObject
*) ((wxFSFile
*) x
));
46321 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
46322 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
46324 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
46325 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
46327 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
46328 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
46330 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
46331 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
46333 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
46334 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
46336 static void *_p_wxDateEventTo_p_wxObject(void *x
) {
46337 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxDateEvent
*) x
));
46339 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
46340 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
46342 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
46343 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
46345 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
46346 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
46348 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
46349 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
46351 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
46352 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
46354 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
46355 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
46357 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
46358 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
46360 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
46361 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
46363 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
46364 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
46366 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
46367 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
46369 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
46370 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
46372 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
46373 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
46375 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
46376 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
46378 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
46379 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
46381 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
46382 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
46384 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
46385 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
46387 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
46388 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
46390 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
46391 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
46393 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
46394 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
46396 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
46397 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
46399 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
46400 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
46402 static void *_p_wxStdDialogButtonSizerTo_p_wxObject(void *x
) {
46403 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStdDialogButtonSizer
*) x
));
46405 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
46406 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
46408 static void *_p_wxImageTo_p_wxObject(void *x
) {
46409 return (void *)((wxObject
*) ((wxImage
*) x
));
46411 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
46412 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
46414 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
46415 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
46417 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
46418 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
46420 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
46421 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
46423 static void *_p_wxWindowTo_p_wxObject(void *x
) {
46424 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
46426 static void *_p_wxMenuTo_p_wxObject(void *x
) {
46427 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
46429 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
46430 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
46432 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
46433 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
46435 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
46436 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
46438 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
46439 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
46441 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
46442 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
46444 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
46445 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
46447 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
46448 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
46450 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
46451 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
46453 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
46454 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
46456 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
46457 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
46459 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
46460 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
46462 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
46463 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
46465 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
46466 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
46468 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
46469 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
46471 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
46472 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
46474 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
46475 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
46477 static void *_p_wxControlTo_p_wxWindow(void *x
) {
46478 return (void *)((wxWindow
*) ((wxControl
*) x
));
46480 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
46481 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
46483 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
46484 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
46486 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x
) {
46487 return (void *)((wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
46489 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x
) {
46490 return (void *)((wxCommandEvent
*) ((wxScrollEvent
*) x
));
46492 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x
) {
46493 return (void *)((wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
46495 static void *_p_wxDateEventTo_p_wxCommandEvent(void *x
) {
46496 return (void *)((wxCommandEvent
*) ((wxDateEvent
*) x
));
46498 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x
) {
46499 return (void *)((wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
46501 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x
) {
46502 return (void *)((wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
46504 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x
) {
46505 return (void *)((wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
46507 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x
) {
46508 return (void *)((wxCommandEvent
*) ((wxNotifyEvent
*) x
));
46510 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x
) {
46511 return (void *)((wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
46513 static void *_p_wxPyValidatorTo_p_wxValidator(void *x
) {
46514 return (void *)((wxValidator
*) ((wxPyValidator
*) x
));
46516 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}};
46517 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}};
46518 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}};
46519 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}};
46520 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}};
46521 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}};
46522 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}};
46523 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}};
46524 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}};
46525 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}};
46526 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}};
46527 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}};
46528 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}};
46529 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}};
46530 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}};
46531 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}};
46532 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}};
46533 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}};
46534 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}};
46535 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}};
46536 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}};
46537 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}};
46538 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}};
46539 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}};
46540 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}};
46541 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}};
46542 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}};
46543 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}};
46544 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}};
46545 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}};
46546 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}};
46547 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}};
46548 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}};
46549 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}};
46550 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}};
46551 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}};
46552 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}};
46553 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}};
46554 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}};
46555 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}};
46556 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}};
46557 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}};
46558 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}};
46559 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}};
46560 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}};
46561 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}};
46562 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}};
46563 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}};
46564 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}};
46565 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}};
46566 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}};
46567 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}};
46568 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}};
46569 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}};
46570 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}};
46571 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}};
46572 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}};
46573 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}};
46574 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}};
46575 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}};
46576 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}};
46577 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}};
46578 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}};
46579 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}};
46580 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}};
46581 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}};
46582 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}};
46583 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}};
46584 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}};
46585 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}};
46586 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}};
46587 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}};
46588 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}};
46589 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}};
46590 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}};
46591 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}};
46592 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}};
46593 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}};
46594 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}};
46595 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}};
46596 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}};
46597 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}};
46598 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}};
46599 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}};
46600 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}};
46601 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}};
46602 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}};
46603 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}};
46604 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}};
46605 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}};
46606 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}};
46607 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}};
46608 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}};
46609 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}};
46610 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}};
46611 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}};
46612 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}};
46613 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}};
46614 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}};
46615 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}};
46616 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}};
46617 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}};
46618 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}};
46619 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}};
46620 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}};
46621 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}};
46622 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}};
46623 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}};
46624 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}};
46625 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}};
46626 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}};
46627 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}};
46628 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}};
46629 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}};
46630 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}};
46631 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}};
46632 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}};
46633 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}};
46634 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}};
46635 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}};
46636 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}};
46637 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}};
46638 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}};
46639 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}};
46640 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}};
46641 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}};
46642 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}};
46644 static swig_type_info
*swig_types_initial
[] = {
46645 _swigt__p_wxLayoutConstraints
,
46646 _swigt__p_wxRealPoint
,
46647 _swigt__p_wxSizerItem
,
46648 _swigt__p_wxGBSizerItem
,
46649 _swigt__p_wxScrollEvent
,
46650 _swigt__p_wxEventLoop
,
46651 _swigt__p_wxIndividualLayoutConstraint
,
46653 _swigt__p_wxBoxSizer
,
46654 _swigt__p_wxStaticBoxSizer
,
46655 _swigt__p_wxGridBagSizer
,
46656 _swigt__p_wxAcceleratorEntry
,
46657 _swigt__p_wxUpdateUIEvent
,
46660 _swigt__p_wxGridSizer
,
46661 _swigt__p_wxFlexGridSizer
,
46662 _swigt__p_wxInitDialogEvent
,
46663 _swigt__p_wxItemContainer
,
46664 _swigt__p_wxNcPaintEvent
,
46665 _swigt__p_wxPaintEvent
,
46666 _swigt__p_wxSysColourChangedEvent
,
46667 _swigt__p_wxMouseCaptureChangedEvent
,
46668 _swigt__p_wxDisplayChangedEvent
,
46669 _swigt__p_wxPaletteChangedEvent
,
46670 _swigt__p_wxControl
,
46672 _swigt__p_wxMenuBarBase
,
46673 _swigt__p_wxSetCursorEvent
,
46674 _swigt__p_wxFSFile
,
46677 _swigt__std__ptrdiff_t
,
46678 _swigt__p_wxRegion
,
46679 _swigt__p_wxPoint2D
,
46683 _swigt__p_wxPySizer
,
46684 _swigt__p_wxVisualAttributes
,
46685 _swigt__p_wxNotifyEvent
,
46686 _swigt__p_wxPyEvent
,
46687 _swigt__p_wxPropagationDisabler
,
46688 _swigt__p_form_ops_t
,
46689 _swigt__p_wxAppTraits
,
46690 _swigt__p_wxArrayString
,
46691 _swigt__p_wxShowEvent
,
46692 _swigt__p_wxToolTip
,
46693 _swigt__p_wxMoveEvent
,
46694 _swigt__p_wxSizeEvent
,
46695 _swigt__p_wxActivateEvent
,
46696 _swigt__p_wxIconizeEvent
,
46697 _swigt__p_wxMaximizeEvent
,
46698 _swigt__p_wxQueryNewPaletteEvent
,
46699 _swigt__p_wxWindowCreateEvent
,
46700 _swigt__p_wxIdleEvent
,
46701 _swigt__p_wxDateEvent
,
46702 _swigt__p_wxMenuItem
,
46703 _swigt__p_wxStaticBox
,
46705 _swigt__p_wxDuplexMode
,
46706 _swigt__p_wxTIFFHandler
,
46707 _swigt__p_wxXPMHandler
,
46708 _swigt__p_wxPNMHandler
,
46709 _swigt__p_wxJPEGHandler
,
46710 _swigt__p_wxPCXHandler
,
46711 _swigt__p_wxGIFHandler
,
46712 _swigt__p_wxPNGHandler
,
46713 _swigt__p_wxANIHandler
,
46714 _swigt__p_wxMemoryFSHandler
,
46715 _swigt__p_wxZipFSHandler
,
46716 _swigt__p_wxInternetFSHandler
,
46717 _swigt__p_wxPyFileSystemHandler
,
46718 _swigt__p_wxEvtHandler
,
46719 _swigt__p_wxCURHandler
,
46720 _swigt__p_wxICOHandler
,
46721 _swigt__p_wxBMPHandler
,
46722 _swigt__p_wxImageHandler
,
46723 _swigt__p_wxFileSystemHandler
,
46725 _swigt__p_wxButton
,
46726 _swigt__p_wxGBSpan
,
46727 _swigt__p_wxPropagateOnce
,
46728 _swigt__p_wxAcceleratorTable
,
46729 _swigt__p_wxStdDialogButtonSizer
,
46731 _swigt__p_wxGBPosition
,
46734 _swigt__p_wxScrollWinEvent
,
46735 _swigt__p_wxPaperSize
,
46736 _swigt__p_wxImageHistogram
,
46738 _swigt__p_wxCursor
,
46739 _swigt__p_wxObject
,
46740 _swigt__p_wxInputStream
,
46741 _swigt__p_wxOutputStream
,
46742 _swigt__p_wxPyInputStream
,
46743 _swigt__p_wxDateTime
,
46744 _swigt__p_wxKeyEvent
,
46745 _swigt__p_wxNavigationKeyEvent
,
46746 _swigt__p_wxWindowDestroyEvent
,
46747 _swigt__p_unsigned_long
,
46748 _swigt__p_wxWindow
,
46749 _swigt__p_wxMenuBar
,
46750 _swigt__p_wxFileSystem
,
46751 _swigt__p_wxBitmap
,
46752 _swigt__unsigned_int
,
46753 _swigt__p_unsigned_int
,
46754 _swigt__p_wxMenuEvent
,
46755 _swigt__p_wxContextMenuEvent
,
46756 _swigt__p_unsigned_char
,
46757 _swigt__p_wxEraseEvent
,
46758 _swigt__p_wxMouseEvent
,
46759 _swigt__p_wxCloseEvent
,
46761 _swigt__p_wxCommandEvent
,
46762 _swigt__p_wxPyCommandEvent
,
46763 _swigt__p_wxPyDropTarget
,
46764 _swigt__p_wxQuantize
,
46765 _swigt__p_wxChildFocusEvent
,
46766 _swigt__p_wxFocusEvent
,
46767 _swigt__p_wxDropFilesEvent
,
46768 _swigt__p_wxControlWithItems
,
46769 _swigt__p_wxColour
,
46770 _swigt__p_wxValidator
,
46771 _swigt__p_wxPyValidator
,
46776 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
46778 static swig_const_info swig_const_table
[] = {
46779 {0, 0, 0, 0.0, 0, 0}};
46790 /* Python-specific SWIG API */
46791 #define SWIG_newvarlink() SWIG_Python_newvarlink()
46792 #define SWIG_addvarlink(p, name, get_attr, set_attr) SWIG_Python_addvarlink(p, name, get_attr, set_attr)
46793 #define SWIG_InstallConstants(d, constants) SWIG_Python_InstallConstants(d, constants)
46795 /* -----------------------------------------------------------------------------
46796 * global variable support code.
46797 * ----------------------------------------------------------------------------- */
46799 typedef struct swig_globalvar
{
46800 char *name
; /* Name of global variable */
46801 PyObject
*(*get_attr
)(); /* Return the current value */
46802 int (*set_attr
)(PyObject
*); /* Set the value */
46803 struct swig_globalvar
*next
;
46806 typedef struct swig_varlinkobject
{
46808 swig_globalvar
*vars
;
46809 } swig_varlinkobject
;
46812 swig_varlink_repr(swig_varlinkobject
*v
) {
46814 return PyString_FromString("<Swig global variables>");
46818 swig_varlink_print(swig_varlinkobject
*v
, FILE *fp
, int flags
) {
46819 swig_globalvar
*var
;
46821 fprintf(fp
,"Swig global variables { ");
46822 for (var
= v
->vars
; var
; var
=var
->next
) {
46823 fprintf(fp
,"%s", var
->name
);
46824 if (var
->next
) fprintf(fp
,", ");
46826 fprintf(fp
," }\n");
46831 swig_varlink_getattr(swig_varlinkobject
*v
, char *n
) {
46832 swig_globalvar
*var
= v
->vars
;
46834 if (strcmp(var
->name
,n
) == 0) {
46835 return (*var
->get_attr
)();
46839 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
46844 swig_varlink_setattr(swig_varlinkobject
*v
, char *n
, PyObject
*p
) {
46845 swig_globalvar
*var
= v
->vars
;
46847 if (strcmp(var
->name
,n
) == 0) {
46848 return (*var
->set_attr
)(p
);
46852 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
46856 static PyTypeObject varlinktype
= {
46857 PyObject_HEAD_INIT(0)
46858 0, /* Number of items in variable part (ob_size) */
46859 (char *)"swigvarlink", /* Type name (tp_name) */
46860 sizeof(swig_varlinkobject
), /* Basic size (tp_basicsize) */
46861 0, /* Itemsize (tp_itemsize) */
46862 0, /* Deallocator (tp_dealloc) */
46863 (printfunc
) swig_varlink_print
, /* Print (tp_print) */
46864 (getattrfunc
) swig_varlink_getattr
, /* get attr (tp_getattr) */
46865 (setattrfunc
) swig_varlink_setattr
, /* Set attr (tp_setattr) */
46866 0, /* tp_compare */
46867 (reprfunc
) swig_varlink_repr
, /* tp_repr */
46868 0, /* tp_as_number */
46869 0, /* tp_as_sequence */
46870 0, /* tp_as_mapping */
46874 0, /* tp_getattro */
46875 0, /* tp_setattro */
46876 0, /* tp_as_buffer */
46879 #if PY_VERSION_HEX >= 0x02000000
46880 0, /* tp_traverse */
46883 #if PY_VERSION_HEX >= 0x02010000
46884 0, /* tp_richcompare */
46885 0, /* tp_weaklistoffset */
46887 #if PY_VERSION_HEX >= 0x02020000
46888 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
46890 #if PY_VERSION_HEX >= 0x02030000
46893 #ifdef COUNT_ALLOCS
46894 0,0,0,0 /* tp_alloc -> tp_next */
46898 /* Create a variable linking object for use later */
46900 SWIG_Python_newvarlink(void) {
46901 swig_varlinkobject
*result
= 0;
46902 result
= PyMem_NEW(swig_varlinkobject
,1);
46903 varlinktype
.ob_type
= &PyType_Type
; /* Patch varlinktype into a PyType */
46904 result
->ob_type
= &varlinktype
;
46906 result
->ob_refcnt
= 0;
46907 Py_XINCREF((PyObject
*) result
);
46908 return ((PyObject
*) result
);
46912 SWIG_Python_addvarlink(PyObject
*p
, char *name
, PyObject
*(*get_attr
)(void), int (*set_attr
)(PyObject
*p
)) {
46913 swig_varlinkobject
*v
;
46914 swig_globalvar
*gv
;
46915 v
= (swig_varlinkobject
*) p
;
46916 gv
= (swig_globalvar
*) malloc(sizeof(swig_globalvar
));
46917 gv
->name
= (char *) malloc(strlen(name
)+1);
46918 strcpy(gv
->name
,name
);
46919 gv
->get_attr
= get_attr
;
46920 gv
->set_attr
= set_attr
;
46921 gv
->next
= v
->vars
;
46925 /* -----------------------------------------------------------------------------
46926 * constants/methods manipulation
46927 * ----------------------------------------------------------------------------- */
46929 /* Install Constants */
46931 SWIG_Python_InstallConstants(PyObject
*d
, swig_const_info constants
[]) {
46934 for (i
= 0; constants
[i
].type
; i
++) {
46935 switch(constants
[i
].type
) {
46937 obj
= PyInt_FromLong(constants
[i
].lvalue
);
46939 case SWIG_PY_FLOAT
:
46940 obj
= PyFloat_FromDouble(constants
[i
].dvalue
);
46942 case SWIG_PY_STRING
:
46943 if (constants
[i
].pvalue
) {
46944 obj
= PyString_FromString((char *) constants
[i
].pvalue
);
46946 Py_INCREF(Py_None
);
46950 case SWIG_PY_POINTER
:
46951 obj
= SWIG_NewPointerObj(constants
[i
].pvalue
, *(constants
[i
]).ptype
,0);
46953 case SWIG_PY_BINARY
:
46954 obj
= SWIG_NewPackedObj(constants
[i
].pvalue
, constants
[i
].lvalue
, *(constants
[i
].ptype
));
46961 PyDict_SetItemString(d
,constants
[i
].name
,obj
);
46967 /* -----------------------------------------------------------------------------*/
46968 /* Fix SwigMethods to carry the callback ptrs when needed */
46969 /* -----------------------------------------------------------------------------*/
46972 SWIG_Python_FixMethods(PyMethodDef
*methods
,
46973 swig_const_info
*const_table
,
46974 swig_type_info
**types
,
46975 swig_type_info
**types_initial
) {
46977 for (i
= 0; methods
[i
].ml_name
; ++i
) {
46978 char *c
= methods
[i
].ml_doc
;
46979 if (c
&& (c
= strstr(c
, "swig_ptr: "))) {
46981 swig_const_info
*ci
= 0;
46982 char *name
= c
+ 10;
46983 for (j
= 0; const_table
[j
].type
; j
++) {
46984 if (strncmp(const_table
[j
].name
, name
,
46985 strlen(const_table
[j
].name
)) == 0) {
46986 ci
= &(const_table
[j
]);
46991 size_t shift
= (ci
->ptype
) - types
;
46992 swig_type_info
*ty
= types_initial
[shift
];
46993 size_t ldoc
= (c
- methods
[i
].ml_doc
);
46994 size_t lptr
= strlen(ty
->name
)+2*sizeof(void*)+2;
46995 char *ndoc
= (char*)malloc(ldoc
+ lptr
+ 10);
46997 void *ptr
= (ci
->type
== SWIG_PY_POINTER
) ? ci
->pvalue
: (void *)(ci
->lvalue
);
46998 strncpy(buff
, methods
[i
].ml_doc
, ldoc
);
47000 strncpy(buff
, "swig_ptr: ", 10);
47002 SWIG_PackVoidPtr(buff
, ptr
, ty
->name
, lptr
);
47003 methods
[i
].ml_doc
= ndoc
;
47009 /* -----------------------------------------------------------------------------*
47010 * Initialize type list
47011 * -----------------------------------------------------------------------------*/
47013 #if PY_MAJOR_VERSION < 2
47014 /* PyModule_AddObject function was introduced in Python 2.0. The following function
47015 is copied out of Python/modsupport.c in python version 2.3.4 */
47017 PyModule_AddObject(PyObject
*m
, char *name
, PyObject
*o
)
47020 if (!PyModule_Check(m
)) {
47021 PyErr_SetString(PyExc_TypeError
,
47022 "PyModule_AddObject() needs module as first arg");
47026 PyErr_SetString(PyExc_TypeError
,
47027 "PyModule_AddObject() needs non-NULL value");
47031 dict
= PyModule_GetDict(m
);
47032 if (dict
== NULL
) {
47033 /* Internal error -- modules must have a dict! */
47034 PyErr_Format(PyExc_SystemError
, "module '%s' has no __dict__",
47035 PyModule_GetName(m
));
47038 if (PyDict_SetItemString(dict
, name
, o
))
47045 static swig_type_info
**
47046 SWIG_Python_SetTypeListHandle(swig_type_info
**type_list_handle
) {
47047 static PyMethodDef swig_empty_runtime_method_table
[] = {
47049 NULL
, NULL
, 0, NULL
47053 PyObject
*module = Py_InitModule((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION
,
47054 swig_empty_runtime_method_table
);
47055 PyObject
*pointer
= PyCObject_FromVoidPtr((void *) type_list_handle
, NULL
);
47056 if (pointer
&& module) {
47057 PyModule_AddObject(module, (char*)"type_pointer" SWIG_TYPE_TABLE_NAME
, pointer
);
47059 return type_list_handle
;
47062 static swig_type_info
**
47063 SWIG_Python_LookupTypePointer(swig_type_info
**type_list_handle
) {
47064 swig_type_info
**type_pointer
;
47066 /* first check if module already created */
47067 type_pointer
= SWIG_Python_GetTypeListHandle();
47068 if (type_pointer
) {
47069 return type_pointer
;
47071 /* create a new module and variable */
47072 return SWIG_Python_SetTypeListHandle(type_list_handle
);
47080 /* -----------------------------------------------------------------------------*
47081 * Partial Init method
47082 * -----------------------------------------------------------------------------*/
47084 #ifdef SWIG_LINK_RUNTIME
47088 SWIGEXPORT(void *) SWIG_ReturnGlobalTypeList(void *);
47094 SWIGEXPORT(void) SWIG_init(void) {
47095 static PyObject
*SWIG_globals
= 0;
47096 static int typeinit
= 0;
47099 if (!SWIG_globals
) SWIG_globals
= SWIG_newvarlink();
47101 /* Fix SwigMethods to carry the callback ptrs when needed */
47102 SWIG_Python_FixMethods(SwigMethods
, swig_const_table
, swig_types
, swig_types_initial
);
47104 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
47105 d
= PyModule_GetDict(m
);
47108 #ifdef SWIG_LINK_RUNTIME
47109 swig_type_list_handle
= (swig_type_info
**) SWIG_ReturnGlobalTypeList(swig_type_list_handle
);
47111 # ifndef SWIG_STATIC_RUNTIME
47112 swig_type_list_handle
= SWIG_Python_LookupTypePointer(swig_type_list_handle
);
47115 for (i
= 0; swig_types_initial
[i
]; i
++) {
47116 swig_types
[i
] = SWIG_TypeRegister(swig_types_initial
[i
]);
47120 SWIG_InstallConstants(d
,swig_const_table
);
47123 #ifndef wxPyUSE_EXPORT
47124 // Make our API structure a CObject so other modules can import it
47125 // from this module.
47126 PyObject
* cobj
= PyCObject_FromVoidPtr(&API
, NULL
);
47127 PyDict_SetItemString(d
,"_wxPyCoreAPI", cobj
);
47132 PyDict_SetItemString(d
,"NOT_FOUND", SWIG_From_int((int)(wxNOT_FOUND
)));
47135 PyDict_SetItemString(d
,"VSCROLL", SWIG_From_int((int)(wxVSCROLL
)));
47138 PyDict_SetItemString(d
,"HSCROLL", SWIG_From_int((int)(wxHSCROLL
)));
47141 PyDict_SetItemString(d
,"CAPTION", SWIG_From_int((int)(wxCAPTION
)));
47144 PyDict_SetItemString(d
,"DOUBLE_BORDER", SWIG_From_int((int)(wxDOUBLE_BORDER
)));
47147 PyDict_SetItemString(d
,"SUNKEN_BORDER", SWIG_From_int((int)(wxSUNKEN_BORDER
)));
47150 PyDict_SetItemString(d
,"RAISED_BORDER", SWIG_From_int((int)(wxRAISED_BORDER
)));
47153 PyDict_SetItemString(d
,"BORDER", SWIG_From_int((int)(wxBORDER
)));
47156 PyDict_SetItemString(d
,"SIMPLE_BORDER", SWIG_From_int((int)(wxSIMPLE_BORDER
)));
47159 PyDict_SetItemString(d
,"STATIC_BORDER", SWIG_From_int((int)(wxSTATIC_BORDER
)));
47162 PyDict_SetItemString(d
,"TRANSPARENT_WINDOW", SWIG_From_int((int)(wxTRANSPARENT_WINDOW
)));
47165 PyDict_SetItemString(d
,"NO_BORDER", SWIG_From_int((int)(wxNO_BORDER
)));
47168 PyDict_SetItemString(d
,"TAB_TRAVERSAL", SWIG_From_int((int)(wxTAB_TRAVERSAL
)));
47171 PyDict_SetItemString(d
,"WANTS_CHARS", SWIG_From_int((int)(wxWANTS_CHARS
)));
47174 PyDict_SetItemString(d
,"POPUP_WINDOW", SWIG_From_int((int)(wxPOPUP_WINDOW
)));
47177 PyDict_SetItemString(d
,"CENTER_FRAME", SWIG_From_int((int)(wxCENTER_FRAME
)));
47180 PyDict_SetItemString(d
,"CENTRE_ON_SCREEN", SWIG_From_int((int)(wxCENTRE_ON_SCREEN
)));
47183 PyDict_SetItemString(d
,"CENTER_ON_SCREEN", SWIG_From_int((int)(wxCENTER_ON_SCREEN
)));
47186 PyDict_SetItemString(d
,"ED_CLIENT_MARGIN", SWIG_From_int((int)(wxED_CLIENT_MARGIN
)));
47189 PyDict_SetItemString(d
,"ED_BUTTONS_BOTTOM", SWIG_From_int((int)(wxED_BUTTONS_BOTTOM
)));
47192 PyDict_SetItemString(d
,"ED_BUTTONS_RIGHT", SWIG_From_int((int)(wxED_BUTTONS_RIGHT
)));
47195 PyDict_SetItemString(d
,"ED_STATIC_LINE", SWIG_From_int((int)(wxED_STATIC_LINE
)));
47198 PyDict_SetItemString(d
,"EXT_DIALOG_STYLE", SWIG_From_int((int)(wxEXT_DIALOG_STYLE
)));
47201 PyDict_SetItemString(d
,"CLIP_CHILDREN", SWIG_From_int((int)(wxCLIP_CHILDREN
)));
47204 PyDict_SetItemString(d
,"CLIP_SIBLINGS", SWIG_From_int((int)(wxCLIP_SIBLINGS
)));
47207 PyDict_SetItemString(d
,"ALWAYS_SHOW_SB", SWIG_From_int((int)(wxALWAYS_SHOW_SB
)));
47210 PyDict_SetItemString(d
,"RETAINED", SWIG_From_int((int)(wxRETAINED
)));
47213 PyDict_SetItemString(d
,"BACKINGSTORE", SWIG_From_int((int)(wxBACKINGSTORE
)));
47216 PyDict_SetItemString(d
,"COLOURED", SWIG_From_int((int)(wxCOLOURED
)));
47219 PyDict_SetItemString(d
,"FIXED_LENGTH", SWIG_From_int((int)(wxFIXED_LENGTH
)));
47222 PyDict_SetItemString(d
,"LB_NEEDED_SB", SWIG_From_int((int)(wxLB_NEEDED_SB
)));
47225 PyDict_SetItemString(d
,"LB_ALWAYS_SB", SWIG_From_int((int)(wxLB_ALWAYS_SB
)));
47228 PyDict_SetItemString(d
,"LB_SORT", SWIG_From_int((int)(wxLB_SORT
)));
47231 PyDict_SetItemString(d
,"LB_SINGLE", SWIG_From_int((int)(wxLB_SINGLE
)));
47234 PyDict_SetItemString(d
,"LB_MULTIPLE", SWIG_From_int((int)(wxLB_MULTIPLE
)));
47237 PyDict_SetItemString(d
,"LB_EXTENDED", SWIG_From_int((int)(wxLB_EXTENDED
)));
47240 PyDict_SetItemString(d
,"LB_OWNERDRAW", SWIG_From_int((int)(wxLB_OWNERDRAW
)));
47243 PyDict_SetItemString(d
,"LB_HSCROLL", SWIG_From_int((int)(wxLB_HSCROLL
)));
47246 PyDict_SetItemString(d
,"PROCESS_ENTER", SWIG_From_int((int)(wxPROCESS_ENTER
)));
47249 PyDict_SetItemString(d
,"PASSWORD", SWIG_From_int((int)(wxPASSWORD
)));
47252 PyDict_SetItemString(d
,"CB_SIMPLE", SWIG_From_int((int)(wxCB_SIMPLE
)));
47255 PyDict_SetItemString(d
,"CB_DROPDOWN", SWIG_From_int((int)(wxCB_DROPDOWN
)));
47258 PyDict_SetItemString(d
,"CB_SORT", SWIG_From_int((int)(wxCB_SORT
)));
47261 PyDict_SetItemString(d
,"CB_READONLY", SWIG_From_int((int)(wxCB_READONLY
)));
47264 PyDict_SetItemString(d
,"RA_HORIZONTAL", SWIG_From_int((int)(wxRA_HORIZONTAL
)));
47267 PyDict_SetItemString(d
,"RA_VERTICAL", SWIG_From_int((int)(wxRA_VERTICAL
)));
47270 PyDict_SetItemString(d
,"RA_SPECIFY_ROWS", SWIG_From_int((int)(wxRA_SPECIFY_ROWS
)));
47273 PyDict_SetItemString(d
,"RA_SPECIFY_COLS", SWIG_From_int((int)(wxRA_SPECIFY_COLS
)));
47276 PyDict_SetItemString(d
,"RA_USE_CHECKBOX", SWIG_From_int((int)(wxRA_USE_CHECKBOX
)));
47279 PyDict_SetItemString(d
,"RB_GROUP", SWIG_From_int((int)(wxRB_GROUP
)));
47282 PyDict_SetItemString(d
,"RB_SINGLE", SWIG_From_int((int)(wxRB_SINGLE
)));
47285 PyDict_SetItemString(d
,"SB_HORIZONTAL", SWIG_From_int((int)(wxSB_HORIZONTAL
)));
47288 PyDict_SetItemString(d
,"SB_VERTICAL", SWIG_From_int((int)(wxSB_VERTICAL
)));
47291 PyDict_SetItemString(d
,"RB_USE_CHECKBOX", SWIG_From_int((int)(wxRB_USE_CHECKBOX
)));
47294 PyDict_SetItemString(d
,"ST_SIZEGRIP", SWIG_From_int((int)(wxST_SIZEGRIP
)));
47297 PyDict_SetItemString(d
,"ST_NO_AUTORESIZE", SWIG_From_int((int)(wxST_NO_AUTORESIZE
)));
47300 PyDict_SetItemString(d
,"FLOOD_SURFACE", SWIG_From_int((int)(wxFLOOD_SURFACE
)));
47303 PyDict_SetItemString(d
,"FLOOD_BORDER", SWIG_From_int((int)(wxFLOOD_BORDER
)));
47306 PyDict_SetItemString(d
,"ODDEVEN_RULE", SWIG_From_int((int)(wxODDEVEN_RULE
)));
47309 PyDict_SetItemString(d
,"WINDING_RULE", SWIG_From_int((int)(wxWINDING_RULE
)));
47312 PyDict_SetItemString(d
,"TOOL_TOP", SWIG_From_int((int)(wxTOOL_TOP
)));
47315 PyDict_SetItemString(d
,"TOOL_BOTTOM", SWIG_From_int((int)(wxTOOL_BOTTOM
)));
47318 PyDict_SetItemString(d
,"TOOL_LEFT", SWIG_From_int((int)(wxTOOL_LEFT
)));
47321 PyDict_SetItemString(d
,"TOOL_RIGHT", SWIG_From_int((int)(wxTOOL_RIGHT
)));
47324 PyDict_SetItemString(d
,"OK", SWIG_From_int((int)(wxOK
)));
47327 PyDict_SetItemString(d
,"YES_NO", SWIG_From_int((int)(wxYES_NO
)));
47330 PyDict_SetItemString(d
,"CANCEL", SWIG_From_int((int)(wxCANCEL
)));
47333 PyDict_SetItemString(d
,"YES", SWIG_From_int((int)(wxYES
)));
47336 PyDict_SetItemString(d
,"NO", SWIG_From_int((int)(wxNO
)));
47339 PyDict_SetItemString(d
,"NO_DEFAULT", SWIG_From_int((int)(wxNO_DEFAULT
)));
47342 PyDict_SetItemString(d
,"YES_DEFAULT", SWIG_From_int((int)(wxYES_DEFAULT
)));
47345 PyDict_SetItemString(d
,"ICON_EXCLAMATION", SWIG_From_int((int)(wxICON_EXCLAMATION
)));
47348 PyDict_SetItemString(d
,"ICON_HAND", SWIG_From_int((int)(wxICON_HAND
)));
47351 PyDict_SetItemString(d
,"ICON_QUESTION", SWIG_From_int((int)(wxICON_QUESTION
)));
47354 PyDict_SetItemString(d
,"ICON_INFORMATION", SWIG_From_int((int)(wxICON_INFORMATION
)));
47357 PyDict_SetItemString(d
,"ICON_STOP", SWIG_From_int((int)(wxICON_STOP
)));
47360 PyDict_SetItemString(d
,"ICON_ASTERISK", SWIG_From_int((int)(wxICON_ASTERISK
)));
47363 PyDict_SetItemString(d
,"ICON_MASK", SWIG_From_int((int)(wxICON_MASK
)));
47366 PyDict_SetItemString(d
,"ICON_WARNING", SWIG_From_int((int)(wxICON_WARNING
)));
47369 PyDict_SetItemString(d
,"ICON_ERROR", SWIG_From_int((int)(wxICON_ERROR
)));
47372 PyDict_SetItemString(d
,"FORWARD", SWIG_From_int((int)(wxFORWARD
)));
47375 PyDict_SetItemString(d
,"BACKWARD", SWIG_From_int((int)(wxBACKWARD
)));
47378 PyDict_SetItemString(d
,"RESET", SWIG_From_int((int)(wxRESET
)));
47381 PyDict_SetItemString(d
,"HELP", SWIG_From_int((int)(wxHELP
)));
47384 PyDict_SetItemString(d
,"MORE", SWIG_From_int((int)(wxMORE
)));
47387 PyDict_SetItemString(d
,"SETUP", SWIG_From_int((int)(wxSETUP
)));
47390 PyDict_SetItemString(d
,"SIZE_AUTO_WIDTH", SWIG_From_int((int)(wxSIZE_AUTO_WIDTH
)));
47393 PyDict_SetItemString(d
,"SIZE_AUTO_HEIGHT", SWIG_From_int((int)(wxSIZE_AUTO_HEIGHT
)));
47396 PyDict_SetItemString(d
,"SIZE_AUTO", SWIG_From_int((int)(wxSIZE_AUTO
)));
47399 PyDict_SetItemString(d
,"SIZE_USE_EXISTING", SWIG_From_int((int)(wxSIZE_USE_EXISTING
)));
47402 PyDict_SetItemString(d
,"SIZE_ALLOW_MINUS_ONE", SWIG_From_int((int)(wxSIZE_ALLOW_MINUS_ONE
)));
47405 PyDict_SetItemString(d
,"PORTRAIT", SWIG_From_int((int)(wxPORTRAIT
)));
47408 PyDict_SetItemString(d
,"LANDSCAPE", SWIG_From_int((int)(wxLANDSCAPE
)));
47411 PyDict_SetItemString(d
,"PRINT_QUALITY_HIGH", SWIG_From_int((int)(wxPRINT_QUALITY_HIGH
)));
47414 PyDict_SetItemString(d
,"PRINT_QUALITY_MEDIUM", SWIG_From_int((int)(wxPRINT_QUALITY_MEDIUM
)));
47417 PyDict_SetItemString(d
,"PRINT_QUALITY_LOW", SWIG_From_int((int)(wxPRINT_QUALITY_LOW
)));
47420 PyDict_SetItemString(d
,"PRINT_QUALITY_DRAFT", SWIG_From_int((int)(wxPRINT_QUALITY_DRAFT
)));
47423 PyDict_SetItemString(d
,"ID_ANY", SWIG_From_int((int)(wxID_ANY
)));
47426 PyDict_SetItemString(d
,"ID_SEPARATOR", SWIG_From_int((int)(wxID_SEPARATOR
)));
47429 PyDict_SetItemString(d
,"ID_LOWEST", SWIG_From_int((int)(wxID_LOWEST
)));
47432 PyDict_SetItemString(d
,"ID_OPEN", SWIG_From_int((int)(wxID_OPEN
)));
47435 PyDict_SetItemString(d
,"ID_CLOSE", SWIG_From_int((int)(wxID_CLOSE
)));
47438 PyDict_SetItemString(d
,"ID_NEW", SWIG_From_int((int)(wxID_NEW
)));
47441 PyDict_SetItemString(d
,"ID_SAVE", SWIG_From_int((int)(wxID_SAVE
)));
47444 PyDict_SetItemString(d
,"ID_SAVEAS", SWIG_From_int((int)(wxID_SAVEAS
)));
47447 PyDict_SetItemString(d
,"ID_REVERT", SWIG_From_int((int)(wxID_REVERT
)));
47450 PyDict_SetItemString(d
,"ID_EXIT", SWIG_From_int((int)(wxID_EXIT
)));
47453 PyDict_SetItemString(d
,"ID_UNDO", SWIG_From_int((int)(wxID_UNDO
)));
47456 PyDict_SetItemString(d
,"ID_REDO", SWIG_From_int((int)(wxID_REDO
)));
47459 PyDict_SetItemString(d
,"ID_HELP", SWIG_From_int((int)(wxID_HELP
)));
47462 PyDict_SetItemString(d
,"ID_PRINT", SWIG_From_int((int)(wxID_PRINT
)));
47465 PyDict_SetItemString(d
,"ID_PRINT_SETUP", SWIG_From_int((int)(wxID_PRINT_SETUP
)));
47468 PyDict_SetItemString(d
,"ID_PREVIEW", SWIG_From_int((int)(wxID_PREVIEW
)));
47471 PyDict_SetItemString(d
,"ID_ABOUT", SWIG_From_int((int)(wxID_ABOUT
)));
47474 PyDict_SetItemString(d
,"ID_HELP_CONTENTS", SWIG_From_int((int)(wxID_HELP_CONTENTS
)));
47477 PyDict_SetItemString(d
,"ID_HELP_COMMANDS", SWIG_From_int((int)(wxID_HELP_COMMANDS
)));
47480 PyDict_SetItemString(d
,"ID_HELP_PROCEDURES", SWIG_From_int((int)(wxID_HELP_PROCEDURES
)));
47483 PyDict_SetItemString(d
,"ID_HELP_CONTEXT", SWIG_From_int((int)(wxID_HELP_CONTEXT
)));
47486 PyDict_SetItemString(d
,"ID_CLOSE_ALL", SWIG_From_int((int)(wxID_CLOSE_ALL
)));
47489 PyDict_SetItemString(d
,"ID_PREFERENCES", SWIG_From_int((int)(wxID_PREFERENCES
)));
47492 PyDict_SetItemString(d
,"ID_CUT", SWIG_From_int((int)(wxID_CUT
)));
47495 PyDict_SetItemString(d
,"ID_COPY", SWIG_From_int((int)(wxID_COPY
)));
47498 PyDict_SetItemString(d
,"ID_PASTE", SWIG_From_int((int)(wxID_PASTE
)));
47501 PyDict_SetItemString(d
,"ID_CLEAR", SWIG_From_int((int)(wxID_CLEAR
)));
47504 PyDict_SetItemString(d
,"ID_FIND", SWIG_From_int((int)(wxID_FIND
)));
47507 PyDict_SetItemString(d
,"ID_DUPLICATE", SWIG_From_int((int)(wxID_DUPLICATE
)));
47510 PyDict_SetItemString(d
,"ID_SELECTALL", SWIG_From_int((int)(wxID_SELECTALL
)));
47513 PyDict_SetItemString(d
,"ID_DELETE", SWIG_From_int((int)(wxID_DELETE
)));
47516 PyDict_SetItemString(d
,"ID_REPLACE", SWIG_From_int((int)(wxID_REPLACE
)));
47519 PyDict_SetItemString(d
,"ID_REPLACE_ALL", SWIG_From_int((int)(wxID_REPLACE_ALL
)));
47522 PyDict_SetItemString(d
,"ID_PROPERTIES", SWIG_From_int((int)(wxID_PROPERTIES
)));
47525 PyDict_SetItemString(d
,"ID_VIEW_DETAILS", SWIG_From_int((int)(wxID_VIEW_DETAILS
)));
47528 PyDict_SetItemString(d
,"ID_VIEW_LARGEICONS", SWIG_From_int((int)(wxID_VIEW_LARGEICONS
)));
47531 PyDict_SetItemString(d
,"ID_VIEW_SMALLICONS", SWIG_From_int((int)(wxID_VIEW_SMALLICONS
)));
47534 PyDict_SetItemString(d
,"ID_VIEW_LIST", SWIG_From_int((int)(wxID_VIEW_LIST
)));
47537 PyDict_SetItemString(d
,"ID_VIEW_SORTDATE", SWIG_From_int((int)(wxID_VIEW_SORTDATE
)));
47540 PyDict_SetItemString(d
,"ID_VIEW_SORTNAME", SWIG_From_int((int)(wxID_VIEW_SORTNAME
)));
47543 PyDict_SetItemString(d
,"ID_VIEW_SORTSIZE", SWIG_From_int((int)(wxID_VIEW_SORTSIZE
)));
47546 PyDict_SetItemString(d
,"ID_VIEW_SORTTYPE", SWIG_From_int((int)(wxID_VIEW_SORTTYPE
)));
47549 PyDict_SetItemString(d
,"ID_FILE1", SWIG_From_int((int)(wxID_FILE1
)));
47552 PyDict_SetItemString(d
,"ID_FILE2", SWIG_From_int((int)(wxID_FILE2
)));
47555 PyDict_SetItemString(d
,"ID_FILE3", SWIG_From_int((int)(wxID_FILE3
)));
47558 PyDict_SetItemString(d
,"ID_FILE4", SWIG_From_int((int)(wxID_FILE4
)));
47561 PyDict_SetItemString(d
,"ID_FILE5", SWIG_From_int((int)(wxID_FILE5
)));
47564 PyDict_SetItemString(d
,"ID_FILE6", SWIG_From_int((int)(wxID_FILE6
)));
47567 PyDict_SetItemString(d
,"ID_FILE7", SWIG_From_int((int)(wxID_FILE7
)));
47570 PyDict_SetItemString(d
,"ID_FILE8", SWIG_From_int((int)(wxID_FILE8
)));
47573 PyDict_SetItemString(d
,"ID_FILE9", SWIG_From_int((int)(wxID_FILE9
)));
47576 PyDict_SetItemString(d
,"ID_OK", SWIG_From_int((int)(wxID_OK
)));
47579 PyDict_SetItemString(d
,"ID_CANCEL", SWIG_From_int((int)(wxID_CANCEL
)));
47582 PyDict_SetItemString(d
,"ID_APPLY", SWIG_From_int((int)(wxID_APPLY
)));
47585 PyDict_SetItemString(d
,"ID_YES", SWIG_From_int((int)(wxID_YES
)));
47588 PyDict_SetItemString(d
,"ID_NO", SWIG_From_int((int)(wxID_NO
)));
47591 PyDict_SetItemString(d
,"ID_STATIC", SWIG_From_int((int)(wxID_STATIC
)));
47594 PyDict_SetItemString(d
,"ID_FORWARD", SWIG_From_int((int)(wxID_FORWARD
)));
47597 PyDict_SetItemString(d
,"ID_BACKWARD", SWIG_From_int((int)(wxID_BACKWARD
)));
47600 PyDict_SetItemString(d
,"ID_DEFAULT", SWIG_From_int((int)(wxID_DEFAULT
)));
47603 PyDict_SetItemString(d
,"ID_MORE", SWIG_From_int((int)(wxID_MORE
)));
47606 PyDict_SetItemString(d
,"ID_SETUP", SWIG_From_int((int)(wxID_SETUP
)));
47609 PyDict_SetItemString(d
,"ID_RESET", SWIG_From_int((int)(wxID_RESET
)));
47612 PyDict_SetItemString(d
,"ID_CONTEXT_HELP", SWIG_From_int((int)(wxID_CONTEXT_HELP
)));
47615 PyDict_SetItemString(d
,"ID_YESTOALL", SWIG_From_int((int)(wxID_YESTOALL
)));
47618 PyDict_SetItemString(d
,"ID_NOTOALL", SWIG_From_int((int)(wxID_NOTOALL
)));
47621 PyDict_SetItemString(d
,"ID_ABORT", SWIG_From_int((int)(wxID_ABORT
)));
47624 PyDict_SetItemString(d
,"ID_RETRY", SWIG_From_int((int)(wxID_RETRY
)));
47627 PyDict_SetItemString(d
,"ID_IGNORE", SWIG_From_int((int)(wxID_IGNORE
)));
47630 PyDict_SetItemString(d
,"ID_ADD", SWIG_From_int((int)(wxID_ADD
)));
47633 PyDict_SetItemString(d
,"ID_REMOVE", SWIG_From_int((int)(wxID_REMOVE
)));
47636 PyDict_SetItemString(d
,"ID_UP", SWIG_From_int((int)(wxID_UP
)));
47639 PyDict_SetItemString(d
,"ID_DOWN", SWIG_From_int((int)(wxID_DOWN
)));
47642 PyDict_SetItemString(d
,"ID_HOME", SWIG_From_int((int)(wxID_HOME
)));
47645 PyDict_SetItemString(d
,"ID_REFRESH", SWIG_From_int((int)(wxID_REFRESH
)));
47648 PyDict_SetItemString(d
,"ID_STOP", SWIG_From_int((int)(wxID_STOP
)));
47651 PyDict_SetItemString(d
,"ID_INDEX", SWIG_From_int((int)(wxID_INDEX
)));
47654 PyDict_SetItemString(d
,"ID_BOLD", SWIG_From_int((int)(wxID_BOLD
)));
47657 PyDict_SetItemString(d
,"ID_ITALIC", SWIG_From_int((int)(wxID_ITALIC
)));
47660 PyDict_SetItemString(d
,"ID_JUSTIFY_CENTER", SWIG_From_int((int)(wxID_JUSTIFY_CENTER
)));
47663 PyDict_SetItemString(d
,"ID_JUSTIFY_FILL", SWIG_From_int((int)(wxID_JUSTIFY_FILL
)));
47666 PyDict_SetItemString(d
,"ID_JUSTIFY_RIGHT", SWIG_From_int((int)(wxID_JUSTIFY_RIGHT
)));
47669 PyDict_SetItemString(d
,"ID_JUSTIFY_LEFT", SWIG_From_int((int)(wxID_JUSTIFY_LEFT
)));
47672 PyDict_SetItemString(d
,"ID_UNDERLINE", SWIG_From_int((int)(wxID_UNDERLINE
)));
47675 PyDict_SetItemString(d
,"ID_INDENT", SWIG_From_int((int)(wxID_INDENT
)));
47678 PyDict_SetItemString(d
,"ID_UNINDENT", SWIG_From_int((int)(wxID_UNINDENT
)));
47681 PyDict_SetItemString(d
,"ID_ZOOM_100", SWIG_From_int((int)(wxID_ZOOM_100
)));
47684 PyDict_SetItemString(d
,"ID_ZOOM_FIT", SWIG_From_int((int)(wxID_ZOOM_FIT
)));
47687 PyDict_SetItemString(d
,"ID_ZOOM_IN", SWIG_From_int((int)(wxID_ZOOM_IN
)));
47690 PyDict_SetItemString(d
,"ID_ZOOM_OUT", SWIG_From_int((int)(wxID_ZOOM_OUT
)));
47693 PyDict_SetItemString(d
,"ID_UNDELETE", SWIG_From_int((int)(wxID_UNDELETE
)));
47696 PyDict_SetItemString(d
,"ID_REVERT_TO_SAVED", SWIG_From_int((int)(wxID_REVERT_TO_SAVED
)));
47699 PyDict_SetItemString(d
,"ID_HIGHEST", SWIG_From_int((int)(wxID_HIGHEST
)));
47702 PyDict_SetItemString(d
,"OPEN", SWIG_From_int((int)(wxOPEN
)));
47705 PyDict_SetItemString(d
,"SAVE", SWIG_From_int((int)(wxSAVE
)));
47708 PyDict_SetItemString(d
,"HIDE_READONLY", SWIG_From_int((int)(wxHIDE_READONLY
)));
47711 PyDict_SetItemString(d
,"OVERWRITE_PROMPT", SWIG_From_int((int)(wxOVERWRITE_PROMPT
)));
47714 PyDict_SetItemString(d
,"FILE_MUST_EXIST", SWIG_From_int((int)(wxFILE_MUST_EXIST
)));
47717 PyDict_SetItemString(d
,"MULTIPLE", SWIG_From_int((int)(wxMULTIPLE
)));
47720 PyDict_SetItemString(d
,"CHANGE_DIR", SWIG_From_int((int)(wxCHANGE_DIR
)));
47723 PyDict_SetItemString(d
,"ACCEL_ALT", SWIG_From_int((int)(wxACCEL_ALT
)));
47726 PyDict_SetItemString(d
,"ACCEL_CTRL", SWIG_From_int((int)(wxACCEL_CTRL
)));
47729 PyDict_SetItemString(d
,"ACCEL_SHIFT", SWIG_From_int((int)(wxACCEL_SHIFT
)));
47732 PyDict_SetItemString(d
,"ACCEL_NORMAL", SWIG_From_int((int)(wxACCEL_NORMAL
)));
47735 PyDict_SetItemString(d
,"PD_AUTO_HIDE", SWIG_From_int((int)(wxPD_AUTO_HIDE
)));
47738 PyDict_SetItemString(d
,"PD_APP_MODAL", SWIG_From_int((int)(wxPD_APP_MODAL
)));
47741 PyDict_SetItemString(d
,"PD_CAN_ABORT", SWIG_From_int((int)(wxPD_CAN_ABORT
)));
47744 PyDict_SetItemString(d
,"PD_ELAPSED_TIME", SWIG_From_int((int)(wxPD_ELAPSED_TIME
)));
47747 PyDict_SetItemString(d
,"PD_ESTIMATED_TIME", SWIG_From_int((int)(wxPD_ESTIMATED_TIME
)));
47750 PyDict_SetItemString(d
,"PD_REMAINING_TIME", SWIG_From_int((int)(wxPD_REMAINING_TIME
)));
47753 PyDict_SetItemString(d
,"PD_SMOOTH", SWIG_From_int((int)(wxPD_SMOOTH
)));
47756 PyDict_SetItemString(d
,"PD_CAN_SKIP", SWIG_From_int((int)(wxPD_CAN_SKIP
)));
47759 PyDict_SetItemString(d
,"DD_NEW_DIR_BUTTON", SWIG_From_int((int)(wxDD_NEW_DIR_BUTTON
)));
47762 PyDict_SetItemString(d
,"DD_DEFAULT_STYLE", SWIG_From_int((int)(wxDD_DEFAULT_STYLE
)));
47765 PyDict_SetItemString(d
,"MENU_TEAROFF", SWIG_From_int((int)(wxMENU_TEAROFF
)));
47768 PyDict_SetItemString(d
,"MB_DOCKABLE", SWIG_From_int((int)(wxMB_DOCKABLE
)));
47771 PyDict_SetItemString(d
,"NO_FULL_REPAINT_ON_RESIZE", SWIG_From_int((int)(wxNO_FULL_REPAINT_ON_RESIZE
)));
47774 PyDict_SetItemString(d
,"FULL_REPAINT_ON_RESIZE", SWIG_From_int((int)(wxFULL_REPAINT_ON_RESIZE
)));
47777 PyDict_SetItemString(d
,"LI_HORIZONTAL", SWIG_From_int((int)(wxLI_HORIZONTAL
)));
47780 PyDict_SetItemString(d
,"LI_VERTICAL", SWIG_From_int((int)(wxLI_VERTICAL
)));
47783 PyDict_SetItemString(d
,"WS_EX_VALIDATE_RECURSIVELY", SWIG_From_int((int)(wxWS_EX_VALIDATE_RECURSIVELY
)));
47786 PyDict_SetItemString(d
,"WS_EX_BLOCK_EVENTS", SWIG_From_int((int)(wxWS_EX_BLOCK_EVENTS
)));
47789 PyDict_SetItemString(d
,"WS_EX_TRANSIENT", SWIG_From_int((int)(wxWS_EX_TRANSIENT
)));
47792 PyDict_SetItemString(d
,"WS_EX_THEMED_BACKGROUND", SWIG_From_int((int)(wxWS_EX_THEMED_BACKGROUND
)));
47795 PyDict_SetItemString(d
,"WS_EX_PROCESS_IDLE", SWIG_From_int((int)(wxWS_EX_PROCESS_IDLE
)));
47798 PyDict_SetItemString(d
,"WS_EX_PROCESS_UI_UPDATES", SWIG_From_int((int)(wxWS_EX_PROCESS_UI_UPDATES
)));
47801 PyDict_SetItemString(d
,"MM_TEXT", SWIG_From_int((int)(wxMM_TEXT
)));
47804 PyDict_SetItemString(d
,"MM_LOMETRIC", SWIG_From_int((int)(wxMM_LOMETRIC
)));
47807 PyDict_SetItemString(d
,"MM_HIMETRIC", SWIG_From_int((int)(wxMM_HIMETRIC
)));
47810 PyDict_SetItemString(d
,"MM_LOENGLISH", SWIG_From_int((int)(wxMM_LOENGLISH
)));
47813 PyDict_SetItemString(d
,"MM_HIENGLISH", SWIG_From_int((int)(wxMM_HIENGLISH
)));
47816 PyDict_SetItemString(d
,"MM_TWIPS", SWIG_From_int((int)(wxMM_TWIPS
)));
47819 PyDict_SetItemString(d
,"MM_ISOTROPIC", SWIG_From_int((int)(wxMM_ISOTROPIC
)));
47822 PyDict_SetItemString(d
,"MM_ANISOTROPIC", SWIG_From_int((int)(wxMM_ANISOTROPIC
)));
47825 PyDict_SetItemString(d
,"MM_POINTS", SWIG_From_int((int)(wxMM_POINTS
)));
47828 PyDict_SetItemString(d
,"MM_METRIC", SWIG_From_int((int)(wxMM_METRIC
)));
47831 PyDict_SetItemString(d
,"CENTRE", SWIG_From_int((int)(wxCENTRE
)));
47834 PyDict_SetItemString(d
,"CENTER", SWIG_From_int((int)(wxCENTER
)));
47837 PyDict_SetItemString(d
,"HORIZONTAL", SWIG_From_int((int)(wxHORIZONTAL
)));
47840 PyDict_SetItemString(d
,"VERTICAL", SWIG_From_int((int)(wxVERTICAL
)));
47843 PyDict_SetItemString(d
,"BOTH", SWIG_From_int((int)(wxBOTH
)));
47846 PyDict_SetItemString(d
,"LEFT", SWIG_From_int((int)(wxLEFT
)));
47849 PyDict_SetItemString(d
,"RIGHT", SWIG_From_int((int)(wxRIGHT
)));
47852 PyDict_SetItemString(d
,"UP", SWIG_From_int((int)(wxUP
)));
47855 PyDict_SetItemString(d
,"DOWN", SWIG_From_int((int)(wxDOWN
)));
47858 PyDict_SetItemString(d
,"TOP", SWIG_From_int((int)(wxTOP
)));
47861 PyDict_SetItemString(d
,"BOTTOM", SWIG_From_int((int)(wxBOTTOM
)));
47864 PyDict_SetItemString(d
,"NORTH", SWIG_From_int((int)(wxNORTH
)));
47867 PyDict_SetItemString(d
,"SOUTH", SWIG_From_int((int)(wxSOUTH
)));
47870 PyDict_SetItemString(d
,"WEST", SWIG_From_int((int)(wxWEST
)));
47873 PyDict_SetItemString(d
,"EAST", SWIG_From_int((int)(wxEAST
)));
47876 PyDict_SetItemString(d
,"ALL", SWIG_From_int((int)(wxALL
)));
47879 PyDict_SetItemString(d
,"ALIGN_NOT", SWIG_From_int((int)(wxALIGN_NOT
)));
47882 PyDict_SetItemString(d
,"ALIGN_CENTER_HORIZONTAL", SWIG_From_int((int)(wxALIGN_CENTER_HORIZONTAL
)));
47885 PyDict_SetItemString(d
,"ALIGN_CENTRE_HORIZONTAL", SWIG_From_int((int)(wxALIGN_CENTRE_HORIZONTAL
)));
47888 PyDict_SetItemString(d
,"ALIGN_LEFT", SWIG_From_int((int)(wxALIGN_LEFT
)));
47891 PyDict_SetItemString(d
,"ALIGN_TOP", SWIG_From_int((int)(wxALIGN_TOP
)));
47894 PyDict_SetItemString(d
,"ALIGN_RIGHT", SWIG_From_int((int)(wxALIGN_RIGHT
)));
47897 PyDict_SetItemString(d
,"ALIGN_BOTTOM", SWIG_From_int((int)(wxALIGN_BOTTOM
)));
47900 PyDict_SetItemString(d
,"ALIGN_CENTER_VERTICAL", SWIG_From_int((int)(wxALIGN_CENTER_VERTICAL
)));
47903 PyDict_SetItemString(d
,"ALIGN_CENTRE_VERTICAL", SWIG_From_int((int)(wxALIGN_CENTRE_VERTICAL
)));
47906 PyDict_SetItemString(d
,"ALIGN_CENTER", SWIG_From_int((int)(wxALIGN_CENTER
)));
47909 PyDict_SetItemString(d
,"ALIGN_CENTRE", SWIG_From_int((int)(wxALIGN_CENTRE
)));
47912 PyDict_SetItemString(d
,"ALIGN_MASK", SWIG_From_int((int)(wxALIGN_MASK
)));
47915 PyDict_SetItemString(d
,"STRETCH_NOT", SWIG_From_int((int)(wxSTRETCH_NOT
)));
47918 PyDict_SetItemString(d
,"SHRINK", SWIG_From_int((int)(wxSHRINK
)));
47921 PyDict_SetItemString(d
,"GROW", SWIG_From_int((int)(wxGROW
)));
47924 PyDict_SetItemString(d
,"EXPAND", SWIG_From_int((int)(wxEXPAND
)));
47927 PyDict_SetItemString(d
,"SHAPED", SWIG_From_int((int)(wxSHAPED
)));
47930 PyDict_SetItemString(d
,"FIXED_MINSIZE", SWIG_From_int((int)(wxFIXED_MINSIZE
)));
47933 PyDict_SetItemString(d
,"TILE", SWIG_From_int((int)(wxTILE
)));
47936 PyDict_SetItemString(d
,"ADJUST_MINSIZE", SWIG_From_int((int)(wxADJUST_MINSIZE
)));
47939 PyDict_SetItemString(d
,"BORDER_DEFAULT", SWIG_From_int((int)(wxBORDER_DEFAULT
)));
47942 PyDict_SetItemString(d
,"BORDER_NONE", SWIG_From_int((int)(wxBORDER_NONE
)));
47945 PyDict_SetItemString(d
,"BORDER_STATIC", SWIG_From_int((int)(wxBORDER_STATIC
)));
47948 PyDict_SetItemString(d
,"BORDER_SIMPLE", SWIG_From_int((int)(wxBORDER_SIMPLE
)));
47951 PyDict_SetItemString(d
,"BORDER_RAISED", SWIG_From_int((int)(wxBORDER_RAISED
)));
47954 PyDict_SetItemString(d
,"BORDER_SUNKEN", SWIG_From_int((int)(wxBORDER_SUNKEN
)));
47957 PyDict_SetItemString(d
,"BORDER_DOUBLE", SWIG_From_int((int)(wxBORDER_DOUBLE
)));
47960 PyDict_SetItemString(d
,"BORDER_MASK", SWIG_From_int((int)(wxBORDER_MASK
)));
47963 PyDict_SetItemString(d
,"BG_STYLE_SYSTEM", SWIG_From_int((int)(wxBG_STYLE_SYSTEM
)));
47966 PyDict_SetItemString(d
,"BG_STYLE_COLOUR", SWIG_From_int((int)(wxBG_STYLE_COLOUR
)));
47969 PyDict_SetItemString(d
,"BG_STYLE_CUSTOM", SWIG_From_int((int)(wxBG_STYLE_CUSTOM
)));
47972 PyDict_SetItemString(d
,"DEFAULT", SWIG_From_int((int)(wxDEFAULT
)));
47975 PyDict_SetItemString(d
,"DECORATIVE", SWIG_From_int((int)(wxDECORATIVE
)));
47978 PyDict_SetItemString(d
,"ROMAN", SWIG_From_int((int)(wxROMAN
)));
47981 PyDict_SetItemString(d
,"SCRIPT", SWIG_From_int((int)(wxSCRIPT
)));
47984 PyDict_SetItemString(d
,"SWISS", SWIG_From_int((int)(wxSWISS
)));
47987 PyDict_SetItemString(d
,"MODERN", SWIG_From_int((int)(wxMODERN
)));
47990 PyDict_SetItemString(d
,"TELETYPE", SWIG_From_int((int)(wxTELETYPE
)));
47993 PyDict_SetItemString(d
,"VARIABLE", SWIG_From_int((int)(wxVARIABLE
)));
47996 PyDict_SetItemString(d
,"FIXED", SWIG_From_int((int)(wxFIXED
)));
47999 PyDict_SetItemString(d
,"NORMAL", SWIG_From_int((int)(wxNORMAL
)));
48002 PyDict_SetItemString(d
,"LIGHT", SWIG_From_int((int)(wxLIGHT
)));
48005 PyDict_SetItemString(d
,"BOLD", SWIG_From_int((int)(wxBOLD
)));
48008 PyDict_SetItemString(d
,"ITALIC", SWIG_From_int((int)(wxITALIC
)));
48011 PyDict_SetItemString(d
,"SLANT", SWIG_From_int((int)(wxSLANT
)));
48014 PyDict_SetItemString(d
,"SOLID", SWIG_From_int((int)(wxSOLID
)));
48017 PyDict_SetItemString(d
,"DOT", SWIG_From_int((int)(wxDOT
)));
48020 PyDict_SetItemString(d
,"LONG_DASH", SWIG_From_int((int)(wxLONG_DASH
)));
48023 PyDict_SetItemString(d
,"SHORT_DASH", SWIG_From_int((int)(wxSHORT_DASH
)));
48026 PyDict_SetItemString(d
,"DOT_DASH", SWIG_From_int((int)(wxDOT_DASH
)));
48029 PyDict_SetItemString(d
,"USER_DASH", SWIG_From_int((int)(wxUSER_DASH
)));
48032 PyDict_SetItemString(d
,"TRANSPARENT", SWIG_From_int((int)(wxTRANSPARENT
)));
48035 PyDict_SetItemString(d
,"STIPPLE", SWIG_From_int((int)(wxSTIPPLE
)));
48038 PyDict_SetItemString(d
,"BDIAGONAL_HATCH", SWIG_From_int((int)(wxBDIAGONAL_HATCH
)));
48041 PyDict_SetItemString(d
,"CROSSDIAG_HATCH", SWIG_From_int((int)(wxCROSSDIAG_HATCH
)));
48044 PyDict_SetItemString(d
,"FDIAGONAL_HATCH", SWIG_From_int((int)(wxFDIAGONAL_HATCH
)));
48047 PyDict_SetItemString(d
,"CROSS_HATCH", SWIG_From_int((int)(wxCROSS_HATCH
)));
48050 PyDict_SetItemString(d
,"HORIZONTAL_HATCH", SWIG_From_int((int)(wxHORIZONTAL_HATCH
)));
48053 PyDict_SetItemString(d
,"VERTICAL_HATCH", SWIG_From_int((int)(wxVERTICAL_HATCH
)));
48056 PyDict_SetItemString(d
,"JOIN_BEVEL", SWIG_From_int((int)(wxJOIN_BEVEL
)));
48059 PyDict_SetItemString(d
,"JOIN_MITER", SWIG_From_int((int)(wxJOIN_MITER
)));
48062 PyDict_SetItemString(d
,"JOIN_ROUND", SWIG_From_int((int)(wxJOIN_ROUND
)));
48065 PyDict_SetItemString(d
,"CAP_ROUND", SWIG_From_int((int)(wxCAP_ROUND
)));
48068 PyDict_SetItemString(d
,"CAP_PROJECTING", SWIG_From_int((int)(wxCAP_PROJECTING
)));
48071 PyDict_SetItemString(d
,"CAP_BUTT", SWIG_From_int((int)(wxCAP_BUTT
)));
48074 PyDict_SetItemString(d
,"CLEAR", SWIG_From_int((int)(wxCLEAR
)));
48077 PyDict_SetItemString(d
,"XOR", SWIG_From_int((int)(wxXOR
)));
48080 PyDict_SetItemString(d
,"INVERT", SWIG_From_int((int)(wxINVERT
)));
48083 PyDict_SetItemString(d
,"OR_REVERSE", SWIG_From_int((int)(wxOR_REVERSE
)));
48086 PyDict_SetItemString(d
,"AND_REVERSE", SWIG_From_int((int)(wxAND_REVERSE
)));
48089 PyDict_SetItemString(d
,"COPY", SWIG_From_int((int)(wxCOPY
)));
48092 PyDict_SetItemString(d
,"AND", SWIG_From_int((int)(wxAND
)));
48095 PyDict_SetItemString(d
,"AND_INVERT", SWIG_From_int((int)(wxAND_INVERT
)));
48098 PyDict_SetItemString(d
,"NO_OP", SWIG_From_int((int)(wxNO_OP
)));
48101 PyDict_SetItemString(d
,"NOR", SWIG_From_int((int)(wxNOR
)));
48104 PyDict_SetItemString(d
,"EQUIV", SWIG_From_int((int)(wxEQUIV
)));
48107 PyDict_SetItemString(d
,"SRC_INVERT", SWIG_From_int((int)(wxSRC_INVERT
)));
48110 PyDict_SetItemString(d
,"OR_INVERT", SWIG_From_int((int)(wxOR_INVERT
)));
48113 PyDict_SetItemString(d
,"NAND", SWIG_From_int((int)(wxNAND
)));
48116 PyDict_SetItemString(d
,"OR", SWIG_From_int((int)(wxOR
)));
48119 PyDict_SetItemString(d
,"SET", SWIG_From_int((int)(wxSET
)));
48122 PyDict_SetItemString(d
,"WXK_BACK", SWIG_From_int((int)(WXK_BACK
)));
48125 PyDict_SetItemString(d
,"WXK_TAB", SWIG_From_int((int)(WXK_TAB
)));
48128 PyDict_SetItemString(d
,"WXK_RETURN", SWIG_From_int((int)(WXK_RETURN
)));
48131 PyDict_SetItemString(d
,"WXK_ESCAPE", SWIG_From_int((int)(WXK_ESCAPE
)));
48134 PyDict_SetItemString(d
,"WXK_SPACE", SWIG_From_int((int)(WXK_SPACE
)));
48137 PyDict_SetItemString(d
,"WXK_DELETE", SWIG_From_int((int)(WXK_DELETE
)));
48140 PyDict_SetItemString(d
,"WXK_START", SWIG_From_int((int)(WXK_START
)));
48143 PyDict_SetItemString(d
,"WXK_LBUTTON", SWIG_From_int((int)(WXK_LBUTTON
)));
48146 PyDict_SetItemString(d
,"WXK_RBUTTON", SWIG_From_int((int)(WXK_RBUTTON
)));
48149 PyDict_SetItemString(d
,"WXK_CANCEL", SWIG_From_int((int)(WXK_CANCEL
)));
48152 PyDict_SetItemString(d
,"WXK_MBUTTON", SWIG_From_int((int)(WXK_MBUTTON
)));
48155 PyDict_SetItemString(d
,"WXK_CLEAR", SWIG_From_int((int)(WXK_CLEAR
)));
48158 PyDict_SetItemString(d
,"WXK_SHIFT", SWIG_From_int((int)(WXK_SHIFT
)));
48161 PyDict_SetItemString(d
,"WXK_ALT", SWIG_From_int((int)(WXK_ALT
)));
48164 PyDict_SetItemString(d
,"WXK_CONTROL", SWIG_From_int((int)(WXK_CONTROL
)));
48167 PyDict_SetItemString(d
,"WXK_MENU", SWIG_From_int((int)(WXK_MENU
)));
48170 PyDict_SetItemString(d
,"WXK_PAUSE", SWIG_From_int((int)(WXK_PAUSE
)));
48173 PyDict_SetItemString(d
,"WXK_CAPITAL", SWIG_From_int((int)(WXK_CAPITAL
)));
48176 PyDict_SetItemString(d
,"WXK_PRIOR", SWIG_From_int((int)(WXK_PRIOR
)));
48179 PyDict_SetItemString(d
,"WXK_NEXT", SWIG_From_int((int)(WXK_NEXT
)));
48182 PyDict_SetItemString(d
,"WXK_END", SWIG_From_int((int)(WXK_END
)));
48185 PyDict_SetItemString(d
,"WXK_HOME", SWIG_From_int((int)(WXK_HOME
)));
48188 PyDict_SetItemString(d
,"WXK_LEFT", SWIG_From_int((int)(WXK_LEFT
)));
48191 PyDict_SetItemString(d
,"WXK_UP", SWIG_From_int((int)(WXK_UP
)));
48194 PyDict_SetItemString(d
,"WXK_RIGHT", SWIG_From_int((int)(WXK_RIGHT
)));
48197 PyDict_SetItemString(d
,"WXK_DOWN", SWIG_From_int((int)(WXK_DOWN
)));
48200 PyDict_SetItemString(d
,"WXK_SELECT", SWIG_From_int((int)(WXK_SELECT
)));
48203 PyDict_SetItemString(d
,"WXK_PRINT", SWIG_From_int((int)(WXK_PRINT
)));
48206 PyDict_SetItemString(d
,"WXK_EXECUTE", SWIG_From_int((int)(WXK_EXECUTE
)));
48209 PyDict_SetItemString(d
,"WXK_SNAPSHOT", SWIG_From_int((int)(WXK_SNAPSHOT
)));
48212 PyDict_SetItemString(d
,"WXK_INSERT", SWIG_From_int((int)(WXK_INSERT
)));
48215 PyDict_SetItemString(d
,"WXK_HELP", SWIG_From_int((int)(WXK_HELP
)));
48218 PyDict_SetItemString(d
,"WXK_NUMPAD0", SWIG_From_int((int)(WXK_NUMPAD0
)));
48221 PyDict_SetItemString(d
,"WXK_NUMPAD1", SWIG_From_int((int)(WXK_NUMPAD1
)));
48224 PyDict_SetItemString(d
,"WXK_NUMPAD2", SWIG_From_int((int)(WXK_NUMPAD2
)));
48227 PyDict_SetItemString(d
,"WXK_NUMPAD3", SWIG_From_int((int)(WXK_NUMPAD3
)));
48230 PyDict_SetItemString(d
,"WXK_NUMPAD4", SWIG_From_int((int)(WXK_NUMPAD4
)));
48233 PyDict_SetItemString(d
,"WXK_NUMPAD5", SWIG_From_int((int)(WXK_NUMPAD5
)));
48236 PyDict_SetItemString(d
,"WXK_NUMPAD6", SWIG_From_int((int)(WXK_NUMPAD6
)));
48239 PyDict_SetItemString(d
,"WXK_NUMPAD7", SWIG_From_int((int)(WXK_NUMPAD7
)));
48242 PyDict_SetItemString(d
,"WXK_NUMPAD8", SWIG_From_int((int)(WXK_NUMPAD8
)));
48245 PyDict_SetItemString(d
,"WXK_NUMPAD9", SWIG_From_int((int)(WXK_NUMPAD9
)));
48248 PyDict_SetItemString(d
,"WXK_MULTIPLY", SWIG_From_int((int)(WXK_MULTIPLY
)));
48251 PyDict_SetItemString(d
,"WXK_ADD", SWIG_From_int((int)(WXK_ADD
)));
48254 PyDict_SetItemString(d
,"WXK_SEPARATOR", SWIG_From_int((int)(WXK_SEPARATOR
)));
48257 PyDict_SetItemString(d
,"WXK_SUBTRACT", SWIG_From_int((int)(WXK_SUBTRACT
)));
48260 PyDict_SetItemString(d
,"WXK_DECIMAL", SWIG_From_int((int)(WXK_DECIMAL
)));
48263 PyDict_SetItemString(d
,"WXK_DIVIDE", SWIG_From_int((int)(WXK_DIVIDE
)));
48266 PyDict_SetItemString(d
,"WXK_F1", SWIG_From_int((int)(WXK_F1
)));
48269 PyDict_SetItemString(d
,"WXK_F2", SWIG_From_int((int)(WXK_F2
)));
48272 PyDict_SetItemString(d
,"WXK_F3", SWIG_From_int((int)(WXK_F3
)));
48275 PyDict_SetItemString(d
,"WXK_F4", SWIG_From_int((int)(WXK_F4
)));
48278 PyDict_SetItemString(d
,"WXK_F5", SWIG_From_int((int)(WXK_F5
)));
48281 PyDict_SetItemString(d
,"WXK_F6", SWIG_From_int((int)(WXK_F6
)));
48284 PyDict_SetItemString(d
,"WXK_F7", SWIG_From_int((int)(WXK_F7
)));
48287 PyDict_SetItemString(d
,"WXK_F8", SWIG_From_int((int)(WXK_F8
)));
48290 PyDict_SetItemString(d
,"WXK_F9", SWIG_From_int((int)(WXK_F9
)));
48293 PyDict_SetItemString(d
,"WXK_F10", SWIG_From_int((int)(WXK_F10
)));
48296 PyDict_SetItemString(d
,"WXK_F11", SWIG_From_int((int)(WXK_F11
)));
48299 PyDict_SetItemString(d
,"WXK_F12", SWIG_From_int((int)(WXK_F12
)));
48302 PyDict_SetItemString(d
,"WXK_F13", SWIG_From_int((int)(WXK_F13
)));
48305 PyDict_SetItemString(d
,"WXK_F14", SWIG_From_int((int)(WXK_F14
)));
48308 PyDict_SetItemString(d
,"WXK_F15", SWIG_From_int((int)(WXK_F15
)));
48311 PyDict_SetItemString(d
,"WXK_F16", SWIG_From_int((int)(WXK_F16
)));
48314 PyDict_SetItemString(d
,"WXK_F17", SWIG_From_int((int)(WXK_F17
)));
48317 PyDict_SetItemString(d
,"WXK_F18", SWIG_From_int((int)(WXK_F18
)));
48320 PyDict_SetItemString(d
,"WXK_F19", SWIG_From_int((int)(WXK_F19
)));
48323 PyDict_SetItemString(d
,"WXK_F20", SWIG_From_int((int)(WXK_F20
)));
48326 PyDict_SetItemString(d
,"WXK_F21", SWIG_From_int((int)(WXK_F21
)));
48329 PyDict_SetItemString(d
,"WXK_F22", SWIG_From_int((int)(WXK_F22
)));
48332 PyDict_SetItemString(d
,"WXK_F23", SWIG_From_int((int)(WXK_F23
)));
48335 PyDict_SetItemString(d
,"WXK_F24", SWIG_From_int((int)(WXK_F24
)));
48338 PyDict_SetItemString(d
,"WXK_NUMLOCK", SWIG_From_int((int)(WXK_NUMLOCK
)));
48341 PyDict_SetItemString(d
,"WXK_SCROLL", SWIG_From_int((int)(WXK_SCROLL
)));
48344 PyDict_SetItemString(d
,"WXK_PAGEUP", SWIG_From_int((int)(WXK_PAGEUP
)));
48347 PyDict_SetItemString(d
,"WXK_PAGEDOWN", SWIG_From_int((int)(WXK_PAGEDOWN
)));
48350 PyDict_SetItemString(d
,"WXK_NUMPAD_SPACE", SWIG_From_int((int)(WXK_NUMPAD_SPACE
)));
48353 PyDict_SetItemString(d
,"WXK_NUMPAD_TAB", SWIG_From_int((int)(WXK_NUMPAD_TAB
)));
48356 PyDict_SetItemString(d
,"WXK_NUMPAD_ENTER", SWIG_From_int((int)(WXK_NUMPAD_ENTER
)));
48359 PyDict_SetItemString(d
,"WXK_NUMPAD_F1", SWIG_From_int((int)(WXK_NUMPAD_F1
)));
48362 PyDict_SetItemString(d
,"WXK_NUMPAD_F2", SWIG_From_int((int)(WXK_NUMPAD_F2
)));
48365 PyDict_SetItemString(d
,"WXK_NUMPAD_F3", SWIG_From_int((int)(WXK_NUMPAD_F3
)));
48368 PyDict_SetItemString(d
,"WXK_NUMPAD_F4", SWIG_From_int((int)(WXK_NUMPAD_F4
)));
48371 PyDict_SetItemString(d
,"WXK_NUMPAD_HOME", SWIG_From_int((int)(WXK_NUMPAD_HOME
)));
48374 PyDict_SetItemString(d
,"WXK_NUMPAD_LEFT", SWIG_From_int((int)(WXK_NUMPAD_LEFT
)));
48377 PyDict_SetItemString(d
,"WXK_NUMPAD_UP", SWIG_From_int((int)(WXK_NUMPAD_UP
)));
48380 PyDict_SetItemString(d
,"WXK_NUMPAD_RIGHT", SWIG_From_int((int)(WXK_NUMPAD_RIGHT
)));
48383 PyDict_SetItemString(d
,"WXK_NUMPAD_DOWN", SWIG_From_int((int)(WXK_NUMPAD_DOWN
)));
48386 PyDict_SetItemString(d
,"WXK_NUMPAD_PRIOR", SWIG_From_int((int)(WXK_NUMPAD_PRIOR
)));
48389 PyDict_SetItemString(d
,"WXK_NUMPAD_PAGEUP", SWIG_From_int((int)(WXK_NUMPAD_PAGEUP
)));
48392 PyDict_SetItemString(d
,"WXK_NUMPAD_NEXT", SWIG_From_int((int)(WXK_NUMPAD_NEXT
)));
48395 PyDict_SetItemString(d
,"WXK_NUMPAD_PAGEDOWN", SWIG_From_int((int)(WXK_NUMPAD_PAGEDOWN
)));
48398 PyDict_SetItemString(d
,"WXK_NUMPAD_END", SWIG_From_int((int)(WXK_NUMPAD_END
)));
48401 PyDict_SetItemString(d
,"WXK_NUMPAD_BEGIN", SWIG_From_int((int)(WXK_NUMPAD_BEGIN
)));
48404 PyDict_SetItemString(d
,"WXK_NUMPAD_INSERT", SWIG_From_int((int)(WXK_NUMPAD_INSERT
)));
48407 PyDict_SetItemString(d
,"WXK_NUMPAD_DELETE", SWIG_From_int((int)(WXK_NUMPAD_DELETE
)));
48410 PyDict_SetItemString(d
,"WXK_NUMPAD_EQUAL", SWIG_From_int((int)(WXK_NUMPAD_EQUAL
)));
48413 PyDict_SetItemString(d
,"WXK_NUMPAD_MULTIPLY", SWIG_From_int((int)(WXK_NUMPAD_MULTIPLY
)));
48416 PyDict_SetItemString(d
,"WXK_NUMPAD_ADD", SWIG_From_int((int)(WXK_NUMPAD_ADD
)));
48419 PyDict_SetItemString(d
,"WXK_NUMPAD_SEPARATOR", SWIG_From_int((int)(WXK_NUMPAD_SEPARATOR
)));
48422 PyDict_SetItemString(d
,"WXK_NUMPAD_SUBTRACT", SWIG_From_int((int)(WXK_NUMPAD_SUBTRACT
)));
48425 PyDict_SetItemString(d
,"WXK_NUMPAD_DECIMAL", SWIG_From_int((int)(WXK_NUMPAD_DECIMAL
)));
48428 PyDict_SetItemString(d
,"WXK_NUMPAD_DIVIDE", SWIG_From_int((int)(WXK_NUMPAD_DIVIDE
)));
48431 PyDict_SetItemString(d
,"WXK_WINDOWS_LEFT", SWIG_From_int((int)(WXK_WINDOWS_LEFT
)));
48434 PyDict_SetItemString(d
,"WXK_WINDOWS_RIGHT", SWIG_From_int((int)(WXK_WINDOWS_RIGHT
)));
48437 PyDict_SetItemString(d
,"WXK_WINDOWS_MENU", SWIG_From_int((int)(WXK_WINDOWS_MENU
)));
48440 PyDict_SetItemString(d
,"PAPER_NONE", SWIG_From_int((int)(wxPAPER_NONE
)));
48443 PyDict_SetItemString(d
,"PAPER_LETTER", SWIG_From_int((int)(wxPAPER_LETTER
)));
48446 PyDict_SetItemString(d
,"PAPER_LEGAL", SWIG_From_int((int)(wxPAPER_LEGAL
)));
48449 PyDict_SetItemString(d
,"PAPER_A4", SWIG_From_int((int)(wxPAPER_A4
)));
48452 PyDict_SetItemString(d
,"PAPER_CSHEET", SWIG_From_int((int)(wxPAPER_CSHEET
)));
48455 PyDict_SetItemString(d
,"PAPER_DSHEET", SWIG_From_int((int)(wxPAPER_DSHEET
)));
48458 PyDict_SetItemString(d
,"PAPER_ESHEET", SWIG_From_int((int)(wxPAPER_ESHEET
)));
48461 PyDict_SetItemString(d
,"PAPER_LETTERSMALL", SWIG_From_int((int)(wxPAPER_LETTERSMALL
)));
48464 PyDict_SetItemString(d
,"PAPER_TABLOID", SWIG_From_int((int)(wxPAPER_TABLOID
)));
48467 PyDict_SetItemString(d
,"PAPER_LEDGER", SWIG_From_int((int)(wxPAPER_LEDGER
)));
48470 PyDict_SetItemString(d
,"PAPER_STATEMENT", SWIG_From_int((int)(wxPAPER_STATEMENT
)));
48473 PyDict_SetItemString(d
,"PAPER_EXECUTIVE", SWIG_From_int((int)(wxPAPER_EXECUTIVE
)));
48476 PyDict_SetItemString(d
,"PAPER_A3", SWIG_From_int((int)(wxPAPER_A3
)));
48479 PyDict_SetItemString(d
,"PAPER_A4SMALL", SWIG_From_int((int)(wxPAPER_A4SMALL
)));
48482 PyDict_SetItemString(d
,"PAPER_A5", SWIG_From_int((int)(wxPAPER_A5
)));
48485 PyDict_SetItemString(d
,"PAPER_B4", SWIG_From_int((int)(wxPAPER_B4
)));
48488 PyDict_SetItemString(d
,"PAPER_B5", SWIG_From_int((int)(wxPAPER_B5
)));
48491 PyDict_SetItemString(d
,"PAPER_FOLIO", SWIG_From_int((int)(wxPAPER_FOLIO
)));
48494 PyDict_SetItemString(d
,"PAPER_QUARTO", SWIG_From_int((int)(wxPAPER_QUARTO
)));
48497 PyDict_SetItemString(d
,"PAPER_10X14", SWIG_From_int((int)(wxPAPER_10X14
)));
48500 PyDict_SetItemString(d
,"PAPER_11X17", SWIG_From_int((int)(wxPAPER_11X17
)));
48503 PyDict_SetItemString(d
,"PAPER_NOTE", SWIG_From_int((int)(wxPAPER_NOTE
)));
48506 PyDict_SetItemString(d
,"PAPER_ENV_9", SWIG_From_int((int)(wxPAPER_ENV_9
)));
48509 PyDict_SetItemString(d
,"PAPER_ENV_10", SWIG_From_int((int)(wxPAPER_ENV_10
)));
48512 PyDict_SetItemString(d
,"PAPER_ENV_11", SWIG_From_int((int)(wxPAPER_ENV_11
)));
48515 PyDict_SetItemString(d
,"PAPER_ENV_12", SWIG_From_int((int)(wxPAPER_ENV_12
)));
48518 PyDict_SetItemString(d
,"PAPER_ENV_14", SWIG_From_int((int)(wxPAPER_ENV_14
)));
48521 PyDict_SetItemString(d
,"PAPER_ENV_DL", SWIG_From_int((int)(wxPAPER_ENV_DL
)));
48524 PyDict_SetItemString(d
,"PAPER_ENV_C5", SWIG_From_int((int)(wxPAPER_ENV_C5
)));
48527 PyDict_SetItemString(d
,"PAPER_ENV_C3", SWIG_From_int((int)(wxPAPER_ENV_C3
)));
48530 PyDict_SetItemString(d
,"PAPER_ENV_C4", SWIG_From_int((int)(wxPAPER_ENV_C4
)));
48533 PyDict_SetItemString(d
,"PAPER_ENV_C6", SWIG_From_int((int)(wxPAPER_ENV_C6
)));
48536 PyDict_SetItemString(d
,"PAPER_ENV_C65", SWIG_From_int((int)(wxPAPER_ENV_C65
)));
48539 PyDict_SetItemString(d
,"PAPER_ENV_B4", SWIG_From_int((int)(wxPAPER_ENV_B4
)));
48542 PyDict_SetItemString(d
,"PAPER_ENV_B5", SWIG_From_int((int)(wxPAPER_ENV_B5
)));
48545 PyDict_SetItemString(d
,"PAPER_ENV_B6", SWIG_From_int((int)(wxPAPER_ENV_B6
)));
48548 PyDict_SetItemString(d
,"PAPER_ENV_ITALY", SWIG_From_int((int)(wxPAPER_ENV_ITALY
)));
48551 PyDict_SetItemString(d
,"PAPER_ENV_MONARCH", SWIG_From_int((int)(wxPAPER_ENV_MONARCH
)));
48554 PyDict_SetItemString(d
,"PAPER_ENV_PERSONAL", SWIG_From_int((int)(wxPAPER_ENV_PERSONAL
)));
48557 PyDict_SetItemString(d
,"PAPER_FANFOLD_US", SWIG_From_int((int)(wxPAPER_FANFOLD_US
)));
48560 PyDict_SetItemString(d
,"PAPER_FANFOLD_STD_GERMAN", SWIG_From_int((int)(wxPAPER_FANFOLD_STD_GERMAN
)));
48563 PyDict_SetItemString(d
,"PAPER_FANFOLD_LGL_GERMAN", SWIG_From_int((int)(wxPAPER_FANFOLD_LGL_GERMAN
)));
48566 PyDict_SetItemString(d
,"PAPER_ISO_B4", SWIG_From_int((int)(wxPAPER_ISO_B4
)));
48569 PyDict_SetItemString(d
,"PAPER_JAPANESE_POSTCARD", SWIG_From_int((int)(wxPAPER_JAPANESE_POSTCARD
)));
48572 PyDict_SetItemString(d
,"PAPER_9X11", SWIG_From_int((int)(wxPAPER_9X11
)));
48575 PyDict_SetItemString(d
,"PAPER_10X11", SWIG_From_int((int)(wxPAPER_10X11
)));
48578 PyDict_SetItemString(d
,"PAPER_15X11", SWIG_From_int((int)(wxPAPER_15X11
)));
48581 PyDict_SetItemString(d
,"PAPER_ENV_INVITE", SWIG_From_int((int)(wxPAPER_ENV_INVITE
)));
48584 PyDict_SetItemString(d
,"PAPER_LETTER_EXTRA", SWIG_From_int((int)(wxPAPER_LETTER_EXTRA
)));
48587 PyDict_SetItemString(d
,"PAPER_LEGAL_EXTRA", SWIG_From_int((int)(wxPAPER_LEGAL_EXTRA
)));
48590 PyDict_SetItemString(d
,"PAPER_TABLOID_EXTRA", SWIG_From_int((int)(wxPAPER_TABLOID_EXTRA
)));
48593 PyDict_SetItemString(d
,"PAPER_A4_EXTRA", SWIG_From_int((int)(wxPAPER_A4_EXTRA
)));
48596 PyDict_SetItemString(d
,"PAPER_LETTER_TRANSVERSE", SWIG_From_int((int)(wxPAPER_LETTER_TRANSVERSE
)));
48599 PyDict_SetItemString(d
,"PAPER_A4_TRANSVERSE", SWIG_From_int((int)(wxPAPER_A4_TRANSVERSE
)));
48602 PyDict_SetItemString(d
,"PAPER_LETTER_EXTRA_TRANSVERSE", SWIG_From_int((int)(wxPAPER_LETTER_EXTRA_TRANSVERSE
)));
48605 PyDict_SetItemString(d
,"PAPER_A_PLUS", SWIG_From_int((int)(wxPAPER_A_PLUS
)));
48608 PyDict_SetItemString(d
,"PAPER_B_PLUS", SWIG_From_int((int)(wxPAPER_B_PLUS
)));
48611 PyDict_SetItemString(d
,"PAPER_LETTER_PLUS", SWIG_From_int((int)(wxPAPER_LETTER_PLUS
)));
48614 PyDict_SetItemString(d
,"PAPER_A4_PLUS", SWIG_From_int((int)(wxPAPER_A4_PLUS
)));
48617 PyDict_SetItemString(d
,"PAPER_A5_TRANSVERSE", SWIG_From_int((int)(wxPAPER_A5_TRANSVERSE
)));
48620 PyDict_SetItemString(d
,"PAPER_B5_TRANSVERSE", SWIG_From_int((int)(wxPAPER_B5_TRANSVERSE
)));
48623 PyDict_SetItemString(d
,"PAPER_A3_EXTRA", SWIG_From_int((int)(wxPAPER_A3_EXTRA
)));
48626 PyDict_SetItemString(d
,"PAPER_A5_EXTRA", SWIG_From_int((int)(wxPAPER_A5_EXTRA
)));
48629 PyDict_SetItemString(d
,"PAPER_B5_EXTRA", SWIG_From_int((int)(wxPAPER_B5_EXTRA
)));
48632 PyDict_SetItemString(d
,"PAPER_A2", SWIG_From_int((int)(wxPAPER_A2
)));
48635 PyDict_SetItemString(d
,"PAPER_A3_TRANSVERSE", SWIG_From_int((int)(wxPAPER_A3_TRANSVERSE
)));
48638 PyDict_SetItemString(d
,"PAPER_A3_EXTRA_TRANSVERSE", SWIG_From_int((int)(wxPAPER_A3_EXTRA_TRANSVERSE
)));
48641 PyDict_SetItemString(d
,"DUPLEX_SIMPLEX", SWIG_From_int((int)(wxDUPLEX_SIMPLEX
)));
48644 PyDict_SetItemString(d
,"DUPLEX_HORIZONTAL", SWIG_From_int((int)(wxDUPLEX_HORIZONTAL
)));
48647 PyDict_SetItemString(d
,"DUPLEX_VERTICAL", SWIG_From_int((int)(wxDUPLEX_VERTICAL
)));
48650 PyDict_SetItemString(d
,"ITEM_SEPARATOR", SWIG_From_int((int)(wxITEM_SEPARATOR
)));
48653 PyDict_SetItemString(d
,"ITEM_NORMAL", SWIG_From_int((int)(wxITEM_NORMAL
)));
48656 PyDict_SetItemString(d
,"ITEM_CHECK", SWIG_From_int((int)(wxITEM_CHECK
)));
48659 PyDict_SetItemString(d
,"ITEM_RADIO", SWIG_From_int((int)(wxITEM_RADIO
)));
48662 PyDict_SetItemString(d
,"ITEM_MAX", SWIG_From_int((int)(wxITEM_MAX
)));
48665 PyDict_SetItemString(d
,"HT_NOWHERE", SWIG_From_int((int)(wxHT_NOWHERE
)));
48668 PyDict_SetItemString(d
,"HT_SCROLLBAR_FIRST", SWIG_From_int((int)(wxHT_SCROLLBAR_FIRST
)));
48671 PyDict_SetItemString(d
,"HT_SCROLLBAR_ARROW_LINE_1", SWIG_From_int((int)(wxHT_SCROLLBAR_ARROW_LINE_1
)));
48674 PyDict_SetItemString(d
,"HT_SCROLLBAR_ARROW_LINE_2", SWIG_From_int((int)(wxHT_SCROLLBAR_ARROW_LINE_2
)));
48677 PyDict_SetItemString(d
,"HT_SCROLLBAR_ARROW_PAGE_1", SWIG_From_int((int)(wxHT_SCROLLBAR_ARROW_PAGE_1
)));
48680 PyDict_SetItemString(d
,"HT_SCROLLBAR_ARROW_PAGE_2", SWIG_From_int((int)(wxHT_SCROLLBAR_ARROW_PAGE_2
)));
48683 PyDict_SetItemString(d
,"HT_SCROLLBAR_THUMB", SWIG_From_int((int)(wxHT_SCROLLBAR_THUMB
)));
48686 PyDict_SetItemString(d
,"HT_SCROLLBAR_BAR_1", SWIG_From_int((int)(wxHT_SCROLLBAR_BAR_1
)));
48689 PyDict_SetItemString(d
,"HT_SCROLLBAR_BAR_2", SWIG_From_int((int)(wxHT_SCROLLBAR_BAR_2
)));
48692 PyDict_SetItemString(d
,"HT_SCROLLBAR_LAST", SWIG_From_int((int)(wxHT_SCROLLBAR_LAST
)));
48695 PyDict_SetItemString(d
,"HT_WINDOW_OUTSIDE", SWIG_From_int((int)(wxHT_WINDOW_OUTSIDE
)));
48698 PyDict_SetItemString(d
,"HT_WINDOW_INSIDE", SWIG_From_int((int)(wxHT_WINDOW_INSIDE
)));
48701 PyDict_SetItemString(d
,"HT_WINDOW_VERT_SCROLLBAR", SWIG_From_int((int)(wxHT_WINDOW_VERT_SCROLLBAR
)));
48704 PyDict_SetItemString(d
,"HT_WINDOW_HORZ_SCROLLBAR", SWIG_From_int((int)(wxHT_WINDOW_HORZ_SCROLLBAR
)));
48707 PyDict_SetItemString(d
,"HT_WINDOW_CORNER", SWIG_From_int((int)(wxHT_WINDOW_CORNER
)));
48710 PyDict_SetItemString(d
,"HT_MAX", SWIG_From_int((int)(wxHT_MAX
)));
48713 PyDict_SetItemString(d
,"MOD_NONE", SWIG_From_int((int)(wxMOD_NONE
)));
48716 PyDict_SetItemString(d
,"MOD_ALT", SWIG_From_int((int)(wxMOD_ALT
)));
48719 PyDict_SetItemString(d
,"MOD_CONTROL", SWIG_From_int((int)(wxMOD_CONTROL
)));
48722 PyDict_SetItemString(d
,"MOD_SHIFT", SWIG_From_int((int)(wxMOD_SHIFT
)));
48725 PyDict_SetItemString(d
,"MOD_WIN", SWIG_From_int((int)(wxMOD_WIN
)));
48728 PyDict_SetItemString(d
,"UPDATE_UI_NONE", SWIG_From_int((int)(wxUPDATE_UI_NONE
)));
48731 PyDict_SetItemString(d
,"UPDATE_UI_RECURSE", SWIG_From_int((int)(wxUPDATE_UI_RECURSE
)));
48734 PyDict_SetItemString(d
,"UPDATE_UI_FROMIDLE", SWIG_From_int((int)(wxUPDATE_UI_FROMIDLE
)));
48736 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals
);
48737 SWIG_addvarlink(SWIG_globals
,(char*)"EmptyString",_wrap_EmptyString_get
, _wrap_EmptyString_set
);
48739 PyDict_SetItemString(d
,"BITMAP_TYPE_INVALID", SWIG_From_int((int)(wxBITMAP_TYPE_INVALID
)));
48742 PyDict_SetItemString(d
,"BITMAP_TYPE_BMP", SWIG_From_int((int)(wxBITMAP_TYPE_BMP
)));
48745 PyDict_SetItemString(d
,"BITMAP_TYPE_ICO", SWIG_From_int((int)(wxBITMAP_TYPE_ICO
)));
48748 PyDict_SetItemString(d
,"BITMAP_TYPE_CUR", SWIG_From_int((int)(wxBITMAP_TYPE_CUR
)));
48751 PyDict_SetItemString(d
,"BITMAP_TYPE_XBM", SWIG_From_int((int)(wxBITMAP_TYPE_XBM
)));
48754 PyDict_SetItemString(d
,"BITMAP_TYPE_XBM_DATA", SWIG_From_int((int)(wxBITMAP_TYPE_XBM_DATA
)));
48757 PyDict_SetItemString(d
,"BITMAP_TYPE_XPM", SWIG_From_int((int)(wxBITMAP_TYPE_XPM
)));
48760 PyDict_SetItemString(d
,"BITMAP_TYPE_XPM_DATA", SWIG_From_int((int)(wxBITMAP_TYPE_XPM_DATA
)));
48763 PyDict_SetItemString(d
,"BITMAP_TYPE_TIF", SWIG_From_int((int)(wxBITMAP_TYPE_TIF
)));
48766 PyDict_SetItemString(d
,"BITMAP_TYPE_GIF", SWIG_From_int((int)(wxBITMAP_TYPE_GIF
)));
48769 PyDict_SetItemString(d
,"BITMAP_TYPE_PNG", SWIG_From_int((int)(wxBITMAP_TYPE_PNG
)));
48772 PyDict_SetItemString(d
,"BITMAP_TYPE_JPEG", SWIG_From_int((int)(wxBITMAP_TYPE_JPEG
)));
48775 PyDict_SetItemString(d
,"BITMAP_TYPE_PNM", SWIG_From_int((int)(wxBITMAP_TYPE_PNM
)));
48778 PyDict_SetItemString(d
,"BITMAP_TYPE_PCX", SWIG_From_int((int)(wxBITMAP_TYPE_PCX
)));
48781 PyDict_SetItemString(d
,"BITMAP_TYPE_PICT", SWIG_From_int((int)(wxBITMAP_TYPE_PICT
)));
48784 PyDict_SetItemString(d
,"BITMAP_TYPE_ICON", SWIG_From_int((int)(wxBITMAP_TYPE_ICON
)));
48787 PyDict_SetItemString(d
,"BITMAP_TYPE_ANI", SWIG_From_int((int)(wxBITMAP_TYPE_ANI
)));
48790 PyDict_SetItemString(d
,"BITMAP_TYPE_IFF", SWIG_From_int((int)(wxBITMAP_TYPE_IFF
)));
48793 PyDict_SetItemString(d
,"BITMAP_TYPE_MACCURSOR", SWIG_From_int((int)(wxBITMAP_TYPE_MACCURSOR
)));
48796 PyDict_SetItemString(d
,"BITMAP_TYPE_ANY", SWIG_From_int((int)(wxBITMAP_TYPE_ANY
)));
48799 PyDict_SetItemString(d
,"CURSOR_NONE", SWIG_From_int((int)(wxCURSOR_NONE
)));
48802 PyDict_SetItemString(d
,"CURSOR_ARROW", SWIG_From_int((int)(wxCURSOR_ARROW
)));
48805 PyDict_SetItemString(d
,"CURSOR_RIGHT_ARROW", SWIG_From_int((int)(wxCURSOR_RIGHT_ARROW
)));
48808 PyDict_SetItemString(d
,"CURSOR_BULLSEYE", SWIG_From_int((int)(wxCURSOR_BULLSEYE
)));
48811 PyDict_SetItemString(d
,"CURSOR_CHAR", SWIG_From_int((int)(wxCURSOR_CHAR
)));
48814 PyDict_SetItemString(d
,"CURSOR_CROSS", SWIG_From_int((int)(wxCURSOR_CROSS
)));
48817 PyDict_SetItemString(d
,"CURSOR_HAND", SWIG_From_int((int)(wxCURSOR_HAND
)));
48820 PyDict_SetItemString(d
,"CURSOR_IBEAM", SWIG_From_int((int)(wxCURSOR_IBEAM
)));
48823 PyDict_SetItemString(d
,"CURSOR_LEFT_BUTTON", SWIG_From_int((int)(wxCURSOR_LEFT_BUTTON
)));
48826 PyDict_SetItemString(d
,"CURSOR_MAGNIFIER", SWIG_From_int((int)(wxCURSOR_MAGNIFIER
)));
48829 PyDict_SetItemString(d
,"CURSOR_MIDDLE_BUTTON", SWIG_From_int((int)(wxCURSOR_MIDDLE_BUTTON
)));
48832 PyDict_SetItemString(d
,"CURSOR_NO_ENTRY", SWIG_From_int((int)(wxCURSOR_NO_ENTRY
)));
48835 PyDict_SetItemString(d
,"CURSOR_PAINT_BRUSH", SWIG_From_int((int)(wxCURSOR_PAINT_BRUSH
)));
48838 PyDict_SetItemString(d
,"CURSOR_PENCIL", SWIG_From_int((int)(wxCURSOR_PENCIL
)));
48841 PyDict_SetItemString(d
,"CURSOR_POINT_LEFT", SWIG_From_int((int)(wxCURSOR_POINT_LEFT
)));
48844 PyDict_SetItemString(d
,"CURSOR_POINT_RIGHT", SWIG_From_int((int)(wxCURSOR_POINT_RIGHT
)));
48847 PyDict_SetItemString(d
,"CURSOR_QUESTION_ARROW", SWIG_From_int((int)(wxCURSOR_QUESTION_ARROW
)));
48850 PyDict_SetItemString(d
,"CURSOR_RIGHT_BUTTON", SWIG_From_int((int)(wxCURSOR_RIGHT_BUTTON
)));
48853 PyDict_SetItemString(d
,"CURSOR_SIZENESW", SWIG_From_int((int)(wxCURSOR_SIZENESW
)));
48856 PyDict_SetItemString(d
,"CURSOR_SIZENS", SWIG_From_int((int)(wxCURSOR_SIZENS
)));
48859 PyDict_SetItemString(d
,"CURSOR_SIZENWSE", SWIG_From_int((int)(wxCURSOR_SIZENWSE
)));
48862 PyDict_SetItemString(d
,"CURSOR_SIZEWE", SWIG_From_int((int)(wxCURSOR_SIZEWE
)));
48865 PyDict_SetItemString(d
,"CURSOR_SIZING", SWIG_From_int((int)(wxCURSOR_SIZING
)));
48868 PyDict_SetItemString(d
,"CURSOR_SPRAYCAN", SWIG_From_int((int)(wxCURSOR_SPRAYCAN
)));
48871 PyDict_SetItemString(d
,"CURSOR_WAIT", SWIG_From_int((int)(wxCURSOR_WAIT
)));
48874 PyDict_SetItemString(d
,"CURSOR_WATCH", SWIG_From_int((int)(wxCURSOR_WATCH
)));
48877 PyDict_SetItemString(d
,"CURSOR_BLANK", SWIG_From_int((int)(wxCURSOR_BLANK
)));
48880 PyDict_SetItemString(d
,"CURSOR_DEFAULT", SWIG_From_int((int)(wxCURSOR_DEFAULT
)));
48883 PyDict_SetItemString(d
,"CURSOR_COPY_ARROW", SWIG_From_int((int)(wxCURSOR_COPY_ARROW
)));
48886 PyDict_SetItemString(d
,"CURSOR_ARROWWAIT", SWIG_From_int((int)(wxCURSOR_ARROWWAIT
)));
48889 PyDict_SetItemString(d
,"CURSOR_MAX", SWIG_From_int((int)(wxCURSOR_MAX
)));
48891 SWIG_addvarlink(SWIG_globals
,(char*)"DefaultPosition",_wrap_DefaultPosition_get
, _wrap_DefaultPosition_set
);
48892 SWIG_addvarlink(SWIG_globals
,(char*)"DefaultSize",_wrap_DefaultSize_get
, _wrap_DefaultSize_set
);
48894 PyDict_SetItemString(d
,"FromStart", SWIG_From_int((int)(wxFromStart
)));
48897 PyDict_SetItemString(d
,"FromCurrent", SWIG_From_int((int)(wxFromCurrent
)));
48900 PyDict_SetItemString(d
,"FromEnd", SWIG_From_int((int)(wxFromEnd
)));
48903 wxPyPtrTypeMap_Add("wxInputStream", "wxPyInputStream");
48906 wxPyPtrTypeMap_Add("wxFileSystemHandler", "wxPyFileSystemHandler");
48908 SWIG_addvarlink(SWIG_globals
,(char*)"NullImage",_wrap_NullImage_get
, _wrap_NullImage_set
);
48909 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_FILENAME",_wrap_IMAGE_OPTION_FILENAME_get
, _wrap_IMAGE_OPTION_FILENAME_set
);
48910 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_BMP_FORMAT",_wrap_IMAGE_OPTION_BMP_FORMAT_get
, _wrap_IMAGE_OPTION_BMP_FORMAT_set
);
48911 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_CUR_HOTSPOT_X",_wrap_IMAGE_OPTION_CUR_HOTSPOT_X_get
, _wrap_IMAGE_OPTION_CUR_HOTSPOT_X_set
);
48912 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_CUR_HOTSPOT_Y",_wrap_IMAGE_OPTION_CUR_HOTSPOT_Y_get
, _wrap_IMAGE_OPTION_CUR_HOTSPOT_Y_set
);
48913 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_RESOLUTION",_wrap_IMAGE_OPTION_RESOLUTION_get
, _wrap_IMAGE_OPTION_RESOLUTION_set
);
48914 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_RESOLUTIONX",_wrap_IMAGE_OPTION_RESOLUTIONX_get
, _wrap_IMAGE_OPTION_RESOLUTIONX_set
);
48915 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_RESOLUTIONY",_wrap_IMAGE_OPTION_RESOLUTIONY_get
, _wrap_IMAGE_OPTION_RESOLUTIONY_set
);
48916 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_RESOLUTIONUNIT",_wrap_IMAGE_OPTION_RESOLUTIONUNIT_get
, _wrap_IMAGE_OPTION_RESOLUTIONUNIT_set
);
48918 PyDict_SetItemString(d
,"IMAGE_RESOLUTION_INCHES", SWIG_From_int((int)(wxIMAGE_RESOLUTION_INCHES
)));
48921 PyDict_SetItemString(d
,"IMAGE_RESOLUTION_CM", SWIG_From_int((int)(wxIMAGE_RESOLUTION_CM
)));
48923 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_BITSPERSAMPLE",_wrap_IMAGE_OPTION_BITSPERSAMPLE_get
, _wrap_IMAGE_OPTION_BITSPERSAMPLE_set
);
48924 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_SAMPLESPERPIXEL",_wrap_IMAGE_OPTION_SAMPLESPERPIXEL_get
, _wrap_IMAGE_OPTION_SAMPLESPERPIXEL_set
);
48925 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_COMPRESSION",_wrap_IMAGE_OPTION_COMPRESSION_get
, _wrap_IMAGE_OPTION_COMPRESSION_set
);
48926 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_IMAGEDESCRIPTOR",_wrap_IMAGE_OPTION_IMAGEDESCRIPTOR_get
, _wrap_IMAGE_OPTION_IMAGEDESCRIPTOR_set
);
48928 PyDict_SetItemString(d
,"BMP_24BPP", SWIG_From_int((int)(wxBMP_24BPP
)));
48931 PyDict_SetItemString(d
,"BMP_8BPP", SWIG_From_int((int)(wxBMP_8BPP
)));
48934 PyDict_SetItemString(d
,"BMP_8BPP_GREY", SWIG_From_int((int)(wxBMP_8BPP_GREY
)));
48937 PyDict_SetItemString(d
,"BMP_8BPP_GRAY", SWIG_From_int((int)(wxBMP_8BPP_GRAY
)));
48940 PyDict_SetItemString(d
,"BMP_8BPP_RED", SWIG_From_int((int)(wxBMP_8BPP_RED
)));
48943 PyDict_SetItemString(d
,"BMP_8BPP_PALETTE", SWIG_From_int((int)(wxBMP_8BPP_PALETTE
)));
48946 PyDict_SetItemString(d
,"BMP_4BPP", SWIG_From_int((int)(wxBMP_4BPP
)));
48949 PyDict_SetItemString(d
,"BMP_1BPP", SWIG_From_int((int)(wxBMP_1BPP
)));
48952 PyDict_SetItemString(d
,"BMP_1BPP_BW", SWIG_From_int((int)(wxBMP_1BPP_BW
)));
48955 PyDict_SetItemString(d
,"QUANTIZE_INCLUDE_WINDOWS_COLOURS", SWIG_From_int((int)(wxQUANTIZE_INCLUDE_WINDOWS_COLOURS
)));
48958 PyDict_SetItemString(d
,"QUANTIZE_FILL_DESTINATION_IMAGE", SWIG_From_int((int)(wxQUANTIZE_FILL_DESTINATION_IMAGE
)));
48961 PyDict_SetItemString(d
,"EVENT_PROPAGATE_NONE", SWIG_From_int((int)(wxEVENT_PROPAGATE_NONE
)));
48964 PyDict_SetItemString(d
,"EVENT_PROPAGATE_MAX", SWIG_From_int((int)(wxEVENT_PROPAGATE_MAX
)));
48966 PyDict_SetItemString(d
, "wxEVT_NULL", PyInt_FromLong(wxEVT_NULL
));
48967 PyDict_SetItemString(d
, "wxEVT_FIRST", PyInt_FromLong(wxEVT_FIRST
));
48968 PyDict_SetItemString(d
, "wxEVT_USER_FIRST", PyInt_FromLong(wxEVT_USER_FIRST
));
48969 PyDict_SetItemString(d
, "wxEVT_COMMAND_BUTTON_CLICKED", PyInt_FromLong(wxEVT_COMMAND_BUTTON_CLICKED
));
48970 PyDict_SetItemString(d
, "wxEVT_COMMAND_CHECKBOX_CLICKED", PyInt_FromLong(wxEVT_COMMAND_CHECKBOX_CLICKED
));
48971 PyDict_SetItemString(d
, "wxEVT_COMMAND_CHOICE_SELECTED", PyInt_FromLong(wxEVT_COMMAND_CHOICE_SELECTED
));
48972 PyDict_SetItemString(d
, "wxEVT_COMMAND_LISTBOX_SELECTED", PyInt_FromLong(wxEVT_COMMAND_LISTBOX_SELECTED
));
48973 PyDict_SetItemString(d
, "wxEVT_COMMAND_LISTBOX_DOUBLECLICKED", PyInt_FromLong(wxEVT_COMMAND_LISTBOX_DOUBLECLICKED
));
48974 PyDict_SetItemString(d
, "wxEVT_COMMAND_CHECKLISTBOX_TOGGLED", PyInt_FromLong(wxEVT_COMMAND_CHECKLISTBOX_TOGGLED
));
48975 PyDict_SetItemString(d
, "wxEVT_COMMAND_MENU_SELECTED", PyInt_FromLong(wxEVT_COMMAND_MENU_SELECTED
));
48976 PyDict_SetItemString(d
, "wxEVT_COMMAND_TOOL_CLICKED", PyInt_FromLong(wxEVT_COMMAND_TOOL_CLICKED
));
48977 PyDict_SetItemString(d
, "wxEVT_COMMAND_SLIDER_UPDATED", PyInt_FromLong(wxEVT_COMMAND_SLIDER_UPDATED
));
48978 PyDict_SetItemString(d
, "wxEVT_COMMAND_RADIOBOX_SELECTED", PyInt_FromLong(wxEVT_COMMAND_RADIOBOX_SELECTED
));
48979 PyDict_SetItemString(d
, "wxEVT_COMMAND_RADIOBUTTON_SELECTED", PyInt_FromLong(wxEVT_COMMAND_RADIOBUTTON_SELECTED
));
48980 PyDict_SetItemString(d
, "wxEVT_COMMAND_SCROLLBAR_UPDATED", PyInt_FromLong(wxEVT_COMMAND_SCROLLBAR_UPDATED
));
48981 PyDict_SetItemString(d
, "wxEVT_COMMAND_VLBOX_SELECTED", PyInt_FromLong(wxEVT_COMMAND_VLBOX_SELECTED
));
48982 PyDict_SetItemString(d
, "wxEVT_COMMAND_COMBOBOX_SELECTED", PyInt_FromLong(wxEVT_COMMAND_COMBOBOX_SELECTED
));
48983 PyDict_SetItemString(d
, "wxEVT_COMMAND_TOOL_RCLICKED", PyInt_FromLong(wxEVT_COMMAND_TOOL_RCLICKED
));
48984 PyDict_SetItemString(d
, "wxEVT_COMMAND_TOOL_ENTER", PyInt_FromLong(wxEVT_COMMAND_TOOL_ENTER
));
48985 PyDict_SetItemString(d
, "wxEVT_LEFT_DOWN", PyInt_FromLong(wxEVT_LEFT_DOWN
));
48986 PyDict_SetItemString(d
, "wxEVT_LEFT_UP", PyInt_FromLong(wxEVT_LEFT_UP
));
48987 PyDict_SetItemString(d
, "wxEVT_MIDDLE_DOWN", PyInt_FromLong(wxEVT_MIDDLE_DOWN
));
48988 PyDict_SetItemString(d
, "wxEVT_MIDDLE_UP", PyInt_FromLong(wxEVT_MIDDLE_UP
));
48989 PyDict_SetItemString(d
, "wxEVT_RIGHT_DOWN", PyInt_FromLong(wxEVT_RIGHT_DOWN
));
48990 PyDict_SetItemString(d
, "wxEVT_RIGHT_UP", PyInt_FromLong(wxEVT_RIGHT_UP
));
48991 PyDict_SetItemString(d
, "wxEVT_MOTION", PyInt_FromLong(wxEVT_MOTION
));
48992 PyDict_SetItemString(d
, "wxEVT_ENTER_WINDOW", PyInt_FromLong(wxEVT_ENTER_WINDOW
));
48993 PyDict_SetItemString(d
, "wxEVT_LEAVE_WINDOW", PyInt_FromLong(wxEVT_LEAVE_WINDOW
));
48994 PyDict_SetItemString(d
, "wxEVT_LEFT_DCLICK", PyInt_FromLong(wxEVT_LEFT_DCLICK
));
48995 PyDict_SetItemString(d
, "wxEVT_MIDDLE_DCLICK", PyInt_FromLong(wxEVT_MIDDLE_DCLICK
));
48996 PyDict_SetItemString(d
, "wxEVT_RIGHT_DCLICK", PyInt_FromLong(wxEVT_RIGHT_DCLICK
));
48997 PyDict_SetItemString(d
, "wxEVT_SET_FOCUS", PyInt_FromLong(wxEVT_SET_FOCUS
));
48998 PyDict_SetItemString(d
, "wxEVT_KILL_FOCUS", PyInt_FromLong(wxEVT_KILL_FOCUS
));
48999 PyDict_SetItemString(d
, "wxEVT_CHILD_FOCUS", PyInt_FromLong(wxEVT_CHILD_FOCUS
));
49000 PyDict_SetItemString(d
, "wxEVT_MOUSEWHEEL", PyInt_FromLong(wxEVT_MOUSEWHEEL
));
49001 PyDict_SetItemString(d
, "wxEVT_NC_LEFT_DOWN", PyInt_FromLong(wxEVT_NC_LEFT_DOWN
));
49002 PyDict_SetItemString(d
, "wxEVT_NC_LEFT_UP", PyInt_FromLong(wxEVT_NC_LEFT_UP
));
49003 PyDict_SetItemString(d
, "wxEVT_NC_MIDDLE_DOWN", PyInt_FromLong(wxEVT_NC_MIDDLE_DOWN
));
49004 PyDict_SetItemString(d
, "wxEVT_NC_MIDDLE_UP", PyInt_FromLong(wxEVT_NC_MIDDLE_UP
));
49005 PyDict_SetItemString(d
, "wxEVT_NC_RIGHT_DOWN", PyInt_FromLong(wxEVT_NC_RIGHT_DOWN
));
49006 PyDict_SetItemString(d
, "wxEVT_NC_RIGHT_UP", PyInt_FromLong(wxEVT_NC_RIGHT_UP
));
49007 PyDict_SetItemString(d
, "wxEVT_NC_MOTION", PyInt_FromLong(wxEVT_NC_MOTION
));
49008 PyDict_SetItemString(d
, "wxEVT_NC_ENTER_WINDOW", PyInt_FromLong(wxEVT_NC_ENTER_WINDOW
));
49009 PyDict_SetItemString(d
, "wxEVT_NC_LEAVE_WINDOW", PyInt_FromLong(wxEVT_NC_LEAVE_WINDOW
));
49010 PyDict_SetItemString(d
, "wxEVT_NC_LEFT_DCLICK", PyInt_FromLong(wxEVT_NC_LEFT_DCLICK
));
49011 PyDict_SetItemString(d
, "wxEVT_NC_MIDDLE_DCLICK", PyInt_FromLong(wxEVT_NC_MIDDLE_DCLICK
));
49012 PyDict_SetItemString(d
, "wxEVT_NC_RIGHT_DCLICK", PyInt_FromLong(wxEVT_NC_RIGHT_DCLICK
));
49013 PyDict_SetItemString(d
, "wxEVT_CHAR", PyInt_FromLong(wxEVT_CHAR
));
49014 PyDict_SetItemString(d
, "wxEVT_CHAR_HOOK", PyInt_FromLong(wxEVT_CHAR_HOOK
));
49015 PyDict_SetItemString(d
, "wxEVT_NAVIGATION_KEY", PyInt_FromLong(wxEVT_NAVIGATION_KEY
));
49016 PyDict_SetItemString(d
, "wxEVT_KEY_DOWN", PyInt_FromLong(wxEVT_KEY_DOWN
));
49017 PyDict_SetItemString(d
, "wxEVT_KEY_UP", PyInt_FromLong(wxEVT_KEY_UP
));
49018 PyDict_SetItemString(d
, "wxEVT_HOTKEY", PyInt_FromLong(wxEVT_HOTKEY
));
49019 PyDict_SetItemString(d
, "wxEVT_SET_CURSOR", PyInt_FromLong(wxEVT_SET_CURSOR
));
49020 PyDict_SetItemString(d
, "wxEVT_SCROLL_TOP", PyInt_FromLong(wxEVT_SCROLL_TOP
));
49021 PyDict_SetItemString(d
, "wxEVT_SCROLL_BOTTOM", PyInt_FromLong(wxEVT_SCROLL_BOTTOM
));
49022 PyDict_SetItemString(d
, "wxEVT_SCROLL_LINEUP", PyInt_FromLong(wxEVT_SCROLL_LINEUP
));
49023 PyDict_SetItemString(d
, "wxEVT_SCROLL_LINEDOWN", PyInt_FromLong(wxEVT_SCROLL_LINEDOWN
));
49024 PyDict_SetItemString(d
, "wxEVT_SCROLL_PAGEUP", PyInt_FromLong(wxEVT_SCROLL_PAGEUP
));
49025 PyDict_SetItemString(d
, "wxEVT_SCROLL_PAGEDOWN", PyInt_FromLong(wxEVT_SCROLL_PAGEDOWN
));
49026 PyDict_SetItemString(d
, "wxEVT_SCROLL_THUMBTRACK", PyInt_FromLong(wxEVT_SCROLL_THUMBTRACK
));
49027 PyDict_SetItemString(d
, "wxEVT_SCROLL_THUMBRELEASE", PyInt_FromLong(wxEVT_SCROLL_THUMBRELEASE
));
49028 PyDict_SetItemString(d
, "wxEVT_SCROLL_ENDSCROLL", PyInt_FromLong(wxEVT_SCROLL_ENDSCROLL
));
49029 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_TOP", PyInt_FromLong(wxEVT_SCROLLWIN_TOP
));
49030 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_BOTTOM", PyInt_FromLong(wxEVT_SCROLLWIN_BOTTOM
));
49031 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_LINEUP", PyInt_FromLong(wxEVT_SCROLLWIN_LINEUP
));
49032 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_LINEDOWN", PyInt_FromLong(wxEVT_SCROLLWIN_LINEDOWN
));
49033 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_PAGEUP", PyInt_FromLong(wxEVT_SCROLLWIN_PAGEUP
));
49034 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_PAGEDOWN", PyInt_FromLong(wxEVT_SCROLLWIN_PAGEDOWN
));
49035 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_THUMBTRACK", PyInt_FromLong(wxEVT_SCROLLWIN_THUMBTRACK
));
49036 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_THUMBRELEASE", PyInt_FromLong(wxEVT_SCROLLWIN_THUMBRELEASE
));
49037 PyDict_SetItemString(d
, "wxEVT_SIZE", PyInt_FromLong(wxEVT_SIZE
));
49038 PyDict_SetItemString(d
, "wxEVT_MOVE", PyInt_FromLong(wxEVT_MOVE
));
49039 PyDict_SetItemString(d
, "wxEVT_CLOSE_WINDOW", PyInt_FromLong(wxEVT_CLOSE_WINDOW
));
49040 PyDict_SetItemString(d
, "wxEVT_END_SESSION", PyInt_FromLong(wxEVT_END_SESSION
));
49041 PyDict_SetItemString(d
, "wxEVT_QUERY_END_SESSION", PyInt_FromLong(wxEVT_QUERY_END_SESSION
));
49042 PyDict_SetItemString(d
, "wxEVT_ACTIVATE_APP", PyInt_FromLong(wxEVT_ACTIVATE_APP
));
49043 PyDict_SetItemString(d
, "wxEVT_POWER", PyInt_FromLong(wxEVT_POWER
));
49044 PyDict_SetItemString(d
, "wxEVT_ACTIVATE", PyInt_FromLong(wxEVT_ACTIVATE
));
49045 PyDict_SetItemString(d
, "wxEVT_CREATE", PyInt_FromLong(wxEVT_CREATE
));
49046 PyDict_SetItemString(d
, "wxEVT_DESTROY", PyInt_FromLong(wxEVT_DESTROY
));
49047 PyDict_SetItemString(d
, "wxEVT_SHOW", PyInt_FromLong(wxEVT_SHOW
));
49048 PyDict_SetItemString(d
, "wxEVT_ICONIZE", PyInt_FromLong(wxEVT_ICONIZE
));
49049 PyDict_SetItemString(d
, "wxEVT_MAXIMIZE", PyInt_FromLong(wxEVT_MAXIMIZE
));
49050 PyDict_SetItemString(d
, "wxEVT_MOUSE_CAPTURE_CHANGED", PyInt_FromLong(wxEVT_MOUSE_CAPTURE_CHANGED
));
49051 PyDict_SetItemString(d
, "wxEVT_PAINT", PyInt_FromLong(wxEVT_PAINT
));
49052 PyDict_SetItemString(d
, "wxEVT_ERASE_BACKGROUND", PyInt_FromLong(wxEVT_ERASE_BACKGROUND
));
49053 PyDict_SetItemString(d
, "wxEVT_NC_PAINT", PyInt_FromLong(wxEVT_NC_PAINT
));
49054 PyDict_SetItemString(d
, "wxEVT_PAINT_ICON", PyInt_FromLong(wxEVT_PAINT_ICON
));
49055 PyDict_SetItemString(d
, "wxEVT_MENU_OPEN", PyInt_FromLong(wxEVT_MENU_OPEN
));
49056 PyDict_SetItemString(d
, "wxEVT_MENU_CLOSE", PyInt_FromLong(wxEVT_MENU_CLOSE
));
49057 PyDict_SetItemString(d
, "wxEVT_MENU_HIGHLIGHT", PyInt_FromLong(wxEVT_MENU_HIGHLIGHT
));
49058 PyDict_SetItemString(d
, "wxEVT_CONTEXT_MENU", PyInt_FromLong(wxEVT_CONTEXT_MENU
));
49059 PyDict_SetItemString(d
, "wxEVT_SYS_COLOUR_CHANGED", PyInt_FromLong(wxEVT_SYS_COLOUR_CHANGED
));
49060 PyDict_SetItemString(d
, "wxEVT_DISPLAY_CHANGED", PyInt_FromLong(wxEVT_DISPLAY_CHANGED
));
49061 PyDict_SetItemString(d
, "wxEVT_SETTING_CHANGED", PyInt_FromLong(wxEVT_SETTING_CHANGED
));
49062 PyDict_SetItemString(d
, "wxEVT_QUERY_NEW_PALETTE", PyInt_FromLong(wxEVT_QUERY_NEW_PALETTE
));
49063 PyDict_SetItemString(d
, "wxEVT_PALETTE_CHANGED", PyInt_FromLong(wxEVT_PALETTE_CHANGED
));
49064 PyDict_SetItemString(d
, "wxEVT_DROP_FILES", PyInt_FromLong(wxEVT_DROP_FILES
));
49065 PyDict_SetItemString(d
, "wxEVT_DRAW_ITEM", PyInt_FromLong(wxEVT_DRAW_ITEM
));
49066 PyDict_SetItemString(d
, "wxEVT_MEASURE_ITEM", PyInt_FromLong(wxEVT_MEASURE_ITEM
));
49067 PyDict_SetItemString(d
, "wxEVT_COMPARE_ITEM", PyInt_FromLong(wxEVT_COMPARE_ITEM
));
49068 PyDict_SetItemString(d
, "wxEVT_INIT_DIALOG", PyInt_FromLong(wxEVT_INIT_DIALOG
));
49069 PyDict_SetItemString(d
, "wxEVT_IDLE", PyInt_FromLong(wxEVT_IDLE
));
49070 PyDict_SetItemString(d
, "wxEVT_UPDATE_UI", PyInt_FromLong(wxEVT_UPDATE_UI
));
49071 PyDict_SetItemString(d
, "wxEVT_SIZING", PyInt_FromLong(wxEVT_SIZING
));
49072 PyDict_SetItemString(d
, "wxEVT_MOVING", PyInt_FromLong(wxEVT_MOVING
));
49073 PyDict_SetItemString(d
, "wxEVT_COMMAND_LEFT_CLICK", PyInt_FromLong(wxEVT_COMMAND_LEFT_CLICK
));
49074 PyDict_SetItemString(d
, "wxEVT_COMMAND_LEFT_DCLICK", PyInt_FromLong(wxEVT_COMMAND_LEFT_DCLICK
));
49075 PyDict_SetItemString(d
, "wxEVT_COMMAND_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_RIGHT_CLICK
));
49076 PyDict_SetItemString(d
, "wxEVT_COMMAND_RIGHT_DCLICK", PyInt_FromLong(wxEVT_COMMAND_RIGHT_DCLICK
));
49077 PyDict_SetItemString(d
, "wxEVT_COMMAND_SET_FOCUS", PyInt_FromLong(wxEVT_COMMAND_SET_FOCUS
));
49078 PyDict_SetItemString(d
, "wxEVT_COMMAND_KILL_FOCUS", PyInt_FromLong(wxEVT_COMMAND_KILL_FOCUS
));
49079 PyDict_SetItemString(d
, "wxEVT_COMMAND_ENTER", PyInt_FromLong(wxEVT_COMMAND_ENTER
));
49081 PyDict_SetItemString(d
,"MOUSE_BTN_ANY", SWIG_From_int((int)(wxMOUSE_BTN_ANY
)));
49084 PyDict_SetItemString(d
,"MOUSE_BTN_NONE", SWIG_From_int((int)(wxMOUSE_BTN_NONE
)));
49087 PyDict_SetItemString(d
,"MOUSE_BTN_LEFT", SWIG_From_int((int)(wxMOUSE_BTN_LEFT
)));
49090 PyDict_SetItemString(d
,"MOUSE_BTN_MIDDLE", SWIG_From_int((int)(wxMOUSE_BTN_MIDDLE
)));
49093 PyDict_SetItemString(d
,"MOUSE_BTN_RIGHT", SWIG_From_int((int)(wxMOUSE_BTN_RIGHT
)));
49096 PyDict_SetItemString(d
,"UPDATE_UI_PROCESS_ALL", SWIG_From_int((int)(wxUPDATE_UI_PROCESS_ALL
)));
49099 PyDict_SetItemString(d
,"UPDATE_UI_PROCESS_SPECIFIED", SWIG_From_int((int)(wxUPDATE_UI_PROCESS_SPECIFIED
)));
49102 PyDict_SetItemString(d
,"NavigationKeyEvent_IsBackward", SWIG_From_int((int)(wxNavigationKeyEvent::IsBackward
)));
49105 PyDict_SetItemString(d
,"NavigationKeyEvent_IsForward", SWIG_From_int((int)(wxNavigationKeyEvent::IsForward
)));
49108 PyDict_SetItemString(d
,"NavigationKeyEvent_WinChange", SWIG_From_int((int)(wxNavigationKeyEvent::WinChange
)));
49111 PyDict_SetItemString(d
,"NavigationKeyEvent_FromTab", SWIG_From_int((int)(wxNavigationKeyEvent::FromTab
)));
49114 PyDict_SetItemString(d
,"IDLE_PROCESS_ALL", SWIG_From_int((int)(wxIDLE_PROCESS_ALL
)));
49117 PyDict_SetItemString(d
,"IDLE_PROCESS_SPECIFIED", SWIG_From_int((int)(wxIDLE_PROCESS_SPECIFIED
)));
49119 PyDict_SetItemString(d
, "wxEVT_DATE_CHANGED", PyInt_FromLong(wxEVT_DATE_CHANGED
));
49121 PyDict_SetItemString(d
,"PYAPP_ASSERT_SUPPRESS", SWIG_From_int((int)(wxPYAPP_ASSERT_SUPPRESS
)));
49124 PyDict_SetItemString(d
,"PYAPP_ASSERT_EXCEPTION", SWIG_From_int((int)(wxPYAPP_ASSERT_EXCEPTION
)));
49127 PyDict_SetItemString(d
,"PYAPP_ASSERT_DIALOG", SWIG_From_int((int)(wxPYAPP_ASSERT_DIALOG
)));
49130 PyDict_SetItemString(d
,"PYAPP_ASSERT_LOG", SWIG_From_int((int)(wxPYAPP_ASSERT_LOG
)));
49133 PyDict_SetItemString(d
,"PRINT_WINDOWS", SWIG_From_int((int)(wxPRINT_WINDOWS
)));
49136 PyDict_SetItemString(d
,"PRINT_POSTSCRIPT", SWIG_From_int((int)(wxPRINT_POSTSCRIPT
)));
49138 SWIG_addvarlink(SWIG_globals
,(char*)"NullAcceleratorTable",_wrap_NullAcceleratorTable_get
, _wrap_NullAcceleratorTable_set
);
49139 SWIG_addvarlink(SWIG_globals
,(char*)"PanelNameStr",_wrap_PanelNameStr_get
, _wrap_PanelNameStr_set
);
49141 PyDict_SetItemString(d
,"WINDOW_VARIANT_NORMAL", SWIG_From_int((int)(wxWINDOW_VARIANT_NORMAL
)));
49144 PyDict_SetItemString(d
,"WINDOW_VARIANT_SMALL", SWIG_From_int((int)(wxWINDOW_VARIANT_SMALL
)));
49147 PyDict_SetItemString(d
,"WINDOW_VARIANT_MINI", SWIG_From_int((int)(wxWINDOW_VARIANT_MINI
)));
49150 PyDict_SetItemString(d
,"WINDOW_VARIANT_LARGE", SWIG_From_int((int)(wxWINDOW_VARIANT_LARGE
)));
49153 PyDict_SetItemString(d
,"WINDOW_VARIANT_MAX", SWIG_From_int((int)(wxWINDOW_VARIANT_MAX
)));
49155 SWIG_addvarlink(SWIG_globals
,(char*)"DefaultValidator",_wrap_DefaultValidator_get
, _wrap_DefaultValidator_set
);
49156 SWIG_addvarlink(SWIG_globals
,(char*)"ControlNameStr",_wrap_ControlNameStr_get
, _wrap_ControlNameStr_set
);
49158 PyDict_SetItemString(d
,"FLEX_GROWMODE_NONE", SWIG_From_int((int)(wxFLEX_GROWMODE_NONE
)));
49161 PyDict_SetItemString(d
,"FLEX_GROWMODE_SPECIFIED", SWIG_From_int((int)(wxFLEX_GROWMODE_SPECIFIED
)));
49164 PyDict_SetItemString(d
,"FLEX_GROWMODE_ALL", SWIG_From_int((int)(wxFLEX_GROWMODE_ALL
)));
49166 SWIG_addvarlink(SWIG_globals
,(char*)"DefaultSpan",_wrap_DefaultSpan_get
, _wrap_DefaultSpan_set
);
49168 PyDict_SetItemString(d
,"Left", SWIG_From_int((int)(wxLeft
)));
49171 PyDict_SetItemString(d
,"Top", SWIG_From_int((int)(wxTop
)));
49174 PyDict_SetItemString(d
,"Right", SWIG_From_int((int)(wxRight
)));
49177 PyDict_SetItemString(d
,"Bottom", SWIG_From_int((int)(wxBottom
)));
49180 PyDict_SetItemString(d
,"Width", SWIG_From_int((int)(wxWidth
)));
49183 PyDict_SetItemString(d
,"Height", SWIG_From_int((int)(wxHeight
)));
49186 PyDict_SetItemString(d
,"Centre", SWIG_From_int((int)(wxCentre
)));
49189 PyDict_SetItemString(d
,"Center", SWIG_From_int((int)(wxCenter
)));
49192 PyDict_SetItemString(d
,"CentreX", SWIG_From_int((int)(wxCentreX
)));
49195 PyDict_SetItemString(d
,"CentreY", SWIG_From_int((int)(wxCentreY
)));
49198 PyDict_SetItemString(d
,"Unconstrained", SWIG_From_int((int)(wxUnconstrained
)));
49201 PyDict_SetItemString(d
,"AsIs", SWIG_From_int((int)(wxAsIs
)));
49204 PyDict_SetItemString(d
,"PercentOf", SWIG_From_int((int)(wxPercentOf
)));
49207 PyDict_SetItemString(d
,"Above", SWIG_From_int((int)(wxAbove
)));
49210 PyDict_SetItemString(d
,"Below", SWIG_From_int((int)(wxBelow
)));
49213 PyDict_SetItemString(d
,"LeftOf", SWIG_From_int((int)(wxLeftOf
)));
49216 PyDict_SetItemString(d
,"RightOf", SWIG_From_int((int)(wxRightOf
)));
49219 PyDict_SetItemString(d
,"SameAs", SWIG_From_int((int)(wxSameAs
)));
49222 PyDict_SetItemString(d
,"Absolute", SWIG_From_int((int)(wxAbsolute
)));
49225 // Initialize threading, some globals and such
49229 // Although these are defined in __version__ they need to be here too so
49230 // that an assert can be done to ensure that the wxPython and the wxWindows
49232 PyDict_SetItemString(d
,"MAJOR_VERSION", PyInt_FromLong((long)wxMAJOR_VERSION
));
49233 PyDict_SetItemString(d
,"MINOR_VERSION", PyInt_FromLong((long)wxMINOR_VERSION
));
49234 PyDict_SetItemString(d
,"RELEASE_VERSION", PyInt_FromLong((long)wxRELEASE_NUMBER
));