1 /* ----------------------------------------------------------------------------
2 * This file was automatically generated by SWIG (http://www.swig.org).
5 * This file is not intended to be easily readable and contains a number of
6 * coding conventions designed to improve portability and efficiency. Do not make
7 * changes to this file unless you know what you are doing--modify the SWIG
8 * interface file instead.
9 * ----------------------------------------------------------------------------- */
14 template<class T
> class SwigValueWrapper
{
17 SwigValueWrapper() : tt(0) { }
18 SwigValueWrapper(const SwigValueWrapper
<T
>& rhs
) : tt(new T(*rhs
.tt
)) { }
19 SwigValueWrapper(const T
& t
) : tt(new T(t
)) { }
20 ~SwigValueWrapper() { delete tt
; }
21 SwigValueWrapper
& operator=(const T
& t
) { delete tt
; tt
= new T(t
); return *this; }
22 operator T
&() const { return *tt
; }
23 T
*operator&() { return tt
; }
25 SwigValueWrapper
& operator=(const SwigValueWrapper
<T
>& rhs
);
30 #ifndef SWIG_TEMPLATE_DISAMBIGUATOR
31 # if defined(__SUNPRO_CC)
32 # define SWIG_TEMPLATE_DISAMBIGUATOR template
34 # define SWIG_TEMPLATE_DISAMBIGUATOR
41 /***********************************************************************
44 * This file contains generic CAPI SWIG runtime support for pointer
47 ************************************************************************/
49 /* This should only be incremented when either the layout of swig_type_info changes,
50 or for whatever reason, the runtime changes incompatibly */
51 #define SWIG_RUNTIME_VERSION "1"
53 /* define SWIG_TYPE_TABLE_NAME as "SWIG_TYPE_TABLE" */
54 #ifdef SWIG_TYPE_TABLE
55 #define SWIG_QUOTE_STRING(x) #x
56 #define SWIG_EXPAND_AND_QUOTE_STRING(x) SWIG_QUOTE_STRING(x)
57 #define SWIG_TYPE_TABLE_NAME SWIG_EXPAND_AND_QUOTE_STRING(SWIG_TYPE_TABLE)
59 #define SWIG_TYPE_TABLE_NAME
65 #if defined(__cplusplus) || (defined(__GNUC__) && !defined(__STRICT_ANSI__))
66 # define SWIGINLINE inline
73 You can use the SWIGRUNTIME and SWIGRUNTIMEINLINE macros for
74 creating a static or dynamic library from the swig runtime code.
75 In 99.9% of the cases, swig just needs to declare them as 'static'.
77 But only do this if is strictly necessary, ie, if you have problems
78 with your compiler or so.
81 #define SWIGRUNTIME static
83 #ifndef SWIGRUNTIMEINLINE
84 #define SWIGRUNTIMEINLINE SWIGRUNTIME SWIGINLINE
91 typedef void *(*swig_converter_func
)(void *);
92 typedef struct swig_type_info
*(*swig_dycast_func
)(void **);
94 typedef struct swig_type_info
{
96 swig_converter_func converter
;
99 swig_dycast_func dcast
;
100 struct swig_type_info
*next
;
101 struct swig_type_info
*prev
;
105 Compare two type names skipping the space characters, therefore
106 "char*" == "char *" and "Class<int>" == "Class<int >", etc.
108 Return 0 when the two name types are equivalent, as in
109 strncmp, but skipping ' '.
112 SWIG_TypeNameComp(const char *f1
, const char *l1
,
113 const char *f2
, const char *l2
) {
114 for (;(f1
!= l1
) && (f2
!= l2
); ++f1
, ++f2
) {
115 while ((*f1
== ' ') && (f1
!= l1
)) ++f1
;
116 while ((*f2
== ' ') && (f2
!= l2
)) ++f2
;
117 if (*f1
!= *f2
) return *f1
- *f2
;
119 return (l1
- f1
) - (l2
- f2
);
123 Check type equivalence in a name list like <name1>|<name2>|...
126 SWIG_TypeEquiv(const char *nb
, const char *tb
) {
128 const char* te
= tb
+ strlen(tb
);
130 while (!equiv
&& *ne
) {
131 for (nb
= ne
; *ne
; ++ne
) {
132 if (*ne
== '|') break;
134 equiv
= SWIG_TypeNameComp(nb
, ne
, tb
, te
) == 0;
141 Register a type mapping with the type-checking
143 SWIGRUNTIME swig_type_info
*
144 SWIG_TypeRegisterTL(swig_type_info
**tl
, swig_type_info
*ti
) {
145 swig_type_info
*tc
, *head
, *ret
, *next
;
146 /* Check to see if this type has already been registered */
149 /* check simple type equivalence */
150 int typeequiv
= (strcmp(tc
->name
, ti
->name
) == 0);
151 /* check full type equivalence, resolving typedefs */
153 /* only if tc is not a typedef (no '|' on it) */
154 if (tc
->str
&& ti
->str
&& !strstr(tc
->str
,"|")) {
155 typeequiv
= SWIG_TypeEquiv(ti
->str
,tc
->str
);
159 /* Already exists in the table. Just add additional types to the list */
160 if (ti
->clientdata
) tc
->clientdata
= ti
->clientdata
;
174 /* Build linked lists */
178 /* Patch up the rest of the links */
185 if (next
) next
->prev
= head
;
194 SWIGRUNTIME swig_type_info
*
195 SWIG_TypeCheck(const char *c
, swig_type_info
*ty
) {
197 if (!ty
) return 0; /* Void pointer */
198 s
= ty
->next
; /* First element always just a name */
200 if (strcmp(s
->name
,c
) == 0) {
201 if (s
== ty
->next
) return s
;
202 /* Move s to the top of the linked list */
203 s
->prev
->next
= s
->next
;
205 s
->next
->prev
= s
->prev
;
207 /* Insert s as second element in the list */
209 if (ty
->next
) ty
->next
->prev
= s
;
215 } while (s
&& (s
!= ty
->next
));
220 Cast a pointer up an inheritance hierarchy
222 SWIGRUNTIMEINLINE
void *
223 SWIG_TypeCast(swig_type_info
*ty
, void *ptr
) {
224 return ((!ty
) || (!ty
->converter
)) ? ptr
: (*ty
->converter
)(ptr
);
228 Dynamic pointer casting. Down an inheritance hierarchy
230 SWIGRUNTIME swig_type_info
*
231 SWIG_TypeDynamicCast(swig_type_info
*ty
, void **ptr
) {
232 swig_type_info
*lastty
= ty
;
233 if (!ty
|| !ty
->dcast
) return ty
;
234 while (ty
&& (ty
->dcast
)) {
235 ty
= (*ty
->dcast
)(ptr
);
242 Return the name associated with this type
244 SWIGRUNTIMEINLINE
const char *
245 SWIG_TypeName(const swig_type_info
*ty
) {
250 Return the pretty name associated with this type,
251 that is an unmangled type name in a form presentable to the user.
253 SWIGRUNTIME
const char *
254 SWIG_TypePrettyName(const swig_type_info
*type
) {
255 /* The "str" field contains the equivalent pretty names of the
256 type, separated by vertical-bar characters. We choose
257 to print the last name, as it is often (?) the most
259 if (type
->str
!= NULL
) {
260 const char *last_name
= type
->str
;
262 for (s
= type
->str
; *s
; s
++)
263 if (*s
== '|') last_name
= s
+1;
271 Search for a swig_type_info structure
273 SWIGRUNTIME swig_type_info
*
274 SWIG_TypeQueryTL(swig_type_info
*tl
, const char *name
) {
275 swig_type_info
*ty
= tl
;
277 if (ty
->str
&& (SWIG_TypeEquiv(ty
->str
,name
))) return ty
;
278 if (ty
->name
&& (strcmp(name
,ty
->name
) == 0)) return ty
;
285 Set the clientdata field for a type
288 SWIG_TypeClientDataTL(swig_type_info
*tl
, swig_type_info
*ti
, void *clientdata
) {
289 swig_type_info
*tc
, *equiv
;
290 if (ti
->clientdata
) return;
291 /* if (ti->clientdata == clientdata) return; */
292 ti
->clientdata
= clientdata
;
295 if (!equiv
->converter
) {
298 if ((strcmp(tc
->name
, equiv
->name
) == 0))
299 SWIG_TypeClientDataTL(tl
,tc
,clientdata
);
308 Pack binary data into a string
311 SWIG_PackData(char *c
, void *ptr
, size_t sz
) {
312 static char hex
[17] = "0123456789abcdef";
313 unsigned char *u
= (unsigned char *) ptr
;
314 const unsigned char *eu
= u
+ sz
;
315 register unsigned char uu
;
316 for (; u
!= eu
; ++u
) {
318 *(c
++) = hex
[(uu
& 0xf0) >> 4];
319 *(c
++) = hex
[uu
& 0xf];
325 Unpack binary data from a string
327 SWIGRUNTIME
const char *
328 SWIG_UnpackData(const char *c
, void *ptr
, size_t sz
) {
329 register unsigned char *u
= (unsigned char *) ptr
;
330 register const unsigned char *eu
= u
+ sz
;
331 for (; u
!= eu
; ++u
) {
332 register int d
= *(c
++);
333 register unsigned char uu
= 0;
334 if ((d
>= '0') && (d
<= '9'))
335 uu
= ((d
- '0') << 4);
336 else if ((d
>= 'a') && (d
<= 'f'))
337 uu
= ((d
- ('a'-10)) << 4);
341 if ((d
>= '0') && (d
<= '9'))
343 else if ((d
>= 'a') && (d
<= 'f'))
344 uu
|= (d
- ('a'-10));
353 This function will propagate the clientdata field of type to any new
354 swig_type_info structures that have been added into the list of
355 equivalent types. It is like calling SWIG_TypeClientData(type,
356 clientdata) a second time.
359 SWIG_PropagateClientDataTL(swig_type_info
*tl
, swig_type_info
*type
) {
360 swig_type_info
*equiv
= type
->next
;
362 if (!type
->clientdata
) return;
364 if (!equiv
->converter
) {
367 if ((strcmp(tc
->name
, equiv
->name
) == 0) && !tc
->clientdata
)
368 SWIG_TypeClientDataTL(tl
,tc
, type
->clientdata
);
377 Pack 'void *' into a string buffer.
380 SWIG_PackVoidPtr(char *buff
, void *ptr
, const char *name
, size_t bsz
) {
382 if ((2*sizeof(void *) + 2) > bsz
) return 0;
384 r
= SWIG_PackData(r
,&ptr
,sizeof(void *));
385 if (strlen(name
) + 1 > (bsz
- (r
- buff
))) return 0;
390 SWIGRUNTIME
const char *
391 SWIG_UnpackVoidPtr(const char *c
, void **ptr
, const char *name
) {
393 if (strcmp(c
,"NULL") == 0) {
400 return SWIG_UnpackData(++c
,ptr
,sizeof(void *));
404 SWIG_PackDataName(char *buff
, void *ptr
, size_t sz
, const char *name
, size_t bsz
) {
406 size_t lname
= (name
? strlen(name
) : 0);
407 if ((2*sz
+ 2 + lname
) > bsz
) return 0;
409 r
= SWIG_PackData(r
,ptr
,sz
);
411 strncpy(r
,name
,lname
+1);
418 SWIGRUNTIME
const char *
419 SWIG_UnpackDataName(const char *c
, void *ptr
, size_t sz
, const char *name
) {
421 if (strcmp(c
,"NULL") == 0) {
428 return SWIG_UnpackData(++c
,ptr
,sz
);
435 /***********************************************************************
438 * This file contains generic SWIG runtime support for pointer
439 * type checking as well as a few commonly used macros to control
442 * Author : David Beazley (beazley@cs.uchicago.edu)
444 * Copyright (c) 1999-2000, The University of Chicago
446 * This file may be freely redistributed without license or fee provided
447 * this copyright message remains intact.
448 ************************************************************************/
451 #if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
452 # if !defined(STATIC_LINKED)
453 # define SWIGEXPORT(a) __declspec(dllexport) a
455 # define SWIGEXPORT(a) a
458 # define SWIGEXPORT(a) a
466 /*************************************************************************/
469 /* The static type info list */
471 static swig_type_info
*swig_type_list
= 0;
472 static swig_type_info
**swig_type_list_handle
= &swig_type_list
;
475 /* Register a type mapping with the type-checking */
476 static swig_type_info
*
477 SWIG_TypeRegister(swig_type_info
*ti
) {
478 return SWIG_TypeRegisterTL(swig_type_list_handle
, ti
);
481 /* Search for a swig_type_info structure */
482 static swig_type_info
*
483 SWIG_TypeQuery(const char *name
) {
484 return SWIG_TypeQueryTL(*swig_type_list_handle
, name
);
487 /* Set the clientdata field for a type */
489 SWIG_TypeClientData(swig_type_info
*ti
, void *clientdata
) {
490 SWIG_TypeClientDataTL(*swig_type_list_handle
, ti
, clientdata
);
493 /* This function will propagate the clientdata field of type to
494 * any new swig_type_info structures that have been added into the list
495 * of equivalent types. It is like calling
496 * SWIG_TypeClientData(type, clientdata) a second time.
499 SWIG_PropagateClientData(swig_type_info
*type
) {
500 SWIG_PropagateClientDataTL(*swig_type_list_handle
, type
);
507 /* -----------------------------------------------------------------------------
508 * SWIG API. Portion that goes into the runtime
509 * ----------------------------------------------------------------------------- */
515 /* -----------------------------------------------------------------------------
516 * for internal method declarations
517 * ----------------------------------------------------------------------------- */
520 #define SWIGINTERN static
523 #ifndef SWIGINTERNSHORT
525 #define SWIGINTERNSHORT static inline
527 #define SWIGINTERNSHORT static
528 #endif /* __cplusplus */
533 Exception handling in wrappers
535 #define SWIG_fail goto fail
536 #define SWIG_arg_fail(arg) SWIG_Python_ArgFail(arg)
537 #define SWIG_append_errmsg(msg) SWIG_Python_AddErrMesg(msg,0)
538 #define SWIG_preppend_errmsg(msg) SWIG_Python_AddErrMesg(msg,1)
539 #define SWIG_type_error(type,obj) SWIG_Python_TypeError(type,obj)
540 #define SWIG_null_ref(type) SWIG_Python_NullRef(type)
545 #define SWIG_contract_assert(expr, msg) \
546 if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, (char *) msg ); goto fail; } else
548 /* -----------------------------------------------------------------------------
549 * Constant declarations
550 * ----------------------------------------------------------------------------- */
553 #define SWIG_PY_INT 1
554 #define SWIG_PY_FLOAT 2
555 #define SWIG_PY_STRING 3
556 #define SWIG_PY_POINTER 4
557 #define SWIG_PY_BINARY 5
559 /* Constant information structure */
560 typedef struct swig_const_info
{
566 swig_type_info
**ptype
;
570 /* -----------------------------------------------------------------------------
571 * Alloc. memory flags
572 * ----------------------------------------------------------------------------- */
573 #define SWIG_OLDOBJ 1
574 #define SWIG_NEWOBJ SWIG_OLDOBJ + 1
575 #define SWIG_PYSTR SWIG_NEWOBJ + 1
582 /***********************************************************************
585 * This file contains the runtime support for Python modules
586 * and includes code for managing global variables and pointer
589 * Author : David Beazley (beazley@cs.uchicago.edu)
590 ************************************************************************/
592 /* Common SWIG API */
593 #define SWIG_ConvertPtr(obj, pp, type, flags) SWIG_Python_ConvertPtr(obj, pp, type, flags)
594 #define SWIG_NewPointerObj(p, type, flags) SWIG_Python_NewPointerObj(p, type, flags)
595 #define SWIG_MustGetPtr(p, type, argnum, flags) SWIG_Python_MustGetPtr(p, type, argnum, flags)
598 /* Python-specific SWIG API */
599 #define SWIG_ConvertPacked(obj, ptr, sz, ty, flags) SWIG_Python_ConvertPacked(obj, ptr, sz, ty, flags)
600 #define SWIG_NewPackedObj(ptr, sz, type) SWIG_Python_NewPackedObj(ptr, sz, type)
603 /* -----------------------------------------------------------------------------
604 * Pointer declarations
605 * ----------------------------------------------------------------------------- */
607 Use SWIG_NO_COBJECT_TYPES to force the use of strings to represent
608 C/C++ pointers in the python side. Very useful for debugging, but
611 #if !defined(SWIG_NO_COBJECT_TYPES) && !defined(SWIG_COBJECT_TYPES)
612 # define SWIG_COBJECT_TYPES
615 /* Flags for pointer conversion */
616 #define SWIG_POINTER_EXCEPTION 0x1
617 #define SWIG_POINTER_DISOWN 0x2
624 /* -----------------------------------------------------------------------------
625 * Create a new pointer string
626 * ----------------------------------------------------------------------------- */
628 #ifndef SWIG_BUFFER_SIZE
629 #define SWIG_BUFFER_SIZE 1024
632 #if defined(SWIG_COBJECT_TYPES)
633 #if !defined(SWIG_COBJECT_PYTHON)
634 /* -----------------------------------------------------------------------------
635 * Implements a simple Swig Object type, and use it instead of PyCObject
636 * ----------------------------------------------------------------------------- */
644 /* Declarations for objects of type PySwigObject */
647 PySwigObject_print(PySwigObject
*v
, FILE *fp
, int flags
)
649 char result
[SWIG_BUFFER_SIZE
];
650 if (SWIG_PackVoidPtr(result
, v
->ptr
, v
->desc
, sizeof(result
))) {
651 fputs("<Swig Object at ", fp
); fputs(result
, fp
); fputs(">", fp
);
658 SWIGRUNTIME PyObject
*
659 PySwigObject_repr(PySwigObject
*v
)
661 char result
[SWIG_BUFFER_SIZE
];
662 return SWIG_PackVoidPtr(result
, v
->ptr
, v
->desc
, sizeof(result
)) ?
663 PyString_FromFormat("<Swig Object at %s>", result
) : 0;
666 SWIGRUNTIME PyObject
*
667 PySwigObject_str(PySwigObject
*v
)
669 char result
[SWIG_BUFFER_SIZE
];
670 return SWIG_PackVoidPtr(result
, v
->ptr
, v
->desc
, sizeof(result
)) ?
671 PyString_FromString(result
) : 0;
674 SWIGRUNTIME PyObject
*
675 PySwigObject_long(PySwigObject
*v
)
677 return PyLong_FromUnsignedLong((unsigned long) v
->ptr
);
680 SWIGRUNTIME PyObject
*
681 PySwigObject_oct(PySwigObject
*v
)
684 unsigned long x
= (unsigned long)v
->ptr
;
688 PyOS_snprintf(buf
, sizeof(buf
), "0%lo", x
);
689 return PyString_FromString(buf
);
692 SWIGRUNTIME PyObject
*
693 PySwigObject_hex(PySwigObject
*v
)
696 PyOS_snprintf(buf
, sizeof(buf
), "0x%lx", (unsigned long)v
->ptr
);
697 return PyString_FromString(buf
);
701 PySwigObject_compare(PySwigObject
*v
, PySwigObject
*w
)
703 int c
= strcmp(v
->desc
, w
->desc
);
709 return (i
< j
) ? -1 : (i
> j
) ? 1 : 0;
714 PySwigObject_dealloc(PySwigObject
*self
)
719 SWIGRUNTIME PyTypeObject
*
720 PySwigObject_GetType() {
721 static char PySwigObject_Type__doc__
[] =
722 "Swig object carries a C/C++ instance pointer";
724 static PyNumberMethods PySwigObject_as_number
= {
725 (binaryfunc
)0, /*nb_add*/
726 (binaryfunc
)0, /*nb_subtract*/
727 (binaryfunc
)0, /*nb_multiply*/
728 (binaryfunc
)0, /*nb_divide*/
729 (binaryfunc
)0, /*nb_remainder*/
730 (binaryfunc
)0, /*nb_divmod*/
731 (ternaryfunc
)0,/*nb_power*/
732 (unaryfunc
)0, /*nb_negative*/
733 (unaryfunc
)0, /*nb_positive*/
734 (unaryfunc
)0, /*nb_absolute*/
735 (inquiry
)0, /*nb_nonzero*/
742 (coercion
)0, /*nb_coerce*/
743 (unaryfunc
)PySwigObject_long
, /*nb_int*/
744 (unaryfunc
)PySwigObject_long
, /*nb_long*/
745 (unaryfunc
)0, /*nb_float*/
746 (unaryfunc
)PySwigObject_oct
, /*nb_oct*/
747 (unaryfunc
)PySwigObject_hex
, /*nb_hex*/
748 #if PY_VERSION_HEX >= 0x02000000
749 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_true_divide */
753 static int type_init
= 0;
754 static PyTypeObject PySwigObject_Type
;
758 PyObject_HEAD_INIT(&PyType_Type
)
760 "PySwigObject", /*tp_name*/
761 sizeof(PySwigObject
), /*tp_basicsize*/
764 (destructor
)PySwigObject_dealloc
, /*tp_dealloc*/
765 (printfunc
)PySwigObject_print
, /*tp_print*/
766 (getattrfunc
)0, /*tp_getattr*/
767 (setattrfunc
)0, /*tp_setattr*/
768 (cmpfunc
)PySwigObject_compare
, /*tp_compare*/
769 (reprfunc
)PySwigObject_repr
, /*tp_repr*/
770 &PySwigObject_as_number
, /*tp_as_number*/
771 0, /*tp_as_sequence*/
773 (hashfunc
)0, /*tp_hash*/
774 (ternaryfunc
)0, /*tp_call*/
775 (reprfunc
)PySwigObject_str
, /*tp_str*/
776 /* Space for future expansion */
778 PySwigObject_Type__doc__
, /* Documentation string */
779 #if PY_VERSION_HEX >= 0x02000000
783 #if PY_VERSION_HEX >= 0x02010000
784 0, /* tp_richcompare */
785 0, /* tp_weaklistoffset */
787 #if PY_VERSION_HEX >= 0x02020000
788 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
790 #if PY_VERSION_HEX >= 0x02030000
794 0,0,0,0 /* tp_alloc -> tp_next */
798 PySwigObject_Type
= tmp
;
802 return &PySwigObject_Type
;
805 SWIGRUNTIME PyObject
*
806 PySwigObject_FromVoidPtrAndDesc(void *ptr
, const char *desc
)
808 PySwigObject
*self
= PyObject_NEW(PySwigObject
, PySwigObject_GetType());
809 if (self
== NULL
) return NULL
;
812 return (PyObject
*)self
;
815 SWIGRUNTIMEINLINE
void *
816 PySwigObject_AsVoidPtr(PyObject
*self
)
818 return ((PySwigObject
*)self
)->ptr
;
821 SWIGRUNTIMEINLINE
const char *
822 PySwigObject_GetDesc(PyObject
*self
)
824 return ((PySwigObject
*)self
)->desc
;
827 SWIGRUNTIMEINLINE
int
828 PySwigObject_Check(PyObject
*op
) {
829 return ((op
)->ob_type
== PySwigObject_GetType())
830 || (strcmp((op
)->ob_type
->tp_name
,"PySwigObject") == 0);
833 /* -----------------------------------------------------------------------------
834 * Implements a simple Swig Packed type, and use it instead of string
835 * ----------------------------------------------------------------------------- */
845 PySwigPacked_print(PySwigPacked
*v
, FILE *fp
, int flags
)
847 char result
[SWIG_BUFFER_SIZE
];
848 fputs("<Swig Packed ", fp
);
849 if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))) {
858 SWIGRUNTIME PyObject
*
859 PySwigPacked_repr(PySwigPacked
*v
)
861 char result
[SWIG_BUFFER_SIZE
];
862 if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))) {
863 return PyString_FromFormat("<Swig Packed at %s%s>", result
, v
->desc
);
865 return PyString_FromFormat("<Swig Packed %s>", v
->desc
);
869 SWIGRUNTIME PyObject
*
870 PySwigPacked_str(PySwigPacked
*v
)
872 char result
[SWIG_BUFFER_SIZE
];
873 if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))){
874 return PyString_FromFormat("%s%s", result
, v
->desc
);
876 return PyString_FromFormat("%s", v
->desc
);
881 PySwigPacked_compare(PySwigPacked
*v
, PySwigPacked
*w
)
883 int c
= strcmp(v
->desc
, w
->desc
);
889 int s
= (i
< j
) ? -1 : (i
> j
) ? 1 : 0;
890 return s
? s
: strncmp((char *)v
->pack
, (char *)w
->pack
, 2*v
->size
);
895 PySwigPacked_dealloc(PySwigPacked
*self
)
901 SWIGRUNTIME PyTypeObject
*
902 PySwigPacked_GetType() {
903 static char PySwigPacked_Type__doc__
[] =
904 "Swig object carries a C/C++ instance pointer";
905 static int type_init
= 0;
907 static PyTypeObject PySwigPacked_Type
;
910 PyObject_HEAD_INIT(&PyType_Type
)
912 "PySwigPacked", /*tp_name*/
913 sizeof(PySwigPacked
), /*tp_basicsize*/
916 (destructor
)PySwigPacked_dealloc
, /*tp_dealloc*/
917 (printfunc
)PySwigPacked_print
, /*tp_print*/
918 (getattrfunc
)0, /*tp_getattr*/
919 (setattrfunc
)0, /*tp_setattr*/
920 (cmpfunc
)PySwigPacked_compare
, /*tp_compare*/
921 (reprfunc
)PySwigPacked_repr
, /*tp_repr*/
923 0, /*tp_as_sequence*/
925 (hashfunc
)0, /*tp_hash*/
926 (ternaryfunc
)0, /*tp_call*/
927 (reprfunc
)PySwigPacked_str
, /*tp_str*/
928 /* Space for future expansion */
930 PySwigPacked_Type__doc__
, /* Documentation string */
931 #if PY_VERSION_HEX >= 0x02000000
935 #if PY_VERSION_HEX >= 0x02010000
936 0, /* tp_richcompare */
937 0, /* tp_weaklistoffset */
939 #if PY_VERSION_HEX >= 0x02020000
940 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
942 #if PY_VERSION_HEX >= 0x02030000
946 0,0,0,0 /* tp_alloc -> tp_next */
950 PySwigPacked_Type
= tmp
;
956 return &PySwigPacked_Type
;
959 SWIGRUNTIME PyObject
*
960 PySwigPacked_FromDataAndDesc(void *ptr
, size_t size
, const char *desc
)
962 PySwigPacked
*self
= PyObject_NEW(PySwigPacked
, PySwigPacked_GetType());
966 void *pack
= malloc(size
);
967 memcpy(pack
, ptr
, size
);
971 return (PyObject
*) self
;
975 SWIGRUNTIMEINLINE
const char *
976 PySwigPacked_UnpackData(PyObject
*obj
, void *ptr
, size_t size
)
978 PySwigPacked
*self
= (PySwigPacked
*)obj
;
979 if (self
->size
!= size
) return 0;
980 memcpy(ptr
, self
->pack
, size
);
984 SWIGRUNTIMEINLINE
const char *
985 PySwigPacked_GetDesc(PyObject
*self
)
987 return ((PySwigPacked
*)self
)->desc
;
990 SWIGRUNTIMEINLINE
int
991 PySwigPacked_Check(PyObject
*op
) {
992 return ((op
)->ob_type
== PySwigPacked_GetType())
993 || (strcmp((op
)->ob_type
->tp_name
,"PySwigPacked") == 0);
997 /* -----------------------------------------------------------------------------
998 * Use the old Python PyCObject instead of PySwigObject
999 * ----------------------------------------------------------------------------- */
1001 #define PySwigObject_GetDesc(obj) PyCObject_GetDesc(obj)
1002 #define PySwigObject_Check(obj) PyCObject_Check(obj)
1003 #define PySwigObject_AsVoidPtr(obj) PyCObject_AsVoidPtr(obj)
1004 #define PySwigObject_FromVoidPtrAndDesc(p, d) PyCObject_FromVoidPtrAndDesc(p, d, NULL)
1010 /* -----------------------------------------------------------------------------
1011 * errors manipulation
1012 * ----------------------------------------------------------------------------- */
1015 SWIG_Python_TypeError(const char *type
, PyObject
*obj
)
1018 #if defined(SWIG_COBJECT_TYPES)
1019 if (PySwigObject_Check(obj
)) {
1020 const char *otype
= (const char *) PySwigObject_GetDesc(obj
);
1022 PyErr_Format(PyExc_TypeError
, "a '%s' is expected, 'PySwigObject(%s)' is received",
1029 const char *otype
= (obj
? obj
->ob_type
->tp_name
: 0);
1031 PyObject
*str
= PyObject_Str(obj
);
1032 const char *cstr
= str
? PyString_AsString(str
) : 0;
1034 PyErr_Format(PyExc_TypeError
, "a '%s' is expected, '%s(%s)' is received",
1037 PyErr_Format(PyExc_TypeError
, "a '%s' is expected, '%s' is received",
1045 PyErr_Format(PyExc_TypeError
, "a '%s' is expected", type
);
1047 PyErr_Format(PyExc_TypeError
, "unexpected type is received");
1051 SWIGRUNTIMEINLINE
void
1052 SWIG_Python_NullRef(const char *type
)
1055 PyErr_Format(PyExc_TypeError
, "null reference of type '%s' was received",type
);
1057 PyErr_Format(PyExc_TypeError
, "null reference was received");
1062 SWIG_Python_AddErrMesg(const char* mesg
, int infront
)
1064 if (PyErr_Occurred()) {
1066 PyObject
*value
= 0;
1067 PyObject
*traceback
= 0;
1068 PyErr_Fetch(&type
, &value
, &traceback
);
1070 PyObject
*old_str
= PyObject_Str(value
);
1074 PyErr_Format(type
, "%s %s", mesg
, PyString_AsString(old_str
));
1076 PyErr_Format(type
, "%s %s", PyString_AsString(old_str
), mesg
);
1087 SWIG_Python_ArgFail(int argnum
)
1089 if (PyErr_Occurred()) {
1090 /* add information about failing argument */
1092 sprintf(mesg
, "argument number %d:", argnum
);
1093 return SWIG_Python_AddErrMesg(mesg
, 1);
1100 /* -----------------------------------------------------------------------------
1101 * pointers/data manipulation
1102 * ----------------------------------------------------------------------------- */
1104 /* Convert a pointer value */
1106 SWIG_Python_ConvertPtr(PyObject
*obj
, void **ptr
, swig_type_info
*ty
, int flags
) {
1109 static PyObject
*SWIG_this
= 0;
1111 PyObject
*pyobj
= 0;
1115 if (obj
== Py_None
) {
1120 #ifdef SWIG_COBJECT_TYPES
1121 if (!(PySwigObject_Check(obj
))) {
1123 SWIG_this
= PyString_FromString("this");
1125 obj
= PyObject_GetAttr(obj
,SWIG_this
);
1127 if (!obj
) goto type_error
;
1128 if (!PySwigObject_Check(obj
)) {
1133 vptr
= PySwigObject_AsVoidPtr(obj
);
1134 c
= (const char *) PySwigObject_GetDesc(obj
);
1135 if (newref
) { Py_DECREF(obj
); }
1138 if (!(PyString_Check(obj
))) {
1140 SWIG_this
= PyString_FromString("this");
1142 obj
= PyObject_GetAttr(obj
,SWIG_this
);
1144 if (!obj
) goto type_error
;
1145 if (!PyString_Check(obj
)) {
1150 c
= PyString_AS_STRING(obj
);
1151 /* Pointer values must start with leading underscore */
1152 c
= SWIG_UnpackVoidPtr(c
, &vptr
, ty
->name
);
1153 if (newref
) { Py_DECREF(obj
); }
1154 if (!c
) goto type_error
;
1160 tc
= SWIG_TypeCheck(c
,ty
);
1161 if (!tc
) goto type_error
;
1162 *ptr
= SWIG_TypeCast(tc
,vptr
);
1167 if ((pyobj
) && (flags
& SWIG_POINTER_DISOWN
)) {
1168 PyObject_SetAttrString(pyobj
,(char*)"thisown",Py_False
);
1174 if (pyobj
&& !obj
) {
1176 if (PyCFunction_Check(obj
)) {
1177 /* here we get the method pointer for callbacks */
1178 char *doc
= (((PyCFunctionObject
*)obj
) -> m_ml
-> ml_doc
);
1179 c
= doc
? strstr(doc
, "swig_ptr: ") : 0;
1181 c
= SWIG_UnpackVoidPtr(c
+ 10, &vptr
, ty
->name
);
1182 if (!c
) goto type_error
;
1187 if (flags
& SWIG_POINTER_EXCEPTION
) {
1189 SWIG_Python_TypeError(SWIG_TypePrettyName(ty
), obj
);
1191 SWIG_Python_TypeError("C/C++ pointer", obj
);
1197 /* Convert a pointer value, signal an exception on a type mismatch */
1199 SWIG_Python_MustGetPtr(PyObject
*obj
, swig_type_info
*ty
, int argnum
, int flags
) {
1201 if (SWIG_Python_ConvertPtr(obj
, &result
, ty
, flags
) == -1) {
1203 if (flags
& SWIG_POINTER_EXCEPTION
) {
1204 SWIG_Python_TypeError(SWIG_TypePrettyName(ty
), obj
);
1205 SWIG_Python_ArgFail(argnum
);
1211 /* Convert a packed value value */
1213 SWIG_Python_ConvertPacked(PyObject
*obj
, void *ptr
, size_t sz
, swig_type_info
*ty
, int flags
) {
1217 #if defined(SWIG_COBJECT_TYPES) && !defined(SWIG_COBJECT_PYTHON)
1218 c
= PySwigPacked_UnpackData(obj
, ptr
, sz
);
1220 if ((!obj
) || (!PyString_Check(obj
))) goto type_error
;
1221 c
= PyString_AS_STRING(obj
);
1222 /* Pointer values must start with leading underscore */
1223 c
= SWIG_UnpackDataName(c
, ptr
, sz
, ty
->name
);
1225 if (!c
) goto type_error
;
1227 tc
= SWIG_TypeCheck(c
,ty
);
1228 if (!tc
) goto type_error
;
1234 if (flags
& SWIG_POINTER_EXCEPTION
) {
1236 SWIG_Python_TypeError(SWIG_TypePrettyName(ty
), obj
);
1238 SWIG_Python_TypeError("C/C++ packed data", obj
);
1244 /* Create a new array object */
1245 SWIGRUNTIME PyObject
*
1246 SWIG_Python_NewPointerObj(void *ptr
, swig_type_info
*type
, int own
) {
1252 #ifdef SWIG_COBJECT_TYPES
1253 robj
= PySwigObject_FromVoidPtrAndDesc((void *) ptr
, (char *)type
->name
);
1256 char result
[SWIG_BUFFER_SIZE
];
1257 robj
= SWIG_PackVoidPtr(result
, ptr
, type
->name
, sizeof(result
)) ?
1258 PyString_FromString(result
) : 0;
1261 if (!robj
|| (robj
== Py_None
)) return robj
;
1262 if (type
->clientdata
) {
1264 PyObject
*args
= Py_BuildValue((char*)"(O)", robj
);
1266 inst
= PyObject_CallObject((PyObject
*) type
->clientdata
, args
);
1270 PyObject_SetAttrString(inst
,(char*)"thisown",Py_True
);
1278 SWIGRUNTIME PyObject
*
1279 SWIG_Python_NewPackedObj(void *ptr
, size_t sz
, swig_type_info
*type
) {
1285 #if defined(SWIG_COBJECT_TYPES) && !defined(SWIG_COBJECT_PYTHON)
1286 robj
= PySwigPacked_FromDataAndDesc((void *) ptr
, sz
, (char *)type
->name
);
1289 char result
[SWIG_BUFFER_SIZE
];
1290 robj
= SWIG_PackDataName(result
, ptr
, sz
, type
->name
, sizeof(result
)) ?
1291 PyString_FromString(result
) : 0;
1297 /* -----------------------------------------------------------------------------*
1299 * -----------------------------------------------------------------------------*/
1301 #ifdef SWIG_LINK_RUNTIME
1302 void *SWIG_ReturnGlobalTypeList(void *);
1305 SWIGRUNTIME swig_type_info
**
1306 SWIG_Python_GetTypeListHandle() {
1307 static void *type_pointer
= (void *)0;
1308 /* first check if module already created */
1309 if (!type_pointer
) {
1310 #ifdef SWIG_LINK_RUNTIME
1311 type_pointer
= SWIG_ReturnGlobalTypeList((void *)0);
1313 type_pointer
= PyCObject_Import((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION
,
1314 (char*)"type_pointer" SWIG_TYPE_TABLE_NAME
);
1315 if (PyErr_Occurred()) {
1317 type_pointer
= (void *)0;
1321 return (swig_type_info
**) type_pointer
;
1325 Search for a swig_type_info structure
1327 SWIGRUNTIMEINLINE swig_type_info
*
1328 SWIG_Python_GetTypeList() {
1329 swig_type_info
**tlh
= SWIG_Python_GetTypeListHandle();
1330 return tlh
? *tlh
: (swig_type_info
*)0;
1333 #define SWIG_Runtime_GetTypeList SWIG_Python_GetTypeList
1340 /* -------- TYPES TABLE (BEGIN) -------- */
1342 #define SWIGTYPE_p_wxLayoutConstraints swig_types[0]
1343 #define SWIGTYPE_p_wxRealPoint swig_types[1]
1344 #define SWIGTYPE_p_wxSizerItem swig_types[2]
1345 #define SWIGTYPE_p_wxGBSizerItem swig_types[3]
1346 #define SWIGTYPE_p_wxScrollEvent swig_types[4]
1347 #define SWIGTYPE_p_wxEventLoop swig_types[5]
1348 #define SWIGTYPE_p_wxIndividualLayoutConstraint swig_types[6]
1349 #define SWIGTYPE_p_wxSizer swig_types[7]
1350 #define SWIGTYPE_p_wxBoxSizer swig_types[8]
1351 #define SWIGTYPE_p_wxStaticBoxSizer swig_types[9]
1352 #define SWIGTYPE_p_wxGridBagSizer swig_types[10]
1353 #define SWIGTYPE_p_wxAcceleratorEntry swig_types[11]
1354 #define SWIGTYPE_p_wxUpdateUIEvent swig_types[12]
1355 #define SWIGTYPE_p_wxEvent swig_types[13]
1356 #define SWIGTYPE_p_buffer swig_types[14]
1357 #define SWIGTYPE_p_wxMenu swig_types[15]
1358 #define SWIGTYPE_p_wxGridSizer swig_types[16]
1359 #define SWIGTYPE_p_wxFlexGridSizer swig_types[17]
1360 #define SWIGTYPE_p_wxInitDialogEvent swig_types[18]
1361 #define SWIGTYPE_p_wxItemContainer swig_types[19]
1362 #define SWIGTYPE_p_wxNcPaintEvent swig_types[20]
1363 #define SWIGTYPE_p_wxPaintEvent swig_types[21]
1364 #define SWIGTYPE_p_wxSysColourChangedEvent swig_types[22]
1365 #define SWIGTYPE_p_wxMouseCaptureChangedEvent swig_types[23]
1366 #define SWIGTYPE_p_wxDisplayChangedEvent swig_types[24]
1367 #define SWIGTYPE_p_wxPaletteChangedEvent swig_types[25]
1368 #define SWIGTYPE_p_wxControl swig_types[26]
1369 #define SWIGTYPE_p_wxFont swig_types[27]
1370 #define SWIGTYPE_p_wxMenuBarBase swig_types[28]
1371 #define SWIGTYPE_p_wxSetCursorEvent swig_types[29]
1372 #define SWIGTYPE_p_wxFSFile swig_types[30]
1373 #define SWIGTYPE_p_wxCaret swig_types[31]
1374 #define SWIGTYPE_ptrdiff_t swig_types[32]
1375 #define SWIGTYPE_std__ptrdiff_t swig_types[33]
1376 #define SWIGTYPE_p_wxRegion swig_types[34]
1377 #define SWIGTYPE_p_wxPoint2D swig_types[35]
1378 #define SWIGTYPE_p_int swig_types[36]
1379 #define SWIGTYPE_p_wxSize swig_types[37]
1380 #define SWIGTYPE_p_wxDC swig_types[38]
1381 #define SWIGTYPE_p_wxPySizer swig_types[39]
1382 #define SWIGTYPE_p_wxVisualAttributes swig_types[40]
1383 #define SWIGTYPE_p_wxNotifyEvent swig_types[41]
1384 #define SWIGTYPE_p_wxPyEvent swig_types[42]
1385 #define SWIGTYPE_p_wxPropagationDisabler swig_types[43]
1386 #define SWIGTYPE_p_form_ops_t swig_types[44]
1387 #define SWIGTYPE_p_wxAppTraits swig_types[45]
1388 #define SWIGTYPE_p_wxArrayString swig_types[46]
1389 #define SWIGTYPE_p_wxShowEvent swig_types[47]
1390 #define SWIGTYPE_p_wxToolTip swig_types[48]
1391 #define SWIGTYPE_p_wxMoveEvent swig_types[49]
1392 #define SWIGTYPE_p_wxSizeEvent swig_types[50]
1393 #define SWIGTYPE_p_wxActivateEvent swig_types[51]
1394 #define SWIGTYPE_p_wxIconizeEvent swig_types[52]
1395 #define SWIGTYPE_p_wxMaximizeEvent swig_types[53]
1396 #define SWIGTYPE_p_wxQueryNewPaletteEvent swig_types[54]
1397 #define SWIGTYPE_p_wxWindowCreateEvent swig_types[55]
1398 #define SWIGTYPE_p_wxIdleEvent swig_types[56]
1399 #define SWIGTYPE_p_wxDateEvent swig_types[57]
1400 #define SWIGTYPE_p_wxMenuItem swig_types[58]
1401 #define SWIGTYPE_p_wxStaticBox swig_types[59]
1402 #define SWIGTYPE_p_long swig_types[60]
1403 #define SWIGTYPE_p_wxDuplexMode swig_types[61]
1404 #define SWIGTYPE_p_wxTIFFHandler swig_types[62]
1405 #define SWIGTYPE_p_wxXPMHandler swig_types[63]
1406 #define SWIGTYPE_p_wxPNMHandler swig_types[64]
1407 #define SWIGTYPE_p_wxJPEGHandler swig_types[65]
1408 #define SWIGTYPE_p_wxPCXHandler swig_types[66]
1409 #define SWIGTYPE_p_wxGIFHandler swig_types[67]
1410 #define SWIGTYPE_p_wxPNGHandler swig_types[68]
1411 #define SWIGTYPE_p_wxANIHandler swig_types[69]
1412 #define SWIGTYPE_p_wxMemoryFSHandler swig_types[70]
1413 #define SWIGTYPE_p_wxZipFSHandler swig_types[71]
1414 #define SWIGTYPE_p_wxInternetFSHandler swig_types[72]
1415 #define SWIGTYPE_p_wxPyFileSystemHandler swig_types[73]
1416 #define SWIGTYPE_p_wxEvtHandler swig_types[74]
1417 #define SWIGTYPE_p_wxCURHandler swig_types[75]
1418 #define SWIGTYPE_p_wxICOHandler swig_types[76]
1419 #define SWIGTYPE_p_wxBMPHandler swig_types[77]
1420 #define SWIGTYPE_p_wxImageHandler swig_types[78]
1421 #define SWIGTYPE_p_wxFileSystemHandler swig_types[79]
1422 #define SWIGTYPE_p_wxRect swig_types[80]
1423 #define SWIGTYPE_p_wxButton swig_types[81]
1424 #define SWIGTYPE_p_wxGBSpan swig_types[82]
1425 #define SWIGTYPE_p_wxPropagateOnce swig_types[83]
1426 #define SWIGTYPE_p_wxAcceleratorTable swig_types[84]
1427 #define SWIGTYPE_p_wxStdDialogButtonSizer swig_types[85]
1428 #define SWIGTYPE_p_char swig_types[86]
1429 #define SWIGTYPE_p_wxGBPosition swig_types[87]
1430 #define SWIGTYPE_p_wxImage swig_types[88]
1431 #define SWIGTYPE_p_wxFrame swig_types[89]
1432 #define SWIGTYPE_p_wxScrollWinEvent swig_types[90]
1433 #define SWIGTYPE_p_wxPaperSize swig_types[91]
1434 #define SWIGTYPE_p_wxImageHistogram swig_types[92]
1435 #define SWIGTYPE_p_wxPoint swig_types[93]
1436 #define SWIGTYPE_p_wxCursor swig_types[94]
1437 #define SWIGTYPE_p_wxObject swig_types[95]
1438 #define SWIGTYPE_p_wxInputStream swig_types[96]
1439 #define SWIGTYPE_p_wxOutputStream swig_types[97]
1440 #define SWIGTYPE_p_wxPyInputStream swig_types[98]
1441 #define SWIGTYPE_p_wxDateTime swig_types[99]
1442 #define SWIGTYPE_p_wxKeyEvent swig_types[100]
1443 #define SWIGTYPE_p_wxNavigationKeyEvent swig_types[101]
1444 #define SWIGTYPE_p_wxWindowDestroyEvent swig_types[102]
1445 #define SWIGTYPE_p_unsigned_long swig_types[103]
1446 #define SWIGTYPE_p_wxWindow swig_types[104]
1447 #define SWIGTYPE_p_wxMenuBar swig_types[105]
1448 #define SWIGTYPE_p_wxFileSystem swig_types[106]
1449 #define SWIGTYPE_p_wxBitmap swig_types[107]
1450 #define SWIGTYPE_unsigned_int swig_types[108]
1451 #define SWIGTYPE_p_unsigned_int swig_types[109]
1452 #define SWIGTYPE_p_wxMenuEvent swig_types[110]
1453 #define SWIGTYPE_p_wxContextMenuEvent swig_types[111]
1454 #define SWIGTYPE_p_unsigned_char swig_types[112]
1455 #define SWIGTYPE_p_wxEraseEvent swig_types[113]
1456 #define SWIGTYPE_p_wxMouseEvent swig_types[114]
1457 #define SWIGTYPE_p_wxCloseEvent swig_types[115]
1458 #define SWIGTYPE_p_wxPyApp swig_types[116]
1459 #define SWIGTYPE_p_wxCommandEvent swig_types[117]
1460 #define SWIGTYPE_p_wxPyCommandEvent swig_types[118]
1461 #define SWIGTYPE_p_wxPyDropTarget swig_types[119]
1462 #define SWIGTYPE_p_wxQuantize swig_types[120]
1463 #define SWIGTYPE_p_wxFocusEvent swig_types[121]
1464 #define SWIGTYPE_p_wxChildFocusEvent swig_types[122]
1465 #define SWIGTYPE_p_wxDropFilesEvent swig_types[123]
1466 #define SWIGTYPE_p_wxControlWithItems swig_types[124]
1467 #define SWIGTYPE_p_wxColour swig_types[125]
1468 #define SWIGTYPE_p_wxValidator swig_types[126]
1469 #define SWIGTYPE_p_wxPyValidator swig_types[127]
1470 static swig_type_info
*swig_types
[129];
1472 /* -------- TYPES TABLE (END) -------- */
1475 /*-----------------------------------------------
1476 @(target):= _core_.so
1477 ------------------------------------------------*/
1478 #define SWIG_init init_core_
1480 #define SWIG_name "_core_"
1482 #include "wx/wxPython/wxPython_int.h"
1483 #include "wx/wxPython/pyclasses.h"
1486 #ifndef wxPyUSE_EXPORT
1487 // Helper functions for dealing with SWIG objects and such. These are
1488 // located here so they know about the SWIG types and functions declared
1489 // in the wrapper code.
1491 #include <wx/hashmap.h>
1492 WX_DECLARE_STRING_HASH_MAP( swig_type_info
*, wxPyTypeInfoHashMap
);
1495 // Maintains a hashmap of className to swig_type_info pointers. Given the
1496 // name of a class either looks up the type info in the cache, or scans the
1497 // SWIG tables for it.
1498 extern PyObject
* wxPyPtrTypeMap
;
1500 swig_type_info
* wxPyFindSwigType(const wxChar
* className
) {
1502 static wxPyTypeInfoHashMap
* typeInfoCache
= NULL
;
1504 if (typeInfoCache
== NULL
)
1505 typeInfoCache
= new wxPyTypeInfoHashMap
;
1507 wxString
name(className
);
1508 swig_type_info
* swigType
= (*typeInfoCache
)[name
];
1511 // it wasn't in the cache, so look it up from SWIG
1512 name
.Append(wxT(" *"));
1513 swigType
= SWIG_TypeQuery(name
.mb_str());
1515 // if it still wasn't found, try looking for a mapped name
1520 if ((item
= PyDict_GetItemString(wxPyPtrTypeMap
,
1521 (char*)(const char*)name
.mbc_str())) != NULL
) {
1522 name
= wxString(PyString_AsString(item
), *wxConvCurrent
);
1523 name
.Append(wxT(" *"));
1524 swigType
= SWIG_TypeQuery(name
.mb_str());
1528 // and add it to the map if found
1529 (*typeInfoCache
)[className
] = swigType
;
1536 // Check if a class name is a type known to SWIG
1537 bool wxPyCheckSwigType(const wxChar
* className
) {
1539 swig_type_info
* swigType
= wxPyFindSwigType(className
);
1540 return swigType
!= NULL
;
1544 // Given a pointer to a C++ object and a class name, construct a Python proxy
1546 PyObject
* wxPyConstructObject(void* ptr
,
1547 const wxChar
* className
,
1550 swig_type_info
* swigType
= wxPyFindSwigType(className
);
1551 wxCHECK_MSG(swigType
!= NULL
, NULL
, wxT("Unknown type in wxPyConstructObject"));
1553 return SWIG_Python_NewPointerObj(ptr
, swigType
, setThisOwn
);
1557 // Extract a pointer to the wrapped C++ object from a Python proxy object.
1558 // Ensures that the proxy object is of the specified (or derived) type. If
1559 // not able to perform the conversion then a Python exception is set and the
1560 // error should be handled properly in the caller. Returns True on success.
1561 bool wxPyConvertSwigPtr(PyObject
* obj
, void **ptr
,
1562 const wxChar
* className
) {
1564 swig_type_info
* swigType
= wxPyFindSwigType(className
);
1565 wxCHECK_MSG(swigType
!= NULL
, false, wxT("Unknown type in wxPyConvertSwigPtr"));
1567 return SWIG_Python_ConvertPtr(obj
, ptr
, swigType
, SWIG_POINTER_EXCEPTION
) != -1;
1571 // Make a SWIGified pointer object suitable for a .this attribute
1572 PyObject
* wxPyMakeSwigPtr(void* ptr
, const wxChar
* className
) {
1574 PyObject
* robj
= NULL
;
1576 swig_type_info
* swigType
= wxPyFindSwigType(className
);
1577 wxCHECK_MSG(swigType
!= NULL
, NULL
, wxT("Unknown type in wxPyConvertSwigPtr"));
1579 #ifdef SWIG_COBJECT_TYPES
1580 robj
= PySwigObject_FromVoidPtrAndDesc((void *) ptr
, (char *)swigType
->name
);
1584 robj
= SWIG_PackVoidPtr(result
, ptr
, swigType
->name
, sizeof(result
)) ?
1585 PyString_FromString(result
) : 0;
1595 // Export a C API in a struct. Other modules will be able to load this from
1596 // the wx._core_ module and will then have safe access to these functions,
1597 // even if they are located in another shared library.
1598 static wxPyCoreAPI API
= {
1601 wxPyConstructObject
,
1605 wxPyBeginAllowThreads
,
1606 wxPyEndAllowThreads
,
1607 wxPyBeginBlockThreads
,
1608 wxPyEndBlockThreads
,
1620 wxPoint_LIST_helper
,
1621 wxBitmap_LIST_helper
,
1622 wxString_LIST_helper
,
1623 wxAcceleratorEntry_LIST_helper
,
1632 wxPySimple_typecheck
,
1635 wxPyCBH_setCallbackInfo
,
1636 wxPyCBH_findCallback
,
1637 wxPyCBH_callCallback
,
1638 wxPyCBH_callCallbackObj
,
1644 wxPy2int_seq_helper
,
1645 wxPy4int_seq_helper
,
1646 wxArrayString2PyList_helper
,
1647 wxArrayInt2PyList_helper
,
1649 wxPyClientData_dtor
,
1651 wxPyOORClientData_dtor
,
1653 wxPyCBInputStream_create
,
1654 wxPyCBInputStream_copy
,
1657 wxPySwigInstance_Check
,
1666 #if !WXWIN_COMPATIBILITY_2_4
1667 #define wxHIDE_READONLY 0
1671 /*@/opt/swig/share/swig/1.3.24/python/pymacros.swg,66,SWIG_define@*/
1672 #define SWIG_From_int PyInt_FromLong
1677 enum wxHotkeyModifier
1685 #define wxEVT_HOTKEY 9999
1688 static const wxString
wxPyEmptyString(wxEmptyString
);
1689 static wxString
wxObject_GetClassName(wxObject
*self
){
1690 return self
->GetClassInfo()->GetClassName();
1692 static void wxObject_Destroy(wxObject
*self
){
1697 #define wxCURSOR_COPY_ARROW wxCURSOR_ARROW
1705 SWIG_CheckLongInRange(long value
, long min_value
, long max_value
,
1708 if (value
< min_value
) {
1710 PyErr_Format(PyExc_OverflowError
,
1711 "value %ld is less than '%s' minimum %ld",
1712 value
, errmsg
, min_value
);
1715 } else if (value
> max_value
) {
1717 PyErr_Format(PyExc_OverflowError
,
1718 "value %ld is greater than '%s' maximum %ld",
1719 value
, errmsg
, max_value
);
1728 SWIG_AsVal_long(PyObject
* obj
, long* val
)
1730 if (PyNumber_Check(obj
)) {
1731 if (val
) *val
= PyInt_AsLong(obj
);
1735 SWIG_type_error("number", obj
);
1741 #if INT_MAX != LONG_MAX
1743 SWIG_AsVal_int(PyObject
*obj
, int *val
)
1745 const char* errmsg
= val
? "int" : (char*)0;
1747 if (SWIG_AsVal_long(obj
, &v
)) {
1748 if (SWIG_CheckLongInRange(v
, INT_MIN
,INT_MAX
, errmsg
)) {
1749 if (val
) *val
= (int)(v
);
1758 SWIG_type_error(errmsg
, obj
);
1764 SWIG_AsVal_int(PyObject
*obj
, int *val
)
1766 return SWIG_AsVal_long(obj
,(long*)val
);
1772 SWIG_As_int(PyObject
* obj
)
1775 if (!SWIG_AsVal_int(obj
, &v
)) {
1777 this is needed to make valgrind/purify happier.
1779 memset((void*)&v
, 0, sizeof(int));
1786 SWIG_Check_int(PyObject
* obj
)
1788 return SWIG_AsVal_int(obj
, (int*)0);
1791 static PyObject
*wxSize_Get(wxSize
*self
){
1792 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
1793 PyObject
* tup
= PyTuple_New(2);
1794 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(self
->x
));
1795 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(self
->y
));
1796 wxPyEndBlockThreads(blocked
);
1801 SWIG_AsVal_double(PyObject
*obj
, double* val
)
1803 if (PyNumber_Check(obj
)) {
1804 if (val
) *val
= PyFloat_AsDouble(obj
);
1808 SWIG_type_error("number", obj
);
1814 SWIGINTERNSHORT
double
1815 SWIG_As_double(PyObject
* obj
)
1818 if (!SWIG_AsVal_double(obj
, &v
)) {
1820 this is needed to make valgrind/purify happier.
1822 memset((void*)&v
, 0, sizeof(double));
1829 SWIG_Check_double(PyObject
* obj
)
1831 return SWIG_AsVal_double(obj
, (double*)0);
1835 /*@/opt/swig/share/swig/1.3.24/python/pymacros.swg,66,SWIG_define@*/
1836 #define SWIG_From_double PyFloat_FromDouble
1839 static void wxRealPoint_Set(wxRealPoint
*self
,double x
,double y
){
1843 static PyObject
*wxRealPoint_Get(wxRealPoint
*self
){
1844 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
1845 PyObject
* tup
= PyTuple_New(2);
1846 PyTuple_SET_ITEM(tup
, 0, PyFloat_FromDouble(self
->x
));
1847 PyTuple_SET_ITEM(tup
, 1, PyFloat_FromDouble(self
->y
));
1848 wxPyEndBlockThreads(blocked
);
1852 SWIGINTERNSHORT
long
1853 SWIG_As_long(PyObject
* obj
)
1856 if (!SWIG_AsVal_long(obj
, &v
)) {
1858 this is needed to make valgrind/purify happier.
1860 memset((void*)&v
, 0, sizeof(long));
1867 SWIG_Check_long(PyObject
* obj
)
1869 return SWIG_AsVal_long(obj
, (long*)0);
1872 static void wxPoint_Set(wxPoint
*self
,long x
,long y
){
1876 static PyObject
*wxPoint_Get(wxPoint
*self
){
1877 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
1878 PyObject
* tup
= PyTuple_New(2);
1879 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(self
->x
));
1880 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(self
->y
));
1881 wxPyEndBlockThreads(blocked
);
1884 static void wxRect_Set(wxRect
*self
,int x
=0,int y
=0,int width
=0,int height
=0){
1887 self
->width
= width
;
1888 self
->height
= height
;
1890 static PyObject
*wxRect_Get(wxRect
*self
){
1891 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
1892 PyObject
* tup
= PyTuple_New(4);
1893 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(self
->x
));
1894 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(self
->y
));
1895 PyTuple_SET_ITEM(tup
, 2, PyInt_FromLong(self
->width
));
1896 PyTuple_SET_ITEM(tup
, 3, PyInt_FromLong(self
->height
));
1897 wxPyEndBlockThreads(blocked
);
1901 PyObject
* wxIntersectRect(wxRect
* r1
, wxRect
* r2
) {
1904 wxRect
dest(0,0,0,0);
1907 reg1
.Intersect(reg2
);
1908 dest
= reg1
.GetBox();
1910 if (dest
!= wxRect(0,0,0,0)) {
1911 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
1912 wxRect
* newRect
= new wxRect(dest
);
1913 obj
= wxPyConstructObject((void*)newRect
, wxT("wxRect"), true);
1914 wxPyEndBlockThreads(blocked
);
1922 static PyObject
* t_output_helper(PyObject
* target
, PyObject
* o
) {
1928 } else if (target
== Py_None
) {
1932 if (!PyTuple_Check(target
)) {
1934 target
= PyTuple_New(1);
1935 PyTuple_SetItem(target
, 0, o2
);
1937 o3
= PyTuple_New(1);
1938 PyTuple_SetItem(o3
, 0, o
);
1941 target
= PySequence_Concat(o2
, o3
);
1949 static void wxPoint2D_Set(wxPoint2D
*self
,double x
=0,double y
=0){
1953 static PyObject
*wxPoint2D_Get(wxPoint2D
*self
){
1954 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
1955 PyObject
* tup
= PyTuple_New(2);
1956 PyTuple_SET_ITEM(tup
, 0, PyFloat_FromDouble(self
->m_x
));
1957 PyTuple_SET_ITEM(tup
, 1, PyFloat_FromDouble(self
->m_y
));
1958 wxPyEndBlockThreads(blocked
);
1962 #include "wx/wxPython/pyistream.h"
1964 static wxPyInputStream
*new_wxPyInputStream(PyObject
*p
){
1965 wxInputStream
* wxis
= wxPyCBInputStream::create(p
);
1967 return new wxPyInputStream(wxis
);
1972 SWIGINTERNSHORT PyObject
*
1973 SWIG_From_char(char c
)
1975 return PyString_FromStringAndSize(&c
,1);
1979 SWIGINTERNSHORT PyObject
*
1980 SWIG_From_unsigned_SS_long(unsigned long value
)
1982 return (value
> LONG_MAX
) ?
1983 PyLong_FromUnsignedLong(value
)
1984 : PyInt_FromLong((long)(value
));
1988 /* returns SWIG_OLDOBJ if the input is a raw char*, SWIG_PYSTR if is a PyString */
1990 SWIG_AsCharPtrAndSize(PyObject
*obj
, char** cptr
, size_t* psize
)
1992 static swig_type_info
* pchar_info
= 0;
1994 if (!pchar_info
) pchar_info
= SWIG_TypeQuery("char *");
1995 if (SWIG_ConvertPtr(obj
, (void**)&vptr
, pchar_info
, 0) != -1) {
1996 if (cptr
) *cptr
= vptr
;
1997 if (psize
) *psize
= vptr
? (strlen(vptr
) + 1) : 0;
2001 if (PyString_Check(obj
)) {
2003 *cptr
= PyString_AS_STRING(obj
);
2005 *psize
= PyString_GET_SIZE(obj
) + 1;
2012 SWIG_type_error("char *", obj
);
2019 SWIG_AsCharArray(PyObject
*obj
, char *val
, size_t size
)
2021 char* cptr
; size_t csize
;
2022 if (SWIG_AsCharPtrAndSize(obj
, &cptr
, &csize
)) {
2025 char x[5] = "hello";
2027 ie, assing the array using an extra '0' char.
2029 if ((csize
== size
+ 1) && !(cptr
[csize
-1])) --csize
;
2030 if (csize
<= size
) {
2032 if (csize
) memcpy(val
, cptr
, csize
);
2033 if (csize
< size
) memset(val
+ csize
, 0, size
- csize
);
2039 PyErr_Format(PyExc_TypeError
,
2040 "a char array of maximum size %lu is expected",
2041 (unsigned long) size
);
2048 SWIG_AsVal_char(PyObject
*obj
, char *val
)
2050 const char* errmsg
= val
? "char" : (char*)0;
2052 if (SWIG_AsVal_long(obj
, &v
)) {
2053 if (SWIG_CheckLongInRange(v
, CHAR_MIN
,CHAR_MAX
, errmsg
)) {
2054 if (val
) *val
= (char)(v
);
2061 return SWIG_AsCharArray(obj
, val
, 1);
2066 SWIGINTERNSHORT
char
2067 SWIG_As_char(PyObject
* obj
)
2070 if (!SWIG_AsVal_char(obj
, &v
)) {
2072 this is needed to make valgrind/purify happier.
2074 memset((void*)&v
, 0, sizeof(char));
2081 SWIG_Check_char(PyObject
* obj
)
2083 return SWIG_AsVal_char(obj
, (char*)0);
2087 /*@/opt/swig/share/swig/1.3.24/python/pymacros.swg,66,SWIG_define@*/
2088 #define SWIG_From_long PyInt_FromLong
2091 static void wxOutputStream_write(wxOutputStream
*self
,PyObject
*obj
){
2092 // We use only strings for the streams, not unicode
2093 PyObject
* str
= PyObject_Str(obj
);
2095 PyErr_SetString(PyExc_TypeError
, "Unable to convert to string");
2098 self
->Write(PyString_AS_STRING(str
),
2099 PyString_GET_SIZE(str
));
2103 #include "wx/wxPython/pyistream.h"
2106 class wxPyFileSystemHandler
: public wxFileSystemHandler
2109 wxPyFileSystemHandler() : wxFileSystemHandler() {}
2111 DEC_PYCALLBACK_BOOL_STRING_pure(CanOpen
);
2112 DEC_PYCALLBACK_FSF_FSSTRING_pure(OpenFile
);
2113 DEC_PYCALLBACK_STRING_STRINGINT_pure(FindFirst
);
2114 DEC_PYCALLBACK_STRING__pure(FindNext
);
2116 wxString
GetProtocol(const wxString
& location
) {
2117 return wxFileSystemHandler::GetProtocol(location
);
2120 wxString
GetLeftLocation(const wxString
& location
) {
2121 return wxFileSystemHandler::GetLeftLocation(location
);
2124 wxString
GetAnchor(const wxString
& location
) {
2125 return wxFileSystemHandler::GetAnchor(location
);
2128 wxString
GetRightLocation(const wxString
& location
) {
2129 return wxFileSystemHandler::GetRightLocation(location
);
2132 wxString
GetMimeTypeFromExt(const wxString
& location
) {
2133 return wxFileSystemHandler::GetMimeTypeFromExt(location
);
2140 IMP_PYCALLBACK_BOOL_STRING_pure(wxPyFileSystemHandler
, wxFileSystemHandler
, CanOpen
);
2141 IMP_PYCALLBACK_FSF_FSSTRING_pure(wxPyFileSystemHandler
, wxFileSystemHandler
, OpenFile
);
2142 IMP_PYCALLBACK_STRING_STRINGINT_pure(wxPyFileSystemHandler
, wxFileSystemHandler
, FindFirst
);
2143 IMP_PYCALLBACK_STRING__pure(wxPyFileSystemHandler
, wxFileSystemHandler
, FindNext
);
2147 SWIG_AsVal_bool(PyObject
*obj
, bool *val
)
2149 if (obj
== Py_True
) {
2150 if (val
) *val
= true;
2153 if (obj
== Py_False
) {
2154 if (val
) *val
= false;
2158 if (SWIG_AsVal_int(obj
, &res
)) {
2159 if (val
) *val
= res
? true : false;
2165 SWIG_type_error("bool", obj
);
2171 SWIGINTERNSHORT
bool
2172 SWIG_As_bool(PyObject
* obj
)
2175 if (!SWIG_AsVal_bool(obj
, &v
)) {
2177 this is needed to make valgrind/purify happier.
2179 memset((void*)&v
, 0, sizeof(bool));
2186 SWIG_Check_bool(PyObject
* obj
)
2188 return SWIG_AsVal_bool(obj
, (bool*)0);
2191 static wxString
FileSystem_URLToFileName(wxString
const &url
){
2192 wxFileName fname
= wxFileSystem::URLToFileName(url
);
2193 return fname
.GetFullPath();
2196 void __wxMemoryFSHandler_AddFile_wxImage(const wxString
& filename
,
2199 wxMemoryFSHandler::AddFile(filename
, image
, type
);
2202 void __wxMemoryFSHandler_AddFile_wxBitmap(const wxString
& filename
,
2203 const wxBitmap
& bitmap
,
2205 wxMemoryFSHandler::AddFile(filename
, bitmap
, type
);
2208 void __wxMemoryFSHandler_AddFile_Data(const wxString
& filename
,
2210 if (! PyString_Check(data
)) {
2211 wxPyBLOCK_THREADS(PyErr_SetString(PyExc_TypeError
,
2212 "Expected string object"));
2216 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2217 void* ptr
= (void*)PyString_AsString(data
);
2218 size_t size
= PyString_Size(data
);
2219 wxPyEndBlockThreads(blocked
);
2221 wxMemoryFSHandler::AddFile(filename
, ptr
, size
);
2225 #include "wx/wxPython/pyistream.h"
2229 SWIG_AsVal_unsigned_SS_long(PyObject
* obj
, unsigned long* val
)
2232 if (SWIG_AsVal_long(obj
, &v
) && v
< 0) {
2233 SWIG_type_error("unsigned number", obj
);
2236 *val
= (unsigned long)v
;
2242 SWIG_CheckUnsignedLongInRange(unsigned long value
,
2243 unsigned long max_value
,
2246 if (value
> max_value
) {
2248 PyErr_Format(PyExc_OverflowError
,
2249 "value %lu is greater than '%s' minimum %lu",
2250 value
, errmsg
, max_value
);
2259 SWIG_AsVal_unsigned_SS_char(PyObject
*obj
, unsigned char *val
)
2261 const char* errmsg
= val
? "unsigned char" : (char*)0;
2263 if (SWIG_AsVal_unsigned_SS_long(obj
, &v
)) {
2264 if (SWIG_CheckUnsignedLongInRange(v
, UCHAR_MAX
,errmsg
)) {
2265 if (val
) *val
= (unsigned char)(v
);
2274 SWIG_type_error(errmsg
, obj
);
2280 SWIGINTERNSHORT
unsigned char
2281 SWIG_As_unsigned_SS_char(PyObject
* obj
)
2284 if (!SWIG_AsVal_unsigned_SS_char(obj
, &v
)) {
2286 this is needed to make valgrind/purify happier.
2288 memset((void*)&v
, 0, sizeof(unsigned char));
2295 SWIG_Check_unsigned_SS_char(PyObject
* obj
)
2297 return SWIG_AsVal_unsigned_SS_char(obj
, (unsigned char*)0);
2301 /*@/opt/swig/share/swig/1.3.24/python/pymacros.swg,66,SWIG_define@*/
2302 #define SWIG_From_unsigned_SS_char PyInt_FromLong
2307 SWIGINTERNSHORT
unsigned long
2308 SWIG_As_unsigned_SS_long(PyObject
* obj
)
2311 if (!SWIG_AsVal_unsigned_SS_long(obj
, &v
)) {
2313 this is needed to make valgrind/purify happier.
2315 memset((void*)&v
, 0, sizeof(unsigned long));
2322 SWIG_Check_unsigned_SS_long(PyObject
* obj
)
2324 return SWIG_AsVal_unsigned_SS_long(obj
, (unsigned long*)0);
2327 static unsigned long wxImageHistogram_GetCount(wxImageHistogram
*self
,unsigned long key
){
2328 wxImageHistogramEntry e
= (*self
)[key
];
2331 static unsigned long wxImageHistogram_GetCountRGB(wxImageHistogram
*self
,byte r
,byte g
,byte b
){
2332 unsigned long key
= wxImageHistogram::MakeKey(r
, g
, b
);
2333 wxImageHistogramEntry e
= (*self
)[key
];
2336 static unsigned long wxImageHistogram_GetCountColour(wxImageHistogram
*self
,wxColour
const &colour
){
2337 unsigned long key
= wxImageHistogram::MakeKey(colour
.Red(),
2340 wxImageHistogramEntry e
= (*self
)[key
];
2344 typedef unsigned char* buffer
;
2346 static wxImage
*new_wxImage(int width
=0,int height
=0,bool clear
=true){
2347 if (width
> 0 && height
> 0)
2348 return new wxImage(width
, height
, clear
);
2352 static wxImage
*new_wxImage(wxBitmap
const &bitmap
){
2353 return new wxImage(bitmap
.ConvertToImage());
2355 static wxImage
*new_wxImage(int width
,int height
,buffer data
,int DATASIZE
){
2356 if (DATASIZE
!= width
*height
*3) {
2357 wxPyErr_SetString(PyExc_ValueError
, "Invalid data buffer size.");
2361 // Copy the source data so the wxImage can clean it up later
2362 buffer copy
= (buffer
)malloc(DATASIZE
);
2364 wxPyBLOCK_THREADS(PyErr_NoMemory());
2367 memcpy(copy
, data
, DATASIZE
);
2368 return new wxImage(width
, height
, copy
, false);
2370 static wxImage
*new_wxImage(int width
,int height
,buffer data
,int DATASIZE
,buffer alpha
,int ALPHASIZE
){
2371 if (DATASIZE
!= width
*height
*3) {
2372 wxPyErr_SetString(PyExc_ValueError
, "Invalid data buffer size.");
2375 if (ALPHASIZE
!= width
*height
) {
2376 wxPyErr_SetString(PyExc_ValueError
, "Invalid alpha buffer size.");
2380 // Copy the source data so the wxImage can clean it up later
2381 buffer dcopy
= (buffer
)malloc(DATASIZE
);
2382 if (dcopy
== NULL
) {
2383 wxPyBLOCK_THREADS(PyErr_NoMemory());
2386 memcpy(dcopy
, data
, DATASIZE
);
2388 buffer acopy
= (buffer
)malloc(ALPHASIZE
);
2389 if (acopy
== NULL
) {
2390 wxPyBLOCK_THREADS(PyErr_NoMemory());
2393 memcpy(acopy
, alpha
, ALPHASIZE
);
2395 return new wxImage(width
, height
, dcopy
, acopy
, false);
2397 static wxSize
wxImage_GetSize(wxImage
*self
){
2398 wxSize
size(self
->GetWidth(), self
->GetHeight());
2401 static PyObject
*wxImage_GetData(wxImage
*self
){
2402 buffer data
= self
->GetData();
2403 int len
= self
->GetWidth() * self
->GetHeight() * 3;
2405 wxPyBLOCK_THREADS( rv
= PyString_FromStringAndSize((char*)data
, len
));
2408 static void wxImage_SetData(wxImage
*self
,buffer data
,int DATASIZE
){
2409 if (DATASIZE
!= self
->GetWidth() * self
->GetHeight() * 3) {
2410 wxPyErr_SetString(PyExc_ValueError
, "Invalid data buffer size.");
2413 buffer copy
= (buffer
)malloc(DATASIZE
);
2415 wxPyBLOCK_THREADS(PyErr_NoMemory());
2418 memcpy(copy
, data
, DATASIZE
);
2419 self
->SetData(copy
, false);
2420 // wxImage takes ownership of copy...
2422 static PyObject
*wxImage_GetDataBuffer(wxImage
*self
){
2423 buffer data
= self
->GetData();
2424 int len
= self
->GetWidth() * self
->GetHeight() * 3;
2426 wxPyBLOCK_THREADS( rv
= PyBuffer_FromReadWriteMemory(data
, len
) );
2429 static void wxImage_SetDataBuffer(wxImage
*self
,buffer data
,int DATASIZE
){
2430 if (DATASIZE
!= self
->GetWidth() * self
->GetHeight() * 3) {
2431 wxPyErr_SetString(PyExc_ValueError
, "Invalid data buffer size.");
2434 self
->SetData(data
, true);
2436 static PyObject
*wxImage_GetAlphaData(wxImage
*self
){
2437 buffer data
= self
->GetAlpha();
2441 int len
= self
->GetWidth() * self
->GetHeight();
2443 wxPyBLOCK_THREADS( rv
= PyString_FromStringAndSize((char*)data
, len
) );
2447 static void wxImage_SetAlphaData(wxImage
*self
,buffer alpha
,int ALPHASIZE
){
2448 if (ALPHASIZE
!= self
->GetWidth() * self
->GetHeight()) {
2449 wxPyErr_SetString(PyExc_ValueError
, "Invalid alpha buffer size.");
2452 buffer acopy
= (buffer
)malloc(ALPHASIZE
);
2453 if (acopy
== NULL
) {
2454 wxPyBLOCK_THREADS(PyErr_NoMemory());
2457 memcpy(acopy
, alpha
, ALPHASIZE
);
2458 self
->SetAlpha(acopy
, false);
2459 // wxImage takes ownership of acopy...
2461 static PyObject
*wxImage_GetAlphaBuffer(wxImage
*self
){
2462 buffer data
= self
->GetAlpha();
2463 int len
= self
->GetWidth() * self
->GetHeight();
2465 wxPyBLOCK_THREADS( rv
= PyBuffer_FromReadWriteMemory(data
, len
) );
2468 static void wxImage_SetAlphaBuffer(wxImage
*self
,buffer alpha
,int ALPHASIZE
){
2469 if (ALPHASIZE
!= self
->GetWidth() * self
->GetHeight()) {
2470 wxPyErr_SetString(PyExc_ValueError
, "Invalid alpha buffer size.");
2473 self
->SetAlpha(alpha
, true);
2475 static wxBitmap
wxImage_ConvertToBitmap(wxImage
*self
,int depth
=-1){
2476 wxBitmap
bitmap(*self
, depth
);
2479 static wxBitmap
wxImage_ConvertToMonoBitmap(wxImage
*self
,byte red
,byte green
,byte blue
){
2480 wxImage mono
= self
->ConvertToMono( red
, green
, blue
);
2481 wxBitmap
bitmap( mono
, 1 );
2484 static const wxString
wxPyIMAGE_OPTION_FILENAME(wxIMAGE_OPTION_FILENAME
);
2485 static const wxString
wxPyIMAGE_OPTION_BMP_FORMAT(wxIMAGE_OPTION_BMP_FORMAT
);
2486 static const wxString
wxPyIMAGE_OPTION_CUR_HOTSPOT_X(wxIMAGE_OPTION_CUR_HOTSPOT_X
);
2487 static const wxString
wxPyIMAGE_OPTION_CUR_HOTSPOT_Y(wxIMAGE_OPTION_CUR_HOTSPOT_Y
);
2488 static const wxString
wxPyIMAGE_OPTION_RESOLUTION(wxIMAGE_OPTION_RESOLUTION
);
2489 static const wxString
wxPyIMAGE_OPTION_RESOLUTIONX(wxIMAGE_OPTION_RESOLUTIONX
);
2490 static const wxString
wxPyIMAGE_OPTION_RESOLUTIONY(wxIMAGE_OPTION_RESOLUTIONY
);
2491 static const wxString
wxPyIMAGE_OPTION_RESOLUTIONUNIT(wxIMAGE_OPTION_RESOLUTIONUNIT
);
2492 static const wxString
wxPyIMAGE_OPTION_QUALITY(wxIMAGE_OPTION_QUALITY
);
2493 static const wxString
wxPyIMAGE_OPTION_BITSPERSAMPLE(wxIMAGE_OPTION_BITSPERSAMPLE
);
2494 static const wxString
wxPyIMAGE_OPTION_SAMPLESPERPIXEL(wxIMAGE_OPTION_SAMPLESPERPIXEL
);
2495 static const wxString
wxPyIMAGE_OPTION_COMPRESSION(wxIMAGE_OPTION_COMPRESSION
);
2496 static const wxString
wxPyIMAGE_OPTION_IMAGEDESCRIPTOR(wxIMAGE_OPTION_IMAGEDESCRIPTOR
);
2497 static const wxString
wxPyIMAGE_OPTION_PNG_FORMAT(wxIMAGE_OPTION_PNG_FORMAT
);
2498 static const wxString
wxPyIMAGE_OPTION_PNG_BITDEPTH(wxIMAGE_OPTION_PNG_BITDEPTH
);
2500 #include <wx/quantize.h>
2502 static bool Quantize_Quantize(wxImage
const &src
,wxImage
&dest
,int desiredNoColours
=236,int flags
=wxQUANTIZE_INCLUDE_WINDOWS_COLOURS
|wxQUANTIZE_FILL_DESTINATION_IMAGE
){
2503 return wxQuantize::Quantize(src
, dest
,
2506 NULL
, // eightBitData
2509 static void wxEvtHandler_Connect(wxEvtHandler
*self
,int id
,int lastId
,int eventType
,PyObject
*func
){
2510 if (PyCallable_Check(func
)) {
2511 self
->Connect(id
, lastId
, eventType
,
2512 (wxObjectEventFunction
) &wxPyCallback::EventThunker
,
2513 new wxPyCallback(func
));
2515 else if (func
== Py_None
) {
2516 self
->Disconnect(id
, lastId
, eventType
,
2517 (wxObjectEventFunction
)
2518 &wxPyCallback::EventThunker
);
2522 PyErr_SetString(PyExc_TypeError
, "Expected callable object or None."));
2525 static bool wxEvtHandler_Disconnect(wxEvtHandler
*self
,int id
,int lastId
=-1,wxEventType eventType
=wxEVT_NULL
){
2526 return self
->Disconnect(id
, lastId
, eventType
,
2527 (wxObjectEventFunction
)
2528 &wxPyCallback::EventThunker
);
2530 static void wxEvtHandler__setOORInfo(wxEvtHandler
*self
,PyObject
*_self
,bool incref
=true){
2531 if (_self
&& _self
!= Py_None
) {
2532 self
->SetClientObject(new wxPyOORClientData(_self
, incref
));
2535 wxPyOORClientData
* data
= (wxPyOORClientData
*)self
->GetClientObject();
2537 self
->SetClientObject(NULL
); // This will delete it too
2542 static int wxKeyEvent_GetUnicodeKey(wxKeyEvent
*self
){
2544 return self
->GetUnicodeKey();
2550 #if UINT_MAX < LONG_MAX
2551 /*@/opt/swig/share/swig/1.3.24/python/pymacros.swg,66,SWIG_define@*/
2552 #define SWIG_From_unsigned_SS_int SWIG_From_long
2555 /*@/opt/swig/share/swig/1.3.24/python/pymacros.swg,66,SWIG_define@*/
2556 #define SWIG_From_unsigned_SS_int SWIG_From_unsigned_SS_long
2561 #if UINT_MAX != ULONG_MAX
2563 SWIG_AsVal_unsigned_SS_int(PyObject
*obj
, unsigned int *val
)
2565 const char* errmsg
= val
? "unsigned int" : (char*)0;
2567 if (SWIG_AsVal_unsigned_SS_long(obj
, &v
)) {
2568 if (SWIG_CheckUnsignedLongInRange(v
, INT_MAX
, errmsg
)) {
2569 if (val
) *val
= (unsigned int)(v
);
2576 SWIG_type_error(errmsg
, obj
);
2581 SWIGINTERNSHORT
unsigned int
2582 SWIG_AsVal_unsigned_SS_int(PyObject
*obj
, unsigned int *val
)
2584 return SWIG_AsVal_unsigned_SS_long(obj
,(unsigned long *)val
);
2589 SWIGINTERNSHORT
unsigned int
2590 SWIG_As_unsigned_SS_int(PyObject
* obj
)
2593 if (!SWIG_AsVal_unsigned_SS_int(obj
, &v
)) {
2595 this is needed to make valgrind/purify happier.
2597 memset((void*)&v
, 0, sizeof(unsigned int));
2604 SWIG_Check_unsigned_SS_int(PyObject
* obj
)
2606 return SWIG_AsVal_unsigned_SS_int(obj
, (unsigned int*)0);
2609 static void wxSizeEvent_SetSize(wxSizeEvent
*self
,wxSize size
){
2610 self
->m_size
= size
;
2612 static PyObject
*wxDropFilesEvent_GetFiles(wxDropFilesEvent
*self
){
2613 int count
= self
->GetNumberOfFiles();
2614 wxString
* files
= self
->GetFiles();
2615 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2616 PyObject
* list
= PyList_New(count
);
2619 PyErr_SetString(PyExc_MemoryError
, "Can't allocate list of files!");
2620 wxPyEndBlockThreads(blocked
);
2624 for (int i
=0; i
<count
; i
++) {
2625 PyList_SetItem(list
, i
, wx2PyString(files
[i
]));
2627 wxPyEndBlockThreads(blocked
);
2632 static wxPyApp
*new_wxPyApp(){
2633 wxPythonApp
= new wxPyApp();
2636 static int PyApp_GetComCtl32Version(){ wxPyRaiseNotImplemented(); return 0; }
2638 void wxApp_CleanUp() {
2643 wxPyApp
* wxPyGetApp() { return (wxPyApp
*)wxTheApp
; }
2647 SWIG_AsCharPtr(PyObject
*obj
, char **val
)
2649 if (SWIG_AsCharPtrAndSize(obj
, val
, (size_t*)(0))) {
2654 SWIG_type_error("char *", obj
);
2660 SWIGINTERN PyObject
*
2661 SWIG_FromCharPtr(const char* cptr
)
2664 size_t size
= strlen(cptr
);
2665 if (size
> INT_MAX
) {
2666 return SWIG_NewPointerObj((char*)(cptr
),
2667 SWIG_TypeQuery("char *"), 0);
2670 return PyString_FromStringAndSize(cptr
, size
);
2672 return PyString_FromString(cptr
);
2683 // A dummy class that raises an exception if used...
2687 wxEventLoop() { wxPyRaiseNotImplemented(); }
2688 int Run() { return 0; }
2689 void Exit(int rc
= 0) {}
2690 bool Pending() const { return false; }
2691 bool Dispatch() { return false; }
2692 bool IsRunning() const { return false; }
2693 static wxEventLoop
*GetActive() { wxPyRaiseNotImplemented(); return NULL
; }
2694 static void SetActive(wxEventLoop
* loop
) { wxPyRaiseNotImplemented(); }
2699 #include <wx/evtloop.h>
2705 static const wxString
wxPyPanelNameStr(wxPanelNameStr
);
2706 static wxVisualAttributes
*new_wxVisualAttributes(){ return new wxVisualAttributes
; }
2707 static void delete_wxVisualAttributes(wxVisualAttributes
*self
){ delete self
; }
2708 static PyObject
*wxWindow_GetChildren(wxWindow
*self
){
2709 wxWindowList
& list
= self
->GetChildren();
2710 return wxPy_ConvertList(&list
);
2712 static bool wxWindow_RegisterHotKey(wxWindow
*self
,int hotkeyId
,int modifiers
,int keycode
){
2714 return self
->RegisterHotKey(hotkeyId
, modifiers
, keycode
);
2719 static bool wxWindow_UnregisterHotKey(wxWindow
*self
,int hotkeyId
){
2726 static long wxWindow_GetHandle(wxWindow
*self
){
2727 return wxPyGetWinHandle(self
);
2729 static void wxWindow_AssociateHandle(wxWindow
*self
,long handle
){
2730 self
->AssociateHandle((WXWidget
)handle
);
2732 static void wxWindow_DragAcceptFiles(wxWindow
*self
,bool accept
){}
2734 wxWindow
* wxFindWindowById( long id
, const wxWindow
*parent
= NULL
) {
2735 return wxWindow::FindWindowById(id
, parent
);
2738 wxWindow
* wxFindWindowByName( const wxString
& name
,
2739 const wxWindow
*parent
= NULL
) {
2740 return wxWindow::FindWindowByName(name
, parent
);
2743 wxWindow
* wxFindWindowByLabel( const wxString
& label
,
2744 const wxWindow
*parent
= NULL
) {
2745 return wxWindow::FindWindowByLabel(label
, parent
);
2750 #include <wx/msw/private.h> // to get wxGetWindowId
2754 wxWindow
* wxWindow_FromHWND(wxWindow
* parent
, unsigned long _hWnd
) {
2756 WXHWND hWnd
= (WXHWND
)_hWnd
;
2757 long id
= wxGetWindowId(hWnd
);
2758 wxWindow
* win
= new wxWindow
;
2759 parent
->AddChild(win
);
2760 win
->SetEventHandler(win
);
2763 win
->SubclassWin(hWnd
);
2764 win
->AdoptAttributesFromHWND();
2765 win
->SetupColours();
2768 wxPyRaiseNotImplemented();
2774 PyObject
* GetTopLevelWindows() {
2775 return wxPy_ConvertList(&wxTopLevelWindows
);
2779 IMP_PYCALLBACK_BOOL_WXWIN(wxPyValidator
, wxValidator
, Validate
);
2780 IMP_PYCALLBACK_BOOL_(wxPyValidator
, wxValidator
, TransferToWindow
);
2781 IMP_PYCALLBACK_BOOL_(wxPyValidator
, wxValidator
, TransferFromWindow
);
2783 IMPLEMENT_DYNAMIC_CLASS(wxPyValidator
, wxValidator
);
2785 static void wxMenu_Destroy(wxMenu
*self
){ delete self
; }
2786 static PyObject
*wxMenu_GetMenuItems(wxMenu
*self
){
2787 wxMenuItemList
& list
= self
->GetMenuItems();
2788 return wxPy_ConvertList(&list
);
2790 static void wxMenuItem_SetFont(wxMenuItem
*self
,wxFont
const &font
){}
2791 static wxFont
wxMenuItem_GetFont(wxMenuItem
*self
){ return wxNullFont
; }
2792 static void wxMenuItem_SetTextColour(wxMenuItem
*self
,wxColour
const &colText
){}
2793 static wxColour
wxMenuItem_GetTextColour(wxMenuItem
*self
){ return wxNullColour
; }
2794 static void wxMenuItem_SetBackgroundColour(wxMenuItem
*self
,wxColour
const &colBack
){}
2795 static wxColour
wxMenuItem_GetBackgroundColour(wxMenuItem
*self
){ return wxNullColour
; }
2796 static void wxMenuItem_SetBitmaps(wxMenuItem
*self
,wxBitmap
const &bmpChecked
,wxBitmap
const &bmpUnchecked
=wxNullBitmap
){}
2797 static void wxMenuItem_SetDisabledBitmap(wxMenuItem
*self
,wxBitmap
const &bmpDisabled
){}
2798 static wxBitmap
const &wxMenuItem_GetDisabledBitmap(wxMenuItem
const *self
){ return wxNullBitmap
; }
2799 static void wxMenuItem_SetMarginWidth(wxMenuItem
*self
,int nWidth
){}
2800 static int wxMenuItem_GetMarginWidth(wxMenuItem
*self
){ return 0; }
2801 static int MenuItem_GetDefaultMarginWidth(){ return 0; }
2802 static bool wxMenuItem_IsOwnerDrawn(wxMenuItem
*self
){ return false; }
2803 static void wxMenuItem_SetOwnerDrawn(wxMenuItem
*self
,bool ownerDrawn
=true){}
2804 static void wxMenuItem_ResetOwnerDrawn(wxMenuItem
*self
){}
2805 static const wxString
wxPyControlNameStr(wxControlNameStr
);
2806 static int wxItemContainer_Append(wxItemContainer
*self
,wxString
const &item
,PyObject
*clientData
=NULL
){
2808 wxPyClientData
* data
= new wxPyClientData(clientData
);
2809 return self
->Append(item
, data
);
2811 return self
->Append(item
);
2813 static int wxItemContainer_Insert(wxItemContainer
*self
,wxString
const &item
,int pos
,PyObject
*clientData
=NULL
){
2815 wxPyClientData
* data
= new wxPyClientData(clientData
);
2816 return self
->Insert(item
, pos
, data
);
2818 return self
->Insert(item
, pos
);
2820 static PyObject
*wxItemContainer_GetClientData(wxItemContainer
*self
,int n
){
2821 wxPyClientData
* data
= (wxPyClientData
*)self
->GetClientObject(n
);
2823 Py_INCREF(data
->m_obj
);
2830 static void wxItemContainer_SetClientData(wxItemContainer
*self
,int n
,PyObject
*clientData
){
2831 wxPyClientData
* data
= new wxPyClientData(clientData
);
2832 self
->SetClientObject(n
, data
);
2836 static wxSizerItem
*new_wxSizerItem(wxWindow
*window
,int proportion
,int flag
,int border
,PyObject
*userData
=NULL
){
2837 wxPyUserData
* data
= NULL
;
2839 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2840 data
= new wxPyUserData(userData
);
2841 wxPyEndBlockThreads(blocked
);
2843 return new wxSizerItem(window
, proportion
, flag
, border
, data
);
2845 static wxSizerItem
*new_wxSizerItem(int width
,int height
,int proportion
,int flag
,int border
,PyObject
*userData
=NULL
){
2846 wxPyUserData
* data
= NULL
;
2848 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2849 data
= new wxPyUserData(userData
);
2850 wxPyEndBlockThreads(blocked
);
2852 return new wxSizerItem(width
, height
, proportion
, flag
, border
, data
);
2854 static wxSizerItem
*new_wxSizerItem(wxSizer
*sizer
,int proportion
,int flag
,int border
,PyObject
*userData
=NULL
){
2855 wxPyUserData
* data
= NULL
;
2857 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2858 data
= new wxPyUserData(userData
);
2859 wxPyEndBlockThreads(blocked
);
2861 return new wxSizerItem(sizer
, proportion
, flag
, border
, data
);
2866 SWIG_CheckDoubleInRange(double value
, double min_value
,
2867 double max_value
, const char* errmsg
)
2869 if (value
< min_value
) {
2871 PyErr_Format(PyExc_OverflowError
,
2872 "value %g is less than %s minimum %g",
2873 value
, errmsg
, min_value
);
2876 } else if (value
> max_value
) {
2878 PyErr_Format(PyExc_OverflowError
,
2879 "value %g is greater than %s maximum %g",
2880 value
, errmsg
, max_value
);
2889 SWIG_AsVal_float(PyObject
*obj
, float *val
)
2891 const char* errmsg
= val
? "float" : (char*)0;
2893 if (SWIG_AsVal_double(obj
, &v
)) {
2894 if (SWIG_CheckDoubleInRange(v
, -FLT_MAX
, FLT_MAX
, errmsg
)) {
2895 if (val
) *val
= (float)(v
);
2904 SWIG_type_error(errmsg
, obj
);
2910 SWIGINTERNSHORT
float
2911 SWIG_As_float(PyObject
* obj
)
2914 if (!SWIG_AsVal_float(obj
, &v
)) {
2916 this is needed to make valgrind/purify happier.
2918 memset((void*)&v
, 0, sizeof(float));
2925 SWIG_Check_float(PyObject
* obj
)
2927 return SWIG_AsVal_float(obj
, (float*)0);
2931 /*@/opt/swig/share/swig/1.3.24/python/pymacros.swg,66,SWIG_define@*/
2932 #define SWIG_From_float PyFloat_FromDouble
2935 static PyObject
*wxSizerItem_GetUserData(wxSizerItem
*self
){
2936 wxPyUserData
* data
= (wxPyUserData
*)self
->GetUserData();
2938 Py_INCREF(data
->m_obj
);
2946 // Figure out the type of the sizer item
2948 struct wxPySizerItemInfo
{
2950 : window(NULL
), sizer(NULL
), gotSize(false),
2951 size(wxDefaultSize
), gotPos(false), pos(-1)
2962 static wxPySizerItemInfo
wxPySizerItemTypeHelper(PyObject
* item
, bool checkSize
, bool checkIdx
) {
2964 wxPySizerItemInfo info
;
2966 wxSize
* sizePtr
= &size
;
2968 // Find out what the type of the item is
2970 if ( ! wxPyConvertSwigPtr(item
, (void**)&info
.window
, wxT("wxWindow")) ) {
2975 if ( ! wxPyConvertSwigPtr(item
, (void**)&info
.sizer
, wxT("wxSizer")) ) {
2979 // try wxSize or (w,h)
2980 if ( checkSize
&& wxSize_helper(item
, &sizePtr
)) {
2981 info
.size
= *sizePtr
;
2982 info
.gotSize
= true;
2986 if (checkIdx
&& PyInt_Check(item
)) {
2987 info
.pos
= PyInt_AsLong(item
);
2993 if ( !(info
.window
|| info
.sizer
|| (checkSize
&& info
.gotSize
) || (checkIdx
&& info
.gotPos
)) ) {
2994 // no expected type, figure out what kind of error message to generate
2995 if ( !checkSize
&& !checkIdx
)
2996 PyErr_SetString(PyExc_TypeError
, "wxWindow or wxSizer expected for item");
2997 else if ( checkSize
&& !checkIdx
)
2998 PyErr_SetString(PyExc_TypeError
, "wxWindow, wxSizer, wxSize, or (w,h) expected for item");
2999 else if ( !checkSize
&& checkIdx
)
3000 PyErr_SetString(PyExc_TypeError
, "wxWindow, wxSizer or int (position) expected for item");
3002 // can this one happen?
3003 PyErr_SetString(PyExc_TypeError
, "wxWindow, wxSizer, wxSize, or (w,h) or int (position) expected for item");
3009 static void wxSizer__setOORInfo(wxSizer
*self
,PyObject
*_self
){
3010 if (!self
->GetClientObject())
3011 self
->SetClientObject(new wxPyOORClientData(_self
));
3013 static wxSizerItem
*wxSizer_Add(wxSizer
*self
,PyObject
*item
,int proportion
=0,int flag
=0,int border
=0,PyObject
*userData
=NULL
){
3015 wxPyUserData
* data
= NULL
;
3016 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3017 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, true, false);
3018 if ( userData
&& (info
.window
|| info
.sizer
|| info
.gotSize
) )
3019 data
= new wxPyUserData(userData
);
3020 wxPyEndBlockThreads(blocked
);
3022 // Now call the real Add method if a valid item type was found
3024 return self
->Add(info
.window
, proportion
, flag
, border
, data
);
3025 else if ( info
.sizer
)
3026 return self
->Add(info
.sizer
, proportion
, flag
, border
, data
);
3027 else if (info
.gotSize
)
3028 return self
->Add(info
.size
.GetWidth(), info
.size
.GetHeight(),
3029 proportion
, flag
, border
, data
);
3033 static wxSizerItem
*wxSizer_Insert(wxSizer
*self
,int before
,PyObject
*item
,int proportion
=0,int flag
=0,int border
=0,PyObject
*userData
=NULL
){
3035 wxPyUserData
* data
= NULL
;
3036 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3037 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, true, false);
3038 if ( userData
&& (info
.window
|| info
.sizer
|| info
.gotSize
) )
3039 data
= new wxPyUserData(userData
);
3040 wxPyEndBlockThreads(blocked
);
3042 // Now call the real Insert method if a valid item type was found
3044 return self
->Insert(before
, info
.window
, proportion
, flag
, border
, data
);
3045 else if ( info
.sizer
)
3046 return self
->Insert(before
, info
.sizer
, proportion
, flag
, border
, data
);
3047 else if (info
.gotSize
)
3048 return self
->Insert(before
, info
.size
.GetWidth(), info
.size
.GetHeight(),
3049 proportion
, flag
, border
, data
);
3053 static wxSizerItem
*wxSizer_Prepend(wxSizer
*self
,PyObject
*item
,int proportion
=0,int flag
=0,int border
=0,PyObject
*userData
=NULL
){
3055 wxPyUserData
* data
= NULL
;
3056 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3057 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, true, false);
3058 if ( userData
&& (info
.window
|| info
.sizer
|| info
.gotSize
) )
3059 data
= new wxPyUserData(userData
);
3060 wxPyEndBlockThreads(blocked
);
3062 // Now call the real Prepend method if a valid item type was found
3064 return self
->Prepend(info
.window
, proportion
, flag
, border
, data
);
3065 else if ( info
.sizer
)
3066 return self
->Prepend(info
.sizer
, proportion
, flag
, border
, data
);
3067 else if (info
.gotSize
)
3068 return self
->Prepend(info
.size
.GetWidth(), info
.size
.GetHeight(),
3069 proportion
, flag
, border
, data
);
3073 static bool wxSizer_Remove(wxSizer
*self
,PyObject
*item
){
3074 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3075 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, false, true);
3076 wxPyEndBlockThreads(blocked
);
3078 return self
->Remove(info
.window
);
3079 else if ( info
.sizer
)
3080 return self
->Remove(info
.sizer
);
3081 else if ( info
.gotPos
)
3082 return self
->Remove(info
.pos
);
3086 static bool wxSizer_Detach(wxSizer
*self
,PyObject
*item
){
3087 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3088 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, false, true);
3089 wxPyEndBlockThreads(blocked
);
3091 return self
->Detach(info
.window
);
3092 else if ( info
.sizer
)
3093 return self
->Detach(info
.sizer
);
3094 else if ( info
.gotPos
)
3095 return self
->Detach(info
.pos
);
3099 static wxSizerItem
*wxSizer_GetItem(wxSizer
*self
,PyObject
*item
){
3100 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3101 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, false, true);
3102 wxPyEndBlockThreads(blocked
);
3104 return self
->GetItem(info
.window
);
3105 else if ( info
.sizer
)
3106 return self
->GetItem(info
.sizer
);
3107 else if ( info
.gotPos
)
3108 return self
->GetItem(info
.pos
);
3112 static void wxSizer__SetItemMinSize(wxSizer
*self
,PyObject
*item
,wxSize
const &size
){
3113 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3114 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, false, true);
3115 wxPyEndBlockThreads(blocked
);
3117 self
->SetItemMinSize(info
.window
, size
);
3118 else if ( info
.sizer
)
3119 self
->SetItemMinSize(info
.sizer
, size
);
3120 else if ( info
.gotPos
)
3121 self
->SetItemMinSize(info
.pos
, size
);
3123 static PyObject
*wxSizer_GetChildren(wxSizer
*self
){
3124 wxSizerItemList
& list
= self
->GetChildren();
3125 return wxPy_ConvertList(&list
);
3127 static bool wxSizer_Show(wxSizer
*self
,PyObject
*item
,bool show
=true,bool recursive
=false){
3128 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3129 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, false, true);
3130 wxPyEndBlockThreads(blocked
);
3132 return self
->Show(info
.window
, show
, recursive
);
3133 else if ( info
.sizer
)
3134 return self
->Show(info
.sizer
, show
, recursive
);
3135 else if ( info
.gotPos
)
3136 return self
->Show(info
.pos
, show
);
3140 static bool wxSizer_IsShown(wxSizer
*self
,PyObject
*item
){
3141 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3142 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, false, false);
3143 wxPyEndBlockThreads(blocked
);
3145 return self
->IsShown(info
.window
);
3146 else if ( info
.sizer
)
3147 return self
->IsShown(info
.sizer
);
3148 else if ( info
.gotPos
)
3149 return self
->IsShown(info
.pos
);
3155 IMP_PYCALLBACK___pure(wxPySizer
, wxSizer
, RecalcSizes
);
3156 IMP_PYCALLBACK_wxSize__pure(wxPySizer
, wxSizer
, CalcMin
);
3157 IMPLEMENT_DYNAMIC_CLASS(wxPySizer
, wxSizer
);
3162 bool wxGBPosition_helper(PyObject
* source
, wxGBPosition
** obj
)
3164 if (source
== Py_None
) {
3165 **obj
= wxGBPosition(-1,-1);
3168 return wxPyTwoIntItem_helper(source
, obj
, wxT("wxGBPosition"));
3171 bool wxGBSpan_helper(PyObject
* source
, wxGBSpan
** obj
)
3173 if (source
== Py_None
) {
3174 **obj
= wxGBSpan(-1,-1);
3177 return wxPyTwoIntItem_helper(source
, obj
, wxT("wxGBSpan"));
3181 static void wxGBPosition_Set(wxGBPosition
*self
,int row
=0,int col
=0){
3185 static PyObject
*wxGBPosition_Get(wxGBPosition
*self
){
3186 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3187 PyObject
* tup
= PyTuple_New(2);
3188 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(self
->GetRow()));
3189 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(self
->GetCol()));
3190 wxPyEndBlockThreads(blocked
);
3193 static void wxGBSpan_Set(wxGBSpan
*self
,int rowspan
=1,int colspan
=1){
3194 self
->SetRowspan(rowspan
);
3195 self
->SetColspan(colspan
);
3197 static PyObject
*wxGBSpan_Get(wxGBSpan
*self
){
3198 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3199 PyObject
* tup
= PyTuple_New(2);
3200 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(self
->GetRowspan()));
3201 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(self
->GetColspan()));
3202 wxPyEndBlockThreads(blocked
);
3205 static wxGBSizerItem
*new_wxGBSizerItem(wxWindow
*window
,wxGBPosition
const &pos
,wxGBSpan
const &span
,int flag
,int border
,PyObject
*userData
=NULL
){
3206 wxPyUserData
* data
= NULL
;
3208 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3209 data
= new wxPyUserData(userData
);
3210 wxPyEndBlockThreads(blocked
);
3212 return new wxGBSizerItem(window
, pos
, span
, flag
, border
, data
);
3214 static wxGBSizerItem
*new_wxGBSizerItem(wxSizer
*sizer
,wxGBPosition
const &pos
,wxGBSpan
const &span
,int flag
,int border
,PyObject
*userData
=NULL
){
3215 wxPyUserData
* data
= NULL
;
3217 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3218 data
= new wxPyUserData(userData
);
3219 wxPyEndBlockThreads(blocked
);
3221 return new wxGBSizerItem(sizer
, pos
, span
, flag
, border
, data
);
3223 static wxGBSizerItem
*new_wxGBSizerItem(int width
,int height
,wxGBPosition
const &pos
,wxGBSpan
const &span
,int flag
,int border
,PyObject
*userData
=NULL
){
3224 wxPyUserData
* data
= NULL
;
3226 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3227 data
= new wxPyUserData(userData
);
3228 wxPyEndBlockThreads(blocked
);
3230 return new wxGBSizerItem(width
, height
, pos
, span
, flag
, border
, data
);
3232 static wxGBPosition
wxGBSizerItem_GetEndPos(wxGBSizerItem
*self
){
3234 self
->GetEndPos(row
, col
);
3235 return wxGBPosition(row
, col
);
3237 static wxGBSizerItem
*wxGridBagSizer_Add(wxGridBagSizer
*self
,PyObject
*item
,wxGBPosition
const &pos
,wxGBSpan
const &span
=wxDefaultSpan
,int flag
=0,int border
=0,PyObject
*userData
=NULL
){
3239 wxPyUserData
* data
= NULL
;
3240 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3241 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, true, false);
3242 if ( userData
&& (info
.window
|| info
.sizer
|| info
.gotSize
) )
3243 data
= new wxPyUserData(userData
);
3244 wxPyEndBlockThreads(blocked
);
3246 // Now call the real Add method if a valid item type was found
3248 return (wxGBSizerItem
*)self
->Add(info
.window
, pos
, span
, flag
, border
, data
);
3249 else if ( info
.sizer
)
3250 return (wxGBSizerItem
*)self
->Add(info
.sizer
, pos
, span
, flag
, border
, data
);
3251 else if (info
.gotSize
)
3252 return (wxGBSizerItem
*)self
->Add(info
.size
.GetWidth(), info
.size
.GetHeight(),
3253 pos
, span
, flag
, border
, data
);
3261 static int _wrap_EmptyString_set(PyObject
*) {
3262 PyErr_SetString(PyExc_TypeError
,"Variable EmptyString is read-only.");
3267 static PyObject
*_wrap_EmptyString_get(void) {
3272 pyobj
= PyUnicode_FromWideChar((&wxPyEmptyString
)->c_str(), (&wxPyEmptyString
)->Len());
3274 pyobj
= PyString_FromStringAndSize((&wxPyEmptyString
)->c_str(), (&wxPyEmptyString
)->Len());
3281 static PyObject
*_wrap_Object_GetClassName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3282 PyObject
*resultobj
;
3283 wxObject
*arg1
= (wxObject
*) 0 ;
3285 PyObject
* obj0
= 0 ;
3287 (char *) "self", NULL
3290 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Object_GetClassName",kwnames
,&obj0
)) goto fail
;
3291 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxObject
, SWIG_POINTER_EXCEPTION
| 0);
3292 if (SWIG_arg_fail(1)) SWIG_fail
;
3294 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3295 result
= wxObject_GetClassName(arg1
);
3297 wxPyEndAllowThreads(__tstate
);
3298 if (PyErr_Occurred()) SWIG_fail
;
3302 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3304 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3313 static PyObject
*_wrap_Object_Destroy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3314 PyObject
*resultobj
;
3315 wxObject
*arg1
= (wxObject
*) 0 ;
3316 PyObject
* obj0
= 0 ;
3318 (char *) "self", NULL
3321 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Object_Destroy",kwnames
,&obj0
)) goto fail
;
3322 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxObject
, SWIG_POINTER_EXCEPTION
| 0);
3323 if (SWIG_arg_fail(1)) SWIG_fail
;
3325 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3326 wxObject_Destroy(arg1
);
3328 wxPyEndAllowThreads(__tstate
);
3329 if (PyErr_Occurred()) SWIG_fail
;
3331 Py_INCREF(Py_None
); resultobj
= Py_None
;
3338 static PyObject
* Object_swigregister(PyObject
*, PyObject
*args
) {
3340 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3341 SWIG_TypeClientData(SWIGTYPE_p_wxObject
, obj
);
3343 return Py_BuildValue((char *)"");
3345 static PyObject
*_wrap_Size_width_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3346 PyObject
*resultobj
;
3347 wxSize
*arg1
= (wxSize
*) 0 ;
3349 PyObject
* obj0
= 0 ;
3350 PyObject
* obj1
= 0 ;
3352 (char *) "self",(char *) "x", NULL
3355 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size_width_set",kwnames
,&obj0
,&obj1
)) goto fail
;
3356 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
| 0);
3357 if (SWIG_arg_fail(1)) SWIG_fail
;
3359 arg2
= (int)(SWIG_As_int(obj1
));
3360 if (SWIG_arg_fail(2)) SWIG_fail
;
3362 if (arg1
) (arg1
)->x
= arg2
;
3364 Py_INCREF(Py_None
); resultobj
= Py_None
;
3371 static PyObject
*_wrap_Size_width_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3372 PyObject
*resultobj
;
3373 wxSize
*arg1
= (wxSize
*) 0 ;
3375 PyObject
* obj0
= 0 ;
3377 (char *) "self", NULL
3380 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Size_width_get",kwnames
,&obj0
)) goto fail
;
3381 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
| 0);
3382 if (SWIG_arg_fail(1)) SWIG_fail
;
3383 result
= (int) ((arg1
)->x
);
3386 resultobj
= SWIG_From_int((int)(result
));
3394 static PyObject
*_wrap_Size_height_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3395 PyObject
*resultobj
;
3396 wxSize
*arg1
= (wxSize
*) 0 ;
3398 PyObject
* obj0
= 0 ;
3399 PyObject
* obj1
= 0 ;
3401 (char *) "self",(char *) "y", NULL
3404 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size_height_set",kwnames
,&obj0
,&obj1
)) goto fail
;
3405 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
| 0);
3406 if (SWIG_arg_fail(1)) SWIG_fail
;
3408 arg2
= (int)(SWIG_As_int(obj1
));
3409 if (SWIG_arg_fail(2)) SWIG_fail
;
3411 if (arg1
) (arg1
)->y
= arg2
;
3413 Py_INCREF(Py_None
); resultobj
= Py_None
;
3420 static PyObject
*_wrap_Size_height_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3421 PyObject
*resultobj
;
3422 wxSize
*arg1
= (wxSize
*) 0 ;
3424 PyObject
* obj0
= 0 ;
3426 (char *) "self", NULL
3429 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Size_height_get",kwnames
,&obj0
)) goto fail
;
3430 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
| 0);
3431 if (SWIG_arg_fail(1)) SWIG_fail
;
3432 result
= (int) ((arg1
)->y
);
3435 resultobj
= SWIG_From_int((int)(result
));
3443 static PyObject
*_wrap_new_Size(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3444 PyObject
*resultobj
;
3445 int arg1
= (int) 0 ;
3446 int arg2
= (int) 0 ;
3448 PyObject
* obj0
= 0 ;
3449 PyObject
* obj1
= 0 ;
3451 (char *) "w",(char *) "h", NULL
3454 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Size",kwnames
,&obj0
,&obj1
)) goto fail
;
3457 arg1
= (int)(SWIG_As_int(obj0
));
3458 if (SWIG_arg_fail(1)) SWIG_fail
;
3463 arg2
= (int)(SWIG_As_int(obj1
));
3464 if (SWIG_arg_fail(2)) SWIG_fail
;
3468 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3469 result
= (wxSize
*)new wxSize(arg1
,arg2
);
3471 wxPyEndAllowThreads(__tstate
);
3472 if (PyErr_Occurred()) SWIG_fail
;
3474 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSize
, 1);
3481 static PyObject
*_wrap_delete_Size(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3482 PyObject
*resultobj
;
3483 wxSize
*arg1
= (wxSize
*) 0 ;
3484 PyObject
* obj0
= 0 ;
3486 (char *) "self", NULL
3489 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Size",kwnames
,&obj0
)) goto fail
;
3490 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
| 0);
3491 if (SWIG_arg_fail(1)) SWIG_fail
;
3493 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3496 wxPyEndAllowThreads(__tstate
);
3497 if (PyErr_Occurred()) SWIG_fail
;
3499 Py_INCREF(Py_None
); resultobj
= Py_None
;
3506 static PyObject
*_wrap_Size___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3507 PyObject
*resultobj
;
3508 wxSize
*arg1
= (wxSize
*) 0 ;
3512 PyObject
* obj0
= 0 ;
3513 PyObject
* obj1
= 0 ;
3515 (char *) "self",(char *) "sz", NULL
3518 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
3519 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
| 0);
3520 if (SWIG_arg_fail(1)) SWIG_fail
;
3523 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
3526 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3527 result
= (bool)(arg1
)->operator ==((wxSize
const &)*arg2
);
3529 wxPyEndAllowThreads(__tstate
);
3530 if (PyErr_Occurred()) SWIG_fail
;
3533 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3541 static PyObject
*_wrap_Size___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3542 PyObject
*resultobj
;
3543 wxSize
*arg1
= (wxSize
*) 0 ;
3547 PyObject
* obj0
= 0 ;
3548 PyObject
* obj1
= 0 ;
3550 (char *) "self",(char *) "sz", NULL
3553 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
3554 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
| 0);
3555 if (SWIG_arg_fail(1)) SWIG_fail
;
3558 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
3561 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3562 result
= (bool)(arg1
)->operator !=((wxSize
const &)*arg2
);
3564 wxPyEndAllowThreads(__tstate
);
3565 if (PyErr_Occurred()) SWIG_fail
;
3568 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3576 static PyObject
*_wrap_Size___add__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3577 PyObject
*resultobj
;
3578 wxSize
*arg1
= (wxSize
*) 0 ;
3582 PyObject
* obj0
= 0 ;
3583 PyObject
* obj1
= 0 ;
3585 (char *) "self",(char *) "sz", NULL
3588 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size___add__",kwnames
,&obj0
,&obj1
)) goto fail
;
3589 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
| 0);
3590 if (SWIG_arg_fail(1)) SWIG_fail
;
3593 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
3596 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3597 result
= (arg1
)->operator +((wxSize
const &)*arg2
);
3599 wxPyEndAllowThreads(__tstate
);
3600 if (PyErr_Occurred()) SWIG_fail
;
3604 resultptr
= new wxSize((wxSize
&)(result
));
3605 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
3613 static PyObject
*_wrap_Size___sub__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3614 PyObject
*resultobj
;
3615 wxSize
*arg1
= (wxSize
*) 0 ;
3619 PyObject
* obj0
= 0 ;
3620 PyObject
* obj1
= 0 ;
3622 (char *) "self",(char *) "sz", NULL
3625 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size___sub__",kwnames
,&obj0
,&obj1
)) goto fail
;
3626 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
| 0);
3627 if (SWIG_arg_fail(1)) SWIG_fail
;
3630 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
3633 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3634 result
= (arg1
)->operator -((wxSize
const &)*arg2
);
3636 wxPyEndAllowThreads(__tstate
);
3637 if (PyErr_Occurred()) SWIG_fail
;
3641 resultptr
= new wxSize((wxSize
&)(result
));
3642 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
3650 static PyObject
*_wrap_Size_IncTo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3651 PyObject
*resultobj
;
3652 wxSize
*arg1
= (wxSize
*) 0 ;
3655 PyObject
* obj0
= 0 ;
3656 PyObject
* obj1
= 0 ;
3658 (char *) "self",(char *) "sz", NULL
3661 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size_IncTo",kwnames
,&obj0
,&obj1
)) goto fail
;
3662 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
| 0);
3663 if (SWIG_arg_fail(1)) SWIG_fail
;
3666 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
3669 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3670 (arg1
)->IncTo((wxSize
const &)*arg2
);
3672 wxPyEndAllowThreads(__tstate
);
3673 if (PyErr_Occurred()) SWIG_fail
;
3675 Py_INCREF(Py_None
); resultobj
= Py_None
;
3682 static PyObject
*_wrap_Size_DecTo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3683 PyObject
*resultobj
;
3684 wxSize
*arg1
= (wxSize
*) 0 ;
3687 PyObject
* obj0
= 0 ;
3688 PyObject
* obj1
= 0 ;
3690 (char *) "self",(char *) "sz", NULL
3693 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size_DecTo",kwnames
,&obj0
,&obj1
)) goto fail
;
3694 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
| 0);
3695 if (SWIG_arg_fail(1)) SWIG_fail
;
3698 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
3701 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3702 (arg1
)->DecTo((wxSize
const &)*arg2
);
3704 wxPyEndAllowThreads(__tstate
);
3705 if (PyErr_Occurred()) SWIG_fail
;
3707 Py_INCREF(Py_None
); resultobj
= Py_None
;
3714 static PyObject
*_wrap_Size_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3715 PyObject
*resultobj
;
3716 wxSize
*arg1
= (wxSize
*) 0 ;
3719 PyObject
* obj0
= 0 ;
3720 PyObject
* obj1
= 0 ;
3721 PyObject
* obj2
= 0 ;
3723 (char *) "self",(char *) "w",(char *) "h", NULL
3726 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Size_Set",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3727 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
| 0);
3728 if (SWIG_arg_fail(1)) SWIG_fail
;
3730 arg2
= (int)(SWIG_As_int(obj1
));
3731 if (SWIG_arg_fail(2)) SWIG_fail
;
3734 arg3
= (int)(SWIG_As_int(obj2
));
3735 if (SWIG_arg_fail(3)) SWIG_fail
;
3738 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3739 (arg1
)->Set(arg2
,arg3
);
3741 wxPyEndAllowThreads(__tstate
);
3742 if (PyErr_Occurred()) SWIG_fail
;
3744 Py_INCREF(Py_None
); resultobj
= Py_None
;
3751 static PyObject
*_wrap_Size_SetWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3752 PyObject
*resultobj
;
3753 wxSize
*arg1
= (wxSize
*) 0 ;
3755 PyObject
* obj0
= 0 ;
3756 PyObject
* obj1
= 0 ;
3758 (char *) "self",(char *) "w", NULL
3761 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size_SetWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
3762 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
| 0);
3763 if (SWIG_arg_fail(1)) SWIG_fail
;
3765 arg2
= (int)(SWIG_As_int(obj1
));
3766 if (SWIG_arg_fail(2)) SWIG_fail
;
3769 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3770 (arg1
)->SetWidth(arg2
);
3772 wxPyEndAllowThreads(__tstate
);
3773 if (PyErr_Occurred()) SWIG_fail
;
3775 Py_INCREF(Py_None
); resultobj
= Py_None
;
3782 static PyObject
*_wrap_Size_SetHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3783 PyObject
*resultobj
;
3784 wxSize
*arg1
= (wxSize
*) 0 ;
3786 PyObject
* obj0
= 0 ;
3787 PyObject
* obj1
= 0 ;
3789 (char *) "self",(char *) "h", NULL
3792 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size_SetHeight",kwnames
,&obj0
,&obj1
)) 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 arg2
= (int)(SWIG_As_int(obj1
));
3797 if (SWIG_arg_fail(2)) SWIG_fail
;
3800 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3801 (arg1
)->SetHeight(arg2
);
3803 wxPyEndAllowThreads(__tstate
);
3804 if (PyErr_Occurred()) SWIG_fail
;
3806 Py_INCREF(Py_None
); resultobj
= Py_None
;
3813 static PyObject
*_wrap_Size_GetWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3814 PyObject
*resultobj
;
3815 wxSize
*arg1
= (wxSize
*) 0 ;
3817 PyObject
* obj0
= 0 ;
3819 (char *) "self", NULL
3822 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Size_GetWidth",kwnames
,&obj0
)) goto fail
;
3823 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
| 0);
3824 if (SWIG_arg_fail(1)) SWIG_fail
;
3826 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3827 result
= (int)((wxSize
const *)arg1
)->GetWidth();
3829 wxPyEndAllowThreads(__tstate
);
3830 if (PyErr_Occurred()) SWIG_fail
;
3833 resultobj
= SWIG_From_int((int)(result
));
3841 static PyObject
*_wrap_Size_GetHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3842 PyObject
*resultobj
;
3843 wxSize
*arg1
= (wxSize
*) 0 ;
3845 PyObject
* obj0
= 0 ;
3847 (char *) "self", NULL
3850 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Size_GetHeight",kwnames
,&obj0
)) goto fail
;
3851 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
| 0);
3852 if (SWIG_arg_fail(1)) SWIG_fail
;
3854 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3855 result
= (int)((wxSize
const *)arg1
)->GetHeight();
3857 wxPyEndAllowThreads(__tstate
);
3858 if (PyErr_Occurred()) SWIG_fail
;
3861 resultobj
= SWIG_From_int((int)(result
));
3869 static PyObject
*_wrap_Size_IsFullySpecified(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3870 PyObject
*resultobj
;
3871 wxSize
*arg1
= (wxSize
*) 0 ;
3873 PyObject
* obj0
= 0 ;
3875 (char *) "self", NULL
3878 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Size_IsFullySpecified",kwnames
,&obj0
)) goto fail
;
3879 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
| 0);
3880 if (SWIG_arg_fail(1)) SWIG_fail
;
3882 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3883 result
= (bool)((wxSize
const *)arg1
)->IsFullySpecified();
3885 wxPyEndAllowThreads(__tstate
);
3886 if (PyErr_Occurred()) SWIG_fail
;
3889 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3897 static PyObject
*_wrap_Size_SetDefaults(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3898 PyObject
*resultobj
;
3899 wxSize
*arg1
= (wxSize
*) 0 ;
3902 PyObject
* obj0
= 0 ;
3903 PyObject
* obj1
= 0 ;
3905 (char *) "self",(char *) "size", NULL
3908 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size_SetDefaults",kwnames
,&obj0
,&obj1
)) goto fail
;
3909 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
| 0);
3910 if (SWIG_arg_fail(1)) SWIG_fail
;
3913 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
3916 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3917 (arg1
)->SetDefaults((wxSize
const &)*arg2
);
3919 wxPyEndAllowThreads(__tstate
);
3920 if (PyErr_Occurred()) SWIG_fail
;
3922 Py_INCREF(Py_None
); resultobj
= Py_None
;
3929 static PyObject
*_wrap_Size_Get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3930 PyObject
*resultobj
;
3931 wxSize
*arg1
= (wxSize
*) 0 ;
3933 PyObject
* obj0
= 0 ;
3935 (char *) "self", NULL
3938 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Size_Get",kwnames
,&obj0
)) goto fail
;
3939 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
| 0);
3940 if (SWIG_arg_fail(1)) SWIG_fail
;
3942 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3943 result
= (PyObject
*)wxSize_Get(arg1
);
3945 wxPyEndAllowThreads(__tstate
);
3946 if (PyErr_Occurred()) SWIG_fail
;
3955 static PyObject
* Size_swigregister(PyObject
*, PyObject
*args
) {
3957 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3958 SWIG_TypeClientData(SWIGTYPE_p_wxSize
, obj
);
3960 return Py_BuildValue((char *)"");
3962 static PyObject
*_wrap_RealPoint_x_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3963 PyObject
*resultobj
;
3964 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
3966 PyObject
* obj0
= 0 ;
3967 PyObject
* obj1
= 0 ;
3969 (char *) "self",(char *) "x", NULL
3972 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RealPoint_x_set",kwnames
,&obj0
,&obj1
)) goto fail
;
3973 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRealPoint
, SWIG_POINTER_EXCEPTION
| 0);
3974 if (SWIG_arg_fail(1)) SWIG_fail
;
3976 arg2
= (double)(SWIG_As_double(obj1
));
3977 if (SWIG_arg_fail(2)) SWIG_fail
;
3979 if (arg1
) (arg1
)->x
= arg2
;
3981 Py_INCREF(Py_None
); resultobj
= Py_None
;
3988 static PyObject
*_wrap_RealPoint_x_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3989 PyObject
*resultobj
;
3990 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
3992 PyObject
* obj0
= 0 ;
3994 (char *) "self", NULL
3997 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RealPoint_x_get",kwnames
,&obj0
)) goto fail
;
3998 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRealPoint
, SWIG_POINTER_EXCEPTION
| 0);
3999 if (SWIG_arg_fail(1)) SWIG_fail
;
4000 result
= (double) ((arg1
)->x
);
4003 resultobj
= SWIG_From_double((double)(result
));
4011 static PyObject
*_wrap_RealPoint_y_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4012 PyObject
*resultobj
;
4013 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
4015 PyObject
* obj0
= 0 ;
4016 PyObject
* obj1
= 0 ;
4018 (char *) "self",(char *) "y", NULL
4021 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RealPoint_y_set",kwnames
,&obj0
,&obj1
)) goto fail
;
4022 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRealPoint
, SWIG_POINTER_EXCEPTION
| 0);
4023 if (SWIG_arg_fail(1)) SWIG_fail
;
4025 arg2
= (double)(SWIG_As_double(obj1
));
4026 if (SWIG_arg_fail(2)) SWIG_fail
;
4028 if (arg1
) (arg1
)->y
= arg2
;
4030 Py_INCREF(Py_None
); resultobj
= Py_None
;
4037 static PyObject
*_wrap_RealPoint_y_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4038 PyObject
*resultobj
;
4039 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
4041 PyObject
* obj0
= 0 ;
4043 (char *) "self", NULL
4046 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RealPoint_y_get",kwnames
,&obj0
)) goto fail
;
4047 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRealPoint
, SWIG_POINTER_EXCEPTION
| 0);
4048 if (SWIG_arg_fail(1)) SWIG_fail
;
4049 result
= (double) ((arg1
)->y
);
4052 resultobj
= SWIG_From_double((double)(result
));
4060 static PyObject
*_wrap_new_RealPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4061 PyObject
*resultobj
;
4062 double arg1
= (double) 0.0 ;
4063 double arg2
= (double) 0.0 ;
4064 wxRealPoint
*result
;
4065 PyObject
* obj0
= 0 ;
4066 PyObject
* obj1
= 0 ;
4068 (char *) "x",(char *) "y", NULL
4071 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_RealPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
4074 arg1
= (double)(SWIG_As_double(obj0
));
4075 if (SWIG_arg_fail(1)) SWIG_fail
;
4080 arg2
= (double)(SWIG_As_double(obj1
));
4081 if (SWIG_arg_fail(2)) SWIG_fail
;
4085 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4086 result
= (wxRealPoint
*)new wxRealPoint(arg1
,arg2
);
4088 wxPyEndAllowThreads(__tstate
);
4089 if (PyErr_Occurred()) SWIG_fail
;
4091 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRealPoint
, 1);
4098 static PyObject
*_wrap_delete_RealPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4099 PyObject
*resultobj
;
4100 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
4101 PyObject
* obj0
= 0 ;
4103 (char *) "self", NULL
4106 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_RealPoint",kwnames
,&obj0
)) goto fail
;
4107 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRealPoint
, SWIG_POINTER_EXCEPTION
| 0);
4108 if (SWIG_arg_fail(1)) SWIG_fail
;
4110 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4113 wxPyEndAllowThreads(__tstate
);
4114 if (PyErr_Occurred()) SWIG_fail
;
4116 Py_INCREF(Py_None
); resultobj
= Py_None
;
4123 static PyObject
*_wrap_RealPoint___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4124 PyObject
*resultobj
;
4125 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
4126 wxRealPoint
*arg2
= 0 ;
4129 PyObject
* obj0
= 0 ;
4130 PyObject
* obj1
= 0 ;
4132 (char *) "self",(char *) "pt", NULL
4135 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RealPoint___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
4136 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRealPoint
, SWIG_POINTER_EXCEPTION
| 0);
4137 if (SWIG_arg_fail(1)) SWIG_fail
;
4140 if ( ! wxRealPoint_helper(obj1
, &arg2
)) SWIG_fail
;
4143 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4144 result
= (bool)(arg1
)->operator ==((wxRealPoint
const &)*arg2
);
4146 wxPyEndAllowThreads(__tstate
);
4147 if (PyErr_Occurred()) SWIG_fail
;
4150 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4158 static PyObject
*_wrap_RealPoint___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4159 PyObject
*resultobj
;
4160 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
4161 wxRealPoint
*arg2
= 0 ;
4164 PyObject
* obj0
= 0 ;
4165 PyObject
* obj1
= 0 ;
4167 (char *) "self",(char *) "pt", NULL
4170 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RealPoint___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
4171 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRealPoint
, SWIG_POINTER_EXCEPTION
| 0);
4172 if (SWIG_arg_fail(1)) SWIG_fail
;
4175 if ( ! wxRealPoint_helper(obj1
, &arg2
)) SWIG_fail
;
4178 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4179 result
= (bool)(arg1
)->operator !=((wxRealPoint
const &)*arg2
);
4181 wxPyEndAllowThreads(__tstate
);
4182 if (PyErr_Occurred()) SWIG_fail
;
4185 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4193 static PyObject
*_wrap_RealPoint___add__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4194 PyObject
*resultobj
;
4195 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
4196 wxRealPoint
*arg2
= 0 ;
4199 PyObject
* obj0
= 0 ;
4200 PyObject
* obj1
= 0 ;
4202 (char *) "self",(char *) "pt", NULL
4205 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RealPoint___add__",kwnames
,&obj0
,&obj1
)) goto fail
;
4206 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRealPoint
, SWIG_POINTER_EXCEPTION
| 0);
4207 if (SWIG_arg_fail(1)) SWIG_fail
;
4210 if ( ! wxRealPoint_helper(obj1
, &arg2
)) SWIG_fail
;
4213 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4214 result
= (arg1
)->operator +((wxRealPoint
const &)*arg2
);
4216 wxPyEndAllowThreads(__tstate
);
4217 if (PyErr_Occurred()) SWIG_fail
;
4220 wxRealPoint
* resultptr
;
4221 resultptr
= new wxRealPoint((wxRealPoint
&)(result
));
4222 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRealPoint
, 1);
4230 static PyObject
*_wrap_RealPoint___sub__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4231 PyObject
*resultobj
;
4232 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
4233 wxRealPoint
*arg2
= 0 ;
4236 PyObject
* obj0
= 0 ;
4237 PyObject
* obj1
= 0 ;
4239 (char *) "self",(char *) "pt", NULL
4242 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RealPoint___sub__",kwnames
,&obj0
,&obj1
)) goto fail
;
4243 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRealPoint
, SWIG_POINTER_EXCEPTION
| 0);
4244 if (SWIG_arg_fail(1)) SWIG_fail
;
4247 if ( ! wxRealPoint_helper(obj1
, &arg2
)) SWIG_fail
;
4250 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4251 result
= (arg1
)->operator -((wxRealPoint
const &)*arg2
);
4253 wxPyEndAllowThreads(__tstate
);
4254 if (PyErr_Occurred()) SWIG_fail
;
4257 wxRealPoint
* resultptr
;
4258 resultptr
= new wxRealPoint((wxRealPoint
&)(result
));
4259 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRealPoint
, 1);
4267 static PyObject
*_wrap_RealPoint_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4268 PyObject
*resultobj
;
4269 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
4272 PyObject
* obj0
= 0 ;
4273 PyObject
* obj1
= 0 ;
4274 PyObject
* obj2
= 0 ;
4276 (char *) "self",(char *) "x",(char *) "y", NULL
4279 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:RealPoint_Set",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4280 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRealPoint
, SWIG_POINTER_EXCEPTION
| 0);
4281 if (SWIG_arg_fail(1)) SWIG_fail
;
4283 arg2
= (double)(SWIG_As_double(obj1
));
4284 if (SWIG_arg_fail(2)) SWIG_fail
;
4287 arg3
= (double)(SWIG_As_double(obj2
));
4288 if (SWIG_arg_fail(3)) SWIG_fail
;
4291 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4292 wxRealPoint_Set(arg1
,arg2
,arg3
);
4294 wxPyEndAllowThreads(__tstate
);
4295 if (PyErr_Occurred()) SWIG_fail
;
4297 Py_INCREF(Py_None
); resultobj
= Py_None
;
4304 static PyObject
*_wrap_RealPoint_Get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4305 PyObject
*resultobj
;
4306 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
4308 PyObject
* obj0
= 0 ;
4310 (char *) "self", NULL
4313 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RealPoint_Get",kwnames
,&obj0
)) goto fail
;
4314 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRealPoint
, SWIG_POINTER_EXCEPTION
| 0);
4315 if (SWIG_arg_fail(1)) SWIG_fail
;
4317 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4318 result
= (PyObject
*)wxRealPoint_Get(arg1
);
4320 wxPyEndAllowThreads(__tstate
);
4321 if (PyErr_Occurred()) SWIG_fail
;
4330 static PyObject
* RealPoint_swigregister(PyObject
*, PyObject
*args
) {
4332 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4333 SWIG_TypeClientData(SWIGTYPE_p_wxRealPoint
, obj
);
4335 return Py_BuildValue((char *)"");
4337 static PyObject
*_wrap_Point_x_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4338 PyObject
*resultobj
;
4339 wxPoint
*arg1
= (wxPoint
*) 0 ;
4341 PyObject
* obj0
= 0 ;
4342 PyObject
* obj1
= 0 ;
4344 (char *) "self",(char *) "x", NULL
4347 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point_x_set",kwnames
,&obj0
,&obj1
)) goto fail
;
4348 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint
, SWIG_POINTER_EXCEPTION
| 0);
4349 if (SWIG_arg_fail(1)) SWIG_fail
;
4351 arg2
= (int)(SWIG_As_int(obj1
));
4352 if (SWIG_arg_fail(2)) SWIG_fail
;
4354 if (arg1
) (arg1
)->x
= arg2
;
4356 Py_INCREF(Py_None
); resultobj
= Py_None
;
4363 static PyObject
*_wrap_Point_x_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4364 PyObject
*resultobj
;
4365 wxPoint
*arg1
= (wxPoint
*) 0 ;
4367 PyObject
* obj0
= 0 ;
4369 (char *) "self", NULL
4372 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point_x_get",kwnames
,&obj0
)) goto fail
;
4373 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint
, SWIG_POINTER_EXCEPTION
| 0);
4374 if (SWIG_arg_fail(1)) SWIG_fail
;
4375 result
= (int) ((arg1
)->x
);
4378 resultobj
= SWIG_From_int((int)(result
));
4386 static PyObject
*_wrap_Point_y_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4387 PyObject
*resultobj
;
4388 wxPoint
*arg1
= (wxPoint
*) 0 ;
4390 PyObject
* obj0
= 0 ;
4391 PyObject
* obj1
= 0 ;
4393 (char *) "self",(char *) "y", NULL
4396 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point_y_set",kwnames
,&obj0
,&obj1
)) goto fail
;
4397 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint
, SWIG_POINTER_EXCEPTION
| 0);
4398 if (SWIG_arg_fail(1)) SWIG_fail
;
4400 arg2
= (int)(SWIG_As_int(obj1
));
4401 if (SWIG_arg_fail(2)) SWIG_fail
;
4403 if (arg1
) (arg1
)->y
= arg2
;
4405 Py_INCREF(Py_None
); resultobj
= Py_None
;
4412 static PyObject
*_wrap_Point_y_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4413 PyObject
*resultobj
;
4414 wxPoint
*arg1
= (wxPoint
*) 0 ;
4416 PyObject
* obj0
= 0 ;
4418 (char *) "self", NULL
4421 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point_y_get",kwnames
,&obj0
)) goto fail
;
4422 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint
, SWIG_POINTER_EXCEPTION
| 0);
4423 if (SWIG_arg_fail(1)) SWIG_fail
;
4424 result
= (int) ((arg1
)->y
);
4427 resultobj
= SWIG_From_int((int)(result
));
4435 static PyObject
*_wrap_new_Point(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4436 PyObject
*resultobj
;
4437 int arg1
= (int) 0 ;
4438 int arg2
= (int) 0 ;
4440 PyObject
* obj0
= 0 ;
4441 PyObject
* obj1
= 0 ;
4443 (char *) "x",(char *) "y", NULL
4446 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Point",kwnames
,&obj0
,&obj1
)) goto fail
;
4449 arg1
= (int)(SWIG_As_int(obj0
));
4450 if (SWIG_arg_fail(1)) SWIG_fail
;
4455 arg2
= (int)(SWIG_As_int(obj1
));
4456 if (SWIG_arg_fail(2)) SWIG_fail
;
4460 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4461 result
= (wxPoint
*)new wxPoint(arg1
,arg2
);
4463 wxPyEndAllowThreads(__tstate
);
4464 if (PyErr_Occurred()) SWIG_fail
;
4466 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint
, 1);
4473 static PyObject
*_wrap_delete_Point(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4474 PyObject
*resultobj
;
4475 wxPoint
*arg1
= (wxPoint
*) 0 ;
4476 PyObject
* obj0
= 0 ;
4478 (char *) "self", NULL
4481 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Point",kwnames
,&obj0
)) goto fail
;
4482 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint
, SWIG_POINTER_EXCEPTION
| 0);
4483 if (SWIG_arg_fail(1)) SWIG_fail
;
4485 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4488 wxPyEndAllowThreads(__tstate
);
4489 if (PyErr_Occurred()) SWIG_fail
;
4491 Py_INCREF(Py_None
); resultobj
= Py_None
;
4498 static PyObject
*_wrap_Point___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4499 PyObject
*resultobj
;
4500 wxPoint
*arg1
= (wxPoint
*) 0 ;
4504 PyObject
* obj0
= 0 ;
4505 PyObject
* obj1
= 0 ;
4507 (char *) "self",(char *) "pt", NULL
4510 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
4511 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint
, SWIG_POINTER_EXCEPTION
| 0);
4512 if (SWIG_arg_fail(1)) SWIG_fail
;
4515 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
4518 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4519 result
= (bool)(arg1
)->operator ==((wxPoint
const &)*arg2
);
4521 wxPyEndAllowThreads(__tstate
);
4522 if (PyErr_Occurred()) SWIG_fail
;
4525 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4533 static PyObject
*_wrap_Point___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4534 PyObject
*resultobj
;
4535 wxPoint
*arg1
= (wxPoint
*) 0 ;
4539 PyObject
* obj0
= 0 ;
4540 PyObject
* obj1
= 0 ;
4542 (char *) "self",(char *) "pt", NULL
4545 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
4546 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint
, SWIG_POINTER_EXCEPTION
| 0);
4547 if (SWIG_arg_fail(1)) SWIG_fail
;
4550 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
4553 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4554 result
= (bool)(arg1
)->operator !=((wxPoint
const &)*arg2
);
4556 wxPyEndAllowThreads(__tstate
);
4557 if (PyErr_Occurred()) SWIG_fail
;
4560 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4568 static PyObject
*_wrap_Point___add__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4569 PyObject
*resultobj
;
4570 wxPoint
*arg1
= (wxPoint
*) 0 ;
4574 PyObject
* obj0
= 0 ;
4575 PyObject
* obj1
= 0 ;
4577 (char *) "self",(char *) "pt", NULL
4580 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point___add__",kwnames
,&obj0
,&obj1
)) goto fail
;
4581 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint
, SWIG_POINTER_EXCEPTION
| 0);
4582 if (SWIG_arg_fail(1)) SWIG_fail
;
4585 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
4588 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4589 result
= (arg1
)->operator +((wxPoint
const &)*arg2
);
4591 wxPyEndAllowThreads(__tstate
);
4592 if (PyErr_Occurred()) SWIG_fail
;
4595 wxPoint
* resultptr
;
4596 resultptr
= new wxPoint((wxPoint
&)(result
));
4597 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
4605 static PyObject
*_wrap_Point___sub__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4606 PyObject
*resultobj
;
4607 wxPoint
*arg1
= (wxPoint
*) 0 ;
4611 PyObject
* obj0
= 0 ;
4612 PyObject
* obj1
= 0 ;
4614 (char *) "self",(char *) "pt", NULL
4617 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point___sub__",kwnames
,&obj0
,&obj1
)) goto fail
;
4618 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint
, SWIG_POINTER_EXCEPTION
| 0);
4619 if (SWIG_arg_fail(1)) SWIG_fail
;
4622 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
4625 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4626 result
= (arg1
)->operator -((wxPoint
const &)*arg2
);
4628 wxPyEndAllowThreads(__tstate
);
4629 if (PyErr_Occurred()) SWIG_fail
;
4632 wxPoint
* resultptr
;
4633 resultptr
= new wxPoint((wxPoint
&)(result
));
4634 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
4642 static PyObject
*_wrap_Point___iadd__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4643 PyObject
*resultobj
;
4644 wxPoint
*arg1
= (wxPoint
*) 0 ;
4648 PyObject
* obj0
= 0 ;
4649 PyObject
* obj1
= 0 ;
4651 (char *) "self",(char *) "pt", NULL
4654 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point___iadd__",kwnames
,&obj0
,&obj1
)) goto fail
;
4655 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
4656 if (SWIG_arg_fail(1)) SWIG_fail
;
4659 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
4662 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4664 wxPoint
&_result_ref
= (arg1
)->operator +=((wxPoint
const &)*arg2
);
4665 result
= (wxPoint
*) &_result_ref
;
4668 wxPyEndAllowThreads(__tstate
);
4669 if (PyErr_Occurred()) SWIG_fail
;
4671 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint
, 1);
4678 static PyObject
*_wrap_Point___isub__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4679 PyObject
*resultobj
;
4680 wxPoint
*arg1
= (wxPoint
*) 0 ;
4684 PyObject
* obj0
= 0 ;
4685 PyObject
* obj1
= 0 ;
4687 (char *) "self",(char *) "pt", NULL
4690 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point___isub__",kwnames
,&obj0
,&obj1
)) goto fail
;
4691 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
4692 if (SWIG_arg_fail(1)) SWIG_fail
;
4695 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
4698 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4700 wxPoint
&_result_ref
= (arg1
)->operator -=((wxPoint
const &)*arg2
);
4701 result
= (wxPoint
*) &_result_ref
;
4704 wxPyEndAllowThreads(__tstate
);
4705 if (PyErr_Occurred()) SWIG_fail
;
4707 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint
, 1);
4714 static PyObject
*_wrap_Point_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4715 PyObject
*resultobj
;
4716 wxPoint
*arg1
= (wxPoint
*) 0 ;
4719 PyObject
* obj0
= 0 ;
4720 PyObject
* obj1
= 0 ;
4721 PyObject
* obj2
= 0 ;
4723 (char *) "self",(char *) "x",(char *) "y", NULL
4726 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Point_Set",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4727 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint
, SWIG_POINTER_EXCEPTION
| 0);
4728 if (SWIG_arg_fail(1)) SWIG_fail
;
4730 arg2
= (long)(SWIG_As_long(obj1
));
4731 if (SWIG_arg_fail(2)) SWIG_fail
;
4734 arg3
= (long)(SWIG_As_long(obj2
));
4735 if (SWIG_arg_fail(3)) SWIG_fail
;
4738 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4739 wxPoint_Set(arg1
,arg2
,arg3
);
4741 wxPyEndAllowThreads(__tstate
);
4742 if (PyErr_Occurred()) SWIG_fail
;
4744 Py_INCREF(Py_None
); resultobj
= Py_None
;
4751 static PyObject
*_wrap_Point_Get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4752 PyObject
*resultobj
;
4753 wxPoint
*arg1
= (wxPoint
*) 0 ;
4755 PyObject
* obj0
= 0 ;
4757 (char *) "self", NULL
4760 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point_Get",kwnames
,&obj0
)) goto fail
;
4761 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint
, SWIG_POINTER_EXCEPTION
| 0);
4762 if (SWIG_arg_fail(1)) SWIG_fail
;
4764 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4765 result
= (PyObject
*)wxPoint_Get(arg1
);
4767 wxPyEndAllowThreads(__tstate
);
4768 if (PyErr_Occurred()) SWIG_fail
;
4777 static PyObject
* Point_swigregister(PyObject
*, PyObject
*args
) {
4779 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4780 SWIG_TypeClientData(SWIGTYPE_p_wxPoint
, obj
);
4782 return Py_BuildValue((char *)"");
4784 static PyObject
*_wrap_new_Rect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4785 PyObject
*resultobj
;
4786 int arg1
= (int) 0 ;
4787 int arg2
= (int) 0 ;
4788 int arg3
= (int) 0 ;
4789 int arg4
= (int) 0 ;
4791 PyObject
* obj0
= 0 ;
4792 PyObject
* obj1
= 0 ;
4793 PyObject
* obj2
= 0 ;
4794 PyObject
* obj3
= 0 ;
4796 (char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
4799 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_Rect",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
4802 arg1
= (int)(SWIG_As_int(obj0
));
4803 if (SWIG_arg_fail(1)) SWIG_fail
;
4808 arg2
= (int)(SWIG_As_int(obj1
));
4809 if (SWIG_arg_fail(2)) SWIG_fail
;
4814 arg3
= (int)(SWIG_As_int(obj2
));
4815 if (SWIG_arg_fail(3)) SWIG_fail
;
4820 arg4
= (int)(SWIG_As_int(obj3
));
4821 if (SWIG_arg_fail(4)) SWIG_fail
;
4825 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4826 result
= (wxRect
*)new wxRect(arg1
,arg2
,arg3
,arg4
);
4828 wxPyEndAllowThreads(__tstate
);
4829 if (PyErr_Occurred()) SWIG_fail
;
4831 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 1);
4838 static PyObject
*_wrap_new_RectPP(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4839 PyObject
*resultobj
;
4845 PyObject
* obj0
= 0 ;
4846 PyObject
* obj1
= 0 ;
4848 (char *) "topLeft",(char *) "bottomRight", NULL
4851 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_RectPP",kwnames
,&obj0
,&obj1
)) goto fail
;
4854 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
4858 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
4861 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4862 result
= (wxRect
*)new wxRect((wxPoint
const &)*arg1
,(wxPoint
const &)*arg2
);
4864 wxPyEndAllowThreads(__tstate
);
4865 if (PyErr_Occurred()) SWIG_fail
;
4867 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 1);
4874 static PyObject
*_wrap_new_RectPS(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4875 PyObject
*resultobj
;
4881 PyObject
* obj0
= 0 ;
4882 PyObject
* obj1
= 0 ;
4884 (char *) "pos",(char *) "size", NULL
4887 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_RectPS",kwnames
,&obj0
,&obj1
)) goto fail
;
4890 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
4894 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
4897 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4898 result
= (wxRect
*)new wxRect((wxPoint
const &)*arg1
,(wxSize
const &)*arg2
);
4900 wxPyEndAllowThreads(__tstate
);
4901 if (PyErr_Occurred()) SWIG_fail
;
4903 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 1);
4910 static PyObject
*_wrap_new_RectS(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4911 PyObject
*resultobj
;
4915 PyObject
* obj0
= 0 ;
4917 (char *) "size", NULL
4920 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_RectS",kwnames
,&obj0
)) goto fail
;
4923 if ( ! wxSize_helper(obj0
, &arg1
)) SWIG_fail
;
4926 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4927 result
= (wxRect
*)new wxRect((wxSize
const &)*arg1
);
4929 wxPyEndAllowThreads(__tstate
);
4930 if (PyErr_Occurred()) SWIG_fail
;
4932 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 1);
4939 static PyObject
*_wrap_delete_Rect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4940 PyObject
*resultobj
;
4941 wxRect
*arg1
= (wxRect
*) 0 ;
4942 PyObject
* obj0
= 0 ;
4944 (char *) "self", NULL
4947 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Rect",kwnames
,&obj0
)) goto fail
;
4948 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
4949 if (SWIG_arg_fail(1)) SWIG_fail
;
4951 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4954 wxPyEndAllowThreads(__tstate
);
4955 if (PyErr_Occurred()) SWIG_fail
;
4957 Py_INCREF(Py_None
); resultobj
= Py_None
;
4964 static PyObject
*_wrap_Rect_GetX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4965 PyObject
*resultobj
;
4966 wxRect
*arg1
= (wxRect
*) 0 ;
4968 PyObject
* obj0
= 0 ;
4970 (char *) "self", NULL
4973 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetX",kwnames
,&obj0
)) goto fail
;
4974 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
4975 if (SWIG_arg_fail(1)) SWIG_fail
;
4977 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4978 result
= (int)((wxRect
const *)arg1
)->GetX();
4980 wxPyEndAllowThreads(__tstate
);
4981 if (PyErr_Occurred()) SWIG_fail
;
4984 resultobj
= SWIG_From_int((int)(result
));
4992 static PyObject
*_wrap_Rect_SetX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4993 PyObject
*resultobj
;
4994 wxRect
*arg1
= (wxRect
*) 0 ;
4996 PyObject
* obj0
= 0 ;
4997 PyObject
* obj1
= 0 ;
4999 (char *) "self",(char *) "x", NULL
5002 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetX",kwnames
,&obj0
,&obj1
)) 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 arg2
= (int)(SWIG_As_int(obj1
));
5007 if (SWIG_arg_fail(2)) SWIG_fail
;
5010 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5013 wxPyEndAllowThreads(__tstate
);
5014 if (PyErr_Occurred()) SWIG_fail
;
5016 Py_INCREF(Py_None
); resultobj
= Py_None
;
5023 static PyObject
*_wrap_Rect_GetY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5024 PyObject
*resultobj
;
5025 wxRect
*arg1
= (wxRect
*) 0 ;
5027 PyObject
* obj0
= 0 ;
5029 (char *) "self", NULL
5032 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetY",kwnames
,&obj0
)) goto fail
;
5033 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5034 if (SWIG_arg_fail(1)) SWIG_fail
;
5036 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5037 result
= (int)(arg1
)->GetY();
5039 wxPyEndAllowThreads(__tstate
);
5040 if (PyErr_Occurred()) SWIG_fail
;
5043 resultobj
= SWIG_From_int((int)(result
));
5051 static PyObject
*_wrap_Rect_SetY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5052 PyObject
*resultobj
;
5053 wxRect
*arg1
= (wxRect
*) 0 ;
5055 PyObject
* obj0
= 0 ;
5056 PyObject
* obj1
= 0 ;
5058 (char *) "self",(char *) "y", NULL
5061 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetY",kwnames
,&obj0
,&obj1
)) 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 arg2
= (int)(SWIG_As_int(obj1
));
5066 if (SWIG_arg_fail(2)) SWIG_fail
;
5069 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5072 wxPyEndAllowThreads(__tstate
);
5073 if (PyErr_Occurred()) SWIG_fail
;
5075 Py_INCREF(Py_None
); resultobj
= Py_None
;
5082 static PyObject
*_wrap_Rect_GetWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5083 PyObject
*resultobj
;
5084 wxRect
*arg1
= (wxRect
*) 0 ;
5086 PyObject
* obj0
= 0 ;
5088 (char *) "self", NULL
5091 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetWidth",kwnames
,&obj0
)) goto fail
;
5092 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5093 if (SWIG_arg_fail(1)) SWIG_fail
;
5095 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5096 result
= (int)((wxRect
const *)arg1
)->GetWidth();
5098 wxPyEndAllowThreads(__tstate
);
5099 if (PyErr_Occurred()) SWIG_fail
;
5102 resultobj
= SWIG_From_int((int)(result
));
5110 static PyObject
*_wrap_Rect_SetWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5111 PyObject
*resultobj
;
5112 wxRect
*arg1
= (wxRect
*) 0 ;
5114 PyObject
* obj0
= 0 ;
5115 PyObject
* obj1
= 0 ;
5117 (char *) "self",(char *) "w", NULL
5120 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetWidth",kwnames
,&obj0
,&obj1
)) 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 arg2
= (int)(SWIG_As_int(obj1
));
5125 if (SWIG_arg_fail(2)) SWIG_fail
;
5128 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5129 (arg1
)->SetWidth(arg2
);
5131 wxPyEndAllowThreads(__tstate
);
5132 if (PyErr_Occurred()) SWIG_fail
;
5134 Py_INCREF(Py_None
); resultobj
= Py_None
;
5141 static PyObject
*_wrap_Rect_GetHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5142 PyObject
*resultobj
;
5143 wxRect
*arg1
= (wxRect
*) 0 ;
5145 PyObject
* obj0
= 0 ;
5147 (char *) "self", NULL
5150 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetHeight",kwnames
,&obj0
)) goto fail
;
5151 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5152 if (SWIG_arg_fail(1)) SWIG_fail
;
5154 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5155 result
= (int)((wxRect
const *)arg1
)->GetHeight();
5157 wxPyEndAllowThreads(__tstate
);
5158 if (PyErr_Occurred()) SWIG_fail
;
5161 resultobj
= SWIG_From_int((int)(result
));
5169 static PyObject
*_wrap_Rect_SetHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5170 PyObject
*resultobj
;
5171 wxRect
*arg1
= (wxRect
*) 0 ;
5173 PyObject
* obj0
= 0 ;
5174 PyObject
* obj1
= 0 ;
5176 (char *) "self",(char *) "h", NULL
5179 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetHeight",kwnames
,&obj0
,&obj1
)) 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 arg2
= (int)(SWIG_As_int(obj1
));
5184 if (SWIG_arg_fail(2)) SWIG_fail
;
5187 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5188 (arg1
)->SetHeight(arg2
);
5190 wxPyEndAllowThreads(__tstate
);
5191 if (PyErr_Occurred()) SWIG_fail
;
5193 Py_INCREF(Py_None
); resultobj
= Py_None
;
5200 static PyObject
*_wrap_Rect_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5201 PyObject
*resultobj
;
5202 wxRect
*arg1
= (wxRect
*) 0 ;
5204 PyObject
* obj0
= 0 ;
5206 (char *) "self", NULL
5209 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetPosition",kwnames
,&obj0
)) goto fail
;
5210 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5211 if (SWIG_arg_fail(1)) SWIG_fail
;
5213 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5214 result
= ((wxRect
const *)arg1
)->GetPosition();
5216 wxPyEndAllowThreads(__tstate
);
5217 if (PyErr_Occurred()) SWIG_fail
;
5220 wxPoint
* resultptr
;
5221 resultptr
= new wxPoint((wxPoint
&)(result
));
5222 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
5230 static PyObject
*_wrap_Rect_SetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5231 PyObject
*resultobj
;
5232 wxRect
*arg1
= (wxRect
*) 0 ;
5235 PyObject
* obj0
= 0 ;
5236 PyObject
* obj1
= 0 ;
5238 (char *) "self",(char *) "p", NULL
5241 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
5242 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5243 if (SWIG_arg_fail(1)) SWIG_fail
;
5246 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
5249 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5250 (arg1
)->SetPosition((wxPoint
const &)*arg2
);
5252 wxPyEndAllowThreads(__tstate
);
5253 if (PyErr_Occurred()) SWIG_fail
;
5255 Py_INCREF(Py_None
); resultobj
= Py_None
;
5262 static PyObject
*_wrap_Rect_GetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5263 PyObject
*resultobj
;
5264 wxRect
*arg1
= (wxRect
*) 0 ;
5266 PyObject
* obj0
= 0 ;
5268 (char *) "self", NULL
5271 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetSize",kwnames
,&obj0
)) goto fail
;
5272 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5273 if (SWIG_arg_fail(1)) SWIG_fail
;
5275 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5276 result
= ((wxRect
const *)arg1
)->GetSize();
5278 wxPyEndAllowThreads(__tstate
);
5279 if (PyErr_Occurred()) SWIG_fail
;
5283 resultptr
= new wxSize((wxSize
&)(result
));
5284 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
5292 static PyObject
*_wrap_Rect_SetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5293 PyObject
*resultobj
;
5294 wxRect
*arg1
= (wxRect
*) 0 ;
5297 PyObject
* obj0
= 0 ;
5298 PyObject
* obj1
= 0 ;
5300 (char *) "self",(char *) "s", NULL
5303 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetSize",kwnames
,&obj0
,&obj1
)) goto fail
;
5304 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5305 if (SWIG_arg_fail(1)) SWIG_fail
;
5308 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
5311 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5312 (arg1
)->SetSize((wxSize
const &)*arg2
);
5314 wxPyEndAllowThreads(__tstate
);
5315 if (PyErr_Occurred()) SWIG_fail
;
5317 Py_INCREF(Py_None
); resultobj
= Py_None
;
5324 static PyObject
*_wrap_Rect_IsEmpty(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5325 PyObject
*resultobj
;
5326 wxRect
*arg1
= (wxRect
*) 0 ;
5328 PyObject
* obj0
= 0 ;
5330 (char *) "self", NULL
5333 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_IsEmpty",kwnames
,&obj0
)) goto fail
;
5334 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5335 if (SWIG_arg_fail(1)) SWIG_fail
;
5337 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5338 result
= (bool)((wxRect
const *)arg1
)->IsEmpty();
5340 wxPyEndAllowThreads(__tstate
);
5341 if (PyErr_Occurred()) SWIG_fail
;
5344 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5352 static PyObject
*_wrap_Rect_GetTopLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5353 PyObject
*resultobj
;
5354 wxRect
*arg1
= (wxRect
*) 0 ;
5356 PyObject
* obj0
= 0 ;
5358 (char *) "self", NULL
5361 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetTopLeft",kwnames
,&obj0
)) goto fail
;
5362 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5363 if (SWIG_arg_fail(1)) SWIG_fail
;
5365 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5366 result
= ((wxRect
const *)arg1
)->GetTopLeft();
5368 wxPyEndAllowThreads(__tstate
);
5369 if (PyErr_Occurred()) SWIG_fail
;
5372 wxPoint
* resultptr
;
5373 resultptr
= new wxPoint((wxPoint
&)(result
));
5374 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
5382 static PyObject
*_wrap_Rect_SetTopLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5383 PyObject
*resultobj
;
5384 wxRect
*arg1
= (wxRect
*) 0 ;
5387 PyObject
* obj0
= 0 ;
5388 PyObject
* obj1
= 0 ;
5390 (char *) "self",(char *) "p", NULL
5393 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetTopLeft",kwnames
,&obj0
,&obj1
)) goto fail
;
5394 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5395 if (SWIG_arg_fail(1)) SWIG_fail
;
5398 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
5401 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5402 (arg1
)->SetTopLeft((wxPoint
const &)*arg2
);
5404 wxPyEndAllowThreads(__tstate
);
5405 if (PyErr_Occurred()) SWIG_fail
;
5407 Py_INCREF(Py_None
); resultobj
= Py_None
;
5414 static PyObject
*_wrap_Rect_GetBottomRight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5415 PyObject
*resultobj
;
5416 wxRect
*arg1
= (wxRect
*) 0 ;
5418 PyObject
* obj0
= 0 ;
5420 (char *) "self", NULL
5423 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetBottomRight",kwnames
,&obj0
)) goto fail
;
5424 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5425 if (SWIG_arg_fail(1)) SWIG_fail
;
5427 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5428 result
= ((wxRect
const *)arg1
)->GetBottomRight();
5430 wxPyEndAllowThreads(__tstate
);
5431 if (PyErr_Occurred()) SWIG_fail
;
5434 wxPoint
* resultptr
;
5435 resultptr
= new wxPoint((wxPoint
&)(result
));
5436 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
5444 static PyObject
*_wrap_Rect_SetBottomRight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5445 PyObject
*resultobj
;
5446 wxRect
*arg1
= (wxRect
*) 0 ;
5449 PyObject
* obj0
= 0 ;
5450 PyObject
* obj1
= 0 ;
5452 (char *) "self",(char *) "p", NULL
5455 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetBottomRight",kwnames
,&obj0
,&obj1
)) goto fail
;
5456 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5457 if (SWIG_arg_fail(1)) SWIG_fail
;
5460 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
5463 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5464 (arg1
)->SetBottomRight((wxPoint
const &)*arg2
);
5466 wxPyEndAllowThreads(__tstate
);
5467 if (PyErr_Occurred()) SWIG_fail
;
5469 Py_INCREF(Py_None
); resultobj
= Py_None
;
5476 static PyObject
*_wrap_Rect_GetLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5477 PyObject
*resultobj
;
5478 wxRect
*arg1
= (wxRect
*) 0 ;
5480 PyObject
* obj0
= 0 ;
5482 (char *) "self", NULL
5485 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetLeft",kwnames
,&obj0
)) goto fail
;
5486 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5487 if (SWIG_arg_fail(1)) SWIG_fail
;
5489 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5490 result
= (int)((wxRect
const *)arg1
)->GetLeft();
5492 wxPyEndAllowThreads(__tstate
);
5493 if (PyErr_Occurred()) SWIG_fail
;
5496 resultobj
= SWIG_From_int((int)(result
));
5504 static PyObject
*_wrap_Rect_GetTop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5505 PyObject
*resultobj
;
5506 wxRect
*arg1
= (wxRect
*) 0 ;
5508 PyObject
* obj0
= 0 ;
5510 (char *) "self", NULL
5513 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetTop",kwnames
,&obj0
)) goto fail
;
5514 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5515 if (SWIG_arg_fail(1)) SWIG_fail
;
5517 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5518 result
= (int)((wxRect
const *)arg1
)->GetTop();
5520 wxPyEndAllowThreads(__tstate
);
5521 if (PyErr_Occurred()) SWIG_fail
;
5524 resultobj
= SWIG_From_int((int)(result
));
5532 static PyObject
*_wrap_Rect_GetBottom(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5533 PyObject
*resultobj
;
5534 wxRect
*arg1
= (wxRect
*) 0 ;
5536 PyObject
* obj0
= 0 ;
5538 (char *) "self", NULL
5541 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetBottom",kwnames
,&obj0
)) goto fail
;
5542 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5543 if (SWIG_arg_fail(1)) SWIG_fail
;
5545 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5546 result
= (int)((wxRect
const *)arg1
)->GetBottom();
5548 wxPyEndAllowThreads(__tstate
);
5549 if (PyErr_Occurred()) SWIG_fail
;
5552 resultobj
= SWIG_From_int((int)(result
));
5560 static PyObject
*_wrap_Rect_GetRight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5561 PyObject
*resultobj
;
5562 wxRect
*arg1
= (wxRect
*) 0 ;
5564 PyObject
* obj0
= 0 ;
5566 (char *) "self", NULL
5569 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetRight",kwnames
,&obj0
)) goto fail
;
5570 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5571 if (SWIG_arg_fail(1)) SWIG_fail
;
5573 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5574 result
= (int)((wxRect
const *)arg1
)->GetRight();
5576 wxPyEndAllowThreads(__tstate
);
5577 if (PyErr_Occurred()) SWIG_fail
;
5580 resultobj
= SWIG_From_int((int)(result
));
5588 static PyObject
*_wrap_Rect_SetLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5589 PyObject
*resultobj
;
5590 wxRect
*arg1
= (wxRect
*) 0 ;
5592 PyObject
* obj0
= 0 ;
5593 PyObject
* obj1
= 0 ;
5595 (char *) "self",(char *) "left", NULL
5598 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetLeft",kwnames
,&obj0
,&obj1
)) goto fail
;
5599 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5600 if (SWIG_arg_fail(1)) SWIG_fail
;
5602 arg2
= (int)(SWIG_As_int(obj1
));
5603 if (SWIG_arg_fail(2)) SWIG_fail
;
5606 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5607 (arg1
)->SetLeft(arg2
);
5609 wxPyEndAllowThreads(__tstate
);
5610 if (PyErr_Occurred()) SWIG_fail
;
5612 Py_INCREF(Py_None
); resultobj
= Py_None
;
5619 static PyObject
*_wrap_Rect_SetRight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5620 PyObject
*resultobj
;
5621 wxRect
*arg1
= (wxRect
*) 0 ;
5623 PyObject
* obj0
= 0 ;
5624 PyObject
* obj1
= 0 ;
5626 (char *) "self",(char *) "right", NULL
5629 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetRight",kwnames
,&obj0
,&obj1
)) goto fail
;
5630 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5631 if (SWIG_arg_fail(1)) SWIG_fail
;
5633 arg2
= (int)(SWIG_As_int(obj1
));
5634 if (SWIG_arg_fail(2)) SWIG_fail
;
5637 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5638 (arg1
)->SetRight(arg2
);
5640 wxPyEndAllowThreads(__tstate
);
5641 if (PyErr_Occurred()) SWIG_fail
;
5643 Py_INCREF(Py_None
); resultobj
= Py_None
;
5650 static PyObject
*_wrap_Rect_SetTop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5651 PyObject
*resultobj
;
5652 wxRect
*arg1
= (wxRect
*) 0 ;
5654 PyObject
* obj0
= 0 ;
5655 PyObject
* obj1
= 0 ;
5657 (char *) "self",(char *) "top", NULL
5660 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetTop",kwnames
,&obj0
,&obj1
)) goto fail
;
5661 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5662 if (SWIG_arg_fail(1)) SWIG_fail
;
5664 arg2
= (int)(SWIG_As_int(obj1
));
5665 if (SWIG_arg_fail(2)) SWIG_fail
;
5668 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5669 (arg1
)->SetTop(arg2
);
5671 wxPyEndAllowThreads(__tstate
);
5672 if (PyErr_Occurred()) SWIG_fail
;
5674 Py_INCREF(Py_None
); resultobj
= Py_None
;
5681 static PyObject
*_wrap_Rect_SetBottom(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5682 PyObject
*resultobj
;
5683 wxRect
*arg1
= (wxRect
*) 0 ;
5685 PyObject
* obj0
= 0 ;
5686 PyObject
* obj1
= 0 ;
5688 (char *) "self",(char *) "bottom", NULL
5691 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetBottom",kwnames
,&obj0
,&obj1
)) goto fail
;
5692 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5693 if (SWIG_arg_fail(1)) SWIG_fail
;
5695 arg2
= (int)(SWIG_As_int(obj1
));
5696 if (SWIG_arg_fail(2)) SWIG_fail
;
5699 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5700 (arg1
)->SetBottom(arg2
);
5702 wxPyEndAllowThreads(__tstate
);
5703 if (PyErr_Occurred()) SWIG_fail
;
5705 Py_INCREF(Py_None
); resultobj
= Py_None
;
5712 static PyObject
*_wrap_Rect_Inflate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5713 PyObject
*resultobj
;
5714 wxRect
*arg1
= (wxRect
*) 0 ;
5718 PyObject
* obj0
= 0 ;
5719 PyObject
* obj1
= 0 ;
5720 PyObject
* obj2
= 0 ;
5722 (char *) "self",(char *) "dx",(char *) "dy", NULL
5725 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Rect_Inflate",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5726 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5727 if (SWIG_arg_fail(1)) SWIG_fail
;
5729 arg2
= (int)(SWIG_As_int(obj1
));
5730 if (SWIG_arg_fail(2)) SWIG_fail
;
5733 arg3
= (int)(SWIG_As_int(obj2
));
5734 if (SWIG_arg_fail(3)) SWIG_fail
;
5737 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5739 wxRect
&_result_ref
= (arg1
)->Inflate(arg2
,arg3
);
5740 result
= (wxRect
*) &_result_ref
;
5743 wxPyEndAllowThreads(__tstate
);
5744 if (PyErr_Occurred()) SWIG_fail
;
5746 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 0);
5753 static PyObject
*_wrap_Rect_Deflate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5754 PyObject
*resultobj
;
5755 wxRect
*arg1
= (wxRect
*) 0 ;
5759 PyObject
* obj0
= 0 ;
5760 PyObject
* obj1
= 0 ;
5761 PyObject
* obj2
= 0 ;
5763 (char *) "self",(char *) "dx",(char *) "dy", NULL
5766 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Rect_Deflate",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5767 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5768 if (SWIG_arg_fail(1)) SWIG_fail
;
5770 arg2
= (int)(SWIG_As_int(obj1
));
5771 if (SWIG_arg_fail(2)) SWIG_fail
;
5774 arg3
= (int)(SWIG_As_int(obj2
));
5775 if (SWIG_arg_fail(3)) SWIG_fail
;
5778 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5780 wxRect
&_result_ref
= (arg1
)->Deflate(arg2
,arg3
);
5781 result
= (wxRect
*) &_result_ref
;
5784 wxPyEndAllowThreads(__tstate
);
5785 if (PyErr_Occurred()) SWIG_fail
;
5787 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 0);
5794 static PyObject
*_wrap_Rect_OffsetXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5795 PyObject
*resultobj
;
5796 wxRect
*arg1
= (wxRect
*) 0 ;
5799 PyObject
* obj0
= 0 ;
5800 PyObject
* obj1
= 0 ;
5801 PyObject
* obj2
= 0 ;
5803 (char *) "self",(char *) "dx",(char *) "dy", NULL
5806 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Rect_OffsetXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5807 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5808 if (SWIG_arg_fail(1)) SWIG_fail
;
5810 arg2
= (int)(SWIG_As_int(obj1
));
5811 if (SWIG_arg_fail(2)) SWIG_fail
;
5814 arg3
= (int)(SWIG_As_int(obj2
));
5815 if (SWIG_arg_fail(3)) SWIG_fail
;
5818 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5819 (arg1
)->Offset(arg2
,arg3
);
5821 wxPyEndAllowThreads(__tstate
);
5822 if (PyErr_Occurred()) SWIG_fail
;
5824 Py_INCREF(Py_None
); resultobj
= Py_None
;
5831 static PyObject
*_wrap_Rect_Offset(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5832 PyObject
*resultobj
;
5833 wxRect
*arg1
= (wxRect
*) 0 ;
5836 PyObject
* obj0
= 0 ;
5837 PyObject
* obj1
= 0 ;
5839 (char *) "self",(char *) "pt", NULL
5842 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_Offset",kwnames
,&obj0
,&obj1
)) goto fail
;
5843 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5844 if (SWIG_arg_fail(1)) SWIG_fail
;
5847 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
5850 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5851 (arg1
)->Offset((wxPoint
const &)*arg2
);
5853 wxPyEndAllowThreads(__tstate
);
5854 if (PyErr_Occurred()) SWIG_fail
;
5856 Py_INCREF(Py_None
); resultobj
= Py_None
;
5863 static PyObject
*_wrap_Rect_Intersect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5864 PyObject
*resultobj
;
5865 wxRect
*arg1
= (wxRect
*) 0 ;
5869 PyObject
* obj0
= 0 ;
5870 PyObject
* obj1
= 0 ;
5872 (char *) "self",(char *) "rect", NULL
5875 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_Intersect",kwnames
,&obj0
,&obj1
)) goto fail
;
5876 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5877 if (SWIG_arg_fail(1)) SWIG_fail
;
5880 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
5883 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5884 result
= (arg1
)->Intersect((wxRect
const &)*arg2
);
5886 wxPyEndAllowThreads(__tstate
);
5887 if (PyErr_Occurred()) SWIG_fail
;
5891 resultptr
= new wxRect((wxRect
&)(result
));
5892 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
5900 static PyObject
*_wrap_Rect_Union(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5901 PyObject
*resultobj
;
5902 wxRect
*arg1
= (wxRect
*) 0 ;
5906 PyObject
* obj0
= 0 ;
5907 PyObject
* obj1
= 0 ;
5909 (char *) "self",(char *) "rect", NULL
5912 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_Union",kwnames
,&obj0
,&obj1
)) goto fail
;
5913 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5914 if (SWIG_arg_fail(1)) SWIG_fail
;
5917 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
5920 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5921 result
= (arg1
)->Union((wxRect
const &)*arg2
);
5923 wxPyEndAllowThreads(__tstate
);
5924 if (PyErr_Occurred()) SWIG_fail
;
5928 resultptr
= new wxRect((wxRect
&)(result
));
5929 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
5937 static PyObject
*_wrap_Rect___add__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5938 PyObject
*resultobj
;
5939 wxRect
*arg1
= (wxRect
*) 0 ;
5943 PyObject
* obj0
= 0 ;
5944 PyObject
* obj1
= 0 ;
5946 (char *) "self",(char *) "rect", NULL
5949 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect___add__",kwnames
,&obj0
,&obj1
)) goto fail
;
5950 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5951 if (SWIG_arg_fail(1)) SWIG_fail
;
5954 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
5957 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5958 result
= ((wxRect
const *)arg1
)->operator +((wxRect
const &)*arg2
);
5960 wxPyEndAllowThreads(__tstate
);
5961 if (PyErr_Occurred()) SWIG_fail
;
5965 resultptr
= new wxRect((wxRect
&)(result
));
5966 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
5974 static PyObject
*_wrap_Rect___iadd__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5975 PyObject
*resultobj
;
5976 wxRect
*arg1
= (wxRect
*) 0 ;
5980 PyObject
* obj0
= 0 ;
5981 PyObject
* obj1
= 0 ;
5983 (char *) "self",(char *) "rect", NULL
5986 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect___iadd__",kwnames
,&obj0
,&obj1
)) goto fail
;
5987 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
5988 if (SWIG_arg_fail(1)) SWIG_fail
;
5991 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
5994 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5996 wxRect
&_result_ref
= (arg1
)->operator +=((wxRect
const &)*arg2
);
5997 result
= (wxRect
*) &_result_ref
;
6000 wxPyEndAllowThreads(__tstate
);
6001 if (PyErr_Occurred()) SWIG_fail
;
6003 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 1);
6010 static PyObject
*_wrap_Rect___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6011 PyObject
*resultobj
;
6012 wxRect
*arg1
= (wxRect
*) 0 ;
6016 PyObject
* obj0
= 0 ;
6017 PyObject
* obj1
= 0 ;
6019 (char *) "self",(char *) "rect", NULL
6022 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
6023 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
6024 if (SWIG_arg_fail(1)) SWIG_fail
;
6027 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
6030 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6031 result
= (bool)((wxRect
const *)arg1
)->operator ==((wxRect
const &)*arg2
);
6033 wxPyEndAllowThreads(__tstate
);
6034 if (PyErr_Occurred()) SWIG_fail
;
6037 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6045 static PyObject
*_wrap_Rect___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6046 PyObject
*resultobj
;
6047 wxRect
*arg1
= (wxRect
*) 0 ;
6051 PyObject
* obj0
= 0 ;
6052 PyObject
* obj1
= 0 ;
6054 (char *) "self",(char *) "rect", NULL
6057 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
6058 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
6059 if (SWIG_arg_fail(1)) SWIG_fail
;
6062 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
6065 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6066 result
= (bool)((wxRect
const *)arg1
)->operator !=((wxRect
const &)*arg2
);
6068 wxPyEndAllowThreads(__tstate
);
6069 if (PyErr_Occurred()) SWIG_fail
;
6072 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6080 static PyObject
*_wrap_Rect_InsideXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6081 PyObject
*resultobj
;
6082 wxRect
*arg1
= (wxRect
*) 0 ;
6086 PyObject
* obj0
= 0 ;
6087 PyObject
* obj1
= 0 ;
6088 PyObject
* obj2
= 0 ;
6090 (char *) "self",(char *) "x",(char *) "y", NULL
6093 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Rect_InsideXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6094 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
6095 if (SWIG_arg_fail(1)) SWIG_fail
;
6097 arg2
= (int)(SWIG_As_int(obj1
));
6098 if (SWIG_arg_fail(2)) SWIG_fail
;
6101 arg3
= (int)(SWIG_As_int(obj2
));
6102 if (SWIG_arg_fail(3)) SWIG_fail
;
6105 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6106 result
= (bool)((wxRect
const *)arg1
)->Inside(arg2
,arg3
);
6108 wxPyEndAllowThreads(__tstate
);
6109 if (PyErr_Occurred()) SWIG_fail
;
6112 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6120 static PyObject
*_wrap_Rect_Inside(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6121 PyObject
*resultobj
;
6122 wxRect
*arg1
= (wxRect
*) 0 ;
6126 PyObject
* obj0
= 0 ;
6127 PyObject
* obj1
= 0 ;
6129 (char *) "self",(char *) "pt", NULL
6132 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_Inside",kwnames
,&obj0
,&obj1
)) goto fail
;
6133 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
6134 if (SWIG_arg_fail(1)) SWIG_fail
;
6137 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
6140 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6141 result
= (bool)((wxRect
const *)arg1
)->Inside((wxPoint
const &)*arg2
);
6143 wxPyEndAllowThreads(__tstate
);
6144 if (PyErr_Occurred()) SWIG_fail
;
6147 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6155 static PyObject
*_wrap_Rect_Intersects(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6156 PyObject
*resultobj
;
6157 wxRect
*arg1
= (wxRect
*) 0 ;
6161 PyObject
* obj0
= 0 ;
6162 PyObject
* obj1
= 0 ;
6164 (char *) "self",(char *) "rect", NULL
6167 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_Intersects",kwnames
,&obj0
,&obj1
)) goto fail
;
6168 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
6169 if (SWIG_arg_fail(1)) SWIG_fail
;
6172 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
6175 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6176 result
= (bool)((wxRect
const *)arg1
)->Intersects((wxRect
const &)*arg2
);
6178 wxPyEndAllowThreads(__tstate
);
6179 if (PyErr_Occurred()) SWIG_fail
;
6182 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6190 static PyObject
*_wrap_Rect_x_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6191 PyObject
*resultobj
;
6192 wxRect
*arg1
= (wxRect
*) 0 ;
6194 PyObject
* obj0
= 0 ;
6195 PyObject
* obj1
= 0 ;
6197 (char *) "self",(char *) "x", NULL
6200 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_x_set",kwnames
,&obj0
,&obj1
)) goto fail
;
6201 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
6202 if (SWIG_arg_fail(1)) SWIG_fail
;
6204 arg2
= (int)(SWIG_As_int(obj1
));
6205 if (SWIG_arg_fail(2)) SWIG_fail
;
6207 if (arg1
) (arg1
)->x
= arg2
;
6209 Py_INCREF(Py_None
); resultobj
= Py_None
;
6216 static PyObject
*_wrap_Rect_x_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6217 PyObject
*resultobj
;
6218 wxRect
*arg1
= (wxRect
*) 0 ;
6220 PyObject
* obj0
= 0 ;
6222 (char *) "self", NULL
6225 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_x_get",kwnames
,&obj0
)) goto fail
;
6226 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
6227 if (SWIG_arg_fail(1)) SWIG_fail
;
6228 result
= (int) ((arg1
)->x
);
6231 resultobj
= SWIG_From_int((int)(result
));
6239 static PyObject
*_wrap_Rect_y_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6240 PyObject
*resultobj
;
6241 wxRect
*arg1
= (wxRect
*) 0 ;
6243 PyObject
* obj0
= 0 ;
6244 PyObject
* obj1
= 0 ;
6246 (char *) "self",(char *) "y", NULL
6249 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_y_set",kwnames
,&obj0
,&obj1
)) goto fail
;
6250 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
6251 if (SWIG_arg_fail(1)) SWIG_fail
;
6253 arg2
= (int)(SWIG_As_int(obj1
));
6254 if (SWIG_arg_fail(2)) SWIG_fail
;
6256 if (arg1
) (arg1
)->y
= arg2
;
6258 Py_INCREF(Py_None
); resultobj
= Py_None
;
6265 static PyObject
*_wrap_Rect_y_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6266 PyObject
*resultobj
;
6267 wxRect
*arg1
= (wxRect
*) 0 ;
6269 PyObject
* obj0
= 0 ;
6271 (char *) "self", NULL
6274 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_y_get",kwnames
,&obj0
)) goto fail
;
6275 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
6276 if (SWIG_arg_fail(1)) SWIG_fail
;
6277 result
= (int) ((arg1
)->y
);
6280 resultobj
= SWIG_From_int((int)(result
));
6288 static PyObject
*_wrap_Rect_width_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6289 PyObject
*resultobj
;
6290 wxRect
*arg1
= (wxRect
*) 0 ;
6292 PyObject
* obj0
= 0 ;
6293 PyObject
* obj1
= 0 ;
6295 (char *) "self",(char *) "width", NULL
6298 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_width_set",kwnames
,&obj0
,&obj1
)) goto fail
;
6299 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
6300 if (SWIG_arg_fail(1)) SWIG_fail
;
6302 arg2
= (int)(SWIG_As_int(obj1
));
6303 if (SWIG_arg_fail(2)) SWIG_fail
;
6305 if (arg1
) (arg1
)->width
= arg2
;
6307 Py_INCREF(Py_None
); resultobj
= Py_None
;
6314 static PyObject
*_wrap_Rect_width_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6315 PyObject
*resultobj
;
6316 wxRect
*arg1
= (wxRect
*) 0 ;
6318 PyObject
* obj0
= 0 ;
6320 (char *) "self", NULL
6323 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_width_get",kwnames
,&obj0
)) goto fail
;
6324 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
6325 if (SWIG_arg_fail(1)) SWIG_fail
;
6326 result
= (int) ((arg1
)->width
);
6329 resultobj
= SWIG_From_int((int)(result
));
6337 static PyObject
*_wrap_Rect_height_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6338 PyObject
*resultobj
;
6339 wxRect
*arg1
= (wxRect
*) 0 ;
6341 PyObject
* obj0
= 0 ;
6342 PyObject
* obj1
= 0 ;
6344 (char *) "self",(char *) "height", NULL
6347 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_height_set",kwnames
,&obj0
,&obj1
)) goto fail
;
6348 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
6349 if (SWIG_arg_fail(1)) SWIG_fail
;
6351 arg2
= (int)(SWIG_As_int(obj1
));
6352 if (SWIG_arg_fail(2)) SWIG_fail
;
6354 if (arg1
) (arg1
)->height
= arg2
;
6356 Py_INCREF(Py_None
); resultobj
= Py_None
;
6363 static PyObject
*_wrap_Rect_height_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6364 PyObject
*resultobj
;
6365 wxRect
*arg1
= (wxRect
*) 0 ;
6367 PyObject
* obj0
= 0 ;
6369 (char *) "self", NULL
6372 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_height_get",kwnames
,&obj0
)) goto fail
;
6373 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
6374 if (SWIG_arg_fail(1)) SWIG_fail
;
6375 result
= (int) ((arg1
)->height
);
6378 resultobj
= SWIG_From_int((int)(result
));
6386 static PyObject
*_wrap_Rect_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6387 PyObject
*resultobj
;
6388 wxRect
*arg1
= (wxRect
*) 0 ;
6389 int arg2
= (int) 0 ;
6390 int arg3
= (int) 0 ;
6391 int arg4
= (int) 0 ;
6392 int arg5
= (int) 0 ;
6393 PyObject
* obj0
= 0 ;
6394 PyObject
* obj1
= 0 ;
6395 PyObject
* obj2
= 0 ;
6396 PyObject
* obj3
= 0 ;
6397 PyObject
* obj4
= 0 ;
6399 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
6402 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOO:Rect_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
6403 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
6404 if (SWIG_arg_fail(1)) SWIG_fail
;
6407 arg2
= (int)(SWIG_As_int(obj1
));
6408 if (SWIG_arg_fail(2)) SWIG_fail
;
6413 arg3
= (int)(SWIG_As_int(obj2
));
6414 if (SWIG_arg_fail(3)) SWIG_fail
;
6419 arg4
= (int)(SWIG_As_int(obj3
));
6420 if (SWIG_arg_fail(4)) SWIG_fail
;
6425 arg5
= (int)(SWIG_As_int(obj4
));
6426 if (SWIG_arg_fail(5)) SWIG_fail
;
6430 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6431 wxRect_Set(arg1
,arg2
,arg3
,arg4
,arg5
);
6433 wxPyEndAllowThreads(__tstate
);
6434 if (PyErr_Occurred()) SWIG_fail
;
6436 Py_INCREF(Py_None
); resultobj
= Py_None
;
6443 static PyObject
*_wrap_Rect_Get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6444 PyObject
*resultobj
;
6445 wxRect
*arg1
= (wxRect
*) 0 ;
6447 PyObject
* obj0
= 0 ;
6449 (char *) "self", NULL
6452 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_Get",kwnames
,&obj0
)) goto fail
;
6453 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
6454 if (SWIG_arg_fail(1)) SWIG_fail
;
6456 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6457 result
= (PyObject
*)wxRect_Get(arg1
);
6459 wxPyEndAllowThreads(__tstate
);
6460 if (PyErr_Occurred()) SWIG_fail
;
6469 static PyObject
* Rect_swigregister(PyObject
*, PyObject
*args
) {
6471 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6472 SWIG_TypeClientData(SWIGTYPE_p_wxRect
, obj
);
6474 return Py_BuildValue((char *)"");
6476 static PyObject
*_wrap_IntersectRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6477 PyObject
*resultobj
;
6478 wxRect
*arg1
= (wxRect
*) 0 ;
6479 wxRect
*arg2
= (wxRect
*) 0 ;
6481 PyObject
* obj0
= 0 ;
6482 PyObject
* obj1
= 0 ;
6484 (char *) "r1",(char *) "r2", NULL
6487 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IntersectRect",kwnames
,&obj0
,&obj1
)) goto fail
;
6488 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
6489 if (SWIG_arg_fail(1)) SWIG_fail
;
6490 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
6491 if (SWIG_arg_fail(2)) SWIG_fail
;
6493 if (!wxPyCheckForApp()) SWIG_fail
;
6494 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6495 result
= (PyObject
*)wxIntersectRect(arg1
,arg2
);
6497 wxPyEndAllowThreads(__tstate
);
6498 if (PyErr_Occurred()) SWIG_fail
;
6507 static PyObject
*_wrap_new_Point2D(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6508 PyObject
*resultobj
;
6509 double arg1
= (double) 0.0 ;
6510 double arg2
= (double) 0.0 ;
6512 PyObject
* obj0
= 0 ;
6513 PyObject
* obj1
= 0 ;
6515 (char *) "x",(char *) "y", NULL
6518 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Point2D",kwnames
,&obj0
,&obj1
)) goto fail
;
6521 arg1
= (double)(SWIG_As_double(obj0
));
6522 if (SWIG_arg_fail(1)) SWIG_fail
;
6527 arg2
= (double)(SWIG_As_double(obj1
));
6528 if (SWIG_arg_fail(2)) SWIG_fail
;
6532 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6533 result
= (wxPoint2D
*)new wxPoint2D(arg1
,arg2
);
6535 wxPyEndAllowThreads(__tstate
);
6536 if (PyErr_Occurred()) SWIG_fail
;
6538 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint2D
, 1);
6545 static PyObject
*_wrap_new_Point2DCopy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6546 PyObject
*resultobj
;
6547 wxPoint2D
*arg1
= 0 ;
6550 PyObject
* obj0
= 0 ;
6555 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_Point2DCopy",kwnames
,&obj0
)) goto fail
;
6558 if ( ! wxPoint2D_helper(obj0
, &arg1
)) SWIG_fail
;
6561 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6562 result
= (wxPoint2D
*)new wxPoint2D((wxPoint2D
const &)*arg1
);
6564 wxPyEndAllowThreads(__tstate
);
6565 if (PyErr_Occurred()) SWIG_fail
;
6567 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint2D
, 1);
6574 static PyObject
*_wrap_new_Point2DFromPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6575 PyObject
*resultobj
;
6579 PyObject
* obj0
= 0 ;
6584 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_Point2DFromPoint",kwnames
,&obj0
)) goto fail
;
6587 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
6590 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6591 result
= (wxPoint2D
*)new wxPoint2D((wxPoint
const &)*arg1
);
6593 wxPyEndAllowThreads(__tstate
);
6594 if (PyErr_Occurred()) SWIG_fail
;
6596 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint2D
, 1);
6603 static PyObject
*_wrap_Point2D_GetFloor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6604 PyObject
*resultobj
;
6605 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
6606 int *arg2
= (int *) 0 ;
6607 int *arg3
= (int *) 0 ;
6612 PyObject
* obj0
= 0 ;
6614 (char *) "self", NULL
6617 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
6618 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
6619 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D_GetFloor",kwnames
,&obj0
)) goto fail
;
6620 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| 0);
6621 if (SWIG_arg_fail(1)) SWIG_fail
;
6623 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6624 ((wxPoint2D
const *)arg1
)->GetFloor(arg2
,arg3
);
6626 wxPyEndAllowThreads(__tstate
);
6627 if (PyErr_Occurred()) SWIG_fail
;
6629 Py_INCREF(Py_None
); resultobj
= Py_None
;
6630 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
6631 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
6632 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
6633 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
6640 static PyObject
*_wrap_Point2D_GetRounded(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6641 PyObject
*resultobj
;
6642 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
6643 int *arg2
= (int *) 0 ;
6644 int *arg3
= (int *) 0 ;
6649 PyObject
* obj0
= 0 ;
6651 (char *) "self", NULL
6654 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
6655 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
6656 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D_GetRounded",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 ((wxPoint2D
const *)arg1
)->GetRounded(arg2
,arg3
);
6663 wxPyEndAllowThreads(__tstate
);
6664 if (PyErr_Occurred()) SWIG_fail
;
6666 Py_INCREF(Py_None
); resultobj
= Py_None
;
6667 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
6668 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
6669 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
6670 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
6677 static PyObject
*_wrap_Point2D_GetVectorLength(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6678 PyObject
*resultobj
;
6679 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
6681 PyObject
* obj0
= 0 ;
6683 (char *) "self", NULL
6686 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D_GetVectorLength",kwnames
,&obj0
)) goto fail
;
6687 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| 0);
6688 if (SWIG_arg_fail(1)) SWIG_fail
;
6690 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6691 result
= (double)((wxPoint2D
const *)arg1
)->GetVectorLength();
6693 wxPyEndAllowThreads(__tstate
);
6694 if (PyErr_Occurred()) SWIG_fail
;
6697 resultobj
= SWIG_From_double((double)(result
));
6705 static PyObject
*_wrap_Point2D_GetVectorAngle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6706 PyObject
*resultobj
;
6707 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
6709 PyObject
* obj0
= 0 ;
6711 (char *) "self", NULL
6714 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D_GetVectorAngle",kwnames
,&obj0
)) goto fail
;
6715 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| 0);
6716 if (SWIG_arg_fail(1)) SWIG_fail
;
6718 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6719 result
= (double)((wxPoint2D
const *)arg1
)->GetVectorAngle();
6721 wxPyEndAllowThreads(__tstate
);
6722 if (PyErr_Occurred()) SWIG_fail
;
6725 resultobj
= SWIG_From_double((double)(result
));
6733 static PyObject
*_wrap_Point2D_SetVectorLength(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6734 PyObject
*resultobj
;
6735 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
6737 PyObject
* obj0
= 0 ;
6738 PyObject
* obj1
= 0 ;
6740 (char *) "self",(char *) "length", NULL
6743 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_SetVectorLength",kwnames
,&obj0
,&obj1
)) goto fail
;
6744 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| 0);
6745 if (SWIG_arg_fail(1)) SWIG_fail
;
6747 arg2
= (double)(SWIG_As_double(obj1
));
6748 if (SWIG_arg_fail(2)) SWIG_fail
;
6751 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6752 (arg1
)->SetVectorLength(arg2
);
6754 wxPyEndAllowThreads(__tstate
);
6755 if (PyErr_Occurred()) SWIG_fail
;
6757 Py_INCREF(Py_None
); resultobj
= Py_None
;
6764 static PyObject
*_wrap_Point2D_SetVectorAngle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6765 PyObject
*resultobj
;
6766 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
6768 PyObject
* obj0
= 0 ;
6769 PyObject
* obj1
= 0 ;
6771 (char *) "self",(char *) "degrees", NULL
6774 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_SetVectorAngle",kwnames
,&obj0
,&obj1
)) goto fail
;
6775 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| 0);
6776 if (SWIG_arg_fail(1)) SWIG_fail
;
6778 arg2
= (double)(SWIG_As_double(obj1
));
6779 if (SWIG_arg_fail(2)) SWIG_fail
;
6782 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6783 (arg1
)->SetVectorAngle(arg2
);
6785 wxPyEndAllowThreads(__tstate
);
6786 if (PyErr_Occurred()) SWIG_fail
;
6788 Py_INCREF(Py_None
); resultobj
= Py_None
;
6795 static PyObject
*_wrap_Point2D_GetDistance(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6796 PyObject
*resultobj
;
6797 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
6798 wxPoint2D
*arg2
= 0 ;
6801 PyObject
* obj0
= 0 ;
6802 PyObject
* obj1
= 0 ;
6804 (char *) "self",(char *) "pt", NULL
6807 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_GetDistance",kwnames
,&obj0
,&obj1
)) goto fail
;
6808 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| 0);
6809 if (SWIG_arg_fail(1)) SWIG_fail
;
6812 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
6815 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6816 result
= (double)((wxPoint2D
const *)arg1
)->GetDistance((wxPoint2D
const &)*arg2
);
6818 wxPyEndAllowThreads(__tstate
);
6819 if (PyErr_Occurred()) SWIG_fail
;
6822 resultobj
= SWIG_From_double((double)(result
));
6830 static PyObject
*_wrap_Point2D_GetDistanceSquare(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6831 PyObject
*resultobj
;
6832 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
6833 wxPoint2D
*arg2
= 0 ;
6836 PyObject
* obj0
= 0 ;
6837 PyObject
* obj1
= 0 ;
6839 (char *) "self",(char *) "pt", NULL
6842 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_GetDistanceSquare",kwnames
,&obj0
,&obj1
)) goto fail
;
6843 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| 0);
6844 if (SWIG_arg_fail(1)) SWIG_fail
;
6847 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
6850 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6851 result
= (double)((wxPoint2D
const *)arg1
)->GetDistanceSquare((wxPoint2D
const &)*arg2
);
6853 wxPyEndAllowThreads(__tstate
);
6854 if (PyErr_Occurred()) SWIG_fail
;
6857 resultobj
= SWIG_From_double((double)(result
));
6865 static PyObject
*_wrap_Point2D_GetDotProduct(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6866 PyObject
*resultobj
;
6867 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
6868 wxPoint2D
*arg2
= 0 ;
6871 PyObject
* obj0
= 0 ;
6872 PyObject
* obj1
= 0 ;
6874 (char *) "self",(char *) "vec", NULL
6877 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_GetDotProduct",kwnames
,&obj0
,&obj1
)) goto fail
;
6878 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| 0);
6879 if (SWIG_arg_fail(1)) SWIG_fail
;
6882 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
6885 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6886 result
= (double)((wxPoint2D
const *)arg1
)->GetDotProduct((wxPoint2D
const &)*arg2
);
6888 wxPyEndAllowThreads(__tstate
);
6889 if (PyErr_Occurred()) SWIG_fail
;
6892 resultobj
= SWIG_From_double((double)(result
));
6900 static PyObject
*_wrap_Point2D_GetCrossProduct(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6901 PyObject
*resultobj
;
6902 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
6903 wxPoint2D
*arg2
= 0 ;
6906 PyObject
* obj0
= 0 ;
6907 PyObject
* obj1
= 0 ;
6909 (char *) "self",(char *) "vec", NULL
6912 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_GetCrossProduct",kwnames
,&obj0
,&obj1
)) goto fail
;
6913 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| 0);
6914 if (SWIG_arg_fail(1)) SWIG_fail
;
6917 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
6920 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6921 result
= (double)((wxPoint2D
const *)arg1
)->GetCrossProduct((wxPoint2D
const &)*arg2
);
6923 wxPyEndAllowThreads(__tstate
);
6924 if (PyErr_Occurred()) SWIG_fail
;
6927 resultobj
= SWIG_From_double((double)(result
));
6935 static PyObject
*_wrap_Point2D___neg__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6936 PyObject
*resultobj
;
6937 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
6939 PyObject
* obj0
= 0 ;
6941 (char *) "self", NULL
6944 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D___neg__",kwnames
,&obj0
)) goto fail
;
6945 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| 0);
6946 if (SWIG_arg_fail(1)) SWIG_fail
;
6948 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6949 result
= (arg1
)->operator -();
6951 wxPyEndAllowThreads(__tstate
);
6952 if (PyErr_Occurred()) SWIG_fail
;
6955 wxPoint2D
* resultptr
;
6956 resultptr
= new wxPoint2D((wxPoint2D
&)(result
));
6957 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint2D
, 1);
6965 static PyObject
*_wrap_Point2D___iadd__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6966 PyObject
*resultobj
;
6967 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
6968 wxPoint2D
*arg2
= 0 ;
6971 PyObject
* obj0
= 0 ;
6972 PyObject
* obj1
= 0 ;
6974 (char *) "self",(char *) "pt", NULL
6977 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D___iadd__",kwnames
,&obj0
,&obj1
)) goto fail
;
6978 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
6979 if (SWIG_arg_fail(1)) SWIG_fail
;
6982 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
6985 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6987 wxPoint2D
&_result_ref
= (arg1
)->operator +=((wxPoint2D
const &)*arg2
);
6988 result
= (wxPoint2D
*) &_result_ref
;
6991 wxPyEndAllowThreads(__tstate
);
6992 if (PyErr_Occurred()) SWIG_fail
;
6994 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint2D
, 1);
7001 static PyObject
*_wrap_Point2D___isub__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7002 PyObject
*resultobj
;
7003 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
7004 wxPoint2D
*arg2
= 0 ;
7007 PyObject
* obj0
= 0 ;
7008 PyObject
* obj1
= 0 ;
7010 (char *) "self",(char *) "pt", NULL
7013 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D___isub__",kwnames
,&obj0
,&obj1
)) goto fail
;
7014 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
7015 if (SWIG_arg_fail(1)) SWIG_fail
;
7018 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
7021 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7023 wxPoint2D
&_result_ref
= (arg1
)->operator -=((wxPoint2D
const &)*arg2
);
7024 result
= (wxPoint2D
*) &_result_ref
;
7027 wxPyEndAllowThreads(__tstate
);
7028 if (PyErr_Occurred()) SWIG_fail
;
7030 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint2D
, 1);
7037 static PyObject
*_wrap_Point2D___imul__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7038 PyObject
*resultobj
;
7039 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
7040 wxPoint2D
*arg2
= 0 ;
7043 PyObject
* obj0
= 0 ;
7044 PyObject
* obj1
= 0 ;
7046 (char *) "self",(char *) "pt", NULL
7049 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D___imul__",kwnames
,&obj0
,&obj1
)) goto fail
;
7050 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
7051 if (SWIG_arg_fail(1)) SWIG_fail
;
7054 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
7057 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7059 wxPoint2D
&_result_ref
= (arg1
)->operator *=((wxPoint2D
const &)*arg2
);
7060 result
= (wxPoint2D
*) &_result_ref
;
7063 wxPyEndAllowThreads(__tstate
);
7064 if (PyErr_Occurred()) SWIG_fail
;
7066 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint2D
, 1);
7073 static PyObject
*_wrap_Point2D___idiv__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7074 PyObject
*resultobj
;
7075 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
7076 wxPoint2D
*arg2
= 0 ;
7079 PyObject
* obj0
= 0 ;
7080 PyObject
* obj1
= 0 ;
7082 (char *) "self",(char *) "pt", NULL
7085 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D___idiv__",kwnames
,&obj0
,&obj1
)) goto fail
;
7086 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
7087 if (SWIG_arg_fail(1)) SWIG_fail
;
7090 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
7093 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7095 wxPoint2D
&_result_ref
= (arg1
)->operator /=((wxPoint2D
const &)*arg2
);
7096 result
= (wxPoint2D
*) &_result_ref
;
7099 wxPyEndAllowThreads(__tstate
);
7100 if (PyErr_Occurred()) SWIG_fail
;
7102 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint2D
, 1);
7109 static PyObject
*_wrap_Point2D___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7110 PyObject
*resultobj
;
7111 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
7112 wxPoint2D
*arg2
= 0 ;
7115 PyObject
* obj0
= 0 ;
7116 PyObject
* obj1
= 0 ;
7118 (char *) "self",(char *) "pt", NULL
7121 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
7122 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| 0);
7123 if (SWIG_arg_fail(1)) SWIG_fail
;
7126 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
7129 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7130 result
= (bool)((wxPoint2D
const *)arg1
)->operator ==((wxPoint2D
const &)*arg2
);
7132 wxPyEndAllowThreads(__tstate
);
7133 if (PyErr_Occurred()) SWIG_fail
;
7136 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7144 static PyObject
*_wrap_Point2D___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7145 PyObject
*resultobj
;
7146 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
7147 wxPoint2D
*arg2
= 0 ;
7150 PyObject
* obj0
= 0 ;
7151 PyObject
* obj1
= 0 ;
7153 (char *) "self",(char *) "pt", NULL
7156 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
7157 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| 0);
7158 if (SWIG_arg_fail(1)) SWIG_fail
;
7161 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
7164 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7165 result
= (bool)((wxPoint2D
const *)arg1
)->operator !=((wxPoint2D
const &)*arg2
);
7167 wxPyEndAllowThreads(__tstate
);
7168 if (PyErr_Occurred()) SWIG_fail
;
7171 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7179 static PyObject
*_wrap_Point2D_x_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7180 PyObject
*resultobj
;
7181 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
7183 PyObject
* obj0
= 0 ;
7184 PyObject
* obj1
= 0 ;
7186 (char *) "self",(char *) "m_x", NULL
7189 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_x_set",kwnames
,&obj0
,&obj1
)) goto fail
;
7190 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| 0);
7191 if (SWIG_arg_fail(1)) SWIG_fail
;
7193 arg2
= (double)(SWIG_As_double(obj1
));
7194 if (SWIG_arg_fail(2)) SWIG_fail
;
7196 if (arg1
) (arg1
)->m_x
= arg2
;
7198 Py_INCREF(Py_None
); resultobj
= Py_None
;
7205 static PyObject
*_wrap_Point2D_x_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7206 PyObject
*resultobj
;
7207 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
7209 PyObject
* obj0
= 0 ;
7211 (char *) "self", NULL
7214 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D_x_get",kwnames
,&obj0
)) goto fail
;
7215 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| 0);
7216 if (SWIG_arg_fail(1)) SWIG_fail
;
7217 result
= (double) ((arg1
)->m_x
);
7220 resultobj
= SWIG_From_double((double)(result
));
7228 static PyObject
*_wrap_Point2D_y_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7229 PyObject
*resultobj
;
7230 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
7232 PyObject
* obj0
= 0 ;
7233 PyObject
* obj1
= 0 ;
7235 (char *) "self",(char *) "m_y", NULL
7238 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_y_set",kwnames
,&obj0
,&obj1
)) goto fail
;
7239 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| 0);
7240 if (SWIG_arg_fail(1)) SWIG_fail
;
7242 arg2
= (double)(SWIG_As_double(obj1
));
7243 if (SWIG_arg_fail(2)) SWIG_fail
;
7245 if (arg1
) (arg1
)->m_y
= arg2
;
7247 Py_INCREF(Py_None
); resultobj
= Py_None
;
7254 static PyObject
*_wrap_Point2D_y_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7255 PyObject
*resultobj
;
7256 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
7258 PyObject
* obj0
= 0 ;
7260 (char *) "self", NULL
7263 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D_y_get",kwnames
,&obj0
)) goto fail
;
7264 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| 0);
7265 if (SWIG_arg_fail(1)) SWIG_fail
;
7266 result
= (double) ((arg1
)->m_y
);
7269 resultobj
= SWIG_From_double((double)(result
));
7277 static PyObject
*_wrap_Point2D_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7278 PyObject
*resultobj
;
7279 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
7280 double arg2
= (double) 0 ;
7281 double arg3
= (double) 0 ;
7282 PyObject
* obj0
= 0 ;
7283 PyObject
* obj1
= 0 ;
7284 PyObject
* obj2
= 0 ;
7286 (char *) "self",(char *) "x",(char *) "y", NULL
7289 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Point2D_Set",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7290 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| 0);
7291 if (SWIG_arg_fail(1)) SWIG_fail
;
7294 arg2
= (double)(SWIG_As_double(obj1
));
7295 if (SWIG_arg_fail(2)) SWIG_fail
;
7300 arg3
= (double)(SWIG_As_double(obj2
));
7301 if (SWIG_arg_fail(3)) SWIG_fail
;
7305 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7306 wxPoint2D_Set(arg1
,arg2
,arg3
);
7308 wxPyEndAllowThreads(__tstate
);
7309 if (PyErr_Occurred()) SWIG_fail
;
7311 Py_INCREF(Py_None
); resultobj
= Py_None
;
7318 static PyObject
*_wrap_Point2D_Get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7319 PyObject
*resultobj
;
7320 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
7322 PyObject
* obj0
= 0 ;
7324 (char *) "self", NULL
7327 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D_Get",kwnames
,&obj0
)) goto fail
;
7328 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| 0);
7329 if (SWIG_arg_fail(1)) SWIG_fail
;
7331 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7332 result
= (PyObject
*)wxPoint2D_Get(arg1
);
7334 wxPyEndAllowThreads(__tstate
);
7335 if (PyErr_Occurred()) SWIG_fail
;
7344 static PyObject
* Point2D_swigregister(PyObject
*, PyObject
*args
) {
7346 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7347 SWIG_TypeClientData(SWIGTYPE_p_wxPoint2D
, obj
);
7349 return Py_BuildValue((char *)"");
7351 static int _wrap_DefaultPosition_set(PyObject
*) {
7352 PyErr_SetString(PyExc_TypeError
,"Variable DefaultPosition is read-only.");
7357 static PyObject
*_wrap_DefaultPosition_get(void) {
7360 pyobj
= SWIG_NewPointerObj((void *)(&wxDefaultPosition
), SWIGTYPE_p_wxPoint
, 0);
7365 static int _wrap_DefaultSize_set(PyObject
*) {
7366 PyErr_SetString(PyExc_TypeError
,"Variable DefaultSize is read-only.");
7371 static PyObject
*_wrap_DefaultSize_get(void) {
7374 pyobj
= SWIG_NewPointerObj((void *)(&wxDefaultSize
), SWIGTYPE_p_wxSize
, 0);
7379 static PyObject
*_wrap_new_InputStream(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7380 PyObject
*resultobj
;
7381 PyObject
*arg1
= (PyObject
*) 0 ;
7382 wxPyInputStream
*result
;
7383 PyObject
* obj0
= 0 ;
7388 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_InputStream",kwnames
,&obj0
)) goto fail
;
7391 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7392 result
= (wxPyInputStream
*)new_wxPyInputStream(arg1
);
7394 wxPyEndAllowThreads(__tstate
);
7395 if (PyErr_Occurred()) SWIG_fail
;
7397 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyInputStream
, 1);
7404 static PyObject
*_wrap_delete_InputStream(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7405 PyObject
*resultobj
;
7406 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
7407 PyObject
* obj0
= 0 ;
7409 (char *) "self", NULL
7412 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_InputStream",kwnames
,&obj0
)) goto fail
;
7413 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyInputStream
, SWIG_POINTER_EXCEPTION
| 0);
7414 if (SWIG_arg_fail(1)) SWIG_fail
;
7416 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7419 wxPyEndAllowThreads(__tstate
);
7420 if (PyErr_Occurred()) SWIG_fail
;
7422 Py_INCREF(Py_None
); resultobj
= Py_None
;
7429 static PyObject
*_wrap_InputStream_close(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7430 PyObject
*resultobj
;
7431 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
7432 PyObject
* obj0
= 0 ;
7434 (char *) "self", NULL
7437 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_close",kwnames
,&obj0
)) goto fail
;
7438 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyInputStream
, SWIG_POINTER_EXCEPTION
| 0);
7439 if (SWIG_arg_fail(1)) SWIG_fail
;
7441 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7444 wxPyEndAllowThreads(__tstate
);
7445 if (PyErr_Occurred()) SWIG_fail
;
7447 Py_INCREF(Py_None
); resultobj
= Py_None
;
7454 static PyObject
*_wrap_InputStream_flush(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7455 PyObject
*resultobj
;
7456 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
7457 PyObject
* obj0
= 0 ;
7459 (char *) "self", NULL
7462 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_flush",kwnames
,&obj0
)) goto fail
;
7463 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyInputStream
, SWIG_POINTER_EXCEPTION
| 0);
7464 if (SWIG_arg_fail(1)) SWIG_fail
;
7466 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7469 wxPyEndAllowThreads(__tstate
);
7470 if (PyErr_Occurred()) SWIG_fail
;
7472 Py_INCREF(Py_None
); resultobj
= Py_None
;
7479 static PyObject
*_wrap_InputStream_eof(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7480 PyObject
*resultobj
;
7481 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
7483 PyObject
* obj0
= 0 ;
7485 (char *) "self", NULL
7488 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_eof",kwnames
,&obj0
)) goto fail
;
7489 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyInputStream
, SWIG_POINTER_EXCEPTION
| 0);
7490 if (SWIG_arg_fail(1)) SWIG_fail
;
7492 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7493 result
= (bool)(arg1
)->eof();
7495 wxPyEndAllowThreads(__tstate
);
7496 if (PyErr_Occurred()) SWIG_fail
;
7499 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7507 static PyObject
*_wrap_InputStream_read(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7508 PyObject
*resultobj
;
7509 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
7510 int arg2
= (int) -1 ;
7512 PyObject
* obj0
= 0 ;
7513 PyObject
* obj1
= 0 ;
7515 (char *) "self",(char *) "size", NULL
7518 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:InputStream_read",kwnames
,&obj0
,&obj1
)) goto fail
;
7519 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyInputStream
, SWIG_POINTER_EXCEPTION
| 0);
7520 if (SWIG_arg_fail(1)) SWIG_fail
;
7523 arg2
= (int)(SWIG_As_int(obj1
));
7524 if (SWIG_arg_fail(2)) SWIG_fail
;
7528 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7529 result
= (PyObject
*)(arg1
)->read(arg2
);
7531 wxPyEndAllowThreads(__tstate
);
7532 if (PyErr_Occurred()) SWIG_fail
;
7541 static PyObject
*_wrap_InputStream_readline(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7542 PyObject
*resultobj
;
7543 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
7544 int arg2
= (int) -1 ;
7546 PyObject
* obj0
= 0 ;
7547 PyObject
* obj1
= 0 ;
7549 (char *) "self",(char *) "size", NULL
7552 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:InputStream_readline",kwnames
,&obj0
,&obj1
)) goto fail
;
7553 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyInputStream
, SWIG_POINTER_EXCEPTION
| 0);
7554 if (SWIG_arg_fail(1)) SWIG_fail
;
7557 arg2
= (int)(SWIG_As_int(obj1
));
7558 if (SWIG_arg_fail(2)) SWIG_fail
;
7562 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7563 result
= (PyObject
*)(arg1
)->readline(arg2
);
7565 wxPyEndAllowThreads(__tstate
);
7566 if (PyErr_Occurred()) SWIG_fail
;
7575 static PyObject
*_wrap_InputStream_readlines(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7576 PyObject
*resultobj
;
7577 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
7578 int arg2
= (int) -1 ;
7580 PyObject
* obj0
= 0 ;
7581 PyObject
* obj1
= 0 ;
7583 (char *) "self",(char *) "sizehint", NULL
7586 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:InputStream_readlines",kwnames
,&obj0
,&obj1
)) goto fail
;
7587 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyInputStream
, SWIG_POINTER_EXCEPTION
| 0);
7588 if (SWIG_arg_fail(1)) SWIG_fail
;
7591 arg2
= (int)(SWIG_As_int(obj1
));
7592 if (SWIG_arg_fail(2)) SWIG_fail
;
7596 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7597 result
= (PyObject
*)(arg1
)->readlines(arg2
);
7599 wxPyEndAllowThreads(__tstate
);
7600 if (PyErr_Occurred()) SWIG_fail
;
7609 static PyObject
*_wrap_InputStream_seek(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7610 PyObject
*resultobj
;
7611 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
7613 int arg3
= (int) 0 ;
7614 PyObject
* obj0
= 0 ;
7615 PyObject
* obj1
= 0 ;
7616 PyObject
* obj2
= 0 ;
7618 (char *) "self",(char *) "offset",(char *) "whence", NULL
7621 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:InputStream_seek",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7622 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyInputStream
, SWIG_POINTER_EXCEPTION
| 0);
7623 if (SWIG_arg_fail(1)) SWIG_fail
;
7625 arg2
= (int)(SWIG_As_int(obj1
));
7626 if (SWIG_arg_fail(2)) SWIG_fail
;
7630 arg3
= (int)(SWIG_As_int(obj2
));
7631 if (SWIG_arg_fail(3)) SWIG_fail
;
7635 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7636 (arg1
)->seek(arg2
,arg3
);
7638 wxPyEndAllowThreads(__tstate
);
7639 if (PyErr_Occurred()) SWIG_fail
;
7641 Py_INCREF(Py_None
); resultobj
= Py_None
;
7648 static PyObject
*_wrap_InputStream_tell(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7649 PyObject
*resultobj
;
7650 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
7652 PyObject
* obj0
= 0 ;
7654 (char *) "self", NULL
7657 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_tell",kwnames
,&obj0
)) goto fail
;
7658 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyInputStream
, SWIG_POINTER_EXCEPTION
| 0);
7659 if (SWIG_arg_fail(1)) SWIG_fail
;
7661 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7662 result
= (int)(arg1
)->tell();
7664 wxPyEndAllowThreads(__tstate
);
7665 if (PyErr_Occurred()) SWIG_fail
;
7668 resultobj
= SWIG_From_int((int)(result
));
7676 static PyObject
*_wrap_InputStream_Peek(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7677 PyObject
*resultobj
;
7678 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
7680 PyObject
* obj0
= 0 ;
7682 (char *) "self", NULL
7685 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_Peek",kwnames
,&obj0
)) goto fail
;
7686 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyInputStream
, SWIG_POINTER_EXCEPTION
| 0);
7687 if (SWIG_arg_fail(1)) SWIG_fail
;
7689 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7690 result
= (char)(arg1
)->Peek();
7692 wxPyEndAllowThreads(__tstate
);
7693 if (PyErr_Occurred()) SWIG_fail
;
7696 resultobj
= SWIG_From_char((char)(result
));
7704 static PyObject
*_wrap_InputStream_GetC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7705 PyObject
*resultobj
;
7706 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
7708 PyObject
* obj0
= 0 ;
7710 (char *) "self", NULL
7713 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_GetC",kwnames
,&obj0
)) goto fail
;
7714 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyInputStream
, SWIG_POINTER_EXCEPTION
| 0);
7715 if (SWIG_arg_fail(1)) SWIG_fail
;
7717 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7718 result
= (char)(arg1
)->GetC();
7720 wxPyEndAllowThreads(__tstate
);
7721 if (PyErr_Occurred()) SWIG_fail
;
7724 resultobj
= SWIG_From_char((char)(result
));
7732 static PyObject
*_wrap_InputStream_LastRead(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7733 PyObject
*resultobj
;
7734 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
7736 PyObject
* obj0
= 0 ;
7738 (char *) "self", NULL
7741 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_LastRead",kwnames
,&obj0
)) goto fail
;
7742 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyInputStream
, SWIG_POINTER_EXCEPTION
| 0);
7743 if (SWIG_arg_fail(1)) SWIG_fail
;
7745 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7746 result
= (size_t)(arg1
)->LastRead();
7748 wxPyEndAllowThreads(__tstate
);
7749 if (PyErr_Occurred()) SWIG_fail
;
7752 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
7760 static PyObject
*_wrap_InputStream_CanRead(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7761 PyObject
*resultobj
;
7762 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
7764 PyObject
* obj0
= 0 ;
7766 (char *) "self", NULL
7769 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_CanRead",kwnames
,&obj0
)) 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 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7774 result
= (bool)(arg1
)->CanRead();
7776 wxPyEndAllowThreads(__tstate
);
7777 if (PyErr_Occurred()) SWIG_fail
;
7780 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7788 static PyObject
*_wrap_InputStream_Eof(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7789 PyObject
*resultobj
;
7790 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
7792 PyObject
* obj0
= 0 ;
7794 (char *) "self", NULL
7797 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_Eof",kwnames
,&obj0
)) goto fail
;
7798 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyInputStream
, SWIG_POINTER_EXCEPTION
| 0);
7799 if (SWIG_arg_fail(1)) SWIG_fail
;
7801 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7802 result
= (bool)(arg1
)->Eof();
7804 wxPyEndAllowThreads(__tstate
);
7805 if (PyErr_Occurred()) SWIG_fail
;
7808 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7816 static PyObject
*_wrap_InputStream_Ungetch(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7817 PyObject
*resultobj
;
7818 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
7821 PyObject
* obj0
= 0 ;
7822 PyObject
* obj1
= 0 ;
7824 (char *) "self",(char *) "c", NULL
7827 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:InputStream_Ungetch",kwnames
,&obj0
,&obj1
)) goto fail
;
7828 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyInputStream
, SWIG_POINTER_EXCEPTION
| 0);
7829 if (SWIG_arg_fail(1)) SWIG_fail
;
7831 arg2
= (char)(SWIG_As_char(obj1
));
7832 if (SWIG_arg_fail(2)) SWIG_fail
;
7835 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7836 result
= (bool)(arg1
)->Ungetch(arg2
);
7838 wxPyEndAllowThreads(__tstate
);
7839 if (PyErr_Occurred()) SWIG_fail
;
7842 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7850 static PyObject
*_wrap_InputStream_SeekI(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7851 PyObject
*resultobj
;
7852 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
7854 wxSeekMode arg3
= (wxSeekMode
) wxFromStart
;
7856 PyObject
* obj0
= 0 ;
7857 PyObject
* obj1
= 0 ;
7858 PyObject
* obj2
= 0 ;
7860 (char *) "self",(char *) "pos",(char *) "mode", NULL
7863 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:InputStream_SeekI",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7864 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyInputStream
, SWIG_POINTER_EXCEPTION
| 0);
7865 if (SWIG_arg_fail(1)) SWIG_fail
;
7867 arg2
= (long)(SWIG_As_long(obj1
));
7868 if (SWIG_arg_fail(2)) SWIG_fail
;
7872 arg3
= (wxSeekMode
)(SWIG_As_int(obj2
));
7873 if (SWIG_arg_fail(3)) SWIG_fail
;
7877 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7878 result
= (long)(arg1
)->SeekI(arg2
,(wxSeekMode
)arg3
);
7880 wxPyEndAllowThreads(__tstate
);
7881 if (PyErr_Occurred()) SWIG_fail
;
7884 resultobj
= SWIG_From_long((long)(result
));
7892 static PyObject
*_wrap_InputStream_TellI(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7893 PyObject
*resultobj
;
7894 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
7896 PyObject
* obj0
= 0 ;
7898 (char *) "self", NULL
7901 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_TellI",kwnames
,&obj0
)) goto fail
;
7902 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyInputStream
, SWIG_POINTER_EXCEPTION
| 0);
7903 if (SWIG_arg_fail(1)) SWIG_fail
;
7905 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7906 result
= (long)(arg1
)->TellI();
7908 wxPyEndAllowThreads(__tstate
);
7909 if (PyErr_Occurred()) SWIG_fail
;
7912 resultobj
= SWIG_From_long((long)(result
));
7920 static PyObject
* InputStream_swigregister(PyObject
*, PyObject
*args
) {
7922 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7923 SWIG_TypeClientData(SWIGTYPE_p_wxPyInputStream
, obj
);
7925 return Py_BuildValue((char *)"");
7927 static PyObject
*_wrap_OutputStream_write(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7928 PyObject
*resultobj
;
7929 wxOutputStream
*arg1
= (wxOutputStream
*) 0 ;
7930 PyObject
*arg2
= (PyObject
*) 0 ;
7931 PyObject
* obj0
= 0 ;
7932 PyObject
* obj1
= 0 ;
7934 (char *) "self",(char *) "obj", NULL
7937 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:OutputStream_write",kwnames
,&obj0
,&obj1
)) goto fail
;
7938 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxOutputStream
, SWIG_POINTER_EXCEPTION
| 0);
7939 if (SWIG_arg_fail(1)) SWIG_fail
;
7942 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7943 wxOutputStream_write(arg1
,arg2
);
7945 wxPyEndAllowThreads(__tstate
);
7946 if (PyErr_Occurred()) SWIG_fail
;
7948 Py_INCREF(Py_None
); resultobj
= Py_None
;
7955 static PyObject
* OutputStream_swigregister(PyObject
*, PyObject
*args
) {
7957 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7958 SWIG_TypeClientData(SWIGTYPE_p_wxOutputStream
, obj
);
7960 return Py_BuildValue((char *)"");
7962 static PyObject
*_wrap_new_FSFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7963 PyObject
*resultobj
;
7964 wxInputStream
*arg1
= (wxInputStream
*) 0 ;
7965 wxString
*arg2
= 0 ;
7966 wxString
*arg3
= 0 ;
7967 wxString
*arg4
= 0 ;
7970 wxPyInputStream
*temp1
;
7971 bool temp2
= false ;
7972 bool temp3
= false ;
7973 bool temp4
= false ;
7974 PyObject
* obj0
= 0 ;
7975 PyObject
* obj1
= 0 ;
7976 PyObject
* obj2
= 0 ;
7977 PyObject
* obj3
= 0 ;
7978 PyObject
* obj4
= 0 ;
7980 (char *) "stream",(char *) "loc",(char *) "mimetype",(char *) "anchor",(char *) "modif", NULL
7983 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:new_FSFile",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
7985 if (wxPyConvertSwigPtr(obj0
, (void **)&temp1
, wxT("wxPyInputStream"))) {
7986 arg1
= wxPyCBInputStream_copy((wxPyCBInputStream
*)temp1
->m_wxis
);
7988 PyErr_Clear(); // clear the failure of the wxPyConvert above
7989 arg1
= wxPyCBInputStream_create(obj0
, true);
7991 PyErr_SetString(PyExc_TypeError
, "Expected wx.InputStream or Python file-like object.");
7997 arg2
= wxString_in_helper(obj1
);
7998 if (arg2
== NULL
) SWIG_fail
;
8002 arg3
= wxString_in_helper(obj2
);
8003 if (arg3
== NULL
) SWIG_fail
;
8007 arg4
= wxString_in_helper(obj3
);
8008 if (arg4
== NULL
) SWIG_fail
;
8013 SWIG_Python_ConvertPtr(obj4
, (void **)&argp
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
);
8014 if (SWIG_arg_fail(5)) SWIG_fail
;
8016 SWIG_null_ref("wxDateTime");
8018 if (SWIG_arg_fail(5)) SWIG_fail
;
8022 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8023 result
= (wxFSFile
*)new wxFSFile(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
);
8025 wxPyEndAllowThreads(__tstate
);
8026 if (PyErr_Occurred()) SWIG_fail
;
8029 resultobj
= wxPyMake_wxObject(result
, 1);
8061 static PyObject
*_wrap_delete_FSFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8062 PyObject
*resultobj
;
8063 wxFSFile
*arg1
= (wxFSFile
*) 0 ;
8064 PyObject
* obj0
= 0 ;
8066 (char *) "self", NULL
8069 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FSFile",kwnames
,&obj0
)) goto fail
;
8070 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFSFile
, SWIG_POINTER_EXCEPTION
| 0);
8071 if (SWIG_arg_fail(1)) SWIG_fail
;
8073 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8076 wxPyEndAllowThreads(__tstate
);
8077 if (PyErr_Occurred()) SWIG_fail
;
8079 Py_INCREF(Py_None
); resultobj
= Py_None
;
8086 static PyObject
*_wrap_FSFile_GetStream(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8087 PyObject
*resultobj
;
8088 wxFSFile
*arg1
= (wxFSFile
*) 0 ;
8089 wxInputStream
*result
;
8090 PyObject
* obj0
= 0 ;
8092 (char *) "self", NULL
8095 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FSFile_GetStream",kwnames
,&obj0
)) goto fail
;
8096 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFSFile
, SWIG_POINTER_EXCEPTION
| 0);
8097 if (SWIG_arg_fail(1)) SWIG_fail
;
8099 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8100 result
= (wxInputStream
*)(arg1
)->GetStream();
8102 wxPyEndAllowThreads(__tstate
);
8103 if (PyErr_Occurred()) SWIG_fail
;
8106 wxPyInputStream
* _ptr
= NULL
;
8109 _ptr
= new wxPyInputStream(result
);
8111 resultobj
= wxPyConstructObject(_ptr
, wxT("wxPyInputStream"), 0);
8119 static PyObject
*_wrap_FSFile_GetMimeType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8120 PyObject
*resultobj
;
8121 wxFSFile
*arg1
= (wxFSFile
*) 0 ;
8123 PyObject
* obj0
= 0 ;
8125 (char *) "self", NULL
8128 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FSFile_GetMimeType",kwnames
,&obj0
)) goto fail
;
8129 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFSFile
, SWIG_POINTER_EXCEPTION
| 0);
8130 if (SWIG_arg_fail(1)) SWIG_fail
;
8132 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8134 wxString
const &_result_ref
= (arg1
)->GetMimeType();
8135 result
= (wxString
*) &_result_ref
;
8138 wxPyEndAllowThreads(__tstate
);
8139 if (PyErr_Occurred()) SWIG_fail
;
8143 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
8145 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
8154 static PyObject
*_wrap_FSFile_GetLocation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8155 PyObject
*resultobj
;
8156 wxFSFile
*arg1
= (wxFSFile
*) 0 ;
8158 PyObject
* obj0
= 0 ;
8160 (char *) "self", NULL
8163 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FSFile_GetLocation",kwnames
,&obj0
)) goto fail
;
8164 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFSFile
, SWIG_POINTER_EXCEPTION
| 0);
8165 if (SWIG_arg_fail(1)) SWIG_fail
;
8167 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8169 wxString
const &_result_ref
= (arg1
)->GetLocation();
8170 result
= (wxString
*) &_result_ref
;
8173 wxPyEndAllowThreads(__tstate
);
8174 if (PyErr_Occurred()) SWIG_fail
;
8178 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
8180 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
8189 static PyObject
*_wrap_FSFile_GetAnchor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8190 PyObject
*resultobj
;
8191 wxFSFile
*arg1
= (wxFSFile
*) 0 ;
8193 PyObject
* obj0
= 0 ;
8195 (char *) "self", NULL
8198 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FSFile_GetAnchor",kwnames
,&obj0
)) goto fail
;
8199 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFSFile
, SWIG_POINTER_EXCEPTION
| 0);
8200 if (SWIG_arg_fail(1)) SWIG_fail
;
8202 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8204 wxString
const &_result_ref
= (arg1
)->GetAnchor();
8205 result
= (wxString
*) &_result_ref
;
8208 wxPyEndAllowThreads(__tstate
);
8209 if (PyErr_Occurred()) SWIG_fail
;
8213 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
8215 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
8224 static PyObject
*_wrap_FSFile_GetModificationTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8225 PyObject
*resultobj
;
8226 wxFSFile
*arg1
= (wxFSFile
*) 0 ;
8228 PyObject
* obj0
= 0 ;
8230 (char *) "self", NULL
8233 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FSFile_GetModificationTime",kwnames
,&obj0
)) goto fail
;
8234 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFSFile
, SWIG_POINTER_EXCEPTION
| 0);
8235 if (SWIG_arg_fail(1)) SWIG_fail
;
8237 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8238 result
= (arg1
)->GetModificationTime();
8240 wxPyEndAllowThreads(__tstate
);
8241 if (PyErr_Occurred()) SWIG_fail
;
8244 wxDateTime
* resultptr
;
8245 resultptr
= new wxDateTime((wxDateTime
&)(result
));
8246 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
8254 static PyObject
* FSFile_swigregister(PyObject
*, PyObject
*args
) {
8256 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8257 SWIG_TypeClientData(SWIGTYPE_p_wxFSFile
, obj
);
8259 return Py_BuildValue((char *)"");
8261 static PyObject
* CPPFileSystemHandler_swigregister(PyObject
*, PyObject
*args
) {
8263 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8264 SWIG_TypeClientData(SWIGTYPE_p_wxFileSystemHandler
, obj
);
8266 return Py_BuildValue((char *)"");
8268 static PyObject
*_wrap_new_FileSystemHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8269 PyObject
*resultobj
;
8270 wxPyFileSystemHandler
*result
;
8275 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_FileSystemHandler",kwnames
)) goto fail
;
8277 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8278 result
= (wxPyFileSystemHandler
*)new wxPyFileSystemHandler();
8280 wxPyEndAllowThreads(__tstate
);
8281 if (PyErr_Occurred()) SWIG_fail
;
8283 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyFileSystemHandler
, 1);
8290 static PyObject
*_wrap_FileSystemHandler__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8291 PyObject
*resultobj
;
8292 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
8293 PyObject
*arg2
= (PyObject
*) 0 ;
8294 PyObject
*arg3
= (PyObject
*) 0 ;
8295 PyObject
* obj0
= 0 ;
8296 PyObject
* obj1
= 0 ;
8297 PyObject
* obj2
= 0 ;
8299 (char *) "self",(char *) "self",(char *) "_class", NULL
8302 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:FileSystemHandler__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8303 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyFileSystemHandler
, SWIG_POINTER_EXCEPTION
| 0);
8304 if (SWIG_arg_fail(1)) SWIG_fail
;
8308 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8309 (arg1
)->_setCallbackInfo(arg2
,arg3
);
8311 wxPyEndAllowThreads(__tstate
);
8312 if (PyErr_Occurred()) SWIG_fail
;
8314 Py_INCREF(Py_None
); resultobj
= Py_None
;
8321 static PyObject
*_wrap_FileSystemHandler_CanOpen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8322 PyObject
*resultobj
;
8323 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
8324 wxString
*arg2
= 0 ;
8326 bool temp2
= false ;
8327 PyObject
* obj0
= 0 ;
8328 PyObject
* obj1
= 0 ;
8330 (char *) "self",(char *) "location", NULL
8333 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystemHandler_CanOpen",kwnames
,&obj0
,&obj1
)) goto fail
;
8334 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyFileSystemHandler
, SWIG_POINTER_EXCEPTION
| 0);
8335 if (SWIG_arg_fail(1)) SWIG_fail
;
8337 arg2
= wxString_in_helper(obj1
);
8338 if (arg2
== NULL
) SWIG_fail
;
8342 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8343 result
= (bool)(arg1
)->CanOpen((wxString
const &)*arg2
);
8345 wxPyEndAllowThreads(__tstate
);
8346 if (PyErr_Occurred()) SWIG_fail
;
8349 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8365 static PyObject
*_wrap_FileSystemHandler_OpenFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8366 PyObject
*resultobj
;
8367 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
8368 wxFileSystem
*arg2
= 0 ;
8369 wxString
*arg3
= 0 ;
8371 bool temp3
= false ;
8372 PyObject
* obj0
= 0 ;
8373 PyObject
* obj1
= 0 ;
8374 PyObject
* obj2
= 0 ;
8376 (char *) "self",(char *) "fs",(char *) "location", NULL
8379 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:FileSystemHandler_OpenFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8380 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyFileSystemHandler
, SWIG_POINTER_EXCEPTION
| 0);
8381 if (SWIG_arg_fail(1)) SWIG_fail
;
8383 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFileSystem
, SWIG_POINTER_EXCEPTION
| 0);
8384 if (SWIG_arg_fail(2)) SWIG_fail
;
8386 SWIG_null_ref("wxFileSystem");
8388 if (SWIG_arg_fail(2)) SWIG_fail
;
8391 arg3
= wxString_in_helper(obj2
);
8392 if (arg3
== NULL
) SWIG_fail
;
8396 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8397 result
= (wxFSFile
*)(arg1
)->OpenFile(*arg2
,(wxString
const &)*arg3
);
8399 wxPyEndAllowThreads(__tstate
);
8400 if (PyErr_Occurred()) SWIG_fail
;
8403 resultobj
= wxPyMake_wxObject(result
, 1);
8419 static PyObject
*_wrap_FileSystemHandler_FindFirst(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8420 PyObject
*resultobj
;
8421 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
8422 wxString
*arg2
= 0 ;
8423 int arg3
= (int) 0 ;
8425 bool temp2
= false ;
8426 PyObject
* obj0
= 0 ;
8427 PyObject
* obj1
= 0 ;
8428 PyObject
* obj2
= 0 ;
8430 (char *) "self",(char *) "spec",(char *) "flags", NULL
8433 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileSystemHandler_FindFirst",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8434 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyFileSystemHandler
, SWIG_POINTER_EXCEPTION
| 0);
8435 if (SWIG_arg_fail(1)) SWIG_fail
;
8437 arg2
= wxString_in_helper(obj1
);
8438 if (arg2
== NULL
) SWIG_fail
;
8443 arg3
= (int)(SWIG_As_int(obj2
));
8444 if (SWIG_arg_fail(3)) SWIG_fail
;
8448 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8449 result
= (arg1
)->FindFirst((wxString
const &)*arg2
,arg3
);
8451 wxPyEndAllowThreads(__tstate
);
8452 if (PyErr_Occurred()) SWIG_fail
;
8456 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8458 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8475 static PyObject
*_wrap_FileSystemHandler_FindNext(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8476 PyObject
*resultobj
;
8477 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
8479 PyObject
* obj0
= 0 ;
8481 (char *) "self", NULL
8484 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileSystemHandler_FindNext",kwnames
,&obj0
)) goto fail
;
8485 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyFileSystemHandler
, SWIG_POINTER_EXCEPTION
| 0);
8486 if (SWIG_arg_fail(1)) SWIG_fail
;
8488 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8489 result
= (arg1
)->FindNext();
8491 wxPyEndAllowThreads(__tstate
);
8492 if (PyErr_Occurred()) SWIG_fail
;
8496 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8498 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8507 static PyObject
*_wrap_FileSystemHandler_GetProtocol(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8508 PyObject
*resultobj
;
8509 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
8510 wxString
*arg2
= 0 ;
8512 bool temp2
= false ;
8513 PyObject
* obj0
= 0 ;
8514 PyObject
* obj1
= 0 ;
8516 (char *) "self",(char *) "location", NULL
8519 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystemHandler_GetProtocol",kwnames
,&obj0
,&obj1
)) goto fail
;
8520 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyFileSystemHandler
, SWIG_POINTER_EXCEPTION
| 0);
8521 if (SWIG_arg_fail(1)) SWIG_fail
;
8523 arg2
= wxString_in_helper(obj1
);
8524 if (arg2
== NULL
) SWIG_fail
;
8528 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8529 result
= (arg1
)->GetProtocol((wxString
const &)*arg2
);
8531 wxPyEndAllowThreads(__tstate
);
8532 if (PyErr_Occurred()) SWIG_fail
;
8536 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8538 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8555 static PyObject
*_wrap_FileSystemHandler_GetLeftLocation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8556 PyObject
*resultobj
;
8557 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
8558 wxString
*arg2
= 0 ;
8560 bool temp2
= false ;
8561 PyObject
* obj0
= 0 ;
8562 PyObject
* obj1
= 0 ;
8564 (char *) "self",(char *) "location", NULL
8567 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystemHandler_GetLeftLocation",kwnames
,&obj0
,&obj1
)) goto fail
;
8568 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyFileSystemHandler
, SWIG_POINTER_EXCEPTION
| 0);
8569 if (SWIG_arg_fail(1)) SWIG_fail
;
8571 arg2
= wxString_in_helper(obj1
);
8572 if (arg2
== NULL
) SWIG_fail
;
8576 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8577 result
= (arg1
)->GetLeftLocation((wxString
const &)*arg2
);
8579 wxPyEndAllowThreads(__tstate
);
8580 if (PyErr_Occurred()) SWIG_fail
;
8584 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8586 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8603 static PyObject
*_wrap_FileSystemHandler_GetAnchor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8604 PyObject
*resultobj
;
8605 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
8606 wxString
*arg2
= 0 ;
8608 bool temp2
= false ;
8609 PyObject
* obj0
= 0 ;
8610 PyObject
* obj1
= 0 ;
8612 (char *) "self",(char *) "location", NULL
8615 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystemHandler_GetAnchor",kwnames
,&obj0
,&obj1
)) goto fail
;
8616 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyFileSystemHandler
, SWIG_POINTER_EXCEPTION
| 0);
8617 if (SWIG_arg_fail(1)) SWIG_fail
;
8619 arg2
= wxString_in_helper(obj1
);
8620 if (arg2
== NULL
) SWIG_fail
;
8624 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8625 result
= (arg1
)->GetAnchor((wxString
const &)*arg2
);
8627 wxPyEndAllowThreads(__tstate
);
8628 if (PyErr_Occurred()) SWIG_fail
;
8632 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8634 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8651 static PyObject
*_wrap_FileSystemHandler_GetRightLocation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8652 PyObject
*resultobj
;
8653 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
8654 wxString
*arg2
= 0 ;
8656 bool temp2
= false ;
8657 PyObject
* obj0
= 0 ;
8658 PyObject
* obj1
= 0 ;
8660 (char *) "self",(char *) "location", NULL
8663 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystemHandler_GetRightLocation",kwnames
,&obj0
,&obj1
)) goto fail
;
8664 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyFileSystemHandler
, SWIG_POINTER_EXCEPTION
| 0);
8665 if (SWIG_arg_fail(1)) SWIG_fail
;
8667 arg2
= wxString_in_helper(obj1
);
8668 if (arg2
== NULL
) SWIG_fail
;
8672 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8673 result
= (arg1
)->GetRightLocation((wxString
const &)*arg2
);
8675 wxPyEndAllowThreads(__tstate
);
8676 if (PyErr_Occurred()) SWIG_fail
;
8680 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8682 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8699 static PyObject
*_wrap_FileSystemHandler_GetMimeTypeFromExt(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8700 PyObject
*resultobj
;
8701 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
8702 wxString
*arg2
= 0 ;
8704 bool temp2
= false ;
8705 PyObject
* obj0
= 0 ;
8706 PyObject
* obj1
= 0 ;
8708 (char *) "self",(char *) "location", NULL
8711 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystemHandler_GetMimeTypeFromExt",kwnames
,&obj0
,&obj1
)) goto fail
;
8712 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyFileSystemHandler
, SWIG_POINTER_EXCEPTION
| 0);
8713 if (SWIG_arg_fail(1)) SWIG_fail
;
8715 arg2
= wxString_in_helper(obj1
);
8716 if (arg2
== NULL
) SWIG_fail
;
8720 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8721 result
= (arg1
)->GetMimeTypeFromExt((wxString
const &)*arg2
);
8723 wxPyEndAllowThreads(__tstate
);
8724 if (PyErr_Occurred()) SWIG_fail
;
8728 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8730 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8747 static PyObject
* FileSystemHandler_swigregister(PyObject
*, PyObject
*args
) {
8749 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8750 SWIG_TypeClientData(SWIGTYPE_p_wxPyFileSystemHandler
, obj
);
8752 return Py_BuildValue((char *)"");
8754 static PyObject
*_wrap_new_FileSystem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8755 PyObject
*resultobj
;
8756 wxFileSystem
*result
;
8761 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_FileSystem",kwnames
)) goto fail
;
8763 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8764 result
= (wxFileSystem
*)new wxFileSystem();
8766 wxPyEndAllowThreads(__tstate
);
8767 if (PyErr_Occurred()) SWIG_fail
;
8770 resultobj
= wxPyMake_wxObject(result
, 1);
8778 static PyObject
*_wrap_delete_FileSystem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8779 PyObject
*resultobj
;
8780 wxFileSystem
*arg1
= (wxFileSystem
*) 0 ;
8781 PyObject
* obj0
= 0 ;
8783 (char *) "self", NULL
8786 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FileSystem",kwnames
,&obj0
)) goto fail
;
8787 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileSystem
, SWIG_POINTER_EXCEPTION
| 0);
8788 if (SWIG_arg_fail(1)) SWIG_fail
;
8790 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8793 wxPyEndAllowThreads(__tstate
);
8794 if (PyErr_Occurred()) SWIG_fail
;
8796 Py_INCREF(Py_None
); resultobj
= Py_None
;
8803 static PyObject
*_wrap_FileSystem_ChangePathTo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8804 PyObject
*resultobj
;
8805 wxFileSystem
*arg1
= (wxFileSystem
*) 0 ;
8806 wxString
*arg2
= 0 ;
8807 bool arg3
= (bool) false ;
8808 bool temp2
= false ;
8809 PyObject
* obj0
= 0 ;
8810 PyObject
* obj1
= 0 ;
8811 PyObject
* obj2
= 0 ;
8813 (char *) "self",(char *) "location",(char *) "is_dir", NULL
8816 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileSystem_ChangePathTo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8817 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileSystem
, SWIG_POINTER_EXCEPTION
| 0);
8818 if (SWIG_arg_fail(1)) SWIG_fail
;
8820 arg2
= wxString_in_helper(obj1
);
8821 if (arg2
== NULL
) SWIG_fail
;
8826 arg3
= (bool)(SWIG_As_bool(obj2
));
8827 if (SWIG_arg_fail(3)) SWIG_fail
;
8831 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8832 (arg1
)->ChangePathTo((wxString
const &)*arg2
,arg3
);
8834 wxPyEndAllowThreads(__tstate
);
8835 if (PyErr_Occurred()) SWIG_fail
;
8837 Py_INCREF(Py_None
); resultobj
= Py_None
;
8852 static PyObject
*_wrap_FileSystem_GetPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8853 PyObject
*resultobj
;
8854 wxFileSystem
*arg1
= (wxFileSystem
*) 0 ;
8856 PyObject
* obj0
= 0 ;
8858 (char *) "self", NULL
8861 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileSystem_GetPath",kwnames
,&obj0
)) goto fail
;
8862 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileSystem
, SWIG_POINTER_EXCEPTION
| 0);
8863 if (SWIG_arg_fail(1)) SWIG_fail
;
8865 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8866 result
= (arg1
)->GetPath();
8868 wxPyEndAllowThreads(__tstate
);
8869 if (PyErr_Occurred()) SWIG_fail
;
8873 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8875 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8884 static PyObject
*_wrap_FileSystem_OpenFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8885 PyObject
*resultobj
;
8886 wxFileSystem
*arg1
= (wxFileSystem
*) 0 ;
8887 wxString
*arg2
= 0 ;
8889 bool temp2
= false ;
8890 PyObject
* obj0
= 0 ;
8891 PyObject
* obj1
= 0 ;
8893 (char *) "self",(char *) "location", NULL
8896 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystem_OpenFile",kwnames
,&obj0
,&obj1
)) goto fail
;
8897 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileSystem
, SWIG_POINTER_EXCEPTION
| 0);
8898 if (SWIG_arg_fail(1)) SWIG_fail
;
8900 arg2
= wxString_in_helper(obj1
);
8901 if (arg2
== NULL
) SWIG_fail
;
8905 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8906 result
= (wxFSFile
*)(arg1
)->OpenFile((wxString
const &)*arg2
);
8908 wxPyEndAllowThreads(__tstate
);
8909 if (PyErr_Occurred()) SWIG_fail
;
8912 resultobj
= wxPyMake_wxObject(result
, 1);
8928 static PyObject
*_wrap_FileSystem_FindFirst(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8929 PyObject
*resultobj
;
8930 wxFileSystem
*arg1
= (wxFileSystem
*) 0 ;
8931 wxString
*arg2
= 0 ;
8932 int arg3
= (int) 0 ;
8934 bool temp2
= false ;
8935 PyObject
* obj0
= 0 ;
8936 PyObject
* obj1
= 0 ;
8937 PyObject
* obj2
= 0 ;
8939 (char *) "self",(char *) "spec",(char *) "flags", NULL
8942 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileSystem_FindFirst",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8943 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileSystem
, SWIG_POINTER_EXCEPTION
| 0);
8944 if (SWIG_arg_fail(1)) SWIG_fail
;
8946 arg2
= wxString_in_helper(obj1
);
8947 if (arg2
== NULL
) SWIG_fail
;
8952 arg3
= (int)(SWIG_As_int(obj2
));
8953 if (SWIG_arg_fail(3)) SWIG_fail
;
8957 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8958 result
= (arg1
)->FindFirst((wxString
const &)*arg2
,arg3
);
8960 wxPyEndAllowThreads(__tstate
);
8961 if (PyErr_Occurred()) SWIG_fail
;
8965 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8967 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8984 static PyObject
*_wrap_FileSystem_FindNext(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8985 PyObject
*resultobj
;
8986 wxFileSystem
*arg1
= (wxFileSystem
*) 0 ;
8988 PyObject
* obj0
= 0 ;
8990 (char *) "self", NULL
8993 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileSystem_FindNext",kwnames
,&obj0
)) goto fail
;
8994 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileSystem
, SWIG_POINTER_EXCEPTION
| 0);
8995 if (SWIG_arg_fail(1)) SWIG_fail
;
8997 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8998 result
= (arg1
)->FindNext();
9000 wxPyEndAllowThreads(__tstate
);
9001 if (PyErr_Occurred()) SWIG_fail
;
9005 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9007 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9016 static PyObject
*_wrap_FileSystem_AddHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9017 PyObject
*resultobj
;
9018 wxFileSystemHandler
*arg1
= (wxFileSystemHandler
*) 0 ;
9019 PyObject
* obj0
= 0 ;
9021 (char *) "handler", NULL
9024 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileSystem_AddHandler",kwnames
,&obj0
)) goto fail
;
9025 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileSystemHandler
, SWIG_POINTER_EXCEPTION
| 0);
9026 if (SWIG_arg_fail(1)) SWIG_fail
;
9028 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9029 wxFileSystem::AddHandler(arg1
);
9031 wxPyEndAllowThreads(__tstate
);
9032 if (PyErr_Occurred()) SWIG_fail
;
9034 Py_INCREF(Py_None
); resultobj
= Py_None
;
9041 static PyObject
*_wrap_FileSystem_CleanUpHandlers(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9042 PyObject
*resultobj
;
9047 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":FileSystem_CleanUpHandlers",kwnames
)) goto fail
;
9049 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9050 wxFileSystem::CleanUpHandlers();
9052 wxPyEndAllowThreads(__tstate
);
9053 if (PyErr_Occurred()) SWIG_fail
;
9055 Py_INCREF(Py_None
); resultobj
= Py_None
;
9062 static PyObject
*_wrap_FileSystem_FileNameToURL(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9063 PyObject
*resultobj
;
9064 wxString
*arg1
= 0 ;
9066 bool temp1
= false ;
9067 PyObject
* obj0
= 0 ;
9069 (char *) "filename", NULL
9072 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileSystem_FileNameToURL",kwnames
,&obj0
)) goto fail
;
9074 arg1
= wxString_in_helper(obj0
);
9075 if (arg1
== NULL
) SWIG_fail
;
9079 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9080 result
= wxFileSystem::FileNameToURL((wxString
const &)*arg1
);
9082 wxPyEndAllowThreads(__tstate
);
9083 if (PyErr_Occurred()) SWIG_fail
;
9087 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9089 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9106 static PyObject
*_wrap_FileSystem_URLToFileName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9107 PyObject
*resultobj
;
9108 wxString
*arg1
= 0 ;
9110 bool temp1
= false ;
9111 PyObject
* obj0
= 0 ;
9113 (char *) "url", NULL
9116 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileSystem_URLToFileName",kwnames
,&obj0
)) goto fail
;
9118 arg1
= wxString_in_helper(obj0
);
9119 if (arg1
== NULL
) SWIG_fail
;
9123 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9124 result
= FileSystem_URLToFileName((wxString
const &)*arg1
);
9126 wxPyEndAllowThreads(__tstate
);
9127 if (PyErr_Occurred()) SWIG_fail
;
9131 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9133 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9150 static PyObject
* FileSystem_swigregister(PyObject
*, PyObject
*args
) {
9152 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9153 SWIG_TypeClientData(SWIGTYPE_p_wxFileSystem
, obj
);
9155 return Py_BuildValue((char *)"");
9157 static PyObject
*_wrap_new_InternetFSHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9158 PyObject
*resultobj
;
9159 wxInternetFSHandler
*result
;
9164 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_InternetFSHandler",kwnames
)) goto fail
;
9166 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9167 result
= (wxInternetFSHandler
*)new wxInternetFSHandler();
9169 wxPyEndAllowThreads(__tstate
);
9170 if (PyErr_Occurred()) SWIG_fail
;
9172 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxInternetFSHandler
, 1);
9179 static PyObject
*_wrap_InternetFSHandler_CanOpen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9180 PyObject
*resultobj
;
9181 wxInternetFSHandler
*arg1
= (wxInternetFSHandler
*) 0 ;
9182 wxString
*arg2
= 0 ;
9184 bool temp2
= false ;
9185 PyObject
* obj0
= 0 ;
9186 PyObject
* obj1
= 0 ;
9188 (char *) "self",(char *) "location", NULL
9191 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:InternetFSHandler_CanOpen",kwnames
,&obj0
,&obj1
)) goto fail
;
9192 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxInternetFSHandler
, SWIG_POINTER_EXCEPTION
| 0);
9193 if (SWIG_arg_fail(1)) SWIG_fail
;
9195 arg2
= wxString_in_helper(obj1
);
9196 if (arg2
== NULL
) SWIG_fail
;
9200 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9201 result
= (bool)(arg1
)->CanOpen((wxString
const &)*arg2
);
9203 wxPyEndAllowThreads(__tstate
);
9204 if (PyErr_Occurred()) SWIG_fail
;
9207 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9223 static PyObject
*_wrap_InternetFSHandler_OpenFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9224 PyObject
*resultobj
;
9225 wxInternetFSHandler
*arg1
= (wxInternetFSHandler
*) 0 ;
9226 wxFileSystem
*arg2
= 0 ;
9227 wxString
*arg3
= 0 ;
9229 bool temp3
= false ;
9230 PyObject
* obj0
= 0 ;
9231 PyObject
* obj1
= 0 ;
9232 PyObject
* obj2
= 0 ;
9234 (char *) "self",(char *) "fs",(char *) "location", NULL
9237 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:InternetFSHandler_OpenFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9238 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxInternetFSHandler
, SWIG_POINTER_EXCEPTION
| 0);
9239 if (SWIG_arg_fail(1)) SWIG_fail
;
9241 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFileSystem
, SWIG_POINTER_EXCEPTION
| 0);
9242 if (SWIG_arg_fail(2)) SWIG_fail
;
9244 SWIG_null_ref("wxFileSystem");
9246 if (SWIG_arg_fail(2)) SWIG_fail
;
9249 arg3
= wxString_in_helper(obj2
);
9250 if (arg3
== NULL
) SWIG_fail
;
9254 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9255 result
= (wxFSFile
*)(arg1
)->OpenFile(*arg2
,(wxString
const &)*arg3
);
9257 wxPyEndAllowThreads(__tstate
);
9258 if (PyErr_Occurred()) SWIG_fail
;
9261 resultobj
= wxPyMake_wxObject(result
, 1);
9277 static PyObject
* InternetFSHandler_swigregister(PyObject
*, PyObject
*args
) {
9279 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9280 SWIG_TypeClientData(SWIGTYPE_p_wxInternetFSHandler
, obj
);
9282 return Py_BuildValue((char *)"");
9284 static PyObject
*_wrap_new_ZipFSHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9285 PyObject
*resultobj
;
9286 wxZipFSHandler
*result
;
9291 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ZipFSHandler",kwnames
)) goto fail
;
9293 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9294 result
= (wxZipFSHandler
*)new wxZipFSHandler();
9296 wxPyEndAllowThreads(__tstate
);
9297 if (PyErr_Occurred()) SWIG_fail
;
9299 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxZipFSHandler
, 1);
9306 static PyObject
*_wrap_ZipFSHandler_CanOpen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9307 PyObject
*resultobj
;
9308 wxZipFSHandler
*arg1
= (wxZipFSHandler
*) 0 ;
9309 wxString
*arg2
= 0 ;
9311 bool temp2
= false ;
9312 PyObject
* obj0
= 0 ;
9313 PyObject
* obj1
= 0 ;
9315 (char *) "self",(char *) "location", NULL
9318 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ZipFSHandler_CanOpen",kwnames
,&obj0
,&obj1
)) goto fail
;
9319 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxZipFSHandler
, SWIG_POINTER_EXCEPTION
| 0);
9320 if (SWIG_arg_fail(1)) SWIG_fail
;
9322 arg2
= wxString_in_helper(obj1
);
9323 if (arg2
== NULL
) SWIG_fail
;
9327 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9328 result
= (bool)(arg1
)->CanOpen((wxString
const &)*arg2
);
9330 wxPyEndAllowThreads(__tstate
);
9331 if (PyErr_Occurred()) SWIG_fail
;
9334 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9350 static PyObject
*_wrap_ZipFSHandler_OpenFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9351 PyObject
*resultobj
;
9352 wxZipFSHandler
*arg1
= (wxZipFSHandler
*) 0 ;
9353 wxFileSystem
*arg2
= 0 ;
9354 wxString
*arg3
= 0 ;
9356 bool temp3
= false ;
9357 PyObject
* obj0
= 0 ;
9358 PyObject
* obj1
= 0 ;
9359 PyObject
* obj2
= 0 ;
9361 (char *) "self",(char *) "fs",(char *) "location", NULL
9364 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ZipFSHandler_OpenFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9365 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxZipFSHandler
, SWIG_POINTER_EXCEPTION
| 0);
9366 if (SWIG_arg_fail(1)) SWIG_fail
;
9368 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFileSystem
, SWIG_POINTER_EXCEPTION
| 0);
9369 if (SWIG_arg_fail(2)) SWIG_fail
;
9371 SWIG_null_ref("wxFileSystem");
9373 if (SWIG_arg_fail(2)) SWIG_fail
;
9376 arg3
= wxString_in_helper(obj2
);
9377 if (arg3
== NULL
) SWIG_fail
;
9381 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9382 result
= (wxFSFile
*)(arg1
)->OpenFile(*arg2
,(wxString
const &)*arg3
);
9384 wxPyEndAllowThreads(__tstate
);
9385 if (PyErr_Occurred()) SWIG_fail
;
9388 resultobj
= wxPyMake_wxObject(result
, 1);
9404 static PyObject
*_wrap_ZipFSHandler_FindFirst(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9405 PyObject
*resultobj
;
9406 wxZipFSHandler
*arg1
= (wxZipFSHandler
*) 0 ;
9407 wxString
*arg2
= 0 ;
9408 int arg3
= (int) 0 ;
9410 bool temp2
= false ;
9411 PyObject
* obj0
= 0 ;
9412 PyObject
* obj1
= 0 ;
9413 PyObject
* obj2
= 0 ;
9415 (char *) "self",(char *) "spec",(char *) "flags", NULL
9418 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ZipFSHandler_FindFirst",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9419 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxZipFSHandler
, SWIG_POINTER_EXCEPTION
| 0);
9420 if (SWIG_arg_fail(1)) SWIG_fail
;
9422 arg2
= wxString_in_helper(obj1
);
9423 if (arg2
== NULL
) SWIG_fail
;
9428 arg3
= (int)(SWIG_As_int(obj2
));
9429 if (SWIG_arg_fail(3)) SWIG_fail
;
9433 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9434 result
= (arg1
)->FindFirst((wxString
const &)*arg2
,arg3
);
9436 wxPyEndAllowThreads(__tstate
);
9437 if (PyErr_Occurred()) SWIG_fail
;
9441 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9443 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9460 static PyObject
*_wrap_ZipFSHandler_FindNext(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9461 PyObject
*resultobj
;
9462 wxZipFSHandler
*arg1
= (wxZipFSHandler
*) 0 ;
9464 PyObject
* obj0
= 0 ;
9466 (char *) "self", NULL
9469 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ZipFSHandler_FindNext",kwnames
,&obj0
)) goto fail
;
9470 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxZipFSHandler
, SWIG_POINTER_EXCEPTION
| 0);
9471 if (SWIG_arg_fail(1)) SWIG_fail
;
9473 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9474 result
= (arg1
)->FindNext();
9476 wxPyEndAllowThreads(__tstate
);
9477 if (PyErr_Occurred()) SWIG_fail
;
9481 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9483 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9492 static PyObject
* ZipFSHandler_swigregister(PyObject
*, PyObject
*args
) {
9494 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9495 SWIG_TypeClientData(SWIGTYPE_p_wxZipFSHandler
, obj
);
9497 return Py_BuildValue((char *)"");
9499 static PyObject
*_wrap___wxMemoryFSHandler_AddFile_wxImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9500 PyObject
*resultobj
;
9501 wxString
*arg1
= 0 ;
9504 bool temp1
= false ;
9505 PyObject
* obj0
= 0 ;
9506 PyObject
* obj1
= 0 ;
9507 PyObject
* obj2
= 0 ;
9509 (char *) "filename",(char *) "image",(char *) "type", NULL
9512 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:__wxMemoryFSHandler_AddFile_wxImage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9514 arg1
= wxString_in_helper(obj0
);
9515 if (arg1
== NULL
) SWIG_fail
;
9519 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
9520 if (SWIG_arg_fail(2)) SWIG_fail
;
9522 SWIG_null_ref("wxImage");
9524 if (SWIG_arg_fail(2)) SWIG_fail
;
9527 arg3
= (long)(SWIG_As_long(obj2
));
9528 if (SWIG_arg_fail(3)) SWIG_fail
;
9531 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9532 __wxMemoryFSHandler_AddFile_wxImage((wxString
const &)*arg1
,*arg2
,arg3
);
9534 wxPyEndAllowThreads(__tstate
);
9535 if (PyErr_Occurred()) SWIG_fail
;
9537 Py_INCREF(Py_None
); resultobj
= Py_None
;
9552 static PyObject
*_wrap___wxMemoryFSHandler_AddFile_wxBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9553 PyObject
*resultobj
;
9554 wxString
*arg1
= 0 ;
9555 wxBitmap
*arg2
= 0 ;
9557 bool temp1
= false ;
9558 PyObject
* obj0
= 0 ;
9559 PyObject
* obj1
= 0 ;
9560 PyObject
* obj2
= 0 ;
9562 (char *) "filename",(char *) "bitmap",(char *) "type", NULL
9565 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:__wxMemoryFSHandler_AddFile_wxBitmap",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9567 arg1
= wxString_in_helper(obj0
);
9568 if (arg1
== NULL
) SWIG_fail
;
9572 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
9573 if (SWIG_arg_fail(2)) SWIG_fail
;
9575 SWIG_null_ref("wxBitmap");
9577 if (SWIG_arg_fail(2)) SWIG_fail
;
9580 arg3
= (long)(SWIG_As_long(obj2
));
9581 if (SWIG_arg_fail(3)) SWIG_fail
;
9584 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9585 __wxMemoryFSHandler_AddFile_wxBitmap((wxString
const &)*arg1
,(wxBitmap
const &)*arg2
,arg3
);
9587 wxPyEndAllowThreads(__tstate
);
9588 if (PyErr_Occurred()) SWIG_fail
;
9590 Py_INCREF(Py_None
); resultobj
= Py_None
;
9605 static PyObject
*_wrap___wxMemoryFSHandler_AddFile_Data(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9606 PyObject
*resultobj
;
9607 wxString
*arg1
= 0 ;
9608 PyObject
*arg2
= (PyObject
*) 0 ;
9609 bool temp1
= false ;
9610 PyObject
* obj0
= 0 ;
9611 PyObject
* obj1
= 0 ;
9613 (char *) "filename",(char *) "data", NULL
9616 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:__wxMemoryFSHandler_AddFile_Data",kwnames
,&obj0
,&obj1
)) goto fail
;
9618 arg1
= wxString_in_helper(obj0
);
9619 if (arg1
== NULL
) SWIG_fail
;
9624 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9625 __wxMemoryFSHandler_AddFile_Data((wxString
const &)*arg1
,arg2
);
9627 wxPyEndAllowThreads(__tstate
);
9628 if (PyErr_Occurred()) SWIG_fail
;
9630 Py_INCREF(Py_None
); resultobj
= Py_None
;
9645 static PyObject
*_wrap_new_MemoryFSHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9646 PyObject
*resultobj
;
9647 wxMemoryFSHandler
*result
;
9652 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_MemoryFSHandler",kwnames
)) goto fail
;
9654 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9655 result
= (wxMemoryFSHandler
*)new wxMemoryFSHandler();
9657 wxPyEndAllowThreads(__tstate
);
9658 if (PyErr_Occurred()) SWIG_fail
;
9660 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMemoryFSHandler
, 1);
9667 static PyObject
*_wrap_MemoryFSHandler_RemoveFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9668 PyObject
*resultobj
;
9669 wxString
*arg1
= 0 ;
9670 bool temp1
= false ;
9671 PyObject
* obj0
= 0 ;
9673 (char *) "filename", NULL
9676 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MemoryFSHandler_RemoveFile",kwnames
,&obj0
)) goto fail
;
9678 arg1
= wxString_in_helper(obj0
);
9679 if (arg1
== NULL
) SWIG_fail
;
9683 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9684 wxMemoryFSHandler::RemoveFile((wxString
const &)*arg1
);
9686 wxPyEndAllowThreads(__tstate
);
9687 if (PyErr_Occurred()) SWIG_fail
;
9689 Py_INCREF(Py_None
); resultobj
= Py_None
;
9704 static PyObject
*_wrap_MemoryFSHandler_CanOpen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9705 PyObject
*resultobj
;
9706 wxMemoryFSHandler
*arg1
= (wxMemoryFSHandler
*) 0 ;
9707 wxString
*arg2
= 0 ;
9709 bool temp2
= false ;
9710 PyObject
* obj0
= 0 ;
9711 PyObject
* obj1
= 0 ;
9713 (char *) "self",(char *) "location", NULL
9716 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MemoryFSHandler_CanOpen",kwnames
,&obj0
,&obj1
)) goto fail
;
9717 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMemoryFSHandler
, SWIG_POINTER_EXCEPTION
| 0);
9718 if (SWIG_arg_fail(1)) SWIG_fail
;
9720 arg2
= wxString_in_helper(obj1
);
9721 if (arg2
== NULL
) SWIG_fail
;
9725 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9726 result
= (bool)(arg1
)->CanOpen((wxString
const &)*arg2
);
9728 wxPyEndAllowThreads(__tstate
);
9729 if (PyErr_Occurred()) SWIG_fail
;
9732 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9748 static PyObject
*_wrap_MemoryFSHandler_OpenFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9749 PyObject
*resultobj
;
9750 wxMemoryFSHandler
*arg1
= (wxMemoryFSHandler
*) 0 ;
9751 wxFileSystem
*arg2
= 0 ;
9752 wxString
*arg3
= 0 ;
9754 bool temp3
= false ;
9755 PyObject
* obj0
= 0 ;
9756 PyObject
* obj1
= 0 ;
9757 PyObject
* obj2
= 0 ;
9759 (char *) "self",(char *) "fs",(char *) "location", NULL
9762 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MemoryFSHandler_OpenFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9763 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMemoryFSHandler
, SWIG_POINTER_EXCEPTION
| 0);
9764 if (SWIG_arg_fail(1)) SWIG_fail
;
9766 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFileSystem
, SWIG_POINTER_EXCEPTION
| 0);
9767 if (SWIG_arg_fail(2)) SWIG_fail
;
9769 SWIG_null_ref("wxFileSystem");
9771 if (SWIG_arg_fail(2)) SWIG_fail
;
9774 arg3
= wxString_in_helper(obj2
);
9775 if (arg3
== NULL
) SWIG_fail
;
9779 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9780 result
= (wxFSFile
*)(arg1
)->OpenFile(*arg2
,(wxString
const &)*arg3
);
9782 wxPyEndAllowThreads(__tstate
);
9783 if (PyErr_Occurred()) SWIG_fail
;
9786 resultobj
= wxPyMake_wxObject(result
, 1);
9802 static PyObject
*_wrap_MemoryFSHandler_FindFirst(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9803 PyObject
*resultobj
;
9804 wxMemoryFSHandler
*arg1
= (wxMemoryFSHandler
*) 0 ;
9805 wxString
*arg2
= 0 ;
9806 int arg3
= (int) 0 ;
9808 bool temp2
= false ;
9809 PyObject
* obj0
= 0 ;
9810 PyObject
* obj1
= 0 ;
9811 PyObject
* obj2
= 0 ;
9813 (char *) "self",(char *) "spec",(char *) "flags", NULL
9816 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:MemoryFSHandler_FindFirst",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9817 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMemoryFSHandler
, SWIG_POINTER_EXCEPTION
| 0);
9818 if (SWIG_arg_fail(1)) SWIG_fail
;
9820 arg2
= wxString_in_helper(obj1
);
9821 if (arg2
== NULL
) SWIG_fail
;
9826 arg3
= (int)(SWIG_As_int(obj2
));
9827 if (SWIG_arg_fail(3)) SWIG_fail
;
9831 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9832 result
= (arg1
)->FindFirst((wxString
const &)*arg2
,arg3
);
9834 wxPyEndAllowThreads(__tstate
);
9835 if (PyErr_Occurred()) SWIG_fail
;
9839 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9841 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9858 static PyObject
*_wrap_MemoryFSHandler_FindNext(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9859 PyObject
*resultobj
;
9860 wxMemoryFSHandler
*arg1
= (wxMemoryFSHandler
*) 0 ;
9862 PyObject
* obj0
= 0 ;
9864 (char *) "self", NULL
9867 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MemoryFSHandler_FindNext",kwnames
,&obj0
)) goto fail
;
9868 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMemoryFSHandler
, SWIG_POINTER_EXCEPTION
| 0);
9869 if (SWIG_arg_fail(1)) SWIG_fail
;
9871 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9872 result
= (arg1
)->FindNext();
9874 wxPyEndAllowThreads(__tstate
);
9875 if (PyErr_Occurred()) SWIG_fail
;
9879 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9881 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9890 static PyObject
* MemoryFSHandler_swigregister(PyObject
*, PyObject
*args
) {
9892 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9893 SWIG_TypeClientData(SWIGTYPE_p_wxMemoryFSHandler
, obj
);
9895 return Py_BuildValue((char *)"");
9897 static PyObject
*_wrap_ImageHandler_GetName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9898 PyObject
*resultobj
;
9899 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
9901 PyObject
* obj0
= 0 ;
9903 (char *) "self", NULL
9906 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ImageHandler_GetName",kwnames
,&obj0
)) goto fail
;
9907 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImageHandler
, SWIG_POINTER_EXCEPTION
| 0);
9908 if (SWIG_arg_fail(1)) SWIG_fail
;
9910 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9911 result
= (arg1
)->GetName();
9913 wxPyEndAllowThreads(__tstate
);
9914 if (PyErr_Occurred()) SWIG_fail
;
9918 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9920 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9929 static PyObject
*_wrap_ImageHandler_GetExtension(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9930 PyObject
*resultobj
;
9931 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
9933 PyObject
* obj0
= 0 ;
9935 (char *) "self", NULL
9938 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ImageHandler_GetExtension",kwnames
,&obj0
)) goto fail
;
9939 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImageHandler
, SWIG_POINTER_EXCEPTION
| 0);
9940 if (SWIG_arg_fail(1)) SWIG_fail
;
9942 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9943 result
= (arg1
)->GetExtension();
9945 wxPyEndAllowThreads(__tstate
);
9946 if (PyErr_Occurred()) SWIG_fail
;
9950 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9952 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9961 static PyObject
*_wrap_ImageHandler_GetType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9962 PyObject
*resultobj
;
9963 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
9965 PyObject
* obj0
= 0 ;
9967 (char *) "self", NULL
9970 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ImageHandler_GetType",kwnames
,&obj0
)) goto fail
;
9971 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImageHandler
, SWIG_POINTER_EXCEPTION
| 0);
9972 if (SWIG_arg_fail(1)) SWIG_fail
;
9974 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9975 result
= (long)(arg1
)->GetType();
9977 wxPyEndAllowThreads(__tstate
);
9978 if (PyErr_Occurred()) SWIG_fail
;
9981 resultobj
= SWIG_From_long((long)(result
));
9989 static PyObject
*_wrap_ImageHandler_GetMimeType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9990 PyObject
*resultobj
;
9991 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
9993 PyObject
* obj0
= 0 ;
9995 (char *) "self", NULL
9998 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ImageHandler_GetMimeType",kwnames
,&obj0
)) goto fail
;
9999 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImageHandler
, SWIG_POINTER_EXCEPTION
| 0);
10000 if (SWIG_arg_fail(1)) SWIG_fail
;
10002 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10003 result
= (arg1
)->GetMimeType();
10005 wxPyEndAllowThreads(__tstate
);
10006 if (PyErr_Occurred()) SWIG_fail
;
10010 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10012 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10021 static PyObject
*_wrap_ImageHandler_CanRead(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10022 PyObject
*resultobj
;
10023 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
10024 wxString
*arg2
= 0 ;
10026 bool temp2
= false ;
10027 PyObject
* obj0
= 0 ;
10028 PyObject
* obj1
= 0 ;
10029 char *kwnames
[] = {
10030 (char *) "self",(char *) "name", NULL
10033 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageHandler_CanRead",kwnames
,&obj0
,&obj1
)) goto fail
;
10034 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImageHandler
, SWIG_POINTER_EXCEPTION
| 0);
10035 if (SWIG_arg_fail(1)) SWIG_fail
;
10037 arg2
= wxString_in_helper(obj1
);
10038 if (arg2
== NULL
) SWIG_fail
;
10042 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10043 result
= (bool)(arg1
)->CanRead((wxString
const &)*arg2
);
10045 wxPyEndAllowThreads(__tstate
);
10046 if (PyErr_Occurred()) SWIG_fail
;
10049 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10065 static PyObject
*_wrap_ImageHandler_SetName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10066 PyObject
*resultobj
;
10067 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
10068 wxString
*arg2
= 0 ;
10069 bool temp2
= false ;
10070 PyObject
* obj0
= 0 ;
10071 PyObject
* obj1
= 0 ;
10072 char *kwnames
[] = {
10073 (char *) "self",(char *) "name", NULL
10076 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageHandler_SetName",kwnames
,&obj0
,&obj1
)) goto fail
;
10077 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImageHandler
, SWIG_POINTER_EXCEPTION
| 0);
10078 if (SWIG_arg_fail(1)) SWIG_fail
;
10080 arg2
= wxString_in_helper(obj1
);
10081 if (arg2
== NULL
) SWIG_fail
;
10085 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10086 (arg1
)->SetName((wxString
const &)*arg2
);
10088 wxPyEndAllowThreads(__tstate
);
10089 if (PyErr_Occurred()) SWIG_fail
;
10091 Py_INCREF(Py_None
); resultobj
= Py_None
;
10106 static PyObject
*_wrap_ImageHandler_SetExtension(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10107 PyObject
*resultobj
;
10108 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
10109 wxString
*arg2
= 0 ;
10110 bool temp2
= false ;
10111 PyObject
* obj0
= 0 ;
10112 PyObject
* obj1
= 0 ;
10113 char *kwnames
[] = {
10114 (char *) "self",(char *) "extension", NULL
10117 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageHandler_SetExtension",kwnames
,&obj0
,&obj1
)) goto fail
;
10118 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImageHandler
, SWIG_POINTER_EXCEPTION
| 0);
10119 if (SWIG_arg_fail(1)) SWIG_fail
;
10121 arg2
= wxString_in_helper(obj1
);
10122 if (arg2
== NULL
) SWIG_fail
;
10126 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10127 (arg1
)->SetExtension((wxString
const &)*arg2
);
10129 wxPyEndAllowThreads(__tstate
);
10130 if (PyErr_Occurred()) SWIG_fail
;
10132 Py_INCREF(Py_None
); resultobj
= Py_None
;
10147 static PyObject
*_wrap_ImageHandler_SetType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10148 PyObject
*resultobj
;
10149 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
10151 PyObject
* obj0
= 0 ;
10152 PyObject
* obj1
= 0 ;
10153 char *kwnames
[] = {
10154 (char *) "self",(char *) "type", NULL
10157 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageHandler_SetType",kwnames
,&obj0
,&obj1
)) goto fail
;
10158 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImageHandler
, SWIG_POINTER_EXCEPTION
| 0);
10159 if (SWIG_arg_fail(1)) SWIG_fail
;
10161 arg2
= (long)(SWIG_As_long(obj1
));
10162 if (SWIG_arg_fail(2)) SWIG_fail
;
10165 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10166 (arg1
)->SetType(arg2
);
10168 wxPyEndAllowThreads(__tstate
);
10169 if (PyErr_Occurred()) SWIG_fail
;
10171 Py_INCREF(Py_None
); resultobj
= Py_None
;
10178 static PyObject
*_wrap_ImageHandler_SetMimeType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10179 PyObject
*resultobj
;
10180 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
10181 wxString
*arg2
= 0 ;
10182 bool temp2
= false ;
10183 PyObject
* obj0
= 0 ;
10184 PyObject
* obj1
= 0 ;
10185 char *kwnames
[] = {
10186 (char *) "self",(char *) "mimetype", NULL
10189 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageHandler_SetMimeType",kwnames
,&obj0
,&obj1
)) goto fail
;
10190 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImageHandler
, SWIG_POINTER_EXCEPTION
| 0);
10191 if (SWIG_arg_fail(1)) SWIG_fail
;
10193 arg2
= wxString_in_helper(obj1
);
10194 if (arg2
== NULL
) SWIG_fail
;
10198 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10199 (arg1
)->SetMimeType((wxString
const &)*arg2
);
10201 wxPyEndAllowThreads(__tstate
);
10202 if (PyErr_Occurred()) SWIG_fail
;
10204 Py_INCREF(Py_None
); resultobj
= Py_None
;
10219 static PyObject
* ImageHandler_swigregister(PyObject
*, PyObject
*args
) {
10221 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10222 SWIG_TypeClientData(SWIGTYPE_p_wxImageHandler
, obj
);
10224 return Py_BuildValue((char *)"");
10226 static PyObject
*_wrap_new_ImageHistogram(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10227 PyObject
*resultobj
;
10228 wxImageHistogram
*result
;
10229 char *kwnames
[] = {
10233 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ImageHistogram",kwnames
)) goto fail
;
10235 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10236 result
= (wxImageHistogram
*)new wxImageHistogram();
10238 wxPyEndAllowThreads(__tstate
);
10239 if (PyErr_Occurred()) SWIG_fail
;
10241 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImageHistogram
, 1);
10248 static PyObject
*_wrap_ImageHistogram_MakeKey(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10249 PyObject
*resultobj
;
10253 unsigned long result
;
10254 PyObject
* obj0
= 0 ;
10255 PyObject
* obj1
= 0 ;
10256 PyObject
* obj2
= 0 ;
10257 char *kwnames
[] = {
10258 (char *) "r",(char *) "g",(char *) "b", NULL
10261 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ImageHistogram_MakeKey",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10263 arg1
= (byte
)(SWIG_As_unsigned_SS_char(obj0
));
10264 if (SWIG_arg_fail(1)) SWIG_fail
;
10267 arg2
= (byte
)(SWIG_As_unsigned_SS_char(obj1
));
10268 if (SWIG_arg_fail(2)) SWIG_fail
;
10271 arg3
= (byte
)(SWIG_As_unsigned_SS_char(obj2
));
10272 if (SWIG_arg_fail(3)) SWIG_fail
;
10275 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10276 result
= (unsigned long)wxImageHistogram::MakeKey(arg1
,arg2
,arg3
);
10278 wxPyEndAllowThreads(__tstate
);
10279 if (PyErr_Occurred()) SWIG_fail
;
10282 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
10290 static PyObject
*_wrap_ImageHistogram_FindFirstUnusedColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10291 PyObject
*resultobj
;
10292 wxImageHistogram
*arg1
= (wxImageHistogram
*) 0 ;
10293 byte
*arg2
= (byte
*) 0 ;
10294 byte
*arg3
= (byte
*) 0 ;
10295 byte
*arg4
= (byte
*) 0 ;
10296 byte arg5
= (byte
) 1 ;
10297 byte arg6
= (byte
) 0 ;
10298 byte arg7
= (byte
) 0 ;
10306 PyObject
* obj0
= 0 ;
10307 PyObject
* obj1
= 0 ;
10308 PyObject
* obj2
= 0 ;
10309 PyObject
* obj3
= 0 ;
10310 char *kwnames
[] = {
10311 (char *) "self",(char *) "startR",(char *) "startG",(char *) "startB", NULL
10314 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
10315 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
10316 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
10317 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:ImageHistogram_FindFirstUnusedColour",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
10318 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImageHistogram
, SWIG_POINTER_EXCEPTION
| 0);
10319 if (SWIG_arg_fail(1)) SWIG_fail
;
10322 arg5
= (byte
)(SWIG_As_unsigned_SS_char(obj1
));
10323 if (SWIG_arg_fail(5)) SWIG_fail
;
10328 arg6
= (byte
)(SWIG_As_unsigned_SS_char(obj2
));
10329 if (SWIG_arg_fail(6)) SWIG_fail
;
10334 arg7
= (byte
)(SWIG_As_unsigned_SS_char(obj3
));
10335 if (SWIG_arg_fail(7)) SWIG_fail
;
10339 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10340 result
= (bool)((wxImageHistogram
const *)arg1
)->FindFirstUnusedColour(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
10342 wxPyEndAllowThreads(__tstate
);
10343 if (PyErr_Occurred()) SWIG_fail
;
10346 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10348 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
10349 SWIG_From_unsigned_SS_char((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_unsigned_char
, 0)));
10350 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
10351 SWIG_From_unsigned_SS_char((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_unsigned_char
, 0)));
10352 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
10353 SWIG_From_unsigned_SS_char((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_unsigned_char
, 0)));
10360 static PyObject
*_wrap_ImageHistogram_GetCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10361 PyObject
*resultobj
;
10362 wxImageHistogram
*arg1
= (wxImageHistogram
*) 0 ;
10363 unsigned long arg2
;
10364 unsigned long result
;
10365 PyObject
* obj0
= 0 ;
10366 PyObject
* obj1
= 0 ;
10367 char *kwnames
[] = {
10368 (char *) "self",(char *) "key", NULL
10371 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageHistogram_GetCount",kwnames
,&obj0
,&obj1
)) goto fail
;
10372 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImageHistogram
, SWIG_POINTER_EXCEPTION
| 0);
10373 if (SWIG_arg_fail(1)) SWIG_fail
;
10375 arg2
= (unsigned long)(SWIG_As_unsigned_SS_long(obj1
));
10376 if (SWIG_arg_fail(2)) SWIG_fail
;
10379 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10380 result
= (unsigned long)wxImageHistogram_GetCount(arg1
,arg2
);
10382 wxPyEndAllowThreads(__tstate
);
10383 if (PyErr_Occurred()) SWIG_fail
;
10386 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
10394 static PyObject
*_wrap_ImageHistogram_GetCountRGB(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10395 PyObject
*resultobj
;
10396 wxImageHistogram
*arg1
= (wxImageHistogram
*) 0 ;
10400 unsigned long result
;
10401 PyObject
* obj0
= 0 ;
10402 PyObject
* obj1
= 0 ;
10403 PyObject
* obj2
= 0 ;
10404 PyObject
* obj3
= 0 ;
10405 char *kwnames
[] = {
10406 (char *) "self",(char *) "r",(char *) "g",(char *) "b", NULL
10409 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ImageHistogram_GetCountRGB",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
10410 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImageHistogram
, SWIG_POINTER_EXCEPTION
| 0);
10411 if (SWIG_arg_fail(1)) SWIG_fail
;
10413 arg2
= (byte
)(SWIG_As_unsigned_SS_char(obj1
));
10414 if (SWIG_arg_fail(2)) SWIG_fail
;
10417 arg3
= (byte
)(SWIG_As_unsigned_SS_char(obj2
));
10418 if (SWIG_arg_fail(3)) SWIG_fail
;
10421 arg4
= (byte
)(SWIG_As_unsigned_SS_char(obj3
));
10422 if (SWIG_arg_fail(4)) SWIG_fail
;
10425 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10426 result
= (unsigned long)wxImageHistogram_GetCountRGB(arg1
,arg2
,arg3
,arg4
);
10428 wxPyEndAllowThreads(__tstate
);
10429 if (PyErr_Occurred()) SWIG_fail
;
10432 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
10440 static PyObject
*_wrap_ImageHistogram_GetCountColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10441 PyObject
*resultobj
;
10442 wxImageHistogram
*arg1
= (wxImageHistogram
*) 0 ;
10443 wxColour
*arg2
= 0 ;
10444 unsigned long result
;
10446 PyObject
* obj0
= 0 ;
10447 PyObject
* obj1
= 0 ;
10448 char *kwnames
[] = {
10449 (char *) "self",(char *) "colour", NULL
10452 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageHistogram_GetCountColour",kwnames
,&obj0
,&obj1
)) goto fail
;
10453 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImageHistogram
, SWIG_POINTER_EXCEPTION
| 0);
10454 if (SWIG_arg_fail(1)) SWIG_fail
;
10457 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
10460 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10461 result
= (unsigned long)wxImageHistogram_GetCountColour(arg1
,(wxColour
const &)*arg2
);
10463 wxPyEndAllowThreads(__tstate
);
10464 if (PyErr_Occurred()) SWIG_fail
;
10467 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
10475 static PyObject
* ImageHistogram_swigregister(PyObject
*, PyObject
*args
) {
10477 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10478 SWIG_TypeClientData(SWIGTYPE_p_wxImageHistogram
, obj
);
10480 return Py_BuildValue((char *)"");
10482 static PyObject
*_wrap_new_Image(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10483 PyObject
*resultobj
;
10484 wxString
*arg1
= 0 ;
10485 long arg2
= (long) wxBITMAP_TYPE_ANY
;
10486 int arg3
= (int) -1 ;
10488 bool temp1
= false ;
10489 PyObject
* obj0
= 0 ;
10490 PyObject
* obj1
= 0 ;
10491 PyObject
* obj2
= 0 ;
10492 char *kwnames
[] = {
10493 (char *) "name",(char *) "type",(char *) "index", NULL
10496 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:new_Image",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10498 arg1
= wxString_in_helper(obj0
);
10499 if (arg1
== NULL
) SWIG_fail
;
10504 arg2
= (long)(SWIG_As_long(obj1
));
10505 if (SWIG_arg_fail(2)) SWIG_fail
;
10510 arg3
= (int)(SWIG_As_int(obj2
));
10511 if (SWIG_arg_fail(3)) SWIG_fail
;
10515 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10516 result
= (wxImage
*)new wxImage((wxString
const &)*arg1
,arg2
,arg3
);
10518 wxPyEndAllowThreads(__tstate
);
10519 if (PyErr_Occurred()) SWIG_fail
;
10521 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 1);
10536 static PyObject
*_wrap_delete_Image(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10537 PyObject
*resultobj
;
10538 wxImage
*arg1
= (wxImage
*) 0 ;
10539 PyObject
* obj0
= 0 ;
10540 char *kwnames
[] = {
10541 (char *) "self", NULL
10544 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Image",kwnames
,&obj0
)) goto fail
;
10545 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
10546 if (SWIG_arg_fail(1)) SWIG_fail
;
10548 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10551 wxPyEndAllowThreads(__tstate
);
10552 if (PyErr_Occurred()) SWIG_fail
;
10554 Py_INCREF(Py_None
); resultobj
= Py_None
;
10561 static PyObject
*_wrap_new_ImageFromMime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10562 PyObject
*resultobj
;
10563 wxString
*arg1
= 0 ;
10564 wxString
*arg2
= 0 ;
10565 int arg3
= (int) -1 ;
10567 bool temp1
= false ;
10568 bool temp2
= false ;
10569 PyObject
* obj0
= 0 ;
10570 PyObject
* obj1
= 0 ;
10571 PyObject
* obj2
= 0 ;
10572 char *kwnames
[] = {
10573 (char *) "name",(char *) "mimetype",(char *) "index", NULL
10576 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:new_ImageFromMime",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10578 arg1
= wxString_in_helper(obj0
);
10579 if (arg1
== NULL
) SWIG_fail
;
10583 arg2
= wxString_in_helper(obj1
);
10584 if (arg2
== NULL
) SWIG_fail
;
10589 arg3
= (int)(SWIG_As_int(obj2
));
10590 if (SWIG_arg_fail(3)) SWIG_fail
;
10594 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10595 result
= (wxImage
*)new wxImage((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
);
10597 wxPyEndAllowThreads(__tstate
);
10598 if (PyErr_Occurred()) SWIG_fail
;
10600 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 1);
10623 static PyObject
*_wrap_new_ImageFromStream(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10624 PyObject
*resultobj
;
10625 wxInputStream
*arg1
= 0 ;
10626 long arg2
= (long) wxBITMAP_TYPE_ANY
;
10627 int arg3
= (int) -1 ;
10629 wxPyInputStream
*temp1
;
10631 PyObject
* obj0
= 0 ;
10632 PyObject
* obj1
= 0 ;
10633 PyObject
* obj2
= 0 ;
10634 char *kwnames
[] = {
10635 (char *) "stream",(char *) "type",(char *) "index", NULL
10638 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:new_ImageFromStream",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10640 if (wxPyConvertSwigPtr(obj0
, (void **)&temp1
, wxT("wxPyInputStream"))) {
10641 arg1
= temp1
->m_wxis
;
10644 PyErr_Clear(); // clear the failure of the wxPyConvert above
10645 arg1
= wxPyCBInputStream_create(obj0
, false);
10646 if (arg1
== NULL
) {
10647 PyErr_SetString(PyExc_TypeError
, "Expected wx.InputStream or Python file-like object.");
10655 arg2
= (long)(SWIG_As_long(obj1
));
10656 if (SWIG_arg_fail(2)) SWIG_fail
;
10661 arg3
= (int)(SWIG_As_int(obj2
));
10662 if (SWIG_arg_fail(3)) SWIG_fail
;
10666 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10667 result
= (wxImage
*)new wxImage(*arg1
,arg2
,arg3
);
10669 wxPyEndAllowThreads(__tstate
);
10670 if (PyErr_Occurred()) SWIG_fail
;
10672 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 1);
10674 if (created1
) delete arg1
;
10679 if (created1
) delete arg1
;
10685 static PyObject
*_wrap_new_ImageFromStreamMime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10686 PyObject
*resultobj
;
10687 wxInputStream
*arg1
= 0 ;
10688 wxString
*arg2
= 0 ;
10689 int arg3
= (int) -1 ;
10691 wxPyInputStream
*temp1
;
10693 bool temp2
= false ;
10694 PyObject
* obj0
= 0 ;
10695 PyObject
* obj1
= 0 ;
10696 PyObject
* obj2
= 0 ;
10697 char *kwnames
[] = {
10698 (char *) "stream",(char *) "mimetype",(char *) "index", NULL
10701 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:new_ImageFromStreamMime",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10703 if (wxPyConvertSwigPtr(obj0
, (void **)&temp1
, wxT("wxPyInputStream"))) {
10704 arg1
= temp1
->m_wxis
;
10707 PyErr_Clear(); // clear the failure of the wxPyConvert above
10708 arg1
= wxPyCBInputStream_create(obj0
, false);
10709 if (arg1
== NULL
) {
10710 PyErr_SetString(PyExc_TypeError
, "Expected wx.InputStream or Python file-like object.");
10717 arg2
= wxString_in_helper(obj1
);
10718 if (arg2
== NULL
) SWIG_fail
;
10723 arg3
= (int)(SWIG_As_int(obj2
));
10724 if (SWIG_arg_fail(3)) SWIG_fail
;
10728 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10729 result
= (wxImage
*)new wxImage(*arg1
,(wxString
const &)*arg2
,arg3
);
10731 wxPyEndAllowThreads(__tstate
);
10732 if (PyErr_Occurred()) SWIG_fail
;
10734 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 1);
10736 if (created1
) delete arg1
;
10745 if (created1
) delete arg1
;
10755 static PyObject
*_wrap_new_EmptyImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10756 PyObject
*resultobj
;
10757 int arg1
= (int) 0 ;
10758 int arg2
= (int) 0 ;
10759 bool arg3
= (bool) true ;
10761 PyObject
* obj0
= 0 ;
10762 PyObject
* obj1
= 0 ;
10763 PyObject
* obj2
= 0 ;
10764 char *kwnames
[] = {
10765 (char *) "width",(char *) "height",(char *) "clear", NULL
10768 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_EmptyImage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10771 arg1
= (int)(SWIG_As_int(obj0
));
10772 if (SWIG_arg_fail(1)) SWIG_fail
;
10777 arg2
= (int)(SWIG_As_int(obj1
));
10778 if (SWIG_arg_fail(2)) SWIG_fail
;
10783 arg3
= (bool)(SWIG_As_bool(obj2
));
10784 if (SWIG_arg_fail(3)) SWIG_fail
;
10788 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10789 result
= (wxImage
*)new_wxImage(arg1
,arg2
,arg3
);
10791 wxPyEndAllowThreads(__tstate
);
10792 if (PyErr_Occurred()) SWIG_fail
;
10794 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 1);
10801 static PyObject
*_wrap_new_ImageFromBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10802 PyObject
*resultobj
;
10803 wxBitmap
*arg1
= 0 ;
10805 PyObject
* obj0
= 0 ;
10806 char *kwnames
[] = {
10807 (char *) "bitmap", NULL
10810 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_ImageFromBitmap",kwnames
,&obj0
)) goto fail
;
10812 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
10813 if (SWIG_arg_fail(1)) SWIG_fail
;
10814 if (arg1
== NULL
) {
10815 SWIG_null_ref("wxBitmap");
10817 if (SWIG_arg_fail(1)) SWIG_fail
;
10820 if (!wxPyCheckForApp()) SWIG_fail
;
10821 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10822 result
= (wxImage
*)new_wxImage((wxBitmap
const &)*arg1
);
10824 wxPyEndAllowThreads(__tstate
);
10825 if (PyErr_Occurred()) SWIG_fail
;
10827 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 1);
10834 static PyObject
*_wrap_new_ImageFromData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10835 PyObject
*resultobj
;
10841 PyObject
* obj0
= 0 ;
10842 PyObject
* obj1
= 0 ;
10843 PyObject
* obj2
= 0 ;
10844 char *kwnames
[] = {
10845 (char *) "width",(char *) "height",(char *) "data", NULL
10848 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:new_ImageFromData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10850 arg1
= (int)(SWIG_As_int(obj0
));
10851 if (SWIG_arg_fail(1)) SWIG_fail
;
10854 arg2
= (int)(SWIG_As_int(obj1
));
10855 if (SWIG_arg_fail(2)) SWIG_fail
;
10858 if (!PyArg_Parse(obj2
, "t#", &arg3
, &arg4
)) SWIG_fail
;
10861 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10862 result
= (wxImage
*)new_wxImage(arg1
,arg2
,arg3
,arg4
);
10864 wxPyEndAllowThreads(__tstate
);
10865 if (PyErr_Occurred()) SWIG_fail
;
10867 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 1);
10874 static PyObject
*_wrap_new_ImageFromDataWithAlpha(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10875 PyObject
*resultobj
;
10883 PyObject
* obj0
= 0 ;
10884 PyObject
* obj1
= 0 ;
10885 PyObject
* obj2
= 0 ;
10886 PyObject
* obj3
= 0 ;
10887 char *kwnames
[] = {
10888 (char *) "width",(char *) "height",(char *) "data",(char *) "alpha", NULL
10891 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:new_ImageFromDataWithAlpha",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
10893 arg1
= (int)(SWIG_As_int(obj0
));
10894 if (SWIG_arg_fail(1)) SWIG_fail
;
10897 arg2
= (int)(SWIG_As_int(obj1
));
10898 if (SWIG_arg_fail(2)) SWIG_fail
;
10901 if (!PyArg_Parse(obj2
, "t#", &arg3
, &arg4
)) SWIG_fail
;
10904 if (!PyArg_Parse(obj3
, "t#", &arg5
, &arg6
)) SWIG_fail
;
10907 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10908 result
= (wxImage
*)new_wxImage(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
);
10910 wxPyEndAllowThreads(__tstate
);
10911 if (PyErr_Occurred()) SWIG_fail
;
10913 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 1);
10920 static PyObject
*_wrap_Image_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10921 PyObject
*resultobj
;
10922 wxImage
*arg1
= (wxImage
*) 0 ;
10925 bool arg4
= (bool) true ;
10926 PyObject
* obj0
= 0 ;
10927 PyObject
* obj1
= 0 ;
10928 PyObject
* obj2
= 0 ;
10929 PyObject
* obj3
= 0 ;
10930 char *kwnames
[] = {
10931 (char *) "self",(char *) "width",(char *) "height",(char *) "clear", NULL
10934 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Image_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
10935 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
10936 if (SWIG_arg_fail(1)) SWIG_fail
;
10938 arg2
= (int)(SWIG_As_int(obj1
));
10939 if (SWIG_arg_fail(2)) SWIG_fail
;
10942 arg3
= (int)(SWIG_As_int(obj2
));
10943 if (SWIG_arg_fail(3)) SWIG_fail
;
10947 arg4
= (bool)(SWIG_As_bool(obj3
));
10948 if (SWIG_arg_fail(4)) SWIG_fail
;
10952 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10953 (arg1
)->Create(arg2
,arg3
,arg4
);
10955 wxPyEndAllowThreads(__tstate
);
10956 if (PyErr_Occurred()) SWIG_fail
;
10958 Py_INCREF(Py_None
); resultobj
= Py_None
;
10965 static PyObject
*_wrap_Image_Destroy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10966 PyObject
*resultobj
;
10967 wxImage
*arg1
= (wxImage
*) 0 ;
10968 PyObject
* obj0
= 0 ;
10969 char *kwnames
[] = {
10970 (char *) "self", NULL
10973 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_Destroy",kwnames
,&obj0
)) goto fail
;
10974 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
10975 if (SWIG_arg_fail(1)) SWIG_fail
;
10977 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10980 wxPyEndAllowThreads(__tstate
);
10981 if (PyErr_Occurred()) SWIG_fail
;
10983 Py_INCREF(Py_None
); resultobj
= Py_None
;
10990 static PyObject
*_wrap_Image_Scale(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10991 PyObject
*resultobj
;
10992 wxImage
*arg1
= (wxImage
*) 0 ;
10995 SwigValueWrapper
<wxImage
> result
;
10996 PyObject
* obj0
= 0 ;
10997 PyObject
* obj1
= 0 ;
10998 PyObject
* obj2
= 0 ;
10999 char *kwnames
[] = {
11000 (char *) "self",(char *) "width",(char *) "height", NULL
11003 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_Scale",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11004 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
11005 if (SWIG_arg_fail(1)) SWIG_fail
;
11007 arg2
= (int)(SWIG_As_int(obj1
));
11008 if (SWIG_arg_fail(2)) SWIG_fail
;
11011 arg3
= (int)(SWIG_As_int(obj2
));
11012 if (SWIG_arg_fail(3)) SWIG_fail
;
11015 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11016 result
= (arg1
)->Scale(arg2
,arg3
);
11018 wxPyEndAllowThreads(__tstate
);
11019 if (PyErr_Occurred()) SWIG_fail
;
11022 wxImage
* resultptr
;
11023 resultptr
= new wxImage((wxImage
&)(result
));
11024 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
11032 static PyObject
*_wrap_Image_ShrinkBy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11033 PyObject
*resultobj
;
11034 wxImage
*arg1
= (wxImage
*) 0 ;
11037 SwigValueWrapper
<wxImage
> result
;
11038 PyObject
* obj0
= 0 ;
11039 PyObject
* obj1
= 0 ;
11040 PyObject
* obj2
= 0 ;
11041 char *kwnames
[] = {
11042 (char *) "self",(char *) "xFactor",(char *) "yFactor", NULL
11045 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_ShrinkBy",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11046 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
11047 if (SWIG_arg_fail(1)) SWIG_fail
;
11049 arg2
= (int)(SWIG_As_int(obj1
));
11050 if (SWIG_arg_fail(2)) SWIG_fail
;
11053 arg3
= (int)(SWIG_As_int(obj2
));
11054 if (SWIG_arg_fail(3)) SWIG_fail
;
11057 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11058 result
= ((wxImage
const *)arg1
)->ShrinkBy(arg2
,arg3
);
11060 wxPyEndAllowThreads(__tstate
);
11061 if (PyErr_Occurred()) SWIG_fail
;
11064 wxImage
* resultptr
;
11065 resultptr
= new wxImage((wxImage
&)(result
));
11066 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
11074 static PyObject
*_wrap_Image_Rescale(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11075 PyObject
*resultobj
;
11076 wxImage
*arg1
= (wxImage
*) 0 ;
11080 PyObject
* obj0
= 0 ;
11081 PyObject
* obj1
= 0 ;
11082 PyObject
* obj2
= 0 ;
11083 char *kwnames
[] = {
11084 (char *) "self",(char *) "width",(char *) "height", NULL
11087 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_Rescale",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11088 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
11089 if (SWIG_arg_fail(1)) SWIG_fail
;
11091 arg2
= (int)(SWIG_As_int(obj1
));
11092 if (SWIG_arg_fail(2)) SWIG_fail
;
11095 arg3
= (int)(SWIG_As_int(obj2
));
11096 if (SWIG_arg_fail(3)) SWIG_fail
;
11099 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11101 wxImage
&_result_ref
= (arg1
)->Rescale(arg2
,arg3
);
11102 result
= (wxImage
*) &_result_ref
;
11105 wxPyEndAllowThreads(__tstate
);
11106 if (PyErr_Occurred()) SWIG_fail
;
11108 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 0);
11115 static PyObject
*_wrap_Image_Resize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11116 PyObject
*resultobj
;
11117 wxImage
*arg1
= (wxImage
*) 0 ;
11119 wxPoint
*arg3
= 0 ;
11120 int arg4
= (int) -1 ;
11121 int arg5
= (int) -1 ;
11122 int arg6
= (int) -1 ;
11126 PyObject
* obj0
= 0 ;
11127 PyObject
* obj1
= 0 ;
11128 PyObject
* obj2
= 0 ;
11129 PyObject
* obj3
= 0 ;
11130 PyObject
* obj4
= 0 ;
11131 PyObject
* obj5
= 0 ;
11132 char *kwnames
[] = {
11133 (char *) "self",(char *) "size",(char *) "pos",(char *) "r",(char *) "g",(char *) "b", NULL
11136 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOO:Image_Resize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
11137 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
11138 if (SWIG_arg_fail(1)) SWIG_fail
;
11141 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
11145 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
11149 arg4
= (int)(SWIG_As_int(obj3
));
11150 if (SWIG_arg_fail(4)) SWIG_fail
;
11155 arg5
= (int)(SWIG_As_int(obj4
));
11156 if (SWIG_arg_fail(5)) SWIG_fail
;
11161 arg6
= (int)(SWIG_As_int(obj5
));
11162 if (SWIG_arg_fail(6)) SWIG_fail
;
11166 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11168 wxImage
&_result_ref
= (arg1
)->Resize((wxSize
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
,arg5
,arg6
);
11169 result
= (wxImage
*) &_result_ref
;
11172 wxPyEndAllowThreads(__tstate
);
11173 if (PyErr_Occurred()) SWIG_fail
;
11175 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 0);
11182 static PyObject
*_wrap_Image_SetRGB(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11183 PyObject
*resultobj
;
11184 wxImage
*arg1
= (wxImage
*) 0 ;
11190 PyObject
* obj0
= 0 ;
11191 PyObject
* obj1
= 0 ;
11192 PyObject
* obj2
= 0 ;
11193 PyObject
* obj3
= 0 ;
11194 PyObject
* obj4
= 0 ;
11195 PyObject
* obj5
= 0 ;
11196 char *kwnames
[] = {
11197 (char *) "self",(char *) "x",(char *) "y",(char *) "r",(char *) "g",(char *) "b", NULL
11200 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:Image_SetRGB",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
11201 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
11202 if (SWIG_arg_fail(1)) SWIG_fail
;
11204 arg2
= (int)(SWIG_As_int(obj1
));
11205 if (SWIG_arg_fail(2)) SWIG_fail
;
11208 arg3
= (int)(SWIG_As_int(obj2
));
11209 if (SWIG_arg_fail(3)) SWIG_fail
;
11212 arg4
= (byte
)(SWIG_As_unsigned_SS_char(obj3
));
11213 if (SWIG_arg_fail(4)) SWIG_fail
;
11216 arg5
= (byte
)(SWIG_As_unsigned_SS_char(obj4
));
11217 if (SWIG_arg_fail(5)) SWIG_fail
;
11220 arg6
= (byte
)(SWIG_As_unsigned_SS_char(obj5
));
11221 if (SWIG_arg_fail(6)) SWIG_fail
;
11224 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11225 (arg1
)->SetRGB(arg2
,arg3
,arg4
,arg5
,arg6
);
11227 wxPyEndAllowThreads(__tstate
);
11228 if (PyErr_Occurred()) SWIG_fail
;
11230 Py_INCREF(Py_None
); resultobj
= Py_None
;
11237 static PyObject
*_wrap_Image_SetRGBRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11238 PyObject
*resultobj
;
11239 wxImage
*arg1
= (wxImage
*) 0 ;
11245 PyObject
* obj0
= 0 ;
11246 PyObject
* obj1
= 0 ;
11247 PyObject
* obj2
= 0 ;
11248 PyObject
* obj3
= 0 ;
11249 PyObject
* obj4
= 0 ;
11250 char *kwnames
[] = {
11251 (char *) "self",(char *) "rect",(char *) "r",(char *) "g",(char *) "b", NULL
11254 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Image_SetRGBRect",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
11255 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
11256 if (SWIG_arg_fail(1)) SWIG_fail
;
11259 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
11262 arg3
= (byte
)(SWIG_As_unsigned_SS_char(obj2
));
11263 if (SWIG_arg_fail(3)) SWIG_fail
;
11266 arg4
= (byte
)(SWIG_As_unsigned_SS_char(obj3
));
11267 if (SWIG_arg_fail(4)) SWIG_fail
;
11270 arg5
= (byte
)(SWIG_As_unsigned_SS_char(obj4
));
11271 if (SWIG_arg_fail(5)) SWIG_fail
;
11274 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11275 (arg1
)->SetRGB((wxRect
const &)*arg2
,arg3
,arg4
,arg5
);
11277 wxPyEndAllowThreads(__tstate
);
11278 if (PyErr_Occurred()) SWIG_fail
;
11280 Py_INCREF(Py_None
); resultobj
= Py_None
;
11287 static PyObject
*_wrap_Image_GetRed(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11288 PyObject
*resultobj
;
11289 wxImage
*arg1
= (wxImage
*) 0 ;
11293 PyObject
* obj0
= 0 ;
11294 PyObject
* obj1
= 0 ;
11295 PyObject
* obj2
= 0 ;
11296 char *kwnames
[] = {
11297 (char *) "self",(char *) "x",(char *) "y", NULL
11300 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_GetRed",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11301 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
11302 if (SWIG_arg_fail(1)) SWIG_fail
;
11304 arg2
= (int)(SWIG_As_int(obj1
));
11305 if (SWIG_arg_fail(2)) SWIG_fail
;
11308 arg3
= (int)(SWIG_As_int(obj2
));
11309 if (SWIG_arg_fail(3)) SWIG_fail
;
11312 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11313 result
= (byte
)(arg1
)->GetRed(arg2
,arg3
);
11315 wxPyEndAllowThreads(__tstate
);
11316 if (PyErr_Occurred()) SWIG_fail
;
11319 resultobj
= SWIG_From_unsigned_SS_char((unsigned char)(result
));
11327 static PyObject
*_wrap_Image_GetGreen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11328 PyObject
*resultobj
;
11329 wxImage
*arg1
= (wxImage
*) 0 ;
11333 PyObject
* obj0
= 0 ;
11334 PyObject
* obj1
= 0 ;
11335 PyObject
* obj2
= 0 ;
11336 char *kwnames
[] = {
11337 (char *) "self",(char *) "x",(char *) "y", NULL
11340 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_GetGreen",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11341 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
11342 if (SWIG_arg_fail(1)) SWIG_fail
;
11344 arg2
= (int)(SWIG_As_int(obj1
));
11345 if (SWIG_arg_fail(2)) SWIG_fail
;
11348 arg3
= (int)(SWIG_As_int(obj2
));
11349 if (SWIG_arg_fail(3)) SWIG_fail
;
11352 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11353 result
= (byte
)(arg1
)->GetGreen(arg2
,arg3
);
11355 wxPyEndAllowThreads(__tstate
);
11356 if (PyErr_Occurred()) SWIG_fail
;
11359 resultobj
= SWIG_From_unsigned_SS_char((unsigned char)(result
));
11367 static PyObject
*_wrap_Image_GetBlue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11368 PyObject
*resultobj
;
11369 wxImage
*arg1
= (wxImage
*) 0 ;
11373 PyObject
* obj0
= 0 ;
11374 PyObject
* obj1
= 0 ;
11375 PyObject
* obj2
= 0 ;
11376 char *kwnames
[] = {
11377 (char *) "self",(char *) "x",(char *) "y", NULL
11380 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_GetBlue",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11381 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
11382 if (SWIG_arg_fail(1)) SWIG_fail
;
11384 arg2
= (int)(SWIG_As_int(obj1
));
11385 if (SWIG_arg_fail(2)) SWIG_fail
;
11388 arg3
= (int)(SWIG_As_int(obj2
));
11389 if (SWIG_arg_fail(3)) SWIG_fail
;
11392 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11393 result
= (byte
)(arg1
)->GetBlue(arg2
,arg3
);
11395 wxPyEndAllowThreads(__tstate
);
11396 if (PyErr_Occurred()) SWIG_fail
;
11399 resultobj
= SWIG_From_unsigned_SS_char((unsigned char)(result
));
11407 static PyObject
*_wrap_Image_SetAlpha(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11408 PyObject
*resultobj
;
11409 wxImage
*arg1
= (wxImage
*) 0 ;
11413 PyObject
* obj0
= 0 ;
11414 PyObject
* obj1
= 0 ;
11415 PyObject
* obj2
= 0 ;
11416 PyObject
* obj3
= 0 ;
11417 char *kwnames
[] = {
11418 (char *) "self",(char *) "x",(char *) "y",(char *) "alpha", NULL
11421 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Image_SetAlpha",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11422 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
11423 if (SWIG_arg_fail(1)) SWIG_fail
;
11425 arg2
= (int)(SWIG_As_int(obj1
));
11426 if (SWIG_arg_fail(2)) SWIG_fail
;
11429 arg3
= (int)(SWIG_As_int(obj2
));
11430 if (SWIG_arg_fail(3)) SWIG_fail
;
11433 arg4
= (byte
)(SWIG_As_unsigned_SS_char(obj3
));
11434 if (SWIG_arg_fail(4)) SWIG_fail
;
11437 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11438 (arg1
)->SetAlpha(arg2
,arg3
,arg4
);
11440 wxPyEndAllowThreads(__tstate
);
11441 if (PyErr_Occurred()) SWIG_fail
;
11443 Py_INCREF(Py_None
); resultobj
= Py_None
;
11450 static PyObject
*_wrap_Image_GetAlpha(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11451 PyObject
*resultobj
;
11452 wxImage
*arg1
= (wxImage
*) 0 ;
11456 PyObject
* obj0
= 0 ;
11457 PyObject
* obj1
= 0 ;
11458 PyObject
* obj2
= 0 ;
11459 char *kwnames
[] = {
11460 (char *) "self",(char *) "x",(char *) "y", NULL
11463 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_GetAlpha",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11464 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
11465 if (SWIG_arg_fail(1)) SWIG_fail
;
11467 arg2
= (int)(SWIG_As_int(obj1
));
11468 if (SWIG_arg_fail(2)) SWIG_fail
;
11471 arg3
= (int)(SWIG_As_int(obj2
));
11472 if (SWIG_arg_fail(3)) SWIG_fail
;
11475 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11476 result
= (byte
)(arg1
)->GetAlpha(arg2
,arg3
);
11478 wxPyEndAllowThreads(__tstate
);
11479 if (PyErr_Occurred()) SWIG_fail
;
11482 resultobj
= SWIG_From_unsigned_SS_char((unsigned char)(result
));
11490 static PyObject
*_wrap_Image_HasAlpha(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11491 PyObject
*resultobj
;
11492 wxImage
*arg1
= (wxImage
*) 0 ;
11494 PyObject
* obj0
= 0 ;
11495 char *kwnames
[] = {
11496 (char *) "self", NULL
11499 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_HasAlpha",kwnames
,&obj0
)) goto fail
;
11500 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
11501 if (SWIG_arg_fail(1)) SWIG_fail
;
11503 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11504 result
= (bool)(arg1
)->HasAlpha();
11506 wxPyEndAllowThreads(__tstate
);
11507 if (PyErr_Occurred()) SWIG_fail
;
11510 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11518 static PyObject
*_wrap_Image_InitAlpha(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11519 PyObject
*resultobj
;
11520 wxImage
*arg1
= (wxImage
*) 0 ;
11521 PyObject
* obj0
= 0 ;
11522 char *kwnames
[] = {
11523 (char *) "self", NULL
11526 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_InitAlpha",kwnames
,&obj0
)) goto fail
;
11527 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
11528 if (SWIG_arg_fail(1)) SWIG_fail
;
11530 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11531 (arg1
)->InitAlpha();
11533 wxPyEndAllowThreads(__tstate
);
11534 if (PyErr_Occurred()) SWIG_fail
;
11536 Py_INCREF(Py_None
); resultobj
= Py_None
;
11543 static PyObject
*_wrap_Image_IsTransparent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11544 PyObject
*resultobj
;
11545 wxImage
*arg1
= (wxImage
*) 0 ;
11548 byte arg4
= (byte
) wxIMAGE_ALPHA_THRESHOLD
;
11550 PyObject
* obj0
= 0 ;
11551 PyObject
* obj1
= 0 ;
11552 PyObject
* obj2
= 0 ;
11553 PyObject
* obj3
= 0 ;
11554 char *kwnames
[] = {
11555 (char *) "self",(char *) "x",(char *) "y",(char *) "threshold", NULL
11558 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Image_IsTransparent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11559 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
11560 if (SWIG_arg_fail(1)) SWIG_fail
;
11562 arg2
= (int)(SWIG_As_int(obj1
));
11563 if (SWIG_arg_fail(2)) SWIG_fail
;
11566 arg3
= (int)(SWIG_As_int(obj2
));
11567 if (SWIG_arg_fail(3)) SWIG_fail
;
11571 arg4
= (byte
)(SWIG_As_unsigned_SS_char(obj3
));
11572 if (SWIG_arg_fail(4)) SWIG_fail
;
11576 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11577 result
= (bool)((wxImage
const *)arg1
)->IsTransparent(arg2
,arg3
,arg4
);
11579 wxPyEndAllowThreads(__tstate
);
11580 if (PyErr_Occurred()) SWIG_fail
;
11583 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11591 static PyObject
*_wrap_Image_FindFirstUnusedColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11592 PyObject
*resultobj
;
11593 wxImage
*arg1
= (wxImage
*) 0 ;
11594 byte
*arg2
= (byte
*) 0 ;
11595 byte
*arg3
= (byte
*) 0 ;
11596 byte
*arg4
= (byte
*) 0 ;
11597 byte arg5
= (byte
) 0 ;
11598 byte arg6
= (byte
) 0 ;
11599 byte arg7
= (byte
) 0 ;
11607 PyObject
* obj0
= 0 ;
11608 PyObject
* obj1
= 0 ;
11609 PyObject
* obj2
= 0 ;
11610 PyObject
* obj3
= 0 ;
11611 char *kwnames
[] = {
11612 (char *) "self",(char *) "startR",(char *) "startG",(char *) "startB", NULL
11615 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
11616 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
11617 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
11618 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:Image_FindFirstUnusedColour",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11619 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
11620 if (SWIG_arg_fail(1)) SWIG_fail
;
11623 arg5
= (byte
)(SWIG_As_unsigned_SS_char(obj1
));
11624 if (SWIG_arg_fail(5)) SWIG_fail
;
11629 arg6
= (byte
)(SWIG_As_unsigned_SS_char(obj2
));
11630 if (SWIG_arg_fail(6)) SWIG_fail
;
11635 arg7
= (byte
)(SWIG_As_unsigned_SS_char(obj3
));
11636 if (SWIG_arg_fail(7)) SWIG_fail
;
11640 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11641 result
= (bool)((wxImage
const *)arg1
)->FindFirstUnusedColour(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
11643 wxPyEndAllowThreads(__tstate
);
11644 if (PyErr_Occurred()) SWIG_fail
;
11647 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11649 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
11650 SWIG_From_unsigned_SS_char((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_unsigned_char
, 0)));
11651 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
11652 SWIG_From_unsigned_SS_char((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_unsigned_char
, 0)));
11653 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
11654 SWIG_From_unsigned_SS_char((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_unsigned_char
, 0)));
11661 static PyObject
*_wrap_Image_ConvertAlphaToMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11662 PyObject
*resultobj
;
11663 wxImage
*arg1
= (wxImage
*) 0 ;
11664 byte arg2
= (byte
) wxIMAGE_ALPHA_THRESHOLD
;
11666 PyObject
* obj0
= 0 ;
11667 PyObject
* obj1
= 0 ;
11668 char *kwnames
[] = {
11669 (char *) "self",(char *) "threshold", NULL
11672 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Image_ConvertAlphaToMask",kwnames
,&obj0
,&obj1
)) goto fail
;
11673 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
11674 if (SWIG_arg_fail(1)) SWIG_fail
;
11677 arg2
= (byte
)(SWIG_As_unsigned_SS_char(obj1
));
11678 if (SWIG_arg_fail(2)) SWIG_fail
;
11682 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11683 result
= (bool)(arg1
)->ConvertAlphaToMask(arg2
);
11685 wxPyEndAllowThreads(__tstate
);
11686 if (PyErr_Occurred()) SWIG_fail
;
11689 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11697 static PyObject
*_wrap_Image_ConvertColourToAlpha(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11698 PyObject
*resultobj
;
11699 wxImage
*arg1
= (wxImage
*) 0 ;
11704 PyObject
* obj0
= 0 ;
11705 PyObject
* obj1
= 0 ;
11706 PyObject
* obj2
= 0 ;
11707 PyObject
* obj3
= 0 ;
11708 char *kwnames
[] = {
11709 (char *) "self",(char *) "r",(char *) "g",(char *) "b", NULL
11712 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Image_ConvertColourToAlpha",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11713 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
11714 if (SWIG_arg_fail(1)) SWIG_fail
;
11716 arg2
= (byte
)(SWIG_As_unsigned_SS_char(obj1
));
11717 if (SWIG_arg_fail(2)) SWIG_fail
;
11720 arg3
= (byte
)(SWIG_As_unsigned_SS_char(obj2
));
11721 if (SWIG_arg_fail(3)) SWIG_fail
;
11724 arg4
= (byte
)(SWIG_As_unsigned_SS_char(obj3
));
11725 if (SWIG_arg_fail(4)) SWIG_fail
;
11728 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11729 result
= (bool)(arg1
)->ConvertColourToAlpha(arg2
,arg3
,arg4
);
11731 wxPyEndAllowThreads(__tstate
);
11732 if (PyErr_Occurred()) SWIG_fail
;
11735 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11743 static PyObject
*_wrap_Image_SetMaskFromImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11744 PyObject
*resultobj
;
11745 wxImage
*arg1
= (wxImage
*) 0 ;
11746 wxImage
*arg2
= 0 ;
11751 PyObject
* obj0
= 0 ;
11752 PyObject
* obj1
= 0 ;
11753 PyObject
* obj2
= 0 ;
11754 PyObject
* obj3
= 0 ;
11755 PyObject
* obj4
= 0 ;
11756 char *kwnames
[] = {
11757 (char *) "self",(char *) "mask",(char *) "mr",(char *) "mg",(char *) "mb", NULL
11760 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Image_SetMaskFromImage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
11761 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
11762 if (SWIG_arg_fail(1)) SWIG_fail
;
11764 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
11765 if (SWIG_arg_fail(2)) SWIG_fail
;
11766 if (arg2
== NULL
) {
11767 SWIG_null_ref("wxImage");
11769 if (SWIG_arg_fail(2)) SWIG_fail
;
11772 arg3
= (byte
)(SWIG_As_unsigned_SS_char(obj2
));
11773 if (SWIG_arg_fail(3)) SWIG_fail
;
11776 arg4
= (byte
)(SWIG_As_unsigned_SS_char(obj3
));
11777 if (SWIG_arg_fail(4)) SWIG_fail
;
11780 arg5
= (byte
)(SWIG_As_unsigned_SS_char(obj4
));
11781 if (SWIG_arg_fail(5)) SWIG_fail
;
11784 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11785 result
= (bool)(arg1
)->SetMaskFromImage((wxImage
const &)*arg2
,arg3
,arg4
,arg5
);
11787 wxPyEndAllowThreads(__tstate
);
11788 if (PyErr_Occurred()) SWIG_fail
;
11791 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11799 static PyObject
*_wrap_Image_CanRead(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11800 PyObject
*resultobj
;
11801 wxString
*arg1
= 0 ;
11803 bool temp1
= false ;
11804 PyObject
* obj0
= 0 ;
11805 char *kwnames
[] = {
11806 (char *) "filename", NULL
11809 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_CanRead",kwnames
,&obj0
)) goto fail
;
11811 arg1
= wxString_in_helper(obj0
);
11812 if (arg1
== NULL
) SWIG_fail
;
11816 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11817 result
= (bool)wxImage::CanRead((wxString
const &)*arg1
);
11819 wxPyEndAllowThreads(__tstate
);
11820 if (PyErr_Occurred()) SWIG_fail
;
11823 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11839 static PyObject
*_wrap_Image_GetImageCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11840 PyObject
*resultobj
;
11841 wxString
*arg1
= 0 ;
11842 long arg2
= (long) wxBITMAP_TYPE_ANY
;
11844 bool temp1
= false ;
11845 PyObject
* obj0
= 0 ;
11846 PyObject
* obj1
= 0 ;
11847 char *kwnames
[] = {
11848 (char *) "filename",(char *) "type", NULL
11851 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Image_GetImageCount",kwnames
,&obj0
,&obj1
)) goto fail
;
11853 arg1
= wxString_in_helper(obj0
);
11854 if (arg1
== NULL
) SWIG_fail
;
11859 arg2
= (long)(SWIG_As_long(obj1
));
11860 if (SWIG_arg_fail(2)) SWIG_fail
;
11864 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11865 result
= (int)wxImage::GetImageCount((wxString
const &)*arg1
,arg2
);
11867 wxPyEndAllowThreads(__tstate
);
11868 if (PyErr_Occurred()) SWIG_fail
;
11871 resultobj
= SWIG_From_int((int)(result
));
11887 static PyObject
*_wrap_Image_LoadFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11888 PyObject
*resultobj
;
11889 wxImage
*arg1
= (wxImage
*) 0 ;
11890 wxString
*arg2
= 0 ;
11891 long arg3
= (long) wxBITMAP_TYPE_ANY
;
11892 int arg4
= (int) -1 ;
11894 bool temp2
= false ;
11895 PyObject
* obj0
= 0 ;
11896 PyObject
* obj1
= 0 ;
11897 PyObject
* obj2
= 0 ;
11898 PyObject
* obj3
= 0 ;
11899 char *kwnames
[] = {
11900 (char *) "self",(char *) "name",(char *) "type",(char *) "index", NULL
11903 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:Image_LoadFile",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11904 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
11905 if (SWIG_arg_fail(1)) SWIG_fail
;
11907 arg2
= wxString_in_helper(obj1
);
11908 if (arg2
== NULL
) SWIG_fail
;
11913 arg3
= (long)(SWIG_As_long(obj2
));
11914 if (SWIG_arg_fail(3)) SWIG_fail
;
11919 arg4
= (int)(SWIG_As_int(obj3
));
11920 if (SWIG_arg_fail(4)) SWIG_fail
;
11924 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11925 result
= (bool)(arg1
)->LoadFile((wxString
const &)*arg2
,arg3
,arg4
);
11927 wxPyEndAllowThreads(__tstate
);
11928 if (PyErr_Occurred()) SWIG_fail
;
11931 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11947 static PyObject
*_wrap_Image_LoadMimeFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11948 PyObject
*resultobj
;
11949 wxImage
*arg1
= (wxImage
*) 0 ;
11950 wxString
*arg2
= 0 ;
11951 wxString
*arg3
= 0 ;
11952 int arg4
= (int) -1 ;
11954 bool temp2
= false ;
11955 bool temp3
= false ;
11956 PyObject
* obj0
= 0 ;
11957 PyObject
* obj1
= 0 ;
11958 PyObject
* obj2
= 0 ;
11959 PyObject
* obj3
= 0 ;
11960 char *kwnames
[] = {
11961 (char *) "self",(char *) "name",(char *) "mimetype",(char *) "index", NULL
11964 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Image_LoadMimeFile",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11965 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
11966 if (SWIG_arg_fail(1)) SWIG_fail
;
11968 arg2
= wxString_in_helper(obj1
);
11969 if (arg2
== NULL
) SWIG_fail
;
11973 arg3
= wxString_in_helper(obj2
);
11974 if (arg3
== NULL
) SWIG_fail
;
11979 arg4
= (int)(SWIG_As_int(obj3
));
11980 if (SWIG_arg_fail(4)) SWIG_fail
;
11984 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11985 result
= (bool)(arg1
)->LoadFile((wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
);
11987 wxPyEndAllowThreads(__tstate
);
11988 if (PyErr_Occurred()) SWIG_fail
;
11991 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12015 static PyObject
*_wrap_Image_SaveFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12016 PyObject
*resultobj
;
12017 wxImage
*arg1
= (wxImage
*) 0 ;
12018 wxString
*arg2
= 0 ;
12021 bool temp2
= false ;
12022 PyObject
* obj0
= 0 ;
12023 PyObject
* obj1
= 0 ;
12024 PyObject
* obj2
= 0 ;
12025 char *kwnames
[] = {
12026 (char *) "self",(char *) "name",(char *) "type", NULL
12029 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_SaveFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12030 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12031 if (SWIG_arg_fail(1)) SWIG_fail
;
12033 arg2
= wxString_in_helper(obj1
);
12034 if (arg2
== NULL
) SWIG_fail
;
12038 arg3
= (int)(SWIG_As_int(obj2
));
12039 if (SWIG_arg_fail(3)) SWIG_fail
;
12042 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12043 result
= (bool)(arg1
)->SaveFile((wxString
const &)*arg2
,arg3
);
12045 wxPyEndAllowThreads(__tstate
);
12046 if (PyErr_Occurred()) SWIG_fail
;
12049 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12065 static PyObject
*_wrap_Image_SaveMimeFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12066 PyObject
*resultobj
;
12067 wxImage
*arg1
= (wxImage
*) 0 ;
12068 wxString
*arg2
= 0 ;
12069 wxString
*arg3
= 0 ;
12071 bool temp2
= false ;
12072 bool temp3
= false ;
12073 PyObject
* obj0
= 0 ;
12074 PyObject
* obj1
= 0 ;
12075 PyObject
* obj2
= 0 ;
12076 char *kwnames
[] = {
12077 (char *) "self",(char *) "name",(char *) "mimetype", NULL
12080 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_SaveMimeFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12081 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12082 if (SWIG_arg_fail(1)) SWIG_fail
;
12084 arg2
= wxString_in_helper(obj1
);
12085 if (arg2
== NULL
) SWIG_fail
;
12089 arg3
= wxString_in_helper(obj2
);
12090 if (arg3
== NULL
) SWIG_fail
;
12094 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12095 result
= (bool)(arg1
)->SaveFile((wxString
const &)*arg2
,(wxString
const &)*arg3
);
12097 wxPyEndAllowThreads(__tstate
);
12098 if (PyErr_Occurred()) SWIG_fail
;
12101 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12125 static PyObject
*_wrap_Image_CanReadStream(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12126 PyObject
*resultobj
;
12127 wxInputStream
*arg1
= 0 ;
12129 wxPyInputStream
*temp1
;
12131 PyObject
* obj0
= 0 ;
12132 char *kwnames
[] = {
12133 (char *) "stream", NULL
12136 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_CanReadStream",kwnames
,&obj0
)) goto fail
;
12138 if (wxPyConvertSwigPtr(obj0
, (void **)&temp1
, wxT("wxPyInputStream"))) {
12139 arg1
= temp1
->m_wxis
;
12142 PyErr_Clear(); // clear the failure of the wxPyConvert above
12143 arg1
= wxPyCBInputStream_create(obj0
, false);
12144 if (arg1
== NULL
) {
12145 PyErr_SetString(PyExc_TypeError
, "Expected wx.InputStream or Python file-like object.");
12152 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12153 result
= (bool)wxImage::CanRead(*arg1
);
12155 wxPyEndAllowThreads(__tstate
);
12156 if (PyErr_Occurred()) SWIG_fail
;
12159 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12162 if (created1
) delete arg1
;
12167 if (created1
) delete arg1
;
12173 static PyObject
*_wrap_Image_LoadStream(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12174 PyObject
*resultobj
;
12175 wxImage
*arg1
= (wxImage
*) 0 ;
12176 wxInputStream
*arg2
= 0 ;
12177 long arg3
= (long) wxBITMAP_TYPE_ANY
;
12178 int arg4
= (int) -1 ;
12180 wxPyInputStream
*temp2
;
12182 PyObject
* obj0
= 0 ;
12183 PyObject
* obj1
= 0 ;
12184 PyObject
* obj2
= 0 ;
12185 PyObject
* obj3
= 0 ;
12186 char *kwnames
[] = {
12187 (char *) "self",(char *) "stream",(char *) "type",(char *) "index", NULL
12190 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:Image_LoadStream",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
12191 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12192 if (SWIG_arg_fail(1)) SWIG_fail
;
12194 if (wxPyConvertSwigPtr(obj1
, (void **)&temp2
, wxT("wxPyInputStream"))) {
12195 arg2
= temp2
->m_wxis
;
12198 PyErr_Clear(); // clear the failure of the wxPyConvert above
12199 arg2
= wxPyCBInputStream_create(obj1
, false);
12200 if (arg2
== NULL
) {
12201 PyErr_SetString(PyExc_TypeError
, "Expected wx.InputStream or Python file-like object.");
12209 arg3
= (long)(SWIG_As_long(obj2
));
12210 if (SWIG_arg_fail(3)) SWIG_fail
;
12215 arg4
= (int)(SWIG_As_int(obj3
));
12216 if (SWIG_arg_fail(4)) SWIG_fail
;
12220 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12221 result
= (bool)(arg1
)->LoadFile(*arg2
,arg3
,arg4
);
12223 wxPyEndAllowThreads(__tstate
);
12224 if (PyErr_Occurred()) SWIG_fail
;
12227 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12230 if (created2
) delete arg2
;
12235 if (created2
) delete arg2
;
12241 static PyObject
*_wrap_Image_LoadMimeStream(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12242 PyObject
*resultobj
;
12243 wxImage
*arg1
= (wxImage
*) 0 ;
12244 wxInputStream
*arg2
= 0 ;
12245 wxString
*arg3
= 0 ;
12246 int arg4
= (int) -1 ;
12248 wxPyInputStream
*temp2
;
12250 bool temp3
= false ;
12251 PyObject
* obj0
= 0 ;
12252 PyObject
* obj1
= 0 ;
12253 PyObject
* obj2
= 0 ;
12254 PyObject
* obj3
= 0 ;
12255 char *kwnames
[] = {
12256 (char *) "self",(char *) "stream",(char *) "mimetype",(char *) "index", NULL
12259 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Image_LoadMimeStream",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
12260 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12261 if (SWIG_arg_fail(1)) SWIG_fail
;
12263 if (wxPyConvertSwigPtr(obj1
, (void **)&temp2
, wxT("wxPyInputStream"))) {
12264 arg2
= temp2
->m_wxis
;
12267 PyErr_Clear(); // clear the failure of the wxPyConvert above
12268 arg2
= wxPyCBInputStream_create(obj1
, false);
12269 if (arg2
== NULL
) {
12270 PyErr_SetString(PyExc_TypeError
, "Expected wx.InputStream or Python file-like object.");
12277 arg3
= wxString_in_helper(obj2
);
12278 if (arg3
== NULL
) SWIG_fail
;
12283 arg4
= (int)(SWIG_As_int(obj3
));
12284 if (SWIG_arg_fail(4)) SWIG_fail
;
12288 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12289 result
= (bool)(arg1
)->LoadFile(*arg2
,(wxString
const &)*arg3
,arg4
);
12291 wxPyEndAllowThreads(__tstate
);
12292 if (PyErr_Occurred()) SWIG_fail
;
12295 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12298 if (created2
) delete arg2
;
12307 if (created2
) delete arg2
;
12317 static PyObject
*_wrap_Image_Ok(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12318 PyObject
*resultobj
;
12319 wxImage
*arg1
= (wxImage
*) 0 ;
12321 PyObject
* obj0
= 0 ;
12322 char *kwnames
[] = {
12323 (char *) "self", NULL
12326 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_Ok",kwnames
,&obj0
)) goto fail
;
12327 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12328 if (SWIG_arg_fail(1)) SWIG_fail
;
12330 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12331 result
= (bool)(arg1
)->Ok();
12333 wxPyEndAllowThreads(__tstate
);
12334 if (PyErr_Occurred()) SWIG_fail
;
12337 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12345 static PyObject
*_wrap_Image_GetWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12346 PyObject
*resultobj
;
12347 wxImage
*arg1
= (wxImage
*) 0 ;
12349 PyObject
* obj0
= 0 ;
12350 char *kwnames
[] = {
12351 (char *) "self", NULL
12354 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetWidth",kwnames
,&obj0
)) goto fail
;
12355 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12356 if (SWIG_arg_fail(1)) SWIG_fail
;
12358 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12359 result
= (int)(arg1
)->GetWidth();
12361 wxPyEndAllowThreads(__tstate
);
12362 if (PyErr_Occurred()) SWIG_fail
;
12365 resultobj
= SWIG_From_int((int)(result
));
12373 static PyObject
*_wrap_Image_GetHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12374 PyObject
*resultobj
;
12375 wxImage
*arg1
= (wxImage
*) 0 ;
12377 PyObject
* obj0
= 0 ;
12378 char *kwnames
[] = {
12379 (char *) "self", NULL
12382 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetHeight",kwnames
,&obj0
)) goto fail
;
12383 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12384 if (SWIG_arg_fail(1)) SWIG_fail
;
12386 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12387 result
= (int)(arg1
)->GetHeight();
12389 wxPyEndAllowThreads(__tstate
);
12390 if (PyErr_Occurred()) SWIG_fail
;
12393 resultobj
= SWIG_From_int((int)(result
));
12401 static PyObject
*_wrap_Image_GetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12402 PyObject
*resultobj
;
12403 wxImage
*arg1
= (wxImage
*) 0 ;
12405 PyObject
* obj0
= 0 ;
12406 char *kwnames
[] = {
12407 (char *) "self", NULL
12410 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetSize",kwnames
,&obj0
)) goto fail
;
12411 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12412 if (SWIG_arg_fail(1)) SWIG_fail
;
12414 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12415 result
= wxImage_GetSize(arg1
);
12417 wxPyEndAllowThreads(__tstate
);
12418 if (PyErr_Occurred()) SWIG_fail
;
12421 wxSize
* resultptr
;
12422 resultptr
= new wxSize((wxSize
&)(result
));
12423 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
12431 static PyObject
*_wrap_Image_GetSubImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12432 PyObject
*resultobj
;
12433 wxImage
*arg1
= (wxImage
*) 0 ;
12435 SwigValueWrapper
<wxImage
> result
;
12437 PyObject
* obj0
= 0 ;
12438 PyObject
* obj1
= 0 ;
12439 char *kwnames
[] = {
12440 (char *) "self",(char *) "rect", NULL
12443 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_GetSubImage",kwnames
,&obj0
,&obj1
)) goto fail
;
12444 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12445 if (SWIG_arg_fail(1)) SWIG_fail
;
12448 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
12451 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12452 result
= (arg1
)->GetSubImage((wxRect
const &)*arg2
);
12454 wxPyEndAllowThreads(__tstate
);
12455 if (PyErr_Occurred()) SWIG_fail
;
12458 wxImage
* resultptr
;
12459 resultptr
= new wxImage((wxImage
&)(result
));
12460 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
12468 static PyObject
*_wrap_Image_Size(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12469 PyObject
*resultobj
;
12470 wxImage
*arg1
= (wxImage
*) 0 ;
12472 wxPoint
*arg3
= 0 ;
12473 int arg4
= (int) -1 ;
12474 int arg5
= (int) -1 ;
12475 int arg6
= (int) -1 ;
12476 SwigValueWrapper
<wxImage
> result
;
12479 PyObject
* obj0
= 0 ;
12480 PyObject
* obj1
= 0 ;
12481 PyObject
* obj2
= 0 ;
12482 PyObject
* obj3
= 0 ;
12483 PyObject
* obj4
= 0 ;
12484 PyObject
* obj5
= 0 ;
12485 char *kwnames
[] = {
12486 (char *) "self",(char *) "size",(char *) "pos",(char *) "r",(char *) "g",(char *) "b", NULL
12489 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOO:Image_Size",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
12490 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12491 if (SWIG_arg_fail(1)) SWIG_fail
;
12494 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
12498 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
12502 arg4
= (int)(SWIG_As_int(obj3
));
12503 if (SWIG_arg_fail(4)) SWIG_fail
;
12508 arg5
= (int)(SWIG_As_int(obj4
));
12509 if (SWIG_arg_fail(5)) SWIG_fail
;
12514 arg6
= (int)(SWIG_As_int(obj5
));
12515 if (SWIG_arg_fail(6)) SWIG_fail
;
12519 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12520 result
= ((wxImage
const *)arg1
)->Size((wxSize
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
,arg5
,arg6
);
12522 wxPyEndAllowThreads(__tstate
);
12523 if (PyErr_Occurred()) SWIG_fail
;
12526 wxImage
* resultptr
;
12527 resultptr
= new wxImage((wxImage
&)(result
));
12528 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
12536 static PyObject
*_wrap_Image_Copy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12537 PyObject
*resultobj
;
12538 wxImage
*arg1
= (wxImage
*) 0 ;
12539 SwigValueWrapper
<wxImage
> result
;
12540 PyObject
* obj0
= 0 ;
12541 char *kwnames
[] = {
12542 (char *) "self", NULL
12545 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_Copy",kwnames
,&obj0
)) goto fail
;
12546 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12547 if (SWIG_arg_fail(1)) SWIG_fail
;
12549 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12550 result
= (arg1
)->Copy();
12552 wxPyEndAllowThreads(__tstate
);
12553 if (PyErr_Occurred()) SWIG_fail
;
12556 wxImage
* resultptr
;
12557 resultptr
= new wxImage((wxImage
&)(result
));
12558 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
12566 static PyObject
*_wrap_Image_Paste(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12567 PyObject
*resultobj
;
12568 wxImage
*arg1
= (wxImage
*) 0 ;
12569 wxImage
*arg2
= 0 ;
12572 PyObject
* obj0
= 0 ;
12573 PyObject
* obj1
= 0 ;
12574 PyObject
* obj2
= 0 ;
12575 PyObject
* obj3
= 0 ;
12576 char *kwnames
[] = {
12577 (char *) "self",(char *) "image",(char *) "x",(char *) "y", NULL
12580 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Image_Paste",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
12581 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12582 if (SWIG_arg_fail(1)) SWIG_fail
;
12584 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12585 if (SWIG_arg_fail(2)) SWIG_fail
;
12586 if (arg2
== NULL
) {
12587 SWIG_null_ref("wxImage");
12589 if (SWIG_arg_fail(2)) SWIG_fail
;
12592 arg3
= (int)(SWIG_As_int(obj2
));
12593 if (SWIG_arg_fail(3)) SWIG_fail
;
12596 arg4
= (int)(SWIG_As_int(obj3
));
12597 if (SWIG_arg_fail(4)) SWIG_fail
;
12600 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12601 (arg1
)->Paste((wxImage
const &)*arg2
,arg3
,arg4
);
12603 wxPyEndAllowThreads(__tstate
);
12604 if (PyErr_Occurred()) SWIG_fail
;
12606 Py_INCREF(Py_None
); resultobj
= Py_None
;
12613 static PyObject
*_wrap_Image_GetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12614 PyObject
*resultobj
;
12615 wxImage
*arg1
= (wxImage
*) 0 ;
12617 PyObject
* obj0
= 0 ;
12618 char *kwnames
[] = {
12619 (char *) "self", NULL
12622 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetData",kwnames
,&obj0
)) goto fail
;
12623 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12624 if (SWIG_arg_fail(1)) SWIG_fail
;
12626 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12627 result
= (PyObject
*)wxImage_GetData(arg1
);
12629 wxPyEndAllowThreads(__tstate
);
12630 if (PyErr_Occurred()) SWIG_fail
;
12632 resultobj
= result
;
12639 static PyObject
*_wrap_Image_SetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12640 PyObject
*resultobj
;
12641 wxImage
*arg1
= (wxImage
*) 0 ;
12644 PyObject
* obj0
= 0 ;
12645 PyObject
* obj1
= 0 ;
12646 char *kwnames
[] = {
12647 (char *) "self",(char *) "data", NULL
12650 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
12651 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12652 if (SWIG_arg_fail(1)) SWIG_fail
;
12654 if (!PyArg_Parse(obj1
, "t#", &arg2
, &arg3
)) SWIG_fail
;
12657 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12658 wxImage_SetData(arg1
,arg2
,arg3
);
12660 wxPyEndAllowThreads(__tstate
);
12661 if (PyErr_Occurred()) SWIG_fail
;
12663 Py_INCREF(Py_None
); resultobj
= Py_None
;
12670 static PyObject
*_wrap_Image_GetDataBuffer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12671 PyObject
*resultobj
;
12672 wxImage
*arg1
= (wxImage
*) 0 ;
12674 PyObject
* obj0
= 0 ;
12675 char *kwnames
[] = {
12676 (char *) "self", NULL
12679 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetDataBuffer",kwnames
,&obj0
)) goto fail
;
12680 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12681 if (SWIG_arg_fail(1)) SWIG_fail
;
12683 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12684 result
= (PyObject
*)wxImage_GetDataBuffer(arg1
);
12686 wxPyEndAllowThreads(__tstate
);
12687 if (PyErr_Occurred()) SWIG_fail
;
12689 resultobj
= result
;
12696 static PyObject
*_wrap_Image_SetDataBuffer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12697 PyObject
*resultobj
;
12698 wxImage
*arg1
= (wxImage
*) 0 ;
12701 PyObject
* obj0
= 0 ;
12702 PyObject
* obj1
= 0 ;
12703 char *kwnames
[] = {
12704 (char *) "self",(char *) "data", NULL
12707 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_SetDataBuffer",kwnames
,&obj0
,&obj1
)) goto fail
;
12708 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12709 if (SWIG_arg_fail(1)) SWIG_fail
;
12711 if (!PyArg_Parse(obj1
, "t#", &arg2
, &arg3
)) SWIG_fail
;
12714 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12715 wxImage_SetDataBuffer(arg1
,arg2
,arg3
);
12717 wxPyEndAllowThreads(__tstate
);
12718 if (PyErr_Occurred()) SWIG_fail
;
12720 Py_INCREF(Py_None
); resultobj
= Py_None
;
12727 static PyObject
*_wrap_Image_GetAlphaData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12728 PyObject
*resultobj
;
12729 wxImage
*arg1
= (wxImage
*) 0 ;
12731 PyObject
* obj0
= 0 ;
12732 char *kwnames
[] = {
12733 (char *) "self", NULL
12736 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetAlphaData",kwnames
,&obj0
)) goto fail
;
12737 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12738 if (SWIG_arg_fail(1)) SWIG_fail
;
12740 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12741 result
= (PyObject
*)wxImage_GetAlphaData(arg1
);
12743 wxPyEndAllowThreads(__tstate
);
12744 if (PyErr_Occurred()) SWIG_fail
;
12746 resultobj
= result
;
12753 static PyObject
*_wrap_Image_SetAlphaData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12754 PyObject
*resultobj
;
12755 wxImage
*arg1
= (wxImage
*) 0 ;
12758 PyObject
* obj0
= 0 ;
12759 PyObject
* obj1
= 0 ;
12760 char *kwnames
[] = {
12761 (char *) "self",(char *) "alpha", NULL
12764 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_SetAlphaData",kwnames
,&obj0
,&obj1
)) goto fail
;
12765 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12766 if (SWIG_arg_fail(1)) SWIG_fail
;
12768 if (!PyArg_Parse(obj1
, "t#", &arg2
, &arg3
)) SWIG_fail
;
12771 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12772 wxImage_SetAlphaData(arg1
,arg2
,arg3
);
12774 wxPyEndAllowThreads(__tstate
);
12775 if (PyErr_Occurred()) SWIG_fail
;
12777 Py_INCREF(Py_None
); resultobj
= Py_None
;
12784 static PyObject
*_wrap_Image_GetAlphaBuffer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12785 PyObject
*resultobj
;
12786 wxImage
*arg1
= (wxImage
*) 0 ;
12788 PyObject
* obj0
= 0 ;
12789 char *kwnames
[] = {
12790 (char *) "self", NULL
12793 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetAlphaBuffer",kwnames
,&obj0
)) goto fail
;
12794 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12795 if (SWIG_arg_fail(1)) SWIG_fail
;
12797 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12798 result
= (PyObject
*)wxImage_GetAlphaBuffer(arg1
);
12800 wxPyEndAllowThreads(__tstate
);
12801 if (PyErr_Occurred()) SWIG_fail
;
12803 resultobj
= result
;
12810 static PyObject
*_wrap_Image_SetAlphaBuffer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12811 PyObject
*resultobj
;
12812 wxImage
*arg1
= (wxImage
*) 0 ;
12815 PyObject
* obj0
= 0 ;
12816 PyObject
* obj1
= 0 ;
12817 char *kwnames
[] = {
12818 (char *) "self",(char *) "alpha", NULL
12821 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_SetAlphaBuffer",kwnames
,&obj0
,&obj1
)) goto fail
;
12822 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12823 if (SWIG_arg_fail(1)) SWIG_fail
;
12825 if (!PyArg_Parse(obj1
, "t#", &arg2
, &arg3
)) SWIG_fail
;
12828 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12829 wxImage_SetAlphaBuffer(arg1
,arg2
,arg3
);
12831 wxPyEndAllowThreads(__tstate
);
12832 if (PyErr_Occurred()) SWIG_fail
;
12834 Py_INCREF(Py_None
); resultobj
= Py_None
;
12841 static PyObject
*_wrap_Image_SetMaskColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12842 PyObject
*resultobj
;
12843 wxImage
*arg1
= (wxImage
*) 0 ;
12847 PyObject
* obj0
= 0 ;
12848 PyObject
* obj1
= 0 ;
12849 PyObject
* obj2
= 0 ;
12850 PyObject
* obj3
= 0 ;
12851 char *kwnames
[] = {
12852 (char *) "self",(char *) "r",(char *) "g",(char *) "b", NULL
12855 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Image_SetMaskColour",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
12856 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12857 if (SWIG_arg_fail(1)) SWIG_fail
;
12859 arg2
= (byte
)(SWIG_As_unsigned_SS_char(obj1
));
12860 if (SWIG_arg_fail(2)) SWIG_fail
;
12863 arg3
= (byte
)(SWIG_As_unsigned_SS_char(obj2
));
12864 if (SWIG_arg_fail(3)) SWIG_fail
;
12867 arg4
= (byte
)(SWIG_As_unsigned_SS_char(obj3
));
12868 if (SWIG_arg_fail(4)) SWIG_fail
;
12871 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12872 (arg1
)->SetMaskColour(arg2
,arg3
,arg4
);
12874 wxPyEndAllowThreads(__tstate
);
12875 if (PyErr_Occurred()) SWIG_fail
;
12877 Py_INCREF(Py_None
); resultobj
= Py_None
;
12884 static PyObject
*_wrap_Image_GetOrFindMaskColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12885 PyObject
*resultobj
;
12886 wxImage
*arg1
= (wxImage
*) 0 ;
12887 byte
*arg2
= (byte
*) 0 ;
12888 byte
*arg3
= (byte
*) 0 ;
12889 byte
*arg4
= (byte
*) 0 ;
12896 PyObject
* obj0
= 0 ;
12897 char *kwnames
[] = {
12898 (char *) "self", NULL
12901 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
12902 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
12903 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
12904 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetOrFindMaskColour",kwnames
,&obj0
)) goto fail
;
12905 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12906 if (SWIG_arg_fail(1)) SWIG_fail
;
12908 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12909 ((wxImage
const *)arg1
)->GetOrFindMaskColour(arg2
,arg3
,arg4
);
12911 wxPyEndAllowThreads(__tstate
);
12912 if (PyErr_Occurred()) SWIG_fail
;
12914 Py_INCREF(Py_None
); resultobj
= Py_None
;
12915 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
12916 SWIG_From_unsigned_SS_char((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_unsigned_char
, 0)));
12917 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
12918 SWIG_From_unsigned_SS_char((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_unsigned_char
, 0)));
12919 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
12920 SWIG_From_unsigned_SS_char((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_unsigned_char
, 0)));
12927 static PyObject
*_wrap_Image_GetMaskRed(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12928 PyObject
*resultobj
;
12929 wxImage
*arg1
= (wxImage
*) 0 ;
12931 PyObject
* obj0
= 0 ;
12932 char *kwnames
[] = {
12933 (char *) "self", NULL
12936 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetMaskRed",kwnames
,&obj0
)) goto fail
;
12937 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12938 if (SWIG_arg_fail(1)) SWIG_fail
;
12940 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12941 result
= (byte
)(arg1
)->GetMaskRed();
12943 wxPyEndAllowThreads(__tstate
);
12944 if (PyErr_Occurred()) SWIG_fail
;
12947 resultobj
= SWIG_From_unsigned_SS_char((unsigned char)(result
));
12955 static PyObject
*_wrap_Image_GetMaskGreen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12956 PyObject
*resultobj
;
12957 wxImage
*arg1
= (wxImage
*) 0 ;
12959 PyObject
* obj0
= 0 ;
12960 char *kwnames
[] = {
12961 (char *) "self", NULL
12964 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetMaskGreen",kwnames
,&obj0
)) goto fail
;
12965 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12966 if (SWIG_arg_fail(1)) SWIG_fail
;
12968 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12969 result
= (byte
)(arg1
)->GetMaskGreen();
12971 wxPyEndAllowThreads(__tstate
);
12972 if (PyErr_Occurred()) SWIG_fail
;
12975 resultobj
= SWIG_From_unsigned_SS_char((unsigned char)(result
));
12983 static PyObject
*_wrap_Image_GetMaskBlue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12984 PyObject
*resultobj
;
12985 wxImage
*arg1
= (wxImage
*) 0 ;
12987 PyObject
* obj0
= 0 ;
12988 char *kwnames
[] = {
12989 (char *) "self", NULL
12992 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetMaskBlue",kwnames
,&obj0
)) goto fail
;
12993 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12994 if (SWIG_arg_fail(1)) SWIG_fail
;
12996 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12997 result
= (byte
)(arg1
)->GetMaskBlue();
12999 wxPyEndAllowThreads(__tstate
);
13000 if (PyErr_Occurred()) SWIG_fail
;
13003 resultobj
= SWIG_From_unsigned_SS_char((unsigned char)(result
));
13011 static PyObject
*_wrap_Image_SetMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13012 PyObject
*resultobj
;
13013 wxImage
*arg1
= (wxImage
*) 0 ;
13014 bool arg2
= (bool) true ;
13015 PyObject
* obj0
= 0 ;
13016 PyObject
* obj1
= 0 ;
13017 char *kwnames
[] = {
13018 (char *) "self",(char *) "mask", NULL
13021 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Image_SetMask",kwnames
,&obj0
,&obj1
)) goto fail
;
13022 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
13023 if (SWIG_arg_fail(1)) SWIG_fail
;
13026 arg2
= (bool)(SWIG_As_bool(obj1
));
13027 if (SWIG_arg_fail(2)) SWIG_fail
;
13031 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13032 (arg1
)->SetMask(arg2
);
13034 wxPyEndAllowThreads(__tstate
);
13035 if (PyErr_Occurred()) SWIG_fail
;
13037 Py_INCREF(Py_None
); resultobj
= Py_None
;
13044 static PyObject
*_wrap_Image_HasMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13045 PyObject
*resultobj
;
13046 wxImage
*arg1
= (wxImage
*) 0 ;
13048 PyObject
* obj0
= 0 ;
13049 char *kwnames
[] = {
13050 (char *) "self", NULL
13053 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_HasMask",kwnames
,&obj0
)) goto fail
;
13054 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
13055 if (SWIG_arg_fail(1)) SWIG_fail
;
13057 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13058 result
= (bool)(arg1
)->HasMask();
13060 wxPyEndAllowThreads(__tstate
);
13061 if (PyErr_Occurred()) SWIG_fail
;
13064 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13072 static PyObject
*_wrap_Image_Rotate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13073 PyObject
*resultobj
;
13074 wxImage
*arg1
= (wxImage
*) 0 ;
13076 wxPoint
*arg3
= 0 ;
13077 bool arg4
= (bool) true ;
13078 wxPoint
*arg5
= (wxPoint
*) NULL
;
13079 SwigValueWrapper
<wxImage
> result
;
13081 PyObject
* obj0
= 0 ;
13082 PyObject
* obj1
= 0 ;
13083 PyObject
* obj2
= 0 ;
13084 PyObject
* obj3
= 0 ;
13085 PyObject
* obj4
= 0 ;
13086 char *kwnames
[] = {
13087 (char *) "self",(char *) "angle",(char *) "centre_of_rotation",(char *) "interpolating",(char *) "offset_after_rotation", NULL
13090 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:Image_Rotate",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
13091 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
13092 if (SWIG_arg_fail(1)) SWIG_fail
;
13094 arg2
= (double)(SWIG_As_double(obj1
));
13095 if (SWIG_arg_fail(2)) SWIG_fail
;
13099 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
13103 arg4
= (bool)(SWIG_As_bool(obj3
));
13104 if (SWIG_arg_fail(4)) SWIG_fail
;
13108 SWIG_Python_ConvertPtr(obj4
, (void **)&arg5
, SWIGTYPE_p_wxPoint
, SWIG_POINTER_EXCEPTION
| 0);
13109 if (SWIG_arg_fail(5)) SWIG_fail
;
13112 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13113 result
= ((wxImage
const *)arg1
)->Rotate(arg2
,(wxPoint
const &)*arg3
,arg4
,arg5
);
13115 wxPyEndAllowThreads(__tstate
);
13116 if (PyErr_Occurred()) SWIG_fail
;
13119 wxImage
* resultptr
;
13120 resultptr
= new wxImage((wxImage
&)(result
));
13121 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
13129 static PyObject
*_wrap_Image_Rotate90(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13130 PyObject
*resultobj
;
13131 wxImage
*arg1
= (wxImage
*) 0 ;
13132 bool arg2
= (bool) true ;
13133 SwigValueWrapper
<wxImage
> result
;
13134 PyObject
* obj0
= 0 ;
13135 PyObject
* obj1
= 0 ;
13136 char *kwnames
[] = {
13137 (char *) "self",(char *) "clockwise", NULL
13140 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Image_Rotate90",kwnames
,&obj0
,&obj1
)) goto fail
;
13141 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
13142 if (SWIG_arg_fail(1)) SWIG_fail
;
13145 arg2
= (bool)(SWIG_As_bool(obj1
));
13146 if (SWIG_arg_fail(2)) SWIG_fail
;
13150 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13151 result
= (arg1
)->Rotate90(arg2
);
13153 wxPyEndAllowThreads(__tstate
);
13154 if (PyErr_Occurred()) SWIG_fail
;
13157 wxImage
* resultptr
;
13158 resultptr
= new wxImage((wxImage
&)(result
));
13159 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
13167 static PyObject
*_wrap_Image_Mirror(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13168 PyObject
*resultobj
;
13169 wxImage
*arg1
= (wxImage
*) 0 ;
13170 bool arg2
= (bool) true ;
13171 SwigValueWrapper
<wxImage
> result
;
13172 PyObject
* obj0
= 0 ;
13173 PyObject
* obj1
= 0 ;
13174 char *kwnames
[] = {
13175 (char *) "self",(char *) "horizontally", NULL
13178 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Image_Mirror",kwnames
,&obj0
,&obj1
)) goto fail
;
13179 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
13180 if (SWIG_arg_fail(1)) SWIG_fail
;
13183 arg2
= (bool)(SWIG_As_bool(obj1
));
13184 if (SWIG_arg_fail(2)) SWIG_fail
;
13188 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13189 result
= (arg1
)->Mirror(arg2
);
13191 wxPyEndAllowThreads(__tstate
);
13192 if (PyErr_Occurred()) SWIG_fail
;
13195 wxImage
* resultptr
;
13196 resultptr
= new wxImage((wxImage
&)(result
));
13197 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
13205 static PyObject
*_wrap_Image_Replace(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13206 PyObject
*resultobj
;
13207 wxImage
*arg1
= (wxImage
*) 0 ;
13214 PyObject
* obj0
= 0 ;
13215 PyObject
* obj1
= 0 ;
13216 PyObject
* obj2
= 0 ;
13217 PyObject
* obj3
= 0 ;
13218 PyObject
* obj4
= 0 ;
13219 PyObject
* obj5
= 0 ;
13220 PyObject
* obj6
= 0 ;
13221 char *kwnames
[] = {
13222 (char *) "self",(char *) "r1",(char *) "g1",(char *) "b1",(char *) "r2",(char *) "g2",(char *) "b2", NULL
13225 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:Image_Replace",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
13226 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
13227 if (SWIG_arg_fail(1)) SWIG_fail
;
13229 arg2
= (byte
)(SWIG_As_unsigned_SS_char(obj1
));
13230 if (SWIG_arg_fail(2)) SWIG_fail
;
13233 arg3
= (byte
)(SWIG_As_unsigned_SS_char(obj2
));
13234 if (SWIG_arg_fail(3)) SWIG_fail
;
13237 arg4
= (byte
)(SWIG_As_unsigned_SS_char(obj3
));
13238 if (SWIG_arg_fail(4)) SWIG_fail
;
13241 arg5
= (byte
)(SWIG_As_unsigned_SS_char(obj4
));
13242 if (SWIG_arg_fail(5)) SWIG_fail
;
13245 arg6
= (byte
)(SWIG_As_unsigned_SS_char(obj5
));
13246 if (SWIG_arg_fail(6)) SWIG_fail
;
13249 arg7
= (byte
)(SWIG_As_unsigned_SS_char(obj6
));
13250 if (SWIG_arg_fail(7)) SWIG_fail
;
13253 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13254 (arg1
)->Replace(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
13256 wxPyEndAllowThreads(__tstate
);
13257 if (PyErr_Occurred()) SWIG_fail
;
13259 Py_INCREF(Py_None
); resultobj
= Py_None
;
13266 static PyObject
*_wrap_Image_ConvertToMono(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13267 PyObject
*resultobj
;
13268 wxImage
*arg1
= (wxImage
*) 0 ;
13272 SwigValueWrapper
<wxImage
> result
;
13273 PyObject
* obj0
= 0 ;
13274 PyObject
* obj1
= 0 ;
13275 PyObject
* obj2
= 0 ;
13276 PyObject
* obj3
= 0 ;
13277 char *kwnames
[] = {
13278 (char *) "self",(char *) "r",(char *) "g",(char *) "b", NULL
13281 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Image_ConvertToMono",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
13282 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
13283 if (SWIG_arg_fail(1)) SWIG_fail
;
13285 arg2
= (byte
)(SWIG_As_unsigned_SS_char(obj1
));
13286 if (SWIG_arg_fail(2)) SWIG_fail
;
13289 arg3
= (byte
)(SWIG_As_unsigned_SS_char(obj2
));
13290 if (SWIG_arg_fail(3)) SWIG_fail
;
13293 arg4
= (byte
)(SWIG_As_unsigned_SS_char(obj3
));
13294 if (SWIG_arg_fail(4)) SWIG_fail
;
13297 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13298 result
= ((wxImage
const *)arg1
)->ConvertToMono(arg2
,arg3
,arg4
);
13300 wxPyEndAllowThreads(__tstate
);
13301 if (PyErr_Occurred()) SWIG_fail
;
13304 wxImage
* resultptr
;
13305 resultptr
= new wxImage((wxImage
&)(result
));
13306 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
13314 static PyObject
*_wrap_Image_SetOption(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13315 PyObject
*resultobj
;
13316 wxImage
*arg1
= (wxImage
*) 0 ;
13317 wxString
*arg2
= 0 ;
13318 wxString
*arg3
= 0 ;
13319 bool temp2
= false ;
13320 bool temp3
= false ;
13321 PyObject
* obj0
= 0 ;
13322 PyObject
* obj1
= 0 ;
13323 PyObject
* obj2
= 0 ;
13324 char *kwnames
[] = {
13325 (char *) "self",(char *) "name",(char *) "value", NULL
13328 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_SetOption",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13329 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
13330 if (SWIG_arg_fail(1)) SWIG_fail
;
13332 arg2
= wxString_in_helper(obj1
);
13333 if (arg2
== NULL
) SWIG_fail
;
13337 arg3
= wxString_in_helper(obj2
);
13338 if (arg3
== NULL
) SWIG_fail
;
13342 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13343 (arg1
)->SetOption((wxString
const &)*arg2
,(wxString
const &)*arg3
);
13345 wxPyEndAllowThreads(__tstate
);
13346 if (PyErr_Occurred()) SWIG_fail
;
13348 Py_INCREF(Py_None
); resultobj
= Py_None
;
13371 static PyObject
*_wrap_Image_SetOptionInt(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13372 PyObject
*resultobj
;
13373 wxImage
*arg1
= (wxImage
*) 0 ;
13374 wxString
*arg2
= 0 ;
13376 bool temp2
= false ;
13377 PyObject
* obj0
= 0 ;
13378 PyObject
* obj1
= 0 ;
13379 PyObject
* obj2
= 0 ;
13380 char *kwnames
[] = {
13381 (char *) "self",(char *) "name",(char *) "value", NULL
13384 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_SetOptionInt",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13385 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
13386 if (SWIG_arg_fail(1)) SWIG_fail
;
13388 arg2
= wxString_in_helper(obj1
);
13389 if (arg2
== NULL
) SWIG_fail
;
13393 arg3
= (int)(SWIG_As_int(obj2
));
13394 if (SWIG_arg_fail(3)) SWIG_fail
;
13397 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13398 (arg1
)->SetOption((wxString
const &)*arg2
,arg3
);
13400 wxPyEndAllowThreads(__tstate
);
13401 if (PyErr_Occurred()) SWIG_fail
;
13403 Py_INCREF(Py_None
); resultobj
= Py_None
;
13418 static PyObject
*_wrap_Image_GetOption(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13419 PyObject
*resultobj
;
13420 wxImage
*arg1
= (wxImage
*) 0 ;
13421 wxString
*arg2
= 0 ;
13423 bool temp2
= false ;
13424 PyObject
* obj0
= 0 ;
13425 PyObject
* obj1
= 0 ;
13426 char *kwnames
[] = {
13427 (char *) "self",(char *) "name", NULL
13430 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_GetOption",kwnames
,&obj0
,&obj1
)) goto fail
;
13431 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
13432 if (SWIG_arg_fail(1)) SWIG_fail
;
13434 arg2
= wxString_in_helper(obj1
);
13435 if (arg2
== NULL
) SWIG_fail
;
13439 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13440 result
= ((wxImage
const *)arg1
)->GetOption((wxString
const &)*arg2
);
13442 wxPyEndAllowThreads(__tstate
);
13443 if (PyErr_Occurred()) SWIG_fail
;
13447 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13449 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13466 static PyObject
*_wrap_Image_GetOptionInt(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13467 PyObject
*resultobj
;
13468 wxImage
*arg1
= (wxImage
*) 0 ;
13469 wxString
*arg2
= 0 ;
13471 bool temp2
= false ;
13472 PyObject
* obj0
= 0 ;
13473 PyObject
* obj1
= 0 ;
13474 char *kwnames
[] = {
13475 (char *) "self",(char *) "name", NULL
13478 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_GetOptionInt",kwnames
,&obj0
,&obj1
)) goto fail
;
13479 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
13480 if (SWIG_arg_fail(1)) SWIG_fail
;
13482 arg2
= wxString_in_helper(obj1
);
13483 if (arg2
== NULL
) SWIG_fail
;
13487 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13488 result
= (int)((wxImage
const *)arg1
)->GetOptionInt((wxString
const &)*arg2
);
13490 wxPyEndAllowThreads(__tstate
);
13491 if (PyErr_Occurred()) SWIG_fail
;
13494 resultobj
= SWIG_From_int((int)(result
));
13510 static PyObject
*_wrap_Image_HasOption(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13511 PyObject
*resultobj
;
13512 wxImage
*arg1
= (wxImage
*) 0 ;
13513 wxString
*arg2
= 0 ;
13515 bool temp2
= false ;
13516 PyObject
* obj0
= 0 ;
13517 PyObject
* obj1
= 0 ;
13518 char *kwnames
[] = {
13519 (char *) "self",(char *) "name", NULL
13522 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_HasOption",kwnames
,&obj0
,&obj1
)) goto fail
;
13523 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
13524 if (SWIG_arg_fail(1)) SWIG_fail
;
13526 arg2
= wxString_in_helper(obj1
);
13527 if (arg2
== NULL
) SWIG_fail
;
13531 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13532 result
= (bool)((wxImage
const *)arg1
)->HasOption((wxString
const &)*arg2
);
13534 wxPyEndAllowThreads(__tstate
);
13535 if (PyErr_Occurred()) SWIG_fail
;
13538 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13554 static PyObject
*_wrap_Image_CountColours(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13555 PyObject
*resultobj
;
13556 wxImage
*arg1
= (wxImage
*) 0 ;
13557 unsigned long arg2
= (unsigned long) (unsigned long) -1 ;
13558 unsigned long result
;
13559 PyObject
* obj0
= 0 ;
13560 PyObject
* obj1
= 0 ;
13561 char *kwnames
[] = {
13562 (char *) "self",(char *) "stopafter", NULL
13565 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Image_CountColours",kwnames
,&obj0
,&obj1
)) goto fail
;
13566 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
13567 if (SWIG_arg_fail(1)) SWIG_fail
;
13570 arg2
= (unsigned long)(SWIG_As_unsigned_SS_long(obj1
));
13571 if (SWIG_arg_fail(2)) SWIG_fail
;
13575 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13576 result
= (unsigned long)(arg1
)->CountColours(arg2
);
13578 wxPyEndAllowThreads(__tstate
);
13579 if (PyErr_Occurred()) SWIG_fail
;
13582 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
13590 static PyObject
*_wrap_Image_ComputeHistogram(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13591 PyObject
*resultobj
;
13592 wxImage
*arg1
= (wxImage
*) 0 ;
13593 wxImageHistogram
*arg2
= 0 ;
13594 unsigned long result
;
13595 PyObject
* obj0
= 0 ;
13596 PyObject
* obj1
= 0 ;
13597 char *kwnames
[] = {
13598 (char *) "self",(char *) "h", NULL
13601 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_ComputeHistogram",kwnames
,&obj0
,&obj1
)) goto fail
;
13602 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
13603 if (SWIG_arg_fail(1)) SWIG_fail
;
13605 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxImageHistogram
, SWIG_POINTER_EXCEPTION
| 0);
13606 if (SWIG_arg_fail(2)) SWIG_fail
;
13607 if (arg2
== NULL
) {
13608 SWIG_null_ref("wxImageHistogram");
13610 if (SWIG_arg_fail(2)) SWIG_fail
;
13613 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13614 result
= (unsigned long)(arg1
)->ComputeHistogram(*arg2
);
13616 wxPyEndAllowThreads(__tstate
);
13617 if (PyErr_Occurred()) SWIG_fail
;
13620 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
13628 static PyObject
*_wrap_Image_AddHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13629 PyObject
*resultobj
;
13630 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
13631 PyObject
* obj0
= 0 ;
13632 char *kwnames
[] = {
13633 (char *) "handler", NULL
13636 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_AddHandler",kwnames
,&obj0
)) goto fail
;
13637 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImageHandler
, SWIG_POINTER_EXCEPTION
| 0);
13638 if (SWIG_arg_fail(1)) SWIG_fail
;
13640 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13641 wxImage::AddHandler(arg1
);
13643 wxPyEndAllowThreads(__tstate
);
13644 if (PyErr_Occurred()) SWIG_fail
;
13646 Py_INCREF(Py_None
); resultobj
= Py_None
;
13653 static PyObject
*_wrap_Image_InsertHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13654 PyObject
*resultobj
;
13655 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
13656 PyObject
* obj0
= 0 ;
13657 char *kwnames
[] = {
13658 (char *) "handler", NULL
13661 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_InsertHandler",kwnames
,&obj0
)) goto fail
;
13662 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImageHandler
, SWIG_POINTER_EXCEPTION
| 0);
13663 if (SWIG_arg_fail(1)) SWIG_fail
;
13665 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13666 wxImage::InsertHandler(arg1
);
13668 wxPyEndAllowThreads(__tstate
);
13669 if (PyErr_Occurred()) SWIG_fail
;
13671 Py_INCREF(Py_None
); resultobj
= Py_None
;
13678 static PyObject
*_wrap_Image_RemoveHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13679 PyObject
*resultobj
;
13680 wxString
*arg1
= 0 ;
13682 bool temp1
= false ;
13683 PyObject
* obj0
= 0 ;
13684 char *kwnames
[] = {
13685 (char *) "name", NULL
13688 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_RemoveHandler",kwnames
,&obj0
)) goto fail
;
13690 arg1
= wxString_in_helper(obj0
);
13691 if (arg1
== NULL
) SWIG_fail
;
13695 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13696 result
= (bool)wxImage::RemoveHandler((wxString
const &)*arg1
);
13698 wxPyEndAllowThreads(__tstate
);
13699 if (PyErr_Occurred()) SWIG_fail
;
13702 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13718 static PyObject
*_wrap_Image_GetImageExtWildcard(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13719 PyObject
*resultobj
;
13721 char *kwnames
[] = {
13725 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Image_GetImageExtWildcard",kwnames
)) goto fail
;
13727 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13728 result
= wxImage::GetImageExtWildcard();
13730 wxPyEndAllowThreads(__tstate
);
13731 if (PyErr_Occurred()) SWIG_fail
;
13735 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13737 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13746 static PyObject
*_wrap_Image_ConvertToBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13747 PyObject
*resultobj
;
13748 wxImage
*arg1
= (wxImage
*) 0 ;
13749 int arg2
= (int) -1 ;
13751 PyObject
* obj0
= 0 ;
13752 PyObject
* obj1
= 0 ;
13753 char *kwnames
[] = {
13754 (char *) "self",(char *) "depth", NULL
13757 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Image_ConvertToBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
13758 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
13759 if (SWIG_arg_fail(1)) SWIG_fail
;
13762 arg2
= (int)(SWIG_As_int(obj1
));
13763 if (SWIG_arg_fail(2)) SWIG_fail
;
13767 if (!wxPyCheckForApp()) SWIG_fail
;
13768 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13769 result
= wxImage_ConvertToBitmap(arg1
,arg2
);
13771 wxPyEndAllowThreads(__tstate
);
13772 if (PyErr_Occurred()) SWIG_fail
;
13775 wxBitmap
* resultptr
;
13776 resultptr
= new wxBitmap((wxBitmap
&)(result
));
13777 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
13785 static PyObject
*_wrap_Image_ConvertToMonoBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13786 PyObject
*resultobj
;
13787 wxImage
*arg1
= (wxImage
*) 0 ;
13792 PyObject
* obj0
= 0 ;
13793 PyObject
* obj1
= 0 ;
13794 PyObject
* obj2
= 0 ;
13795 PyObject
* obj3
= 0 ;
13796 char *kwnames
[] = {
13797 (char *) "self",(char *) "red",(char *) "green",(char *) "blue", NULL
13800 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Image_ConvertToMonoBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
13801 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
13802 if (SWIG_arg_fail(1)) SWIG_fail
;
13804 arg2
= (byte
)(SWIG_As_unsigned_SS_char(obj1
));
13805 if (SWIG_arg_fail(2)) SWIG_fail
;
13808 arg3
= (byte
)(SWIG_As_unsigned_SS_char(obj2
));
13809 if (SWIG_arg_fail(3)) SWIG_fail
;
13812 arg4
= (byte
)(SWIG_As_unsigned_SS_char(obj3
));
13813 if (SWIG_arg_fail(4)) SWIG_fail
;
13816 if (!wxPyCheckForApp()) SWIG_fail
;
13817 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13818 result
= wxImage_ConvertToMonoBitmap(arg1
,arg2
,arg3
,arg4
);
13820 wxPyEndAllowThreads(__tstate
);
13821 if (PyErr_Occurred()) SWIG_fail
;
13824 wxBitmap
* resultptr
;
13825 resultptr
= new wxBitmap((wxBitmap
&)(result
));
13826 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
13834 static PyObject
* Image_swigregister(PyObject
*, PyObject
*args
) {
13836 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13837 SWIG_TypeClientData(SWIGTYPE_p_wxImage
, obj
);
13839 return Py_BuildValue((char *)"");
13841 static int _wrap_NullImage_set(PyObject
*) {
13842 PyErr_SetString(PyExc_TypeError
,"Variable NullImage is read-only.");
13847 static PyObject
*_wrap_NullImage_get(void) {
13850 pyobj
= SWIG_NewPointerObj((void *)(&wxNullImage
), SWIGTYPE_p_wxImage
, 0);
13855 static int _wrap_IMAGE_OPTION_FILENAME_set(PyObject
*) {
13856 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_FILENAME is read-only.");
13861 static PyObject
*_wrap_IMAGE_OPTION_FILENAME_get(void) {
13866 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_FILENAME
)->c_str(), (&wxPyIMAGE_OPTION_FILENAME
)->Len());
13868 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_FILENAME
)->c_str(), (&wxPyIMAGE_OPTION_FILENAME
)->Len());
13875 static int _wrap_IMAGE_OPTION_BMP_FORMAT_set(PyObject
*) {
13876 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_BMP_FORMAT is read-only.");
13881 static PyObject
*_wrap_IMAGE_OPTION_BMP_FORMAT_get(void) {
13886 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_BMP_FORMAT
)->c_str(), (&wxPyIMAGE_OPTION_BMP_FORMAT
)->Len());
13888 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_BMP_FORMAT
)->c_str(), (&wxPyIMAGE_OPTION_BMP_FORMAT
)->Len());
13895 static int _wrap_IMAGE_OPTION_CUR_HOTSPOT_X_set(PyObject
*) {
13896 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_CUR_HOTSPOT_X is read-only.");
13901 static PyObject
*_wrap_IMAGE_OPTION_CUR_HOTSPOT_X_get(void) {
13906 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_CUR_HOTSPOT_X
)->c_str(), (&wxPyIMAGE_OPTION_CUR_HOTSPOT_X
)->Len());
13908 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_CUR_HOTSPOT_X
)->c_str(), (&wxPyIMAGE_OPTION_CUR_HOTSPOT_X
)->Len());
13915 static int _wrap_IMAGE_OPTION_CUR_HOTSPOT_Y_set(PyObject
*) {
13916 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_CUR_HOTSPOT_Y is read-only.");
13921 static PyObject
*_wrap_IMAGE_OPTION_CUR_HOTSPOT_Y_get(void) {
13926 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_CUR_HOTSPOT_Y
)->c_str(), (&wxPyIMAGE_OPTION_CUR_HOTSPOT_Y
)->Len());
13928 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_CUR_HOTSPOT_Y
)->c_str(), (&wxPyIMAGE_OPTION_CUR_HOTSPOT_Y
)->Len());
13935 static int _wrap_IMAGE_OPTION_RESOLUTION_set(PyObject
*) {
13936 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_RESOLUTION is read-only.");
13941 static PyObject
*_wrap_IMAGE_OPTION_RESOLUTION_get(void) {
13946 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_RESOLUTION
)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTION
)->Len());
13948 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_RESOLUTION
)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTION
)->Len());
13955 static int _wrap_IMAGE_OPTION_RESOLUTIONX_set(PyObject
*) {
13956 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_RESOLUTIONX is read-only.");
13961 static PyObject
*_wrap_IMAGE_OPTION_RESOLUTIONX_get(void) {
13966 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_RESOLUTIONX
)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTIONX
)->Len());
13968 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_RESOLUTIONX
)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTIONX
)->Len());
13975 static int _wrap_IMAGE_OPTION_RESOLUTIONY_set(PyObject
*) {
13976 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_RESOLUTIONY is read-only.");
13981 static PyObject
*_wrap_IMAGE_OPTION_RESOLUTIONY_get(void) {
13986 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_RESOLUTIONY
)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTIONY
)->Len());
13988 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_RESOLUTIONY
)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTIONY
)->Len());
13995 static int _wrap_IMAGE_OPTION_RESOLUTIONUNIT_set(PyObject
*) {
13996 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_RESOLUTIONUNIT is read-only.");
14001 static PyObject
*_wrap_IMAGE_OPTION_RESOLUTIONUNIT_get(void) {
14006 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_RESOLUTIONUNIT
)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTIONUNIT
)->Len());
14008 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_RESOLUTIONUNIT
)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTIONUNIT
)->Len());
14015 static int _wrap_IMAGE_OPTION_QUALITY_set(PyObject
*) {
14016 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_QUALITY is read-only.");
14021 static PyObject
*_wrap_IMAGE_OPTION_QUALITY_get(void) {
14026 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_QUALITY
)->c_str(), (&wxPyIMAGE_OPTION_QUALITY
)->Len());
14028 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_QUALITY
)->c_str(), (&wxPyIMAGE_OPTION_QUALITY
)->Len());
14035 static int _wrap_IMAGE_OPTION_BITSPERSAMPLE_set(PyObject
*) {
14036 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_BITSPERSAMPLE is read-only.");
14041 static PyObject
*_wrap_IMAGE_OPTION_BITSPERSAMPLE_get(void) {
14046 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_BITSPERSAMPLE
)->c_str(), (&wxPyIMAGE_OPTION_BITSPERSAMPLE
)->Len());
14048 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_BITSPERSAMPLE
)->c_str(), (&wxPyIMAGE_OPTION_BITSPERSAMPLE
)->Len());
14055 static int _wrap_IMAGE_OPTION_SAMPLESPERPIXEL_set(PyObject
*) {
14056 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_SAMPLESPERPIXEL is read-only.");
14061 static PyObject
*_wrap_IMAGE_OPTION_SAMPLESPERPIXEL_get(void) {
14066 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_SAMPLESPERPIXEL
)->c_str(), (&wxPyIMAGE_OPTION_SAMPLESPERPIXEL
)->Len());
14068 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_SAMPLESPERPIXEL
)->c_str(), (&wxPyIMAGE_OPTION_SAMPLESPERPIXEL
)->Len());
14075 static int _wrap_IMAGE_OPTION_COMPRESSION_set(PyObject
*) {
14076 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_COMPRESSION is read-only.");
14081 static PyObject
*_wrap_IMAGE_OPTION_COMPRESSION_get(void) {
14086 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_COMPRESSION
)->c_str(), (&wxPyIMAGE_OPTION_COMPRESSION
)->Len());
14088 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_COMPRESSION
)->c_str(), (&wxPyIMAGE_OPTION_COMPRESSION
)->Len());
14095 static int _wrap_IMAGE_OPTION_IMAGEDESCRIPTOR_set(PyObject
*) {
14096 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_IMAGEDESCRIPTOR is read-only.");
14101 static PyObject
*_wrap_IMAGE_OPTION_IMAGEDESCRIPTOR_get(void) {
14106 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_IMAGEDESCRIPTOR
)->c_str(), (&wxPyIMAGE_OPTION_IMAGEDESCRIPTOR
)->Len());
14108 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_IMAGEDESCRIPTOR
)->c_str(), (&wxPyIMAGE_OPTION_IMAGEDESCRIPTOR
)->Len());
14115 static int _wrap_IMAGE_OPTION_PNG_FORMAT_set(PyObject
*) {
14116 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_PNG_FORMAT is read-only.");
14121 static PyObject
*_wrap_IMAGE_OPTION_PNG_FORMAT_get(void) {
14126 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_PNG_FORMAT
)->c_str(), (&wxPyIMAGE_OPTION_PNG_FORMAT
)->Len());
14128 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_PNG_FORMAT
)->c_str(), (&wxPyIMAGE_OPTION_PNG_FORMAT
)->Len());
14135 static int _wrap_IMAGE_OPTION_PNG_BITDEPTH_set(PyObject
*) {
14136 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_PNG_BITDEPTH is read-only.");
14141 static PyObject
*_wrap_IMAGE_OPTION_PNG_BITDEPTH_get(void) {
14146 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_PNG_BITDEPTH
)->c_str(), (&wxPyIMAGE_OPTION_PNG_BITDEPTH
)->Len());
14148 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_PNG_BITDEPTH
)->c_str(), (&wxPyIMAGE_OPTION_PNG_BITDEPTH
)->Len());
14155 static PyObject
*_wrap_new_BMPHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14156 PyObject
*resultobj
;
14157 wxBMPHandler
*result
;
14158 char *kwnames
[] = {
14162 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_BMPHandler",kwnames
)) goto fail
;
14164 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14165 result
= (wxBMPHandler
*)new wxBMPHandler();
14167 wxPyEndAllowThreads(__tstate
);
14168 if (PyErr_Occurred()) SWIG_fail
;
14170 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBMPHandler
, 1);
14177 static PyObject
* BMPHandler_swigregister(PyObject
*, PyObject
*args
) {
14179 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14180 SWIG_TypeClientData(SWIGTYPE_p_wxBMPHandler
, obj
);
14182 return Py_BuildValue((char *)"");
14184 static PyObject
*_wrap_new_ICOHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14185 PyObject
*resultobj
;
14186 wxICOHandler
*result
;
14187 char *kwnames
[] = {
14191 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ICOHandler",kwnames
)) goto fail
;
14193 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14194 result
= (wxICOHandler
*)new wxICOHandler();
14196 wxPyEndAllowThreads(__tstate
);
14197 if (PyErr_Occurred()) SWIG_fail
;
14199 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxICOHandler
, 1);
14206 static PyObject
* ICOHandler_swigregister(PyObject
*, PyObject
*args
) {
14208 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14209 SWIG_TypeClientData(SWIGTYPE_p_wxICOHandler
, obj
);
14211 return Py_BuildValue((char *)"");
14213 static PyObject
*_wrap_new_CURHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14214 PyObject
*resultobj
;
14215 wxCURHandler
*result
;
14216 char *kwnames
[] = {
14220 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_CURHandler",kwnames
)) goto fail
;
14222 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14223 result
= (wxCURHandler
*)new wxCURHandler();
14225 wxPyEndAllowThreads(__tstate
);
14226 if (PyErr_Occurred()) SWIG_fail
;
14228 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCURHandler
, 1);
14235 static PyObject
* CURHandler_swigregister(PyObject
*, PyObject
*args
) {
14237 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14238 SWIG_TypeClientData(SWIGTYPE_p_wxCURHandler
, obj
);
14240 return Py_BuildValue((char *)"");
14242 static PyObject
*_wrap_new_ANIHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14243 PyObject
*resultobj
;
14244 wxANIHandler
*result
;
14245 char *kwnames
[] = {
14249 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ANIHandler",kwnames
)) goto fail
;
14251 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14252 result
= (wxANIHandler
*)new wxANIHandler();
14254 wxPyEndAllowThreads(__tstate
);
14255 if (PyErr_Occurred()) SWIG_fail
;
14257 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxANIHandler
, 1);
14264 static PyObject
* ANIHandler_swigregister(PyObject
*, PyObject
*args
) {
14266 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14267 SWIG_TypeClientData(SWIGTYPE_p_wxANIHandler
, obj
);
14269 return Py_BuildValue((char *)"");
14271 static PyObject
*_wrap_new_PNGHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14272 PyObject
*resultobj
;
14273 wxPNGHandler
*result
;
14274 char *kwnames
[] = {
14278 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PNGHandler",kwnames
)) goto fail
;
14280 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14281 result
= (wxPNGHandler
*)new wxPNGHandler();
14283 wxPyEndAllowThreads(__tstate
);
14284 if (PyErr_Occurred()) SWIG_fail
;
14286 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPNGHandler
, 1);
14293 static PyObject
* PNGHandler_swigregister(PyObject
*, PyObject
*args
) {
14295 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14296 SWIG_TypeClientData(SWIGTYPE_p_wxPNGHandler
, obj
);
14298 return Py_BuildValue((char *)"");
14300 static PyObject
*_wrap_new_GIFHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14301 PyObject
*resultobj
;
14302 wxGIFHandler
*result
;
14303 char *kwnames
[] = {
14307 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_GIFHandler",kwnames
)) goto fail
;
14309 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14310 result
= (wxGIFHandler
*)new wxGIFHandler();
14312 wxPyEndAllowThreads(__tstate
);
14313 if (PyErr_Occurred()) SWIG_fail
;
14315 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGIFHandler
, 1);
14322 static PyObject
* GIFHandler_swigregister(PyObject
*, PyObject
*args
) {
14324 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14325 SWIG_TypeClientData(SWIGTYPE_p_wxGIFHandler
, obj
);
14327 return Py_BuildValue((char *)"");
14329 static PyObject
*_wrap_new_PCXHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14330 PyObject
*resultobj
;
14331 wxPCXHandler
*result
;
14332 char *kwnames
[] = {
14336 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PCXHandler",kwnames
)) goto fail
;
14338 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14339 result
= (wxPCXHandler
*)new wxPCXHandler();
14341 wxPyEndAllowThreads(__tstate
);
14342 if (PyErr_Occurred()) SWIG_fail
;
14344 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPCXHandler
, 1);
14351 static PyObject
* PCXHandler_swigregister(PyObject
*, PyObject
*args
) {
14353 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14354 SWIG_TypeClientData(SWIGTYPE_p_wxPCXHandler
, obj
);
14356 return Py_BuildValue((char *)"");
14358 static PyObject
*_wrap_new_JPEGHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14359 PyObject
*resultobj
;
14360 wxJPEGHandler
*result
;
14361 char *kwnames
[] = {
14365 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_JPEGHandler",kwnames
)) goto fail
;
14367 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14368 result
= (wxJPEGHandler
*)new wxJPEGHandler();
14370 wxPyEndAllowThreads(__tstate
);
14371 if (PyErr_Occurred()) SWIG_fail
;
14373 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxJPEGHandler
, 1);
14380 static PyObject
* JPEGHandler_swigregister(PyObject
*, PyObject
*args
) {
14382 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14383 SWIG_TypeClientData(SWIGTYPE_p_wxJPEGHandler
, obj
);
14385 return Py_BuildValue((char *)"");
14387 static PyObject
*_wrap_new_PNMHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14388 PyObject
*resultobj
;
14389 wxPNMHandler
*result
;
14390 char *kwnames
[] = {
14394 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PNMHandler",kwnames
)) goto fail
;
14396 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14397 result
= (wxPNMHandler
*)new wxPNMHandler();
14399 wxPyEndAllowThreads(__tstate
);
14400 if (PyErr_Occurred()) SWIG_fail
;
14402 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPNMHandler
, 1);
14409 static PyObject
* PNMHandler_swigregister(PyObject
*, PyObject
*args
) {
14411 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14412 SWIG_TypeClientData(SWIGTYPE_p_wxPNMHandler
, obj
);
14414 return Py_BuildValue((char *)"");
14416 static PyObject
*_wrap_new_XPMHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14417 PyObject
*resultobj
;
14418 wxXPMHandler
*result
;
14419 char *kwnames
[] = {
14423 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_XPMHandler",kwnames
)) goto fail
;
14425 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14426 result
= (wxXPMHandler
*)new wxXPMHandler();
14428 wxPyEndAllowThreads(__tstate
);
14429 if (PyErr_Occurred()) SWIG_fail
;
14431 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxXPMHandler
, 1);
14438 static PyObject
* XPMHandler_swigregister(PyObject
*, PyObject
*args
) {
14440 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14441 SWIG_TypeClientData(SWIGTYPE_p_wxXPMHandler
, obj
);
14443 return Py_BuildValue((char *)"");
14445 static PyObject
*_wrap_new_TIFFHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14446 PyObject
*resultobj
;
14447 wxTIFFHandler
*result
;
14448 char *kwnames
[] = {
14452 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_TIFFHandler",kwnames
)) goto fail
;
14454 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14455 result
= (wxTIFFHandler
*)new wxTIFFHandler();
14457 wxPyEndAllowThreads(__tstate
);
14458 if (PyErr_Occurred()) SWIG_fail
;
14460 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTIFFHandler
, 1);
14467 static PyObject
* TIFFHandler_swigregister(PyObject
*, PyObject
*args
) {
14469 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14470 SWIG_TypeClientData(SWIGTYPE_p_wxTIFFHandler
, obj
);
14472 return Py_BuildValue((char *)"");
14474 static PyObject
*_wrap_Quantize_Quantize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14475 PyObject
*resultobj
;
14476 wxImage
*arg1
= 0 ;
14477 wxImage
*arg2
= 0 ;
14478 int arg3
= (int) 236 ;
14479 int arg4
= (int) wxQUANTIZE_INCLUDE_WINDOWS_COLOURS
|wxQUANTIZE_FILL_DESTINATION_IMAGE
;
14481 PyObject
* obj0
= 0 ;
14482 PyObject
* obj1
= 0 ;
14483 PyObject
* obj2
= 0 ;
14484 PyObject
* obj3
= 0 ;
14485 char *kwnames
[] = {
14486 (char *) "src",(char *) "dest",(char *) "desiredNoColours",(char *) "flags", NULL
14489 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:Quantize_Quantize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
14491 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
14492 if (SWIG_arg_fail(1)) SWIG_fail
;
14493 if (arg1
== NULL
) {
14494 SWIG_null_ref("wxImage");
14496 if (SWIG_arg_fail(1)) SWIG_fail
;
14499 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
14500 if (SWIG_arg_fail(2)) SWIG_fail
;
14501 if (arg2
== NULL
) {
14502 SWIG_null_ref("wxImage");
14504 if (SWIG_arg_fail(2)) SWIG_fail
;
14508 arg3
= (int)(SWIG_As_int(obj2
));
14509 if (SWIG_arg_fail(3)) SWIG_fail
;
14514 arg4
= (int)(SWIG_As_int(obj3
));
14515 if (SWIG_arg_fail(4)) SWIG_fail
;
14519 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14520 result
= (bool)Quantize_Quantize((wxImage
const &)*arg1
,*arg2
,arg3
,arg4
);
14522 wxPyEndAllowThreads(__tstate
);
14523 if (PyErr_Occurred()) SWIG_fail
;
14526 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14534 static PyObject
* Quantize_swigregister(PyObject
*, PyObject
*args
) {
14536 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14537 SWIG_TypeClientData(SWIGTYPE_p_wxQuantize
, obj
);
14539 return Py_BuildValue((char *)"");
14541 static PyObject
*_wrap_new_EvtHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14542 PyObject
*resultobj
;
14543 wxEvtHandler
*result
;
14544 char *kwnames
[] = {
14548 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_EvtHandler",kwnames
)) goto fail
;
14550 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14551 result
= (wxEvtHandler
*)new wxEvtHandler();
14553 wxPyEndAllowThreads(__tstate
);
14554 if (PyErr_Occurred()) SWIG_fail
;
14556 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxEvtHandler
, 1);
14563 static PyObject
*_wrap_EvtHandler_GetNextHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14564 PyObject
*resultobj
;
14565 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
14566 wxEvtHandler
*result
;
14567 PyObject
* obj0
= 0 ;
14568 char *kwnames
[] = {
14569 (char *) "self", NULL
14572 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EvtHandler_GetNextHandler",kwnames
,&obj0
)) goto fail
;
14573 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
14574 if (SWIG_arg_fail(1)) SWIG_fail
;
14576 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14577 result
= (wxEvtHandler
*)(arg1
)->GetNextHandler();
14579 wxPyEndAllowThreads(__tstate
);
14580 if (PyErr_Occurred()) SWIG_fail
;
14583 resultobj
= wxPyMake_wxObject(result
, 0);
14591 static PyObject
*_wrap_EvtHandler_GetPreviousHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14592 PyObject
*resultobj
;
14593 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
14594 wxEvtHandler
*result
;
14595 PyObject
* obj0
= 0 ;
14596 char *kwnames
[] = {
14597 (char *) "self", NULL
14600 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EvtHandler_GetPreviousHandler",kwnames
,&obj0
)) goto fail
;
14601 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
14602 if (SWIG_arg_fail(1)) SWIG_fail
;
14604 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14605 result
= (wxEvtHandler
*)(arg1
)->GetPreviousHandler();
14607 wxPyEndAllowThreads(__tstate
);
14608 if (PyErr_Occurred()) SWIG_fail
;
14611 resultobj
= wxPyMake_wxObject(result
, 0);
14619 static PyObject
*_wrap_EvtHandler_SetNextHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14620 PyObject
*resultobj
;
14621 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
14622 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
14623 PyObject
* obj0
= 0 ;
14624 PyObject
* obj1
= 0 ;
14625 char *kwnames
[] = {
14626 (char *) "self",(char *) "handler", NULL
14629 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EvtHandler_SetNextHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
14630 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
14631 if (SWIG_arg_fail(1)) SWIG_fail
;
14632 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
14633 if (SWIG_arg_fail(2)) SWIG_fail
;
14635 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14636 (arg1
)->SetNextHandler(arg2
);
14638 wxPyEndAllowThreads(__tstate
);
14639 if (PyErr_Occurred()) SWIG_fail
;
14641 Py_INCREF(Py_None
); resultobj
= Py_None
;
14648 static PyObject
*_wrap_EvtHandler_SetPreviousHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14649 PyObject
*resultobj
;
14650 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
14651 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
14652 PyObject
* obj0
= 0 ;
14653 PyObject
* obj1
= 0 ;
14654 char *kwnames
[] = {
14655 (char *) "self",(char *) "handler", NULL
14658 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EvtHandler_SetPreviousHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
14659 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
14660 if (SWIG_arg_fail(1)) SWIG_fail
;
14661 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
14662 if (SWIG_arg_fail(2)) SWIG_fail
;
14664 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14665 (arg1
)->SetPreviousHandler(arg2
);
14667 wxPyEndAllowThreads(__tstate
);
14668 if (PyErr_Occurred()) SWIG_fail
;
14670 Py_INCREF(Py_None
); resultobj
= Py_None
;
14677 static PyObject
*_wrap_EvtHandler_GetEvtHandlerEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14678 PyObject
*resultobj
;
14679 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
14681 PyObject
* obj0
= 0 ;
14682 char *kwnames
[] = {
14683 (char *) "self", NULL
14686 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EvtHandler_GetEvtHandlerEnabled",kwnames
,&obj0
)) goto fail
;
14687 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
14688 if (SWIG_arg_fail(1)) SWIG_fail
;
14690 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14691 result
= (bool)(arg1
)->GetEvtHandlerEnabled();
14693 wxPyEndAllowThreads(__tstate
);
14694 if (PyErr_Occurred()) SWIG_fail
;
14697 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14705 static PyObject
*_wrap_EvtHandler_SetEvtHandlerEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14706 PyObject
*resultobj
;
14707 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
14709 PyObject
* obj0
= 0 ;
14710 PyObject
* obj1
= 0 ;
14711 char *kwnames
[] = {
14712 (char *) "self",(char *) "enabled", NULL
14715 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EvtHandler_SetEvtHandlerEnabled",kwnames
,&obj0
,&obj1
)) goto fail
;
14716 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
14717 if (SWIG_arg_fail(1)) SWIG_fail
;
14719 arg2
= (bool)(SWIG_As_bool(obj1
));
14720 if (SWIG_arg_fail(2)) SWIG_fail
;
14723 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14724 (arg1
)->SetEvtHandlerEnabled(arg2
);
14726 wxPyEndAllowThreads(__tstate
);
14727 if (PyErr_Occurred()) SWIG_fail
;
14729 Py_INCREF(Py_None
); resultobj
= Py_None
;
14736 static PyObject
*_wrap_EvtHandler_ProcessEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14737 PyObject
*resultobj
;
14738 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
14739 wxEvent
*arg2
= 0 ;
14741 PyObject
* obj0
= 0 ;
14742 PyObject
* obj1
= 0 ;
14743 char *kwnames
[] = {
14744 (char *) "self",(char *) "event", NULL
14747 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EvtHandler_ProcessEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
14748 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
14749 if (SWIG_arg_fail(1)) SWIG_fail
;
14751 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
14752 if (SWIG_arg_fail(2)) SWIG_fail
;
14753 if (arg2
== NULL
) {
14754 SWIG_null_ref("wxEvent");
14756 if (SWIG_arg_fail(2)) SWIG_fail
;
14759 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14760 result
= (bool)(arg1
)->ProcessEvent(*arg2
);
14762 wxPyEndAllowThreads(__tstate
);
14763 if (PyErr_Occurred()) SWIG_fail
;
14766 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14774 static PyObject
*_wrap_EvtHandler_AddPendingEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14775 PyObject
*resultobj
;
14776 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
14777 wxEvent
*arg2
= 0 ;
14778 PyObject
* obj0
= 0 ;
14779 PyObject
* obj1
= 0 ;
14780 char *kwnames
[] = {
14781 (char *) "self",(char *) "event", NULL
14784 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EvtHandler_AddPendingEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
14785 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
14786 if (SWIG_arg_fail(1)) SWIG_fail
;
14788 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
14789 if (SWIG_arg_fail(2)) SWIG_fail
;
14790 if (arg2
== NULL
) {
14791 SWIG_null_ref("wxEvent");
14793 if (SWIG_arg_fail(2)) SWIG_fail
;
14796 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14797 (arg1
)->AddPendingEvent(*arg2
);
14799 wxPyEndAllowThreads(__tstate
);
14800 if (PyErr_Occurred()) SWIG_fail
;
14802 Py_INCREF(Py_None
); resultobj
= Py_None
;
14809 static PyObject
*_wrap_EvtHandler_ProcessPendingEvents(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14810 PyObject
*resultobj
;
14811 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
14812 PyObject
* obj0
= 0 ;
14813 char *kwnames
[] = {
14814 (char *) "self", NULL
14817 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EvtHandler_ProcessPendingEvents",kwnames
,&obj0
)) goto fail
;
14818 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
14819 if (SWIG_arg_fail(1)) SWIG_fail
;
14821 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14822 (arg1
)->ProcessPendingEvents();
14824 wxPyEndAllowThreads(__tstate
);
14825 if (PyErr_Occurred()) SWIG_fail
;
14827 Py_INCREF(Py_None
); resultobj
= Py_None
;
14834 static PyObject
*_wrap_EvtHandler_Connect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14835 PyObject
*resultobj
;
14836 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
14840 PyObject
*arg5
= (PyObject
*) 0 ;
14841 PyObject
* obj0
= 0 ;
14842 PyObject
* obj1
= 0 ;
14843 PyObject
* obj2
= 0 ;
14844 PyObject
* obj3
= 0 ;
14845 PyObject
* obj4
= 0 ;
14846 char *kwnames
[] = {
14847 (char *) "self",(char *) "id",(char *) "lastId",(char *) "eventType",(char *) "func", NULL
14850 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:EvtHandler_Connect",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
14851 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
14852 if (SWIG_arg_fail(1)) SWIG_fail
;
14854 arg2
= (int)(SWIG_As_int(obj1
));
14855 if (SWIG_arg_fail(2)) SWIG_fail
;
14858 arg3
= (int)(SWIG_As_int(obj2
));
14859 if (SWIG_arg_fail(3)) SWIG_fail
;
14862 arg4
= (int)(SWIG_As_int(obj3
));
14863 if (SWIG_arg_fail(4)) SWIG_fail
;
14867 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14868 wxEvtHandler_Connect(arg1
,arg2
,arg3
,arg4
,arg5
);
14870 wxPyEndAllowThreads(__tstate
);
14871 if (PyErr_Occurred()) SWIG_fail
;
14873 Py_INCREF(Py_None
); resultobj
= Py_None
;
14880 static PyObject
*_wrap_EvtHandler_Disconnect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14881 PyObject
*resultobj
;
14882 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
14884 int arg3
= (int) -1 ;
14885 wxEventType arg4
= (wxEventType
) wxEVT_NULL
;
14887 PyObject
* obj0
= 0 ;
14888 PyObject
* obj1
= 0 ;
14889 PyObject
* obj2
= 0 ;
14890 PyObject
* obj3
= 0 ;
14891 char *kwnames
[] = {
14892 (char *) "self",(char *) "id",(char *) "lastId",(char *) "eventType", NULL
14895 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:EvtHandler_Disconnect",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
14896 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
14897 if (SWIG_arg_fail(1)) SWIG_fail
;
14899 arg2
= (int)(SWIG_As_int(obj1
));
14900 if (SWIG_arg_fail(2)) SWIG_fail
;
14904 arg3
= (int)(SWIG_As_int(obj2
));
14905 if (SWIG_arg_fail(3)) SWIG_fail
;
14910 arg4
= (wxEventType
)(SWIG_As_int(obj3
));
14911 if (SWIG_arg_fail(4)) SWIG_fail
;
14915 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14916 result
= (bool)wxEvtHandler_Disconnect(arg1
,arg2
,arg3
,arg4
);
14918 wxPyEndAllowThreads(__tstate
);
14919 if (PyErr_Occurred()) SWIG_fail
;
14922 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14930 static PyObject
*_wrap_EvtHandler__setOORInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14931 PyObject
*resultobj
;
14932 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
14933 PyObject
*arg2
= (PyObject
*) 0 ;
14934 bool arg3
= (bool) true ;
14935 PyObject
* obj0
= 0 ;
14936 PyObject
* obj1
= 0 ;
14937 PyObject
* obj2
= 0 ;
14938 char *kwnames
[] = {
14939 (char *) "self",(char *) "_self",(char *) "incref", NULL
14942 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:EvtHandler__setOORInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14943 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
14944 if (SWIG_arg_fail(1)) SWIG_fail
;
14948 arg3
= (bool)(SWIG_As_bool(obj2
));
14949 if (SWIG_arg_fail(3)) SWIG_fail
;
14953 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14954 wxEvtHandler__setOORInfo(arg1
,arg2
,arg3
);
14956 wxPyEndAllowThreads(__tstate
);
14957 if (PyErr_Occurred()) SWIG_fail
;
14959 Py_INCREF(Py_None
); resultobj
= Py_None
;
14966 static PyObject
* EvtHandler_swigregister(PyObject
*, PyObject
*args
) {
14968 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14969 SWIG_TypeClientData(SWIGTYPE_p_wxEvtHandler
, obj
);
14971 return Py_BuildValue((char *)"");
14973 static PyObject
*_wrap_NewEventType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14974 PyObject
*resultobj
;
14975 wxEventType result
;
14976 char *kwnames
[] = {
14980 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":NewEventType",kwnames
)) goto fail
;
14982 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14983 result
= (wxEventType
)wxNewEventType();
14985 wxPyEndAllowThreads(__tstate
);
14986 if (PyErr_Occurred()) SWIG_fail
;
14989 resultobj
= SWIG_From_int((int)(result
));
14997 static PyObject
*_wrap_delete_Event(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14998 PyObject
*resultobj
;
14999 wxEvent
*arg1
= (wxEvent
*) 0 ;
15000 PyObject
* obj0
= 0 ;
15001 char *kwnames
[] = {
15002 (char *) "self", NULL
15005 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Event",kwnames
,&obj0
)) goto fail
;
15006 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
15007 if (SWIG_arg_fail(1)) SWIG_fail
;
15009 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15012 wxPyEndAllowThreads(__tstate
);
15013 if (PyErr_Occurred()) SWIG_fail
;
15015 Py_INCREF(Py_None
); resultobj
= Py_None
;
15022 static PyObject
*_wrap_Event_SetEventType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15023 PyObject
*resultobj
;
15024 wxEvent
*arg1
= (wxEvent
*) 0 ;
15026 PyObject
* obj0
= 0 ;
15027 PyObject
* obj1
= 0 ;
15028 char *kwnames
[] = {
15029 (char *) "self",(char *) "typ", NULL
15032 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Event_SetEventType",kwnames
,&obj0
,&obj1
)) goto fail
;
15033 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
15034 if (SWIG_arg_fail(1)) SWIG_fail
;
15036 arg2
= (wxEventType
)(SWIG_As_int(obj1
));
15037 if (SWIG_arg_fail(2)) SWIG_fail
;
15040 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15041 (arg1
)->SetEventType(arg2
);
15043 wxPyEndAllowThreads(__tstate
);
15044 if (PyErr_Occurred()) SWIG_fail
;
15046 Py_INCREF(Py_None
); resultobj
= Py_None
;
15053 static PyObject
*_wrap_Event_GetEventType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15054 PyObject
*resultobj
;
15055 wxEvent
*arg1
= (wxEvent
*) 0 ;
15056 wxEventType result
;
15057 PyObject
* obj0
= 0 ;
15058 char *kwnames
[] = {
15059 (char *) "self", NULL
15062 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_GetEventType",kwnames
,&obj0
)) goto fail
;
15063 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
15064 if (SWIG_arg_fail(1)) SWIG_fail
;
15066 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15067 result
= (wxEventType
)((wxEvent
const *)arg1
)->GetEventType();
15069 wxPyEndAllowThreads(__tstate
);
15070 if (PyErr_Occurred()) SWIG_fail
;
15073 resultobj
= SWIG_From_int((int)(result
));
15081 static PyObject
*_wrap_Event_GetEventObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15082 PyObject
*resultobj
;
15083 wxEvent
*arg1
= (wxEvent
*) 0 ;
15085 PyObject
* obj0
= 0 ;
15086 char *kwnames
[] = {
15087 (char *) "self", NULL
15090 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_GetEventObject",kwnames
,&obj0
)) goto fail
;
15091 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
15092 if (SWIG_arg_fail(1)) SWIG_fail
;
15094 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15095 result
= (wxObject
*)((wxEvent
const *)arg1
)->GetEventObject();
15097 wxPyEndAllowThreads(__tstate
);
15098 if (PyErr_Occurred()) SWIG_fail
;
15101 resultobj
= wxPyMake_wxObject(result
, 0);
15109 static PyObject
*_wrap_Event_SetEventObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15110 PyObject
*resultobj
;
15111 wxEvent
*arg1
= (wxEvent
*) 0 ;
15112 wxObject
*arg2
= (wxObject
*) 0 ;
15113 PyObject
* obj0
= 0 ;
15114 PyObject
* obj1
= 0 ;
15115 char *kwnames
[] = {
15116 (char *) "self",(char *) "obj", NULL
15119 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Event_SetEventObject",kwnames
,&obj0
,&obj1
)) goto fail
;
15120 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
15121 if (SWIG_arg_fail(1)) SWIG_fail
;
15122 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxObject
, SWIG_POINTER_EXCEPTION
| 0);
15123 if (SWIG_arg_fail(2)) SWIG_fail
;
15125 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15126 (arg1
)->SetEventObject(arg2
);
15128 wxPyEndAllowThreads(__tstate
);
15129 if (PyErr_Occurred()) SWIG_fail
;
15131 Py_INCREF(Py_None
); resultobj
= Py_None
;
15138 static PyObject
*_wrap_Event_GetTimestamp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15139 PyObject
*resultobj
;
15140 wxEvent
*arg1
= (wxEvent
*) 0 ;
15142 PyObject
* obj0
= 0 ;
15143 char *kwnames
[] = {
15144 (char *) "self", NULL
15147 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_GetTimestamp",kwnames
,&obj0
)) goto fail
;
15148 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
15149 if (SWIG_arg_fail(1)) SWIG_fail
;
15151 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15152 result
= (long)((wxEvent
const *)arg1
)->GetTimestamp();
15154 wxPyEndAllowThreads(__tstate
);
15155 if (PyErr_Occurred()) SWIG_fail
;
15158 resultobj
= SWIG_From_long((long)(result
));
15166 static PyObject
*_wrap_Event_SetTimestamp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15167 PyObject
*resultobj
;
15168 wxEvent
*arg1
= (wxEvent
*) 0 ;
15169 long arg2
= (long) 0 ;
15170 PyObject
* obj0
= 0 ;
15171 PyObject
* obj1
= 0 ;
15172 char *kwnames
[] = {
15173 (char *) "self",(char *) "ts", NULL
15176 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Event_SetTimestamp",kwnames
,&obj0
,&obj1
)) goto fail
;
15177 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
15178 if (SWIG_arg_fail(1)) SWIG_fail
;
15181 arg2
= (long)(SWIG_As_long(obj1
));
15182 if (SWIG_arg_fail(2)) SWIG_fail
;
15186 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15187 (arg1
)->SetTimestamp(arg2
);
15189 wxPyEndAllowThreads(__tstate
);
15190 if (PyErr_Occurred()) SWIG_fail
;
15192 Py_INCREF(Py_None
); resultobj
= Py_None
;
15199 static PyObject
*_wrap_Event_GetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15200 PyObject
*resultobj
;
15201 wxEvent
*arg1
= (wxEvent
*) 0 ;
15203 PyObject
* obj0
= 0 ;
15204 char *kwnames
[] = {
15205 (char *) "self", NULL
15208 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_GetId",kwnames
,&obj0
)) goto fail
;
15209 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
15210 if (SWIG_arg_fail(1)) SWIG_fail
;
15212 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15213 result
= (int)((wxEvent
const *)arg1
)->GetId();
15215 wxPyEndAllowThreads(__tstate
);
15216 if (PyErr_Occurred()) SWIG_fail
;
15219 resultobj
= SWIG_From_int((int)(result
));
15227 static PyObject
*_wrap_Event_SetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15228 PyObject
*resultobj
;
15229 wxEvent
*arg1
= (wxEvent
*) 0 ;
15231 PyObject
* obj0
= 0 ;
15232 PyObject
* obj1
= 0 ;
15233 char *kwnames
[] = {
15234 (char *) "self",(char *) "Id", NULL
15237 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Event_SetId",kwnames
,&obj0
,&obj1
)) goto fail
;
15238 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
15239 if (SWIG_arg_fail(1)) SWIG_fail
;
15241 arg2
= (int)(SWIG_As_int(obj1
));
15242 if (SWIG_arg_fail(2)) SWIG_fail
;
15245 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15246 (arg1
)->SetId(arg2
);
15248 wxPyEndAllowThreads(__tstate
);
15249 if (PyErr_Occurred()) SWIG_fail
;
15251 Py_INCREF(Py_None
); resultobj
= Py_None
;
15258 static PyObject
*_wrap_Event_IsCommandEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15259 PyObject
*resultobj
;
15260 wxEvent
*arg1
= (wxEvent
*) 0 ;
15262 PyObject
* obj0
= 0 ;
15263 char *kwnames
[] = {
15264 (char *) "self", NULL
15267 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_IsCommandEvent",kwnames
,&obj0
)) goto fail
;
15268 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
15269 if (SWIG_arg_fail(1)) SWIG_fail
;
15271 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15272 result
= (bool)((wxEvent
const *)arg1
)->IsCommandEvent();
15274 wxPyEndAllowThreads(__tstate
);
15275 if (PyErr_Occurred()) SWIG_fail
;
15278 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15286 static PyObject
*_wrap_Event_Skip(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15287 PyObject
*resultobj
;
15288 wxEvent
*arg1
= (wxEvent
*) 0 ;
15289 bool arg2
= (bool) true ;
15290 PyObject
* obj0
= 0 ;
15291 PyObject
* obj1
= 0 ;
15292 char *kwnames
[] = {
15293 (char *) "self",(char *) "skip", NULL
15296 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Event_Skip",kwnames
,&obj0
,&obj1
)) goto fail
;
15297 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
15298 if (SWIG_arg_fail(1)) SWIG_fail
;
15301 arg2
= (bool)(SWIG_As_bool(obj1
));
15302 if (SWIG_arg_fail(2)) SWIG_fail
;
15306 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15307 (arg1
)->Skip(arg2
);
15309 wxPyEndAllowThreads(__tstate
);
15310 if (PyErr_Occurred()) SWIG_fail
;
15312 Py_INCREF(Py_None
); resultobj
= Py_None
;
15319 static PyObject
*_wrap_Event_GetSkipped(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15320 PyObject
*resultobj
;
15321 wxEvent
*arg1
= (wxEvent
*) 0 ;
15323 PyObject
* obj0
= 0 ;
15324 char *kwnames
[] = {
15325 (char *) "self", NULL
15328 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_GetSkipped",kwnames
,&obj0
)) goto fail
;
15329 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
15330 if (SWIG_arg_fail(1)) SWIG_fail
;
15332 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15333 result
= (bool)((wxEvent
const *)arg1
)->GetSkipped();
15335 wxPyEndAllowThreads(__tstate
);
15336 if (PyErr_Occurred()) SWIG_fail
;
15339 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15347 static PyObject
*_wrap_Event_ShouldPropagate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15348 PyObject
*resultobj
;
15349 wxEvent
*arg1
= (wxEvent
*) 0 ;
15351 PyObject
* obj0
= 0 ;
15352 char *kwnames
[] = {
15353 (char *) "self", NULL
15356 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_ShouldPropagate",kwnames
,&obj0
)) goto fail
;
15357 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
15358 if (SWIG_arg_fail(1)) SWIG_fail
;
15360 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15361 result
= (bool)((wxEvent
const *)arg1
)->ShouldPropagate();
15363 wxPyEndAllowThreads(__tstate
);
15364 if (PyErr_Occurred()) SWIG_fail
;
15367 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15375 static PyObject
*_wrap_Event_StopPropagation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15376 PyObject
*resultobj
;
15377 wxEvent
*arg1
= (wxEvent
*) 0 ;
15379 PyObject
* obj0
= 0 ;
15380 char *kwnames
[] = {
15381 (char *) "self", NULL
15384 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_StopPropagation",kwnames
,&obj0
)) goto fail
;
15385 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
15386 if (SWIG_arg_fail(1)) SWIG_fail
;
15388 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15389 result
= (int)(arg1
)->StopPropagation();
15391 wxPyEndAllowThreads(__tstate
);
15392 if (PyErr_Occurred()) SWIG_fail
;
15395 resultobj
= SWIG_From_int((int)(result
));
15403 static PyObject
*_wrap_Event_ResumePropagation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15404 PyObject
*resultobj
;
15405 wxEvent
*arg1
= (wxEvent
*) 0 ;
15407 PyObject
* obj0
= 0 ;
15408 PyObject
* obj1
= 0 ;
15409 char *kwnames
[] = {
15410 (char *) "self",(char *) "propagationLevel", NULL
15413 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Event_ResumePropagation",kwnames
,&obj0
,&obj1
)) goto fail
;
15414 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
15415 if (SWIG_arg_fail(1)) SWIG_fail
;
15417 arg2
= (int)(SWIG_As_int(obj1
));
15418 if (SWIG_arg_fail(2)) SWIG_fail
;
15421 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15422 (arg1
)->ResumePropagation(arg2
);
15424 wxPyEndAllowThreads(__tstate
);
15425 if (PyErr_Occurred()) SWIG_fail
;
15427 Py_INCREF(Py_None
); resultobj
= Py_None
;
15434 static PyObject
*_wrap_Event_Clone(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15435 PyObject
*resultobj
;
15436 wxEvent
*arg1
= (wxEvent
*) 0 ;
15438 PyObject
* obj0
= 0 ;
15439 char *kwnames
[] = {
15440 (char *) "self", NULL
15443 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_Clone",kwnames
,&obj0
)) goto fail
;
15444 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
15445 if (SWIG_arg_fail(1)) SWIG_fail
;
15447 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15448 result
= (wxEvent
*)(arg1
)->Clone();
15450 wxPyEndAllowThreads(__tstate
);
15451 if (PyErr_Occurred()) SWIG_fail
;
15453 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxEvent
, 0);
15460 static PyObject
* Event_swigregister(PyObject
*, PyObject
*args
) {
15462 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15463 SWIG_TypeClientData(SWIGTYPE_p_wxEvent
, obj
);
15465 return Py_BuildValue((char *)"");
15467 static PyObject
*_wrap_new_PropagationDisabler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15468 PyObject
*resultobj
;
15469 wxEvent
*arg1
= 0 ;
15470 wxPropagationDisabler
*result
;
15471 PyObject
* obj0
= 0 ;
15472 char *kwnames
[] = {
15473 (char *) "event", NULL
15476 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PropagationDisabler",kwnames
,&obj0
)) goto fail
;
15478 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
15479 if (SWIG_arg_fail(1)) SWIG_fail
;
15480 if (arg1
== NULL
) {
15481 SWIG_null_ref("wxEvent");
15483 if (SWIG_arg_fail(1)) SWIG_fail
;
15486 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15487 result
= (wxPropagationDisabler
*)new wxPropagationDisabler(*arg1
);
15489 wxPyEndAllowThreads(__tstate
);
15490 if (PyErr_Occurred()) SWIG_fail
;
15492 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPropagationDisabler
, 1);
15499 static PyObject
*_wrap_delete_PropagationDisabler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15500 PyObject
*resultobj
;
15501 wxPropagationDisabler
*arg1
= (wxPropagationDisabler
*) 0 ;
15502 PyObject
* obj0
= 0 ;
15503 char *kwnames
[] = {
15504 (char *) "self", NULL
15507 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PropagationDisabler",kwnames
,&obj0
)) goto fail
;
15508 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPropagationDisabler
, SWIG_POINTER_EXCEPTION
| 0);
15509 if (SWIG_arg_fail(1)) SWIG_fail
;
15511 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15514 wxPyEndAllowThreads(__tstate
);
15515 if (PyErr_Occurred()) SWIG_fail
;
15517 Py_INCREF(Py_None
); resultobj
= Py_None
;
15524 static PyObject
* PropagationDisabler_swigregister(PyObject
*, PyObject
*args
) {
15526 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15527 SWIG_TypeClientData(SWIGTYPE_p_wxPropagationDisabler
, obj
);
15529 return Py_BuildValue((char *)"");
15531 static PyObject
*_wrap_new_PropagateOnce(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15532 PyObject
*resultobj
;
15533 wxEvent
*arg1
= 0 ;
15534 wxPropagateOnce
*result
;
15535 PyObject
* obj0
= 0 ;
15536 char *kwnames
[] = {
15537 (char *) "event", NULL
15540 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PropagateOnce",kwnames
,&obj0
)) goto fail
;
15542 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
15543 if (SWIG_arg_fail(1)) SWIG_fail
;
15544 if (arg1
== NULL
) {
15545 SWIG_null_ref("wxEvent");
15547 if (SWIG_arg_fail(1)) SWIG_fail
;
15550 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15551 result
= (wxPropagateOnce
*)new wxPropagateOnce(*arg1
);
15553 wxPyEndAllowThreads(__tstate
);
15554 if (PyErr_Occurred()) SWIG_fail
;
15556 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPropagateOnce
, 1);
15563 static PyObject
*_wrap_delete_PropagateOnce(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15564 PyObject
*resultobj
;
15565 wxPropagateOnce
*arg1
= (wxPropagateOnce
*) 0 ;
15566 PyObject
* obj0
= 0 ;
15567 char *kwnames
[] = {
15568 (char *) "self", NULL
15571 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PropagateOnce",kwnames
,&obj0
)) goto fail
;
15572 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPropagateOnce
, SWIG_POINTER_EXCEPTION
| 0);
15573 if (SWIG_arg_fail(1)) SWIG_fail
;
15575 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15578 wxPyEndAllowThreads(__tstate
);
15579 if (PyErr_Occurred()) SWIG_fail
;
15581 Py_INCREF(Py_None
); resultobj
= Py_None
;
15588 static PyObject
* PropagateOnce_swigregister(PyObject
*, PyObject
*args
) {
15590 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15591 SWIG_TypeClientData(SWIGTYPE_p_wxPropagateOnce
, obj
);
15593 return Py_BuildValue((char *)"");
15595 static PyObject
*_wrap_new_CommandEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15596 PyObject
*resultobj
;
15597 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
15598 int arg2
= (int) 0 ;
15599 wxCommandEvent
*result
;
15600 PyObject
* obj0
= 0 ;
15601 PyObject
* obj1
= 0 ;
15602 char *kwnames
[] = {
15603 (char *) "commandType",(char *) "winid", NULL
15606 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_CommandEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
15609 arg1
= (wxEventType
)(SWIG_As_int(obj0
));
15610 if (SWIG_arg_fail(1)) SWIG_fail
;
15615 arg2
= (int)(SWIG_As_int(obj1
));
15616 if (SWIG_arg_fail(2)) SWIG_fail
;
15620 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15621 result
= (wxCommandEvent
*)new wxCommandEvent(arg1
,arg2
);
15623 wxPyEndAllowThreads(__tstate
);
15624 if (PyErr_Occurred()) SWIG_fail
;
15626 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCommandEvent
, 1);
15633 static PyObject
*_wrap_CommandEvent_GetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15634 PyObject
*resultobj
;
15635 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
15637 PyObject
* obj0
= 0 ;
15638 char *kwnames
[] = {
15639 (char *) "self", NULL
15642 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CommandEvent_GetSelection",kwnames
,&obj0
)) goto fail
;
15643 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCommandEvent
, SWIG_POINTER_EXCEPTION
| 0);
15644 if (SWIG_arg_fail(1)) SWIG_fail
;
15646 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15647 result
= (int)((wxCommandEvent
const *)arg1
)->GetSelection();
15649 wxPyEndAllowThreads(__tstate
);
15650 if (PyErr_Occurred()) SWIG_fail
;
15653 resultobj
= SWIG_From_int((int)(result
));
15661 static PyObject
*_wrap_CommandEvent_SetString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15662 PyObject
*resultobj
;
15663 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
15664 wxString
*arg2
= 0 ;
15665 bool temp2
= false ;
15666 PyObject
* obj0
= 0 ;
15667 PyObject
* obj1
= 0 ;
15668 char *kwnames
[] = {
15669 (char *) "self",(char *) "s", NULL
15672 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CommandEvent_SetString",kwnames
,&obj0
,&obj1
)) goto fail
;
15673 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCommandEvent
, SWIG_POINTER_EXCEPTION
| 0);
15674 if (SWIG_arg_fail(1)) SWIG_fail
;
15676 arg2
= wxString_in_helper(obj1
);
15677 if (arg2
== NULL
) SWIG_fail
;
15681 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15682 (arg1
)->SetString((wxString
const &)*arg2
);
15684 wxPyEndAllowThreads(__tstate
);
15685 if (PyErr_Occurred()) SWIG_fail
;
15687 Py_INCREF(Py_None
); resultobj
= Py_None
;
15702 static PyObject
*_wrap_CommandEvent_GetString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15703 PyObject
*resultobj
;
15704 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
15706 PyObject
* obj0
= 0 ;
15707 char *kwnames
[] = {
15708 (char *) "self", NULL
15711 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CommandEvent_GetString",kwnames
,&obj0
)) goto fail
;
15712 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCommandEvent
, SWIG_POINTER_EXCEPTION
| 0);
15713 if (SWIG_arg_fail(1)) SWIG_fail
;
15715 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15716 result
= ((wxCommandEvent
const *)arg1
)->GetString();
15718 wxPyEndAllowThreads(__tstate
);
15719 if (PyErr_Occurred()) SWIG_fail
;
15723 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
15725 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
15734 static PyObject
*_wrap_CommandEvent_IsChecked(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15735 PyObject
*resultobj
;
15736 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
15738 PyObject
* obj0
= 0 ;
15739 char *kwnames
[] = {
15740 (char *) "self", NULL
15743 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CommandEvent_IsChecked",kwnames
,&obj0
)) goto fail
;
15744 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCommandEvent
, SWIG_POINTER_EXCEPTION
| 0);
15745 if (SWIG_arg_fail(1)) SWIG_fail
;
15747 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15748 result
= (bool)((wxCommandEvent
const *)arg1
)->IsChecked();
15750 wxPyEndAllowThreads(__tstate
);
15751 if (PyErr_Occurred()) SWIG_fail
;
15754 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15762 static PyObject
*_wrap_CommandEvent_IsSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15763 PyObject
*resultobj
;
15764 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
15766 PyObject
* obj0
= 0 ;
15767 char *kwnames
[] = {
15768 (char *) "self", NULL
15771 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CommandEvent_IsSelection",kwnames
,&obj0
)) goto fail
;
15772 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCommandEvent
, SWIG_POINTER_EXCEPTION
| 0);
15773 if (SWIG_arg_fail(1)) SWIG_fail
;
15775 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15776 result
= (bool)((wxCommandEvent
const *)arg1
)->IsSelection();
15778 wxPyEndAllowThreads(__tstate
);
15779 if (PyErr_Occurred()) SWIG_fail
;
15782 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15790 static PyObject
*_wrap_CommandEvent_SetExtraLong(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15791 PyObject
*resultobj
;
15792 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
15794 PyObject
* obj0
= 0 ;
15795 PyObject
* obj1
= 0 ;
15796 char *kwnames
[] = {
15797 (char *) "self",(char *) "extraLong", NULL
15800 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CommandEvent_SetExtraLong",kwnames
,&obj0
,&obj1
)) goto fail
;
15801 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCommandEvent
, SWIG_POINTER_EXCEPTION
| 0);
15802 if (SWIG_arg_fail(1)) SWIG_fail
;
15804 arg2
= (long)(SWIG_As_long(obj1
));
15805 if (SWIG_arg_fail(2)) SWIG_fail
;
15808 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15809 (arg1
)->SetExtraLong(arg2
);
15811 wxPyEndAllowThreads(__tstate
);
15812 if (PyErr_Occurred()) SWIG_fail
;
15814 Py_INCREF(Py_None
); resultobj
= Py_None
;
15821 static PyObject
*_wrap_CommandEvent_GetExtraLong(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15822 PyObject
*resultobj
;
15823 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
15825 PyObject
* obj0
= 0 ;
15826 char *kwnames
[] = {
15827 (char *) "self", NULL
15830 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CommandEvent_GetExtraLong",kwnames
,&obj0
)) goto fail
;
15831 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCommandEvent
, SWIG_POINTER_EXCEPTION
| 0);
15832 if (SWIG_arg_fail(1)) SWIG_fail
;
15834 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15835 result
= (long)((wxCommandEvent
const *)arg1
)->GetExtraLong();
15837 wxPyEndAllowThreads(__tstate
);
15838 if (PyErr_Occurred()) SWIG_fail
;
15841 resultobj
= SWIG_From_long((long)(result
));
15849 static PyObject
*_wrap_CommandEvent_SetInt(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15850 PyObject
*resultobj
;
15851 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
15853 PyObject
* obj0
= 0 ;
15854 PyObject
* obj1
= 0 ;
15855 char *kwnames
[] = {
15856 (char *) "self",(char *) "i", NULL
15859 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CommandEvent_SetInt",kwnames
,&obj0
,&obj1
)) goto fail
;
15860 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCommandEvent
, SWIG_POINTER_EXCEPTION
| 0);
15861 if (SWIG_arg_fail(1)) SWIG_fail
;
15863 arg2
= (int)(SWIG_As_int(obj1
));
15864 if (SWIG_arg_fail(2)) SWIG_fail
;
15867 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15868 (arg1
)->SetInt(arg2
);
15870 wxPyEndAllowThreads(__tstate
);
15871 if (PyErr_Occurred()) SWIG_fail
;
15873 Py_INCREF(Py_None
); resultobj
= Py_None
;
15880 static PyObject
*_wrap_CommandEvent_GetInt(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15881 PyObject
*resultobj
;
15882 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
15884 PyObject
* obj0
= 0 ;
15885 char *kwnames
[] = {
15886 (char *) "self", NULL
15889 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CommandEvent_GetInt",kwnames
,&obj0
)) goto fail
;
15890 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCommandEvent
, SWIG_POINTER_EXCEPTION
| 0);
15891 if (SWIG_arg_fail(1)) SWIG_fail
;
15893 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15894 result
= (long)((wxCommandEvent
const *)arg1
)->GetInt();
15896 wxPyEndAllowThreads(__tstate
);
15897 if (PyErr_Occurred()) SWIG_fail
;
15900 resultobj
= SWIG_From_long((long)(result
));
15908 static PyObject
*_wrap_CommandEvent_Clone(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15909 PyObject
*resultobj
;
15910 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
15912 PyObject
* obj0
= 0 ;
15913 char *kwnames
[] = {
15914 (char *) "self", NULL
15917 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CommandEvent_Clone",kwnames
,&obj0
)) goto fail
;
15918 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCommandEvent
, SWIG_POINTER_EXCEPTION
| 0);
15919 if (SWIG_arg_fail(1)) SWIG_fail
;
15921 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15922 result
= (wxEvent
*)((wxCommandEvent
const *)arg1
)->Clone();
15924 wxPyEndAllowThreads(__tstate
);
15925 if (PyErr_Occurred()) SWIG_fail
;
15927 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxEvent
, 0);
15934 static PyObject
* CommandEvent_swigregister(PyObject
*, PyObject
*args
) {
15936 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15937 SWIG_TypeClientData(SWIGTYPE_p_wxCommandEvent
, obj
);
15939 return Py_BuildValue((char *)"");
15941 static PyObject
*_wrap_new_NotifyEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15942 PyObject
*resultobj
;
15943 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
15944 int arg2
= (int) 0 ;
15945 wxNotifyEvent
*result
;
15946 PyObject
* obj0
= 0 ;
15947 PyObject
* obj1
= 0 ;
15948 char *kwnames
[] = {
15949 (char *) "commandType",(char *) "winid", NULL
15952 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_NotifyEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
15955 arg1
= (wxEventType
)(SWIG_As_int(obj0
));
15956 if (SWIG_arg_fail(1)) SWIG_fail
;
15961 arg2
= (int)(SWIG_As_int(obj1
));
15962 if (SWIG_arg_fail(2)) SWIG_fail
;
15966 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15967 result
= (wxNotifyEvent
*)new wxNotifyEvent(arg1
,arg2
);
15969 wxPyEndAllowThreads(__tstate
);
15970 if (PyErr_Occurred()) SWIG_fail
;
15972 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNotifyEvent
, 1);
15979 static PyObject
*_wrap_NotifyEvent_Veto(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15980 PyObject
*resultobj
;
15981 wxNotifyEvent
*arg1
= (wxNotifyEvent
*) 0 ;
15982 PyObject
* obj0
= 0 ;
15983 char *kwnames
[] = {
15984 (char *) "self", NULL
15987 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NotifyEvent_Veto",kwnames
,&obj0
)) goto fail
;
15988 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNotifyEvent
, SWIG_POINTER_EXCEPTION
| 0);
15989 if (SWIG_arg_fail(1)) SWIG_fail
;
15991 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15994 wxPyEndAllowThreads(__tstate
);
15995 if (PyErr_Occurred()) SWIG_fail
;
15997 Py_INCREF(Py_None
); resultobj
= Py_None
;
16004 static PyObject
*_wrap_NotifyEvent_Allow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16005 PyObject
*resultobj
;
16006 wxNotifyEvent
*arg1
= (wxNotifyEvent
*) 0 ;
16007 PyObject
* obj0
= 0 ;
16008 char *kwnames
[] = {
16009 (char *) "self", NULL
16012 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NotifyEvent_Allow",kwnames
,&obj0
)) goto fail
;
16013 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNotifyEvent
, SWIG_POINTER_EXCEPTION
| 0);
16014 if (SWIG_arg_fail(1)) SWIG_fail
;
16016 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16019 wxPyEndAllowThreads(__tstate
);
16020 if (PyErr_Occurred()) SWIG_fail
;
16022 Py_INCREF(Py_None
); resultobj
= Py_None
;
16029 static PyObject
*_wrap_NotifyEvent_IsAllowed(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16030 PyObject
*resultobj
;
16031 wxNotifyEvent
*arg1
= (wxNotifyEvent
*) 0 ;
16033 PyObject
* obj0
= 0 ;
16034 char *kwnames
[] = {
16035 (char *) "self", NULL
16038 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NotifyEvent_IsAllowed",kwnames
,&obj0
)) goto fail
;
16039 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNotifyEvent
, SWIG_POINTER_EXCEPTION
| 0);
16040 if (SWIG_arg_fail(1)) SWIG_fail
;
16042 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16043 result
= (bool)(arg1
)->IsAllowed();
16045 wxPyEndAllowThreads(__tstate
);
16046 if (PyErr_Occurred()) SWIG_fail
;
16049 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16057 static PyObject
* NotifyEvent_swigregister(PyObject
*, PyObject
*args
) {
16059 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16060 SWIG_TypeClientData(SWIGTYPE_p_wxNotifyEvent
, obj
);
16062 return Py_BuildValue((char *)"");
16064 static PyObject
*_wrap_new_ScrollEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16065 PyObject
*resultobj
;
16066 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
16067 int arg2
= (int) 0 ;
16068 int arg3
= (int) 0 ;
16069 int arg4
= (int) 0 ;
16070 wxScrollEvent
*result
;
16071 PyObject
* obj0
= 0 ;
16072 PyObject
* obj1
= 0 ;
16073 PyObject
* obj2
= 0 ;
16074 PyObject
* obj3
= 0 ;
16075 char *kwnames
[] = {
16076 (char *) "commandType",(char *) "winid",(char *) "pos",(char *) "orient", NULL
16079 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_ScrollEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
16082 arg1
= (wxEventType
)(SWIG_As_int(obj0
));
16083 if (SWIG_arg_fail(1)) SWIG_fail
;
16088 arg2
= (int)(SWIG_As_int(obj1
));
16089 if (SWIG_arg_fail(2)) SWIG_fail
;
16094 arg3
= (int)(SWIG_As_int(obj2
));
16095 if (SWIG_arg_fail(3)) SWIG_fail
;
16100 arg4
= (int)(SWIG_As_int(obj3
));
16101 if (SWIG_arg_fail(4)) SWIG_fail
;
16105 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16106 result
= (wxScrollEvent
*)new wxScrollEvent(arg1
,arg2
,arg3
,arg4
);
16108 wxPyEndAllowThreads(__tstate
);
16109 if (PyErr_Occurred()) SWIG_fail
;
16111 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxScrollEvent
, 1);
16118 static PyObject
*_wrap_ScrollEvent_GetOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16119 PyObject
*resultobj
;
16120 wxScrollEvent
*arg1
= (wxScrollEvent
*) 0 ;
16122 PyObject
* obj0
= 0 ;
16123 char *kwnames
[] = {
16124 (char *) "self", NULL
16127 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollEvent_GetOrientation",kwnames
,&obj0
)) goto fail
;
16128 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrollEvent
, SWIG_POINTER_EXCEPTION
| 0);
16129 if (SWIG_arg_fail(1)) SWIG_fail
;
16131 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16132 result
= (int)((wxScrollEvent
const *)arg1
)->GetOrientation();
16134 wxPyEndAllowThreads(__tstate
);
16135 if (PyErr_Occurred()) SWIG_fail
;
16138 resultobj
= SWIG_From_int((int)(result
));
16146 static PyObject
*_wrap_ScrollEvent_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16147 PyObject
*resultobj
;
16148 wxScrollEvent
*arg1
= (wxScrollEvent
*) 0 ;
16150 PyObject
* obj0
= 0 ;
16151 char *kwnames
[] = {
16152 (char *) "self", NULL
16155 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
16156 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrollEvent
, SWIG_POINTER_EXCEPTION
| 0);
16157 if (SWIG_arg_fail(1)) SWIG_fail
;
16159 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16160 result
= (int)((wxScrollEvent
const *)arg1
)->GetPosition();
16162 wxPyEndAllowThreads(__tstate
);
16163 if (PyErr_Occurred()) SWIG_fail
;
16166 resultobj
= SWIG_From_int((int)(result
));
16174 static PyObject
*_wrap_ScrollEvent_SetOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16175 PyObject
*resultobj
;
16176 wxScrollEvent
*arg1
= (wxScrollEvent
*) 0 ;
16178 PyObject
* obj0
= 0 ;
16179 PyObject
* obj1
= 0 ;
16180 char *kwnames
[] = {
16181 (char *) "self",(char *) "orient", NULL
16184 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrollEvent_SetOrientation",kwnames
,&obj0
,&obj1
)) goto fail
;
16185 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrollEvent
, SWIG_POINTER_EXCEPTION
| 0);
16186 if (SWIG_arg_fail(1)) SWIG_fail
;
16188 arg2
= (int)(SWIG_As_int(obj1
));
16189 if (SWIG_arg_fail(2)) SWIG_fail
;
16192 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16193 (arg1
)->SetOrientation(arg2
);
16195 wxPyEndAllowThreads(__tstate
);
16196 if (PyErr_Occurred()) SWIG_fail
;
16198 Py_INCREF(Py_None
); resultobj
= Py_None
;
16205 static PyObject
*_wrap_ScrollEvent_SetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16206 PyObject
*resultobj
;
16207 wxScrollEvent
*arg1
= (wxScrollEvent
*) 0 ;
16209 PyObject
* obj0
= 0 ;
16210 PyObject
* obj1
= 0 ;
16211 char *kwnames
[] = {
16212 (char *) "self",(char *) "pos", NULL
16215 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrollEvent_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
16216 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrollEvent
, SWIG_POINTER_EXCEPTION
| 0);
16217 if (SWIG_arg_fail(1)) SWIG_fail
;
16219 arg2
= (int)(SWIG_As_int(obj1
));
16220 if (SWIG_arg_fail(2)) SWIG_fail
;
16223 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16224 (arg1
)->SetPosition(arg2
);
16226 wxPyEndAllowThreads(__tstate
);
16227 if (PyErr_Occurred()) SWIG_fail
;
16229 Py_INCREF(Py_None
); resultobj
= Py_None
;
16236 static PyObject
* ScrollEvent_swigregister(PyObject
*, PyObject
*args
) {
16238 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16239 SWIG_TypeClientData(SWIGTYPE_p_wxScrollEvent
, obj
);
16241 return Py_BuildValue((char *)"");
16243 static PyObject
*_wrap_new_ScrollWinEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16244 PyObject
*resultobj
;
16245 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
16246 int arg2
= (int) 0 ;
16247 int arg3
= (int) 0 ;
16248 wxScrollWinEvent
*result
;
16249 PyObject
* obj0
= 0 ;
16250 PyObject
* obj1
= 0 ;
16251 PyObject
* obj2
= 0 ;
16252 char *kwnames
[] = {
16253 (char *) "commandType",(char *) "pos",(char *) "orient", NULL
16256 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_ScrollWinEvent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16259 arg1
= (wxEventType
)(SWIG_As_int(obj0
));
16260 if (SWIG_arg_fail(1)) SWIG_fail
;
16265 arg2
= (int)(SWIG_As_int(obj1
));
16266 if (SWIG_arg_fail(2)) SWIG_fail
;
16271 arg3
= (int)(SWIG_As_int(obj2
));
16272 if (SWIG_arg_fail(3)) SWIG_fail
;
16276 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16277 result
= (wxScrollWinEvent
*)new wxScrollWinEvent(arg1
,arg2
,arg3
);
16279 wxPyEndAllowThreads(__tstate
);
16280 if (PyErr_Occurred()) SWIG_fail
;
16282 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxScrollWinEvent
, 1);
16289 static PyObject
*_wrap_ScrollWinEvent_GetOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16290 PyObject
*resultobj
;
16291 wxScrollWinEvent
*arg1
= (wxScrollWinEvent
*) 0 ;
16293 PyObject
* obj0
= 0 ;
16294 char *kwnames
[] = {
16295 (char *) "self", NULL
16298 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollWinEvent_GetOrientation",kwnames
,&obj0
)) goto fail
;
16299 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrollWinEvent
, SWIG_POINTER_EXCEPTION
| 0);
16300 if (SWIG_arg_fail(1)) SWIG_fail
;
16302 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16303 result
= (int)((wxScrollWinEvent
const *)arg1
)->GetOrientation();
16305 wxPyEndAllowThreads(__tstate
);
16306 if (PyErr_Occurred()) SWIG_fail
;
16309 resultobj
= SWIG_From_int((int)(result
));
16317 static PyObject
*_wrap_ScrollWinEvent_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16318 PyObject
*resultobj
;
16319 wxScrollWinEvent
*arg1
= (wxScrollWinEvent
*) 0 ;
16321 PyObject
* obj0
= 0 ;
16322 char *kwnames
[] = {
16323 (char *) "self", NULL
16326 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollWinEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
16327 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrollWinEvent
, SWIG_POINTER_EXCEPTION
| 0);
16328 if (SWIG_arg_fail(1)) SWIG_fail
;
16330 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16331 result
= (int)((wxScrollWinEvent
const *)arg1
)->GetPosition();
16333 wxPyEndAllowThreads(__tstate
);
16334 if (PyErr_Occurred()) SWIG_fail
;
16337 resultobj
= SWIG_From_int((int)(result
));
16345 static PyObject
*_wrap_ScrollWinEvent_SetOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16346 PyObject
*resultobj
;
16347 wxScrollWinEvent
*arg1
= (wxScrollWinEvent
*) 0 ;
16349 PyObject
* obj0
= 0 ;
16350 PyObject
* obj1
= 0 ;
16351 char *kwnames
[] = {
16352 (char *) "self",(char *) "orient", NULL
16355 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrollWinEvent_SetOrientation",kwnames
,&obj0
,&obj1
)) goto fail
;
16356 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrollWinEvent
, SWIG_POINTER_EXCEPTION
| 0);
16357 if (SWIG_arg_fail(1)) SWIG_fail
;
16359 arg2
= (int)(SWIG_As_int(obj1
));
16360 if (SWIG_arg_fail(2)) SWIG_fail
;
16363 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16364 (arg1
)->SetOrientation(arg2
);
16366 wxPyEndAllowThreads(__tstate
);
16367 if (PyErr_Occurred()) SWIG_fail
;
16369 Py_INCREF(Py_None
); resultobj
= Py_None
;
16376 static PyObject
*_wrap_ScrollWinEvent_SetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16377 PyObject
*resultobj
;
16378 wxScrollWinEvent
*arg1
= (wxScrollWinEvent
*) 0 ;
16380 PyObject
* obj0
= 0 ;
16381 PyObject
* obj1
= 0 ;
16382 char *kwnames
[] = {
16383 (char *) "self",(char *) "pos", NULL
16386 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrollWinEvent_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
16387 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrollWinEvent
, SWIG_POINTER_EXCEPTION
| 0);
16388 if (SWIG_arg_fail(1)) SWIG_fail
;
16390 arg2
= (int)(SWIG_As_int(obj1
));
16391 if (SWIG_arg_fail(2)) SWIG_fail
;
16394 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16395 (arg1
)->SetPosition(arg2
);
16397 wxPyEndAllowThreads(__tstate
);
16398 if (PyErr_Occurred()) SWIG_fail
;
16400 Py_INCREF(Py_None
); resultobj
= Py_None
;
16407 static PyObject
* ScrollWinEvent_swigregister(PyObject
*, PyObject
*args
) {
16409 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16410 SWIG_TypeClientData(SWIGTYPE_p_wxScrollWinEvent
, obj
);
16412 return Py_BuildValue((char *)"");
16414 static PyObject
*_wrap_new_MouseEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16415 PyObject
*resultobj
;
16416 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
16417 wxMouseEvent
*result
;
16418 PyObject
* obj0
= 0 ;
16419 char *kwnames
[] = {
16420 (char *) "mouseType", NULL
16423 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_MouseEvent",kwnames
,&obj0
)) goto fail
;
16426 arg1
= (wxEventType
)(SWIG_As_int(obj0
));
16427 if (SWIG_arg_fail(1)) SWIG_fail
;
16431 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16432 result
= (wxMouseEvent
*)new wxMouseEvent(arg1
);
16434 wxPyEndAllowThreads(__tstate
);
16435 if (PyErr_Occurred()) SWIG_fail
;
16438 resultobj
= wxPyMake_wxObject(result
, 1);
16446 static PyObject
*_wrap_MouseEvent_IsButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16447 PyObject
*resultobj
;
16448 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16450 PyObject
* obj0
= 0 ;
16451 char *kwnames
[] = {
16452 (char *) "self", NULL
16455 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_IsButton",kwnames
,&obj0
)) goto fail
;
16456 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16457 if (SWIG_arg_fail(1)) SWIG_fail
;
16459 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16460 result
= (bool)((wxMouseEvent
const *)arg1
)->IsButton();
16462 wxPyEndAllowThreads(__tstate
);
16463 if (PyErr_Occurred()) SWIG_fail
;
16466 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16474 static PyObject
*_wrap_MouseEvent_ButtonDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16475 PyObject
*resultobj
;
16476 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16477 int arg2
= (int) wxMOUSE_BTN_ANY
;
16479 PyObject
* obj0
= 0 ;
16480 PyObject
* obj1
= 0 ;
16481 char *kwnames
[] = {
16482 (char *) "self",(char *) "but", NULL
16485 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:MouseEvent_ButtonDown",kwnames
,&obj0
,&obj1
)) goto fail
;
16486 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16487 if (SWIG_arg_fail(1)) SWIG_fail
;
16490 arg2
= (int)(SWIG_As_int(obj1
));
16491 if (SWIG_arg_fail(2)) SWIG_fail
;
16495 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16496 result
= (bool)((wxMouseEvent
const *)arg1
)->ButtonDown(arg2
);
16498 wxPyEndAllowThreads(__tstate
);
16499 if (PyErr_Occurred()) SWIG_fail
;
16502 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16510 static PyObject
*_wrap_MouseEvent_ButtonDClick(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16511 PyObject
*resultobj
;
16512 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16513 int arg2
= (int) wxMOUSE_BTN_ANY
;
16515 PyObject
* obj0
= 0 ;
16516 PyObject
* obj1
= 0 ;
16517 char *kwnames
[] = {
16518 (char *) "self",(char *) "but", NULL
16521 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:MouseEvent_ButtonDClick",kwnames
,&obj0
,&obj1
)) goto fail
;
16522 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16523 if (SWIG_arg_fail(1)) SWIG_fail
;
16526 arg2
= (int)(SWIG_As_int(obj1
));
16527 if (SWIG_arg_fail(2)) SWIG_fail
;
16531 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16532 result
= (bool)((wxMouseEvent
const *)arg1
)->ButtonDClick(arg2
);
16534 wxPyEndAllowThreads(__tstate
);
16535 if (PyErr_Occurred()) SWIG_fail
;
16538 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16546 static PyObject
*_wrap_MouseEvent_ButtonUp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16547 PyObject
*resultobj
;
16548 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16549 int arg2
= (int) wxMOUSE_BTN_ANY
;
16551 PyObject
* obj0
= 0 ;
16552 PyObject
* obj1
= 0 ;
16553 char *kwnames
[] = {
16554 (char *) "self",(char *) "but", NULL
16557 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:MouseEvent_ButtonUp",kwnames
,&obj0
,&obj1
)) goto fail
;
16558 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16559 if (SWIG_arg_fail(1)) SWIG_fail
;
16562 arg2
= (int)(SWIG_As_int(obj1
));
16563 if (SWIG_arg_fail(2)) SWIG_fail
;
16567 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16568 result
= (bool)((wxMouseEvent
const *)arg1
)->ButtonUp(arg2
);
16570 wxPyEndAllowThreads(__tstate
);
16571 if (PyErr_Occurred()) SWIG_fail
;
16574 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16582 static PyObject
*_wrap_MouseEvent_Button(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16583 PyObject
*resultobj
;
16584 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16587 PyObject
* obj0
= 0 ;
16588 PyObject
* obj1
= 0 ;
16589 char *kwnames
[] = {
16590 (char *) "self",(char *) "button", NULL
16593 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_Button",kwnames
,&obj0
,&obj1
)) 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 arg2
= (int)(SWIG_As_int(obj1
));
16598 if (SWIG_arg_fail(2)) SWIG_fail
;
16601 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16602 result
= (bool)((wxMouseEvent
const *)arg1
)->Button(arg2
);
16604 wxPyEndAllowThreads(__tstate
);
16605 if (PyErr_Occurred()) SWIG_fail
;
16608 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16616 static PyObject
*_wrap_MouseEvent_ButtonIsDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16617 PyObject
*resultobj
;
16618 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16621 PyObject
* obj0
= 0 ;
16622 PyObject
* obj1
= 0 ;
16623 char *kwnames
[] = {
16624 (char *) "self",(char *) "but", NULL
16627 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_ButtonIsDown",kwnames
,&obj0
,&obj1
)) goto fail
;
16628 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16629 if (SWIG_arg_fail(1)) SWIG_fail
;
16631 arg2
= (int)(SWIG_As_int(obj1
));
16632 if (SWIG_arg_fail(2)) SWIG_fail
;
16635 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16636 result
= (bool)((wxMouseEvent
const *)arg1
)->ButtonIsDown(arg2
);
16638 wxPyEndAllowThreads(__tstate
);
16639 if (PyErr_Occurred()) SWIG_fail
;
16642 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16650 static PyObject
*_wrap_MouseEvent_GetButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16651 PyObject
*resultobj
;
16652 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16654 PyObject
* obj0
= 0 ;
16655 char *kwnames
[] = {
16656 (char *) "self", NULL
16659 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetButton",kwnames
,&obj0
)) goto fail
;
16660 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16661 if (SWIG_arg_fail(1)) SWIG_fail
;
16663 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16664 result
= (int)((wxMouseEvent
const *)arg1
)->GetButton();
16666 wxPyEndAllowThreads(__tstate
);
16667 if (PyErr_Occurred()) SWIG_fail
;
16670 resultobj
= SWIG_From_int((int)(result
));
16678 static PyObject
*_wrap_MouseEvent_ControlDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16679 PyObject
*resultobj
;
16680 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16682 PyObject
* obj0
= 0 ;
16683 char *kwnames
[] = {
16684 (char *) "self", NULL
16687 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_ControlDown",kwnames
,&obj0
)) goto fail
;
16688 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16689 if (SWIG_arg_fail(1)) SWIG_fail
;
16691 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16692 result
= (bool)((wxMouseEvent
const *)arg1
)->ControlDown();
16694 wxPyEndAllowThreads(__tstate
);
16695 if (PyErr_Occurred()) SWIG_fail
;
16698 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16706 static PyObject
*_wrap_MouseEvent_MetaDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16707 PyObject
*resultobj
;
16708 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16710 PyObject
* obj0
= 0 ;
16711 char *kwnames
[] = {
16712 (char *) "self", NULL
16715 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_MetaDown",kwnames
,&obj0
)) goto fail
;
16716 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16717 if (SWIG_arg_fail(1)) SWIG_fail
;
16719 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16720 result
= (bool)((wxMouseEvent
const *)arg1
)->MetaDown();
16722 wxPyEndAllowThreads(__tstate
);
16723 if (PyErr_Occurred()) SWIG_fail
;
16726 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16734 static PyObject
*_wrap_MouseEvent_AltDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16735 PyObject
*resultobj
;
16736 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16738 PyObject
* obj0
= 0 ;
16739 char *kwnames
[] = {
16740 (char *) "self", NULL
16743 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_AltDown",kwnames
,&obj0
)) goto fail
;
16744 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16745 if (SWIG_arg_fail(1)) SWIG_fail
;
16747 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16748 result
= (bool)((wxMouseEvent
const *)arg1
)->AltDown();
16750 wxPyEndAllowThreads(__tstate
);
16751 if (PyErr_Occurred()) SWIG_fail
;
16754 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16762 static PyObject
*_wrap_MouseEvent_ShiftDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16763 PyObject
*resultobj
;
16764 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16766 PyObject
* obj0
= 0 ;
16767 char *kwnames
[] = {
16768 (char *) "self", NULL
16771 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_ShiftDown",kwnames
,&obj0
)) goto fail
;
16772 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16773 if (SWIG_arg_fail(1)) SWIG_fail
;
16775 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16776 result
= (bool)((wxMouseEvent
const *)arg1
)->ShiftDown();
16778 wxPyEndAllowThreads(__tstate
);
16779 if (PyErr_Occurred()) SWIG_fail
;
16782 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16790 static PyObject
*_wrap_MouseEvent_CmdDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16791 PyObject
*resultobj
;
16792 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16794 PyObject
* obj0
= 0 ;
16795 char *kwnames
[] = {
16796 (char *) "self", NULL
16799 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_CmdDown",kwnames
,&obj0
)) goto fail
;
16800 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16801 if (SWIG_arg_fail(1)) SWIG_fail
;
16803 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16804 result
= (bool)((wxMouseEvent
const *)arg1
)->CmdDown();
16806 wxPyEndAllowThreads(__tstate
);
16807 if (PyErr_Occurred()) SWIG_fail
;
16810 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16818 static PyObject
*_wrap_MouseEvent_LeftDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16819 PyObject
*resultobj
;
16820 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16822 PyObject
* obj0
= 0 ;
16823 char *kwnames
[] = {
16824 (char *) "self", NULL
16827 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_LeftDown",kwnames
,&obj0
)) goto fail
;
16828 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16829 if (SWIG_arg_fail(1)) SWIG_fail
;
16831 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16832 result
= (bool)((wxMouseEvent
const *)arg1
)->LeftDown();
16834 wxPyEndAllowThreads(__tstate
);
16835 if (PyErr_Occurred()) SWIG_fail
;
16838 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16846 static PyObject
*_wrap_MouseEvent_MiddleDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16847 PyObject
*resultobj
;
16848 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16850 PyObject
* obj0
= 0 ;
16851 char *kwnames
[] = {
16852 (char *) "self", NULL
16855 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_MiddleDown",kwnames
,&obj0
)) goto fail
;
16856 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16857 if (SWIG_arg_fail(1)) SWIG_fail
;
16859 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16860 result
= (bool)((wxMouseEvent
const *)arg1
)->MiddleDown();
16862 wxPyEndAllowThreads(__tstate
);
16863 if (PyErr_Occurred()) SWIG_fail
;
16866 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16874 static PyObject
*_wrap_MouseEvent_RightDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16875 PyObject
*resultobj
;
16876 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16878 PyObject
* obj0
= 0 ;
16879 char *kwnames
[] = {
16880 (char *) "self", NULL
16883 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_RightDown",kwnames
,&obj0
)) goto fail
;
16884 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16885 if (SWIG_arg_fail(1)) SWIG_fail
;
16887 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16888 result
= (bool)((wxMouseEvent
const *)arg1
)->RightDown();
16890 wxPyEndAllowThreads(__tstate
);
16891 if (PyErr_Occurred()) SWIG_fail
;
16894 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16902 static PyObject
*_wrap_MouseEvent_LeftUp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16903 PyObject
*resultobj
;
16904 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16906 PyObject
* obj0
= 0 ;
16907 char *kwnames
[] = {
16908 (char *) "self", NULL
16911 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_LeftUp",kwnames
,&obj0
)) goto fail
;
16912 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16913 if (SWIG_arg_fail(1)) SWIG_fail
;
16915 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16916 result
= (bool)((wxMouseEvent
const *)arg1
)->LeftUp();
16918 wxPyEndAllowThreads(__tstate
);
16919 if (PyErr_Occurred()) SWIG_fail
;
16922 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16930 static PyObject
*_wrap_MouseEvent_MiddleUp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16931 PyObject
*resultobj
;
16932 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16934 PyObject
* obj0
= 0 ;
16935 char *kwnames
[] = {
16936 (char *) "self", NULL
16939 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_MiddleUp",kwnames
,&obj0
)) goto fail
;
16940 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16941 if (SWIG_arg_fail(1)) SWIG_fail
;
16943 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16944 result
= (bool)((wxMouseEvent
const *)arg1
)->MiddleUp();
16946 wxPyEndAllowThreads(__tstate
);
16947 if (PyErr_Occurred()) SWIG_fail
;
16950 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16958 static PyObject
*_wrap_MouseEvent_RightUp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16959 PyObject
*resultobj
;
16960 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16962 PyObject
* obj0
= 0 ;
16963 char *kwnames
[] = {
16964 (char *) "self", NULL
16967 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_RightUp",kwnames
,&obj0
)) goto fail
;
16968 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16969 if (SWIG_arg_fail(1)) SWIG_fail
;
16971 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16972 result
= (bool)((wxMouseEvent
const *)arg1
)->RightUp();
16974 wxPyEndAllowThreads(__tstate
);
16975 if (PyErr_Occurred()) SWIG_fail
;
16978 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16986 static PyObject
*_wrap_MouseEvent_LeftDClick(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16987 PyObject
*resultobj
;
16988 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16990 PyObject
* obj0
= 0 ;
16991 char *kwnames
[] = {
16992 (char *) "self", NULL
16995 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_LeftDClick",kwnames
,&obj0
)) goto fail
;
16996 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16997 if (SWIG_arg_fail(1)) SWIG_fail
;
16999 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17000 result
= (bool)((wxMouseEvent
const *)arg1
)->LeftDClick();
17002 wxPyEndAllowThreads(__tstate
);
17003 if (PyErr_Occurred()) SWIG_fail
;
17006 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17014 static PyObject
*_wrap_MouseEvent_MiddleDClick(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17015 PyObject
*resultobj
;
17016 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17018 PyObject
* obj0
= 0 ;
17019 char *kwnames
[] = {
17020 (char *) "self", NULL
17023 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_MiddleDClick",kwnames
,&obj0
)) goto fail
;
17024 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17025 if (SWIG_arg_fail(1)) SWIG_fail
;
17027 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17028 result
= (bool)((wxMouseEvent
const *)arg1
)->MiddleDClick();
17030 wxPyEndAllowThreads(__tstate
);
17031 if (PyErr_Occurred()) SWIG_fail
;
17034 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17042 static PyObject
*_wrap_MouseEvent_RightDClick(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17043 PyObject
*resultobj
;
17044 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17046 PyObject
* obj0
= 0 ;
17047 char *kwnames
[] = {
17048 (char *) "self", NULL
17051 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_RightDClick",kwnames
,&obj0
)) goto fail
;
17052 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17053 if (SWIG_arg_fail(1)) SWIG_fail
;
17055 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17056 result
= (bool)((wxMouseEvent
const *)arg1
)->RightDClick();
17058 wxPyEndAllowThreads(__tstate
);
17059 if (PyErr_Occurred()) SWIG_fail
;
17062 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17070 static PyObject
*_wrap_MouseEvent_LeftIsDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17071 PyObject
*resultobj
;
17072 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17074 PyObject
* obj0
= 0 ;
17075 char *kwnames
[] = {
17076 (char *) "self", NULL
17079 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_LeftIsDown",kwnames
,&obj0
)) goto fail
;
17080 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17081 if (SWIG_arg_fail(1)) SWIG_fail
;
17083 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17084 result
= (bool)(arg1
)->LeftIsDown();
17086 wxPyEndAllowThreads(__tstate
);
17087 if (PyErr_Occurred()) SWIG_fail
;
17090 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17098 static PyObject
*_wrap_MouseEvent_MiddleIsDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17099 PyObject
*resultobj
;
17100 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17102 PyObject
* obj0
= 0 ;
17103 char *kwnames
[] = {
17104 (char *) "self", NULL
17107 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_MiddleIsDown",kwnames
,&obj0
)) goto fail
;
17108 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17109 if (SWIG_arg_fail(1)) SWIG_fail
;
17111 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17112 result
= (bool)(arg1
)->MiddleIsDown();
17114 wxPyEndAllowThreads(__tstate
);
17115 if (PyErr_Occurred()) SWIG_fail
;
17118 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17126 static PyObject
*_wrap_MouseEvent_RightIsDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17127 PyObject
*resultobj
;
17128 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17130 PyObject
* obj0
= 0 ;
17131 char *kwnames
[] = {
17132 (char *) "self", NULL
17135 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_RightIsDown",kwnames
,&obj0
)) 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 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17140 result
= (bool)(arg1
)->RightIsDown();
17142 wxPyEndAllowThreads(__tstate
);
17143 if (PyErr_Occurred()) SWIG_fail
;
17146 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17154 static PyObject
*_wrap_MouseEvent_Dragging(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17155 PyObject
*resultobj
;
17156 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17158 PyObject
* obj0
= 0 ;
17159 char *kwnames
[] = {
17160 (char *) "self", NULL
17163 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_Dragging",kwnames
,&obj0
)) goto fail
;
17164 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17165 if (SWIG_arg_fail(1)) SWIG_fail
;
17167 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17168 result
= (bool)((wxMouseEvent
const *)arg1
)->Dragging();
17170 wxPyEndAllowThreads(__tstate
);
17171 if (PyErr_Occurred()) SWIG_fail
;
17174 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17182 static PyObject
*_wrap_MouseEvent_Moving(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17183 PyObject
*resultobj
;
17184 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17186 PyObject
* obj0
= 0 ;
17187 char *kwnames
[] = {
17188 (char *) "self", NULL
17191 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_Moving",kwnames
,&obj0
)) goto fail
;
17192 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17193 if (SWIG_arg_fail(1)) SWIG_fail
;
17195 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17196 result
= (bool)((wxMouseEvent
const *)arg1
)->Moving();
17198 wxPyEndAllowThreads(__tstate
);
17199 if (PyErr_Occurred()) SWIG_fail
;
17202 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17210 static PyObject
*_wrap_MouseEvent_Entering(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17211 PyObject
*resultobj
;
17212 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17214 PyObject
* obj0
= 0 ;
17215 char *kwnames
[] = {
17216 (char *) "self", NULL
17219 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_Entering",kwnames
,&obj0
)) goto fail
;
17220 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17221 if (SWIG_arg_fail(1)) SWIG_fail
;
17223 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17224 result
= (bool)((wxMouseEvent
const *)arg1
)->Entering();
17226 wxPyEndAllowThreads(__tstate
);
17227 if (PyErr_Occurred()) SWIG_fail
;
17230 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17238 static PyObject
*_wrap_MouseEvent_Leaving(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17239 PyObject
*resultobj
;
17240 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17242 PyObject
* obj0
= 0 ;
17243 char *kwnames
[] = {
17244 (char *) "self", NULL
17247 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_Leaving",kwnames
,&obj0
)) goto fail
;
17248 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17249 if (SWIG_arg_fail(1)) SWIG_fail
;
17251 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17252 result
= (bool)((wxMouseEvent
const *)arg1
)->Leaving();
17254 wxPyEndAllowThreads(__tstate
);
17255 if (PyErr_Occurred()) SWIG_fail
;
17258 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17266 static PyObject
*_wrap_MouseEvent_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17267 PyObject
*resultobj
;
17268 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17270 PyObject
* obj0
= 0 ;
17271 char *kwnames
[] = {
17272 (char *) "self", NULL
17275 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
17276 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17277 if (SWIG_arg_fail(1)) SWIG_fail
;
17279 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17280 result
= (arg1
)->GetPosition();
17282 wxPyEndAllowThreads(__tstate
);
17283 if (PyErr_Occurred()) SWIG_fail
;
17286 wxPoint
* resultptr
;
17287 resultptr
= new wxPoint((wxPoint
&)(result
));
17288 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
17296 static PyObject
*_wrap_MouseEvent_GetPositionTuple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17297 PyObject
*resultobj
;
17298 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17299 long *arg2
= (long *) 0 ;
17300 long *arg3
= (long *) 0 ;
17305 PyObject
* obj0
= 0 ;
17306 char *kwnames
[] = {
17307 (char *) "self", NULL
17310 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
17311 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
17312 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetPositionTuple",kwnames
,&obj0
)) goto fail
;
17313 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17314 if (SWIG_arg_fail(1)) SWIG_fail
;
17316 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17317 (arg1
)->GetPosition(arg2
,arg3
);
17319 wxPyEndAllowThreads(__tstate
);
17320 if (PyErr_Occurred()) SWIG_fail
;
17322 Py_INCREF(Py_None
); resultobj
= Py_None
;
17323 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
17324 SWIG_From_long((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_long
, 0)));
17325 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
17326 SWIG_From_long((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, 0)));
17333 static PyObject
*_wrap_MouseEvent_GetLogicalPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17334 PyObject
*resultobj
;
17335 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17338 PyObject
* obj0
= 0 ;
17339 PyObject
* obj1
= 0 ;
17340 char *kwnames
[] = {
17341 (char *) "self",(char *) "dc", NULL
17344 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_GetLogicalPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
17345 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17346 if (SWIG_arg_fail(1)) SWIG_fail
;
17348 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
17349 if (SWIG_arg_fail(2)) SWIG_fail
;
17350 if (arg2
== NULL
) {
17351 SWIG_null_ref("wxDC");
17353 if (SWIG_arg_fail(2)) SWIG_fail
;
17356 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17357 result
= ((wxMouseEvent
const *)arg1
)->GetLogicalPosition((wxDC
const &)*arg2
);
17359 wxPyEndAllowThreads(__tstate
);
17360 if (PyErr_Occurred()) SWIG_fail
;
17363 wxPoint
* resultptr
;
17364 resultptr
= new wxPoint((wxPoint
&)(result
));
17365 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
17373 static PyObject
*_wrap_MouseEvent_GetX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17374 PyObject
*resultobj
;
17375 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17377 PyObject
* obj0
= 0 ;
17378 char *kwnames
[] = {
17379 (char *) "self", NULL
17382 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetX",kwnames
,&obj0
)) goto fail
;
17383 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17384 if (SWIG_arg_fail(1)) SWIG_fail
;
17386 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17387 result
= (int)((wxMouseEvent
const *)arg1
)->GetX();
17389 wxPyEndAllowThreads(__tstate
);
17390 if (PyErr_Occurred()) SWIG_fail
;
17393 resultobj
= SWIG_From_int((int)(result
));
17401 static PyObject
*_wrap_MouseEvent_GetY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17402 PyObject
*resultobj
;
17403 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17405 PyObject
* obj0
= 0 ;
17406 char *kwnames
[] = {
17407 (char *) "self", NULL
17410 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetY",kwnames
,&obj0
)) goto fail
;
17411 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17412 if (SWIG_arg_fail(1)) SWIG_fail
;
17414 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17415 result
= (int)((wxMouseEvent
const *)arg1
)->GetY();
17417 wxPyEndAllowThreads(__tstate
);
17418 if (PyErr_Occurred()) SWIG_fail
;
17421 resultobj
= SWIG_From_int((int)(result
));
17429 static PyObject
*_wrap_MouseEvent_GetWheelRotation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17430 PyObject
*resultobj
;
17431 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17433 PyObject
* obj0
= 0 ;
17434 char *kwnames
[] = {
17435 (char *) "self", NULL
17438 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetWheelRotation",kwnames
,&obj0
)) goto fail
;
17439 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17440 if (SWIG_arg_fail(1)) SWIG_fail
;
17442 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17443 result
= (int)((wxMouseEvent
const *)arg1
)->GetWheelRotation();
17445 wxPyEndAllowThreads(__tstate
);
17446 if (PyErr_Occurred()) SWIG_fail
;
17449 resultobj
= SWIG_From_int((int)(result
));
17457 static PyObject
*_wrap_MouseEvent_GetWheelDelta(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17458 PyObject
*resultobj
;
17459 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17461 PyObject
* obj0
= 0 ;
17462 char *kwnames
[] = {
17463 (char *) "self", NULL
17466 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetWheelDelta",kwnames
,&obj0
)) goto fail
;
17467 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17468 if (SWIG_arg_fail(1)) SWIG_fail
;
17470 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17471 result
= (int)((wxMouseEvent
const *)arg1
)->GetWheelDelta();
17473 wxPyEndAllowThreads(__tstate
);
17474 if (PyErr_Occurred()) SWIG_fail
;
17477 resultobj
= SWIG_From_int((int)(result
));
17485 static PyObject
*_wrap_MouseEvent_GetLinesPerAction(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17486 PyObject
*resultobj
;
17487 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17489 PyObject
* obj0
= 0 ;
17490 char *kwnames
[] = {
17491 (char *) "self", NULL
17494 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetLinesPerAction",kwnames
,&obj0
)) goto fail
;
17495 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17496 if (SWIG_arg_fail(1)) SWIG_fail
;
17498 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17499 result
= (int)((wxMouseEvent
const *)arg1
)->GetLinesPerAction();
17501 wxPyEndAllowThreads(__tstate
);
17502 if (PyErr_Occurred()) SWIG_fail
;
17505 resultobj
= SWIG_From_int((int)(result
));
17513 static PyObject
*_wrap_MouseEvent_IsPageScroll(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17514 PyObject
*resultobj
;
17515 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17517 PyObject
* obj0
= 0 ;
17518 char *kwnames
[] = {
17519 (char *) "self", NULL
17522 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_IsPageScroll",kwnames
,&obj0
)) goto fail
;
17523 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17524 if (SWIG_arg_fail(1)) SWIG_fail
;
17526 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17527 result
= (bool)((wxMouseEvent
const *)arg1
)->IsPageScroll();
17529 wxPyEndAllowThreads(__tstate
);
17530 if (PyErr_Occurred()) SWIG_fail
;
17533 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17541 static PyObject
*_wrap_MouseEvent_m_x_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17542 PyObject
*resultobj
;
17543 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17545 PyObject
* obj0
= 0 ;
17546 PyObject
* obj1
= 0 ;
17547 char *kwnames
[] = {
17548 (char *) "self",(char *) "m_x", NULL
17551 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_x_set",kwnames
,&obj0
,&obj1
)) goto fail
;
17552 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17553 if (SWIG_arg_fail(1)) SWIG_fail
;
17555 arg2
= (int)(SWIG_As_int(obj1
));
17556 if (SWIG_arg_fail(2)) SWIG_fail
;
17558 if (arg1
) (arg1
)->m_x
= arg2
;
17560 Py_INCREF(Py_None
); resultobj
= Py_None
;
17567 static PyObject
*_wrap_MouseEvent_m_x_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17568 PyObject
*resultobj
;
17569 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17571 PyObject
* obj0
= 0 ;
17572 char *kwnames
[] = {
17573 (char *) "self", NULL
17576 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_x_get",kwnames
,&obj0
)) goto fail
;
17577 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17578 if (SWIG_arg_fail(1)) SWIG_fail
;
17579 result
= (int) ((arg1
)->m_x
);
17582 resultobj
= SWIG_From_int((int)(result
));
17590 static PyObject
*_wrap_MouseEvent_m_y_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17591 PyObject
*resultobj
;
17592 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17594 PyObject
* obj0
= 0 ;
17595 PyObject
* obj1
= 0 ;
17596 char *kwnames
[] = {
17597 (char *) "self",(char *) "m_y", NULL
17600 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_y_set",kwnames
,&obj0
,&obj1
)) goto fail
;
17601 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17602 if (SWIG_arg_fail(1)) SWIG_fail
;
17604 arg2
= (int)(SWIG_As_int(obj1
));
17605 if (SWIG_arg_fail(2)) SWIG_fail
;
17607 if (arg1
) (arg1
)->m_y
= arg2
;
17609 Py_INCREF(Py_None
); resultobj
= Py_None
;
17616 static PyObject
*_wrap_MouseEvent_m_y_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17617 PyObject
*resultobj
;
17618 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17620 PyObject
* obj0
= 0 ;
17621 char *kwnames
[] = {
17622 (char *) "self", NULL
17625 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_y_get",kwnames
,&obj0
)) goto fail
;
17626 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17627 if (SWIG_arg_fail(1)) SWIG_fail
;
17628 result
= (int) ((arg1
)->m_y
);
17631 resultobj
= SWIG_From_int((int)(result
));
17639 static PyObject
*_wrap_MouseEvent_m_leftDown_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17640 PyObject
*resultobj
;
17641 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17643 PyObject
* obj0
= 0 ;
17644 PyObject
* obj1
= 0 ;
17645 char *kwnames
[] = {
17646 (char *) "self",(char *) "m_leftDown", NULL
17649 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_leftDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
17650 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17651 if (SWIG_arg_fail(1)) SWIG_fail
;
17653 arg2
= (bool)(SWIG_As_bool(obj1
));
17654 if (SWIG_arg_fail(2)) SWIG_fail
;
17656 if (arg1
) (arg1
)->m_leftDown
= arg2
;
17658 Py_INCREF(Py_None
); resultobj
= Py_None
;
17665 static PyObject
*_wrap_MouseEvent_m_leftDown_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17666 PyObject
*resultobj
;
17667 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17669 PyObject
* obj0
= 0 ;
17670 char *kwnames
[] = {
17671 (char *) "self", NULL
17674 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_leftDown_get",kwnames
,&obj0
)) goto fail
;
17675 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17676 if (SWIG_arg_fail(1)) SWIG_fail
;
17677 result
= (bool) ((arg1
)->m_leftDown
);
17680 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17688 static PyObject
*_wrap_MouseEvent_m_middleDown_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17689 PyObject
*resultobj
;
17690 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17692 PyObject
* obj0
= 0 ;
17693 PyObject
* obj1
= 0 ;
17694 char *kwnames
[] = {
17695 (char *) "self",(char *) "m_middleDown", NULL
17698 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_middleDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
17699 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17700 if (SWIG_arg_fail(1)) SWIG_fail
;
17702 arg2
= (bool)(SWIG_As_bool(obj1
));
17703 if (SWIG_arg_fail(2)) SWIG_fail
;
17705 if (arg1
) (arg1
)->m_middleDown
= arg2
;
17707 Py_INCREF(Py_None
); resultobj
= Py_None
;
17714 static PyObject
*_wrap_MouseEvent_m_middleDown_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17715 PyObject
*resultobj
;
17716 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17718 PyObject
* obj0
= 0 ;
17719 char *kwnames
[] = {
17720 (char *) "self", NULL
17723 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_middleDown_get",kwnames
,&obj0
)) goto fail
;
17724 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17725 if (SWIG_arg_fail(1)) SWIG_fail
;
17726 result
= (bool) ((arg1
)->m_middleDown
);
17729 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17737 static PyObject
*_wrap_MouseEvent_m_rightDown_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17738 PyObject
*resultobj
;
17739 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17741 PyObject
* obj0
= 0 ;
17742 PyObject
* obj1
= 0 ;
17743 char *kwnames
[] = {
17744 (char *) "self",(char *) "m_rightDown", NULL
17747 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_rightDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
17748 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17749 if (SWIG_arg_fail(1)) SWIG_fail
;
17751 arg2
= (bool)(SWIG_As_bool(obj1
));
17752 if (SWIG_arg_fail(2)) SWIG_fail
;
17754 if (arg1
) (arg1
)->m_rightDown
= arg2
;
17756 Py_INCREF(Py_None
); resultobj
= Py_None
;
17763 static PyObject
*_wrap_MouseEvent_m_rightDown_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17764 PyObject
*resultobj
;
17765 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17767 PyObject
* obj0
= 0 ;
17768 char *kwnames
[] = {
17769 (char *) "self", NULL
17772 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_rightDown_get",kwnames
,&obj0
)) goto fail
;
17773 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17774 if (SWIG_arg_fail(1)) SWIG_fail
;
17775 result
= (bool) ((arg1
)->m_rightDown
);
17778 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17786 static PyObject
*_wrap_MouseEvent_m_controlDown_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17787 PyObject
*resultobj
;
17788 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17790 PyObject
* obj0
= 0 ;
17791 PyObject
* obj1
= 0 ;
17792 char *kwnames
[] = {
17793 (char *) "self",(char *) "m_controlDown", NULL
17796 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_controlDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
17797 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17798 if (SWIG_arg_fail(1)) SWIG_fail
;
17800 arg2
= (bool)(SWIG_As_bool(obj1
));
17801 if (SWIG_arg_fail(2)) SWIG_fail
;
17803 if (arg1
) (arg1
)->m_controlDown
= arg2
;
17805 Py_INCREF(Py_None
); resultobj
= Py_None
;
17812 static PyObject
*_wrap_MouseEvent_m_controlDown_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17813 PyObject
*resultobj
;
17814 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17816 PyObject
* obj0
= 0 ;
17817 char *kwnames
[] = {
17818 (char *) "self", NULL
17821 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_controlDown_get",kwnames
,&obj0
)) goto fail
;
17822 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17823 if (SWIG_arg_fail(1)) SWIG_fail
;
17824 result
= (bool) ((arg1
)->m_controlDown
);
17827 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17835 static PyObject
*_wrap_MouseEvent_m_shiftDown_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17836 PyObject
*resultobj
;
17837 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17839 PyObject
* obj0
= 0 ;
17840 PyObject
* obj1
= 0 ;
17841 char *kwnames
[] = {
17842 (char *) "self",(char *) "m_shiftDown", NULL
17845 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_shiftDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
17846 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17847 if (SWIG_arg_fail(1)) SWIG_fail
;
17849 arg2
= (bool)(SWIG_As_bool(obj1
));
17850 if (SWIG_arg_fail(2)) SWIG_fail
;
17852 if (arg1
) (arg1
)->m_shiftDown
= arg2
;
17854 Py_INCREF(Py_None
); resultobj
= Py_None
;
17861 static PyObject
*_wrap_MouseEvent_m_shiftDown_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17862 PyObject
*resultobj
;
17863 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17865 PyObject
* obj0
= 0 ;
17866 char *kwnames
[] = {
17867 (char *) "self", NULL
17870 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_shiftDown_get",kwnames
,&obj0
)) goto fail
;
17871 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17872 if (SWIG_arg_fail(1)) SWIG_fail
;
17873 result
= (bool) ((arg1
)->m_shiftDown
);
17876 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17884 static PyObject
*_wrap_MouseEvent_m_altDown_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17885 PyObject
*resultobj
;
17886 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17888 PyObject
* obj0
= 0 ;
17889 PyObject
* obj1
= 0 ;
17890 char *kwnames
[] = {
17891 (char *) "self",(char *) "m_altDown", NULL
17894 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_altDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
17895 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17896 if (SWIG_arg_fail(1)) SWIG_fail
;
17898 arg2
= (bool)(SWIG_As_bool(obj1
));
17899 if (SWIG_arg_fail(2)) SWIG_fail
;
17901 if (arg1
) (arg1
)->m_altDown
= arg2
;
17903 Py_INCREF(Py_None
); resultobj
= Py_None
;
17910 static PyObject
*_wrap_MouseEvent_m_altDown_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17911 PyObject
*resultobj
;
17912 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17914 PyObject
* obj0
= 0 ;
17915 char *kwnames
[] = {
17916 (char *) "self", NULL
17919 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_altDown_get",kwnames
,&obj0
)) goto fail
;
17920 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17921 if (SWIG_arg_fail(1)) SWIG_fail
;
17922 result
= (bool) ((arg1
)->m_altDown
);
17925 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17933 static PyObject
*_wrap_MouseEvent_m_metaDown_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17934 PyObject
*resultobj
;
17935 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17937 PyObject
* obj0
= 0 ;
17938 PyObject
* obj1
= 0 ;
17939 char *kwnames
[] = {
17940 (char *) "self",(char *) "m_metaDown", NULL
17943 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_metaDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
17944 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17945 if (SWIG_arg_fail(1)) SWIG_fail
;
17947 arg2
= (bool)(SWIG_As_bool(obj1
));
17948 if (SWIG_arg_fail(2)) SWIG_fail
;
17950 if (arg1
) (arg1
)->m_metaDown
= arg2
;
17952 Py_INCREF(Py_None
); resultobj
= Py_None
;
17959 static PyObject
*_wrap_MouseEvent_m_metaDown_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17960 PyObject
*resultobj
;
17961 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17963 PyObject
* obj0
= 0 ;
17964 char *kwnames
[] = {
17965 (char *) "self", NULL
17968 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_metaDown_get",kwnames
,&obj0
)) goto fail
;
17969 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17970 if (SWIG_arg_fail(1)) SWIG_fail
;
17971 result
= (bool) ((arg1
)->m_metaDown
);
17974 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17982 static PyObject
*_wrap_MouseEvent_m_wheelRotation_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17983 PyObject
*resultobj
;
17984 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17986 PyObject
* obj0
= 0 ;
17987 PyObject
* obj1
= 0 ;
17988 char *kwnames
[] = {
17989 (char *) "self",(char *) "m_wheelRotation", NULL
17992 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_wheelRotation_set",kwnames
,&obj0
,&obj1
)) goto fail
;
17993 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17994 if (SWIG_arg_fail(1)) SWIG_fail
;
17996 arg2
= (int)(SWIG_As_int(obj1
));
17997 if (SWIG_arg_fail(2)) SWIG_fail
;
17999 if (arg1
) (arg1
)->m_wheelRotation
= arg2
;
18001 Py_INCREF(Py_None
); resultobj
= Py_None
;
18008 static PyObject
*_wrap_MouseEvent_m_wheelRotation_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18009 PyObject
*resultobj
;
18010 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
18012 PyObject
* obj0
= 0 ;
18013 char *kwnames
[] = {
18014 (char *) "self", NULL
18017 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_wheelRotation_get",kwnames
,&obj0
)) goto fail
;
18018 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
18019 if (SWIG_arg_fail(1)) SWIG_fail
;
18020 result
= (int) ((arg1
)->m_wheelRotation
);
18023 resultobj
= SWIG_From_int((int)(result
));
18031 static PyObject
*_wrap_MouseEvent_m_wheelDelta_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18032 PyObject
*resultobj
;
18033 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
18035 PyObject
* obj0
= 0 ;
18036 PyObject
* obj1
= 0 ;
18037 char *kwnames
[] = {
18038 (char *) "self",(char *) "m_wheelDelta", NULL
18041 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_wheelDelta_set",kwnames
,&obj0
,&obj1
)) goto fail
;
18042 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
18043 if (SWIG_arg_fail(1)) SWIG_fail
;
18045 arg2
= (int)(SWIG_As_int(obj1
));
18046 if (SWIG_arg_fail(2)) SWIG_fail
;
18048 if (arg1
) (arg1
)->m_wheelDelta
= arg2
;
18050 Py_INCREF(Py_None
); resultobj
= Py_None
;
18057 static PyObject
*_wrap_MouseEvent_m_wheelDelta_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18058 PyObject
*resultobj
;
18059 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
18061 PyObject
* obj0
= 0 ;
18062 char *kwnames
[] = {
18063 (char *) "self", NULL
18066 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_wheelDelta_get",kwnames
,&obj0
)) goto fail
;
18067 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
18068 if (SWIG_arg_fail(1)) SWIG_fail
;
18069 result
= (int) ((arg1
)->m_wheelDelta
);
18072 resultobj
= SWIG_From_int((int)(result
));
18080 static PyObject
*_wrap_MouseEvent_m_linesPerAction_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18081 PyObject
*resultobj
;
18082 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
18084 PyObject
* obj0
= 0 ;
18085 PyObject
* obj1
= 0 ;
18086 char *kwnames
[] = {
18087 (char *) "self",(char *) "m_linesPerAction", NULL
18090 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_linesPerAction_set",kwnames
,&obj0
,&obj1
)) goto fail
;
18091 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
18092 if (SWIG_arg_fail(1)) SWIG_fail
;
18094 arg2
= (int)(SWIG_As_int(obj1
));
18095 if (SWIG_arg_fail(2)) SWIG_fail
;
18097 if (arg1
) (arg1
)->m_linesPerAction
= arg2
;
18099 Py_INCREF(Py_None
); resultobj
= Py_None
;
18106 static PyObject
*_wrap_MouseEvent_m_linesPerAction_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18107 PyObject
*resultobj
;
18108 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
18110 PyObject
* obj0
= 0 ;
18111 char *kwnames
[] = {
18112 (char *) "self", NULL
18115 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_linesPerAction_get",kwnames
,&obj0
)) goto fail
;
18116 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
18117 if (SWIG_arg_fail(1)) SWIG_fail
;
18118 result
= (int) ((arg1
)->m_linesPerAction
);
18121 resultobj
= SWIG_From_int((int)(result
));
18129 static PyObject
* MouseEvent_swigregister(PyObject
*, PyObject
*args
) {
18131 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18132 SWIG_TypeClientData(SWIGTYPE_p_wxMouseEvent
, obj
);
18134 return Py_BuildValue((char *)"");
18136 static PyObject
*_wrap_new_SetCursorEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18137 PyObject
*resultobj
;
18138 int arg1
= (int) 0 ;
18139 int arg2
= (int) 0 ;
18140 wxSetCursorEvent
*result
;
18141 PyObject
* obj0
= 0 ;
18142 PyObject
* obj1
= 0 ;
18143 char *kwnames
[] = {
18144 (char *) "x",(char *) "y", NULL
18147 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_SetCursorEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
18150 arg1
= (int)(SWIG_As_int(obj0
));
18151 if (SWIG_arg_fail(1)) SWIG_fail
;
18156 arg2
= (int)(SWIG_As_int(obj1
));
18157 if (SWIG_arg_fail(2)) SWIG_fail
;
18161 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18162 result
= (wxSetCursorEvent
*)new wxSetCursorEvent(arg1
,arg2
);
18164 wxPyEndAllowThreads(__tstate
);
18165 if (PyErr_Occurred()) SWIG_fail
;
18167 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSetCursorEvent
, 1);
18174 static PyObject
*_wrap_SetCursorEvent_GetX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18175 PyObject
*resultobj
;
18176 wxSetCursorEvent
*arg1
= (wxSetCursorEvent
*) 0 ;
18178 PyObject
* obj0
= 0 ;
18179 char *kwnames
[] = {
18180 (char *) "self", NULL
18183 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SetCursorEvent_GetX",kwnames
,&obj0
)) goto fail
;
18184 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSetCursorEvent
, SWIG_POINTER_EXCEPTION
| 0);
18185 if (SWIG_arg_fail(1)) SWIG_fail
;
18187 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18188 result
= (int)((wxSetCursorEvent
const *)arg1
)->GetX();
18190 wxPyEndAllowThreads(__tstate
);
18191 if (PyErr_Occurred()) SWIG_fail
;
18194 resultobj
= SWIG_From_int((int)(result
));
18202 static PyObject
*_wrap_SetCursorEvent_GetY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18203 PyObject
*resultobj
;
18204 wxSetCursorEvent
*arg1
= (wxSetCursorEvent
*) 0 ;
18206 PyObject
* obj0
= 0 ;
18207 char *kwnames
[] = {
18208 (char *) "self", NULL
18211 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SetCursorEvent_GetY",kwnames
,&obj0
)) goto fail
;
18212 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSetCursorEvent
, SWIG_POINTER_EXCEPTION
| 0);
18213 if (SWIG_arg_fail(1)) SWIG_fail
;
18215 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18216 result
= (int)((wxSetCursorEvent
const *)arg1
)->GetY();
18218 wxPyEndAllowThreads(__tstate
);
18219 if (PyErr_Occurred()) SWIG_fail
;
18222 resultobj
= SWIG_From_int((int)(result
));
18230 static PyObject
*_wrap_SetCursorEvent_SetCursor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18231 PyObject
*resultobj
;
18232 wxSetCursorEvent
*arg1
= (wxSetCursorEvent
*) 0 ;
18233 wxCursor
*arg2
= 0 ;
18234 PyObject
* obj0
= 0 ;
18235 PyObject
* obj1
= 0 ;
18236 char *kwnames
[] = {
18237 (char *) "self",(char *) "cursor", NULL
18240 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SetCursorEvent_SetCursor",kwnames
,&obj0
,&obj1
)) goto fail
;
18241 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSetCursorEvent
, SWIG_POINTER_EXCEPTION
| 0);
18242 if (SWIG_arg_fail(1)) SWIG_fail
;
18244 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxCursor
, SWIG_POINTER_EXCEPTION
| 0);
18245 if (SWIG_arg_fail(2)) SWIG_fail
;
18246 if (arg2
== NULL
) {
18247 SWIG_null_ref("wxCursor");
18249 if (SWIG_arg_fail(2)) SWIG_fail
;
18252 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18253 (arg1
)->SetCursor((wxCursor
const &)*arg2
);
18255 wxPyEndAllowThreads(__tstate
);
18256 if (PyErr_Occurred()) SWIG_fail
;
18258 Py_INCREF(Py_None
); resultobj
= Py_None
;
18265 static PyObject
*_wrap_SetCursorEvent_GetCursor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18266 PyObject
*resultobj
;
18267 wxSetCursorEvent
*arg1
= (wxSetCursorEvent
*) 0 ;
18269 PyObject
* obj0
= 0 ;
18270 char *kwnames
[] = {
18271 (char *) "self", NULL
18274 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SetCursorEvent_GetCursor",kwnames
,&obj0
)) goto fail
;
18275 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSetCursorEvent
, SWIG_POINTER_EXCEPTION
| 0);
18276 if (SWIG_arg_fail(1)) SWIG_fail
;
18278 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18280 wxCursor
const &_result_ref
= ((wxSetCursorEvent
const *)arg1
)->GetCursor();
18281 result
= (wxCursor
*) &_result_ref
;
18284 wxPyEndAllowThreads(__tstate
);
18285 if (PyErr_Occurred()) SWIG_fail
;
18288 wxCursor
* resultptr
= new wxCursor(*result
);
18289 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxCursor
, 1);
18297 static PyObject
*_wrap_SetCursorEvent_HasCursor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18298 PyObject
*resultobj
;
18299 wxSetCursorEvent
*arg1
= (wxSetCursorEvent
*) 0 ;
18301 PyObject
* obj0
= 0 ;
18302 char *kwnames
[] = {
18303 (char *) "self", NULL
18306 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SetCursorEvent_HasCursor",kwnames
,&obj0
)) goto fail
;
18307 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSetCursorEvent
, SWIG_POINTER_EXCEPTION
| 0);
18308 if (SWIG_arg_fail(1)) SWIG_fail
;
18310 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18311 result
= (bool)((wxSetCursorEvent
const *)arg1
)->HasCursor();
18313 wxPyEndAllowThreads(__tstate
);
18314 if (PyErr_Occurred()) SWIG_fail
;
18317 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18325 static PyObject
* SetCursorEvent_swigregister(PyObject
*, PyObject
*args
) {
18327 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18328 SWIG_TypeClientData(SWIGTYPE_p_wxSetCursorEvent
, obj
);
18330 return Py_BuildValue((char *)"");
18332 static PyObject
*_wrap_new_KeyEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18333 PyObject
*resultobj
;
18334 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
18335 wxKeyEvent
*result
;
18336 PyObject
* obj0
= 0 ;
18337 char *kwnames
[] = {
18338 (char *) "eventType", NULL
18341 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_KeyEvent",kwnames
,&obj0
)) goto fail
;
18344 arg1
= (wxEventType
)(SWIG_As_int(obj0
));
18345 if (SWIG_arg_fail(1)) SWIG_fail
;
18349 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18350 result
= (wxKeyEvent
*)new wxKeyEvent(arg1
);
18352 wxPyEndAllowThreads(__tstate
);
18353 if (PyErr_Occurred()) SWIG_fail
;
18355 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxKeyEvent
, 1);
18362 static PyObject
*_wrap_KeyEvent_ControlDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18363 PyObject
*resultobj
;
18364 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18366 PyObject
* obj0
= 0 ;
18367 char *kwnames
[] = {
18368 (char *) "self", NULL
18371 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_ControlDown",kwnames
,&obj0
)) goto fail
;
18372 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18373 if (SWIG_arg_fail(1)) SWIG_fail
;
18375 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18376 result
= (bool)((wxKeyEvent
const *)arg1
)->ControlDown();
18378 wxPyEndAllowThreads(__tstate
);
18379 if (PyErr_Occurred()) SWIG_fail
;
18382 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18390 static PyObject
*_wrap_KeyEvent_MetaDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18391 PyObject
*resultobj
;
18392 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18394 PyObject
* obj0
= 0 ;
18395 char *kwnames
[] = {
18396 (char *) "self", NULL
18399 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_MetaDown",kwnames
,&obj0
)) goto fail
;
18400 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18401 if (SWIG_arg_fail(1)) SWIG_fail
;
18403 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18404 result
= (bool)((wxKeyEvent
const *)arg1
)->MetaDown();
18406 wxPyEndAllowThreads(__tstate
);
18407 if (PyErr_Occurred()) SWIG_fail
;
18410 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18418 static PyObject
*_wrap_KeyEvent_AltDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18419 PyObject
*resultobj
;
18420 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18422 PyObject
* obj0
= 0 ;
18423 char *kwnames
[] = {
18424 (char *) "self", NULL
18427 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_AltDown",kwnames
,&obj0
)) goto fail
;
18428 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18429 if (SWIG_arg_fail(1)) SWIG_fail
;
18431 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18432 result
= (bool)((wxKeyEvent
const *)arg1
)->AltDown();
18434 wxPyEndAllowThreads(__tstate
);
18435 if (PyErr_Occurred()) SWIG_fail
;
18438 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18446 static PyObject
*_wrap_KeyEvent_ShiftDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18447 PyObject
*resultobj
;
18448 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18450 PyObject
* obj0
= 0 ;
18451 char *kwnames
[] = {
18452 (char *) "self", NULL
18455 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_ShiftDown",kwnames
,&obj0
)) goto fail
;
18456 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18457 if (SWIG_arg_fail(1)) SWIG_fail
;
18459 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18460 result
= (bool)((wxKeyEvent
const *)arg1
)->ShiftDown();
18462 wxPyEndAllowThreads(__tstate
);
18463 if (PyErr_Occurred()) SWIG_fail
;
18466 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18474 static PyObject
*_wrap_KeyEvent_CmdDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18475 PyObject
*resultobj
;
18476 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18478 PyObject
* obj0
= 0 ;
18479 char *kwnames
[] = {
18480 (char *) "self", NULL
18483 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_CmdDown",kwnames
,&obj0
)) goto fail
;
18484 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18485 if (SWIG_arg_fail(1)) SWIG_fail
;
18487 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18488 result
= (bool)((wxKeyEvent
const *)arg1
)->CmdDown();
18490 wxPyEndAllowThreads(__tstate
);
18491 if (PyErr_Occurred()) SWIG_fail
;
18494 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18502 static PyObject
*_wrap_KeyEvent_HasModifiers(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18503 PyObject
*resultobj
;
18504 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18506 PyObject
* obj0
= 0 ;
18507 char *kwnames
[] = {
18508 (char *) "self", NULL
18511 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_HasModifiers",kwnames
,&obj0
)) goto fail
;
18512 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18513 if (SWIG_arg_fail(1)) SWIG_fail
;
18515 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18516 result
= (bool)((wxKeyEvent
const *)arg1
)->HasModifiers();
18518 wxPyEndAllowThreads(__tstate
);
18519 if (PyErr_Occurred()) SWIG_fail
;
18522 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18530 static PyObject
*_wrap_KeyEvent_GetKeyCode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18531 PyObject
*resultobj
;
18532 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18534 PyObject
* obj0
= 0 ;
18535 char *kwnames
[] = {
18536 (char *) "self", NULL
18539 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetKeyCode",kwnames
,&obj0
)) goto fail
;
18540 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18541 if (SWIG_arg_fail(1)) SWIG_fail
;
18543 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18544 result
= (int)((wxKeyEvent
const *)arg1
)->GetKeyCode();
18546 wxPyEndAllowThreads(__tstate
);
18547 if (PyErr_Occurred()) SWIG_fail
;
18550 resultobj
= SWIG_From_int((int)(result
));
18558 static PyObject
*_wrap_KeyEvent_GetUnicodeKey(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18559 PyObject
*resultobj
;
18560 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18562 PyObject
* obj0
= 0 ;
18563 char *kwnames
[] = {
18564 (char *) "self", NULL
18567 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetUnicodeKey",kwnames
,&obj0
)) goto fail
;
18568 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18569 if (SWIG_arg_fail(1)) SWIG_fail
;
18571 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18572 result
= (int)wxKeyEvent_GetUnicodeKey(arg1
);
18574 wxPyEndAllowThreads(__tstate
);
18575 if (PyErr_Occurred()) SWIG_fail
;
18578 resultobj
= SWIG_From_int((int)(result
));
18586 static PyObject
*_wrap_KeyEvent_GetRawKeyCode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18587 PyObject
*resultobj
;
18588 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18589 unsigned int result
;
18590 PyObject
* obj0
= 0 ;
18591 char *kwnames
[] = {
18592 (char *) "self", NULL
18595 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetRawKeyCode",kwnames
,&obj0
)) goto fail
;
18596 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18597 if (SWIG_arg_fail(1)) SWIG_fail
;
18599 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18600 result
= (unsigned int)((wxKeyEvent
const *)arg1
)->GetRawKeyCode();
18602 wxPyEndAllowThreads(__tstate
);
18603 if (PyErr_Occurred()) SWIG_fail
;
18606 resultobj
= SWIG_From_unsigned_SS_int((unsigned int)(result
));
18614 static PyObject
*_wrap_KeyEvent_GetRawKeyFlags(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18615 PyObject
*resultobj
;
18616 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18617 unsigned int result
;
18618 PyObject
* obj0
= 0 ;
18619 char *kwnames
[] = {
18620 (char *) "self", NULL
18623 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetRawKeyFlags",kwnames
,&obj0
)) goto fail
;
18624 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18625 if (SWIG_arg_fail(1)) SWIG_fail
;
18627 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18628 result
= (unsigned int)((wxKeyEvent
const *)arg1
)->GetRawKeyFlags();
18630 wxPyEndAllowThreads(__tstate
);
18631 if (PyErr_Occurred()) SWIG_fail
;
18634 resultobj
= SWIG_From_unsigned_SS_int((unsigned int)(result
));
18642 static PyObject
*_wrap_KeyEvent_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18643 PyObject
*resultobj
;
18644 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18646 PyObject
* obj0
= 0 ;
18647 char *kwnames
[] = {
18648 (char *) "self", NULL
18651 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
18652 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18653 if (SWIG_arg_fail(1)) SWIG_fail
;
18655 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18656 result
= (arg1
)->GetPosition();
18658 wxPyEndAllowThreads(__tstate
);
18659 if (PyErr_Occurred()) SWIG_fail
;
18662 wxPoint
* resultptr
;
18663 resultptr
= new wxPoint((wxPoint
&)(result
));
18664 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
18672 static PyObject
*_wrap_KeyEvent_GetPositionTuple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18673 PyObject
*resultobj
;
18674 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18675 long *arg2
= (long *) 0 ;
18676 long *arg3
= (long *) 0 ;
18681 PyObject
* obj0
= 0 ;
18682 char *kwnames
[] = {
18683 (char *) "self", NULL
18686 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
18687 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
18688 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetPositionTuple",kwnames
,&obj0
)) goto fail
;
18689 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18690 if (SWIG_arg_fail(1)) SWIG_fail
;
18692 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18693 (arg1
)->GetPosition(arg2
,arg3
);
18695 wxPyEndAllowThreads(__tstate
);
18696 if (PyErr_Occurred()) SWIG_fail
;
18698 Py_INCREF(Py_None
); resultobj
= Py_None
;
18699 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
18700 SWIG_From_long((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_long
, 0)));
18701 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
18702 SWIG_From_long((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, 0)));
18709 static PyObject
*_wrap_KeyEvent_GetX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18710 PyObject
*resultobj
;
18711 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18713 PyObject
* obj0
= 0 ;
18714 char *kwnames
[] = {
18715 (char *) "self", NULL
18718 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetX",kwnames
,&obj0
)) goto fail
;
18719 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18720 if (SWIG_arg_fail(1)) SWIG_fail
;
18722 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18723 result
= (int)((wxKeyEvent
const *)arg1
)->GetX();
18725 wxPyEndAllowThreads(__tstate
);
18726 if (PyErr_Occurred()) SWIG_fail
;
18729 resultobj
= SWIG_From_int((int)(result
));
18737 static PyObject
*_wrap_KeyEvent_GetY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18738 PyObject
*resultobj
;
18739 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18741 PyObject
* obj0
= 0 ;
18742 char *kwnames
[] = {
18743 (char *) "self", NULL
18746 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetY",kwnames
,&obj0
)) goto fail
;
18747 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18748 if (SWIG_arg_fail(1)) SWIG_fail
;
18750 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18751 result
= (int)((wxKeyEvent
const *)arg1
)->GetY();
18753 wxPyEndAllowThreads(__tstate
);
18754 if (PyErr_Occurred()) SWIG_fail
;
18757 resultobj
= SWIG_From_int((int)(result
));
18765 static PyObject
*_wrap_KeyEvent_m_x_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18766 PyObject
*resultobj
;
18767 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18769 PyObject
* obj0
= 0 ;
18770 PyObject
* obj1
= 0 ;
18771 char *kwnames
[] = {
18772 (char *) "self",(char *) "m_x", NULL
18775 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_x_set",kwnames
,&obj0
,&obj1
)) goto fail
;
18776 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18777 if (SWIG_arg_fail(1)) SWIG_fail
;
18779 arg2
= (int)(SWIG_As_int(obj1
));
18780 if (SWIG_arg_fail(2)) SWIG_fail
;
18782 if (arg1
) (arg1
)->m_x
= arg2
;
18784 Py_INCREF(Py_None
); resultobj
= Py_None
;
18791 static PyObject
*_wrap_KeyEvent_m_x_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18792 PyObject
*resultobj
;
18793 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18795 PyObject
* obj0
= 0 ;
18796 char *kwnames
[] = {
18797 (char *) "self", NULL
18800 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_x_get",kwnames
,&obj0
)) goto fail
;
18801 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18802 if (SWIG_arg_fail(1)) SWIG_fail
;
18803 result
= (int) ((arg1
)->m_x
);
18806 resultobj
= SWIG_From_int((int)(result
));
18814 static PyObject
*_wrap_KeyEvent_m_y_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18815 PyObject
*resultobj
;
18816 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18818 PyObject
* obj0
= 0 ;
18819 PyObject
* obj1
= 0 ;
18820 char *kwnames
[] = {
18821 (char *) "self",(char *) "m_y", NULL
18824 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_y_set",kwnames
,&obj0
,&obj1
)) goto fail
;
18825 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18826 if (SWIG_arg_fail(1)) SWIG_fail
;
18828 arg2
= (int)(SWIG_As_int(obj1
));
18829 if (SWIG_arg_fail(2)) SWIG_fail
;
18831 if (arg1
) (arg1
)->m_y
= arg2
;
18833 Py_INCREF(Py_None
); resultobj
= Py_None
;
18840 static PyObject
*_wrap_KeyEvent_m_y_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18841 PyObject
*resultobj
;
18842 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18844 PyObject
* obj0
= 0 ;
18845 char *kwnames
[] = {
18846 (char *) "self", NULL
18849 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_y_get",kwnames
,&obj0
)) goto fail
;
18850 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18851 if (SWIG_arg_fail(1)) SWIG_fail
;
18852 result
= (int) ((arg1
)->m_y
);
18855 resultobj
= SWIG_From_int((int)(result
));
18863 static PyObject
*_wrap_KeyEvent_m_keyCode_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18864 PyObject
*resultobj
;
18865 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18867 PyObject
* obj0
= 0 ;
18868 PyObject
* obj1
= 0 ;
18869 char *kwnames
[] = {
18870 (char *) "self",(char *) "m_keyCode", NULL
18873 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_keyCode_set",kwnames
,&obj0
,&obj1
)) goto fail
;
18874 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18875 if (SWIG_arg_fail(1)) SWIG_fail
;
18877 arg2
= (long)(SWIG_As_long(obj1
));
18878 if (SWIG_arg_fail(2)) SWIG_fail
;
18880 if (arg1
) (arg1
)->m_keyCode
= arg2
;
18882 Py_INCREF(Py_None
); resultobj
= Py_None
;
18889 static PyObject
*_wrap_KeyEvent_m_keyCode_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18890 PyObject
*resultobj
;
18891 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18893 PyObject
* obj0
= 0 ;
18894 char *kwnames
[] = {
18895 (char *) "self", NULL
18898 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_keyCode_get",kwnames
,&obj0
)) goto fail
;
18899 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18900 if (SWIG_arg_fail(1)) SWIG_fail
;
18901 result
= (long) ((arg1
)->m_keyCode
);
18904 resultobj
= SWIG_From_long((long)(result
));
18912 static PyObject
*_wrap_KeyEvent_m_controlDown_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18913 PyObject
*resultobj
;
18914 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18916 PyObject
* obj0
= 0 ;
18917 PyObject
* obj1
= 0 ;
18918 char *kwnames
[] = {
18919 (char *) "self",(char *) "m_controlDown", NULL
18922 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_controlDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
18923 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18924 if (SWIG_arg_fail(1)) SWIG_fail
;
18926 arg2
= (bool)(SWIG_As_bool(obj1
));
18927 if (SWIG_arg_fail(2)) SWIG_fail
;
18929 if (arg1
) (arg1
)->m_controlDown
= arg2
;
18931 Py_INCREF(Py_None
); resultobj
= Py_None
;
18938 static PyObject
*_wrap_KeyEvent_m_controlDown_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18939 PyObject
*resultobj
;
18940 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18942 PyObject
* obj0
= 0 ;
18943 char *kwnames
[] = {
18944 (char *) "self", NULL
18947 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_controlDown_get",kwnames
,&obj0
)) goto fail
;
18948 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18949 if (SWIG_arg_fail(1)) SWIG_fail
;
18950 result
= (bool) ((arg1
)->m_controlDown
);
18953 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18961 static PyObject
*_wrap_KeyEvent_m_shiftDown_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18962 PyObject
*resultobj
;
18963 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18965 PyObject
* obj0
= 0 ;
18966 PyObject
* obj1
= 0 ;
18967 char *kwnames
[] = {
18968 (char *) "self",(char *) "m_shiftDown", NULL
18971 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_shiftDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
18972 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18973 if (SWIG_arg_fail(1)) SWIG_fail
;
18975 arg2
= (bool)(SWIG_As_bool(obj1
));
18976 if (SWIG_arg_fail(2)) SWIG_fail
;
18978 if (arg1
) (arg1
)->m_shiftDown
= arg2
;
18980 Py_INCREF(Py_None
); resultobj
= Py_None
;
18987 static PyObject
*_wrap_KeyEvent_m_shiftDown_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18988 PyObject
*resultobj
;
18989 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18991 PyObject
* obj0
= 0 ;
18992 char *kwnames
[] = {
18993 (char *) "self", NULL
18996 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_shiftDown_get",kwnames
,&obj0
)) goto fail
;
18997 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18998 if (SWIG_arg_fail(1)) SWIG_fail
;
18999 result
= (bool) ((arg1
)->m_shiftDown
);
19002 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19010 static PyObject
*_wrap_KeyEvent_m_altDown_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19011 PyObject
*resultobj
;
19012 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
19014 PyObject
* obj0
= 0 ;
19015 PyObject
* obj1
= 0 ;
19016 char *kwnames
[] = {
19017 (char *) "self",(char *) "m_altDown", NULL
19020 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_altDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
19021 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
19022 if (SWIG_arg_fail(1)) SWIG_fail
;
19024 arg2
= (bool)(SWIG_As_bool(obj1
));
19025 if (SWIG_arg_fail(2)) SWIG_fail
;
19027 if (arg1
) (arg1
)->m_altDown
= arg2
;
19029 Py_INCREF(Py_None
); resultobj
= Py_None
;
19036 static PyObject
*_wrap_KeyEvent_m_altDown_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19037 PyObject
*resultobj
;
19038 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
19040 PyObject
* obj0
= 0 ;
19041 char *kwnames
[] = {
19042 (char *) "self", NULL
19045 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_altDown_get",kwnames
,&obj0
)) goto fail
;
19046 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
19047 if (SWIG_arg_fail(1)) SWIG_fail
;
19048 result
= (bool) ((arg1
)->m_altDown
);
19051 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19059 static PyObject
*_wrap_KeyEvent_m_metaDown_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19060 PyObject
*resultobj
;
19061 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
19063 PyObject
* obj0
= 0 ;
19064 PyObject
* obj1
= 0 ;
19065 char *kwnames
[] = {
19066 (char *) "self",(char *) "m_metaDown", NULL
19069 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_metaDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
19070 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
19071 if (SWIG_arg_fail(1)) SWIG_fail
;
19073 arg2
= (bool)(SWIG_As_bool(obj1
));
19074 if (SWIG_arg_fail(2)) SWIG_fail
;
19076 if (arg1
) (arg1
)->m_metaDown
= arg2
;
19078 Py_INCREF(Py_None
); resultobj
= Py_None
;
19085 static PyObject
*_wrap_KeyEvent_m_metaDown_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19086 PyObject
*resultobj
;
19087 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
19089 PyObject
* obj0
= 0 ;
19090 char *kwnames
[] = {
19091 (char *) "self", NULL
19094 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_metaDown_get",kwnames
,&obj0
)) goto fail
;
19095 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
19096 if (SWIG_arg_fail(1)) SWIG_fail
;
19097 result
= (bool) ((arg1
)->m_metaDown
);
19100 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19108 static PyObject
*_wrap_KeyEvent_m_scanCode_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19109 PyObject
*resultobj
;
19110 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
19112 PyObject
* obj0
= 0 ;
19113 PyObject
* obj1
= 0 ;
19114 char *kwnames
[] = {
19115 (char *) "self",(char *) "m_scanCode", NULL
19118 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_scanCode_set",kwnames
,&obj0
,&obj1
)) goto fail
;
19119 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
19120 if (SWIG_arg_fail(1)) SWIG_fail
;
19122 arg2
= (bool)(SWIG_As_bool(obj1
));
19123 if (SWIG_arg_fail(2)) SWIG_fail
;
19125 if (arg1
) (arg1
)->m_scanCode
= arg2
;
19127 Py_INCREF(Py_None
); resultobj
= Py_None
;
19134 static PyObject
*_wrap_KeyEvent_m_scanCode_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19135 PyObject
*resultobj
;
19136 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
19138 PyObject
* obj0
= 0 ;
19139 char *kwnames
[] = {
19140 (char *) "self", NULL
19143 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_scanCode_get",kwnames
,&obj0
)) goto fail
;
19144 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
19145 if (SWIG_arg_fail(1)) SWIG_fail
;
19146 result
= (bool) ((arg1
)->m_scanCode
);
19149 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19157 static PyObject
*_wrap_KeyEvent_m_rawCode_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19158 PyObject
*resultobj
;
19159 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
19160 unsigned int arg2
;
19161 PyObject
* obj0
= 0 ;
19162 PyObject
* obj1
= 0 ;
19163 char *kwnames
[] = {
19164 (char *) "self",(char *) "m_rawCode", NULL
19167 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_rawCode_set",kwnames
,&obj0
,&obj1
)) goto fail
;
19168 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
19169 if (SWIG_arg_fail(1)) SWIG_fail
;
19171 arg2
= (unsigned int)(SWIG_As_unsigned_SS_int(obj1
));
19172 if (SWIG_arg_fail(2)) SWIG_fail
;
19174 if (arg1
) (arg1
)->m_rawCode
= arg2
;
19176 Py_INCREF(Py_None
); resultobj
= Py_None
;
19183 static PyObject
*_wrap_KeyEvent_m_rawCode_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19184 PyObject
*resultobj
;
19185 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
19186 unsigned int result
;
19187 PyObject
* obj0
= 0 ;
19188 char *kwnames
[] = {
19189 (char *) "self", NULL
19192 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_rawCode_get",kwnames
,&obj0
)) goto fail
;
19193 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
19194 if (SWIG_arg_fail(1)) SWIG_fail
;
19195 result
= (unsigned int) ((arg1
)->m_rawCode
);
19198 resultobj
= SWIG_From_unsigned_SS_int((unsigned int)(result
));
19206 static PyObject
*_wrap_KeyEvent_m_rawFlags_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19207 PyObject
*resultobj
;
19208 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
19209 unsigned int arg2
;
19210 PyObject
* obj0
= 0 ;
19211 PyObject
* obj1
= 0 ;
19212 char *kwnames
[] = {
19213 (char *) "self",(char *) "m_rawFlags", NULL
19216 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_rawFlags_set",kwnames
,&obj0
,&obj1
)) goto fail
;
19217 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
19218 if (SWIG_arg_fail(1)) SWIG_fail
;
19220 arg2
= (unsigned int)(SWIG_As_unsigned_SS_int(obj1
));
19221 if (SWIG_arg_fail(2)) SWIG_fail
;
19223 if (arg1
) (arg1
)->m_rawFlags
= arg2
;
19225 Py_INCREF(Py_None
); resultobj
= Py_None
;
19232 static PyObject
*_wrap_KeyEvent_m_rawFlags_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19233 PyObject
*resultobj
;
19234 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
19235 unsigned int result
;
19236 PyObject
* obj0
= 0 ;
19237 char *kwnames
[] = {
19238 (char *) "self", NULL
19241 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_rawFlags_get",kwnames
,&obj0
)) goto fail
;
19242 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
19243 if (SWIG_arg_fail(1)) SWIG_fail
;
19244 result
= (unsigned int) ((arg1
)->m_rawFlags
);
19247 resultobj
= SWIG_From_unsigned_SS_int((unsigned int)(result
));
19255 static PyObject
* KeyEvent_swigregister(PyObject
*, PyObject
*args
) {
19257 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19258 SWIG_TypeClientData(SWIGTYPE_p_wxKeyEvent
, obj
);
19260 return Py_BuildValue((char *)"");
19262 static PyObject
*_wrap_new_SizeEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19263 PyObject
*resultobj
;
19264 wxSize
const &arg1_defvalue
= wxDefaultSize
;
19265 wxSize
*arg1
= (wxSize
*) &arg1_defvalue
;
19266 int arg2
= (int) 0 ;
19267 wxSizeEvent
*result
;
19269 PyObject
* obj0
= 0 ;
19270 PyObject
* obj1
= 0 ;
19271 char *kwnames
[] = {
19272 (char *) "sz",(char *) "winid", NULL
19275 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_SizeEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
19279 if ( ! wxSize_helper(obj0
, &arg1
)) SWIG_fail
;
19284 arg2
= (int)(SWIG_As_int(obj1
));
19285 if (SWIG_arg_fail(2)) SWIG_fail
;
19289 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19290 result
= (wxSizeEvent
*)new wxSizeEvent((wxSize
const &)*arg1
,arg2
);
19292 wxPyEndAllowThreads(__tstate
);
19293 if (PyErr_Occurred()) SWIG_fail
;
19295 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizeEvent
, 1);
19302 static PyObject
*_wrap_SizeEvent_GetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19303 PyObject
*resultobj
;
19304 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
19306 PyObject
* obj0
= 0 ;
19307 char *kwnames
[] = {
19308 (char *) "self", NULL
19311 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizeEvent_GetSize",kwnames
,&obj0
)) goto fail
;
19312 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizeEvent
, SWIG_POINTER_EXCEPTION
| 0);
19313 if (SWIG_arg_fail(1)) SWIG_fail
;
19315 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19316 result
= ((wxSizeEvent
const *)arg1
)->GetSize();
19318 wxPyEndAllowThreads(__tstate
);
19319 if (PyErr_Occurred()) SWIG_fail
;
19322 wxSize
* resultptr
;
19323 resultptr
= new wxSize((wxSize
&)(result
));
19324 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
19332 static PyObject
*_wrap_SizeEvent_GetRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19333 PyObject
*resultobj
;
19334 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
19336 PyObject
* obj0
= 0 ;
19337 char *kwnames
[] = {
19338 (char *) "self", NULL
19341 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizeEvent_GetRect",kwnames
,&obj0
)) goto fail
;
19342 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizeEvent
, SWIG_POINTER_EXCEPTION
| 0);
19343 if (SWIG_arg_fail(1)) SWIG_fail
;
19345 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19346 result
= ((wxSizeEvent
const *)arg1
)->GetRect();
19348 wxPyEndAllowThreads(__tstate
);
19349 if (PyErr_Occurred()) SWIG_fail
;
19352 wxRect
* resultptr
;
19353 resultptr
= new wxRect((wxRect
&)(result
));
19354 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
19362 static PyObject
*_wrap_SizeEvent_SetRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19363 PyObject
*resultobj
;
19364 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
19366 PyObject
* obj0
= 0 ;
19367 PyObject
* obj1
= 0 ;
19368 char *kwnames
[] = {
19369 (char *) "self",(char *) "rect", NULL
19372 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizeEvent_SetRect",kwnames
,&obj0
,&obj1
)) goto fail
;
19373 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizeEvent
, SWIG_POINTER_EXCEPTION
| 0);
19374 if (SWIG_arg_fail(1)) SWIG_fail
;
19377 SWIG_Python_ConvertPtr(obj1
, (void **)&argp
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
);
19378 if (SWIG_arg_fail(2)) SWIG_fail
;
19379 if (argp
== NULL
) {
19380 SWIG_null_ref("wxRect");
19382 if (SWIG_arg_fail(2)) SWIG_fail
;
19386 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19387 (arg1
)->SetRect(arg2
);
19389 wxPyEndAllowThreads(__tstate
);
19390 if (PyErr_Occurred()) SWIG_fail
;
19392 Py_INCREF(Py_None
); resultobj
= Py_None
;
19399 static PyObject
*_wrap_SizeEvent_SetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19400 PyObject
*resultobj
;
19401 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
19403 PyObject
* obj0
= 0 ;
19404 PyObject
* obj1
= 0 ;
19405 char *kwnames
[] = {
19406 (char *) "self",(char *) "size", NULL
19409 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizeEvent_SetSize",kwnames
,&obj0
,&obj1
)) goto fail
;
19410 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizeEvent
, SWIG_POINTER_EXCEPTION
| 0);
19411 if (SWIG_arg_fail(1)) SWIG_fail
;
19414 SWIG_Python_ConvertPtr(obj1
, (void **)&argp
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
);
19415 if (SWIG_arg_fail(2)) SWIG_fail
;
19416 if (argp
== NULL
) {
19417 SWIG_null_ref("wxSize");
19419 if (SWIG_arg_fail(2)) SWIG_fail
;
19423 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19424 wxSizeEvent_SetSize(arg1
,arg2
);
19426 wxPyEndAllowThreads(__tstate
);
19427 if (PyErr_Occurred()) SWIG_fail
;
19429 Py_INCREF(Py_None
); resultobj
= Py_None
;
19436 static PyObject
*_wrap_SizeEvent_m_size_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19437 PyObject
*resultobj
;
19438 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
19439 wxSize
*arg2
= (wxSize
*) 0 ;
19440 PyObject
* obj0
= 0 ;
19441 PyObject
* obj1
= 0 ;
19442 char *kwnames
[] = {
19443 (char *) "self",(char *) "m_size", NULL
19446 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizeEvent_m_size_set",kwnames
,&obj0
,&obj1
)) goto fail
;
19447 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizeEvent
, SWIG_POINTER_EXCEPTION
| 0);
19448 if (SWIG_arg_fail(1)) SWIG_fail
;
19449 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
| 0);
19450 if (SWIG_arg_fail(2)) SWIG_fail
;
19451 if (arg1
) (arg1
)->m_size
= *arg2
;
19453 Py_INCREF(Py_None
); resultobj
= Py_None
;
19460 static PyObject
*_wrap_SizeEvent_m_size_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19461 PyObject
*resultobj
;
19462 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
19464 PyObject
* obj0
= 0 ;
19465 char *kwnames
[] = {
19466 (char *) "self", NULL
19469 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizeEvent_m_size_get",kwnames
,&obj0
)) goto fail
;
19470 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizeEvent
, SWIG_POINTER_EXCEPTION
| 0);
19471 if (SWIG_arg_fail(1)) SWIG_fail
;
19472 result
= (wxSize
*)& ((arg1
)->m_size
);
19474 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSize
, 0);
19481 static PyObject
*_wrap_SizeEvent_m_rect_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19482 PyObject
*resultobj
;
19483 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
19484 wxRect
*arg2
= (wxRect
*) 0 ;
19485 PyObject
* obj0
= 0 ;
19486 PyObject
* obj1
= 0 ;
19487 char *kwnames
[] = {
19488 (char *) "self",(char *) "m_rect", NULL
19491 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizeEvent_m_rect_set",kwnames
,&obj0
,&obj1
)) goto fail
;
19492 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizeEvent
, SWIG_POINTER_EXCEPTION
| 0);
19493 if (SWIG_arg_fail(1)) SWIG_fail
;
19494 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
19495 if (SWIG_arg_fail(2)) SWIG_fail
;
19496 if (arg1
) (arg1
)->m_rect
= *arg2
;
19498 Py_INCREF(Py_None
); resultobj
= Py_None
;
19505 static PyObject
*_wrap_SizeEvent_m_rect_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19506 PyObject
*resultobj
;
19507 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
19509 PyObject
* obj0
= 0 ;
19510 char *kwnames
[] = {
19511 (char *) "self", NULL
19514 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizeEvent_m_rect_get",kwnames
,&obj0
)) goto fail
;
19515 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizeEvent
, SWIG_POINTER_EXCEPTION
| 0);
19516 if (SWIG_arg_fail(1)) SWIG_fail
;
19517 result
= (wxRect
*)& ((arg1
)->m_rect
);
19519 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 0);
19526 static PyObject
* SizeEvent_swigregister(PyObject
*, PyObject
*args
) {
19528 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19529 SWIG_TypeClientData(SWIGTYPE_p_wxSizeEvent
, obj
);
19531 return Py_BuildValue((char *)"");
19533 static PyObject
*_wrap_new_MoveEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19534 PyObject
*resultobj
;
19535 wxPoint
const &arg1_defvalue
= wxDefaultPosition
;
19536 wxPoint
*arg1
= (wxPoint
*) &arg1_defvalue
;
19537 int arg2
= (int) 0 ;
19538 wxMoveEvent
*result
;
19540 PyObject
* obj0
= 0 ;
19541 PyObject
* obj1
= 0 ;
19542 char *kwnames
[] = {
19543 (char *) "pos",(char *) "winid", NULL
19546 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_MoveEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
19550 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
19555 arg2
= (int)(SWIG_As_int(obj1
));
19556 if (SWIG_arg_fail(2)) SWIG_fail
;
19560 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19561 result
= (wxMoveEvent
*)new wxMoveEvent((wxPoint
const &)*arg1
,arg2
);
19563 wxPyEndAllowThreads(__tstate
);
19564 if (PyErr_Occurred()) SWIG_fail
;
19566 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMoveEvent
, 1);
19573 static PyObject
*_wrap_MoveEvent_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19574 PyObject
*resultobj
;
19575 wxMoveEvent
*arg1
= (wxMoveEvent
*) 0 ;
19577 PyObject
* obj0
= 0 ;
19578 char *kwnames
[] = {
19579 (char *) "self", NULL
19582 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MoveEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
19583 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMoveEvent
, SWIG_POINTER_EXCEPTION
| 0);
19584 if (SWIG_arg_fail(1)) SWIG_fail
;
19586 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19587 result
= ((wxMoveEvent
const *)arg1
)->GetPosition();
19589 wxPyEndAllowThreads(__tstate
);
19590 if (PyErr_Occurred()) SWIG_fail
;
19593 wxPoint
* resultptr
;
19594 resultptr
= new wxPoint((wxPoint
&)(result
));
19595 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
19603 static PyObject
*_wrap_MoveEvent_GetRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19604 PyObject
*resultobj
;
19605 wxMoveEvent
*arg1
= (wxMoveEvent
*) 0 ;
19607 PyObject
* obj0
= 0 ;
19608 char *kwnames
[] = {
19609 (char *) "self", NULL
19612 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MoveEvent_GetRect",kwnames
,&obj0
)) goto fail
;
19613 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMoveEvent
, SWIG_POINTER_EXCEPTION
| 0);
19614 if (SWIG_arg_fail(1)) SWIG_fail
;
19616 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19617 result
= ((wxMoveEvent
const *)arg1
)->GetRect();
19619 wxPyEndAllowThreads(__tstate
);
19620 if (PyErr_Occurred()) SWIG_fail
;
19623 wxRect
* resultptr
;
19624 resultptr
= new wxRect((wxRect
&)(result
));
19625 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
19633 static PyObject
*_wrap_MoveEvent_SetRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19634 PyObject
*resultobj
;
19635 wxMoveEvent
*arg1
= (wxMoveEvent
*) 0 ;
19638 PyObject
* obj0
= 0 ;
19639 PyObject
* obj1
= 0 ;
19640 char *kwnames
[] = {
19641 (char *) "self",(char *) "rect", NULL
19644 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MoveEvent_SetRect",kwnames
,&obj0
,&obj1
)) goto fail
;
19645 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMoveEvent
, SWIG_POINTER_EXCEPTION
| 0);
19646 if (SWIG_arg_fail(1)) SWIG_fail
;
19649 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
19652 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19653 (arg1
)->SetRect((wxRect
const &)*arg2
);
19655 wxPyEndAllowThreads(__tstate
);
19656 if (PyErr_Occurred()) SWIG_fail
;
19658 Py_INCREF(Py_None
); resultobj
= Py_None
;
19665 static PyObject
*_wrap_MoveEvent_SetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19666 PyObject
*resultobj
;
19667 wxMoveEvent
*arg1
= (wxMoveEvent
*) 0 ;
19668 wxPoint
*arg2
= 0 ;
19670 PyObject
* obj0
= 0 ;
19671 PyObject
* obj1
= 0 ;
19672 char *kwnames
[] = {
19673 (char *) "self",(char *) "pos", NULL
19676 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MoveEvent_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
19677 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMoveEvent
, SWIG_POINTER_EXCEPTION
| 0);
19678 if (SWIG_arg_fail(1)) SWIG_fail
;
19681 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
19684 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19685 (arg1
)->SetPosition((wxPoint
const &)*arg2
);
19687 wxPyEndAllowThreads(__tstate
);
19688 if (PyErr_Occurred()) SWIG_fail
;
19690 Py_INCREF(Py_None
); resultobj
= Py_None
;
19697 static PyObject
* MoveEvent_swigregister(PyObject
*, PyObject
*args
) {
19699 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19700 SWIG_TypeClientData(SWIGTYPE_p_wxMoveEvent
, obj
);
19702 return Py_BuildValue((char *)"");
19704 static PyObject
*_wrap_new_PaintEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19705 PyObject
*resultobj
;
19706 int arg1
= (int) 0 ;
19707 wxPaintEvent
*result
;
19708 PyObject
* obj0
= 0 ;
19709 char *kwnames
[] = {
19710 (char *) "Id", NULL
19713 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_PaintEvent",kwnames
,&obj0
)) goto fail
;
19716 arg1
= (int)(SWIG_As_int(obj0
));
19717 if (SWIG_arg_fail(1)) SWIG_fail
;
19721 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19722 result
= (wxPaintEvent
*)new wxPaintEvent(arg1
);
19724 wxPyEndAllowThreads(__tstate
);
19725 if (PyErr_Occurred()) SWIG_fail
;
19727 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPaintEvent
, 1);
19734 static PyObject
* PaintEvent_swigregister(PyObject
*, PyObject
*args
) {
19736 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19737 SWIG_TypeClientData(SWIGTYPE_p_wxPaintEvent
, obj
);
19739 return Py_BuildValue((char *)"");
19741 static PyObject
*_wrap_new_NcPaintEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19742 PyObject
*resultobj
;
19743 int arg1
= (int) 0 ;
19744 wxNcPaintEvent
*result
;
19745 PyObject
* obj0
= 0 ;
19746 char *kwnames
[] = {
19747 (char *) "winid", NULL
19750 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_NcPaintEvent",kwnames
,&obj0
)) goto fail
;
19753 arg1
= (int)(SWIG_As_int(obj0
));
19754 if (SWIG_arg_fail(1)) SWIG_fail
;
19758 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19759 result
= (wxNcPaintEvent
*)new wxNcPaintEvent(arg1
);
19761 wxPyEndAllowThreads(__tstate
);
19762 if (PyErr_Occurred()) SWIG_fail
;
19764 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNcPaintEvent
, 1);
19771 static PyObject
* NcPaintEvent_swigregister(PyObject
*, PyObject
*args
) {
19773 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19774 SWIG_TypeClientData(SWIGTYPE_p_wxNcPaintEvent
, obj
);
19776 return Py_BuildValue((char *)"");
19778 static PyObject
*_wrap_new_EraseEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19779 PyObject
*resultobj
;
19780 int arg1
= (int) 0 ;
19781 wxDC
*arg2
= (wxDC
*) NULL
;
19782 wxEraseEvent
*result
;
19783 PyObject
* obj0
= 0 ;
19784 PyObject
* obj1
= 0 ;
19785 char *kwnames
[] = {
19786 (char *) "Id",(char *) "dc", NULL
19789 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_EraseEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
19792 arg1
= (int)(SWIG_As_int(obj0
));
19793 if (SWIG_arg_fail(1)) SWIG_fail
;
19797 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
19798 if (SWIG_arg_fail(2)) SWIG_fail
;
19801 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19802 result
= (wxEraseEvent
*)new wxEraseEvent(arg1
,arg2
);
19804 wxPyEndAllowThreads(__tstate
);
19805 if (PyErr_Occurred()) SWIG_fail
;
19807 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxEraseEvent
, 1);
19814 static PyObject
*_wrap_EraseEvent_GetDC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19815 PyObject
*resultobj
;
19816 wxEraseEvent
*arg1
= (wxEraseEvent
*) 0 ;
19818 PyObject
* obj0
= 0 ;
19819 char *kwnames
[] = {
19820 (char *) "self", NULL
19823 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EraseEvent_GetDC",kwnames
,&obj0
)) goto fail
;
19824 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEraseEvent
, SWIG_POINTER_EXCEPTION
| 0);
19825 if (SWIG_arg_fail(1)) SWIG_fail
;
19827 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19828 result
= (wxDC
*)((wxEraseEvent
const *)arg1
)->GetDC();
19830 wxPyEndAllowThreads(__tstate
);
19831 if (PyErr_Occurred()) SWIG_fail
;
19834 resultobj
= wxPyMake_wxObject(result
, 0);
19842 static PyObject
* EraseEvent_swigregister(PyObject
*, PyObject
*args
) {
19844 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19845 SWIG_TypeClientData(SWIGTYPE_p_wxEraseEvent
, obj
);
19847 return Py_BuildValue((char *)"");
19849 static PyObject
*_wrap_new_FocusEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19850 PyObject
*resultobj
;
19851 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
19852 int arg2
= (int) 0 ;
19853 wxFocusEvent
*result
;
19854 PyObject
* obj0
= 0 ;
19855 PyObject
* obj1
= 0 ;
19856 char *kwnames
[] = {
19857 (char *) "type",(char *) "winid", NULL
19860 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_FocusEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
19863 arg1
= (wxEventType
)(SWIG_As_int(obj0
));
19864 if (SWIG_arg_fail(1)) SWIG_fail
;
19869 arg2
= (int)(SWIG_As_int(obj1
));
19870 if (SWIG_arg_fail(2)) SWIG_fail
;
19874 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19875 result
= (wxFocusEvent
*)new wxFocusEvent(arg1
,arg2
);
19877 wxPyEndAllowThreads(__tstate
);
19878 if (PyErr_Occurred()) SWIG_fail
;
19880 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFocusEvent
, 1);
19887 static PyObject
*_wrap_FocusEvent_GetWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19888 PyObject
*resultobj
;
19889 wxFocusEvent
*arg1
= (wxFocusEvent
*) 0 ;
19891 PyObject
* obj0
= 0 ;
19892 char *kwnames
[] = {
19893 (char *) "self", NULL
19896 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FocusEvent_GetWindow",kwnames
,&obj0
)) goto fail
;
19897 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFocusEvent
, SWIG_POINTER_EXCEPTION
| 0);
19898 if (SWIG_arg_fail(1)) SWIG_fail
;
19900 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19901 result
= (wxWindow
*)((wxFocusEvent
const *)arg1
)->GetWindow();
19903 wxPyEndAllowThreads(__tstate
);
19904 if (PyErr_Occurred()) SWIG_fail
;
19907 resultobj
= wxPyMake_wxObject(result
, 0);
19915 static PyObject
*_wrap_FocusEvent_SetWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19916 PyObject
*resultobj
;
19917 wxFocusEvent
*arg1
= (wxFocusEvent
*) 0 ;
19918 wxWindow
*arg2
= (wxWindow
*) 0 ;
19919 PyObject
* obj0
= 0 ;
19920 PyObject
* obj1
= 0 ;
19921 char *kwnames
[] = {
19922 (char *) "self",(char *) "win", NULL
19925 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FocusEvent_SetWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
19926 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFocusEvent
, SWIG_POINTER_EXCEPTION
| 0);
19927 if (SWIG_arg_fail(1)) SWIG_fail
;
19928 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
19929 if (SWIG_arg_fail(2)) SWIG_fail
;
19931 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19932 (arg1
)->SetWindow(arg2
);
19934 wxPyEndAllowThreads(__tstate
);
19935 if (PyErr_Occurred()) SWIG_fail
;
19937 Py_INCREF(Py_None
); resultobj
= Py_None
;
19944 static PyObject
* FocusEvent_swigregister(PyObject
*, PyObject
*args
) {
19946 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19947 SWIG_TypeClientData(SWIGTYPE_p_wxFocusEvent
, obj
);
19949 return Py_BuildValue((char *)"");
19951 static PyObject
*_wrap_new_ChildFocusEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19952 PyObject
*resultobj
;
19953 wxWindow
*arg1
= (wxWindow
*) NULL
;
19954 wxChildFocusEvent
*result
;
19955 PyObject
* obj0
= 0 ;
19956 char *kwnames
[] = {
19957 (char *) "win", NULL
19960 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_ChildFocusEvent",kwnames
,&obj0
)) goto fail
;
19962 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
19963 if (SWIG_arg_fail(1)) SWIG_fail
;
19966 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19967 result
= (wxChildFocusEvent
*)new wxChildFocusEvent(arg1
);
19969 wxPyEndAllowThreads(__tstate
);
19970 if (PyErr_Occurred()) SWIG_fail
;
19972 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxChildFocusEvent
, 1);
19979 static PyObject
*_wrap_ChildFocusEvent_GetWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19980 PyObject
*resultobj
;
19981 wxChildFocusEvent
*arg1
= (wxChildFocusEvent
*) 0 ;
19983 PyObject
* obj0
= 0 ;
19984 char *kwnames
[] = {
19985 (char *) "self", NULL
19988 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ChildFocusEvent_GetWindow",kwnames
,&obj0
)) goto fail
;
19989 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxChildFocusEvent
, SWIG_POINTER_EXCEPTION
| 0);
19990 if (SWIG_arg_fail(1)) SWIG_fail
;
19992 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19993 result
= (wxWindow
*)((wxChildFocusEvent
const *)arg1
)->GetWindow();
19995 wxPyEndAllowThreads(__tstate
);
19996 if (PyErr_Occurred()) SWIG_fail
;
19999 resultobj
= wxPyMake_wxObject(result
, 0);
20007 static PyObject
* ChildFocusEvent_swigregister(PyObject
*, PyObject
*args
) {
20009 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20010 SWIG_TypeClientData(SWIGTYPE_p_wxChildFocusEvent
, obj
);
20012 return Py_BuildValue((char *)"");
20014 static PyObject
*_wrap_new_ActivateEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20015 PyObject
*resultobj
;
20016 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
20017 bool arg2
= (bool) true ;
20018 int arg3
= (int) 0 ;
20019 wxActivateEvent
*result
;
20020 PyObject
* obj0
= 0 ;
20021 PyObject
* obj1
= 0 ;
20022 PyObject
* obj2
= 0 ;
20023 char *kwnames
[] = {
20024 (char *) "type",(char *) "active",(char *) "Id", NULL
20027 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_ActivateEvent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20030 arg1
= (wxEventType
)(SWIG_As_int(obj0
));
20031 if (SWIG_arg_fail(1)) SWIG_fail
;
20036 arg2
= (bool)(SWIG_As_bool(obj1
));
20037 if (SWIG_arg_fail(2)) SWIG_fail
;
20042 arg3
= (int)(SWIG_As_int(obj2
));
20043 if (SWIG_arg_fail(3)) SWIG_fail
;
20047 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20048 result
= (wxActivateEvent
*)new wxActivateEvent(arg1
,arg2
,arg3
);
20050 wxPyEndAllowThreads(__tstate
);
20051 if (PyErr_Occurred()) SWIG_fail
;
20053 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxActivateEvent
, 1);
20060 static PyObject
*_wrap_ActivateEvent_GetActive(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20061 PyObject
*resultobj
;
20062 wxActivateEvent
*arg1
= (wxActivateEvent
*) 0 ;
20064 PyObject
* obj0
= 0 ;
20065 char *kwnames
[] = {
20066 (char *) "self", NULL
20069 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ActivateEvent_GetActive",kwnames
,&obj0
)) goto fail
;
20070 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxActivateEvent
, SWIG_POINTER_EXCEPTION
| 0);
20071 if (SWIG_arg_fail(1)) SWIG_fail
;
20073 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20074 result
= (bool)((wxActivateEvent
const *)arg1
)->GetActive();
20076 wxPyEndAllowThreads(__tstate
);
20077 if (PyErr_Occurred()) SWIG_fail
;
20080 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20088 static PyObject
* ActivateEvent_swigregister(PyObject
*, PyObject
*args
) {
20090 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20091 SWIG_TypeClientData(SWIGTYPE_p_wxActivateEvent
, obj
);
20093 return Py_BuildValue((char *)"");
20095 static PyObject
*_wrap_new_InitDialogEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20096 PyObject
*resultobj
;
20097 int arg1
= (int) 0 ;
20098 wxInitDialogEvent
*result
;
20099 PyObject
* obj0
= 0 ;
20100 char *kwnames
[] = {
20101 (char *) "Id", NULL
20104 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_InitDialogEvent",kwnames
,&obj0
)) goto fail
;
20107 arg1
= (int)(SWIG_As_int(obj0
));
20108 if (SWIG_arg_fail(1)) SWIG_fail
;
20112 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20113 result
= (wxInitDialogEvent
*)new wxInitDialogEvent(arg1
);
20115 wxPyEndAllowThreads(__tstate
);
20116 if (PyErr_Occurred()) SWIG_fail
;
20118 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxInitDialogEvent
, 1);
20125 static PyObject
* InitDialogEvent_swigregister(PyObject
*, PyObject
*args
) {
20127 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20128 SWIG_TypeClientData(SWIGTYPE_p_wxInitDialogEvent
, obj
);
20130 return Py_BuildValue((char *)"");
20132 static PyObject
*_wrap_new_MenuEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20133 PyObject
*resultobj
;
20134 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
20135 int arg2
= (int) 0 ;
20136 wxMenu
*arg3
= (wxMenu
*) NULL
;
20137 wxMenuEvent
*result
;
20138 PyObject
* obj0
= 0 ;
20139 PyObject
* obj1
= 0 ;
20140 PyObject
* obj2
= 0 ;
20141 char *kwnames
[] = {
20142 (char *) "type",(char *) "winid",(char *) "menu", NULL
20145 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_MenuEvent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20148 arg1
= (wxEventType
)(SWIG_As_int(obj0
));
20149 if (SWIG_arg_fail(1)) SWIG_fail
;
20154 arg2
= (int)(SWIG_As_int(obj1
));
20155 if (SWIG_arg_fail(2)) SWIG_fail
;
20159 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
20160 if (SWIG_arg_fail(3)) SWIG_fail
;
20163 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20164 result
= (wxMenuEvent
*)new wxMenuEvent(arg1
,arg2
,arg3
);
20166 wxPyEndAllowThreads(__tstate
);
20167 if (PyErr_Occurred()) SWIG_fail
;
20169 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMenuEvent
, 1);
20176 static PyObject
*_wrap_MenuEvent_GetMenuId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20177 PyObject
*resultobj
;
20178 wxMenuEvent
*arg1
= (wxMenuEvent
*) 0 ;
20180 PyObject
* obj0
= 0 ;
20181 char *kwnames
[] = {
20182 (char *) "self", NULL
20185 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuEvent_GetMenuId",kwnames
,&obj0
)) goto fail
;
20186 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuEvent
, SWIG_POINTER_EXCEPTION
| 0);
20187 if (SWIG_arg_fail(1)) SWIG_fail
;
20189 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20190 result
= (int)((wxMenuEvent
const *)arg1
)->GetMenuId();
20192 wxPyEndAllowThreads(__tstate
);
20193 if (PyErr_Occurred()) SWIG_fail
;
20196 resultobj
= SWIG_From_int((int)(result
));
20204 static PyObject
*_wrap_MenuEvent_IsPopup(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20205 PyObject
*resultobj
;
20206 wxMenuEvent
*arg1
= (wxMenuEvent
*) 0 ;
20208 PyObject
* obj0
= 0 ;
20209 char *kwnames
[] = {
20210 (char *) "self", NULL
20213 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuEvent_IsPopup",kwnames
,&obj0
)) goto fail
;
20214 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuEvent
, SWIG_POINTER_EXCEPTION
| 0);
20215 if (SWIG_arg_fail(1)) SWIG_fail
;
20217 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20218 result
= (bool)((wxMenuEvent
const *)arg1
)->IsPopup();
20220 wxPyEndAllowThreads(__tstate
);
20221 if (PyErr_Occurred()) SWIG_fail
;
20224 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20232 static PyObject
*_wrap_MenuEvent_GetMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20233 PyObject
*resultobj
;
20234 wxMenuEvent
*arg1
= (wxMenuEvent
*) 0 ;
20236 PyObject
* obj0
= 0 ;
20237 char *kwnames
[] = {
20238 (char *) "self", NULL
20241 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuEvent_GetMenu",kwnames
,&obj0
)) goto fail
;
20242 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuEvent
, SWIG_POINTER_EXCEPTION
| 0);
20243 if (SWIG_arg_fail(1)) SWIG_fail
;
20245 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20246 result
= (wxMenu
*)((wxMenuEvent
const *)arg1
)->GetMenu();
20248 wxPyEndAllowThreads(__tstate
);
20249 if (PyErr_Occurred()) SWIG_fail
;
20252 resultobj
= wxPyMake_wxObject(result
, 0);
20260 static PyObject
* MenuEvent_swigregister(PyObject
*, PyObject
*args
) {
20262 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20263 SWIG_TypeClientData(SWIGTYPE_p_wxMenuEvent
, obj
);
20265 return Py_BuildValue((char *)"");
20267 static PyObject
*_wrap_new_CloseEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20268 PyObject
*resultobj
;
20269 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
20270 int arg2
= (int) 0 ;
20271 wxCloseEvent
*result
;
20272 PyObject
* obj0
= 0 ;
20273 PyObject
* obj1
= 0 ;
20274 char *kwnames
[] = {
20275 (char *) "type",(char *) "winid", NULL
20278 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_CloseEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
20281 arg1
= (wxEventType
)(SWIG_As_int(obj0
));
20282 if (SWIG_arg_fail(1)) SWIG_fail
;
20287 arg2
= (int)(SWIG_As_int(obj1
));
20288 if (SWIG_arg_fail(2)) SWIG_fail
;
20292 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20293 result
= (wxCloseEvent
*)new wxCloseEvent(arg1
,arg2
);
20295 wxPyEndAllowThreads(__tstate
);
20296 if (PyErr_Occurred()) SWIG_fail
;
20298 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCloseEvent
, 1);
20305 static PyObject
*_wrap_CloseEvent_SetLoggingOff(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20306 PyObject
*resultobj
;
20307 wxCloseEvent
*arg1
= (wxCloseEvent
*) 0 ;
20309 PyObject
* obj0
= 0 ;
20310 PyObject
* obj1
= 0 ;
20311 char *kwnames
[] = {
20312 (char *) "self",(char *) "logOff", NULL
20315 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CloseEvent_SetLoggingOff",kwnames
,&obj0
,&obj1
)) goto fail
;
20316 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCloseEvent
, SWIG_POINTER_EXCEPTION
| 0);
20317 if (SWIG_arg_fail(1)) SWIG_fail
;
20319 arg2
= (bool)(SWIG_As_bool(obj1
));
20320 if (SWIG_arg_fail(2)) SWIG_fail
;
20323 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20324 (arg1
)->SetLoggingOff(arg2
);
20326 wxPyEndAllowThreads(__tstate
);
20327 if (PyErr_Occurred()) SWIG_fail
;
20329 Py_INCREF(Py_None
); resultobj
= Py_None
;
20336 static PyObject
*_wrap_CloseEvent_GetLoggingOff(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20337 PyObject
*resultobj
;
20338 wxCloseEvent
*arg1
= (wxCloseEvent
*) 0 ;
20340 PyObject
* obj0
= 0 ;
20341 char *kwnames
[] = {
20342 (char *) "self", NULL
20345 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CloseEvent_GetLoggingOff",kwnames
,&obj0
)) goto fail
;
20346 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCloseEvent
, SWIG_POINTER_EXCEPTION
| 0);
20347 if (SWIG_arg_fail(1)) SWIG_fail
;
20349 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20350 result
= (bool)((wxCloseEvent
const *)arg1
)->GetLoggingOff();
20352 wxPyEndAllowThreads(__tstate
);
20353 if (PyErr_Occurred()) SWIG_fail
;
20356 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20364 static PyObject
*_wrap_CloseEvent_Veto(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20365 PyObject
*resultobj
;
20366 wxCloseEvent
*arg1
= (wxCloseEvent
*) 0 ;
20367 bool arg2
= (bool) true ;
20368 PyObject
* obj0
= 0 ;
20369 PyObject
* obj1
= 0 ;
20370 char *kwnames
[] = {
20371 (char *) "self",(char *) "veto", NULL
20374 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:CloseEvent_Veto",kwnames
,&obj0
,&obj1
)) goto fail
;
20375 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCloseEvent
, SWIG_POINTER_EXCEPTION
| 0);
20376 if (SWIG_arg_fail(1)) SWIG_fail
;
20379 arg2
= (bool)(SWIG_As_bool(obj1
));
20380 if (SWIG_arg_fail(2)) SWIG_fail
;
20384 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20385 (arg1
)->Veto(arg2
);
20387 wxPyEndAllowThreads(__tstate
);
20388 if (PyErr_Occurred()) SWIG_fail
;
20390 Py_INCREF(Py_None
); resultobj
= Py_None
;
20397 static PyObject
*_wrap_CloseEvent_GetVeto(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20398 PyObject
*resultobj
;
20399 wxCloseEvent
*arg1
= (wxCloseEvent
*) 0 ;
20401 PyObject
* obj0
= 0 ;
20402 char *kwnames
[] = {
20403 (char *) "self", NULL
20406 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CloseEvent_GetVeto",kwnames
,&obj0
)) goto fail
;
20407 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCloseEvent
, SWIG_POINTER_EXCEPTION
| 0);
20408 if (SWIG_arg_fail(1)) SWIG_fail
;
20410 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20411 result
= (bool)((wxCloseEvent
const *)arg1
)->GetVeto();
20413 wxPyEndAllowThreads(__tstate
);
20414 if (PyErr_Occurred()) SWIG_fail
;
20417 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20425 static PyObject
*_wrap_CloseEvent_SetCanVeto(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20426 PyObject
*resultobj
;
20427 wxCloseEvent
*arg1
= (wxCloseEvent
*) 0 ;
20429 PyObject
* obj0
= 0 ;
20430 PyObject
* obj1
= 0 ;
20431 char *kwnames
[] = {
20432 (char *) "self",(char *) "canVeto", NULL
20435 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CloseEvent_SetCanVeto",kwnames
,&obj0
,&obj1
)) goto fail
;
20436 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCloseEvent
, SWIG_POINTER_EXCEPTION
| 0);
20437 if (SWIG_arg_fail(1)) SWIG_fail
;
20439 arg2
= (bool)(SWIG_As_bool(obj1
));
20440 if (SWIG_arg_fail(2)) SWIG_fail
;
20443 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20444 (arg1
)->SetCanVeto(arg2
);
20446 wxPyEndAllowThreads(__tstate
);
20447 if (PyErr_Occurred()) SWIG_fail
;
20449 Py_INCREF(Py_None
); resultobj
= Py_None
;
20456 static PyObject
*_wrap_CloseEvent_CanVeto(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20457 PyObject
*resultobj
;
20458 wxCloseEvent
*arg1
= (wxCloseEvent
*) 0 ;
20460 PyObject
* obj0
= 0 ;
20461 char *kwnames
[] = {
20462 (char *) "self", NULL
20465 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CloseEvent_CanVeto",kwnames
,&obj0
)) goto fail
;
20466 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCloseEvent
, SWIG_POINTER_EXCEPTION
| 0);
20467 if (SWIG_arg_fail(1)) SWIG_fail
;
20469 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20470 result
= (bool)((wxCloseEvent
const *)arg1
)->CanVeto();
20472 wxPyEndAllowThreads(__tstate
);
20473 if (PyErr_Occurred()) SWIG_fail
;
20476 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20484 static PyObject
* CloseEvent_swigregister(PyObject
*, PyObject
*args
) {
20486 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20487 SWIG_TypeClientData(SWIGTYPE_p_wxCloseEvent
, obj
);
20489 return Py_BuildValue((char *)"");
20491 static PyObject
*_wrap_new_ShowEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20492 PyObject
*resultobj
;
20493 int arg1
= (int) 0 ;
20494 bool arg2
= (bool) false ;
20495 wxShowEvent
*result
;
20496 PyObject
* obj0
= 0 ;
20497 PyObject
* obj1
= 0 ;
20498 char *kwnames
[] = {
20499 (char *) "winid",(char *) "show", NULL
20502 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_ShowEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
20505 arg1
= (int)(SWIG_As_int(obj0
));
20506 if (SWIG_arg_fail(1)) SWIG_fail
;
20511 arg2
= (bool)(SWIG_As_bool(obj1
));
20512 if (SWIG_arg_fail(2)) SWIG_fail
;
20516 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20517 result
= (wxShowEvent
*)new wxShowEvent(arg1
,arg2
);
20519 wxPyEndAllowThreads(__tstate
);
20520 if (PyErr_Occurred()) SWIG_fail
;
20522 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxShowEvent
, 1);
20529 static PyObject
*_wrap_ShowEvent_SetShow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20530 PyObject
*resultobj
;
20531 wxShowEvent
*arg1
= (wxShowEvent
*) 0 ;
20533 PyObject
* obj0
= 0 ;
20534 PyObject
* obj1
= 0 ;
20535 char *kwnames
[] = {
20536 (char *) "self",(char *) "show", NULL
20539 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ShowEvent_SetShow",kwnames
,&obj0
,&obj1
)) goto fail
;
20540 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxShowEvent
, SWIG_POINTER_EXCEPTION
| 0);
20541 if (SWIG_arg_fail(1)) SWIG_fail
;
20543 arg2
= (bool)(SWIG_As_bool(obj1
));
20544 if (SWIG_arg_fail(2)) SWIG_fail
;
20547 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20548 (arg1
)->SetShow(arg2
);
20550 wxPyEndAllowThreads(__tstate
);
20551 if (PyErr_Occurred()) SWIG_fail
;
20553 Py_INCREF(Py_None
); resultobj
= Py_None
;
20560 static PyObject
*_wrap_ShowEvent_GetShow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20561 PyObject
*resultobj
;
20562 wxShowEvent
*arg1
= (wxShowEvent
*) 0 ;
20564 PyObject
* obj0
= 0 ;
20565 char *kwnames
[] = {
20566 (char *) "self", NULL
20569 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ShowEvent_GetShow",kwnames
,&obj0
)) goto fail
;
20570 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxShowEvent
, SWIG_POINTER_EXCEPTION
| 0);
20571 if (SWIG_arg_fail(1)) SWIG_fail
;
20573 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20574 result
= (bool)((wxShowEvent
const *)arg1
)->GetShow();
20576 wxPyEndAllowThreads(__tstate
);
20577 if (PyErr_Occurred()) SWIG_fail
;
20580 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20588 static PyObject
* ShowEvent_swigregister(PyObject
*, PyObject
*args
) {
20590 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20591 SWIG_TypeClientData(SWIGTYPE_p_wxShowEvent
, obj
);
20593 return Py_BuildValue((char *)"");
20595 static PyObject
*_wrap_new_IconizeEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20596 PyObject
*resultobj
;
20597 int arg1
= (int) 0 ;
20598 bool arg2
= (bool) true ;
20599 wxIconizeEvent
*result
;
20600 PyObject
* obj0
= 0 ;
20601 PyObject
* obj1
= 0 ;
20602 char *kwnames
[] = {
20603 (char *) "id",(char *) "iconized", NULL
20606 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_IconizeEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
20609 arg1
= (int)(SWIG_As_int(obj0
));
20610 if (SWIG_arg_fail(1)) SWIG_fail
;
20615 arg2
= (bool)(SWIG_As_bool(obj1
));
20616 if (SWIG_arg_fail(2)) SWIG_fail
;
20620 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20621 result
= (wxIconizeEvent
*)new wxIconizeEvent(arg1
,arg2
);
20623 wxPyEndAllowThreads(__tstate
);
20624 if (PyErr_Occurred()) SWIG_fail
;
20626 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIconizeEvent
, 1);
20633 static PyObject
*_wrap_IconizeEvent_Iconized(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20634 PyObject
*resultobj
;
20635 wxIconizeEvent
*arg1
= (wxIconizeEvent
*) 0 ;
20637 PyObject
* obj0
= 0 ;
20638 char *kwnames
[] = {
20639 (char *) "self", NULL
20642 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IconizeEvent_Iconized",kwnames
,&obj0
)) goto fail
;
20643 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIconizeEvent
, SWIG_POINTER_EXCEPTION
| 0);
20644 if (SWIG_arg_fail(1)) SWIG_fail
;
20646 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20647 result
= (bool)(arg1
)->Iconized();
20649 wxPyEndAllowThreads(__tstate
);
20650 if (PyErr_Occurred()) SWIG_fail
;
20653 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20661 static PyObject
* IconizeEvent_swigregister(PyObject
*, PyObject
*args
) {
20663 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20664 SWIG_TypeClientData(SWIGTYPE_p_wxIconizeEvent
, obj
);
20666 return Py_BuildValue((char *)"");
20668 static PyObject
*_wrap_new_MaximizeEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20669 PyObject
*resultobj
;
20670 int arg1
= (int) 0 ;
20671 wxMaximizeEvent
*result
;
20672 PyObject
* obj0
= 0 ;
20673 char *kwnames
[] = {
20674 (char *) "id", NULL
20677 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_MaximizeEvent",kwnames
,&obj0
)) goto fail
;
20680 arg1
= (int)(SWIG_As_int(obj0
));
20681 if (SWIG_arg_fail(1)) SWIG_fail
;
20685 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20686 result
= (wxMaximizeEvent
*)new wxMaximizeEvent(arg1
);
20688 wxPyEndAllowThreads(__tstate
);
20689 if (PyErr_Occurred()) SWIG_fail
;
20691 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMaximizeEvent
, 1);
20698 static PyObject
* MaximizeEvent_swigregister(PyObject
*, PyObject
*args
) {
20700 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20701 SWIG_TypeClientData(SWIGTYPE_p_wxMaximizeEvent
, obj
);
20703 return Py_BuildValue((char *)"");
20705 static PyObject
*_wrap_DropFilesEvent_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20706 PyObject
*resultobj
;
20707 wxDropFilesEvent
*arg1
= (wxDropFilesEvent
*) 0 ;
20709 PyObject
* obj0
= 0 ;
20710 char *kwnames
[] = {
20711 (char *) "self", NULL
20714 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DropFilesEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
20715 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDropFilesEvent
, SWIG_POINTER_EXCEPTION
| 0);
20716 if (SWIG_arg_fail(1)) SWIG_fail
;
20718 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20719 result
= (arg1
)->GetPosition();
20721 wxPyEndAllowThreads(__tstate
);
20722 if (PyErr_Occurred()) SWIG_fail
;
20725 wxPoint
* resultptr
;
20726 resultptr
= new wxPoint((wxPoint
&)(result
));
20727 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
20735 static PyObject
*_wrap_DropFilesEvent_GetNumberOfFiles(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20736 PyObject
*resultobj
;
20737 wxDropFilesEvent
*arg1
= (wxDropFilesEvent
*) 0 ;
20739 PyObject
* obj0
= 0 ;
20740 char *kwnames
[] = {
20741 (char *) "self", NULL
20744 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DropFilesEvent_GetNumberOfFiles",kwnames
,&obj0
)) goto fail
;
20745 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDropFilesEvent
, SWIG_POINTER_EXCEPTION
| 0);
20746 if (SWIG_arg_fail(1)) SWIG_fail
;
20748 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20749 result
= (int)(arg1
)->GetNumberOfFiles();
20751 wxPyEndAllowThreads(__tstate
);
20752 if (PyErr_Occurred()) SWIG_fail
;
20755 resultobj
= SWIG_From_int((int)(result
));
20763 static PyObject
*_wrap_DropFilesEvent_GetFiles(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20764 PyObject
*resultobj
;
20765 wxDropFilesEvent
*arg1
= (wxDropFilesEvent
*) 0 ;
20767 PyObject
* obj0
= 0 ;
20768 char *kwnames
[] = {
20769 (char *) "self", NULL
20772 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DropFilesEvent_GetFiles",kwnames
,&obj0
)) goto fail
;
20773 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDropFilesEvent
, SWIG_POINTER_EXCEPTION
| 0);
20774 if (SWIG_arg_fail(1)) SWIG_fail
;
20776 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20777 result
= (PyObject
*)wxDropFilesEvent_GetFiles(arg1
);
20779 wxPyEndAllowThreads(__tstate
);
20780 if (PyErr_Occurred()) SWIG_fail
;
20782 resultobj
= result
;
20789 static PyObject
* DropFilesEvent_swigregister(PyObject
*, PyObject
*args
) {
20791 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20792 SWIG_TypeClientData(SWIGTYPE_p_wxDropFilesEvent
, obj
);
20794 return Py_BuildValue((char *)"");
20796 static PyObject
*_wrap_new_UpdateUIEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20797 PyObject
*resultobj
;
20798 int arg1
= (int) 0 ;
20799 wxUpdateUIEvent
*result
;
20800 PyObject
* obj0
= 0 ;
20801 char *kwnames
[] = {
20802 (char *) "commandId", NULL
20805 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_UpdateUIEvent",kwnames
,&obj0
)) goto fail
;
20808 arg1
= (int)(SWIG_As_int(obj0
));
20809 if (SWIG_arg_fail(1)) SWIG_fail
;
20813 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20814 result
= (wxUpdateUIEvent
*)new wxUpdateUIEvent(arg1
);
20816 wxPyEndAllowThreads(__tstate
);
20817 if (PyErr_Occurred()) SWIG_fail
;
20819 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxUpdateUIEvent
, 1);
20826 static PyObject
*_wrap_UpdateUIEvent_GetChecked(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20827 PyObject
*resultobj
;
20828 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
20830 PyObject
* obj0
= 0 ;
20831 char *kwnames
[] = {
20832 (char *) "self", NULL
20835 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_GetChecked",kwnames
,&obj0
)) goto fail
;
20836 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxUpdateUIEvent
, SWIG_POINTER_EXCEPTION
| 0);
20837 if (SWIG_arg_fail(1)) SWIG_fail
;
20839 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20840 result
= (bool)((wxUpdateUIEvent
const *)arg1
)->GetChecked();
20842 wxPyEndAllowThreads(__tstate
);
20843 if (PyErr_Occurred()) SWIG_fail
;
20846 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20854 static PyObject
*_wrap_UpdateUIEvent_GetEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20855 PyObject
*resultobj
;
20856 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
20858 PyObject
* obj0
= 0 ;
20859 char *kwnames
[] = {
20860 (char *) "self", NULL
20863 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_GetEnabled",kwnames
,&obj0
)) goto fail
;
20864 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxUpdateUIEvent
, SWIG_POINTER_EXCEPTION
| 0);
20865 if (SWIG_arg_fail(1)) SWIG_fail
;
20867 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20868 result
= (bool)((wxUpdateUIEvent
const *)arg1
)->GetEnabled();
20870 wxPyEndAllowThreads(__tstate
);
20871 if (PyErr_Occurred()) SWIG_fail
;
20874 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20882 static PyObject
*_wrap_UpdateUIEvent_GetText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20883 PyObject
*resultobj
;
20884 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
20886 PyObject
* obj0
= 0 ;
20887 char *kwnames
[] = {
20888 (char *) "self", NULL
20891 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_GetText",kwnames
,&obj0
)) goto fail
;
20892 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxUpdateUIEvent
, SWIG_POINTER_EXCEPTION
| 0);
20893 if (SWIG_arg_fail(1)) SWIG_fail
;
20895 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20896 result
= ((wxUpdateUIEvent
const *)arg1
)->GetText();
20898 wxPyEndAllowThreads(__tstate
);
20899 if (PyErr_Occurred()) SWIG_fail
;
20903 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
20905 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
20914 static PyObject
*_wrap_UpdateUIEvent_GetSetText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20915 PyObject
*resultobj
;
20916 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
20918 PyObject
* obj0
= 0 ;
20919 char *kwnames
[] = {
20920 (char *) "self", NULL
20923 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_GetSetText",kwnames
,&obj0
)) goto fail
;
20924 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxUpdateUIEvent
, SWIG_POINTER_EXCEPTION
| 0);
20925 if (SWIG_arg_fail(1)) SWIG_fail
;
20927 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20928 result
= (bool)((wxUpdateUIEvent
const *)arg1
)->GetSetText();
20930 wxPyEndAllowThreads(__tstate
);
20931 if (PyErr_Occurred()) SWIG_fail
;
20934 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20942 static PyObject
*_wrap_UpdateUIEvent_GetSetChecked(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20943 PyObject
*resultobj
;
20944 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
20946 PyObject
* obj0
= 0 ;
20947 char *kwnames
[] = {
20948 (char *) "self", NULL
20951 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_GetSetChecked",kwnames
,&obj0
)) goto fail
;
20952 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxUpdateUIEvent
, SWIG_POINTER_EXCEPTION
| 0);
20953 if (SWIG_arg_fail(1)) SWIG_fail
;
20955 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20956 result
= (bool)((wxUpdateUIEvent
const *)arg1
)->GetSetChecked();
20958 wxPyEndAllowThreads(__tstate
);
20959 if (PyErr_Occurred()) SWIG_fail
;
20962 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20970 static PyObject
*_wrap_UpdateUIEvent_GetSetEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20971 PyObject
*resultobj
;
20972 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
20974 PyObject
* obj0
= 0 ;
20975 char *kwnames
[] = {
20976 (char *) "self", NULL
20979 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_GetSetEnabled",kwnames
,&obj0
)) goto fail
;
20980 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxUpdateUIEvent
, SWIG_POINTER_EXCEPTION
| 0);
20981 if (SWIG_arg_fail(1)) SWIG_fail
;
20983 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20984 result
= (bool)((wxUpdateUIEvent
const *)arg1
)->GetSetEnabled();
20986 wxPyEndAllowThreads(__tstate
);
20987 if (PyErr_Occurred()) SWIG_fail
;
20990 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20998 static PyObject
*_wrap_UpdateUIEvent_Check(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20999 PyObject
*resultobj
;
21000 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
21002 PyObject
* obj0
= 0 ;
21003 PyObject
* obj1
= 0 ;
21004 char *kwnames
[] = {
21005 (char *) "self",(char *) "check", NULL
21008 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:UpdateUIEvent_Check",kwnames
,&obj0
,&obj1
)) goto fail
;
21009 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxUpdateUIEvent
, SWIG_POINTER_EXCEPTION
| 0);
21010 if (SWIG_arg_fail(1)) SWIG_fail
;
21012 arg2
= (bool)(SWIG_As_bool(obj1
));
21013 if (SWIG_arg_fail(2)) SWIG_fail
;
21016 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21017 (arg1
)->Check(arg2
);
21019 wxPyEndAllowThreads(__tstate
);
21020 if (PyErr_Occurred()) SWIG_fail
;
21022 Py_INCREF(Py_None
); resultobj
= Py_None
;
21029 static PyObject
*_wrap_UpdateUIEvent_Enable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21030 PyObject
*resultobj
;
21031 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
21033 PyObject
* obj0
= 0 ;
21034 PyObject
* obj1
= 0 ;
21035 char *kwnames
[] = {
21036 (char *) "self",(char *) "enable", NULL
21039 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:UpdateUIEvent_Enable",kwnames
,&obj0
,&obj1
)) goto fail
;
21040 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxUpdateUIEvent
, SWIG_POINTER_EXCEPTION
| 0);
21041 if (SWIG_arg_fail(1)) SWIG_fail
;
21043 arg2
= (bool)(SWIG_As_bool(obj1
));
21044 if (SWIG_arg_fail(2)) SWIG_fail
;
21047 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21048 (arg1
)->Enable(arg2
);
21050 wxPyEndAllowThreads(__tstate
);
21051 if (PyErr_Occurred()) SWIG_fail
;
21053 Py_INCREF(Py_None
); resultobj
= Py_None
;
21060 static PyObject
*_wrap_UpdateUIEvent_SetText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21061 PyObject
*resultobj
;
21062 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
21063 wxString
*arg2
= 0 ;
21064 bool temp2
= false ;
21065 PyObject
* obj0
= 0 ;
21066 PyObject
* obj1
= 0 ;
21067 char *kwnames
[] = {
21068 (char *) "self",(char *) "text", NULL
21071 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:UpdateUIEvent_SetText",kwnames
,&obj0
,&obj1
)) goto fail
;
21072 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxUpdateUIEvent
, SWIG_POINTER_EXCEPTION
| 0);
21073 if (SWIG_arg_fail(1)) SWIG_fail
;
21075 arg2
= wxString_in_helper(obj1
);
21076 if (arg2
== NULL
) SWIG_fail
;
21080 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21081 (arg1
)->SetText((wxString
const &)*arg2
);
21083 wxPyEndAllowThreads(__tstate
);
21084 if (PyErr_Occurred()) SWIG_fail
;
21086 Py_INCREF(Py_None
); resultobj
= Py_None
;
21101 static PyObject
*_wrap_UpdateUIEvent_SetUpdateInterval(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21102 PyObject
*resultobj
;
21104 PyObject
* obj0
= 0 ;
21105 char *kwnames
[] = {
21106 (char *) "updateInterval", NULL
21109 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_SetUpdateInterval",kwnames
,&obj0
)) goto fail
;
21111 arg1
= (long)(SWIG_As_long(obj0
));
21112 if (SWIG_arg_fail(1)) SWIG_fail
;
21115 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21116 wxUpdateUIEvent::SetUpdateInterval(arg1
);
21118 wxPyEndAllowThreads(__tstate
);
21119 if (PyErr_Occurred()) SWIG_fail
;
21121 Py_INCREF(Py_None
); resultobj
= Py_None
;
21128 static PyObject
*_wrap_UpdateUIEvent_GetUpdateInterval(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21129 PyObject
*resultobj
;
21131 char *kwnames
[] = {
21135 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":UpdateUIEvent_GetUpdateInterval",kwnames
)) goto fail
;
21137 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21138 result
= (long)wxUpdateUIEvent::GetUpdateInterval();
21140 wxPyEndAllowThreads(__tstate
);
21141 if (PyErr_Occurred()) SWIG_fail
;
21144 resultobj
= SWIG_From_long((long)(result
));
21152 static PyObject
*_wrap_UpdateUIEvent_CanUpdate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21153 PyObject
*resultobj
;
21154 wxWindow
*arg1
= (wxWindow
*) 0 ;
21156 PyObject
* obj0
= 0 ;
21157 char *kwnames
[] = {
21158 (char *) "win", NULL
21161 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_CanUpdate",kwnames
,&obj0
)) goto fail
;
21162 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
21163 if (SWIG_arg_fail(1)) SWIG_fail
;
21165 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21166 result
= (bool)wxUpdateUIEvent::CanUpdate(arg1
);
21168 wxPyEndAllowThreads(__tstate
);
21169 if (PyErr_Occurred()) SWIG_fail
;
21172 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21180 static PyObject
*_wrap_UpdateUIEvent_ResetUpdateTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21181 PyObject
*resultobj
;
21182 char *kwnames
[] = {
21186 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":UpdateUIEvent_ResetUpdateTime",kwnames
)) goto fail
;
21188 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21189 wxUpdateUIEvent::ResetUpdateTime();
21191 wxPyEndAllowThreads(__tstate
);
21192 if (PyErr_Occurred()) SWIG_fail
;
21194 Py_INCREF(Py_None
); resultobj
= Py_None
;
21201 static PyObject
*_wrap_UpdateUIEvent_SetMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21202 PyObject
*resultobj
;
21203 wxUpdateUIMode arg1
;
21204 PyObject
* obj0
= 0 ;
21205 char *kwnames
[] = {
21206 (char *) "mode", NULL
21209 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_SetMode",kwnames
,&obj0
)) goto fail
;
21211 arg1
= (wxUpdateUIMode
)(SWIG_As_int(obj0
));
21212 if (SWIG_arg_fail(1)) SWIG_fail
;
21215 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21216 wxUpdateUIEvent::SetMode((wxUpdateUIMode
)arg1
);
21218 wxPyEndAllowThreads(__tstate
);
21219 if (PyErr_Occurred()) SWIG_fail
;
21221 Py_INCREF(Py_None
); resultobj
= Py_None
;
21228 static PyObject
*_wrap_UpdateUIEvent_GetMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21229 PyObject
*resultobj
;
21230 wxUpdateUIMode result
;
21231 char *kwnames
[] = {
21235 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":UpdateUIEvent_GetMode",kwnames
)) goto fail
;
21237 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21238 result
= (wxUpdateUIMode
)wxUpdateUIEvent::GetMode();
21240 wxPyEndAllowThreads(__tstate
);
21241 if (PyErr_Occurred()) SWIG_fail
;
21243 resultobj
= SWIG_From_int((result
));
21250 static PyObject
* UpdateUIEvent_swigregister(PyObject
*, PyObject
*args
) {
21252 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21253 SWIG_TypeClientData(SWIGTYPE_p_wxUpdateUIEvent
, obj
);
21255 return Py_BuildValue((char *)"");
21257 static PyObject
*_wrap_new_SysColourChangedEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21258 PyObject
*resultobj
;
21259 wxSysColourChangedEvent
*result
;
21260 char *kwnames
[] = {
21264 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_SysColourChangedEvent",kwnames
)) goto fail
;
21266 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21267 result
= (wxSysColourChangedEvent
*)new wxSysColourChangedEvent();
21269 wxPyEndAllowThreads(__tstate
);
21270 if (PyErr_Occurred()) SWIG_fail
;
21272 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSysColourChangedEvent
, 1);
21279 static PyObject
* SysColourChangedEvent_swigregister(PyObject
*, PyObject
*args
) {
21281 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21282 SWIG_TypeClientData(SWIGTYPE_p_wxSysColourChangedEvent
, obj
);
21284 return Py_BuildValue((char *)"");
21286 static PyObject
*_wrap_new_MouseCaptureChangedEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21287 PyObject
*resultobj
;
21288 int arg1
= (int) 0 ;
21289 wxWindow
*arg2
= (wxWindow
*) NULL
;
21290 wxMouseCaptureChangedEvent
*result
;
21291 PyObject
* obj0
= 0 ;
21292 PyObject
* obj1
= 0 ;
21293 char *kwnames
[] = {
21294 (char *) "winid",(char *) "gainedCapture", NULL
21297 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_MouseCaptureChangedEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
21300 arg1
= (int)(SWIG_As_int(obj0
));
21301 if (SWIG_arg_fail(1)) SWIG_fail
;
21305 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
21306 if (SWIG_arg_fail(2)) SWIG_fail
;
21309 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21310 result
= (wxMouseCaptureChangedEvent
*)new wxMouseCaptureChangedEvent(arg1
,arg2
);
21312 wxPyEndAllowThreads(__tstate
);
21313 if (PyErr_Occurred()) SWIG_fail
;
21315 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMouseCaptureChangedEvent
, 1);
21322 static PyObject
*_wrap_MouseCaptureChangedEvent_GetCapturedWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21323 PyObject
*resultobj
;
21324 wxMouseCaptureChangedEvent
*arg1
= (wxMouseCaptureChangedEvent
*) 0 ;
21326 PyObject
* obj0
= 0 ;
21327 char *kwnames
[] = {
21328 (char *) "self", NULL
21331 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseCaptureChangedEvent_GetCapturedWindow",kwnames
,&obj0
)) goto fail
;
21332 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseCaptureChangedEvent
, SWIG_POINTER_EXCEPTION
| 0);
21333 if (SWIG_arg_fail(1)) SWIG_fail
;
21335 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21336 result
= (wxWindow
*)((wxMouseCaptureChangedEvent
const *)arg1
)->GetCapturedWindow();
21338 wxPyEndAllowThreads(__tstate
);
21339 if (PyErr_Occurred()) SWIG_fail
;
21342 resultobj
= wxPyMake_wxObject(result
, 0);
21350 static PyObject
* MouseCaptureChangedEvent_swigregister(PyObject
*, PyObject
*args
) {
21352 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21353 SWIG_TypeClientData(SWIGTYPE_p_wxMouseCaptureChangedEvent
, obj
);
21355 return Py_BuildValue((char *)"");
21357 static PyObject
*_wrap_new_DisplayChangedEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21358 PyObject
*resultobj
;
21359 wxDisplayChangedEvent
*result
;
21360 char *kwnames
[] = {
21364 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_DisplayChangedEvent",kwnames
)) goto fail
;
21366 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21367 result
= (wxDisplayChangedEvent
*)new wxDisplayChangedEvent();
21369 wxPyEndAllowThreads(__tstate
);
21370 if (PyErr_Occurred()) SWIG_fail
;
21372 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDisplayChangedEvent
, 1);
21379 static PyObject
* DisplayChangedEvent_swigregister(PyObject
*, PyObject
*args
) {
21381 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21382 SWIG_TypeClientData(SWIGTYPE_p_wxDisplayChangedEvent
, obj
);
21384 return Py_BuildValue((char *)"");
21386 static PyObject
*_wrap_new_PaletteChangedEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21387 PyObject
*resultobj
;
21388 int arg1
= (int) 0 ;
21389 wxPaletteChangedEvent
*result
;
21390 PyObject
* obj0
= 0 ;
21391 char *kwnames
[] = {
21392 (char *) "id", NULL
21395 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_PaletteChangedEvent",kwnames
,&obj0
)) goto fail
;
21398 arg1
= (int)(SWIG_As_int(obj0
));
21399 if (SWIG_arg_fail(1)) SWIG_fail
;
21403 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21404 result
= (wxPaletteChangedEvent
*)new wxPaletteChangedEvent(arg1
);
21406 wxPyEndAllowThreads(__tstate
);
21407 if (PyErr_Occurred()) SWIG_fail
;
21409 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPaletteChangedEvent
, 1);
21416 static PyObject
*_wrap_PaletteChangedEvent_SetChangedWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21417 PyObject
*resultobj
;
21418 wxPaletteChangedEvent
*arg1
= (wxPaletteChangedEvent
*) 0 ;
21419 wxWindow
*arg2
= (wxWindow
*) 0 ;
21420 PyObject
* obj0
= 0 ;
21421 PyObject
* obj1
= 0 ;
21422 char *kwnames
[] = {
21423 (char *) "self",(char *) "win", NULL
21426 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PaletteChangedEvent_SetChangedWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
21427 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPaletteChangedEvent
, SWIG_POINTER_EXCEPTION
| 0);
21428 if (SWIG_arg_fail(1)) SWIG_fail
;
21429 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
21430 if (SWIG_arg_fail(2)) SWIG_fail
;
21432 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21433 (arg1
)->SetChangedWindow(arg2
);
21435 wxPyEndAllowThreads(__tstate
);
21436 if (PyErr_Occurred()) SWIG_fail
;
21438 Py_INCREF(Py_None
); resultobj
= Py_None
;
21445 static PyObject
*_wrap_PaletteChangedEvent_GetChangedWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21446 PyObject
*resultobj
;
21447 wxPaletteChangedEvent
*arg1
= (wxPaletteChangedEvent
*) 0 ;
21449 PyObject
* obj0
= 0 ;
21450 char *kwnames
[] = {
21451 (char *) "self", NULL
21454 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PaletteChangedEvent_GetChangedWindow",kwnames
,&obj0
)) goto fail
;
21455 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPaletteChangedEvent
, SWIG_POINTER_EXCEPTION
| 0);
21456 if (SWIG_arg_fail(1)) SWIG_fail
;
21458 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21459 result
= (wxWindow
*)(arg1
)->GetChangedWindow();
21461 wxPyEndAllowThreads(__tstate
);
21462 if (PyErr_Occurred()) SWIG_fail
;
21465 resultobj
= wxPyMake_wxObject(result
, 0);
21473 static PyObject
* PaletteChangedEvent_swigregister(PyObject
*, PyObject
*args
) {
21475 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21476 SWIG_TypeClientData(SWIGTYPE_p_wxPaletteChangedEvent
, obj
);
21478 return Py_BuildValue((char *)"");
21480 static PyObject
*_wrap_new_QueryNewPaletteEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21481 PyObject
*resultobj
;
21482 int arg1
= (int) 0 ;
21483 wxQueryNewPaletteEvent
*result
;
21484 PyObject
* obj0
= 0 ;
21485 char *kwnames
[] = {
21486 (char *) "winid", NULL
21489 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_QueryNewPaletteEvent",kwnames
,&obj0
)) goto fail
;
21492 arg1
= (int)(SWIG_As_int(obj0
));
21493 if (SWIG_arg_fail(1)) SWIG_fail
;
21497 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21498 result
= (wxQueryNewPaletteEvent
*)new wxQueryNewPaletteEvent(arg1
);
21500 wxPyEndAllowThreads(__tstate
);
21501 if (PyErr_Occurred()) SWIG_fail
;
21503 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxQueryNewPaletteEvent
, 1);
21510 static PyObject
*_wrap_QueryNewPaletteEvent_SetPaletteRealized(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21511 PyObject
*resultobj
;
21512 wxQueryNewPaletteEvent
*arg1
= (wxQueryNewPaletteEvent
*) 0 ;
21514 PyObject
* obj0
= 0 ;
21515 PyObject
* obj1
= 0 ;
21516 char *kwnames
[] = {
21517 (char *) "self",(char *) "realized", NULL
21520 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryNewPaletteEvent_SetPaletteRealized",kwnames
,&obj0
,&obj1
)) goto fail
;
21521 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxQueryNewPaletteEvent
, SWIG_POINTER_EXCEPTION
| 0);
21522 if (SWIG_arg_fail(1)) SWIG_fail
;
21524 arg2
= (bool)(SWIG_As_bool(obj1
));
21525 if (SWIG_arg_fail(2)) SWIG_fail
;
21528 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21529 (arg1
)->SetPaletteRealized(arg2
);
21531 wxPyEndAllowThreads(__tstate
);
21532 if (PyErr_Occurred()) SWIG_fail
;
21534 Py_INCREF(Py_None
); resultobj
= Py_None
;
21541 static PyObject
*_wrap_QueryNewPaletteEvent_GetPaletteRealized(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21542 PyObject
*resultobj
;
21543 wxQueryNewPaletteEvent
*arg1
= (wxQueryNewPaletteEvent
*) 0 ;
21545 PyObject
* obj0
= 0 ;
21546 char *kwnames
[] = {
21547 (char *) "self", NULL
21550 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:QueryNewPaletteEvent_GetPaletteRealized",kwnames
,&obj0
)) goto fail
;
21551 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxQueryNewPaletteEvent
, SWIG_POINTER_EXCEPTION
| 0);
21552 if (SWIG_arg_fail(1)) SWIG_fail
;
21554 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21555 result
= (bool)((wxQueryNewPaletteEvent
const *)arg1
)->GetPaletteRealized();
21557 wxPyEndAllowThreads(__tstate
);
21558 if (PyErr_Occurred()) SWIG_fail
;
21561 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21569 static PyObject
* QueryNewPaletteEvent_swigregister(PyObject
*, PyObject
*args
) {
21571 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21572 SWIG_TypeClientData(SWIGTYPE_p_wxQueryNewPaletteEvent
, obj
);
21574 return Py_BuildValue((char *)"");
21576 static PyObject
*_wrap_new_NavigationKeyEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21577 PyObject
*resultobj
;
21578 wxNavigationKeyEvent
*result
;
21579 char *kwnames
[] = {
21583 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_NavigationKeyEvent",kwnames
)) goto fail
;
21585 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21586 result
= (wxNavigationKeyEvent
*)new wxNavigationKeyEvent();
21588 wxPyEndAllowThreads(__tstate
);
21589 if (PyErr_Occurred()) SWIG_fail
;
21591 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNavigationKeyEvent
, 1);
21598 static PyObject
*_wrap_NavigationKeyEvent_GetDirection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21599 PyObject
*resultobj
;
21600 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
21602 PyObject
* obj0
= 0 ;
21603 char *kwnames
[] = {
21604 (char *) "self", NULL
21607 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NavigationKeyEvent_GetDirection",kwnames
,&obj0
)) goto fail
;
21608 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNavigationKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
21609 if (SWIG_arg_fail(1)) SWIG_fail
;
21611 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21612 result
= (bool)((wxNavigationKeyEvent
const *)arg1
)->GetDirection();
21614 wxPyEndAllowThreads(__tstate
);
21615 if (PyErr_Occurred()) SWIG_fail
;
21618 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21626 static PyObject
*_wrap_NavigationKeyEvent_SetDirection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21627 PyObject
*resultobj
;
21628 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
21630 PyObject
* obj0
= 0 ;
21631 PyObject
* obj1
= 0 ;
21632 char *kwnames
[] = {
21633 (char *) "self",(char *) "forward", NULL
21636 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NavigationKeyEvent_SetDirection",kwnames
,&obj0
,&obj1
)) goto fail
;
21637 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNavigationKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
21638 if (SWIG_arg_fail(1)) SWIG_fail
;
21640 arg2
= (bool)(SWIG_As_bool(obj1
));
21641 if (SWIG_arg_fail(2)) SWIG_fail
;
21644 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21645 (arg1
)->SetDirection(arg2
);
21647 wxPyEndAllowThreads(__tstate
);
21648 if (PyErr_Occurred()) SWIG_fail
;
21650 Py_INCREF(Py_None
); resultobj
= Py_None
;
21657 static PyObject
*_wrap_NavigationKeyEvent_IsWindowChange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21658 PyObject
*resultobj
;
21659 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
21661 PyObject
* obj0
= 0 ;
21662 char *kwnames
[] = {
21663 (char *) "self", NULL
21666 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NavigationKeyEvent_IsWindowChange",kwnames
,&obj0
)) goto fail
;
21667 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNavigationKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
21668 if (SWIG_arg_fail(1)) SWIG_fail
;
21670 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21671 result
= (bool)((wxNavigationKeyEvent
const *)arg1
)->IsWindowChange();
21673 wxPyEndAllowThreads(__tstate
);
21674 if (PyErr_Occurred()) SWIG_fail
;
21677 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21685 static PyObject
*_wrap_NavigationKeyEvent_SetWindowChange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21686 PyObject
*resultobj
;
21687 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
21689 PyObject
* obj0
= 0 ;
21690 PyObject
* obj1
= 0 ;
21691 char *kwnames
[] = {
21692 (char *) "self",(char *) "ischange", NULL
21695 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NavigationKeyEvent_SetWindowChange",kwnames
,&obj0
,&obj1
)) goto fail
;
21696 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNavigationKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
21697 if (SWIG_arg_fail(1)) SWIG_fail
;
21699 arg2
= (bool)(SWIG_As_bool(obj1
));
21700 if (SWIG_arg_fail(2)) SWIG_fail
;
21703 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21704 (arg1
)->SetWindowChange(arg2
);
21706 wxPyEndAllowThreads(__tstate
);
21707 if (PyErr_Occurred()) SWIG_fail
;
21709 Py_INCREF(Py_None
); resultobj
= Py_None
;
21716 static PyObject
*_wrap_NavigationKeyEvent_IsFromTab(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21717 PyObject
*resultobj
;
21718 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
21720 PyObject
* obj0
= 0 ;
21721 char *kwnames
[] = {
21722 (char *) "self", NULL
21725 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NavigationKeyEvent_IsFromTab",kwnames
,&obj0
)) goto fail
;
21726 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNavigationKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
21727 if (SWIG_arg_fail(1)) SWIG_fail
;
21729 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21730 result
= (bool)((wxNavigationKeyEvent
const *)arg1
)->IsFromTab();
21732 wxPyEndAllowThreads(__tstate
);
21733 if (PyErr_Occurred()) SWIG_fail
;
21736 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21744 static PyObject
*_wrap_NavigationKeyEvent_SetFromTab(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21745 PyObject
*resultobj
;
21746 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
21748 PyObject
* obj0
= 0 ;
21749 PyObject
* obj1
= 0 ;
21750 char *kwnames
[] = {
21751 (char *) "self",(char *) "bIs", NULL
21754 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NavigationKeyEvent_SetFromTab",kwnames
,&obj0
,&obj1
)) goto fail
;
21755 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNavigationKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
21756 if (SWIG_arg_fail(1)) SWIG_fail
;
21758 arg2
= (bool)(SWIG_As_bool(obj1
));
21759 if (SWIG_arg_fail(2)) SWIG_fail
;
21762 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21763 (arg1
)->SetFromTab(arg2
);
21765 wxPyEndAllowThreads(__tstate
);
21766 if (PyErr_Occurred()) SWIG_fail
;
21768 Py_INCREF(Py_None
); resultobj
= Py_None
;
21775 static PyObject
*_wrap_NavigationKeyEvent_SetFlags(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21776 PyObject
*resultobj
;
21777 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
21779 PyObject
* obj0
= 0 ;
21780 PyObject
* obj1
= 0 ;
21781 char *kwnames
[] = {
21782 (char *) "self",(char *) "flags", NULL
21785 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NavigationKeyEvent_SetFlags",kwnames
,&obj0
,&obj1
)) goto fail
;
21786 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNavigationKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
21787 if (SWIG_arg_fail(1)) SWIG_fail
;
21789 arg2
= (long)(SWIG_As_long(obj1
));
21790 if (SWIG_arg_fail(2)) SWIG_fail
;
21793 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21794 (arg1
)->SetFlags(arg2
);
21796 wxPyEndAllowThreads(__tstate
);
21797 if (PyErr_Occurred()) SWIG_fail
;
21799 Py_INCREF(Py_None
); resultobj
= Py_None
;
21806 static PyObject
*_wrap_NavigationKeyEvent_GetCurrentFocus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21807 PyObject
*resultobj
;
21808 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
21810 PyObject
* obj0
= 0 ;
21811 char *kwnames
[] = {
21812 (char *) "self", NULL
21815 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NavigationKeyEvent_GetCurrentFocus",kwnames
,&obj0
)) goto fail
;
21816 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNavigationKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
21817 if (SWIG_arg_fail(1)) SWIG_fail
;
21819 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21820 result
= (wxWindow
*)((wxNavigationKeyEvent
const *)arg1
)->GetCurrentFocus();
21822 wxPyEndAllowThreads(__tstate
);
21823 if (PyErr_Occurred()) SWIG_fail
;
21826 resultobj
= wxPyMake_wxObject(result
, 0);
21834 static PyObject
*_wrap_NavigationKeyEvent_SetCurrentFocus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21835 PyObject
*resultobj
;
21836 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
21837 wxWindow
*arg2
= (wxWindow
*) 0 ;
21838 PyObject
* obj0
= 0 ;
21839 PyObject
* obj1
= 0 ;
21840 char *kwnames
[] = {
21841 (char *) "self",(char *) "win", NULL
21844 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NavigationKeyEvent_SetCurrentFocus",kwnames
,&obj0
,&obj1
)) goto fail
;
21845 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNavigationKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
21846 if (SWIG_arg_fail(1)) SWIG_fail
;
21847 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
21848 if (SWIG_arg_fail(2)) SWIG_fail
;
21850 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21851 (arg1
)->SetCurrentFocus(arg2
);
21853 wxPyEndAllowThreads(__tstate
);
21854 if (PyErr_Occurred()) SWIG_fail
;
21856 Py_INCREF(Py_None
); resultobj
= Py_None
;
21863 static PyObject
* NavigationKeyEvent_swigregister(PyObject
*, PyObject
*args
) {
21865 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21866 SWIG_TypeClientData(SWIGTYPE_p_wxNavigationKeyEvent
, obj
);
21868 return Py_BuildValue((char *)"");
21870 static PyObject
*_wrap_new_WindowCreateEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21871 PyObject
*resultobj
;
21872 wxWindow
*arg1
= (wxWindow
*) NULL
;
21873 wxWindowCreateEvent
*result
;
21874 PyObject
* obj0
= 0 ;
21875 char *kwnames
[] = {
21876 (char *) "win", NULL
21879 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_WindowCreateEvent",kwnames
,&obj0
)) goto fail
;
21881 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
21882 if (SWIG_arg_fail(1)) SWIG_fail
;
21885 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21886 result
= (wxWindowCreateEvent
*)new wxWindowCreateEvent(arg1
);
21888 wxPyEndAllowThreads(__tstate
);
21889 if (PyErr_Occurred()) SWIG_fail
;
21891 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxWindowCreateEvent
, 1);
21898 static PyObject
*_wrap_WindowCreateEvent_GetWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21899 PyObject
*resultobj
;
21900 wxWindowCreateEvent
*arg1
= (wxWindowCreateEvent
*) 0 ;
21902 PyObject
* obj0
= 0 ;
21903 char *kwnames
[] = {
21904 (char *) "self", NULL
21907 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:WindowCreateEvent_GetWindow",kwnames
,&obj0
)) goto fail
;
21908 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindowCreateEvent
, SWIG_POINTER_EXCEPTION
| 0);
21909 if (SWIG_arg_fail(1)) SWIG_fail
;
21911 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21912 result
= (wxWindow
*)((wxWindowCreateEvent
const *)arg1
)->GetWindow();
21914 wxPyEndAllowThreads(__tstate
);
21915 if (PyErr_Occurred()) SWIG_fail
;
21918 resultobj
= wxPyMake_wxObject(result
, 0);
21926 static PyObject
* WindowCreateEvent_swigregister(PyObject
*, PyObject
*args
) {
21928 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21929 SWIG_TypeClientData(SWIGTYPE_p_wxWindowCreateEvent
, obj
);
21931 return Py_BuildValue((char *)"");
21933 static PyObject
*_wrap_new_WindowDestroyEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21934 PyObject
*resultobj
;
21935 wxWindow
*arg1
= (wxWindow
*) NULL
;
21936 wxWindowDestroyEvent
*result
;
21937 PyObject
* obj0
= 0 ;
21938 char *kwnames
[] = {
21939 (char *) "win", NULL
21942 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_WindowDestroyEvent",kwnames
,&obj0
)) goto fail
;
21944 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
21945 if (SWIG_arg_fail(1)) SWIG_fail
;
21948 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21949 result
= (wxWindowDestroyEvent
*)new wxWindowDestroyEvent(arg1
);
21951 wxPyEndAllowThreads(__tstate
);
21952 if (PyErr_Occurred()) SWIG_fail
;
21954 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxWindowDestroyEvent
, 1);
21961 static PyObject
*_wrap_WindowDestroyEvent_GetWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21962 PyObject
*resultobj
;
21963 wxWindowDestroyEvent
*arg1
= (wxWindowDestroyEvent
*) 0 ;
21965 PyObject
* obj0
= 0 ;
21966 char *kwnames
[] = {
21967 (char *) "self", NULL
21970 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:WindowDestroyEvent_GetWindow",kwnames
,&obj0
)) goto fail
;
21971 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindowDestroyEvent
, SWIG_POINTER_EXCEPTION
| 0);
21972 if (SWIG_arg_fail(1)) SWIG_fail
;
21974 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21975 result
= (wxWindow
*)((wxWindowDestroyEvent
const *)arg1
)->GetWindow();
21977 wxPyEndAllowThreads(__tstate
);
21978 if (PyErr_Occurred()) SWIG_fail
;
21981 resultobj
= wxPyMake_wxObject(result
, 0);
21989 static PyObject
* WindowDestroyEvent_swigregister(PyObject
*, PyObject
*args
) {
21991 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21992 SWIG_TypeClientData(SWIGTYPE_p_wxWindowDestroyEvent
, obj
);
21994 return Py_BuildValue((char *)"");
21996 static PyObject
*_wrap_new_ContextMenuEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21997 PyObject
*resultobj
;
21998 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
21999 int arg2
= (int) 0 ;
22000 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
22001 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
22002 wxContextMenuEvent
*result
;
22004 PyObject
* obj0
= 0 ;
22005 PyObject
* obj1
= 0 ;
22006 PyObject
* obj2
= 0 ;
22007 char *kwnames
[] = {
22008 (char *) "type",(char *) "winid",(char *) "pt", NULL
22011 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_ContextMenuEvent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22014 arg1
= (wxEventType
)(SWIG_As_int(obj0
));
22015 if (SWIG_arg_fail(1)) SWIG_fail
;
22020 arg2
= (int)(SWIG_As_int(obj1
));
22021 if (SWIG_arg_fail(2)) SWIG_fail
;
22027 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
22031 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22032 result
= (wxContextMenuEvent
*)new wxContextMenuEvent(arg1
,arg2
,(wxPoint
const &)*arg3
);
22034 wxPyEndAllowThreads(__tstate
);
22035 if (PyErr_Occurred()) SWIG_fail
;
22037 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxContextMenuEvent
, 1);
22044 static PyObject
*_wrap_ContextMenuEvent_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22045 PyObject
*resultobj
;
22046 wxContextMenuEvent
*arg1
= (wxContextMenuEvent
*) 0 ;
22048 PyObject
* obj0
= 0 ;
22049 char *kwnames
[] = {
22050 (char *) "self", NULL
22053 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ContextMenuEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
22054 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxContextMenuEvent
, SWIG_POINTER_EXCEPTION
| 0);
22055 if (SWIG_arg_fail(1)) SWIG_fail
;
22057 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22059 wxPoint
const &_result_ref
= ((wxContextMenuEvent
const *)arg1
)->GetPosition();
22060 result
= (wxPoint
*) &_result_ref
;
22063 wxPyEndAllowThreads(__tstate
);
22064 if (PyErr_Occurred()) SWIG_fail
;
22066 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint
, 0);
22073 static PyObject
*_wrap_ContextMenuEvent_SetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22074 PyObject
*resultobj
;
22075 wxContextMenuEvent
*arg1
= (wxContextMenuEvent
*) 0 ;
22076 wxPoint
*arg2
= 0 ;
22078 PyObject
* obj0
= 0 ;
22079 PyObject
* obj1
= 0 ;
22080 char *kwnames
[] = {
22081 (char *) "self",(char *) "pos", NULL
22084 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ContextMenuEvent_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
22085 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxContextMenuEvent
, SWIG_POINTER_EXCEPTION
| 0);
22086 if (SWIG_arg_fail(1)) SWIG_fail
;
22089 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
22092 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22093 (arg1
)->SetPosition((wxPoint
const &)*arg2
);
22095 wxPyEndAllowThreads(__tstate
);
22096 if (PyErr_Occurred()) SWIG_fail
;
22098 Py_INCREF(Py_None
); resultobj
= Py_None
;
22105 static PyObject
* ContextMenuEvent_swigregister(PyObject
*, PyObject
*args
) {
22107 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
22108 SWIG_TypeClientData(SWIGTYPE_p_wxContextMenuEvent
, obj
);
22110 return Py_BuildValue((char *)"");
22112 static PyObject
*_wrap_new_IdleEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22113 PyObject
*resultobj
;
22114 wxIdleEvent
*result
;
22115 char *kwnames
[] = {
22119 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_IdleEvent",kwnames
)) goto fail
;
22121 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22122 result
= (wxIdleEvent
*)new wxIdleEvent();
22124 wxPyEndAllowThreads(__tstate
);
22125 if (PyErr_Occurred()) SWIG_fail
;
22127 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIdleEvent
, 1);
22134 static PyObject
*_wrap_IdleEvent_RequestMore(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22135 PyObject
*resultobj
;
22136 wxIdleEvent
*arg1
= (wxIdleEvent
*) 0 ;
22137 bool arg2
= (bool) true ;
22138 PyObject
* obj0
= 0 ;
22139 PyObject
* obj1
= 0 ;
22140 char *kwnames
[] = {
22141 (char *) "self",(char *) "needMore", NULL
22144 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:IdleEvent_RequestMore",kwnames
,&obj0
,&obj1
)) goto fail
;
22145 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIdleEvent
, SWIG_POINTER_EXCEPTION
| 0);
22146 if (SWIG_arg_fail(1)) SWIG_fail
;
22149 arg2
= (bool)(SWIG_As_bool(obj1
));
22150 if (SWIG_arg_fail(2)) SWIG_fail
;
22154 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22155 (arg1
)->RequestMore(arg2
);
22157 wxPyEndAllowThreads(__tstate
);
22158 if (PyErr_Occurred()) SWIG_fail
;
22160 Py_INCREF(Py_None
); resultobj
= Py_None
;
22167 static PyObject
*_wrap_IdleEvent_MoreRequested(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22168 PyObject
*resultobj
;
22169 wxIdleEvent
*arg1
= (wxIdleEvent
*) 0 ;
22171 PyObject
* obj0
= 0 ;
22172 char *kwnames
[] = {
22173 (char *) "self", NULL
22176 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IdleEvent_MoreRequested",kwnames
,&obj0
)) goto fail
;
22177 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIdleEvent
, SWIG_POINTER_EXCEPTION
| 0);
22178 if (SWIG_arg_fail(1)) SWIG_fail
;
22180 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22181 result
= (bool)((wxIdleEvent
const *)arg1
)->MoreRequested();
22183 wxPyEndAllowThreads(__tstate
);
22184 if (PyErr_Occurred()) SWIG_fail
;
22187 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22195 static PyObject
*_wrap_IdleEvent_SetMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22196 PyObject
*resultobj
;
22198 PyObject
* obj0
= 0 ;
22199 char *kwnames
[] = {
22200 (char *) "mode", NULL
22203 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IdleEvent_SetMode",kwnames
,&obj0
)) goto fail
;
22205 arg1
= (wxIdleMode
)(SWIG_As_int(obj0
));
22206 if (SWIG_arg_fail(1)) SWIG_fail
;
22209 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22210 wxIdleEvent::SetMode((wxIdleMode
)arg1
);
22212 wxPyEndAllowThreads(__tstate
);
22213 if (PyErr_Occurred()) SWIG_fail
;
22215 Py_INCREF(Py_None
); resultobj
= Py_None
;
22222 static PyObject
*_wrap_IdleEvent_GetMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22223 PyObject
*resultobj
;
22225 char *kwnames
[] = {
22229 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":IdleEvent_GetMode",kwnames
)) goto fail
;
22231 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22232 result
= (wxIdleMode
)wxIdleEvent::GetMode();
22234 wxPyEndAllowThreads(__tstate
);
22235 if (PyErr_Occurred()) SWIG_fail
;
22237 resultobj
= SWIG_From_int((result
));
22244 static PyObject
*_wrap_IdleEvent_CanSend(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22245 PyObject
*resultobj
;
22246 wxWindow
*arg1
= (wxWindow
*) 0 ;
22248 PyObject
* obj0
= 0 ;
22249 char *kwnames
[] = {
22250 (char *) "win", NULL
22253 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IdleEvent_CanSend",kwnames
,&obj0
)) goto fail
;
22254 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
22255 if (SWIG_arg_fail(1)) SWIG_fail
;
22257 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22258 result
= (bool)wxIdleEvent::CanSend(arg1
);
22260 wxPyEndAllowThreads(__tstate
);
22261 if (PyErr_Occurred()) SWIG_fail
;
22264 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22272 static PyObject
* IdleEvent_swigregister(PyObject
*, PyObject
*args
) {
22274 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
22275 SWIG_TypeClientData(SWIGTYPE_p_wxIdleEvent
, obj
);
22277 return Py_BuildValue((char *)"");
22279 static PyObject
*_wrap_new_PyEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22280 PyObject
*resultobj
;
22281 int arg1
= (int) 0 ;
22282 wxEventType arg2
= (wxEventType
) wxEVT_NULL
;
22284 PyObject
* obj0
= 0 ;
22285 PyObject
* obj1
= 0 ;
22286 char *kwnames
[] = {
22287 (char *) "winid",(char *) "eventType", NULL
22290 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_PyEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
22293 arg1
= (int)(SWIG_As_int(obj0
));
22294 if (SWIG_arg_fail(1)) SWIG_fail
;
22299 arg2
= (wxEventType
)(SWIG_As_int(obj1
));
22300 if (SWIG_arg_fail(2)) SWIG_fail
;
22304 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22305 result
= (wxPyEvent
*)new wxPyEvent(arg1
,arg2
);
22307 wxPyEndAllowThreads(__tstate
);
22308 if (PyErr_Occurred()) SWIG_fail
;
22310 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyEvent
, 1);
22317 static PyObject
*_wrap_delete_PyEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22318 PyObject
*resultobj
;
22319 wxPyEvent
*arg1
= (wxPyEvent
*) 0 ;
22320 PyObject
* obj0
= 0 ;
22321 char *kwnames
[] = {
22322 (char *) "self", NULL
22325 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PyEvent",kwnames
,&obj0
)) goto fail
;
22326 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyEvent
, SWIG_POINTER_EXCEPTION
| 0);
22327 if (SWIG_arg_fail(1)) SWIG_fail
;
22329 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22332 wxPyEndAllowThreads(__tstate
);
22333 if (PyErr_Occurred()) SWIG_fail
;
22335 Py_INCREF(Py_None
); resultobj
= Py_None
;
22342 static PyObject
*_wrap_PyEvent__SetSelf(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22343 PyObject
*resultobj
;
22344 wxPyEvent
*arg1
= (wxPyEvent
*) 0 ;
22345 PyObject
*arg2
= (PyObject
*) 0 ;
22346 PyObject
* obj0
= 0 ;
22347 PyObject
* obj1
= 0 ;
22348 char *kwnames
[] = {
22349 (char *) "self",(char *) "self", NULL
22352 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyEvent__SetSelf",kwnames
,&obj0
,&obj1
)) goto fail
;
22353 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyEvent
, SWIG_POINTER_EXCEPTION
| 0);
22354 if (SWIG_arg_fail(1)) SWIG_fail
;
22357 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22358 (arg1
)->SetSelf(arg2
);
22360 wxPyEndAllowThreads(__tstate
);
22361 if (PyErr_Occurred()) SWIG_fail
;
22363 Py_INCREF(Py_None
); resultobj
= Py_None
;
22370 static PyObject
*_wrap_PyEvent__GetSelf(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22371 PyObject
*resultobj
;
22372 wxPyEvent
*arg1
= (wxPyEvent
*) 0 ;
22374 PyObject
* obj0
= 0 ;
22375 char *kwnames
[] = {
22376 (char *) "self", NULL
22379 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyEvent__GetSelf",kwnames
,&obj0
)) goto fail
;
22380 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyEvent
, SWIG_POINTER_EXCEPTION
| 0);
22381 if (SWIG_arg_fail(1)) SWIG_fail
;
22383 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22384 result
= (PyObject
*)(arg1
)->GetSelf();
22386 wxPyEndAllowThreads(__tstate
);
22387 if (PyErr_Occurred()) SWIG_fail
;
22389 resultobj
= result
;
22396 static PyObject
* PyEvent_swigregister(PyObject
*, PyObject
*args
) {
22398 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
22399 SWIG_TypeClientData(SWIGTYPE_p_wxPyEvent
, obj
);
22401 return Py_BuildValue((char *)"");
22403 static PyObject
*_wrap_new_PyCommandEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22404 PyObject
*resultobj
;
22405 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
22406 int arg2
= (int) 0 ;
22407 wxPyCommandEvent
*result
;
22408 PyObject
* obj0
= 0 ;
22409 PyObject
* obj1
= 0 ;
22410 char *kwnames
[] = {
22411 (char *) "eventType",(char *) "id", NULL
22414 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_PyCommandEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
22417 arg1
= (wxEventType
)(SWIG_As_int(obj0
));
22418 if (SWIG_arg_fail(1)) SWIG_fail
;
22423 arg2
= (int)(SWIG_As_int(obj1
));
22424 if (SWIG_arg_fail(2)) SWIG_fail
;
22428 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22429 result
= (wxPyCommandEvent
*)new wxPyCommandEvent(arg1
,arg2
);
22431 wxPyEndAllowThreads(__tstate
);
22432 if (PyErr_Occurred()) SWIG_fail
;
22434 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyCommandEvent
, 1);
22441 static PyObject
*_wrap_delete_PyCommandEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22442 PyObject
*resultobj
;
22443 wxPyCommandEvent
*arg1
= (wxPyCommandEvent
*) 0 ;
22444 PyObject
* obj0
= 0 ;
22445 char *kwnames
[] = {
22446 (char *) "self", NULL
22449 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PyCommandEvent",kwnames
,&obj0
)) goto fail
;
22450 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyCommandEvent
, SWIG_POINTER_EXCEPTION
| 0);
22451 if (SWIG_arg_fail(1)) SWIG_fail
;
22453 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22456 wxPyEndAllowThreads(__tstate
);
22457 if (PyErr_Occurred()) SWIG_fail
;
22459 Py_INCREF(Py_None
); resultobj
= Py_None
;
22466 static PyObject
*_wrap_PyCommandEvent__SetSelf(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22467 PyObject
*resultobj
;
22468 wxPyCommandEvent
*arg1
= (wxPyCommandEvent
*) 0 ;
22469 PyObject
*arg2
= (PyObject
*) 0 ;
22470 PyObject
* obj0
= 0 ;
22471 PyObject
* obj1
= 0 ;
22472 char *kwnames
[] = {
22473 (char *) "self",(char *) "self", NULL
22476 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyCommandEvent__SetSelf",kwnames
,&obj0
,&obj1
)) goto fail
;
22477 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyCommandEvent
, SWIG_POINTER_EXCEPTION
| 0);
22478 if (SWIG_arg_fail(1)) SWIG_fail
;
22481 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22482 (arg1
)->SetSelf(arg2
);
22484 wxPyEndAllowThreads(__tstate
);
22485 if (PyErr_Occurred()) SWIG_fail
;
22487 Py_INCREF(Py_None
); resultobj
= Py_None
;
22494 static PyObject
*_wrap_PyCommandEvent__GetSelf(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22495 PyObject
*resultobj
;
22496 wxPyCommandEvent
*arg1
= (wxPyCommandEvent
*) 0 ;
22498 PyObject
* obj0
= 0 ;
22499 char *kwnames
[] = {
22500 (char *) "self", NULL
22503 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyCommandEvent__GetSelf",kwnames
,&obj0
)) goto fail
;
22504 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyCommandEvent
, SWIG_POINTER_EXCEPTION
| 0);
22505 if (SWIG_arg_fail(1)) SWIG_fail
;
22507 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22508 result
= (PyObject
*)(arg1
)->GetSelf();
22510 wxPyEndAllowThreads(__tstate
);
22511 if (PyErr_Occurred()) SWIG_fail
;
22513 resultobj
= result
;
22520 static PyObject
* PyCommandEvent_swigregister(PyObject
*, PyObject
*args
) {
22522 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
22523 SWIG_TypeClientData(SWIGTYPE_p_wxPyCommandEvent
, obj
);
22525 return Py_BuildValue((char *)"");
22527 static PyObject
*_wrap_new_DateEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22528 PyObject
*resultobj
;
22529 wxWindow
*arg1
= (wxWindow
*) 0 ;
22530 wxDateTime
*arg2
= 0 ;
22532 wxDateEvent
*result
;
22533 PyObject
* obj0
= 0 ;
22534 PyObject
* obj1
= 0 ;
22535 PyObject
* obj2
= 0 ;
22536 char *kwnames
[] = {
22537 (char *) "win",(char *) "dt",(char *) "type", NULL
22540 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:new_DateEvent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22541 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
22542 if (SWIG_arg_fail(1)) SWIG_fail
;
22544 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22545 if (SWIG_arg_fail(2)) SWIG_fail
;
22546 if (arg2
== NULL
) {
22547 SWIG_null_ref("wxDateTime");
22549 if (SWIG_arg_fail(2)) SWIG_fail
;
22552 arg3
= (wxEventType
)(SWIG_As_int(obj2
));
22553 if (SWIG_arg_fail(3)) SWIG_fail
;
22556 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22557 result
= (wxDateEvent
*)new wxDateEvent(arg1
,(wxDateTime
const &)*arg2
,arg3
);
22559 wxPyEndAllowThreads(__tstate
);
22560 if (PyErr_Occurred()) SWIG_fail
;
22562 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateEvent
, 1);
22569 static PyObject
*_wrap_DateEvent_GetDate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22570 PyObject
*resultobj
;
22571 wxDateEvent
*arg1
= (wxDateEvent
*) 0 ;
22572 wxDateTime
*result
;
22573 PyObject
* obj0
= 0 ;
22574 char *kwnames
[] = {
22575 (char *) "self", NULL
22578 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateEvent_GetDate",kwnames
,&obj0
)) goto fail
;
22579 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateEvent
, SWIG_POINTER_EXCEPTION
| 0);
22580 if (SWIG_arg_fail(1)) SWIG_fail
;
22582 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22584 wxDateTime
const &_result_ref
= ((wxDateEvent
const *)arg1
)->GetDate();
22585 result
= (wxDateTime
*) &_result_ref
;
22588 wxPyEndAllowThreads(__tstate
);
22589 if (PyErr_Occurred()) SWIG_fail
;
22591 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
22598 static PyObject
*_wrap_DateEvent_SetDate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22599 PyObject
*resultobj
;
22600 wxDateEvent
*arg1
= (wxDateEvent
*) 0 ;
22601 wxDateTime
*arg2
= 0 ;
22602 PyObject
* obj0
= 0 ;
22603 PyObject
* obj1
= 0 ;
22604 char *kwnames
[] = {
22605 (char *) "self",(char *) "date", NULL
22608 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateEvent_SetDate",kwnames
,&obj0
,&obj1
)) goto fail
;
22609 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateEvent
, SWIG_POINTER_EXCEPTION
| 0);
22610 if (SWIG_arg_fail(1)) SWIG_fail
;
22612 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22613 if (SWIG_arg_fail(2)) SWIG_fail
;
22614 if (arg2
== NULL
) {
22615 SWIG_null_ref("wxDateTime");
22617 if (SWIG_arg_fail(2)) SWIG_fail
;
22620 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22621 (arg1
)->SetDate((wxDateTime
const &)*arg2
);
22623 wxPyEndAllowThreads(__tstate
);
22624 if (PyErr_Occurred()) SWIG_fail
;
22626 Py_INCREF(Py_None
); resultobj
= Py_None
;
22633 static PyObject
* DateEvent_swigregister(PyObject
*, PyObject
*args
) {
22635 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
22636 SWIG_TypeClientData(SWIGTYPE_p_wxDateEvent
, obj
);
22638 return Py_BuildValue((char *)"");
22640 static PyObject
*_wrap_new_PyApp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22641 PyObject
*resultobj
;
22643 char *kwnames
[] = {
22647 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PyApp",kwnames
)) goto fail
;
22649 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22650 result
= (wxPyApp
*)new_wxPyApp();
22652 wxPyEndAllowThreads(__tstate
);
22653 if (PyErr_Occurred()) SWIG_fail
;
22655 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyApp
, 1);
22662 static PyObject
*_wrap_delete_PyApp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22663 PyObject
*resultobj
;
22664 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
22665 PyObject
* obj0
= 0 ;
22666 char *kwnames
[] = {
22667 (char *) "self", NULL
22670 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PyApp",kwnames
,&obj0
)) goto fail
;
22671 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
22672 if (SWIG_arg_fail(1)) SWIG_fail
;
22674 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22677 wxPyEndAllowThreads(__tstate
);
22678 if (PyErr_Occurred()) SWIG_fail
;
22680 Py_INCREF(Py_None
); resultobj
= Py_None
;
22687 static PyObject
*_wrap_PyApp__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22688 PyObject
*resultobj
;
22689 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
22690 PyObject
*arg2
= (PyObject
*) 0 ;
22691 PyObject
*arg3
= (PyObject
*) 0 ;
22693 PyObject
* obj0
= 0 ;
22694 PyObject
* obj1
= 0 ;
22695 PyObject
* obj2
= 0 ;
22696 PyObject
* obj3
= 0 ;
22697 char *kwnames
[] = {
22698 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
22701 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PyApp__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
22702 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
22703 if (SWIG_arg_fail(1)) SWIG_fail
;
22707 arg4
= (bool)(SWIG_As_bool(obj3
));
22708 if (SWIG_arg_fail(4)) SWIG_fail
;
22711 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22712 (arg1
)->_setCallbackInfo(arg2
,arg3
,arg4
);
22714 wxPyEndAllowThreads(__tstate
);
22715 if (PyErr_Occurred()) SWIG_fail
;
22717 Py_INCREF(Py_None
); resultobj
= Py_None
;
22724 static PyObject
*_wrap_PyApp_GetAppName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22725 PyObject
*resultobj
;
22726 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
22728 PyObject
* obj0
= 0 ;
22729 char *kwnames
[] = {
22730 (char *) "self", NULL
22733 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetAppName",kwnames
,&obj0
)) goto fail
;
22734 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
22735 if (SWIG_arg_fail(1)) SWIG_fail
;
22737 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22738 result
= ((wxPyApp
const *)arg1
)->GetAppName();
22740 wxPyEndAllowThreads(__tstate
);
22741 if (PyErr_Occurred()) SWIG_fail
;
22745 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
22747 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
22756 static PyObject
*_wrap_PyApp_SetAppName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22757 PyObject
*resultobj
;
22758 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
22759 wxString
*arg2
= 0 ;
22760 bool temp2
= false ;
22761 PyObject
* obj0
= 0 ;
22762 PyObject
* obj1
= 0 ;
22763 char *kwnames
[] = {
22764 (char *) "self",(char *) "name", NULL
22767 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetAppName",kwnames
,&obj0
,&obj1
)) goto fail
;
22768 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
22769 if (SWIG_arg_fail(1)) SWIG_fail
;
22771 arg2
= wxString_in_helper(obj1
);
22772 if (arg2
== NULL
) SWIG_fail
;
22776 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22777 (arg1
)->SetAppName((wxString
const &)*arg2
);
22779 wxPyEndAllowThreads(__tstate
);
22780 if (PyErr_Occurred()) SWIG_fail
;
22782 Py_INCREF(Py_None
); resultobj
= Py_None
;
22797 static PyObject
*_wrap_PyApp_GetClassName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22798 PyObject
*resultobj
;
22799 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
22801 PyObject
* obj0
= 0 ;
22802 char *kwnames
[] = {
22803 (char *) "self", NULL
22806 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetClassName",kwnames
,&obj0
)) goto fail
;
22807 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
22808 if (SWIG_arg_fail(1)) SWIG_fail
;
22810 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22811 result
= ((wxPyApp
const *)arg1
)->GetClassName();
22813 wxPyEndAllowThreads(__tstate
);
22814 if (PyErr_Occurred()) SWIG_fail
;
22818 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
22820 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
22829 static PyObject
*_wrap_PyApp_SetClassName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22830 PyObject
*resultobj
;
22831 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
22832 wxString
*arg2
= 0 ;
22833 bool temp2
= false ;
22834 PyObject
* obj0
= 0 ;
22835 PyObject
* obj1
= 0 ;
22836 char *kwnames
[] = {
22837 (char *) "self",(char *) "name", NULL
22840 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetClassName",kwnames
,&obj0
,&obj1
)) goto fail
;
22841 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
22842 if (SWIG_arg_fail(1)) SWIG_fail
;
22844 arg2
= wxString_in_helper(obj1
);
22845 if (arg2
== NULL
) SWIG_fail
;
22849 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22850 (arg1
)->SetClassName((wxString
const &)*arg2
);
22852 wxPyEndAllowThreads(__tstate
);
22853 if (PyErr_Occurred()) SWIG_fail
;
22855 Py_INCREF(Py_None
); resultobj
= Py_None
;
22870 static PyObject
*_wrap_PyApp_GetVendorName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22871 PyObject
*resultobj
;
22872 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
22874 PyObject
* obj0
= 0 ;
22875 char *kwnames
[] = {
22876 (char *) "self", NULL
22879 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetVendorName",kwnames
,&obj0
)) goto fail
;
22880 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
22881 if (SWIG_arg_fail(1)) SWIG_fail
;
22883 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22885 wxString
const &_result_ref
= ((wxPyApp
const *)arg1
)->GetVendorName();
22886 result
= (wxString
*) &_result_ref
;
22889 wxPyEndAllowThreads(__tstate
);
22890 if (PyErr_Occurred()) SWIG_fail
;
22894 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
22896 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
22905 static PyObject
*_wrap_PyApp_SetVendorName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22906 PyObject
*resultobj
;
22907 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
22908 wxString
*arg2
= 0 ;
22909 bool temp2
= false ;
22910 PyObject
* obj0
= 0 ;
22911 PyObject
* obj1
= 0 ;
22912 char *kwnames
[] = {
22913 (char *) "self",(char *) "name", NULL
22916 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetVendorName",kwnames
,&obj0
,&obj1
)) goto fail
;
22917 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
22918 if (SWIG_arg_fail(1)) SWIG_fail
;
22920 arg2
= wxString_in_helper(obj1
);
22921 if (arg2
== NULL
) SWIG_fail
;
22925 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22926 (arg1
)->SetVendorName((wxString
const &)*arg2
);
22928 wxPyEndAllowThreads(__tstate
);
22929 if (PyErr_Occurred()) SWIG_fail
;
22931 Py_INCREF(Py_None
); resultobj
= Py_None
;
22946 static PyObject
*_wrap_PyApp_GetTraits(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22947 PyObject
*resultobj
;
22948 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
22949 wxAppTraits
*result
;
22950 PyObject
* obj0
= 0 ;
22951 char *kwnames
[] = {
22952 (char *) "self", NULL
22955 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetTraits",kwnames
,&obj0
)) goto fail
;
22956 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
22957 if (SWIG_arg_fail(1)) SWIG_fail
;
22959 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22960 result
= (wxAppTraits
*)(arg1
)->GetTraits();
22962 wxPyEndAllowThreads(__tstate
);
22963 if (PyErr_Occurred()) SWIG_fail
;
22965 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxAppTraits
, 0);
22972 static PyObject
*_wrap_PyApp_ProcessPendingEvents(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22973 PyObject
*resultobj
;
22974 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
22975 PyObject
* obj0
= 0 ;
22976 char *kwnames
[] = {
22977 (char *) "self", NULL
22980 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_ProcessPendingEvents",kwnames
,&obj0
)) goto fail
;
22981 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
22982 if (SWIG_arg_fail(1)) SWIG_fail
;
22984 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22985 (arg1
)->ProcessPendingEvents();
22987 wxPyEndAllowThreads(__tstate
);
22988 if (PyErr_Occurred()) SWIG_fail
;
22990 Py_INCREF(Py_None
); resultobj
= Py_None
;
22997 static PyObject
*_wrap_PyApp_Yield(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22998 PyObject
*resultobj
;
22999 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
23000 bool arg2
= (bool) false ;
23002 PyObject
* obj0
= 0 ;
23003 PyObject
* obj1
= 0 ;
23004 char *kwnames
[] = {
23005 (char *) "self",(char *) "onlyIfNeeded", NULL
23008 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:PyApp_Yield",kwnames
,&obj0
,&obj1
)) goto fail
;
23009 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
23010 if (SWIG_arg_fail(1)) SWIG_fail
;
23013 arg2
= (bool)(SWIG_As_bool(obj1
));
23014 if (SWIG_arg_fail(2)) SWIG_fail
;
23018 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23019 result
= (bool)(arg1
)->Yield(arg2
);
23021 wxPyEndAllowThreads(__tstate
);
23022 if (PyErr_Occurred()) SWIG_fail
;
23025 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23033 static PyObject
*_wrap_PyApp_WakeUpIdle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23034 PyObject
*resultobj
;
23035 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
23036 PyObject
* obj0
= 0 ;
23037 char *kwnames
[] = {
23038 (char *) "self", NULL
23041 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_WakeUpIdle",kwnames
,&obj0
)) goto fail
;
23042 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
23043 if (SWIG_arg_fail(1)) SWIG_fail
;
23045 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23046 (arg1
)->WakeUpIdle();
23048 wxPyEndAllowThreads(__tstate
);
23049 if (PyErr_Occurred()) SWIG_fail
;
23051 Py_INCREF(Py_None
); resultobj
= Py_None
;
23058 static PyObject
*_wrap_PyApp_IsMainLoopRunning(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23059 PyObject
*resultobj
;
23061 char *kwnames
[] = {
23065 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PyApp_IsMainLoopRunning",kwnames
)) goto fail
;
23067 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23068 result
= (bool)wxPyApp::IsMainLoopRunning();
23070 wxPyEndAllowThreads(__tstate
);
23071 if (PyErr_Occurred()) SWIG_fail
;
23074 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23082 static PyObject
*_wrap_PyApp_MainLoop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23083 PyObject
*resultobj
;
23084 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
23086 PyObject
* obj0
= 0 ;
23087 char *kwnames
[] = {
23088 (char *) "self", NULL
23091 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_MainLoop",kwnames
,&obj0
)) goto fail
;
23092 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
23093 if (SWIG_arg_fail(1)) SWIG_fail
;
23095 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23096 result
= (int)(arg1
)->MainLoop();
23098 wxPyEndAllowThreads(__tstate
);
23099 if (PyErr_Occurred()) SWIG_fail
;
23102 resultobj
= SWIG_From_int((int)(result
));
23110 static PyObject
*_wrap_PyApp_Exit(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23111 PyObject
*resultobj
;
23112 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
23113 PyObject
* obj0
= 0 ;
23114 char *kwnames
[] = {
23115 (char *) "self", NULL
23118 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_Exit",kwnames
,&obj0
)) goto fail
;
23119 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
23120 if (SWIG_arg_fail(1)) SWIG_fail
;
23122 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23125 wxPyEndAllowThreads(__tstate
);
23126 if (PyErr_Occurred()) SWIG_fail
;
23128 Py_INCREF(Py_None
); resultobj
= Py_None
;
23135 static PyObject
*_wrap_PyApp_ExitMainLoop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23136 PyObject
*resultobj
;
23137 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
23138 PyObject
* obj0
= 0 ;
23139 char *kwnames
[] = {
23140 (char *) "self", NULL
23143 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_ExitMainLoop",kwnames
,&obj0
)) goto fail
;
23144 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
23145 if (SWIG_arg_fail(1)) SWIG_fail
;
23147 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23148 (arg1
)->ExitMainLoop();
23150 wxPyEndAllowThreads(__tstate
);
23151 if (PyErr_Occurred()) SWIG_fail
;
23153 Py_INCREF(Py_None
); resultobj
= Py_None
;
23160 static PyObject
*_wrap_PyApp_Pending(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23161 PyObject
*resultobj
;
23162 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
23164 PyObject
* obj0
= 0 ;
23165 char *kwnames
[] = {
23166 (char *) "self", NULL
23169 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_Pending",kwnames
,&obj0
)) goto fail
;
23170 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
23171 if (SWIG_arg_fail(1)) SWIG_fail
;
23173 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23174 result
= (bool)(arg1
)->Pending();
23176 wxPyEndAllowThreads(__tstate
);
23177 if (PyErr_Occurred()) SWIG_fail
;
23180 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23188 static PyObject
*_wrap_PyApp_Dispatch(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23189 PyObject
*resultobj
;
23190 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
23192 PyObject
* obj0
= 0 ;
23193 char *kwnames
[] = {
23194 (char *) "self", NULL
23197 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_Dispatch",kwnames
,&obj0
)) goto fail
;
23198 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
23199 if (SWIG_arg_fail(1)) SWIG_fail
;
23201 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23202 result
= (bool)(arg1
)->Dispatch();
23204 wxPyEndAllowThreads(__tstate
);
23205 if (PyErr_Occurred()) SWIG_fail
;
23208 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23216 static PyObject
*_wrap_PyApp_ProcessIdle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23217 PyObject
*resultobj
;
23218 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
23220 PyObject
* obj0
= 0 ;
23221 char *kwnames
[] = {
23222 (char *) "self", NULL
23225 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_ProcessIdle",kwnames
,&obj0
)) goto fail
;
23226 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
23227 if (SWIG_arg_fail(1)) SWIG_fail
;
23229 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23230 result
= (bool)(arg1
)->ProcessIdle();
23232 wxPyEndAllowThreads(__tstate
);
23233 if (PyErr_Occurred()) SWIG_fail
;
23236 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23244 static PyObject
*_wrap_PyApp_SendIdleEvents(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23245 PyObject
*resultobj
;
23246 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
23247 wxWindow
*arg2
= (wxWindow
*) 0 ;
23248 wxIdleEvent
*arg3
= 0 ;
23250 PyObject
* obj0
= 0 ;
23251 PyObject
* obj1
= 0 ;
23252 PyObject
* obj2
= 0 ;
23253 char *kwnames
[] = {
23254 (char *) "self",(char *) "win",(char *) "event", NULL
23257 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyApp_SendIdleEvents",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23258 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
23259 if (SWIG_arg_fail(1)) SWIG_fail
;
23260 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
23261 if (SWIG_arg_fail(2)) SWIG_fail
;
23263 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxIdleEvent
, SWIG_POINTER_EXCEPTION
| 0);
23264 if (SWIG_arg_fail(3)) SWIG_fail
;
23265 if (arg3
== NULL
) {
23266 SWIG_null_ref("wxIdleEvent");
23268 if (SWIG_arg_fail(3)) SWIG_fail
;
23271 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23272 result
= (bool)(arg1
)->SendIdleEvents(arg2
,*arg3
);
23274 wxPyEndAllowThreads(__tstate
);
23275 if (PyErr_Occurred()) SWIG_fail
;
23278 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23286 static PyObject
*_wrap_PyApp_IsActive(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23287 PyObject
*resultobj
;
23288 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
23290 PyObject
* obj0
= 0 ;
23291 char *kwnames
[] = {
23292 (char *) "self", NULL
23295 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_IsActive",kwnames
,&obj0
)) goto fail
;
23296 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
23297 if (SWIG_arg_fail(1)) SWIG_fail
;
23299 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23300 result
= (bool)((wxPyApp
const *)arg1
)->IsActive();
23302 wxPyEndAllowThreads(__tstate
);
23303 if (PyErr_Occurred()) SWIG_fail
;
23306 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23314 static PyObject
*_wrap_PyApp_SetTopWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23315 PyObject
*resultobj
;
23316 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
23317 wxWindow
*arg2
= (wxWindow
*) 0 ;
23318 PyObject
* obj0
= 0 ;
23319 PyObject
* obj1
= 0 ;
23320 char *kwnames
[] = {
23321 (char *) "self",(char *) "win", NULL
23324 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetTopWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
23325 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
23326 if (SWIG_arg_fail(1)) SWIG_fail
;
23327 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
23328 if (SWIG_arg_fail(2)) SWIG_fail
;
23330 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23331 (arg1
)->SetTopWindow(arg2
);
23333 wxPyEndAllowThreads(__tstate
);
23334 if (PyErr_Occurred()) SWIG_fail
;
23336 Py_INCREF(Py_None
); resultobj
= Py_None
;
23343 static PyObject
*_wrap_PyApp_GetTopWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23344 PyObject
*resultobj
;
23345 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
23347 PyObject
* obj0
= 0 ;
23348 char *kwnames
[] = {
23349 (char *) "self", NULL
23352 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetTopWindow",kwnames
,&obj0
)) goto fail
;
23353 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
23354 if (SWIG_arg_fail(1)) SWIG_fail
;
23356 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23357 result
= (wxWindow
*)((wxPyApp
const *)arg1
)->GetTopWindow();
23359 wxPyEndAllowThreads(__tstate
);
23360 if (PyErr_Occurred()) SWIG_fail
;
23363 resultobj
= wxPyMake_wxObject(result
, 0);
23371 static PyObject
*_wrap_PyApp_SetExitOnFrameDelete(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23372 PyObject
*resultobj
;
23373 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
23375 PyObject
* obj0
= 0 ;
23376 PyObject
* obj1
= 0 ;
23377 char *kwnames
[] = {
23378 (char *) "self",(char *) "flag", NULL
23381 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetExitOnFrameDelete",kwnames
,&obj0
,&obj1
)) goto fail
;
23382 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
23383 if (SWIG_arg_fail(1)) SWIG_fail
;
23385 arg2
= (bool)(SWIG_As_bool(obj1
));
23386 if (SWIG_arg_fail(2)) SWIG_fail
;
23389 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23390 (arg1
)->SetExitOnFrameDelete(arg2
);
23392 wxPyEndAllowThreads(__tstate
);
23393 if (PyErr_Occurred()) SWIG_fail
;
23395 Py_INCREF(Py_None
); resultobj
= Py_None
;
23402 static PyObject
*_wrap_PyApp_GetExitOnFrameDelete(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23403 PyObject
*resultobj
;
23404 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
23406 PyObject
* obj0
= 0 ;
23407 char *kwnames
[] = {
23408 (char *) "self", NULL
23411 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetExitOnFrameDelete",kwnames
,&obj0
)) goto fail
;
23412 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
23413 if (SWIG_arg_fail(1)) SWIG_fail
;
23415 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23416 result
= (bool)((wxPyApp
const *)arg1
)->GetExitOnFrameDelete();
23418 wxPyEndAllowThreads(__tstate
);
23419 if (PyErr_Occurred()) SWIG_fail
;
23422 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23430 static PyObject
*_wrap_PyApp_SetUseBestVisual(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23431 PyObject
*resultobj
;
23432 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
23434 PyObject
* obj0
= 0 ;
23435 PyObject
* obj1
= 0 ;
23436 char *kwnames
[] = {
23437 (char *) "self",(char *) "flag", NULL
23440 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetUseBestVisual",kwnames
,&obj0
,&obj1
)) goto fail
;
23441 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
23442 if (SWIG_arg_fail(1)) SWIG_fail
;
23444 arg2
= (bool)(SWIG_As_bool(obj1
));
23445 if (SWIG_arg_fail(2)) SWIG_fail
;
23448 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23449 (arg1
)->SetUseBestVisual(arg2
);
23451 wxPyEndAllowThreads(__tstate
);
23452 if (PyErr_Occurred()) SWIG_fail
;
23454 Py_INCREF(Py_None
); resultobj
= Py_None
;
23461 static PyObject
*_wrap_PyApp_GetUseBestVisual(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23462 PyObject
*resultobj
;
23463 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
23465 PyObject
* obj0
= 0 ;
23466 char *kwnames
[] = {
23467 (char *) "self", NULL
23470 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetUseBestVisual",kwnames
,&obj0
)) goto fail
;
23471 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
23472 if (SWIG_arg_fail(1)) SWIG_fail
;
23474 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23475 result
= (bool)((wxPyApp
const *)arg1
)->GetUseBestVisual();
23477 wxPyEndAllowThreads(__tstate
);
23478 if (PyErr_Occurred()) SWIG_fail
;
23481 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23489 static PyObject
*_wrap_PyApp_SetPrintMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23490 PyObject
*resultobj
;
23491 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
23493 PyObject
* obj0
= 0 ;
23494 PyObject
* obj1
= 0 ;
23495 char *kwnames
[] = {
23496 (char *) "self",(char *) "mode", NULL
23499 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetPrintMode",kwnames
,&obj0
,&obj1
)) goto fail
;
23500 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
23501 if (SWIG_arg_fail(1)) SWIG_fail
;
23503 arg2
= (int)(SWIG_As_int(obj1
));
23504 if (SWIG_arg_fail(2)) SWIG_fail
;
23507 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23508 (arg1
)->SetPrintMode(arg2
);
23510 wxPyEndAllowThreads(__tstate
);
23511 if (PyErr_Occurred()) SWIG_fail
;
23513 Py_INCREF(Py_None
); resultobj
= Py_None
;
23520 static PyObject
*_wrap_PyApp_GetPrintMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23521 PyObject
*resultobj
;
23522 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
23524 PyObject
* obj0
= 0 ;
23525 char *kwnames
[] = {
23526 (char *) "self", NULL
23529 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetPrintMode",kwnames
,&obj0
)) goto fail
;
23530 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
23531 if (SWIG_arg_fail(1)) SWIG_fail
;
23533 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23534 result
= (int)((wxPyApp
const *)arg1
)->GetPrintMode();
23536 wxPyEndAllowThreads(__tstate
);
23537 if (PyErr_Occurred()) SWIG_fail
;
23540 resultobj
= SWIG_From_int((int)(result
));
23548 static PyObject
*_wrap_PyApp_SetAssertMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23549 PyObject
*resultobj
;
23550 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
23552 PyObject
* obj0
= 0 ;
23553 PyObject
* obj1
= 0 ;
23554 char *kwnames
[] = {
23555 (char *) "self",(char *) "mode", NULL
23558 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetAssertMode",kwnames
,&obj0
,&obj1
)) goto fail
;
23559 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
23560 if (SWIG_arg_fail(1)) SWIG_fail
;
23562 arg2
= (int)(SWIG_As_int(obj1
));
23563 if (SWIG_arg_fail(2)) SWIG_fail
;
23566 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23567 (arg1
)->SetAssertMode(arg2
);
23569 wxPyEndAllowThreads(__tstate
);
23570 if (PyErr_Occurred()) SWIG_fail
;
23572 Py_INCREF(Py_None
); resultobj
= Py_None
;
23579 static PyObject
*_wrap_PyApp_GetAssertMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23580 PyObject
*resultobj
;
23581 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
23583 PyObject
* obj0
= 0 ;
23584 char *kwnames
[] = {
23585 (char *) "self", NULL
23588 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetAssertMode",kwnames
,&obj0
)) goto fail
;
23589 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
23590 if (SWIG_arg_fail(1)) SWIG_fail
;
23592 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23593 result
= (int)(arg1
)->GetAssertMode();
23595 wxPyEndAllowThreads(__tstate
);
23596 if (PyErr_Occurred()) SWIG_fail
;
23599 resultobj
= SWIG_From_int((int)(result
));
23607 static PyObject
*_wrap_PyApp_GetMacSupportPCMenuShortcuts(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23608 PyObject
*resultobj
;
23610 char *kwnames
[] = {
23614 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PyApp_GetMacSupportPCMenuShortcuts",kwnames
)) goto fail
;
23616 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23617 result
= (bool)wxPyApp::GetMacSupportPCMenuShortcuts();
23619 wxPyEndAllowThreads(__tstate
);
23620 if (PyErr_Occurred()) SWIG_fail
;
23623 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23631 static PyObject
*_wrap_PyApp_GetMacAboutMenuItemId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23632 PyObject
*resultobj
;
23634 char *kwnames
[] = {
23638 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PyApp_GetMacAboutMenuItemId",kwnames
)) goto fail
;
23640 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23641 result
= (long)wxPyApp::GetMacAboutMenuItemId();
23643 wxPyEndAllowThreads(__tstate
);
23644 if (PyErr_Occurred()) SWIG_fail
;
23647 resultobj
= SWIG_From_long((long)(result
));
23655 static PyObject
*_wrap_PyApp_GetMacPreferencesMenuItemId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23656 PyObject
*resultobj
;
23658 char *kwnames
[] = {
23662 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PyApp_GetMacPreferencesMenuItemId",kwnames
)) goto fail
;
23664 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23665 result
= (long)wxPyApp::GetMacPreferencesMenuItemId();
23667 wxPyEndAllowThreads(__tstate
);
23668 if (PyErr_Occurred()) SWIG_fail
;
23671 resultobj
= SWIG_From_long((long)(result
));
23679 static PyObject
*_wrap_PyApp_GetMacExitMenuItemId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23680 PyObject
*resultobj
;
23682 char *kwnames
[] = {
23686 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PyApp_GetMacExitMenuItemId",kwnames
)) goto fail
;
23688 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23689 result
= (long)wxPyApp::GetMacExitMenuItemId();
23691 wxPyEndAllowThreads(__tstate
);
23692 if (PyErr_Occurred()) SWIG_fail
;
23695 resultobj
= SWIG_From_long((long)(result
));
23703 static PyObject
*_wrap_PyApp_GetMacHelpMenuTitleName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23704 PyObject
*resultobj
;
23706 char *kwnames
[] = {
23710 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PyApp_GetMacHelpMenuTitleName",kwnames
)) goto fail
;
23712 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23713 result
= wxPyApp::GetMacHelpMenuTitleName();
23715 wxPyEndAllowThreads(__tstate
);
23716 if (PyErr_Occurred()) SWIG_fail
;
23720 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
23722 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
23731 static PyObject
*_wrap_PyApp_SetMacSupportPCMenuShortcuts(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23732 PyObject
*resultobj
;
23734 PyObject
* obj0
= 0 ;
23735 char *kwnames
[] = {
23736 (char *) "val", NULL
23739 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_SetMacSupportPCMenuShortcuts",kwnames
,&obj0
)) goto fail
;
23741 arg1
= (bool)(SWIG_As_bool(obj0
));
23742 if (SWIG_arg_fail(1)) SWIG_fail
;
23745 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23746 wxPyApp::SetMacSupportPCMenuShortcuts(arg1
);
23748 wxPyEndAllowThreads(__tstate
);
23749 if (PyErr_Occurred()) SWIG_fail
;
23751 Py_INCREF(Py_None
); resultobj
= Py_None
;
23758 static PyObject
*_wrap_PyApp_SetMacAboutMenuItemId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23759 PyObject
*resultobj
;
23761 PyObject
* obj0
= 0 ;
23762 char *kwnames
[] = {
23763 (char *) "val", NULL
23766 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_SetMacAboutMenuItemId",kwnames
,&obj0
)) goto fail
;
23768 arg1
= (long)(SWIG_As_long(obj0
));
23769 if (SWIG_arg_fail(1)) SWIG_fail
;
23772 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23773 wxPyApp::SetMacAboutMenuItemId(arg1
);
23775 wxPyEndAllowThreads(__tstate
);
23776 if (PyErr_Occurred()) SWIG_fail
;
23778 Py_INCREF(Py_None
); resultobj
= Py_None
;
23785 static PyObject
*_wrap_PyApp_SetMacPreferencesMenuItemId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23786 PyObject
*resultobj
;
23788 PyObject
* obj0
= 0 ;
23789 char *kwnames
[] = {
23790 (char *) "val", NULL
23793 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_SetMacPreferencesMenuItemId",kwnames
,&obj0
)) goto fail
;
23795 arg1
= (long)(SWIG_As_long(obj0
));
23796 if (SWIG_arg_fail(1)) SWIG_fail
;
23799 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23800 wxPyApp::SetMacPreferencesMenuItemId(arg1
);
23802 wxPyEndAllowThreads(__tstate
);
23803 if (PyErr_Occurred()) SWIG_fail
;
23805 Py_INCREF(Py_None
); resultobj
= Py_None
;
23812 static PyObject
*_wrap_PyApp_SetMacExitMenuItemId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23813 PyObject
*resultobj
;
23815 PyObject
* obj0
= 0 ;
23816 char *kwnames
[] = {
23817 (char *) "val", NULL
23820 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_SetMacExitMenuItemId",kwnames
,&obj0
)) goto fail
;
23822 arg1
= (long)(SWIG_As_long(obj0
));
23823 if (SWIG_arg_fail(1)) SWIG_fail
;
23826 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23827 wxPyApp::SetMacExitMenuItemId(arg1
);
23829 wxPyEndAllowThreads(__tstate
);
23830 if (PyErr_Occurred()) SWIG_fail
;
23832 Py_INCREF(Py_None
); resultobj
= Py_None
;
23839 static PyObject
*_wrap_PyApp_SetMacHelpMenuTitleName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23840 PyObject
*resultobj
;
23841 wxString
*arg1
= 0 ;
23842 bool temp1
= false ;
23843 PyObject
* obj0
= 0 ;
23844 char *kwnames
[] = {
23845 (char *) "val", NULL
23848 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_SetMacHelpMenuTitleName",kwnames
,&obj0
)) goto fail
;
23850 arg1
= wxString_in_helper(obj0
);
23851 if (arg1
== NULL
) SWIG_fail
;
23855 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23856 wxPyApp::SetMacHelpMenuTitleName((wxString
const &)*arg1
);
23858 wxPyEndAllowThreads(__tstate
);
23859 if (PyErr_Occurred()) SWIG_fail
;
23861 Py_INCREF(Py_None
); resultobj
= Py_None
;
23876 static PyObject
*_wrap_PyApp__BootstrapApp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23877 PyObject
*resultobj
;
23878 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
23879 PyObject
* obj0
= 0 ;
23880 char *kwnames
[] = {
23881 (char *) "self", NULL
23884 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp__BootstrapApp",kwnames
,&obj0
)) goto fail
;
23885 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
23886 if (SWIG_arg_fail(1)) SWIG_fail
;
23888 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23889 (arg1
)->_BootstrapApp();
23891 wxPyEndAllowThreads(__tstate
);
23892 if (PyErr_Occurred()) SWIG_fail
;
23894 Py_INCREF(Py_None
); resultobj
= Py_None
;
23901 static PyObject
*_wrap_PyApp_GetComCtl32Version(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23902 PyObject
*resultobj
;
23904 char *kwnames
[] = {
23908 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PyApp_GetComCtl32Version",kwnames
)) goto fail
;
23910 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23911 result
= (int)PyApp_GetComCtl32Version();
23913 wxPyEndAllowThreads(__tstate
);
23914 if (PyErr_Occurred()) SWIG_fail
;
23917 resultobj
= SWIG_From_int((int)(result
));
23925 static PyObject
* PyApp_swigregister(PyObject
*, PyObject
*args
) {
23927 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
23928 SWIG_TypeClientData(SWIGTYPE_p_wxPyApp
, obj
);
23930 return Py_BuildValue((char *)"");
23932 static PyObject
*_wrap_Exit(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23933 PyObject
*resultobj
;
23934 char *kwnames
[] = {
23938 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Exit",kwnames
)) goto fail
;
23940 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23943 wxPyEndAllowThreads(__tstate
);
23944 if (PyErr_Occurred()) SWIG_fail
;
23946 Py_INCREF(Py_None
); resultobj
= Py_None
;
23953 static PyObject
*_wrap_Yield(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23954 PyObject
*resultobj
;
23956 char *kwnames
[] = {
23960 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Yield",kwnames
)) goto fail
;
23962 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23963 result
= (bool)wxYield();
23965 wxPyEndAllowThreads(__tstate
);
23966 if (PyErr_Occurred()) SWIG_fail
;
23969 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23977 static PyObject
*_wrap_YieldIfNeeded(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23978 PyObject
*resultobj
;
23980 char *kwnames
[] = {
23984 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":YieldIfNeeded",kwnames
)) goto fail
;
23986 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23987 result
= (bool)wxYieldIfNeeded();
23989 wxPyEndAllowThreads(__tstate
);
23990 if (PyErr_Occurred()) SWIG_fail
;
23993 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24001 static PyObject
*_wrap_SafeYield(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24002 PyObject
*resultobj
;
24003 wxWindow
*arg1
= (wxWindow
*) NULL
;
24004 bool arg2
= (bool) false ;
24006 PyObject
* obj0
= 0 ;
24007 PyObject
* obj1
= 0 ;
24008 char *kwnames
[] = {
24009 (char *) "win",(char *) "onlyIfNeeded", NULL
24012 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:SafeYield",kwnames
,&obj0
,&obj1
)) goto fail
;
24014 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
24015 if (SWIG_arg_fail(1)) SWIG_fail
;
24019 arg2
= (bool)(SWIG_As_bool(obj1
));
24020 if (SWIG_arg_fail(2)) SWIG_fail
;
24024 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24025 result
= (bool)wxSafeYield(arg1
,arg2
);
24027 wxPyEndAllowThreads(__tstate
);
24028 if (PyErr_Occurred()) SWIG_fail
;
24031 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24039 static PyObject
*_wrap_WakeUpIdle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24040 PyObject
*resultobj
;
24041 char *kwnames
[] = {
24045 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":WakeUpIdle",kwnames
)) goto fail
;
24047 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24050 wxPyEndAllowThreads(__tstate
);
24051 if (PyErr_Occurred()) SWIG_fail
;
24053 Py_INCREF(Py_None
); resultobj
= Py_None
;
24060 static PyObject
*_wrap_PostEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24061 PyObject
*resultobj
;
24062 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
24063 wxEvent
*arg2
= 0 ;
24064 PyObject
* obj0
= 0 ;
24065 PyObject
* obj1
= 0 ;
24066 char *kwnames
[] = {
24067 (char *) "dest",(char *) "event", NULL
24070 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PostEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
24071 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
24072 if (SWIG_arg_fail(1)) SWIG_fail
;
24074 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
24075 if (SWIG_arg_fail(2)) SWIG_fail
;
24076 if (arg2
== NULL
) {
24077 SWIG_null_ref("wxEvent");
24079 if (SWIG_arg_fail(2)) SWIG_fail
;
24082 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24083 wxPostEvent(arg1
,*arg2
);
24085 wxPyEndAllowThreads(__tstate
);
24086 if (PyErr_Occurred()) SWIG_fail
;
24088 Py_INCREF(Py_None
); resultobj
= Py_None
;
24095 static PyObject
*_wrap_App_CleanUp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24096 PyObject
*resultobj
;
24097 char *kwnames
[] = {
24101 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":App_CleanUp",kwnames
)) goto fail
;
24103 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24106 wxPyEndAllowThreads(__tstate
);
24107 if (PyErr_Occurred()) SWIG_fail
;
24109 Py_INCREF(Py_None
); resultobj
= Py_None
;
24116 static PyObject
*_wrap_GetApp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24117 PyObject
*resultobj
;
24119 char *kwnames
[] = {
24123 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetApp",kwnames
)) goto fail
;
24125 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24126 result
= (wxPyApp
*)wxPyGetApp();
24128 wxPyEndAllowThreads(__tstate
);
24129 if (PyErr_Occurred()) SWIG_fail
;
24132 resultobj
= wxPyMake_wxObject(result
, 0);
24140 static PyObject
*_wrap_SetDefaultPyEncoding(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24141 PyObject
*resultobj
;
24142 char *arg1
= (char *) 0 ;
24143 PyObject
* obj0
= 0 ;
24144 char *kwnames
[] = {
24145 (char *) "encoding", NULL
24148 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SetDefaultPyEncoding",kwnames
,&obj0
)) goto fail
;
24149 if (!SWIG_AsCharPtr(obj0
, (char**)&arg1
)) {
24150 SWIG_arg_fail(1);SWIG_fail
;
24153 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24154 wxSetDefaultPyEncoding((char const *)arg1
);
24156 wxPyEndAllowThreads(__tstate
);
24157 if (PyErr_Occurred()) SWIG_fail
;
24159 Py_INCREF(Py_None
); resultobj
= Py_None
;
24166 static PyObject
*_wrap_GetDefaultPyEncoding(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24167 PyObject
*resultobj
;
24169 char *kwnames
[] = {
24173 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetDefaultPyEncoding",kwnames
)) goto fail
;
24175 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24176 result
= (char *)wxGetDefaultPyEncoding();
24178 wxPyEndAllowThreads(__tstate
);
24179 if (PyErr_Occurred()) SWIG_fail
;
24181 resultobj
= SWIG_FromCharPtr(result
);
24188 static PyObject
*_wrap_new_EventLoop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24189 PyObject
*resultobj
;
24190 wxEventLoop
*result
;
24191 char *kwnames
[] = {
24195 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_EventLoop",kwnames
)) goto fail
;
24197 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24198 result
= (wxEventLoop
*)new wxEventLoop();
24200 wxPyEndAllowThreads(__tstate
);
24201 if (PyErr_Occurred()) SWIG_fail
;
24203 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxEventLoop
, 1);
24210 static PyObject
*_wrap_delete_EventLoop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24211 PyObject
*resultobj
;
24212 wxEventLoop
*arg1
= (wxEventLoop
*) 0 ;
24213 PyObject
* obj0
= 0 ;
24214 char *kwnames
[] = {
24215 (char *) "self", NULL
24218 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_EventLoop",kwnames
,&obj0
)) goto fail
;
24219 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEventLoop
, SWIG_POINTER_EXCEPTION
| 0);
24220 if (SWIG_arg_fail(1)) SWIG_fail
;
24222 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24225 wxPyEndAllowThreads(__tstate
);
24226 if (PyErr_Occurred()) SWIG_fail
;
24228 Py_INCREF(Py_None
); resultobj
= Py_None
;
24235 static PyObject
*_wrap_EventLoop_Run(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24236 PyObject
*resultobj
;
24237 wxEventLoop
*arg1
= (wxEventLoop
*) 0 ;
24239 PyObject
* obj0
= 0 ;
24240 char *kwnames
[] = {
24241 (char *) "self", NULL
24244 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EventLoop_Run",kwnames
,&obj0
)) goto fail
;
24245 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEventLoop
, SWIG_POINTER_EXCEPTION
| 0);
24246 if (SWIG_arg_fail(1)) SWIG_fail
;
24248 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24249 result
= (int)(arg1
)->Run();
24251 wxPyEndAllowThreads(__tstate
);
24252 if (PyErr_Occurred()) SWIG_fail
;
24255 resultobj
= SWIG_From_int((int)(result
));
24263 static PyObject
*_wrap_EventLoop_Exit(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24264 PyObject
*resultobj
;
24265 wxEventLoop
*arg1
= (wxEventLoop
*) 0 ;
24266 int arg2
= (int) 0 ;
24267 PyObject
* obj0
= 0 ;
24268 PyObject
* obj1
= 0 ;
24269 char *kwnames
[] = {
24270 (char *) "self",(char *) "rc", NULL
24273 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:EventLoop_Exit",kwnames
,&obj0
,&obj1
)) goto fail
;
24274 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEventLoop
, SWIG_POINTER_EXCEPTION
| 0);
24275 if (SWIG_arg_fail(1)) SWIG_fail
;
24278 arg2
= (int)(SWIG_As_int(obj1
));
24279 if (SWIG_arg_fail(2)) SWIG_fail
;
24283 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24284 (arg1
)->Exit(arg2
);
24286 wxPyEndAllowThreads(__tstate
);
24287 if (PyErr_Occurred()) SWIG_fail
;
24289 Py_INCREF(Py_None
); resultobj
= Py_None
;
24296 static PyObject
*_wrap_EventLoop_Pending(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24297 PyObject
*resultobj
;
24298 wxEventLoop
*arg1
= (wxEventLoop
*) 0 ;
24300 PyObject
* obj0
= 0 ;
24301 char *kwnames
[] = {
24302 (char *) "self", NULL
24305 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EventLoop_Pending",kwnames
,&obj0
)) goto fail
;
24306 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEventLoop
, SWIG_POINTER_EXCEPTION
| 0);
24307 if (SWIG_arg_fail(1)) SWIG_fail
;
24309 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24310 result
= (bool)((wxEventLoop
const *)arg1
)->Pending();
24312 wxPyEndAllowThreads(__tstate
);
24313 if (PyErr_Occurred()) SWIG_fail
;
24316 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24324 static PyObject
*_wrap_EventLoop_Dispatch(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24325 PyObject
*resultobj
;
24326 wxEventLoop
*arg1
= (wxEventLoop
*) 0 ;
24328 PyObject
* obj0
= 0 ;
24329 char *kwnames
[] = {
24330 (char *) "self", NULL
24333 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EventLoop_Dispatch",kwnames
,&obj0
)) goto fail
;
24334 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEventLoop
, SWIG_POINTER_EXCEPTION
| 0);
24335 if (SWIG_arg_fail(1)) SWIG_fail
;
24337 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24338 result
= (bool)(arg1
)->Dispatch();
24340 wxPyEndAllowThreads(__tstate
);
24341 if (PyErr_Occurred()) SWIG_fail
;
24344 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24352 static PyObject
*_wrap_EventLoop_IsRunning(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24353 PyObject
*resultobj
;
24354 wxEventLoop
*arg1
= (wxEventLoop
*) 0 ;
24356 PyObject
* obj0
= 0 ;
24357 char *kwnames
[] = {
24358 (char *) "self", NULL
24361 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EventLoop_IsRunning",kwnames
,&obj0
)) goto fail
;
24362 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEventLoop
, SWIG_POINTER_EXCEPTION
| 0);
24363 if (SWIG_arg_fail(1)) SWIG_fail
;
24365 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24366 result
= (bool)((wxEventLoop
const *)arg1
)->IsRunning();
24368 wxPyEndAllowThreads(__tstate
);
24369 if (PyErr_Occurred()) SWIG_fail
;
24372 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24380 static PyObject
*_wrap_EventLoop_GetActive(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24381 PyObject
*resultobj
;
24382 wxEventLoop
*result
;
24383 char *kwnames
[] = {
24387 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":EventLoop_GetActive",kwnames
)) goto fail
;
24389 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24390 result
= (wxEventLoop
*)wxEventLoop::GetActive();
24392 wxPyEndAllowThreads(__tstate
);
24393 if (PyErr_Occurred()) SWIG_fail
;
24395 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxEventLoop
, 0);
24402 static PyObject
*_wrap_EventLoop_SetActive(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24403 PyObject
*resultobj
;
24404 wxEventLoop
*arg1
= (wxEventLoop
*) 0 ;
24405 PyObject
* obj0
= 0 ;
24406 char *kwnames
[] = {
24407 (char *) "loop", NULL
24410 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EventLoop_SetActive",kwnames
,&obj0
)) goto fail
;
24411 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEventLoop
, SWIG_POINTER_EXCEPTION
| 0);
24412 if (SWIG_arg_fail(1)) SWIG_fail
;
24414 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24415 wxEventLoop::SetActive(arg1
);
24417 wxPyEndAllowThreads(__tstate
);
24418 if (PyErr_Occurred()) SWIG_fail
;
24420 Py_INCREF(Py_None
); resultobj
= Py_None
;
24427 static PyObject
* EventLoop_swigregister(PyObject
*, PyObject
*args
) {
24429 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24430 SWIG_TypeClientData(SWIGTYPE_p_wxEventLoop
, obj
);
24432 return Py_BuildValue((char *)"");
24434 static PyObject
*_wrap_new_AcceleratorEntry(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24435 PyObject
*resultobj
;
24436 int arg1
= (int) 0 ;
24437 int arg2
= (int) 0 ;
24438 int arg3
= (int) 0 ;
24439 wxAcceleratorEntry
*result
;
24440 PyObject
* obj0
= 0 ;
24441 PyObject
* obj1
= 0 ;
24442 PyObject
* obj2
= 0 ;
24443 char *kwnames
[] = {
24444 (char *) "flags",(char *) "keyCode",(char *) "cmdID", NULL
24447 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_AcceleratorEntry",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24450 arg1
= (int)(SWIG_As_int(obj0
));
24451 if (SWIG_arg_fail(1)) SWIG_fail
;
24456 arg2
= (int)(SWIG_As_int(obj1
));
24457 if (SWIG_arg_fail(2)) SWIG_fail
;
24462 arg3
= (int)(SWIG_As_int(obj2
));
24463 if (SWIG_arg_fail(3)) SWIG_fail
;
24467 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24468 result
= (wxAcceleratorEntry
*)new wxAcceleratorEntry(arg1
,arg2
,arg3
);
24470 wxPyEndAllowThreads(__tstate
);
24471 if (PyErr_Occurred()) SWIG_fail
;
24473 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxAcceleratorEntry
, 1);
24480 static PyObject
*_wrap_delete_AcceleratorEntry(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24481 PyObject
*resultobj
;
24482 wxAcceleratorEntry
*arg1
= (wxAcceleratorEntry
*) 0 ;
24483 PyObject
* obj0
= 0 ;
24484 char *kwnames
[] = {
24485 (char *) "self", NULL
24488 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_AcceleratorEntry",kwnames
,&obj0
)) goto fail
;
24489 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxAcceleratorEntry
, SWIG_POINTER_EXCEPTION
| 0);
24490 if (SWIG_arg_fail(1)) SWIG_fail
;
24492 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24495 wxPyEndAllowThreads(__tstate
);
24496 if (PyErr_Occurred()) SWIG_fail
;
24498 Py_INCREF(Py_None
); resultobj
= Py_None
;
24505 static PyObject
*_wrap_AcceleratorEntry_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24506 PyObject
*resultobj
;
24507 wxAcceleratorEntry
*arg1
= (wxAcceleratorEntry
*) 0 ;
24511 PyObject
* obj0
= 0 ;
24512 PyObject
* obj1
= 0 ;
24513 PyObject
* obj2
= 0 ;
24514 PyObject
* obj3
= 0 ;
24515 char *kwnames
[] = {
24516 (char *) "self",(char *) "flags",(char *) "keyCode",(char *) "cmd", NULL
24519 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:AcceleratorEntry_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
24520 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxAcceleratorEntry
, SWIG_POINTER_EXCEPTION
| 0);
24521 if (SWIG_arg_fail(1)) SWIG_fail
;
24523 arg2
= (int)(SWIG_As_int(obj1
));
24524 if (SWIG_arg_fail(2)) SWIG_fail
;
24527 arg3
= (int)(SWIG_As_int(obj2
));
24528 if (SWIG_arg_fail(3)) SWIG_fail
;
24531 arg4
= (int)(SWIG_As_int(obj3
));
24532 if (SWIG_arg_fail(4)) SWIG_fail
;
24535 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24536 (arg1
)->Set(arg2
,arg3
,arg4
);
24538 wxPyEndAllowThreads(__tstate
);
24539 if (PyErr_Occurred()) SWIG_fail
;
24541 Py_INCREF(Py_None
); resultobj
= Py_None
;
24548 static PyObject
*_wrap_AcceleratorEntry_GetFlags(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24549 PyObject
*resultobj
;
24550 wxAcceleratorEntry
*arg1
= (wxAcceleratorEntry
*) 0 ;
24552 PyObject
* obj0
= 0 ;
24553 char *kwnames
[] = {
24554 (char *) "self", NULL
24557 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:AcceleratorEntry_GetFlags",kwnames
,&obj0
)) goto fail
;
24558 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxAcceleratorEntry
, SWIG_POINTER_EXCEPTION
| 0);
24559 if (SWIG_arg_fail(1)) SWIG_fail
;
24561 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24562 result
= (int)(arg1
)->GetFlags();
24564 wxPyEndAllowThreads(__tstate
);
24565 if (PyErr_Occurred()) SWIG_fail
;
24568 resultobj
= SWIG_From_int((int)(result
));
24576 static PyObject
*_wrap_AcceleratorEntry_GetKeyCode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24577 PyObject
*resultobj
;
24578 wxAcceleratorEntry
*arg1
= (wxAcceleratorEntry
*) 0 ;
24580 PyObject
* obj0
= 0 ;
24581 char *kwnames
[] = {
24582 (char *) "self", NULL
24585 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:AcceleratorEntry_GetKeyCode",kwnames
,&obj0
)) goto fail
;
24586 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxAcceleratorEntry
, SWIG_POINTER_EXCEPTION
| 0);
24587 if (SWIG_arg_fail(1)) SWIG_fail
;
24589 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24590 result
= (int)(arg1
)->GetKeyCode();
24592 wxPyEndAllowThreads(__tstate
);
24593 if (PyErr_Occurred()) SWIG_fail
;
24596 resultobj
= SWIG_From_int((int)(result
));
24604 static PyObject
*_wrap_AcceleratorEntry_GetCommand(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24605 PyObject
*resultobj
;
24606 wxAcceleratorEntry
*arg1
= (wxAcceleratorEntry
*) 0 ;
24608 PyObject
* obj0
= 0 ;
24609 char *kwnames
[] = {
24610 (char *) "self", NULL
24613 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:AcceleratorEntry_GetCommand",kwnames
,&obj0
)) goto fail
;
24614 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxAcceleratorEntry
, SWIG_POINTER_EXCEPTION
| 0);
24615 if (SWIG_arg_fail(1)) SWIG_fail
;
24617 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24618 result
= (int)(arg1
)->GetCommand();
24620 wxPyEndAllowThreads(__tstate
);
24621 if (PyErr_Occurred()) SWIG_fail
;
24624 resultobj
= SWIG_From_int((int)(result
));
24632 static PyObject
* AcceleratorEntry_swigregister(PyObject
*, PyObject
*args
) {
24634 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24635 SWIG_TypeClientData(SWIGTYPE_p_wxAcceleratorEntry
, obj
);
24637 return Py_BuildValue((char *)"");
24639 static PyObject
*_wrap_new_AcceleratorTable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24640 PyObject
*resultobj
;
24642 wxAcceleratorEntry
*arg2
= (wxAcceleratorEntry
*) 0 ;
24643 wxAcceleratorTable
*result
;
24644 PyObject
* obj0
= 0 ;
24645 char *kwnames
[] = {
24649 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_AcceleratorTable",kwnames
,&obj0
)) goto fail
;
24651 arg2
= wxAcceleratorEntry_LIST_helper(obj0
);
24652 if (arg2
) arg1
= PyList_Size(obj0
);
24656 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24657 result
= (wxAcceleratorTable
*)new wxAcceleratorTable(arg1
,(wxAcceleratorEntry
const *)arg2
);
24659 wxPyEndAllowThreads(__tstate
);
24660 if (PyErr_Occurred()) SWIG_fail
;
24662 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxAcceleratorTable
, 1);
24675 static PyObject
*_wrap_delete_AcceleratorTable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24676 PyObject
*resultobj
;
24677 wxAcceleratorTable
*arg1
= (wxAcceleratorTable
*) 0 ;
24678 PyObject
* obj0
= 0 ;
24679 char *kwnames
[] = {
24680 (char *) "self", NULL
24683 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_AcceleratorTable",kwnames
,&obj0
)) goto fail
;
24684 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxAcceleratorTable
, SWIG_POINTER_EXCEPTION
| 0);
24685 if (SWIG_arg_fail(1)) SWIG_fail
;
24687 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24690 wxPyEndAllowThreads(__tstate
);
24691 if (PyErr_Occurred()) SWIG_fail
;
24693 Py_INCREF(Py_None
); resultobj
= Py_None
;
24700 static PyObject
*_wrap_AcceleratorTable_Ok(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24701 PyObject
*resultobj
;
24702 wxAcceleratorTable
*arg1
= (wxAcceleratorTable
*) 0 ;
24704 PyObject
* obj0
= 0 ;
24705 char *kwnames
[] = {
24706 (char *) "self", NULL
24709 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:AcceleratorTable_Ok",kwnames
,&obj0
)) goto fail
;
24710 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxAcceleratorTable
, SWIG_POINTER_EXCEPTION
| 0);
24711 if (SWIG_arg_fail(1)) SWIG_fail
;
24713 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24714 result
= (bool)((wxAcceleratorTable
const *)arg1
)->Ok();
24716 wxPyEndAllowThreads(__tstate
);
24717 if (PyErr_Occurred()) SWIG_fail
;
24720 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24728 static PyObject
* AcceleratorTable_swigregister(PyObject
*, PyObject
*args
) {
24730 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24731 SWIG_TypeClientData(SWIGTYPE_p_wxAcceleratorTable
, obj
);
24733 return Py_BuildValue((char *)"");
24735 static int _wrap_NullAcceleratorTable_set(PyObject
*) {
24736 PyErr_SetString(PyExc_TypeError
,"Variable NullAcceleratorTable is read-only.");
24741 static PyObject
*_wrap_NullAcceleratorTable_get(void) {
24744 pyobj
= SWIG_NewPointerObj((void *)(&wxNullAcceleratorTable
), SWIGTYPE_p_wxAcceleratorTable
, 0);
24749 static PyObject
*_wrap_GetAccelFromString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24750 PyObject
*resultobj
;
24751 wxString
*arg1
= 0 ;
24752 wxAcceleratorEntry
*result
;
24753 bool temp1
= false ;
24754 PyObject
* obj0
= 0 ;
24755 char *kwnames
[] = {
24756 (char *) "label", NULL
24759 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GetAccelFromString",kwnames
,&obj0
)) goto fail
;
24761 arg1
= wxString_in_helper(obj0
);
24762 if (arg1
== NULL
) SWIG_fail
;
24766 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24767 result
= (wxAcceleratorEntry
*)wxGetAccelFromString((wxString
const &)*arg1
);
24769 wxPyEndAllowThreads(__tstate
);
24770 if (PyErr_Occurred()) SWIG_fail
;
24772 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxAcceleratorEntry
, 0);
24787 static int _wrap_PanelNameStr_set(PyObject
*) {
24788 PyErr_SetString(PyExc_TypeError
,"Variable PanelNameStr is read-only.");
24793 static PyObject
*_wrap_PanelNameStr_get(void) {
24798 pyobj
= PyUnicode_FromWideChar((&wxPyPanelNameStr
)->c_str(), (&wxPyPanelNameStr
)->Len());
24800 pyobj
= PyString_FromStringAndSize((&wxPyPanelNameStr
)->c_str(), (&wxPyPanelNameStr
)->Len());
24807 static PyObject
*_wrap_new_VisualAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24808 PyObject
*resultobj
;
24809 wxVisualAttributes
*result
;
24810 char *kwnames
[] = {
24814 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_VisualAttributes",kwnames
)) goto fail
;
24816 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24817 result
= (wxVisualAttributes
*)new_wxVisualAttributes();
24819 wxPyEndAllowThreads(__tstate
);
24820 if (PyErr_Occurred()) SWIG_fail
;
24822 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxVisualAttributes
, 1);
24829 static PyObject
*_wrap_delete_VisualAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24830 PyObject
*resultobj
;
24831 wxVisualAttributes
*arg1
= (wxVisualAttributes
*) 0 ;
24832 PyObject
* obj0
= 0 ;
24833 char *kwnames
[] = {
24834 (char *) "self", NULL
24837 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_VisualAttributes",kwnames
,&obj0
)) goto fail
;
24838 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_EXCEPTION
| 0);
24839 if (SWIG_arg_fail(1)) SWIG_fail
;
24841 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24842 delete_wxVisualAttributes(arg1
);
24844 wxPyEndAllowThreads(__tstate
);
24845 if (PyErr_Occurred()) SWIG_fail
;
24847 Py_INCREF(Py_None
); resultobj
= Py_None
;
24854 static PyObject
*_wrap_VisualAttributes_font_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24855 PyObject
*resultobj
;
24856 wxVisualAttributes
*arg1
= (wxVisualAttributes
*) 0 ;
24857 wxFont
*arg2
= (wxFont
*) 0 ;
24858 PyObject
* obj0
= 0 ;
24859 PyObject
* obj1
= 0 ;
24860 char *kwnames
[] = {
24861 (char *) "self",(char *) "font", NULL
24864 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VisualAttributes_font_set",kwnames
,&obj0
,&obj1
)) goto fail
;
24865 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_EXCEPTION
| 0);
24866 if (SWIG_arg_fail(1)) SWIG_fail
;
24867 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
24868 if (SWIG_arg_fail(2)) SWIG_fail
;
24869 if (arg1
) (arg1
)->font
= *arg2
;
24871 Py_INCREF(Py_None
); resultobj
= Py_None
;
24878 static PyObject
*_wrap_VisualAttributes_font_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24879 PyObject
*resultobj
;
24880 wxVisualAttributes
*arg1
= (wxVisualAttributes
*) 0 ;
24882 PyObject
* obj0
= 0 ;
24883 char *kwnames
[] = {
24884 (char *) "self", NULL
24887 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VisualAttributes_font_get",kwnames
,&obj0
)) goto fail
;
24888 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_EXCEPTION
| 0);
24889 if (SWIG_arg_fail(1)) SWIG_fail
;
24890 result
= (wxFont
*)& ((arg1
)->font
);
24892 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFont
, 0);
24899 static PyObject
*_wrap_VisualAttributes_colFg_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24900 PyObject
*resultobj
;
24901 wxVisualAttributes
*arg1
= (wxVisualAttributes
*) 0 ;
24902 wxColour
*arg2
= (wxColour
*) 0 ;
24903 PyObject
* obj0
= 0 ;
24904 PyObject
* obj1
= 0 ;
24905 char *kwnames
[] = {
24906 (char *) "self",(char *) "colFg", NULL
24909 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VisualAttributes_colFg_set",kwnames
,&obj0
,&obj1
)) goto fail
;
24910 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_EXCEPTION
| 0);
24911 if (SWIG_arg_fail(1)) SWIG_fail
;
24912 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxColour
, SWIG_POINTER_EXCEPTION
| 0);
24913 if (SWIG_arg_fail(2)) SWIG_fail
;
24914 if (arg1
) (arg1
)->colFg
= *arg2
;
24916 Py_INCREF(Py_None
); resultobj
= Py_None
;
24923 static PyObject
*_wrap_VisualAttributes_colFg_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24924 PyObject
*resultobj
;
24925 wxVisualAttributes
*arg1
= (wxVisualAttributes
*) 0 ;
24927 PyObject
* obj0
= 0 ;
24928 char *kwnames
[] = {
24929 (char *) "self", NULL
24932 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VisualAttributes_colFg_get",kwnames
,&obj0
)) goto fail
;
24933 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_EXCEPTION
| 0);
24934 if (SWIG_arg_fail(1)) SWIG_fail
;
24935 result
= (wxColour
*)& ((arg1
)->colFg
);
24937 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColour
, 0);
24944 static PyObject
*_wrap_VisualAttributes_colBg_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24945 PyObject
*resultobj
;
24946 wxVisualAttributes
*arg1
= (wxVisualAttributes
*) 0 ;
24947 wxColour
*arg2
= (wxColour
*) 0 ;
24948 PyObject
* obj0
= 0 ;
24949 PyObject
* obj1
= 0 ;
24950 char *kwnames
[] = {
24951 (char *) "self",(char *) "colBg", NULL
24954 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VisualAttributes_colBg_set",kwnames
,&obj0
,&obj1
)) goto fail
;
24955 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_EXCEPTION
| 0);
24956 if (SWIG_arg_fail(1)) SWIG_fail
;
24957 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxColour
, SWIG_POINTER_EXCEPTION
| 0);
24958 if (SWIG_arg_fail(2)) SWIG_fail
;
24959 if (arg1
) (arg1
)->colBg
= *arg2
;
24961 Py_INCREF(Py_None
); resultobj
= Py_None
;
24968 static PyObject
*_wrap_VisualAttributes_colBg_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24969 PyObject
*resultobj
;
24970 wxVisualAttributes
*arg1
= (wxVisualAttributes
*) 0 ;
24972 PyObject
* obj0
= 0 ;
24973 char *kwnames
[] = {
24974 (char *) "self", NULL
24977 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VisualAttributes_colBg_get",kwnames
,&obj0
)) goto fail
;
24978 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_EXCEPTION
| 0);
24979 if (SWIG_arg_fail(1)) SWIG_fail
;
24980 result
= (wxColour
*)& ((arg1
)->colBg
);
24982 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColour
, 0);
24989 static PyObject
* VisualAttributes_swigregister(PyObject
*, PyObject
*args
) {
24991 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24992 SWIG_TypeClientData(SWIGTYPE_p_wxVisualAttributes
, obj
);
24994 return Py_BuildValue((char *)"");
24996 static PyObject
*_wrap_new_Window(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24997 PyObject
*resultobj
;
24998 wxWindow
*arg1
= (wxWindow
*) 0 ;
24999 int arg2
= (int) (int)-1 ;
25000 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
25001 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
25002 wxSize
const &arg4_defvalue
= wxDefaultSize
;
25003 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
25004 long arg5
= (long) 0 ;
25005 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
25006 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
25010 bool temp6
= false ;
25011 PyObject
* obj0
= 0 ;
25012 PyObject
* obj1
= 0 ;
25013 PyObject
* obj2
= 0 ;
25014 PyObject
* obj3
= 0 ;
25015 PyObject
* obj4
= 0 ;
25016 PyObject
* obj5
= 0 ;
25017 char *kwnames
[] = {
25018 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
25021 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_Window",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
25022 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25023 if (SWIG_arg_fail(1)) SWIG_fail
;
25026 arg2
= (int const)(SWIG_As_int(obj1
));
25027 if (SWIG_arg_fail(2)) SWIG_fail
;
25033 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
25039 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
25044 arg5
= (long)(SWIG_As_long(obj4
));
25045 if (SWIG_arg_fail(5)) SWIG_fail
;
25050 arg6
= wxString_in_helper(obj5
);
25051 if (arg6
== NULL
) SWIG_fail
;
25056 if (!wxPyCheckForApp()) SWIG_fail
;
25057 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25058 result
= (wxWindow
*)new wxWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
25060 wxPyEndAllowThreads(__tstate
);
25061 if (PyErr_Occurred()) SWIG_fail
;
25063 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxWindow
, 1);
25078 static PyObject
*_wrap_new_PreWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25079 PyObject
*resultobj
;
25081 char *kwnames
[] = {
25085 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreWindow",kwnames
)) goto fail
;
25087 if (!wxPyCheckForApp()) SWIG_fail
;
25088 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25089 result
= (wxWindow
*)new wxWindow();
25091 wxPyEndAllowThreads(__tstate
);
25092 if (PyErr_Occurred()) SWIG_fail
;
25094 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxWindow
, 1);
25101 static PyObject
*_wrap_Window_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25102 PyObject
*resultobj
;
25103 wxWindow
*arg1
= (wxWindow
*) 0 ;
25104 wxWindow
*arg2
= (wxWindow
*) 0 ;
25105 int arg3
= (int) (int)-1 ;
25106 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
25107 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
25108 wxSize
const &arg5_defvalue
= wxDefaultSize
;
25109 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
25110 long arg6
= (long) 0 ;
25111 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
25112 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
25116 bool temp7
= false ;
25117 PyObject
* obj0
= 0 ;
25118 PyObject
* obj1
= 0 ;
25119 PyObject
* obj2
= 0 ;
25120 PyObject
* obj3
= 0 ;
25121 PyObject
* obj4
= 0 ;
25122 PyObject
* obj5
= 0 ;
25123 PyObject
* obj6
= 0 ;
25124 char *kwnames
[] = {
25125 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
25128 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:Window_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
25129 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25130 if (SWIG_arg_fail(1)) SWIG_fail
;
25131 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25132 if (SWIG_arg_fail(2)) SWIG_fail
;
25135 arg3
= (int const)(SWIG_As_int(obj2
));
25136 if (SWIG_arg_fail(3)) SWIG_fail
;
25142 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
25148 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
25153 arg6
= (long)(SWIG_As_long(obj5
));
25154 if (SWIG_arg_fail(6)) SWIG_fail
;
25159 arg7
= wxString_in_helper(obj6
);
25160 if (arg7
== NULL
) SWIG_fail
;
25165 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25166 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
25168 wxPyEndAllowThreads(__tstate
);
25169 if (PyErr_Occurred()) SWIG_fail
;
25172 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25188 static PyObject
*_wrap_Window_Close(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25189 PyObject
*resultobj
;
25190 wxWindow
*arg1
= (wxWindow
*) 0 ;
25191 bool arg2
= (bool) false ;
25193 PyObject
* obj0
= 0 ;
25194 PyObject
* obj1
= 0 ;
25195 char *kwnames
[] = {
25196 (char *) "self",(char *) "force", NULL
25199 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_Close",kwnames
,&obj0
,&obj1
)) goto fail
;
25200 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25201 if (SWIG_arg_fail(1)) SWIG_fail
;
25204 arg2
= (bool)(SWIG_As_bool(obj1
));
25205 if (SWIG_arg_fail(2)) SWIG_fail
;
25209 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25210 result
= (bool)(arg1
)->Close(arg2
);
25212 wxPyEndAllowThreads(__tstate
);
25213 if (PyErr_Occurred()) SWIG_fail
;
25216 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25224 static PyObject
*_wrap_Window_Destroy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25225 PyObject
*resultobj
;
25226 wxWindow
*arg1
= (wxWindow
*) 0 ;
25228 PyObject
* obj0
= 0 ;
25229 char *kwnames
[] = {
25230 (char *) "self", NULL
25233 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Destroy",kwnames
,&obj0
)) goto fail
;
25234 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25235 if (SWIG_arg_fail(1)) SWIG_fail
;
25237 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25238 result
= (bool)(arg1
)->Destroy();
25240 wxPyEndAllowThreads(__tstate
);
25241 if (PyErr_Occurred()) SWIG_fail
;
25244 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25252 static PyObject
*_wrap_Window_DestroyChildren(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25253 PyObject
*resultobj
;
25254 wxWindow
*arg1
= (wxWindow
*) 0 ;
25256 PyObject
* obj0
= 0 ;
25257 char *kwnames
[] = {
25258 (char *) "self", NULL
25261 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_DestroyChildren",kwnames
,&obj0
)) goto fail
;
25262 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25263 if (SWIG_arg_fail(1)) SWIG_fail
;
25265 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25266 result
= (bool)(arg1
)->DestroyChildren();
25268 wxPyEndAllowThreads(__tstate
);
25269 if (PyErr_Occurred()) SWIG_fail
;
25272 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25280 static PyObject
*_wrap_Window_IsBeingDeleted(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25281 PyObject
*resultobj
;
25282 wxWindow
*arg1
= (wxWindow
*) 0 ;
25284 PyObject
* obj0
= 0 ;
25285 char *kwnames
[] = {
25286 (char *) "self", NULL
25289 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_IsBeingDeleted",kwnames
,&obj0
)) goto fail
;
25290 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25291 if (SWIG_arg_fail(1)) SWIG_fail
;
25293 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25294 result
= (bool)((wxWindow
const *)arg1
)->IsBeingDeleted();
25296 wxPyEndAllowThreads(__tstate
);
25297 if (PyErr_Occurred()) SWIG_fail
;
25300 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25308 static PyObject
*_wrap_Window_SetTitle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25309 PyObject
*resultobj
;
25310 wxWindow
*arg1
= (wxWindow
*) 0 ;
25311 wxString
*arg2
= 0 ;
25312 bool temp2
= false ;
25313 PyObject
* obj0
= 0 ;
25314 PyObject
* obj1
= 0 ;
25315 char *kwnames
[] = {
25316 (char *) "self",(char *) "title", NULL
25319 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetTitle",kwnames
,&obj0
,&obj1
)) goto fail
;
25320 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25321 if (SWIG_arg_fail(1)) SWIG_fail
;
25323 arg2
= wxString_in_helper(obj1
);
25324 if (arg2
== NULL
) SWIG_fail
;
25328 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25329 (arg1
)->SetTitle((wxString
const &)*arg2
);
25331 wxPyEndAllowThreads(__tstate
);
25332 if (PyErr_Occurred()) SWIG_fail
;
25334 Py_INCREF(Py_None
); resultobj
= Py_None
;
25349 static PyObject
*_wrap_Window_GetTitle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25350 PyObject
*resultobj
;
25351 wxWindow
*arg1
= (wxWindow
*) 0 ;
25353 PyObject
* obj0
= 0 ;
25354 char *kwnames
[] = {
25355 (char *) "self", NULL
25358 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetTitle",kwnames
,&obj0
)) goto fail
;
25359 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25360 if (SWIG_arg_fail(1)) SWIG_fail
;
25362 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25363 result
= ((wxWindow
const *)arg1
)->GetTitle();
25365 wxPyEndAllowThreads(__tstate
);
25366 if (PyErr_Occurred()) SWIG_fail
;
25370 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
25372 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
25381 static PyObject
*_wrap_Window_SetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25382 PyObject
*resultobj
;
25383 wxWindow
*arg1
= (wxWindow
*) 0 ;
25384 wxString
*arg2
= 0 ;
25385 bool temp2
= false ;
25386 PyObject
* obj0
= 0 ;
25387 PyObject
* obj1
= 0 ;
25388 char *kwnames
[] = {
25389 (char *) "self",(char *) "label", NULL
25392 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
25393 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25394 if (SWIG_arg_fail(1)) SWIG_fail
;
25396 arg2
= wxString_in_helper(obj1
);
25397 if (arg2
== NULL
) SWIG_fail
;
25401 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25402 (arg1
)->SetLabel((wxString
const &)*arg2
);
25404 wxPyEndAllowThreads(__tstate
);
25405 if (PyErr_Occurred()) SWIG_fail
;
25407 Py_INCREF(Py_None
); resultobj
= Py_None
;
25422 static PyObject
*_wrap_Window_GetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25423 PyObject
*resultobj
;
25424 wxWindow
*arg1
= (wxWindow
*) 0 ;
25426 PyObject
* obj0
= 0 ;
25427 char *kwnames
[] = {
25428 (char *) "self", NULL
25431 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetLabel",kwnames
,&obj0
)) goto fail
;
25432 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25433 if (SWIG_arg_fail(1)) SWIG_fail
;
25435 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25436 result
= ((wxWindow
const *)arg1
)->GetLabel();
25438 wxPyEndAllowThreads(__tstate
);
25439 if (PyErr_Occurred()) SWIG_fail
;
25443 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
25445 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
25454 static PyObject
*_wrap_Window_SetName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25455 PyObject
*resultobj
;
25456 wxWindow
*arg1
= (wxWindow
*) 0 ;
25457 wxString
*arg2
= 0 ;
25458 bool temp2
= false ;
25459 PyObject
* obj0
= 0 ;
25460 PyObject
* obj1
= 0 ;
25461 char *kwnames
[] = {
25462 (char *) "self",(char *) "name", NULL
25465 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetName",kwnames
,&obj0
,&obj1
)) goto fail
;
25466 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25467 if (SWIG_arg_fail(1)) SWIG_fail
;
25469 arg2
= wxString_in_helper(obj1
);
25470 if (arg2
== NULL
) SWIG_fail
;
25474 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25475 (arg1
)->SetName((wxString
const &)*arg2
);
25477 wxPyEndAllowThreads(__tstate
);
25478 if (PyErr_Occurred()) SWIG_fail
;
25480 Py_INCREF(Py_None
); resultobj
= Py_None
;
25495 static PyObject
*_wrap_Window_GetName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25496 PyObject
*resultobj
;
25497 wxWindow
*arg1
= (wxWindow
*) 0 ;
25499 PyObject
* obj0
= 0 ;
25500 char *kwnames
[] = {
25501 (char *) "self", NULL
25504 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetName",kwnames
,&obj0
)) goto fail
;
25505 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25506 if (SWIG_arg_fail(1)) SWIG_fail
;
25508 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25509 result
= ((wxWindow
const *)arg1
)->GetName();
25511 wxPyEndAllowThreads(__tstate
);
25512 if (PyErr_Occurred()) SWIG_fail
;
25516 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
25518 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
25527 static PyObject
*_wrap_Window_SetWindowVariant(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25528 PyObject
*resultobj
;
25529 wxWindow
*arg1
= (wxWindow
*) 0 ;
25530 wxWindowVariant arg2
;
25531 PyObject
* obj0
= 0 ;
25532 PyObject
* obj1
= 0 ;
25533 char *kwnames
[] = {
25534 (char *) "self",(char *) "variant", NULL
25537 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetWindowVariant",kwnames
,&obj0
,&obj1
)) goto fail
;
25538 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25539 if (SWIG_arg_fail(1)) SWIG_fail
;
25541 arg2
= (wxWindowVariant
)(SWIG_As_int(obj1
));
25542 if (SWIG_arg_fail(2)) SWIG_fail
;
25545 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25546 (arg1
)->SetWindowVariant((wxWindowVariant
)arg2
);
25548 wxPyEndAllowThreads(__tstate
);
25549 if (PyErr_Occurred()) SWIG_fail
;
25551 Py_INCREF(Py_None
); resultobj
= Py_None
;
25558 static PyObject
*_wrap_Window_GetWindowVariant(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25559 PyObject
*resultobj
;
25560 wxWindow
*arg1
= (wxWindow
*) 0 ;
25561 wxWindowVariant result
;
25562 PyObject
* obj0
= 0 ;
25563 char *kwnames
[] = {
25564 (char *) "self", NULL
25567 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetWindowVariant",kwnames
,&obj0
)) goto fail
;
25568 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25569 if (SWIG_arg_fail(1)) SWIG_fail
;
25571 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25572 result
= (wxWindowVariant
)((wxWindow
const *)arg1
)->GetWindowVariant();
25574 wxPyEndAllowThreads(__tstate
);
25575 if (PyErr_Occurred()) SWIG_fail
;
25577 resultobj
= SWIG_From_int((result
));
25584 static PyObject
*_wrap_Window_SetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25585 PyObject
*resultobj
;
25586 wxWindow
*arg1
= (wxWindow
*) 0 ;
25588 PyObject
* obj0
= 0 ;
25589 PyObject
* obj1
= 0 ;
25590 char *kwnames
[] = {
25591 (char *) "self",(char *) "winid", NULL
25594 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetId",kwnames
,&obj0
,&obj1
)) goto fail
;
25595 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25596 if (SWIG_arg_fail(1)) SWIG_fail
;
25598 arg2
= (int)(SWIG_As_int(obj1
));
25599 if (SWIG_arg_fail(2)) SWIG_fail
;
25602 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25603 (arg1
)->SetId(arg2
);
25605 wxPyEndAllowThreads(__tstate
);
25606 if (PyErr_Occurred()) SWIG_fail
;
25608 Py_INCREF(Py_None
); resultobj
= Py_None
;
25615 static PyObject
*_wrap_Window_GetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25616 PyObject
*resultobj
;
25617 wxWindow
*arg1
= (wxWindow
*) 0 ;
25619 PyObject
* obj0
= 0 ;
25620 char *kwnames
[] = {
25621 (char *) "self", NULL
25624 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetId",kwnames
,&obj0
)) goto fail
;
25625 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25626 if (SWIG_arg_fail(1)) SWIG_fail
;
25628 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25629 result
= (int)((wxWindow
const *)arg1
)->GetId();
25631 wxPyEndAllowThreads(__tstate
);
25632 if (PyErr_Occurred()) SWIG_fail
;
25635 resultobj
= SWIG_From_int((int)(result
));
25643 static PyObject
*_wrap_Window_NewControlId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25644 PyObject
*resultobj
;
25646 char *kwnames
[] = {
25650 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Window_NewControlId",kwnames
)) goto fail
;
25652 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25653 result
= (int)wxWindow::NewControlId();
25655 wxPyEndAllowThreads(__tstate
);
25656 if (PyErr_Occurred()) SWIG_fail
;
25659 resultobj
= SWIG_From_int((int)(result
));
25667 static PyObject
*_wrap_Window_NextControlId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25668 PyObject
*resultobj
;
25671 PyObject
* obj0
= 0 ;
25672 char *kwnames
[] = {
25673 (char *) "winid", NULL
25676 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_NextControlId",kwnames
,&obj0
)) goto fail
;
25678 arg1
= (int)(SWIG_As_int(obj0
));
25679 if (SWIG_arg_fail(1)) SWIG_fail
;
25682 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25683 result
= (int)wxWindow::NextControlId(arg1
);
25685 wxPyEndAllowThreads(__tstate
);
25686 if (PyErr_Occurred()) SWIG_fail
;
25689 resultobj
= SWIG_From_int((int)(result
));
25697 static PyObject
*_wrap_Window_PrevControlId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25698 PyObject
*resultobj
;
25701 PyObject
* obj0
= 0 ;
25702 char *kwnames
[] = {
25703 (char *) "winid", NULL
25706 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_PrevControlId",kwnames
,&obj0
)) goto fail
;
25708 arg1
= (int)(SWIG_As_int(obj0
));
25709 if (SWIG_arg_fail(1)) SWIG_fail
;
25712 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25713 result
= (int)wxWindow::PrevControlId(arg1
);
25715 wxPyEndAllowThreads(__tstate
);
25716 if (PyErr_Occurred()) SWIG_fail
;
25719 resultobj
= SWIG_From_int((int)(result
));
25727 static PyObject
*_wrap_Window_SetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25728 PyObject
*resultobj
;
25729 wxWindow
*arg1
= (wxWindow
*) 0 ;
25732 PyObject
* obj0
= 0 ;
25733 PyObject
* obj1
= 0 ;
25734 char *kwnames
[] = {
25735 (char *) "self",(char *) "size", NULL
25738 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetSize",kwnames
,&obj0
,&obj1
)) goto fail
;
25739 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25740 if (SWIG_arg_fail(1)) SWIG_fail
;
25743 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
25746 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25747 (arg1
)->SetSize((wxSize
const &)*arg2
);
25749 wxPyEndAllowThreads(__tstate
);
25750 if (PyErr_Occurred()) SWIG_fail
;
25752 Py_INCREF(Py_None
); resultobj
= Py_None
;
25759 static PyObject
*_wrap_Window_SetDimensions(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25760 PyObject
*resultobj
;
25761 wxWindow
*arg1
= (wxWindow
*) 0 ;
25766 int arg6
= (int) wxSIZE_AUTO
;
25767 PyObject
* obj0
= 0 ;
25768 PyObject
* obj1
= 0 ;
25769 PyObject
* obj2
= 0 ;
25770 PyObject
* obj3
= 0 ;
25771 PyObject
* obj4
= 0 ;
25772 PyObject
* obj5
= 0 ;
25773 char *kwnames
[] = {
25774 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
25777 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:Window_SetDimensions",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
25778 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25779 if (SWIG_arg_fail(1)) SWIG_fail
;
25781 arg2
= (int)(SWIG_As_int(obj1
));
25782 if (SWIG_arg_fail(2)) SWIG_fail
;
25785 arg3
= (int)(SWIG_As_int(obj2
));
25786 if (SWIG_arg_fail(3)) SWIG_fail
;
25789 arg4
= (int)(SWIG_As_int(obj3
));
25790 if (SWIG_arg_fail(4)) SWIG_fail
;
25793 arg5
= (int)(SWIG_As_int(obj4
));
25794 if (SWIG_arg_fail(5)) SWIG_fail
;
25798 arg6
= (int)(SWIG_As_int(obj5
));
25799 if (SWIG_arg_fail(6)) SWIG_fail
;
25803 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25804 (arg1
)->SetSize(arg2
,arg3
,arg4
,arg5
,arg6
);
25806 wxPyEndAllowThreads(__tstate
);
25807 if (PyErr_Occurred()) SWIG_fail
;
25809 Py_INCREF(Py_None
); resultobj
= Py_None
;
25816 static PyObject
*_wrap_Window_SetRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25817 PyObject
*resultobj
;
25818 wxWindow
*arg1
= (wxWindow
*) 0 ;
25820 int arg3
= (int) wxSIZE_AUTO
;
25822 PyObject
* obj0
= 0 ;
25823 PyObject
* obj1
= 0 ;
25824 PyObject
* obj2
= 0 ;
25825 char *kwnames
[] = {
25826 (char *) "self",(char *) "rect",(char *) "sizeFlags", NULL
25829 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_SetRect",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25830 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25831 if (SWIG_arg_fail(1)) SWIG_fail
;
25834 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
25838 arg3
= (int)(SWIG_As_int(obj2
));
25839 if (SWIG_arg_fail(3)) SWIG_fail
;
25843 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25844 (arg1
)->SetSize((wxRect
const &)*arg2
,arg3
);
25846 wxPyEndAllowThreads(__tstate
);
25847 if (PyErr_Occurred()) SWIG_fail
;
25849 Py_INCREF(Py_None
); resultobj
= Py_None
;
25856 static PyObject
*_wrap_Window_SetSizeWH(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25857 PyObject
*resultobj
;
25858 wxWindow
*arg1
= (wxWindow
*) 0 ;
25861 PyObject
* obj0
= 0 ;
25862 PyObject
* obj1
= 0 ;
25863 PyObject
* obj2
= 0 ;
25864 char *kwnames
[] = {
25865 (char *) "self",(char *) "width",(char *) "height", NULL
25868 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_SetSizeWH",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25869 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25870 if (SWIG_arg_fail(1)) SWIG_fail
;
25872 arg2
= (int)(SWIG_As_int(obj1
));
25873 if (SWIG_arg_fail(2)) SWIG_fail
;
25876 arg3
= (int)(SWIG_As_int(obj2
));
25877 if (SWIG_arg_fail(3)) SWIG_fail
;
25880 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25881 (arg1
)->SetSize(arg2
,arg3
);
25883 wxPyEndAllowThreads(__tstate
);
25884 if (PyErr_Occurred()) SWIG_fail
;
25886 Py_INCREF(Py_None
); resultobj
= Py_None
;
25893 static PyObject
*_wrap_Window_Move(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25894 PyObject
*resultobj
;
25895 wxWindow
*arg1
= (wxWindow
*) 0 ;
25896 wxPoint
*arg2
= 0 ;
25897 int arg3
= (int) wxSIZE_USE_EXISTING
;
25899 PyObject
* obj0
= 0 ;
25900 PyObject
* obj1
= 0 ;
25901 PyObject
* obj2
= 0 ;
25902 char *kwnames
[] = {
25903 (char *) "self",(char *) "pt",(char *) "flags", NULL
25906 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_Move",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25907 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25908 if (SWIG_arg_fail(1)) SWIG_fail
;
25911 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
25915 arg3
= (int)(SWIG_As_int(obj2
));
25916 if (SWIG_arg_fail(3)) SWIG_fail
;
25920 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25921 (arg1
)->Move((wxPoint
const &)*arg2
,arg3
);
25923 wxPyEndAllowThreads(__tstate
);
25924 if (PyErr_Occurred()) SWIG_fail
;
25926 Py_INCREF(Py_None
); resultobj
= Py_None
;
25933 static PyObject
*_wrap_Window_MoveXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25934 PyObject
*resultobj
;
25935 wxWindow
*arg1
= (wxWindow
*) 0 ;
25938 int arg4
= (int) wxSIZE_USE_EXISTING
;
25939 PyObject
* obj0
= 0 ;
25940 PyObject
* obj1
= 0 ;
25941 PyObject
* obj2
= 0 ;
25942 PyObject
* obj3
= 0 ;
25943 char *kwnames
[] = {
25944 (char *) "self",(char *) "x",(char *) "y",(char *) "flags", NULL
25947 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Window_MoveXY",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
25948 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25949 if (SWIG_arg_fail(1)) SWIG_fail
;
25951 arg2
= (int)(SWIG_As_int(obj1
));
25952 if (SWIG_arg_fail(2)) SWIG_fail
;
25955 arg3
= (int)(SWIG_As_int(obj2
));
25956 if (SWIG_arg_fail(3)) SWIG_fail
;
25960 arg4
= (int)(SWIG_As_int(obj3
));
25961 if (SWIG_arg_fail(4)) SWIG_fail
;
25965 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25966 (arg1
)->Move(arg2
,arg3
,arg4
);
25968 wxPyEndAllowThreads(__tstate
);
25969 if (PyErr_Occurred()) SWIG_fail
;
25971 Py_INCREF(Py_None
); resultobj
= Py_None
;
25978 static PyObject
*_wrap_Window_SetBestFittingSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25979 PyObject
*resultobj
;
25980 wxWindow
*arg1
= (wxWindow
*) 0 ;
25981 wxSize
const &arg2_defvalue
= wxDefaultSize
;
25982 wxSize
*arg2
= (wxSize
*) &arg2_defvalue
;
25984 PyObject
* obj0
= 0 ;
25985 PyObject
* obj1
= 0 ;
25986 char *kwnames
[] = {
25987 (char *) "self",(char *) "size", NULL
25990 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_SetBestFittingSize",kwnames
,&obj0
,&obj1
)) goto fail
;
25991 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25992 if (SWIG_arg_fail(1)) SWIG_fail
;
25996 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
26000 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26001 (arg1
)->SetBestFittingSize((wxSize
const &)*arg2
);
26003 wxPyEndAllowThreads(__tstate
);
26004 if (PyErr_Occurred()) SWIG_fail
;
26006 Py_INCREF(Py_None
); resultobj
= Py_None
;
26013 static PyObject
*_wrap_Window_Raise(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26014 PyObject
*resultobj
;
26015 wxWindow
*arg1
= (wxWindow
*) 0 ;
26016 PyObject
* obj0
= 0 ;
26017 char *kwnames
[] = {
26018 (char *) "self", NULL
26021 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Raise",kwnames
,&obj0
)) goto fail
;
26022 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26023 if (SWIG_arg_fail(1)) SWIG_fail
;
26025 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26028 wxPyEndAllowThreads(__tstate
);
26029 if (PyErr_Occurred()) SWIG_fail
;
26031 Py_INCREF(Py_None
); resultobj
= Py_None
;
26038 static PyObject
*_wrap_Window_Lower(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26039 PyObject
*resultobj
;
26040 wxWindow
*arg1
= (wxWindow
*) 0 ;
26041 PyObject
* obj0
= 0 ;
26042 char *kwnames
[] = {
26043 (char *) "self", NULL
26046 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Lower",kwnames
,&obj0
)) goto fail
;
26047 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26048 if (SWIG_arg_fail(1)) SWIG_fail
;
26050 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26053 wxPyEndAllowThreads(__tstate
);
26054 if (PyErr_Occurred()) SWIG_fail
;
26056 Py_INCREF(Py_None
); resultobj
= Py_None
;
26063 static PyObject
*_wrap_Window_SetClientSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26064 PyObject
*resultobj
;
26065 wxWindow
*arg1
= (wxWindow
*) 0 ;
26068 PyObject
* obj0
= 0 ;
26069 PyObject
* obj1
= 0 ;
26070 char *kwnames
[] = {
26071 (char *) "self",(char *) "size", NULL
26074 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetClientSize",kwnames
,&obj0
,&obj1
)) goto fail
;
26075 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26076 if (SWIG_arg_fail(1)) SWIG_fail
;
26079 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
26082 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26083 (arg1
)->SetClientSize((wxSize
const &)*arg2
);
26085 wxPyEndAllowThreads(__tstate
);
26086 if (PyErr_Occurred()) SWIG_fail
;
26088 Py_INCREF(Py_None
); resultobj
= Py_None
;
26095 static PyObject
*_wrap_Window_SetClientSizeWH(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26096 PyObject
*resultobj
;
26097 wxWindow
*arg1
= (wxWindow
*) 0 ;
26100 PyObject
* obj0
= 0 ;
26101 PyObject
* obj1
= 0 ;
26102 PyObject
* obj2
= 0 ;
26103 char *kwnames
[] = {
26104 (char *) "self",(char *) "width",(char *) "height", NULL
26107 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_SetClientSizeWH",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26108 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26109 if (SWIG_arg_fail(1)) SWIG_fail
;
26111 arg2
= (int)(SWIG_As_int(obj1
));
26112 if (SWIG_arg_fail(2)) SWIG_fail
;
26115 arg3
= (int)(SWIG_As_int(obj2
));
26116 if (SWIG_arg_fail(3)) SWIG_fail
;
26119 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26120 (arg1
)->SetClientSize(arg2
,arg3
);
26122 wxPyEndAllowThreads(__tstate
);
26123 if (PyErr_Occurred()) SWIG_fail
;
26125 Py_INCREF(Py_None
); resultobj
= Py_None
;
26132 static PyObject
*_wrap_Window_SetClientRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26133 PyObject
*resultobj
;
26134 wxWindow
*arg1
= (wxWindow
*) 0 ;
26137 PyObject
* obj0
= 0 ;
26138 PyObject
* obj1
= 0 ;
26139 char *kwnames
[] = {
26140 (char *) "self",(char *) "rect", NULL
26143 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetClientRect",kwnames
,&obj0
,&obj1
)) goto fail
;
26144 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26145 if (SWIG_arg_fail(1)) SWIG_fail
;
26148 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
26151 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26152 (arg1
)->SetClientSize((wxRect
const &)*arg2
);
26154 wxPyEndAllowThreads(__tstate
);
26155 if (PyErr_Occurred()) SWIG_fail
;
26157 Py_INCREF(Py_None
); resultobj
= Py_None
;
26164 static PyObject
*_wrap_Window_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26165 PyObject
*resultobj
;
26166 wxWindow
*arg1
= (wxWindow
*) 0 ;
26168 PyObject
* obj0
= 0 ;
26169 char *kwnames
[] = {
26170 (char *) "self", NULL
26173 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetPosition",kwnames
,&obj0
)) goto fail
;
26174 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26175 if (SWIG_arg_fail(1)) SWIG_fail
;
26177 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26178 result
= (arg1
)->GetPosition();
26180 wxPyEndAllowThreads(__tstate
);
26181 if (PyErr_Occurred()) SWIG_fail
;
26184 wxPoint
* resultptr
;
26185 resultptr
= new wxPoint((wxPoint
&)(result
));
26186 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
26194 static PyObject
*_wrap_Window_GetPositionTuple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26195 PyObject
*resultobj
;
26196 wxWindow
*arg1
= (wxWindow
*) 0 ;
26197 int *arg2
= (int *) 0 ;
26198 int *arg3
= (int *) 0 ;
26203 PyObject
* obj0
= 0 ;
26204 char *kwnames
[] = {
26205 (char *) "self", NULL
26208 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
26209 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
26210 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetPositionTuple",kwnames
,&obj0
)) goto fail
;
26211 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26212 if (SWIG_arg_fail(1)) SWIG_fail
;
26214 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26215 (arg1
)->GetPosition(arg2
,arg3
);
26217 wxPyEndAllowThreads(__tstate
);
26218 if (PyErr_Occurred()) SWIG_fail
;
26220 Py_INCREF(Py_None
); resultobj
= Py_None
;
26221 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
26222 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
26223 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
26224 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
26231 static PyObject
*_wrap_Window_GetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26232 PyObject
*resultobj
;
26233 wxWindow
*arg1
= (wxWindow
*) 0 ;
26235 PyObject
* obj0
= 0 ;
26236 char *kwnames
[] = {
26237 (char *) "self", NULL
26240 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetSize",kwnames
,&obj0
)) goto fail
;
26241 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26242 if (SWIG_arg_fail(1)) SWIG_fail
;
26244 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26245 result
= ((wxWindow
const *)arg1
)->GetSize();
26247 wxPyEndAllowThreads(__tstate
);
26248 if (PyErr_Occurred()) SWIG_fail
;
26251 wxSize
* resultptr
;
26252 resultptr
= new wxSize((wxSize
&)(result
));
26253 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
26261 static PyObject
*_wrap_Window_GetSizeTuple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26262 PyObject
*resultobj
;
26263 wxWindow
*arg1
= (wxWindow
*) 0 ;
26264 int *arg2
= (int *) 0 ;
26265 int *arg3
= (int *) 0 ;
26270 PyObject
* obj0
= 0 ;
26271 char *kwnames
[] = {
26272 (char *) "self", NULL
26275 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
26276 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
26277 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetSizeTuple",kwnames
,&obj0
)) goto fail
;
26278 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26279 if (SWIG_arg_fail(1)) SWIG_fail
;
26281 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26282 ((wxWindow
const *)arg1
)->GetSize(arg2
,arg3
);
26284 wxPyEndAllowThreads(__tstate
);
26285 if (PyErr_Occurred()) SWIG_fail
;
26287 Py_INCREF(Py_None
); resultobj
= Py_None
;
26288 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
26289 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
26290 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
26291 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
26298 static PyObject
*_wrap_Window_GetRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26299 PyObject
*resultobj
;
26300 wxWindow
*arg1
= (wxWindow
*) 0 ;
26302 PyObject
* obj0
= 0 ;
26303 char *kwnames
[] = {
26304 (char *) "self", NULL
26307 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetRect",kwnames
,&obj0
)) goto fail
;
26308 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26309 if (SWIG_arg_fail(1)) SWIG_fail
;
26311 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26312 result
= ((wxWindow
const *)arg1
)->GetRect();
26314 wxPyEndAllowThreads(__tstate
);
26315 if (PyErr_Occurred()) SWIG_fail
;
26318 wxRect
* resultptr
;
26319 resultptr
= new wxRect((wxRect
&)(result
));
26320 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
26328 static PyObject
*_wrap_Window_GetClientSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26329 PyObject
*resultobj
;
26330 wxWindow
*arg1
= (wxWindow
*) 0 ;
26332 PyObject
* obj0
= 0 ;
26333 char *kwnames
[] = {
26334 (char *) "self", NULL
26337 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetClientSize",kwnames
,&obj0
)) goto fail
;
26338 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26339 if (SWIG_arg_fail(1)) SWIG_fail
;
26341 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26342 result
= ((wxWindow
const *)arg1
)->GetClientSize();
26344 wxPyEndAllowThreads(__tstate
);
26345 if (PyErr_Occurred()) SWIG_fail
;
26348 wxSize
* resultptr
;
26349 resultptr
= new wxSize((wxSize
&)(result
));
26350 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
26358 static PyObject
*_wrap_Window_GetClientSizeTuple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26359 PyObject
*resultobj
;
26360 wxWindow
*arg1
= (wxWindow
*) 0 ;
26361 int *arg2
= (int *) 0 ;
26362 int *arg3
= (int *) 0 ;
26367 PyObject
* obj0
= 0 ;
26368 char *kwnames
[] = {
26369 (char *) "self", NULL
26372 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
26373 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
26374 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetClientSizeTuple",kwnames
,&obj0
)) goto fail
;
26375 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26376 if (SWIG_arg_fail(1)) SWIG_fail
;
26378 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26379 ((wxWindow
const *)arg1
)->GetClientSize(arg2
,arg3
);
26381 wxPyEndAllowThreads(__tstate
);
26382 if (PyErr_Occurred()) SWIG_fail
;
26384 Py_INCREF(Py_None
); resultobj
= Py_None
;
26385 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
26386 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
26387 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
26388 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
26395 static PyObject
*_wrap_Window_GetClientAreaOrigin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26396 PyObject
*resultobj
;
26397 wxWindow
*arg1
= (wxWindow
*) 0 ;
26399 PyObject
* obj0
= 0 ;
26400 char *kwnames
[] = {
26401 (char *) "self", NULL
26404 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetClientAreaOrigin",kwnames
,&obj0
)) goto fail
;
26405 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26406 if (SWIG_arg_fail(1)) SWIG_fail
;
26408 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26409 result
= ((wxWindow
const *)arg1
)->GetClientAreaOrigin();
26411 wxPyEndAllowThreads(__tstate
);
26412 if (PyErr_Occurred()) SWIG_fail
;
26415 wxPoint
* resultptr
;
26416 resultptr
= new wxPoint((wxPoint
&)(result
));
26417 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
26425 static PyObject
*_wrap_Window_GetClientRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26426 PyObject
*resultobj
;
26427 wxWindow
*arg1
= (wxWindow
*) 0 ;
26429 PyObject
* obj0
= 0 ;
26430 char *kwnames
[] = {
26431 (char *) "self", NULL
26434 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetClientRect",kwnames
,&obj0
)) goto fail
;
26435 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26436 if (SWIG_arg_fail(1)) SWIG_fail
;
26438 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26439 result
= ((wxWindow
const *)arg1
)->GetClientRect();
26441 wxPyEndAllowThreads(__tstate
);
26442 if (PyErr_Occurred()) SWIG_fail
;
26445 wxRect
* resultptr
;
26446 resultptr
= new wxRect((wxRect
&)(result
));
26447 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
26455 static PyObject
*_wrap_Window_GetBestSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26456 PyObject
*resultobj
;
26457 wxWindow
*arg1
= (wxWindow
*) 0 ;
26459 PyObject
* obj0
= 0 ;
26460 char *kwnames
[] = {
26461 (char *) "self", NULL
26464 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetBestSize",kwnames
,&obj0
)) goto fail
;
26465 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26466 if (SWIG_arg_fail(1)) SWIG_fail
;
26468 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26469 result
= ((wxWindow
const *)arg1
)->GetBestSize();
26471 wxPyEndAllowThreads(__tstate
);
26472 if (PyErr_Occurred()) SWIG_fail
;
26475 wxSize
* resultptr
;
26476 resultptr
= new wxSize((wxSize
&)(result
));
26477 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
26485 static PyObject
*_wrap_Window_GetBestSizeTuple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26486 PyObject
*resultobj
;
26487 wxWindow
*arg1
= (wxWindow
*) 0 ;
26488 int *arg2
= (int *) 0 ;
26489 int *arg3
= (int *) 0 ;
26494 PyObject
* obj0
= 0 ;
26495 char *kwnames
[] = {
26496 (char *) "self", NULL
26499 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
26500 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
26501 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetBestSizeTuple",kwnames
,&obj0
)) goto fail
;
26502 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26503 if (SWIG_arg_fail(1)) SWIG_fail
;
26505 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26506 ((wxWindow
const *)arg1
)->GetBestSize(arg2
,arg3
);
26508 wxPyEndAllowThreads(__tstate
);
26509 if (PyErr_Occurred()) SWIG_fail
;
26511 Py_INCREF(Py_None
); resultobj
= Py_None
;
26512 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
26513 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
26514 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
26515 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
26522 static PyObject
*_wrap_Window_InvalidateBestSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26523 PyObject
*resultobj
;
26524 wxWindow
*arg1
= (wxWindow
*) 0 ;
26525 PyObject
* obj0
= 0 ;
26526 char *kwnames
[] = {
26527 (char *) "self", NULL
26530 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_InvalidateBestSize",kwnames
,&obj0
)) goto fail
;
26531 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26532 if (SWIG_arg_fail(1)) SWIG_fail
;
26534 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26535 (arg1
)->InvalidateBestSize();
26537 wxPyEndAllowThreads(__tstate
);
26538 if (PyErr_Occurred()) SWIG_fail
;
26540 Py_INCREF(Py_None
); resultobj
= Py_None
;
26547 static PyObject
*_wrap_Window_CacheBestSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26548 PyObject
*resultobj
;
26549 wxWindow
*arg1
= (wxWindow
*) 0 ;
26552 PyObject
* obj0
= 0 ;
26553 PyObject
* obj1
= 0 ;
26554 char *kwnames
[] = {
26555 (char *) "self",(char *) "size", NULL
26558 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_CacheBestSize",kwnames
,&obj0
,&obj1
)) goto fail
;
26559 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26560 if (SWIG_arg_fail(1)) SWIG_fail
;
26563 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
26566 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26567 ((wxWindow
const *)arg1
)->CacheBestSize((wxSize
const &)*arg2
);
26569 wxPyEndAllowThreads(__tstate
);
26570 if (PyErr_Occurred()) SWIG_fail
;
26572 Py_INCREF(Py_None
); resultobj
= Py_None
;
26579 static PyObject
*_wrap_Window_GetBestFittingSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26580 PyObject
*resultobj
;
26581 wxWindow
*arg1
= (wxWindow
*) 0 ;
26583 PyObject
* obj0
= 0 ;
26584 char *kwnames
[] = {
26585 (char *) "self", NULL
26588 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetBestFittingSize",kwnames
,&obj0
)) goto fail
;
26589 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26590 if (SWIG_arg_fail(1)) SWIG_fail
;
26592 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26593 result
= ((wxWindow
const *)arg1
)->GetBestFittingSize();
26595 wxPyEndAllowThreads(__tstate
);
26596 if (PyErr_Occurred()) SWIG_fail
;
26599 wxSize
* resultptr
;
26600 resultptr
= new wxSize((wxSize
&)(result
));
26601 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
26609 static PyObject
*_wrap_Window_GetAdjustedBestSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26610 PyObject
*resultobj
;
26611 wxWindow
*arg1
= (wxWindow
*) 0 ;
26613 PyObject
* obj0
= 0 ;
26614 char *kwnames
[] = {
26615 (char *) "self", NULL
26618 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetAdjustedBestSize",kwnames
,&obj0
)) goto fail
;
26619 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26620 if (SWIG_arg_fail(1)) SWIG_fail
;
26622 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26623 result
= ((wxWindow
const *)arg1
)->GetAdjustedBestSize();
26625 wxPyEndAllowThreads(__tstate
);
26626 if (PyErr_Occurred()) SWIG_fail
;
26629 wxSize
* resultptr
;
26630 resultptr
= new wxSize((wxSize
&)(result
));
26631 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
26639 static PyObject
*_wrap_Window_Center(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26640 PyObject
*resultobj
;
26641 wxWindow
*arg1
= (wxWindow
*) 0 ;
26642 int arg2
= (int) wxBOTH
;
26643 PyObject
* obj0
= 0 ;
26644 PyObject
* obj1
= 0 ;
26645 char *kwnames
[] = {
26646 (char *) "self",(char *) "direction", NULL
26649 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_Center",kwnames
,&obj0
,&obj1
)) goto fail
;
26650 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26651 if (SWIG_arg_fail(1)) SWIG_fail
;
26654 arg2
= (int)(SWIG_As_int(obj1
));
26655 if (SWIG_arg_fail(2)) SWIG_fail
;
26659 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26660 (arg1
)->Center(arg2
);
26662 wxPyEndAllowThreads(__tstate
);
26663 if (PyErr_Occurred()) SWIG_fail
;
26665 Py_INCREF(Py_None
); resultobj
= Py_None
;
26672 static PyObject
*_wrap_Window_CenterOnScreen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26673 PyObject
*resultobj
;
26674 wxWindow
*arg1
= (wxWindow
*) 0 ;
26675 int arg2
= (int) wxBOTH
;
26676 PyObject
* obj0
= 0 ;
26677 PyObject
* obj1
= 0 ;
26678 char *kwnames
[] = {
26679 (char *) "self",(char *) "dir", NULL
26682 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_CenterOnScreen",kwnames
,&obj0
,&obj1
)) goto fail
;
26683 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26684 if (SWIG_arg_fail(1)) SWIG_fail
;
26687 arg2
= (int)(SWIG_As_int(obj1
));
26688 if (SWIG_arg_fail(2)) SWIG_fail
;
26692 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26693 (arg1
)->CenterOnScreen(arg2
);
26695 wxPyEndAllowThreads(__tstate
);
26696 if (PyErr_Occurred()) SWIG_fail
;
26698 Py_INCREF(Py_None
); resultobj
= Py_None
;
26705 static PyObject
*_wrap_Window_CenterOnParent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26706 PyObject
*resultobj
;
26707 wxWindow
*arg1
= (wxWindow
*) 0 ;
26708 int arg2
= (int) wxBOTH
;
26709 PyObject
* obj0
= 0 ;
26710 PyObject
* obj1
= 0 ;
26711 char *kwnames
[] = {
26712 (char *) "self",(char *) "dir", NULL
26715 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_CenterOnParent",kwnames
,&obj0
,&obj1
)) goto fail
;
26716 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26717 if (SWIG_arg_fail(1)) SWIG_fail
;
26720 arg2
= (int)(SWIG_As_int(obj1
));
26721 if (SWIG_arg_fail(2)) SWIG_fail
;
26725 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26726 (arg1
)->CenterOnParent(arg2
);
26728 wxPyEndAllowThreads(__tstate
);
26729 if (PyErr_Occurred()) SWIG_fail
;
26731 Py_INCREF(Py_None
); resultobj
= Py_None
;
26738 static PyObject
*_wrap_Window_Fit(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26739 PyObject
*resultobj
;
26740 wxWindow
*arg1
= (wxWindow
*) 0 ;
26741 PyObject
* obj0
= 0 ;
26742 char *kwnames
[] = {
26743 (char *) "self", NULL
26746 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Fit",kwnames
,&obj0
)) goto fail
;
26747 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26748 if (SWIG_arg_fail(1)) SWIG_fail
;
26750 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26753 wxPyEndAllowThreads(__tstate
);
26754 if (PyErr_Occurred()) SWIG_fail
;
26756 Py_INCREF(Py_None
); resultobj
= Py_None
;
26763 static PyObject
*_wrap_Window_FitInside(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26764 PyObject
*resultobj
;
26765 wxWindow
*arg1
= (wxWindow
*) 0 ;
26766 PyObject
* obj0
= 0 ;
26767 char *kwnames
[] = {
26768 (char *) "self", NULL
26771 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_FitInside",kwnames
,&obj0
)) goto fail
;
26772 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26773 if (SWIG_arg_fail(1)) SWIG_fail
;
26775 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26776 (arg1
)->FitInside();
26778 wxPyEndAllowThreads(__tstate
);
26779 if (PyErr_Occurred()) SWIG_fail
;
26781 Py_INCREF(Py_None
); resultobj
= Py_None
;
26788 static PyObject
*_wrap_Window_SetSizeHints(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26789 PyObject
*resultobj
;
26790 wxWindow
*arg1
= (wxWindow
*) 0 ;
26793 int arg4
= (int) -1 ;
26794 int arg5
= (int) -1 ;
26795 int arg6
= (int) -1 ;
26796 int arg7
= (int) -1 ;
26797 PyObject
* obj0
= 0 ;
26798 PyObject
* obj1
= 0 ;
26799 PyObject
* obj2
= 0 ;
26800 PyObject
* obj3
= 0 ;
26801 PyObject
* obj4
= 0 ;
26802 PyObject
* obj5
= 0 ;
26803 PyObject
* obj6
= 0 ;
26804 char *kwnames
[] = {
26805 (char *) "self",(char *) "minW",(char *) "minH",(char *) "maxW",(char *) "maxH",(char *) "incW",(char *) "incH", NULL
26808 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:Window_SetSizeHints",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
26809 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26810 if (SWIG_arg_fail(1)) SWIG_fail
;
26812 arg2
= (int)(SWIG_As_int(obj1
));
26813 if (SWIG_arg_fail(2)) SWIG_fail
;
26816 arg3
= (int)(SWIG_As_int(obj2
));
26817 if (SWIG_arg_fail(3)) SWIG_fail
;
26821 arg4
= (int)(SWIG_As_int(obj3
));
26822 if (SWIG_arg_fail(4)) SWIG_fail
;
26827 arg5
= (int)(SWIG_As_int(obj4
));
26828 if (SWIG_arg_fail(5)) SWIG_fail
;
26833 arg6
= (int)(SWIG_As_int(obj5
));
26834 if (SWIG_arg_fail(6)) SWIG_fail
;
26839 arg7
= (int)(SWIG_As_int(obj6
));
26840 if (SWIG_arg_fail(7)) SWIG_fail
;
26844 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26845 (arg1
)->SetSizeHints(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
26847 wxPyEndAllowThreads(__tstate
);
26848 if (PyErr_Occurred()) SWIG_fail
;
26850 Py_INCREF(Py_None
); resultobj
= Py_None
;
26857 static PyObject
*_wrap_Window_SetSizeHintsSz(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26858 PyObject
*resultobj
;
26859 wxWindow
*arg1
= (wxWindow
*) 0 ;
26861 wxSize
const &arg3_defvalue
= wxDefaultSize
;
26862 wxSize
*arg3
= (wxSize
*) &arg3_defvalue
;
26863 wxSize
const &arg4_defvalue
= wxDefaultSize
;
26864 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
26868 PyObject
* obj0
= 0 ;
26869 PyObject
* obj1
= 0 ;
26870 PyObject
* obj2
= 0 ;
26871 PyObject
* obj3
= 0 ;
26872 char *kwnames
[] = {
26873 (char *) "self",(char *) "minSize",(char *) "maxSize",(char *) "incSize", NULL
26876 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:Window_SetSizeHintsSz",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
26877 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26878 if (SWIG_arg_fail(1)) SWIG_fail
;
26881 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
26886 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
26892 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
26896 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26897 (arg1
)->SetSizeHints((wxSize
const &)*arg2
,(wxSize
const &)*arg3
,(wxSize
const &)*arg4
);
26899 wxPyEndAllowThreads(__tstate
);
26900 if (PyErr_Occurred()) SWIG_fail
;
26902 Py_INCREF(Py_None
); resultobj
= Py_None
;
26909 static PyObject
*_wrap_Window_SetVirtualSizeHints(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26910 PyObject
*resultobj
;
26911 wxWindow
*arg1
= (wxWindow
*) 0 ;
26914 int arg4
= (int) -1 ;
26915 int arg5
= (int) -1 ;
26916 PyObject
* obj0
= 0 ;
26917 PyObject
* obj1
= 0 ;
26918 PyObject
* obj2
= 0 ;
26919 PyObject
* obj3
= 0 ;
26920 PyObject
* obj4
= 0 ;
26921 char *kwnames
[] = {
26922 (char *) "self",(char *) "minW",(char *) "minH",(char *) "maxW",(char *) "maxH", NULL
26925 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:Window_SetVirtualSizeHints",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
26926 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26927 if (SWIG_arg_fail(1)) SWIG_fail
;
26929 arg2
= (int)(SWIG_As_int(obj1
));
26930 if (SWIG_arg_fail(2)) SWIG_fail
;
26933 arg3
= (int)(SWIG_As_int(obj2
));
26934 if (SWIG_arg_fail(3)) SWIG_fail
;
26938 arg4
= (int)(SWIG_As_int(obj3
));
26939 if (SWIG_arg_fail(4)) SWIG_fail
;
26944 arg5
= (int)(SWIG_As_int(obj4
));
26945 if (SWIG_arg_fail(5)) SWIG_fail
;
26949 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26950 (arg1
)->SetVirtualSizeHints(arg2
,arg3
,arg4
,arg5
);
26952 wxPyEndAllowThreads(__tstate
);
26953 if (PyErr_Occurred()) SWIG_fail
;
26955 Py_INCREF(Py_None
); resultobj
= Py_None
;
26962 static PyObject
*_wrap_Window_SetVirtualSizeHintsSz(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26963 PyObject
*resultobj
;
26964 wxWindow
*arg1
= (wxWindow
*) 0 ;
26966 wxSize
const &arg3_defvalue
= wxDefaultSize
;
26967 wxSize
*arg3
= (wxSize
*) &arg3_defvalue
;
26970 PyObject
* obj0
= 0 ;
26971 PyObject
* obj1
= 0 ;
26972 PyObject
* obj2
= 0 ;
26973 char *kwnames
[] = {
26974 (char *) "self",(char *) "minSize",(char *) "maxSize", NULL
26977 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_SetVirtualSizeHintsSz",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26978 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26979 if (SWIG_arg_fail(1)) SWIG_fail
;
26982 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
26987 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
26991 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26992 (arg1
)->SetVirtualSizeHints((wxSize
const &)*arg2
,(wxSize
const &)*arg3
);
26994 wxPyEndAllowThreads(__tstate
);
26995 if (PyErr_Occurred()) SWIG_fail
;
26997 Py_INCREF(Py_None
); resultobj
= Py_None
;
27004 static PyObject
*_wrap_Window_GetMaxSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27005 PyObject
*resultobj
;
27006 wxWindow
*arg1
= (wxWindow
*) 0 ;
27008 PyObject
* obj0
= 0 ;
27009 char *kwnames
[] = {
27010 (char *) "self", NULL
27013 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetMaxSize",kwnames
,&obj0
)) goto fail
;
27014 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27015 if (SWIG_arg_fail(1)) SWIG_fail
;
27017 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27018 result
= ((wxWindow
const *)arg1
)->GetMaxSize();
27020 wxPyEndAllowThreads(__tstate
);
27021 if (PyErr_Occurred()) SWIG_fail
;
27024 wxSize
* resultptr
;
27025 resultptr
= new wxSize((wxSize
&)(result
));
27026 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
27034 static PyObject
*_wrap_Window_GetMinSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27035 PyObject
*resultobj
;
27036 wxWindow
*arg1
= (wxWindow
*) 0 ;
27038 PyObject
* obj0
= 0 ;
27039 char *kwnames
[] = {
27040 (char *) "self", NULL
27043 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetMinSize",kwnames
,&obj0
)) goto fail
;
27044 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27045 if (SWIG_arg_fail(1)) SWIG_fail
;
27047 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27048 result
= ((wxWindow
const *)arg1
)->GetMinSize();
27050 wxPyEndAllowThreads(__tstate
);
27051 if (PyErr_Occurred()) SWIG_fail
;
27054 wxSize
* resultptr
;
27055 resultptr
= new wxSize((wxSize
&)(result
));
27056 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
27064 static PyObject
*_wrap_Window_SetMinSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27065 PyObject
*resultobj
;
27066 wxWindow
*arg1
= (wxWindow
*) 0 ;
27069 PyObject
* obj0
= 0 ;
27070 PyObject
* obj1
= 0 ;
27071 char *kwnames
[] = {
27072 (char *) "self",(char *) "minSize", NULL
27075 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetMinSize",kwnames
,&obj0
,&obj1
)) goto fail
;
27076 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27077 if (SWIG_arg_fail(1)) SWIG_fail
;
27080 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
27083 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27084 (arg1
)->SetMinSize((wxSize
const &)*arg2
);
27086 wxPyEndAllowThreads(__tstate
);
27087 if (PyErr_Occurred()) SWIG_fail
;
27089 Py_INCREF(Py_None
); resultobj
= Py_None
;
27096 static PyObject
*_wrap_Window_SetMaxSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27097 PyObject
*resultobj
;
27098 wxWindow
*arg1
= (wxWindow
*) 0 ;
27101 PyObject
* obj0
= 0 ;
27102 PyObject
* obj1
= 0 ;
27103 char *kwnames
[] = {
27104 (char *) "self",(char *) "maxSize", NULL
27107 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetMaxSize",kwnames
,&obj0
,&obj1
)) goto fail
;
27108 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27109 if (SWIG_arg_fail(1)) SWIG_fail
;
27112 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
27115 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27116 (arg1
)->SetMaxSize((wxSize
const &)*arg2
);
27118 wxPyEndAllowThreads(__tstate
);
27119 if (PyErr_Occurred()) SWIG_fail
;
27121 Py_INCREF(Py_None
); resultobj
= Py_None
;
27128 static PyObject
*_wrap_Window_GetMinWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27129 PyObject
*resultobj
;
27130 wxWindow
*arg1
= (wxWindow
*) 0 ;
27132 PyObject
* obj0
= 0 ;
27133 char *kwnames
[] = {
27134 (char *) "self", NULL
27137 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetMinWidth",kwnames
,&obj0
)) goto fail
;
27138 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27139 if (SWIG_arg_fail(1)) SWIG_fail
;
27141 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27142 result
= (int)((wxWindow
const *)arg1
)->GetMinWidth();
27144 wxPyEndAllowThreads(__tstate
);
27145 if (PyErr_Occurred()) SWIG_fail
;
27148 resultobj
= SWIG_From_int((int)(result
));
27156 static PyObject
*_wrap_Window_GetMinHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27157 PyObject
*resultobj
;
27158 wxWindow
*arg1
= (wxWindow
*) 0 ;
27160 PyObject
* obj0
= 0 ;
27161 char *kwnames
[] = {
27162 (char *) "self", NULL
27165 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetMinHeight",kwnames
,&obj0
)) goto fail
;
27166 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27167 if (SWIG_arg_fail(1)) SWIG_fail
;
27169 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27170 result
= (int)((wxWindow
const *)arg1
)->GetMinHeight();
27172 wxPyEndAllowThreads(__tstate
);
27173 if (PyErr_Occurred()) SWIG_fail
;
27176 resultobj
= SWIG_From_int((int)(result
));
27184 static PyObject
*_wrap_Window_GetMaxWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27185 PyObject
*resultobj
;
27186 wxWindow
*arg1
= (wxWindow
*) 0 ;
27188 PyObject
* obj0
= 0 ;
27189 char *kwnames
[] = {
27190 (char *) "self", NULL
27193 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetMaxWidth",kwnames
,&obj0
)) goto fail
;
27194 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27195 if (SWIG_arg_fail(1)) SWIG_fail
;
27197 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27198 result
= (int)((wxWindow
const *)arg1
)->GetMaxWidth();
27200 wxPyEndAllowThreads(__tstate
);
27201 if (PyErr_Occurred()) SWIG_fail
;
27204 resultobj
= SWIG_From_int((int)(result
));
27212 static PyObject
*_wrap_Window_GetMaxHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27213 PyObject
*resultobj
;
27214 wxWindow
*arg1
= (wxWindow
*) 0 ;
27216 PyObject
* obj0
= 0 ;
27217 char *kwnames
[] = {
27218 (char *) "self", NULL
27221 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetMaxHeight",kwnames
,&obj0
)) goto fail
;
27222 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27223 if (SWIG_arg_fail(1)) SWIG_fail
;
27225 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27226 result
= (int)((wxWindow
const *)arg1
)->GetMaxHeight();
27228 wxPyEndAllowThreads(__tstate
);
27229 if (PyErr_Occurred()) SWIG_fail
;
27232 resultobj
= SWIG_From_int((int)(result
));
27240 static PyObject
*_wrap_Window_SetVirtualSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27241 PyObject
*resultobj
;
27242 wxWindow
*arg1
= (wxWindow
*) 0 ;
27245 PyObject
* obj0
= 0 ;
27246 PyObject
* obj1
= 0 ;
27247 char *kwnames
[] = {
27248 (char *) "self",(char *) "size", NULL
27251 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetVirtualSize",kwnames
,&obj0
,&obj1
)) goto fail
;
27252 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27253 if (SWIG_arg_fail(1)) SWIG_fail
;
27256 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
27259 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27260 (arg1
)->SetVirtualSize((wxSize
const &)*arg2
);
27262 wxPyEndAllowThreads(__tstate
);
27263 if (PyErr_Occurred()) SWIG_fail
;
27265 Py_INCREF(Py_None
); resultobj
= Py_None
;
27272 static PyObject
*_wrap_Window_SetVirtualSizeWH(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27273 PyObject
*resultobj
;
27274 wxWindow
*arg1
= (wxWindow
*) 0 ;
27277 PyObject
* obj0
= 0 ;
27278 PyObject
* obj1
= 0 ;
27279 PyObject
* obj2
= 0 ;
27280 char *kwnames
[] = {
27281 (char *) "self",(char *) "w",(char *) "h", NULL
27284 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_SetVirtualSizeWH",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
27285 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27286 if (SWIG_arg_fail(1)) SWIG_fail
;
27288 arg2
= (int)(SWIG_As_int(obj1
));
27289 if (SWIG_arg_fail(2)) SWIG_fail
;
27292 arg3
= (int)(SWIG_As_int(obj2
));
27293 if (SWIG_arg_fail(3)) SWIG_fail
;
27296 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27297 (arg1
)->SetVirtualSize(arg2
,arg3
);
27299 wxPyEndAllowThreads(__tstate
);
27300 if (PyErr_Occurred()) SWIG_fail
;
27302 Py_INCREF(Py_None
); resultobj
= Py_None
;
27309 static PyObject
*_wrap_Window_GetVirtualSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27310 PyObject
*resultobj
;
27311 wxWindow
*arg1
= (wxWindow
*) 0 ;
27313 PyObject
* obj0
= 0 ;
27314 char *kwnames
[] = {
27315 (char *) "self", NULL
27318 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetVirtualSize",kwnames
,&obj0
)) goto fail
;
27319 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27320 if (SWIG_arg_fail(1)) SWIG_fail
;
27322 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27323 result
= ((wxWindow
const *)arg1
)->GetVirtualSize();
27325 wxPyEndAllowThreads(__tstate
);
27326 if (PyErr_Occurred()) SWIG_fail
;
27329 wxSize
* resultptr
;
27330 resultptr
= new wxSize((wxSize
&)(result
));
27331 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
27339 static PyObject
*_wrap_Window_GetVirtualSizeTuple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27340 PyObject
*resultobj
;
27341 wxWindow
*arg1
= (wxWindow
*) 0 ;
27342 int *arg2
= (int *) 0 ;
27343 int *arg3
= (int *) 0 ;
27348 PyObject
* obj0
= 0 ;
27349 char *kwnames
[] = {
27350 (char *) "self", NULL
27353 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
27354 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
27355 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetVirtualSizeTuple",kwnames
,&obj0
)) goto fail
;
27356 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27357 if (SWIG_arg_fail(1)) SWIG_fail
;
27359 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27360 ((wxWindow
const *)arg1
)->GetVirtualSize(arg2
,arg3
);
27362 wxPyEndAllowThreads(__tstate
);
27363 if (PyErr_Occurred()) SWIG_fail
;
27365 Py_INCREF(Py_None
); resultobj
= Py_None
;
27366 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
27367 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
27368 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
27369 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
27376 static PyObject
*_wrap_Window_GetBestVirtualSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27377 PyObject
*resultobj
;
27378 wxWindow
*arg1
= (wxWindow
*) 0 ;
27380 PyObject
* obj0
= 0 ;
27381 char *kwnames
[] = {
27382 (char *) "self", NULL
27385 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetBestVirtualSize",kwnames
,&obj0
)) goto fail
;
27386 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27387 if (SWIG_arg_fail(1)) SWIG_fail
;
27389 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27390 result
= ((wxWindow
const *)arg1
)->GetBestVirtualSize();
27392 wxPyEndAllowThreads(__tstate
);
27393 if (PyErr_Occurred()) SWIG_fail
;
27396 wxSize
* resultptr
;
27397 resultptr
= new wxSize((wxSize
&)(result
));
27398 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
27406 static PyObject
*_wrap_Window_Show(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27407 PyObject
*resultobj
;
27408 wxWindow
*arg1
= (wxWindow
*) 0 ;
27409 bool arg2
= (bool) true ;
27411 PyObject
* obj0
= 0 ;
27412 PyObject
* obj1
= 0 ;
27413 char *kwnames
[] = {
27414 (char *) "self",(char *) "show", NULL
27417 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_Show",kwnames
,&obj0
,&obj1
)) goto fail
;
27418 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27419 if (SWIG_arg_fail(1)) SWIG_fail
;
27422 arg2
= (bool)(SWIG_As_bool(obj1
));
27423 if (SWIG_arg_fail(2)) SWIG_fail
;
27427 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27428 result
= (bool)(arg1
)->Show(arg2
);
27430 wxPyEndAllowThreads(__tstate
);
27431 if (PyErr_Occurred()) SWIG_fail
;
27434 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27442 static PyObject
*_wrap_Window_Hide(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27443 PyObject
*resultobj
;
27444 wxWindow
*arg1
= (wxWindow
*) 0 ;
27446 PyObject
* obj0
= 0 ;
27447 char *kwnames
[] = {
27448 (char *) "self", NULL
27451 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Hide",kwnames
,&obj0
)) goto fail
;
27452 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27453 if (SWIG_arg_fail(1)) SWIG_fail
;
27455 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27456 result
= (bool)(arg1
)->Hide();
27458 wxPyEndAllowThreads(__tstate
);
27459 if (PyErr_Occurred()) SWIG_fail
;
27462 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27470 static PyObject
*_wrap_Window_Enable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27471 PyObject
*resultobj
;
27472 wxWindow
*arg1
= (wxWindow
*) 0 ;
27473 bool arg2
= (bool) true ;
27475 PyObject
* obj0
= 0 ;
27476 PyObject
* obj1
= 0 ;
27477 char *kwnames
[] = {
27478 (char *) "self",(char *) "enable", NULL
27481 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_Enable",kwnames
,&obj0
,&obj1
)) goto fail
;
27482 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27483 if (SWIG_arg_fail(1)) SWIG_fail
;
27486 arg2
= (bool)(SWIG_As_bool(obj1
));
27487 if (SWIG_arg_fail(2)) SWIG_fail
;
27491 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27492 result
= (bool)(arg1
)->Enable(arg2
);
27494 wxPyEndAllowThreads(__tstate
);
27495 if (PyErr_Occurred()) SWIG_fail
;
27498 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27506 static PyObject
*_wrap_Window_Disable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27507 PyObject
*resultobj
;
27508 wxWindow
*arg1
= (wxWindow
*) 0 ;
27510 PyObject
* obj0
= 0 ;
27511 char *kwnames
[] = {
27512 (char *) "self", NULL
27515 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Disable",kwnames
,&obj0
)) goto fail
;
27516 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27517 if (SWIG_arg_fail(1)) SWIG_fail
;
27519 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27520 result
= (bool)(arg1
)->Disable();
27522 wxPyEndAllowThreads(__tstate
);
27523 if (PyErr_Occurred()) SWIG_fail
;
27526 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27534 static PyObject
*_wrap_Window_IsShown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27535 PyObject
*resultobj
;
27536 wxWindow
*arg1
= (wxWindow
*) 0 ;
27538 PyObject
* obj0
= 0 ;
27539 char *kwnames
[] = {
27540 (char *) "self", NULL
27543 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_IsShown",kwnames
,&obj0
)) goto fail
;
27544 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27545 if (SWIG_arg_fail(1)) SWIG_fail
;
27547 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27548 result
= (bool)((wxWindow
const *)arg1
)->IsShown();
27550 wxPyEndAllowThreads(__tstate
);
27551 if (PyErr_Occurred()) SWIG_fail
;
27554 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27562 static PyObject
*_wrap_Window_IsEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27563 PyObject
*resultobj
;
27564 wxWindow
*arg1
= (wxWindow
*) 0 ;
27566 PyObject
* obj0
= 0 ;
27567 char *kwnames
[] = {
27568 (char *) "self", NULL
27571 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_IsEnabled",kwnames
,&obj0
)) goto fail
;
27572 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27573 if (SWIG_arg_fail(1)) SWIG_fail
;
27575 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27576 result
= (bool)((wxWindow
const *)arg1
)->IsEnabled();
27578 wxPyEndAllowThreads(__tstate
);
27579 if (PyErr_Occurred()) SWIG_fail
;
27582 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27590 static PyObject
*_wrap_Window_SetWindowStyleFlag(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27591 PyObject
*resultobj
;
27592 wxWindow
*arg1
= (wxWindow
*) 0 ;
27594 PyObject
* obj0
= 0 ;
27595 PyObject
* obj1
= 0 ;
27596 char *kwnames
[] = {
27597 (char *) "self",(char *) "style", NULL
27600 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetWindowStyleFlag",kwnames
,&obj0
,&obj1
)) goto fail
;
27601 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27602 if (SWIG_arg_fail(1)) SWIG_fail
;
27604 arg2
= (long)(SWIG_As_long(obj1
));
27605 if (SWIG_arg_fail(2)) SWIG_fail
;
27608 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27609 (arg1
)->SetWindowStyleFlag(arg2
);
27611 wxPyEndAllowThreads(__tstate
);
27612 if (PyErr_Occurred()) SWIG_fail
;
27614 Py_INCREF(Py_None
); resultobj
= Py_None
;
27621 static PyObject
*_wrap_Window_GetWindowStyleFlag(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27622 PyObject
*resultobj
;
27623 wxWindow
*arg1
= (wxWindow
*) 0 ;
27625 PyObject
* obj0
= 0 ;
27626 char *kwnames
[] = {
27627 (char *) "self", NULL
27630 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetWindowStyleFlag",kwnames
,&obj0
)) goto fail
;
27631 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27632 if (SWIG_arg_fail(1)) SWIG_fail
;
27634 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27635 result
= (long)((wxWindow
const *)arg1
)->GetWindowStyleFlag();
27637 wxPyEndAllowThreads(__tstate
);
27638 if (PyErr_Occurred()) SWIG_fail
;
27641 resultobj
= SWIG_From_long((long)(result
));
27649 static PyObject
*_wrap_Window_HasFlag(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27650 PyObject
*resultobj
;
27651 wxWindow
*arg1
= (wxWindow
*) 0 ;
27654 PyObject
* obj0
= 0 ;
27655 PyObject
* obj1
= 0 ;
27656 char *kwnames
[] = {
27657 (char *) "self",(char *) "flag", NULL
27660 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_HasFlag",kwnames
,&obj0
,&obj1
)) goto fail
;
27661 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27662 if (SWIG_arg_fail(1)) SWIG_fail
;
27664 arg2
= (int)(SWIG_As_int(obj1
));
27665 if (SWIG_arg_fail(2)) SWIG_fail
;
27668 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27669 result
= (bool)((wxWindow
const *)arg1
)->HasFlag(arg2
);
27671 wxPyEndAllowThreads(__tstate
);
27672 if (PyErr_Occurred()) SWIG_fail
;
27675 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27683 static PyObject
*_wrap_Window_IsRetained(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27684 PyObject
*resultobj
;
27685 wxWindow
*arg1
= (wxWindow
*) 0 ;
27687 PyObject
* obj0
= 0 ;
27688 char *kwnames
[] = {
27689 (char *) "self", NULL
27692 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_IsRetained",kwnames
,&obj0
)) goto fail
;
27693 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27694 if (SWIG_arg_fail(1)) SWIG_fail
;
27696 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27697 result
= (bool)((wxWindow
const *)arg1
)->IsRetained();
27699 wxPyEndAllowThreads(__tstate
);
27700 if (PyErr_Occurred()) SWIG_fail
;
27703 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27711 static PyObject
*_wrap_Window_SetExtraStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27712 PyObject
*resultobj
;
27713 wxWindow
*arg1
= (wxWindow
*) 0 ;
27715 PyObject
* obj0
= 0 ;
27716 PyObject
* obj1
= 0 ;
27717 char *kwnames
[] = {
27718 (char *) "self",(char *) "exStyle", NULL
27721 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetExtraStyle",kwnames
,&obj0
,&obj1
)) goto fail
;
27722 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27723 if (SWIG_arg_fail(1)) SWIG_fail
;
27725 arg2
= (long)(SWIG_As_long(obj1
));
27726 if (SWIG_arg_fail(2)) SWIG_fail
;
27729 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27730 (arg1
)->SetExtraStyle(arg2
);
27732 wxPyEndAllowThreads(__tstate
);
27733 if (PyErr_Occurred()) SWIG_fail
;
27735 Py_INCREF(Py_None
); resultobj
= Py_None
;
27742 static PyObject
*_wrap_Window_GetExtraStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27743 PyObject
*resultobj
;
27744 wxWindow
*arg1
= (wxWindow
*) 0 ;
27746 PyObject
* obj0
= 0 ;
27747 char *kwnames
[] = {
27748 (char *) "self", NULL
27751 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetExtraStyle",kwnames
,&obj0
)) goto fail
;
27752 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27753 if (SWIG_arg_fail(1)) SWIG_fail
;
27755 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27756 result
= (long)((wxWindow
const *)arg1
)->GetExtraStyle();
27758 wxPyEndAllowThreads(__tstate
);
27759 if (PyErr_Occurred()) SWIG_fail
;
27762 resultobj
= SWIG_From_long((long)(result
));
27770 static PyObject
*_wrap_Window_MakeModal(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27771 PyObject
*resultobj
;
27772 wxWindow
*arg1
= (wxWindow
*) 0 ;
27773 bool arg2
= (bool) true ;
27774 PyObject
* obj0
= 0 ;
27775 PyObject
* obj1
= 0 ;
27776 char *kwnames
[] = {
27777 (char *) "self",(char *) "modal", NULL
27780 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_MakeModal",kwnames
,&obj0
,&obj1
)) goto fail
;
27781 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27782 if (SWIG_arg_fail(1)) SWIG_fail
;
27785 arg2
= (bool)(SWIG_As_bool(obj1
));
27786 if (SWIG_arg_fail(2)) SWIG_fail
;
27790 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27791 (arg1
)->MakeModal(arg2
);
27793 wxPyEndAllowThreads(__tstate
);
27794 if (PyErr_Occurred()) SWIG_fail
;
27796 Py_INCREF(Py_None
); resultobj
= Py_None
;
27803 static PyObject
*_wrap_Window_SetThemeEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27804 PyObject
*resultobj
;
27805 wxWindow
*arg1
= (wxWindow
*) 0 ;
27807 PyObject
* obj0
= 0 ;
27808 PyObject
* obj1
= 0 ;
27809 char *kwnames
[] = {
27810 (char *) "self",(char *) "enableTheme", NULL
27813 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetThemeEnabled",kwnames
,&obj0
,&obj1
)) goto fail
;
27814 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27815 if (SWIG_arg_fail(1)) SWIG_fail
;
27817 arg2
= (bool)(SWIG_As_bool(obj1
));
27818 if (SWIG_arg_fail(2)) SWIG_fail
;
27821 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27822 (arg1
)->SetThemeEnabled(arg2
);
27824 wxPyEndAllowThreads(__tstate
);
27825 if (PyErr_Occurred()) SWIG_fail
;
27827 Py_INCREF(Py_None
); resultobj
= Py_None
;
27834 static PyObject
*_wrap_Window_GetThemeEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27835 PyObject
*resultobj
;
27836 wxWindow
*arg1
= (wxWindow
*) 0 ;
27838 PyObject
* obj0
= 0 ;
27839 char *kwnames
[] = {
27840 (char *) "self", NULL
27843 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetThemeEnabled",kwnames
,&obj0
)) goto fail
;
27844 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27845 if (SWIG_arg_fail(1)) SWIG_fail
;
27847 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27848 result
= (bool)((wxWindow
const *)arg1
)->GetThemeEnabled();
27850 wxPyEndAllowThreads(__tstate
);
27851 if (PyErr_Occurred()) SWIG_fail
;
27854 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27862 static PyObject
*_wrap_Window_SetFocus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27863 PyObject
*resultobj
;
27864 wxWindow
*arg1
= (wxWindow
*) 0 ;
27865 PyObject
* obj0
= 0 ;
27866 char *kwnames
[] = {
27867 (char *) "self", NULL
27870 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_SetFocus",kwnames
,&obj0
)) 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 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27875 (arg1
)->SetFocus();
27877 wxPyEndAllowThreads(__tstate
);
27878 if (PyErr_Occurred()) SWIG_fail
;
27880 Py_INCREF(Py_None
); resultobj
= Py_None
;
27887 static PyObject
*_wrap_Window_SetFocusFromKbd(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27888 PyObject
*resultobj
;
27889 wxWindow
*arg1
= (wxWindow
*) 0 ;
27890 PyObject
* obj0
= 0 ;
27891 char *kwnames
[] = {
27892 (char *) "self", NULL
27895 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_SetFocusFromKbd",kwnames
,&obj0
)) goto fail
;
27896 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27897 if (SWIG_arg_fail(1)) SWIG_fail
;
27899 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27900 (arg1
)->SetFocusFromKbd();
27902 wxPyEndAllowThreads(__tstate
);
27903 if (PyErr_Occurred()) SWIG_fail
;
27905 Py_INCREF(Py_None
); resultobj
= Py_None
;
27912 static PyObject
*_wrap_Window_FindFocus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27913 PyObject
*resultobj
;
27915 char *kwnames
[] = {
27919 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Window_FindFocus",kwnames
)) goto fail
;
27921 if (!wxPyCheckForApp()) SWIG_fail
;
27922 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27923 result
= (wxWindow
*)wxWindow::FindFocus();
27925 wxPyEndAllowThreads(__tstate
);
27926 if (PyErr_Occurred()) SWIG_fail
;
27929 resultobj
= wxPyMake_wxObject(result
, 0);
27937 static PyObject
*_wrap_Window_AcceptsFocus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27938 PyObject
*resultobj
;
27939 wxWindow
*arg1
= (wxWindow
*) 0 ;
27941 PyObject
* obj0
= 0 ;
27942 char *kwnames
[] = {
27943 (char *) "self", NULL
27946 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_AcceptsFocus",kwnames
,&obj0
)) goto fail
;
27947 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27948 if (SWIG_arg_fail(1)) SWIG_fail
;
27950 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27951 result
= (bool)((wxWindow
const *)arg1
)->AcceptsFocus();
27953 wxPyEndAllowThreads(__tstate
);
27954 if (PyErr_Occurred()) SWIG_fail
;
27957 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27965 static PyObject
*_wrap_Window_AcceptsFocusFromKeyboard(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27966 PyObject
*resultobj
;
27967 wxWindow
*arg1
= (wxWindow
*) 0 ;
27969 PyObject
* obj0
= 0 ;
27970 char *kwnames
[] = {
27971 (char *) "self", NULL
27974 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_AcceptsFocusFromKeyboard",kwnames
,&obj0
)) goto fail
;
27975 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27976 if (SWIG_arg_fail(1)) SWIG_fail
;
27978 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27979 result
= (bool)((wxWindow
const *)arg1
)->AcceptsFocusFromKeyboard();
27981 wxPyEndAllowThreads(__tstate
);
27982 if (PyErr_Occurred()) SWIG_fail
;
27985 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27993 static PyObject
*_wrap_Window_GetDefaultItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27994 PyObject
*resultobj
;
27995 wxWindow
*arg1
= (wxWindow
*) 0 ;
27997 PyObject
* obj0
= 0 ;
27998 char *kwnames
[] = {
27999 (char *) "self", NULL
28002 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetDefaultItem",kwnames
,&obj0
)) goto fail
;
28003 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28004 if (SWIG_arg_fail(1)) SWIG_fail
;
28006 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28007 result
= (wxWindow
*)((wxWindow
const *)arg1
)->GetDefaultItem();
28009 wxPyEndAllowThreads(__tstate
);
28010 if (PyErr_Occurred()) SWIG_fail
;
28013 resultobj
= wxPyMake_wxObject(result
, 0);
28021 static PyObject
*_wrap_Window_SetDefaultItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28022 PyObject
*resultobj
;
28023 wxWindow
*arg1
= (wxWindow
*) 0 ;
28024 wxWindow
*arg2
= (wxWindow
*) 0 ;
28026 PyObject
* obj0
= 0 ;
28027 PyObject
* obj1
= 0 ;
28028 char *kwnames
[] = {
28029 (char *) "self",(char *) "child", NULL
28032 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetDefaultItem",kwnames
,&obj0
,&obj1
)) goto fail
;
28033 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28034 if (SWIG_arg_fail(1)) SWIG_fail
;
28035 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28036 if (SWIG_arg_fail(2)) SWIG_fail
;
28038 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28039 result
= (wxWindow
*)(arg1
)->SetDefaultItem(arg2
);
28041 wxPyEndAllowThreads(__tstate
);
28042 if (PyErr_Occurred()) SWIG_fail
;
28045 resultobj
= wxPyMake_wxObject(result
, 0);
28053 static PyObject
*_wrap_Window_SetTmpDefaultItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28054 PyObject
*resultobj
;
28055 wxWindow
*arg1
= (wxWindow
*) 0 ;
28056 wxWindow
*arg2
= (wxWindow
*) 0 ;
28057 PyObject
* obj0
= 0 ;
28058 PyObject
* obj1
= 0 ;
28059 char *kwnames
[] = {
28060 (char *) "self",(char *) "win", NULL
28063 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetTmpDefaultItem",kwnames
,&obj0
,&obj1
)) goto fail
;
28064 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28065 if (SWIG_arg_fail(1)) SWIG_fail
;
28066 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28067 if (SWIG_arg_fail(2)) SWIG_fail
;
28069 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28070 (arg1
)->SetTmpDefaultItem(arg2
);
28072 wxPyEndAllowThreads(__tstate
);
28073 if (PyErr_Occurred()) SWIG_fail
;
28075 Py_INCREF(Py_None
); resultobj
= Py_None
;
28082 static PyObject
*_wrap_Window_Navigate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28083 PyObject
*resultobj
;
28084 wxWindow
*arg1
= (wxWindow
*) 0 ;
28085 int arg2
= (int) wxNavigationKeyEvent::IsForward
;
28087 PyObject
* obj0
= 0 ;
28088 PyObject
* obj1
= 0 ;
28089 char *kwnames
[] = {
28090 (char *) "self",(char *) "flags", NULL
28093 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_Navigate",kwnames
,&obj0
,&obj1
)) goto fail
;
28094 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28095 if (SWIG_arg_fail(1)) SWIG_fail
;
28098 arg2
= (int)(SWIG_As_int(obj1
));
28099 if (SWIG_arg_fail(2)) SWIG_fail
;
28103 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28104 result
= (bool)(arg1
)->Navigate(arg2
);
28106 wxPyEndAllowThreads(__tstate
);
28107 if (PyErr_Occurred()) SWIG_fail
;
28110 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28118 static PyObject
*_wrap_Window_MoveAfterInTabOrder(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28119 PyObject
*resultobj
;
28120 wxWindow
*arg1
= (wxWindow
*) 0 ;
28121 wxWindow
*arg2
= (wxWindow
*) 0 ;
28122 PyObject
* obj0
= 0 ;
28123 PyObject
* obj1
= 0 ;
28124 char *kwnames
[] = {
28125 (char *) "self",(char *) "win", NULL
28128 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_MoveAfterInTabOrder",kwnames
,&obj0
,&obj1
)) goto fail
;
28129 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28130 if (SWIG_arg_fail(1)) SWIG_fail
;
28131 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28132 if (SWIG_arg_fail(2)) SWIG_fail
;
28134 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28135 (arg1
)->MoveAfterInTabOrder(arg2
);
28137 wxPyEndAllowThreads(__tstate
);
28138 if (PyErr_Occurred()) SWIG_fail
;
28140 Py_INCREF(Py_None
); resultobj
= Py_None
;
28147 static PyObject
*_wrap_Window_MoveBeforeInTabOrder(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28148 PyObject
*resultobj
;
28149 wxWindow
*arg1
= (wxWindow
*) 0 ;
28150 wxWindow
*arg2
= (wxWindow
*) 0 ;
28151 PyObject
* obj0
= 0 ;
28152 PyObject
* obj1
= 0 ;
28153 char *kwnames
[] = {
28154 (char *) "self",(char *) "win", NULL
28157 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_MoveBeforeInTabOrder",kwnames
,&obj0
,&obj1
)) goto fail
;
28158 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28159 if (SWIG_arg_fail(1)) SWIG_fail
;
28160 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28161 if (SWIG_arg_fail(2)) SWIG_fail
;
28163 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28164 (arg1
)->MoveBeforeInTabOrder(arg2
);
28166 wxPyEndAllowThreads(__tstate
);
28167 if (PyErr_Occurred()) SWIG_fail
;
28169 Py_INCREF(Py_None
); resultobj
= Py_None
;
28176 static PyObject
*_wrap_Window_GetChildren(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28177 PyObject
*resultobj
;
28178 wxWindow
*arg1
= (wxWindow
*) 0 ;
28180 PyObject
* obj0
= 0 ;
28181 char *kwnames
[] = {
28182 (char *) "self", NULL
28185 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetChildren",kwnames
,&obj0
)) goto fail
;
28186 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28187 if (SWIG_arg_fail(1)) SWIG_fail
;
28189 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28190 result
= (PyObject
*)wxWindow_GetChildren(arg1
);
28192 wxPyEndAllowThreads(__tstate
);
28193 if (PyErr_Occurred()) SWIG_fail
;
28195 resultobj
= result
;
28202 static PyObject
*_wrap_Window_GetParent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28203 PyObject
*resultobj
;
28204 wxWindow
*arg1
= (wxWindow
*) 0 ;
28206 PyObject
* obj0
= 0 ;
28207 char *kwnames
[] = {
28208 (char *) "self", NULL
28211 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetParent",kwnames
,&obj0
)) goto fail
;
28212 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28213 if (SWIG_arg_fail(1)) SWIG_fail
;
28215 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28216 result
= (wxWindow
*)((wxWindow
const *)arg1
)->GetParent();
28218 wxPyEndAllowThreads(__tstate
);
28219 if (PyErr_Occurred()) SWIG_fail
;
28222 resultobj
= wxPyMake_wxObject(result
, 0);
28230 static PyObject
*_wrap_Window_GetGrandParent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28231 PyObject
*resultobj
;
28232 wxWindow
*arg1
= (wxWindow
*) 0 ;
28234 PyObject
* obj0
= 0 ;
28235 char *kwnames
[] = {
28236 (char *) "self", NULL
28239 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetGrandParent",kwnames
,&obj0
)) goto fail
;
28240 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28241 if (SWIG_arg_fail(1)) SWIG_fail
;
28243 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28244 result
= (wxWindow
*)((wxWindow
const *)arg1
)->GetGrandParent();
28246 wxPyEndAllowThreads(__tstate
);
28247 if (PyErr_Occurred()) SWIG_fail
;
28250 resultobj
= wxPyMake_wxObject(result
, 0);
28258 static PyObject
*_wrap_Window_IsTopLevel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28259 PyObject
*resultobj
;
28260 wxWindow
*arg1
= (wxWindow
*) 0 ;
28262 PyObject
* obj0
= 0 ;
28263 char *kwnames
[] = {
28264 (char *) "self", NULL
28267 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_IsTopLevel",kwnames
,&obj0
)) goto fail
;
28268 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28269 if (SWIG_arg_fail(1)) SWIG_fail
;
28271 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28272 result
= (bool)((wxWindow
const *)arg1
)->IsTopLevel();
28274 wxPyEndAllowThreads(__tstate
);
28275 if (PyErr_Occurred()) SWIG_fail
;
28278 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28286 static PyObject
*_wrap_Window_Reparent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28287 PyObject
*resultobj
;
28288 wxWindow
*arg1
= (wxWindow
*) 0 ;
28289 wxWindow
*arg2
= (wxWindow
*) 0 ;
28291 PyObject
* obj0
= 0 ;
28292 PyObject
* obj1
= 0 ;
28293 char *kwnames
[] = {
28294 (char *) "self",(char *) "newParent", NULL
28297 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_Reparent",kwnames
,&obj0
,&obj1
)) goto fail
;
28298 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28299 if (SWIG_arg_fail(1)) SWIG_fail
;
28300 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28301 if (SWIG_arg_fail(2)) SWIG_fail
;
28303 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28304 result
= (bool)(arg1
)->Reparent(arg2
);
28306 wxPyEndAllowThreads(__tstate
);
28307 if (PyErr_Occurred()) SWIG_fail
;
28310 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28318 static PyObject
*_wrap_Window_AddChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28319 PyObject
*resultobj
;
28320 wxWindow
*arg1
= (wxWindow
*) 0 ;
28321 wxWindow
*arg2
= (wxWindow
*) 0 ;
28322 PyObject
* obj0
= 0 ;
28323 PyObject
* obj1
= 0 ;
28324 char *kwnames
[] = {
28325 (char *) "self",(char *) "child", NULL
28328 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_AddChild",kwnames
,&obj0
,&obj1
)) goto fail
;
28329 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28330 if (SWIG_arg_fail(1)) SWIG_fail
;
28331 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28332 if (SWIG_arg_fail(2)) SWIG_fail
;
28334 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28335 (arg1
)->AddChild(arg2
);
28337 wxPyEndAllowThreads(__tstate
);
28338 if (PyErr_Occurred()) SWIG_fail
;
28340 Py_INCREF(Py_None
); resultobj
= Py_None
;
28347 static PyObject
*_wrap_Window_RemoveChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28348 PyObject
*resultobj
;
28349 wxWindow
*arg1
= (wxWindow
*) 0 ;
28350 wxWindow
*arg2
= (wxWindow
*) 0 ;
28351 PyObject
* obj0
= 0 ;
28352 PyObject
* obj1
= 0 ;
28353 char *kwnames
[] = {
28354 (char *) "self",(char *) "child", NULL
28357 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_RemoveChild",kwnames
,&obj0
,&obj1
)) goto fail
;
28358 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28359 if (SWIG_arg_fail(1)) SWIG_fail
;
28360 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28361 if (SWIG_arg_fail(2)) SWIG_fail
;
28363 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28364 (arg1
)->RemoveChild(arg2
);
28366 wxPyEndAllowThreads(__tstate
);
28367 if (PyErr_Occurred()) SWIG_fail
;
28369 Py_INCREF(Py_None
); resultobj
= Py_None
;
28376 static PyObject
*_wrap_Window_FindWindowById(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28377 PyObject
*resultobj
;
28378 wxWindow
*arg1
= (wxWindow
*) 0 ;
28381 PyObject
* obj0
= 0 ;
28382 PyObject
* obj1
= 0 ;
28383 char *kwnames
[] = {
28384 (char *) "self",(char *) "winid", NULL
28387 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_FindWindowById",kwnames
,&obj0
,&obj1
)) goto fail
;
28388 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28389 if (SWIG_arg_fail(1)) SWIG_fail
;
28391 arg2
= (long)(SWIG_As_long(obj1
));
28392 if (SWIG_arg_fail(2)) SWIG_fail
;
28395 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28396 result
= (wxWindow
*)(arg1
)->FindWindow(arg2
);
28398 wxPyEndAllowThreads(__tstate
);
28399 if (PyErr_Occurred()) SWIG_fail
;
28402 resultobj
= wxPyMake_wxObject(result
, 0);
28410 static PyObject
*_wrap_Window_FindWindowByName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28411 PyObject
*resultobj
;
28412 wxWindow
*arg1
= (wxWindow
*) 0 ;
28413 wxString
*arg2
= 0 ;
28415 bool temp2
= false ;
28416 PyObject
* obj0
= 0 ;
28417 PyObject
* obj1
= 0 ;
28418 char *kwnames
[] = {
28419 (char *) "self",(char *) "name", NULL
28422 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_FindWindowByName",kwnames
,&obj0
,&obj1
)) goto fail
;
28423 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28424 if (SWIG_arg_fail(1)) SWIG_fail
;
28426 arg2
= wxString_in_helper(obj1
);
28427 if (arg2
== NULL
) SWIG_fail
;
28431 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28432 result
= (wxWindow
*)(arg1
)->FindWindow((wxString
const &)*arg2
);
28434 wxPyEndAllowThreads(__tstate
);
28435 if (PyErr_Occurred()) SWIG_fail
;
28438 resultobj
= wxPyMake_wxObject(result
, 0);
28454 static PyObject
*_wrap_Window_GetEventHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28455 PyObject
*resultobj
;
28456 wxWindow
*arg1
= (wxWindow
*) 0 ;
28457 wxEvtHandler
*result
;
28458 PyObject
* obj0
= 0 ;
28459 char *kwnames
[] = {
28460 (char *) "self", NULL
28463 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetEventHandler",kwnames
,&obj0
)) goto fail
;
28464 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28465 if (SWIG_arg_fail(1)) SWIG_fail
;
28467 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28468 result
= (wxEvtHandler
*)((wxWindow
const *)arg1
)->GetEventHandler();
28470 wxPyEndAllowThreads(__tstate
);
28471 if (PyErr_Occurred()) SWIG_fail
;
28474 resultobj
= wxPyMake_wxObject(result
, 0);
28482 static PyObject
*_wrap_Window_SetEventHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28483 PyObject
*resultobj
;
28484 wxWindow
*arg1
= (wxWindow
*) 0 ;
28485 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
28486 PyObject
* obj0
= 0 ;
28487 PyObject
* obj1
= 0 ;
28488 char *kwnames
[] = {
28489 (char *) "self",(char *) "handler", NULL
28492 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetEventHandler",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
;
28495 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
28496 if (SWIG_arg_fail(2)) SWIG_fail
;
28498 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28499 (arg1
)->SetEventHandler(arg2
);
28501 wxPyEndAllowThreads(__tstate
);
28502 if (PyErr_Occurred()) SWIG_fail
;
28504 Py_INCREF(Py_None
); resultobj
= Py_None
;
28511 static PyObject
*_wrap_Window_PushEventHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28512 PyObject
*resultobj
;
28513 wxWindow
*arg1
= (wxWindow
*) 0 ;
28514 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
28515 PyObject
* obj0
= 0 ;
28516 PyObject
* obj1
= 0 ;
28517 char *kwnames
[] = {
28518 (char *) "self",(char *) "handler", NULL
28521 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_PushEventHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
28522 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28523 if (SWIG_arg_fail(1)) SWIG_fail
;
28524 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
28525 if (SWIG_arg_fail(2)) SWIG_fail
;
28527 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28528 (arg1
)->PushEventHandler(arg2
);
28530 wxPyEndAllowThreads(__tstate
);
28531 if (PyErr_Occurred()) SWIG_fail
;
28533 Py_INCREF(Py_None
); resultobj
= Py_None
;
28540 static PyObject
*_wrap_Window_PopEventHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28541 PyObject
*resultobj
;
28542 wxWindow
*arg1
= (wxWindow
*) 0 ;
28543 bool arg2
= (bool) false ;
28544 wxEvtHandler
*result
;
28545 PyObject
* obj0
= 0 ;
28546 PyObject
* obj1
= 0 ;
28547 char *kwnames
[] = {
28548 (char *) "self",(char *) "deleteHandler", NULL
28551 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_PopEventHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
28552 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28553 if (SWIG_arg_fail(1)) SWIG_fail
;
28556 arg2
= (bool)(SWIG_As_bool(obj1
));
28557 if (SWIG_arg_fail(2)) SWIG_fail
;
28561 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28562 result
= (wxEvtHandler
*)(arg1
)->PopEventHandler(arg2
);
28564 wxPyEndAllowThreads(__tstate
);
28565 if (PyErr_Occurred()) SWIG_fail
;
28568 resultobj
= wxPyMake_wxObject(result
, 0);
28576 static PyObject
*_wrap_Window_RemoveEventHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28577 PyObject
*resultobj
;
28578 wxWindow
*arg1
= (wxWindow
*) 0 ;
28579 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
28581 PyObject
* obj0
= 0 ;
28582 PyObject
* obj1
= 0 ;
28583 char *kwnames
[] = {
28584 (char *) "self",(char *) "handler", NULL
28587 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_RemoveEventHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
28588 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28589 if (SWIG_arg_fail(1)) SWIG_fail
;
28590 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
28591 if (SWIG_arg_fail(2)) SWIG_fail
;
28593 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28594 result
= (bool)(arg1
)->RemoveEventHandler(arg2
);
28596 wxPyEndAllowThreads(__tstate
);
28597 if (PyErr_Occurred()) SWIG_fail
;
28600 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28608 static PyObject
*_wrap_Window_SetValidator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28609 PyObject
*resultobj
;
28610 wxWindow
*arg1
= (wxWindow
*) 0 ;
28611 wxValidator
*arg2
= 0 ;
28612 PyObject
* obj0
= 0 ;
28613 PyObject
* obj1
= 0 ;
28614 char *kwnames
[] = {
28615 (char *) "self",(char *) "validator", NULL
28618 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetValidator",kwnames
,&obj0
,&obj1
)) goto fail
;
28619 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28620 if (SWIG_arg_fail(1)) SWIG_fail
;
28622 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
28623 if (SWIG_arg_fail(2)) SWIG_fail
;
28624 if (arg2
== NULL
) {
28625 SWIG_null_ref("wxValidator");
28627 if (SWIG_arg_fail(2)) SWIG_fail
;
28630 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28631 (arg1
)->SetValidator((wxValidator
const &)*arg2
);
28633 wxPyEndAllowThreads(__tstate
);
28634 if (PyErr_Occurred()) SWIG_fail
;
28636 Py_INCREF(Py_None
); resultobj
= Py_None
;
28643 static PyObject
*_wrap_Window_GetValidator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28644 PyObject
*resultobj
;
28645 wxWindow
*arg1
= (wxWindow
*) 0 ;
28646 wxValidator
*result
;
28647 PyObject
* obj0
= 0 ;
28648 char *kwnames
[] = {
28649 (char *) "self", NULL
28652 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetValidator",kwnames
,&obj0
)) goto fail
;
28653 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28654 if (SWIG_arg_fail(1)) SWIG_fail
;
28656 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28657 result
= (wxValidator
*)(arg1
)->GetValidator();
28659 wxPyEndAllowThreads(__tstate
);
28660 if (PyErr_Occurred()) SWIG_fail
;
28663 resultobj
= wxPyMake_wxObject(result
, 0);
28671 static PyObject
*_wrap_Window_Validate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28672 PyObject
*resultobj
;
28673 wxWindow
*arg1
= (wxWindow
*) 0 ;
28675 PyObject
* obj0
= 0 ;
28676 char *kwnames
[] = {
28677 (char *) "self", NULL
28680 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Validate",kwnames
,&obj0
)) goto fail
;
28681 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28682 if (SWIG_arg_fail(1)) SWIG_fail
;
28684 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28685 result
= (bool)(arg1
)->Validate();
28687 wxPyEndAllowThreads(__tstate
);
28688 if (PyErr_Occurred()) SWIG_fail
;
28691 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28699 static PyObject
*_wrap_Window_TransferDataToWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28700 PyObject
*resultobj
;
28701 wxWindow
*arg1
= (wxWindow
*) 0 ;
28703 PyObject
* obj0
= 0 ;
28704 char *kwnames
[] = {
28705 (char *) "self", NULL
28708 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_TransferDataToWindow",kwnames
,&obj0
)) goto fail
;
28709 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28710 if (SWIG_arg_fail(1)) SWIG_fail
;
28712 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28713 result
= (bool)(arg1
)->TransferDataToWindow();
28715 wxPyEndAllowThreads(__tstate
);
28716 if (PyErr_Occurred()) SWIG_fail
;
28719 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28727 static PyObject
*_wrap_Window_TransferDataFromWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28728 PyObject
*resultobj
;
28729 wxWindow
*arg1
= (wxWindow
*) 0 ;
28731 PyObject
* obj0
= 0 ;
28732 char *kwnames
[] = {
28733 (char *) "self", NULL
28736 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_TransferDataFromWindow",kwnames
,&obj0
)) goto fail
;
28737 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28738 if (SWIG_arg_fail(1)) SWIG_fail
;
28740 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28741 result
= (bool)(arg1
)->TransferDataFromWindow();
28743 wxPyEndAllowThreads(__tstate
);
28744 if (PyErr_Occurred()) SWIG_fail
;
28747 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28755 static PyObject
*_wrap_Window_InitDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28756 PyObject
*resultobj
;
28757 wxWindow
*arg1
= (wxWindow
*) 0 ;
28758 PyObject
* obj0
= 0 ;
28759 char *kwnames
[] = {
28760 (char *) "self", NULL
28763 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_InitDialog",kwnames
,&obj0
)) goto fail
;
28764 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28765 if (SWIG_arg_fail(1)) SWIG_fail
;
28767 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28768 (arg1
)->InitDialog();
28770 wxPyEndAllowThreads(__tstate
);
28771 if (PyErr_Occurred()) SWIG_fail
;
28773 Py_INCREF(Py_None
); resultobj
= Py_None
;
28780 static PyObject
*_wrap_Window_SetAcceleratorTable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28781 PyObject
*resultobj
;
28782 wxWindow
*arg1
= (wxWindow
*) 0 ;
28783 wxAcceleratorTable
*arg2
= 0 ;
28784 PyObject
* obj0
= 0 ;
28785 PyObject
* obj1
= 0 ;
28786 char *kwnames
[] = {
28787 (char *) "self",(char *) "accel", NULL
28790 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetAcceleratorTable",kwnames
,&obj0
,&obj1
)) goto fail
;
28791 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28792 if (SWIG_arg_fail(1)) SWIG_fail
;
28794 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxAcceleratorTable
, SWIG_POINTER_EXCEPTION
| 0);
28795 if (SWIG_arg_fail(2)) SWIG_fail
;
28796 if (arg2
== NULL
) {
28797 SWIG_null_ref("wxAcceleratorTable");
28799 if (SWIG_arg_fail(2)) SWIG_fail
;
28802 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28803 (arg1
)->SetAcceleratorTable((wxAcceleratorTable
const &)*arg2
);
28805 wxPyEndAllowThreads(__tstate
);
28806 if (PyErr_Occurred()) SWIG_fail
;
28808 Py_INCREF(Py_None
); resultobj
= Py_None
;
28815 static PyObject
*_wrap_Window_GetAcceleratorTable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28816 PyObject
*resultobj
;
28817 wxWindow
*arg1
= (wxWindow
*) 0 ;
28818 wxAcceleratorTable
*result
;
28819 PyObject
* obj0
= 0 ;
28820 char *kwnames
[] = {
28821 (char *) "self", NULL
28824 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetAcceleratorTable",kwnames
,&obj0
)) goto fail
;
28825 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28826 if (SWIG_arg_fail(1)) SWIG_fail
;
28828 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28829 result
= (wxAcceleratorTable
*)(arg1
)->GetAcceleratorTable();
28831 wxPyEndAllowThreads(__tstate
);
28832 if (PyErr_Occurred()) SWIG_fail
;
28834 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxAcceleratorTable
, 0);
28841 static PyObject
*_wrap_Window_RegisterHotKey(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28842 PyObject
*resultobj
;
28843 wxWindow
*arg1
= (wxWindow
*) 0 ;
28848 PyObject
* obj0
= 0 ;
28849 PyObject
* obj1
= 0 ;
28850 PyObject
* obj2
= 0 ;
28851 PyObject
* obj3
= 0 ;
28852 char *kwnames
[] = {
28853 (char *) "self",(char *) "hotkeyId",(char *) "modifiers",(char *) "keycode", NULL
28856 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Window_RegisterHotKey",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
28857 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28858 if (SWIG_arg_fail(1)) SWIG_fail
;
28860 arg2
= (int)(SWIG_As_int(obj1
));
28861 if (SWIG_arg_fail(2)) SWIG_fail
;
28864 arg3
= (int)(SWIG_As_int(obj2
));
28865 if (SWIG_arg_fail(3)) SWIG_fail
;
28868 arg4
= (int)(SWIG_As_int(obj3
));
28869 if (SWIG_arg_fail(4)) SWIG_fail
;
28872 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28873 result
= (bool)wxWindow_RegisterHotKey(arg1
,arg2
,arg3
,arg4
);
28875 wxPyEndAllowThreads(__tstate
);
28876 if (PyErr_Occurred()) SWIG_fail
;
28879 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28887 static PyObject
*_wrap_Window_UnregisterHotKey(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28888 PyObject
*resultobj
;
28889 wxWindow
*arg1
= (wxWindow
*) 0 ;
28892 PyObject
* obj0
= 0 ;
28893 PyObject
* obj1
= 0 ;
28894 char *kwnames
[] = {
28895 (char *) "self",(char *) "hotkeyId", NULL
28898 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_UnregisterHotKey",kwnames
,&obj0
,&obj1
)) goto fail
;
28899 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28900 if (SWIG_arg_fail(1)) SWIG_fail
;
28902 arg2
= (int)(SWIG_As_int(obj1
));
28903 if (SWIG_arg_fail(2)) SWIG_fail
;
28906 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28907 result
= (bool)wxWindow_UnregisterHotKey(arg1
,arg2
);
28909 wxPyEndAllowThreads(__tstate
);
28910 if (PyErr_Occurred()) SWIG_fail
;
28913 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28921 static PyObject
*_wrap_Window_ConvertDialogPointToPixels(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28922 PyObject
*resultobj
;
28923 wxWindow
*arg1
= (wxWindow
*) 0 ;
28924 wxPoint
*arg2
= 0 ;
28927 PyObject
* obj0
= 0 ;
28928 PyObject
* obj1
= 0 ;
28929 char *kwnames
[] = {
28930 (char *) "self",(char *) "pt", NULL
28933 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ConvertDialogPointToPixels",kwnames
,&obj0
,&obj1
)) goto fail
;
28934 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28935 if (SWIG_arg_fail(1)) SWIG_fail
;
28938 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
28941 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28942 result
= (arg1
)->ConvertDialogToPixels((wxPoint
const &)*arg2
);
28944 wxPyEndAllowThreads(__tstate
);
28945 if (PyErr_Occurred()) SWIG_fail
;
28948 wxPoint
* resultptr
;
28949 resultptr
= new wxPoint((wxPoint
&)(result
));
28950 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
28958 static PyObject
*_wrap_Window_ConvertDialogSizeToPixels(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28959 PyObject
*resultobj
;
28960 wxWindow
*arg1
= (wxWindow
*) 0 ;
28964 PyObject
* obj0
= 0 ;
28965 PyObject
* obj1
= 0 ;
28966 char *kwnames
[] = {
28967 (char *) "self",(char *) "sz", NULL
28970 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ConvertDialogSizeToPixels",kwnames
,&obj0
,&obj1
)) goto fail
;
28971 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28972 if (SWIG_arg_fail(1)) SWIG_fail
;
28975 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
28978 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28979 result
= (arg1
)->ConvertDialogToPixels((wxSize
const &)*arg2
);
28981 wxPyEndAllowThreads(__tstate
);
28982 if (PyErr_Occurred()) SWIG_fail
;
28985 wxSize
* resultptr
;
28986 resultptr
= new wxSize((wxSize
&)(result
));
28987 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
28995 static PyObject
*_wrap_Window_DLG_PNT(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28996 PyObject
*resultobj
;
28997 wxWindow
*arg1
= (wxWindow
*) 0 ;
28998 wxPoint
*arg2
= 0 ;
29001 PyObject
* obj0
= 0 ;
29002 PyObject
* obj1
= 0 ;
29003 char *kwnames
[] = {
29004 (char *) "self",(char *) "pt", NULL
29007 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_DLG_PNT",kwnames
,&obj0
,&obj1
)) goto fail
;
29008 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29009 if (SWIG_arg_fail(1)) SWIG_fail
;
29012 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
29015 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29016 result
= (arg1
)->ConvertDialogToPixels((wxPoint
const &)*arg2
);
29018 wxPyEndAllowThreads(__tstate
);
29019 if (PyErr_Occurred()) SWIG_fail
;
29022 wxPoint
* resultptr
;
29023 resultptr
= new wxPoint((wxPoint
&)(result
));
29024 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
29032 static PyObject
*_wrap_Window_DLG_SZE(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29033 PyObject
*resultobj
;
29034 wxWindow
*arg1
= (wxWindow
*) 0 ;
29038 PyObject
* obj0
= 0 ;
29039 PyObject
* obj1
= 0 ;
29040 char *kwnames
[] = {
29041 (char *) "self",(char *) "sz", NULL
29044 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_DLG_SZE",kwnames
,&obj0
,&obj1
)) goto fail
;
29045 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29046 if (SWIG_arg_fail(1)) SWIG_fail
;
29049 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
29052 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29053 result
= (arg1
)->ConvertDialogToPixels((wxSize
const &)*arg2
);
29055 wxPyEndAllowThreads(__tstate
);
29056 if (PyErr_Occurred()) SWIG_fail
;
29059 wxSize
* resultptr
;
29060 resultptr
= new wxSize((wxSize
&)(result
));
29061 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
29069 static PyObject
*_wrap_Window_ConvertPixelPointToDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29070 PyObject
*resultobj
;
29071 wxWindow
*arg1
= (wxWindow
*) 0 ;
29072 wxPoint
*arg2
= 0 ;
29075 PyObject
* obj0
= 0 ;
29076 PyObject
* obj1
= 0 ;
29077 char *kwnames
[] = {
29078 (char *) "self",(char *) "pt", NULL
29081 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ConvertPixelPointToDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
29082 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29083 if (SWIG_arg_fail(1)) SWIG_fail
;
29086 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
29089 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29090 result
= (arg1
)->ConvertPixelsToDialog((wxPoint
const &)*arg2
);
29092 wxPyEndAllowThreads(__tstate
);
29093 if (PyErr_Occurred()) SWIG_fail
;
29096 wxPoint
* resultptr
;
29097 resultptr
= new wxPoint((wxPoint
&)(result
));
29098 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
29106 static PyObject
*_wrap_Window_ConvertPixelSizeToDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29107 PyObject
*resultobj
;
29108 wxWindow
*arg1
= (wxWindow
*) 0 ;
29112 PyObject
* obj0
= 0 ;
29113 PyObject
* obj1
= 0 ;
29114 char *kwnames
[] = {
29115 (char *) "self",(char *) "sz", NULL
29118 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ConvertPixelSizeToDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
29119 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29120 if (SWIG_arg_fail(1)) SWIG_fail
;
29123 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
29126 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29127 result
= (arg1
)->ConvertPixelsToDialog((wxSize
const &)*arg2
);
29129 wxPyEndAllowThreads(__tstate
);
29130 if (PyErr_Occurred()) SWIG_fail
;
29133 wxSize
* resultptr
;
29134 resultptr
= new wxSize((wxSize
&)(result
));
29135 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
29143 static PyObject
*_wrap_Window_WarpPointer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29144 PyObject
*resultobj
;
29145 wxWindow
*arg1
= (wxWindow
*) 0 ;
29148 PyObject
* obj0
= 0 ;
29149 PyObject
* obj1
= 0 ;
29150 PyObject
* obj2
= 0 ;
29151 char *kwnames
[] = {
29152 (char *) "self",(char *) "x",(char *) "y", NULL
29155 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_WarpPointer",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29156 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29157 if (SWIG_arg_fail(1)) SWIG_fail
;
29159 arg2
= (int)(SWIG_As_int(obj1
));
29160 if (SWIG_arg_fail(2)) SWIG_fail
;
29163 arg3
= (int)(SWIG_As_int(obj2
));
29164 if (SWIG_arg_fail(3)) SWIG_fail
;
29167 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29168 (arg1
)->WarpPointer(arg2
,arg3
);
29170 wxPyEndAllowThreads(__tstate
);
29171 if (PyErr_Occurred()) SWIG_fail
;
29173 Py_INCREF(Py_None
); resultobj
= Py_None
;
29180 static PyObject
*_wrap_Window_CaptureMouse(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29181 PyObject
*resultobj
;
29182 wxWindow
*arg1
= (wxWindow
*) 0 ;
29183 PyObject
* obj0
= 0 ;
29184 char *kwnames
[] = {
29185 (char *) "self", NULL
29188 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_CaptureMouse",kwnames
,&obj0
)) goto fail
;
29189 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29190 if (SWIG_arg_fail(1)) SWIG_fail
;
29192 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29193 (arg1
)->CaptureMouse();
29195 wxPyEndAllowThreads(__tstate
);
29196 if (PyErr_Occurred()) SWIG_fail
;
29198 Py_INCREF(Py_None
); resultobj
= Py_None
;
29205 static PyObject
*_wrap_Window_ReleaseMouse(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29206 PyObject
*resultobj
;
29207 wxWindow
*arg1
= (wxWindow
*) 0 ;
29208 PyObject
* obj0
= 0 ;
29209 char *kwnames
[] = {
29210 (char *) "self", NULL
29213 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_ReleaseMouse",kwnames
,&obj0
)) goto fail
;
29214 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29215 if (SWIG_arg_fail(1)) SWIG_fail
;
29217 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29218 (arg1
)->ReleaseMouse();
29220 wxPyEndAllowThreads(__tstate
);
29221 if (PyErr_Occurred()) SWIG_fail
;
29223 Py_INCREF(Py_None
); resultobj
= Py_None
;
29230 static PyObject
*_wrap_Window_GetCapture(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29231 PyObject
*resultobj
;
29233 char *kwnames
[] = {
29237 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Window_GetCapture",kwnames
)) goto fail
;
29239 if (!wxPyCheckForApp()) SWIG_fail
;
29240 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29241 result
= (wxWindow
*)wxWindow::GetCapture();
29243 wxPyEndAllowThreads(__tstate
);
29244 if (PyErr_Occurred()) SWIG_fail
;
29247 resultobj
= wxPyMake_wxObject(result
, 0);
29255 static PyObject
*_wrap_Window_HasCapture(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29256 PyObject
*resultobj
;
29257 wxWindow
*arg1
= (wxWindow
*) 0 ;
29259 PyObject
* obj0
= 0 ;
29260 char *kwnames
[] = {
29261 (char *) "self", NULL
29264 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_HasCapture",kwnames
,&obj0
)) goto fail
;
29265 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29266 if (SWIG_arg_fail(1)) SWIG_fail
;
29268 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29269 result
= (bool)((wxWindow
const *)arg1
)->HasCapture();
29271 wxPyEndAllowThreads(__tstate
);
29272 if (PyErr_Occurred()) SWIG_fail
;
29275 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29283 static PyObject
*_wrap_Window_Refresh(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29284 PyObject
*resultobj
;
29285 wxWindow
*arg1
= (wxWindow
*) 0 ;
29286 bool arg2
= (bool) true ;
29287 wxRect
*arg3
= (wxRect
*) NULL
;
29288 PyObject
* obj0
= 0 ;
29289 PyObject
* obj1
= 0 ;
29290 PyObject
* obj2
= 0 ;
29291 char *kwnames
[] = {
29292 (char *) "self",(char *) "eraseBackground",(char *) "rect", NULL
29295 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Window_Refresh",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29296 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29297 if (SWIG_arg_fail(1)) SWIG_fail
;
29300 arg2
= (bool)(SWIG_As_bool(obj1
));
29301 if (SWIG_arg_fail(2)) SWIG_fail
;
29305 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
29306 if (SWIG_arg_fail(3)) SWIG_fail
;
29309 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29310 (arg1
)->Refresh(arg2
,(wxRect
const *)arg3
);
29312 wxPyEndAllowThreads(__tstate
);
29313 if (PyErr_Occurred()) SWIG_fail
;
29315 Py_INCREF(Py_None
); resultobj
= Py_None
;
29322 static PyObject
*_wrap_Window_RefreshRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29323 PyObject
*resultobj
;
29324 wxWindow
*arg1
= (wxWindow
*) 0 ;
29326 bool arg3
= (bool) true ;
29328 PyObject
* obj0
= 0 ;
29329 PyObject
* obj1
= 0 ;
29330 PyObject
* obj2
= 0 ;
29331 char *kwnames
[] = {
29332 (char *) "self",(char *) "rect",(char *) "eraseBackground", NULL
29335 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_RefreshRect",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29336 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29337 if (SWIG_arg_fail(1)) SWIG_fail
;
29340 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
29344 arg3
= (bool)(SWIG_As_bool(obj2
));
29345 if (SWIG_arg_fail(3)) SWIG_fail
;
29349 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29350 (arg1
)->RefreshRect((wxRect
const &)*arg2
,arg3
);
29352 wxPyEndAllowThreads(__tstate
);
29353 if (PyErr_Occurred()) SWIG_fail
;
29355 Py_INCREF(Py_None
); resultobj
= Py_None
;
29362 static PyObject
*_wrap_Window_Update(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29363 PyObject
*resultobj
;
29364 wxWindow
*arg1
= (wxWindow
*) 0 ;
29365 PyObject
* obj0
= 0 ;
29366 char *kwnames
[] = {
29367 (char *) "self", NULL
29370 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Update",kwnames
,&obj0
)) goto fail
;
29371 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29372 if (SWIG_arg_fail(1)) SWIG_fail
;
29374 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29377 wxPyEndAllowThreads(__tstate
);
29378 if (PyErr_Occurred()) SWIG_fail
;
29380 Py_INCREF(Py_None
); resultobj
= Py_None
;
29387 static PyObject
*_wrap_Window_ClearBackground(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29388 PyObject
*resultobj
;
29389 wxWindow
*arg1
= (wxWindow
*) 0 ;
29390 PyObject
* obj0
= 0 ;
29391 char *kwnames
[] = {
29392 (char *) "self", NULL
29395 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_ClearBackground",kwnames
,&obj0
)) goto fail
;
29396 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29397 if (SWIG_arg_fail(1)) SWIG_fail
;
29399 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29400 (arg1
)->ClearBackground();
29402 wxPyEndAllowThreads(__tstate
);
29403 if (PyErr_Occurred()) SWIG_fail
;
29405 Py_INCREF(Py_None
); resultobj
= Py_None
;
29412 static PyObject
*_wrap_Window_Freeze(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29413 PyObject
*resultobj
;
29414 wxWindow
*arg1
= (wxWindow
*) 0 ;
29415 PyObject
* obj0
= 0 ;
29416 char *kwnames
[] = {
29417 (char *) "self", NULL
29420 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Freeze",kwnames
,&obj0
)) goto fail
;
29421 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29422 if (SWIG_arg_fail(1)) SWIG_fail
;
29424 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29427 wxPyEndAllowThreads(__tstate
);
29428 if (PyErr_Occurred()) SWIG_fail
;
29430 Py_INCREF(Py_None
); resultobj
= Py_None
;
29437 static PyObject
*_wrap_Window_Thaw(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29438 PyObject
*resultobj
;
29439 wxWindow
*arg1
= (wxWindow
*) 0 ;
29440 PyObject
* obj0
= 0 ;
29441 char *kwnames
[] = {
29442 (char *) "self", NULL
29445 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Thaw",kwnames
,&obj0
)) goto fail
;
29446 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29447 if (SWIG_arg_fail(1)) SWIG_fail
;
29449 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29452 wxPyEndAllowThreads(__tstate
);
29453 if (PyErr_Occurred()) SWIG_fail
;
29455 Py_INCREF(Py_None
); resultobj
= Py_None
;
29462 static PyObject
*_wrap_Window_PrepareDC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29463 PyObject
*resultobj
;
29464 wxWindow
*arg1
= (wxWindow
*) 0 ;
29466 PyObject
* obj0
= 0 ;
29467 PyObject
* obj1
= 0 ;
29468 char *kwnames
[] = {
29469 (char *) "self",(char *) "dc", NULL
29472 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_PrepareDC",kwnames
,&obj0
,&obj1
)) goto fail
;
29473 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29474 if (SWIG_arg_fail(1)) SWIG_fail
;
29476 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
29477 if (SWIG_arg_fail(2)) SWIG_fail
;
29478 if (arg2
== NULL
) {
29479 SWIG_null_ref("wxDC");
29481 if (SWIG_arg_fail(2)) SWIG_fail
;
29484 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29485 (arg1
)->PrepareDC(*arg2
);
29487 wxPyEndAllowThreads(__tstate
);
29488 if (PyErr_Occurred()) SWIG_fail
;
29490 Py_INCREF(Py_None
); resultobj
= Py_None
;
29497 static PyObject
*_wrap_Window_GetUpdateRegion(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29498 PyObject
*resultobj
;
29499 wxWindow
*arg1
= (wxWindow
*) 0 ;
29501 PyObject
* obj0
= 0 ;
29502 char *kwnames
[] = {
29503 (char *) "self", NULL
29506 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetUpdateRegion",kwnames
,&obj0
)) goto fail
;
29507 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29508 if (SWIG_arg_fail(1)) SWIG_fail
;
29510 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29512 wxRegion
&_result_ref
= (arg1
)->GetUpdateRegion();
29513 result
= (wxRegion
*) &_result_ref
;
29516 wxPyEndAllowThreads(__tstate
);
29517 if (PyErr_Occurred()) SWIG_fail
;
29519 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRegion
, 0);
29526 static PyObject
*_wrap_Window_GetUpdateClientRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29527 PyObject
*resultobj
;
29528 wxWindow
*arg1
= (wxWindow
*) 0 ;
29530 PyObject
* obj0
= 0 ;
29531 char *kwnames
[] = {
29532 (char *) "self", NULL
29535 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetUpdateClientRect",kwnames
,&obj0
)) goto fail
;
29536 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29537 if (SWIG_arg_fail(1)) SWIG_fail
;
29539 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29540 result
= ((wxWindow
const *)arg1
)->GetUpdateClientRect();
29542 wxPyEndAllowThreads(__tstate
);
29543 if (PyErr_Occurred()) SWIG_fail
;
29546 wxRect
* resultptr
;
29547 resultptr
= new wxRect((wxRect
&)(result
));
29548 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
29556 static PyObject
*_wrap_Window_IsExposed(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29557 PyObject
*resultobj
;
29558 wxWindow
*arg1
= (wxWindow
*) 0 ;
29561 int arg4
= (int) 1 ;
29562 int arg5
= (int) 1 ;
29564 PyObject
* obj0
= 0 ;
29565 PyObject
* obj1
= 0 ;
29566 PyObject
* obj2
= 0 ;
29567 PyObject
* obj3
= 0 ;
29568 PyObject
* obj4
= 0 ;
29569 char *kwnames
[] = {
29570 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
29573 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:Window_IsExposed",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
29574 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29575 if (SWIG_arg_fail(1)) SWIG_fail
;
29577 arg2
= (int)(SWIG_As_int(obj1
));
29578 if (SWIG_arg_fail(2)) SWIG_fail
;
29581 arg3
= (int)(SWIG_As_int(obj2
));
29582 if (SWIG_arg_fail(3)) SWIG_fail
;
29586 arg4
= (int)(SWIG_As_int(obj3
));
29587 if (SWIG_arg_fail(4)) SWIG_fail
;
29592 arg5
= (int)(SWIG_As_int(obj4
));
29593 if (SWIG_arg_fail(5)) SWIG_fail
;
29597 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29598 result
= (bool)((wxWindow
const *)arg1
)->IsExposed(arg2
,arg3
,arg4
,arg5
);
29600 wxPyEndAllowThreads(__tstate
);
29601 if (PyErr_Occurred()) SWIG_fail
;
29604 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29612 static PyObject
*_wrap_Window_IsExposedPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29613 PyObject
*resultobj
;
29614 wxWindow
*arg1
= (wxWindow
*) 0 ;
29615 wxPoint
*arg2
= 0 ;
29618 PyObject
* obj0
= 0 ;
29619 PyObject
* obj1
= 0 ;
29620 char *kwnames
[] = {
29621 (char *) "self",(char *) "pt", NULL
29624 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_IsExposedPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
29625 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29626 if (SWIG_arg_fail(1)) SWIG_fail
;
29629 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
29632 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29633 result
= (bool)((wxWindow
const *)arg1
)->IsExposed((wxPoint
const &)*arg2
);
29635 wxPyEndAllowThreads(__tstate
);
29636 if (PyErr_Occurred()) SWIG_fail
;
29639 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29647 static PyObject
*_wrap_Window_IsExposedRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29648 PyObject
*resultobj
;
29649 wxWindow
*arg1
= (wxWindow
*) 0 ;
29653 PyObject
* obj0
= 0 ;
29654 PyObject
* obj1
= 0 ;
29655 char *kwnames
[] = {
29656 (char *) "self",(char *) "rect", NULL
29659 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_IsExposedRect",kwnames
,&obj0
,&obj1
)) goto fail
;
29660 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29661 if (SWIG_arg_fail(1)) SWIG_fail
;
29664 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
29667 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29668 result
= (bool)((wxWindow
const *)arg1
)->IsExposed((wxRect
const &)*arg2
);
29670 wxPyEndAllowThreads(__tstate
);
29671 if (PyErr_Occurred()) SWIG_fail
;
29674 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29682 static PyObject
*_wrap_Window_GetDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29683 PyObject
*resultobj
;
29684 wxWindow
*arg1
= (wxWindow
*) 0 ;
29685 wxVisualAttributes result
;
29686 PyObject
* obj0
= 0 ;
29687 char *kwnames
[] = {
29688 (char *) "self", NULL
29691 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetDefaultAttributes",kwnames
,&obj0
)) goto fail
;
29692 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29693 if (SWIG_arg_fail(1)) SWIG_fail
;
29695 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29696 result
= ((wxWindow
const *)arg1
)->GetDefaultAttributes();
29698 wxPyEndAllowThreads(__tstate
);
29699 if (PyErr_Occurred()) SWIG_fail
;
29702 wxVisualAttributes
* resultptr
;
29703 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
29704 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
29712 static PyObject
*_wrap_Window_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29713 PyObject
*resultobj
;
29714 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
29715 wxVisualAttributes result
;
29716 PyObject
* obj0
= 0 ;
29717 char *kwnames
[] = {
29718 (char *) "variant", NULL
29721 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Window_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
29724 arg1
= (wxWindowVariant
)(SWIG_As_int(obj0
));
29725 if (SWIG_arg_fail(1)) SWIG_fail
;
29729 if (!wxPyCheckForApp()) SWIG_fail
;
29730 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29731 result
= wxWindow::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
29733 wxPyEndAllowThreads(__tstate
);
29734 if (PyErr_Occurred()) SWIG_fail
;
29737 wxVisualAttributes
* resultptr
;
29738 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
29739 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
29747 static PyObject
*_wrap_Window_SetBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29748 PyObject
*resultobj
;
29749 wxWindow
*arg1
= (wxWindow
*) 0 ;
29750 wxColour
*arg2
= 0 ;
29753 PyObject
* obj0
= 0 ;
29754 PyObject
* obj1
= 0 ;
29755 char *kwnames
[] = {
29756 (char *) "self",(char *) "colour", NULL
29759 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
29760 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29761 if (SWIG_arg_fail(1)) SWIG_fail
;
29764 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
29767 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29768 result
= (bool)(arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
29770 wxPyEndAllowThreads(__tstate
);
29771 if (PyErr_Occurred()) SWIG_fail
;
29774 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29782 static PyObject
*_wrap_Window_SetOwnBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29783 PyObject
*resultobj
;
29784 wxWindow
*arg1
= (wxWindow
*) 0 ;
29785 wxColour
*arg2
= 0 ;
29787 PyObject
* obj0
= 0 ;
29788 PyObject
* obj1
= 0 ;
29789 char *kwnames
[] = {
29790 (char *) "self",(char *) "colour", NULL
29793 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetOwnBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
29794 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29795 if (SWIG_arg_fail(1)) SWIG_fail
;
29798 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
29801 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29802 (arg1
)->SetOwnBackgroundColour((wxColour
const &)*arg2
);
29804 wxPyEndAllowThreads(__tstate
);
29805 if (PyErr_Occurred()) SWIG_fail
;
29807 Py_INCREF(Py_None
); resultobj
= Py_None
;
29814 static PyObject
*_wrap_Window_SetForegroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29815 PyObject
*resultobj
;
29816 wxWindow
*arg1
= (wxWindow
*) 0 ;
29817 wxColour
*arg2
= 0 ;
29820 PyObject
* obj0
= 0 ;
29821 PyObject
* obj1
= 0 ;
29822 char *kwnames
[] = {
29823 (char *) "self",(char *) "colour", NULL
29826 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetForegroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
29827 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29828 if (SWIG_arg_fail(1)) SWIG_fail
;
29831 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
29834 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29835 result
= (bool)(arg1
)->SetForegroundColour((wxColour
const &)*arg2
);
29837 wxPyEndAllowThreads(__tstate
);
29838 if (PyErr_Occurred()) SWIG_fail
;
29841 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29849 static PyObject
*_wrap_Window_SetOwnForegroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29850 PyObject
*resultobj
;
29851 wxWindow
*arg1
= (wxWindow
*) 0 ;
29852 wxColour
*arg2
= 0 ;
29854 PyObject
* obj0
= 0 ;
29855 PyObject
* obj1
= 0 ;
29856 char *kwnames
[] = {
29857 (char *) "self",(char *) "colour", NULL
29860 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetOwnForegroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
29861 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29862 if (SWIG_arg_fail(1)) SWIG_fail
;
29865 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
29868 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29869 (arg1
)->SetOwnForegroundColour((wxColour
const &)*arg2
);
29871 wxPyEndAllowThreads(__tstate
);
29872 if (PyErr_Occurred()) SWIG_fail
;
29874 Py_INCREF(Py_None
); resultobj
= Py_None
;
29881 static PyObject
*_wrap_Window_GetBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29882 PyObject
*resultobj
;
29883 wxWindow
*arg1
= (wxWindow
*) 0 ;
29885 PyObject
* obj0
= 0 ;
29886 char *kwnames
[] = {
29887 (char *) "self", NULL
29890 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetBackgroundColour",kwnames
,&obj0
)) goto fail
;
29891 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29892 if (SWIG_arg_fail(1)) SWIG_fail
;
29894 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29895 result
= ((wxWindow
const *)arg1
)->GetBackgroundColour();
29897 wxPyEndAllowThreads(__tstate
);
29898 if (PyErr_Occurred()) SWIG_fail
;
29901 wxColour
* resultptr
;
29902 resultptr
= new wxColour((wxColour
&)(result
));
29903 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
29911 static PyObject
*_wrap_Window_GetForegroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29912 PyObject
*resultobj
;
29913 wxWindow
*arg1
= (wxWindow
*) 0 ;
29915 PyObject
* obj0
= 0 ;
29916 char *kwnames
[] = {
29917 (char *) "self", NULL
29920 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetForegroundColour",kwnames
,&obj0
)) goto fail
;
29921 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29922 if (SWIG_arg_fail(1)) SWIG_fail
;
29924 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29925 result
= ((wxWindow
const *)arg1
)->GetForegroundColour();
29927 wxPyEndAllowThreads(__tstate
);
29928 if (PyErr_Occurred()) SWIG_fail
;
29931 wxColour
* resultptr
;
29932 resultptr
= new wxColour((wxColour
&)(result
));
29933 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
29941 static PyObject
*_wrap_Window_InheritsBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29942 PyObject
*resultobj
;
29943 wxWindow
*arg1
= (wxWindow
*) 0 ;
29945 PyObject
* obj0
= 0 ;
29946 char *kwnames
[] = {
29947 (char *) "self", NULL
29950 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_InheritsBackgroundColour",kwnames
,&obj0
)) goto fail
;
29951 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29952 if (SWIG_arg_fail(1)) SWIG_fail
;
29954 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29955 result
= (bool)((wxWindow
const *)arg1
)->InheritsBackgroundColour();
29957 wxPyEndAllowThreads(__tstate
);
29958 if (PyErr_Occurred()) SWIG_fail
;
29961 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29969 static PyObject
*_wrap_Window_UseBgCol(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29970 PyObject
*resultobj
;
29971 wxWindow
*arg1
= (wxWindow
*) 0 ;
29973 PyObject
* obj0
= 0 ;
29974 char *kwnames
[] = {
29975 (char *) "self", NULL
29978 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_UseBgCol",kwnames
,&obj0
)) goto fail
;
29979 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29980 if (SWIG_arg_fail(1)) SWIG_fail
;
29982 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29983 result
= (bool)((wxWindow
const *)arg1
)->UseBgCol();
29985 wxPyEndAllowThreads(__tstate
);
29986 if (PyErr_Occurred()) SWIG_fail
;
29989 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29997 static PyObject
*_wrap_Window_SetBackgroundStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29998 PyObject
*resultobj
;
29999 wxWindow
*arg1
= (wxWindow
*) 0 ;
30000 wxBackgroundStyle arg2
;
30002 PyObject
* obj0
= 0 ;
30003 PyObject
* obj1
= 0 ;
30004 char *kwnames
[] = {
30005 (char *) "self",(char *) "style", NULL
30008 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetBackgroundStyle",kwnames
,&obj0
,&obj1
)) goto fail
;
30009 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30010 if (SWIG_arg_fail(1)) SWIG_fail
;
30012 arg2
= (wxBackgroundStyle
)(SWIG_As_int(obj1
));
30013 if (SWIG_arg_fail(2)) SWIG_fail
;
30016 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30017 result
= (bool)(arg1
)->SetBackgroundStyle((wxBackgroundStyle
)arg2
);
30019 wxPyEndAllowThreads(__tstate
);
30020 if (PyErr_Occurred()) SWIG_fail
;
30023 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30031 static PyObject
*_wrap_Window_GetBackgroundStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30032 PyObject
*resultobj
;
30033 wxWindow
*arg1
= (wxWindow
*) 0 ;
30034 wxBackgroundStyle result
;
30035 PyObject
* obj0
= 0 ;
30036 char *kwnames
[] = {
30037 (char *) "self", NULL
30040 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetBackgroundStyle",kwnames
,&obj0
)) goto fail
;
30041 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30042 if (SWIG_arg_fail(1)) SWIG_fail
;
30044 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30045 result
= (wxBackgroundStyle
)((wxWindow
const *)arg1
)->GetBackgroundStyle();
30047 wxPyEndAllowThreads(__tstate
);
30048 if (PyErr_Occurred()) SWIG_fail
;
30050 resultobj
= SWIG_From_int((result
));
30057 static PyObject
*_wrap_Window_HasTransparentBackground(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30058 PyObject
*resultobj
;
30059 wxWindow
*arg1
= (wxWindow
*) 0 ;
30061 PyObject
* obj0
= 0 ;
30062 char *kwnames
[] = {
30063 (char *) "self", NULL
30066 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_HasTransparentBackground",kwnames
,&obj0
)) goto fail
;
30067 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30068 if (SWIG_arg_fail(1)) SWIG_fail
;
30070 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30071 result
= (bool)(arg1
)->HasTransparentBackground();
30073 wxPyEndAllowThreads(__tstate
);
30074 if (PyErr_Occurred()) SWIG_fail
;
30077 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30085 static PyObject
*_wrap_Window_SetCursor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30086 PyObject
*resultobj
;
30087 wxWindow
*arg1
= (wxWindow
*) 0 ;
30088 wxCursor
*arg2
= 0 ;
30090 PyObject
* obj0
= 0 ;
30091 PyObject
* obj1
= 0 ;
30092 char *kwnames
[] = {
30093 (char *) "self",(char *) "cursor", NULL
30096 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetCursor",kwnames
,&obj0
,&obj1
)) goto fail
;
30097 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30098 if (SWIG_arg_fail(1)) SWIG_fail
;
30100 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxCursor
, SWIG_POINTER_EXCEPTION
| 0);
30101 if (SWIG_arg_fail(2)) SWIG_fail
;
30102 if (arg2
== NULL
) {
30103 SWIG_null_ref("wxCursor");
30105 if (SWIG_arg_fail(2)) SWIG_fail
;
30108 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30109 result
= (bool)(arg1
)->SetCursor((wxCursor
const &)*arg2
);
30111 wxPyEndAllowThreads(__tstate
);
30112 if (PyErr_Occurred()) SWIG_fail
;
30115 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30123 static PyObject
*_wrap_Window_GetCursor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30124 PyObject
*resultobj
;
30125 wxWindow
*arg1
= (wxWindow
*) 0 ;
30127 PyObject
* obj0
= 0 ;
30128 char *kwnames
[] = {
30129 (char *) "self", NULL
30132 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetCursor",kwnames
,&obj0
)) goto fail
;
30133 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30134 if (SWIG_arg_fail(1)) SWIG_fail
;
30136 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30137 result
= (arg1
)->GetCursor();
30139 wxPyEndAllowThreads(__tstate
);
30140 if (PyErr_Occurred()) SWIG_fail
;
30143 wxCursor
* resultptr
;
30144 resultptr
= new wxCursor((wxCursor
&)(result
));
30145 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxCursor
, 1);
30153 static PyObject
*_wrap_Window_SetFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30154 PyObject
*resultobj
;
30155 wxWindow
*arg1
= (wxWindow
*) 0 ;
30158 PyObject
* obj0
= 0 ;
30159 PyObject
* obj1
= 0 ;
30160 char *kwnames
[] = {
30161 (char *) "self",(char *) "font", NULL
30164 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetFont",kwnames
,&obj0
,&obj1
)) goto fail
;
30165 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30166 if (SWIG_arg_fail(1)) SWIG_fail
;
30168 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
30169 if (SWIG_arg_fail(2)) SWIG_fail
;
30170 if (arg2
== NULL
) {
30171 SWIG_null_ref("wxFont");
30173 if (SWIG_arg_fail(2)) SWIG_fail
;
30176 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30177 result
= (bool)(arg1
)->SetFont((wxFont
const &)*arg2
);
30179 wxPyEndAllowThreads(__tstate
);
30180 if (PyErr_Occurred()) SWIG_fail
;
30183 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30191 static PyObject
*_wrap_Window_SetOwnFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30192 PyObject
*resultobj
;
30193 wxWindow
*arg1
= (wxWindow
*) 0 ;
30195 PyObject
* obj0
= 0 ;
30196 PyObject
* obj1
= 0 ;
30197 char *kwnames
[] = {
30198 (char *) "self",(char *) "font", NULL
30201 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetOwnFont",kwnames
,&obj0
,&obj1
)) goto fail
;
30202 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30203 if (SWIG_arg_fail(1)) SWIG_fail
;
30205 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
30206 if (SWIG_arg_fail(2)) SWIG_fail
;
30207 if (arg2
== NULL
) {
30208 SWIG_null_ref("wxFont");
30210 if (SWIG_arg_fail(2)) SWIG_fail
;
30213 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30214 (arg1
)->SetOwnFont((wxFont
const &)*arg2
);
30216 wxPyEndAllowThreads(__tstate
);
30217 if (PyErr_Occurred()) SWIG_fail
;
30219 Py_INCREF(Py_None
); resultobj
= Py_None
;
30226 static PyObject
*_wrap_Window_GetFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30227 PyObject
*resultobj
;
30228 wxWindow
*arg1
= (wxWindow
*) 0 ;
30230 PyObject
* obj0
= 0 ;
30231 char *kwnames
[] = {
30232 (char *) "self", NULL
30235 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetFont",kwnames
,&obj0
)) goto fail
;
30236 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30237 if (SWIG_arg_fail(1)) SWIG_fail
;
30239 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30240 result
= (arg1
)->GetFont();
30242 wxPyEndAllowThreads(__tstate
);
30243 if (PyErr_Occurred()) SWIG_fail
;
30246 wxFont
* resultptr
;
30247 resultptr
= new wxFont((wxFont
&)(result
));
30248 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxFont
, 1);
30256 static PyObject
*_wrap_Window_SetCaret(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30257 PyObject
*resultobj
;
30258 wxWindow
*arg1
= (wxWindow
*) 0 ;
30259 wxCaret
*arg2
= (wxCaret
*) 0 ;
30260 PyObject
* obj0
= 0 ;
30261 PyObject
* obj1
= 0 ;
30262 char *kwnames
[] = {
30263 (char *) "self",(char *) "caret", NULL
30266 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetCaret",kwnames
,&obj0
,&obj1
)) goto fail
;
30267 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30268 if (SWIG_arg_fail(1)) SWIG_fail
;
30269 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxCaret
, SWIG_POINTER_EXCEPTION
| 0);
30270 if (SWIG_arg_fail(2)) SWIG_fail
;
30272 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30273 (arg1
)->SetCaret(arg2
);
30275 wxPyEndAllowThreads(__tstate
);
30276 if (PyErr_Occurred()) SWIG_fail
;
30278 Py_INCREF(Py_None
); resultobj
= Py_None
;
30285 static PyObject
*_wrap_Window_GetCaret(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30286 PyObject
*resultobj
;
30287 wxWindow
*arg1
= (wxWindow
*) 0 ;
30289 PyObject
* obj0
= 0 ;
30290 char *kwnames
[] = {
30291 (char *) "self", NULL
30294 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetCaret",kwnames
,&obj0
)) goto fail
;
30295 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30296 if (SWIG_arg_fail(1)) SWIG_fail
;
30298 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30299 result
= (wxCaret
*)((wxWindow
const *)arg1
)->GetCaret();
30301 wxPyEndAllowThreads(__tstate
);
30302 if (PyErr_Occurred()) SWIG_fail
;
30304 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCaret
, 0);
30311 static PyObject
*_wrap_Window_GetCharHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30312 PyObject
*resultobj
;
30313 wxWindow
*arg1
= (wxWindow
*) 0 ;
30315 PyObject
* obj0
= 0 ;
30316 char *kwnames
[] = {
30317 (char *) "self", NULL
30320 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetCharHeight",kwnames
,&obj0
)) goto fail
;
30321 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30322 if (SWIG_arg_fail(1)) SWIG_fail
;
30324 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30325 result
= (int)((wxWindow
const *)arg1
)->GetCharHeight();
30327 wxPyEndAllowThreads(__tstate
);
30328 if (PyErr_Occurred()) SWIG_fail
;
30331 resultobj
= SWIG_From_int((int)(result
));
30339 static PyObject
*_wrap_Window_GetCharWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30340 PyObject
*resultobj
;
30341 wxWindow
*arg1
= (wxWindow
*) 0 ;
30343 PyObject
* obj0
= 0 ;
30344 char *kwnames
[] = {
30345 (char *) "self", NULL
30348 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetCharWidth",kwnames
,&obj0
)) goto fail
;
30349 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30350 if (SWIG_arg_fail(1)) SWIG_fail
;
30352 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30353 result
= (int)((wxWindow
const *)arg1
)->GetCharWidth();
30355 wxPyEndAllowThreads(__tstate
);
30356 if (PyErr_Occurred()) SWIG_fail
;
30359 resultobj
= SWIG_From_int((int)(result
));
30367 static PyObject
*_wrap_Window_GetTextExtent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30368 PyObject
*resultobj
;
30369 wxWindow
*arg1
= (wxWindow
*) 0 ;
30370 wxString
*arg2
= 0 ;
30371 int *arg3
= (int *) 0 ;
30372 int *arg4
= (int *) 0 ;
30373 bool temp2
= false ;
30378 PyObject
* obj0
= 0 ;
30379 PyObject
* obj1
= 0 ;
30380 char *kwnames
[] = {
30381 (char *) "self",(char *) "string", NULL
30384 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
30385 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
30386 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_GetTextExtent",kwnames
,&obj0
,&obj1
)) goto fail
;
30387 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30388 if (SWIG_arg_fail(1)) SWIG_fail
;
30390 arg2
= wxString_in_helper(obj1
);
30391 if (arg2
== NULL
) SWIG_fail
;
30395 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30396 (arg1
)->GetTextExtent((wxString
const &)*arg2
,arg3
,arg4
);
30398 wxPyEndAllowThreads(__tstate
);
30399 if (PyErr_Occurred()) SWIG_fail
;
30401 Py_INCREF(Py_None
); resultobj
= Py_None
;
30402 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
30403 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
30404 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
30405 SWIG_From_int((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, 0)));
30420 static PyObject
*_wrap_Window_GetFullTextExtent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30421 PyObject
*resultobj
;
30422 wxWindow
*arg1
= (wxWindow
*) 0 ;
30423 wxString
*arg2
= 0 ;
30424 int *arg3
= (int *) 0 ;
30425 int *arg4
= (int *) 0 ;
30426 int *arg5
= (int *) 0 ;
30427 int *arg6
= (int *) 0 ;
30428 wxFont
*arg7
= (wxFont
*) NULL
;
30429 bool temp2
= false ;
30438 PyObject
* obj0
= 0 ;
30439 PyObject
* obj1
= 0 ;
30440 PyObject
* obj2
= 0 ;
30441 char *kwnames
[] = {
30442 (char *) "self",(char *) "string",(char *) "font", NULL
30445 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
30446 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
30447 arg5
= &temp5
; res5
= SWIG_NEWOBJ
;
30448 arg6
= &temp6
; res6
= SWIG_NEWOBJ
;
30449 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_GetFullTextExtent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
30450 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30451 if (SWIG_arg_fail(1)) SWIG_fail
;
30453 arg2
= wxString_in_helper(obj1
);
30454 if (arg2
== NULL
) SWIG_fail
;
30458 SWIG_Python_ConvertPtr(obj2
, (void **)&arg7
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
30459 if (SWIG_arg_fail(7)) SWIG_fail
;
30462 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30463 (arg1
)->GetTextExtent((wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
,(wxFont
const *)arg7
);
30465 wxPyEndAllowThreads(__tstate
);
30466 if (PyErr_Occurred()) SWIG_fail
;
30468 Py_INCREF(Py_None
); resultobj
= Py_None
;
30469 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
30470 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
30471 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
30472 SWIG_From_int((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, 0)));
30473 resultobj
= t_output_helper(resultobj
, ((res5
== SWIG_NEWOBJ
) ?
30474 SWIG_From_int((*arg5
)) : SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, 0)));
30475 resultobj
= t_output_helper(resultobj
, ((res6
== SWIG_NEWOBJ
) ?
30476 SWIG_From_int((*arg6
)) : SWIG_NewPointerObj((void*)(arg6
), SWIGTYPE_p_int
, 0)));
30491 static PyObject
*_wrap_Window_ClientToScreenXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30492 PyObject
*resultobj
;
30493 wxWindow
*arg1
= (wxWindow
*) 0 ;
30494 int *arg2
= (int *) 0 ;
30495 int *arg3
= (int *) 0 ;
30500 PyObject
* obj0
= 0 ;
30501 PyObject
* obj1
= 0 ;
30502 PyObject
* obj2
= 0 ;
30503 char *kwnames
[] = {
30504 (char *) "self",(char *) "x",(char *) "y", NULL
30507 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_ClientToScreenXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
30508 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30509 if (SWIG_arg_fail(1)) SWIG_fail
;
30511 if (!(SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_int
,0) != -1)) {
30512 temp2
= SWIG_As_int(obj1
);
30513 if (SWIG_arg_fail(2)) SWIG_fail
;
30515 res2
= SWIG_NEWOBJ
;
30519 if (!(SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_int
,0) != -1)) {
30520 temp3
= SWIG_As_int(obj2
);
30521 if (SWIG_arg_fail(3)) SWIG_fail
;
30523 res3
= SWIG_NEWOBJ
;
30527 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30528 ((wxWindow
const *)arg1
)->ClientToScreen(arg2
,arg3
);
30530 wxPyEndAllowThreads(__tstate
);
30531 if (PyErr_Occurred()) SWIG_fail
;
30533 Py_INCREF(Py_None
); resultobj
= Py_None
;
30534 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
30535 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
30536 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
30537 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
30544 static PyObject
*_wrap_Window_ScreenToClientXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30545 PyObject
*resultobj
;
30546 wxWindow
*arg1
= (wxWindow
*) 0 ;
30547 int *arg2
= (int *) 0 ;
30548 int *arg3
= (int *) 0 ;
30553 PyObject
* obj0
= 0 ;
30554 PyObject
* obj1
= 0 ;
30555 PyObject
* obj2
= 0 ;
30556 char *kwnames
[] = {
30557 (char *) "self",(char *) "x",(char *) "y", NULL
30560 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_ScreenToClientXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
30561 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30562 if (SWIG_arg_fail(1)) SWIG_fail
;
30564 if (!(SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_int
,0) != -1)) {
30565 temp2
= SWIG_As_int(obj1
);
30566 if (SWIG_arg_fail(2)) SWIG_fail
;
30568 res2
= SWIG_NEWOBJ
;
30572 if (!(SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_int
,0) != -1)) {
30573 temp3
= SWIG_As_int(obj2
);
30574 if (SWIG_arg_fail(3)) SWIG_fail
;
30576 res3
= SWIG_NEWOBJ
;
30580 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30581 ((wxWindow
const *)arg1
)->ScreenToClient(arg2
,arg3
);
30583 wxPyEndAllowThreads(__tstate
);
30584 if (PyErr_Occurred()) SWIG_fail
;
30586 Py_INCREF(Py_None
); resultobj
= Py_None
;
30587 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
30588 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
30589 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
30590 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
30597 static PyObject
*_wrap_Window_ClientToScreen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30598 PyObject
*resultobj
;
30599 wxWindow
*arg1
= (wxWindow
*) 0 ;
30600 wxPoint
*arg2
= 0 ;
30603 PyObject
* obj0
= 0 ;
30604 PyObject
* obj1
= 0 ;
30605 char *kwnames
[] = {
30606 (char *) "self",(char *) "pt", NULL
30609 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ClientToScreen",kwnames
,&obj0
,&obj1
)) goto fail
;
30610 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30611 if (SWIG_arg_fail(1)) SWIG_fail
;
30614 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
30617 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30618 result
= ((wxWindow
const *)arg1
)->ClientToScreen((wxPoint
const &)*arg2
);
30620 wxPyEndAllowThreads(__tstate
);
30621 if (PyErr_Occurred()) SWIG_fail
;
30624 wxPoint
* resultptr
;
30625 resultptr
= new wxPoint((wxPoint
&)(result
));
30626 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
30634 static PyObject
*_wrap_Window_ScreenToClient(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30635 PyObject
*resultobj
;
30636 wxWindow
*arg1
= (wxWindow
*) 0 ;
30637 wxPoint
*arg2
= 0 ;
30640 PyObject
* obj0
= 0 ;
30641 PyObject
* obj1
= 0 ;
30642 char *kwnames
[] = {
30643 (char *) "self",(char *) "pt", NULL
30646 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ScreenToClient",kwnames
,&obj0
,&obj1
)) goto fail
;
30647 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30648 if (SWIG_arg_fail(1)) SWIG_fail
;
30651 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
30654 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30655 result
= ((wxWindow
const *)arg1
)->ScreenToClient((wxPoint
const &)*arg2
);
30657 wxPyEndAllowThreads(__tstate
);
30658 if (PyErr_Occurred()) SWIG_fail
;
30661 wxPoint
* resultptr
;
30662 resultptr
= new wxPoint((wxPoint
&)(result
));
30663 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
30671 static PyObject
*_wrap_Window_HitTestXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30672 PyObject
*resultobj
;
30673 wxWindow
*arg1
= (wxWindow
*) 0 ;
30677 PyObject
* obj0
= 0 ;
30678 PyObject
* obj1
= 0 ;
30679 PyObject
* obj2
= 0 ;
30680 char *kwnames
[] = {
30681 (char *) "self",(char *) "x",(char *) "y", NULL
30684 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_HitTestXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
30685 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30686 if (SWIG_arg_fail(1)) SWIG_fail
;
30688 arg2
= (int)(SWIG_As_int(obj1
));
30689 if (SWIG_arg_fail(2)) SWIG_fail
;
30692 arg3
= (int)(SWIG_As_int(obj2
));
30693 if (SWIG_arg_fail(3)) SWIG_fail
;
30696 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30697 result
= (wxHitTest
)((wxWindow
const *)arg1
)->HitTest(arg2
,arg3
);
30699 wxPyEndAllowThreads(__tstate
);
30700 if (PyErr_Occurred()) SWIG_fail
;
30702 resultobj
= SWIG_From_int((result
));
30709 static PyObject
*_wrap_Window_HitTest(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30710 PyObject
*resultobj
;
30711 wxWindow
*arg1
= (wxWindow
*) 0 ;
30712 wxPoint
*arg2
= 0 ;
30715 PyObject
* obj0
= 0 ;
30716 PyObject
* obj1
= 0 ;
30717 char *kwnames
[] = {
30718 (char *) "self",(char *) "pt", NULL
30721 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
30722 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30723 if (SWIG_arg_fail(1)) SWIG_fail
;
30726 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
30729 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30730 result
= (wxHitTest
)((wxWindow
const *)arg1
)->HitTest((wxPoint
const &)*arg2
);
30732 wxPyEndAllowThreads(__tstate
);
30733 if (PyErr_Occurred()) SWIG_fail
;
30735 resultobj
= SWIG_From_int((result
));
30742 static PyObject
*_wrap_Window_GetBorder__SWIG_0(PyObject
*, PyObject
*args
) {
30743 PyObject
*resultobj
;
30744 wxWindow
*arg1
= (wxWindow
*) 0 ;
30747 PyObject
* obj0
= 0 ;
30748 PyObject
* obj1
= 0 ;
30750 if(!PyArg_ParseTuple(args
,(char *)"OO:Window_GetBorder",&obj0
,&obj1
)) goto fail
;
30751 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30752 if (SWIG_arg_fail(1)) SWIG_fail
;
30754 arg2
= (long)(SWIG_As_long(obj1
));
30755 if (SWIG_arg_fail(2)) SWIG_fail
;
30758 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30759 result
= (wxBorder
)((wxWindow
const *)arg1
)->GetBorder(arg2
);
30761 wxPyEndAllowThreads(__tstate
);
30762 if (PyErr_Occurred()) SWIG_fail
;
30764 resultobj
= SWIG_From_int((result
));
30771 static PyObject
*_wrap_Window_GetBorder__SWIG_1(PyObject
*, PyObject
*args
) {
30772 PyObject
*resultobj
;
30773 wxWindow
*arg1
= (wxWindow
*) 0 ;
30775 PyObject
* obj0
= 0 ;
30777 if(!PyArg_ParseTuple(args
,(char *)"O:Window_GetBorder",&obj0
)) goto fail
;
30778 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30779 if (SWIG_arg_fail(1)) SWIG_fail
;
30781 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30782 result
= (wxBorder
)((wxWindow
const *)arg1
)->GetBorder();
30784 wxPyEndAllowThreads(__tstate
);
30785 if (PyErr_Occurred()) SWIG_fail
;
30787 resultobj
= SWIG_From_int((result
));
30794 static PyObject
*_wrap_Window_GetBorder(PyObject
*self
, PyObject
*args
) {
30799 argc
= PyObject_Length(args
);
30800 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
30801 argv
[ii
] = PyTuple_GetItem(args
,ii
);
30807 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
30815 return _wrap_Window_GetBorder__SWIG_1(self
,args
);
30822 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
30830 _v
= SWIG_Check_long(argv
[1]);
30832 return _wrap_Window_GetBorder__SWIG_0(self
,args
);
30837 PyErr_SetString(PyExc_NotImplementedError
,"No matching function for overloaded 'Window_GetBorder'");
30842 static PyObject
*_wrap_Window_UpdateWindowUI(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30843 PyObject
*resultobj
;
30844 wxWindow
*arg1
= (wxWindow
*) 0 ;
30845 long arg2
= (long) wxUPDATE_UI_NONE
;
30846 PyObject
* obj0
= 0 ;
30847 PyObject
* obj1
= 0 ;
30848 char *kwnames
[] = {
30849 (char *) "self",(char *) "flags", NULL
30852 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_UpdateWindowUI",kwnames
,&obj0
,&obj1
)) goto fail
;
30853 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30854 if (SWIG_arg_fail(1)) SWIG_fail
;
30857 arg2
= (long)(SWIG_As_long(obj1
));
30858 if (SWIG_arg_fail(2)) SWIG_fail
;
30862 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30863 (arg1
)->UpdateWindowUI(arg2
);
30865 wxPyEndAllowThreads(__tstate
);
30866 if (PyErr_Occurred()) SWIG_fail
;
30868 Py_INCREF(Py_None
); resultobj
= Py_None
;
30875 static PyObject
*_wrap_Window_PopupMenuXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30876 PyObject
*resultobj
;
30877 wxWindow
*arg1
= (wxWindow
*) 0 ;
30878 wxMenu
*arg2
= (wxMenu
*) 0 ;
30879 int arg3
= (int) -1 ;
30880 int arg4
= (int) -1 ;
30882 PyObject
* obj0
= 0 ;
30883 PyObject
* obj1
= 0 ;
30884 PyObject
* obj2
= 0 ;
30885 PyObject
* obj3
= 0 ;
30886 char *kwnames
[] = {
30887 (char *) "self",(char *) "menu",(char *) "x",(char *) "y", NULL
30890 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:Window_PopupMenuXY",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
30891 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30892 if (SWIG_arg_fail(1)) SWIG_fail
;
30893 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
30894 if (SWIG_arg_fail(2)) SWIG_fail
;
30897 arg3
= (int)(SWIG_As_int(obj2
));
30898 if (SWIG_arg_fail(3)) SWIG_fail
;
30903 arg4
= (int)(SWIG_As_int(obj3
));
30904 if (SWIG_arg_fail(4)) SWIG_fail
;
30908 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30909 result
= (bool)(arg1
)->PopupMenu(arg2
,arg3
,arg4
);
30911 wxPyEndAllowThreads(__tstate
);
30912 if (PyErr_Occurred()) SWIG_fail
;
30915 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30923 static PyObject
*_wrap_Window_PopupMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30924 PyObject
*resultobj
;
30925 wxWindow
*arg1
= (wxWindow
*) 0 ;
30926 wxMenu
*arg2
= (wxMenu
*) 0 ;
30927 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
30928 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
30931 PyObject
* obj0
= 0 ;
30932 PyObject
* obj1
= 0 ;
30933 PyObject
* obj2
= 0 ;
30934 char *kwnames
[] = {
30935 (char *) "self",(char *) "menu",(char *) "pos", NULL
30938 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_PopupMenu",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
30939 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30940 if (SWIG_arg_fail(1)) SWIG_fail
;
30941 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
30942 if (SWIG_arg_fail(2)) SWIG_fail
;
30946 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
30950 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30951 result
= (bool)(arg1
)->PopupMenu(arg2
,(wxPoint
const &)*arg3
);
30953 wxPyEndAllowThreads(__tstate
);
30954 if (PyErr_Occurred()) SWIG_fail
;
30957 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30965 static PyObject
*_wrap_Window_GetHandle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30966 PyObject
*resultobj
;
30967 wxWindow
*arg1
= (wxWindow
*) 0 ;
30969 PyObject
* obj0
= 0 ;
30970 char *kwnames
[] = {
30971 (char *) "self", NULL
30974 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetHandle",kwnames
,&obj0
)) goto fail
;
30975 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30976 if (SWIG_arg_fail(1)) SWIG_fail
;
30978 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30979 result
= (long)wxWindow_GetHandle(arg1
);
30981 wxPyEndAllowThreads(__tstate
);
30982 if (PyErr_Occurred()) SWIG_fail
;
30985 resultobj
= SWIG_From_long((long)(result
));
30993 static PyObject
*_wrap_Window_AssociateHandle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30994 PyObject
*resultobj
;
30995 wxWindow
*arg1
= (wxWindow
*) 0 ;
30997 PyObject
* obj0
= 0 ;
30998 PyObject
* obj1
= 0 ;
30999 char *kwnames
[] = {
31000 (char *) "self",(char *) "handle", NULL
31003 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_AssociateHandle",kwnames
,&obj0
,&obj1
)) goto fail
;
31004 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31005 if (SWIG_arg_fail(1)) SWIG_fail
;
31007 arg2
= (long)(SWIG_As_long(obj1
));
31008 if (SWIG_arg_fail(2)) SWIG_fail
;
31011 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31012 wxWindow_AssociateHandle(arg1
,arg2
);
31014 wxPyEndAllowThreads(__tstate
);
31015 if (PyErr_Occurred()) SWIG_fail
;
31017 Py_INCREF(Py_None
); resultobj
= Py_None
;
31024 static PyObject
*_wrap_Window_DissociateHandle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31025 PyObject
*resultobj
;
31026 wxWindow
*arg1
= (wxWindow
*) 0 ;
31027 PyObject
* obj0
= 0 ;
31028 char *kwnames
[] = {
31029 (char *) "self", NULL
31032 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_DissociateHandle",kwnames
,&obj0
)) goto fail
;
31033 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31034 if (SWIG_arg_fail(1)) SWIG_fail
;
31036 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31037 (arg1
)->DissociateHandle();
31039 wxPyEndAllowThreads(__tstate
);
31040 if (PyErr_Occurred()) SWIG_fail
;
31042 Py_INCREF(Py_None
); resultobj
= Py_None
;
31049 static PyObject
*_wrap_Window_HasScrollbar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31050 PyObject
*resultobj
;
31051 wxWindow
*arg1
= (wxWindow
*) 0 ;
31054 PyObject
* obj0
= 0 ;
31055 PyObject
* obj1
= 0 ;
31056 char *kwnames
[] = {
31057 (char *) "self",(char *) "orient", NULL
31060 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_HasScrollbar",kwnames
,&obj0
,&obj1
)) goto fail
;
31061 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31062 if (SWIG_arg_fail(1)) SWIG_fail
;
31064 arg2
= (int)(SWIG_As_int(obj1
));
31065 if (SWIG_arg_fail(2)) SWIG_fail
;
31068 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31069 result
= (bool)((wxWindow
const *)arg1
)->HasScrollbar(arg2
);
31071 wxPyEndAllowThreads(__tstate
);
31072 if (PyErr_Occurred()) SWIG_fail
;
31075 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31083 static PyObject
*_wrap_Window_SetScrollbar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31084 PyObject
*resultobj
;
31085 wxWindow
*arg1
= (wxWindow
*) 0 ;
31090 bool arg6
= (bool) true ;
31091 PyObject
* obj0
= 0 ;
31092 PyObject
* obj1
= 0 ;
31093 PyObject
* obj2
= 0 ;
31094 PyObject
* obj3
= 0 ;
31095 PyObject
* obj4
= 0 ;
31096 PyObject
* obj5
= 0 ;
31097 char *kwnames
[] = {
31098 (char *) "self",(char *) "orientation",(char *) "position",(char *) "thumbSize",(char *) "range",(char *) "refresh", NULL
31101 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:Window_SetScrollbar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
31102 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31103 if (SWIG_arg_fail(1)) SWIG_fail
;
31105 arg2
= (int)(SWIG_As_int(obj1
));
31106 if (SWIG_arg_fail(2)) SWIG_fail
;
31109 arg3
= (int)(SWIG_As_int(obj2
));
31110 if (SWIG_arg_fail(3)) SWIG_fail
;
31113 arg4
= (int)(SWIG_As_int(obj3
));
31114 if (SWIG_arg_fail(4)) SWIG_fail
;
31117 arg5
= (int)(SWIG_As_int(obj4
));
31118 if (SWIG_arg_fail(5)) SWIG_fail
;
31122 arg6
= (bool)(SWIG_As_bool(obj5
));
31123 if (SWIG_arg_fail(6)) SWIG_fail
;
31127 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31128 (arg1
)->SetScrollbar(arg2
,arg3
,arg4
,arg5
,arg6
);
31130 wxPyEndAllowThreads(__tstate
);
31131 if (PyErr_Occurred()) SWIG_fail
;
31133 Py_INCREF(Py_None
); resultobj
= Py_None
;
31140 static PyObject
*_wrap_Window_SetScrollPos(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31141 PyObject
*resultobj
;
31142 wxWindow
*arg1
= (wxWindow
*) 0 ;
31145 bool arg4
= (bool) true ;
31146 PyObject
* obj0
= 0 ;
31147 PyObject
* obj1
= 0 ;
31148 PyObject
* obj2
= 0 ;
31149 PyObject
* obj3
= 0 ;
31150 char *kwnames
[] = {
31151 (char *) "self",(char *) "orientation",(char *) "pos",(char *) "refresh", NULL
31154 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Window_SetScrollPos",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
31155 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31156 if (SWIG_arg_fail(1)) SWIG_fail
;
31158 arg2
= (int)(SWIG_As_int(obj1
));
31159 if (SWIG_arg_fail(2)) SWIG_fail
;
31162 arg3
= (int)(SWIG_As_int(obj2
));
31163 if (SWIG_arg_fail(3)) SWIG_fail
;
31167 arg4
= (bool)(SWIG_As_bool(obj3
));
31168 if (SWIG_arg_fail(4)) SWIG_fail
;
31172 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31173 (arg1
)->SetScrollPos(arg2
,arg3
,arg4
);
31175 wxPyEndAllowThreads(__tstate
);
31176 if (PyErr_Occurred()) SWIG_fail
;
31178 Py_INCREF(Py_None
); resultobj
= Py_None
;
31185 static PyObject
*_wrap_Window_GetScrollPos(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31186 PyObject
*resultobj
;
31187 wxWindow
*arg1
= (wxWindow
*) 0 ;
31190 PyObject
* obj0
= 0 ;
31191 PyObject
* obj1
= 0 ;
31192 char *kwnames
[] = {
31193 (char *) "self",(char *) "orientation", NULL
31196 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_GetScrollPos",kwnames
,&obj0
,&obj1
)) goto fail
;
31197 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31198 if (SWIG_arg_fail(1)) SWIG_fail
;
31200 arg2
= (int)(SWIG_As_int(obj1
));
31201 if (SWIG_arg_fail(2)) SWIG_fail
;
31204 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31205 result
= (int)((wxWindow
const *)arg1
)->GetScrollPos(arg2
);
31207 wxPyEndAllowThreads(__tstate
);
31208 if (PyErr_Occurred()) SWIG_fail
;
31211 resultobj
= SWIG_From_int((int)(result
));
31219 static PyObject
*_wrap_Window_GetScrollThumb(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31220 PyObject
*resultobj
;
31221 wxWindow
*arg1
= (wxWindow
*) 0 ;
31224 PyObject
* obj0
= 0 ;
31225 PyObject
* obj1
= 0 ;
31226 char *kwnames
[] = {
31227 (char *) "self",(char *) "orientation", NULL
31230 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_GetScrollThumb",kwnames
,&obj0
,&obj1
)) goto fail
;
31231 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31232 if (SWIG_arg_fail(1)) SWIG_fail
;
31234 arg2
= (int)(SWIG_As_int(obj1
));
31235 if (SWIG_arg_fail(2)) SWIG_fail
;
31238 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31239 result
= (int)((wxWindow
const *)arg1
)->GetScrollThumb(arg2
);
31241 wxPyEndAllowThreads(__tstate
);
31242 if (PyErr_Occurred()) SWIG_fail
;
31245 resultobj
= SWIG_From_int((int)(result
));
31253 static PyObject
*_wrap_Window_GetScrollRange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31254 PyObject
*resultobj
;
31255 wxWindow
*arg1
= (wxWindow
*) 0 ;
31258 PyObject
* obj0
= 0 ;
31259 PyObject
* obj1
= 0 ;
31260 char *kwnames
[] = {
31261 (char *) "self",(char *) "orientation", NULL
31264 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_GetScrollRange",kwnames
,&obj0
,&obj1
)) 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 arg2
= (int)(SWIG_As_int(obj1
));
31269 if (SWIG_arg_fail(2)) SWIG_fail
;
31272 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31273 result
= (int)((wxWindow
const *)arg1
)->GetScrollRange(arg2
);
31275 wxPyEndAllowThreads(__tstate
);
31276 if (PyErr_Occurred()) SWIG_fail
;
31279 resultobj
= SWIG_From_int((int)(result
));
31287 static PyObject
*_wrap_Window_ScrollWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31288 PyObject
*resultobj
;
31289 wxWindow
*arg1
= (wxWindow
*) 0 ;
31292 wxRect
*arg4
= (wxRect
*) NULL
;
31293 PyObject
* obj0
= 0 ;
31294 PyObject
* obj1
= 0 ;
31295 PyObject
* obj2
= 0 ;
31296 PyObject
* obj3
= 0 ;
31297 char *kwnames
[] = {
31298 (char *) "self",(char *) "dx",(char *) "dy",(char *) "rect", NULL
31301 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Window_ScrollWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
31302 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31303 if (SWIG_arg_fail(1)) SWIG_fail
;
31305 arg2
= (int)(SWIG_As_int(obj1
));
31306 if (SWIG_arg_fail(2)) SWIG_fail
;
31309 arg3
= (int)(SWIG_As_int(obj2
));
31310 if (SWIG_arg_fail(3)) SWIG_fail
;
31313 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
31314 if (SWIG_arg_fail(4)) SWIG_fail
;
31317 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31318 (arg1
)->ScrollWindow(arg2
,arg3
,(wxRect
const *)arg4
);
31320 wxPyEndAllowThreads(__tstate
);
31321 if (PyErr_Occurred()) SWIG_fail
;
31323 Py_INCREF(Py_None
); resultobj
= Py_None
;
31330 static PyObject
*_wrap_Window_ScrollLines(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31331 PyObject
*resultobj
;
31332 wxWindow
*arg1
= (wxWindow
*) 0 ;
31335 PyObject
* obj0
= 0 ;
31336 PyObject
* obj1
= 0 ;
31337 char *kwnames
[] = {
31338 (char *) "self",(char *) "lines", NULL
31341 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ScrollLines",kwnames
,&obj0
,&obj1
)) goto fail
;
31342 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31343 if (SWIG_arg_fail(1)) SWIG_fail
;
31345 arg2
= (int)(SWIG_As_int(obj1
));
31346 if (SWIG_arg_fail(2)) SWIG_fail
;
31349 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31350 result
= (bool)(arg1
)->ScrollLines(arg2
);
31352 wxPyEndAllowThreads(__tstate
);
31353 if (PyErr_Occurred()) SWIG_fail
;
31356 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31364 static PyObject
*_wrap_Window_ScrollPages(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31365 PyObject
*resultobj
;
31366 wxWindow
*arg1
= (wxWindow
*) 0 ;
31369 PyObject
* obj0
= 0 ;
31370 PyObject
* obj1
= 0 ;
31371 char *kwnames
[] = {
31372 (char *) "self",(char *) "pages", NULL
31375 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ScrollPages",kwnames
,&obj0
,&obj1
)) goto fail
;
31376 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31377 if (SWIG_arg_fail(1)) SWIG_fail
;
31379 arg2
= (int)(SWIG_As_int(obj1
));
31380 if (SWIG_arg_fail(2)) SWIG_fail
;
31383 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31384 result
= (bool)(arg1
)->ScrollPages(arg2
);
31386 wxPyEndAllowThreads(__tstate
);
31387 if (PyErr_Occurred()) SWIG_fail
;
31390 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31398 static PyObject
*_wrap_Window_LineUp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31399 PyObject
*resultobj
;
31400 wxWindow
*arg1
= (wxWindow
*) 0 ;
31402 PyObject
* obj0
= 0 ;
31403 char *kwnames
[] = {
31404 (char *) "self", NULL
31407 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_LineUp",kwnames
,&obj0
)) goto fail
;
31408 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31409 if (SWIG_arg_fail(1)) SWIG_fail
;
31411 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31412 result
= (bool)(arg1
)->LineUp();
31414 wxPyEndAllowThreads(__tstate
);
31415 if (PyErr_Occurred()) SWIG_fail
;
31418 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31426 static PyObject
*_wrap_Window_LineDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31427 PyObject
*resultobj
;
31428 wxWindow
*arg1
= (wxWindow
*) 0 ;
31430 PyObject
* obj0
= 0 ;
31431 char *kwnames
[] = {
31432 (char *) "self", NULL
31435 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_LineDown",kwnames
,&obj0
)) goto fail
;
31436 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31437 if (SWIG_arg_fail(1)) SWIG_fail
;
31439 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31440 result
= (bool)(arg1
)->LineDown();
31442 wxPyEndAllowThreads(__tstate
);
31443 if (PyErr_Occurred()) SWIG_fail
;
31446 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31454 static PyObject
*_wrap_Window_PageUp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31455 PyObject
*resultobj
;
31456 wxWindow
*arg1
= (wxWindow
*) 0 ;
31458 PyObject
* obj0
= 0 ;
31459 char *kwnames
[] = {
31460 (char *) "self", NULL
31463 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_PageUp",kwnames
,&obj0
)) goto fail
;
31464 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31465 if (SWIG_arg_fail(1)) SWIG_fail
;
31467 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31468 result
= (bool)(arg1
)->PageUp();
31470 wxPyEndAllowThreads(__tstate
);
31471 if (PyErr_Occurred()) SWIG_fail
;
31474 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31482 static PyObject
*_wrap_Window_PageDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31483 PyObject
*resultobj
;
31484 wxWindow
*arg1
= (wxWindow
*) 0 ;
31486 PyObject
* obj0
= 0 ;
31487 char *kwnames
[] = {
31488 (char *) "self", NULL
31491 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_PageDown",kwnames
,&obj0
)) goto fail
;
31492 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31493 if (SWIG_arg_fail(1)) SWIG_fail
;
31495 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31496 result
= (bool)(arg1
)->PageDown();
31498 wxPyEndAllowThreads(__tstate
);
31499 if (PyErr_Occurred()) SWIG_fail
;
31502 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31510 static PyObject
*_wrap_Window_SetHelpText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31511 PyObject
*resultobj
;
31512 wxWindow
*arg1
= (wxWindow
*) 0 ;
31513 wxString
*arg2
= 0 ;
31514 bool temp2
= false ;
31515 PyObject
* obj0
= 0 ;
31516 PyObject
* obj1
= 0 ;
31517 char *kwnames
[] = {
31518 (char *) "self",(char *) "text", NULL
31521 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetHelpText",kwnames
,&obj0
,&obj1
)) goto fail
;
31522 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31523 if (SWIG_arg_fail(1)) SWIG_fail
;
31525 arg2
= wxString_in_helper(obj1
);
31526 if (arg2
== NULL
) SWIG_fail
;
31530 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31531 (arg1
)->SetHelpText((wxString
const &)*arg2
);
31533 wxPyEndAllowThreads(__tstate
);
31534 if (PyErr_Occurred()) SWIG_fail
;
31536 Py_INCREF(Py_None
); resultobj
= Py_None
;
31551 static PyObject
*_wrap_Window_SetHelpTextForId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31552 PyObject
*resultobj
;
31553 wxWindow
*arg1
= (wxWindow
*) 0 ;
31554 wxString
*arg2
= 0 ;
31555 bool temp2
= false ;
31556 PyObject
* obj0
= 0 ;
31557 PyObject
* obj1
= 0 ;
31558 char *kwnames
[] = {
31559 (char *) "self",(char *) "text", NULL
31562 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetHelpTextForId",kwnames
,&obj0
,&obj1
)) goto fail
;
31563 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31564 if (SWIG_arg_fail(1)) SWIG_fail
;
31566 arg2
= wxString_in_helper(obj1
);
31567 if (arg2
== NULL
) SWIG_fail
;
31571 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31572 (arg1
)->SetHelpTextForId((wxString
const &)*arg2
);
31574 wxPyEndAllowThreads(__tstate
);
31575 if (PyErr_Occurred()) SWIG_fail
;
31577 Py_INCREF(Py_None
); resultobj
= Py_None
;
31592 static PyObject
*_wrap_Window_GetHelpText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31593 PyObject
*resultobj
;
31594 wxWindow
*arg1
= (wxWindow
*) 0 ;
31596 PyObject
* obj0
= 0 ;
31597 char *kwnames
[] = {
31598 (char *) "self", NULL
31601 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetHelpText",kwnames
,&obj0
)) goto fail
;
31602 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31603 if (SWIG_arg_fail(1)) SWIG_fail
;
31605 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31606 result
= ((wxWindow
const *)arg1
)->GetHelpText();
31608 wxPyEndAllowThreads(__tstate
);
31609 if (PyErr_Occurred()) SWIG_fail
;
31613 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
31615 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
31624 static PyObject
*_wrap_Window_SetToolTipString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31625 PyObject
*resultobj
;
31626 wxWindow
*arg1
= (wxWindow
*) 0 ;
31627 wxString
*arg2
= 0 ;
31628 bool temp2
= false ;
31629 PyObject
* obj0
= 0 ;
31630 PyObject
* obj1
= 0 ;
31631 char *kwnames
[] = {
31632 (char *) "self",(char *) "tip", NULL
31635 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetToolTipString",kwnames
,&obj0
,&obj1
)) goto fail
;
31636 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31637 if (SWIG_arg_fail(1)) SWIG_fail
;
31639 arg2
= wxString_in_helper(obj1
);
31640 if (arg2
== NULL
) SWIG_fail
;
31644 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31645 (arg1
)->SetToolTip((wxString
const &)*arg2
);
31647 wxPyEndAllowThreads(__tstate
);
31648 if (PyErr_Occurred()) SWIG_fail
;
31650 Py_INCREF(Py_None
); resultobj
= Py_None
;
31665 static PyObject
*_wrap_Window_SetToolTip(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31666 PyObject
*resultobj
;
31667 wxWindow
*arg1
= (wxWindow
*) 0 ;
31668 wxToolTip
*arg2
= (wxToolTip
*) 0 ;
31669 PyObject
* obj0
= 0 ;
31670 PyObject
* obj1
= 0 ;
31671 char *kwnames
[] = {
31672 (char *) "self",(char *) "tip", NULL
31675 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetToolTip",kwnames
,&obj0
,&obj1
)) goto fail
;
31676 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31677 if (SWIG_arg_fail(1)) SWIG_fail
;
31678 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxToolTip
, SWIG_POINTER_EXCEPTION
| 0);
31679 if (SWIG_arg_fail(2)) SWIG_fail
;
31681 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31682 (arg1
)->SetToolTip(arg2
);
31684 wxPyEndAllowThreads(__tstate
);
31685 if (PyErr_Occurred()) SWIG_fail
;
31687 Py_INCREF(Py_None
); resultobj
= Py_None
;
31694 static PyObject
*_wrap_Window_GetToolTip(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31695 PyObject
*resultobj
;
31696 wxWindow
*arg1
= (wxWindow
*) 0 ;
31698 PyObject
* obj0
= 0 ;
31699 char *kwnames
[] = {
31700 (char *) "self", NULL
31703 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetToolTip",kwnames
,&obj0
)) goto fail
;
31704 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31705 if (SWIG_arg_fail(1)) SWIG_fail
;
31707 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31708 result
= (wxToolTip
*)((wxWindow
const *)arg1
)->GetToolTip();
31710 wxPyEndAllowThreads(__tstate
);
31711 if (PyErr_Occurred()) SWIG_fail
;
31714 resultobj
= wxPyMake_wxObject(result
, 0);
31722 static PyObject
*_wrap_Window_SetDropTarget(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31723 PyObject
*resultobj
;
31724 wxWindow
*arg1
= (wxWindow
*) 0 ;
31725 wxPyDropTarget
*arg2
= (wxPyDropTarget
*) 0 ;
31726 PyObject
* obj0
= 0 ;
31727 PyObject
* obj1
= 0 ;
31728 char *kwnames
[] = {
31729 (char *) "self",(char *) "dropTarget", NULL
31732 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetDropTarget",kwnames
,&obj0
,&obj1
)) goto fail
;
31733 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31734 if (SWIG_arg_fail(1)) SWIG_fail
;
31735 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPyDropTarget
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
31736 if (SWIG_arg_fail(2)) SWIG_fail
;
31738 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31739 (arg1
)->SetDropTarget(arg2
);
31741 wxPyEndAllowThreads(__tstate
);
31742 if (PyErr_Occurred()) SWIG_fail
;
31744 Py_INCREF(Py_None
); resultobj
= Py_None
;
31751 static PyObject
*_wrap_Window_GetDropTarget(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31752 PyObject
*resultobj
;
31753 wxWindow
*arg1
= (wxWindow
*) 0 ;
31754 wxPyDropTarget
*result
;
31755 PyObject
* obj0
= 0 ;
31756 char *kwnames
[] = {
31757 (char *) "self", NULL
31760 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetDropTarget",kwnames
,&obj0
)) goto fail
;
31761 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31762 if (SWIG_arg_fail(1)) SWIG_fail
;
31764 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31765 result
= (wxPyDropTarget
*)((wxWindow
const *)arg1
)->GetDropTarget();
31767 wxPyEndAllowThreads(__tstate
);
31768 if (PyErr_Occurred()) SWIG_fail
;
31770 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyDropTarget
, 0);
31777 static PyObject
*_wrap_Window_DragAcceptFiles(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31778 PyObject
*resultobj
;
31779 wxWindow
*arg1
= (wxWindow
*) 0 ;
31781 PyObject
* obj0
= 0 ;
31782 PyObject
* obj1
= 0 ;
31783 char *kwnames
[] = {
31784 (char *) "self",(char *) "accept", NULL
31787 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_DragAcceptFiles",kwnames
,&obj0
,&obj1
)) goto fail
;
31788 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31789 if (SWIG_arg_fail(1)) SWIG_fail
;
31791 arg2
= (bool)(SWIG_As_bool(obj1
));
31792 if (SWIG_arg_fail(2)) SWIG_fail
;
31795 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31796 wxWindow_DragAcceptFiles(arg1
,arg2
);
31798 wxPyEndAllowThreads(__tstate
);
31799 if (PyErr_Occurred()) SWIG_fail
;
31801 Py_INCREF(Py_None
); resultobj
= Py_None
;
31808 static PyObject
*_wrap_Window_SetConstraints(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31809 PyObject
*resultobj
;
31810 wxWindow
*arg1
= (wxWindow
*) 0 ;
31811 wxLayoutConstraints
*arg2
= (wxLayoutConstraints
*) 0 ;
31812 PyObject
* obj0
= 0 ;
31813 PyObject
* obj1
= 0 ;
31814 char *kwnames
[] = {
31815 (char *) "self",(char *) "constraints", NULL
31818 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetConstraints",kwnames
,&obj0
,&obj1
)) goto fail
;
31819 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31820 if (SWIG_arg_fail(1)) SWIG_fail
;
31821 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxLayoutConstraints
, SWIG_POINTER_EXCEPTION
| 0);
31822 if (SWIG_arg_fail(2)) SWIG_fail
;
31824 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31825 (arg1
)->SetConstraints(arg2
);
31827 wxPyEndAllowThreads(__tstate
);
31828 if (PyErr_Occurred()) SWIG_fail
;
31830 Py_INCREF(Py_None
); resultobj
= Py_None
;
31837 static PyObject
*_wrap_Window_GetConstraints(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31838 PyObject
*resultobj
;
31839 wxWindow
*arg1
= (wxWindow
*) 0 ;
31840 wxLayoutConstraints
*result
;
31841 PyObject
* obj0
= 0 ;
31842 char *kwnames
[] = {
31843 (char *) "self", NULL
31846 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetConstraints",kwnames
,&obj0
)) goto fail
;
31847 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31848 if (SWIG_arg_fail(1)) SWIG_fail
;
31850 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31851 result
= (wxLayoutConstraints
*)((wxWindow
const *)arg1
)->GetConstraints();
31853 wxPyEndAllowThreads(__tstate
);
31854 if (PyErr_Occurred()) SWIG_fail
;
31856 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLayoutConstraints
, 0);
31863 static PyObject
*_wrap_Window_SetAutoLayout(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31864 PyObject
*resultobj
;
31865 wxWindow
*arg1
= (wxWindow
*) 0 ;
31867 PyObject
* obj0
= 0 ;
31868 PyObject
* obj1
= 0 ;
31869 char *kwnames
[] = {
31870 (char *) "self",(char *) "autoLayout", NULL
31873 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetAutoLayout",kwnames
,&obj0
,&obj1
)) goto fail
;
31874 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31875 if (SWIG_arg_fail(1)) SWIG_fail
;
31877 arg2
= (bool)(SWIG_As_bool(obj1
));
31878 if (SWIG_arg_fail(2)) SWIG_fail
;
31881 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31882 (arg1
)->SetAutoLayout(arg2
);
31884 wxPyEndAllowThreads(__tstate
);
31885 if (PyErr_Occurred()) SWIG_fail
;
31887 Py_INCREF(Py_None
); resultobj
= Py_None
;
31894 static PyObject
*_wrap_Window_GetAutoLayout(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31895 PyObject
*resultobj
;
31896 wxWindow
*arg1
= (wxWindow
*) 0 ;
31898 PyObject
* obj0
= 0 ;
31899 char *kwnames
[] = {
31900 (char *) "self", NULL
31903 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetAutoLayout",kwnames
,&obj0
)) goto fail
;
31904 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31905 if (SWIG_arg_fail(1)) SWIG_fail
;
31907 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31908 result
= (bool)((wxWindow
const *)arg1
)->GetAutoLayout();
31910 wxPyEndAllowThreads(__tstate
);
31911 if (PyErr_Occurred()) SWIG_fail
;
31914 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31922 static PyObject
*_wrap_Window_Layout(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31923 PyObject
*resultobj
;
31924 wxWindow
*arg1
= (wxWindow
*) 0 ;
31926 PyObject
* obj0
= 0 ;
31927 char *kwnames
[] = {
31928 (char *) "self", NULL
31931 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Layout",kwnames
,&obj0
)) goto fail
;
31932 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31933 if (SWIG_arg_fail(1)) SWIG_fail
;
31935 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31936 result
= (bool)(arg1
)->Layout();
31938 wxPyEndAllowThreads(__tstate
);
31939 if (PyErr_Occurred()) SWIG_fail
;
31942 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31950 static PyObject
*_wrap_Window_SetSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31951 PyObject
*resultobj
;
31952 wxWindow
*arg1
= (wxWindow
*) 0 ;
31953 wxSizer
*arg2
= (wxSizer
*) 0 ;
31954 bool arg3
= (bool) true ;
31955 PyObject
* obj0
= 0 ;
31956 PyObject
* obj1
= 0 ;
31957 PyObject
* obj2
= 0 ;
31958 char *kwnames
[] = {
31959 (char *) "self",(char *) "sizer",(char *) "deleteOld", NULL
31962 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_SetSizer",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
31963 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31964 if (SWIG_arg_fail(1)) SWIG_fail
;
31965 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
31966 if (SWIG_arg_fail(2)) SWIG_fail
;
31969 arg3
= (bool)(SWIG_As_bool(obj2
));
31970 if (SWIG_arg_fail(3)) SWIG_fail
;
31974 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31975 (arg1
)->SetSizer(arg2
,arg3
);
31977 wxPyEndAllowThreads(__tstate
);
31978 if (PyErr_Occurred()) SWIG_fail
;
31980 Py_INCREF(Py_None
); resultobj
= Py_None
;
31987 static PyObject
*_wrap_Window_SetSizerAndFit(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31988 PyObject
*resultobj
;
31989 wxWindow
*arg1
= (wxWindow
*) 0 ;
31990 wxSizer
*arg2
= (wxSizer
*) 0 ;
31991 bool arg3
= (bool) true ;
31992 PyObject
* obj0
= 0 ;
31993 PyObject
* obj1
= 0 ;
31994 PyObject
* obj2
= 0 ;
31995 char *kwnames
[] = {
31996 (char *) "self",(char *) "sizer",(char *) "deleteOld", NULL
31999 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_SetSizerAndFit",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
32000 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
32001 if (SWIG_arg_fail(1)) SWIG_fail
;
32002 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
32003 if (SWIG_arg_fail(2)) SWIG_fail
;
32006 arg3
= (bool)(SWIG_As_bool(obj2
));
32007 if (SWIG_arg_fail(3)) SWIG_fail
;
32011 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32012 (arg1
)->SetSizerAndFit(arg2
,arg3
);
32014 wxPyEndAllowThreads(__tstate
);
32015 if (PyErr_Occurred()) SWIG_fail
;
32017 Py_INCREF(Py_None
); resultobj
= Py_None
;
32024 static PyObject
*_wrap_Window_GetSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32025 PyObject
*resultobj
;
32026 wxWindow
*arg1
= (wxWindow
*) 0 ;
32028 PyObject
* obj0
= 0 ;
32029 char *kwnames
[] = {
32030 (char *) "self", NULL
32033 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetSizer",kwnames
,&obj0
)) goto fail
;
32034 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
32035 if (SWIG_arg_fail(1)) SWIG_fail
;
32037 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32038 result
= (wxSizer
*)((wxWindow
const *)arg1
)->GetSizer();
32040 wxPyEndAllowThreads(__tstate
);
32041 if (PyErr_Occurred()) SWIG_fail
;
32044 resultobj
= wxPyMake_wxObject(result
, 0);
32052 static PyObject
*_wrap_Window_SetContainingSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32053 PyObject
*resultobj
;
32054 wxWindow
*arg1
= (wxWindow
*) 0 ;
32055 wxSizer
*arg2
= (wxSizer
*) 0 ;
32056 PyObject
* obj0
= 0 ;
32057 PyObject
* obj1
= 0 ;
32058 char *kwnames
[] = {
32059 (char *) "self",(char *) "sizer", NULL
32062 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetContainingSizer",kwnames
,&obj0
,&obj1
)) goto fail
;
32063 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
32064 if (SWIG_arg_fail(1)) SWIG_fail
;
32065 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
32066 if (SWIG_arg_fail(2)) SWIG_fail
;
32068 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32069 (arg1
)->SetContainingSizer(arg2
);
32071 wxPyEndAllowThreads(__tstate
);
32072 if (PyErr_Occurred()) SWIG_fail
;
32074 Py_INCREF(Py_None
); resultobj
= Py_None
;
32081 static PyObject
*_wrap_Window_GetContainingSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32082 PyObject
*resultobj
;
32083 wxWindow
*arg1
= (wxWindow
*) 0 ;
32085 PyObject
* obj0
= 0 ;
32086 char *kwnames
[] = {
32087 (char *) "self", NULL
32090 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetContainingSizer",kwnames
,&obj0
)) goto fail
;
32091 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
32092 if (SWIG_arg_fail(1)) SWIG_fail
;
32094 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32095 result
= (wxSizer
*)((wxWindow
const *)arg1
)->GetContainingSizer();
32097 wxPyEndAllowThreads(__tstate
);
32098 if (PyErr_Occurred()) SWIG_fail
;
32101 resultobj
= wxPyMake_wxObject(result
, 0);
32109 static PyObject
*_wrap_Window_InheritAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32110 PyObject
*resultobj
;
32111 wxWindow
*arg1
= (wxWindow
*) 0 ;
32112 PyObject
* obj0
= 0 ;
32113 char *kwnames
[] = {
32114 (char *) "self", NULL
32117 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_InheritAttributes",kwnames
,&obj0
)) goto fail
;
32118 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
32119 if (SWIG_arg_fail(1)) SWIG_fail
;
32121 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32122 (arg1
)->InheritAttributes();
32124 wxPyEndAllowThreads(__tstate
);
32125 if (PyErr_Occurred()) SWIG_fail
;
32127 Py_INCREF(Py_None
); resultobj
= Py_None
;
32134 static PyObject
*_wrap_Window_ShouldInheritColours(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32135 PyObject
*resultobj
;
32136 wxWindow
*arg1
= (wxWindow
*) 0 ;
32138 PyObject
* obj0
= 0 ;
32139 char *kwnames
[] = {
32140 (char *) "self", NULL
32143 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_ShouldInheritColours",kwnames
,&obj0
)) goto fail
;
32144 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
32145 if (SWIG_arg_fail(1)) SWIG_fail
;
32147 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32148 result
= (bool)((wxWindow
const *)arg1
)->ShouldInheritColours();
32150 wxPyEndAllowThreads(__tstate
);
32151 if (PyErr_Occurred()) SWIG_fail
;
32154 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32162 static PyObject
* Window_swigregister(PyObject
*, PyObject
*args
) {
32164 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
32165 SWIG_TypeClientData(SWIGTYPE_p_wxWindow
, obj
);
32167 return Py_BuildValue((char *)"");
32169 static PyObject
*_wrap_FindWindowById(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32170 PyObject
*resultobj
;
32172 wxWindow
*arg2
= (wxWindow
*) NULL
;
32174 PyObject
* obj0
= 0 ;
32175 PyObject
* obj1
= 0 ;
32176 char *kwnames
[] = {
32177 (char *) "id",(char *) "parent", NULL
32180 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:FindWindowById",kwnames
,&obj0
,&obj1
)) goto fail
;
32182 arg1
= (long)(SWIG_As_long(obj0
));
32183 if (SWIG_arg_fail(1)) SWIG_fail
;
32186 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
32187 if (SWIG_arg_fail(2)) SWIG_fail
;
32190 if (!wxPyCheckForApp()) SWIG_fail
;
32191 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32192 result
= (wxWindow
*)wxFindWindowById(arg1
,(wxWindow
const *)arg2
);
32194 wxPyEndAllowThreads(__tstate
);
32195 if (PyErr_Occurred()) SWIG_fail
;
32198 resultobj
= wxPyMake_wxObject(result
, 0);
32206 static PyObject
*_wrap_FindWindowByName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32207 PyObject
*resultobj
;
32208 wxString
*arg1
= 0 ;
32209 wxWindow
*arg2
= (wxWindow
*) NULL
;
32211 bool temp1
= false ;
32212 PyObject
* obj0
= 0 ;
32213 PyObject
* obj1
= 0 ;
32214 char *kwnames
[] = {
32215 (char *) "name",(char *) "parent", NULL
32218 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:FindWindowByName",kwnames
,&obj0
,&obj1
)) goto fail
;
32220 arg1
= wxString_in_helper(obj0
);
32221 if (arg1
== NULL
) SWIG_fail
;
32225 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
32226 if (SWIG_arg_fail(2)) SWIG_fail
;
32229 if (!wxPyCheckForApp()) SWIG_fail
;
32230 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32231 result
= (wxWindow
*)wxFindWindowByName((wxString
const &)*arg1
,(wxWindow
const *)arg2
);
32233 wxPyEndAllowThreads(__tstate
);
32234 if (PyErr_Occurred()) SWIG_fail
;
32237 resultobj
= wxPyMake_wxObject(result
, 0);
32253 static PyObject
*_wrap_FindWindowByLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32254 PyObject
*resultobj
;
32255 wxString
*arg1
= 0 ;
32256 wxWindow
*arg2
= (wxWindow
*) NULL
;
32258 bool temp1
= false ;
32259 PyObject
* obj0
= 0 ;
32260 PyObject
* obj1
= 0 ;
32261 char *kwnames
[] = {
32262 (char *) "label",(char *) "parent", NULL
32265 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:FindWindowByLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
32267 arg1
= wxString_in_helper(obj0
);
32268 if (arg1
== NULL
) SWIG_fail
;
32272 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
32273 if (SWIG_arg_fail(2)) SWIG_fail
;
32276 if (!wxPyCheckForApp()) SWIG_fail
;
32277 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32278 result
= (wxWindow
*)wxFindWindowByLabel((wxString
const &)*arg1
,(wxWindow
const *)arg2
);
32280 wxPyEndAllowThreads(__tstate
);
32281 if (PyErr_Occurred()) SWIG_fail
;
32284 resultobj
= wxPyMake_wxObject(result
, 0);
32300 static PyObject
*_wrap_Window_FromHWND(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32301 PyObject
*resultobj
;
32302 wxWindow
*arg1
= (wxWindow
*) 0 ;
32303 unsigned long arg2
;
32305 PyObject
* obj0
= 0 ;
32306 PyObject
* obj1
= 0 ;
32307 char *kwnames
[] = {
32308 (char *) "parent",(char *) "_hWnd", NULL
32311 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_FromHWND",kwnames
,&obj0
,&obj1
)) goto fail
;
32312 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
32313 if (SWIG_arg_fail(1)) SWIG_fail
;
32315 arg2
= (unsigned long)(SWIG_As_unsigned_SS_long(obj1
));
32316 if (SWIG_arg_fail(2)) SWIG_fail
;
32319 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32320 result
= (wxWindow
*)wxWindow_FromHWND(arg1
,arg2
);
32322 wxPyEndAllowThreads(__tstate
);
32323 if (PyErr_Occurred()) SWIG_fail
;
32326 resultobj
= wxPyMake_wxObject(result
, 0);
32334 static PyObject
*_wrap_GetTopLevelWindows(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32335 PyObject
*resultobj
;
32337 char *kwnames
[] = {
32341 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetTopLevelWindows",kwnames
)) goto fail
;
32343 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32344 result
= (PyObject
*)GetTopLevelWindows();
32346 wxPyEndAllowThreads(__tstate
);
32347 if (PyErr_Occurred()) SWIG_fail
;
32349 resultobj
= result
;
32356 static PyObject
*_wrap_new_Validator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32357 PyObject
*resultobj
;
32358 wxValidator
*result
;
32359 char *kwnames
[] = {
32363 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_Validator",kwnames
)) goto fail
;
32365 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32366 result
= (wxValidator
*)new wxValidator();
32368 wxPyEndAllowThreads(__tstate
);
32369 if (PyErr_Occurred()) SWIG_fail
;
32371 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxValidator
, 1);
32378 static PyObject
*_wrap_Validator_Clone(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32379 PyObject
*resultobj
;
32380 wxValidator
*arg1
= (wxValidator
*) 0 ;
32381 wxValidator
*result
;
32382 PyObject
* obj0
= 0 ;
32383 char *kwnames
[] = {
32384 (char *) "self", NULL
32387 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Validator_Clone",kwnames
,&obj0
)) goto fail
;
32388 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
32389 if (SWIG_arg_fail(1)) SWIG_fail
;
32391 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32392 result
= (wxValidator
*)(arg1
)->Clone();
32394 wxPyEndAllowThreads(__tstate
);
32395 if (PyErr_Occurred()) SWIG_fail
;
32398 resultobj
= wxPyMake_wxObject(result
, 0);
32406 static PyObject
*_wrap_Validator_Validate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32407 PyObject
*resultobj
;
32408 wxValidator
*arg1
= (wxValidator
*) 0 ;
32409 wxWindow
*arg2
= (wxWindow
*) 0 ;
32411 PyObject
* obj0
= 0 ;
32412 PyObject
* obj1
= 0 ;
32413 char *kwnames
[] = {
32414 (char *) "self",(char *) "parent", NULL
32417 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Validator_Validate",kwnames
,&obj0
,&obj1
)) goto fail
;
32418 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
32419 if (SWIG_arg_fail(1)) SWIG_fail
;
32420 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
32421 if (SWIG_arg_fail(2)) SWIG_fail
;
32423 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32424 result
= (bool)(arg1
)->Validate(arg2
);
32426 wxPyEndAllowThreads(__tstate
);
32427 if (PyErr_Occurred()) SWIG_fail
;
32430 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32438 static PyObject
*_wrap_Validator_TransferToWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32439 PyObject
*resultobj
;
32440 wxValidator
*arg1
= (wxValidator
*) 0 ;
32442 PyObject
* obj0
= 0 ;
32443 char *kwnames
[] = {
32444 (char *) "self", NULL
32447 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Validator_TransferToWindow",kwnames
,&obj0
)) goto fail
;
32448 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
32449 if (SWIG_arg_fail(1)) SWIG_fail
;
32451 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32452 result
= (bool)(arg1
)->TransferToWindow();
32454 wxPyEndAllowThreads(__tstate
);
32455 if (PyErr_Occurred()) SWIG_fail
;
32458 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32466 static PyObject
*_wrap_Validator_TransferFromWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32467 PyObject
*resultobj
;
32468 wxValidator
*arg1
= (wxValidator
*) 0 ;
32470 PyObject
* obj0
= 0 ;
32471 char *kwnames
[] = {
32472 (char *) "self", NULL
32475 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Validator_TransferFromWindow",kwnames
,&obj0
)) goto fail
;
32476 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
32477 if (SWIG_arg_fail(1)) SWIG_fail
;
32479 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32480 result
= (bool)(arg1
)->TransferFromWindow();
32482 wxPyEndAllowThreads(__tstate
);
32483 if (PyErr_Occurred()) SWIG_fail
;
32486 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32494 static PyObject
*_wrap_Validator_GetWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32495 PyObject
*resultobj
;
32496 wxValidator
*arg1
= (wxValidator
*) 0 ;
32498 PyObject
* obj0
= 0 ;
32499 char *kwnames
[] = {
32500 (char *) "self", NULL
32503 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Validator_GetWindow",kwnames
,&obj0
)) goto fail
;
32504 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
32505 if (SWIG_arg_fail(1)) SWIG_fail
;
32507 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32508 result
= (wxWindow
*)(arg1
)->GetWindow();
32510 wxPyEndAllowThreads(__tstate
);
32511 if (PyErr_Occurred()) SWIG_fail
;
32514 resultobj
= wxPyMake_wxObject(result
, 0);
32522 static PyObject
*_wrap_Validator_SetWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32523 PyObject
*resultobj
;
32524 wxValidator
*arg1
= (wxValidator
*) 0 ;
32525 wxWindow
*arg2
= (wxWindow
*) 0 ;
32526 PyObject
* obj0
= 0 ;
32527 PyObject
* obj1
= 0 ;
32528 char *kwnames
[] = {
32529 (char *) "self",(char *) "window", NULL
32532 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Validator_SetWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
32533 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
32534 if (SWIG_arg_fail(1)) SWIG_fail
;
32535 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
32536 if (SWIG_arg_fail(2)) SWIG_fail
;
32538 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32539 (arg1
)->SetWindow(arg2
);
32541 wxPyEndAllowThreads(__tstate
);
32542 if (PyErr_Occurred()) SWIG_fail
;
32544 Py_INCREF(Py_None
); resultobj
= Py_None
;
32551 static PyObject
*_wrap_Validator_IsSilent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32552 PyObject
*resultobj
;
32554 char *kwnames
[] = {
32558 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Validator_IsSilent",kwnames
)) goto fail
;
32560 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32561 result
= (bool)wxValidator::IsSilent();
32563 wxPyEndAllowThreads(__tstate
);
32564 if (PyErr_Occurred()) SWIG_fail
;
32567 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32575 static PyObject
*_wrap_Validator_SetBellOnError(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32576 PyObject
*resultobj
;
32577 int arg1
= (int) true ;
32578 PyObject
* obj0
= 0 ;
32579 char *kwnames
[] = {
32580 (char *) "doIt", NULL
32583 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Validator_SetBellOnError",kwnames
,&obj0
)) goto fail
;
32586 arg1
= (int)(SWIG_As_int(obj0
));
32587 if (SWIG_arg_fail(1)) SWIG_fail
;
32591 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32592 wxValidator::SetBellOnError(arg1
);
32594 wxPyEndAllowThreads(__tstate
);
32595 if (PyErr_Occurred()) SWIG_fail
;
32597 Py_INCREF(Py_None
); resultobj
= Py_None
;
32604 static PyObject
* Validator_swigregister(PyObject
*, PyObject
*args
) {
32606 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
32607 SWIG_TypeClientData(SWIGTYPE_p_wxValidator
, obj
);
32609 return Py_BuildValue((char *)"");
32611 static PyObject
*_wrap_new_PyValidator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32612 PyObject
*resultobj
;
32613 wxPyValidator
*result
;
32614 char *kwnames
[] = {
32618 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PyValidator",kwnames
)) goto fail
;
32620 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32621 result
= (wxPyValidator
*)new wxPyValidator();
32623 wxPyEndAllowThreads(__tstate
);
32624 if (PyErr_Occurred()) SWIG_fail
;
32626 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyValidator
, 1);
32633 static PyObject
*_wrap_PyValidator__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32634 PyObject
*resultobj
;
32635 wxPyValidator
*arg1
= (wxPyValidator
*) 0 ;
32636 PyObject
*arg2
= (PyObject
*) 0 ;
32637 PyObject
*arg3
= (PyObject
*) 0 ;
32638 int arg4
= (int) true ;
32639 PyObject
* obj0
= 0 ;
32640 PyObject
* obj1
= 0 ;
32641 PyObject
* obj2
= 0 ;
32642 PyObject
* obj3
= 0 ;
32643 char *kwnames
[] = {
32644 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
32647 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:PyValidator__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
32648 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyValidator
, SWIG_POINTER_EXCEPTION
| 0);
32649 if (SWIG_arg_fail(1)) SWIG_fail
;
32654 arg4
= (int)(SWIG_As_int(obj3
));
32655 if (SWIG_arg_fail(4)) SWIG_fail
;
32659 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32660 (arg1
)->_setCallbackInfo(arg2
,arg3
,arg4
);
32662 wxPyEndAllowThreads(__tstate
);
32663 if (PyErr_Occurred()) SWIG_fail
;
32665 Py_INCREF(Py_None
); resultobj
= Py_None
;
32672 static PyObject
* PyValidator_swigregister(PyObject
*, PyObject
*args
) {
32674 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
32675 SWIG_TypeClientData(SWIGTYPE_p_wxPyValidator
, obj
);
32677 return Py_BuildValue((char *)"");
32679 static int _wrap_DefaultValidator_set(PyObject
*) {
32680 PyErr_SetString(PyExc_TypeError
,"Variable DefaultValidator is read-only.");
32685 static PyObject
*_wrap_DefaultValidator_get(void) {
32688 pyobj
= SWIG_NewPointerObj((void *)(&wxDefaultValidator
), SWIGTYPE_p_wxValidator
, 0);
32693 static PyObject
*_wrap_new_Menu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32694 PyObject
*resultobj
;
32695 wxString
const &arg1_defvalue
= wxPyEmptyString
;
32696 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
32697 long arg2
= (long) 0 ;
32699 bool temp1
= false ;
32700 PyObject
* obj0
= 0 ;
32701 PyObject
* obj1
= 0 ;
32702 char *kwnames
[] = {
32703 (char *) "title",(char *) "style", NULL
32706 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Menu",kwnames
,&obj0
,&obj1
)) goto fail
;
32709 arg1
= wxString_in_helper(obj0
);
32710 if (arg1
== NULL
) SWIG_fail
;
32716 arg2
= (long)(SWIG_As_long(obj1
));
32717 if (SWIG_arg_fail(2)) SWIG_fail
;
32721 if (!wxPyCheckForApp()) SWIG_fail
;
32722 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32723 result
= (wxMenu
*)new wxMenu((wxString
const &)*arg1
,arg2
);
32725 wxPyEndAllowThreads(__tstate
);
32726 if (PyErr_Occurred()) SWIG_fail
;
32728 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMenu
, 1);
32743 static PyObject
*_wrap_Menu_Append(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32744 PyObject
*resultobj
;
32745 wxMenu
*arg1
= (wxMenu
*) 0 ;
32747 wxString
*arg3
= 0 ;
32748 wxString
const &arg4_defvalue
= wxPyEmptyString
;
32749 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
32750 wxItemKind arg5
= (wxItemKind
) wxITEM_NORMAL
;
32751 wxMenuItem
*result
;
32752 bool temp3
= false ;
32753 bool temp4
= false ;
32754 PyObject
* obj0
= 0 ;
32755 PyObject
* obj1
= 0 ;
32756 PyObject
* obj2
= 0 ;
32757 PyObject
* obj3
= 0 ;
32758 PyObject
* obj4
= 0 ;
32759 char *kwnames
[] = {
32760 (char *) "self",(char *) "id",(char *) "text",(char *) "help",(char *) "kind", NULL
32763 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:Menu_Append",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
32764 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
32765 if (SWIG_arg_fail(1)) SWIG_fail
;
32767 arg2
= (int)(SWIG_As_int(obj1
));
32768 if (SWIG_arg_fail(2)) SWIG_fail
;
32771 arg3
= wxString_in_helper(obj2
);
32772 if (arg3
== NULL
) SWIG_fail
;
32777 arg4
= wxString_in_helper(obj3
);
32778 if (arg4
== NULL
) SWIG_fail
;
32784 arg5
= (wxItemKind
)(SWIG_As_int(obj4
));
32785 if (SWIG_arg_fail(5)) SWIG_fail
;
32789 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32790 result
= (wxMenuItem
*)(arg1
)->Append(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,(wxItemKind
)arg5
);
32792 wxPyEndAllowThreads(__tstate
);
32793 if (PyErr_Occurred()) SWIG_fail
;
32796 resultobj
= wxPyMake_wxObject(result
, 0);
32820 static PyObject
*_wrap_Menu_AppendSeparator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32821 PyObject
*resultobj
;
32822 wxMenu
*arg1
= (wxMenu
*) 0 ;
32823 wxMenuItem
*result
;
32824 PyObject
* obj0
= 0 ;
32825 char *kwnames
[] = {
32826 (char *) "self", NULL
32829 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_AppendSeparator",kwnames
,&obj0
)) goto fail
;
32830 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
32831 if (SWIG_arg_fail(1)) SWIG_fail
;
32833 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32834 result
= (wxMenuItem
*)(arg1
)->AppendSeparator();
32836 wxPyEndAllowThreads(__tstate
);
32837 if (PyErr_Occurred()) SWIG_fail
;
32840 resultobj
= wxPyMake_wxObject(result
, 0);
32848 static PyObject
*_wrap_Menu_AppendCheckItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32849 PyObject
*resultobj
;
32850 wxMenu
*arg1
= (wxMenu
*) 0 ;
32852 wxString
*arg3
= 0 ;
32853 wxString
const &arg4_defvalue
= wxPyEmptyString
;
32854 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
32855 wxMenuItem
*result
;
32856 bool temp3
= false ;
32857 bool temp4
= false ;
32858 PyObject
* obj0
= 0 ;
32859 PyObject
* obj1
= 0 ;
32860 PyObject
* obj2
= 0 ;
32861 PyObject
* obj3
= 0 ;
32862 char *kwnames
[] = {
32863 (char *) "self",(char *) "id",(char *) "text",(char *) "help", NULL
32866 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Menu_AppendCheckItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
32867 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
32868 if (SWIG_arg_fail(1)) SWIG_fail
;
32870 arg2
= (int)(SWIG_As_int(obj1
));
32871 if (SWIG_arg_fail(2)) SWIG_fail
;
32874 arg3
= wxString_in_helper(obj2
);
32875 if (arg3
== NULL
) SWIG_fail
;
32880 arg4
= wxString_in_helper(obj3
);
32881 if (arg4
== NULL
) SWIG_fail
;
32886 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32887 result
= (wxMenuItem
*)(arg1
)->AppendCheckItem(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
);
32889 wxPyEndAllowThreads(__tstate
);
32890 if (PyErr_Occurred()) SWIG_fail
;
32893 resultobj
= wxPyMake_wxObject(result
, 0);
32917 static PyObject
*_wrap_Menu_AppendRadioItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32918 PyObject
*resultobj
;
32919 wxMenu
*arg1
= (wxMenu
*) 0 ;
32921 wxString
*arg3
= 0 ;
32922 wxString
const &arg4_defvalue
= wxPyEmptyString
;
32923 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
32924 wxMenuItem
*result
;
32925 bool temp3
= false ;
32926 bool temp4
= false ;
32927 PyObject
* obj0
= 0 ;
32928 PyObject
* obj1
= 0 ;
32929 PyObject
* obj2
= 0 ;
32930 PyObject
* obj3
= 0 ;
32931 char *kwnames
[] = {
32932 (char *) "self",(char *) "id",(char *) "text",(char *) "help", NULL
32935 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Menu_AppendRadioItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
32936 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
32937 if (SWIG_arg_fail(1)) SWIG_fail
;
32939 arg2
= (int)(SWIG_As_int(obj1
));
32940 if (SWIG_arg_fail(2)) SWIG_fail
;
32943 arg3
= wxString_in_helper(obj2
);
32944 if (arg3
== NULL
) SWIG_fail
;
32949 arg4
= wxString_in_helper(obj3
);
32950 if (arg4
== NULL
) SWIG_fail
;
32955 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32956 result
= (wxMenuItem
*)(arg1
)->AppendRadioItem(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
);
32958 wxPyEndAllowThreads(__tstate
);
32959 if (PyErr_Occurred()) SWIG_fail
;
32962 resultobj
= wxPyMake_wxObject(result
, 0);
32986 static PyObject
*_wrap_Menu_AppendMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32987 PyObject
*resultobj
;
32988 wxMenu
*arg1
= (wxMenu
*) 0 ;
32990 wxString
*arg3
= 0 ;
32991 wxMenu
*arg4
= (wxMenu
*) 0 ;
32992 wxString
const &arg5_defvalue
= wxPyEmptyString
;
32993 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
32994 wxMenuItem
*result
;
32995 bool temp3
= false ;
32996 bool temp5
= false ;
32997 PyObject
* obj0
= 0 ;
32998 PyObject
* obj1
= 0 ;
32999 PyObject
* obj2
= 0 ;
33000 PyObject
* obj3
= 0 ;
33001 PyObject
* obj4
= 0 ;
33002 char *kwnames
[] = {
33003 (char *) "self",(char *) "id",(char *) "text",(char *) "submenu",(char *) "help", NULL
33006 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:Menu_AppendMenu",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
33007 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33008 if (SWIG_arg_fail(1)) SWIG_fail
;
33010 arg2
= (int)(SWIG_As_int(obj1
));
33011 if (SWIG_arg_fail(2)) SWIG_fail
;
33014 arg3
= wxString_in_helper(obj2
);
33015 if (arg3
== NULL
) SWIG_fail
;
33018 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33019 if (SWIG_arg_fail(4)) SWIG_fail
;
33022 arg5
= wxString_in_helper(obj4
);
33023 if (arg5
== NULL
) SWIG_fail
;
33028 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33029 result
= (wxMenuItem
*)(arg1
)->Append(arg2
,(wxString
const &)*arg3
,arg4
,(wxString
const &)*arg5
);
33031 wxPyEndAllowThreads(__tstate
);
33032 if (PyErr_Occurred()) SWIG_fail
;
33035 resultobj
= wxPyMake_wxObject(result
, 0);
33059 static PyObject
*_wrap_Menu_AppendItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33060 PyObject
*resultobj
;
33061 wxMenu
*arg1
= (wxMenu
*) 0 ;
33062 wxMenuItem
*arg2
= (wxMenuItem
*) 0 ;
33063 wxMenuItem
*result
;
33064 PyObject
* obj0
= 0 ;
33065 PyObject
* obj1
= 0 ;
33066 char *kwnames
[] = {
33067 (char *) "self",(char *) "item", NULL
33070 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_AppendItem",kwnames
,&obj0
,&obj1
)) goto fail
;
33071 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33072 if (SWIG_arg_fail(1)) SWIG_fail
;
33073 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
33074 if (SWIG_arg_fail(2)) SWIG_fail
;
33076 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33077 result
= (wxMenuItem
*)(arg1
)->Append(arg2
);
33079 wxPyEndAllowThreads(__tstate
);
33080 if (PyErr_Occurred()) SWIG_fail
;
33083 resultobj
= wxPyMake_wxObject(result
, 0);
33091 static PyObject
*_wrap_Menu_Break(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33092 PyObject
*resultobj
;
33093 wxMenu
*arg1
= (wxMenu
*) 0 ;
33094 PyObject
* obj0
= 0 ;
33095 char *kwnames
[] = {
33096 (char *) "self", NULL
33099 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_Break",kwnames
,&obj0
)) goto fail
;
33100 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33101 if (SWIG_arg_fail(1)) SWIG_fail
;
33103 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33106 wxPyEndAllowThreads(__tstate
);
33107 if (PyErr_Occurred()) SWIG_fail
;
33109 Py_INCREF(Py_None
); resultobj
= Py_None
;
33116 static PyObject
*_wrap_Menu_InsertItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33117 PyObject
*resultobj
;
33118 wxMenu
*arg1
= (wxMenu
*) 0 ;
33120 wxMenuItem
*arg3
= (wxMenuItem
*) 0 ;
33121 wxMenuItem
*result
;
33122 PyObject
* obj0
= 0 ;
33123 PyObject
* obj1
= 0 ;
33124 PyObject
* obj2
= 0 ;
33125 char *kwnames
[] = {
33126 (char *) "self",(char *) "pos",(char *) "item", NULL
33129 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Menu_InsertItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
33130 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33131 if (SWIG_arg_fail(1)) SWIG_fail
;
33133 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
33134 if (SWIG_arg_fail(2)) SWIG_fail
;
33136 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
33137 if (SWIG_arg_fail(3)) SWIG_fail
;
33139 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33140 result
= (wxMenuItem
*)(arg1
)->Insert(arg2
,arg3
);
33142 wxPyEndAllowThreads(__tstate
);
33143 if (PyErr_Occurred()) SWIG_fail
;
33146 resultobj
= wxPyMake_wxObject(result
, 0);
33154 static PyObject
*_wrap_Menu_Insert(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33155 PyObject
*resultobj
;
33156 wxMenu
*arg1
= (wxMenu
*) 0 ;
33159 wxString
*arg4
= 0 ;
33160 wxString
const &arg5_defvalue
= wxPyEmptyString
;
33161 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
33162 wxItemKind arg6
= (wxItemKind
) wxITEM_NORMAL
;
33163 wxMenuItem
*result
;
33164 bool temp4
= false ;
33165 bool temp5
= false ;
33166 PyObject
* obj0
= 0 ;
33167 PyObject
* obj1
= 0 ;
33168 PyObject
* obj2
= 0 ;
33169 PyObject
* obj3
= 0 ;
33170 PyObject
* obj4
= 0 ;
33171 PyObject
* obj5
= 0 ;
33172 char *kwnames
[] = {
33173 (char *) "self",(char *) "pos",(char *) "id",(char *) "text",(char *) "help",(char *) "kind", NULL
33176 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:Menu_Insert",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
33177 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33178 if (SWIG_arg_fail(1)) SWIG_fail
;
33180 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
33181 if (SWIG_arg_fail(2)) SWIG_fail
;
33184 arg3
= (int)(SWIG_As_int(obj2
));
33185 if (SWIG_arg_fail(3)) SWIG_fail
;
33188 arg4
= wxString_in_helper(obj3
);
33189 if (arg4
== NULL
) SWIG_fail
;
33194 arg5
= wxString_in_helper(obj4
);
33195 if (arg5
== NULL
) SWIG_fail
;
33201 arg6
= (wxItemKind
)(SWIG_As_int(obj5
));
33202 if (SWIG_arg_fail(6)) SWIG_fail
;
33206 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33207 result
= (wxMenuItem
*)(arg1
)->Insert(arg2
,arg3
,(wxString
const &)*arg4
,(wxString
const &)*arg5
,(wxItemKind
)arg6
);
33209 wxPyEndAllowThreads(__tstate
);
33210 if (PyErr_Occurred()) SWIG_fail
;
33213 resultobj
= wxPyMake_wxObject(result
, 0);
33237 static PyObject
*_wrap_Menu_InsertSeparator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33238 PyObject
*resultobj
;
33239 wxMenu
*arg1
= (wxMenu
*) 0 ;
33241 wxMenuItem
*result
;
33242 PyObject
* obj0
= 0 ;
33243 PyObject
* obj1
= 0 ;
33244 char *kwnames
[] = {
33245 (char *) "self",(char *) "pos", NULL
33248 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_InsertSeparator",kwnames
,&obj0
,&obj1
)) goto fail
;
33249 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33250 if (SWIG_arg_fail(1)) SWIG_fail
;
33252 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
33253 if (SWIG_arg_fail(2)) SWIG_fail
;
33256 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33257 result
= (wxMenuItem
*)(arg1
)->InsertSeparator(arg2
);
33259 wxPyEndAllowThreads(__tstate
);
33260 if (PyErr_Occurred()) SWIG_fail
;
33263 resultobj
= wxPyMake_wxObject(result
, 0);
33271 static PyObject
*_wrap_Menu_InsertCheckItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33272 PyObject
*resultobj
;
33273 wxMenu
*arg1
= (wxMenu
*) 0 ;
33276 wxString
*arg4
= 0 ;
33277 wxString
const &arg5_defvalue
= wxPyEmptyString
;
33278 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
33279 wxMenuItem
*result
;
33280 bool temp4
= false ;
33281 bool temp5
= false ;
33282 PyObject
* obj0
= 0 ;
33283 PyObject
* obj1
= 0 ;
33284 PyObject
* obj2
= 0 ;
33285 PyObject
* obj3
= 0 ;
33286 PyObject
* obj4
= 0 ;
33287 char *kwnames
[] = {
33288 (char *) "self",(char *) "pos",(char *) "id",(char *) "text",(char *) "help", NULL
33291 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:Menu_InsertCheckItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
33292 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33293 if (SWIG_arg_fail(1)) SWIG_fail
;
33295 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
33296 if (SWIG_arg_fail(2)) SWIG_fail
;
33299 arg3
= (int)(SWIG_As_int(obj2
));
33300 if (SWIG_arg_fail(3)) SWIG_fail
;
33303 arg4
= wxString_in_helper(obj3
);
33304 if (arg4
== NULL
) SWIG_fail
;
33309 arg5
= wxString_in_helper(obj4
);
33310 if (arg5
== NULL
) SWIG_fail
;
33315 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33316 result
= (wxMenuItem
*)(arg1
)->InsertCheckItem(arg2
,arg3
,(wxString
const &)*arg4
,(wxString
const &)*arg5
);
33318 wxPyEndAllowThreads(__tstate
);
33319 if (PyErr_Occurred()) SWIG_fail
;
33322 resultobj
= wxPyMake_wxObject(result
, 0);
33346 static PyObject
*_wrap_Menu_InsertRadioItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33347 PyObject
*resultobj
;
33348 wxMenu
*arg1
= (wxMenu
*) 0 ;
33351 wxString
*arg4
= 0 ;
33352 wxString
const &arg5_defvalue
= wxPyEmptyString
;
33353 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
33354 wxMenuItem
*result
;
33355 bool temp4
= false ;
33356 bool temp5
= false ;
33357 PyObject
* obj0
= 0 ;
33358 PyObject
* obj1
= 0 ;
33359 PyObject
* obj2
= 0 ;
33360 PyObject
* obj3
= 0 ;
33361 PyObject
* obj4
= 0 ;
33362 char *kwnames
[] = {
33363 (char *) "self",(char *) "pos",(char *) "id",(char *) "text",(char *) "help", NULL
33366 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:Menu_InsertRadioItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
33367 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33368 if (SWIG_arg_fail(1)) SWIG_fail
;
33370 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
33371 if (SWIG_arg_fail(2)) SWIG_fail
;
33374 arg3
= (int)(SWIG_As_int(obj2
));
33375 if (SWIG_arg_fail(3)) SWIG_fail
;
33378 arg4
= wxString_in_helper(obj3
);
33379 if (arg4
== NULL
) SWIG_fail
;
33384 arg5
= wxString_in_helper(obj4
);
33385 if (arg5
== NULL
) SWIG_fail
;
33390 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33391 result
= (wxMenuItem
*)(arg1
)->InsertRadioItem(arg2
,arg3
,(wxString
const &)*arg4
,(wxString
const &)*arg5
);
33393 wxPyEndAllowThreads(__tstate
);
33394 if (PyErr_Occurred()) SWIG_fail
;
33397 resultobj
= wxPyMake_wxObject(result
, 0);
33421 static PyObject
*_wrap_Menu_InsertMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33422 PyObject
*resultobj
;
33423 wxMenu
*arg1
= (wxMenu
*) 0 ;
33426 wxString
*arg4
= 0 ;
33427 wxMenu
*arg5
= (wxMenu
*) 0 ;
33428 wxString
const &arg6_defvalue
= wxPyEmptyString
;
33429 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
33430 wxMenuItem
*result
;
33431 bool temp4
= false ;
33432 bool temp6
= false ;
33433 PyObject
* obj0
= 0 ;
33434 PyObject
* obj1
= 0 ;
33435 PyObject
* obj2
= 0 ;
33436 PyObject
* obj3
= 0 ;
33437 PyObject
* obj4
= 0 ;
33438 PyObject
* obj5
= 0 ;
33439 char *kwnames
[] = {
33440 (char *) "self",(char *) "pos",(char *) "id",(char *) "text",(char *) "submenu",(char *) "help", NULL
33443 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:Menu_InsertMenu",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
33444 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33445 if (SWIG_arg_fail(1)) SWIG_fail
;
33447 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
33448 if (SWIG_arg_fail(2)) SWIG_fail
;
33451 arg3
= (int)(SWIG_As_int(obj2
));
33452 if (SWIG_arg_fail(3)) SWIG_fail
;
33455 arg4
= wxString_in_helper(obj3
);
33456 if (arg4
== NULL
) SWIG_fail
;
33459 SWIG_Python_ConvertPtr(obj4
, (void **)&arg5
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33460 if (SWIG_arg_fail(5)) SWIG_fail
;
33463 arg6
= wxString_in_helper(obj5
);
33464 if (arg6
== NULL
) SWIG_fail
;
33469 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33470 result
= (wxMenuItem
*)(arg1
)->Insert(arg2
,arg3
,(wxString
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
33472 wxPyEndAllowThreads(__tstate
);
33473 if (PyErr_Occurred()) SWIG_fail
;
33476 resultobj
= wxPyMake_wxObject(result
, 0);
33500 static PyObject
*_wrap_Menu_PrependItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33501 PyObject
*resultobj
;
33502 wxMenu
*arg1
= (wxMenu
*) 0 ;
33503 wxMenuItem
*arg2
= (wxMenuItem
*) 0 ;
33504 wxMenuItem
*result
;
33505 PyObject
* obj0
= 0 ;
33506 PyObject
* obj1
= 0 ;
33507 char *kwnames
[] = {
33508 (char *) "self",(char *) "item", NULL
33511 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_PrependItem",kwnames
,&obj0
,&obj1
)) goto fail
;
33512 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33513 if (SWIG_arg_fail(1)) SWIG_fail
;
33514 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
33515 if (SWIG_arg_fail(2)) SWIG_fail
;
33517 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33518 result
= (wxMenuItem
*)(arg1
)->Prepend(arg2
);
33520 wxPyEndAllowThreads(__tstate
);
33521 if (PyErr_Occurred()) SWIG_fail
;
33524 resultobj
= wxPyMake_wxObject(result
, 0);
33532 static PyObject
*_wrap_Menu_Prepend(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33533 PyObject
*resultobj
;
33534 wxMenu
*arg1
= (wxMenu
*) 0 ;
33536 wxString
*arg3
= 0 ;
33537 wxString
const &arg4_defvalue
= wxPyEmptyString
;
33538 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
33539 wxItemKind arg5
= (wxItemKind
) wxITEM_NORMAL
;
33540 wxMenuItem
*result
;
33541 bool temp3
= false ;
33542 bool temp4
= false ;
33543 PyObject
* obj0
= 0 ;
33544 PyObject
* obj1
= 0 ;
33545 PyObject
* obj2
= 0 ;
33546 PyObject
* obj3
= 0 ;
33547 PyObject
* obj4
= 0 ;
33548 char *kwnames
[] = {
33549 (char *) "self",(char *) "id",(char *) "text",(char *) "help",(char *) "kind", NULL
33552 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:Menu_Prepend",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
33553 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33554 if (SWIG_arg_fail(1)) SWIG_fail
;
33556 arg2
= (int)(SWIG_As_int(obj1
));
33557 if (SWIG_arg_fail(2)) SWIG_fail
;
33560 arg3
= wxString_in_helper(obj2
);
33561 if (arg3
== NULL
) SWIG_fail
;
33566 arg4
= wxString_in_helper(obj3
);
33567 if (arg4
== NULL
) SWIG_fail
;
33573 arg5
= (wxItemKind
)(SWIG_As_int(obj4
));
33574 if (SWIG_arg_fail(5)) SWIG_fail
;
33578 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33579 result
= (wxMenuItem
*)(arg1
)->Prepend(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,(wxItemKind
)arg5
);
33581 wxPyEndAllowThreads(__tstate
);
33582 if (PyErr_Occurred()) SWIG_fail
;
33585 resultobj
= wxPyMake_wxObject(result
, 0);
33609 static PyObject
*_wrap_Menu_PrependSeparator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33610 PyObject
*resultobj
;
33611 wxMenu
*arg1
= (wxMenu
*) 0 ;
33612 wxMenuItem
*result
;
33613 PyObject
* obj0
= 0 ;
33614 char *kwnames
[] = {
33615 (char *) "self", NULL
33618 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_PrependSeparator",kwnames
,&obj0
)) goto fail
;
33619 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33620 if (SWIG_arg_fail(1)) SWIG_fail
;
33622 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33623 result
= (wxMenuItem
*)(arg1
)->PrependSeparator();
33625 wxPyEndAllowThreads(__tstate
);
33626 if (PyErr_Occurred()) SWIG_fail
;
33629 resultobj
= wxPyMake_wxObject(result
, 0);
33637 static PyObject
*_wrap_Menu_PrependCheckItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33638 PyObject
*resultobj
;
33639 wxMenu
*arg1
= (wxMenu
*) 0 ;
33641 wxString
*arg3
= 0 ;
33642 wxString
const &arg4_defvalue
= wxPyEmptyString
;
33643 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
33644 wxMenuItem
*result
;
33645 bool temp3
= false ;
33646 bool temp4
= false ;
33647 PyObject
* obj0
= 0 ;
33648 PyObject
* obj1
= 0 ;
33649 PyObject
* obj2
= 0 ;
33650 PyObject
* obj3
= 0 ;
33651 char *kwnames
[] = {
33652 (char *) "self",(char *) "id",(char *) "text",(char *) "help", NULL
33655 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Menu_PrependCheckItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
33656 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33657 if (SWIG_arg_fail(1)) SWIG_fail
;
33659 arg2
= (int)(SWIG_As_int(obj1
));
33660 if (SWIG_arg_fail(2)) SWIG_fail
;
33663 arg3
= wxString_in_helper(obj2
);
33664 if (arg3
== NULL
) SWIG_fail
;
33669 arg4
= wxString_in_helper(obj3
);
33670 if (arg4
== NULL
) SWIG_fail
;
33675 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33676 result
= (wxMenuItem
*)(arg1
)->PrependCheckItem(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
);
33678 wxPyEndAllowThreads(__tstate
);
33679 if (PyErr_Occurred()) SWIG_fail
;
33682 resultobj
= wxPyMake_wxObject(result
, 0);
33706 static PyObject
*_wrap_Menu_PrependRadioItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33707 PyObject
*resultobj
;
33708 wxMenu
*arg1
= (wxMenu
*) 0 ;
33710 wxString
*arg3
= 0 ;
33711 wxString
const &arg4_defvalue
= wxPyEmptyString
;
33712 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
33713 wxMenuItem
*result
;
33714 bool temp3
= false ;
33715 bool temp4
= false ;
33716 PyObject
* obj0
= 0 ;
33717 PyObject
* obj1
= 0 ;
33718 PyObject
* obj2
= 0 ;
33719 PyObject
* obj3
= 0 ;
33720 char *kwnames
[] = {
33721 (char *) "self",(char *) "id",(char *) "text",(char *) "help", NULL
33724 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Menu_PrependRadioItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
33725 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33726 if (SWIG_arg_fail(1)) SWIG_fail
;
33728 arg2
= (int)(SWIG_As_int(obj1
));
33729 if (SWIG_arg_fail(2)) SWIG_fail
;
33732 arg3
= wxString_in_helper(obj2
);
33733 if (arg3
== NULL
) SWIG_fail
;
33738 arg4
= wxString_in_helper(obj3
);
33739 if (arg4
== NULL
) SWIG_fail
;
33744 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33745 result
= (wxMenuItem
*)(arg1
)->PrependRadioItem(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
);
33747 wxPyEndAllowThreads(__tstate
);
33748 if (PyErr_Occurred()) SWIG_fail
;
33751 resultobj
= wxPyMake_wxObject(result
, 0);
33775 static PyObject
*_wrap_Menu_PrependMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33776 PyObject
*resultobj
;
33777 wxMenu
*arg1
= (wxMenu
*) 0 ;
33779 wxString
*arg3
= 0 ;
33780 wxMenu
*arg4
= (wxMenu
*) 0 ;
33781 wxString
const &arg5_defvalue
= wxPyEmptyString
;
33782 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
33783 wxMenuItem
*result
;
33784 bool temp3
= false ;
33785 bool temp5
= false ;
33786 PyObject
* obj0
= 0 ;
33787 PyObject
* obj1
= 0 ;
33788 PyObject
* obj2
= 0 ;
33789 PyObject
* obj3
= 0 ;
33790 PyObject
* obj4
= 0 ;
33791 char *kwnames
[] = {
33792 (char *) "self",(char *) "id",(char *) "text",(char *) "submenu",(char *) "help", NULL
33795 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:Menu_PrependMenu",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
33796 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33797 if (SWIG_arg_fail(1)) SWIG_fail
;
33799 arg2
= (int)(SWIG_As_int(obj1
));
33800 if (SWIG_arg_fail(2)) SWIG_fail
;
33803 arg3
= wxString_in_helper(obj2
);
33804 if (arg3
== NULL
) SWIG_fail
;
33807 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33808 if (SWIG_arg_fail(4)) SWIG_fail
;
33811 arg5
= wxString_in_helper(obj4
);
33812 if (arg5
== NULL
) SWIG_fail
;
33817 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33818 result
= (wxMenuItem
*)(arg1
)->Prepend(arg2
,(wxString
const &)*arg3
,arg4
,(wxString
const &)*arg5
);
33820 wxPyEndAllowThreads(__tstate
);
33821 if (PyErr_Occurred()) SWIG_fail
;
33824 resultobj
= wxPyMake_wxObject(result
, 0);
33848 static PyObject
*_wrap_Menu_Remove(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33849 PyObject
*resultobj
;
33850 wxMenu
*arg1
= (wxMenu
*) 0 ;
33852 wxMenuItem
*result
;
33853 PyObject
* obj0
= 0 ;
33854 PyObject
* obj1
= 0 ;
33855 char *kwnames
[] = {
33856 (char *) "self",(char *) "id", NULL
33859 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_Remove",kwnames
,&obj0
,&obj1
)) goto fail
;
33860 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33861 if (SWIG_arg_fail(1)) SWIG_fail
;
33863 arg2
= (int)(SWIG_As_int(obj1
));
33864 if (SWIG_arg_fail(2)) SWIG_fail
;
33867 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33868 result
= (wxMenuItem
*)(arg1
)->Remove(arg2
);
33870 wxPyEndAllowThreads(__tstate
);
33871 if (PyErr_Occurred()) SWIG_fail
;
33874 resultobj
= wxPyMake_wxObject(result
, 0);
33882 static PyObject
*_wrap_Menu_RemoveItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33883 PyObject
*resultobj
;
33884 wxMenu
*arg1
= (wxMenu
*) 0 ;
33885 wxMenuItem
*arg2
= (wxMenuItem
*) 0 ;
33886 wxMenuItem
*result
;
33887 PyObject
* obj0
= 0 ;
33888 PyObject
* obj1
= 0 ;
33889 char *kwnames
[] = {
33890 (char *) "self",(char *) "item", NULL
33893 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_RemoveItem",kwnames
,&obj0
,&obj1
)) goto fail
;
33894 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33895 if (SWIG_arg_fail(1)) SWIG_fail
;
33896 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
33897 if (SWIG_arg_fail(2)) SWIG_fail
;
33899 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33900 result
= (wxMenuItem
*)(arg1
)->Remove(arg2
);
33902 wxPyEndAllowThreads(__tstate
);
33903 if (PyErr_Occurred()) SWIG_fail
;
33906 resultobj
= wxPyMake_wxObject(result
, 0);
33914 static PyObject
*_wrap_Menu_Delete(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33915 PyObject
*resultobj
;
33916 wxMenu
*arg1
= (wxMenu
*) 0 ;
33919 PyObject
* obj0
= 0 ;
33920 PyObject
* obj1
= 0 ;
33921 char *kwnames
[] = {
33922 (char *) "self",(char *) "id", NULL
33925 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_Delete",kwnames
,&obj0
,&obj1
)) goto fail
;
33926 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33927 if (SWIG_arg_fail(1)) SWIG_fail
;
33929 arg2
= (int)(SWIG_As_int(obj1
));
33930 if (SWIG_arg_fail(2)) SWIG_fail
;
33933 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33934 result
= (bool)(arg1
)->Delete(arg2
);
33936 wxPyEndAllowThreads(__tstate
);
33937 if (PyErr_Occurred()) SWIG_fail
;
33940 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33948 static PyObject
*_wrap_Menu_DeleteItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33949 PyObject
*resultobj
;
33950 wxMenu
*arg1
= (wxMenu
*) 0 ;
33951 wxMenuItem
*arg2
= (wxMenuItem
*) 0 ;
33953 PyObject
* obj0
= 0 ;
33954 PyObject
* obj1
= 0 ;
33955 char *kwnames
[] = {
33956 (char *) "self",(char *) "item", NULL
33959 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_DeleteItem",kwnames
,&obj0
,&obj1
)) goto fail
;
33960 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33961 if (SWIG_arg_fail(1)) SWIG_fail
;
33962 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
33963 if (SWIG_arg_fail(2)) SWIG_fail
;
33965 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33966 result
= (bool)(arg1
)->Delete(arg2
);
33968 wxPyEndAllowThreads(__tstate
);
33969 if (PyErr_Occurred()) SWIG_fail
;
33972 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33980 static PyObject
*_wrap_Menu_Destroy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33981 PyObject
*resultobj
;
33982 wxMenu
*arg1
= (wxMenu
*) 0 ;
33983 PyObject
* obj0
= 0 ;
33984 char *kwnames
[] = {
33985 (char *) "self", NULL
33988 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_Destroy",kwnames
,&obj0
)) goto fail
;
33989 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33990 if (SWIG_arg_fail(1)) SWIG_fail
;
33992 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33993 wxMenu_Destroy(arg1
);
33995 wxPyEndAllowThreads(__tstate
);
33996 if (PyErr_Occurred()) SWIG_fail
;
33998 Py_INCREF(Py_None
); resultobj
= Py_None
;
34005 static PyObject
*_wrap_Menu_DestroyId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34006 PyObject
*resultobj
;
34007 wxMenu
*arg1
= (wxMenu
*) 0 ;
34010 PyObject
* obj0
= 0 ;
34011 PyObject
* obj1
= 0 ;
34012 char *kwnames
[] = {
34013 (char *) "self",(char *) "id", NULL
34016 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_DestroyId",kwnames
,&obj0
,&obj1
)) goto fail
;
34017 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34018 if (SWIG_arg_fail(1)) SWIG_fail
;
34020 arg2
= (int)(SWIG_As_int(obj1
));
34021 if (SWIG_arg_fail(2)) SWIG_fail
;
34024 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34025 result
= (bool)(arg1
)->Destroy(arg2
);
34027 wxPyEndAllowThreads(__tstate
);
34028 if (PyErr_Occurred()) SWIG_fail
;
34031 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34039 static PyObject
*_wrap_Menu_DestroyItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34040 PyObject
*resultobj
;
34041 wxMenu
*arg1
= (wxMenu
*) 0 ;
34042 wxMenuItem
*arg2
= (wxMenuItem
*) 0 ;
34044 PyObject
* obj0
= 0 ;
34045 PyObject
* obj1
= 0 ;
34046 char *kwnames
[] = {
34047 (char *) "self",(char *) "item", NULL
34050 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_DestroyItem",kwnames
,&obj0
,&obj1
)) goto fail
;
34051 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34052 if (SWIG_arg_fail(1)) SWIG_fail
;
34053 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
34054 if (SWIG_arg_fail(2)) SWIG_fail
;
34056 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34057 result
= (bool)(arg1
)->Destroy(arg2
);
34059 wxPyEndAllowThreads(__tstate
);
34060 if (PyErr_Occurred()) SWIG_fail
;
34063 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34071 static PyObject
*_wrap_Menu_GetMenuItemCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34072 PyObject
*resultobj
;
34073 wxMenu
*arg1
= (wxMenu
*) 0 ;
34075 PyObject
* obj0
= 0 ;
34076 char *kwnames
[] = {
34077 (char *) "self", NULL
34080 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetMenuItemCount",kwnames
,&obj0
)) goto fail
;
34081 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34082 if (SWIG_arg_fail(1)) SWIG_fail
;
34084 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34085 result
= (size_t)((wxMenu
const *)arg1
)->GetMenuItemCount();
34087 wxPyEndAllowThreads(__tstate
);
34088 if (PyErr_Occurred()) SWIG_fail
;
34091 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
34099 static PyObject
*_wrap_Menu_GetMenuItems(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34100 PyObject
*resultobj
;
34101 wxMenu
*arg1
= (wxMenu
*) 0 ;
34103 PyObject
* obj0
= 0 ;
34104 char *kwnames
[] = {
34105 (char *) "self", NULL
34108 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetMenuItems",kwnames
,&obj0
)) goto fail
;
34109 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34110 if (SWIG_arg_fail(1)) SWIG_fail
;
34112 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34113 result
= (PyObject
*)wxMenu_GetMenuItems(arg1
);
34115 wxPyEndAllowThreads(__tstate
);
34116 if (PyErr_Occurred()) SWIG_fail
;
34118 resultobj
= result
;
34125 static PyObject
*_wrap_Menu_FindItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34126 PyObject
*resultobj
;
34127 wxMenu
*arg1
= (wxMenu
*) 0 ;
34128 wxString
*arg2
= 0 ;
34130 bool temp2
= false ;
34131 PyObject
* obj0
= 0 ;
34132 PyObject
* obj1
= 0 ;
34133 char *kwnames
[] = {
34134 (char *) "self",(char *) "item", NULL
34137 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_FindItem",kwnames
,&obj0
,&obj1
)) goto fail
;
34138 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34139 if (SWIG_arg_fail(1)) SWIG_fail
;
34141 arg2
= wxString_in_helper(obj1
);
34142 if (arg2
== NULL
) SWIG_fail
;
34146 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34147 result
= (int)((wxMenu
const *)arg1
)->FindItem((wxString
const &)*arg2
);
34149 wxPyEndAllowThreads(__tstate
);
34150 if (PyErr_Occurred()) SWIG_fail
;
34153 resultobj
= SWIG_From_int((int)(result
));
34169 static PyObject
*_wrap_Menu_FindItemById(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34170 PyObject
*resultobj
;
34171 wxMenu
*arg1
= (wxMenu
*) 0 ;
34173 wxMenuItem
*result
;
34174 PyObject
* obj0
= 0 ;
34175 PyObject
* obj1
= 0 ;
34176 char *kwnames
[] = {
34177 (char *) "self",(char *) "id", NULL
34180 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_FindItemById",kwnames
,&obj0
,&obj1
)) goto fail
;
34181 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34182 if (SWIG_arg_fail(1)) SWIG_fail
;
34184 arg2
= (int)(SWIG_As_int(obj1
));
34185 if (SWIG_arg_fail(2)) SWIG_fail
;
34188 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34189 result
= (wxMenuItem
*)((wxMenu
const *)arg1
)->FindItem(arg2
);
34191 wxPyEndAllowThreads(__tstate
);
34192 if (PyErr_Occurred()) SWIG_fail
;
34195 resultobj
= wxPyMake_wxObject(result
, 0);
34203 static PyObject
*_wrap_Menu_FindItemByPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34204 PyObject
*resultobj
;
34205 wxMenu
*arg1
= (wxMenu
*) 0 ;
34207 wxMenuItem
*result
;
34208 PyObject
* obj0
= 0 ;
34209 PyObject
* obj1
= 0 ;
34210 char *kwnames
[] = {
34211 (char *) "self",(char *) "position", NULL
34214 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_FindItemByPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
34215 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34216 if (SWIG_arg_fail(1)) SWIG_fail
;
34218 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
34219 if (SWIG_arg_fail(2)) SWIG_fail
;
34222 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34223 result
= (wxMenuItem
*)((wxMenu
const *)arg1
)->FindItemByPosition(arg2
);
34225 wxPyEndAllowThreads(__tstate
);
34226 if (PyErr_Occurred()) SWIG_fail
;
34229 resultobj
= wxPyMake_wxObject(result
, 0);
34237 static PyObject
*_wrap_Menu_Enable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34238 PyObject
*resultobj
;
34239 wxMenu
*arg1
= (wxMenu
*) 0 ;
34242 PyObject
* obj0
= 0 ;
34243 PyObject
* obj1
= 0 ;
34244 PyObject
* obj2
= 0 ;
34245 char *kwnames
[] = {
34246 (char *) "self",(char *) "id",(char *) "enable", NULL
34249 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Menu_Enable",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
34250 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34251 if (SWIG_arg_fail(1)) SWIG_fail
;
34253 arg2
= (int)(SWIG_As_int(obj1
));
34254 if (SWIG_arg_fail(2)) SWIG_fail
;
34257 arg3
= (bool)(SWIG_As_bool(obj2
));
34258 if (SWIG_arg_fail(3)) SWIG_fail
;
34261 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34262 (arg1
)->Enable(arg2
,arg3
);
34264 wxPyEndAllowThreads(__tstate
);
34265 if (PyErr_Occurred()) SWIG_fail
;
34267 Py_INCREF(Py_None
); resultobj
= Py_None
;
34274 static PyObject
*_wrap_Menu_IsEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34275 PyObject
*resultobj
;
34276 wxMenu
*arg1
= (wxMenu
*) 0 ;
34279 PyObject
* obj0
= 0 ;
34280 PyObject
* obj1
= 0 ;
34281 char *kwnames
[] = {
34282 (char *) "self",(char *) "id", NULL
34285 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_IsEnabled",kwnames
,&obj0
,&obj1
)) goto fail
;
34286 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34287 if (SWIG_arg_fail(1)) SWIG_fail
;
34289 arg2
= (int)(SWIG_As_int(obj1
));
34290 if (SWIG_arg_fail(2)) SWIG_fail
;
34293 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34294 result
= (bool)((wxMenu
const *)arg1
)->IsEnabled(arg2
);
34296 wxPyEndAllowThreads(__tstate
);
34297 if (PyErr_Occurred()) SWIG_fail
;
34300 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34308 static PyObject
*_wrap_Menu_Check(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34309 PyObject
*resultobj
;
34310 wxMenu
*arg1
= (wxMenu
*) 0 ;
34313 PyObject
* obj0
= 0 ;
34314 PyObject
* obj1
= 0 ;
34315 PyObject
* obj2
= 0 ;
34316 char *kwnames
[] = {
34317 (char *) "self",(char *) "id",(char *) "check", NULL
34320 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Menu_Check",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
34321 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34322 if (SWIG_arg_fail(1)) SWIG_fail
;
34324 arg2
= (int)(SWIG_As_int(obj1
));
34325 if (SWIG_arg_fail(2)) SWIG_fail
;
34328 arg3
= (bool)(SWIG_As_bool(obj2
));
34329 if (SWIG_arg_fail(3)) SWIG_fail
;
34332 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34333 (arg1
)->Check(arg2
,arg3
);
34335 wxPyEndAllowThreads(__tstate
);
34336 if (PyErr_Occurred()) SWIG_fail
;
34338 Py_INCREF(Py_None
); resultobj
= Py_None
;
34345 static PyObject
*_wrap_Menu_IsChecked(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34346 PyObject
*resultobj
;
34347 wxMenu
*arg1
= (wxMenu
*) 0 ;
34350 PyObject
* obj0
= 0 ;
34351 PyObject
* obj1
= 0 ;
34352 char *kwnames
[] = {
34353 (char *) "self",(char *) "id", NULL
34356 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_IsChecked",kwnames
,&obj0
,&obj1
)) goto fail
;
34357 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34358 if (SWIG_arg_fail(1)) SWIG_fail
;
34360 arg2
= (int)(SWIG_As_int(obj1
));
34361 if (SWIG_arg_fail(2)) SWIG_fail
;
34364 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34365 result
= (bool)((wxMenu
const *)arg1
)->IsChecked(arg2
);
34367 wxPyEndAllowThreads(__tstate
);
34368 if (PyErr_Occurred()) SWIG_fail
;
34371 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34379 static PyObject
*_wrap_Menu_SetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34380 PyObject
*resultobj
;
34381 wxMenu
*arg1
= (wxMenu
*) 0 ;
34383 wxString
*arg3
= 0 ;
34384 bool temp3
= false ;
34385 PyObject
* obj0
= 0 ;
34386 PyObject
* obj1
= 0 ;
34387 PyObject
* obj2
= 0 ;
34388 char *kwnames
[] = {
34389 (char *) "self",(char *) "id",(char *) "label", NULL
34392 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Menu_SetLabel",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
34393 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34394 if (SWIG_arg_fail(1)) SWIG_fail
;
34396 arg2
= (int)(SWIG_As_int(obj1
));
34397 if (SWIG_arg_fail(2)) SWIG_fail
;
34400 arg3
= wxString_in_helper(obj2
);
34401 if (arg3
== NULL
) SWIG_fail
;
34405 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34406 (arg1
)->SetLabel(arg2
,(wxString
const &)*arg3
);
34408 wxPyEndAllowThreads(__tstate
);
34409 if (PyErr_Occurred()) SWIG_fail
;
34411 Py_INCREF(Py_None
); resultobj
= Py_None
;
34426 static PyObject
*_wrap_Menu_GetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34427 PyObject
*resultobj
;
34428 wxMenu
*arg1
= (wxMenu
*) 0 ;
34431 PyObject
* obj0
= 0 ;
34432 PyObject
* obj1
= 0 ;
34433 char *kwnames
[] = {
34434 (char *) "self",(char *) "id", NULL
34437 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_GetLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
34438 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34439 if (SWIG_arg_fail(1)) SWIG_fail
;
34441 arg2
= (int)(SWIG_As_int(obj1
));
34442 if (SWIG_arg_fail(2)) SWIG_fail
;
34445 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34446 result
= ((wxMenu
const *)arg1
)->GetLabel(arg2
);
34448 wxPyEndAllowThreads(__tstate
);
34449 if (PyErr_Occurred()) SWIG_fail
;
34453 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
34455 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
34464 static PyObject
*_wrap_Menu_SetHelpString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34465 PyObject
*resultobj
;
34466 wxMenu
*arg1
= (wxMenu
*) 0 ;
34468 wxString
*arg3
= 0 ;
34469 bool temp3
= false ;
34470 PyObject
* obj0
= 0 ;
34471 PyObject
* obj1
= 0 ;
34472 PyObject
* obj2
= 0 ;
34473 char *kwnames
[] = {
34474 (char *) "self",(char *) "id",(char *) "helpString", NULL
34477 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Menu_SetHelpString",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
34478 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34479 if (SWIG_arg_fail(1)) SWIG_fail
;
34481 arg2
= (int)(SWIG_As_int(obj1
));
34482 if (SWIG_arg_fail(2)) SWIG_fail
;
34485 arg3
= wxString_in_helper(obj2
);
34486 if (arg3
== NULL
) SWIG_fail
;
34490 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34491 (arg1
)->SetHelpString(arg2
,(wxString
const &)*arg3
);
34493 wxPyEndAllowThreads(__tstate
);
34494 if (PyErr_Occurred()) SWIG_fail
;
34496 Py_INCREF(Py_None
); resultobj
= Py_None
;
34511 static PyObject
*_wrap_Menu_GetHelpString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34512 PyObject
*resultobj
;
34513 wxMenu
*arg1
= (wxMenu
*) 0 ;
34516 PyObject
* obj0
= 0 ;
34517 PyObject
* obj1
= 0 ;
34518 char *kwnames
[] = {
34519 (char *) "self",(char *) "id", NULL
34522 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_GetHelpString",kwnames
,&obj0
,&obj1
)) goto fail
;
34523 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34524 if (SWIG_arg_fail(1)) SWIG_fail
;
34526 arg2
= (int)(SWIG_As_int(obj1
));
34527 if (SWIG_arg_fail(2)) SWIG_fail
;
34530 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34531 result
= ((wxMenu
const *)arg1
)->GetHelpString(arg2
);
34533 wxPyEndAllowThreads(__tstate
);
34534 if (PyErr_Occurred()) SWIG_fail
;
34538 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
34540 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
34549 static PyObject
*_wrap_Menu_SetTitle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34550 PyObject
*resultobj
;
34551 wxMenu
*arg1
= (wxMenu
*) 0 ;
34552 wxString
*arg2
= 0 ;
34553 bool temp2
= false ;
34554 PyObject
* obj0
= 0 ;
34555 PyObject
* obj1
= 0 ;
34556 char *kwnames
[] = {
34557 (char *) "self",(char *) "title", NULL
34560 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_SetTitle",kwnames
,&obj0
,&obj1
)) goto fail
;
34561 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34562 if (SWIG_arg_fail(1)) SWIG_fail
;
34564 arg2
= wxString_in_helper(obj1
);
34565 if (arg2
== NULL
) SWIG_fail
;
34569 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34570 (arg1
)->SetTitle((wxString
const &)*arg2
);
34572 wxPyEndAllowThreads(__tstate
);
34573 if (PyErr_Occurred()) SWIG_fail
;
34575 Py_INCREF(Py_None
); resultobj
= Py_None
;
34590 static PyObject
*_wrap_Menu_GetTitle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34591 PyObject
*resultobj
;
34592 wxMenu
*arg1
= (wxMenu
*) 0 ;
34594 PyObject
* obj0
= 0 ;
34595 char *kwnames
[] = {
34596 (char *) "self", NULL
34599 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetTitle",kwnames
,&obj0
)) goto fail
;
34600 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34601 if (SWIG_arg_fail(1)) SWIG_fail
;
34603 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34604 result
= ((wxMenu
const *)arg1
)->GetTitle();
34606 wxPyEndAllowThreads(__tstate
);
34607 if (PyErr_Occurred()) SWIG_fail
;
34611 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
34613 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
34622 static PyObject
*_wrap_Menu_SetEventHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34623 PyObject
*resultobj
;
34624 wxMenu
*arg1
= (wxMenu
*) 0 ;
34625 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
34626 PyObject
* obj0
= 0 ;
34627 PyObject
* obj1
= 0 ;
34628 char *kwnames
[] = {
34629 (char *) "self",(char *) "handler", NULL
34632 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_SetEventHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
34633 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34634 if (SWIG_arg_fail(1)) SWIG_fail
;
34635 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
34636 if (SWIG_arg_fail(2)) SWIG_fail
;
34638 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34639 (arg1
)->SetEventHandler(arg2
);
34641 wxPyEndAllowThreads(__tstate
);
34642 if (PyErr_Occurred()) SWIG_fail
;
34644 Py_INCREF(Py_None
); resultobj
= Py_None
;
34651 static PyObject
*_wrap_Menu_GetEventHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34652 PyObject
*resultobj
;
34653 wxMenu
*arg1
= (wxMenu
*) 0 ;
34654 wxEvtHandler
*result
;
34655 PyObject
* obj0
= 0 ;
34656 char *kwnames
[] = {
34657 (char *) "self", NULL
34660 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetEventHandler",kwnames
,&obj0
)) goto fail
;
34661 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34662 if (SWIG_arg_fail(1)) SWIG_fail
;
34664 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34665 result
= (wxEvtHandler
*)((wxMenu
const *)arg1
)->GetEventHandler();
34667 wxPyEndAllowThreads(__tstate
);
34668 if (PyErr_Occurred()) SWIG_fail
;
34671 resultobj
= wxPyMake_wxObject(result
, 0);
34679 static PyObject
*_wrap_Menu_SetInvokingWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34680 PyObject
*resultobj
;
34681 wxMenu
*arg1
= (wxMenu
*) 0 ;
34682 wxWindow
*arg2
= (wxWindow
*) 0 ;
34683 PyObject
* obj0
= 0 ;
34684 PyObject
* obj1
= 0 ;
34685 char *kwnames
[] = {
34686 (char *) "self",(char *) "win", NULL
34689 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_SetInvokingWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
34690 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34691 if (SWIG_arg_fail(1)) SWIG_fail
;
34692 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
34693 if (SWIG_arg_fail(2)) SWIG_fail
;
34695 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34696 (arg1
)->SetInvokingWindow(arg2
);
34698 wxPyEndAllowThreads(__tstate
);
34699 if (PyErr_Occurred()) SWIG_fail
;
34701 Py_INCREF(Py_None
); resultobj
= Py_None
;
34708 static PyObject
*_wrap_Menu_GetInvokingWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34709 PyObject
*resultobj
;
34710 wxMenu
*arg1
= (wxMenu
*) 0 ;
34712 PyObject
* obj0
= 0 ;
34713 char *kwnames
[] = {
34714 (char *) "self", NULL
34717 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetInvokingWindow",kwnames
,&obj0
)) goto fail
;
34718 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34719 if (SWIG_arg_fail(1)) SWIG_fail
;
34721 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34722 result
= (wxWindow
*)((wxMenu
const *)arg1
)->GetInvokingWindow();
34724 wxPyEndAllowThreads(__tstate
);
34725 if (PyErr_Occurred()) SWIG_fail
;
34728 resultobj
= wxPyMake_wxObject(result
, 0);
34736 static PyObject
*_wrap_Menu_GetStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34737 PyObject
*resultobj
;
34738 wxMenu
*arg1
= (wxMenu
*) 0 ;
34740 PyObject
* obj0
= 0 ;
34741 char *kwnames
[] = {
34742 (char *) "self", NULL
34745 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetStyle",kwnames
,&obj0
)) goto fail
;
34746 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34747 if (SWIG_arg_fail(1)) SWIG_fail
;
34749 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34750 result
= (long)((wxMenu
const *)arg1
)->GetStyle();
34752 wxPyEndAllowThreads(__tstate
);
34753 if (PyErr_Occurred()) SWIG_fail
;
34756 resultobj
= SWIG_From_long((long)(result
));
34764 static PyObject
*_wrap_Menu_UpdateUI(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34765 PyObject
*resultobj
;
34766 wxMenu
*arg1
= (wxMenu
*) 0 ;
34767 wxEvtHandler
*arg2
= (wxEvtHandler
*) NULL
;
34768 PyObject
* obj0
= 0 ;
34769 PyObject
* obj1
= 0 ;
34770 char *kwnames
[] = {
34771 (char *) "self",(char *) "source", NULL
34774 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Menu_UpdateUI",kwnames
,&obj0
,&obj1
)) goto fail
;
34775 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34776 if (SWIG_arg_fail(1)) SWIG_fail
;
34778 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
34779 if (SWIG_arg_fail(2)) SWIG_fail
;
34782 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34783 (arg1
)->UpdateUI(arg2
);
34785 wxPyEndAllowThreads(__tstate
);
34786 if (PyErr_Occurred()) SWIG_fail
;
34788 Py_INCREF(Py_None
); resultobj
= Py_None
;
34795 static PyObject
*_wrap_Menu_GetMenuBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34796 PyObject
*resultobj
;
34797 wxMenu
*arg1
= (wxMenu
*) 0 ;
34799 PyObject
* obj0
= 0 ;
34800 char *kwnames
[] = {
34801 (char *) "self", NULL
34804 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetMenuBar",kwnames
,&obj0
)) goto fail
;
34805 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34806 if (SWIG_arg_fail(1)) SWIG_fail
;
34808 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34809 result
= (wxMenuBar
*)((wxMenu
const *)arg1
)->GetMenuBar();
34811 wxPyEndAllowThreads(__tstate
);
34812 if (PyErr_Occurred()) SWIG_fail
;
34815 resultobj
= wxPyMake_wxObject(result
, 0);
34823 static PyObject
*_wrap_Menu_Attach(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34824 PyObject
*resultobj
;
34825 wxMenu
*arg1
= (wxMenu
*) 0 ;
34826 wxMenuBarBase
*arg2
= (wxMenuBarBase
*) 0 ;
34827 PyObject
* obj0
= 0 ;
34828 PyObject
* obj1
= 0 ;
34829 char *kwnames
[] = {
34830 (char *) "self",(char *) "menubar", NULL
34833 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_Attach",kwnames
,&obj0
,&obj1
)) goto fail
;
34834 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34835 if (SWIG_arg_fail(1)) SWIG_fail
;
34836 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMenuBarBase
, SWIG_POINTER_EXCEPTION
| 0);
34837 if (SWIG_arg_fail(2)) SWIG_fail
;
34839 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34840 (arg1
)->Attach(arg2
);
34842 wxPyEndAllowThreads(__tstate
);
34843 if (PyErr_Occurred()) SWIG_fail
;
34845 Py_INCREF(Py_None
); resultobj
= Py_None
;
34852 static PyObject
*_wrap_Menu_Detach(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34853 PyObject
*resultobj
;
34854 wxMenu
*arg1
= (wxMenu
*) 0 ;
34855 PyObject
* obj0
= 0 ;
34856 char *kwnames
[] = {
34857 (char *) "self", NULL
34860 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_Detach",kwnames
,&obj0
)) goto fail
;
34861 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34862 if (SWIG_arg_fail(1)) SWIG_fail
;
34864 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34867 wxPyEndAllowThreads(__tstate
);
34868 if (PyErr_Occurred()) SWIG_fail
;
34870 Py_INCREF(Py_None
); resultobj
= Py_None
;
34877 static PyObject
*_wrap_Menu_IsAttached(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34878 PyObject
*resultobj
;
34879 wxMenu
*arg1
= (wxMenu
*) 0 ;
34881 PyObject
* obj0
= 0 ;
34882 char *kwnames
[] = {
34883 (char *) "self", NULL
34886 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_IsAttached",kwnames
,&obj0
)) goto fail
;
34887 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34888 if (SWIG_arg_fail(1)) SWIG_fail
;
34890 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34891 result
= (bool)((wxMenu
const *)arg1
)->IsAttached();
34893 wxPyEndAllowThreads(__tstate
);
34894 if (PyErr_Occurred()) SWIG_fail
;
34897 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34905 static PyObject
*_wrap_Menu_SetParent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34906 PyObject
*resultobj
;
34907 wxMenu
*arg1
= (wxMenu
*) 0 ;
34908 wxMenu
*arg2
= (wxMenu
*) 0 ;
34909 PyObject
* obj0
= 0 ;
34910 PyObject
* obj1
= 0 ;
34911 char *kwnames
[] = {
34912 (char *) "self",(char *) "parent", NULL
34915 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_SetParent",kwnames
,&obj0
,&obj1
)) goto fail
;
34916 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34917 if (SWIG_arg_fail(1)) SWIG_fail
;
34918 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34919 if (SWIG_arg_fail(2)) SWIG_fail
;
34921 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34922 (arg1
)->SetParent(arg2
);
34924 wxPyEndAllowThreads(__tstate
);
34925 if (PyErr_Occurred()) SWIG_fail
;
34927 Py_INCREF(Py_None
); resultobj
= Py_None
;
34934 static PyObject
*_wrap_Menu_GetParent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34935 PyObject
*resultobj
;
34936 wxMenu
*arg1
= (wxMenu
*) 0 ;
34938 PyObject
* obj0
= 0 ;
34939 char *kwnames
[] = {
34940 (char *) "self", NULL
34943 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetParent",kwnames
,&obj0
)) goto fail
;
34944 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34945 if (SWIG_arg_fail(1)) SWIG_fail
;
34947 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34948 result
= (wxMenu
*)((wxMenu
const *)arg1
)->GetParent();
34950 wxPyEndAllowThreads(__tstate
);
34951 if (PyErr_Occurred()) SWIG_fail
;
34954 resultobj
= wxPyMake_wxObject(result
, 0);
34962 static PyObject
* Menu_swigregister(PyObject
*, PyObject
*args
) {
34964 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
34965 SWIG_TypeClientData(SWIGTYPE_p_wxMenu
, obj
);
34967 return Py_BuildValue((char *)"");
34969 static PyObject
*_wrap_new_MenuBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34970 PyObject
*resultobj
;
34971 long arg1
= (long) 0 ;
34973 PyObject
* obj0
= 0 ;
34974 char *kwnames
[] = {
34975 (char *) "style", NULL
34978 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_MenuBar",kwnames
,&obj0
)) goto fail
;
34981 arg1
= (long)(SWIG_As_long(obj0
));
34982 if (SWIG_arg_fail(1)) SWIG_fail
;
34986 if (!wxPyCheckForApp()) SWIG_fail
;
34987 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34988 result
= (wxMenuBar
*)new wxMenuBar(arg1
);
34990 wxPyEndAllowThreads(__tstate
);
34991 if (PyErr_Occurred()) SWIG_fail
;
34993 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMenuBar
, 1);
35000 static PyObject
*_wrap_MenuBar_Append(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35001 PyObject
*resultobj
;
35002 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
35003 wxMenu
*arg2
= (wxMenu
*) 0 ;
35004 wxString
*arg3
= 0 ;
35006 bool temp3
= false ;
35007 PyObject
* obj0
= 0 ;
35008 PyObject
* obj1
= 0 ;
35009 PyObject
* obj2
= 0 ;
35010 char *kwnames
[] = {
35011 (char *) "self",(char *) "menu",(char *) "title", NULL
35014 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_Append",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
35015 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
35016 if (SWIG_arg_fail(1)) SWIG_fail
;
35017 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
35018 if (SWIG_arg_fail(2)) SWIG_fail
;
35020 arg3
= wxString_in_helper(obj2
);
35021 if (arg3
== NULL
) SWIG_fail
;
35025 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35026 result
= (bool)(arg1
)->Append(arg2
,(wxString
const &)*arg3
);
35028 wxPyEndAllowThreads(__tstate
);
35029 if (PyErr_Occurred()) SWIG_fail
;
35032 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35048 static PyObject
*_wrap_MenuBar_Insert(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35049 PyObject
*resultobj
;
35050 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
35052 wxMenu
*arg3
= (wxMenu
*) 0 ;
35053 wxString
*arg4
= 0 ;
35055 bool temp4
= false ;
35056 PyObject
* obj0
= 0 ;
35057 PyObject
* obj1
= 0 ;
35058 PyObject
* obj2
= 0 ;
35059 PyObject
* obj3
= 0 ;
35060 char *kwnames
[] = {
35061 (char *) "self",(char *) "pos",(char *) "menu",(char *) "title", NULL
35064 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:MenuBar_Insert",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
35065 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
35066 if (SWIG_arg_fail(1)) SWIG_fail
;
35068 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
35069 if (SWIG_arg_fail(2)) SWIG_fail
;
35071 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
35072 if (SWIG_arg_fail(3)) SWIG_fail
;
35074 arg4
= wxString_in_helper(obj3
);
35075 if (arg4
== NULL
) SWIG_fail
;
35079 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35080 result
= (bool)(arg1
)->Insert(arg2
,arg3
,(wxString
const &)*arg4
);
35082 wxPyEndAllowThreads(__tstate
);
35083 if (PyErr_Occurred()) SWIG_fail
;
35086 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35102 static PyObject
*_wrap_MenuBar_GetMenuCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35103 PyObject
*resultobj
;
35104 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
35106 PyObject
* obj0
= 0 ;
35107 char *kwnames
[] = {
35108 (char *) "self", NULL
35111 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuBar_GetMenuCount",kwnames
,&obj0
)) goto fail
;
35112 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
35113 if (SWIG_arg_fail(1)) SWIG_fail
;
35115 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35116 result
= (size_t)((wxMenuBar
const *)arg1
)->GetMenuCount();
35118 wxPyEndAllowThreads(__tstate
);
35119 if (PyErr_Occurred()) SWIG_fail
;
35122 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
35130 static PyObject
*_wrap_MenuBar_GetMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35131 PyObject
*resultobj
;
35132 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
35135 PyObject
* obj0
= 0 ;
35136 PyObject
* obj1
= 0 ;
35137 char *kwnames
[] = {
35138 (char *) "self",(char *) "pos", NULL
35141 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_GetMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
35142 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
35143 if (SWIG_arg_fail(1)) SWIG_fail
;
35145 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
35146 if (SWIG_arg_fail(2)) SWIG_fail
;
35149 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35150 result
= (wxMenu
*)((wxMenuBar
const *)arg1
)->GetMenu(arg2
);
35152 wxPyEndAllowThreads(__tstate
);
35153 if (PyErr_Occurred()) SWIG_fail
;
35156 resultobj
= wxPyMake_wxObject(result
, 0);
35164 static PyObject
*_wrap_MenuBar_Replace(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35165 PyObject
*resultobj
;
35166 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
35168 wxMenu
*arg3
= (wxMenu
*) 0 ;
35169 wxString
*arg4
= 0 ;
35171 bool temp4
= false ;
35172 PyObject
* obj0
= 0 ;
35173 PyObject
* obj1
= 0 ;
35174 PyObject
* obj2
= 0 ;
35175 PyObject
* obj3
= 0 ;
35176 char *kwnames
[] = {
35177 (char *) "self",(char *) "pos",(char *) "menu",(char *) "title", NULL
35180 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:MenuBar_Replace",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
35181 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
35182 if (SWIG_arg_fail(1)) SWIG_fail
;
35184 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
35185 if (SWIG_arg_fail(2)) SWIG_fail
;
35187 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
35188 if (SWIG_arg_fail(3)) SWIG_fail
;
35190 arg4
= wxString_in_helper(obj3
);
35191 if (arg4
== NULL
) SWIG_fail
;
35195 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35196 result
= (wxMenu
*)(arg1
)->Replace(arg2
,arg3
,(wxString
const &)*arg4
);
35198 wxPyEndAllowThreads(__tstate
);
35199 if (PyErr_Occurred()) SWIG_fail
;
35202 resultobj
= wxPyMake_wxObject(result
, 0);
35218 static PyObject
*_wrap_MenuBar_Remove(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35219 PyObject
*resultobj
;
35220 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
35223 PyObject
* obj0
= 0 ;
35224 PyObject
* obj1
= 0 ;
35225 char *kwnames
[] = {
35226 (char *) "self",(char *) "pos", NULL
35229 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_Remove",kwnames
,&obj0
,&obj1
)) goto fail
;
35230 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
35231 if (SWIG_arg_fail(1)) SWIG_fail
;
35233 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
35234 if (SWIG_arg_fail(2)) SWIG_fail
;
35237 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35238 result
= (wxMenu
*)(arg1
)->Remove(arg2
);
35240 wxPyEndAllowThreads(__tstate
);
35241 if (PyErr_Occurred()) SWIG_fail
;
35244 resultobj
= wxPyMake_wxObject(result
, 0);
35252 static PyObject
*_wrap_MenuBar_EnableTop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35253 PyObject
*resultobj
;
35254 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
35257 PyObject
* obj0
= 0 ;
35258 PyObject
* obj1
= 0 ;
35259 PyObject
* obj2
= 0 ;
35260 char *kwnames
[] = {
35261 (char *) "self",(char *) "pos",(char *) "enable", NULL
35264 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_EnableTop",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
35265 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
35266 if (SWIG_arg_fail(1)) SWIG_fail
;
35268 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
35269 if (SWIG_arg_fail(2)) SWIG_fail
;
35272 arg3
= (bool)(SWIG_As_bool(obj2
));
35273 if (SWIG_arg_fail(3)) SWIG_fail
;
35276 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35277 (arg1
)->EnableTop(arg2
,arg3
);
35279 wxPyEndAllowThreads(__tstate
);
35280 if (PyErr_Occurred()) SWIG_fail
;
35282 Py_INCREF(Py_None
); resultobj
= Py_None
;
35289 static PyObject
*_wrap_MenuBar_IsEnabledTop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35290 PyObject
*resultobj
;
35291 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
35294 PyObject
* obj0
= 0 ;
35295 PyObject
* obj1
= 0 ;
35296 char *kwnames
[] = {
35297 (char *) "self",(char *) "pos", NULL
35300 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_IsEnabledTop",kwnames
,&obj0
,&obj1
)) goto fail
;
35301 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
35302 if (SWIG_arg_fail(1)) SWIG_fail
;
35304 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
35305 if (SWIG_arg_fail(2)) SWIG_fail
;
35308 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35309 result
= (bool)((wxMenuBar
const *)arg1
)->IsEnabledTop(arg2
);
35311 wxPyEndAllowThreads(__tstate
);
35312 if (PyErr_Occurred()) SWIG_fail
;
35315 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35323 static PyObject
*_wrap_MenuBar_SetLabelTop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35324 PyObject
*resultobj
;
35325 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
35327 wxString
*arg3
= 0 ;
35328 bool temp3
= false ;
35329 PyObject
* obj0
= 0 ;
35330 PyObject
* obj1
= 0 ;
35331 PyObject
* obj2
= 0 ;
35332 char *kwnames
[] = {
35333 (char *) "self",(char *) "pos",(char *) "label", NULL
35336 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_SetLabelTop",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
35337 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
35338 if (SWIG_arg_fail(1)) SWIG_fail
;
35340 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
35341 if (SWIG_arg_fail(2)) SWIG_fail
;
35344 arg3
= wxString_in_helper(obj2
);
35345 if (arg3
== NULL
) SWIG_fail
;
35349 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35350 (arg1
)->SetLabelTop(arg2
,(wxString
const &)*arg3
);
35352 wxPyEndAllowThreads(__tstate
);
35353 if (PyErr_Occurred()) SWIG_fail
;
35355 Py_INCREF(Py_None
); resultobj
= Py_None
;
35370 static PyObject
*_wrap_MenuBar_GetLabelTop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35371 PyObject
*resultobj
;
35372 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
35375 PyObject
* obj0
= 0 ;
35376 PyObject
* obj1
= 0 ;
35377 char *kwnames
[] = {
35378 (char *) "self",(char *) "pos", NULL
35381 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_GetLabelTop",kwnames
,&obj0
,&obj1
)) goto fail
;
35382 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
35383 if (SWIG_arg_fail(1)) SWIG_fail
;
35385 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
35386 if (SWIG_arg_fail(2)) SWIG_fail
;
35389 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35390 result
= ((wxMenuBar
const *)arg1
)->GetLabelTop(arg2
);
35392 wxPyEndAllowThreads(__tstate
);
35393 if (PyErr_Occurred()) SWIG_fail
;
35397 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
35399 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
35408 static PyObject
*_wrap_MenuBar_FindMenuItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35409 PyObject
*resultobj
;
35410 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
35411 wxString
*arg2
= 0 ;
35412 wxString
*arg3
= 0 ;
35414 bool temp2
= false ;
35415 bool temp3
= false ;
35416 PyObject
* obj0
= 0 ;
35417 PyObject
* obj1
= 0 ;
35418 PyObject
* obj2
= 0 ;
35419 char *kwnames
[] = {
35420 (char *) "self",(char *) "menu",(char *) "item", NULL
35423 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_FindMenuItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
35424 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
35425 if (SWIG_arg_fail(1)) SWIG_fail
;
35427 arg2
= wxString_in_helper(obj1
);
35428 if (arg2
== NULL
) SWIG_fail
;
35432 arg3
= wxString_in_helper(obj2
);
35433 if (arg3
== NULL
) SWIG_fail
;
35437 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35438 result
= (int)((wxMenuBar
const *)arg1
)->FindMenuItem((wxString
const &)*arg2
,(wxString
const &)*arg3
);
35440 wxPyEndAllowThreads(__tstate
);
35441 if (PyErr_Occurred()) SWIG_fail
;
35444 resultobj
= SWIG_From_int((int)(result
));
35468 static PyObject
*_wrap_MenuBar_FindItemById(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35469 PyObject
*resultobj
;
35470 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
35472 wxMenuItem
*result
;
35473 PyObject
* obj0
= 0 ;
35474 PyObject
* obj1
= 0 ;
35475 char *kwnames
[] = {
35476 (char *) "self",(char *) "id", NULL
35479 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_FindItemById",kwnames
,&obj0
,&obj1
)) goto fail
;
35480 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
35481 if (SWIG_arg_fail(1)) SWIG_fail
;
35483 arg2
= (int)(SWIG_As_int(obj1
));
35484 if (SWIG_arg_fail(2)) SWIG_fail
;
35487 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35488 result
= (wxMenuItem
*)((wxMenuBar
const *)arg1
)->FindItem(arg2
);
35490 wxPyEndAllowThreads(__tstate
);
35491 if (PyErr_Occurred()) SWIG_fail
;
35494 resultobj
= wxPyMake_wxObject(result
, 0);
35502 static PyObject
*_wrap_MenuBar_FindMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35503 PyObject
*resultobj
;
35504 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
35505 wxString
*arg2
= 0 ;
35507 bool temp2
= false ;
35508 PyObject
* obj0
= 0 ;
35509 PyObject
* obj1
= 0 ;
35510 char *kwnames
[] = {
35511 (char *) "self",(char *) "title", NULL
35514 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_FindMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
35515 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
35516 if (SWIG_arg_fail(1)) SWIG_fail
;
35518 arg2
= wxString_in_helper(obj1
);
35519 if (arg2
== NULL
) SWIG_fail
;
35523 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35524 result
= (int)(arg1
)->FindMenu((wxString
const &)*arg2
);
35526 wxPyEndAllowThreads(__tstate
);
35527 if (PyErr_Occurred()) SWIG_fail
;
35530 resultobj
= SWIG_From_int((int)(result
));
35546 static PyObject
*_wrap_MenuBar_Enable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35547 PyObject
*resultobj
;
35548 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
35551 PyObject
* obj0
= 0 ;
35552 PyObject
* obj1
= 0 ;
35553 PyObject
* obj2
= 0 ;
35554 char *kwnames
[] = {
35555 (char *) "self",(char *) "id",(char *) "enable", NULL
35558 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_Enable",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
35559 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
35560 if (SWIG_arg_fail(1)) SWIG_fail
;
35562 arg2
= (int)(SWIG_As_int(obj1
));
35563 if (SWIG_arg_fail(2)) SWIG_fail
;
35566 arg3
= (bool)(SWIG_As_bool(obj2
));
35567 if (SWIG_arg_fail(3)) SWIG_fail
;
35570 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35571 (arg1
)->Enable(arg2
,arg3
);
35573 wxPyEndAllowThreads(__tstate
);
35574 if (PyErr_Occurred()) SWIG_fail
;
35576 Py_INCREF(Py_None
); resultobj
= Py_None
;
35583 static PyObject
*_wrap_MenuBar_Check(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35584 PyObject
*resultobj
;
35585 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
35588 PyObject
* obj0
= 0 ;
35589 PyObject
* obj1
= 0 ;
35590 PyObject
* obj2
= 0 ;
35591 char *kwnames
[] = {
35592 (char *) "self",(char *) "id",(char *) "check", NULL
35595 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_Check",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
35596 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
35597 if (SWIG_arg_fail(1)) SWIG_fail
;
35599 arg2
= (int)(SWIG_As_int(obj1
));
35600 if (SWIG_arg_fail(2)) SWIG_fail
;
35603 arg3
= (bool)(SWIG_As_bool(obj2
));
35604 if (SWIG_arg_fail(3)) SWIG_fail
;
35607 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35608 (arg1
)->Check(arg2
,arg3
);
35610 wxPyEndAllowThreads(__tstate
);
35611 if (PyErr_Occurred()) SWIG_fail
;
35613 Py_INCREF(Py_None
); resultobj
= Py_None
;
35620 static PyObject
*_wrap_MenuBar_IsChecked(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35621 PyObject
*resultobj
;
35622 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
35625 PyObject
* obj0
= 0 ;
35626 PyObject
* obj1
= 0 ;
35627 char *kwnames
[] = {
35628 (char *) "self",(char *) "id", NULL
35631 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_IsChecked",kwnames
,&obj0
,&obj1
)) goto fail
;
35632 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
35633 if (SWIG_arg_fail(1)) SWIG_fail
;
35635 arg2
= (int)(SWIG_As_int(obj1
));
35636 if (SWIG_arg_fail(2)) SWIG_fail
;
35639 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35640 result
= (bool)((wxMenuBar
const *)arg1
)->IsChecked(arg2
);
35642 wxPyEndAllowThreads(__tstate
);
35643 if (PyErr_Occurred()) SWIG_fail
;
35646 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35654 static PyObject
*_wrap_MenuBar_IsEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35655 PyObject
*resultobj
;
35656 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
35659 PyObject
* obj0
= 0 ;
35660 PyObject
* obj1
= 0 ;
35661 char *kwnames
[] = {
35662 (char *) "self",(char *) "id", NULL
35665 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_IsEnabled",kwnames
,&obj0
,&obj1
)) goto fail
;
35666 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
35667 if (SWIG_arg_fail(1)) SWIG_fail
;
35669 arg2
= (int)(SWIG_As_int(obj1
));
35670 if (SWIG_arg_fail(2)) SWIG_fail
;
35673 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35674 result
= (bool)((wxMenuBar
const *)arg1
)->IsEnabled(arg2
);
35676 wxPyEndAllowThreads(__tstate
);
35677 if (PyErr_Occurred()) SWIG_fail
;
35680 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35688 static PyObject
*_wrap_MenuBar_SetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35689 PyObject
*resultobj
;
35690 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
35692 wxString
*arg3
= 0 ;
35693 bool temp3
= false ;
35694 PyObject
* obj0
= 0 ;
35695 PyObject
* obj1
= 0 ;
35696 PyObject
* obj2
= 0 ;
35697 char *kwnames
[] = {
35698 (char *) "self",(char *) "id",(char *) "label", NULL
35701 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_SetLabel",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
35702 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
35703 if (SWIG_arg_fail(1)) SWIG_fail
;
35705 arg2
= (int)(SWIG_As_int(obj1
));
35706 if (SWIG_arg_fail(2)) SWIG_fail
;
35709 arg3
= wxString_in_helper(obj2
);
35710 if (arg3
== NULL
) SWIG_fail
;
35714 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35715 (arg1
)->SetLabel(arg2
,(wxString
const &)*arg3
);
35717 wxPyEndAllowThreads(__tstate
);
35718 if (PyErr_Occurred()) SWIG_fail
;
35720 Py_INCREF(Py_None
); resultobj
= Py_None
;
35735 static PyObject
*_wrap_MenuBar_GetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35736 PyObject
*resultobj
;
35737 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
35740 PyObject
* obj0
= 0 ;
35741 PyObject
* obj1
= 0 ;
35742 char *kwnames
[] = {
35743 (char *) "self",(char *) "id", NULL
35746 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_GetLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
35747 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
35748 if (SWIG_arg_fail(1)) SWIG_fail
;
35750 arg2
= (int)(SWIG_As_int(obj1
));
35751 if (SWIG_arg_fail(2)) SWIG_fail
;
35754 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35755 result
= ((wxMenuBar
const *)arg1
)->GetLabel(arg2
);
35757 wxPyEndAllowThreads(__tstate
);
35758 if (PyErr_Occurred()) SWIG_fail
;
35762 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
35764 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
35773 static PyObject
*_wrap_MenuBar_SetHelpString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35774 PyObject
*resultobj
;
35775 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
35777 wxString
*arg3
= 0 ;
35778 bool temp3
= false ;
35779 PyObject
* obj0
= 0 ;
35780 PyObject
* obj1
= 0 ;
35781 PyObject
* obj2
= 0 ;
35782 char *kwnames
[] = {
35783 (char *) "self",(char *) "id",(char *) "helpString", NULL
35786 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_SetHelpString",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
35787 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
35788 if (SWIG_arg_fail(1)) SWIG_fail
;
35790 arg2
= (int)(SWIG_As_int(obj1
));
35791 if (SWIG_arg_fail(2)) SWIG_fail
;
35794 arg3
= wxString_in_helper(obj2
);
35795 if (arg3
== NULL
) SWIG_fail
;
35799 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35800 (arg1
)->SetHelpString(arg2
,(wxString
const &)*arg3
);
35802 wxPyEndAllowThreads(__tstate
);
35803 if (PyErr_Occurred()) SWIG_fail
;
35805 Py_INCREF(Py_None
); resultobj
= Py_None
;
35820 static PyObject
*_wrap_MenuBar_GetHelpString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35821 PyObject
*resultobj
;
35822 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
35825 PyObject
* obj0
= 0 ;
35826 PyObject
* obj1
= 0 ;
35827 char *kwnames
[] = {
35828 (char *) "self",(char *) "id", NULL
35831 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_GetHelpString",kwnames
,&obj0
,&obj1
)) goto fail
;
35832 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
35833 if (SWIG_arg_fail(1)) SWIG_fail
;
35835 arg2
= (int)(SWIG_As_int(obj1
));
35836 if (SWIG_arg_fail(2)) SWIG_fail
;
35839 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35840 result
= ((wxMenuBar
const *)arg1
)->GetHelpString(arg2
);
35842 wxPyEndAllowThreads(__tstate
);
35843 if (PyErr_Occurred()) SWIG_fail
;
35847 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
35849 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
35858 static PyObject
*_wrap_MenuBar_GetFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35859 PyObject
*resultobj
;
35860 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
35862 PyObject
* obj0
= 0 ;
35863 char *kwnames
[] = {
35864 (char *) "self", NULL
35867 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuBar_GetFrame",kwnames
,&obj0
)) goto fail
;
35868 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
35869 if (SWIG_arg_fail(1)) SWIG_fail
;
35871 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35872 result
= (wxFrame
*)((wxMenuBar
const *)arg1
)->GetFrame();
35874 wxPyEndAllowThreads(__tstate
);
35875 if (PyErr_Occurred()) SWIG_fail
;
35878 resultobj
= wxPyMake_wxObject(result
, 0);
35886 static PyObject
*_wrap_MenuBar_IsAttached(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35887 PyObject
*resultobj
;
35888 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
35890 PyObject
* obj0
= 0 ;
35891 char *kwnames
[] = {
35892 (char *) "self", NULL
35895 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuBar_IsAttached",kwnames
,&obj0
)) goto fail
;
35896 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
35897 if (SWIG_arg_fail(1)) SWIG_fail
;
35899 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35900 result
= (bool)((wxMenuBar
const *)arg1
)->IsAttached();
35902 wxPyEndAllowThreads(__tstate
);
35903 if (PyErr_Occurred()) SWIG_fail
;
35906 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35914 static PyObject
*_wrap_MenuBar_Attach(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35915 PyObject
*resultobj
;
35916 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
35917 wxFrame
*arg2
= (wxFrame
*) 0 ;
35918 PyObject
* obj0
= 0 ;
35919 PyObject
* obj1
= 0 ;
35920 char *kwnames
[] = {
35921 (char *) "self",(char *) "frame", NULL
35924 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_Attach",kwnames
,&obj0
,&obj1
)) goto fail
;
35925 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
35926 if (SWIG_arg_fail(1)) SWIG_fail
;
35927 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFrame
, SWIG_POINTER_EXCEPTION
| 0);
35928 if (SWIG_arg_fail(2)) SWIG_fail
;
35930 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35931 (arg1
)->Attach(arg2
);
35933 wxPyEndAllowThreads(__tstate
);
35934 if (PyErr_Occurred()) SWIG_fail
;
35936 Py_INCREF(Py_None
); resultobj
= Py_None
;
35943 static PyObject
*_wrap_MenuBar_Detach(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35944 PyObject
*resultobj
;
35945 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
35946 PyObject
* obj0
= 0 ;
35947 char *kwnames
[] = {
35948 (char *) "self", NULL
35951 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuBar_Detach",kwnames
,&obj0
)) goto fail
;
35952 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
35953 if (SWIG_arg_fail(1)) SWIG_fail
;
35955 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35958 wxPyEndAllowThreads(__tstate
);
35959 if (PyErr_Occurred()) SWIG_fail
;
35961 Py_INCREF(Py_None
); resultobj
= Py_None
;
35968 static PyObject
* MenuBar_swigregister(PyObject
*, PyObject
*args
) {
35970 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
35971 SWIG_TypeClientData(SWIGTYPE_p_wxMenuBar
, obj
);
35973 return Py_BuildValue((char *)"");
35975 static PyObject
*_wrap_new_MenuItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35976 PyObject
*resultobj
;
35977 wxMenu
*arg1
= (wxMenu
*) NULL
;
35978 int arg2
= (int) wxID_ANY
;
35979 wxString
const &arg3_defvalue
= wxPyEmptyString
;
35980 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
35981 wxString
const &arg4_defvalue
= wxPyEmptyString
;
35982 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
35983 wxItemKind arg5
= (wxItemKind
) wxITEM_NORMAL
;
35984 wxMenu
*arg6
= (wxMenu
*) NULL
;
35985 wxMenuItem
*result
;
35986 bool temp3
= false ;
35987 bool temp4
= false ;
35988 PyObject
* obj0
= 0 ;
35989 PyObject
* obj1
= 0 ;
35990 PyObject
* obj2
= 0 ;
35991 PyObject
* obj3
= 0 ;
35992 PyObject
* obj4
= 0 ;
35993 PyObject
* obj5
= 0 ;
35994 char *kwnames
[] = {
35995 (char *) "parentMenu",(char *) "id",(char *) "text",(char *) "help",(char *) "kind",(char *) "subMenu", NULL
35998 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOOOO:new_MenuItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
36000 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
36001 if (SWIG_arg_fail(1)) SWIG_fail
;
36005 arg2
= (int)(SWIG_As_int(obj1
));
36006 if (SWIG_arg_fail(2)) SWIG_fail
;
36011 arg3
= wxString_in_helper(obj2
);
36012 if (arg3
== NULL
) SWIG_fail
;
36018 arg4
= wxString_in_helper(obj3
);
36019 if (arg4
== NULL
) SWIG_fail
;
36025 arg5
= (wxItemKind
)(SWIG_As_int(obj4
));
36026 if (SWIG_arg_fail(5)) SWIG_fail
;
36030 SWIG_Python_ConvertPtr(obj5
, (void **)&arg6
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
36031 if (SWIG_arg_fail(6)) SWIG_fail
;
36034 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36035 result
= (wxMenuItem
*)new wxMenuItem(arg1
,arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,(wxItemKind
)arg5
,arg6
);
36037 wxPyEndAllowThreads(__tstate
);
36038 if (PyErr_Occurred()) SWIG_fail
;
36041 resultobj
= wxPyMake_wxObject(result
, 1);
36065 static PyObject
*_wrap_MenuItem_GetMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36066 PyObject
*resultobj
;
36067 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36069 PyObject
* obj0
= 0 ;
36070 char *kwnames
[] = {
36071 (char *) "self", NULL
36074 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetMenu",kwnames
,&obj0
)) goto fail
;
36075 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36076 if (SWIG_arg_fail(1)) SWIG_fail
;
36078 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36079 result
= (wxMenu
*)((wxMenuItem
const *)arg1
)->GetMenu();
36081 wxPyEndAllowThreads(__tstate
);
36082 if (PyErr_Occurred()) SWIG_fail
;
36085 resultobj
= wxPyMake_wxObject(result
, 0);
36093 static PyObject
*_wrap_MenuItem_SetMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36094 PyObject
*resultobj
;
36095 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36096 wxMenu
*arg2
= (wxMenu
*) 0 ;
36097 PyObject
* obj0
= 0 ;
36098 PyObject
* obj1
= 0 ;
36099 char *kwnames
[] = {
36100 (char *) "self",(char *) "menu", NULL
36103 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
36104 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36105 if (SWIG_arg_fail(1)) SWIG_fail
;
36106 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
36107 if (SWIG_arg_fail(2)) SWIG_fail
;
36109 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36110 (arg1
)->SetMenu(arg2
);
36112 wxPyEndAllowThreads(__tstate
);
36113 if (PyErr_Occurred()) SWIG_fail
;
36115 Py_INCREF(Py_None
); resultobj
= Py_None
;
36122 static PyObject
*_wrap_MenuItem_SetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36123 PyObject
*resultobj
;
36124 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36126 PyObject
* obj0
= 0 ;
36127 PyObject
* obj1
= 0 ;
36128 char *kwnames
[] = {
36129 (char *) "self",(char *) "id", NULL
36132 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetId",kwnames
,&obj0
,&obj1
)) goto fail
;
36133 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36134 if (SWIG_arg_fail(1)) SWIG_fail
;
36136 arg2
= (int)(SWIG_As_int(obj1
));
36137 if (SWIG_arg_fail(2)) SWIG_fail
;
36140 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36141 (arg1
)->SetId(arg2
);
36143 wxPyEndAllowThreads(__tstate
);
36144 if (PyErr_Occurred()) SWIG_fail
;
36146 Py_INCREF(Py_None
); resultobj
= Py_None
;
36153 static PyObject
*_wrap_MenuItem_GetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36154 PyObject
*resultobj
;
36155 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36157 PyObject
* obj0
= 0 ;
36158 char *kwnames
[] = {
36159 (char *) "self", NULL
36162 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetId",kwnames
,&obj0
)) goto fail
;
36163 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36164 if (SWIG_arg_fail(1)) SWIG_fail
;
36166 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36167 result
= (int)((wxMenuItem
const *)arg1
)->GetId();
36169 wxPyEndAllowThreads(__tstate
);
36170 if (PyErr_Occurred()) SWIG_fail
;
36173 resultobj
= SWIG_From_int((int)(result
));
36181 static PyObject
*_wrap_MenuItem_IsSeparator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36182 PyObject
*resultobj
;
36183 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36185 PyObject
* obj0
= 0 ;
36186 char *kwnames
[] = {
36187 (char *) "self", NULL
36190 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_IsSeparator",kwnames
,&obj0
)) goto fail
;
36191 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36192 if (SWIG_arg_fail(1)) SWIG_fail
;
36194 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36195 result
= (bool)((wxMenuItem
const *)arg1
)->IsSeparator();
36197 wxPyEndAllowThreads(__tstate
);
36198 if (PyErr_Occurred()) SWIG_fail
;
36201 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
36209 static PyObject
*_wrap_MenuItem_SetText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36210 PyObject
*resultobj
;
36211 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36212 wxString
*arg2
= 0 ;
36213 bool temp2
= false ;
36214 PyObject
* obj0
= 0 ;
36215 PyObject
* obj1
= 0 ;
36216 char *kwnames
[] = {
36217 (char *) "self",(char *) "str", NULL
36220 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetText",kwnames
,&obj0
,&obj1
)) goto fail
;
36221 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36222 if (SWIG_arg_fail(1)) SWIG_fail
;
36224 arg2
= wxString_in_helper(obj1
);
36225 if (arg2
== NULL
) SWIG_fail
;
36229 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36230 (arg1
)->SetText((wxString
const &)*arg2
);
36232 wxPyEndAllowThreads(__tstate
);
36233 if (PyErr_Occurred()) SWIG_fail
;
36235 Py_INCREF(Py_None
); resultobj
= Py_None
;
36250 static PyObject
*_wrap_MenuItem_GetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36251 PyObject
*resultobj
;
36252 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36254 PyObject
* obj0
= 0 ;
36255 char *kwnames
[] = {
36256 (char *) "self", NULL
36259 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetLabel",kwnames
,&obj0
)) goto fail
;
36260 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36261 if (SWIG_arg_fail(1)) SWIG_fail
;
36263 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36264 result
= ((wxMenuItem
const *)arg1
)->GetLabel();
36266 wxPyEndAllowThreads(__tstate
);
36267 if (PyErr_Occurred()) SWIG_fail
;
36271 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
36273 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
36282 static PyObject
*_wrap_MenuItem_GetText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36283 PyObject
*resultobj
;
36284 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36286 PyObject
* obj0
= 0 ;
36287 char *kwnames
[] = {
36288 (char *) "self", NULL
36291 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetText",kwnames
,&obj0
)) goto fail
;
36292 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36293 if (SWIG_arg_fail(1)) SWIG_fail
;
36295 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36297 wxString
const &_result_ref
= ((wxMenuItem
const *)arg1
)->GetText();
36298 result
= (wxString
*) &_result_ref
;
36301 wxPyEndAllowThreads(__tstate
);
36302 if (PyErr_Occurred()) SWIG_fail
;
36306 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
36308 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
36317 static PyObject
*_wrap_MenuItem_GetLabelFromText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36318 PyObject
*resultobj
;
36319 wxString
*arg1
= 0 ;
36321 bool temp1
= false ;
36322 PyObject
* obj0
= 0 ;
36323 char *kwnames
[] = {
36324 (char *) "text", NULL
36327 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetLabelFromText",kwnames
,&obj0
)) goto fail
;
36329 arg1
= wxString_in_helper(obj0
);
36330 if (arg1
== NULL
) SWIG_fail
;
36334 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36335 result
= wxMenuItem::GetLabelFromText((wxString
const &)*arg1
);
36337 wxPyEndAllowThreads(__tstate
);
36338 if (PyErr_Occurred()) SWIG_fail
;
36342 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
36344 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
36361 static PyObject
*_wrap_MenuItem_GetKind(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36362 PyObject
*resultobj
;
36363 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36365 PyObject
* obj0
= 0 ;
36366 char *kwnames
[] = {
36367 (char *) "self", NULL
36370 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetKind",kwnames
,&obj0
)) goto fail
;
36371 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36372 if (SWIG_arg_fail(1)) SWIG_fail
;
36374 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36375 result
= (wxItemKind
)((wxMenuItem
const *)arg1
)->GetKind();
36377 wxPyEndAllowThreads(__tstate
);
36378 if (PyErr_Occurred()) SWIG_fail
;
36380 resultobj
= SWIG_From_int((result
));
36387 static PyObject
*_wrap_MenuItem_SetKind(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36388 PyObject
*resultobj
;
36389 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36391 PyObject
* obj0
= 0 ;
36392 PyObject
* obj1
= 0 ;
36393 char *kwnames
[] = {
36394 (char *) "self",(char *) "kind", NULL
36397 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetKind",kwnames
,&obj0
,&obj1
)) goto fail
;
36398 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36399 if (SWIG_arg_fail(1)) SWIG_fail
;
36401 arg2
= (wxItemKind
)(SWIG_As_int(obj1
));
36402 if (SWIG_arg_fail(2)) SWIG_fail
;
36405 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36406 (arg1
)->SetKind((wxItemKind
)arg2
);
36408 wxPyEndAllowThreads(__tstate
);
36409 if (PyErr_Occurred()) SWIG_fail
;
36411 Py_INCREF(Py_None
); resultobj
= Py_None
;
36418 static PyObject
*_wrap_MenuItem_SetCheckable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36419 PyObject
*resultobj
;
36420 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36422 PyObject
* obj0
= 0 ;
36423 PyObject
* obj1
= 0 ;
36424 char *kwnames
[] = {
36425 (char *) "self",(char *) "checkable", NULL
36428 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetCheckable",kwnames
,&obj0
,&obj1
)) goto fail
;
36429 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36430 if (SWIG_arg_fail(1)) SWIG_fail
;
36432 arg2
= (bool)(SWIG_As_bool(obj1
));
36433 if (SWIG_arg_fail(2)) SWIG_fail
;
36436 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36437 (arg1
)->SetCheckable(arg2
);
36439 wxPyEndAllowThreads(__tstate
);
36440 if (PyErr_Occurred()) SWIG_fail
;
36442 Py_INCREF(Py_None
); resultobj
= Py_None
;
36449 static PyObject
*_wrap_MenuItem_IsCheckable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36450 PyObject
*resultobj
;
36451 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36453 PyObject
* obj0
= 0 ;
36454 char *kwnames
[] = {
36455 (char *) "self", NULL
36458 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_IsCheckable",kwnames
,&obj0
)) goto fail
;
36459 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36460 if (SWIG_arg_fail(1)) SWIG_fail
;
36462 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36463 result
= (bool)((wxMenuItem
const *)arg1
)->IsCheckable();
36465 wxPyEndAllowThreads(__tstate
);
36466 if (PyErr_Occurred()) SWIG_fail
;
36469 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
36477 static PyObject
*_wrap_MenuItem_IsSubMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36478 PyObject
*resultobj
;
36479 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36481 PyObject
* obj0
= 0 ;
36482 char *kwnames
[] = {
36483 (char *) "self", NULL
36486 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_IsSubMenu",kwnames
,&obj0
)) goto fail
;
36487 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36488 if (SWIG_arg_fail(1)) SWIG_fail
;
36490 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36491 result
= (bool)((wxMenuItem
const *)arg1
)->IsSubMenu();
36493 wxPyEndAllowThreads(__tstate
);
36494 if (PyErr_Occurred()) SWIG_fail
;
36497 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
36505 static PyObject
*_wrap_MenuItem_SetSubMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36506 PyObject
*resultobj
;
36507 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36508 wxMenu
*arg2
= (wxMenu
*) 0 ;
36509 PyObject
* obj0
= 0 ;
36510 PyObject
* obj1
= 0 ;
36511 char *kwnames
[] = {
36512 (char *) "self",(char *) "menu", NULL
36515 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetSubMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
36516 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36517 if (SWIG_arg_fail(1)) SWIG_fail
;
36518 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
36519 if (SWIG_arg_fail(2)) SWIG_fail
;
36521 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36522 (arg1
)->SetSubMenu(arg2
);
36524 wxPyEndAllowThreads(__tstate
);
36525 if (PyErr_Occurred()) SWIG_fail
;
36527 Py_INCREF(Py_None
); resultobj
= Py_None
;
36534 static PyObject
*_wrap_MenuItem_GetSubMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36535 PyObject
*resultobj
;
36536 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36538 PyObject
* obj0
= 0 ;
36539 char *kwnames
[] = {
36540 (char *) "self", NULL
36543 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetSubMenu",kwnames
,&obj0
)) goto fail
;
36544 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36545 if (SWIG_arg_fail(1)) SWIG_fail
;
36547 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36548 result
= (wxMenu
*)((wxMenuItem
const *)arg1
)->GetSubMenu();
36550 wxPyEndAllowThreads(__tstate
);
36551 if (PyErr_Occurred()) SWIG_fail
;
36554 resultobj
= wxPyMake_wxObject(result
, 0);
36562 static PyObject
*_wrap_MenuItem_Enable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36563 PyObject
*resultobj
;
36564 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36565 bool arg2
= (bool) true ;
36566 PyObject
* obj0
= 0 ;
36567 PyObject
* obj1
= 0 ;
36568 char *kwnames
[] = {
36569 (char *) "self",(char *) "enable", NULL
36572 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:MenuItem_Enable",kwnames
,&obj0
,&obj1
)) goto fail
;
36573 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36574 if (SWIG_arg_fail(1)) SWIG_fail
;
36577 arg2
= (bool)(SWIG_As_bool(obj1
));
36578 if (SWIG_arg_fail(2)) SWIG_fail
;
36582 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36583 (arg1
)->Enable(arg2
);
36585 wxPyEndAllowThreads(__tstate
);
36586 if (PyErr_Occurred()) SWIG_fail
;
36588 Py_INCREF(Py_None
); resultobj
= Py_None
;
36595 static PyObject
*_wrap_MenuItem_IsEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36596 PyObject
*resultobj
;
36597 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36599 PyObject
* obj0
= 0 ;
36600 char *kwnames
[] = {
36601 (char *) "self", NULL
36604 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_IsEnabled",kwnames
,&obj0
)) goto fail
;
36605 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36606 if (SWIG_arg_fail(1)) SWIG_fail
;
36608 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36609 result
= (bool)((wxMenuItem
const *)arg1
)->IsEnabled();
36611 wxPyEndAllowThreads(__tstate
);
36612 if (PyErr_Occurred()) SWIG_fail
;
36615 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
36623 static PyObject
*_wrap_MenuItem_Check(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36624 PyObject
*resultobj
;
36625 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36626 bool arg2
= (bool) true ;
36627 PyObject
* obj0
= 0 ;
36628 PyObject
* obj1
= 0 ;
36629 char *kwnames
[] = {
36630 (char *) "self",(char *) "check", NULL
36633 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:MenuItem_Check",kwnames
,&obj0
,&obj1
)) goto fail
;
36634 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36635 if (SWIG_arg_fail(1)) SWIG_fail
;
36638 arg2
= (bool)(SWIG_As_bool(obj1
));
36639 if (SWIG_arg_fail(2)) SWIG_fail
;
36643 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36644 (arg1
)->Check(arg2
);
36646 wxPyEndAllowThreads(__tstate
);
36647 if (PyErr_Occurred()) SWIG_fail
;
36649 Py_INCREF(Py_None
); resultobj
= Py_None
;
36656 static PyObject
*_wrap_MenuItem_IsChecked(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36657 PyObject
*resultobj
;
36658 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36660 PyObject
* obj0
= 0 ;
36661 char *kwnames
[] = {
36662 (char *) "self", NULL
36665 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_IsChecked",kwnames
,&obj0
)) goto fail
;
36666 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36667 if (SWIG_arg_fail(1)) SWIG_fail
;
36669 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36670 result
= (bool)((wxMenuItem
const *)arg1
)->IsChecked();
36672 wxPyEndAllowThreads(__tstate
);
36673 if (PyErr_Occurred()) SWIG_fail
;
36676 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
36684 static PyObject
*_wrap_MenuItem_Toggle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36685 PyObject
*resultobj
;
36686 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36687 PyObject
* obj0
= 0 ;
36688 char *kwnames
[] = {
36689 (char *) "self", NULL
36692 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_Toggle",kwnames
,&obj0
)) goto fail
;
36693 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36694 if (SWIG_arg_fail(1)) SWIG_fail
;
36696 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36699 wxPyEndAllowThreads(__tstate
);
36700 if (PyErr_Occurred()) SWIG_fail
;
36702 Py_INCREF(Py_None
); resultobj
= Py_None
;
36709 static PyObject
*_wrap_MenuItem_SetHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36710 PyObject
*resultobj
;
36711 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36712 wxString
*arg2
= 0 ;
36713 bool temp2
= false ;
36714 PyObject
* obj0
= 0 ;
36715 PyObject
* obj1
= 0 ;
36716 char *kwnames
[] = {
36717 (char *) "self",(char *) "str", NULL
36720 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
36721 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36722 if (SWIG_arg_fail(1)) SWIG_fail
;
36724 arg2
= wxString_in_helper(obj1
);
36725 if (arg2
== NULL
) SWIG_fail
;
36729 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36730 (arg1
)->SetHelp((wxString
const &)*arg2
);
36732 wxPyEndAllowThreads(__tstate
);
36733 if (PyErr_Occurred()) SWIG_fail
;
36735 Py_INCREF(Py_None
); resultobj
= Py_None
;
36750 static PyObject
*_wrap_MenuItem_GetHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36751 PyObject
*resultobj
;
36752 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36754 PyObject
* obj0
= 0 ;
36755 char *kwnames
[] = {
36756 (char *) "self", NULL
36759 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetHelp",kwnames
,&obj0
)) goto fail
;
36760 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36761 if (SWIG_arg_fail(1)) SWIG_fail
;
36763 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36765 wxString
const &_result_ref
= ((wxMenuItem
const *)arg1
)->GetHelp();
36766 result
= (wxString
*) &_result_ref
;
36769 wxPyEndAllowThreads(__tstate
);
36770 if (PyErr_Occurred()) SWIG_fail
;
36774 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
36776 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
36785 static PyObject
*_wrap_MenuItem_GetAccel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36786 PyObject
*resultobj
;
36787 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36788 wxAcceleratorEntry
*result
;
36789 PyObject
* obj0
= 0 ;
36790 char *kwnames
[] = {
36791 (char *) "self", NULL
36794 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetAccel",kwnames
,&obj0
)) goto fail
;
36795 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36796 if (SWIG_arg_fail(1)) SWIG_fail
;
36798 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36799 result
= (wxAcceleratorEntry
*)((wxMenuItem
const *)arg1
)->GetAccel();
36801 wxPyEndAllowThreads(__tstate
);
36802 if (PyErr_Occurred()) SWIG_fail
;
36804 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxAcceleratorEntry
, 0);
36811 static PyObject
*_wrap_MenuItem_SetAccel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36812 PyObject
*resultobj
;
36813 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36814 wxAcceleratorEntry
*arg2
= (wxAcceleratorEntry
*) 0 ;
36815 PyObject
* obj0
= 0 ;
36816 PyObject
* obj1
= 0 ;
36817 char *kwnames
[] = {
36818 (char *) "self",(char *) "accel", NULL
36821 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetAccel",kwnames
,&obj0
,&obj1
)) goto fail
;
36822 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36823 if (SWIG_arg_fail(1)) SWIG_fail
;
36824 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxAcceleratorEntry
, SWIG_POINTER_EXCEPTION
| 0);
36825 if (SWIG_arg_fail(2)) SWIG_fail
;
36827 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36828 (arg1
)->SetAccel(arg2
);
36830 wxPyEndAllowThreads(__tstate
);
36831 if (PyErr_Occurred()) SWIG_fail
;
36833 Py_INCREF(Py_None
); resultobj
= Py_None
;
36840 static PyObject
*_wrap_MenuItem_SetFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36841 PyObject
*resultobj
;
36842 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36844 PyObject
* obj0
= 0 ;
36845 PyObject
* obj1
= 0 ;
36846 char *kwnames
[] = {
36847 (char *) "self",(char *) "font", NULL
36850 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetFont",kwnames
,&obj0
,&obj1
)) goto fail
;
36851 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36852 if (SWIG_arg_fail(1)) SWIG_fail
;
36854 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
36855 if (SWIG_arg_fail(2)) SWIG_fail
;
36856 if (arg2
== NULL
) {
36857 SWIG_null_ref("wxFont");
36859 if (SWIG_arg_fail(2)) SWIG_fail
;
36862 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36863 wxMenuItem_SetFont(arg1
,(wxFont
const &)*arg2
);
36865 wxPyEndAllowThreads(__tstate
);
36866 if (PyErr_Occurred()) SWIG_fail
;
36868 Py_INCREF(Py_None
); resultobj
= Py_None
;
36875 static PyObject
*_wrap_MenuItem_GetFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36876 PyObject
*resultobj
;
36877 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36879 PyObject
* obj0
= 0 ;
36880 char *kwnames
[] = {
36881 (char *) "self", NULL
36884 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetFont",kwnames
,&obj0
)) goto fail
;
36885 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36886 if (SWIG_arg_fail(1)) SWIG_fail
;
36888 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36889 result
= wxMenuItem_GetFont(arg1
);
36891 wxPyEndAllowThreads(__tstate
);
36892 if (PyErr_Occurred()) SWIG_fail
;
36895 wxFont
* resultptr
;
36896 resultptr
= new wxFont((wxFont
&)(result
));
36897 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxFont
, 1);
36905 static PyObject
*_wrap_MenuItem_SetTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36906 PyObject
*resultobj
;
36907 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36908 wxColour
*arg2
= 0 ;
36910 PyObject
* obj0
= 0 ;
36911 PyObject
* obj1
= 0 ;
36912 char *kwnames
[] = {
36913 (char *) "self",(char *) "colText", NULL
36916 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
36917 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36918 if (SWIG_arg_fail(1)) SWIG_fail
;
36921 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
36924 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36925 wxMenuItem_SetTextColour(arg1
,(wxColour
const &)*arg2
);
36927 wxPyEndAllowThreads(__tstate
);
36928 if (PyErr_Occurred()) SWIG_fail
;
36930 Py_INCREF(Py_None
); resultobj
= Py_None
;
36937 static PyObject
*_wrap_MenuItem_GetTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36938 PyObject
*resultobj
;
36939 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36941 PyObject
* obj0
= 0 ;
36942 char *kwnames
[] = {
36943 (char *) "self", NULL
36946 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetTextColour",kwnames
,&obj0
)) goto fail
;
36947 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36948 if (SWIG_arg_fail(1)) SWIG_fail
;
36950 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36951 result
= wxMenuItem_GetTextColour(arg1
);
36953 wxPyEndAllowThreads(__tstate
);
36954 if (PyErr_Occurred()) SWIG_fail
;
36957 wxColour
* resultptr
;
36958 resultptr
= new wxColour((wxColour
&)(result
));
36959 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
36967 static PyObject
*_wrap_MenuItem_SetBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36968 PyObject
*resultobj
;
36969 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36970 wxColour
*arg2
= 0 ;
36972 PyObject
* obj0
= 0 ;
36973 PyObject
* obj1
= 0 ;
36974 char *kwnames
[] = {
36975 (char *) "self",(char *) "colBack", NULL
36978 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
36979 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36980 if (SWIG_arg_fail(1)) SWIG_fail
;
36983 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
36986 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36987 wxMenuItem_SetBackgroundColour(arg1
,(wxColour
const &)*arg2
);
36989 wxPyEndAllowThreads(__tstate
);
36990 if (PyErr_Occurred()) SWIG_fail
;
36992 Py_INCREF(Py_None
); resultobj
= Py_None
;
36999 static PyObject
*_wrap_MenuItem_GetBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37000 PyObject
*resultobj
;
37001 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
37003 PyObject
* obj0
= 0 ;
37004 char *kwnames
[] = {
37005 (char *) "self", NULL
37008 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetBackgroundColour",kwnames
,&obj0
)) goto fail
;
37009 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
37010 if (SWIG_arg_fail(1)) SWIG_fail
;
37012 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37013 result
= wxMenuItem_GetBackgroundColour(arg1
);
37015 wxPyEndAllowThreads(__tstate
);
37016 if (PyErr_Occurred()) SWIG_fail
;
37019 wxColour
* resultptr
;
37020 resultptr
= new wxColour((wxColour
&)(result
));
37021 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
37029 static PyObject
*_wrap_MenuItem_SetBitmaps(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37030 PyObject
*resultobj
;
37031 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
37032 wxBitmap
*arg2
= 0 ;
37033 wxBitmap
const &arg3_defvalue
= wxNullBitmap
;
37034 wxBitmap
*arg3
= (wxBitmap
*) &arg3_defvalue
;
37035 PyObject
* obj0
= 0 ;
37036 PyObject
* obj1
= 0 ;
37037 PyObject
* obj2
= 0 ;
37038 char *kwnames
[] = {
37039 (char *) "self",(char *) "bmpChecked",(char *) "bmpUnchecked", NULL
37042 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:MenuItem_SetBitmaps",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
37043 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
37044 if (SWIG_arg_fail(1)) SWIG_fail
;
37046 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
37047 if (SWIG_arg_fail(2)) SWIG_fail
;
37048 if (arg2
== NULL
) {
37049 SWIG_null_ref("wxBitmap");
37051 if (SWIG_arg_fail(2)) SWIG_fail
;
37055 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
37056 if (SWIG_arg_fail(3)) SWIG_fail
;
37057 if (arg3
== NULL
) {
37058 SWIG_null_ref("wxBitmap");
37060 if (SWIG_arg_fail(3)) SWIG_fail
;
37064 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37065 wxMenuItem_SetBitmaps(arg1
,(wxBitmap
const &)*arg2
,(wxBitmap
const &)*arg3
);
37067 wxPyEndAllowThreads(__tstate
);
37068 if (PyErr_Occurred()) SWIG_fail
;
37070 Py_INCREF(Py_None
); resultobj
= Py_None
;
37077 static PyObject
*_wrap_MenuItem_SetDisabledBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37078 PyObject
*resultobj
;
37079 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
37080 wxBitmap
*arg2
= 0 ;
37081 PyObject
* obj0
= 0 ;
37082 PyObject
* obj1
= 0 ;
37083 char *kwnames
[] = {
37084 (char *) "self",(char *) "bmpDisabled", NULL
37087 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetDisabledBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
37088 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
37089 if (SWIG_arg_fail(1)) SWIG_fail
;
37091 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
37092 if (SWIG_arg_fail(2)) SWIG_fail
;
37093 if (arg2
== NULL
) {
37094 SWIG_null_ref("wxBitmap");
37096 if (SWIG_arg_fail(2)) SWIG_fail
;
37099 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37100 wxMenuItem_SetDisabledBitmap(arg1
,(wxBitmap
const &)*arg2
);
37102 wxPyEndAllowThreads(__tstate
);
37103 if (PyErr_Occurred()) SWIG_fail
;
37105 Py_INCREF(Py_None
); resultobj
= Py_None
;
37112 static PyObject
*_wrap_MenuItem_GetDisabledBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37113 PyObject
*resultobj
;
37114 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
37116 PyObject
* obj0
= 0 ;
37117 char *kwnames
[] = {
37118 (char *) "self", NULL
37121 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetDisabledBitmap",kwnames
,&obj0
)) goto fail
;
37122 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
37123 if (SWIG_arg_fail(1)) SWIG_fail
;
37125 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37127 wxBitmap
const &_result_ref
= wxMenuItem_GetDisabledBitmap((wxMenuItem
const *)arg1
);
37128 result
= (wxBitmap
*) &_result_ref
;
37131 wxPyEndAllowThreads(__tstate
);
37132 if (PyErr_Occurred()) SWIG_fail
;
37135 wxBitmap
* resultptr
= new wxBitmap(*result
);
37136 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
37144 static PyObject
*_wrap_MenuItem_SetMarginWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37145 PyObject
*resultobj
;
37146 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
37148 PyObject
* obj0
= 0 ;
37149 PyObject
* obj1
= 0 ;
37150 char *kwnames
[] = {
37151 (char *) "self",(char *) "nWidth", NULL
37154 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetMarginWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
37155 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
37156 if (SWIG_arg_fail(1)) SWIG_fail
;
37158 arg2
= (int)(SWIG_As_int(obj1
));
37159 if (SWIG_arg_fail(2)) SWIG_fail
;
37162 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37163 wxMenuItem_SetMarginWidth(arg1
,arg2
);
37165 wxPyEndAllowThreads(__tstate
);
37166 if (PyErr_Occurred()) SWIG_fail
;
37168 Py_INCREF(Py_None
); resultobj
= Py_None
;
37175 static PyObject
*_wrap_MenuItem_GetMarginWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37176 PyObject
*resultobj
;
37177 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
37179 PyObject
* obj0
= 0 ;
37180 char *kwnames
[] = {
37181 (char *) "self", NULL
37184 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetMarginWidth",kwnames
,&obj0
)) goto fail
;
37185 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
37186 if (SWIG_arg_fail(1)) SWIG_fail
;
37188 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37189 result
= (int)wxMenuItem_GetMarginWidth(arg1
);
37191 wxPyEndAllowThreads(__tstate
);
37192 if (PyErr_Occurred()) SWIG_fail
;
37195 resultobj
= SWIG_From_int((int)(result
));
37203 static PyObject
*_wrap_MenuItem_GetDefaultMarginWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37204 PyObject
*resultobj
;
37206 char *kwnames
[] = {
37210 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":MenuItem_GetDefaultMarginWidth",kwnames
)) goto fail
;
37212 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37213 result
= (int)MenuItem_GetDefaultMarginWidth();
37215 wxPyEndAllowThreads(__tstate
);
37216 if (PyErr_Occurred()) SWIG_fail
;
37219 resultobj
= SWIG_From_int((int)(result
));
37227 static PyObject
*_wrap_MenuItem_IsOwnerDrawn(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37228 PyObject
*resultobj
;
37229 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
37231 PyObject
* obj0
= 0 ;
37232 char *kwnames
[] = {
37233 (char *) "self", NULL
37236 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_IsOwnerDrawn",kwnames
,&obj0
)) goto fail
;
37237 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
37238 if (SWIG_arg_fail(1)) SWIG_fail
;
37240 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37241 result
= (bool)wxMenuItem_IsOwnerDrawn(arg1
);
37243 wxPyEndAllowThreads(__tstate
);
37244 if (PyErr_Occurred()) SWIG_fail
;
37247 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
37255 static PyObject
*_wrap_MenuItem_SetOwnerDrawn(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37256 PyObject
*resultobj
;
37257 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
37258 bool arg2
= (bool) true ;
37259 PyObject
* obj0
= 0 ;
37260 PyObject
* obj1
= 0 ;
37261 char *kwnames
[] = {
37262 (char *) "self",(char *) "ownerDrawn", NULL
37265 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:MenuItem_SetOwnerDrawn",kwnames
,&obj0
,&obj1
)) goto fail
;
37266 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
37267 if (SWIG_arg_fail(1)) SWIG_fail
;
37270 arg2
= (bool)(SWIG_As_bool(obj1
));
37271 if (SWIG_arg_fail(2)) SWIG_fail
;
37275 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37276 wxMenuItem_SetOwnerDrawn(arg1
,arg2
);
37278 wxPyEndAllowThreads(__tstate
);
37279 if (PyErr_Occurred()) SWIG_fail
;
37281 Py_INCREF(Py_None
); resultobj
= Py_None
;
37288 static PyObject
*_wrap_MenuItem_ResetOwnerDrawn(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37289 PyObject
*resultobj
;
37290 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
37291 PyObject
* obj0
= 0 ;
37292 char *kwnames
[] = {
37293 (char *) "self", NULL
37296 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_ResetOwnerDrawn",kwnames
,&obj0
)) goto fail
;
37297 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
37298 if (SWIG_arg_fail(1)) SWIG_fail
;
37300 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37301 wxMenuItem_ResetOwnerDrawn(arg1
);
37303 wxPyEndAllowThreads(__tstate
);
37304 if (PyErr_Occurred()) SWIG_fail
;
37306 Py_INCREF(Py_None
); resultobj
= Py_None
;
37313 static PyObject
*_wrap_MenuItem_SetBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37314 PyObject
*resultobj
;
37315 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
37316 wxBitmap
*arg2
= 0 ;
37317 PyObject
* obj0
= 0 ;
37318 PyObject
* obj1
= 0 ;
37319 char *kwnames
[] = {
37320 (char *) "self",(char *) "bitmap", NULL
37323 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
37324 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
37325 if (SWIG_arg_fail(1)) SWIG_fail
;
37327 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
37328 if (SWIG_arg_fail(2)) SWIG_fail
;
37329 if (arg2
== NULL
) {
37330 SWIG_null_ref("wxBitmap");
37332 if (SWIG_arg_fail(2)) SWIG_fail
;
37335 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37336 (arg1
)->SetBitmap((wxBitmap
const &)*arg2
);
37338 wxPyEndAllowThreads(__tstate
);
37339 if (PyErr_Occurred()) SWIG_fail
;
37341 Py_INCREF(Py_None
); resultobj
= Py_None
;
37348 static PyObject
*_wrap_MenuItem_GetBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37349 PyObject
*resultobj
;
37350 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
37352 PyObject
* obj0
= 0 ;
37353 char *kwnames
[] = {
37354 (char *) "self", NULL
37357 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetBitmap",kwnames
,&obj0
)) goto fail
;
37358 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
37359 if (SWIG_arg_fail(1)) SWIG_fail
;
37361 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37363 wxBitmap
const &_result_ref
= (arg1
)->GetBitmap();
37364 result
= (wxBitmap
*) &_result_ref
;
37367 wxPyEndAllowThreads(__tstate
);
37368 if (PyErr_Occurred()) SWIG_fail
;
37371 wxBitmap
* resultptr
= new wxBitmap(*result
);
37372 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
37380 static PyObject
* MenuItem_swigregister(PyObject
*, PyObject
*args
) {
37382 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
37383 SWIG_TypeClientData(SWIGTYPE_p_wxMenuItem
, obj
);
37385 return Py_BuildValue((char *)"");
37387 static int _wrap_ControlNameStr_set(PyObject
*) {
37388 PyErr_SetString(PyExc_TypeError
,"Variable ControlNameStr is read-only.");
37393 static PyObject
*_wrap_ControlNameStr_get(void) {
37398 pyobj
= PyUnicode_FromWideChar((&wxPyControlNameStr
)->c_str(), (&wxPyControlNameStr
)->Len());
37400 pyobj
= PyString_FromStringAndSize((&wxPyControlNameStr
)->c_str(), (&wxPyControlNameStr
)->Len());
37407 static PyObject
*_wrap_new_Control(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37408 PyObject
*resultobj
;
37409 wxWindow
*arg1
= (wxWindow
*) 0 ;
37410 int arg2
= (int) -1 ;
37411 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
37412 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
37413 wxSize
const &arg4_defvalue
= wxDefaultSize
;
37414 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
37415 long arg5
= (long) 0 ;
37416 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
37417 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
37418 wxString
const &arg7_defvalue
= wxPyControlNameStr
;
37419 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
37423 bool temp7
= false ;
37424 PyObject
* obj0
= 0 ;
37425 PyObject
* obj1
= 0 ;
37426 PyObject
* obj2
= 0 ;
37427 PyObject
* obj3
= 0 ;
37428 PyObject
* obj4
= 0 ;
37429 PyObject
* obj5
= 0 ;
37430 PyObject
* obj6
= 0 ;
37431 char *kwnames
[] = {
37432 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
37435 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_Control",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
37436 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
37437 if (SWIG_arg_fail(1)) SWIG_fail
;
37440 arg2
= (int)(SWIG_As_int(obj1
));
37441 if (SWIG_arg_fail(2)) SWIG_fail
;
37447 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
37453 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
37458 arg5
= (long)(SWIG_As_long(obj4
));
37459 if (SWIG_arg_fail(5)) SWIG_fail
;
37464 SWIG_Python_ConvertPtr(obj5
, (void **)&arg6
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
37465 if (SWIG_arg_fail(6)) SWIG_fail
;
37466 if (arg6
== NULL
) {
37467 SWIG_null_ref("wxValidator");
37469 if (SWIG_arg_fail(6)) SWIG_fail
;
37474 arg7
= wxString_in_helper(obj6
);
37475 if (arg7
== NULL
) SWIG_fail
;
37480 if (!wxPyCheckForApp()) SWIG_fail
;
37481 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37482 result
= (wxControl
*)new wxControl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
37484 wxPyEndAllowThreads(__tstate
);
37485 if (PyErr_Occurred()) SWIG_fail
;
37487 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxControl
, 1);
37502 static PyObject
*_wrap_new_PreControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37503 PyObject
*resultobj
;
37505 char *kwnames
[] = {
37509 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreControl",kwnames
)) goto fail
;
37511 if (!wxPyCheckForApp()) SWIG_fail
;
37512 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37513 result
= (wxControl
*)new wxControl();
37515 wxPyEndAllowThreads(__tstate
);
37516 if (PyErr_Occurred()) SWIG_fail
;
37518 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxControl
, 1);
37525 static PyObject
*_wrap_Control_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37526 PyObject
*resultobj
;
37527 wxControl
*arg1
= (wxControl
*) 0 ;
37528 wxWindow
*arg2
= (wxWindow
*) 0 ;
37529 int arg3
= (int) -1 ;
37530 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
37531 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
37532 wxSize
const &arg5_defvalue
= wxDefaultSize
;
37533 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
37534 long arg6
= (long) 0 ;
37535 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
37536 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
37537 wxString
const &arg8_defvalue
= wxPyControlNameStr
;
37538 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
37542 bool temp8
= false ;
37543 PyObject
* obj0
= 0 ;
37544 PyObject
* obj1
= 0 ;
37545 PyObject
* obj2
= 0 ;
37546 PyObject
* obj3
= 0 ;
37547 PyObject
* obj4
= 0 ;
37548 PyObject
* obj5
= 0 ;
37549 PyObject
* obj6
= 0 ;
37550 PyObject
* obj7
= 0 ;
37551 char *kwnames
[] = {
37552 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
37555 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:Control_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
37556 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxControl
, SWIG_POINTER_EXCEPTION
| 0);
37557 if (SWIG_arg_fail(1)) SWIG_fail
;
37558 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
37559 if (SWIG_arg_fail(2)) SWIG_fail
;
37562 arg3
= (int)(SWIG_As_int(obj2
));
37563 if (SWIG_arg_fail(3)) SWIG_fail
;
37569 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
37575 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
37580 arg6
= (long)(SWIG_As_long(obj5
));
37581 if (SWIG_arg_fail(6)) SWIG_fail
;
37586 SWIG_Python_ConvertPtr(obj6
, (void **)&arg7
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
37587 if (SWIG_arg_fail(7)) SWIG_fail
;
37588 if (arg7
== NULL
) {
37589 SWIG_null_ref("wxValidator");
37591 if (SWIG_arg_fail(7)) SWIG_fail
;
37596 arg8
= wxString_in_helper(obj7
);
37597 if (arg8
== NULL
) SWIG_fail
;
37602 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37603 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
37605 wxPyEndAllowThreads(__tstate
);
37606 if (PyErr_Occurred()) SWIG_fail
;
37609 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
37625 static PyObject
*_wrap_Control_Command(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37626 PyObject
*resultobj
;
37627 wxControl
*arg1
= (wxControl
*) 0 ;
37628 wxCommandEvent
*arg2
= 0 ;
37629 PyObject
* obj0
= 0 ;
37630 PyObject
* obj1
= 0 ;
37631 char *kwnames
[] = {
37632 (char *) "self",(char *) "event", NULL
37635 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Control_Command",kwnames
,&obj0
,&obj1
)) goto fail
;
37636 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxControl
, SWIG_POINTER_EXCEPTION
| 0);
37637 if (SWIG_arg_fail(1)) SWIG_fail
;
37639 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxCommandEvent
, SWIG_POINTER_EXCEPTION
| 0);
37640 if (SWIG_arg_fail(2)) SWIG_fail
;
37641 if (arg2
== NULL
) {
37642 SWIG_null_ref("wxCommandEvent");
37644 if (SWIG_arg_fail(2)) SWIG_fail
;
37647 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37648 (arg1
)->Command(*arg2
);
37650 wxPyEndAllowThreads(__tstate
);
37651 if (PyErr_Occurred()) SWIG_fail
;
37653 Py_INCREF(Py_None
); resultobj
= Py_None
;
37660 static PyObject
*_wrap_Control_GetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37661 PyObject
*resultobj
;
37662 wxControl
*arg1
= (wxControl
*) 0 ;
37664 PyObject
* obj0
= 0 ;
37665 char *kwnames
[] = {
37666 (char *) "self", NULL
37669 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Control_GetLabel",kwnames
,&obj0
)) goto fail
;
37670 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxControl
, SWIG_POINTER_EXCEPTION
| 0);
37671 if (SWIG_arg_fail(1)) SWIG_fail
;
37673 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37674 result
= (arg1
)->GetLabel();
37676 wxPyEndAllowThreads(__tstate
);
37677 if (PyErr_Occurred()) SWIG_fail
;
37681 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
37683 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
37692 static PyObject
*_wrap_Control_SetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37693 PyObject
*resultobj
;
37694 wxControl
*arg1
= (wxControl
*) 0 ;
37695 wxString
*arg2
= 0 ;
37696 bool temp2
= false ;
37697 PyObject
* obj0
= 0 ;
37698 PyObject
* obj1
= 0 ;
37699 char *kwnames
[] = {
37700 (char *) "self",(char *) "label", NULL
37703 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Control_SetLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
37704 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxControl
, SWIG_POINTER_EXCEPTION
| 0);
37705 if (SWIG_arg_fail(1)) SWIG_fail
;
37707 arg2
= wxString_in_helper(obj1
);
37708 if (arg2
== NULL
) SWIG_fail
;
37712 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37713 (arg1
)->SetLabel((wxString
const &)*arg2
);
37715 wxPyEndAllowThreads(__tstate
);
37716 if (PyErr_Occurred()) SWIG_fail
;
37718 Py_INCREF(Py_None
); resultobj
= Py_None
;
37733 static PyObject
*_wrap_Control_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37734 PyObject
*resultobj
;
37735 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
37736 wxVisualAttributes result
;
37737 PyObject
* obj0
= 0 ;
37738 char *kwnames
[] = {
37739 (char *) "variant", NULL
37742 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Control_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
37745 arg1
= (wxWindowVariant
)(SWIG_As_int(obj0
));
37746 if (SWIG_arg_fail(1)) SWIG_fail
;
37750 if (!wxPyCheckForApp()) SWIG_fail
;
37751 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37752 result
= wxControl::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
37754 wxPyEndAllowThreads(__tstate
);
37755 if (PyErr_Occurred()) SWIG_fail
;
37758 wxVisualAttributes
* resultptr
;
37759 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
37760 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
37768 static PyObject
* Control_swigregister(PyObject
*, PyObject
*args
) {
37770 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
37771 SWIG_TypeClientData(SWIGTYPE_p_wxControl
, obj
);
37773 return Py_BuildValue((char *)"");
37775 static PyObject
*_wrap_ItemContainer_Append(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37776 PyObject
*resultobj
;
37777 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
37778 wxString
*arg2
= 0 ;
37779 PyObject
*arg3
= (PyObject
*) NULL
;
37781 bool temp2
= false ;
37782 PyObject
* obj0
= 0 ;
37783 PyObject
* obj1
= 0 ;
37784 PyObject
* obj2
= 0 ;
37785 char *kwnames
[] = {
37786 (char *) "self",(char *) "item",(char *) "clientData", NULL
37789 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ItemContainer_Append",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
37790 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxItemContainer
, SWIG_POINTER_EXCEPTION
| 0);
37791 if (SWIG_arg_fail(1)) SWIG_fail
;
37793 arg2
= wxString_in_helper(obj1
);
37794 if (arg2
== NULL
) SWIG_fail
;
37801 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37802 result
= (int)wxItemContainer_Append(arg1
,(wxString
const &)*arg2
,arg3
);
37804 wxPyEndAllowThreads(__tstate
);
37805 if (PyErr_Occurred()) SWIG_fail
;
37808 resultobj
= SWIG_From_int((int)(result
));
37824 static PyObject
*_wrap_ItemContainer_AppendItems(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37825 PyObject
*resultobj
;
37826 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
37827 wxArrayString
*arg2
= 0 ;
37828 bool temp2
= false ;
37829 PyObject
* obj0
= 0 ;
37830 PyObject
* obj1
= 0 ;
37831 char *kwnames
[] = {
37832 (char *) "self",(char *) "strings", NULL
37835 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_AppendItems",kwnames
,&obj0
,&obj1
)) goto fail
;
37836 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxItemContainer
, SWIG_POINTER_EXCEPTION
| 0);
37837 if (SWIG_arg_fail(1)) SWIG_fail
;
37839 if (! PySequence_Check(obj1
)) {
37840 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
37843 arg2
= new wxArrayString
;
37845 int i
, len
=PySequence_Length(obj1
);
37846 for (i
=0; i
<len
; i
++) {
37847 PyObject
* item
= PySequence_GetItem(obj1
, i
);
37848 wxString
* s
= wxString_in_helper(item
);
37849 if (PyErr_Occurred()) SWIG_fail
;
37856 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37857 (arg1
)->Append((wxArrayString
const &)*arg2
);
37859 wxPyEndAllowThreads(__tstate
);
37860 if (PyErr_Occurred()) SWIG_fail
;
37862 Py_INCREF(Py_None
); resultobj
= Py_None
;
37864 if (temp2
) delete arg2
;
37869 if (temp2
) delete arg2
;
37875 static PyObject
*_wrap_ItemContainer_Insert(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37876 PyObject
*resultobj
;
37877 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
37878 wxString
*arg2
= 0 ;
37880 PyObject
*arg4
= (PyObject
*) NULL
;
37882 bool temp2
= false ;
37883 PyObject
* obj0
= 0 ;
37884 PyObject
* obj1
= 0 ;
37885 PyObject
* obj2
= 0 ;
37886 PyObject
* obj3
= 0 ;
37887 char *kwnames
[] = {
37888 (char *) "self",(char *) "item",(char *) "pos",(char *) "clientData", NULL
37891 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:ItemContainer_Insert",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
37892 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxItemContainer
, SWIG_POINTER_EXCEPTION
| 0);
37893 if (SWIG_arg_fail(1)) SWIG_fail
;
37895 arg2
= wxString_in_helper(obj1
);
37896 if (arg2
== NULL
) SWIG_fail
;
37900 arg3
= (int)(SWIG_As_int(obj2
));
37901 if (SWIG_arg_fail(3)) SWIG_fail
;
37907 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37908 result
= (int)wxItemContainer_Insert(arg1
,(wxString
const &)*arg2
,arg3
,arg4
);
37910 wxPyEndAllowThreads(__tstate
);
37911 if (PyErr_Occurred()) SWIG_fail
;
37914 resultobj
= SWIG_From_int((int)(result
));
37930 static PyObject
*_wrap_ItemContainer_Clear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37931 PyObject
*resultobj
;
37932 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
37933 PyObject
* obj0
= 0 ;
37934 char *kwnames
[] = {
37935 (char *) "self", NULL
37938 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ItemContainer_Clear",kwnames
,&obj0
)) goto fail
;
37939 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxItemContainer
, SWIG_POINTER_EXCEPTION
| 0);
37940 if (SWIG_arg_fail(1)) SWIG_fail
;
37942 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37945 wxPyEndAllowThreads(__tstate
);
37946 if (PyErr_Occurred()) SWIG_fail
;
37948 Py_INCREF(Py_None
); resultobj
= Py_None
;
37955 static PyObject
*_wrap_ItemContainer_Delete(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37956 PyObject
*resultobj
;
37957 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
37959 PyObject
* obj0
= 0 ;
37960 PyObject
* obj1
= 0 ;
37961 char *kwnames
[] = {
37962 (char *) "self",(char *) "n", NULL
37965 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_Delete",kwnames
,&obj0
,&obj1
)) goto fail
;
37966 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxItemContainer
, SWIG_POINTER_EXCEPTION
| 0);
37967 if (SWIG_arg_fail(1)) SWIG_fail
;
37969 arg2
= (int)(SWIG_As_int(obj1
));
37970 if (SWIG_arg_fail(2)) SWIG_fail
;
37973 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37974 (arg1
)->Delete(arg2
);
37976 wxPyEndAllowThreads(__tstate
);
37977 if (PyErr_Occurred()) SWIG_fail
;
37979 Py_INCREF(Py_None
); resultobj
= Py_None
;
37986 static PyObject
*_wrap_ItemContainer_GetClientData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37987 PyObject
*resultobj
;
37988 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
37991 PyObject
* obj0
= 0 ;
37992 PyObject
* obj1
= 0 ;
37993 char *kwnames
[] = {
37994 (char *) "self",(char *) "n", NULL
37997 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_GetClientData",kwnames
,&obj0
,&obj1
)) goto fail
;
37998 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxItemContainer
, SWIG_POINTER_EXCEPTION
| 0);
37999 if (SWIG_arg_fail(1)) SWIG_fail
;
38001 arg2
= (int)(SWIG_As_int(obj1
));
38002 if (SWIG_arg_fail(2)) SWIG_fail
;
38005 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38006 result
= (PyObject
*)wxItemContainer_GetClientData(arg1
,arg2
);
38008 wxPyEndAllowThreads(__tstate
);
38009 if (PyErr_Occurred()) SWIG_fail
;
38011 resultobj
= result
;
38018 static PyObject
*_wrap_ItemContainer_SetClientData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38019 PyObject
*resultobj
;
38020 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
38022 PyObject
*arg3
= (PyObject
*) 0 ;
38023 PyObject
* obj0
= 0 ;
38024 PyObject
* obj1
= 0 ;
38025 PyObject
* obj2
= 0 ;
38026 char *kwnames
[] = {
38027 (char *) "self",(char *) "n",(char *) "clientData", NULL
38030 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ItemContainer_SetClientData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
38031 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxItemContainer
, SWIG_POINTER_EXCEPTION
| 0);
38032 if (SWIG_arg_fail(1)) SWIG_fail
;
38034 arg2
= (int)(SWIG_As_int(obj1
));
38035 if (SWIG_arg_fail(2)) SWIG_fail
;
38039 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38040 wxItemContainer_SetClientData(arg1
,arg2
,arg3
);
38042 wxPyEndAllowThreads(__tstate
);
38043 if (PyErr_Occurred()) SWIG_fail
;
38045 Py_INCREF(Py_None
); resultobj
= Py_None
;
38052 static PyObject
*_wrap_ItemContainer_GetCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38053 PyObject
*resultobj
;
38054 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
38056 PyObject
* obj0
= 0 ;
38057 char *kwnames
[] = {
38058 (char *) "self", NULL
38061 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ItemContainer_GetCount",kwnames
,&obj0
)) goto fail
;
38062 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxItemContainer
, SWIG_POINTER_EXCEPTION
| 0);
38063 if (SWIG_arg_fail(1)) SWIG_fail
;
38065 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38066 result
= (int)((wxItemContainer
const *)arg1
)->GetCount();
38068 wxPyEndAllowThreads(__tstate
);
38069 if (PyErr_Occurred()) SWIG_fail
;
38072 resultobj
= SWIG_From_int((int)(result
));
38080 static PyObject
*_wrap_ItemContainer_IsEmpty(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38081 PyObject
*resultobj
;
38082 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
38084 PyObject
* obj0
= 0 ;
38085 char *kwnames
[] = {
38086 (char *) "self", NULL
38089 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ItemContainer_IsEmpty",kwnames
,&obj0
)) goto fail
;
38090 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxItemContainer
, SWIG_POINTER_EXCEPTION
| 0);
38091 if (SWIG_arg_fail(1)) SWIG_fail
;
38093 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38094 result
= (bool)((wxItemContainer
const *)arg1
)->IsEmpty();
38096 wxPyEndAllowThreads(__tstate
);
38097 if (PyErr_Occurred()) SWIG_fail
;
38100 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38108 static PyObject
*_wrap_ItemContainer_GetString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38109 PyObject
*resultobj
;
38110 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
38113 PyObject
* obj0
= 0 ;
38114 PyObject
* obj1
= 0 ;
38115 char *kwnames
[] = {
38116 (char *) "self",(char *) "n", NULL
38119 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_GetString",kwnames
,&obj0
,&obj1
)) goto fail
;
38120 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxItemContainer
, SWIG_POINTER_EXCEPTION
| 0);
38121 if (SWIG_arg_fail(1)) SWIG_fail
;
38123 arg2
= (int)(SWIG_As_int(obj1
));
38124 if (SWIG_arg_fail(2)) SWIG_fail
;
38127 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38128 result
= ((wxItemContainer
const *)arg1
)->GetString(arg2
);
38130 wxPyEndAllowThreads(__tstate
);
38131 if (PyErr_Occurred()) SWIG_fail
;
38135 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
38137 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
38146 static PyObject
*_wrap_ItemContainer_GetStrings(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38147 PyObject
*resultobj
;
38148 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
38149 wxArrayString result
;
38150 PyObject
* obj0
= 0 ;
38151 char *kwnames
[] = {
38152 (char *) "self", NULL
38155 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ItemContainer_GetStrings",kwnames
,&obj0
)) goto fail
;
38156 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxItemContainer
, SWIG_POINTER_EXCEPTION
| 0);
38157 if (SWIG_arg_fail(1)) SWIG_fail
;
38159 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38160 result
= ((wxItemContainer
const *)arg1
)->GetStrings();
38162 wxPyEndAllowThreads(__tstate
);
38163 if (PyErr_Occurred()) SWIG_fail
;
38166 resultobj
= wxArrayString2PyList_helper(result
);
38174 static PyObject
*_wrap_ItemContainer_SetString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38175 PyObject
*resultobj
;
38176 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
38178 wxString
*arg3
= 0 ;
38179 bool temp3
= false ;
38180 PyObject
* obj0
= 0 ;
38181 PyObject
* obj1
= 0 ;
38182 PyObject
* obj2
= 0 ;
38183 char *kwnames
[] = {
38184 (char *) "self",(char *) "n",(char *) "s", NULL
38187 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ItemContainer_SetString",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
38188 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxItemContainer
, SWIG_POINTER_EXCEPTION
| 0);
38189 if (SWIG_arg_fail(1)) SWIG_fail
;
38191 arg2
= (int)(SWIG_As_int(obj1
));
38192 if (SWIG_arg_fail(2)) SWIG_fail
;
38195 arg3
= wxString_in_helper(obj2
);
38196 if (arg3
== NULL
) SWIG_fail
;
38200 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38201 (arg1
)->SetString(arg2
,(wxString
const &)*arg3
);
38203 wxPyEndAllowThreads(__tstate
);
38204 if (PyErr_Occurred()) SWIG_fail
;
38206 Py_INCREF(Py_None
); resultobj
= Py_None
;
38221 static PyObject
*_wrap_ItemContainer_FindString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38222 PyObject
*resultobj
;
38223 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
38224 wxString
*arg2
= 0 ;
38226 bool temp2
= false ;
38227 PyObject
* obj0
= 0 ;
38228 PyObject
* obj1
= 0 ;
38229 char *kwnames
[] = {
38230 (char *) "self",(char *) "s", NULL
38233 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_FindString",kwnames
,&obj0
,&obj1
)) goto fail
;
38234 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxItemContainer
, SWIG_POINTER_EXCEPTION
| 0);
38235 if (SWIG_arg_fail(1)) SWIG_fail
;
38237 arg2
= wxString_in_helper(obj1
);
38238 if (arg2
== NULL
) SWIG_fail
;
38242 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38243 result
= (int)((wxItemContainer
const *)arg1
)->FindString((wxString
const &)*arg2
);
38245 wxPyEndAllowThreads(__tstate
);
38246 if (PyErr_Occurred()) SWIG_fail
;
38249 resultobj
= SWIG_From_int((int)(result
));
38265 static PyObject
*_wrap_ItemContainer_SetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38266 PyObject
*resultobj
;
38267 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
38269 PyObject
* obj0
= 0 ;
38270 PyObject
* obj1
= 0 ;
38271 char *kwnames
[] = {
38272 (char *) "self",(char *) "n", NULL
38275 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
38276 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxItemContainer
, SWIG_POINTER_EXCEPTION
| 0);
38277 if (SWIG_arg_fail(1)) SWIG_fail
;
38279 arg2
= (int)(SWIG_As_int(obj1
));
38280 if (SWIG_arg_fail(2)) SWIG_fail
;
38283 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38284 (arg1
)->SetSelection(arg2
);
38286 wxPyEndAllowThreads(__tstate
);
38287 if (PyErr_Occurred()) SWIG_fail
;
38289 Py_INCREF(Py_None
); resultobj
= Py_None
;
38296 static PyObject
*_wrap_ItemContainer_GetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38297 PyObject
*resultobj
;
38298 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
38300 PyObject
* obj0
= 0 ;
38301 char *kwnames
[] = {
38302 (char *) "self", NULL
38305 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ItemContainer_GetSelection",kwnames
,&obj0
)) goto fail
;
38306 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxItemContainer
, SWIG_POINTER_EXCEPTION
| 0);
38307 if (SWIG_arg_fail(1)) SWIG_fail
;
38309 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38310 result
= (int)((wxItemContainer
const *)arg1
)->GetSelection();
38312 wxPyEndAllowThreads(__tstate
);
38313 if (PyErr_Occurred()) SWIG_fail
;
38316 resultobj
= SWIG_From_int((int)(result
));
38324 static PyObject
*_wrap_ItemContainer_SetStringSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38325 PyObject
*resultobj
;
38326 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
38327 wxString
*arg2
= 0 ;
38329 bool temp2
= false ;
38330 PyObject
* obj0
= 0 ;
38331 PyObject
* obj1
= 0 ;
38332 char *kwnames
[] = {
38333 (char *) "self",(char *) "s", NULL
38336 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_SetStringSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
38337 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxItemContainer
, SWIG_POINTER_EXCEPTION
| 0);
38338 if (SWIG_arg_fail(1)) SWIG_fail
;
38340 arg2
= wxString_in_helper(obj1
);
38341 if (arg2
== NULL
) SWIG_fail
;
38345 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38346 result
= (bool)(arg1
)->SetStringSelection((wxString
const &)*arg2
);
38348 wxPyEndAllowThreads(__tstate
);
38349 if (PyErr_Occurred()) SWIG_fail
;
38352 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38368 static PyObject
*_wrap_ItemContainer_GetStringSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38369 PyObject
*resultobj
;
38370 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
38372 PyObject
* obj0
= 0 ;
38373 char *kwnames
[] = {
38374 (char *) "self", NULL
38377 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ItemContainer_GetStringSelection",kwnames
,&obj0
)) goto fail
;
38378 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxItemContainer
, SWIG_POINTER_EXCEPTION
| 0);
38379 if (SWIG_arg_fail(1)) SWIG_fail
;
38381 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38382 result
= ((wxItemContainer
const *)arg1
)->GetStringSelection();
38384 wxPyEndAllowThreads(__tstate
);
38385 if (PyErr_Occurred()) SWIG_fail
;
38389 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
38391 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
38400 static PyObject
*_wrap_ItemContainer_Select(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38401 PyObject
*resultobj
;
38402 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
38404 PyObject
* obj0
= 0 ;
38405 PyObject
* obj1
= 0 ;
38406 char *kwnames
[] = {
38407 (char *) "self",(char *) "n", NULL
38410 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_Select",kwnames
,&obj0
,&obj1
)) goto fail
;
38411 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxItemContainer
, SWIG_POINTER_EXCEPTION
| 0);
38412 if (SWIG_arg_fail(1)) SWIG_fail
;
38414 arg2
= (int)(SWIG_As_int(obj1
));
38415 if (SWIG_arg_fail(2)) SWIG_fail
;
38418 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38419 (arg1
)->Select(arg2
);
38421 wxPyEndAllowThreads(__tstate
);
38422 if (PyErr_Occurred()) SWIG_fail
;
38424 Py_INCREF(Py_None
); resultobj
= Py_None
;
38431 static PyObject
* ItemContainer_swigregister(PyObject
*, PyObject
*args
) {
38433 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
38434 SWIG_TypeClientData(SWIGTYPE_p_wxItemContainer
, obj
);
38436 return Py_BuildValue((char *)"");
38438 static PyObject
* ControlWithItems_swigregister(PyObject
*, PyObject
*args
) {
38440 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
38441 SWIG_TypeClientData(SWIGTYPE_p_wxControlWithItems
, obj
);
38443 return Py_BuildValue((char *)"");
38445 static PyObject
*_wrap_new_SizerItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38446 PyObject
*resultobj
;
38447 wxSizerItem
*result
;
38448 char *kwnames
[] = {
38452 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_SizerItem",kwnames
)) goto fail
;
38454 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38455 result
= (wxSizerItem
*)new wxSizerItem();
38457 wxPyEndAllowThreads(__tstate
);
38458 if (PyErr_Occurred()) SWIG_fail
;
38460 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizerItem
, 1);
38467 static PyObject
*_wrap_new_SizerItemWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38468 PyObject
*resultobj
;
38469 wxWindow
*arg1
= (wxWindow
*) 0 ;
38473 PyObject
*arg5
= (PyObject
*) NULL
;
38474 wxSizerItem
*result
;
38475 PyObject
* obj0
= 0 ;
38476 PyObject
* obj1
= 0 ;
38477 PyObject
* obj2
= 0 ;
38478 PyObject
* obj3
= 0 ;
38479 PyObject
* obj4
= 0 ;
38480 char *kwnames
[] = {
38481 (char *) "window",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
38484 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:new_SizerItemWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
38485 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
38486 if (SWIG_arg_fail(1)) SWIG_fail
;
38488 arg2
= (int)(SWIG_As_int(obj1
));
38489 if (SWIG_arg_fail(2)) SWIG_fail
;
38492 arg3
= (int)(SWIG_As_int(obj2
));
38493 if (SWIG_arg_fail(3)) SWIG_fail
;
38496 arg4
= (int)(SWIG_As_int(obj3
));
38497 if (SWIG_arg_fail(4)) SWIG_fail
;
38503 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38504 result
= (wxSizerItem
*)new_wxSizerItem(arg1
,arg2
,arg3
,arg4
,arg5
);
38506 wxPyEndAllowThreads(__tstate
);
38507 if (PyErr_Occurred()) SWIG_fail
;
38509 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizerItem
, 1);
38516 static PyObject
*_wrap_new_SizerItemSpacer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38517 PyObject
*resultobj
;
38523 PyObject
*arg6
= (PyObject
*) NULL
;
38524 wxSizerItem
*result
;
38525 PyObject
* obj0
= 0 ;
38526 PyObject
* obj1
= 0 ;
38527 PyObject
* obj2
= 0 ;
38528 PyObject
* obj3
= 0 ;
38529 PyObject
* obj4
= 0 ;
38530 PyObject
* obj5
= 0 ;
38531 char *kwnames
[] = {
38532 (char *) "width",(char *) "height",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
38535 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:new_SizerItemSpacer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
38537 arg1
= (int)(SWIG_As_int(obj0
));
38538 if (SWIG_arg_fail(1)) SWIG_fail
;
38541 arg2
= (int)(SWIG_As_int(obj1
));
38542 if (SWIG_arg_fail(2)) SWIG_fail
;
38545 arg3
= (int)(SWIG_As_int(obj2
));
38546 if (SWIG_arg_fail(3)) SWIG_fail
;
38549 arg4
= (int)(SWIG_As_int(obj3
));
38550 if (SWIG_arg_fail(4)) SWIG_fail
;
38553 arg5
= (int)(SWIG_As_int(obj4
));
38554 if (SWIG_arg_fail(5)) SWIG_fail
;
38560 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38561 result
= (wxSizerItem
*)new_wxSizerItem(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
);
38563 wxPyEndAllowThreads(__tstate
);
38564 if (PyErr_Occurred()) SWIG_fail
;
38566 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizerItem
, 1);
38573 static PyObject
*_wrap_new_SizerItemSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38574 PyObject
*resultobj
;
38575 wxSizer
*arg1
= (wxSizer
*) 0 ;
38579 PyObject
*arg5
= (PyObject
*) NULL
;
38580 wxSizerItem
*result
;
38581 PyObject
* obj0
= 0 ;
38582 PyObject
* obj1
= 0 ;
38583 PyObject
* obj2
= 0 ;
38584 PyObject
* obj3
= 0 ;
38585 PyObject
* obj4
= 0 ;
38586 char *kwnames
[] = {
38587 (char *) "sizer",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
38590 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:new_SizerItemSizer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
38591 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
38592 if (SWIG_arg_fail(1)) SWIG_fail
;
38594 arg2
= (int)(SWIG_As_int(obj1
));
38595 if (SWIG_arg_fail(2)) SWIG_fail
;
38598 arg3
= (int)(SWIG_As_int(obj2
));
38599 if (SWIG_arg_fail(3)) SWIG_fail
;
38602 arg4
= (int)(SWIG_As_int(obj3
));
38603 if (SWIG_arg_fail(4)) SWIG_fail
;
38609 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38610 result
= (wxSizerItem
*)new_wxSizerItem(arg1
,arg2
,arg3
,arg4
,arg5
);
38612 wxPyEndAllowThreads(__tstate
);
38613 if (PyErr_Occurred()) SWIG_fail
;
38615 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizerItem
, 1);
38622 static PyObject
*_wrap_SizerItem_DeleteWindows(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38623 PyObject
*resultobj
;
38624 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
38625 PyObject
* obj0
= 0 ;
38626 char *kwnames
[] = {
38627 (char *) "self", NULL
38630 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_DeleteWindows",kwnames
,&obj0
)) goto fail
;
38631 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
38632 if (SWIG_arg_fail(1)) SWIG_fail
;
38634 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38635 (arg1
)->DeleteWindows();
38637 wxPyEndAllowThreads(__tstate
);
38638 if (PyErr_Occurred()) SWIG_fail
;
38640 Py_INCREF(Py_None
); resultobj
= Py_None
;
38647 static PyObject
*_wrap_SizerItem_DetachSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38648 PyObject
*resultobj
;
38649 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
38650 PyObject
* obj0
= 0 ;
38651 char *kwnames
[] = {
38652 (char *) "self", NULL
38655 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_DetachSizer",kwnames
,&obj0
)) goto fail
;
38656 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
38657 if (SWIG_arg_fail(1)) SWIG_fail
;
38659 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38660 (arg1
)->DetachSizer();
38662 wxPyEndAllowThreads(__tstate
);
38663 if (PyErr_Occurred()) SWIG_fail
;
38665 Py_INCREF(Py_None
); resultobj
= Py_None
;
38672 static PyObject
*_wrap_SizerItem_GetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38673 PyObject
*resultobj
;
38674 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
38676 PyObject
* obj0
= 0 ;
38677 char *kwnames
[] = {
38678 (char *) "self", NULL
38681 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetSize",kwnames
,&obj0
)) goto fail
;
38682 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
38683 if (SWIG_arg_fail(1)) SWIG_fail
;
38685 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38686 result
= (arg1
)->GetSize();
38688 wxPyEndAllowThreads(__tstate
);
38689 if (PyErr_Occurred()) SWIG_fail
;
38692 wxSize
* resultptr
;
38693 resultptr
= new wxSize((wxSize
&)(result
));
38694 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
38702 static PyObject
*_wrap_SizerItem_CalcMin(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_CalcMin",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
= (arg1
)->CalcMin();
38718 wxPyEndAllowThreads(__tstate
);
38719 if (PyErr_Occurred()) SWIG_fail
;
38722 wxSize
* resultptr
;
38723 resultptr
= new wxSize((wxSize
&)(result
));
38724 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
38732 static PyObject
*_wrap_SizerItem_SetDimension(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38733 PyObject
*resultobj
;
38734 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
38737 PyObject
* obj0
= 0 ;
38738 PyObject
* obj1
= 0 ;
38739 PyObject
* obj2
= 0 ;
38740 char *kwnames
[] = {
38741 (char *) "self",(char *) "pos",(char *) "size", NULL
38744 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SizerItem_SetDimension",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
38745 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
38746 if (SWIG_arg_fail(1)) SWIG_fail
;
38749 SWIG_Python_ConvertPtr(obj1
, (void **)&argp
, SWIGTYPE_p_wxPoint
, SWIG_POINTER_EXCEPTION
);
38750 if (SWIG_arg_fail(2)) SWIG_fail
;
38751 if (argp
== NULL
) {
38752 SWIG_null_ref("wxPoint");
38754 if (SWIG_arg_fail(2)) SWIG_fail
;
38759 SWIG_Python_ConvertPtr(obj2
, (void **)&argp
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
);
38760 if (SWIG_arg_fail(3)) SWIG_fail
;
38761 if (argp
== NULL
) {
38762 SWIG_null_ref("wxSize");
38764 if (SWIG_arg_fail(3)) SWIG_fail
;
38768 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38769 (arg1
)->SetDimension(arg2
,arg3
);
38771 wxPyEndAllowThreads(__tstate
);
38772 if (PyErr_Occurred()) SWIG_fail
;
38774 Py_INCREF(Py_None
); resultobj
= Py_None
;
38781 static PyObject
*_wrap_SizerItem_GetMinSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38782 PyObject
*resultobj
;
38783 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
38785 PyObject
* obj0
= 0 ;
38786 char *kwnames
[] = {
38787 (char *) "self", NULL
38790 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetMinSize",kwnames
,&obj0
)) goto fail
;
38791 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
38792 if (SWIG_arg_fail(1)) SWIG_fail
;
38794 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38795 result
= (arg1
)->GetMinSize();
38797 wxPyEndAllowThreads(__tstate
);
38798 if (PyErr_Occurred()) SWIG_fail
;
38801 wxSize
* resultptr
;
38802 resultptr
= new wxSize((wxSize
&)(result
));
38803 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
38811 static PyObject
*_wrap_SizerItem_GetMinSizeWithBorder(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38812 PyObject
*resultobj
;
38813 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
38815 PyObject
* obj0
= 0 ;
38816 char *kwnames
[] = {
38817 (char *) "self", NULL
38820 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetMinSizeWithBorder",kwnames
,&obj0
)) goto fail
;
38821 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
38822 if (SWIG_arg_fail(1)) SWIG_fail
;
38824 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38825 result
= ((wxSizerItem
const *)arg1
)->GetMinSizeWithBorder();
38827 wxPyEndAllowThreads(__tstate
);
38828 if (PyErr_Occurred()) SWIG_fail
;
38831 wxSize
* resultptr
;
38832 resultptr
= new wxSize((wxSize
&)(result
));
38833 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
38841 static PyObject
*_wrap_SizerItem_SetInitSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38842 PyObject
*resultobj
;
38843 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
38846 PyObject
* obj0
= 0 ;
38847 PyObject
* obj1
= 0 ;
38848 PyObject
* obj2
= 0 ;
38849 char *kwnames
[] = {
38850 (char *) "self",(char *) "x",(char *) "y", NULL
38853 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SizerItem_SetInitSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
38854 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
38855 if (SWIG_arg_fail(1)) SWIG_fail
;
38857 arg2
= (int)(SWIG_As_int(obj1
));
38858 if (SWIG_arg_fail(2)) SWIG_fail
;
38861 arg3
= (int)(SWIG_As_int(obj2
));
38862 if (SWIG_arg_fail(3)) SWIG_fail
;
38865 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38866 (arg1
)->SetInitSize(arg2
,arg3
);
38868 wxPyEndAllowThreads(__tstate
);
38869 if (PyErr_Occurred()) SWIG_fail
;
38871 Py_INCREF(Py_None
); resultobj
= Py_None
;
38878 static PyObject
*_wrap_SizerItem_SetRatioWH(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38879 PyObject
*resultobj
;
38880 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
38883 PyObject
* obj0
= 0 ;
38884 PyObject
* obj1
= 0 ;
38885 PyObject
* obj2
= 0 ;
38886 char *kwnames
[] = {
38887 (char *) "self",(char *) "width",(char *) "height", NULL
38890 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SizerItem_SetRatioWH",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
38891 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
38892 if (SWIG_arg_fail(1)) SWIG_fail
;
38894 arg2
= (int)(SWIG_As_int(obj1
));
38895 if (SWIG_arg_fail(2)) SWIG_fail
;
38898 arg3
= (int)(SWIG_As_int(obj2
));
38899 if (SWIG_arg_fail(3)) SWIG_fail
;
38902 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38903 (arg1
)->SetRatio(arg2
,arg3
);
38905 wxPyEndAllowThreads(__tstate
);
38906 if (PyErr_Occurred()) SWIG_fail
;
38908 Py_INCREF(Py_None
); resultobj
= Py_None
;
38915 static PyObject
*_wrap_SizerItem_SetRatioSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38916 PyObject
*resultobj
;
38917 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
38920 PyObject
* obj0
= 0 ;
38921 PyObject
* obj1
= 0 ;
38922 char *kwnames
[] = {
38923 (char *) "self",(char *) "size", NULL
38926 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetRatioSize",kwnames
,&obj0
,&obj1
)) goto fail
;
38927 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
38928 if (SWIG_arg_fail(1)) SWIG_fail
;
38931 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
38934 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38935 (arg1
)->SetRatio((wxSize
const &)*arg2
);
38937 wxPyEndAllowThreads(__tstate
);
38938 if (PyErr_Occurred()) SWIG_fail
;
38940 Py_INCREF(Py_None
); resultobj
= Py_None
;
38947 static PyObject
*_wrap_SizerItem_SetRatio(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38948 PyObject
*resultobj
;
38949 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
38951 PyObject
* obj0
= 0 ;
38952 PyObject
* obj1
= 0 ;
38953 char *kwnames
[] = {
38954 (char *) "self",(char *) "ratio", NULL
38957 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetRatio",kwnames
,&obj0
,&obj1
)) goto fail
;
38958 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
38959 if (SWIG_arg_fail(1)) SWIG_fail
;
38961 arg2
= (float)(SWIG_As_float(obj1
));
38962 if (SWIG_arg_fail(2)) SWIG_fail
;
38965 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38966 (arg1
)->SetRatio(arg2
);
38968 wxPyEndAllowThreads(__tstate
);
38969 if (PyErr_Occurred()) SWIG_fail
;
38971 Py_INCREF(Py_None
); resultobj
= Py_None
;
38978 static PyObject
*_wrap_SizerItem_GetRatio(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38979 PyObject
*resultobj
;
38980 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
38982 PyObject
* obj0
= 0 ;
38983 char *kwnames
[] = {
38984 (char *) "self", NULL
38987 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetRatio",kwnames
,&obj0
)) goto fail
;
38988 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
38989 if (SWIG_arg_fail(1)) SWIG_fail
;
38991 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38992 result
= (float)(arg1
)->GetRatio();
38994 wxPyEndAllowThreads(__tstate
);
38995 if (PyErr_Occurred()) SWIG_fail
;
38998 resultobj
= SWIG_From_float((float)(result
));
39006 static PyObject
*_wrap_SizerItem_GetRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39007 PyObject
*resultobj
;
39008 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
39010 PyObject
* obj0
= 0 ;
39011 char *kwnames
[] = {
39012 (char *) "self", NULL
39015 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetRect",kwnames
,&obj0
)) goto fail
;
39016 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
39017 if (SWIG_arg_fail(1)) SWIG_fail
;
39019 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39020 result
= (arg1
)->GetRect();
39022 wxPyEndAllowThreads(__tstate
);
39023 if (PyErr_Occurred()) SWIG_fail
;
39026 wxRect
* resultptr
;
39027 resultptr
= new wxRect((wxRect
&)(result
));
39028 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
39036 static PyObject
*_wrap_SizerItem_IsWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39037 PyObject
*resultobj
;
39038 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
39040 PyObject
* obj0
= 0 ;
39041 char *kwnames
[] = {
39042 (char *) "self", NULL
39045 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_IsWindow",kwnames
,&obj0
)) goto fail
;
39046 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
39047 if (SWIG_arg_fail(1)) SWIG_fail
;
39049 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39050 result
= (bool)(arg1
)->IsWindow();
39052 wxPyEndAllowThreads(__tstate
);
39053 if (PyErr_Occurred()) SWIG_fail
;
39056 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
39064 static PyObject
*_wrap_SizerItem_IsSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39065 PyObject
*resultobj
;
39066 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
39068 PyObject
* obj0
= 0 ;
39069 char *kwnames
[] = {
39070 (char *) "self", NULL
39073 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_IsSizer",kwnames
,&obj0
)) goto fail
;
39074 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
39075 if (SWIG_arg_fail(1)) SWIG_fail
;
39077 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39078 result
= (bool)(arg1
)->IsSizer();
39080 wxPyEndAllowThreads(__tstate
);
39081 if (PyErr_Occurred()) SWIG_fail
;
39084 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
39092 static PyObject
*_wrap_SizerItem_IsSpacer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39093 PyObject
*resultobj
;
39094 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
39096 PyObject
* obj0
= 0 ;
39097 char *kwnames
[] = {
39098 (char *) "self", NULL
39101 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_IsSpacer",kwnames
,&obj0
)) goto fail
;
39102 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
39103 if (SWIG_arg_fail(1)) SWIG_fail
;
39105 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39106 result
= (bool)(arg1
)->IsSpacer();
39108 wxPyEndAllowThreads(__tstate
);
39109 if (PyErr_Occurred()) SWIG_fail
;
39112 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
39120 static PyObject
*_wrap_SizerItem_SetProportion(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39121 PyObject
*resultobj
;
39122 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
39124 PyObject
* obj0
= 0 ;
39125 PyObject
* obj1
= 0 ;
39126 char *kwnames
[] = {
39127 (char *) "self",(char *) "proportion", NULL
39130 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetProportion",kwnames
,&obj0
,&obj1
)) goto fail
;
39131 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
39132 if (SWIG_arg_fail(1)) SWIG_fail
;
39134 arg2
= (int)(SWIG_As_int(obj1
));
39135 if (SWIG_arg_fail(2)) SWIG_fail
;
39138 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39139 (arg1
)->SetProportion(arg2
);
39141 wxPyEndAllowThreads(__tstate
);
39142 if (PyErr_Occurred()) SWIG_fail
;
39144 Py_INCREF(Py_None
); resultobj
= Py_None
;
39151 static PyObject
*_wrap_SizerItem_GetProportion(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39152 PyObject
*resultobj
;
39153 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
39155 PyObject
* obj0
= 0 ;
39156 char *kwnames
[] = {
39157 (char *) "self", NULL
39160 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetProportion",kwnames
,&obj0
)) goto fail
;
39161 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
39162 if (SWIG_arg_fail(1)) SWIG_fail
;
39164 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39165 result
= (int)(arg1
)->GetProportion();
39167 wxPyEndAllowThreads(__tstate
);
39168 if (PyErr_Occurred()) SWIG_fail
;
39171 resultobj
= SWIG_From_int((int)(result
));
39179 static PyObject
*_wrap_SizerItem_SetFlag(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39180 PyObject
*resultobj
;
39181 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
39183 PyObject
* obj0
= 0 ;
39184 PyObject
* obj1
= 0 ;
39185 char *kwnames
[] = {
39186 (char *) "self",(char *) "flag", NULL
39189 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetFlag",kwnames
,&obj0
,&obj1
)) goto fail
;
39190 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
39191 if (SWIG_arg_fail(1)) SWIG_fail
;
39193 arg2
= (int)(SWIG_As_int(obj1
));
39194 if (SWIG_arg_fail(2)) SWIG_fail
;
39197 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39198 (arg1
)->SetFlag(arg2
);
39200 wxPyEndAllowThreads(__tstate
);
39201 if (PyErr_Occurred()) SWIG_fail
;
39203 Py_INCREF(Py_None
); resultobj
= Py_None
;
39210 static PyObject
*_wrap_SizerItem_GetFlag(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39211 PyObject
*resultobj
;
39212 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
39214 PyObject
* obj0
= 0 ;
39215 char *kwnames
[] = {
39216 (char *) "self", NULL
39219 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetFlag",kwnames
,&obj0
)) goto fail
;
39220 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
39221 if (SWIG_arg_fail(1)) SWIG_fail
;
39223 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39224 result
= (int)(arg1
)->GetFlag();
39226 wxPyEndAllowThreads(__tstate
);
39227 if (PyErr_Occurred()) SWIG_fail
;
39230 resultobj
= SWIG_From_int((int)(result
));
39238 static PyObject
*_wrap_SizerItem_SetBorder(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39239 PyObject
*resultobj
;
39240 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
39242 PyObject
* obj0
= 0 ;
39243 PyObject
* obj1
= 0 ;
39244 char *kwnames
[] = {
39245 (char *) "self",(char *) "border", NULL
39248 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetBorder",kwnames
,&obj0
,&obj1
)) goto fail
;
39249 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
39250 if (SWIG_arg_fail(1)) SWIG_fail
;
39252 arg2
= (int)(SWIG_As_int(obj1
));
39253 if (SWIG_arg_fail(2)) SWIG_fail
;
39256 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39257 (arg1
)->SetBorder(arg2
);
39259 wxPyEndAllowThreads(__tstate
);
39260 if (PyErr_Occurred()) SWIG_fail
;
39262 Py_INCREF(Py_None
); resultobj
= Py_None
;
39269 static PyObject
*_wrap_SizerItem_GetBorder(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39270 PyObject
*resultobj
;
39271 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
39273 PyObject
* obj0
= 0 ;
39274 char *kwnames
[] = {
39275 (char *) "self", NULL
39278 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetBorder",kwnames
,&obj0
)) goto fail
;
39279 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
39280 if (SWIG_arg_fail(1)) SWIG_fail
;
39282 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39283 result
= (int)(arg1
)->GetBorder();
39285 wxPyEndAllowThreads(__tstate
);
39286 if (PyErr_Occurred()) SWIG_fail
;
39289 resultobj
= SWIG_From_int((int)(result
));
39297 static PyObject
*_wrap_SizerItem_GetWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39298 PyObject
*resultobj
;
39299 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
39301 PyObject
* obj0
= 0 ;
39302 char *kwnames
[] = {
39303 (char *) "self", NULL
39306 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetWindow",kwnames
,&obj0
)) goto fail
;
39307 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
39308 if (SWIG_arg_fail(1)) SWIG_fail
;
39310 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39311 result
= (wxWindow
*)(arg1
)->GetWindow();
39313 wxPyEndAllowThreads(__tstate
);
39314 if (PyErr_Occurred()) SWIG_fail
;
39317 resultobj
= wxPyMake_wxObject(result
, 0);
39325 static PyObject
*_wrap_SizerItem_SetWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39326 PyObject
*resultobj
;
39327 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
39328 wxWindow
*arg2
= (wxWindow
*) 0 ;
39329 PyObject
* obj0
= 0 ;
39330 PyObject
* obj1
= 0 ;
39331 char *kwnames
[] = {
39332 (char *) "self",(char *) "window", NULL
39335 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
39336 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
39337 if (SWIG_arg_fail(1)) SWIG_fail
;
39338 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
39339 if (SWIG_arg_fail(2)) SWIG_fail
;
39341 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39342 (arg1
)->SetWindow(arg2
);
39344 wxPyEndAllowThreads(__tstate
);
39345 if (PyErr_Occurred()) SWIG_fail
;
39347 Py_INCREF(Py_None
); resultobj
= Py_None
;
39354 static PyObject
*_wrap_SizerItem_GetSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39355 PyObject
*resultobj
;
39356 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
39358 PyObject
* obj0
= 0 ;
39359 char *kwnames
[] = {
39360 (char *) "self", NULL
39363 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetSizer",kwnames
,&obj0
)) goto fail
;
39364 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
39365 if (SWIG_arg_fail(1)) SWIG_fail
;
39367 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39368 result
= (wxSizer
*)(arg1
)->GetSizer();
39370 wxPyEndAllowThreads(__tstate
);
39371 if (PyErr_Occurred()) SWIG_fail
;
39374 resultobj
= wxPyMake_wxObject(result
, 0);
39382 static PyObject
*_wrap_SizerItem_SetSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39383 PyObject
*resultobj
;
39384 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
39385 wxSizer
*arg2
= (wxSizer
*) 0 ;
39386 PyObject
* obj0
= 0 ;
39387 PyObject
* obj1
= 0 ;
39388 char *kwnames
[] = {
39389 (char *) "self",(char *) "sizer", NULL
39392 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetSizer",kwnames
,&obj0
,&obj1
)) goto fail
;
39393 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
39394 if (SWIG_arg_fail(1)) SWIG_fail
;
39395 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
39396 if (SWIG_arg_fail(2)) SWIG_fail
;
39398 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39399 (arg1
)->SetSizer(arg2
);
39401 wxPyEndAllowThreads(__tstate
);
39402 if (PyErr_Occurred()) SWIG_fail
;
39404 Py_INCREF(Py_None
); resultobj
= Py_None
;
39411 static PyObject
*_wrap_SizerItem_GetSpacer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39412 PyObject
*resultobj
;
39413 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
39415 PyObject
* obj0
= 0 ;
39416 char *kwnames
[] = {
39417 (char *) "self", NULL
39420 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetSpacer",kwnames
,&obj0
)) goto fail
;
39421 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
39422 if (SWIG_arg_fail(1)) SWIG_fail
;
39424 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39426 wxSize
const &_result_ref
= (arg1
)->GetSpacer();
39427 result
= (wxSize
*) &_result_ref
;
39430 wxPyEndAllowThreads(__tstate
);
39431 if (PyErr_Occurred()) SWIG_fail
;
39433 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSize
, 0);
39440 static PyObject
*_wrap_SizerItem_SetSpacer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39441 PyObject
*resultobj
;
39442 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
39445 PyObject
* obj0
= 0 ;
39446 PyObject
* obj1
= 0 ;
39447 char *kwnames
[] = {
39448 (char *) "self",(char *) "size", NULL
39451 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetSpacer",kwnames
,&obj0
,&obj1
)) goto fail
;
39452 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
39453 if (SWIG_arg_fail(1)) SWIG_fail
;
39456 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
39459 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39460 (arg1
)->SetSpacer((wxSize
const &)*arg2
);
39462 wxPyEndAllowThreads(__tstate
);
39463 if (PyErr_Occurred()) SWIG_fail
;
39465 Py_INCREF(Py_None
); resultobj
= Py_None
;
39472 static PyObject
*_wrap_SizerItem_Show(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39473 PyObject
*resultobj
;
39474 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
39476 PyObject
* obj0
= 0 ;
39477 PyObject
* obj1
= 0 ;
39478 char *kwnames
[] = {
39479 (char *) "self",(char *) "show", NULL
39482 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_Show",kwnames
,&obj0
,&obj1
)) goto fail
;
39483 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
39484 if (SWIG_arg_fail(1)) SWIG_fail
;
39486 arg2
= (bool)(SWIG_As_bool(obj1
));
39487 if (SWIG_arg_fail(2)) SWIG_fail
;
39490 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39491 (arg1
)->Show(arg2
);
39493 wxPyEndAllowThreads(__tstate
);
39494 if (PyErr_Occurred()) SWIG_fail
;
39496 Py_INCREF(Py_None
); resultobj
= Py_None
;
39503 static PyObject
*_wrap_SizerItem_IsShown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39504 PyObject
*resultobj
;
39505 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
39507 PyObject
* obj0
= 0 ;
39508 char *kwnames
[] = {
39509 (char *) "self", NULL
39512 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_IsShown",kwnames
,&obj0
)) goto fail
;
39513 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
39514 if (SWIG_arg_fail(1)) SWIG_fail
;
39516 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39517 result
= (bool)(arg1
)->IsShown();
39519 wxPyEndAllowThreads(__tstate
);
39520 if (PyErr_Occurred()) SWIG_fail
;
39523 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
39531 static PyObject
*_wrap_SizerItem_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39532 PyObject
*resultobj
;
39533 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
39535 PyObject
* obj0
= 0 ;
39536 char *kwnames
[] = {
39537 (char *) "self", NULL
39540 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetPosition",kwnames
,&obj0
)) goto fail
;
39541 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
39542 if (SWIG_arg_fail(1)) SWIG_fail
;
39544 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39545 result
= (arg1
)->GetPosition();
39547 wxPyEndAllowThreads(__tstate
);
39548 if (PyErr_Occurred()) SWIG_fail
;
39551 wxPoint
* resultptr
;
39552 resultptr
= new wxPoint((wxPoint
&)(result
));
39553 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
39561 static PyObject
*_wrap_SizerItem_GetUserData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39562 PyObject
*resultobj
;
39563 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
39565 PyObject
* obj0
= 0 ;
39566 char *kwnames
[] = {
39567 (char *) "self", NULL
39570 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetUserData",kwnames
,&obj0
)) goto fail
;
39571 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
39572 if (SWIG_arg_fail(1)) SWIG_fail
;
39574 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39575 result
= (PyObject
*)wxSizerItem_GetUserData(arg1
);
39577 wxPyEndAllowThreads(__tstate
);
39578 if (PyErr_Occurred()) SWIG_fail
;
39580 resultobj
= result
;
39587 static PyObject
* SizerItem_swigregister(PyObject
*, PyObject
*args
) {
39589 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
39590 SWIG_TypeClientData(SWIGTYPE_p_wxSizerItem
, obj
);
39592 return Py_BuildValue((char *)"");
39594 static PyObject
*_wrap_Sizer__setOORInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39595 PyObject
*resultobj
;
39596 wxSizer
*arg1
= (wxSizer
*) 0 ;
39597 PyObject
*arg2
= (PyObject
*) 0 ;
39598 PyObject
* obj0
= 0 ;
39599 PyObject
* obj1
= 0 ;
39600 char *kwnames
[] = {
39601 (char *) "self",(char *) "_self", NULL
39604 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer__setOORInfo",kwnames
,&obj0
,&obj1
)) goto fail
;
39605 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
39606 if (SWIG_arg_fail(1)) SWIG_fail
;
39609 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39610 wxSizer__setOORInfo(arg1
,arg2
);
39612 wxPyEndAllowThreads(__tstate
);
39613 if (PyErr_Occurred()) SWIG_fail
;
39615 Py_INCREF(Py_None
); resultobj
= Py_None
;
39622 static PyObject
*_wrap_Sizer_Add(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39623 PyObject
*resultobj
;
39624 wxSizer
*arg1
= (wxSizer
*) 0 ;
39625 PyObject
*arg2
= (PyObject
*) 0 ;
39626 int arg3
= (int) 0 ;
39627 int arg4
= (int) 0 ;
39628 int arg5
= (int) 0 ;
39629 PyObject
*arg6
= (PyObject
*) NULL
;
39630 wxSizerItem
*result
;
39631 PyObject
* obj0
= 0 ;
39632 PyObject
* obj1
= 0 ;
39633 PyObject
* obj2
= 0 ;
39634 PyObject
* obj3
= 0 ;
39635 PyObject
* obj4
= 0 ;
39636 PyObject
* obj5
= 0 ;
39637 char *kwnames
[] = {
39638 (char *) "self",(char *) "item",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
39641 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:Sizer_Add",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
39642 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
39643 if (SWIG_arg_fail(1)) SWIG_fail
;
39647 arg3
= (int)(SWIG_As_int(obj2
));
39648 if (SWIG_arg_fail(3)) SWIG_fail
;
39653 arg4
= (int)(SWIG_As_int(obj3
));
39654 if (SWIG_arg_fail(4)) SWIG_fail
;
39659 arg5
= (int)(SWIG_As_int(obj4
));
39660 if (SWIG_arg_fail(5)) SWIG_fail
;
39667 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39668 result
= (wxSizerItem
*)wxSizer_Add(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
);
39670 wxPyEndAllowThreads(__tstate
);
39671 if (PyErr_Occurred()) SWIG_fail
;
39673 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizerItem
, 0);
39680 static PyObject
*_wrap_Sizer_Insert(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39681 PyObject
*resultobj
;
39682 wxSizer
*arg1
= (wxSizer
*) 0 ;
39684 PyObject
*arg3
= (PyObject
*) 0 ;
39685 int arg4
= (int) 0 ;
39686 int arg5
= (int) 0 ;
39687 int arg6
= (int) 0 ;
39688 PyObject
*arg7
= (PyObject
*) NULL
;
39689 wxSizerItem
*result
;
39690 PyObject
* obj0
= 0 ;
39691 PyObject
* obj1
= 0 ;
39692 PyObject
* obj2
= 0 ;
39693 PyObject
* obj3
= 0 ;
39694 PyObject
* obj4
= 0 ;
39695 PyObject
* obj5
= 0 ;
39696 PyObject
* obj6
= 0 ;
39697 char *kwnames
[] = {
39698 (char *) "self",(char *) "before",(char *) "item",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
39701 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:Sizer_Insert",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
39702 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
39703 if (SWIG_arg_fail(1)) SWIG_fail
;
39705 arg2
= (int)(SWIG_As_int(obj1
));
39706 if (SWIG_arg_fail(2)) SWIG_fail
;
39711 arg4
= (int)(SWIG_As_int(obj3
));
39712 if (SWIG_arg_fail(4)) SWIG_fail
;
39717 arg5
= (int)(SWIG_As_int(obj4
));
39718 if (SWIG_arg_fail(5)) SWIG_fail
;
39723 arg6
= (int)(SWIG_As_int(obj5
));
39724 if (SWIG_arg_fail(6)) SWIG_fail
;
39731 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39732 result
= (wxSizerItem
*)wxSizer_Insert(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
39734 wxPyEndAllowThreads(__tstate
);
39735 if (PyErr_Occurred()) SWIG_fail
;
39737 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizerItem
, 0);
39744 static PyObject
*_wrap_Sizer_Prepend(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39745 PyObject
*resultobj
;
39746 wxSizer
*arg1
= (wxSizer
*) 0 ;
39747 PyObject
*arg2
= (PyObject
*) 0 ;
39748 int arg3
= (int) 0 ;
39749 int arg4
= (int) 0 ;
39750 int arg5
= (int) 0 ;
39751 PyObject
*arg6
= (PyObject
*) NULL
;
39752 wxSizerItem
*result
;
39753 PyObject
* obj0
= 0 ;
39754 PyObject
* obj1
= 0 ;
39755 PyObject
* obj2
= 0 ;
39756 PyObject
* obj3
= 0 ;
39757 PyObject
* obj4
= 0 ;
39758 PyObject
* obj5
= 0 ;
39759 char *kwnames
[] = {
39760 (char *) "self",(char *) "item",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
39763 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:Sizer_Prepend",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
39764 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
39765 if (SWIG_arg_fail(1)) SWIG_fail
;
39769 arg3
= (int)(SWIG_As_int(obj2
));
39770 if (SWIG_arg_fail(3)) SWIG_fail
;
39775 arg4
= (int)(SWIG_As_int(obj3
));
39776 if (SWIG_arg_fail(4)) SWIG_fail
;
39781 arg5
= (int)(SWIG_As_int(obj4
));
39782 if (SWIG_arg_fail(5)) SWIG_fail
;
39789 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39790 result
= (wxSizerItem
*)wxSizer_Prepend(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
);
39792 wxPyEndAllowThreads(__tstate
);
39793 if (PyErr_Occurred()) SWIG_fail
;
39795 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizerItem
, 0);
39802 static PyObject
*_wrap_Sizer_Remove(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39803 PyObject
*resultobj
;
39804 wxSizer
*arg1
= (wxSizer
*) 0 ;
39805 PyObject
*arg2
= (PyObject
*) 0 ;
39807 PyObject
* obj0
= 0 ;
39808 PyObject
* obj1
= 0 ;
39809 char *kwnames
[] = {
39810 (char *) "self",(char *) "item", NULL
39813 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_Remove",kwnames
,&obj0
,&obj1
)) goto fail
;
39814 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
39815 if (SWIG_arg_fail(1)) SWIG_fail
;
39818 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39819 result
= (bool)wxSizer_Remove(arg1
,arg2
);
39821 wxPyEndAllowThreads(__tstate
);
39822 if (PyErr_Occurred()) SWIG_fail
;
39825 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
39833 static PyObject
*_wrap_Sizer_Detach(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39834 PyObject
*resultobj
;
39835 wxSizer
*arg1
= (wxSizer
*) 0 ;
39836 PyObject
*arg2
= (PyObject
*) 0 ;
39838 PyObject
* obj0
= 0 ;
39839 PyObject
* obj1
= 0 ;
39840 char *kwnames
[] = {
39841 (char *) "self",(char *) "item", NULL
39844 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_Detach",kwnames
,&obj0
,&obj1
)) goto fail
;
39845 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
39846 if (SWIG_arg_fail(1)) SWIG_fail
;
39849 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39850 result
= (bool)wxSizer_Detach(arg1
,arg2
);
39852 wxPyEndAllowThreads(__tstate
);
39853 if (PyErr_Occurred()) SWIG_fail
;
39856 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
39864 static PyObject
*_wrap_Sizer_GetItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39865 PyObject
*resultobj
;
39866 wxSizer
*arg1
= (wxSizer
*) 0 ;
39867 PyObject
*arg2
= (PyObject
*) 0 ;
39868 wxSizerItem
*result
;
39869 PyObject
* obj0
= 0 ;
39870 PyObject
* obj1
= 0 ;
39871 char *kwnames
[] = {
39872 (char *) "self",(char *) "item", NULL
39875 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_GetItem",kwnames
,&obj0
,&obj1
)) goto fail
;
39876 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
39877 if (SWIG_arg_fail(1)) SWIG_fail
;
39880 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39881 result
= (wxSizerItem
*)wxSizer_GetItem(arg1
,arg2
);
39883 wxPyEndAllowThreads(__tstate
);
39884 if (PyErr_Occurred()) SWIG_fail
;
39886 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizerItem
, 0);
39893 static PyObject
*_wrap_Sizer__SetItemMinSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39894 PyObject
*resultobj
;
39895 wxSizer
*arg1
= (wxSizer
*) 0 ;
39896 PyObject
*arg2
= (PyObject
*) 0 ;
39899 PyObject
* obj0
= 0 ;
39900 PyObject
* obj1
= 0 ;
39901 PyObject
* obj2
= 0 ;
39902 char *kwnames
[] = {
39903 (char *) "self",(char *) "item",(char *) "size", NULL
39906 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Sizer__SetItemMinSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
39907 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
39908 if (SWIG_arg_fail(1)) SWIG_fail
;
39912 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
39915 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39916 wxSizer__SetItemMinSize(arg1
,arg2
,(wxSize
const &)*arg3
);
39918 wxPyEndAllowThreads(__tstate
);
39919 if (PyErr_Occurred()) SWIG_fail
;
39921 Py_INCREF(Py_None
); resultobj
= Py_None
;
39928 static PyObject
*_wrap_Sizer_AddItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39929 PyObject
*resultobj
;
39930 wxSizer
*arg1
= (wxSizer
*) 0 ;
39931 wxSizerItem
*arg2
= (wxSizerItem
*) 0 ;
39932 wxSizerItem
*result
;
39933 PyObject
* obj0
= 0 ;
39934 PyObject
* obj1
= 0 ;
39935 char *kwnames
[] = {
39936 (char *) "self",(char *) "item", NULL
39939 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_AddItem",kwnames
,&obj0
,&obj1
)) goto fail
;
39940 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
39941 if (SWIG_arg_fail(1)) SWIG_fail
;
39942 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
39943 if (SWIG_arg_fail(2)) SWIG_fail
;
39945 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39946 result
= (wxSizerItem
*)(arg1
)->Add(arg2
);
39948 wxPyEndAllowThreads(__tstate
);
39949 if (PyErr_Occurred()) SWIG_fail
;
39951 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizerItem
, 0);
39958 static PyObject
*_wrap_Sizer_InsertItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39959 PyObject
*resultobj
;
39960 wxSizer
*arg1
= (wxSizer
*) 0 ;
39962 wxSizerItem
*arg3
= (wxSizerItem
*) 0 ;
39963 wxSizerItem
*result
;
39964 PyObject
* obj0
= 0 ;
39965 PyObject
* obj1
= 0 ;
39966 PyObject
* obj2
= 0 ;
39967 char *kwnames
[] = {
39968 (char *) "self",(char *) "index",(char *) "item", NULL
39971 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Sizer_InsertItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
39972 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
39973 if (SWIG_arg_fail(1)) SWIG_fail
;
39975 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
39976 if (SWIG_arg_fail(2)) SWIG_fail
;
39978 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
39979 if (SWIG_arg_fail(3)) SWIG_fail
;
39981 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39982 result
= (wxSizerItem
*)(arg1
)->Insert(arg2
,arg3
);
39984 wxPyEndAllowThreads(__tstate
);
39985 if (PyErr_Occurred()) SWIG_fail
;
39987 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizerItem
, 0);
39994 static PyObject
*_wrap_Sizer_PrependItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39995 PyObject
*resultobj
;
39996 wxSizer
*arg1
= (wxSizer
*) 0 ;
39997 wxSizerItem
*arg2
= (wxSizerItem
*) 0 ;
39998 wxSizerItem
*result
;
39999 PyObject
* obj0
= 0 ;
40000 PyObject
* obj1
= 0 ;
40001 char *kwnames
[] = {
40002 (char *) "self",(char *) "item", NULL
40005 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_PrependItem",kwnames
,&obj0
,&obj1
)) goto fail
;
40006 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
40007 if (SWIG_arg_fail(1)) SWIG_fail
;
40008 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
40009 if (SWIG_arg_fail(2)) SWIG_fail
;
40011 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40012 result
= (wxSizerItem
*)(arg1
)->Prepend(arg2
);
40014 wxPyEndAllowThreads(__tstate
);
40015 if (PyErr_Occurred()) SWIG_fail
;
40017 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizerItem
, 0);
40024 static PyObject
*_wrap_Sizer_SetDimension(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40025 PyObject
*resultobj
;
40026 wxSizer
*arg1
= (wxSizer
*) 0 ;
40031 PyObject
* obj0
= 0 ;
40032 PyObject
* obj1
= 0 ;
40033 PyObject
* obj2
= 0 ;
40034 PyObject
* obj3
= 0 ;
40035 PyObject
* obj4
= 0 ;
40036 char *kwnames
[] = {
40037 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
40040 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Sizer_SetDimension",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
40041 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
40042 if (SWIG_arg_fail(1)) SWIG_fail
;
40044 arg2
= (int)(SWIG_As_int(obj1
));
40045 if (SWIG_arg_fail(2)) SWIG_fail
;
40048 arg3
= (int)(SWIG_As_int(obj2
));
40049 if (SWIG_arg_fail(3)) SWIG_fail
;
40052 arg4
= (int)(SWIG_As_int(obj3
));
40053 if (SWIG_arg_fail(4)) SWIG_fail
;
40056 arg5
= (int)(SWIG_As_int(obj4
));
40057 if (SWIG_arg_fail(5)) SWIG_fail
;
40060 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40061 (arg1
)->SetDimension(arg2
,arg3
,arg4
,arg5
);
40063 wxPyEndAllowThreads(__tstate
);
40064 if (PyErr_Occurred()) SWIG_fail
;
40066 Py_INCREF(Py_None
); resultobj
= Py_None
;
40073 static PyObject
*_wrap_Sizer_SetMinSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40074 PyObject
*resultobj
;
40075 wxSizer
*arg1
= (wxSizer
*) 0 ;
40078 PyObject
* obj0
= 0 ;
40079 PyObject
* obj1
= 0 ;
40080 char *kwnames
[] = {
40081 (char *) "self",(char *) "size", NULL
40084 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_SetMinSize",kwnames
,&obj0
,&obj1
)) goto fail
;
40085 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
40086 if (SWIG_arg_fail(1)) SWIG_fail
;
40089 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
40092 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40093 (arg1
)->SetMinSize((wxSize
const &)*arg2
);
40095 wxPyEndAllowThreads(__tstate
);
40096 if (PyErr_Occurred()) SWIG_fail
;
40098 Py_INCREF(Py_None
); resultobj
= Py_None
;
40105 static PyObject
*_wrap_Sizer_GetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40106 PyObject
*resultobj
;
40107 wxSizer
*arg1
= (wxSizer
*) 0 ;
40109 PyObject
* obj0
= 0 ;
40110 char *kwnames
[] = {
40111 (char *) "self", NULL
40114 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_GetSize",kwnames
,&obj0
)) goto fail
;
40115 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
40116 if (SWIG_arg_fail(1)) SWIG_fail
;
40118 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40119 result
= (arg1
)->GetSize();
40121 wxPyEndAllowThreads(__tstate
);
40122 if (PyErr_Occurred()) SWIG_fail
;
40125 wxSize
* resultptr
;
40126 resultptr
= new wxSize((wxSize
&)(result
));
40127 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
40135 static PyObject
*_wrap_Sizer_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40136 PyObject
*resultobj
;
40137 wxSizer
*arg1
= (wxSizer
*) 0 ;
40139 PyObject
* obj0
= 0 ;
40140 char *kwnames
[] = {
40141 (char *) "self", NULL
40144 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_GetPosition",kwnames
,&obj0
)) goto fail
;
40145 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
40146 if (SWIG_arg_fail(1)) SWIG_fail
;
40148 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40149 result
= (arg1
)->GetPosition();
40151 wxPyEndAllowThreads(__tstate
);
40152 if (PyErr_Occurred()) SWIG_fail
;
40155 wxPoint
* resultptr
;
40156 resultptr
= new wxPoint((wxPoint
&)(result
));
40157 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
40165 static PyObject
*_wrap_Sizer_GetMinSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40166 PyObject
*resultobj
;
40167 wxSizer
*arg1
= (wxSizer
*) 0 ;
40169 PyObject
* obj0
= 0 ;
40170 char *kwnames
[] = {
40171 (char *) "self", NULL
40174 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_GetMinSize",kwnames
,&obj0
)) goto fail
;
40175 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
40176 if (SWIG_arg_fail(1)) SWIG_fail
;
40178 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40179 result
= (arg1
)->GetMinSize();
40181 wxPyEndAllowThreads(__tstate
);
40182 if (PyErr_Occurred()) SWIG_fail
;
40185 wxSize
* resultptr
;
40186 resultptr
= new wxSize((wxSize
&)(result
));
40187 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
40195 static PyObject
*_wrap_Sizer_RecalcSizes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40196 PyObject
*resultobj
;
40197 wxSizer
*arg1
= (wxSizer
*) 0 ;
40198 PyObject
* obj0
= 0 ;
40199 char *kwnames
[] = {
40200 (char *) "self", NULL
40203 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_RecalcSizes",kwnames
,&obj0
)) goto fail
;
40204 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
40205 if (SWIG_arg_fail(1)) SWIG_fail
;
40207 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40208 (arg1
)->RecalcSizes();
40210 wxPyEndAllowThreads(__tstate
);
40211 if (PyErr_Occurred()) SWIG_fail
;
40213 Py_INCREF(Py_None
); resultobj
= Py_None
;
40220 static PyObject
*_wrap_Sizer_CalcMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40221 PyObject
*resultobj
;
40222 wxSizer
*arg1
= (wxSizer
*) 0 ;
40224 PyObject
* obj0
= 0 ;
40225 char *kwnames
[] = {
40226 (char *) "self", NULL
40229 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_CalcMin",kwnames
,&obj0
)) goto fail
;
40230 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
40231 if (SWIG_arg_fail(1)) SWIG_fail
;
40233 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40234 result
= (arg1
)->CalcMin();
40236 wxPyEndAllowThreads(__tstate
);
40237 if (PyErr_Occurred()) SWIG_fail
;
40240 wxSize
* resultptr
;
40241 resultptr
= new wxSize((wxSize
&)(result
));
40242 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
40250 static PyObject
*_wrap_Sizer_Layout(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40251 PyObject
*resultobj
;
40252 wxSizer
*arg1
= (wxSizer
*) 0 ;
40253 PyObject
* obj0
= 0 ;
40254 char *kwnames
[] = {
40255 (char *) "self", NULL
40258 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_Layout",kwnames
,&obj0
)) goto fail
;
40259 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
40260 if (SWIG_arg_fail(1)) SWIG_fail
;
40262 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40265 wxPyEndAllowThreads(__tstate
);
40266 if (PyErr_Occurred()) SWIG_fail
;
40268 Py_INCREF(Py_None
); resultobj
= Py_None
;
40275 static PyObject
*_wrap_Sizer_Fit(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40276 PyObject
*resultobj
;
40277 wxSizer
*arg1
= (wxSizer
*) 0 ;
40278 wxWindow
*arg2
= (wxWindow
*) 0 ;
40280 PyObject
* obj0
= 0 ;
40281 PyObject
* obj1
= 0 ;
40282 char *kwnames
[] = {
40283 (char *) "self",(char *) "window", NULL
40286 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_Fit",kwnames
,&obj0
,&obj1
)) goto fail
;
40287 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
40288 if (SWIG_arg_fail(1)) SWIG_fail
;
40289 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
40290 if (SWIG_arg_fail(2)) SWIG_fail
;
40292 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40293 result
= (arg1
)->Fit(arg2
);
40295 wxPyEndAllowThreads(__tstate
);
40296 if (PyErr_Occurred()) SWIG_fail
;
40299 wxSize
* resultptr
;
40300 resultptr
= new wxSize((wxSize
&)(result
));
40301 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
40309 static PyObject
*_wrap_Sizer_FitInside(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40310 PyObject
*resultobj
;
40311 wxSizer
*arg1
= (wxSizer
*) 0 ;
40312 wxWindow
*arg2
= (wxWindow
*) 0 ;
40313 PyObject
* obj0
= 0 ;
40314 PyObject
* obj1
= 0 ;
40315 char *kwnames
[] = {
40316 (char *) "self",(char *) "window", NULL
40319 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_FitInside",kwnames
,&obj0
,&obj1
)) goto fail
;
40320 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
40321 if (SWIG_arg_fail(1)) SWIG_fail
;
40322 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
40323 if (SWIG_arg_fail(2)) SWIG_fail
;
40325 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40326 (arg1
)->FitInside(arg2
);
40328 wxPyEndAllowThreads(__tstate
);
40329 if (PyErr_Occurred()) SWIG_fail
;
40331 Py_INCREF(Py_None
); resultobj
= Py_None
;
40338 static PyObject
*_wrap_Sizer_SetSizeHints(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40339 PyObject
*resultobj
;
40340 wxSizer
*arg1
= (wxSizer
*) 0 ;
40341 wxWindow
*arg2
= (wxWindow
*) 0 ;
40342 PyObject
* obj0
= 0 ;
40343 PyObject
* obj1
= 0 ;
40344 char *kwnames
[] = {
40345 (char *) "self",(char *) "window", NULL
40348 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_SetSizeHints",kwnames
,&obj0
,&obj1
)) goto fail
;
40349 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
40350 if (SWIG_arg_fail(1)) SWIG_fail
;
40351 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
40352 if (SWIG_arg_fail(2)) SWIG_fail
;
40354 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40355 (arg1
)->SetSizeHints(arg2
);
40357 wxPyEndAllowThreads(__tstate
);
40358 if (PyErr_Occurred()) SWIG_fail
;
40360 Py_INCREF(Py_None
); resultobj
= Py_None
;
40367 static PyObject
*_wrap_Sizer_SetVirtualSizeHints(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40368 PyObject
*resultobj
;
40369 wxSizer
*arg1
= (wxSizer
*) 0 ;
40370 wxWindow
*arg2
= (wxWindow
*) 0 ;
40371 PyObject
* obj0
= 0 ;
40372 PyObject
* obj1
= 0 ;
40373 char *kwnames
[] = {
40374 (char *) "self",(char *) "window", NULL
40377 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_SetVirtualSizeHints",kwnames
,&obj0
,&obj1
)) goto fail
;
40378 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
40379 if (SWIG_arg_fail(1)) SWIG_fail
;
40380 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
40381 if (SWIG_arg_fail(2)) SWIG_fail
;
40383 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40384 (arg1
)->SetVirtualSizeHints(arg2
);
40386 wxPyEndAllowThreads(__tstate
);
40387 if (PyErr_Occurred()) SWIG_fail
;
40389 Py_INCREF(Py_None
); resultobj
= Py_None
;
40396 static PyObject
*_wrap_Sizer_Clear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40397 PyObject
*resultobj
;
40398 wxSizer
*arg1
= (wxSizer
*) 0 ;
40399 bool arg2
= (bool) false ;
40400 PyObject
* obj0
= 0 ;
40401 PyObject
* obj1
= 0 ;
40402 char *kwnames
[] = {
40403 (char *) "self",(char *) "deleteWindows", NULL
40406 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Sizer_Clear",kwnames
,&obj0
,&obj1
)) goto fail
;
40407 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
40408 if (SWIG_arg_fail(1)) SWIG_fail
;
40411 arg2
= (bool)(SWIG_As_bool(obj1
));
40412 if (SWIG_arg_fail(2)) SWIG_fail
;
40416 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40417 (arg1
)->Clear(arg2
);
40419 wxPyEndAllowThreads(__tstate
);
40420 if (PyErr_Occurred()) SWIG_fail
;
40422 Py_INCREF(Py_None
); resultobj
= Py_None
;
40429 static PyObject
*_wrap_Sizer_DeleteWindows(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40430 PyObject
*resultobj
;
40431 wxSizer
*arg1
= (wxSizer
*) 0 ;
40432 PyObject
* obj0
= 0 ;
40433 char *kwnames
[] = {
40434 (char *) "self", NULL
40437 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_DeleteWindows",kwnames
,&obj0
)) goto fail
;
40438 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
40439 if (SWIG_arg_fail(1)) SWIG_fail
;
40441 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40442 (arg1
)->DeleteWindows();
40444 wxPyEndAllowThreads(__tstate
);
40445 if (PyErr_Occurred()) SWIG_fail
;
40447 Py_INCREF(Py_None
); resultobj
= Py_None
;
40454 static PyObject
*_wrap_Sizer_GetChildren(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40455 PyObject
*resultobj
;
40456 wxSizer
*arg1
= (wxSizer
*) 0 ;
40458 PyObject
* obj0
= 0 ;
40459 char *kwnames
[] = {
40460 (char *) "self", NULL
40463 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_GetChildren",kwnames
,&obj0
)) goto fail
;
40464 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
40465 if (SWIG_arg_fail(1)) SWIG_fail
;
40467 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40468 result
= (PyObject
*)wxSizer_GetChildren(arg1
);
40470 wxPyEndAllowThreads(__tstate
);
40471 if (PyErr_Occurred()) SWIG_fail
;
40473 resultobj
= result
;
40480 static PyObject
*_wrap_Sizer_Show(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40481 PyObject
*resultobj
;
40482 wxSizer
*arg1
= (wxSizer
*) 0 ;
40483 PyObject
*arg2
= (PyObject
*) 0 ;
40484 bool arg3
= (bool) true ;
40485 bool arg4
= (bool) false ;
40487 PyObject
* obj0
= 0 ;
40488 PyObject
* obj1
= 0 ;
40489 PyObject
* obj2
= 0 ;
40490 PyObject
* obj3
= 0 ;
40491 char *kwnames
[] = {
40492 (char *) "self",(char *) "item",(char *) "show",(char *) "recursive", NULL
40495 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:Sizer_Show",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
40496 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
40497 if (SWIG_arg_fail(1)) SWIG_fail
;
40501 arg3
= (bool)(SWIG_As_bool(obj2
));
40502 if (SWIG_arg_fail(3)) SWIG_fail
;
40507 arg4
= (bool)(SWIG_As_bool(obj3
));
40508 if (SWIG_arg_fail(4)) SWIG_fail
;
40512 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40513 result
= (bool)wxSizer_Show(arg1
,arg2
,arg3
,arg4
);
40515 wxPyEndAllowThreads(__tstate
);
40516 if (PyErr_Occurred()) SWIG_fail
;
40519 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
40527 static PyObject
*_wrap_Sizer_IsShown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40528 PyObject
*resultobj
;
40529 wxSizer
*arg1
= (wxSizer
*) 0 ;
40530 PyObject
*arg2
= (PyObject
*) 0 ;
40532 PyObject
* obj0
= 0 ;
40533 PyObject
* obj1
= 0 ;
40534 char *kwnames
[] = {
40535 (char *) "self",(char *) "item", NULL
40538 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_IsShown",kwnames
,&obj0
,&obj1
)) goto fail
;
40539 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
40540 if (SWIG_arg_fail(1)) SWIG_fail
;
40543 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40544 result
= (bool)wxSizer_IsShown(arg1
,arg2
);
40546 wxPyEndAllowThreads(__tstate
);
40547 if (PyErr_Occurred()) SWIG_fail
;
40550 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
40558 static PyObject
*_wrap_Sizer_ShowItems(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40559 PyObject
*resultobj
;
40560 wxSizer
*arg1
= (wxSizer
*) 0 ;
40562 PyObject
* obj0
= 0 ;
40563 PyObject
* obj1
= 0 ;
40564 char *kwnames
[] = {
40565 (char *) "self",(char *) "show", NULL
40568 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_ShowItems",kwnames
,&obj0
,&obj1
)) goto fail
;
40569 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
40570 if (SWIG_arg_fail(1)) SWIG_fail
;
40572 arg2
= (bool)(SWIG_As_bool(obj1
));
40573 if (SWIG_arg_fail(2)) SWIG_fail
;
40576 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40577 (arg1
)->ShowItems(arg2
);
40579 wxPyEndAllowThreads(__tstate
);
40580 if (PyErr_Occurred()) SWIG_fail
;
40582 Py_INCREF(Py_None
); resultobj
= Py_None
;
40589 static PyObject
* Sizer_swigregister(PyObject
*, PyObject
*args
) {
40591 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
40592 SWIG_TypeClientData(SWIGTYPE_p_wxSizer
, obj
);
40594 return Py_BuildValue((char *)"");
40596 static PyObject
*_wrap_new_PySizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40597 PyObject
*resultobj
;
40599 char *kwnames
[] = {
40603 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PySizer",kwnames
)) goto fail
;
40605 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40606 result
= (wxPySizer
*)new wxPySizer();
40608 wxPyEndAllowThreads(__tstate
);
40609 if (PyErr_Occurred()) SWIG_fail
;
40611 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPySizer
, 1);
40618 static PyObject
*_wrap_PySizer__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40619 PyObject
*resultobj
;
40620 wxPySizer
*arg1
= (wxPySizer
*) 0 ;
40621 PyObject
*arg2
= (PyObject
*) 0 ;
40622 PyObject
*arg3
= (PyObject
*) 0 ;
40623 PyObject
* obj0
= 0 ;
40624 PyObject
* obj1
= 0 ;
40625 PyObject
* obj2
= 0 ;
40626 char *kwnames
[] = {
40627 (char *) "self",(char *) "self",(char *) "_class", NULL
40630 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PySizer__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
40631 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPySizer
, SWIG_POINTER_EXCEPTION
| 0);
40632 if (SWIG_arg_fail(1)) SWIG_fail
;
40636 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40637 (arg1
)->_setCallbackInfo(arg2
,arg3
);
40639 wxPyEndAllowThreads(__tstate
);
40640 if (PyErr_Occurred()) SWIG_fail
;
40642 Py_INCREF(Py_None
); resultobj
= Py_None
;
40649 static PyObject
* PySizer_swigregister(PyObject
*, PyObject
*args
) {
40651 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
40652 SWIG_TypeClientData(SWIGTYPE_p_wxPySizer
, obj
);
40654 return Py_BuildValue((char *)"");
40656 static PyObject
*_wrap_new_BoxSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40657 PyObject
*resultobj
;
40658 int arg1
= (int) wxHORIZONTAL
;
40659 wxBoxSizer
*result
;
40660 PyObject
* obj0
= 0 ;
40661 char *kwnames
[] = {
40662 (char *) "orient", NULL
40665 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_BoxSizer",kwnames
,&obj0
)) goto fail
;
40668 arg1
= (int)(SWIG_As_int(obj0
));
40669 if (SWIG_arg_fail(1)) SWIG_fail
;
40673 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40674 result
= (wxBoxSizer
*)new wxBoxSizer(arg1
);
40676 wxPyEndAllowThreads(__tstate
);
40677 if (PyErr_Occurred()) SWIG_fail
;
40679 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBoxSizer
, 1);
40686 static PyObject
*_wrap_BoxSizer_GetOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40687 PyObject
*resultobj
;
40688 wxBoxSizer
*arg1
= (wxBoxSizer
*) 0 ;
40690 PyObject
* obj0
= 0 ;
40691 char *kwnames
[] = {
40692 (char *) "self", NULL
40695 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BoxSizer_GetOrientation",kwnames
,&obj0
)) goto fail
;
40696 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBoxSizer
, SWIG_POINTER_EXCEPTION
| 0);
40697 if (SWIG_arg_fail(1)) SWIG_fail
;
40699 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40700 result
= (int)(arg1
)->GetOrientation();
40702 wxPyEndAllowThreads(__tstate
);
40703 if (PyErr_Occurred()) SWIG_fail
;
40706 resultobj
= SWIG_From_int((int)(result
));
40714 static PyObject
*_wrap_BoxSizer_SetOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40715 PyObject
*resultobj
;
40716 wxBoxSizer
*arg1
= (wxBoxSizer
*) 0 ;
40718 PyObject
* obj0
= 0 ;
40719 PyObject
* obj1
= 0 ;
40720 char *kwnames
[] = {
40721 (char *) "self",(char *) "orient", NULL
40724 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BoxSizer_SetOrientation",kwnames
,&obj0
,&obj1
)) goto fail
;
40725 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBoxSizer
, SWIG_POINTER_EXCEPTION
| 0);
40726 if (SWIG_arg_fail(1)) SWIG_fail
;
40728 arg2
= (int)(SWIG_As_int(obj1
));
40729 if (SWIG_arg_fail(2)) SWIG_fail
;
40732 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40733 (arg1
)->SetOrientation(arg2
);
40735 wxPyEndAllowThreads(__tstate
);
40736 if (PyErr_Occurred()) SWIG_fail
;
40738 Py_INCREF(Py_None
); resultobj
= Py_None
;
40745 static PyObject
* BoxSizer_swigregister(PyObject
*, PyObject
*args
) {
40747 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
40748 SWIG_TypeClientData(SWIGTYPE_p_wxBoxSizer
, obj
);
40750 return Py_BuildValue((char *)"");
40752 static PyObject
*_wrap_new_StaticBoxSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40753 PyObject
*resultobj
;
40754 wxStaticBox
*arg1
= (wxStaticBox
*) 0 ;
40755 int arg2
= (int) wxHORIZONTAL
;
40756 wxStaticBoxSizer
*result
;
40757 PyObject
* obj0
= 0 ;
40758 PyObject
* obj1
= 0 ;
40759 char *kwnames
[] = {
40760 (char *) "box",(char *) "orient", NULL
40763 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_StaticBoxSizer",kwnames
,&obj0
,&obj1
)) goto fail
;
40764 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStaticBox
, SWIG_POINTER_EXCEPTION
| 0);
40765 if (SWIG_arg_fail(1)) SWIG_fail
;
40768 arg2
= (int)(SWIG_As_int(obj1
));
40769 if (SWIG_arg_fail(2)) SWIG_fail
;
40773 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40774 result
= (wxStaticBoxSizer
*)new wxStaticBoxSizer(arg1
,arg2
);
40776 wxPyEndAllowThreads(__tstate
);
40777 if (PyErr_Occurred()) SWIG_fail
;
40779 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStaticBoxSizer
, 1);
40786 static PyObject
*_wrap_StaticBoxSizer_GetStaticBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40787 PyObject
*resultobj
;
40788 wxStaticBoxSizer
*arg1
= (wxStaticBoxSizer
*) 0 ;
40789 wxStaticBox
*result
;
40790 PyObject
* obj0
= 0 ;
40791 char *kwnames
[] = {
40792 (char *) "self", NULL
40795 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StaticBoxSizer_GetStaticBox",kwnames
,&obj0
)) goto fail
;
40796 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStaticBoxSizer
, SWIG_POINTER_EXCEPTION
| 0);
40797 if (SWIG_arg_fail(1)) SWIG_fail
;
40799 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40800 result
= (wxStaticBox
*)(arg1
)->GetStaticBox();
40802 wxPyEndAllowThreads(__tstate
);
40803 if (PyErr_Occurred()) SWIG_fail
;
40806 resultobj
= wxPyMake_wxObject(result
, 0);
40814 static PyObject
* StaticBoxSizer_swigregister(PyObject
*, PyObject
*args
) {
40816 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
40817 SWIG_TypeClientData(SWIGTYPE_p_wxStaticBoxSizer
, obj
);
40819 return Py_BuildValue((char *)"");
40821 static PyObject
*_wrap_new_GridSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40822 PyObject
*resultobj
;
40823 int arg1
= (int) 1 ;
40824 int arg2
= (int) 0 ;
40825 int arg3
= (int) 0 ;
40826 int arg4
= (int) 0 ;
40827 wxGridSizer
*result
;
40828 PyObject
* obj0
= 0 ;
40829 PyObject
* obj1
= 0 ;
40830 PyObject
* obj2
= 0 ;
40831 PyObject
* obj3
= 0 ;
40832 char *kwnames
[] = {
40833 (char *) "rows",(char *) "cols",(char *) "vgap",(char *) "hgap", NULL
40836 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_GridSizer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
40839 arg1
= (int)(SWIG_As_int(obj0
));
40840 if (SWIG_arg_fail(1)) SWIG_fail
;
40845 arg2
= (int)(SWIG_As_int(obj1
));
40846 if (SWIG_arg_fail(2)) SWIG_fail
;
40851 arg3
= (int)(SWIG_As_int(obj2
));
40852 if (SWIG_arg_fail(3)) SWIG_fail
;
40857 arg4
= (int)(SWIG_As_int(obj3
));
40858 if (SWIG_arg_fail(4)) SWIG_fail
;
40862 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40863 result
= (wxGridSizer
*)new wxGridSizer(arg1
,arg2
,arg3
,arg4
);
40865 wxPyEndAllowThreads(__tstate
);
40866 if (PyErr_Occurred()) SWIG_fail
;
40868 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGridSizer
, 1);
40875 static PyObject
*_wrap_GridSizer_SetCols(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40876 PyObject
*resultobj
;
40877 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
40879 PyObject
* obj0
= 0 ;
40880 PyObject
* obj1
= 0 ;
40881 char *kwnames
[] = {
40882 (char *) "self",(char *) "cols", NULL
40885 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridSizer_SetCols",kwnames
,&obj0
,&obj1
)) goto fail
;
40886 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridSizer
, SWIG_POINTER_EXCEPTION
| 0);
40887 if (SWIG_arg_fail(1)) SWIG_fail
;
40889 arg2
= (int)(SWIG_As_int(obj1
));
40890 if (SWIG_arg_fail(2)) SWIG_fail
;
40893 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40894 (arg1
)->SetCols(arg2
);
40896 wxPyEndAllowThreads(__tstate
);
40897 if (PyErr_Occurred()) SWIG_fail
;
40899 Py_INCREF(Py_None
); resultobj
= Py_None
;
40906 static PyObject
*_wrap_GridSizer_SetRows(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40907 PyObject
*resultobj
;
40908 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
40910 PyObject
* obj0
= 0 ;
40911 PyObject
* obj1
= 0 ;
40912 char *kwnames
[] = {
40913 (char *) "self",(char *) "rows", NULL
40916 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridSizer_SetRows",kwnames
,&obj0
,&obj1
)) goto fail
;
40917 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridSizer
, SWIG_POINTER_EXCEPTION
| 0);
40918 if (SWIG_arg_fail(1)) SWIG_fail
;
40920 arg2
= (int)(SWIG_As_int(obj1
));
40921 if (SWIG_arg_fail(2)) SWIG_fail
;
40924 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40925 (arg1
)->SetRows(arg2
);
40927 wxPyEndAllowThreads(__tstate
);
40928 if (PyErr_Occurred()) SWIG_fail
;
40930 Py_INCREF(Py_None
); resultobj
= Py_None
;
40937 static PyObject
*_wrap_GridSizer_SetVGap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40938 PyObject
*resultobj
;
40939 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
40941 PyObject
* obj0
= 0 ;
40942 PyObject
* obj1
= 0 ;
40943 char *kwnames
[] = {
40944 (char *) "self",(char *) "gap", NULL
40947 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridSizer_SetVGap",kwnames
,&obj0
,&obj1
)) goto fail
;
40948 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridSizer
, SWIG_POINTER_EXCEPTION
| 0);
40949 if (SWIG_arg_fail(1)) SWIG_fail
;
40951 arg2
= (int)(SWIG_As_int(obj1
));
40952 if (SWIG_arg_fail(2)) SWIG_fail
;
40955 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40956 (arg1
)->SetVGap(arg2
);
40958 wxPyEndAllowThreads(__tstate
);
40959 if (PyErr_Occurred()) SWIG_fail
;
40961 Py_INCREF(Py_None
); resultobj
= Py_None
;
40968 static PyObject
*_wrap_GridSizer_SetHGap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40969 PyObject
*resultobj
;
40970 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
40972 PyObject
* obj0
= 0 ;
40973 PyObject
* obj1
= 0 ;
40974 char *kwnames
[] = {
40975 (char *) "self",(char *) "gap", NULL
40978 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridSizer_SetHGap",kwnames
,&obj0
,&obj1
)) goto fail
;
40979 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridSizer
, SWIG_POINTER_EXCEPTION
| 0);
40980 if (SWIG_arg_fail(1)) SWIG_fail
;
40982 arg2
= (int)(SWIG_As_int(obj1
));
40983 if (SWIG_arg_fail(2)) SWIG_fail
;
40986 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40987 (arg1
)->SetHGap(arg2
);
40989 wxPyEndAllowThreads(__tstate
);
40990 if (PyErr_Occurred()) SWIG_fail
;
40992 Py_INCREF(Py_None
); resultobj
= Py_None
;
40999 static PyObject
*_wrap_GridSizer_GetCols(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41000 PyObject
*resultobj
;
41001 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
41003 PyObject
* obj0
= 0 ;
41004 char *kwnames
[] = {
41005 (char *) "self", NULL
41008 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridSizer_GetCols",kwnames
,&obj0
)) goto fail
;
41009 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridSizer
, SWIG_POINTER_EXCEPTION
| 0);
41010 if (SWIG_arg_fail(1)) SWIG_fail
;
41012 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41013 result
= (int)(arg1
)->GetCols();
41015 wxPyEndAllowThreads(__tstate
);
41016 if (PyErr_Occurred()) SWIG_fail
;
41019 resultobj
= SWIG_From_int((int)(result
));
41027 static PyObject
*_wrap_GridSizer_GetRows(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41028 PyObject
*resultobj
;
41029 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
41031 PyObject
* obj0
= 0 ;
41032 char *kwnames
[] = {
41033 (char *) "self", NULL
41036 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridSizer_GetRows",kwnames
,&obj0
)) goto fail
;
41037 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridSizer
, SWIG_POINTER_EXCEPTION
| 0);
41038 if (SWIG_arg_fail(1)) SWIG_fail
;
41040 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41041 result
= (int)(arg1
)->GetRows();
41043 wxPyEndAllowThreads(__tstate
);
41044 if (PyErr_Occurred()) SWIG_fail
;
41047 resultobj
= SWIG_From_int((int)(result
));
41055 static PyObject
*_wrap_GridSizer_GetVGap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41056 PyObject
*resultobj
;
41057 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
41059 PyObject
* obj0
= 0 ;
41060 char *kwnames
[] = {
41061 (char *) "self", NULL
41064 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridSizer_GetVGap",kwnames
,&obj0
)) goto fail
;
41065 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridSizer
, SWIG_POINTER_EXCEPTION
| 0);
41066 if (SWIG_arg_fail(1)) SWIG_fail
;
41068 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41069 result
= (int)(arg1
)->GetVGap();
41071 wxPyEndAllowThreads(__tstate
);
41072 if (PyErr_Occurred()) SWIG_fail
;
41075 resultobj
= SWIG_From_int((int)(result
));
41083 static PyObject
*_wrap_GridSizer_GetHGap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41084 PyObject
*resultobj
;
41085 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
41087 PyObject
* obj0
= 0 ;
41088 char *kwnames
[] = {
41089 (char *) "self", NULL
41092 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridSizer_GetHGap",kwnames
,&obj0
)) goto fail
;
41093 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridSizer
, SWIG_POINTER_EXCEPTION
| 0);
41094 if (SWIG_arg_fail(1)) SWIG_fail
;
41096 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41097 result
= (int)(arg1
)->GetHGap();
41099 wxPyEndAllowThreads(__tstate
);
41100 if (PyErr_Occurred()) SWIG_fail
;
41103 resultobj
= SWIG_From_int((int)(result
));
41111 static PyObject
* GridSizer_swigregister(PyObject
*, PyObject
*args
) {
41113 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
41114 SWIG_TypeClientData(SWIGTYPE_p_wxGridSizer
, obj
);
41116 return Py_BuildValue((char *)"");
41118 static PyObject
*_wrap_new_FlexGridSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41119 PyObject
*resultobj
;
41120 int arg1
= (int) 1 ;
41121 int arg2
= (int) 0 ;
41122 int arg3
= (int) 0 ;
41123 int arg4
= (int) 0 ;
41124 wxFlexGridSizer
*result
;
41125 PyObject
* obj0
= 0 ;
41126 PyObject
* obj1
= 0 ;
41127 PyObject
* obj2
= 0 ;
41128 PyObject
* obj3
= 0 ;
41129 char *kwnames
[] = {
41130 (char *) "rows",(char *) "cols",(char *) "vgap",(char *) "hgap", NULL
41133 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_FlexGridSizer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
41136 arg1
= (int)(SWIG_As_int(obj0
));
41137 if (SWIG_arg_fail(1)) SWIG_fail
;
41142 arg2
= (int)(SWIG_As_int(obj1
));
41143 if (SWIG_arg_fail(2)) SWIG_fail
;
41148 arg3
= (int)(SWIG_As_int(obj2
));
41149 if (SWIG_arg_fail(3)) SWIG_fail
;
41154 arg4
= (int)(SWIG_As_int(obj3
));
41155 if (SWIG_arg_fail(4)) SWIG_fail
;
41159 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41160 result
= (wxFlexGridSizer
*)new wxFlexGridSizer(arg1
,arg2
,arg3
,arg4
);
41162 wxPyEndAllowThreads(__tstate
);
41163 if (PyErr_Occurred()) SWIG_fail
;
41165 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFlexGridSizer
, 1);
41172 static PyObject
*_wrap_FlexGridSizer_AddGrowableRow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41173 PyObject
*resultobj
;
41174 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
41176 int arg3
= (int) 0 ;
41177 PyObject
* obj0
= 0 ;
41178 PyObject
* obj1
= 0 ;
41179 PyObject
* obj2
= 0 ;
41180 char *kwnames
[] = {
41181 (char *) "self",(char *) "idx",(char *) "proportion", NULL
41184 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FlexGridSizer_AddGrowableRow",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
41185 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFlexGridSizer
, SWIG_POINTER_EXCEPTION
| 0);
41186 if (SWIG_arg_fail(1)) SWIG_fail
;
41188 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
41189 if (SWIG_arg_fail(2)) SWIG_fail
;
41193 arg3
= (int)(SWIG_As_int(obj2
));
41194 if (SWIG_arg_fail(3)) SWIG_fail
;
41198 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41199 (arg1
)->AddGrowableRow(arg2
,arg3
);
41201 wxPyEndAllowThreads(__tstate
);
41202 if (PyErr_Occurred()) SWIG_fail
;
41204 Py_INCREF(Py_None
); resultobj
= Py_None
;
41211 static PyObject
*_wrap_FlexGridSizer_RemoveGrowableRow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41212 PyObject
*resultobj
;
41213 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
41215 PyObject
* obj0
= 0 ;
41216 PyObject
* obj1
= 0 ;
41217 char *kwnames
[] = {
41218 (char *) "self",(char *) "idx", NULL
41221 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FlexGridSizer_RemoveGrowableRow",kwnames
,&obj0
,&obj1
)) goto fail
;
41222 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFlexGridSizer
, SWIG_POINTER_EXCEPTION
| 0);
41223 if (SWIG_arg_fail(1)) SWIG_fail
;
41225 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
41226 if (SWIG_arg_fail(2)) SWIG_fail
;
41229 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41230 (arg1
)->RemoveGrowableRow(arg2
);
41232 wxPyEndAllowThreads(__tstate
);
41233 if (PyErr_Occurred()) SWIG_fail
;
41235 Py_INCREF(Py_None
); resultobj
= Py_None
;
41242 static PyObject
*_wrap_FlexGridSizer_AddGrowableCol(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41243 PyObject
*resultobj
;
41244 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
41246 int arg3
= (int) 0 ;
41247 PyObject
* obj0
= 0 ;
41248 PyObject
* obj1
= 0 ;
41249 PyObject
* obj2
= 0 ;
41250 char *kwnames
[] = {
41251 (char *) "self",(char *) "idx",(char *) "proportion", NULL
41254 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FlexGridSizer_AddGrowableCol",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
41255 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFlexGridSizer
, SWIG_POINTER_EXCEPTION
| 0);
41256 if (SWIG_arg_fail(1)) SWIG_fail
;
41258 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
41259 if (SWIG_arg_fail(2)) SWIG_fail
;
41263 arg3
= (int)(SWIG_As_int(obj2
));
41264 if (SWIG_arg_fail(3)) SWIG_fail
;
41268 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41269 (arg1
)->AddGrowableCol(arg2
,arg3
);
41271 wxPyEndAllowThreads(__tstate
);
41272 if (PyErr_Occurred()) SWIG_fail
;
41274 Py_INCREF(Py_None
); resultobj
= Py_None
;
41281 static PyObject
*_wrap_FlexGridSizer_RemoveGrowableCol(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41282 PyObject
*resultobj
;
41283 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
41285 PyObject
* obj0
= 0 ;
41286 PyObject
* obj1
= 0 ;
41287 char *kwnames
[] = {
41288 (char *) "self",(char *) "idx", NULL
41291 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FlexGridSizer_RemoveGrowableCol",kwnames
,&obj0
,&obj1
)) goto fail
;
41292 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFlexGridSizer
, SWIG_POINTER_EXCEPTION
| 0);
41293 if (SWIG_arg_fail(1)) SWIG_fail
;
41295 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
41296 if (SWIG_arg_fail(2)) SWIG_fail
;
41299 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41300 (arg1
)->RemoveGrowableCol(arg2
);
41302 wxPyEndAllowThreads(__tstate
);
41303 if (PyErr_Occurred()) SWIG_fail
;
41305 Py_INCREF(Py_None
); resultobj
= Py_None
;
41312 static PyObject
*_wrap_FlexGridSizer_SetFlexibleDirection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41313 PyObject
*resultobj
;
41314 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
41316 PyObject
* obj0
= 0 ;
41317 PyObject
* obj1
= 0 ;
41318 char *kwnames
[] = {
41319 (char *) "self",(char *) "direction", NULL
41322 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FlexGridSizer_SetFlexibleDirection",kwnames
,&obj0
,&obj1
)) goto fail
;
41323 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFlexGridSizer
, SWIG_POINTER_EXCEPTION
| 0);
41324 if (SWIG_arg_fail(1)) SWIG_fail
;
41326 arg2
= (int)(SWIG_As_int(obj1
));
41327 if (SWIG_arg_fail(2)) SWIG_fail
;
41330 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41331 (arg1
)->SetFlexibleDirection(arg2
);
41333 wxPyEndAllowThreads(__tstate
);
41334 if (PyErr_Occurred()) SWIG_fail
;
41336 Py_INCREF(Py_None
); resultobj
= Py_None
;
41343 static PyObject
*_wrap_FlexGridSizer_GetFlexibleDirection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41344 PyObject
*resultobj
;
41345 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
41347 PyObject
* obj0
= 0 ;
41348 char *kwnames
[] = {
41349 (char *) "self", NULL
41352 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FlexGridSizer_GetFlexibleDirection",kwnames
,&obj0
)) goto fail
;
41353 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFlexGridSizer
, SWIG_POINTER_EXCEPTION
| 0);
41354 if (SWIG_arg_fail(1)) SWIG_fail
;
41356 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41357 result
= (int)(arg1
)->GetFlexibleDirection();
41359 wxPyEndAllowThreads(__tstate
);
41360 if (PyErr_Occurred()) SWIG_fail
;
41363 resultobj
= SWIG_From_int((int)(result
));
41371 static PyObject
*_wrap_FlexGridSizer_SetNonFlexibleGrowMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41372 PyObject
*resultobj
;
41373 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
41374 wxFlexSizerGrowMode arg2
;
41375 PyObject
* obj0
= 0 ;
41376 PyObject
* obj1
= 0 ;
41377 char *kwnames
[] = {
41378 (char *) "self",(char *) "mode", NULL
41381 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FlexGridSizer_SetNonFlexibleGrowMode",kwnames
,&obj0
,&obj1
)) goto fail
;
41382 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFlexGridSizer
, SWIG_POINTER_EXCEPTION
| 0);
41383 if (SWIG_arg_fail(1)) SWIG_fail
;
41385 arg2
= (wxFlexSizerGrowMode
)(SWIG_As_int(obj1
));
41386 if (SWIG_arg_fail(2)) SWIG_fail
;
41389 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41390 (arg1
)->SetNonFlexibleGrowMode((wxFlexSizerGrowMode
)arg2
);
41392 wxPyEndAllowThreads(__tstate
);
41393 if (PyErr_Occurred()) SWIG_fail
;
41395 Py_INCREF(Py_None
); resultobj
= Py_None
;
41402 static PyObject
*_wrap_FlexGridSizer_GetNonFlexibleGrowMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41403 PyObject
*resultobj
;
41404 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
41405 wxFlexSizerGrowMode result
;
41406 PyObject
* obj0
= 0 ;
41407 char *kwnames
[] = {
41408 (char *) "self", NULL
41411 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FlexGridSizer_GetNonFlexibleGrowMode",kwnames
,&obj0
)) goto fail
;
41412 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFlexGridSizer
, SWIG_POINTER_EXCEPTION
| 0);
41413 if (SWIG_arg_fail(1)) SWIG_fail
;
41415 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41416 result
= (wxFlexSizerGrowMode
)(arg1
)->GetNonFlexibleGrowMode();
41418 wxPyEndAllowThreads(__tstate
);
41419 if (PyErr_Occurred()) SWIG_fail
;
41421 resultobj
= SWIG_From_int((result
));
41428 static PyObject
*_wrap_FlexGridSizer_GetRowHeights(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41429 PyObject
*resultobj
;
41430 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
41431 wxArrayInt
*result
;
41432 PyObject
* obj0
= 0 ;
41433 char *kwnames
[] = {
41434 (char *) "self", NULL
41437 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FlexGridSizer_GetRowHeights",kwnames
,&obj0
)) goto fail
;
41438 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFlexGridSizer
, SWIG_POINTER_EXCEPTION
| 0);
41439 if (SWIG_arg_fail(1)) SWIG_fail
;
41441 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41443 wxArrayInt
const &_result_ref
= ((wxFlexGridSizer
const *)arg1
)->GetRowHeights();
41444 result
= (wxArrayInt
*) &_result_ref
;
41447 wxPyEndAllowThreads(__tstate
);
41448 if (PyErr_Occurred()) SWIG_fail
;
41451 resultobj
= PyList_New(0);
41453 for (idx
= 0; idx
< result
->GetCount(); idx
+= 1) {
41454 PyObject
* val
= PyInt_FromLong( result
->Item(idx
) );
41455 PyList_Append(resultobj
, val
);
41465 static PyObject
*_wrap_FlexGridSizer_GetColWidths(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41466 PyObject
*resultobj
;
41467 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
41468 wxArrayInt
*result
;
41469 PyObject
* obj0
= 0 ;
41470 char *kwnames
[] = {
41471 (char *) "self", NULL
41474 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FlexGridSizer_GetColWidths",kwnames
,&obj0
)) goto fail
;
41475 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFlexGridSizer
, SWIG_POINTER_EXCEPTION
| 0);
41476 if (SWIG_arg_fail(1)) SWIG_fail
;
41478 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41480 wxArrayInt
const &_result_ref
= ((wxFlexGridSizer
const *)arg1
)->GetColWidths();
41481 result
= (wxArrayInt
*) &_result_ref
;
41484 wxPyEndAllowThreads(__tstate
);
41485 if (PyErr_Occurred()) SWIG_fail
;
41488 resultobj
= PyList_New(0);
41490 for (idx
= 0; idx
< result
->GetCount(); idx
+= 1) {
41491 PyObject
* val
= PyInt_FromLong( result
->Item(idx
) );
41492 PyList_Append(resultobj
, val
);
41502 static PyObject
* FlexGridSizer_swigregister(PyObject
*, PyObject
*args
) {
41504 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
41505 SWIG_TypeClientData(SWIGTYPE_p_wxFlexGridSizer
, obj
);
41507 return Py_BuildValue((char *)"");
41509 static PyObject
*_wrap_new_StdDialogButtonSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41510 PyObject
*resultobj
;
41511 wxStdDialogButtonSizer
*result
;
41512 char *kwnames
[] = {
41516 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_StdDialogButtonSizer",kwnames
)) goto fail
;
41518 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41519 result
= (wxStdDialogButtonSizer
*)new wxStdDialogButtonSizer();
41521 wxPyEndAllowThreads(__tstate
);
41522 if (PyErr_Occurred()) SWIG_fail
;
41524 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStdDialogButtonSizer
, 1);
41531 static PyObject
*_wrap_StdDialogButtonSizer_AddButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41532 PyObject
*resultobj
;
41533 wxStdDialogButtonSizer
*arg1
= (wxStdDialogButtonSizer
*) 0 ;
41534 wxButton
*arg2
= (wxButton
*) 0 ;
41535 PyObject
* obj0
= 0 ;
41536 PyObject
* obj1
= 0 ;
41537 char *kwnames
[] = {
41538 (char *) "self",(char *) "button", NULL
41541 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StdDialogButtonSizer_AddButton",kwnames
,&obj0
,&obj1
)) goto fail
;
41542 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStdDialogButtonSizer
, SWIG_POINTER_EXCEPTION
| 0);
41543 if (SWIG_arg_fail(1)) SWIG_fail
;
41544 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxButton
, SWIG_POINTER_EXCEPTION
| 0);
41545 if (SWIG_arg_fail(2)) SWIG_fail
;
41547 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41548 (arg1
)->AddButton(arg2
);
41550 wxPyEndAllowThreads(__tstate
);
41551 if (PyErr_Occurred()) SWIG_fail
;
41553 Py_INCREF(Py_None
); resultobj
= Py_None
;
41560 static PyObject
*_wrap_StdDialogButtonSizer_Realize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41561 PyObject
*resultobj
;
41562 wxStdDialogButtonSizer
*arg1
= (wxStdDialogButtonSizer
*) 0 ;
41563 PyObject
* obj0
= 0 ;
41564 char *kwnames
[] = {
41565 (char *) "self", NULL
41568 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StdDialogButtonSizer_Realize",kwnames
,&obj0
)) goto fail
;
41569 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStdDialogButtonSizer
, SWIG_POINTER_EXCEPTION
| 0);
41570 if (SWIG_arg_fail(1)) SWIG_fail
;
41572 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41575 wxPyEndAllowThreads(__tstate
);
41576 if (PyErr_Occurred()) SWIG_fail
;
41578 Py_INCREF(Py_None
); resultobj
= Py_None
;
41585 static PyObject
*_wrap_StdDialogButtonSizer_SetAffirmativeButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41586 PyObject
*resultobj
;
41587 wxStdDialogButtonSizer
*arg1
= (wxStdDialogButtonSizer
*) 0 ;
41588 wxButton
*arg2
= (wxButton
*) 0 ;
41589 PyObject
* obj0
= 0 ;
41590 PyObject
* obj1
= 0 ;
41591 char *kwnames
[] = {
41592 (char *) "self",(char *) "button", NULL
41595 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StdDialogButtonSizer_SetAffirmativeButton",kwnames
,&obj0
,&obj1
)) goto fail
;
41596 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStdDialogButtonSizer
, SWIG_POINTER_EXCEPTION
| 0);
41597 if (SWIG_arg_fail(1)) SWIG_fail
;
41598 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxButton
, SWIG_POINTER_EXCEPTION
| 0);
41599 if (SWIG_arg_fail(2)) SWIG_fail
;
41601 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41602 (arg1
)->SetAffirmativeButton(arg2
);
41604 wxPyEndAllowThreads(__tstate
);
41605 if (PyErr_Occurred()) SWIG_fail
;
41607 Py_INCREF(Py_None
); resultobj
= Py_None
;
41614 static PyObject
*_wrap_StdDialogButtonSizer_SetNegativeButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41615 PyObject
*resultobj
;
41616 wxStdDialogButtonSizer
*arg1
= (wxStdDialogButtonSizer
*) 0 ;
41617 wxButton
*arg2
= (wxButton
*) 0 ;
41618 PyObject
* obj0
= 0 ;
41619 PyObject
* obj1
= 0 ;
41620 char *kwnames
[] = {
41621 (char *) "self",(char *) "button", NULL
41624 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StdDialogButtonSizer_SetNegativeButton",kwnames
,&obj0
,&obj1
)) goto fail
;
41625 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStdDialogButtonSizer
, SWIG_POINTER_EXCEPTION
| 0);
41626 if (SWIG_arg_fail(1)) SWIG_fail
;
41627 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxButton
, SWIG_POINTER_EXCEPTION
| 0);
41628 if (SWIG_arg_fail(2)) SWIG_fail
;
41630 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41631 (arg1
)->SetNegativeButton(arg2
);
41633 wxPyEndAllowThreads(__tstate
);
41634 if (PyErr_Occurred()) SWIG_fail
;
41636 Py_INCREF(Py_None
); resultobj
= Py_None
;
41643 static PyObject
*_wrap_StdDialogButtonSizer_SetCancelButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41644 PyObject
*resultobj
;
41645 wxStdDialogButtonSizer
*arg1
= (wxStdDialogButtonSizer
*) 0 ;
41646 wxButton
*arg2
= (wxButton
*) 0 ;
41647 PyObject
* obj0
= 0 ;
41648 PyObject
* obj1
= 0 ;
41649 char *kwnames
[] = {
41650 (char *) "self",(char *) "button", NULL
41653 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StdDialogButtonSizer_SetCancelButton",kwnames
,&obj0
,&obj1
)) goto fail
;
41654 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStdDialogButtonSizer
, SWIG_POINTER_EXCEPTION
| 0);
41655 if (SWIG_arg_fail(1)) SWIG_fail
;
41656 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxButton
, SWIG_POINTER_EXCEPTION
| 0);
41657 if (SWIG_arg_fail(2)) SWIG_fail
;
41659 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41660 (arg1
)->SetCancelButton(arg2
);
41662 wxPyEndAllowThreads(__tstate
);
41663 if (PyErr_Occurred()) SWIG_fail
;
41665 Py_INCREF(Py_None
); resultobj
= Py_None
;
41672 static PyObject
*_wrap_StdDialogButtonSizer_GetAffirmativeButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41673 PyObject
*resultobj
;
41674 wxStdDialogButtonSizer
*arg1
= (wxStdDialogButtonSizer
*) 0 ;
41676 PyObject
* obj0
= 0 ;
41677 char *kwnames
[] = {
41678 (char *) "self", NULL
41681 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StdDialogButtonSizer_GetAffirmativeButton",kwnames
,&obj0
)) goto fail
;
41682 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStdDialogButtonSizer
, SWIG_POINTER_EXCEPTION
| 0);
41683 if (SWIG_arg_fail(1)) SWIG_fail
;
41685 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41686 result
= (wxButton
*)((wxStdDialogButtonSizer
const *)arg1
)->GetAffirmativeButton();
41688 wxPyEndAllowThreads(__tstate
);
41689 if (PyErr_Occurred()) SWIG_fail
;
41692 resultobj
= wxPyMake_wxObject(result
, 0);
41700 static PyObject
*_wrap_StdDialogButtonSizer_GetApplyButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41701 PyObject
*resultobj
;
41702 wxStdDialogButtonSizer
*arg1
= (wxStdDialogButtonSizer
*) 0 ;
41704 PyObject
* obj0
= 0 ;
41705 char *kwnames
[] = {
41706 (char *) "self", NULL
41709 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StdDialogButtonSizer_GetApplyButton",kwnames
,&obj0
)) goto fail
;
41710 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStdDialogButtonSizer
, SWIG_POINTER_EXCEPTION
| 0);
41711 if (SWIG_arg_fail(1)) SWIG_fail
;
41713 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41714 result
= (wxButton
*)((wxStdDialogButtonSizer
const *)arg1
)->GetApplyButton();
41716 wxPyEndAllowThreads(__tstate
);
41717 if (PyErr_Occurred()) SWIG_fail
;
41720 resultobj
= wxPyMake_wxObject(result
, 0);
41728 static PyObject
*_wrap_StdDialogButtonSizer_GetNegativeButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41729 PyObject
*resultobj
;
41730 wxStdDialogButtonSizer
*arg1
= (wxStdDialogButtonSizer
*) 0 ;
41732 PyObject
* obj0
= 0 ;
41733 char *kwnames
[] = {
41734 (char *) "self", NULL
41737 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StdDialogButtonSizer_GetNegativeButton",kwnames
,&obj0
)) goto fail
;
41738 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStdDialogButtonSizer
, SWIG_POINTER_EXCEPTION
| 0);
41739 if (SWIG_arg_fail(1)) SWIG_fail
;
41741 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41742 result
= (wxButton
*)((wxStdDialogButtonSizer
const *)arg1
)->GetNegativeButton();
41744 wxPyEndAllowThreads(__tstate
);
41745 if (PyErr_Occurred()) SWIG_fail
;
41748 resultobj
= wxPyMake_wxObject(result
, 0);
41756 static PyObject
*_wrap_StdDialogButtonSizer_GetCancelButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41757 PyObject
*resultobj
;
41758 wxStdDialogButtonSizer
*arg1
= (wxStdDialogButtonSizer
*) 0 ;
41760 PyObject
* obj0
= 0 ;
41761 char *kwnames
[] = {
41762 (char *) "self", NULL
41765 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StdDialogButtonSizer_GetCancelButton",kwnames
,&obj0
)) goto fail
;
41766 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStdDialogButtonSizer
, SWIG_POINTER_EXCEPTION
| 0);
41767 if (SWIG_arg_fail(1)) SWIG_fail
;
41769 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41770 result
= (wxButton
*)((wxStdDialogButtonSizer
const *)arg1
)->GetCancelButton();
41772 wxPyEndAllowThreads(__tstate
);
41773 if (PyErr_Occurred()) SWIG_fail
;
41776 resultobj
= wxPyMake_wxObject(result
, 0);
41784 static PyObject
*_wrap_StdDialogButtonSizer_GetHelpButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41785 PyObject
*resultobj
;
41786 wxStdDialogButtonSizer
*arg1
= (wxStdDialogButtonSizer
*) 0 ;
41788 PyObject
* obj0
= 0 ;
41789 char *kwnames
[] = {
41790 (char *) "self", NULL
41793 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StdDialogButtonSizer_GetHelpButton",kwnames
,&obj0
)) goto fail
;
41794 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStdDialogButtonSizer
, SWIG_POINTER_EXCEPTION
| 0);
41795 if (SWIG_arg_fail(1)) SWIG_fail
;
41797 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41798 result
= (wxButton
*)((wxStdDialogButtonSizer
const *)arg1
)->GetHelpButton();
41800 wxPyEndAllowThreads(__tstate
);
41801 if (PyErr_Occurred()) SWIG_fail
;
41804 resultobj
= wxPyMake_wxObject(result
, 0);
41812 static PyObject
* StdDialogButtonSizer_swigregister(PyObject
*, PyObject
*args
) {
41814 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
41815 SWIG_TypeClientData(SWIGTYPE_p_wxStdDialogButtonSizer
, obj
);
41817 return Py_BuildValue((char *)"");
41819 static PyObject
*_wrap_new_GBPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41820 PyObject
*resultobj
;
41821 int arg1
= (int) 0 ;
41822 int arg2
= (int) 0 ;
41823 wxGBPosition
*result
;
41824 PyObject
* obj0
= 0 ;
41825 PyObject
* obj1
= 0 ;
41826 char *kwnames
[] = {
41827 (char *) "row",(char *) "col", NULL
41830 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_GBPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
41833 arg1
= (int)(SWIG_As_int(obj0
));
41834 if (SWIG_arg_fail(1)) SWIG_fail
;
41839 arg2
= (int)(SWIG_As_int(obj1
));
41840 if (SWIG_arg_fail(2)) SWIG_fail
;
41844 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41845 result
= (wxGBPosition
*)new wxGBPosition(arg1
,arg2
);
41847 wxPyEndAllowThreads(__tstate
);
41848 if (PyErr_Occurred()) SWIG_fail
;
41850 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBPosition
, 1);
41857 static PyObject
*_wrap_GBPosition_GetRow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41858 PyObject
*resultobj
;
41859 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
41861 PyObject
* obj0
= 0 ;
41862 char *kwnames
[] = {
41863 (char *) "self", NULL
41866 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBPosition_GetRow",kwnames
,&obj0
)) goto fail
;
41867 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBPosition
, SWIG_POINTER_EXCEPTION
| 0);
41868 if (SWIG_arg_fail(1)) SWIG_fail
;
41870 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41871 result
= (int)((wxGBPosition
const *)arg1
)->GetRow();
41873 wxPyEndAllowThreads(__tstate
);
41874 if (PyErr_Occurred()) SWIG_fail
;
41877 resultobj
= SWIG_From_int((int)(result
));
41885 static PyObject
*_wrap_GBPosition_GetCol(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41886 PyObject
*resultobj
;
41887 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
41889 PyObject
* obj0
= 0 ;
41890 char *kwnames
[] = {
41891 (char *) "self", NULL
41894 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBPosition_GetCol",kwnames
,&obj0
)) goto fail
;
41895 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBPosition
, SWIG_POINTER_EXCEPTION
| 0);
41896 if (SWIG_arg_fail(1)) SWIG_fail
;
41898 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41899 result
= (int)((wxGBPosition
const *)arg1
)->GetCol();
41901 wxPyEndAllowThreads(__tstate
);
41902 if (PyErr_Occurred()) SWIG_fail
;
41905 resultobj
= SWIG_From_int((int)(result
));
41913 static PyObject
*_wrap_GBPosition_SetRow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41914 PyObject
*resultobj
;
41915 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
41917 PyObject
* obj0
= 0 ;
41918 PyObject
* obj1
= 0 ;
41919 char *kwnames
[] = {
41920 (char *) "self",(char *) "row", NULL
41923 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBPosition_SetRow",kwnames
,&obj0
,&obj1
)) goto fail
;
41924 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBPosition
, SWIG_POINTER_EXCEPTION
| 0);
41925 if (SWIG_arg_fail(1)) SWIG_fail
;
41927 arg2
= (int)(SWIG_As_int(obj1
));
41928 if (SWIG_arg_fail(2)) SWIG_fail
;
41931 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41932 (arg1
)->SetRow(arg2
);
41934 wxPyEndAllowThreads(__tstate
);
41935 if (PyErr_Occurred()) SWIG_fail
;
41937 Py_INCREF(Py_None
); resultobj
= Py_None
;
41944 static PyObject
*_wrap_GBPosition_SetCol(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41945 PyObject
*resultobj
;
41946 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
41948 PyObject
* obj0
= 0 ;
41949 PyObject
* obj1
= 0 ;
41950 char *kwnames
[] = {
41951 (char *) "self",(char *) "col", NULL
41954 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBPosition_SetCol",kwnames
,&obj0
,&obj1
)) goto fail
;
41955 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBPosition
, SWIG_POINTER_EXCEPTION
| 0);
41956 if (SWIG_arg_fail(1)) SWIG_fail
;
41958 arg2
= (int)(SWIG_As_int(obj1
));
41959 if (SWIG_arg_fail(2)) SWIG_fail
;
41962 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41963 (arg1
)->SetCol(arg2
);
41965 wxPyEndAllowThreads(__tstate
);
41966 if (PyErr_Occurred()) SWIG_fail
;
41968 Py_INCREF(Py_None
); resultobj
= Py_None
;
41975 static PyObject
*_wrap_GBPosition___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41976 PyObject
*resultobj
;
41977 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
41978 wxGBPosition
*arg2
= 0 ;
41980 wxGBPosition temp2
;
41981 PyObject
* obj0
= 0 ;
41982 PyObject
* obj1
= 0 ;
41983 char *kwnames
[] = {
41984 (char *) "self",(char *) "other", NULL
41987 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBPosition___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
41988 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBPosition
, SWIG_POINTER_EXCEPTION
| 0);
41989 if (SWIG_arg_fail(1)) SWIG_fail
;
41992 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
41995 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41996 result
= (bool)(arg1
)->operator ==((wxGBPosition
const &)*arg2
);
41998 wxPyEndAllowThreads(__tstate
);
41999 if (PyErr_Occurred()) SWIG_fail
;
42002 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
42010 static PyObject
*_wrap_GBPosition___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42011 PyObject
*resultobj
;
42012 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
42013 wxGBPosition
*arg2
= 0 ;
42015 wxGBPosition temp2
;
42016 PyObject
* obj0
= 0 ;
42017 PyObject
* obj1
= 0 ;
42018 char *kwnames
[] = {
42019 (char *) "self",(char *) "other", NULL
42022 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBPosition___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
42023 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBPosition
, SWIG_POINTER_EXCEPTION
| 0);
42024 if (SWIG_arg_fail(1)) SWIG_fail
;
42027 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
42030 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42031 result
= (bool)(arg1
)->operator !=((wxGBPosition
const &)*arg2
);
42033 wxPyEndAllowThreads(__tstate
);
42034 if (PyErr_Occurred()) SWIG_fail
;
42037 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
42045 static PyObject
*_wrap_GBPosition_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42046 PyObject
*resultobj
;
42047 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
42048 int arg2
= (int) 0 ;
42049 int arg3
= (int) 0 ;
42050 PyObject
* obj0
= 0 ;
42051 PyObject
* obj1
= 0 ;
42052 PyObject
* obj2
= 0 ;
42053 char *kwnames
[] = {
42054 (char *) "self",(char *) "row",(char *) "col", NULL
42057 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:GBPosition_Set",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
42058 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBPosition
, SWIG_POINTER_EXCEPTION
| 0);
42059 if (SWIG_arg_fail(1)) SWIG_fail
;
42062 arg2
= (int)(SWIG_As_int(obj1
));
42063 if (SWIG_arg_fail(2)) SWIG_fail
;
42068 arg3
= (int)(SWIG_As_int(obj2
));
42069 if (SWIG_arg_fail(3)) SWIG_fail
;
42073 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42074 wxGBPosition_Set(arg1
,arg2
,arg3
);
42076 wxPyEndAllowThreads(__tstate
);
42077 if (PyErr_Occurred()) SWIG_fail
;
42079 Py_INCREF(Py_None
); resultobj
= Py_None
;
42086 static PyObject
*_wrap_GBPosition_Get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42087 PyObject
*resultobj
;
42088 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
42090 PyObject
* obj0
= 0 ;
42091 char *kwnames
[] = {
42092 (char *) "self", NULL
42095 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBPosition_Get",kwnames
,&obj0
)) goto fail
;
42096 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBPosition
, SWIG_POINTER_EXCEPTION
| 0);
42097 if (SWIG_arg_fail(1)) SWIG_fail
;
42099 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42100 result
= (PyObject
*)wxGBPosition_Get(arg1
);
42102 wxPyEndAllowThreads(__tstate
);
42103 if (PyErr_Occurred()) SWIG_fail
;
42105 resultobj
= result
;
42112 static PyObject
* GBPosition_swigregister(PyObject
*, PyObject
*args
) {
42114 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
42115 SWIG_TypeClientData(SWIGTYPE_p_wxGBPosition
, obj
);
42117 return Py_BuildValue((char *)"");
42119 static PyObject
*_wrap_new_GBSpan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42120 PyObject
*resultobj
;
42121 int arg1
= (int) 1 ;
42122 int arg2
= (int) 1 ;
42124 PyObject
* obj0
= 0 ;
42125 PyObject
* obj1
= 0 ;
42126 char *kwnames
[] = {
42127 (char *) "rowspan",(char *) "colspan", NULL
42130 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_GBSpan",kwnames
,&obj0
,&obj1
)) goto fail
;
42133 arg1
= (int)(SWIG_As_int(obj0
));
42134 if (SWIG_arg_fail(1)) SWIG_fail
;
42139 arg2
= (int)(SWIG_As_int(obj1
));
42140 if (SWIG_arg_fail(2)) SWIG_fail
;
42144 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42145 result
= (wxGBSpan
*)new wxGBSpan(arg1
,arg2
);
42147 wxPyEndAllowThreads(__tstate
);
42148 if (PyErr_Occurred()) SWIG_fail
;
42150 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSpan
, 1);
42157 static PyObject
*_wrap_GBSpan_GetRowspan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42158 PyObject
*resultobj
;
42159 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
42161 PyObject
* obj0
= 0 ;
42162 char *kwnames
[] = {
42163 (char *) "self", NULL
42166 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBSpan_GetRowspan",kwnames
,&obj0
)) goto fail
;
42167 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBSpan
, SWIG_POINTER_EXCEPTION
| 0);
42168 if (SWIG_arg_fail(1)) SWIG_fail
;
42170 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42171 result
= (int)((wxGBSpan
const *)arg1
)->GetRowspan();
42173 wxPyEndAllowThreads(__tstate
);
42174 if (PyErr_Occurred()) SWIG_fail
;
42177 resultobj
= SWIG_From_int((int)(result
));
42185 static PyObject
*_wrap_GBSpan_GetColspan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42186 PyObject
*resultobj
;
42187 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
42189 PyObject
* obj0
= 0 ;
42190 char *kwnames
[] = {
42191 (char *) "self", NULL
42194 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBSpan_GetColspan",kwnames
,&obj0
)) goto fail
;
42195 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBSpan
, SWIG_POINTER_EXCEPTION
| 0);
42196 if (SWIG_arg_fail(1)) SWIG_fail
;
42198 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42199 result
= (int)((wxGBSpan
const *)arg1
)->GetColspan();
42201 wxPyEndAllowThreads(__tstate
);
42202 if (PyErr_Occurred()) SWIG_fail
;
42205 resultobj
= SWIG_From_int((int)(result
));
42213 static PyObject
*_wrap_GBSpan_SetRowspan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42214 PyObject
*resultobj
;
42215 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
42217 PyObject
* obj0
= 0 ;
42218 PyObject
* obj1
= 0 ;
42219 char *kwnames
[] = {
42220 (char *) "self",(char *) "rowspan", NULL
42223 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSpan_SetRowspan",kwnames
,&obj0
,&obj1
)) goto fail
;
42224 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBSpan
, SWIG_POINTER_EXCEPTION
| 0);
42225 if (SWIG_arg_fail(1)) SWIG_fail
;
42227 arg2
= (int)(SWIG_As_int(obj1
));
42228 if (SWIG_arg_fail(2)) SWIG_fail
;
42231 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42232 (arg1
)->SetRowspan(arg2
);
42234 wxPyEndAllowThreads(__tstate
);
42235 if (PyErr_Occurred()) SWIG_fail
;
42237 Py_INCREF(Py_None
); resultobj
= Py_None
;
42244 static PyObject
*_wrap_GBSpan_SetColspan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42245 PyObject
*resultobj
;
42246 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
42248 PyObject
* obj0
= 0 ;
42249 PyObject
* obj1
= 0 ;
42250 char *kwnames
[] = {
42251 (char *) "self",(char *) "colspan", NULL
42254 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSpan_SetColspan",kwnames
,&obj0
,&obj1
)) goto fail
;
42255 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBSpan
, SWIG_POINTER_EXCEPTION
| 0);
42256 if (SWIG_arg_fail(1)) SWIG_fail
;
42258 arg2
= (int)(SWIG_As_int(obj1
));
42259 if (SWIG_arg_fail(2)) SWIG_fail
;
42262 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42263 (arg1
)->SetColspan(arg2
);
42265 wxPyEndAllowThreads(__tstate
);
42266 if (PyErr_Occurred()) SWIG_fail
;
42268 Py_INCREF(Py_None
); resultobj
= Py_None
;
42275 static PyObject
*_wrap_GBSpan___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42276 PyObject
*resultobj
;
42277 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
42278 wxGBSpan
*arg2
= 0 ;
42281 PyObject
* obj0
= 0 ;
42282 PyObject
* obj1
= 0 ;
42283 char *kwnames
[] = {
42284 (char *) "self",(char *) "other", NULL
42287 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSpan___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
42288 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBSpan
, SWIG_POINTER_EXCEPTION
| 0);
42289 if (SWIG_arg_fail(1)) SWIG_fail
;
42292 if ( ! wxGBSpan_helper(obj1
, &arg2
)) SWIG_fail
;
42295 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42296 result
= (bool)(arg1
)->operator ==((wxGBSpan
const &)*arg2
);
42298 wxPyEndAllowThreads(__tstate
);
42299 if (PyErr_Occurred()) SWIG_fail
;
42302 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
42310 static PyObject
*_wrap_GBSpan___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42311 PyObject
*resultobj
;
42312 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
42313 wxGBSpan
*arg2
= 0 ;
42316 PyObject
* obj0
= 0 ;
42317 PyObject
* obj1
= 0 ;
42318 char *kwnames
[] = {
42319 (char *) "self",(char *) "other", NULL
42322 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSpan___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
42323 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBSpan
, SWIG_POINTER_EXCEPTION
| 0);
42324 if (SWIG_arg_fail(1)) SWIG_fail
;
42327 if ( ! wxGBSpan_helper(obj1
, &arg2
)) SWIG_fail
;
42330 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42331 result
= (bool)(arg1
)->operator !=((wxGBSpan
const &)*arg2
);
42333 wxPyEndAllowThreads(__tstate
);
42334 if (PyErr_Occurred()) SWIG_fail
;
42337 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
42345 static PyObject
*_wrap_GBSpan_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42346 PyObject
*resultobj
;
42347 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
42348 int arg2
= (int) 1 ;
42349 int arg3
= (int) 1 ;
42350 PyObject
* obj0
= 0 ;
42351 PyObject
* obj1
= 0 ;
42352 PyObject
* obj2
= 0 ;
42353 char *kwnames
[] = {
42354 (char *) "self",(char *) "rowspan",(char *) "colspan", NULL
42357 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:GBSpan_Set",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
42358 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBSpan
, SWIG_POINTER_EXCEPTION
| 0);
42359 if (SWIG_arg_fail(1)) SWIG_fail
;
42362 arg2
= (int)(SWIG_As_int(obj1
));
42363 if (SWIG_arg_fail(2)) SWIG_fail
;
42368 arg3
= (int)(SWIG_As_int(obj2
));
42369 if (SWIG_arg_fail(3)) SWIG_fail
;
42373 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42374 wxGBSpan_Set(arg1
,arg2
,arg3
);
42376 wxPyEndAllowThreads(__tstate
);
42377 if (PyErr_Occurred()) SWIG_fail
;
42379 Py_INCREF(Py_None
); resultobj
= Py_None
;
42386 static PyObject
*_wrap_GBSpan_Get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42387 PyObject
*resultobj
;
42388 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
42390 PyObject
* obj0
= 0 ;
42391 char *kwnames
[] = {
42392 (char *) "self", NULL
42395 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBSpan_Get",kwnames
,&obj0
)) goto fail
;
42396 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBSpan
, SWIG_POINTER_EXCEPTION
| 0);
42397 if (SWIG_arg_fail(1)) SWIG_fail
;
42399 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42400 result
= (PyObject
*)wxGBSpan_Get(arg1
);
42402 wxPyEndAllowThreads(__tstate
);
42403 if (PyErr_Occurred()) SWIG_fail
;
42405 resultobj
= result
;
42412 static PyObject
* GBSpan_swigregister(PyObject
*, PyObject
*args
) {
42414 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
42415 SWIG_TypeClientData(SWIGTYPE_p_wxGBSpan
, obj
);
42417 return Py_BuildValue((char *)"");
42419 static int _wrap_DefaultSpan_set(PyObject
*) {
42420 PyErr_SetString(PyExc_TypeError
,"Variable DefaultSpan is read-only.");
42425 static PyObject
*_wrap_DefaultSpan_get(void) {
42428 pyobj
= SWIG_NewPointerObj((void *)(&wxDefaultSpan
), SWIGTYPE_p_wxGBSpan
, 0);
42433 static PyObject
*_wrap_new_GBSizerItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42434 PyObject
*resultobj
;
42435 wxGBSizerItem
*result
;
42436 char *kwnames
[] = {
42440 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_GBSizerItem",kwnames
)) goto fail
;
42442 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42443 result
= (wxGBSizerItem
*)new wxGBSizerItem();
42445 wxPyEndAllowThreads(__tstate
);
42446 if (PyErr_Occurred()) SWIG_fail
;
42448 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 1);
42455 static PyObject
*_wrap_new_GBSizerItemWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42456 PyObject
*resultobj
;
42457 wxWindow
*arg1
= (wxWindow
*) 0 ;
42458 wxGBPosition
*arg2
= 0 ;
42459 wxGBSpan
*arg3
= 0 ;
42462 PyObject
*arg6
= (PyObject
*) NULL
;
42463 wxGBSizerItem
*result
;
42464 wxGBPosition temp2
;
42466 PyObject
* obj0
= 0 ;
42467 PyObject
* obj1
= 0 ;
42468 PyObject
* obj2
= 0 ;
42469 PyObject
* obj3
= 0 ;
42470 PyObject
* obj4
= 0 ;
42471 PyObject
* obj5
= 0 ;
42472 char *kwnames
[] = {
42473 (char *) "window",(char *) "pos",(char *) "span",(char *) "flag",(char *) "border",(char *) "userData", NULL
42476 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:new_GBSizerItemWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
42477 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
42478 if (SWIG_arg_fail(1)) SWIG_fail
;
42481 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
42485 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
42488 arg4
= (int)(SWIG_As_int(obj3
));
42489 if (SWIG_arg_fail(4)) SWIG_fail
;
42492 arg5
= (int)(SWIG_As_int(obj4
));
42493 if (SWIG_arg_fail(5)) SWIG_fail
;
42499 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42500 result
= (wxGBSizerItem
*)new_wxGBSizerItem(arg1
,(wxGBPosition
const &)*arg2
,(wxGBSpan
const &)*arg3
,arg4
,arg5
,arg6
);
42502 wxPyEndAllowThreads(__tstate
);
42503 if (PyErr_Occurred()) SWIG_fail
;
42505 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 1);
42512 static PyObject
*_wrap_new_GBSizerItemSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42513 PyObject
*resultobj
;
42514 wxSizer
*arg1
= (wxSizer
*) 0 ;
42515 wxGBPosition
*arg2
= 0 ;
42516 wxGBSpan
*arg3
= 0 ;
42519 PyObject
*arg6
= (PyObject
*) NULL
;
42520 wxGBSizerItem
*result
;
42521 wxGBPosition temp2
;
42523 PyObject
* obj0
= 0 ;
42524 PyObject
* obj1
= 0 ;
42525 PyObject
* obj2
= 0 ;
42526 PyObject
* obj3
= 0 ;
42527 PyObject
* obj4
= 0 ;
42528 PyObject
* obj5
= 0 ;
42529 char *kwnames
[] = {
42530 (char *) "sizer",(char *) "pos",(char *) "span",(char *) "flag",(char *) "border",(char *) "userData", NULL
42533 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:new_GBSizerItemSizer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
42534 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
42535 if (SWIG_arg_fail(1)) SWIG_fail
;
42538 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
42542 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
42545 arg4
= (int)(SWIG_As_int(obj3
));
42546 if (SWIG_arg_fail(4)) SWIG_fail
;
42549 arg5
= (int)(SWIG_As_int(obj4
));
42550 if (SWIG_arg_fail(5)) SWIG_fail
;
42556 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42557 result
= (wxGBSizerItem
*)new_wxGBSizerItem(arg1
,(wxGBPosition
const &)*arg2
,(wxGBSpan
const &)*arg3
,arg4
,arg5
,arg6
);
42559 wxPyEndAllowThreads(__tstate
);
42560 if (PyErr_Occurred()) SWIG_fail
;
42562 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 1);
42569 static PyObject
*_wrap_new_GBSizerItemSpacer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42570 PyObject
*resultobj
;
42573 wxGBPosition
*arg3
= 0 ;
42574 wxGBSpan
*arg4
= 0 ;
42577 PyObject
*arg7
= (PyObject
*) NULL
;
42578 wxGBSizerItem
*result
;
42579 wxGBPosition temp3
;
42581 PyObject
* obj0
= 0 ;
42582 PyObject
* obj1
= 0 ;
42583 PyObject
* obj2
= 0 ;
42584 PyObject
* obj3
= 0 ;
42585 PyObject
* obj4
= 0 ;
42586 PyObject
* obj5
= 0 ;
42587 PyObject
* obj6
= 0 ;
42588 char *kwnames
[] = {
42589 (char *) "width",(char *) "height",(char *) "pos",(char *) "span",(char *) "flag",(char *) "border",(char *) "userData", NULL
42592 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO|O:new_GBSizerItemSpacer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
42594 arg1
= (int)(SWIG_As_int(obj0
));
42595 if (SWIG_arg_fail(1)) SWIG_fail
;
42598 arg2
= (int)(SWIG_As_int(obj1
));
42599 if (SWIG_arg_fail(2)) SWIG_fail
;
42603 if ( ! wxGBPosition_helper(obj2
, &arg3
)) SWIG_fail
;
42607 if ( ! wxGBSpan_helper(obj3
, &arg4
)) SWIG_fail
;
42610 arg5
= (int)(SWIG_As_int(obj4
));
42611 if (SWIG_arg_fail(5)) SWIG_fail
;
42614 arg6
= (int)(SWIG_As_int(obj5
));
42615 if (SWIG_arg_fail(6)) SWIG_fail
;
42621 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42622 result
= (wxGBSizerItem
*)new_wxGBSizerItem(arg1
,arg2
,(wxGBPosition
const &)*arg3
,(wxGBSpan
const &)*arg4
,arg5
,arg6
,arg7
);
42624 wxPyEndAllowThreads(__tstate
);
42625 if (PyErr_Occurred()) SWIG_fail
;
42627 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 1);
42634 static PyObject
*_wrap_GBSizerItem_GetPos(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42635 PyObject
*resultobj
;
42636 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
42637 wxGBPosition result
;
42638 PyObject
* obj0
= 0 ;
42639 char *kwnames
[] = {
42640 (char *) "self", NULL
42643 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBSizerItem_GetPos",kwnames
,&obj0
)) goto fail
;
42644 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
42645 if (SWIG_arg_fail(1)) SWIG_fail
;
42647 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42648 result
= ((wxGBSizerItem
const *)arg1
)->GetPos();
42650 wxPyEndAllowThreads(__tstate
);
42651 if (PyErr_Occurred()) SWIG_fail
;
42654 wxGBPosition
* resultptr
;
42655 resultptr
= new wxGBPosition((wxGBPosition
&)(result
));
42656 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBPosition
, 1);
42664 static PyObject
*_wrap_GBSizerItem_GetSpan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42665 PyObject
*resultobj
;
42666 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
42668 PyObject
* obj0
= 0 ;
42669 char *kwnames
[] = {
42670 (char *) "self", NULL
42673 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBSizerItem_GetSpan",kwnames
,&obj0
)) goto fail
;
42674 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
42675 if (SWIG_arg_fail(1)) SWIG_fail
;
42677 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42678 result
= ((wxGBSizerItem
const *)arg1
)->GetSpan();
42680 wxPyEndAllowThreads(__tstate
);
42681 if (PyErr_Occurred()) SWIG_fail
;
42684 wxGBSpan
* resultptr
;
42685 resultptr
= new wxGBSpan((wxGBSpan
&)(result
));
42686 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBSpan
, 1);
42694 static PyObject
*_wrap_GBSizerItem_SetPos(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42695 PyObject
*resultobj
;
42696 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
42697 wxGBPosition
*arg2
= 0 ;
42699 wxGBPosition temp2
;
42700 PyObject
* obj0
= 0 ;
42701 PyObject
* obj1
= 0 ;
42702 char *kwnames
[] = {
42703 (char *) "self",(char *) "pos", NULL
42706 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSizerItem_SetPos",kwnames
,&obj0
,&obj1
)) goto fail
;
42707 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
42708 if (SWIG_arg_fail(1)) SWIG_fail
;
42711 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
42714 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42715 result
= (bool)(arg1
)->SetPos((wxGBPosition
const &)*arg2
);
42717 wxPyEndAllowThreads(__tstate
);
42718 if (PyErr_Occurred()) SWIG_fail
;
42721 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
42729 static PyObject
*_wrap_GBSizerItem_SetSpan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42730 PyObject
*resultobj
;
42731 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
42732 wxGBSpan
*arg2
= 0 ;
42735 PyObject
* obj0
= 0 ;
42736 PyObject
* obj1
= 0 ;
42737 char *kwnames
[] = {
42738 (char *) "self",(char *) "span", NULL
42741 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSizerItem_SetSpan",kwnames
,&obj0
,&obj1
)) goto fail
;
42742 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
42743 if (SWIG_arg_fail(1)) SWIG_fail
;
42746 if ( ! wxGBSpan_helper(obj1
, &arg2
)) SWIG_fail
;
42749 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42750 result
= (bool)(arg1
)->SetSpan((wxGBSpan
const &)*arg2
);
42752 wxPyEndAllowThreads(__tstate
);
42753 if (PyErr_Occurred()) SWIG_fail
;
42756 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
42764 static PyObject
*_wrap_GBSizerItem_Intersects(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42765 PyObject
*resultobj
;
42766 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
42767 wxGBSizerItem
*arg2
= 0 ;
42769 PyObject
* obj0
= 0 ;
42770 PyObject
* obj1
= 0 ;
42771 char *kwnames
[] = {
42772 (char *) "self",(char *) "other", NULL
42775 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSizerItem_Intersects",kwnames
,&obj0
,&obj1
)) goto fail
;
42776 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
42777 if (SWIG_arg_fail(1)) SWIG_fail
;
42779 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxGBSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
42780 if (SWIG_arg_fail(2)) SWIG_fail
;
42781 if (arg2
== NULL
) {
42782 SWIG_null_ref("wxGBSizerItem");
42784 if (SWIG_arg_fail(2)) SWIG_fail
;
42787 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42788 result
= (bool)(arg1
)->Intersects((wxGBSizerItem
const &)*arg2
);
42790 wxPyEndAllowThreads(__tstate
);
42791 if (PyErr_Occurred()) SWIG_fail
;
42794 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
42802 static PyObject
*_wrap_GBSizerItem_IntersectsPos(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42803 PyObject
*resultobj
;
42804 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
42805 wxGBPosition
*arg2
= 0 ;
42806 wxGBSpan
*arg3
= 0 ;
42808 wxGBPosition temp2
;
42810 PyObject
* obj0
= 0 ;
42811 PyObject
* obj1
= 0 ;
42812 PyObject
* obj2
= 0 ;
42813 char *kwnames
[] = {
42814 (char *) "self",(char *) "pos",(char *) "span", NULL
42817 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GBSizerItem_IntersectsPos",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
42818 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
42819 if (SWIG_arg_fail(1)) SWIG_fail
;
42822 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
42826 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
42829 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42830 result
= (bool)(arg1
)->Intersects((wxGBPosition
const &)*arg2
,(wxGBSpan
const &)*arg3
);
42832 wxPyEndAllowThreads(__tstate
);
42833 if (PyErr_Occurred()) SWIG_fail
;
42836 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
42844 static PyObject
*_wrap_GBSizerItem_GetEndPos(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42845 PyObject
*resultobj
;
42846 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
42847 wxGBPosition result
;
42848 PyObject
* obj0
= 0 ;
42849 char *kwnames
[] = {
42850 (char *) "self", NULL
42853 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBSizerItem_GetEndPos",kwnames
,&obj0
)) goto fail
;
42854 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
42855 if (SWIG_arg_fail(1)) SWIG_fail
;
42857 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42858 result
= wxGBSizerItem_GetEndPos(arg1
);
42860 wxPyEndAllowThreads(__tstate
);
42861 if (PyErr_Occurred()) SWIG_fail
;
42864 wxGBPosition
* resultptr
;
42865 resultptr
= new wxGBPosition((wxGBPosition
&)(result
));
42866 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBPosition
, 1);
42874 static PyObject
*_wrap_GBSizerItem_GetGBSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42875 PyObject
*resultobj
;
42876 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
42877 wxGridBagSizer
*result
;
42878 PyObject
* obj0
= 0 ;
42879 char *kwnames
[] = {
42880 (char *) "self", NULL
42883 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBSizerItem_GetGBSizer",kwnames
,&obj0
)) goto fail
;
42884 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
42885 if (SWIG_arg_fail(1)) SWIG_fail
;
42887 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42888 result
= (wxGridBagSizer
*)((wxGBSizerItem
const *)arg1
)->GetGBSizer();
42890 wxPyEndAllowThreads(__tstate
);
42891 if (PyErr_Occurred()) SWIG_fail
;
42893 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGridBagSizer
, 0);
42900 static PyObject
*_wrap_GBSizerItem_SetGBSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42901 PyObject
*resultobj
;
42902 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
42903 wxGridBagSizer
*arg2
= (wxGridBagSizer
*) 0 ;
42904 PyObject
* obj0
= 0 ;
42905 PyObject
* obj1
= 0 ;
42906 char *kwnames
[] = {
42907 (char *) "self",(char *) "sizer", NULL
42910 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSizerItem_SetGBSizer",kwnames
,&obj0
,&obj1
)) goto fail
;
42911 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
42912 if (SWIG_arg_fail(1)) SWIG_fail
;
42913 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
42914 if (SWIG_arg_fail(2)) SWIG_fail
;
42916 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42917 (arg1
)->SetGBSizer(arg2
);
42919 wxPyEndAllowThreads(__tstate
);
42920 if (PyErr_Occurred()) SWIG_fail
;
42922 Py_INCREF(Py_None
); resultobj
= Py_None
;
42929 static PyObject
* GBSizerItem_swigregister(PyObject
*, PyObject
*args
) {
42931 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
42932 SWIG_TypeClientData(SWIGTYPE_p_wxGBSizerItem
, obj
);
42934 return Py_BuildValue((char *)"");
42936 static PyObject
*_wrap_new_GridBagSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42937 PyObject
*resultobj
;
42938 int arg1
= (int) 0 ;
42939 int arg2
= (int) 0 ;
42940 wxGridBagSizer
*result
;
42941 PyObject
* obj0
= 0 ;
42942 PyObject
* obj1
= 0 ;
42943 char *kwnames
[] = {
42944 (char *) "vgap",(char *) "hgap", NULL
42947 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_GridBagSizer",kwnames
,&obj0
,&obj1
)) goto fail
;
42950 arg1
= (int)(SWIG_As_int(obj0
));
42951 if (SWIG_arg_fail(1)) SWIG_fail
;
42956 arg2
= (int)(SWIG_As_int(obj1
));
42957 if (SWIG_arg_fail(2)) SWIG_fail
;
42961 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42962 result
= (wxGridBagSizer
*)new wxGridBagSizer(arg1
,arg2
);
42964 wxPyEndAllowThreads(__tstate
);
42965 if (PyErr_Occurred()) SWIG_fail
;
42967 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGridBagSizer
, 1);
42974 static PyObject
*_wrap_GridBagSizer_Add(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42975 PyObject
*resultobj
;
42976 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
42977 PyObject
*arg2
= (PyObject
*) 0 ;
42978 wxGBPosition
*arg3
= 0 ;
42979 wxGBSpan
const &arg4_defvalue
= wxDefaultSpan
;
42980 wxGBSpan
*arg4
= (wxGBSpan
*) &arg4_defvalue
;
42981 int arg5
= (int) 0 ;
42982 int arg6
= (int) 0 ;
42983 PyObject
*arg7
= (PyObject
*) NULL
;
42984 wxGBSizerItem
*result
;
42985 wxGBPosition temp3
;
42987 PyObject
* obj0
= 0 ;
42988 PyObject
* obj1
= 0 ;
42989 PyObject
* obj2
= 0 ;
42990 PyObject
* obj3
= 0 ;
42991 PyObject
* obj4
= 0 ;
42992 PyObject
* obj5
= 0 ;
42993 PyObject
* obj6
= 0 ;
42994 char *kwnames
[] = {
42995 (char *) "self",(char *) "item",(char *) "pos",(char *) "span",(char *) "flag",(char *) "border",(char *) "userData", NULL
42998 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:GridBagSizer_Add",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
42999 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
43000 if (SWIG_arg_fail(1)) SWIG_fail
;
43004 if ( ! wxGBPosition_helper(obj2
, &arg3
)) SWIG_fail
;
43009 if ( ! wxGBSpan_helper(obj3
, &arg4
)) SWIG_fail
;
43014 arg5
= (int)(SWIG_As_int(obj4
));
43015 if (SWIG_arg_fail(5)) SWIG_fail
;
43020 arg6
= (int)(SWIG_As_int(obj5
));
43021 if (SWIG_arg_fail(6)) SWIG_fail
;
43028 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43029 result
= (wxGBSizerItem
*)wxGridBagSizer_Add(arg1
,arg2
,(wxGBPosition
const &)*arg3
,(wxGBSpan
const &)*arg4
,arg5
,arg6
,arg7
);
43031 wxPyEndAllowThreads(__tstate
);
43032 if (PyErr_Occurred()) SWIG_fail
;
43034 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 0);
43041 static PyObject
*_wrap_GridBagSizer_AddItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
43042 PyObject
*resultobj
;
43043 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
43044 wxGBSizerItem
*arg2
= (wxGBSizerItem
*) 0 ;
43045 wxGBSizerItem
*result
;
43046 PyObject
* obj0
= 0 ;
43047 PyObject
* obj1
= 0 ;
43048 char *kwnames
[] = {
43049 (char *) "self",(char *) "item", NULL
43052 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridBagSizer_AddItem",kwnames
,&obj0
,&obj1
)) goto fail
;
43053 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
43054 if (SWIG_arg_fail(1)) SWIG_fail
;
43055 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxGBSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
43056 if (SWIG_arg_fail(2)) SWIG_fail
;
43058 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43059 result
= (wxGBSizerItem
*)(arg1
)->Add(arg2
);
43061 wxPyEndAllowThreads(__tstate
);
43062 if (PyErr_Occurred()) SWIG_fail
;
43064 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 0);
43071 static PyObject
*_wrap_GridBagSizer_GetCellSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
43072 PyObject
*resultobj
;
43073 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
43077 PyObject
* obj0
= 0 ;
43078 PyObject
* obj1
= 0 ;
43079 PyObject
* obj2
= 0 ;
43080 char *kwnames
[] = {
43081 (char *) "self",(char *) "row",(char *) "col", NULL
43084 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GridBagSizer_GetCellSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
43085 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
43086 if (SWIG_arg_fail(1)) SWIG_fail
;
43088 arg2
= (int)(SWIG_As_int(obj1
));
43089 if (SWIG_arg_fail(2)) SWIG_fail
;
43092 arg3
= (int)(SWIG_As_int(obj2
));
43093 if (SWIG_arg_fail(3)) SWIG_fail
;
43096 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43097 result
= ((wxGridBagSizer
const *)arg1
)->GetCellSize(arg2
,arg3
);
43099 wxPyEndAllowThreads(__tstate
);
43100 if (PyErr_Occurred()) SWIG_fail
;
43103 wxSize
* resultptr
;
43104 resultptr
= new wxSize((wxSize
&)(result
));
43105 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
43113 static PyObject
*_wrap_GridBagSizer_GetEmptyCellSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
43114 PyObject
*resultobj
;
43115 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
43117 PyObject
* obj0
= 0 ;
43118 char *kwnames
[] = {
43119 (char *) "self", NULL
43122 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridBagSizer_GetEmptyCellSize",kwnames
,&obj0
)) goto fail
;
43123 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
43124 if (SWIG_arg_fail(1)) SWIG_fail
;
43126 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43127 result
= ((wxGridBagSizer
const *)arg1
)->GetEmptyCellSize();
43129 wxPyEndAllowThreads(__tstate
);
43130 if (PyErr_Occurred()) SWIG_fail
;
43133 wxSize
* resultptr
;
43134 resultptr
= new wxSize((wxSize
&)(result
));
43135 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
43143 static PyObject
*_wrap_GridBagSizer_SetEmptyCellSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
43144 PyObject
*resultobj
;
43145 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
43148 PyObject
* obj0
= 0 ;
43149 PyObject
* obj1
= 0 ;
43150 char *kwnames
[] = {
43151 (char *) "self",(char *) "sz", NULL
43154 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridBagSizer_SetEmptyCellSize",kwnames
,&obj0
,&obj1
)) goto fail
;
43155 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
43156 if (SWIG_arg_fail(1)) SWIG_fail
;
43159 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
43162 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43163 (arg1
)->SetEmptyCellSize((wxSize
const &)*arg2
);
43165 wxPyEndAllowThreads(__tstate
);
43166 if (PyErr_Occurred()) SWIG_fail
;
43168 Py_INCREF(Py_None
); resultobj
= Py_None
;
43175 static PyObject
*_wrap_GridBagSizer_GetItemPosition__SWIG_0(PyObject
*, PyObject
*args
) {
43176 PyObject
*resultobj
;
43177 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
43178 wxWindow
*arg2
= (wxWindow
*) 0 ;
43179 wxGBPosition result
;
43180 PyObject
* obj0
= 0 ;
43181 PyObject
* obj1
= 0 ;
43183 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_GetItemPosition",&obj0
,&obj1
)) goto fail
;
43184 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
43185 if (SWIG_arg_fail(1)) SWIG_fail
;
43186 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
43187 if (SWIG_arg_fail(2)) SWIG_fail
;
43189 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43190 result
= (arg1
)->GetItemPosition(arg2
);
43192 wxPyEndAllowThreads(__tstate
);
43193 if (PyErr_Occurred()) SWIG_fail
;
43196 wxGBPosition
* resultptr
;
43197 resultptr
= new wxGBPosition((wxGBPosition
&)(result
));
43198 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBPosition
, 1);
43206 static PyObject
*_wrap_GridBagSizer_GetItemPosition__SWIG_1(PyObject
*, PyObject
*args
) {
43207 PyObject
*resultobj
;
43208 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
43209 wxSizer
*arg2
= (wxSizer
*) 0 ;
43210 wxGBPosition result
;
43211 PyObject
* obj0
= 0 ;
43212 PyObject
* obj1
= 0 ;
43214 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_GetItemPosition",&obj0
,&obj1
)) goto fail
;
43215 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
43216 if (SWIG_arg_fail(1)) SWIG_fail
;
43217 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
43218 if (SWIG_arg_fail(2)) SWIG_fail
;
43220 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43221 result
= (arg1
)->GetItemPosition(arg2
);
43223 wxPyEndAllowThreads(__tstate
);
43224 if (PyErr_Occurred()) SWIG_fail
;
43227 wxGBPosition
* resultptr
;
43228 resultptr
= new wxGBPosition((wxGBPosition
&)(result
));
43229 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBPosition
, 1);
43237 static PyObject
*_wrap_GridBagSizer_GetItemPosition__SWIG_2(PyObject
*, PyObject
*args
) {
43238 PyObject
*resultobj
;
43239 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
43241 wxGBPosition result
;
43242 PyObject
* obj0
= 0 ;
43243 PyObject
* obj1
= 0 ;
43245 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_GetItemPosition",&obj0
,&obj1
)) goto fail
;
43246 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
43247 if (SWIG_arg_fail(1)) SWIG_fail
;
43249 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
43250 if (SWIG_arg_fail(2)) SWIG_fail
;
43253 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43254 result
= (arg1
)->GetItemPosition(arg2
);
43256 wxPyEndAllowThreads(__tstate
);
43257 if (PyErr_Occurred()) SWIG_fail
;
43260 wxGBPosition
* resultptr
;
43261 resultptr
= new wxGBPosition((wxGBPosition
&)(result
));
43262 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBPosition
, 1);
43270 static PyObject
*_wrap_GridBagSizer_GetItemPosition(PyObject
*self
, PyObject
*args
) {
43275 argc
= PyObject_Length(args
);
43276 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
43277 argv
[ii
] = PyTuple_GetItem(args
,ii
);
43283 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
43293 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
43301 return _wrap_GridBagSizer_GetItemPosition__SWIG_0(self
,args
);
43309 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
43319 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxSizer
, 0) == -1) {
43327 return _wrap_GridBagSizer_GetItemPosition__SWIG_1(self
,args
);
43335 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
43343 _v
= SWIG_Check_unsigned_SS_long(argv
[1]);
43345 return _wrap_GridBagSizer_GetItemPosition__SWIG_2(self
,args
);
43350 PyErr_SetString(PyExc_NotImplementedError
,"No matching function for overloaded 'GridBagSizer_GetItemPosition'");
43355 static PyObject
*_wrap_GridBagSizer_SetItemPosition__SWIG_0(PyObject
*, PyObject
*args
) {
43356 PyObject
*resultobj
;
43357 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
43358 wxWindow
*arg2
= (wxWindow
*) 0 ;
43359 wxGBPosition
*arg3
= 0 ;
43361 wxGBPosition temp3
;
43362 PyObject
* obj0
= 0 ;
43363 PyObject
* obj1
= 0 ;
43364 PyObject
* obj2
= 0 ;
43366 if(!PyArg_ParseTuple(args
,(char *)"OOO:GridBagSizer_SetItemPosition",&obj0
,&obj1
,&obj2
)) goto fail
;
43367 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
43368 if (SWIG_arg_fail(1)) SWIG_fail
;
43369 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
43370 if (SWIG_arg_fail(2)) SWIG_fail
;
43373 if ( ! wxGBPosition_helper(obj2
, &arg3
)) SWIG_fail
;
43376 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43377 result
= (bool)(arg1
)->SetItemPosition(arg2
,(wxGBPosition
const &)*arg3
);
43379 wxPyEndAllowThreads(__tstate
);
43380 if (PyErr_Occurred()) SWIG_fail
;
43383 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
43391 static PyObject
*_wrap_GridBagSizer_SetItemPosition__SWIG_1(PyObject
*, PyObject
*args
) {
43392 PyObject
*resultobj
;
43393 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
43394 wxSizer
*arg2
= (wxSizer
*) 0 ;
43395 wxGBPosition
*arg3
= 0 ;
43397 wxGBPosition temp3
;
43398 PyObject
* obj0
= 0 ;
43399 PyObject
* obj1
= 0 ;
43400 PyObject
* obj2
= 0 ;
43402 if(!PyArg_ParseTuple(args
,(char *)"OOO:GridBagSizer_SetItemPosition",&obj0
,&obj1
,&obj2
)) goto fail
;
43403 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
43404 if (SWIG_arg_fail(1)) SWIG_fail
;
43405 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
43406 if (SWIG_arg_fail(2)) SWIG_fail
;
43409 if ( ! wxGBPosition_helper(obj2
, &arg3
)) SWIG_fail
;
43412 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43413 result
= (bool)(arg1
)->SetItemPosition(arg2
,(wxGBPosition
const &)*arg3
);
43415 wxPyEndAllowThreads(__tstate
);
43416 if (PyErr_Occurred()) SWIG_fail
;
43419 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
43427 static PyObject
*_wrap_GridBagSizer_SetItemPosition__SWIG_2(PyObject
*, PyObject
*args
) {
43428 PyObject
*resultobj
;
43429 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
43431 wxGBPosition
*arg3
= 0 ;
43433 wxGBPosition temp3
;
43434 PyObject
* obj0
= 0 ;
43435 PyObject
* obj1
= 0 ;
43436 PyObject
* obj2
= 0 ;
43438 if(!PyArg_ParseTuple(args
,(char *)"OOO:GridBagSizer_SetItemPosition",&obj0
,&obj1
,&obj2
)) goto fail
;
43439 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
43440 if (SWIG_arg_fail(1)) SWIG_fail
;
43442 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
43443 if (SWIG_arg_fail(2)) SWIG_fail
;
43447 if ( ! wxGBPosition_helper(obj2
, &arg3
)) SWIG_fail
;
43450 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43451 result
= (bool)(arg1
)->SetItemPosition(arg2
,(wxGBPosition
const &)*arg3
);
43453 wxPyEndAllowThreads(__tstate
);
43454 if (PyErr_Occurred()) SWIG_fail
;
43457 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
43465 static PyObject
*_wrap_GridBagSizer_SetItemPosition(PyObject
*self
, PyObject
*args
) {
43470 argc
= PyObject_Length(args
);
43471 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
43472 argv
[ii
] = PyTuple_GetItem(args
,ii
);
43478 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
43488 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
43497 _v
= wxPySimple_typecheck(argv
[2], wxT("wxGBPosition"), 2);
43500 return _wrap_GridBagSizer_SetItemPosition__SWIG_0(self
,args
);
43509 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
43519 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxSizer
, 0) == -1) {
43528 _v
= wxPySimple_typecheck(argv
[2], wxT("wxGBPosition"), 2);
43531 return _wrap_GridBagSizer_SetItemPosition__SWIG_1(self
,args
);
43540 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
43548 _v
= SWIG_Check_unsigned_SS_long(argv
[1]);
43551 _v
= wxPySimple_typecheck(argv
[2], wxT("wxGBPosition"), 2);
43554 return _wrap_GridBagSizer_SetItemPosition__SWIG_2(self
,args
);
43560 PyErr_SetString(PyExc_NotImplementedError
,"No matching function for overloaded 'GridBagSizer_SetItemPosition'");
43565 static PyObject
*_wrap_GridBagSizer_GetItemSpan__SWIG_0(PyObject
*, PyObject
*args
) {
43566 PyObject
*resultobj
;
43567 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
43568 wxWindow
*arg2
= (wxWindow
*) 0 ;
43570 PyObject
* obj0
= 0 ;
43571 PyObject
* obj1
= 0 ;
43573 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_GetItemSpan",&obj0
,&obj1
)) goto fail
;
43574 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
43575 if (SWIG_arg_fail(1)) SWIG_fail
;
43576 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
43577 if (SWIG_arg_fail(2)) SWIG_fail
;
43579 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43580 result
= (arg1
)->GetItemSpan(arg2
);
43582 wxPyEndAllowThreads(__tstate
);
43583 if (PyErr_Occurred()) SWIG_fail
;
43586 wxGBSpan
* resultptr
;
43587 resultptr
= new wxGBSpan((wxGBSpan
&)(result
));
43588 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBSpan
, 1);
43596 static PyObject
*_wrap_GridBagSizer_GetItemSpan__SWIG_1(PyObject
*, PyObject
*args
) {
43597 PyObject
*resultobj
;
43598 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
43599 wxSizer
*arg2
= (wxSizer
*) 0 ;
43601 PyObject
* obj0
= 0 ;
43602 PyObject
* obj1
= 0 ;
43604 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_GetItemSpan",&obj0
,&obj1
)) goto fail
;
43605 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
43606 if (SWIG_arg_fail(1)) SWIG_fail
;
43607 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
43608 if (SWIG_arg_fail(2)) SWIG_fail
;
43610 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43611 result
= (arg1
)->GetItemSpan(arg2
);
43613 wxPyEndAllowThreads(__tstate
);
43614 if (PyErr_Occurred()) SWIG_fail
;
43617 wxGBSpan
* resultptr
;
43618 resultptr
= new wxGBSpan((wxGBSpan
&)(result
));
43619 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBSpan
, 1);
43627 static PyObject
*_wrap_GridBagSizer_GetItemSpan__SWIG_2(PyObject
*, PyObject
*args
) {
43628 PyObject
*resultobj
;
43629 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
43632 PyObject
* obj0
= 0 ;
43633 PyObject
* obj1
= 0 ;
43635 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_GetItemSpan",&obj0
,&obj1
)) goto fail
;
43636 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
43637 if (SWIG_arg_fail(1)) SWIG_fail
;
43639 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
43640 if (SWIG_arg_fail(2)) SWIG_fail
;
43643 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43644 result
= (arg1
)->GetItemSpan(arg2
);
43646 wxPyEndAllowThreads(__tstate
);
43647 if (PyErr_Occurred()) SWIG_fail
;
43650 wxGBSpan
* resultptr
;
43651 resultptr
= new wxGBSpan((wxGBSpan
&)(result
));
43652 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBSpan
, 1);
43660 static PyObject
*_wrap_GridBagSizer_GetItemSpan(PyObject
*self
, PyObject
*args
) {
43665 argc
= PyObject_Length(args
);
43666 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
43667 argv
[ii
] = PyTuple_GetItem(args
,ii
);
43673 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
43683 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
43691 return _wrap_GridBagSizer_GetItemSpan__SWIG_0(self
,args
);
43699 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
43709 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxSizer
, 0) == -1) {
43717 return _wrap_GridBagSizer_GetItemSpan__SWIG_1(self
,args
);
43725 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
43733 _v
= SWIG_Check_unsigned_SS_long(argv
[1]);
43735 return _wrap_GridBagSizer_GetItemSpan__SWIG_2(self
,args
);
43740 PyErr_SetString(PyExc_NotImplementedError
,"No matching function for overloaded 'GridBagSizer_GetItemSpan'");
43745 static PyObject
*_wrap_GridBagSizer_SetItemSpan__SWIG_0(PyObject
*, PyObject
*args
) {
43746 PyObject
*resultobj
;
43747 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
43748 wxWindow
*arg2
= (wxWindow
*) 0 ;
43749 wxGBSpan
*arg3
= 0 ;
43752 PyObject
* obj0
= 0 ;
43753 PyObject
* obj1
= 0 ;
43754 PyObject
* obj2
= 0 ;
43756 if(!PyArg_ParseTuple(args
,(char *)"OOO:GridBagSizer_SetItemSpan",&obj0
,&obj1
,&obj2
)) goto fail
;
43757 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
43758 if (SWIG_arg_fail(1)) SWIG_fail
;
43759 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
43760 if (SWIG_arg_fail(2)) SWIG_fail
;
43763 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
43766 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43767 result
= (bool)(arg1
)->SetItemSpan(arg2
,(wxGBSpan
const &)*arg3
);
43769 wxPyEndAllowThreads(__tstate
);
43770 if (PyErr_Occurred()) SWIG_fail
;
43773 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
43781 static PyObject
*_wrap_GridBagSizer_SetItemSpan__SWIG_1(PyObject
*, PyObject
*args
) {
43782 PyObject
*resultobj
;
43783 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
43784 wxSizer
*arg2
= (wxSizer
*) 0 ;
43785 wxGBSpan
*arg3
= 0 ;
43788 PyObject
* obj0
= 0 ;
43789 PyObject
* obj1
= 0 ;
43790 PyObject
* obj2
= 0 ;
43792 if(!PyArg_ParseTuple(args
,(char *)"OOO:GridBagSizer_SetItemSpan",&obj0
,&obj1
,&obj2
)) goto fail
;
43793 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
43794 if (SWIG_arg_fail(1)) SWIG_fail
;
43795 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
43796 if (SWIG_arg_fail(2)) SWIG_fail
;
43799 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
43802 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43803 result
= (bool)(arg1
)->SetItemSpan(arg2
,(wxGBSpan
const &)*arg3
);
43805 wxPyEndAllowThreads(__tstate
);
43806 if (PyErr_Occurred()) SWIG_fail
;
43809 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
43817 static PyObject
*_wrap_GridBagSizer_SetItemSpan__SWIG_2(PyObject
*, PyObject
*args
) {
43818 PyObject
*resultobj
;
43819 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
43821 wxGBSpan
*arg3
= 0 ;
43824 PyObject
* obj0
= 0 ;
43825 PyObject
* obj1
= 0 ;
43826 PyObject
* obj2
= 0 ;
43828 if(!PyArg_ParseTuple(args
,(char *)"OOO:GridBagSizer_SetItemSpan",&obj0
,&obj1
,&obj2
)) goto fail
;
43829 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
43830 if (SWIG_arg_fail(1)) SWIG_fail
;
43832 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
43833 if (SWIG_arg_fail(2)) SWIG_fail
;
43837 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
43840 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43841 result
= (bool)(arg1
)->SetItemSpan(arg2
,(wxGBSpan
const &)*arg3
);
43843 wxPyEndAllowThreads(__tstate
);
43844 if (PyErr_Occurred()) SWIG_fail
;
43847 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
43855 static PyObject
*_wrap_GridBagSizer_SetItemSpan(PyObject
*self
, PyObject
*args
) {
43860 argc
= PyObject_Length(args
);
43861 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
43862 argv
[ii
] = PyTuple_GetItem(args
,ii
);
43868 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
43878 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
43887 _v
= wxPySimple_typecheck(argv
[2], wxT("wxGBSpan"), 2);
43890 return _wrap_GridBagSizer_SetItemSpan__SWIG_0(self
,args
);
43899 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
43909 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxSizer
, 0) == -1) {
43918 _v
= wxPySimple_typecheck(argv
[2], wxT("wxGBSpan"), 2);
43921 return _wrap_GridBagSizer_SetItemSpan__SWIG_1(self
,args
);
43930 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
43938 _v
= SWIG_Check_unsigned_SS_long(argv
[1]);
43941 _v
= wxPySimple_typecheck(argv
[2], wxT("wxGBSpan"), 2);
43944 return _wrap_GridBagSizer_SetItemSpan__SWIG_2(self
,args
);
43950 PyErr_SetString(PyExc_NotImplementedError
,"No matching function for overloaded 'GridBagSizer_SetItemSpan'");
43955 static PyObject
*_wrap_GridBagSizer_FindItem__SWIG_0(PyObject
*, PyObject
*args
) {
43956 PyObject
*resultobj
;
43957 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
43958 wxWindow
*arg2
= (wxWindow
*) 0 ;
43959 wxGBSizerItem
*result
;
43960 PyObject
* obj0
= 0 ;
43961 PyObject
* obj1
= 0 ;
43963 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_FindItem",&obj0
,&obj1
)) goto fail
;
43964 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
43965 if (SWIG_arg_fail(1)) SWIG_fail
;
43966 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
43967 if (SWIG_arg_fail(2)) SWIG_fail
;
43969 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43970 result
= (wxGBSizerItem
*)(arg1
)->FindItem(arg2
);
43972 wxPyEndAllowThreads(__tstate
);
43973 if (PyErr_Occurred()) SWIG_fail
;
43975 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 0);
43982 static PyObject
*_wrap_GridBagSizer_FindItem__SWIG_1(PyObject
*, PyObject
*args
) {
43983 PyObject
*resultobj
;
43984 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
43985 wxSizer
*arg2
= (wxSizer
*) 0 ;
43986 wxGBSizerItem
*result
;
43987 PyObject
* obj0
= 0 ;
43988 PyObject
* obj1
= 0 ;
43990 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_FindItem",&obj0
,&obj1
)) goto fail
;
43991 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
43992 if (SWIG_arg_fail(1)) SWIG_fail
;
43993 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
43994 if (SWIG_arg_fail(2)) SWIG_fail
;
43996 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43997 result
= (wxGBSizerItem
*)(arg1
)->FindItem(arg2
);
43999 wxPyEndAllowThreads(__tstate
);
44000 if (PyErr_Occurred()) SWIG_fail
;
44002 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 0);
44009 static PyObject
*_wrap_GridBagSizer_FindItem(PyObject
*self
, PyObject
*args
) {
44014 argc
= PyObject_Length(args
);
44015 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
44016 argv
[ii
] = PyTuple_GetItem(args
,ii
);
44022 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
44032 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
44040 return _wrap_GridBagSizer_FindItem__SWIG_0(self
,args
);
44048 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
44058 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxSizer
, 0) == -1) {
44066 return _wrap_GridBagSizer_FindItem__SWIG_1(self
,args
);
44071 PyErr_SetString(PyExc_NotImplementedError
,"No matching function for overloaded 'GridBagSizer_FindItem'");
44076 static PyObject
*_wrap_GridBagSizer_FindItemAtPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44077 PyObject
*resultobj
;
44078 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
44079 wxGBPosition
*arg2
= 0 ;
44080 wxGBSizerItem
*result
;
44081 wxGBPosition temp2
;
44082 PyObject
* obj0
= 0 ;
44083 PyObject
* obj1
= 0 ;
44084 char *kwnames
[] = {
44085 (char *) "self",(char *) "pos", NULL
44088 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridBagSizer_FindItemAtPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
44089 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
44090 if (SWIG_arg_fail(1)) SWIG_fail
;
44093 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
44096 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44097 result
= (wxGBSizerItem
*)(arg1
)->FindItemAtPosition((wxGBPosition
const &)*arg2
);
44099 wxPyEndAllowThreads(__tstate
);
44100 if (PyErr_Occurred()) SWIG_fail
;
44102 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 0);
44109 static PyObject
*_wrap_GridBagSizer_FindItemAtPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44110 PyObject
*resultobj
;
44111 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
44112 wxPoint
*arg2
= 0 ;
44113 wxGBSizerItem
*result
;
44115 PyObject
* obj0
= 0 ;
44116 PyObject
* obj1
= 0 ;
44117 char *kwnames
[] = {
44118 (char *) "self",(char *) "pt", NULL
44121 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridBagSizer_FindItemAtPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
44122 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
44123 if (SWIG_arg_fail(1)) SWIG_fail
;
44126 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
44129 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44130 result
= (wxGBSizerItem
*)(arg1
)->FindItemAtPoint((wxPoint
const &)*arg2
);
44132 wxPyEndAllowThreads(__tstate
);
44133 if (PyErr_Occurred()) SWIG_fail
;
44135 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 0);
44142 static PyObject
*_wrap_GridBagSizer_CheckForIntersection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44143 PyObject
*resultobj
;
44144 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
44145 wxGBSizerItem
*arg2
= (wxGBSizerItem
*) 0 ;
44146 wxGBSizerItem
*arg3
= (wxGBSizerItem
*) NULL
;
44148 PyObject
* obj0
= 0 ;
44149 PyObject
* obj1
= 0 ;
44150 PyObject
* obj2
= 0 ;
44151 char *kwnames
[] = {
44152 (char *) "self",(char *) "item",(char *) "excludeItem", NULL
44155 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:GridBagSizer_CheckForIntersection",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
44156 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
44157 if (SWIG_arg_fail(1)) SWIG_fail
;
44158 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxGBSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
44159 if (SWIG_arg_fail(2)) SWIG_fail
;
44161 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxGBSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
44162 if (SWIG_arg_fail(3)) SWIG_fail
;
44165 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44166 result
= (bool)(arg1
)->CheckForIntersection(arg2
,arg3
);
44168 wxPyEndAllowThreads(__tstate
);
44169 if (PyErr_Occurred()) SWIG_fail
;
44172 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
44180 static PyObject
*_wrap_GridBagSizer_CheckForIntersectionPos(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44181 PyObject
*resultobj
;
44182 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
44183 wxGBPosition
*arg2
= 0 ;
44184 wxGBSpan
*arg3
= 0 ;
44185 wxGBSizerItem
*arg4
= (wxGBSizerItem
*) NULL
;
44187 wxGBPosition temp2
;
44189 PyObject
* obj0
= 0 ;
44190 PyObject
* obj1
= 0 ;
44191 PyObject
* obj2
= 0 ;
44192 PyObject
* obj3
= 0 ;
44193 char *kwnames
[] = {
44194 (char *) "self",(char *) "pos",(char *) "span",(char *) "excludeItem", NULL
44197 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:GridBagSizer_CheckForIntersectionPos",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
44198 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
44199 if (SWIG_arg_fail(1)) SWIG_fail
;
44202 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
44206 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
44209 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxGBSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
44210 if (SWIG_arg_fail(4)) SWIG_fail
;
44213 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44214 result
= (bool)(arg1
)->CheckForIntersection((wxGBPosition
const &)*arg2
,(wxGBSpan
const &)*arg3
,arg4
);
44216 wxPyEndAllowThreads(__tstate
);
44217 if (PyErr_Occurred()) SWIG_fail
;
44220 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
44228 static PyObject
* GridBagSizer_swigregister(PyObject
*, PyObject
*args
) {
44230 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
44231 SWIG_TypeClientData(SWIGTYPE_p_wxGridBagSizer
, obj
);
44233 return Py_BuildValue((char *)"");
44235 static PyObject
*_wrap_IndividualLayoutConstraint_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44236 PyObject
*resultobj
;
44237 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
44238 wxRelationship arg2
;
44239 wxWindow
*arg3
= (wxWindow
*) 0 ;
44241 int arg5
= (int) 0 ;
44242 int arg6
= (int) wxLAYOUT_DEFAULT_MARGIN
;
44243 PyObject
* obj0
= 0 ;
44244 PyObject
* obj1
= 0 ;
44245 PyObject
* obj2
= 0 ;
44246 PyObject
* obj3
= 0 ;
44247 PyObject
* obj4
= 0 ;
44248 PyObject
* obj5
= 0 ;
44249 char *kwnames
[] = {
44250 (char *) "self",(char *) "rel",(char *) "otherW",(char *) "otherE",(char *) "val",(char *) "marg", NULL
44253 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:IndividualLayoutConstraint_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
44254 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
44255 if (SWIG_arg_fail(1)) SWIG_fail
;
44257 arg2
= (wxRelationship
)(SWIG_As_int(obj1
));
44258 if (SWIG_arg_fail(2)) SWIG_fail
;
44260 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
44261 if (SWIG_arg_fail(3)) SWIG_fail
;
44263 arg4
= (wxEdge
)(SWIG_As_int(obj3
));
44264 if (SWIG_arg_fail(4)) SWIG_fail
;
44268 arg5
= (int)(SWIG_As_int(obj4
));
44269 if (SWIG_arg_fail(5)) SWIG_fail
;
44274 arg6
= (int)(SWIG_As_int(obj5
));
44275 if (SWIG_arg_fail(6)) SWIG_fail
;
44279 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44280 (arg1
)->Set((wxRelationship
)arg2
,arg3
,(wxEdge
)arg4
,arg5
,arg6
);
44282 wxPyEndAllowThreads(__tstate
);
44283 if (PyErr_Occurred()) SWIG_fail
;
44285 Py_INCREF(Py_None
); resultobj
= Py_None
;
44292 static PyObject
*_wrap_IndividualLayoutConstraint_LeftOf(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44293 PyObject
*resultobj
;
44294 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
44295 wxWindow
*arg2
= (wxWindow
*) 0 ;
44296 int arg3
= (int) 0 ;
44297 PyObject
* obj0
= 0 ;
44298 PyObject
* obj1
= 0 ;
44299 PyObject
* obj2
= 0 ;
44300 char *kwnames
[] = {
44301 (char *) "self",(char *) "sibling",(char *) "marg", NULL
44304 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:IndividualLayoutConstraint_LeftOf",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
44305 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
44306 if (SWIG_arg_fail(1)) SWIG_fail
;
44307 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
44308 if (SWIG_arg_fail(2)) SWIG_fail
;
44311 arg3
= (int)(SWIG_As_int(obj2
));
44312 if (SWIG_arg_fail(3)) SWIG_fail
;
44316 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44317 (arg1
)->LeftOf(arg2
,arg3
);
44319 wxPyEndAllowThreads(__tstate
);
44320 if (PyErr_Occurred()) SWIG_fail
;
44322 Py_INCREF(Py_None
); resultobj
= Py_None
;
44329 static PyObject
*_wrap_IndividualLayoutConstraint_RightOf(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44330 PyObject
*resultobj
;
44331 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
44332 wxWindow
*arg2
= (wxWindow
*) 0 ;
44333 int arg3
= (int) 0 ;
44334 PyObject
* obj0
= 0 ;
44335 PyObject
* obj1
= 0 ;
44336 PyObject
* obj2
= 0 ;
44337 char *kwnames
[] = {
44338 (char *) "self",(char *) "sibling",(char *) "marg", NULL
44341 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:IndividualLayoutConstraint_RightOf",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
44342 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
44343 if (SWIG_arg_fail(1)) SWIG_fail
;
44344 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
44345 if (SWIG_arg_fail(2)) SWIG_fail
;
44348 arg3
= (int)(SWIG_As_int(obj2
));
44349 if (SWIG_arg_fail(3)) SWIG_fail
;
44353 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44354 (arg1
)->RightOf(arg2
,arg3
);
44356 wxPyEndAllowThreads(__tstate
);
44357 if (PyErr_Occurred()) SWIG_fail
;
44359 Py_INCREF(Py_None
); resultobj
= Py_None
;
44366 static PyObject
*_wrap_IndividualLayoutConstraint_Above(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44367 PyObject
*resultobj
;
44368 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
44369 wxWindow
*arg2
= (wxWindow
*) 0 ;
44370 int arg3
= (int) 0 ;
44371 PyObject
* obj0
= 0 ;
44372 PyObject
* obj1
= 0 ;
44373 PyObject
* obj2
= 0 ;
44374 char *kwnames
[] = {
44375 (char *) "self",(char *) "sibling",(char *) "marg", NULL
44378 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:IndividualLayoutConstraint_Above",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
44379 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
44380 if (SWIG_arg_fail(1)) SWIG_fail
;
44381 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
44382 if (SWIG_arg_fail(2)) SWIG_fail
;
44385 arg3
= (int)(SWIG_As_int(obj2
));
44386 if (SWIG_arg_fail(3)) SWIG_fail
;
44390 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44391 (arg1
)->Above(arg2
,arg3
);
44393 wxPyEndAllowThreads(__tstate
);
44394 if (PyErr_Occurred()) SWIG_fail
;
44396 Py_INCREF(Py_None
); resultobj
= Py_None
;
44403 static PyObject
*_wrap_IndividualLayoutConstraint_Below(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44404 PyObject
*resultobj
;
44405 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
44406 wxWindow
*arg2
= (wxWindow
*) 0 ;
44407 int arg3
= (int) 0 ;
44408 PyObject
* obj0
= 0 ;
44409 PyObject
* obj1
= 0 ;
44410 PyObject
* obj2
= 0 ;
44411 char *kwnames
[] = {
44412 (char *) "self",(char *) "sibling",(char *) "marg", NULL
44415 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:IndividualLayoutConstraint_Below",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
44416 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
44417 if (SWIG_arg_fail(1)) SWIG_fail
;
44418 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
44419 if (SWIG_arg_fail(2)) SWIG_fail
;
44422 arg3
= (int)(SWIG_As_int(obj2
));
44423 if (SWIG_arg_fail(3)) SWIG_fail
;
44427 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44428 (arg1
)->Below(arg2
,arg3
);
44430 wxPyEndAllowThreads(__tstate
);
44431 if (PyErr_Occurred()) SWIG_fail
;
44433 Py_INCREF(Py_None
); resultobj
= Py_None
;
44440 static PyObject
*_wrap_IndividualLayoutConstraint_SameAs(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44441 PyObject
*resultobj
;
44442 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
44443 wxWindow
*arg2
= (wxWindow
*) 0 ;
44445 int arg4
= (int) 0 ;
44446 PyObject
* obj0
= 0 ;
44447 PyObject
* obj1
= 0 ;
44448 PyObject
* obj2
= 0 ;
44449 PyObject
* obj3
= 0 ;
44450 char *kwnames
[] = {
44451 (char *) "self",(char *) "otherW",(char *) "edge",(char *) "marg", NULL
44454 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:IndividualLayoutConstraint_SameAs",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
44455 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
44456 if (SWIG_arg_fail(1)) SWIG_fail
;
44457 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
44458 if (SWIG_arg_fail(2)) SWIG_fail
;
44460 arg3
= (wxEdge
)(SWIG_As_int(obj2
));
44461 if (SWIG_arg_fail(3)) SWIG_fail
;
44465 arg4
= (int)(SWIG_As_int(obj3
));
44466 if (SWIG_arg_fail(4)) SWIG_fail
;
44470 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44471 (arg1
)->SameAs(arg2
,(wxEdge
)arg3
,arg4
);
44473 wxPyEndAllowThreads(__tstate
);
44474 if (PyErr_Occurred()) SWIG_fail
;
44476 Py_INCREF(Py_None
); resultobj
= Py_None
;
44483 static PyObject
*_wrap_IndividualLayoutConstraint_PercentOf(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44484 PyObject
*resultobj
;
44485 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
44486 wxWindow
*arg2
= (wxWindow
*) 0 ;
44489 PyObject
* obj0
= 0 ;
44490 PyObject
* obj1
= 0 ;
44491 PyObject
* obj2
= 0 ;
44492 PyObject
* obj3
= 0 ;
44493 char *kwnames
[] = {
44494 (char *) "self",(char *) "otherW",(char *) "wh",(char *) "per", NULL
44497 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:IndividualLayoutConstraint_PercentOf",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
44498 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
44499 if (SWIG_arg_fail(1)) SWIG_fail
;
44500 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
44501 if (SWIG_arg_fail(2)) SWIG_fail
;
44503 arg3
= (wxEdge
)(SWIG_As_int(obj2
));
44504 if (SWIG_arg_fail(3)) SWIG_fail
;
44507 arg4
= (int)(SWIG_As_int(obj3
));
44508 if (SWIG_arg_fail(4)) SWIG_fail
;
44511 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44512 (arg1
)->PercentOf(arg2
,(wxEdge
)arg3
,arg4
);
44514 wxPyEndAllowThreads(__tstate
);
44515 if (PyErr_Occurred()) SWIG_fail
;
44517 Py_INCREF(Py_None
); resultobj
= Py_None
;
44524 static PyObject
*_wrap_IndividualLayoutConstraint_Absolute(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44525 PyObject
*resultobj
;
44526 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
44528 PyObject
* obj0
= 0 ;
44529 PyObject
* obj1
= 0 ;
44530 char *kwnames
[] = {
44531 (char *) "self",(char *) "val", NULL
44534 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_Absolute",kwnames
,&obj0
,&obj1
)) goto fail
;
44535 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
44536 if (SWIG_arg_fail(1)) SWIG_fail
;
44538 arg2
= (int)(SWIG_As_int(obj1
));
44539 if (SWIG_arg_fail(2)) SWIG_fail
;
44542 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44543 (arg1
)->Absolute(arg2
);
44545 wxPyEndAllowThreads(__tstate
);
44546 if (PyErr_Occurred()) SWIG_fail
;
44548 Py_INCREF(Py_None
); resultobj
= Py_None
;
44555 static PyObject
*_wrap_IndividualLayoutConstraint_Unconstrained(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44556 PyObject
*resultobj
;
44557 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
44558 PyObject
* obj0
= 0 ;
44559 char *kwnames
[] = {
44560 (char *) "self", NULL
44563 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_Unconstrained",kwnames
,&obj0
)) goto fail
;
44564 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
44565 if (SWIG_arg_fail(1)) SWIG_fail
;
44567 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44568 (arg1
)->Unconstrained();
44570 wxPyEndAllowThreads(__tstate
);
44571 if (PyErr_Occurred()) SWIG_fail
;
44573 Py_INCREF(Py_None
); resultobj
= Py_None
;
44580 static PyObject
*_wrap_IndividualLayoutConstraint_AsIs(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44581 PyObject
*resultobj
;
44582 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
44583 PyObject
* obj0
= 0 ;
44584 char *kwnames
[] = {
44585 (char *) "self", NULL
44588 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_AsIs",kwnames
,&obj0
)) goto fail
;
44589 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
44590 if (SWIG_arg_fail(1)) SWIG_fail
;
44592 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44595 wxPyEndAllowThreads(__tstate
);
44596 if (PyErr_Occurred()) SWIG_fail
;
44598 Py_INCREF(Py_None
); resultobj
= Py_None
;
44605 static PyObject
*_wrap_IndividualLayoutConstraint_GetOtherWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44606 PyObject
*resultobj
;
44607 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
44609 PyObject
* obj0
= 0 ;
44610 char *kwnames
[] = {
44611 (char *) "self", NULL
44614 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetOtherWindow",kwnames
,&obj0
)) goto fail
;
44615 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
44616 if (SWIG_arg_fail(1)) SWIG_fail
;
44618 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44619 result
= (wxWindow
*)(arg1
)->GetOtherWindow();
44621 wxPyEndAllowThreads(__tstate
);
44622 if (PyErr_Occurred()) SWIG_fail
;
44625 resultobj
= wxPyMake_wxObject(result
, 0);
44633 static PyObject
*_wrap_IndividualLayoutConstraint_GetMyEdge(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44634 PyObject
*resultobj
;
44635 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
44637 PyObject
* obj0
= 0 ;
44638 char *kwnames
[] = {
44639 (char *) "self", NULL
44642 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetMyEdge",kwnames
,&obj0
)) goto fail
;
44643 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
44644 if (SWIG_arg_fail(1)) SWIG_fail
;
44646 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44647 result
= (wxEdge
)((wxIndividualLayoutConstraint
const *)arg1
)->GetMyEdge();
44649 wxPyEndAllowThreads(__tstate
);
44650 if (PyErr_Occurred()) SWIG_fail
;
44652 resultobj
= SWIG_From_int((result
));
44659 static PyObject
*_wrap_IndividualLayoutConstraint_SetEdge(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44660 PyObject
*resultobj
;
44661 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
44663 PyObject
* obj0
= 0 ;
44664 PyObject
* obj1
= 0 ;
44665 char *kwnames
[] = {
44666 (char *) "self",(char *) "which", NULL
44669 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_SetEdge",kwnames
,&obj0
,&obj1
)) goto fail
;
44670 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
44671 if (SWIG_arg_fail(1)) SWIG_fail
;
44673 arg2
= (wxEdge
)(SWIG_As_int(obj1
));
44674 if (SWIG_arg_fail(2)) SWIG_fail
;
44677 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44678 (arg1
)->SetEdge((wxEdge
)arg2
);
44680 wxPyEndAllowThreads(__tstate
);
44681 if (PyErr_Occurred()) SWIG_fail
;
44683 Py_INCREF(Py_None
); resultobj
= Py_None
;
44690 static PyObject
*_wrap_IndividualLayoutConstraint_SetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44691 PyObject
*resultobj
;
44692 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
44694 PyObject
* obj0
= 0 ;
44695 PyObject
* obj1
= 0 ;
44696 char *kwnames
[] = {
44697 (char *) "self",(char *) "v", NULL
44700 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
44701 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
44702 if (SWIG_arg_fail(1)) SWIG_fail
;
44704 arg2
= (int)(SWIG_As_int(obj1
));
44705 if (SWIG_arg_fail(2)) SWIG_fail
;
44708 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44709 (arg1
)->SetValue(arg2
);
44711 wxPyEndAllowThreads(__tstate
);
44712 if (PyErr_Occurred()) SWIG_fail
;
44714 Py_INCREF(Py_None
); resultobj
= Py_None
;
44721 static PyObject
*_wrap_IndividualLayoutConstraint_GetMargin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44722 PyObject
*resultobj
;
44723 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
44725 PyObject
* obj0
= 0 ;
44726 char *kwnames
[] = {
44727 (char *) "self", NULL
44730 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetMargin",kwnames
,&obj0
)) goto fail
;
44731 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
44732 if (SWIG_arg_fail(1)) SWIG_fail
;
44734 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44735 result
= (int)(arg1
)->GetMargin();
44737 wxPyEndAllowThreads(__tstate
);
44738 if (PyErr_Occurred()) SWIG_fail
;
44741 resultobj
= SWIG_From_int((int)(result
));
44749 static PyObject
*_wrap_IndividualLayoutConstraint_SetMargin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44750 PyObject
*resultobj
;
44751 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
44753 PyObject
* obj0
= 0 ;
44754 PyObject
* obj1
= 0 ;
44755 char *kwnames
[] = {
44756 (char *) "self",(char *) "m", NULL
44759 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_SetMargin",kwnames
,&obj0
,&obj1
)) goto fail
;
44760 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
44761 if (SWIG_arg_fail(1)) SWIG_fail
;
44763 arg2
= (int)(SWIG_As_int(obj1
));
44764 if (SWIG_arg_fail(2)) SWIG_fail
;
44767 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44768 (arg1
)->SetMargin(arg2
);
44770 wxPyEndAllowThreads(__tstate
);
44771 if (PyErr_Occurred()) SWIG_fail
;
44773 Py_INCREF(Py_None
); resultobj
= Py_None
;
44780 static PyObject
*_wrap_IndividualLayoutConstraint_GetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44781 PyObject
*resultobj
;
44782 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
44784 PyObject
* obj0
= 0 ;
44785 char *kwnames
[] = {
44786 (char *) "self", NULL
44789 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetValue",kwnames
,&obj0
)) goto fail
;
44790 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
44791 if (SWIG_arg_fail(1)) SWIG_fail
;
44793 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44794 result
= (int)((wxIndividualLayoutConstraint
const *)arg1
)->GetValue();
44796 wxPyEndAllowThreads(__tstate
);
44797 if (PyErr_Occurred()) SWIG_fail
;
44800 resultobj
= SWIG_From_int((int)(result
));
44808 static PyObject
*_wrap_IndividualLayoutConstraint_GetPercent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44809 PyObject
*resultobj
;
44810 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
44812 PyObject
* obj0
= 0 ;
44813 char *kwnames
[] = {
44814 (char *) "self", NULL
44817 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetPercent",kwnames
,&obj0
)) goto fail
;
44818 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
44819 if (SWIG_arg_fail(1)) SWIG_fail
;
44821 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44822 result
= (int)((wxIndividualLayoutConstraint
const *)arg1
)->GetPercent();
44824 wxPyEndAllowThreads(__tstate
);
44825 if (PyErr_Occurred()) SWIG_fail
;
44828 resultobj
= SWIG_From_int((int)(result
));
44836 static PyObject
*_wrap_IndividualLayoutConstraint_GetOtherEdge(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44837 PyObject
*resultobj
;
44838 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
44840 PyObject
* obj0
= 0 ;
44841 char *kwnames
[] = {
44842 (char *) "self", NULL
44845 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetOtherEdge",kwnames
,&obj0
)) goto fail
;
44846 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
44847 if (SWIG_arg_fail(1)) SWIG_fail
;
44849 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44850 result
= (int)((wxIndividualLayoutConstraint
const *)arg1
)->GetOtherEdge();
44852 wxPyEndAllowThreads(__tstate
);
44853 if (PyErr_Occurred()) SWIG_fail
;
44856 resultobj
= SWIG_From_int((int)(result
));
44864 static PyObject
*_wrap_IndividualLayoutConstraint_GetDone(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44865 PyObject
*resultobj
;
44866 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
44868 PyObject
* obj0
= 0 ;
44869 char *kwnames
[] = {
44870 (char *) "self", NULL
44873 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetDone",kwnames
,&obj0
)) goto fail
;
44874 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
44875 if (SWIG_arg_fail(1)) SWIG_fail
;
44877 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44878 result
= (bool)((wxIndividualLayoutConstraint
const *)arg1
)->GetDone();
44880 wxPyEndAllowThreads(__tstate
);
44881 if (PyErr_Occurred()) SWIG_fail
;
44884 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
44892 static PyObject
*_wrap_IndividualLayoutConstraint_SetDone(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44893 PyObject
*resultobj
;
44894 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
44896 PyObject
* obj0
= 0 ;
44897 PyObject
* obj1
= 0 ;
44898 char *kwnames
[] = {
44899 (char *) "self",(char *) "d", NULL
44902 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_SetDone",kwnames
,&obj0
,&obj1
)) goto fail
;
44903 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
44904 if (SWIG_arg_fail(1)) SWIG_fail
;
44906 arg2
= (bool)(SWIG_As_bool(obj1
));
44907 if (SWIG_arg_fail(2)) SWIG_fail
;
44910 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44911 (arg1
)->SetDone(arg2
);
44913 wxPyEndAllowThreads(__tstate
);
44914 if (PyErr_Occurred()) SWIG_fail
;
44916 Py_INCREF(Py_None
); resultobj
= Py_None
;
44923 static PyObject
*_wrap_IndividualLayoutConstraint_GetRelationship(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44924 PyObject
*resultobj
;
44925 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
44926 wxRelationship result
;
44927 PyObject
* obj0
= 0 ;
44928 char *kwnames
[] = {
44929 (char *) "self", NULL
44932 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetRelationship",kwnames
,&obj0
)) goto fail
;
44933 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
44934 if (SWIG_arg_fail(1)) SWIG_fail
;
44936 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44937 result
= (wxRelationship
)(arg1
)->GetRelationship();
44939 wxPyEndAllowThreads(__tstate
);
44940 if (PyErr_Occurred()) SWIG_fail
;
44942 resultobj
= SWIG_From_int((result
));
44949 static PyObject
*_wrap_IndividualLayoutConstraint_SetRelationship(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44950 PyObject
*resultobj
;
44951 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
44952 wxRelationship arg2
;
44953 PyObject
* obj0
= 0 ;
44954 PyObject
* obj1
= 0 ;
44955 char *kwnames
[] = {
44956 (char *) "self",(char *) "r", NULL
44959 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_SetRelationship",kwnames
,&obj0
,&obj1
)) goto fail
;
44960 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
44961 if (SWIG_arg_fail(1)) SWIG_fail
;
44963 arg2
= (wxRelationship
)(SWIG_As_int(obj1
));
44964 if (SWIG_arg_fail(2)) SWIG_fail
;
44967 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44968 (arg1
)->SetRelationship((wxRelationship
)arg2
);
44970 wxPyEndAllowThreads(__tstate
);
44971 if (PyErr_Occurred()) SWIG_fail
;
44973 Py_INCREF(Py_None
); resultobj
= Py_None
;
44980 static PyObject
*_wrap_IndividualLayoutConstraint_ResetIfWin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44981 PyObject
*resultobj
;
44982 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
44983 wxWindow
*arg2
= (wxWindow
*) 0 ;
44985 PyObject
* obj0
= 0 ;
44986 PyObject
* obj1
= 0 ;
44987 char *kwnames
[] = {
44988 (char *) "self",(char *) "otherW", NULL
44991 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_ResetIfWin",kwnames
,&obj0
,&obj1
)) goto fail
;
44992 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
44993 if (SWIG_arg_fail(1)) SWIG_fail
;
44994 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
44995 if (SWIG_arg_fail(2)) SWIG_fail
;
44997 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44998 result
= (bool)(arg1
)->ResetIfWin(arg2
);
45000 wxPyEndAllowThreads(__tstate
);
45001 if (PyErr_Occurred()) SWIG_fail
;
45004 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
45012 static PyObject
*_wrap_IndividualLayoutConstraint_SatisfyConstraint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
45013 PyObject
*resultobj
;
45014 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
45015 wxLayoutConstraints
*arg2
= (wxLayoutConstraints
*) 0 ;
45016 wxWindow
*arg3
= (wxWindow
*) 0 ;
45018 PyObject
* obj0
= 0 ;
45019 PyObject
* obj1
= 0 ;
45020 PyObject
* obj2
= 0 ;
45021 char *kwnames
[] = {
45022 (char *) "self",(char *) "constraints",(char *) "win", NULL
45025 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:IndividualLayoutConstraint_SatisfyConstraint",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
45026 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
45027 if (SWIG_arg_fail(1)) SWIG_fail
;
45028 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxLayoutConstraints
, SWIG_POINTER_EXCEPTION
| 0);
45029 if (SWIG_arg_fail(2)) SWIG_fail
;
45030 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
45031 if (SWIG_arg_fail(3)) SWIG_fail
;
45033 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45034 result
= (bool)(arg1
)->SatisfyConstraint(arg2
,arg3
);
45036 wxPyEndAllowThreads(__tstate
);
45037 if (PyErr_Occurred()) SWIG_fail
;
45040 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
45048 static PyObject
*_wrap_IndividualLayoutConstraint_GetEdge(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
45049 PyObject
*resultobj
;
45050 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
45052 wxWindow
*arg3
= (wxWindow
*) 0 ;
45053 wxWindow
*arg4
= (wxWindow
*) 0 ;
45055 PyObject
* obj0
= 0 ;
45056 PyObject
* obj1
= 0 ;
45057 PyObject
* obj2
= 0 ;
45058 PyObject
* obj3
= 0 ;
45059 char *kwnames
[] = {
45060 (char *) "self",(char *) "which",(char *) "thisWin",(char *) "other", NULL
45063 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:IndividualLayoutConstraint_GetEdge",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
45064 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
45065 if (SWIG_arg_fail(1)) SWIG_fail
;
45067 arg2
= (wxEdge
)(SWIG_As_int(obj1
));
45068 if (SWIG_arg_fail(2)) SWIG_fail
;
45070 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
45071 if (SWIG_arg_fail(3)) SWIG_fail
;
45072 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
45073 if (SWIG_arg_fail(4)) SWIG_fail
;
45075 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45076 result
= (int)((wxIndividualLayoutConstraint
const *)arg1
)->GetEdge((wxEdge
)arg2
,arg3
,arg4
);
45078 wxPyEndAllowThreads(__tstate
);
45079 if (PyErr_Occurred()) SWIG_fail
;
45082 resultobj
= SWIG_From_int((int)(result
));
45090 static PyObject
* IndividualLayoutConstraint_swigregister(PyObject
*, PyObject
*args
) {
45092 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
45093 SWIG_TypeClientData(SWIGTYPE_p_wxIndividualLayoutConstraint
, obj
);
45095 return Py_BuildValue((char *)"");
45097 static PyObject
*_wrap_LayoutConstraints_left_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
45098 PyObject
*resultobj
;
45099 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
45100 wxIndividualLayoutConstraint
*result
;
45101 PyObject
* obj0
= 0 ;
45102 char *kwnames
[] = {
45103 (char *) "self", NULL
45106 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_left_get",kwnames
,&obj0
)) goto fail
;
45107 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLayoutConstraints
, SWIG_POINTER_EXCEPTION
| 0);
45108 if (SWIG_arg_fail(1)) SWIG_fail
;
45109 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->left
);
45111 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
45118 static PyObject
*_wrap_LayoutConstraints_top_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
45119 PyObject
*resultobj
;
45120 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
45121 wxIndividualLayoutConstraint
*result
;
45122 PyObject
* obj0
= 0 ;
45123 char *kwnames
[] = {
45124 (char *) "self", NULL
45127 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_top_get",kwnames
,&obj0
)) goto fail
;
45128 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLayoutConstraints
, SWIG_POINTER_EXCEPTION
| 0);
45129 if (SWIG_arg_fail(1)) SWIG_fail
;
45130 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->top
);
45132 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
45139 static PyObject
*_wrap_LayoutConstraints_right_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
45140 PyObject
*resultobj
;
45141 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
45142 wxIndividualLayoutConstraint
*result
;
45143 PyObject
* obj0
= 0 ;
45144 char *kwnames
[] = {
45145 (char *) "self", NULL
45148 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_right_get",kwnames
,&obj0
)) goto fail
;
45149 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLayoutConstraints
, SWIG_POINTER_EXCEPTION
| 0);
45150 if (SWIG_arg_fail(1)) SWIG_fail
;
45151 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->right
);
45153 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
45160 static PyObject
*_wrap_LayoutConstraints_bottom_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
45161 PyObject
*resultobj
;
45162 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
45163 wxIndividualLayoutConstraint
*result
;
45164 PyObject
* obj0
= 0 ;
45165 char *kwnames
[] = {
45166 (char *) "self", NULL
45169 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_bottom_get",kwnames
,&obj0
)) goto fail
;
45170 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLayoutConstraints
, SWIG_POINTER_EXCEPTION
| 0);
45171 if (SWIG_arg_fail(1)) SWIG_fail
;
45172 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->bottom
);
45174 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
45181 static PyObject
*_wrap_LayoutConstraints_width_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
45182 PyObject
*resultobj
;
45183 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
45184 wxIndividualLayoutConstraint
*result
;
45185 PyObject
* obj0
= 0 ;
45186 char *kwnames
[] = {
45187 (char *) "self", NULL
45190 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_width_get",kwnames
,&obj0
)) goto fail
;
45191 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLayoutConstraints
, SWIG_POINTER_EXCEPTION
| 0);
45192 if (SWIG_arg_fail(1)) SWIG_fail
;
45193 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->width
);
45195 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
45202 static PyObject
*_wrap_LayoutConstraints_height_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
45203 PyObject
*resultobj
;
45204 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
45205 wxIndividualLayoutConstraint
*result
;
45206 PyObject
* obj0
= 0 ;
45207 char *kwnames
[] = {
45208 (char *) "self", NULL
45211 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_height_get",kwnames
,&obj0
)) goto fail
;
45212 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLayoutConstraints
, SWIG_POINTER_EXCEPTION
| 0);
45213 if (SWIG_arg_fail(1)) SWIG_fail
;
45214 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->height
);
45216 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
45223 static PyObject
*_wrap_LayoutConstraints_centreX_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
45224 PyObject
*resultobj
;
45225 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
45226 wxIndividualLayoutConstraint
*result
;
45227 PyObject
* obj0
= 0 ;
45228 char *kwnames
[] = {
45229 (char *) "self", NULL
45232 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_centreX_get",kwnames
,&obj0
)) goto fail
;
45233 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLayoutConstraints
, SWIG_POINTER_EXCEPTION
| 0);
45234 if (SWIG_arg_fail(1)) SWIG_fail
;
45235 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->centreX
);
45237 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
45244 static PyObject
*_wrap_LayoutConstraints_centreY_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
45245 PyObject
*resultobj
;
45246 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
45247 wxIndividualLayoutConstraint
*result
;
45248 PyObject
* obj0
= 0 ;
45249 char *kwnames
[] = {
45250 (char *) "self", NULL
45253 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_centreY_get",kwnames
,&obj0
)) goto fail
;
45254 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLayoutConstraints
, SWIG_POINTER_EXCEPTION
| 0);
45255 if (SWIG_arg_fail(1)) SWIG_fail
;
45256 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->centreY
);
45258 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
45265 static PyObject
*_wrap_new_LayoutConstraints(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
45266 PyObject
*resultobj
;
45267 wxLayoutConstraints
*result
;
45268 char *kwnames
[] = {
45272 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_LayoutConstraints",kwnames
)) goto fail
;
45274 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45275 result
= (wxLayoutConstraints
*)new wxLayoutConstraints();
45277 wxPyEndAllowThreads(__tstate
);
45278 if (PyErr_Occurred()) SWIG_fail
;
45280 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLayoutConstraints
, 1);
45287 static PyObject
*_wrap_LayoutConstraints_SatisfyConstraints(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
45288 PyObject
*resultobj
;
45289 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
45290 wxWindow
*arg2
= (wxWindow
*) 0 ;
45291 int *arg3
= (int *) 0 ;
45295 PyObject
* obj0
= 0 ;
45296 PyObject
* obj1
= 0 ;
45297 char *kwnames
[] = {
45298 (char *) "self",(char *) "win", NULL
45301 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
45302 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LayoutConstraints_SatisfyConstraints",kwnames
,&obj0
,&obj1
)) goto fail
;
45303 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLayoutConstraints
, SWIG_POINTER_EXCEPTION
| 0);
45304 if (SWIG_arg_fail(1)) SWIG_fail
;
45305 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
45306 if (SWIG_arg_fail(2)) SWIG_fail
;
45308 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45309 result
= (bool)(arg1
)->SatisfyConstraints(arg2
,arg3
);
45311 wxPyEndAllowThreads(__tstate
);
45312 if (PyErr_Occurred()) SWIG_fail
;
45315 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
45317 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
45318 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
45325 static PyObject
*_wrap_LayoutConstraints_AreSatisfied(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
45326 PyObject
*resultobj
;
45327 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
45329 PyObject
* obj0
= 0 ;
45330 char *kwnames
[] = {
45331 (char *) "self", NULL
45334 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_AreSatisfied",kwnames
,&obj0
)) goto fail
;
45335 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLayoutConstraints
, SWIG_POINTER_EXCEPTION
| 0);
45336 if (SWIG_arg_fail(1)) SWIG_fail
;
45338 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45339 result
= (bool)((wxLayoutConstraints
const *)arg1
)->AreSatisfied();
45341 wxPyEndAllowThreads(__tstate
);
45342 if (PyErr_Occurred()) SWIG_fail
;
45345 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
45353 static PyObject
* LayoutConstraints_swigregister(PyObject
*, PyObject
*args
) {
45355 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
45356 SWIG_TypeClientData(SWIGTYPE_p_wxLayoutConstraints
, obj
);
45358 return Py_BuildValue((char *)"");
45360 static PyMethodDef SwigMethods
[] = {
45361 { (char *)"_wxPySetDictionary", __wxPySetDictionary
, METH_VARARGS
, NULL
},
45362 { (char *)"_wxPyFixStockObjects", __wxPyFixStockObjects
, METH_VARARGS
, NULL
},
45363 { (char *)"Object_GetClassName", (PyCFunction
) _wrap_Object_GetClassName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45364 { (char *)"Object_Destroy", (PyCFunction
) _wrap_Object_Destroy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45365 { (char *)"Object_swigregister", Object_swigregister
, METH_VARARGS
, NULL
},
45366 { (char *)"Size_width_set", (PyCFunction
) _wrap_Size_width_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45367 { (char *)"Size_width_get", (PyCFunction
) _wrap_Size_width_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45368 { (char *)"Size_height_set", (PyCFunction
) _wrap_Size_height_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45369 { (char *)"Size_height_get", (PyCFunction
) _wrap_Size_height_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45370 { (char *)"new_Size", (PyCFunction
) _wrap_new_Size
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45371 { (char *)"delete_Size", (PyCFunction
) _wrap_delete_Size
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45372 { (char *)"Size___eq__", (PyCFunction
) _wrap_Size___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45373 { (char *)"Size___ne__", (PyCFunction
) _wrap_Size___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45374 { (char *)"Size___add__", (PyCFunction
) _wrap_Size___add__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45375 { (char *)"Size___sub__", (PyCFunction
) _wrap_Size___sub__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45376 { (char *)"Size_IncTo", (PyCFunction
) _wrap_Size_IncTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45377 { (char *)"Size_DecTo", (PyCFunction
) _wrap_Size_DecTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45378 { (char *)"Size_Set", (PyCFunction
) _wrap_Size_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45379 { (char *)"Size_SetWidth", (PyCFunction
) _wrap_Size_SetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45380 { (char *)"Size_SetHeight", (PyCFunction
) _wrap_Size_SetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45381 { (char *)"Size_GetWidth", (PyCFunction
) _wrap_Size_GetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45382 { (char *)"Size_GetHeight", (PyCFunction
) _wrap_Size_GetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45383 { (char *)"Size_IsFullySpecified", (PyCFunction
) _wrap_Size_IsFullySpecified
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45384 { (char *)"Size_SetDefaults", (PyCFunction
) _wrap_Size_SetDefaults
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45385 { (char *)"Size_Get", (PyCFunction
) _wrap_Size_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45386 { (char *)"Size_swigregister", Size_swigregister
, METH_VARARGS
, NULL
},
45387 { (char *)"RealPoint_x_set", (PyCFunction
) _wrap_RealPoint_x_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45388 { (char *)"RealPoint_x_get", (PyCFunction
) _wrap_RealPoint_x_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45389 { (char *)"RealPoint_y_set", (PyCFunction
) _wrap_RealPoint_y_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45390 { (char *)"RealPoint_y_get", (PyCFunction
) _wrap_RealPoint_y_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45391 { (char *)"new_RealPoint", (PyCFunction
) _wrap_new_RealPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45392 { (char *)"delete_RealPoint", (PyCFunction
) _wrap_delete_RealPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45393 { (char *)"RealPoint___eq__", (PyCFunction
) _wrap_RealPoint___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45394 { (char *)"RealPoint___ne__", (PyCFunction
) _wrap_RealPoint___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45395 { (char *)"RealPoint___add__", (PyCFunction
) _wrap_RealPoint___add__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45396 { (char *)"RealPoint___sub__", (PyCFunction
) _wrap_RealPoint___sub__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45397 { (char *)"RealPoint_Set", (PyCFunction
) _wrap_RealPoint_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45398 { (char *)"RealPoint_Get", (PyCFunction
) _wrap_RealPoint_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45399 { (char *)"RealPoint_swigregister", RealPoint_swigregister
, METH_VARARGS
, NULL
},
45400 { (char *)"Point_x_set", (PyCFunction
) _wrap_Point_x_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45401 { (char *)"Point_x_get", (PyCFunction
) _wrap_Point_x_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45402 { (char *)"Point_y_set", (PyCFunction
) _wrap_Point_y_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45403 { (char *)"Point_y_get", (PyCFunction
) _wrap_Point_y_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45404 { (char *)"new_Point", (PyCFunction
) _wrap_new_Point
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45405 { (char *)"delete_Point", (PyCFunction
) _wrap_delete_Point
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45406 { (char *)"Point___eq__", (PyCFunction
) _wrap_Point___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45407 { (char *)"Point___ne__", (PyCFunction
) _wrap_Point___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45408 { (char *)"Point___add__", (PyCFunction
) _wrap_Point___add__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45409 { (char *)"Point___sub__", (PyCFunction
) _wrap_Point___sub__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45410 { (char *)"Point___iadd__", (PyCFunction
) _wrap_Point___iadd__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45411 { (char *)"Point___isub__", (PyCFunction
) _wrap_Point___isub__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45412 { (char *)"Point_Set", (PyCFunction
) _wrap_Point_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45413 { (char *)"Point_Get", (PyCFunction
) _wrap_Point_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45414 { (char *)"Point_swigregister", Point_swigregister
, METH_VARARGS
, NULL
},
45415 { (char *)"new_Rect", (PyCFunction
) _wrap_new_Rect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45416 { (char *)"new_RectPP", (PyCFunction
) _wrap_new_RectPP
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45417 { (char *)"new_RectPS", (PyCFunction
) _wrap_new_RectPS
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45418 { (char *)"new_RectS", (PyCFunction
) _wrap_new_RectS
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45419 { (char *)"delete_Rect", (PyCFunction
) _wrap_delete_Rect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45420 { (char *)"Rect_GetX", (PyCFunction
) _wrap_Rect_GetX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45421 { (char *)"Rect_SetX", (PyCFunction
) _wrap_Rect_SetX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45422 { (char *)"Rect_GetY", (PyCFunction
) _wrap_Rect_GetY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45423 { (char *)"Rect_SetY", (PyCFunction
) _wrap_Rect_SetY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45424 { (char *)"Rect_GetWidth", (PyCFunction
) _wrap_Rect_GetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45425 { (char *)"Rect_SetWidth", (PyCFunction
) _wrap_Rect_SetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45426 { (char *)"Rect_GetHeight", (PyCFunction
) _wrap_Rect_GetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45427 { (char *)"Rect_SetHeight", (PyCFunction
) _wrap_Rect_SetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45428 { (char *)"Rect_GetPosition", (PyCFunction
) _wrap_Rect_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45429 { (char *)"Rect_SetPosition", (PyCFunction
) _wrap_Rect_SetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45430 { (char *)"Rect_GetSize", (PyCFunction
) _wrap_Rect_GetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45431 { (char *)"Rect_SetSize", (PyCFunction
) _wrap_Rect_SetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45432 { (char *)"Rect_IsEmpty", (PyCFunction
) _wrap_Rect_IsEmpty
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45433 { (char *)"Rect_GetTopLeft", (PyCFunction
) _wrap_Rect_GetTopLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45434 { (char *)"Rect_SetTopLeft", (PyCFunction
) _wrap_Rect_SetTopLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45435 { (char *)"Rect_GetBottomRight", (PyCFunction
) _wrap_Rect_GetBottomRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45436 { (char *)"Rect_SetBottomRight", (PyCFunction
) _wrap_Rect_SetBottomRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45437 { (char *)"Rect_GetLeft", (PyCFunction
) _wrap_Rect_GetLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45438 { (char *)"Rect_GetTop", (PyCFunction
) _wrap_Rect_GetTop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45439 { (char *)"Rect_GetBottom", (PyCFunction
) _wrap_Rect_GetBottom
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45440 { (char *)"Rect_GetRight", (PyCFunction
) _wrap_Rect_GetRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45441 { (char *)"Rect_SetLeft", (PyCFunction
) _wrap_Rect_SetLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45442 { (char *)"Rect_SetRight", (PyCFunction
) _wrap_Rect_SetRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45443 { (char *)"Rect_SetTop", (PyCFunction
) _wrap_Rect_SetTop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45444 { (char *)"Rect_SetBottom", (PyCFunction
) _wrap_Rect_SetBottom
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45445 { (char *)"Rect_Inflate", (PyCFunction
) _wrap_Rect_Inflate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45446 { (char *)"Rect_Deflate", (PyCFunction
) _wrap_Rect_Deflate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45447 { (char *)"Rect_OffsetXY", (PyCFunction
) _wrap_Rect_OffsetXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45448 { (char *)"Rect_Offset", (PyCFunction
) _wrap_Rect_Offset
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45449 { (char *)"Rect_Intersect", (PyCFunction
) _wrap_Rect_Intersect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45450 { (char *)"Rect_Union", (PyCFunction
) _wrap_Rect_Union
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45451 { (char *)"Rect___add__", (PyCFunction
) _wrap_Rect___add__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45452 { (char *)"Rect___iadd__", (PyCFunction
) _wrap_Rect___iadd__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45453 { (char *)"Rect___eq__", (PyCFunction
) _wrap_Rect___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45454 { (char *)"Rect___ne__", (PyCFunction
) _wrap_Rect___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45455 { (char *)"Rect_InsideXY", (PyCFunction
) _wrap_Rect_InsideXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45456 { (char *)"Rect_Inside", (PyCFunction
) _wrap_Rect_Inside
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45457 { (char *)"Rect_Intersects", (PyCFunction
) _wrap_Rect_Intersects
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45458 { (char *)"Rect_x_set", (PyCFunction
) _wrap_Rect_x_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45459 { (char *)"Rect_x_get", (PyCFunction
) _wrap_Rect_x_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45460 { (char *)"Rect_y_set", (PyCFunction
) _wrap_Rect_y_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45461 { (char *)"Rect_y_get", (PyCFunction
) _wrap_Rect_y_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45462 { (char *)"Rect_width_set", (PyCFunction
) _wrap_Rect_width_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45463 { (char *)"Rect_width_get", (PyCFunction
) _wrap_Rect_width_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45464 { (char *)"Rect_height_set", (PyCFunction
) _wrap_Rect_height_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45465 { (char *)"Rect_height_get", (PyCFunction
) _wrap_Rect_height_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45466 { (char *)"Rect_Set", (PyCFunction
) _wrap_Rect_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45467 { (char *)"Rect_Get", (PyCFunction
) _wrap_Rect_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45468 { (char *)"Rect_swigregister", Rect_swigregister
, METH_VARARGS
, NULL
},
45469 { (char *)"IntersectRect", (PyCFunction
) _wrap_IntersectRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45470 { (char *)"new_Point2D", (PyCFunction
) _wrap_new_Point2D
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45471 { (char *)"new_Point2DCopy", (PyCFunction
) _wrap_new_Point2DCopy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45472 { (char *)"new_Point2DFromPoint", (PyCFunction
) _wrap_new_Point2DFromPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45473 { (char *)"Point2D_GetFloor", (PyCFunction
) _wrap_Point2D_GetFloor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45474 { (char *)"Point2D_GetRounded", (PyCFunction
) _wrap_Point2D_GetRounded
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45475 { (char *)"Point2D_GetVectorLength", (PyCFunction
) _wrap_Point2D_GetVectorLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45476 { (char *)"Point2D_GetVectorAngle", (PyCFunction
) _wrap_Point2D_GetVectorAngle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45477 { (char *)"Point2D_SetVectorLength", (PyCFunction
) _wrap_Point2D_SetVectorLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45478 { (char *)"Point2D_SetVectorAngle", (PyCFunction
) _wrap_Point2D_SetVectorAngle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45479 { (char *)"Point2D_GetDistance", (PyCFunction
) _wrap_Point2D_GetDistance
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45480 { (char *)"Point2D_GetDistanceSquare", (PyCFunction
) _wrap_Point2D_GetDistanceSquare
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45481 { (char *)"Point2D_GetDotProduct", (PyCFunction
) _wrap_Point2D_GetDotProduct
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45482 { (char *)"Point2D_GetCrossProduct", (PyCFunction
) _wrap_Point2D_GetCrossProduct
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45483 { (char *)"Point2D___neg__", (PyCFunction
) _wrap_Point2D___neg__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45484 { (char *)"Point2D___iadd__", (PyCFunction
) _wrap_Point2D___iadd__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45485 { (char *)"Point2D___isub__", (PyCFunction
) _wrap_Point2D___isub__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45486 { (char *)"Point2D___imul__", (PyCFunction
) _wrap_Point2D___imul__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45487 { (char *)"Point2D___idiv__", (PyCFunction
) _wrap_Point2D___idiv__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45488 { (char *)"Point2D___eq__", (PyCFunction
) _wrap_Point2D___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45489 { (char *)"Point2D___ne__", (PyCFunction
) _wrap_Point2D___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45490 { (char *)"Point2D_x_set", (PyCFunction
) _wrap_Point2D_x_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45491 { (char *)"Point2D_x_get", (PyCFunction
) _wrap_Point2D_x_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45492 { (char *)"Point2D_y_set", (PyCFunction
) _wrap_Point2D_y_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45493 { (char *)"Point2D_y_get", (PyCFunction
) _wrap_Point2D_y_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45494 { (char *)"Point2D_Set", (PyCFunction
) _wrap_Point2D_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45495 { (char *)"Point2D_Get", (PyCFunction
) _wrap_Point2D_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45496 { (char *)"Point2D_swigregister", Point2D_swigregister
, METH_VARARGS
, NULL
},
45497 { (char *)"new_InputStream", (PyCFunction
) _wrap_new_InputStream
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45498 { (char *)"delete_InputStream", (PyCFunction
) _wrap_delete_InputStream
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45499 { (char *)"InputStream_close", (PyCFunction
) _wrap_InputStream_close
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45500 { (char *)"InputStream_flush", (PyCFunction
) _wrap_InputStream_flush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45501 { (char *)"InputStream_eof", (PyCFunction
) _wrap_InputStream_eof
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45502 { (char *)"InputStream_read", (PyCFunction
) _wrap_InputStream_read
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45503 { (char *)"InputStream_readline", (PyCFunction
) _wrap_InputStream_readline
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45504 { (char *)"InputStream_readlines", (PyCFunction
) _wrap_InputStream_readlines
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45505 { (char *)"InputStream_seek", (PyCFunction
) _wrap_InputStream_seek
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45506 { (char *)"InputStream_tell", (PyCFunction
) _wrap_InputStream_tell
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45507 { (char *)"InputStream_Peek", (PyCFunction
) _wrap_InputStream_Peek
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45508 { (char *)"InputStream_GetC", (PyCFunction
) _wrap_InputStream_GetC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45509 { (char *)"InputStream_LastRead", (PyCFunction
) _wrap_InputStream_LastRead
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45510 { (char *)"InputStream_CanRead", (PyCFunction
) _wrap_InputStream_CanRead
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45511 { (char *)"InputStream_Eof", (PyCFunction
) _wrap_InputStream_Eof
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45512 { (char *)"InputStream_Ungetch", (PyCFunction
) _wrap_InputStream_Ungetch
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45513 { (char *)"InputStream_SeekI", (PyCFunction
) _wrap_InputStream_SeekI
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45514 { (char *)"InputStream_TellI", (PyCFunction
) _wrap_InputStream_TellI
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45515 { (char *)"InputStream_swigregister", InputStream_swigregister
, METH_VARARGS
, NULL
},
45516 { (char *)"OutputStream_write", (PyCFunction
) _wrap_OutputStream_write
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45517 { (char *)"OutputStream_swigregister", OutputStream_swigregister
, METH_VARARGS
, NULL
},
45518 { (char *)"new_FSFile", (PyCFunction
) _wrap_new_FSFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45519 { (char *)"delete_FSFile", (PyCFunction
) _wrap_delete_FSFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45520 { (char *)"FSFile_GetStream", (PyCFunction
) _wrap_FSFile_GetStream
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45521 { (char *)"FSFile_GetMimeType", (PyCFunction
) _wrap_FSFile_GetMimeType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45522 { (char *)"FSFile_GetLocation", (PyCFunction
) _wrap_FSFile_GetLocation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45523 { (char *)"FSFile_GetAnchor", (PyCFunction
) _wrap_FSFile_GetAnchor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45524 { (char *)"FSFile_GetModificationTime", (PyCFunction
) _wrap_FSFile_GetModificationTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45525 { (char *)"FSFile_swigregister", FSFile_swigregister
, METH_VARARGS
, NULL
},
45526 { (char *)"CPPFileSystemHandler_swigregister", CPPFileSystemHandler_swigregister
, METH_VARARGS
, NULL
},
45527 { (char *)"new_FileSystemHandler", (PyCFunction
) _wrap_new_FileSystemHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45528 { (char *)"FileSystemHandler__setCallbackInfo", (PyCFunction
) _wrap_FileSystemHandler__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45529 { (char *)"FileSystemHandler_CanOpen", (PyCFunction
) _wrap_FileSystemHandler_CanOpen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45530 { (char *)"FileSystemHandler_OpenFile", (PyCFunction
) _wrap_FileSystemHandler_OpenFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45531 { (char *)"FileSystemHandler_FindFirst", (PyCFunction
) _wrap_FileSystemHandler_FindFirst
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45532 { (char *)"FileSystemHandler_FindNext", (PyCFunction
) _wrap_FileSystemHandler_FindNext
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45533 { (char *)"FileSystemHandler_GetProtocol", (PyCFunction
) _wrap_FileSystemHandler_GetProtocol
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45534 { (char *)"FileSystemHandler_GetLeftLocation", (PyCFunction
) _wrap_FileSystemHandler_GetLeftLocation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45535 { (char *)"FileSystemHandler_GetAnchor", (PyCFunction
) _wrap_FileSystemHandler_GetAnchor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45536 { (char *)"FileSystemHandler_GetRightLocation", (PyCFunction
) _wrap_FileSystemHandler_GetRightLocation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45537 { (char *)"FileSystemHandler_GetMimeTypeFromExt", (PyCFunction
) _wrap_FileSystemHandler_GetMimeTypeFromExt
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45538 { (char *)"FileSystemHandler_swigregister", FileSystemHandler_swigregister
, METH_VARARGS
, NULL
},
45539 { (char *)"new_FileSystem", (PyCFunction
) _wrap_new_FileSystem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45540 { (char *)"delete_FileSystem", (PyCFunction
) _wrap_delete_FileSystem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45541 { (char *)"FileSystem_ChangePathTo", (PyCFunction
) _wrap_FileSystem_ChangePathTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45542 { (char *)"FileSystem_GetPath", (PyCFunction
) _wrap_FileSystem_GetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45543 { (char *)"FileSystem_OpenFile", (PyCFunction
) _wrap_FileSystem_OpenFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45544 { (char *)"FileSystem_FindFirst", (PyCFunction
) _wrap_FileSystem_FindFirst
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45545 { (char *)"FileSystem_FindNext", (PyCFunction
) _wrap_FileSystem_FindNext
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45546 { (char *)"FileSystem_AddHandler", (PyCFunction
) _wrap_FileSystem_AddHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45547 { (char *)"FileSystem_CleanUpHandlers", (PyCFunction
) _wrap_FileSystem_CleanUpHandlers
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45548 { (char *)"FileSystem_FileNameToURL", (PyCFunction
) _wrap_FileSystem_FileNameToURL
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45549 { (char *)"FileSystem_URLToFileName", (PyCFunction
) _wrap_FileSystem_URLToFileName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45550 { (char *)"FileSystem_swigregister", FileSystem_swigregister
, METH_VARARGS
, NULL
},
45551 { (char *)"new_InternetFSHandler", (PyCFunction
) _wrap_new_InternetFSHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45552 { (char *)"InternetFSHandler_CanOpen", (PyCFunction
) _wrap_InternetFSHandler_CanOpen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45553 { (char *)"InternetFSHandler_OpenFile", (PyCFunction
) _wrap_InternetFSHandler_OpenFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45554 { (char *)"InternetFSHandler_swigregister", InternetFSHandler_swigregister
, METH_VARARGS
, NULL
},
45555 { (char *)"new_ZipFSHandler", (PyCFunction
) _wrap_new_ZipFSHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45556 { (char *)"ZipFSHandler_CanOpen", (PyCFunction
) _wrap_ZipFSHandler_CanOpen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45557 { (char *)"ZipFSHandler_OpenFile", (PyCFunction
) _wrap_ZipFSHandler_OpenFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45558 { (char *)"ZipFSHandler_FindFirst", (PyCFunction
) _wrap_ZipFSHandler_FindFirst
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45559 { (char *)"ZipFSHandler_FindNext", (PyCFunction
) _wrap_ZipFSHandler_FindNext
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45560 { (char *)"ZipFSHandler_swigregister", ZipFSHandler_swigregister
, METH_VARARGS
, NULL
},
45561 { (char *)"__wxMemoryFSHandler_AddFile_wxImage", (PyCFunction
) _wrap___wxMemoryFSHandler_AddFile_wxImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45562 { (char *)"__wxMemoryFSHandler_AddFile_wxBitmap", (PyCFunction
) _wrap___wxMemoryFSHandler_AddFile_wxBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45563 { (char *)"__wxMemoryFSHandler_AddFile_Data", (PyCFunction
) _wrap___wxMemoryFSHandler_AddFile_Data
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45564 { (char *)"new_MemoryFSHandler", (PyCFunction
) _wrap_new_MemoryFSHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45565 { (char *)"MemoryFSHandler_RemoveFile", (PyCFunction
) _wrap_MemoryFSHandler_RemoveFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45566 { (char *)"MemoryFSHandler_CanOpen", (PyCFunction
) _wrap_MemoryFSHandler_CanOpen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45567 { (char *)"MemoryFSHandler_OpenFile", (PyCFunction
) _wrap_MemoryFSHandler_OpenFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45568 { (char *)"MemoryFSHandler_FindFirst", (PyCFunction
) _wrap_MemoryFSHandler_FindFirst
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45569 { (char *)"MemoryFSHandler_FindNext", (PyCFunction
) _wrap_MemoryFSHandler_FindNext
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45570 { (char *)"MemoryFSHandler_swigregister", MemoryFSHandler_swigregister
, METH_VARARGS
, NULL
},
45571 { (char *)"ImageHandler_GetName", (PyCFunction
) _wrap_ImageHandler_GetName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45572 { (char *)"ImageHandler_GetExtension", (PyCFunction
) _wrap_ImageHandler_GetExtension
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45573 { (char *)"ImageHandler_GetType", (PyCFunction
) _wrap_ImageHandler_GetType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45574 { (char *)"ImageHandler_GetMimeType", (PyCFunction
) _wrap_ImageHandler_GetMimeType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45575 { (char *)"ImageHandler_CanRead", (PyCFunction
) _wrap_ImageHandler_CanRead
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45576 { (char *)"ImageHandler_SetName", (PyCFunction
) _wrap_ImageHandler_SetName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45577 { (char *)"ImageHandler_SetExtension", (PyCFunction
) _wrap_ImageHandler_SetExtension
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45578 { (char *)"ImageHandler_SetType", (PyCFunction
) _wrap_ImageHandler_SetType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45579 { (char *)"ImageHandler_SetMimeType", (PyCFunction
) _wrap_ImageHandler_SetMimeType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45580 { (char *)"ImageHandler_swigregister", ImageHandler_swigregister
, METH_VARARGS
, NULL
},
45581 { (char *)"new_ImageHistogram", (PyCFunction
) _wrap_new_ImageHistogram
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45582 { (char *)"ImageHistogram_MakeKey", (PyCFunction
) _wrap_ImageHistogram_MakeKey
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45583 { (char *)"ImageHistogram_FindFirstUnusedColour", (PyCFunction
) _wrap_ImageHistogram_FindFirstUnusedColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45584 { (char *)"ImageHistogram_GetCount", (PyCFunction
) _wrap_ImageHistogram_GetCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45585 { (char *)"ImageHistogram_GetCountRGB", (PyCFunction
) _wrap_ImageHistogram_GetCountRGB
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45586 { (char *)"ImageHistogram_GetCountColour", (PyCFunction
) _wrap_ImageHistogram_GetCountColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45587 { (char *)"ImageHistogram_swigregister", ImageHistogram_swigregister
, METH_VARARGS
, NULL
},
45588 { (char *)"new_Image", (PyCFunction
) _wrap_new_Image
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45589 { (char *)"delete_Image", (PyCFunction
) _wrap_delete_Image
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45590 { (char *)"new_ImageFromMime", (PyCFunction
) _wrap_new_ImageFromMime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45591 { (char *)"new_ImageFromStream", (PyCFunction
) _wrap_new_ImageFromStream
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45592 { (char *)"new_ImageFromStreamMime", (PyCFunction
) _wrap_new_ImageFromStreamMime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45593 { (char *)"new_EmptyImage", (PyCFunction
) _wrap_new_EmptyImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45594 { (char *)"new_ImageFromBitmap", (PyCFunction
) _wrap_new_ImageFromBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45595 { (char *)"new_ImageFromData", (PyCFunction
) _wrap_new_ImageFromData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45596 { (char *)"new_ImageFromDataWithAlpha", (PyCFunction
) _wrap_new_ImageFromDataWithAlpha
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45597 { (char *)"Image_Create", (PyCFunction
) _wrap_Image_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45598 { (char *)"Image_Destroy", (PyCFunction
) _wrap_Image_Destroy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45599 { (char *)"Image_Scale", (PyCFunction
) _wrap_Image_Scale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45600 { (char *)"Image_ShrinkBy", (PyCFunction
) _wrap_Image_ShrinkBy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45601 { (char *)"Image_Rescale", (PyCFunction
) _wrap_Image_Rescale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45602 { (char *)"Image_Resize", (PyCFunction
) _wrap_Image_Resize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45603 { (char *)"Image_SetRGB", (PyCFunction
) _wrap_Image_SetRGB
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45604 { (char *)"Image_SetRGBRect", (PyCFunction
) _wrap_Image_SetRGBRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45605 { (char *)"Image_GetRed", (PyCFunction
) _wrap_Image_GetRed
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45606 { (char *)"Image_GetGreen", (PyCFunction
) _wrap_Image_GetGreen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45607 { (char *)"Image_GetBlue", (PyCFunction
) _wrap_Image_GetBlue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45608 { (char *)"Image_SetAlpha", (PyCFunction
) _wrap_Image_SetAlpha
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45609 { (char *)"Image_GetAlpha", (PyCFunction
) _wrap_Image_GetAlpha
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45610 { (char *)"Image_HasAlpha", (PyCFunction
) _wrap_Image_HasAlpha
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45611 { (char *)"Image_InitAlpha", (PyCFunction
) _wrap_Image_InitAlpha
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45612 { (char *)"Image_IsTransparent", (PyCFunction
) _wrap_Image_IsTransparent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45613 { (char *)"Image_FindFirstUnusedColour", (PyCFunction
) _wrap_Image_FindFirstUnusedColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45614 { (char *)"Image_ConvertAlphaToMask", (PyCFunction
) _wrap_Image_ConvertAlphaToMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45615 { (char *)"Image_ConvertColourToAlpha", (PyCFunction
) _wrap_Image_ConvertColourToAlpha
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45616 { (char *)"Image_SetMaskFromImage", (PyCFunction
) _wrap_Image_SetMaskFromImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45617 { (char *)"Image_CanRead", (PyCFunction
) _wrap_Image_CanRead
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45618 { (char *)"Image_GetImageCount", (PyCFunction
) _wrap_Image_GetImageCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45619 { (char *)"Image_LoadFile", (PyCFunction
) _wrap_Image_LoadFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45620 { (char *)"Image_LoadMimeFile", (PyCFunction
) _wrap_Image_LoadMimeFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45621 { (char *)"Image_SaveFile", (PyCFunction
) _wrap_Image_SaveFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45622 { (char *)"Image_SaveMimeFile", (PyCFunction
) _wrap_Image_SaveMimeFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45623 { (char *)"Image_CanReadStream", (PyCFunction
) _wrap_Image_CanReadStream
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45624 { (char *)"Image_LoadStream", (PyCFunction
) _wrap_Image_LoadStream
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45625 { (char *)"Image_LoadMimeStream", (PyCFunction
) _wrap_Image_LoadMimeStream
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45626 { (char *)"Image_Ok", (PyCFunction
) _wrap_Image_Ok
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45627 { (char *)"Image_GetWidth", (PyCFunction
) _wrap_Image_GetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45628 { (char *)"Image_GetHeight", (PyCFunction
) _wrap_Image_GetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45629 { (char *)"Image_GetSize", (PyCFunction
) _wrap_Image_GetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45630 { (char *)"Image_GetSubImage", (PyCFunction
) _wrap_Image_GetSubImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45631 { (char *)"Image_Size", (PyCFunction
) _wrap_Image_Size
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45632 { (char *)"Image_Copy", (PyCFunction
) _wrap_Image_Copy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45633 { (char *)"Image_Paste", (PyCFunction
) _wrap_Image_Paste
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45634 { (char *)"Image_GetData", (PyCFunction
) _wrap_Image_GetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45635 { (char *)"Image_SetData", (PyCFunction
) _wrap_Image_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45636 { (char *)"Image_GetDataBuffer", (PyCFunction
) _wrap_Image_GetDataBuffer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45637 { (char *)"Image_SetDataBuffer", (PyCFunction
) _wrap_Image_SetDataBuffer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45638 { (char *)"Image_GetAlphaData", (PyCFunction
) _wrap_Image_GetAlphaData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45639 { (char *)"Image_SetAlphaData", (PyCFunction
) _wrap_Image_SetAlphaData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45640 { (char *)"Image_GetAlphaBuffer", (PyCFunction
) _wrap_Image_GetAlphaBuffer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45641 { (char *)"Image_SetAlphaBuffer", (PyCFunction
) _wrap_Image_SetAlphaBuffer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45642 { (char *)"Image_SetMaskColour", (PyCFunction
) _wrap_Image_SetMaskColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45643 { (char *)"Image_GetOrFindMaskColour", (PyCFunction
) _wrap_Image_GetOrFindMaskColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45644 { (char *)"Image_GetMaskRed", (PyCFunction
) _wrap_Image_GetMaskRed
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45645 { (char *)"Image_GetMaskGreen", (PyCFunction
) _wrap_Image_GetMaskGreen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45646 { (char *)"Image_GetMaskBlue", (PyCFunction
) _wrap_Image_GetMaskBlue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45647 { (char *)"Image_SetMask", (PyCFunction
) _wrap_Image_SetMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45648 { (char *)"Image_HasMask", (PyCFunction
) _wrap_Image_HasMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45649 { (char *)"Image_Rotate", (PyCFunction
) _wrap_Image_Rotate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45650 { (char *)"Image_Rotate90", (PyCFunction
) _wrap_Image_Rotate90
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45651 { (char *)"Image_Mirror", (PyCFunction
) _wrap_Image_Mirror
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45652 { (char *)"Image_Replace", (PyCFunction
) _wrap_Image_Replace
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45653 { (char *)"Image_ConvertToMono", (PyCFunction
) _wrap_Image_ConvertToMono
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45654 { (char *)"Image_SetOption", (PyCFunction
) _wrap_Image_SetOption
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45655 { (char *)"Image_SetOptionInt", (PyCFunction
) _wrap_Image_SetOptionInt
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45656 { (char *)"Image_GetOption", (PyCFunction
) _wrap_Image_GetOption
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45657 { (char *)"Image_GetOptionInt", (PyCFunction
) _wrap_Image_GetOptionInt
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45658 { (char *)"Image_HasOption", (PyCFunction
) _wrap_Image_HasOption
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45659 { (char *)"Image_CountColours", (PyCFunction
) _wrap_Image_CountColours
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45660 { (char *)"Image_ComputeHistogram", (PyCFunction
) _wrap_Image_ComputeHistogram
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45661 { (char *)"Image_AddHandler", (PyCFunction
) _wrap_Image_AddHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45662 { (char *)"Image_InsertHandler", (PyCFunction
) _wrap_Image_InsertHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45663 { (char *)"Image_RemoveHandler", (PyCFunction
) _wrap_Image_RemoveHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45664 { (char *)"Image_GetImageExtWildcard", (PyCFunction
) _wrap_Image_GetImageExtWildcard
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45665 { (char *)"Image_ConvertToBitmap", (PyCFunction
) _wrap_Image_ConvertToBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45666 { (char *)"Image_ConvertToMonoBitmap", (PyCFunction
) _wrap_Image_ConvertToMonoBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45667 { (char *)"Image_swigregister", Image_swigregister
, METH_VARARGS
, NULL
},
45668 { (char *)"new_BMPHandler", (PyCFunction
) _wrap_new_BMPHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45669 { (char *)"BMPHandler_swigregister", BMPHandler_swigregister
, METH_VARARGS
, NULL
},
45670 { (char *)"new_ICOHandler", (PyCFunction
) _wrap_new_ICOHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45671 { (char *)"ICOHandler_swigregister", ICOHandler_swigregister
, METH_VARARGS
, NULL
},
45672 { (char *)"new_CURHandler", (PyCFunction
) _wrap_new_CURHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45673 { (char *)"CURHandler_swigregister", CURHandler_swigregister
, METH_VARARGS
, NULL
},
45674 { (char *)"new_ANIHandler", (PyCFunction
) _wrap_new_ANIHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45675 { (char *)"ANIHandler_swigregister", ANIHandler_swigregister
, METH_VARARGS
, NULL
},
45676 { (char *)"new_PNGHandler", (PyCFunction
) _wrap_new_PNGHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45677 { (char *)"PNGHandler_swigregister", PNGHandler_swigregister
, METH_VARARGS
, NULL
},
45678 { (char *)"new_GIFHandler", (PyCFunction
) _wrap_new_GIFHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45679 { (char *)"GIFHandler_swigregister", GIFHandler_swigregister
, METH_VARARGS
, NULL
},
45680 { (char *)"new_PCXHandler", (PyCFunction
) _wrap_new_PCXHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45681 { (char *)"PCXHandler_swigregister", PCXHandler_swigregister
, METH_VARARGS
, NULL
},
45682 { (char *)"new_JPEGHandler", (PyCFunction
) _wrap_new_JPEGHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45683 { (char *)"JPEGHandler_swigregister", JPEGHandler_swigregister
, METH_VARARGS
, NULL
},
45684 { (char *)"new_PNMHandler", (PyCFunction
) _wrap_new_PNMHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45685 { (char *)"PNMHandler_swigregister", PNMHandler_swigregister
, METH_VARARGS
, NULL
},
45686 { (char *)"new_XPMHandler", (PyCFunction
) _wrap_new_XPMHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45687 { (char *)"XPMHandler_swigregister", XPMHandler_swigregister
, METH_VARARGS
, NULL
},
45688 { (char *)"new_TIFFHandler", (PyCFunction
) _wrap_new_TIFFHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45689 { (char *)"TIFFHandler_swigregister", TIFFHandler_swigregister
, METH_VARARGS
, NULL
},
45690 { (char *)"Quantize_Quantize", (PyCFunction
) _wrap_Quantize_Quantize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45691 { (char *)"Quantize_swigregister", Quantize_swigregister
, METH_VARARGS
, NULL
},
45692 { (char *)"new_EvtHandler", (PyCFunction
) _wrap_new_EvtHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45693 { (char *)"EvtHandler_GetNextHandler", (PyCFunction
) _wrap_EvtHandler_GetNextHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45694 { (char *)"EvtHandler_GetPreviousHandler", (PyCFunction
) _wrap_EvtHandler_GetPreviousHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45695 { (char *)"EvtHandler_SetNextHandler", (PyCFunction
) _wrap_EvtHandler_SetNextHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45696 { (char *)"EvtHandler_SetPreviousHandler", (PyCFunction
) _wrap_EvtHandler_SetPreviousHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45697 { (char *)"EvtHandler_GetEvtHandlerEnabled", (PyCFunction
) _wrap_EvtHandler_GetEvtHandlerEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45698 { (char *)"EvtHandler_SetEvtHandlerEnabled", (PyCFunction
) _wrap_EvtHandler_SetEvtHandlerEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45699 { (char *)"EvtHandler_ProcessEvent", (PyCFunction
) _wrap_EvtHandler_ProcessEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45700 { (char *)"EvtHandler_AddPendingEvent", (PyCFunction
) _wrap_EvtHandler_AddPendingEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45701 { (char *)"EvtHandler_ProcessPendingEvents", (PyCFunction
) _wrap_EvtHandler_ProcessPendingEvents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45702 { (char *)"EvtHandler_Connect", (PyCFunction
) _wrap_EvtHandler_Connect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45703 { (char *)"EvtHandler_Disconnect", (PyCFunction
) _wrap_EvtHandler_Disconnect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45704 { (char *)"EvtHandler__setOORInfo", (PyCFunction
) _wrap_EvtHandler__setOORInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45705 { (char *)"EvtHandler_swigregister", EvtHandler_swigregister
, METH_VARARGS
, NULL
},
45706 { (char *)"NewEventType", (PyCFunction
) _wrap_NewEventType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45707 { (char *)"delete_Event", (PyCFunction
) _wrap_delete_Event
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45708 { (char *)"Event_SetEventType", (PyCFunction
) _wrap_Event_SetEventType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45709 { (char *)"Event_GetEventType", (PyCFunction
) _wrap_Event_GetEventType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45710 { (char *)"Event_GetEventObject", (PyCFunction
) _wrap_Event_GetEventObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45711 { (char *)"Event_SetEventObject", (PyCFunction
) _wrap_Event_SetEventObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45712 { (char *)"Event_GetTimestamp", (PyCFunction
) _wrap_Event_GetTimestamp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45713 { (char *)"Event_SetTimestamp", (PyCFunction
) _wrap_Event_SetTimestamp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45714 { (char *)"Event_GetId", (PyCFunction
) _wrap_Event_GetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45715 { (char *)"Event_SetId", (PyCFunction
) _wrap_Event_SetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45716 { (char *)"Event_IsCommandEvent", (PyCFunction
) _wrap_Event_IsCommandEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45717 { (char *)"Event_Skip", (PyCFunction
) _wrap_Event_Skip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45718 { (char *)"Event_GetSkipped", (PyCFunction
) _wrap_Event_GetSkipped
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45719 { (char *)"Event_ShouldPropagate", (PyCFunction
) _wrap_Event_ShouldPropagate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45720 { (char *)"Event_StopPropagation", (PyCFunction
) _wrap_Event_StopPropagation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45721 { (char *)"Event_ResumePropagation", (PyCFunction
) _wrap_Event_ResumePropagation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45722 { (char *)"Event_Clone", (PyCFunction
) _wrap_Event_Clone
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45723 { (char *)"Event_swigregister", Event_swigregister
, METH_VARARGS
, NULL
},
45724 { (char *)"new_PropagationDisabler", (PyCFunction
) _wrap_new_PropagationDisabler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45725 { (char *)"delete_PropagationDisabler", (PyCFunction
) _wrap_delete_PropagationDisabler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45726 { (char *)"PropagationDisabler_swigregister", PropagationDisabler_swigregister
, METH_VARARGS
, NULL
},
45727 { (char *)"new_PropagateOnce", (PyCFunction
) _wrap_new_PropagateOnce
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45728 { (char *)"delete_PropagateOnce", (PyCFunction
) _wrap_delete_PropagateOnce
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45729 { (char *)"PropagateOnce_swigregister", PropagateOnce_swigregister
, METH_VARARGS
, NULL
},
45730 { (char *)"new_CommandEvent", (PyCFunction
) _wrap_new_CommandEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45731 { (char *)"CommandEvent_GetSelection", (PyCFunction
) _wrap_CommandEvent_GetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45732 { (char *)"CommandEvent_SetString", (PyCFunction
) _wrap_CommandEvent_SetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45733 { (char *)"CommandEvent_GetString", (PyCFunction
) _wrap_CommandEvent_GetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45734 { (char *)"CommandEvent_IsChecked", (PyCFunction
) _wrap_CommandEvent_IsChecked
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45735 { (char *)"CommandEvent_IsSelection", (PyCFunction
) _wrap_CommandEvent_IsSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45736 { (char *)"CommandEvent_SetExtraLong", (PyCFunction
) _wrap_CommandEvent_SetExtraLong
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45737 { (char *)"CommandEvent_GetExtraLong", (PyCFunction
) _wrap_CommandEvent_GetExtraLong
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45738 { (char *)"CommandEvent_SetInt", (PyCFunction
) _wrap_CommandEvent_SetInt
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45739 { (char *)"CommandEvent_GetInt", (PyCFunction
) _wrap_CommandEvent_GetInt
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45740 { (char *)"CommandEvent_Clone", (PyCFunction
) _wrap_CommandEvent_Clone
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45741 { (char *)"CommandEvent_swigregister", CommandEvent_swigregister
, METH_VARARGS
, NULL
},
45742 { (char *)"new_NotifyEvent", (PyCFunction
) _wrap_new_NotifyEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45743 { (char *)"NotifyEvent_Veto", (PyCFunction
) _wrap_NotifyEvent_Veto
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45744 { (char *)"NotifyEvent_Allow", (PyCFunction
) _wrap_NotifyEvent_Allow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45745 { (char *)"NotifyEvent_IsAllowed", (PyCFunction
) _wrap_NotifyEvent_IsAllowed
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45746 { (char *)"NotifyEvent_swigregister", NotifyEvent_swigregister
, METH_VARARGS
, NULL
},
45747 { (char *)"new_ScrollEvent", (PyCFunction
) _wrap_new_ScrollEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45748 { (char *)"ScrollEvent_GetOrientation", (PyCFunction
) _wrap_ScrollEvent_GetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45749 { (char *)"ScrollEvent_GetPosition", (PyCFunction
) _wrap_ScrollEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45750 { (char *)"ScrollEvent_SetOrientation", (PyCFunction
) _wrap_ScrollEvent_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45751 { (char *)"ScrollEvent_SetPosition", (PyCFunction
) _wrap_ScrollEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45752 { (char *)"ScrollEvent_swigregister", ScrollEvent_swigregister
, METH_VARARGS
, NULL
},
45753 { (char *)"new_ScrollWinEvent", (PyCFunction
) _wrap_new_ScrollWinEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45754 { (char *)"ScrollWinEvent_GetOrientation", (PyCFunction
) _wrap_ScrollWinEvent_GetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45755 { (char *)"ScrollWinEvent_GetPosition", (PyCFunction
) _wrap_ScrollWinEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45756 { (char *)"ScrollWinEvent_SetOrientation", (PyCFunction
) _wrap_ScrollWinEvent_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45757 { (char *)"ScrollWinEvent_SetPosition", (PyCFunction
) _wrap_ScrollWinEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45758 { (char *)"ScrollWinEvent_swigregister", ScrollWinEvent_swigregister
, METH_VARARGS
, NULL
},
45759 { (char *)"new_MouseEvent", (PyCFunction
) _wrap_new_MouseEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45760 { (char *)"MouseEvent_IsButton", (PyCFunction
) _wrap_MouseEvent_IsButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45761 { (char *)"MouseEvent_ButtonDown", (PyCFunction
) _wrap_MouseEvent_ButtonDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45762 { (char *)"MouseEvent_ButtonDClick", (PyCFunction
) _wrap_MouseEvent_ButtonDClick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45763 { (char *)"MouseEvent_ButtonUp", (PyCFunction
) _wrap_MouseEvent_ButtonUp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45764 { (char *)"MouseEvent_Button", (PyCFunction
) _wrap_MouseEvent_Button
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45765 { (char *)"MouseEvent_ButtonIsDown", (PyCFunction
) _wrap_MouseEvent_ButtonIsDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45766 { (char *)"MouseEvent_GetButton", (PyCFunction
) _wrap_MouseEvent_GetButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45767 { (char *)"MouseEvent_ControlDown", (PyCFunction
) _wrap_MouseEvent_ControlDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45768 { (char *)"MouseEvent_MetaDown", (PyCFunction
) _wrap_MouseEvent_MetaDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45769 { (char *)"MouseEvent_AltDown", (PyCFunction
) _wrap_MouseEvent_AltDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45770 { (char *)"MouseEvent_ShiftDown", (PyCFunction
) _wrap_MouseEvent_ShiftDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45771 { (char *)"MouseEvent_CmdDown", (PyCFunction
) _wrap_MouseEvent_CmdDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45772 { (char *)"MouseEvent_LeftDown", (PyCFunction
) _wrap_MouseEvent_LeftDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45773 { (char *)"MouseEvent_MiddleDown", (PyCFunction
) _wrap_MouseEvent_MiddleDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45774 { (char *)"MouseEvent_RightDown", (PyCFunction
) _wrap_MouseEvent_RightDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45775 { (char *)"MouseEvent_LeftUp", (PyCFunction
) _wrap_MouseEvent_LeftUp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45776 { (char *)"MouseEvent_MiddleUp", (PyCFunction
) _wrap_MouseEvent_MiddleUp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45777 { (char *)"MouseEvent_RightUp", (PyCFunction
) _wrap_MouseEvent_RightUp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45778 { (char *)"MouseEvent_LeftDClick", (PyCFunction
) _wrap_MouseEvent_LeftDClick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45779 { (char *)"MouseEvent_MiddleDClick", (PyCFunction
) _wrap_MouseEvent_MiddleDClick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45780 { (char *)"MouseEvent_RightDClick", (PyCFunction
) _wrap_MouseEvent_RightDClick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45781 { (char *)"MouseEvent_LeftIsDown", (PyCFunction
) _wrap_MouseEvent_LeftIsDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45782 { (char *)"MouseEvent_MiddleIsDown", (PyCFunction
) _wrap_MouseEvent_MiddleIsDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45783 { (char *)"MouseEvent_RightIsDown", (PyCFunction
) _wrap_MouseEvent_RightIsDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45784 { (char *)"MouseEvent_Dragging", (PyCFunction
) _wrap_MouseEvent_Dragging
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45785 { (char *)"MouseEvent_Moving", (PyCFunction
) _wrap_MouseEvent_Moving
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45786 { (char *)"MouseEvent_Entering", (PyCFunction
) _wrap_MouseEvent_Entering
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45787 { (char *)"MouseEvent_Leaving", (PyCFunction
) _wrap_MouseEvent_Leaving
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45788 { (char *)"MouseEvent_GetPosition", (PyCFunction
) _wrap_MouseEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45789 { (char *)"MouseEvent_GetPositionTuple", (PyCFunction
) _wrap_MouseEvent_GetPositionTuple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45790 { (char *)"MouseEvent_GetLogicalPosition", (PyCFunction
) _wrap_MouseEvent_GetLogicalPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45791 { (char *)"MouseEvent_GetX", (PyCFunction
) _wrap_MouseEvent_GetX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45792 { (char *)"MouseEvent_GetY", (PyCFunction
) _wrap_MouseEvent_GetY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45793 { (char *)"MouseEvent_GetWheelRotation", (PyCFunction
) _wrap_MouseEvent_GetWheelRotation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45794 { (char *)"MouseEvent_GetWheelDelta", (PyCFunction
) _wrap_MouseEvent_GetWheelDelta
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45795 { (char *)"MouseEvent_GetLinesPerAction", (PyCFunction
) _wrap_MouseEvent_GetLinesPerAction
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45796 { (char *)"MouseEvent_IsPageScroll", (PyCFunction
) _wrap_MouseEvent_IsPageScroll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45797 { (char *)"MouseEvent_m_x_set", (PyCFunction
) _wrap_MouseEvent_m_x_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45798 { (char *)"MouseEvent_m_x_get", (PyCFunction
) _wrap_MouseEvent_m_x_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45799 { (char *)"MouseEvent_m_y_set", (PyCFunction
) _wrap_MouseEvent_m_y_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45800 { (char *)"MouseEvent_m_y_get", (PyCFunction
) _wrap_MouseEvent_m_y_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45801 { (char *)"MouseEvent_m_leftDown_set", (PyCFunction
) _wrap_MouseEvent_m_leftDown_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45802 { (char *)"MouseEvent_m_leftDown_get", (PyCFunction
) _wrap_MouseEvent_m_leftDown_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45803 { (char *)"MouseEvent_m_middleDown_set", (PyCFunction
) _wrap_MouseEvent_m_middleDown_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45804 { (char *)"MouseEvent_m_middleDown_get", (PyCFunction
) _wrap_MouseEvent_m_middleDown_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45805 { (char *)"MouseEvent_m_rightDown_set", (PyCFunction
) _wrap_MouseEvent_m_rightDown_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45806 { (char *)"MouseEvent_m_rightDown_get", (PyCFunction
) _wrap_MouseEvent_m_rightDown_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45807 { (char *)"MouseEvent_m_controlDown_set", (PyCFunction
) _wrap_MouseEvent_m_controlDown_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45808 { (char *)"MouseEvent_m_controlDown_get", (PyCFunction
) _wrap_MouseEvent_m_controlDown_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45809 { (char *)"MouseEvent_m_shiftDown_set", (PyCFunction
) _wrap_MouseEvent_m_shiftDown_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45810 { (char *)"MouseEvent_m_shiftDown_get", (PyCFunction
) _wrap_MouseEvent_m_shiftDown_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45811 { (char *)"MouseEvent_m_altDown_set", (PyCFunction
) _wrap_MouseEvent_m_altDown_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45812 { (char *)"MouseEvent_m_altDown_get", (PyCFunction
) _wrap_MouseEvent_m_altDown_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45813 { (char *)"MouseEvent_m_metaDown_set", (PyCFunction
) _wrap_MouseEvent_m_metaDown_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45814 { (char *)"MouseEvent_m_metaDown_get", (PyCFunction
) _wrap_MouseEvent_m_metaDown_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45815 { (char *)"MouseEvent_m_wheelRotation_set", (PyCFunction
) _wrap_MouseEvent_m_wheelRotation_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45816 { (char *)"MouseEvent_m_wheelRotation_get", (PyCFunction
) _wrap_MouseEvent_m_wheelRotation_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45817 { (char *)"MouseEvent_m_wheelDelta_set", (PyCFunction
) _wrap_MouseEvent_m_wheelDelta_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45818 { (char *)"MouseEvent_m_wheelDelta_get", (PyCFunction
) _wrap_MouseEvent_m_wheelDelta_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45819 { (char *)"MouseEvent_m_linesPerAction_set", (PyCFunction
) _wrap_MouseEvent_m_linesPerAction_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45820 { (char *)"MouseEvent_m_linesPerAction_get", (PyCFunction
) _wrap_MouseEvent_m_linesPerAction_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45821 { (char *)"MouseEvent_swigregister", MouseEvent_swigregister
, METH_VARARGS
, NULL
},
45822 { (char *)"new_SetCursorEvent", (PyCFunction
) _wrap_new_SetCursorEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45823 { (char *)"SetCursorEvent_GetX", (PyCFunction
) _wrap_SetCursorEvent_GetX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45824 { (char *)"SetCursorEvent_GetY", (PyCFunction
) _wrap_SetCursorEvent_GetY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45825 { (char *)"SetCursorEvent_SetCursor", (PyCFunction
) _wrap_SetCursorEvent_SetCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45826 { (char *)"SetCursorEvent_GetCursor", (PyCFunction
) _wrap_SetCursorEvent_GetCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45827 { (char *)"SetCursorEvent_HasCursor", (PyCFunction
) _wrap_SetCursorEvent_HasCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45828 { (char *)"SetCursorEvent_swigregister", SetCursorEvent_swigregister
, METH_VARARGS
, NULL
},
45829 { (char *)"new_KeyEvent", (PyCFunction
) _wrap_new_KeyEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45830 { (char *)"KeyEvent_ControlDown", (PyCFunction
) _wrap_KeyEvent_ControlDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45831 { (char *)"KeyEvent_MetaDown", (PyCFunction
) _wrap_KeyEvent_MetaDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45832 { (char *)"KeyEvent_AltDown", (PyCFunction
) _wrap_KeyEvent_AltDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45833 { (char *)"KeyEvent_ShiftDown", (PyCFunction
) _wrap_KeyEvent_ShiftDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45834 { (char *)"KeyEvent_CmdDown", (PyCFunction
) _wrap_KeyEvent_CmdDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45835 { (char *)"KeyEvent_HasModifiers", (PyCFunction
) _wrap_KeyEvent_HasModifiers
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45836 { (char *)"KeyEvent_GetKeyCode", (PyCFunction
) _wrap_KeyEvent_GetKeyCode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45837 { (char *)"KeyEvent_GetUnicodeKey", (PyCFunction
) _wrap_KeyEvent_GetUnicodeKey
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45838 { (char *)"KeyEvent_GetRawKeyCode", (PyCFunction
) _wrap_KeyEvent_GetRawKeyCode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45839 { (char *)"KeyEvent_GetRawKeyFlags", (PyCFunction
) _wrap_KeyEvent_GetRawKeyFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45840 { (char *)"KeyEvent_GetPosition", (PyCFunction
) _wrap_KeyEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45841 { (char *)"KeyEvent_GetPositionTuple", (PyCFunction
) _wrap_KeyEvent_GetPositionTuple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45842 { (char *)"KeyEvent_GetX", (PyCFunction
) _wrap_KeyEvent_GetX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45843 { (char *)"KeyEvent_GetY", (PyCFunction
) _wrap_KeyEvent_GetY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45844 { (char *)"KeyEvent_m_x_set", (PyCFunction
) _wrap_KeyEvent_m_x_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45845 { (char *)"KeyEvent_m_x_get", (PyCFunction
) _wrap_KeyEvent_m_x_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45846 { (char *)"KeyEvent_m_y_set", (PyCFunction
) _wrap_KeyEvent_m_y_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45847 { (char *)"KeyEvent_m_y_get", (PyCFunction
) _wrap_KeyEvent_m_y_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45848 { (char *)"KeyEvent_m_keyCode_set", (PyCFunction
) _wrap_KeyEvent_m_keyCode_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45849 { (char *)"KeyEvent_m_keyCode_get", (PyCFunction
) _wrap_KeyEvent_m_keyCode_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45850 { (char *)"KeyEvent_m_controlDown_set", (PyCFunction
) _wrap_KeyEvent_m_controlDown_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45851 { (char *)"KeyEvent_m_controlDown_get", (PyCFunction
) _wrap_KeyEvent_m_controlDown_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45852 { (char *)"KeyEvent_m_shiftDown_set", (PyCFunction
) _wrap_KeyEvent_m_shiftDown_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45853 { (char *)"KeyEvent_m_shiftDown_get", (PyCFunction
) _wrap_KeyEvent_m_shiftDown_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45854 { (char *)"KeyEvent_m_altDown_set", (PyCFunction
) _wrap_KeyEvent_m_altDown_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45855 { (char *)"KeyEvent_m_altDown_get", (PyCFunction
) _wrap_KeyEvent_m_altDown_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45856 { (char *)"KeyEvent_m_metaDown_set", (PyCFunction
) _wrap_KeyEvent_m_metaDown_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45857 { (char *)"KeyEvent_m_metaDown_get", (PyCFunction
) _wrap_KeyEvent_m_metaDown_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45858 { (char *)"KeyEvent_m_scanCode_set", (PyCFunction
) _wrap_KeyEvent_m_scanCode_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45859 { (char *)"KeyEvent_m_scanCode_get", (PyCFunction
) _wrap_KeyEvent_m_scanCode_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45860 { (char *)"KeyEvent_m_rawCode_set", (PyCFunction
) _wrap_KeyEvent_m_rawCode_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45861 { (char *)"KeyEvent_m_rawCode_get", (PyCFunction
) _wrap_KeyEvent_m_rawCode_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45862 { (char *)"KeyEvent_m_rawFlags_set", (PyCFunction
) _wrap_KeyEvent_m_rawFlags_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45863 { (char *)"KeyEvent_m_rawFlags_get", (PyCFunction
) _wrap_KeyEvent_m_rawFlags_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45864 { (char *)"KeyEvent_swigregister", KeyEvent_swigregister
, METH_VARARGS
, NULL
},
45865 { (char *)"new_SizeEvent", (PyCFunction
) _wrap_new_SizeEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45866 { (char *)"SizeEvent_GetSize", (PyCFunction
) _wrap_SizeEvent_GetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45867 { (char *)"SizeEvent_GetRect", (PyCFunction
) _wrap_SizeEvent_GetRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45868 { (char *)"SizeEvent_SetRect", (PyCFunction
) _wrap_SizeEvent_SetRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45869 { (char *)"SizeEvent_SetSize", (PyCFunction
) _wrap_SizeEvent_SetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45870 { (char *)"SizeEvent_m_size_set", (PyCFunction
) _wrap_SizeEvent_m_size_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45871 { (char *)"SizeEvent_m_size_get", (PyCFunction
) _wrap_SizeEvent_m_size_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45872 { (char *)"SizeEvent_m_rect_set", (PyCFunction
) _wrap_SizeEvent_m_rect_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45873 { (char *)"SizeEvent_m_rect_get", (PyCFunction
) _wrap_SizeEvent_m_rect_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45874 { (char *)"SizeEvent_swigregister", SizeEvent_swigregister
, METH_VARARGS
, NULL
},
45875 { (char *)"new_MoveEvent", (PyCFunction
) _wrap_new_MoveEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45876 { (char *)"MoveEvent_GetPosition", (PyCFunction
) _wrap_MoveEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45877 { (char *)"MoveEvent_GetRect", (PyCFunction
) _wrap_MoveEvent_GetRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45878 { (char *)"MoveEvent_SetRect", (PyCFunction
) _wrap_MoveEvent_SetRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45879 { (char *)"MoveEvent_SetPosition", (PyCFunction
) _wrap_MoveEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45880 { (char *)"MoveEvent_swigregister", MoveEvent_swigregister
, METH_VARARGS
, NULL
},
45881 { (char *)"new_PaintEvent", (PyCFunction
) _wrap_new_PaintEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45882 { (char *)"PaintEvent_swigregister", PaintEvent_swigregister
, METH_VARARGS
, NULL
},
45883 { (char *)"new_NcPaintEvent", (PyCFunction
) _wrap_new_NcPaintEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45884 { (char *)"NcPaintEvent_swigregister", NcPaintEvent_swigregister
, METH_VARARGS
, NULL
},
45885 { (char *)"new_EraseEvent", (PyCFunction
) _wrap_new_EraseEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45886 { (char *)"EraseEvent_GetDC", (PyCFunction
) _wrap_EraseEvent_GetDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45887 { (char *)"EraseEvent_swigregister", EraseEvent_swigregister
, METH_VARARGS
, NULL
},
45888 { (char *)"new_FocusEvent", (PyCFunction
) _wrap_new_FocusEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45889 { (char *)"FocusEvent_GetWindow", (PyCFunction
) _wrap_FocusEvent_GetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45890 { (char *)"FocusEvent_SetWindow", (PyCFunction
) _wrap_FocusEvent_SetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45891 { (char *)"FocusEvent_swigregister", FocusEvent_swigregister
, METH_VARARGS
, NULL
},
45892 { (char *)"new_ChildFocusEvent", (PyCFunction
) _wrap_new_ChildFocusEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45893 { (char *)"ChildFocusEvent_GetWindow", (PyCFunction
) _wrap_ChildFocusEvent_GetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45894 { (char *)"ChildFocusEvent_swigregister", ChildFocusEvent_swigregister
, METH_VARARGS
, NULL
},
45895 { (char *)"new_ActivateEvent", (PyCFunction
) _wrap_new_ActivateEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45896 { (char *)"ActivateEvent_GetActive", (PyCFunction
) _wrap_ActivateEvent_GetActive
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45897 { (char *)"ActivateEvent_swigregister", ActivateEvent_swigregister
, METH_VARARGS
, NULL
},
45898 { (char *)"new_InitDialogEvent", (PyCFunction
) _wrap_new_InitDialogEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45899 { (char *)"InitDialogEvent_swigregister", InitDialogEvent_swigregister
, METH_VARARGS
, NULL
},
45900 { (char *)"new_MenuEvent", (PyCFunction
) _wrap_new_MenuEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45901 { (char *)"MenuEvent_GetMenuId", (PyCFunction
) _wrap_MenuEvent_GetMenuId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45902 { (char *)"MenuEvent_IsPopup", (PyCFunction
) _wrap_MenuEvent_IsPopup
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45903 { (char *)"MenuEvent_GetMenu", (PyCFunction
) _wrap_MenuEvent_GetMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45904 { (char *)"MenuEvent_swigregister", MenuEvent_swigregister
, METH_VARARGS
, NULL
},
45905 { (char *)"new_CloseEvent", (PyCFunction
) _wrap_new_CloseEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45906 { (char *)"CloseEvent_SetLoggingOff", (PyCFunction
) _wrap_CloseEvent_SetLoggingOff
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45907 { (char *)"CloseEvent_GetLoggingOff", (PyCFunction
) _wrap_CloseEvent_GetLoggingOff
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45908 { (char *)"CloseEvent_Veto", (PyCFunction
) _wrap_CloseEvent_Veto
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45909 { (char *)"CloseEvent_GetVeto", (PyCFunction
) _wrap_CloseEvent_GetVeto
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45910 { (char *)"CloseEvent_SetCanVeto", (PyCFunction
) _wrap_CloseEvent_SetCanVeto
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45911 { (char *)"CloseEvent_CanVeto", (PyCFunction
) _wrap_CloseEvent_CanVeto
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45912 { (char *)"CloseEvent_swigregister", CloseEvent_swigregister
, METH_VARARGS
, NULL
},
45913 { (char *)"new_ShowEvent", (PyCFunction
) _wrap_new_ShowEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45914 { (char *)"ShowEvent_SetShow", (PyCFunction
) _wrap_ShowEvent_SetShow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45915 { (char *)"ShowEvent_GetShow", (PyCFunction
) _wrap_ShowEvent_GetShow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45916 { (char *)"ShowEvent_swigregister", ShowEvent_swigregister
, METH_VARARGS
, NULL
},
45917 { (char *)"new_IconizeEvent", (PyCFunction
) _wrap_new_IconizeEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45918 { (char *)"IconizeEvent_Iconized", (PyCFunction
) _wrap_IconizeEvent_Iconized
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45919 { (char *)"IconizeEvent_swigregister", IconizeEvent_swigregister
, METH_VARARGS
, NULL
},
45920 { (char *)"new_MaximizeEvent", (PyCFunction
) _wrap_new_MaximizeEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45921 { (char *)"MaximizeEvent_swigregister", MaximizeEvent_swigregister
, METH_VARARGS
, NULL
},
45922 { (char *)"DropFilesEvent_GetPosition", (PyCFunction
) _wrap_DropFilesEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45923 { (char *)"DropFilesEvent_GetNumberOfFiles", (PyCFunction
) _wrap_DropFilesEvent_GetNumberOfFiles
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45924 { (char *)"DropFilesEvent_GetFiles", (PyCFunction
) _wrap_DropFilesEvent_GetFiles
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45925 { (char *)"DropFilesEvent_swigregister", DropFilesEvent_swigregister
, METH_VARARGS
, NULL
},
45926 { (char *)"new_UpdateUIEvent", (PyCFunction
) _wrap_new_UpdateUIEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45927 { (char *)"UpdateUIEvent_GetChecked", (PyCFunction
) _wrap_UpdateUIEvent_GetChecked
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45928 { (char *)"UpdateUIEvent_GetEnabled", (PyCFunction
) _wrap_UpdateUIEvent_GetEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45929 { (char *)"UpdateUIEvent_GetText", (PyCFunction
) _wrap_UpdateUIEvent_GetText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45930 { (char *)"UpdateUIEvent_GetSetText", (PyCFunction
) _wrap_UpdateUIEvent_GetSetText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45931 { (char *)"UpdateUIEvent_GetSetChecked", (PyCFunction
) _wrap_UpdateUIEvent_GetSetChecked
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45932 { (char *)"UpdateUIEvent_GetSetEnabled", (PyCFunction
) _wrap_UpdateUIEvent_GetSetEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45933 { (char *)"UpdateUIEvent_Check", (PyCFunction
) _wrap_UpdateUIEvent_Check
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45934 { (char *)"UpdateUIEvent_Enable", (PyCFunction
) _wrap_UpdateUIEvent_Enable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45935 { (char *)"UpdateUIEvent_SetText", (PyCFunction
) _wrap_UpdateUIEvent_SetText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45936 { (char *)"UpdateUIEvent_SetUpdateInterval", (PyCFunction
) _wrap_UpdateUIEvent_SetUpdateInterval
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45937 { (char *)"UpdateUIEvent_GetUpdateInterval", (PyCFunction
) _wrap_UpdateUIEvent_GetUpdateInterval
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45938 { (char *)"UpdateUIEvent_CanUpdate", (PyCFunction
) _wrap_UpdateUIEvent_CanUpdate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45939 { (char *)"UpdateUIEvent_ResetUpdateTime", (PyCFunction
) _wrap_UpdateUIEvent_ResetUpdateTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45940 { (char *)"UpdateUIEvent_SetMode", (PyCFunction
) _wrap_UpdateUIEvent_SetMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45941 { (char *)"UpdateUIEvent_GetMode", (PyCFunction
) _wrap_UpdateUIEvent_GetMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45942 { (char *)"UpdateUIEvent_swigregister", UpdateUIEvent_swigregister
, METH_VARARGS
, NULL
},
45943 { (char *)"new_SysColourChangedEvent", (PyCFunction
) _wrap_new_SysColourChangedEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45944 { (char *)"SysColourChangedEvent_swigregister", SysColourChangedEvent_swigregister
, METH_VARARGS
, NULL
},
45945 { (char *)"new_MouseCaptureChangedEvent", (PyCFunction
) _wrap_new_MouseCaptureChangedEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45946 { (char *)"MouseCaptureChangedEvent_GetCapturedWindow", (PyCFunction
) _wrap_MouseCaptureChangedEvent_GetCapturedWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45947 { (char *)"MouseCaptureChangedEvent_swigregister", MouseCaptureChangedEvent_swigregister
, METH_VARARGS
, NULL
},
45948 { (char *)"new_DisplayChangedEvent", (PyCFunction
) _wrap_new_DisplayChangedEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45949 { (char *)"DisplayChangedEvent_swigregister", DisplayChangedEvent_swigregister
, METH_VARARGS
, NULL
},
45950 { (char *)"new_PaletteChangedEvent", (PyCFunction
) _wrap_new_PaletteChangedEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45951 { (char *)"PaletteChangedEvent_SetChangedWindow", (PyCFunction
) _wrap_PaletteChangedEvent_SetChangedWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45952 { (char *)"PaletteChangedEvent_GetChangedWindow", (PyCFunction
) _wrap_PaletteChangedEvent_GetChangedWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45953 { (char *)"PaletteChangedEvent_swigregister", PaletteChangedEvent_swigregister
, METH_VARARGS
, NULL
},
45954 { (char *)"new_QueryNewPaletteEvent", (PyCFunction
) _wrap_new_QueryNewPaletteEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45955 { (char *)"QueryNewPaletteEvent_SetPaletteRealized", (PyCFunction
) _wrap_QueryNewPaletteEvent_SetPaletteRealized
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45956 { (char *)"QueryNewPaletteEvent_GetPaletteRealized", (PyCFunction
) _wrap_QueryNewPaletteEvent_GetPaletteRealized
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45957 { (char *)"QueryNewPaletteEvent_swigregister", QueryNewPaletteEvent_swigregister
, METH_VARARGS
, NULL
},
45958 { (char *)"new_NavigationKeyEvent", (PyCFunction
) _wrap_new_NavigationKeyEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45959 { (char *)"NavigationKeyEvent_GetDirection", (PyCFunction
) _wrap_NavigationKeyEvent_GetDirection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45960 { (char *)"NavigationKeyEvent_SetDirection", (PyCFunction
) _wrap_NavigationKeyEvent_SetDirection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45961 { (char *)"NavigationKeyEvent_IsWindowChange", (PyCFunction
) _wrap_NavigationKeyEvent_IsWindowChange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45962 { (char *)"NavigationKeyEvent_SetWindowChange", (PyCFunction
) _wrap_NavigationKeyEvent_SetWindowChange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45963 { (char *)"NavigationKeyEvent_IsFromTab", (PyCFunction
) _wrap_NavigationKeyEvent_IsFromTab
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45964 { (char *)"NavigationKeyEvent_SetFromTab", (PyCFunction
) _wrap_NavigationKeyEvent_SetFromTab
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45965 { (char *)"NavigationKeyEvent_SetFlags", (PyCFunction
) _wrap_NavigationKeyEvent_SetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45966 { (char *)"NavigationKeyEvent_GetCurrentFocus", (PyCFunction
) _wrap_NavigationKeyEvent_GetCurrentFocus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45967 { (char *)"NavigationKeyEvent_SetCurrentFocus", (PyCFunction
) _wrap_NavigationKeyEvent_SetCurrentFocus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45968 { (char *)"NavigationKeyEvent_swigregister", NavigationKeyEvent_swigregister
, METH_VARARGS
, NULL
},
45969 { (char *)"new_WindowCreateEvent", (PyCFunction
) _wrap_new_WindowCreateEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45970 { (char *)"WindowCreateEvent_GetWindow", (PyCFunction
) _wrap_WindowCreateEvent_GetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45971 { (char *)"WindowCreateEvent_swigregister", WindowCreateEvent_swigregister
, METH_VARARGS
, NULL
},
45972 { (char *)"new_WindowDestroyEvent", (PyCFunction
) _wrap_new_WindowDestroyEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45973 { (char *)"WindowDestroyEvent_GetWindow", (PyCFunction
) _wrap_WindowDestroyEvent_GetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45974 { (char *)"WindowDestroyEvent_swigregister", WindowDestroyEvent_swigregister
, METH_VARARGS
, NULL
},
45975 { (char *)"new_ContextMenuEvent", (PyCFunction
) _wrap_new_ContextMenuEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45976 { (char *)"ContextMenuEvent_GetPosition", (PyCFunction
) _wrap_ContextMenuEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45977 { (char *)"ContextMenuEvent_SetPosition", (PyCFunction
) _wrap_ContextMenuEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45978 { (char *)"ContextMenuEvent_swigregister", ContextMenuEvent_swigregister
, METH_VARARGS
, NULL
},
45979 { (char *)"new_IdleEvent", (PyCFunction
) _wrap_new_IdleEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45980 { (char *)"IdleEvent_RequestMore", (PyCFunction
) _wrap_IdleEvent_RequestMore
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45981 { (char *)"IdleEvent_MoreRequested", (PyCFunction
) _wrap_IdleEvent_MoreRequested
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45982 { (char *)"IdleEvent_SetMode", (PyCFunction
) _wrap_IdleEvent_SetMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45983 { (char *)"IdleEvent_GetMode", (PyCFunction
) _wrap_IdleEvent_GetMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45984 { (char *)"IdleEvent_CanSend", (PyCFunction
) _wrap_IdleEvent_CanSend
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45985 { (char *)"IdleEvent_swigregister", IdleEvent_swigregister
, METH_VARARGS
, NULL
},
45986 { (char *)"new_PyEvent", (PyCFunction
) _wrap_new_PyEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45987 { (char *)"delete_PyEvent", (PyCFunction
) _wrap_delete_PyEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45988 { (char *)"PyEvent__SetSelf", (PyCFunction
) _wrap_PyEvent__SetSelf
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45989 { (char *)"PyEvent__GetSelf", (PyCFunction
) _wrap_PyEvent__GetSelf
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45990 { (char *)"PyEvent_swigregister", PyEvent_swigregister
, METH_VARARGS
, NULL
},
45991 { (char *)"new_PyCommandEvent", (PyCFunction
) _wrap_new_PyCommandEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45992 { (char *)"delete_PyCommandEvent", (PyCFunction
) _wrap_delete_PyCommandEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45993 { (char *)"PyCommandEvent__SetSelf", (PyCFunction
) _wrap_PyCommandEvent__SetSelf
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45994 { (char *)"PyCommandEvent__GetSelf", (PyCFunction
) _wrap_PyCommandEvent__GetSelf
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45995 { (char *)"PyCommandEvent_swigregister", PyCommandEvent_swigregister
, METH_VARARGS
, NULL
},
45996 { (char *)"new_DateEvent", (PyCFunction
) _wrap_new_DateEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45997 { (char *)"DateEvent_GetDate", (PyCFunction
) _wrap_DateEvent_GetDate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45998 { (char *)"DateEvent_SetDate", (PyCFunction
) _wrap_DateEvent_SetDate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45999 { (char *)"DateEvent_swigregister", DateEvent_swigregister
, METH_VARARGS
, NULL
},
46000 { (char *)"new_PyApp", (PyCFunction
) _wrap_new_PyApp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46001 { (char *)"delete_PyApp", (PyCFunction
) _wrap_delete_PyApp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46002 { (char *)"PyApp__setCallbackInfo", (PyCFunction
) _wrap_PyApp__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46003 { (char *)"PyApp_GetAppName", (PyCFunction
) _wrap_PyApp_GetAppName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46004 { (char *)"PyApp_SetAppName", (PyCFunction
) _wrap_PyApp_SetAppName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46005 { (char *)"PyApp_GetClassName", (PyCFunction
) _wrap_PyApp_GetClassName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46006 { (char *)"PyApp_SetClassName", (PyCFunction
) _wrap_PyApp_SetClassName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46007 { (char *)"PyApp_GetVendorName", (PyCFunction
) _wrap_PyApp_GetVendorName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46008 { (char *)"PyApp_SetVendorName", (PyCFunction
) _wrap_PyApp_SetVendorName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46009 { (char *)"PyApp_GetTraits", (PyCFunction
) _wrap_PyApp_GetTraits
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46010 { (char *)"PyApp_ProcessPendingEvents", (PyCFunction
) _wrap_PyApp_ProcessPendingEvents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46011 { (char *)"PyApp_Yield", (PyCFunction
) _wrap_PyApp_Yield
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46012 { (char *)"PyApp_WakeUpIdle", (PyCFunction
) _wrap_PyApp_WakeUpIdle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46013 { (char *)"PyApp_IsMainLoopRunning", (PyCFunction
) _wrap_PyApp_IsMainLoopRunning
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46014 { (char *)"PyApp_MainLoop", (PyCFunction
) _wrap_PyApp_MainLoop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46015 { (char *)"PyApp_Exit", (PyCFunction
) _wrap_PyApp_Exit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46016 { (char *)"PyApp_ExitMainLoop", (PyCFunction
) _wrap_PyApp_ExitMainLoop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46017 { (char *)"PyApp_Pending", (PyCFunction
) _wrap_PyApp_Pending
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46018 { (char *)"PyApp_Dispatch", (PyCFunction
) _wrap_PyApp_Dispatch
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46019 { (char *)"PyApp_ProcessIdle", (PyCFunction
) _wrap_PyApp_ProcessIdle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46020 { (char *)"PyApp_SendIdleEvents", (PyCFunction
) _wrap_PyApp_SendIdleEvents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46021 { (char *)"PyApp_IsActive", (PyCFunction
) _wrap_PyApp_IsActive
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46022 { (char *)"PyApp_SetTopWindow", (PyCFunction
) _wrap_PyApp_SetTopWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46023 { (char *)"PyApp_GetTopWindow", (PyCFunction
) _wrap_PyApp_GetTopWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46024 { (char *)"PyApp_SetExitOnFrameDelete", (PyCFunction
) _wrap_PyApp_SetExitOnFrameDelete
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46025 { (char *)"PyApp_GetExitOnFrameDelete", (PyCFunction
) _wrap_PyApp_GetExitOnFrameDelete
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46026 { (char *)"PyApp_SetUseBestVisual", (PyCFunction
) _wrap_PyApp_SetUseBestVisual
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46027 { (char *)"PyApp_GetUseBestVisual", (PyCFunction
) _wrap_PyApp_GetUseBestVisual
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46028 { (char *)"PyApp_SetPrintMode", (PyCFunction
) _wrap_PyApp_SetPrintMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46029 { (char *)"PyApp_GetPrintMode", (PyCFunction
) _wrap_PyApp_GetPrintMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46030 { (char *)"PyApp_SetAssertMode", (PyCFunction
) _wrap_PyApp_SetAssertMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46031 { (char *)"PyApp_GetAssertMode", (PyCFunction
) _wrap_PyApp_GetAssertMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46032 { (char *)"PyApp_GetMacSupportPCMenuShortcuts", (PyCFunction
) _wrap_PyApp_GetMacSupportPCMenuShortcuts
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46033 { (char *)"PyApp_GetMacAboutMenuItemId", (PyCFunction
) _wrap_PyApp_GetMacAboutMenuItemId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46034 { (char *)"PyApp_GetMacPreferencesMenuItemId", (PyCFunction
) _wrap_PyApp_GetMacPreferencesMenuItemId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46035 { (char *)"PyApp_GetMacExitMenuItemId", (PyCFunction
) _wrap_PyApp_GetMacExitMenuItemId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46036 { (char *)"PyApp_GetMacHelpMenuTitleName", (PyCFunction
) _wrap_PyApp_GetMacHelpMenuTitleName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46037 { (char *)"PyApp_SetMacSupportPCMenuShortcuts", (PyCFunction
) _wrap_PyApp_SetMacSupportPCMenuShortcuts
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46038 { (char *)"PyApp_SetMacAboutMenuItemId", (PyCFunction
) _wrap_PyApp_SetMacAboutMenuItemId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46039 { (char *)"PyApp_SetMacPreferencesMenuItemId", (PyCFunction
) _wrap_PyApp_SetMacPreferencesMenuItemId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46040 { (char *)"PyApp_SetMacExitMenuItemId", (PyCFunction
) _wrap_PyApp_SetMacExitMenuItemId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46041 { (char *)"PyApp_SetMacHelpMenuTitleName", (PyCFunction
) _wrap_PyApp_SetMacHelpMenuTitleName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46042 { (char *)"PyApp__BootstrapApp", (PyCFunction
) _wrap_PyApp__BootstrapApp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46043 { (char *)"PyApp_GetComCtl32Version", (PyCFunction
) _wrap_PyApp_GetComCtl32Version
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46044 { (char *)"PyApp_swigregister", PyApp_swigregister
, METH_VARARGS
, NULL
},
46045 { (char *)"Exit", (PyCFunction
) _wrap_Exit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46046 { (char *)"Yield", (PyCFunction
) _wrap_Yield
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46047 { (char *)"YieldIfNeeded", (PyCFunction
) _wrap_YieldIfNeeded
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46048 { (char *)"SafeYield", (PyCFunction
) _wrap_SafeYield
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46049 { (char *)"WakeUpIdle", (PyCFunction
) _wrap_WakeUpIdle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46050 { (char *)"PostEvent", (PyCFunction
) _wrap_PostEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46051 { (char *)"App_CleanUp", (PyCFunction
) _wrap_App_CleanUp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46052 { (char *)"GetApp", (PyCFunction
) _wrap_GetApp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46053 { (char *)"SetDefaultPyEncoding", (PyCFunction
) _wrap_SetDefaultPyEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46054 { (char *)"GetDefaultPyEncoding", (PyCFunction
) _wrap_GetDefaultPyEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46055 { (char *)"new_EventLoop", (PyCFunction
) _wrap_new_EventLoop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46056 { (char *)"delete_EventLoop", (PyCFunction
) _wrap_delete_EventLoop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46057 { (char *)"EventLoop_Run", (PyCFunction
) _wrap_EventLoop_Run
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46058 { (char *)"EventLoop_Exit", (PyCFunction
) _wrap_EventLoop_Exit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46059 { (char *)"EventLoop_Pending", (PyCFunction
) _wrap_EventLoop_Pending
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46060 { (char *)"EventLoop_Dispatch", (PyCFunction
) _wrap_EventLoop_Dispatch
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46061 { (char *)"EventLoop_IsRunning", (PyCFunction
) _wrap_EventLoop_IsRunning
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46062 { (char *)"EventLoop_GetActive", (PyCFunction
) _wrap_EventLoop_GetActive
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46063 { (char *)"EventLoop_SetActive", (PyCFunction
) _wrap_EventLoop_SetActive
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46064 { (char *)"EventLoop_swigregister", EventLoop_swigregister
, METH_VARARGS
, NULL
},
46065 { (char *)"new_AcceleratorEntry", (PyCFunction
) _wrap_new_AcceleratorEntry
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46066 { (char *)"delete_AcceleratorEntry", (PyCFunction
) _wrap_delete_AcceleratorEntry
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46067 { (char *)"AcceleratorEntry_Set", (PyCFunction
) _wrap_AcceleratorEntry_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46068 { (char *)"AcceleratorEntry_GetFlags", (PyCFunction
) _wrap_AcceleratorEntry_GetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46069 { (char *)"AcceleratorEntry_GetKeyCode", (PyCFunction
) _wrap_AcceleratorEntry_GetKeyCode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46070 { (char *)"AcceleratorEntry_GetCommand", (PyCFunction
) _wrap_AcceleratorEntry_GetCommand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46071 { (char *)"AcceleratorEntry_swigregister", AcceleratorEntry_swigregister
, METH_VARARGS
, NULL
},
46072 { (char *)"new_AcceleratorTable", (PyCFunction
) _wrap_new_AcceleratorTable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46073 { (char *)"delete_AcceleratorTable", (PyCFunction
) _wrap_delete_AcceleratorTable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46074 { (char *)"AcceleratorTable_Ok", (PyCFunction
) _wrap_AcceleratorTable_Ok
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46075 { (char *)"AcceleratorTable_swigregister", AcceleratorTable_swigregister
, METH_VARARGS
, NULL
},
46076 { (char *)"GetAccelFromString", (PyCFunction
) _wrap_GetAccelFromString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46077 { (char *)"new_VisualAttributes", (PyCFunction
) _wrap_new_VisualAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46078 { (char *)"delete_VisualAttributes", (PyCFunction
) _wrap_delete_VisualAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46079 { (char *)"VisualAttributes_font_set", (PyCFunction
) _wrap_VisualAttributes_font_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46080 { (char *)"VisualAttributes_font_get", (PyCFunction
) _wrap_VisualAttributes_font_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46081 { (char *)"VisualAttributes_colFg_set", (PyCFunction
) _wrap_VisualAttributes_colFg_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46082 { (char *)"VisualAttributes_colFg_get", (PyCFunction
) _wrap_VisualAttributes_colFg_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46083 { (char *)"VisualAttributes_colBg_set", (PyCFunction
) _wrap_VisualAttributes_colBg_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46084 { (char *)"VisualAttributes_colBg_get", (PyCFunction
) _wrap_VisualAttributes_colBg_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46085 { (char *)"VisualAttributes_swigregister", VisualAttributes_swigregister
, METH_VARARGS
, NULL
},
46086 { (char *)"new_Window", (PyCFunction
) _wrap_new_Window
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46087 { (char *)"new_PreWindow", (PyCFunction
) _wrap_new_PreWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46088 { (char *)"Window_Create", (PyCFunction
) _wrap_Window_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46089 { (char *)"Window_Close", (PyCFunction
) _wrap_Window_Close
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46090 { (char *)"Window_Destroy", (PyCFunction
) _wrap_Window_Destroy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46091 { (char *)"Window_DestroyChildren", (PyCFunction
) _wrap_Window_DestroyChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46092 { (char *)"Window_IsBeingDeleted", (PyCFunction
) _wrap_Window_IsBeingDeleted
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46093 { (char *)"Window_SetTitle", (PyCFunction
) _wrap_Window_SetTitle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46094 { (char *)"Window_GetTitle", (PyCFunction
) _wrap_Window_GetTitle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46095 { (char *)"Window_SetLabel", (PyCFunction
) _wrap_Window_SetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46096 { (char *)"Window_GetLabel", (PyCFunction
) _wrap_Window_GetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46097 { (char *)"Window_SetName", (PyCFunction
) _wrap_Window_SetName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46098 { (char *)"Window_GetName", (PyCFunction
) _wrap_Window_GetName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46099 { (char *)"Window_SetWindowVariant", (PyCFunction
) _wrap_Window_SetWindowVariant
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46100 { (char *)"Window_GetWindowVariant", (PyCFunction
) _wrap_Window_GetWindowVariant
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46101 { (char *)"Window_SetId", (PyCFunction
) _wrap_Window_SetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46102 { (char *)"Window_GetId", (PyCFunction
) _wrap_Window_GetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46103 { (char *)"Window_NewControlId", (PyCFunction
) _wrap_Window_NewControlId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46104 { (char *)"Window_NextControlId", (PyCFunction
) _wrap_Window_NextControlId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46105 { (char *)"Window_PrevControlId", (PyCFunction
) _wrap_Window_PrevControlId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46106 { (char *)"Window_SetSize", (PyCFunction
) _wrap_Window_SetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46107 { (char *)"Window_SetDimensions", (PyCFunction
) _wrap_Window_SetDimensions
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46108 { (char *)"Window_SetRect", (PyCFunction
) _wrap_Window_SetRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46109 { (char *)"Window_SetSizeWH", (PyCFunction
) _wrap_Window_SetSizeWH
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46110 { (char *)"Window_Move", (PyCFunction
) _wrap_Window_Move
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46111 { (char *)"Window_MoveXY", (PyCFunction
) _wrap_Window_MoveXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46112 { (char *)"Window_SetBestFittingSize", (PyCFunction
) _wrap_Window_SetBestFittingSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46113 { (char *)"Window_Raise", (PyCFunction
) _wrap_Window_Raise
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46114 { (char *)"Window_Lower", (PyCFunction
) _wrap_Window_Lower
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46115 { (char *)"Window_SetClientSize", (PyCFunction
) _wrap_Window_SetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46116 { (char *)"Window_SetClientSizeWH", (PyCFunction
) _wrap_Window_SetClientSizeWH
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46117 { (char *)"Window_SetClientRect", (PyCFunction
) _wrap_Window_SetClientRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46118 { (char *)"Window_GetPosition", (PyCFunction
) _wrap_Window_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46119 { (char *)"Window_GetPositionTuple", (PyCFunction
) _wrap_Window_GetPositionTuple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46120 { (char *)"Window_GetSize", (PyCFunction
) _wrap_Window_GetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46121 { (char *)"Window_GetSizeTuple", (PyCFunction
) _wrap_Window_GetSizeTuple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46122 { (char *)"Window_GetRect", (PyCFunction
) _wrap_Window_GetRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46123 { (char *)"Window_GetClientSize", (PyCFunction
) _wrap_Window_GetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46124 { (char *)"Window_GetClientSizeTuple", (PyCFunction
) _wrap_Window_GetClientSizeTuple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46125 { (char *)"Window_GetClientAreaOrigin", (PyCFunction
) _wrap_Window_GetClientAreaOrigin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46126 { (char *)"Window_GetClientRect", (PyCFunction
) _wrap_Window_GetClientRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46127 { (char *)"Window_GetBestSize", (PyCFunction
) _wrap_Window_GetBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46128 { (char *)"Window_GetBestSizeTuple", (PyCFunction
) _wrap_Window_GetBestSizeTuple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46129 { (char *)"Window_InvalidateBestSize", (PyCFunction
) _wrap_Window_InvalidateBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46130 { (char *)"Window_CacheBestSize", (PyCFunction
) _wrap_Window_CacheBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46131 { (char *)"Window_GetBestFittingSize", (PyCFunction
) _wrap_Window_GetBestFittingSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46132 { (char *)"Window_GetAdjustedBestSize", (PyCFunction
) _wrap_Window_GetAdjustedBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46133 { (char *)"Window_Center", (PyCFunction
) _wrap_Window_Center
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46134 { (char *)"Window_CenterOnScreen", (PyCFunction
) _wrap_Window_CenterOnScreen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46135 { (char *)"Window_CenterOnParent", (PyCFunction
) _wrap_Window_CenterOnParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46136 { (char *)"Window_Fit", (PyCFunction
) _wrap_Window_Fit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46137 { (char *)"Window_FitInside", (PyCFunction
) _wrap_Window_FitInside
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46138 { (char *)"Window_SetSizeHints", (PyCFunction
) _wrap_Window_SetSizeHints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46139 { (char *)"Window_SetSizeHintsSz", (PyCFunction
) _wrap_Window_SetSizeHintsSz
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46140 { (char *)"Window_SetVirtualSizeHints", (PyCFunction
) _wrap_Window_SetVirtualSizeHints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46141 { (char *)"Window_SetVirtualSizeHintsSz", (PyCFunction
) _wrap_Window_SetVirtualSizeHintsSz
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46142 { (char *)"Window_GetMaxSize", (PyCFunction
) _wrap_Window_GetMaxSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46143 { (char *)"Window_GetMinSize", (PyCFunction
) _wrap_Window_GetMinSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46144 { (char *)"Window_SetMinSize", (PyCFunction
) _wrap_Window_SetMinSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46145 { (char *)"Window_SetMaxSize", (PyCFunction
) _wrap_Window_SetMaxSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46146 { (char *)"Window_GetMinWidth", (PyCFunction
) _wrap_Window_GetMinWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46147 { (char *)"Window_GetMinHeight", (PyCFunction
) _wrap_Window_GetMinHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46148 { (char *)"Window_GetMaxWidth", (PyCFunction
) _wrap_Window_GetMaxWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46149 { (char *)"Window_GetMaxHeight", (PyCFunction
) _wrap_Window_GetMaxHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46150 { (char *)"Window_SetVirtualSize", (PyCFunction
) _wrap_Window_SetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46151 { (char *)"Window_SetVirtualSizeWH", (PyCFunction
) _wrap_Window_SetVirtualSizeWH
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46152 { (char *)"Window_GetVirtualSize", (PyCFunction
) _wrap_Window_GetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46153 { (char *)"Window_GetVirtualSizeTuple", (PyCFunction
) _wrap_Window_GetVirtualSizeTuple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46154 { (char *)"Window_GetBestVirtualSize", (PyCFunction
) _wrap_Window_GetBestVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46155 { (char *)"Window_Show", (PyCFunction
) _wrap_Window_Show
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46156 { (char *)"Window_Hide", (PyCFunction
) _wrap_Window_Hide
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46157 { (char *)"Window_Enable", (PyCFunction
) _wrap_Window_Enable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46158 { (char *)"Window_Disable", (PyCFunction
) _wrap_Window_Disable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46159 { (char *)"Window_IsShown", (PyCFunction
) _wrap_Window_IsShown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46160 { (char *)"Window_IsEnabled", (PyCFunction
) _wrap_Window_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46161 { (char *)"Window_SetWindowStyleFlag", (PyCFunction
) _wrap_Window_SetWindowStyleFlag
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46162 { (char *)"Window_GetWindowStyleFlag", (PyCFunction
) _wrap_Window_GetWindowStyleFlag
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46163 { (char *)"Window_HasFlag", (PyCFunction
) _wrap_Window_HasFlag
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46164 { (char *)"Window_IsRetained", (PyCFunction
) _wrap_Window_IsRetained
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46165 { (char *)"Window_SetExtraStyle", (PyCFunction
) _wrap_Window_SetExtraStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46166 { (char *)"Window_GetExtraStyle", (PyCFunction
) _wrap_Window_GetExtraStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46167 { (char *)"Window_MakeModal", (PyCFunction
) _wrap_Window_MakeModal
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46168 { (char *)"Window_SetThemeEnabled", (PyCFunction
) _wrap_Window_SetThemeEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46169 { (char *)"Window_GetThemeEnabled", (PyCFunction
) _wrap_Window_GetThemeEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46170 { (char *)"Window_SetFocus", (PyCFunction
) _wrap_Window_SetFocus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46171 { (char *)"Window_SetFocusFromKbd", (PyCFunction
) _wrap_Window_SetFocusFromKbd
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46172 { (char *)"Window_FindFocus", (PyCFunction
) _wrap_Window_FindFocus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46173 { (char *)"Window_AcceptsFocus", (PyCFunction
) _wrap_Window_AcceptsFocus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46174 { (char *)"Window_AcceptsFocusFromKeyboard", (PyCFunction
) _wrap_Window_AcceptsFocusFromKeyboard
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46175 { (char *)"Window_GetDefaultItem", (PyCFunction
) _wrap_Window_GetDefaultItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46176 { (char *)"Window_SetDefaultItem", (PyCFunction
) _wrap_Window_SetDefaultItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46177 { (char *)"Window_SetTmpDefaultItem", (PyCFunction
) _wrap_Window_SetTmpDefaultItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46178 { (char *)"Window_Navigate", (PyCFunction
) _wrap_Window_Navigate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46179 { (char *)"Window_MoveAfterInTabOrder", (PyCFunction
) _wrap_Window_MoveAfterInTabOrder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46180 { (char *)"Window_MoveBeforeInTabOrder", (PyCFunction
) _wrap_Window_MoveBeforeInTabOrder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46181 { (char *)"Window_GetChildren", (PyCFunction
) _wrap_Window_GetChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46182 { (char *)"Window_GetParent", (PyCFunction
) _wrap_Window_GetParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46183 { (char *)"Window_GetGrandParent", (PyCFunction
) _wrap_Window_GetGrandParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46184 { (char *)"Window_IsTopLevel", (PyCFunction
) _wrap_Window_IsTopLevel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46185 { (char *)"Window_Reparent", (PyCFunction
) _wrap_Window_Reparent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46186 { (char *)"Window_AddChild", (PyCFunction
) _wrap_Window_AddChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46187 { (char *)"Window_RemoveChild", (PyCFunction
) _wrap_Window_RemoveChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46188 { (char *)"Window_FindWindowById", (PyCFunction
) _wrap_Window_FindWindowById
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46189 { (char *)"Window_FindWindowByName", (PyCFunction
) _wrap_Window_FindWindowByName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46190 { (char *)"Window_GetEventHandler", (PyCFunction
) _wrap_Window_GetEventHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46191 { (char *)"Window_SetEventHandler", (PyCFunction
) _wrap_Window_SetEventHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46192 { (char *)"Window_PushEventHandler", (PyCFunction
) _wrap_Window_PushEventHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46193 { (char *)"Window_PopEventHandler", (PyCFunction
) _wrap_Window_PopEventHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46194 { (char *)"Window_RemoveEventHandler", (PyCFunction
) _wrap_Window_RemoveEventHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46195 { (char *)"Window_SetValidator", (PyCFunction
) _wrap_Window_SetValidator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46196 { (char *)"Window_GetValidator", (PyCFunction
) _wrap_Window_GetValidator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46197 { (char *)"Window_Validate", (PyCFunction
) _wrap_Window_Validate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46198 { (char *)"Window_TransferDataToWindow", (PyCFunction
) _wrap_Window_TransferDataToWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46199 { (char *)"Window_TransferDataFromWindow", (PyCFunction
) _wrap_Window_TransferDataFromWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46200 { (char *)"Window_InitDialog", (PyCFunction
) _wrap_Window_InitDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46201 { (char *)"Window_SetAcceleratorTable", (PyCFunction
) _wrap_Window_SetAcceleratorTable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46202 { (char *)"Window_GetAcceleratorTable", (PyCFunction
) _wrap_Window_GetAcceleratorTable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46203 { (char *)"Window_RegisterHotKey", (PyCFunction
) _wrap_Window_RegisterHotKey
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46204 { (char *)"Window_UnregisterHotKey", (PyCFunction
) _wrap_Window_UnregisterHotKey
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46205 { (char *)"Window_ConvertDialogPointToPixels", (PyCFunction
) _wrap_Window_ConvertDialogPointToPixels
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46206 { (char *)"Window_ConvertDialogSizeToPixels", (PyCFunction
) _wrap_Window_ConvertDialogSizeToPixels
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46207 { (char *)"Window_DLG_PNT", (PyCFunction
) _wrap_Window_DLG_PNT
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46208 { (char *)"Window_DLG_SZE", (PyCFunction
) _wrap_Window_DLG_SZE
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46209 { (char *)"Window_ConvertPixelPointToDialog", (PyCFunction
) _wrap_Window_ConvertPixelPointToDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46210 { (char *)"Window_ConvertPixelSizeToDialog", (PyCFunction
) _wrap_Window_ConvertPixelSizeToDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46211 { (char *)"Window_WarpPointer", (PyCFunction
) _wrap_Window_WarpPointer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46212 { (char *)"Window_CaptureMouse", (PyCFunction
) _wrap_Window_CaptureMouse
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46213 { (char *)"Window_ReleaseMouse", (PyCFunction
) _wrap_Window_ReleaseMouse
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46214 { (char *)"Window_GetCapture", (PyCFunction
) _wrap_Window_GetCapture
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46215 { (char *)"Window_HasCapture", (PyCFunction
) _wrap_Window_HasCapture
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46216 { (char *)"Window_Refresh", (PyCFunction
) _wrap_Window_Refresh
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46217 { (char *)"Window_RefreshRect", (PyCFunction
) _wrap_Window_RefreshRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46218 { (char *)"Window_Update", (PyCFunction
) _wrap_Window_Update
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46219 { (char *)"Window_ClearBackground", (PyCFunction
) _wrap_Window_ClearBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46220 { (char *)"Window_Freeze", (PyCFunction
) _wrap_Window_Freeze
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46221 { (char *)"Window_Thaw", (PyCFunction
) _wrap_Window_Thaw
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46222 { (char *)"Window_PrepareDC", (PyCFunction
) _wrap_Window_PrepareDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46223 { (char *)"Window_GetUpdateRegion", (PyCFunction
) _wrap_Window_GetUpdateRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46224 { (char *)"Window_GetUpdateClientRect", (PyCFunction
) _wrap_Window_GetUpdateClientRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46225 { (char *)"Window_IsExposed", (PyCFunction
) _wrap_Window_IsExposed
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46226 { (char *)"Window_IsExposedPoint", (PyCFunction
) _wrap_Window_IsExposedPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46227 { (char *)"Window_IsExposedRect", (PyCFunction
) _wrap_Window_IsExposedRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46228 { (char *)"Window_GetDefaultAttributes", (PyCFunction
) _wrap_Window_GetDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46229 { (char *)"Window_GetClassDefaultAttributes", (PyCFunction
) _wrap_Window_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46230 { (char *)"Window_SetBackgroundColour", (PyCFunction
) _wrap_Window_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46231 { (char *)"Window_SetOwnBackgroundColour", (PyCFunction
) _wrap_Window_SetOwnBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46232 { (char *)"Window_SetForegroundColour", (PyCFunction
) _wrap_Window_SetForegroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46233 { (char *)"Window_SetOwnForegroundColour", (PyCFunction
) _wrap_Window_SetOwnForegroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46234 { (char *)"Window_GetBackgroundColour", (PyCFunction
) _wrap_Window_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46235 { (char *)"Window_GetForegroundColour", (PyCFunction
) _wrap_Window_GetForegroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46236 { (char *)"Window_InheritsBackgroundColour", (PyCFunction
) _wrap_Window_InheritsBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46237 { (char *)"Window_UseBgCol", (PyCFunction
) _wrap_Window_UseBgCol
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46238 { (char *)"Window_SetBackgroundStyle", (PyCFunction
) _wrap_Window_SetBackgroundStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46239 { (char *)"Window_GetBackgroundStyle", (PyCFunction
) _wrap_Window_GetBackgroundStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46240 { (char *)"Window_HasTransparentBackground", (PyCFunction
) _wrap_Window_HasTransparentBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46241 { (char *)"Window_SetCursor", (PyCFunction
) _wrap_Window_SetCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46242 { (char *)"Window_GetCursor", (PyCFunction
) _wrap_Window_GetCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46243 { (char *)"Window_SetFont", (PyCFunction
) _wrap_Window_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46244 { (char *)"Window_SetOwnFont", (PyCFunction
) _wrap_Window_SetOwnFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46245 { (char *)"Window_GetFont", (PyCFunction
) _wrap_Window_GetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46246 { (char *)"Window_SetCaret", (PyCFunction
) _wrap_Window_SetCaret
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46247 { (char *)"Window_GetCaret", (PyCFunction
) _wrap_Window_GetCaret
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46248 { (char *)"Window_GetCharHeight", (PyCFunction
) _wrap_Window_GetCharHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46249 { (char *)"Window_GetCharWidth", (PyCFunction
) _wrap_Window_GetCharWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46250 { (char *)"Window_GetTextExtent", (PyCFunction
) _wrap_Window_GetTextExtent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46251 { (char *)"Window_GetFullTextExtent", (PyCFunction
) _wrap_Window_GetFullTextExtent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46252 { (char *)"Window_ClientToScreenXY", (PyCFunction
) _wrap_Window_ClientToScreenXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46253 { (char *)"Window_ScreenToClientXY", (PyCFunction
) _wrap_Window_ScreenToClientXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46254 { (char *)"Window_ClientToScreen", (PyCFunction
) _wrap_Window_ClientToScreen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46255 { (char *)"Window_ScreenToClient", (PyCFunction
) _wrap_Window_ScreenToClient
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46256 { (char *)"Window_HitTestXY", (PyCFunction
) _wrap_Window_HitTestXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46257 { (char *)"Window_HitTest", (PyCFunction
) _wrap_Window_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46258 { (char *)"Window_GetBorder", _wrap_Window_GetBorder
, METH_VARARGS
, NULL
},
46259 { (char *)"Window_UpdateWindowUI", (PyCFunction
) _wrap_Window_UpdateWindowUI
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46260 { (char *)"Window_PopupMenuXY", (PyCFunction
) _wrap_Window_PopupMenuXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46261 { (char *)"Window_PopupMenu", (PyCFunction
) _wrap_Window_PopupMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46262 { (char *)"Window_GetHandle", (PyCFunction
) _wrap_Window_GetHandle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46263 { (char *)"Window_AssociateHandle", (PyCFunction
) _wrap_Window_AssociateHandle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46264 { (char *)"Window_DissociateHandle", (PyCFunction
) _wrap_Window_DissociateHandle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46265 { (char *)"Window_HasScrollbar", (PyCFunction
) _wrap_Window_HasScrollbar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46266 { (char *)"Window_SetScrollbar", (PyCFunction
) _wrap_Window_SetScrollbar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46267 { (char *)"Window_SetScrollPos", (PyCFunction
) _wrap_Window_SetScrollPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46268 { (char *)"Window_GetScrollPos", (PyCFunction
) _wrap_Window_GetScrollPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46269 { (char *)"Window_GetScrollThumb", (PyCFunction
) _wrap_Window_GetScrollThumb
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46270 { (char *)"Window_GetScrollRange", (PyCFunction
) _wrap_Window_GetScrollRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46271 { (char *)"Window_ScrollWindow", (PyCFunction
) _wrap_Window_ScrollWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46272 { (char *)"Window_ScrollLines", (PyCFunction
) _wrap_Window_ScrollLines
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46273 { (char *)"Window_ScrollPages", (PyCFunction
) _wrap_Window_ScrollPages
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46274 { (char *)"Window_LineUp", (PyCFunction
) _wrap_Window_LineUp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46275 { (char *)"Window_LineDown", (PyCFunction
) _wrap_Window_LineDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46276 { (char *)"Window_PageUp", (PyCFunction
) _wrap_Window_PageUp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46277 { (char *)"Window_PageDown", (PyCFunction
) _wrap_Window_PageDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46278 { (char *)"Window_SetHelpText", (PyCFunction
) _wrap_Window_SetHelpText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46279 { (char *)"Window_SetHelpTextForId", (PyCFunction
) _wrap_Window_SetHelpTextForId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46280 { (char *)"Window_GetHelpText", (PyCFunction
) _wrap_Window_GetHelpText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46281 { (char *)"Window_SetToolTipString", (PyCFunction
) _wrap_Window_SetToolTipString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46282 { (char *)"Window_SetToolTip", (PyCFunction
) _wrap_Window_SetToolTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46283 { (char *)"Window_GetToolTip", (PyCFunction
) _wrap_Window_GetToolTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46284 { (char *)"Window_SetDropTarget", (PyCFunction
) _wrap_Window_SetDropTarget
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46285 { (char *)"Window_GetDropTarget", (PyCFunction
) _wrap_Window_GetDropTarget
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46286 { (char *)"Window_DragAcceptFiles", (PyCFunction
) _wrap_Window_DragAcceptFiles
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46287 { (char *)"Window_SetConstraints", (PyCFunction
) _wrap_Window_SetConstraints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46288 { (char *)"Window_GetConstraints", (PyCFunction
) _wrap_Window_GetConstraints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46289 { (char *)"Window_SetAutoLayout", (PyCFunction
) _wrap_Window_SetAutoLayout
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46290 { (char *)"Window_GetAutoLayout", (PyCFunction
) _wrap_Window_GetAutoLayout
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46291 { (char *)"Window_Layout", (PyCFunction
) _wrap_Window_Layout
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46292 { (char *)"Window_SetSizer", (PyCFunction
) _wrap_Window_SetSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46293 { (char *)"Window_SetSizerAndFit", (PyCFunction
) _wrap_Window_SetSizerAndFit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46294 { (char *)"Window_GetSizer", (PyCFunction
) _wrap_Window_GetSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46295 { (char *)"Window_SetContainingSizer", (PyCFunction
) _wrap_Window_SetContainingSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46296 { (char *)"Window_GetContainingSizer", (PyCFunction
) _wrap_Window_GetContainingSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46297 { (char *)"Window_InheritAttributes", (PyCFunction
) _wrap_Window_InheritAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46298 { (char *)"Window_ShouldInheritColours", (PyCFunction
) _wrap_Window_ShouldInheritColours
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46299 { (char *)"Window_swigregister", Window_swigregister
, METH_VARARGS
, NULL
},
46300 { (char *)"FindWindowById", (PyCFunction
) _wrap_FindWindowById
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46301 { (char *)"FindWindowByName", (PyCFunction
) _wrap_FindWindowByName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46302 { (char *)"FindWindowByLabel", (PyCFunction
) _wrap_FindWindowByLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46303 { (char *)"Window_FromHWND", (PyCFunction
) _wrap_Window_FromHWND
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46304 { (char *)"GetTopLevelWindows", (PyCFunction
) _wrap_GetTopLevelWindows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46305 { (char *)"new_Validator", (PyCFunction
) _wrap_new_Validator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46306 { (char *)"Validator_Clone", (PyCFunction
) _wrap_Validator_Clone
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46307 { (char *)"Validator_Validate", (PyCFunction
) _wrap_Validator_Validate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46308 { (char *)"Validator_TransferToWindow", (PyCFunction
) _wrap_Validator_TransferToWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46309 { (char *)"Validator_TransferFromWindow", (PyCFunction
) _wrap_Validator_TransferFromWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46310 { (char *)"Validator_GetWindow", (PyCFunction
) _wrap_Validator_GetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46311 { (char *)"Validator_SetWindow", (PyCFunction
) _wrap_Validator_SetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46312 { (char *)"Validator_IsSilent", (PyCFunction
) _wrap_Validator_IsSilent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46313 { (char *)"Validator_SetBellOnError", (PyCFunction
) _wrap_Validator_SetBellOnError
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46314 { (char *)"Validator_swigregister", Validator_swigregister
, METH_VARARGS
, NULL
},
46315 { (char *)"new_PyValidator", (PyCFunction
) _wrap_new_PyValidator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46316 { (char *)"PyValidator__setCallbackInfo", (PyCFunction
) _wrap_PyValidator__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46317 { (char *)"PyValidator_swigregister", PyValidator_swigregister
, METH_VARARGS
, NULL
},
46318 { (char *)"new_Menu", (PyCFunction
) _wrap_new_Menu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46319 { (char *)"Menu_Append", (PyCFunction
) _wrap_Menu_Append
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46320 { (char *)"Menu_AppendSeparator", (PyCFunction
) _wrap_Menu_AppendSeparator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46321 { (char *)"Menu_AppendCheckItem", (PyCFunction
) _wrap_Menu_AppendCheckItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46322 { (char *)"Menu_AppendRadioItem", (PyCFunction
) _wrap_Menu_AppendRadioItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46323 { (char *)"Menu_AppendMenu", (PyCFunction
) _wrap_Menu_AppendMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46324 { (char *)"Menu_AppendItem", (PyCFunction
) _wrap_Menu_AppendItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46325 { (char *)"Menu_Break", (PyCFunction
) _wrap_Menu_Break
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46326 { (char *)"Menu_InsertItem", (PyCFunction
) _wrap_Menu_InsertItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46327 { (char *)"Menu_Insert", (PyCFunction
) _wrap_Menu_Insert
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46328 { (char *)"Menu_InsertSeparator", (PyCFunction
) _wrap_Menu_InsertSeparator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46329 { (char *)"Menu_InsertCheckItem", (PyCFunction
) _wrap_Menu_InsertCheckItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46330 { (char *)"Menu_InsertRadioItem", (PyCFunction
) _wrap_Menu_InsertRadioItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46331 { (char *)"Menu_InsertMenu", (PyCFunction
) _wrap_Menu_InsertMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46332 { (char *)"Menu_PrependItem", (PyCFunction
) _wrap_Menu_PrependItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46333 { (char *)"Menu_Prepend", (PyCFunction
) _wrap_Menu_Prepend
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46334 { (char *)"Menu_PrependSeparator", (PyCFunction
) _wrap_Menu_PrependSeparator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46335 { (char *)"Menu_PrependCheckItem", (PyCFunction
) _wrap_Menu_PrependCheckItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46336 { (char *)"Menu_PrependRadioItem", (PyCFunction
) _wrap_Menu_PrependRadioItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46337 { (char *)"Menu_PrependMenu", (PyCFunction
) _wrap_Menu_PrependMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46338 { (char *)"Menu_Remove", (PyCFunction
) _wrap_Menu_Remove
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46339 { (char *)"Menu_RemoveItem", (PyCFunction
) _wrap_Menu_RemoveItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46340 { (char *)"Menu_Delete", (PyCFunction
) _wrap_Menu_Delete
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46341 { (char *)"Menu_DeleteItem", (PyCFunction
) _wrap_Menu_DeleteItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46342 { (char *)"Menu_Destroy", (PyCFunction
) _wrap_Menu_Destroy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46343 { (char *)"Menu_DestroyId", (PyCFunction
) _wrap_Menu_DestroyId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46344 { (char *)"Menu_DestroyItem", (PyCFunction
) _wrap_Menu_DestroyItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46345 { (char *)"Menu_GetMenuItemCount", (PyCFunction
) _wrap_Menu_GetMenuItemCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46346 { (char *)"Menu_GetMenuItems", (PyCFunction
) _wrap_Menu_GetMenuItems
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46347 { (char *)"Menu_FindItem", (PyCFunction
) _wrap_Menu_FindItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46348 { (char *)"Menu_FindItemById", (PyCFunction
) _wrap_Menu_FindItemById
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46349 { (char *)"Menu_FindItemByPosition", (PyCFunction
) _wrap_Menu_FindItemByPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46350 { (char *)"Menu_Enable", (PyCFunction
) _wrap_Menu_Enable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46351 { (char *)"Menu_IsEnabled", (PyCFunction
) _wrap_Menu_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46352 { (char *)"Menu_Check", (PyCFunction
) _wrap_Menu_Check
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46353 { (char *)"Menu_IsChecked", (PyCFunction
) _wrap_Menu_IsChecked
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46354 { (char *)"Menu_SetLabel", (PyCFunction
) _wrap_Menu_SetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46355 { (char *)"Menu_GetLabel", (PyCFunction
) _wrap_Menu_GetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46356 { (char *)"Menu_SetHelpString", (PyCFunction
) _wrap_Menu_SetHelpString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46357 { (char *)"Menu_GetHelpString", (PyCFunction
) _wrap_Menu_GetHelpString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46358 { (char *)"Menu_SetTitle", (PyCFunction
) _wrap_Menu_SetTitle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46359 { (char *)"Menu_GetTitle", (PyCFunction
) _wrap_Menu_GetTitle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46360 { (char *)"Menu_SetEventHandler", (PyCFunction
) _wrap_Menu_SetEventHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46361 { (char *)"Menu_GetEventHandler", (PyCFunction
) _wrap_Menu_GetEventHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46362 { (char *)"Menu_SetInvokingWindow", (PyCFunction
) _wrap_Menu_SetInvokingWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46363 { (char *)"Menu_GetInvokingWindow", (PyCFunction
) _wrap_Menu_GetInvokingWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46364 { (char *)"Menu_GetStyle", (PyCFunction
) _wrap_Menu_GetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46365 { (char *)"Menu_UpdateUI", (PyCFunction
) _wrap_Menu_UpdateUI
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46366 { (char *)"Menu_GetMenuBar", (PyCFunction
) _wrap_Menu_GetMenuBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46367 { (char *)"Menu_Attach", (PyCFunction
) _wrap_Menu_Attach
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46368 { (char *)"Menu_Detach", (PyCFunction
) _wrap_Menu_Detach
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46369 { (char *)"Menu_IsAttached", (PyCFunction
) _wrap_Menu_IsAttached
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46370 { (char *)"Menu_SetParent", (PyCFunction
) _wrap_Menu_SetParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46371 { (char *)"Menu_GetParent", (PyCFunction
) _wrap_Menu_GetParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46372 { (char *)"Menu_swigregister", Menu_swigregister
, METH_VARARGS
, NULL
},
46373 { (char *)"new_MenuBar", (PyCFunction
) _wrap_new_MenuBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46374 { (char *)"MenuBar_Append", (PyCFunction
) _wrap_MenuBar_Append
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46375 { (char *)"MenuBar_Insert", (PyCFunction
) _wrap_MenuBar_Insert
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46376 { (char *)"MenuBar_GetMenuCount", (PyCFunction
) _wrap_MenuBar_GetMenuCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46377 { (char *)"MenuBar_GetMenu", (PyCFunction
) _wrap_MenuBar_GetMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46378 { (char *)"MenuBar_Replace", (PyCFunction
) _wrap_MenuBar_Replace
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46379 { (char *)"MenuBar_Remove", (PyCFunction
) _wrap_MenuBar_Remove
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46380 { (char *)"MenuBar_EnableTop", (PyCFunction
) _wrap_MenuBar_EnableTop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46381 { (char *)"MenuBar_IsEnabledTop", (PyCFunction
) _wrap_MenuBar_IsEnabledTop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46382 { (char *)"MenuBar_SetLabelTop", (PyCFunction
) _wrap_MenuBar_SetLabelTop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46383 { (char *)"MenuBar_GetLabelTop", (PyCFunction
) _wrap_MenuBar_GetLabelTop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46384 { (char *)"MenuBar_FindMenuItem", (PyCFunction
) _wrap_MenuBar_FindMenuItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46385 { (char *)"MenuBar_FindItemById", (PyCFunction
) _wrap_MenuBar_FindItemById
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46386 { (char *)"MenuBar_FindMenu", (PyCFunction
) _wrap_MenuBar_FindMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46387 { (char *)"MenuBar_Enable", (PyCFunction
) _wrap_MenuBar_Enable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46388 { (char *)"MenuBar_Check", (PyCFunction
) _wrap_MenuBar_Check
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46389 { (char *)"MenuBar_IsChecked", (PyCFunction
) _wrap_MenuBar_IsChecked
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46390 { (char *)"MenuBar_IsEnabled", (PyCFunction
) _wrap_MenuBar_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46391 { (char *)"MenuBar_SetLabel", (PyCFunction
) _wrap_MenuBar_SetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46392 { (char *)"MenuBar_GetLabel", (PyCFunction
) _wrap_MenuBar_GetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46393 { (char *)"MenuBar_SetHelpString", (PyCFunction
) _wrap_MenuBar_SetHelpString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46394 { (char *)"MenuBar_GetHelpString", (PyCFunction
) _wrap_MenuBar_GetHelpString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46395 { (char *)"MenuBar_GetFrame", (PyCFunction
) _wrap_MenuBar_GetFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46396 { (char *)"MenuBar_IsAttached", (PyCFunction
) _wrap_MenuBar_IsAttached
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46397 { (char *)"MenuBar_Attach", (PyCFunction
) _wrap_MenuBar_Attach
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46398 { (char *)"MenuBar_Detach", (PyCFunction
) _wrap_MenuBar_Detach
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46399 { (char *)"MenuBar_swigregister", MenuBar_swigregister
, METH_VARARGS
, NULL
},
46400 { (char *)"new_MenuItem", (PyCFunction
) _wrap_new_MenuItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46401 { (char *)"MenuItem_GetMenu", (PyCFunction
) _wrap_MenuItem_GetMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46402 { (char *)"MenuItem_SetMenu", (PyCFunction
) _wrap_MenuItem_SetMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46403 { (char *)"MenuItem_SetId", (PyCFunction
) _wrap_MenuItem_SetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46404 { (char *)"MenuItem_GetId", (PyCFunction
) _wrap_MenuItem_GetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46405 { (char *)"MenuItem_IsSeparator", (PyCFunction
) _wrap_MenuItem_IsSeparator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46406 { (char *)"MenuItem_SetText", (PyCFunction
) _wrap_MenuItem_SetText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46407 { (char *)"MenuItem_GetLabel", (PyCFunction
) _wrap_MenuItem_GetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46408 { (char *)"MenuItem_GetText", (PyCFunction
) _wrap_MenuItem_GetText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46409 { (char *)"MenuItem_GetLabelFromText", (PyCFunction
) _wrap_MenuItem_GetLabelFromText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46410 { (char *)"MenuItem_GetKind", (PyCFunction
) _wrap_MenuItem_GetKind
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46411 { (char *)"MenuItem_SetKind", (PyCFunction
) _wrap_MenuItem_SetKind
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46412 { (char *)"MenuItem_SetCheckable", (PyCFunction
) _wrap_MenuItem_SetCheckable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46413 { (char *)"MenuItem_IsCheckable", (PyCFunction
) _wrap_MenuItem_IsCheckable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46414 { (char *)"MenuItem_IsSubMenu", (PyCFunction
) _wrap_MenuItem_IsSubMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46415 { (char *)"MenuItem_SetSubMenu", (PyCFunction
) _wrap_MenuItem_SetSubMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46416 { (char *)"MenuItem_GetSubMenu", (PyCFunction
) _wrap_MenuItem_GetSubMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46417 { (char *)"MenuItem_Enable", (PyCFunction
) _wrap_MenuItem_Enable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46418 { (char *)"MenuItem_IsEnabled", (PyCFunction
) _wrap_MenuItem_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46419 { (char *)"MenuItem_Check", (PyCFunction
) _wrap_MenuItem_Check
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46420 { (char *)"MenuItem_IsChecked", (PyCFunction
) _wrap_MenuItem_IsChecked
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46421 { (char *)"MenuItem_Toggle", (PyCFunction
) _wrap_MenuItem_Toggle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46422 { (char *)"MenuItem_SetHelp", (PyCFunction
) _wrap_MenuItem_SetHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46423 { (char *)"MenuItem_GetHelp", (PyCFunction
) _wrap_MenuItem_GetHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46424 { (char *)"MenuItem_GetAccel", (PyCFunction
) _wrap_MenuItem_GetAccel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46425 { (char *)"MenuItem_SetAccel", (PyCFunction
) _wrap_MenuItem_SetAccel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46426 { (char *)"MenuItem_SetFont", (PyCFunction
) _wrap_MenuItem_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46427 { (char *)"MenuItem_GetFont", (PyCFunction
) _wrap_MenuItem_GetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46428 { (char *)"MenuItem_SetTextColour", (PyCFunction
) _wrap_MenuItem_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46429 { (char *)"MenuItem_GetTextColour", (PyCFunction
) _wrap_MenuItem_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46430 { (char *)"MenuItem_SetBackgroundColour", (PyCFunction
) _wrap_MenuItem_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46431 { (char *)"MenuItem_GetBackgroundColour", (PyCFunction
) _wrap_MenuItem_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46432 { (char *)"MenuItem_SetBitmaps", (PyCFunction
) _wrap_MenuItem_SetBitmaps
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46433 { (char *)"MenuItem_SetDisabledBitmap", (PyCFunction
) _wrap_MenuItem_SetDisabledBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46434 { (char *)"MenuItem_GetDisabledBitmap", (PyCFunction
) _wrap_MenuItem_GetDisabledBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46435 { (char *)"MenuItem_SetMarginWidth", (PyCFunction
) _wrap_MenuItem_SetMarginWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46436 { (char *)"MenuItem_GetMarginWidth", (PyCFunction
) _wrap_MenuItem_GetMarginWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46437 { (char *)"MenuItem_GetDefaultMarginWidth", (PyCFunction
) _wrap_MenuItem_GetDefaultMarginWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46438 { (char *)"MenuItem_IsOwnerDrawn", (PyCFunction
) _wrap_MenuItem_IsOwnerDrawn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46439 { (char *)"MenuItem_SetOwnerDrawn", (PyCFunction
) _wrap_MenuItem_SetOwnerDrawn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46440 { (char *)"MenuItem_ResetOwnerDrawn", (PyCFunction
) _wrap_MenuItem_ResetOwnerDrawn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46441 { (char *)"MenuItem_SetBitmap", (PyCFunction
) _wrap_MenuItem_SetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46442 { (char *)"MenuItem_GetBitmap", (PyCFunction
) _wrap_MenuItem_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46443 { (char *)"MenuItem_swigregister", MenuItem_swigregister
, METH_VARARGS
, NULL
},
46444 { (char *)"new_Control", (PyCFunction
) _wrap_new_Control
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46445 { (char *)"new_PreControl", (PyCFunction
) _wrap_new_PreControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46446 { (char *)"Control_Create", (PyCFunction
) _wrap_Control_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46447 { (char *)"Control_Command", (PyCFunction
) _wrap_Control_Command
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46448 { (char *)"Control_GetLabel", (PyCFunction
) _wrap_Control_GetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46449 { (char *)"Control_SetLabel", (PyCFunction
) _wrap_Control_SetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46450 { (char *)"Control_GetClassDefaultAttributes", (PyCFunction
) _wrap_Control_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46451 { (char *)"Control_swigregister", Control_swigregister
, METH_VARARGS
, NULL
},
46452 { (char *)"ItemContainer_Append", (PyCFunction
) _wrap_ItemContainer_Append
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46453 { (char *)"ItemContainer_AppendItems", (PyCFunction
) _wrap_ItemContainer_AppendItems
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46454 { (char *)"ItemContainer_Insert", (PyCFunction
) _wrap_ItemContainer_Insert
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46455 { (char *)"ItemContainer_Clear", (PyCFunction
) _wrap_ItemContainer_Clear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46456 { (char *)"ItemContainer_Delete", (PyCFunction
) _wrap_ItemContainer_Delete
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46457 { (char *)"ItemContainer_GetClientData", (PyCFunction
) _wrap_ItemContainer_GetClientData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46458 { (char *)"ItemContainer_SetClientData", (PyCFunction
) _wrap_ItemContainer_SetClientData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46459 { (char *)"ItemContainer_GetCount", (PyCFunction
) _wrap_ItemContainer_GetCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46460 { (char *)"ItemContainer_IsEmpty", (PyCFunction
) _wrap_ItemContainer_IsEmpty
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46461 { (char *)"ItemContainer_GetString", (PyCFunction
) _wrap_ItemContainer_GetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46462 { (char *)"ItemContainer_GetStrings", (PyCFunction
) _wrap_ItemContainer_GetStrings
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46463 { (char *)"ItemContainer_SetString", (PyCFunction
) _wrap_ItemContainer_SetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46464 { (char *)"ItemContainer_FindString", (PyCFunction
) _wrap_ItemContainer_FindString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46465 { (char *)"ItemContainer_SetSelection", (PyCFunction
) _wrap_ItemContainer_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46466 { (char *)"ItemContainer_GetSelection", (PyCFunction
) _wrap_ItemContainer_GetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46467 { (char *)"ItemContainer_SetStringSelection", (PyCFunction
) _wrap_ItemContainer_SetStringSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46468 { (char *)"ItemContainer_GetStringSelection", (PyCFunction
) _wrap_ItemContainer_GetStringSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46469 { (char *)"ItemContainer_Select", (PyCFunction
) _wrap_ItemContainer_Select
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46470 { (char *)"ItemContainer_swigregister", ItemContainer_swigregister
, METH_VARARGS
, NULL
},
46471 { (char *)"ControlWithItems_swigregister", ControlWithItems_swigregister
, METH_VARARGS
, NULL
},
46472 { (char *)"new_SizerItem", (PyCFunction
) _wrap_new_SizerItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46473 { (char *)"new_SizerItemWindow", (PyCFunction
) _wrap_new_SizerItemWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46474 { (char *)"new_SizerItemSpacer", (PyCFunction
) _wrap_new_SizerItemSpacer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46475 { (char *)"new_SizerItemSizer", (PyCFunction
) _wrap_new_SizerItemSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46476 { (char *)"SizerItem_DeleteWindows", (PyCFunction
) _wrap_SizerItem_DeleteWindows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46477 { (char *)"SizerItem_DetachSizer", (PyCFunction
) _wrap_SizerItem_DetachSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46478 { (char *)"SizerItem_GetSize", (PyCFunction
) _wrap_SizerItem_GetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46479 { (char *)"SizerItem_CalcMin", (PyCFunction
) _wrap_SizerItem_CalcMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46480 { (char *)"SizerItem_SetDimension", (PyCFunction
) _wrap_SizerItem_SetDimension
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46481 { (char *)"SizerItem_GetMinSize", (PyCFunction
) _wrap_SizerItem_GetMinSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46482 { (char *)"SizerItem_GetMinSizeWithBorder", (PyCFunction
) _wrap_SizerItem_GetMinSizeWithBorder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46483 { (char *)"SizerItem_SetInitSize", (PyCFunction
) _wrap_SizerItem_SetInitSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46484 { (char *)"SizerItem_SetRatioWH", (PyCFunction
) _wrap_SizerItem_SetRatioWH
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46485 { (char *)"SizerItem_SetRatioSize", (PyCFunction
) _wrap_SizerItem_SetRatioSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46486 { (char *)"SizerItem_SetRatio", (PyCFunction
) _wrap_SizerItem_SetRatio
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46487 { (char *)"SizerItem_GetRatio", (PyCFunction
) _wrap_SizerItem_GetRatio
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46488 { (char *)"SizerItem_GetRect", (PyCFunction
) _wrap_SizerItem_GetRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46489 { (char *)"SizerItem_IsWindow", (PyCFunction
) _wrap_SizerItem_IsWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46490 { (char *)"SizerItem_IsSizer", (PyCFunction
) _wrap_SizerItem_IsSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46491 { (char *)"SizerItem_IsSpacer", (PyCFunction
) _wrap_SizerItem_IsSpacer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46492 { (char *)"SizerItem_SetProportion", (PyCFunction
) _wrap_SizerItem_SetProportion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46493 { (char *)"SizerItem_GetProportion", (PyCFunction
) _wrap_SizerItem_GetProportion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46494 { (char *)"SizerItem_SetFlag", (PyCFunction
) _wrap_SizerItem_SetFlag
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46495 { (char *)"SizerItem_GetFlag", (PyCFunction
) _wrap_SizerItem_GetFlag
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46496 { (char *)"SizerItem_SetBorder", (PyCFunction
) _wrap_SizerItem_SetBorder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46497 { (char *)"SizerItem_GetBorder", (PyCFunction
) _wrap_SizerItem_GetBorder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46498 { (char *)"SizerItem_GetWindow", (PyCFunction
) _wrap_SizerItem_GetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46499 { (char *)"SizerItem_SetWindow", (PyCFunction
) _wrap_SizerItem_SetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46500 { (char *)"SizerItem_GetSizer", (PyCFunction
) _wrap_SizerItem_GetSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46501 { (char *)"SizerItem_SetSizer", (PyCFunction
) _wrap_SizerItem_SetSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46502 { (char *)"SizerItem_GetSpacer", (PyCFunction
) _wrap_SizerItem_GetSpacer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46503 { (char *)"SizerItem_SetSpacer", (PyCFunction
) _wrap_SizerItem_SetSpacer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46504 { (char *)"SizerItem_Show", (PyCFunction
) _wrap_SizerItem_Show
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46505 { (char *)"SizerItem_IsShown", (PyCFunction
) _wrap_SizerItem_IsShown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46506 { (char *)"SizerItem_GetPosition", (PyCFunction
) _wrap_SizerItem_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46507 { (char *)"SizerItem_GetUserData", (PyCFunction
) _wrap_SizerItem_GetUserData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46508 { (char *)"SizerItem_swigregister", SizerItem_swigregister
, METH_VARARGS
, NULL
},
46509 { (char *)"Sizer__setOORInfo", (PyCFunction
) _wrap_Sizer__setOORInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46510 { (char *)"Sizer_Add", (PyCFunction
) _wrap_Sizer_Add
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46511 { (char *)"Sizer_Insert", (PyCFunction
) _wrap_Sizer_Insert
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46512 { (char *)"Sizer_Prepend", (PyCFunction
) _wrap_Sizer_Prepend
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46513 { (char *)"Sizer_Remove", (PyCFunction
) _wrap_Sizer_Remove
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46514 { (char *)"Sizer_Detach", (PyCFunction
) _wrap_Sizer_Detach
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46515 { (char *)"Sizer_GetItem", (PyCFunction
) _wrap_Sizer_GetItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46516 { (char *)"Sizer__SetItemMinSize", (PyCFunction
) _wrap_Sizer__SetItemMinSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46517 { (char *)"Sizer_AddItem", (PyCFunction
) _wrap_Sizer_AddItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46518 { (char *)"Sizer_InsertItem", (PyCFunction
) _wrap_Sizer_InsertItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46519 { (char *)"Sizer_PrependItem", (PyCFunction
) _wrap_Sizer_PrependItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46520 { (char *)"Sizer_SetDimension", (PyCFunction
) _wrap_Sizer_SetDimension
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46521 { (char *)"Sizer_SetMinSize", (PyCFunction
) _wrap_Sizer_SetMinSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46522 { (char *)"Sizer_GetSize", (PyCFunction
) _wrap_Sizer_GetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46523 { (char *)"Sizer_GetPosition", (PyCFunction
) _wrap_Sizer_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46524 { (char *)"Sizer_GetMinSize", (PyCFunction
) _wrap_Sizer_GetMinSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46525 { (char *)"Sizer_RecalcSizes", (PyCFunction
) _wrap_Sizer_RecalcSizes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46526 { (char *)"Sizer_CalcMin", (PyCFunction
) _wrap_Sizer_CalcMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46527 { (char *)"Sizer_Layout", (PyCFunction
) _wrap_Sizer_Layout
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46528 { (char *)"Sizer_Fit", (PyCFunction
) _wrap_Sizer_Fit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46529 { (char *)"Sizer_FitInside", (PyCFunction
) _wrap_Sizer_FitInside
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46530 { (char *)"Sizer_SetSizeHints", (PyCFunction
) _wrap_Sizer_SetSizeHints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46531 { (char *)"Sizer_SetVirtualSizeHints", (PyCFunction
) _wrap_Sizer_SetVirtualSizeHints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46532 { (char *)"Sizer_Clear", (PyCFunction
) _wrap_Sizer_Clear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46533 { (char *)"Sizer_DeleteWindows", (PyCFunction
) _wrap_Sizer_DeleteWindows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46534 { (char *)"Sizer_GetChildren", (PyCFunction
) _wrap_Sizer_GetChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46535 { (char *)"Sizer_Show", (PyCFunction
) _wrap_Sizer_Show
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46536 { (char *)"Sizer_IsShown", (PyCFunction
) _wrap_Sizer_IsShown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46537 { (char *)"Sizer_ShowItems", (PyCFunction
) _wrap_Sizer_ShowItems
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46538 { (char *)"Sizer_swigregister", Sizer_swigregister
, METH_VARARGS
, NULL
},
46539 { (char *)"new_PySizer", (PyCFunction
) _wrap_new_PySizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46540 { (char *)"PySizer__setCallbackInfo", (PyCFunction
) _wrap_PySizer__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46541 { (char *)"PySizer_swigregister", PySizer_swigregister
, METH_VARARGS
, NULL
},
46542 { (char *)"new_BoxSizer", (PyCFunction
) _wrap_new_BoxSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46543 { (char *)"BoxSizer_GetOrientation", (PyCFunction
) _wrap_BoxSizer_GetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46544 { (char *)"BoxSizer_SetOrientation", (PyCFunction
) _wrap_BoxSizer_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46545 { (char *)"BoxSizer_swigregister", BoxSizer_swigregister
, METH_VARARGS
, NULL
},
46546 { (char *)"new_StaticBoxSizer", (PyCFunction
) _wrap_new_StaticBoxSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46547 { (char *)"StaticBoxSizer_GetStaticBox", (PyCFunction
) _wrap_StaticBoxSizer_GetStaticBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46548 { (char *)"StaticBoxSizer_swigregister", StaticBoxSizer_swigregister
, METH_VARARGS
, NULL
},
46549 { (char *)"new_GridSizer", (PyCFunction
) _wrap_new_GridSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46550 { (char *)"GridSizer_SetCols", (PyCFunction
) _wrap_GridSizer_SetCols
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46551 { (char *)"GridSizer_SetRows", (PyCFunction
) _wrap_GridSizer_SetRows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46552 { (char *)"GridSizer_SetVGap", (PyCFunction
) _wrap_GridSizer_SetVGap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46553 { (char *)"GridSizer_SetHGap", (PyCFunction
) _wrap_GridSizer_SetHGap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46554 { (char *)"GridSizer_GetCols", (PyCFunction
) _wrap_GridSizer_GetCols
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46555 { (char *)"GridSizer_GetRows", (PyCFunction
) _wrap_GridSizer_GetRows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46556 { (char *)"GridSizer_GetVGap", (PyCFunction
) _wrap_GridSizer_GetVGap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46557 { (char *)"GridSizer_GetHGap", (PyCFunction
) _wrap_GridSizer_GetHGap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46558 { (char *)"GridSizer_swigregister", GridSizer_swigregister
, METH_VARARGS
, NULL
},
46559 { (char *)"new_FlexGridSizer", (PyCFunction
) _wrap_new_FlexGridSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46560 { (char *)"FlexGridSizer_AddGrowableRow", (PyCFunction
) _wrap_FlexGridSizer_AddGrowableRow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46561 { (char *)"FlexGridSizer_RemoveGrowableRow", (PyCFunction
) _wrap_FlexGridSizer_RemoveGrowableRow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46562 { (char *)"FlexGridSizer_AddGrowableCol", (PyCFunction
) _wrap_FlexGridSizer_AddGrowableCol
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46563 { (char *)"FlexGridSizer_RemoveGrowableCol", (PyCFunction
) _wrap_FlexGridSizer_RemoveGrowableCol
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46564 { (char *)"FlexGridSizer_SetFlexibleDirection", (PyCFunction
) _wrap_FlexGridSizer_SetFlexibleDirection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46565 { (char *)"FlexGridSizer_GetFlexibleDirection", (PyCFunction
) _wrap_FlexGridSizer_GetFlexibleDirection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46566 { (char *)"FlexGridSizer_SetNonFlexibleGrowMode", (PyCFunction
) _wrap_FlexGridSizer_SetNonFlexibleGrowMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46567 { (char *)"FlexGridSizer_GetNonFlexibleGrowMode", (PyCFunction
) _wrap_FlexGridSizer_GetNonFlexibleGrowMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46568 { (char *)"FlexGridSizer_GetRowHeights", (PyCFunction
) _wrap_FlexGridSizer_GetRowHeights
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46569 { (char *)"FlexGridSizer_GetColWidths", (PyCFunction
) _wrap_FlexGridSizer_GetColWidths
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46570 { (char *)"FlexGridSizer_swigregister", FlexGridSizer_swigregister
, METH_VARARGS
, NULL
},
46571 { (char *)"new_StdDialogButtonSizer", (PyCFunction
) _wrap_new_StdDialogButtonSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46572 { (char *)"StdDialogButtonSizer_AddButton", (PyCFunction
) _wrap_StdDialogButtonSizer_AddButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46573 { (char *)"StdDialogButtonSizer_Realize", (PyCFunction
) _wrap_StdDialogButtonSizer_Realize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46574 { (char *)"StdDialogButtonSizer_SetAffirmativeButton", (PyCFunction
) _wrap_StdDialogButtonSizer_SetAffirmativeButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46575 { (char *)"StdDialogButtonSizer_SetNegativeButton", (PyCFunction
) _wrap_StdDialogButtonSizer_SetNegativeButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46576 { (char *)"StdDialogButtonSizer_SetCancelButton", (PyCFunction
) _wrap_StdDialogButtonSizer_SetCancelButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46577 { (char *)"StdDialogButtonSizer_GetAffirmativeButton", (PyCFunction
) _wrap_StdDialogButtonSizer_GetAffirmativeButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46578 { (char *)"StdDialogButtonSizer_GetApplyButton", (PyCFunction
) _wrap_StdDialogButtonSizer_GetApplyButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46579 { (char *)"StdDialogButtonSizer_GetNegativeButton", (PyCFunction
) _wrap_StdDialogButtonSizer_GetNegativeButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46580 { (char *)"StdDialogButtonSizer_GetCancelButton", (PyCFunction
) _wrap_StdDialogButtonSizer_GetCancelButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46581 { (char *)"StdDialogButtonSizer_GetHelpButton", (PyCFunction
) _wrap_StdDialogButtonSizer_GetHelpButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46582 { (char *)"StdDialogButtonSizer_swigregister", StdDialogButtonSizer_swigregister
, METH_VARARGS
, NULL
},
46583 { (char *)"new_GBPosition", (PyCFunction
) _wrap_new_GBPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46584 { (char *)"GBPosition_GetRow", (PyCFunction
) _wrap_GBPosition_GetRow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46585 { (char *)"GBPosition_GetCol", (PyCFunction
) _wrap_GBPosition_GetCol
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46586 { (char *)"GBPosition_SetRow", (PyCFunction
) _wrap_GBPosition_SetRow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46587 { (char *)"GBPosition_SetCol", (PyCFunction
) _wrap_GBPosition_SetCol
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46588 { (char *)"GBPosition___eq__", (PyCFunction
) _wrap_GBPosition___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46589 { (char *)"GBPosition___ne__", (PyCFunction
) _wrap_GBPosition___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46590 { (char *)"GBPosition_Set", (PyCFunction
) _wrap_GBPosition_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46591 { (char *)"GBPosition_Get", (PyCFunction
) _wrap_GBPosition_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46592 { (char *)"GBPosition_swigregister", GBPosition_swigregister
, METH_VARARGS
, NULL
},
46593 { (char *)"new_GBSpan", (PyCFunction
) _wrap_new_GBSpan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46594 { (char *)"GBSpan_GetRowspan", (PyCFunction
) _wrap_GBSpan_GetRowspan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46595 { (char *)"GBSpan_GetColspan", (PyCFunction
) _wrap_GBSpan_GetColspan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46596 { (char *)"GBSpan_SetRowspan", (PyCFunction
) _wrap_GBSpan_SetRowspan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46597 { (char *)"GBSpan_SetColspan", (PyCFunction
) _wrap_GBSpan_SetColspan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46598 { (char *)"GBSpan___eq__", (PyCFunction
) _wrap_GBSpan___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46599 { (char *)"GBSpan___ne__", (PyCFunction
) _wrap_GBSpan___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46600 { (char *)"GBSpan_Set", (PyCFunction
) _wrap_GBSpan_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46601 { (char *)"GBSpan_Get", (PyCFunction
) _wrap_GBSpan_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46602 { (char *)"GBSpan_swigregister", GBSpan_swigregister
, METH_VARARGS
, NULL
},
46603 { (char *)"new_GBSizerItem", (PyCFunction
) _wrap_new_GBSizerItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46604 { (char *)"new_GBSizerItemWindow", (PyCFunction
) _wrap_new_GBSizerItemWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46605 { (char *)"new_GBSizerItemSizer", (PyCFunction
) _wrap_new_GBSizerItemSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46606 { (char *)"new_GBSizerItemSpacer", (PyCFunction
) _wrap_new_GBSizerItemSpacer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46607 { (char *)"GBSizerItem_GetPos", (PyCFunction
) _wrap_GBSizerItem_GetPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46608 { (char *)"GBSizerItem_GetSpan", (PyCFunction
) _wrap_GBSizerItem_GetSpan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46609 { (char *)"GBSizerItem_SetPos", (PyCFunction
) _wrap_GBSizerItem_SetPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46610 { (char *)"GBSizerItem_SetSpan", (PyCFunction
) _wrap_GBSizerItem_SetSpan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46611 { (char *)"GBSizerItem_Intersects", (PyCFunction
) _wrap_GBSizerItem_Intersects
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46612 { (char *)"GBSizerItem_IntersectsPos", (PyCFunction
) _wrap_GBSizerItem_IntersectsPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46613 { (char *)"GBSizerItem_GetEndPos", (PyCFunction
) _wrap_GBSizerItem_GetEndPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46614 { (char *)"GBSizerItem_GetGBSizer", (PyCFunction
) _wrap_GBSizerItem_GetGBSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46615 { (char *)"GBSizerItem_SetGBSizer", (PyCFunction
) _wrap_GBSizerItem_SetGBSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46616 { (char *)"GBSizerItem_swigregister", GBSizerItem_swigregister
, METH_VARARGS
, NULL
},
46617 { (char *)"new_GridBagSizer", (PyCFunction
) _wrap_new_GridBagSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46618 { (char *)"GridBagSizer_Add", (PyCFunction
) _wrap_GridBagSizer_Add
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46619 { (char *)"GridBagSizer_AddItem", (PyCFunction
) _wrap_GridBagSizer_AddItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46620 { (char *)"GridBagSizer_GetCellSize", (PyCFunction
) _wrap_GridBagSizer_GetCellSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46621 { (char *)"GridBagSizer_GetEmptyCellSize", (PyCFunction
) _wrap_GridBagSizer_GetEmptyCellSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46622 { (char *)"GridBagSizer_SetEmptyCellSize", (PyCFunction
) _wrap_GridBagSizer_SetEmptyCellSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46623 { (char *)"GridBagSizer_GetItemPosition", _wrap_GridBagSizer_GetItemPosition
, METH_VARARGS
, NULL
},
46624 { (char *)"GridBagSizer_SetItemPosition", _wrap_GridBagSizer_SetItemPosition
, METH_VARARGS
, NULL
},
46625 { (char *)"GridBagSizer_GetItemSpan", _wrap_GridBagSizer_GetItemSpan
, METH_VARARGS
, NULL
},
46626 { (char *)"GridBagSizer_SetItemSpan", _wrap_GridBagSizer_SetItemSpan
, METH_VARARGS
, NULL
},
46627 { (char *)"GridBagSizer_FindItem", _wrap_GridBagSizer_FindItem
, METH_VARARGS
, NULL
},
46628 { (char *)"GridBagSizer_FindItemAtPosition", (PyCFunction
) _wrap_GridBagSizer_FindItemAtPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46629 { (char *)"GridBagSizer_FindItemAtPoint", (PyCFunction
) _wrap_GridBagSizer_FindItemAtPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46630 { (char *)"GridBagSizer_CheckForIntersection", (PyCFunction
) _wrap_GridBagSizer_CheckForIntersection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46631 { (char *)"GridBagSizer_CheckForIntersectionPos", (PyCFunction
) _wrap_GridBagSizer_CheckForIntersectionPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46632 { (char *)"GridBagSizer_swigregister", GridBagSizer_swigregister
, METH_VARARGS
, NULL
},
46633 { (char *)"IndividualLayoutConstraint_Set", (PyCFunction
) _wrap_IndividualLayoutConstraint_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46634 { (char *)"IndividualLayoutConstraint_LeftOf", (PyCFunction
) _wrap_IndividualLayoutConstraint_LeftOf
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46635 { (char *)"IndividualLayoutConstraint_RightOf", (PyCFunction
) _wrap_IndividualLayoutConstraint_RightOf
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46636 { (char *)"IndividualLayoutConstraint_Above", (PyCFunction
) _wrap_IndividualLayoutConstraint_Above
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46637 { (char *)"IndividualLayoutConstraint_Below", (PyCFunction
) _wrap_IndividualLayoutConstraint_Below
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46638 { (char *)"IndividualLayoutConstraint_SameAs", (PyCFunction
) _wrap_IndividualLayoutConstraint_SameAs
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46639 { (char *)"IndividualLayoutConstraint_PercentOf", (PyCFunction
) _wrap_IndividualLayoutConstraint_PercentOf
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46640 { (char *)"IndividualLayoutConstraint_Absolute", (PyCFunction
) _wrap_IndividualLayoutConstraint_Absolute
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46641 { (char *)"IndividualLayoutConstraint_Unconstrained", (PyCFunction
) _wrap_IndividualLayoutConstraint_Unconstrained
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46642 { (char *)"IndividualLayoutConstraint_AsIs", (PyCFunction
) _wrap_IndividualLayoutConstraint_AsIs
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46643 { (char *)"IndividualLayoutConstraint_GetOtherWindow", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetOtherWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46644 { (char *)"IndividualLayoutConstraint_GetMyEdge", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetMyEdge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46645 { (char *)"IndividualLayoutConstraint_SetEdge", (PyCFunction
) _wrap_IndividualLayoutConstraint_SetEdge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46646 { (char *)"IndividualLayoutConstraint_SetValue", (PyCFunction
) _wrap_IndividualLayoutConstraint_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46647 { (char *)"IndividualLayoutConstraint_GetMargin", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetMargin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46648 { (char *)"IndividualLayoutConstraint_SetMargin", (PyCFunction
) _wrap_IndividualLayoutConstraint_SetMargin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46649 { (char *)"IndividualLayoutConstraint_GetValue", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46650 { (char *)"IndividualLayoutConstraint_GetPercent", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetPercent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46651 { (char *)"IndividualLayoutConstraint_GetOtherEdge", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetOtherEdge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46652 { (char *)"IndividualLayoutConstraint_GetDone", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetDone
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46653 { (char *)"IndividualLayoutConstraint_SetDone", (PyCFunction
) _wrap_IndividualLayoutConstraint_SetDone
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46654 { (char *)"IndividualLayoutConstraint_GetRelationship", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetRelationship
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46655 { (char *)"IndividualLayoutConstraint_SetRelationship", (PyCFunction
) _wrap_IndividualLayoutConstraint_SetRelationship
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46656 { (char *)"IndividualLayoutConstraint_ResetIfWin", (PyCFunction
) _wrap_IndividualLayoutConstraint_ResetIfWin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46657 { (char *)"IndividualLayoutConstraint_SatisfyConstraint", (PyCFunction
) _wrap_IndividualLayoutConstraint_SatisfyConstraint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46658 { (char *)"IndividualLayoutConstraint_GetEdge", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetEdge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46659 { (char *)"IndividualLayoutConstraint_swigregister", IndividualLayoutConstraint_swigregister
, METH_VARARGS
, NULL
},
46660 { (char *)"LayoutConstraints_left_get", (PyCFunction
) _wrap_LayoutConstraints_left_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46661 { (char *)"LayoutConstraints_top_get", (PyCFunction
) _wrap_LayoutConstraints_top_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46662 { (char *)"LayoutConstraints_right_get", (PyCFunction
) _wrap_LayoutConstraints_right_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46663 { (char *)"LayoutConstraints_bottom_get", (PyCFunction
) _wrap_LayoutConstraints_bottom_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46664 { (char *)"LayoutConstraints_width_get", (PyCFunction
) _wrap_LayoutConstraints_width_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46665 { (char *)"LayoutConstraints_height_get", (PyCFunction
) _wrap_LayoutConstraints_height_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46666 { (char *)"LayoutConstraints_centreX_get", (PyCFunction
) _wrap_LayoutConstraints_centreX_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46667 { (char *)"LayoutConstraints_centreY_get", (PyCFunction
) _wrap_LayoutConstraints_centreY_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46668 { (char *)"new_LayoutConstraints", (PyCFunction
) _wrap_new_LayoutConstraints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46669 { (char *)"LayoutConstraints_SatisfyConstraints", (PyCFunction
) _wrap_LayoutConstraints_SatisfyConstraints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46670 { (char *)"LayoutConstraints_AreSatisfied", (PyCFunction
) _wrap_LayoutConstraints_AreSatisfied
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46671 { (char *)"LayoutConstraints_swigregister", LayoutConstraints_swigregister
, METH_VARARGS
, NULL
},
46672 { NULL
, NULL
, 0, NULL
}
46676 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
46678 static void *_p_wxGBSizerItemTo_p_wxSizerItem(void *x
) {
46679 return (void *)((wxSizerItem
*) ((wxGBSizerItem
*) x
));
46681 static void *_p_wxBoxSizerTo_p_wxSizer(void *x
) {
46682 return (void *)((wxSizer
*) ((wxBoxSizer
*) x
));
46684 static void *_p_wxStaticBoxSizerTo_p_wxSizer(void *x
) {
46685 return (void *)((wxSizer
*) (wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
46687 static void *_p_wxStdDialogButtonSizerTo_p_wxSizer(void *x
) {
46688 return (void *)((wxSizer
*) (wxBoxSizer
*) ((wxStdDialogButtonSizer
*) x
));
46690 static void *_p_wxGridBagSizerTo_p_wxSizer(void *x
) {
46691 return (void *)((wxSizer
*) (wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
46693 static void *_p_wxGridSizerTo_p_wxSizer(void *x
) {
46694 return (void *)((wxSizer
*) ((wxGridSizer
*) x
));
46696 static void *_p_wxFlexGridSizerTo_p_wxSizer(void *x
) {
46697 return (void *)((wxSizer
*) (wxGridSizer
*) ((wxFlexGridSizer
*) x
));
46699 static void *_p_wxPySizerTo_p_wxSizer(void *x
) {
46700 return (void *)((wxSizer
*) ((wxPySizer
*) x
));
46702 static void *_p_wxStaticBoxSizerTo_p_wxBoxSizer(void *x
) {
46703 return (void *)((wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
46705 static void *_p_wxStdDialogButtonSizerTo_p_wxBoxSizer(void *x
) {
46706 return (void *)((wxBoxSizer
*) ((wxStdDialogButtonSizer
*) x
));
46708 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x
) {
46709 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
46711 static void *_p_wxMenuEventTo_p_wxEvent(void *x
) {
46712 return (void *)((wxEvent
*) ((wxMenuEvent
*) x
));
46714 static void *_p_wxCloseEventTo_p_wxEvent(void *x
) {
46715 return (void *)((wxEvent
*) ((wxCloseEvent
*) x
));
46717 static void *_p_wxMouseEventTo_p_wxEvent(void *x
) {
46718 return (void *)((wxEvent
*) ((wxMouseEvent
*) x
));
46720 static void *_p_wxEraseEventTo_p_wxEvent(void *x
) {
46721 return (void *)((wxEvent
*) ((wxEraseEvent
*) x
));
46723 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x
) {
46724 return (void *)((wxEvent
*) ((wxSetCursorEvent
*) x
));
46726 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x
) {
46727 return (void *)((wxEvent
*) ((wxInitDialogEvent
*) x
));
46729 static void *_p_wxScrollEventTo_p_wxEvent(void *x
) {
46730 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxScrollEvent
*) x
));
46732 static void *_p_wxPyEventTo_p_wxEvent(void *x
) {
46733 return (void *)((wxEvent
*) ((wxPyEvent
*) x
));
46735 static void *_p_wxNotifyEventTo_p_wxEvent(void *x
) {
46736 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxNotifyEvent
*) x
));
46738 static void *_p_wxIdleEventTo_p_wxEvent(void *x
) {
46739 return (void *)((wxEvent
*) ((wxIdleEvent
*) x
));
46741 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x
) {
46742 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
46744 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x
) {
46745 return (void *)((wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
46747 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x
) {
46748 return (void *)((wxEvent
*) ((wxMaximizeEvent
*) x
));
46750 static void *_p_wxIconizeEventTo_p_wxEvent(void *x
) {
46751 return (void *)((wxEvent
*) ((wxIconizeEvent
*) x
));
46753 static void *_p_wxActivateEventTo_p_wxEvent(void *x
) {
46754 return (void *)((wxEvent
*) ((wxActivateEvent
*) x
));
46756 static void *_p_wxSizeEventTo_p_wxEvent(void *x
) {
46757 return (void *)((wxEvent
*) ((wxSizeEvent
*) x
));
46759 static void *_p_wxMoveEventTo_p_wxEvent(void *x
) {
46760 return (void *)((wxEvent
*) ((wxMoveEvent
*) x
));
46762 static void *_p_wxDateEventTo_p_wxEvent(void *x
) {
46763 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxDateEvent
*) x
));
46765 static void *_p_wxPaintEventTo_p_wxEvent(void *x
) {
46766 return (void *)((wxEvent
*) ((wxPaintEvent
*) x
));
46768 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x
) {
46769 return (void *)((wxEvent
*) ((wxNcPaintEvent
*) x
));
46771 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x
) {
46772 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
46774 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x
) {
46775 return (void *)((wxEvent
*) ((wxPaletteChangedEvent
*) x
));
46777 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x
) {
46778 return (void *)((wxEvent
*) ((wxDisplayChangedEvent
*) x
));
46780 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x
) {
46781 return (void *)((wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
46783 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x
) {
46784 return (void *)((wxEvent
*) ((wxSysColourChangedEvent
*) x
));
46786 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x
) {
46787 return (void *)((wxEvent
*) ((wxDropFilesEvent
*) x
));
46789 static void *_p_wxFocusEventTo_p_wxEvent(void *x
) {
46790 return (void *)((wxEvent
*) ((wxFocusEvent
*) x
));
46792 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x
) {
46793 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
46795 static void *_p_wxShowEventTo_p_wxEvent(void *x
) {
46796 return (void *)((wxEvent
*) ((wxShowEvent
*) x
));
46798 static void *_p_wxCommandEventTo_p_wxEvent(void *x
) {
46799 return (void *)((wxEvent
*) ((wxCommandEvent
*) x
));
46801 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x
) {
46802 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
46804 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x
) {
46805 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
46807 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x
) {
46808 return (void *)((wxEvent
*) ((wxNavigationKeyEvent
*) x
));
46810 static void *_p_wxKeyEventTo_p_wxEvent(void *x
) {
46811 return (void *)((wxEvent
*) ((wxKeyEvent
*) x
));
46813 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x
) {
46814 return (void *)((wxEvent
*) ((wxScrollWinEvent
*) x
));
46816 static void *_p_wxGridBagSizerTo_p_wxGridSizer(void *x
) {
46817 return (void *)((wxGridSizer
*) (wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
46819 static void *_p_wxFlexGridSizerTo_p_wxGridSizer(void *x
) {
46820 return (void *)((wxGridSizer
*) ((wxFlexGridSizer
*) x
));
46822 static void *_p_wxGridBagSizerTo_p_wxFlexGridSizer(void *x
) {
46823 return (void *)((wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
46825 static void *_p_wxControlWithItemsTo_p_wxItemContainer(void *x
) {
46826 return (void *)((wxItemContainer
*) ((wxControlWithItems
*) x
));
46828 static void *_p_wxControlWithItemsTo_p_wxControl(void *x
) {
46829 return (void *)((wxControl
*) ((wxControlWithItems
*) x
));
46831 static void *_p_wxControlTo_p_wxEvtHandler(void *x
) {
46832 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxControl
*) x
));
46834 static void *_p_wxWindowTo_p_wxEvtHandler(void *x
) {
46835 return (void *)((wxEvtHandler
*) ((wxWindow
*) x
));
46837 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x
) {
46838 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
46840 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x
) {
46841 return (void *)((wxEvtHandler
*) ((wxPyApp
*) x
));
46843 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x
) {
46844 return (void *)((wxEvtHandler
*) ((wxValidator
*) x
));
46846 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x
) {
46847 return (void *)((wxEvtHandler
*) (wxValidator
*) ((wxPyValidator
*) x
));
46849 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x
) {
46850 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMenuBar
*) x
));
46852 static void *_p_wxMenuTo_p_wxEvtHandler(void *x
) {
46853 return (void *)((wxEvtHandler
*) ((wxMenu
*) x
));
46855 static void *_p_wxANIHandlerTo_p_wxCURHandler(void *x
) {
46856 return (void *)((wxCURHandler
*) ((wxANIHandler
*) x
));
46858 static void *_p_wxCURHandlerTo_p_wxICOHandler(void *x
) {
46859 return (void *)((wxICOHandler
*) ((wxCURHandler
*) x
));
46861 static void *_p_wxANIHandlerTo_p_wxICOHandler(void *x
) {
46862 return (void *)((wxICOHandler
*) (wxCURHandler
*) ((wxANIHandler
*) x
));
46864 static void *_p_wxICOHandlerTo_p_wxBMPHandler(void *x
) {
46865 return (void *)((wxBMPHandler
*) ((wxICOHandler
*) x
));
46867 static void *_p_wxCURHandlerTo_p_wxBMPHandler(void *x
) {
46868 return (void *)((wxBMPHandler
*) (wxICOHandler
*) ((wxCURHandler
*) x
));
46870 static void *_p_wxANIHandlerTo_p_wxBMPHandler(void *x
) {
46871 return (void *)((wxBMPHandler
*) (wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
46873 static void *_p_wxBMPHandlerTo_p_wxImageHandler(void *x
) {
46874 return (void *)((wxImageHandler
*) ((wxBMPHandler
*) x
));
46876 static void *_p_wxICOHandlerTo_p_wxImageHandler(void *x
) {
46877 return (void *)((wxImageHandler
*) (wxBMPHandler
*) ((wxICOHandler
*) x
));
46879 static void *_p_wxCURHandlerTo_p_wxImageHandler(void *x
) {
46880 return (void *)((wxImageHandler
*) (wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
46882 static void *_p_wxANIHandlerTo_p_wxImageHandler(void *x
) {
46883 return (void *)((wxImageHandler
*) (wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
46885 static void *_p_wxPNGHandlerTo_p_wxImageHandler(void *x
) {
46886 return (void *)((wxImageHandler
*) ((wxPNGHandler
*) x
));
46888 static void *_p_wxGIFHandlerTo_p_wxImageHandler(void *x
) {
46889 return (void *)((wxImageHandler
*) ((wxGIFHandler
*) x
));
46891 static void *_p_wxPCXHandlerTo_p_wxImageHandler(void *x
) {
46892 return (void *)((wxImageHandler
*) ((wxPCXHandler
*) x
));
46894 static void *_p_wxJPEGHandlerTo_p_wxImageHandler(void *x
) {
46895 return (void *)((wxImageHandler
*) ((wxJPEGHandler
*) x
));
46897 static void *_p_wxPNMHandlerTo_p_wxImageHandler(void *x
) {
46898 return (void *)((wxImageHandler
*) ((wxPNMHandler
*) x
));
46900 static void *_p_wxXPMHandlerTo_p_wxImageHandler(void *x
) {
46901 return (void *)((wxImageHandler
*) ((wxXPMHandler
*) x
));
46903 static void *_p_wxTIFFHandlerTo_p_wxImageHandler(void *x
) {
46904 return (void *)((wxImageHandler
*) ((wxTIFFHandler
*) x
));
46906 static void *_p_wxPyFileSystemHandlerTo_p_wxFileSystemHandler(void *x
) {
46907 return (void *)((wxFileSystemHandler
*) ((wxPyFileSystemHandler
*) x
));
46909 static void *_p_wxInternetFSHandlerTo_p_wxFileSystemHandler(void *x
) {
46910 return (void *)((wxFileSystemHandler
*) ((wxInternetFSHandler
*) x
));
46912 static void *_p_wxZipFSHandlerTo_p_wxFileSystemHandler(void *x
) {
46913 return (void *)((wxFileSystemHandler
*) ((wxZipFSHandler
*) x
));
46915 static void *_p_wxMemoryFSHandlerTo_p_wxFileSystemHandler(void *x
) {
46916 return (void *)((wxFileSystemHandler
*) ((wxMemoryFSHandler
*) x
));
46918 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
46919 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
46921 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
46922 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
46924 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
46925 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
46927 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
46928 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
46930 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
46931 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
46933 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
46934 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
46936 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
46937 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
46939 static void *_p_wxSizerTo_p_wxObject(void *x
) {
46940 return (void *)((wxObject
*) ((wxSizer
*) x
));
46942 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
46943 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
46945 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
46946 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
46948 static void *_p_wxEventTo_p_wxObject(void *x
) {
46949 return (void *)((wxObject
*) ((wxEvent
*) x
));
46951 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
46952 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
46954 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
46955 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
46957 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
46958 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
46960 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
46961 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
46963 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
46964 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
46966 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
46967 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
46969 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
46970 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
46972 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
46973 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
46975 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
46976 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
46978 static void *_p_wxControlTo_p_wxObject(void *x
) {
46979 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
46981 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
46982 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
46984 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
46985 return (void *)((wxObject
*) ((wxFSFile
*) x
));
46987 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
46988 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
46990 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
46991 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
46993 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
46994 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
46996 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
46997 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
46999 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
47000 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
47002 static void *_p_wxDateEventTo_p_wxObject(void *x
) {
47003 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxDateEvent
*) x
));
47005 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
47006 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
47008 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
47009 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
47011 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
47012 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
47014 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
47015 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
47017 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
47018 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
47020 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
47021 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
47023 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
47024 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
47026 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
47027 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
47029 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
47030 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
47032 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
47033 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
47035 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
47036 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
47038 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
47039 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
47041 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
47042 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
47044 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
47045 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
47047 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
47048 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
47050 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
47051 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
47053 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
47054 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
47056 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
47057 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
47059 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
47060 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
47062 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
47063 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
47065 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
47066 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
47068 static void *_p_wxStdDialogButtonSizerTo_p_wxObject(void *x
) {
47069 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStdDialogButtonSizer
*) x
));
47071 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
47072 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
47074 static void *_p_wxImageTo_p_wxObject(void *x
) {
47075 return (void *)((wxObject
*) ((wxImage
*) x
));
47077 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
47078 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
47080 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
47081 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
47083 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
47084 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
47086 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
47087 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
47089 static void *_p_wxWindowTo_p_wxObject(void *x
) {
47090 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
47092 static void *_p_wxMenuTo_p_wxObject(void *x
) {
47093 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
47095 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
47096 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
47098 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
47099 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
47101 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
47102 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
47104 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
47105 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
47107 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
47108 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
47110 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
47111 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
47113 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
47114 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
47116 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
47117 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
47119 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
47120 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
47122 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
47123 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
47125 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
47126 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
47128 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
47129 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
47131 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
47132 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
47134 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
47135 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
47137 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
47138 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
47140 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
47141 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
47143 static void *_p_wxControlTo_p_wxWindow(void *x
) {
47144 return (void *)((wxWindow
*) ((wxControl
*) x
));
47146 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
47147 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
47149 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
47150 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
47152 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x
) {
47153 return (void *)((wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
47155 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x
) {
47156 return (void *)((wxCommandEvent
*) ((wxScrollEvent
*) x
));
47158 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x
) {
47159 return (void *)((wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
47161 static void *_p_wxDateEventTo_p_wxCommandEvent(void *x
) {
47162 return (void *)((wxCommandEvent
*) ((wxDateEvent
*) x
));
47164 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x
) {
47165 return (void *)((wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
47167 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x
) {
47168 return (void *)((wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
47170 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x
) {
47171 return (void *)((wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
47173 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x
) {
47174 return (void *)((wxCommandEvent
*) ((wxNotifyEvent
*) x
));
47176 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x
) {
47177 return (void *)((wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
47179 static void *_p_wxPyValidatorTo_p_wxValidator(void *x
) {
47180 return (void *)((wxValidator
*) ((wxPyValidator
*) x
));
47182 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}};
47183 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}};
47184 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}};
47185 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}};
47186 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}};
47187 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}};
47188 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}};
47189 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}};
47190 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}};
47191 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}};
47192 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}};
47193 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}};
47194 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}};
47195 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}};
47196 static swig_type_info _swigt__p_buffer
[] = {{"_p_buffer", 0, "buffer *", 0, 0, 0, 0},{"_p_buffer", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
47197 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}};
47198 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}};
47199 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}};
47200 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}};
47201 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}};
47202 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}};
47203 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}};
47204 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}};
47205 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}};
47206 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}};
47207 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}};
47208 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}};
47209 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}};
47210 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}};
47211 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}};
47212 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}};
47213 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}};
47214 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}};
47215 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}};
47216 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}};
47217 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}};
47218 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}};
47219 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}};
47220 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}};
47221 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}};
47222 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}};
47223 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}};
47224 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}};
47225 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}};
47226 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}};
47227 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}};
47228 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}};
47229 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}};
47230 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}};
47231 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}};
47232 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}};
47233 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}};
47234 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}};
47235 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}};
47236 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}};
47237 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}};
47238 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}};
47239 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}};
47240 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}};
47241 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}};
47242 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}};
47243 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}};
47244 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}};
47245 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}};
47246 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}};
47247 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}};
47248 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}};
47249 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}};
47250 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}};
47251 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}};
47252 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}};
47253 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}};
47254 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}};
47255 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}};
47256 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}};
47257 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}};
47258 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}};
47259 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}};
47260 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}};
47261 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}};
47262 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}};
47263 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}};
47264 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}};
47265 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}};
47266 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}};
47267 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}};
47268 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}};
47269 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}};
47270 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}};
47271 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}};
47272 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}};
47273 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}};
47274 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}};
47275 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}};
47276 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}};
47277 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}};
47278 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}};
47279 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}};
47280 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}};
47281 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}};
47282 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}};
47283 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}};
47284 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}};
47285 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}};
47286 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}};
47287 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}};
47288 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}};
47289 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}};
47290 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}};
47291 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}};
47292 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}};
47293 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}};
47294 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}};
47295 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}};
47296 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}};
47297 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}};
47298 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}};
47299 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}};
47300 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}};
47301 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}};
47302 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}};
47303 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}};
47304 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}};
47305 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}};
47306 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}};
47307 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}};
47308 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}};
47309 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}};
47311 static swig_type_info
*swig_types_initial
[] = {
47312 _swigt__p_wxLayoutConstraints
,
47313 _swigt__p_wxRealPoint
,
47314 _swigt__p_wxSizerItem
,
47315 _swigt__p_wxGBSizerItem
,
47316 _swigt__p_wxScrollEvent
,
47317 _swigt__p_wxEventLoop
,
47318 _swigt__p_wxIndividualLayoutConstraint
,
47320 _swigt__p_wxBoxSizer
,
47321 _swigt__p_wxStaticBoxSizer
,
47322 _swigt__p_wxGridBagSizer
,
47323 _swigt__p_wxAcceleratorEntry
,
47324 _swigt__p_wxUpdateUIEvent
,
47328 _swigt__p_wxGridSizer
,
47329 _swigt__p_wxFlexGridSizer
,
47330 _swigt__p_wxInitDialogEvent
,
47331 _swigt__p_wxItemContainer
,
47332 _swigt__p_wxNcPaintEvent
,
47333 _swigt__p_wxPaintEvent
,
47334 _swigt__p_wxSysColourChangedEvent
,
47335 _swigt__p_wxMouseCaptureChangedEvent
,
47336 _swigt__p_wxDisplayChangedEvent
,
47337 _swigt__p_wxPaletteChangedEvent
,
47338 _swigt__p_wxControl
,
47340 _swigt__p_wxMenuBarBase
,
47341 _swigt__p_wxSetCursorEvent
,
47342 _swigt__p_wxFSFile
,
47345 _swigt__std__ptrdiff_t
,
47346 _swigt__p_wxRegion
,
47347 _swigt__p_wxPoint2D
,
47351 _swigt__p_wxPySizer
,
47352 _swigt__p_wxVisualAttributes
,
47353 _swigt__p_wxNotifyEvent
,
47354 _swigt__p_wxPyEvent
,
47355 _swigt__p_wxPropagationDisabler
,
47356 _swigt__p_form_ops_t
,
47357 _swigt__p_wxAppTraits
,
47358 _swigt__p_wxArrayString
,
47359 _swigt__p_wxShowEvent
,
47360 _swigt__p_wxToolTip
,
47361 _swigt__p_wxMoveEvent
,
47362 _swigt__p_wxSizeEvent
,
47363 _swigt__p_wxActivateEvent
,
47364 _swigt__p_wxIconizeEvent
,
47365 _swigt__p_wxMaximizeEvent
,
47366 _swigt__p_wxQueryNewPaletteEvent
,
47367 _swigt__p_wxWindowCreateEvent
,
47368 _swigt__p_wxIdleEvent
,
47369 _swigt__p_wxDateEvent
,
47370 _swigt__p_wxMenuItem
,
47371 _swigt__p_wxStaticBox
,
47373 _swigt__p_wxDuplexMode
,
47374 _swigt__p_wxTIFFHandler
,
47375 _swigt__p_wxXPMHandler
,
47376 _swigt__p_wxPNMHandler
,
47377 _swigt__p_wxJPEGHandler
,
47378 _swigt__p_wxPCXHandler
,
47379 _swigt__p_wxGIFHandler
,
47380 _swigt__p_wxPNGHandler
,
47381 _swigt__p_wxANIHandler
,
47382 _swigt__p_wxMemoryFSHandler
,
47383 _swigt__p_wxZipFSHandler
,
47384 _swigt__p_wxInternetFSHandler
,
47385 _swigt__p_wxPyFileSystemHandler
,
47386 _swigt__p_wxEvtHandler
,
47387 _swigt__p_wxCURHandler
,
47388 _swigt__p_wxICOHandler
,
47389 _swigt__p_wxBMPHandler
,
47390 _swigt__p_wxImageHandler
,
47391 _swigt__p_wxFileSystemHandler
,
47393 _swigt__p_wxButton
,
47394 _swigt__p_wxGBSpan
,
47395 _swigt__p_wxPropagateOnce
,
47396 _swigt__p_wxAcceleratorTable
,
47397 _swigt__p_wxStdDialogButtonSizer
,
47399 _swigt__p_wxGBPosition
,
47402 _swigt__p_wxScrollWinEvent
,
47403 _swigt__p_wxPaperSize
,
47404 _swigt__p_wxImageHistogram
,
47406 _swigt__p_wxCursor
,
47407 _swigt__p_wxObject
,
47408 _swigt__p_wxInputStream
,
47409 _swigt__p_wxOutputStream
,
47410 _swigt__p_wxPyInputStream
,
47411 _swigt__p_wxDateTime
,
47412 _swigt__p_wxKeyEvent
,
47413 _swigt__p_wxNavigationKeyEvent
,
47414 _swigt__p_wxWindowDestroyEvent
,
47415 _swigt__p_unsigned_long
,
47416 _swigt__p_wxWindow
,
47417 _swigt__p_wxMenuBar
,
47418 _swigt__p_wxFileSystem
,
47419 _swigt__p_wxBitmap
,
47420 _swigt__unsigned_int
,
47421 _swigt__p_unsigned_int
,
47422 _swigt__p_wxMenuEvent
,
47423 _swigt__p_wxContextMenuEvent
,
47424 _swigt__p_unsigned_char
,
47425 _swigt__p_wxEraseEvent
,
47426 _swigt__p_wxMouseEvent
,
47427 _swigt__p_wxCloseEvent
,
47429 _swigt__p_wxCommandEvent
,
47430 _swigt__p_wxPyCommandEvent
,
47431 _swigt__p_wxPyDropTarget
,
47432 _swigt__p_wxQuantize
,
47433 _swigt__p_wxFocusEvent
,
47434 _swigt__p_wxChildFocusEvent
,
47435 _swigt__p_wxDropFilesEvent
,
47436 _swigt__p_wxControlWithItems
,
47437 _swigt__p_wxColour
,
47438 _swigt__p_wxValidator
,
47439 _swigt__p_wxPyValidator
,
47444 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
47446 static swig_const_info swig_const_table
[] = {
47447 {0, 0, 0, 0.0, 0, 0}};
47458 /* Python-specific SWIG API */
47459 #define SWIG_newvarlink() SWIG_Python_newvarlink()
47460 #define SWIG_addvarlink(p, name, get_attr, set_attr) SWIG_Python_addvarlink(p, name, get_attr, set_attr)
47461 #define SWIG_InstallConstants(d, constants) SWIG_Python_InstallConstants(d, constants)
47463 /* -----------------------------------------------------------------------------
47464 * global variable support code.
47465 * ----------------------------------------------------------------------------- */
47467 typedef struct swig_globalvar
{
47468 char *name
; /* Name of global variable */
47469 PyObject
*(*get_attr
)(); /* Return the current value */
47470 int (*set_attr
)(PyObject
*); /* Set the value */
47471 struct swig_globalvar
*next
;
47474 typedef struct swig_varlinkobject
{
47476 swig_globalvar
*vars
;
47477 } swig_varlinkobject
;
47480 swig_varlink_repr(swig_varlinkobject
*v
) {
47482 return PyString_FromString("<Swig global variables>");
47486 swig_varlink_print(swig_varlinkobject
*v
, FILE *fp
, int flags
) {
47487 swig_globalvar
*var
;
47489 fprintf(fp
,"Swig global variables { ");
47490 for (var
= v
->vars
; var
; var
=var
->next
) {
47491 fprintf(fp
,"%s", var
->name
);
47492 if (var
->next
) fprintf(fp
,", ");
47494 fprintf(fp
," }\n");
47499 swig_varlink_getattr(swig_varlinkobject
*v
, char *n
) {
47500 swig_globalvar
*var
= v
->vars
;
47502 if (strcmp(var
->name
,n
) == 0) {
47503 return (*var
->get_attr
)();
47507 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
47512 swig_varlink_setattr(swig_varlinkobject
*v
, char *n
, PyObject
*p
) {
47513 swig_globalvar
*var
= v
->vars
;
47515 if (strcmp(var
->name
,n
) == 0) {
47516 return (*var
->set_attr
)(p
);
47520 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
47524 static PyTypeObject varlinktype
= {
47525 PyObject_HEAD_INIT(0)
47526 0, /* Number of items in variable part (ob_size) */
47527 (char *)"swigvarlink", /* Type name (tp_name) */
47528 sizeof(swig_varlinkobject
), /* Basic size (tp_basicsize) */
47529 0, /* Itemsize (tp_itemsize) */
47530 0, /* Deallocator (tp_dealloc) */
47531 (printfunc
) swig_varlink_print
, /* Print (tp_print) */
47532 (getattrfunc
) swig_varlink_getattr
, /* get attr (tp_getattr) */
47533 (setattrfunc
) swig_varlink_setattr
, /* Set attr (tp_setattr) */
47534 0, /* tp_compare */
47535 (reprfunc
) swig_varlink_repr
, /* tp_repr */
47536 0, /* tp_as_number */
47537 0, /* tp_as_sequence */
47538 0, /* tp_as_mapping */
47542 0, /* tp_getattro */
47543 0, /* tp_setattro */
47544 0, /* tp_as_buffer */
47547 #if PY_VERSION_HEX >= 0x02000000
47548 0, /* tp_traverse */
47551 #if PY_VERSION_HEX >= 0x02010000
47552 0, /* tp_richcompare */
47553 0, /* tp_weaklistoffset */
47555 #if PY_VERSION_HEX >= 0x02020000
47556 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
47558 #if PY_VERSION_HEX >= 0x02030000
47561 #ifdef COUNT_ALLOCS
47562 0,0,0,0 /* tp_alloc -> tp_next */
47566 /* Create a variable linking object for use later */
47568 SWIG_Python_newvarlink(void) {
47569 swig_varlinkobject
*result
= 0;
47570 result
= PyMem_NEW(swig_varlinkobject
,1);
47571 varlinktype
.ob_type
= &PyType_Type
; /* Patch varlinktype into a PyType */
47572 result
->ob_type
= &varlinktype
;
47574 result
->ob_refcnt
= 0;
47575 Py_XINCREF((PyObject
*) result
);
47576 return ((PyObject
*) result
);
47580 SWIG_Python_addvarlink(PyObject
*p
, char *name
, PyObject
*(*get_attr
)(void), int (*set_attr
)(PyObject
*p
)) {
47581 swig_varlinkobject
*v
;
47582 swig_globalvar
*gv
;
47583 v
= (swig_varlinkobject
*) p
;
47584 gv
= (swig_globalvar
*) malloc(sizeof(swig_globalvar
));
47585 gv
->name
= (char *) malloc(strlen(name
)+1);
47586 strcpy(gv
->name
,name
);
47587 gv
->get_attr
= get_attr
;
47588 gv
->set_attr
= set_attr
;
47589 gv
->next
= v
->vars
;
47593 /* -----------------------------------------------------------------------------
47594 * constants/methods manipulation
47595 * ----------------------------------------------------------------------------- */
47597 /* Install Constants */
47599 SWIG_Python_InstallConstants(PyObject
*d
, swig_const_info constants
[]) {
47602 for (i
= 0; constants
[i
].type
; i
++) {
47603 switch(constants
[i
].type
) {
47605 obj
= PyInt_FromLong(constants
[i
].lvalue
);
47607 case SWIG_PY_FLOAT
:
47608 obj
= PyFloat_FromDouble(constants
[i
].dvalue
);
47610 case SWIG_PY_STRING
:
47611 if (constants
[i
].pvalue
) {
47612 obj
= PyString_FromString((char *) constants
[i
].pvalue
);
47614 Py_INCREF(Py_None
);
47618 case SWIG_PY_POINTER
:
47619 obj
= SWIG_NewPointerObj(constants
[i
].pvalue
, *(constants
[i
]).ptype
,0);
47621 case SWIG_PY_BINARY
:
47622 obj
= SWIG_NewPackedObj(constants
[i
].pvalue
, constants
[i
].lvalue
, *(constants
[i
].ptype
));
47629 PyDict_SetItemString(d
,constants
[i
].name
,obj
);
47635 /* -----------------------------------------------------------------------------*/
47636 /* Fix SwigMethods to carry the callback ptrs when needed */
47637 /* -----------------------------------------------------------------------------*/
47640 SWIG_Python_FixMethods(PyMethodDef
*methods
,
47641 swig_const_info
*const_table
,
47642 swig_type_info
**types
,
47643 swig_type_info
**types_initial
) {
47645 for (i
= 0; methods
[i
].ml_name
; ++i
) {
47646 char *c
= methods
[i
].ml_doc
;
47647 if (c
&& (c
= strstr(c
, "swig_ptr: "))) {
47649 swig_const_info
*ci
= 0;
47650 char *name
= c
+ 10;
47651 for (j
= 0; const_table
[j
].type
; j
++) {
47652 if (strncmp(const_table
[j
].name
, name
,
47653 strlen(const_table
[j
].name
)) == 0) {
47654 ci
= &(const_table
[j
]);
47659 size_t shift
= (ci
->ptype
) - types
;
47660 swig_type_info
*ty
= types_initial
[shift
];
47661 size_t ldoc
= (c
- methods
[i
].ml_doc
);
47662 size_t lptr
= strlen(ty
->name
)+2*sizeof(void*)+2;
47663 char *ndoc
= (char*)malloc(ldoc
+ lptr
+ 10);
47665 void *ptr
= (ci
->type
== SWIG_PY_POINTER
) ? ci
->pvalue
: (void *)(ci
->lvalue
);
47666 strncpy(buff
, methods
[i
].ml_doc
, ldoc
);
47668 strncpy(buff
, "swig_ptr: ", 10);
47670 SWIG_PackVoidPtr(buff
, ptr
, ty
->name
, lptr
);
47671 methods
[i
].ml_doc
= ndoc
;
47677 /* -----------------------------------------------------------------------------*
47678 * Initialize type list
47679 * -----------------------------------------------------------------------------*/
47681 #if PY_MAJOR_VERSION < 2
47682 /* PyModule_AddObject function was introduced in Python 2.0. The following function
47683 is copied out of Python/modsupport.c in python version 2.3.4 */
47685 PyModule_AddObject(PyObject
*m
, char *name
, PyObject
*o
)
47688 if (!PyModule_Check(m
)) {
47689 PyErr_SetString(PyExc_TypeError
,
47690 "PyModule_AddObject() needs module as first arg");
47694 PyErr_SetString(PyExc_TypeError
,
47695 "PyModule_AddObject() needs non-NULL value");
47699 dict
= PyModule_GetDict(m
);
47700 if (dict
== NULL
) {
47701 /* Internal error -- modules must have a dict! */
47702 PyErr_Format(PyExc_SystemError
, "module '%s' has no __dict__",
47703 PyModule_GetName(m
));
47706 if (PyDict_SetItemString(dict
, name
, o
))
47713 static swig_type_info
**
47714 SWIG_Python_SetTypeListHandle(swig_type_info
**type_list_handle
) {
47715 static PyMethodDef swig_empty_runtime_method_table
[] = {
47717 NULL
, NULL
, 0, NULL
47721 PyObject
*module = Py_InitModule((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION
,
47722 swig_empty_runtime_method_table
);
47723 PyObject
*pointer
= PyCObject_FromVoidPtr((void *) type_list_handle
, NULL
);
47724 if (pointer
&& module) {
47725 PyModule_AddObject(module, (char*)"type_pointer" SWIG_TYPE_TABLE_NAME
, pointer
);
47727 return type_list_handle
;
47730 static swig_type_info
**
47731 SWIG_Python_LookupTypePointer(swig_type_info
**type_list_handle
) {
47732 swig_type_info
**type_pointer
;
47734 /* first check if module already created */
47735 type_pointer
= SWIG_Python_GetTypeListHandle();
47736 if (type_pointer
) {
47737 return type_pointer
;
47739 /* create a new module and variable */
47740 return SWIG_Python_SetTypeListHandle(type_list_handle
);
47748 /* -----------------------------------------------------------------------------*
47749 * Partial Init method
47750 * -----------------------------------------------------------------------------*/
47752 #ifdef SWIG_LINK_RUNTIME
47756 SWIGEXPORT(void *) SWIG_ReturnGlobalTypeList(void *);
47762 SWIGEXPORT(void) SWIG_init(void) {
47763 static PyObject
*SWIG_globals
= 0;
47764 static int typeinit
= 0;
47767 if (!SWIG_globals
) SWIG_globals
= SWIG_newvarlink();
47769 /* Fix SwigMethods to carry the callback ptrs when needed */
47770 SWIG_Python_FixMethods(SwigMethods
, swig_const_table
, swig_types
, swig_types_initial
);
47772 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
47773 d
= PyModule_GetDict(m
);
47776 #ifdef SWIG_LINK_RUNTIME
47777 swig_type_list_handle
= (swig_type_info
**) SWIG_ReturnGlobalTypeList(swig_type_list_handle
);
47779 # ifndef SWIG_STATIC_RUNTIME
47780 swig_type_list_handle
= SWIG_Python_LookupTypePointer(swig_type_list_handle
);
47783 for (i
= 0; swig_types_initial
[i
]; i
++) {
47784 swig_types
[i
] = SWIG_TypeRegister(swig_types_initial
[i
]);
47788 SWIG_InstallConstants(d
,swig_const_table
);
47791 #ifndef wxPyUSE_EXPORT
47792 // Make our API structure a CObject so other modules can import it
47793 // from this module.
47794 PyObject
* cobj
= PyCObject_FromVoidPtr(&API
, NULL
);
47795 PyDict_SetItemString(d
,"_wxPyCoreAPI", cobj
);
47800 PyDict_SetItemString(d
,"NOT_FOUND", SWIG_From_int((int)(wxNOT_FOUND
)));
47803 PyDict_SetItemString(d
,"VSCROLL", SWIG_From_int((int)(wxVSCROLL
)));
47806 PyDict_SetItemString(d
,"HSCROLL", SWIG_From_int((int)(wxHSCROLL
)));
47809 PyDict_SetItemString(d
,"CAPTION", SWIG_From_int((int)(wxCAPTION
)));
47812 PyDict_SetItemString(d
,"DOUBLE_BORDER", SWIG_From_int((int)(wxDOUBLE_BORDER
)));
47815 PyDict_SetItemString(d
,"SUNKEN_BORDER", SWIG_From_int((int)(wxSUNKEN_BORDER
)));
47818 PyDict_SetItemString(d
,"RAISED_BORDER", SWIG_From_int((int)(wxRAISED_BORDER
)));
47821 PyDict_SetItemString(d
,"BORDER", SWIG_From_int((int)(wxBORDER
)));
47824 PyDict_SetItemString(d
,"SIMPLE_BORDER", SWIG_From_int((int)(wxSIMPLE_BORDER
)));
47827 PyDict_SetItemString(d
,"STATIC_BORDER", SWIG_From_int((int)(wxSTATIC_BORDER
)));
47830 PyDict_SetItemString(d
,"TRANSPARENT_WINDOW", SWIG_From_int((int)(wxTRANSPARENT_WINDOW
)));
47833 PyDict_SetItemString(d
,"NO_BORDER", SWIG_From_int((int)(wxNO_BORDER
)));
47836 PyDict_SetItemString(d
,"DEFAULT_CONTROL_BORDER", SWIG_From_int((int)(wxDEFAULT_CONTROL_BORDER
)));
47839 PyDict_SetItemString(d
,"DEFAULT_STATUSBAR_STYLE", SWIG_From_int((int)(wxDEFAULT_STATUSBAR_STYLE
)));
47842 PyDict_SetItemString(d
,"TAB_TRAVERSAL", SWIG_From_int((int)(wxTAB_TRAVERSAL
)));
47845 PyDict_SetItemString(d
,"WANTS_CHARS", SWIG_From_int((int)(wxWANTS_CHARS
)));
47848 PyDict_SetItemString(d
,"POPUP_WINDOW", SWIG_From_int((int)(wxPOPUP_WINDOW
)));
47851 PyDict_SetItemString(d
,"CENTER_FRAME", SWIG_From_int((int)(wxCENTER_FRAME
)));
47854 PyDict_SetItemString(d
,"CENTRE_ON_SCREEN", SWIG_From_int((int)(wxCENTRE_ON_SCREEN
)));
47857 PyDict_SetItemString(d
,"CENTER_ON_SCREEN", SWIG_From_int((int)(wxCENTER_ON_SCREEN
)));
47860 PyDict_SetItemString(d
,"CLIP_CHILDREN", SWIG_From_int((int)(wxCLIP_CHILDREN
)));
47863 PyDict_SetItemString(d
,"CLIP_SIBLINGS", SWIG_From_int((int)(wxCLIP_SIBLINGS
)));
47866 PyDict_SetItemString(d
,"ALWAYS_SHOW_SB", SWIG_From_int((int)(wxALWAYS_SHOW_SB
)));
47869 PyDict_SetItemString(d
,"RETAINED", SWIG_From_int((int)(wxRETAINED
)));
47872 PyDict_SetItemString(d
,"BACKINGSTORE", SWIG_From_int((int)(wxBACKINGSTORE
)));
47875 PyDict_SetItemString(d
,"COLOURED", SWIG_From_int((int)(wxCOLOURED
)));
47878 PyDict_SetItemString(d
,"FIXED_LENGTH", SWIG_From_int((int)(wxFIXED_LENGTH
)));
47881 PyDict_SetItemString(d
,"LB_NEEDED_SB", SWIG_From_int((int)(wxLB_NEEDED_SB
)));
47884 PyDict_SetItemString(d
,"LB_ALWAYS_SB", SWIG_From_int((int)(wxLB_ALWAYS_SB
)));
47887 PyDict_SetItemString(d
,"LB_SORT", SWIG_From_int((int)(wxLB_SORT
)));
47890 PyDict_SetItemString(d
,"LB_SINGLE", SWIG_From_int((int)(wxLB_SINGLE
)));
47893 PyDict_SetItemString(d
,"LB_MULTIPLE", SWIG_From_int((int)(wxLB_MULTIPLE
)));
47896 PyDict_SetItemString(d
,"LB_EXTENDED", SWIG_From_int((int)(wxLB_EXTENDED
)));
47899 PyDict_SetItemString(d
,"LB_OWNERDRAW", SWIG_From_int((int)(wxLB_OWNERDRAW
)));
47902 PyDict_SetItemString(d
,"LB_HSCROLL", SWIG_From_int((int)(wxLB_HSCROLL
)));
47905 PyDict_SetItemString(d
,"PROCESS_ENTER", SWIG_From_int((int)(wxPROCESS_ENTER
)));
47908 PyDict_SetItemString(d
,"PASSWORD", SWIG_From_int((int)(wxPASSWORD
)));
47911 PyDict_SetItemString(d
,"CB_SIMPLE", SWIG_From_int((int)(wxCB_SIMPLE
)));
47914 PyDict_SetItemString(d
,"CB_DROPDOWN", SWIG_From_int((int)(wxCB_DROPDOWN
)));
47917 PyDict_SetItemString(d
,"CB_SORT", SWIG_From_int((int)(wxCB_SORT
)));
47920 PyDict_SetItemString(d
,"CB_READONLY", SWIG_From_int((int)(wxCB_READONLY
)));
47923 PyDict_SetItemString(d
,"RA_HORIZONTAL", SWIG_From_int((int)(wxRA_HORIZONTAL
)));
47926 PyDict_SetItemString(d
,"RA_VERTICAL", SWIG_From_int((int)(wxRA_VERTICAL
)));
47929 PyDict_SetItemString(d
,"RA_SPECIFY_ROWS", SWIG_From_int((int)(wxRA_SPECIFY_ROWS
)));
47932 PyDict_SetItemString(d
,"RA_SPECIFY_COLS", SWIG_From_int((int)(wxRA_SPECIFY_COLS
)));
47935 PyDict_SetItemString(d
,"RA_USE_CHECKBOX", SWIG_From_int((int)(wxRA_USE_CHECKBOX
)));
47938 PyDict_SetItemString(d
,"RB_GROUP", SWIG_From_int((int)(wxRB_GROUP
)));
47941 PyDict_SetItemString(d
,"RB_SINGLE", SWIG_From_int((int)(wxRB_SINGLE
)));
47944 PyDict_SetItemString(d
,"SB_HORIZONTAL", SWIG_From_int((int)(wxSB_HORIZONTAL
)));
47947 PyDict_SetItemString(d
,"SB_VERTICAL", SWIG_From_int((int)(wxSB_VERTICAL
)));
47950 PyDict_SetItemString(d
,"RB_USE_CHECKBOX", SWIG_From_int((int)(wxRB_USE_CHECKBOX
)));
47953 PyDict_SetItemString(d
,"ST_SIZEGRIP", SWIG_From_int((int)(wxST_SIZEGRIP
)));
47956 PyDict_SetItemString(d
,"ST_NO_AUTORESIZE", SWIG_From_int((int)(wxST_NO_AUTORESIZE
)));
47959 PyDict_SetItemString(d
,"FLOOD_SURFACE", SWIG_From_int((int)(wxFLOOD_SURFACE
)));
47962 PyDict_SetItemString(d
,"FLOOD_BORDER", SWIG_From_int((int)(wxFLOOD_BORDER
)));
47965 PyDict_SetItemString(d
,"ODDEVEN_RULE", SWIG_From_int((int)(wxODDEVEN_RULE
)));
47968 PyDict_SetItemString(d
,"WINDING_RULE", SWIG_From_int((int)(wxWINDING_RULE
)));
47971 PyDict_SetItemString(d
,"TOOL_TOP", SWIG_From_int((int)(wxTOOL_TOP
)));
47974 PyDict_SetItemString(d
,"TOOL_BOTTOM", SWIG_From_int((int)(wxTOOL_BOTTOM
)));
47977 PyDict_SetItemString(d
,"TOOL_LEFT", SWIG_From_int((int)(wxTOOL_LEFT
)));
47980 PyDict_SetItemString(d
,"TOOL_RIGHT", SWIG_From_int((int)(wxTOOL_RIGHT
)));
47983 PyDict_SetItemString(d
,"OK", SWIG_From_int((int)(wxOK
)));
47986 PyDict_SetItemString(d
,"YES_NO", SWIG_From_int((int)(wxYES_NO
)));
47989 PyDict_SetItemString(d
,"CANCEL", SWIG_From_int((int)(wxCANCEL
)));
47992 PyDict_SetItemString(d
,"YES", SWIG_From_int((int)(wxYES
)));
47995 PyDict_SetItemString(d
,"NO", SWIG_From_int((int)(wxNO
)));
47998 PyDict_SetItemString(d
,"NO_DEFAULT", SWIG_From_int((int)(wxNO_DEFAULT
)));
48001 PyDict_SetItemString(d
,"YES_DEFAULT", SWIG_From_int((int)(wxYES_DEFAULT
)));
48004 PyDict_SetItemString(d
,"ICON_EXCLAMATION", SWIG_From_int((int)(wxICON_EXCLAMATION
)));
48007 PyDict_SetItemString(d
,"ICON_HAND", SWIG_From_int((int)(wxICON_HAND
)));
48010 PyDict_SetItemString(d
,"ICON_QUESTION", SWIG_From_int((int)(wxICON_QUESTION
)));
48013 PyDict_SetItemString(d
,"ICON_INFORMATION", SWIG_From_int((int)(wxICON_INFORMATION
)));
48016 PyDict_SetItemString(d
,"ICON_STOP", SWIG_From_int((int)(wxICON_STOP
)));
48019 PyDict_SetItemString(d
,"ICON_ASTERISK", SWIG_From_int((int)(wxICON_ASTERISK
)));
48022 PyDict_SetItemString(d
,"ICON_MASK", SWIG_From_int((int)(wxICON_MASK
)));
48025 PyDict_SetItemString(d
,"ICON_WARNING", SWIG_From_int((int)(wxICON_WARNING
)));
48028 PyDict_SetItemString(d
,"ICON_ERROR", SWIG_From_int((int)(wxICON_ERROR
)));
48031 PyDict_SetItemString(d
,"FORWARD", SWIG_From_int((int)(wxFORWARD
)));
48034 PyDict_SetItemString(d
,"BACKWARD", SWIG_From_int((int)(wxBACKWARD
)));
48037 PyDict_SetItemString(d
,"RESET", SWIG_From_int((int)(wxRESET
)));
48040 PyDict_SetItemString(d
,"HELP", SWIG_From_int((int)(wxHELP
)));
48043 PyDict_SetItemString(d
,"MORE", SWIG_From_int((int)(wxMORE
)));
48046 PyDict_SetItemString(d
,"SETUP", SWIG_From_int((int)(wxSETUP
)));
48049 PyDict_SetItemString(d
,"SIZE_AUTO_WIDTH", SWIG_From_int((int)(wxSIZE_AUTO_WIDTH
)));
48052 PyDict_SetItemString(d
,"SIZE_AUTO_HEIGHT", SWIG_From_int((int)(wxSIZE_AUTO_HEIGHT
)));
48055 PyDict_SetItemString(d
,"SIZE_AUTO", SWIG_From_int((int)(wxSIZE_AUTO
)));
48058 PyDict_SetItemString(d
,"SIZE_USE_EXISTING", SWIG_From_int((int)(wxSIZE_USE_EXISTING
)));
48061 PyDict_SetItemString(d
,"SIZE_ALLOW_MINUS_ONE", SWIG_From_int((int)(wxSIZE_ALLOW_MINUS_ONE
)));
48064 PyDict_SetItemString(d
,"PORTRAIT", SWIG_From_int((int)(wxPORTRAIT
)));
48067 PyDict_SetItemString(d
,"LANDSCAPE", SWIG_From_int((int)(wxLANDSCAPE
)));
48070 PyDict_SetItemString(d
,"PRINT_QUALITY_HIGH", SWIG_From_int((int)(wxPRINT_QUALITY_HIGH
)));
48073 PyDict_SetItemString(d
,"PRINT_QUALITY_MEDIUM", SWIG_From_int((int)(wxPRINT_QUALITY_MEDIUM
)));
48076 PyDict_SetItemString(d
,"PRINT_QUALITY_LOW", SWIG_From_int((int)(wxPRINT_QUALITY_LOW
)));
48079 PyDict_SetItemString(d
,"PRINT_QUALITY_DRAFT", SWIG_From_int((int)(wxPRINT_QUALITY_DRAFT
)));
48082 PyDict_SetItemString(d
,"ID_ANY", SWIG_From_int((int)(wxID_ANY
)));
48085 PyDict_SetItemString(d
,"ID_SEPARATOR", SWIG_From_int((int)(wxID_SEPARATOR
)));
48088 PyDict_SetItemString(d
,"ID_LOWEST", SWIG_From_int((int)(wxID_LOWEST
)));
48091 PyDict_SetItemString(d
,"ID_OPEN", SWIG_From_int((int)(wxID_OPEN
)));
48094 PyDict_SetItemString(d
,"ID_CLOSE", SWIG_From_int((int)(wxID_CLOSE
)));
48097 PyDict_SetItemString(d
,"ID_NEW", SWIG_From_int((int)(wxID_NEW
)));
48100 PyDict_SetItemString(d
,"ID_SAVE", SWIG_From_int((int)(wxID_SAVE
)));
48103 PyDict_SetItemString(d
,"ID_SAVEAS", SWIG_From_int((int)(wxID_SAVEAS
)));
48106 PyDict_SetItemString(d
,"ID_REVERT", SWIG_From_int((int)(wxID_REVERT
)));
48109 PyDict_SetItemString(d
,"ID_EXIT", SWIG_From_int((int)(wxID_EXIT
)));
48112 PyDict_SetItemString(d
,"ID_UNDO", SWIG_From_int((int)(wxID_UNDO
)));
48115 PyDict_SetItemString(d
,"ID_REDO", SWIG_From_int((int)(wxID_REDO
)));
48118 PyDict_SetItemString(d
,"ID_HELP", SWIG_From_int((int)(wxID_HELP
)));
48121 PyDict_SetItemString(d
,"ID_PRINT", SWIG_From_int((int)(wxID_PRINT
)));
48124 PyDict_SetItemString(d
,"ID_PRINT_SETUP", SWIG_From_int((int)(wxID_PRINT_SETUP
)));
48127 PyDict_SetItemString(d
,"ID_PREVIEW", SWIG_From_int((int)(wxID_PREVIEW
)));
48130 PyDict_SetItemString(d
,"ID_ABOUT", SWIG_From_int((int)(wxID_ABOUT
)));
48133 PyDict_SetItemString(d
,"ID_HELP_CONTENTS", SWIG_From_int((int)(wxID_HELP_CONTENTS
)));
48136 PyDict_SetItemString(d
,"ID_HELP_COMMANDS", SWIG_From_int((int)(wxID_HELP_COMMANDS
)));
48139 PyDict_SetItemString(d
,"ID_HELP_PROCEDURES", SWIG_From_int((int)(wxID_HELP_PROCEDURES
)));
48142 PyDict_SetItemString(d
,"ID_HELP_CONTEXT", SWIG_From_int((int)(wxID_HELP_CONTEXT
)));
48145 PyDict_SetItemString(d
,"ID_CLOSE_ALL", SWIG_From_int((int)(wxID_CLOSE_ALL
)));
48148 PyDict_SetItemString(d
,"ID_PREFERENCES", SWIG_From_int((int)(wxID_PREFERENCES
)));
48151 PyDict_SetItemString(d
,"ID_CUT", SWIG_From_int((int)(wxID_CUT
)));
48154 PyDict_SetItemString(d
,"ID_COPY", SWIG_From_int((int)(wxID_COPY
)));
48157 PyDict_SetItemString(d
,"ID_PASTE", SWIG_From_int((int)(wxID_PASTE
)));
48160 PyDict_SetItemString(d
,"ID_CLEAR", SWIG_From_int((int)(wxID_CLEAR
)));
48163 PyDict_SetItemString(d
,"ID_FIND", SWIG_From_int((int)(wxID_FIND
)));
48166 PyDict_SetItemString(d
,"ID_DUPLICATE", SWIG_From_int((int)(wxID_DUPLICATE
)));
48169 PyDict_SetItemString(d
,"ID_SELECTALL", SWIG_From_int((int)(wxID_SELECTALL
)));
48172 PyDict_SetItemString(d
,"ID_DELETE", SWIG_From_int((int)(wxID_DELETE
)));
48175 PyDict_SetItemString(d
,"ID_REPLACE", SWIG_From_int((int)(wxID_REPLACE
)));
48178 PyDict_SetItemString(d
,"ID_REPLACE_ALL", SWIG_From_int((int)(wxID_REPLACE_ALL
)));
48181 PyDict_SetItemString(d
,"ID_PROPERTIES", SWIG_From_int((int)(wxID_PROPERTIES
)));
48184 PyDict_SetItemString(d
,"ID_VIEW_DETAILS", SWIG_From_int((int)(wxID_VIEW_DETAILS
)));
48187 PyDict_SetItemString(d
,"ID_VIEW_LARGEICONS", SWIG_From_int((int)(wxID_VIEW_LARGEICONS
)));
48190 PyDict_SetItemString(d
,"ID_VIEW_SMALLICONS", SWIG_From_int((int)(wxID_VIEW_SMALLICONS
)));
48193 PyDict_SetItemString(d
,"ID_VIEW_LIST", SWIG_From_int((int)(wxID_VIEW_LIST
)));
48196 PyDict_SetItemString(d
,"ID_VIEW_SORTDATE", SWIG_From_int((int)(wxID_VIEW_SORTDATE
)));
48199 PyDict_SetItemString(d
,"ID_VIEW_SORTNAME", SWIG_From_int((int)(wxID_VIEW_SORTNAME
)));
48202 PyDict_SetItemString(d
,"ID_VIEW_SORTSIZE", SWIG_From_int((int)(wxID_VIEW_SORTSIZE
)));
48205 PyDict_SetItemString(d
,"ID_VIEW_SORTTYPE", SWIG_From_int((int)(wxID_VIEW_SORTTYPE
)));
48208 PyDict_SetItemString(d
,"ID_FILE1", SWIG_From_int((int)(wxID_FILE1
)));
48211 PyDict_SetItemString(d
,"ID_FILE2", SWIG_From_int((int)(wxID_FILE2
)));
48214 PyDict_SetItemString(d
,"ID_FILE3", SWIG_From_int((int)(wxID_FILE3
)));
48217 PyDict_SetItemString(d
,"ID_FILE4", SWIG_From_int((int)(wxID_FILE4
)));
48220 PyDict_SetItemString(d
,"ID_FILE5", SWIG_From_int((int)(wxID_FILE5
)));
48223 PyDict_SetItemString(d
,"ID_FILE6", SWIG_From_int((int)(wxID_FILE6
)));
48226 PyDict_SetItemString(d
,"ID_FILE7", SWIG_From_int((int)(wxID_FILE7
)));
48229 PyDict_SetItemString(d
,"ID_FILE8", SWIG_From_int((int)(wxID_FILE8
)));
48232 PyDict_SetItemString(d
,"ID_FILE9", SWIG_From_int((int)(wxID_FILE9
)));
48235 PyDict_SetItemString(d
,"ID_OK", SWIG_From_int((int)(wxID_OK
)));
48238 PyDict_SetItemString(d
,"ID_CANCEL", SWIG_From_int((int)(wxID_CANCEL
)));
48241 PyDict_SetItemString(d
,"ID_APPLY", SWIG_From_int((int)(wxID_APPLY
)));
48244 PyDict_SetItemString(d
,"ID_YES", SWIG_From_int((int)(wxID_YES
)));
48247 PyDict_SetItemString(d
,"ID_NO", SWIG_From_int((int)(wxID_NO
)));
48250 PyDict_SetItemString(d
,"ID_STATIC", SWIG_From_int((int)(wxID_STATIC
)));
48253 PyDict_SetItemString(d
,"ID_FORWARD", SWIG_From_int((int)(wxID_FORWARD
)));
48256 PyDict_SetItemString(d
,"ID_BACKWARD", SWIG_From_int((int)(wxID_BACKWARD
)));
48259 PyDict_SetItemString(d
,"ID_DEFAULT", SWIG_From_int((int)(wxID_DEFAULT
)));
48262 PyDict_SetItemString(d
,"ID_MORE", SWIG_From_int((int)(wxID_MORE
)));
48265 PyDict_SetItemString(d
,"ID_SETUP", SWIG_From_int((int)(wxID_SETUP
)));
48268 PyDict_SetItemString(d
,"ID_RESET", SWIG_From_int((int)(wxID_RESET
)));
48271 PyDict_SetItemString(d
,"ID_CONTEXT_HELP", SWIG_From_int((int)(wxID_CONTEXT_HELP
)));
48274 PyDict_SetItemString(d
,"ID_YESTOALL", SWIG_From_int((int)(wxID_YESTOALL
)));
48277 PyDict_SetItemString(d
,"ID_NOTOALL", SWIG_From_int((int)(wxID_NOTOALL
)));
48280 PyDict_SetItemString(d
,"ID_ABORT", SWIG_From_int((int)(wxID_ABORT
)));
48283 PyDict_SetItemString(d
,"ID_RETRY", SWIG_From_int((int)(wxID_RETRY
)));
48286 PyDict_SetItemString(d
,"ID_IGNORE", SWIG_From_int((int)(wxID_IGNORE
)));
48289 PyDict_SetItemString(d
,"ID_ADD", SWIG_From_int((int)(wxID_ADD
)));
48292 PyDict_SetItemString(d
,"ID_REMOVE", SWIG_From_int((int)(wxID_REMOVE
)));
48295 PyDict_SetItemString(d
,"ID_UP", SWIG_From_int((int)(wxID_UP
)));
48298 PyDict_SetItemString(d
,"ID_DOWN", SWIG_From_int((int)(wxID_DOWN
)));
48301 PyDict_SetItemString(d
,"ID_HOME", SWIG_From_int((int)(wxID_HOME
)));
48304 PyDict_SetItemString(d
,"ID_REFRESH", SWIG_From_int((int)(wxID_REFRESH
)));
48307 PyDict_SetItemString(d
,"ID_STOP", SWIG_From_int((int)(wxID_STOP
)));
48310 PyDict_SetItemString(d
,"ID_INDEX", SWIG_From_int((int)(wxID_INDEX
)));
48313 PyDict_SetItemString(d
,"ID_BOLD", SWIG_From_int((int)(wxID_BOLD
)));
48316 PyDict_SetItemString(d
,"ID_ITALIC", SWIG_From_int((int)(wxID_ITALIC
)));
48319 PyDict_SetItemString(d
,"ID_JUSTIFY_CENTER", SWIG_From_int((int)(wxID_JUSTIFY_CENTER
)));
48322 PyDict_SetItemString(d
,"ID_JUSTIFY_FILL", SWIG_From_int((int)(wxID_JUSTIFY_FILL
)));
48325 PyDict_SetItemString(d
,"ID_JUSTIFY_RIGHT", SWIG_From_int((int)(wxID_JUSTIFY_RIGHT
)));
48328 PyDict_SetItemString(d
,"ID_JUSTIFY_LEFT", SWIG_From_int((int)(wxID_JUSTIFY_LEFT
)));
48331 PyDict_SetItemString(d
,"ID_UNDERLINE", SWIG_From_int((int)(wxID_UNDERLINE
)));
48334 PyDict_SetItemString(d
,"ID_INDENT", SWIG_From_int((int)(wxID_INDENT
)));
48337 PyDict_SetItemString(d
,"ID_UNINDENT", SWIG_From_int((int)(wxID_UNINDENT
)));
48340 PyDict_SetItemString(d
,"ID_ZOOM_100", SWIG_From_int((int)(wxID_ZOOM_100
)));
48343 PyDict_SetItemString(d
,"ID_ZOOM_FIT", SWIG_From_int((int)(wxID_ZOOM_FIT
)));
48346 PyDict_SetItemString(d
,"ID_ZOOM_IN", SWIG_From_int((int)(wxID_ZOOM_IN
)));
48349 PyDict_SetItemString(d
,"ID_ZOOM_OUT", SWIG_From_int((int)(wxID_ZOOM_OUT
)));
48352 PyDict_SetItemString(d
,"ID_UNDELETE", SWIG_From_int((int)(wxID_UNDELETE
)));
48355 PyDict_SetItemString(d
,"ID_REVERT_TO_SAVED", SWIG_From_int((int)(wxID_REVERT_TO_SAVED
)));
48358 PyDict_SetItemString(d
,"ID_HIGHEST", SWIG_From_int((int)(wxID_HIGHEST
)));
48361 PyDict_SetItemString(d
,"OPEN", SWIG_From_int((int)(wxOPEN
)));
48364 PyDict_SetItemString(d
,"SAVE", SWIG_From_int((int)(wxSAVE
)));
48367 PyDict_SetItemString(d
,"HIDE_READONLY", SWIG_From_int((int)(wxHIDE_READONLY
)));
48370 PyDict_SetItemString(d
,"OVERWRITE_PROMPT", SWIG_From_int((int)(wxOVERWRITE_PROMPT
)));
48373 PyDict_SetItemString(d
,"FILE_MUST_EXIST", SWIG_From_int((int)(wxFILE_MUST_EXIST
)));
48376 PyDict_SetItemString(d
,"MULTIPLE", SWIG_From_int((int)(wxMULTIPLE
)));
48379 PyDict_SetItemString(d
,"CHANGE_DIR", SWIG_From_int((int)(wxCHANGE_DIR
)));
48382 PyDict_SetItemString(d
,"ACCEL_ALT", SWIG_From_int((int)(wxACCEL_ALT
)));
48385 PyDict_SetItemString(d
,"ACCEL_CTRL", SWIG_From_int((int)(wxACCEL_CTRL
)));
48388 PyDict_SetItemString(d
,"ACCEL_SHIFT", SWIG_From_int((int)(wxACCEL_SHIFT
)));
48391 PyDict_SetItemString(d
,"ACCEL_NORMAL", SWIG_From_int((int)(wxACCEL_NORMAL
)));
48394 PyDict_SetItemString(d
,"PD_AUTO_HIDE", SWIG_From_int((int)(wxPD_AUTO_HIDE
)));
48397 PyDict_SetItemString(d
,"PD_APP_MODAL", SWIG_From_int((int)(wxPD_APP_MODAL
)));
48400 PyDict_SetItemString(d
,"PD_CAN_ABORT", SWIG_From_int((int)(wxPD_CAN_ABORT
)));
48403 PyDict_SetItemString(d
,"PD_ELAPSED_TIME", SWIG_From_int((int)(wxPD_ELAPSED_TIME
)));
48406 PyDict_SetItemString(d
,"PD_ESTIMATED_TIME", SWIG_From_int((int)(wxPD_ESTIMATED_TIME
)));
48409 PyDict_SetItemString(d
,"PD_REMAINING_TIME", SWIG_From_int((int)(wxPD_REMAINING_TIME
)));
48412 PyDict_SetItemString(d
,"PD_SMOOTH", SWIG_From_int((int)(wxPD_SMOOTH
)));
48415 PyDict_SetItemString(d
,"PD_CAN_SKIP", SWIG_From_int((int)(wxPD_CAN_SKIP
)));
48418 PyDict_SetItemString(d
,"DD_NEW_DIR_BUTTON", SWIG_From_int((int)(wxDD_NEW_DIR_BUTTON
)));
48421 PyDict_SetItemString(d
,"DD_DEFAULT_STYLE", SWIG_From_int((int)(wxDD_DEFAULT_STYLE
)));
48424 PyDict_SetItemString(d
,"MENU_TEAROFF", SWIG_From_int((int)(wxMENU_TEAROFF
)));
48427 PyDict_SetItemString(d
,"MB_DOCKABLE", SWIG_From_int((int)(wxMB_DOCKABLE
)));
48430 PyDict_SetItemString(d
,"NO_FULL_REPAINT_ON_RESIZE", SWIG_From_int((int)(wxNO_FULL_REPAINT_ON_RESIZE
)));
48433 PyDict_SetItemString(d
,"FULL_REPAINT_ON_RESIZE", SWIG_From_int((int)(wxFULL_REPAINT_ON_RESIZE
)));
48436 PyDict_SetItemString(d
,"LI_HORIZONTAL", SWIG_From_int((int)(wxLI_HORIZONTAL
)));
48439 PyDict_SetItemString(d
,"LI_VERTICAL", SWIG_From_int((int)(wxLI_VERTICAL
)));
48442 PyDict_SetItemString(d
,"WS_EX_VALIDATE_RECURSIVELY", SWIG_From_int((int)(wxWS_EX_VALIDATE_RECURSIVELY
)));
48445 PyDict_SetItemString(d
,"WS_EX_BLOCK_EVENTS", SWIG_From_int((int)(wxWS_EX_BLOCK_EVENTS
)));
48448 PyDict_SetItemString(d
,"WS_EX_TRANSIENT", SWIG_From_int((int)(wxWS_EX_TRANSIENT
)));
48451 PyDict_SetItemString(d
,"WS_EX_THEMED_BACKGROUND", SWIG_From_int((int)(wxWS_EX_THEMED_BACKGROUND
)));
48454 PyDict_SetItemString(d
,"WS_EX_PROCESS_IDLE", SWIG_From_int((int)(wxWS_EX_PROCESS_IDLE
)));
48457 PyDict_SetItemString(d
,"WS_EX_PROCESS_UI_UPDATES", SWIG_From_int((int)(wxWS_EX_PROCESS_UI_UPDATES
)));
48460 PyDict_SetItemString(d
,"MM_TEXT", SWIG_From_int((int)(wxMM_TEXT
)));
48463 PyDict_SetItemString(d
,"MM_LOMETRIC", SWIG_From_int((int)(wxMM_LOMETRIC
)));
48466 PyDict_SetItemString(d
,"MM_HIMETRIC", SWIG_From_int((int)(wxMM_HIMETRIC
)));
48469 PyDict_SetItemString(d
,"MM_LOENGLISH", SWIG_From_int((int)(wxMM_LOENGLISH
)));
48472 PyDict_SetItemString(d
,"MM_HIENGLISH", SWIG_From_int((int)(wxMM_HIENGLISH
)));
48475 PyDict_SetItemString(d
,"MM_TWIPS", SWIG_From_int((int)(wxMM_TWIPS
)));
48478 PyDict_SetItemString(d
,"MM_ISOTROPIC", SWIG_From_int((int)(wxMM_ISOTROPIC
)));
48481 PyDict_SetItemString(d
,"MM_ANISOTROPIC", SWIG_From_int((int)(wxMM_ANISOTROPIC
)));
48484 PyDict_SetItemString(d
,"MM_POINTS", SWIG_From_int((int)(wxMM_POINTS
)));
48487 PyDict_SetItemString(d
,"MM_METRIC", SWIG_From_int((int)(wxMM_METRIC
)));
48490 PyDict_SetItemString(d
,"CENTRE", SWIG_From_int((int)(wxCENTRE
)));
48493 PyDict_SetItemString(d
,"CENTER", SWIG_From_int((int)(wxCENTER
)));
48496 PyDict_SetItemString(d
,"HORIZONTAL", SWIG_From_int((int)(wxHORIZONTAL
)));
48499 PyDict_SetItemString(d
,"VERTICAL", SWIG_From_int((int)(wxVERTICAL
)));
48502 PyDict_SetItemString(d
,"BOTH", SWIG_From_int((int)(wxBOTH
)));
48505 PyDict_SetItemString(d
,"LEFT", SWIG_From_int((int)(wxLEFT
)));
48508 PyDict_SetItemString(d
,"RIGHT", SWIG_From_int((int)(wxRIGHT
)));
48511 PyDict_SetItemString(d
,"UP", SWIG_From_int((int)(wxUP
)));
48514 PyDict_SetItemString(d
,"DOWN", SWIG_From_int((int)(wxDOWN
)));
48517 PyDict_SetItemString(d
,"TOP", SWIG_From_int((int)(wxTOP
)));
48520 PyDict_SetItemString(d
,"BOTTOM", SWIG_From_int((int)(wxBOTTOM
)));
48523 PyDict_SetItemString(d
,"NORTH", SWIG_From_int((int)(wxNORTH
)));
48526 PyDict_SetItemString(d
,"SOUTH", SWIG_From_int((int)(wxSOUTH
)));
48529 PyDict_SetItemString(d
,"WEST", SWIG_From_int((int)(wxWEST
)));
48532 PyDict_SetItemString(d
,"EAST", SWIG_From_int((int)(wxEAST
)));
48535 PyDict_SetItemString(d
,"ALL", SWIG_From_int((int)(wxALL
)));
48538 PyDict_SetItemString(d
,"ALIGN_NOT", SWIG_From_int((int)(wxALIGN_NOT
)));
48541 PyDict_SetItemString(d
,"ALIGN_CENTER_HORIZONTAL", SWIG_From_int((int)(wxALIGN_CENTER_HORIZONTAL
)));
48544 PyDict_SetItemString(d
,"ALIGN_CENTRE_HORIZONTAL", SWIG_From_int((int)(wxALIGN_CENTRE_HORIZONTAL
)));
48547 PyDict_SetItemString(d
,"ALIGN_LEFT", SWIG_From_int((int)(wxALIGN_LEFT
)));
48550 PyDict_SetItemString(d
,"ALIGN_TOP", SWIG_From_int((int)(wxALIGN_TOP
)));
48553 PyDict_SetItemString(d
,"ALIGN_RIGHT", SWIG_From_int((int)(wxALIGN_RIGHT
)));
48556 PyDict_SetItemString(d
,"ALIGN_BOTTOM", SWIG_From_int((int)(wxALIGN_BOTTOM
)));
48559 PyDict_SetItemString(d
,"ALIGN_CENTER_VERTICAL", SWIG_From_int((int)(wxALIGN_CENTER_VERTICAL
)));
48562 PyDict_SetItemString(d
,"ALIGN_CENTRE_VERTICAL", SWIG_From_int((int)(wxALIGN_CENTRE_VERTICAL
)));
48565 PyDict_SetItemString(d
,"ALIGN_CENTER", SWIG_From_int((int)(wxALIGN_CENTER
)));
48568 PyDict_SetItemString(d
,"ALIGN_CENTRE", SWIG_From_int((int)(wxALIGN_CENTRE
)));
48571 PyDict_SetItemString(d
,"ALIGN_MASK", SWIG_From_int((int)(wxALIGN_MASK
)));
48574 PyDict_SetItemString(d
,"STRETCH_NOT", SWIG_From_int((int)(wxSTRETCH_NOT
)));
48577 PyDict_SetItemString(d
,"SHRINK", SWIG_From_int((int)(wxSHRINK
)));
48580 PyDict_SetItemString(d
,"GROW", SWIG_From_int((int)(wxGROW
)));
48583 PyDict_SetItemString(d
,"EXPAND", SWIG_From_int((int)(wxEXPAND
)));
48586 PyDict_SetItemString(d
,"SHAPED", SWIG_From_int((int)(wxSHAPED
)));
48589 PyDict_SetItemString(d
,"FIXED_MINSIZE", SWIG_From_int((int)(wxFIXED_MINSIZE
)));
48592 PyDict_SetItemString(d
,"TILE", SWIG_From_int((int)(wxTILE
)));
48595 PyDict_SetItemString(d
,"ADJUST_MINSIZE", SWIG_From_int((int)(wxADJUST_MINSIZE
)));
48598 PyDict_SetItemString(d
,"BORDER_DEFAULT", SWIG_From_int((int)(wxBORDER_DEFAULT
)));
48601 PyDict_SetItemString(d
,"BORDER_NONE", SWIG_From_int((int)(wxBORDER_NONE
)));
48604 PyDict_SetItemString(d
,"BORDER_STATIC", SWIG_From_int((int)(wxBORDER_STATIC
)));
48607 PyDict_SetItemString(d
,"BORDER_SIMPLE", SWIG_From_int((int)(wxBORDER_SIMPLE
)));
48610 PyDict_SetItemString(d
,"BORDER_RAISED", SWIG_From_int((int)(wxBORDER_RAISED
)));
48613 PyDict_SetItemString(d
,"BORDER_SUNKEN", SWIG_From_int((int)(wxBORDER_SUNKEN
)));
48616 PyDict_SetItemString(d
,"BORDER_DOUBLE", SWIG_From_int((int)(wxBORDER_DOUBLE
)));
48619 PyDict_SetItemString(d
,"BORDER_MASK", SWIG_From_int((int)(wxBORDER_MASK
)));
48622 PyDict_SetItemString(d
,"BG_STYLE_SYSTEM", SWIG_From_int((int)(wxBG_STYLE_SYSTEM
)));
48625 PyDict_SetItemString(d
,"BG_STYLE_COLOUR", SWIG_From_int((int)(wxBG_STYLE_COLOUR
)));
48628 PyDict_SetItemString(d
,"BG_STYLE_CUSTOM", SWIG_From_int((int)(wxBG_STYLE_CUSTOM
)));
48631 PyDict_SetItemString(d
,"DEFAULT", SWIG_From_int((int)(wxDEFAULT
)));
48634 PyDict_SetItemString(d
,"DECORATIVE", SWIG_From_int((int)(wxDECORATIVE
)));
48637 PyDict_SetItemString(d
,"ROMAN", SWIG_From_int((int)(wxROMAN
)));
48640 PyDict_SetItemString(d
,"SCRIPT", SWIG_From_int((int)(wxSCRIPT
)));
48643 PyDict_SetItemString(d
,"SWISS", SWIG_From_int((int)(wxSWISS
)));
48646 PyDict_SetItemString(d
,"MODERN", SWIG_From_int((int)(wxMODERN
)));
48649 PyDict_SetItemString(d
,"TELETYPE", SWIG_From_int((int)(wxTELETYPE
)));
48652 PyDict_SetItemString(d
,"VARIABLE", SWIG_From_int((int)(wxVARIABLE
)));
48655 PyDict_SetItemString(d
,"FIXED", SWIG_From_int((int)(wxFIXED
)));
48658 PyDict_SetItemString(d
,"NORMAL", SWIG_From_int((int)(wxNORMAL
)));
48661 PyDict_SetItemString(d
,"LIGHT", SWIG_From_int((int)(wxLIGHT
)));
48664 PyDict_SetItemString(d
,"BOLD", SWIG_From_int((int)(wxBOLD
)));
48667 PyDict_SetItemString(d
,"ITALIC", SWIG_From_int((int)(wxITALIC
)));
48670 PyDict_SetItemString(d
,"SLANT", SWIG_From_int((int)(wxSLANT
)));
48673 PyDict_SetItemString(d
,"SOLID", SWIG_From_int((int)(wxSOLID
)));
48676 PyDict_SetItemString(d
,"DOT", SWIG_From_int((int)(wxDOT
)));
48679 PyDict_SetItemString(d
,"LONG_DASH", SWIG_From_int((int)(wxLONG_DASH
)));
48682 PyDict_SetItemString(d
,"SHORT_DASH", SWIG_From_int((int)(wxSHORT_DASH
)));
48685 PyDict_SetItemString(d
,"DOT_DASH", SWIG_From_int((int)(wxDOT_DASH
)));
48688 PyDict_SetItemString(d
,"USER_DASH", SWIG_From_int((int)(wxUSER_DASH
)));
48691 PyDict_SetItemString(d
,"TRANSPARENT", SWIG_From_int((int)(wxTRANSPARENT
)));
48694 PyDict_SetItemString(d
,"STIPPLE", SWIG_From_int((int)(wxSTIPPLE
)));
48697 PyDict_SetItemString(d
,"STIPPLE_MASK", SWIG_From_int((int)(wxSTIPPLE_MASK
)));
48700 PyDict_SetItemString(d
,"STIPPLE_MASK_OPAQUE", SWIG_From_int((int)(wxSTIPPLE_MASK_OPAQUE
)));
48703 PyDict_SetItemString(d
,"BDIAGONAL_HATCH", SWIG_From_int((int)(wxBDIAGONAL_HATCH
)));
48706 PyDict_SetItemString(d
,"CROSSDIAG_HATCH", SWIG_From_int((int)(wxCROSSDIAG_HATCH
)));
48709 PyDict_SetItemString(d
,"FDIAGONAL_HATCH", SWIG_From_int((int)(wxFDIAGONAL_HATCH
)));
48712 PyDict_SetItemString(d
,"CROSS_HATCH", SWIG_From_int((int)(wxCROSS_HATCH
)));
48715 PyDict_SetItemString(d
,"HORIZONTAL_HATCH", SWIG_From_int((int)(wxHORIZONTAL_HATCH
)));
48718 PyDict_SetItemString(d
,"VERTICAL_HATCH", SWIG_From_int((int)(wxVERTICAL_HATCH
)));
48721 PyDict_SetItemString(d
,"JOIN_BEVEL", SWIG_From_int((int)(wxJOIN_BEVEL
)));
48724 PyDict_SetItemString(d
,"JOIN_MITER", SWIG_From_int((int)(wxJOIN_MITER
)));
48727 PyDict_SetItemString(d
,"JOIN_ROUND", SWIG_From_int((int)(wxJOIN_ROUND
)));
48730 PyDict_SetItemString(d
,"CAP_ROUND", SWIG_From_int((int)(wxCAP_ROUND
)));
48733 PyDict_SetItemString(d
,"CAP_PROJECTING", SWIG_From_int((int)(wxCAP_PROJECTING
)));
48736 PyDict_SetItemString(d
,"CAP_BUTT", SWIG_From_int((int)(wxCAP_BUTT
)));
48739 PyDict_SetItemString(d
,"CLEAR", SWIG_From_int((int)(wxCLEAR
)));
48742 PyDict_SetItemString(d
,"XOR", SWIG_From_int((int)(wxXOR
)));
48745 PyDict_SetItemString(d
,"INVERT", SWIG_From_int((int)(wxINVERT
)));
48748 PyDict_SetItemString(d
,"OR_REVERSE", SWIG_From_int((int)(wxOR_REVERSE
)));
48751 PyDict_SetItemString(d
,"AND_REVERSE", SWIG_From_int((int)(wxAND_REVERSE
)));
48754 PyDict_SetItemString(d
,"COPY", SWIG_From_int((int)(wxCOPY
)));
48757 PyDict_SetItemString(d
,"AND", SWIG_From_int((int)(wxAND
)));
48760 PyDict_SetItemString(d
,"AND_INVERT", SWIG_From_int((int)(wxAND_INVERT
)));
48763 PyDict_SetItemString(d
,"NO_OP", SWIG_From_int((int)(wxNO_OP
)));
48766 PyDict_SetItemString(d
,"NOR", SWIG_From_int((int)(wxNOR
)));
48769 PyDict_SetItemString(d
,"EQUIV", SWIG_From_int((int)(wxEQUIV
)));
48772 PyDict_SetItemString(d
,"SRC_INVERT", SWIG_From_int((int)(wxSRC_INVERT
)));
48775 PyDict_SetItemString(d
,"OR_INVERT", SWIG_From_int((int)(wxOR_INVERT
)));
48778 PyDict_SetItemString(d
,"NAND", SWIG_From_int((int)(wxNAND
)));
48781 PyDict_SetItemString(d
,"OR", SWIG_From_int((int)(wxOR
)));
48784 PyDict_SetItemString(d
,"SET", SWIG_From_int((int)(wxSET
)));
48787 PyDict_SetItemString(d
,"WXK_BACK", SWIG_From_int((int)(WXK_BACK
)));
48790 PyDict_SetItemString(d
,"WXK_TAB", SWIG_From_int((int)(WXK_TAB
)));
48793 PyDict_SetItemString(d
,"WXK_RETURN", SWIG_From_int((int)(WXK_RETURN
)));
48796 PyDict_SetItemString(d
,"WXK_ESCAPE", SWIG_From_int((int)(WXK_ESCAPE
)));
48799 PyDict_SetItemString(d
,"WXK_SPACE", SWIG_From_int((int)(WXK_SPACE
)));
48802 PyDict_SetItemString(d
,"WXK_DELETE", SWIG_From_int((int)(WXK_DELETE
)));
48805 PyDict_SetItemString(d
,"WXK_START", SWIG_From_int((int)(WXK_START
)));
48808 PyDict_SetItemString(d
,"WXK_LBUTTON", SWIG_From_int((int)(WXK_LBUTTON
)));
48811 PyDict_SetItemString(d
,"WXK_RBUTTON", SWIG_From_int((int)(WXK_RBUTTON
)));
48814 PyDict_SetItemString(d
,"WXK_CANCEL", SWIG_From_int((int)(WXK_CANCEL
)));
48817 PyDict_SetItemString(d
,"WXK_MBUTTON", SWIG_From_int((int)(WXK_MBUTTON
)));
48820 PyDict_SetItemString(d
,"WXK_CLEAR", SWIG_From_int((int)(WXK_CLEAR
)));
48823 PyDict_SetItemString(d
,"WXK_SHIFT", SWIG_From_int((int)(WXK_SHIFT
)));
48826 PyDict_SetItemString(d
,"WXK_ALT", SWIG_From_int((int)(WXK_ALT
)));
48829 PyDict_SetItemString(d
,"WXK_CONTROL", SWIG_From_int((int)(WXK_CONTROL
)));
48832 PyDict_SetItemString(d
,"WXK_MENU", SWIG_From_int((int)(WXK_MENU
)));
48835 PyDict_SetItemString(d
,"WXK_PAUSE", SWIG_From_int((int)(WXK_PAUSE
)));
48838 PyDict_SetItemString(d
,"WXK_CAPITAL", SWIG_From_int((int)(WXK_CAPITAL
)));
48841 PyDict_SetItemString(d
,"WXK_PRIOR", SWIG_From_int((int)(WXK_PRIOR
)));
48844 PyDict_SetItemString(d
,"WXK_NEXT", SWIG_From_int((int)(WXK_NEXT
)));
48847 PyDict_SetItemString(d
,"WXK_END", SWIG_From_int((int)(WXK_END
)));
48850 PyDict_SetItemString(d
,"WXK_HOME", SWIG_From_int((int)(WXK_HOME
)));
48853 PyDict_SetItemString(d
,"WXK_LEFT", SWIG_From_int((int)(WXK_LEFT
)));
48856 PyDict_SetItemString(d
,"WXK_UP", SWIG_From_int((int)(WXK_UP
)));
48859 PyDict_SetItemString(d
,"WXK_RIGHT", SWIG_From_int((int)(WXK_RIGHT
)));
48862 PyDict_SetItemString(d
,"WXK_DOWN", SWIG_From_int((int)(WXK_DOWN
)));
48865 PyDict_SetItemString(d
,"WXK_SELECT", SWIG_From_int((int)(WXK_SELECT
)));
48868 PyDict_SetItemString(d
,"WXK_PRINT", SWIG_From_int((int)(WXK_PRINT
)));
48871 PyDict_SetItemString(d
,"WXK_EXECUTE", SWIG_From_int((int)(WXK_EXECUTE
)));
48874 PyDict_SetItemString(d
,"WXK_SNAPSHOT", SWIG_From_int((int)(WXK_SNAPSHOT
)));
48877 PyDict_SetItemString(d
,"WXK_INSERT", SWIG_From_int((int)(WXK_INSERT
)));
48880 PyDict_SetItemString(d
,"WXK_HELP", SWIG_From_int((int)(WXK_HELP
)));
48883 PyDict_SetItemString(d
,"WXK_NUMPAD0", SWIG_From_int((int)(WXK_NUMPAD0
)));
48886 PyDict_SetItemString(d
,"WXK_NUMPAD1", SWIG_From_int((int)(WXK_NUMPAD1
)));
48889 PyDict_SetItemString(d
,"WXK_NUMPAD2", SWIG_From_int((int)(WXK_NUMPAD2
)));
48892 PyDict_SetItemString(d
,"WXK_NUMPAD3", SWIG_From_int((int)(WXK_NUMPAD3
)));
48895 PyDict_SetItemString(d
,"WXK_NUMPAD4", SWIG_From_int((int)(WXK_NUMPAD4
)));
48898 PyDict_SetItemString(d
,"WXK_NUMPAD5", SWIG_From_int((int)(WXK_NUMPAD5
)));
48901 PyDict_SetItemString(d
,"WXK_NUMPAD6", SWIG_From_int((int)(WXK_NUMPAD6
)));
48904 PyDict_SetItemString(d
,"WXK_NUMPAD7", SWIG_From_int((int)(WXK_NUMPAD7
)));
48907 PyDict_SetItemString(d
,"WXK_NUMPAD8", SWIG_From_int((int)(WXK_NUMPAD8
)));
48910 PyDict_SetItemString(d
,"WXK_NUMPAD9", SWIG_From_int((int)(WXK_NUMPAD9
)));
48913 PyDict_SetItemString(d
,"WXK_MULTIPLY", SWIG_From_int((int)(WXK_MULTIPLY
)));
48916 PyDict_SetItemString(d
,"WXK_ADD", SWIG_From_int((int)(WXK_ADD
)));
48919 PyDict_SetItemString(d
,"WXK_SEPARATOR", SWIG_From_int((int)(WXK_SEPARATOR
)));
48922 PyDict_SetItemString(d
,"WXK_SUBTRACT", SWIG_From_int((int)(WXK_SUBTRACT
)));
48925 PyDict_SetItemString(d
,"WXK_DECIMAL", SWIG_From_int((int)(WXK_DECIMAL
)));
48928 PyDict_SetItemString(d
,"WXK_DIVIDE", SWIG_From_int((int)(WXK_DIVIDE
)));
48931 PyDict_SetItemString(d
,"WXK_F1", SWIG_From_int((int)(WXK_F1
)));
48934 PyDict_SetItemString(d
,"WXK_F2", SWIG_From_int((int)(WXK_F2
)));
48937 PyDict_SetItemString(d
,"WXK_F3", SWIG_From_int((int)(WXK_F3
)));
48940 PyDict_SetItemString(d
,"WXK_F4", SWIG_From_int((int)(WXK_F4
)));
48943 PyDict_SetItemString(d
,"WXK_F5", SWIG_From_int((int)(WXK_F5
)));
48946 PyDict_SetItemString(d
,"WXK_F6", SWIG_From_int((int)(WXK_F6
)));
48949 PyDict_SetItemString(d
,"WXK_F7", SWIG_From_int((int)(WXK_F7
)));
48952 PyDict_SetItemString(d
,"WXK_F8", SWIG_From_int((int)(WXK_F8
)));
48955 PyDict_SetItemString(d
,"WXK_F9", SWIG_From_int((int)(WXK_F9
)));
48958 PyDict_SetItemString(d
,"WXK_F10", SWIG_From_int((int)(WXK_F10
)));
48961 PyDict_SetItemString(d
,"WXK_F11", SWIG_From_int((int)(WXK_F11
)));
48964 PyDict_SetItemString(d
,"WXK_F12", SWIG_From_int((int)(WXK_F12
)));
48967 PyDict_SetItemString(d
,"WXK_F13", SWIG_From_int((int)(WXK_F13
)));
48970 PyDict_SetItemString(d
,"WXK_F14", SWIG_From_int((int)(WXK_F14
)));
48973 PyDict_SetItemString(d
,"WXK_F15", SWIG_From_int((int)(WXK_F15
)));
48976 PyDict_SetItemString(d
,"WXK_F16", SWIG_From_int((int)(WXK_F16
)));
48979 PyDict_SetItemString(d
,"WXK_F17", SWIG_From_int((int)(WXK_F17
)));
48982 PyDict_SetItemString(d
,"WXK_F18", SWIG_From_int((int)(WXK_F18
)));
48985 PyDict_SetItemString(d
,"WXK_F19", SWIG_From_int((int)(WXK_F19
)));
48988 PyDict_SetItemString(d
,"WXK_F20", SWIG_From_int((int)(WXK_F20
)));
48991 PyDict_SetItemString(d
,"WXK_F21", SWIG_From_int((int)(WXK_F21
)));
48994 PyDict_SetItemString(d
,"WXK_F22", SWIG_From_int((int)(WXK_F22
)));
48997 PyDict_SetItemString(d
,"WXK_F23", SWIG_From_int((int)(WXK_F23
)));
49000 PyDict_SetItemString(d
,"WXK_F24", SWIG_From_int((int)(WXK_F24
)));
49003 PyDict_SetItemString(d
,"WXK_NUMLOCK", SWIG_From_int((int)(WXK_NUMLOCK
)));
49006 PyDict_SetItemString(d
,"WXK_SCROLL", SWIG_From_int((int)(WXK_SCROLL
)));
49009 PyDict_SetItemString(d
,"WXK_PAGEUP", SWIG_From_int((int)(WXK_PAGEUP
)));
49012 PyDict_SetItemString(d
,"WXK_PAGEDOWN", SWIG_From_int((int)(WXK_PAGEDOWN
)));
49015 PyDict_SetItemString(d
,"WXK_NUMPAD_SPACE", SWIG_From_int((int)(WXK_NUMPAD_SPACE
)));
49018 PyDict_SetItemString(d
,"WXK_NUMPAD_TAB", SWIG_From_int((int)(WXK_NUMPAD_TAB
)));
49021 PyDict_SetItemString(d
,"WXK_NUMPAD_ENTER", SWIG_From_int((int)(WXK_NUMPAD_ENTER
)));
49024 PyDict_SetItemString(d
,"WXK_NUMPAD_F1", SWIG_From_int((int)(WXK_NUMPAD_F1
)));
49027 PyDict_SetItemString(d
,"WXK_NUMPAD_F2", SWIG_From_int((int)(WXK_NUMPAD_F2
)));
49030 PyDict_SetItemString(d
,"WXK_NUMPAD_F3", SWIG_From_int((int)(WXK_NUMPAD_F3
)));
49033 PyDict_SetItemString(d
,"WXK_NUMPAD_F4", SWIG_From_int((int)(WXK_NUMPAD_F4
)));
49036 PyDict_SetItemString(d
,"WXK_NUMPAD_HOME", SWIG_From_int((int)(WXK_NUMPAD_HOME
)));
49039 PyDict_SetItemString(d
,"WXK_NUMPAD_LEFT", SWIG_From_int((int)(WXK_NUMPAD_LEFT
)));
49042 PyDict_SetItemString(d
,"WXK_NUMPAD_UP", SWIG_From_int((int)(WXK_NUMPAD_UP
)));
49045 PyDict_SetItemString(d
,"WXK_NUMPAD_RIGHT", SWIG_From_int((int)(WXK_NUMPAD_RIGHT
)));
49048 PyDict_SetItemString(d
,"WXK_NUMPAD_DOWN", SWIG_From_int((int)(WXK_NUMPAD_DOWN
)));
49051 PyDict_SetItemString(d
,"WXK_NUMPAD_PRIOR", SWIG_From_int((int)(WXK_NUMPAD_PRIOR
)));
49054 PyDict_SetItemString(d
,"WXK_NUMPAD_PAGEUP", SWIG_From_int((int)(WXK_NUMPAD_PAGEUP
)));
49057 PyDict_SetItemString(d
,"WXK_NUMPAD_NEXT", SWIG_From_int((int)(WXK_NUMPAD_NEXT
)));
49060 PyDict_SetItemString(d
,"WXK_NUMPAD_PAGEDOWN", SWIG_From_int((int)(WXK_NUMPAD_PAGEDOWN
)));
49063 PyDict_SetItemString(d
,"WXK_NUMPAD_END", SWIG_From_int((int)(WXK_NUMPAD_END
)));
49066 PyDict_SetItemString(d
,"WXK_NUMPAD_BEGIN", SWIG_From_int((int)(WXK_NUMPAD_BEGIN
)));
49069 PyDict_SetItemString(d
,"WXK_NUMPAD_INSERT", SWIG_From_int((int)(WXK_NUMPAD_INSERT
)));
49072 PyDict_SetItemString(d
,"WXK_NUMPAD_DELETE", SWIG_From_int((int)(WXK_NUMPAD_DELETE
)));
49075 PyDict_SetItemString(d
,"WXK_NUMPAD_EQUAL", SWIG_From_int((int)(WXK_NUMPAD_EQUAL
)));
49078 PyDict_SetItemString(d
,"WXK_NUMPAD_MULTIPLY", SWIG_From_int((int)(WXK_NUMPAD_MULTIPLY
)));
49081 PyDict_SetItemString(d
,"WXK_NUMPAD_ADD", SWIG_From_int((int)(WXK_NUMPAD_ADD
)));
49084 PyDict_SetItemString(d
,"WXK_NUMPAD_SEPARATOR", SWIG_From_int((int)(WXK_NUMPAD_SEPARATOR
)));
49087 PyDict_SetItemString(d
,"WXK_NUMPAD_SUBTRACT", SWIG_From_int((int)(WXK_NUMPAD_SUBTRACT
)));
49090 PyDict_SetItemString(d
,"WXK_NUMPAD_DECIMAL", SWIG_From_int((int)(WXK_NUMPAD_DECIMAL
)));
49093 PyDict_SetItemString(d
,"WXK_NUMPAD_DIVIDE", SWIG_From_int((int)(WXK_NUMPAD_DIVIDE
)));
49096 PyDict_SetItemString(d
,"WXK_WINDOWS_LEFT", SWIG_From_int((int)(WXK_WINDOWS_LEFT
)));
49099 PyDict_SetItemString(d
,"WXK_WINDOWS_RIGHT", SWIG_From_int((int)(WXK_WINDOWS_RIGHT
)));
49102 PyDict_SetItemString(d
,"WXK_WINDOWS_MENU", SWIG_From_int((int)(WXK_WINDOWS_MENU
)));
49105 PyDict_SetItemString(d
,"WXK_COMMAND", SWIG_From_int((int)(WXK_COMMAND
)));
49108 PyDict_SetItemString(d
,"WXK_SPECIAL1", SWIG_From_int((int)(WXK_SPECIAL1
)));
49111 PyDict_SetItemString(d
,"WXK_SPECIAL2", SWIG_From_int((int)(WXK_SPECIAL2
)));
49114 PyDict_SetItemString(d
,"WXK_SPECIAL3", SWIG_From_int((int)(WXK_SPECIAL3
)));
49117 PyDict_SetItemString(d
,"WXK_SPECIAL4", SWIG_From_int((int)(WXK_SPECIAL4
)));
49120 PyDict_SetItemString(d
,"WXK_SPECIAL5", SWIG_From_int((int)(WXK_SPECIAL5
)));
49123 PyDict_SetItemString(d
,"WXK_SPECIAL6", SWIG_From_int((int)(WXK_SPECIAL6
)));
49126 PyDict_SetItemString(d
,"WXK_SPECIAL7", SWIG_From_int((int)(WXK_SPECIAL7
)));
49129 PyDict_SetItemString(d
,"WXK_SPECIAL8", SWIG_From_int((int)(WXK_SPECIAL8
)));
49132 PyDict_SetItemString(d
,"WXK_SPECIAL9", SWIG_From_int((int)(WXK_SPECIAL9
)));
49135 PyDict_SetItemString(d
,"WXK_SPECIAL10", SWIG_From_int((int)(WXK_SPECIAL10
)));
49138 PyDict_SetItemString(d
,"WXK_SPECIAL11", SWIG_From_int((int)(WXK_SPECIAL11
)));
49141 PyDict_SetItemString(d
,"WXK_SPECIAL12", SWIG_From_int((int)(WXK_SPECIAL12
)));
49144 PyDict_SetItemString(d
,"WXK_SPECIAL13", SWIG_From_int((int)(WXK_SPECIAL13
)));
49147 PyDict_SetItemString(d
,"WXK_SPECIAL14", SWIG_From_int((int)(WXK_SPECIAL14
)));
49150 PyDict_SetItemString(d
,"WXK_SPECIAL15", SWIG_From_int((int)(WXK_SPECIAL15
)));
49153 PyDict_SetItemString(d
,"WXK_SPECIAL16", SWIG_From_int((int)(WXK_SPECIAL16
)));
49156 PyDict_SetItemString(d
,"WXK_SPECIAL17", SWIG_From_int((int)(WXK_SPECIAL17
)));
49159 PyDict_SetItemString(d
,"WXK_SPECIAL18", SWIG_From_int((int)(WXK_SPECIAL18
)));
49162 PyDict_SetItemString(d
,"WXK_SPECIAL19", SWIG_From_int((int)(WXK_SPECIAL19
)));
49165 PyDict_SetItemString(d
,"WXK_SPECIAL20", SWIG_From_int((int)(WXK_SPECIAL20
)));
49168 PyDict_SetItemString(d
,"PAPER_NONE", SWIG_From_int((int)(wxPAPER_NONE
)));
49171 PyDict_SetItemString(d
,"PAPER_LETTER", SWIG_From_int((int)(wxPAPER_LETTER
)));
49174 PyDict_SetItemString(d
,"PAPER_LEGAL", SWIG_From_int((int)(wxPAPER_LEGAL
)));
49177 PyDict_SetItemString(d
,"PAPER_A4", SWIG_From_int((int)(wxPAPER_A4
)));
49180 PyDict_SetItemString(d
,"PAPER_CSHEET", SWIG_From_int((int)(wxPAPER_CSHEET
)));
49183 PyDict_SetItemString(d
,"PAPER_DSHEET", SWIG_From_int((int)(wxPAPER_DSHEET
)));
49186 PyDict_SetItemString(d
,"PAPER_ESHEET", SWIG_From_int((int)(wxPAPER_ESHEET
)));
49189 PyDict_SetItemString(d
,"PAPER_LETTERSMALL", SWIG_From_int((int)(wxPAPER_LETTERSMALL
)));
49192 PyDict_SetItemString(d
,"PAPER_TABLOID", SWIG_From_int((int)(wxPAPER_TABLOID
)));
49195 PyDict_SetItemString(d
,"PAPER_LEDGER", SWIG_From_int((int)(wxPAPER_LEDGER
)));
49198 PyDict_SetItemString(d
,"PAPER_STATEMENT", SWIG_From_int((int)(wxPAPER_STATEMENT
)));
49201 PyDict_SetItemString(d
,"PAPER_EXECUTIVE", SWIG_From_int((int)(wxPAPER_EXECUTIVE
)));
49204 PyDict_SetItemString(d
,"PAPER_A3", SWIG_From_int((int)(wxPAPER_A3
)));
49207 PyDict_SetItemString(d
,"PAPER_A4SMALL", SWIG_From_int((int)(wxPAPER_A4SMALL
)));
49210 PyDict_SetItemString(d
,"PAPER_A5", SWIG_From_int((int)(wxPAPER_A5
)));
49213 PyDict_SetItemString(d
,"PAPER_B4", SWIG_From_int((int)(wxPAPER_B4
)));
49216 PyDict_SetItemString(d
,"PAPER_B5", SWIG_From_int((int)(wxPAPER_B5
)));
49219 PyDict_SetItemString(d
,"PAPER_FOLIO", SWIG_From_int((int)(wxPAPER_FOLIO
)));
49222 PyDict_SetItemString(d
,"PAPER_QUARTO", SWIG_From_int((int)(wxPAPER_QUARTO
)));
49225 PyDict_SetItemString(d
,"PAPER_10X14", SWIG_From_int((int)(wxPAPER_10X14
)));
49228 PyDict_SetItemString(d
,"PAPER_11X17", SWIG_From_int((int)(wxPAPER_11X17
)));
49231 PyDict_SetItemString(d
,"PAPER_NOTE", SWIG_From_int((int)(wxPAPER_NOTE
)));
49234 PyDict_SetItemString(d
,"PAPER_ENV_9", SWIG_From_int((int)(wxPAPER_ENV_9
)));
49237 PyDict_SetItemString(d
,"PAPER_ENV_10", SWIG_From_int((int)(wxPAPER_ENV_10
)));
49240 PyDict_SetItemString(d
,"PAPER_ENV_11", SWIG_From_int((int)(wxPAPER_ENV_11
)));
49243 PyDict_SetItemString(d
,"PAPER_ENV_12", SWIG_From_int((int)(wxPAPER_ENV_12
)));
49246 PyDict_SetItemString(d
,"PAPER_ENV_14", SWIG_From_int((int)(wxPAPER_ENV_14
)));
49249 PyDict_SetItemString(d
,"PAPER_ENV_DL", SWIG_From_int((int)(wxPAPER_ENV_DL
)));
49252 PyDict_SetItemString(d
,"PAPER_ENV_C5", SWIG_From_int((int)(wxPAPER_ENV_C5
)));
49255 PyDict_SetItemString(d
,"PAPER_ENV_C3", SWIG_From_int((int)(wxPAPER_ENV_C3
)));
49258 PyDict_SetItemString(d
,"PAPER_ENV_C4", SWIG_From_int((int)(wxPAPER_ENV_C4
)));
49261 PyDict_SetItemString(d
,"PAPER_ENV_C6", SWIG_From_int((int)(wxPAPER_ENV_C6
)));
49264 PyDict_SetItemString(d
,"PAPER_ENV_C65", SWIG_From_int((int)(wxPAPER_ENV_C65
)));
49267 PyDict_SetItemString(d
,"PAPER_ENV_B4", SWIG_From_int((int)(wxPAPER_ENV_B4
)));
49270 PyDict_SetItemString(d
,"PAPER_ENV_B5", SWIG_From_int((int)(wxPAPER_ENV_B5
)));
49273 PyDict_SetItemString(d
,"PAPER_ENV_B6", SWIG_From_int((int)(wxPAPER_ENV_B6
)));
49276 PyDict_SetItemString(d
,"PAPER_ENV_ITALY", SWIG_From_int((int)(wxPAPER_ENV_ITALY
)));
49279 PyDict_SetItemString(d
,"PAPER_ENV_MONARCH", SWIG_From_int((int)(wxPAPER_ENV_MONARCH
)));
49282 PyDict_SetItemString(d
,"PAPER_ENV_PERSONAL", SWIG_From_int((int)(wxPAPER_ENV_PERSONAL
)));
49285 PyDict_SetItemString(d
,"PAPER_FANFOLD_US", SWIG_From_int((int)(wxPAPER_FANFOLD_US
)));
49288 PyDict_SetItemString(d
,"PAPER_FANFOLD_STD_GERMAN", SWIG_From_int((int)(wxPAPER_FANFOLD_STD_GERMAN
)));
49291 PyDict_SetItemString(d
,"PAPER_FANFOLD_LGL_GERMAN", SWIG_From_int((int)(wxPAPER_FANFOLD_LGL_GERMAN
)));
49294 PyDict_SetItemString(d
,"PAPER_ISO_B4", SWIG_From_int((int)(wxPAPER_ISO_B4
)));
49297 PyDict_SetItemString(d
,"PAPER_JAPANESE_POSTCARD", SWIG_From_int((int)(wxPAPER_JAPANESE_POSTCARD
)));
49300 PyDict_SetItemString(d
,"PAPER_9X11", SWIG_From_int((int)(wxPAPER_9X11
)));
49303 PyDict_SetItemString(d
,"PAPER_10X11", SWIG_From_int((int)(wxPAPER_10X11
)));
49306 PyDict_SetItemString(d
,"PAPER_15X11", SWIG_From_int((int)(wxPAPER_15X11
)));
49309 PyDict_SetItemString(d
,"PAPER_ENV_INVITE", SWIG_From_int((int)(wxPAPER_ENV_INVITE
)));
49312 PyDict_SetItemString(d
,"PAPER_LETTER_EXTRA", SWIG_From_int((int)(wxPAPER_LETTER_EXTRA
)));
49315 PyDict_SetItemString(d
,"PAPER_LEGAL_EXTRA", SWIG_From_int((int)(wxPAPER_LEGAL_EXTRA
)));
49318 PyDict_SetItemString(d
,"PAPER_TABLOID_EXTRA", SWIG_From_int((int)(wxPAPER_TABLOID_EXTRA
)));
49321 PyDict_SetItemString(d
,"PAPER_A4_EXTRA", SWIG_From_int((int)(wxPAPER_A4_EXTRA
)));
49324 PyDict_SetItemString(d
,"PAPER_LETTER_TRANSVERSE", SWIG_From_int((int)(wxPAPER_LETTER_TRANSVERSE
)));
49327 PyDict_SetItemString(d
,"PAPER_A4_TRANSVERSE", SWIG_From_int((int)(wxPAPER_A4_TRANSVERSE
)));
49330 PyDict_SetItemString(d
,"PAPER_LETTER_EXTRA_TRANSVERSE", SWIG_From_int((int)(wxPAPER_LETTER_EXTRA_TRANSVERSE
)));
49333 PyDict_SetItemString(d
,"PAPER_A_PLUS", SWIG_From_int((int)(wxPAPER_A_PLUS
)));
49336 PyDict_SetItemString(d
,"PAPER_B_PLUS", SWIG_From_int((int)(wxPAPER_B_PLUS
)));
49339 PyDict_SetItemString(d
,"PAPER_LETTER_PLUS", SWIG_From_int((int)(wxPAPER_LETTER_PLUS
)));
49342 PyDict_SetItemString(d
,"PAPER_A4_PLUS", SWIG_From_int((int)(wxPAPER_A4_PLUS
)));
49345 PyDict_SetItemString(d
,"PAPER_A5_TRANSVERSE", SWIG_From_int((int)(wxPAPER_A5_TRANSVERSE
)));
49348 PyDict_SetItemString(d
,"PAPER_B5_TRANSVERSE", SWIG_From_int((int)(wxPAPER_B5_TRANSVERSE
)));
49351 PyDict_SetItemString(d
,"PAPER_A3_EXTRA", SWIG_From_int((int)(wxPAPER_A3_EXTRA
)));
49354 PyDict_SetItemString(d
,"PAPER_A5_EXTRA", SWIG_From_int((int)(wxPAPER_A5_EXTRA
)));
49357 PyDict_SetItemString(d
,"PAPER_B5_EXTRA", SWIG_From_int((int)(wxPAPER_B5_EXTRA
)));
49360 PyDict_SetItemString(d
,"PAPER_A2", SWIG_From_int((int)(wxPAPER_A2
)));
49363 PyDict_SetItemString(d
,"PAPER_A3_TRANSVERSE", SWIG_From_int((int)(wxPAPER_A3_TRANSVERSE
)));
49366 PyDict_SetItemString(d
,"PAPER_A3_EXTRA_TRANSVERSE", SWIG_From_int((int)(wxPAPER_A3_EXTRA_TRANSVERSE
)));
49369 PyDict_SetItemString(d
,"DUPLEX_SIMPLEX", SWIG_From_int((int)(wxDUPLEX_SIMPLEX
)));
49372 PyDict_SetItemString(d
,"DUPLEX_HORIZONTAL", SWIG_From_int((int)(wxDUPLEX_HORIZONTAL
)));
49375 PyDict_SetItemString(d
,"DUPLEX_VERTICAL", SWIG_From_int((int)(wxDUPLEX_VERTICAL
)));
49378 PyDict_SetItemString(d
,"ITEM_SEPARATOR", SWIG_From_int((int)(wxITEM_SEPARATOR
)));
49381 PyDict_SetItemString(d
,"ITEM_NORMAL", SWIG_From_int((int)(wxITEM_NORMAL
)));
49384 PyDict_SetItemString(d
,"ITEM_CHECK", SWIG_From_int((int)(wxITEM_CHECK
)));
49387 PyDict_SetItemString(d
,"ITEM_RADIO", SWIG_From_int((int)(wxITEM_RADIO
)));
49390 PyDict_SetItemString(d
,"ITEM_MAX", SWIG_From_int((int)(wxITEM_MAX
)));
49393 PyDict_SetItemString(d
,"HT_NOWHERE", SWIG_From_int((int)(wxHT_NOWHERE
)));
49396 PyDict_SetItemString(d
,"HT_SCROLLBAR_FIRST", SWIG_From_int((int)(wxHT_SCROLLBAR_FIRST
)));
49399 PyDict_SetItemString(d
,"HT_SCROLLBAR_ARROW_LINE_1", SWIG_From_int((int)(wxHT_SCROLLBAR_ARROW_LINE_1
)));
49402 PyDict_SetItemString(d
,"HT_SCROLLBAR_ARROW_LINE_2", SWIG_From_int((int)(wxHT_SCROLLBAR_ARROW_LINE_2
)));
49405 PyDict_SetItemString(d
,"HT_SCROLLBAR_ARROW_PAGE_1", SWIG_From_int((int)(wxHT_SCROLLBAR_ARROW_PAGE_1
)));
49408 PyDict_SetItemString(d
,"HT_SCROLLBAR_ARROW_PAGE_2", SWIG_From_int((int)(wxHT_SCROLLBAR_ARROW_PAGE_2
)));
49411 PyDict_SetItemString(d
,"HT_SCROLLBAR_THUMB", SWIG_From_int((int)(wxHT_SCROLLBAR_THUMB
)));
49414 PyDict_SetItemString(d
,"HT_SCROLLBAR_BAR_1", SWIG_From_int((int)(wxHT_SCROLLBAR_BAR_1
)));
49417 PyDict_SetItemString(d
,"HT_SCROLLBAR_BAR_2", SWIG_From_int((int)(wxHT_SCROLLBAR_BAR_2
)));
49420 PyDict_SetItemString(d
,"HT_SCROLLBAR_LAST", SWIG_From_int((int)(wxHT_SCROLLBAR_LAST
)));
49423 PyDict_SetItemString(d
,"HT_WINDOW_OUTSIDE", SWIG_From_int((int)(wxHT_WINDOW_OUTSIDE
)));
49426 PyDict_SetItemString(d
,"HT_WINDOW_INSIDE", SWIG_From_int((int)(wxHT_WINDOW_INSIDE
)));
49429 PyDict_SetItemString(d
,"HT_WINDOW_VERT_SCROLLBAR", SWIG_From_int((int)(wxHT_WINDOW_VERT_SCROLLBAR
)));
49432 PyDict_SetItemString(d
,"HT_WINDOW_HORZ_SCROLLBAR", SWIG_From_int((int)(wxHT_WINDOW_HORZ_SCROLLBAR
)));
49435 PyDict_SetItemString(d
,"HT_WINDOW_CORNER", SWIG_From_int((int)(wxHT_WINDOW_CORNER
)));
49438 PyDict_SetItemString(d
,"HT_MAX", SWIG_From_int((int)(wxHT_MAX
)));
49441 PyDict_SetItemString(d
,"MOD_NONE", SWIG_From_int((int)(wxMOD_NONE
)));
49444 PyDict_SetItemString(d
,"MOD_ALT", SWIG_From_int((int)(wxMOD_ALT
)));
49447 PyDict_SetItemString(d
,"MOD_CONTROL", SWIG_From_int((int)(wxMOD_CONTROL
)));
49450 PyDict_SetItemString(d
,"MOD_SHIFT", SWIG_From_int((int)(wxMOD_SHIFT
)));
49453 PyDict_SetItemString(d
,"MOD_WIN", SWIG_From_int((int)(wxMOD_WIN
)));
49456 PyDict_SetItemString(d
,"UPDATE_UI_NONE", SWIG_From_int((int)(wxUPDATE_UI_NONE
)));
49459 PyDict_SetItemString(d
,"UPDATE_UI_RECURSE", SWIG_From_int((int)(wxUPDATE_UI_RECURSE
)));
49462 PyDict_SetItemString(d
,"UPDATE_UI_FROMIDLE", SWIG_From_int((int)(wxUPDATE_UI_FROMIDLE
)));
49464 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals
);
49465 SWIG_addvarlink(SWIG_globals
,(char*)"EmptyString",_wrap_EmptyString_get
, _wrap_EmptyString_set
);
49467 PyDict_SetItemString(d
,"BITMAP_TYPE_INVALID", SWIG_From_int((int)(wxBITMAP_TYPE_INVALID
)));
49470 PyDict_SetItemString(d
,"BITMAP_TYPE_BMP", SWIG_From_int((int)(wxBITMAP_TYPE_BMP
)));
49473 PyDict_SetItemString(d
,"BITMAP_TYPE_ICO", SWIG_From_int((int)(wxBITMAP_TYPE_ICO
)));
49476 PyDict_SetItemString(d
,"BITMAP_TYPE_CUR", SWIG_From_int((int)(wxBITMAP_TYPE_CUR
)));
49479 PyDict_SetItemString(d
,"BITMAP_TYPE_XBM", SWIG_From_int((int)(wxBITMAP_TYPE_XBM
)));
49482 PyDict_SetItemString(d
,"BITMAP_TYPE_XBM_DATA", SWIG_From_int((int)(wxBITMAP_TYPE_XBM_DATA
)));
49485 PyDict_SetItemString(d
,"BITMAP_TYPE_XPM", SWIG_From_int((int)(wxBITMAP_TYPE_XPM
)));
49488 PyDict_SetItemString(d
,"BITMAP_TYPE_XPM_DATA", SWIG_From_int((int)(wxBITMAP_TYPE_XPM_DATA
)));
49491 PyDict_SetItemString(d
,"BITMAP_TYPE_TIF", SWIG_From_int((int)(wxBITMAP_TYPE_TIF
)));
49494 PyDict_SetItemString(d
,"BITMAP_TYPE_GIF", SWIG_From_int((int)(wxBITMAP_TYPE_GIF
)));
49497 PyDict_SetItemString(d
,"BITMAP_TYPE_PNG", SWIG_From_int((int)(wxBITMAP_TYPE_PNG
)));
49500 PyDict_SetItemString(d
,"BITMAP_TYPE_JPEG", SWIG_From_int((int)(wxBITMAP_TYPE_JPEG
)));
49503 PyDict_SetItemString(d
,"BITMAP_TYPE_PNM", SWIG_From_int((int)(wxBITMAP_TYPE_PNM
)));
49506 PyDict_SetItemString(d
,"BITMAP_TYPE_PCX", SWIG_From_int((int)(wxBITMAP_TYPE_PCX
)));
49509 PyDict_SetItemString(d
,"BITMAP_TYPE_PICT", SWIG_From_int((int)(wxBITMAP_TYPE_PICT
)));
49512 PyDict_SetItemString(d
,"BITMAP_TYPE_ICON", SWIG_From_int((int)(wxBITMAP_TYPE_ICON
)));
49515 PyDict_SetItemString(d
,"BITMAP_TYPE_ANI", SWIG_From_int((int)(wxBITMAP_TYPE_ANI
)));
49518 PyDict_SetItemString(d
,"BITMAP_TYPE_IFF", SWIG_From_int((int)(wxBITMAP_TYPE_IFF
)));
49521 PyDict_SetItemString(d
,"BITMAP_TYPE_MACCURSOR", SWIG_From_int((int)(wxBITMAP_TYPE_MACCURSOR
)));
49524 PyDict_SetItemString(d
,"BITMAP_TYPE_ANY", SWIG_From_int((int)(wxBITMAP_TYPE_ANY
)));
49527 PyDict_SetItemString(d
,"CURSOR_NONE", SWIG_From_int((int)(wxCURSOR_NONE
)));
49530 PyDict_SetItemString(d
,"CURSOR_ARROW", SWIG_From_int((int)(wxCURSOR_ARROW
)));
49533 PyDict_SetItemString(d
,"CURSOR_RIGHT_ARROW", SWIG_From_int((int)(wxCURSOR_RIGHT_ARROW
)));
49536 PyDict_SetItemString(d
,"CURSOR_BULLSEYE", SWIG_From_int((int)(wxCURSOR_BULLSEYE
)));
49539 PyDict_SetItemString(d
,"CURSOR_CHAR", SWIG_From_int((int)(wxCURSOR_CHAR
)));
49542 PyDict_SetItemString(d
,"CURSOR_CROSS", SWIG_From_int((int)(wxCURSOR_CROSS
)));
49545 PyDict_SetItemString(d
,"CURSOR_HAND", SWIG_From_int((int)(wxCURSOR_HAND
)));
49548 PyDict_SetItemString(d
,"CURSOR_IBEAM", SWIG_From_int((int)(wxCURSOR_IBEAM
)));
49551 PyDict_SetItemString(d
,"CURSOR_LEFT_BUTTON", SWIG_From_int((int)(wxCURSOR_LEFT_BUTTON
)));
49554 PyDict_SetItemString(d
,"CURSOR_MAGNIFIER", SWIG_From_int((int)(wxCURSOR_MAGNIFIER
)));
49557 PyDict_SetItemString(d
,"CURSOR_MIDDLE_BUTTON", SWIG_From_int((int)(wxCURSOR_MIDDLE_BUTTON
)));
49560 PyDict_SetItemString(d
,"CURSOR_NO_ENTRY", SWIG_From_int((int)(wxCURSOR_NO_ENTRY
)));
49563 PyDict_SetItemString(d
,"CURSOR_PAINT_BRUSH", SWIG_From_int((int)(wxCURSOR_PAINT_BRUSH
)));
49566 PyDict_SetItemString(d
,"CURSOR_PENCIL", SWIG_From_int((int)(wxCURSOR_PENCIL
)));
49569 PyDict_SetItemString(d
,"CURSOR_POINT_LEFT", SWIG_From_int((int)(wxCURSOR_POINT_LEFT
)));
49572 PyDict_SetItemString(d
,"CURSOR_POINT_RIGHT", SWIG_From_int((int)(wxCURSOR_POINT_RIGHT
)));
49575 PyDict_SetItemString(d
,"CURSOR_QUESTION_ARROW", SWIG_From_int((int)(wxCURSOR_QUESTION_ARROW
)));
49578 PyDict_SetItemString(d
,"CURSOR_RIGHT_BUTTON", SWIG_From_int((int)(wxCURSOR_RIGHT_BUTTON
)));
49581 PyDict_SetItemString(d
,"CURSOR_SIZENESW", SWIG_From_int((int)(wxCURSOR_SIZENESW
)));
49584 PyDict_SetItemString(d
,"CURSOR_SIZENS", SWIG_From_int((int)(wxCURSOR_SIZENS
)));
49587 PyDict_SetItemString(d
,"CURSOR_SIZENWSE", SWIG_From_int((int)(wxCURSOR_SIZENWSE
)));
49590 PyDict_SetItemString(d
,"CURSOR_SIZEWE", SWIG_From_int((int)(wxCURSOR_SIZEWE
)));
49593 PyDict_SetItemString(d
,"CURSOR_SIZING", SWIG_From_int((int)(wxCURSOR_SIZING
)));
49596 PyDict_SetItemString(d
,"CURSOR_SPRAYCAN", SWIG_From_int((int)(wxCURSOR_SPRAYCAN
)));
49599 PyDict_SetItemString(d
,"CURSOR_WAIT", SWIG_From_int((int)(wxCURSOR_WAIT
)));
49602 PyDict_SetItemString(d
,"CURSOR_WATCH", SWIG_From_int((int)(wxCURSOR_WATCH
)));
49605 PyDict_SetItemString(d
,"CURSOR_BLANK", SWIG_From_int((int)(wxCURSOR_BLANK
)));
49608 PyDict_SetItemString(d
,"CURSOR_DEFAULT", SWIG_From_int((int)(wxCURSOR_DEFAULT
)));
49611 PyDict_SetItemString(d
,"CURSOR_COPY_ARROW", SWIG_From_int((int)(wxCURSOR_COPY_ARROW
)));
49614 PyDict_SetItemString(d
,"CURSOR_ARROWWAIT", SWIG_From_int((int)(wxCURSOR_ARROWWAIT
)));
49617 PyDict_SetItemString(d
,"CURSOR_MAX", SWIG_From_int((int)(wxCURSOR_MAX
)));
49619 SWIG_addvarlink(SWIG_globals
,(char*)"DefaultPosition",_wrap_DefaultPosition_get
, _wrap_DefaultPosition_set
);
49620 SWIG_addvarlink(SWIG_globals
,(char*)"DefaultSize",_wrap_DefaultSize_get
, _wrap_DefaultSize_set
);
49622 PyDict_SetItemString(d
,"FromStart", SWIG_From_int((int)(wxFromStart
)));
49625 PyDict_SetItemString(d
,"FromCurrent", SWIG_From_int((int)(wxFromCurrent
)));
49628 PyDict_SetItemString(d
,"FromEnd", SWIG_From_int((int)(wxFromEnd
)));
49631 wxPyPtrTypeMap_Add("wxInputStream", "wxPyInputStream");
49634 wxPyPtrTypeMap_Add("wxFileSystemHandler", "wxPyFileSystemHandler");
49637 PyDict_SetItemString(d
,"IMAGE_ALPHA_TRANSPARENT", SWIG_From_int((int)(wxIMAGE_ALPHA_TRANSPARENT
)));
49640 PyDict_SetItemString(d
,"IMAGE_ALPHA_THRESHOLD", SWIG_From_int((int)(wxIMAGE_ALPHA_THRESHOLD
)));
49643 PyDict_SetItemString(d
,"IMAGE_ALPHA_OPAQUE", SWIG_From_int((int)(wxIMAGE_ALPHA_OPAQUE
)));
49645 SWIG_addvarlink(SWIG_globals
,(char*)"NullImage",_wrap_NullImage_get
, _wrap_NullImage_set
);
49646 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_FILENAME",_wrap_IMAGE_OPTION_FILENAME_get
, _wrap_IMAGE_OPTION_FILENAME_set
);
49647 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_BMP_FORMAT",_wrap_IMAGE_OPTION_BMP_FORMAT_get
, _wrap_IMAGE_OPTION_BMP_FORMAT_set
);
49648 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_CUR_HOTSPOT_X",_wrap_IMAGE_OPTION_CUR_HOTSPOT_X_get
, _wrap_IMAGE_OPTION_CUR_HOTSPOT_X_set
);
49649 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_CUR_HOTSPOT_Y",_wrap_IMAGE_OPTION_CUR_HOTSPOT_Y_get
, _wrap_IMAGE_OPTION_CUR_HOTSPOT_Y_set
);
49650 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_RESOLUTION",_wrap_IMAGE_OPTION_RESOLUTION_get
, _wrap_IMAGE_OPTION_RESOLUTION_set
);
49651 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_RESOLUTIONX",_wrap_IMAGE_OPTION_RESOLUTIONX_get
, _wrap_IMAGE_OPTION_RESOLUTIONX_set
);
49652 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_RESOLUTIONY",_wrap_IMAGE_OPTION_RESOLUTIONY_get
, _wrap_IMAGE_OPTION_RESOLUTIONY_set
);
49653 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_RESOLUTIONUNIT",_wrap_IMAGE_OPTION_RESOLUTIONUNIT_get
, _wrap_IMAGE_OPTION_RESOLUTIONUNIT_set
);
49654 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_QUALITY",_wrap_IMAGE_OPTION_QUALITY_get
, _wrap_IMAGE_OPTION_QUALITY_set
);
49656 PyDict_SetItemString(d
,"IMAGE_RESOLUTION_INCHES", SWIG_From_int((int)(wxIMAGE_RESOLUTION_INCHES
)));
49659 PyDict_SetItemString(d
,"IMAGE_RESOLUTION_CM", SWIG_From_int((int)(wxIMAGE_RESOLUTION_CM
)));
49661 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_BITSPERSAMPLE",_wrap_IMAGE_OPTION_BITSPERSAMPLE_get
, _wrap_IMAGE_OPTION_BITSPERSAMPLE_set
);
49662 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_SAMPLESPERPIXEL",_wrap_IMAGE_OPTION_SAMPLESPERPIXEL_get
, _wrap_IMAGE_OPTION_SAMPLESPERPIXEL_set
);
49663 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_COMPRESSION",_wrap_IMAGE_OPTION_COMPRESSION_get
, _wrap_IMAGE_OPTION_COMPRESSION_set
);
49664 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_IMAGEDESCRIPTOR",_wrap_IMAGE_OPTION_IMAGEDESCRIPTOR_get
, _wrap_IMAGE_OPTION_IMAGEDESCRIPTOR_set
);
49665 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_PNG_FORMAT",_wrap_IMAGE_OPTION_PNG_FORMAT_get
, _wrap_IMAGE_OPTION_PNG_FORMAT_set
);
49666 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_PNG_BITDEPTH",_wrap_IMAGE_OPTION_PNG_BITDEPTH_get
, _wrap_IMAGE_OPTION_PNG_BITDEPTH_set
);
49668 PyDict_SetItemString(d
,"PNG_TYPE_COLOUR", SWIG_From_int((int)(wxPNG_TYPE_COLOUR
)));
49671 PyDict_SetItemString(d
,"PNG_TYPE_GREY", SWIG_From_int((int)(wxPNG_TYPE_GREY
)));
49674 PyDict_SetItemString(d
,"PNG_TYPE_GREY_RED", SWIG_From_int((int)(wxPNG_TYPE_GREY_RED
)));
49677 PyDict_SetItemString(d
,"BMP_24BPP", SWIG_From_int((int)(wxBMP_24BPP
)));
49680 PyDict_SetItemString(d
,"BMP_8BPP", SWIG_From_int((int)(wxBMP_8BPP
)));
49683 PyDict_SetItemString(d
,"BMP_8BPP_GREY", SWIG_From_int((int)(wxBMP_8BPP_GREY
)));
49686 PyDict_SetItemString(d
,"BMP_8BPP_GRAY", SWIG_From_int((int)(wxBMP_8BPP_GRAY
)));
49689 PyDict_SetItemString(d
,"BMP_8BPP_RED", SWIG_From_int((int)(wxBMP_8BPP_RED
)));
49692 PyDict_SetItemString(d
,"BMP_8BPP_PALETTE", SWIG_From_int((int)(wxBMP_8BPP_PALETTE
)));
49695 PyDict_SetItemString(d
,"BMP_4BPP", SWIG_From_int((int)(wxBMP_4BPP
)));
49698 PyDict_SetItemString(d
,"BMP_1BPP", SWIG_From_int((int)(wxBMP_1BPP
)));
49701 PyDict_SetItemString(d
,"BMP_1BPP_BW", SWIG_From_int((int)(wxBMP_1BPP_BW
)));
49704 PyDict_SetItemString(d
,"QUANTIZE_INCLUDE_WINDOWS_COLOURS", SWIG_From_int((int)(wxQUANTIZE_INCLUDE_WINDOWS_COLOURS
)));
49707 PyDict_SetItemString(d
,"QUANTIZE_FILL_DESTINATION_IMAGE", SWIG_From_int((int)(wxQUANTIZE_FILL_DESTINATION_IMAGE
)));
49710 PyDict_SetItemString(d
,"EVENT_PROPAGATE_NONE", SWIG_From_int((int)(wxEVENT_PROPAGATE_NONE
)));
49713 PyDict_SetItemString(d
,"EVENT_PROPAGATE_MAX", SWIG_From_int((int)(wxEVENT_PROPAGATE_MAX
)));
49715 PyDict_SetItemString(d
, "wxEVT_NULL", PyInt_FromLong(wxEVT_NULL
));
49716 PyDict_SetItemString(d
, "wxEVT_FIRST", PyInt_FromLong(wxEVT_FIRST
));
49717 PyDict_SetItemString(d
, "wxEVT_USER_FIRST", PyInt_FromLong(wxEVT_USER_FIRST
));
49718 PyDict_SetItemString(d
, "wxEVT_COMMAND_BUTTON_CLICKED", PyInt_FromLong(wxEVT_COMMAND_BUTTON_CLICKED
));
49719 PyDict_SetItemString(d
, "wxEVT_COMMAND_CHECKBOX_CLICKED", PyInt_FromLong(wxEVT_COMMAND_CHECKBOX_CLICKED
));
49720 PyDict_SetItemString(d
, "wxEVT_COMMAND_CHOICE_SELECTED", PyInt_FromLong(wxEVT_COMMAND_CHOICE_SELECTED
));
49721 PyDict_SetItemString(d
, "wxEVT_COMMAND_LISTBOX_SELECTED", PyInt_FromLong(wxEVT_COMMAND_LISTBOX_SELECTED
));
49722 PyDict_SetItemString(d
, "wxEVT_COMMAND_LISTBOX_DOUBLECLICKED", PyInt_FromLong(wxEVT_COMMAND_LISTBOX_DOUBLECLICKED
));
49723 PyDict_SetItemString(d
, "wxEVT_COMMAND_CHECKLISTBOX_TOGGLED", PyInt_FromLong(wxEVT_COMMAND_CHECKLISTBOX_TOGGLED
));
49724 PyDict_SetItemString(d
, "wxEVT_COMMAND_MENU_SELECTED", PyInt_FromLong(wxEVT_COMMAND_MENU_SELECTED
));
49725 PyDict_SetItemString(d
, "wxEVT_COMMAND_TOOL_CLICKED", PyInt_FromLong(wxEVT_COMMAND_TOOL_CLICKED
));
49726 PyDict_SetItemString(d
, "wxEVT_COMMAND_SLIDER_UPDATED", PyInt_FromLong(wxEVT_COMMAND_SLIDER_UPDATED
));
49727 PyDict_SetItemString(d
, "wxEVT_COMMAND_RADIOBOX_SELECTED", PyInt_FromLong(wxEVT_COMMAND_RADIOBOX_SELECTED
));
49728 PyDict_SetItemString(d
, "wxEVT_COMMAND_RADIOBUTTON_SELECTED", PyInt_FromLong(wxEVT_COMMAND_RADIOBUTTON_SELECTED
));
49729 PyDict_SetItemString(d
, "wxEVT_COMMAND_SCROLLBAR_UPDATED", PyInt_FromLong(wxEVT_COMMAND_SCROLLBAR_UPDATED
));
49730 PyDict_SetItemString(d
, "wxEVT_COMMAND_VLBOX_SELECTED", PyInt_FromLong(wxEVT_COMMAND_VLBOX_SELECTED
));
49731 PyDict_SetItemString(d
, "wxEVT_COMMAND_COMBOBOX_SELECTED", PyInt_FromLong(wxEVT_COMMAND_COMBOBOX_SELECTED
));
49732 PyDict_SetItemString(d
, "wxEVT_COMMAND_TOOL_RCLICKED", PyInt_FromLong(wxEVT_COMMAND_TOOL_RCLICKED
));
49733 PyDict_SetItemString(d
, "wxEVT_COMMAND_TOOL_ENTER", PyInt_FromLong(wxEVT_COMMAND_TOOL_ENTER
));
49734 PyDict_SetItemString(d
, "wxEVT_LEFT_DOWN", PyInt_FromLong(wxEVT_LEFT_DOWN
));
49735 PyDict_SetItemString(d
, "wxEVT_LEFT_UP", PyInt_FromLong(wxEVT_LEFT_UP
));
49736 PyDict_SetItemString(d
, "wxEVT_MIDDLE_DOWN", PyInt_FromLong(wxEVT_MIDDLE_DOWN
));
49737 PyDict_SetItemString(d
, "wxEVT_MIDDLE_UP", PyInt_FromLong(wxEVT_MIDDLE_UP
));
49738 PyDict_SetItemString(d
, "wxEVT_RIGHT_DOWN", PyInt_FromLong(wxEVT_RIGHT_DOWN
));
49739 PyDict_SetItemString(d
, "wxEVT_RIGHT_UP", PyInt_FromLong(wxEVT_RIGHT_UP
));
49740 PyDict_SetItemString(d
, "wxEVT_MOTION", PyInt_FromLong(wxEVT_MOTION
));
49741 PyDict_SetItemString(d
, "wxEVT_ENTER_WINDOW", PyInt_FromLong(wxEVT_ENTER_WINDOW
));
49742 PyDict_SetItemString(d
, "wxEVT_LEAVE_WINDOW", PyInt_FromLong(wxEVT_LEAVE_WINDOW
));
49743 PyDict_SetItemString(d
, "wxEVT_LEFT_DCLICK", PyInt_FromLong(wxEVT_LEFT_DCLICK
));
49744 PyDict_SetItemString(d
, "wxEVT_MIDDLE_DCLICK", PyInt_FromLong(wxEVT_MIDDLE_DCLICK
));
49745 PyDict_SetItemString(d
, "wxEVT_RIGHT_DCLICK", PyInt_FromLong(wxEVT_RIGHT_DCLICK
));
49746 PyDict_SetItemString(d
, "wxEVT_SET_FOCUS", PyInt_FromLong(wxEVT_SET_FOCUS
));
49747 PyDict_SetItemString(d
, "wxEVT_KILL_FOCUS", PyInt_FromLong(wxEVT_KILL_FOCUS
));
49748 PyDict_SetItemString(d
, "wxEVT_CHILD_FOCUS", PyInt_FromLong(wxEVT_CHILD_FOCUS
));
49749 PyDict_SetItemString(d
, "wxEVT_MOUSEWHEEL", PyInt_FromLong(wxEVT_MOUSEWHEEL
));
49750 PyDict_SetItemString(d
, "wxEVT_NC_LEFT_DOWN", PyInt_FromLong(wxEVT_NC_LEFT_DOWN
));
49751 PyDict_SetItemString(d
, "wxEVT_NC_LEFT_UP", PyInt_FromLong(wxEVT_NC_LEFT_UP
));
49752 PyDict_SetItemString(d
, "wxEVT_NC_MIDDLE_DOWN", PyInt_FromLong(wxEVT_NC_MIDDLE_DOWN
));
49753 PyDict_SetItemString(d
, "wxEVT_NC_MIDDLE_UP", PyInt_FromLong(wxEVT_NC_MIDDLE_UP
));
49754 PyDict_SetItemString(d
, "wxEVT_NC_RIGHT_DOWN", PyInt_FromLong(wxEVT_NC_RIGHT_DOWN
));
49755 PyDict_SetItemString(d
, "wxEVT_NC_RIGHT_UP", PyInt_FromLong(wxEVT_NC_RIGHT_UP
));
49756 PyDict_SetItemString(d
, "wxEVT_NC_MOTION", PyInt_FromLong(wxEVT_NC_MOTION
));
49757 PyDict_SetItemString(d
, "wxEVT_NC_ENTER_WINDOW", PyInt_FromLong(wxEVT_NC_ENTER_WINDOW
));
49758 PyDict_SetItemString(d
, "wxEVT_NC_LEAVE_WINDOW", PyInt_FromLong(wxEVT_NC_LEAVE_WINDOW
));
49759 PyDict_SetItemString(d
, "wxEVT_NC_LEFT_DCLICK", PyInt_FromLong(wxEVT_NC_LEFT_DCLICK
));
49760 PyDict_SetItemString(d
, "wxEVT_NC_MIDDLE_DCLICK", PyInt_FromLong(wxEVT_NC_MIDDLE_DCLICK
));
49761 PyDict_SetItemString(d
, "wxEVT_NC_RIGHT_DCLICK", PyInt_FromLong(wxEVT_NC_RIGHT_DCLICK
));
49762 PyDict_SetItemString(d
, "wxEVT_CHAR", PyInt_FromLong(wxEVT_CHAR
));
49763 PyDict_SetItemString(d
, "wxEVT_CHAR_HOOK", PyInt_FromLong(wxEVT_CHAR_HOOK
));
49764 PyDict_SetItemString(d
, "wxEVT_NAVIGATION_KEY", PyInt_FromLong(wxEVT_NAVIGATION_KEY
));
49765 PyDict_SetItemString(d
, "wxEVT_KEY_DOWN", PyInt_FromLong(wxEVT_KEY_DOWN
));
49766 PyDict_SetItemString(d
, "wxEVT_KEY_UP", PyInt_FromLong(wxEVT_KEY_UP
));
49767 PyDict_SetItemString(d
, "wxEVT_HOTKEY", PyInt_FromLong(wxEVT_HOTKEY
));
49768 PyDict_SetItemString(d
, "wxEVT_SET_CURSOR", PyInt_FromLong(wxEVT_SET_CURSOR
));
49769 PyDict_SetItemString(d
, "wxEVT_SCROLL_TOP", PyInt_FromLong(wxEVT_SCROLL_TOP
));
49770 PyDict_SetItemString(d
, "wxEVT_SCROLL_BOTTOM", PyInt_FromLong(wxEVT_SCROLL_BOTTOM
));
49771 PyDict_SetItemString(d
, "wxEVT_SCROLL_LINEUP", PyInt_FromLong(wxEVT_SCROLL_LINEUP
));
49772 PyDict_SetItemString(d
, "wxEVT_SCROLL_LINEDOWN", PyInt_FromLong(wxEVT_SCROLL_LINEDOWN
));
49773 PyDict_SetItemString(d
, "wxEVT_SCROLL_PAGEUP", PyInt_FromLong(wxEVT_SCROLL_PAGEUP
));
49774 PyDict_SetItemString(d
, "wxEVT_SCROLL_PAGEDOWN", PyInt_FromLong(wxEVT_SCROLL_PAGEDOWN
));
49775 PyDict_SetItemString(d
, "wxEVT_SCROLL_THUMBTRACK", PyInt_FromLong(wxEVT_SCROLL_THUMBTRACK
));
49776 PyDict_SetItemString(d
, "wxEVT_SCROLL_THUMBRELEASE", PyInt_FromLong(wxEVT_SCROLL_THUMBRELEASE
));
49777 PyDict_SetItemString(d
, "wxEVT_SCROLL_ENDSCROLL", PyInt_FromLong(wxEVT_SCROLL_ENDSCROLL
));
49778 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_TOP", PyInt_FromLong(wxEVT_SCROLLWIN_TOP
));
49779 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_BOTTOM", PyInt_FromLong(wxEVT_SCROLLWIN_BOTTOM
));
49780 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_LINEUP", PyInt_FromLong(wxEVT_SCROLLWIN_LINEUP
));
49781 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_LINEDOWN", PyInt_FromLong(wxEVT_SCROLLWIN_LINEDOWN
));
49782 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_PAGEUP", PyInt_FromLong(wxEVT_SCROLLWIN_PAGEUP
));
49783 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_PAGEDOWN", PyInt_FromLong(wxEVT_SCROLLWIN_PAGEDOWN
));
49784 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_THUMBTRACK", PyInt_FromLong(wxEVT_SCROLLWIN_THUMBTRACK
));
49785 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_THUMBRELEASE", PyInt_FromLong(wxEVT_SCROLLWIN_THUMBRELEASE
));
49786 PyDict_SetItemString(d
, "wxEVT_SIZE", PyInt_FromLong(wxEVT_SIZE
));
49787 PyDict_SetItemString(d
, "wxEVT_MOVE", PyInt_FromLong(wxEVT_MOVE
));
49788 PyDict_SetItemString(d
, "wxEVT_CLOSE_WINDOW", PyInt_FromLong(wxEVT_CLOSE_WINDOW
));
49789 PyDict_SetItemString(d
, "wxEVT_END_SESSION", PyInt_FromLong(wxEVT_END_SESSION
));
49790 PyDict_SetItemString(d
, "wxEVT_QUERY_END_SESSION", PyInt_FromLong(wxEVT_QUERY_END_SESSION
));
49791 PyDict_SetItemString(d
, "wxEVT_ACTIVATE_APP", PyInt_FromLong(wxEVT_ACTIVATE_APP
));
49792 PyDict_SetItemString(d
, "wxEVT_POWER", PyInt_FromLong(wxEVT_POWER
));
49793 PyDict_SetItemString(d
, "wxEVT_ACTIVATE", PyInt_FromLong(wxEVT_ACTIVATE
));
49794 PyDict_SetItemString(d
, "wxEVT_CREATE", PyInt_FromLong(wxEVT_CREATE
));
49795 PyDict_SetItemString(d
, "wxEVT_DESTROY", PyInt_FromLong(wxEVT_DESTROY
));
49796 PyDict_SetItemString(d
, "wxEVT_SHOW", PyInt_FromLong(wxEVT_SHOW
));
49797 PyDict_SetItemString(d
, "wxEVT_ICONIZE", PyInt_FromLong(wxEVT_ICONIZE
));
49798 PyDict_SetItemString(d
, "wxEVT_MAXIMIZE", PyInt_FromLong(wxEVT_MAXIMIZE
));
49799 PyDict_SetItemString(d
, "wxEVT_MOUSE_CAPTURE_CHANGED", PyInt_FromLong(wxEVT_MOUSE_CAPTURE_CHANGED
));
49800 PyDict_SetItemString(d
, "wxEVT_PAINT", PyInt_FromLong(wxEVT_PAINT
));
49801 PyDict_SetItemString(d
, "wxEVT_ERASE_BACKGROUND", PyInt_FromLong(wxEVT_ERASE_BACKGROUND
));
49802 PyDict_SetItemString(d
, "wxEVT_NC_PAINT", PyInt_FromLong(wxEVT_NC_PAINT
));
49803 PyDict_SetItemString(d
, "wxEVT_PAINT_ICON", PyInt_FromLong(wxEVT_PAINT_ICON
));
49804 PyDict_SetItemString(d
, "wxEVT_MENU_OPEN", PyInt_FromLong(wxEVT_MENU_OPEN
));
49805 PyDict_SetItemString(d
, "wxEVT_MENU_CLOSE", PyInt_FromLong(wxEVT_MENU_CLOSE
));
49806 PyDict_SetItemString(d
, "wxEVT_MENU_HIGHLIGHT", PyInt_FromLong(wxEVT_MENU_HIGHLIGHT
));
49807 PyDict_SetItemString(d
, "wxEVT_CONTEXT_MENU", PyInt_FromLong(wxEVT_CONTEXT_MENU
));
49808 PyDict_SetItemString(d
, "wxEVT_SYS_COLOUR_CHANGED", PyInt_FromLong(wxEVT_SYS_COLOUR_CHANGED
));
49809 PyDict_SetItemString(d
, "wxEVT_DISPLAY_CHANGED", PyInt_FromLong(wxEVT_DISPLAY_CHANGED
));
49810 PyDict_SetItemString(d
, "wxEVT_SETTING_CHANGED", PyInt_FromLong(wxEVT_SETTING_CHANGED
));
49811 PyDict_SetItemString(d
, "wxEVT_QUERY_NEW_PALETTE", PyInt_FromLong(wxEVT_QUERY_NEW_PALETTE
));
49812 PyDict_SetItemString(d
, "wxEVT_PALETTE_CHANGED", PyInt_FromLong(wxEVT_PALETTE_CHANGED
));
49813 PyDict_SetItemString(d
, "wxEVT_DROP_FILES", PyInt_FromLong(wxEVT_DROP_FILES
));
49814 PyDict_SetItemString(d
, "wxEVT_DRAW_ITEM", PyInt_FromLong(wxEVT_DRAW_ITEM
));
49815 PyDict_SetItemString(d
, "wxEVT_MEASURE_ITEM", PyInt_FromLong(wxEVT_MEASURE_ITEM
));
49816 PyDict_SetItemString(d
, "wxEVT_COMPARE_ITEM", PyInt_FromLong(wxEVT_COMPARE_ITEM
));
49817 PyDict_SetItemString(d
, "wxEVT_INIT_DIALOG", PyInt_FromLong(wxEVT_INIT_DIALOG
));
49818 PyDict_SetItemString(d
, "wxEVT_IDLE", PyInt_FromLong(wxEVT_IDLE
));
49819 PyDict_SetItemString(d
, "wxEVT_UPDATE_UI", PyInt_FromLong(wxEVT_UPDATE_UI
));
49820 PyDict_SetItemString(d
, "wxEVT_SIZING", PyInt_FromLong(wxEVT_SIZING
));
49821 PyDict_SetItemString(d
, "wxEVT_MOVING", PyInt_FromLong(wxEVT_MOVING
));
49822 PyDict_SetItemString(d
, "wxEVT_HIBERNATE", PyInt_FromLong(wxEVT_HIBERNATE
));
49823 PyDict_SetItemString(d
, "wxEVT_COMMAND_LEFT_CLICK", PyInt_FromLong(wxEVT_COMMAND_LEFT_CLICK
));
49824 PyDict_SetItemString(d
, "wxEVT_COMMAND_LEFT_DCLICK", PyInt_FromLong(wxEVT_COMMAND_LEFT_DCLICK
));
49825 PyDict_SetItemString(d
, "wxEVT_COMMAND_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_RIGHT_CLICK
));
49826 PyDict_SetItemString(d
, "wxEVT_COMMAND_RIGHT_DCLICK", PyInt_FromLong(wxEVT_COMMAND_RIGHT_DCLICK
));
49827 PyDict_SetItemString(d
, "wxEVT_COMMAND_SET_FOCUS", PyInt_FromLong(wxEVT_COMMAND_SET_FOCUS
));
49828 PyDict_SetItemString(d
, "wxEVT_COMMAND_KILL_FOCUS", PyInt_FromLong(wxEVT_COMMAND_KILL_FOCUS
));
49829 PyDict_SetItemString(d
, "wxEVT_COMMAND_ENTER", PyInt_FromLong(wxEVT_COMMAND_ENTER
));
49831 PyDict_SetItemString(d
,"MOUSE_BTN_ANY", SWIG_From_int((int)(wxMOUSE_BTN_ANY
)));
49834 PyDict_SetItemString(d
,"MOUSE_BTN_NONE", SWIG_From_int((int)(wxMOUSE_BTN_NONE
)));
49837 PyDict_SetItemString(d
,"MOUSE_BTN_LEFT", SWIG_From_int((int)(wxMOUSE_BTN_LEFT
)));
49840 PyDict_SetItemString(d
,"MOUSE_BTN_MIDDLE", SWIG_From_int((int)(wxMOUSE_BTN_MIDDLE
)));
49843 PyDict_SetItemString(d
,"MOUSE_BTN_RIGHT", SWIG_From_int((int)(wxMOUSE_BTN_RIGHT
)));
49846 PyDict_SetItemString(d
,"UPDATE_UI_PROCESS_ALL", SWIG_From_int((int)(wxUPDATE_UI_PROCESS_ALL
)));
49849 PyDict_SetItemString(d
,"UPDATE_UI_PROCESS_SPECIFIED", SWIG_From_int((int)(wxUPDATE_UI_PROCESS_SPECIFIED
)));
49852 PyDict_SetItemString(d
,"NavigationKeyEvent_IsBackward", SWIG_From_int((int)(wxNavigationKeyEvent::IsBackward
)));
49855 PyDict_SetItemString(d
,"NavigationKeyEvent_IsForward", SWIG_From_int((int)(wxNavigationKeyEvent::IsForward
)));
49858 PyDict_SetItemString(d
,"NavigationKeyEvent_WinChange", SWIG_From_int((int)(wxNavigationKeyEvent::WinChange
)));
49861 PyDict_SetItemString(d
,"NavigationKeyEvent_FromTab", SWIG_From_int((int)(wxNavigationKeyEvent::FromTab
)));
49864 PyDict_SetItemString(d
,"IDLE_PROCESS_ALL", SWIG_From_int((int)(wxIDLE_PROCESS_ALL
)));
49867 PyDict_SetItemString(d
,"IDLE_PROCESS_SPECIFIED", SWIG_From_int((int)(wxIDLE_PROCESS_SPECIFIED
)));
49869 PyDict_SetItemString(d
, "wxEVT_DATE_CHANGED", PyInt_FromLong(wxEVT_DATE_CHANGED
));
49871 PyDict_SetItemString(d
,"PYAPP_ASSERT_SUPPRESS", SWIG_From_int((int)(wxPYAPP_ASSERT_SUPPRESS
)));
49874 PyDict_SetItemString(d
,"PYAPP_ASSERT_EXCEPTION", SWIG_From_int((int)(wxPYAPP_ASSERT_EXCEPTION
)));
49877 PyDict_SetItemString(d
,"PYAPP_ASSERT_DIALOG", SWIG_From_int((int)(wxPYAPP_ASSERT_DIALOG
)));
49880 PyDict_SetItemString(d
,"PYAPP_ASSERT_LOG", SWIG_From_int((int)(wxPYAPP_ASSERT_LOG
)));
49883 PyDict_SetItemString(d
,"PRINT_WINDOWS", SWIG_From_int((int)(wxPRINT_WINDOWS
)));
49886 PyDict_SetItemString(d
,"PRINT_POSTSCRIPT", SWIG_From_int((int)(wxPRINT_POSTSCRIPT
)));
49888 SWIG_addvarlink(SWIG_globals
,(char*)"NullAcceleratorTable",_wrap_NullAcceleratorTable_get
, _wrap_NullAcceleratorTable_set
);
49889 SWIG_addvarlink(SWIG_globals
,(char*)"PanelNameStr",_wrap_PanelNameStr_get
, _wrap_PanelNameStr_set
);
49891 PyDict_SetItemString(d
,"WINDOW_VARIANT_NORMAL", SWIG_From_int((int)(wxWINDOW_VARIANT_NORMAL
)));
49894 PyDict_SetItemString(d
,"WINDOW_VARIANT_SMALL", SWIG_From_int((int)(wxWINDOW_VARIANT_SMALL
)));
49897 PyDict_SetItemString(d
,"WINDOW_VARIANT_MINI", SWIG_From_int((int)(wxWINDOW_VARIANT_MINI
)));
49900 PyDict_SetItemString(d
,"WINDOW_VARIANT_LARGE", SWIG_From_int((int)(wxWINDOW_VARIANT_LARGE
)));
49903 PyDict_SetItemString(d
,"WINDOW_VARIANT_MAX", SWIG_From_int((int)(wxWINDOW_VARIANT_MAX
)));
49905 SWIG_addvarlink(SWIG_globals
,(char*)"DefaultValidator",_wrap_DefaultValidator_get
, _wrap_DefaultValidator_set
);
49906 SWIG_addvarlink(SWIG_globals
,(char*)"ControlNameStr",_wrap_ControlNameStr_get
, _wrap_ControlNameStr_set
);
49908 PyDict_SetItemString(d
,"FLEX_GROWMODE_NONE", SWIG_From_int((int)(wxFLEX_GROWMODE_NONE
)));
49911 PyDict_SetItemString(d
,"FLEX_GROWMODE_SPECIFIED", SWIG_From_int((int)(wxFLEX_GROWMODE_SPECIFIED
)));
49914 PyDict_SetItemString(d
,"FLEX_GROWMODE_ALL", SWIG_From_int((int)(wxFLEX_GROWMODE_ALL
)));
49916 SWIG_addvarlink(SWIG_globals
,(char*)"DefaultSpan",_wrap_DefaultSpan_get
, _wrap_DefaultSpan_set
);
49918 PyDict_SetItemString(d
,"Left", SWIG_From_int((int)(wxLeft
)));
49921 PyDict_SetItemString(d
,"Top", SWIG_From_int((int)(wxTop
)));
49924 PyDict_SetItemString(d
,"Right", SWIG_From_int((int)(wxRight
)));
49927 PyDict_SetItemString(d
,"Bottom", SWIG_From_int((int)(wxBottom
)));
49930 PyDict_SetItemString(d
,"Width", SWIG_From_int((int)(wxWidth
)));
49933 PyDict_SetItemString(d
,"Height", SWIG_From_int((int)(wxHeight
)));
49936 PyDict_SetItemString(d
,"Centre", SWIG_From_int((int)(wxCentre
)));
49939 PyDict_SetItemString(d
,"Center", SWIG_From_int((int)(wxCenter
)));
49942 PyDict_SetItemString(d
,"CentreX", SWIG_From_int((int)(wxCentreX
)));
49945 PyDict_SetItemString(d
,"CentreY", SWIG_From_int((int)(wxCentreY
)));
49948 PyDict_SetItemString(d
,"Unconstrained", SWIG_From_int((int)(wxUnconstrained
)));
49951 PyDict_SetItemString(d
,"AsIs", SWIG_From_int((int)(wxAsIs
)));
49954 PyDict_SetItemString(d
,"PercentOf", SWIG_From_int((int)(wxPercentOf
)));
49957 PyDict_SetItemString(d
,"Above", SWIG_From_int((int)(wxAbove
)));
49960 PyDict_SetItemString(d
,"Below", SWIG_From_int((int)(wxBelow
)));
49963 PyDict_SetItemString(d
,"LeftOf", SWIG_From_int((int)(wxLeftOf
)));
49966 PyDict_SetItemString(d
,"RightOf", SWIG_From_int((int)(wxRightOf
)));
49969 PyDict_SetItemString(d
,"SameAs", SWIG_From_int((int)(wxSameAs
)));
49972 PyDict_SetItemString(d
,"Absolute", SWIG_From_int((int)(wxAbsolute
)));
49975 // Initialize threading, some globals and such
49979 // Although these are defined in __version__ they need to be here too so
49980 // that an assert can be done to ensure that the wxPython and the wxWindows
49982 PyDict_SetItemString(d
,"MAJOR_VERSION", PyInt_FromLong((long)wxMAJOR_VERSION
));
49983 PyDict_SetItemString(d
,"MINOR_VERSION", PyInt_FromLong((long)wxMINOR_VERSION
));
49984 PyDict_SetItemString(d
,"RELEASE_VERSION", PyInt_FromLong((long)wxRELEASE_NUMBER
));