1 /* ----------------------------------------------------------------------------
2 * This file was automatically generated by SWIG (http://www.swig.org).
5 * This file is not intended to be easily readable and contains a number of
6 * coding conventions designed to improve portability and efficiency. Do not make
7 * changes to this file unless you know what you are doing--modify the SWIG
8 * interface file instead.
9 * ----------------------------------------------------------------------------- */
14 template<class T
> class SwigValueWrapper
{
17 SwigValueWrapper() : tt(0) { }
18 SwigValueWrapper(const SwigValueWrapper
<T
>& rhs
) : tt(new T(*rhs
.tt
)) { }
19 SwigValueWrapper(const T
& t
) : tt(new T(t
)) { }
20 ~SwigValueWrapper() { delete tt
; }
21 SwigValueWrapper
& operator=(const T
& t
) { delete tt
; tt
= new T(t
); return *this; }
22 operator T
&() const { return *tt
; }
23 T
*operator&() { return tt
; }
25 SwigValueWrapper
& operator=(const SwigValueWrapper
<T
>& rhs
);
30 #ifndef SWIG_TEMPLATE_DISAMBIGUATOR
31 # if defined(__SUNPRO_CC)
32 # define SWIG_TEMPLATE_DISAMBIGUATOR template
34 # define SWIG_TEMPLATE_DISAMBIGUATOR
41 /***********************************************************************
44 * This file contains generic CAPI SWIG runtime support for pointer
47 ************************************************************************/
49 /* This should only be incremented when either the layout of swig_type_info changes,
50 or for whatever reason, the runtime changes incompatibly */
51 #define SWIG_RUNTIME_VERSION "1"
53 /* define SWIG_TYPE_TABLE_NAME as "SWIG_TYPE_TABLE" */
54 #ifdef SWIG_TYPE_TABLE
55 #define SWIG_QUOTE_STRING(x) #x
56 #define SWIG_EXPAND_AND_QUOTE_STRING(x) SWIG_QUOTE_STRING(x)
57 #define SWIG_TYPE_TABLE_NAME SWIG_EXPAND_AND_QUOTE_STRING(SWIG_TYPE_TABLE)
59 #define SWIG_TYPE_TABLE_NAME
65 #if defined(__cplusplus) || (defined(__GNUC__) && !defined(__STRICT_ANSI__))
66 # define SWIGINLINE inline
73 You can use the SWIGRUNTIME and SWIGRUNTIMEINLINE macros for
74 creating a static or dynamic library from the swig runtime code.
75 In 99.9% of the cases, swig just needs to declare them as 'static'.
77 But only do this if is strictly necessary, ie, if you have problems
78 with your compiler or so.
81 #define SWIGRUNTIME static
83 #ifndef SWIGRUNTIMEINLINE
84 #define SWIGRUNTIMEINLINE SWIGRUNTIME SWIGINLINE
91 typedef void *(*swig_converter_func
)(void *);
92 typedef struct swig_type_info
*(*swig_dycast_func
)(void **);
94 typedef struct swig_type_info
{
96 swig_converter_func converter
;
99 swig_dycast_func dcast
;
100 struct swig_type_info
*next
;
101 struct swig_type_info
*prev
;
105 Compare two type names skipping the space characters, therefore
106 "char*" == "char *" and "Class<int>" == "Class<int >", etc.
108 Return 0 when the two name types are equivalent, as in
109 strncmp, but skipping ' '.
112 SWIG_TypeNameComp(const char *f1
, const char *l1
,
113 const char *f2
, const char *l2
) {
114 for (;(f1
!= l1
) && (f2
!= l2
); ++f1
, ++f2
) {
115 while ((*f1
== ' ') && (f1
!= l1
)) ++f1
;
116 while ((*f2
== ' ') && (f2
!= l2
)) ++f2
;
117 if (*f1
!= *f2
) return *f1
- *f2
;
119 return (l1
- f1
) - (l2
- f2
);
123 Check type equivalence in a name list like <name1>|<name2>|...
126 SWIG_TypeEquiv(const char *nb
, const char *tb
) {
128 const char* te
= tb
+ strlen(tb
);
130 while (!equiv
&& *ne
) {
131 for (nb
= ne
; *ne
; ++ne
) {
132 if (*ne
== '|') break;
134 equiv
= SWIG_TypeNameComp(nb
, ne
, tb
, te
) == 0;
141 Register a type mapping with the type-checking
143 SWIGRUNTIME swig_type_info
*
144 SWIG_TypeRegisterTL(swig_type_info
**tl
, swig_type_info
*ti
) {
145 swig_type_info
*tc
, *head
, *ret
, *next
;
146 /* Check to see if this type has already been registered */
149 /* check simple type equivalence */
150 int typeequiv
= (strcmp(tc
->name
, ti
->name
) == 0);
151 /* check full type equivalence, resolving typedefs */
153 /* only if tc is not a typedef (no '|' on it) */
154 if (tc
->str
&& ti
->str
&& !strstr(tc
->str
,"|")) {
155 typeequiv
= SWIG_TypeEquiv(ti
->str
,tc
->str
);
159 /* Already exists in the table. Just add additional types to the list */
160 if (ti
->clientdata
) tc
->clientdata
= ti
->clientdata
;
174 /* Build linked lists */
178 /* Patch up the rest of the links */
185 if (next
) next
->prev
= head
;
194 SWIGRUNTIME swig_type_info
*
195 SWIG_TypeCheck(const char *c
, swig_type_info
*ty
) {
197 if (!ty
) return 0; /* Void pointer */
198 s
= ty
->next
; /* First element always just a name */
200 if (strcmp(s
->name
,c
) == 0) {
201 if (s
== ty
->next
) return s
;
202 /* Move s to the top of the linked list */
203 s
->prev
->next
= s
->next
;
205 s
->next
->prev
= s
->prev
;
207 /* Insert s as second element in the list */
209 if (ty
->next
) ty
->next
->prev
= s
;
215 } while (s
&& (s
!= ty
->next
));
220 Cast a pointer up an inheritance hierarchy
222 SWIGRUNTIMEINLINE
void *
223 SWIG_TypeCast(swig_type_info
*ty
, void *ptr
) {
224 return ((!ty
) || (!ty
->converter
)) ? ptr
: (*ty
->converter
)(ptr
);
228 Dynamic pointer casting. Down an inheritance hierarchy
230 SWIGRUNTIME swig_type_info
*
231 SWIG_TypeDynamicCast(swig_type_info
*ty
, void **ptr
) {
232 swig_type_info
*lastty
= ty
;
233 if (!ty
|| !ty
->dcast
) return ty
;
234 while (ty
&& (ty
->dcast
)) {
235 ty
= (*ty
->dcast
)(ptr
);
242 Return the name associated with this type
244 SWIGRUNTIMEINLINE
const char *
245 SWIG_TypeName(const swig_type_info
*ty
) {
250 Return the pretty name associated with this type,
251 that is an unmangled type name in a form presentable to the user.
253 SWIGRUNTIME
const char *
254 SWIG_TypePrettyName(const swig_type_info
*type
) {
255 /* The "str" field contains the equivalent pretty names of the
256 type, separated by vertical-bar characters. We choose
257 to print the last name, as it is often (?) the most
259 if (type
->str
!= NULL
) {
260 const char *last_name
= type
->str
;
262 for (s
= type
->str
; *s
; s
++)
263 if (*s
== '|') last_name
= s
+1;
271 Search for a swig_type_info structure
273 SWIGRUNTIME swig_type_info
*
274 SWIG_TypeQueryTL(swig_type_info
*tl
, const char *name
) {
275 swig_type_info
*ty
= tl
;
277 if (ty
->str
&& (SWIG_TypeEquiv(ty
->str
,name
))) return ty
;
278 if (ty
->name
&& (strcmp(name
,ty
->name
) == 0)) return ty
;
285 Set the clientdata field for a type
288 SWIG_TypeClientDataTL(swig_type_info
*tl
, swig_type_info
*ti
, void *clientdata
) {
289 swig_type_info
*tc
, *equiv
;
290 if (ti
->clientdata
) return;
291 /* if (ti->clientdata == clientdata) return; */
292 ti
->clientdata
= clientdata
;
295 if (!equiv
->converter
) {
298 if ((strcmp(tc
->name
, equiv
->name
) == 0))
299 SWIG_TypeClientDataTL(tl
,tc
,clientdata
);
308 Pack binary data into a string
311 SWIG_PackData(char *c
, void *ptr
, size_t sz
) {
312 static char hex
[17] = "0123456789abcdef";
313 unsigned char *u
= (unsigned char *) ptr
;
314 const unsigned char *eu
= u
+ sz
;
315 register unsigned char uu
;
316 for (; u
!= eu
; ++u
) {
318 *(c
++) = hex
[(uu
& 0xf0) >> 4];
319 *(c
++) = hex
[uu
& 0xf];
325 Unpack binary data from a string
327 SWIGRUNTIME
const char *
328 SWIG_UnpackData(const char *c
, void *ptr
, size_t sz
) {
329 register unsigned char *u
= (unsigned char *) ptr
;
330 register const unsigned char *eu
= u
+ sz
;
331 for (; u
!= eu
; ++u
) {
332 register int d
= *(c
++);
333 register unsigned char uu
= 0;
334 if ((d
>= '0') && (d
<= '9'))
335 uu
= ((d
- '0') << 4);
336 else if ((d
>= 'a') && (d
<= 'f'))
337 uu
= ((d
- ('a'-10)) << 4);
341 if ((d
>= '0') && (d
<= '9'))
343 else if ((d
>= 'a') && (d
<= 'f'))
344 uu
|= (d
- ('a'-10));
353 This function will propagate the clientdata field of type to any new
354 swig_type_info structures that have been added into the list of
355 equivalent types. It is like calling SWIG_TypeClientData(type,
356 clientdata) a second time.
359 SWIG_PropagateClientDataTL(swig_type_info
*tl
, swig_type_info
*type
) {
360 swig_type_info
*equiv
= type
->next
;
362 if (!type
->clientdata
) return;
364 if (!equiv
->converter
) {
367 if ((strcmp(tc
->name
, equiv
->name
) == 0) && !tc
->clientdata
)
368 SWIG_TypeClientDataTL(tl
,tc
, type
->clientdata
);
377 Pack 'void *' into a string buffer.
380 SWIG_PackVoidPtr(char *buff
, void *ptr
, const char *name
, size_t bsz
) {
382 if ((2*sizeof(void *) + 2) > bsz
) return 0;
384 r
= SWIG_PackData(r
,&ptr
,sizeof(void *));
385 if (strlen(name
) + 1 > (bsz
- (r
- buff
))) return 0;
390 SWIGRUNTIME
const char *
391 SWIG_UnpackVoidPtr(const char *c
, void **ptr
, const char *name
) {
393 if (strcmp(c
,"NULL") == 0) {
400 return SWIG_UnpackData(++c
,ptr
,sizeof(void *));
404 SWIG_PackDataName(char *buff
, void *ptr
, size_t sz
, const char *name
, size_t bsz
) {
406 size_t lname
= (name
? strlen(name
) : 0);
407 if ((2*sz
+ 2 + lname
) > bsz
) return 0;
409 r
= SWIG_PackData(r
,ptr
,sz
);
411 strncpy(r
,name
,lname
+1);
418 SWIGRUNTIME
const char *
419 SWIG_UnpackDataName(const char *c
, void *ptr
, size_t sz
, const char *name
) {
421 if (strcmp(c
,"NULL") == 0) {
428 return SWIG_UnpackData(++c
,ptr
,sz
);
435 /***********************************************************************
438 * This file contains generic SWIG runtime support for pointer
439 * type checking as well as a few commonly used macros to control
442 * Author : David Beazley (beazley@cs.uchicago.edu)
444 * Copyright (c) 1999-2000, The University of Chicago
446 * This file may be freely redistributed without license or fee provided
447 * this copyright message remains intact.
448 ************************************************************************/
451 #if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
452 # if !defined(STATIC_LINKED)
453 # define SWIGEXPORT(a) __declspec(dllexport) a
455 # define SWIGEXPORT(a) a
458 # define SWIGEXPORT(a) a
466 /*************************************************************************/
469 /* The static type info list */
471 static swig_type_info
*swig_type_list
= 0;
472 static swig_type_info
**swig_type_list_handle
= &swig_type_list
;
475 /* Register a type mapping with the type-checking */
476 static swig_type_info
*
477 SWIG_TypeRegister(swig_type_info
*ti
) {
478 return SWIG_TypeRegisterTL(swig_type_list_handle
, ti
);
481 /* Search for a swig_type_info structure */
482 static swig_type_info
*
483 SWIG_TypeQuery(const char *name
) {
484 return SWIG_TypeQueryTL(*swig_type_list_handle
, name
);
487 /* Set the clientdata field for a type */
489 SWIG_TypeClientData(swig_type_info
*ti
, void *clientdata
) {
490 SWIG_TypeClientDataTL(*swig_type_list_handle
, ti
, clientdata
);
493 /* This function will propagate the clientdata field of type to
494 * any new swig_type_info structures that have been added into the list
495 * of equivalent types. It is like calling
496 * SWIG_TypeClientData(type, clientdata) a second time.
499 SWIG_PropagateClientData(swig_type_info
*type
) {
500 SWIG_PropagateClientDataTL(*swig_type_list_handle
, type
);
507 /* -----------------------------------------------------------------------------
508 * SWIG API. Portion that goes into the runtime
509 * ----------------------------------------------------------------------------- */
515 /* -----------------------------------------------------------------------------
516 * for internal method declarations
517 * ----------------------------------------------------------------------------- */
520 #define SWIGINTERN static
523 #ifndef SWIGINTERNSHORT
525 #define SWIGINTERNSHORT static inline
527 #define SWIGINTERNSHORT static
528 #endif /* __cplusplus */
533 Exception handling in wrappers
535 #define SWIG_fail goto fail
536 #define SWIG_arg_fail(arg) SWIG_Python_ArgFail(arg)
537 #define SWIG_append_errmsg(msg) SWIG_Python_AddErrMesg(msg,0)
538 #define SWIG_preppend_errmsg(msg) SWIG_Python_AddErrMesg(msg,1)
539 #define SWIG_type_error(type,obj) SWIG_Python_TypeError(type,obj)
540 #define SWIG_null_ref(type) SWIG_Python_NullRef(type)
545 #define SWIG_contract_assert(expr, msg) \
546 if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, (char *) msg ); goto fail; } else
548 /* -----------------------------------------------------------------------------
549 * Constant declarations
550 * ----------------------------------------------------------------------------- */
553 #define SWIG_PY_INT 1
554 #define SWIG_PY_FLOAT 2
555 #define SWIG_PY_STRING 3
556 #define SWIG_PY_POINTER 4
557 #define SWIG_PY_BINARY 5
559 /* Constant information structure */
560 typedef struct swig_const_info
{
566 swig_type_info
**ptype
;
570 /* -----------------------------------------------------------------------------
571 * Alloc. memory flags
572 * ----------------------------------------------------------------------------- */
573 #define SWIG_OLDOBJ 1
574 #define SWIG_NEWOBJ SWIG_OLDOBJ + 1
575 #define SWIG_PYSTR SWIG_NEWOBJ + 1
582 /***********************************************************************
585 * This file contains the runtime support for Python modules
586 * and includes code for managing global variables and pointer
589 * Author : David Beazley (beazley@cs.uchicago.edu)
590 ************************************************************************/
592 /* Common SWIG API */
593 #define SWIG_ConvertPtr(obj, pp, type, flags) SWIG_Python_ConvertPtr(obj, pp, type, flags)
594 #define SWIG_NewPointerObj(p, type, flags) SWIG_Python_NewPointerObj(p, type, flags)
595 #define SWIG_MustGetPtr(p, type, argnum, flags) SWIG_Python_MustGetPtr(p, type, argnum, flags)
598 /* Python-specific SWIG API */
599 #define SWIG_ConvertPacked(obj, ptr, sz, ty, flags) SWIG_Python_ConvertPacked(obj, ptr, sz, ty, flags)
600 #define SWIG_NewPackedObj(ptr, sz, type) SWIG_Python_NewPackedObj(ptr, sz, type)
603 /* -----------------------------------------------------------------------------
604 * Pointer declarations
605 * ----------------------------------------------------------------------------- */
607 Use SWIG_NO_COBJECT_TYPES to force the use of strings to represent
608 C/C++ pointers in the python side. Very useful for debugging, but
611 #if !defined(SWIG_NO_COBJECT_TYPES) && !defined(SWIG_COBJECT_TYPES)
612 # define SWIG_COBJECT_TYPES
615 /* Flags for pointer conversion */
616 #define SWIG_POINTER_EXCEPTION 0x1
617 #define SWIG_POINTER_DISOWN 0x2
624 /* -----------------------------------------------------------------------------
625 * Create a new pointer string
626 * ----------------------------------------------------------------------------- */
628 #ifndef SWIG_BUFFER_SIZE
629 #define SWIG_BUFFER_SIZE 1024
632 #if defined(SWIG_COBJECT_TYPES)
633 #if !defined(SWIG_COBJECT_PYTHON)
634 /* -----------------------------------------------------------------------------
635 * Implements a simple Swig Object type, and use it instead of PyCObject
636 * ----------------------------------------------------------------------------- */
644 /* Declarations for objects of type PySwigObject */
647 PySwigObject_print(PySwigObject
*v
, FILE *fp
, int flags
)
649 char result
[SWIG_BUFFER_SIZE
];
650 if (SWIG_PackVoidPtr(result
, v
->ptr
, v
->desc
, sizeof(result
))) {
651 fputs("<Swig Object at ", fp
); fputs(result
, fp
); fputs(">", fp
);
658 SWIGRUNTIME PyObject
*
659 PySwigObject_repr(PySwigObject
*v
)
661 char result
[SWIG_BUFFER_SIZE
];
662 return SWIG_PackVoidPtr(result
, v
->ptr
, v
->desc
, sizeof(result
)) ?
663 PyString_FromFormat("<Swig Object at %s>", result
) : 0;
666 SWIGRUNTIME PyObject
*
667 PySwigObject_str(PySwigObject
*v
)
669 char result
[SWIG_BUFFER_SIZE
];
670 return SWIG_PackVoidPtr(result
, v
->ptr
, v
->desc
, sizeof(result
)) ?
671 PyString_FromString(result
) : 0;
674 SWIGRUNTIME PyObject
*
675 PySwigObject_long(PySwigObject
*v
)
677 return PyLong_FromUnsignedLong((unsigned long) v
->ptr
);
680 SWIGRUNTIME PyObject
*
681 PySwigObject_oct(PySwigObject
*v
)
684 unsigned long x
= (unsigned long)v
->ptr
;
688 PyOS_snprintf(buf
, sizeof(buf
), "0%lo", x
);
689 return PyString_FromString(buf
);
692 SWIGRUNTIME PyObject
*
693 PySwigObject_hex(PySwigObject
*v
)
696 PyOS_snprintf(buf
, sizeof(buf
), "0x%lx", (unsigned long)v
->ptr
);
697 return PyString_FromString(buf
);
701 PySwigObject_compare(PySwigObject
*v
, PySwigObject
*w
)
703 int c
= strcmp(v
->desc
, w
->desc
);
709 return (i
< j
) ? -1 : (i
> j
) ? 1 : 0;
714 PySwigObject_dealloc(PySwigObject
*self
)
719 SWIGRUNTIME PyTypeObject
*
720 PySwigObject_GetType() {
721 static char PySwigObject_Type__doc__
[] =
722 "Swig object carries a C/C++ instance pointer";
724 static PyNumberMethods PySwigObject_as_number
= {
725 (binaryfunc
)0, /*nb_add*/
726 (binaryfunc
)0, /*nb_subtract*/
727 (binaryfunc
)0, /*nb_multiply*/
728 (binaryfunc
)0, /*nb_divide*/
729 (binaryfunc
)0, /*nb_remainder*/
730 (binaryfunc
)0, /*nb_divmod*/
731 (ternaryfunc
)0,/*nb_power*/
732 (unaryfunc
)0, /*nb_negative*/
733 (unaryfunc
)0, /*nb_positive*/
734 (unaryfunc
)0, /*nb_absolute*/
735 (inquiry
)0, /*nb_nonzero*/
742 (coercion
)0, /*nb_coerce*/
743 (unaryfunc
)PySwigObject_long
, /*nb_int*/
744 (unaryfunc
)PySwigObject_long
, /*nb_long*/
745 (unaryfunc
)0, /*nb_float*/
746 (unaryfunc
)PySwigObject_oct
, /*nb_oct*/
747 (unaryfunc
)PySwigObject_hex
, /*nb_hex*/
748 #if PY_VERSION_HEX >= 0x02000000
749 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_true_divide */
753 static int type_init
= 0;
754 static PyTypeObject PySwigObject_Type
;
758 PyObject_HEAD_INIT(&PyType_Type
)
760 "PySwigObject", /*tp_name*/
761 sizeof(PySwigObject
), /*tp_basicsize*/
764 (destructor
)PySwigObject_dealloc
, /*tp_dealloc*/
765 (printfunc
)PySwigObject_print
, /*tp_print*/
766 (getattrfunc
)0, /*tp_getattr*/
767 (setattrfunc
)0, /*tp_setattr*/
768 (cmpfunc
)PySwigObject_compare
, /*tp_compare*/
769 (reprfunc
)PySwigObject_repr
, /*tp_repr*/
770 &PySwigObject_as_number
, /*tp_as_number*/
771 0, /*tp_as_sequence*/
773 (hashfunc
)0, /*tp_hash*/
774 (ternaryfunc
)0, /*tp_call*/
775 (reprfunc
)PySwigObject_str
, /*tp_str*/
776 /* Space for future expansion */
778 PySwigObject_Type__doc__
, /* Documentation string */
779 #if PY_VERSION_HEX >= 0x02000000
783 #if PY_VERSION_HEX >= 0x02010000
784 0, /* tp_richcompare */
785 0, /* tp_weaklistoffset */
787 #if PY_VERSION_HEX >= 0x02020000
788 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
790 #if PY_VERSION_HEX >= 0x02030000
794 0,0,0,0 /* tp_alloc -> tp_next */
798 PySwigObject_Type
= tmp
;
802 return &PySwigObject_Type
;
805 SWIGRUNTIME PyObject
*
806 PySwigObject_FromVoidPtrAndDesc(void *ptr
, const char *desc
)
808 PySwigObject
*self
= PyObject_NEW(PySwigObject
, PySwigObject_GetType());
809 if (self
== NULL
) return NULL
;
812 return (PyObject
*)self
;
815 SWIGRUNTIMEINLINE
void *
816 PySwigObject_AsVoidPtr(PyObject
*self
)
818 return ((PySwigObject
*)self
)->ptr
;
821 SWIGRUNTIMEINLINE
const char *
822 PySwigObject_GetDesc(PyObject
*self
)
824 return ((PySwigObject
*)self
)->desc
;
827 SWIGRUNTIMEINLINE
int
828 PySwigObject_Check(PyObject
*op
) {
829 return ((op
)->ob_type
== PySwigObject_GetType())
830 || (strcmp((op
)->ob_type
->tp_name
,"PySwigObject") == 0);
833 /* -----------------------------------------------------------------------------
834 * Implements a simple Swig Packed type, and use it instead of string
835 * ----------------------------------------------------------------------------- */
845 PySwigPacked_print(PySwigPacked
*v
, FILE *fp
, int flags
)
847 char result
[SWIG_BUFFER_SIZE
];
848 fputs("<Swig Packed ", fp
);
849 if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))) {
858 SWIGRUNTIME PyObject
*
859 PySwigPacked_repr(PySwigPacked
*v
)
861 char result
[SWIG_BUFFER_SIZE
];
862 if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))) {
863 return PyString_FromFormat("<Swig Packed at %s%s>", result
, v
->desc
);
865 return PyString_FromFormat("<Swig Packed %s>", v
->desc
);
869 SWIGRUNTIME PyObject
*
870 PySwigPacked_str(PySwigPacked
*v
)
872 char result
[SWIG_BUFFER_SIZE
];
873 if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))){
874 return PyString_FromFormat("%s%s", result
, v
->desc
);
876 return PyString_FromFormat("%s", v
->desc
);
881 PySwigPacked_compare(PySwigPacked
*v
, PySwigPacked
*w
)
883 int c
= strcmp(v
->desc
, w
->desc
);
889 int s
= (i
< j
) ? -1 : (i
> j
) ? 1 : 0;
890 return s
? s
: strncmp((char *)v
->pack
, (char *)w
->pack
, 2*v
->size
);
895 PySwigPacked_dealloc(PySwigPacked
*self
)
901 SWIGRUNTIME PyTypeObject
*
902 PySwigPacked_GetType() {
903 static char PySwigPacked_Type__doc__
[] =
904 "Swig object carries a C/C++ instance pointer";
905 static int type_init
= 0;
907 static PyTypeObject PySwigPacked_Type
;
910 PyObject_HEAD_INIT(&PyType_Type
)
912 "PySwigPacked", /*tp_name*/
913 sizeof(PySwigPacked
), /*tp_basicsize*/
916 (destructor
)PySwigPacked_dealloc
, /*tp_dealloc*/
917 (printfunc
)PySwigPacked_print
, /*tp_print*/
918 (getattrfunc
)0, /*tp_getattr*/
919 (setattrfunc
)0, /*tp_setattr*/
920 (cmpfunc
)PySwigPacked_compare
, /*tp_compare*/
921 (reprfunc
)PySwigPacked_repr
, /*tp_repr*/
923 0, /*tp_as_sequence*/
925 (hashfunc
)0, /*tp_hash*/
926 (ternaryfunc
)0, /*tp_call*/
927 (reprfunc
)PySwigPacked_str
, /*tp_str*/
928 /* Space for future expansion */
930 PySwigPacked_Type__doc__
, /* Documentation string */
931 #if PY_VERSION_HEX >= 0x02000000
935 #if PY_VERSION_HEX >= 0x02010000
936 0, /* tp_richcompare */
937 0, /* tp_weaklistoffset */
939 #if PY_VERSION_HEX >= 0x02020000
940 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
942 #if PY_VERSION_HEX >= 0x02030000
946 0,0,0,0 /* tp_alloc -> tp_next */
950 PySwigPacked_Type
= tmp
;
956 return &PySwigPacked_Type
;
959 SWIGRUNTIME PyObject
*
960 PySwigPacked_FromDataAndDesc(void *ptr
, size_t size
, const char *desc
)
962 PySwigPacked
*self
= PyObject_NEW(PySwigPacked
, PySwigPacked_GetType());
966 void *pack
= malloc(size
);
967 memcpy(pack
, ptr
, size
);
971 return (PyObject
*) self
;
975 SWIGRUNTIMEINLINE
const char *
976 PySwigPacked_UnpackData(PyObject
*obj
, void *ptr
, size_t size
)
978 PySwigPacked
*self
= (PySwigPacked
*)obj
;
979 if (self
->size
!= size
) return 0;
980 memcpy(ptr
, self
->pack
, size
);
984 SWIGRUNTIMEINLINE
const char *
985 PySwigPacked_GetDesc(PyObject
*self
)
987 return ((PySwigPacked
*)self
)->desc
;
990 SWIGRUNTIMEINLINE
int
991 PySwigPacked_Check(PyObject
*op
) {
992 return ((op
)->ob_type
== PySwigPacked_GetType())
993 || (strcmp((op
)->ob_type
->tp_name
,"PySwigPacked") == 0);
997 /* -----------------------------------------------------------------------------
998 * Use the old Python PyCObject instead of PySwigObject
999 * ----------------------------------------------------------------------------- */
1001 #define PySwigObject_GetDesc(obj) PyCObject_GetDesc(obj)
1002 #define PySwigObject_Check(obj) PyCObject_Check(obj)
1003 #define PySwigObject_AsVoidPtr(obj) PyCObject_AsVoidPtr(obj)
1004 #define PySwigObject_FromVoidPtrAndDesc(p, d) PyCObject_FromVoidPtrAndDesc(p, d, NULL)
1010 /* -----------------------------------------------------------------------------
1011 * errors manipulation
1012 * ----------------------------------------------------------------------------- */
1015 SWIG_Python_TypeError(const char *type
, PyObject
*obj
)
1018 #if defined(SWIG_COBJECT_TYPES)
1019 if (PySwigObject_Check(obj
)) {
1020 const char *otype
= (const char *) PySwigObject_GetDesc(obj
);
1022 PyErr_Format(PyExc_TypeError
, "a '%s' is expected, 'PySwigObject(%s)' is received",
1029 const char *otype
= (obj
? obj
->ob_type
->tp_name
: 0);
1031 PyObject
*str
= PyObject_Str(obj
);
1032 const char *cstr
= str
? PyString_AsString(str
) : 0;
1034 PyErr_Format(PyExc_TypeError
, "a '%s' is expected, '%s(%s)' is received",
1037 PyErr_Format(PyExc_TypeError
, "a '%s' is expected, '%s' is received",
1044 PyErr_Format(PyExc_TypeError
, "a '%s' is expected", type
);
1046 PyErr_Format(PyExc_TypeError
, "unexpected type is received");
1050 SWIGRUNTIMEINLINE
void
1051 SWIG_Python_NullRef(const char *type
)
1054 PyErr_Format(PyExc_TypeError
, "null reference of type '%s' was received",type
);
1056 PyErr_Format(PyExc_TypeError
, "null reference was received");
1061 SWIG_Python_AddErrMesg(const char* mesg
, int infront
)
1063 if (PyErr_Occurred()) {
1065 PyObject
*value
= 0;
1066 PyObject
*traceback
= 0;
1067 PyErr_Fetch(&type
, &value
, &traceback
);
1069 PyObject
*old_str
= PyObject_Str(value
);
1073 PyErr_Format(type
, "%s %s", mesg
, PyString_AsString(old_str
));
1075 PyErr_Format(type
, "%s %s", PyString_AsString(old_str
), mesg
);
1086 SWIG_Python_ArgFail(int argnum
)
1088 if (PyErr_Occurred()) {
1089 /* add information about failing argument */
1091 sprintf(mesg
, "argument number %d:", argnum
);
1092 return SWIG_Python_AddErrMesg(mesg
, 1);
1099 /* -----------------------------------------------------------------------------
1100 * pointers/data manipulation
1101 * ----------------------------------------------------------------------------- */
1103 /* Convert a pointer value */
1105 SWIG_Python_ConvertPtr(PyObject
*obj
, void **ptr
, swig_type_info
*ty
, int flags
) {
1108 static PyObject
*SWIG_this
= 0;
1110 PyObject
*pyobj
= 0;
1114 if (obj
== Py_None
) {
1119 #ifdef SWIG_COBJECT_TYPES
1120 if (!(PySwigObject_Check(obj
))) {
1122 SWIG_this
= PyString_FromString("this");
1124 obj
= PyObject_GetAttr(obj
,SWIG_this
);
1126 if (!obj
) goto type_error
;
1127 if (!PySwigObject_Check(obj
)) {
1132 vptr
= PySwigObject_AsVoidPtr(obj
);
1133 c
= (const char *) PySwigObject_GetDesc(obj
);
1134 if (newref
) { Py_DECREF(obj
); }
1137 if (!(PyString_Check(obj
))) {
1139 SWIG_this
= PyString_FromString("this");
1141 obj
= PyObject_GetAttr(obj
,SWIG_this
);
1143 if (!obj
) goto type_error
;
1144 if (!PyString_Check(obj
)) {
1149 c
= PyString_AS_STRING(obj
);
1150 /* Pointer values must start with leading underscore */
1151 c
= SWIG_UnpackVoidPtr(c
, &vptr
, ty
->name
);
1152 if (newref
) { Py_DECREF(obj
); }
1153 if (!c
) goto type_error
;
1159 tc
= SWIG_TypeCheck(c
,ty
);
1160 if (!tc
) goto type_error
;
1161 *ptr
= SWIG_TypeCast(tc
,vptr
);
1166 if ((pyobj
) && (flags
& SWIG_POINTER_DISOWN
)) {
1167 PyObject_SetAttrString(pyobj
,(char*)"thisown",Py_False
);
1173 if (pyobj
&& !obj
) {
1175 if (PyCFunction_Check(obj
)) {
1176 /* here we get the method pointer for callbacks */
1177 char *doc
= (((PyCFunctionObject
*)obj
) -> m_ml
-> ml_doc
);
1178 c
= doc
? strstr(doc
, "swig_ptr: ") : 0;
1180 c
= SWIG_UnpackVoidPtr(c
+ 10, &vptr
, ty
->name
);
1181 if (!c
) goto type_error
;
1186 if (flags
& SWIG_POINTER_EXCEPTION
) {
1188 SWIG_Python_TypeError(SWIG_TypePrettyName(ty
), obj
);
1190 SWIG_Python_TypeError("C/C++ pointer", obj
);
1196 /* Convert a pointer value, signal an exception on a type mismatch */
1198 SWIG_Python_MustGetPtr(PyObject
*obj
, swig_type_info
*ty
, int argnum
, int flags
) {
1200 if (SWIG_Python_ConvertPtr(obj
, &result
, ty
, flags
) == -1) {
1202 if (flags
& SWIG_POINTER_EXCEPTION
) {
1203 SWIG_Python_TypeError(SWIG_TypePrettyName(ty
), obj
);
1204 SWIG_Python_ArgFail(argnum
);
1210 /* Convert a packed value value */
1212 SWIG_Python_ConvertPacked(PyObject
*obj
, void *ptr
, size_t sz
, swig_type_info
*ty
, int flags
) {
1216 #if defined(SWIG_COBJECT_TYPES) && !defined(SWIG_COBJECT_PYTHON)
1217 c
= PySwigPacked_UnpackData(obj
, ptr
, sz
);
1219 if ((!obj
) || (!PyString_Check(obj
))) goto type_error
;
1220 c
= PyString_AS_STRING(obj
);
1221 /* Pointer values must start with leading underscore */
1222 c
= SWIG_UnpackDataName(c
, ptr
, sz
, ty
->name
);
1224 if (!c
) goto type_error
;
1226 tc
= SWIG_TypeCheck(c
,ty
);
1227 if (!tc
) goto type_error
;
1233 if (flags
& SWIG_POINTER_EXCEPTION
) {
1235 SWIG_Python_TypeError(SWIG_TypePrettyName(ty
), obj
);
1237 SWIG_Python_TypeError("C/C++ packed data", obj
);
1243 /* Create a new array object */
1244 SWIGRUNTIME PyObject
*
1245 SWIG_Python_NewPointerObj(void *ptr
, swig_type_info
*type
, int own
) {
1251 #ifdef SWIG_COBJECT_TYPES
1252 robj
= PySwigObject_FromVoidPtrAndDesc((void *) ptr
, (char *)type
->name
);
1255 char result
[SWIG_BUFFER_SIZE
];
1256 robj
= SWIG_PackVoidPtr(result
, ptr
, type
->name
, sizeof(result
)) ?
1257 PyString_FromString(result
) : 0;
1260 if (!robj
|| (robj
== Py_None
)) return robj
;
1261 if (type
->clientdata
) {
1263 PyObject
*args
= Py_BuildValue((char*)"(O)", robj
);
1265 inst
= PyObject_CallObject((PyObject
*) type
->clientdata
, args
);
1269 PyObject_SetAttrString(inst
,(char*)"thisown",Py_True
);
1277 SWIGRUNTIME PyObject
*
1278 SWIG_Python_NewPackedObj(void *ptr
, size_t sz
, swig_type_info
*type
) {
1284 #if defined(SWIG_COBJECT_TYPES) && !defined(SWIG_COBJECT_PYTHON)
1285 robj
= PySwigPacked_FromDataAndDesc((void *) ptr
, sz
, (char *)type
->name
);
1288 char result
[SWIG_BUFFER_SIZE
];
1289 robj
= SWIG_PackDataName(result
, ptr
, sz
, type
->name
, sizeof(result
)) ?
1290 PyString_FromString(result
) : 0;
1296 /* -----------------------------------------------------------------------------*
1298 * -----------------------------------------------------------------------------*/
1300 #ifdef SWIG_LINK_RUNTIME
1301 void *SWIG_ReturnGlobalTypeList(void *);
1304 SWIGRUNTIME swig_type_info
**
1305 SWIG_Python_GetTypeListHandle() {
1306 static void *type_pointer
= (void *)0;
1307 /* first check if module already created */
1308 if (!type_pointer
) {
1309 #ifdef SWIG_LINK_RUNTIME
1310 type_pointer
= SWIG_ReturnGlobalTypeList((void *)0);
1312 type_pointer
= PyCObject_Import((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION
,
1313 (char*)"type_pointer" SWIG_TYPE_TABLE_NAME
);
1314 if (PyErr_Occurred()) {
1316 type_pointer
= (void *)0;
1320 return (swig_type_info
**) type_pointer
;
1324 Search for a swig_type_info structure
1326 SWIGRUNTIMEINLINE swig_type_info
*
1327 SWIG_Python_GetTypeList() {
1328 swig_type_info
**tlh
= SWIG_Python_GetTypeListHandle();
1329 return tlh
? *tlh
: (swig_type_info
*)0;
1332 #define SWIG_Runtime_GetTypeList SWIG_Python_GetTypeList
1339 /* -------- TYPES TABLE (BEGIN) -------- */
1341 #define SWIGTYPE_p_wxLayoutConstraints swig_types[0]
1342 #define SWIGTYPE_p_wxRealPoint swig_types[1]
1343 #define SWIGTYPE_p_wxSizerItem swig_types[2]
1344 #define SWIGTYPE_p_wxGBSizerItem swig_types[3]
1345 #define SWIGTYPE_p_wxScrollEvent swig_types[4]
1346 #define SWIGTYPE_p_wxEventLoop swig_types[5]
1347 #define SWIGTYPE_p_wxIndividualLayoutConstraint swig_types[6]
1348 #define SWIGTYPE_p_wxSizer swig_types[7]
1349 #define SWIGTYPE_p_wxBoxSizer swig_types[8]
1350 #define SWIGTYPE_p_wxStaticBoxSizer swig_types[9]
1351 #define SWIGTYPE_p_wxGridBagSizer swig_types[10]
1352 #define SWIGTYPE_p_wxAcceleratorEntry swig_types[11]
1353 #define SWIGTYPE_p_wxUpdateUIEvent swig_types[12]
1354 #define SWIGTYPE_p_wxEvent swig_types[13]
1355 #define SWIGTYPE_p_wxMenu swig_types[14]
1356 #define SWIGTYPE_p_wxGridSizer swig_types[15]
1357 #define SWIGTYPE_p_wxFlexGridSizer swig_types[16]
1358 #define SWIGTYPE_p_wxInitDialogEvent swig_types[17]
1359 #define SWIGTYPE_p_wxItemContainer swig_types[18]
1360 #define SWIGTYPE_p_wxNcPaintEvent swig_types[19]
1361 #define SWIGTYPE_p_wxPaintEvent swig_types[20]
1362 #define SWIGTYPE_p_wxSysColourChangedEvent swig_types[21]
1363 #define SWIGTYPE_p_wxMouseCaptureChangedEvent swig_types[22]
1364 #define SWIGTYPE_p_wxDisplayChangedEvent swig_types[23]
1365 #define SWIGTYPE_p_wxPaletteChangedEvent swig_types[24]
1366 #define SWIGTYPE_p_wxControl swig_types[25]
1367 #define SWIGTYPE_p_wxFont swig_types[26]
1368 #define SWIGTYPE_p_wxMenuBarBase swig_types[27]
1369 #define SWIGTYPE_p_wxSetCursorEvent swig_types[28]
1370 #define SWIGTYPE_p_wxFSFile swig_types[29]
1371 #define SWIGTYPE_p_wxCaret swig_types[30]
1372 #define SWIGTYPE_ptrdiff_t swig_types[31]
1373 #define SWIGTYPE_std__ptrdiff_t swig_types[32]
1374 #define SWIGTYPE_p_wxRegion swig_types[33]
1375 #define SWIGTYPE_p_wxPoint2D swig_types[34]
1376 #define SWIGTYPE_p_int swig_types[35]
1377 #define SWIGTYPE_p_wxSize swig_types[36]
1378 #define SWIGTYPE_p_wxDC swig_types[37]
1379 #define SWIGTYPE_p_wxPySizer swig_types[38]
1380 #define SWIGTYPE_p_wxVisualAttributes swig_types[39]
1381 #define SWIGTYPE_p_wxNotifyEvent swig_types[40]
1382 #define SWIGTYPE_p_wxPyEvent swig_types[41]
1383 #define SWIGTYPE_p_wxPropagationDisabler swig_types[42]
1384 #define SWIGTYPE_p_form_ops_t swig_types[43]
1385 #define SWIGTYPE_p_wxAppTraits swig_types[44]
1386 #define SWIGTYPE_p_wxArrayString swig_types[45]
1387 #define SWIGTYPE_p_wxShowEvent swig_types[46]
1388 #define SWIGTYPE_p_wxToolTip swig_types[47]
1389 #define SWIGTYPE_p_wxMoveEvent swig_types[48]
1390 #define SWIGTYPE_p_wxSizeEvent swig_types[49]
1391 #define SWIGTYPE_p_wxActivateEvent swig_types[50]
1392 #define SWIGTYPE_p_wxIconizeEvent swig_types[51]
1393 #define SWIGTYPE_p_wxMaximizeEvent swig_types[52]
1394 #define SWIGTYPE_p_wxQueryNewPaletteEvent swig_types[53]
1395 #define SWIGTYPE_p_wxWindowCreateEvent swig_types[54]
1396 #define SWIGTYPE_p_wxIdleEvent swig_types[55]
1397 #define SWIGTYPE_p_wxDateEvent swig_types[56]
1398 #define SWIGTYPE_p_wxMenuItem swig_types[57]
1399 #define SWIGTYPE_p_wxStaticBox swig_types[58]
1400 #define SWIGTYPE_p_long swig_types[59]
1401 #define SWIGTYPE_p_wxDuplexMode swig_types[60]
1402 #define SWIGTYPE_p_wxTIFFHandler swig_types[61]
1403 #define SWIGTYPE_p_wxXPMHandler swig_types[62]
1404 #define SWIGTYPE_p_wxPNMHandler swig_types[63]
1405 #define SWIGTYPE_p_wxJPEGHandler swig_types[64]
1406 #define SWIGTYPE_p_wxPCXHandler swig_types[65]
1407 #define SWIGTYPE_p_wxGIFHandler swig_types[66]
1408 #define SWIGTYPE_p_wxPNGHandler swig_types[67]
1409 #define SWIGTYPE_p_wxANIHandler swig_types[68]
1410 #define SWIGTYPE_p_wxMemoryFSHandler swig_types[69]
1411 #define SWIGTYPE_p_wxZipFSHandler swig_types[70]
1412 #define SWIGTYPE_p_wxInternetFSHandler swig_types[71]
1413 #define SWIGTYPE_p_wxPyFileSystemHandler swig_types[72]
1414 #define SWIGTYPE_p_wxEvtHandler swig_types[73]
1415 #define SWIGTYPE_p_wxCURHandler swig_types[74]
1416 #define SWIGTYPE_p_wxICOHandler swig_types[75]
1417 #define SWIGTYPE_p_wxBMPHandler swig_types[76]
1418 #define SWIGTYPE_p_wxImageHandler swig_types[77]
1419 #define SWIGTYPE_p_wxFileSystemHandler swig_types[78]
1420 #define SWIGTYPE_p_wxRect swig_types[79]
1421 #define SWIGTYPE_p_wxButton swig_types[80]
1422 #define SWIGTYPE_p_wxGBSpan swig_types[81]
1423 #define SWIGTYPE_p_wxPropagateOnce swig_types[82]
1424 #define SWIGTYPE_p_wxAcceleratorTable swig_types[83]
1425 #define SWIGTYPE_p_wxStdDialogButtonSizer swig_types[84]
1426 #define SWIGTYPE_p_char swig_types[85]
1427 #define SWIGTYPE_p_wxGBPosition swig_types[86]
1428 #define SWIGTYPE_p_wxImage swig_types[87]
1429 #define SWIGTYPE_p_wxFrame swig_types[88]
1430 #define SWIGTYPE_p_wxScrollWinEvent swig_types[89]
1431 #define SWIGTYPE_p_wxPaperSize swig_types[90]
1432 #define SWIGTYPE_p_wxImageHistogram swig_types[91]
1433 #define SWIGTYPE_p_wxPoint swig_types[92]
1434 #define SWIGTYPE_p_wxCursor swig_types[93]
1435 #define SWIGTYPE_p_wxObject swig_types[94]
1436 #define SWIGTYPE_p_wxInputStream swig_types[95]
1437 #define SWIGTYPE_p_wxOutputStream swig_types[96]
1438 #define SWIGTYPE_p_wxPyInputStream swig_types[97]
1439 #define SWIGTYPE_p_wxDateTime swig_types[98]
1440 #define SWIGTYPE_p_wxKeyEvent swig_types[99]
1441 #define SWIGTYPE_p_wxNavigationKeyEvent swig_types[100]
1442 #define SWIGTYPE_p_wxWindowDestroyEvent swig_types[101]
1443 #define SWIGTYPE_p_unsigned_long swig_types[102]
1444 #define SWIGTYPE_p_wxWindow swig_types[103]
1445 #define SWIGTYPE_p_wxMenuBar swig_types[104]
1446 #define SWIGTYPE_p_wxFileSystem swig_types[105]
1447 #define SWIGTYPE_p_wxBitmap swig_types[106]
1448 #define SWIGTYPE_unsigned_int swig_types[107]
1449 #define SWIGTYPE_p_unsigned_int swig_types[108]
1450 #define SWIGTYPE_p_wxMenuEvent swig_types[109]
1451 #define SWIGTYPE_p_wxContextMenuEvent swig_types[110]
1452 #define SWIGTYPE_p_unsigned_char swig_types[111]
1453 #define SWIGTYPE_p_wxEraseEvent swig_types[112]
1454 #define SWIGTYPE_p_wxMouseEvent swig_types[113]
1455 #define SWIGTYPE_p_wxCloseEvent swig_types[114]
1456 #define SWIGTYPE_p_wxPyApp swig_types[115]
1457 #define SWIGTYPE_p_wxCommandEvent swig_types[116]
1458 #define SWIGTYPE_p_wxPyCommandEvent swig_types[117]
1459 #define SWIGTYPE_p_wxPyDropTarget swig_types[118]
1460 #define SWIGTYPE_p_wxQuantize swig_types[119]
1461 #define SWIGTYPE_p_wxChildFocusEvent swig_types[120]
1462 #define SWIGTYPE_p_wxFocusEvent swig_types[121]
1463 #define SWIGTYPE_p_wxDropFilesEvent swig_types[122]
1464 #define SWIGTYPE_p_wxControlWithItems swig_types[123]
1465 #define SWIGTYPE_p_wxColour swig_types[124]
1466 #define SWIGTYPE_p_wxValidator swig_types[125]
1467 #define SWIGTYPE_p_wxPyValidator swig_types[126]
1468 static swig_type_info
*swig_types
[128];
1470 /* -------- TYPES TABLE (END) -------- */
1473 /*-----------------------------------------------
1474 @(target):= _core_.so
1475 ------------------------------------------------*/
1476 #define SWIG_init init_core_
1478 #define SWIG_name "_core_"
1480 #include "wx/wxPython/wxPython_int.h"
1481 #include "wx/wxPython/pyclasses.h"
1484 #ifndef wxPyUSE_EXPORT
1485 // Helper functions for dealing with SWIG objects and such. These are
1486 // located here so they know about the SWIG types and functions declared
1487 // in the wrapper code.
1489 #include <wx/hashmap.h>
1490 WX_DECLARE_STRING_HASH_MAP( swig_type_info
*, wxPyTypeInfoHashMap
);
1493 // Maintains a hashmap of className to swig_type_info pointers. Given the
1494 // name of a class either looks up the type info in the cache, or scans the
1495 // SWIG tables for it.
1496 extern PyObject
* wxPyPtrTypeMap
;
1498 swig_type_info
* wxPyFindSwigType(const wxChar
* className
) {
1500 static wxPyTypeInfoHashMap
* typeInfoCache
= NULL
;
1502 if (typeInfoCache
== NULL
)
1503 typeInfoCache
= new wxPyTypeInfoHashMap
;
1505 wxString
name(className
);
1506 swig_type_info
* swigType
= (*typeInfoCache
)[name
];
1509 // it wasn't in the cache, so look it up from SWIG
1510 name
.Append(wxT(" *"));
1511 swigType
= SWIG_TypeQuery(name
.mb_str());
1513 // if it still wasn't found, try looking for a mapped name
1518 if ((item
= PyDict_GetItemString(wxPyPtrTypeMap
,
1519 (char*)(const char*)name
.mbc_str())) != NULL
) {
1520 name
= wxString(PyString_AsString(item
), *wxConvCurrent
);
1521 name
.Append(wxT(" *"));
1522 swigType
= SWIG_TypeQuery(name
.mb_str());
1526 // and add it to the map if found
1527 (*typeInfoCache
)[className
] = swigType
;
1534 // Check if a class name is a type known to SWIG
1535 bool wxPyCheckSwigType(const wxChar
* className
) {
1537 swig_type_info
* swigType
= wxPyFindSwigType(className
);
1538 return swigType
!= NULL
;
1542 // Given a pointer to a C++ object and a class name, construct a Python proxy
1544 PyObject
* wxPyConstructObject(void* ptr
,
1545 const wxChar
* className
,
1548 swig_type_info
* swigType
= wxPyFindSwigType(className
);
1549 wxCHECK_MSG(swigType
!= NULL
, NULL
, wxT("Unknown type in wxPyConstructObject"));
1551 return SWIG_Python_NewPointerObj(ptr
, swigType
, setThisOwn
);
1555 // Extract a pointer to the wrapped C++ object from a Python proxy object.
1556 // Ensures that the proxy object is of the specified (or derived) type. If
1557 // not able to perform the conversion then a Python exception is set and the
1558 // error should be handled properly in the caller. Returns True on success.
1559 bool wxPyConvertSwigPtr(PyObject
* obj
, void **ptr
,
1560 const wxChar
* className
) {
1562 swig_type_info
* swigType
= wxPyFindSwigType(className
);
1563 wxCHECK_MSG(swigType
!= NULL
, false, wxT("Unknown type in wxPyConvertSwigPtr"));
1565 return SWIG_Python_ConvertPtr(obj
, ptr
, swigType
, SWIG_POINTER_EXCEPTION
) != -1;
1569 // Make a SWIGified pointer object suitable for a .this attribute
1570 PyObject
* wxPyMakeSwigPtr(void* ptr
, const wxChar
* className
) {
1572 PyObject
* robj
= NULL
;
1574 swig_type_info
* swigType
= wxPyFindSwigType(className
);
1575 wxCHECK_MSG(swigType
!= NULL
, NULL
, wxT("Unknown type in wxPyConvertSwigPtr"));
1577 #ifdef SWIG_COBJECT_TYPES
1578 robj
= PySwigObject_FromVoidPtrAndDesc((void *) ptr
, (char *)swigType
->name
);
1582 robj
= SWIG_PackVoidPtr(result
, ptr
, swigType
->name
, sizeof(result
)) ?
1583 PyString_FromString(result
) : 0;
1593 // Export a C API in a struct. Other modules will be able to load this from
1594 // the wx._core_ module and will then have safe access to these functions,
1595 // even if they are located in another shared library.
1596 static wxPyCoreAPI API
= {
1599 wxPyConstructObject
,
1603 wxPyBeginAllowThreads
,
1604 wxPyEndAllowThreads
,
1605 wxPyBeginBlockThreads
,
1606 wxPyEndBlockThreads
,
1618 wxPoint_LIST_helper
,
1619 wxBitmap_LIST_helper
,
1620 wxString_LIST_helper
,
1621 wxAcceleratorEntry_LIST_helper
,
1630 wxPySimple_typecheck
,
1633 wxPyCBH_setCallbackInfo
,
1634 wxPyCBH_findCallback
,
1635 wxPyCBH_callCallback
,
1636 wxPyCBH_callCallbackObj
,
1642 wxPy2int_seq_helper
,
1643 wxPy4int_seq_helper
,
1644 wxArrayString2PyList_helper
,
1645 wxArrayInt2PyList_helper
,
1647 wxPyClientData_dtor
,
1649 wxPyOORClientData_dtor
,
1651 wxPyCBInputStream_create
,
1654 wxPySwigInstance_Check
,
1663 #if !WXWIN_COMPATIBILITY_2_4
1664 #define wxHIDE_READONLY 0
1668 /*@c:\\PROJECTS\\SWIG-cvs\\Lib\\python\\pymacros.swg,66,SWIG_define@*/
1669 #define SWIG_From_int PyInt_FromLong
1674 enum wxHotkeyModifier
1682 #define wxEVT_HOTKEY 9999
1685 static const wxString
wxPyEmptyString(wxEmptyString
);
1686 static wxString
wxObject_GetClassName(wxObject
*self
){
1687 return self
->GetClassInfo()->GetClassName();
1689 static void wxObject_Destroy(wxObject
*self
){
1694 #define wxCURSOR_COPY_ARROW wxCURSOR_ARROW
1702 SWIG_CheckLongInRange(long value
, long min_value
, long max_value
,
1705 if (value
< min_value
) {
1707 PyErr_Format(PyExc_OverflowError
,
1708 "value %ld is less than '%s' minimum %ld",
1709 value
, errmsg
, min_value
);
1712 } else if (value
> max_value
) {
1714 PyErr_Format(PyExc_OverflowError
,
1715 "value %ld is greater than '%s' maximum %ld",
1716 value
, errmsg
, max_value
);
1725 SWIG_AsVal_long(PyObject
* obj
, long* val
)
1727 if (PyNumber_Check(obj
)) {
1728 if (val
) *val
= PyInt_AsLong(obj
);
1732 SWIG_type_error("number", obj
);
1738 #if INT_MAX != LONG_MAX
1740 SWIG_AsVal_int(PyObject
*obj
, int *val
)
1742 const char* errmsg
= val
? "int" : (char*)0;
1744 if (SWIG_AsVal_long(obj
, &v
)) {
1745 if (SWIG_CheckLongInRange(v
, INT_MIN
,INT_MAX
, errmsg
)) {
1746 if (val
) *val
= (int)(v
);
1755 SWIG_type_error(errmsg
, obj
);
1761 SWIG_AsVal_int(PyObject
*obj
, int *val
)
1763 return SWIG_AsVal_long(obj
,(long*)val
);
1769 SWIG_As_int(PyObject
* obj
)
1772 if (!SWIG_AsVal_int(obj
, &v
)) {
1774 this is needed to make valgrind/purify happier.
1776 memset((void*)&v
, 0, sizeof(int));
1783 SWIG_Check_int(PyObject
* obj
)
1785 return SWIG_AsVal_int(obj
, (int*)0);
1788 static PyObject
*wxSize_Get(wxSize
*self
){
1789 bool blocked
= wxPyBeginBlockThreads();
1790 PyObject
* tup
= PyTuple_New(2);
1791 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(self
->x
));
1792 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(self
->y
));
1793 wxPyEndBlockThreads(blocked
);
1798 SWIG_AsVal_double(PyObject
*obj
, double* val
)
1800 if (PyNumber_Check(obj
)) {
1801 if (val
) *val
= PyFloat_AsDouble(obj
);
1805 SWIG_type_error("number", obj
);
1811 SWIGINTERNSHORT
double
1812 SWIG_As_double(PyObject
* obj
)
1815 if (!SWIG_AsVal_double(obj
, &v
)) {
1817 this is needed to make valgrind/purify happier.
1819 memset((void*)&v
, 0, sizeof(double));
1826 SWIG_Check_double(PyObject
* obj
)
1828 return SWIG_AsVal_double(obj
, (double*)0);
1832 /*@c:\\PROJECTS\\SWIG-cvs\\Lib\\python\\pymacros.swg,66,SWIG_define@*/
1833 #define SWIG_From_double PyFloat_FromDouble
1836 static void wxRealPoint_Set(wxRealPoint
*self
,double x
,double y
){
1840 static PyObject
*wxRealPoint_Get(wxRealPoint
*self
){
1841 bool blocked
= wxPyBeginBlockThreads();
1842 PyObject
* tup
= PyTuple_New(2);
1843 PyTuple_SET_ITEM(tup
, 0, PyFloat_FromDouble(self
->x
));
1844 PyTuple_SET_ITEM(tup
, 1, PyFloat_FromDouble(self
->y
));
1845 wxPyEndBlockThreads(blocked
);
1849 SWIGINTERNSHORT
long
1850 SWIG_As_long(PyObject
* obj
)
1853 if (!SWIG_AsVal_long(obj
, &v
)) {
1855 this is needed to make valgrind/purify happier.
1857 memset((void*)&v
, 0, sizeof(long));
1864 SWIG_Check_long(PyObject
* obj
)
1866 return SWIG_AsVal_long(obj
, (long*)0);
1869 static void wxPoint_Set(wxPoint
*self
,long x
,long y
){
1873 static PyObject
*wxPoint_Get(wxPoint
*self
){
1874 bool blocked
= wxPyBeginBlockThreads();
1875 PyObject
* tup
= PyTuple_New(2);
1876 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(self
->x
));
1877 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(self
->y
));
1878 wxPyEndBlockThreads(blocked
);
1881 static void wxRect_Set(wxRect
*self
,int x
=0,int y
=0,int width
=0,int height
=0){
1884 self
->width
= width
;
1885 self
->height
= height
;
1887 static PyObject
*wxRect_Get(wxRect
*self
){
1888 bool blocked
= wxPyBeginBlockThreads();
1889 PyObject
* tup
= PyTuple_New(4);
1890 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(self
->x
));
1891 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(self
->y
));
1892 PyTuple_SET_ITEM(tup
, 2, PyInt_FromLong(self
->width
));
1893 PyTuple_SET_ITEM(tup
, 3, PyInt_FromLong(self
->height
));
1894 wxPyEndBlockThreads(blocked
);
1898 PyObject
* wxIntersectRect(wxRect
* r1
, wxRect
* r2
) {
1901 wxRect
dest(0,0,0,0);
1904 reg1
.Intersect(reg2
);
1905 dest
= reg1
.GetBox();
1907 if (dest
!= wxRect(0,0,0,0)) {
1908 bool blocked
= wxPyBeginBlockThreads();
1909 wxRect
* newRect
= new wxRect(dest
);
1910 obj
= wxPyConstructObject((void*)newRect
, wxT("wxRect"), true);
1911 wxPyEndBlockThreads(blocked
);
1919 static PyObject
* t_output_helper(PyObject
* target
, PyObject
* o
) {
1925 } else if (target
== Py_None
) {
1929 if (!PyTuple_Check(target
)) {
1931 target
= PyTuple_New(1);
1932 PyTuple_SetItem(target
, 0, o2
);
1934 o3
= PyTuple_New(1);
1935 PyTuple_SetItem(o3
, 0, o
);
1938 target
= PySequence_Concat(o2
, o3
);
1946 static void wxPoint2D_Set(wxPoint2D
*self
,double x
=0,double y
=0){
1950 static PyObject
*wxPoint2D_Get(wxPoint2D
*self
){
1951 bool blocked
= wxPyBeginBlockThreads();
1952 PyObject
* tup
= PyTuple_New(2);
1953 PyTuple_SET_ITEM(tup
, 0, PyFloat_FromDouble(self
->m_x
));
1954 PyTuple_SET_ITEM(tup
, 1, PyFloat_FromDouble(self
->m_y
));
1955 wxPyEndBlockThreads(blocked
);
1959 #include "wx/wxPython/pyistream.h"
1961 static wxPyInputStream
*new_wxPyInputStream(PyObject
*p
){
1962 wxInputStream
* wxis
= wxPyCBInputStream::create(p
);
1964 return new wxPyInputStream(wxis
);
1969 SWIGINTERNSHORT PyObject
*
1970 SWIG_From_char(char c
)
1972 return PyString_FromStringAndSize(&c
,1);
1976 SWIGINTERNSHORT PyObject
*
1977 SWIG_From_unsigned_SS_long(unsigned long value
)
1979 return (value
> LONG_MAX
) ?
1980 PyLong_FromUnsignedLong(value
)
1981 : PyInt_FromLong((long)(value
));
1985 /* returns SWIG_OLDOBJ if the input is a raw char*, SWIG_PYSTR if is a PyString */
1987 SWIG_AsCharPtrAndSize(PyObject
*obj
, char** cptr
, size_t* psize
)
1989 static swig_type_info
* pchar_info
= 0;
1991 if (!pchar_info
) pchar_info
= SWIG_TypeQuery("char *");
1992 if (SWIG_ConvertPtr(obj
, (void**)&vptr
, pchar_info
, 0) != -1) {
1993 if (cptr
) *cptr
= vptr
;
1994 if (psize
) *psize
= vptr
? (strlen(vptr
) + 1) : 0;
1998 if (PyString_Check(obj
)) {
2000 *cptr
= PyString_AS_STRING(obj
);
2002 *psize
= PyString_GET_SIZE(obj
) + 1;
2009 SWIG_type_error("char *", obj
);
2016 SWIG_AsCharArray(PyObject
*obj
, char *val
, size_t size
)
2018 char* cptr
; size_t csize
;
2019 if (SWIG_AsCharPtrAndSize(obj
, &cptr
, &csize
)) {
2022 char x[5] = "hello";
2024 ie, assing the array using an extra '0' char.
2026 if ((csize
== size
+ 1) && !(cptr
[csize
-1])) --csize
;
2027 if (csize
<= size
) {
2029 if (csize
) memcpy(val
, cptr
, csize
);
2030 if (csize
< size
) memset(val
+ csize
, 0, size
- csize
);
2036 PyErr_Format(PyExc_TypeError
,
2037 "a char array of maximum size %lu is expected",
2038 (unsigned long) size
);
2045 SWIG_AsVal_char(PyObject
*obj
, char *val
)
2047 const char* errmsg
= val
? "char" : (char*)0;
2049 if (SWIG_AsVal_long(obj
, &v
)) {
2050 if (SWIG_CheckLongInRange(v
, CHAR_MIN
,CHAR_MAX
, errmsg
)) {
2051 if (val
) *val
= (char)(v
);
2058 return SWIG_AsCharArray(obj
, val
, 1);
2063 SWIGINTERNSHORT
char
2064 SWIG_As_char(PyObject
* obj
)
2067 if (!SWIG_AsVal_char(obj
, &v
)) {
2069 this is needed to make valgrind/purify happier.
2071 memset((void*)&v
, 0, sizeof(char));
2078 SWIG_Check_char(PyObject
* obj
)
2080 return SWIG_AsVal_char(obj
, (char*)0);
2084 /*@c:\\PROJECTS\\SWIG-cvs\\Lib\\python\\pymacros.swg,66,SWIG_define@*/
2085 #define SWIG_From_long PyInt_FromLong
2088 static void wxOutputStream_write(wxOutputStream
*self
,PyObject
*obj
){
2089 // We use only strings for the streams, not unicode
2090 PyObject
* str
= PyObject_Str(obj
);
2092 PyErr_SetString(PyExc_TypeError
, "Unable to convert to string");
2095 self
->Write(PyString_AS_STRING(str
),
2096 PyString_GET_SIZE(str
));
2100 #include "wx/wxPython/pyistream.h"
2103 class wxPyFileSystemHandler
: public wxFileSystemHandler
2106 wxPyFileSystemHandler() : wxFileSystemHandler() {}
2108 DEC_PYCALLBACK_BOOL_STRING_pure(CanOpen
);
2109 DEC_PYCALLBACK_FSF_FSSTRING_pure(OpenFile
);
2110 DEC_PYCALLBACK_STRING_STRINGINT_pure(FindFirst
);
2111 DEC_PYCALLBACK_STRING__pure(FindNext
);
2113 wxString
GetProtocol(const wxString
& location
) {
2114 return wxFileSystemHandler::GetProtocol(location
);
2117 wxString
GetLeftLocation(const wxString
& location
) {
2118 return wxFileSystemHandler::GetLeftLocation(location
);
2121 wxString
GetAnchor(const wxString
& location
) {
2122 return wxFileSystemHandler::GetAnchor(location
);
2125 wxString
GetRightLocation(const wxString
& location
) {
2126 return wxFileSystemHandler::GetRightLocation(location
);
2129 wxString
GetMimeTypeFromExt(const wxString
& location
) {
2130 return wxFileSystemHandler::GetMimeTypeFromExt(location
);
2137 IMP_PYCALLBACK_BOOL_STRING_pure(wxPyFileSystemHandler
, wxFileSystemHandler
, CanOpen
);
2138 IMP_PYCALLBACK_FSF_FSSTRING_pure(wxPyFileSystemHandler
, wxFileSystemHandler
, OpenFile
);
2139 IMP_PYCALLBACK_STRING_STRINGINT_pure(wxPyFileSystemHandler
, wxFileSystemHandler
, FindFirst
);
2140 IMP_PYCALLBACK_STRING__pure(wxPyFileSystemHandler
, wxFileSystemHandler
, FindNext
);
2144 SWIG_AsVal_bool(PyObject
*obj
, bool *val
)
2146 if (obj
== Py_True
) {
2147 if (val
) *val
= true;
2150 if (obj
== Py_False
) {
2151 if (val
) *val
= false;
2155 if (SWIG_AsVal_int(obj
, &res
)) {
2156 if (val
) *val
= res
? true : false;
2162 SWIG_type_error("bool", obj
);
2168 SWIGINTERNSHORT
bool
2169 SWIG_As_bool(PyObject
* obj
)
2172 if (!SWIG_AsVal_bool(obj
, &v
)) {
2174 this is needed to make valgrind/purify happier.
2176 memset((void*)&v
, 0, sizeof(bool));
2183 SWIG_Check_bool(PyObject
* obj
)
2185 return SWIG_AsVal_bool(obj
, (bool*)0);
2188 static wxString
FileSystem_URLToFileName(wxString
const &url
){
2189 wxFileName fname
= wxFileSystem::URLToFileName(url
);
2190 return fname
.GetFullPath();
2193 void __wxMemoryFSHandler_AddFile_wxImage(const wxString
& filename
,
2196 wxMemoryFSHandler::AddFile(filename
, image
, type
);
2199 void __wxMemoryFSHandler_AddFile_wxBitmap(const wxString
& filename
,
2200 const wxBitmap
& bitmap
,
2202 wxMemoryFSHandler::AddFile(filename
, bitmap
, type
);
2205 void __wxMemoryFSHandler_AddFile_Data(const wxString
& filename
,
2207 if (! PyString_Check(data
)) {
2208 wxPyBLOCK_THREADS(PyErr_SetString(PyExc_TypeError
,
2209 "Expected string object"));
2213 bool blocked
= wxPyBeginBlockThreads();
2214 void* ptr
= (void*)PyString_AsString(data
);
2215 size_t size
= PyString_Size(data
);
2216 wxPyEndBlockThreads(blocked
);
2218 wxMemoryFSHandler::AddFile(filename
, ptr
, size
);
2222 #include "wx/wxPython/pyistream.h"
2226 SWIG_AsVal_unsigned_SS_long(PyObject
* obj
, unsigned long* val
)
2229 if (SWIG_AsVal_long(obj
, &v
) && v
< 0) {
2230 SWIG_type_error("unsigned number", obj
);
2233 *val
= (unsigned long)v
;
2239 SWIG_CheckUnsignedLongInRange(unsigned long value
,
2240 unsigned long max_value
,
2243 if (value
> max_value
) {
2245 PyErr_Format(PyExc_OverflowError
,
2246 "value %lu is greater than '%s' minimum %lu",
2247 value
, errmsg
, max_value
);
2256 SWIG_AsVal_unsigned_SS_char(PyObject
*obj
, unsigned char *val
)
2258 const char* errmsg
= val
? "unsigned char" : (char*)0;
2260 if (SWIG_AsVal_unsigned_SS_long(obj
, &v
)) {
2261 if (SWIG_CheckUnsignedLongInRange(v
, UCHAR_MAX
,errmsg
)) {
2262 if (val
) *val
= (unsigned char)(v
);
2271 SWIG_type_error(errmsg
, obj
);
2277 SWIGINTERNSHORT
unsigned char
2278 SWIG_As_unsigned_SS_char(PyObject
* obj
)
2281 if (!SWIG_AsVal_unsigned_SS_char(obj
, &v
)) {
2283 this is needed to make valgrind/purify happier.
2285 memset((void*)&v
, 0, sizeof(unsigned char));
2292 SWIG_Check_unsigned_SS_char(PyObject
* obj
)
2294 return SWIG_AsVal_unsigned_SS_char(obj
, (unsigned char*)0);
2298 /*@c:\\PROJECTS\\SWIG-cvs\\Lib\\python\\pymacros.swg,66,SWIG_define@*/
2299 #define SWIG_From_unsigned_SS_char PyInt_FromLong
2303 static wxImage
*new_wxImage(int width
=0,int height
=0,bool clear
=true){
2304 if (width
> 0 && height
> 0)
2305 return new wxImage(width
, height
, clear
);
2309 static wxImage
*new_wxImage(wxBitmap
const &bitmap
){
2310 return new wxImage(bitmap
.ConvertToImage());
2312 static wxImage
*new_wxImage(int width
,int height
,unsigned char *data
){
2313 // Copy the source data so the wxImage can clean it up later
2314 unsigned char* copy
= (unsigned char*)malloc(width
*height
*3);
2319 memcpy(copy
, data
, width
*height
*3);
2320 return new wxImage(width
, height
, copy
, false);
2322 static wxImage
*new_wxImage(int width
,int height
,unsigned char *data
,unsigned char *alpha
){
2323 // Copy the source data so the wxImage can clean it up later
2324 unsigned char* dcopy
= (unsigned char*)malloc(width
*height
*3);
2325 if (dcopy
== NULL
) {
2329 memcpy(dcopy
, data
, width
*height
*3);
2330 unsigned char* acopy
= (unsigned char*)malloc(width
*height
);
2331 if (acopy
== NULL
) {
2335 memcpy(acopy
, alpha
, width
*height
);
2337 return new wxImage(width
, height
, dcopy
, acopy
, false);
2339 static wxSize
wxImage_GetSize(wxImage
*self
){
2340 wxSize
size(self
->GetWidth(), self
->GetHeight());
2343 static PyObject
*wxImage_GetData(wxImage
*self
){
2344 unsigned char* data
= self
->GetData();
2345 int len
= self
->GetWidth() * self
->GetHeight() * 3;
2347 wxPyBLOCK_THREADS( rv
= PyString_FromStringAndSize((char*)data
, len
));
2350 static void wxImage_SetData(wxImage
*self
,PyObject
*data
){
2351 unsigned char* dataPtr
;
2353 if (! PyString_Check(data
)) {
2354 wxPyBLOCK_THREADS(PyErr_SetString(PyExc_TypeError
,
2355 "Expected string object"));
2359 size_t len
= self
->GetWidth() * self
->GetHeight() * 3;
2360 dataPtr
= (unsigned char*) malloc(len
);
2361 wxPyBLOCK_THREADS( memcpy(dataPtr
, PyString_AsString(data
), len
) );
2362 self
->SetData(dataPtr
);
2363 // wxImage takes ownership of dataPtr...
2365 static PyObject
*wxImage_GetDataBuffer(wxImage
*self
){
2366 unsigned char* data
= self
->GetData();
2367 int len
= self
->GetWidth() * self
->GetHeight() * 3;
2369 wxPyBLOCK_THREADS( rv
= PyBuffer_FromReadWriteMemory(data
, len
) );
2372 static void wxImage_SetDataBuffer(wxImage
*self
,PyObject
*data
){
2373 unsigned char* buffer
;
2376 bool blocked
= wxPyBeginBlockThreads();
2377 if (!PyArg_Parse(data
, "t#", &buffer
, &size
))
2380 if (size
!= self
->GetWidth() * self
->GetHeight() * 3) {
2381 PyErr_SetString(PyExc_TypeError
, "Incorrect buffer size");
2384 self
->SetData(buffer
);
2386 wxPyEndBlockThreads(blocked
);
2388 static PyObject
*wxImage_GetAlphaData(wxImage
*self
){
2389 unsigned char* data
= self
->GetAlpha();
2393 int len
= self
->GetWidth() * self
->GetHeight();
2395 wxPyBLOCK_THREADS( rv
= PyString_FromStringAndSize((char*)data
, len
) );
2399 static void wxImage_SetAlphaData(wxImage
*self
,PyObject
*data
){
2400 unsigned char* dataPtr
;
2402 if (! PyString_Check(data
)) {
2403 PyErr_SetString(PyExc_TypeError
, "Expected string object");
2407 size_t len
= self
->GetWidth() * self
->GetHeight();
2408 dataPtr
= (unsigned char*) malloc(len
);
2409 wxPyBLOCK_THREADS( memcpy(dataPtr
, PyString_AsString(data
), len
) );
2410 self
->SetAlpha(dataPtr
);
2411 // wxImage takes ownership of dataPtr...
2413 static PyObject
*wxImage_GetAlphaBuffer(wxImage
*self
){
2414 unsigned char* data
= self
->GetAlpha();
2415 int len
= self
->GetWidth() * self
->GetHeight();
2417 wxPyBLOCK_THREADS( rv
= PyBuffer_FromReadWriteMemory(data
, len
) );
2420 static void wxImage_SetAlphaBuffer(wxImage
*self
,PyObject
*data
){
2421 unsigned char* buffer
;
2424 bool blocked
= wxPyBeginBlockThreads();
2425 if (!PyArg_Parse(data
, "t#", &buffer
, &size
))
2428 if (size
!= self
->GetWidth() * self
->GetHeight()) {
2429 PyErr_SetString(PyExc_TypeError
, "Incorrect buffer size");
2432 self
->SetAlpha(buffer
);
2434 wxPyEndBlockThreads(blocked
);
2437 SWIGINTERNSHORT
unsigned long
2438 SWIG_As_unsigned_SS_long(PyObject
* obj
)
2441 if (!SWIG_AsVal_unsigned_SS_long(obj
, &v
)) {
2443 this is needed to make valgrind/purify happier.
2445 memset((void*)&v
, 0, sizeof(unsigned long));
2452 SWIG_Check_unsigned_SS_long(PyObject
* obj
)
2454 return SWIG_AsVal_unsigned_SS_long(obj
, (unsigned long*)0);
2457 static wxBitmap
wxImage_ConvertToBitmap(wxImage
*self
,int depth
=-1){
2458 wxBitmap
bitmap(*self
, depth
);
2461 static wxBitmap
wxImage_ConvertToMonoBitmap(wxImage
*self
,unsigned char red
,unsigned char green
,unsigned char blue
){
2462 wxImage mono
= self
->ConvertToMono( red
, green
, blue
);
2463 wxBitmap
bitmap( mono
, 1 );
2466 static const wxString
wxPyIMAGE_OPTION_BMP_FORMAT(wxIMAGE_OPTION_BMP_FORMAT
);
2467 static const wxString
wxPyIMAGE_OPTION_CUR_HOTSPOT_X(wxIMAGE_OPTION_CUR_HOTSPOT_X
);
2468 static const wxString
wxPyIMAGE_OPTION_CUR_HOTSPOT_Y(wxIMAGE_OPTION_CUR_HOTSPOT_Y
);
2469 static const wxString
wxPyIMAGE_OPTION_RESOLUTION(wxIMAGE_OPTION_RESOLUTION
);
2470 static const wxString
wxPyIMAGE_OPTION_RESOLUTIONUNIT(wxIMAGE_OPTION_RESOLUTIONUNIT
);
2472 #include <wx/quantize.h>
2474 static bool Quantize_Quantize(wxImage
const &src
,wxImage
&dest
,int desiredNoColours
=236,int flags
=wxQUANTIZE_INCLUDE_WINDOWS_COLOURS
|wxQUANTIZE_FILL_DESTINATION_IMAGE
){
2475 return wxQuantize::Quantize(src
, dest
,
2478 NULL
, // eightBitData
2481 static void wxEvtHandler_Connect(wxEvtHandler
*self
,int id
,int lastId
,int eventType
,PyObject
*func
){
2482 if (PyCallable_Check(func
)) {
2483 self
->Connect(id
, lastId
, eventType
,
2484 (wxObjectEventFunction
) &wxPyCallback::EventThunker
,
2485 new wxPyCallback(func
));
2487 else if (func
== Py_None
) {
2488 self
->Disconnect(id
, lastId
, eventType
,
2489 (wxObjectEventFunction
)
2490 &wxPyCallback::EventThunker
);
2494 PyErr_SetString(PyExc_TypeError
, "Expected callable object or None."));
2497 static bool wxEvtHandler_Disconnect(wxEvtHandler
*self
,int id
,int lastId
=-1,wxEventType eventType
=wxEVT_NULL
){
2498 return self
->Disconnect(id
, lastId
, eventType
,
2499 (wxObjectEventFunction
)
2500 &wxPyCallback::EventThunker
);
2502 static void wxEvtHandler__setOORInfo(wxEvtHandler
*self
,PyObject
*_self
,bool incref
=true){
2503 if (_self
&& _self
!= Py_None
) {
2504 self
->SetClientObject(new wxPyOORClientData(_self
, incref
));
2507 wxPyOORClientData
* data
= (wxPyOORClientData
*)self
->GetClientObject();
2509 self
->SetClientObject(NULL
); // This will delete it too
2514 static int wxKeyEvent_GetUnicodeKey(wxKeyEvent
*self
){
2516 return self
->GetUnicodeKey();
2522 #if UINT_MAX < LONG_MAX
2523 /*@c:\\PROJECTS\\SWIG-cvs\\Lib\\python\\pymacros.swg,66,SWIG_define@*/
2524 #define SWIG_From_unsigned_SS_int SWIG_From_long
2527 /*@c:\\PROJECTS\\SWIG-cvs\\Lib\\python\\pymacros.swg,66,SWIG_define@*/
2528 #define SWIG_From_unsigned_SS_int SWIG_From_unsigned_SS_long
2533 #if UINT_MAX != ULONG_MAX
2535 SWIG_AsVal_unsigned_SS_int(PyObject
*obj
, unsigned int *val
)
2537 const char* errmsg
= val
? "unsigned int" : (char*)0;
2539 if (SWIG_AsVal_unsigned_SS_long(obj
, &v
)) {
2540 if (SWIG_CheckUnsignedLongInRange(v
, INT_MAX
, errmsg
)) {
2541 if (val
) *val
= (unsigned int)(v
);
2548 SWIG_type_error(errmsg
, obj
);
2553 SWIGINTERNSHORT
unsigned int
2554 SWIG_AsVal_unsigned_SS_int(PyObject
*obj
, unsigned int *val
)
2556 return SWIG_AsVal_unsigned_SS_long(obj
,(unsigned long *)val
);
2561 SWIGINTERNSHORT
unsigned int
2562 SWIG_As_unsigned_SS_int(PyObject
* obj
)
2565 if (!SWIG_AsVal_unsigned_SS_int(obj
, &v
)) {
2567 this is needed to make valgrind/purify happier.
2569 memset((void*)&v
, 0, sizeof(unsigned int));
2576 SWIG_Check_unsigned_SS_int(PyObject
* obj
)
2578 return SWIG_AsVal_unsigned_SS_int(obj
, (unsigned int*)0);
2581 static void wxSizeEvent_SetSize(wxSizeEvent
*self
,wxSize size
){
2582 self
->m_size
= size
;
2584 static PyObject
*wxDropFilesEvent_GetFiles(wxDropFilesEvent
*self
){
2585 int count
= self
->GetNumberOfFiles();
2586 wxString
* files
= self
->GetFiles();
2587 PyObject
* list
= PyList_New(count
);
2590 PyErr_SetString(PyExc_MemoryError
, "Can't allocate list of files!");
2594 for (int i
=0; i
<count
; i
++) {
2595 PyList_SetItem(list
, i
, wx2PyString(files
[i
]));
2601 static wxPyApp
*new_wxPyApp(){
2602 wxPythonApp
= new wxPyApp();
2606 void wxApp_CleanUp() {
2611 wxPyApp
* wxPyGetApp() { return (wxPyApp
*)wxTheApp
; }
2615 SWIG_AsCharPtr(PyObject
*obj
, char **val
)
2617 if (SWIG_AsCharPtrAndSize(obj
, val
, (size_t*)(0))) {
2622 SWIG_type_error("char *", obj
);
2628 SWIGINTERN PyObject
*
2629 SWIG_FromCharPtr(const char* cptr
)
2632 size_t size
= strlen(cptr
);
2633 if (size
> INT_MAX
) {
2634 return SWIG_NewPointerObj((char*)(cptr
),
2635 SWIG_TypeQuery("char *"), 0);
2638 return PyString_FromStringAndSize(cptr
, size
);
2640 return PyString_FromString(cptr
);
2651 // A dummy class that raises an exception if used...
2655 wxEventLoop() { wxPyRaiseNotImplemented(); }
2656 int Run() { return 0; }
2657 void Exit(int rc
= 0) {}
2658 bool Pending() const { return false; }
2659 bool Dispatch() { return false; }
2660 bool IsRunning() const { return false; }
2661 static wxEventLoop
*GetActive() { wxPyRaiseNotImplemented(); return NULL
; }
2662 static void SetActive(wxEventLoop
* loop
) { wxPyRaiseNotImplemented(); }
2667 #include <wx/evtloop.h>
2673 static const wxString
wxPyPanelNameStr(wxPanelNameStr
);
2674 static wxVisualAttributes
*new_wxVisualAttributes(){ return new wxVisualAttributes
; }
2675 static void delete_wxVisualAttributes(wxVisualAttributes
*self
){ delete self
; }
2676 static PyObject
*wxWindow_GetChildren(wxWindow
*self
){
2677 wxWindowList
& list
= self
->GetChildren();
2678 return wxPy_ConvertList(&list
);
2680 static bool wxWindow_RegisterHotKey(wxWindow
*self
,int hotkeyId
,int modifiers
,int keycode
){
2682 return self
->RegisterHotKey(hotkeyId
, modifiers
, keycode
);
2687 static bool wxWindow_UnregisterHotKey(wxWindow
*self
,int hotkeyId
){
2694 static long wxWindow_GetHandle(wxWindow
*self
){
2695 return wxPyGetWinHandle(self
);
2697 static void wxWindow_AssociateHandle(wxWindow
*self
,long handle
){
2698 self
->AssociateHandle((WXWidget
)handle
);
2701 wxWindow
* wxFindWindowById( long id
, const wxWindow
*parent
= NULL
) {
2702 return wxWindow::FindWindowById(id
, parent
);
2705 wxWindow
* wxFindWindowByName( const wxString
& name
,
2706 const wxWindow
*parent
= NULL
) {
2707 return wxWindow::FindWindowByName(name
, parent
);
2710 wxWindow
* wxFindWindowByLabel( const wxString
& label
,
2711 const wxWindow
*parent
= NULL
) {
2712 return wxWindow::FindWindowByLabel(label
, parent
);
2717 #include <wx/msw/private.h> // to get wxGetWindowId
2721 wxWindow
* wxWindow_FromHWND(wxWindow
* parent
, unsigned long _hWnd
) {
2723 WXHWND hWnd
= (WXHWND
)_hWnd
;
2724 long id
= wxGetWindowId(hWnd
);
2725 wxWindow
* win
= new wxWindow
;
2726 parent
->AddChild(win
);
2727 win
->SetEventHandler(win
);
2730 win
->SubclassWin(hWnd
);
2731 win
->AdoptAttributesFromHWND();
2732 win
->SetupColours();
2735 wxPyRaiseNotImplemented();
2741 IMP_PYCALLBACK_BOOL_WXWIN(wxPyValidator
, wxValidator
, Validate
);
2742 IMP_PYCALLBACK_BOOL_(wxPyValidator
, wxValidator
, TransferToWindow
);
2743 IMP_PYCALLBACK_BOOL_(wxPyValidator
, wxValidator
, TransferFromWindow
);
2745 IMPLEMENT_DYNAMIC_CLASS(wxPyValidator
, wxValidator
);
2747 static void wxMenu_Destroy(wxMenu
*self
){ delete self
; }
2748 static PyObject
*wxMenu_GetMenuItems(wxMenu
*self
){
2749 wxMenuItemList
& list
= self
->GetMenuItems();
2750 return wxPy_ConvertList(&list
);
2752 static const wxString
wxPyControlNameStr(wxControlNameStr
);
2753 static int wxItemContainer_Append(wxItemContainer
*self
,wxString
const &item
,PyObject
*clientData
=NULL
){
2755 wxPyClientData
* data
= new wxPyClientData(clientData
);
2756 return self
->Append(item
, data
);
2758 return self
->Append(item
);
2760 static int wxItemContainer_Insert(wxItemContainer
*self
,wxString
const &item
,int pos
,PyObject
*clientData
=NULL
){
2762 wxPyClientData
* data
= new wxPyClientData(clientData
);
2763 return self
->Insert(item
, pos
, data
);
2765 return self
->Insert(item
, pos
);
2767 static PyObject
*wxItemContainer_GetClientData(wxItemContainer
*self
,int n
){
2768 wxPyClientData
* data
= (wxPyClientData
*)self
->GetClientObject(n
);
2770 Py_INCREF(data
->m_obj
);
2777 static void wxItemContainer_SetClientData(wxItemContainer
*self
,int n
,PyObject
*clientData
){
2778 wxPyClientData
* data
= new wxPyClientData(clientData
);
2779 self
->SetClientObject(n
, data
);
2783 static wxSizerItem
*new_wxSizerItem(wxWindow
*window
,int proportion
,int flag
,int border
,PyObject
*userData
=NULL
){
2784 wxPyUserData
* data
= NULL
;
2786 bool blocked
= wxPyBeginBlockThreads();
2787 data
= new wxPyUserData(userData
);
2788 wxPyEndBlockThreads(blocked
);
2790 return new wxSizerItem(window
, proportion
, flag
, border
, data
);
2792 static wxSizerItem
*new_wxSizerItem(int width
,int height
,int proportion
,int flag
,int border
,PyObject
*userData
=NULL
){
2793 wxPyUserData
* data
= NULL
;
2795 bool blocked
= wxPyBeginBlockThreads();
2796 data
= new wxPyUserData(userData
);
2797 wxPyEndBlockThreads(blocked
);
2799 return new wxSizerItem(width
, height
, proportion
, flag
, border
, data
);
2801 static wxSizerItem
*new_wxSizerItem(wxSizer
*sizer
,int proportion
,int flag
,int border
,PyObject
*userData
=NULL
){
2802 wxPyUserData
* data
= NULL
;
2804 bool blocked
= wxPyBeginBlockThreads();
2805 data
= new wxPyUserData(userData
);
2806 wxPyEndBlockThreads(blocked
);
2808 return new wxSizerItem(sizer
, proportion
, flag
, border
, data
);
2813 SWIG_CheckDoubleInRange(double value
, double min_value
,
2814 double max_value
, const char* errmsg
)
2816 if (value
< min_value
) {
2818 PyErr_Format(PyExc_OverflowError
,
2819 "value %g is less than %s minimum %g",
2820 value
, errmsg
, min_value
);
2823 } else if (value
> max_value
) {
2825 PyErr_Format(PyExc_OverflowError
,
2826 "value %g is greater than %s maximum %g",
2827 value
, errmsg
, max_value
);
2836 SWIG_AsVal_float(PyObject
*obj
, float *val
)
2838 const char* errmsg
= val
? "float" : (char*)0;
2840 if (SWIG_AsVal_double(obj
, &v
)) {
2841 if (SWIG_CheckDoubleInRange(v
, -FLT_MAX
, FLT_MAX
, errmsg
)) {
2842 if (val
) *val
= (float)(v
);
2851 SWIG_type_error(errmsg
, obj
);
2857 SWIGINTERNSHORT
float
2858 SWIG_As_float(PyObject
* obj
)
2861 if (!SWIG_AsVal_float(obj
, &v
)) {
2863 this is needed to make valgrind/purify happier.
2865 memset((void*)&v
, 0, sizeof(float));
2872 SWIG_Check_float(PyObject
* obj
)
2874 return SWIG_AsVal_float(obj
, (float*)0);
2878 /*@c:\\PROJECTS\\SWIG-cvs\\Lib\\python\\pymacros.swg,66,SWIG_define@*/
2879 #define SWIG_From_float PyFloat_FromDouble
2882 static PyObject
*wxSizerItem_GetUserData(wxSizerItem
*self
){
2883 wxPyUserData
* data
= (wxPyUserData
*)self
->GetUserData();
2885 Py_INCREF(data
->m_obj
);
2893 // Figure out the type of the sizer item
2895 struct wxPySizerItemInfo
{
2897 : window(NULL
), sizer(NULL
), gotSize(false),
2898 size(wxDefaultSize
), gotPos(false), pos(-1)
2909 static wxPySizerItemInfo
wxPySizerItemTypeHelper(PyObject
* item
, bool checkSize
, bool checkIdx
) {
2911 wxPySizerItemInfo info
;
2913 wxSize
* sizePtr
= &size
;
2915 // Find out what the type of the item is
2917 if ( ! wxPyConvertSwigPtr(item
, (void**)&info
.window
, wxT("wxWindow")) ) {
2922 if ( ! wxPyConvertSwigPtr(item
, (void**)&info
.sizer
, wxT("wxSizer")) ) {
2926 // try wxSize or (w,h)
2927 if ( checkSize
&& wxSize_helper(item
, &sizePtr
)) {
2928 info
.size
= *sizePtr
;
2929 info
.gotSize
= true;
2933 if (checkIdx
&& PyInt_Check(item
)) {
2934 info
.pos
= PyInt_AsLong(item
);
2940 if ( !(info
.window
|| info
.sizer
|| (checkSize
&& info
.gotSize
) || (checkIdx
&& info
.gotPos
)) ) {
2941 // no expected type, figure out what kind of error message to generate
2942 if ( !checkSize
&& !checkIdx
)
2943 PyErr_SetString(PyExc_TypeError
, "wxWindow or wxSizer expected for item");
2944 else if ( checkSize
&& !checkIdx
)
2945 PyErr_SetString(PyExc_TypeError
, "wxWindow, wxSizer, wxSize, or (w,h) expected for item");
2946 else if ( !checkSize
&& checkIdx
)
2947 PyErr_SetString(PyExc_TypeError
, "wxWindow, wxSizer or int (position) expected for item");
2949 // can this one happen?
2950 PyErr_SetString(PyExc_TypeError
, "wxWindow, wxSizer, wxSize, or (w,h) or int (position) expected for item");
2956 static void wxSizer__setOORInfo(wxSizer
*self
,PyObject
*_self
){
2957 if (!self
->GetClientObject())
2958 self
->SetClientObject(new wxPyOORClientData(_self
));
2960 static wxSizerItem
*wxSizer_Add(wxSizer
*self
,PyObject
*item
,int proportion
=0,int flag
=0,int border
=0,PyObject
*userData
=NULL
){
2962 wxPyUserData
* data
= NULL
;
2963 bool blocked
= wxPyBeginBlockThreads();
2964 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, true, false);
2965 if ( userData
&& (info
.window
|| info
.sizer
|| info
.gotSize
) )
2966 data
= new wxPyUserData(userData
);
2967 wxPyEndBlockThreads(blocked
);
2969 // Now call the real Add method if a valid item type was found
2971 return self
->Add(info
.window
, proportion
, flag
, border
, data
);
2972 else if ( info
.sizer
)
2973 return self
->Add(info
.sizer
, proportion
, flag
, border
, data
);
2974 else if (info
.gotSize
)
2975 return self
->Add(info
.size
.GetWidth(), info
.size
.GetHeight(),
2976 proportion
, flag
, border
, data
);
2980 static wxSizerItem
*wxSizer_Insert(wxSizer
*self
,int before
,PyObject
*item
,int proportion
=0,int flag
=0,int border
=0,PyObject
*userData
=NULL
){
2982 wxPyUserData
* data
= NULL
;
2983 bool blocked
= wxPyBeginBlockThreads();
2984 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, true, false);
2985 if ( userData
&& (info
.window
|| info
.sizer
|| info
.gotSize
) )
2986 data
= new wxPyUserData(userData
);
2987 wxPyEndBlockThreads(blocked
);
2989 // Now call the real Insert method if a valid item type was found
2991 return self
->Insert(before
, info
.window
, proportion
, flag
, border
, data
);
2992 else if ( info
.sizer
)
2993 return self
->Insert(before
, info
.sizer
, proportion
, flag
, border
, data
);
2994 else if (info
.gotSize
)
2995 return self
->Insert(before
, info
.size
.GetWidth(), info
.size
.GetHeight(),
2996 proportion
, flag
, border
, data
);
3000 static wxSizerItem
*wxSizer_Prepend(wxSizer
*self
,PyObject
*item
,int proportion
=0,int flag
=0,int border
=0,PyObject
*userData
=NULL
){
3002 wxPyUserData
* data
= NULL
;
3003 bool blocked
= wxPyBeginBlockThreads();
3004 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, true, false);
3005 if ( userData
&& (info
.window
|| info
.sizer
|| info
.gotSize
) )
3006 data
= new wxPyUserData(userData
);
3007 wxPyEndBlockThreads(blocked
);
3009 // Now call the real Prepend method if a valid item type was found
3011 return self
->Prepend(info
.window
, proportion
, flag
, border
, data
);
3012 else if ( info
.sizer
)
3013 return self
->Prepend(info
.sizer
, proportion
, flag
, border
, data
);
3014 else if (info
.gotSize
)
3015 return self
->Prepend(info
.size
.GetWidth(), info
.size
.GetHeight(),
3016 proportion
, flag
, border
, data
);
3020 static bool wxSizer_Remove(wxSizer
*self
,PyObject
*item
){
3021 bool blocked
= wxPyBeginBlockThreads();
3022 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, false, true);
3023 wxPyEndBlockThreads(blocked
);
3025 return self
->Remove(info
.window
);
3026 else if ( info
.sizer
)
3027 return self
->Remove(info
.sizer
);
3028 else if ( info
.gotPos
)
3029 return self
->Remove(info
.pos
);
3033 static bool wxSizer_Detach(wxSizer
*self
,PyObject
*item
){
3034 bool blocked
= wxPyBeginBlockThreads();
3035 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, false, true);
3036 wxPyEndBlockThreads(blocked
);
3038 return self
->Detach(info
.window
);
3039 else if ( info
.sizer
)
3040 return self
->Detach(info
.sizer
);
3041 else if ( info
.gotPos
)
3042 return self
->Detach(info
.pos
);
3046 static wxSizerItem
*wxSizer_GetItem(wxSizer
*self
,PyObject
*item
){
3047 bool blocked
= wxPyBeginBlockThreads();
3048 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, false, true);
3049 wxPyEndBlockThreads(blocked
);
3051 return self
->GetItem(info
.window
);
3052 else if ( info
.sizer
)
3053 return self
->GetItem(info
.sizer
);
3054 else if ( info
.gotPos
)
3055 return self
->GetItem(info
.pos
);
3059 static void wxSizer__SetItemMinSize(wxSizer
*self
,PyObject
*item
,wxSize
const &size
){
3060 bool blocked
= wxPyBeginBlockThreads();
3061 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, false, true);
3062 wxPyEndBlockThreads(blocked
);
3064 self
->SetItemMinSize(info
.window
, size
);
3065 else if ( info
.sizer
)
3066 self
->SetItemMinSize(info
.sizer
, size
);
3067 else if ( info
.gotPos
)
3068 self
->SetItemMinSize(info
.pos
, size
);
3070 static PyObject
*wxSizer_GetChildren(wxSizer
*self
){
3071 wxSizerItemList
& list
= self
->GetChildren();
3072 return wxPy_ConvertList(&list
);
3074 static bool wxSizer_Show(wxSizer
*self
,PyObject
*item
,bool show
=true,bool recursive
=false){
3075 bool blocked
= wxPyBeginBlockThreads();
3076 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, false, true);
3077 wxPyEndBlockThreads(blocked
);
3079 return self
->Show(info
.window
, show
, recursive
);
3080 else if ( info
.sizer
)
3081 return self
->Show(info
.sizer
, show
, recursive
);
3082 else if ( info
.gotPos
)
3083 return self
->Show(info
.pos
, show
);
3087 static bool wxSizer_IsShown(wxSizer
*self
,PyObject
*item
){
3088 bool blocked
= wxPyBeginBlockThreads();
3089 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, false, false);
3090 wxPyEndBlockThreads(blocked
);
3092 return self
->IsShown(info
.window
);
3093 else if ( info
.sizer
)
3094 return self
->IsShown(info
.sizer
);
3095 else if ( info
.gotPos
)
3096 return self
->IsShown(info
.pos
);
3102 IMP_PYCALLBACK___pure(wxPySizer
, wxSizer
, RecalcSizes
);
3103 IMP_PYCALLBACK_wxSize__pure(wxPySizer
, wxSizer
, CalcMin
);
3104 IMPLEMENT_DYNAMIC_CLASS(wxPySizer
, wxSizer
);
3109 bool wxGBPosition_helper(PyObject
* source
, wxGBPosition
** obj
)
3111 if (source
== Py_None
) {
3112 **obj
= wxGBPosition(-1,-1);
3115 return wxPyTwoIntItem_helper(source
, obj
, wxT("wxGBPosition"));
3118 bool wxGBSpan_helper(PyObject
* source
, wxGBSpan
** obj
)
3120 if (source
== Py_None
) {
3121 **obj
= wxGBSpan(-1,-1);
3124 return wxPyTwoIntItem_helper(source
, obj
, wxT("wxGBSpan"));
3128 static void wxGBPosition_Set(wxGBPosition
*self
,int row
=0,int col
=0){
3132 static PyObject
*wxGBPosition_Get(wxGBPosition
*self
){
3133 bool blocked
= wxPyBeginBlockThreads();
3134 PyObject
* tup
= PyTuple_New(2);
3135 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(self
->GetRow()));
3136 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(self
->GetCol()));
3137 wxPyEndBlockThreads(blocked
);
3140 static void wxGBSpan_Set(wxGBSpan
*self
,int rowspan
=1,int colspan
=1){
3141 self
->SetRowspan(rowspan
);
3142 self
->SetColspan(colspan
);
3144 static PyObject
*wxGBSpan_Get(wxGBSpan
*self
){
3145 bool blocked
= wxPyBeginBlockThreads();
3146 PyObject
* tup
= PyTuple_New(2);
3147 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(self
->GetRowspan()));
3148 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(self
->GetColspan()));
3149 wxPyEndBlockThreads(blocked
);
3152 static wxGBSizerItem
*new_wxGBSizerItem(wxWindow
*window
,wxGBPosition
const &pos
,wxGBSpan
const &span
,int flag
,int border
,PyObject
*userData
=NULL
){
3153 wxPyUserData
* data
= NULL
;
3155 bool blocked
= wxPyBeginBlockThreads();
3156 data
= new wxPyUserData(userData
);
3157 wxPyEndBlockThreads(blocked
);
3159 return new wxGBSizerItem(window
, pos
, span
, flag
, border
, data
);
3161 static wxGBSizerItem
*new_wxGBSizerItem(wxSizer
*sizer
,wxGBPosition
const &pos
,wxGBSpan
const &span
,int flag
,int border
,PyObject
*userData
=NULL
){
3162 wxPyUserData
* data
= NULL
;
3164 bool blocked
= wxPyBeginBlockThreads();
3165 data
= new wxPyUserData(userData
);
3166 wxPyEndBlockThreads(blocked
);
3168 return new wxGBSizerItem(sizer
, pos
, span
, flag
, border
, data
);
3170 static wxGBSizerItem
*new_wxGBSizerItem(int width
,int height
,wxGBPosition
const &pos
,wxGBSpan
const &span
,int flag
,int border
,PyObject
*userData
=NULL
){
3171 wxPyUserData
* data
= NULL
;
3173 bool blocked
= wxPyBeginBlockThreads();
3174 data
= new wxPyUserData(userData
);
3175 wxPyEndBlockThreads(blocked
);
3177 return new wxGBSizerItem(width
, height
, pos
, span
, flag
, border
, data
);
3179 static wxGBPosition
wxGBSizerItem_GetEndPos(wxGBSizerItem
*self
){
3181 self
->GetEndPos(row
, col
);
3182 return wxGBPosition(row
, col
);
3184 static wxGBSizerItem
*wxGridBagSizer_Add(wxGridBagSizer
*self
,PyObject
*item
,wxGBPosition
const &pos
,wxGBSpan
const &span
=wxDefaultSpan
,int flag
=0,int border
=0,PyObject
*userData
=NULL
){
3186 wxPyUserData
* data
= NULL
;
3187 bool blocked
= wxPyBeginBlockThreads();
3188 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, true, false);
3189 if ( userData
&& (info
.window
|| info
.sizer
|| info
.gotSize
) )
3190 data
= new wxPyUserData(userData
);
3191 wxPyEndBlockThreads(blocked
);
3193 // Now call the real Add method if a valid item type was found
3195 return (wxGBSizerItem
*)self
->Add(info
.window
, pos
, span
, flag
, border
, data
);
3196 else if ( info
.sizer
)
3197 return (wxGBSizerItem
*)self
->Add(info
.sizer
, pos
, span
, flag
, border
, data
);
3198 else if (info
.gotSize
)
3199 return (wxGBSizerItem
*)self
->Add(info
.size
.GetWidth(), info
.size
.GetHeight(),
3200 pos
, span
, flag
, border
, data
);
3208 static int _wrap_EmptyString_set(PyObject
*) {
3209 PyErr_SetString(PyExc_TypeError
,"Variable EmptyString is read-only.");
3214 static PyObject
*_wrap_EmptyString_get(void) {
3219 pyobj
= PyUnicode_FromWideChar((&wxPyEmptyString
)->c_str(), (&wxPyEmptyString
)->Len());
3221 pyobj
= PyString_FromStringAndSize((&wxPyEmptyString
)->c_str(), (&wxPyEmptyString
)->Len());
3228 static PyObject
*_wrap_Object_GetClassName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3229 PyObject
*resultobj
;
3230 wxObject
*arg1
= (wxObject
*) 0 ;
3232 PyObject
* obj0
= 0 ;
3234 (char *) "self", NULL
3237 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Object_GetClassName",kwnames
,&obj0
)) goto fail
;
3238 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxObject
, SWIG_POINTER_EXCEPTION
| 0);
3239 if (SWIG_arg_fail(1)) SWIG_fail
;
3241 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3242 result
= wxObject_GetClassName(arg1
);
3244 wxPyEndAllowThreads(__tstate
);
3245 if (PyErr_Occurred()) SWIG_fail
;
3249 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3251 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3260 static PyObject
*_wrap_Object_Destroy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3261 PyObject
*resultobj
;
3262 wxObject
*arg1
= (wxObject
*) 0 ;
3263 PyObject
* obj0
= 0 ;
3265 (char *) "self", NULL
3268 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Object_Destroy",kwnames
,&obj0
)) goto fail
;
3269 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxObject
, SWIG_POINTER_EXCEPTION
| 0);
3270 if (SWIG_arg_fail(1)) SWIG_fail
;
3272 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3273 wxObject_Destroy(arg1
);
3275 wxPyEndAllowThreads(__tstate
);
3276 if (PyErr_Occurred()) SWIG_fail
;
3278 Py_INCREF(Py_None
); resultobj
= Py_None
;
3285 static PyObject
* Object_swigregister(PyObject
*, PyObject
*args
) {
3287 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3288 SWIG_TypeClientData(SWIGTYPE_p_wxObject
, obj
);
3290 return Py_BuildValue((char *)"");
3292 static PyObject
*_wrap_Size_width_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3293 PyObject
*resultobj
;
3294 wxSize
*arg1
= (wxSize
*) 0 ;
3296 PyObject
* obj0
= 0 ;
3297 PyObject
* obj1
= 0 ;
3299 (char *) "self",(char *) "x", NULL
3302 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size_width_set",kwnames
,&obj0
,&obj1
)) goto fail
;
3303 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
| 0);
3304 if (SWIG_arg_fail(1)) SWIG_fail
;
3306 arg2
= (int)(SWIG_As_int(obj1
));
3307 if (SWIG_arg_fail(2)) SWIG_fail
;
3309 if (arg1
) (arg1
)->x
= arg2
;
3311 Py_INCREF(Py_None
); resultobj
= Py_None
;
3318 static PyObject
*_wrap_Size_width_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3319 PyObject
*resultobj
;
3320 wxSize
*arg1
= (wxSize
*) 0 ;
3322 PyObject
* obj0
= 0 ;
3324 (char *) "self", NULL
3327 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Size_width_get",kwnames
,&obj0
)) goto fail
;
3328 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
| 0);
3329 if (SWIG_arg_fail(1)) SWIG_fail
;
3330 result
= (int) ((arg1
)->x
);
3333 resultobj
= SWIG_From_int((int)(result
));
3341 static PyObject
*_wrap_Size_height_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3342 PyObject
*resultobj
;
3343 wxSize
*arg1
= (wxSize
*) 0 ;
3345 PyObject
* obj0
= 0 ;
3346 PyObject
* obj1
= 0 ;
3348 (char *) "self",(char *) "y", NULL
3351 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size_height_set",kwnames
,&obj0
,&obj1
)) goto fail
;
3352 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
| 0);
3353 if (SWIG_arg_fail(1)) SWIG_fail
;
3355 arg2
= (int)(SWIG_As_int(obj1
));
3356 if (SWIG_arg_fail(2)) SWIG_fail
;
3358 if (arg1
) (arg1
)->y
= arg2
;
3360 Py_INCREF(Py_None
); resultobj
= Py_None
;
3367 static PyObject
*_wrap_Size_height_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3368 PyObject
*resultobj
;
3369 wxSize
*arg1
= (wxSize
*) 0 ;
3371 PyObject
* obj0
= 0 ;
3373 (char *) "self", NULL
3376 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Size_height_get",kwnames
,&obj0
)) goto fail
;
3377 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
| 0);
3378 if (SWIG_arg_fail(1)) SWIG_fail
;
3379 result
= (int) ((arg1
)->y
);
3382 resultobj
= SWIG_From_int((int)(result
));
3390 static PyObject
*_wrap_new_Size(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3391 PyObject
*resultobj
;
3392 int arg1
= (int) 0 ;
3393 int arg2
= (int) 0 ;
3395 PyObject
* obj0
= 0 ;
3396 PyObject
* obj1
= 0 ;
3398 (char *) "w",(char *) "h", NULL
3401 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Size",kwnames
,&obj0
,&obj1
)) goto fail
;
3404 arg1
= (int)(SWIG_As_int(obj0
));
3405 if (SWIG_arg_fail(1)) SWIG_fail
;
3410 arg2
= (int)(SWIG_As_int(obj1
));
3411 if (SWIG_arg_fail(2)) SWIG_fail
;
3415 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3416 result
= (wxSize
*)new wxSize(arg1
,arg2
);
3418 wxPyEndAllowThreads(__tstate
);
3419 if (PyErr_Occurred()) SWIG_fail
;
3421 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSize
, 1);
3428 static PyObject
*_wrap_delete_Size(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3429 PyObject
*resultobj
;
3430 wxSize
*arg1
= (wxSize
*) 0 ;
3431 PyObject
* obj0
= 0 ;
3433 (char *) "self", NULL
3436 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Size",kwnames
,&obj0
)) goto fail
;
3437 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
| 0);
3438 if (SWIG_arg_fail(1)) SWIG_fail
;
3440 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3443 wxPyEndAllowThreads(__tstate
);
3444 if (PyErr_Occurred()) SWIG_fail
;
3446 Py_INCREF(Py_None
); resultobj
= Py_None
;
3453 static PyObject
*_wrap_Size___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3454 PyObject
*resultobj
;
3455 wxSize
*arg1
= (wxSize
*) 0 ;
3459 PyObject
* obj0
= 0 ;
3460 PyObject
* obj1
= 0 ;
3462 (char *) "self",(char *) "sz", NULL
3465 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
3466 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
| 0);
3467 if (SWIG_arg_fail(1)) SWIG_fail
;
3470 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
3473 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3474 result
= (bool)(arg1
)->operator ==((wxSize
const &)*arg2
);
3476 wxPyEndAllowThreads(__tstate
);
3477 if (PyErr_Occurred()) SWIG_fail
;
3480 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3488 static PyObject
*_wrap_Size___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3489 PyObject
*resultobj
;
3490 wxSize
*arg1
= (wxSize
*) 0 ;
3494 PyObject
* obj0
= 0 ;
3495 PyObject
* obj1
= 0 ;
3497 (char *) "self",(char *) "sz", NULL
3500 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
3501 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
| 0);
3502 if (SWIG_arg_fail(1)) SWIG_fail
;
3505 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
3508 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3509 result
= (bool)(arg1
)->operator !=((wxSize
const &)*arg2
);
3511 wxPyEndAllowThreads(__tstate
);
3512 if (PyErr_Occurred()) SWIG_fail
;
3515 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3523 static PyObject
*_wrap_Size___add__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3524 PyObject
*resultobj
;
3525 wxSize
*arg1
= (wxSize
*) 0 ;
3529 PyObject
* obj0
= 0 ;
3530 PyObject
* obj1
= 0 ;
3532 (char *) "self",(char *) "sz", NULL
3535 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size___add__",kwnames
,&obj0
,&obj1
)) goto fail
;
3536 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
| 0);
3537 if (SWIG_arg_fail(1)) SWIG_fail
;
3540 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
3543 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3544 result
= (arg1
)->operator +((wxSize
const &)*arg2
);
3546 wxPyEndAllowThreads(__tstate
);
3547 if (PyErr_Occurred()) SWIG_fail
;
3551 resultptr
= new wxSize((wxSize
&)(result
));
3552 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
3560 static PyObject
*_wrap_Size___sub__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3561 PyObject
*resultobj
;
3562 wxSize
*arg1
= (wxSize
*) 0 ;
3566 PyObject
* obj0
= 0 ;
3567 PyObject
* obj1
= 0 ;
3569 (char *) "self",(char *) "sz", NULL
3572 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size___sub__",kwnames
,&obj0
,&obj1
)) goto fail
;
3573 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
| 0);
3574 if (SWIG_arg_fail(1)) SWIG_fail
;
3577 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
3580 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3581 result
= (arg1
)->operator -((wxSize
const &)*arg2
);
3583 wxPyEndAllowThreads(__tstate
);
3584 if (PyErr_Occurred()) SWIG_fail
;
3588 resultptr
= new wxSize((wxSize
&)(result
));
3589 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
3597 static PyObject
*_wrap_Size_IncTo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3598 PyObject
*resultobj
;
3599 wxSize
*arg1
= (wxSize
*) 0 ;
3602 PyObject
* obj0
= 0 ;
3603 PyObject
* obj1
= 0 ;
3605 (char *) "self",(char *) "sz", NULL
3608 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size_IncTo",kwnames
,&obj0
,&obj1
)) goto fail
;
3609 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
| 0);
3610 if (SWIG_arg_fail(1)) SWIG_fail
;
3613 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
3616 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3617 (arg1
)->IncTo((wxSize
const &)*arg2
);
3619 wxPyEndAllowThreads(__tstate
);
3620 if (PyErr_Occurred()) SWIG_fail
;
3622 Py_INCREF(Py_None
); resultobj
= Py_None
;
3629 static PyObject
*_wrap_Size_DecTo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3630 PyObject
*resultobj
;
3631 wxSize
*arg1
= (wxSize
*) 0 ;
3634 PyObject
* obj0
= 0 ;
3635 PyObject
* obj1
= 0 ;
3637 (char *) "self",(char *) "sz", NULL
3640 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size_DecTo",kwnames
,&obj0
,&obj1
)) goto fail
;
3641 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
| 0);
3642 if (SWIG_arg_fail(1)) SWIG_fail
;
3645 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
3648 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3649 (arg1
)->DecTo((wxSize
const &)*arg2
);
3651 wxPyEndAllowThreads(__tstate
);
3652 if (PyErr_Occurred()) SWIG_fail
;
3654 Py_INCREF(Py_None
); resultobj
= Py_None
;
3661 static PyObject
*_wrap_Size_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3662 PyObject
*resultobj
;
3663 wxSize
*arg1
= (wxSize
*) 0 ;
3666 PyObject
* obj0
= 0 ;
3667 PyObject
* obj1
= 0 ;
3668 PyObject
* obj2
= 0 ;
3670 (char *) "self",(char *) "w",(char *) "h", NULL
3673 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Size_Set",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3674 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
| 0);
3675 if (SWIG_arg_fail(1)) SWIG_fail
;
3677 arg2
= (int)(SWIG_As_int(obj1
));
3678 if (SWIG_arg_fail(2)) SWIG_fail
;
3681 arg3
= (int)(SWIG_As_int(obj2
));
3682 if (SWIG_arg_fail(3)) SWIG_fail
;
3685 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3686 (arg1
)->Set(arg2
,arg3
);
3688 wxPyEndAllowThreads(__tstate
);
3689 if (PyErr_Occurred()) SWIG_fail
;
3691 Py_INCREF(Py_None
); resultobj
= Py_None
;
3698 static PyObject
*_wrap_Size_SetWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3699 PyObject
*resultobj
;
3700 wxSize
*arg1
= (wxSize
*) 0 ;
3702 PyObject
* obj0
= 0 ;
3703 PyObject
* obj1
= 0 ;
3705 (char *) "self",(char *) "w", NULL
3708 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size_SetWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
3709 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
| 0);
3710 if (SWIG_arg_fail(1)) SWIG_fail
;
3712 arg2
= (int)(SWIG_As_int(obj1
));
3713 if (SWIG_arg_fail(2)) SWIG_fail
;
3716 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3717 (arg1
)->SetWidth(arg2
);
3719 wxPyEndAllowThreads(__tstate
);
3720 if (PyErr_Occurred()) SWIG_fail
;
3722 Py_INCREF(Py_None
); resultobj
= Py_None
;
3729 static PyObject
*_wrap_Size_SetHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3730 PyObject
*resultobj
;
3731 wxSize
*arg1
= (wxSize
*) 0 ;
3733 PyObject
* obj0
= 0 ;
3734 PyObject
* obj1
= 0 ;
3736 (char *) "self",(char *) "h", NULL
3739 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size_SetHeight",kwnames
,&obj0
,&obj1
)) goto fail
;
3740 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
| 0);
3741 if (SWIG_arg_fail(1)) SWIG_fail
;
3743 arg2
= (int)(SWIG_As_int(obj1
));
3744 if (SWIG_arg_fail(2)) SWIG_fail
;
3747 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3748 (arg1
)->SetHeight(arg2
);
3750 wxPyEndAllowThreads(__tstate
);
3751 if (PyErr_Occurred()) SWIG_fail
;
3753 Py_INCREF(Py_None
); resultobj
= Py_None
;
3760 static PyObject
*_wrap_Size_GetWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3761 PyObject
*resultobj
;
3762 wxSize
*arg1
= (wxSize
*) 0 ;
3764 PyObject
* obj0
= 0 ;
3766 (char *) "self", NULL
3769 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Size_GetWidth",kwnames
,&obj0
)) goto fail
;
3770 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
| 0);
3771 if (SWIG_arg_fail(1)) SWIG_fail
;
3773 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3774 result
= (int)((wxSize
const *)arg1
)->GetWidth();
3776 wxPyEndAllowThreads(__tstate
);
3777 if (PyErr_Occurred()) SWIG_fail
;
3780 resultobj
= SWIG_From_int((int)(result
));
3788 static PyObject
*_wrap_Size_GetHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3789 PyObject
*resultobj
;
3790 wxSize
*arg1
= (wxSize
*) 0 ;
3792 PyObject
* obj0
= 0 ;
3794 (char *) "self", NULL
3797 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Size_GetHeight",kwnames
,&obj0
)) goto fail
;
3798 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
| 0);
3799 if (SWIG_arg_fail(1)) SWIG_fail
;
3801 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3802 result
= (int)((wxSize
const *)arg1
)->GetHeight();
3804 wxPyEndAllowThreads(__tstate
);
3805 if (PyErr_Occurred()) SWIG_fail
;
3808 resultobj
= SWIG_From_int((int)(result
));
3816 static PyObject
*_wrap_Size_IsFullySpecified(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3817 PyObject
*resultobj
;
3818 wxSize
*arg1
= (wxSize
*) 0 ;
3820 PyObject
* obj0
= 0 ;
3822 (char *) "self", NULL
3825 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Size_IsFullySpecified",kwnames
,&obj0
)) goto fail
;
3826 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
| 0);
3827 if (SWIG_arg_fail(1)) SWIG_fail
;
3829 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3830 result
= (bool)((wxSize
const *)arg1
)->IsFullySpecified();
3832 wxPyEndAllowThreads(__tstate
);
3833 if (PyErr_Occurred()) SWIG_fail
;
3836 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3844 static PyObject
*_wrap_Size_SetDefaults(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3845 PyObject
*resultobj
;
3846 wxSize
*arg1
= (wxSize
*) 0 ;
3849 PyObject
* obj0
= 0 ;
3850 PyObject
* obj1
= 0 ;
3852 (char *) "self",(char *) "size", NULL
3855 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size_SetDefaults",kwnames
,&obj0
,&obj1
)) goto fail
;
3856 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
| 0);
3857 if (SWIG_arg_fail(1)) SWIG_fail
;
3860 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
3863 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3864 (arg1
)->SetDefaults((wxSize
const &)*arg2
);
3866 wxPyEndAllowThreads(__tstate
);
3867 if (PyErr_Occurred()) SWIG_fail
;
3869 Py_INCREF(Py_None
); resultobj
= Py_None
;
3876 static PyObject
*_wrap_Size_Get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3877 PyObject
*resultobj
;
3878 wxSize
*arg1
= (wxSize
*) 0 ;
3880 PyObject
* obj0
= 0 ;
3882 (char *) "self", NULL
3885 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Size_Get",kwnames
,&obj0
)) goto fail
;
3886 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
| 0);
3887 if (SWIG_arg_fail(1)) SWIG_fail
;
3889 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3890 result
= (PyObject
*)wxSize_Get(arg1
);
3892 wxPyEndAllowThreads(__tstate
);
3893 if (PyErr_Occurred()) SWIG_fail
;
3902 static PyObject
* Size_swigregister(PyObject
*, PyObject
*args
) {
3904 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3905 SWIG_TypeClientData(SWIGTYPE_p_wxSize
, obj
);
3907 return Py_BuildValue((char *)"");
3909 static PyObject
*_wrap_RealPoint_x_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3910 PyObject
*resultobj
;
3911 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
3913 PyObject
* obj0
= 0 ;
3914 PyObject
* obj1
= 0 ;
3916 (char *) "self",(char *) "x", NULL
3919 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RealPoint_x_set",kwnames
,&obj0
,&obj1
)) goto fail
;
3920 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRealPoint
, SWIG_POINTER_EXCEPTION
| 0);
3921 if (SWIG_arg_fail(1)) SWIG_fail
;
3923 arg2
= (double)(SWIG_As_double(obj1
));
3924 if (SWIG_arg_fail(2)) SWIG_fail
;
3926 if (arg1
) (arg1
)->x
= arg2
;
3928 Py_INCREF(Py_None
); resultobj
= Py_None
;
3935 static PyObject
*_wrap_RealPoint_x_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3936 PyObject
*resultobj
;
3937 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
3939 PyObject
* obj0
= 0 ;
3941 (char *) "self", NULL
3944 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RealPoint_x_get",kwnames
,&obj0
)) goto fail
;
3945 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRealPoint
, SWIG_POINTER_EXCEPTION
| 0);
3946 if (SWIG_arg_fail(1)) SWIG_fail
;
3947 result
= (double) ((arg1
)->x
);
3950 resultobj
= SWIG_From_double((double)(result
));
3958 static PyObject
*_wrap_RealPoint_y_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3959 PyObject
*resultobj
;
3960 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
3962 PyObject
* obj0
= 0 ;
3963 PyObject
* obj1
= 0 ;
3965 (char *) "self",(char *) "y", NULL
3968 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RealPoint_y_set",kwnames
,&obj0
,&obj1
)) goto fail
;
3969 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRealPoint
, SWIG_POINTER_EXCEPTION
| 0);
3970 if (SWIG_arg_fail(1)) SWIG_fail
;
3972 arg2
= (double)(SWIG_As_double(obj1
));
3973 if (SWIG_arg_fail(2)) SWIG_fail
;
3975 if (arg1
) (arg1
)->y
= arg2
;
3977 Py_INCREF(Py_None
); resultobj
= Py_None
;
3984 static PyObject
*_wrap_RealPoint_y_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3985 PyObject
*resultobj
;
3986 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
3988 PyObject
* obj0
= 0 ;
3990 (char *) "self", NULL
3993 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RealPoint_y_get",kwnames
,&obj0
)) goto fail
;
3994 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRealPoint
, SWIG_POINTER_EXCEPTION
| 0);
3995 if (SWIG_arg_fail(1)) SWIG_fail
;
3996 result
= (double) ((arg1
)->y
);
3999 resultobj
= SWIG_From_double((double)(result
));
4007 static PyObject
*_wrap_new_RealPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4008 PyObject
*resultobj
;
4009 double arg1
= (double) 0.0 ;
4010 double arg2
= (double) 0.0 ;
4011 wxRealPoint
*result
;
4012 PyObject
* obj0
= 0 ;
4013 PyObject
* obj1
= 0 ;
4015 (char *) "x",(char *) "y", NULL
4018 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_RealPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
4021 arg1
= (double)(SWIG_As_double(obj0
));
4022 if (SWIG_arg_fail(1)) SWIG_fail
;
4027 arg2
= (double)(SWIG_As_double(obj1
));
4028 if (SWIG_arg_fail(2)) SWIG_fail
;
4032 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4033 result
= (wxRealPoint
*)new wxRealPoint(arg1
,arg2
);
4035 wxPyEndAllowThreads(__tstate
);
4036 if (PyErr_Occurred()) SWIG_fail
;
4038 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRealPoint
, 1);
4045 static PyObject
*_wrap_delete_RealPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4046 PyObject
*resultobj
;
4047 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
4048 PyObject
* obj0
= 0 ;
4050 (char *) "self", NULL
4053 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_RealPoint",kwnames
,&obj0
)) goto fail
;
4054 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRealPoint
, SWIG_POINTER_EXCEPTION
| 0);
4055 if (SWIG_arg_fail(1)) SWIG_fail
;
4057 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4060 wxPyEndAllowThreads(__tstate
);
4061 if (PyErr_Occurred()) SWIG_fail
;
4063 Py_INCREF(Py_None
); resultobj
= Py_None
;
4070 static PyObject
*_wrap_RealPoint___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4071 PyObject
*resultobj
;
4072 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
4073 wxRealPoint
*arg2
= 0 ;
4076 PyObject
* obj0
= 0 ;
4077 PyObject
* obj1
= 0 ;
4079 (char *) "self",(char *) "pt", NULL
4082 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RealPoint___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
4083 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRealPoint
, SWIG_POINTER_EXCEPTION
| 0);
4084 if (SWIG_arg_fail(1)) SWIG_fail
;
4087 if ( ! wxRealPoint_helper(obj1
, &arg2
)) SWIG_fail
;
4090 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4091 result
= (bool)(arg1
)->operator ==((wxRealPoint
const &)*arg2
);
4093 wxPyEndAllowThreads(__tstate
);
4094 if (PyErr_Occurred()) SWIG_fail
;
4097 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4105 static PyObject
*_wrap_RealPoint___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4106 PyObject
*resultobj
;
4107 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
4108 wxRealPoint
*arg2
= 0 ;
4111 PyObject
* obj0
= 0 ;
4112 PyObject
* obj1
= 0 ;
4114 (char *) "self",(char *) "pt", NULL
4117 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RealPoint___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
4118 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRealPoint
, SWIG_POINTER_EXCEPTION
| 0);
4119 if (SWIG_arg_fail(1)) SWIG_fail
;
4122 if ( ! wxRealPoint_helper(obj1
, &arg2
)) SWIG_fail
;
4125 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4126 result
= (bool)(arg1
)->operator !=((wxRealPoint
const &)*arg2
);
4128 wxPyEndAllowThreads(__tstate
);
4129 if (PyErr_Occurred()) SWIG_fail
;
4132 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4140 static PyObject
*_wrap_RealPoint___add__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4141 PyObject
*resultobj
;
4142 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
4143 wxRealPoint
*arg2
= 0 ;
4146 PyObject
* obj0
= 0 ;
4147 PyObject
* obj1
= 0 ;
4149 (char *) "self",(char *) "pt", NULL
4152 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RealPoint___add__",kwnames
,&obj0
,&obj1
)) goto fail
;
4153 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRealPoint
, SWIG_POINTER_EXCEPTION
| 0);
4154 if (SWIG_arg_fail(1)) SWIG_fail
;
4157 if ( ! wxRealPoint_helper(obj1
, &arg2
)) SWIG_fail
;
4160 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4161 result
= (arg1
)->operator +((wxRealPoint
const &)*arg2
);
4163 wxPyEndAllowThreads(__tstate
);
4164 if (PyErr_Occurred()) SWIG_fail
;
4167 wxRealPoint
* resultptr
;
4168 resultptr
= new wxRealPoint((wxRealPoint
&)(result
));
4169 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRealPoint
, 1);
4177 static PyObject
*_wrap_RealPoint___sub__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4178 PyObject
*resultobj
;
4179 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
4180 wxRealPoint
*arg2
= 0 ;
4183 PyObject
* obj0
= 0 ;
4184 PyObject
* obj1
= 0 ;
4186 (char *) "self",(char *) "pt", NULL
4189 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RealPoint___sub__",kwnames
,&obj0
,&obj1
)) goto fail
;
4190 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRealPoint
, SWIG_POINTER_EXCEPTION
| 0);
4191 if (SWIG_arg_fail(1)) SWIG_fail
;
4194 if ( ! wxRealPoint_helper(obj1
, &arg2
)) SWIG_fail
;
4197 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4198 result
= (arg1
)->operator -((wxRealPoint
const &)*arg2
);
4200 wxPyEndAllowThreads(__tstate
);
4201 if (PyErr_Occurred()) SWIG_fail
;
4204 wxRealPoint
* resultptr
;
4205 resultptr
= new wxRealPoint((wxRealPoint
&)(result
));
4206 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRealPoint
, 1);
4214 static PyObject
*_wrap_RealPoint_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4215 PyObject
*resultobj
;
4216 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
4219 PyObject
* obj0
= 0 ;
4220 PyObject
* obj1
= 0 ;
4221 PyObject
* obj2
= 0 ;
4223 (char *) "self",(char *) "x",(char *) "y", NULL
4226 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:RealPoint_Set",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4227 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRealPoint
, SWIG_POINTER_EXCEPTION
| 0);
4228 if (SWIG_arg_fail(1)) SWIG_fail
;
4230 arg2
= (double)(SWIG_As_double(obj1
));
4231 if (SWIG_arg_fail(2)) SWIG_fail
;
4234 arg3
= (double)(SWIG_As_double(obj2
));
4235 if (SWIG_arg_fail(3)) SWIG_fail
;
4238 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4239 wxRealPoint_Set(arg1
,arg2
,arg3
);
4241 wxPyEndAllowThreads(__tstate
);
4242 if (PyErr_Occurred()) SWIG_fail
;
4244 Py_INCREF(Py_None
); resultobj
= Py_None
;
4251 static PyObject
*_wrap_RealPoint_Get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4252 PyObject
*resultobj
;
4253 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
4255 PyObject
* obj0
= 0 ;
4257 (char *) "self", NULL
4260 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RealPoint_Get",kwnames
,&obj0
)) goto fail
;
4261 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRealPoint
, SWIG_POINTER_EXCEPTION
| 0);
4262 if (SWIG_arg_fail(1)) SWIG_fail
;
4264 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4265 result
= (PyObject
*)wxRealPoint_Get(arg1
);
4267 wxPyEndAllowThreads(__tstate
);
4268 if (PyErr_Occurred()) SWIG_fail
;
4277 static PyObject
* RealPoint_swigregister(PyObject
*, PyObject
*args
) {
4279 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4280 SWIG_TypeClientData(SWIGTYPE_p_wxRealPoint
, obj
);
4282 return Py_BuildValue((char *)"");
4284 static PyObject
*_wrap_Point_x_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4285 PyObject
*resultobj
;
4286 wxPoint
*arg1
= (wxPoint
*) 0 ;
4288 PyObject
* obj0
= 0 ;
4289 PyObject
* obj1
= 0 ;
4291 (char *) "self",(char *) "x", NULL
4294 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point_x_set",kwnames
,&obj0
,&obj1
)) goto fail
;
4295 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint
, SWIG_POINTER_EXCEPTION
| 0);
4296 if (SWIG_arg_fail(1)) SWIG_fail
;
4298 arg2
= (int)(SWIG_As_int(obj1
));
4299 if (SWIG_arg_fail(2)) SWIG_fail
;
4301 if (arg1
) (arg1
)->x
= arg2
;
4303 Py_INCREF(Py_None
); resultobj
= Py_None
;
4310 static PyObject
*_wrap_Point_x_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4311 PyObject
*resultobj
;
4312 wxPoint
*arg1
= (wxPoint
*) 0 ;
4314 PyObject
* obj0
= 0 ;
4316 (char *) "self", NULL
4319 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point_x_get",kwnames
,&obj0
)) goto fail
;
4320 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint
, SWIG_POINTER_EXCEPTION
| 0);
4321 if (SWIG_arg_fail(1)) SWIG_fail
;
4322 result
= (int) ((arg1
)->x
);
4325 resultobj
= SWIG_From_int((int)(result
));
4333 static PyObject
*_wrap_Point_y_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4334 PyObject
*resultobj
;
4335 wxPoint
*arg1
= (wxPoint
*) 0 ;
4337 PyObject
* obj0
= 0 ;
4338 PyObject
* obj1
= 0 ;
4340 (char *) "self",(char *) "y", NULL
4343 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point_y_set",kwnames
,&obj0
,&obj1
)) goto fail
;
4344 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint
, SWIG_POINTER_EXCEPTION
| 0);
4345 if (SWIG_arg_fail(1)) SWIG_fail
;
4347 arg2
= (int)(SWIG_As_int(obj1
));
4348 if (SWIG_arg_fail(2)) SWIG_fail
;
4350 if (arg1
) (arg1
)->y
= arg2
;
4352 Py_INCREF(Py_None
); resultobj
= Py_None
;
4359 static PyObject
*_wrap_Point_y_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4360 PyObject
*resultobj
;
4361 wxPoint
*arg1
= (wxPoint
*) 0 ;
4363 PyObject
* obj0
= 0 ;
4365 (char *) "self", NULL
4368 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point_y_get",kwnames
,&obj0
)) goto fail
;
4369 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint
, SWIG_POINTER_EXCEPTION
| 0);
4370 if (SWIG_arg_fail(1)) SWIG_fail
;
4371 result
= (int) ((arg1
)->y
);
4374 resultobj
= SWIG_From_int((int)(result
));
4382 static PyObject
*_wrap_new_Point(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4383 PyObject
*resultobj
;
4384 int arg1
= (int) 0 ;
4385 int arg2
= (int) 0 ;
4387 PyObject
* obj0
= 0 ;
4388 PyObject
* obj1
= 0 ;
4390 (char *) "x",(char *) "y", NULL
4393 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Point",kwnames
,&obj0
,&obj1
)) goto fail
;
4396 arg1
= (int)(SWIG_As_int(obj0
));
4397 if (SWIG_arg_fail(1)) SWIG_fail
;
4402 arg2
= (int)(SWIG_As_int(obj1
));
4403 if (SWIG_arg_fail(2)) SWIG_fail
;
4407 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4408 result
= (wxPoint
*)new wxPoint(arg1
,arg2
);
4410 wxPyEndAllowThreads(__tstate
);
4411 if (PyErr_Occurred()) SWIG_fail
;
4413 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint
, 1);
4420 static PyObject
*_wrap_delete_Point(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4421 PyObject
*resultobj
;
4422 wxPoint
*arg1
= (wxPoint
*) 0 ;
4423 PyObject
* obj0
= 0 ;
4425 (char *) "self", NULL
4428 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Point",kwnames
,&obj0
)) goto fail
;
4429 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint
, SWIG_POINTER_EXCEPTION
| 0);
4430 if (SWIG_arg_fail(1)) SWIG_fail
;
4432 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4435 wxPyEndAllowThreads(__tstate
);
4436 if (PyErr_Occurred()) SWIG_fail
;
4438 Py_INCREF(Py_None
); resultobj
= Py_None
;
4445 static PyObject
*_wrap_Point___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4446 PyObject
*resultobj
;
4447 wxPoint
*arg1
= (wxPoint
*) 0 ;
4451 PyObject
* obj0
= 0 ;
4452 PyObject
* obj1
= 0 ;
4454 (char *) "self",(char *) "pt", NULL
4457 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
4458 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint
, SWIG_POINTER_EXCEPTION
| 0);
4459 if (SWIG_arg_fail(1)) SWIG_fail
;
4462 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
4465 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4466 result
= (bool)(arg1
)->operator ==((wxPoint
const &)*arg2
);
4468 wxPyEndAllowThreads(__tstate
);
4469 if (PyErr_Occurred()) SWIG_fail
;
4472 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4480 static PyObject
*_wrap_Point___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4481 PyObject
*resultobj
;
4482 wxPoint
*arg1
= (wxPoint
*) 0 ;
4486 PyObject
* obj0
= 0 ;
4487 PyObject
* obj1
= 0 ;
4489 (char *) "self",(char *) "pt", NULL
4492 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
4493 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint
, SWIG_POINTER_EXCEPTION
| 0);
4494 if (SWIG_arg_fail(1)) SWIG_fail
;
4497 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
4500 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4501 result
= (bool)(arg1
)->operator !=((wxPoint
const &)*arg2
);
4503 wxPyEndAllowThreads(__tstate
);
4504 if (PyErr_Occurred()) SWIG_fail
;
4507 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4515 static PyObject
*_wrap_Point___add__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4516 PyObject
*resultobj
;
4517 wxPoint
*arg1
= (wxPoint
*) 0 ;
4521 PyObject
* obj0
= 0 ;
4522 PyObject
* obj1
= 0 ;
4524 (char *) "self",(char *) "pt", NULL
4527 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point___add__",kwnames
,&obj0
,&obj1
)) goto fail
;
4528 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint
, SWIG_POINTER_EXCEPTION
| 0);
4529 if (SWIG_arg_fail(1)) SWIG_fail
;
4532 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
4535 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4536 result
= (arg1
)->operator +((wxPoint
const &)*arg2
);
4538 wxPyEndAllowThreads(__tstate
);
4539 if (PyErr_Occurred()) SWIG_fail
;
4542 wxPoint
* resultptr
;
4543 resultptr
= new wxPoint((wxPoint
&)(result
));
4544 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
4552 static PyObject
*_wrap_Point___sub__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4553 PyObject
*resultobj
;
4554 wxPoint
*arg1
= (wxPoint
*) 0 ;
4558 PyObject
* obj0
= 0 ;
4559 PyObject
* obj1
= 0 ;
4561 (char *) "self",(char *) "pt", NULL
4564 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point___sub__",kwnames
,&obj0
,&obj1
)) goto fail
;
4565 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint
, SWIG_POINTER_EXCEPTION
| 0);
4566 if (SWIG_arg_fail(1)) SWIG_fail
;
4569 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
4572 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4573 result
= (arg1
)->operator -((wxPoint
const &)*arg2
);
4575 wxPyEndAllowThreads(__tstate
);
4576 if (PyErr_Occurred()) SWIG_fail
;
4579 wxPoint
* resultptr
;
4580 resultptr
= new wxPoint((wxPoint
&)(result
));
4581 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
4589 static PyObject
*_wrap_Point___iadd__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4590 PyObject
*resultobj
;
4591 wxPoint
*arg1
= (wxPoint
*) 0 ;
4595 PyObject
* obj0
= 0 ;
4596 PyObject
* obj1
= 0 ;
4598 (char *) "self",(char *) "pt", NULL
4601 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point___iadd__",kwnames
,&obj0
,&obj1
)) goto fail
;
4602 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
4603 if (SWIG_arg_fail(1)) SWIG_fail
;
4606 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
4609 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4611 wxPoint
&_result_ref
= (arg1
)->operator +=((wxPoint
const &)*arg2
);
4612 result
= (wxPoint
*) &_result_ref
;
4615 wxPyEndAllowThreads(__tstate
);
4616 if (PyErr_Occurred()) SWIG_fail
;
4618 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint
, 1);
4625 static PyObject
*_wrap_Point___isub__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4626 PyObject
*resultobj
;
4627 wxPoint
*arg1
= (wxPoint
*) 0 ;
4631 PyObject
* obj0
= 0 ;
4632 PyObject
* obj1
= 0 ;
4634 (char *) "self",(char *) "pt", NULL
4637 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point___isub__",kwnames
,&obj0
,&obj1
)) goto fail
;
4638 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
4639 if (SWIG_arg_fail(1)) SWIG_fail
;
4642 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
4645 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4647 wxPoint
&_result_ref
= (arg1
)->operator -=((wxPoint
const &)*arg2
);
4648 result
= (wxPoint
*) &_result_ref
;
4651 wxPyEndAllowThreads(__tstate
);
4652 if (PyErr_Occurred()) SWIG_fail
;
4654 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint
, 1);
4661 static PyObject
*_wrap_Point_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4662 PyObject
*resultobj
;
4663 wxPoint
*arg1
= (wxPoint
*) 0 ;
4666 PyObject
* obj0
= 0 ;
4667 PyObject
* obj1
= 0 ;
4668 PyObject
* obj2
= 0 ;
4670 (char *) "self",(char *) "x",(char *) "y", NULL
4673 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Point_Set",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4674 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint
, SWIG_POINTER_EXCEPTION
| 0);
4675 if (SWIG_arg_fail(1)) SWIG_fail
;
4677 arg2
= (long)(SWIG_As_long(obj1
));
4678 if (SWIG_arg_fail(2)) SWIG_fail
;
4681 arg3
= (long)(SWIG_As_long(obj2
));
4682 if (SWIG_arg_fail(3)) SWIG_fail
;
4685 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4686 wxPoint_Set(arg1
,arg2
,arg3
);
4688 wxPyEndAllowThreads(__tstate
);
4689 if (PyErr_Occurred()) SWIG_fail
;
4691 Py_INCREF(Py_None
); resultobj
= Py_None
;
4698 static PyObject
*_wrap_Point_Get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4699 PyObject
*resultobj
;
4700 wxPoint
*arg1
= (wxPoint
*) 0 ;
4702 PyObject
* obj0
= 0 ;
4704 (char *) "self", NULL
4707 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point_Get",kwnames
,&obj0
)) goto fail
;
4708 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint
, SWIG_POINTER_EXCEPTION
| 0);
4709 if (SWIG_arg_fail(1)) SWIG_fail
;
4711 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4712 result
= (PyObject
*)wxPoint_Get(arg1
);
4714 wxPyEndAllowThreads(__tstate
);
4715 if (PyErr_Occurred()) SWIG_fail
;
4724 static PyObject
* Point_swigregister(PyObject
*, PyObject
*args
) {
4726 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4727 SWIG_TypeClientData(SWIGTYPE_p_wxPoint
, obj
);
4729 return Py_BuildValue((char *)"");
4731 static PyObject
*_wrap_new_Rect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4732 PyObject
*resultobj
;
4733 int arg1
= (int) 0 ;
4734 int arg2
= (int) 0 ;
4735 int arg3
= (int) 0 ;
4736 int arg4
= (int) 0 ;
4738 PyObject
* obj0
= 0 ;
4739 PyObject
* obj1
= 0 ;
4740 PyObject
* obj2
= 0 ;
4741 PyObject
* obj3
= 0 ;
4743 (char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
4746 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_Rect",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
4749 arg1
= (int)(SWIG_As_int(obj0
));
4750 if (SWIG_arg_fail(1)) SWIG_fail
;
4755 arg2
= (int)(SWIG_As_int(obj1
));
4756 if (SWIG_arg_fail(2)) SWIG_fail
;
4761 arg3
= (int)(SWIG_As_int(obj2
));
4762 if (SWIG_arg_fail(3)) SWIG_fail
;
4767 arg4
= (int)(SWIG_As_int(obj3
));
4768 if (SWIG_arg_fail(4)) SWIG_fail
;
4772 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4773 result
= (wxRect
*)new wxRect(arg1
,arg2
,arg3
,arg4
);
4775 wxPyEndAllowThreads(__tstate
);
4776 if (PyErr_Occurred()) SWIG_fail
;
4778 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 1);
4785 static PyObject
*_wrap_new_RectPP(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4786 PyObject
*resultobj
;
4792 PyObject
* obj0
= 0 ;
4793 PyObject
* obj1
= 0 ;
4795 (char *) "topLeft",(char *) "bottomRight", NULL
4798 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_RectPP",kwnames
,&obj0
,&obj1
)) goto fail
;
4801 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
4805 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
4808 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4809 result
= (wxRect
*)new wxRect((wxPoint
const &)*arg1
,(wxPoint
const &)*arg2
);
4811 wxPyEndAllowThreads(__tstate
);
4812 if (PyErr_Occurred()) SWIG_fail
;
4814 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 1);
4821 static PyObject
*_wrap_new_RectPS(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4822 PyObject
*resultobj
;
4828 PyObject
* obj0
= 0 ;
4829 PyObject
* obj1
= 0 ;
4831 (char *) "pos",(char *) "size", NULL
4834 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_RectPS",kwnames
,&obj0
,&obj1
)) goto fail
;
4837 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
4841 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
4844 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4845 result
= (wxRect
*)new wxRect((wxPoint
const &)*arg1
,(wxSize
const &)*arg2
);
4847 wxPyEndAllowThreads(__tstate
);
4848 if (PyErr_Occurred()) SWIG_fail
;
4850 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 1);
4857 static PyObject
*_wrap_new_RectS(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4858 PyObject
*resultobj
;
4862 PyObject
* obj0
= 0 ;
4864 (char *) "size", NULL
4867 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_RectS",kwnames
,&obj0
)) goto fail
;
4870 if ( ! wxSize_helper(obj0
, &arg1
)) SWIG_fail
;
4873 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4874 result
= (wxRect
*)new wxRect((wxSize
const &)*arg1
);
4876 wxPyEndAllowThreads(__tstate
);
4877 if (PyErr_Occurred()) SWIG_fail
;
4879 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 1);
4886 static PyObject
*_wrap_delete_Rect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4887 PyObject
*resultobj
;
4888 wxRect
*arg1
= (wxRect
*) 0 ;
4889 PyObject
* obj0
= 0 ;
4891 (char *) "self", NULL
4894 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Rect",kwnames
,&obj0
)) goto fail
;
4895 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
4896 if (SWIG_arg_fail(1)) SWIG_fail
;
4898 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4901 wxPyEndAllowThreads(__tstate
);
4902 if (PyErr_Occurred()) SWIG_fail
;
4904 Py_INCREF(Py_None
); resultobj
= Py_None
;
4911 static PyObject
*_wrap_Rect_GetX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4912 PyObject
*resultobj
;
4913 wxRect
*arg1
= (wxRect
*) 0 ;
4915 PyObject
* obj0
= 0 ;
4917 (char *) "self", NULL
4920 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetX",kwnames
,&obj0
)) goto fail
;
4921 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
4922 if (SWIG_arg_fail(1)) SWIG_fail
;
4924 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4925 result
= (int)((wxRect
const *)arg1
)->GetX();
4927 wxPyEndAllowThreads(__tstate
);
4928 if (PyErr_Occurred()) SWIG_fail
;
4931 resultobj
= SWIG_From_int((int)(result
));
4939 static PyObject
*_wrap_Rect_SetX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4940 PyObject
*resultobj
;
4941 wxRect
*arg1
= (wxRect
*) 0 ;
4943 PyObject
* obj0
= 0 ;
4944 PyObject
* obj1
= 0 ;
4946 (char *) "self",(char *) "x", NULL
4949 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetX",kwnames
,&obj0
,&obj1
)) goto fail
;
4950 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
4951 if (SWIG_arg_fail(1)) SWIG_fail
;
4953 arg2
= (int)(SWIG_As_int(obj1
));
4954 if (SWIG_arg_fail(2)) SWIG_fail
;
4957 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4960 wxPyEndAllowThreads(__tstate
);
4961 if (PyErr_Occurred()) SWIG_fail
;
4963 Py_INCREF(Py_None
); resultobj
= Py_None
;
4970 static PyObject
*_wrap_Rect_GetY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4971 PyObject
*resultobj
;
4972 wxRect
*arg1
= (wxRect
*) 0 ;
4974 PyObject
* obj0
= 0 ;
4976 (char *) "self", NULL
4979 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetY",kwnames
,&obj0
)) goto fail
;
4980 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
4981 if (SWIG_arg_fail(1)) SWIG_fail
;
4983 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4984 result
= (int)(arg1
)->GetY();
4986 wxPyEndAllowThreads(__tstate
);
4987 if (PyErr_Occurred()) SWIG_fail
;
4990 resultobj
= SWIG_From_int((int)(result
));
4998 static PyObject
*_wrap_Rect_SetY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4999 PyObject
*resultobj
;
5000 wxRect
*arg1
= (wxRect
*) 0 ;
5002 PyObject
* obj0
= 0 ;
5003 PyObject
* obj1
= 0 ;
5005 (char *) "self",(char *) "y", NULL
5008 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetY",kwnames
,&obj0
,&obj1
)) goto fail
;
5009 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5010 if (SWIG_arg_fail(1)) SWIG_fail
;
5012 arg2
= (int)(SWIG_As_int(obj1
));
5013 if (SWIG_arg_fail(2)) SWIG_fail
;
5016 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5019 wxPyEndAllowThreads(__tstate
);
5020 if (PyErr_Occurred()) SWIG_fail
;
5022 Py_INCREF(Py_None
); resultobj
= Py_None
;
5029 static PyObject
*_wrap_Rect_GetWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5030 PyObject
*resultobj
;
5031 wxRect
*arg1
= (wxRect
*) 0 ;
5033 PyObject
* obj0
= 0 ;
5035 (char *) "self", NULL
5038 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetWidth",kwnames
,&obj0
)) goto fail
;
5039 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5040 if (SWIG_arg_fail(1)) SWIG_fail
;
5042 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5043 result
= (int)((wxRect
const *)arg1
)->GetWidth();
5045 wxPyEndAllowThreads(__tstate
);
5046 if (PyErr_Occurred()) SWIG_fail
;
5049 resultobj
= SWIG_From_int((int)(result
));
5057 static PyObject
*_wrap_Rect_SetWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5058 PyObject
*resultobj
;
5059 wxRect
*arg1
= (wxRect
*) 0 ;
5061 PyObject
* obj0
= 0 ;
5062 PyObject
* obj1
= 0 ;
5064 (char *) "self",(char *) "w", NULL
5067 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
5068 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5069 if (SWIG_arg_fail(1)) SWIG_fail
;
5071 arg2
= (int)(SWIG_As_int(obj1
));
5072 if (SWIG_arg_fail(2)) SWIG_fail
;
5075 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5076 (arg1
)->SetWidth(arg2
);
5078 wxPyEndAllowThreads(__tstate
);
5079 if (PyErr_Occurred()) SWIG_fail
;
5081 Py_INCREF(Py_None
); resultobj
= Py_None
;
5088 static PyObject
*_wrap_Rect_GetHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5089 PyObject
*resultobj
;
5090 wxRect
*arg1
= (wxRect
*) 0 ;
5092 PyObject
* obj0
= 0 ;
5094 (char *) "self", NULL
5097 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetHeight",kwnames
,&obj0
)) goto fail
;
5098 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5099 if (SWIG_arg_fail(1)) SWIG_fail
;
5101 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5102 result
= (int)((wxRect
const *)arg1
)->GetHeight();
5104 wxPyEndAllowThreads(__tstate
);
5105 if (PyErr_Occurred()) SWIG_fail
;
5108 resultobj
= SWIG_From_int((int)(result
));
5116 static PyObject
*_wrap_Rect_SetHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5117 PyObject
*resultobj
;
5118 wxRect
*arg1
= (wxRect
*) 0 ;
5120 PyObject
* obj0
= 0 ;
5121 PyObject
* obj1
= 0 ;
5123 (char *) "self",(char *) "h", NULL
5126 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetHeight",kwnames
,&obj0
,&obj1
)) goto fail
;
5127 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5128 if (SWIG_arg_fail(1)) SWIG_fail
;
5130 arg2
= (int)(SWIG_As_int(obj1
));
5131 if (SWIG_arg_fail(2)) SWIG_fail
;
5134 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5135 (arg1
)->SetHeight(arg2
);
5137 wxPyEndAllowThreads(__tstate
);
5138 if (PyErr_Occurred()) SWIG_fail
;
5140 Py_INCREF(Py_None
); resultobj
= Py_None
;
5147 static PyObject
*_wrap_Rect_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5148 PyObject
*resultobj
;
5149 wxRect
*arg1
= (wxRect
*) 0 ;
5151 PyObject
* obj0
= 0 ;
5153 (char *) "self", NULL
5156 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetPosition",kwnames
,&obj0
)) goto fail
;
5157 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5158 if (SWIG_arg_fail(1)) SWIG_fail
;
5160 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5161 result
= ((wxRect
const *)arg1
)->GetPosition();
5163 wxPyEndAllowThreads(__tstate
);
5164 if (PyErr_Occurred()) SWIG_fail
;
5167 wxPoint
* resultptr
;
5168 resultptr
= new wxPoint((wxPoint
&)(result
));
5169 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
5177 static PyObject
*_wrap_Rect_SetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5178 PyObject
*resultobj
;
5179 wxRect
*arg1
= (wxRect
*) 0 ;
5182 PyObject
* obj0
= 0 ;
5183 PyObject
* obj1
= 0 ;
5185 (char *) "self",(char *) "p", NULL
5188 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
5189 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5190 if (SWIG_arg_fail(1)) SWIG_fail
;
5193 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
5196 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5197 (arg1
)->SetPosition((wxPoint
const &)*arg2
);
5199 wxPyEndAllowThreads(__tstate
);
5200 if (PyErr_Occurred()) SWIG_fail
;
5202 Py_INCREF(Py_None
); resultobj
= Py_None
;
5209 static PyObject
*_wrap_Rect_GetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5210 PyObject
*resultobj
;
5211 wxRect
*arg1
= (wxRect
*) 0 ;
5213 PyObject
* obj0
= 0 ;
5215 (char *) "self", NULL
5218 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetSize",kwnames
,&obj0
)) goto fail
;
5219 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5220 if (SWIG_arg_fail(1)) SWIG_fail
;
5222 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5223 result
= ((wxRect
const *)arg1
)->GetSize();
5225 wxPyEndAllowThreads(__tstate
);
5226 if (PyErr_Occurred()) SWIG_fail
;
5230 resultptr
= new wxSize((wxSize
&)(result
));
5231 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
5239 static PyObject
*_wrap_Rect_SetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5240 PyObject
*resultobj
;
5241 wxRect
*arg1
= (wxRect
*) 0 ;
5244 PyObject
* obj0
= 0 ;
5245 PyObject
* obj1
= 0 ;
5247 (char *) "self",(char *) "s", NULL
5250 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetSize",kwnames
,&obj0
,&obj1
)) goto fail
;
5251 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5252 if (SWIG_arg_fail(1)) SWIG_fail
;
5255 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
5258 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5259 (arg1
)->SetSize((wxSize
const &)*arg2
);
5261 wxPyEndAllowThreads(__tstate
);
5262 if (PyErr_Occurred()) SWIG_fail
;
5264 Py_INCREF(Py_None
); resultobj
= Py_None
;
5271 static PyObject
*_wrap_Rect_GetTopLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5272 PyObject
*resultobj
;
5273 wxRect
*arg1
= (wxRect
*) 0 ;
5275 PyObject
* obj0
= 0 ;
5277 (char *) "self", NULL
5280 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetTopLeft",kwnames
,&obj0
)) goto fail
;
5281 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5282 if (SWIG_arg_fail(1)) SWIG_fail
;
5284 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5285 result
= ((wxRect
const *)arg1
)->GetTopLeft();
5287 wxPyEndAllowThreads(__tstate
);
5288 if (PyErr_Occurred()) SWIG_fail
;
5291 wxPoint
* resultptr
;
5292 resultptr
= new wxPoint((wxPoint
&)(result
));
5293 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
5301 static PyObject
*_wrap_Rect_SetTopLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5302 PyObject
*resultobj
;
5303 wxRect
*arg1
= (wxRect
*) 0 ;
5306 PyObject
* obj0
= 0 ;
5307 PyObject
* obj1
= 0 ;
5309 (char *) "self",(char *) "p", NULL
5312 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetTopLeft",kwnames
,&obj0
,&obj1
)) goto fail
;
5313 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5314 if (SWIG_arg_fail(1)) SWIG_fail
;
5317 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
5320 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5321 (arg1
)->SetTopLeft((wxPoint
const &)*arg2
);
5323 wxPyEndAllowThreads(__tstate
);
5324 if (PyErr_Occurred()) SWIG_fail
;
5326 Py_INCREF(Py_None
); resultobj
= Py_None
;
5333 static PyObject
*_wrap_Rect_GetBottomRight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5334 PyObject
*resultobj
;
5335 wxRect
*arg1
= (wxRect
*) 0 ;
5337 PyObject
* obj0
= 0 ;
5339 (char *) "self", NULL
5342 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetBottomRight",kwnames
,&obj0
)) goto fail
;
5343 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5344 if (SWIG_arg_fail(1)) SWIG_fail
;
5346 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5347 result
= ((wxRect
const *)arg1
)->GetBottomRight();
5349 wxPyEndAllowThreads(__tstate
);
5350 if (PyErr_Occurred()) SWIG_fail
;
5353 wxPoint
* resultptr
;
5354 resultptr
= new wxPoint((wxPoint
&)(result
));
5355 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
5363 static PyObject
*_wrap_Rect_SetBottomRight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5364 PyObject
*resultobj
;
5365 wxRect
*arg1
= (wxRect
*) 0 ;
5368 PyObject
* obj0
= 0 ;
5369 PyObject
* obj1
= 0 ;
5371 (char *) "self",(char *) "p", NULL
5374 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetBottomRight",kwnames
,&obj0
,&obj1
)) goto fail
;
5375 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5376 if (SWIG_arg_fail(1)) SWIG_fail
;
5379 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
5382 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5383 (arg1
)->SetBottomRight((wxPoint
const &)*arg2
);
5385 wxPyEndAllowThreads(__tstate
);
5386 if (PyErr_Occurred()) SWIG_fail
;
5388 Py_INCREF(Py_None
); resultobj
= Py_None
;
5395 static PyObject
*_wrap_Rect_GetLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5396 PyObject
*resultobj
;
5397 wxRect
*arg1
= (wxRect
*) 0 ;
5399 PyObject
* obj0
= 0 ;
5401 (char *) "self", NULL
5404 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetLeft",kwnames
,&obj0
)) goto fail
;
5405 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5406 if (SWIG_arg_fail(1)) SWIG_fail
;
5408 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5409 result
= (int)((wxRect
const *)arg1
)->GetLeft();
5411 wxPyEndAllowThreads(__tstate
);
5412 if (PyErr_Occurred()) SWIG_fail
;
5415 resultobj
= SWIG_From_int((int)(result
));
5423 static PyObject
*_wrap_Rect_GetTop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5424 PyObject
*resultobj
;
5425 wxRect
*arg1
= (wxRect
*) 0 ;
5427 PyObject
* obj0
= 0 ;
5429 (char *) "self", NULL
5432 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetTop",kwnames
,&obj0
)) goto fail
;
5433 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5434 if (SWIG_arg_fail(1)) SWIG_fail
;
5436 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5437 result
= (int)((wxRect
const *)arg1
)->GetTop();
5439 wxPyEndAllowThreads(__tstate
);
5440 if (PyErr_Occurred()) SWIG_fail
;
5443 resultobj
= SWIG_From_int((int)(result
));
5451 static PyObject
*_wrap_Rect_GetBottom(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5452 PyObject
*resultobj
;
5453 wxRect
*arg1
= (wxRect
*) 0 ;
5455 PyObject
* obj0
= 0 ;
5457 (char *) "self", NULL
5460 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetBottom",kwnames
,&obj0
)) goto fail
;
5461 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5462 if (SWIG_arg_fail(1)) SWIG_fail
;
5464 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5465 result
= (int)((wxRect
const *)arg1
)->GetBottom();
5467 wxPyEndAllowThreads(__tstate
);
5468 if (PyErr_Occurred()) SWIG_fail
;
5471 resultobj
= SWIG_From_int((int)(result
));
5479 static PyObject
*_wrap_Rect_GetRight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5480 PyObject
*resultobj
;
5481 wxRect
*arg1
= (wxRect
*) 0 ;
5483 PyObject
* obj0
= 0 ;
5485 (char *) "self", NULL
5488 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetRight",kwnames
,&obj0
)) goto fail
;
5489 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5490 if (SWIG_arg_fail(1)) SWIG_fail
;
5492 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5493 result
= (int)((wxRect
const *)arg1
)->GetRight();
5495 wxPyEndAllowThreads(__tstate
);
5496 if (PyErr_Occurred()) SWIG_fail
;
5499 resultobj
= SWIG_From_int((int)(result
));
5507 static PyObject
*_wrap_Rect_SetLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5508 PyObject
*resultobj
;
5509 wxRect
*arg1
= (wxRect
*) 0 ;
5511 PyObject
* obj0
= 0 ;
5512 PyObject
* obj1
= 0 ;
5514 (char *) "self",(char *) "left", NULL
5517 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetLeft",kwnames
,&obj0
,&obj1
)) goto fail
;
5518 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5519 if (SWIG_arg_fail(1)) SWIG_fail
;
5521 arg2
= (int)(SWIG_As_int(obj1
));
5522 if (SWIG_arg_fail(2)) SWIG_fail
;
5525 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5526 (arg1
)->SetLeft(arg2
);
5528 wxPyEndAllowThreads(__tstate
);
5529 if (PyErr_Occurred()) SWIG_fail
;
5531 Py_INCREF(Py_None
); resultobj
= Py_None
;
5538 static PyObject
*_wrap_Rect_SetRight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5539 PyObject
*resultobj
;
5540 wxRect
*arg1
= (wxRect
*) 0 ;
5542 PyObject
* obj0
= 0 ;
5543 PyObject
* obj1
= 0 ;
5545 (char *) "self",(char *) "right", NULL
5548 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetRight",kwnames
,&obj0
,&obj1
)) goto fail
;
5549 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5550 if (SWIG_arg_fail(1)) SWIG_fail
;
5552 arg2
= (int)(SWIG_As_int(obj1
));
5553 if (SWIG_arg_fail(2)) SWIG_fail
;
5556 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5557 (arg1
)->SetRight(arg2
);
5559 wxPyEndAllowThreads(__tstate
);
5560 if (PyErr_Occurred()) SWIG_fail
;
5562 Py_INCREF(Py_None
); resultobj
= Py_None
;
5569 static PyObject
*_wrap_Rect_SetTop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5570 PyObject
*resultobj
;
5571 wxRect
*arg1
= (wxRect
*) 0 ;
5573 PyObject
* obj0
= 0 ;
5574 PyObject
* obj1
= 0 ;
5576 (char *) "self",(char *) "top", NULL
5579 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetTop",kwnames
,&obj0
,&obj1
)) goto fail
;
5580 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5581 if (SWIG_arg_fail(1)) SWIG_fail
;
5583 arg2
= (int)(SWIG_As_int(obj1
));
5584 if (SWIG_arg_fail(2)) SWIG_fail
;
5587 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5588 (arg1
)->SetTop(arg2
);
5590 wxPyEndAllowThreads(__tstate
);
5591 if (PyErr_Occurred()) SWIG_fail
;
5593 Py_INCREF(Py_None
); resultobj
= Py_None
;
5600 static PyObject
*_wrap_Rect_SetBottom(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5601 PyObject
*resultobj
;
5602 wxRect
*arg1
= (wxRect
*) 0 ;
5604 PyObject
* obj0
= 0 ;
5605 PyObject
* obj1
= 0 ;
5607 (char *) "self",(char *) "bottom", NULL
5610 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetBottom",kwnames
,&obj0
,&obj1
)) goto fail
;
5611 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5612 if (SWIG_arg_fail(1)) SWIG_fail
;
5614 arg2
= (int)(SWIG_As_int(obj1
));
5615 if (SWIG_arg_fail(2)) SWIG_fail
;
5618 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5619 (arg1
)->SetBottom(arg2
);
5621 wxPyEndAllowThreads(__tstate
);
5622 if (PyErr_Occurred()) SWIG_fail
;
5624 Py_INCREF(Py_None
); resultobj
= Py_None
;
5631 static PyObject
*_wrap_Rect_Inflate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5632 PyObject
*resultobj
;
5633 wxRect
*arg1
= (wxRect
*) 0 ;
5637 PyObject
* obj0
= 0 ;
5638 PyObject
* obj1
= 0 ;
5639 PyObject
* obj2
= 0 ;
5641 (char *) "self",(char *) "dx",(char *) "dy", NULL
5644 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Rect_Inflate",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5645 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5646 if (SWIG_arg_fail(1)) SWIG_fail
;
5648 arg2
= (int)(SWIG_As_int(obj1
));
5649 if (SWIG_arg_fail(2)) SWIG_fail
;
5652 arg3
= (int)(SWIG_As_int(obj2
));
5653 if (SWIG_arg_fail(3)) SWIG_fail
;
5656 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5658 wxRect
&_result_ref
= (arg1
)->Inflate(arg2
,arg3
);
5659 result
= (wxRect
*) &_result_ref
;
5662 wxPyEndAllowThreads(__tstate
);
5663 if (PyErr_Occurred()) SWIG_fail
;
5665 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 0);
5672 static PyObject
*_wrap_Rect_Deflate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5673 PyObject
*resultobj
;
5674 wxRect
*arg1
= (wxRect
*) 0 ;
5678 PyObject
* obj0
= 0 ;
5679 PyObject
* obj1
= 0 ;
5680 PyObject
* obj2
= 0 ;
5682 (char *) "self",(char *) "dx",(char *) "dy", NULL
5685 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Rect_Deflate",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5686 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5687 if (SWIG_arg_fail(1)) SWIG_fail
;
5689 arg2
= (int)(SWIG_As_int(obj1
));
5690 if (SWIG_arg_fail(2)) SWIG_fail
;
5693 arg3
= (int)(SWIG_As_int(obj2
));
5694 if (SWIG_arg_fail(3)) SWIG_fail
;
5697 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5699 wxRect
&_result_ref
= (arg1
)->Deflate(arg2
,arg3
);
5700 result
= (wxRect
*) &_result_ref
;
5703 wxPyEndAllowThreads(__tstate
);
5704 if (PyErr_Occurred()) SWIG_fail
;
5706 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 0);
5713 static PyObject
*_wrap_Rect_OffsetXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5714 PyObject
*resultobj
;
5715 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_OffsetXY",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();
5738 (arg1
)->Offset(arg2
,arg3
);
5740 wxPyEndAllowThreads(__tstate
);
5741 if (PyErr_Occurred()) SWIG_fail
;
5743 Py_INCREF(Py_None
); resultobj
= Py_None
;
5750 static PyObject
*_wrap_Rect_Offset(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5751 PyObject
*resultobj
;
5752 wxRect
*arg1
= (wxRect
*) 0 ;
5755 PyObject
* obj0
= 0 ;
5756 PyObject
* obj1
= 0 ;
5758 (char *) "self",(char *) "pt", NULL
5761 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_Offset",kwnames
,&obj0
,&obj1
)) goto fail
;
5762 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5763 if (SWIG_arg_fail(1)) SWIG_fail
;
5766 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
5769 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5770 (arg1
)->Offset((wxPoint
const &)*arg2
);
5772 wxPyEndAllowThreads(__tstate
);
5773 if (PyErr_Occurred()) SWIG_fail
;
5775 Py_INCREF(Py_None
); resultobj
= Py_None
;
5782 static PyObject
*_wrap_Rect_Intersect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5783 PyObject
*resultobj
;
5784 wxRect
*arg1
= (wxRect
*) 0 ;
5788 PyObject
* obj0
= 0 ;
5789 PyObject
* obj1
= 0 ;
5791 (char *) "self",(char *) "rect", NULL
5794 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_Intersect",kwnames
,&obj0
,&obj1
)) goto fail
;
5795 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5796 if (SWIG_arg_fail(1)) SWIG_fail
;
5799 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
5802 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5803 result
= (arg1
)->Intersect((wxRect
const &)*arg2
);
5805 wxPyEndAllowThreads(__tstate
);
5806 if (PyErr_Occurred()) SWIG_fail
;
5810 resultptr
= new wxRect((wxRect
&)(result
));
5811 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
5819 static PyObject
*_wrap_Rect_Union(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5820 PyObject
*resultobj
;
5821 wxRect
*arg1
= (wxRect
*) 0 ;
5825 PyObject
* obj0
= 0 ;
5826 PyObject
* obj1
= 0 ;
5828 (char *) "self",(char *) "rect", NULL
5831 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_Union",kwnames
,&obj0
,&obj1
)) goto fail
;
5832 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5833 if (SWIG_arg_fail(1)) SWIG_fail
;
5836 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
5839 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5840 result
= (arg1
)->Union((wxRect
const &)*arg2
);
5842 wxPyEndAllowThreads(__tstate
);
5843 if (PyErr_Occurred()) SWIG_fail
;
5847 resultptr
= new wxRect((wxRect
&)(result
));
5848 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
5856 static PyObject
*_wrap_Rect___add__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5857 PyObject
*resultobj
;
5858 wxRect
*arg1
= (wxRect
*) 0 ;
5862 PyObject
* obj0
= 0 ;
5863 PyObject
* obj1
= 0 ;
5865 (char *) "self",(char *) "rect", NULL
5868 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect___add__",kwnames
,&obj0
,&obj1
)) goto fail
;
5869 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5870 if (SWIG_arg_fail(1)) SWIG_fail
;
5873 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
5876 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5877 result
= ((wxRect
const *)arg1
)->operator +((wxRect
const &)*arg2
);
5879 wxPyEndAllowThreads(__tstate
);
5880 if (PyErr_Occurred()) SWIG_fail
;
5884 resultptr
= new wxRect((wxRect
&)(result
));
5885 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
5893 static PyObject
*_wrap_Rect___iadd__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5894 PyObject
*resultobj
;
5895 wxRect
*arg1
= (wxRect
*) 0 ;
5899 PyObject
* obj0
= 0 ;
5900 PyObject
* obj1
= 0 ;
5902 (char *) "self",(char *) "rect", NULL
5905 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect___iadd__",kwnames
,&obj0
,&obj1
)) goto fail
;
5906 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
5907 if (SWIG_arg_fail(1)) SWIG_fail
;
5910 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
5913 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5915 wxRect
&_result_ref
= (arg1
)->operator +=((wxRect
const &)*arg2
);
5916 result
= (wxRect
*) &_result_ref
;
5919 wxPyEndAllowThreads(__tstate
);
5920 if (PyErr_Occurred()) SWIG_fail
;
5922 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 1);
5929 static PyObject
*_wrap_Rect___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5930 PyObject
*resultobj
;
5931 wxRect
*arg1
= (wxRect
*) 0 ;
5935 PyObject
* obj0
= 0 ;
5936 PyObject
* obj1
= 0 ;
5938 (char *) "self",(char *) "rect", NULL
5941 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
5942 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5943 if (SWIG_arg_fail(1)) SWIG_fail
;
5946 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
5949 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5950 result
= (bool)((wxRect
const *)arg1
)->operator ==((wxRect
const &)*arg2
);
5952 wxPyEndAllowThreads(__tstate
);
5953 if (PyErr_Occurred()) SWIG_fail
;
5956 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5964 static PyObject
*_wrap_Rect___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5965 PyObject
*resultobj
;
5966 wxRect
*arg1
= (wxRect
*) 0 ;
5970 PyObject
* obj0
= 0 ;
5971 PyObject
* obj1
= 0 ;
5973 (char *) "self",(char *) "rect", NULL
5976 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
5977 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5978 if (SWIG_arg_fail(1)) SWIG_fail
;
5981 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
5984 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5985 result
= (bool)((wxRect
const *)arg1
)->operator !=((wxRect
const &)*arg2
);
5987 wxPyEndAllowThreads(__tstate
);
5988 if (PyErr_Occurred()) SWIG_fail
;
5991 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5999 static PyObject
*_wrap_Rect_InsideXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6000 PyObject
*resultobj
;
6001 wxRect
*arg1
= (wxRect
*) 0 ;
6005 PyObject
* obj0
= 0 ;
6006 PyObject
* obj1
= 0 ;
6007 PyObject
* obj2
= 0 ;
6009 (char *) "self",(char *) "x",(char *) "y", NULL
6012 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Rect_InsideXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6013 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
6014 if (SWIG_arg_fail(1)) SWIG_fail
;
6016 arg2
= (int)(SWIG_As_int(obj1
));
6017 if (SWIG_arg_fail(2)) SWIG_fail
;
6020 arg3
= (int)(SWIG_As_int(obj2
));
6021 if (SWIG_arg_fail(3)) SWIG_fail
;
6024 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6025 result
= (bool)((wxRect
const *)arg1
)->Inside(arg2
,arg3
);
6027 wxPyEndAllowThreads(__tstate
);
6028 if (PyErr_Occurred()) SWIG_fail
;
6031 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6039 static PyObject
*_wrap_Rect_Inside(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6040 PyObject
*resultobj
;
6041 wxRect
*arg1
= (wxRect
*) 0 ;
6045 PyObject
* obj0
= 0 ;
6046 PyObject
* obj1
= 0 ;
6048 (char *) "self",(char *) "pt", NULL
6051 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_Inside",kwnames
,&obj0
,&obj1
)) goto fail
;
6052 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
6053 if (SWIG_arg_fail(1)) SWIG_fail
;
6056 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
6059 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6060 result
= (bool)((wxRect
const *)arg1
)->Inside((wxPoint
const &)*arg2
);
6062 wxPyEndAllowThreads(__tstate
);
6063 if (PyErr_Occurred()) SWIG_fail
;
6066 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6074 static PyObject
*_wrap_Rect_Intersects(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6075 PyObject
*resultobj
;
6076 wxRect
*arg1
= (wxRect
*) 0 ;
6080 PyObject
* obj0
= 0 ;
6081 PyObject
* obj1
= 0 ;
6083 (char *) "self",(char *) "rect", NULL
6086 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_Intersects",kwnames
,&obj0
,&obj1
)) goto fail
;
6087 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
6088 if (SWIG_arg_fail(1)) SWIG_fail
;
6091 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
6094 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6095 result
= (bool)((wxRect
const *)arg1
)->Intersects((wxRect
const &)*arg2
);
6097 wxPyEndAllowThreads(__tstate
);
6098 if (PyErr_Occurred()) SWIG_fail
;
6101 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6109 static PyObject
*_wrap_Rect_x_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6110 PyObject
*resultobj
;
6111 wxRect
*arg1
= (wxRect
*) 0 ;
6113 PyObject
* obj0
= 0 ;
6114 PyObject
* obj1
= 0 ;
6116 (char *) "self",(char *) "x", NULL
6119 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_x_set",kwnames
,&obj0
,&obj1
)) goto fail
;
6120 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
6121 if (SWIG_arg_fail(1)) SWIG_fail
;
6123 arg2
= (int)(SWIG_As_int(obj1
));
6124 if (SWIG_arg_fail(2)) SWIG_fail
;
6126 if (arg1
) (arg1
)->x
= arg2
;
6128 Py_INCREF(Py_None
); resultobj
= Py_None
;
6135 static PyObject
*_wrap_Rect_x_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6136 PyObject
*resultobj
;
6137 wxRect
*arg1
= (wxRect
*) 0 ;
6139 PyObject
* obj0
= 0 ;
6141 (char *) "self", NULL
6144 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_x_get",kwnames
,&obj0
)) goto fail
;
6145 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
6146 if (SWIG_arg_fail(1)) SWIG_fail
;
6147 result
= (int) ((arg1
)->x
);
6150 resultobj
= SWIG_From_int((int)(result
));
6158 static PyObject
*_wrap_Rect_y_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6159 PyObject
*resultobj
;
6160 wxRect
*arg1
= (wxRect
*) 0 ;
6162 PyObject
* obj0
= 0 ;
6163 PyObject
* obj1
= 0 ;
6165 (char *) "self",(char *) "y", NULL
6168 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_y_set",kwnames
,&obj0
,&obj1
)) goto fail
;
6169 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
6170 if (SWIG_arg_fail(1)) SWIG_fail
;
6172 arg2
= (int)(SWIG_As_int(obj1
));
6173 if (SWIG_arg_fail(2)) SWIG_fail
;
6175 if (arg1
) (arg1
)->y
= arg2
;
6177 Py_INCREF(Py_None
); resultobj
= Py_None
;
6184 static PyObject
*_wrap_Rect_y_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6185 PyObject
*resultobj
;
6186 wxRect
*arg1
= (wxRect
*) 0 ;
6188 PyObject
* obj0
= 0 ;
6190 (char *) "self", NULL
6193 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_y_get",kwnames
,&obj0
)) goto fail
;
6194 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
6195 if (SWIG_arg_fail(1)) SWIG_fail
;
6196 result
= (int) ((arg1
)->y
);
6199 resultobj
= SWIG_From_int((int)(result
));
6207 static PyObject
*_wrap_Rect_width_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6208 PyObject
*resultobj
;
6209 wxRect
*arg1
= (wxRect
*) 0 ;
6211 PyObject
* obj0
= 0 ;
6212 PyObject
* obj1
= 0 ;
6214 (char *) "self",(char *) "width", NULL
6217 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_width_set",kwnames
,&obj0
,&obj1
)) goto fail
;
6218 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
6219 if (SWIG_arg_fail(1)) SWIG_fail
;
6221 arg2
= (int)(SWIG_As_int(obj1
));
6222 if (SWIG_arg_fail(2)) SWIG_fail
;
6224 if (arg1
) (arg1
)->width
= arg2
;
6226 Py_INCREF(Py_None
); resultobj
= Py_None
;
6233 static PyObject
*_wrap_Rect_width_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6234 PyObject
*resultobj
;
6235 wxRect
*arg1
= (wxRect
*) 0 ;
6237 PyObject
* obj0
= 0 ;
6239 (char *) "self", NULL
6242 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_width_get",kwnames
,&obj0
)) goto fail
;
6243 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
6244 if (SWIG_arg_fail(1)) SWIG_fail
;
6245 result
= (int) ((arg1
)->width
);
6248 resultobj
= SWIG_From_int((int)(result
));
6256 static PyObject
*_wrap_Rect_height_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6257 PyObject
*resultobj
;
6258 wxRect
*arg1
= (wxRect
*) 0 ;
6260 PyObject
* obj0
= 0 ;
6261 PyObject
* obj1
= 0 ;
6263 (char *) "self",(char *) "height", NULL
6266 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_height_set",kwnames
,&obj0
,&obj1
)) goto fail
;
6267 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
6268 if (SWIG_arg_fail(1)) SWIG_fail
;
6270 arg2
= (int)(SWIG_As_int(obj1
));
6271 if (SWIG_arg_fail(2)) SWIG_fail
;
6273 if (arg1
) (arg1
)->height
= arg2
;
6275 Py_INCREF(Py_None
); resultobj
= Py_None
;
6282 static PyObject
*_wrap_Rect_height_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6283 PyObject
*resultobj
;
6284 wxRect
*arg1
= (wxRect
*) 0 ;
6286 PyObject
* obj0
= 0 ;
6288 (char *) "self", NULL
6291 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_height_get",kwnames
,&obj0
)) goto fail
;
6292 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
6293 if (SWIG_arg_fail(1)) SWIG_fail
;
6294 result
= (int) ((arg1
)->height
);
6297 resultobj
= SWIG_From_int((int)(result
));
6305 static PyObject
*_wrap_Rect_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6306 PyObject
*resultobj
;
6307 wxRect
*arg1
= (wxRect
*) 0 ;
6308 int arg2
= (int) 0 ;
6309 int arg3
= (int) 0 ;
6310 int arg4
= (int) 0 ;
6311 int arg5
= (int) 0 ;
6312 PyObject
* obj0
= 0 ;
6313 PyObject
* obj1
= 0 ;
6314 PyObject
* obj2
= 0 ;
6315 PyObject
* obj3
= 0 ;
6316 PyObject
* obj4
= 0 ;
6318 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
6321 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOO:Rect_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
6322 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
6323 if (SWIG_arg_fail(1)) SWIG_fail
;
6326 arg2
= (int)(SWIG_As_int(obj1
));
6327 if (SWIG_arg_fail(2)) SWIG_fail
;
6332 arg3
= (int)(SWIG_As_int(obj2
));
6333 if (SWIG_arg_fail(3)) SWIG_fail
;
6338 arg4
= (int)(SWIG_As_int(obj3
));
6339 if (SWIG_arg_fail(4)) SWIG_fail
;
6344 arg5
= (int)(SWIG_As_int(obj4
));
6345 if (SWIG_arg_fail(5)) SWIG_fail
;
6349 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6350 wxRect_Set(arg1
,arg2
,arg3
,arg4
,arg5
);
6352 wxPyEndAllowThreads(__tstate
);
6353 if (PyErr_Occurred()) SWIG_fail
;
6355 Py_INCREF(Py_None
); resultobj
= Py_None
;
6362 static PyObject
*_wrap_Rect_Get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6363 PyObject
*resultobj
;
6364 wxRect
*arg1
= (wxRect
*) 0 ;
6366 PyObject
* obj0
= 0 ;
6368 (char *) "self", NULL
6371 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_Get",kwnames
,&obj0
)) goto fail
;
6372 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
6373 if (SWIG_arg_fail(1)) SWIG_fail
;
6375 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6376 result
= (PyObject
*)wxRect_Get(arg1
);
6378 wxPyEndAllowThreads(__tstate
);
6379 if (PyErr_Occurred()) SWIG_fail
;
6388 static PyObject
* Rect_swigregister(PyObject
*, PyObject
*args
) {
6390 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6391 SWIG_TypeClientData(SWIGTYPE_p_wxRect
, obj
);
6393 return Py_BuildValue((char *)"");
6395 static PyObject
*_wrap_IntersectRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6396 PyObject
*resultobj
;
6397 wxRect
*arg1
= (wxRect
*) 0 ;
6398 wxRect
*arg2
= (wxRect
*) 0 ;
6400 PyObject
* obj0
= 0 ;
6401 PyObject
* obj1
= 0 ;
6403 (char *) "r1",(char *) "r2", NULL
6406 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IntersectRect",kwnames
,&obj0
,&obj1
)) goto fail
;
6407 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
6408 if (SWIG_arg_fail(1)) SWIG_fail
;
6409 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
6410 if (SWIG_arg_fail(2)) SWIG_fail
;
6412 if (!wxPyCheckForApp()) SWIG_fail
;
6413 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6414 result
= (PyObject
*)wxIntersectRect(arg1
,arg2
);
6416 wxPyEndAllowThreads(__tstate
);
6417 if (PyErr_Occurred()) SWIG_fail
;
6426 static PyObject
*_wrap_new_Point2D(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6427 PyObject
*resultobj
;
6428 double arg1
= (double) 0.0 ;
6429 double arg2
= (double) 0.0 ;
6431 PyObject
* obj0
= 0 ;
6432 PyObject
* obj1
= 0 ;
6434 (char *) "x",(char *) "y", NULL
6437 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Point2D",kwnames
,&obj0
,&obj1
)) goto fail
;
6440 arg1
= (double)(SWIG_As_double(obj0
));
6441 if (SWIG_arg_fail(1)) SWIG_fail
;
6446 arg2
= (double)(SWIG_As_double(obj1
));
6447 if (SWIG_arg_fail(2)) SWIG_fail
;
6451 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6452 result
= (wxPoint2D
*)new wxPoint2D(arg1
,arg2
);
6454 wxPyEndAllowThreads(__tstate
);
6455 if (PyErr_Occurred()) SWIG_fail
;
6457 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint2D
, 1);
6464 static PyObject
*_wrap_new_Point2DCopy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6465 PyObject
*resultobj
;
6466 wxPoint2D
*arg1
= 0 ;
6469 PyObject
* obj0
= 0 ;
6474 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_Point2DCopy",kwnames
,&obj0
)) goto fail
;
6477 if ( ! wxPoint2D_helper(obj0
, &arg1
)) SWIG_fail
;
6480 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6481 result
= (wxPoint2D
*)new wxPoint2D((wxPoint2D
const &)*arg1
);
6483 wxPyEndAllowThreads(__tstate
);
6484 if (PyErr_Occurred()) SWIG_fail
;
6486 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint2D
, 1);
6493 static PyObject
*_wrap_new_Point2DFromPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6494 PyObject
*resultobj
;
6498 PyObject
* obj0
= 0 ;
6503 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_Point2DFromPoint",kwnames
,&obj0
)) goto fail
;
6506 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
6509 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6510 result
= (wxPoint2D
*)new wxPoint2D((wxPoint
const &)*arg1
);
6512 wxPyEndAllowThreads(__tstate
);
6513 if (PyErr_Occurred()) SWIG_fail
;
6515 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint2D
, 1);
6522 static PyObject
*_wrap_Point2D_GetFloor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6523 PyObject
*resultobj
;
6524 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
6525 int *arg2
= (int *) 0 ;
6526 int *arg3
= (int *) 0 ;
6531 PyObject
* obj0
= 0 ;
6533 (char *) "self", NULL
6536 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
6537 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
6538 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D_GetFloor",kwnames
,&obj0
)) goto fail
;
6539 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| 0);
6540 if (SWIG_arg_fail(1)) SWIG_fail
;
6542 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6543 ((wxPoint2D
const *)arg1
)->GetFloor(arg2
,arg3
);
6545 wxPyEndAllowThreads(__tstate
);
6546 if (PyErr_Occurred()) SWIG_fail
;
6548 Py_INCREF(Py_None
); resultobj
= Py_None
;
6549 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
6550 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
6551 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
6552 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
6559 static PyObject
*_wrap_Point2D_GetRounded(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6560 PyObject
*resultobj
;
6561 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
6562 int *arg2
= (int *) 0 ;
6563 int *arg3
= (int *) 0 ;
6568 PyObject
* obj0
= 0 ;
6570 (char *) "self", NULL
6573 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
6574 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
6575 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D_GetRounded",kwnames
,&obj0
)) goto fail
;
6576 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| 0);
6577 if (SWIG_arg_fail(1)) SWIG_fail
;
6579 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6580 ((wxPoint2D
const *)arg1
)->GetRounded(arg2
,arg3
);
6582 wxPyEndAllowThreads(__tstate
);
6583 if (PyErr_Occurred()) SWIG_fail
;
6585 Py_INCREF(Py_None
); resultobj
= Py_None
;
6586 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
6587 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
6588 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
6589 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
6596 static PyObject
*_wrap_Point2D_GetVectorLength(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6597 PyObject
*resultobj
;
6598 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
6600 PyObject
* obj0
= 0 ;
6602 (char *) "self", NULL
6605 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D_GetVectorLength",kwnames
,&obj0
)) goto fail
;
6606 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| 0);
6607 if (SWIG_arg_fail(1)) SWIG_fail
;
6609 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6610 result
= (double)((wxPoint2D
const *)arg1
)->GetVectorLength();
6612 wxPyEndAllowThreads(__tstate
);
6613 if (PyErr_Occurred()) SWIG_fail
;
6616 resultobj
= SWIG_From_double((double)(result
));
6624 static PyObject
*_wrap_Point2D_GetVectorAngle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6625 PyObject
*resultobj
;
6626 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
6628 PyObject
* obj0
= 0 ;
6630 (char *) "self", NULL
6633 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D_GetVectorAngle",kwnames
,&obj0
)) goto fail
;
6634 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| 0);
6635 if (SWIG_arg_fail(1)) SWIG_fail
;
6637 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6638 result
= (double)((wxPoint2D
const *)arg1
)->GetVectorAngle();
6640 wxPyEndAllowThreads(__tstate
);
6641 if (PyErr_Occurred()) SWIG_fail
;
6644 resultobj
= SWIG_From_double((double)(result
));
6652 static PyObject
*_wrap_Point2D_SetVectorLength(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6653 PyObject
*resultobj
;
6654 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
6656 PyObject
* obj0
= 0 ;
6657 PyObject
* obj1
= 0 ;
6659 (char *) "self",(char *) "length", NULL
6662 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_SetVectorLength",kwnames
,&obj0
,&obj1
)) goto fail
;
6663 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| 0);
6664 if (SWIG_arg_fail(1)) SWIG_fail
;
6666 arg2
= (double)(SWIG_As_double(obj1
));
6667 if (SWIG_arg_fail(2)) SWIG_fail
;
6670 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6671 (arg1
)->SetVectorLength(arg2
);
6673 wxPyEndAllowThreads(__tstate
);
6674 if (PyErr_Occurred()) SWIG_fail
;
6676 Py_INCREF(Py_None
); resultobj
= Py_None
;
6683 static PyObject
*_wrap_Point2D_SetVectorAngle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6684 PyObject
*resultobj
;
6685 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
6687 PyObject
* obj0
= 0 ;
6688 PyObject
* obj1
= 0 ;
6690 (char *) "self",(char *) "degrees", NULL
6693 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_SetVectorAngle",kwnames
,&obj0
,&obj1
)) goto fail
;
6694 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| 0);
6695 if (SWIG_arg_fail(1)) SWIG_fail
;
6697 arg2
= (double)(SWIG_As_double(obj1
));
6698 if (SWIG_arg_fail(2)) SWIG_fail
;
6701 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6702 (arg1
)->SetVectorAngle(arg2
);
6704 wxPyEndAllowThreads(__tstate
);
6705 if (PyErr_Occurred()) SWIG_fail
;
6707 Py_INCREF(Py_None
); resultobj
= Py_None
;
6714 static PyObject
*_wrap_Point2D_GetDistance(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6715 PyObject
*resultobj
;
6716 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
6717 wxPoint2D
*arg2
= 0 ;
6720 PyObject
* obj0
= 0 ;
6721 PyObject
* obj1
= 0 ;
6723 (char *) "self",(char *) "pt", NULL
6726 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_GetDistance",kwnames
,&obj0
,&obj1
)) goto fail
;
6727 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| 0);
6728 if (SWIG_arg_fail(1)) SWIG_fail
;
6731 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
6734 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6735 result
= (double)((wxPoint2D
const *)arg1
)->GetDistance((wxPoint2D
const &)*arg2
);
6737 wxPyEndAllowThreads(__tstate
);
6738 if (PyErr_Occurred()) SWIG_fail
;
6741 resultobj
= SWIG_From_double((double)(result
));
6749 static PyObject
*_wrap_Point2D_GetDistanceSquare(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6750 PyObject
*resultobj
;
6751 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
6752 wxPoint2D
*arg2
= 0 ;
6755 PyObject
* obj0
= 0 ;
6756 PyObject
* obj1
= 0 ;
6758 (char *) "self",(char *) "pt", NULL
6761 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_GetDistanceSquare",kwnames
,&obj0
,&obj1
)) goto fail
;
6762 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| 0);
6763 if (SWIG_arg_fail(1)) SWIG_fail
;
6766 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
6769 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6770 result
= (double)((wxPoint2D
const *)arg1
)->GetDistanceSquare((wxPoint2D
const &)*arg2
);
6772 wxPyEndAllowThreads(__tstate
);
6773 if (PyErr_Occurred()) SWIG_fail
;
6776 resultobj
= SWIG_From_double((double)(result
));
6784 static PyObject
*_wrap_Point2D_GetDotProduct(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6785 PyObject
*resultobj
;
6786 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
6787 wxPoint2D
*arg2
= 0 ;
6790 PyObject
* obj0
= 0 ;
6791 PyObject
* obj1
= 0 ;
6793 (char *) "self",(char *) "vec", NULL
6796 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_GetDotProduct",kwnames
,&obj0
,&obj1
)) goto fail
;
6797 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| 0);
6798 if (SWIG_arg_fail(1)) SWIG_fail
;
6801 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
6804 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6805 result
= (double)((wxPoint2D
const *)arg1
)->GetDotProduct((wxPoint2D
const &)*arg2
);
6807 wxPyEndAllowThreads(__tstate
);
6808 if (PyErr_Occurred()) SWIG_fail
;
6811 resultobj
= SWIG_From_double((double)(result
));
6819 static PyObject
*_wrap_Point2D_GetCrossProduct(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6820 PyObject
*resultobj
;
6821 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
6822 wxPoint2D
*arg2
= 0 ;
6825 PyObject
* obj0
= 0 ;
6826 PyObject
* obj1
= 0 ;
6828 (char *) "self",(char *) "vec", NULL
6831 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_GetCrossProduct",kwnames
,&obj0
,&obj1
)) goto fail
;
6832 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| 0);
6833 if (SWIG_arg_fail(1)) SWIG_fail
;
6836 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
6839 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6840 result
= (double)((wxPoint2D
const *)arg1
)->GetCrossProduct((wxPoint2D
const &)*arg2
);
6842 wxPyEndAllowThreads(__tstate
);
6843 if (PyErr_Occurred()) SWIG_fail
;
6846 resultobj
= SWIG_From_double((double)(result
));
6854 static PyObject
*_wrap_Point2D___neg__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6855 PyObject
*resultobj
;
6856 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
6858 PyObject
* obj0
= 0 ;
6860 (char *) "self", NULL
6863 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D___neg__",kwnames
,&obj0
)) goto fail
;
6864 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| 0);
6865 if (SWIG_arg_fail(1)) SWIG_fail
;
6867 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6868 result
= (arg1
)->operator -();
6870 wxPyEndAllowThreads(__tstate
);
6871 if (PyErr_Occurred()) SWIG_fail
;
6874 wxPoint2D
* resultptr
;
6875 resultptr
= new wxPoint2D((wxPoint2D
&)(result
));
6876 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint2D
, 1);
6884 static PyObject
*_wrap_Point2D___iadd__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6885 PyObject
*resultobj
;
6886 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
6887 wxPoint2D
*arg2
= 0 ;
6890 PyObject
* obj0
= 0 ;
6891 PyObject
* obj1
= 0 ;
6893 (char *) "self",(char *) "pt", NULL
6896 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D___iadd__",kwnames
,&obj0
,&obj1
)) goto fail
;
6897 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
6898 if (SWIG_arg_fail(1)) SWIG_fail
;
6901 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
6904 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6906 wxPoint2D
&_result_ref
= (arg1
)->operator +=((wxPoint2D
const &)*arg2
);
6907 result
= (wxPoint2D
*) &_result_ref
;
6910 wxPyEndAllowThreads(__tstate
);
6911 if (PyErr_Occurred()) SWIG_fail
;
6913 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint2D
, 1);
6920 static PyObject
*_wrap_Point2D___isub__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6921 PyObject
*resultobj
;
6922 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
6923 wxPoint2D
*arg2
= 0 ;
6926 PyObject
* obj0
= 0 ;
6927 PyObject
* obj1
= 0 ;
6929 (char *) "self",(char *) "pt", NULL
6932 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D___isub__",kwnames
,&obj0
,&obj1
)) goto fail
;
6933 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
6934 if (SWIG_arg_fail(1)) SWIG_fail
;
6937 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
6940 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6942 wxPoint2D
&_result_ref
= (arg1
)->operator -=((wxPoint2D
const &)*arg2
);
6943 result
= (wxPoint2D
*) &_result_ref
;
6946 wxPyEndAllowThreads(__tstate
);
6947 if (PyErr_Occurred()) SWIG_fail
;
6949 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint2D
, 1);
6956 static PyObject
*_wrap_Point2D___imul__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6957 PyObject
*resultobj
;
6958 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
6959 wxPoint2D
*arg2
= 0 ;
6962 PyObject
* obj0
= 0 ;
6963 PyObject
* obj1
= 0 ;
6965 (char *) "self",(char *) "pt", NULL
6968 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D___imul__",kwnames
,&obj0
,&obj1
)) goto fail
;
6969 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
6970 if (SWIG_arg_fail(1)) SWIG_fail
;
6973 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
6976 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6978 wxPoint2D
&_result_ref
= (arg1
)->operator *=((wxPoint2D
const &)*arg2
);
6979 result
= (wxPoint2D
*) &_result_ref
;
6982 wxPyEndAllowThreads(__tstate
);
6983 if (PyErr_Occurred()) SWIG_fail
;
6985 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint2D
, 1);
6992 static PyObject
*_wrap_Point2D___idiv__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6993 PyObject
*resultobj
;
6994 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
6995 wxPoint2D
*arg2
= 0 ;
6998 PyObject
* obj0
= 0 ;
6999 PyObject
* obj1
= 0 ;
7001 (char *) "self",(char *) "pt", NULL
7004 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D___idiv__",kwnames
,&obj0
,&obj1
)) goto fail
;
7005 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
7006 if (SWIG_arg_fail(1)) SWIG_fail
;
7009 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
7012 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7014 wxPoint2D
&_result_ref
= (arg1
)->operator /=((wxPoint2D
const &)*arg2
);
7015 result
= (wxPoint2D
*) &_result_ref
;
7018 wxPyEndAllowThreads(__tstate
);
7019 if (PyErr_Occurred()) SWIG_fail
;
7021 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint2D
, 1);
7028 static PyObject
*_wrap_Point2D___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7029 PyObject
*resultobj
;
7030 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
7031 wxPoint2D
*arg2
= 0 ;
7034 PyObject
* obj0
= 0 ;
7035 PyObject
* obj1
= 0 ;
7037 (char *) "self",(char *) "pt", NULL
7040 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
7041 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| 0);
7042 if (SWIG_arg_fail(1)) SWIG_fail
;
7045 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
7048 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7049 result
= (bool)((wxPoint2D
const *)arg1
)->operator ==((wxPoint2D
const &)*arg2
);
7051 wxPyEndAllowThreads(__tstate
);
7052 if (PyErr_Occurred()) SWIG_fail
;
7055 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7063 static PyObject
*_wrap_Point2D___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7064 PyObject
*resultobj
;
7065 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
7066 wxPoint2D
*arg2
= 0 ;
7069 PyObject
* obj0
= 0 ;
7070 PyObject
* obj1
= 0 ;
7072 (char *) "self",(char *) "pt", NULL
7075 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
7076 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| 0);
7077 if (SWIG_arg_fail(1)) SWIG_fail
;
7080 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
7083 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7084 result
= (bool)((wxPoint2D
const *)arg1
)->operator !=((wxPoint2D
const &)*arg2
);
7086 wxPyEndAllowThreads(__tstate
);
7087 if (PyErr_Occurred()) SWIG_fail
;
7090 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7098 static PyObject
*_wrap_Point2D_x_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7099 PyObject
*resultobj
;
7100 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
7102 PyObject
* obj0
= 0 ;
7103 PyObject
* obj1
= 0 ;
7105 (char *) "self",(char *) "m_x", NULL
7108 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_x_set",kwnames
,&obj0
,&obj1
)) goto fail
;
7109 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| 0);
7110 if (SWIG_arg_fail(1)) SWIG_fail
;
7112 arg2
= (double)(SWIG_As_double(obj1
));
7113 if (SWIG_arg_fail(2)) SWIG_fail
;
7115 if (arg1
) (arg1
)->m_x
= arg2
;
7117 Py_INCREF(Py_None
); resultobj
= Py_None
;
7124 static PyObject
*_wrap_Point2D_x_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7125 PyObject
*resultobj
;
7126 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
7128 PyObject
* obj0
= 0 ;
7130 (char *) "self", NULL
7133 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D_x_get",kwnames
,&obj0
)) goto fail
;
7134 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| 0);
7135 if (SWIG_arg_fail(1)) SWIG_fail
;
7136 result
= (double) ((arg1
)->m_x
);
7139 resultobj
= SWIG_From_double((double)(result
));
7147 static PyObject
*_wrap_Point2D_y_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7148 PyObject
*resultobj
;
7149 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
7151 PyObject
* obj0
= 0 ;
7152 PyObject
* obj1
= 0 ;
7154 (char *) "self",(char *) "m_y", NULL
7157 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_y_set",kwnames
,&obj0
,&obj1
)) goto fail
;
7158 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| 0);
7159 if (SWIG_arg_fail(1)) SWIG_fail
;
7161 arg2
= (double)(SWIG_As_double(obj1
));
7162 if (SWIG_arg_fail(2)) SWIG_fail
;
7164 if (arg1
) (arg1
)->m_y
= arg2
;
7166 Py_INCREF(Py_None
); resultobj
= Py_None
;
7173 static PyObject
*_wrap_Point2D_y_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7174 PyObject
*resultobj
;
7175 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
7177 PyObject
* obj0
= 0 ;
7179 (char *) "self", NULL
7182 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D_y_get",kwnames
,&obj0
)) goto fail
;
7183 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| 0);
7184 if (SWIG_arg_fail(1)) SWIG_fail
;
7185 result
= (double) ((arg1
)->m_y
);
7188 resultobj
= SWIG_From_double((double)(result
));
7196 static PyObject
*_wrap_Point2D_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7197 PyObject
*resultobj
;
7198 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
7199 double arg2
= (double) 0 ;
7200 double arg3
= (double) 0 ;
7201 PyObject
* obj0
= 0 ;
7202 PyObject
* obj1
= 0 ;
7203 PyObject
* obj2
= 0 ;
7205 (char *) "self",(char *) "x",(char *) "y", NULL
7208 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Point2D_Set",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7209 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| 0);
7210 if (SWIG_arg_fail(1)) SWIG_fail
;
7213 arg2
= (double)(SWIG_As_double(obj1
));
7214 if (SWIG_arg_fail(2)) SWIG_fail
;
7219 arg3
= (double)(SWIG_As_double(obj2
));
7220 if (SWIG_arg_fail(3)) SWIG_fail
;
7224 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7225 wxPoint2D_Set(arg1
,arg2
,arg3
);
7227 wxPyEndAllowThreads(__tstate
);
7228 if (PyErr_Occurred()) SWIG_fail
;
7230 Py_INCREF(Py_None
); resultobj
= Py_None
;
7237 static PyObject
*_wrap_Point2D_Get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7238 PyObject
*resultobj
;
7239 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
7241 PyObject
* obj0
= 0 ;
7243 (char *) "self", NULL
7246 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D_Get",kwnames
,&obj0
)) goto fail
;
7247 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| 0);
7248 if (SWIG_arg_fail(1)) SWIG_fail
;
7250 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7251 result
= (PyObject
*)wxPoint2D_Get(arg1
);
7253 wxPyEndAllowThreads(__tstate
);
7254 if (PyErr_Occurred()) SWIG_fail
;
7263 static PyObject
* Point2D_swigregister(PyObject
*, PyObject
*args
) {
7265 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7266 SWIG_TypeClientData(SWIGTYPE_p_wxPoint2D
, obj
);
7268 return Py_BuildValue((char *)"");
7270 static int _wrap_DefaultPosition_set(PyObject
*) {
7271 PyErr_SetString(PyExc_TypeError
,"Variable DefaultPosition is read-only.");
7276 static PyObject
*_wrap_DefaultPosition_get(void) {
7279 pyobj
= SWIG_NewPointerObj((void *)(&wxDefaultPosition
), SWIGTYPE_p_wxPoint
, 0);
7284 static int _wrap_DefaultSize_set(PyObject
*) {
7285 PyErr_SetString(PyExc_TypeError
,"Variable DefaultSize is read-only.");
7290 static PyObject
*_wrap_DefaultSize_get(void) {
7293 pyobj
= SWIG_NewPointerObj((void *)(&wxDefaultSize
), SWIGTYPE_p_wxSize
, 0);
7298 static PyObject
*_wrap_new_InputStream(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7299 PyObject
*resultobj
;
7300 PyObject
*arg1
= (PyObject
*) 0 ;
7301 wxPyInputStream
*result
;
7302 PyObject
* obj0
= 0 ;
7307 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_InputStream",kwnames
,&obj0
)) goto fail
;
7310 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7311 result
= (wxPyInputStream
*)new_wxPyInputStream(arg1
);
7313 wxPyEndAllowThreads(__tstate
);
7314 if (PyErr_Occurred()) SWIG_fail
;
7316 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyInputStream
, 1);
7323 static PyObject
*_wrap_delete_InputStream(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7324 PyObject
*resultobj
;
7325 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
7326 PyObject
* obj0
= 0 ;
7328 (char *) "self", NULL
7331 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_InputStream",kwnames
,&obj0
)) goto fail
;
7332 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyInputStream
, SWIG_POINTER_EXCEPTION
| 0);
7333 if (SWIG_arg_fail(1)) SWIG_fail
;
7335 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7338 wxPyEndAllowThreads(__tstate
);
7339 if (PyErr_Occurred()) SWIG_fail
;
7341 Py_INCREF(Py_None
); resultobj
= Py_None
;
7348 static PyObject
*_wrap_InputStream_close(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7349 PyObject
*resultobj
;
7350 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
7351 PyObject
* obj0
= 0 ;
7353 (char *) "self", NULL
7356 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_close",kwnames
,&obj0
)) goto fail
;
7357 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyInputStream
, SWIG_POINTER_EXCEPTION
| 0);
7358 if (SWIG_arg_fail(1)) SWIG_fail
;
7360 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7363 wxPyEndAllowThreads(__tstate
);
7364 if (PyErr_Occurred()) SWIG_fail
;
7366 Py_INCREF(Py_None
); resultobj
= Py_None
;
7373 static PyObject
*_wrap_InputStream_flush(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7374 PyObject
*resultobj
;
7375 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
7376 PyObject
* obj0
= 0 ;
7378 (char *) "self", NULL
7381 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_flush",kwnames
,&obj0
)) goto fail
;
7382 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyInputStream
, SWIG_POINTER_EXCEPTION
| 0);
7383 if (SWIG_arg_fail(1)) SWIG_fail
;
7385 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7388 wxPyEndAllowThreads(__tstate
);
7389 if (PyErr_Occurred()) SWIG_fail
;
7391 Py_INCREF(Py_None
); resultobj
= Py_None
;
7398 static PyObject
*_wrap_InputStream_eof(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7399 PyObject
*resultobj
;
7400 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
7402 PyObject
* obj0
= 0 ;
7404 (char *) "self", NULL
7407 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_eof",kwnames
,&obj0
)) goto fail
;
7408 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyInputStream
, SWIG_POINTER_EXCEPTION
| 0);
7409 if (SWIG_arg_fail(1)) SWIG_fail
;
7411 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7412 result
= (bool)(arg1
)->eof();
7414 wxPyEndAllowThreads(__tstate
);
7415 if (PyErr_Occurred()) SWIG_fail
;
7418 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7426 static PyObject
*_wrap_InputStream_read(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7427 PyObject
*resultobj
;
7428 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
7429 int arg2
= (int) -1 ;
7431 PyObject
* obj0
= 0 ;
7432 PyObject
* obj1
= 0 ;
7434 (char *) "self",(char *) "size", NULL
7437 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:InputStream_read",kwnames
,&obj0
,&obj1
)) goto fail
;
7438 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyInputStream
, SWIG_POINTER_EXCEPTION
| 0);
7439 if (SWIG_arg_fail(1)) SWIG_fail
;
7442 arg2
= (int)(SWIG_As_int(obj1
));
7443 if (SWIG_arg_fail(2)) SWIG_fail
;
7447 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7448 result
= (PyObject
*)(arg1
)->read(arg2
);
7450 wxPyEndAllowThreads(__tstate
);
7451 if (PyErr_Occurred()) SWIG_fail
;
7460 static PyObject
*_wrap_InputStream_readline(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7461 PyObject
*resultobj
;
7462 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
7463 int arg2
= (int) -1 ;
7465 PyObject
* obj0
= 0 ;
7466 PyObject
* obj1
= 0 ;
7468 (char *) "self",(char *) "size", NULL
7471 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:InputStream_readline",kwnames
,&obj0
,&obj1
)) goto fail
;
7472 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyInputStream
, SWIG_POINTER_EXCEPTION
| 0);
7473 if (SWIG_arg_fail(1)) SWIG_fail
;
7476 arg2
= (int)(SWIG_As_int(obj1
));
7477 if (SWIG_arg_fail(2)) SWIG_fail
;
7481 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7482 result
= (PyObject
*)(arg1
)->readline(arg2
);
7484 wxPyEndAllowThreads(__tstate
);
7485 if (PyErr_Occurred()) SWIG_fail
;
7494 static PyObject
*_wrap_InputStream_readlines(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7495 PyObject
*resultobj
;
7496 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
7497 int arg2
= (int) -1 ;
7499 PyObject
* obj0
= 0 ;
7500 PyObject
* obj1
= 0 ;
7502 (char *) "self",(char *) "sizehint", NULL
7505 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:InputStream_readlines",kwnames
,&obj0
,&obj1
)) goto fail
;
7506 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyInputStream
, SWIG_POINTER_EXCEPTION
| 0);
7507 if (SWIG_arg_fail(1)) SWIG_fail
;
7510 arg2
= (int)(SWIG_As_int(obj1
));
7511 if (SWIG_arg_fail(2)) SWIG_fail
;
7515 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7516 result
= (PyObject
*)(arg1
)->readlines(arg2
);
7518 wxPyEndAllowThreads(__tstate
);
7519 if (PyErr_Occurred()) SWIG_fail
;
7528 static PyObject
*_wrap_InputStream_seek(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7529 PyObject
*resultobj
;
7530 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
7532 int arg3
= (int) 0 ;
7533 PyObject
* obj0
= 0 ;
7534 PyObject
* obj1
= 0 ;
7535 PyObject
* obj2
= 0 ;
7537 (char *) "self",(char *) "offset",(char *) "whence", NULL
7540 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:InputStream_seek",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7541 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyInputStream
, SWIG_POINTER_EXCEPTION
| 0);
7542 if (SWIG_arg_fail(1)) SWIG_fail
;
7544 arg2
= (int)(SWIG_As_int(obj1
));
7545 if (SWIG_arg_fail(2)) SWIG_fail
;
7549 arg3
= (int)(SWIG_As_int(obj2
));
7550 if (SWIG_arg_fail(3)) SWIG_fail
;
7554 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7555 (arg1
)->seek(arg2
,arg3
);
7557 wxPyEndAllowThreads(__tstate
);
7558 if (PyErr_Occurred()) SWIG_fail
;
7560 Py_INCREF(Py_None
); resultobj
= Py_None
;
7567 static PyObject
*_wrap_InputStream_tell(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7568 PyObject
*resultobj
;
7569 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
7571 PyObject
* obj0
= 0 ;
7573 (char *) "self", NULL
7576 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_tell",kwnames
,&obj0
)) goto fail
;
7577 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyInputStream
, SWIG_POINTER_EXCEPTION
| 0);
7578 if (SWIG_arg_fail(1)) SWIG_fail
;
7580 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7581 result
= (int)(arg1
)->tell();
7583 wxPyEndAllowThreads(__tstate
);
7584 if (PyErr_Occurred()) SWIG_fail
;
7587 resultobj
= SWIG_From_int((int)(result
));
7595 static PyObject
*_wrap_InputStream_Peek(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7596 PyObject
*resultobj
;
7597 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
7599 PyObject
* obj0
= 0 ;
7601 (char *) "self", NULL
7604 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_Peek",kwnames
,&obj0
)) goto fail
;
7605 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyInputStream
, SWIG_POINTER_EXCEPTION
| 0);
7606 if (SWIG_arg_fail(1)) SWIG_fail
;
7608 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7609 result
= (char)(arg1
)->Peek();
7611 wxPyEndAllowThreads(__tstate
);
7612 if (PyErr_Occurred()) SWIG_fail
;
7615 resultobj
= SWIG_From_char((char)(result
));
7623 static PyObject
*_wrap_InputStream_GetC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7624 PyObject
*resultobj
;
7625 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
7627 PyObject
* obj0
= 0 ;
7629 (char *) "self", NULL
7632 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_GetC",kwnames
,&obj0
)) goto fail
;
7633 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyInputStream
, SWIG_POINTER_EXCEPTION
| 0);
7634 if (SWIG_arg_fail(1)) SWIG_fail
;
7636 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7637 result
= (char)(arg1
)->GetC();
7639 wxPyEndAllowThreads(__tstate
);
7640 if (PyErr_Occurred()) SWIG_fail
;
7643 resultobj
= SWIG_From_char((char)(result
));
7651 static PyObject
*_wrap_InputStream_LastRead(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7652 PyObject
*resultobj
;
7653 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
7655 PyObject
* obj0
= 0 ;
7657 (char *) "self", NULL
7660 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_LastRead",kwnames
,&obj0
)) goto fail
;
7661 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyInputStream
, SWIG_POINTER_EXCEPTION
| 0);
7662 if (SWIG_arg_fail(1)) SWIG_fail
;
7664 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7665 result
= (size_t)(arg1
)->LastRead();
7667 wxPyEndAllowThreads(__tstate
);
7668 if (PyErr_Occurred()) SWIG_fail
;
7671 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
7679 static PyObject
*_wrap_InputStream_CanRead(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7680 PyObject
*resultobj
;
7681 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
7683 PyObject
* obj0
= 0 ;
7685 (char *) "self", NULL
7688 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_CanRead",kwnames
,&obj0
)) goto fail
;
7689 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyInputStream
, SWIG_POINTER_EXCEPTION
| 0);
7690 if (SWIG_arg_fail(1)) SWIG_fail
;
7692 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7693 result
= (bool)(arg1
)->CanRead();
7695 wxPyEndAllowThreads(__tstate
);
7696 if (PyErr_Occurred()) SWIG_fail
;
7699 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7707 static PyObject
*_wrap_InputStream_Eof(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7708 PyObject
*resultobj
;
7709 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
7711 PyObject
* obj0
= 0 ;
7713 (char *) "self", NULL
7716 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_Eof",kwnames
,&obj0
)) goto fail
;
7717 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyInputStream
, SWIG_POINTER_EXCEPTION
| 0);
7718 if (SWIG_arg_fail(1)) SWIG_fail
;
7720 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7721 result
= (bool)(arg1
)->Eof();
7723 wxPyEndAllowThreads(__tstate
);
7724 if (PyErr_Occurred()) SWIG_fail
;
7727 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7735 static PyObject
*_wrap_InputStream_Ungetch(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7736 PyObject
*resultobj
;
7737 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
7740 PyObject
* obj0
= 0 ;
7741 PyObject
* obj1
= 0 ;
7743 (char *) "self",(char *) "c", NULL
7746 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:InputStream_Ungetch",kwnames
,&obj0
,&obj1
)) goto fail
;
7747 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyInputStream
, SWIG_POINTER_EXCEPTION
| 0);
7748 if (SWIG_arg_fail(1)) SWIG_fail
;
7750 arg2
= (char)(SWIG_As_char(obj1
));
7751 if (SWIG_arg_fail(2)) SWIG_fail
;
7754 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7755 result
= (bool)(arg1
)->Ungetch(arg2
);
7757 wxPyEndAllowThreads(__tstate
);
7758 if (PyErr_Occurred()) SWIG_fail
;
7761 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7769 static PyObject
*_wrap_InputStream_SeekI(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7770 PyObject
*resultobj
;
7771 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
7773 wxSeekMode arg3
= (wxSeekMode
) wxFromStart
;
7775 PyObject
* obj0
= 0 ;
7776 PyObject
* obj1
= 0 ;
7777 PyObject
* obj2
= 0 ;
7779 (char *) "self",(char *) "pos",(char *) "mode", NULL
7782 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:InputStream_SeekI",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7783 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyInputStream
, SWIG_POINTER_EXCEPTION
| 0);
7784 if (SWIG_arg_fail(1)) SWIG_fail
;
7786 arg2
= (long)(SWIG_As_long(obj1
));
7787 if (SWIG_arg_fail(2)) SWIG_fail
;
7791 arg3
= (wxSeekMode
)(SWIG_As_int(obj2
));
7792 if (SWIG_arg_fail(3)) SWIG_fail
;
7796 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7797 result
= (long)(arg1
)->SeekI(arg2
,(wxSeekMode
)arg3
);
7799 wxPyEndAllowThreads(__tstate
);
7800 if (PyErr_Occurred()) SWIG_fail
;
7803 resultobj
= SWIG_From_long((long)(result
));
7811 static PyObject
*_wrap_InputStream_TellI(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7812 PyObject
*resultobj
;
7813 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
7815 PyObject
* obj0
= 0 ;
7817 (char *) "self", NULL
7820 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_TellI",kwnames
,&obj0
)) goto fail
;
7821 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyInputStream
, SWIG_POINTER_EXCEPTION
| 0);
7822 if (SWIG_arg_fail(1)) SWIG_fail
;
7824 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7825 result
= (long)(arg1
)->TellI();
7827 wxPyEndAllowThreads(__tstate
);
7828 if (PyErr_Occurred()) SWIG_fail
;
7831 resultobj
= SWIG_From_long((long)(result
));
7839 static PyObject
* InputStream_swigregister(PyObject
*, PyObject
*args
) {
7841 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7842 SWIG_TypeClientData(SWIGTYPE_p_wxPyInputStream
, obj
);
7844 return Py_BuildValue((char *)"");
7846 static PyObject
*_wrap_OutputStream_write(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7847 PyObject
*resultobj
;
7848 wxOutputStream
*arg1
= (wxOutputStream
*) 0 ;
7849 PyObject
*arg2
= (PyObject
*) 0 ;
7850 PyObject
* obj0
= 0 ;
7851 PyObject
* obj1
= 0 ;
7853 (char *) "self",(char *) "obj", NULL
7856 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:OutputStream_write",kwnames
,&obj0
,&obj1
)) goto fail
;
7857 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxOutputStream
, SWIG_POINTER_EXCEPTION
| 0);
7858 if (SWIG_arg_fail(1)) SWIG_fail
;
7861 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7862 wxOutputStream_write(arg1
,arg2
);
7864 wxPyEndAllowThreads(__tstate
);
7865 if (PyErr_Occurred()) SWIG_fail
;
7867 Py_INCREF(Py_None
); resultobj
= Py_None
;
7874 static PyObject
* OutputStream_swigregister(PyObject
*, PyObject
*args
) {
7876 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7877 SWIG_TypeClientData(SWIGTYPE_p_wxOutputStream
, obj
);
7879 return Py_BuildValue((char *)"");
7881 static PyObject
*_wrap_new_FSFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7882 PyObject
*resultobj
;
7883 wxInputStream
*arg1
= (wxInputStream
*) 0 ;
7884 wxString
*arg2
= 0 ;
7885 wxString
*arg3
= 0 ;
7886 wxString
*arg4
= 0 ;
7889 wxPyInputStream
*temp1
;
7891 bool temp2
= false ;
7892 bool temp3
= false ;
7893 bool temp4
= false ;
7894 PyObject
* obj0
= 0 ;
7895 PyObject
* obj1
= 0 ;
7896 PyObject
* obj2
= 0 ;
7897 PyObject
* obj3
= 0 ;
7898 PyObject
* obj4
= 0 ;
7900 (char *) "stream",(char *) "loc",(char *) "mimetype",(char *) "anchor",(char *) "modif", NULL
7903 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:new_FSFile",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
7905 if (wxPyConvertSwigPtr(obj0
, (void **)&temp1
, wxT("wxPyInputStream"))) {
7906 arg1
= temp1
->m_wxis
;
7909 PyErr_Clear(); // clear the failure of the wxPyConvert above
7910 arg1
= wxPyCBInputStream_create(obj0
, false);
7912 PyErr_SetString(PyExc_TypeError
, "Expected wxInputStream or Python file-like object.");
7919 arg2
= wxString_in_helper(obj1
);
7920 if (arg2
== NULL
) SWIG_fail
;
7924 arg3
= wxString_in_helper(obj2
);
7925 if (arg3
== NULL
) SWIG_fail
;
7929 arg4
= wxString_in_helper(obj3
);
7930 if (arg4
== NULL
) SWIG_fail
;
7935 SWIG_Python_ConvertPtr(obj4
, (void **)&argp
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
);
7936 if (SWIG_arg_fail(5)) SWIG_fail
;
7938 SWIG_null_ref("wxDateTime");
7940 if (SWIG_arg_fail(5)) SWIG_fail
;
7944 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7945 result
= (wxFSFile
*)new wxFSFile(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
);
7947 wxPyEndAllowThreads(__tstate
);
7948 if (PyErr_Occurred()) SWIG_fail
;
7951 resultobj
= wxPyMake_wxObject(result
, 1);
7991 static PyObject
*_wrap_delete_FSFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7992 PyObject
*resultobj
;
7993 wxFSFile
*arg1
= (wxFSFile
*) 0 ;
7994 PyObject
* obj0
= 0 ;
7996 (char *) "self", NULL
7999 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FSFile",kwnames
,&obj0
)) goto fail
;
8000 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFSFile
, SWIG_POINTER_EXCEPTION
| 0);
8001 if (SWIG_arg_fail(1)) SWIG_fail
;
8003 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8006 wxPyEndAllowThreads(__tstate
);
8007 if (PyErr_Occurred()) SWIG_fail
;
8009 Py_INCREF(Py_None
); resultobj
= Py_None
;
8016 static PyObject
*_wrap_FSFile_GetStream(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8017 PyObject
*resultobj
;
8018 wxFSFile
*arg1
= (wxFSFile
*) 0 ;
8019 wxInputStream
*result
;
8020 PyObject
* obj0
= 0 ;
8022 (char *) "self", NULL
8025 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FSFile_GetStream",kwnames
,&obj0
)) goto fail
;
8026 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFSFile
, SWIG_POINTER_EXCEPTION
| 0);
8027 if (SWIG_arg_fail(1)) SWIG_fail
;
8029 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8030 result
= (wxInputStream
*)(arg1
)->GetStream();
8032 wxPyEndAllowThreads(__tstate
);
8033 if (PyErr_Occurred()) SWIG_fail
;
8036 wxPyInputStream
* _ptr
= NULL
;
8039 _ptr
= new wxPyInputStream(result
);
8041 resultobj
= wxPyConstructObject(_ptr
, wxT("wxPyInputStream"), 0);
8049 static PyObject
*_wrap_FSFile_GetMimeType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8050 PyObject
*resultobj
;
8051 wxFSFile
*arg1
= (wxFSFile
*) 0 ;
8053 PyObject
* obj0
= 0 ;
8055 (char *) "self", NULL
8058 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FSFile_GetMimeType",kwnames
,&obj0
)) goto fail
;
8059 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFSFile
, SWIG_POINTER_EXCEPTION
| 0);
8060 if (SWIG_arg_fail(1)) SWIG_fail
;
8062 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8064 wxString
const &_result_ref
= (arg1
)->GetMimeType();
8065 result
= (wxString
*) &_result_ref
;
8068 wxPyEndAllowThreads(__tstate
);
8069 if (PyErr_Occurred()) SWIG_fail
;
8073 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
8075 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
8084 static PyObject
*_wrap_FSFile_GetLocation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8085 PyObject
*resultobj
;
8086 wxFSFile
*arg1
= (wxFSFile
*) 0 ;
8088 PyObject
* obj0
= 0 ;
8090 (char *) "self", NULL
8093 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FSFile_GetLocation",kwnames
,&obj0
)) goto fail
;
8094 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFSFile
, SWIG_POINTER_EXCEPTION
| 0);
8095 if (SWIG_arg_fail(1)) SWIG_fail
;
8097 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8099 wxString
const &_result_ref
= (arg1
)->GetLocation();
8100 result
= (wxString
*) &_result_ref
;
8103 wxPyEndAllowThreads(__tstate
);
8104 if (PyErr_Occurred()) SWIG_fail
;
8108 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
8110 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
8119 static PyObject
*_wrap_FSFile_GetAnchor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8120 PyObject
*resultobj
;
8121 wxFSFile
*arg1
= (wxFSFile
*) 0 ;
8123 PyObject
* obj0
= 0 ;
8125 (char *) "self", NULL
8128 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FSFile_GetAnchor",kwnames
,&obj0
)) goto fail
;
8129 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFSFile
, SWIG_POINTER_EXCEPTION
| 0);
8130 if (SWIG_arg_fail(1)) SWIG_fail
;
8132 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8134 wxString
const &_result_ref
= (arg1
)->GetAnchor();
8135 result
= (wxString
*) &_result_ref
;
8138 wxPyEndAllowThreads(__tstate
);
8139 if (PyErr_Occurred()) SWIG_fail
;
8143 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
8145 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
8154 static PyObject
*_wrap_FSFile_GetModificationTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8155 PyObject
*resultobj
;
8156 wxFSFile
*arg1
= (wxFSFile
*) 0 ;
8158 PyObject
* obj0
= 0 ;
8160 (char *) "self", NULL
8163 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FSFile_GetModificationTime",kwnames
,&obj0
)) goto fail
;
8164 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFSFile
, SWIG_POINTER_EXCEPTION
| 0);
8165 if (SWIG_arg_fail(1)) SWIG_fail
;
8167 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8168 result
= (arg1
)->GetModificationTime();
8170 wxPyEndAllowThreads(__tstate
);
8171 if (PyErr_Occurred()) SWIG_fail
;
8174 wxDateTime
* resultptr
;
8175 resultptr
= new wxDateTime((wxDateTime
&)(result
));
8176 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
8184 static PyObject
* FSFile_swigregister(PyObject
*, PyObject
*args
) {
8186 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8187 SWIG_TypeClientData(SWIGTYPE_p_wxFSFile
, obj
);
8189 return Py_BuildValue((char *)"");
8191 static PyObject
* CPPFileSystemHandler_swigregister(PyObject
*, PyObject
*args
) {
8193 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8194 SWIG_TypeClientData(SWIGTYPE_p_wxFileSystemHandler
, obj
);
8196 return Py_BuildValue((char *)"");
8198 static PyObject
*_wrap_new_FileSystemHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8199 PyObject
*resultobj
;
8200 wxPyFileSystemHandler
*result
;
8205 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_FileSystemHandler",kwnames
)) goto fail
;
8207 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8208 result
= (wxPyFileSystemHandler
*)new wxPyFileSystemHandler();
8210 wxPyEndAllowThreads(__tstate
);
8211 if (PyErr_Occurred()) SWIG_fail
;
8213 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyFileSystemHandler
, 1);
8220 static PyObject
*_wrap_FileSystemHandler__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8221 PyObject
*resultobj
;
8222 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
8223 PyObject
*arg2
= (PyObject
*) 0 ;
8224 PyObject
*arg3
= (PyObject
*) 0 ;
8225 PyObject
* obj0
= 0 ;
8226 PyObject
* obj1
= 0 ;
8227 PyObject
* obj2
= 0 ;
8229 (char *) "self",(char *) "self",(char *) "_class", NULL
8232 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:FileSystemHandler__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8233 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyFileSystemHandler
, SWIG_POINTER_EXCEPTION
| 0);
8234 if (SWIG_arg_fail(1)) SWIG_fail
;
8238 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8239 (arg1
)->_setCallbackInfo(arg2
,arg3
);
8241 wxPyEndAllowThreads(__tstate
);
8242 if (PyErr_Occurred()) SWIG_fail
;
8244 Py_INCREF(Py_None
); resultobj
= Py_None
;
8251 static PyObject
*_wrap_FileSystemHandler_CanOpen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8252 PyObject
*resultobj
;
8253 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
8254 wxString
*arg2
= 0 ;
8256 bool temp2
= false ;
8257 PyObject
* obj0
= 0 ;
8258 PyObject
* obj1
= 0 ;
8260 (char *) "self",(char *) "location", NULL
8263 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystemHandler_CanOpen",kwnames
,&obj0
,&obj1
)) goto fail
;
8264 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyFileSystemHandler
, SWIG_POINTER_EXCEPTION
| 0);
8265 if (SWIG_arg_fail(1)) SWIG_fail
;
8267 arg2
= wxString_in_helper(obj1
);
8268 if (arg2
== NULL
) SWIG_fail
;
8272 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8273 result
= (bool)(arg1
)->CanOpen((wxString
const &)*arg2
);
8275 wxPyEndAllowThreads(__tstate
);
8276 if (PyErr_Occurred()) SWIG_fail
;
8279 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8295 static PyObject
*_wrap_FileSystemHandler_OpenFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8296 PyObject
*resultobj
;
8297 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
8298 wxFileSystem
*arg2
= 0 ;
8299 wxString
*arg3
= 0 ;
8301 bool temp3
= false ;
8302 PyObject
* obj0
= 0 ;
8303 PyObject
* obj1
= 0 ;
8304 PyObject
* obj2
= 0 ;
8306 (char *) "self",(char *) "fs",(char *) "location", NULL
8309 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:FileSystemHandler_OpenFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8310 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyFileSystemHandler
, SWIG_POINTER_EXCEPTION
| 0);
8311 if (SWIG_arg_fail(1)) SWIG_fail
;
8313 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFileSystem
, SWIG_POINTER_EXCEPTION
| 0);
8314 if (SWIG_arg_fail(2)) SWIG_fail
;
8316 SWIG_null_ref("wxFileSystem");
8318 if (SWIG_arg_fail(2)) SWIG_fail
;
8321 arg3
= wxString_in_helper(obj2
);
8322 if (arg3
== NULL
) SWIG_fail
;
8326 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8327 result
= (wxFSFile
*)(arg1
)->OpenFile(*arg2
,(wxString
const &)*arg3
);
8329 wxPyEndAllowThreads(__tstate
);
8330 if (PyErr_Occurred()) SWIG_fail
;
8333 resultobj
= wxPyMake_wxObject(result
, 1);
8349 static PyObject
*_wrap_FileSystemHandler_FindFirst(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8350 PyObject
*resultobj
;
8351 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
8352 wxString
*arg2
= 0 ;
8353 int arg3
= (int) 0 ;
8355 bool temp2
= false ;
8356 PyObject
* obj0
= 0 ;
8357 PyObject
* obj1
= 0 ;
8358 PyObject
* obj2
= 0 ;
8360 (char *) "self",(char *) "spec",(char *) "flags", NULL
8363 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileSystemHandler_FindFirst",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8364 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyFileSystemHandler
, SWIG_POINTER_EXCEPTION
| 0);
8365 if (SWIG_arg_fail(1)) SWIG_fail
;
8367 arg2
= wxString_in_helper(obj1
);
8368 if (arg2
== NULL
) SWIG_fail
;
8373 arg3
= (int)(SWIG_As_int(obj2
));
8374 if (SWIG_arg_fail(3)) SWIG_fail
;
8378 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8379 result
= (arg1
)->FindFirst((wxString
const &)*arg2
,arg3
);
8381 wxPyEndAllowThreads(__tstate
);
8382 if (PyErr_Occurred()) SWIG_fail
;
8386 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8388 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8405 static PyObject
*_wrap_FileSystemHandler_FindNext(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8406 PyObject
*resultobj
;
8407 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
8409 PyObject
* obj0
= 0 ;
8411 (char *) "self", NULL
8414 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileSystemHandler_FindNext",kwnames
,&obj0
)) goto fail
;
8415 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyFileSystemHandler
, SWIG_POINTER_EXCEPTION
| 0);
8416 if (SWIG_arg_fail(1)) SWIG_fail
;
8418 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8419 result
= (arg1
)->FindNext();
8421 wxPyEndAllowThreads(__tstate
);
8422 if (PyErr_Occurred()) SWIG_fail
;
8426 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8428 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8437 static PyObject
*_wrap_FileSystemHandler_GetProtocol(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8438 PyObject
*resultobj
;
8439 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
8440 wxString
*arg2
= 0 ;
8442 bool temp2
= false ;
8443 PyObject
* obj0
= 0 ;
8444 PyObject
* obj1
= 0 ;
8446 (char *) "self",(char *) "location", NULL
8449 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystemHandler_GetProtocol",kwnames
,&obj0
,&obj1
)) goto fail
;
8450 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyFileSystemHandler
, SWIG_POINTER_EXCEPTION
| 0);
8451 if (SWIG_arg_fail(1)) SWIG_fail
;
8453 arg2
= wxString_in_helper(obj1
);
8454 if (arg2
== NULL
) SWIG_fail
;
8458 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8459 result
= (arg1
)->GetProtocol((wxString
const &)*arg2
);
8461 wxPyEndAllowThreads(__tstate
);
8462 if (PyErr_Occurred()) SWIG_fail
;
8466 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8468 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8485 static PyObject
*_wrap_FileSystemHandler_GetLeftLocation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8486 PyObject
*resultobj
;
8487 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
8488 wxString
*arg2
= 0 ;
8490 bool temp2
= false ;
8491 PyObject
* obj0
= 0 ;
8492 PyObject
* obj1
= 0 ;
8494 (char *) "self",(char *) "location", NULL
8497 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystemHandler_GetLeftLocation",kwnames
,&obj0
,&obj1
)) goto fail
;
8498 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyFileSystemHandler
, SWIG_POINTER_EXCEPTION
| 0);
8499 if (SWIG_arg_fail(1)) SWIG_fail
;
8501 arg2
= wxString_in_helper(obj1
);
8502 if (arg2
== NULL
) SWIG_fail
;
8506 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8507 result
= (arg1
)->GetLeftLocation((wxString
const &)*arg2
);
8509 wxPyEndAllowThreads(__tstate
);
8510 if (PyErr_Occurred()) SWIG_fail
;
8514 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8516 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8533 static PyObject
*_wrap_FileSystemHandler_GetAnchor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8534 PyObject
*resultobj
;
8535 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
8536 wxString
*arg2
= 0 ;
8538 bool temp2
= false ;
8539 PyObject
* obj0
= 0 ;
8540 PyObject
* obj1
= 0 ;
8542 (char *) "self",(char *) "location", NULL
8545 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystemHandler_GetAnchor",kwnames
,&obj0
,&obj1
)) goto fail
;
8546 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyFileSystemHandler
, SWIG_POINTER_EXCEPTION
| 0);
8547 if (SWIG_arg_fail(1)) SWIG_fail
;
8549 arg2
= wxString_in_helper(obj1
);
8550 if (arg2
== NULL
) SWIG_fail
;
8554 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8555 result
= (arg1
)->GetAnchor((wxString
const &)*arg2
);
8557 wxPyEndAllowThreads(__tstate
);
8558 if (PyErr_Occurred()) SWIG_fail
;
8562 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8564 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8581 static PyObject
*_wrap_FileSystemHandler_GetRightLocation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8582 PyObject
*resultobj
;
8583 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
8584 wxString
*arg2
= 0 ;
8586 bool temp2
= false ;
8587 PyObject
* obj0
= 0 ;
8588 PyObject
* obj1
= 0 ;
8590 (char *) "self",(char *) "location", NULL
8593 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystemHandler_GetRightLocation",kwnames
,&obj0
,&obj1
)) goto fail
;
8594 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyFileSystemHandler
, SWIG_POINTER_EXCEPTION
| 0);
8595 if (SWIG_arg_fail(1)) SWIG_fail
;
8597 arg2
= wxString_in_helper(obj1
);
8598 if (arg2
== NULL
) SWIG_fail
;
8602 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8603 result
= (arg1
)->GetRightLocation((wxString
const &)*arg2
);
8605 wxPyEndAllowThreads(__tstate
);
8606 if (PyErr_Occurred()) SWIG_fail
;
8610 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8612 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8629 static PyObject
*_wrap_FileSystemHandler_GetMimeTypeFromExt(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8630 PyObject
*resultobj
;
8631 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
8632 wxString
*arg2
= 0 ;
8634 bool temp2
= false ;
8635 PyObject
* obj0
= 0 ;
8636 PyObject
* obj1
= 0 ;
8638 (char *) "self",(char *) "location", NULL
8641 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystemHandler_GetMimeTypeFromExt",kwnames
,&obj0
,&obj1
)) goto fail
;
8642 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyFileSystemHandler
, SWIG_POINTER_EXCEPTION
| 0);
8643 if (SWIG_arg_fail(1)) SWIG_fail
;
8645 arg2
= wxString_in_helper(obj1
);
8646 if (arg2
== NULL
) SWIG_fail
;
8650 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8651 result
= (arg1
)->GetMimeTypeFromExt((wxString
const &)*arg2
);
8653 wxPyEndAllowThreads(__tstate
);
8654 if (PyErr_Occurred()) SWIG_fail
;
8658 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8660 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8677 static PyObject
* FileSystemHandler_swigregister(PyObject
*, PyObject
*args
) {
8679 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8680 SWIG_TypeClientData(SWIGTYPE_p_wxPyFileSystemHandler
, obj
);
8682 return Py_BuildValue((char *)"");
8684 static PyObject
*_wrap_new_FileSystem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8685 PyObject
*resultobj
;
8686 wxFileSystem
*result
;
8691 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_FileSystem",kwnames
)) goto fail
;
8693 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8694 result
= (wxFileSystem
*)new wxFileSystem();
8696 wxPyEndAllowThreads(__tstate
);
8697 if (PyErr_Occurred()) SWIG_fail
;
8700 resultobj
= wxPyMake_wxObject(result
, 1);
8708 static PyObject
*_wrap_delete_FileSystem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8709 PyObject
*resultobj
;
8710 wxFileSystem
*arg1
= (wxFileSystem
*) 0 ;
8711 PyObject
* obj0
= 0 ;
8713 (char *) "self", NULL
8716 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FileSystem",kwnames
,&obj0
)) goto fail
;
8717 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileSystem
, SWIG_POINTER_EXCEPTION
| 0);
8718 if (SWIG_arg_fail(1)) SWIG_fail
;
8720 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8723 wxPyEndAllowThreads(__tstate
);
8724 if (PyErr_Occurred()) SWIG_fail
;
8726 Py_INCREF(Py_None
); resultobj
= Py_None
;
8733 static PyObject
*_wrap_FileSystem_ChangePathTo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8734 PyObject
*resultobj
;
8735 wxFileSystem
*arg1
= (wxFileSystem
*) 0 ;
8736 wxString
*arg2
= 0 ;
8737 bool arg3
= (bool) false ;
8738 bool temp2
= false ;
8739 PyObject
* obj0
= 0 ;
8740 PyObject
* obj1
= 0 ;
8741 PyObject
* obj2
= 0 ;
8743 (char *) "self",(char *) "location",(char *) "is_dir", NULL
8746 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileSystem_ChangePathTo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8747 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileSystem
, SWIG_POINTER_EXCEPTION
| 0);
8748 if (SWIG_arg_fail(1)) SWIG_fail
;
8750 arg2
= wxString_in_helper(obj1
);
8751 if (arg2
== NULL
) SWIG_fail
;
8756 arg3
= (bool)(SWIG_As_bool(obj2
));
8757 if (SWIG_arg_fail(3)) SWIG_fail
;
8761 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8762 (arg1
)->ChangePathTo((wxString
const &)*arg2
,arg3
);
8764 wxPyEndAllowThreads(__tstate
);
8765 if (PyErr_Occurred()) SWIG_fail
;
8767 Py_INCREF(Py_None
); resultobj
= Py_None
;
8782 static PyObject
*_wrap_FileSystem_GetPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8783 PyObject
*resultobj
;
8784 wxFileSystem
*arg1
= (wxFileSystem
*) 0 ;
8786 PyObject
* obj0
= 0 ;
8788 (char *) "self", NULL
8791 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileSystem_GetPath",kwnames
,&obj0
)) goto fail
;
8792 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileSystem
, SWIG_POINTER_EXCEPTION
| 0);
8793 if (SWIG_arg_fail(1)) SWIG_fail
;
8795 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8796 result
= (arg1
)->GetPath();
8798 wxPyEndAllowThreads(__tstate
);
8799 if (PyErr_Occurred()) SWIG_fail
;
8803 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8805 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8814 static PyObject
*_wrap_FileSystem_OpenFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8815 PyObject
*resultobj
;
8816 wxFileSystem
*arg1
= (wxFileSystem
*) 0 ;
8817 wxString
*arg2
= 0 ;
8819 bool temp2
= false ;
8820 PyObject
* obj0
= 0 ;
8821 PyObject
* obj1
= 0 ;
8823 (char *) "self",(char *) "location", NULL
8826 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystem_OpenFile",kwnames
,&obj0
,&obj1
)) goto fail
;
8827 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileSystem
, SWIG_POINTER_EXCEPTION
| 0);
8828 if (SWIG_arg_fail(1)) SWIG_fail
;
8830 arg2
= wxString_in_helper(obj1
);
8831 if (arg2
== NULL
) SWIG_fail
;
8835 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8836 result
= (wxFSFile
*)(arg1
)->OpenFile((wxString
const &)*arg2
);
8838 wxPyEndAllowThreads(__tstate
);
8839 if (PyErr_Occurred()) SWIG_fail
;
8842 resultobj
= wxPyMake_wxObject(result
, 1);
8858 static PyObject
*_wrap_FileSystem_FindFirst(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8859 PyObject
*resultobj
;
8860 wxFileSystem
*arg1
= (wxFileSystem
*) 0 ;
8861 wxString
*arg2
= 0 ;
8862 int arg3
= (int) 0 ;
8864 bool temp2
= false ;
8865 PyObject
* obj0
= 0 ;
8866 PyObject
* obj1
= 0 ;
8867 PyObject
* obj2
= 0 ;
8869 (char *) "self",(char *) "spec",(char *) "flags", NULL
8872 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileSystem_FindFirst",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8873 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileSystem
, SWIG_POINTER_EXCEPTION
| 0);
8874 if (SWIG_arg_fail(1)) SWIG_fail
;
8876 arg2
= wxString_in_helper(obj1
);
8877 if (arg2
== NULL
) SWIG_fail
;
8882 arg3
= (int)(SWIG_As_int(obj2
));
8883 if (SWIG_arg_fail(3)) SWIG_fail
;
8887 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8888 result
= (arg1
)->FindFirst((wxString
const &)*arg2
,arg3
);
8890 wxPyEndAllowThreads(__tstate
);
8891 if (PyErr_Occurred()) SWIG_fail
;
8895 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8897 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8914 static PyObject
*_wrap_FileSystem_FindNext(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8915 PyObject
*resultobj
;
8916 wxFileSystem
*arg1
= (wxFileSystem
*) 0 ;
8918 PyObject
* obj0
= 0 ;
8920 (char *) "self", NULL
8923 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileSystem_FindNext",kwnames
,&obj0
)) goto fail
;
8924 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileSystem
, SWIG_POINTER_EXCEPTION
| 0);
8925 if (SWIG_arg_fail(1)) SWIG_fail
;
8927 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8928 result
= (arg1
)->FindNext();
8930 wxPyEndAllowThreads(__tstate
);
8931 if (PyErr_Occurred()) SWIG_fail
;
8935 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8937 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8946 static PyObject
*_wrap_FileSystem_AddHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8947 PyObject
*resultobj
;
8948 wxFileSystemHandler
*arg1
= (wxFileSystemHandler
*) 0 ;
8949 PyObject
* obj0
= 0 ;
8951 (char *) "handler", NULL
8954 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileSystem_AddHandler",kwnames
,&obj0
)) goto fail
;
8955 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileSystemHandler
, SWIG_POINTER_EXCEPTION
| 0);
8956 if (SWIG_arg_fail(1)) SWIG_fail
;
8958 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8959 wxFileSystem::AddHandler(arg1
);
8961 wxPyEndAllowThreads(__tstate
);
8962 if (PyErr_Occurred()) SWIG_fail
;
8964 Py_INCREF(Py_None
); resultobj
= Py_None
;
8971 static PyObject
*_wrap_FileSystem_CleanUpHandlers(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8972 PyObject
*resultobj
;
8977 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":FileSystem_CleanUpHandlers",kwnames
)) goto fail
;
8979 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8980 wxFileSystem::CleanUpHandlers();
8982 wxPyEndAllowThreads(__tstate
);
8983 if (PyErr_Occurred()) SWIG_fail
;
8985 Py_INCREF(Py_None
); resultobj
= Py_None
;
8992 static PyObject
*_wrap_FileSystem_FileNameToURL(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8993 PyObject
*resultobj
;
8994 wxString
*arg1
= 0 ;
8996 bool temp1
= false ;
8997 PyObject
* obj0
= 0 ;
8999 (char *) "filename", NULL
9002 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileSystem_FileNameToURL",kwnames
,&obj0
)) goto fail
;
9004 arg1
= wxString_in_helper(obj0
);
9005 if (arg1
== NULL
) SWIG_fail
;
9009 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9010 result
= wxFileSystem::FileNameToURL((wxString
const &)*arg1
);
9012 wxPyEndAllowThreads(__tstate
);
9013 if (PyErr_Occurred()) SWIG_fail
;
9017 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9019 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9036 static PyObject
*_wrap_FileSystem_URLToFileName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9037 PyObject
*resultobj
;
9038 wxString
*arg1
= 0 ;
9040 bool temp1
= false ;
9041 PyObject
* obj0
= 0 ;
9043 (char *) "url", NULL
9046 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileSystem_URLToFileName",kwnames
,&obj0
)) goto fail
;
9048 arg1
= wxString_in_helper(obj0
);
9049 if (arg1
== NULL
) SWIG_fail
;
9053 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9054 result
= FileSystem_URLToFileName((wxString
const &)*arg1
);
9056 wxPyEndAllowThreads(__tstate
);
9057 if (PyErr_Occurred()) SWIG_fail
;
9061 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9063 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9080 static PyObject
* FileSystem_swigregister(PyObject
*, PyObject
*args
) {
9082 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9083 SWIG_TypeClientData(SWIGTYPE_p_wxFileSystem
, obj
);
9085 return Py_BuildValue((char *)"");
9087 static PyObject
*_wrap_new_InternetFSHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9088 PyObject
*resultobj
;
9089 wxInternetFSHandler
*result
;
9094 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_InternetFSHandler",kwnames
)) goto fail
;
9096 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9097 result
= (wxInternetFSHandler
*)new wxInternetFSHandler();
9099 wxPyEndAllowThreads(__tstate
);
9100 if (PyErr_Occurred()) SWIG_fail
;
9102 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxInternetFSHandler
, 1);
9109 static PyObject
*_wrap_InternetFSHandler_CanOpen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9110 PyObject
*resultobj
;
9111 wxInternetFSHandler
*arg1
= (wxInternetFSHandler
*) 0 ;
9112 wxString
*arg2
= 0 ;
9114 bool temp2
= false ;
9115 PyObject
* obj0
= 0 ;
9116 PyObject
* obj1
= 0 ;
9118 (char *) "self",(char *) "location", NULL
9121 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:InternetFSHandler_CanOpen",kwnames
,&obj0
,&obj1
)) goto fail
;
9122 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxInternetFSHandler
, SWIG_POINTER_EXCEPTION
| 0);
9123 if (SWIG_arg_fail(1)) SWIG_fail
;
9125 arg2
= wxString_in_helper(obj1
);
9126 if (arg2
== NULL
) SWIG_fail
;
9130 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9131 result
= (bool)(arg1
)->CanOpen((wxString
const &)*arg2
);
9133 wxPyEndAllowThreads(__tstate
);
9134 if (PyErr_Occurred()) SWIG_fail
;
9137 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9153 static PyObject
*_wrap_InternetFSHandler_OpenFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9154 PyObject
*resultobj
;
9155 wxInternetFSHandler
*arg1
= (wxInternetFSHandler
*) 0 ;
9156 wxFileSystem
*arg2
= 0 ;
9157 wxString
*arg3
= 0 ;
9159 bool temp3
= false ;
9160 PyObject
* obj0
= 0 ;
9161 PyObject
* obj1
= 0 ;
9162 PyObject
* obj2
= 0 ;
9164 (char *) "self",(char *) "fs",(char *) "location", NULL
9167 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:InternetFSHandler_OpenFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9168 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxInternetFSHandler
, SWIG_POINTER_EXCEPTION
| 0);
9169 if (SWIG_arg_fail(1)) SWIG_fail
;
9171 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFileSystem
, SWIG_POINTER_EXCEPTION
| 0);
9172 if (SWIG_arg_fail(2)) SWIG_fail
;
9174 SWIG_null_ref("wxFileSystem");
9176 if (SWIG_arg_fail(2)) SWIG_fail
;
9179 arg3
= wxString_in_helper(obj2
);
9180 if (arg3
== NULL
) SWIG_fail
;
9184 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9185 result
= (wxFSFile
*)(arg1
)->OpenFile(*arg2
,(wxString
const &)*arg3
);
9187 wxPyEndAllowThreads(__tstate
);
9188 if (PyErr_Occurred()) SWIG_fail
;
9191 resultobj
= wxPyMake_wxObject(result
, 1);
9207 static PyObject
* InternetFSHandler_swigregister(PyObject
*, PyObject
*args
) {
9209 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9210 SWIG_TypeClientData(SWIGTYPE_p_wxInternetFSHandler
, obj
);
9212 return Py_BuildValue((char *)"");
9214 static PyObject
*_wrap_new_ZipFSHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9215 PyObject
*resultobj
;
9216 wxZipFSHandler
*result
;
9221 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ZipFSHandler",kwnames
)) goto fail
;
9223 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9224 result
= (wxZipFSHandler
*)new wxZipFSHandler();
9226 wxPyEndAllowThreads(__tstate
);
9227 if (PyErr_Occurred()) SWIG_fail
;
9229 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxZipFSHandler
, 1);
9236 static PyObject
*_wrap_ZipFSHandler_CanOpen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9237 PyObject
*resultobj
;
9238 wxZipFSHandler
*arg1
= (wxZipFSHandler
*) 0 ;
9239 wxString
*arg2
= 0 ;
9241 bool temp2
= false ;
9242 PyObject
* obj0
= 0 ;
9243 PyObject
* obj1
= 0 ;
9245 (char *) "self",(char *) "location", NULL
9248 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ZipFSHandler_CanOpen",kwnames
,&obj0
,&obj1
)) goto fail
;
9249 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxZipFSHandler
, SWIG_POINTER_EXCEPTION
| 0);
9250 if (SWIG_arg_fail(1)) SWIG_fail
;
9252 arg2
= wxString_in_helper(obj1
);
9253 if (arg2
== NULL
) SWIG_fail
;
9257 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9258 result
= (bool)(arg1
)->CanOpen((wxString
const &)*arg2
);
9260 wxPyEndAllowThreads(__tstate
);
9261 if (PyErr_Occurred()) SWIG_fail
;
9264 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9280 static PyObject
*_wrap_ZipFSHandler_OpenFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9281 PyObject
*resultobj
;
9282 wxZipFSHandler
*arg1
= (wxZipFSHandler
*) 0 ;
9283 wxFileSystem
*arg2
= 0 ;
9284 wxString
*arg3
= 0 ;
9286 bool temp3
= false ;
9287 PyObject
* obj0
= 0 ;
9288 PyObject
* obj1
= 0 ;
9289 PyObject
* obj2
= 0 ;
9291 (char *) "self",(char *) "fs",(char *) "location", NULL
9294 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ZipFSHandler_OpenFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9295 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxZipFSHandler
, SWIG_POINTER_EXCEPTION
| 0);
9296 if (SWIG_arg_fail(1)) SWIG_fail
;
9298 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFileSystem
, SWIG_POINTER_EXCEPTION
| 0);
9299 if (SWIG_arg_fail(2)) SWIG_fail
;
9301 SWIG_null_ref("wxFileSystem");
9303 if (SWIG_arg_fail(2)) SWIG_fail
;
9306 arg3
= wxString_in_helper(obj2
);
9307 if (arg3
== NULL
) SWIG_fail
;
9311 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9312 result
= (wxFSFile
*)(arg1
)->OpenFile(*arg2
,(wxString
const &)*arg3
);
9314 wxPyEndAllowThreads(__tstate
);
9315 if (PyErr_Occurred()) SWIG_fail
;
9318 resultobj
= wxPyMake_wxObject(result
, 1);
9334 static PyObject
*_wrap_ZipFSHandler_FindFirst(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9335 PyObject
*resultobj
;
9336 wxZipFSHandler
*arg1
= (wxZipFSHandler
*) 0 ;
9337 wxString
*arg2
= 0 ;
9338 int arg3
= (int) 0 ;
9340 bool temp2
= false ;
9341 PyObject
* obj0
= 0 ;
9342 PyObject
* obj1
= 0 ;
9343 PyObject
* obj2
= 0 ;
9345 (char *) "self",(char *) "spec",(char *) "flags", NULL
9348 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ZipFSHandler_FindFirst",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9349 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxZipFSHandler
, SWIG_POINTER_EXCEPTION
| 0);
9350 if (SWIG_arg_fail(1)) SWIG_fail
;
9352 arg2
= wxString_in_helper(obj1
);
9353 if (arg2
== NULL
) SWIG_fail
;
9358 arg3
= (int)(SWIG_As_int(obj2
));
9359 if (SWIG_arg_fail(3)) SWIG_fail
;
9363 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9364 result
= (arg1
)->FindFirst((wxString
const &)*arg2
,arg3
);
9366 wxPyEndAllowThreads(__tstate
);
9367 if (PyErr_Occurred()) SWIG_fail
;
9371 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9373 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9390 static PyObject
*_wrap_ZipFSHandler_FindNext(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9391 PyObject
*resultobj
;
9392 wxZipFSHandler
*arg1
= (wxZipFSHandler
*) 0 ;
9394 PyObject
* obj0
= 0 ;
9396 (char *) "self", NULL
9399 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ZipFSHandler_FindNext",kwnames
,&obj0
)) goto fail
;
9400 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxZipFSHandler
, SWIG_POINTER_EXCEPTION
| 0);
9401 if (SWIG_arg_fail(1)) SWIG_fail
;
9403 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9404 result
= (arg1
)->FindNext();
9406 wxPyEndAllowThreads(__tstate
);
9407 if (PyErr_Occurred()) SWIG_fail
;
9411 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9413 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9422 static PyObject
* ZipFSHandler_swigregister(PyObject
*, PyObject
*args
) {
9424 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9425 SWIG_TypeClientData(SWIGTYPE_p_wxZipFSHandler
, obj
);
9427 return Py_BuildValue((char *)"");
9429 static PyObject
*_wrap___wxMemoryFSHandler_AddFile_wxImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9430 PyObject
*resultobj
;
9431 wxString
*arg1
= 0 ;
9434 bool temp1
= false ;
9435 PyObject
* obj0
= 0 ;
9436 PyObject
* obj1
= 0 ;
9437 PyObject
* obj2
= 0 ;
9439 (char *) "filename",(char *) "image",(char *) "type", NULL
9442 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:__wxMemoryFSHandler_AddFile_wxImage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9444 arg1
= wxString_in_helper(obj0
);
9445 if (arg1
== NULL
) SWIG_fail
;
9449 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
9450 if (SWIG_arg_fail(2)) SWIG_fail
;
9452 SWIG_null_ref("wxImage");
9454 if (SWIG_arg_fail(2)) SWIG_fail
;
9457 arg3
= (long)(SWIG_As_long(obj2
));
9458 if (SWIG_arg_fail(3)) SWIG_fail
;
9461 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9462 __wxMemoryFSHandler_AddFile_wxImage((wxString
const &)*arg1
,*arg2
,arg3
);
9464 wxPyEndAllowThreads(__tstate
);
9465 if (PyErr_Occurred()) SWIG_fail
;
9467 Py_INCREF(Py_None
); resultobj
= Py_None
;
9482 static PyObject
*_wrap___wxMemoryFSHandler_AddFile_wxBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9483 PyObject
*resultobj
;
9484 wxString
*arg1
= 0 ;
9485 wxBitmap
*arg2
= 0 ;
9487 bool temp1
= false ;
9488 PyObject
* obj0
= 0 ;
9489 PyObject
* obj1
= 0 ;
9490 PyObject
* obj2
= 0 ;
9492 (char *) "filename",(char *) "bitmap",(char *) "type", NULL
9495 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:__wxMemoryFSHandler_AddFile_wxBitmap",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9497 arg1
= wxString_in_helper(obj0
);
9498 if (arg1
== NULL
) SWIG_fail
;
9502 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
9503 if (SWIG_arg_fail(2)) SWIG_fail
;
9505 SWIG_null_ref("wxBitmap");
9507 if (SWIG_arg_fail(2)) SWIG_fail
;
9510 arg3
= (long)(SWIG_As_long(obj2
));
9511 if (SWIG_arg_fail(3)) SWIG_fail
;
9514 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9515 __wxMemoryFSHandler_AddFile_wxBitmap((wxString
const &)*arg1
,(wxBitmap
const &)*arg2
,arg3
);
9517 wxPyEndAllowThreads(__tstate
);
9518 if (PyErr_Occurred()) SWIG_fail
;
9520 Py_INCREF(Py_None
); resultobj
= Py_None
;
9535 static PyObject
*_wrap___wxMemoryFSHandler_AddFile_Data(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9536 PyObject
*resultobj
;
9537 wxString
*arg1
= 0 ;
9538 PyObject
*arg2
= (PyObject
*) 0 ;
9539 bool temp1
= false ;
9540 PyObject
* obj0
= 0 ;
9541 PyObject
* obj1
= 0 ;
9543 (char *) "filename",(char *) "data", NULL
9546 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:__wxMemoryFSHandler_AddFile_Data",kwnames
,&obj0
,&obj1
)) goto fail
;
9548 arg1
= wxString_in_helper(obj0
);
9549 if (arg1
== NULL
) SWIG_fail
;
9554 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9555 __wxMemoryFSHandler_AddFile_Data((wxString
const &)*arg1
,arg2
);
9557 wxPyEndAllowThreads(__tstate
);
9558 if (PyErr_Occurred()) SWIG_fail
;
9560 Py_INCREF(Py_None
); resultobj
= Py_None
;
9575 static PyObject
*_wrap_new_MemoryFSHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9576 PyObject
*resultobj
;
9577 wxMemoryFSHandler
*result
;
9582 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_MemoryFSHandler",kwnames
)) goto fail
;
9584 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9585 result
= (wxMemoryFSHandler
*)new wxMemoryFSHandler();
9587 wxPyEndAllowThreads(__tstate
);
9588 if (PyErr_Occurred()) SWIG_fail
;
9590 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMemoryFSHandler
, 1);
9597 static PyObject
*_wrap_MemoryFSHandler_RemoveFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9598 PyObject
*resultobj
;
9599 wxString
*arg1
= 0 ;
9600 bool temp1
= false ;
9601 PyObject
* obj0
= 0 ;
9603 (char *) "filename", NULL
9606 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MemoryFSHandler_RemoveFile",kwnames
,&obj0
)) goto fail
;
9608 arg1
= wxString_in_helper(obj0
);
9609 if (arg1
== NULL
) SWIG_fail
;
9613 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9614 wxMemoryFSHandler::RemoveFile((wxString
const &)*arg1
);
9616 wxPyEndAllowThreads(__tstate
);
9617 if (PyErr_Occurred()) SWIG_fail
;
9619 Py_INCREF(Py_None
); resultobj
= Py_None
;
9634 static PyObject
*_wrap_MemoryFSHandler_CanOpen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9635 PyObject
*resultobj
;
9636 wxMemoryFSHandler
*arg1
= (wxMemoryFSHandler
*) 0 ;
9637 wxString
*arg2
= 0 ;
9639 bool temp2
= false ;
9640 PyObject
* obj0
= 0 ;
9641 PyObject
* obj1
= 0 ;
9643 (char *) "self",(char *) "location", NULL
9646 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MemoryFSHandler_CanOpen",kwnames
,&obj0
,&obj1
)) goto fail
;
9647 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMemoryFSHandler
, SWIG_POINTER_EXCEPTION
| 0);
9648 if (SWIG_arg_fail(1)) SWIG_fail
;
9650 arg2
= wxString_in_helper(obj1
);
9651 if (arg2
== NULL
) SWIG_fail
;
9655 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9656 result
= (bool)(arg1
)->CanOpen((wxString
const &)*arg2
);
9658 wxPyEndAllowThreads(__tstate
);
9659 if (PyErr_Occurred()) SWIG_fail
;
9662 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9678 static PyObject
*_wrap_MemoryFSHandler_OpenFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9679 PyObject
*resultobj
;
9680 wxMemoryFSHandler
*arg1
= (wxMemoryFSHandler
*) 0 ;
9681 wxFileSystem
*arg2
= 0 ;
9682 wxString
*arg3
= 0 ;
9684 bool temp3
= false ;
9685 PyObject
* obj0
= 0 ;
9686 PyObject
* obj1
= 0 ;
9687 PyObject
* obj2
= 0 ;
9689 (char *) "self",(char *) "fs",(char *) "location", NULL
9692 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MemoryFSHandler_OpenFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9693 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMemoryFSHandler
, SWIG_POINTER_EXCEPTION
| 0);
9694 if (SWIG_arg_fail(1)) SWIG_fail
;
9696 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFileSystem
, SWIG_POINTER_EXCEPTION
| 0);
9697 if (SWIG_arg_fail(2)) SWIG_fail
;
9699 SWIG_null_ref("wxFileSystem");
9701 if (SWIG_arg_fail(2)) SWIG_fail
;
9704 arg3
= wxString_in_helper(obj2
);
9705 if (arg3
== NULL
) SWIG_fail
;
9709 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9710 result
= (wxFSFile
*)(arg1
)->OpenFile(*arg2
,(wxString
const &)*arg3
);
9712 wxPyEndAllowThreads(__tstate
);
9713 if (PyErr_Occurred()) SWIG_fail
;
9716 resultobj
= wxPyMake_wxObject(result
, 1);
9732 static PyObject
*_wrap_MemoryFSHandler_FindFirst(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9733 PyObject
*resultobj
;
9734 wxMemoryFSHandler
*arg1
= (wxMemoryFSHandler
*) 0 ;
9735 wxString
*arg2
= 0 ;
9736 int arg3
= (int) 0 ;
9738 bool temp2
= false ;
9739 PyObject
* obj0
= 0 ;
9740 PyObject
* obj1
= 0 ;
9741 PyObject
* obj2
= 0 ;
9743 (char *) "self",(char *) "spec",(char *) "flags", NULL
9746 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:MemoryFSHandler_FindFirst",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9747 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMemoryFSHandler
, SWIG_POINTER_EXCEPTION
| 0);
9748 if (SWIG_arg_fail(1)) SWIG_fail
;
9750 arg2
= wxString_in_helper(obj1
);
9751 if (arg2
== NULL
) SWIG_fail
;
9756 arg3
= (int)(SWIG_As_int(obj2
));
9757 if (SWIG_arg_fail(3)) SWIG_fail
;
9761 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9762 result
= (arg1
)->FindFirst((wxString
const &)*arg2
,arg3
);
9764 wxPyEndAllowThreads(__tstate
);
9765 if (PyErr_Occurred()) SWIG_fail
;
9769 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9771 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9788 static PyObject
*_wrap_MemoryFSHandler_FindNext(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9789 PyObject
*resultobj
;
9790 wxMemoryFSHandler
*arg1
= (wxMemoryFSHandler
*) 0 ;
9792 PyObject
* obj0
= 0 ;
9794 (char *) "self", NULL
9797 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MemoryFSHandler_FindNext",kwnames
,&obj0
)) goto fail
;
9798 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMemoryFSHandler
, SWIG_POINTER_EXCEPTION
| 0);
9799 if (SWIG_arg_fail(1)) SWIG_fail
;
9801 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9802 result
= (arg1
)->FindNext();
9804 wxPyEndAllowThreads(__tstate
);
9805 if (PyErr_Occurred()) SWIG_fail
;
9809 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9811 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9820 static PyObject
* MemoryFSHandler_swigregister(PyObject
*, PyObject
*args
) {
9822 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9823 SWIG_TypeClientData(SWIGTYPE_p_wxMemoryFSHandler
, obj
);
9825 return Py_BuildValue((char *)"");
9827 static PyObject
*_wrap_ImageHandler_GetName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9828 PyObject
*resultobj
;
9829 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
9831 PyObject
* obj0
= 0 ;
9833 (char *) "self", NULL
9836 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ImageHandler_GetName",kwnames
,&obj0
)) goto fail
;
9837 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImageHandler
, SWIG_POINTER_EXCEPTION
| 0);
9838 if (SWIG_arg_fail(1)) SWIG_fail
;
9840 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9841 result
= (arg1
)->GetName();
9843 wxPyEndAllowThreads(__tstate
);
9844 if (PyErr_Occurred()) SWIG_fail
;
9848 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9850 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9859 static PyObject
*_wrap_ImageHandler_GetExtension(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9860 PyObject
*resultobj
;
9861 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
9863 PyObject
* obj0
= 0 ;
9865 (char *) "self", NULL
9868 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ImageHandler_GetExtension",kwnames
,&obj0
)) goto fail
;
9869 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImageHandler
, SWIG_POINTER_EXCEPTION
| 0);
9870 if (SWIG_arg_fail(1)) SWIG_fail
;
9872 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9873 result
= (arg1
)->GetExtension();
9875 wxPyEndAllowThreads(__tstate
);
9876 if (PyErr_Occurred()) SWIG_fail
;
9880 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9882 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9891 static PyObject
*_wrap_ImageHandler_GetType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9892 PyObject
*resultobj
;
9893 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
9895 PyObject
* obj0
= 0 ;
9897 (char *) "self", NULL
9900 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ImageHandler_GetType",kwnames
,&obj0
)) goto fail
;
9901 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImageHandler
, SWIG_POINTER_EXCEPTION
| 0);
9902 if (SWIG_arg_fail(1)) SWIG_fail
;
9904 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9905 result
= (long)(arg1
)->GetType();
9907 wxPyEndAllowThreads(__tstate
);
9908 if (PyErr_Occurred()) SWIG_fail
;
9911 resultobj
= SWIG_From_long((long)(result
));
9919 static PyObject
*_wrap_ImageHandler_GetMimeType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9920 PyObject
*resultobj
;
9921 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
9923 PyObject
* obj0
= 0 ;
9925 (char *) "self", NULL
9928 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ImageHandler_GetMimeType",kwnames
,&obj0
)) goto fail
;
9929 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImageHandler
, SWIG_POINTER_EXCEPTION
| 0);
9930 if (SWIG_arg_fail(1)) SWIG_fail
;
9932 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9933 result
= (arg1
)->GetMimeType();
9935 wxPyEndAllowThreads(__tstate
);
9936 if (PyErr_Occurred()) SWIG_fail
;
9940 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9942 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9951 static PyObject
*_wrap_ImageHandler_CanRead(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9952 PyObject
*resultobj
;
9953 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
9954 wxString
*arg2
= 0 ;
9956 bool temp2
= false ;
9957 PyObject
* obj0
= 0 ;
9958 PyObject
* obj1
= 0 ;
9960 (char *) "self",(char *) "name", NULL
9963 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageHandler_CanRead",kwnames
,&obj0
,&obj1
)) goto fail
;
9964 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImageHandler
, SWIG_POINTER_EXCEPTION
| 0);
9965 if (SWIG_arg_fail(1)) SWIG_fail
;
9967 arg2
= wxString_in_helper(obj1
);
9968 if (arg2
== NULL
) SWIG_fail
;
9972 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9973 result
= (bool)(arg1
)->CanRead((wxString
const &)*arg2
);
9975 wxPyEndAllowThreads(__tstate
);
9976 if (PyErr_Occurred()) SWIG_fail
;
9979 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9995 static PyObject
*_wrap_ImageHandler_SetName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9996 PyObject
*resultobj
;
9997 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
9998 wxString
*arg2
= 0 ;
9999 bool temp2
= false ;
10000 PyObject
* obj0
= 0 ;
10001 PyObject
* obj1
= 0 ;
10002 char *kwnames
[] = {
10003 (char *) "self",(char *) "name", NULL
10006 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageHandler_SetName",kwnames
,&obj0
,&obj1
)) goto fail
;
10007 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImageHandler
, SWIG_POINTER_EXCEPTION
| 0);
10008 if (SWIG_arg_fail(1)) SWIG_fail
;
10010 arg2
= wxString_in_helper(obj1
);
10011 if (arg2
== NULL
) SWIG_fail
;
10015 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10016 (arg1
)->SetName((wxString
const &)*arg2
);
10018 wxPyEndAllowThreads(__tstate
);
10019 if (PyErr_Occurred()) SWIG_fail
;
10021 Py_INCREF(Py_None
); resultobj
= Py_None
;
10036 static PyObject
*_wrap_ImageHandler_SetExtension(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10037 PyObject
*resultobj
;
10038 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
10039 wxString
*arg2
= 0 ;
10040 bool temp2
= false ;
10041 PyObject
* obj0
= 0 ;
10042 PyObject
* obj1
= 0 ;
10043 char *kwnames
[] = {
10044 (char *) "self",(char *) "extension", NULL
10047 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageHandler_SetExtension",kwnames
,&obj0
,&obj1
)) goto fail
;
10048 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImageHandler
, SWIG_POINTER_EXCEPTION
| 0);
10049 if (SWIG_arg_fail(1)) SWIG_fail
;
10051 arg2
= wxString_in_helper(obj1
);
10052 if (arg2
== NULL
) SWIG_fail
;
10056 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10057 (arg1
)->SetExtension((wxString
const &)*arg2
);
10059 wxPyEndAllowThreads(__tstate
);
10060 if (PyErr_Occurred()) SWIG_fail
;
10062 Py_INCREF(Py_None
); resultobj
= Py_None
;
10077 static PyObject
*_wrap_ImageHandler_SetType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10078 PyObject
*resultobj
;
10079 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
10081 PyObject
* obj0
= 0 ;
10082 PyObject
* obj1
= 0 ;
10083 char *kwnames
[] = {
10084 (char *) "self",(char *) "type", NULL
10087 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageHandler_SetType",kwnames
,&obj0
,&obj1
)) goto fail
;
10088 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImageHandler
, SWIG_POINTER_EXCEPTION
| 0);
10089 if (SWIG_arg_fail(1)) SWIG_fail
;
10091 arg2
= (long)(SWIG_As_long(obj1
));
10092 if (SWIG_arg_fail(2)) SWIG_fail
;
10095 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10096 (arg1
)->SetType(arg2
);
10098 wxPyEndAllowThreads(__tstate
);
10099 if (PyErr_Occurred()) SWIG_fail
;
10101 Py_INCREF(Py_None
); resultobj
= Py_None
;
10108 static PyObject
*_wrap_ImageHandler_SetMimeType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10109 PyObject
*resultobj
;
10110 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
10111 wxString
*arg2
= 0 ;
10112 bool temp2
= false ;
10113 PyObject
* obj0
= 0 ;
10114 PyObject
* obj1
= 0 ;
10115 char *kwnames
[] = {
10116 (char *) "self",(char *) "mimetype", NULL
10119 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageHandler_SetMimeType",kwnames
,&obj0
,&obj1
)) goto fail
;
10120 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImageHandler
, SWIG_POINTER_EXCEPTION
| 0);
10121 if (SWIG_arg_fail(1)) SWIG_fail
;
10123 arg2
= wxString_in_helper(obj1
);
10124 if (arg2
== NULL
) SWIG_fail
;
10128 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10129 (arg1
)->SetMimeType((wxString
const &)*arg2
);
10131 wxPyEndAllowThreads(__tstate
);
10132 if (PyErr_Occurred()) SWIG_fail
;
10134 Py_INCREF(Py_None
); resultobj
= Py_None
;
10149 static PyObject
* ImageHandler_swigregister(PyObject
*, PyObject
*args
) {
10151 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10152 SWIG_TypeClientData(SWIGTYPE_p_wxImageHandler
, obj
);
10154 return Py_BuildValue((char *)"");
10156 static PyObject
*_wrap_new_ImageHistogram(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10157 PyObject
*resultobj
;
10158 wxImageHistogram
*result
;
10159 char *kwnames
[] = {
10163 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ImageHistogram",kwnames
)) goto fail
;
10165 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10166 result
= (wxImageHistogram
*)new wxImageHistogram();
10168 wxPyEndAllowThreads(__tstate
);
10169 if (PyErr_Occurred()) SWIG_fail
;
10171 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImageHistogram
, 1);
10178 static PyObject
*_wrap_ImageHistogram_MakeKey(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10179 PyObject
*resultobj
;
10180 unsigned char arg1
;
10181 unsigned char arg2
;
10182 unsigned char arg3
;
10183 unsigned long result
;
10184 PyObject
* obj0
= 0 ;
10185 PyObject
* obj1
= 0 ;
10186 PyObject
* obj2
= 0 ;
10187 char *kwnames
[] = {
10188 (char *) "r",(char *) "g",(char *) "b", NULL
10191 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ImageHistogram_MakeKey",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10193 arg1
= (unsigned char)(SWIG_As_unsigned_SS_char(obj0
));
10194 if (SWIG_arg_fail(1)) SWIG_fail
;
10197 arg2
= (unsigned char)(SWIG_As_unsigned_SS_char(obj1
));
10198 if (SWIG_arg_fail(2)) SWIG_fail
;
10201 arg3
= (unsigned char)(SWIG_As_unsigned_SS_char(obj2
));
10202 if (SWIG_arg_fail(3)) SWIG_fail
;
10205 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10206 result
= (unsigned long)wxImageHistogram::MakeKey(arg1
,arg2
,arg3
);
10208 wxPyEndAllowThreads(__tstate
);
10209 if (PyErr_Occurred()) SWIG_fail
;
10212 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
10220 static PyObject
*_wrap_ImageHistogram_FindFirstUnusedColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10221 PyObject
*resultobj
;
10222 wxImageHistogram
*arg1
= (wxImageHistogram
*) 0 ;
10223 unsigned char *arg2
= (unsigned char *) 0 ;
10224 unsigned char *arg3
= (unsigned char *) 0 ;
10225 unsigned char *arg4
= (unsigned char *) 0 ;
10226 unsigned char arg5
= (unsigned char) 1 ;
10227 unsigned char arg6
= (unsigned char) 0 ;
10228 unsigned char arg7
= (unsigned char) 0 ;
10230 unsigned char temp2
;
10232 unsigned char temp3
;
10234 unsigned char temp4
;
10236 PyObject
* obj0
= 0 ;
10237 PyObject
* obj1
= 0 ;
10238 PyObject
* obj2
= 0 ;
10239 PyObject
* obj3
= 0 ;
10240 char *kwnames
[] = {
10241 (char *) "self",(char *) "startR",(char *) "startG",(char *) "startB", NULL
10244 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
10245 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
10246 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
10247 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:ImageHistogram_FindFirstUnusedColour",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
10248 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImageHistogram
, SWIG_POINTER_EXCEPTION
| 0);
10249 if (SWIG_arg_fail(1)) SWIG_fail
;
10252 arg5
= (unsigned char)(SWIG_As_unsigned_SS_char(obj1
));
10253 if (SWIG_arg_fail(5)) SWIG_fail
;
10258 arg6
= (unsigned char)(SWIG_As_unsigned_SS_char(obj2
));
10259 if (SWIG_arg_fail(6)) SWIG_fail
;
10264 arg7
= (unsigned char)(SWIG_As_unsigned_SS_char(obj3
));
10265 if (SWIG_arg_fail(7)) SWIG_fail
;
10269 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10270 result
= (bool)((wxImageHistogram
const *)arg1
)->FindFirstUnusedColour(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
10272 wxPyEndAllowThreads(__tstate
);
10273 if (PyErr_Occurred()) SWIG_fail
;
10276 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10278 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
10279 SWIG_From_unsigned_SS_char((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_unsigned_char
, 0)));
10280 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
10281 SWIG_From_unsigned_SS_char((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_unsigned_char
, 0)));
10282 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
10283 SWIG_From_unsigned_SS_char((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_unsigned_char
, 0)));
10290 static PyObject
* ImageHistogram_swigregister(PyObject
*, PyObject
*args
) {
10292 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10293 SWIG_TypeClientData(SWIGTYPE_p_wxImageHistogram
, obj
);
10295 return Py_BuildValue((char *)"");
10297 static PyObject
*_wrap_new_Image(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10298 PyObject
*resultobj
;
10299 wxString
*arg1
= 0 ;
10300 long arg2
= (long) wxBITMAP_TYPE_ANY
;
10301 int arg3
= (int) -1 ;
10303 bool temp1
= false ;
10304 PyObject
* obj0
= 0 ;
10305 PyObject
* obj1
= 0 ;
10306 PyObject
* obj2
= 0 ;
10307 char *kwnames
[] = {
10308 (char *) "name",(char *) "type",(char *) "index", NULL
10311 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:new_Image",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10313 arg1
= wxString_in_helper(obj0
);
10314 if (arg1
== NULL
) SWIG_fail
;
10319 arg2
= (long)(SWIG_As_long(obj1
));
10320 if (SWIG_arg_fail(2)) SWIG_fail
;
10325 arg3
= (int)(SWIG_As_int(obj2
));
10326 if (SWIG_arg_fail(3)) SWIG_fail
;
10330 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10331 result
= (wxImage
*)new wxImage((wxString
const &)*arg1
,arg2
,arg3
);
10333 wxPyEndAllowThreads(__tstate
);
10334 if (PyErr_Occurred()) SWIG_fail
;
10336 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 1);
10351 static PyObject
*_wrap_delete_Image(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10352 PyObject
*resultobj
;
10353 wxImage
*arg1
= (wxImage
*) 0 ;
10354 PyObject
* obj0
= 0 ;
10355 char *kwnames
[] = {
10356 (char *) "self", NULL
10359 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Image",kwnames
,&obj0
)) goto fail
;
10360 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
10361 if (SWIG_arg_fail(1)) SWIG_fail
;
10363 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10366 wxPyEndAllowThreads(__tstate
);
10367 if (PyErr_Occurred()) SWIG_fail
;
10369 Py_INCREF(Py_None
); resultobj
= Py_None
;
10376 static PyObject
*_wrap_new_ImageFromMime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10377 PyObject
*resultobj
;
10378 wxString
*arg1
= 0 ;
10379 wxString
*arg2
= 0 ;
10380 int arg3
= (int) -1 ;
10382 bool temp1
= false ;
10383 bool temp2
= false ;
10384 PyObject
* obj0
= 0 ;
10385 PyObject
* obj1
= 0 ;
10386 PyObject
* obj2
= 0 ;
10387 char *kwnames
[] = {
10388 (char *) "name",(char *) "mimetype",(char *) "index", NULL
10391 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:new_ImageFromMime",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10393 arg1
= wxString_in_helper(obj0
);
10394 if (arg1
== NULL
) SWIG_fail
;
10398 arg2
= wxString_in_helper(obj1
);
10399 if (arg2
== NULL
) SWIG_fail
;
10404 arg3
= (int)(SWIG_As_int(obj2
));
10405 if (SWIG_arg_fail(3)) SWIG_fail
;
10409 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10410 result
= (wxImage
*)new wxImage((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
);
10412 wxPyEndAllowThreads(__tstate
);
10413 if (PyErr_Occurred()) SWIG_fail
;
10415 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 1);
10438 static PyObject
*_wrap_new_ImageFromStream(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10439 PyObject
*resultobj
;
10440 wxInputStream
*arg1
= 0 ;
10441 long arg2
= (long) wxBITMAP_TYPE_ANY
;
10442 int arg3
= (int) -1 ;
10444 wxPyInputStream
*temp1
;
10446 PyObject
* obj0
= 0 ;
10447 PyObject
* obj1
= 0 ;
10448 PyObject
* obj2
= 0 ;
10449 char *kwnames
[] = {
10450 (char *) "stream",(char *) "type",(char *) "index", NULL
10453 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:new_ImageFromStream",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10455 if (wxPyConvertSwigPtr(obj0
, (void **)&temp1
, wxT("wxPyInputStream"))) {
10456 arg1
= temp1
->m_wxis
;
10459 PyErr_Clear(); // clear the failure of the wxPyConvert above
10460 arg1
= wxPyCBInputStream_create(obj0
, false);
10461 if (arg1
== NULL
) {
10462 PyErr_SetString(PyExc_TypeError
, "Expected wxInputStream or Python file-like object.");
10470 arg2
= (long)(SWIG_As_long(obj1
));
10471 if (SWIG_arg_fail(2)) SWIG_fail
;
10476 arg3
= (int)(SWIG_As_int(obj2
));
10477 if (SWIG_arg_fail(3)) SWIG_fail
;
10481 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10482 result
= (wxImage
*)new wxImage(*arg1
,arg2
,arg3
);
10484 wxPyEndAllowThreads(__tstate
);
10485 if (PyErr_Occurred()) SWIG_fail
;
10487 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 1);
10502 static PyObject
*_wrap_new_ImageFromStreamMime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10503 PyObject
*resultobj
;
10504 wxInputStream
*arg1
= 0 ;
10505 wxString
*arg2
= 0 ;
10506 int arg3
= (int) -1 ;
10508 wxPyInputStream
*temp1
;
10510 bool temp2
= false ;
10511 PyObject
* obj0
= 0 ;
10512 PyObject
* obj1
= 0 ;
10513 PyObject
* obj2
= 0 ;
10514 char *kwnames
[] = {
10515 (char *) "stream",(char *) "mimetype",(char *) "index", NULL
10518 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:new_ImageFromStreamMime",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10520 if (wxPyConvertSwigPtr(obj0
, (void **)&temp1
, wxT("wxPyInputStream"))) {
10521 arg1
= temp1
->m_wxis
;
10524 PyErr_Clear(); // clear the failure of the wxPyConvert above
10525 arg1
= wxPyCBInputStream_create(obj0
, false);
10526 if (arg1
== NULL
) {
10527 PyErr_SetString(PyExc_TypeError
, "Expected wxInputStream or Python file-like object.");
10534 arg2
= wxString_in_helper(obj1
);
10535 if (arg2
== NULL
) SWIG_fail
;
10540 arg3
= (int)(SWIG_As_int(obj2
));
10541 if (SWIG_arg_fail(3)) SWIG_fail
;
10545 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10546 result
= (wxImage
*)new wxImage(*arg1
,(wxString
const &)*arg2
,arg3
);
10548 wxPyEndAllowThreads(__tstate
);
10549 if (PyErr_Occurred()) SWIG_fail
;
10551 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 1);
10574 static PyObject
*_wrap_new_EmptyImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10575 PyObject
*resultobj
;
10576 int arg1
= (int) 0 ;
10577 int arg2
= (int) 0 ;
10578 bool arg3
= (bool) true ;
10580 PyObject
* obj0
= 0 ;
10581 PyObject
* obj1
= 0 ;
10582 PyObject
* obj2
= 0 ;
10583 char *kwnames
[] = {
10584 (char *) "width",(char *) "height",(char *) "clear", NULL
10587 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_EmptyImage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10590 arg1
= (int)(SWIG_As_int(obj0
));
10591 if (SWIG_arg_fail(1)) SWIG_fail
;
10596 arg2
= (int)(SWIG_As_int(obj1
));
10597 if (SWIG_arg_fail(2)) SWIG_fail
;
10602 arg3
= (bool)(SWIG_As_bool(obj2
));
10603 if (SWIG_arg_fail(3)) SWIG_fail
;
10607 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10608 result
= (wxImage
*)new_wxImage(arg1
,arg2
,arg3
);
10610 wxPyEndAllowThreads(__tstate
);
10611 if (PyErr_Occurred()) SWIG_fail
;
10613 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 1);
10620 static PyObject
*_wrap_new_ImageFromBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10621 PyObject
*resultobj
;
10622 wxBitmap
*arg1
= 0 ;
10624 PyObject
* obj0
= 0 ;
10625 char *kwnames
[] = {
10626 (char *) "bitmap", NULL
10629 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_ImageFromBitmap",kwnames
,&obj0
)) goto fail
;
10631 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
10632 if (SWIG_arg_fail(1)) SWIG_fail
;
10633 if (arg1
== NULL
) {
10634 SWIG_null_ref("wxBitmap");
10636 if (SWIG_arg_fail(1)) SWIG_fail
;
10639 if (!wxPyCheckForApp()) SWIG_fail
;
10640 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10641 result
= (wxImage
*)new_wxImage((wxBitmap
const &)*arg1
);
10643 wxPyEndAllowThreads(__tstate
);
10644 if (PyErr_Occurred()) SWIG_fail
;
10646 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 1);
10653 static PyObject
*_wrap_new_ImageFromData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10654 PyObject
*resultobj
;
10657 unsigned char *arg3
= (unsigned char *) 0 ;
10659 PyObject
* obj0
= 0 ;
10660 PyObject
* obj1
= 0 ;
10661 PyObject
* obj2
= 0 ;
10662 char *kwnames
[] = {
10663 (char *) "width",(char *) "height",(char *) "data", NULL
10666 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:new_ImageFromData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10668 arg1
= (int)(SWIG_As_int(obj0
));
10669 if (SWIG_arg_fail(1)) SWIG_fail
;
10672 arg2
= (int)(SWIG_As_int(obj1
));
10673 if (SWIG_arg_fail(2)) SWIG_fail
;
10675 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_unsigned_char
, SWIG_POINTER_EXCEPTION
| 0);
10676 if (SWIG_arg_fail(3)) SWIG_fail
;
10678 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10679 result
= (wxImage
*)new_wxImage(arg1
,arg2
,arg3
);
10681 wxPyEndAllowThreads(__tstate
);
10682 if (PyErr_Occurred()) SWIG_fail
;
10684 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 1);
10691 static PyObject
*_wrap_new_ImageFromDataWithAlpha(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10692 PyObject
*resultobj
;
10695 unsigned char *arg3
= (unsigned char *) 0 ;
10696 unsigned char *arg4
= (unsigned char *) 0 ;
10698 PyObject
* obj0
= 0 ;
10699 PyObject
* obj1
= 0 ;
10700 PyObject
* obj2
= 0 ;
10701 PyObject
* obj3
= 0 ;
10702 char *kwnames
[] = {
10703 (char *) "width",(char *) "height",(char *) "data",(char *) "alpha", NULL
10706 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:new_ImageFromDataWithAlpha",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
10708 arg1
= (int)(SWIG_As_int(obj0
));
10709 if (SWIG_arg_fail(1)) SWIG_fail
;
10712 arg2
= (int)(SWIG_As_int(obj1
));
10713 if (SWIG_arg_fail(2)) SWIG_fail
;
10715 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_unsigned_char
, SWIG_POINTER_EXCEPTION
| 0);
10716 if (SWIG_arg_fail(3)) SWIG_fail
;
10717 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_unsigned_char
, SWIG_POINTER_EXCEPTION
| 0);
10718 if (SWIG_arg_fail(4)) SWIG_fail
;
10720 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10721 result
= (wxImage
*)new_wxImage(arg1
,arg2
,arg3
,arg4
);
10723 wxPyEndAllowThreads(__tstate
);
10724 if (PyErr_Occurred()) SWIG_fail
;
10726 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 1);
10733 static PyObject
*_wrap_Image_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10734 PyObject
*resultobj
;
10735 wxImage
*arg1
= (wxImage
*) 0 ;
10738 PyObject
* obj0
= 0 ;
10739 PyObject
* obj1
= 0 ;
10740 PyObject
* obj2
= 0 ;
10741 char *kwnames
[] = {
10742 (char *) "self",(char *) "width",(char *) "height", NULL
10745 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_Create",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10746 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
10747 if (SWIG_arg_fail(1)) SWIG_fail
;
10749 arg2
= (int)(SWIG_As_int(obj1
));
10750 if (SWIG_arg_fail(2)) SWIG_fail
;
10753 arg3
= (int)(SWIG_As_int(obj2
));
10754 if (SWIG_arg_fail(3)) SWIG_fail
;
10757 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10758 (arg1
)->Create(arg2
,arg3
);
10760 wxPyEndAllowThreads(__tstate
);
10761 if (PyErr_Occurred()) SWIG_fail
;
10763 Py_INCREF(Py_None
); resultobj
= Py_None
;
10770 static PyObject
*_wrap_Image_Destroy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10771 PyObject
*resultobj
;
10772 wxImage
*arg1
= (wxImage
*) 0 ;
10773 PyObject
* obj0
= 0 ;
10774 char *kwnames
[] = {
10775 (char *) "self", NULL
10778 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_Destroy",kwnames
,&obj0
)) goto fail
;
10779 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
10780 if (SWIG_arg_fail(1)) SWIG_fail
;
10782 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10785 wxPyEndAllowThreads(__tstate
);
10786 if (PyErr_Occurred()) SWIG_fail
;
10788 Py_INCREF(Py_None
); resultobj
= Py_None
;
10795 static PyObject
*_wrap_Image_Scale(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10796 PyObject
*resultobj
;
10797 wxImage
*arg1
= (wxImage
*) 0 ;
10800 SwigValueWrapper
<wxImage
> result
;
10801 PyObject
* obj0
= 0 ;
10802 PyObject
* obj1
= 0 ;
10803 PyObject
* obj2
= 0 ;
10804 char *kwnames
[] = {
10805 (char *) "self",(char *) "width",(char *) "height", NULL
10808 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_Scale",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10809 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
10810 if (SWIG_arg_fail(1)) SWIG_fail
;
10812 arg2
= (int)(SWIG_As_int(obj1
));
10813 if (SWIG_arg_fail(2)) SWIG_fail
;
10816 arg3
= (int)(SWIG_As_int(obj2
));
10817 if (SWIG_arg_fail(3)) SWIG_fail
;
10820 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10821 result
= (arg1
)->Scale(arg2
,arg3
);
10823 wxPyEndAllowThreads(__tstate
);
10824 if (PyErr_Occurred()) SWIG_fail
;
10827 wxImage
* resultptr
;
10828 resultptr
= new wxImage((wxImage
&)(result
));
10829 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
10837 static PyObject
*_wrap_Image_ShrinkBy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10838 PyObject
*resultobj
;
10839 wxImage
*arg1
= (wxImage
*) 0 ;
10842 SwigValueWrapper
<wxImage
> result
;
10843 PyObject
* obj0
= 0 ;
10844 PyObject
* obj1
= 0 ;
10845 PyObject
* obj2
= 0 ;
10846 char *kwnames
[] = {
10847 (char *) "self",(char *) "xFactor",(char *) "yFactor", NULL
10850 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_ShrinkBy",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10851 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
10852 if (SWIG_arg_fail(1)) SWIG_fail
;
10854 arg2
= (int)(SWIG_As_int(obj1
));
10855 if (SWIG_arg_fail(2)) SWIG_fail
;
10858 arg3
= (int)(SWIG_As_int(obj2
));
10859 if (SWIG_arg_fail(3)) SWIG_fail
;
10862 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10863 result
= ((wxImage
const *)arg1
)->ShrinkBy(arg2
,arg3
);
10865 wxPyEndAllowThreads(__tstate
);
10866 if (PyErr_Occurred()) SWIG_fail
;
10869 wxImage
* resultptr
;
10870 resultptr
= new wxImage((wxImage
&)(result
));
10871 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
10879 static PyObject
*_wrap_Image_Rescale(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10880 PyObject
*resultobj
;
10881 wxImage
*arg1
= (wxImage
*) 0 ;
10885 PyObject
* obj0
= 0 ;
10886 PyObject
* obj1
= 0 ;
10887 PyObject
* obj2
= 0 ;
10888 char *kwnames
[] = {
10889 (char *) "self",(char *) "width",(char *) "height", NULL
10892 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_Rescale",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10893 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
10894 if (SWIG_arg_fail(1)) SWIG_fail
;
10896 arg2
= (int)(SWIG_As_int(obj1
));
10897 if (SWIG_arg_fail(2)) SWIG_fail
;
10900 arg3
= (int)(SWIG_As_int(obj2
));
10901 if (SWIG_arg_fail(3)) SWIG_fail
;
10904 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10906 wxImage
&_result_ref
= (arg1
)->Rescale(arg2
,arg3
);
10907 result
= (wxImage
*) &_result_ref
;
10910 wxPyEndAllowThreads(__tstate
);
10911 if (PyErr_Occurred()) SWIG_fail
;
10913 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 0);
10920 static PyObject
*_wrap_Image_SetRGB(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10921 PyObject
*resultobj
;
10922 wxImage
*arg1
= (wxImage
*) 0 ;
10925 unsigned char arg4
;
10926 unsigned char arg5
;
10927 unsigned char arg6
;
10928 PyObject
* obj0
= 0 ;
10929 PyObject
* obj1
= 0 ;
10930 PyObject
* obj2
= 0 ;
10931 PyObject
* obj3
= 0 ;
10932 PyObject
* obj4
= 0 ;
10933 PyObject
* obj5
= 0 ;
10934 char *kwnames
[] = {
10935 (char *) "self",(char *) "x",(char *) "y",(char *) "r",(char *) "g",(char *) "b", NULL
10938 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:Image_SetRGB",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
10939 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
10940 if (SWIG_arg_fail(1)) SWIG_fail
;
10942 arg2
= (int)(SWIG_As_int(obj1
));
10943 if (SWIG_arg_fail(2)) SWIG_fail
;
10946 arg3
= (int)(SWIG_As_int(obj2
));
10947 if (SWIG_arg_fail(3)) SWIG_fail
;
10950 arg4
= (unsigned char)(SWIG_As_unsigned_SS_char(obj3
));
10951 if (SWIG_arg_fail(4)) SWIG_fail
;
10954 arg5
= (unsigned char)(SWIG_As_unsigned_SS_char(obj4
));
10955 if (SWIG_arg_fail(5)) SWIG_fail
;
10958 arg6
= (unsigned char)(SWIG_As_unsigned_SS_char(obj5
));
10959 if (SWIG_arg_fail(6)) SWIG_fail
;
10962 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10963 (arg1
)->SetRGB(arg2
,arg3
,arg4
,arg5
,arg6
);
10965 wxPyEndAllowThreads(__tstate
);
10966 if (PyErr_Occurred()) SWIG_fail
;
10968 Py_INCREF(Py_None
); resultobj
= Py_None
;
10975 static PyObject
*_wrap_Image_GetRed(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10976 PyObject
*resultobj
;
10977 wxImage
*arg1
= (wxImage
*) 0 ;
10980 unsigned char result
;
10981 PyObject
* obj0
= 0 ;
10982 PyObject
* obj1
= 0 ;
10983 PyObject
* obj2
= 0 ;
10984 char *kwnames
[] = {
10985 (char *) "self",(char *) "x",(char *) "y", NULL
10988 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_GetRed",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10989 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
10990 if (SWIG_arg_fail(1)) SWIG_fail
;
10992 arg2
= (int)(SWIG_As_int(obj1
));
10993 if (SWIG_arg_fail(2)) SWIG_fail
;
10996 arg3
= (int)(SWIG_As_int(obj2
));
10997 if (SWIG_arg_fail(3)) SWIG_fail
;
11000 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11001 result
= (unsigned char)(arg1
)->GetRed(arg2
,arg3
);
11003 wxPyEndAllowThreads(__tstate
);
11004 if (PyErr_Occurred()) SWIG_fail
;
11007 resultobj
= SWIG_From_unsigned_SS_char((unsigned char)(result
));
11015 static PyObject
*_wrap_Image_GetGreen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11016 PyObject
*resultobj
;
11017 wxImage
*arg1
= (wxImage
*) 0 ;
11020 unsigned char result
;
11021 PyObject
* obj0
= 0 ;
11022 PyObject
* obj1
= 0 ;
11023 PyObject
* obj2
= 0 ;
11024 char *kwnames
[] = {
11025 (char *) "self",(char *) "x",(char *) "y", NULL
11028 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_GetGreen",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11029 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
11030 if (SWIG_arg_fail(1)) SWIG_fail
;
11032 arg2
= (int)(SWIG_As_int(obj1
));
11033 if (SWIG_arg_fail(2)) SWIG_fail
;
11036 arg3
= (int)(SWIG_As_int(obj2
));
11037 if (SWIG_arg_fail(3)) SWIG_fail
;
11040 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11041 result
= (unsigned char)(arg1
)->GetGreen(arg2
,arg3
);
11043 wxPyEndAllowThreads(__tstate
);
11044 if (PyErr_Occurred()) SWIG_fail
;
11047 resultobj
= SWIG_From_unsigned_SS_char((unsigned char)(result
));
11055 static PyObject
*_wrap_Image_GetBlue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11056 PyObject
*resultobj
;
11057 wxImage
*arg1
= (wxImage
*) 0 ;
11060 unsigned char result
;
11061 PyObject
* obj0
= 0 ;
11062 PyObject
* obj1
= 0 ;
11063 PyObject
* obj2
= 0 ;
11064 char *kwnames
[] = {
11065 (char *) "self",(char *) "x",(char *) "y", NULL
11068 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_GetBlue",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11069 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
11070 if (SWIG_arg_fail(1)) SWIG_fail
;
11072 arg2
= (int)(SWIG_As_int(obj1
));
11073 if (SWIG_arg_fail(2)) SWIG_fail
;
11076 arg3
= (int)(SWIG_As_int(obj2
));
11077 if (SWIG_arg_fail(3)) SWIG_fail
;
11080 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11081 result
= (unsigned char)(arg1
)->GetBlue(arg2
,arg3
);
11083 wxPyEndAllowThreads(__tstate
);
11084 if (PyErr_Occurred()) SWIG_fail
;
11087 resultobj
= SWIG_From_unsigned_SS_char((unsigned char)(result
));
11095 static PyObject
*_wrap_Image_SetAlpha(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11096 PyObject
*resultobj
;
11097 wxImage
*arg1
= (wxImage
*) 0 ;
11100 unsigned char arg4
;
11101 PyObject
* obj0
= 0 ;
11102 PyObject
* obj1
= 0 ;
11103 PyObject
* obj2
= 0 ;
11104 PyObject
* obj3
= 0 ;
11105 char *kwnames
[] = {
11106 (char *) "self",(char *) "x",(char *) "y",(char *) "alpha", NULL
11109 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Image_SetAlpha",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11110 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
11111 if (SWIG_arg_fail(1)) SWIG_fail
;
11113 arg2
= (int)(SWIG_As_int(obj1
));
11114 if (SWIG_arg_fail(2)) SWIG_fail
;
11117 arg3
= (int)(SWIG_As_int(obj2
));
11118 if (SWIG_arg_fail(3)) SWIG_fail
;
11121 arg4
= (unsigned char)(SWIG_As_unsigned_SS_char(obj3
));
11122 if (SWIG_arg_fail(4)) SWIG_fail
;
11125 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11126 (arg1
)->SetAlpha(arg2
,arg3
,arg4
);
11128 wxPyEndAllowThreads(__tstate
);
11129 if (PyErr_Occurred()) SWIG_fail
;
11131 Py_INCREF(Py_None
); resultobj
= Py_None
;
11138 static PyObject
*_wrap_Image_GetAlpha(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11139 PyObject
*resultobj
;
11140 wxImage
*arg1
= (wxImage
*) 0 ;
11143 unsigned char result
;
11144 PyObject
* obj0
= 0 ;
11145 PyObject
* obj1
= 0 ;
11146 PyObject
* obj2
= 0 ;
11147 char *kwnames
[] = {
11148 (char *) "self",(char *) "x",(char *) "y", NULL
11151 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_GetAlpha",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11152 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
11153 if (SWIG_arg_fail(1)) SWIG_fail
;
11155 arg2
= (int)(SWIG_As_int(obj1
));
11156 if (SWIG_arg_fail(2)) SWIG_fail
;
11159 arg3
= (int)(SWIG_As_int(obj2
));
11160 if (SWIG_arg_fail(3)) SWIG_fail
;
11163 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11164 result
= (unsigned char)(arg1
)->GetAlpha(arg2
,arg3
);
11166 wxPyEndAllowThreads(__tstate
);
11167 if (PyErr_Occurred()) SWIG_fail
;
11170 resultobj
= SWIG_From_unsigned_SS_char((unsigned char)(result
));
11178 static PyObject
*_wrap_Image_HasAlpha(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11179 PyObject
*resultobj
;
11180 wxImage
*arg1
= (wxImage
*) 0 ;
11182 PyObject
* obj0
= 0 ;
11183 char *kwnames
[] = {
11184 (char *) "self", NULL
11187 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_HasAlpha",kwnames
,&obj0
)) goto fail
;
11188 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
11189 if (SWIG_arg_fail(1)) SWIG_fail
;
11191 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11192 result
= (bool)(arg1
)->HasAlpha();
11194 wxPyEndAllowThreads(__tstate
);
11195 if (PyErr_Occurred()) SWIG_fail
;
11198 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11206 static PyObject
*_wrap_Image_FindFirstUnusedColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11207 PyObject
*resultobj
;
11208 wxImage
*arg1
= (wxImage
*) 0 ;
11209 byte
*arg2
= (byte
*) 0 ;
11210 byte
*arg3
= (byte
*) 0 ;
11211 byte
*arg4
= (byte
*) 0 ;
11212 byte arg5
= (byte
) 0 ;
11213 byte arg6
= (byte
) 0 ;
11214 byte arg7
= (byte
) 0 ;
11222 PyObject
* obj0
= 0 ;
11223 PyObject
* obj1
= 0 ;
11224 PyObject
* obj2
= 0 ;
11225 PyObject
* obj3
= 0 ;
11226 char *kwnames
[] = {
11227 (char *) "self",(char *) "startR",(char *) "startG",(char *) "startB", NULL
11230 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
11231 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
11232 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
11233 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:Image_FindFirstUnusedColour",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11234 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
11235 if (SWIG_arg_fail(1)) SWIG_fail
;
11238 arg5
= (byte
)(SWIG_As_unsigned_SS_char(obj1
));
11239 if (SWIG_arg_fail(5)) SWIG_fail
;
11244 arg6
= (byte
)(SWIG_As_unsigned_SS_char(obj2
));
11245 if (SWIG_arg_fail(6)) SWIG_fail
;
11250 arg7
= (byte
)(SWIG_As_unsigned_SS_char(obj3
));
11251 if (SWIG_arg_fail(7)) SWIG_fail
;
11255 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11256 result
= (bool)((wxImage
const *)arg1
)->FindFirstUnusedColour(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
11258 wxPyEndAllowThreads(__tstate
);
11259 if (PyErr_Occurred()) SWIG_fail
;
11262 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11264 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
11265 SWIG_From_unsigned_SS_char((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_unsigned_char
, 0)));
11266 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
11267 SWIG_From_unsigned_SS_char((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_unsigned_char
, 0)));
11268 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
11269 SWIG_From_unsigned_SS_char((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_unsigned_char
, 0)));
11276 static PyObject
*_wrap_Image_ConvertAlphaToMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11277 PyObject
*resultobj
;
11278 wxImage
*arg1
= (wxImage
*) 0 ;
11279 byte arg2
= (byte
) 128 ;
11281 PyObject
* obj0
= 0 ;
11282 PyObject
* obj1
= 0 ;
11283 char *kwnames
[] = {
11284 (char *) "self",(char *) "threshold", NULL
11287 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Image_ConvertAlphaToMask",kwnames
,&obj0
,&obj1
)) goto fail
;
11288 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
11289 if (SWIG_arg_fail(1)) SWIG_fail
;
11292 arg2
= (byte
)(SWIG_As_unsigned_SS_char(obj1
));
11293 if (SWIG_arg_fail(2)) SWIG_fail
;
11297 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11298 result
= (bool)(arg1
)->ConvertAlphaToMask(arg2
);
11300 wxPyEndAllowThreads(__tstate
);
11301 if (PyErr_Occurred()) SWIG_fail
;
11304 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11312 static PyObject
*_wrap_Image_ConvertColourToAlpha(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11313 PyObject
*resultobj
;
11314 wxImage
*arg1
= (wxImage
*) 0 ;
11315 unsigned char arg2
;
11316 unsigned char arg3
;
11317 unsigned char arg4
;
11319 PyObject
* obj0
= 0 ;
11320 PyObject
* obj1
= 0 ;
11321 PyObject
* obj2
= 0 ;
11322 PyObject
* obj3
= 0 ;
11323 char *kwnames
[] = {
11324 (char *) "self",(char *) "r",(char *) "g",(char *) "b", NULL
11327 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Image_ConvertColourToAlpha",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11328 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
11329 if (SWIG_arg_fail(1)) SWIG_fail
;
11331 arg2
= (unsigned char)(SWIG_As_unsigned_SS_char(obj1
));
11332 if (SWIG_arg_fail(2)) SWIG_fail
;
11335 arg3
= (unsigned char)(SWIG_As_unsigned_SS_char(obj2
));
11336 if (SWIG_arg_fail(3)) SWIG_fail
;
11339 arg4
= (unsigned char)(SWIG_As_unsigned_SS_char(obj3
));
11340 if (SWIG_arg_fail(4)) SWIG_fail
;
11343 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11344 result
= (bool)(arg1
)->ConvertColourToAlpha(arg2
,arg3
,arg4
);
11346 wxPyEndAllowThreads(__tstate
);
11347 if (PyErr_Occurred()) SWIG_fail
;
11350 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11358 static PyObject
*_wrap_Image_SetMaskFromImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11359 PyObject
*resultobj
;
11360 wxImage
*arg1
= (wxImage
*) 0 ;
11361 wxImage
*arg2
= 0 ;
11366 PyObject
* obj0
= 0 ;
11367 PyObject
* obj1
= 0 ;
11368 PyObject
* obj2
= 0 ;
11369 PyObject
* obj3
= 0 ;
11370 PyObject
* obj4
= 0 ;
11371 char *kwnames
[] = {
11372 (char *) "self",(char *) "mask",(char *) "mr",(char *) "mg",(char *) "mb", NULL
11375 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Image_SetMaskFromImage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
11376 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
11377 if (SWIG_arg_fail(1)) SWIG_fail
;
11379 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
11380 if (SWIG_arg_fail(2)) SWIG_fail
;
11381 if (arg2
== NULL
) {
11382 SWIG_null_ref("wxImage");
11384 if (SWIG_arg_fail(2)) SWIG_fail
;
11387 arg3
= (byte
)(SWIG_As_unsigned_SS_char(obj2
));
11388 if (SWIG_arg_fail(3)) SWIG_fail
;
11391 arg4
= (byte
)(SWIG_As_unsigned_SS_char(obj3
));
11392 if (SWIG_arg_fail(4)) SWIG_fail
;
11395 arg5
= (byte
)(SWIG_As_unsigned_SS_char(obj4
));
11396 if (SWIG_arg_fail(5)) SWIG_fail
;
11399 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11400 result
= (bool)(arg1
)->SetMaskFromImage((wxImage
const &)*arg2
,arg3
,arg4
,arg5
);
11402 wxPyEndAllowThreads(__tstate
);
11403 if (PyErr_Occurred()) SWIG_fail
;
11406 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11414 static PyObject
*_wrap_Image_CanRead(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11415 PyObject
*resultobj
;
11416 wxString
*arg1
= 0 ;
11418 bool temp1
= false ;
11419 PyObject
* obj0
= 0 ;
11420 char *kwnames
[] = {
11421 (char *) "name", NULL
11424 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_CanRead",kwnames
,&obj0
)) goto fail
;
11426 arg1
= wxString_in_helper(obj0
);
11427 if (arg1
== NULL
) SWIG_fail
;
11431 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11432 result
= (bool)wxImage::CanRead((wxString
const &)*arg1
);
11434 wxPyEndAllowThreads(__tstate
);
11435 if (PyErr_Occurred()) SWIG_fail
;
11438 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11454 static PyObject
*_wrap_Image_GetImageCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11455 PyObject
*resultobj
;
11456 wxString
*arg1
= 0 ;
11457 long arg2
= (long) wxBITMAP_TYPE_ANY
;
11459 bool temp1
= false ;
11460 PyObject
* obj0
= 0 ;
11461 PyObject
* obj1
= 0 ;
11462 char *kwnames
[] = {
11463 (char *) "name",(char *) "type", NULL
11466 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Image_GetImageCount",kwnames
,&obj0
,&obj1
)) goto fail
;
11468 arg1
= wxString_in_helper(obj0
);
11469 if (arg1
== NULL
) SWIG_fail
;
11474 arg2
= (long)(SWIG_As_long(obj1
));
11475 if (SWIG_arg_fail(2)) SWIG_fail
;
11479 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11480 result
= (int)wxImage::GetImageCount((wxString
const &)*arg1
,arg2
);
11482 wxPyEndAllowThreads(__tstate
);
11483 if (PyErr_Occurred()) SWIG_fail
;
11486 resultobj
= SWIG_From_int((int)(result
));
11502 static PyObject
*_wrap_Image_LoadFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11503 PyObject
*resultobj
;
11504 wxImage
*arg1
= (wxImage
*) 0 ;
11505 wxString
*arg2
= 0 ;
11506 long arg3
= (long) wxBITMAP_TYPE_ANY
;
11507 int arg4
= (int) -1 ;
11509 bool temp2
= false ;
11510 PyObject
* obj0
= 0 ;
11511 PyObject
* obj1
= 0 ;
11512 PyObject
* obj2
= 0 ;
11513 PyObject
* obj3
= 0 ;
11514 char *kwnames
[] = {
11515 (char *) "self",(char *) "name",(char *) "type",(char *) "index", NULL
11518 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:Image_LoadFile",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11519 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
11520 if (SWIG_arg_fail(1)) SWIG_fail
;
11522 arg2
= wxString_in_helper(obj1
);
11523 if (arg2
== NULL
) SWIG_fail
;
11528 arg3
= (long)(SWIG_As_long(obj2
));
11529 if (SWIG_arg_fail(3)) SWIG_fail
;
11534 arg4
= (int)(SWIG_As_int(obj3
));
11535 if (SWIG_arg_fail(4)) SWIG_fail
;
11539 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11540 result
= (bool)(arg1
)->LoadFile((wxString
const &)*arg2
,arg3
,arg4
);
11542 wxPyEndAllowThreads(__tstate
);
11543 if (PyErr_Occurred()) SWIG_fail
;
11546 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11562 static PyObject
*_wrap_Image_LoadMimeFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11563 PyObject
*resultobj
;
11564 wxImage
*arg1
= (wxImage
*) 0 ;
11565 wxString
*arg2
= 0 ;
11566 wxString
*arg3
= 0 ;
11567 int arg4
= (int) -1 ;
11569 bool temp2
= false ;
11570 bool temp3
= false ;
11571 PyObject
* obj0
= 0 ;
11572 PyObject
* obj1
= 0 ;
11573 PyObject
* obj2
= 0 ;
11574 PyObject
* obj3
= 0 ;
11575 char *kwnames
[] = {
11576 (char *) "self",(char *) "name",(char *) "mimetype",(char *) "index", NULL
11579 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Image_LoadMimeFile",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11580 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
11581 if (SWIG_arg_fail(1)) SWIG_fail
;
11583 arg2
= wxString_in_helper(obj1
);
11584 if (arg2
== NULL
) SWIG_fail
;
11588 arg3
= wxString_in_helper(obj2
);
11589 if (arg3
== NULL
) SWIG_fail
;
11594 arg4
= (int)(SWIG_As_int(obj3
));
11595 if (SWIG_arg_fail(4)) SWIG_fail
;
11599 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11600 result
= (bool)(arg1
)->LoadFile((wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
);
11602 wxPyEndAllowThreads(__tstate
);
11603 if (PyErr_Occurred()) SWIG_fail
;
11606 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11630 static PyObject
*_wrap_Image_SaveFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11631 PyObject
*resultobj
;
11632 wxImage
*arg1
= (wxImage
*) 0 ;
11633 wxString
*arg2
= 0 ;
11636 bool temp2
= false ;
11637 PyObject
* obj0
= 0 ;
11638 PyObject
* obj1
= 0 ;
11639 PyObject
* obj2
= 0 ;
11640 char *kwnames
[] = {
11641 (char *) "self",(char *) "name",(char *) "type", NULL
11644 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_SaveFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11645 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
11646 if (SWIG_arg_fail(1)) SWIG_fail
;
11648 arg2
= wxString_in_helper(obj1
);
11649 if (arg2
== NULL
) SWIG_fail
;
11653 arg3
= (int)(SWIG_As_int(obj2
));
11654 if (SWIG_arg_fail(3)) SWIG_fail
;
11657 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11658 result
= (bool)(arg1
)->SaveFile((wxString
const &)*arg2
,arg3
);
11660 wxPyEndAllowThreads(__tstate
);
11661 if (PyErr_Occurred()) SWIG_fail
;
11664 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11680 static PyObject
*_wrap_Image_SaveMimeFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11681 PyObject
*resultobj
;
11682 wxImage
*arg1
= (wxImage
*) 0 ;
11683 wxString
*arg2
= 0 ;
11684 wxString
*arg3
= 0 ;
11686 bool temp2
= false ;
11687 bool temp3
= false ;
11688 PyObject
* obj0
= 0 ;
11689 PyObject
* obj1
= 0 ;
11690 PyObject
* obj2
= 0 ;
11691 char *kwnames
[] = {
11692 (char *) "self",(char *) "name",(char *) "mimetype", NULL
11695 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_SaveMimeFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11696 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
11697 if (SWIG_arg_fail(1)) SWIG_fail
;
11699 arg2
= wxString_in_helper(obj1
);
11700 if (arg2
== NULL
) SWIG_fail
;
11704 arg3
= wxString_in_helper(obj2
);
11705 if (arg3
== NULL
) SWIG_fail
;
11709 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11710 result
= (bool)(arg1
)->SaveFile((wxString
const &)*arg2
,(wxString
const &)*arg3
);
11712 wxPyEndAllowThreads(__tstate
);
11713 if (PyErr_Occurred()) SWIG_fail
;
11716 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11740 static PyObject
*_wrap_Image_CanReadStream(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11741 PyObject
*resultobj
;
11742 wxInputStream
*arg1
= 0 ;
11744 wxPyInputStream
*temp1
;
11746 PyObject
* obj0
= 0 ;
11747 char *kwnames
[] = {
11748 (char *) "stream", NULL
11751 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_CanReadStream",kwnames
,&obj0
)) goto fail
;
11753 if (wxPyConvertSwigPtr(obj0
, (void **)&temp1
, wxT("wxPyInputStream"))) {
11754 arg1
= temp1
->m_wxis
;
11757 PyErr_Clear(); // clear the failure of the wxPyConvert above
11758 arg1
= wxPyCBInputStream_create(obj0
, false);
11759 if (arg1
== NULL
) {
11760 PyErr_SetString(PyExc_TypeError
, "Expected wxInputStream or Python file-like object.");
11767 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11768 result
= (bool)wxImage::CanRead(*arg1
);
11770 wxPyEndAllowThreads(__tstate
);
11771 if (PyErr_Occurred()) SWIG_fail
;
11774 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11790 static PyObject
*_wrap_Image_LoadStream(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11791 PyObject
*resultobj
;
11792 wxImage
*arg1
= (wxImage
*) 0 ;
11793 wxInputStream
*arg2
= 0 ;
11794 long arg3
= (long) wxBITMAP_TYPE_ANY
;
11795 int arg4
= (int) -1 ;
11797 wxPyInputStream
*temp2
;
11799 PyObject
* obj0
= 0 ;
11800 PyObject
* obj1
= 0 ;
11801 PyObject
* obj2
= 0 ;
11802 PyObject
* obj3
= 0 ;
11803 char *kwnames
[] = {
11804 (char *) "self",(char *) "stream",(char *) "type",(char *) "index", NULL
11807 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:Image_LoadStream",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11808 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
11809 if (SWIG_arg_fail(1)) SWIG_fail
;
11811 if (wxPyConvertSwigPtr(obj1
, (void **)&temp2
, wxT("wxPyInputStream"))) {
11812 arg2
= temp2
->m_wxis
;
11815 PyErr_Clear(); // clear the failure of the wxPyConvert above
11816 arg2
= wxPyCBInputStream_create(obj1
, false);
11817 if (arg2
== NULL
) {
11818 PyErr_SetString(PyExc_TypeError
, "Expected wxInputStream or Python file-like object.");
11826 arg3
= (long)(SWIG_As_long(obj2
));
11827 if (SWIG_arg_fail(3)) SWIG_fail
;
11832 arg4
= (int)(SWIG_As_int(obj3
));
11833 if (SWIG_arg_fail(4)) SWIG_fail
;
11837 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11838 result
= (bool)(arg1
)->LoadFile(*arg2
,arg3
,arg4
);
11840 wxPyEndAllowThreads(__tstate
);
11841 if (PyErr_Occurred()) SWIG_fail
;
11844 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11860 static PyObject
*_wrap_Image_LoadMimeStream(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11861 PyObject
*resultobj
;
11862 wxImage
*arg1
= (wxImage
*) 0 ;
11863 wxInputStream
*arg2
= 0 ;
11864 wxString
*arg3
= 0 ;
11865 int arg4
= (int) -1 ;
11867 wxPyInputStream
*temp2
;
11869 bool temp3
= false ;
11870 PyObject
* obj0
= 0 ;
11871 PyObject
* obj1
= 0 ;
11872 PyObject
* obj2
= 0 ;
11873 PyObject
* obj3
= 0 ;
11874 char *kwnames
[] = {
11875 (char *) "self",(char *) "stream",(char *) "mimetype",(char *) "index", NULL
11878 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Image_LoadMimeStream",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11879 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
11880 if (SWIG_arg_fail(1)) SWIG_fail
;
11882 if (wxPyConvertSwigPtr(obj1
, (void **)&temp2
, wxT("wxPyInputStream"))) {
11883 arg2
= temp2
->m_wxis
;
11886 PyErr_Clear(); // clear the failure of the wxPyConvert above
11887 arg2
= wxPyCBInputStream_create(obj1
, false);
11888 if (arg2
== NULL
) {
11889 PyErr_SetString(PyExc_TypeError
, "Expected wxInputStream or Python file-like object.");
11896 arg3
= wxString_in_helper(obj2
);
11897 if (arg3
== NULL
) SWIG_fail
;
11902 arg4
= (int)(SWIG_As_int(obj3
));
11903 if (SWIG_arg_fail(4)) SWIG_fail
;
11907 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11908 result
= (bool)(arg1
)->LoadFile(*arg2
,(wxString
const &)*arg3
,arg4
);
11910 wxPyEndAllowThreads(__tstate
);
11911 if (PyErr_Occurred()) SWIG_fail
;
11914 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11938 static PyObject
*_wrap_Image_Ok(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11939 PyObject
*resultobj
;
11940 wxImage
*arg1
= (wxImage
*) 0 ;
11942 PyObject
* obj0
= 0 ;
11943 char *kwnames
[] = {
11944 (char *) "self", NULL
11947 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_Ok",kwnames
,&obj0
)) goto fail
;
11948 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
11949 if (SWIG_arg_fail(1)) SWIG_fail
;
11951 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11952 result
= (bool)(arg1
)->Ok();
11954 wxPyEndAllowThreads(__tstate
);
11955 if (PyErr_Occurred()) SWIG_fail
;
11958 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11966 static PyObject
*_wrap_Image_GetWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11967 PyObject
*resultobj
;
11968 wxImage
*arg1
= (wxImage
*) 0 ;
11970 PyObject
* obj0
= 0 ;
11971 char *kwnames
[] = {
11972 (char *) "self", NULL
11975 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetWidth",kwnames
,&obj0
)) goto fail
;
11976 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
11977 if (SWIG_arg_fail(1)) SWIG_fail
;
11979 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11980 result
= (int)(arg1
)->GetWidth();
11982 wxPyEndAllowThreads(__tstate
);
11983 if (PyErr_Occurred()) SWIG_fail
;
11986 resultobj
= SWIG_From_int((int)(result
));
11994 static PyObject
*_wrap_Image_GetHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11995 PyObject
*resultobj
;
11996 wxImage
*arg1
= (wxImage
*) 0 ;
11998 PyObject
* obj0
= 0 ;
11999 char *kwnames
[] = {
12000 (char *) "self", NULL
12003 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetHeight",kwnames
,&obj0
)) goto fail
;
12004 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12005 if (SWIG_arg_fail(1)) SWIG_fail
;
12007 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12008 result
= (int)(arg1
)->GetHeight();
12010 wxPyEndAllowThreads(__tstate
);
12011 if (PyErr_Occurred()) SWIG_fail
;
12014 resultobj
= SWIG_From_int((int)(result
));
12022 static PyObject
*_wrap_Image_GetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12023 PyObject
*resultobj
;
12024 wxImage
*arg1
= (wxImage
*) 0 ;
12026 PyObject
* obj0
= 0 ;
12027 char *kwnames
[] = {
12028 (char *) "self", NULL
12031 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetSize",kwnames
,&obj0
)) goto fail
;
12032 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12033 if (SWIG_arg_fail(1)) SWIG_fail
;
12035 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12036 result
= wxImage_GetSize(arg1
);
12038 wxPyEndAllowThreads(__tstate
);
12039 if (PyErr_Occurred()) SWIG_fail
;
12042 wxSize
* resultptr
;
12043 resultptr
= new wxSize((wxSize
&)(result
));
12044 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
12052 static PyObject
*_wrap_Image_GetSubImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12053 PyObject
*resultobj
;
12054 wxImage
*arg1
= (wxImage
*) 0 ;
12056 SwigValueWrapper
<wxImage
> result
;
12058 PyObject
* obj0
= 0 ;
12059 PyObject
* obj1
= 0 ;
12060 char *kwnames
[] = {
12061 (char *) "self",(char *) "rect", NULL
12064 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_GetSubImage",kwnames
,&obj0
,&obj1
)) goto fail
;
12065 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12066 if (SWIG_arg_fail(1)) SWIG_fail
;
12069 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
12072 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12073 result
= (arg1
)->GetSubImage((wxRect
const &)*arg2
);
12075 wxPyEndAllowThreads(__tstate
);
12076 if (PyErr_Occurred()) SWIG_fail
;
12079 wxImage
* resultptr
;
12080 resultptr
= new wxImage((wxImage
&)(result
));
12081 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
12089 static PyObject
*_wrap_Image_Copy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12090 PyObject
*resultobj
;
12091 wxImage
*arg1
= (wxImage
*) 0 ;
12092 SwigValueWrapper
<wxImage
> result
;
12093 PyObject
* obj0
= 0 ;
12094 char *kwnames
[] = {
12095 (char *) "self", NULL
12098 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_Copy",kwnames
,&obj0
)) goto fail
;
12099 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12100 if (SWIG_arg_fail(1)) SWIG_fail
;
12102 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12103 result
= (arg1
)->Copy();
12105 wxPyEndAllowThreads(__tstate
);
12106 if (PyErr_Occurred()) SWIG_fail
;
12109 wxImage
* resultptr
;
12110 resultptr
= new wxImage((wxImage
&)(result
));
12111 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
12119 static PyObject
*_wrap_Image_Paste(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12120 PyObject
*resultobj
;
12121 wxImage
*arg1
= (wxImage
*) 0 ;
12122 wxImage
*arg2
= 0 ;
12125 PyObject
* obj0
= 0 ;
12126 PyObject
* obj1
= 0 ;
12127 PyObject
* obj2
= 0 ;
12128 PyObject
* obj3
= 0 ;
12129 char *kwnames
[] = {
12130 (char *) "self",(char *) "image",(char *) "x",(char *) "y", NULL
12133 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Image_Paste",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
12134 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12135 if (SWIG_arg_fail(1)) SWIG_fail
;
12137 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12138 if (SWIG_arg_fail(2)) SWIG_fail
;
12139 if (arg2
== NULL
) {
12140 SWIG_null_ref("wxImage");
12142 if (SWIG_arg_fail(2)) SWIG_fail
;
12145 arg3
= (int)(SWIG_As_int(obj2
));
12146 if (SWIG_arg_fail(3)) SWIG_fail
;
12149 arg4
= (int)(SWIG_As_int(obj3
));
12150 if (SWIG_arg_fail(4)) SWIG_fail
;
12153 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12154 (arg1
)->Paste((wxImage
const &)*arg2
,arg3
,arg4
);
12156 wxPyEndAllowThreads(__tstate
);
12157 if (PyErr_Occurred()) SWIG_fail
;
12159 Py_INCREF(Py_None
); resultobj
= Py_None
;
12166 static PyObject
*_wrap_Image_GetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12167 PyObject
*resultobj
;
12168 wxImage
*arg1
= (wxImage
*) 0 ;
12170 PyObject
* obj0
= 0 ;
12171 char *kwnames
[] = {
12172 (char *) "self", NULL
12175 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetData",kwnames
,&obj0
)) goto fail
;
12176 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12177 if (SWIG_arg_fail(1)) SWIG_fail
;
12179 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12180 result
= (PyObject
*)wxImage_GetData(arg1
);
12182 wxPyEndAllowThreads(__tstate
);
12183 if (PyErr_Occurred()) SWIG_fail
;
12185 resultobj
= result
;
12192 static PyObject
*_wrap_Image_SetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12193 PyObject
*resultobj
;
12194 wxImage
*arg1
= (wxImage
*) 0 ;
12195 PyObject
*arg2
= (PyObject
*) 0 ;
12196 PyObject
* obj0
= 0 ;
12197 PyObject
* obj1
= 0 ;
12198 char *kwnames
[] = {
12199 (char *) "self",(char *) "data", NULL
12202 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
12203 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12204 if (SWIG_arg_fail(1)) SWIG_fail
;
12207 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12208 wxImage_SetData(arg1
,arg2
);
12210 wxPyEndAllowThreads(__tstate
);
12211 if (PyErr_Occurred()) SWIG_fail
;
12213 Py_INCREF(Py_None
); resultobj
= Py_None
;
12220 static PyObject
*_wrap_Image_GetDataBuffer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12221 PyObject
*resultobj
;
12222 wxImage
*arg1
= (wxImage
*) 0 ;
12224 PyObject
* obj0
= 0 ;
12225 char *kwnames
[] = {
12226 (char *) "self", NULL
12229 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetDataBuffer",kwnames
,&obj0
)) goto fail
;
12230 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12231 if (SWIG_arg_fail(1)) SWIG_fail
;
12233 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12234 result
= (PyObject
*)wxImage_GetDataBuffer(arg1
);
12236 wxPyEndAllowThreads(__tstate
);
12237 if (PyErr_Occurred()) SWIG_fail
;
12239 resultobj
= result
;
12246 static PyObject
*_wrap_Image_SetDataBuffer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12247 PyObject
*resultobj
;
12248 wxImage
*arg1
= (wxImage
*) 0 ;
12249 PyObject
*arg2
= (PyObject
*) 0 ;
12250 PyObject
* obj0
= 0 ;
12251 PyObject
* obj1
= 0 ;
12252 char *kwnames
[] = {
12253 (char *) "self",(char *) "data", NULL
12256 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_SetDataBuffer",kwnames
,&obj0
,&obj1
)) goto fail
;
12257 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12258 if (SWIG_arg_fail(1)) SWIG_fail
;
12261 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12262 wxImage_SetDataBuffer(arg1
,arg2
);
12264 wxPyEndAllowThreads(__tstate
);
12265 if (PyErr_Occurred()) SWIG_fail
;
12267 Py_INCREF(Py_None
); resultobj
= Py_None
;
12274 static PyObject
*_wrap_Image_GetAlphaData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12275 PyObject
*resultobj
;
12276 wxImage
*arg1
= (wxImage
*) 0 ;
12278 PyObject
* obj0
= 0 ;
12279 char *kwnames
[] = {
12280 (char *) "self", NULL
12283 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetAlphaData",kwnames
,&obj0
)) goto fail
;
12284 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12285 if (SWIG_arg_fail(1)) SWIG_fail
;
12287 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12288 result
= (PyObject
*)wxImage_GetAlphaData(arg1
);
12290 wxPyEndAllowThreads(__tstate
);
12291 if (PyErr_Occurred()) SWIG_fail
;
12293 resultobj
= result
;
12300 static PyObject
*_wrap_Image_SetAlphaData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12301 PyObject
*resultobj
;
12302 wxImage
*arg1
= (wxImage
*) 0 ;
12303 PyObject
*arg2
= (PyObject
*) 0 ;
12304 PyObject
* obj0
= 0 ;
12305 PyObject
* obj1
= 0 ;
12306 char *kwnames
[] = {
12307 (char *) "self",(char *) "data", NULL
12310 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_SetAlphaData",kwnames
,&obj0
,&obj1
)) goto fail
;
12311 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12312 if (SWIG_arg_fail(1)) SWIG_fail
;
12315 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12316 wxImage_SetAlphaData(arg1
,arg2
);
12318 wxPyEndAllowThreads(__tstate
);
12319 if (PyErr_Occurred()) SWIG_fail
;
12321 Py_INCREF(Py_None
); resultobj
= Py_None
;
12328 static PyObject
*_wrap_Image_GetAlphaBuffer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12329 PyObject
*resultobj
;
12330 wxImage
*arg1
= (wxImage
*) 0 ;
12332 PyObject
* obj0
= 0 ;
12333 char *kwnames
[] = {
12334 (char *) "self", NULL
12337 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetAlphaBuffer",kwnames
,&obj0
)) goto fail
;
12338 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12339 if (SWIG_arg_fail(1)) SWIG_fail
;
12341 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12342 result
= (PyObject
*)wxImage_GetAlphaBuffer(arg1
);
12344 wxPyEndAllowThreads(__tstate
);
12345 if (PyErr_Occurred()) SWIG_fail
;
12347 resultobj
= result
;
12354 static PyObject
*_wrap_Image_SetAlphaBuffer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12355 PyObject
*resultobj
;
12356 wxImage
*arg1
= (wxImage
*) 0 ;
12357 PyObject
*arg2
= (PyObject
*) 0 ;
12358 PyObject
* obj0
= 0 ;
12359 PyObject
* obj1
= 0 ;
12360 char *kwnames
[] = {
12361 (char *) "self",(char *) "data", NULL
12364 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_SetAlphaBuffer",kwnames
,&obj0
,&obj1
)) goto fail
;
12365 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12366 if (SWIG_arg_fail(1)) SWIG_fail
;
12369 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12370 wxImage_SetAlphaBuffer(arg1
,arg2
);
12372 wxPyEndAllowThreads(__tstate
);
12373 if (PyErr_Occurred()) SWIG_fail
;
12375 Py_INCREF(Py_None
); resultobj
= Py_None
;
12382 static PyObject
*_wrap_Image_SetMaskColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12383 PyObject
*resultobj
;
12384 wxImage
*arg1
= (wxImage
*) 0 ;
12385 unsigned char arg2
;
12386 unsigned char arg3
;
12387 unsigned char arg4
;
12388 PyObject
* obj0
= 0 ;
12389 PyObject
* obj1
= 0 ;
12390 PyObject
* obj2
= 0 ;
12391 PyObject
* obj3
= 0 ;
12392 char *kwnames
[] = {
12393 (char *) "self",(char *) "r",(char *) "g",(char *) "b", NULL
12396 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Image_SetMaskColour",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
12397 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12398 if (SWIG_arg_fail(1)) SWIG_fail
;
12400 arg2
= (unsigned char)(SWIG_As_unsigned_SS_char(obj1
));
12401 if (SWIG_arg_fail(2)) SWIG_fail
;
12404 arg3
= (unsigned char)(SWIG_As_unsigned_SS_char(obj2
));
12405 if (SWIG_arg_fail(3)) SWIG_fail
;
12408 arg4
= (unsigned char)(SWIG_As_unsigned_SS_char(obj3
));
12409 if (SWIG_arg_fail(4)) SWIG_fail
;
12412 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12413 (arg1
)->SetMaskColour(arg2
,arg3
,arg4
);
12415 wxPyEndAllowThreads(__tstate
);
12416 if (PyErr_Occurred()) SWIG_fail
;
12418 Py_INCREF(Py_None
); resultobj
= Py_None
;
12425 static PyObject
*_wrap_Image_GetMaskRed(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12426 PyObject
*resultobj
;
12427 wxImage
*arg1
= (wxImage
*) 0 ;
12428 unsigned char result
;
12429 PyObject
* obj0
= 0 ;
12430 char *kwnames
[] = {
12431 (char *) "self", NULL
12434 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetMaskRed",kwnames
,&obj0
)) goto fail
;
12435 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12436 if (SWIG_arg_fail(1)) SWIG_fail
;
12438 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12439 result
= (unsigned char)(arg1
)->GetMaskRed();
12441 wxPyEndAllowThreads(__tstate
);
12442 if (PyErr_Occurred()) SWIG_fail
;
12445 resultobj
= SWIG_From_unsigned_SS_char((unsigned char)(result
));
12453 static PyObject
*_wrap_Image_GetMaskGreen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12454 PyObject
*resultobj
;
12455 wxImage
*arg1
= (wxImage
*) 0 ;
12456 unsigned char result
;
12457 PyObject
* obj0
= 0 ;
12458 char *kwnames
[] = {
12459 (char *) "self", NULL
12462 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetMaskGreen",kwnames
,&obj0
)) goto fail
;
12463 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12464 if (SWIG_arg_fail(1)) SWIG_fail
;
12466 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12467 result
= (unsigned char)(arg1
)->GetMaskGreen();
12469 wxPyEndAllowThreads(__tstate
);
12470 if (PyErr_Occurred()) SWIG_fail
;
12473 resultobj
= SWIG_From_unsigned_SS_char((unsigned char)(result
));
12481 static PyObject
*_wrap_Image_GetMaskBlue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12482 PyObject
*resultobj
;
12483 wxImage
*arg1
= (wxImage
*) 0 ;
12484 unsigned char result
;
12485 PyObject
* obj0
= 0 ;
12486 char *kwnames
[] = {
12487 (char *) "self", NULL
12490 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetMaskBlue",kwnames
,&obj0
)) goto fail
;
12491 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12492 if (SWIG_arg_fail(1)) SWIG_fail
;
12494 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12495 result
= (unsigned char)(arg1
)->GetMaskBlue();
12497 wxPyEndAllowThreads(__tstate
);
12498 if (PyErr_Occurred()) SWIG_fail
;
12501 resultobj
= SWIG_From_unsigned_SS_char((unsigned char)(result
));
12509 static PyObject
*_wrap_Image_SetMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12510 PyObject
*resultobj
;
12511 wxImage
*arg1
= (wxImage
*) 0 ;
12512 bool arg2
= (bool) true ;
12513 PyObject
* obj0
= 0 ;
12514 PyObject
* obj1
= 0 ;
12515 char *kwnames
[] = {
12516 (char *) "self",(char *) "mask", NULL
12519 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Image_SetMask",kwnames
,&obj0
,&obj1
)) goto fail
;
12520 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12521 if (SWIG_arg_fail(1)) SWIG_fail
;
12524 arg2
= (bool)(SWIG_As_bool(obj1
));
12525 if (SWIG_arg_fail(2)) SWIG_fail
;
12529 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12530 (arg1
)->SetMask(arg2
);
12532 wxPyEndAllowThreads(__tstate
);
12533 if (PyErr_Occurred()) SWIG_fail
;
12535 Py_INCREF(Py_None
); resultobj
= Py_None
;
12542 static PyObject
*_wrap_Image_HasMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12543 PyObject
*resultobj
;
12544 wxImage
*arg1
= (wxImage
*) 0 ;
12546 PyObject
* obj0
= 0 ;
12547 char *kwnames
[] = {
12548 (char *) "self", NULL
12551 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_HasMask",kwnames
,&obj0
)) goto fail
;
12552 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12553 if (SWIG_arg_fail(1)) SWIG_fail
;
12555 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12556 result
= (bool)(arg1
)->HasMask();
12558 wxPyEndAllowThreads(__tstate
);
12559 if (PyErr_Occurred()) SWIG_fail
;
12562 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12570 static PyObject
*_wrap_Image_Rotate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12571 PyObject
*resultobj
;
12572 wxImage
*arg1
= (wxImage
*) 0 ;
12574 wxPoint
*arg3
= 0 ;
12575 bool arg4
= (bool) true ;
12576 wxPoint
*arg5
= (wxPoint
*) NULL
;
12577 SwigValueWrapper
<wxImage
> result
;
12579 PyObject
* obj0
= 0 ;
12580 PyObject
* obj1
= 0 ;
12581 PyObject
* obj2
= 0 ;
12582 PyObject
* obj3
= 0 ;
12583 PyObject
* obj4
= 0 ;
12584 char *kwnames
[] = {
12585 (char *) "self",(char *) "angle",(char *) "centre_of_rotation",(char *) "interpolating",(char *) "offset_after_rotation", NULL
12588 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:Image_Rotate",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
12589 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12590 if (SWIG_arg_fail(1)) SWIG_fail
;
12592 arg2
= (double)(SWIG_As_double(obj1
));
12593 if (SWIG_arg_fail(2)) SWIG_fail
;
12597 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
12601 arg4
= (bool)(SWIG_As_bool(obj3
));
12602 if (SWIG_arg_fail(4)) SWIG_fail
;
12606 SWIG_Python_ConvertPtr(obj4
, (void **)&arg5
, SWIGTYPE_p_wxPoint
, SWIG_POINTER_EXCEPTION
| 0);
12607 if (SWIG_arg_fail(5)) SWIG_fail
;
12610 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12611 result
= ((wxImage
const *)arg1
)->Rotate(arg2
,(wxPoint
const &)*arg3
,arg4
,arg5
);
12613 wxPyEndAllowThreads(__tstate
);
12614 if (PyErr_Occurred()) SWIG_fail
;
12617 wxImage
* resultptr
;
12618 resultptr
= new wxImage((wxImage
&)(result
));
12619 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
12627 static PyObject
*_wrap_Image_Rotate90(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12628 PyObject
*resultobj
;
12629 wxImage
*arg1
= (wxImage
*) 0 ;
12630 bool arg2
= (bool) true ;
12631 SwigValueWrapper
<wxImage
> result
;
12632 PyObject
* obj0
= 0 ;
12633 PyObject
* obj1
= 0 ;
12634 char *kwnames
[] = {
12635 (char *) "self",(char *) "clockwise", NULL
12638 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Image_Rotate90",kwnames
,&obj0
,&obj1
)) goto fail
;
12639 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12640 if (SWIG_arg_fail(1)) SWIG_fail
;
12643 arg2
= (bool)(SWIG_As_bool(obj1
));
12644 if (SWIG_arg_fail(2)) SWIG_fail
;
12648 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12649 result
= (arg1
)->Rotate90(arg2
);
12651 wxPyEndAllowThreads(__tstate
);
12652 if (PyErr_Occurred()) SWIG_fail
;
12655 wxImage
* resultptr
;
12656 resultptr
= new wxImage((wxImage
&)(result
));
12657 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
12665 static PyObject
*_wrap_Image_Mirror(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12666 PyObject
*resultobj
;
12667 wxImage
*arg1
= (wxImage
*) 0 ;
12668 bool arg2
= (bool) true ;
12669 SwigValueWrapper
<wxImage
> result
;
12670 PyObject
* obj0
= 0 ;
12671 PyObject
* obj1
= 0 ;
12672 char *kwnames
[] = {
12673 (char *) "self",(char *) "horizontally", NULL
12676 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Image_Mirror",kwnames
,&obj0
,&obj1
)) goto fail
;
12677 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12678 if (SWIG_arg_fail(1)) SWIG_fail
;
12681 arg2
= (bool)(SWIG_As_bool(obj1
));
12682 if (SWIG_arg_fail(2)) SWIG_fail
;
12686 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12687 result
= (arg1
)->Mirror(arg2
);
12689 wxPyEndAllowThreads(__tstate
);
12690 if (PyErr_Occurred()) SWIG_fail
;
12693 wxImage
* resultptr
;
12694 resultptr
= new wxImage((wxImage
&)(result
));
12695 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
12703 static PyObject
*_wrap_Image_Replace(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12704 PyObject
*resultobj
;
12705 wxImage
*arg1
= (wxImage
*) 0 ;
12706 unsigned char arg2
;
12707 unsigned char arg3
;
12708 unsigned char arg4
;
12709 unsigned char arg5
;
12710 unsigned char arg6
;
12711 unsigned char arg7
;
12712 PyObject
* obj0
= 0 ;
12713 PyObject
* obj1
= 0 ;
12714 PyObject
* obj2
= 0 ;
12715 PyObject
* obj3
= 0 ;
12716 PyObject
* obj4
= 0 ;
12717 PyObject
* obj5
= 0 ;
12718 PyObject
* obj6
= 0 ;
12719 char *kwnames
[] = {
12720 (char *) "self",(char *) "r1",(char *) "g1",(char *) "b1",(char *) "r2",(char *) "g2",(char *) "b2", NULL
12723 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:Image_Replace",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
12724 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12725 if (SWIG_arg_fail(1)) SWIG_fail
;
12727 arg2
= (unsigned char)(SWIG_As_unsigned_SS_char(obj1
));
12728 if (SWIG_arg_fail(2)) SWIG_fail
;
12731 arg3
= (unsigned char)(SWIG_As_unsigned_SS_char(obj2
));
12732 if (SWIG_arg_fail(3)) SWIG_fail
;
12735 arg4
= (unsigned char)(SWIG_As_unsigned_SS_char(obj3
));
12736 if (SWIG_arg_fail(4)) SWIG_fail
;
12739 arg5
= (unsigned char)(SWIG_As_unsigned_SS_char(obj4
));
12740 if (SWIG_arg_fail(5)) SWIG_fail
;
12743 arg6
= (unsigned char)(SWIG_As_unsigned_SS_char(obj5
));
12744 if (SWIG_arg_fail(6)) SWIG_fail
;
12747 arg7
= (unsigned char)(SWIG_As_unsigned_SS_char(obj6
));
12748 if (SWIG_arg_fail(7)) SWIG_fail
;
12751 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12752 (arg1
)->Replace(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
12754 wxPyEndAllowThreads(__tstate
);
12755 if (PyErr_Occurred()) SWIG_fail
;
12757 Py_INCREF(Py_None
); resultobj
= Py_None
;
12764 static PyObject
*_wrap_Image_ConvertToMono(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12765 PyObject
*resultobj
;
12766 wxImage
*arg1
= (wxImage
*) 0 ;
12767 unsigned char arg2
;
12768 unsigned char arg3
;
12769 unsigned char arg4
;
12770 SwigValueWrapper
<wxImage
> result
;
12771 PyObject
* obj0
= 0 ;
12772 PyObject
* obj1
= 0 ;
12773 PyObject
* obj2
= 0 ;
12774 PyObject
* obj3
= 0 ;
12775 char *kwnames
[] = {
12776 (char *) "self",(char *) "r",(char *) "g",(char *) "b", NULL
12779 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Image_ConvertToMono",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
12780 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12781 if (SWIG_arg_fail(1)) SWIG_fail
;
12783 arg2
= (unsigned char)(SWIG_As_unsigned_SS_char(obj1
));
12784 if (SWIG_arg_fail(2)) SWIG_fail
;
12787 arg3
= (unsigned char)(SWIG_As_unsigned_SS_char(obj2
));
12788 if (SWIG_arg_fail(3)) SWIG_fail
;
12791 arg4
= (unsigned char)(SWIG_As_unsigned_SS_char(obj3
));
12792 if (SWIG_arg_fail(4)) SWIG_fail
;
12795 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12796 result
= ((wxImage
const *)arg1
)->ConvertToMono(arg2
,arg3
,arg4
);
12798 wxPyEndAllowThreads(__tstate
);
12799 if (PyErr_Occurred()) SWIG_fail
;
12802 wxImage
* resultptr
;
12803 resultptr
= new wxImage((wxImage
&)(result
));
12804 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
12812 static PyObject
*_wrap_Image_SetOption(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12813 PyObject
*resultobj
;
12814 wxImage
*arg1
= (wxImage
*) 0 ;
12815 wxString
*arg2
= 0 ;
12816 wxString
*arg3
= 0 ;
12817 bool temp2
= false ;
12818 bool temp3
= false ;
12819 PyObject
* obj0
= 0 ;
12820 PyObject
* obj1
= 0 ;
12821 PyObject
* obj2
= 0 ;
12822 char *kwnames
[] = {
12823 (char *) "self",(char *) "name",(char *) "value", NULL
12826 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_SetOption",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12827 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12828 if (SWIG_arg_fail(1)) SWIG_fail
;
12830 arg2
= wxString_in_helper(obj1
);
12831 if (arg2
== NULL
) SWIG_fail
;
12835 arg3
= wxString_in_helper(obj2
);
12836 if (arg3
== NULL
) SWIG_fail
;
12840 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12841 (arg1
)->SetOption((wxString
const &)*arg2
,(wxString
const &)*arg3
);
12843 wxPyEndAllowThreads(__tstate
);
12844 if (PyErr_Occurred()) SWIG_fail
;
12846 Py_INCREF(Py_None
); resultobj
= Py_None
;
12869 static PyObject
*_wrap_Image_SetOptionInt(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12870 PyObject
*resultobj
;
12871 wxImage
*arg1
= (wxImage
*) 0 ;
12872 wxString
*arg2
= 0 ;
12874 bool temp2
= false ;
12875 PyObject
* obj0
= 0 ;
12876 PyObject
* obj1
= 0 ;
12877 PyObject
* obj2
= 0 ;
12878 char *kwnames
[] = {
12879 (char *) "self",(char *) "name",(char *) "value", NULL
12882 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_SetOptionInt",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12883 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12884 if (SWIG_arg_fail(1)) SWIG_fail
;
12886 arg2
= wxString_in_helper(obj1
);
12887 if (arg2
== NULL
) SWIG_fail
;
12891 arg3
= (int)(SWIG_As_int(obj2
));
12892 if (SWIG_arg_fail(3)) SWIG_fail
;
12895 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12896 (arg1
)->SetOption((wxString
const &)*arg2
,arg3
);
12898 wxPyEndAllowThreads(__tstate
);
12899 if (PyErr_Occurred()) SWIG_fail
;
12901 Py_INCREF(Py_None
); resultobj
= Py_None
;
12916 static PyObject
*_wrap_Image_GetOption(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12917 PyObject
*resultobj
;
12918 wxImage
*arg1
= (wxImage
*) 0 ;
12919 wxString
*arg2
= 0 ;
12921 bool temp2
= false ;
12922 PyObject
* obj0
= 0 ;
12923 PyObject
* obj1
= 0 ;
12924 char *kwnames
[] = {
12925 (char *) "self",(char *) "name", NULL
12928 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_GetOption",kwnames
,&obj0
,&obj1
)) goto fail
;
12929 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12930 if (SWIG_arg_fail(1)) SWIG_fail
;
12932 arg2
= wxString_in_helper(obj1
);
12933 if (arg2
== NULL
) SWIG_fail
;
12937 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12938 result
= ((wxImage
const *)arg1
)->GetOption((wxString
const &)*arg2
);
12940 wxPyEndAllowThreads(__tstate
);
12941 if (PyErr_Occurred()) SWIG_fail
;
12945 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12947 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12964 static PyObject
*_wrap_Image_GetOptionInt(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12965 PyObject
*resultobj
;
12966 wxImage
*arg1
= (wxImage
*) 0 ;
12967 wxString
*arg2
= 0 ;
12969 bool temp2
= false ;
12970 PyObject
* obj0
= 0 ;
12971 PyObject
* obj1
= 0 ;
12972 char *kwnames
[] = {
12973 (char *) "self",(char *) "name", NULL
12976 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_GetOptionInt",kwnames
,&obj0
,&obj1
)) goto fail
;
12977 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12978 if (SWIG_arg_fail(1)) SWIG_fail
;
12980 arg2
= wxString_in_helper(obj1
);
12981 if (arg2
== NULL
) SWIG_fail
;
12985 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12986 result
= (int)((wxImage
const *)arg1
)->GetOptionInt((wxString
const &)*arg2
);
12988 wxPyEndAllowThreads(__tstate
);
12989 if (PyErr_Occurred()) SWIG_fail
;
12992 resultobj
= SWIG_From_int((int)(result
));
13008 static PyObject
*_wrap_Image_HasOption(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13009 PyObject
*resultobj
;
13010 wxImage
*arg1
= (wxImage
*) 0 ;
13011 wxString
*arg2
= 0 ;
13013 bool temp2
= false ;
13014 PyObject
* obj0
= 0 ;
13015 PyObject
* obj1
= 0 ;
13016 char *kwnames
[] = {
13017 (char *) "self",(char *) "name", NULL
13020 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_HasOption",kwnames
,&obj0
,&obj1
)) goto fail
;
13021 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
13022 if (SWIG_arg_fail(1)) SWIG_fail
;
13024 arg2
= wxString_in_helper(obj1
);
13025 if (arg2
== NULL
) SWIG_fail
;
13029 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13030 result
= (bool)((wxImage
const *)arg1
)->HasOption((wxString
const &)*arg2
);
13032 wxPyEndAllowThreads(__tstate
);
13033 if (PyErr_Occurred()) SWIG_fail
;
13036 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13052 static PyObject
*_wrap_Image_CountColours(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13053 PyObject
*resultobj
;
13054 wxImage
*arg1
= (wxImage
*) 0 ;
13055 unsigned long arg2
= (unsigned long) (unsigned long) -1 ;
13056 unsigned long result
;
13057 PyObject
* obj0
= 0 ;
13058 PyObject
* obj1
= 0 ;
13059 char *kwnames
[] = {
13060 (char *) "self",(char *) "stopafter", NULL
13063 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Image_CountColours",kwnames
,&obj0
,&obj1
)) goto fail
;
13064 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
13065 if (SWIG_arg_fail(1)) SWIG_fail
;
13068 arg2
= (unsigned long)(SWIG_As_unsigned_SS_long(obj1
));
13069 if (SWIG_arg_fail(2)) SWIG_fail
;
13073 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13074 result
= (unsigned long)(arg1
)->CountColours(arg2
);
13076 wxPyEndAllowThreads(__tstate
);
13077 if (PyErr_Occurred()) SWIG_fail
;
13080 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
13088 static PyObject
*_wrap_Image_ComputeHistogram(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13089 PyObject
*resultobj
;
13090 wxImage
*arg1
= (wxImage
*) 0 ;
13091 wxImageHistogram
*arg2
= 0 ;
13092 unsigned long result
;
13093 PyObject
* obj0
= 0 ;
13094 PyObject
* obj1
= 0 ;
13095 char *kwnames
[] = {
13096 (char *) "self",(char *) "h", NULL
13099 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_ComputeHistogram",kwnames
,&obj0
,&obj1
)) goto fail
;
13100 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
13101 if (SWIG_arg_fail(1)) SWIG_fail
;
13103 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxImageHistogram
, SWIG_POINTER_EXCEPTION
| 0);
13104 if (SWIG_arg_fail(2)) SWIG_fail
;
13105 if (arg2
== NULL
) {
13106 SWIG_null_ref("wxImageHistogram");
13108 if (SWIG_arg_fail(2)) SWIG_fail
;
13111 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13112 result
= (unsigned long)(arg1
)->ComputeHistogram(*arg2
);
13114 wxPyEndAllowThreads(__tstate
);
13115 if (PyErr_Occurred()) SWIG_fail
;
13118 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
13126 static PyObject
*_wrap_Image_AddHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13127 PyObject
*resultobj
;
13128 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
13129 PyObject
* obj0
= 0 ;
13130 char *kwnames
[] = {
13131 (char *) "handler", NULL
13134 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_AddHandler",kwnames
,&obj0
)) goto fail
;
13135 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImageHandler
, SWIG_POINTER_EXCEPTION
| 0);
13136 if (SWIG_arg_fail(1)) SWIG_fail
;
13138 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13139 wxImage::AddHandler(arg1
);
13141 wxPyEndAllowThreads(__tstate
);
13142 if (PyErr_Occurred()) SWIG_fail
;
13144 Py_INCREF(Py_None
); resultobj
= Py_None
;
13151 static PyObject
*_wrap_Image_InsertHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13152 PyObject
*resultobj
;
13153 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
13154 PyObject
* obj0
= 0 ;
13155 char *kwnames
[] = {
13156 (char *) "handler", NULL
13159 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_InsertHandler",kwnames
,&obj0
)) goto fail
;
13160 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImageHandler
, SWIG_POINTER_EXCEPTION
| 0);
13161 if (SWIG_arg_fail(1)) SWIG_fail
;
13163 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13164 wxImage::InsertHandler(arg1
);
13166 wxPyEndAllowThreads(__tstate
);
13167 if (PyErr_Occurred()) SWIG_fail
;
13169 Py_INCREF(Py_None
); resultobj
= Py_None
;
13176 static PyObject
*_wrap_Image_RemoveHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13177 PyObject
*resultobj
;
13178 wxString
*arg1
= 0 ;
13180 bool temp1
= false ;
13181 PyObject
* obj0
= 0 ;
13182 char *kwnames
[] = {
13183 (char *) "name", NULL
13186 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_RemoveHandler",kwnames
,&obj0
)) goto fail
;
13188 arg1
= wxString_in_helper(obj0
);
13189 if (arg1
== NULL
) SWIG_fail
;
13193 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13194 result
= (bool)wxImage::RemoveHandler((wxString
const &)*arg1
);
13196 wxPyEndAllowThreads(__tstate
);
13197 if (PyErr_Occurred()) SWIG_fail
;
13200 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13216 static PyObject
*_wrap_Image_GetImageExtWildcard(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13217 PyObject
*resultobj
;
13219 char *kwnames
[] = {
13223 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Image_GetImageExtWildcard",kwnames
)) goto fail
;
13225 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13226 result
= wxImage::GetImageExtWildcard();
13228 wxPyEndAllowThreads(__tstate
);
13229 if (PyErr_Occurred()) SWIG_fail
;
13233 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13235 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13244 static PyObject
*_wrap_Image_ConvertToBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13245 PyObject
*resultobj
;
13246 wxImage
*arg1
= (wxImage
*) 0 ;
13247 int arg2
= (int) -1 ;
13249 PyObject
* obj0
= 0 ;
13250 PyObject
* obj1
= 0 ;
13251 char *kwnames
[] = {
13252 (char *) "self",(char *) "depth", NULL
13255 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Image_ConvertToBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
13256 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
13257 if (SWIG_arg_fail(1)) SWIG_fail
;
13260 arg2
= (int)(SWIG_As_int(obj1
));
13261 if (SWIG_arg_fail(2)) SWIG_fail
;
13265 if (!wxPyCheckForApp()) SWIG_fail
;
13266 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13267 result
= wxImage_ConvertToBitmap(arg1
,arg2
);
13269 wxPyEndAllowThreads(__tstate
);
13270 if (PyErr_Occurred()) SWIG_fail
;
13273 wxBitmap
* resultptr
;
13274 resultptr
= new wxBitmap((wxBitmap
&)(result
));
13275 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
13283 static PyObject
*_wrap_Image_ConvertToMonoBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13284 PyObject
*resultobj
;
13285 wxImage
*arg1
= (wxImage
*) 0 ;
13286 unsigned char arg2
;
13287 unsigned char arg3
;
13288 unsigned char arg4
;
13290 PyObject
* obj0
= 0 ;
13291 PyObject
* obj1
= 0 ;
13292 PyObject
* obj2
= 0 ;
13293 PyObject
* obj3
= 0 ;
13294 char *kwnames
[] = {
13295 (char *) "self",(char *) "red",(char *) "green",(char *) "blue", NULL
13298 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Image_ConvertToMonoBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
13299 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
13300 if (SWIG_arg_fail(1)) SWIG_fail
;
13302 arg2
= (unsigned char)(SWIG_As_unsigned_SS_char(obj1
));
13303 if (SWIG_arg_fail(2)) SWIG_fail
;
13306 arg3
= (unsigned char)(SWIG_As_unsigned_SS_char(obj2
));
13307 if (SWIG_arg_fail(3)) SWIG_fail
;
13310 arg4
= (unsigned char)(SWIG_As_unsigned_SS_char(obj3
));
13311 if (SWIG_arg_fail(4)) SWIG_fail
;
13314 if (!wxPyCheckForApp()) SWIG_fail
;
13315 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13316 result
= wxImage_ConvertToMonoBitmap(arg1
,arg2
,arg3
,arg4
);
13318 wxPyEndAllowThreads(__tstate
);
13319 if (PyErr_Occurred()) SWIG_fail
;
13322 wxBitmap
* resultptr
;
13323 resultptr
= new wxBitmap((wxBitmap
&)(result
));
13324 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
13332 static PyObject
* Image_swigregister(PyObject
*, PyObject
*args
) {
13334 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13335 SWIG_TypeClientData(SWIGTYPE_p_wxImage
, obj
);
13337 return Py_BuildValue((char *)"");
13339 static int _wrap_NullImage_set(PyObject
*) {
13340 PyErr_SetString(PyExc_TypeError
,"Variable NullImage is read-only.");
13345 static PyObject
*_wrap_NullImage_get(void) {
13348 pyobj
= SWIG_NewPointerObj((void *)(&wxNullImage
), SWIGTYPE_p_wxImage
, 0);
13353 static int _wrap_IMAGE_OPTION_BMP_FORMAT_set(PyObject
*) {
13354 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_BMP_FORMAT is read-only.");
13359 static PyObject
*_wrap_IMAGE_OPTION_BMP_FORMAT_get(void) {
13364 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_BMP_FORMAT
)->c_str(), (&wxPyIMAGE_OPTION_BMP_FORMAT
)->Len());
13366 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_BMP_FORMAT
)->c_str(), (&wxPyIMAGE_OPTION_BMP_FORMAT
)->Len());
13373 static int _wrap_IMAGE_OPTION_CUR_HOTSPOT_X_set(PyObject
*) {
13374 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_CUR_HOTSPOT_X is read-only.");
13379 static PyObject
*_wrap_IMAGE_OPTION_CUR_HOTSPOT_X_get(void) {
13384 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_CUR_HOTSPOT_X
)->c_str(), (&wxPyIMAGE_OPTION_CUR_HOTSPOT_X
)->Len());
13386 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_CUR_HOTSPOT_X
)->c_str(), (&wxPyIMAGE_OPTION_CUR_HOTSPOT_X
)->Len());
13393 static int _wrap_IMAGE_OPTION_CUR_HOTSPOT_Y_set(PyObject
*) {
13394 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_CUR_HOTSPOT_Y is read-only.");
13399 static PyObject
*_wrap_IMAGE_OPTION_CUR_HOTSPOT_Y_get(void) {
13404 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_CUR_HOTSPOT_Y
)->c_str(), (&wxPyIMAGE_OPTION_CUR_HOTSPOT_Y
)->Len());
13406 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_CUR_HOTSPOT_Y
)->c_str(), (&wxPyIMAGE_OPTION_CUR_HOTSPOT_Y
)->Len());
13413 static int _wrap_IMAGE_OPTION_RESOLUTION_set(PyObject
*) {
13414 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_RESOLUTION is read-only.");
13419 static PyObject
*_wrap_IMAGE_OPTION_RESOLUTION_get(void) {
13424 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_RESOLUTION
)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTION
)->Len());
13426 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_RESOLUTION
)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTION
)->Len());
13433 static int _wrap_IMAGE_OPTION_RESOLUTIONUNIT_set(PyObject
*) {
13434 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_RESOLUTIONUNIT is read-only.");
13439 static PyObject
*_wrap_IMAGE_OPTION_RESOLUTIONUNIT_get(void) {
13444 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_RESOLUTIONUNIT
)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTIONUNIT
)->Len());
13446 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_RESOLUTIONUNIT
)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTIONUNIT
)->Len());
13453 static PyObject
*_wrap_new_BMPHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13454 PyObject
*resultobj
;
13455 wxBMPHandler
*result
;
13456 char *kwnames
[] = {
13460 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_BMPHandler",kwnames
)) goto fail
;
13462 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13463 result
= (wxBMPHandler
*)new wxBMPHandler();
13465 wxPyEndAllowThreads(__tstate
);
13466 if (PyErr_Occurred()) SWIG_fail
;
13468 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBMPHandler
, 1);
13475 static PyObject
* BMPHandler_swigregister(PyObject
*, PyObject
*args
) {
13477 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13478 SWIG_TypeClientData(SWIGTYPE_p_wxBMPHandler
, obj
);
13480 return Py_BuildValue((char *)"");
13482 static PyObject
*_wrap_new_ICOHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13483 PyObject
*resultobj
;
13484 wxICOHandler
*result
;
13485 char *kwnames
[] = {
13489 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ICOHandler",kwnames
)) goto fail
;
13491 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13492 result
= (wxICOHandler
*)new wxICOHandler();
13494 wxPyEndAllowThreads(__tstate
);
13495 if (PyErr_Occurred()) SWIG_fail
;
13497 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxICOHandler
, 1);
13504 static PyObject
* ICOHandler_swigregister(PyObject
*, PyObject
*args
) {
13506 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13507 SWIG_TypeClientData(SWIGTYPE_p_wxICOHandler
, obj
);
13509 return Py_BuildValue((char *)"");
13511 static PyObject
*_wrap_new_CURHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13512 PyObject
*resultobj
;
13513 wxCURHandler
*result
;
13514 char *kwnames
[] = {
13518 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_CURHandler",kwnames
)) goto fail
;
13520 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13521 result
= (wxCURHandler
*)new wxCURHandler();
13523 wxPyEndAllowThreads(__tstate
);
13524 if (PyErr_Occurred()) SWIG_fail
;
13526 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCURHandler
, 1);
13533 static PyObject
* CURHandler_swigregister(PyObject
*, PyObject
*args
) {
13535 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13536 SWIG_TypeClientData(SWIGTYPE_p_wxCURHandler
, obj
);
13538 return Py_BuildValue((char *)"");
13540 static PyObject
*_wrap_new_ANIHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13541 PyObject
*resultobj
;
13542 wxANIHandler
*result
;
13543 char *kwnames
[] = {
13547 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ANIHandler",kwnames
)) goto fail
;
13549 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13550 result
= (wxANIHandler
*)new wxANIHandler();
13552 wxPyEndAllowThreads(__tstate
);
13553 if (PyErr_Occurred()) SWIG_fail
;
13555 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxANIHandler
, 1);
13562 static PyObject
* ANIHandler_swigregister(PyObject
*, PyObject
*args
) {
13564 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13565 SWIG_TypeClientData(SWIGTYPE_p_wxANIHandler
, obj
);
13567 return Py_BuildValue((char *)"");
13569 static PyObject
*_wrap_new_PNGHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13570 PyObject
*resultobj
;
13571 wxPNGHandler
*result
;
13572 char *kwnames
[] = {
13576 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PNGHandler",kwnames
)) goto fail
;
13578 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13579 result
= (wxPNGHandler
*)new wxPNGHandler();
13581 wxPyEndAllowThreads(__tstate
);
13582 if (PyErr_Occurred()) SWIG_fail
;
13584 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPNGHandler
, 1);
13591 static PyObject
* PNGHandler_swigregister(PyObject
*, PyObject
*args
) {
13593 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13594 SWIG_TypeClientData(SWIGTYPE_p_wxPNGHandler
, obj
);
13596 return Py_BuildValue((char *)"");
13598 static PyObject
*_wrap_new_GIFHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13599 PyObject
*resultobj
;
13600 wxGIFHandler
*result
;
13601 char *kwnames
[] = {
13605 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_GIFHandler",kwnames
)) goto fail
;
13607 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13608 result
= (wxGIFHandler
*)new wxGIFHandler();
13610 wxPyEndAllowThreads(__tstate
);
13611 if (PyErr_Occurred()) SWIG_fail
;
13613 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGIFHandler
, 1);
13620 static PyObject
* GIFHandler_swigregister(PyObject
*, PyObject
*args
) {
13622 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13623 SWIG_TypeClientData(SWIGTYPE_p_wxGIFHandler
, obj
);
13625 return Py_BuildValue((char *)"");
13627 static PyObject
*_wrap_new_PCXHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13628 PyObject
*resultobj
;
13629 wxPCXHandler
*result
;
13630 char *kwnames
[] = {
13634 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PCXHandler",kwnames
)) goto fail
;
13636 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13637 result
= (wxPCXHandler
*)new wxPCXHandler();
13639 wxPyEndAllowThreads(__tstate
);
13640 if (PyErr_Occurred()) SWIG_fail
;
13642 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPCXHandler
, 1);
13649 static PyObject
* PCXHandler_swigregister(PyObject
*, PyObject
*args
) {
13651 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13652 SWIG_TypeClientData(SWIGTYPE_p_wxPCXHandler
, obj
);
13654 return Py_BuildValue((char *)"");
13656 static PyObject
*_wrap_new_JPEGHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13657 PyObject
*resultobj
;
13658 wxJPEGHandler
*result
;
13659 char *kwnames
[] = {
13663 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_JPEGHandler",kwnames
)) goto fail
;
13665 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13666 result
= (wxJPEGHandler
*)new wxJPEGHandler();
13668 wxPyEndAllowThreads(__tstate
);
13669 if (PyErr_Occurred()) SWIG_fail
;
13671 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxJPEGHandler
, 1);
13678 static PyObject
* JPEGHandler_swigregister(PyObject
*, PyObject
*args
) {
13680 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13681 SWIG_TypeClientData(SWIGTYPE_p_wxJPEGHandler
, obj
);
13683 return Py_BuildValue((char *)"");
13685 static PyObject
*_wrap_new_PNMHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13686 PyObject
*resultobj
;
13687 wxPNMHandler
*result
;
13688 char *kwnames
[] = {
13692 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PNMHandler",kwnames
)) goto fail
;
13694 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13695 result
= (wxPNMHandler
*)new wxPNMHandler();
13697 wxPyEndAllowThreads(__tstate
);
13698 if (PyErr_Occurred()) SWIG_fail
;
13700 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPNMHandler
, 1);
13707 static PyObject
* PNMHandler_swigregister(PyObject
*, PyObject
*args
) {
13709 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13710 SWIG_TypeClientData(SWIGTYPE_p_wxPNMHandler
, obj
);
13712 return Py_BuildValue((char *)"");
13714 static PyObject
*_wrap_new_XPMHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13715 PyObject
*resultobj
;
13716 wxXPMHandler
*result
;
13717 char *kwnames
[] = {
13721 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_XPMHandler",kwnames
)) goto fail
;
13723 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13724 result
= (wxXPMHandler
*)new wxXPMHandler();
13726 wxPyEndAllowThreads(__tstate
);
13727 if (PyErr_Occurred()) SWIG_fail
;
13729 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxXPMHandler
, 1);
13736 static PyObject
* XPMHandler_swigregister(PyObject
*, PyObject
*args
) {
13738 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13739 SWIG_TypeClientData(SWIGTYPE_p_wxXPMHandler
, obj
);
13741 return Py_BuildValue((char *)"");
13743 static PyObject
*_wrap_new_TIFFHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13744 PyObject
*resultobj
;
13745 wxTIFFHandler
*result
;
13746 char *kwnames
[] = {
13750 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_TIFFHandler",kwnames
)) goto fail
;
13752 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13753 result
= (wxTIFFHandler
*)new wxTIFFHandler();
13755 wxPyEndAllowThreads(__tstate
);
13756 if (PyErr_Occurred()) SWIG_fail
;
13758 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTIFFHandler
, 1);
13765 static PyObject
* TIFFHandler_swigregister(PyObject
*, PyObject
*args
) {
13767 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13768 SWIG_TypeClientData(SWIGTYPE_p_wxTIFFHandler
, obj
);
13770 return Py_BuildValue((char *)"");
13772 static PyObject
*_wrap_Quantize_Quantize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13773 PyObject
*resultobj
;
13774 wxImage
*arg1
= 0 ;
13775 wxImage
*arg2
= 0 ;
13776 int arg3
= (int) 236 ;
13777 int arg4
= (int) wxQUANTIZE_INCLUDE_WINDOWS_COLOURS
|wxQUANTIZE_FILL_DESTINATION_IMAGE
;
13779 PyObject
* obj0
= 0 ;
13780 PyObject
* obj1
= 0 ;
13781 PyObject
* obj2
= 0 ;
13782 PyObject
* obj3
= 0 ;
13783 char *kwnames
[] = {
13784 (char *) "src",(char *) "dest",(char *) "desiredNoColours",(char *) "flags", NULL
13787 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:Quantize_Quantize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
13789 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
13790 if (SWIG_arg_fail(1)) SWIG_fail
;
13791 if (arg1
== NULL
) {
13792 SWIG_null_ref("wxImage");
13794 if (SWIG_arg_fail(1)) SWIG_fail
;
13797 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
13798 if (SWIG_arg_fail(2)) SWIG_fail
;
13799 if (arg2
== NULL
) {
13800 SWIG_null_ref("wxImage");
13802 if (SWIG_arg_fail(2)) SWIG_fail
;
13806 arg3
= (int)(SWIG_As_int(obj2
));
13807 if (SWIG_arg_fail(3)) SWIG_fail
;
13812 arg4
= (int)(SWIG_As_int(obj3
));
13813 if (SWIG_arg_fail(4)) SWIG_fail
;
13817 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13818 result
= (bool)Quantize_Quantize((wxImage
const &)*arg1
,*arg2
,arg3
,arg4
);
13820 wxPyEndAllowThreads(__tstate
);
13821 if (PyErr_Occurred()) SWIG_fail
;
13824 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13832 static PyObject
* Quantize_swigregister(PyObject
*, PyObject
*args
) {
13834 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13835 SWIG_TypeClientData(SWIGTYPE_p_wxQuantize
, obj
);
13837 return Py_BuildValue((char *)"");
13839 static PyObject
*_wrap_new_EvtHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13840 PyObject
*resultobj
;
13841 wxEvtHandler
*result
;
13842 char *kwnames
[] = {
13846 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_EvtHandler",kwnames
)) goto fail
;
13848 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13849 result
= (wxEvtHandler
*)new wxEvtHandler();
13851 wxPyEndAllowThreads(__tstate
);
13852 if (PyErr_Occurred()) SWIG_fail
;
13854 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxEvtHandler
, 1);
13861 static PyObject
*_wrap_EvtHandler_GetNextHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13862 PyObject
*resultobj
;
13863 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
13864 wxEvtHandler
*result
;
13865 PyObject
* obj0
= 0 ;
13866 char *kwnames
[] = {
13867 (char *) "self", NULL
13870 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EvtHandler_GetNextHandler",kwnames
,&obj0
)) goto fail
;
13871 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
13872 if (SWIG_arg_fail(1)) SWIG_fail
;
13874 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13875 result
= (wxEvtHandler
*)(arg1
)->GetNextHandler();
13877 wxPyEndAllowThreads(__tstate
);
13878 if (PyErr_Occurred()) SWIG_fail
;
13881 resultobj
= wxPyMake_wxObject(result
, 0);
13889 static PyObject
*_wrap_EvtHandler_GetPreviousHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13890 PyObject
*resultobj
;
13891 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
13892 wxEvtHandler
*result
;
13893 PyObject
* obj0
= 0 ;
13894 char *kwnames
[] = {
13895 (char *) "self", NULL
13898 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EvtHandler_GetPreviousHandler",kwnames
,&obj0
)) goto fail
;
13899 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
13900 if (SWIG_arg_fail(1)) SWIG_fail
;
13902 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13903 result
= (wxEvtHandler
*)(arg1
)->GetPreviousHandler();
13905 wxPyEndAllowThreads(__tstate
);
13906 if (PyErr_Occurred()) SWIG_fail
;
13909 resultobj
= wxPyMake_wxObject(result
, 0);
13917 static PyObject
*_wrap_EvtHandler_SetNextHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13918 PyObject
*resultobj
;
13919 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
13920 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
13921 PyObject
* obj0
= 0 ;
13922 PyObject
* obj1
= 0 ;
13923 char *kwnames
[] = {
13924 (char *) "self",(char *) "handler", NULL
13927 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EvtHandler_SetNextHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
13928 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
13929 if (SWIG_arg_fail(1)) SWIG_fail
;
13930 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
13931 if (SWIG_arg_fail(2)) SWIG_fail
;
13933 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13934 (arg1
)->SetNextHandler(arg2
);
13936 wxPyEndAllowThreads(__tstate
);
13937 if (PyErr_Occurred()) SWIG_fail
;
13939 Py_INCREF(Py_None
); resultobj
= Py_None
;
13946 static PyObject
*_wrap_EvtHandler_SetPreviousHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13947 PyObject
*resultobj
;
13948 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
13949 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
13950 PyObject
* obj0
= 0 ;
13951 PyObject
* obj1
= 0 ;
13952 char *kwnames
[] = {
13953 (char *) "self",(char *) "handler", NULL
13956 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EvtHandler_SetPreviousHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
13957 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
13958 if (SWIG_arg_fail(1)) SWIG_fail
;
13959 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
13960 if (SWIG_arg_fail(2)) SWIG_fail
;
13962 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13963 (arg1
)->SetPreviousHandler(arg2
);
13965 wxPyEndAllowThreads(__tstate
);
13966 if (PyErr_Occurred()) SWIG_fail
;
13968 Py_INCREF(Py_None
); resultobj
= Py_None
;
13975 static PyObject
*_wrap_EvtHandler_GetEvtHandlerEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13976 PyObject
*resultobj
;
13977 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
13979 PyObject
* obj0
= 0 ;
13980 char *kwnames
[] = {
13981 (char *) "self", NULL
13984 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EvtHandler_GetEvtHandlerEnabled",kwnames
,&obj0
)) goto fail
;
13985 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
13986 if (SWIG_arg_fail(1)) SWIG_fail
;
13988 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13989 result
= (bool)(arg1
)->GetEvtHandlerEnabled();
13991 wxPyEndAllowThreads(__tstate
);
13992 if (PyErr_Occurred()) SWIG_fail
;
13995 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14003 static PyObject
*_wrap_EvtHandler_SetEvtHandlerEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14004 PyObject
*resultobj
;
14005 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
14007 PyObject
* obj0
= 0 ;
14008 PyObject
* obj1
= 0 ;
14009 char *kwnames
[] = {
14010 (char *) "self",(char *) "enabled", NULL
14013 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EvtHandler_SetEvtHandlerEnabled",kwnames
,&obj0
,&obj1
)) goto fail
;
14014 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
14015 if (SWIG_arg_fail(1)) SWIG_fail
;
14017 arg2
= (bool)(SWIG_As_bool(obj1
));
14018 if (SWIG_arg_fail(2)) SWIG_fail
;
14021 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14022 (arg1
)->SetEvtHandlerEnabled(arg2
);
14024 wxPyEndAllowThreads(__tstate
);
14025 if (PyErr_Occurred()) SWIG_fail
;
14027 Py_INCREF(Py_None
); resultobj
= Py_None
;
14034 static PyObject
*_wrap_EvtHandler_ProcessEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14035 PyObject
*resultobj
;
14036 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
14037 wxEvent
*arg2
= 0 ;
14039 PyObject
* obj0
= 0 ;
14040 PyObject
* obj1
= 0 ;
14041 char *kwnames
[] = {
14042 (char *) "self",(char *) "event", NULL
14045 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EvtHandler_ProcessEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
14046 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
14047 if (SWIG_arg_fail(1)) SWIG_fail
;
14049 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
14050 if (SWIG_arg_fail(2)) SWIG_fail
;
14051 if (arg2
== NULL
) {
14052 SWIG_null_ref("wxEvent");
14054 if (SWIG_arg_fail(2)) SWIG_fail
;
14057 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14058 result
= (bool)(arg1
)->ProcessEvent(*arg2
);
14060 wxPyEndAllowThreads(__tstate
);
14061 if (PyErr_Occurred()) SWIG_fail
;
14064 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14072 static PyObject
*_wrap_EvtHandler_AddPendingEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14073 PyObject
*resultobj
;
14074 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
14075 wxEvent
*arg2
= 0 ;
14076 PyObject
* obj0
= 0 ;
14077 PyObject
* obj1
= 0 ;
14078 char *kwnames
[] = {
14079 (char *) "self",(char *) "event", NULL
14082 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EvtHandler_AddPendingEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
14083 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
14084 if (SWIG_arg_fail(1)) SWIG_fail
;
14086 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
14087 if (SWIG_arg_fail(2)) SWIG_fail
;
14088 if (arg2
== NULL
) {
14089 SWIG_null_ref("wxEvent");
14091 if (SWIG_arg_fail(2)) SWIG_fail
;
14094 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14095 (arg1
)->AddPendingEvent(*arg2
);
14097 wxPyEndAllowThreads(__tstate
);
14098 if (PyErr_Occurred()) SWIG_fail
;
14100 Py_INCREF(Py_None
); resultobj
= Py_None
;
14107 static PyObject
*_wrap_EvtHandler_ProcessPendingEvents(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14108 PyObject
*resultobj
;
14109 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
14110 PyObject
* obj0
= 0 ;
14111 char *kwnames
[] = {
14112 (char *) "self", NULL
14115 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EvtHandler_ProcessPendingEvents",kwnames
,&obj0
)) goto fail
;
14116 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
14117 if (SWIG_arg_fail(1)) SWIG_fail
;
14119 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14120 (arg1
)->ProcessPendingEvents();
14122 wxPyEndAllowThreads(__tstate
);
14123 if (PyErr_Occurred()) SWIG_fail
;
14125 Py_INCREF(Py_None
); resultobj
= Py_None
;
14132 static PyObject
*_wrap_EvtHandler_Connect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14133 PyObject
*resultobj
;
14134 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
14138 PyObject
*arg5
= (PyObject
*) 0 ;
14139 PyObject
* obj0
= 0 ;
14140 PyObject
* obj1
= 0 ;
14141 PyObject
* obj2
= 0 ;
14142 PyObject
* obj3
= 0 ;
14143 PyObject
* obj4
= 0 ;
14144 char *kwnames
[] = {
14145 (char *) "self",(char *) "id",(char *) "lastId",(char *) "eventType",(char *) "func", NULL
14148 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:EvtHandler_Connect",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
14149 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
14150 if (SWIG_arg_fail(1)) SWIG_fail
;
14152 arg2
= (int)(SWIG_As_int(obj1
));
14153 if (SWIG_arg_fail(2)) SWIG_fail
;
14156 arg3
= (int)(SWIG_As_int(obj2
));
14157 if (SWIG_arg_fail(3)) SWIG_fail
;
14160 arg4
= (int)(SWIG_As_int(obj3
));
14161 if (SWIG_arg_fail(4)) SWIG_fail
;
14165 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14166 wxEvtHandler_Connect(arg1
,arg2
,arg3
,arg4
,arg5
);
14168 wxPyEndAllowThreads(__tstate
);
14169 if (PyErr_Occurred()) SWIG_fail
;
14171 Py_INCREF(Py_None
); resultobj
= Py_None
;
14178 static PyObject
*_wrap_EvtHandler_Disconnect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14179 PyObject
*resultobj
;
14180 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
14182 int arg3
= (int) -1 ;
14183 wxEventType arg4
= (wxEventType
) wxEVT_NULL
;
14185 PyObject
* obj0
= 0 ;
14186 PyObject
* obj1
= 0 ;
14187 PyObject
* obj2
= 0 ;
14188 PyObject
* obj3
= 0 ;
14189 char *kwnames
[] = {
14190 (char *) "self",(char *) "id",(char *) "lastId",(char *) "eventType", NULL
14193 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:EvtHandler_Disconnect",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
14194 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
14195 if (SWIG_arg_fail(1)) SWIG_fail
;
14197 arg2
= (int)(SWIG_As_int(obj1
));
14198 if (SWIG_arg_fail(2)) SWIG_fail
;
14202 arg3
= (int)(SWIG_As_int(obj2
));
14203 if (SWIG_arg_fail(3)) SWIG_fail
;
14208 arg4
= (wxEventType
)(SWIG_As_int(obj3
));
14209 if (SWIG_arg_fail(4)) SWIG_fail
;
14213 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14214 result
= (bool)wxEvtHandler_Disconnect(arg1
,arg2
,arg3
,arg4
);
14216 wxPyEndAllowThreads(__tstate
);
14217 if (PyErr_Occurred()) SWIG_fail
;
14220 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14228 static PyObject
*_wrap_EvtHandler__setOORInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14229 PyObject
*resultobj
;
14230 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
14231 PyObject
*arg2
= (PyObject
*) 0 ;
14232 bool arg3
= (bool) true ;
14233 PyObject
* obj0
= 0 ;
14234 PyObject
* obj1
= 0 ;
14235 PyObject
* obj2
= 0 ;
14236 char *kwnames
[] = {
14237 (char *) "self",(char *) "_self",(char *) "incref", NULL
14240 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:EvtHandler__setOORInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14241 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
14242 if (SWIG_arg_fail(1)) SWIG_fail
;
14246 arg3
= (bool)(SWIG_As_bool(obj2
));
14247 if (SWIG_arg_fail(3)) SWIG_fail
;
14251 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14252 wxEvtHandler__setOORInfo(arg1
,arg2
,arg3
);
14254 wxPyEndAllowThreads(__tstate
);
14255 if (PyErr_Occurred()) SWIG_fail
;
14257 Py_INCREF(Py_None
); resultobj
= Py_None
;
14264 static PyObject
* EvtHandler_swigregister(PyObject
*, PyObject
*args
) {
14266 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14267 SWIG_TypeClientData(SWIGTYPE_p_wxEvtHandler
, obj
);
14269 return Py_BuildValue((char *)"");
14271 static PyObject
*_wrap_NewEventType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14272 PyObject
*resultobj
;
14273 wxEventType result
;
14274 char *kwnames
[] = {
14278 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":NewEventType",kwnames
)) goto fail
;
14280 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14281 result
= (wxEventType
)wxNewEventType();
14283 wxPyEndAllowThreads(__tstate
);
14284 if (PyErr_Occurred()) SWIG_fail
;
14287 resultobj
= SWIG_From_int((int)(result
));
14295 static PyObject
*_wrap_delete_Event(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14296 PyObject
*resultobj
;
14297 wxEvent
*arg1
= (wxEvent
*) 0 ;
14298 PyObject
* obj0
= 0 ;
14299 char *kwnames
[] = {
14300 (char *) "self", NULL
14303 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Event",kwnames
,&obj0
)) goto fail
;
14304 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
14305 if (SWIG_arg_fail(1)) SWIG_fail
;
14307 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14310 wxPyEndAllowThreads(__tstate
);
14311 if (PyErr_Occurred()) SWIG_fail
;
14313 Py_INCREF(Py_None
); resultobj
= Py_None
;
14320 static PyObject
*_wrap_Event_SetEventType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14321 PyObject
*resultobj
;
14322 wxEvent
*arg1
= (wxEvent
*) 0 ;
14324 PyObject
* obj0
= 0 ;
14325 PyObject
* obj1
= 0 ;
14326 char *kwnames
[] = {
14327 (char *) "self",(char *) "typ", NULL
14330 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Event_SetEventType",kwnames
,&obj0
,&obj1
)) goto fail
;
14331 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
14332 if (SWIG_arg_fail(1)) SWIG_fail
;
14334 arg2
= (wxEventType
)(SWIG_As_int(obj1
));
14335 if (SWIG_arg_fail(2)) SWIG_fail
;
14338 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14339 (arg1
)->SetEventType(arg2
);
14341 wxPyEndAllowThreads(__tstate
);
14342 if (PyErr_Occurred()) SWIG_fail
;
14344 Py_INCREF(Py_None
); resultobj
= Py_None
;
14351 static PyObject
*_wrap_Event_GetEventType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14352 PyObject
*resultobj
;
14353 wxEvent
*arg1
= (wxEvent
*) 0 ;
14354 wxEventType result
;
14355 PyObject
* obj0
= 0 ;
14356 char *kwnames
[] = {
14357 (char *) "self", NULL
14360 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_GetEventType",kwnames
,&obj0
)) goto fail
;
14361 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
14362 if (SWIG_arg_fail(1)) SWIG_fail
;
14364 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14365 result
= (wxEventType
)((wxEvent
const *)arg1
)->GetEventType();
14367 wxPyEndAllowThreads(__tstate
);
14368 if (PyErr_Occurred()) SWIG_fail
;
14371 resultobj
= SWIG_From_int((int)(result
));
14379 static PyObject
*_wrap_Event_GetEventObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14380 PyObject
*resultobj
;
14381 wxEvent
*arg1
= (wxEvent
*) 0 ;
14383 PyObject
* obj0
= 0 ;
14384 char *kwnames
[] = {
14385 (char *) "self", NULL
14388 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_GetEventObject",kwnames
,&obj0
)) goto fail
;
14389 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
14390 if (SWIG_arg_fail(1)) SWIG_fail
;
14392 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14393 result
= (wxObject
*)((wxEvent
const *)arg1
)->GetEventObject();
14395 wxPyEndAllowThreads(__tstate
);
14396 if (PyErr_Occurred()) SWIG_fail
;
14399 resultobj
= wxPyMake_wxObject(result
, 0);
14407 static PyObject
*_wrap_Event_SetEventObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14408 PyObject
*resultobj
;
14409 wxEvent
*arg1
= (wxEvent
*) 0 ;
14410 wxObject
*arg2
= (wxObject
*) 0 ;
14411 PyObject
* obj0
= 0 ;
14412 PyObject
* obj1
= 0 ;
14413 char *kwnames
[] = {
14414 (char *) "self",(char *) "obj", NULL
14417 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Event_SetEventObject",kwnames
,&obj0
,&obj1
)) goto fail
;
14418 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
14419 if (SWIG_arg_fail(1)) SWIG_fail
;
14420 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxObject
, SWIG_POINTER_EXCEPTION
| 0);
14421 if (SWIG_arg_fail(2)) SWIG_fail
;
14423 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14424 (arg1
)->SetEventObject(arg2
);
14426 wxPyEndAllowThreads(__tstate
);
14427 if (PyErr_Occurred()) SWIG_fail
;
14429 Py_INCREF(Py_None
); resultobj
= Py_None
;
14436 static PyObject
*_wrap_Event_GetTimestamp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14437 PyObject
*resultobj
;
14438 wxEvent
*arg1
= (wxEvent
*) 0 ;
14440 PyObject
* obj0
= 0 ;
14441 char *kwnames
[] = {
14442 (char *) "self", NULL
14445 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_GetTimestamp",kwnames
,&obj0
)) goto fail
;
14446 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
14447 if (SWIG_arg_fail(1)) SWIG_fail
;
14449 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14450 result
= (long)((wxEvent
const *)arg1
)->GetTimestamp();
14452 wxPyEndAllowThreads(__tstate
);
14453 if (PyErr_Occurred()) SWIG_fail
;
14456 resultobj
= SWIG_From_long((long)(result
));
14464 static PyObject
*_wrap_Event_SetTimestamp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14465 PyObject
*resultobj
;
14466 wxEvent
*arg1
= (wxEvent
*) 0 ;
14467 long arg2
= (long) 0 ;
14468 PyObject
* obj0
= 0 ;
14469 PyObject
* obj1
= 0 ;
14470 char *kwnames
[] = {
14471 (char *) "self",(char *) "ts", NULL
14474 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Event_SetTimestamp",kwnames
,&obj0
,&obj1
)) goto fail
;
14475 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
14476 if (SWIG_arg_fail(1)) SWIG_fail
;
14479 arg2
= (long)(SWIG_As_long(obj1
));
14480 if (SWIG_arg_fail(2)) SWIG_fail
;
14484 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14485 (arg1
)->SetTimestamp(arg2
);
14487 wxPyEndAllowThreads(__tstate
);
14488 if (PyErr_Occurred()) SWIG_fail
;
14490 Py_INCREF(Py_None
); resultobj
= Py_None
;
14497 static PyObject
*_wrap_Event_GetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14498 PyObject
*resultobj
;
14499 wxEvent
*arg1
= (wxEvent
*) 0 ;
14501 PyObject
* obj0
= 0 ;
14502 char *kwnames
[] = {
14503 (char *) "self", NULL
14506 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_GetId",kwnames
,&obj0
)) goto fail
;
14507 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
14508 if (SWIG_arg_fail(1)) SWIG_fail
;
14510 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14511 result
= (int)((wxEvent
const *)arg1
)->GetId();
14513 wxPyEndAllowThreads(__tstate
);
14514 if (PyErr_Occurred()) SWIG_fail
;
14517 resultobj
= SWIG_From_int((int)(result
));
14525 static PyObject
*_wrap_Event_SetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14526 PyObject
*resultobj
;
14527 wxEvent
*arg1
= (wxEvent
*) 0 ;
14529 PyObject
* obj0
= 0 ;
14530 PyObject
* obj1
= 0 ;
14531 char *kwnames
[] = {
14532 (char *) "self",(char *) "Id", NULL
14535 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Event_SetId",kwnames
,&obj0
,&obj1
)) goto fail
;
14536 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
14537 if (SWIG_arg_fail(1)) SWIG_fail
;
14539 arg2
= (int)(SWIG_As_int(obj1
));
14540 if (SWIG_arg_fail(2)) SWIG_fail
;
14543 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14544 (arg1
)->SetId(arg2
);
14546 wxPyEndAllowThreads(__tstate
);
14547 if (PyErr_Occurred()) SWIG_fail
;
14549 Py_INCREF(Py_None
); resultobj
= Py_None
;
14556 static PyObject
*_wrap_Event_IsCommandEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14557 PyObject
*resultobj
;
14558 wxEvent
*arg1
= (wxEvent
*) 0 ;
14560 PyObject
* obj0
= 0 ;
14561 char *kwnames
[] = {
14562 (char *) "self", NULL
14565 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_IsCommandEvent",kwnames
,&obj0
)) goto fail
;
14566 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
14567 if (SWIG_arg_fail(1)) SWIG_fail
;
14569 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14570 result
= (bool)((wxEvent
const *)arg1
)->IsCommandEvent();
14572 wxPyEndAllowThreads(__tstate
);
14573 if (PyErr_Occurred()) SWIG_fail
;
14576 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14584 static PyObject
*_wrap_Event_Skip(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14585 PyObject
*resultobj
;
14586 wxEvent
*arg1
= (wxEvent
*) 0 ;
14587 bool arg2
= (bool) true ;
14588 PyObject
* obj0
= 0 ;
14589 PyObject
* obj1
= 0 ;
14590 char *kwnames
[] = {
14591 (char *) "self",(char *) "skip", NULL
14594 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Event_Skip",kwnames
,&obj0
,&obj1
)) goto fail
;
14595 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
14596 if (SWIG_arg_fail(1)) SWIG_fail
;
14599 arg2
= (bool)(SWIG_As_bool(obj1
));
14600 if (SWIG_arg_fail(2)) SWIG_fail
;
14604 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14605 (arg1
)->Skip(arg2
);
14607 wxPyEndAllowThreads(__tstate
);
14608 if (PyErr_Occurred()) SWIG_fail
;
14610 Py_INCREF(Py_None
); resultobj
= Py_None
;
14617 static PyObject
*_wrap_Event_GetSkipped(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14618 PyObject
*resultobj
;
14619 wxEvent
*arg1
= (wxEvent
*) 0 ;
14621 PyObject
* obj0
= 0 ;
14622 char *kwnames
[] = {
14623 (char *) "self", NULL
14626 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_GetSkipped",kwnames
,&obj0
)) goto fail
;
14627 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
14628 if (SWIG_arg_fail(1)) SWIG_fail
;
14630 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14631 result
= (bool)((wxEvent
const *)arg1
)->GetSkipped();
14633 wxPyEndAllowThreads(__tstate
);
14634 if (PyErr_Occurred()) SWIG_fail
;
14637 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14645 static PyObject
*_wrap_Event_ShouldPropagate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14646 PyObject
*resultobj
;
14647 wxEvent
*arg1
= (wxEvent
*) 0 ;
14649 PyObject
* obj0
= 0 ;
14650 char *kwnames
[] = {
14651 (char *) "self", NULL
14654 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_ShouldPropagate",kwnames
,&obj0
)) goto fail
;
14655 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
14656 if (SWIG_arg_fail(1)) SWIG_fail
;
14658 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14659 result
= (bool)((wxEvent
const *)arg1
)->ShouldPropagate();
14661 wxPyEndAllowThreads(__tstate
);
14662 if (PyErr_Occurred()) SWIG_fail
;
14665 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14673 static PyObject
*_wrap_Event_StopPropagation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14674 PyObject
*resultobj
;
14675 wxEvent
*arg1
= (wxEvent
*) 0 ;
14677 PyObject
* obj0
= 0 ;
14678 char *kwnames
[] = {
14679 (char *) "self", NULL
14682 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_StopPropagation",kwnames
,&obj0
)) goto fail
;
14683 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
14684 if (SWIG_arg_fail(1)) SWIG_fail
;
14686 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14687 result
= (int)(arg1
)->StopPropagation();
14689 wxPyEndAllowThreads(__tstate
);
14690 if (PyErr_Occurred()) SWIG_fail
;
14693 resultobj
= SWIG_From_int((int)(result
));
14701 static PyObject
*_wrap_Event_ResumePropagation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14702 PyObject
*resultobj
;
14703 wxEvent
*arg1
= (wxEvent
*) 0 ;
14705 PyObject
* obj0
= 0 ;
14706 PyObject
* obj1
= 0 ;
14707 char *kwnames
[] = {
14708 (char *) "self",(char *) "propagationLevel", NULL
14711 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Event_ResumePropagation",kwnames
,&obj0
,&obj1
)) goto fail
;
14712 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
14713 if (SWIG_arg_fail(1)) SWIG_fail
;
14715 arg2
= (int)(SWIG_As_int(obj1
));
14716 if (SWIG_arg_fail(2)) SWIG_fail
;
14719 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14720 (arg1
)->ResumePropagation(arg2
);
14722 wxPyEndAllowThreads(__tstate
);
14723 if (PyErr_Occurred()) SWIG_fail
;
14725 Py_INCREF(Py_None
); resultobj
= Py_None
;
14732 static PyObject
*_wrap_Event_Clone(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14733 PyObject
*resultobj
;
14734 wxEvent
*arg1
= (wxEvent
*) 0 ;
14736 PyObject
* obj0
= 0 ;
14737 char *kwnames
[] = {
14738 (char *) "self", NULL
14741 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_Clone",kwnames
,&obj0
)) goto fail
;
14742 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
14743 if (SWIG_arg_fail(1)) SWIG_fail
;
14745 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14746 result
= (wxEvent
*)(arg1
)->Clone();
14748 wxPyEndAllowThreads(__tstate
);
14749 if (PyErr_Occurred()) SWIG_fail
;
14751 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxEvent
, 0);
14758 static PyObject
* Event_swigregister(PyObject
*, PyObject
*args
) {
14760 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14761 SWIG_TypeClientData(SWIGTYPE_p_wxEvent
, obj
);
14763 return Py_BuildValue((char *)"");
14765 static PyObject
*_wrap_new_PropagationDisabler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14766 PyObject
*resultobj
;
14767 wxEvent
*arg1
= 0 ;
14768 wxPropagationDisabler
*result
;
14769 PyObject
* obj0
= 0 ;
14770 char *kwnames
[] = {
14771 (char *) "event", NULL
14774 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PropagationDisabler",kwnames
,&obj0
)) goto fail
;
14776 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
14777 if (SWIG_arg_fail(1)) SWIG_fail
;
14778 if (arg1
== NULL
) {
14779 SWIG_null_ref("wxEvent");
14781 if (SWIG_arg_fail(1)) SWIG_fail
;
14784 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14785 result
= (wxPropagationDisabler
*)new wxPropagationDisabler(*arg1
);
14787 wxPyEndAllowThreads(__tstate
);
14788 if (PyErr_Occurred()) SWIG_fail
;
14790 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPropagationDisabler
, 1);
14797 static PyObject
*_wrap_delete_PropagationDisabler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14798 PyObject
*resultobj
;
14799 wxPropagationDisabler
*arg1
= (wxPropagationDisabler
*) 0 ;
14800 PyObject
* obj0
= 0 ;
14801 char *kwnames
[] = {
14802 (char *) "self", NULL
14805 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PropagationDisabler",kwnames
,&obj0
)) goto fail
;
14806 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPropagationDisabler
, SWIG_POINTER_EXCEPTION
| 0);
14807 if (SWIG_arg_fail(1)) SWIG_fail
;
14809 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14812 wxPyEndAllowThreads(__tstate
);
14813 if (PyErr_Occurred()) SWIG_fail
;
14815 Py_INCREF(Py_None
); resultobj
= Py_None
;
14822 static PyObject
* PropagationDisabler_swigregister(PyObject
*, PyObject
*args
) {
14824 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14825 SWIG_TypeClientData(SWIGTYPE_p_wxPropagationDisabler
, obj
);
14827 return Py_BuildValue((char *)"");
14829 static PyObject
*_wrap_new_PropagateOnce(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14830 PyObject
*resultobj
;
14831 wxEvent
*arg1
= 0 ;
14832 wxPropagateOnce
*result
;
14833 PyObject
* obj0
= 0 ;
14834 char *kwnames
[] = {
14835 (char *) "event", NULL
14838 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PropagateOnce",kwnames
,&obj0
)) goto fail
;
14840 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
14841 if (SWIG_arg_fail(1)) SWIG_fail
;
14842 if (arg1
== NULL
) {
14843 SWIG_null_ref("wxEvent");
14845 if (SWIG_arg_fail(1)) SWIG_fail
;
14848 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14849 result
= (wxPropagateOnce
*)new wxPropagateOnce(*arg1
);
14851 wxPyEndAllowThreads(__tstate
);
14852 if (PyErr_Occurred()) SWIG_fail
;
14854 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPropagateOnce
, 1);
14861 static PyObject
*_wrap_delete_PropagateOnce(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14862 PyObject
*resultobj
;
14863 wxPropagateOnce
*arg1
= (wxPropagateOnce
*) 0 ;
14864 PyObject
* obj0
= 0 ;
14865 char *kwnames
[] = {
14866 (char *) "self", NULL
14869 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PropagateOnce",kwnames
,&obj0
)) goto fail
;
14870 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPropagateOnce
, SWIG_POINTER_EXCEPTION
| 0);
14871 if (SWIG_arg_fail(1)) SWIG_fail
;
14873 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14876 wxPyEndAllowThreads(__tstate
);
14877 if (PyErr_Occurred()) SWIG_fail
;
14879 Py_INCREF(Py_None
); resultobj
= Py_None
;
14886 static PyObject
* PropagateOnce_swigregister(PyObject
*, PyObject
*args
) {
14888 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14889 SWIG_TypeClientData(SWIGTYPE_p_wxPropagateOnce
, obj
);
14891 return Py_BuildValue((char *)"");
14893 static PyObject
*_wrap_new_CommandEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14894 PyObject
*resultobj
;
14895 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
14896 int arg2
= (int) 0 ;
14897 wxCommandEvent
*result
;
14898 PyObject
* obj0
= 0 ;
14899 PyObject
* obj1
= 0 ;
14900 char *kwnames
[] = {
14901 (char *) "commandType",(char *) "winid", NULL
14904 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_CommandEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
14907 arg1
= (wxEventType
)(SWIG_As_int(obj0
));
14908 if (SWIG_arg_fail(1)) SWIG_fail
;
14913 arg2
= (int)(SWIG_As_int(obj1
));
14914 if (SWIG_arg_fail(2)) SWIG_fail
;
14918 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14919 result
= (wxCommandEvent
*)new wxCommandEvent(arg1
,arg2
);
14921 wxPyEndAllowThreads(__tstate
);
14922 if (PyErr_Occurred()) SWIG_fail
;
14924 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCommandEvent
, 1);
14931 static PyObject
*_wrap_CommandEvent_GetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14932 PyObject
*resultobj
;
14933 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
14935 PyObject
* obj0
= 0 ;
14936 char *kwnames
[] = {
14937 (char *) "self", NULL
14940 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CommandEvent_GetSelection",kwnames
,&obj0
)) goto fail
;
14941 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCommandEvent
, SWIG_POINTER_EXCEPTION
| 0);
14942 if (SWIG_arg_fail(1)) SWIG_fail
;
14944 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14945 result
= (int)((wxCommandEvent
const *)arg1
)->GetSelection();
14947 wxPyEndAllowThreads(__tstate
);
14948 if (PyErr_Occurred()) SWIG_fail
;
14951 resultobj
= SWIG_From_int((int)(result
));
14959 static PyObject
*_wrap_CommandEvent_SetString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14960 PyObject
*resultobj
;
14961 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
14962 wxString
*arg2
= 0 ;
14963 bool temp2
= false ;
14964 PyObject
* obj0
= 0 ;
14965 PyObject
* obj1
= 0 ;
14966 char *kwnames
[] = {
14967 (char *) "self",(char *) "s", NULL
14970 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CommandEvent_SetString",kwnames
,&obj0
,&obj1
)) goto fail
;
14971 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCommandEvent
, SWIG_POINTER_EXCEPTION
| 0);
14972 if (SWIG_arg_fail(1)) SWIG_fail
;
14974 arg2
= wxString_in_helper(obj1
);
14975 if (arg2
== NULL
) SWIG_fail
;
14979 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14980 (arg1
)->SetString((wxString
const &)*arg2
);
14982 wxPyEndAllowThreads(__tstate
);
14983 if (PyErr_Occurred()) SWIG_fail
;
14985 Py_INCREF(Py_None
); resultobj
= Py_None
;
15000 static PyObject
*_wrap_CommandEvent_GetString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15001 PyObject
*resultobj
;
15002 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
15004 PyObject
* obj0
= 0 ;
15005 char *kwnames
[] = {
15006 (char *) "self", NULL
15009 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CommandEvent_GetString",kwnames
,&obj0
)) goto fail
;
15010 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCommandEvent
, SWIG_POINTER_EXCEPTION
| 0);
15011 if (SWIG_arg_fail(1)) SWIG_fail
;
15013 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15014 result
= ((wxCommandEvent
const *)arg1
)->GetString();
15016 wxPyEndAllowThreads(__tstate
);
15017 if (PyErr_Occurred()) SWIG_fail
;
15021 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
15023 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
15032 static PyObject
*_wrap_CommandEvent_IsChecked(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15033 PyObject
*resultobj
;
15034 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
15036 PyObject
* obj0
= 0 ;
15037 char *kwnames
[] = {
15038 (char *) "self", NULL
15041 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CommandEvent_IsChecked",kwnames
,&obj0
)) goto fail
;
15042 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCommandEvent
, SWIG_POINTER_EXCEPTION
| 0);
15043 if (SWIG_arg_fail(1)) SWIG_fail
;
15045 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15046 result
= (bool)((wxCommandEvent
const *)arg1
)->IsChecked();
15048 wxPyEndAllowThreads(__tstate
);
15049 if (PyErr_Occurred()) SWIG_fail
;
15052 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15060 static PyObject
*_wrap_CommandEvent_IsSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15061 PyObject
*resultobj
;
15062 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
15064 PyObject
* obj0
= 0 ;
15065 char *kwnames
[] = {
15066 (char *) "self", NULL
15069 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CommandEvent_IsSelection",kwnames
,&obj0
)) goto fail
;
15070 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCommandEvent
, SWIG_POINTER_EXCEPTION
| 0);
15071 if (SWIG_arg_fail(1)) SWIG_fail
;
15073 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15074 result
= (bool)((wxCommandEvent
const *)arg1
)->IsSelection();
15076 wxPyEndAllowThreads(__tstate
);
15077 if (PyErr_Occurred()) SWIG_fail
;
15080 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15088 static PyObject
*_wrap_CommandEvent_SetExtraLong(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15089 PyObject
*resultobj
;
15090 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
15092 PyObject
* obj0
= 0 ;
15093 PyObject
* obj1
= 0 ;
15094 char *kwnames
[] = {
15095 (char *) "self",(char *) "extraLong", NULL
15098 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CommandEvent_SetExtraLong",kwnames
,&obj0
,&obj1
)) goto fail
;
15099 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCommandEvent
, SWIG_POINTER_EXCEPTION
| 0);
15100 if (SWIG_arg_fail(1)) SWIG_fail
;
15102 arg2
= (long)(SWIG_As_long(obj1
));
15103 if (SWIG_arg_fail(2)) SWIG_fail
;
15106 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15107 (arg1
)->SetExtraLong(arg2
);
15109 wxPyEndAllowThreads(__tstate
);
15110 if (PyErr_Occurred()) SWIG_fail
;
15112 Py_INCREF(Py_None
); resultobj
= Py_None
;
15119 static PyObject
*_wrap_CommandEvent_GetExtraLong(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15120 PyObject
*resultobj
;
15121 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
15123 PyObject
* obj0
= 0 ;
15124 char *kwnames
[] = {
15125 (char *) "self", NULL
15128 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CommandEvent_GetExtraLong",kwnames
,&obj0
)) goto fail
;
15129 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCommandEvent
, SWIG_POINTER_EXCEPTION
| 0);
15130 if (SWIG_arg_fail(1)) SWIG_fail
;
15132 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15133 result
= (long)((wxCommandEvent
const *)arg1
)->GetExtraLong();
15135 wxPyEndAllowThreads(__tstate
);
15136 if (PyErr_Occurred()) SWIG_fail
;
15139 resultobj
= SWIG_From_long((long)(result
));
15147 static PyObject
*_wrap_CommandEvent_SetInt(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15148 PyObject
*resultobj
;
15149 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
15151 PyObject
* obj0
= 0 ;
15152 PyObject
* obj1
= 0 ;
15153 char *kwnames
[] = {
15154 (char *) "self",(char *) "i", NULL
15157 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CommandEvent_SetInt",kwnames
,&obj0
,&obj1
)) goto fail
;
15158 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCommandEvent
, SWIG_POINTER_EXCEPTION
| 0);
15159 if (SWIG_arg_fail(1)) SWIG_fail
;
15161 arg2
= (int)(SWIG_As_int(obj1
));
15162 if (SWIG_arg_fail(2)) SWIG_fail
;
15165 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15166 (arg1
)->SetInt(arg2
);
15168 wxPyEndAllowThreads(__tstate
);
15169 if (PyErr_Occurred()) SWIG_fail
;
15171 Py_INCREF(Py_None
); resultobj
= Py_None
;
15178 static PyObject
*_wrap_CommandEvent_GetInt(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15179 PyObject
*resultobj
;
15180 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
15182 PyObject
* obj0
= 0 ;
15183 char *kwnames
[] = {
15184 (char *) "self", NULL
15187 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CommandEvent_GetInt",kwnames
,&obj0
)) goto fail
;
15188 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCommandEvent
, SWIG_POINTER_EXCEPTION
| 0);
15189 if (SWIG_arg_fail(1)) SWIG_fail
;
15191 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15192 result
= (long)((wxCommandEvent
const *)arg1
)->GetInt();
15194 wxPyEndAllowThreads(__tstate
);
15195 if (PyErr_Occurred()) SWIG_fail
;
15198 resultobj
= SWIG_From_long((long)(result
));
15206 static PyObject
*_wrap_CommandEvent_Clone(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15207 PyObject
*resultobj
;
15208 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
15210 PyObject
* obj0
= 0 ;
15211 char *kwnames
[] = {
15212 (char *) "self", NULL
15215 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CommandEvent_Clone",kwnames
,&obj0
)) goto fail
;
15216 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCommandEvent
, SWIG_POINTER_EXCEPTION
| 0);
15217 if (SWIG_arg_fail(1)) SWIG_fail
;
15219 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15220 result
= (wxEvent
*)((wxCommandEvent
const *)arg1
)->Clone();
15222 wxPyEndAllowThreads(__tstate
);
15223 if (PyErr_Occurred()) SWIG_fail
;
15225 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxEvent
, 0);
15232 static PyObject
* CommandEvent_swigregister(PyObject
*, PyObject
*args
) {
15234 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15235 SWIG_TypeClientData(SWIGTYPE_p_wxCommandEvent
, obj
);
15237 return Py_BuildValue((char *)"");
15239 static PyObject
*_wrap_new_NotifyEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15240 PyObject
*resultobj
;
15241 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
15242 int arg2
= (int) 0 ;
15243 wxNotifyEvent
*result
;
15244 PyObject
* obj0
= 0 ;
15245 PyObject
* obj1
= 0 ;
15246 char *kwnames
[] = {
15247 (char *) "commandType",(char *) "winid", NULL
15250 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_NotifyEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
15253 arg1
= (wxEventType
)(SWIG_As_int(obj0
));
15254 if (SWIG_arg_fail(1)) SWIG_fail
;
15259 arg2
= (int)(SWIG_As_int(obj1
));
15260 if (SWIG_arg_fail(2)) SWIG_fail
;
15264 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15265 result
= (wxNotifyEvent
*)new wxNotifyEvent(arg1
,arg2
);
15267 wxPyEndAllowThreads(__tstate
);
15268 if (PyErr_Occurred()) SWIG_fail
;
15270 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNotifyEvent
, 1);
15277 static PyObject
*_wrap_NotifyEvent_Veto(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15278 PyObject
*resultobj
;
15279 wxNotifyEvent
*arg1
= (wxNotifyEvent
*) 0 ;
15280 PyObject
* obj0
= 0 ;
15281 char *kwnames
[] = {
15282 (char *) "self", NULL
15285 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NotifyEvent_Veto",kwnames
,&obj0
)) goto fail
;
15286 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNotifyEvent
, SWIG_POINTER_EXCEPTION
| 0);
15287 if (SWIG_arg_fail(1)) SWIG_fail
;
15289 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15292 wxPyEndAllowThreads(__tstate
);
15293 if (PyErr_Occurred()) SWIG_fail
;
15295 Py_INCREF(Py_None
); resultobj
= Py_None
;
15302 static PyObject
*_wrap_NotifyEvent_Allow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15303 PyObject
*resultobj
;
15304 wxNotifyEvent
*arg1
= (wxNotifyEvent
*) 0 ;
15305 PyObject
* obj0
= 0 ;
15306 char *kwnames
[] = {
15307 (char *) "self", NULL
15310 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NotifyEvent_Allow",kwnames
,&obj0
)) goto fail
;
15311 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNotifyEvent
, SWIG_POINTER_EXCEPTION
| 0);
15312 if (SWIG_arg_fail(1)) SWIG_fail
;
15314 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15317 wxPyEndAllowThreads(__tstate
);
15318 if (PyErr_Occurred()) SWIG_fail
;
15320 Py_INCREF(Py_None
); resultobj
= Py_None
;
15327 static PyObject
*_wrap_NotifyEvent_IsAllowed(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15328 PyObject
*resultobj
;
15329 wxNotifyEvent
*arg1
= (wxNotifyEvent
*) 0 ;
15331 PyObject
* obj0
= 0 ;
15332 char *kwnames
[] = {
15333 (char *) "self", NULL
15336 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NotifyEvent_IsAllowed",kwnames
,&obj0
)) goto fail
;
15337 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNotifyEvent
, SWIG_POINTER_EXCEPTION
| 0);
15338 if (SWIG_arg_fail(1)) SWIG_fail
;
15340 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15341 result
= (bool)(arg1
)->IsAllowed();
15343 wxPyEndAllowThreads(__tstate
);
15344 if (PyErr_Occurred()) SWIG_fail
;
15347 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15355 static PyObject
* NotifyEvent_swigregister(PyObject
*, PyObject
*args
) {
15357 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15358 SWIG_TypeClientData(SWIGTYPE_p_wxNotifyEvent
, obj
);
15360 return Py_BuildValue((char *)"");
15362 static PyObject
*_wrap_new_ScrollEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15363 PyObject
*resultobj
;
15364 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
15365 int arg2
= (int) 0 ;
15366 int arg3
= (int) 0 ;
15367 int arg4
= (int) 0 ;
15368 wxScrollEvent
*result
;
15369 PyObject
* obj0
= 0 ;
15370 PyObject
* obj1
= 0 ;
15371 PyObject
* obj2
= 0 ;
15372 PyObject
* obj3
= 0 ;
15373 char *kwnames
[] = {
15374 (char *) "commandType",(char *) "winid",(char *) "pos",(char *) "orient", NULL
15377 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_ScrollEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
15380 arg1
= (wxEventType
)(SWIG_As_int(obj0
));
15381 if (SWIG_arg_fail(1)) SWIG_fail
;
15386 arg2
= (int)(SWIG_As_int(obj1
));
15387 if (SWIG_arg_fail(2)) SWIG_fail
;
15392 arg3
= (int)(SWIG_As_int(obj2
));
15393 if (SWIG_arg_fail(3)) SWIG_fail
;
15398 arg4
= (int)(SWIG_As_int(obj3
));
15399 if (SWIG_arg_fail(4)) SWIG_fail
;
15403 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15404 result
= (wxScrollEvent
*)new wxScrollEvent(arg1
,arg2
,arg3
,arg4
);
15406 wxPyEndAllowThreads(__tstate
);
15407 if (PyErr_Occurred()) SWIG_fail
;
15409 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxScrollEvent
, 1);
15416 static PyObject
*_wrap_ScrollEvent_GetOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15417 PyObject
*resultobj
;
15418 wxScrollEvent
*arg1
= (wxScrollEvent
*) 0 ;
15420 PyObject
* obj0
= 0 ;
15421 char *kwnames
[] = {
15422 (char *) "self", NULL
15425 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollEvent_GetOrientation",kwnames
,&obj0
)) goto fail
;
15426 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrollEvent
, SWIG_POINTER_EXCEPTION
| 0);
15427 if (SWIG_arg_fail(1)) SWIG_fail
;
15429 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15430 result
= (int)((wxScrollEvent
const *)arg1
)->GetOrientation();
15432 wxPyEndAllowThreads(__tstate
);
15433 if (PyErr_Occurred()) SWIG_fail
;
15436 resultobj
= SWIG_From_int((int)(result
));
15444 static PyObject
*_wrap_ScrollEvent_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15445 PyObject
*resultobj
;
15446 wxScrollEvent
*arg1
= (wxScrollEvent
*) 0 ;
15448 PyObject
* obj0
= 0 ;
15449 char *kwnames
[] = {
15450 (char *) "self", NULL
15453 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
15454 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrollEvent
, SWIG_POINTER_EXCEPTION
| 0);
15455 if (SWIG_arg_fail(1)) SWIG_fail
;
15457 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15458 result
= (int)((wxScrollEvent
const *)arg1
)->GetPosition();
15460 wxPyEndAllowThreads(__tstate
);
15461 if (PyErr_Occurred()) SWIG_fail
;
15464 resultobj
= SWIG_From_int((int)(result
));
15472 static PyObject
*_wrap_ScrollEvent_SetOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15473 PyObject
*resultobj
;
15474 wxScrollEvent
*arg1
= (wxScrollEvent
*) 0 ;
15476 PyObject
* obj0
= 0 ;
15477 PyObject
* obj1
= 0 ;
15478 char *kwnames
[] = {
15479 (char *) "self",(char *) "orient", NULL
15482 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrollEvent_SetOrientation",kwnames
,&obj0
,&obj1
)) goto fail
;
15483 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrollEvent
, SWIG_POINTER_EXCEPTION
| 0);
15484 if (SWIG_arg_fail(1)) SWIG_fail
;
15486 arg2
= (int)(SWIG_As_int(obj1
));
15487 if (SWIG_arg_fail(2)) SWIG_fail
;
15490 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15491 (arg1
)->SetOrientation(arg2
);
15493 wxPyEndAllowThreads(__tstate
);
15494 if (PyErr_Occurred()) SWIG_fail
;
15496 Py_INCREF(Py_None
); resultobj
= Py_None
;
15503 static PyObject
*_wrap_ScrollEvent_SetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15504 PyObject
*resultobj
;
15505 wxScrollEvent
*arg1
= (wxScrollEvent
*) 0 ;
15507 PyObject
* obj0
= 0 ;
15508 PyObject
* obj1
= 0 ;
15509 char *kwnames
[] = {
15510 (char *) "self",(char *) "pos", NULL
15513 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrollEvent_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
15514 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrollEvent
, SWIG_POINTER_EXCEPTION
| 0);
15515 if (SWIG_arg_fail(1)) SWIG_fail
;
15517 arg2
= (int)(SWIG_As_int(obj1
));
15518 if (SWIG_arg_fail(2)) SWIG_fail
;
15521 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15522 (arg1
)->SetPosition(arg2
);
15524 wxPyEndAllowThreads(__tstate
);
15525 if (PyErr_Occurred()) SWIG_fail
;
15527 Py_INCREF(Py_None
); resultobj
= Py_None
;
15534 static PyObject
* ScrollEvent_swigregister(PyObject
*, PyObject
*args
) {
15536 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15537 SWIG_TypeClientData(SWIGTYPE_p_wxScrollEvent
, obj
);
15539 return Py_BuildValue((char *)"");
15541 static PyObject
*_wrap_new_ScrollWinEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15542 PyObject
*resultobj
;
15543 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
15544 int arg2
= (int) 0 ;
15545 int arg3
= (int) 0 ;
15546 wxScrollWinEvent
*result
;
15547 PyObject
* obj0
= 0 ;
15548 PyObject
* obj1
= 0 ;
15549 PyObject
* obj2
= 0 ;
15550 char *kwnames
[] = {
15551 (char *) "commandType",(char *) "pos",(char *) "orient", NULL
15554 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_ScrollWinEvent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15557 arg1
= (wxEventType
)(SWIG_As_int(obj0
));
15558 if (SWIG_arg_fail(1)) SWIG_fail
;
15563 arg2
= (int)(SWIG_As_int(obj1
));
15564 if (SWIG_arg_fail(2)) SWIG_fail
;
15569 arg3
= (int)(SWIG_As_int(obj2
));
15570 if (SWIG_arg_fail(3)) SWIG_fail
;
15574 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15575 result
= (wxScrollWinEvent
*)new wxScrollWinEvent(arg1
,arg2
,arg3
);
15577 wxPyEndAllowThreads(__tstate
);
15578 if (PyErr_Occurred()) SWIG_fail
;
15580 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxScrollWinEvent
, 1);
15587 static PyObject
*_wrap_ScrollWinEvent_GetOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15588 PyObject
*resultobj
;
15589 wxScrollWinEvent
*arg1
= (wxScrollWinEvent
*) 0 ;
15591 PyObject
* obj0
= 0 ;
15592 char *kwnames
[] = {
15593 (char *) "self", NULL
15596 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollWinEvent_GetOrientation",kwnames
,&obj0
)) goto fail
;
15597 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrollWinEvent
, SWIG_POINTER_EXCEPTION
| 0);
15598 if (SWIG_arg_fail(1)) SWIG_fail
;
15600 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15601 result
= (int)((wxScrollWinEvent
const *)arg1
)->GetOrientation();
15603 wxPyEndAllowThreads(__tstate
);
15604 if (PyErr_Occurred()) SWIG_fail
;
15607 resultobj
= SWIG_From_int((int)(result
));
15615 static PyObject
*_wrap_ScrollWinEvent_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15616 PyObject
*resultobj
;
15617 wxScrollWinEvent
*arg1
= (wxScrollWinEvent
*) 0 ;
15619 PyObject
* obj0
= 0 ;
15620 char *kwnames
[] = {
15621 (char *) "self", NULL
15624 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollWinEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
15625 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrollWinEvent
, SWIG_POINTER_EXCEPTION
| 0);
15626 if (SWIG_arg_fail(1)) SWIG_fail
;
15628 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15629 result
= (int)((wxScrollWinEvent
const *)arg1
)->GetPosition();
15631 wxPyEndAllowThreads(__tstate
);
15632 if (PyErr_Occurred()) SWIG_fail
;
15635 resultobj
= SWIG_From_int((int)(result
));
15643 static PyObject
*_wrap_ScrollWinEvent_SetOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15644 PyObject
*resultobj
;
15645 wxScrollWinEvent
*arg1
= (wxScrollWinEvent
*) 0 ;
15647 PyObject
* obj0
= 0 ;
15648 PyObject
* obj1
= 0 ;
15649 char *kwnames
[] = {
15650 (char *) "self",(char *) "orient", NULL
15653 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrollWinEvent_SetOrientation",kwnames
,&obj0
,&obj1
)) goto fail
;
15654 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrollWinEvent
, SWIG_POINTER_EXCEPTION
| 0);
15655 if (SWIG_arg_fail(1)) SWIG_fail
;
15657 arg2
= (int)(SWIG_As_int(obj1
));
15658 if (SWIG_arg_fail(2)) SWIG_fail
;
15661 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15662 (arg1
)->SetOrientation(arg2
);
15664 wxPyEndAllowThreads(__tstate
);
15665 if (PyErr_Occurred()) SWIG_fail
;
15667 Py_INCREF(Py_None
); resultobj
= Py_None
;
15674 static PyObject
*_wrap_ScrollWinEvent_SetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15675 PyObject
*resultobj
;
15676 wxScrollWinEvent
*arg1
= (wxScrollWinEvent
*) 0 ;
15678 PyObject
* obj0
= 0 ;
15679 PyObject
* obj1
= 0 ;
15680 char *kwnames
[] = {
15681 (char *) "self",(char *) "pos", NULL
15684 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrollWinEvent_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
15685 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrollWinEvent
, SWIG_POINTER_EXCEPTION
| 0);
15686 if (SWIG_arg_fail(1)) SWIG_fail
;
15688 arg2
= (int)(SWIG_As_int(obj1
));
15689 if (SWIG_arg_fail(2)) SWIG_fail
;
15692 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15693 (arg1
)->SetPosition(arg2
);
15695 wxPyEndAllowThreads(__tstate
);
15696 if (PyErr_Occurred()) SWIG_fail
;
15698 Py_INCREF(Py_None
); resultobj
= Py_None
;
15705 static PyObject
* ScrollWinEvent_swigregister(PyObject
*, PyObject
*args
) {
15707 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15708 SWIG_TypeClientData(SWIGTYPE_p_wxScrollWinEvent
, obj
);
15710 return Py_BuildValue((char *)"");
15712 static PyObject
*_wrap_new_MouseEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15713 PyObject
*resultobj
;
15714 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
15715 wxMouseEvent
*result
;
15716 PyObject
* obj0
= 0 ;
15717 char *kwnames
[] = {
15718 (char *) "mouseType", NULL
15721 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_MouseEvent",kwnames
,&obj0
)) goto fail
;
15724 arg1
= (wxEventType
)(SWIG_As_int(obj0
));
15725 if (SWIG_arg_fail(1)) SWIG_fail
;
15729 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15730 result
= (wxMouseEvent
*)new wxMouseEvent(arg1
);
15732 wxPyEndAllowThreads(__tstate
);
15733 if (PyErr_Occurred()) SWIG_fail
;
15736 resultobj
= wxPyMake_wxObject(result
, 1);
15744 static PyObject
*_wrap_MouseEvent_IsButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15745 PyObject
*resultobj
;
15746 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15748 PyObject
* obj0
= 0 ;
15749 char *kwnames
[] = {
15750 (char *) "self", NULL
15753 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_IsButton",kwnames
,&obj0
)) goto fail
;
15754 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
15755 if (SWIG_arg_fail(1)) SWIG_fail
;
15757 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15758 result
= (bool)((wxMouseEvent
const *)arg1
)->IsButton();
15760 wxPyEndAllowThreads(__tstate
);
15761 if (PyErr_Occurred()) SWIG_fail
;
15764 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15772 static PyObject
*_wrap_MouseEvent_ButtonDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15773 PyObject
*resultobj
;
15774 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15775 int arg2
= (int) wxMOUSE_BTN_ANY
;
15777 PyObject
* obj0
= 0 ;
15778 PyObject
* obj1
= 0 ;
15779 char *kwnames
[] = {
15780 (char *) "self",(char *) "but", NULL
15783 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:MouseEvent_ButtonDown",kwnames
,&obj0
,&obj1
)) goto fail
;
15784 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
15785 if (SWIG_arg_fail(1)) SWIG_fail
;
15788 arg2
= (int)(SWIG_As_int(obj1
));
15789 if (SWIG_arg_fail(2)) SWIG_fail
;
15793 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15794 result
= (bool)((wxMouseEvent
const *)arg1
)->ButtonDown(arg2
);
15796 wxPyEndAllowThreads(__tstate
);
15797 if (PyErr_Occurred()) SWIG_fail
;
15800 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15808 static PyObject
*_wrap_MouseEvent_ButtonDClick(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15809 PyObject
*resultobj
;
15810 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15811 int arg2
= (int) wxMOUSE_BTN_ANY
;
15813 PyObject
* obj0
= 0 ;
15814 PyObject
* obj1
= 0 ;
15815 char *kwnames
[] = {
15816 (char *) "self",(char *) "but", NULL
15819 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:MouseEvent_ButtonDClick",kwnames
,&obj0
,&obj1
)) goto fail
;
15820 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
15821 if (SWIG_arg_fail(1)) SWIG_fail
;
15824 arg2
= (int)(SWIG_As_int(obj1
));
15825 if (SWIG_arg_fail(2)) SWIG_fail
;
15829 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15830 result
= (bool)((wxMouseEvent
const *)arg1
)->ButtonDClick(arg2
);
15832 wxPyEndAllowThreads(__tstate
);
15833 if (PyErr_Occurred()) SWIG_fail
;
15836 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15844 static PyObject
*_wrap_MouseEvent_ButtonUp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15845 PyObject
*resultobj
;
15846 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15847 int arg2
= (int) wxMOUSE_BTN_ANY
;
15849 PyObject
* obj0
= 0 ;
15850 PyObject
* obj1
= 0 ;
15851 char *kwnames
[] = {
15852 (char *) "self",(char *) "but", NULL
15855 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:MouseEvent_ButtonUp",kwnames
,&obj0
,&obj1
)) goto fail
;
15856 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
15857 if (SWIG_arg_fail(1)) SWIG_fail
;
15860 arg2
= (int)(SWIG_As_int(obj1
));
15861 if (SWIG_arg_fail(2)) SWIG_fail
;
15865 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15866 result
= (bool)((wxMouseEvent
const *)arg1
)->ButtonUp(arg2
);
15868 wxPyEndAllowThreads(__tstate
);
15869 if (PyErr_Occurred()) SWIG_fail
;
15872 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15880 static PyObject
*_wrap_MouseEvent_Button(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15881 PyObject
*resultobj
;
15882 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15885 PyObject
* obj0
= 0 ;
15886 PyObject
* obj1
= 0 ;
15887 char *kwnames
[] = {
15888 (char *) "self",(char *) "but", NULL
15891 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_Button",kwnames
,&obj0
,&obj1
)) goto fail
;
15892 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
15893 if (SWIG_arg_fail(1)) SWIG_fail
;
15895 arg2
= (int)(SWIG_As_int(obj1
));
15896 if (SWIG_arg_fail(2)) SWIG_fail
;
15899 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15900 result
= (bool)((wxMouseEvent
const *)arg1
)->Button(arg2
);
15902 wxPyEndAllowThreads(__tstate
);
15903 if (PyErr_Occurred()) SWIG_fail
;
15906 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15914 static PyObject
*_wrap_MouseEvent_ButtonIsDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15915 PyObject
*resultobj
;
15916 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15919 PyObject
* obj0
= 0 ;
15920 PyObject
* obj1
= 0 ;
15921 char *kwnames
[] = {
15922 (char *) "self",(char *) "but", NULL
15925 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_ButtonIsDown",kwnames
,&obj0
,&obj1
)) goto fail
;
15926 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
15927 if (SWIG_arg_fail(1)) SWIG_fail
;
15929 arg2
= (int)(SWIG_As_int(obj1
));
15930 if (SWIG_arg_fail(2)) SWIG_fail
;
15933 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15934 result
= (bool)((wxMouseEvent
const *)arg1
)->ButtonIsDown(arg2
);
15936 wxPyEndAllowThreads(__tstate
);
15937 if (PyErr_Occurred()) SWIG_fail
;
15940 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15948 static PyObject
*_wrap_MouseEvent_GetButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15949 PyObject
*resultobj
;
15950 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15952 PyObject
* obj0
= 0 ;
15953 char *kwnames
[] = {
15954 (char *) "self", NULL
15957 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetButton",kwnames
,&obj0
)) goto fail
;
15958 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
15959 if (SWIG_arg_fail(1)) SWIG_fail
;
15961 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15962 result
= (int)((wxMouseEvent
const *)arg1
)->GetButton();
15964 wxPyEndAllowThreads(__tstate
);
15965 if (PyErr_Occurred()) SWIG_fail
;
15968 resultobj
= SWIG_From_int((int)(result
));
15976 static PyObject
*_wrap_MouseEvent_ControlDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15977 PyObject
*resultobj
;
15978 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15980 PyObject
* obj0
= 0 ;
15981 char *kwnames
[] = {
15982 (char *) "self", NULL
15985 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_ControlDown",kwnames
,&obj0
)) goto fail
;
15986 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
15987 if (SWIG_arg_fail(1)) SWIG_fail
;
15989 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15990 result
= (bool)((wxMouseEvent
const *)arg1
)->ControlDown();
15992 wxPyEndAllowThreads(__tstate
);
15993 if (PyErr_Occurred()) SWIG_fail
;
15996 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16004 static PyObject
*_wrap_MouseEvent_MetaDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16005 PyObject
*resultobj
;
16006 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16008 PyObject
* obj0
= 0 ;
16009 char *kwnames
[] = {
16010 (char *) "self", NULL
16013 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_MetaDown",kwnames
,&obj0
)) goto fail
;
16014 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16015 if (SWIG_arg_fail(1)) SWIG_fail
;
16017 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16018 result
= (bool)((wxMouseEvent
const *)arg1
)->MetaDown();
16020 wxPyEndAllowThreads(__tstate
);
16021 if (PyErr_Occurred()) SWIG_fail
;
16024 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16032 static PyObject
*_wrap_MouseEvent_AltDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16033 PyObject
*resultobj
;
16034 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16036 PyObject
* obj0
= 0 ;
16037 char *kwnames
[] = {
16038 (char *) "self", NULL
16041 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_AltDown",kwnames
,&obj0
)) goto fail
;
16042 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16043 if (SWIG_arg_fail(1)) SWIG_fail
;
16045 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16046 result
= (bool)((wxMouseEvent
const *)arg1
)->AltDown();
16048 wxPyEndAllowThreads(__tstate
);
16049 if (PyErr_Occurred()) SWIG_fail
;
16052 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16060 static PyObject
*_wrap_MouseEvent_ShiftDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16061 PyObject
*resultobj
;
16062 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16064 PyObject
* obj0
= 0 ;
16065 char *kwnames
[] = {
16066 (char *) "self", NULL
16069 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_ShiftDown",kwnames
,&obj0
)) goto fail
;
16070 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16071 if (SWIG_arg_fail(1)) SWIG_fail
;
16073 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16074 result
= (bool)((wxMouseEvent
const *)arg1
)->ShiftDown();
16076 wxPyEndAllowThreads(__tstate
);
16077 if (PyErr_Occurred()) SWIG_fail
;
16080 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16088 static PyObject
*_wrap_MouseEvent_CmdDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16089 PyObject
*resultobj
;
16090 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16092 PyObject
* obj0
= 0 ;
16093 char *kwnames
[] = {
16094 (char *) "self", NULL
16097 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_CmdDown",kwnames
,&obj0
)) goto fail
;
16098 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16099 if (SWIG_arg_fail(1)) SWIG_fail
;
16101 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16102 result
= (bool)((wxMouseEvent
const *)arg1
)->CmdDown();
16104 wxPyEndAllowThreads(__tstate
);
16105 if (PyErr_Occurred()) SWIG_fail
;
16108 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16116 static PyObject
*_wrap_MouseEvent_LeftDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16117 PyObject
*resultobj
;
16118 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16120 PyObject
* obj0
= 0 ;
16121 char *kwnames
[] = {
16122 (char *) "self", NULL
16125 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_LeftDown",kwnames
,&obj0
)) goto fail
;
16126 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16127 if (SWIG_arg_fail(1)) SWIG_fail
;
16129 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16130 result
= (bool)((wxMouseEvent
const *)arg1
)->LeftDown();
16132 wxPyEndAllowThreads(__tstate
);
16133 if (PyErr_Occurred()) SWIG_fail
;
16136 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16144 static PyObject
*_wrap_MouseEvent_MiddleDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16145 PyObject
*resultobj
;
16146 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16148 PyObject
* obj0
= 0 ;
16149 char *kwnames
[] = {
16150 (char *) "self", NULL
16153 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_MiddleDown",kwnames
,&obj0
)) goto fail
;
16154 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16155 if (SWIG_arg_fail(1)) SWIG_fail
;
16157 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16158 result
= (bool)((wxMouseEvent
const *)arg1
)->MiddleDown();
16160 wxPyEndAllowThreads(__tstate
);
16161 if (PyErr_Occurred()) SWIG_fail
;
16164 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16172 static PyObject
*_wrap_MouseEvent_RightDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16173 PyObject
*resultobj
;
16174 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16176 PyObject
* obj0
= 0 ;
16177 char *kwnames
[] = {
16178 (char *) "self", NULL
16181 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_RightDown",kwnames
,&obj0
)) goto fail
;
16182 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16183 if (SWIG_arg_fail(1)) SWIG_fail
;
16185 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16186 result
= (bool)((wxMouseEvent
const *)arg1
)->RightDown();
16188 wxPyEndAllowThreads(__tstate
);
16189 if (PyErr_Occurred()) SWIG_fail
;
16192 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16200 static PyObject
*_wrap_MouseEvent_LeftUp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16201 PyObject
*resultobj
;
16202 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16204 PyObject
* obj0
= 0 ;
16205 char *kwnames
[] = {
16206 (char *) "self", NULL
16209 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_LeftUp",kwnames
,&obj0
)) goto fail
;
16210 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16211 if (SWIG_arg_fail(1)) SWIG_fail
;
16213 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16214 result
= (bool)((wxMouseEvent
const *)arg1
)->LeftUp();
16216 wxPyEndAllowThreads(__tstate
);
16217 if (PyErr_Occurred()) SWIG_fail
;
16220 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16228 static PyObject
*_wrap_MouseEvent_MiddleUp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16229 PyObject
*resultobj
;
16230 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16232 PyObject
* obj0
= 0 ;
16233 char *kwnames
[] = {
16234 (char *) "self", NULL
16237 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_MiddleUp",kwnames
,&obj0
)) goto fail
;
16238 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16239 if (SWIG_arg_fail(1)) SWIG_fail
;
16241 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16242 result
= (bool)((wxMouseEvent
const *)arg1
)->MiddleUp();
16244 wxPyEndAllowThreads(__tstate
);
16245 if (PyErr_Occurred()) SWIG_fail
;
16248 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16256 static PyObject
*_wrap_MouseEvent_RightUp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16257 PyObject
*resultobj
;
16258 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16260 PyObject
* obj0
= 0 ;
16261 char *kwnames
[] = {
16262 (char *) "self", NULL
16265 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_RightUp",kwnames
,&obj0
)) goto fail
;
16266 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16267 if (SWIG_arg_fail(1)) SWIG_fail
;
16269 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16270 result
= (bool)((wxMouseEvent
const *)arg1
)->RightUp();
16272 wxPyEndAllowThreads(__tstate
);
16273 if (PyErr_Occurred()) SWIG_fail
;
16276 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16284 static PyObject
*_wrap_MouseEvent_LeftDClick(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16285 PyObject
*resultobj
;
16286 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16288 PyObject
* obj0
= 0 ;
16289 char *kwnames
[] = {
16290 (char *) "self", NULL
16293 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_LeftDClick",kwnames
,&obj0
)) goto fail
;
16294 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16295 if (SWIG_arg_fail(1)) SWIG_fail
;
16297 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16298 result
= (bool)((wxMouseEvent
const *)arg1
)->LeftDClick();
16300 wxPyEndAllowThreads(__tstate
);
16301 if (PyErr_Occurred()) SWIG_fail
;
16304 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16312 static PyObject
*_wrap_MouseEvent_MiddleDClick(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16313 PyObject
*resultobj
;
16314 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16316 PyObject
* obj0
= 0 ;
16317 char *kwnames
[] = {
16318 (char *) "self", NULL
16321 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_MiddleDClick",kwnames
,&obj0
)) goto fail
;
16322 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16323 if (SWIG_arg_fail(1)) SWIG_fail
;
16325 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16326 result
= (bool)((wxMouseEvent
const *)arg1
)->MiddleDClick();
16328 wxPyEndAllowThreads(__tstate
);
16329 if (PyErr_Occurred()) SWIG_fail
;
16332 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16340 static PyObject
*_wrap_MouseEvent_RightDClick(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16341 PyObject
*resultobj
;
16342 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16344 PyObject
* obj0
= 0 ;
16345 char *kwnames
[] = {
16346 (char *) "self", NULL
16349 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_RightDClick",kwnames
,&obj0
)) goto fail
;
16350 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16351 if (SWIG_arg_fail(1)) SWIG_fail
;
16353 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16354 result
= (bool)((wxMouseEvent
const *)arg1
)->RightDClick();
16356 wxPyEndAllowThreads(__tstate
);
16357 if (PyErr_Occurred()) SWIG_fail
;
16360 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16368 static PyObject
*_wrap_MouseEvent_LeftIsDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16369 PyObject
*resultobj
;
16370 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16372 PyObject
* obj0
= 0 ;
16373 char *kwnames
[] = {
16374 (char *) "self", NULL
16377 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_LeftIsDown",kwnames
,&obj0
)) goto fail
;
16378 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16379 if (SWIG_arg_fail(1)) SWIG_fail
;
16381 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16382 result
= (bool)(arg1
)->LeftIsDown();
16384 wxPyEndAllowThreads(__tstate
);
16385 if (PyErr_Occurred()) SWIG_fail
;
16388 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16396 static PyObject
*_wrap_MouseEvent_MiddleIsDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16397 PyObject
*resultobj
;
16398 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16400 PyObject
* obj0
= 0 ;
16401 char *kwnames
[] = {
16402 (char *) "self", NULL
16405 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_MiddleIsDown",kwnames
,&obj0
)) goto fail
;
16406 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16407 if (SWIG_arg_fail(1)) SWIG_fail
;
16409 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16410 result
= (bool)(arg1
)->MiddleIsDown();
16412 wxPyEndAllowThreads(__tstate
);
16413 if (PyErr_Occurred()) SWIG_fail
;
16416 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16424 static PyObject
*_wrap_MouseEvent_RightIsDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16425 PyObject
*resultobj
;
16426 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16428 PyObject
* obj0
= 0 ;
16429 char *kwnames
[] = {
16430 (char *) "self", NULL
16433 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_RightIsDown",kwnames
,&obj0
)) goto fail
;
16434 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16435 if (SWIG_arg_fail(1)) SWIG_fail
;
16437 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16438 result
= (bool)(arg1
)->RightIsDown();
16440 wxPyEndAllowThreads(__tstate
);
16441 if (PyErr_Occurred()) SWIG_fail
;
16444 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16452 static PyObject
*_wrap_MouseEvent_Dragging(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16453 PyObject
*resultobj
;
16454 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16456 PyObject
* obj0
= 0 ;
16457 char *kwnames
[] = {
16458 (char *) "self", NULL
16461 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_Dragging",kwnames
,&obj0
)) goto fail
;
16462 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16463 if (SWIG_arg_fail(1)) SWIG_fail
;
16465 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16466 result
= (bool)((wxMouseEvent
const *)arg1
)->Dragging();
16468 wxPyEndAllowThreads(__tstate
);
16469 if (PyErr_Occurred()) SWIG_fail
;
16472 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16480 static PyObject
*_wrap_MouseEvent_Moving(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16481 PyObject
*resultobj
;
16482 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16484 PyObject
* obj0
= 0 ;
16485 char *kwnames
[] = {
16486 (char *) "self", NULL
16489 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_Moving",kwnames
,&obj0
)) goto fail
;
16490 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16491 if (SWIG_arg_fail(1)) SWIG_fail
;
16493 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16494 result
= (bool)((wxMouseEvent
const *)arg1
)->Moving();
16496 wxPyEndAllowThreads(__tstate
);
16497 if (PyErr_Occurred()) SWIG_fail
;
16500 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16508 static PyObject
*_wrap_MouseEvent_Entering(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16509 PyObject
*resultobj
;
16510 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16512 PyObject
* obj0
= 0 ;
16513 char *kwnames
[] = {
16514 (char *) "self", NULL
16517 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_Entering",kwnames
,&obj0
)) goto fail
;
16518 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16519 if (SWIG_arg_fail(1)) SWIG_fail
;
16521 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16522 result
= (bool)((wxMouseEvent
const *)arg1
)->Entering();
16524 wxPyEndAllowThreads(__tstate
);
16525 if (PyErr_Occurred()) SWIG_fail
;
16528 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16536 static PyObject
*_wrap_MouseEvent_Leaving(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16537 PyObject
*resultobj
;
16538 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16540 PyObject
* obj0
= 0 ;
16541 char *kwnames
[] = {
16542 (char *) "self", NULL
16545 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_Leaving",kwnames
,&obj0
)) goto fail
;
16546 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16547 if (SWIG_arg_fail(1)) SWIG_fail
;
16549 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16550 result
= (bool)((wxMouseEvent
const *)arg1
)->Leaving();
16552 wxPyEndAllowThreads(__tstate
);
16553 if (PyErr_Occurred()) SWIG_fail
;
16556 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16564 static PyObject
*_wrap_MouseEvent_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16565 PyObject
*resultobj
;
16566 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16568 PyObject
* obj0
= 0 ;
16569 char *kwnames
[] = {
16570 (char *) "self", NULL
16573 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
16574 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16575 if (SWIG_arg_fail(1)) SWIG_fail
;
16577 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16578 result
= (arg1
)->GetPosition();
16580 wxPyEndAllowThreads(__tstate
);
16581 if (PyErr_Occurred()) SWIG_fail
;
16584 wxPoint
* resultptr
;
16585 resultptr
= new wxPoint((wxPoint
&)(result
));
16586 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
16594 static PyObject
*_wrap_MouseEvent_GetPositionTuple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16595 PyObject
*resultobj
;
16596 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16597 long *arg2
= (long *) 0 ;
16598 long *arg3
= (long *) 0 ;
16603 PyObject
* obj0
= 0 ;
16604 char *kwnames
[] = {
16605 (char *) "self", NULL
16608 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
16609 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
16610 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetPositionTuple",kwnames
,&obj0
)) goto fail
;
16611 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16612 if (SWIG_arg_fail(1)) SWIG_fail
;
16614 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16615 (arg1
)->GetPosition(arg2
,arg3
);
16617 wxPyEndAllowThreads(__tstate
);
16618 if (PyErr_Occurred()) SWIG_fail
;
16620 Py_INCREF(Py_None
); resultobj
= Py_None
;
16621 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
16622 SWIG_From_long((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_long
, 0)));
16623 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
16624 SWIG_From_long((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, 0)));
16631 static PyObject
*_wrap_MouseEvent_GetLogicalPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16632 PyObject
*resultobj
;
16633 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16636 PyObject
* obj0
= 0 ;
16637 PyObject
* obj1
= 0 ;
16638 char *kwnames
[] = {
16639 (char *) "self",(char *) "dc", NULL
16642 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_GetLogicalPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
16643 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16644 if (SWIG_arg_fail(1)) SWIG_fail
;
16646 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
16647 if (SWIG_arg_fail(2)) SWIG_fail
;
16648 if (arg2
== NULL
) {
16649 SWIG_null_ref("wxDC");
16651 if (SWIG_arg_fail(2)) SWIG_fail
;
16654 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16655 result
= ((wxMouseEvent
const *)arg1
)->GetLogicalPosition((wxDC
const &)*arg2
);
16657 wxPyEndAllowThreads(__tstate
);
16658 if (PyErr_Occurred()) SWIG_fail
;
16661 wxPoint
* resultptr
;
16662 resultptr
= new wxPoint((wxPoint
&)(result
));
16663 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
16671 static PyObject
*_wrap_MouseEvent_GetX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16672 PyObject
*resultobj
;
16673 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16675 PyObject
* obj0
= 0 ;
16676 char *kwnames
[] = {
16677 (char *) "self", NULL
16680 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetX",kwnames
,&obj0
)) goto fail
;
16681 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16682 if (SWIG_arg_fail(1)) SWIG_fail
;
16684 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16685 result
= (int)((wxMouseEvent
const *)arg1
)->GetX();
16687 wxPyEndAllowThreads(__tstate
);
16688 if (PyErr_Occurred()) SWIG_fail
;
16691 resultobj
= SWIG_From_int((int)(result
));
16699 static PyObject
*_wrap_MouseEvent_GetY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16700 PyObject
*resultobj
;
16701 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16703 PyObject
* obj0
= 0 ;
16704 char *kwnames
[] = {
16705 (char *) "self", NULL
16708 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetY",kwnames
,&obj0
)) goto fail
;
16709 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16710 if (SWIG_arg_fail(1)) SWIG_fail
;
16712 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16713 result
= (int)((wxMouseEvent
const *)arg1
)->GetY();
16715 wxPyEndAllowThreads(__tstate
);
16716 if (PyErr_Occurred()) SWIG_fail
;
16719 resultobj
= SWIG_From_int((int)(result
));
16727 static PyObject
*_wrap_MouseEvent_GetWheelRotation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16728 PyObject
*resultobj
;
16729 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16731 PyObject
* obj0
= 0 ;
16732 char *kwnames
[] = {
16733 (char *) "self", NULL
16736 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetWheelRotation",kwnames
,&obj0
)) goto fail
;
16737 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16738 if (SWIG_arg_fail(1)) SWIG_fail
;
16740 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16741 result
= (int)((wxMouseEvent
const *)arg1
)->GetWheelRotation();
16743 wxPyEndAllowThreads(__tstate
);
16744 if (PyErr_Occurred()) SWIG_fail
;
16747 resultobj
= SWIG_From_int((int)(result
));
16755 static PyObject
*_wrap_MouseEvent_GetWheelDelta(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16756 PyObject
*resultobj
;
16757 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16759 PyObject
* obj0
= 0 ;
16760 char *kwnames
[] = {
16761 (char *) "self", NULL
16764 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetWheelDelta",kwnames
,&obj0
)) goto fail
;
16765 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16766 if (SWIG_arg_fail(1)) SWIG_fail
;
16768 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16769 result
= (int)((wxMouseEvent
const *)arg1
)->GetWheelDelta();
16771 wxPyEndAllowThreads(__tstate
);
16772 if (PyErr_Occurred()) SWIG_fail
;
16775 resultobj
= SWIG_From_int((int)(result
));
16783 static PyObject
*_wrap_MouseEvent_GetLinesPerAction(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16784 PyObject
*resultobj
;
16785 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16787 PyObject
* obj0
= 0 ;
16788 char *kwnames
[] = {
16789 (char *) "self", NULL
16792 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetLinesPerAction",kwnames
,&obj0
)) goto fail
;
16793 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16794 if (SWIG_arg_fail(1)) SWIG_fail
;
16796 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16797 result
= (int)((wxMouseEvent
const *)arg1
)->GetLinesPerAction();
16799 wxPyEndAllowThreads(__tstate
);
16800 if (PyErr_Occurred()) SWIG_fail
;
16803 resultobj
= SWIG_From_int((int)(result
));
16811 static PyObject
*_wrap_MouseEvent_IsPageScroll(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16812 PyObject
*resultobj
;
16813 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16815 PyObject
* obj0
= 0 ;
16816 char *kwnames
[] = {
16817 (char *) "self", NULL
16820 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_IsPageScroll",kwnames
,&obj0
)) goto fail
;
16821 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16822 if (SWIG_arg_fail(1)) SWIG_fail
;
16824 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16825 result
= (bool)((wxMouseEvent
const *)arg1
)->IsPageScroll();
16827 wxPyEndAllowThreads(__tstate
);
16828 if (PyErr_Occurred()) SWIG_fail
;
16831 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16839 static PyObject
*_wrap_MouseEvent_m_x_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16840 PyObject
*resultobj
;
16841 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16843 PyObject
* obj0
= 0 ;
16844 PyObject
* obj1
= 0 ;
16845 char *kwnames
[] = {
16846 (char *) "self",(char *) "m_x", NULL
16849 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_x_set",kwnames
,&obj0
,&obj1
)) goto fail
;
16850 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16851 if (SWIG_arg_fail(1)) SWIG_fail
;
16853 arg2
= (int)(SWIG_As_int(obj1
));
16854 if (SWIG_arg_fail(2)) SWIG_fail
;
16856 if (arg1
) (arg1
)->m_x
= arg2
;
16858 Py_INCREF(Py_None
); resultobj
= Py_None
;
16865 static PyObject
*_wrap_MouseEvent_m_x_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16866 PyObject
*resultobj
;
16867 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16869 PyObject
* obj0
= 0 ;
16870 char *kwnames
[] = {
16871 (char *) "self", NULL
16874 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_x_get",kwnames
,&obj0
)) goto fail
;
16875 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16876 if (SWIG_arg_fail(1)) SWIG_fail
;
16877 result
= (int) ((arg1
)->m_x
);
16880 resultobj
= SWIG_From_int((int)(result
));
16888 static PyObject
*_wrap_MouseEvent_m_y_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16889 PyObject
*resultobj
;
16890 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16892 PyObject
* obj0
= 0 ;
16893 PyObject
* obj1
= 0 ;
16894 char *kwnames
[] = {
16895 (char *) "self",(char *) "m_y", NULL
16898 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_y_set",kwnames
,&obj0
,&obj1
)) goto fail
;
16899 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16900 if (SWIG_arg_fail(1)) SWIG_fail
;
16902 arg2
= (int)(SWIG_As_int(obj1
));
16903 if (SWIG_arg_fail(2)) SWIG_fail
;
16905 if (arg1
) (arg1
)->m_y
= arg2
;
16907 Py_INCREF(Py_None
); resultobj
= Py_None
;
16914 static PyObject
*_wrap_MouseEvent_m_y_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16915 PyObject
*resultobj
;
16916 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16918 PyObject
* obj0
= 0 ;
16919 char *kwnames
[] = {
16920 (char *) "self", NULL
16923 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_y_get",kwnames
,&obj0
)) goto fail
;
16924 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16925 if (SWIG_arg_fail(1)) SWIG_fail
;
16926 result
= (int) ((arg1
)->m_y
);
16929 resultobj
= SWIG_From_int((int)(result
));
16937 static PyObject
*_wrap_MouseEvent_m_leftDown_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16938 PyObject
*resultobj
;
16939 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16941 PyObject
* obj0
= 0 ;
16942 PyObject
* obj1
= 0 ;
16943 char *kwnames
[] = {
16944 (char *) "self",(char *) "m_leftDown", NULL
16947 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_leftDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
16948 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16949 if (SWIG_arg_fail(1)) SWIG_fail
;
16951 arg2
= (bool)(SWIG_As_bool(obj1
));
16952 if (SWIG_arg_fail(2)) SWIG_fail
;
16954 if (arg1
) (arg1
)->m_leftDown
= arg2
;
16956 Py_INCREF(Py_None
); resultobj
= Py_None
;
16963 static PyObject
*_wrap_MouseEvent_m_leftDown_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16964 PyObject
*resultobj
;
16965 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16967 PyObject
* obj0
= 0 ;
16968 char *kwnames
[] = {
16969 (char *) "self", NULL
16972 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_leftDown_get",kwnames
,&obj0
)) goto fail
;
16973 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16974 if (SWIG_arg_fail(1)) SWIG_fail
;
16975 result
= (bool) ((arg1
)->m_leftDown
);
16978 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16986 static PyObject
*_wrap_MouseEvent_m_middleDown_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16987 PyObject
*resultobj
;
16988 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16990 PyObject
* obj0
= 0 ;
16991 PyObject
* obj1
= 0 ;
16992 char *kwnames
[] = {
16993 (char *) "self",(char *) "m_middleDown", NULL
16996 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_middleDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
16997 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16998 if (SWIG_arg_fail(1)) SWIG_fail
;
17000 arg2
= (bool)(SWIG_As_bool(obj1
));
17001 if (SWIG_arg_fail(2)) SWIG_fail
;
17003 if (arg1
) (arg1
)->m_middleDown
= arg2
;
17005 Py_INCREF(Py_None
); resultobj
= Py_None
;
17012 static PyObject
*_wrap_MouseEvent_m_middleDown_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17013 PyObject
*resultobj
;
17014 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17016 PyObject
* obj0
= 0 ;
17017 char *kwnames
[] = {
17018 (char *) "self", NULL
17021 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_middleDown_get",kwnames
,&obj0
)) goto fail
;
17022 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17023 if (SWIG_arg_fail(1)) SWIG_fail
;
17024 result
= (bool) ((arg1
)->m_middleDown
);
17027 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17035 static PyObject
*_wrap_MouseEvent_m_rightDown_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17036 PyObject
*resultobj
;
17037 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17039 PyObject
* obj0
= 0 ;
17040 PyObject
* obj1
= 0 ;
17041 char *kwnames
[] = {
17042 (char *) "self",(char *) "m_rightDown", NULL
17045 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_rightDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
17046 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17047 if (SWIG_arg_fail(1)) SWIG_fail
;
17049 arg2
= (bool)(SWIG_As_bool(obj1
));
17050 if (SWIG_arg_fail(2)) SWIG_fail
;
17052 if (arg1
) (arg1
)->m_rightDown
= arg2
;
17054 Py_INCREF(Py_None
); resultobj
= Py_None
;
17061 static PyObject
*_wrap_MouseEvent_m_rightDown_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17062 PyObject
*resultobj
;
17063 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17065 PyObject
* obj0
= 0 ;
17066 char *kwnames
[] = {
17067 (char *) "self", NULL
17070 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_rightDown_get",kwnames
,&obj0
)) goto fail
;
17071 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17072 if (SWIG_arg_fail(1)) SWIG_fail
;
17073 result
= (bool) ((arg1
)->m_rightDown
);
17076 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17084 static PyObject
*_wrap_MouseEvent_m_controlDown_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17085 PyObject
*resultobj
;
17086 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17088 PyObject
* obj0
= 0 ;
17089 PyObject
* obj1
= 0 ;
17090 char *kwnames
[] = {
17091 (char *) "self",(char *) "m_controlDown", NULL
17094 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_controlDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
17095 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17096 if (SWIG_arg_fail(1)) SWIG_fail
;
17098 arg2
= (bool)(SWIG_As_bool(obj1
));
17099 if (SWIG_arg_fail(2)) SWIG_fail
;
17101 if (arg1
) (arg1
)->m_controlDown
= arg2
;
17103 Py_INCREF(Py_None
); resultobj
= Py_None
;
17110 static PyObject
*_wrap_MouseEvent_m_controlDown_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17111 PyObject
*resultobj
;
17112 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17114 PyObject
* obj0
= 0 ;
17115 char *kwnames
[] = {
17116 (char *) "self", NULL
17119 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_controlDown_get",kwnames
,&obj0
)) goto fail
;
17120 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17121 if (SWIG_arg_fail(1)) SWIG_fail
;
17122 result
= (bool) ((arg1
)->m_controlDown
);
17125 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17133 static PyObject
*_wrap_MouseEvent_m_shiftDown_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17134 PyObject
*resultobj
;
17135 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17137 PyObject
* obj0
= 0 ;
17138 PyObject
* obj1
= 0 ;
17139 char *kwnames
[] = {
17140 (char *) "self",(char *) "m_shiftDown", NULL
17143 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_shiftDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
17144 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17145 if (SWIG_arg_fail(1)) SWIG_fail
;
17147 arg2
= (bool)(SWIG_As_bool(obj1
));
17148 if (SWIG_arg_fail(2)) SWIG_fail
;
17150 if (arg1
) (arg1
)->m_shiftDown
= arg2
;
17152 Py_INCREF(Py_None
); resultobj
= Py_None
;
17159 static PyObject
*_wrap_MouseEvent_m_shiftDown_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17160 PyObject
*resultobj
;
17161 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17163 PyObject
* obj0
= 0 ;
17164 char *kwnames
[] = {
17165 (char *) "self", NULL
17168 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_shiftDown_get",kwnames
,&obj0
)) goto fail
;
17169 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17170 if (SWIG_arg_fail(1)) SWIG_fail
;
17171 result
= (bool) ((arg1
)->m_shiftDown
);
17174 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17182 static PyObject
*_wrap_MouseEvent_m_altDown_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17183 PyObject
*resultobj
;
17184 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17186 PyObject
* obj0
= 0 ;
17187 PyObject
* obj1
= 0 ;
17188 char *kwnames
[] = {
17189 (char *) "self",(char *) "m_altDown", NULL
17192 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_altDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
17193 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17194 if (SWIG_arg_fail(1)) SWIG_fail
;
17196 arg2
= (bool)(SWIG_As_bool(obj1
));
17197 if (SWIG_arg_fail(2)) SWIG_fail
;
17199 if (arg1
) (arg1
)->m_altDown
= arg2
;
17201 Py_INCREF(Py_None
); resultobj
= Py_None
;
17208 static PyObject
*_wrap_MouseEvent_m_altDown_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17209 PyObject
*resultobj
;
17210 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17212 PyObject
* obj0
= 0 ;
17213 char *kwnames
[] = {
17214 (char *) "self", NULL
17217 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_altDown_get",kwnames
,&obj0
)) goto fail
;
17218 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17219 if (SWIG_arg_fail(1)) SWIG_fail
;
17220 result
= (bool) ((arg1
)->m_altDown
);
17223 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17231 static PyObject
*_wrap_MouseEvent_m_metaDown_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17232 PyObject
*resultobj
;
17233 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17235 PyObject
* obj0
= 0 ;
17236 PyObject
* obj1
= 0 ;
17237 char *kwnames
[] = {
17238 (char *) "self",(char *) "m_metaDown", NULL
17241 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_metaDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
17242 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17243 if (SWIG_arg_fail(1)) SWIG_fail
;
17245 arg2
= (bool)(SWIG_As_bool(obj1
));
17246 if (SWIG_arg_fail(2)) SWIG_fail
;
17248 if (arg1
) (arg1
)->m_metaDown
= arg2
;
17250 Py_INCREF(Py_None
); resultobj
= Py_None
;
17257 static PyObject
*_wrap_MouseEvent_m_metaDown_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17258 PyObject
*resultobj
;
17259 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17261 PyObject
* obj0
= 0 ;
17262 char *kwnames
[] = {
17263 (char *) "self", NULL
17266 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_metaDown_get",kwnames
,&obj0
)) goto fail
;
17267 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17268 if (SWIG_arg_fail(1)) SWIG_fail
;
17269 result
= (bool) ((arg1
)->m_metaDown
);
17272 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17280 static PyObject
*_wrap_MouseEvent_m_wheelRotation_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17281 PyObject
*resultobj
;
17282 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17284 PyObject
* obj0
= 0 ;
17285 PyObject
* obj1
= 0 ;
17286 char *kwnames
[] = {
17287 (char *) "self",(char *) "m_wheelRotation", NULL
17290 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_wheelRotation_set",kwnames
,&obj0
,&obj1
)) goto fail
;
17291 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17292 if (SWIG_arg_fail(1)) SWIG_fail
;
17294 arg2
= (int)(SWIG_As_int(obj1
));
17295 if (SWIG_arg_fail(2)) SWIG_fail
;
17297 if (arg1
) (arg1
)->m_wheelRotation
= arg2
;
17299 Py_INCREF(Py_None
); resultobj
= Py_None
;
17306 static PyObject
*_wrap_MouseEvent_m_wheelRotation_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17307 PyObject
*resultobj
;
17308 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17310 PyObject
* obj0
= 0 ;
17311 char *kwnames
[] = {
17312 (char *) "self", NULL
17315 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_wheelRotation_get",kwnames
,&obj0
)) goto fail
;
17316 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17317 if (SWIG_arg_fail(1)) SWIG_fail
;
17318 result
= (int) ((arg1
)->m_wheelRotation
);
17321 resultobj
= SWIG_From_int((int)(result
));
17329 static PyObject
*_wrap_MouseEvent_m_wheelDelta_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17330 PyObject
*resultobj
;
17331 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17333 PyObject
* obj0
= 0 ;
17334 PyObject
* obj1
= 0 ;
17335 char *kwnames
[] = {
17336 (char *) "self",(char *) "m_wheelDelta", NULL
17339 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_wheelDelta_set",kwnames
,&obj0
,&obj1
)) goto fail
;
17340 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17341 if (SWIG_arg_fail(1)) SWIG_fail
;
17343 arg2
= (int)(SWIG_As_int(obj1
));
17344 if (SWIG_arg_fail(2)) SWIG_fail
;
17346 if (arg1
) (arg1
)->m_wheelDelta
= arg2
;
17348 Py_INCREF(Py_None
); resultobj
= Py_None
;
17355 static PyObject
*_wrap_MouseEvent_m_wheelDelta_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17356 PyObject
*resultobj
;
17357 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17359 PyObject
* obj0
= 0 ;
17360 char *kwnames
[] = {
17361 (char *) "self", NULL
17364 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_wheelDelta_get",kwnames
,&obj0
)) goto fail
;
17365 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17366 if (SWIG_arg_fail(1)) SWIG_fail
;
17367 result
= (int) ((arg1
)->m_wheelDelta
);
17370 resultobj
= SWIG_From_int((int)(result
));
17378 static PyObject
*_wrap_MouseEvent_m_linesPerAction_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17379 PyObject
*resultobj
;
17380 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17382 PyObject
* obj0
= 0 ;
17383 PyObject
* obj1
= 0 ;
17384 char *kwnames
[] = {
17385 (char *) "self",(char *) "m_linesPerAction", NULL
17388 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_linesPerAction_set",kwnames
,&obj0
,&obj1
)) goto fail
;
17389 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17390 if (SWIG_arg_fail(1)) SWIG_fail
;
17392 arg2
= (int)(SWIG_As_int(obj1
));
17393 if (SWIG_arg_fail(2)) SWIG_fail
;
17395 if (arg1
) (arg1
)->m_linesPerAction
= arg2
;
17397 Py_INCREF(Py_None
); resultobj
= Py_None
;
17404 static PyObject
*_wrap_MouseEvent_m_linesPerAction_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17405 PyObject
*resultobj
;
17406 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17408 PyObject
* obj0
= 0 ;
17409 char *kwnames
[] = {
17410 (char *) "self", NULL
17413 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_linesPerAction_get",kwnames
,&obj0
)) goto fail
;
17414 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17415 if (SWIG_arg_fail(1)) SWIG_fail
;
17416 result
= (int) ((arg1
)->m_linesPerAction
);
17419 resultobj
= SWIG_From_int((int)(result
));
17427 static PyObject
* MouseEvent_swigregister(PyObject
*, PyObject
*args
) {
17429 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17430 SWIG_TypeClientData(SWIGTYPE_p_wxMouseEvent
, obj
);
17432 return Py_BuildValue((char *)"");
17434 static PyObject
*_wrap_new_SetCursorEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17435 PyObject
*resultobj
;
17436 int arg1
= (int) 0 ;
17437 int arg2
= (int) 0 ;
17438 wxSetCursorEvent
*result
;
17439 PyObject
* obj0
= 0 ;
17440 PyObject
* obj1
= 0 ;
17441 char *kwnames
[] = {
17442 (char *) "x",(char *) "y", NULL
17445 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_SetCursorEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
17448 arg1
= (int)(SWIG_As_int(obj0
));
17449 if (SWIG_arg_fail(1)) SWIG_fail
;
17454 arg2
= (int)(SWIG_As_int(obj1
));
17455 if (SWIG_arg_fail(2)) SWIG_fail
;
17459 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17460 result
= (wxSetCursorEvent
*)new wxSetCursorEvent(arg1
,arg2
);
17462 wxPyEndAllowThreads(__tstate
);
17463 if (PyErr_Occurred()) SWIG_fail
;
17465 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSetCursorEvent
, 1);
17472 static PyObject
*_wrap_SetCursorEvent_GetX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17473 PyObject
*resultobj
;
17474 wxSetCursorEvent
*arg1
= (wxSetCursorEvent
*) 0 ;
17476 PyObject
* obj0
= 0 ;
17477 char *kwnames
[] = {
17478 (char *) "self", NULL
17481 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SetCursorEvent_GetX",kwnames
,&obj0
)) goto fail
;
17482 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSetCursorEvent
, SWIG_POINTER_EXCEPTION
| 0);
17483 if (SWIG_arg_fail(1)) SWIG_fail
;
17485 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17486 result
= (int)((wxSetCursorEvent
const *)arg1
)->GetX();
17488 wxPyEndAllowThreads(__tstate
);
17489 if (PyErr_Occurred()) SWIG_fail
;
17492 resultobj
= SWIG_From_int((int)(result
));
17500 static PyObject
*_wrap_SetCursorEvent_GetY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17501 PyObject
*resultobj
;
17502 wxSetCursorEvent
*arg1
= (wxSetCursorEvent
*) 0 ;
17504 PyObject
* obj0
= 0 ;
17505 char *kwnames
[] = {
17506 (char *) "self", NULL
17509 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SetCursorEvent_GetY",kwnames
,&obj0
)) goto fail
;
17510 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSetCursorEvent
, SWIG_POINTER_EXCEPTION
| 0);
17511 if (SWIG_arg_fail(1)) SWIG_fail
;
17513 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17514 result
= (int)((wxSetCursorEvent
const *)arg1
)->GetY();
17516 wxPyEndAllowThreads(__tstate
);
17517 if (PyErr_Occurred()) SWIG_fail
;
17520 resultobj
= SWIG_From_int((int)(result
));
17528 static PyObject
*_wrap_SetCursorEvent_SetCursor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17529 PyObject
*resultobj
;
17530 wxSetCursorEvent
*arg1
= (wxSetCursorEvent
*) 0 ;
17531 wxCursor
*arg2
= 0 ;
17532 PyObject
* obj0
= 0 ;
17533 PyObject
* obj1
= 0 ;
17534 char *kwnames
[] = {
17535 (char *) "self",(char *) "cursor", NULL
17538 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SetCursorEvent_SetCursor",kwnames
,&obj0
,&obj1
)) goto fail
;
17539 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSetCursorEvent
, SWIG_POINTER_EXCEPTION
| 0);
17540 if (SWIG_arg_fail(1)) SWIG_fail
;
17542 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxCursor
, SWIG_POINTER_EXCEPTION
| 0);
17543 if (SWIG_arg_fail(2)) SWIG_fail
;
17544 if (arg2
== NULL
) {
17545 SWIG_null_ref("wxCursor");
17547 if (SWIG_arg_fail(2)) SWIG_fail
;
17550 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17551 (arg1
)->SetCursor((wxCursor
const &)*arg2
);
17553 wxPyEndAllowThreads(__tstate
);
17554 if (PyErr_Occurred()) SWIG_fail
;
17556 Py_INCREF(Py_None
); resultobj
= Py_None
;
17563 static PyObject
*_wrap_SetCursorEvent_GetCursor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17564 PyObject
*resultobj
;
17565 wxSetCursorEvent
*arg1
= (wxSetCursorEvent
*) 0 ;
17567 PyObject
* obj0
= 0 ;
17568 char *kwnames
[] = {
17569 (char *) "self", NULL
17572 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SetCursorEvent_GetCursor",kwnames
,&obj0
)) goto fail
;
17573 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSetCursorEvent
, SWIG_POINTER_EXCEPTION
| 0);
17574 if (SWIG_arg_fail(1)) SWIG_fail
;
17576 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17578 wxCursor
const &_result_ref
= ((wxSetCursorEvent
const *)arg1
)->GetCursor();
17579 result
= (wxCursor
*) &_result_ref
;
17582 wxPyEndAllowThreads(__tstate
);
17583 if (PyErr_Occurred()) SWIG_fail
;
17586 wxCursor
* resultptr
= new wxCursor(*result
);
17587 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxCursor
, 1);
17595 static PyObject
*_wrap_SetCursorEvent_HasCursor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17596 PyObject
*resultobj
;
17597 wxSetCursorEvent
*arg1
= (wxSetCursorEvent
*) 0 ;
17599 PyObject
* obj0
= 0 ;
17600 char *kwnames
[] = {
17601 (char *) "self", NULL
17604 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SetCursorEvent_HasCursor",kwnames
,&obj0
)) goto fail
;
17605 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSetCursorEvent
, SWIG_POINTER_EXCEPTION
| 0);
17606 if (SWIG_arg_fail(1)) SWIG_fail
;
17608 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17609 result
= (bool)((wxSetCursorEvent
const *)arg1
)->HasCursor();
17611 wxPyEndAllowThreads(__tstate
);
17612 if (PyErr_Occurred()) SWIG_fail
;
17615 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17623 static PyObject
* SetCursorEvent_swigregister(PyObject
*, PyObject
*args
) {
17625 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17626 SWIG_TypeClientData(SWIGTYPE_p_wxSetCursorEvent
, obj
);
17628 return Py_BuildValue((char *)"");
17630 static PyObject
*_wrap_new_KeyEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17631 PyObject
*resultobj
;
17632 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
17633 wxKeyEvent
*result
;
17634 PyObject
* obj0
= 0 ;
17635 char *kwnames
[] = {
17636 (char *) "keyType", NULL
17639 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_KeyEvent",kwnames
,&obj0
)) goto fail
;
17642 arg1
= (wxEventType
)(SWIG_As_int(obj0
));
17643 if (SWIG_arg_fail(1)) SWIG_fail
;
17647 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17648 result
= (wxKeyEvent
*)new wxKeyEvent(arg1
);
17650 wxPyEndAllowThreads(__tstate
);
17651 if (PyErr_Occurred()) SWIG_fail
;
17653 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxKeyEvent
, 1);
17660 static PyObject
*_wrap_KeyEvent_ControlDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17661 PyObject
*resultobj
;
17662 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
17664 PyObject
* obj0
= 0 ;
17665 char *kwnames
[] = {
17666 (char *) "self", NULL
17669 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_ControlDown",kwnames
,&obj0
)) goto fail
;
17670 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
17671 if (SWIG_arg_fail(1)) SWIG_fail
;
17673 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17674 result
= (bool)((wxKeyEvent
const *)arg1
)->ControlDown();
17676 wxPyEndAllowThreads(__tstate
);
17677 if (PyErr_Occurred()) SWIG_fail
;
17680 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17688 static PyObject
*_wrap_KeyEvent_MetaDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17689 PyObject
*resultobj
;
17690 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
17692 PyObject
* obj0
= 0 ;
17693 char *kwnames
[] = {
17694 (char *) "self", NULL
17697 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_MetaDown",kwnames
,&obj0
)) goto fail
;
17698 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
17699 if (SWIG_arg_fail(1)) SWIG_fail
;
17701 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17702 result
= (bool)((wxKeyEvent
const *)arg1
)->MetaDown();
17704 wxPyEndAllowThreads(__tstate
);
17705 if (PyErr_Occurred()) SWIG_fail
;
17708 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17716 static PyObject
*_wrap_KeyEvent_AltDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17717 PyObject
*resultobj
;
17718 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
17720 PyObject
* obj0
= 0 ;
17721 char *kwnames
[] = {
17722 (char *) "self", NULL
17725 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_AltDown",kwnames
,&obj0
)) goto fail
;
17726 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
17727 if (SWIG_arg_fail(1)) SWIG_fail
;
17729 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17730 result
= (bool)((wxKeyEvent
const *)arg1
)->AltDown();
17732 wxPyEndAllowThreads(__tstate
);
17733 if (PyErr_Occurred()) SWIG_fail
;
17736 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17744 static PyObject
*_wrap_KeyEvent_ShiftDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17745 PyObject
*resultobj
;
17746 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
17748 PyObject
* obj0
= 0 ;
17749 char *kwnames
[] = {
17750 (char *) "self", NULL
17753 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_ShiftDown",kwnames
,&obj0
)) goto fail
;
17754 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
17755 if (SWIG_arg_fail(1)) SWIG_fail
;
17757 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17758 result
= (bool)((wxKeyEvent
const *)arg1
)->ShiftDown();
17760 wxPyEndAllowThreads(__tstate
);
17761 if (PyErr_Occurred()) SWIG_fail
;
17764 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17772 static PyObject
*_wrap_KeyEvent_CmdDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17773 PyObject
*resultobj
;
17774 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
17776 PyObject
* obj0
= 0 ;
17777 char *kwnames
[] = {
17778 (char *) "self", NULL
17781 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_CmdDown",kwnames
,&obj0
)) goto fail
;
17782 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
17783 if (SWIG_arg_fail(1)) SWIG_fail
;
17785 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17786 result
= (bool)((wxKeyEvent
const *)arg1
)->CmdDown();
17788 wxPyEndAllowThreads(__tstate
);
17789 if (PyErr_Occurred()) SWIG_fail
;
17792 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17800 static PyObject
*_wrap_KeyEvent_HasModifiers(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17801 PyObject
*resultobj
;
17802 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
17804 PyObject
* obj0
= 0 ;
17805 char *kwnames
[] = {
17806 (char *) "self", NULL
17809 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_HasModifiers",kwnames
,&obj0
)) goto fail
;
17810 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
17811 if (SWIG_arg_fail(1)) SWIG_fail
;
17813 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17814 result
= (bool)((wxKeyEvent
const *)arg1
)->HasModifiers();
17816 wxPyEndAllowThreads(__tstate
);
17817 if (PyErr_Occurred()) SWIG_fail
;
17820 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17828 static PyObject
*_wrap_KeyEvent_GetKeyCode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17829 PyObject
*resultobj
;
17830 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
17832 PyObject
* obj0
= 0 ;
17833 char *kwnames
[] = {
17834 (char *) "self", NULL
17837 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetKeyCode",kwnames
,&obj0
)) goto fail
;
17838 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
17839 if (SWIG_arg_fail(1)) SWIG_fail
;
17841 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17842 result
= (int)((wxKeyEvent
const *)arg1
)->GetKeyCode();
17844 wxPyEndAllowThreads(__tstate
);
17845 if (PyErr_Occurred()) SWIG_fail
;
17848 resultobj
= SWIG_From_int((int)(result
));
17856 static PyObject
*_wrap_KeyEvent_GetUnicodeKey(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17857 PyObject
*resultobj
;
17858 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
17860 PyObject
* obj0
= 0 ;
17861 char *kwnames
[] = {
17862 (char *) "self", NULL
17865 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetUnicodeKey",kwnames
,&obj0
)) goto fail
;
17866 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
17867 if (SWIG_arg_fail(1)) SWIG_fail
;
17869 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17870 result
= (int)wxKeyEvent_GetUnicodeKey(arg1
);
17872 wxPyEndAllowThreads(__tstate
);
17873 if (PyErr_Occurred()) SWIG_fail
;
17876 resultobj
= SWIG_From_int((int)(result
));
17884 static PyObject
*_wrap_KeyEvent_GetRawKeyCode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17885 PyObject
*resultobj
;
17886 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
17887 unsigned int result
;
17888 PyObject
* obj0
= 0 ;
17889 char *kwnames
[] = {
17890 (char *) "self", NULL
17893 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetRawKeyCode",kwnames
,&obj0
)) goto fail
;
17894 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
17895 if (SWIG_arg_fail(1)) SWIG_fail
;
17897 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17898 result
= (unsigned int)((wxKeyEvent
const *)arg1
)->GetRawKeyCode();
17900 wxPyEndAllowThreads(__tstate
);
17901 if (PyErr_Occurred()) SWIG_fail
;
17904 resultobj
= SWIG_From_unsigned_SS_int((unsigned int)(result
));
17912 static PyObject
*_wrap_KeyEvent_GetRawKeyFlags(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17913 PyObject
*resultobj
;
17914 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
17915 unsigned int result
;
17916 PyObject
* obj0
= 0 ;
17917 char *kwnames
[] = {
17918 (char *) "self", NULL
17921 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetRawKeyFlags",kwnames
,&obj0
)) goto fail
;
17922 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
17923 if (SWIG_arg_fail(1)) SWIG_fail
;
17925 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17926 result
= (unsigned int)((wxKeyEvent
const *)arg1
)->GetRawKeyFlags();
17928 wxPyEndAllowThreads(__tstate
);
17929 if (PyErr_Occurred()) SWIG_fail
;
17932 resultobj
= SWIG_From_unsigned_SS_int((unsigned int)(result
));
17940 static PyObject
*_wrap_KeyEvent_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17941 PyObject
*resultobj
;
17942 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
17944 PyObject
* obj0
= 0 ;
17945 char *kwnames
[] = {
17946 (char *) "self", NULL
17949 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
17950 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
17951 if (SWIG_arg_fail(1)) SWIG_fail
;
17953 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17954 result
= (arg1
)->GetPosition();
17956 wxPyEndAllowThreads(__tstate
);
17957 if (PyErr_Occurred()) SWIG_fail
;
17960 wxPoint
* resultptr
;
17961 resultptr
= new wxPoint((wxPoint
&)(result
));
17962 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
17970 static PyObject
*_wrap_KeyEvent_GetPositionTuple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17971 PyObject
*resultobj
;
17972 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
17973 long *arg2
= (long *) 0 ;
17974 long *arg3
= (long *) 0 ;
17979 PyObject
* obj0
= 0 ;
17980 char *kwnames
[] = {
17981 (char *) "self", NULL
17984 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
17985 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
17986 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetPositionTuple",kwnames
,&obj0
)) goto fail
;
17987 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
17988 if (SWIG_arg_fail(1)) SWIG_fail
;
17990 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17991 (arg1
)->GetPosition(arg2
,arg3
);
17993 wxPyEndAllowThreads(__tstate
);
17994 if (PyErr_Occurred()) SWIG_fail
;
17996 Py_INCREF(Py_None
); resultobj
= Py_None
;
17997 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
17998 SWIG_From_long((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_long
, 0)));
17999 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
18000 SWIG_From_long((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, 0)));
18007 static PyObject
*_wrap_KeyEvent_GetX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18008 PyObject
*resultobj
;
18009 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18011 PyObject
* obj0
= 0 ;
18012 char *kwnames
[] = {
18013 (char *) "self", NULL
18016 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetX",kwnames
,&obj0
)) goto fail
;
18017 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18018 if (SWIG_arg_fail(1)) SWIG_fail
;
18020 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18021 result
= (int)((wxKeyEvent
const *)arg1
)->GetX();
18023 wxPyEndAllowThreads(__tstate
);
18024 if (PyErr_Occurred()) SWIG_fail
;
18027 resultobj
= SWIG_From_int((int)(result
));
18035 static PyObject
*_wrap_KeyEvent_GetY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18036 PyObject
*resultobj
;
18037 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18039 PyObject
* obj0
= 0 ;
18040 char *kwnames
[] = {
18041 (char *) "self", NULL
18044 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetY",kwnames
,&obj0
)) goto fail
;
18045 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18046 if (SWIG_arg_fail(1)) SWIG_fail
;
18048 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18049 result
= (int)((wxKeyEvent
const *)arg1
)->GetY();
18051 wxPyEndAllowThreads(__tstate
);
18052 if (PyErr_Occurred()) SWIG_fail
;
18055 resultobj
= SWIG_From_int((int)(result
));
18063 static PyObject
*_wrap_KeyEvent_m_x_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18064 PyObject
*resultobj
;
18065 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18067 PyObject
* obj0
= 0 ;
18068 PyObject
* obj1
= 0 ;
18069 char *kwnames
[] = {
18070 (char *) "self",(char *) "m_x", NULL
18073 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_x_set",kwnames
,&obj0
,&obj1
)) goto fail
;
18074 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18075 if (SWIG_arg_fail(1)) SWIG_fail
;
18077 arg2
= (int)(SWIG_As_int(obj1
));
18078 if (SWIG_arg_fail(2)) SWIG_fail
;
18080 if (arg1
) (arg1
)->m_x
= arg2
;
18082 Py_INCREF(Py_None
); resultobj
= Py_None
;
18089 static PyObject
*_wrap_KeyEvent_m_x_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18090 PyObject
*resultobj
;
18091 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18093 PyObject
* obj0
= 0 ;
18094 char *kwnames
[] = {
18095 (char *) "self", NULL
18098 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_x_get",kwnames
,&obj0
)) goto fail
;
18099 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18100 if (SWIG_arg_fail(1)) SWIG_fail
;
18101 result
= (int) ((arg1
)->m_x
);
18104 resultobj
= SWIG_From_int((int)(result
));
18112 static PyObject
*_wrap_KeyEvent_m_y_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18113 PyObject
*resultobj
;
18114 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18116 PyObject
* obj0
= 0 ;
18117 PyObject
* obj1
= 0 ;
18118 char *kwnames
[] = {
18119 (char *) "self",(char *) "m_y", NULL
18122 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_y_set",kwnames
,&obj0
,&obj1
)) goto fail
;
18123 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18124 if (SWIG_arg_fail(1)) SWIG_fail
;
18126 arg2
= (int)(SWIG_As_int(obj1
));
18127 if (SWIG_arg_fail(2)) SWIG_fail
;
18129 if (arg1
) (arg1
)->m_y
= arg2
;
18131 Py_INCREF(Py_None
); resultobj
= Py_None
;
18138 static PyObject
*_wrap_KeyEvent_m_y_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18139 PyObject
*resultobj
;
18140 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18142 PyObject
* obj0
= 0 ;
18143 char *kwnames
[] = {
18144 (char *) "self", NULL
18147 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_y_get",kwnames
,&obj0
)) goto fail
;
18148 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18149 if (SWIG_arg_fail(1)) SWIG_fail
;
18150 result
= (int) ((arg1
)->m_y
);
18153 resultobj
= SWIG_From_int((int)(result
));
18161 static PyObject
*_wrap_KeyEvent_m_keyCode_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18162 PyObject
*resultobj
;
18163 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18165 PyObject
* obj0
= 0 ;
18166 PyObject
* obj1
= 0 ;
18167 char *kwnames
[] = {
18168 (char *) "self",(char *) "m_keyCode", NULL
18171 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_keyCode_set",kwnames
,&obj0
,&obj1
)) goto fail
;
18172 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18173 if (SWIG_arg_fail(1)) SWIG_fail
;
18175 arg2
= (long)(SWIG_As_long(obj1
));
18176 if (SWIG_arg_fail(2)) SWIG_fail
;
18178 if (arg1
) (arg1
)->m_keyCode
= arg2
;
18180 Py_INCREF(Py_None
); resultobj
= Py_None
;
18187 static PyObject
*_wrap_KeyEvent_m_keyCode_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18188 PyObject
*resultobj
;
18189 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18191 PyObject
* obj0
= 0 ;
18192 char *kwnames
[] = {
18193 (char *) "self", NULL
18196 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_keyCode_get",kwnames
,&obj0
)) goto fail
;
18197 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18198 if (SWIG_arg_fail(1)) SWIG_fail
;
18199 result
= (long) ((arg1
)->m_keyCode
);
18202 resultobj
= SWIG_From_long((long)(result
));
18210 static PyObject
*_wrap_KeyEvent_m_controlDown_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18211 PyObject
*resultobj
;
18212 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18214 PyObject
* obj0
= 0 ;
18215 PyObject
* obj1
= 0 ;
18216 char *kwnames
[] = {
18217 (char *) "self",(char *) "m_controlDown", NULL
18220 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_controlDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
18221 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18222 if (SWIG_arg_fail(1)) SWIG_fail
;
18224 arg2
= (bool)(SWIG_As_bool(obj1
));
18225 if (SWIG_arg_fail(2)) SWIG_fail
;
18227 if (arg1
) (arg1
)->m_controlDown
= arg2
;
18229 Py_INCREF(Py_None
); resultobj
= Py_None
;
18236 static PyObject
*_wrap_KeyEvent_m_controlDown_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18237 PyObject
*resultobj
;
18238 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18240 PyObject
* obj0
= 0 ;
18241 char *kwnames
[] = {
18242 (char *) "self", NULL
18245 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_controlDown_get",kwnames
,&obj0
)) goto fail
;
18246 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18247 if (SWIG_arg_fail(1)) SWIG_fail
;
18248 result
= (bool) ((arg1
)->m_controlDown
);
18251 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18259 static PyObject
*_wrap_KeyEvent_m_shiftDown_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18260 PyObject
*resultobj
;
18261 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18263 PyObject
* obj0
= 0 ;
18264 PyObject
* obj1
= 0 ;
18265 char *kwnames
[] = {
18266 (char *) "self",(char *) "m_shiftDown", NULL
18269 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_shiftDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
18270 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18271 if (SWIG_arg_fail(1)) SWIG_fail
;
18273 arg2
= (bool)(SWIG_As_bool(obj1
));
18274 if (SWIG_arg_fail(2)) SWIG_fail
;
18276 if (arg1
) (arg1
)->m_shiftDown
= arg2
;
18278 Py_INCREF(Py_None
); resultobj
= Py_None
;
18285 static PyObject
*_wrap_KeyEvent_m_shiftDown_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18286 PyObject
*resultobj
;
18287 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18289 PyObject
* obj0
= 0 ;
18290 char *kwnames
[] = {
18291 (char *) "self", NULL
18294 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_shiftDown_get",kwnames
,&obj0
)) goto fail
;
18295 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18296 if (SWIG_arg_fail(1)) SWIG_fail
;
18297 result
= (bool) ((arg1
)->m_shiftDown
);
18300 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18308 static PyObject
*_wrap_KeyEvent_m_altDown_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18309 PyObject
*resultobj
;
18310 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18312 PyObject
* obj0
= 0 ;
18313 PyObject
* obj1
= 0 ;
18314 char *kwnames
[] = {
18315 (char *) "self",(char *) "m_altDown", NULL
18318 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_altDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
18319 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18320 if (SWIG_arg_fail(1)) SWIG_fail
;
18322 arg2
= (bool)(SWIG_As_bool(obj1
));
18323 if (SWIG_arg_fail(2)) SWIG_fail
;
18325 if (arg1
) (arg1
)->m_altDown
= arg2
;
18327 Py_INCREF(Py_None
); resultobj
= Py_None
;
18334 static PyObject
*_wrap_KeyEvent_m_altDown_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18335 PyObject
*resultobj
;
18336 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18338 PyObject
* obj0
= 0 ;
18339 char *kwnames
[] = {
18340 (char *) "self", NULL
18343 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_altDown_get",kwnames
,&obj0
)) goto fail
;
18344 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18345 if (SWIG_arg_fail(1)) SWIG_fail
;
18346 result
= (bool) ((arg1
)->m_altDown
);
18349 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18357 static PyObject
*_wrap_KeyEvent_m_metaDown_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18358 PyObject
*resultobj
;
18359 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18361 PyObject
* obj0
= 0 ;
18362 PyObject
* obj1
= 0 ;
18363 char *kwnames
[] = {
18364 (char *) "self",(char *) "m_metaDown", NULL
18367 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_metaDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
18368 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18369 if (SWIG_arg_fail(1)) SWIG_fail
;
18371 arg2
= (bool)(SWIG_As_bool(obj1
));
18372 if (SWIG_arg_fail(2)) SWIG_fail
;
18374 if (arg1
) (arg1
)->m_metaDown
= arg2
;
18376 Py_INCREF(Py_None
); resultobj
= Py_None
;
18383 static PyObject
*_wrap_KeyEvent_m_metaDown_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18384 PyObject
*resultobj
;
18385 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18387 PyObject
* obj0
= 0 ;
18388 char *kwnames
[] = {
18389 (char *) "self", NULL
18392 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_metaDown_get",kwnames
,&obj0
)) goto fail
;
18393 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18394 if (SWIG_arg_fail(1)) SWIG_fail
;
18395 result
= (bool) ((arg1
)->m_metaDown
);
18398 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18406 static PyObject
*_wrap_KeyEvent_m_scanCode_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18407 PyObject
*resultobj
;
18408 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18410 PyObject
* obj0
= 0 ;
18411 PyObject
* obj1
= 0 ;
18412 char *kwnames
[] = {
18413 (char *) "self",(char *) "m_scanCode", NULL
18416 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_scanCode_set",kwnames
,&obj0
,&obj1
)) goto fail
;
18417 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18418 if (SWIG_arg_fail(1)) SWIG_fail
;
18420 arg2
= (bool)(SWIG_As_bool(obj1
));
18421 if (SWIG_arg_fail(2)) SWIG_fail
;
18423 if (arg1
) (arg1
)->m_scanCode
= arg2
;
18425 Py_INCREF(Py_None
); resultobj
= Py_None
;
18432 static PyObject
*_wrap_KeyEvent_m_scanCode_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18433 PyObject
*resultobj
;
18434 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18436 PyObject
* obj0
= 0 ;
18437 char *kwnames
[] = {
18438 (char *) "self", NULL
18441 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_scanCode_get",kwnames
,&obj0
)) goto fail
;
18442 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18443 if (SWIG_arg_fail(1)) SWIG_fail
;
18444 result
= (bool) ((arg1
)->m_scanCode
);
18447 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18455 static PyObject
*_wrap_KeyEvent_m_rawCode_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18456 PyObject
*resultobj
;
18457 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18458 unsigned int arg2
;
18459 PyObject
* obj0
= 0 ;
18460 PyObject
* obj1
= 0 ;
18461 char *kwnames
[] = {
18462 (char *) "self",(char *) "m_rawCode", NULL
18465 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_rawCode_set",kwnames
,&obj0
,&obj1
)) goto fail
;
18466 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18467 if (SWIG_arg_fail(1)) SWIG_fail
;
18469 arg2
= (unsigned int)(SWIG_As_unsigned_SS_int(obj1
));
18470 if (SWIG_arg_fail(2)) SWIG_fail
;
18472 if (arg1
) (arg1
)->m_rawCode
= arg2
;
18474 Py_INCREF(Py_None
); resultobj
= Py_None
;
18481 static PyObject
*_wrap_KeyEvent_m_rawCode_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18482 PyObject
*resultobj
;
18483 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18484 unsigned int result
;
18485 PyObject
* obj0
= 0 ;
18486 char *kwnames
[] = {
18487 (char *) "self", NULL
18490 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_rawCode_get",kwnames
,&obj0
)) goto fail
;
18491 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18492 if (SWIG_arg_fail(1)) SWIG_fail
;
18493 result
= (unsigned int) ((arg1
)->m_rawCode
);
18496 resultobj
= SWIG_From_unsigned_SS_int((unsigned int)(result
));
18504 static PyObject
*_wrap_KeyEvent_m_rawFlags_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18505 PyObject
*resultobj
;
18506 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18507 unsigned int arg2
;
18508 PyObject
* obj0
= 0 ;
18509 PyObject
* obj1
= 0 ;
18510 char *kwnames
[] = {
18511 (char *) "self",(char *) "m_rawFlags", NULL
18514 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_rawFlags_set",kwnames
,&obj0
,&obj1
)) goto fail
;
18515 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18516 if (SWIG_arg_fail(1)) SWIG_fail
;
18518 arg2
= (unsigned int)(SWIG_As_unsigned_SS_int(obj1
));
18519 if (SWIG_arg_fail(2)) SWIG_fail
;
18521 if (arg1
) (arg1
)->m_rawFlags
= arg2
;
18523 Py_INCREF(Py_None
); resultobj
= Py_None
;
18530 static PyObject
*_wrap_KeyEvent_m_rawFlags_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18531 PyObject
*resultobj
;
18532 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18533 unsigned int result
;
18534 PyObject
* obj0
= 0 ;
18535 char *kwnames
[] = {
18536 (char *) "self", NULL
18539 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_rawFlags_get",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
;
18542 result
= (unsigned int) ((arg1
)->m_rawFlags
);
18545 resultobj
= SWIG_From_unsigned_SS_int((unsigned int)(result
));
18553 static PyObject
* KeyEvent_swigregister(PyObject
*, PyObject
*args
) {
18555 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18556 SWIG_TypeClientData(SWIGTYPE_p_wxKeyEvent
, obj
);
18558 return Py_BuildValue((char *)"");
18560 static PyObject
*_wrap_new_SizeEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18561 PyObject
*resultobj
;
18562 wxSize
const &arg1_defvalue
= wxDefaultSize
;
18563 wxSize
*arg1
= (wxSize
*) &arg1_defvalue
;
18564 int arg2
= (int) 0 ;
18565 wxSizeEvent
*result
;
18567 PyObject
* obj0
= 0 ;
18568 PyObject
* obj1
= 0 ;
18569 char *kwnames
[] = {
18570 (char *) "sz",(char *) "winid", NULL
18573 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_SizeEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
18577 if ( ! wxSize_helper(obj0
, &arg1
)) SWIG_fail
;
18582 arg2
= (int)(SWIG_As_int(obj1
));
18583 if (SWIG_arg_fail(2)) SWIG_fail
;
18587 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18588 result
= (wxSizeEvent
*)new wxSizeEvent((wxSize
const &)*arg1
,arg2
);
18590 wxPyEndAllowThreads(__tstate
);
18591 if (PyErr_Occurred()) SWIG_fail
;
18593 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizeEvent
, 1);
18600 static PyObject
*_wrap_SizeEvent_GetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18601 PyObject
*resultobj
;
18602 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
18604 PyObject
* obj0
= 0 ;
18605 char *kwnames
[] = {
18606 (char *) "self", NULL
18609 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizeEvent_GetSize",kwnames
,&obj0
)) goto fail
;
18610 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizeEvent
, SWIG_POINTER_EXCEPTION
| 0);
18611 if (SWIG_arg_fail(1)) SWIG_fail
;
18613 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18614 result
= ((wxSizeEvent
const *)arg1
)->GetSize();
18616 wxPyEndAllowThreads(__tstate
);
18617 if (PyErr_Occurred()) SWIG_fail
;
18620 wxSize
* resultptr
;
18621 resultptr
= new wxSize((wxSize
&)(result
));
18622 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
18630 static PyObject
*_wrap_SizeEvent_GetRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18631 PyObject
*resultobj
;
18632 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
18634 PyObject
* obj0
= 0 ;
18635 char *kwnames
[] = {
18636 (char *) "self", NULL
18639 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizeEvent_GetRect",kwnames
,&obj0
)) goto fail
;
18640 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizeEvent
, SWIG_POINTER_EXCEPTION
| 0);
18641 if (SWIG_arg_fail(1)) SWIG_fail
;
18643 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18644 result
= ((wxSizeEvent
const *)arg1
)->GetRect();
18646 wxPyEndAllowThreads(__tstate
);
18647 if (PyErr_Occurred()) SWIG_fail
;
18650 wxRect
* resultptr
;
18651 resultptr
= new wxRect((wxRect
&)(result
));
18652 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
18660 static PyObject
*_wrap_SizeEvent_SetRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18661 PyObject
*resultobj
;
18662 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
18664 PyObject
* obj0
= 0 ;
18665 PyObject
* obj1
= 0 ;
18666 char *kwnames
[] = {
18667 (char *) "self",(char *) "rect", NULL
18670 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizeEvent_SetRect",kwnames
,&obj0
,&obj1
)) goto fail
;
18671 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizeEvent
, SWIG_POINTER_EXCEPTION
| 0);
18672 if (SWIG_arg_fail(1)) SWIG_fail
;
18675 SWIG_Python_ConvertPtr(obj1
, (void **)&argp
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
);
18676 if (SWIG_arg_fail(2)) SWIG_fail
;
18677 if (argp
== NULL
) {
18678 SWIG_null_ref("wxRect");
18680 if (SWIG_arg_fail(2)) SWIG_fail
;
18684 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18685 (arg1
)->SetRect(arg2
);
18687 wxPyEndAllowThreads(__tstate
);
18688 if (PyErr_Occurred()) SWIG_fail
;
18690 Py_INCREF(Py_None
); resultobj
= Py_None
;
18697 static PyObject
*_wrap_SizeEvent_SetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18698 PyObject
*resultobj
;
18699 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
18701 PyObject
* obj0
= 0 ;
18702 PyObject
* obj1
= 0 ;
18703 char *kwnames
[] = {
18704 (char *) "self",(char *) "size", NULL
18707 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizeEvent_SetSize",kwnames
,&obj0
,&obj1
)) goto fail
;
18708 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizeEvent
, SWIG_POINTER_EXCEPTION
| 0);
18709 if (SWIG_arg_fail(1)) SWIG_fail
;
18712 SWIG_Python_ConvertPtr(obj1
, (void **)&argp
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
);
18713 if (SWIG_arg_fail(2)) SWIG_fail
;
18714 if (argp
== NULL
) {
18715 SWIG_null_ref("wxSize");
18717 if (SWIG_arg_fail(2)) SWIG_fail
;
18721 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18722 wxSizeEvent_SetSize(arg1
,arg2
);
18724 wxPyEndAllowThreads(__tstate
);
18725 if (PyErr_Occurred()) SWIG_fail
;
18727 Py_INCREF(Py_None
); resultobj
= Py_None
;
18734 static PyObject
*_wrap_SizeEvent_m_size_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18735 PyObject
*resultobj
;
18736 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
18737 wxSize
*arg2
= (wxSize
*) 0 ;
18738 PyObject
* obj0
= 0 ;
18739 PyObject
* obj1
= 0 ;
18740 char *kwnames
[] = {
18741 (char *) "self",(char *) "m_size", NULL
18744 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizeEvent_m_size_set",kwnames
,&obj0
,&obj1
)) goto fail
;
18745 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizeEvent
, SWIG_POINTER_EXCEPTION
| 0);
18746 if (SWIG_arg_fail(1)) SWIG_fail
;
18747 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
| 0);
18748 if (SWIG_arg_fail(2)) SWIG_fail
;
18749 if (arg1
) (arg1
)->m_size
= *arg2
;
18751 Py_INCREF(Py_None
); resultobj
= Py_None
;
18758 static PyObject
*_wrap_SizeEvent_m_size_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18759 PyObject
*resultobj
;
18760 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
18762 PyObject
* obj0
= 0 ;
18763 char *kwnames
[] = {
18764 (char *) "self", NULL
18767 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizeEvent_m_size_get",kwnames
,&obj0
)) goto fail
;
18768 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizeEvent
, SWIG_POINTER_EXCEPTION
| 0);
18769 if (SWIG_arg_fail(1)) SWIG_fail
;
18770 result
= (wxSize
*)& ((arg1
)->m_size
);
18772 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSize
, 0);
18779 static PyObject
*_wrap_SizeEvent_m_rect_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18780 PyObject
*resultobj
;
18781 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
18782 wxRect
*arg2
= (wxRect
*) 0 ;
18783 PyObject
* obj0
= 0 ;
18784 PyObject
* obj1
= 0 ;
18785 char *kwnames
[] = {
18786 (char *) "self",(char *) "m_rect", NULL
18789 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizeEvent_m_rect_set",kwnames
,&obj0
,&obj1
)) goto fail
;
18790 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizeEvent
, SWIG_POINTER_EXCEPTION
| 0);
18791 if (SWIG_arg_fail(1)) SWIG_fail
;
18792 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
18793 if (SWIG_arg_fail(2)) SWIG_fail
;
18794 if (arg1
) (arg1
)->m_rect
= *arg2
;
18796 Py_INCREF(Py_None
); resultobj
= Py_None
;
18803 static PyObject
*_wrap_SizeEvent_m_rect_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18804 PyObject
*resultobj
;
18805 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
18807 PyObject
* obj0
= 0 ;
18808 char *kwnames
[] = {
18809 (char *) "self", NULL
18812 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizeEvent_m_rect_get",kwnames
,&obj0
)) goto fail
;
18813 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizeEvent
, SWIG_POINTER_EXCEPTION
| 0);
18814 if (SWIG_arg_fail(1)) SWIG_fail
;
18815 result
= (wxRect
*)& ((arg1
)->m_rect
);
18817 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 0);
18824 static PyObject
* SizeEvent_swigregister(PyObject
*, PyObject
*args
) {
18826 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18827 SWIG_TypeClientData(SWIGTYPE_p_wxSizeEvent
, obj
);
18829 return Py_BuildValue((char *)"");
18831 static PyObject
*_wrap_new_MoveEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18832 PyObject
*resultobj
;
18833 wxPoint
const &arg1_defvalue
= wxDefaultPosition
;
18834 wxPoint
*arg1
= (wxPoint
*) &arg1_defvalue
;
18835 int arg2
= (int) 0 ;
18836 wxMoveEvent
*result
;
18838 PyObject
* obj0
= 0 ;
18839 PyObject
* obj1
= 0 ;
18840 char *kwnames
[] = {
18841 (char *) "pos",(char *) "winid", NULL
18844 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_MoveEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
18848 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
18853 arg2
= (int)(SWIG_As_int(obj1
));
18854 if (SWIG_arg_fail(2)) SWIG_fail
;
18858 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18859 result
= (wxMoveEvent
*)new wxMoveEvent((wxPoint
const &)*arg1
,arg2
);
18861 wxPyEndAllowThreads(__tstate
);
18862 if (PyErr_Occurred()) SWIG_fail
;
18864 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMoveEvent
, 1);
18871 static PyObject
*_wrap_MoveEvent_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18872 PyObject
*resultobj
;
18873 wxMoveEvent
*arg1
= (wxMoveEvent
*) 0 ;
18875 PyObject
* obj0
= 0 ;
18876 char *kwnames
[] = {
18877 (char *) "self", NULL
18880 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MoveEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
18881 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMoveEvent
, SWIG_POINTER_EXCEPTION
| 0);
18882 if (SWIG_arg_fail(1)) SWIG_fail
;
18884 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18885 result
= ((wxMoveEvent
const *)arg1
)->GetPosition();
18887 wxPyEndAllowThreads(__tstate
);
18888 if (PyErr_Occurred()) SWIG_fail
;
18891 wxPoint
* resultptr
;
18892 resultptr
= new wxPoint((wxPoint
&)(result
));
18893 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
18901 static PyObject
*_wrap_MoveEvent_GetRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18902 PyObject
*resultobj
;
18903 wxMoveEvent
*arg1
= (wxMoveEvent
*) 0 ;
18905 PyObject
* obj0
= 0 ;
18906 char *kwnames
[] = {
18907 (char *) "self", NULL
18910 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MoveEvent_GetRect",kwnames
,&obj0
)) goto fail
;
18911 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMoveEvent
, SWIG_POINTER_EXCEPTION
| 0);
18912 if (SWIG_arg_fail(1)) SWIG_fail
;
18914 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18915 result
= ((wxMoveEvent
const *)arg1
)->GetRect();
18917 wxPyEndAllowThreads(__tstate
);
18918 if (PyErr_Occurred()) SWIG_fail
;
18921 wxRect
* resultptr
;
18922 resultptr
= new wxRect((wxRect
&)(result
));
18923 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
18931 static PyObject
*_wrap_MoveEvent_SetRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18932 PyObject
*resultobj
;
18933 wxMoveEvent
*arg1
= (wxMoveEvent
*) 0 ;
18936 PyObject
* obj0
= 0 ;
18937 PyObject
* obj1
= 0 ;
18938 char *kwnames
[] = {
18939 (char *) "self",(char *) "rect", NULL
18942 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MoveEvent_SetRect",kwnames
,&obj0
,&obj1
)) goto fail
;
18943 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMoveEvent
, SWIG_POINTER_EXCEPTION
| 0);
18944 if (SWIG_arg_fail(1)) SWIG_fail
;
18947 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
18950 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18951 (arg1
)->SetRect((wxRect
const &)*arg2
);
18953 wxPyEndAllowThreads(__tstate
);
18954 if (PyErr_Occurred()) SWIG_fail
;
18956 Py_INCREF(Py_None
); resultobj
= Py_None
;
18963 static PyObject
*_wrap_MoveEvent_SetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18964 PyObject
*resultobj
;
18965 wxMoveEvent
*arg1
= (wxMoveEvent
*) 0 ;
18966 wxPoint
*arg2
= 0 ;
18968 PyObject
* obj0
= 0 ;
18969 PyObject
* obj1
= 0 ;
18970 char *kwnames
[] = {
18971 (char *) "self",(char *) "pos", NULL
18974 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MoveEvent_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
18975 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMoveEvent
, SWIG_POINTER_EXCEPTION
| 0);
18976 if (SWIG_arg_fail(1)) SWIG_fail
;
18979 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
18982 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18983 (arg1
)->SetPosition((wxPoint
const &)*arg2
);
18985 wxPyEndAllowThreads(__tstate
);
18986 if (PyErr_Occurred()) SWIG_fail
;
18988 Py_INCREF(Py_None
); resultobj
= Py_None
;
18995 static PyObject
* MoveEvent_swigregister(PyObject
*, PyObject
*args
) {
18997 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18998 SWIG_TypeClientData(SWIGTYPE_p_wxMoveEvent
, obj
);
19000 return Py_BuildValue((char *)"");
19002 static PyObject
*_wrap_new_PaintEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19003 PyObject
*resultobj
;
19004 int arg1
= (int) 0 ;
19005 wxPaintEvent
*result
;
19006 PyObject
* obj0
= 0 ;
19007 char *kwnames
[] = {
19008 (char *) "Id", NULL
19011 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_PaintEvent",kwnames
,&obj0
)) goto fail
;
19014 arg1
= (int)(SWIG_As_int(obj0
));
19015 if (SWIG_arg_fail(1)) SWIG_fail
;
19019 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19020 result
= (wxPaintEvent
*)new wxPaintEvent(arg1
);
19022 wxPyEndAllowThreads(__tstate
);
19023 if (PyErr_Occurred()) SWIG_fail
;
19025 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPaintEvent
, 1);
19032 static PyObject
* PaintEvent_swigregister(PyObject
*, PyObject
*args
) {
19034 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19035 SWIG_TypeClientData(SWIGTYPE_p_wxPaintEvent
, obj
);
19037 return Py_BuildValue((char *)"");
19039 static PyObject
*_wrap_new_NcPaintEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19040 PyObject
*resultobj
;
19041 int arg1
= (int) 0 ;
19042 wxNcPaintEvent
*result
;
19043 PyObject
* obj0
= 0 ;
19044 char *kwnames
[] = {
19045 (char *) "winid", NULL
19048 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_NcPaintEvent",kwnames
,&obj0
)) goto fail
;
19051 arg1
= (int)(SWIG_As_int(obj0
));
19052 if (SWIG_arg_fail(1)) SWIG_fail
;
19056 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19057 result
= (wxNcPaintEvent
*)new wxNcPaintEvent(arg1
);
19059 wxPyEndAllowThreads(__tstate
);
19060 if (PyErr_Occurred()) SWIG_fail
;
19062 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNcPaintEvent
, 1);
19069 static PyObject
* NcPaintEvent_swigregister(PyObject
*, PyObject
*args
) {
19071 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19072 SWIG_TypeClientData(SWIGTYPE_p_wxNcPaintEvent
, obj
);
19074 return Py_BuildValue((char *)"");
19076 static PyObject
*_wrap_new_EraseEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19077 PyObject
*resultobj
;
19078 int arg1
= (int) 0 ;
19079 wxDC
*arg2
= (wxDC
*) (wxDC
*) NULL
;
19080 wxEraseEvent
*result
;
19081 PyObject
* obj0
= 0 ;
19082 PyObject
* obj1
= 0 ;
19083 char *kwnames
[] = {
19084 (char *) "Id",(char *) "dc", NULL
19087 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_EraseEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
19090 arg1
= (int)(SWIG_As_int(obj0
));
19091 if (SWIG_arg_fail(1)) SWIG_fail
;
19095 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
19096 if (SWIG_arg_fail(2)) SWIG_fail
;
19099 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19100 result
= (wxEraseEvent
*)new wxEraseEvent(arg1
,arg2
);
19102 wxPyEndAllowThreads(__tstate
);
19103 if (PyErr_Occurred()) SWIG_fail
;
19105 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxEraseEvent
, 1);
19112 static PyObject
*_wrap_EraseEvent_GetDC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19113 PyObject
*resultobj
;
19114 wxEraseEvent
*arg1
= (wxEraseEvent
*) 0 ;
19116 PyObject
* obj0
= 0 ;
19117 char *kwnames
[] = {
19118 (char *) "self", NULL
19121 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EraseEvent_GetDC",kwnames
,&obj0
)) goto fail
;
19122 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEraseEvent
, SWIG_POINTER_EXCEPTION
| 0);
19123 if (SWIG_arg_fail(1)) SWIG_fail
;
19125 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19126 result
= (wxDC
*)((wxEraseEvent
const *)arg1
)->GetDC();
19128 wxPyEndAllowThreads(__tstate
);
19129 if (PyErr_Occurred()) SWIG_fail
;
19132 resultobj
= wxPyMake_wxObject(result
, 0);
19140 static PyObject
* EraseEvent_swigregister(PyObject
*, PyObject
*args
) {
19142 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19143 SWIG_TypeClientData(SWIGTYPE_p_wxEraseEvent
, obj
);
19145 return Py_BuildValue((char *)"");
19147 static PyObject
*_wrap_new_FocusEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19148 PyObject
*resultobj
;
19149 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
19150 int arg2
= (int) 0 ;
19151 wxFocusEvent
*result
;
19152 PyObject
* obj0
= 0 ;
19153 PyObject
* obj1
= 0 ;
19154 char *kwnames
[] = {
19155 (char *) "type",(char *) "winid", NULL
19158 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_FocusEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
19161 arg1
= (wxEventType
)(SWIG_As_int(obj0
));
19162 if (SWIG_arg_fail(1)) SWIG_fail
;
19167 arg2
= (int)(SWIG_As_int(obj1
));
19168 if (SWIG_arg_fail(2)) SWIG_fail
;
19172 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19173 result
= (wxFocusEvent
*)new wxFocusEvent(arg1
,arg2
);
19175 wxPyEndAllowThreads(__tstate
);
19176 if (PyErr_Occurred()) SWIG_fail
;
19178 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFocusEvent
, 1);
19185 static PyObject
*_wrap_FocusEvent_GetWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19186 PyObject
*resultobj
;
19187 wxFocusEvent
*arg1
= (wxFocusEvent
*) 0 ;
19189 PyObject
* obj0
= 0 ;
19190 char *kwnames
[] = {
19191 (char *) "self", NULL
19194 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FocusEvent_GetWindow",kwnames
,&obj0
)) goto fail
;
19195 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFocusEvent
, SWIG_POINTER_EXCEPTION
| 0);
19196 if (SWIG_arg_fail(1)) SWIG_fail
;
19198 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19199 result
= (wxWindow
*)((wxFocusEvent
const *)arg1
)->GetWindow();
19201 wxPyEndAllowThreads(__tstate
);
19202 if (PyErr_Occurred()) SWIG_fail
;
19205 resultobj
= wxPyMake_wxObject(result
, 0);
19213 static PyObject
*_wrap_FocusEvent_SetWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19214 PyObject
*resultobj
;
19215 wxFocusEvent
*arg1
= (wxFocusEvent
*) 0 ;
19216 wxWindow
*arg2
= (wxWindow
*) 0 ;
19217 PyObject
* obj0
= 0 ;
19218 PyObject
* obj1
= 0 ;
19219 char *kwnames
[] = {
19220 (char *) "self",(char *) "win", NULL
19223 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FocusEvent_SetWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
19224 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFocusEvent
, SWIG_POINTER_EXCEPTION
| 0);
19225 if (SWIG_arg_fail(1)) SWIG_fail
;
19226 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
19227 if (SWIG_arg_fail(2)) SWIG_fail
;
19229 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19230 (arg1
)->SetWindow(arg2
);
19232 wxPyEndAllowThreads(__tstate
);
19233 if (PyErr_Occurred()) SWIG_fail
;
19235 Py_INCREF(Py_None
); resultobj
= Py_None
;
19242 static PyObject
* FocusEvent_swigregister(PyObject
*, PyObject
*args
) {
19244 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19245 SWIG_TypeClientData(SWIGTYPE_p_wxFocusEvent
, obj
);
19247 return Py_BuildValue((char *)"");
19249 static PyObject
*_wrap_new_ChildFocusEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19250 PyObject
*resultobj
;
19251 wxWindow
*arg1
= (wxWindow
*) NULL
;
19252 wxChildFocusEvent
*result
;
19253 PyObject
* obj0
= 0 ;
19254 char *kwnames
[] = {
19255 (char *) "win", NULL
19258 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_ChildFocusEvent",kwnames
,&obj0
)) goto fail
;
19260 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
19261 if (SWIG_arg_fail(1)) SWIG_fail
;
19264 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19265 result
= (wxChildFocusEvent
*)new wxChildFocusEvent(arg1
);
19267 wxPyEndAllowThreads(__tstate
);
19268 if (PyErr_Occurred()) SWIG_fail
;
19270 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxChildFocusEvent
, 1);
19277 static PyObject
*_wrap_ChildFocusEvent_GetWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19278 PyObject
*resultobj
;
19279 wxChildFocusEvent
*arg1
= (wxChildFocusEvent
*) 0 ;
19281 PyObject
* obj0
= 0 ;
19282 char *kwnames
[] = {
19283 (char *) "self", NULL
19286 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ChildFocusEvent_GetWindow",kwnames
,&obj0
)) goto fail
;
19287 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxChildFocusEvent
, SWIG_POINTER_EXCEPTION
| 0);
19288 if (SWIG_arg_fail(1)) SWIG_fail
;
19290 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19291 result
= (wxWindow
*)((wxChildFocusEvent
const *)arg1
)->GetWindow();
19293 wxPyEndAllowThreads(__tstate
);
19294 if (PyErr_Occurred()) SWIG_fail
;
19297 resultobj
= wxPyMake_wxObject(result
, 0);
19305 static PyObject
* ChildFocusEvent_swigregister(PyObject
*, PyObject
*args
) {
19307 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19308 SWIG_TypeClientData(SWIGTYPE_p_wxChildFocusEvent
, obj
);
19310 return Py_BuildValue((char *)"");
19312 static PyObject
*_wrap_new_ActivateEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19313 PyObject
*resultobj
;
19314 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
19315 bool arg2
= (bool) true ;
19316 int arg3
= (int) 0 ;
19317 wxActivateEvent
*result
;
19318 PyObject
* obj0
= 0 ;
19319 PyObject
* obj1
= 0 ;
19320 PyObject
* obj2
= 0 ;
19321 char *kwnames
[] = {
19322 (char *) "type",(char *) "active",(char *) "Id", NULL
19325 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_ActivateEvent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19328 arg1
= (wxEventType
)(SWIG_As_int(obj0
));
19329 if (SWIG_arg_fail(1)) SWIG_fail
;
19334 arg2
= (bool)(SWIG_As_bool(obj1
));
19335 if (SWIG_arg_fail(2)) SWIG_fail
;
19340 arg3
= (int)(SWIG_As_int(obj2
));
19341 if (SWIG_arg_fail(3)) SWIG_fail
;
19345 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19346 result
= (wxActivateEvent
*)new wxActivateEvent(arg1
,arg2
,arg3
);
19348 wxPyEndAllowThreads(__tstate
);
19349 if (PyErr_Occurred()) SWIG_fail
;
19351 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxActivateEvent
, 1);
19358 static PyObject
*_wrap_ActivateEvent_GetActive(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19359 PyObject
*resultobj
;
19360 wxActivateEvent
*arg1
= (wxActivateEvent
*) 0 ;
19362 PyObject
* obj0
= 0 ;
19363 char *kwnames
[] = {
19364 (char *) "self", NULL
19367 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ActivateEvent_GetActive",kwnames
,&obj0
)) goto fail
;
19368 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxActivateEvent
, SWIG_POINTER_EXCEPTION
| 0);
19369 if (SWIG_arg_fail(1)) SWIG_fail
;
19371 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19372 result
= (bool)((wxActivateEvent
const *)arg1
)->GetActive();
19374 wxPyEndAllowThreads(__tstate
);
19375 if (PyErr_Occurred()) SWIG_fail
;
19378 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19386 static PyObject
* ActivateEvent_swigregister(PyObject
*, PyObject
*args
) {
19388 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19389 SWIG_TypeClientData(SWIGTYPE_p_wxActivateEvent
, obj
);
19391 return Py_BuildValue((char *)"");
19393 static PyObject
*_wrap_new_InitDialogEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19394 PyObject
*resultobj
;
19395 int arg1
= (int) 0 ;
19396 wxInitDialogEvent
*result
;
19397 PyObject
* obj0
= 0 ;
19398 char *kwnames
[] = {
19399 (char *) "Id", NULL
19402 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_InitDialogEvent",kwnames
,&obj0
)) goto fail
;
19405 arg1
= (int)(SWIG_As_int(obj0
));
19406 if (SWIG_arg_fail(1)) SWIG_fail
;
19410 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19411 result
= (wxInitDialogEvent
*)new wxInitDialogEvent(arg1
);
19413 wxPyEndAllowThreads(__tstate
);
19414 if (PyErr_Occurred()) SWIG_fail
;
19416 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxInitDialogEvent
, 1);
19423 static PyObject
* InitDialogEvent_swigregister(PyObject
*, PyObject
*args
) {
19425 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19426 SWIG_TypeClientData(SWIGTYPE_p_wxInitDialogEvent
, obj
);
19428 return Py_BuildValue((char *)"");
19430 static PyObject
*_wrap_new_MenuEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19431 PyObject
*resultobj
;
19432 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
19433 int arg2
= (int) 0 ;
19434 wxMenu
*arg3
= (wxMenu
*) NULL
;
19435 wxMenuEvent
*result
;
19436 PyObject
* obj0
= 0 ;
19437 PyObject
* obj1
= 0 ;
19438 PyObject
* obj2
= 0 ;
19439 char *kwnames
[] = {
19440 (char *) "type",(char *) "winid",(char *) "menu", NULL
19443 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_MenuEvent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19446 arg1
= (wxEventType
)(SWIG_As_int(obj0
));
19447 if (SWIG_arg_fail(1)) SWIG_fail
;
19452 arg2
= (int)(SWIG_As_int(obj1
));
19453 if (SWIG_arg_fail(2)) SWIG_fail
;
19457 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
19458 if (SWIG_arg_fail(3)) SWIG_fail
;
19461 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19462 result
= (wxMenuEvent
*)new wxMenuEvent(arg1
,arg2
,arg3
);
19464 wxPyEndAllowThreads(__tstate
);
19465 if (PyErr_Occurred()) SWIG_fail
;
19467 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMenuEvent
, 1);
19474 static PyObject
*_wrap_MenuEvent_GetMenuId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19475 PyObject
*resultobj
;
19476 wxMenuEvent
*arg1
= (wxMenuEvent
*) 0 ;
19478 PyObject
* obj0
= 0 ;
19479 char *kwnames
[] = {
19480 (char *) "self", NULL
19483 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuEvent_GetMenuId",kwnames
,&obj0
)) goto fail
;
19484 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuEvent
, SWIG_POINTER_EXCEPTION
| 0);
19485 if (SWIG_arg_fail(1)) SWIG_fail
;
19487 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19488 result
= (int)((wxMenuEvent
const *)arg1
)->GetMenuId();
19490 wxPyEndAllowThreads(__tstate
);
19491 if (PyErr_Occurred()) SWIG_fail
;
19494 resultobj
= SWIG_From_int((int)(result
));
19502 static PyObject
*_wrap_MenuEvent_IsPopup(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19503 PyObject
*resultobj
;
19504 wxMenuEvent
*arg1
= (wxMenuEvent
*) 0 ;
19506 PyObject
* obj0
= 0 ;
19507 char *kwnames
[] = {
19508 (char *) "self", NULL
19511 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuEvent_IsPopup",kwnames
,&obj0
)) goto fail
;
19512 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuEvent
, SWIG_POINTER_EXCEPTION
| 0);
19513 if (SWIG_arg_fail(1)) SWIG_fail
;
19515 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19516 result
= (bool)((wxMenuEvent
const *)arg1
)->IsPopup();
19518 wxPyEndAllowThreads(__tstate
);
19519 if (PyErr_Occurred()) SWIG_fail
;
19522 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19530 static PyObject
*_wrap_MenuEvent_GetMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19531 PyObject
*resultobj
;
19532 wxMenuEvent
*arg1
= (wxMenuEvent
*) 0 ;
19534 PyObject
* obj0
= 0 ;
19535 char *kwnames
[] = {
19536 (char *) "self", NULL
19539 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuEvent_GetMenu",kwnames
,&obj0
)) goto fail
;
19540 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuEvent
, SWIG_POINTER_EXCEPTION
| 0);
19541 if (SWIG_arg_fail(1)) SWIG_fail
;
19543 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19544 result
= (wxMenu
*)((wxMenuEvent
const *)arg1
)->GetMenu();
19546 wxPyEndAllowThreads(__tstate
);
19547 if (PyErr_Occurred()) SWIG_fail
;
19550 resultobj
= wxPyMake_wxObject(result
, 0);
19558 static PyObject
* MenuEvent_swigregister(PyObject
*, PyObject
*args
) {
19560 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19561 SWIG_TypeClientData(SWIGTYPE_p_wxMenuEvent
, obj
);
19563 return Py_BuildValue((char *)"");
19565 static PyObject
*_wrap_new_CloseEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19566 PyObject
*resultobj
;
19567 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
19568 int arg2
= (int) 0 ;
19569 wxCloseEvent
*result
;
19570 PyObject
* obj0
= 0 ;
19571 PyObject
* obj1
= 0 ;
19572 char *kwnames
[] = {
19573 (char *) "type",(char *) "winid", NULL
19576 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_CloseEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
19579 arg1
= (wxEventType
)(SWIG_As_int(obj0
));
19580 if (SWIG_arg_fail(1)) SWIG_fail
;
19585 arg2
= (int)(SWIG_As_int(obj1
));
19586 if (SWIG_arg_fail(2)) SWIG_fail
;
19590 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19591 result
= (wxCloseEvent
*)new wxCloseEvent(arg1
,arg2
);
19593 wxPyEndAllowThreads(__tstate
);
19594 if (PyErr_Occurred()) SWIG_fail
;
19596 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCloseEvent
, 1);
19603 static PyObject
*_wrap_CloseEvent_SetLoggingOff(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19604 PyObject
*resultobj
;
19605 wxCloseEvent
*arg1
= (wxCloseEvent
*) 0 ;
19607 PyObject
* obj0
= 0 ;
19608 PyObject
* obj1
= 0 ;
19609 char *kwnames
[] = {
19610 (char *) "self",(char *) "logOff", NULL
19613 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CloseEvent_SetLoggingOff",kwnames
,&obj0
,&obj1
)) goto fail
;
19614 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCloseEvent
, SWIG_POINTER_EXCEPTION
| 0);
19615 if (SWIG_arg_fail(1)) SWIG_fail
;
19617 arg2
= (bool)(SWIG_As_bool(obj1
));
19618 if (SWIG_arg_fail(2)) SWIG_fail
;
19621 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19622 (arg1
)->SetLoggingOff(arg2
);
19624 wxPyEndAllowThreads(__tstate
);
19625 if (PyErr_Occurred()) SWIG_fail
;
19627 Py_INCREF(Py_None
); resultobj
= Py_None
;
19634 static PyObject
*_wrap_CloseEvent_GetLoggingOff(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19635 PyObject
*resultobj
;
19636 wxCloseEvent
*arg1
= (wxCloseEvent
*) 0 ;
19638 PyObject
* obj0
= 0 ;
19639 char *kwnames
[] = {
19640 (char *) "self", NULL
19643 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CloseEvent_GetLoggingOff",kwnames
,&obj0
)) goto fail
;
19644 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCloseEvent
, SWIG_POINTER_EXCEPTION
| 0);
19645 if (SWIG_arg_fail(1)) SWIG_fail
;
19647 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19648 result
= (bool)((wxCloseEvent
const *)arg1
)->GetLoggingOff();
19650 wxPyEndAllowThreads(__tstate
);
19651 if (PyErr_Occurred()) SWIG_fail
;
19654 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19662 static PyObject
*_wrap_CloseEvent_Veto(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19663 PyObject
*resultobj
;
19664 wxCloseEvent
*arg1
= (wxCloseEvent
*) 0 ;
19665 bool arg2
= (bool) true ;
19666 PyObject
* obj0
= 0 ;
19667 PyObject
* obj1
= 0 ;
19668 char *kwnames
[] = {
19669 (char *) "self",(char *) "veto", NULL
19672 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:CloseEvent_Veto",kwnames
,&obj0
,&obj1
)) goto fail
;
19673 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCloseEvent
, SWIG_POINTER_EXCEPTION
| 0);
19674 if (SWIG_arg_fail(1)) SWIG_fail
;
19677 arg2
= (bool)(SWIG_As_bool(obj1
));
19678 if (SWIG_arg_fail(2)) SWIG_fail
;
19682 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19683 (arg1
)->Veto(arg2
);
19685 wxPyEndAllowThreads(__tstate
);
19686 if (PyErr_Occurred()) SWIG_fail
;
19688 Py_INCREF(Py_None
); resultobj
= Py_None
;
19695 static PyObject
*_wrap_CloseEvent_SetCanVeto(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19696 PyObject
*resultobj
;
19697 wxCloseEvent
*arg1
= (wxCloseEvent
*) 0 ;
19699 PyObject
* obj0
= 0 ;
19700 PyObject
* obj1
= 0 ;
19701 char *kwnames
[] = {
19702 (char *) "self",(char *) "canVeto", NULL
19705 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CloseEvent_SetCanVeto",kwnames
,&obj0
,&obj1
)) goto fail
;
19706 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCloseEvent
, SWIG_POINTER_EXCEPTION
| 0);
19707 if (SWIG_arg_fail(1)) SWIG_fail
;
19709 arg2
= (bool)(SWIG_As_bool(obj1
));
19710 if (SWIG_arg_fail(2)) SWIG_fail
;
19713 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19714 (arg1
)->SetCanVeto(arg2
);
19716 wxPyEndAllowThreads(__tstate
);
19717 if (PyErr_Occurred()) SWIG_fail
;
19719 Py_INCREF(Py_None
); resultobj
= Py_None
;
19726 static PyObject
*_wrap_CloseEvent_CanVeto(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19727 PyObject
*resultobj
;
19728 wxCloseEvent
*arg1
= (wxCloseEvent
*) 0 ;
19730 PyObject
* obj0
= 0 ;
19731 char *kwnames
[] = {
19732 (char *) "self", NULL
19735 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CloseEvent_CanVeto",kwnames
,&obj0
)) goto fail
;
19736 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCloseEvent
, SWIG_POINTER_EXCEPTION
| 0);
19737 if (SWIG_arg_fail(1)) SWIG_fail
;
19739 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19740 result
= (bool)((wxCloseEvent
const *)arg1
)->CanVeto();
19742 wxPyEndAllowThreads(__tstate
);
19743 if (PyErr_Occurred()) SWIG_fail
;
19746 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19754 static PyObject
*_wrap_CloseEvent_GetVeto(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19755 PyObject
*resultobj
;
19756 wxCloseEvent
*arg1
= (wxCloseEvent
*) 0 ;
19758 PyObject
* obj0
= 0 ;
19759 char *kwnames
[] = {
19760 (char *) "self", NULL
19763 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CloseEvent_GetVeto",kwnames
,&obj0
)) goto fail
;
19764 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCloseEvent
, SWIG_POINTER_EXCEPTION
| 0);
19765 if (SWIG_arg_fail(1)) SWIG_fail
;
19767 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19768 result
= (bool)((wxCloseEvent
const *)arg1
)->GetVeto();
19770 wxPyEndAllowThreads(__tstate
);
19771 if (PyErr_Occurred()) SWIG_fail
;
19774 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19782 static PyObject
* CloseEvent_swigregister(PyObject
*, PyObject
*args
) {
19784 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19785 SWIG_TypeClientData(SWIGTYPE_p_wxCloseEvent
, obj
);
19787 return Py_BuildValue((char *)"");
19789 static PyObject
*_wrap_new_ShowEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19790 PyObject
*resultobj
;
19791 int arg1
= (int) 0 ;
19792 bool arg2
= (bool) false ;
19793 wxShowEvent
*result
;
19794 PyObject
* obj0
= 0 ;
19795 PyObject
* obj1
= 0 ;
19796 char *kwnames
[] = {
19797 (char *) "winid",(char *) "show", NULL
19800 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_ShowEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
19803 arg1
= (int)(SWIG_As_int(obj0
));
19804 if (SWIG_arg_fail(1)) SWIG_fail
;
19809 arg2
= (bool)(SWIG_As_bool(obj1
));
19810 if (SWIG_arg_fail(2)) SWIG_fail
;
19814 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19815 result
= (wxShowEvent
*)new wxShowEvent(arg1
,arg2
);
19817 wxPyEndAllowThreads(__tstate
);
19818 if (PyErr_Occurred()) SWIG_fail
;
19820 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxShowEvent
, 1);
19827 static PyObject
*_wrap_ShowEvent_SetShow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19828 PyObject
*resultobj
;
19829 wxShowEvent
*arg1
= (wxShowEvent
*) 0 ;
19831 PyObject
* obj0
= 0 ;
19832 PyObject
* obj1
= 0 ;
19833 char *kwnames
[] = {
19834 (char *) "self",(char *) "show", NULL
19837 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ShowEvent_SetShow",kwnames
,&obj0
,&obj1
)) goto fail
;
19838 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxShowEvent
, SWIG_POINTER_EXCEPTION
| 0);
19839 if (SWIG_arg_fail(1)) SWIG_fail
;
19841 arg2
= (bool)(SWIG_As_bool(obj1
));
19842 if (SWIG_arg_fail(2)) SWIG_fail
;
19845 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19846 (arg1
)->SetShow(arg2
);
19848 wxPyEndAllowThreads(__tstate
);
19849 if (PyErr_Occurred()) SWIG_fail
;
19851 Py_INCREF(Py_None
); resultobj
= Py_None
;
19858 static PyObject
*_wrap_ShowEvent_GetShow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19859 PyObject
*resultobj
;
19860 wxShowEvent
*arg1
= (wxShowEvent
*) 0 ;
19862 PyObject
* obj0
= 0 ;
19863 char *kwnames
[] = {
19864 (char *) "self", NULL
19867 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ShowEvent_GetShow",kwnames
,&obj0
)) goto fail
;
19868 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxShowEvent
, SWIG_POINTER_EXCEPTION
| 0);
19869 if (SWIG_arg_fail(1)) SWIG_fail
;
19871 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19872 result
= (bool)((wxShowEvent
const *)arg1
)->GetShow();
19874 wxPyEndAllowThreads(__tstate
);
19875 if (PyErr_Occurred()) SWIG_fail
;
19878 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19886 static PyObject
* ShowEvent_swigregister(PyObject
*, PyObject
*args
) {
19888 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19889 SWIG_TypeClientData(SWIGTYPE_p_wxShowEvent
, obj
);
19891 return Py_BuildValue((char *)"");
19893 static PyObject
*_wrap_new_IconizeEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19894 PyObject
*resultobj
;
19895 int arg1
= (int) 0 ;
19896 bool arg2
= (bool) true ;
19897 wxIconizeEvent
*result
;
19898 PyObject
* obj0
= 0 ;
19899 PyObject
* obj1
= 0 ;
19900 char *kwnames
[] = {
19901 (char *) "id",(char *) "iconized", NULL
19904 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_IconizeEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
19907 arg1
= (int)(SWIG_As_int(obj0
));
19908 if (SWIG_arg_fail(1)) SWIG_fail
;
19913 arg2
= (bool)(SWIG_As_bool(obj1
));
19914 if (SWIG_arg_fail(2)) SWIG_fail
;
19918 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19919 result
= (wxIconizeEvent
*)new wxIconizeEvent(arg1
,arg2
);
19921 wxPyEndAllowThreads(__tstate
);
19922 if (PyErr_Occurred()) SWIG_fail
;
19924 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIconizeEvent
, 1);
19931 static PyObject
*_wrap_IconizeEvent_Iconized(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19932 PyObject
*resultobj
;
19933 wxIconizeEvent
*arg1
= (wxIconizeEvent
*) 0 ;
19935 PyObject
* obj0
= 0 ;
19936 char *kwnames
[] = {
19937 (char *) "self", NULL
19940 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IconizeEvent_Iconized",kwnames
,&obj0
)) goto fail
;
19941 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIconizeEvent
, SWIG_POINTER_EXCEPTION
| 0);
19942 if (SWIG_arg_fail(1)) SWIG_fail
;
19944 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19945 result
= (bool)(arg1
)->Iconized();
19947 wxPyEndAllowThreads(__tstate
);
19948 if (PyErr_Occurred()) SWIG_fail
;
19951 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19959 static PyObject
* IconizeEvent_swigregister(PyObject
*, PyObject
*args
) {
19961 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19962 SWIG_TypeClientData(SWIGTYPE_p_wxIconizeEvent
, obj
);
19964 return Py_BuildValue((char *)"");
19966 static PyObject
*_wrap_new_MaximizeEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19967 PyObject
*resultobj
;
19968 int arg1
= (int) 0 ;
19969 wxMaximizeEvent
*result
;
19970 PyObject
* obj0
= 0 ;
19971 char *kwnames
[] = {
19972 (char *) "id", NULL
19975 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_MaximizeEvent",kwnames
,&obj0
)) goto fail
;
19978 arg1
= (int)(SWIG_As_int(obj0
));
19979 if (SWIG_arg_fail(1)) SWIG_fail
;
19983 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19984 result
= (wxMaximizeEvent
*)new wxMaximizeEvent(arg1
);
19986 wxPyEndAllowThreads(__tstate
);
19987 if (PyErr_Occurred()) SWIG_fail
;
19989 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMaximizeEvent
, 1);
19996 static PyObject
* MaximizeEvent_swigregister(PyObject
*, PyObject
*args
) {
19998 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19999 SWIG_TypeClientData(SWIGTYPE_p_wxMaximizeEvent
, obj
);
20001 return Py_BuildValue((char *)"");
20003 static PyObject
*_wrap_DropFilesEvent_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20004 PyObject
*resultobj
;
20005 wxDropFilesEvent
*arg1
= (wxDropFilesEvent
*) 0 ;
20007 PyObject
* obj0
= 0 ;
20008 char *kwnames
[] = {
20009 (char *) "self", NULL
20012 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DropFilesEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
20013 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDropFilesEvent
, SWIG_POINTER_EXCEPTION
| 0);
20014 if (SWIG_arg_fail(1)) SWIG_fail
;
20016 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20017 result
= (arg1
)->GetPosition();
20019 wxPyEndAllowThreads(__tstate
);
20020 if (PyErr_Occurred()) SWIG_fail
;
20023 wxPoint
* resultptr
;
20024 resultptr
= new wxPoint((wxPoint
&)(result
));
20025 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
20033 static PyObject
*_wrap_DropFilesEvent_GetNumberOfFiles(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20034 PyObject
*resultobj
;
20035 wxDropFilesEvent
*arg1
= (wxDropFilesEvent
*) 0 ;
20037 PyObject
* obj0
= 0 ;
20038 char *kwnames
[] = {
20039 (char *) "self", NULL
20042 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DropFilesEvent_GetNumberOfFiles",kwnames
,&obj0
)) goto fail
;
20043 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDropFilesEvent
, SWIG_POINTER_EXCEPTION
| 0);
20044 if (SWIG_arg_fail(1)) SWIG_fail
;
20046 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20047 result
= (int)(arg1
)->GetNumberOfFiles();
20049 wxPyEndAllowThreads(__tstate
);
20050 if (PyErr_Occurred()) SWIG_fail
;
20053 resultobj
= SWIG_From_int((int)(result
));
20061 static PyObject
*_wrap_DropFilesEvent_GetFiles(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20062 PyObject
*resultobj
;
20063 wxDropFilesEvent
*arg1
= (wxDropFilesEvent
*) 0 ;
20065 PyObject
* obj0
= 0 ;
20066 char *kwnames
[] = {
20067 (char *) "self", NULL
20070 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DropFilesEvent_GetFiles",kwnames
,&obj0
)) goto fail
;
20071 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDropFilesEvent
, SWIG_POINTER_EXCEPTION
| 0);
20072 if (SWIG_arg_fail(1)) SWIG_fail
;
20074 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20075 result
= (PyObject
*)wxDropFilesEvent_GetFiles(arg1
);
20077 wxPyEndAllowThreads(__tstate
);
20078 if (PyErr_Occurred()) SWIG_fail
;
20080 resultobj
= result
;
20087 static PyObject
* DropFilesEvent_swigregister(PyObject
*, PyObject
*args
) {
20089 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20090 SWIG_TypeClientData(SWIGTYPE_p_wxDropFilesEvent
, obj
);
20092 return Py_BuildValue((char *)"");
20094 static PyObject
*_wrap_new_UpdateUIEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20095 PyObject
*resultobj
;
20096 int arg1
= (int) 0 ;
20097 wxUpdateUIEvent
*result
;
20098 PyObject
* obj0
= 0 ;
20099 char *kwnames
[] = {
20100 (char *) "commandId", NULL
20103 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_UpdateUIEvent",kwnames
,&obj0
)) goto fail
;
20106 arg1
= (int)(SWIG_As_int(obj0
));
20107 if (SWIG_arg_fail(1)) SWIG_fail
;
20111 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20112 result
= (wxUpdateUIEvent
*)new wxUpdateUIEvent(arg1
);
20114 wxPyEndAllowThreads(__tstate
);
20115 if (PyErr_Occurred()) SWIG_fail
;
20117 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxUpdateUIEvent
, 1);
20124 static PyObject
*_wrap_UpdateUIEvent_GetChecked(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20125 PyObject
*resultobj
;
20126 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
20128 PyObject
* obj0
= 0 ;
20129 char *kwnames
[] = {
20130 (char *) "self", NULL
20133 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_GetChecked",kwnames
,&obj0
)) goto fail
;
20134 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxUpdateUIEvent
, SWIG_POINTER_EXCEPTION
| 0);
20135 if (SWIG_arg_fail(1)) SWIG_fail
;
20137 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20138 result
= (bool)((wxUpdateUIEvent
const *)arg1
)->GetChecked();
20140 wxPyEndAllowThreads(__tstate
);
20141 if (PyErr_Occurred()) SWIG_fail
;
20144 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20152 static PyObject
*_wrap_UpdateUIEvent_GetEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20153 PyObject
*resultobj
;
20154 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
20156 PyObject
* obj0
= 0 ;
20157 char *kwnames
[] = {
20158 (char *) "self", NULL
20161 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_GetEnabled",kwnames
,&obj0
)) goto fail
;
20162 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxUpdateUIEvent
, SWIG_POINTER_EXCEPTION
| 0);
20163 if (SWIG_arg_fail(1)) SWIG_fail
;
20165 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20166 result
= (bool)((wxUpdateUIEvent
const *)arg1
)->GetEnabled();
20168 wxPyEndAllowThreads(__tstate
);
20169 if (PyErr_Occurred()) SWIG_fail
;
20172 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20180 static PyObject
*_wrap_UpdateUIEvent_GetText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20181 PyObject
*resultobj
;
20182 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
20184 PyObject
* obj0
= 0 ;
20185 char *kwnames
[] = {
20186 (char *) "self", NULL
20189 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_GetText",kwnames
,&obj0
)) goto fail
;
20190 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxUpdateUIEvent
, SWIG_POINTER_EXCEPTION
| 0);
20191 if (SWIG_arg_fail(1)) SWIG_fail
;
20193 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20194 result
= ((wxUpdateUIEvent
const *)arg1
)->GetText();
20196 wxPyEndAllowThreads(__tstate
);
20197 if (PyErr_Occurred()) SWIG_fail
;
20201 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
20203 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
20212 static PyObject
*_wrap_UpdateUIEvent_GetSetText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20213 PyObject
*resultobj
;
20214 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
20216 PyObject
* obj0
= 0 ;
20217 char *kwnames
[] = {
20218 (char *) "self", NULL
20221 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_GetSetText",kwnames
,&obj0
)) goto fail
;
20222 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxUpdateUIEvent
, SWIG_POINTER_EXCEPTION
| 0);
20223 if (SWIG_arg_fail(1)) SWIG_fail
;
20225 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20226 result
= (bool)((wxUpdateUIEvent
const *)arg1
)->GetSetText();
20228 wxPyEndAllowThreads(__tstate
);
20229 if (PyErr_Occurred()) SWIG_fail
;
20232 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20240 static PyObject
*_wrap_UpdateUIEvent_GetSetChecked(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20241 PyObject
*resultobj
;
20242 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
20244 PyObject
* obj0
= 0 ;
20245 char *kwnames
[] = {
20246 (char *) "self", NULL
20249 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_GetSetChecked",kwnames
,&obj0
)) goto fail
;
20250 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxUpdateUIEvent
, SWIG_POINTER_EXCEPTION
| 0);
20251 if (SWIG_arg_fail(1)) SWIG_fail
;
20253 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20254 result
= (bool)((wxUpdateUIEvent
const *)arg1
)->GetSetChecked();
20256 wxPyEndAllowThreads(__tstate
);
20257 if (PyErr_Occurred()) SWIG_fail
;
20260 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20268 static PyObject
*_wrap_UpdateUIEvent_GetSetEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20269 PyObject
*resultobj
;
20270 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
20272 PyObject
* obj0
= 0 ;
20273 char *kwnames
[] = {
20274 (char *) "self", NULL
20277 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_GetSetEnabled",kwnames
,&obj0
)) goto fail
;
20278 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxUpdateUIEvent
, SWIG_POINTER_EXCEPTION
| 0);
20279 if (SWIG_arg_fail(1)) SWIG_fail
;
20281 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20282 result
= (bool)((wxUpdateUIEvent
const *)arg1
)->GetSetEnabled();
20284 wxPyEndAllowThreads(__tstate
);
20285 if (PyErr_Occurred()) SWIG_fail
;
20288 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20296 static PyObject
*_wrap_UpdateUIEvent_Check(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20297 PyObject
*resultobj
;
20298 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
20300 PyObject
* obj0
= 0 ;
20301 PyObject
* obj1
= 0 ;
20302 char *kwnames
[] = {
20303 (char *) "self",(char *) "check", NULL
20306 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:UpdateUIEvent_Check",kwnames
,&obj0
,&obj1
)) goto fail
;
20307 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxUpdateUIEvent
, SWIG_POINTER_EXCEPTION
| 0);
20308 if (SWIG_arg_fail(1)) SWIG_fail
;
20310 arg2
= (bool)(SWIG_As_bool(obj1
));
20311 if (SWIG_arg_fail(2)) SWIG_fail
;
20314 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20315 (arg1
)->Check(arg2
);
20317 wxPyEndAllowThreads(__tstate
);
20318 if (PyErr_Occurred()) SWIG_fail
;
20320 Py_INCREF(Py_None
); resultobj
= Py_None
;
20327 static PyObject
*_wrap_UpdateUIEvent_Enable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20328 PyObject
*resultobj
;
20329 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
20331 PyObject
* obj0
= 0 ;
20332 PyObject
* obj1
= 0 ;
20333 char *kwnames
[] = {
20334 (char *) "self",(char *) "enable", NULL
20337 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:UpdateUIEvent_Enable",kwnames
,&obj0
,&obj1
)) goto fail
;
20338 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxUpdateUIEvent
, SWIG_POINTER_EXCEPTION
| 0);
20339 if (SWIG_arg_fail(1)) SWIG_fail
;
20341 arg2
= (bool)(SWIG_As_bool(obj1
));
20342 if (SWIG_arg_fail(2)) SWIG_fail
;
20345 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20346 (arg1
)->Enable(arg2
);
20348 wxPyEndAllowThreads(__tstate
);
20349 if (PyErr_Occurred()) SWIG_fail
;
20351 Py_INCREF(Py_None
); resultobj
= Py_None
;
20358 static PyObject
*_wrap_UpdateUIEvent_SetText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20359 PyObject
*resultobj
;
20360 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
20361 wxString
*arg2
= 0 ;
20362 bool temp2
= false ;
20363 PyObject
* obj0
= 0 ;
20364 PyObject
* obj1
= 0 ;
20365 char *kwnames
[] = {
20366 (char *) "self",(char *) "text", NULL
20369 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:UpdateUIEvent_SetText",kwnames
,&obj0
,&obj1
)) goto fail
;
20370 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxUpdateUIEvent
, SWIG_POINTER_EXCEPTION
| 0);
20371 if (SWIG_arg_fail(1)) SWIG_fail
;
20373 arg2
= wxString_in_helper(obj1
);
20374 if (arg2
== NULL
) SWIG_fail
;
20378 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20379 (arg1
)->SetText((wxString
const &)*arg2
);
20381 wxPyEndAllowThreads(__tstate
);
20382 if (PyErr_Occurred()) SWIG_fail
;
20384 Py_INCREF(Py_None
); resultobj
= Py_None
;
20399 static PyObject
*_wrap_UpdateUIEvent_SetUpdateInterval(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20400 PyObject
*resultobj
;
20402 PyObject
* obj0
= 0 ;
20403 char *kwnames
[] = {
20404 (char *) "updateInterval", NULL
20407 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_SetUpdateInterval",kwnames
,&obj0
)) goto fail
;
20409 arg1
= (long)(SWIG_As_long(obj0
));
20410 if (SWIG_arg_fail(1)) SWIG_fail
;
20413 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20414 wxUpdateUIEvent::SetUpdateInterval(arg1
);
20416 wxPyEndAllowThreads(__tstate
);
20417 if (PyErr_Occurred()) SWIG_fail
;
20419 Py_INCREF(Py_None
); resultobj
= Py_None
;
20426 static PyObject
*_wrap_UpdateUIEvent_GetUpdateInterval(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20427 PyObject
*resultobj
;
20429 char *kwnames
[] = {
20433 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":UpdateUIEvent_GetUpdateInterval",kwnames
)) goto fail
;
20435 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20436 result
= (long)wxUpdateUIEvent::GetUpdateInterval();
20438 wxPyEndAllowThreads(__tstate
);
20439 if (PyErr_Occurred()) SWIG_fail
;
20442 resultobj
= SWIG_From_long((long)(result
));
20450 static PyObject
*_wrap_UpdateUIEvent_CanUpdate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20451 PyObject
*resultobj
;
20452 wxWindow
*arg1
= (wxWindow
*) 0 ;
20454 PyObject
* obj0
= 0 ;
20455 char *kwnames
[] = {
20456 (char *) "win", NULL
20459 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_CanUpdate",kwnames
,&obj0
)) goto fail
;
20460 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
20461 if (SWIG_arg_fail(1)) SWIG_fail
;
20463 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20464 result
= (bool)wxUpdateUIEvent::CanUpdate(arg1
);
20466 wxPyEndAllowThreads(__tstate
);
20467 if (PyErr_Occurred()) SWIG_fail
;
20470 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20478 static PyObject
*_wrap_UpdateUIEvent_ResetUpdateTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20479 PyObject
*resultobj
;
20480 char *kwnames
[] = {
20484 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":UpdateUIEvent_ResetUpdateTime",kwnames
)) goto fail
;
20486 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20487 wxUpdateUIEvent::ResetUpdateTime();
20489 wxPyEndAllowThreads(__tstate
);
20490 if (PyErr_Occurred()) SWIG_fail
;
20492 Py_INCREF(Py_None
); resultobj
= Py_None
;
20499 static PyObject
*_wrap_UpdateUIEvent_SetMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20500 PyObject
*resultobj
;
20501 wxUpdateUIMode arg1
;
20502 PyObject
* obj0
= 0 ;
20503 char *kwnames
[] = {
20504 (char *) "mode", NULL
20507 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_SetMode",kwnames
,&obj0
)) goto fail
;
20509 arg1
= (wxUpdateUIMode
)(SWIG_As_int(obj0
));
20510 if (SWIG_arg_fail(1)) SWIG_fail
;
20513 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20514 wxUpdateUIEvent::SetMode((wxUpdateUIMode
)arg1
);
20516 wxPyEndAllowThreads(__tstate
);
20517 if (PyErr_Occurred()) SWIG_fail
;
20519 Py_INCREF(Py_None
); resultobj
= Py_None
;
20526 static PyObject
*_wrap_UpdateUIEvent_GetMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20527 PyObject
*resultobj
;
20528 wxUpdateUIMode result
;
20529 char *kwnames
[] = {
20533 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":UpdateUIEvent_GetMode",kwnames
)) goto fail
;
20535 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20536 result
= (wxUpdateUIMode
)wxUpdateUIEvent::GetMode();
20538 wxPyEndAllowThreads(__tstate
);
20539 if (PyErr_Occurred()) SWIG_fail
;
20541 resultobj
= SWIG_From_int((result
));
20548 static PyObject
* UpdateUIEvent_swigregister(PyObject
*, PyObject
*args
) {
20550 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20551 SWIG_TypeClientData(SWIGTYPE_p_wxUpdateUIEvent
, obj
);
20553 return Py_BuildValue((char *)"");
20555 static PyObject
*_wrap_new_SysColourChangedEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20556 PyObject
*resultobj
;
20557 wxSysColourChangedEvent
*result
;
20558 char *kwnames
[] = {
20562 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_SysColourChangedEvent",kwnames
)) goto fail
;
20564 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20565 result
= (wxSysColourChangedEvent
*)new wxSysColourChangedEvent();
20567 wxPyEndAllowThreads(__tstate
);
20568 if (PyErr_Occurred()) SWIG_fail
;
20570 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSysColourChangedEvent
, 1);
20577 static PyObject
* SysColourChangedEvent_swigregister(PyObject
*, PyObject
*args
) {
20579 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20580 SWIG_TypeClientData(SWIGTYPE_p_wxSysColourChangedEvent
, obj
);
20582 return Py_BuildValue((char *)"");
20584 static PyObject
*_wrap_new_MouseCaptureChangedEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20585 PyObject
*resultobj
;
20586 int arg1
= (int) 0 ;
20587 wxWindow
*arg2
= (wxWindow
*) NULL
;
20588 wxMouseCaptureChangedEvent
*result
;
20589 PyObject
* obj0
= 0 ;
20590 PyObject
* obj1
= 0 ;
20591 char *kwnames
[] = {
20592 (char *) "winid",(char *) "gainedCapture", NULL
20595 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_MouseCaptureChangedEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
20598 arg1
= (int)(SWIG_As_int(obj0
));
20599 if (SWIG_arg_fail(1)) SWIG_fail
;
20603 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
20604 if (SWIG_arg_fail(2)) SWIG_fail
;
20607 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20608 result
= (wxMouseCaptureChangedEvent
*)new wxMouseCaptureChangedEvent(arg1
,arg2
);
20610 wxPyEndAllowThreads(__tstate
);
20611 if (PyErr_Occurred()) SWIG_fail
;
20613 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMouseCaptureChangedEvent
, 1);
20620 static PyObject
*_wrap_MouseCaptureChangedEvent_GetCapturedWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20621 PyObject
*resultobj
;
20622 wxMouseCaptureChangedEvent
*arg1
= (wxMouseCaptureChangedEvent
*) 0 ;
20624 PyObject
* obj0
= 0 ;
20625 char *kwnames
[] = {
20626 (char *) "self", NULL
20629 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseCaptureChangedEvent_GetCapturedWindow",kwnames
,&obj0
)) goto fail
;
20630 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseCaptureChangedEvent
, SWIG_POINTER_EXCEPTION
| 0);
20631 if (SWIG_arg_fail(1)) SWIG_fail
;
20633 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20634 result
= (wxWindow
*)((wxMouseCaptureChangedEvent
const *)arg1
)->GetCapturedWindow();
20636 wxPyEndAllowThreads(__tstate
);
20637 if (PyErr_Occurred()) SWIG_fail
;
20640 resultobj
= wxPyMake_wxObject(result
, 0);
20648 static PyObject
* MouseCaptureChangedEvent_swigregister(PyObject
*, PyObject
*args
) {
20650 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20651 SWIG_TypeClientData(SWIGTYPE_p_wxMouseCaptureChangedEvent
, obj
);
20653 return Py_BuildValue((char *)"");
20655 static PyObject
*_wrap_new_DisplayChangedEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20656 PyObject
*resultobj
;
20657 wxDisplayChangedEvent
*result
;
20658 char *kwnames
[] = {
20662 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_DisplayChangedEvent",kwnames
)) goto fail
;
20664 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20665 result
= (wxDisplayChangedEvent
*)new wxDisplayChangedEvent();
20667 wxPyEndAllowThreads(__tstate
);
20668 if (PyErr_Occurred()) SWIG_fail
;
20670 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDisplayChangedEvent
, 1);
20677 static PyObject
* DisplayChangedEvent_swigregister(PyObject
*, PyObject
*args
) {
20679 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20680 SWIG_TypeClientData(SWIGTYPE_p_wxDisplayChangedEvent
, obj
);
20682 return Py_BuildValue((char *)"");
20684 static PyObject
*_wrap_new_PaletteChangedEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20685 PyObject
*resultobj
;
20686 int arg1
= (int) 0 ;
20687 wxPaletteChangedEvent
*result
;
20688 PyObject
* obj0
= 0 ;
20689 char *kwnames
[] = {
20690 (char *) "id", NULL
20693 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_PaletteChangedEvent",kwnames
,&obj0
)) goto fail
;
20696 arg1
= (int)(SWIG_As_int(obj0
));
20697 if (SWIG_arg_fail(1)) SWIG_fail
;
20701 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20702 result
= (wxPaletteChangedEvent
*)new wxPaletteChangedEvent(arg1
);
20704 wxPyEndAllowThreads(__tstate
);
20705 if (PyErr_Occurred()) SWIG_fail
;
20707 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPaletteChangedEvent
, 1);
20714 static PyObject
*_wrap_PaletteChangedEvent_SetChangedWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20715 PyObject
*resultobj
;
20716 wxPaletteChangedEvent
*arg1
= (wxPaletteChangedEvent
*) 0 ;
20717 wxWindow
*arg2
= (wxWindow
*) 0 ;
20718 PyObject
* obj0
= 0 ;
20719 PyObject
* obj1
= 0 ;
20720 char *kwnames
[] = {
20721 (char *) "self",(char *) "win", NULL
20724 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PaletteChangedEvent_SetChangedWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
20725 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPaletteChangedEvent
, SWIG_POINTER_EXCEPTION
| 0);
20726 if (SWIG_arg_fail(1)) SWIG_fail
;
20727 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
20728 if (SWIG_arg_fail(2)) SWIG_fail
;
20730 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20731 (arg1
)->SetChangedWindow(arg2
);
20733 wxPyEndAllowThreads(__tstate
);
20734 if (PyErr_Occurred()) SWIG_fail
;
20736 Py_INCREF(Py_None
); resultobj
= Py_None
;
20743 static PyObject
*_wrap_PaletteChangedEvent_GetChangedWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20744 PyObject
*resultobj
;
20745 wxPaletteChangedEvent
*arg1
= (wxPaletteChangedEvent
*) 0 ;
20747 PyObject
* obj0
= 0 ;
20748 char *kwnames
[] = {
20749 (char *) "self", NULL
20752 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PaletteChangedEvent_GetChangedWindow",kwnames
,&obj0
)) goto fail
;
20753 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPaletteChangedEvent
, SWIG_POINTER_EXCEPTION
| 0);
20754 if (SWIG_arg_fail(1)) SWIG_fail
;
20756 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20757 result
= (wxWindow
*)(arg1
)->GetChangedWindow();
20759 wxPyEndAllowThreads(__tstate
);
20760 if (PyErr_Occurred()) SWIG_fail
;
20763 resultobj
= wxPyMake_wxObject(result
, 0);
20771 static PyObject
* PaletteChangedEvent_swigregister(PyObject
*, PyObject
*args
) {
20773 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20774 SWIG_TypeClientData(SWIGTYPE_p_wxPaletteChangedEvent
, obj
);
20776 return Py_BuildValue((char *)"");
20778 static PyObject
*_wrap_new_QueryNewPaletteEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20779 PyObject
*resultobj
;
20780 int arg1
= (int) 0 ;
20781 wxQueryNewPaletteEvent
*result
;
20782 PyObject
* obj0
= 0 ;
20783 char *kwnames
[] = {
20784 (char *) "winid", NULL
20787 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_QueryNewPaletteEvent",kwnames
,&obj0
)) goto fail
;
20790 arg1
= (int)(SWIG_As_int(obj0
));
20791 if (SWIG_arg_fail(1)) SWIG_fail
;
20795 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20796 result
= (wxQueryNewPaletteEvent
*)new wxQueryNewPaletteEvent(arg1
);
20798 wxPyEndAllowThreads(__tstate
);
20799 if (PyErr_Occurred()) SWIG_fail
;
20801 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxQueryNewPaletteEvent
, 1);
20808 static PyObject
*_wrap_QueryNewPaletteEvent_SetPaletteRealized(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20809 PyObject
*resultobj
;
20810 wxQueryNewPaletteEvent
*arg1
= (wxQueryNewPaletteEvent
*) 0 ;
20812 PyObject
* obj0
= 0 ;
20813 PyObject
* obj1
= 0 ;
20814 char *kwnames
[] = {
20815 (char *) "self",(char *) "realized", NULL
20818 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryNewPaletteEvent_SetPaletteRealized",kwnames
,&obj0
,&obj1
)) goto fail
;
20819 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxQueryNewPaletteEvent
, SWIG_POINTER_EXCEPTION
| 0);
20820 if (SWIG_arg_fail(1)) SWIG_fail
;
20822 arg2
= (bool)(SWIG_As_bool(obj1
));
20823 if (SWIG_arg_fail(2)) SWIG_fail
;
20826 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20827 (arg1
)->SetPaletteRealized(arg2
);
20829 wxPyEndAllowThreads(__tstate
);
20830 if (PyErr_Occurred()) SWIG_fail
;
20832 Py_INCREF(Py_None
); resultobj
= Py_None
;
20839 static PyObject
*_wrap_QueryNewPaletteEvent_GetPaletteRealized(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20840 PyObject
*resultobj
;
20841 wxQueryNewPaletteEvent
*arg1
= (wxQueryNewPaletteEvent
*) 0 ;
20843 PyObject
* obj0
= 0 ;
20844 char *kwnames
[] = {
20845 (char *) "self", NULL
20848 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:QueryNewPaletteEvent_GetPaletteRealized",kwnames
,&obj0
)) goto fail
;
20849 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxQueryNewPaletteEvent
, SWIG_POINTER_EXCEPTION
| 0);
20850 if (SWIG_arg_fail(1)) SWIG_fail
;
20852 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20853 result
= (bool)((wxQueryNewPaletteEvent
const *)arg1
)->GetPaletteRealized();
20855 wxPyEndAllowThreads(__tstate
);
20856 if (PyErr_Occurred()) SWIG_fail
;
20859 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20867 static PyObject
* QueryNewPaletteEvent_swigregister(PyObject
*, PyObject
*args
) {
20869 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20870 SWIG_TypeClientData(SWIGTYPE_p_wxQueryNewPaletteEvent
, obj
);
20872 return Py_BuildValue((char *)"");
20874 static PyObject
*_wrap_new_NavigationKeyEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20875 PyObject
*resultobj
;
20876 wxNavigationKeyEvent
*result
;
20877 char *kwnames
[] = {
20881 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_NavigationKeyEvent",kwnames
)) goto fail
;
20883 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20884 result
= (wxNavigationKeyEvent
*)new wxNavigationKeyEvent();
20886 wxPyEndAllowThreads(__tstate
);
20887 if (PyErr_Occurred()) SWIG_fail
;
20889 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNavigationKeyEvent
, 1);
20896 static PyObject
*_wrap_NavigationKeyEvent_GetDirection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20897 PyObject
*resultobj
;
20898 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
20900 PyObject
* obj0
= 0 ;
20901 char *kwnames
[] = {
20902 (char *) "self", NULL
20905 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NavigationKeyEvent_GetDirection",kwnames
,&obj0
)) goto fail
;
20906 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNavigationKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
20907 if (SWIG_arg_fail(1)) SWIG_fail
;
20909 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20910 result
= (bool)((wxNavigationKeyEvent
const *)arg1
)->GetDirection();
20912 wxPyEndAllowThreads(__tstate
);
20913 if (PyErr_Occurred()) SWIG_fail
;
20916 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20924 static PyObject
*_wrap_NavigationKeyEvent_SetDirection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20925 PyObject
*resultobj
;
20926 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
20928 PyObject
* obj0
= 0 ;
20929 PyObject
* obj1
= 0 ;
20930 char *kwnames
[] = {
20931 (char *) "self",(char *) "forward", NULL
20934 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NavigationKeyEvent_SetDirection",kwnames
,&obj0
,&obj1
)) goto fail
;
20935 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNavigationKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
20936 if (SWIG_arg_fail(1)) SWIG_fail
;
20938 arg2
= (bool)(SWIG_As_bool(obj1
));
20939 if (SWIG_arg_fail(2)) SWIG_fail
;
20942 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20943 (arg1
)->SetDirection(arg2
);
20945 wxPyEndAllowThreads(__tstate
);
20946 if (PyErr_Occurred()) SWIG_fail
;
20948 Py_INCREF(Py_None
); resultobj
= Py_None
;
20955 static PyObject
*_wrap_NavigationKeyEvent_IsWindowChange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20956 PyObject
*resultobj
;
20957 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
20959 PyObject
* obj0
= 0 ;
20960 char *kwnames
[] = {
20961 (char *) "self", NULL
20964 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NavigationKeyEvent_IsWindowChange",kwnames
,&obj0
)) goto fail
;
20965 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNavigationKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
20966 if (SWIG_arg_fail(1)) SWIG_fail
;
20968 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20969 result
= (bool)((wxNavigationKeyEvent
const *)arg1
)->IsWindowChange();
20971 wxPyEndAllowThreads(__tstate
);
20972 if (PyErr_Occurred()) SWIG_fail
;
20975 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20983 static PyObject
*_wrap_NavigationKeyEvent_SetWindowChange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20984 PyObject
*resultobj
;
20985 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
20987 PyObject
* obj0
= 0 ;
20988 PyObject
* obj1
= 0 ;
20989 char *kwnames
[] = {
20990 (char *) "self",(char *) "ischange", NULL
20993 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NavigationKeyEvent_SetWindowChange",kwnames
,&obj0
,&obj1
)) goto fail
;
20994 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNavigationKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
20995 if (SWIG_arg_fail(1)) SWIG_fail
;
20997 arg2
= (bool)(SWIG_As_bool(obj1
));
20998 if (SWIG_arg_fail(2)) SWIG_fail
;
21001 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21002 (arg1
)->SetWindowChange(arg2
);
21004 wxPyEndAllowThreads(__tstate
);
21005 if (PyErr_Occurred()) SWIG_fail
;
21007 Py_INCREF(Py_None
); resultobj
= Py_None
;
21014 static PyObject
*_wrap_NavigationKeyEvent_SetFlags(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21015 PyObject
*resultobj
;
21016 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
21018 PyObject
* obj0
= 0 ;
21019 PyObject
* obj1
= 0 ;
21020 char *kwnames
[] = {
21021 (char *) "self",(char *) "flags", NULL
21024 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NavigationKeyEvent_SetFlags",kwnames
,&obj0
,&obj1
)) goto fail
;
21025 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNavigationKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
21026 if (SWIG_arg_fail(1)) SWIG_fail
;
21028 arg2
= (long)(SWIG_As_long(obj1
));
21029 if (SWIG_arg_fail(2)) SWIG_fail
;
21032 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21033 (arg1
)->SetFlags(arg2
);
21035 wxPyEndAllowThreads(__tstate
);
21036 if (PyErr_Occurred()) SWIG_fail
;
21038 Py_INCREF(Py_None
); resultobj
= Py_None
;
21045 static PyObject
*_wrap_NavigationKeyEvent_GetCurrentFocus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21046 PyObject
*resultobj
;
21047 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
21049 PyObject
* obj0
= 0 ;
21050 char *kwnames
[] = {
21051 (char *) "self", NULL
21054 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NavigationKeyEvent_GetCurrentFocus",kwnames
,&obj0
)) goto fail
;
21055 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNavigationKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
21056 if (SWIG_arg_fail(1)) SWIG_fail
;
21058 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21059 result
= (wxWindow
*)((wxNavigationKeyEvent
const *)arg1
)->GetCurrentFocus();
21061 wxPyEndAllowThreads(__tstate
);
21062 if (PyErr_Occurred()) SWIG_fail
;
21065 resultobj
= wxPyMake_wxObject(result
, 0);
21073 static PyObject
*_wrap_NavigationKeyEvent_SetCurrentFocus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21074 PyObject
*resultobj
;
21075 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
21076 wxWindow
*arg2
= (wxWindow
*) 0 ;
21077 PyObject
* obj0
= 0 ;
21078 PyObject
* obj1
= 0 ;
21079 char *kwnames
[] = {
21080 (char *) "self",(char *) "win", NULL
21083 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NavigationKeyEvent_SetCurrentFocus",kwnames
,&obj0
,&obj1
)) goto fail
;
21084 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNavigationKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
21085 if (SWIG_arg_fail(1)) SWIG_fail
;
21086 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
21087 if (SWIG_arg_fail(2)) SWIG_fail
;
21089 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21090 (arg1
)->SetCurrentFocus(arg2
);
21092 wxPyEndAllowThreads(__tstate
);
21093 if (PyErr_Occurred()) SWIG_fail
;
21095 Py_INCREF(Py_None
); resultobj
= Py_None
;
21102 static PyObject
* NavigationKeyEvent_swigregister(PyObject
*, PyObject
*args
) {
21104 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21105 SWIG_TypeClientData(SWIGTYPE_p_wxNavigationKeyEvent
, obj
);
21107 return Py_BuildValue((char *)"");
21109 static PyObject
*_wrap_new_WindowCreateEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21110 PyObject
*resultobj
;
21111 wxWindow
*arg1
= (wxWindow
*) NULL
;
21112 wxWindowCreateEvent
*result
;
21113 PyObject
* obj0
= 0 ;
21114 char *kwnames
[] = {
21115 (char *) "win", NULL
21118 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_WindowCreateEvent",kwnames
,&obj0
)) goto fail
;
21120 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
21121 if (SWIG_arg_fail(1)) SWIG_fail
;
21124 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21125 result
= (wxWindowCreateEvent
*)new wxWindowCreateEvent(arg1
);
21127 wxPyEndAllowThreads(__tstate
);
21128 if (PyErr_Occurred()) SWIG_fail
;
21130 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxWindowCreateEvent
, 1);
21137 static PyObject
*_wrap_WindowCreateEvent_GetWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21138 PyObject
*resultobj
;
21139 wxWindowCreateEvent
*arg1
= (wxWindowCreateEvent
*) 0 ;
21141 PyObject
* obj0
= 0 ;
21142 char *kwnames
[] = {
21143 (char *) "self", NULL
21146 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:WindowCreateEvent_GetWindow",kwnames
,&obj0
)) goto fail
;
21147 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindowCreateEvent
, SWIG_POINTER_EXCEPTION
| 0);
21148 if (SWIG_arg_fail(1)) SWIG_fail
;
21150 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21151 result
= (wxWindow
*)((wxWindowCreateEvent
const *)arg1
)->GetWindow();
21153 wxPyEndAllowThreads(__tstate
);
21154 if (PyErr_Occurred()) SWIG_fail
;
21157 resultobj
= wxPyMake_wxObject(result
, 0);
21165 static PyObject
* WindowCreateEvent_swigregister(PyObject
*, PyObject
*args
) {
21167 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21168 SWIG_TypeClientData(SWIGTYPE_p_wxWindowCreateEvent
, obj
);
21170 return Py_BuildValue((char *)"");
21172 static PyObject
*_wrap_new_WindowDestroyEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21173 PyObject
*resultobj
;
21174 wxWindow
*arg1
= (wxWindow
*) NULL
;
21175 wxWindowDestroyEvent
*result
;
21176 PyObject
* obj0
= 0 ;
21177 char *kwnames
[] = {
21178 (char *) "win", NULL
21181 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_WindowDestroyEvent",kwnames
,&obj0
)) goto fail
;
21183 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
21184 if (SWIG_arg_fail(1)) SWIG_fail
;
21187 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21188 result
= (wxWindowDestroyEvent
*)new wxWindowDestroyEvent(arg1
);
21190 wxPyEndAllowThreads(__tstate
);
21191 if (PyErr_Occurred()) SWIG_fail
;
21193 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxWindowDestroyEvent
, 1);
21200 static PyObject
*_wrap_WindowDestroyEvent_GetWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21201 PyObject
*resultobj
;
21202 wxWindowDestroyEvent
*arg1
= (wxWindowDestroyEvent
*) 0 ;
21204 PyObject
* obj0
= 0 ;
21205 char *kwnames
[] = {
21206 (char *) "self", NULL
21209 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:WindowDestroyEvent_GetWindow",kwnames
,&obj0
)) goto fail
;
21210 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindowDestroyEvent
, SWIG_POINTER_EXCEPTION
| 0);
21211 if (SWIG_arg_fail(1)) SWIG_fail
;
21213 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21214 result
= (wxWindow
*)((wxWindowDestroyEvent
const *)arg1
)->GetWindow();
21216 wxPyEndAllowThreads(__tstate
);
21217 if (PyErr_Occurred()) SWIG_fail
;
21220 resultobj
= wxPyMake_wxObject(result
, 0);
21228 static PyObject
* WindowDestroyEvent_swigregister(PyObject
*, PyObject
*args
) {
21230 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21231 SWIG_TypeClientData(SWIGTYPE_p_wxWindowDestroyEvent
, obj
);
21233 return Py_BuildValue((char *)"");
21235 static PyObject
*_wrap_new_ContextMenuEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21236 PyObject
*resultobj
;
21237 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
21238 int arg2
= (int) 0 ;
21239 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
21240 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
21241 wxContextMenuEvent
*result
;
21243 PyObject
* obj0
= 0 ;
21244 PyObject
* obj1
= 0 ;
21245 PyObject
* obj2
= 0 ;
21246 char *kwnames
[] = {
21247 (char *) "type",(char *) "winid",(char *) "pt", NULL
21250 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_ContextMenuEvent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21253 arg1
= (wxEventType
)(SWIG_As_int(obj0
));
21254 if (SWIG_arg_fail(1)) SWIG_fail
;
21259 arg2
= (int)(SWIG_As_int(obj1
));
21260 if (SWIG_arg_fail(2)) SWIG_fail
;
21266 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
21270 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21271 result
= (wxContextMenuEvent
*)new wxContextMenuEvent(arg1
,arg2
,(wxPoint
const &)*arg3
);
21273 wxPyEndAllowThreads(__tstate
);
21274 if (PyErr_Occurred()) SWIG_fail
;
21276 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxContextMenuEvent
, 1);
21283 static PyObject
*_wrap_ContextMenuEvent_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21284 PyObject
*resultobj
;
21285 wxContextMenuEvent
*arg1
= (wxContextMenuEvent
*) 0 ;
21287 PyObject
* obj0
= 0 ;
21288 char *kwnames
[] = {
21289 (char *) "self", NULL
21292 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ContextMenuEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
21293 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxContextMenuEvent
, SWIG_POINTER_EXCEPTION
| 0);
21294 if (SWIG_arg_fail(1)) SWIG_fail
;
21296 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21298 wxPoint
const &_result_ref
= ((wxContextMenuEvent
const *)arg1
)->GetPosition();
21299 result
= (wxPoint
*) &_result_ref
;
21302 wxPyEndAllowThreads(__tstate
);
21303 if (PyErr_Occurred()) SWIG_fail
;
21305 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint
, 0);
21312 static PyObject
*_wrap_ContextMenuEvent_SetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21313 PyObject
*resultobj
;
21314 wxContextMenuEvent
*arg1
= (wxContextMenuEvent
*) 0 ;
21315 wxPoint
*arg2
= 0 ;
21317 PyObject
* obj0
= 0 ;
21318 PyObject
* obj1
= 0 ;
21319 char *kwnames
[] = {
21320 (char *) "self",(char *) "pos", NULL
21323 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ContextMenuEvent_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
21324 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxContextMenuEvent
, SWIG_POINTER_EXCEPTION
| 0);
21325 if (SWIG_arg_fail(1)) SWIG_fail
;
21328 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
21331 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21332 (arg1
)->SetPosition((wxPoint
const &)*arg2
);
21334 wxPyEndAllowThreads(__tstate
);
21335 if (PyErr_Occurred()) SWIG_fail
;
21337 Py_INCREF(Py_None
); resultobj
= Py_None
;
21344 static PyObject
* ContextMenuEvent_swigregister(PyObject
*, PyObject
*args
) {
21346 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21347 SWIG_TypeClientData(SWIGTYPE_p_wxContextMenuEvent
, obj
);
21349 return Py_BuildValue((char *)"");
21351 static PyObject
*_wrap_new_IdleEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21352 PyObject
*resultobj
;
21353 wxIdleEvent
*result
;
21354 char *kwnames
[] = {
21358 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_IdleEvent",kwnames
)) goto fail
;
21360 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21361 result
= (wxIdleEvent
*)new wxIdleEvent();
21363 wxPyEndAllowThreads(__tstate
);
21364 if (PyErr_Occurred()) SWIG_fail
;
21366 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIdleEvent
, 1);
21373 static PyObject
*_wrap_IdleEvent_RequestMore(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21374 PyObject
*resultobj
;
21375 wxIdleEvent
*arg1
= (wxIdleEvent
*) 0 ;
21376 bool arg2
= (bool) true ;
21377 PyObject
* obj0
= 0 ;
21378 PyObject
* obj1
= 0 ;
21379 char *kwnames
[] = {
21380 (char *) "self",(char *) "needMore", NULL
21383 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:IdleEvent_RequestMore",kwnames
,&obj0
,&obj1
)) goto fail
;
21384 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIdleEvent
, SWIG_POINTER_EXCEPTION
| 0);
21385 if (SWIG_arg_fail(1)) SWIG_fail
;
21388 arg2
= (bool)(SWIG_As_bool(obj1
));
21389 if (SWIG_arg_fail(2)) SWIG_fail
;
21393 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21394 (arg1
)->RequestMore(arg2
);
21396 wxPyEndAllowThreads(__tstate
);
21397 if (PyErr_Occurred()) SWIG_fail
;
21399 Py_INCREF(Py_None
); resultobj
= Py_None
;
21406 static PyObject
*_wrap_IdleEvent_MoreRequested(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21407 PyObject
*resultobj
;
21408 wxIdleEvent
*arg1
= (wxIdleEvent
*) 0 ;
21410 PyObject
* obj0
= 0 ;
21411 char *kwnames
[] = {
21412 (char *) "self", NULL
21415 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IdleEvent_MoreRequested",kwnames
,&obj0
)) goto fail
;
21416 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIdleEvent
, SWIG_POINTER_EXCEPTION
| 0);
21417 if (SWIG_arg_fail(1)) SWIG_fail
;
21419 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21420 result
= (bool)((wxIdleEvent
const *)arg1
)->MoreRequested();
21422 wxPyEndAllowThreads(__tstate
);
21423 if (PyErr_Occurred()) SWIG_fail
;
21426 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21434 static PyObject
*_wrap_IdleEvent_SetMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21435 PyObject
*resultobj
;
21437 PyObject
* obj0
= 0 ;
21438 char *kwnames
[] = {
21439 (char *) "mode", NULL
21442 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IdleEvent_SetMode",kwnames
,&obj0
)) goto fail
;
21444 arg1
= (wxIdleMode
)(SWIG_As_int(obj0
));
21445 if (SWIG_arg_fail(1)) SWIG_fail
;
21448 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21449 wxIdleEvent::SetMode((wxIdleMode
)arg1
);
21451 wxPyEndAllowThreads(__tstate
);
21452 if (PyErr_Occurred()) SWIG_fail
;
21454 Py_INCREF(Py_None
); resultobj
= Py_None
;
21461 static PyObject
*_wrap_IdleEvent_GetMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21462 PyObject
*resultobj
;
21464 char *kwnames
[] = {
21468 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":IdleEvent_GetMode",kwnames
)) goto fail
;
21470 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21471 result
= (wxIdleMode
)wxIdleEvent::GetMode();
21473 wxPyEndAllowThreads(__tstate
);
21474 if (PyErr_Occurred()) SWIG_fail
;
21476 resultobj
= SWIG_From_int((result
));
21483 static PyObject
*_wrap_IdleEvent_CanSend(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21484 PyObject
*resultobj
;
21485 wxWindow
*arg1
= (wxWindow
*) 0 ;
21487 PyObject
* obj0
= 0 ;
21488 char *kwnames
[] = {
21489 (char *) "win", NULL
21492 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IdleEvent_CanSend",kwnames
,&obj0
)) goto fail
;
21493 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
21494 if (SWIG_arg_fail(1)) SWIG_fail
;
21496 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21497 result
= (bool)wxIdleEvent::CanSend(arg1
);
21499 wxPyEndAllowThreads(__tstate
);
21500 if (PyErr_Occurred()) SWIG_fail
;
21503 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21511 static PyObject
* IdleEvent_swigregister(PyObject
*, PyObject
*args
) {
21513 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21514 SWIG_TypeClientData(SWIGTYPE_p_wxIdleEvent
, obj
);
21516 return Py_BuildValue((char *)"");
21518 static PyObject
*_wrap_new_PyEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21519 PyObject
*resultobj
;
21520 int arg1
= (int) 0 ;
21521 wxEventType arg2
= (wxEventType
) wxEVT_NULL
;
21523 PyObject
* obj0
= 0 ;
21524 PyObject
* obj1
= 0 ;
21525 char *kwnames
[] = {
21526 (char *) "winid",(char *) "commandType", NULL
21529 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_PyEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
21532 arg1
= (int)(SWIG_As_int(obj0
));
21533 if (SWIG_arg_fail(1)) SWIG_fail
;
21538 arg2
= (wxEventType
)(SWIG_As_int(obj1
));
21539 if (SWIG_arg_fail(2)) SWIG_fail
;
21543 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21544 result
= (wxPyEvent
*)new wxPyEvent(arg1
,arg2
);
21546 wxPyEndAllowThreads(__tstate
);
21547 if (PyErr_Occurred()) SWIG_fail
;
21549 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyEvent
, 1);
21556 static PyObject
*_wrap_delete_PyEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21557 PyObject
*resultobj
;
21558 wxPyEvent
*arg1
= (wxPyEvent
*) 0 ;
21559 PyObject
* obj0
= 0 ;
21560 char *kwnames
[] = {
21561 (char *) "self", NULL
21564 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PyEvent",kwnames
,&obj0
)) goto fail
;
21565 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyEvent
, SWIG_POINTER_EXCEPTION
| 0);
21566 if (SWIG_arg_fail(1)) SWIG_fail
;
21568 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21571 wxPyEndAllowThreads(__tstate
);
21572 if (PyErr_Occurred()) SWIG_fail
;
21574 Py_INCREF(Py_None
); resultobj
= Py_None
;
21581 static PyObject
*_wrap_PyEvent_SetSelf(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21582 PyObject
*resultobj
;
21583 wxPyEvent
*arg1
= (wxPyEvent
*) 0 ;
21584 PyObject
*arg2
= (PyObject
*) 0 ;
21585 PyObject
* obj0
= 0 ;
21586 PyObject
* obj1
= 0 ;
21587 char *kwnames
[] = {
21588 (char *) "self",(char *) "self", NULL
21591 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyEvent_SetSelf",kwnames
,&obj0
,&obj1
)) goto fail
;
21592 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyEvent
, SWIG_POINTER_EXCEPTION
| 0);
21593 if (SWIG_arg_fail(1)) SWIG_fail
;
21596 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21597 (arg1
)->SetSelf(arg2
);
21599 wxPyEndAllowThreads(__tstate
);
21600 if (PyErr_Occurred()) SWIG_fail
;
21602 Py_INCREF(Py_None
); resultobj
= Py_None
;
21609 static PyObject
*_wrap_PyEvent_GetSelf(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21610 PyObject
*resultobj
;
21611 wxPyEvent
*arg1
= (wxPyEvent
*) 0 ;
21613 PyObject
* obj0
= 0 ;
21614 char *kwnames
[] = {
21615 (char *) "self", NULL
21618 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyEvent_GetSelf",kwnames
,&obj0
)) goto fail
;
21619 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyEvent
, SWIG_POINTER_EXCEPTION
| 0);
21620 if (SWIG_arg_fail(1)) SWIG_fail
;
21622 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21623 result
= (PyObject
*)(arg1
)->GetSelf();
21625 wxPyEndAllowThreads(__tstate
);
21626 if (PyErr_Occurred()) SWIG_fail
;
21628 resultobj
= result
;
21635 static PyObject
* PyEvent_swigregister(PyObject
*, PyObject
*args
) {
21637 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21638 SWIG_TypeClientData(SWIGTYPE_p_wxPyEvent
, obj
);
21640 return Py_BuildValue((char *)"");
21642 static PyObject
*_wrap_new_PyCommandEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21643 PyObject
*resultobj
;
21644 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
21645 int arg2
= (int) 0 ;
21646 wxPyCommandEvent
*result
;
21647 PyObject
* obj0
= 0 ;
21648 PyObject
* obj1
= 0 ;
21649 char *kwnames
[] = {
21650 (char *) "commandType",(char *) "id", NULL
21653 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_PyCommandEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
21656 arg1
= (wxEventType
)(SWIG_As_int(obj0
));
21657 if (SWIG_arg_fail(1)) SWIG_fail
;
21662 arg2
= (int)(SWIG_As_int(obj1
));
21663 if (SWIG_arg_fail(2)) SWIG_fail
;
21667 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21668 result
= (wxPyCommandEvent
*)new wxPyCommandEvent(arg1
,arg2
);
21670 wxPyEndAllowThreads(__tstate
);
21671 if (PyErr_Occurred()) SWIG_fail
;
21673 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyCommandEvent
, 1);
21680 static PyObject
*_wrap_delete_PyCommandEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21681 PyObject
*resultobj
;
21682 wxPyCommandEvent
*arg1
= (wxPyCommandEvent
*) 0 ;
21683 PyObject
* obj0
= 0 ;
21684 char *kwnames
[] = {
21685 (char *) "self", NULL
21688 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PyCommandEvent",kwnames
,&obj0
)) goto fail
;
21689 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyCommandEvent
, SWIG_POINTER_EXCEPTION
| 0);
21690 if (SWIG_arg_fail(1)) SWIG_fail
;
21692 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21695 wxPyEndAllowThreads(__tstate
);
21696 if (PyErr_Occurred()) SWIG_fail
;
21698 Py_INCREF(Py_None
); resultobj
= Py_None
;
21705 static PyObject
*_wrap_PyCommandEvent_SetSelf(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21706 PyObject
*resultobj
;
21707 wxPyCommandEvent
*arg1
= (wxPyCommandEvent
*) 0 ;
21708 PyObject
*arg2
= (PyObject
*) 0 ;
21709 PyObject
* obj0
= 0 ;
21710 PyObject
* obj1
= 0 ;
21711 char *kwnames
[] = {
21712 (char *) "self",(char *) "self", NULL
21715 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyCommandEvent_SetSelf",kwnames
,&obj0
,&obj1
)) goto fail
;
21716 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyCommandEvent
, SWIG_POINTER_EXCEPTION
| 0);
21717 if (SWIG_arg_fail(1)) SWIG_fail
;
21720 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21721 (arg1
)->SetSelf(arg2
);
21723 wxPyEndAllowThreads(__tstate
);
21724 if (PyErr_Occurred()) SWIG_fail
;
21726 Py_INCREF(Py_None
); resultobj
= Py_None
;
21733 static PyObject
*_wrap_PyCommandEvent_GetSelf(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21734 PyObject
*resultobj
;
21735 wxPyCommandEvent
*arg1
= (wxPyCommandEvent
*) 0 ;
21737 PyObject
* obj0
= 0 ;
21738 char *kwnames
[] = {
21739 (char *) "self", NULL
21742 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyCommandEvent_GetSelf",kwnames
,&obj0
)) goto fail
;
21743 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyCommandEvent
, SWIG_POINTER_EXCEPTION
| 0);
21744 if (SWIG_arg_fail(1)) SWIG_fail
;
21746 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21747 result
= (PyObject
*)(arg1
)->GetSelf();
21749 wxPyEndAllowThreads(__tstate
);
21750 if (PyErr_Occurred()) SWIG_fail
;
21752 resultobj
= result
;
21759 static PyObject
* PyCommandEvent_swigregister(PyObject
*, PyObject
*args
) {
21761 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21762 SWIG_TypeClientData(SWIGTYPE_p_wxPyCommandEvent
, obj
);
21764 return Py_BuildValue((char *)"");
21766 static PyObject
*_wrap_new_DateEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21767 PyObject
*resultobj
;
21768 wxWindow
*arg1
= (wxWindow
*) 0 ;
21769 wxDateTime
*arg2
= 0 ;
21771 wxDateEvent
*result
;
21772 PyObject
* obj0
= 0 ;
21773 PyObject
* obj1
= 0 ;
21774 PyObject
* obj2
= 0 ;
21775 char *kwnames
[] = {
21776 (char *) "win",(char *) "dt",(char *) "type", NULL
21779 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:new_DateEvent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21780 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
21781 if (SWIG_arg_fail(1)) SWIG_fail
;
21783 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21784 if (SWIG_arg_fail(2)) SWIG_fail
;
21785 if (arg2
== NULL
) {
21786 SWIG_null_ref("wxDateTime");
21788 if (SWIG_arg_fail(2)) SWIG_fail
;
21791 arg3
= (wxEventType
)(SWIG_As_int(obj2
));
21792 if (SWIG_arg_fail(3)) SWIG_fail
;
21795 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21796 result
= (wxDateEvent
*)new wxDateEvent(arg1
,(wxDateTime
const &)*arg2
,arg3
);
21798 wxPyEndAllowThreads(__tstate
);
21799 if (PyErr_Occurred()) SWIG_fail
;
21801 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateEvent
, 1);
21808 static PyObject
*_wrap_DateEvent_GetDate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21809 PyObject
*resultobj
;
21810 wxDateEvent
*arg1
= (wxDateEvent
*) 0 ;
21811 wxDateTime
*result
;
21812 PyObject
* obj0
= 0 ;
21813 char *kwnames
[] = {
21814 (char *) "self", NULL
21817 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateEvent_GetDate",kwnames
,&obj0
)) goto fail
;
21818 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateEvent
, SWIG_POINTER_EXCEPTION
| 0);
21819 if (SWIG_arg_fail(1)) SWIG_fail
;
21821 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21823 wxDateTime
const &_result_ref
= ((wxDateEvent
const *)arg1
)->GetDate();
21824 result
= (wxDateTime
*) &_result_ref
;
21827 wxPyEndAllowThreads(__tstate
);
21828 if (PyErr_Occurred()) SWIG_fail
;
21830 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
21837 static PyObject
*_wrap_DateEvent_SetDate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21838 PyObject
*resultobj
;
21839 wxDateEvent
*arg1
= (wxDateEvent
*) 0 ;
21840 wxDateTime
*arg2
= 0 ;
21841 PyObject
* obj0
= 0 ;
21842 PyObject
* obj1
= 0 ;
21843 char *kwnames
[] = {
21844 (char *) "self",(char *) "date", NULL
21847 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateEvent_SetDate",kwnames
,&obj0
,&obj1
)) goto fail
;
21848 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateEvent
, SWIG_POINTER_EXCEPTION
| 0);
21849 if (SWIG_arg_fail(1)) SWIG_fail
;
21851 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21852 if (SWIG_arg_fail(2)) SWIG_fail
;
21853 if (arg2
== NULL
) {
21854 SWIG_null_ref("wxDateTime");
21856 if (SWIG_arg_fail(2)) SWIG_fail
;
21859 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21860 (arg1
)->SetDate((wxDateTime
const &)*arg2
);
21862 wxPyEndAllowThreads(__tstate
);
21863 if (PyErr_Occurred()) SWIG_fail
;
21865 Py_INCREF(Py_None
); resultobj
= Py_None
;
21872 static PyObject
* DateEvent_swigregister(PyObject
*, PyObject
*args
) {
21874 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21875 SWIG_TypeClientData(SWIGTYPE_p_wxDateEvent
, obj
);
21877 return Py_BuildValue((char *)"");
21879 static PyObject
*_wrap_new_PyApp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21880 PyObject
*resultobj
;
21882 char *kwnames
[] = {
21886 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PyApp",kwnames
)) goto fail
;
21888 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21889 result
= (wxPyApp
*)new_wxPyApp();
21891 wxPyEndAllowThreads(__tstate
);
21892 if (PyErr_Occurred()) SWIG_fail
;
21894 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyApp
, 1);
21901 static PyObject
*_wrap_delete_PyApp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21902 PyObject
*resultobj
;
21903 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
21904 PyObject
* obj0
= 0 ;
21905 char *kwnames
[] = {
21906 (char *) "self", NULL
21909 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PyApp",kwnames
,&obj0
)) goto fail
;
21910 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
21911 if (SWIG_arg_fail(1)) SWIG_fail
;
21913 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21916 wxPyEndAllowThreads(__tstate
);
21917 if (PyErr_Occurred()) SWIG_fail
;
21919 Py_INCREF(Py_None
); resultobj
= Py_None
;
21926 static PyObject
*_wrap_PyApp__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21927 PyObject
*resultobj
;
21928 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
21929 PyObject
*arg2
= (PyObject
*) 0 ;
21930 PyObject
*arg3
= (PyObject
*) 0 ;
21931 PyObject
* obj0
= 0 ;
21932 PyObject
* obj1
= 0 ;
21933 PyObject
* obj2
= 0 ;
21934 char *kwnames
[] = {
21935 (char *) "self",(char *) "self",(char *) "_class", NULL
21938 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyApp__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21939 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
21940 if (SWIG_arg_fail(1)) SWIG_fail
;
21944 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21945 (arg1
)->_setCallbackInfo(arg2
,arg3
);
21947 wxPyEndAllowThreads(__tstate
);
21948 if (PyErr_Occurred()) SWIG_fail
;
21950 Py_INCREF(Py_None
); resultobj
= Py_None
;
21957 static PyObject
*_wrap_PyApp_GetAppName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21958 PyObject
*resultobj
;
21959 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
21961 PyObject
* obj0
= 0 ;
21962 char *kwnames
[] = {
21963 (char *) "self", NULL
21966 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetAppName",kwnames
,&obj0
)) goto fail
;
21967 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
21968 if (SWIG_arg_fail(1)) SWIG_fail
;
21970 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21971 result
= ((wxPyApp
const *)arg1
)->GetAppName();
21973 wxPyEndAllowThreads(__tstate
);
21974 if (PyErr_Occurred()) SWIG_fail
;
21978 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
21980 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
21989 static PyObject
*_wrap_PyApp_SetAppName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21990 PyObject
*resultobj
;
21991 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
21992 wxString
*arg2
= 0 ;
21993 bool temp2
= false ;
21994 PyObject
* obj0
= 0 ;
21995 PyObject
* obj1
= 0 ;
21996 char *kwnames
[] = {
21997 (char *) "self",(char *) "name", NULL
22000 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetAppName",kwnames
,&obj0
,&obj1
)) goto fail
;
22001 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
22002 if (SWIG_arg_fail(1)) SWIG_fail
;
22004 arg2
= wxString_in_helper(obj1
);
22005 if (arg2
== NULL
) SWIG_fail
;
22009 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22010 (arg1
)->SetAppName((wxString
const &)*arg2
);
22012 wxPyEndAllowThreads(__tstate
);
22013 if (PyErr_Occurred()) SWIG_fail
;
22015 Py_INCREF(Py_None
); resultobj
= Py_None
;
22030 static PyObject
*_wrap_PyApp_GetClassName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22031 PyObject
*resultobj
;
22032 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
22034 PyObject
* obj0
= 0 ;
22035 char *kwnames
[] = {
22036 (char *) "self", NULL
22039 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetClassName",kwnames
,&obj0
)) goto fail
;
22040 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
22041 if (SWIG_arg_fail(1)) SWIG_fail
;
22043 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22044 result
= ((wxPyApp
const *)arg1
)->GetClassName();
22046 wxPyEndAllowThreads(__tstate
);
22047 if (PyErr_Occurred()) SWIG_fail
;
22051 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
22053 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
22062 static PyObject
*_wrap_PyApp_SetClassName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22063 PyObject
*resultobj
;
22064 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
22065 wxString
*arg2
= 0 ;
22066 bool temp2
= false ;
22067 PyObject
* obj0
= 0 ;
22068 PyObject
* obj1
= 0 ;
22069 char *kwnames
[] = {
22070 (char *) "self",(char *) "name", NULL
22073 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetClassName",kwnames
,&obj0
,&obj1
)) goto fail
;
22074 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
22075 if (SWIG_arg_fail(1)) SWIG_fail
;
22077 arg2
= wxString_in_helper(obj1
);
22078 if (arg2
== NULL
) SWIG_fail
;
22082 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22083 (arg1
)->SetClassName((wxString
const &)*arg2
);
22085 wxPyEndAllowThreads(__tstate
);
22086 if (PyErr_Occurred()) SWIG_fail
;
22088 Py_INCREF(Py_None
); resultobj
= Py_None
;
22103 static PyObject
*_wrap_PyApp_GetVendorName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22104 PyObject
*resultobj
;
22105 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
22107 PyObject
* obj0
= 0 ;
22108 char *kwnames
[] = {
22109 (char *) "self", NULL
22112 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetVendorName",kwnames
,&obj0
)) goto fail
;
22113 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
22114 if (SWIG_arg_fail(1)) SWIG_fail
;
22116 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22118 wxString
const &_result_ref
= ((wxPyApp
const *)arg1
)->GetVendorName();
22119 result
= (wxString
*) &_result_ref
;
22122 wxPyEndAllowThreads(__tstate
);
22123 if (PyErr_Occurred()) SWIG_fail
;
22127 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
22129 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
22138 static PyObject
*_wrap_PyApp_SetVendorName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22139 PyObject
*resultobj
;
22140 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
22141 wxString
*arg2
= 0 ;
22142 bool temp2
= false ;
22143 PyObject
* obj0
= 0 ;
22144 PyObject
* obj1
= 0 ;
22145 char *kwnames
[] = {
22146 (char *) "self",(char *) "name", NULL
22149 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetVendorName",kwnames
,&obj0
,&obj1
)) goto fail
;
22150 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
22151 if (SWIG_arg_fail(1)) SWIG_fail
;
22153 arg2
= wxString_in_helper(obj1
);
22154 if (arg2
== NULL
) SWIG_fail
;
22158 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22159 (arg1
)->SetVendorName((wxString
const &)*arg2
);
22161 wxPyEndAllowThreads(__tstate
);
22162 if (PyErr_Occurred()) SWIG_fail
;
22164 Py_INCREF(Py_None
); resultobj
= Py_None
;
22179 static PyObject
*_wrap_PyApp_GetTraits(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22180 PyObject
*resultobj
;
22181 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
22182 wxAppTraits
*result
;
22183 PyObject
* obj0
= 0 ;
22184 char *kwnames
[] = {
22185 (char *) "self", NULL
22188 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetTraits",kwnames
,&obj0
)) goto fail
;
22189 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
22190 if (SWIG_arg_fail(1)) SWIG_fail
;
22192 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22193 result
= (wxAppTraits
*)(arg1
)->GetTraits();
22195 wxPyEndAllowThreads(__tstate
);
22196 if (PyErr_Occurred()) SWIG_fail
;
22198 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxAppTraits
, 0);
22205 static PyObject
*_wrap_PyApp_ProcessPendingEvents(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22206 PyObject
*resultobj
;
22207 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
22208 PyObject
* obj0
= 0 ;
22209 char *kwnames
[] = {
22210 (char *) "self", NULL
22213 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_ProcessPendingEvents",kwnames
,&obj0
)) goto fail
;
22214 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
22215 if (SWIG_arg_fail(1)) SWIG_fail
;
22217 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22218 (arg1
)->ProcessPendingEvents();
22220 wxPyEndAllowThreads(__tstate
);
22221 if (PyErr_Occurred()) SWIG_fail
;
22223 Py_INCREF(Py_None
); resultobj
= Py_None
;
22230 static PyObject
*_wrap_PyApp_Yield(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22231 PyObject
*resultobj
;
22232 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
22233 bool arg2
= (bool) false ;
22235 PyObject
* obj0
= 0 ;
22236 PyObject
* obj1
= 0 ;
22237 char *kwnames
[] = {
22238 (char *) "self",(char *) "onlyIfNeeded", NULL
22241 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:PyApp_Yield",kwnames
,&obj0
,&obj1
)) goto fail
;
22242 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
22243 if (SWIG_arg_fail(1)) SWIG_fail
;
22246 arg2
= (bool)(SWIG_As_bool(obj1
));
22247 if (SWIG_arg_fail(2)) SWIG_fail
;
22251 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22252 result
= (bool)(arg1
)->Yield(arg2
);
22254 wxPyEndAllowThreads(__tstate
);
22255 if (PyErr_Occurred()) SWIG_fail
;
22258 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22266 static PyObject
*_wrap_PyApp_WakeUpIdle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22267 PyObject
*resultobj
;
22268 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
22269 PyObject
* obj0
= 0 ;
22270 char *kwnames
[] = {
22271 (char *) "self", NULL
22274 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_WakeUpIdle",kwnames
,&obj0
)) goto fail
;
22275 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
22276 if (SWIG_arg_fail(1)) SWIG_fail
;
22278 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22279 (arg1
)->WakeUpIdle();
22281 wxPyEndAllowThreads(__tstate
);
22282 if (PyErr_Occurred()) SWIG_fail
;
22284 Py_INCREF(Py_None
); resultobj
= Py_None
;
22291 static PyObject
*_wrap_PyApp_IsMainLoopRunning(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22292 PyObject
*resultobj
;
22294 char *kwnames
[] = {
22298 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PyApp_IsMainLoopRunning",kwnames
)) goto fail
;
22300 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22301 result
= (bool)wxPyApp::IsMainLoopRunning();
22303 wxPyEndAllowThreads(__tstate
);
22304 if (PyErr_Occurred()) SWIG_fail
;
22307 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22315 static PyObject
*_wrap_PyApp_MainLoop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22316 PyObject
*resultobj
;
22317 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
22319 PyObject
* obj0
= 0 ;
22320 char *kwnames
[] = {
22321 (char *) "self", NULL
22324 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_MainLoop",kwnames
,&obj0
)) goto fail
;
22325 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
22326 if (SWIG_arg_fail(1)) SWIG_fail
;
22328 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22329 result
= (int)(arg1
)->MainLoop();
22331 wxPyEndAllowThreads(__tstate
);
22332 if (PyErr_Occurred()) SWIG_fail
;
22335 resultobj
= SWIG_From_int((int)(result
));
22343 static PyObject
*_wrap_PyApp_Exit(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22344 PyObject
*resultobj
;
22345 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
22346 PyObject
* obj0
= 0 ;
22347 char *kwnames
[] = {
22348 (char *) "self", NULL
22351 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_Exit",kwnames
,&obj0
)) goto fail
;
22352 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
22353 if (SWIG_arg_fail(1)) SWIG_fail
;
22355 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22358 wxPyEndAllowThreads(__tstate
);
22359 if (PyErr_Occurred()) SWIG_fail
;
22361 Py_INCREF(Py_None
); resultobj
= Py_None
;
22368 static PyObject
*_wrap_PyApp_ExitMainLoop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22369 PyObject
*resultobj
;
22370 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
22371 PyObject
* obj0
= 0 ;
22372 char *kwnames
[] = {
22373 (char *) "self", NULL
22376 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_ExitMainLoop",kwnames
,&obj0
)) goto fail
;
22377 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
22378 if (SWIG_arg_fail(1)) SWIG_fail
;
22380 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22381 (arg1
)->ExitMainLoop();
22383 wxPyEndAllowThreads(__tstate
);
22384 if (PyErr_Occurred()) SWIG_fail
;
22386 Py_INCREF(Py_None
); resultobj
= Py_None
;
22393 static PyObject
*_wrap_PyApp_Pending(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22394 PyObject
*resultobj
;
22395 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
22397 PyObject
* obj0
= 0 ;
22398 char *kwnames
[] = {
22399 (char *) "self", NULL
22402 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_Pending",kwnames
,&obj0
)) goto fail
;
22403 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
22404 if (SWIG_arg_fail(1)) SWIG_fail
;
22406 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22407 result
= (bool)(arg1
)->Pending();
22409 wxPyEndAllowThreads(__tstate
);
22410 if (PyErr_Occurred()) SWIG_fail
;
22413 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22421 static PyObject
*_wrap_PyApp_Dispatch(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22422 PyObject
*resultobj
;
22423 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
22425 PyObject
* obj0
= 0 ;
22426 char *kwnames
[] = {
22427 (char *) "self", NULL
22430 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_Dispatch",kwnames
,&obj0
)) goto fail
;
22431 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
22432 if (SWIG_arg_fail(1)) SWIG_fail
;
22434 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22435 result
= (bool)(arg1
)->Dispatch();
22437 wxPyEndAllowThreads(__tstate
);
22438 if (PyErr_Occurred()) SWIG_fail
;
22441 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22449 static PyObject
*_wrap_PyApp_ProcessIdle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22450 PyObject
*resultobj
;
22451 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
22453 PyObject
* obj0
= 0 ;
22454 char *kwnames
[] = {
22455 (char *) "self", NULL
22458 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_ProcessIdle",kwnames
,&obj0
)) goto fail
;
22459 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
22460 if (SWIG_arg_fail(1)) SWIG_fail
;
22462 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22463 result
= (bool)(arg1
)->ProcessIdle();
22465 wxPyEndAllowThreads(__tstate
);
22466 if (PyErr_Occurred()) SWIG_fail
;
22469 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22477 static PyObject
*_wrap_PyApp_SendIdleEvents(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22478 PyObject
*resultobj
;
22479 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
22480 wxWindow
*arg2
= (wxWindow
*) 0 ;
22481 wxIdleEvent
*arg3
= 0 ;
22483 PyObject
* obj0
= 0 ;
22484 PyObject
* obj1
= 0 ;
22485 PyObject
* obj2
= 0 ;
22486 char *kwnames
[] = {
22487 (char *) "self",(char *) "win",(char *) "event", NULL
22490 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyApp_SendIdleEvents",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22491 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
22492 if (SWIG_arg_fail(1)) SWIG_fail
;
22493 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
22494 if (SWIG_arg_fail(2)) SWIG_fail
;
22496 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxIdleEvent
, SWIG_POINTER_EXCEPTION
| 0);
22497 if (SWIG_arg_fail(3)) SWIG_fail
;
22498 if (arg3
== NULL
) {
22499 SWIG_null_ref("wxIdleEvent");
22501 if (SWIG_arg_fail(3)) SWIG_fail
;
22504 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22505 result
= (bool)(arg1
)->SendIdleEvents(arg2
,*arg3
);
22507 wxPyEndAllowThreads(__tstate
);
22508 if (PyErr_Occurred()) SWIG_fail
;
22511 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22519 static PyObject
*_wrap_PyApp_IsActive(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22520 PyObject
*resultobj
;
22521 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
22523 PyObject
* obj0
= 0 ;
22524 char *kwnames
[] = {
22525 (char *) "self", NULL
22528 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_IsActive",kwnames
,&obj0
)) goto fail
;
22529 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
22530 if (SWIG_arg_fail(1)) SWIG_fail
;
22532 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22533 result
= (bool)((wxPyApp
const *)arg1
)->IsActive();
22535 wxPyEndAllowThreads(__tstate
);
22536 if (PyErr_Occurred()) SWIG_fail
;
22539 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22547 static PyObject
*_wrap_PyApp_SetTopWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22548 PyObject
*resultobj
;
22549 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
22550 wxWindow
*arg2
= (wxWindow
*) 0 ;
22551 PyObject
* obj0
= 0 ;
22552 PyObject
* obj1
= 0 ;
22553 char *kwnames
[] = {
22554 (char *) "self",(char *) "win", NULL
22557 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetTopWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
22558 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
22559 if (SWIG_arg_fail(1)) SWIG_fail
;
22560 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
22561 if (SWIG_arg_fail(2)) SWIG_fail
;
22563 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22564 (arg1
)->SetTopWindow(arg2
);
22566 wxPyEndAllowThreads(__tstate
);
22567 if (PyErr_Occurred()) SWIG_fail
;
22569 Py_INCREF(Py_None
); resultobj
= Py_None
;
22576 static PyObject
*_wrap_PyApp_GetTopWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22577 PyObject
*resultobj
;
22578 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
22580 PyObject
* obj0
= 0 ;
22581 char *kwnames
[] = {
22582 (char *) "self", NULL
22585 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetTopWindow",kwnames
,&obj0
)) goto fail
;
22586 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
22587 if (SWIG_arg_fail(1)) SWIG_fail
;
22589 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22590 result
= (wxWindow
*)((wxPyApp
const *)arg1
)->GetTopWindow();
22592 wxPyEndAllowThreads(__tstate
);
22593 if (PyErr_Occurred()) SWIG_fail
;
22596 resultobj
= wxPyMake_wxObject(result
, 0);
22604 static PyObject
*_wrap_PyApp_SetExitOnFrameDelete(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22605 PyObject
*resultobj
;
22606 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
22608 PyObject
* obj0
= 0 ;
22609 PyObject
* obj1
= 0 ;
22610 char *kwnames
[] = {
22611 (char *) "self",(char *) "flag", NULL
22614 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetExitOnFrameDelete",kwnames
,&obj0
,&obj1
)) goto fail
;
22615 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
22616 if (SWIG_arg_fail(1)) SWIG_fail
;
22618 arg2
= (bool)(SWIG_As_bool(obj1
));
22619 if (SWIG_arg_fail(2)) SWIG_fail
;
22622 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22623 (arg1
)->SetExitOnFrameDelete(arg2
);
22625 wxPyEndAllowThreads(__tstate
);
22626 if (PyErr_Occurred()) SWIG_fail
;
22628 Py_INCREF(Py_None
); resultobj
= Py_None
;
22635 static PyObject
*_wrap_PyApp_GetExitOnFrameDelete(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22636 PyObject
*resultobj
;
22637 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
22639 PyObject
* obj0
= 0 ;
22640 char *kwnames
[] = {
22641 (char *) "self", NULL
22644 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetExitOnFrameDelete",kwnames
,&obj0
)) goto fail
;
22645 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
22646 if (SWIG_arg_fail(1)) SWIG_fail
;
22648 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22649 result
= (bool)((wxPyApp
const *)arg1
)->GetExitOnFrameDelete();
22651 wxPyEndAllowThreads(__tstate
);
22652 if (PyErr_Occurred()) SWIG_fail
;
22655 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22663 static PyObject
*_wrap_PyApp_SetUseBestVisual(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22664 PyObject
*resultobj
;
22665 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
22667 PyObject
* obj0
= 0 ;
22668 PyObject
* obj1
= 0 ;
22669 char *kwnames
[] = {
22670 (char *) "self",(char *) "flag", NULL
22673 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetUseBestVisual",kwnames
,&obj0
,&obj1
)) goto fail
;
22674 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
22675 if (SWIG_arg_fail(1)) SWIG_fail
;
22677 arg2
= (bool)(SWIG_As_bool(obj1
));
22678 if (SWIG_arg_fail(2)) SWIG_fail
;
22681 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22682 (arg1
)->SetUseBestVisual(arg2
);
22684 wxPyEndAllowThreads(__tstate
);
22685 if (PyErr_Occurred()) SWIG_fail
;
22687 Py_INCREF(Py_None
); resultobj
= Py_None
;
22694 static PyObject
*_wrap_PyApp_GetUseBestVisual(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22695 PyObject
*resultobj
;
22696 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
22698 PyObject
* obj0
= 0 ;
22699 char *kwnames
[] = {
22700 (char *) "self", NULL
22703 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetUseBestVisual",kwnames
,&obj0
)) goto fail
;
22704 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
22705 if (SWIG_arg_fail(1)) SWIG_fail
;
22707 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22708 result
= (bool)((wxPyApp
const *)arg1
)->GetUseBestVisual();
22710 wxPyEndAllowThreads(__tstate
);
22711 if (PyErr_Occurred()) SWIG_fail
;
22714 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22722 static PyObject
*_wrap_PyApp_SetPrintMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22723 PyObject
*resultobj
;
22724 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
22726 PyObject
* obj0
= 0 ;
22727 PyObject
* obj1
= 0 ;
22728 char *kwnames
[] = {
22729 (char *) "self",(char *) "mode", NULL
22732 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetPrintMode",kwnames
,&obj0
,&obj1
)) goto fail
;
22733 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
22734 if (SWIG_arg_fail(1)) SWIG_fail
;
22736 arg2
= (int)(SWIG_As_int(obj1
));
22737 if (SWIG_arg_fail(2)) SWIG_fail
;
22740 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22741 (arg1
)->SetPrintMode(arg2
);
22743 wxPyEndAllowThreads(__tstate
);
22744 if (PyErr_Occurred()) SWIG_fail
;
22746 Py_INCREF(Py_None
); resultobj
= Py_None
;
22753 static PyObject
*_wrap_PyApp_GetPrintMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22754 PyObject
*resultobj
;
22755 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
22757 PyObject
* obj0
= 0 ;
22758 char *kwnames
[] = {
22759 (char *) "self", NULL
22762 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetPrintMode",kwnames
,&obj0
)) goto fail
;
22763 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
22764 if (SWIG_arg_fail(1)) SWIG_fail
;
22766 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22767 result
= (int)((wxPyApp
const *)arg1
)->GetPrintMode();
22769 wxPyEndAllowThreads(__tstate
);
22770 if (PyErr_Occurred()) SWIG_fail
;
22773 resultobj
= SWIG_From_int((int)(result
));
22781 static PyObject
*_wrap_PyApp_SetAssertMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22782 PyObject
*resultobj
;
22783 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
22785 PyObject
* obj0
= 0 ;
22786 PyObject
* obj1
= 0 ;
22787 char *kwnames
[] = {
22788 (char *) "self",(char *) "mode", NULL
22791 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetAssertMode",kwnames
,&obj0
,&obj1
)) goto fail
;
22792 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
22793 if (SWIG_arg_fail(1)) SWIG_fail
;
22795 arg2
= (int)(SWIG_As_int(obj1
));
22796 if (SWIG_arg_fail(2)) SWIG_fail
;
22799 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22800 (arg1
)->SetAssertMode(arg2
);
22802 wxPyEndAllowThreads(__tstate
);
22803 if (PyErr_Occurred()) SWIG_fail
;
22805 Py_INCREF(Py_None
); resultobj
= Py_None
;
22812 static PyObject
*_wrap_PyApp_GetAssertMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22813 PyObject
*resultobj
;
22814 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
22816 PyObject
* obj0
= 0 ;
22817 char *kwnames
[] = {
22818 (char *) "self", NULL
22821 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetAssertMode",kwnames
,&obj0
)) goto fail
;
22822 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
22823 if (SWIG_arg_fail(1)) SWIG_fail
;
22825 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22826 result
= (int)(arg1
)->GetAssertMode();
22828 wxPyEndAllowThreads(__tstate
);
22829 if (PyErr_Occurred()) SWIG_fail
;
22832 resultobj
= SWIG_From_int((int)(result
));
22840 static PyObject
*_wrap_PyApp_GetMacSupportPCMenuShortcuts(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22841 PyObject
*resultobj
;
22843 char *kwnames
[] = {
22847 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PyApp_GetMacSupportPCMenuShortcuts",kwnames
)) goto fail
;
22849 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22850 result
= (bool)wxPyApp::GetMacSupportPCMenuShortcuts();
22852 wxPyEndAllowThreads(__tstate
);
22853 if (PyErr_Occurred()) SWIG_fail
;
22856 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22864 static PyObject
*_wrap_PyApp_GetMacAboutMenuItemId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22865 PyObject
*resultobj
;
22867 char *kwnames
[] = {
22871 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PyApp_GetMacAboutMenuItemId",kwnames
)) goto fail
;
22873 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22874 result
= (long)wxPyApp::GetMacAboutMenuItemId();
22876 wxPyEndAllowThreads(__tstate
);
22877 if (PyErr_Occurred()) SWIG_fail
;
22880 resultobj
= SWIG_From_long((long)(result
));
22888 static PyObject
*_wrap_PyApp_GetMacPreferencesMenuItemId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22889 PyObject
*resultobj
;
22891 char *kwnames
[] = {
22895 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PyApp_GetMacPreferencesMenuItemId",kwnames
)) goto fail
;
22897 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22898 result
= (long)wxPyApp::GetMacPreferencesMenuItemId();
22900 wxPyEndAllowThreads(__tstate
);
22901 if (PyErr_Occurred()) SWIG_fail
;
22904 resultobj
= SWIG_From_long((long)(result
));
22912 static PyObject
*_wrap_PyApp_GetMacExitMenuItemId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22913 PyObject
*resultobj
;
22915 char *kwnames
[] = {
22919 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PyApp_GetMacExitMenuItemId",kwnames
)) goto fail
;
22921 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22922 result
= (long)wxPyApp::GetMacExitMenuItemId();
22924 wxPyEndAllowThreads(__tstate
);
22925 if (PyErr_Occurred()) SWIG_fail
;
22928 resultobj
= SWIG_From_long((long)(result
));
22936 static PyObject
*_wrap_PyApp_GetMacHelpMenuTitleName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22937 PyObject
*resultobj
;
22939 char *kwnames
[] = {
22943 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PyApp_GetMacHelpMenuTitleName",kwnames
)) goto fail
;
22945 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22946 result
= wxPyApp::GetMacHelpMenuTitleName();
22948 wxPyEndAllowThreads(__tstate
);
22949 if (PyErr_Occurred()) SWIG_fail
;
22953 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
22955 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
22964 static PyObject
*_wrap_PyApp_SetMacSupportPCMenuShortcuts(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22965 PyObject
*resultobj
;
22967 PyObject
* obj0
= 0 ;
22968 char *kwnames
[] = {
22969 (char *) "val", NULL
22972 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_SetMacSupportPCMenuShortcuts",kwnames
,&obj0
)) goto fail
;
22974 arg1
= (bool)(SWIG_As_bool(obj0
));
22975 if (SWIG_arg_fail(1)) SWIG_fail
;
22978 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22979 wxPyApp::SetMacSupportPCMenuShortcuts(arg1
);
22981 wxPyEndAllowThreads(__tstate
);
22982 if (PyErr_Occurred()) SWIG_fail
;
22984 Py_INCREF(Py_None
); resultobj
= Py_None
;
22991 static PyObject
*_wrap_PyApp_SetMacAboutMenuItemId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22992 PyObject
*resultobj
;
22994 PyObject
* obj0
= 0 ;
22995 char *kwnames
[] = {
22996 (char *) "val", NULL
22999 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_SetMacAboutMenuItemId",kwnames
,&obj0
)) goto fail
;
23001 arg1
= (long)(SWIG_As_long(obj0
));
23002 if (SWIG_arg_fail(1)) SWIG_fail
;
23005 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23006 wxPyApp::SetMacAboutMenuItemId(arg1
);
23008 wxPyEndAllowThreads(__tstate
);
23009 if (PyErr_Occurred()) SWIG_fail
;
23011 Py_INCREF(Py_None
); resultobj
= Py_None
;
23018 static PyObject
*_wrap_PyApp_SetMacPreferencesMenuItemId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23019 PyObject
*resultobj
;
23021 PyObject
* obj0
= 0 ;
23022 char *kwnames
[] = {
23023 (char *) "val", NULL
23026 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_SetMacPreferencesMenuItemId",kwnames
,&obj0
)) goto fail
;
23028 arg1
= (long)(SWIG_As_long(obj0
));
23029 if (SWIG_arg_fail(1)) SWIG_fail
;
23032 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23033 wxPyApp::SetMacPreferencesMenuItemId(arg1
);
23035 wxPyEndAllowThreads(__tstate
);
23036 if (PyErr_Occurred()) SWIG_fail
;
23038 Py_INCREF(Py_None
); resultobj
= Py_None
;
23045 static PyObject
*_wrap_PyApp_SetMacExitMenuItemId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23046 PyObject
*resultobj
;
23048 PyObject
* obj0
= 0 ;
23049 char *kwnames
[] = {
23050 (char *) "val", NULL
23053 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_SetMacExitMenuItemId",kwnames
,&obj0
)) goto fail
;
23055 arg1
= (long)(SWIG_As_long(obj0
));
23056 if (SWIG_arg_fail(1)) SWIG_fail
;
23059 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23060 wxPyApp::SetMacExitMenuItemId(arg1
);
23062 wxPyEndAllowThreads(__tstate
);
23063 if (PyErr_Occurred()) SWIG_fail
;
23065 Py_INCREF(Py_None
); resultobj
= Py_None
;
23072 static PyObject
*_wrap_PyApp_SetMacHelpMenuTitleName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23073 PyObject
*resultobj
;
23074 wxString
*arg1
= 0 ;
23075 bool temp1
= false ;
23076 PyObject
* obj0
= 0 ;
23077 char *kwnames
[] = {
23078 (char *) "val", NULL
23081 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_SetMacHelpMenuTitleName",kwnames
,&obj0
)) goto fail
;
23083 arg1
= wxString_in_helper(obj0
);
23084 if (arg1
== NULL
) SWIG_fail
;
23088 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23089 wxPyApp::SetMacHelpMenuTitleName((wxString
const &)*arg1
);
23091 wxPyEndAllowThreads(__tstate
);
23092 if (PyErr_Occurred()) SWIG_fail
;
23094 Py_INCREF(Py_None
); resultobj
= Py_None
;
23109 static PyObject
*_wrap_PyApp__BootstrapApp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23110 PyObject
*resultobj
;
23111 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
23112 PyObject
* obj0
= 0 ;
23113 char *kwnames
[] = {
23114 (char *) "self", NULL
23117 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp__BootstrapApp",kwnames
,&obj0
)) goto fail
;
23118 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
23119 if (SWIG_arg_fail(1)) SWIG_fail
;
23121 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23122 (arg1
)->_BootstrapApp();
23124 wxPyEndAllowThreads(__tstate
);
23125 if (PyErr_Occurred()) SWIG_fail
;
23127 Py_INCREF(Py_None
); resultobj
= Py_None
;
23134 static PyObject
*_wrap_PyApp_GetComCtl32Version(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23135 PyObject
*resultobj
;
23137 char *kwnames
[] = {
23141 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PyApp_GetComCtl32Version",kwnames
)) goto fail
;
23143 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23144 result
= (int)wxPyApp::GetComCtl32Version();
23146 wxPyEndAllowThreads(__tstate
);
23147 if (PyErr_Occurred()) SWIG_fail
;
23150 resultobj
= SWIG_From_int((int)(result
));
23158 static PyObject
* PyApp_swigregister(PyObject
*, PyObject
*args
) {
23160 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
23161 SWIG_TypeClientData(SWIGTYPE_p_wxPyApp
, obj
);
23163 return Py_BuildValue((char *)"");
23165 static PyObject
*_wrap_Exit(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23166 PyObject
*resultobj
;
23167 char *kwnames
[] = {
23171 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Exit",kwnames
)) goto fail
;
23173 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23176 wxPyEndAllowThreads(__tstate
);
23177 if (PyErr_Occurred()) SWIG_fail
;
23179 Py_INCREF(Py_None
); resultobj
= Py_None
;
23186 static PyObject
*_wrap_Yield(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23187 PyObject
*resultobj
;
23189 char *kwnames
[] = {
23193 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Yield",kwnames
)) goto fail
;
23195 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23196 result
= (bool)wxYield();
23198 wxPyEndAllowThreads(__tstate
);
23199 if (PyErr_Occurred()) SWIG_fail
;
23202 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23210 static PyObject
*_wrap_YieldIfNeeded(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23211 PyObject
*resultobj
;
23213 char *kwnames
[] = {
23217 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":YieldIfNeeded",kwnames
)) goto fail
;
23219 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23220 result
= (bool)wxYieldIfNeeded();
23222 wxPyEndAllowThreads(__tstate
);
23223 if (PyErr_Occurred()) SWIG_fail
;
23226 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23234 static PyObject
*_wrap_SafeYield(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23235 PyObject
*resultobj
;
23236 wxWindow
*arg1
= (wxWindow
*) NULL
;
23237 bool arg2
= (bool) false ;
23239 PyObject
* obj0
= 0 ;
23240 PyObject
* obj1
= 0 ;
23241 char *kwnames
[] = {
23242 (char *) "win",(char *) "onlyIfNeeded", NULL
23245 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:SafeYield",kwnames
,&obj0
,&obj1
)) goto fail
;
23247 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
23248 if (SWIG_arg_fail(1)) SWIG_fail
;
23252 arg2
= (bool)(SWIG_As_bool(obj1
));
23253 if (SWIG_arg_fail(2)) SWIG_fail
;
23257 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23258 result
= (bool)wxSafeYield(arg1
,arg2
);
23260 wxPyEndAllowThreads(__tstate
);
23261 if (PyErr_Occurred()) SWIG_fail
;
23264 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23272 static PyObject
*_wrap_WakeUpIdle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23273 PyObject
*resultobj
;
23274 char *kwnames
[] = {
23278 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":WakeUpIdle",kwnames
)) goto fail
;
23280 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23283 wxPyEndAllowThreads(__tstate
);
23284 if (PyErr_Occurred()) SWIG_fail
;
23286 Py_INCREF(Py_None
); resultobj
= Py_None
;
23293 static PyObject
*_wrap_PostEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23294 PyObject
*resultobj
;
23295 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
23296 wxEvent
*arg2
= 0 ;
23297 PyObject
* obj0
= 0 ;
23298 PyObject
* obj1
= 0 ;
23299 char *kwnames
[] = {
23300 (char *) "dest",(char *) "event", NULL
23303 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PostEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
23304 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
23305 if (SWIG_arg_fail(1)) SWIG_fail
;
23307 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
23308 if (SWIG_arg_fail(2)) SWIG_fail
;
23309 if (arg2
== NULL
) {
23310 SWIG_null_ref("wxEvent");
23312 if (SWIG_arg_fail(2)) SWIG_fail
;
23315 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23316 wxPostEvent(arg1
,*arg2
);
23318 wxPyEndAllowThreads(__tstate
);
23319 if (PyErr_Occurred()) SWIG_fail
;
23321 Py_INCREF(Py_None
); resultobj
= Py_None
;
23328 static PyObject
*_wrap_App_CleanUp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23329 PyObject
*resultobj
;
23330 char *kwnames
[] = {
23334 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":App_CleanUp",kwnames
)) goto fail
;
23336 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23339 wxPyEndAllowThreads(__tstate
);
23340 if (PyErr_Occurred()) SWIG_fail
;
23342 Py_INCREF(Py_None
); resultobj
= Py_None
;
23349 static PyObject
*_wrap_GetApp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23350 PyObject
*resultobj
;
23352 char *kwnames
[] = {
23356 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetApp",kwnames
)) goto fail
;
23358 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23359 result
= (wxPyApp
*)wxPyGetApp();
23361 wxPyEndAllowThreads(__tstate
);
23362 if (PyErr_Occurred()) SWIG_fail
;
23365 resultobj
= wxPyMake_wxObject(result
, 0);
23373 static PyObject
*_wrap_SetDefaultPyEncoding(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23374 PyObject
*resultobj
;
23375 char *arg1
= (char *) 0 ;
23376 PyObject
* obj0
= 0 ;
23377 char *kwnames
[] = {
23378 (char *) "encoding", NULL
23381 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SetDefaultPyEncoding",kwnames
,&obj0
)) goto fail
;
23382 if (!SWIG_AsCharPtr(obj0
, (char**)&arg1
)) {
23383 SWIG_arg_fail(1);SWIG_fail
;
23386 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23387 wxSetDefaultPyEncoding((char const *)arg1
);
23389 wxPyEndAllowThreads(__tstate
);
23390 if (PyErr_Occurred()) SWIG_fail
;
23392 Py_INCREF(Py_None
); resultobj
= Py_None
;
23399 static PyObject
*_wrap_GetDefaultPyEncoding(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23400 PyObject
*resultobj
;
23402 char *kwnames
[] = {
23406 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetDefaultPyEncoding",kwnames
)) goto fail
;
23408 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23409 result
= (char *)wxGetDefaultPyEncoding();
23411 wxPyEndAllowThreads(__tstate
);
23412 if (PyErr_Occurred()) SWIG_fail
;
23414 resultobj
= SWIG_FromCharPtr(result
);
23421 static PyObject
*_wrap_new_EventLoop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23422 PyObject
*resultobj
;
23423 wxEventLoop
*result
;
23424 char *kwnames
[] = {
23428 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_EventLoop",kwnames
)) goto fail
;
23430 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23431 result
= (wxEventLoop
*)new wxEventLoop();
23433 wxPyEndAllowThreads(__tstate
);
23434 if (PyErr_Occurred()) SWIG_fail
;
23436 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxEventLoop
, 1);
23443 static PyObject
*_wrap_delete_EventLoop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23444 PyObject
*resultobj
;
23445 wxEventLoop
*arg1
= (wxEventLoop
*) 0 ;
23446 PyObject
* obj0
= 0 ;
23447 char *kwnames
[] = {
23448 (char *) "self", NULL
23451 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_EventLoop",kwnames
,&obj0
)) goto fail
;
23452 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEventLoop
, SWIG_POINTER_EXCEPTION
| 0);
23453 if (SWIG_arg_fail(1)) SWIG_fail
;
23455 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23458 wxPyEndAllowThreads(__tstate
);
23459 if (PyErr_Occurred()) SWIG_fail
;
23461 Py_INCREF(Py_None
); resultobj
= Py_None
;
23468 static PyObject
*_wrap_EventLoop_Run(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23469 PyObject
*resultobj
;
23470 wxEventLoop
*arg1
= (wxEventLoop
*) 0 ;
23472 PyObject
* obj0
= 0 ;
23473 char *kwnames
[] = {
23474 (char *) "self", NULL
23477 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EventLoop_Run",kwnames
,&obj0
)) goto fail
;
23478 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEventLoop
, SWIG_POINTER_EXCEPTION
| 0);
23479 if (SWIG_arg_fail(1)) SWIG_fail
;
23481 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23482 result
= (int)(arg1
)->Run();
23484 wxPyEndAllowThreads(__tstate
);
23485 if (PyErr_Occurred()) SWIG_fail
;
23488 resultobj
= SWIG_From_int((int)(result
));
23496 static PyObject
*_wrap_EventLoop_Exit(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23497 PyObject
*resultobj
;
23498 wxEventLoop
*arg1
= (wxEventLoop
*) 0 ;
23499 int arg2
= (int) 0 ;
23500 PyObject
* obj0
= 0 ;
23501 PyObject
* obj1
= 0 ;
23502 char *kwnames
[] = {
23503 (char *) "self",(char *) "rc", NULL
23506 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:EventLoop_Exit",kwnames
,&obj0
,&obj1
)) goto fail
;
23507 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEventLoop
, SWIG_POINTER_EXCEPTION
| 0);
23508 if (SWIG_arg_fail(1)) SWIG_fail
;
23511 arg2
= (int)(SWIG_As_int(obj1
));
23512 if (SWIG_arg_fail(2)) SWIG_fail
;
23516 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23517 (arg1
)->Exit(arg2
);
23519 wxPyEndAllowThreads(__tstate
);
23520 if (PyErr_Occurred()) SWIG_fail
;
23522 Py_INCREF(Py_None
); resultobj
= Py_None
;
23529 static PyObject
*_wrap_EventLoop_Pending(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23530 PyObject
*resultobj
;
23531 wxEventLoop
*arg1
= (wxEventLoop
*) 0 ;
23533 PyObject
* obj0
= 0 ;
23534 char *kwnames
[] = {
23535 (char *) "self", NULL
23538 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EventLoop_Pending",kwnames
,&obj0
)) goto fail
;
23539 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEventLoop
, SWIG_POINTER_EXCEPTION
| 0);
23540 if (SWIG_arg_fail(1)) SWIG_fail
;
23542 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23543 result
= (bool)((wxEventLoop
const *)arg1
)->Pending();
23545 wxPyEndAllowThreads(__tstate
);
23546 if (PyErr_Occurred()) SWIG_fail
;
23549 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23557 static PyObject
*_wrap_EventLoop_Dispatch(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23558 PyObject
*resultobj
;
23559 wxEventLoop
*arg1
= (wxEventLoop
*) 0 ;
23561 PyObject
* obj0
= 0 ;
23562 char *kwnames
[] = {
23563 (char *) "self", NULL
23566 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EventLoop_Dispatch",kwnames
,&obj0
)) goto fail
;
23567 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEventLoop
, SWIG_POINTER_EXCEPTION
| 0);
23568 if (SWIG_arg_fail(1)) SWIG_fail
;
23570 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23571 result
= (bool)(arg1
)->Dispatch();
23573 wxPyEndAllowThreads(__tstate
);
23574 if (PyErr_Occurred()) SWIG_fail
;
23577 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23585 static PyObject
*_wrap_EventLoop_IsRunning(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23586 PyObject
*resultobj
;
23587 wxEventLoop
*arg1
= (wxEventLoop
*) 0 ;
23589 PyObject
* obj0
= 0 ;
23590 char *kwnames
[] = {
23591 (char *) "self", NULL
23594 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EventLoop_IsRunning",kwnames
,&obj0
)) goto fail
;
23595 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEventLoop
, SWIG_POINTER_EXCEPTION
| 0);
23596 if (SWIG_arg_fail(1)) SWIG_fail
;
23598 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23599 result
= (bool)((wxEventLoop
const *)arg1
)->IsRunning();
23601 wxPyEndAllowThreads(__tstate
);
23602 if (PyErr_Occurred()) SWIG_fail
;
23605 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23613 static PyObject
*_wrap_EventLoop_GetActive(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23614 PyObject
*resultobj
;
23615 wxEventLoop
*result
;
23616 char *kwnames
[] = {
23620 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":EventLoop_GetActive",kwnames
)) goto fail
;
23622 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23623 result
= (wxEventLoop
*)wxEventLoop::GetActive();
23625 wxPyEndAllowThreads(__tstate
);
23626 if (PyErr_Occurred()) SWIG_fail
;
23628 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxEventLoop
, 0);
23635 static PyObject
*_wrap_EventLoop_SetActive(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23636 PyObject
*resultobj
;
23637 wxEventLoop
*arg1
= (wxEventLoop
*) 0 ;
23638 PyObject
* obj0
= 0 ;
23639 char *kwnames
[] = {
23640 (char *) "loop", NULL
23643 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EventLoop_SetActive",kwnames
,&obj0
)) goto fail
;
23644 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEventLoop
, SWIG_POINTER_EXCEPTION
| 0);
23645 if (SWIG_arg_fail(1)) SWIG_fail
;
23647 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23648 wxEventLoop::SetActive(arg1
);
23650 wxPyEndAllowThreads(__tstate
);
23651 if (PyErr_Occurred()) SWIG_fail
;
23653 Py_INCREF(Py_None
); resultobj
= Py_None
;
23660 static PyObject
* EventLoop_swigregister(PyObject
*, PyObject
*args
) {
23662 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
23663 SWIG_TypeClientData(SWIGTYPE_p_wxEventLoop
, obj
);
23665 return Py_BuildValue((char *)"");
23667 static PyObject
*_wrap_new_AcceleratorEntry(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23668 PyObject
*resultobj
;
23669 int arg1
= (int) 0 ;
23670 int arg2
= (int) 0 ;
23671 int arg3
= (int) 0 ;
23672 wxAcceleratorEntry
*result
;
23673 PyObject
* obj0
= 0 ;
23674 PyObject
* obj1
= 0 ;
23675 PyObject
* obj2
= 0 ;
23676 char *kwnames
[] = {
23677 (char *) "flags",(char *) "keyCode",(char *) "cmdID", NULL
23680 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_AcceleratorEntry",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23683 arg1
= (int)(SWIG_As_int(obj0
));
23684 if (SWIG_arg_fail(1)) SWIG_fail
;
23689 arg2
= (int)(SWIG_As_int(obj1
));
23690 if (SWIG_arg_fail(2)) SWIG_fail
;
23695 arg3
= (int)(SWIG_As_int(obj2
));
23696 if (SWIG_arg_fail(3)) SWIG_fail
;
23700 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23701 result
= (wxAcceleratorEntry
*)new wxAcceleratorEntry(arg1
,arg2
,arg3
);
23703 wxPyEndAllowThreads(__tstate
);
23704 if (PyErr_Occurred()) SWIG_fail
;
23706 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxAcceleratorEntry
, 1);
23713 static PyObject
*_wrap_delete_AcceleratorEntry(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23714 PyObject
*resultobj
;
23715 wxAcceleratorEntry
*arg1
= (wxAcceleratorEntry
*) 0 ;
23716 PyObject
* obj0
= 0 ;
23717 char *kwnames
[] = {
23718 (char *) "self", NULL
23721 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_AcceleratorEntry",kwnames
,&obj0
)) goto fail
;
23722 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxAcceleratorEntry
, SWIG_POINTER_EXCEPTION
| 0);
23723 if (SWIG_arg_fail(1)) SWIG_fail
;
23725 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23728 wxPyEndAllowThreads(__tstate
);
23729 if (PyErr_Occurred()) SWIG_fail
;
23731 Py_INCREF(Py_None
); resultobj
= Py_None
;
23738 static PyObject
*_wrap_AcceleratorEntry_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23739 PyObject
*resultobj
;
23740 wxAcceleratorEntry
*arg1
= (wxAcceleratorEntry
*) 0 ;
23744 PyObject
* obj0
= 0 ;
23745 PyObject
* obj1
= 0 ;
23746 PyObject
* obj2
= 0 ;
23747 PyObject
* obj3
= 0 ;
23748 char *kwnames
[] = {
23749 (char *) "self",(char *) "flags",(char *) "keyCode",(char *) "cmd", NULL
23752 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:AcceleratorEntry_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
23753 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxAcceleratorEntry
, SWIG_POINTER_EXCEPTION
| 0);
23754 if (SWIG_arg_fail(1)) SWIG_fail
;
23756 arg2
= (int)(SWIG_As_int(obj1
));
23757 if (SWIG_arg_fail(2)) SWIG_fail
;
23760 arg3
= (int)(SWIG_As_int(obj2
));
23761 if (SWIG_arg_fail(3)) SWIG_fail
;
23764 arg4
= (int)(SWIG_As_int(obj3
));
23765 if (SWIG_arg_fail(4)) SWIG_fail
;
23768 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23769 (arg1
)->Set(arg2
,arg3
,arg4
);
23771 wxPyEndAllowThreads(__tstate
);
23772 if (PyErr_Occurred()) SWIG_fail
;
23774 Py_INCREF(Py_None
); resultobj
= Py_None
;
23781 static PyObject
*_wrap_AcceleratorEntry_GetFlags(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23782 PyObject
*resultobj
;
23783 wxAcceleratorEntry
*arg1
= (wxAcceleratorEntry
*) 0 ;
23785 PyObject
* obj0
= 0 ;
23786 char *kwnames
[] = {
23787 (char *) "self", NULL
23790 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:AcceleratorEntry_GetFlags",kwnames
,&obj0
)) goto fail
;
23791 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxAcceleratorEntry
, SWIG_POINTER_EXCEPTION
| 0);
23792 if (SWIG_arg_fail(1)) SWIG_fail
;
23794 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23795 result
= (int)(arg1
)->GetFlags();
23797 wxPyEndAllowThreads(__tstate
);
23798 if (PyErr_Occurred()) SWIG_fail
;
23801 resultobj
= SWIG_From_int((int)(result
));
23809 static PyObject
*_wrap_AcceleratorEntry_GetKeyCode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23810 PyObject
*resultobj
;
23811 wxAcceleratorEntry
*arg1
= (wxAcceleratorEntry
*) 0 ;
23813 PyObject
* obj0
= 0 ;
23814 char *kwnames
[] = {
23815 (char *) "self", NULL
23818 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:AcceleratorEntry_GetKeyCode",kwnames
,&obj0
)) goto fail
;
23819 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxAcceleratorEntry
, SWIG_POINTER_EXCEPTION
| 0);
23820 if (SWIG_arg_fail(1)) SWIG_fail
;
23822 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23823 result
= (int)(arg1
)->GetKeyCode();
23825 wxPyEndAllowThreads(__tstate
);
23826 if (PyErr_Occurred()) SWIG_fail
;
23829 resultobj
= SWIG_From_int((int)(result
));
23837 static PyObject
*_wrap_AcceleratorEntry_GetCommand(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23838 PyObject
*resultobj
;
23839 wxAcceleratorEntry
*arg1
= (wxAcceleratorEntry
*) 0 ;
23841 PyObject
* obj0
= 0 ;
23842 char *kwnames
[] = {
23843 (char *) "self", NULL
23846 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:AcceleratorEntry_GetCommand",kwnames
,&obj0
)) goto fail
;
23847 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxAcceleratorEntry
, SWIG_POINTER_EXCEPTION
| 0);
23848 if (SWIG_arg_fail(1)) SWIG_fail
;
23850 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23851 result
= (int)(arg1
)->GetCommand();
23853 wxPyEndAllowThreads(__tstate
);
23854 if (PyErr_Occurred()) SWIG_fail
;
23857 resultobj
= SWIG_From_int((int)(result
));
23865 static PyObject
* AcceleratorEntry_swigregister(PyObject
*, PyObject
*args
) {
23867 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
23868 SWIG_TypeClientData(SWIGTYPE_p_wxAcceleratorEntry
, obj
);
23870 return Py_BuildValue((char *)"");
23872 static PyObject
*_wrap_new_AcceleratorTable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23873 PyObject
*resultobj
;
23875 wxAcceleratorEntry
*arg2
= (wxAcceleratorEntry
*) 0 ;
23876 wxAcceleratorTable
*result
;
23877 PyObject
* obj0
= 0 ;
23878 char *kwnames
[] = {
23882 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_AcceleratorTable",kwnames
,&obj0
)) goto fail
;
23884 arg2
= wxAcceleratorEntry_LIST_helper(obj0
);
23885 if (arg2
) arg1
= PyList_Size(obj0
);
23889 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23890 result
= (wxAcceleratorTable
*)new wxAcceleratorTable(arg1
,(wxAcceleratorEntry
const *)arg2
);
23892 wxPyEndAllowThreads(__tstate
);
23893 if (PyErr_Occurred()) SWIG_fail
;
23895 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxAcceleratorTable
, 1);
23908 static PyObject
*_wrap_delete_AcceleratorTable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23909 PyObject
*resultobj
;
23910 wxAcceleratorTable
*arg1
= (wxAcceleratorTable
*) 0 ;
23911 PyObject
* obj0
= 0 ;
23912 char *kwnames
[] = {
23913 (char *) "self", NULL
23916 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_AcceleratorTable",kwnames
,&obj0
)) goto fail
;
23917 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxAcceleratorTable
, SWIG_POINTER_EXCEPTION
| 0);
23918 if (SWIG_arg_fail(1)) SWIG_fail
;
23920 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23923 wxPyEndAllowThreads(__tstate
);
23924 if (PyErr_Occurred()) SWIG_fail
;
23926 Py_INCREF(Py_None
); resultobj
= Py_None
;
23933 static PyObject
*_wrap_AcceleratorTable_Ok(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23934 PyObject
*resultobj
;
23935 wxAcceleratorTable
*arg1
= (wxAcceleratorTable
*) 0 ;
23937 PyObject
* obj0
= 0 ;
23938 char *kwnames
[] = {
23939 (char *) "self", NULL
23942 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:AcceleratorTable_Ok",kwnames
,&obj0
)) goto fail
;
23943 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxAcceleratorTable
, SWIG_POINTER_EXCEPTION
| 0);
23944 if (SWIG_arg_fail(1)) SWIG_fail
;
23946 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23947 result
= (bool)((wxAcceleratorTable
const *)arg1
)->Ok();
23949 wxPyEndAllowThreads(__tstate
);
23950 if (PyErr_Occurred()) SWIG_fail
;
23953 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23961 static PyObject
* AcceleratorTable_swigregister(PyObject
*, PyObject
*args
) {
23963 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
23964 SWIG_TypeClientData(SWIGTYPE_p_wxAcceleratorTable
, obj
);
23966 return Py_BuildValue((char *)"");
23968 static int _wrap_NullAcceleratorTable_set(PyObject
*) {
23969 PyErr_SetString(PyExc_TypeError
,"Variable NullAcceleratorTable is read-only.");
23974 static PyObject
*_wrap_NullAcceleratorTable_get(void) {
23977 pyobj
= SWIG_NewPointerObj((void *)(&wxNullAcceleratorTable
), SWIGTYPE_p_wxAcceleratorTable
, 0);
23982 static PyObject
*_wrap_GetAccelFromString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23983 PyObject
*resultobj
;
23984 wxString
*arg1
= 0 ;
23985 wxAcceleratorEntry
*result
;
23986 bool temp1
= false ;
23987 PyObject
* obj0
= 0 ;
23988 char *kwnames
[] = {
23989 (char *) "label", NULL
23992 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GetAccelFromString",kwnames
,&obj0
)) goto fail
;
23994 arg1
= wxString_in_helper(obj0
);
23995 if (arg1
== NULL
) SWIG_fail
;
23999 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24000 result
= (wxAcceleratorEntry
*)wxGetAccelFromString((wxString
const &)*arg1
);
24002 wxPyEndAllowThreads(__tstate
);
24003 if (PyErr_Occurred()) SWIG_fail
;
24005 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxAcceleratorEntry
, 0);
24020 static int _wrap_PanelNameStr_set(PyObject
*) {
24021 PyErr_SetString(PyExc_TypeError
,"Variable PanelNameStr is read-only.");
24026 static PyObject
*_wrap_PanelNameStr_get(void) {
24031 pyobj
= PyUnicode_FromWideChar((&wxPyPanelNameStr
)->c_str(), (&wxPyPanelNameStr
)->Len());
24033 pyobj
= PyString_FromStringAndSize((&wxPyPanelNameStr
)->c_str(), (&wxPyPanelNameStr
)->Len());
24040 static PyObject
*_wrap_new_VisualAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24041 PyObject
*resultobj
;
24042 wxVisualAttributes
*result
;
24043 char *kwnames
[] = {
24047 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_VisualAttributes",kwnames
)) goto fail
;
24049 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24050 result
= (wxVisualAttributes
*)new_wxVisualAttributes();
24052 wxPyEndAllowThreads(__tstate
);
24053 if (PyErr_Occurred()) SWIG_fail
;
24055 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxVisualAttributes
, 1);
24062 static PyObject
*_wrap_delete_VisualAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24063 PyObject
*resultobj
;
24064 wxVisualAttributes
*arg1
= (wxVisualAttributes
*) 0 ;
24065 PyObject
* obj0
= 0 ;
24066 char *kwnames
[] = {
24067 (char *) "self", NULL
24070 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_VisualAttributes",kwnames
,&obj0
)) goto fail
;
24071 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_EXCEPTION
| 0);
24072 if (SWIG_arg_fail(1)) SWIG_fail
;
24074 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24075 delete_wxVisualAttributes(arg1
);
24077 wxPyEndAllowThreads(__tstate
);
24078 if (PyErr_Occurred()) SWIG_fail
;
24080 Py_INCREF(Py_None
); resultobj
= Py_None
;
24087 static PyObject
*_wrap_VisualAttributes_font_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24088 PyObject
*resultobj
;
24089 wxVisualAttributes
*arg1
= (wxVisualAttributes
*) 0 ;
24090 wxFont
*arg2
= (wxFont
*) 0 ;
24091 PyObject
* obj0
= 0 ;
24092 PyObject
* obj1
= 0 ;
24093 char *kwnames
[] = {
24094 (char *) "self",(char *) "font", NULL
24097 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VisualAttributes_font_set",kwnames
,&obj0
,&obj1
)) goto fail
;
24098 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_EXCEPTION
| 0);
24099 if (SWIG_arg_fail(1)) SWIG_fail
;
24100 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
24101 if (SWIG_arg_fail(2)) SWIG_fail
;
24102 if (arg1
) (arg1
)->font
= *arg2
;
24104 Py_INCREF(Py_None
); resultobj
= Py_None
;
24111 static PyObject
*_wrap_VisualAttributes_font_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24112 PyObject
*resultobj
;
24113 wxVisualAttributes
*arg1
= (wxVisualAttributes
*) 0 ;
24115 PyObject
* obj0
= 0 ;
24116 char *kwnames
[] = {
24117 (char *) "self", NULL
24120 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VisualAttributes_font_get",kwnames
,&obj0
)) goto fail
;
24121 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_EXCEPTION
| 0);
24122 if (SWIG_arg_fail(1)) SWIG_fail
;
24123 result
= (wxFont
*)& ((arg1
)->font
);
24125 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFont
, 0);
24132 static PyObject
*_wrap_VisualAttributes_colFg_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24133 PyObject
*resultobj
;
24134 wxVisualAttributes
*arg1
= (wxVisualAttributes
*) 0 ;
24135 wxColour
*arg2
= (wxColour
*) 0 ;
24136 PyObject
* obj0
= 0 ;
24137 PyObject
* obj1
= 0 ;
24138 char *kwnames
[] = {
24139 (char *) "self",(char *) "colFg", NULL
24142 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VisualAttributes_colFg_set",kwnames
,&obj0
,&obj1
)) goto fail
;
24143 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_EXCEPTION
| 0);
24144 if (SWIG_arg_fail(1)) SWIG_fail
;
24145 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxColour
, SWIG_POINTER_EXCEPTION
| 0);
24146 if (SWIG_arg_fail(2)) SWIG_fail
;
24147 if (arg1
) (arg1
)->colFg
= *arg2
;
24149 Py_INCREF(Py_None
); resultobj
= Py_None
;
24156 static PyObject
*_wrap_VisualAttributes_colFg_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24157 PyObject
*resultobj
;
24158 wxVisualAttributes
*arg1
= (wxVisualAttributes
*) 0 ;
24160 PyObject
* obj0
= 0 ;
24161 char *kwnames
[] = {
24162 (char *) "self", NULL
24165 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VisualAttributes_colFg_get",kwnames
,&obj0
)) goto fail
;
24166 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_EXCEPTION
| 0);
24167 if (SWIG_arg_fail(1)) SWIG_fail
;
24168 result
= (wxColour
*)& ((arg1
)->colFg
);
24170 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColour
, 0);
24177 static PyObject
*_wrap_VisualAttributes_colBg_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24178 PyObject
*resultobj
;
24179 wxVisualAttributes
*arg1
= (wxVisualAttributes
*) 0 ;
24180 wxColour
*arg2
= (wxColour
*) 0 ;
24181 PyObject
* obj0
= 0 ;
24182 PyObject
* obj1
= 0 ;
24183 char *kwnames
[] = {
24184 (char *) "self",(char *) "colBg", NULL
24187 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VisualAttributes_colBg_set",kwnames
,&obj0
,&obj1
)) goto fail
;
24188 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_EXCEPTION
| 0);
24189 if (SWIG_arg_fail(1)) SWIG_fail
;
24190 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxColour
, SWIG_POINTER_EXCEPTION
| 0);
24191 if (SWIG_arg_fail(2)) SWIG_fail
;
24192 if (arg1
) (arg1
)->colBg
= *arg2
;
24194 Py_INCREF(Py_None
); resultobj
= Py_None
;
24201 static PyObject
*_wrap_VisualAttributes_colBg_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24202 PyObject
*resultobj
;
24203 wxVisualAttributes
*arg1
= (wxVisualAttributes
*) 0 ;
24205 PyObject
* obj0
= 0 ;
24206 char *kwnames
[] = {
24207 (char *) "self", NULL
24210 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VisualAttributes_colBg_get",kwnames
,&obj0
)) goto fail
;
24211 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_EXCEPTION
| 0);
24212 if (SWIG_arg_fail(1)) SWIG_fail
;
24213 result
= (wxColour
*)& ((arg1
)->colBg
);
24215 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColour
, 0);
24222 static PyObject
* VisualAttributes_swigregister(PyObject
*, PyObject
*args
) {
24224 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24225 SWIG_TypeClientData(SWIGTYPE_p_wxVisualAttributes
, obj
);
24227 return Py_BuildValue((char *)"");
24229 static PyObject
*_wrap_new_Window(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24230 PyObject
*resultobj
;
24231 wxWindow
*arg1
= (wxWindow
*) 0 ;
24232 int arg2
= (int) (int)-1 ;
24233 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
24234 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
24235 wxSize
const &arg4_defvalue
= wxDefaultSize
;
24236 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
24237 long arg5
= (long) 0 ;
24238 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
24239 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
24243 bool temp6
= false ;
24244 PyObject
* obj0
= 0 ;
24245 PyObject
* obj1
= 0 ;
24246 PyObject
* obj2
= 0 ;
24247 PyObject
* obj3
= 0 ;
24248 PyObject
* obj4
= 0 ;
24249 PyObject
* obj5
= 0 ;
24250 char *kwnames
[] = {
24251 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
24254 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_Window",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
24255 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
24256 if (SWIG_arg_fail(1)) SWIG_fail
;
24259 arg2
= (int const)(SWIG_As_int(obj1
));
24260 if (SWIG_arg_fail(2)) SWIG_fail
;
24266 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
24272 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
24277 arg5
= (long)(SWIG_As_long(obj4
));
24278 if (SWIG_arg_fail(5)) SWIG_fail
;
24283 arg6
= wxString_in_helper(obj5
);
24284 if (arg6
== NULL
) SWIG_fail
;
24289 if (!wxPyCheckForApp()) SWIG_fail
;
24290 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24291 result
= (wxWindow
*)new wxWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
24293 wxPyEndAllowThreads(__tstate
);
24294 if (PyErr_Occurred()) SWIG_fail
;
24296 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxWindow
, 1);
24311 static PyObject
*_wrap_new_PreWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24312 PyObject
*resultobj
;
24314 char *kwnames
[] = {
24318 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreWindow",kwnames
)) goto fail
;
24320 if (!wxPyCheckForApp()) SWIG_fail
;
24321 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24322 result
= (wxWindow
*)new wxWindow();
24324 wxPyEndAllowThreads(__tstate
);
24325 if (PyErr_Occurred()) SWIG_fail
;
24327 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxWindow
, 1);
24334 static PyObject
*_wrap_Window_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24335 PyObject
*resultobj
;
24336 wxWindow
*arg1
= (wxWindow
*) 0 ;
24337 wxWindow
*arg2
= (wxWindow
*) 0 ;
24338 int arg3
= (int) (int)-1 ;
24339 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
24340 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
24341 wxSize
const &arg5_defvalue
= wxDefaultSize
;
24342 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
24343 long arg6
= (long) 0 ;
24344 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
24345 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
24349 bool temp7
= false ;
24350 PyObject
* obj0
= 0 ;
24351 PyObject
* obj1
= 0 ;
24352 PyObject
* obj2
= 0 ;
24353 PyObject
* obj3
= 0 ;
24354 PyObject
* obj4
= 0 ;
24355 PyObject
* obj5
= 0 ;
24356 PyObject
* obj6
= 0 ;
24357 char *kwnames
[] = {
24358 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
24361 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:Window_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
24362 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
24363 if (SWIG_arg_fail(1)) SWIG_fail
;
24364 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
24365 if (SWIG_arg_fail(2)) SWIG_fail
;
24368 arg3
= (int const)(SWIG_As_int(obj2
));
24369 if (SWIG_arg_fail(3)) SWIG_fail
;
24375 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
24381 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
24386 arg6
= (long)(SWIG_As_long(obj5
));
24387 if (SWIG_arg_fail(6)) SWIG_fail
;
24392 arg7
= wxString_in_helper(obj6
);
24393 if (arg7
== NULL
) SWIG_fail
;
24398 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24399 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
24401 wxPyEndAllowThreads(__tstate
);
24402 if (PyErr_Occurred()) SWIG_fail
;
24405 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24421 static PyObject
*_wrap_Window_Close(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24422 PyObject
*resultobj
;
24423 wxWindow
*arg1
= (wxWindow
*) 0 ;
24424 bool arg2
= (bool) false ;
24426 PyObject
* obj0
= 0 ;
24427 PyObject
* obj1
= 0 ;
24428 char *kwnames
[] = {
24429 (char *) "self",(char *) "force", NULL
24432 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_Close",kwnames
,&obj0
,&obj1
)) goto fail
;
24433 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
24434 if (SWIG_arg_fail(1)) SWIG_fail
;
24437 arg2
= (bool)(SWIG_As_bool(obj1
));
24438 if (SWIG_arg_fail(2)) SWIG_fail
;
24442 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24443 result
= (bool)(arg1
)->Close(arg2
);
24445 wxPyEndAllowThreads(__tstate
);
24446 if (PyErr_Occurred()) SWIG_fail
;
24449 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24457 static PyObject
*_wrap_Window_Destroy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24458 PyObject
*resultobj
;
24459 wxWindow
*arg1
= (wxWindow
*) 0 ;
24461 PyObject
* obj0
= 0 ;
24462 char *kwnames
[] = {
24463 (char *) "self", NULL
24466 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Destroy",kwnames
,&obj0
)) goto fail
;
24467 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
24468 if (SWIG_arg_fail(1)) SWIG_fail
;
24470 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24471 result
= (bool)(arg1
)->Destroy();
24473 wxPyEndAllowThreads(__tstate
);
24474 if (PyErr_Occurred()) SWIG_fail
;
24477 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24485 static PyObject
*_wrap_Window_DestroyChildren(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24486 PyObject
*resultobj
;
24487 wxWindow
*arg1
= (wxWindow
*) 0 ;
24489 PyObject
* obj0
= 0 ;
24490 char *kwnames
[] = {
24491 (char *) "self", NULL
24494 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_DestroyChildren",kwnames
,&obj0
)) goto fail
;
24495 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
24496 if (SWIG_arg_fail(1)) SWIG_fail
;
24498 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24499 result
= (bool)(arg1
)->DestroyChildren();
24501 wxPyEndAllowThreads(__tstate
);
24502 if (PyErr_Occurred()) SWIG_fail
;
24505 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24513 static PyObject
*_wrap_Window_IsBeingDeleted(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24514 PyObject
*resultobj
;
24515 wxWindow
*arg1
= (wxWindow
*) 0 ;
24517 PyObject
* obj0
= 0 ;
24518 char *kwnames
[] = {
24519 (char *) "self", NULL
24522 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_IsBeingDeleted",kwnames
,&obj0
)) goto fail
;
24523 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
24524 if (SWIG_arg_fail(1)) SWIG_fail
;
24526 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24527 result
= (bool)((wxWindow
const *)arg1
)->IsBeingDeleted();
24529 wxPyEndAllowThreads(__tstate
);
24530 if (PyErr_Occurred()) SWIG_fail
;
24533 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24541 static PyObject
*_wrap_Window_SetTitle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24542 PyObject
*resultobj
;
24543 wxWindow
*arg1
= (wxWindow
*) 0 ;
24544 wxString
*arg2
= 0 ;
24545 bool temp2
= false ;
24546 PyObject
* obj0
= 0 ;
24547 PyObject
* obj1
= 0 ;
24548 char *kwnames
[] = {
24549 (char *) "self",(char *) "title", NULL
24552 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetTitle",kwnames
,&obj0
,&obj1
)) goto fail
;
24553 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
24554 if (SWIG_arg_fail(1)) SWIG_fail
;
24556 arg2
= wxString_in_helper(obj1
);
24557 if (arg2
== NULL
) SWIG_fail
;
24561 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24562 (arg1
)->SetTitle((wxString
const &)*arg2
);
24564 wxPyEndAllowThreads(__tstate
);
24565 if (PyErr_Occurred()) SWIG_fail
;
24567 Py_INCREF(Py_None
); resultobj
= Py_None
;
24582 static PyObject
*_wrap_Window_GetTitle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24583 PyObject
*resultobj
;
24584 wxWindow
*arg1
= (wxWindow
*) 0 ;
24586 PyObject
* obj0
= 0 ;
24587 char *kwnames
[] = {
24588 (char *) "self", NULL
24591 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetTitle",kwnames
,&obj0
)) goto fail
;
24592 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
24593 if (SWIG_arg_fail(1)) SWIG_fail
;
24595 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24596 result
= ((wxWindow
const *)arg1
)->GetTitle();
24598 wxPyEndAllowThreads(__tstate
);
24599 if (PyErr_Occurred()) SWIG_fail
;
24603 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
24605 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
24614 static PyObject
*_wrap_Window_SetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24615 PyObject
*resultobj
;
24616 wxWindow
*arg1
= (wxWindow
*) 0 ;
24617 wxString
*arg2
= 0 ;
24618 bool temp2
= false ;
24619 PyObject
* obj0
= 0 ;
24620 PyObject
* obj1
= 0 ;
24621 char *kwnames
[] = {
24622 (char *) "self",(char *) "label", NULL
24625 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
24626 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
24627 if (SWIG_arg_fail(1)) SWIG_fail
;
24629 arg2
= wxString_in_helper(obj1
);
24630 if (arg2
== NULL
) SWIG_fail
;
24634 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24635 (arg1
)->SetLabel((wxString
const &)*arg2
);
24637 wxPyEndAllowThreads(__tstate
);
24638 if (PyErr_Occurred()) SWIG_fail
;
24640 Py_INCREF(Py_None
); resultobj
= Py_None
;
24655 static PyObject
*_wrap_Window_GetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24656 PyObject
*resultobj
;
24657 wxWindow
*arg1
= (wxWindow
*) 0 ;
24659 PyObject
* obj0
= 0 ;
24660 char *kwnames
[] = {
24661 (char *) "self", NULL
24664 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetLabel",kwnames
,&obj0
)) goto fail
;
24665 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
24666 if (SWIG_arg_fail(1)) SWIG_fail
;
24668 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24669 result
= ((wxWindow
const *)arg1
)->GetLabel();
24671 wxPyEndAllowThreads(__tstate
);
24672 if (PyErr_Occurred()) SWIG_fail
;
24676 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
24678 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
24687 static PyObject
*_wrap_Window_SetName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24688 PyObject
*resultobj
;
24689 wxWindow
*arg1
= (wxWindow
*) 0 ;
24690 wxString
*arg2
= 0 ;
24691 bool temp2
= false ;
24692 PyObject
* obj0
= 0 ;
24693 PyObject
* obj1
= 0 ;
24694 char *kwnames
[] = {
24695 (char *) "self",(char *) "name", NULL
24698 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetName",kwnames
,&obj0
,&obj1
)) goto fail
;
24699 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
24700 if (SWIG_arg_fail(1)) SWIG_fail
;
24702 arg2
= wxString_in_helper(obj1
);
24703 if (arg2
== NULL
) SWIG_fail
;
24707 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24708 (arg1
)->SetName((wxString
const &)*arg2
);
24710 wxPyEndAllowThreads(__tstate
);
24711 if (PyErr_Occurred()) SWIG_fail
;
24713 Py_INCREF(Py_None
); resultobj
= Py_None
;
24728 static PyObject
*_wrap_Window_GetName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24729 PyObject
*resultobj
;
24730 wxWindow
*arg1
= (wxWindow
*) 0 ;
24732 PyObject
* obj0
= 0 ;
24733 char *kwnames
[] = {
24734 (char *) "self", NULL
24737 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetName",kwnames
,&obj0
)) goto fail
;
24738 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
24739 if (SWIG_arg_fail(1)) SWIG_fail
;
24741 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24742 result
= ((wxWindow
const *)arg1
)->GetName();
24744 wxPyEndAllowThreads(__tstate
);
24745 if (PyErr_Occurred()) SWIG_fail
;
24749 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
24751 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
24760 static PyObject
*_wrap_Window_SetWindowVariant(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24761 PyObject
*resultobj
;
24762 wxWindow
*arg1
= (wxWindow
*) 0 ;
24763 wxWindowVariant arg2
;
24764 PyObject
* obj0
= 0 ;
24765 PyObject
* obj1
= 0 ;
24766 char *kwnames
[] = {
24767 (char *) "self",(char *) "variant", NULL
24770 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetWindowVariant",kwnames
,&obj0
,&obj1
)) goto fail
;
24771 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
24772 if (SWIG_arg_fail(1)) SWIG_fail
;
24774 arg2
= (wxWindowVariant
)(SWIG_As_int(obj1
));
24775 if (SWIG_arg_fail(2)) SWIG_fail
;
24778 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24779 (arg1
)->SetWindowVariant((wxWindowVariant
)arg2
);
24781 wxPyEndAllowThreads(__tstate
);
24782 if (PyErr_Occurred()) SWIG_fail
;
24784 Py_INCREF(Py_None
); resultobj
= Py_None
;
24791 static PyObject
*_wrap_Window_GetWindowVariant(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24792 PyObject
*resultobj
;
24793 wxWindow
*arg1
= (wxWindow
*) 0 ;
24794 wxWindowVariant result
;
24795 PyObject
* obj0
= 0 ;
24796 char *kwnames
[] = {
24797 (char *) "self", NULL
24800 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetWindowVariant",kwnames
,&obj0
)) goto fail
;
24801 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
24802 if (SWIG_arg_fail(1)) SWIG_fail
;
24804 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24805 result
= (wxWindowVariant
)((wxWindow
const *)arg1
)->GetWindowVariant();
24807 wxPyEndAllowThreads(__tstate
);
24808 if (PyErr_Occurred()) SWIG_fail
;
24810 resultobj
= SWIG_From_int((result
));
24817 static PyObject
*_wrap_Window_SetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24818 PyObject
*resultobj
;
24819 wxWindow
*arg1
= (wxWindow
*) 0 ;
24821 PyObject
* obj0
= 0 ;
24822 PyObject
* obj1
= 0 ;
24823 char *kwnames
[] = {
24824 (char *) "self",(char *) "winid", NULL
24827 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetId",kwnames
,&obj0
,&obj1
)) goto fail
;
24828 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
24829 if (SWIG_arg_fail(1)) SWIG_fail
;
24831 arg2
= (int)(SWIG_As_int(obj1
));
24832 if (SWIG_arg_fail(2)) SWIG_fail
;
24835 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24836 (arg1
)->SetId(arg2
);
24838 wxPyEndAllowThreads(__tstate
);
24839 if (PyErr_Occurred()) SWIG_fail
;
24841 Py_INCREF(Py_None
); resultobj
= Py_None
;
24848 static PyObject
*_wrap_Window_GetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24849 PyObject
*resultobj
;
24850 wxWindow
*arg1
= (wxWindow
*) 0 ;
24852 PyObject
* obj0
= 0 ;
24853 char *kwnames
[] = {
24854 (char *) "self", NULL
24857 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetId",kwnames
,&obj0
)) goto fail
;
24858 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
24859 if (SWIG_arg_fail(1)) SWIG_fail
;
24861 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24862 result
= (int)((wxWindow
const *)arg1
)->GetId();
24864 wxPyEndAllowThreads(__tstate
);
24865 if (PyErr_Occurred()) SWIG_fail
;
24868 resultobj
= SWIG_From_int((int)(result
));
24876 static PyObject
*_wrap_Window_NewControlId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24877 PyObject
*resultobj
;
24879 char *kwnames
[] = {
24883 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Window_NewControlId",kwnames
)) goto fail
;
24885 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24886 result
= (int)wxWindow::NewControlId();
24888 wxPyEndAllowThreads(__tstate
);
24889 if (PyErr_Occurred()) SWIG_fail
;
24892 resultobj
= SWIG_From_int((int)(result
));
24900 static PyObject
*_wrap_Window_NextControlId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24901 PyObject
*resultobj
;
24904 PyObject
* obj0
= 0 ;
24905 char *kwnames
[] = {
24906 (char *) "winid", NULL
24909 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_NextControlId",kwnames
,&obj0
)) goto fail
;
24911 arg1
= (int)(SWIG_As_int(obj0
));
24912 if (SWIG_arg_fail(1)) SWIG_fail
;
24915 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24916 result
= (int)wxWindow::NextControlId(arg1
);
24918 wxPyEndAllowThreads(__tstate
);
24919 if (PyErr_Occurred()) SWIG_fail
;
24922 resultobj
= SWIG_From_int((int)(result
));
24930 static PyObject
*_wrap_Window_PrevControlId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24931 PyObject
*resultobj
;
24934 PyObject
* obj0
= 0 ;
24935 char *kwnames
[] = {
24936 (char *) "winid", NULL
24939 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_PrevControlId",kwnames
,&obj0
)) goto fail
;
24941 arg1
= (int)(SWIG_As_int(obj0
));
24942 if (SWIG_arg_fail(1)) SWIG_fail
;
24945 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24946 result
= (int)wxWindow::PrevControlId(arg1
);
24948 wxPyEndAllowThreads(__tstate
);
24949 if (PyErr_Occurred()) SWIG_fail
;
24952 resultobj
= SWIG_From_int((int)(result
));
24960 static PyObject
*_wrap_Window_SetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24961 PyObject
*resultobj
;
24962 wxWindow
*arg1
= (wxWindow
*) 0 ;
24965 PyObject
* obj0
= 0 ;
24966 PyObject
* obj1
= 0 ;
24967 char *kwnames
[] = {
24968 (char *) "self",(char *) "size", NULL
24971 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetSize",kwnames
,&obj0
,&obj1
)) goto fail
;
24972 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
24973 if (SWIG_arg_fail(1)) SWIG_fail
;
24976 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
24979 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24980 (arg1
)->SetSize((wxSize
const &)*arg2
);
24982 wxPyEndAllowThreads(__tstate
);
24983 if (PyErr_Occurred()) SWIG_fail
;
24985 Py_INCREF(Py_None
); resultobj
= Py_None
;
24992 static PyObject
*_wrap_Window_SetDimensions(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24993 PyObject
*resultobj
;
24994 wxWindow
*arg1
= (wxWindow
*) 0 ;
24999 int arg6
= (int) wxSIZE_AUTO
;
25000 PyObject
* obj0
= 0 ;
25001 PyObject
* obj1
= 0 ;
25002 PyObject
* obj2
= 0 ;
25003 PyObject
* obj3
= 0 ;
25004 PyObject
* obj4
= 0 ;
25005 PyObject
* obj5
= 0 ;
25006 char *kwnames
[] = {
25007 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
25010 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:Window_SetDimensions",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
25011 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25012 if (SWIG_arg_fail(1)) SWIG_fail
;
25014 arg2
= (int)(SWIG_As_int(obj1
));
25015 if (SWIG_arg_fail(2)) SWIG_fail
;
25018 arg3
= (int)(SWIG_As_int(obj2
));
25019 if (SWIG_arg_fail(3)) SWIG_fail
;
25022 arg4
= (int)(SWIG_As_int(obj3
));
25023 if (SWIG_arg_fail(4)) SWIG_fail
;
25026 arg5
= (int)(SWIG_As_int(obj4
));
25027 if (SWIG_arg_fail(5)) SWIG_fail
;
25031 arg6
= (int)(SWIG_As_int(obj5
));
25032 if (SWIG_arg_fail(6)) SWIG_fail
;
25036 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25037 (arg1
)->SetSize(arg2
,arg3
,arg4
,arg5
,arg6
);
25039 wxPyEndAllowThreads(__tstate
);
25040 if (PyErr_Occurred()) SWIG_fail
;
25042 Py_INCREF(Py_None
); resultobj
= Py_None
;
25049 static PyObject
*_wrap_Window_SetRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25050 PyObject
*resultobj
;
25051 wxWindow
*arg1
= (wxWindow
*) 0 ;
25053 int arg3
= (int) wxSIZE_AUTO
;
25055 PyObject
* obj0
= 0 ;
25056 PyObject
* obj1
= 0 ;
25057 PyObject
* obj2
= 0 ;
25058 char *kwnames
[] = {
25059 (char *) "self",(char *) "rect",(char *) "sizeFlags", NULL
25062 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_SetRect",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25063 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25064 if (SWIG_arg_fail(1)) SWIG_fail
;
25067 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
25071 arg3
= (int)(SWIG_As_int(obj2
));
25072 if (SWIG_arg_fail(3)) SWIG_fail
;
25076 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25077 (arg1
)->SetSize((wxRect
const &)*arg2
,arg3
);
25079 wxPyEndAllowThreads(__tstate
);
25080 if (PyErr_Occurred()) SWIG_fail
;
25082 Py_INCREF(Py_None
); resultobj
= Py_None
;
25089 static PyObject
*_wrap_Window_SetSizeWH(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25090 PyObject
*resultobj
;
25091 wxWindow
*arg1
= (wxWindow
*) 0 ;
25094 PyObject
* obj0
= 0 ;
25095 PyObject
* obj1
= 0 ;
25096 PyObject
* obj2
= 0 ;
25097 char *kwnames
[] = {
25098 (char *) "self",(char *) "width",(char *) "height", NULL
25101 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_SetSizeWH",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25102 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25103 if (SWIG_arg_fail(1)) SWIG_fail
;
25105 arg2
= (int)(SWIG_As_int(obj1
));
25106 if (SWIG_arg_fail(2)) SWIG_fail
;
25109 arg3
= (int)(SWIG_As_int(obj2
));
25110 if (SWIG_arg_fail(3)) SWIG_fail
;
25113 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25114 (arg1
)->SetSize(arg2
,arg3
);
25116 wxPyEndAllowThreads(__tstate
);
25117 if (PyErr_Occurred()) SWIG_fail
;
25119 Py_INCREF(Py_None
); resultobj
= Py_None
;
25126 static PyObject
*_wrap_Window_Move(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25127 PyObject
*resultobj
;
25128 wxWindow
*arg1
= (wxWindow
*) 0 ;
25129 wxPoint
*arg2
= 0 ;
25130 int arg3
= (int) wxSIZE_USE_EXISTING
;
25132 PyObject
* obj0
= 0 ;
25133 PyObject
* obj1
= 0 ;
25134 PyObject
* obj2
= 0 ;
25135 char *kwnames
[] = {
25136 (char *) "self",(char *) "pt",(char *) "flags", NULL
25139 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_Move",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25140 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25141 if (SWIG_arg_fail(1)) SWIG_fail
;
25144 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
25148 arg3
= (int)(SWIG_As_int(obj2
));
25149 if (SWIG_arg_fail(3)) SWIG_fail
;
25153 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25154 (arg1
)->Move((wxPoint
const &)*arg2
,arg3
);
25156 wxPyEndAllowThreads(__tstate
);
25157 if (PyErr_Occurred()) SWIG_fail
;
25159 Py_INCREF(Py_None
); resultobj
= Py_None
;
25166 static PyObject
*_wrap_Window_MoveXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25167 PyObject
*resultobj
;
25168 wxWindow
*arg1
= (wxWindow
*) 0 ;
25171 int arg4
= (int) wxSIZE_USE_EXISTING
;
25172 PyObject
* obj0
= 0 ;
25173 PyObject
* obj1
= 0 ;
25174 PyObject
* obj2
= 0 ;
25175 PyObject
* obj3
= 0 ;
25176 char *kwnames
[] = {
25177 (char *) "self",(char *) "x",(char *) "y",(char *) "flags", NULL
25180 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Window_MoveXY",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
25181 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25182 if (SWIG_arg_fail(1)) SWIG_fail
;
25184 arg2
= (int)(SWIG_As_int(obj1
));
25185 if (SWIG_arg_fail(2)) SWIG_fail
;
25188 arg3
= (int)(SWIG_As_int(obj2
));
25189 if (SWIG_arg_fail(3)) SWIG_fail
;
25193 arg4
= (int)(SWIG_As_int(obj3
));
25194 if (SWIG_arg_fail(4)) SWIG_fail
;
25198 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25199 (arg1
)->Move(arg2
,arg3
,arg4
);
25201 wxPyEndAllowThreads(__tstate
);
25202 if (PyErr_Occurred()) SWIG_fail
;
25204 Py_INCREF(Py_None
); resultobj
= Py_None
;
25211 static PyObject
*_wrap_Window_SetBestFittingSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25212 PyObject
*resultobj
;
25213 wxWindow
*arg1
= (wxWindow
*) 0 ;
25214 wxSize
const &arg2_defvalue
= wxDefaultSize
;
25215 wxSize
*arg2
= (wxSize
*) &arg2_defvalue
;
25217 PyObject
* obj0
= 0 ;
25218 PyObject
* obj1
= 0 ;
25219 char *kwnames
[] = {
25220 (char *) "self",(char *) "size", NULL
25223 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_SetBestFittingSize",kwnames
,&obj0
,&obj1
)) goto fail
;
25224 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25225 if (SWIG_arg_fail(1)) SWIG_fail
;
25229 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
25233 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25234 (arg1
)->SetBestFittingSize((wxSize
const &)*arg2
);
25236 wxPyEndAllowThreads(__tstate
);
25237 if (PyErr_Occurred()) SWIG_fail
;
25239 Py_INCREF(Py_None
); resultobj
= Py_None
;
25246 static PyObject
*_wrap_Window_Raise(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25247 PyObject
*resultobj
;
25248 wxWindow
*arg1
= (wxWindow
*) 0 ;
25249 PyObject
* obj0
= 0 ;
25250 char *kwnames
[] = {
25251 (char *) "self", NULL
25254 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Raise",kwnames
,&obj0
)) goto fail
;
25255 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25256 if (SWIG_arg_fail(1)) SWIG_fail
;
25258 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25261 wxPyEndAllowThreads(__tstate
);
25262 if (PyErr_Occurred()) SWIG_fail
;
25264 Py_INCREF(Py_None
); resultobj
= Py_None
;
25271 static PyObject
*_wrap_Window_Lower(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25272 PyObject
*resultobj
;
25273 wxWindow
*arg1
= (wxWindow
*) 0 ;
25274 PyObject
* obj0
= 0 ;
25275 char *kwnames
[] = {
25276 (char *) "self", NULL
25279 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Lower",kwnames
,&obj0
)) goto fail
;
25280 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25281 if (SWIG_arg_fail(1)) SWIG_fail
;
25283 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25286 wxPyEndAllowThreads(__tstate
);
25287 if (PyErr_Occurred()) SWIG_fail
;
25289 Py_INCREF(Py_None
); resultobj
= Py_None
;
25296 static PyObject
*_wrap_Window_SetClientSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25297 PyObject
*resultobj
;
25298 wxWindow
*arg1
= (wxWindow
*) 0 ;
25301 PyObject
* obj0
= 0 ;
25302 PyObject
* obj1
= 0 ;
25303 char *kwnames
[] = {
25304 (char *) "self",(char *) "size", NULL
25307 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetClientSize",kwnames
,&obj0
,&obj1
)) goto fail
;
25308 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25309 if (SWIG_arg_fail(1)) SWIG_fail
;
25312 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
25315 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25316 (arg1
)->SetClientSize((wxSize
const &)*arg2
);
25318 wxPyEndAllowThreads(__tstate
);
25319 if (PyErr_Occurred()) SWIG_fail
;
25321 Py_INCREF(Py_None
); resultobj
= Py_None
;
25328 static PyObject
*_wrap_Window_SetClientSizeWH(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25329 PyObject
*resultobj
;
25330 wxWindow
*arg1
= (wxWindow
*) 0 ;
25333 PyObject
* obj0
= 0 ;
25334 PyObject
* obj1
= 0 ;
25335 PyObject
* obj2
= 0 ;
25336 char *kwnames
[] = {
25337 (char *) "self",(char *) "width",(char *) "height", NULL
25340 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_SetClientSizeWH",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25341 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25342 if (SWIG_arg_fail(1)) SWIG_fail
;
25344 arg2
= (int)(SWIG_As_int(obj1
));
25345 if (SWIG_arg_fail(2)) SWIG_fail
;
25348 arg3
= (int)(SWIG_As_int(obj2
));
25349 if (SWIG_arg_fail(3)) SWIG_fail
;
25352 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25353 (arg1
)->SetClientSize(arg2
,arg3
);
25355 wxPyEndAllowThreads(__tstate
);
25356 if (PyErr_Occurred()) SWIG_fail
;
25358 Py_INCREF(Py_None
); resultobj
= Py_None
;
25365 static PyObject
*_wrap_Window_SetClientRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25366 PyObject
*resultobj
;
25367 wxWindow
*arg1
= (wxWindow
*) 0 ;
25370 PyObject
* obj0
= 0 ;
25371 PyObject
* obj1
= 0 ;
25372 char *kwnames
[] = {
25373 (char *) "self",(char *) "rect", NULL
25376 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetClientRect",kwnames
,&obj0
,&obj1
)) goto fail
;
25377 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25378 if (SWIG_arg_fail(1)) SWIG_fail
;
25381 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
25384 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25385 (arg1
)->SetClientSize((wxRect
const &)*arg2
);
25387 wxPyEndAllowThreads(__tstate
);
25388 if (PyErr_Occurred()) SWIG_fail
;
25390 Py_INCREF(Py_None
); resultobj
= Py_None
;
25397 static PyObject
*_wrap_Window_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25398 PyObject
*resultobj
;
25399 wxWindow
*arg1
= (wxWindow
*) 0 ;
25401 PyObject
* obj0
= 0 ;
25402 char *kwnames
[] = {
25403 (char *) "self", NULL
25406 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetPosition",kwnames
,&obj0
)) goto fail
;
25407 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25408 if (SWIG_arg_fail(1)) SWIG_fail
;
25410 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25411 result
= (arg1
)->GetPosition();
25413 wxPyEndAllowThreads(__tstate
);
25414 if (PyErr_Occurred()) SWIG_fail
;
25417 wxPoint
* resultptr
;
25418 resultptr
= new wxPoint((wxPoint
&)(result
));
25419 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
25427 static PyObject
*_wrap_Window_GetPositionTuple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25428 PyObject
*resultobj
;
25429 wxWindow
*arg1
= (wxWindow
*) 0 ;
25430 int *arg2
= (int *) 0 ;
25431 int *arg3
= (int *) 0 ;
25436 PyObject
* obj0
= 0 ;
25437 char *kwnames
[] = {
25438 (char *) "self", NULL
25441 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
25442 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
25443 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetPositionTuple",kwnames
,&obj0
)) goto fail
;
25444 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25445 if (SWIG_arg_fail(1)) SWIG_fail
;
25447 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25448 (arg1
)->GetPosition(arg2
,arg3
);
25450 wxPyEndAllowThreads(__tstate
);
25451 if (PyErr_Occurred()) SWIG_fail
;
25453 Py_INCREF(Py_None
); resultobj
= Py_None
;
25454 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
25455 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
25456 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
25457 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
25464 static PyObject
*_wrap_Window_GetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25465 PyObject
*resultobj
;
25466 wxWindow
*arg1
= (wxWindow
*) 0 ;
25468 PyObject
* obj0
= 0 ;
25469 char *kwnames
[] = {
25470 (char *) "self", NULL
25473 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetSize",kwnames
,&obj0
)) goto fail
;
25474 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25475 if (SWIG_arg_fail(1)) SWIG_fail
;
25477 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25478 result
= ((wxWindow
const *)arg1
)->GetSize();
25480 wxPyEndAllowThreads(__tstate
);
25481 if (PyErr_Occurred()) SWIG_fail
;
25484 wxSize
* resultptr
;
25485 resultptr
= new wxSize((wxSize
&)(result
));
25486 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
25494 static PyObject
*_wrap_Window_GetSizeTuple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25495 PyObject
*resultobj
;
25496 wxWindow
*arg1
= (wxWindow
*) 0 ;
25497 int *arg2
= (int *) 0 ;
25498 int *arg3
= (int *) 0 ;
25503 PyObject
* obj0
= 0 ;
25504 char *kwnames
[] = {
25505 (char *) "self", NULL
25508 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
25509 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
25510 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetSizeTuple",kwnames
,&obj0
)) goto fail
;
25511 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25512 if (SWIG_arg_fail(1)) SWIG_fail
;
25514 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25515 ((wxWindow
const *)arg1
)->GetSize(arg2
,arg3
);
25517 wxPyEndAllowThreads(__tstate
);
25518 if (PyErr_Occurred()) SWIG_fail
;
25520 Py_INCREF(Py_None
); resultobj
= Py_None
;
25521 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
25522 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
25523 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
25524 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
25531 static PyObject
*_wrap_Window_GetRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25532 PyObject
*resultobj
;
25533 wxWindow
*arg1
= (wxWindow
*) 0 ;
25535 PyObject
* obj0
= 0 ;
25536 char *kwnames
[] = {
25537 (char *) "self", NULL
25540 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetRect",kwnames
,&obj0
)) goto fail
;
25541 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25542 if (SWIG_arg_fail(1)) SWIG_fail
;
25544 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25545 result
= ((wxWindow
const *)arg1
)->GetRect();
25547 wxPyEndAllowThreads(__tstate
);
25548 if (PyErr_Occurred()) SWIG_fail
;
25551 wxRect
* resultptr
;
25552 resultptr
= new wxRect((wxRect
&)(result
));
25553 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
25561 static PyObject
*_wrap_Window_GetClientSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25562 PyObject
*resultobj
;
25563 wxWindow
*arg1
= (wxWindow
*) 0 ;
25565 PyObject
* obj0
= 0 ;
25566 char *kwnames
[] = {
25567 (char *) "self", NULL
25570 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetClientSize",kwnames
,&obj0
)) goto fail
;
25571 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25572 if (SWIG_arg_fail(1)) SWIG_fail
;
25574 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25575 result
= ((wxWindow
const *)arg1
)->GetClientSize();
25577 wxPyEndAllowThreads(__tstate
);
25578 if (PyErr_Occurred()) SWIG_fail
;
25581 wxSize
* resultptr
;
25582 resultptr
= new wxSize((wxSize
&)(result
));
25583 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
25591 static PyObject
*_wrap_Window_GetClientSizeTuple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25592 PyObject
*resultobj
;
25593 wxWindow
*arg1
= (wxWindow
*) 0 ;
25594 int *arg2
= (int *) 0 ;
25595 int *arg3
= (int *) 0 ;
25600 PyObject
* obj0
= 0 ;
25601 char *kwnames
[] = {
25602 (char *) "self", NULL
25605 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
25606 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
25607 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetClientSizeTuple",kwnames
,&obj0
)) goto fail
;
25608 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25609 if (SWIG_arg_fail(1)) SWIG_fail
;
25611 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25612 ((wxWindow
const *)arg1
)->GetClientSize(arg2
,arg3
);
25614 wxPyEndAllowThreads(__tstate
);
25615 if (PyErr_Occurred()) SWIG_fail
;
25617 Py_INCREF(Py_None
); resultobj
= Py_None
;
25618 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
25619 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
25620 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
25621 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
25628 static PyObject
*_wrap_Window_GetClientAreaOrigin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25629 PyObject
*resultobj
;
25630 wxWindow
*arg1
= (wxWindow
*) 0 ;
25632 PyObject
* obj0
= 0 ;
25633 char *kwnames
[] = {
25634 (char *) "self", NULL
25637 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetClientAreaOrigin",kwnames
,&obj0
)) goto fail
;
25638 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25639 if (SWIG_arg_fail(1)) SWIG_fail
;
25641 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25642 result
= ((wxWindow
const *)arg1
)->GetClientAreaOrigin();
25644 wxPyEndAllowThreads(__tstate
);
25645 if (PyErr_Occurred()) SWIG_fail
;
25648 wxPoint
* resultptr
;
25649 resultptr
= new wxPoint((wxPoint
&)(result
));
25650 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
25658 static PyObject
*_wrap_Window_GetClientRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25659 PyObject
*resultobj
;
25660 wxWindow
*arg1
= (wxWindow
*) 0 ;
25662 PyObject
* obj0
= 0 ;
25663 char *kwnames
[] = {
25664 (char *) "self", NULL
25667 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetClientRect",kwnames
,&obj0
)) goto fail
;
25668 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25669 if (SWIG_arg_fail(1)) SWIG_fail
;
25671 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25672 result
= ((wxWindow
const *)arg1
)->GetClientRect();
25674 wxPyEndAllowThreads(__tstate
);
25675 if (PyErr_Occurred()) SWIG_fail
;
25678 wxRect
* resultptr
;
25679 resultptr
= new wxRect((wxRect
&)(result
));
25680 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
25688 static PyObject
*_wrap_Window_GetBestSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25689 PyObject
*resultobj
;
25690 wxWindow
*arg1
= (wxWindow
*) 0 ;
25692 PyObject
* obj0
= 0 ;
25693 char *kwnames
[] = {
25694 (char *) "self", NULL
25697 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetBestSize",kwnames
,&obj0
)) goto fail
;
25698 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25699 if (SWIG_arg_fail(1)) SWIG_fail
;
25701 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25702 result
= ((wxWindow
const *)arg1
)->GetBestSize();
25704 wxPyEndAllowThreads(__tstate
);
25705 if (PyErr_Occurred()) SWIG_fail
;
25708 wxSize
* resultptr
;
25709 resultptr
= new wxSize((wxSize
&)(result
));
25710 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
25718 static PyObject
*_wrap_Window_GetBestSizeTuple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25719 PyObject
*resultobj
;
25720 wxWindow
*arg1
= (wxWindow
*) 0 ;
25721 int *arg2
= (int *) 0 ;
25722 int *arg3
= (int *) 0 ;
25727 PyObject
* obj0
= 0 ;
25728 char *kwnames
[] = {
25729 (char *) "self", NULL
25732 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
25733 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
25734 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetBestSizeTuple",kwnames
,&obj0
)) goto fail
;
25735 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25736 if (SWIG_arg_fail(1)) SWIG_fail
;
25738 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25739 ((wxWindow
const *)arg1
)->GetBestSize(arg2
,arg3
);
25741 wxPyEndAllowThreads(__tstate
);
25742 if (PyErr_Occurred()) SWIG_fail
;
25744 Py_INCREF(Py_None
); resultobj
= Py_None
;
25745 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
25746 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
25747 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
25748 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
25755 static PyObject
*_wrap_Window_InvalidateBestSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25756 PyObject
*resultobj
;
25757 wxWindow
*arg1
= (wxWindow
*) 0 ;
25758 PyObject
* obj0
= 0 ;
25759 char *kwnames
[] = {
25760 (char *) "self", NULL
25763 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_InvalidateBestSize",kwnames
,&obj0
)) goto fail
;
25764 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25765 if (SWIG_arg_fail(1)) SWIG_fail
;
25767 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25768 (arg1
)->InvalidateBestSize();
25770 wxPyEndAllowThreads(__tstate
);
25771 if (PyErr_Occurred()) SWIG_fail
;
25773 Py_INCREF(Py_None
); resultobj
= Py_None
;
25780 static PyObject
*_wrap_Window_GetBestFittingSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25781 PyObject
*resultobj
;
25782 wxWindow
*arg1
= (wxWindow
*) 0 ;
25784 PyObject
* obj0
= 0 ;
25785 char *kwnames
[] = {
25786 (char *) "self", NULL
25789 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetBestFittingSize",kwnames
,&obj0
)) goto fail
;
25790 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25791 if (SWIG_arg_fail(1)) SWIG_fail
;
25793 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25794 result
= ((wxWindow
const *)arg1
)->GetBestFittingSize();
25796 wxPyEndAllowThreads(__tstate
);
25797 if (PyErr_Occurred()) SWIG_fail
;
25800 wxSize
* resultptr
;
25801 resultptr
= new wxSize((wxSize
&)(result
));
25802 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
25810 static PyObject
*_wrap_Window_GetAdjustedBestSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25811 PyObject
*resultobj
;
25812 wxWindow
*arg1
= (wxWindow
*) 0 ;
25814 PyObject
* obj0
= 0 ;
25815 char *kwnames
[] = {
25816 (char *) "self", NULL
25819 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetAdjustedBestSize",kwnames
,&obj0
)) goto fail
;
25820 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25821 if (SWIG_arg_fail(1)) SWIG_fail
;
25823 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25824 result
= ((wxWindow
const *)arg1
)->GetAdjustedBestSize();
25826 wxPyEndAllowThreads(__tstate
);
25827 if (PyErr_Occurred()) SWIG_fail
;
25830 wxSize
* resultptr
;
25831 resultptr
= new wxSize((wxSize
&)(result
));
25832 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
25840 static PyObject
*_wrap_Window_Center(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25841 PyObject
*resultobj
;
25842 wxWindow
*arg1
= (wxWindow
*) 0 ;
25843 int arg2
= (int) wxBOTH
;
25844 PyObject
* obj0
= 0 ;
25845 PyObject
* obj1
= 0 ;
25846 char *kwnames
[] = {
25847 (char *) "self",(char *) "direction", NULL
25850 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_Center",kwnames
,&obj0
,&obj1
)) goto fail
;
25851 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25852 if (SWIG_arg_fail(1)) SWIG_fail
;
25855 arg2
= (int)(SWIG_As_int(obj1
));
25856 if (SWIG_arg_fail(2)) SWIG_fail
;
25860 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25861 (arg1
)->Center(arg2
);
25863 wxPyEndAllowThreads(__tstate
);
25864 if (PyErr_Occurred()) SWIG_fail
;
25866 Py_INCREF(Py_None
); resultobj
= Py_None
;
25873 static PyObject
*_wrap_Window_CenterOnScreen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25874 PyObject
*resultobj
;
25875 wxWindow
*arg1
= (wxWindow
*) 0 ;
25876 int arg2
= (int) wxBOTH
;
25877 PyObject
* obj0
= 0 ;
25878 PyObject
* obj1
= 0 ;
25879 char *kwnames
[] = {
25880 (char *) "self",(char *) "dir", NULL
25883 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_CenterOnScreen",kwnames
,&obj0
,&obj1
)) goto fail
;
25884 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25885 if (SWIG_arg_fail(1)) SWIG_fail
;
25888 arg2
= (int)(SWIG_As_int(obj1
));
25889 if (SWIG_arg_fail(2)) SWIG_fail
;
25893 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25894 (arg1
)->CenterOnScreen(arg2
);
25896 wxPyEndAllowThreads(__tstate
);
25897 if (PyErr_Occurred()) SWIG_fail
;
25899 Py_INCREF(Py_None
); resultobj
= Py_None
;
25906 static PyObject
*_wrap_Window_CenterOnParent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25907 PyObject
*resultobj
;
25908 wxWindow
*arg1
= (wxWindow
*) 0 ;
25909 int arg2
= (int) wxBOTH
;
25910 PyObject
* obj0
= 0 ;
25911 PyObject
* obj1
= 0 ;
25912 char *kwnames
[] = {
25913 (char *) "self",(char *) "dir", NULL
25916 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_CenterOnParent",kwnames
,&obj0
,&obj1
)) goto fail
;
25917 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25918 if (SWIG_arg_fail(1)) SWIG_fail
;
25921 arg2
= (int)(SWIG_As_int(obj1
));
25922 if (SWIG_arg_fail(2)) SWIG_fail
;
25926 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25927 (arg1
)->CenterOnParent(arg2
);
25929 wxPyEndAllowThreads(__tstate
);
25930 if (PyErr_Occurred()) SWIG_fail
;
25932 Py_INCREF(Py_None
); resultobj
= Py_None
;
25939 static PyObject
*_wrap_Window_Fit(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25940 PyObject
*resultobj
;
25941 wxWindow
*arg1
= (wxWindow
*) 0 ;
25942 PyObject
* obj0
= 0 ;
25943 char *kwnames
[] = {
25944 (char *) "self", NULL
25947 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Fit",kwnames
,&obj0
)) 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 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25954 wxPyEndAllowThreads(__tstate
);
25955 if (PyErr_Occurred()) SWIG_fail
;
25957 Py_INCREF(Py_None
); resultobj
= Py_None
;
25964 static PyObject
*_wrap_Window_FitInside(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25965 PyObject
*resultobj
;
25966 wxWindow
*arg1
= (wxWindow
*) 0 ;
25967 PyObject
* obj0
= 0 ;
25968 char *kwnames
[] = {
25969 (char *) "self", NULL
25972 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_FitInside",kwnames
,&obj0
)) goto fail
;
25973 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25974 if (SWIG_arg_fail(1)) SWIG_fail
;
25976 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25977 (arg1
)->FitInside();
25979 wxPyEndAllowThreads(__tstate
);
25980 if (PyErr_Occurred()) SWIG_fail
;
25982 Py_INCREF(Py_None
); resultobj
= Py_None
;
25989 static PyObject
*_wrap_Window_SetSizeHints(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25990 PyObject
*resultobj
;
25991 wxWindow
*arg1
= (wxWindow
*) 0 ;
25994 int arg4
= (int) -1 ;
25995 int arg5
= (int) -1 ;
25996 int arg6
= (int) -1 ;
25997 int arg7
= (int) -1 ;
25998 PyObject
* obj0
= 0 ;
25999 PyObject
* obj1
= 0 ;
26000 PyObject
* obj2
= 0 ;
26001 PyObject
* obj3
= 0 ;
26002 PyObject
* obj4
= 0 ;
26003 PyObject
* obj5
= 0 ;
26004 PyObject
* obj6
= 0 ;
26005 char *kwnames
[] = {
26006 (char *) "self",(char *) "minW",(char *) "minH",(char *) "maxW",(char *) "maxH",(char *) "incW",(char *) "incH", NULL
26009 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:Window_SetSizeHints",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
26010 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26011 if (SWIG_arg_fail(1)) SWIG_fail
;
26013 arg2
= (int)(SWIG_As_int(obj1
));
26014 if (SWIG_arg_fail(2)) SWIG_fail
;
26017 arg3
= (int)(SWIG_As_int(obj2
));
26018 if (SWIG_arg_fail(3)) SWIG_fail
;
26022 arg4
= (int)(SWIG_As_int(obj3
));
26023 if (SWIG_arg_fail(4)) SWIG_fail
;
26028 arg5
= (int)(SWIG_As_int(obj4
));
26029 if (SWIG_arg_fail(5)) SWIG_fail
;
26034 arg6
= (int)(SWIG_As_int(obj5
));
26035 if (SWIG_arg_fail(6)) SWIG_fail
;
26040 arg7
= (int)(SWIG_As_int(obj6
));
26041 if (SWIG_arg_fail(7)) SWIG_fail
;
26045 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26046 (arg1
)->SetSizeHints(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
26048 wxPyEndAllowThreads(__tstate
);
26049 if (PyErr_Occurred()) SWIG_fail
;
26051 Py_INCREF(Py_None
); resultobj
= Py_None
;
26058 static PyObject
*_wrap_Window_SetSizeHintsSz(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26059 PyObject
*resultobj
;
26060 wxWindow
*arg1
= (wxWindow
*) 0 ;
26062 wxSize
const &arg3_defvalue
= wxDefaultSize
;
26063 wxSize
*arg3
= (wxSize
*) &arg3_defvalue
;
26064 wxSize
const &arg4_defvalue
= wxDefaultSize
;
26065 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
26069 PyObject
* obj0
= 0 ;
26070 PyObject
* obj1
= 0 ;
26071 PyObject
* obj2
= 0 ;
26072 PyObject
* obj3
= 0 ;
26073 char *kwnames
[] = {
26074 (char *) "self",(char *) "minSize",(char *) "maxSize",(char *) "incSize", NULL
26077 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:Window_SetSizeHintsSz",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
26078 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26079 if (SWIG_arg_fail(1)) SWIG_fail
;
26082 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
26087 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
26093 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
26097 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26098 (arg1
)->SetSizeHints((wxSize
const &)*arg2
,(wxSize
const &)*arg3
,(wxSize
const &)*arg4
);
26100 wxPyEndAllowThreads(__tstate
);
26101 if (PyErr_Occurred()) SWIG_fail
;
26103 Py_INCREF(Py_None
); resultobj
= Py_None
;
26110 static PyObject
*_wrap_Window_SetVirtualSizeHints(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26111 PyObject
*resultobj
;
26112 wxWindow
*arg1
= (wxWindow
*) 0 ;
26115 int arg4
= (int) -1 ;
26116 int arg5
= (int) -1 ;
26117 PyObject
* obj0
= 0 ;
26118 PyObject
* obj1
= 0 ;
26119 PyObject
* obj2
= 0 ;
26120 PyObject
* obj3
= 0 ;
26121 PyObject
* obj4
= 0 ;
26122 char *kwnames
[] = {
26123 (char *) "self",(char *) "minW",(char *) "minH",(char *) "maxW",(char *) "maxH", NULL
26126 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:Window_SetVirtualSizeHints",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
26127 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26128 if (SWIG_arg_fail(1)) SWIG_fail
;
26130 arg2
= (int)(SWIG_As_int(obj1
));
26131 if (SWIG_arg_fail(2)) SWIG_fail
;
26134 arg3
= (int)(SWIG_As_int(obj2
));
26135 if (SWIG_arg_fail(3)) SWIG_fail
;
26139 arg4
= (int)(SWIG_As_int(obj3
));
26140 if (SWIG_arg_fail(4)) SWIG_fail
;
26145 arg5
= (int)(SWIG_As_int(obj4
));
26146 if (SWIG_arg_fail(5)) SWIG_fail
;
26150 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26151 (arg1
)->SetVirtualSizeHints(arg2
,arg3
,arg4
,arg5
);
26153 wxPyEndAllowThreads(__tstate
);
26154 if (PyErr_Occurred()) SWIG_fail
;
26156 Py_INCREF(Py_None
); resultobj
= Py_None
;
26163 static PyObject
*_wrap_Window_SetVirtualSizeHintsSz(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26164 PyObject
*resultobj
;
26165 wxWindow
*arg1
= (wxWindow
*) 0 ;
26167 wxSize
const &arg3_defvalue
= wxDefaultSize
;
26168 wxSize
*arg3
= (wxSize
*) &arg3_defvalue
;
26171 PyObject
* obj0
= 0 ;
26172 PyObject
* obj1
= 0 ;
26173 PyObject
* obj2
= 0 ;
26174 char *kwnames
[] = {
26175 (char *) "self",(char *) "minSize",(char *) "maxSize", NULL
26178 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_SetVirtualSizeHintsSz",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26179 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26180 if (SWIG_arg_fail(1)) SWIG_fail
;
26183 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
26188 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
26192 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26193 (arg1
)->SetVirtualSizeHints((wxSize
const &)*arg2
,(wxSize
const &)*arg3
);
26195 wxPyEndAllowThreads(__tstate
);
26196 if (PyErr_Occurred()) SWIG_fail
;
26198 Py_INCREF(Py_None
); resultobj
= Py_None
;
26205 static PyObject
*_wrap_Window_GetMaxSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26206 PyObject
*resultobj
;
26207 wxWindow
*arg1
= (wxWindow
*) 0 ;
26209 PyObject
* obj0
= 0 ;
26210 char *kwnames
[] = {
26211 (char *) "self", NULL
26214 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetMaxSize",kwnames
,&obj0
)) goto fail
;
26215 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26216 if (SWIG_arg_fail(1)) SWIG_fail
;
26218 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26219 result
= ((wxWindow
const *)arg1
)->GetMaxSize();
26221 wxPyEndAllowThreads(__tstate
);
26222 if (PyErr_Occurred()) SWIG_fail
;
26225 wxSize
* resultptr
;
26226 resultptr
= new wxSize((wxSize
&)(result
));
26227 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
26235 static PyObject
*_wrap_Window_GetMinSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26236 PyObject
*resultobj
;
26237 wxWindow
*arg1
= (wxWindow
*) 0 ;
26239 PyObject
* obj0
= 0 ;
26240 char *kwnames
[] = {
26241 (char *) "self", NULL
26244 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetMinSize",kwnames
,&obj0
)) goto fail
;
26245 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26246 if (SWIG_arg_fail(1)) SWIG_fail
;
26248 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26249 result
= ((wxWindow
const *)arg1
)->GetMinSize();
26251 wxPyEndAllowThreads(__tstate
);
26252 if (PyErr_Occurred()) SWIG_fail
;
26255 wxSize
* resultptr
;
26256 resultptr
= new wxSize((wxSize
&)(result
));
26257 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
26265 static PyObject
*_wrap_Window_SetMinSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26266 PyObject
*resultobj
;
26267 wxWindow
*arg1
= (wxWindow
*) 0 ;
26270 PyObject
* obj0
= 0 ;
26271 PyObject
* obj1
= 0 ;
26272 char *kwnames
[] = {
26273 (char *) "self",(char *) "minSize", NULL
26276 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetMinSize",kwnames
,&obj0
,&obj1
)) goto fail
;
26277 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26278 if (SWIG_arg_fail(1)) SWIG_fail
;
26281 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
26284 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26285 (arg1
)->SetMinSize((wxSize
const &)*arg2
);
26287 wxPyEndAllowThreads(__tstate
);
26288 if (PyErr_Occurred()) SWIG_fail
;
26290 Py_INCREF(Py_None
); resultobj
= Py_None
;
26297 static PyObject
*_wrap_Window_SetMaxSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26298 PyObject
*resultobj
;
26299 wxWindow
*arg1
= (wxWindow
*) 0 ;
26302 PyObject
* obj0
= 0 ;
26303 PyObject
* obj1
= 0 ;
26304 char *kwnames
[] = {
26305 (char *) "self",(char *) "maxSize", NULL
26308 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetMaxSize",kwnames
,&obj0
,&obj1
)) goto fail
;
26309 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26310 if (SWIG_arg_fail(1)) SWIG_fail
;
26313 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
26316 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26317 (arg1
)->SetMaxSize((wxSize
const &)*arg2
);
26319 wxPyEndAllowThreads(__tstate
);
26320 if (PyErr_Occurred()) SWIG_fail
;
26322 Py_INCREF(Py_None
); resultobj
= Py_None
;
26329 static PyObject
*_wrap_Window_GetMinWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26330 PyObject
*resultobj
;
26331 wxWindow
*arg1
= (wxWindow
*) 0 ;
26333 PyObject
* obj0
= 0 ;
26334 char *kwnames
[] = {
26335 (char *) "self", NULL
26338 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetMinWidth",kwnames
,&obj0
)) goto fail
;
26339 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26340 if (SWIG_arg_fail(1)) SWIG_fail
;
26342 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26343 result
= (int)((wxWindow
const *)arg1
)->GetMinWidth();
26345 wxPyEndAllowThreads(__tstate
);
26346 if (PyErr_Occurred()) SWIG_fail
;
26349 resultobj
= SWIG_From_int((int)(result
));
26357 static PyObject
*_wrap_Window_GetMinHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26358 PyObject
*resultobj
;
26359 wxWindow
*arg1
= (wxWindow
*) 0 ;
26361 PyObject
* obj0
= 0 ;
26362 char *kwnames
[] = {
26363 (char *) "self", NULL
26366 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetMinHeight",kwnames
,&obj0
)) goto fail
;
26367 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26368 if (SWIG_arg_fail(1)) SWIG_fail
;
26370 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26371 result
= (int)((wxWindow
const *)arg1
)->GetMinHeight();
26373 wxPyEndAllowThreads(__tstate
);
26374 if (PyErr_Occurred()) SWIG_fail
;
26377 resultobj
= SWIG_From_int((int)(result
));
26385 static PyObject
*_wrap_Window_GetMaxWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26386 PyObject
*resultobj
;
26387 wxWindow
*arg1
= (wxWindow
*) 0 ;
26389 PyObject
* obj0
= 0 ;
26390 char *kwnames
[] = {
26391 (char *) "self", NULL
26394 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetMaxWidth",kwnames
,&obj0
)) goto fail
;
26395 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26396 if (SWIG_arg_fail(1)) SWIG_fail
;
26398 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26399 result
= (int)((wxWindow
const *)arg1
)->GetMaxWidth();
26401 wxPyEndAllowThreads(__tstate
);
26402 if (PyErr_Occurred()) SWIG_fail
;
26405 resultobj
= SWIG_From_int((int)(result
));
26413 static PyObject
*_wrap_Window_GetMaxHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26414 PyObject
*resultobj
;
26415 wxWindow
*arg1
= (wxWindow
*) 0 ;
26417 PyObject
* obj0
= 0 ;
26418 char *kwnames
[] = {
26419 (char *) "self", NULL
26422 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetMaxHeight",kwnames
,&obj0
)) goto fail
;
26423 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26424 if (SWIG_arg_fail(1)) SWIG_fail
;
26426 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26427 result
= (int)((wxWindow
const *)arg1
)->GetMaxHeight();
26429 wxPyEndAllowThreads(__tstate
);
26430 if (PyErr_Occurred()) SWIG_fail
;
26433 resultobj
= SWIG_From_int((int)(result
));
26441 static PyObject
*_wrap_Window_SetVirtualSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26442 PyObject
*resultobj
;
26443 wxWindow
*arg1
= (wxWindow
*) 0 ;
26446 PyObject
* obj0
= 0 ;
26447 PyObject
* obj1
= 0 ;
26448 char *kwnames
[] = {
26449 (char *) "self",(char *) "size", NULL
26452 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetVirtualSize",kwnames
,&obj0
,&obj1
)) goto fail
;
26453 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26454 if (SWIG_arg_fail(1)) SWIG_fail
;
26457 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
26460 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26461 (arg1
)->SetVirtualSize((wxSize
const &)*arg2
);
26463 wxPyEndAllowThreads(__tstate
);
26464 if (PyErr_Occurred()) SWIG_fail
;
26466 Py_INCREF(Py_None
); resultobj
= Py_None
;
26473 static PyObject
*_wrap_Window_SetVirtualSizeWH(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26474 PyObject
*resultobj
;
26475 wxWindow
*arg1
= (wxWindow
*) 0 ;
26478 PyObject
* obj0
= 0 ;
26479 PyObject
* obj1
= 0 ;
26480 PyObject
* obj2
= 0 ;
26481 char *kwnames
[] = {
26482 (char *) "self",(char *) "w",(char *) "h", NULL
26485 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_SetVirtualSizeWH",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26486 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26487 if (SWIG_arg_fail(1)) SWIG_fail
;
26489 arg2
= (int)(SWIG_As_int(obj1
));
26490 if (SWIG_arg_fail(2)) SWIG_fail
;
26493 arg3
= (int)(SWIG_As_int(obj2
));
26494 if (SWIG_arg_fail(3)) SWIG_fail
;
26497 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26498 (arg1
)->SetVirtualSize(arg2
,arg3
);
26500 wxPyEndAllowThreads(__tstate
);
26501 if (PyErr_Occurred()) SWIG_fail
;
26503 Py_INCREF(Py_None
); resultobj
= Py_None
;
26510 static PyObject
*_wrap_Window_GetVirtualSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26511 PyObject
*resultobj
;
26512 wxWindow
*arg1
= (wxWindow
*) 0 ;
26514 PyObject
* obj0
= 0 ;
26515 char *kwnames
[] = {
26516 (char *) "self", NULL
26519 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetVirtualSize",kwnames
,&obj0
)) goto fail
;
26520 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26521 if (SWIG_arg_fail(1)) SWIG_fail
;
26523 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26524 result
= ((wxWindow
const *)arg1
)->GetVirtualSize();
26526 wxPyEndAllowThreads(__tstate
);
26527 if (PyErr_Occurred()) SWIG_fail
;
26530 wxSize
* resultptr
;
26531 resultptr
= new wxSize((wxSize
&)(result
));
26532 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
26540 static PyObject
*_wrap_Window_GetVirtualSizeTuple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26541 PyObject
*resultobj
;
26542 wxWindow
*arg1
= (wxWindow
*) 0 ;
26543 int *arg2
= (int *) 0 ;
26544 int *arg3
= (int *) 0 ;
26549 PyObject
* obj0
= 0 ;
26550 char *kwnames
[] = {
26551 (char *) "self", NULL
26554 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
26555 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
26556 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetVirtualSizeTuple",kwnames
,&obj0
)) goto fail
;
26557 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26558 if (SWIG_arg_fail(1)) SWIG_fail
;
26560 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26561 ((wxWindow
const *)arg1
)->GetVirtualSize(arg2
,arg3
);
26563 wxPyEndAllowThreads(__tstate
);
26564 if (PyErr_Occurred()) SWIG_fail
;
26566 Py_INCREF(Py_None
); resultobj
= Py_None
;
26567 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
26568 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
26569 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
26570 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
26577 static PyObject
*_wrap_Window_GetBestVirtualSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26578 PyObject
*resultobj
;
26579 wxWindow
*arg1
= (wxWindow
*) 0 ;
26581 PyObject
* obj0
= 0 ;
26582 char *kwnames
[] = {
26583 (char *) "self", NULL
26586 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetBestVirtualSize",kwnames
,&obj0
)) goto fail
;
26587 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26588 if (SWIG_arg_fail(1)) SWIG_fail
;
26590 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26591 result
= ((wxWindow
const *)arg1
)->GetBestVirtualSize();
26593 wxPyEndAllowThreads(__tstate
);
26594 if (PyErr_Occurred()) SWIG_fail
;
26597 wxSize
* resultptr
;
26598 resultptr
= new wxSize((wxSize
&)(result
));
26599 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
26607 static PyObject
*_wrap_Window_Show(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26608 PyObject
*resultobj
;
26609 wxWindow
*arg1
= (wxWindow
*) 0 ;
26610 bool arg2
= (bool) true ;
26612 PyObject
* obj0
= 0 ;
26613 PyObject
* obj1
= 0 ;
26614 char *kwnames
[] = {
26615 (char *) "self",(char *) "show", NULL
26618 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_Show",kwnames
,&obj0
,&obj1
)) goto fail
;
26619 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26620 if (SWIG_arg_fail(1)) SWIG_fail
;
26623 arg2
= (bool)(SWIG_As_bool(obj1
));
26624 if (SWIG_arg_fail(2)) SWIG_fail
;
26628 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26629 result
= (bool)(arg1
)->Show(arg2
);
26631 wxPyEndAllowThreads(__tstate
);
26632 if (PyErr_Occurred()) SWIG_fail
;
26635 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26643 static PyObject
*_wrap_Window_Hide(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26644 PyObject
*resultobj
;
26645 wxWindow
*arg1
= (wxWindow
*) 0 ;
26647 PyObject
* obj0
= 0 ;
26648 char *kwnames
[] = {
26649 (char *) "self", NULL
26652 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Hide",kwnames
,&obj0
)) goto fail
;
26653 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26654 if (SWIG_arg_fail(1)) SWIG_fail
;
26656 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26657 result
= (bool)(arg1
)->Hide();
26659 wxPyEndAllowThreads(__tstate
);
26660 if (PyErr_Occurred()) SWIG_fail
;
26663 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26671 static PyObject
*_wrap_Window_Enable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26672 PyObject
*resultobj
;
26673 wxWindow
*arg1
= (wxWindow
*) 0 ;
26674 bool arg2
= (bool) true ;
26676 PyObject
* obj0
= 0 ;
26677 PyObject
* obj1
= 0 ;
26678 char *kwnames
[] = {
26679 (char *) "self",(char *) "enable", NULL
26682 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_Enable",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
= (bool)(SWIG_As_bool(obj1
));
26688 if (SWIG_arg_fail(2)) SWIG_fail
;
26692 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26693 result
= (bool)(arg1
)->Enable(arg2
);
26695 wxPyEndAllowThreads(__tstate
);
26696 if (PyErr_Occurred()) SWIG_fail
;
26699 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26707 static PyObject
*_wrap_Window_Disable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26708 PyObject
*resultobj
;
26709 wxWindow
*arg1
= (wxWindow
*) 0 ;
26711 PyObject
* obj0
= 0 ;
26712 char *kwnames
[] = {
26713 (char *) "self", NULL
26716 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Disable",kwnames
,&obj0
)) goto fail
;
26717 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26718 if (SWIG_arg_fail(1)) SWIG_fail
;
26720 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26721 result
= (bool)(arg1
)->Disable();
26723 wxPyEndAllowThreads(__tstate
);
26724 if (PyErr_Occurred()) SWIG_fail
;
26727 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26735 static PyObject
*_wrap_Window_IsShown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26736 PyObject
*resultobj
;
26737 wxWindow
*arg1
= (wxWindow
*) 0 ;
26739 PyObject
* obj0
= 0 ;
26740 char *kwnames
[] = {
26741 (char *) "self", NULL
26744 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_IsShown",kwnames
,&obj0
)) goto fail
;
26745 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26746 if (SWIG_arg_fail(1)) SWIG_fail
;
26748 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26749 result
= (bool)((wxWindow
const *)arg1
)->IsShown();
26751 wxPyEndAllowThreads(__tstate
);
26752 if (PyErr_Occurred()) SWIG_fail
;
26755 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26763 static PyObject
*_wrap_Window_IsEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26764 PyObject
*resultobj
;
26765 wxWindow
*arg1
= (wxWindow
*) 0 ;
26767 PyObject
* obj0
= 0 ;
26768 char *kwnames
[] = {
26769 (char *) "self", NULL
26772 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_IsEnabled",kwnames
,&obj0
)) goto fail
;
26773 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26774 if (SWIG_arg_fail(1)) SWIG_fail
;
26776 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26777 result
= (bool)((wxWindow
const *)arg1
)->IsEnabled();
26779 wxPyEndAllowThreads(__tstate
);
26780 if (PyErr_Occurred()) SWIG_fail
;
26783 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26791 static PyObject
*_wrap_Window_SetWindowStyleFlag(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26792 PyObject
*resultobj
;
26793 wxWindow
*arg1
= (wxWindow
*) 0 ;
26795 PyObject
* obj0
= 0 ;
26796 PyObject
* obj1
= 0 ;
26797 char *kwnames
[] = {
26798 (char *) "self",(char *) "style", NULL
26801 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetWindowStyleFlag",kwnames
,&obj0
,&obj1
)) goto fail
;
26802 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26803 if (SWIG_arg_fail(1)) SWIG_fail
;
26805 arg2
= (long)(SWIG_As_long(obj1
));
26806 if (SWIG_arg_fail(2)) SWIG_fail
;
26809 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26810 (arg1
)->SetWindowStyleFlag(arg2
);
26812 wxPyEndAllowThreads(__tstate
);
26813 if (PyErr_Occurred()) SWIG_fail
;
26815 Py_INCREF(Py_None
); resultobj
= Py_None
;
26822 static PyObject
*_wrap_Window_GetWindowStyleFlag(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26823 PyObject
*resultobj
;
26824 wxWindow
*arg1
= (wxWindow
*) 0 ;
26826 PyObject
* obj0
= 0 ;
26827 char *kwnames
[] = {
26828 (char *) "self", NULL
26831 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetWindowStyleFlag",kwnames
,&obj0
)) goto fail
;
26832 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26833 if (SWIG_arg_fail(1)) SWIG_fail
;
26835 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26836 result
= (long)((wxWindow
const *)arg1
)->GetWindowStyleFlag();
26838 wxPyEndAllowThreads(__tstate
);
26839 if (PyErr_Occurred()) SWIG_fail
;
26842 resultobj
= SWIG_From_long((long)(result
));
26850 static PyObject
*_wrap_Window_HasFlag(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26851 PyObject
*resultobj
;
26852 wxWindow
*arg1
= (wxWindow
*) 0 ;
26855 PyObject
* obj0
= 0 ;
26856 PyObject
* obj1
= 0 ;
26857 char *kwnames
[] = {
26858 (char *) "self",(char *) "flag", NULL
26861 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_HasFlag",kwnames
,&obj0
,&obj1
)) goto fail
;
26862 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26863 if (SWIG_arg_fail(1)) SWIG_fail
;
26865 arg2
= (int)(SWIG_As_int(obj1
));
26866 if (SWIG_arg_fail(2)) SWIG_fail
;
26869 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26870 result
= (bool)((wxWindow
const *)arg1
)->HasFlag(arg2
);
26872 wxPyEndAllowThreads(__tstate
);
26873 if (PyErr_Occurred()) SWIG_fail
;
26876 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26884 static PyObject
*_wrap_Window_IsRetained(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26885 PyObject
*resultobj
;
26886 wxWindow
*arg1
= (wxWindow
*) 0 ;
26888 PyObject
* obj0
= 0 ;
26889 char *kwnames
[] = {
26890 (char *) "self", NULL
26893 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_IsRetained",kwnames
,&obj0
)) goto fail
;
26894 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26895 if (SWIG_arg_fail(1)) SWIG_fail
;
26897 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26898 result
= (bool)((wxWindow
const *)arg1
)->IsRetained();
26900 wxPyEndAllowThreads(__tstate
);
26901 if (PyErr_Occurred()) SWIG_fail
;
26904 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26912 static PyObject
*_wrap_Window_SetExtraStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26913 PyObject
*resultobj
;
26914 wxWindow
*arg1
= (wxWindow
*) 0 ;
26916 PyObject
* obj0
= 0 ;
26917 PyObject
* obj1
= 0 ;
26918 char *kwnames
[] = {
26919 (char *) "self",(char *) "exStyle", NULL
26922 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetExtraStyle",kwnames
,&obj0
,&obj1
)) goto fail
;
26923 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26924 if (SWIG_arg_fail(1)) SWIG_fail
;
26926 arg2
= (long)(SWIG_As_long(obj1
));
26927 if (SWIG_arg_fail(2)) SWIG_fail
;
26930 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26931 (arg1
)->SetExtraStyle(arg2
);
26933 wxPyEndAllowThreads(__tstate
);
26934 if (PyErr_Occurred()) SWIG_fail
;
26936 Py_INCREF(Py_None
); resultobj
= Py_None
;
26943 static PyObject
*_wrap_Window_GetExtraStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26944 PyObject
*resultobj
;
26945 wxWindow
*arg1
= (wxWindow
*) 0 ;
26947 PyObject
* obj0
= 0 ;
26948 char *kwnames
[] = {
26949 (char *) "self", NULL
26952 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetExtraStyle",kwnames
,&obj0
)) goto fail
;
26953 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26954 if (SWIG_arg_fail(1)) SWIG_fail
;
26956 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26957 result
= (long)((wxWindow
const *)arg1
)->GetExtraStyle();
26959 wxPyEndAllowThreads(__tstate
);
26960 if (PyErr_Occurred()) SWIG_fail
;
26963 resultobj
= SWIG_From_long((long)(result
));
26971 static PyObject
*_wrap_Window_MakeModal(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26972 PyObject
*resultobj
;
26973 wxWindow
*arg1
= (wxWindow
*) 0 ;
26974 bool arg2
= (bool) true ;
26975 PyObject
* obj0
= 0 ;
26976 PyObject
* obj1
= 0 ;
26977 char *kwnames
[] = {
26978 (char *) "self",(char *) "modal", NULL
26981 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_MakeModal",kwnames
,&obj0
,&obj1
)) goto fail
;
26982 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26983 if (SWIG_arg_fail(1)) SWIG_fail
;
26986 arg2
= (bool)(SWIG_As_bool(obj1
));
26987 if (SWIG_arg_fail(2)) SWIG_fail
;
26991 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26992 (arg1
)->MakeModal(arg2
);
26994 wxPyEndAllowThreads(__tstate
);
26995 if (PyErr_Occurred()) SWIG_fail
;
26997 Py_INCREF(Py_None
); resultobj
= Py_None
;
27004 static PyObject
*_wrap_Window_SetThemeEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27005 PyObject
*resultobj
;
27006 wxWindow
*arg1
= (wxWindow
*) 0 ;
27008 PyObject
* obj0
= 0 ;
27009 PyObject
* obj1
= 0 ;
27010 char *kwnames
[] = {
27011 (char *) "self",(char *) "enableTheme", NULL
27014 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetThemeEnabled",kwnames
,&obj0
,&obj1
)) goto fail
;
27015 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27016 if (SWIG_arg_fail(1)) SWIG_fail
;
27018 arg2
= (bool)(SWIG_As_bool(obj1
));
27019 if (SWIG_arg_fail(2)) SWIG_fail
;
27022 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27023 (arg1
)->SetThemeEnabled(arg2
);
27025 wxPyEndAllowThreads(__tstate
);
27026 if (PyErr_Occurred()) SWIG_fail
;
27028 Py_INCREF(Py_None
); resultobj
= Py_None
;
27035 static PyObject
*_wrap_Window_GetThemeEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27036 PyObject
*resultobj
;
27037 wxWindow
*arg1
= (wxWindow
*) 0 ;
27039 PyObject
* obj0
= 0 ;
27040 char *kwnames
[] = {
27041 (char *) "self", NULL
27044 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetThemeEnabled",kwnames
,&obj0
)) goto fail
;
27045 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27046 if (SWIG_arg_fail(1)) SWIG_fail
;
27048 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27049 result
= (bool)((wxWindow
const *)arg1
)->GetThemeEnabled();
27051 wxPyEndAllowThreads(__tstate
);
27052 if (PyErr_Occurred()) SWIG_fail
;
27055 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27063 static PyObject
*_wrap_Window_SetFocus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27064 PyObject
*resultobj
;
27065 wxWindow
*arg1
= (wxWindow
*) 0 ;
27066 PyObject
* obj0
= 0 ;
27067 char *kwnames
[] = {
27068 (char *) "self", NULL
27071 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_SetFocus",kwnames
,&obj0
)) goto fail
;
27072 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27073 if (SWIG_arg_fail(1)) SWIG_fail
;
27075 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27076 (arg1
)->SetFocus();
27078 wxPyEndAllowThreads(__tstate
);
27079 if (PyErr_Occurred()) SWIG_fail
;
27081 Py_INCREF(Py_None
); resultobj
= Py_None
;
27088 static PyObject
*_wrap_Window_SetFocusFromKbd(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27089 PyObject
*resultobj
;
27090 wxWindow
*arg1
= (wxWindow
*) 0 ;
27091 PyObject
* obj0
= 0 ;
27092 char *kwnames
[] = {
27093 (char *) "self", NULL
27096 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_SetFocusFromKbd",kwnames
,&obj0
)) goto fail
;
27097 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27098 if (SWIG_arg_fail(1)) SWIG_fail
;
27100 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27101 (arg1
)->SetFocusFromKbd();
27103 wxPyEndAllowThreads(__tstate
);
27104 if (PyErr_Occurred()) SWIG_fail
;
27106 Py_INCREF(Py_None
); resultobj
= Py_None
;
27113 static PyObject
*_wrap_Window_FindFocus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27114 PyObject
*resultobj
;
27116 char *kwnames
[] = {
27120 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Window_FindFocus",kwnames
)) goto fail
;
27122 if (!wxPyCheckForApp()) SWIG_fail
;
27123 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27124 result
= (wxWindow
*)wxWindow::FindFocus();
27126 wxPyEndAllowThreads(__tstate
);
27127 if (PyErr_Occurred()) SWIG_fail
;
27130 resultobj
= wxPyMake_wxObject(result
, 0);
27138 static PyObject
*_wrap_Window_AcceptsFocus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27139 PyObject
*resultobj
;
27140 wxWindow
*arg1
= (wxWindow
*) 0 ;
27142 PyObject
* obj0
= 0 ;
27143 char *kwnames
[] = {
27144 (char *) "self", NULL
27147 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_AcceptsFocus",kwnames
,&obj0
)) goto fail
;
27148 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27149 if (SWIG_arg_fail(1)) SWIG_fail
;
27151 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27152 result
= (bool)((wxWindow
const *)arg1
)->AcceptsFocus();
27154 wxPyEndAllowThreads(__tstate
);
27155 if (PyErr_Occurred()) SWIG_fail
;
27158 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27166 static PyObject
*_wrap_Window_AcceptsFocusFromKeyboard(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27167 PyObject
*resultobj
;
27168 wxWindow
*arg1
= (wxWindow
*) 0 ;
27170 PyObject
* obj0
= 0 ;
27171 char *kwnames
[] = {
27172 (char *) "self", NULL
27175 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_AcceptsFocusFromKeyboard",kwnames
,&obj0
)) goto fail
;
27176 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27177 if (SWIG_arg_fail(1)) SWIG_fail
;
27179 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27180 result
= (bool)((wxWindow
const *)arg1
)->AcceptsFocusFromKeyboard();
27182 wxPyEndAllowThreads(__tstate
);
27183 if (PyErr_Occurred()) SWIG_fail
;
27186 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27194 static PyObject
*_wrap_Window_GetDefaultItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27195 PyObject
*resultobj
;
27196 wxWindow
*arg1
= (wxWindow
*) 0 ;
27198 PyObject
* obj0
= 0 ;
27199 char *kwnames
[] = {
27200 (char *) "self", NULL
27203 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetDefaultItem",kwnames
,&obj0
)) goto fail
;
27204 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27205 if (SWIG_arg_fail(1)) SWIG_fail
;
27207 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27208 result
= (wxWindow
*)((wxWindow
const *)arg1
)->GetDefaultItem();
27210 wxPyEndAllowThreads(__tstate
);
27211 if (PyErr_Occurred()) SWIG_fail
;
27214 resultobj
= wxPyMake_wxObject(result
, 0);
27222 static PyObject
*_wrap_Window_SetDefaultItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27223 PyObject
*resultobj
;
27224 wxWindow
*arg1
= (wxWindow
*) 0 ;
27225 wxWindow
*arg2
= (wxWindow
*) 0 ;
27227 PyObject
* obj0
= 0 ;
27228 PyObject
* obj1
= 0 ;
27229 char *kwnames
[] = {
27230 (char *) "self",(char *) "child", NULL
27233 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetDefaultItem",kwnames
,&obj0
,&obj1
)) goto fail
;
27234 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27235 if (SWIG_arg_fail(1)) SWIG_fail
;
27236 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27237 if (SWIG_arg_fail(2)) SWIG_fail
;
27239 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27240 result
= (wxWindow
*)(arg1
)->SetDefaultItem(arg2
);
27242 wxPyEndAllowThreads(__tstate
);
27243 if (PyErr_Occurred()) SWIG_fail
;
27246 resultobj
= wxPyMake_wxObject(result
, 0);
27254 static PyObject
*_wrap_Window_SetTmpDefaultItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27255 PyObject
*resultobj
;
27256 wxWindow
*arg1
= (wxWindow
*) 0 ;
27257 wxWindow
*arg2
= (wxWindow
*) 0 ;
27258 PyObject
* obj0
= 0 ;
27259 PyObject
* obj1
= 0 ;
27260 char *kwnames
[] = {
27261 (char *) "self",(char *) "win", NULL
27264 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetTmpDefaultItem",kwnames
,&obj0
,&obj1
)) goto fail
;
27265 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27266 if (SWIG_arg_fail(1)) SWIG_fail
;
27267 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27268 if (SWIG_arg_fail(2)) SWIG_fail
;
27270 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27271 (arg1
)->SetTmpDefaultItem(arg2
);
27273 wxPyEndAllowThreads(__tstate
);
27274 if (PyErr_Occurred()) SWIG_fail
;
27276 Py_INCREF(Py_None
); resultobj
= Py_None
;
27283 static PyObject
*_wrap_Window_Navigate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27284 PyObject
*resultobj
;
27285 wxWindow
*arg1
= (wxWindow
*) 0 ;
27286 int arg2
= (int) wxNavigationKeyEvent::IsForward
;
27288 PyObject
* obj0
= 0 ;
27289 PyObject
* obj1
= 0 ;
27290 char *kwnames
[] = {
27291 (char *) "self",(char *) "flags", NULL
27294 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_Navigate",kwnames
,&obj0
,&obj1
)) goto fail
;
27295 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27296 if (SWIG_arg_fail(1)) SWIG_fail
;
27299 arg2
= (int)(SWIG_As_int(obj1
));
27300 if (SWIG_arg_fail(2)) SWIG_fail
;
27304 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27305 result
= (bool)(arg1
)->Navigate(arg2
);
27307 wxPyEndAllowThreads(__tstate
);
27308 if (PyErr_Occurred()) SWIG_fail
;
27311 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27319 static PyObject
*_wrap_Window_MoveAfterInTabOrder(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27320 PyObject
*resultobj
;
27321 wxWindow
*arg1
= (wxWindow
*) 0 ;
27322 wxWindow
*arg2
= (wxWindow
*) 0 ;
27323 PyObject
* obj0
= 0 ;
27324 PyObject
* obj1
= 0 ;
27325 char *kwnames
[] = {
27326 (char *) "self",(char *) "win", NULL
27329 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_MoveAfterInTabOrder",kwnames
,&obj0
,&obj1
)) goto fail
;
27330 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27331 if (SWIG_arg_fail(1)) SWIG_fail
;
27332 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27333 if (SWIG_arg_fail(2)) SWIG_fail
;
27335 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27336 (arg1
)->MoveAfterInTabOrder(arg2
);
27338 wxPyEndAllowThreads(__tstate
);
27339 if (PyErr_Occurred()) SWIG_fail
;
27341 Py_INCREF(Py_None
); resultobj
= Py_None
;
27348 static PyObject
*_wrap_Window_MoveBeforeInTabOrder(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27349 PyObject
*resultobj
;
27350 wxWindow
*arg1
= (wxWindow
*) 0 ;
27351 wxWindow
*arg2
= (wxWindow
*) 0 ;
27352 PyObject
* obj0
= 0 ;
27353 PyObject
* obj1
= 0 ;
27354 char *kwnames
[] = {
27355 (char *) "self",(char *) "win", NULL
27358 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_MoveBeforeInTabOrder",kwnames
,&obj0
,&obj1
)) goto fail
;
27359 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27360 if (SWIG_arg_fail(1)) SWIG_fail
;
27361 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27362 if (SWIG_arg_fail(2)) SWIG_fail
;
27364 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27365 (arg1
)->MoveBeforeInTabOrder(arg2
);
27367 wxPyEndAllowThreads(__tstate
);
27368 if (PyErr_Occurred()) SWIG_fail
;
27370 Py_INCREF(Py_None
); resultobj
= Py_None
;
27377 static PyObject
*_wrap_Window_GetChildren(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27378 PyObject
*resultobj
;
27379 wxWindow
*arg1
= (wxWindow
*) 0 ;
27381 PyObject
* obj0
= 0 ;
27382 char *kwnames
[] = {
27383 (char *) "self", NULL
27386 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetChildren",kwnames
,&obj0
)) goto fail
;
27387 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27388 if (SWIG_arg_fail(1)) SWIG_fail
;
27390 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27391 result
= (PyObject
*)wxWindow_GetChildren(arg1
);
27393 wxPyEndAllowThreads(__tstate
);
27394 if (PyErr_Occurred()) SWIG_fail
;
27396 resultobj
= result
;
27403 static PyObject
*_wrap_Window_GetParent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27404 PyObject
*resultobj
;
27405 wxWindow
*arg1
= (wxWindow
*) 0 ;
27407 PyObject
* obj0
= 0 ;
27408 char *kwnames
[] = {
27409 (char *) "self", NULL
27412 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetParent",kwnames
,&obj0
)) goto fail
;
27413 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27414 if (SWIG_arg_fail(1)) SWIG_fail
;
27416 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27417 result
= (wxWindow
*)((wxWindow
const *)arg1
)->GetParent();
27419 wxPyEndAllowThreads(__tstate
);
27420 if (PyErr_Occurred()) SWIG_fail
;
27423 resultobj
= wxPyMake_wxObject(result
, 0);
27431 static PyObject
*_wrap_Window_GetGrandParent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27432 PyObject
*resultobj
;
27433 wxWindow
*arg1
= (wxWindow
*) 0 ;
27435 PyObject
* obj0
= 0 ;
27436 char *kwnames
[] = {
27437 (char *) "self", NULL
27440 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetGrandParent",kwnames
,&obj0
)) goto fail
;
27441 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27442 if (SWIG_arg_fail(1)) SWIG_fail
;
27444 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27445 result
= (wxWindow
*)((wxWindow
const *)arg1
)->GetGrandParent();
27447 wxPyEndAllowThreads(__tstate
);
27448 if (PyErr_Occurred()) SWIG_fail
;
27451 resultobj
= wxPyMake_wxObject(result
, 0);
27459 static PyObject
*_wrap_Window_IsTopLevel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27460 PyObject
*resultobj
;
27461 wxWindow
*arg1
= (wxWindow
*) 0 ;
27463 PyObject
* obj0
= 0 ;
27464 char *kwnames
[] = {
27465 (char *) "self", NULL
27468 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_IsTopLevel",kwnames
,&obj0
)) goto fail
;
27469 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27470 if (SWIG_arg_fail(1)) SWIG_fail
;
27472 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27473 result
= (bool)((wxWindow
const *)arg1
)->IsTopLevel();
27475 wxPyEndAllowThreads(__tstate
);
27476 if (PyErr_Occurred()) SWIG_fail
;
27479 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27487 static PyObject
*_wrap_Window_Reparent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27488 PyObject
*resultobj
;
27489 wxWindow
*arg1
= (wxWindow
*) 0 ;
27490 wxWindow
*arg2
= (wxWindow
*) 0 ;
27492 PyObject
* obj0
= 0 ;
27493 PyObject
* obj1
= 0 ;
27494 char *kwnames
[] = {
27495 (char *) "self",(char *) "newParent", NULL
27498 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_Reparent",kwnames
,&obj0
,&obj1
)) goto fail
;
27499 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27500 if (SWIG_arg_fail(1)) SWIG_fail
;
27501 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27502 if (SWIG_arg_fail(2)) SWIG_fail
;
27504 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27505 result
= (bool)(arg1
)->Reparent(arg2
);
27507 wxPyEndAllowThreads(__tstate
);
27508 if (PyErr_Occurred()) SWIG_fail
;
27511 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27519 static PyObject
*_wrap_Window_AddChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27520 PyObject
*resultobj
;
27521 wxWindow
*arg1
= (wxWindow
*) 0 ;
27522 wxWindow
*arg2
= (wxWindow
*) 0 ;
27523 PyObject
* obj0
= 0 ;
27524 PyObject
* obj1
= 0 ;
27525 char *kwnames
[] = {
27526 (char *) "self",(char *) "child", NULL
27529 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_AddChild",kwnames
,&obj0
,&obj1
)) goto fail
;
27530 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27531 if (SWIG_arg_fail(1)) SWIG_fail
;
27532 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27533 if (SWIG_arg_fail(2)) SWIG_fail
;
27535 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27536 (arg1
)->AddChild(arg2
);
27538 wxPyEndAllowThreads(__tstate
);
27539 if (PyErr_Occurred()) SWIG_fail
;
27541 Py_INCREF(Py_None
); resultobj
= Py_None
;
27548 static PyObject
*_wrap_Window_RemoveChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27549 PyObject
*resultobj
;
27550 wxWindow
*arg1
= (wxWindow
*) 0 ;
27551 wxWindow
*arg2
= (wxWindow
*) 0 ;
27552 PyObject
* obj0
= 0 ;
27553 PyObject
* obj1
= 0 ;
27554 char *kwnames
[] = {
27555 (char *) "self",(char *) "child", NULL
27558 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_RemoveChild",kwnames
,&obj0
,&obj1
)) goto fail
;
27559 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27560 if (SWIG_arg_fail(1)) SWIG_fail
;
27561 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27562 if (SWIG_arg_fail(2)) SWIG_fail
;
27564 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27565 (arg1
)->RemoveChild(arg2
);
27567 wxPyEndAllowThreads(__tstate
);
27568 if (PyErr_Occurred()) SWIG_fail
;
27570 Py_INCREF(Py_None
); resultobj
= Py_None
;
27577 static PyObject
*_wrap_Window_FindWindowById(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27578 PyObject
*resultobj
;
27579 wxWindow
*arg1
= (wxWindow
*) 0 ;
27582 PyObject
* obj0
= 0 ;
27583 PyObject
* obj1
= 0 ;
27584 char *kwnames
[] = {
27585 (char *) "self",(char *) "winid", NULL
27588 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_FindWindowById",kwnames
,&obj0
,&obj1
)) goto fail
;
27589 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27590 if (SWIG_arg_fail(1)) SWIG_fail
;
27592 arg2
= (long)(SWIG_As_long(obj1
));
27593 if (SWIG_arg_fail(2)) SWIG_fail
;
27596 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27597 result
= (wxWindow
*)(arg1
)->FindWindow(arg2
);
27599 wxPyEndAllowThreads(__tstate
);
27600 if (PyErr_Occurred()) SWIG_fail
;
27603 resultobj
= wxPyMake_wxObject(result
, 0);
27611 static PyObject
*_wrap_Window_FindWindowByName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27612 PyObject
*resultobj
;
27613 wxWindow
*arg1
= (wxWindow
*) 0 ;
27614 wxString
*arg2
= 0 ;
27616 bool temp2
= false ;
27617 PyObject
* obj0
= 0 ;
27618 PyObject
* obj1
= 0 ;
27619 char *kwnames
[] = {
27620 (char *) "self",(char *) "name", NULL
27623 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_FindWindowByName",kwnames
,&obj0
,&obj1
)) goto fail
;
27624 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27625 if (SWIG_arg_fail(1)) SWIG_fail
;
27627 arg2
= wxString_in_helper(obj1
);
27628 if (arg2
== NULL
) SWIG_fail
;
27632 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27633 result
= (wxWindow
*)(arg1
)->FindWindow((wxString
const &)*arg2
);
27635 wxPyEndAllowThreads(__tstate
);
27636 if (PyErr_Occurred()) SWIG_fail
;
27639 resultobj
= wxPyMake_wxObject(result
, 0);
27655 static PyObject
*_wrap_Window_GetEventHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27656 PyObject
*resultobj
;
27657 wxWindow
*arg1
= (wxWindow
*) 0 ;
27658 wxEvtHandler
*result
;
27659 PyObject
* obj0
= 0 ;
27660 char *kwnames
[] = {
27661 (char *) "self", NULL
27664 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetEventHandler",kwnames
,&obj0
)) goto fail
;
27665 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27666 if (SWIG_arg_fail(1)) SWIG_fail
;
27668 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27669 result
= (wxEvtHandler
*)((wxWindow
const *)arg1
)->GetEventHandler();
27671 wxPyEndAllowThreads(__tstate
);
27672 if (PyErr_Occurred()) SWIG_fail
;
27675 resultobj
= wxPyMake_wxObject(result
, 0);
27683 static PyObject
*_wrap_Window_SetEventHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27684 PyObject
*resultobj
;
27685 wxWindow
*arg1
= (wxWindow
*) 0 ;
27686 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
27687 PyObject
* obj0
= 0 ;
27688 PyObject
* obj1
= 0 ;
27689 char *kwnames
[] = {
27690 (char *) "self",(char *) "handler", NULL
27693 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetEventHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
27694 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27695 if (SWIG_arg_fail(1)) SWIG_fail
;
27696 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
27697 if (SWIG_arg_fail(2)) SWIG_fail
;
27699 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27700 (arg1
)->SetEventHandler(arg2
);
27702 wxPyEndAllowThreads(__tstate
);
27703 if (PyErr_Occurred()) SWIG_fail
;
27705 Py_INCREF(Py_None
); resultobj
= Py_None
;
27712 static PyObject
*_wrap_Window_PushEventHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27713 PyObject
*resultobj
;
27714 wxWindow
*arg1
= (wxWindow
*) 0 ;
27715 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
27716 PyObject
* obj0
= 0 ;
27717 PyObject
* obj1
= 0 ;
27718 char *kwnames
[] = {
27719 (char *) "self",(char *) "handler", NULL
27722 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_PushEventHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
27723 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27724 if (SWIG_arg_fail(1)) SWIG_fail
;
27725 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
27726 if (SWIG_arg_fail(2)) SWIG_fail
;
27728 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27729 (arg1
)->PushEventHandler(arg2
);
27731 wxPyEndAllowThreads(__tstate
);
27732 if (PyErr_Occurred()) SWIG_fail
;
27734 Py_INCREF(Py_None
); resultobj
= Py_None
;
27741 static PyObject
*_wrap_Window_PopEventHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27742 PyObject
*resultobj
;
27743 wxWindow
*arg1
= (wxWindow
*) 0 ;
27744 bool arg2
= (bool) false ;
27745 wxEvtHandler
*result
;
27746 PyObject
* obj0
= 0 ;
27747 PyObject
* obj1
= 0 ;
27748 char *kwnames
[] = {
27749 (char *) "self",(char *) "deleteHandler", NULL
27752 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_PopEventHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
27753 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27754 if (SWIG_arg_fail(1)) SWIG_fail
;
27757 arg2
= (bool)(SWIG_As_bool(obj1
));
27758 if (SWIG_arg_fail(2)) SWIG_fail
;
27762 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27763 result
= (wxEvtHandler
*)(arg1
)->PopEventHandler(arg2
);
27765 wxPyEndAllowThreads(__tstate
);
27766 if (PyErr_Occurred()) SWIG_fail
;
27769 resultobj
= wxPyMake_wxObject(result
, 0);
27777 static PyObject
*_wrap_Window_RemoveEventHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27778 PyObject
*resultobj
;
27779 wxWindow
*arg1
= (wxWindow
*) 0 ;
27780 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
27782 PyObject
* obj0
= 0 ;
27783 PyObject
* obj1
= 0 ;
27784 char *kwnames
[] = {
27785 (char *) "self",(char *) "handler", NULL
27788 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_RemoveEventHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
27789 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27790 if (SWIG_arg_fail(1)) SWIG_fail
;
27791 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
27792 if (SWIG_arg_fail(2)) SWIG_fail
;
27794 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27795 result
= (bool)(arg1
)->RemoveEventHandler(arg2
);
27797 wxPyEndAllowThreads(__tstate
);
27798 if (PyErr_Occurred()) SWIG_fail
;
27801 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27809 static PyObject
*_wrap_Window_SetValidator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27810 PyObject
*resultobj
;
27811 wxWindow
*arg1
= (wxWindow
*) 0 ;
27812 wxValidator
*arg2
= 0 ;
27813 PyObject
* obj0
= 0 ;
27814 PyObject
* obj1
= 0 ;
27815 char *kwnames
[] = {
27816 (char *) "self",(char *) "validator", NULL
27819 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetValidator",kwnames
,&obj0
,&obj1
)) goto fail
;
27820 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27821 if (SWIG_arg_fail(1)) SWIG_fail
;
27823 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
27824 if (SWIG_arg_fail(2)) SWIG_fail
;
27825 if (arg2
== NULL
) {
27826 SWIG_null_ref("wxValidator");
27828 if (SWIG_arg_fail(2)) SWIG_fail
;
27831 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27832 (arg1
)->SetValidator((wxValidator
const &)*arg2
);
27834 wxPyEndAllowThreads(__tstate
);
27835 if (PyErr_Occurred()) SWIG_fail
;
27837 Py_INCREF(Py_None
); resultobj
= Py_None
;
27844 static PyObject
*_wrap_Window_GetValidator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27845 PyObject
*resultobj
;
27846 wxWindow
*arg1
= (wxWindow
*) 0 ;
27847 wxValidator
*result
;
27848 PyObject
* obj0
= 0 ;
27849 char *kwnames
[] = {
27850 (char *) "self", NULL
27853 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetValidator",kwnames
,&obj0
)) goto fail
;
27854 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27855 if (SWIG_arg_fail(1)) SWIG_fail
;
27857 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27858 result
= (wxValidator
*)(arg1
)->GetValidator();
27860 wxPyEndAllowThreads(__tstate
);
27861 if (PyErr_Occurred()) SWIG_fail
;
27864 resultobj
= wxPyMake_wxObject(result
, 0);
27872 static PyObject
*_wrap_Window_Validate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27873 PyObject
*resultobj
;
27874 wxWindow
*arg1
= (wxWindow
*) 0 ;
27876 PyObject
* obj0
= 0 ;
27877 char *kwnames
[] = {
27878 (char *) "self", NULL
27881 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Validate",kwnames
,&obj0
)) goto fail
;
27882 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27883 if (SWIG_arg_fail(1)) SWIG_fail
;
27885 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27886 result
= (bool)(arg1
)->Validate();
27888 wxPyEndAllowThreads(__tstate
);
27889 if (PyErr_Occurred()) SWIG_fail
;
27892 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27900 static PyObject
*_wrap_Window_TransferDataToWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27901 PyObject
*resultobj
;
27902 wxWindow
*arg1
= (wxWindow
*) 0 ;
27904 PyObject
* obj0
= 0 ;
27905 char *kwnames
[] = {
27906 (char *) "self", NULL
27909 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_TransferDataToWindow",kwnames
,&obj0
)) goto fail
;
27910 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27911 if (SWIG_arg_fail(1)) SWIG_fail
;
27913 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27914 result
= (bool)(arg1
)->TransferDataToWindow();
27916 wxPyEndAllowThreads(__tstate
);
27917 if (PyErr_Occurred()) SWIG_fail
;
27920 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27928 static PyObject
*_wrap_Window_TransferDataFromWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27929 PyObject
*resultobj
;
27930 wxWindow
*arg1
= (wxWindow
*) 0 ;
27932 PyObject
* obj0
= 0 ;
27933 char *kwnames
[] = {
27934 (char *) "self", NULL
27937 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_TransferDataFromWindow",kwnames
,&obj0
)) goto fail
;
27938 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27939 if (SWIG_arg_fail(1)) SWIG_fail
;
27941 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27942 result
= (bool)(arg1
)->TransferDataFromWindow();
27944 wxPyEndAllowThreads(__tstate
);
27945 if (PyErr_Occurred()) SWIG_fail
;
27948 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27956 static PyObject
*_wrap_Window_InitDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27957 PyObject
*resultobj
;
27958 wxWindow
*arg1
= (wxWindow
*) 0 ;
27959 PyObject
* obj0
= 0 ;
27960 char *kwnames
[] = {
27961 (char *) "self", NULL
27964 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_InitDialog",kwnames
,&obj0
)) goto fail
;
27965 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27966 if (SWIG_arg_fail(1)) SWIG_fail
;
27968 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27969 (arg1
)->InitDialog();
27971 wxPyEndAllowThreads(__tstate
);
27972 if (PyErr_Occurred()) SWIG_fail
;
27974 Py_INCREF(Py_None
); resultobj
= Py_None
;
27981 static PyObject
*_wrap_Window_SetAcceleratorTable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27982 PyObject
*resultobj
;
27983 wxWindow
*arg1
= (wxWindow
*) 0 ;
27984 wxAcceleratorTable
*arg2
= 0 ;
27985 PyObject
* obj0
= 0 ;
27986 PyObject
* obj1
= 0 ;
27987 char *kwnames
[] = {
27988 (char *) "self",(char *) "accel", NULL
27991 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetAcceleratorTable",kwnames
,&obj0
,&obj1
)) goto fail
;
27992 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27993 if (SWIG_arg_fail(1)) SWIG_fail
;
27995 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxAcceleratorTable
, SWIG_POINTER_EXCEPTION
| 0);
27996 if (SWIG_arg_fail(2)) SWIG_fail
;
27997 if (arg2
== NULL
) {
27998 SWIG_null_ref("wxAcceleratorTable");
28000 if (SWIG_arg_fail(2)) SWIG_fail
;
28003 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28004 (arg1
)->SetAcceleratorTable((wxAcceleratorTable
const &)*arg2
);
28006 wxPyEndAllowThreads(__tstate
);
28007 if (PyErr_Occurred()) SWIG_fail
;
28009 Py_INCREF(Py_None
); resultobj
= Py_None
;
28016 static PyObject
*_wrap_Window_GetAcceleratorTable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28017 PyObject
*resultobj
;
28018 wxWindow
*arg1
= (wxWindow
*) 0 ;
28019 wxAcceleratorTable
*result
;
28020 PyObject
* obj0
= 0 ;
28021 char *kwnames
[] = {
28022 (char *) "self", NULL
28025 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetAcceleratorTable",kwnames
,&obj0
)) goto fail
;
28026 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28027 if (SWIG_arg_fail(1)) SWIG_fail
;
28029 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28030 result
= (wxAcceleratorTable
*)(arg1
)->GetAcceleratorTable();
28032 wxPyEndAllowThreads(__tstate
);
28033 if (PyErr_Occurred()) SWIG_fail
;
28035 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxAcceleratorTable
, 0);
28042 static PyObject
*_wrap_Window_RegisterHotKey(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28043 PyObject
*resultobj
;
28044 wxWindow
*arg1
= (wxWindow
*) 0 ;
28049 PyObject
* obj0
= 0 ;
28050 PyObject
* obj1
= 0 ;
28051 PyObject
* obj2
= 0 ;
28052 PyObject
* obj3
= 0 ;
28053 char *kwnames
[] = {
28054 (char *) "self",(char *) "hotkeyId",(char *) "modifiers",(char *) "keycode", NULL
28057 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Window_RegisterHotKey",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
28058 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28059 if (SWIG_arg_fail(1)) SWIG_fail
;
28061 arg2
= (int)(SWIG_As_int(obj1
));
28062 if (SWIG_arg_fail(2)) SWIG_fail
;
28065 arg3
= (int)(SWIG_As_int(obj2
));
28066 if (SWIG_arg_fail(3)) SWIG_fail
;
28069 arg4
= (int)(SWIG_As_int(obj3
));
28070 if (SWIG_arg_fail(4)) SWIG_fail
;
28073 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28074 result
= (bool)wxWindow_RegisterHotKey(arg1
,arg2
,arg3
,arg4
);
28076 wxPyEndAllowThreads(__tstate
);
28077 if (PyErr_Occurred()) SWIG_fail
;
28080 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28088 static PyObject
*_wrap_Window_UnregisterHotKey(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28089 PyObject
*resultobj
;
28090 wxWindow
*arg1
= (wxWindow
*) 0 ;
28093 PyObject
* obj0
= 0 ;
28094 PyObject
* obj1
= 0 ;
28095 char *kwnames
[] = {
28096 (char *) "self",(char *) "hotkeyId", NULL
28099 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_UnregisterHotKey",kwnames
,&obj0
,&obj1
)) goto fail
;
28100 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28101 if (SWIG_arg_fail(1)) SWIG_fail
;
28103 arg2
= (int)(SWIG_As_int(obj1
));
28104 if (SWIG_arg_fail(2)) SWIG_fail
;
28107 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28108 result
= (bool)wxWindow_UnregisterHotKey(arg1
,arg2
);
28110 wxPyEndAllowThreads(__tstate
);
28111 if (PyErr_Occurred()) SWIG_fail
;
28114 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28122 static PyObject
*_wrap_Window_ConvertDialogPointToPixels(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28123 PyObject
*resultobj
;
28124 wxWindow
*arg1
= (wxWindow
*) 0 ;
28125 wxPoint
*arg2
= 0 ;
28128 PyObject
* obj0
= 0 ;
28129 PyObject
* obj1
= 0 ;
28130 char *kwnames
[] = {
28131 (char *) "self",(char *) "pt", NULL
28134 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ConvertDialogPointToPixels",kwnames
,&obj0
,&obj1
)) goto fail
;
28135 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28136 if (SWIG_arg_fail(1)) SWIG_fail
;
28139 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
28142 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28143 result
= (arg1
)->ConvertDialogToPixels((wxPoint
const &)*arg2
);
28145 wxPyEndAllowThreads(__tstate
);
28146 if (PyErr_Occurred()) SWIG_fail
;
28149 wxPoint
* resultptr
;
28150 resultptr
= new wxPoint((wxPoint
&)(result
));
28151 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
28159 static PyObject
*_wrap_Window_ConvertDialogSizeToPixels(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28160 PyObject
*resultobj
;
28161 wxWindow
*arg1
= (wxWindow
*) 0 ;
28165 PyObject
* obj0
= 0 ;
28166 PyObject
* obj1
= 0 ;
28167 char *kwnames
[] = {
28168 (char *) "self",(char *) "sz", NULL
28171 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ConvertDialogSizeToPixels",kwnames
,&obj0
,&obj1
)) goto fail
;
28172 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28173 if (SWIG_arg_fail(1)) SWIG_fail
;
28176 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
28179 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28180 result
= (arg1
)->ConvertDialogToPixels((wxSize
const &)*arg2
);
28182 wxPyEndAllowThreads(__tstate
);
28183 if (PyErr_Occurred()) SWIG_fail
;
28186 wxSize
* resultptr
;
28187 resultptr
= new wxSize((wxSize
&)(result
));
28188 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
28196 static PyObject
*_wrap_Window_DLG_PNT(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28197 PyObject
*resultobj
;
28198 wxWindow
*arg1
= (wxWindow
*) 0 ;
28199 wxPoint
*arg2
= 0 ;
28202 PyObject
* obj0
= 0 ;
28203 PyObject
* obj1
= 0 ;
28204 char *kwnames
[] = {
28205 (char *) "self",(char *) "pt", NULL
28208 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_DLG_PNT",kwnames
,&obj0
,&obj1
)) goto fail
;
28209 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28210 if (SWIG_arg_fail(1)) SWIG_fail
;
28213 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
28216 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28217 result
= (arg1
)->ConvertDialogToPixels((wxPoint
const &)*arg2
);
28219 wxPyEndAllowThreads(__tstate
);
28220 if (PyErr_Occurred()) SWIG_fail
;
28223 wxPoint
* resultptr
;
28224 resultptr
= new wxPoint((wxPoint
&)(result
));
28225 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
28233 static PyObject
*_wrap_Window_DLG_SZE(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28234 PyObject
*resultobj
;
28235 wxWindow
*arg1
= (wxWindow
*) 0 ;
28239 PyObject
* obj0
= 0 ;
28240 PyObject
* obj1
= 0 ;
28241 char *kwnames
[] = {
28242 (char *) "self",(char *) "sz", NULL
28245 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_DLG_SZE",kwnames
,&obj0
,&obj1
)) goto fail
;
28246 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28247 if (SWIG_arg_fail(1)) SWIG_fail
;
28250 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
28253 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28254 result
= (arg1
)->ConvertDialogToPixels((wxSize
const &)*arg2
);
28256 wxPyEndAllowThreads(__tstate
);
28257 if (PyErr_Occurred()) SWIG_fail
;
28260 wxSize
* resultptr
;
28261 resultptr
= new wxSize((wxSize
&)(result
));
28262 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
28270 static PyObject
*_wrap_Window_ConvertPixelPointToDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28271 PyObject
*resultobj
;
28272 wxWindow
*arg1
= (wxWindow
*) 0 ;
28273 wxPoint
*arg2
= 0 ;
28276 PyObject
* obj0
= 0 ;
28277 PyObject
* obj1
= 0 ;
28278 char *kwnames
[] = {
28279 (char *) "self",(char *) "pt", NULL
28282 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ConvertPixelPointToDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
28283 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28284 if (SWIG_arg_fail(1)) SWIG_fail
;
28287 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
28290 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28291 result
= (arg1
)->ConvertPixelsToDialog((wxPoint
const &)*arg2
);
28293 wxPyEndAllowThreads(__tstate
);
28294 if (PyErr_Occurred()) SWIG_fail
;
28297 wxPoint
* resultptr
;
28298 resultptr
= new wxPoint((wxPoint
&)(result
));
28299 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
28307 static PyObject
*_wrap_Window_ConvertPixelSizeToDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28308 PyObject
*resultobj
;
28309 wxWindow
*arg1
= (wxWindow
*) 0 ;
28313 PyObject
* obj0
= 0 ;
28314 PyObject
* obj1
= 0 ;
28315 char *kwnames
[] = {
28316 (char *) "self",(char *) "sz", NULL
28319 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ConvertPixelSizeToDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
28320 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28321 if (SWIG_arg_fail(1)) SWIG_fail
;
28324 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
28327 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28328 result
= (arg1
)->ConvertPixelsToDialog((wxSize
const &)*arg2
);
28330 wxPyEndAllowThreads(__tstate
);
28331 if (PyErr_Occurred()) SWIG_fail
;
28334 wxSize
* resultptr
;
28335 resultptr
= new wxSize((wxSize
&)(result
));
28336 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
28344 static PyObject
*_wrap_Window_WarpPointer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28345 PyObject
*resultobj
;
28346 wxWindow
*arg1
= (wxWindow
*) 0 ;
28349 PyObject
* obj0
= 0 ;
28350 PyObject
* obj1
= 0 ;
28351 PyObject
* obj2
= 0 ;
28352 char *kwnames
[] = {
28353 (char *) "self",(char *) "x",(char *) "y", NULL
28356 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_WarpPointer",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
28357 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28358 if (SWIG_arg_fail(1)) SWIG_fail
;
28360 arg2
= (int)(SWIG_As_int(obj1
));
28361 if (SWIG_arg_fail(2)) SWIG_fail
;
28364 arg3
= (int)(SWIG_As_int(obj2
));
28365 if (SWIG_arg_fail(3)) SWIG_fail
;
28368 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28369 (arg1
)->WarpPointer(arg2
,arg3
);
28371 wxPyEndAllowThreads(__tstate
);
28372 if (PyErr_Occurred()) SWIG_fail
;
28374 Py_INCREF(Py_None
); resultobj
= Py_None
;
28381 static PyObject
*_wrap_Window_CaptureMouse(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28382 PyObject
*resultobj
;
28383 wxWindow
*arg1
= (wxWindow
*) 0 ;
28384 PyObject
* obj0
= 0 ;
28385 char *kwnames
[] = {
28386 (char *) "self", NULL
28389 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_CaptureMouse",kwnames
,&obj0
)) goto fail
;
28390 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28391 if (SWIG_arg_fail(1)) SWIG_fail
;
28393 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28394 (arg1
)->CaptureMouse();
28396 wxPyEndAllowThreads(__tstate
);
28397 if (PyErr_Occurred()) SWIG_fail
;
28399 Py_INCREF(Py_None
); resultobj
= Py_None
;
28406 static PyObject
*_wrap_Window_ReleaseMouse(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28407 PyObject
*resultobj
;
28408 wxWindow
*arg1
= (wxWindow
*) 0 ;
28409 PyObject
* obj0
= 0 ;
28410 char *kwnames
[] = {
28411 (char *) "self", NULL
28414 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_ReleaseMouse",kwnames
,&obj0
)) goto fail
;
28415 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28416 if (SWIG_arg_fail(1)) SWIG_fail
;
28418 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28419 (arg1
)->ReleaseMouse();
28421 wxPyEndAllowThreads(__tstate
);
28422 if (PyErr_Occurred()) SWIG_fail
;
28424 Py_INCREF(Py_None
); resultobj
= Py_None
;
28431 static PyObject
*_wrap_Window_GetCapture(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28432 PyObject
*resultobj
;
28434 char *kwnames
[] = {
28438 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Window_GetCapture",kwnames
)) goto fail
;
28440 if (!wxPyCheckForApp()) SWIG_fail
;
28441 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28442 result
= (wxWindow
*)wxWindow::GetCapture();
28444 wxPyEndAllowThreads(__tstate
);
28445 if (PyErr_Occurred()) SWIG_fail
;
28448 resultobj
= wxPyMake_wxObject(result
, 0);
28456 static PyObject
*_wrap_Window_HasCapture(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28457 PyObject
*resultobj
;
28458 wxWindow
*arg1
= (wxWindow
*) 0 ;
28460 PyObject
* obj0
= 0 ;
28461 char *kwnames
[] = {
28462 (char *) "self", NULL
28465 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_HasCapture",kwnames
,&obj0
)) goto fail
;
28466 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28467 if (SWIG_arg_fail(1)) SWIG_fail
;
28469 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28470 result
= (bool)((wxWindow
const *)arg1
)->HasCapture();
28472 wxPyEndAllowThreads(__tstate
);
28473 if (PyErr_Occurred()) SWIG_fail
;
28476 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28484 static PyObject
*_wrap_Window_Refresh(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28485 PyObject
*resultobj
;
28486 wxWindow
*arg1
= (wxWindow
*) 0 ;
28487 bool arg2
= (bool) true ;
28488 wxRect
*arg3
= (wxRect
*) NULL
;
28489 PyObject
* obj0
= 0 ;
28490 PyObject
* obj1
= 0 ;
28491 PyObject
* obj2
= 0 ;
28492 char *kwnames
[] = {
28493 (char *) "self",(char *) "eraseBackground",(char *) "rect", NULL
28496 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Window_Refresh",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
28497 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28498 if (SWIG_arg_fail(1)) SWIG_fail
;
28501 arg2
= (bool)(SWIG_As_bool(obj1
));
28502 if (SWIG_arg_fail(2)) SWIG_fail
;
28506 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
28507 if (SWIG_arg_fail(3)) SWIG_fail
;
28510 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28511 (arg1
)->Refresh(arg2
,(wxRect
const *)arg3
);
28513 wxPyEndAllowThreads(__tstate
);
28514 if (PyErr_Occurred()) SWIG_fail
;
28516 Py_INCREF(Py_None
); resultobj
= Py_None
;
28523 static PyObject
*_wrap_Window_RefreshRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28524 PyObject
*resultobj
;
28525 wxWindow
*arg1
= (wxWindow
*) 0 ;
28527 bool arg3
= (bool) true ;
28529 PyObject
* obj0
= 0 ;
28530 PyObject
* obj1
= 0 ;
28531 PyObject
* obj2
= 0 ;
28532 char *kwnames
[] = {
28533 (char *) "self",(char *) "rect",(char *) "eraseBackground", NULL
28536 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_RefreshRect",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
28537 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28538 if (SWIG_arg_fail(1)) SWIG_fail
;
28541 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
28545 arg3
= (bool)(SWIG_As_bool(obj2
));
28546 if (SWIG_arg_fail(3)) SWIG_fail
;
28550 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28551 (arg1
)->RefreshRect((wxRect
const &)*arg2
,arg3
);
28553 wxPyEndAllowThreads(__tstate
);
28554 if (PyErr_Occurred()) SWIG_fail
;
28556 Py_INCREF(Py_None
); resultobj
= Py_None
;
28563 static PyObject
*_wrap_Window_Update(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28564 PyObject
*resultobj
;
28565 wxWindow
*arg1
= (wxWindow
*) 0 ;
28566 PyObject
* obj0
= 0 ;
28567 char *kwnames
[] = {
28568 (char *) "self", NULL
28571 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Update",kwnames
,&obj0
)) goto fail
;
28572 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28573 if (SWIG_arg_fail(1)) SWIG_fail
;
28575 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28578 wxPyEndAllowThreads(__tstate
);
28579 if (PyErr_Occurred()) SWIG_fail
;
28581 Py_INCREF(Py_None
); resultobj
= Py_None
;
28588 static PyObject
*_wrap_Window_ClearBackground(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28589 PyObject
*resultobj
;
28590 wxWindow
*arg1
= (wxWindow
*) 0 ;
28591 PyObject
* obj0
= 0 ;
28592 char *kwnames
[] = {
28593 (char *) "self", NULL
28596 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_ClearBackground",kwnames
,&obj0
)) goto fail
;
28597 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28598 if (SWIG_arg_fail(1)) SWIG_fail
;
28600 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28601 (arg1
)->ClearBackground();
28603 wxPyEndAllowThreads(__tstate
);
28604 if (PyErr_Occurred()) SWIG_fail
;
28606 Py_INCREF(Py_None
); resultobj
= Py_None
;
28613 static PyObject
*_wrap_Window_Freeze(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28614 PyObject
*resultobj
;
28615 wxWindow
*arg1
= (wxWindow
*) 0 ;
28616 PyObject
* obj0
= 0 ;
28617 char *kwnames
[] = {
28618 (char *) "self", NULL
28621 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Freeze",kwnames
,&obj0
)) goto fail
;
28622 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28623 if (SWIG_arg_fail(1)) SWIG_fail
;
28625 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28628 wxPyEndAllowThreads(__tstate
);
28629 if (PyErr_Occurred()) SWIG_fail
;
28631 Py_INCREF(Py_None
); resultobj
= Py_None
;
28638 static PyObject
*_wrap_Window_Thaw(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28639 PyObject
*resultobj
;
28640 wxWindow
*arg1
= (wxWindow
*) 0 ;
28641 PyObject
* obj0
= 0 ;
28642 char *kwnames
[] = {
28643 (char *) "self", NULL
28646 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Thaw",kwnames
,&obj0
)) goto fail
;
28647 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28648 if (SWIG_arg_fail(1)) SWIG_fail
;
28650 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28653 wxPyEndAllowThreads(__tstate
);
28654 if (PyErr_Occurred()) SWIG_fail
;
28656 Py_INCREF(Py_None
); resultobj
= Py_None
;
28663 static PyObject
*_wrap_Window_PrepareDC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28664 PyObject
*resultobj
;
28665 wxWindow
*arg1
= (wxWindow
*) 0 ;
28667 PyObject
* obj0
= 0 ;
28668 PyObject
* obj1
= 0 ;
28669 char *kwnames
[] = {
28670 (char *) "self",(char *) "dc", NULL
28673 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_PrepareDC",kwnames
,&obj0
,&obj1
)) goto fail
;
28674 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28675 if (SWIG_arg_fail(1)) SWIG_fail
;
28677 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
28678 if (SWIG_arg_fail(2)) SWIG_fail
;
28679 if (arg2
== NULL
) {
28680 SWIG_null_ref("wxDC");
28682 if (SWIG_arg_fail(2)) SWIG_fail
;
28685 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28686 (arg1
)->PrepareDC(*arg2
);
28688 wxPyEndAllowThreads(__tstate
);
28689 if (PyErr_Occurred()) SWIG_fail
;
28691 Py_INCREF(Py_None
); resultobj
= Py_None
;
28698 static PyObject
*_wrap_Window_GetUpdateRegion(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28699 PyObject
*resultobj
;
28700 wxWindow
*arg1
= (wxWindow
*) 0 ;
28702 PyObject
* obj0
= 0 ;
28703 char *kwnames
[] = {
28704 (char *) "self", NULL
28707 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetUpdateRegion",kwnames
,&obj0
)) goto fail
;
28708 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28709 if (SWIG_arg_fail(1)) SWIG_fail
;
28711 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28713 wxRegion
&_result_ref
= (arg1
)->GetUpdateRegion();
28714 result
= (wxRegion
*) &_result_ref
;
28717 wxPyEndAllowThreads(__tstate
);
28718 if (PyErr_Occurred()) SWIG_fail
;
28720 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRegion
, 0);
28727 static PyObject
*_wrap_Window_GetUpdateClientRect(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_GetUpdateClientRect",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
= ((wxWindow
const *)arg1
)->GetUpdateClientRect();
28743 wxPyEndAllowThreads(__tstate
);
28744 if (PyErr_Occurred()) SWIG_fail
;
28747 wxRect
* resultptr
;
28748 resultptr
= new wxRect((wxRect
&)(result
));
28749 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
28757 static PyObject
*_wrap_Window_IsExposed(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28758 PyObject
*resultobj
;
28759 wxWindow
*arg1
= (wxWindow
*) 0 ;
28762 int arg4
= (int) 1 ;
28763 int arg5
= (int) 1 ;
28765 PyObject
* obj0
= 0 ;
28766 PyObject
* obj1
= 0 ;
28767 PyObject
* obj2
= 0 ;
28768 PyObject
* obj3
= 0 ;
28769 PyObject
* obj4
= 0 ;
28770 char *kwnames
[] = {
28771 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
28774 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:Window_IsExposed",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
28775 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28776 if (SWIG_arg_fail(1)) SWIG_fail
;
28778 arg2
= (int)(SWIG_As_int(obj1
));
28779 if (SWIG_arg_fail(2)) SWIG_fail
;
28782 arg3
= (int)(SWIG_As_int(obj2
));
28783 if (SWIG_arg_fail(3)) SWIG_fail
;
28787 arg4
= (int)(SWIG_As_int(obj3
));
28788 if (SWIG_arg_fail(4)) SWIG_fail
;
28793 arg5
= (int)(SWIG_As_int(obj4
));
28794 if (SWIG_arg_fail(5)) SWIG_fail
;
28798 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28799 result
= (bool)((wxWindow
const *)arg1
)->IsExposed(arg2
,arg3
,arg4
,arg5
);
28801 wxPyEndAllowThreads(__tstate
);
28802 if (PyErr_Occurred()) SWIG_fail
;
28805 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28813 static PyObject
*_wrap_Window_IsExposedPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28814 PyObject
*resultobj
;
28815 wxWindow
*arg1
= (wxWindow
*) 0 ;
28816 wxPoint
*arg2
= 0 ;
28819 PyObject
* obj0
= 0 ;
28820 PyObject
* obj1
= 0 ;
28821 char *kwnames
[] = {
28822 (char *) "self",(char *) "pt", NULL
28825 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_IsExposedPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
28826 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28827 if (SWIG_arg_fail(1)) SWIG_fail
;
28830 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
28833 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28834 result
= (bool)((wxWindow
const *)arg1
)->IsExposed((wxPoint
const &)*arg2
);
28836 wxPyEndAllowThreads(__tstate
);
28837 if (PyErr_Occurred()) SWIG_fail
;
28840 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28848 static PyObject
*_wrap_Window_IsExposedRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28849 PyObject
*resultobj
;
28850 wxWindow
*arg1
= (wxWindow
*) 0 ;
28854 PyObject
* obj0
= 0 ;
28855 PyObject
* obj1
= 0 ;
28856 char *kwnames
[] = {
28857 (char *) "self",(char *) "rect", NULL
28860 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_IsExposedRect",kwnames
,&obj0
,&obj1
)) goto fail
;
28861 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28862 if (SWIG_arg_fail(1)) SWIG_fail
;
28865 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
28868 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28869 result
= (bool)((wxWindow
const *)arg1
)->IsExposed((wxRect
const &)*arg2
);
28871 wxPyEndAllowThreads(__tstate
);
28872 if (PyErr_Occurred()) SWIG_fail
;
28875 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28883 static PyObject
*_wrap_Window_GetDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28884 PyObject
*resultobj
;
28885 wxWindow
*arg1
= (wxWindow
*) 0 ;
28886 wxVisualAttributes result
;
28887 PyObject
* obj0
= 0 ;
28888 char *kwnames
[] = {
28889 (char *) "self", NULL
28892 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetDefaultAttributes",kwnames
,&obj0
)) goto fail
;
28893 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28894 if (SWIG_arg_fail(1)) SWIG_fail
;
28896 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28897 result
= ((wxWindow
const *)arg1
)->GetDefaultAttributes();
28899 wxPyEndAllowThreads(__tstate
);
28900 if (PyErr_Occurred()) SWIG_fail
;
28903 wxVisualAttributes
* resultptr
;
28904 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
28905 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
28913 static PyObject
*_wrap_Window_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28914 PyObject
*resultobj
;
28915 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
28916 wxVisualAttributes result
;
28917 PyObject
* obj0
= 0 ;
28918 char *kwnames
[] = {
28919 (char *) "variant", NULL
28922 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Window_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
28925 arg1
= (wxWindowVariant
)(SWIG_As_int(obj0
));
28926 if (SWIG_arg_fail(1)) SWIG_fail
;
28930 if (!wxPyCheckForApp()) SWIG_fail
;
28931 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28932 result
= wxWindow::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
28934 wxPyEndAllowThreads(__tstate
);
28935 if (PyErr_Occurred()) SWIG_fail
;
28938 wxVisualAttributes
* resultptr
;
28939 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
28940 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
28948 static PyObject
*_wrap_Window_SetBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28949 PyObject
*resultobj
;
28950 wxWindow
*arg1
= (wxWindow
*) 0 ;
28951 wxColour
*arg2
= 0 ;
28954 PyObject
* obj0
= 0 ;
28955 PyObject
* obj1
= 0 ;
28956 char *kwnames
[] = {
28957 (char *) "self",(char *) "colour", NULL
28960 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
28961 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28962 if (SWIG_arg_fail(1)) SWIG_fail
;
28965 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
28968 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28969 result
= (bool)(arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
28971 wxPyEndAllowThreads(__tstate
);
28972 if (PyErr_Occurred()) SWIG_fail
;
28975 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28983 static PyObject
*_wrap_Window_SetOwnBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28984 PyObject
*resultobj
;
28985 wxWindow
*arg1
= (wxWindow
*) 0 ;
28986 wxColour
*arg2
= 0 ;
28988 PyObject
* obj0
= 0 ;
28989 PyObject
* obj1
= 0 ;
28990 char *kwnames
[] = {
28991 (char *) "self",(char *) "colour", NULL
28994 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetOwnBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
28995 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28996 if (SWIG_arg_fail(1)) SWIG_fail
;
28999 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
29002 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29003 (arg1
)->SetOwnBackgroundColour((wxColour
const &)*arg2
);
29005 wxPyEndAllowThreads(__tstate
);
29006 if (PyErr_Occurred()) SWIG_fail
;
29008 Py_INCREF(Py_None
); resultobj
= Py_None
;
29015 static PyObject
*_wrap_Window_SetForegroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29016 PyObject
*resultobj
;
29017 wxWindow
*arg1
= (wxWindow
*) 0 ;
29018 wxColour
*arg2
= 0 ;
29021 PyObject
* obj0
= 0 ;
29022 PyObject
* obj1
= 0 ;
29023 char *kwnames
[] = {
29024 (char *) "self",(char *) "colour", NULL
29027 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetForegroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
29028 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29029 if (SWIG_arg_fail(1)) SWIG_fail
;
29032 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
29035 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29036 result
= (bool)(arg1
)->SetForegroundColour((wxColour
const &)*arg2
);
29038 wxPyEndAllowThreads(__tstate
);
29039 if (PyErr_Occurred()) SWIG_fail
;
29042 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29050 static PyObject
*_wrap_Window_SetOwnForegroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29051 PyObject
*resultobj
;
29052 wxWindow
*arg1
= (wxWindow
*) 0 ;
29053 wxColour
*arg2
= 0 ;
29055 PyObject
* obj0
= 0 ;
29056 PyObject
* obj1
= 0 ;
29057 char *kwnames
[] = {
29058 (char *) "self",(char *) "colour", NULL
29061 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetOwnForegroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
29062 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29063 if (SWIG_arg_fail(1)) SWIG_fail
;
29066 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
29069 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29070 (arg1
)->SetOwnForegroundColour((wxColour
const &)*arg2
);
29072 wxPyEndAllowThreads(__tstate
);
29073 if (PyErr_Occurred()) SWIG_fail
;
29075 Py_INCREF(Py_None
); resultobj
= Py_None
;
29082 static PyObject
*_wrap_Window_GetBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29083 PyObject
*resultobj
;
29084 wxWindow
*arg1
= (wxWindow
*) 0 ;
29086 PyObject
* obj0
= 0 ;
29087 char *kwnames
[] = {
29088 (char *) "self", NULL
29091 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetBackgroundColour",kwnames
,&obj0
)) goto fail
;
29092 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29093 if (SWIG_arg_fail(1)) SWIG_fail
;
29095 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29096 result
= ((wxWindow
const *)arg1
)->GetBackgroundColour();
29098 wxPyEndAllowThreads(__tstate
);
29099 if (PyErr_Occurred()) SWIG_fail
;
29102 wxColour
* resultptr
;
29103 resultptr
= new wxColour((wxColour
&)(result
));
29104 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
29112 static PyObject
*_wrap_Window_GetForegroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29113 PyObject
*resultobj
;
29114 wxWindow
*arg1
= (wxWindow
*) 0 ;
29116 PyObject
* obj0
= 0 ;
29117 char *kwnames
[] = {
29118 (char *) "self", NULL
29121 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetForegroundColour",kwnames
,&obj0
)) goto fail
;
29122 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29123 if (SWIG_arg_fail(1)) SWIG_fail
;
29125 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29126 result
= ((wxWindow
const *)arg1
)->GetForegroundColour();
29128 wxPyEndAllowThreads(__tstate
);
29129 if (PyErr_Occurred()) SWIG_fail
;
29132 wxColour
* resultptr
;
29133 resultptr
= new wxColour((wxColour
&)(result
));
29134 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
29142 static PyObject
*_wrap_Window_SetBackgroundStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29143 PyObject
*resultobj
;
29144 wxWindow
*arg1
= (wxWindow
*) 0 ;
29145 wxBackgroundStyle arg2
;
29147 PyObject
* obj0
= 0 ;
29148 PyObject
* obj1
= 0 ;
29149 char *kwnames
[] = {
29150 (char *) "self",(char *) "style", NULL
29153 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetBackgroundStyle",kwnames
,&obj0
,&obj1
)) goto fail
;
29154 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29155 if (SWIG_arg_fail(1)) SWIG_fail
;
29157 arg2
= (wxBackgroundStyle
)(SWIG_As_int(obj1
));
29158 if (SWIG_arg_fail(2)) SWIG_fail
;
29161 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29162 result
= (bool)(arg1
)->SetBackgroundStyle((wxBackgroundStyle
)arg2
);
29164 wxPyEndAllowThreads(__tstate
);
29165 if (PyErr_Occurred()) SWIG_fail
;
29168 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29176 static PyObject
*_wrap_Window_GetBackgroundStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29177 PyObject
*resultobj
;
29178 wxWindow
*arg1
= (wxWindow
*) 0 ;
29179 wxBackgroundStyle result
;
29180 PyObject
* obj0
= 0 ;
29181 char *kwnames
[] = {
29182 (char *) "self", NULL
29185 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetBackgroundStyle",kwnames
,&obj0
)) goto fail
;
29186 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29187 if (SWIG_arg_fail(1)) SWIG_fail
;
29189 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29190 result
= (wxBackgroundStyle
)((wxWindow
const *)arg1
)->GetBackgroundStyle();
29192 wxPyEndAllowThreads(__tstate
);
29193 if (PyErr_Occurred()) SWIG_fail
;
29195 resultobj
= SWIG_From_int((result
));
29202 static PyObject
*_wrap_Window_HasTransparentBackground(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29203 PyObject
*resultobj
;
29204 wxWindow
*arg1
= (wxWindow
*) 0 ;
29206 PyObject
* obj0
= 0 ;
29207 char *kwnames
[] = {
29208 (char *) "self", NULL
29211 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_HasTransparentBackground",kwnames
,&obj0
)) goto fail
;
29212 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29213 if (SWIG_arg_fail(1)) SWIG_fail
;
29215 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29216 result
= (bool)(arg1
)->HasTransparentBackground();
29218 wxPyEndAllowThreads(__tstate
);
29219 if (PyErr_Occurred()) SWIG_fail
;
29222 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29230 static PyObject
*_wrap_Window_SetCursor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29231 PyObject
*resultobj
;
29232 wxWindow
*arg1
= (wxWindow
*) 0 ;
29233 wxCursor
*arg2
= 0 ;
29235 PyObject
* obj0
= 0 ;
29236 PyObject
* obj1
= 0 ;
29237 char *kwnames
[] = {
29238 (char *) "self",(char *) "cursor", NULL
29241 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetCursor",kwnames
,&obj0
,&obj1
)) goto fail
;
29242 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29243 if (SWIG_arg_fail(1)) SWIG_fail
;
29245 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxCursor
, SWIG_POINTER_EXCEPTION
| 0);
29246 if (SWIG_arg_fail(2)) SWIG_fail
;
29247 if (arg2
== NULL
) {
29248 SWIG_null_ref("wxCursor");
29250 if (SWIG_arg_fail(2)) SWIG_fail
;
29253 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29254 result
= (bool)(arg1
)->SetCursor((wxCursor
const &)*arg2
);
29256 wxPyEndAllowThreads(__tstate
);
29257 if (PyErr_Occurred()) SWIG_fail
;
29260 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29268 static PyObject
*_wrap_Window_GetCursor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29269 PyObject
*resultobj
;
29270 wxWindow
*arg1
= (wxWindow
*) 0 ;
29272 PyObject
* obj0
= 0 ;
29273 char *kwnames
[] = {
29274 (char *) "self", NULL
29277 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetCursor",kwnames
,&obj0
)) goto fail
;
29278 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29279 if (SWIG_arg_fail(1)) SWIG_fail
;
29281 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29282 result
= (arg1
)->GetCursor();
29284 wxPyEndAllowThreads(__tstate
);
29285 if (PyErr_Occurred()) SWIG_fail
;
29288 wxCursor
* resultptr
;
29289 resultptr
= new wxCursor((wxCursor
&)(result
));
29290 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxCursor
, 1);
29298 static PyObject
*_wrap_Window_SetFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29299 PyObject
*resultobj
;
29300 wxWindow
*arg1
= (wxWindow
*) 0 ;
29303 PyObject
* obj0
= 0 ;
29304 PyObject
* obj1
= 0 ;
29305 char *kwnames
[] = {
29306 (char *) "self",(char *) "font", NULL
29309 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetFont",kwnames
,&obj0
,&obj1
)) goto fail
;
29310 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29311 if (SWIG_arg_fail(1)) SWIG_fail
;
29313 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
29314 if (SWIG_arg_fail(2)) SWIG_fail
;
29315 if (arg2
== NULL
) {
29316 SWIG_null_ref("wxFont");
29318 if (SWIG_arg_fail(2)) SWIG_fail
;
29321 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29322 result
= (bool)(arg1
)->SetFont((wxFont
const &)*arg2
);
29324 wxPyEndAllowThreads(__tstate
);
29325 if (PyErr_Occurred()) SWIG_fail
;
29328 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29336 static PyObject
*_wrap_Window_SetOwnFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29337 PyObject
*resultobj
;
29338 wxWindow
*arg1
= (wxWindow
*) 0 ;
29340 PyObject
* obj0
= 0 ;
29341 PyObject
* obj1
= 0 ;
29342 char *kwnames
[] = {
29343 (char *) "self",(char *) "font", NULL
29346 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetOwnFont",kwnames
,&obj0
,&obj1
)) goto fail
;
29347 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29348 if (SWIG_arg_fail(1)) SWIG_fail
;
29350 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
29351 if (SWIG_arg_fail(2)) SWIG_fail
;
29352 if (arg2
== NULL
) {
29353 SWIG_null_ref("wxFont");
29355 if (SWIG_arg_fail(2)) SWIG_fail
;
29358 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29359 (arg1
)->SetOwnFont((wxFont
const &)*arg2
);
29361 wxPyEndAllowThreads(__tstate
);
29362 if (PyErr_Occurred()) SWIG_fail
;
29364 Py_INCREF(Py_None
); resultobj
= Py_None
;
29371 static PyObject
*_wrap_Window_GetFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29372 PyObject
*resultobj
;
29373 wxWindow
*arg1
= (wxWindow
*) 0 ;
29375 PyObject
* obj0
= 0 ;
29376 char *kwnames
[] = {
29377 (char *) "self", NULL
29380 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetFont",kwnames
,&obj0
)) goto fail
;
29381 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29382 if (SWIG_arg_fail(1)) SWIG_fail
;
29384 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29385 result
= (arg1
)->GetFont();
29387 wxPyEndAllowThreads(__tstate
);
29388 if (PyErr_Occurred()) SWIG_fail
;
29391 wxFont
* resultptr
;
29392 resultptr
= new wxFont((wxFont
&)(result
));
29393 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxFont
, 1);
29401 static PyObject
*_wrap_Window_SetCaret(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29402 PyObject
*resultobj
;
29403 wxWindow
*arg1
= (wxWindow
*) 0 ;
29404 wxCaret
*arg2
= (wxCaret
*) 0 ;
29405 PyObject
* obj0
= 0 ;
29406 PyObject
* obj1
= 0 ;
29407 char *kwnames
[] = {
29408 (char *) "self",(char *) "caret", NULL
29411 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetCaret",kwnames
,&obj0
,&obj1
)) goto fail
;
29412 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29413 if (SWIG_arg_fail(1)) SWIG_fail
;
29414 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxCaret
, SWIG_POINTER_EXCEPTION
| 0);
29415 if (SWIG_arg_fail(2)) SWIG_fail
;
29417 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29418 (arg1
)->SetCaret(arg2
);
29420 wxPyEndAllowThreads(__tstate
);
29421 if (PyErr_Occurred()) SWIG_fail
;
29423 Py_INCREF(Py_None
); resultobj
= Py_None
;
29430 static PyObject
*_wrap_Window_GetCaret(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29431 PyObject
*resultobj
;
29432 wxWindow
*arg1
= (wxWindow
*) 0 ;
29434 PyObject
* obj0
= 0 ;
29435 char *kwnames
[] = {
29436 (char *) "self", NULL
29439 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetCaret",kwnames
,&obj0
)) goto fail
;
29440 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29441 if (SWIG_arg_fail(1)) SWIG_fail
;
29443 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29444 result
= (wxCaret
*)((wxWindow
const *)arg1
)->GetCaret();
29446 wxPyEndAllowThreads(__tstate
);
29447 if (PyErr_Occurred()) SWIG_fail
;
29449 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCaret
, 0);
29456 static PyObject
*_wrap_Window_GetCharHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29457 PyObject
*resultobj
;
29458 wxWindow
*arg1
= (wxWindow
*) 0 ;
29460 PyObject
* obj0
= 0 ;
29461 char *kwnames
[] = {
29462 (char *) "self", NULL
29465 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetCharHeight",kwnames
,&obj0
)) goto fail
;
29466 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29467 if (SWIG_arg_fail(1)) SWIG_fail
;
29469 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29470 result
= (int)((wxWindow
const *)arg1
)->GetCharHeight();
29472 wxPyEndAllowThreads(__tstate
);
29473 if (PyErr_Occurred()) SWIG_fail
;
29476 resultobj
= SWIG_From_int((int)(result
));
29484 static PyObject
*_wrap_Window_GetCharWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29485 PyObject
*resultobj
;
29486 wxWindow
*arg1
= (wxWindow
*) 0 ;
29488 PyObject
* obj0
= 0 ;
29489 char *kwnames
[] = {
29490 (char *) "self", NULL
29493 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetCharWidth",kwnames
,&obj0
)) goto fail
;
29494 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29495 if (SWIG_arg_fail(1)) SWIG_fail
;
29497 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29498 result
= (int)((wxWindow
const *)arg1
)->GetCharWidth();
29500 wxPyEndAllowThreads(__tstate
);
29501 if (PyErr_Occurred()) SWIG_fail
;
29504 resultobj
= SWIG_From_int((int)(result
));
29512 static PyObject
*_wrap_Window_GetTextExtent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29513 PyObject
*resultobj
;
29514 wxWindow
*arg1
= (wxWindow
*) 0 ;
29515 wxString
*arg2
= 0 ;
29516 int *arg3
= (int *) 0 ;
29517 int *arg4
= (int *) 0 ;
29518 bool temp2
= false ;
29523 PyObject
* obj0
= 0 ;
29524 PyObject
* obj1
= 0 ;
29525 char *kwnames
[] = {
29526 (char *) "self",(char *) "string", NULL
29529 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
29530 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
29531 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_GetTextExtent",kwnames
,&obj0
,&obj1
)) goto fail
;
29532 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29533 if (SWIG_arg_fail(1)) SWIG_fail
;
29535 arg2
= wxString_in_helper(obj1
);
29536 if (arg2
== NULL
) SWIG_fail
;
29540 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29541 (arg1
)->GetTextExtent((wxString
const &)*arg2
,arg3
,arg4
);
29543 wxPyEndAllowThreads(__tstate
);
29544 if (PyErr_Occurred()) SWIG_fail
;
29546 Py_INCREF(Py_None
); resultobj
= Py_None
;
29547 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
29548 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
29549 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
29550 SWIG_From_int((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, 0)));
29565 static PyObject
*_wrap_Window_GetFullTextExtent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29566 PyObject
*resultobj
;
29567 wxWindow
*arg1
= (wxWindow
*) 0 ;
29568 wxString
*arg2
= 0 ;
29569 int *arg3
= (int *) 0 ;
29570 int *arg4
= (int *) 0 ;
29571 int *arg5
= (int *) 0 ;
29572 int *arg6
= (int *) 0 ;
29573 wxFont
*arg7
= (wxFont
*) NULL
;
29574 bool temp2
= false ;
29583 PyObject
* obj0
= 0 ;
29584 PyObject
* obj1
= 0 ;
29585 PyObject
* obj2
= 0 ;
29586 char *kwnames
[] = {
29587 (char *) "self",(char *) "string",(char *) "font", NULL
29590 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
29591 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
29592 arg5
= &temp5
; res5
= SWIG_NEWOBJ
;
29593 arg6
= &temp6
; res6
= SWIG_NEWOBJ
;
29594 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_GetFullTextExtent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29595 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29596 if (SWIG_arg_fail(1)) SWIG_fail
;
29598 arg2
= wxString_in_helper(obj1
);
29599 if (arg2
== NULL
) SWIG_fail
;
29603 SWIG_Python_ConvertPtr(obj2
, (void **)&arg7
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
29604 if (SWIG_arg_fail(7)) SWIG_fail
;
29607 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29608 (arg1
)->GetTextExtent((wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
,(wxFont
const *)arg7
);
29610 wxPyEndAllowThreads(__tstate
);
29611 if (PyErr_Occurred()) SWIG_fail
;
29613 Py_INCREF(Py_None
); resultobj
= Py_None
;
29614 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
29615 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
29616 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
29617 SWIG_From_int((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, 0)));
29618 resultobj
= t_output_helper(resultobj
, ((res5
== SWIG_NEWOBJ
) ?
29619 SWIG_From_int((*arg5
)) : SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, 0)));
29620 resultobj
= t_output_helper(resultobj
, ((res6
== SWIG_NEWOBJ
) ?
29621 SWIG_From_int((*arg6
)) : SWIG_NewPointerObj((void*)(arg6
), SWIGTYPE_p_int
, 0)));
29636 static PyObject
*_wrap_Window_ClientToScreenXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29637 PyObject
*resultobj
;
29638 wxWindow
*arg1
= (wxWindow
*) 0 ;
29639 int *arg2
= (int *) 0 ;
29640 int *arg3
= (int *) 0 ;
29645 PyObject
* obj0
= 0 ;
29646 PyObject
* obj1
= 0 ;
29647 PyObject
* obj2
= 0 ;
29648 char *kwnames
[] = {
29649 (char *) "self",(char *) "x",(char *) "y", NULL
29652 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_ClientToScreenXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29653 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29654 if (SWIG_arg_fail(1)) SWIG_fail
;
29656 if (!(SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_int
,0) != -1)) {
29657 temp2
= SWIG_As_int(obj1
);
29658 if (SWIG_arg_fail(2)) SWIG_fail
;
29660 res2
= SWIG_NEWOBJ
;
29664 if (!(SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_int
,0) != -1)) {
29665 temp3
= SWIG_As_int(obj2
);
29666 if (SWIG_arg_fail(3)) SWIG_fail
;
29668 res3
= SWIG_NEWOBJ
;
29672 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29673 ((wxWindow
const *)arg1
)->ClientToScreen(arg2
,arg3
);
29675 wxPyEndAllowThreads(__tstate
);
29676 if (PyErr_Occurred()) SWIG_fail
;
29678 Py_INCREF(Py_None
); resultobj
= Py_None
;
29679 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
29680 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
29681 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
29682 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
29689 static PyObject
*_wrap_Window_ScreenToClientXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29690 PyObject
*resultobj
;
29691 wxWindow
*arg1
= (wxWindow
*) 0 ;
29692 int *arg2
= (int *) 0 ;
29693 int *arg3
= (int *) 0 ;
29698 PyObject
* obj0
= 0 ;
29699 PyObject
* obj1
= 0 ;
29700 PyObject
* obj2
= 0 ;
29701 char *kwnames
[] = {
29702 (char *) "self",(char *) "x",(char *) "y", NULL
29705 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_ScreenToClientXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29706 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29707 if (SWIG_arg_fail(1)) SWIG_fail
;
29709 if (!(SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_int
,0) != -1)) {
29710 temp2
= SWIG_As_int(obj1
);
29711 if (SWIG_arg_fail(2)) SWIG_fail
;
29713 res2
= SWIG_NEWOBJ
;
29717 if (!(SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_int
,0) != -1)) {
29718 temp3
= SWIG_As_int(obj2
);
29719 if (SWIG_arg_fail(3)) SWIG_fail
;
29721 res3
= SWIG_NEWOBJ
;
29725 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29726 ((wxWindow
const *)arg1
)->ScreenToClient(arg2
,arg3
);
29728 wxPyEndAllowThreads(__tstate
);
29729 if (PyErr_Occurred()) SWIG_fail
;
29731 Py_INCREF(Py_None
); resultobj
= Py_None
;
29732 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
29733 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
29734 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
29735 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
29742 static PyObject
*_wrap_Window_ClientToScreen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29743 PyObject
*resultobj
;
29744 wxWindow
*arg1
= (wxWindow
*) 0 ;
29745 wxPoint
*arg2
= 0 ;
29748 PyObject
* obj0
= 0 ;
29749 PyObject
* obj1
= 0 ;
29750 char *kwnames
[] = {
29751 (char *) "self",(char *) "pt", NULL
29754 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ClientToScreen",kwnames
,&obj0
,&obj1
)) goto fail
;
29755 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29756 if (SWIG_arg_fail(1)) SWIG_fail
;
29759 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
29762 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29763 result
= ((wxWindow
const *)arg1
)->ClientToScreen((wxPoint
const &)*arg2
);
29765 wxPyEndAllowThreads(__tstate
);
29766 if (PyErr_Occurred()) SWIG_fail
;
29769 wxPoint
* resultptr
;
29770 resultptr
= new wxPoint((wxPoint
&)(result
));
29771 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
29779 static PyObject
*_wrap_Window_ScreenToClient(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29780 PyObject
*resultobj
;
29781 wxWindow
*arg1
= (wxWindow
*) 0 ;
29782 wxPoint
*arg2
= 0 ;
29785 PyObject
* obj0
= 0 ;
29786 PyObject
* obj1
= 0 ;
29787 char *kwnames
[] = {
29788 (char *) "self",(char *) "pt", NULL
29791 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ScreenToClient",kwnames
,&obj0
,&obj1
)) goto fail
;
29792 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29793 if (SWIG_arg_fail(1)) SWIG_fail
;
29796 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
29799 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29800 result
= ((wxWindow
const *)arg1
)->ScreenToClient((wxPoint
const &)*arg2
);
29802 wxPyEndAllowThreads(__tstate
);
29803 if (PyErr_Occurred()) SWIG_fail
;
29806 wxPoint
* resultptr
;
29807 resultptr
= new wxPoint((wxPoint
&)(result
));
29808 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
29816 static PyObject
*_wrap_Window_HitTestXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29817 PyObject
*resultobj
;
29818 wxWindow
*arg1
= (wxWindow
*) 0 ;
29822 PyObject
* obj0
= 0 ;
29823 PyObject
* obj1
= 0 ;
29824 PyObject
* obj2
= 0 ;
29825 char *kwnames
[] = {
29826 (char *) "self",(char *) "x",(char *) "y", NULL
29829 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_HitTestXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29830 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29831 if (SWIG_arg_fail(1)) SWIG_fail
;
29833 arg2
= (int)(SWIG_As_int(obj1
));
29834 if (SWIG_arg_fail(2)) SWIG_fail
;
29837 arg3
= (int)(SWIG_As_int(obj2
));
29838 if (SWIG_arg_fail(3)) SWIG_fail
;
29841 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29842 result
= (wxHitTest
)((wxWindow
const *)arg1
)->HitTest(arg2
,arg3
);
29844 wxPyEndAllowThreads(__tstate
);
29845 if (PyErr_Occurred()) SWIG_fail
;
29847 resultobj
= SWIG_From_int((result
));
29854 static PyObject
*_wrap_Window_HitTest(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29855 PyObject
*resultobj
;
29856 wxWindow
*arg1
= (wxWindow
*) 0 ;
29857 wxPoint
*arg2
= 0 ;
29860 PyObject
* obj0
= 0 ;
29861 PyObject
* obj1
= 0 ;
29862 char *kwnames
[] = {
29863 (char *) "self",(char *) "pt", NULL
29866 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
29867 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29868 if (SWIG_arg_fail(1)) SWIG_fail
;
29871 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
29874 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29875 result
= (wxHitTest
)((wxWindow
const *)arg1
)->HitTest((wxPoint
const &)*arg2
);
29877 wxPyEndAllowThreads(__tstate
);
29878 if (PyErr_Occurred()) SWIG_fail
;
29880 resultobj
= SWIG_From_int((result
));
29887 static PyObject
*_wrap_Window_GetBorder__SWIG_0(PyObject
*, PyObject
*args
) {
29888 PyObject
*resultobj
;
29889 wxWindow
*arg1
= (wxWindow
*) 0 ;
29892 PyObject
* obj0
= 0 ;
29893 PyObject
* obj1
= 0 ;
29895 if(!PyArg_ParseTuple(args
,(char *)"OO:Window_GetBorder",&obj0
,&obj1
)) goto fail
;
29896 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29897 if (SWIG_arg_fail(1)) SWIG_fail
;
29899 arg2
= (long)(SWIG_As_long(obj1
));
29900 if (SWIG_arg_fail(2)) SWIG_fail
;
29903 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29904 result
= (wxBorder
)((wxWindow
const *)arg1
)->GetBorder(arg2
);
29906 wxPyEndAllowThreads(__tstate
);
29907 if (PyErr_Occurred()) SWIG_fail
;
29909 resultobj
= SWIG_From_int((result
));
29916 static PyObject
*_wrap_Window_GetBorder__SWIG_1(PyObject
*, PyObject
*args
) {
29917 PyObject
*resultobj
;
29918 wxWindow
*arg1
= (wxWindow
*) 0 ;
29920 PyObject
* obj0
= 0 ;
29922 if(!PyArg_ParseTuple(args
,(char *)"O:Window_GetBorder",&obj0
)) goto fail
;
29923 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29924 if (SWIG_arg_fail(1)) SWIG_fail
;
29926 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29927 result
= (wxBorder
)((wxWindow
const *)arg1
)->GetBorder();
29929 wxPyEndAllowThreads(__tstate
);
29930 if (PyErr_Occurred()) SWIG_fail
;
29932 resultobj
= SWIG_From_int((result
));
29939 static PyObject
*_wrap_Window_GetBorder(PyObject
*self
, PyObject
*args
) {
29944 argc
= PyObject_Length(args
);
29945 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
29946 argv
[ii
] = PyTuple_GetItem(args
,ii
);
29952 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
29960 return _wrap_Window_GetBorder__SWIG_1(self
,args
);
29967 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
29975 _v
= SWIG_Check_long(argv
[1]);
29977 return _wrap_Window_GetBorder__SWIG_0(self
,args
);
29982 PyErr_SetString(PyExc_NotImplementedError
,"No matching function for overloaded 'Window_GetBorder'");
29987 static PyObject
*_wrap_Window_UpdateWindowUI(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29988 PyObject
*resultobj
;
29989 wxWindow
*arg1
= (wxWindow
*) 0 ;
29990 long arg2
= (long) wxUPDATE_UI_NONE
;
29991 PyObject
* obj0
= 0 ;
29992 PyObject
* obj1
= 0 ;
29993 char *kwnames
[] = {
29994 (char *) "self",(char *) "flags", NULL
29997 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_UpdateWindowUI",kwnames
,&obj0
,&obj1
)) goto fail
;
29998 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29999 if (SWIG_arg_fail(1)) SWIG_fail
;
30002 arg2
= (long)(SWIG_As_long(obj1
));
30003 if (SWIG_arg_fail(2)) SWIG_fail
;
30007 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30008 (arg1
)->UpdateWindowUI(arg2
);
30010 wxPyEndAllowThreads(__tstate
);
30011 if (PyErr_Occurred()) SWIG_fail
;
30013 Py_INCREF(Py_None
); resultobj
= Py_None
;
30020 static PyObject
*_wrap_Window_PopupMenuXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30021 PyObject
*resultobj
;
30022 wxWindow
*arg1
= (wxWindow
*) 0 ;
30023 wxMenu
*arg2
= (wxMenu
*) 0 ;
30024 int arg3
= (int) -1 ;
30025 int arg4
= (int) -1 ;
30027 PyObject
* obj0
= 0 ;
30028 PyObject
* obj1
= 0 ;
30029 PyObject
* obj2
= 0 ;
30030 PyObject
* obj3
= 0 ;
30031 char *kwnames
[] = {
30032 (char *) "self",(char *) "menu",(char *) "x",(char *) "y", NULL
30035 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:Window_PopupMenuXY",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
30036 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30037 if (SWIG_arg_fail(1)) SWIG_fail
;
30038 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
30039 if (SWIG_arg_fail(2)) SWIG_fail
;
30042 arg3
= (int)(SWIG_As_int(obj2
));
30043 if (SWIG_arg_fail(3)) SWIG_fail
;
30048 arg4
= (int)(SWIG_As_int(obj3
));
30049 if (SWIG_arg_fail(4)) SWIG_fail
;
30053 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30054 result
= (bool)(arg1
)->PopupMenu(arg2
,arg3
,arg4
);
30056 wxPyEndAllowThreads(__tstate
);
30057 if (PyErr_Occurred()) SWIG_fail
;
30060 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30068 static PyObject
*_wrap_Window_PopupMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30069 PyObject
*resultobj
;
30070 wxWindow
*arg1
= (wxWindow
*) 0 ;
30071 wxMenu
*arg2
= (wxMenu
*) 0 ;
30072 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
30073 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
30076 PyObject
* obj0
= 0 ;
30077 PyObject
* obj1
= 0 ;
30078 PyObject
* obj2
= 0 ;
30079 char *kwnames
[] = {
30080 (char *) "self",(char *) "menu",(char *) "pos", NULL
30083 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_PopupMenu",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
30084 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30085 if (SWIG_arg_fail(1)) SWIG_fail
;
30086 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
30087 if (SWIG_arg_fail(2)) SWIG_fail
;
30091 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
30095 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30096 result
= (bool)(arg1
)->PopupMenu(arg2
,(wxPoint
const &)*arg3
);
30098 wxPyEndAllowThreads(__tstate
);
30099 if (PyErr_Occurred()) SWIG_fail
;
30102 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30110 static PyObject
*_wrap_Window_GetHandle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30111 PyObject
*resultobj
;
30112 wxWindow
*arg1
= (wxWindow
*) 0 ;
30114 PyObject
* obj0
= 0 ;
30115 char *kwnames
[] = {
30116 (char *) "self", NULL
30119 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetHandle",kwnames
,&obj0
)) goto fail
;
30120 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30121 if (SWIG_arg_fail(1)) SWIG_fail
;
30123 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30124 result
= (long)wxWindow_GetHandle(arg1
);
30126 wxPyEndAllowThreads(__tstate
);
30127 if (PyErr_Occurred()) SWIG_fail
;
30130 resultobj
= SWIG_From_long((long)(result
));
30138 static PyObject
*_wrap_Window_AssociateHandle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30139 PyObject
*resultobj
;
30140 wxWindow
*arg1
= (wxWindow
*) 0 ;
30142 PyObject
* obj0
= 0 ;
30143 PyObject
* obj1
= 0 ;
30144 char *kwnames
[] = {
30145 (char *) "self",(char *) "handle", NULL
30148 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_AssociateHandle",kwnames
,&obj0
,&obj1
)) goto fail
;
30149 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30150 if (SWIG_arg_fail(1)) SWIG_fail
;
30152 arg2
= (long)(SWIG_As_long(obj1
));
30153 if (SWIG_arg_fail(2)) SWIG_fail
;
30156 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30157 wxWindow_AssociateHandle(arg1
,arg2
);
30159 wxPyEndAllowThreads(__tstate
);
30160 if (PyErr_Occurred()) SWIG_fail
;
30162 Py_INCREF(Py_None
); resultobj
= Py_None
;
30169 static PyObject
*_wrap_Window_DissociateHandle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30170 PyObject
*resultobj
;
30171 wxWindow
*arg1
= (wxWindow
*) 0 ;
30172 PyObject
* obj0
= 0 ;
30173 char *kwnames
[] = {
30174 (char *) "self", NULL
30177 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_DissociateHandle",kwnames
,&obj0
)) goto fail
;
30178 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30179 if (SWIG_arg_fail(1)) SWIG_fail
;
30181 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30182 (arg1
)->DissociateHandle();
30184 wxPyEndAllowThreads(__tstate
);
30185 if (PyErr_Occurred()) SWIG_fail
;
30187 Py_INCREF(Py_None
); resultobj
= Py_None
;
30194 static PyObject
*_wrap_Window_OnPaint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30195 PyObject
*resultobj
;
30196 wxWindow
*arg1
= (wxWindow
*) 0 ;
30197 wxPaintEvent
*arg2
= 0 ;
30198 PyObject
* obj0
= 0 ;
30199 PyObject
* obj1
= 0 ;
30200 char *kwnames
[] = {
30201 (char *) "self",(char *) "event", NULL
30204 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_OnPaint",kwnames
,&obj0
,&obj1
)) goto fail
;
30205 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30206 if (SWIG_arg_fail(1)) SWIG_fail
;
30208 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPaintEvent
, SWIG_POINTER_EXCEPTION
| 0);
30209 if (SWIG_arg_fail(2)) SWIG_fail
;
30210 if (arg2
== NULL
) {
30211 SWIG_null_ref("wxPaintEvent");
30213 if (SWIG_arg_fail(2)) SWIG_fail
;
30216 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30217 (arg1
)->OnPaint(*arg2
);
30219 wxPyEndAllowThreads(__tstate
);
30220 if (PyErr_Occurred()) SWIG_fail
;
30222 Py_INCREF(Py_None
); resultobj
= Py_None
;
30229 static PyObject
*_wrap_Window_HasScrollbar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30230 PyObject
*resultobj
;
30231 wxWindow
*arg1
= (wxWindow
*) 0 ;
30234 PyObject
* obj0
= 0 ;
30235 PyObject
* obj1
= 0 ;
30236 char *kwnames
[] = {
30237 (char *) "self",(char *) "orient", NULL
30240 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_HasScrollbar",kwnames
,&obj0
,&obj1
)) goto fail
;
30241 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30242 if (SWIG_arg_fail(1)) SWIG_fail
;
30244 arg2
= (int)(SWIG_As_int(obj1
));
30245 if (SWIG_arg_fail(2)) SWIG_fail
;
30248 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30249 result
= (bool)((wxWindow
const *)arg1
)->HasScrollbar(arg2
);
30251 wxPyEndAllowThreads(__tstate
);
30252 if (PyErr_Occurred()) SWIG_fail
;
30255 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30263 static PyObject
*_wrap_Window_SetScrollbar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30264 PyObject
*resultobj
;
30265 wxWindow
*arg1
= (wxWindow
*) 0 ;
30270 bool arg6
= (bool) true ;
30271 PyObject
* obj0
= 0 ;
30272 PyObject
* obj1
= 0 ;
30273 PyObject
* obj2
= 0 ;
30274 PyObject
* obj3
= 0 ;
30275 PyObject
* obj4
= 0 ;
30276 PyObject
* obj5
= 0 ;
30277 char *kwnames
[] = {
30278 (char *) "self",(char *) "orientation",(char *) "position",(char *) "thumbSize",(char *) "range",(char *) "refresh", NULL
30281 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:Window_SetScrollbar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
30282 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30283 if (SWIG_arg_fail(1)) SWIG_fail
;
30285 arg2
= (int)(SWIG_As_int(obj1
));
30286 if (SWIG_arg_fail(2)) SWIG_fail
;
30289 arg3
= (int)(SWIG_As_int(obj2
));
30290 if (SWIG_arg_fail(3)) SWIG_fail
;
30293 arg4
= (int)(SWIG_As_int(obj3
));
30294 if (SWIG_arg_fail(4)) SWIG_fail
;
30297 arg5
= (int)(SWIG_As_int(obj4
));
30298 if (SWIG_arg_fail(5)) SWIG_fail
;
30302 arg6
= (bool)(SWIG_As_bool(obj5
));
30303 if (SWIG_arg_fail(6)) SWIG_fail
;
30307 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30308 (arg1
)->SetScrollbar(arg2
,arg3
,arg4
,arg5
,arg6
);
30310 wxPyEndAllowThreads(__tstate
);
30311 if (PyErr_Occurred()) SWIG_fail
;
30313 Py_INCREF(Py_None
); resultobj
= Py_None
;
30320 static PyObject
*_wrap_Window_SetScrollPos(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30321 PyObject
*resultobj
;
30322 wxWindow
*arg1
= (wxWindow
*) 0 ;
30325 bool arg4
= (bool) true ;
30326 PyObject
* obj0
= 0 ;
30327 PyObject
* obj1
= 0 ;
30328 PyObject
* obj2
= 0 ;
30329 PyObject
* obj3
= 0 ;
30330 char *kwnames
[] = {
30331 (char *) "self",(char *) "orientation",(char *) "pos",(char *) "refresh", NULL
30334 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Window_SetScrollPos",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
30335 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30336 if (SWIG_arg_fail(1)) SWIG_fail
;
30338 arg2
= (int)(SWIG_As_int(obj1
));
30339 if (SWIG_arg_fail(2)) SWIG_fail
;
30342 arg3
= (int)(SWIG_As_int(obj2
));
30343 if (SWIG_arg_fail(3)) SWIG_fail
;
30347 arg4
= (bool)(SWIG_As_bool(obj3
));
30348 if (SWIG_arg_fail(4)) SWIG_fail
;
30352 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30353 (arg1
)->SetScrollPos(arg2
,arg3
,arg4
);
30355 wxPyEndAllowThreads(__tstate
);
30356 if (PyErr_Occurred()) SWIG_fail
;
30358 Py_INCREF(Py_None
); resultobj
= Py_None
;
30365 static PyObject
*_wrap_Window_GetScrollPos(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30366 PyObject
*resultobj
;
30367 wxWindow
*arg1
= (wxWindow
*) 0 ;
30370 PyObject
* obj0
= 0 ;
30371 PyObject
* obj1
= 0 ;
30372 char *kwnames
[] = {
30373 (char *) "self",(char *) "orientation", NULL
30376 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_GetScrollPos",kwnames
,&obj0
,&obj1
)) goto fail
;
30377 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30378 if (SWIG_arg_fail(1)) SWIG_fail
;
30380 arg2
= (int)(SWIG_As_int(obj1
));
30381 if (SWIG_arg_fail(2)) SWIG_fail
;
30384 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30385 result
= (int)((wxWindow
const *)arg1
)->GetScrollPos(arg2
);
30387 wxPyEndAllowThreads(__tstate
);
30388 if (PyErr_Occurred()) SWIG_fail
;
30391 resultobj
= SWIG_From_int((int)(result
));
30399 static PyObject
*_wrap_Window_GetScrollThumb(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30400 PyObject
*resultobj
;
30401 wxWindow
*arg1
= (wxWindow
*) 0 ;
30404 PyObject
* obj0
= 0 ;
30405 PyObject
* obj1
= 0 ;
30406 char *kwnames
[] = {
30407 (char *) "self",(char *) "orientation", NULL
30410 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_GetScrollThumb",kwnames
,&obj0
,&obj1
)) goto fail
;
30411 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30412 if (SWIG_arg_fail(1)) SWIG_fail
;
30414 arg2
= (int)(SWIG_As_int(obj1
));
30415 if (SWIG_arg_fail(2)) SWIG_fail
;
30418 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30419 result
= (int)((wxWindow
const *)arg1
)->GetScrollThumb(arg2
);
30421 wxPyEndAllowThreads(__tstate
);
30422 if (PyErr_Occurred()) SWIG_fail
;
30425 resultobj
= SWIG_From_int((int)(result
));
30433 static PyObject
*_wrap_Window_GetScrollRange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30434 PyObject
*resultobj
;
30435 wxWindow
*arg1
= (wxWindow
*) 0 ;
30438 PyObject
* obj0
= 0 ;
30439 PyObject
* obj1
= 0 ;
30440 char *kwnames
[] = {
30441 (char *) "self",(char *) "orientation", NULL
30444 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_GetScrollRange",kwnames
,&obj0
,&obj1
)) goto fail
;
30445 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30446 if (SWIG_arg_fail(1)) SWIG_fail
;
30448 arg2
= (int)(SWIG_As_int(obj1
));
30449 if (SWIG_arg_fail(2)) SWIG_fail
;
30452 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30453 result
= (int)((wxWindow
const *)arg1
)->GetScrollRange(arg2
);
30455 wxPyEndAllowThreads(__tstate
);
30456 if (PyErr_Occurred()) SWIG_fail
;
30459 resultobj
= SWIG_From_int((int)(result
));
30467 static PyObject
*_wrap_Window_ScrollWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30468 PyObject
*resultobj
;
30469 wxWindow
*arg1
= (wxWindow
*) 0 ;
30472 wxRect
*arg4
= (wxRect
*) NULL
;
30473 PyObject
* obj0
= 0 ;
30474 PyObject
* obj1
= 0 ;
30475 PyObject
* obj2
= 0 ;
30476 PyObject
* obj3
= 0 ;
30477 char *kwnames
[] = {
30478 (char *) "self",(char *) "dx",(char *) "dy",(char *) "rect", NULL
30481 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Window_ScrollWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
30482 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30483 if (SWIG_arg_fail(1)) SWIG_fail
;
30485 arg2
= (int)(SWIG_As_int(obj1
));
30486 if (SWIG_arg_fail(2)) SWIG_fail
;
30489 arg3
= (int)(SWIG_As_int(obj2
));
30490 if (SWIG_arg_fail(3)) SWIG_fail
;
30493 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
30494 if (SWIG_arg_fail(4)) SWIG_fail
;
30497 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30498 (arg1
)->ScrollWindow(arg2
,arg3
,(wxRect
const *)arg4
);
30500 wxPyEndAllowThreads(__tstate
);
30501 if (PyErr_Occurred()) SWIG_fail
;
30503 Py_INCREF(Py_None
); resultobj
= Py_None
;
30510 static PyObject
*_wrap_Window_ScrollLines(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30511 PyObject
*resultobj
;
30512 wxWindow
*arg1
= (wxWindow
*) 0 ;
30515 PyObject
* obj0
= 0 ;
30516 PyObject
* obj1
= 0 ;
30517 char *kwnames
[] = {
30518 (char *) "self",(char *) "lines", NULL
30521 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ScrollLines",kwnames
,&obj0
,&obj1
)) goto fail
;
30522 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30523 if (SWIG_arg_fail(1)) SWIG_fail
;
30525 arg2
= (int)(SWIG_As_int(obj1
));
30526 if (SWIG_arg_fail(2)) SWIG_fail
;
30529 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30530 result
= (bool)(arg1
)->ScrollLines(arg2
);
30532 wxPyEndAllowThreads(__tstate
);
30533 if (PyErr_Occurred()) SWIG_fail
;
30536 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30544 static PyObject
*_wrap_Window_ScrollPages(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30545 PyObject
*resultobj
;
30546 wxWindow
*arg1
= (wxWindow
*) 0 ;
30549 PyObject
* obj0
= 0 ;
30550 PyObject
* obj1
= 0 ;
30551 char *kwnames
[] = {
30552 (char *) "self",(char *) "pages", NULL
30555 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ScrollPages",kwnames
,&obj0
,&obj1
)) goto fail
;
30556 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30557 if (SWIG_arg_fail(1)) SWIG_fail
;
30559 arg2
= (int)(SWIG_As_int(obj1
));
30560 if (SWIG_arg_fail(2)) SWIG_fail
;
30563 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30564 result
= (bool)(arg1
)->ScrollPages(arg2
);
30566 wxPyEndAllowThreads(__tstate
);
30567 if (PyErr_Occurred()) SWIG_fail
;
30570 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30578 static PyObject
*_wrap_Window_LineUp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30579 PyObject
*resultobj
;
30580 wxWindow
*arg1
= (wxWindow
*) 0 ;
30582 PyObject
* obj0
= 0 ;
30583 char *kwnames
[] = {
30584 (char *) "self", NULL
30587 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_LineUp",kwnames
,&obj0
)) goto fail
;
30588 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30589 if (SWIG_arg_fail(1)) SWIG_fail
;
30591 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30592 result
= (bool)(arg1
)->LineUp();
30594 wxPyEndAllowThreads(__tstate
);
30595 if (PyErr_Occurred()) SWIG_fail
;
30598 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30606 static PyObject
*_wrap_Window_LineDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30607 PyObject
*resultobj
;
30608 wxWindow
*arg1
= (wxWindow
*) 0 ;
30610 PyObject
* obj0
= 0 ;
30611 char *kwnames
[] = {
30612 (char *) "self", NULL
30615 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_LineDown",kwnames
,&obj0
)) goto fail
;
30616 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30617 if (SWIG_arg_fail(1)) SWIG_fail
;
30619 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30620 result
= (bool)(arg1
)->LineDown();
30622 wxPyEndAllowThreads(__tstate
);
30623 if (PyErr_Occurred()) SWIG_fail
;
30626 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30634 static PyObject
*_wrap_Window_PageUp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30635 PyObject
*resultobj
;
30636 wxWindow
*arg1
= (wxWindow
*) 0 ;
30638 PyObject
* obj0
= 0 ;
30639 char *kwnames
[] = {
30640 (char *) "self", NULL
30643 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_PageUp",kwnames
,&obj0
)) goto fail
;
30644 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30645 if (SWIG_arg_fail(1)) SWIG_fail
;
30647 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30648 result
= (bool)(arg1
)->PageUp();
30650 wxPyEndAllowThreads(__tstate
);
30651 if (PyErr_Occurred()) SWIG_fail
;
30654 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30662 static PyObject
*_wrap_Window_PageDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30663 PyObject
*resultobj
;
30664 wxWindow
*arg1
= (wxWindow
*) 0 ;
30666 PyObject
* obj0
= 0 ;
30667 char *kwnames
[] = {
30668 (char *) "self", NULL
30671 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_PageDown",kwnames
,&obj0
)) goto fail
;
30672 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30673 if (SWIG_arg_fail(1)) SWIG_fail
;
30675 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30676 result
= (bool)(arg1
)->PageDown();
30678 wxPyEndAllowThreads(__tstate
);
30679 if (PyErr_Occurred()) SWIG_fail
;
30682 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30690 static PyObject
*_wrap_Window_SetHelpText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30691 PyObject
*resultobj
;
30692 wxWindow
*arg1
= (wxWindow
*) 0 ;
30693 wxString
*arg2
= 0 ;
30694 bool temp2
= false ;
30695 PyObject
* obj0
= 0 ;
30696 PyObject
* obj1
= 0 ;
30697 char *kwnames
[] = {
30698 (char *) "self",(char *) "text", NULL
30701 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetHelpText",kwnames
,&obj0
,&obj1
)) goto fail
;
30702 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30703 if (SWIG_arg_fail(1)) SWIG_fail
;
30705 arg2
= wxString_in_helper(obj1
);
30706 if (arg2
== NULL
) SWIG_fail
;
30710 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30711 (arg1
)->SetHelpText((wxString
const &)*arg2
);
30713 wxPyEndAllowThreads(__tstate
);
30714 if (PyErr_Occurred()) SWIG_fail
;
30716 Py_INCREF(Py_None
); resultobj
= Py_None
;
30731 static PyObject
*_wrap_Window_SetHelpTextForId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30732 PyObject
*resultobj
;
30733 wxWindow
*arg1
= (wxWindow
*) 0 ;
30734 wxString
*arg2
= 0 ;
30735 bool temp2
= false ;
30736 PyObject
* obj0
= 0 ;
30737 PyObject
* obj1
= 0 ;
30738 char *kwnames
[] = {
30739 (char *) "self",(char *) "text", NULL
30742 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetHelpTextForId",kwnames
,&obj0
,&obj1
)) goto fail
;
30743 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30744 if (SWIG_arg_fail(1)) SWIG_fail
;
30746 arg2
= wxString_in_helper(obj1
);
30747 if (arg2
== NULL
) SWIG_fail
;
30751 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30752 (arg1
)->SetHelpTextForId((wxString
const &)*arg2
);
30754 wxPyEndAllowThreads(__tstate
);
30755 if (PyErr_Occurred()) SWIG_fail
;
30757 Py_INCREF(Py_None
); resultobj
= Py_None
;
30772 static PyObject
*_wrap_Window_GetHelpText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30773 PyObject
*resultobj
;
30774 wxWindow
*arg1
= (wxWindow
*) 0 ;
30776 PyObject
* obj0
= 0 ;
30777 char *kwnames
[] = {
30778 (char *) "self", NULL
30781 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetHelpText",kwnames
,&obj0
)) goto fail
;
30782 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30783 if (SWIG_arg_fail(1)) SWIG_fail
;
30785 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30786 result
= ((wxWindow
const *)arg1
)->GetHelpText();
30788 wxPyEndAllowThreads(__tstate
);
30789 if (PyErr_Occurred()) SWIG_fail
;
30793 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
30795 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
30804 static PyObject
*_wrap_Window_SetToolTipString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30805 PyObject
*resultobj
;
30806 wxWindow
*arg1
= (wxWindow
*) 0 ;
30807 wxString
*arg2
= 0 ;
30808 bool temp2
= false ;
30809 PyObject
* obj0
= 0 ;
30810 PyObject
* obj1
= 0 ;
30811 char *kwnames
[] = {
30812 (char *) "self",(char *) "tip", NULL
30815 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetToolTipString",kwnames
,&obj0
,&obj1
)) goto fail
;
30816 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30817 if (SWIG_arg_fail(1)) SWIG_fail
;
30819 arg2
= wxString_in_helper(obj1
);
30820 if (arg2
== NULL
) SWIG_fail
;
30824 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30825 (arg1
)->SetToolTip((wxString
const &)*arg2
);
30827 wxPyEndAllowThreads(__tstate
);
30828 if (PyErr_Occurred()) SWIG_fail
;
30830 Py_INCREF(Py_None
); resultobj
= Py_None
;
30845 static PyObject
*_wrap_Window_SetToolTip(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30846 PyObject
*resultobj
;
30847 wxWindow
*arg1
= (wxWindow
*) 0 ;
30848 wxToolTip
*arg2
= (wxToolTip
*) 0 ;
30849 PyObject
* obj0
= 0 ;
30850 PyObject
* obj1
= 0 ;
30851 char *kwnames
[] = {
30852 (char *) "self",(char *) "tip", NULL
30855 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetToolTip",kwnames
,&obj0
,&obj1
)) goto fail
;
30856 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30857 if (SWIG_arg_fail(1)) SWIG_fail
;
30858 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxToolTip
, SWIG_POINTER_EXCEPTION
| 0);
30859 if (SWIG_arg_fail(2)) SWIG_fail
;
30861 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30862 (arg1
)->SetToolTip(arg2
);
30864 wxPyEndAllowThreads(__tstate
);
30865 if (PyErr_Occurred()) SWIG_fail
;
30867 Py_INCREF(Py_None
); resultobj
= Py_None
;
30874 static PyObject
*_wrap_Window_GetToolTip(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30875 PyObject
*resultobj
;
30876 wxWindow
*arg1
= (wxWindow
*) 0 ;
30878 PyObject
* obj0
= 0 ;
30879 char *kwnames
[] = {
30880 (char *) "self", NULL
30883 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetToolTip",kwnames
,&obj0
)) goto fail
;
30884 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30885 if (SWIG_arg_fail(1)) SWIG_fail
;
30887 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30888 result
= (wxToolTip
*)((wxWindow
const *)arg1
)->GetToolTip();
30890 wxPyEndAllowThreads(__tstate
);
30891 if (PyErr_Occurred()) SWIG_fail
;
30894 resultobj
= wxPyMake_wxObject(result
, 0);
30902 static PyObject
*_wrap_Window_SetDropTarget(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30903 PyObject
*resultobj
;
30904 wxWindow
*arg1
= (wxWindow
*) 0 ;
30905 wxPyDropTarget
*arg2
= (wxPyDropTarget
*) 0 ;
30906 PyObject
* obj0
= 0 ;
30907 PyObject
* obj1
= 0 ;
30908 char *kwnames
[] = {
30909 (char *) "self",(char *) "dropTarget", NULL
30912 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetDropTarget",kwnames
,&obj0
,&obj1
)) goto fail
;
30913 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30914 if (SWIG_arg_fail(1)) SWIG_fail
;
30915 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPyDropTarget
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
30916 if (SWIG_arg_fail(2)) SWIG_fail
;
30918 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30919 (arg1
)->SetDropTarget(arg2
);
30921 wxPyEndAllowThreads(__tstate
);
30922 if (PyErr_Occurred()) SWIG_fail
;
30924 Py_INCREF(Py_None
); resultobj
= Py_None
;
30931 static PyObject
*_wrap_Window_GetDropTarget(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30932 PyObject
*resultobj
;
30933 wxWindow
*arg1
= (wxWindow
*) 0 ;
30934 wxPyDropTarget
*result
;
30935 PyObject
* obj0
= 0 ;
30936 char *kwnames
[] = {
30937 (char *) "self", NULL
30940 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetDropTarget",kwnames
,&obj0
)) goto fail
;
30941 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30942 if (SWIG_arg_fail(1)) SWIG_fail
;
30944 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30945 result
= (wxPyDropTarget
*)((wxWindow
const *)arg1
)->GetDropTarget();
30947 wxPyEndAllowThreads(__tstate
);
30948 if (PyErr_Occurred()) SWIG_fail
;
30950 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyDropTarget
, 0);
30957 static PyObject
*_wrap_Window_DragAcceptFiles(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30958 PyObject
*resultobj
;
30959 wxWindow
*arg1
= (wxWindow
*) 0 ;
30961 PyObject
* obj0
= 0 ;
30962 PyObject
* obj1
= 0 ;
30963 char *kwnames
[] = {
30964 (char *) "self",(char *) "accept", NULL
30967 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_DragAcceptFiles",kwnames
,&obj0
,&obj1
)) goto fail
;
30968 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30969 if (SWIG_arg_fail(1)) SWIG_fail
;
30971 arg2
= (bool)(SWIG_As_bool(obj1
));
30972 if (SWIG_arg_fail(2)) SWIG_fail
;
30975 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30976 (arg1
)->DragAcceptFiles(arg2
);
30978 wxPyEndAllowThreads(__tstate
);
30979 if (PyErr_Occurred()) SWIG_fail
;
30981 Py_INCREF(Py_None
); resultobj
= Py_None
;
30988 static PyObject
*_wrap_Window_SetConstraints(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30989 PyObject
*resultobj
;
30990 wxWindow
*arg1
= (wxWindow
*) 0 ;
30991 wxLayoutConstraints
*arg2
= (wxLayoutConstraints
*) 0 ;
30992 PyObject
* obj0
= 0 ;
30993 PyObject
* obj1
= 0 ;
30994 char *kwnames
[] = {
30995 (char *) "self",(char *) "constraints", NULL
30998 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetConstraints",kwnames
,&obj0
,&obj1
)) goto fail
;
30999 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31000 if (SWIG_arg_fail(1)) SWIG_fail
;
31001 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxLayoutConstraints
, SWIG_POINTER_EXCEPTION
| 0);
31002 if (SWIG_arg_fail(2)) SWIG_fail
;
31004 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31005 (arg1
)->SetConstraints(arg2
);
31007 wxPyEndAllowThreads(__tstate
);
31008 if (PyErr_Occurred()) SWIG_fail
;
31010 Py_INCREF(Py_None
); resultobj
= Py_None
;
31017 static PyObject
*_wrap_Window_GetConstraints(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31018 PyObject
*resultobj
;
31019 wxWindow
*arg1
= (wxWindow
*) 0 ;
31020 wxLayoutConstraints
*result
;
31021 PyObject
* obj0
= 0 ;
31022 char *kwnames
[] = {
31023 (char *) "self", NULL
31026 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetConstraints",kwnames
,&obj0
)) goto fail
;
31027 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31028 if (SWIG_arg_fail(1)) SWIG_fail
;
31030 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31031 result
= (wxLayoutConstraints
*)((wxWindow
const *)arg1
)->GetConstraints();
31033 wxPyEndAllowThreads(__tstate
);
31034 if (PyErr_Occurred()) SWIG_fail
;
31036 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLayoutConstraints
, 0);
31043 static PyObject
*_wrap_Window_SetAutoLayout(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31044 PyObject
*resultobj
;
31045 wxWindow
*arg1
= (wxWindow
*) 0 ;
31047 PyObject
* obj0
= 0 ;
31048 PyObject
* obj1
= 0 ;
31049 char *kwnames
[] = {
31050 (char *) "self",(char *) "autoLayout", NULL
31053 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetAutoLayout",kwnames
,&obj0
,&obj1
)) goto fail
;
31054 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31055 if (SWIG_arg_fail(1)) SWIG_fail
;
31057 arg2
= (bool)(SWIG_As_bool(obj1
));
31058 if (SWIG_arg_fail(2)) SWIG_fail
;
31061 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31062 (arg1
)->SetAutoLayout(arg2
);
31064 wxPyEndAllowThreads(__tstate
);
31065 if (PyErr_Occurred()) SWIG_fail
;
31067 Py_INCREF(Py_None
); resultobj
= Py_None
;
31074 static PyObject
*_wrap_Window_GetAutoLayout(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31075 PyObject
*resultobj
;
31076 wxWindow
*arg1
= (wxWindow
*) 0 ;
31078 PyObject
* obj0
= 0 ;
31079 char *kwnames
[] = {
31080 (char *) "self", NULL
31083 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetAutoLayout",kwnames
,&obj0
)) goto fail
;
31084 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31085 if (SWIG_arg_fail(1)) SWIG_fail
;
31087 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31088 result
= (bool)((wxWindow
const *)arg1
)->GetAutoLayout();
31090 wxPyEndAllowThreads(__tstate
);
31091 if (PyErr_Occurred()) SWIG_fail
;
31094 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31102 static PyObject
*_wrap_Window_Layout(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31103 PyObject
*resultobj
;
31104 wxWindow
*arg1
= (wxWindow
*) 0 ;
31106 PyObject
* obj0
= 0 ;
31107 char *kwnames
[] = {
31108 (char *) "self", NULL
31111 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Layout",kwnames
,&obj0
)) goto fail
;
31112 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31113 if (SWIG_arg_fail(1)) SWIG_fail
;
31115 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31116 result
= (bool)(arg1
)->Layout();
31118 wxPyEndAllowThreads(__tstate
);
31119 if (PyErr_Occurred()) SWIG_fail
;
31122 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31130 static PyObject
*_wrap_Window_SetSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31131 PyObject
*resultobj
;
31132 wxWindow
*arg1
= (wxWindow
*) 0 ;
31133 wxSizer
*arg2
= (wxSizer
*) 0 ;
31134 bool arg3
= (bool) true ;
31135 PyObject
* obj0
= 0 ;
31136 PyObject
* obj1
= 0 ;
31137 PyObject
* obj2
= 0 ;
31138 char *kwnames
[] = {
31139 (char *) "self",(char *) "sizer",(char *) "deleteOld", NULL
31142 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_SetSizer",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
31143 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31144 if (SWIG_arg_fail(1)) SWIG_fail
;
31145 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
31146 if (SWIG_arg_fail(2)) SWIG_fail
;
31149 arg3
= (bool)(SWIG_As_bool(obj2
));
31150 if (SWIG_arg_fail(3)) SWIG_fail
;
31154 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31155 (arg1
)->SetSizer(arg2
,arg3
);
31157 wxPyEndAllowThreads(__tstate
);
31158 if (PyErr_Occurred()) SWIG_fail
;
31160 Py_INCREF(Py_None
); resultobj
= Py_None
;
31167 static PyObject
*_wrap_Window_SetSizerAndFit(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31168 PyObject
*resultobj
;
31169 wxWindow
*arg1
= (wxWindow
*) 0 ;
31170 wxSizer
*arg2
= (wxSizer
*) 0 ;
31171 bool arg3
= (bool) true ;
31172 PyObject
* obj0
= 0 ;
31173 PyObject
* obj1
= 0 ;
31174 PyObject
* obj2
= 0 ;
31175 char *kwnames
[] = {
31176 (char *) "self",(char *) "sizer",(char *) "deleteOld", NULL
31179 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_SetSizerAndFit",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
31180 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31181 if (SWIG_arg_fail(1)) SWIG_fail
;
31182 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
31183 if (SWIG_arg_fail(2)) SWIG_fail
;
31186 arg3
= (bool)(SWIG_As_bool(obj2
));
31187 if (SWIG_arg_fail(3)) SWIG_fail
;
31191 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31192 (arg1
)->SetSizerAndFit(arg2
,arg3
);
31194 wxPyEndAllowThreads(__tstate
);
31195 if (PyErr_Occurred()) SWIG_fail
;
31197 Py_INCREF(Py_None
); resultobj
= Py_None
;
31204 static PyObject
*_wrap_Window_GetSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31205 PyObject
*resultobj
;
31206 wxWindow
*arg1
= (wxWindow
*) 0 ;
31208 PyObject
* obj0
= 0 ;
31209 char *kwnames
[] = {
31210 (char *) "self", NULL
31213 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetSizer",kwnames
,&obj0
)) goto fail
;
31214 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31215 if (SWIG_arg_fail(1)) SWIG_fail
;
31217 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31218 result
= (wxSizer
*)((wxWindow
const *)arg1
)->GetSizer();
31220 wxPyEndAllowThreads(__tstate
);
31221 if (PyErr_Occurred()) SWIG_fail
;
31224 resultobj
= wxPyMake_wxSizer(result
, 0);
31232 static PyObject
*_wrap_Window_SetContainingSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31233 PyObject
*resultobj
;
31234 wxWindow
*arg1
= (wxWindow
*) 0 ;
31235 wxSizer
*arg2
= (wxSizer
*) 0 ;
31236 PyObject
* obj0
= 0 ;
31237 PyObject
* obj1
= 0 ;
31238 char *kwnames
[] = {
31239 (char *) "self",(char *) "sizer", NULL
31242 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetContainingSizer",kwnames
,&obj0
,&obj1
)) goto fail
;
31243 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31244 if (SWIG_arg_fail(1)) SWIG_fail
;
31245 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
31246 if (SWIG_arg_fail(2)) SWIG_fail
;
31248 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31249 (arg1
)->SetContainingSizer(arg2
);
31251 wxPyEndAllowThreads(__tstate
);
31252 if (PyErr_Occurred()) SWIG_fail
;
31254 Py_INCREF(Py_None
); resultobj
= Py_None
;
31261 static PyObject
*_wrap_Window_GetContainingSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31262 PyObject
*resultobj
;
31263 wxWindow
*arg1
= (wxWindow
*) 0 ;
31265 PyObject
* obj0
= 0 ;
31266 char *kwnames
[] = {
31267 (char *) "self", NULL
31270 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetContainingSizer",kwnames
,&obj0
)) goto fail
;
31271 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31272 if (SWIG_arg_fail(1)) SWIG_fail
;
31274 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31275 result
= (wxSizer
*)((wxWindow
const *)arg1
)->GetContainingSizer();
31277 wxPyEndAllowThreads(__tstate
);
31278 if (PyErr_Occurred()) SWIG_fail
;
31281 resultobj
= wxPyMake_wxSizer(result
, 0);
31289 static PyObject
*_wrap_Window_InheritAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31290 PyObject
*resultobj
;
31291 wxWindow
*arg1
= (wxWindow
*) 0 ;
31292 PyObject
* obj0
= 0 ;
31293 char *kwnames
[] = {
31294 (char *) "self", NULL
31297 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_InheritAttributes",kwnames
,&obj0
)) goto fail
;
31298 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31299 if (SWIG_arg_fail(1)) SWIG_fail
;
31301 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31302 (arg1
)->InheritAttributes();
31304 wxPyEndAllowThreads(__tstate
);
31305 if (PyErr_Occurred()) SWIG_fail
;
31307 Py_INCREF(Py_None
); resultobj
= Py_None
;
31314 static PyObject
*_wrap_Window_ShouldInheritColours(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31315 PyObject
*resultobj
;
31316 wxWindow
*arg1
= (wxWindow
*) 0 ;
31318 PyObject
* obj0
= 0 ;
31319 char *kwnames
[] = {
31320 (char *) "self", NULL
31323 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_ShouldInheritColours",kwnames
,&obj0
)) goto fail
;
31324 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31325 if (SWIG_arg_fail(1)) SWIG_fail
;
31327 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31328 result
= (bool)((wxWindow
const *)arg1
)->ShouldInheritColours();
31330 wxPyEndAllowThreads(__tstate
);
31331 if (PyErr_Occurred()) SWIG_fail
;
31334 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31342 static PyObject
* Window_swigregister(PyObject
*, PyObject
*args
) {
31344 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
31345 SWIG_TypeClientData(SWIGTYPE_p_wxWindow
, obj
);
31347 return Py_BuildValue((char *)"");
31349 static PyObject
*_wrap_FindWindowById(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31350 PyObject
*resultobj
;
31352 wxWindow
*arg2
= (wxWindow
*) NULL
;
31354 PyObject
* obj0
= 0 ;
31355 PyObject
* obj1
= 0 ;
31356 char *kwnames
[] = {
31357 (char *) "id",(char *) "parent", NULL
31360 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:FindWindowById",kwnames
,&obj0
,&obj1
)) goto fail
;
31362 arg1
= (long)(SWIG_As_long(obj0
));
31363 if (SWIG_arg_fail(1)) SWIG_fail
;
31366 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31367 if (SWIG_arg_fail(2)) SWIG_fail
;
31370 if (!wxPyCheckForApp()) SWIG_fail
;
31371 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31372 result
= (wxWindow
*)wxFindWindowById(arg1
,(wxWindow
const *)arg2
);
31374 wxPyEndAllowThreads(__tstate
);
31375 if (PyErr_Occurred()) SWIG_fail
;
31378 resultobj
= wxPyMake_wxObject(result
, 0);
31386 static PyObject
*_wrap_FindWindowByName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31387 PyObject
*resultobj
;
31388 wxString
*arg1
= 0 ;
31389 wxWindow
*arg2
= (wxWindow
*) NULL
;
31391 bool temp1
= false ;
31392 PyObject
* obj0
= 0 ;
31393 PyObject
* obj1
= 0 ;
31394 char *kwnames
[] = {
31395 (char *) "name",(char *) "parent", NULL
31398 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:FindWindowByName",kwnames
,&obj0
,&obj1
)) goto fail
;
31400 arg1
= wxString_in_helper(obj0
);
31401 if (arg1
== NULL
) SWIG_fail
;
31405 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31406 if (SWIG_arg_fail(2)) SWIG_fail
;
31409 if (!wxPyCheckForApp()) SWIG_fail
;
31410 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31411 result
= (wxWindow
*)wxFindWindowByName((wxString
const &)*arg1
,(wxWindow
const *)arg2
);
31413 wxPyEndAllowThreads(__tstate
);
31414 if (PyErr_Occurred()) SWIG_fail
;
31417 resultobj
= wxPyMake_wxObject(result
, 0);
31433 static PyObject
*_wrap_FindWindowByLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31434 PyObject
*resultobj
;
31435 wxString
*arg1
= 0 ;
31436 wxWindow
*arg2
= (wxWindow
*) NULL
;
31438 bool temp1
= false ;
31439 PyObject
* obj0
= 0 ;
31440 PyObject
* obj1
= 0 ;
31441 char *kwnames
[] = {
31442 (char *) "label",(char *) "parent", NULL
31445 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:FindWindowByLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
31447 arg1
= wxString_in_helper(obj0
);
31448 if (arg1
== NULL
) SWIG_fail
;
31452 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31453 if (SWIG_arg_fail(2)) SWIG_fail
;
31456 if (!wxPyCheckForApp()) SWIG_fail
;
31457 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31458 result
= (wxWindow
*)wxFindWindowByLabel((wxString
const &)*arg1
,(wxWindow
const *)arg2
);
31460 wxPyEndAllowThreads(__tstate
);
31461 if (PyErr_Occurred()) SWIG_fail
;
31464 resultobj
= wxPyMake_wxObject(result
, 0);
31480 static PyObject
*_wrap_Window_FromHWND(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31481 PyObject
*resultobj
;
31482 wxWindow
*arg1
= (wxWindow
*) 0 ;
31483 unsigned long arg2
;
31485 PyObject
* obj0
= 0 ;
31486 PyObject
* obj1
= 0 ;
31487 char *kwnames
[] = {
31488 (char *) "parent",(char *) "_hWnd", NULL
31491 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_FromHWND",kwnames
,&obj0
,&obj1
)) 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 arg2
= (unsigned long)(SWIG_As_unsigned_SS_long(obj1
));
31496 if (SWIG_arg_fail(2)) SWIG_fail
;
31499 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31500 result
= (wxWindow
*)wxWindow_FromHWND(arg1
,arg2
);
31502 wxPyEndAllowThreads(__tstate
);
31503 if (PyErr_Occurred()) SWIG_fail
;
31506 resultobj
= wxPyMake_wxObject(result
, 0);
31514 static PyObject
*_wrap_new_Validator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31515 PyObject
*resultobj
;
31516 wxValidator
*result
;
31517 char *kwnames
[] = {
31521 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_Validator",kwnames
)) goto fail
;
31523 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31524 result
= (wxValidator
*)new wxValidator();
31526 wxPyEndAllowThreads(__tstate
);
31527 if (PyErr_Occurred()) SWIG_fail
;
31529 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxValidator
, 1);
31536 static PyObject
*_wrap_Validator_Clone(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31537 PyObject
*resultobj
;
31538 wxValidator
*arg1
= (wxValidator
*) 0 ;
31539 wxValidator
*result
;
31540 PyObject
* obj0
= 0 ;
31541 char *kwnames
[] = {
31542 (char *) "self", NULL
31545 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Validator_Clone",kwnames
,&obj0
)) goto fail
;
31546 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
31547 if (SWIG_arg_fail(1)) SWIG_fail
;
31549 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31550 result
= (wxValidator
*)(arg1
)->Clone();
31552 wxPyEndAllowThreads(__tstate
);
31553 if (PyErr_Occurred()) SWIG_fail
;
31556 resultobj
= wxPyMake_wxObject(result
, 0);
31564 static PyObject
*_wrap_Validator_Validate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31565 PyObject
*resultobj
;
31566 wxValidator
*arg1
= (wxValidator
*) 0 ;
31567 wxWindow
*arg2
= (wxWindow
*) 0 ;
31569 PyObject
* obj0
= 0 ;
31570 PyObject
* obj1
= 0 ;
31571 char *kwnames
[] = {
31572 (char *) "self",(char *) "parent", NULL
31575 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Validator_Validate",kwnames
,&obj0
,&obj1
)) goto fail
;
31576 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
31577 if (SWIG_arg_fail(1)) SWIG_fail
;
31578 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31579 if (SWIG_arg_fail(2)) SWIG_fail
;
31581 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31582 result
= (bool)(arg1
)->Validate(arg2
);
31584 wxPyEndAllowThreads(__tstate
);
31585 if (PyErr_Occurred()) SWIG_fail
;
31588 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31596 static PyObject
*_wrap_Validator_TransferToWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31597 PyObject
*resultobj
;
31598 wxValidator
*arg1
= (wxValidator
*) 0 ;
31600 PyObject
* obj0
= 0 ;
31601 char *kwnames
[] = {
31602 (char *) "self", NULL
31605 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Validator_TransferToWindow",kwnames
,&obj0
)) goto fail
;
31606 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
31607 if (SWIG_arg_fail(1)) SWIG_fail
;
31609 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31610 result
= (bool)(arg1
)->TransferToWindow();
31612 wxPyEndAllowThreads(__tstate
);
31613 if (PyErr_Occurred()) SWIG_fail
;
31616 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31624 static PyObject
*_wrap_Validator_TransferFromWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31625 PyObject
*resultobj
;
31626 wxValidator
*arg1
= (wxValidator
*) 0 ;
31628 PyObject
* obj0
= 0 ;
31629 char *kwnames
[] = {
31630 (char *) "self", NULL
31633 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Validator_TransferFromWindow",kwnames
,&obj0
)) goto fail
;
31634 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
31635 if (SWIG_arg_fail(1)) SWIG_fail
;
31637 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31638 result
= (bool)(arg1
)->TransferFromWindow();
31640 wxPyEndAllowThreads(__tstate
);
31641 if (PyErr_Occurred()) SWIG_fail
;
31644 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31652 static PyObject
*_wrap_Validator_GetWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31653 PyObject
*resultobj
;
31654 wxValidator
*arg1
= (wxValidator
*) 0 ;
31656 PyObject
* obj0
= 0 ;
31657 char *kwnames
[] = {
31658 (char *) "self", NULL
31661 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Validator_GetWindow",kwnames
,&obj0
)) goto fail
;
31662 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
31663 if (SWIG_arg_fail(1)) SWIG_fail
;
31665 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31666 result
= (wxWindow
*)(arg1
)->GetWindow();
31668 wxPyEndAllowThreads(__tstate
);
31669 if (PyErr_Occurred()) SWIG_fail
;
31672 resultobj
= wxPyMake_wxObject(result
, 0);
31680 static PyObject
*_wrap_Validator_SetWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31681 PyObject
*resultobj
;
31682 wxValidator
*arg1
= (wxValidator
*) 0 ;
31683 wxWindow
*arg2
= (wxWindow
*) 0 ;
31684 PyObject
* obj0
= 0 ;
31685 PyObject
* obj1
= 0 ;
31686 char *kwnames
[] = {
31687 (char *) "self",(char *) "window", NULL
31690 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Validator_SetWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
31691 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
31692 if (SWIG_arg_fail(1)) SWIG_fail
;
31693 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31694 if (SWIG_arg_fail(2)) SWIG_fail
;
31696 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31697 (arg1
)->SetWindow(arg2
);
31699 wxPyEndAllowThreads(__tstate
);
31700 if (PyErr_Occurred()) SWIG_fail
;
31702 Py_INCREF(Py_None
); resultobj
= Py_None
;
31709 static PyObject
*_wrap_Validator_IsSilent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31710 PyObject
*resultobj
;
31712 char *kwnames
[] = {
31716 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Validator_IsSilent",kwnames
)) goto fail
;
31718 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31719 result
= (bool)wxValidator::IsSilent();
31721 wxPyEndAllowThreads(__tstate
);
31722 if (PyErr_Occurred()) SWIG_fail
;
31725 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31733 static PyObject
*_wrap_Validator_SetBellOnError(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31734 PyObject
*resultobj
;
31735 int arg1
= (int) true ;
31736 PyObject
* obj0
= 0 ;
31737 char *kwnames
[] = {
31738 (char *) "doIt", NULL
31741 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Validator_SetBellOnError",kwnames
,&obj0
)) goto fail
;
31744 arg1
= (int)(SWIG_As_int(obj0
));
31745 if (SWIG_arg_fail(1)) SWIG_fail
;
31749 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31750 wxValidator::SetBellOnError(arg1
);
31752 wxPyEndAllowThreads(__tstate
);
31753 if (PyErr_Occurred()) SWIG_fail
;
31755 Py_INCREF(Py_None
); resultobj
= Py_None
;
31762 static PyObject
* Validator_swigregister(PyObject
*, PyObject
*args
) {
31764 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
31765 SWIG_TypeClientData(SWIGTYPE_p_wxValidator
, obj
);
31767 return Py_BuildValue((char *)"");
31769 static PyObject
*_wrap_new_PyValidator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31770 PyObject
*resultobj
;
31771 wxPyValidator
*result
;
31772 char *kwnames
[] = {
31776 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PyValidator",kwnames
)) goto fail
;
31778 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31779 result
= (wxPyValidator
*)new wxPyValidator();
31781 wxPyEndAllowThreads(__tstate
);
31782 if (PyErr_Occurred()) SWIG_fail
;
31784 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyValidator
, 1);
31791 static PyObject
*_wrap_PyValidator__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31792 PyObject
*resultobj
;
31793 wxPyValidator
*arg1
= (wxPyValidator
*) 0 ;
31794 PyObject
*arg2
= (PyObject
*) 0 ;
31795 PyObject
*arg3
= (PyObject
*) 0 ;
31796 int arg4
= (int) true ;
31797 PyObject
* obj0
= 0 ;
31798 PyObject
* obj1
= 0 ;
31799 PyObject
* obj2
= 0 ;
31800 PyObject
* obj3
= 0 ;
31801 char *kwnames
[] = {
31802 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
31805 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:PyValidator__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
31806 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyValidator
, SWIG_POINTER_EXCEPTION
| 0);
31807 if (SWIG_arg_fail(1)) SWIG_fail
;
31812 arg4
= (int)(SWIG_As_int(obj3
));
31813 if (SWIG_arg_fail(4)) SWIG_fail
;
31817 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31818 (arg1
)->_setCallbackInfo(arg2
,arg3
,arg4
);
31820 wxPyEndAllowThreads(__tstate
);
31821 if (PyErr_Occurred()) SWIG_fail
;
31823 Py_INCREF(Py_None
); resultobj
= Py_None
;
31830 static PyObject
* PyValidator_swigregister(PyObject
*, PyObject
*args
) {
31832 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
31833 SWIG_TypeClientData(SWIGTYPE_p_wxPyValidator
, obj
);
31835 return Py_BuildValue((char *)"");
31837 static int _wrap_DefaultValidator_set(PyObject
*) {
31838 PyErr_SetString(PyExc_TypeError
,"Variable DefaultValidator is read-only.");
31843 static PyObject
*_wrap_DefaultValidator_get(void) {
31846 pyobj
= SWIG_NewPointerObj((void *)(&wxDefaultValidator
), SWIGTYPE_p_wxValidator
, 0);
31851 static PyObject
*_wrap_new_Menu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31852 PyObject
*resultobj
;
31853 wxString
const &arg1_defvalue
= wxPyEmptyString
;
31854 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
31855 long arg2
= (long) 0 ;
31857 bool temp1
= false ;
31858 PyObject
* obj0
= 0 ;
31859 PyObject
* obj1
= 0 ;
31860 char *kwnames
[] = {
31861 (char *) "title",(char *) "style", NULL
31864 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Menu",kwnames
,&obj0
,&obj1
)) goto fail
;
31867 arg1
= wxString_in_helper(obj0
);
31868 if (arg1
== NULL
) SWIG_fail
;
31874 arg2
= (long)(SWIG_As_long(obj1
));
31875 if (SWIG_arg_fail(2)) SWIG_fail
;
31879 if (!wxPyCheckForApp()) SWIG_fail
;
31880 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31881 result
= (wxMenu
*)new wxMenu((wxString
const &)*arg1
,arg2
);
31883 wxPyEndAllowThreads(__tstate
);
31884 if (PyErr_Occurred()) SWIG_fail
;
31886 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMenu
, 1);
31901 static PyObject
*_wrap_Menu_Append(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31902 PyObject
*resultobj
;
31903 wxMenu
*arg1
= (wxMenu
*) 0 ;
31905 wxString
*arg3
= 0 ;
31906 wxString
const &arg4_defvalue
= wxPyEmptyString
;
31907 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
31908 wxItemKind arg5
= (wxItemKind
) wxITEM_NORMAL
;
31909 wxMenuItem
*result
;
31910 bool temp3
= false ;
31911 bool temp4
= false ;
31912 PyObject
* obj0
= 0 ;
31913 PyObject
* obj1
= 0 ;
31914 PyObject
* obj2
= 0 ;
31915 PyObject
* obj3
= 0 ;
31916 PyObject
* obj4
= 0 ;
31917 char *kwnames
[] = {
31918 (char *) "self",(char *) "id",(char *) "text",(char *) "help",(char *) "kind", NULL
31921 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:Menu_Append",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
31922 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
31923 if (SWIG_arg_fail(1)) SWIG_fail
;
31925 arg2
= (int)(SWIG_As_int(obj1
));
31926 if (SWIG_arg_fail(2)) SWIG_fail
;
31929 arg3
= wxString_in_helper(obj2
);
31930 if (arg3
== NULL
) SWIG_fail
;
31935 arg4
= wxString_in_helper(obj3
);
31936 if (arg4
== NULL
) SWIG_fail
;
31942 arg5
= (wxItemKind
)(SWIG_As_int(obj4
));
31943 if (SWIG_arg_fail(5)) SWIG_fail
;
31947 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31948 result
= (wxMenuItem
*)(arg1
)->Append(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,(wxItemKind
)arg5
);
31950 wxPyEndAllowThreads(__tstate
);
31951 if (PyErr_Occurred()) SWIG_fail
;
31954 resultobj
= wxPyMake_wxObject(result
, 0);
31978 static PyObject
*_wrap_Menu_AppendSeparator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31979 PyObject
*resultobj
;
31980 wxMenu
*arg1
= (wxMenu
*) 0 ;
31981 wxMenuItem
*result
;
31982 PyObject
* obj0
= 0 ;
31983 char *kwnames
[] = {
31984 (char *) "self", NULL
31987 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_AppendSeparator",kwnames
,&obj0
)) goto fail
;
31988 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
31989 if (SWIG_arg_fail(1)) SWIG_fail
;
31991 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31992 result
= (wxMenuItem
*)(arg1
)->AppendSeparator();
31994 wxPyEndAllowThreads(__tstate
);
31995 if (PyErr_Occurred()) SWIG_fail
;
31998 resultobj
= wxPyMake_wxObject(result
, 0);
32006 static PyObject
*_wrap_Menu_AppendCheckItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32007 PyObject
*resultobj
;
32008 wxMenu
*arg1
= (wxMenu
*) 0 ;
32010 wxString
*arg3
= 0 ;
32011 wxString
const &arg4_defvalue
= wxPyEmptyString
;
32012 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
32013 wxMenuItem
*result
;
32014 bool temp3
= false ;
32015 bool temp4
= false ;
32016 PyObject
* obj0
= 0 ;
32017 PyObject
* obj1
= 0 ;
32018 PyObject
* obj2
= 0 ;
32019 PyObject
* obj3
= 0 ;
32020 char *kwnames
[] = {
32021 (char *) "self",(char *) "id",(char *) "text",(char *) "help", NULL
32024 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Menu_AppendCheckItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
32025 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
32026 if (SWIG_arg_fail(1)) SWIG_fail
;
32028 arg2
= (int)(SWIG_As_int(obj1
));
32029 if (SWIG_arg_fail(2)) SWIG_fail
;
32032 arg3
= wxString_in_helper(obj2
);
32033 if (arg3
== NULL
) SWIG_fail
;
32038 arg4
= wxString_in_helper(obj3
);
32039 if (arg4
== NULL
) SWIG_fail
;
32044 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32045 result
= (wxMenuItem
*)(arg1
)->AppendCheckItem(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
);
32047 wxPyEndAllowThreads(__tstate
);
32048 if (PyErr_Occurred()) SWIG_fail
;
32051 resultobj
= wxPyMake_wxObject(result
, 0);
32075 static PyObject
*_wrap_Menu_AppendRadioItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32076 PyObject
*resultobj
;
32077 wxMenu
*arg1
= (wxMenu
*) 0 ;
32079 wxString
*arg3
= 0 ;
32080 wxString
const &arg4_defvalue
= wxPyEmptyString
;
32081 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
32082 wxMenuItem
*result
;
32083 bool temp3
= false ;
32084 bool temp4
= false ;
32085 PyObject
* obj0
= 0 ;
32086 PyObject
* obj1
= 0 ;
32087 PyObject
* obj2
= 0 ;
32088 PyObject
* obj3
= 0 ;
32089 char *kwnames
[] = {
32090 (char *) "self",(char *) "id",(char *) "text",(char *) "help", NULL
32093 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Menu_AppendRadioItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
32094 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
32095 if (SWIG_arg_fail(1)) SWIG_fail
;
32097 arg2
= (int)(SWIG_As_int(obj1
));
32098 if (SWIG_arg_fail(2)) SWIG_fail
;
32101 arg3
= wxString_in_helper(obj2
);
32102 if (arg3
== NULL
) SWIG_fail
;
32107 arg4
= wxString_in_helper(obj3
);
32108 if (arg4
== NULL
) SWIG_fail
;
32113 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32114 result
= (wxMenuItem
*)(arg1
)->AppendRadioItem(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
);
32116 wxPyEndAllowThreads(__tstate
);
32117 if (PyErr_Occurred()) SWIG_fail
;
32120 resultobj
= wxPyMake_wxObject(result
, 0);
32144 static PyObject
*_wrap_Menu_AppendMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32145 PyObject
*resultobj
;
32146 wxMenu
*arg1
= (wxMenu
*) 0 ;
32148 wxString
*arg3
= 0 ;
32149 wxMenu
*arg4
= (wxMenu
*) 0 ;
32150 wxString
const &arg5_defvalue
= wxPyEmptyString
;
32151 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
32152 wxMenuItem
*result
;
32153 bool temp3
= false ;
32154 bool temp5
= false ;
32155 PyObject
* obj0
= 0 ;
32156 PyObject
* obj1
= 0 ;
32157 PyObject
* obj2
= 0 ;
32158 PyObject
* obj3
= 0 ;
32159 PyObject
* obj4
= 0 ;
32160 char *kwnames
[] = {
32161 (char *) "self",(char *) "id",(char *) "text",(char *) "submenu",(char *) "help", NULL
32164 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:Menu_AppendMenu",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
32165 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
32166 if (SWIG_arg_fail(1)) SWIG_fail
;
32168 arg2
= (int)(SWIG_As_int(obj1
));
32169 if (SWIG_arg_fail(2)) SWIG_fail
;
32172 arg3
= wxString_in_helper(obj2
);
32173 if (arg3
== NULL
) SWIG_fail
;
32176 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
32177 if (SWIG_arg_fail(4)) SWIG_fail
;
32180 arg5
= wxString_in_helper(obj4
);
32181 if (arg5
== NULL
) SWIG_fail
;
32186 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32187 result
= (wxMenuItem
*)(arg1
)->Append(arg2
,(wxString
const &)*arg3
,arg4
,(wxString
const &)*arg5
);
32189 wxPyEndAllowThreads(__tstate
);
32190 if (PyErr_Occurred()) SWIG_fail
;
32193 resultobj
= wxPyMake_wxObject(result
, 0);
32217 static PyObject
*_wrap_Menu_AppendItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32218 PyObject
*resultobj
;
32219 wxMenu
*arg1
= (wxMenu
*) 0 ;
32220 wxMenuItem
*arg2
= (wxMenuItem
*) 0 ;
32221 wxMenuItem
*result
;
32222 PyObject
* obj0
= 0 ;
32223 PyObject
* obj1
= 0 ;
32224 char *kwnames
[] = {
32225 (char *) "self",(char *) "item", NULL
32228 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_AppendItem",kwnames
,&obj0
,&obj1
)) goto fail
;
32229 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
32230 if (SWIG_arg_fail(1)) SWIG_fail
;
32231 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
32232 if (SWIG_arg_fail(2)) SWIG_fail
;
32234 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32235 result
= (wxMenuItem
*)(arg1
)->Append(arg2
);
32237 wxPyEndAllowThreads(__tstate
);
32238 if (PyErr_Occurred()) SWIG_fail
;
32241 resultobj
= wxPyMake_wxObject(result
, 0);
32249 static PyObject
*_wrap_Menu_Break(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32250 PyObject
*resultobj
;
32251 wxMenu
*arg1
= (wxMenu
*) 0 ;
32252 PyObject
* obj0
= 0 ;
32253 char *kwnames
[] = {
32254 (char *) "self", NULL
32257 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_Break",kwnames
,&obj0
)) goto fail
;
32258 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
32259 if (SWIG_arg_fail(1)) SWIG_fail
;
32261 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32264 wxPyEndAllowThreads(__tstate
);
32265 if (PyErr_Occurred()) SWIG_fail
;
32267 Py_INCREF(Py_None
); resultobj
= Py_None
;
32274 static PyObject
*_wrap_Menu_InsertItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32275 PyObject
*resultobj
;
32276 wxMenu
*arg1
= (wxMenu
*) 0 ;
32278 wxMenuItem
*arg3
= (wxMenuItem
*) 0 ;
32279 wxMenuItem
*result
;
32280 PyObject
* obj0
= 0 ;
32281 PyObject
* obj1
= 0 ;
32282 PyObject
* obj2
= 0 ;
32283 char *kwnames
[] = {
32284 (char *) "self",(char *) "pos",(char *) "item", NULL
32287 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Menu_InsertItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
32288 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
32289 if (SWIG_arg_fail(1)) SWIG_fail
;
32291 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
32292 if (SWIG_arg_fail(2)) SWIG_fail
;
32294 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
32295 if (SWIG_arg_fail(3)) SWIG_fail
;
32297 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32298 result
= (wxMenuItem
*)(arg1
)->Insert(arg2
,arg3
);
32300 wxPyEndAllowThreads(__tstate
);
32301 if (PyErr_Occurred()) SWIG_fail
;
32304 resultobj
= wxPyMake_wxObject(result
, 0);
32312 static PyObject
*_wrap_Menu_Insert(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32313 PyObject
*resultobj
;
32314 wxMenu
*arg1
= (wxMenu
*) 0 ;
32317 wxString
*arg4
= 0 ;
32318 wxString
const &arg5_defvalue
= wxPyEmptyString
;
32319 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
32320 wxItemKind arg6
= (wxItemKind
) wxITEM_NORMAL
;
32321 wxMenuItem
*result
;
32322 bool temp4
= false ;
32323 bool temp5
= false ;
32324 PyObject
* obj0
= 0 ;
32325 PyObject
* obj1
= 0 ;
32326 PyObject
* obj2
= 0 ;
32327 PyObject
* obj3
= 0 ;
32328 PyObject
* obj4
= 0 ;
32329 PyObject
* obj5
= 0 ;
32330 char *kwnames
[] = {
32331 (char *) "self",(char *) "pos",(char *) "id",(char *) "text",(char *) "help",(char *) "kind", NULL
32334 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:Menu_Insert",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
32335 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
32336 if (SWIG_arg_fail(1)) SWIG_fail
;
32338 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
32339 if (SWIG_arg_fail(2)) SWIG_fail
;
32342 arg3
= (int)(SWIG_As_int(obj2
));
32343 if (SWIG_arg_fail(3)) SWIG_fail
;
32346 arg4
= wxString_in_helper(obj3
);
32347 if (arg4
== NULL
) SWIG_fail
;
32352 arg5
= wxString_in_helper(obj4
);
32353 if (arg5
== NULL
) SWIG_fail
;
32359 arg6
= (wxItemKind
)(SWIG_As_int(obj5
));
32360 if (SWIG_arg_fail(6)) SWIG_fail
;
32364 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32365 result
= (wxMenuItem
*)(arg1
)->Insert(arg2
,arg3
,(wxString
const &)*arg4
,(wxString
const &)*arg5
,(wxItemKind
)arg6
);
32367 wxPyEndAllowThreads(__tstate
);
32368 if (PyErr_Occurred()) SWIG_fail
;
32371 resultobj
= wxPyMake_wxObject(result
, 0);
32395 static PyObject
*_wrap_Menu_InsertSeparator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32396 PyObject
*resultobj
;
32397 wxMenu
*arg1
= (wxMenu
*) 0 ;
32399 wxMenuItem
*result
;
32400 PyObject
* obj0
= 0 ;
32401 PyObject
* obj1
= 0 ;
32402 char *kwnames
[] = {
32403 (char *) "self",(char *) "pos", NULL
32406 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_InsertSeparator",kwnames
,&obj0
,&obj1
)) goto fail
;
32407 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
32408 if (SWIG_arg_fail(1)) SWIG_fail
;
32410 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
32411 if (SWIG_arg_fail(2)) SWIG_fail
;
32414 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32415 result
= (wxMenuItem
*)(arg1
)->InsertSeparator(arg2
);
32417 wxPyEndAllowThreads(__tstate
);
32418 if (PyErr_Occurred()) SWIG_fail
;
32421 resultobj
= wxPyMake_wxObject(result
, 0);
32429 static PyObject
*_wrap_Menu_InsertCheckItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32430 PyObject
*resultobj
;
32431 wxMenu
*arg1
= (wxMenu
*) 0 ;
32434 wxString
*arg4
= 0 ;
32435 wxString
const &arg5_defvalue
= wxPyEmptyString
;
32436 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
32437 wxMenuItem
*result
;
32438 bool temp4
= false ;
32439 bool temp5
= false ;
32440 PyObject
* obj0
= 0 ;
32441 PyObject
* obj1
= 0 ;
32442 PyObject
* obj2
= 0 ;
32443 PyObject
* obj3
= 0 ;
32444 PyObject
* obj4
= 0 ;
32445 char *kwnames
[] = {
32446 (char *) "self",(char *) "pos",(char *) "id",(char *) "text",(char *) "help", NULL
32449 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:Menu_InsertCheckItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
32450 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
32451 if (SWIG_arg_fail(1)) SWIG_fail
;
32453 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
32454 if (SWIG_arg_fail(2)) SWIG_fail
;
32457 arg3
= (int)(SWIG_As_int(obj2
));
32458 if (SWIG_arg_fail(3)) SWIG_fail
;
32461 arg4
= wxString_in_helper(obj3
);
32462 if (arg4
== NULL
) SWIG_fail
;
32467 arg5
= wxString_in_helper(obj4
);
32468 if (arg5
== NULL
) SWIG_fail
;
32473 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32474 result
= (wxMenuItem
*)(arg1
)->InsertCheckItem(arg2
,arg3
,(wxString
const &)*arg4
,(wxString
const &)*arg5
);
32476 wxPyEndAllowThreads(__tstate
);
32477 if (PyErr_Occurred()) SWIG_fail
;
32480 resultobj
= wxPyMake_wxObject(result
, 0);
32504 static PyObject
*_wrap_Menu_InsertRadioItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32505 PyObject
*resultobj
;
32506 wxMenu
*arg1
= (wxMenu
*) 0 ;
32509 wxString
*arg4
= 0 ;
32510 wxString
const &arg5_defvalue
= wxPyEmptyString
;
32511 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
32512 wxMenuItem
*result
;
32513 bool temp4
= false ;
32514 bool temp5
= false ;
32515 PyObject
* obj0
= 0 ;
32516 PyObject
* obj1
= 0 ;
32517 PyObject
* obj2
= 0 ;
32518 PyObject
* obj3
= 0 ;
32519 PyObject
* obj4
= 0 ;
32520 char *kwnames
[] = {
32521 (char *) "self",(char *) "pos",(char *) "id",(char *) "text",(char *) "help", NULL
32524 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:Menu_InsertRadioItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
32525 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
32526 if (SWIG_arg_fail(1)) SWIG_fail
;
32528 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
32529 if (SWIG_arg_fail(2)) SWIG_fail
;
32532 arg3
= (int)(SWIG_As_int(obj2
));
32533 if (SWIG_arg_fail(3)) SWIG_fail
;
32536 arg4
= wxString_in_helper(obj3
);
32537 if (arg4
== NULL
) SWIG_fail
;
32542 arg5
= wxString_in_helper(obj4
);
32543 if (arg5
== NULL
) SWIG_fail
;
32548 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32549 result
= (wxMenuItem
*)(arg1
)->InsertRadioItem(arg2
,arg3
,(wxString
const &)*arg4
,(wxString
const &)*arg5
);
32551 wxPyEndAllowThreads(__tstate
);
32552 if (PyErr_Occurred()) SWIG_fail
;
32555 resultobj
= wxPyMake_wxObject(result
, 0);
32579 static PyObject
*_wrap_Menu_InsertMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32580 PyObject
*resultobj
;
32581 wxMenu
*arg1
= (wxMenu
*) 0 ;
32584 wxString
*arg4
= 0 ;
32585 wxMenu
*arg5
= (wxMenu
*) 0 ;
32586 wxString
const &arg6_defvalue
= wxPyEmptyString
;
32587 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
32588 wxMenuItem
*result
;
32589 bool temp4
= false ;
32590 bool temp6
= false ;
32591 PyObject
* obj0
= 0 ;
32592 PyObject
* obj1
= 0 ;
32593 PyObject
* obj2
= 0 ;
32594 PyObject
* obj3
= 0 ;
32595 PyObject
* obj4
= 0 ;
32596 PyObject
* obj5
= 0 ;
32597 char *kwnames
[] = {
32598 (char *) "self",(char *) "pos",(char *) "id",(char *) "text",(char *) "submenu",(char *) "help", NULL
32601 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:Menu_InsertMenu",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
32602 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
32603 if (SWIG_arg_fail(1)) SWIG_fail
;
32605 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
32606 if (SWIG_arg_fail(2)) SWIG_fail
;
32609 arg3
= (int)(SWIG_As_int(obj2
));
32610 if (SWIG_arg_fail(3)) SWIG_fail
;
32613 arg4
= wxString_in_helper(obj3
);
32614 if (arg4
== NULL
) SWIG_fail
;
32617 SWIG_Python_ConvertPtr(obj4
, (void **)&arg5
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
32618 if (SWIG_arg_fail(5)) SWIG_fail
;
32621 arg6
= wxString_in_helper(obj5
);
32622 if (arg6
== NULL
) SWIG_fail
;
32627 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32628 result
= (wxMenuItem
*)(arg1
)->Insert(arg2
,arg3
,(wxString
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
32630 wxPyEndAllowThreads(__tstate
);
32631 if (PyErr_Occurred()) SWIG_fail
;
32634 resultobj
= wxPyMake_wxObject(result
, 0);
32658 static PyObject
*_wrap_Menu_PrependItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32659 PyObject
*resultobj
;
32660 wxMenu
*arg1
= (wxMenu
*) 0 ;
32661 wxMenuItem
*arg2
= (wxMenuItem
*) 0 ;
32662 wxMenuItem
*result
;
32663 PyObject
* obj0
= 0 ;
32664 PyObject
* obj1
= 0 ;
32665 char *kwnames
[] = {
32666 (char *) "self",(char *) "item", NULL
32669 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_PrependItem",kwnames
,&obj0
,&obj1
)) goto fail
;
32670 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
32671 if (SWIG_arg_fail(1)) SWIG_fail
;
32672 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
32673 if (SWIG_arg_fail(2)) SWIG_fail
;
32675 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32676 result
= (wxMenuItem
*)(arg1
)->Prepend(arg2
);
32678 wxPyEndAllowThreads(__tstate
);
32679 if (PyErr_Occurred()) SWIG_fail
;
32682 resultobj
= wxPyMake_wxObject(result
, 0);
32690 static PyObject
*_wrap_Menu_Prepend(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32691 PyObject
*resultobj
;
32692 wxMenu
*arg1
= (wxMenu
*) 0 ;
32694 wxString
*arg3
= 0 ;
32695 wxString
const &arg4_defvalue
= wxPyEmptyString
;
32696 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
32697 wxItemKind arg5
= (wxItemKind
) wxITEM_NORMAL
;
32698 wxMenuItem
*result
;
32699 bool temp3
= false ;
32700 bool temp4
= false ;
32701 PyObject
* obj0
= 0 ;
32702 PyObject
* obj1
= 0 ;
32703 PyObject
* obj2
= 0 ;
32704 PyObject
* obj3
= 0 ;
32705 PyObject
* obj4
= 0 ;
32706 char *kwnames
[] = {
32707 (char *) "self",(char *) "id",(char *) "text",(char *) "help",(char *) "kind", NULL
32710 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:Menu_Prepend",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
32711 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
32712 if (SWIG_arg_fail(1)) SWIG_fail
;
32714 arg2
= (int)(SWIG_As_int(obj1
));
32715 if (SWIG_arg_fail(2)) SWIG_fail
;
32718 arg3
= wxString_in_helper(obj2
);
32719 if (arg3
== NULL
) SWIG_fail
;
32724 arg4
= wxString_in_helper(obj3
);
32725 if (arg4
== NULL
) SWIG_fail
;
32731 arg5
= (wxItemKind
)(SWIG_As_int(obj4
));
32732 if (SWIG_arg_fail(5)) SWIG_fail
;
32736 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32737 result
= (wxMenuItem
*)(arg1
)->Prepend(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,(wxItemKind
)arg5
);
32739 wxPyEndAllowThreads(__tstate
);
32740 if (PyErr_Occurred()) SWIG_fail
;
32743 resultobj
= wxPyMake_wxObject(result
, 0);
32767 static PyObject
*_wrap_Menu_PrependSeparator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32768 PyObject
*resultobj
;
32769 wxMenu
*arg1
= (wxMenu
*) 0 ;
32770 wxMenuItem
*result
;
32771 PyObject
* obj0
= 0 ;
32772 char *kwnames
[] = {
32773 (char *) "self", NULL
32776 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_PrependSeparator",kwnames
,&obj0
)) goto fail
;
32777 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
32778 if (SWIG_arg_fail(1)) SWIG_fail
;
32780 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32781 result
= (wxMenuItem
*)(arg1
)->PrependSeparator();
32783 wxPyEndAllowThreads(__tstate
);
32784 if (PyErr_Occurred()) SWIG_fail
;
32787 resultobj
= wxPyMake_wxObject(result
, 0);
32795 static PyObject
*_wrap_Menu_PrependCheckItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32796 PyObject
*resultobj
;
32797 wxMenu
*arg1
= (wxMenu
*) 0 ;
32799 wxString
*arg3
= 0 ;
32800 wxString
const &arg4_defvalue
= wxPyEmptyString
;
32801 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
32802 wxMenuItem
*result
;
32803 bool temp3
= false ;
32804 bool temp4
= false ;
32805 PyObject
* obj0
= 0 ;
32806 PyObject
* obj1
= 0 ;
32807 PyObject
* obj2
= 0 ;
32808 PyObject
* obj3
= 0 ;
32809 char *kwnames
[] = {
32810 (char *) "self",(char *) "id",(char *) "text",(char *) "help", NULL
32813 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Menu_PrependCheckItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
32814 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
32815 if (SWIG_arg_fail(1)) SWIG_fail
;
32817 arg2
= (int)(SWIG_As_int(obj1
));
32818 if (SWIG_arg_fail(2)) SWIG_fail
;
32821 arg3
= wxString_in_helper(obj2
);
32822 if (arg3
== NULL
) SWIG_fail
;
32827 arg4
= wxString_in_helper(obj3
);
32828 if (arg4
== NULL
) SWIG_fail
;
32833 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32834 result
= (wxMenuItem
*)(arg1
)->PrependCheckItem(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
);
32836 wxPyEndAllowThreads(__tstate
);
32837 if (PyErr_Occurred()) SWIG_fail
;
32840 resultobj
= wxPyMake_wxObject(result
, 0);
32864 static PyObject
*_wrap_Menu_PrependRadioItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32865 PyObject
*resultobj
;
32866 wxMenu
*arg1
= (wxMenu
*) 0 ;
32868 wxString
*arg3
= 0 ;
32869 wxString
const &arg4_defvalue
= wxPyEmptyString
;
32870 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
32871 wxMenuItem
*result
;
32872 bool temp3
= false ;
32873 bool temp4
= false ;
32874 PyObject
* obj0
= 0 ;
32875 PyObject
* obj1
= 0 ;
32876 PyObject
* obj2
= 0 ;
32877 PyObject
* obj3
= 0 ;
32878 char *kwnames
[] = {
32879 (char *) "self",(char *) "id",(char *) "text",(char *) "help", NULL
32882 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Menu_PrependRadioItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
32883 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
32884 if (SWIG_arg_fail(1)) SWIG_fail
;
32886 arg2
= (int)(SWIG_As_int(obj1
));
32887 if (SWIG_arg_fail(2)) SWIG_fail
;
32890 arg3
= wxString_in_helper(obj2
);
32891 if (arg3
== NULL
) SWIG_fail
;
32896 arg4
= wxString_in_helper(obj3
);
32897 if (arg4
== NULL
) SWIG_fail
;
32902 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32903 result
= (wxMenuItem
*)(arg1
)->PrependRadioItem(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
);
32905 wxPyEndAllowThreads(__tstate
);
32906 if (PyErr_Occurred()) SWIG_fail
;
32909 resultobj
= wxPyMake_wxObject(result
, 0);
32933 static PyObject
*_wrap_Menu_PrependMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32934 PyObject
*resultobj
;
32935 wxMenu
*arg1
= (wxMenu
*) 0 ;
32937 wxString
*arg3
= 0 ;
32938 wxMenu
*arg4
= (wxMenu
*) 0 ;
32939 wxString
const &arg5_defvalue
= wxPyEmptyString
;
32940 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
32941 wxMenuItem
*result
;
32942 bool temp3
= false ;
32943 bool temp5
= false ;
32944 PyObject
* obj0
= 0 ;
32945 PyObject
* obj1
= 0 ;
32946 PyObject
* obj2
= 0 ;
32947 PyObject
* obj3
= 0 ;
32948 PyObject
* obj4
= 0 ;
32949 char *kwnames
[] = {
32950 (char *) "self",(char *) "id",(char *) "text",(char *) "submenu",(char *) "help", NULL
32953 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:Menu_PrependMenu",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
32954 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
32955 if (SWIG_arg_fail(1)) SWIG_fail
;
32957 arg2
= (int)(SWIG_As_int(obj1
));
32958 if (SWIG_arg_fail(2)) SWIG_fail
;
32961 arg3
= wxString_in_helper(obj2
);
32962 if (arg3
== NULL
) SWIG_fail
;
32965 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
32966 if (SWIG_arg_fail(4)) SWIG_fail
;
32969 arg5
= wxString_in_helper(obj4
);
32970 if (arg5
== NULL
) SWIG_fail
;
32975 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32976 result
= (wxMenuItem
*)(arg1
)->Prepend(arg2
,(wxString
const &)*arg3
,arg4
,(wxString
const &)*arg5
);
32978 wxPyEndAllowThreads(__tstate
);
32979 if (PyErr_Occurred()) SWIG_fail
;
32982 resultobj
= wxPyMake_wxObject(result
, 0);
33006 static PyObject
*_wrap_Menu_Remove(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33007 PyObject
*resultobj
;
33008 wxMenu
*arg1
= (wxMenu
*) 0 ;
33010 wxMenuItem
*result
;
33011 PyObject
* obj0
= 0 ;
33012 PyObject
* obj1
= 0 ;
33013 char *kwnames
[] = {
33014 (char *) "self",(char *) "id", NULL
33017 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_Remove",kwnames
,&obj0
,&obj1
)) goto fail
;
33018 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33019 if (SWIG_arg_fail(1)) SWIG_fail
;
33021 arg2
= (int)(SWIG_As_int(obj1
));
33022 if (SWIG_arg_fail(2)) SWIG_fail
;
33025 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33026 result
= (wxMenuItem
*)(arg1
)->Remove(arg2
);
33028 wxPyEndAllowThreads(__tstate
);
33029 if (PyErr_Occurred()) SWIG_fail
;
33032 resultobj
= wxPyMake_wxObject(result
, 0);
33040 static PyObject
*_wrap_Menu_RemoveItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33041 PyObject
*resultobj
;
33042 wxMenu
*arg1
= (wxMenu
*) 0 ;
33043 wxMenuItem
*arg2
= (wxMenuItem
*) 0 ;
33044 wxMenuItem
*result
;
33045 PyObject
* obj0
= 0 ;
33046 PyObject
* obj1
= 0 ;
33047 char *kwnames
[] = {
33048 (char *) "self",(char *) "item", NULL
33051 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_RemoveItem",kwnames
,&obj0
,&obj1
)) goto fail
;
33052 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33053 if (SWIG_arg_fail(1)) SWIG_fail
;
33054 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
33055 if (SWIG_arg_fail(2)) SWIG_fail
;
33057 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33058 result
= (wxMenuItem
*)(arg1
)->Remove(arg2
);
33060 wxPyEndAllowThreads(__tstate
);
33061 if (PyErr_Occurred()) SWIG_fail
;
33064 resultobj
= wxPyMake_wxObject(result
, 0);
33072 static PyObject
*_wrap_Menu_Delete(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33073 PyObject
*resultobj
;
33074 wxMenu
*arg1
= (wxMenu
*) 0 ;
33077 PyObject
* obj0
= 0 ;
33078 PyObject
* obj1
= 0 ;
33079 char *kwnames
[] = {
33080 (char *) "self",(char *) "id", NULL
33083 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_Delete",kwnames
,&obj0
,&obj1
)) goto fail
;
33084 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33085 if (SWIG_arg_fail(1)) SWIG_fail
;
33087 arg2
= (int)(SWIG_As_int(obj1
));
33088 if (SWIG_arg_fail(2)) SWIG_fail
;
33091 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33092 result
= (bool)(arg1
)->Delete(arg2
);
33094 wxPyEndAllowThreads(__tstate
);
33095 if (PyErr_Occurred()) SWIG_fail
;
33098 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33106 static PyObject
*_wrap_Menu_DeleteItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33107 PyObject
*resultobj
;
33108 wxMenu
*arg1
= (wxMenu
*) 0 ;
33109 wxMenuItem
*arg2
= (wxMenuItem
*) 0 ;
33111 PyObject
* obj0
= 0 ;
33112 PyObject
* obj1
= 0 ;
33113 char *kwnames
[] = {
33114 (char *) "self",(char *) "item", NULL
33117 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_DeleteItem",kwnames
,&obj0
,&obj1
)) goto fail
;
33118 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33119 if (SWIG_arg_fail(1)) SWIG_fail
;
33120 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
33121 if (SWIG_arg_fail(2)) SWIG_fail
;
33123 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33124 result
= (bool)(arg1
)->Delete(arg2
);
33126 wxPyEndAllowThreads(__tstate
);
33127 if (PyErr_Occurred()) SWIG_fail
;
33130 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33138 static PyObject
*_wrap_Menu_Destroy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33139 PyObject
*resultobj
;
33140 wxMenu
*arg1
= (wxMenu
*) 0 ;
33141 PyObject
* obj0
= 0 ;
33142 char *kwnames
[] = {
33143 (char *) "self", NULL
33146 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_Destroy",kwnames
,&obj0
)) goto fail
;
33147 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33148 if (SWIG_arg_fail(1)) SWIG_fail
;
33150 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33151 wxMenu_Destroy(arg1
);
33153 wxPyEndAllowThreads(__tstate
);
33154 if (PyErr_Occurred()) SWIG_fail
;
33156 Py_INCREF(Py_None
); resultobj
= Py_None
;
33163 static PyObject
*_wrap_Menu_DestroyId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33164 PyObject
*resultobj
;
33165 wxMenu
*arg1
= (wxMenu
*) 0 ;
33168 PyObject
* obj0
= 0 ;
33169 PyObject
* obj1
= 0 ;
33170 char *kwnames
[] = {
33171 (char *) "self",(char *) "id", NULL
33174 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_DestroyId",kwnames
,&obj0
,&obj1
)) goto fail
;
33175 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33176 if (SWIG_arg_fail(1)) SWIG_fail
;
33178 arg2
= (int)(SWIG_As_int(obj1
));
33179 if (SWIG_arg_fail(2)) SWIG_fail
;
33182 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33183 result
= (bool)(arg1
)->Destroy(arg2
);
33185 wxPyEndAllowThreads(__tstate
);
33186 if (PyErr_Occurred()) SWIG_fail
;
33189 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33197 static PyObject
*_wrap_Menu_DestroyItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33198 PyObject
*resultobj
;
33199 wxMenu
*arg1
= (wxMenu
*) 0 ;
33200 wxMenuItem
*arg2
= (wxMenuItem
*) 0 ;
33202 PyObject
* obj0
= 0 ;
33203 PyObject
* obj1
= 0 ;
33204 char *kwnames
[] = {
33205 (char *) "self",(char *) "item", NULL
33208 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_DestroyItem",kwnames
,&obj0
,&obj1
)) goto fail
;
33209 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33210 if (SWIG_arg_fail(1)) SWIG_fail
;
33211 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
33212 if (SWIG_arg_fail(2)) SWIG_fail
;
33214 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33215 result
= (bool)(arg1
)->Destroy(arg2
);
33217 wxPyEndAllowThreads(__tstate
);
33218 if (PyErr_Occurred()) SWIG_fail
;
33221 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33229 static PyObject
*_wrap_Menu_GetMenuItemCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33230 PyObject
*resultobj
;
33231 wxMenu
*arg1
= (wxMenu
*) 0 ;
33233 PyObject
* obj0
= 0 ;
33234 char *kwnames
[] = {
33235 (char *) "self", NULL
33238 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetMenuItemCount",kwnames
,&obj0
)) goto fail
;
33239 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33240 if (SWIG_arg_fail(1)) SWIG_fail
;
33242 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33243 result
= (size_t)((wxMenu
const *)arg1
)->GetMenuItemCount();
33245 wxPyEndAllowThreads(__tstate
);
33246 if (PyErr_Occurred()) SWIG_fail
;
33249 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
33257 static PyObject
*_wrap_Menu_GetMenuItems(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33258 PyObject
*resultobj
;
33259 wxMenu
*arg1
= (wxMenu
*) 0 ;
33261 PyObject
* obj0
= 0 ;
33262 char *kwnames
[] = {
33263 (char *) "self", NULL
33266 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetMenuItems",kwnames
,&obj0
)) goto fail
;
33267 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33268 if (SWIG_arg_fail(1)) SWIG_fail
;
33270 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33271 result
= (PyObject
*)wxMenu_GetMenuItems(arg1
);
33273 wxPyEndAllowThreads(__tstate
);
33274 if (PyErr_Occurred()) SWIG_fail
;
33276 resultobj
= result
;
33283 static PyObject
*_wrap_Menu_FindItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33284 PyObject
*resultobj
;
33285 wxMenu
*arg1
= (wxMenu
*) 0 ;
33286 wxString
*arg2
= 0 ;
33288 bool temp2
= false ;
33289 PyObject
* obj0
= 0 ;
33290 PyObject
* obj1
= 0 ;
33291 char *kwnames
[] = {
33292 (char *) "self",(char *) "item", NULL
33295 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_FindItem",kwnames
,&obj0
,&obj1
)) goto fail
;
33296 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33297 if (SWIG_arg_fail(1)) SWIG_fail
;
33299 arg2
= wxString_in_helper(obj1
);
33300 if (arg2
== NULL
) SWIG_fail
;
33304 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33305 result
= (int)((wxMenu
const *)arg1
)->FindItem((wxString
const &)*arg2
);
33307 wxPyEndAllowThreads(__tstate
);
33308 if (PyErr_Occurred()) SWIG_fail
;
33311 resultobj
= SWIG_From_int((int)(result
));
33327 static PyObject
*_wrap_Menu_FindItemById(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33328 PyObject
*resultobj
;
33329 wxMenu
*arg1
= (wxMenu
*) 0 ;
33331 wxMenuItem
*result
;
33332 PyObject
* obj0
= 0 ;
33333 PyObject
* obj1
= 0 ;
33334 char *kwnames
[] = {
33335 (char *) "self",(char *) "id", NULL
33338 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_FindItemById",kwnames
,&obj0
,&obj1
)) goto fail
;
33339 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33340 if (SWIG_arg_fail(1)) SWIG_fail
;
33342 arg2
= (int)(SWIG_As_int(obj1
));
33343 if (SWIG_arg_fail(2)) SWIG_fail
;
33346 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33347 result
= (wxMenuItem
*)((wxMenu
const *)arg1
)->FindItem(arg2
);
33349 wxPyEndAllowThreads(__tstate
);
33350 if (PyErr_Occurred()) SWIG_fail
;
33353 resultobj
= wxPyMake_wxObject(result
, 0);
33361 static PyObject
*_wrap_Menu_FindItemByPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33362 PyObject
*resultobj
;
33363 wxMenu
*arg1
= (wxMenu
*) 0 ;
33365 wxMenuItem
*result
;
33366 PyObject
* obj0
= 0 ;
33367 PyObject
* obj1
= 0 ;
33368 char *kwnames
[] = {
33369 (char *) "self",(char *) "position", NULL
33372 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_FindItemByPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
33373 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33374 if (SWIG_arg_fail(1)) SWIG_fail
;
33376 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
33377 if (SWIG_arg_fail(2)) SWIG_fail
;
33380 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33381 result
= (wxMenuItem
*)((wxMenu
const *)arg1
)->FindItemByPosition(arg2
);
33383 wxPyEndAllowThreads(__tstate
);
33384 if (PyErr_Occurred()) SWIG_fail
;
33387 resultobj
= wxPyMake_wxObject(result
, 0);
33395 static PyObject
*_wrap_Menu_Enable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33396 PyObject
*resultobj
;
33397 wxMenu
*arg1
= (wxMenu
*) 0 ;
33400 PyObject
* obj0
= 0 ;
33401 PyObject
* obj1
= 0 ;
33402 PyObject
* obj2
= 0 ;
33403 char *kwnames
[] = {
33404 (char *) "self",(char *) "id",(char *) "enable", NULL
33407 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Menu_Enable",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
33408 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33409 if (SWIG_arg_fail(1)) SWIG_fail
;
33411 arg2
= (int)(SWIG_As_int(obj1
));
33412 if (SWIG_arg_fail(2)) SWIG_fail
;
33415 arg3
= (bool)(SWIG_As_bool(obj2
));
33416 if (SWIG_arg_fail(3)) SWIG_fail
;
33419 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33420 (arg1
)->Enable(arg2
,arg3
);
33422 wxPyEndAllowThreads(__tstate
);
33423 if (PyErr_Occurred()) SWIG_fail
;
33425 Py_INCREF(Py_None
); resultobj
= Py_None
;
33432 static PyObject
*_wrap_Menu_IsEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33433 PyObject
*resultobj
;
33434 wxMenu
*arg1
= (wxMenu
*) 0 ;
33437 PyObject
* obj0
= 0 ;
33438 PyObject
* obj1
= 0 ;
33439 char *kwnames
[] = {
33440 (char *) "self",(char *) "id", NULL
33443 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_IsEnabled",kwnames
,&obj0
,&obj1
)) goto fail
;
33444 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33445 if (SWIG_arg_fail(1)) SWIG_fail
;
33447 arg2
= (int)(SWIG_As_int(obj1
));
33448 if (SWIG_arg_fail(2)) SWIG_fail
;
33451 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33452 result
= (bool)((wxMenu
const *)arg1
)->IsEnabled(arg2
);
33454 wxPyEndAllowThreads(__tstate
);
33455 if (PyErr_Occurred()) SWIG_fail
;
33458 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33466 static PyObject
*_wrap_Menu_Check(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33467 PyObject
*resultobj
;
33468 wxMenu
*arg1
= (wxMenu
*) 0 ;
33471 PyObject
* obj0
= 0 ;
33472 PyObject
* obj1
= 0 ;
33473 PyObject
* obj2
= 0 ;
33474 char *kwnames
[] = {
33475 (char *) "self",(char *) "id",(char *) "check", NULL
33478 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Menu_Check",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
33479 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33480 if (SWIG_arg_fail(1)) SWIG_fail
;
33482 arg2
= (int)(SWIG_As_int(obj1
));
33483 if (SWIG_arg_fail(2)) SWIG_fail
;
33486 arg3
= (bool)(SWIG_As_bool(obj2
));
33487 if (SWIG_arg_fail(3)) SWIG_fail
;
33490 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33491 (arg1
)->Check(arg2
,arg3
);
33493 wxPyEndAllowThreads(__tstate
);
33494 if (PyErr_Occurred()) SWIG_fail
;
33496 Py_INCREF(Py_None
); resultobj
= Py_None
;
33503 static PyObject
*_wrap_Menu_IsChecked(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33504 PyObject
*resultobj
;
33505 wxMenu
*arg1
= (wxMenu
*) 0 ;
33508 PyObject
* obj0
= 0 ;
33509 PyObject
* obj1
= 0 ;
33510 char *kwnames
[] = {
33511 (char *) "self",(char *) "id", NULL
33514 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_IsChecked",kwnames
,&obj0
,&obj1
)) goto fail
;
33515 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33516 if (SWIG_arg_fail(1)) SWIG_fail
;
33518 arg2
= (int)(SWIG_As_int(obj1
));
33519 if (SWIG_arg_fail(2)) SWIG_fail
;
33522 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33523 result
= (bool)((wxMenu
const *)arg1
)->IsChecked(arg2
);
33525 wxPyEndAllowThreads(__tstate
);
33526 if (PyErr_Occurred()) SWIG_fail
;
33529 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33537 static PyObject
*_wrap_Menu_SetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33538 PyObject
*resultobj
;
33539 wxMenu
*arg1
= (wxMenu
*) 0 ;
33541 wxString
*arg3
= 0 ;
33542 bool temp3
= false ;
33543 PyObject
* obj0
= 0 ;
33544 PyObject
* obj1
= 0 ;
33545 PyObject
* obj2
= 0 ;
33546 char *kwnames
[] = {
33547 (char *) "self",(char *) "id",(char *) "label", NULL
33550 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Menu_SetLabel",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
33551 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33552 if (SWIG_arg_fail(1)) SWIG_fail
;
33554 arg2
= (int)(SWIG_As_int(obj1
));
33555 if (SWIG_arg_fail(2)) SWIG_fail
;
33558 arg3
= wxString_in_helper(obj2
);
33559 if (arg3
== NULL
) SWIG_fail
;
33563 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33564 (arg1
)->SetLabel(arg2
,(wxString
const &)*arg3
);
33566 wxPyEndAllowThreads(__tstate
);
33567 if (PyErr_Occurred()) SWIG_fail
;
33569 Py_INCREF(Py_None
); resultobj
= Py_None
;
33584 static PyObject
*_wrap_Menu_GetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33585 PyObject
*resultobj
;
33586 wxMenu
*arg1
= (wxMenu
*) 0 ;
33589 PyObject
* obj0
= 0 ;
33590 PyObject
* obj1
= 0 ;
33591 char *kwnames
[] = {
33592 (char *) "self",(char *) "id", NULL
33595 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_GetLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
33596 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33597 if (SWIG_arg_fail(1)) SWIG_fail
;
33599 arg2
= (int)(SWIG_As_int(obj1
));
33600 if (SWIG_arg_fail(2)) SWIG_fail
;
33603 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33604 result
= ((wxMenu
const *)arg1
)->GetLabel(arg2
);
33606 wxPyEndAllowThreads(__tstate
);
33607 if (PyErr_Occurred()) SWIG_fail
;
33611 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
33613 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
33622 static PyObject
*_wrap_Menu_SetHelpString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33623 PyObject
*resultobj
;
33624 wxMenu
*arg1
= (wxMenu
*) 0 ;
33626 wxString
*arg3
= 0 ;
33627 bool temp3
= false ;
33628 PyObject
* obj0
= 0 ;
33629 PyObject
* obj1
= 0 ;
33630 PyObject
* obj2
= 0 ;
33631 char *kwnames
[] = {
33632 (char *) "self",(char *) "id",(char *) "helpString", NULL
33635 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Menu_SetHelpString",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
33636 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33637 if (SWIG_arg_fail(1)) SWIG_fail
;
33639 arg2
= (int)(SWIG_As_int(obj1
));
33640 if (SWIG_arg_fail(2)) SWIG_fail
;
33643 arg3
= wxString_in_helper(obj2
);
33644 if (arg3
== NULL
) SWIG_fail
;
33648 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33649 (arg1
)->SetHelpString(arg2
,(wxString
const &)*arg3
);
33651 wxPyEndAllowThreads(__tstate
);
33652 if (PyErr_Occurred()) SWIG_fail
;
33654 Py_INCREF(Py_None
); resultobj
= Py_None
;
33669 static PyObject
*_wrap_Menu_GetHelpString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33670 PyObject
*resultobj
;
33671 wxMenu
*arg1
= (wxMenu
*) 0 ;
33674 PyObject
* obj0
= 0 ;
33675 PyObject
* obj1
= 0 ;
33676 char *kwnames
[] = {
33677 (char *) "self",(char *) "id", NULL
33680 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_GetHelpString",kwnames
,&obj0
,&obj1
)) goto fail
;
33681 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33682 if (SWIG_arg_fail(1)) SWIG_fail
;
33684 arg2
= (int)(SWIG_As_int(obj1
));
33685 if (SWIG_arg_fail(2)) SWIG_fail
;
33688 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33689 result
= ((wxMenu
const *)arg1
)->GetHelpString(arg2
);
33691 wxPyEndAllowThreads(__tstate
);
33692 if (PyErr_Occurred()) SWIG_fail
;
33696 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
33698 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
33707 static PyObject
*_wrap_Menu_SetTitle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33708 PyObject
*resultobj
;
33709 wxMenu
*arg1
= (wxMenu
*) 0 ;
33710 wxString
*arg2
= 0 ;
33711 bool temp2
= false ;
33712 PyObject
* obj0
= 0 ;
33713 PyObject
* obj1
= 0 ;
33714 char *kwnames
[] = {
33715 (char *) "self",(char *) "title", NULL
33718 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_SetTitle",kwnames
,&obj0
,&obj1
)) goto fail
;
33719 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33720 if (SWIG_arg_fail(1)) SWIG_fail
;
33722 arg2
= wxString_in_helper(obj1
);
33723 if (arg2
== NULL
) SWIG_fail
;
33727 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33728 (arg1
)->SetTitle((wxString
const &)*arg2
);
33730 wxPyEndAllowThreads(__tstate
);
33731 if (PyErr_Occurred()) SWIG_fail
;
33733 Py_INCREF(Py_None
); resultobj
= Py_None
;
33748 static PyObject
*_wrap_Menu_GetTitle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33749 PyObject
*resultobj
;
33750 wxMenu
*arg1
= (wxMenu
*) 0 ;
33752 PyObject
* obj0
= 0 ;
33753 char *kwnames
[] = {
33754 (char *) "self", NULL
33757 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetTitle",kwnames
,&obj0
)) goto fail
;
33758 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33759 if (SWIG_arg_fail(1)) SWIG_fail
;
33761 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33762 result
= ((wxMenu
const *)arg1
)->GetTitle();
33764 wxPyEndAllowThreads(__tstate
);
33765 if (PyErr_Occurred()) SWIG_fail
;
33769 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
33771 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
33780 static PyObject
*_wrap_Menu_SetEventHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33781 PyObject
*resultobj
;
33782 wxMenu
*arg1
= (wxMenu
*) 0 ;
33783 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
33784 PyObject
* obj0
= 0 ;
33785 PyObject
* obj1
= 0 ;
33786 char *kwnames
[] = {
33787 (char *) "self",(char *) "handler", NULL
33790 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_SetEventHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
33791 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33792 if (SWIG_arg_fail(1)) SWIG_fail
;
33793 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
33794 if (SWIG_arg_fail(2)) SWIG_fail
;
33796 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33797 (arg1
)->SetEventHandler(arg2
);
33799 wxPyEndAllowThreads(__tstate
);
33800 if (PyErr_Occurred()) SWIG_fail
;
33802 Py_INCREF(Py_None
); resultobj
= Py_None
;
33809 static PyObject
*_wrap_Menu_GetEventHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33810 PyObject
*resultobj
;
33811 wxMenu
*arg1
= (wxMenu
*) 0 ;
33812 wxEvtHandler
*result
;
33813 PyObject
* obj0
= 0 ;
33814 char *kwnames
[] = {
33815 (char *) "self", NULL
33818 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetEventHandler",kwnames
,&obj0
)) goto fail
;
33819 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33820 if (SWIG_arg_fail(1)) SWIG_fail
;
33822 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33823 result
= (wxEvtHandler
*)((wxMenu
const *)arg1
)->GetEventHandler();
33825 wxPyEndAllowThreads(__tstate
);
33826 if (PyErr_Occurred()) SWIG_fail
;
33829 resultobj
= wxPyMake_wxObject(result
, 0);
33837 static PyObject
*_wrap_Menu_SetInvokingWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33838 PyObject
*resultobj
;
33839 wxMenu
*arg1
= (wxMenu
*) 0 ;
33840 wxWindow
*arg2
= (wxWindow
*) 0 ;
33841 PyObject
* obj0
= 0 ;
33842 PyObject
* obj1
= 0 ;
33843 char *kwnames
[] = {
33844 (char *) "self",(char *) "win", NULL
33847 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_SetInvokingWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
33848 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33849 if (SWIG_arg_fail(1)) SWIG_fail
;
33850 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
33851 if (SWIG_arg_fail(2)) SWIG_fail
;
33853 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33854 (arg1
)->SetInvokingWindow(arg2
);
33856 wxPyEndAllowThreads(__tstate
);
33857 if (PyErr_Occurred()) SWIG_fail
;
33859 Py_INCREF(Py_None
); resultobj
= Py_None
;
33866 static PyObject
*_wrap_Menu_GetInvokingWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33867 PyObject
*resultobj
;
33868 wxMenu
*arg1
= (wxMenu
*) 0 ;
33870 PyObject
* obj0
= 0 ;
33871 char *kwnames
[] = {
33872 (char *) "self", NULL
33875 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetInvokingWindow",kwnames
,&obj0
)) goto fail
;
33876 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33877 if (SWIG_arg_fail(1)) SWIG_fail
;
33879 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33880 result
= (wxWindow
*)((wxMenu
const *)arg1
)->GetInvokingWindow();
33882 wxPyEndAllowThreads(__tstate
);
33883 if (PyErr_Occurred()) SWIG_fail
;
33886 resultobj
= wxPyMake_wxObject(result
, 0);
33894 static PyObject
*_wrap_Menu_GetStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33895 PyObject
*resultobj
;
33896 wxMenu
*arg1
= (wxMenu
*) 0 ;
33898 PyObject
* obj0
= 0 ;
33899 char *kwnames
[] = {
33900 (char *) "self", NULL
33903 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetStyle",kwnames
,&obj0
)) goto fail
;
33904 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33905 if (SWIG_arg_fail(1)) SWIG_fail
;
33907 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33908 result
= (long)((wxMenu
const *)arg1
)->GetStyle();
33910 wxPyEndAllowThreads(__tstate
);
33911 if (PyErr_Occurred()) SWIG_fail
;
33914 resultobj
= SWIG_From_long((long)(result
));
33922 static PyObject
*_wrap_Menu_UpdateUI(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33923 PyObject
*resultobj
;
33924 wxMenu
*arg1
= (wxMenu
*) 0 ;
33925 wxEvtHandler
*arg2
= (wxEvtHandler
*) NULL
;
33926 PyObject
* obj0
= 0 ;
33927 PyObject
* obj1
= 0 ;
33928 char *kwnames
[] = {
33929 (char *) "self",(char *) "source", NULL
33932 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Menu_UpdateUI",kwnames
,&obj0
,&obj1
)) goto fail
;
33933 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33934 if (SWIG_arg_fail(1)) SWIG_fail
;
33936 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
33937 if (SWIG_arg_fail(2)) SWIG_fail
;
33940 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33941 (arg1
)->UpdateUI(arg2
);
33943 wxPyEndAllowThreads(__tstate
);
33944 if (PyErr_Occurred()) SWIG_fail
;
33946 Py_INCREF(Py_None
); resultobj
= Py_None
;
33953 static PyObject
*_wrap_Menu_GetMenuBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33954 PyObject
*resultobj
;
33955 wxMenu
*arg1
= (wxMenu
*) 0 ;
33957 PyObject
* obj0
= 0 ;
33958 char *kwnames
[] = {
33959 (char *) "self", NULL
33962 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetMenuBar",kwnames
,&obj0
)) goto fail
;
33963 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33964 if (SWIG_arg_fail(1)) SWIG_fail
;
33966 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33967 result
= (wxMenuBar
*)((wxMenu
const *)arg1
)->GetMenuBar();
33969 wxPyEndAllowThreads(__tstate
);
33970 if (PyErr_Occurred()) SWIG_fail
;
33973 resultobj
= wxPyMake_wxObject(result
, 0);
33981 static PyObject
*_wrap_Menu_Attach(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33982 PyObject
*resultobj
;
33983 wxMenu
*arg1
= (wxMenu
*) 0 ;
33984 wxMenuBarBase
*arg2
= (wxMenuBarBase
*) 0 ;
33985 PyObject
* obj0
= 0 ;
33986 PyObject
* obj1
= 0 ;
33987 char *kwnames
[] = {
33988 (char *) "self",(char *) "menubar", NULL
33991 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_Attach",kwnames
,&obj0
,&obj1
)) goto fail
;
33992 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33993 if (SWIG_arg_fail(1)) SWIG_fail
;
33994 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMenuBarBase
, SWIG_POINTER_EXCEPTION
| 0);
33995 if (SWIG_arg_fail(2)) SWIG_fail
;
33997 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33998 (arg1
)->Attach(arg2
);
34000 wxPyEndAllowThreads(__tstate
);
34001 if (PyErr_Occurred()) SWIG_fail
;
34003 Py_INCREF(Py_None
); resultobj
= Py_None
;
34010 static PyObject
*_wrap_Menu_Detach(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34011 PyObject
*resultobj
;
34012 wxMenu
*arg1
= (wxMenu
*) 0 ;
34013 PyObject
* obj0
= 0 ;
34014 char *kwnames
[] = {
34015 (char *) "self", NULL
34018 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_Detach",kwnames
,&obj0
)) goto fail
;
34019 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34020 if (SWIG_arg_fail(1)) SWIG_fail
;
34022 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34025 wxPyEndAllowThreads(__tstate
);
34026 if (PyErr_Occurred()) SWIG_fail
;
34028 Py_INCREF(Py_None
); resultobj
= Py_None
;
34035 static PyObject
*_wrap_Menu_IsAttached(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34036 PyObject
*resultobj
;
34037 wxMenu
*arg1
= (wxMenu
*) 0 ;
34039 PyObject
* obj0
= 0 ;
34040 char *kwnames
[] = {
34041 (char *) "self", NULL
34044 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_IsAttached",kwnames
,&obj0
)) goto fail
;
34045 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34046 if (SWIG_arg_fail(1)) SWIG_fail
;
34048 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34049 result
= (bool)((wxMenu
const *)arg1
)->IsAttached();
34051 wxPyEndAllowThreads(__tstate
);
34052 if (PyErr_Occurred()) SWIG_fail
;
34055 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34063 static PyObject
*_wrap_Menu_SetParent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34064 PyObject
*resultobj
;
34065 wxMenu
*arg1
= (wxMenu
*) 0 ;
34066 wxMenu
*arg2
= (wxMenu
*) 0 ;
34067 PyObject
* obj0
= 0 ;
34068 PyObject
* obj1
= 0 ;
34069 char *kwnames
[] = {
34070 (char *) "self",(char *) "parent", NULL
34073 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_SetParent",kwnames
,&obj0
,&obj1
)) goto fail
;
34074 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34075 if (SWIG_arg_fail(1)) SWIG_fail
;
34076 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34077 if (SWIG_arg_fail(2)) SWIG_fail
;
34079 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34080 (arg1
)->SetParent(arg2
);
34082 wxPyEndAllowThreads(__tstate
);
34083 if (PyErr_Occurred()) SWIG_fail
;
34085 Py_INCREF(Py_None
); resultobj
= Py_None
;
34092 static PyObject
*_wrap_Menu_GetParent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34093 PyObject
*resultobj
;
34094 wxMenu
*arg1
= (wxMenu
*) 0 ;
34096 PyObject
* obj0
= 0 ;
34097 char *kwnames
[] = {
34098 (char *) "self", NULL
34101 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetParent",kwnames
,&obj0
)) goto fail
;
34102 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34103 if (SWIG_arg_fail(1)) SWIG_fail
;
34105 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34106 result
= (wxMenu
*)((wxMenu
const *)arg1
)->GetParent();
34108 wxPyEndAllowThreads(__tstate
);
34109 if (PyErr_Occurred()) SWIG_fail
;
34112 resultobj
= wxPyMake_wxObject(result
, 0);
34120 static PyObject
* Menu_swigregister(PyObject
*, PyObject
*args
) {
34122 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
34123 SWIG_TypeClientData(SWIGTYPE_p_wxMenu
, obj
);
34125 return Py_BuildValue((char *)"");
34127 static PyObject
*_wrap_new_MenuBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34128 PyObject
*resultobj
;
34129 long arg1
= (long) 0 ;
34131 PyObject
* obj0
= 0 ;
34132 char *kwnames
[] = {
34133 (char *) "style", NULL
34136 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_MenuBar",kwnames
,&obj0
)) goto fail
;
34139 arg1
= (long)(SWIG_As_long(obj0
));
34140 if (SWIG_arg_fail(1)) SWIG_fail
;
34144 if (!wxPyCheckForApp()) SWIG_fail
;
34145 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34146 result
= (wxMenuBar
*)new wxMenuBar(arg1
);
34148 wxPyEndAllowThreads(__tstate
);
34149 if (PyErr_Occurred()) SWIG_fail
;
34151 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMenuBar
, 1);
34158 static PyObject
*_wrap_MenuBar_Append(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34159 PyObject
*resultobj
;
34160 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
34161 wxMenu
*arg2
= (wxMenu
*) 0 ;
34162 wxString
*arg3
= 0 ;
34164 bool temp3
= false ;
34165 PyObject
* obj0
= 0 ;
34166 PyObject
* obj1
= 0 ;
34167 PyObject
* obj2
= 0 ;
34168 char *kwnames
[] = {
34169 (char *) "self",(char *) "menu",(char *) "title", NULL
34172 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_Append",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
34173 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
34174 if (SWIG_arg_fail(1)) SWIG_fail
;
34175 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34176 if (SWIG_arg_fail(2)) SWIG_fail
;
34178 arg3
= wxString_in_helper(obj2
);
34179 if (arg3
== NULL
) SWIG_fail
;
34183 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34184 result
= (bool)(arg1
)->Append(arg2
,(wxString
const &)*arg3
);
34186 wxPyEndAllowThreads(__tstate
);
34187 if (PyErr_Occurred()) SWIG_fail
;
34190 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34206 static PyObject
*_wrap_MenuBar_Insert(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34207 PyObject
*resultobj
;
34208 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
34210 wxMenu
*arg3
= (wxMenu
*) 0 ;
34211 wxString
*arg4
= 0 ;
34213 bool temp4
= false ;
34214 PyObject
* obj0
= 0 ;
34215 PyObject
* obj1
= 0 ;
34216 PyObject
* obj2
= 0 ;
34217 PyObject
* obj3
= 0 ;
34218 char *kwnames
[] = {
34219 (char *) "self",(char *) "pos",(char *) "menu",(char *) "title", NULL
34222 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:MenuBar_Insert",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
34223 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
34224 if (SWIG_arg_fail(1)) SWIG_fail
;
34226 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
34227 if (SWIG_arg_fail(2)) SWIG_fail
;
34229 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34230 if (SWIG_arg_fail(3)) SWIG_fail
;
34232 arg4
= wxString_in_helper(obj3
);
34233 if (arg4
== NULL
) SWIG_fail
;
34237 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34238 result
= (bool)(arg1
)->Insert(arg2
,arg3
,(wxString
const &)*arg4
);
34240 wxPyEndAllowThreads(__tstate
);
34241 if (PyErr_Occurred()) SWIG_fail
;
34244 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34260 static PyObject
*_wrap_MenuBar_GetMenuCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34261 PyObject
*resultobj
;
34262 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
34264 PyObject
* obj0
= 0 ;
34265 char *kwnames
[] = {
34266 (char *) "self", NULL
34269 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuBar_GetMenuCount",kwnames
,&obj0
)) goto fail
;
34270 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
34271 if (SWIG_arg_fail(1)) SWIG_fail
;
34273 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34274 result
= (size_t)((wxMenuBar
const *)arg1
)->GetMenuCount();
34276 wxPyEndAllowThreads(__tstate
);
34277 if (PyErr_Occurred()) SWIG_fail
;
34280 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
34288 static PyObject
*_wrap_MenuBar_GetMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34289 PyObject
*resultobj
;
34290 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
34293 PyObject
* obj0
= 0 ;
34294 PyObject
* obj1
= 0 ;
34295 char *kwnames
[] = {
34296 (char *) "self",(char *) "pos", NULL
34299 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_GetMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
34300 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
34301 if (SWIG_arg_fail(1)) SWIG_fail
;
34303 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
34304 if (SWIG_arg_fail(2)) SWIG_fail
;
34307 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34308 result
= (wxMenu
*)((wxMenuBar
const *)arg1
)->GetMenu(arg2
);
34310 wxPyEndAllowThreads(__tstate
);
34311 if (PyErr_Occurred()) SWIG_fail
;
34314 resultobj
= wxPyMake_wxObject(result
, 0);
34322 static PyObject
*_wrap_MenuBar_Replace(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34323 PyObject
*resultobj
;
34324 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
34326 wxMenu
*arg3
= (wxMenu
*) 0 ;
34327 wxString
*arg4
= 0 ;
34329 bool temp4
= false ;
34330 PyObject
* obj0
= 0 ;
34331 PyObject
* obj1
= 0 ;
34332 PyObject
* obj2
= 0 ;
34333 PyObject
* obj3
= 0 ;
34334 char *kwnames
[] = {
34335 (char *) "self",(char *) "pos",(char *) "menu",(char *) "title", NULL
34338 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:MenuBar_Replace",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
34339 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
34340 if (SWIG_arg_fail(1)) SWIG_fail
;
34342 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
34343 if (SWIG_arg_fail(2)) SWIG_fail
;
34345 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34346 if (SWIG_arg_fail(3)) SWIG_fail
;
34348 arg4
= wxString_in_helper(obj3
);
34349 if (arg4
== NULL
) SWIG_fail
;
34353 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34354 result
= (wxMenu
*)(arg1
)->Replace(arg2
,arg3
,(wxString
const &)*arg4
);
34356 wxPyEndAllowThreads(__tstate
);
34357 if (PyErr_Occurred()) SWIG_fail
;
34360 resultobj
= wxPyMake_wxObject(result
, 0);
34376 static PyObject
*_wrap_MenuBar_Remove(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34377 PyObject
*resultobj
;
34378 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
34381 PyObject
* obj0
= 0 ;
34382 PyObject
* obj1
= 0 ;
34383 char *kwnames
[] = {
34384 (char *) "self",(char *) "pos", NULL
34387 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_Remove",kwnames
,&obj0
,&obj1
)) goto fail
;
34388 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
34389 if (SWIG_arg_fail(1)) SWIG_fail
;
34391 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
34392 if (SWIG_arg_fail(2)) SWIG_fail
;
34395 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34396 result
= (wxMenu
*)(arg1
)->Remove(arg2
);
34398 wxPyEndAllowThreads(__tstate
);
34399 if (PyErr_Occurred()) SWIG_fail
;
34402 resultobj
= wxPyMake_wxObject(result
, 0);
34410 static PyObject
*_wrap_MenuBar_EnableTop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34411 PyObject
*resultobj
;
34412 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
34415 PyObject
* obj0
= 0 ;
34416 PyObject
* obj1
= 0 ;
34417 PyObject
* obj2
= 0 ;
34418 char *kwnames
[] = {
34419 (char *) "self",(char *) "pos",(char *) "enable", NULL
34422 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_EnableTop",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
34423 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
34424 if (SWIG_arg_fail(1)) SWIG_fail
;
34426 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
34427 if (SWIG_arg_fail(2)) SWIG_fail
;
34430 arg3
= (bool)(SWIG_As_bool(obj2
));
34431 if (SWIG_arg_fail(3)) SWIG_fail
;
34434 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34435 (arg1
)->EnableTop(arg2
,arg3
);
34437 wxPyEndAllowThreads(__tstate
);
34438 if (PyErr_Occurred()) SWIG_fail
;
34440 Py_INCREF(Py_None
); resultobj
= Py_None
;
34447 static PyObject
*_wrap_MenuBar_IsEnabledTop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34448 PyObject
*resultobj
;
34449 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
34452 PyObject
* obj0
= 0 ;
34453 PyObject
* obj1
= 0 ;
34454 char *kwnames
[] = {
34455 (char *) "self",(char *) "pos", NULL
34458 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_IsEnabledTop",kwnames
,&obj0
,&obj1
)) goto fail
;
34459 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
34460 if (SWIG_arg_fail(1)) SWIG_fail
;
34462 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
34463 if (SWIG_arg_fail(2)) SWIG_fail
;
34466 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34467 result
= (bool)((wxMenuBar
const *)arg1
)->IsEnabledTop(arg2
);
34469 wxPyEndAllowThreads(__tstate
);
34470 if (PyErr_Occurred()) SWIG_fail
;
34473 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34481 static PyObject
*_wrap_MenuBar_SetLabelTop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34482 PyObject
*resultobj
;
34483 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
34485 wxString
*arg3
= 0 ;
34486 bool temp3
= false ;
34487 PyObject
* obj0
= 0 ;
34488 PyObject
* obj1
= 0 ;
34489 PyObject
* obj2
= 0 ;
34490 char *kwnames
[] = {
34491 (char *) "self",(char *) "pos",(char *) "label", NULL
34494 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_SetLabelTop",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
34495 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
34496 if (SWIG_arg_fail(1)) SWIG_fail
;
34498 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
34499 if (SWIG_arg_fail(2)) SWIG_fail
;
34502 arg3
= wxString_in_helper(obj2
);
34503 if (arg3
== NULL
) SWIG_fail
;
34507 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34508 (arg1
)->SetLabelTop(arg2
,(wxString
const &)*arg3
);
34510 wxPyEndAllowThreads(__tstate
);
34511 if (PyErr_Occurred()) SWIG_fail
;
34513 Py_INCREF(Py_None
); resultobj
= Py_None
;
34528 static PyObject
*_wrap_MenuBar_GetLabelTop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34529 PyObject
*resultobj
;
34530 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
34533 PyObject
* obj0
= 0 ;
34534 PyObject
* obj1
= 0 ;
34535 char *kwnames
[] = {
34536 (char *) "self",(char *) "pos", NULL
34539 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_GetLabelTop",kwnames
,&obj0
,&obj1
)) goto fail
;
34540 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
34541 if (SWIG_arg_fail(1)) SWIG_fail
;
34543 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
34544 if (SWIG_arg_fail(2)) SWIG_fail
;
34547 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34548 result
= ((wxMenuBar
const *)arg1
)->GetLabelTop(arg2
);
34550 wxPyEndAllowThreads(__tstate
);
34551 if (PyErr_Occurred()) SWIG_fail
;
34555 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
34557 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
34566 static PyObject
*_wrap_MenuBar_FindMenuItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34567 PyObject
*resultobj
;
34568 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
34569 wxString
*arg2
= 0 ;
34570 wxString
*arg3
= 0 ;
34572 bool temp2
= false ;
34573 bool temp3
= false ;
34574 PyObject
* obj0
= 0 ;
34575 PyObject
* obj1
= 0 ;
34576 PyObject
* obj2
= 0 ;
34577 char *kwnames
[] = {
34578 (char *) "self",(char *) "menu",(char *) "item", NULL
34581 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_FindMenuItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
34582 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
34583 if (SWIG_arg_fail(1)) SWIG_fail
;
34585 arg2
= wxString_in_helper(obj1
);
34586 if (arg2
== NULL
) SWIG_fail
;
34590 arg3
= wxString_in_helper(obj2
);
34591 if (arg3
== NULL
) SWIG_fail
;
34595 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34596 result
= (int)((wxMenuBar
const *)arg1
)->FindMenuItem((wxString
const &)*arg2
,(wxString
const &)*arg3
);
34598 wxPyEndAllowThreads(__tstate
);
34599 if (PyErr_Occurred()) SWIG_fail
;
34602 resultobj
= SWIG_From_int((int)(result
));
34626 static PyObject
*_wrap_MenuBar_FindItemById(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34627 PyObject
*resultobj
;
34628 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
34630 wxMenuItem
*result
;
34631 PyObject
* obj0
= 0 ;
34632 PyObject
* obj1
= 0 ;
34633 char *kwnames
[] = {
34634 (char *) "self",(char *) "id", NULL
34637 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_FindItemById",kwnames
,&obj0
,&obj1
)) goto fail
;
34638 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
34639 if (SWIG_arg_fail(1)) SWIG_fail
;
34641 arg2
= (int)(SWIG_As_int(obj1
));
34642 if (SWIG_arg_fail(2)) SWIG_fail
;
34645 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34646 result
= (wxMenuItem
*)((wxMenuBar
const *)arg1
)->FindItem(arg2
);
34648 wxPyEndAllowThreads(__tstate
);
34649 if (PyErr_Occurred()) SWIG_fail
;
34652 resultobj
= wxPyMake_wxObject(result
, 0);
34660 static PyObject
*_wrap_MenuBar_FindMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34661 PyObject
*resultobj
;
34662 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
34663 wxString
*arg2
= 0 ;
34665 bool temp2
= false ;
34666 PyObject
* obj0
= 0 ;
34667 PyObject
* obj1
= 0 ;
34668 char *kwnames
[] = {
34669 (char *) "self",(char *) "title", NULL
34672 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_FindMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
34673 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
34674 if (SWIG_arg_fail(1)) SWIG_fail
;
34676 arg2
= wxString_in_helper(obj1
);
34677 if (arg2
== NULL
) SWIG_fail
;
34681 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34682 result
= (int)((wxMenuBar
const *)arg1
)->FindMenu((wxString
const &)*arg2
);
34684 wxPyEndAllowThreads(__tstate
);
34685 if (PyErr_Occurred()) SWIG_fail
;
34688 resultobj
= SWIG_From_int((int)(result
));
34704 static PyObject
*_wrap_MenuBar_Enable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34705 PyObject
*resultobj
;
34706 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
34709 PyObject
* obj0
= 0 ;
34710 PyObject
* obj1
= 0 ;
34711 PyObject
* obj2
= 0 ;
34712 char *kwnames
[] = {
34713 (char *) "self",(char *) "id",(char *) "enable", NULL
34716 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_Enable",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
34717 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
34718 if (SWIG_arg_fail(1)) SWIG_fail
;
34720 arg2
= (int)(SWIG_As_int(obj1
));
34721 if (SWIG_arg_fail(2)) SWIG_fail
;
34724 arg3
= (bool)(SWIG_As_bool(obj2
));
34725 if (SWIG_arg_fail(3)) SWIG_fail
;
34728 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34729 (arg1
)->Enable(arg2
,arg3
);
34731 wxPyEndAllowThreads(__tstate
);
34732 if (PyErr_Occurred()) SWIG_fail
;
34734 Py_INCREF(Py_None
); resultobj
= Py_None
;
34741 static PyObject
*_wrap_MenuBar_Check(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34742 PyObject
*resultobj
;
34743 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
34746 PyObject
* obj0
= 0 ;
34747 PyObject
* obj1
= 0 ;
34748 PyObject
* obj2
= 0 ;
34749 char *kwnames
[] = {
34750 (char *) "self",(char *) "id",(char *) "check", NULL
34753 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_Check",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
34754 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
34755 if (SWIG_arg_fail(1)) SWIG_fail
;
34757 arg2
= (int)(SWIG_As_int(obj1
));
34758 if (SWIG_arg_fail(2)) SWIG_fail
;
34761 arg3
= (bool)(SWIG_As_bool(obj2
));
34762 if (SWIG_arg_fail(3)) SWIG_fail
;
34765 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34766 (arg1
)->Check(arg2
,arg3
);
34768 wxPyEndAllowThreads(__tstate
);
34769 if (PyErr_Occurred()) SWIG_fail
;
34771 Py_INCREF(Py_None
); resultobj
= Py_None
;
34778 static PyObject
*_wrap_MenuBar_IsChecked(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34779 PyObject
*resultobj
;
34780 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
34783 PyObject
* obj0
= 0 ;
34784 PyObject
* obj1
= 0 ;
34785 char *kwnames
[] = {
34786 (char *) "self",(char *) "id", NULL
34789 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_IsChecked",kwnames
,&obj0
,&obj1
)) goto fail
;
34790 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
34791 if (SWIG_arg_fail(1)) SWIG_fail
;
34793 arg2
= (int)(SWIG_As_int(obj1
));
34794 if (SWIG_arg_fail(2)) SWIG_fail
;
34797 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34798 result
= (bool)((wxMenuBar
const *)arg1
)->IsChecked(arg2
);
34800 wxPyEndAllowThreads(__tstate
);
34801 if (PyErr_Occurred()) SWIG_fail
;
34804 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34812 static PyObject
*_wrap_MenuBar_IsEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34813 PyObject
*resultobj
;
34814 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
34817 PyObject
* obj0
= 0 ;
34818 PyObject
* obj1
= 0 ;
34819 char *kwnames
[] = {
34820 (char *) "self",(char *) "id", NULL
34823 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_IsEnabled",kwnames
,&obj0
,&obj1
)) goto fail
;
34824 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
34825 if (SWIG_arg_fail(1)) SWIG_fail
;
34827 arg2
= (int)(SWIG_As_int(obj1
));
34828 if (SWIG_arg_fail(2)) SWIG_fail
;
34831 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34832 result
= (bool)((wxMenuBar
const *)arg1
)->IsEnabled(arg2
);
34834 wxPyEndAllowThreads(__tstate
);
34835 if (PyErr_Occurred()) SWIG_fail
;
34838 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34846 static PyObject
*_wrap_MenuBar_SetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34847 PyObject
*resultobj
;
34848 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
34850 wxString
*arg3
= 0 ;
34851 bool temp3
= false ;
34852 PyObject
* obj0
= 0 ;
34853 PyObject
* obj1
= 0 ;
34854 PyObject
* obj2
= 0 ;
34855 char *kwnames
[] = {
34856 (char *) "self",(char *) "id",(char *) "label", NULL
34859 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_SetLabel",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
34860 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
34861 if (SWIG_arg_fail(1)) SWIG_fail
;
34863 arg2
= (int)(SWIG_As_int(obj1
));
34864 if (SWIG_arg_fail(2)) SWIG_fail
;
34867 arg3
= wxString_in_helper(obj2
);
34868 if (arg3
== NULL
) SWIG_fail
;
34872 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34873 (arg1
)->SetLabel(arg2
,(wxString
const &)*arg3
);
34875 wxPyEndAllowThreads(__tstate
);
34876 if (PyErr_Occurred()) SWIG_fail
;
34878 Py_INCREF(Py_None
); resultobj
= Py_None
;
34893 static PyObject
*_wrap_MenuBar_GetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34894 PyObject
*resultobj
;
34895 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
34898 PyObject
* obj0
= 0 ;
34899 PyObject
* obj1
= 0 ;
34900 char *kwnames
[] = {
34901 (char *) "self",(char *) "id", NULL
34904 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_GetLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
34905 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
34906 if (SWIG_arg_fail(1)) SWIG_fail
;
34908 arg2
= (int)(SWIG_As_int(obj1
));
34909 if (SWIG_arg_fail(2)) SWIG_fail
;
34912 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34913 result
= ((wxMenuBar
const *)arg1
)->GetLabel(arg2
);
34915 wxPyEndAllowThreads(__tstate
);
34916 if (PyErr_Occurred()) SWIG_fail
;
34920 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
34922 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
34931 static PyObject
*_wrap_MenuBar_SetHelpString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34932 PyObject
*resultobj
;
34933 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
34935 wxString
*arg3
= 0 ;
34936 bool temp3
= false ;
34937 PyObject
* obj0
= 0 ;
34938 PyObject
* obj1
= 0 ;
34939 PyObject
* obj2
= 0 ;
34940 char *kwnames
[] = {
34941 (char *) "self",(char *) "id",(char *) "helpString", NULL
34944 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_SetHelpString",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
34945 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
34946 if (SWIG_arg_fail(1)) SWIG_fail
;
34948 arg2
= (int)(SWIG_As_int(obj1
));
34949 if (SWIG_arg_fail(2)) SWIG_fail
;
34952 arg3
= wxString_in_helper(obj2
);
34953 if (arg3
== NULL
) SWIG_fail
;
34957 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34958 (arg1
)->SetHelpString(arg2
,(wxString
const &)*arg3
);
34960 wxPyEndAllowThreads(__tstate
);
34961 if (PyErr_Occurred()) SWIG_fail
;
34963 Py_INCREF(Py_None
); resultobj
= Py_None
;
34978 static PyObject
*_wrap_MenuBar_GetHelpString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34979 PyObject
*resultobj
;
34980 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
34983 PyObject
* obj0
= 0 ;
34984 PyObject
* obj1
= 0 ;
34985 char *kwnames
[] = {
34986 (char *) "self",(char *) "id", NULL
34989 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_GetHelpString",kwnames
,&obj0
,&obj1
)) goto fail
;
34990 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
34991 if (SWIG_arg_fail(1)) SWIG_fail
;
34993 arg2
= (int)(SWIG_As_int(obj1
));
34994 if (SWIG_arg_fail(2)) SWIG_fail
;
34997 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34998 result
= ((wxMenuBar
const *)arg1
)->GetHelpString(arg2
);
35000 wxPyEndAllowThreads(__tstate
);
35001 if (PyErr_Occurred()) SWIG_fail
;
35005 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
35007 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
35016 static PyObject
*_wrap_MenuBar_GetFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35017 PyObject
*resultobj
;
35018 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
35020 PyObject
* obj0
= 0 ;
35021 char *kwnames
[] = {
35022 (char *) "self", NULL
35025 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuBar_GetFrame",kwnames
,&obj0
)) goto fail
;
35026 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
35027 if (SWIG_arg_fail(1)) SWIG_fail
;
35029 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35030 result
= (wxFrame
*)((wxMenuBar
const *)arg1
)->GetFrame();
35032 wxPyEndAllowThreads(__tstate
);
35033 if (PyErr_Occurred()) SWIG_fail
;
35036 resultobj
= wxPyMake_wxObject(result
, 0);
35044 static PyObject
*_wrap_MenuBar_IsAttached(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35045 PyObject
*resultobj
;
35046 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
35048 PyObject
* obj0
= 0 ;
35049 char *kwnames
[] = {
35050 (char *) "self", NULL
35053 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuBar_IsAttached",kwnames
,&obj0
)) goto fail
;
35054 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
35055 if (SWIG_arg_fail(1)) SWIG_fail
;
35057 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35058 result
= (bool)((wxMenuBar
const *)arg1
)->IsAttached();
35060 wxPyEndAllowThreads(__tstate
);
35061 if (PyErr_Occurred()) SWIG_fail
;
35064 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35072 static PyObject
*_wrap_MenuBar_Attach(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35073 PyObject
*resultobj
;
35074 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
35075 wxFrame
*arg2
= (wxFrame
*) 0 ;
35076 PyObject
* obj0
= 0 ;
35077 PyObject
* obj1
= 0 ;
35078 char *kwnames
[] = {
35079 (char *) "self",(char *) "frame", NULL
35082 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_Attach",kwnames
,&obj0
,&obj1
)) goto fail
;
35083 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
35084 if (SWIG_arg_fail(1)) SWIG_fail
;
35085 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFrame
, SWIG_POINTER_EXCEPTION
| 0);
35086 if (SWIG_arg_fail(2)) SWIG_fail
;
35088 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35089 (arg1
)->Attach(arg2
);
35091 wxPyEndAllowThreads(__tstate
);
35092 if (PyErr_Occurred()) SWIG_fail
;
35094 Py_INCREF(Py_None
); resultobj
= Py_None
;
35101 static PyObject
*_wrap_MenuBar_Detach(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35102 PyObject
*resultobj
;
35103 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
35104 PyObject
* obj0
= 0 ;
35105 char *kwnames
[] = {
35106 (char *) "self", NULL
35109 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuBar_Detach",kwnames
,&obj0
)) goto fail
;
35110 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
35111 if (SWIG_arg_fail(1)) SWIG_fail
;
35113 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35116 wxPyEndAllowThreads(__tstate
);
35117 if (PyErr_Occurred()) SWIG_fail
;
35119 Py_INCREF(Py_None
); resultobj
= Py_None
;
35126 static PyObject
* MenuBar_swigregister(PyObject
*, PyObject
*args
) {
35128 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
35129 SWIG_TypeClientData(SWIGTYPE_p_wxMenuBar
, obj
);
35131 return Py_BuildValue((char *)"");
35133 static PyObject
*_wrap_new_MenuItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35134 PyObject
*resultobj
;
35135 wxMenu
*arg1
= (wxMenu
*) NULL
;
35136 int arg2
= (int) wxID_ANY
;
35137 wxString
const &arg3_defvalue
= wxPyEmptyString
;
35138 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
35139 wxString
const &arg4_defvalue
= wxPyEmptyString
;
35140 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
35141 wxItemKind arg5
= (wxItemKind
) wxITEM_NORMAL
;
35142 wxMenu
*arg6
= (wxMenu
*) NULL
;
35143 wxMenuItem
*result
;
35144 bool temp3
= false ;
35145 bool temp4
= false ;
35146 PyObject
* obj0
= 0 ;
35147 PyObject
* obj1
= 0 ;
35148 PyObject
* obj2
= 0 ;
35149 PyObject
* obj3
= 0 ;
35150 PyObject
* obj4
= 0 ;
35151 PyObject
* obj5
= 0 ;
35152 char *kwnames
[] = {
35153 (char *) "parentMenu",(char *) "id",(char *) "text",(char *) "help",(char *) "kind",(char *) "subMenu", NULL
35156 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOOOO:new_MenuItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
35158 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
35159 if (SWIG_arg_fail(1)) SWIG_fail
;
35163 arg2
= (int)(SWIG_As_int(obj1
));
35164 if (SWIG_arg_fail(2)) SWIG_fail
;
35169 arg3
= wxString_in_helper(obj2
);
35170 if (arg3
== NULL
) SWIG_fail
;
35176 arg4
= wxString_in_helper(obj3
);
35177 if (arg4
== NULL
) SWIG_fail
;
35183 arg5
= (wxItemKind
)(SWIG_As_int(obj4
));
35184 if (SWIG_arg_fail(5)) SWIG_fail
;
35188 SWIG_Python_ConvertPtr(obj5
, (void **)&arg6
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
35189 if (SWIG_arg_fail(6)) SWIG_fail
;
35192 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35193 result
= (wxMenuItem
*)new wxMenuItem(arg1
,arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,(wxItemKind
)arg5
,arg6
);
35195 wxPyEndAllowThreads(__tstate
);
35196 if (PyErr_Occurred()) SWIG_fail
;
35199 resultobj
= wxPyMake_wxObject(result
, 1);
35223 static PyObject
*_wrap_MenuItem_GetMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35224 PyObject
*resultobj
;
35225 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
35227 PyObject
* obj0
= 0 ;
35228 char *kwnames
[] = {
35229 (char *) "self", NULL
35232 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetMenu",kwnames
,&obj0
)) goto fail
;
35233 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
35234 if (SWIG_arg_fail(1)) SWIG_fail
;
35236 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35237 result
= (wxMenu
*)((wxMenuItem
const *)arg1
)->GetMenu();
35239 wxPyEndAllowThreads(__tstate
);
35240 if (PyErr_Occurred()) SWIG_fail
;
35243 resultobj
= wxPyMake_wxObject(result
, 0);
35251 static PyObject
*_wrap_MenuItem_SetMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35252 PyObject
*resultobj
;
35253 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
35254 wxMenu
*arg2
= (wxMenu
*) 0 ;
35255 PyObject
* obj0
= 0 ;
35256 PyObject
* obj1
= 0 ;
35257 char *kwnames
[] = {
35258 (char *) "self",(char *) "menu", NULL
35261 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
35262 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
35263 if (SWIG_arg_fail(1)) SWIG_fail
;
35264 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
35265 if (SWIG_arg_fail(2)) SWIG_fail
;
35267 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35268 (arg1
)->SetMenu(arg2
);
35270 wxPyEndAllowThreads(__tstate
);
35271 if (PyErr_Occurred()) SWIG_fail
;
35273 Py_INCREF(Py_None
); resultobj
= Py_None
;
35280 static PyObject
*_wrap_MenuItem_SetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35281 PyObject
*resultobj
;
35282 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
35284 PyObject
* obj0
= 0 ;
35285 PyObject
* obj1
= 0 ;
35286 char *kwnames
[] = {
35287 (char *) "self",(char *) "id", NULL
35290 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetId",kwnames
,&obj0
,&obj1
)) goto fail
;
35291 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
35292 if (SWIG_arg_fail(1)) SWIG_fail
;
35294 arg2
= (int)(SWIG_As_int(obj1
));
35295 if (SWIG_arg_fail(2)) SWIG_fail
;
35298 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35299 (arg1
)->SetId(arg2
);
35301 wxPyEndAllowThreads(__tstate
);
35302 if (PyErr_Occurred()) SWIG_fail
;
35304 Py_INCREF(Py_None
); resultobj
= Py_None
;
35311 static PyObject
*_wrap_MenuItem_GetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35312 PyObject
*resultobj
;
35313 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
35315 PyObject
* obj0
= 0 ;
35316 char *kwnames
[] = {
35317 (char *) "self", NULL
35320 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetId",kwnames
,&obj0
)) goto fail
;
35321 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
35322 if (SWIG_arg_fail(1)) SWIG_fail
;
35324 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35325 result
= (int)((wxMenuItem
const *)arg1
)->GetId();
35327 wxPyEndAllowThreads(__tstate
);
35328 if (PyErr_Occurred()) SWIG_fail
;
35331 resultobj
= SWIG_From_int((int)(result
));
35339 static PyObject
*_wrap_MenuItem_IsSeparator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35340 PyObject
*resultobj
;
35341 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
35343 PyObject
* obj0
= 0 ;
35344 char *kwnames
[] = {
35345 (char *) "self", NULL
35348 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_IsSeparator",kwnames
,&obj0
)) goto fail
;
35349 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
35350 if (SWIG_arg_fail(1)) SWIG_fail
;
35352 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35353 result
= (bool)((wxMenuItem
const *)arg1
)->IsSeparator();
35355 wxPyEndAllowThreads(__tstate
);
35356 if (PyErr_Occurred()) SWIG_fail
;
35359 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35367 static PyObject
*_wrap_MenuItem_SetText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35368 PyObject
*resultobj
;
35369 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
35370 wxString
*arg2
= 0 ;
35371 bool temp2
= false ;
35372 PyObject
* obj0
= 0 ;
35373 PyObject
* obj1
= 0 ;
35374 char *kwnames
[] = {
35375 (char *) "self",(char *) "str", NULL
35378 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetText",kwnames
,&obj0
,&obj1
)) goto fail
;
35379 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
35380 if (SWIG_arg_fail(1)) SWIG_fail
;
35382 arg2
= wxString_in_helper(obj1
);
35383 if (arg2
== NULL
) SWIG_fail
;
35387 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35388 (arg1
)->SetText((wxString
const &)*arg2
);
35390 wxPyEndAllowThreads(__tstate
);
35391 if (PyErr_Occurred()) SWIG_fail
;
35393 Py_INCREF(Py_None
); resultobj
= Py_None
;
35408 static PyObject
*_wrap_MenuItem_GetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35409 PyObject
*resultobj
;
35410 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
35412 PyObject
* obj0
= 0 ;
35413 char *kwnames
[] = {
35414 (char *) "self", NULL
35417 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetLabel",kwnames
,&obj0
)) goto fail
;
35418 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
35419 if (SWIG_arg_fail(1)) SWIG_fail
;
35421 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35422 result
= ((wxMenuItem
const *)arg1
)->GetLabel();
35424 wxPyEndAllowThreads(__tstate
);
35425 if (PyErr_Occurred()) SWIG_fail
;
35429 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
35431 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
35440 static PyObject
*_wrap_MenuItem_GetText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35441 PyObject
*resultobj
;
35442 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
35444 PyObject
* obj0
= 0 ;
35445 char *kwnames
[] = {
35446 (char *) "self", NULL
35449 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetText",kwnames
,&obj0
)) goto fail
;
35450 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
35451 if (SWIG_arg_fail(1)) SWIG_fail
;
35453 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35455 wxString
const &_result_ref
= ((wxMenuItem
const *)arg1
)->GetText();
35456 result
= (wxString
*) &_result_ref
;
35459 wxPyEndAllowThreads(__tstate
);
35460 if (PyErr_Occurred()) SWIG_fail
;
35464 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
35466 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
35475 static PyObject
*_wrap_MenuItem_GetLabelFromText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35476 PyObject
*resultobj
;
35477 wxString
*arg1
= 0 ;
35479 bool temp1
= false ;
35480 PyObject
* obj0
= 0 ;
35481 char *kwnames
[] = {
35482 (char *) "text", NULL
35485 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetLabelFromText",kwnames
,&obj0
)) goto fail
;
35487 arg1
= wxString_in_helper(obj0
);
35488 if (arg1
== NULL
) SWIG_fail
;
35492 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35493 result
= wxMenuItem::GetLabelFromText((wxString
const &)*arg1
);
35495 wxPyEndAllowThreads(__tstate
);
35496 if (PyErr_Occurred()) SWIG_fail
;
35500 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
35502 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
35519 static PyObject
*_wrap_MenuItem_GetKind(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35520 PyObject
*resultobj
;
35521 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
35523 PyObject
* obj0
= 0 ;
35524 char *kwnames
[] = {
35525 (char *) "self", NULL
35528 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetKind",kwnames
,&obj0
)) goto fail
;
35529 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
35530 if (SWIG_arg_fail(1)) SWIG_fail
;
35532 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35533 result
= (wxItemKind
)((wxMenuItem
const *)arg1
)->GetKind();
35535 wxPyEndAllowThreads(__tstate
);
35536 if (PyErr_Occurred()) SWIG_fail
;
35538 resultobj
= SWIG_From_int((result
));
35545 static PyObject
*_wrap_MenuItem_SetKind(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35546 PyObject
*resultobj
;
35547 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
35549 PyObject
* obj0
= 0 ;
35550 PyObject
* obj1
= 0 ;
35551 char *kwnames
[] = {
35552 (char *) "self",(char *) "kind", NULL
35555 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetKind",kwnames
,&obj0
,&obj1
)) goto fail
;
35556 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
35557 if (SWIG_arg_fail(1)) SWIG_fail
;
35559 arg2
= (wxItemKind
)(SWIG_As_int(obj1
));
35560 if (SWIG_arg_fail(2)) SWIG_fail
;
35563 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35564 (arg1
)->SetKind((wxItemKind
)arg2
);
35566 wxPyEndAllowThreads(__tstate
);
35567 if (PyErr_Occurred()) SWIG_fail
;
35569 Py_INCREF(Py_None
); resultobj
= Py_None
;
35576 static PyObject
*_wrap_MenuItem_SetCheckable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35577 PyObject
*resultobj
;
35578 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
35580 PyObject
* obj0
= 0 ;
35581 PyObject
* obj1
= 0 ;
35582 char *kwnames
[] = {
35583 (char *) "self",(char *) "checkable", NULL
35586 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetCheckable",kwnames
,&obj0
,&obj1
)) goto fail
;
35587 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
35588 if (SWIG_arg_fail(1)) SWIG_fail
;
35590 arg2
= (bool)(SWIG_As_bool(obj1
));
35591 if (SWIG_arg_fail(2)) SWIG_fail
;
35594 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35595 (arg1
)->SetCheckable(arg2
);
35597 wxPyEndAllowThreads(__tstate
);
35598 if (PyErr_Occurred()) SWIG_fail
;
35600 Py_INCREF(Py_None
); resultobj
= Py_None
;
35607 static PyObject
*_wrap_MenuItem_IsCheckable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35608 PyObject
*resultobj
;
35609 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
35611 PyObject
* obj0
= 0 ;
35612 char *kwnames
[] = {
35613 (char *) "self", NULL
35616 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_IsCheckable",kwnames
,&obj0
)) goto fail
;
35617 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
35618 if (SWIG_arg_fail(1)) SWIG_fail
;
35620 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35621 result
= (bool)((wxMenuItem
const *)arg1
)->IsCheckable();
35623 wxPyEndAllowThreads(__tstate
);
35624 if (PyErr_Occurred()) SWIG_fail
;
35627 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35635 static PyObject
*_wrap_MenuItem_IsSubMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35636 PyObject
*resultobj
;
35637 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
35639 PyObject
* obj0
= 0 ;
35640 char *kwnames
[] = {
35641 (char *) "self", NULL
35644 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_IsSubMenu",kwnames
,&obj0
)) goto fail
;
35645 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
35646 if (SWIG_arg_fail(1)) SWIG_fail
;
35648 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35649 result
= (bool)((wxMenuItem
const *)arg1
)->IsSubMenu();
35651 wxPyEndAllowThreads(__tstate
);
35652 if (PyErr_Occurred()) SWIG_fail
;
35655 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35663 static PyObject
*_wrap_MenuItem_SetSubMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35664 PyObject
*resultobj
;
35665 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
35666 wxMenu
*arg2
= (wxMenu
*) 0 ;
35667 PyObject
* obj0
= 0 ;
35668 PyObject
* obj1
= 0 ;
35669 char *kwnames
[] = {
35670 (char *) "self",(char *) "menu", NULL
35673 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetSubMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
35674 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
35675 if (SWIG_arg_fail(1)) SWIG_fail
;
35676 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
35677 if (SWIG_arg_fail(2)) SWIG_fail
;
35679 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35680 (arg1
)->SetSubMenu(arg2
);
35682 wxPyEndAllowThreads(__tstate
);
35683 if (PyErr_Occurred()) SWIG_fail
;
35685 Py_INCREF(Py_None
); resultobj
= Py_None
;
35692 static PyObject
*_wrap_MenuItem_GetSubMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35693 PyObject
*resultobj
;
35694 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
35696 PyObject
* obj0
= 0 ;
35697 char *kwnames
[] = {
35698 (char *) "self", NULL
35701 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetSubMenu",kwnames
,&obj0
)) goto fail
;
35702 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
35703 if (SWIG_arg_fail(1)) SWIG_fail
;
35705 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35706 result
= (wxMenu
*)((wxMenuItem
const *)arg1
)->GetSubMenu();
35708 wxPyEndAllowThreads(__tstate
);
35709 if (PyErr_Occurred()) SWIG_fail
;
35712 resultobj
= wxPyMake_wxObject(result
, 0);
35720 static PyObject
*_wrap_MenuItem_Enable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35721 PyObject
*resultobj
;
35722 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
35723 bool arg2
= (bool) true ;
35724 PyObject
* obj0
= 0 ;
35725 PyObject
* obj1
= 0 ;
35726 char *kwnames
[] = {
35727 (char *) "self",(char *) "enable", NULL
35730 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:MenuItem_Enable",kwnames
,&obj0
,&obj1
)) goto fail
;
35731 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
35732 if (SWIG_arg_fail(1)) SWIG_fail
;
35735 arg2
= (bool)(SWIG_As_bool(obj1
));
35736 if (SWIG_arg_fail(2)) SWIG_fail
;
35740 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35741 (arg1
)->Enable(arg2
);
35743 wxPyEndAllowThreads(__tstate
);
35744 if (PyErr_Occurred()) SWIG_fail
;
35746 Py_INCREF(Py_None
); resultobj
= Py_None
;
35753 static PyObject
*_wrap_MenuItem_IsEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35754 PyObject
*resultobj
;
35755 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
35757 PyObject
* obj0
= 0 ;
35758 char *kwnames
[] = {
35759 (char *) "self", NULL
35762 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_IsEnabled",kwnames
,&obj0
)) goto fail
;
35763 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
35764 if (SWIG_arg_fail(1)) SWIG_fail
;
35766 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35767 result
= (bool)((wxMenuItem
const *)arg1
)->IsEnabled();
35769 wxPyEndAllowThreads(__tstate
);
35770 if (PyErr_Occurred()) SWIG_fail
;
35773 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35781 static PyObject
*_wrap_MenuItem_Check(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35782 PyObject
*resultobj
;
35783 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
35784 bool arg2
= (bool) true ;
35785 PyObject
* obj0
= 0 ;
35786 PyObject
* obj1
= 0 ;
35787 char *kwnames
[] = {
35788 (char *) "self",(char *) "check", NULL
35791 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:MenuItem_Check",kwnames
,&obj0
,&obj1
)) goto fail
;
35792 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
35793 if (SWIG_arg_fail(1)) SWIG_fail
;
35796 arg2
= (bool)(SWIG_As_bool(obj1
));
35797 if (SWIG_arg_fail(2)) SWIG_fail
;
35801 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35802 (arg1
)->Check(arg2
);
35804 wxPyEndAllowThreads(__tstate
);
35805 if (PyErr_Occurred()) SWIG_fail
;
35807 Py_INCREF(Py_None
); resultobj
= Py_None
;
35814 static PyObject
*_wrap_MenuItem_IsChecked(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35815 PyObject
*resultobj
;
35816 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
35818 PyObject
* obj0
= 0 ;
35819 char *kwnames
[] = {
35820 (char *) "self", NULL
35823 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_IsChecked",kwnames
,&obj0
)) goto fail
;
35824 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
35825 if (SWIG_arg_fail(1)) SWIG_fail
;
35827 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35828 result
= (bool)((wxMenuItem
const *)arg1
)->IsChecked();
35830 wxPyEndAllowThreads(__tstate
);
35831 if (PyErr_Occurred()) SWIG_fail
;
35834 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35842 static PyObject
*_wrap_MenuItem_Toggle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35843 PyObject
*resultobj
;
35844 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
35845 PyObject
* obj0
= 0 ;
35846 char *kwnames
[] = {
35847 (char *) "self", NULL
35850 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_Toggle",kwnames
,&obj0
)) goto fail
;
35851 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
35852 if (SWIG_arg_fail(1)) SWIG_fail
;
35854 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35857 wxPyEndAllowThreads(__tstate
);
35858 if (PyErr_Occurred()) SWIG_fail
;
35860 Py_INCREF(Py_None
); resultobj
= Py_None
;
35867 static PyObject
*_wrap_MenuItem_SetHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35868 PyObject
*resultobj
;
35869 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
35870 wxString
*arg2
= 0 ;
35871 bool temp2
= false ;
35872 PyObject
* obj0
= 0 ;
35873 PyObject
* obj1
= 0 ;
35874 char *kwnames
[] = {
35875 (char *) "self",(char *) "str", NULL
35878 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
35879 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
35880 if (SWIG_arg_fail(1)) SWIG_fail
;
35882 arg2
= wxString_in_helper(obj1
);
35883 if (arg2
== NULL
) SWIG_fail
;
35887 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35888 (arg1
)->SetHelp((wxString
const &)*arg2
);
35890 wxPyEndAllowThreads(__tstate
);
35891 if (PyErr_Occurred()) SWIG_fail
;
35893 Py_INCREF(Py_None
); resultobj
= Py_None
;
35908 static PyObject
*_wrap_MenuItem_GetHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35909 PyObject
*resultobj
;
35910 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
35912 PyObject
* obj0
= 0 ;
35913 char *kwnames
[] = {
35914 (char *) "self", NULL
35917 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetHelp",kwnames
,&obj0
)) goto fail
;
35918 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
35919 if (SWIG_arg_fail(1)) SWIG_fail
;
35921 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35923 wxString
const &_result_ref
= ((wxMenuItem
const *)arg1
)->GetHelp();
35924 result
= (wxString
*) &_result_ref
;
35927 wxPyEndAllowThreads(__tstate
);
35928 if (PyErr_Occurred()) SWIG_fail
;
35932 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
35934 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
35943 static PyObject
*_wrap_MenuItem_GetAccel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35944 PyObject
*resultobj
;
35945 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
35946 wxAcceleratorEntry
*result
;
35947 PyObject
* obj0
= 0 ;
35948 char *kwnames
[] = {
35949 (char *) "self", NULL
35952 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetAccel",kwnames
,&obj0
)) goto fail
;
35953 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
35954 if (SWIG_arg_fail(1)) SWIG_fail
;
35956 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35957 result
= (wxAcceleratorEntry
*)((wxMenuItem
const *)arg1
)->GetAccel();
35959 wxPyEndAllowThreads(__tstate
);
35960 if (PyErr_Occurred()) SWIG_fail
;
35962 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxAcceleratorEntry
, 0);
35969 static PyObject
*_wrap_MenuItem_SetAccel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35970 PyObject
*resultobj
;
35971 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
35972 wxAcceleratorEntry
*arg2
= (wxAcceleratorEntry
*) 0 ;
35973 PyObject
* obj0
= 0 ;
35974 PyObject
* obj1
= 0 ;
35975 char *kwnames
[] = {
35976 (char *) "self",(char *) "accel", NULL
35979 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetAccel",kwnames
,&obj0
,&obj1
)) goto fail
;
35980 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
35981 if (SWIG_arg_fail(1)) SWIG_fail
;
35982 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxAcceleratorEntry
, SWIG_POINTER_EXCEPTION
| 0);
35983 if (SWIG_arg_fail(2)) SWIG_fail
;
35985 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35986 (arg1
)->SetAccel(arg2
);
35988 wxPyEndAllowThreads(__tstate
);
35989 if (PyErr_Occurred()) SWIG_fail
;
35991 Py_INCREF(Py_None
); resultobj
= Py_None
;
35998 static PyObject
*_wrap_MenuItem_SetFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35999 PyObject
*resultobj
;
36000 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36002 PyObject
* obj0
= 0 ;
36003 PyObject
* obj1
= 0 ;
36004 char *kwnames
[] = {
36005 (char *) "self",(char *) "font", NULL
36008 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetFont",kwnames
,&obj0
,&obj1
)) goto fail
;
36009 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36010 if (SWIG_arg_fail(1)) SWIG_fail
;
36012 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
36013 if (SWIG_arg_fail(2)) SWIG_fail
;
36014 if (arg2
== NULL
) {
36015 SWIG_null_ref("wxFont");
36017 if (SWIG_arg_fail(2)) SWIG_fail
;
36020 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36021 (arg1
)->SetFont((wxFont
const &)*arg2
);
36023 wxPyEndAllowThreads(__tstate
);
36024 if (PyErr_Occurred()) SWIG_fail
;
36026 Py_INCREF(Py_None
); resultobj
= Py_None
;
36033 static PyObject
*_wrap_MenuItem_GetFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36034 PyObject
*resultobj
;
36035 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36037 PyObject
* obj0
= 0 ;
36038 char *kwnames
[] = {
36039 (char *) "self", NULL
36042 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetFont",kwnames
,&obj0
)) goto fail
;
36043 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36044 if (SWIG_arg_fail(1)) SWIG_fail
;
36046 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36047 result
= (arg1
)->GetFont();
36049 wxPyEndAllowThreads(__tstate
);
36050 if (PyErr_Occurred()) SWIG_fail
;
36053 wxFont
* resultptr
;
36054 resultptr
= new wxFont((wxFont
&)(result
));
36055 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxFont
, 1);
36063 static PyObject
*_wrap_MenuItem_SetTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36064 PyObject
*resultobj
;
36065 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36066 wxColour
*arg2
= 0 ;
36068 PyObject
* obj0
= 0 ;
36069 PyObject
* obj1
= 0 ;
36070 char *kwnames
[] = {
36071 (char *) "self",(char *) "colText", NULL
36074 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
36075 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36076 if (SWIG_arg_fail(1)) SWIG_fail
;
36079 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
36082 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36083 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
36085 wxPyEndAllowThreads(__tstate
);
36086 if (PyErr_Occurred()) SWIG_fail
;
36088 Py_INCREF(Py_None
); resultobj
= Py_None
;
36095 static PyObject
*_wrap_MenuItem_GetTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36096 PyObject
*resultobj
;
36097 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36099 PyObject
* obj0
= 0 ;
36100 char *kwnames
[] = {
36101 (char *) "self", NULL
36104 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetTextColour",kwnames
,&obj0
)) goto fail
;
36105 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36106 if (SWIG_arg_fail(1)) SWIG_fail
;
36108 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36109 result
= (arg1
)->GetTextColour();
36111 wxPyEndAllowThreads(__tstate
);
36112 if (PyErr_Occurred()) SWIG_fail
;
36115 wxColour
* resultptr
;
36116 resultptr
= new wxColour((wxColour
&)(result
));
36117 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
36125 static PyObject
*_wrap_MenuItem_SetBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36126 PyObject
*resultobj
;
36127 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36128 wxColour
*arg2
= 0 ;
36130 PyObject
* obj0
= 0 ;
36131 PyObject
* obj1
= 0 ;
36132 char *kwnames
[] = {
36133 (char *) "self",(char *) "colBack", NULL
36136 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
36137 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36138 if (SWIG_arg_fail(1)) SWIG_fail
;
36141 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
36144 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36145 (arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
36147 wxPyEndAllowThreads(__tstate
);
36148 if (PyErr_Occurred()) SWIG_fail
;
36150 Py_INCREF(Py_None
); resultobj
= Py_None
;
36157 static PyObject
*_wrap_MenuItem_GetBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36158 PyObject
*resultobj
;
36159 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36161 PyObject
* obj0
= 0 ;
36162 char *kwnames
[] = {
36163 (char *) "self", NULL
36166 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetBackgroundColour",kwnames
,&obj0
)) goto fail
;
36167 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36168 if (SWIG_arg_fail(1)) SWIG_fail
;
36170 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36171 result
= (arg1
)->GetBackgroundColour();
36173 wxPyEndAllowThreads(__tstate
);
36174 if (PyErr_Occurred()) SWIG_fail
;
36177 wxColour
* resultptr
;
36178 resultptr
= new wxColour((wxColour
&)(result
));
36179 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
36187 static PyObject
*_wrap_MenuItem_SetBitmaps(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36188 PyObject
*resultobj
;
36189 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36190 wxBitmap
*arg2
= 0 ;
36191 wxBitmap
const &arg3_defvalue
= wxNullBitmap
;
36192 wxBitmap
*arg3
= (wxBitmap
*) &arg3_defvalue
;
36193 PyObject
* obj0
= 0 ;
36194 PyObject
* obj1
= 0 ;
36195 PyObject
* obj2
= 0 ;
36196 char *kwnames
[] = {
36197 (char *) "self",(char *) "bmpChecked",(char *) "bmpUnchecked", NULL
36200 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:MenuItem_SetBitmaps",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
36201 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36202 if (SWIG_arg_fail(1)) SWIG_fail
;
36204 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
36205 if (SWIG_arg_fail(2)) SWIG_fail
;
36206 if (arg2
== NULL
) {
36207 SWIG_null_ref("wxBitmap");
36209 if (SWIG_arg_fail(2)) SWIG_fail
;
36213 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
36214 if (SWIG_arg_fail(3)) SWIG_fail
;
36215 if (arg3
== NULL
) {
36216 SWIG_null_ref("wxBitmap");
36218 if (SWIG_arg_fail(3)) SWIG_fail
;
36222 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36223 (arg1
)->SetBitmaps((wxBitmap
const &)*arg2
,(wxBitmap
const &)*arg3
);
36225 wxPyEndAllowThreads(__tstate
);
36226 if (PyErr_Occurred()) SWIG_fail
;
36228 Py_INCREF(Py_None
); resultobj
= Py_None
;
36235 static PyObject
*_wrap_MenuItem_SetDisabledBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36236 PyObject
*resultobj
;
36237 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36238 wxBitmap
*arg2
= 0 ;
36239 PyObject
* obj0
= 0 ;
36240 PyObject
* obj1
= 0 ;
36241 char *kwnames
[] = {
36242 (char *) "self",(char *) "bmpDisabled", NULL
36245 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetDisabledBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
36246 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36247 if (SWIG_arg_fail(1)) SWIG_fail
;
36249 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
36250 if (SWIG_arg_fail(2)) SWIG_fail
;
36251 if (arg2
== NULL
) {
36252 SWIG_null_ref("wxBitmap");
36254 if (SWIG_arg_fail(2)) SWIG_fail
;
36257 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36258 (arg1
)->SetDisabledBitmap((wxBitmap
const &)*arg2
);
36260 wxPyEndAllowThreads(__tstate
);
36261 if (PyErr_Occurred()) SWIG_fail
;
36263 Py_INCREF(Py_None
); resultobj
= Py_None
;
36270 static PyObject
*_wrap_MenuItem_GetDisabledBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36271 PyObject
*resultobj
;
36272 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36274 PyObject
* obj0
= 0 ;
36275 char *kwnames
[] = {
36276 (char *) "self", NULL
36279 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetDisabledBitmap",kwnames
,&obj0
)) goto fail
;
36280 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36281 if (SWIG_arg_fail(1)) SWIG_fail
;
36283 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36285 wxBitmap
const &_result_ref
= ((wxMenuItem
const *)arg1
)->GetDisabledBitmap();
36286 result
= (wxBitmap
*) &_result_ref
;
36289 wxPyEndAllowThreads(__tstate
);
36290 if (PyErr_Occurred()) SWIG_fail
;
36293 wxBitmap
* resultptr
= new wxBitmap(*result
);
36294 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
36302 static PyObject
*_wrap_MenuItem_SetMarginWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36303 PyObject
*resultobj
;
36304 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36306 PyObject
* obj0
= 0 ;
36307 PyObject
* obj1
= 0 ;
36308 char *kwnames
[] = {
36309 (char *) "self",(char *) "nWidth", NULL
36312 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetMarginWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
36313 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36314 if (SWIG_arg_fail(1)) SWIG_fail
;
36316 arg2
= (int)(SWIG_As_int(obj1
));
36317 if (SWIG_arg_fail(2)) SWIG_fail
;
36320 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36321 (arg1
)->SetMarginWidth(arg2
);
36323 wxPyEndAllowThreads(__tstate
);
36324 if (PyErr_Occurred()) SWIG_fail
;
36326 Py_INCREF(Py_None
); resultobj
= Py_None
;
36333 static PyObject
*_wrap_MenuItem_GetMarginWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36334 PyObject
*resultobj
;
36335 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36337 PyObject
* obj0
= 0 ;
36338 char *kwnames
[] = {
36339 (char *) "self", NULL
36342 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetMarginWidth",kwnames
,&obj0
)) goto fail
;
36343 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36344 if (SWIG_arg_fail(1)) SWIG_fail
;
36346 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36347 result
= (int)(arg1
)->GetMarginWidth();
36349 wxPyEndAllowThreads(__tstate
);
36350 if (PyErr_Occurred()) SWIG_fail
;
36353 resultobj
= SWIG_From_int((int)(result
));
36361 static PyObject
*_wrap_MenuItem_GetDefaultMarginWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36362 PyObject
*resultobj
;
36364 char *kwnames
[] = {
36368 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":MenuItem_GetDefaultMarginWidth",kwnames
)) goto fail
;
36370 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36371 result
= (int)wxMenuItem::GetDefaultMarginWidth();
36373 wxPyEndAllowThreads(__tstate
);
36374 if (PyErr_Occurred()) SWIG_fail
;
36377 resultobj
= SWIG_From_int((int)(result
));
36385 static PyObject
*_wrap_MenuItem_IsOwnerDrawn(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36386 PyObject
*resultobj
;
36387 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36389 PyObject
* obj0
= 0 ;
36390 char *kwnames
[] = {
36391 (char *) "self", NULL
36394 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_IsOwnerDrawn",kwnames
,&obj0
)) goto fail
;
36395 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36396 if (SWIG_arg_fail(1)) SWIG_fail
;
36398 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36399 result
= (bool)(arg1
)->IsOwnerDrawn();
36401 wxPyEndAllowThreads(__tstate
);
36402 if (PyErr_Occurred()) SWIG_fail
;
36405 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
36413 static PyObject
*_wrap_MenuItem_SetOwnerDrawn(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36414 PyObject
*resultobj
;
36415 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36416 bool arg2
= (bool) true ;
36417 PyObject
* obj0
= 0 ;
36418 PyObject
* obj1
= 0 ;
36419 char *kwnames
[] = {
36420 (char *) "self",(char *) "ownerDrawn", NULL
36423 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:MenuItem_SetOwnerDrawn",kwnames
,&obj0
,&obj1
)) goto fail
;
36424 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36425 if (SWIG_arg_fail(1)) SWIG_fail
;
36428 arg2
= (bool)(SWIG_As_bool(obj1
));
36429 if (SWIG_arg_fail(2)) SWIG_fail
;
36433 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36434 (arg1
)->SetOwnerDrawn(arg2
);
36436 wxPyEndAllowThreads(__tstate
);
36437 if (PyErr_Occurred()) SWIG_fail
;
36439 Py_INCREF(Py_None
); resultobj
= Py_None
;
36446 static PyObject
*_wrap_MenuItem_ResetOwnerDrawn(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36447 PyObject
*resultobj
;
36448 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36449 PyObject
* obj0
= 0 ;
36450 char *kwnames
[] = {
36451 (char *) "self", NULL
36454 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_ResetOwnerDrawn",kwnames
,&obj0
)) goto fail
;
36455 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36456 if (SWIG_arg_fail(1)) SWIG_fail
;
36458 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36459 (arg1
)->ResetOwnerDrawn();
36461 wxPyEndAllowThreads(__tstate
);
36462 if (PyErr_Occurred()) SWIG_fail
;
36464 Py_INCREF(Py_None
); resultobj
= Py_None
;
36471 static PyObject
*_wrap_MenuItem_SetBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36472 PyObject
*resultobj
;
36473 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36474 wxBitmap
*arg2
= 0 ;
36475 PyObject
* obj0
= 0 ;
36476 PyObject
* obj1
= 0 ;
36477 char *kwnames
[] = {
36478 (char *) "self",(char *) "bitmap", NULL
36481 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
36482 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36483 if (SWIG_arg_fail(1)) SWIG_fail
;
36485 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
36486 if (SWIG_arg_fail(2)) SWIG_fail
;
36487 if (arg2
== NULL
) {
36488 SWIG_null_ref("wxBitmap");
36490 if (SWIG_arg_fail(2)) SWIG_fail
;
36493 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36494 (arg1
)->SetBitmap((wxBitmap
const &)*arg2
);
36496 wxPyEndAllowThreads(__tstate
);
36497 if (PyErr_Occurred()) SWIG_fail
;
36499 Py_INCREF(Py_None
); resultobj
= Py_None
;
36506 static PyObject
*_wrap_MenuItem_GetBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36507 PyObject
*resultobj
;
36508 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36510 PyObject
* obj0
= 0 ;
36511 char *kwnames
[] = {
36512 (char *) "self", NULL
36515 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetBitmap",kwnames
,&obj0
)) goto fail
;
36516 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36517 if (SWIG_arg_fail(1)) SWIG_fail
;
36519 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36521 wxBitmap
const &_result_ref
= (arg1
)->GetBitmap();
36522 result
= (wxBitmap
*) &_result_ref
;
36525 wxPyEndAllowThreads(__tstate
);
36526 if (PyErr_Occurred()) SWIG_fail
;
36529 wxBitmap
* resultptr
= new wxBitmap(*result
);
36530 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
36538 static PyObject
* MenuItem_swigregister(PyObject
*, PyObject
*args
) {
36540 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
36541 SWIG_TypeClientData(SWIGTYPE_p_wxMenuItem
, obj
);
36543 return Py_BuildValue((char *)"");
36545 static int _wrap_ControlNameStr_set(PyObject
*) {
36546 PyErr_SetString(PyExc_TypeError
,"Variable ControlNameStr is read-only.");
36551 static PyObject
*_wrap_ControlNameStr_get(void) {
36556 pyobj
= PyUnicode_FromWideChar((&wxPyControlNameStr
)->c_str(), (&wxPyControlNameStr
)->Len());
36558 pyobj
= PyString_FromStringAndSize((&wxPyControlNameStr
)->c_str(), (&wxPyControlNameStr
)->Len());
36565 static PyObject
*_wrap_new_Control(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36566 PyObject
*resultobj
;
36567 wxWindow
*arg1
= (wxWindow
*) 0 ;
36568 int arg2
= (int) -1 ;
36569 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
36570 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
36571 wxSize
const &arg4_defvalue
= wxDefaultSize
;
36572 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
36573 long arg5
= (long) 0 ;
36574 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
36575 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
36576 wxString
const &arg7_defvalue
= wxPyControlNameStr
;
36577 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
36581 bool temp7
= false ;
36582 PyObject
* obj0
= 0 ;
36583 PyObject
* obj1
= 0 ;
36584 PyObject
* obj2
= 0 ;
36585 PyObject
* obj3
= 0 ;
36586 PyObject
* obj4
= 0 ;
36587 PyObject
* obj5
= 0 ;
36588 PyObject
* obj6
= 0 ;
36589 char *kwnames
[] = {
36590 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
36593 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_Control",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
36594 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
36595 if (SWIG_arg_fail(1)) SWIG_fail
;
36598 arg2
= (int)(SWIG_As_int(obj1
));
36599 if (SWIG_arg_fail(2)) SWIG_fail
;
36605 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
36611 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
36616 arg5
= (long)(SWIG_As_long(obj4
));
36617 if (SWIG_arg_fail(5)) SWIG_fail
;
36622 SWIG_Python_ConvertPtr(obj5
, (void **)&arg6
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
36623 if (SWIG_arg_fail(6)) SWIG_fail
;
36624 if (arg6
== NULL
) {
36625 SWIG_null_ref("wxValidator");
36627 if (SWIG_arg_fail(6)) SWIG_fail
;
36632 arg7
= wxString_in_helper(obj6
);
36633 if (arg7
== NULL
) SWIG_fail
;
36638 if (!wxPyCheckForApp()) SWIG_fail
;
36639 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36640 result
= (wxControl
*)new wxControl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
36642 wxPyEndAllowThreads(__tstate
);
36643 if (PyErr_Occurred()) SWIG_fail
;
36645 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxControl
, 1);
36660 static PyObject
*_wrap_new_PreControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36661 PyObject
*resultobj
;
36663 char *kwnames
[] = {
36667 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreControl",kwnames
)) goto fail
;
36669 if (!wxPyCheckForApp()) SWIG_fail
;
36670 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36671 result
= (wxControl
*)new wxControl();
36673 wxPyEndAllowThreads(__tstate
);
36674 if (PyErr_Occurred()) SWIG_fail
;
36676 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxControl
, 1);
36683 static PyObject
*_wrap_Control_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36684 PyObject
*resultobj
;
36685 wxControl
*arg1
= (wxControl
*) 0 ;
36686 wxWindow
*arg2
= (wxWindow
*) 0 ;
36687 int arg3
= (int) -1 ;
36688 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
36689 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
36690 wxSize
const &arg5_defvalue
= wxDefaultSize
;
36691 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
36692 long arg6
= (long) 0 ;
36693 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
36694 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
36695 wxString
const &arg8_defvalue
= wxPyControlNameStr
;
36696 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
36700 bool temp8
= false ;
36701 PyObject
* obj0
= 0 ;
36702 PyObject
* obj1
= 0 ;
36703 PyObject
* obj2
= 0 ;
36704 PyObject
* obj3
= 0 ;
36705 PyObject
* obj4
= 0 ;
36706 PyObject
* obj5
= 0 ;
36707 PyObject
* obj6
= 0 ;
36708 PyObject
* obj7
= 0 ;
36709 char *kwnames
[] = {
36710 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
36713 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:Control_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
36714 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxControl
, SWIG_POINTER_EXCEPTION
| 0);
36715 if (SWIG_arg_fail(1)) SWIG_fail
;
36716 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
36717 if (SWIG_arg_fail(2)) SWIG_fail
;
36720 arg3
= (int)(SWIG_As_int(obj2
));
36721 if (SWIG_arg_fail(3)) SWIG_fail
;
36727 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
36733 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
36738 arg6
= (long)(SWIG_As_long(obj5
));
36739 if (SWIG_arg_fail(6)) SWIG_fail
;
36744 SWIG_Python_ConvertPtr(obj6
, (void **)&arg7
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
36745 if (SWIG_arg_fail(7)) SWIG_fail
;
36746 if (arg7
== NULL
) {
36747 SWIG_null_ref("wxValidator");
36749 if (SWIG_arg_fail(7)) SWIG_fail
;
36754 arg8
= wxString_in_helper(obj7
);
36755 if (arg8
== NULL
) SWIG_fail
;
36760 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36761 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
36763 wxPyEndAllowThreads(__tstate
);
36764 if (PyErr_Occurred()) SWIG_fail
;
36767 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
36783 static PyObject
*_wrap_Control_Command(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36784 PyObject
*resultobj
;
36785 wxControl
*arg1
= (wxControl
*) 0 ;
36786 wxCommandEvent
*arg2
= 0 ;
36787 PyObject
* obj0
= 0 ;
36788 PyObject
* obj1
= 0 ;
36789 char *kwnames
[] = {
36790 (char *) "self",(char *) "event", NULL
36793 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Control_Command",kwnames
,&obj0
,&obj1
)) goto fail
;
36794 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxControl
, SWIG_POINTER_EXCEPTION
| 0);
36795 if (SWIG_arg_fail(1)) SWIG_fail
;
36797 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxCommandEvent
, SWIG_POINTER_EXCEPTION
| 0);
36798 if (SWIG_arg_fail(2)) SWIG_fail
;
36799 if (arg2
== NULL
) {
36800 SWIG_null_ref("wxCommandEvent");
36802 if (SWIG_arg_fail(2)) SWIG_fail
;
36805 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36806 (arg1
)->Command(*arg2
);
36808 wxPyEndAllowThreads(__tstate
);
36809 if (PyErr_Occurred()) SWIG_fail
;
36811 Py_INCREF(Py_None
); resultobj
= Py_None
;
36818 static PyObject
*_wrap_Control_GetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36819 PyObject
*resultobj
;
36820 wxControl
*arg1
= (wxControl
*) 0 ;
36822 PyObject
* obj0
= 0 ;
36823 char *kwnames
[] = {
36824 (char *) "self", NULL
36827 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Control_GetLabel",kwnames
,&obj0
)) goto fail
;
36828 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxControl
, SWIG_POINTER_EXCEPTION
| 0);
36829 if (SWIG_arg_fail(1)) SWIG_fail
;
36831 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36832 result
= (arg1
)->GetLabel();
36834 wxPyEndAllowThreads(__tstate
);
36835 if (PyErr_Occurred()) SWIG_fail
;
36839 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
36841 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
36850 static PyObject
*_wrap_Control_SetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36851 PyObject
*resultobj
;
36852 wxControl
*arg1
= (wxControl
*) 0 ;
36853 wxString
*arg2
= 0 ;
36854 bool temp2
= false ;
36855 PyObject
* obj0
= 0 ;
36856 PyObject
* obj1
= 0 ;
36857 char *kwnames
[] = {
36858 (char *) "self",(char *) "label", NULL
36861 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Control_SetLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
36862 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxControl
, SWIG_POINTER_EXCEPTION
| 0);
36863 if (SWIG_arg_fail(1)) SWIG_fail
;
36865 arg2
= wxString_in_helper(obj1
);
36866 if (arg2
== NULL
) SWIG_fail
;
36870 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36871 (arg1
)->SetLabel((wxString
const &)*arg2
);
36873 wxPyEndAllowThreads(__tstate
);
36874 if (PyErr_Occurred()) SWIG_fail
;
36876 Py_INCREF(Py_None
); resultobj
= Py_None
;
36891 static PyObject
*_wrap_Control_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36892 PyObject
*resultobj
;
36893 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
36894 wxVisualAttributes result
;
36895 PyObject
* obj0
= 0 ;
36896 char *kwnames
[] = {
36897 (char *) "variant", NULL
36900 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Control_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
36903 arg1
= (wxWindowVariant
)(SWIG_As_int(obj0
));
36904 if (SWIG_arg_fail(1)) SWIG_fail
;
36908 if (!wxPyCheckForApp()) SWIG_fail
;
36909 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36910 result
= wxControl::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
36912 wxPyEndAllowThreads(__tstate
);
36913 if (PyErr_Occurred()) SWIG_fail
;
36916 wxVisualAttributes
* resultptr
;
36917 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
36918 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
36926 static PyObject
* Control_swigregister(PyObject
*, PyObject
*args
) {
36928 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
36929 SWIG_TypeClientData(SWIGTYPE_p_wxControl
, obj
);
36931 return Py_BuildValue((char *)"");
36933 static PyObject
*_wrap_ItemContainer_Append(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36934 PyObject
*resultobj
;
36935 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
36936 wxString
*arg2
= 0 ;
36937 PyObject
*arg3
= (PyObject
*) NULL
;
36939 bool temp2
= false ;
36940 PyObject
* obj0
= 0 ;
36941 PyObject
* obj1
= 0 ;
36942 PyObject
* obj2
= 0 ;
36943 char *kwnames
[] = {
36944 (char *) "self",(char *) "item",(char *) "clientData", NULL
36947 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ItemContainer_Append",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
36948 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxItemContainer
, SWIG_POINTER_EXCEPTION
| 0);
36949 if (SWIG_arg_fail(1)) SWIG_fail
;
36951 arg2
= wxString_in_helper(obj1
);
36952 if (arg2
== NULL
) SWIG_fail
;
36959 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36960 result
= (int)wxItemContainer_Append(arg1
,(wxString
const &)*arg2
,arg3
);
36962 wxPyEndAllowThreads(__tstate
);
36963 if (PyErr_Occurred()) SWIG_fail
;
36966 resultobj
= SWIG_From_int((int)(result
));
36982 static PyObject
*_wrap_ItemContainer_AppendItems(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36983 PyObject
*resultobj
;
36984 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
36985 wxArrayString
*arg2
= 0 ;
36986 bool temp2
= false ;
36987 PyObject
* obj0
= 0 ;
36988 PyObject
* obj1
= 0 ;
36989 char *kwnames
[] = {
36990 (char *) "self",(char *) "strings", NULL
36993 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_AppendItems",kwnames
,&obj0
,&obj1
)) goto fail
;
36994 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxItemContainer
, SWIG_POINTER_EXCEPTION
| 0);
36995 if (SWIG_arg_fail(1)) SWIG_fail
;
36997 if (! PySequence_Check(obj1
)) {
36998 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
37001 arg2
= new wxArrayString
;
37003 int i
, len
=PySequence_Length(obj1
);
37004 for (i
=0; i
<len
; i
++) {
37005 PyObject
* item
= PySequence_GetItem(obj1
, i
);
37007 PyObject
* str
= PyObject_Unicode(item
);
37009 PyObject
* str
= PyObject_Str(item
);
37011 if (PyErr_Occurred()) SWIG_fail
;
37012 arg2
->Add(Py2wxString(str
));
37018 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37019 (arg1
)->Append((wxArrayString
const &)*arg2
);
37021 wxPyEndAllowThreads(__tstate
);
37022 if (PyErr_Occurred()) SWIG_fail
;
37024 Py_INCREF(Py_None
); resultobj
= Py_None
;
37026 if (temp2
) delete arg2
;
37031 if (temp2
) delete arg2
;
37037 static PyObject
*_wrap_ItemContainer_Insert(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37038 PyObject
*resultobj
;
37039 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
37040 wxString
*arg2
= 0 ;
37042 PyObject
*arg4
= (PyObject
*) NULL
;
37044 bool temp2
= false ;
37045 PyObject
* obj0
= 0 ;
37046 PyObject
* obj1
= 0 ;
37047 PyObject
* obj2
= 0 ;
37048 PyObject
* obj3
= 0 ;
37049 char *kwnames
[] = {
37050 (char *) "self",(char *) "item",(char *) "pos",(char *) "clientData", NULL
37053 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:ItemContainer_Insert",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
37054 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxItemContainer
, SWIG_POINTER_EXCEPTION
| 0);
37055 if (SWIG_arg_fail(1)) SWIG_fail
;
37057 arg2
= wxString_in_helper(obj1
);
37058 if (arg2
== NULL
) SWIG_fail
;
37062 arg3
= (int)(SWIG_As_int(obj2
));
37063 if (SWIG_arg_fail(3)) SWIG_fail
;
37069 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37070 result
= (int)wxItemContainer_Insert(arg1
,(wxString
const &)*arg2
,arg3
,arg4
);
37072 wxPyEndAllowThreads(__tstate
);
37073 if (PyErr_Occurred()) SWIG_fail
;
37076 resultobj
= SWIG_From_int((int)(result
));
37092 static PyObject
*_wrap_ItemContainer_Clear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37093 PyObject
*resultobj
;
37094 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
37095 PyObject
* obj0
= 0 ;
37096 char *kwnames
[] = {
37097 (char *) "self", NULL
37100 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ItemContainer_Clear",kwnames
,&obj0
)) goto fail
;
37101 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxItemContainer
, SWIG_POINTER_EXCEPTION
| 0);
37102 if (SWIG_arg_fail(1)) SWIG_fail
;
37104 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37107 wxPyEndAllowThreads(__tstate
);
37108 if (PyErr_Occurred()) SWIG_fail
;
37110 Py_INCREF(Py_None
); resultobj
= Py_None
;
37117 static PyObject
*_wrap_ItemContainer_Delete(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37118 PyObject
*resultobj
;
37119 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
37121 PyObject
* obj0
= 0 ;
37122 PyObject
* obj1
= 0 ;
37123 char *kwnames
[] = {
37124 (char *) "self",(char *) "n", NULL
37127 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_Delete",kwnames
,&obj0
,&obj1
)) goto fail
;
37128 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxItemContainer
, SWIG_POINTER_EXCEPTION
| 0);
37129 if (SWIG_arg_fail(1)) SWIG_fail
;
37131 arg2
= (int)(SWIG_As_int(obj1
));
37132 if (SWIG_arg_fail(2)) SWIG_fail
;
37135 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37136 (arg1
)->Delete(arg2
);
37138 wxPyEndAllowThreads(__tstate
);
37139 if (PyErr_Occurred()) SWIG_fail
;
37141 Py_INCREF(Py_None
); resultobj
= Py_None
;
37148 static PyObject
*_wrap_ItemContainer_GetClientData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37149 PyObject
*resultobj
;
37150 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
37153 PyObject
* obj0
= 0 ;
37154 PyObject
* obj1
= 0 ;
37155 char *kwnames
[] = {
37156 (char *) "self",(char *) "n", NULL
37159 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_GetClientData",kwnames
,&obj0
,&obj1
)) goto fail
;
37160 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxItemContainer
, SWIG_POINTER_EXCEPTION
| 0);
37161 if (SWIG_arg_fail(1)) SWIG_fail
;
37163 arg2
= (int)(SWIG_As_int(obj1
));
37164 if (SWIG_arg_fail(2)) SWIG_fail
;
37167 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37168 result
= (PyObject
*)wxItemContainer_GetClientData(arg1
,arg2
);
37170 wxPyEndAllowThreads(__tstate
);
37171 if (PyErr_Occurred()) SWIG_fail
;
37173 resultobj
= result
;
37180 static PyObject
*_wrap_ItemContainer_SetClientData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37181 PyObject
*resultobj
;
37182 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
37184 PyObject
*arg3
= (PyObject
*) 0 ;
37185 PyObject
* obj0
= 0 ;
37186 PyObject
* obj1
= 0 ;
37187 PyObject
* obj2
= 0 ;
37188 char *kwnames
[] = {
37189 (char *) "self",(char *) "n",(char *) "clientData", NULL
37192 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ItemContainer_SetClientData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
37193 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxItemContainer
, SWIG_POINTER_EXCEPTION
| 0);
37194 if (SWIG_arg_fail(1)) SWIG_fail
;
37196 arg2
= (int)(SWIG_As_int(obj1
));
37197 if (SWIG_arg_fail(2)) SWIG_fail
;
37201 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37202 wxItemContainer_SetClientData(arg1
,arg2
,arg3
);
37204 wxPyEndAllowThreads(__tstate
);
37205 if (PyErr_Occurred()) SWIG_fail
;
37207 Py_INCREF(Py_None
); resultobj
= Py_None
;
37214 static PyObject
*_wrap_ItemContainer_GetCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37215 PyObject
*resultobj
;
37216 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
37218 PyObject
* obj0
= 0 ;
37219 char *kwnames
[] = {
37220 (char *) "self", NULL
37223 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ItemContainer_GetCount",kwnames
,&obj0
)) goto fail
;
37224 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxItemContainer
, SWIG_POINTER_EXCEPTION
| 0);
37225 if (SWIG_arg_fail(1)) SWIG_fail
;
37227 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37228 result
= (int)((wxItemContainer
const *)arg1
)->GetCount();
37230 wxPyEndAllowThreads(__tstate
);
37231 if (PyErr_Occurred()) SWIG_fail
;
37234 resultobj
= SWIG_From_int((int)(result
));
37242 static PyObject
*_wrap_ItemContainer_IsEmpty(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37243 PyObject
*resultobj
;
37244 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
37246 PyObject
* obj0
= 0 ;
37247 char *kwnames
[] = {
37248 (char *) "self", NULL
37251 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ItemContainer_IsEmpty",kwnames
,&obj0
)) goto fail
;
37252 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxItemContainer
, SWIG_POINTER_EXCEPTION
| 0);
37253 if (SWIG_arg_fail(1)) SWIG_fail
;
37255 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37256 result
= (bool)((wxItemContainer
const *)arg1
)->IsEmpty();
37258 wxPyEndAllowThreads(__tstate
);
37259 if (PyErr_Occurred()) SWIG_fail
;
37262 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
37270 static PyObject
*_wrap_ItemContainer_GetString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37271 PyObject
*resultobj
;
37272 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
37275 PyObject
* obj0
= 0 ;
37276 PyObject
* obj1
= 0 ;
37277 char *kwnames
[] = {
37278 (char *) "self",(char *) "n", NULL
37281 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_GetString",kwnames
,&obj0
,&obj1
)) goto fail
;
37282 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxItemContainer
, SWIG_POINTER_EXCEPTION
| 0);
37283 if (SWIG_arg_fail(1)) SWIG_fail
;
37285 arg2
= (int)(SWIG_As_int(obj1
));
37286 if (SWIG_arg_fail(2)) SWIG_fail
;
37289 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37290 result
= ((wxItemContainer
const *)arg1
)->GetString(arg2
);
37292 wxPyEndAllowThreads(__tstate
);
37293 if (PyErr_Occurred()) SWIG_fail
;
37297 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
37299 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
37308 static PyObject
*_wrap_ItemContainer_GetStrings(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37309 PyObject
*resultobj
;
37310 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
37311 wxArrayString result
;
37312 PyObject
* obj0
= 0 ;
37313 char *kwnames
[] = {
37314 (char *) "self", NULL
37317 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ItemContainer_GetStrings",kwnames
,&obj0
)) goto fail
;
37318 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxItemContainer
, SWIG_POINTER_EXCEPTION
| 0);
37319 if (SWIG_arg_fail(1)) SWIG_fail
;
37321 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37322 result
= ((wxItemContainer
const *)arg1
)->GetStrings();
37324 wxPyEndAllowThreads(__tstate
);
37325 if (PyErr_Occurred()) SWIG_fail
;
37328 resultobj
= wxArrayString2PyList_helper(result
);
37336 static PyObject
*_wrap_ItemContainer_SetString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37337 PyObject
*resultobj
;
37338 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
37340 wxString
*arg3
= 0 ;
37341 bool temp3
= false ;
37342 PyObject
* obj0
= 0 ;
37343 PyObject
* obj1
= 0 ;
37344 PyObject
* obj2
= 0 ;
37345 char *kwnames
[] = {
37346 (char *) "self",(char *) "n",(char *) "s", NULL
37349 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ItemContainer_SetString",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
37350 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxItemContainer
, SWIG_POINTER_EXCEPTION
| 0);
37351 if (SWIG_arg_fail(1)) SWIG_fail
;
37353 arg2
= (int)(SWIG_As_int(obj1
));
37354 if (SWIG_arg_fail(2)) SWIG_fail
;
37357 arg3
= wxString_in_helper(obj2
);
37358 if (arg3
== NULL
) SWIG_fail
;
37362 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37363 (arg1
)->SetString(arg2
,(wxString
const &)*arg3
);
37365 wxPyEndAllowThreads(__tstate
);
37366 if (PyErr_Occurred()) SWIG_fail
;
37368 Py_INCREF(Py_None
); resultobj
= Py_None
;
37383 static PyObject
*_wrap_ItemContainer_FindString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37384 PyObject
*resultobj
;
37385 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
37386 wxString
*arg2
= 0 ;
37388 bool temp2
= false ;
37389 PyObject
* obj0
= 0 ;
37390 PyObject
* obj1
= 0 ;
37391 char *kwnames
[] = {
37392 (char *) "self",(char *) "s", NULL
37395 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_FindString",kwnames
,&obj0
,&obj1
)) goto fail
;
37396 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxItemContainer
, SWIG_POINTER_EXCEPTION
| 0);
37397 if (SWIG_arg_fail(1)) SWIG_fail
;
37399 arg2
= wxString_in_helper(obj1
);
37400 if (arg2
== NULL
) SWIG_fail
;
37404 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37405 result
= (int)((wxItemContainer
const *)arg1
)->FindString((wxString
const &)*arg2
);
37407 wxPyEndAllowThreads(__tstate
);
37408 if (PyErr_Occurred()) SWIG_fail
;
37411 resultobj
= SWIG_From_int((int)(result
));
37427 static PyObject
*_wrap_ItemContainer_SetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37428 PyObject
*resultobj
;
37429 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
37431 PyObject
* obj0
= 0 ;
37432 PyObject
* obj1
= 0 ;
37433 char *kwnames
[] = {
37434 (char *) "self",(char *) "n", NULL
37437 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
37438 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxItemContainer
, SWIG_POINTER_EXCEPTION
| 0);
37439 if (SWIG_arg_fail(1)) SWIG_fail
;
37441 arg2
= (int)(SWIG_As_int(obj1
));
37442 if (SWIG_arg_fail(2)) SWIG_fail
;
37445 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37446 (arg1
)->SetSelection(arg2
);
37448 wxPyEndAllowThreads(__tstate
);
37449 if (PyErr_Occurred()) SWIG_fail
;
37451 Py_INCREF(Py_None
); resultobj
= Py_None
;
37458 static PyObject
*_wrap_ItemContainer_GetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37459 PyObject
*resultobj
;
37460 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
37462 PyObject
* obj0
= 0 ;
37463 char *kwnames
[] = {
37464 (char *) "self", NULL
37467 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ItemContainer_GetSelection",kwnames
,&obj0
)) goto fail
;
37468 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxItemContainer
, SWIG_POINTER_EXCEPTION
| 0);
37469 if (SWIG_arg_fail(1)) SWIG_fail
;
37471 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37472 result
= (int)((wxItemContainer
const *)arg1
)->GetSelection();
37474 wxPyEndAllowThreads(__tstate
);
37475 if (PyErr_Occurred()) SWIG_fail
;
37478 resultobj
= SWIG_From_int((int)(result
));
37486 static PyObject
*_wrap_ItemContainer_SetStringSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37487 PyObject
*resultobj
;
37488 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
37489 wxString
*arg2
= 0 ;
37491 bool temp2
= false ;
37492 PyObject
* obj0
= 0 ;
37493 PyObject
* obj1
= 0 ;
37494 char *kwnames
[] = {
37495 (char *) "self",(char *) "s", NULL
37498 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_SetStringSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
37499 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxItemContainer
, SWIG_POINTER_EXCEPTION
| 0);
37500 if (SWIG_arg_fail(1)) SWIG_fail
;
37502 arg2
= wxString_in_helper(obj1
);
37503 if (arg2
== NULL
) SWIG_fail
;
37507 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37508 result
= (bool)(arg1
)->SetStringSelection((wxString
const &)*arg2
);
37510 wxPyEndAllowThreads(__tstate
);
37511 if (PyErr_Occurred()) SWIG_fail
;
37514 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
37530 static PyObject
*_wrap_ItemContainer_GetStringSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37531 PyObject
*resultobj
;
37532 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
37534 PyObject
* obj0
= 0 ;
37535 char *kwnames
[] = {
37536 (char *) "self", NULL
37539 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ItemContainer_GetStringSelection",kwnames
,&obj0
)) goto fail
;
37540 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxItemContainer
, SWIG_POINTER_EXCEPTION
| 0);
37541 if (SWIG_arg_fail(1)) SWIG_fail
;
37543 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37544 result
= ((wxItemContainer
const *)arg1
)->GetStringSelection();
37546 wxPyEndAllowThreads(__tstate
);
37547 if (PyErr_Occurred()) SWIG_fail
;
37551 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
37553 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
37562 static PyObject
*_wrap_ItemContainer_Select(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37563 PyObject
*resultobj
;
37564 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
37566 PyObject
* obj0
= 0 ;
37567 PyObject
* obj1
= 0 ;
37568 char *kwnames
[] = {
37569 (char *) "self",(char *) "n", NULL
37572 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_Select",kwnames
,&obj0
,&obj1
)) goto fail
;
37573 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxItemContainer
, SWIG_POINTER_EXCEPTION
| 0);
37574 if (SWIG_arg_fail(1)) SWIG_fail
;
37576 arg2
= (int)(SWIG_As_int(obj1
));
37577 if (SWIG_arg_fail(2)) SWIG_fail
;
37580 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37581 (arg1
)->Select(arg2
);
37583 wxPyEndAllowThreads(__tstate
);
37584 if (PyErr_Occurred()) SWIG_fail
;
37586 Py_INCREF(Py_None
); resultobj
= Py_None
;
37593 static PyObject
* ItemContainer_swigregister(PyObject
*, PyObject
*args
) {
37595 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
37596 SWIG_TypeClientData(SWIGTYPE_p_wxItemContainer
, obj
);
37598 return Py_BuildValue((char *)"");
37600 static PyObject
* ControlWithItems_swigregister(PyObject
*, PyObject
*args
) {
37602 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
37603 SWIG_TypeClientData(SWIGTYPE_p_wxControlWithItems
, obj
);
37605 return Py_BuildValue((char *)"");
37607 static PyObject
*_wrap_new_SizerItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37608 PyObject
*resultobj
;
37609 wxSizerItem
*result
;
37610 char *kwnames
[] = {
37614 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_SizerItem",kwnames
)) goto fail
;
37616 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37617 result
= (wxSizerItem
*)new wxSizerItem();
37619 wxPyEndAllowThreads(__tstate
);
37620 if (PyErr_Occurred()) SWIG_fail
;
37622 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizerItem
, 1);
37629 static PyObject
*_wrap_new_SizerItemWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37630 PyObject
*resultobj
;
37631 wxWindow
*arg1
= (wxWindow
*) 0 ;
37635 PyObject
*arg5
= (PyObject
*) NULL
;
37636 wxSizerItem
*result
;
37637 PyObject
* obj0
= 0 ;
37638 PyObject
* obj1
= 0 ;
37639 PyObject
* obj2
= 0 ;
37640 PyObject
* obj3
= 0 ;
37641 PyObject
* obj4
= 0 ;
37642 char *kwnames
[] = {
37643 (char *) "window",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
37646 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:new_SizerItemWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
37647 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
37648 if (SWIG_arg_fail(1)) SWIG_fail
;
37650 arg2
= (int)(SWIG_As_int(obj1
));
37651 if (SWIG_arg_fail(2)) SWIG_fail
;
37654 arg3
= (int)(SWIG_As_int(obj2
));
37655 if (SWIG_arg_fail(3)) SWIG_fail
;
37658 arg4
= (int)(SWIG_As_int(obj3
));
37659 if (SWIG_arg_fail(4)) SWIG_fail
;
37665 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37666 result
= (wxSizerItem
*)new_wxSizerItem(arg1
,arg2
,arg3
,arg4
,arg5
);
37668 wxPyEndAllowThreads(__tstate
);
37669 if (PyErr_Occurred()) SWIG_fail
;
37671 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizerItem
, 1);
37678 static PyObject
*_wrap_new_SizerItemSpacer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37679 PyObject
*resultobj
;
37685 PyObject
*arg6
= (PyObject
*) NULL
;
37686 wxSizerItem
*result
;
37687 PyObject
* obj0
= 0 ;
37688 PyObject
* obj1
= 0 ;
37689 PyObject
* obj2
= 0 ;
37690 PyObject
* obj3
= 0 ;
37691 PyObject
* obj4
= 0 ;
37692 PyObject
* obj5
= 0 ;
37693 char *kwnames
[] = {
37694 (char *) "width",(char *) "height",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
37697 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:new_SizerItemSpacer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
37699 arg1
= (int)(SWIG_As_int(obj0
));
37700 if (SWIG_arg_fail(1)) SWIG_fail
;
37703 arg2
= (int)(SWIG_As_int(obj1
));
37704 if (SWIG_arg_fail(2)) SWIG_fail
;
37707 arg3
= (int)(SWIG_As_int(obj2
));
37708 if (SWIG_arg_fail(3)) SWIG_fail
;
37711 arg4
= (int)(SWIG_As_int(obj3
));
37712 if (SWIG_arg_fail(4)) SWIG_fail
;
37715 arg5
= (int)(SWIG_As_int(obj4
));
37716 if (SWIG_arg_fail(5)) SWIG_fail
;
37722 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37723 result
= (wxSizerItem
*)new_wxSizerItem(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
);
37725 wxPyEndAllowThreads(__tstate
);
37726 if (PyErr_Occurred()) SWIG_fail
;
37728 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizerItem
, 1);
37735 static PyObject
*_wrap_new_SizerItemSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37736 PyObject
*resultobj
;
37737 wxSizer
*arg1
= (wxSizer
*) 0 ;
37741 PyObject
*arg5
= (PyObject
*) NULL
;
37742 wxSizerItem
*result
;
37743 PyObject
* obj0
= 0 ;
37744 PyObject
* obj1
= 0 ;
37745 PyObject
* obj2
= 0 ;
37746 PyObject
* obj3
= 0 ;
37747 PyObject
* obj4
= 0 ;
37748 char *kwnames
[] = {
37749 (char *) "sizer",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
37752 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:new_SizerItemSizer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
37753 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
37754 if (SWIG_arg_fail(1)) SWIG_fail
;
37756 arg2
= (int)(SWIG_As_int(obj1
));
37757 if (SWIG_arg_fail(2)) SWIG_fail
;
37760 arg3
= (int)(SWIG_As_int(obj2
));
37761 if (SWIG_arg_fail(3)) SWIG_fail
;
37764 arg4
= (int)(SWIG_As_int(obj3
));
37765 if (SWIG_arg_fail(4)) SWIG_fail
;
37771 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37772 result
= (wxSizerItem
*)new_wxSizerItem(arg1
,arg2
,arg3
,arg4
,arg5
);
37774 wxPyEndAllowThreads(__tstate
);
37775 if (PyErr_Occurred()) SWIG_fail
;
37777 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizerItem
, 1);
37784 static PyObject
*_wrap_SizerItem_DeleteWindows(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37785 PyObject
*resultobj
;
37786 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
37787 PyObject
* obj0
= 0 ;
37788 char *kwnames
[] = {
37789 (char *) "self", NULL
37792 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_DeleteWindows",kwnames
,&obj0
)) goto fail
;
37793 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
37794 if (SWIG_arg_fail(1)) SWIG_fail
;
37796 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37797 (arg1
)->DeleteWindows();
37799 wxPyEndAllowThreads(__tstate
);
37800 if (PyErr_Occurred()) SWIG_fail
;
37802 Py_INCREF(Py_None
); resultobj
= Py_None
;
37809 static PyObject
*_wrap_SizerItem_DetachSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37810 PyObject
*resultobj
;
37811 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
37812 PyObject
* obj0
= 0 ;
37813 char *kwnames
[] = {
37814 (char *) "self", NULL
37817 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_DetachSizer",kwnames
,&obj0
)) goto fail
;
37818 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
37819 if (SWIG_arg_fail(1)) SWIG_fail
;
37821 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37822 (arg1
)->DetachSizer();
37824 wxPyEndAllowThreads(__tstate
);
37825 if (PyErr_Occurred()) SWIG_fail
;
37827 Py_INCREF(Py_None
); resultobj
= Py_None
;
37834 static PyObject
*_wrap_SizerItem_GetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37835 PyObject
*resultobj
;
37836 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
37838 PyObject
* obj0
= 0 ;
37839 char *kwnames
[] = {
37840 (char *) "self", NULL
37843 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetSize",kwnames
,&obj0
)) goto fail
;
37844 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
37845 if (SWIG_arg_fail(1)) SWIG_fail
;
37847 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37848 result
= (arg1
)->GetSize();
37850 wxPyEndAllowThreads(__tstate
);
37851 if (PyErr_Occurred()) SWIG_fail
;
37854 wxSize
* resultptr
;
37855 resultptr
= new wxSize((wxSize
&)(result
));
37856 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
37864 static PyObject
*_wrap_SizerItem_CalcMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37865 PyObject
*resultobj
;
37866 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
37868 PyObject
* obj0
= 0 ;
37869 char *kwnames
[] = {
37870 (char *) "self", NULL
37873 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_CalcMin",kwnames
,&obj0
)) goto fail
;
37874 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
37875 if (SWIG_arg_fail(1)) SWIG_fail
;
37877 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37878 result
= (arg1
)->CalcMin();
37880 wxPyEndAllowThreads(__tstate
);
37881 if (PyErr_Occurred()) SWIG_fail
;
37884 wxSize
* resultptr
;
37885 resultptr
= new wxSize((wxSize
&)(result
));
37886 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
37894 static PyObject
*_wrap_SizerItem_SetDimension(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37895 PyObject
*resultobj
;
37896 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
37899 PyObject
* obj0
= 0 ;
37900 PyObject
* obj1
= 0 ;
37901 PyObject
* obj2
= 0 ;
37902 char *kwnames
[] = {
37903 (char *) "self",(char *) "pos",(char *) "size", NULL
37906 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SizerItem_SetDimension",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
37907 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
37908 if (SWIG_arg_fail(1)) SWIG_fail
;
37911 SWIG_Python_ConvertPtr(obj1
, (void **)&argp
, SWIGTYPE_p_wxPoint
, SWIG_POINTER_EXCEPTION
);
37912 if (SWIG_arg_fail(2)) SWIG_fail
;
37913 if (argp
== NULL
) {
37914 SWIG_null_ref("wxPoint");
37916 if (SWIG_arg_fail(2)) SWIG_fail
;
37921 SWIG_Python_ConvertPtr(obj2
, (void **)&argp
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
);
37922 if (SWIG_arg_fail(3)) SWIG_fail
;
37923 if (argp
== NULL
) {
37924 SWIG_null_ref("wxSize");
37926 if (SWIG_arg_fail(3)) SWIG_fail
;
37930 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37931 (arg1
)->SetDimension(arg2
,arg3
);
37933 wxPyEndAllowThreads(__tstate
);
37934 if (PyErr_Occurred()) SWIG_fail
;
37936 Py_INCREF(Py_None
); resultobj
= Py_None
;
37943 static PyObject
*_wrap_SizerItem_GetMinSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37944 PyObject
*resultobj
;
37945 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
37947 PyObject
* obj0
= 0 ;
37948 char *kwnames
[] = {
37949 (char *) "self", NULL
37952 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetMinSize",kwnames
,&obj0
)) goto fail
;
37953 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
37954 if (SWIG_arg_fail(1)) SWIG_fail
;
37956 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37957 result
= (arg1
)->GetMinSize();
37959 wxPyEndAllowThreads(__tstate
);
37960 if (PyErr_Occurred()) SWIG_fail
;
37963 wxSize
* resultptr
;
37964 resultptr
= new wxSize((wxSize
&)(result
));
37965 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
37973 static PyObject
*_wrap_SizerItem_GetMinSizeWithBorder(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37974 PyObject
*resultobj
;
37975 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
37977 PyObject
* obj0
= 0 ;
37978 char *kwnames
[] = {
37979 (char *) "self", NULL
37982 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetMinSizeWithBorder",kwnames
,&obj0
)) goto fail
;
37983 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
37984 if (SWIG_arg_fail(1)) SWIG_fail
;
37986 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37987 result
= ((wxSizerItem
const *)arg1
)->GetMinSizeWithBorder();
37989 wxPyEndAllowThreads(__tstate
);
37990 if (PyErr_Occurred()) SWIG_fail
;
37993 wxSize
* resultptr
;
37994 resultptr
= new wxSize((wxSize
&)(result
));
37995 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
38003 static PyObject
*_wrap_SizerItem_SetInitSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38004 PyObject
*resultobj
;
38005 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
38008 PyObject
* obj0
= 0 ;
38009 PyObject
* obj1
= 0 ;
38010 PyObject
* obj2
= 0 ;
38011 char *kwnames
[] = {
38012 (char *) "self",(char *) "x",(char *) "y", NULL
38015 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SizerItem_SetInitSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
38016 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
38017 if (SWIG_arg_fail(1)) SWIG_fail
;
38019 arg2
= (int)(SWIG_As_int(obj1
));
38020 if (SWIG_arg_fail(2)) SWIG_fail
;
38023 arg3
= (int)(SWIG_As_int(obj2
));
38024 if (SWIG_arg_fail(3)) SWIG_fail
;
38027 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38028 (arg1
)->SetInitSize(arg2
,arg3
);
38030 wxPyEndAllowThreads(__tstate
);
38031 if (PyErr_Occurred()) SWIG_fail
;
38033 Py_INCREF(Py_None
); resultobj
= Py_None
;
38040 static PyObject
*_wrap_SizerItem_SetRatioWH(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38041 PyObject
*resultobj
;
38042 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
38045 PyObject
* obj0
= 0 ;
38046 PyObject
* obj1
= 0 ;
38047 PyObject
* obj2
= 0 ;
38048 char *kwnames
[] = {
38049 (char *) "self",(char *) "width",(char *) "height", NULL
38052 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SizerItem_SetRatioWH",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
38053 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
38054 if (SWIG_arg_fail(1)) SWIG_fail
;
38056 arg2
= (int)(SWIG_As_int(obj1
));
38057 if (SWIG_arg_fail(2)) SWIG_fail
;
38060 arg3
= (int)(SWIG_As_int(obj2
));
38061 if (SWIG_arg_fail(3)) SWIG_fail
;
38064 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38065 (arg1
)->SetRatio(arg2
,arg3
);
38067 wxPyEndAllowThreads(__tstate
);
38068 if (PyErr_Occurred()) SWIG_fail
;
38070 Py_INCREF(Py_None
); resultobj
= Py_None
;
38077 static PyObject
*_wrap_SizerItem_SetRatioSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38078 PyObject
*resultobj
;
38079 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
38081 PyObject
* obj0
= 0 ;
38082 PyObject
* obj1
= 0 ;
38083 char *kwnames
[] = {
38084 (char *) "self",(char *) "size", NULL
38087 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetRatioSize",kwnames
,&obj0
,&obj1
)) goto fail
;
38088 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
38089 if (SWIG_arg_fail(1)) SWIG_fail
;
38092 SWIG_Python_ConvertPtr(obj1
, (void **)&argp
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
);
38093 if (SWIG_arg_fail(2)) SWIG_fail
;
38094 if (argp
== NULL
) {
38095 SWIG_null_ref("wxSize");
38097 if (SWIG_arg_fail(2)) SWIG_fail
;
38101 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38102 (arg1
)->SetRatio(arg2
);
38104 wxPyEndAllowThreads(__tstate
);
38105 if (PyErr_Occurred()) SWIG_fail
;
38107 Py_INCREF(Py_None
); resultobj
= Py_None
;
38114 static PyObject
*_wrap_SizerItem_SetRatio(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38115 PyObject
*resultobj
;
38116 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
38118 PyObject
* obj0
= 0 ;
38119 PyObject
* obj1
= 0 ;
38120 char *kwnames
[] = {
38121 (char *) "self",(char *) "ratio", NULL
38124 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetRatio",kwnames
,&obj0
,&obj1
)) goto fail
;
38125 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
38126 if (SWIG_arg_fail(1)) SWIG_fail
;
38128 arg2
= (float)(SWIG_As_float(obj1
));
38129 if (SWIG_arg_fail(2)) SWIG_fail
;
38132 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38133 (arg1
)->SetRatio(arg2
);
38135 wxPyEndAllowThreads(__tstate
);
38136 if (PyErr_Occurred()) SWIG_fail
;
38138 Py_INCREF(Py_None
); resultobj
= Py_None
;
38145 static PyObject
*_wrap_SizerItem_GetRatio(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38146 PyObject
*resultobj
;
38147 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
38149 PyObject
* obj0
= 0 ;
38150 char *kwnames
[] = {
38151 (char *) "self", NULL
38154 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetRatio",kwnames
,&obj0
)) goto fail
;
38155 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
38156 if (SWIG_arg_fail(1)) SWIG_fail
;
38158 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38159 result
= (float)(arg1
)->GetRatio();
38161 wxPyEndAllowThreads(__tstate
);
38162 if (PyErr_Occurred()) SWIG_fail
;
38165 resultobj
= SWIG_From_float((float)(result
));
38173 static PyObject
*_wrap_SizerItem_GetRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38174 PyObject
*resultobj
;
38175 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
38177 PyObject
* obj0
= 0 ;
38178 char *kwnames
[] = {
38179 (char *) "self", NULL
38182 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetRect",kwnames
,&obj0
)) goto fail
;
38183 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
38184 if (SWIG_arg_fail(1)) SWIG_fail
;
38186 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38187 result
= (arg1
)->GetRect();
38189 wxPyEndAllowThreads(__tstate
);
38190 if (PyErr_Occurred()) SWIG_fail
;
38193 wxRect
* resultptr
;
38194 resultptr
= new wxRect((wxRect
&)(result
));
38195 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
38203 static PyObject
*_wrap_SizerItem_IsWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38204 PyObject
*resultobj
;
38205 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
38207 PyObject
* obj0
= 0 ;
38208 char *kwnames
[] = {
38209 (char *) "self", NULL
38212 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_IsWindow",kwnames
,&obj0
)) goto fail
;
38213 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
38214 if (SWIG_arg_fail(1)) SWIG_fail
;
38216 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38217 result
= (bool)(arg1
)->IsWindow();
38219 wxPyEndAllowThreads(__tstate
);
38220 if (PyErr_Occurred()) SWIG_fail
;
38223 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38231 static PyObject
*_wrap_SizerItem_IsSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38232 PyObject
*resultobj
;
38233 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
38235 PyObject
* obj0
= 0 ;
38236 char *kwnames
[] = {
38237 (char *) "self", NULL
38240 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_IsSizer",kwnames
,&obj0
)) goto fail
;
38241 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
38242 if (SWIG_arg_fail(1)) SWIG_fail
;
38244 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38245 result
= (bool)(arg1
)->IsSizer();
38247 wxPyEndAllowThreads(__tstate
);
38248 if (PyErr_Occurred()) SWIG_fail
;
38251 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38259 static PyObject
*_wrap_SizerItem_IsSpacer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38260 PyObject
*resultobj
;
38261 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
38263 PyObject
* obj0
= 0 ;
38264 char *kwnames
[] = {
38265 (char *) "self", NULL
38268 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_IsSpacer",kwnames
,&obj0
)) goto fail
;
38269 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
38270 if (SWIG_arg_fail(1)) SWIG_fail
;
38272 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38273 result
= (bool)(arg1
)->IsSpacer();
38275 wxPyEndAllowThreads(__tstate
);
38276 if (PyErr_Occurred()) SWIG_fail
;
38279 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38287 static PyObject
*_wrap_SizerItem_SetProportion(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38288 PyObject
*resultobj
;
38289 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
38291 PyObject
* obj0
= 0 ;
38292 PyObject
* obj1
= 0 ;
38293 char *kwnames
[] = {
38294 (char *) "self",(char *) "proportion", NULL
38297 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetProportion",kwnames
,&obj0
,&obj1
)) goto fail
;
38298 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
38299 if (SWIG_arg_fail(1)) SWIG_fail
;
38301 arg2
= (int)(SWIG_As_int(obj1
));
38302 if (SWIG_arg_fail(2)) SWIG_fail
;
38305 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38306 (arg1
)->SetProportion(arg2
);
38308 wxPyEndAllowThreads(__tstate
);
38309 if (PyErr_Occurred()) SWIG_fail
;
38311 Py_INCREF(Py_None
); resultobj
= Py_None
;
38318 static PyObject
*_wrap_SizerItem_GetProportion(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38319 PyObject
*resultobj
;
38320 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
38322 PyObject
* obj0
= 0 ;
38323 char *kwnames
[] = {
38324 (char *) "self", NULL
38327 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetProportion",kwnames
,&obj0
)) goto fail
;
38328 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
38329 if (SWIG_arg_fail(1)) SWIG_fail
;
38331 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38332 result
= (int)(arg1
)->GetProportion();
38334 wxPyEndAllowThreads(__tstate
);
38335 if (PyErr_Occurred()) SWIG_fail
;
38338 resultobj
= SWIG_From_int((int)(result
));
38346 static PyObject
*_wrap_SizerItem_SetFlag(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38347 PyObject
*resultobj
;
38348 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
38350 PyObject
* obj0
= 0 ;
38351 PyObject
* obj1
= 0 ;
38352 char *kwnames
[] = {
38353 (char *) "self",(char *) "flag", NULL
38356 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetFlag",kwnames
,&obj0
,&obj1
)) goto fail
;
38357 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
38358 if (SWIG_arg_fail(1)) SWIG_fail
;
38360 arg2
= (int)(SWIG_As_int(obj1
));
38361 if (SWIG_arg_fail(2)) SWIG_fail
;
38364 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38365 (arg1
)->SetFlag(arg2
);
38367 wxPyEndAllowThreads(__tstate
);
38368 if (PyErr_Occurred()) SWIG_fail
;
38370 Py_INCREF(Py_None
); resultobj
= Py_None
;
38377 static PyObject
*_wrap_SizerItem_GetFlag(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38378 PyObject
*resultobj
;
38379 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
38381 PyObject
* obj0
= 0 ;
38382 char *kwnames
[] = {
38383 (char *) "self", NULL
38386 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetFlag",kwnames
,&obj0
)) goto fail
;
38387 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
38388 if (SWIG_arg_fail(1)) SWIG_fail
;
38390 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38391 result
= (int)(arg1
)->GetFlag();
38393 wxPyEndAllowThreads(__tstate
);
38394 if (PyErr_Occurred()) SWIG_fail
;
38397 resultobj
= SWIG_From_int((int)(result
));
38405 static PyObject
*_wrap_SizerItem_SetBorder(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38406 PyObject
*resultobj
;
38407 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
38409 PyObject
* obj0
= 0 ;
38410 PyObject
* obj1
= 0 ;
38411 char *kwnames
[] = {
38412 (char *) "self",(char *) "border", NULL
38415 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetBorder",kwnames
,&obj0
,&obj1
)) goto fail
;
38416 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
38417 if (SWIG_arg_fail(1)) SWIG_fail
;
38419 arg2
= (int)(SWIG_As_int(obj1
));
38420 if (SWIG_arg_fail(2)) SWIG_fail
;
38423 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38424 (arg1
)->SetBorder(arg2
);
38426 wxPyEndAllowThreads(__tstate
);
38427 if (PyErr_Occurred()) SWIG_fail
;
38429 Py_INCREF(Py_None
); resultobj
= Py_None
;
38436 static PyObject
*_wrap_SizerItem_GetBorder(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38437 PyObject
*resultobj
;
38438 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
38440 PyObject
* obj0
= 0 ;
38441 char *kwnames
[] = {
38442 (char *) "self", NULL
38445 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetBorder",kwnames
,&obj0
)) goto fail
;
38446 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
38447 if (SWIG_arg_fail(1)) SWIG_fail
;
38449 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38450 result
= (int)(arg1
)->GetBorder();
38452 wxPyEndAllowThreads(__tstate
);
38453 if (PyErr_Occurred()) SWIG_fail
;
38456 resultobj
= SWIG_From_int((int)(result
));
38464 static PyObject
*_wrap_SizerItem_GetWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38465 PyObject
*resultobj
;
38466 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
38468 PyObject
* obj0
= 0 ;
38469 char *kwnames
[] = {
38470 (char *) "self", NULL
38473 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetWindow",kwnames
,&obj0
)) goto fail
;
38474 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
38475 if (SWIG_arg_fail(1)) SWIG_fail
;
38477 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38478 result
= (wxWindow
*)(arg1
)->GetWindow();
38480 wxPyEndAllowThreads(__tstate
);
38481 if (PyErr_Occurred()) SWIG_fail
;
38484 resultobj
= wxPyMake_wxObject(result
, 0);
38492 static PyObject
*_wrap_SizerItem_SetWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38493 PyObject
*resultobj
;
38494 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
38495 wxWindow
*arg2
= (wxWindow
*) 0 ;
38496 PyObject
* obj0
= 0 ;
38497 PyObject
* obj1
= 0 ;
38498 char *kwnames
[] = {
38499 (char *) "self",(char *) "window", NULL
38502 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
38503 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
38504 if (SWIG_arg_fail(1)) SWIG_fail
;
38505 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
38506 if (SWIG_arg_fail(2)) SWIG_fail
;
38508 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38509 (arg1
)->SetWindow(arg2
);
38511 wxPyEndAllowThreads(__tstate
);
38512 if (PyErr_Occurred()) SWIG_fail
;
38514 Py_INCREF(Py_None
); resultobj
= Py_None
;
38521 static PyObject
*_wrap_SizerItem_GetSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38522 PyObject
*resultobj
;
38523 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
38525 PyObject
* obj0
= 0 ;
38526 char *kwnames
[] = {
38527 (char *) "self", NULL
38530 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetSizer",kwnames
,&obj0
)) goto fail
;
38531 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
38532 if (SWIG_arg_fail(1)) SWIG_fail
;
38534 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38535 result
= (wxSizer
*)(arg1
)->GetSizer();
38537 wxPyEndAllowThreads(__tstate
);
38538 if (PyErr_Occurred()) SWIG_fail
;
38541 resultobj
= wxPyMake_wxSizer(result
, 0);
38549 static PyObject
*_wrap_SizerItem_SetSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38550 PyObject
*resultobj
;
38551 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
38552 wxSizer
*arg2
= (wxSizer
*) 0 ;
38553 PyObject
* obj0
= 0 ;
38554 PyObject
* obj1
= 0 ;
38555 char *kwnames
[] = {
38556 (char *) "self",(char *) "sizer", NULL
38559 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetSizer",kwnames
,&obj0
,&obj1
)) goto fail
;
38560 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
38561 if (SWIG_arg_fail(1)) SWIG_fail
;
38562 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
38563 if (SWIG_arg_fail(2)) SWIG_fail
;
38565 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38566 (arg1
)->SetSizer(arg2
);
38568 wxPyEndAllowThreads(__tstate
);
38569 if (PyErr_Occurred()) SWIG_fail
;
38571 Py_INCREF(Py_None
); resultobj
= Py_None
;
38578 static PyObject
*_wrap_SizerItem_GetSpacer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38579 PyObject
*resultobj
;
38580 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
38582 PyObject
* obj0
= 0 ;
38583 char *kwnames
[] = {
38584 (char *) "self", NULL
38587 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetSpacer",kwnames
,&obj0
)) goto fail
;
38588 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
38589 if (SWIG_arg_fail(1)) SWIG_fail
;
38591 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38593 wxSize
const &_result_ref
= (arg1
)->GetSpacer();
38594 result
= (wxSize
*) &_result_ref
;
38597 wxPyEndAllowThreads(__tstate
);
38598 if (PyErr_Occurred()) SWIG_fail
;
38600 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSize
, 0);
38607 static PyObject
*_wrap_SizerItem_SetSpacer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38608 PyObject
*resultobj
;
38609 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
38612 PyObject
* obj0
= 0 ;
38613 PyObject
* obj1
= 0 ;
38614 char *kwnames
[] = {
38615 (char *) "self",(char *) "size", NULL
38618 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetSpacer",kwnames
,&obj0
,&obj1
)) goto fail
;
38619 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
38620 if (SWIG_arg_fail(1)) SWIG_fail
;
38623 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
38626 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38627 (arg1
)->SetSpacer((wxSize
const &)*arg2
);
38629 wxPyEndAllowThreads(__tstate
);
38630 if (PyErr_Occurred()) SWIG_fail
;
38632 Py_INCREF(Py_None
); resultobj
= Py_None
;
38639 static PyObject
*_wrap_SizerItem_Show(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38640 PyObject
*resultobj
;
38641 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
38643 PyObject
* obj0
= 0 ;
38644 PyObject
* obj1
= 0 ;
38645 char *kwnames
[] = {
38646 (char *) "self",(char *) "show", NULL
38649 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_Show",kwnames
,&obj0
,&obj1
)) goto fail
;
38650 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
38651 if (SWIG_arg_fail(1)) SWIG_fail
;
38653 arg2
= (bool)(SWIG_As_bool(obj1
));
38654 if (SWIG_arg_fail(2)) SWIG_fail
;
38657 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38658 (arg1
)->Show(arg2
);
38660 wxPyEndAllowThreads(__tstate
);
38661 if (PyErr_Occurred()) SWIG_fail
;
38663 Py_INCREF(Py_None
); resultobj
= Py_None
;
38670 static PyObject
*_wrap_SizerItem_IsShown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38671 PyObject
*resultobj
;
38672 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
38674 PyObject
* obj0
= 0 ;
38675 char *kwnames
[] = {
38676 (char *) "self", NULL
38679 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_IsShown",kwnames
,&obj0
)) goto fail
;
38680 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
38681 if (SWIG_arg_fail(1)) SWIG_fail
;
38683 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38684 result
= (bool)(arg1
)->IsShown();
38686 wxPyEndAllowThreads(__tstate
);
38687 if (PyErr_Occurred()) SWIG_fail
;
38690 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38698 static PyObject
*_wrap_SizerItem_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38699 PyObject
*resultobj
;
38700 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
38702 PyObject
* obj0
= 0 ;
38703 char *kwnames
[] = {
38704 (char *) "self", NULL
38707 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetPosition",kwnames
,&obj0
)) goto fail
;
38708 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
38709 if (SWIG_arg_fail(1)) SWIG_fail
;
38711 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38712 result
= (arg1
)->GetPosition();
38714 wxPyEndAllowThreads(__tstate
);
38715 if (PyErr_Occurred()) SWIG_fail
;
38718 wxPoint
* resultptr
;
38719 resultptr
= new wxPoint((wxPoint
&)(result
));
38720 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
38728 static PyObject
*_wrap_SizerItem_GetUserData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38729 PyObject
*resultobj
;
38730 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
38732 PyObject
* obj0
= 0 ;
38733 char *kwnames
[] = {
38734 (char *) "self", NULL
38737 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetUserData",kwnames
,&obj0
)) goto fail
;
38738 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
38739 if (SWIG_arg_fail(1)) SWIG_fail
;
38741 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38742 result
= (PyObject
*)wxSizerItem_GetUserData(arg1
);
38744 wxPyEndAllowThreads(__tstate
);
38745 if (PyErr_Occurred()) SWIG_fail
;
38747 resultobj
= result
;
38754 static PyObject
* SizerItem_swigregister(PyObject
*, PyObject
*args
) {
38756 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
38757 SWIG_TypeClientData(SWIGTYPE_p_wxSizerItem
, obj
);
38759 return Py_BuildValue((char *)"");
38761 static PyObject
*_wrap_Sizer__setOORInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38762 PyObject
*resultobj
;
38763 wxSizer
*arg1
= (wxSizer
*) 0 ;
38764 PyObject
*arg2
= (PyObject
*) 0 ;
38765 PyObject
* obj0
= 0 ;
38766 PyObject
* obj1
= 0 ;
38767 char *kwnames
[] = {
38768 (char *) "self",(char *) "_self", NULL
38771 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer__setOORInfo",kwnames
,&obj0
,&obj1
)) goto fail
;
38772 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
38773 if (SWIG_arg_fail(1)) SWIG_fail
;
38776 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38777 wxSizer__setOORInfo(arg1
,arg2
);
38779 wxPyEndAllowThreads(__tstate
);
38780 if (PyErr_Occurred()) SWIG_fail
;
38782 Py_INCREF(Py_None
); resultobj
= Py_None
;
38789 static PyObject
*_wrap_Sizer_Add(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38790 PyObject
*resultobj
;
38791 wxSizer
*arg1
= (wxSizer
*) 0 ;
38792 PyObject
*arg2
= (PyObject
*) 0 ;
38793 int arg3
= (int) 0 ;
38794 int arg4
= (int) 0 ;
38795 int arg5
= (int) 0 ;
38796 PyObject
*arg6
= (PyObject
*) NULL
;
38797 wxSizerItem
*result
;
38798 PyObject
* obj0
= 0 ;
38799 PyObject
* obj1
= 0 ;
38800 PyObject
* obj2
= 0 ;
38801 PyObject
* obj3
= 0 ;
38802 PyObject
* obj4
= 0 ;
38803 PyObject
* obj5
= 0 ;
38804 char *kwnames
[] = {
38805 (char *) "self",(char *) "item",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
38808 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:Sizer_Add",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
38809 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
38810 if (SWIG_arg_fail(1)) SWIG_fail
;
38814 arg3
= (int)(SWIG_As_int(obj2
));
38815 if (SWIG_arg_fail(3)) SWIG_fail
;
38820 arg4
= (int)(SWIG_As_int(obj3
));
38821 if (SWIG_arg_fail(4)) SWIG_fail
;
38826 arg5
= (int)(SWIG_As_int(obj4
));
38827 if (SWIG_arg_fail(5)) SWIG_fail
;
38834 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38835 result
= (wxSizerItem
*)wxSizer_Add(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
);
38837 wxPyEndAllowThreads(__tstate
);
38838 if (PyErr_Occurred()) SWIG_fail
;
38840 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizerItem
, 0);
38847 static PyObject
*_wrap_Sizer_Insert(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38848 PyObject
*resultobj
;
38849 wxSizer
*arg1
= (wxSizer
*) 0 ;
38851 PyObject
*arg3
= (PyObject
*) 0 ;
38852 int arg4
= (int) 0 ;
38853 int arg5
= (int) 0 ;
38854 int arg6
= (int) 0 ;
38855 PyObject
*arg7
= (PyObject
*) NULL
;
38856 wxSizerItem
*result
;
38857 PyObject
* obj0
= 0 ;
38858 PyObject
* obj1
= 0 ;
38859 PyObject
* obj2
= 0 ;
38860 PyObject
* obj3
= 0 ;
38861 PyObject
* obj4
= 0 ;
38862 PyObject
* obj5
= 0 ;
38863 PyObject
* obj6
= 0 ;
38864 char *kwnames
[] = {
38865 (char *) "self",(char *) "before",(char *) "item",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
38868 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:Sizer_Insert",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
38869 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
38870 if (SWIG_arg_fail(1)) SWIG_fail
;
38872 arg2
= (int)(SWIG_As_int(obj1
));
38873 if (SWIG_arg_fail(2)) SWIG_fail
;
38878 arg4
= (int)(SWIG_As_int(obj3
));
38879 if (SWIG_arg_fail(4)) SWIG_fail
;
38884 arg5
= (int)(SWIG_As_int(obj4
));
38885 if (SWIG_arg_fail(5)) SWIG_fail
;
38890 arg6
= (int)(SWIG_As_int(obj5
));
38891 if (SWIG_arg_fail(6)) SWIG_fail
;
38898 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38899 result
= (wxSizerItem
*)wxSizer_Insert(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
38901 wxPyEndAllowThreads(__tstate
);
38902 if (PyErr_Occurred()) SWIG_fail
;
38904 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizerItem
, 0);
38911 static PyObject
*_wrap_Sizer_Prepend(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38912 PyObject
*resultobj
;
38913 wxSizer
*arg1
= (wxSizer
*) 0 ;
38914 PyObject
*arg2
= (PyObject
*) 0 ;
38915 int arg3
= (int) 0 ;
38916 int arg4
= (int) 0 ;
38917 int arg5
= (int) 0 ;
38918 PyObject
*arg6
= (PyObject
*) NULL
;
38919 wxSizerItem
*result
;
38920 PyObject
* obj0
= 0 ;
38921 PyObject
* obj1
= 0 ;
38922 PyObject
* obj2
= 0 ;
38923 PyObject
* obj3
= 0 ;
38924 PyObject
* obj4
= 0 ;
38925 PyObject
* obj5
= 0 ;
38926 char *kwnames
[] = {
38927 (char *) "self",(char *) "item",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
38930 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:Sizer_Prepend",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
38931 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
38932 if (SWIG_arg_fail(1)) SWIG_fail
;
38936 arg3
= (int)(SWIG_As_int(obj2
));
38937 if (SWIG_arg_fail(3)) SWIG_fail
;
38942 arg4
= (int)(SWIG_As_int(obj3
));
38943 if (SWIG_arg_fail(4)) SWIG_fail
;
38948 arg5
= (int)(SWIG_As_int(obj4
));
38949 if (SWIG_arg_fail(5)) SWIG_fail
;
38956 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38957 result
= (wxSizerItem
*)wxSizer_Prepend(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
);
38959 wxPyEndAllowThreads(__tstate
);
38960 if (PyErr_Occurred()) SWIG_fail
;
38962 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizerItem
, 0);
38969 static PyObject
*_wrap_Sizer_Remove(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38970 PyObject
*resultobj
;
38971 wxSizer
*arg1
= (wxSizer
*) 0 ;
38972 PyObject
*arg2
= (PyObject
*) 0 ;
38974 PyObject
* obj0
= 0 ;
38975 PyObject
* obj1
= 0 ;
38976 char *kwnames
[] = {
38977 (char *) "self",(char *) "item", NULL
38980 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_Remove",kwnames
,&obj0
,&obj1
)) goto fail
;
38981 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
38982 if (SWIG_arg_fail(1)) SWIG_fail
;
38985 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38986 result
= (bool)wxSizer_Remove(arg1
,arg2
);
38988 wxPyEndAllowThreads(__tstate
);
38989 if (PyErr_Occurred()) SWIG_fail
;
38992 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
39000 static PyObject
*_wrap_Sizer_Detach(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39001 PyObject
*resultobj
;
39002 wxSizer
*arg1
= (wxSizer
*) 0 ;
39003 PyObject
*arg2
= (PyObject
*) 0 ;
39005 PyObject
* obj0
= 0 ;
39006 PyObject
* obj1
= 0 ;
39007 char *kwnames
[] = {
39008 (char *) "self",(char *) "item", NULL
39011 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_Detach",kwnames
,&obj0
,&obj1
)) goto fail
;
39012 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
39013 if (SWIG_arg_fail(1)) SWIG_fail
;
39016 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39017 result
= (bool)wxSizer_Detach(arg1
,arg2
);
39019 wxPyEndAllowThreads(__tstate
);
39020 if (PyErr_Occurred()) SWIG_fail
;
39023 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
39031 static PyObject
*_wrap_Sizer_GetItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39032 PyObject
*resultobj
;
39033 wxSizer
*arg1
= (wxSizer
*) 0 ;
39034 PyObject
*arg2
= (PyObject
*) 0 ;
39035 wxSizerItem
*result
;
39036 PyObject
* obj0
= 0 ;
39037 PyObject
* obj1
= 0 ;
39038 char *kwnames
[] = {
39039 (char *) "self",(char *) "item", NULL
39042 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_GetItem",kwnames
,&obj0
,&obj1
)) goto fail
;
39043 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
39044 if (SWIG_arg_fail(1)) SWIG_fail
;
39047 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39048 result
= (wxSizerItem
*)wxSizer_GetItem(arg1
,arg2
);
39050 wxPyEndAllowThreads(__tstate
);
39051 if (PyErr_Occurred()) SWIG_fail
;
39053 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizerItem
, 0);
39060 static PyObject
*_wrap_Sizer__SetItemMinSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39061 PyObject
*resultobj
;
39062 wxSizer
*arg1
= (wxSizer
*) 0 ;
39063 PyObject
*arg2
= (PyObject
*) 0 ;
39066 PyObject
* obj0
= 0 ;
39067 PyObject
* obj1
= 0 ;
39068 PyObject
* obj2
= 0 ;
39069 char *kwnames
[] = {
39070 (char *) "self",(char *) "item",(char *) "size", NULL
39073 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Sizer__SetItemMinSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
39074 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
39075 if (SWIG_arg_fail(1)) SWIG_fail
;
39079 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
39082 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39083 wxSizer__SetItemMinSize(arg1
,arg2
,(wxSize
const &)*arg3
);
39085 wxPyEndAllowThreads(__tstate
);
39086 if (PyErr_Occurred()) SWIG_fail
;
39088 Py_INCREF(Py_None
); resultobj
= Py_None
;
39095 static PyObject
*_wrap_Sizer_AddItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39096 PyObject
*resultobj
;
39097 wxSizer
*arg1
= (wxSizer
*) 0 ;
39098 wxSizerItem
*arg2
= (wxSizerItem
*) 0 ;
39099 wxSizerItem
*result
;
39100 PyObject
* obj0
= 0 ;
39101 PyObject
* obj1
= 0 ;
39102 char *kwnames
[] = {
39103 (char *) "self",(char *) "item", NULL
39106 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_AddItem",kwnames
,&obj0
,&obj1
)) goto fail
;
39107 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
39108 if (SWIG_arg_fail(1)) SWIG_fail
;
39109 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
39110 if (SWIG_arg_fail(2)) SWIG_fail
;
39112 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39113 result
= (wxSizerItem
*)(arg1
)->Add(arg2
);
39115 wxPyEndAllowThreads(__tstate
);
39116 if (PyErr_Occurred()) SWIG_fail
;
39118 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizerItem
, 0);
39125 static PyObject
*_wrap_Sizer_InsertItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39126 PyObject
*resultobj
;
39127 wxSizer
*arg1
= (wxSizer
*) 0 ;
39129 wxSizerItem
*arg3
= (wxSizerItem
*) 0 ;
39130 wxSizerItem
*result
;
39131 PyObject
* obj0
= 0 ;
39132 PyObject
* obj1
= 0 ;
39133 PyObject
* obj2
= 0 ;
39134 char *kwnames
[] = {
39135 (char *) "self",(char *) "index",(char *) "item", NULL
39138 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Sizer_InsertItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
39139 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
39140 if (SWIG_arg_fail(1)) SWIG_fail
;
39142 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
39143 if (SWIG_arg_fail(2)) SWIG_fail
;
39145 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
39146 if (SWIG_arg_fail(3)) SWIG_fail
;
39148 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39149 result
= (wxSizerItem
*)(arg1
)->Insert(arg2
,arg3
);
39151 wxPyEndAllowThreads(__tstate
);
39152 if (PyErr_Occurred()) SWIG_fail
;
39154 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizerItem
, 0);
39161 static PyObject
*_wrap_Sizer_PrependItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39162 PyObject
*resultobj
;
39163 wxSizer
*arg1
= (wxSizer
*) 0 ;
39164 wxSizerItem
*arg2
= (wxSizerItem
*) 0 ;
39165 wxSizerItem
*result
;
39166 PyObject
* obj0
= 0 ;
39167 PyObject
* obj1
= 0 ;
39168 char *kwnames
[] = {
39169 (char *) "self",(char *) "item", NULL
39172 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_PrependItem",kwnames
,&obj0
,&obj1
)) goto fail
;
39173 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
39174 if (SWIG_arg_fail(1)) SWIG_fail
;
39175 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
39176 if (SWIG_arg_fail(2)) SWIG_fail
;
39178 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39179 result
= (wxSizerItem
*)(arg1
)->Prepend(arg2
);
39181 wxPyEndAllowThreads(__tstate
);
39182 if (PyErr_Occurred()) SWIG_fail
;
39184 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizerItem
, 0);
39191 static PyObject
*_wrap_Sizer_SetDimension(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39192 PyObject
*resultobj
;
39193 wxSizer
*arg1
= (wxSizer
*) 0 ;
39198 PyObject
* obj0
= 0 ;
39199 PyObject
* obj1
= 0 ;
39200 PyObject
* obj2
= 0 ;
39201 PyObject
* obj3
= 0 ;
39202 PyObject
* obj4
= 0 ;
39203 char *kwnames
[] = {
39204 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
39207 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Sizer_SetDimension",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
39208 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
39209 if (SWIG_arg_fail(1)) SWIG_fail
;
39211 arg2
= (int)(SWIG_As_int(obj1
));
39212 if (SWIG_arg_fail(2)) SWIG_fail
;
39215 arg3
= (int)(SWIG_As_int(obj2
));
39216 if (SWIG_arg_fail(3)) SWIG_fail
;
39219 arg4
= (int)(SWIG_As_int(obj3
));
39220 if (SWIG_arg_fail(4)) SWIG_fail
;
39223 arg5
= (int)(SWIG_As_int(obj4
));
39224 if (SWIG_arg_fail(5)) SWIG_fail
;
39227 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39228 (arg1
)->SetDimension(arg2
,arg3
,arg4
,arg5
);
39230 wxPyEndAllowThreads(__tstate
);
39231 if (PyErr_Occurred()) SWIG_fail
;
39233 Py_INCREF(Py_None
); resultobj
= Py_None
;
39240 static PyObject
*_wrap_Sizer_SetMinSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39241 PyObject
*resultobj
;
39242 wxSizer
*arg1
= (wxSizer
*) 0 ;
39245 PyObject
* obj0
= 0 ;
39246 PyObject
* obj1
= 0 ;
39247 char *kwnames
[] = {
39248 (char *) "self",(char *) "size", NULL
39251 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_SetMinSize",kwnames
,&obj0
,&obj1
)) goto fail
;
39252 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
39253 if (SWIG_arg_fail(1)) SWIG_fail
;
39256 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
39259 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39260 (arg1
)->SetMinSize((wxSize
const &)*arg2
);
39262 wxPyEndAllowThreads(__tstate
);
39263 if (PyErr_Occurred()) SWIG_fail
;
39265 Py_INCREF(Py_None
); resultobj
= Py_None
;
39272 static PyObject
*_wrap_Sizer_GetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39273 PyObject
*resultobj
;
39274 wxSizer
*arg1
= (wxSizer
*) 0 ;
39276 PyObject
* obj0
= 0 ;
39277 char *kwnames
[] = {
39278 (char *) "self", NULL
39281 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_GetSize",kwnames
,&obj0
)) goto fail
;
39282 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
39283 if (SWIG_arg_fail(1)) SWIG_fail
;
39285 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39286 result
= (arg1
)->GetSize();
39288 wxPyEndAllowThreads(__tstate
);
39289 if (PyErr_Occurred()) SWIG_fail
;
39292 wxSize
* resultptr
;
39293 resultptr
= new wxSize((wxSize
&)(result
));
39294 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
39302 static PyObject
*_wrap_Sizer_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39303 PyObject
*resultobj
;
39304 wxSizer
*arg1
= (wxSizer
*) 0 ;
39306 PyObject
* obj0
= 0 ;
39307 char *kwnames
[] = {
39308 (char *) "self", NULL
39311 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_GetPosition",kwnames
,&obj0
)) goto fail
;
39312 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
39313 if (SWIG_arg_fail(1)) SWIG_fail
;
39315 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39316 result
= (arg1
)->GetPosition();
39318 wxPyEndAllowThreads(__tstate
);
39319 if (PyErr_Occurred()) SWIG_fail
;
39322 wxPoint
* resultptr
;
39323 resultptr
= new wxPoint((wxPoint
&)(result
));
39324 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
39332 static PyObject
*_wrap_Sizer_GetMinSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39333 PyObject
*resultobj
;
39334 wxSizer
*arg1
= (wxSizer
*) 0 ;
39336 PyObject
* obj0
= 0 ;
39337 char *kwnames
[] = {
39338 (char *) "self", NULL
39341 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_GetMinSize",kwnames
,&obj0
)) goto fail
;
39342 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
39343 if (SWIG_arg_fail(1)) SWIG_fail
;
39345 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39346 result
= (arg1
)->GetMinSize();
39348 wxPyEndAllowThreads(__tstate
);
39349 if (PyErr_Occurred()) SWIG_fail
;
39352 wxSize
* resultptr
;
39353 resultptr
= new wxSize((wxSize
&)(result
));
39354 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
39362 static PyObject
*_wrap_Sizer_RecalcSizes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39363 PyObject
*resultobj
;
39364 wxSizer
*arg1
= (wxSizer
*) 0 ;
39365 PyObject
* obj0
= 0 ;
39366 char *kwnames
[] = {
39367 (char *) "self", NULL
39370 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_RecalcSizes",kwnames
,&obj0
)) goto fail
;
39371 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
39372 if (SWIG_arg_fail(1)) SWIG_fail
;
39374 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39375 (arg1
)->RecalcSizes();
39377 wxPyEndAllowThreads(__tstate
);
39378 if (PyErr_Occurred()) SWIG_fail
;
39380 Py_INCREF(Py_None
); resultobj
= Py_None
;
39387 static PyObject
*_wrap_Sizer_CalcMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39388 PyObject
*resultobj
;
39389 wxSizer
*arg1
= (wxSizer
*) 0 ;
39391 PyObject
* obj0
= 0 ;
39392 char *kwnames
[] = {
39393 (char *) "self", NULL
39396 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_CalcMin",kwnames
,&obj0
)) goto fail
;
39397 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
39398 if (SWIG_arg_fail(1)) SWIG_fail
;
39400 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39401 result
= (arg1
)->CalcMin();
39403 wxPyEndAllowThreads(__tstate
);
39404 if (PyErr_Occurred()) SWIG_fail
;
39407 wxSize
* resultptr
;
39408 resultptr
= new wxSize((wxSize
&)(result
));
39409 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
39417 static PyObject
*_wrap_Sizer_Layout(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39418 PyObject
*resultobj
;
39419 wxSizer
*arg1
= (wxSizer
*) 0 ;
39420 PyObject
* obj0
= 0 ;
39421 char *kwnames
[] = {
39422 (char *) "self", NULL
39425 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_Layout",kwnames
,&obj0
)) goto fail
;
39426 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
39427 if (SWIG_arg_fail(1)) SWIG_fail
;
39429 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39432 wxPyEndAllowThreads(__tstate
);
39433 if (PyErr_Occurred()) SWIG_fail
;
39435 Py_INCREF(Py_None
); resultobj
= Py_None
;
39442 static PyObject
*_wrap_Sizer_Fit(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39443 PyObject
*resultobj
;
39444 wxSizer
*arg1
= (wxSizer
*) 0 ;
39445 wxWindow
*arg2
= (wxWindow
*) 0 ;
39447 PyObject
* obj0
= 0 ;
39448 PyObject
* obj1
= 0 ;
39449 char *kwnames
[] = {
39450 (char *) "self",(char *) "window", NULL
39453 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_Fit",kwnames
,&obj0
,&obj1
)) goto fail
;
39454 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
39455 if (SWIG_arg_fail(1)) SWIG_fail
;
39456 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
39457 if (SWIG_arg_fail(2)) SWIG_fail
;
39459 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39460 result
= (arg1
)->Fit(arg2
);
39462 wxPyEndAllowThreads(__tstate
);
39463 if (PyErr_Occurred()) SWIG_fail
;
39466 wxSize
* resultptr
;
39467 resultptr
= new wxSize((wxSize
&)(result
));
39468 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
39476 static PyObject
*_wrap_Sizer_FitInside(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39477 PyObject
*resultobj
;
39478 wxSizer
*arg1
= (wxSizer
*) 0 ;
39479 wxWindow
*arg2
= (wxWindow
*) 0 ;
39480 PyObject
* obj0
= 0 ;
39481 PyObject
* obj1
= 0 ;
39482 char *kwnames
[] = {
39483 (char *) "self",(char *) "window", NULL
39486 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_FitInside",kwnames
,&obj0
,&obj1
)) goto fail
;
39487 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
39488 if (SWIG_arg_fail(1)) SWIG_fail
;
39489 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
39490 if (SWIG_arg_fail(2)) SWIG_fail
;
39492 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39493 (arg1
)->FitInside(arg2
);
39495 wxPyEndAllowThreads(__tstate
);
39496 if (PyErr_Occurred()) SWIG_fail
;
39498 Py_INCREF(Py_None
); resultobj
= Py_None
;
39505 static PyObject
*_wrap_Sizer_SetSizeHints(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39506 PyObject
*resultobj
;
39507 wxSizer
*arg1
= (wxSizer
*) 0 ;
39508 wxWindow
*arg2
= (wxWindow
*) 0 ;
39509 PyObject
* obj0
= 0 ;
39510 PyObject
* obj1
= 0 ;
39511 char *kwnames
[] = {
39512 (char *) "self",(char *) "window", NULL
39515 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_SetSizeHints",kwnames
,&obj0
,&obj1
)) goto fail
;
39516 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
39517 if (SWIG_arg_fail(1)) SWIG_fail
;
39518 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
39519 if (SWIG_arg_fail(2)) SWIG_fail
;
39521 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39522 (arg1
)->SetSizeHints(arg2
);
39524 wxPyEndAllowThreads(__tstate
);
39525 if (PyErr_Occurred()) SWIG_fail
;
39527 Py_INCREF(Py_None
); resultobj
= Py_None
;
39534 static PyObject
*_wrap_Sizer_SetVirtualSizeHints(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39535 PyObject
*resultobj
;
39536 wxSizer
*arg1
= (wxSizer
*) 0 ;
39537 wxWindow
*arg2
= (wxWindow
*) 0 ;
39538 PyObject
* obj0
= 0 ;
39539 PyObject
* obj1
= 0 ;
39540 char *kwnames
[] = {
39541 (char *) "self",(char *) "window", NULL
39544 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_SetVirtualSizeHints",kwnames
,&obj0
,&obj1
)) goto fail
;
39545 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
39546 if (SWIG_arg_fail(1)) SWIG_fail
;
39547 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
39548 if (SWIG_arg_fail(2)) SWIG_fail
;
39550 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39551 (arg1
)->SetVirtualSizeHints(arg2
);
39553 wxPyEndAllowThreads(__tstate
);
39554 if (PyErr_Occurred()) SWIG_fail
;
39556 Py_INCREF(Py_None
); resultobj
= Py_None
;
39563 static PyObject
*_wrap_Sizer_Clear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39564 PyObject
*resultobj
;
39565 wxSizer
*arg1
= (wxSizer
*) 0 ;
39566 bool arg2
= (bool) false ;
39567 PyObject
* obj0
= 0 ;
39568 PyObject
* obj1
= 0 ;
39569 char *kwnames
[] = {
39570 (char *) "self",(char *) "deleteWindows", NULL
39573 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Sizer_Clear",kwnames
,&obj0
,&obj1
)) goto fail
;
39574 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
39575 if (SWIG_arg_fail(1)) SWIG_fail
;
39578 arg2
= (bool)(SWIG_As_bool(obj1
));
39579 if (SWIG_arg_fail(2)) SWIG_fail
;
39583 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39584 (arg1
)->Clear(arg2
);
39586 wxPyEndAllowThreads(__tstate
);
39587 if (PyErr_Occurred()) SWIG_fail
;
39589 Py_INCREF(Py_None
); resultobj
= Py_None
;
39596 static PyObject
*_wrap_Sizer_DeleteWindows(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39597 PyObject
*resultobj
;
39598 wxSizer
*arg1
= (wxSizer
*) 0 ;
39599 PyObject
* obj0
= 0 ;
39600 char *kwnames
[] = {
39601 (char *) "self", NULL
39604 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_DeleteWindows",kwnames
,&obj0
)) goto fail
;
39605 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
39606 if (SWIG_arg_fail(1)) SWIG_fail
;
39608 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39609 (arg1
)->DeleteWindows();
39611 wxPyEndAllowThreads(__tstate
);
39612 if (PyErr_Occurred()) SWIG_fail
;
39614 Py_INCREF(Py_None
); resultobj
= Py_None
;
39621 static PyObject
*_wrap_Sizer_GetChildren(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39622 PyObject
*resultobj
;
39623 wxSizer
*arg1
= (wxSizer
*) 0 ;
39625 PyObject
* obj0
= 0 ;
39626 char *kwnames
[] = {
39627 (char *) "self", NULL
39630 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_GetChildren",kwnames
,&obj0
)) goto fail
;
39631 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
39632 if (SWIG_arg_fail(1)) SWIG_fail
;
39634 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39635 result
= (PyObject
*)wxSizer_GetChildren(arg1
);
39637 wxPyEndAllowThreads(__tstate
);
39638 if (PyErr_Occurred()) SWIG_fail
;
39640 resultobj
= result
;
39647 static PyObject
*_wrap_Sizer_Show(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39648 PyObject
*resultobj
;
39649 wxSizer
*arg1
= (wxSizer
*) 0 ;
39650 PyObject
*arg2
= (PyObject
*) 0 ;
39651 bool arg3
= (bool) true ;
39652 bool arg4
= (bool) false ;
39654 PyObject
* obj0
= 0 ;
39655 PyObject
* obj1
= 0 ;
39656 PyObject
* obj2
= 0 ;
39657 PyObject
* obj3
= 0 ;
39658 char *kwnames
[] = {
39659 (char *) "self",(char *) "item",(char *) "show",(char *) "recursive", NULL
39662 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:Sizer_Show",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
39663 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
39664 if (SWIG_arg_fail(1)) SWIG_fail
;
39668 arg3
= (bool)(SWIG_As_bool(obj2
));
39669 if (SWIG_arg_fail(3)) SWIG_fail
;
39674 arg4
= (bool)(SWIG_As_bool(obj3
));
39675 if (SWIG_arg_fail(4)) SWIG_fail
;
39679 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39680 result
= (bool)wxSizer_Show(arg1
,arg2
,arg3
,arg4
);
39682 wxPyEndAllowThreads(__tstate
);
39683 if (PyErr_Occurred()) SWIG_fail
;
39686 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
39694 static PyObject
*_wrap_Sizer_IsShown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39695 PyObject
*resultobj
;
39696 wxSizer
*arg1
= (wxSizer
*) 0 ;
39697 PyObject
*arg2
= (PyObject
*) 0 ;
39699 PyObject
* obj0
= 0 ;
39700 PyObject
* obj1
= 0 ;
39701 char *kwnames
[] = {
39702 (char *) "self",(char *) "item", NULL
39705 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_IsShown",kwnames
,&obj0
,&obj1
)) goto fail
;
39706 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
39707 if (SWIG_arg_fail(1)) SWIG_fail
;
39710 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39711 result
= (bool)wxSizer_IsShown(arg1
,arg2
);
39713 wxPyEndAllowThreads(__tstate
);
39714 if (PyErr_Occurred()) SWIG_fail
;
39717 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
39725 static PyObject
*_wrap_Sizer_ShowItems(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39726 PyObject
*resultobj
;
39727 wxSizer
*arg1
= (wxSizer
*) 0 ;
39729 PyObject
* obj0
= 0 ;
39730 PyObject
* obj1
= 0 ;
39731 char *kwnames
[] = {
39732 (char *) "self",(char *) "show", NULL
39735 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_ShowItems",kwnames
,&obj0
,&obj1
)) goto fail
;
39736 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
39737 if (SWIG_arg_fail(1)) SWIG_fail
;
39739 arg2
= (bool)(SWIG_As_bool(obj1
));
39740 if (SWIG_arg_fail(2)) SWIG_fail
;
39743 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39744 (arg1
)->ShowItems(arg2
);
39746 wxPyEndAllowThreads(__tstate
);
39747 if (PyErr_Occurred()) SWIG_fail
;
39749 Py_INCREF(Py_None
); resultobj
= Py_None
;
39756 static PyObject
* Sizer_swigregister(PyObject
*, PyObject
*args
) {
39758 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
39759 SWIG_TypeClientData(SWIGTYPE_p_wxSizer
, obj
);
39761 return Py_BuildValue((char *)"");
39763 static PyObject
*_wrap_new_PySizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39764 PyObject
*resultobj
;
39766 char *kwnames
[] = {
39770 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PySizer",kwnames
)) goto fail
;
39772 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39773 result
= (wxPySizer
*)new wxPySizer();
39775 wxPyEndAllowThreads(__tstate
);
39776 if (PyErr_Occurred()) SWIG_fail
;
39778 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPySizer
, 1);
39785 static PyObject
*_wrap_PySizer__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39786 PyObject
*resultobj
;
39787 wxPySizer
*arg1
= (wxPySizer
*) 0 ;
39788 PyObject
*arg2
= (PyObject
*) 0 ;
39789 PyObject
*arg3
= (PyObject
*) 0 ;
39790 PyObject
* obj0
= 0 ;
39791 PyObject
* obj1
= 0 ;
39792 PyObject
* obj2
= 0 ;
39793 char *kwnames
[] = {
39794 (char *) "self",(char *) "self",(char *) "_class", NULL
39797 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PySizer__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
39798 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPySizer
, SWIG_POINTER_EXCEPTION
| 0);
39799 if (SWIG_arg_fail(1)) SWIG_fail
;
39803 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39804 (arg1
)->_setCallbackInfo(arg2
,arg3
);
39806 wxPyEndAllowThreads(__tstate
);
39807 if (PyErr_Occurred()) SWIG_fail
;
39809 Py_INCREF(Py_None
); resultobj
= Py_None
;
39816 static PyObject
* PySizer_swigregister(PyObject
*, PyObject
*args
) {
39818 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
39819 SWIG_TypeClientData(SWIGTYPE_p_wxPySizer
, obj
);
39821 return Py_BuildValue((char *)"");
39823 static PyObject
*_wrap_new_BoxSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39824 PyObject
*resultobj
;
39825 int arg1
= (int) wxHORIZONTAL
;
39826 wxBoxSizer
*result
;
39827 PyObject
* obj0
= 0 ;
39828 char *kwnames
[] = {
39829 (char *) "orient", NULL
39832 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_BoxSizer",kwnames
,&obj0
)) goto fail
;
39835 arg1
= (int)(SWIG_As_int(obj0
));
39836 if (SWIG_arg_fail(1)) SWIG_fail
;
39840 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39841 result
= (wxBoxSizer
*)new wxBoxSizer(arg1
);
39843 wxPyEndAllowThreads(__tstate
);
39844 if (PyErr_Occurred()) SWIG_fail
;
39846 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBoxSizer
, 1);
39853 static PyObject
*_wrap_BoxSizer_GetOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39854 PyObject
*resultobj
;
39855 wxBoxSizer
*arg1
= (wxBoxSizer
*) 0 ;
39857 PyObject
* obj0
= 0 ;
39858 char *kwnames
[] = {
39859 (char *) "self", NULL
39862 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BoxSizer_GetOrientation",kwnames
,&obj0
)) goto fail
;
39863 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBoxSizer
, SWIG_POINTER_EXCEPTION
| 0);
39864 if (SWIG_arg_fail(1)) SWIG_fail
;
39866 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39867 result
= (int)(arg1
)->GetOrientation();
39869 wxPyEndAllowThreads(__tstate
);
39870 if (PyErr_Occurred()) SWIG_fail
;
39873 resultobj
= SWIG_From_int((int)(result
));
39881 static PyObject
*_wrap_BoxSizer_SetOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39882 PyObject
*resultobj
;
39883 wxBoxSizer
*arg1
= (wxBoxSizer
*) 0 ;
39885 PyObject
* obj0
= 0 ;
39886 PyObject
* obj1
= 0 ;
39887 char *kwnames
[] = {
39888 (char *) "self",(char *) "orient", NULL
39891 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BoxSizer_SetOrientation",kwnames
,&obj0
,&obj1
)) goto fail
;
39892 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBoxSizer
, SWIG_POINTER_EXCEPTION
| 0);
39893 if (SWIG_arg_fail(1)) SWIG_fail
;
39895 arg2
= (int)(SWIG_As_int(obj1
));
39896 if (SWIG_arg_fail(2)) SWIG_fail
;
39899 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39900 (arg1
)->SetOrientation(arg2
);
39902 wxPyEndAllowThreads(__tstate
);
39903 if (PyErr_Occurred()) SWIG_fail
;
39905 Py_INCREF(Py_None
); resultobj
= Py_None
;
39912 static PyObject
* BoxSizer_swigregister(PyObject
*, PyObject
*args
) {
39914 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
39915 SWIG_TypeClientData(SWIGTYPE_p_wxBoxSizer
, obj
);
39917 return Py_BuildValue((char *)"");
39919 static PyObject
*_wrap_new_StaticBoxSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39920 PyObject
*resultobj
;
39921 wxStaticBox
*arg1
= (wxStaticBox
*) 0 ;
39922 int arg2
= (int) wxHORIZONTAL
;
39923 wxStaticBoxSizer
*result
;
39924 PyObject
* obj0
= 0 ;
39925 PyObject
* obj1
= 0 ;
39926 char *kwnames
[] = {
39927 (char *) "box",(char *) "orient", NULL
39930 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_StaticBoxSizer",kwnames
,&obj0
,&obj1
)) goto fail
;
39931 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStaticBox
, SWIG_POINTER_EXCEPTION
| 0);
39932 if (SWIG_arg_fail(1)) SWIG_fail
;
39935 arg2
= (int)(SWIG_As_int(obj1
));
39936 if (SWIG_arg_fail(2)) SWIG_fail
;
39940 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39941 result
= (wxStaticBoxSizer
*)new wxStaticBoxSizer(arg1
,arg2
);
39943 wxPyEndAllowThreads(__tstate
);
39944 if (PyErr_Occurred()) SWIG_fail
;
39946 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStaticBoxSizer
, 1);
39953 static PyObject
*_wrap_StaticBoxSizer_GetStaticBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39954 PyObject
*resultobj
;
39955 wxStaticBoxSizer
*arg1
= (wxStaticBoxSizer
*) 0 ;
39956 wxStaticBox
*result
;
39957 PyObject
* obj0
= 0 ;
39958 char *kwnames
[] = {
39959 (char *) "self", NULL
39962 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StaticBoxSizer_GetStaticBox",kwnames
,&obj0
)) goto fail
;
39963 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStaticBoxSizer
, SWIG_POINTER_EXCEPTION
| 0);
39964 if (SWIG_arg_fail(1)) SWIG_fail
;
39966 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39967 result
= (wxStaticBox
*)(arg1
)->GetStaticBox();
39969 wxPyEndAllowThreads(__tstate
);
39970 if (PyErr_Occurred()) SWIG_fail
;
39973 resultobj
= wxPyMake_wxObject(result
, 0);
39981 static PyObject
* StaticBoxSizer_swigregister(PyObject
*, PyObject
*args
) {
39983 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
39984 SWIG_TypeClientData(SWIGTYPE_p_wxStaticBoxSizer
, obj
);
39986 return Py_BuildValue((char *)"");
39988 static PyObject
*_wrap_new_GridSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39989 PyObject
*resultobj
;
39990 int arg1
= (int) 1 ;
39991 int arg2
= (int) 0 ;
39992 int arg3
= (int) 0 ;
39993 int arg4
= (int) 0 ;
39994 wxGridSizer
*result
;
39995 PyObject
* obj0
= 0 ;
39996 PyObject
* obj1
= 0 ;
39997 PyObject
* obj2
= 0 ;
39998 PyObject
* obj3
= 0 ;
39999 char *kwnames
[] = {
40000 (char *) "rows",(char *) "cols",(char *) "vgap",(char *) "hgap", NULL
40003 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_GridSizer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
40006 arg1
= (int)(SWIG_As_int(obj0
));
40007 if (SWIG_arg_fail(1)) SWIG_fail
;
40012 arg2
= (int)(SWIG_As_int(obj1
));
40013 if (SWIG_arg_fail(2)) SWIG_fail
;
40018 arg3
= (int)(SWIG_As_int(obj2
));
40019 if (SWIG_arg_fail(3)) SWIG_fail
;
40024 arg4
= (int)(SWIG_As_int(obj3
));
40025 if (SWIG_arg_fail(4)) SWIG_fail
;
40029 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40030 result
= (wxGridSizer
*)new wxGridSizer(arg1
,arg2
,arg3
,arg4
);
40032 wxPyEndAllowThreads(__tstate
);
40033 if (PyErr_Occurred()) SWIG_fail
;
40035 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGridSizer
, 1);
40042 static PyObject
*_wrap_GridSizer_SetCols(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40043 PyObject
*resultobj
;
40044 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
40046 PyObject
* obj0
= 0 ;
40047 PyObject
* obj1
= 0 ;
40048 char *kwnames
[] = {
40049 (char *) "self",(char *) "cols", NULL
40052 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridSizer_SetCols",kwnames
,&obj0
,&obj1
)) goto fail
;
40053 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridSizer
, SWIG_POINTER_EXCEPTION
| 0);
40054 if (SWIG_arg_fail(1)) SWIG_fail
;
40056 arg2
= (int)(SWIG_As_int(obj1
));
40057 if (SWIG_arg_fail(2)) SWIG_fail
;
40060 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40061 (arg1
)->SetCols(arg2
);
40063 wxPyEndAllowThreads(__tstate
);
40064 if (PyErr_Occurred()) SWIG_fail
;
40066 Py_INCREF(Py_None
); resultobj
= Py_None
;
40073 static PyObject
*_wrap_GridSizer_SetRows(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40074 PyObject
*resultobj
;
40075 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
40077 PyObject
* obj0
= 0 ;
40078 PyObject
* obj1
= 0 ;
40079 char *kwnames
[] = {
40080 (char *) "self",(char *) "rows", NULL
40083 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridSizer_SetRows",kwnames
,&obj0
,&obj1
)) goto fail
;
40084 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridSizer
, SWIG_POINTER_EXCEPTION
| 0);
40085 if (SWIG_arg_fail(1)) SWIG_fail
;
40087 arg2
= (int)(SWIG_As_int(obj1
));
40088 if (SWIG_arg_fail(2)) SWIG_fail
;
40091 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40092 (arg1
)->SetRows(arg2
);
40094 wxPyEndAllowThreads(__tstate
);
40095 if (PyErr_Occurred()) SWIG_fail
;
40097 Py_INCREF(Py_None
); resultobj
= Py_None
;
40104 static PyObject
*_wrap_GridSizer_SetVGap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40105 PyObject
*resultobj
;
40106 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
40108 PyObject
* obj0
= 0 ;
40109 PyObject
* obj1
= 0 ;
40110 char *kwnames
[] = {
40111 (char *) "self",(char *) "gap", NULL
40114 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridSizer_SetVGap",kwnames
,&obj0
,&obj1
)) goto fail
;
40115 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridSizer
, SWIG_POINTER_EXCEPTION
| 0);
40116 if (SWIG_arg_fail(1)) SWIG_fail
;
40118 arg2
= (int)(SWIG_As_int(obj1
));
40119 if (SWIG_arg_fail(2)) SWIG_fail
;
40122 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40123 (arg1
)->SetVGap(arg2
);
40125 wxPyEndAllowThreads(__tstate
);
40126 if (PyErr_Occurred()) SWIG_fail
;
40128 Py_INCREF(Py_None
); resultobj
= Py_None
;
40135 static PyObject
*_wrap_GridSizer_SetHGap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40136 PyObject
*resultobj
;
40137 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
40139 PyObject
* obj0
= 0 ;
40140 PyObject
* obj1
= 0 ;
40141 char *kwnames
[] = {
40142 (char *) "self",(char *) "gap", NULL
40145 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridSizer_SetHGap",kwnames
,&obj0
,&obj1
)) goto fail
;
40146 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridSizer
, SWIG_POINTER_EXCEPTION
| 0);
40147 if (SWIG_arg_fail(1)) SWIG_fail
;
40149 arg2
= (int)(SWIG_As_int(obj1
));
40150 if (SWIG_arg_fail(2)) SWIG_fail
;
40153 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40154 (arg1
)->SetHGap(arg2
);
40156 wxPyEndAllowThreads(__tstate
);
40157 if (PyErr_Occurred()) SWIG_fail
;
40159 Py_INCREF(Py_None
); resultobj
= Py_None
;
40166 static PyObject
*_wrap_GridSizer_GetCols(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40167 PyObject
*resultobj
;
40168 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
40170 PyObject
* obj0
= 0 ;
40171 char *kwnames
[] = {
40172 (char *) "self", NULL
40175 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridSizer_GetCols",kwnames
,&obj0
)) goto fail
;
40176 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridSizer
, SWIG_POINTER_EXCEPTION
| 0);
40177 if (SWIG_arg_fail(1)) SWIG_fail
;
40179 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40180 result
= (int)(arg1
)->GetCols();
40182 wxPyEndAllowThreads(__tstate
);
40183 if (PyErr_Occurred()) SWIG_fail
;
40186 resultobj
= SWIG_From_int((int)(result
));
40194 static PyObject
*_wrap_GridSizer_GetRows(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40195 PyObject
*resultobj
;
40196 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
40198 PyObject
* obj0
= 0 ;
40199 char *kwnames
[] = {
40200 (char *) "self", NULL
40203 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridSizer_GetRows",kwnames
,&obj0
)) goto fail
;
40204 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridSizer
, SWIG_POINTER_EXCEPTION
| 0);
40205 if (SWIG_arg_fail(1)) SWIG_fail
;
40207 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40208 result
= (int)(arg1
)->GetRows();
40210 wxPyEndAllowThreads(__tstate
);
40211 if (PyErr_Occurred()) SWIG_fail
;
40214 resultobj
= SWIG_From_int((int)(result
));
40222 static PyObject
*_wrap_GridSizer_GetVGap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40223 PyObject
*resultobj
;
40224 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
40226 PyObject
* obj0
= 0 ;
40227 char *kwnames
[] = {
40228 (char *) "self", NULL
40231 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridSizer_GetVGap",kwnames
,&obj0
)) goto fail
;
40232 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridSizer
, SWIG_POINTER_EXCEPTION
| 0);
40233 if (SWIG_arg_fail(1)) SWIG_fail
;
40235 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40236 result
= (int)(arg1
)->GetVGap();
40238 wxPyEndAllowThreads(__tstate
);
40239 if (PyErr_Occurred()) SWIG_fail
;
40242 resultobj
= SWIG_From_int((int)(result
));
40250 static PyObject
*_wrap_GridSizer_GetHGap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40251 PyObject
*resultobj
;
40252 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
40254 PyObject
* obj0
= 0 ;
40255 char *kwnames
[] = {
40256 (char *) "self", NULL
40259 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridSizer_GetHGap",kwnames
,&obj0
)) goto fail
;
40260 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridSizer
, SWIG_POINTER_EXCEPTION
| 0);
40261 if (SWIG_arg_fail(1)) SWIG_fail
;
40263 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40264 result
= (int)(arg1
)->GetHGap();
40266 wxPyEndAllowThreads(__tstate
);
40267 if (PyErr_Occurred()) SWIG_fail
;
40270 resultobj
= SWIG_From_int((int)(result
));
40278 static PyObject
* GridSizer_swigregister(PyObject
*, PyObject
*args
) {
40280 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
40281 SWIG_TypeClientData(SWIGTYPE_p_wxGridSizer
, obj
);
40283 return Py_BuildValue((char *)"");
40285 static PyObject
*_wrap_new_FlexGridSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40286 PyObject
*resultobj
;
40287 int arg1
= (int) 1 ;
40288 int arg2
= (int) 0 ;
40289 int arg3
= (int) 0 ;
40290 int arg4
= (int) 0 ;
40291 wxFlexGridSizer
*result
;
40292 PyObject
* obj0
= 0 ;
40293 PyObject
* obj1
= 0 ;
40294 PyObject
* obj2
= 0 ;
40295 PyObject
* obj3
= 0 ;
40296 char *kwnames
[] = {
40297 (char *) "rows",(char *) "cols",(char *) "vgap",(char *) "hgap", NULL
40300 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_FlexGridSizer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
40303 arg1
= (int)(SWIG_As_int(obj0
));
40304 if (SWIG_arg_fail(1)) SWIG_fail
;
40309 arg2
= (int)(SWIG_As_int(obj1
));
40310 if (SWIG_arg_fail(2)) SWIG_fail
;
40315 arg3
= (int)(SWIG_As_int(obj2
));
40316 if (SWIG_arg_fail(3)) SWIG_fail
;
40321 arg4
= (int)(SWIG_As_int(obj3
));
40322 if (SWIG_arg_fail(4)) SWIG_fail
;
40326 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40327 result
= (wxFlexGridSizer
*)new wxFlexGridSizer(arg1
,arg2
,arg3
,arg4
);
40329 wxPyEndAllowThreads(__tstate
);
40330 if (PyErr_Occurred()) SWIG_fail
;
40332 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFlexGridSizer
, 1);
40339 static PyObject
*_wrap_FlexGridSizer_AddGrowableRow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40340 PyObject
*resultobj
;
40341 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
40343 int arg3
= (int) 0 ;
40344 PyObject
* obj0
= 0 ;
40345 PyObject
* obj1
= 0 ;
40346 PyObject
* obj2
= 0 ;
40347 char *kwnames
[] = {
40348 (char *) "self",(char *) "idx",(char *) "proportion", NULL
40351 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FlexGridSizer_AddGrowableRow",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
40352 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFlexGridSizer
, SWIG_POINTER_EXCEPTION
| 0);
40353 if (SWIG_arg_fail(1)) SWIG_fail
;
40355 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
40356 if (SWIG_arg_fail(2)) SWIG_fail
;
40360 arg3
= (int)(SWIG_As_int(obj2
));
40361 if (SWIG_arg_fail(3)) SWIG_fail
;
40365 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40366 (arg1
)->AddGrowableRow(arg2
,arg3
);
40368 wxPyEndAllowThreads(__tstate
);
40369 if (PyErr_Occurred()) SWIG_fail
;
40371 Py_INCREF(Py_None
); resultobj
= Py_None
;
40378 static PyObject
*_wrap_FlexGridSizer_RemoveGrowableRow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40379 PyObject
*resultobj
;
40380 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
40382 PyObject
* obj0
= 0 ;
40383 PyObject
* obj1
= 0 ;
40384 char *kwnames
[] = {
40385 (char *) "self",(char *) "idx", NULL
40388 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FlexGridSizer_RemoveGrowableRow",kwnames
,&obj0
,&obj1
)) goto fail
;
40389 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFlexGridSizer
, SWIG_POINTER_EXCEPTION
| 0);
40390 if (SWIG_arg_fail(1)) SWIG_fail
;
40392 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
40393 if (SWIG_arg_fail(2)) SWIG_fail
;
40396 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40397 (arg1
)->RemoveGrowableRow(arg2
);
40399 wxPyEndAllowThreads(__tstate
);
40400 if (PyErr_Occurred()) SWIG_fail
;
40402 Py_INCREF(Py_None
); resultobj
= Py_None
;
40409 static PyObject
*_wrap_FlexGridSizer_AddGrowableCol(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40410 PyObject
*resultobj
;
40411 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
40413 int arg3
= (int) 0 ;
40414 PyObject
* obj0
= 0 ;
40415 PyObject
* obj1
= 0 ;
40416 PyObject
* obj2
= 0 ;
40417 char *kwnames
[] = {
40418 (char *) "self",(char *) "idx",(char *) "proportion", NULL
40421 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FlexGridSizer_AddGrowableCol",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
40422 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFlexGridSizer
, SWIG_POINTER_EXCEPTION
| 0);
40423 if (SWIG_arg_fail(1)) SWIG_fail
;
40425 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
40426 if (SWIG_arg_fail(2)) SWIG_fail
;
40430 arg3
= (int)(SWIG_As_int(obj2
));
40431 if (SWIG_arg_fail(3)) SWIG_fail
;
40435 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40436 (arg1
)->AddGrowableCol(arg2
,arg3
);
40438 wxPyEndAllowThreads(__tstate
);
40439 if (PyErr_Occurred()) SWIG_fail
;
40441 Py_INCREF(Py_None
); resultobj
= Py_None
;
40448 static PyObject
*_wrap_FlexGridSizer_RemoveGrowableCol(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40449 PyObject
*resultobj
;
40450 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
40452 PyObject
* obj0
= 0 ;
40453 PyObject
* obj1
= 0 ;
40454 char *kwnames
[] = {
40455 (char *) "self",(char *) "idx", NULL
40458 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FlexGridSizer_RemoveGrowableCol",kwnames
,&obj0
,&obj1
)) goto fail
;
40459 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFlexGridSizer
, SWIG_POINTER_EXCEPTION
| 0);
40460 if (SWIG_arg_fail(1)) SWIG_fail
;
40462 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
40463 if (SWIG_arg_fail(2)) SWIG_fail
;
40466 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40467 (arg1
)->RemoveGrowableCol(arg2
);
40469 wxPyEndAllowThreads(__tstate
);
40470 if (PyErr_Occurred()) SWIG_fail
;
40472 Py_INCREF(Py_None
); resultobj
= Py_None
;
40479 static PyObject
*_wrap_FlexGridSizer_SetFlexibleDirection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40480 PyObject
*resultobj
;
40481 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
40483 PyObject
* obj0
= 0 ;
40484 PyObject
* obj1
= 0 ;
40485 char *kwnames
[] = {
40486 (char *) "self",(char *) "direction", NULL
40489 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FlexGridSizer_SetFlexibleDirection",kwnames
,&obj0
,&obj1
)) goto fail
;
40490 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFlexGridSizer
, SWIG_POINTER_EXCEPTION
| 0);
40491 if (SWIG_arg_fail(1)) SWIG_fail
;
40493 arg2
= (int)(SWIG_As_int(obj1
));
40494 if (SWIG_arg_fail(2)) SWIG_fail
;
40497 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40498 (arg1
)->SetFlexibleDirection(arg2
);
40500 wxPyEndAllowThreads(__tstate
);
40501 if (PyErr_Occurred()) SWIG_fail
;
40503 Py_INCREF(Py_None
); resultobj
= Py_None
;
40510 static PyObject
*_wrap_FlexGridSizer_GetFlexibleDirection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40511 PyObject
*resultobj
;
40512 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
40514 PyObject
* obj0
= 0 ;
40515 char *kwnames
[] = {
40516 (char *) "self", NULL
40519 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FlexGridSizer_GetFlexibleDirection",kwnames
,&obj0
)) goto fail
;
40520 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFlexGridSizer
, SWIG_POINTER_EXCEPTION
| 0);
40521 if (SWIG_arg_fail(1)) SWIG_fail
;
40523 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40524 result
= (int)(arg1
)->GetFlexibleDirection();
40526 wxPyEndAllowThreads(__tstate
);
40527 if (PyErr_Occurred()) SWIG_fail
;
40530 resultobj
= SWIG_From_int((int)(result
));
40538 static PyObject
*_wrap_FlexGridSizer_SetNonFlexibleGrowMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40539 PyObject
*resultobj
;
40540 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
40541 wxFlexSizerGrowMode arg2
;
40542 PyObject
* obj0
= 0 ;
40543 PyObject
* obj1
= 0 ;
40544 char *kwnames
[] = {
40545 (char *) "self",(char *) "mode", NULL
40548 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FlexGridSizer_SetNonFlexibleGrowMode",kwnames
,&obj0
,&obj1
)) goto fail
;
40549 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFlexGridSizer
, SWIG_POINTER_EXCEPTION
| 0);
40550 if (SWIG_arg_fail(1)) SWIG_fail
;
40552 arg2
= (wxFlexSizerGrowMode
)(SWIG_As_int(obj1
));
40553 if (SWIG_arg_fail(2)) SWIG_fail
;
40556 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40557 (arg1
)->SetNonFlexibleGrowMode((wxFlexSizerGrowMode
)arg2
);
40559 wxPyEndAllowThreads(__tstate
);
40560 if (PyErr_Occurred()) SWIG_fail
;
40562 Py_INCREF(Py_None
); resultobj
= Py_None
;
40569 static PyObject
*_wrap_FlexGridSizer_GetNonFlexibleGrowMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40570 PyObject
*resultobj
;
40571 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
40572 wxFlexSizerGrowMode result
;
40573 PyObject
* obj0
= 0 ;
40574 char *kwnames
[] = {
40575 (char *) "self", NULL
40578 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FlexGridSizer_GetNonFlexibleGrowMode",kwnames
,&obj0
)) goto fail
;
40579 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFlexGridSizer
, SWIG_POINTER_EXCEPTION
| 0);
40580 if (SWIG_arg_fail(1)) SWIG_fail
;
40582 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40583 result
= (wxFlexSizerGrowMode
)(arg1
)->GetNonFlexibleGrowMode();
40585 wxPyEndAllowThreads(__tstate
);
40586 if (PyErr_Occurred()) SWIG_fail
;
40588 resultobj
= SWIG_From_int((result
));
40595 static PyObject
*_wrap_FlexGridSizer_GetRowHeights(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40596 PyObject
*resultobj
;
40597 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
40598 wxArrayInt
*result
;
40599 PyObject
* obj0
= 0 ;
40600 char *kwnames
[] = {
40601 (char *) "self", NULL
40604 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FlexGridSizer_GetRowHeights",kwnames
,&obj0
)) goto fail
;
40605 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFlexGridSizer
, SWIG_POINTER_EXCEPTION
| 0);
40606 if (SWIG_arg_fail(1)) SWIG_fail
;
40608 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40610 wxArrayInt
const &_result_ref
= ((wxFlexGridSizer
const *)arg1
)->GetRowHeights();
40611 result
= (wxArrayInt
*) &_result_ref
;
40614 wxPyEndAllowThreads(__tstate
);
40615 if (PyErr_Occurred()) SWIG_fail
;
40618 resultobj
= PyList_New(0);
40620 for (idx
= 0; idx
< result
->GetCount(); idx
+= 1) {
40621 PyObject
* val
= PyInt_FromLong( result
->Item(idx
) );
40622 PyList_Append(resultobj
, val
);
40632 static PyObject
*_wrap_FlexGridSizer_GetColWidths(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40633 PyObject
*resultobj
;
40634 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
40635 wxArrayInt
*result
;
40636 PyObject
* obj0
= 0 ;
40637 char *kwnames
[] = {
40638 (char *) "self", NULL
40641 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FlexGridSizer_GetColWidths",kwnames
,&obj0
)) goto fail
;
40642 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFlexGridSizer
, SWIG_POINTER_EXCEPTION
| 0);
40643 if (SWIG_arg_fail(1)) SWIG_fail
;
40645 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40647 wxArrayInt
const &_result_ref
= ((wxFlexGridSizer
const *)arg1
)->GetColWidths();
40648 result
= (wxArrayInt
*) &_result_ref
;
40651 wxPyEndAllowThreads(__tstate
);
40652 if (PyErr_Occurred()) SWIG_fail
;
40655 resultobj
= PyList_New(0);
40657 for (idx
= 0; idx
< result
->GetCount(); idx
+= 1) {
40658 PyObject
* val
= PyInt_FromLong( result
->Item(idx
) );
40659 PyList_Append(resultobj
, val
);
40669 static PyObject
* FlexGridSizer_swigregister(PyObject
*, PyObject
*args
) {
40671 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
40672 SWIG_TypeClientData(SWIGTYPE_p_wxFlexGridSizer
, obj
);
40674 return Py_BuildValue((char *)"");
40676 static PyObject
*_wrap_new_StdDialogButtonSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40677 PyObject
*resultobj
;
40678 wxStdDialogButtonSizer
*result
;
40679 char *kwnames
[] = {
40683 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_StdDialogButtonSizer",kwnames
)) goto fail
;
40685 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40686 result
= (wxStdDialogButtonSizer
*)new wxStdDialogButtonSizer();
40688 wxPyEndAllowThreads(__tstate
);
40689 if (PyErr_Occurred()) SWIG_fail
;
40691 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStdDialogButtonSizer
, 1);
40698 static PyObject
*_wrap_StdDialogButtonSizer_AddButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40699 PyObject
*resultobj
;
40700 wxStdDialogButtonSizer
*arg1
= (wxStdDialogButtonSizer
*) 0 ;
40701 wxButton
*arg2
= (wxButton
*) 0 ;
40702 PyObject
* obj0
= 0 ;
40703 PyObject
* obj1
= 0 ;
40704 char *kwnames
[] = {
40705 (char *) "self",(char *) "button", NULL
40708 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StdDialogButtonSizer_AddButton",kwnames
,&obj0
,&obj1
)) goto fail
;
40709 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStdDialogButtonSizer
, SWIG_POINTER_EXCEPTION
| 0);
40710 if (SWIG_arg_fail(1)) SWIG_fail
;
40711 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxButton
, SWIG_POINTER_EXCEPTION
| 0);
40712 if (SWIG_arg_fail(2)) SWIG_fail
;
40714 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40715 (arg1
)->AddButton(arg2
);
40717 wxPyEndAllowThreads(__tstate
);
40718 if (PyErr_Occurred()) SWIG_fail
;
40720 Py_INCREF(Py_None
); resultobj
= Py_None
;
40727 static PyObject
*_wrap_StdDialogButtonSizer_Realize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40728 PyObject
*resultobj
;
40729 wxStdDialogButtonSizer
*arg1
= (wxStdDialogButtonSizer
*) 0 ;
40730 PyObject
* obj0
= 0 ;
40731 char *kwnames
[] = {
40732 (char *) "self", NULL
40735 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StdDialogButtonSizer_Realize",kwnames
,&obj0
)) goto fail
;
40736 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStdDialogButtonSizer
, SWIG_POINTER_EXCEPTION
| 0);
40737 if (SWIG_arg_fail(1)) SWIG_fail
;
40739 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40742 wxPyEndAllowThreads(__tstate
);
40743 if (PyErr_Occurred()) SWIG_fail
;
40745 Py_INCREF(Py_None
); resultobj
= Py_None
;
40752 static PyObject
*_wrap_StdDialogButtonSizer_SetAffirmativeButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40753 PyObject
*resultobj
;
40754 wxStdDialogButtonSizer
*arg1
= (wxStdDialogButtonSizer
*) 0 ;
40755 wxButton
*arg2
= (wxButton
*) 0 ;
40756 PyObject
* obj0
= 0 ;
40757 PyObject
* obj1
= 0 ;
40758 char *kwnames
[] = {
40759 (char *) "self",(char *) "button", NULL
40762 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StdDialogButtonSizer_SetAffirmativeButton",kwnames
,&obj0
,&obj1
)) goto fail
;
40763 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStdDialogButtonSizer
, SWIG_POINTER_EXCEPTION
| 0);
40764 if (SWIG_arg_fail(1)) SWIG_fail
;
40765 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxButton
, SWIG_POINTER_EXCEPTION
| 0);
40766 if (SWIG_arg_fail(2)) SWIG_fail
;
40768 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40769 (arg1
)->SetAffirmativeButton(arg2
);
40771 wxPyEndAllowThreads(__tstate
);
40772 if (PyErr_Occurred()) SWIG_fail
;
40774 Py_INCREF(Py_None
); resultobj
= Py_None
;
40781 static PyObject
*_wrap_StdDialogButtonSizer_SetNegativeButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40782 PyObject
*resultobj
;
40783 wxStdDialogButtonSizer
*arg1
= (wxStdDialogButtonSizer
*) 0 ;
40784 wxButton
*arg2
= (wxButton
*) 0 ;
40785 PyObject
* obj0
= 0 ;
40786 PyObject
* obj1
= 0 ;
40787 char *kwnames
[] = {
40788 (char *) "self",(char *) "button", NULL
40791 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StdDialogButtonSizer_SetNegativeButton",kwnames
,&obj0
,&obj1
)) goto fail
;
40792 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStdDialogButtonSizer
, SWIG_POINTER_EXCEPTION
| 0);
40793 if (SWIG_arg_fail(1)) SWIG_fail
;
40794 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxButton
, SWIG_POINTER_EXCEPTION
| 0);
40795 if (SWIG_arg_fail(2)) SWIG_fail
;
40797 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40798 (arg1
)->SetNegativeButton(arg2
);
40800 wxPyEndAllowThreads(__tstate
);
40801 if (PyErr_Occurred()) SWIG_fail
;
40803 Py_INCREF(Py_None
); resultobj
= Py_None
;
40810 static PyObject
*_wrap_StdDialogButtonSizer_SetCancelButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40811 PyObject
*resultobj
;
40812 wxStdDialogButtonSizer
*arg1
= (wxStdDialogButtonSizer
*) 0 ;
40813 wxButton
*arg2
= (wxButton
*) 0 ;
40814 PyObject
* obj0
= 0 ;
40815 PyObject
* obj1
= 0 ;
40816 char *kwnames
[] = {
40817 (char *) "self",(char *) "button", NULL
40820 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StdDialogButtonSizer_SetCancelButton",kwnames
,&obj0
,&obj1
)) goto fail
;
40821 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStdDialogButtonSizer
, SWIG_POINTER_EXCEPTION
| 0);
40822 if (SWIG_arg_fail(1)) SWIG_fail
;
40823 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxButton
, SWIG_POINTER_EXCEPTION
| 0);
40824 if (SWIG_arg_fail(2)) SWIG_fail
;
40826 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40827 (arg1
)->SetCancelButton(arg2
);
40829 wxPyEndAllowThreads(__tstate
);
40830 if (PyErr_Occurred()) SWIG_fail
;
40832 Py_INCREF(Py_None
); resultobj
= Py_None
;
40839 static PyObject
*_wrap_StdDialogButtonSizer_GetAffirmativeButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40840 PyObject
*resultobj
;
40841 wxStdDialogButtonSizer
*arg1
= (wxStdDialogButtonSizer
*) 0 ;
40843 PyObject
* obj0
= 0 ;
40844 char *kwnames
[] = {
40845 (char *) "self", NULL
40848 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StdDialogButtonSizer_GetAffirmativeButton",kwnames
,&obj0
)) goto fail
;
40849 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStdDialogButtonSizer
, SWIG_POINTER_EXCEPTION
| 0);
40850 if (SWIG_arg_fail(1)) SWIG_fail
;
40852 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40853 result
= (wxButton
*)((wxStdDialogButtonSizer
const *)arg1
)->GetAffirmativeButton();
40855 wxPyEndAllowThreads(__tstate
);
40856 if (PyErr_Occurred()) SWIG_fail
;
40859 resultobj
= wxPyMake_wxObject(result
, 0);
40867 static PyObject
*_wrap_StdDialogButtonSizer_GetApplyButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40868 PyObject
*resultobj
;
40869 wxStdDialogButtonSizer
*arg1
= (wxStdDialogButtonSizer
*) 0 ;
40871 PyObject
* obj0
= 0 ;
40872 char *kwnames
[] = {
40873 (char *) "self", NULL
40876 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StdDialogButtonSizer_GetApplyButton",kwnames
,&obj0
)) goto fail
;
40877 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStdDialogButtonSizer
, SWIG_POINTER_EXCEPTION
| 0);
40878 if (SWIG_arg_fail(1)) SWIG_fail
;
40880 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40881 result
= (wxButton
*)((wxStdDialogButtonSizer
const *)arg1
)->GetApplyButton();
40883 wxPyEndAllowThreads(__tstate
);
40884 if (PyErr_Occurred()) SWIG_fail
;
40887 resultobj
= wxPyMake_wxObject(result
, 0);
40895 static PyObject
*_wrap_StdDialogButtonSizer_GetNegativeButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40896 PyObject
*resultobj
;
40897 wxStdDialogButtonSizer
*arg1
= (wxStdDialogButtonSizer
*) 0 ;
40899 PyObject
* obj0
= 0 ;
40900 char *kwnames
[] = {
40901 (char *) "self", NULL
40904 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StdDialogButtonSizer_GetNegativeButton",kwnames
,&obj0
)) goto fail
;
40905 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStdDialogButtonSizer
, SWIG_POINTER_EXCEPTION
| 0);
40906 if (SWIG_arg_fail(1)) SWIG_fail
;
40908 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40909 result
= (wxButton
*)((wxStdDialogButtonSizer
const *)arg1
)->GetNegativeButton();
40911 wxPyEndAllowThreads(__tstate
);
40912 if (PyErr_Occurred()) SWIG_fail
;
40915 resultobj
= wxPyMake_wxObject(result
, 0);
40923 static PyObject
*_wrap_StdDialogButtonSizer_GetCancelButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40924 PyObject
*resultobj
;
40925 wxStdDialogButtonSizer
*arg1
= (wxStdDialogButtonSizer
*) 0 ;
40927 PyObject
* obj0
= 0 ;
40928 char *kwnames
[] = {
40929 (char *) "self", NULL
40932 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StdDialogButtonSizer_GetCancelButton",kwnames
,&obj0
)) goto fail
;
40933 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStdDialogButtonSizer
, SWIG_POINTER_EXCEPTION
| 0);
40934 if (SWIG_arg_fail(1)) SWIG_fail
;
40936 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40937 result
= (wxButton
*)((wxStdDialogButtonSizer
const *)arg1
)->GetCancelButton();
40939 wxPyEndAllowThreads(__tstate
);
40940 if (PyErr_Occurred()) SWIG_fail
;
40943 resultobj
= wxPyMake_wxObject(result
, 0);
40951 static PyObject
*_wrap_StdDialogButtonSizer_GetHelpButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40952 PyObject
*resultobj
;
40953 wxStdDialogButtonSizer
*arg1
= (wxStdDialogButtonSizer
*) 0 ;
40955 PyObject
* obj0
= 0 ;
40956 char *kwnames
[] = {
40957 (char *) "self", NULL
40960 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StdDialogButtonSizer_GetHelpButton",kwnames
,&obj0
)) goto fail
;
40961 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStdDialogButtonSizer
, SWIG_POINTER_EXCEPTION
| 0);
40962 if (SWIG_arg_fail(1)) SWIG_fail
;
40964 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40965 result
= (wxButton
*)((wxStdDialogButtonSizer
const *)arg1
)->GetHelpButton();
40967 wxPyEndAllowThreads(__tstate
);
40968 if (PyErr_Occurred()) SWIG_fail
;
40971 resultobj
= wxPyMake_wxObject(result
, 0);
40979 static PyObject
* StdDialogButtonSizer_swigregister(PyObject
*, PyObject
*args
) {
40981 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
40982 SWIG_TypeClientData(SWIGTYPE_p_wxStdDialogButtonSizer
, obj
);
40984 return Py_BuildValue((char *)"");
40986 static PyObject
*_wrap_new_GBPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40987 PyObject
*resultobj
;
40988 int arg1
= (int) 0 ;
40989 int arg2
= (int) 0 ;
40990 wxGBPosition
*result
;
40991 PyObject
* obj0
= 0 ;
40992 PyObject
* obj1
= 0 ;
40993 char *kwnames
[] = {
40994 (char *) "row",(char *) "col", NULL
40997 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_GBPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
41000 arg1
= (int)(SWIG_As_int(obj0
));
41001 if (SWIG_arg_fail(1)) SWIG_fail
;
41006 arg2
= (int)(SWIG_As_int(obj1
));
41007 if (SWIG_arg_fail(2)) SWIG_fail
;
41011 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41012 result
= (wxGBPosition
*)new wxGBPosition(arg1
,arg2
);
41014 wxPyEndAllowThreads(__tstate
);
41015 if (PyErr_Occurred()) SWIG_fail
;
41017 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBPosition
, 1);
41024 static PyObject
*_wrap_GBPosition_GetRow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41025 PyObject
*resultobj
;
41026 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
41028 PyObject
* obj0
= 0 ;
41029 char *kwnames
[] = {
41030 (char *) "self", NULL
41033 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBPosition_GetRow",kwnames
,&obj0
)) goto fail
;
41034 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBPosition
, SWIG_POINTER_EXCEPTION
| 0);
41035 if (SWIG_arg_fail(1)) SWIG_fail
;
41037 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41038 result
= (int)((wxGBPosition
const *)arg1
)->GetRow();
41040 wxPyEndAllowThreads(__tstate
);
41041 if (PyErr_Occurred()) SWIG_fail
;
41044 resultobj
= SWIG_From_int((int)(result
));
41052 static PyObject
*_wrap_GBPosition_GetCol(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41053 PyObject
*resultobj
;
41054 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
41056 PyObject
* obj0
= 0 ;
41057 char *kwnames
[] = {
41058 (char *) "self", NULL
41061 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBPosition_GetCol",kwnames
,&obj0
)) goto fail
;
41062 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBPosition
, SWIG_POINTER_EXCEPTION
| 0);
41063 if (SWIG_arg_fail(1)) SWIG_fail
;
41065 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41066 result
= (int)((wxGBPosition
const *)arg1
)->GetCol();
41068 wxPyEndAllowThreads(__tstate
);
41069 if (PyErr_Occurred()) SWIG_fail
;
41072 resultobj
= SWIG_From_int((int)(result
));
41080 static PyObject
*_wrap_GBPosition_SetRow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41081 PyObject
*resultobj
;
41082 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
41084 PyObject
* obj0
= 0 ;
41085 PyObject
* obj1
= 0 ;
41086 char *kwnames
[] = {
41087 (char *) "self",(char *) "row", NULL
41090 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBPosition_SetRow",kwnames
,&obj0
,&obj1
)) goto fail
;
41091 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBPosition
, SWIG_POINTER_EXCEPTION
| 0);
41092 if (SWIG_arg_fail(1)) SWIG_fail
;
41094 arg2
= (int)(SWIG_As_int(obj1
));
41095 if (SWIG_arg_fail(2)) SWIG_fail
;
41098 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41099 (arg1
)->SetRow(arg2
);
41101 wxPyEndAllowThreads(__tstate
);
41102 if (PyErr_Occurred()) SWIG_fail
;
41104 Py_INCREF(Py_None
); resultobj
= Py_None
;
41111 static PyObject
*_wrap_GBPosition_SetCol(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41112 PyObject
*resultobj
;
41113 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
41115 PyObject
* obj0
= 0 ;
41116 PyObject
* obj1
= 0 ;
41117 char *kwnames
[] = {
41118 (char *) "self",(char *) "col", NULL
41121 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBPosition_SetCol",kwnames
,&obj0
,&obj1
)) goto fail
;
41122 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBPosition
, SWIG_POINTER_EXCEPTION
| 0);
41123 if (SWIG_arg_fail(1)) SWIG_fail
;
41125 arg2
= (int)(SWIG_As_int(obj1
));
41126 if (SWIG_arg_fail(2)) SWIG_fail
;
41129 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41130 (arg1
)->SetCol(arg2
);
41132 wxPyEndAllowThreads(__tstate
);
41133 if (PyErr_Occurred()) SWIG_fail
;
41135 Py_INCREF(Py_None
); resultobj
= Py_None
;
41142 static PyObject
*_wrap_GBPosition___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41143 PyObject
*resultobj
;
41144 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
41145 wxGBPosition
*arg2
= 0 ;
41147 wxGBPosition temp2
;
41148 PyObject
* obj0
= 0 ;
41149 PyObject
* obj1
= 0 ;
41150 char *kwnames
[] = {
41151 (char *) "self",(char *) "other", NULL
41154 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBPosition___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
41155 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBPosition
, SWIG_POINTER_EXCEPTION
| 0);
41156 if (SWIG_arg_fail(1)) SWIG_fail
;
41159 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
41162 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41163 result
= (bool)(arg1
)->operator ==((wxGBPosition
const &)*arg2
);
41165 wxPyEndAllowThreads(__tstate
);
41166 if (PyErr_Occurred()) SWIG_fail
;
41169 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
41177 static PyObject
*_wrap_GBPosition___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41178 PyObject
*resultobj
;
41179 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
41180 wxGBPosition
*arg2
= 0 ;
41182 wxGBPosition temp2
;
41183 PyObject
* obj0
= 0 ;
41184 PyObject
* obj1
= 0 ;
41185 char *kwnames
[] = {
41186 (char *) "self",(char *) "other", NULL
41189 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBPosition___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
41190 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBPosition
, SWIG_POINTER_EXCEPTION
| 0);
41191 if (SWIG_arg_fail(1)) SWIG_fail
;
41194 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
41197 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41198 result
= (bool)(arg1
)->operator !=((wxGBPosition
const &)*arg2
);
41200 wxPyEndAllowThreads(__tstate
);
41201 if (PyErr_Occurred()) SWIG_fail
;
41204 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
41212 static PyObject
*_wrap_GBPosition_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41213 PyObject
*resultobj
;
41214 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
41215 int arg2
= (int) 0 ;
41216 int arg3
= (int) 0 ;
41217 PyObject
* obj0
= 0 ;
41218 PyObject
* obj1
= 0 ;
41219 PyObject
* obj2
= 0 ;
41220 char *kwnames
[] = {
41221 (char *) "self",(char *) "row",(char *) "col", NULL
41224 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:GBPosition_Set",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
41225 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBPosition
, SWIG_POINTER_EXCEPTION
| 0);
41226 if (SWIG_arg_fail(1)) SWIG_fail
;
41229 arg2
= (int)(SWIG_As_int(obj1
));
41230 if (SWIG_arg_fail(2)) SWIG_fail
;
41235 arg3
= (int)(SWIG_As_int(obj2
));
41236 if (SWIG_arg_fail(3)) SWIG_fail
;
41240 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41241 wxGBPosition_Set(arg1
,arg2
,arg3
);
41243 wxPyEndAllowThreads(__tstate
);
41244 if (PyErr_Occurred()) SWIG_fail
;
41246 Py_INCREF(Py_None
); resultobj
= Py_None
;
41253 static PyObject
*_wrap_GBPosition_Get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41254 PyObject
*resultobj
;
41255 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
41257 PyObject
* obj0
= 0 ;
41258 char *kwnames
[] = {
41259 (char *) "self", NULL
41262 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBPosition_Get",kwnames
,&obj0
)) goto fail
;
41263 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBPosition
, SWIG_POINTER_EXCEPTION
| 0);
41264 if (SWIG_arg_fail(1)) SWIG_fail
;
41266 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41267 result
= (PyObject
*)wxGBPosition_Get(arg1
);
41269 wxPyEndAllowThreads(__tstate
);
41270 if (PyErr_Occurred()) SWIG_fail
;
41272 resultobj
= result
;
41279 static PyObject
* GBPosition_swigregister(PyObject
*, PyObject
*args
) {
41281 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
41282 SWIG_TypeClientData(SWIGTYPE_p_wxGBPosition
, obj
);
41284 return Py_BuildValue((char *)"");
41286 static PyObject
*_wrap_new_GBSpan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41287 PyObject
*resultobj
;
41288 int arg1
= (int) 1 ;
41289 int arg2
= (int) 1 ;
41291 PyObject
* obj0
= 0 ;
41292 PyObject
* obj1
= 0 ;
41293 char *kwnames
[] = {
41294 (char *) "rowspan",(char *) "colspan", NULL
41297 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_GBSpan",kwnames
,&obj0
,&obj1
)) goto fail
;
41300 arg1
= (int)(SWIG_As_int(obj0
));
41301 if (SWIG_arg_fail(1)) SWIG_fail
;
41306 arg2
= (int)(SWIG_As_int(obj1
));
41307 if (SWIG_arg_fail(2)) SWIG_fail
;
41311 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41312 result
= (wxGBSpan
*)new wxGBSpan(arg1
,arg2
);
41314 wxPyEndAllowThreads(__tstate
);
41315 if (PyErr_Occurred()) SWIG_fail
;
41317 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSpan
, 1);
41324 static PyObject
*_wrap_GBSpan_GetRowspan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41325 PyObject
*resultobj
;
41326 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
41328 PyObject
* obj0
= 0 ;
41329 char *kwnames
[] = {
41330 (char *) "self", NULL
41333 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBSpan_GetRowspan",kwnames
,&obj0
)) goto fail
;
41334 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBSpan
, SWIG_POINTER_EXCEPTION
| 0);
41335 if (SWIG_arg_fail(1)) SWIG_fail
;
41337 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41338 result
= (int)((wxGBSpan
const *)arg1
)->GetRowspan();
41340 wxPyEndAllowThreads(__tstate
);
41341 if (PyErr_Occurred()) SWIG_fail
;
41344 resultobj
= SWIG_From_int((int)(result
));
41352 static PyObject
*_wrap_GBSpan_GetColspan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41353 PyObject
*resultobj
;
41354 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
41356 PyObject
* obj0
= 0 ;
41357 char *kwnames
[] = {
41358 (char *) "self", NULL
41361 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBSpan_GetColspan",kwnames
,&obj0
)) goto fail
;
41362 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBSpan
, SWIG_POINTER_EXCEPTION
| 0);
41363 if (SWIG_arg_fail(1)) SWIG_fail
;
41365 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41366 result
= (int)((wxGBSpan
const *)arg1
)->GetColspan();
41368 wxPyEndAllowThreads(__tstate
);
41369 if (PyErr_Occurred()) SWIG_fail
;
41372 resultobj
= SWIG_From_int((int)(result
));
41380 static PyObject
*_wrap_GBSpan_SetRowspan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41381 PyObject
*resultobj
;
41382 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
41384 PyObject
* obj0
= 0 ;
41385 PyObject
* obj1
= 0 ;
41386 char *kwnames
[] = {
41387 (char *) "self",(char *) "rowspan", NULL
41390 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSpan_SetRowspan",kwnames
,&obj0
,&obj1
)) goto fail
;
41391 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBSpan
, SWIG_POINTER_EXCEPTION
| 0);
41392 if (SWIG_arg_fail(1)) SWIG_fail
;
41394 arg2
= (int)(SWIG_As_int(obj1
));
41395 if (SWIG_arg_fail(2)) SWIG_fail
;
41398 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41399 (arg1
)->SetRowspan(arg2
);
41401 wxPyEndAllowThreads(__tstate
);
41402 if (PyErr_Occurred()) SWIG_fail
;
41404 Py_INCREF(Py_None
); resultobj
= Py_None
;
41411 static PyObject
*_wrap_GBSpan_SetColspan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41412 PyObject
*resultobj
;
41413 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
41415 PyObject
* obj0
= 0 ;
41416 PyObject
* obj1
= 0 ;
41417 char *kwnames
[] = {
41418 (char *) "self",(char *) "colspan", NULL
41421 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSpan_SetColspan",kwnames
,&obj0
,&obj1
)) goto fail
;
41422 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBSpan
, SWIG_POINTER_EXCEPTION
| 0);
41423 if (SWIG_arg_fail(1)) SWIG_fail
;
41425 arg2
= (int)(SWIG_As_int(obj1
));
41426 if (SWIG_arg_fail(2)) SWIG_fail
;
41429 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41430 (arg1
)->SetColspan(arg2
);
41432 wxPyEndAllowThreads(__tstate
);
41433 if (PyErr_Occurred()) SWIG_fail
;
41435 Py_INCREF(Py_None
); resultobj
= Py_None
;
41442 static PyObject
*_wrap_GBSpan___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41443 PyObject
*resultobj
;
41444 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
41445 wxGBSpan
*arg2
= 0 ;
41448 PyObject
* obj0
= 0 ;
41449 PyObject
* obj1
= 0 ;
41450 char *kwnames
[] = {
41451 (char *) "self",(char *) "other", NULL
41454 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSpan___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
41455 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBSpan
, SWIG_POINTER_EXCEPTION
| 0);
41456 if (SWIG_arg_fail(1)) SWIG_fail
;
41459 if ( ! wxGBSpan_helper(obj1
, &arg2
)) SWIG_fail
;
41462 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41463 result
= (bool)(arg1
)->operator ==((wxGBSpan
const &)*arg2
);
41465 wxPyEndAllowThreads(__tstate
);
41466 if (PyErr_Occurred()) SWIG_fail
;
41469 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
41477 static PyObject
*_wrap_GBSpan___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41478 PyObject
*resultobj
;
41479 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
41480 wxGBSpan
*arg2
= 0 ;
41483 PyObject
* obj0
= 0 ;
41484 PyObject
* obj1
= 0 ;
41485 char *kwnames
[] = {
41486 (char *) "self",(char *) "other", NULL
41489 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSpan___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
41490 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBSpan
, SWIG_POINTER_EXCEPTION
| 0);
41491 if (SWIG_arg_fail(1)) SWIG_fail
;
41494 if ( ! wxGBSpan_helper(obj1
, &arg2
)) SWIG_fail
;
41497 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41498 result
= (bool)(arg1
)->operator !=((wxGBSpan
const &)*arg2
);
41500 wxPyEndAllowThreads(__tstate
);
41501 if (PyErr_Occurred()) SWIG_fail
;
41504 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
41512 static PyObject
*_wrap_GBSpan_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41513 PyObject
*resultobj
;
41514 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
41515 int arg2
= (int) 1 ;
41516 int arg3
= (int) 1 ;
41517 PyObject
* obj0
= 0 ;
41518 PyObject
* obj1
= 0 ;
41519 PyObject
* obj2
= 0 ;
41520 char *kwnames
[] = {
41521 (char *) "self",(char *) "rowspan",(char *) "colspan", NULL
41524 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:GBSpan_Set",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
41525 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBSpan
, SWIG_POINTER_EXCEPTION
| 0);
41526 if (SWIG_arg_fail(1)) SWIG_fail
;
41529 arg2
= (int)(SWIG_As_int(obj1
));
41530 if (SWIG_arg_fail(2)) SWIG_fail
;
41535 arg3
= (int)(SWIG_As_int(obj2
));
41536 if (SWIG_arg_fail(3)) SWIG_fail
;
41540 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41541 wxGBSpan_Set(arg1
,arg2
,arg3
);
41543 wxPyEndAllowThreads(__tstate
);
41544 if (PyErr_Occurred()) SWIG_fail
;
41546 Py_INCREF(Py_None
); resultobj
= Py_None
;
41553 static PyObject
*_wrap_GBSpan_Get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41554 PyObject
*resultobj
;
41555 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
41557 PyObject
* obj0
= 0 ;
41558 char *kwnames
[] = {
41559 (char *) "self", NULL
41562 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBSpan_Get",kwnames
,&obj0
)) goto fail
;
41563 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBSpan
, SWIG_POINTER_EXCEPTION
| 0);
41564 if (SWIG_arg_fail(1)) SWIG_fail
;
41566 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41567 result
= (PyObject
*)wxGBSpan_Get(arg1
);
41569 wxPyEndAllowThreads(__tstate
);
41570 if (PyErr_Occurred()) SWIG_fail
;
41572 resultobj
= result
;
41579 static PyObject
* GBSpan_swigregister(PyObject
*, PyObject
*args
) {
41581 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
41582 SWIG_TypeClientData(SWIGTYPE_p_wxGBSpan
, obj
);
41584 return Py_BuildValue((char *)"");
41586 static int _wrap_DefaultSpan_set(PyObject
*) {
41587 PyErr_SetString(PyExc_TypeError
,"Variable DefaultSpan is read-only.");
41592 static PyObject
*_wrap_DefaultSpan_get(void) {
41595 pyobj
= SWIG_NewPointerObj((void *)(&wxDefaultSpan
), SWIGTYPE_p_wxGBSpan
, 0);
41600 static PyObject
*_wrap_new_GBSizerItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41601 PyObject
*resultobj
;
41602 wxGBSizerItem
*result
;
41603 char *kwnames
[] = {
41607 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_GBSizerItem",kwnames
)) goto fail
;
41609 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41610 result
= (wxGBSizerItem
*)new wxGBSizerItem();
41612 wxPyEndAllowThreads(__tstate
);
41613 if (PyErr_Occurred()) SWIG_fail
;
41615 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 1);
41622 static PyObject
*_wrap_new_GBSizerItemWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41623 PyObject
*resultobj
;
41624 wxWindow
*arg1
= (wxWindow
*) 0 ;
41625 wxGBPosition
*arg2
= 0 ;
41626 wxGBSpan
*arg3
= 0 ;
41629 PyObject
*arg6
= (PyObject
*) NULL
;
41630 wxGBSizerItem
*result
;
41631 wxGBPosition temp2
;
41633 PyObject
* obj0
= 0 ;
41634 PyObject
* obj1
= 0 ;
41635 PyObject
* obj2
= 0 ;
41636 PyObject
* obj3
= 0 ;
41637 PyObject
* obj4
= 0 ;
41638 PyObject
* obj5
= 0 ;
41639 char *kwnames
[] = {
41640 (char *) "window",(char *) "pos",(char *) "span",(char *) "flag",(char *) "border",(char *) "userData", NULL
41643 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:new_GBSizerItemWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
41644 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
41645 if (SWIG_arg_fail(1)) SWIG_fail
;
41648 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
41652 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
41655 arg4
= (int)(SWIG_As_int(obj3
));
41656 if (SWIG_arg_fail(4)) SWIG_fail
;
41659 arg5
= (int)(SWIG_As_int(obj4
));
41660 if (SWIG_arg_fail(5)) SWIG_fail
;
41666 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41667 result
= (wxGBSizerItem
*)new_wxGBSizerItem(arg1
,(wxGBPosition
const &)*arg2
,(wxGBSpan
const &)*arg3
,arg4
,arg5
,arg6
);
41669 wxPyEndAllowThreads(__tstate
);
41670 if (PyErr_Occurred()) SWIG_fail
;
41672 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 1);
41679 static PyObject
*_wrap_new_GBSizerItemSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41680 PyObject
*resultobj
;
41681 wxSizer
*arg1
= (wxSizer
*) 0 ;
41682 wxGBPosition
*arg2
= 0 ;
41683 wxGBSpan
*arg3
= 0 ;
41686 PyObject
*arg6
= (PyObject
*) NULL
;
41687 wxGBSizerItem
*result
;
41688 wxGBPosition temp2
;
41690 PyObject
* obj0
= 0 ;
41691 PyObject
* obj1
= 0 ;
41692 PyObject
* obj2
= 0 ;
41693 PyObject
* obj3
= 0 ;
41694 PyObject
* obj4
= 0 ;
41695 PyObject
* obj5
= 0 ;
41696 char *kwnames
[] = {
41697 (char *) "sizer",(char *) "pos",(char *) "span",(char *) "flag",(char *) "border",(char *) "userData", NULL
41700 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:new_GBSizerItemSizer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
41701 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
41702 if (SWIG_arg_fail(1)) SWIG_fail
;
41705 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
41709 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
41712 arg4
= (int)(SWIG_As_int(obj3
));
41713 if (SWIG_arg_fail(4)) SWIG_fail
;
41716 arg5
= (int)(SWIG_As_int(obj4
));
41717 if (SWIG_arg_fail(5)) SWIG_fail
;
41723 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41724 result
= (wxGBSizerItem
*)new_wxGBSizerItem(arg1
,(wxGBPosition
const &)*arg2
,(wxGBSpan
const &)*arg3
,arg4
,arg5
,arg6
);
41726 wxPyEndAllowThreads(__tstate
);
41727 if (PyErr_Occurred()) SWIG_fail
;
41729 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 1);
41736 static PyObject
*_wrap_new_GBSizerItemSpacer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41737 PyObject
*resultobj
;
41740 wxGBPosition
*arg3
= 0 ;
41741 wxGBSpan
*arg4
= 0 ;
41744 PyObject
*arg7
= (PyObject
*) NULL
;
41745 wxGBSizerItem
*result
;
41746 wxGBPosition temp3
;
41748 PyObject
* obj0
= 0 ;
41749 PyObject
* obj1
= 0 ;
41750 PyObject
* obj2
= 0 ;
41751 PyObject
* obj3
= 0 ;
41752 PyObject
* obj4
= 0 ;
41753 PyObject
* obj5
= 0 ;
41754 PyObject
* obj6
= 0 ;
41755 char *kwnames
[] = {
41756 (char *) "width",(char *) "height",(char *) "pos",(char *) "span",(char *) "flag",(char *) "border",(char *) "userData", NULL
41759 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO|O:new_GBSizerItemSpacer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
41761 arg1
= (int)(SWIG_As_int(obj0
));
41762 if (SWIG_arg_fail(1)) SWIG_fail
;
41765 arg2
= (int)(SWIG_As_int(obj1
));
41766 if (SWIG_arg_fail(2)) SWIG_fail
;
41770 if ( ! wxGBPosition_helper(obj2
, &arg3
)) SWIG_fail
;
41774 if ( ! wxGBSpan_helper(obj3
, &arg4
)) SWIG_fail
;
41777 arg5
= (int)(SWIG_As_int(obj4
));
41778 if (SWIG_arg_fail(5)) SWIG_fail
;
41781 arg6
= (int)(SWIG_As_int(obj5
));
41782 if (SWIG_arg_fail(6)) SWIG_fail
;
41788 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41789 result
= (wxGBSizerItem
*)new_wxGBSizerItem(arg1
,arg2
,(wxGBPosition
const &)*arg3
,(wxGBSpan
const &)*arg4
,arg5
,arg6
,arg7
);
41791 wxPyEndAllowThreads(__tstate
);
41792 if (PyErr_Occurred()) SWIG_fail
;
41794 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 1);
41801 static PyObject
*_wrap_GBSizerItem_GetPos(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41802 PyObject
*resultobj
;
41803 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
41804 wxGBPosition result
;
41805 PyObject
* obj0
= 0 ;
41806 char *kwnames
[] = {
41807 (char *) "self", NULL
41810 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBSizerItem_GetPos",kwnames
,&obj0
)) goto fail
;
41811 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
41812 if (SWIG_arg_fail(1)) SWIG_fail
;
41814 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41815 result
= ((wxGBSizerItem
const *)arg1
)->GetPos();
41817 wxPyEndAllowThreads(__tstate
);
41818 if (PyErr_Occurred()) SWIG_fail
;
41821 wxGBPosition
* resultptr
;
41822 resultptr
= new wxGBPosition((wxGBPosition
&)(result
));
41823 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBPosition
, 1);
41831 static PyObject
*_wrap_GBSizerItem_GetSpan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41832 PyObject
*resultobj
;
41833 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
41835 PyObject
* obj0
= 0 ;
41836 char *kwnames
[] = {
41837 (char *) "self", NULL
41840 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBSizerItem_GetSpan",kwnames
,&obj0
)) goto fail
;
41841 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
41842 if (SWIG_arg_fail(1)) SWIG_fail
;
41844 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41845 result
= ((wxGBSizerItem
const *)arg1
)->GetSpan();
41847 wxPyEndAllowThreads(__tstate
);
41848 if (PyErr_Occurred()) SWIG_fail
;
41851 wxGBSpan
* resultptr
;
41852 resultptr
= new wxGBSpan((wxGBSpan
&)(result
));
41853 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBSpan
, 1);
41861 static PyObject
*_wrap_GBSizerItem_SetPos(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41862 PyObject
*resultobj
;
41863 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
41864 wxGBPosition
*arg2
= 0 ;
41866 wxGBPosition temp2
;
41867 PyObject
* obj0
= 0 ;
41868 PyObject
* obj1
= 0 ;
41869 char *kwnames
[] = {
41870 (char *) "self",(char *) "pos", NULL
41873 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSizerItem_SetPos",kwnames
,&obj0
,&obj1
)) goto fail
;
41874 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
41875 if (SWIG_arg_fail(1)) SWIG_fail
;
41878 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
41881 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41882 result
= (bool)(arg1
)->SetPos((wxGBPosition
const &)*arg2
);
41884 wxPyEndAllowThreads(__tstate
);
41885 if (PyErr_Occurred()) SWIG_fail
;
41888 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
41896 static PyObject
*_wrap_GBSizerItem_SetSpan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41897 PyObject
*resultobj
;
41898 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
41899 wxGBSpan
*arg2
= 0 ;
41902 PyObject
* obj0
= 0 ;
41903 PyObject
* obj1
= 0 ;
41904 char *kwnames
[] = {
41905 (char *) "self",(char *) "span", NULL
41908 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSizerItem_SetSpan",kwnames
,&obj0
,&obj1
)) goto fail
;
41909 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
41910 if (SWIG_arg_fail(1)) SWIG_fail
;
41913 if ( ! wxGBSpan_helper(obj1
, &arg2
)) SWIG_fail
;
41916 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41917 result
= (bool)(arg1
)->SetSpan((wxGBSpan
const &)*arg2
);
41919 wxPyEndAllowThreads(__tstate
);
41920 if (PyErr_Occurred()) SWIG_fail
;
41923 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
41931 static PyObject
*_wrap_GBSizerItem_Intersects(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41932 PyObject
*resultobj
;
41933 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
41934 wxGBSizerItem
*arg2
= 0 ;
41936 PyObject
* obj0
= 0 ;
41937 PyObject
* obj1
= 0 ;
41938 char *kwnames
[] = {
41939 (char *) "self",(char *) "other", NULL
41942 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSizerItem_Intersects",kwnames
,&obj0
,&obj1
)) goto fail
;
41943 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
41944 if (SWIG_arg_fail(1)) SWIG_fail
;
41946 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxGBSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
41947 if (SWIG_arg_fail(2)) SWIG_fail
;
41948 if (arg2
== NULL
) {
41949 SWIG_null_ref("wxGBSizerItem");
41951 if (SWIG_arg_fail(2)) SWIG_fail
;
41954 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41955 result
= (bool)(arg1
)->Intersects((wxGBSizerItem
const &)*arg2
);
41957 wxPyEndAllowThreads(__tstate
);
41958 if (PyErr_Occurred()) SWIG_fail
;
41961 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
41969 static PyObject
*_wrap_GBSizerItem_IntersectsPos(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41970 PyObject
*resultobj
;
41971 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
41972 wxGBPosition
*arg2
= 0 ;
41973 wxGBSpan
*arg3
= 0 ;
41975 wxGBPosition temp2
;
41977 PyObject
* obj0
= 0 ;
41978 PyObject
* obj1
= 0 ;
41979 PyObject
* obj2
= 0 ;
41980 char *kwnames
[] = {
41981 (char *) "self",(char *) "pos",(char *) "span", NULL
41984 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GBSizerItem_IntersectsPos",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
41985 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
41986 if (SWIG_arg_fail(1)) SWIG_fail
;
41989 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
41993 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
41996 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41997 result
= (bool)(arg1
)->Intersects((wxGBPosition
const &)*arg2
,(wxGBSpan
const &)*arg3
);
41999 wxPyEndAllowThreads(__tstate
);
42000 if (PyErr_Occurred()) SWIG_fail
;
42003 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
42011 static PyObject
*_wrap_GBSizerItem_GetEndPos(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42012 PyObject
*resultobj
;
42013 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
42014 wxGBPosition result
;
42015 PyObject
* obj0
= 0 ;
42016 char *kwnames
[] = {
42017 (char *) "self", NULL
42020 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBSizerItem_GetEndPos",kwnames
,&obj0
)) goto fail
;
42021 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
42022 if (SWIG_arg_fail(1)) SWIG_fail
;
42024 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42025 result
= wxGBSizerItem_GetEndPos(arg1
);
42027 wxPyEndAllowThreads(__tstate
);
42028 if (PyErr_Occurred()) SWIG_fail
;
42031 wxGBPosition
* resultptr
;
42032 resultptr
= new wxGBPosition((wxGBPosition
&)(result
));
42033 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBPosition
, 1);
42041 static PyObject
*_wrap_GBSizerItem_GetGBSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42042 PyObject
*resultobj
;
42043 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
42044 wxGridBagSizer
*result
;
42045 PyObject
* obj0
= 0 ;
42046 char *kwnames
[] = {
42047 (char *) "self", NULL
42050 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBSizerItem_GetGBSizer",kwnames
,&obj0
)) goto fail
;
42051 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
42052 if (SWIG_arg_fail(1)) SWIG_fail
;
42054 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42055 result
= (wxGridBagSizer
*)((wxGBSizerItem
const *)arg1
)->GetGBSizer();
42057 wxPyEndAllowThreads(__tstate
);
42058 if (PyErr_Occurred()) SWIG_fail
;
42060 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGridBagSizer
, 0);
42067 static PyObject
*_wrap_GBSizerItem_SetGBSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42068 PyObject
*resultobj
;
42069 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
42070 wxGridBagSizer
*arg2
= (wxGridBagSizer
*) 0 ;
42071 PyObject
* obj0
= 0 ;
42072 PyObject
* obj1
= 0 ;
42073 char *kwnames
[] = {
42074 (char *) "self",(char *) "sizer", NULL
42077 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSizerItem_SetGBSizer",kwnames
,&obj0
,&obj1
)) goto fail
;
42078 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
42079 if (SWIG_arg_fail(1)) SWIG_fail
;
42080 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
42081 if (SWIG_arg_fail(2)) SWIG_fail
;
42083 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42084 (arg1
)->SetGBSizer(arg2
);
42086 wxPyEndAllowThreads(__tstate
);
42087 if (PyErr_Occurred()) SWIG_fail
;
42089 Py_INCREF(Py_None
); resultobj
= Py_None
;
42096 static PyObject
* GBSizerItem_swigregister(PyObject
*, PyObject
*args
) {
42098 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
42099 SWIG_TypeClientData(SWIGTYPE_p_wxGBSizerItem
, obj
);
42101 return Py_BuildValue((char *)"");
42103 static PyObject
*_wrap_new_GridBagSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42104 PyObject
*resultobj
;
42105 int arg1
= (int) 0 ;
42106 int arg2
= (int) 0 ;
42107 wxGridBagSizer
*result
;
42108 PyObject
* obj0
= 0 ;
42109 PyObject
* obj1
= 0 ;
42110 char *kwnames
[] = {
42111 (char *) "vgap",(char *) "hgap", NULL
42114 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_GridBagSizer",kwnames
,&obj0
,&obj1
)) goto fail
;
42117 arg1
= (int)(SWIG_As_int(obj0
));
42118 if (SWIG_arg_fail(1)) SWIG_fail
;
42123 arg2
= (int)(SWIG_As_int(obj1
));
42124 if (SWIG_arg_fail(2)) SWIG_fail
;
42128 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42129 result
= (wxGridBagSizer
*)new wxGridBagSizer(arg1
,arg2
);
42131 wxPyEndAllowThreads(__tstate
);
42132 if (PyErr_Occurred()) SWIG_fail
;
42134 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGridBagSizer
, 1);
42141 static PyObject
*_wrap_GridBagSizer_Add(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42142 PyObject
*resultobj
;
42143 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
42144 PyObject
*arg2
= (PyObject
*) 0 ;
42145 wxGBPosition
*arg3
= 0 ;
42146 wxGBSpan
const &arg4_defvalue
= wxDefaultSpan
;
42147 wxGBSpan
*arg4
= (wxGBSpan
*) &arg4_defvalue
;
42148 int arg5
= (int) 0 ;
42149 int arg6
= (int) 0 ;
42150 PyObject
*arg7
= (PyObject
*) NULL
;
42151 wxGBSizerItem
*result
;
42152 wxGBPosition temp3
;
42154 PyObject
* obj0
= 0 ;
42155 PyObject
* obj1
= 0 ;
42156 PyObject
* obj2
= 0 ;
42157 PyObject
* obj3
= 0 ;
42158 PyObject
* obj4
= 0 ;
42159 PyObject
* obj5
= 0 ;
42160 PyObject
* obj6
= 0 ;
42161 char *kwnames
[] = {
42162 (char *) "self",(char *) "item",(char *) "pos",(char *) "span",(char *) "flag",(char *) "border",(char *) "userData", NULL
42165 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:GridBagSizer_Add",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
42166 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
42167 if (SWIG_arg_fail(1)) SWIG_fail
;
42171 if ( ! wxGBPosition_helper(obj2
, &arg3
)) SWIG_fail
;
42176 if ( ! wxGBSpan_helper(obj3
, &arg4
)) SWIG_fail
;
42181 arg5
= (int)(SWIG_As_int(obj4
));
42182 if (SWIG_arg_fail(5)) SWIG_fail
;
42187 arg6
= (int)(SWIG_As_int(obj5
));
42188 if (SWIG_arg_fail(6)) SWIG_fail
;
42195 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42196 result
= (wxGBSizerItem
*)wxGridBagSizer_Add(arg1
,arg2
,(wxGBPosition
const &)*arg3
,(wxGBSpan
const &)*arg4
,arg5
,arg6
,arg7
);
42198 wxPyEndAllowThreads(__tstate
);
42199 if (PyErr_Occurred()) SWIG_fail
;
42201 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 0);
42208 static PyObject
*_wrap_GridBagSizer_AddItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42209 PyObject
*resultobj
;
42210 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
42211 wxGBSizerItem
*arg2
= (wxGBSizerItem
*) 0 ;
42212 wxGBSizerItem
*result
;
42213 PyObject
* obj0
= 0 ;
42214 PyObject
* obj1
= 0 ;
42215 char *kwnames
[] = {
42216 (char *) "self",(char *) "item", NULL
42219 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridBagSizer_AddItem",kwnames
,&obj0
,&obj1
)) goto fail
;
42220 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
42221 if (SWIG_arg_fail(1)) SWIG_fail
;
42222 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxGBSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
42223 if (SWIG_arg_fail(2)) SWIG_fail
;
42225 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42226 result
= (wxGBSizerItem
*)(arg1
)->Add(arg2
);
42228 wxPyEndAllowThreads(__tstate
);
42229 if (PyErr_Occurred()) SWIG_fail
;
42231 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 0);
42238 static PyObject
*_wrap_GridBagSizer_GetCellSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42239 PyObject
*resultobj
;
42240 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
42244 PyObject
* obj0
= 0 ;
42245 PyObject
* obj1
= 0 ;
42246 PyObject
* obj2
= 0 ;
42247 char *kwnames
[] = {
42248 (char *) "self",(char *) "row",(char *) "col", NULL
42251 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GridBagSizer_GetCellSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
42252 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
42253 if (SWIG_arg_fail(1)) SWIG_fail
;
42255 arg2
= (int)(SWIG_As_int(obj1
));
42256 if (SWIG_arg_fail(2)) SWIG_fail
;
42259 arg3
= (int)(SWIG_As_int(obj2
));
42260 if (SWIG_arg_fail(3)) SWIG_fail
;
42263 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42264 result
= ((wxGridBagSizer
const *)arg1
)->GetCellSize(arg2
,arg3
);
42266 wxPyEndAllowThreads(__tstate
);
42267 if (PyErr_Occurred()) SWIG_fail
;
42270 wxSize
* resultptr
;
42271 resultptr
= new wxSize((wxSize
&)(result
));
42272 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
42280 static PyObject
*_wrap_GridBagSizer_GetEmptyCellSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42281 PyObject
*resultobj
;
42282 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
42284 PyObject
* obj0
= 0 ;
42285 char *kwnames
[] = {
42286 (char *) "self", NULL
42289 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridBagSizer_GetEmptyCellSize",kwnames
,&obj0
)) goto fail
;
42290 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
42291 if (SWIG_arg_fail(1)) SWIG_fail
;
42293 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42294 result
= ((wxGridBagSizer
const *)arg1
)->GetEmptyCellSize();
42296 wxPyEndAllowThreads(__tstate
);
42297 if (PyErr_Occurred()) SWIG_fail
;
42300 wxSize
* resultptr
;
42301 resultptr
= new wxSize((wxSize
&)(result
));
42302 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
42310 static PyObject
*_wrap_GridBagSizer_SetEmptyCellSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42311 PyObject
*resultobj
;
42312 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
42315 PyObject
* obj0
= 0 ;
42316 PyObject
* obj1
= 0 ;
42317 char *kwnames
[] = {
42318 (char *) "self",(char *) "sz", NULL
42321 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridBagSizer_SetEmptyCellSize",kwnames
,&obj0
,&obj1
)) goto fail
;
42322 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
42323 if (SWIG_arg_fail(1)) SWIG_fail
;
42326 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
42329 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42330 (arg1
)->SetEmptyCellSize((wxSize
const &)*arg2
);
42332 wxPyEndAllowThreads(__tstate
);
42333 if (PyErr_Occurred()) SWIG_fail
;
42335 Py_INCREF(Py_None
); resultobj
= Py_None
;
42342 static PyObject
*_wrap_GridBagSizer_GetItemPosition__SWIG_0(PyObject
*, PyObject
*args
) {
42343 PyObject
*resultobj
;
42344 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
42345 wxWindow
*arg2
= (wxWindow
*) 0 ;
42346 wxGBPosition result
;
42347 PyObject
* obj0
= 0 ;
42348 PyObject
* obj1
= 0 ;
42350 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_GetItemPosition",&obj0
,&obj1
)) goto fail
;
42351 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
42352 if (SWIG_arg_fail(1)) SWIG_fail
;
42353 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
42354 if (SWIG_arg_fail(2)) SWIG_fail
;
42356 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42357 result
= (arg1
)->GetItemPosition(arg2
);
42359 wxPyEndAllowThreads(__tstate
);
42360 if (PyErr_Occurred()) SWIG_fail
;
42363 wxGBPosition
* resultptr
;
42364 resultptr
= new wxGBPosition((wxGBPosition
&)(result
));
42365 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBPosition
, 1);
42373 static PyObject
*_wrap_GridBagSizer_GetItemPosition__SWIG_1(PyObject
*, PyObject
*args
) {
42374 PyObject
*resultobj
;
42375 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
42376 wxSizer
*arg2
= (wxSizer
*) 0 ;
42377 wxGBPosition result
;
42378 PyObject
* obj0
= 0 ;
42379 PyObject
* obj1
= 0 ;
42381 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_GetItemPosition",&obj0
,&obj1
)) goto fail
;
42382 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
42383 if (SWIG_arg_fail(1)) SWIG_fail
;
42384 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
42385 if (SWIG_arg_fail(2)) SWIG_fail
;
42387 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42388 result
= (arg1
)->GetItemPosition(arg2
);
42390 wxPyEndAllowThreads(__tstate
);
42391 if (PyErr_Occurred()) SWIG_fail
;
42394 wxGBPosition
* resultptr
;
42395 resultptr
= new wxGBPosition((wxGBPosition
&)(result
));
42396 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBPosition
, 1);
42404 static PyObject
*_wrap_GridBagSizer_GetItemPosition__SWIG_2(PyObject
*, PyObject
*args
) {
42405 PyObject
*resultobj
;
42406 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
42408 wxGBPosition result
;
42409 PyObject
* obj0
= 0 ;
42410 PyObject
* obj1
= 0 ;
42412 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_GetItemPosition",&obj0
,&obj1
)) goto fail
;
42413 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
42414 if (SWIG_arg_fail(1)) SWIG_fail
;
42416 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
42417 if (SWIG_arg_fail(2)) SWIG_fail
;
42420 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42421 result
= (arg1
)->GetItemPosition(arg2
);
42423 wxPyEndAllowThreads(__tstate
);
42424 if (PyErr_Occurred()) SWIG_fail
;
42427 wxGBPosition
* resultptr
;
42428 resultptr
= new wxGBPosition((wxGBPosition
&)(result
));
42429 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBPosition
, 1);
42437 static PyObject
*_wrap_GridBagSizer_GetItemPosition(PyObject
*self
, PyObject
*args
) {
42442 argc
= PyObject_Length(args
);
42443 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
42444 argv
[ii
] = PyTuple_GetItem(args
,ii
);
42450 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
42460 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
42468 return _wrap_GridBagSizer_GetItemPosition__SWIG_0(self
,args
);
42476 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
42486 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxSizer
, 0) == -1) {
42494 return _wrap_GridBagSizer_GetItemPosition__SWIG_1(self
,args
);
42502 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
42510 _v
= SWIG_Check_unsigned_SS_long(argv
[1]);
42512 return _wrap_GridBagSizer_GetItemPosition__SWIG_2(self
,args
);
42517 PyErr_SetString(PyExc_NotImplementedError
,"No matching function for overloaded 'GridBagSizer_GetItemPosition'");
42522 static PyObject
*_wrap_GridBagSizer_SetItemPosition__SWIG_0(PyObject
*, PyObject
*args
) {
42523 PyObject
*resultobj
;
42524 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
42525 wxWindow
*arg2
= (wxWindow
*) 0 ;
42526 wxGBPosition
*arg3
= 0 ;
42528 wxGBPosition temp3
;
42529 PyObject
* obj0
= 0 ;
42530 PyObject
* obj1
= 0 ;
42531 PyObject
* obj2
= 0 ;
42533 if(!PyArg_ParseTuple(args
,(char *)"OOO:GridBagSizer_SetItemPosition",&obj0
,&obj1
,&obj2
)) goto fail
;
42534 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
42535 if (SWIG_arg_fail(1)) SWIG_fail
;
42536 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
42537 if (SWIG_arg_fail(2)) SWIG_fail
;
42540 if ( ! wxGBPosition_helper(obj2
, &arg3
)) SWIG_fail
;
42543 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42544 result
= (bool)(arg1
)->SetItemPosition(arg2
,(wxGBPosition
const &)*arg3
);
42546 wxPyEndAllowThreads(__tstate
);
42547 if (PyErr_Occurred()) SWIG_fail
;
42550 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
42558 static PyObject
*_wrap_GridBagSizer_SetItemPosition__SWIG_1(PyObject
*, PyObject
*args
) {
42559 PyObject
*resultobj
;
42560 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
42561 wxSizer
*arg2
= (wxSizer
*) 0 ;
42562 wxGBPosition
*arg3
= 0 ;
42564 wxGBPosition temp3
;
42565 PyObject
* obj0
= 0 ;
42566 PyObject
* obj1
= 0 ;
42567 PyObject
* obj2
= 0 ;
42569 if(!PyArg_ParseTuple(args
,(char *)"OOO:GridBagSizer_SetItemPosition",&obj0
,&obj1
,&obj2
)) goto fail
;
42570 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
42571 if (SWIG_arg_fail(1)) SWIG_fail
;
42572 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
42573 if (SWIG_arg_fail(2)) SWIG_fail
;
42576 if ( ! wxGBPosition_helper(obj2
, &arg3
)) SWIG_fail
;
42579 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42580 result
= (bool)(arg1
)->SetItemPosition(arg2
,(wxGBPosition
const &)*arg3
);
42582 wxPyEndAllowThreads(__tstate
);
42583 if (PyErr_Occurred()) SWIG_fail
;
42586 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
42594 static PyObject
*_wrap_GridBagSizer_SetItemPosition__SWIG_2(PyObject
*, PyObject
*args
) {
42595 PyObject
*resultobj
;
42596 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
42598 wxGBPosition
*arg3
= 0 ;
42600 wxGBPosition temp3
;
42601 PyObject
* obj0
= 0 ;
42602 PyObject
* obj1
= 0 ;
42603 PyObject
* obj2
= 0 ;
42605 if(!PyArg_ParseTuple(args
,(char *)"OOO:GridBagSizer_SetItemPosition",&obj0
,&obj1
,&obj2
)) goto fail
;
42606 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
42607 if (SWIG_arg_fail(1)) SWIG_fail
;
42609 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
42610 if (SWIG_arg_fail(2)) SWIG_fail
;
42614 if ( ! wxGBPosition_helper(obj2
, &arg3
)) SWIG_fail
;
42617 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42618 result
= (bool)(arg1
)->SetItemPosition(arg2
,(wxGBPosition
const &)*arg3
);
42620 wxPyEndAllowThreads(__tstate
);
42621 if (PyErr_Occurred()) SWIG_fail
;
42624 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
42632 static PyObject
*_wrap_GridBagSizer_SetItemPosition(PyObject
*self
, PyObject
*args
) {
42637 argc
= PyObject_Length(args
);
42638 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
42639 argv
[ii
] = PyTuple_GetItem(args
,ii
);
42645 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
42655 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
42664 _v
= wxPySimple_typecheck(argv
[2], wxT("wxGBPosition"), 2);
42667 return _wrap_GridBagSizer_SetItemPosition__SWIG_0(self
,args
);
42676 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
42686 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxSizer
, 0) == -1) {
42695 _v
= wxPySimple_typecheck(argv
[2], wxT("wxGBPosition"), 2);
42698 return _wrap_GridBagSizer_SetItemPosition__SWIG_1(self
,args
);
42707 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
42715 _v
= SWIG_Check_unsigned_SS_long(argv
[1]);
42718 _v
= wxPySimple_typecheck(argv
[2], wxT("wxGBPosition"), 2);
42721 return _wrap_GridBagSizer_SetItemPosition__SWIG_2(self
,args
);
42727 PyErr_SetString(PyExc_NotImplementedError
,"No matching function for overloaded 'GridBagSizer_SetItemPosition'");
42732 static PyObject
*_wrap_GridBagSizer_GetItemSpan__SWIG_0(PyObject
*, PyObject
*args
) {
42733 PyObject
*resultobj
;
42734 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
42735 wxWindow
*arg2
= (wxWindow
*) 0 ;
42737 PyObject
* obj0
= 0 ;
42738 PyObject
* obj1
= 0 ;
42740 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_GetItemSpan",&obj0
,&obj1
)) goto fail
;
42741 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
42742 if (SWIG_arg_fail(1)) SWIG_fail
;
42743 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
42744 if (SWIG_arg_fail(2)) SWIG_fail
;
42746 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42747 result
= (arg1
)->GetItemSpan(arg2
);
42749 wxPyEndAllowThreads(__tstate
);
42750 if (PyErr_Occurred()) SWIG_fail
;
42753 wxGBSpan
* resultptr
;
42754 resultptr
= new wxGBSpan((wxGBSpan
&)(result
));
42755 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBSpan
, 1);
42763 static PyObject
*_wrap_GridBagSizer_GetItemSpan__SWIG_1(PyObject
*, PyObject
*args
) {
42764 PyObject
*resultobj
;
42765 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
42766 wxSizer
*arg2
= (wxSizer
*) 0 ;
42768 PyObject
* obj0
= 0 ;
42769 PyObject
* obj1
= 0 ;
42771 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_GetItemSpan",&obj0
,&obj1
)) goto fail
;
42772 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
42773 if (SWIG_arg_fail(1)) SWIG_fail
;
42774 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
42775 if (SWIG_arg_fail(2)) SWIG_fail
;
42777 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42778 result
= (arg1
)->GetItemSpan(arg2
);
42780 wxPyEndAllowThreads(__tstate
);
42781 if (PyErr_Occurred()) SWIG_fail
;
42784 wxGBSpan
* resultptr
;
42785 resultptr
= new wxGBSpan((wxGBSpan
&)(result
));
42786 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBSpan
, 1);
42794 static PyObject
*_wrap_GridBagSizer_GetItemSpan__SWIG_2(PyObject
*, PyObject
*args
) {
42795 PyObject
*resultobj
;
42796 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
42799 PyObject
* obj0
= 0 ;
42800 PyObject
* obj1
= 0 ;
42802 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_GetItemSpan",&obj0
,&obj1
)) goto fail
;
42803 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
42804 if (SWIG_arg_fail(1)) SWIG_fail
;
42806 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
42807 if (SWIG_arg_fail(2)) SWIG_fail
;
42810 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42811 result
= (arg1
)->GetItemSpan(arg2
);
42813 wxPyEndAllowThreads(__tstate
);
42814 if (PyErr_Occurred()) SWIG_fail
;
42817 wxGBSpan
* resultptr
;
42818 resultptr
= new wxGBSpan((wxGBSpan
&)(result
));
42819 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBSpan
, 1);
42827 static PyObject
*_wrap_GridBagSizer_GetItemSpan(PyObject
*self
, PyObject
*args
) {
42832 argc
= PyObject_Length(args
);
42833 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
42834 argv
[ii
] = PyTuple_GetItem(args
,ii
);
42840 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
42850 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
42858 return _wrap_GridBagSizer_GetItemSpan__SWIG_0(self
,args
);
42866 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
42876 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxSizer
, 0) == -1) {
42884 return _wrap_GridBagSizer_GetItemSpan__SWIG_1(self
,args
);
42892 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
42900 _v
= SWIG_Check_unsigned_SS_long(argv
[1]);
42902 return _wrap_GridBagSizer_GetItemSpan__SWIG_2(self
,args
);
42907 PyErr_SetString(PyExc_NotImplementedError
,"No matching function for overloaded 'GridBagSizer_GetItemSpan'");
42912 static PyObject
*_wrap_GridBagSizer_SetItemSpan__SWIG_0(PyObject
*, PyObject
*args
) {
42913 PyObject
*resultobj
;
42914 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
42915 wxWindow
*arg2
= (wxWindow
*) 0 ;
42916 wxGBSpan
*arg3
= 0 ;
42919 PyObject
* obj0
= 0 ;
42920 PyObject
* obj1
= 0 ;
42921 PyObject
* obj2
= 0 ;
42923 if(!PyArg_ParseTuple(args
,(char *)"OOO:GridBagSizer_SetItemSpan",&obj0
,&obj1
,&obj2
)) goto fail
;
42924 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
42925 if (SWIG_arg_fail(1)) SWIG_fail
;
42926 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
42927 if (SWIG_arg_fail(2)) SWIG_fail
;
42930 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
42933 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42934 result
= (bool)(arg1
)->SetItemSpan(arg2
,(wxGBSpan
const &)*arg3
);
42936 wxPyEndAllowThreads(__tstate
);
42937 if (PyErr_Occurred()) SWIG_fail
;
42940 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
42948 static PyObject
*_wrap_GridBagSizer_SetItemSpan__SWIG_1(PyObject
*, PyObject
*args
) {
42949 PyObject
*resultobj
;
42950 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
42951 wxSizer
*arg2
= (wxSizer
*) 0 ;
42952 wxGBSpan
*arg3
= 0 ;
42955 PyObject
* obj0
= 0 ;
42956 PyObject
* obj1
= 0 ;
42957 PyObject
* obj2
= 0 ;
42959 if(!PyArg_ParseTuple(args
,(char *)"OOO:GridBagSizer_SetItemSpan",&obj0
,&obj1
,&obj2
)) goto fail
;
42960 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
42961 if (SWIG_arg_fail(1)) SWIG_fail
;
42962 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
42963 if (SWIG_arg_fail(2)) SWIG_fail
;
42966 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
42969 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42970 result
= (bool)(arg1
)->SetItemSpan(arg2
,(wxGBSpan
const &)*arg3
);
42972 wxPyEndAllowThreads(__tstate
);
42973 if (PyErr_Occurred()) SWIG_fail
;
42976 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
42984 static PyObject
*_wrap_GridBagSizer_SetItemSpan__SWIG_2(PyObject
*, PyObject
*args
) {
42985 PyObject
*resultobj
;
42986 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
42988 wxGBSpan
*arg3
= 0 ;
42991 PyObject
* obj0
= 0 ;
42992 PyObject
* obj1
= 0 ;
42993 PyObject
* obj2
= 0 ;
42995 if(!PyArg_ParseTuple(args
,(char *)"OOO:GridBagSizer_SetItemSpan",&obj0
,&obj1
,&obj2
)) goto fail
;
42996 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
42997 if (SWIG_arg_fail(1)) SWIG_fail
;
42999 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
43000 if (SWIG_arg_fail(2)) SWIG_fail
;
43004 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
43007 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43008 result
= (bool)(arg1
)->SetItemSpan(arg2
,(wxGBSpan
const &)*arg3
);
43010 wxPyEndAllowThreads(__tstate
);
43011 if (PyErr_Occurred()) SWIG_fail
;
43014 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
43022 static PyObject
*_wrap_GridBagSizer_SetItemSpan(PyObject
*self
, PyObject
*args
) {
43027 argc
= PyObject_Length(args
);
43028 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
43029 argv
[ii
] = PyTuple_GetItem(args
,ii
);
43035 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
43045 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
43054 _v
= wxPySimple_typecheck(argv
[2], wxT("wxGBSpan"), 2);
43057 return _wrap_GridBagSizer_SetItemSpan__SWIG_0(self
,args
);
43066 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
43076 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxSizer
, 0) == -1) {
43085 _v
= wxPySimple_typecheck(argv
[2], wxT("wxGBSpan"), 2);
43088 return _wrap_GridBagSizer_SetItemSpan__SWIG_1(self
,args
);
43097 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
43105 _v
= SWIG_Check_unsigned_SS_long(argv
[1]);
43108 _v
= wxPySimple_typecheck(argv
[2], wxT("wxGBSpan"), 2);
43111 return _wrap_GridBagSizer_SetItemSpan__SWIG_2(self
,args
);
43117 PyErr_SetString(PyExc_NotImplementedError
,"No matching function for overloaded 'GridBagSizer_SetItemSpan'");
43122 static PyObject
*_wrap_GridBagSizer_FindItem__SWIG_0(PyObject
*, PyObject
*args
) {
43123 PyObject
*resultobj
;
43124 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
43125 wxWindow
*arg2
= (wxWindow
*) 0 ;
43126 wxGBSizerItem
*result
;
43127 PyObject
* obj0
= 0 ;
43128 PyObject
* obj1
= 0 ;
43130 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_FindItem",&obj0
,&obj1
)) goto fail
;
43131 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
43132 if (SWIG_arg_fail(1)) SWIG_fail
;
43133 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
43134 if (SWIG_arg_fail(2)) SWIG_fail
;
43136 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43137 result
= (wxGBSizerItem
*)(arg1
)->FindItem(arg2
);
43139 wxPyEndAllowThreads(__tstate
);
43140 if (PyErr_Occurred()) SWIG_fail
;
43142 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 0);
43149 static PyObject
*_wrap_GridBagSizer_FindItem__SWIG_1(PyObject
*, PyObject
*args
) {
43150 PyObject
*resultobj
;
43151 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
43152 wxSizer
*arg2
= (wxSizer
*) 0 ;
43153 wxGBSizerItem
*result
;
43154 PyObject
* obj0
= 0 ;
43155 PyObject
* obj1
= 0 ;
43157 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_FindItem",&obj0
,&obj1
)) goto fail
;
43158 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
43159 if (SWIG_arg_fail(1)) SWIG_fail
;
43160 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
43161 if (SWIG_arg_fail(2)) SWIG_fail
;
43163 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43164 result
= (wxGBSizerItem
*)(arg1
)->FindItem(arg2
);
43166 wxPyEndAllowThreads(__tstate
);
43167 if (PyErr_Occurred()) SWIG_fail
;
43169 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 0);
43176 static PyObject
*_wrap_GridBagSizer_FindItem(PyObject
*self
, PyObject
*args
) {
43181 argc
= PyObject_Length(args
);
43182 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
43183 argv
[ii
] = PyTuple_GetItem(args
,ii
);
43189 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
43199 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
43207 return _wrap_GridBagSizer_FindItem__SWIG_0(self
,args
);
43215 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
43225 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxSizer
, 0) == -1) {
43233 return _wrap_GridBagSizer_FindItem__SWIG_1(self
,args
);
43238 PyErr_SetString(PyExc_NotImplementedError
,"No matching function for overloaded 'GridBagSizer_FindItem'");
43243 static PyObject
*_wrap_GridBagSizer_FindItemAtPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
43244 PyObject
*resultobj
;
43245 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
43246 wxGBPosition
*arg2
= 0 ;
43247 wxGBSizerItem
*result
;
43248 wxGBPosition temp2
;
43249 PyObject
* obj0
= 0 ;
43250 PyObject
* obj1
= 0 ;
43251 char *kwnames
[] = {
43252 (char *) "self",(char *) "pos", NULL
43255 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridBagSizer_FindItemAtPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
43256 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
43257 if (SWIG_arg_fail(1)) SWIG_fail
;
43260 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
43263 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43264 result
= (wxGBSizerItem
*)(arg1
)->FindItemAtPosition((wxGBPosition
const &)*arg2
);
43266 wxPyEndAllowThreads(__tstate
);
43267 if (PyErr_Occurred()) SWIG_fail
;
43269 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 0);
43276 static PyObject
*_wrap_GridBagSizer_FindItemAtPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
43277 PyObject
*resultobj
;
43278 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
43279 wxPoint
*arg2
= 0 ;
43280 wxGBSizerItem
*result
;
43282 PyObject
* obj0
= 0 ;
43283 PyObject
* obj1
= 0 ;
43284 char *kwnames
[] = {
43285 (char *) "self",(char *) "pt", NULL
43288 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridBagSizer_FindItemAtPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
43289 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
43290 if (SWIG_arg_fail(1)) SWIG_fail
;
43293 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
43296 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43297 result
= (wxGBSizerItem
*)(arg1
)->FindItemAtPoint((wxPoint
const &)*arg2
);
43299 wxPyEndAllowThreads(__tstate
);
43300 if (PyErr_Occurred()) SWIG_fail
;
43302 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 0);
43309 static PyObject
*_wrap_GridBagSizer_CheckForIntersection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
43310 PyObject
*resultobj
;
43311 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
43312 wxGBSizerItem
*arg2
= (wxGBSizerItem
*) 0 ;
43313 wxGBSizerItem
*arg3
= (wxGBSizerItem
*) NULL
;
43315 PyObject
* obj0
= 0 ;
43316 PyObject
* obj1
= 0 ;
43317 PyObject
* obj2
= 0 ;
43318 char *kwnames
[] = {
43319 (char *) "self",(char *) "item",(char *) "excludeItem", NULL
43322 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:GridBagSizer_CheckForIntersection",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
43323 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
43324 if (SWIG_arg_fail(1)) SWIG_fail
;
43325 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxGBSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
43326 if (SWIG_arg_fail(2)) SWIG_fail
;
43328 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxGBSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
43329 if (SWIG_arg_fail(3)) SWIG_fail
;
43332 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43333 result
= (bool)(arg1
)->CheckForIntersection(arg2
,arg3
);
43335 wxPyEndAllowThreads(__tstate
);
43336 if (PyErr_Occurred()) SWIG_fail
;
43339 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
43347 static PyObject
*_wrap_GridBagSizer_CheckForIntersectionPos(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
43348 PyObject
*resultobj
;
43349 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
43350 wxGBPosition
*arg2
= 0 ;
43351 wxGBSpan
*arg3
= 0 ;
43352 wxGBSizerItem
*arg4
= (wxGBSizerItem
*) NULL
;
43354 wxGBPosition temp2
;
43356 PyObject
* obj0
= 0 ;
43357 PyObject
* obj1
= 0 ;
43358 PyObject
* obj2
= 0 ;
43359 PyObject
* obj3
= 0 ;
43360 char *kwnames
[] = {
43361 (char *) "self",(char *) "pos",(char *) "span",(char *) "excludeItem", NULL
43364 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:GridBagSizer_CheckForIntersectionPos",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
43365 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
43366 if (SWIG_arg_fail(1)) SWIG_fail
;
43369 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
43373 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
43376 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxGBSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
43377 if (SWIG_arg_fail(4)) SWIG_fail
;
43380 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43381 result
= (bool)(arg1
)->CheckForIntersection((wxGBPosition
const &)*arg2
,(wxGBSpan
const &)*arg3
,arg4
);
43383 wxPyEndAllowThreads(__tstate
);
43384 if (PyErr_Occurred()) SWIG_fail
;
43387 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
43395 static PyObject
* GridBagSizer_swigregister(PyObject
*, PyObject
*args
) {
43397 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
43398 SWIG_TypeClientData(SWIGTYPE_p_wxGridBagSizer
, obj
);
43400 return Py_BuildValue((char *)"");
43402 static PyObject
*_wrap_IndividualLayoutConstraint_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
43403 PyObject
*resultobj
;
43404 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
43405 wxRelationship arg2
;
43406 wxWindow
*arg3
= (wxWindow
*) 0 ;
43408 int arg5
= (int) 0 ;
43409 int arg6
= (int) wxLAYOUT_DEFAULT_MARGIN
;
43410 PyObject
* obj0
= 0 ;
43411 PyObject
* obj1
= 0 ;
43412 PyObject
* obj2
= 0 ;
43413 PyObject
* obj3
= 0 ;
43414 PyObject
* obj4
= 0 ;
43415 PyObject
* obj5
= 0 ;
43416 char *kwnames
[] = {
43417 (char *) "self",(char *) "rel",(char *) "otherW",(char *) "otherE",(char *) "val",(char *) "marg", NULL
43420 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:IndividualLayoutConstraint_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
43421 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
43422 if (SWIG_arg_fail(1)) SWIG_fail
;
43424 arg2
= (wxRelationship
)(SWIG_As_int(obj1
));
43425 if (SWIG_arg_fail(2)) SWIG_fail
;
43427 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
43428 if (SWIG_arg_fail(3)) SWIG_fail
;
43430 arg4
= (wxEdge
)(SWIG_As_int(obj3
));
43431 if (SWIG_arg_fail(4)) SWIG_fail
;
43435 arg5
= (int)(SWIG_As_int(obj4
));
43436 if (SWIG_arg_fail(5)) SWIG_fail
;
43441 arg6
= (int)(SWIG_As_int(obj5
));
43442 if (SWIG_arg_fail(6)) SWIG_fail
;
43446 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43447 (arg1
)->Set((wxRelationship
)arg2
,arg3
,(wxEdge
)arg4
,arg5
,arg6
);
43449 wxPyEndAllowThreads(__tstate
);
43450 if (PyErr_Occurred()) SWIG_fail
;
43452 Py_INCREF(Py_None
); resultobj
= Py_None
;
43459 static PyObject
*_wrap_IndividualLayoutConstraint_LeftOf(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
43460 PyObject
*resultobj
;
43461 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
43462 wxWindow
*arg2
= (wxWindow
*) 0 ;
43463 int arg3
= (int) 0 ;
43464 PyObject
* obj0
= 0 ;
43465 PyObject
* obj1
= 0 ;
43466 PyObject
* obj2
= 0 ;
43467 char *kwnames
[] = {
43468 (char *) "self",(char *) "sibling",(char *) "marg", NULL
43471 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:IndividualLayoutConstraint_LeftOf",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
43472 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
43473 if (SWIG_arg_fail(1)) SWIG_fail
;
43474 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
43475 if (SWIG_arg_fail(2)) SWIG_fail
;
43478 arg3
= (int)(SWIG_As_int(obj2
));
43479 if (SWIG_arg_fail(3)) SWIG_fail
;
43483 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43484 (arg1
)->LeftOf(arg2
,arg3
);
43486 wxPyEndAllowThreads(__tstate
);
43487 if (PyErr_Occurred()) SWIG_fail
;
43489 Py_INCREF(Py_None
); resultobj
= Py_None
;
43496 static PyObject
*_wrap_IndividualLayoutConstraint_RightOf(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
43497 PyObject
*resultobj
;
43498 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
43499 wxWindow
*arg2
= (wxWindow
*) 0 ;
43500 int arg3
= (int) 0 ;
43501 PyObject
* obj0
= 0 ;
43502 PyObject
* obj1
= 0 ;
43503 PyObject
* obj2
= 0 ;
43504 char *kwnames
[] = {
43505 (char *) "self",(char *) "sibling",(char *) "marg", NULL
43508 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:IndividualLayoutConstraint_RightOf",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
43509 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
43510 if (SWIG_arg_fail(1)) SWIG_fail
;
43511 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
43512 if (SWIG_arg_fail(2)) SWIG_fail
;
43515 arg3
= (int)(SWIG_As_int(obj2
));
43516 if (SWIG_arg_fail(3)) SWIG_fail
;
43520 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43521 (arg1
)->RightOf(arg2
,arg3
);
43523 wxPyEndAllowThreads(__tstate
);
43524 if (PyErr_Occurred()) SWIG_fail
;
43526 Py_INCREF(Py_None
); resultobj
= Py_None
;
43533 static PyObject
*_wrap_IndividualLayoutConstraint_Above(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
43534 PyObject
*resultobj
;
43535 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
43536 wxWindow
*arg2
= (wxWindow
*) 0 ;
43537 int arg3
= (int) 0 ;
43538 PyObject
* obj0
= 0 ;
43539 PyObject
* obj1
= 0 ;
43540 PyObject
* obj2
= 0 ;
43541 char *kwnames
[] = {
43542 (char *) "self",(char *) "sibling",(char *) "marg", NULL
43545 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:IndividualLayoutConstraint_Above",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
43546 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
43547 if (SWIG_arg_fail(1)) SWIG_fail
;
43548 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
43549 if (SWIG_arg_fail(2)) SWIG_fail
;
43552 arg3
= (int)(SWIG_As_int(obj2
));
43553 if (SWIG_arg_fail(3)) SWIG_fail
;
43557 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43558 (arg1
)->Above(arg2
,arg3
);
43560 wxPyEndAllowThreads(__tstate
);
43561 if (PyErr_Occurred()) SWIG_fail
;
43563 Py_INCREF(Py_None
); resultobj
= Py_None
;
43570 static PyObject
*_wrap_IndividualLayoutConstraint_Below(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
43571 PyObject
*resultobj
;
43572 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
43573 wxWindow
*arg2
= (wxWindow
*) 0 ;
43574 int arg3
= (int) 0 ;
43575 PyObject
* obj0
= 0 ;
43576 PyObject
* obj1
= 0 ;
43577 PyObject
* obj2
= 0 ;
43578 char *kwnames
[] = {
43579 (char *) "self",(char *) "sibling",(char *) "marg", NULL
43582 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:IndividualLayoutConstraint_Below",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
43583 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
43584 if (SWIG_arg_fail(1)) SWIG_fail
;
43585 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
43586 if (SWIG_arg_fail(2)) SWIG_fail
;
43589 arg3
= (int)(SWIG_As_int(obj2
));
43590 if (SWIG_arg_fail(3)) SWIG_fail
;
43594 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43595 (arg1
)->Below(arg2
,arg3
);
43597 wxPyEndAllowThreads(__tstate
);
43598 if (PyErr_Occurred()) SWIG_fail
;
43600 Py_INCREF(Py_None
); resultobj
= Py_None
;
43607 static PyObject
*_wrap_IndividualLayoutConstraint_SameAs(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
43608 PyObject
*resultobj
;
43609 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
43610 wxWindow
*arg2
= (wxWindow
*) 0 ;
43612 int arg4
= (int) 0 ;
43613 PyObject
* obj0
= 0 ;
43614 PyObject
* obj1
= 0 ;
43615 PyObject
* obj2
= 0 ;
43616 PyObject
* obj3
= 0 ;
43617 char *kwnames
[] = {
43618 (char *) "self",(char *) "otherW",(char *) "edge",(char *) "marg", NULL
43621 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:IndividualLayoutConstraint_SameAs",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
43622 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
43623 if (SWIG_arg_fail(1)) SWIG_fail
;
43624 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
43625 if (SWIG_arg_fail(2)) SWIG_fail
;
43627 arg3
= (wxEdge
)(SWIG_As_int(obj2
));
43628 if (SWIG_arg_fail(3)) SWIG_fail
;
43632 arg4
= (int)(SWIG_As_int(obj3
));
43633 if (SWIG_arg_fail(4)) SWIG_fail
;
43637 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43638 (arg1
)->SameAs(arg2
,(wxEdge
)arg3
,arg4
);
43640 wxPyEndAllowThreads(__tstate
);
43641 if (PyErr_Occurred()) SWIG_fail
;
43643 Py_INCREF(Py_None
); resultobj
= Py_None
;
43650 static PyObject
*_wrap_IndividualLayoutConstraint_PercentOf(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
43651 PyObject
*resultobj
;
43652 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
43653 wxWindow
*arg2
= (wxWindow
*) 0 ;
43656 PyObject
* obj0
= 0 ;
43657 PyObject
* obj1
= 0 ;
43658 PyObject
* obj2
= 0 ;
43659 PyObject
* obj3
= 0 ;
43660 char *kwnames
[] = {
43661 (char *) "self",(char *) "otherW",(char *) "wh",(char *) "per", NULL
43664 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:IndividualLayoutConstraint_PercentOf",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
43665 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
43666 if (SWIG_arg_fail(1)) SWIG_fail
;
43667 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
43668 if (SWIG_arg_fail(2)) SWIG_fail
;
43670 arg3
= (wxEdge
)(SWIG_As_int(obj2
));
43671 if (SWIG_arg_fail(3)) SWIG_fail
;
43674 arg4
= (int)(SWIG_As_int(obj3
));
43675 if (SWIG_arg_fail(4)) SWIG_fail
;
43678 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43679 (arg1
)->PercentOf(arg2
,(wxEdge
)arg3
,arg4
);
43681 wxPyEndAllowThreads(__tstate
);
43682 if (PyErr_Occurred()) SWIG_fail
;
43684 Py_INCREF(Py_None
); resultobj
= Py_None
;
43691 static PyObject
*_wrap_IndividualLayoutConstraint_Absolute(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
43692 PyObject
*resultobj
;
43693 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
43695 PyObject
* obj0
= 0 ;
43696 PyObject
* obj1
= 0 ;
43697 char *kwnames
[] = {
43698 (char *) "self",(char *) "val", NULL
43701 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_Absolute",kwnames
,&obj0
,&obj1
)) goto fail
;
43702 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
43703 if (SWIG_arg_fail(1)) SWIG_fail
;
43705 arg2
= (int)(SWIG_As_int(obj1
));
43706 if (SWIG_arg_fail(2)) SWIG_fail
;
43709 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43710 (arg1
)->Absolute(arg2
);
43712 wxPyEndAllowThreads(__tstate
);
43713 if (PyErr_Occurred()) SWIG_fail
;
43715 Py_INCREF(Py_None
); resultobj
= Py_None
;
43722 static PyObject
*_wrap_IndividualLayoutConstraint_Unconstrained(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
43723 PyObject
*resultobj
;
43724 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
43725 PyObject
* obj0
= 0 ;
43726 char *kwnames
[] = {
43727 (char *) "self", NULL
43730 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_Unconstrained",kwnames
,&obj0
)) goto fail
;
43731 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
43732 if (SWIG_arg_fail(1)) SWIG_fail
;
43734 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43735 (arg1
)->Unconstrained();
43737 wxPyEndAllowThreads(__tstate
);
43738 if (PyErr_Occurred()) SWIG_fail
;
43740 Py_INCREF(Py_None
); resultobj
= Py_None
;
43747 static PyObject
*_wrap_IndividualLayoutConstraint_AsIs(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
43748 PyObject
*resultobj
;
43749 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
43750 PyObject
* obj0
= 0 ;
43751 char *kwnames
[] = {
43752 (char *) "self", NULL
43755 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_AsIs",kwnames
,&obj0
)) goto fail
;
43756 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
43757 if (SWIG_arg_fail(1)) SWIG_fail
;
43759 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43762 wxPyEndAllowThreads(__tstate
);
43763 if (PyErr_Occurred()) SWIG_fail
;
43765 Py_INCREF(Py_None
); resultobj
= Py_None
;
43772 static PyObject
*_wrap_IndividualLayoutConstraint_GetOtherWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
43773 PyObject
*resultobj
;
43774 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
43776 PyObject
* obj0
= 0 ;
43777 char *kwnames
[] = {
43778 (char *) "self", NULL
43781 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetOtherWindow",kwnames
,&obj0
)) goto fail
;
43782 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
43783 if (SWIG_arg_fail(1)) SWIG_fail
;
43785 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43786 result
= (wxWindow
*)(arg1
)->GetOtherWindow();
43788 wxPyEndAllowThreads(__tstate
);
43789 if (PyErr_Occurred()) SWIG_fail
;
43792 resultobj
= wxPyMake_wxObject(result
, 0);
43800 static PyObject
*_wrap_IndividualLayoutConstraint_GetMyEdge(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
43801 PyObject
*resultobj
;
43802 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
43804 PyObject
* obj0
= 0 ;
43805 char *kwnames
[] = {
43806 (char *) "self", NULL
43809 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetMyEdge",kwnames
,&obj0
)) goto fail
;
43810 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
43811 if (SWIG_arg_fail(1)) SWIG_fail
;
43813 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43814 result
= (wxEdge
)((wxIndividualLayoutConstraint
const *)arg1
)->GetMyEdge();
43816 wxPyEndAllowThreads(__tstate
);
43817 if (PyErr_Occurred()) SWIG_fail
;
43819 resultobj
= SWIG_From_int((result
));
43826 static PyObject
*_wrap_IndividualLayoutConstraint_SetEdge(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
43827 PyObject
*resultobj
;
43828 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
43830 PyObject
* obj0
= 0 ;
43831 PyObject
* obj1
= 0 ;
43832 char *kwnames
[] = {
43833 (char *) "self",(char *) "which", NULL
43836 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_SetEdge",kwnames
,&obj0
,&obj1
)) goto fail
;
43837 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
43838 if (SWIG_arg_fail(1)) SWIG_fail
;
43840 arg2
= (wxEdge
)(SWIG_As_int(obj1
));
43841 if (SWIG_arg_fail(2)) SWIG_fail
;
43844 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43845 (arg1
)->SetEdge((wxEdge
)arg2
);
43847 wxPyEndAllowThreads(__tstate
);
43848 if (PyErr_Occurred()) SWIG_fail
;
43850 Py_INCREF(Py_None
); resultobj
= Py_None
;
43857 static PyObject
*_wrap_IndividualLayoutConstraint_SetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
43858 PyObject
*resultobj
;
43859 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
43861 PyObject
* obj0
= 0 ;
43862 PyObject
* obj1
= 0 ;
43863 char *kwnames
[] = {
43864 (char *) "self",(char *) "v", NULL
43867 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
43868 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
43869 if (SWIG_arg_fail(1)) SWIG_fail
;
43871 arg2
= (int)(SWIG_As_int(obj1
));
43872 if (SWIG_arg_fail(2)) SWIG_fail
;
43875 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43876 (arg1
)->SetValue(arg2
);
43878 wxPyEndAllowThreads(__tstate
);
43879 if (PyErr_Occurred()) SWIG_fail
;
43881 Py_INCREF(Py_None
); resultobj
= Py_None
;
43888 static PyObject
*_wrap_IndividualLayoutConstraint_GetMargin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
43889 PyObject
*resultobj
;
43890 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
43892 PyObject
* obj0
= 0 ;
43893 char *kwnames
[] = {
43894 (char *) "self", NULL
43897 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetMargin",kwnames
,&obj0
)) goto fail
;
43898 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
43899 if (SWIG_arg_fail(1)) SWIG_fail
;
43901 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43902 result
= (int)(arg1
)->GetMargin();
43904 wxPyEndAllowThreads(__tstate
);
43905 if (PyErr_Occurred()) SWIG_fail
;
43908 resultobj
= SWIG_From_int((int)(result
));
43916 static PyObject
*_wrap_IndividualLayoutConstraint_SetMargin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
43917 PyObject
*resultobj
;
43918 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
43920 PyObject
* obj0
= 0 ;
43921 PyObject
* obj1
= 0 ;
43922 char *kwnames
[] = {
43923 (char *) "self",(char *) "m", NULL
43926 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_SetMargin",kwnames
,&obj0
,&obj1
)) goto fail
;
43927 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
43928 if (SWIG_arg_fail(1)) SWIG_fail
;
43930 arg2
= (int)(SWIG_As_int(obj1
));
43931 if (SWIG_arg_fail(2)) SWIG_fail
;
43934 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43935 (arg1
)->SetMargin(arg2
);
43937 wxPyEndAllowThreads(__tstate
);
43938 if (PyErr_Occurred()) SWIG_fail
;
43940 Py_INCREF(Py_None
); resultobj
= Py_None
;
43947 static PyObject
*_wrap_IndividualLayoutConstraint_GetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
43948 PyObject
*resultobj
;
43949 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
43951 PyObject
* obj0
= 0 ;
43952 char *kwnames
[] = {
43953 (char *) "self", NULL
43956 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetValue",kwnames
,&obj0
)) goto fail
;
43957 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
43958 if (SWIG_arg_fail(1)) SWIG_fail
;
43960 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43961 result
= (int)((wxIndividualLayoutConstraint
const *)arg1
)->GetValue();
43963 wxPyEndAllowThreads(__tstate
);
43964 if (PyErr_Occurred()) SWIG_fail
;
43967 resultobj
= SWIG_From_int((int)(result
));
43975 static PyObject
*_wrap_IndividualLayoutConstraint_GetPercent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
43976 PyObject
*resultobj
;
43977 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
43979 PyObject
* obj0
= 0 ;
43980 char *kwnames
[] = {
43981 (char *) "self", NULL
43984 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetPercent",kwnames
,&obj0
)) goto fail
;
43985 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
43986 if (SWIG_arg_fail(1)) SWIG_fail
;
43988 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43989 result
= (int)((wxIndividualLayoutConstraint
const *)arg1
)->GetPercent();
43991 wxPyEndAllowThreads(__tstate
);
43992 if (PyErr_Occurred()) SWIG_fail
;
43995 resultobj
= SWIG_From_int((int)(result
));
44003 static PyObject
*_wrap_IndividualLayoutConstraint_GetOtherEdge(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44004 PyObject
*resultobj
;
44005 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
44007 PyObject
* obj0
= 0 ;
44008 char *kwnames
[] = {
44009 (char *) "self", NULL
44012 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetOtherEdge",kwnames
,&obj0
)) goto fail
;
44013 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
44014 if (SWIG_arg_fail(1)) SWIG_fail
;
44016 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44017 result
= (int)((wxIndividualLayoutConstraint
const *)arg1
)->GetOtherEdge();
44019 wxPyEndAllowThreads(__tstate
);
44020 if (PyErr_Occurred()) SWIG_fail
;
44023 resultobj
= SWIG_From_int((int)(result
));
44031 static PyObject
*_wrap_IndividualLayoutConstraint_GetDone(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44032 PyObject
*resultobj
;
44033 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
44035 PyObject
* obj0
= 0 ;
44036 char *kwnames
[] = {
44037 (char *) "self", NULL
44040 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetDone",kwnames
,&obj0
)) goto fail
;
44041 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
44042 if (SWIG_arg_fail(1)) SWIG_fail
;
44044 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44045 result
= (bool)((wxIndividualLayoutConstraint
const *)arg1
)->GetDone();
44047 wxPyEndAllowThreads(__tstate
);
44048 if (PyErr_Occurred()) SWIG_fail
;
44051 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
44059 static PyObject
*_wrap_IndividualLayoutConstraint_SetDone(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44060 PyObject
*resultobj
;
44061 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
44063 PyObject
* obj0
= 0 ;
44064 PyObject
* obj1
= 0 ;
44065 char *kwnames
[] = {
44066 (char *) "self",(char *) "d", NULL
44069 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_SetDone",kwnames
,&obj0
,&obj1
)) goto fail
;
44070 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
44071 if (SWIG_arg_fail(1)) SWIG_fail
;
44073 arg2
= (bool)(SWIG_As_bool(obj1
));
44074 if (SWIG_arg_fail(2)) SWIG_fail
;
44077 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44078 (arg1
)->SetDone(arg2
);
44080 wxPyEndAllowThreads(__tstate
);
44081 if (PyErr_Occurred()) SWIG_fail
;
44083 Py_INCREF(Py_None
); resultobj
= Py_None
;
44090 static PyObject
*_wrap_IndividualLayoutConstraint_GetRelationship(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44091 PyObject
*resultobj
;
44092 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
44093 wxRelationship result
;
44094 PyObject
* obj0
= 0 ;
44095 char *kwnames
[] = {
44096 (char *) "self", NULL
44099 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetRelationship",kwnames
,&obj0
)) goto fail
;
44100 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
44101 if (SWIG_arg_fail(1)) SWIG_fail
;
44103 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44104 result
= (wxRelationship
)(arg1
)->GetRelationship();
44106 wxPyEndAllowThreads(__tstate
);
44107 if (PyErr_Occurred()) SWIG_fail
;
44109 resultobj
= SWIG_From_int((result
));
44116 static PyObject
*_wrap_IndividualLayoutConstraint_SetRelationship(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44117 PyObject
*resultobj
;
44118 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
44119 wxRelationship arg2
;
44120 PyObject
* obj0
= 0 ;
44121 PyObject
* obj1
= 0 ;
44122 char *kwnames
[] = {
44123 (char *) "self",(char *) "r", NULL
44126 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_SetRelationship",kwnames
,&obj0
,&obj1
)) goto fail
;
44127 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
44128 if (SWIG_arg_fail(1)) SWIG_fail
;
44130 arg2
= (wxRelationship
)(SWIG_As_int(obj1
));
44131 if (SWIG_arg_fail(2)) SWIG_fail
;
44134 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44135 (arg1
)->SetRelationship((wxRelationship
)arg2
);
44137 wxPyEndAllowThreads(__tstate
);
44138 if (PyErr_Occurred()) SWIG_fail
;
44140 Py_INCREF(Py_None
); resultobj
= Py_None
;
44147 static PyObject
*_wrap_IndividualLayoutConstraint_ResetIfWin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44148 PyObject
*resultobj
;
44149 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
44150 wxWindow
*arg2
= (wxWindow
*) 0 ;
44152 PyObject
* obj0
= 0 ;
44153 PyObject
* obj1
= 0 ;
44154 char *kwnames
[] = {
44155 (char *) "self",(char *) "otherW", NULL
44158 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_ResetIfWin",kwnames
,&obj0
,&obj1
)) goto fail
;
44159 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
44160 if (SWIG_arg_fail(1)) SWIG_fail
;
44161 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
44162 if (SWIG_arg_fail(2)) SWIG_fail
;
44164 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44165 result
= (bool)(arg1
)->ResetIfWin(arg2
);
44167 wxPyEndAllowThreads(__tstate
);
44168 if (PyErr_Occurred()) SWIG_fail
;
44171 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
44179 static PyObject
*_wrap_IndividualLayoutConstraint_SatisfyConstraint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44180 PyObject
*resultobj
;
44181 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
44182 wxLayoutConstraints
*arg2
= (wxLayoutConstraints
*) 0 ;
44183 wxWindow
*arg3
= (wxWindow
*) 0 ;
44185 PyObject
* obj0
= 0 ;
44186 PyObject
* obj1
= 0 ;
44187 PyObject
* obj2
= 0 ;
44188 char *kwnames
[] = {
44189 (char *) "self",(char *) "constraints",(char *) "win", NULL
44192 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:IndividualLayoutConstraint_SatisfyConstraint",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
44193 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
44194 if (SWIG_arg_fail(1)) SWIG_fail
;
44195 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxLayoutConstraints
, SWIG_POINTER_EXCEPTION
| 0);
44196 if (SWIG_arg_fail(2)) SWIG_fail
;
44197 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
44198 if (SWIG_arg_fail(3)) SWIG_fail
;
44200 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44201 result
= (bool)(arg1
)->SatisfyConstraint(arg2
,arg3
);
44203 wxPyEndAllowThreads(__tstate
);
44204 if (PyErr_Occurred()) SWIG_fail
;
44207 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
44215 static PyObject
*_wrap_IndividualLayoutConstraint_GetEdge(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44216 PyObject
*resultobj
;
44217 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
44219 wxWindow
*arg3
= (wxWindow
*) 0 ;
44220 wxWindow
*arg4
= (wxWindow
*) 0 ;
44222 PyObject
* obj0
= 0 ;
44223 PyObject
* obj1
= 0 ;
44224 PyObject
* obj2
= 0 ;
44225 PyObject
* obj3
= 0 ;
44226 char *kwnames
[] = {
44227 (char *) "self",(char *) "which",(char *) "thisWin",(char *) "other", NULL
44230 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:IndividualLayoutConstraint_GetEdge",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
44231 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
44232 if (SWIG_arg_fail(1)) SWIG_fail
;
44234 arg2
= (wxEdge
)(SWIG_As_int(obj1
));
44235 if (SWIG_arg_fail(2)) SWIG_fail
;
44237 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
44238 if (SWIG_arg_fail(3)) SWIG_fail
;
44239 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
44240 if (SWIG_arg_fail(4)) SWIG_fail
;
44242 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44243 result
= (int)((wxIndividualLayoutConstraint
const *)arg1
)->GetEdge((wxEdge
)arg2
,arg3
,arg4
);
44245 wxPyEndAllowThreads(__tstate
);
44246 if (PyErr_Occurred()) SWIG_fail
;
44249 resultobj
= SWIG_From_int((int)(result
));
44257 static PyObject
* IndividualLayoutConstraint_swigregister(PyObject
*, PyObject
*args
) {
44259 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
44260 SWIG_TypeClientData(SWIGTYPE_p_wxIndividualLayoutConstraint
, obj
);
44262 return Py_BuildValue((char *)"");
44264 static PyObject
*_wrap_LayoutConstraints_left_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44265 PyObject
*resultobj
;
44266 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
44267 wxIndividualLayoutConstraint
*result
;
44268 PyObject
* obj0
= 0 ;
44269 char *kwnames
[] = {
44270 (char *) "self", NULL
44273 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_left_get",kwnames
,&obj0
)) goto fail
;
44274 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLayoutConstraints
, SWIG_POINTER_EXCEPTION
| 0);
44275 if (SWIG_arg_fail(1)) SWIG_fail
;
44276 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->left
);
44278 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
44285 static PyObject
*_wrap_LayoutConstraints_top_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44286 PyObject
*resultobj
;
44287 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
44288 wxIndividualLayoutConstraint
*result
;
44289 PyObject
* obj0
= 0 ;
44290 char *kwnames
[] = {
44291 (char *) "self", NULL
44294 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_top_get",kwnames
,&obj0
)) goto fail
;
44295 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLayoutConstraints
, SWIG_POINTER_EXCEPTION
| 0);
44296 if (SWIG_arg_fail(1)) SWIG_fail
;
44297 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->top
);
44299 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
44306 static PyObject
*_wrap_LayoutConstraints_right_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44307 PyObject
*resultobj
;
44308 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
44309 wxIndividualLayoutConstraint
*result
;
44310 PyObject
* obj0
= 0 ;
44311 char *kwnames
[] = {
44312 (char *) "self", NULL
44315 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_right_get",kwnames
,&obj0
)) goto fail
;
44316 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLayoutConstraints
, SWIG_POINTER_EXCEPTION
| 0);
44317 if (SWIG_arg_fail(1)) SWIG_fail
;
44318 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->right
);
44320 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
44327 static PyObject
*_wrap_LayoutConstraints_bottom_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44328 PyObject
*resultobj
;
44329 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
44330 wxIndividualLayoutConstraint
*result
;
44331 PyObject
* obj0
= 0 ;
44332 char *kwnames
[] = {
44333 (char *) "self", NULL
44336 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_bottom_get",kwnames
,&obj0
)) goto fail
;
44337 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLayoutConstraints
, SWIG_POINTER_EXCEPTION
| 0);
44338 if (SWIG_arg_fail(1)) SWIG_fail
;
44339 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->bottom
);
44341 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
44348 static PyObject
*_wrap_LayoutConstraints_width_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44349 PyObject
*resultobj
;
44350 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
44351 wxIndividualLayoutConstraint
*result
;
44352 PyObject
* obj0
= 0 ;
44353 char *kwnames
[] = {
44354 (char *) "self", NULL
44357 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_width_get",kwnames
,&obj0
)) goto fail
;
44358 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLayoutConstraints
, SWIG_POINTER_EXCEPTION
| 0);
44359 if (SWIG_arg_fail(1)) SWIG_fail
;
44360 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->width
);
44362 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
44369 static PyObject
*_wrap_LayoutConstraints_height_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44370 PyObject
*resultobj
;
44371 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
44372 wxIndividualLayoutConstraint
*result
;
44373 PyObject
* obj0
= 0 ;
44374 char *kwnames
[] = {
44375 (char *) "self", NULL
44378 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_height_get",kwnames
,&obj0
)) goto fail
;
44379 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLayoutConstraints
, SWIG_POINTER_EXCEPTION
| 0);
44380 if (SWIG_arg_fail(1)) SWIG_fail
;
44381 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->height
);
44383 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
44390 static PyObject
*_wrap_LayoutConstraints_centreX_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44391 PyObject
*resultobj
;
44392 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
44393 wxIndividualLayoutConstraint
*result
;
44394 PyObject
* obj0
= 0 ;
44395 char *kwnames
[] = {
44396 (char *) "self", NULL
44399 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_centreX_get",kwnames
,&obj0
)) goto fail
;
44400 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLayoutConstraints
, SWIG_POINTER_EXCEPTION
| 0);
44401 if (SWIG_arg_fail(1)) SWIG_fail
;
44402 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->centreX
);
44404 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
44411 static PyObject
*_wrap_LayoutConstraints_centreY_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44412 PyObject
*resultobj
;
44413 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
44414 wxIndividualLayoutConstraint
*result
;
44415 PyObject
* obj0
= 0 ;
44416 char *kwnames
[] = {
44417 (char *) "self", NULL
44420 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_centreY_get",kwnames
,&obj0
)) goto fail
;
44421 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLayoutConstraints
, SWIG_POINTER_EXCEPTION
| 0);
44422 if (SWIG_arg_fail(1)) SWIG_fail
;
44423 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->centreY
);
44425 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
44432 static PyObject
*_wrap_new_LayoutConstraints(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44433 PyObject
*resultobj
;
44434 wxLayoutConstraints
*result
;
44435 char *kwnames
[] = {
44439 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_LayoutConstraints",kwnames
)) goto fail
;
44441 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44442 result
= (wxLayoutConstraints
*)new wxLayoutConstraints();
44444 wxPyEndAllowThreads(__tstate
);
44445 if (PyErr_Occurred()) SWIG_fail
;
44447 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLayoutConstraints
, 1);
44454 static PyObject
*_wrap_LayoutConstraints_SatisfyConstraints(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44455 PyObject
*resultobj
;
44456 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
44457 wxWindow
*arg2
= (wxWindow
*) 0 ;
44458 int *arg3
= (int *) 0 ;
44462 PyObject
* obj0
= 0 ;
44463 PyObject
* obj1
= 0 ;
44464 char *kwnames
[] = {
44465 (char *) "self",(char *) "win", NULL
44468 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
44469 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LayoutConstraints_SatisfyConstraints",kwnames
,&obj0
,&obj1
)) goto fail
;
44470 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLayoutConstraints
, SWIG_POINTER_EXCEPTION
| 0);
44471 if (SWIG_arg_fail(1)) SWIG_fail
;
44472 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
44473 if (SWIG_arg_fail(2)) SWIG_fail
;
44475 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44476 result
= (bool)(arg1
)->SatisfyConstraints(arg2
,arg3
);
44478 wxPyEndAllowThreads(__tstate
);
44479 if (PyErr_Occurred()) SWIG_fail
;
44482 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
44484 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
44485 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
44492 static PyObject
*_wrap_LayoutConstraints_AreSatisfied(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44493 PyObject
*resultobj
;
44494 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
44496 PyObject
* obj0
= 0 ;
44497 char *kwnames
[] = {
44498 (char *) "self", NULL
44501 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_AreSatisfied",kwnames
,&obj0
)) goto fail
;
44502 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLayoutConstraints
, SWIG_POINTER_EXCEPTION
| 0);
44503 if (SWIG_arg_fail(1)) SWIG_fail
;
44505 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44506 result
= (bool)((wxLayoutConstraints
const *)arg1
)->AreSatisfied();
44508 wxPyEndAllowThreads(__tstate
);
44509 if (PyErr_Occurred()) SWIG_fail
;
44512 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
44520 static PyObject
* LayoutConstraints_swigregister(PyObject
*, PyObject
*args
) {
44522 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
44523 SWIG_TypeClientData(SWIGTYPE_p_wxLayoutConstraints
, obj
);
44525 return Py_BuildValue((char *)"");
44527 static PyMethodDef SwigMethods
[] = {
44528 { (char *)"_wxPySetDictionary", __wxPySetDictionary
, METH_VARARGS
, NULL
},
44529 { (char *)"_wxPyFixStockObjects", __wxPyFixStockObjects
, METH_VARARGS
, NULL
},
44530 { (char *)"Object_GetClassName", (PyCFunction
) _wrap_Object_GetClassName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44531 { (char *)"Object_Destroy", (PyCFunction
) _wrap_Object_Destroy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44532 { (char *)"Object_swigregister", Object_swigregister
, METH_VARARGS
, NULL
},
44533 { (char *)"Size_width_set", (PyCFunction
) _wrap_Size_width_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44534 { (char *)"Size_width_get", (PyCFunction
) _wrap_Size_width_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44535 { (char *)"Size_height_set", (PyCFunction
) _wrap_Size_height_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44536 { (char *)"Size_height_get", (PyCFunction
) _wrap_Size_height_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44537 { (char *)"new_Size", (PyCFunction
) _wrap_new_Size
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44538 { (char *)"delete_Size", (PyCFunction
) _wrap_delete_Size
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44539 { (char *)"Size___eq__", (PyCFunction
) _wrap_Size___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44540 { (char *)"Size___ne__", (PyCFunction
) _wrap_Size___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44541 { (char *)"Size___add__", (PyCFunction
) _wrap_Size___add__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44542 { (char *)"Size___sub__", (PyCFunction
) _wrap_Size___sub__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44543 { (char *)"Size_IncTo", (PyCFunction
) _wrap_Size_IncTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44544 { (char *)"Size_DecTo", (PyCFunction
) _wrap_Size_DecTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44545 { (char *)"Size_Set", (PyCFunction
) _wrap_Size_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44546 { (char *)"Size_SetWidth", (PyCFunction
) _wrap_Size_SetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44547 { (char *)"Size_SetHeight", (PyCFunction
) _wrap_Size_SetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44548 { (char *)"Size_GetWidth", (PyCFunction
) _wrap_Size_GetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44549 { (char *)"Size_GetHeight", (PyCFunction
) _wrap_Size_GetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44550 { (char *)"Size_IsFullySpecified", (PyCFunction
) _wrap_Size_IsFullySpecified
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44551 { (char *)"Size_SetDefaults", (PyCFunction
) _wrap_Size_SetDefaults
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44552 { (char *)"Size_Get", (PyCFunction
) _wrap_Size_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44553 { (char *)"Size_swigregister", Size_swigregister
, METH_VARARGS
, NULL
},
44554 { (char *)"RealPoint_x_set", (PyCFunction
) _wrap_RealPoint_x_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44555 { (char *)"RealPoint_x_get", (PyCFunction
) _wrap_RealPoint_x_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44556 { (char *)"RealPoint_y_set", (PyCFunction
) _wrap_RealPoint_y_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44557 { (char *)"RealPoint_y_get", (PyCFunction
) _wrap_RealPoint_y_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44558 { (char *)"new_RealPoint", (PyCFunction
) _wrap_new_RealPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44559 { (char *)"delete_RealPoint", (PyCFunction
) _wrap_delete_RealPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44560 { (char *)"RealPoint___eq__", (PyCFunction
) _wrap_RealPoint___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44561 { (char *)"RealPoint___ne__", (PyCFunction
) _wrap_RealPoint___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44562 { (char *)"RealPoint___add__", (PyCFunction
) _wrap_RealPoint___add__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44563 { (char *)"RealPoint___sub__", (PyCFunction
) _wrap_RealPoint___sub__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44564 { (char *)"RealPoint_Set", (PyCFunction
) _wrap_RealPoint_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44565 { (char *)"RealPoint_Get", (PyCFunction
) _wrap_RealPoint_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44566 { (char *)"RealPoint_swigregister", RealPoint_swigregister
, METH_VARARGS
, NULL
},
44567 { (char *)"Point_x_set", (PyCFunction
) _wrap_Point_x_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44568 { (char *)"Point_x_get", (PyCFunction
) _wrap_Point_x_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44569 { (char *)"Point_y_set", (PyCFunction
) _wrap_Point_y_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44570 { (char *)"Point_y_get", (PyCFunction
) _wrap_Point_y_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44571 { (char *)"new_Point", (PyCFunction
) _wrap_new_Point
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44572 { (char *)"delete_Point", (PyCFunction
) _wrap_delete_Point
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44573 { (char *)"Point___eq__", (PyCFunction
) _wrap_Point___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44574 { (char *)"Point___ne__", (PyCFunction
) _wrap_Point___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44575 { (char *)"Point___add__", (PyCFunction
) _wrap_Point___add__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44576 { (char *)"Point___sub__", (PyCFunction
) _wrap_Point___sub__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44577 { (char *)"Point___iadd__", (PyCFunction
) _wrap_Point___iadd__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44578 { (char *)"Point___isub__", (PyCFunction
) _wrap_Point___isub__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44579 { (char *)"Point_Set", (PyCFunction
) _wrap_Point_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44580 { (char *)"Point_Get", (PyCFunction
) _wrap_Point_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44581 { (char *)"Point_swigregister", Point_swigregister
, METH_VARARGS
, NULL
},
44582 { (char *)"new_Rect", (PyCFunction
) _wrap_new_Rect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44583 { (char *)"new_RectPP", (PyCFunction
) _wrap_new_RectPP
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44584 { (char *)"new_RectPS", (PyCFunction
) _wrap_new_RectPS
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44585 { (char *)"new_RectS", (PyCFunction
) _wrap_new_RectS
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44586 { (char *)"delete_Rect", (PyCFunction
) _wrap_delete_Rect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44587 { (char *)"Rect_GetX", (PyCFunction
) _wrap_Rect_GetX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44588 { (char *)"Rect_SetX", (PyCFunction
) _wrap_Rect_SetX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44589 { (char *)"Rect_GetY", (PyCFunction
) _wrap_Rect_GetY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44590 { (char *)"Rect_SetY", (PyCFunction
) _wrap_Rect_SetY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44591 { (char *)"Rect_GetWidth", (PyCFunction
) _wrap_Rect_GetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44592 { (char *)"Rect_SetWidth", (PyCFunction
) _wrap_Rect_SetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44593 { (char *)"Rect_GetHeight", (PyCFunction
) _wrap_Rect_GetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44594 { (char *)"Rect_SetHeight", (PyCFunction
) _wrap_Rect_SetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44595 { (char *)"Rect_GetPosition", (PyCFunction
) _wrap_Rect_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44596 { (char *)"Rect_SetPosition", (PyCFunction
) _wrap_Rect_SetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44597 { (char *)"Rect_GetSize", (PyCFunction
) _wrap_Rect_GetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44598 { (char *)"Rect_SetSize", (PyCFunction
) _wrap_Rect_SetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44599 { (char *)"Rect_GetTopLeft", (PyCFunction
) _wrap_Rect_GetTopLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44600 { (char *)"Rect_SetTopLeft", (PyCFunction
) _wrap_Rect_SetTopLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44601 { (char *)"Rect_GetBottomRight", (PyCFunction
) _wrap_Rect_GetBottomRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44602 { (char *)"Rect_SetBottomRight", (PyCFunction
) _wrap_Rect_SetBottomRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44603 { (char *)"Rect_GetLeft", (PyCFunction
) _wrap_Rect_GetLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44604 { (char *)"Rect_GetTop", (PyCFunction
) _wrap_Rect_GetTop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44605 { (char *)"Rect_GetBottom", (PyCFunction
) _wrap_Rect_GetBottom
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44606 { (char *)"Rect_GetRight", (PyCFunction
) _wrap_Rect_GetRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44607 { (char *)"Rect_SetLeft", (PyCFunction
) _wrap_Rect_SetLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44608 { (char *)"Rect_SetRight", (PyCFunction
) _wrap_Rect_SetRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44609 { (char *)"Rect_SetTop", (PyCFunction
) _wrap_Rect_SetTop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44610 { (char *)"Rect_SetBottom", (PyCFunction
) _wrap_Rect_SetBottom
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44611 { (char *)"Rect_Inflate", (PyCFunction
) _wrap_Rect_Inflate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44612 { (char *)"Rect_Deflate", (PyCFunction
) _wrap_Rect_Deflate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44613 { (char *)"Rect_OffsetXY", (PyCFunction
) _wrap_Rect_OffsetXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44614 { (char *)"Rect_Offset", (PyCFunction
) _wrap_Rect_Offset
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44615 { (char *)"Rect_Intersect", (PyCFunction
) _wrap_Rect_Intersect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44616 { (char *)"Rect_Union", (PyCFunction
) _wrap_Rect_Union
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44617 { (char *)"Rect___add__", (PyCFunction
) _wrap_Rect___add__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44618 { (char *)"Rect___iadd__", (PyCFunction
) _wrap_Rect___iadd__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44619 { (char *)"Rect___eq__", (PyCFunction
) _wrap_Rect___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44620 { (char *)"Rect___ne__", (PyCFunction
) _wrap_Rect___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44621 { (char *)"Rect_InsideXY", (PyCFunction
) _wrap_Rect_InsideXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44622 { (char *)"Rect_Inside", (PyCFunction
) _wrap_Rect_Inside
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44623 { (char *)"Rect_Intersects", (PyCFunction
) _wrap_Rect_Intersects
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44624 { (char *)"Rect_x_set", (PyCFunction
) _wrap_Rect_x_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44625 { (char *)"Rect_x_get", (PyCFunction
) _wrap_Rect_x_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44626 { (char *)"Rect_y_set", (PyCFunction
) _wrap_Rect_y_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44627 { (char *)"Rect_y_get", (PyCFunction
) _wrap_Rect_y_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44628 { (char *)"Rect_width_set", (PyCFunction
) _wrap_Rect_width_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44629 { (char *)"Rect_width_get", (PyCFunction
) _wrap_Rect_width_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44630 { (char *)"Rect_height_set", (PyCFunction
) _wrap_Rect_height_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44631 { (char *)"Rect_height_get", (PyCFunction
) _wrap_Rect_height_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44632 { (char *)"Rect_Set", (PyCFunction
) _wrap_Rect_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44633 { (char *)"Rect_Get", (PyCFunction
) _wrap_Rect_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44634 { (char *)"Rect_swigregister", Rect_swigregister
, METH_VARARGS
, NULL
},
44635 { (char *)"IntersectRect", (PyCFunction
) _wrap_IntersectRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44636 { (char *)"new_Point2D", (PyCFunction
) _wrap_new_Point2D
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44637 { (char *)"new_Point2DCopy", (PyCFunction
) _wrap_new_Point2DCopy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44638 { (char *)"new_Point2DFromPoint", (PyCFunction
) _wrap_new_Point2DFromPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44639 { (char *)"Point2D_GetFloor", (PyCFunction
) _wrap_Point2D_GetFloor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44640 { (char *)"Point2D_GetRounded", (PyCFunction
) _wrap_Point2D_GetRounded
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44641 { (char *)"Point2D_GetVectorLength", (PyCFunction
) _wrap_Point2D_GetVectorLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44642 { (char *)"Point2D_GetVectorAngle", (PyCFunction
) _wrap_Point2D_GetVectorAngle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44643 { (char *)"Point2D_SetVectorLength", (PyCFunction
) _wrap_Point2D_SetVectorLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44644 { (char *)"Point2D_SetVectorAngle", (PyCFunction
) _wrap_Point2D_SetVectorAngle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44645 { (char *)"Point2D_GetDistance", (PyCFunction
) _wrap_Point2D_GetDistance
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44646 { (char *)"Point2D_GetDistanceSquare", (PyCFunction
) _wrap_Point2D_GetDistanceSquare
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44647 { (char *)"Point2D_GetDotProduct", (PyCFunction
) _wrap_Point2D_GetDotProduct
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44648 { (char *)"Point2D_GetCrossProduct", (PyCFunction
) _wrap_Point2D_GetCrossProduct
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44649 { (char *)"Point2D___neg__", (PyCFunction
) _wrap_Point2D___neg__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44650 { (char *)"Point2D___iadd__", (PyCFunction
) _wrap_Point2D___iadd__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44651 { (char *)"Point2D___isub__", (PyCFunction
) _wrap_Point2D___isub__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44652 { (char *)"Point2D___imul__", (PyCFunction
) _wrap_Point2D___imul__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44653 { (char *)"Point2D___idiv__", (PyCFunction
) _wrap_Point2D___idiv__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44654 { (char *)"Point2D___eq__", (PyCFunction
) _wrap_Point2D___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44655 { (char *)"Point2D___ne__", (PyCFunction
) _wrap_Point2D___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44656 { (char *)"Point2D_x_set", (PyCFunction
) _wrap_Point2D_x_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44657 { (char *)"Point2D_x_get", (PyCFunction
) _wrap_Point2D_x_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44658 { (char *)"Point2D_y_set", (PyCFunction
) _wrap_Point2D_y_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44659 { (char *)"Point2D_y_get", (PyCFunction
) _wrap_Point2D_y_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44660 { (char *)"Point2D_Set", (PyCFunction
) _wrap_Point2D_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44661 { (char *)"Point2D_Get", (PyCFunction
) _wrap_Point2D_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44662 { (char *)"Point2D_swigregister", Point2D_swigregister
, METH_VARARGS
, NULL
},
44663 { (char *)"new_InputStream", (PyCFunction
) _wrap_new_InputStream
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44664 { (char *)"delete_InputStream", (PyCFunction
) _wrap_delete_InputStream
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44665 { (char *)"InputStream_close", (PyCFunction
) _wrap_InputStream_close
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44666 { (char *)"InputStream_flush", (PyCFunction
) _wrap_InputStream_flush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44667 { (char *)"InputStream_eof", (PyCFunction
) _wrap_InputStream_eof
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44668 { (char *)"InputStream_read", (PyCFunction
) _wrap_InputStream_read
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44669 { (char *)"InputStream_readline", (PyCFunction
) _wrap_InputStream_readline
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44670 { (char *)"InputStream_readlines", (PyCFunction
) _wrap_InputStream_readlines
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44671 { (char *)"InputStream_seek", (PyCFunction
) _wrap_InputStream_seek
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44672 { (char *)"InputStream_tell", (PyCFunction
) _wrap_InputStream_tell
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44673 { (char *)"InputStream_Peek", (PyCFunction
) _wrap_InputStream_Peek
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44674 { (char *)"InputStream_GetC", (PyCFunction
) _wrap_InputStream_GetC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44675 { (char *)"InputStream_LastRead", (PyCFunction
) _wrap_InputStream_LastRead
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44676 { (char *)"InputStream_CanRead", (PyCFunction
) _wrap_InputStream_CanRead
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44677 { (char *)"InputStream_Eof", (PyCFunction
) _wrap_InputStream_Eof
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44678 { (char *)"InputStream_Ungetch", (PyCFunction
) _wrap_InputStream_Ungetch
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44679 { (char *)"InputStream_SeekI", (PyCFunction
) _wrap_InputStream_SeekI
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44680 { (char *)"InputStream_TellI", (PyCFunction
) _wrap_InputStream_TellI
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44681 { (char *)"InputStream_swigregister", InputStream_swigregister
, METH_VARARGS
, NULL
},
44682 { (char *)"OutputStream_write", (PyCFunction
) _wrap_OutputStream_write
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44683 { (char *)"OutputStream_swigregister", OutputStream_swigregister
, METH_VARARGS
, NULL
},
44684 { (char *)"new_FSFile", (PyCFunction
) _wrap_new_FSFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44685 { (char *)"delete_FSFile", (PyCFunction
) _wrap_delete_FSFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44686 { (char *)"FSFile_GetStream", (PyCFunction
) _wrap_FSFile_GetStream
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44687 { (char *)"FSFile_GetMimeType", (PyCFunction
) _wrap_FSFile_GetMimeType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44688 { (char *)"FSFile_GetLocation", (PyCFunction
) _wrap_FSFile_GetLocation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44689 { (char *)"FSFile_GetAnchor", (PyCFunction
) _wrap_FSFile_GetAnchor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44690 { (char *)"FSFile_GetModificationTime", (PyCFunction
) _wrap_FSFile_GetModificationTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44691 { (char *)"FSFile_swigregister", FSFile_swigregister
, METH_VARARGS
, NULL
},
44692 { (char *)"CPPFileSystemHandler_swigregister", CPPFileSystemHandler_swigregister
, METH_VARARGS
, NULL
},
44693 { (char *)"new_FileSystemHandler", (PyCFunction
) _wrap_new_FileSystemHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44694 { (char *)"FileSystemHandler__setCallbackInfo", (PyCFunction
) _wrap_FileSystemHandler__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44695 { (char *)"FileSystemHandler_CanOpen", (PyCFunction
) _wrap_FileSystemHandler_CanOpen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44696 { (char *)"FileSystemHandler_OpenFile", (PyCFunction
) _wrap_FileSystemHandler_OpenFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44697 { (char *)"FileSystemHandler_FindFirst", (PyCFunction
) _wrap_FileSystemHandler_FindFirst
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44698 { (char *)"FileSystemHandler_FindNext", (PyCFunction
) _wrap_FileSystemHandler_FindNext
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44699 { (char *)"FileSystemHandler_GetProtocol", (PyCFunction
) _wrap_FileSystemHandler_GetProtocol
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44700 { (char *)"FileSystemHandler_GetLeftLocation", (PyCFunction
) _wrap_FileSystemHandler_GetLeftLocation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44701 { (char *)"FileSystemHandler_GetAnchor", (PyCFunction
) _wrap_FileSystemHandler_GetAnchor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44702 { (char *)"FileSystemHandler_GetRightLocation", (PyCFunction
) _wrap_FileSystemHandler_GetRightLocation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44703 { (char *)"FileSystemHandler_GetMimeTypeFromExt", (PyCFunction
) _wrap_FileSystemHandler_GetMimeTypeFromExt
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44704 { (char *)"FileSystemHandler_swigregister", FileSystemHandler_swigregister
, METH_VARARGS
, NULL
},
44705 { (char *)"new_FileSystem", (PyCFunction
) _wrap_new_FileSystem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44706 { (char *)"delete_FileSystem", (PyCFunction
) _wrap_delete_FileSystem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44707 { (char *)"FileSystem_ChangePathTo", (PyCFunction
) _wrap_FileSystem_ChangePathTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44708 { (char *)"FileSystem_GetPath", (PyCFunction
) _wrap_FileSystem_GetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44709 { (char *)"FileSystem_OpenFile", (PyCFunction
) _wrap_FileSystem_OpenFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44710 { (char *)"FileSystem_FindFirst", (PyCFunction
) _wrap_FileSystem_FindFirst
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44711 { (char *)"FileSystem_FindNext", (PyCFunction
) _wrap_FileSystem_FindNext
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44712 { (char *)"FileSystem_AddHandler", (PyCFunction
) _wrap_FileSystem_AddHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44713 { (char *)"FileSystem_CleanUpHandlers", (PyCFunction
) _wrap_FileSystem_CleanUpHandlers
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44714 { (char *)"FileSystem_FileNameToURL", (PyCFunction
) _wrap_FileSystem_FileNameToURL
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44715 { (char *)"FileSystem_URLToFileName", (PyCFunction
) _wrap_FileSystem_URLToFileName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44716 { (char *)"FileSystem_swigregister", FileSystem_swigregister
, METH_VARARGS
, NULL
},
44717 { (char *)"new_InternetFSHandler", (PyCFunction
) _wrap_new_InternetFSHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44718 { (char *)"InternetFSHandler_CanOpen", (PyCFunction
) _wrap_InternetFSHandler_CanOpen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44719 { (char *)"InternetFSHandler_OpenFile", (PyCFunction
) _wrap_InternetFSHandler_OpenFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44720 { (char *)"InternetFSHandler_swigregister", InternetFSHandler_swigregister
, METH_VARARGS
, NULL
},
44721 { (char *)"new_ZipFSHandler", (PyCFunction
) _wrap_new_ZipFSHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44722 { (char *)"ZipFSHandler_CanOpen", (PyCFunction
) _wrap_ZipFSHandler_CanOpen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44723 { (char *)"ZipFSHandler_OpenFile", (PyCFunction
) _wrap_ZipFSHandler_OpenFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44724 { (char *)"ZipFSHandler_FindFirst", (PyCFunction
) _wrap_ZipFSHandler_FindFirst
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44725 { (char *)"ZipFSHandler_FindNext", (PyCFunction
) _wrap_ZipFSHandler_FindNext
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44726 { (char *)"ZipFSHandler_swigregister", ZipFSHandler_swigregister
, METH_VARARGS
, NULL
},
44727 { (char *)"__wxMemoryFSHandler_AddFile_wxImage", (PyCFunction
) _wrap___wxMemoryFSHandler_AddFile_wxImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44728 { (char *)"__wxMemoryFSHandler_AddFile_wxBitmap", (PyCFunction
) _wrap___wxMemoryFSHandler_AddFile_wxBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44729 { (char *)"__wxMemoryFSHandler_AddFile_Data", (PyCFunction
) _wrap___wxMemoryFSHandler_AddFile_Data
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44730 { (char *)"new_MemoryFSHandler", (PyCFunction
) _wrap_new_MemoryFSHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44731 { (char *)"MemoryFSHandler_RemoveFile", (PyCFunction
) _wrap_MemoryFSHandler_RemoveFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44732 { (char *)"MemoryFSHandler_CanOpen", (PyCFunction
) _wrap_MemoryFSHandler_CanOpen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44733 { (char *)"MemoryFSHandler_OpenFile", (PyCFunction
) _wrap_MemoryFSHandler_OpenFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44734 { (char *)"MemoryFSHandler_FindFirst", (PyCFunction
) _wrap_MemoryFSHandler_FindFirst
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44735 { (char *)"MemoryFSHandler_FindNext", (PyCFunction
) _wrap_MemoryFSHandler_FindNext
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44736 { (char *)"MemoryFSHandler_swigregister", MemoryFSHandler_swigregister
, METH_VARARGS
, NULL
},
44737 { (char *)"ImageHandler_GetName", (PyCFunction
) _wrap_ImageHandler_GetName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44738 { (char *)"ImageHandler_GetExtension", (PyCFunction
) _wrap_ImageHandler_GetExtension
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44739 { (char *)"ImageHandler_GetType", (PyCFunction
) _wrap_ImageHandler_GetType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44740 { (char *)"ImageHandler_GetMimeType", (PyCFunction
) _wrap_ImageHandler_GetMimeType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44741 { (char *)"ImageHandler_CanRead", (PyCFunction
) _wrap_ImageHandler_CanRead
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44742 { (char *)"ImageHandler_SetName", (PyCFunction
) _wrap_ImageHandler_SetName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44743 { (char *)"ImageHandler_SetExtension", (PyCFunction
) _wrap_ImageHandler_SetExtension
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44744 { (char *)"ImageHandler_SetType", (PyCFunction
) _wrap_ImageHandler_SetType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44745 { (char *)"ImageHandler_SetMimeType", (PyCFunction
) _wrap_ImageHandler_SetMimeType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44746 { (char *)"ImageHandler_swigregister", ImageHandler_swigregister
, METH_VARARGS
, NULL
},
44747 { (char *)"new_ImageHistogram", (PyCFunction
) _wrap_new_ImageHistogram
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44748 { (char *)"ImageHistogram_MakeKey", (PyCFunction
) _wrap_ImageHistogram_MakeKey
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44749 { (char *)"ImageHistogram_FindFirstUnusedColour", (PyCFunction
) _wrap_ImageHistogram_FindFirstUnusedColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44750 { (char *)"ImageHistogram_swigregister", ImageHistogram_swigregister
, METH_VARARGS
, NULL
},
44751 { (char *)"new_Image", (PyCFunction
) _wrap_new_Image
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44752 { (char *)"delete_Image", (PyCFunction
) _wrap_delete_Image
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44753 { (char *)"new_ImageFromMime", (PyCFunction
) _wrap_new_ImageFromMime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44754 { (char *)"new_ImageFromStream", (PyCFunction
) _wrap_new_ImageFromStream
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44755 { (char *)"new_ImageFromStreamMime", (PyCFunction
) _wrap_new_ImageFromStreamMime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44756 { (char *)"new_EmptyImage", (PyCFunction
) _wrap_new_EmptyImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44757 { (char *)"new_ImageFromBitmap", (PyCFunction
) _wrap_new_ImageFromBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44758 { (char *)"new_ImageFromData", (PyCFunction
) _wrap_new_ImageFromData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44759 { (char *)"new_ImageFromDataWithAlpha", (PyCFunction
) _wrap_new_ImageFromDataWithAlpha
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44760 { (char *)"Image_Create", (PyCFunction
) _wrap_Image_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44761 { (char *)"Image_Destroy", (PyCFunction
) _wrap_Image_Destroy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44762 { (char *)"Image_Scale", (PyCFunction
) _wrap_Image_Scale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44763 { (char *)"Image_ShrinkBy", (PyCFunction
) _wrap_Image_ShrinkBy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44764 { (char *)"Image_Rescale", (PyCFunction
) _wrap_Image_Rescale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44765 { (char *)"Image_SetRGB", (PyCFunction
) _wrap_Image_SetRGB
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44766 { (char *)"Image_GetRed", (PyCFunction
) _wrap_Image_GetRed
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44767 { (char *)"Image_GetGreen", (PyCFunction
) _wrap_Image_GetGreen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44768 { (char *)"Image_GetBlue", (PyCFunction
) _wrap_Image_GetBlue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44769 { (char *)"Image_SetAlpha", (PyCFunction
) _wrap_Image_SetAlpha
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44770 { (char *)"Image_GetAlpha", (PyCFunction
) _wrap_Image_GetAlpha
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44771 { (char *)"Image_HasAlpha", (PyCFunction
) _wrap_Image_HasAlpha
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44772 { (char *)"Image_FindFirstUnusedColour", (PyCFunction
) _wrap_Image_FindFirstUnusedColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44773 { (char *)"Image_ConvertAlphaToMask", (PyCFunction
) _wrap_Image_ConvertAlphaToMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44774 { (char *)"Image_ConvertColourToAlpha", (PyCFunction
) _wrap_Image_ConvertColourToAlpha
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44775 { (char *)"Image_SetMaskFromImage", (PyCFunction
) _wrap_Image_SetMaskFromImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44776 { (char *)"Image_CanRead", (PyCFunction
) _wrap_Image_CanRead
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44777 { (char *)"Image_GetImageCount", (PyCFunction
) _wrap_Image_GetImageCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44778 { (char *)"Image_LoadFile", (PyCFunction
) _wrap_Image_LoadFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44779 { (char *)"Image_LoadMimeFile", (PyCFunction
) _wrap_Image_LoadMimeFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44780 { (char *)"Image_SaveFile", (PyCFunction
) _wrap_Image_SaveFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44781 { (char *)"Image_SaveMimeFile", (PyCFunction
) _wrap_Image_SaveMimeFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44782 { (char *)"Image_CanReadStream", (PyCFunction
) _wrap_Image_CanReadStream
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44783 { (char *)"Image_LoadStream", (PyCFunction
) _wrap_Image_LoadStream
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44784 { (char *)"Image_LoadMimeStream", (PyCFunction
) _wrap_Image_LoadMimeStream
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44785 { (char *)"Image_Ok", (PyCFunction
) _wrap_Image_Ok
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44786 { (char *)"Image_GetWidth", (PyCFunction
) _wrap_Image_GetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44787 { (char *)"Image_GetHeight", (PyCFunction
) _wrap_Image_GetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44788 { (char *)"Image_GetSize", (PyCFunction
) _wrap_Image_GetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44789 { (char *)"Image_GetSubImage", (PyCFunction
) _wrap_Image_GetSubImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44790 { (char *)"Image_Copy", (PyCFunction
) _wrap_Image_Copy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44791 { (char *)"Image_Paste", (PyCFunction
) _wrap_Image_Paste
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44792 { (char *)"Image_GetData", (PyCFunction
) _wrap_Image_GetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44793 { (char *)"Image_SetData", (PyCFunction
) _wrap_Image_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44794 { (char *)"Image_GetDataBuffer", (PyCFunction
) _wrap_Image_GetDataBuffer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44795 { (char *)"Image_SetDataBuffer", (PyCFunction
) _wrap_Image_SetDataBuffer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44796 { (char *)"Image_GetAlphaData", (PyCFunction
) _wrap_Image_GetAlphaData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44797 { (char *)"Image_SetAlphaData", (PyCFunction
) _wrap_Image_SetAlphaData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44798 { (char *)"Image_GetAlphaBuffer", (PyCFunction
) _wrap_Image_GetAlphaBuffer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44799 { (char *)"Image_SetAlphaBuffer", (PyCFunction
) _wrap_Image_SetAlphaBuffer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44800 { (char *)"Image_SetMaskColour", (PyCFunction
) _wrap_Image_SetMaskColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44801 { (char *)"Image_GetMaskRed", (PyCFunction
) _wrap_Image_GetMaskRed
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44802 { (char *)"Image_GetMaskGreen", (PyCFunction
) _wrap_Image_GetMaskGreen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44803 { (char *)"Image_GetMaskBlue", (PyCFunction
) _wrap_Image_GetMaskBlue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44804 { (char *)"Image_SetMask", (PyCFunction
) _wrap_Image_SetMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44805 { (char *)"Image_HasMask", (PyCFunction
) _wrap_Image_HasMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44806 { (char *)"Image_Rotate", (PyCFunction
) _wrap_Image_Rotate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44807 { (char *)"Image_Rotate90", (PyCFunction
) _wrap_Image_Rotate90
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44808 { (char *)"Image_Mirror", (PyCFunction
) _wrap_Image_Mirror
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44809 { (char *)"Image_Replace", (PyCFunction
) _wrap_Image_Replace
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44810 { (char *)"Image_ConvertToMono", (PyCFunction
) _wrap_Image_ConvertToMono
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44811 { (char *)"Image_SetOption", (PyCFunction
) _wrap_Image_SetOption
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44812 { (char *)"Image_SetOptionInt", (PyCFunction
) _wrap_Image_SetOptionInt
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44813 { (char *)"Image_GetOption", (PyCFunction
) _wrap_Image_GetOption
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44814 { (char *)"Image_GetOptionInt", (PyCFunction
) _wrap_Image_GetOptionInt
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44815 { (char *)"Image_HasOption", (PyCFunction
) _wrap_Image_HasOption
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44816 { (char *)"Image_CountColours", (PyCFunction
) _wrap_Image_CountColours
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44817 { (char *)"Image_ComputeHistogram", (PyCFunction
) _wrap_Image_ComputeHistogram
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44818 { (char *)"Image_AddHandler", (PyCFunction
) _wrap_Image_AddHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44819 { (char *)"Image_InsertHandler", (PyCFunction
) _wrap_Image_InsertHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44820 { (char *)"Image_RemoveHandler", (PyCFunction
) _wrap_Image_RemoveHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44821 { (char *)"Image_GetImageExtWildcard", (PyCFunction
) _wrap_Image_GetImageExtWildcard
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44822 { (char *)"Image_ConvertToBitmap", (PyCFunction
) _wrap_Image_ConvertToBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44823 { (char *)"Image_ConvertToMonoBitmap", (PyCFunction
) _wrap_Image_ConvertToMonoBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44824 { (char *)"Image_swigregister", Image_swigregister
, METH_VARARGS
, NULL
},
44825 { (char *)"new_BMPHandler", (PyCFunction
) _wrap_new_BMPHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44826 { (char *)"BMPHandler_swigregister", BMPHandler_swigregister
, METH_VARARGS
, NULL
},
44827 { (char *)"new_ICOHandler", (PyCFunction
) _wrap_new_ICOHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44828 { (char *)"ICOHandler_swigregister", ICOHandler_swigregister
, METH_VARARGS
, NULL
},
44829 { (char *)"new_CURHandler", (PyCFunction
) _wrap_new_CURHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44830 { (char *)"CURHandler_swigregister", CURHandler_swigregister
, METH_VARARGS
, NULL
},
44831 { (char *)"new_ANIHandler", (PyCFunction
) _wrap_new_ANIHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44832 { (char *)"ANIHandler_swigregister", ANIHandler_swigregister
, METH_VARARGS
, NULL
},
44833 { (char *)"new_PNGHandler", (PyCFunction
) _wrap_new_PNGHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44834 { (char *)"PNGHandler_swigregister", PNGHandler_swigregister
, METH_VARARGS
, NULL
},
44835 { (char *)"new_GIFHandler", (PyCFunction
) _wrap_new_GIFHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44836 { (char *)"GIFHandler_swigregister", GIFHandler_swigregister
, METH_VARARGS
, NULL
},
44837 { (char *)"new_PCXHandler", (PyCFunction
) _wrap_new_PCXHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44838 { (char *)"PCXHandler_swigregister", PCXHandler_swigregister
, METH_VARARGS
, NULL
},
44839 { (char *)"new_JPEGHandler", (PyCFunction
) _wrap_new_JPEGHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44840 { (char *)"JPEGHandler_swigregister", JPEGHandler_swigregister
, METH_VARARGS
, NULL
},
44841 { (char *)"new_PNMHandler", (PyCFunction
) _wrap_new_PNMHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44842 { (char *)"PNMHandler_swigregister", PNMHandler_swigregister
, METH_VARARGS
, NULL
},
44843 { (char *)"new_XPMHandler", (PyCFunction
) _wrap_new_XPMHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44844 { (char *)"XPMHandler_swigregister", XPMHandler_swigregister
, METH_VARARGS
, NULL
},
44845 { (char *)"new_TIFFHandler", (PyCFunction
) _wrap_new_TIFFHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44846 { (char *)"TIFFHandler_swigregister", TIFFHandler_swigregister
, METH_VARARGS
, NULL
},
44847 { (char *)"Quantize_Quantize", (PyCFunction
) _wrap_Quantize_Quantize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44848 { (char *)"Quantize_swigregister", Quantize_swigregister
, METH_VARARGS
, NULL
},
44849 { (char *)"new_EvtHandler", (PyCFunction
) _wrap_new_EvtHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44850 { (char *)"EvtHandler_GetNextHandler", (PyCFunction
) _wrap_EvtHandler_GetNextHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44851 { (char *)"EvtHandler_GetPreviousHandler", (PyCFunction
) _wrap_EvtHandler_GetPreviousHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44852 { (char *)"EvtHandler_SetNextHandler", (PyCFunction
) _wrap_EvtHandler_SetNextHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44853 { (char *)"EvtHandler_SetPreviousHandler", (PyCFunction
) _wrap_EvtHandler_SetPreviousHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44854 { (char *)"EvtHandler_GetEvtHandlerEnabled", (PyCFunction
) _wrap_EvtHandler_GetEvtHandlerEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44855 { (char *)"EvtHandler_SetEvtHandlerEnabled", (PyCFunction
) _wrap_EvtHandler_SetEvtHandlerEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44856 { (char *)"EvtHandler_ProcessEvent", (PyCFunction
) _wrap_EvtHandler_ProcessEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44857 { (char *)"EvtHandler_AddPendingEvent", (PyCFunction
) _wrap_EvtHandler_AddPendingEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44858 { (char *)"EvtHandler_ProcessPendingEvents", (PyCFunction
) _wrap_EvtHandler_ProcessPendingEvents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44859 { (char *)"EvtHandler_Connect", (PyCFunction
) _wrap_EvtHandler_Connect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44860 { (char *)"EvtHandler_Disconnect", (PyCFunction
) _wrap_EvtHandler_Disconnect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44861 { (char *)"EvtHandler__setOORInfo", (PyCFunction
) _wrap_EvtHandler__setOORInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44862 { (char *)"EvtHandler_swigregister", EvtHandler_swigregister
, METH_VARARGS
, NULL
},
44863 { (char *)"NewEventType", (PyCFunction
) _wrap_NewEventType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44864 { (char *)"delete_Event", (PyCFunction
) _wrap_delete_Event
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44865 { (char *)"Event_SetEventType", (PyCFunction
) _wrap_Event_SetEventType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44866 { (char *)"Event_GetEventType", (PyCFunction
) _wrap_Event_GetEventType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44867 { (char *)"Event_GetEventObject", (PyCFunction
) _wrap_Event_GetEventObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44868 { (char *)"Event_SetEventObject", (PyCFunction
) _wrap_Event_SetEventObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44869 { (char *)"Event_GetTimestamp", (PyCFunction
) _wrap_Event_GetTimestamp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44870 { (char *)"Event_SetTimestamp", (PyCFunction
) _wrap_Event_SetTimestamp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44871 { (char *)"Event_GetId", (PyCFunction
) _wrap_Event_GetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44872 { (char *)"Event_SetId", (PyCFunction
) _wrap_Event_SetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44873 { (char *)"Event_IsCommandEvent", (PyCFunction
) _wrap_Event_IsCommandEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44874 { (char *)"Event_Skip", (PyCFunction
) _wrap_Event_Skip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44875 { (char *)"Event_GetSkipped", (PyCFunction
) _wrap_Event_GetSkipped
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44876 { (char *)"Event_ShouldPropagate", (PyCFunction
) _wrap_Event_ShouldPropagate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44877 { (char *)"Event_StopPropagation", (PyCFunction
) _wrap_Event_StopPropagation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44878 { (char *)"Event_ResumePropagation", (PyCFunction
) _wrap_Event_ResumePropagation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44879 { (char *)"Event_Clone", (PyCFunction
) _wrap_Event_Clone
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44880 { (char *)"Event_swigregister", Event_swigregister
, METH_VARARGS
, NULL
},
44881 { (char *)"new_PropagationDisabler", (PyCFunction
) _wrap_new_PropagationDisabler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44882 { (char *)"delete_PropagationDisabler", (PyCFunction
) _wrap_delete_PropagationDisabler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44883 { (char *)"PropagationDisabler_swigregister", PropagationDisabler_swigregister
, METH_VARARGS
, NULL
},
44884 { (char *)"new_PropagateOnce", (PyCFunction
) _wrap_new_PropagateOnce
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44885 { (char *)"delete_PropagateOnce", (PyCFunction
) _wrap_delete_PropagateOnce
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44886 { (char *)"PropagateOnce_swigregister", PropagateOnce_swigregister
, METH_VARARGS
, NULL
},
44887 { (char *)"new_CommandEvent", (PyCFunction
) _wrap_new_CommandEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44888 { (char *)"CommandEvent_GetSelection", (PyCFunction
) _wrap_CommandEvent_GetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44889 { (char *)"CommandEvent_SetString", (PyCFunction
) _wrap_CommandEvent_SetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44890 { (char *)"CommandEvent_GetString", (PyCFunction
) _wrap_CommandEvent_GetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44891 { (char *)"CommandEvent_IsChecked", (PyCFunction
) _wrap_CommandEvent_IsChecked
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44892 { (char *)"CommandEvent_IsSelection", (PyCFunction
) _wrap_CommandEvent_IsSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44893 { (char *)"CommandEvent_SetExtraLong", (PyCFunction
) _wrap_CommandEvent_SetExtraLong
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44894 { (char *)"CommandEvent_GetExtraLong", (PyCFunction
) _wrap_CommandEvent_GetExtraLong
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44895 { (char *)"CommandEvent_SetInt", (PyCFunction
) _wrap_CommandEvent_SetInt
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44896 { (char *)"CommandEvent_GetInt", (PyCFunction
) _wrap_CommandEvent_GetInt
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44897 { (char *)"CommandEvent_Clone", (PyCFunction
) _wrap_CommandEvent_Clone
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44898 { (char *)"CommandEvent_swigregister", CommandEvent_swigregister
, METH_VARARGS
, NULL
},
44899 { (char *)"new_NotifyEvent", (PyCFunction
) _wrap_new_NotifyEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44900 { (char *)"NotifyEvent_Veto", (PyCFunction
) _wrap_NotifyEvent_Veto
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44901 { (char *)"NotifyEvent_Allow", (PyCFunction
) _wrap_NotifyEvent_Allow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44902 { (char *)"NotifyEvent_IsAllowed", (PyCFunction
) _wrap_NotifyEvent_IsAllowed
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44903 { (char *)"NotifyEvent_swigregister", NotifyEvent_swigregister
, METH_VARARGS
, NULL
},
44904 { (char *)"new_ScrollEvent", (PyCFunction
) _wrap_new_ScrollEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44905 { (char *)"ScrollEvent_GetOrientation", (PyCFunction
) _wrap_ScrollEvent_GetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44906 { (char *)"ScrollEvent_GetPosition", (PyCFunction
) _wrap_ScrollEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44907 { (char *)"ScrollEvent_SetOrientation", (PyCFunction
) _wrap_ScrollEvent_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44908 { (char *)"ScrollEvent_SetPosition", (PyCFunction
) _wrap_ScrollEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44909 { (char *)"ScrollEvent_swigregister", ScrollEvent_swigregister
, METH_VARARGS
, NULL
},
44910 { (char *)"new_ScrollWinEvent", (PyCFunction
) _wrap_new_ScrollWinEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44911 { (char *)"ScrollWinEvent_GetOrientation", (PyCFunction
) _wrap_ScrollWinEvent_GetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44912 { (char *)"ScrollWinEvent_GetPosition", (PyCFunction
) _wrap_ScrollWinEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44913 { (char *)"ScrollWinEvent_SetOrientation", (PyCFunction
) _wrap_ScrollWinEvent_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44914 { (char *)"ScrollWinEvent_SetPosition", (PyCFunction
) _wrap_ScrollWinEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44915 { (char *)"ScrollWinEvent_swigregister", ScrollWinEvent_swigregister
, METH_VARARGS
, NULL
},
44916 { (char *)"new_MouseEvent", (PyCFunction
) _wrap_new_MouseEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44917 { (char *)"MouseEvent_IsButton", (PyCFunction
) _wrap_MouseEvent_IsButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44918 { (char *)"MouseEvent_ButtonDown", (PyCFunction
) _wrap_MouseEvent_ButtonDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44919 { (char *)"MouseEvent_ButtonDClick", (PyCFunction
) _wrap_MouseEvent_ButtonDClick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44920 { (char *)"MouseEvent_ButtonUp", (PyCFunction
) _wrap_MouseEvent_ButtonUp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44921 { (char *)"MouseEvent_Button", (PyCFunction
) _wrap_MouseEvent_Button
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44922 { (char *)"MouseEvent_ButtonIsDown", (PyCFunction
) _wrap_MouseEvent_ButtonIsDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44923 { (char *)"MouseEvent_GetButton", (PyCFunction
) _wrap_MouseEvent_GetButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44924 { (char *)"MouseEvent_ControlDown", (PyCFunction
) _wrap_MouseEvent_ControlDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44925 { (char *)"MouseEvent_MetaDown", (PyCFunction
) _wrap_MouseEvent_MetaDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44926 { (char *)"MouseEvent_AltDown", (PyCFunction
) _wrap_MouseEvent_AltDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44927 { (char *)"MouseEvent_ShiftDown", (PyCFunction
) _wrap_MouseEvent_ShiftDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44928 { (char *)"MouseEvent_CmdDown", (PyCFunction
) _wrap_MouseEvent_CmdDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44929 { (char *)"MouseEvent_LeftDown", (PyCFunction
) _wrap_MouseEvent_LeftDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44930 { (char *)"MouseEvent_MiddleDown", (PyCFunction
) _wrap_MouseEvent_MiddleDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44931 { (char *)"MouseEvent_RightDown", (PyCFunction
) _wrap_MouseEvent_RightDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44932 { (char *)"MouseEvent_LeftUp", (PyCFunction
) _wrap_MouseEvent_LeftUp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44933 { (char *)"MouseEvent_MiddleUp", (PyCFunction
) _wrap_MouseEvent_MiddleUp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44934 { (char *)"MouseEvent_RightUp", (PyCFunction
) _wrap_MouseEvent_RightUp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44935 { (char *)"MouseEvent_LeftDClick", (PyCFunction
) _wrap_MouseEvent_LeftDClick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44936 { (char *)"MouseEvent_MiddleDClick", (PyCFunction
) _wrap_MouseEvent_MiddleDClick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44937 { (char *)"MouseEvent_RightDClick", (PyCFunction
) _wrap_MouseEvent_RightDClick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44938 { (char *)"MouseEvent_LeftIsDown", (PyCFunction
) _wrap_MouseEvent_LeftIsDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44939 { (char *)"MouseEvent_MiddleIsDown", (PyCFunction
) _wrap_MouseEvent_MiddleIsDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44940 { (char *)"MouseEvent_RightIsDown", (PyCFunction
) _wrap_MouseEvent_RightIsDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44941 { (char *)"MouseEvent_Dragging", (PyCFunction
) _wrap_MouseEvent_Dragging
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44942 { (char *)"MouseEvent_Moving", (PyCFunction
) _wrap_MouseEvent_Moving
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44943 { (char *)"MouseEvent_Entering", (PyCFunction
) _wrap_MouseEvent_Entering
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44944 { (char *)"MouseEvent_Leaving", (PyCFunction
) _wrap_MouseEvent_Leaving
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44945 { (char *)"MouseEvent_GetPosition", (PyCFunction
) _wrap_MouseEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44946 { (char *)"MouseEvent_GetPositionTuple", (PyCFunction
) _wrap_MouseEvent_GetPositionTuple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44947 { (char *)"MouseEvent_GetLogicalPosition", (PyCFunction
) _wrap_MouseEvent_GetLogicalPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44948 { (char *)"MouseEvent_GetX", (PyCFunction
) _wrap_MouseEvent_GetX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44949 { (char *)"MouseEvent_GetY", (PyCFunction
) _wrap_MouseEvent_GetY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44950 { (char *)"MouseEvent_GetWheelRotation", (PyCFunction
) _wrap_MouseEvent_GetWheelRotation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44951 { (char *)"MouseEvent_GetWheelDelta", (PyCFunction
) _wrap_MouseEvent_GetWheelDelta
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44952 { (char *)"MouseEvent_GetLinesPerAction", (PyCFunction
) _wrap_MouseEvent_GetLinesPerAction
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44953 { (char *)"MouseEvent_IsPageScroll", (PyCFunction
) _wrap_MouseEvent_IsPageScroll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44954 { (char *)"MouseEvent_m_x_set", (PyCFunction
) _wrap_MouseEvent_m_x_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44955 { (char *)"MouseEvent_m_x_get", (PyCFunction
) _wrap_MouseEvent_m_x_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44956 { (char *)"MouseEvent_m_y_set", (PyCFunction
) _wrap_MouseEvent_m_y_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44957 { (char *)"MouseEvent_m_y_get", (PyCFunction
) _wrap_MouseEvent_m_y_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44958 { (char *)"MouseEvent_m_leftDown_set", (PyCFunction
) _wrap_MouseEvent_m_leftDown_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44959 { (char *)"MouseEvent_m_leftDown_get", (PyCFunction
) _wrap_MouseEvent_m_leftDown_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44960 { (char *)"MouseEvent_m_middleDown_set", (PyCFunction
) _wrap_MouseEvent_m_middleDown_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44961 { (char *)"MouseEvent_m_middleDown_get", (PyCFunction
) _wrap_MouseEvent_m_middleDown_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44962 { (char *)"MouseEvent_m_rightDown_set", (PyCFunction
) _wrap_MouseEvent_m_rightDown_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44963 { (char *)"MouseEvent_m_rightDown_get", (PyCFunction
) _wrap_MouseEvent_m_rightDown_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44964 { (char *)"MouseEvent_m_controlDown_set", (PyCFunction
) _wrap_MouseEvent_m_controlDown_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44965 { (char *)"MouseEvent_m_controlDown_get", (PyCFunction
) _wrap_MouseEvent_m_controlDown_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44966 { (char *)"MouseEvent_m_shiftDown_set", (PyCFunction
) _wrap_MouseEvent_m_shiftDown_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44967 { (char *)"MouseEvent_m_shiftDown_get", (PyCFunction
) _wrap_MouseEvent_m_shiftDown_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44968 { (char *)"MouseEvent_m_altDown_set", (PyCFunction
) _wrap_MouseEvent_m_altDown_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44969 { (char *)"MouseEvent_m_altDown_get", (PyCFunction
) _wrap_MouseEvent_m_altDown_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44970 { (char *)"MouseEvent_m_metaDown_set", (PyCFunction
) _wrap_MouseEvent_m_metaDown_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44971 { (char *)"MouseEvent_m_metaDown_get", (PyCFunction
) _wrap_MouseEvent_m_metaDown_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44972 { (char *)"MouseEvent_m_wheelRotation_set", (PyCFunction
) _wrap_MouseEvent_m_wheelRotation_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44973 { (char *)"MouseEvent_m_wheelRotation_get", (PyCFunction
) _wrap_MouseEvent_m_wheelRotation_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44974 { (char *)"MouseEvent_m_wheelDelta_set", (PyCFunction
) _wrap_MouseEvent_m_wheelDelta_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44975 { (char *)"MouseEvent_m_wheelDelta_get", (PyCFunction
) _wrap_MouseEvent_m_wheelDelta_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44976 { (char *)"MouseEvent_m_linesPerAction_set", (PyCFunction
) _wrap_MouseEvent_m_linesPerAction_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44977 { (char *)"MouseEvent_m_linesPerAction_get", (PyCFunction
) _wrap_MouseEvent_m_linesPerAction_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44978 { (char *)"MouseEvent_swigregister", MouseEvent_swigregister
, METH_VARARGS
, NULL
},
44979 { (char *)"new_SetCursorEvent", (PyCFunction
) _wrap_new_SetCursorEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44980 { (char *)"SetCursorEvent_GetX", (PyCFunction
) _wrap_SetCursorEvent_GetX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44981 { (char *)"SetCursorEvent_GetY", (PyCFunction
) _wrap_SetCursorEvent_GetY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44982 { (char *)"SetCursorEvent_SetCursor", (PyCFunction
) _wrap_SetCursorEvent_SetCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44983 { (char *)"SetCursorEvent_GetCursor", (PyCFunction
) _wrap_SetCursorEvent_GetCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44984 { (char *)"SetCursorEvent_HasCursor", (PyCFunction
) _wrap_SetCursorEvent_HasCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44985 { (char *)"SetCursorEvent_swigregister", SetCursorEvent_swigregister
, METH_VARARGS
, NULL
},
44986 { (char *)"new_KeyEvent", (PyCFunction
) _wrap_new_KeyEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44987 { (char *)"KeyEvent_ControlDown", (PyCFunction
) _wrap_KeyEvent_ControlDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44988 { (char *)"KeyEvent_MetaDown", (PyCFunction
) _wrap_KeyEvent_MetaDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44989 { (char *)"KeyEvent_AltDown", (PyCFunction
) _wrap_KeyEvent_AltDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44990 { (char *)"KeyEvent_ShiftDown", (PyCFunction
) _wrap_KeyEvent_ShiftDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44991 { (char *)"KeyEvent_CmdDown", (PyCFunction
) _wrap_KeyEvent_CmdDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44992 { (char *)"KeyEvent_HasModifiers", (PyCFunction
) _wrap_KeyEvent_HasModifiers
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44993 { (char *)"KeyEvent_GetKeyCode", (PyCFunction
) _wrap_KeyEvent_GetKeyCode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44994 { (char *)"KeyEvent_GetUnicodeKey", (PyCFunction
) _wrap_KeyEvent_GetUnicodeKey
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44995 { (char *)"KeyEvent_GetRawKeyCode", (PyCFunction
) _wrap_KeyEvent_GetRawKeyCode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44996 { (char *)"KeyEvent_GetRawKeyFlags", (PyCFunction
) _wrap_KeyEvent_GetRawKeyFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44997 { (char *)"KeyEvent_GetPosition", (PyCFunction
) _wrap_KeyEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44998 { (char *)"KeyEvent_GetPositionTuple", (PyCFunction
) _wrap_KeyEvent_GetPositionTuple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44999 { (char *)"KeyEvent_GetX", (PyCFunction
) _wrap_KeyEvent_GetX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45000 { (char *)"KeyEvent_GetY", (PyCFunction
) _wrap_KeyEvent_GetY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45001 { (char *)"KeyEvent_m_x_set", (PyCFunction
) _wrap_KeyEvent_m_x_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45002 { (char *)"KeyEvent_m_x_get", (PyCFunction
) _wrap_KeyEvent_m_x_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45003 { (char *)"KeyEvent_m_y_set", (PyCFunction
) _wrap_KeyEvent_m_y_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45004 { (char *)"KeyEvent_m_y_get", (PyCFunction
) _wrap_KeyEvent_m_y_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45005 { (char *)"KeyEvent_m_keyCode_set", (PyCFunction
) _wrap_KeyEvent_m_keyCode_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45006 { (char *)"KeyEvent_m_keyCode_get", (PyCFunction
) _wrap_KeyEvent_m_keyCode_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45007 { (char *)"KeyEvent_m_controlDown_set", (PyCFunction
) _wrap_KeyEvent_m_controlDown_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45008 { (char *)"KeyEvent_m_controlDown_get", (PyCFunction
) _wrap_KeyEvent_m_controlDown_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45009 { (char *)"KeyEvent_m_shiftDown_set", (PyCFunction
) _wrap_KeyEvent_m_shiftDown_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45010 { (char *)"KeyEvent_m_shiftDown_get", (PyCFunction
) _wrap_KeyEvent_m_shiftDown_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45011 { (char *)"KeyEvent_m_altDown_set", (PyCFunction
) _wrap_KeyEvent_m_altDown_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45012 { (char *)"KeyEvent_m_altDown_get", (PyCFunction
) _wrap_KeyEvent_m_altDown_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45013 { (char *)"KeyEvent_m_metaDown_set", (PyCFunction
) _wrap_KeyEvent_m_metaDown_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45014 { (char *)"KeyEvent_m_metaDown_get", (PyCFunction
) _wrap_KeyEvent_m_metaDown_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45015 { (char *)"KeyEvent_m_scanCode_set", (PyCFunction
) _wrap_KeyEvent_m_scanCode_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45016 { (char *)"KeyEvent_m_scanCode_get", (PyCFunction
) _wrap_KeyEvent_m_scanCode_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45017 { (char *)"KeyEvent_m_rawCode_set", (PyCFunction
) _wrap_KeyEvent_m_rawCode_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45018 { (char *)"KeyEvent_m_rawCode_get", (PyCFunction
) _wrap_KeyEvent_m_rawCode_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45019 { (char *)"KeyEvent_m_rawFlags_set", (PyCFunction
) _wrap_KeyEvent_m_rawFlags_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45020 { (char *)"KeyEvent_m_rawFlags_get", (PyCFunction
) _wrap_KeyEvent_m_rawFlags_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45021 { (char *)"KeyEvent_swigregister", KeyEvent_swigregister
, METH_VARARGS
, NULL
},
45022 { (char *)"new_SizeEvent", (PyCFunction
) _wrap_new_SizeEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45023 { (char *)"SizeEvent_GetSize", (PyCFunction
) _wrap_SizeEvent_GetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45024 { (char *)"SizeEvent_GetRect", (PyCFunction
) _wrap_SizeEvent_GetRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45025 { (char *)"SizeEvent_SetRect", (PyCFunction
) _wrap_SizeEvent_SetRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45026 { (char *)"SizeEvent_SetSize", (PyCFunction
) _wrap_SizeEvent_SetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45027 { (char *)"SizeEvent_m_size_set", (PyCFunction
) _wrap_SizeEvent_m_size_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45028 { (char *)"SizeEvent_m_size_get", (PyCFunction
) _wrap_SizeEvent_m_size_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45029 { (char *)"SizeEvent_m_rect_set", (PyCFunction
) _wrap_SizeEvent_m_rect_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45030 { (char *)"SizeEvent_m_rect_get", (PyCFunction
) _wrap_SizeEvent_m_rect_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45031 { (char *)"SizeEvent_swigregister", SizeEvent_swigregister
, METH_VARARGS
, NULL
},
45032 { (char *)"new_MoveEvent", (PyCFunction
) _wrap_new_MoveEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45033 { (char *)"MoveEvent_GetPosition", (PyCFunction
) _wrap_MoveEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45034 { (char *)"MoveEvent_GetRect", (PyCFunction
) _wrap_MoveEvent_GetRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45035 { (char *)"MoveEvent_SetRect", (PyCFunction
) _wrap_MoveEvent_SetRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45036 { (char *)"MoveEvent_SetPosition", (PyCFunction
) _wrap_MoveEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45037 { (char *)"MoveEvent_swigregister", MoveEvent_swigregister
, METH_VARARGS
, NULL
},
45038 { (char *)"new_PaintEvent", (PyCFunction
) _wrap_new_PaintEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45039 { (char *)"PaintEvent_swigregister", PaintEvent_swigregister
, METH_VARARGS
, NULL
},
45040 { (char *)"new_NcPaintEvent", (PyCFunction
) _wrap_new_NcPaintEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45041 { (char *)"NcPaintEvent_swigregister", NcPaintEvent_swigregister
, METH_VARARGS
, NULL
},
45042 { (char *)"new_EraseEvent", (PyCFunction
) _wrap_new_EraseEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45043 { (char *)"EraseEvent_GetDC", (PyCFunction
) _wrap_EraseEvent_GetDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45044 { (char *)"EraseEvent_swigregister", EraseEvent_swigregister
, METH_VARARGS
, NULL
},
45045 { (char *)"new_FocusEvent", (PyCFunction
) _wrap_new_FocusEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45046 { (char *)"FocusEvent_GetWindow", (PyCFunction
) _wrap_FocusEvent_GetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45047 { (char *)"FocusEvent_SetWindow", (PyCFunction
) _wrap_FocusEvent_SetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45048 { (char *)"FocusEvent_swigregister", FocusEvent_swigregister
, METH_VARARGS
, NULL
},
45049 { (char *)"new_ChildFocusEvent", (PyCFunction
) _wrap_new_ChildFocusEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45050 { (char *)"ChildFocusEvent_GetWindow", (PyCFunction
) _wrap_ChildFocusEvent_GetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45051 { (char *)"ChildFocusEvent_swigregister", ChildFocusEvent_swigregister
, METH_VARARGS
, NULL
},
45052 { (char *)"new_ActivateEvent", (PyCFunction
) _wrap_new_ActivateEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45053 { (char *)"ActivateEvent_GetActive", (PyCFunction
) _wrap_ActivateEvent_GetActive
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45054 { (char *)"ActivateEvent_swigregister", ActivateEvent_swigregister
, METH_VARARGS
, NULL
},
45055 { (char *)"new_InitDialogEvent", (PyCFunction
) _wrap_new_InitDialogEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45056 { (char *)"InitDialogEvent_swigregister", InitDialogEvent_swigregister
, METH_VARARGS
, NULL
},
45057 { (char *)"new_MenuEvent", (PyCFunction
) _wrap_new_MenuEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45058 { (char *)"MenuEvent_GetMenuId", (PyCFunction
) _wrap_MenuEvent_GetMenuId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45059 { (char *)"MenuEvent_IsPopup", (PyCFunction
) _wrap_MenuEvent_IsPopup
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45060 { (char *)"MenuEvent_GetMenu", (PyCFunction
) _wrap_MenuEvent_GetMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45061 { (char *)"MenuEvent_swigregister", MenuEvent_swigregister
, METH_VARARGS
, NULL
},
45062 { (char *)"new_CloseEvent", (PyCFunction
) _wrap_new_CloseEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45063 { (char *)"CloseEvent_SetLoggingOff", (PyCFunction
) _wrap_CloseEvent_SetLoggingOff
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45064 { (char *)"CloseEvent_GetLoggingOff", (PyCFunction
) _wrap_CloseEvent_GetLoggingOff
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45065 { (char *)"CloseEvent_Veto", (PyCFunction
) _wrap_CloseEvent_Veto
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45066 { (char *)"CloseEvent_SetCanVeto", (PyCFunction
) _wrap_CloseEvent_SetCanVeto
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45067 { (char *)"CloseEvent_CanVeto", (PyCFunction
) _wrap_CloseEvent_CanVeto
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45068 { (char *)"CloseEvent_GetVeto", (PyCFunction
) _wrap_CloseEvent_GetVeto
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45069 { (char *)"CloseEvent_swigregister", CloseEvent_swigregister
, METH_VARARGS
, NULL
},
45070 { (char *)"new_ShowEvent", (PyCFunction
) _wrap_new_ShowEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45071 { (char *)"ShowEvent_SetShow", (PyCFunction
) _wrap_ShowEvent_SetShow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45072 { (char *)"ShowEvent_GetShow", (PyCFunction
) _wrap_ShowEvent_GetShow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45073 { (char *)"ShowEvent_swigregister", ShowEvent_swigregister
, METH_VARARGS
, NULL
},
45074 { (char *)"new_IconizeEvent", (PyCFunction
) _wrap_new_IconizeEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45075 { (char *)"IconizeEvent_Iconized", (PyCFunction
) _wrap_IconizeEvent_Iconized
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45076 { (char *)"IconizeEvent_swigregister", IconizeEvent_swigregister
, METH_VARARGS
, NULL
},
45077 { (char *)"new_MaximizeEvent", (PyCFunction
) _wrap_new_MaximizeEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45078 { (char *)"MaximizeEvent_swigregister", MaximizeEvent_swigregister
, METH_VARARGS
, NULL
},
45079 { (char *)"DropFilesEvent_GetPosition", (PyCFunction
) _wrap_DropFilesEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45080 { (char *)"DropFilesEvent_GetNumberOfFiles", (PyCFunction
) _wrap_DropFilesEvent_GetNumberOfFiles
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45081 { (char *)"DropFilesEvent_GetFiles", (PyCFunction
) _wrap_DropFilesEvent_GetFiles
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45082 { (char *)"DropFilesEvent_swigregister", DropFilesEvent_swigregister
, METH_VARARGS
, NULL
},
45083 { (char *)"new_UpdateUIEvent", (PyCFunction
) _wrap_new_UpdateUIEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45084 { (char *)"UpdateUIEvent_GetChecked", (PyCFunction
) _wrap_UpdateUIEvent_GetChecked
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45085 { (char *)"UpdateUIEvent_GetEnabled", (PyCFunction
) _wrap_UpdateUIEvent_GetEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45086 { (char *)"UpdateUIEvent_GetText", (PyCFunction
) _wrap_UpdateUIEvent_GetText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45087 { (char *)"UpdateUIEvent_GetSetText", (PyCFunction
) _wrap_UpdateUIEvent_GetSetText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45088 { (char *)"UpdateUIEvent_GetSetChecked", (PyCFunction
) _wrap_UpdateUIEvent_GetSetChecked
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45089 { (char *)"UpdateUIEvent_GetSetEnabled", (PyCFunction
) _wrap_UpdateUIEvent_GetSetEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45090 { (char *)"UpdateUIEvent_Check", (PyCFunction
) _wrap_UpdateUIEvent_Check
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45091 { (char *)"UpdateUIEvent_Enable", (PyCFunction
) _wrap_UpdateUIEvent_Enable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45092 { (char *)"UpdateUIEvent_SetText", (PyCFunction
) _wrap_UpdateUIEvent_SetText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45093 { (char *)"UpdateUIEvent_SetUpdateInterval", (PyCFunction
) _wrap_UpdateUIEvent_SetUpdateInterval
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45094 { (char *)"UpdateUIEvent_GetUpdateInterval", (PyCFunction
) _wrap_UpdateUIEvent_GetUpdateInterval
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45095 { (char *)"UpdateUIEvent_CanUpdate", (PyCFunction
) _wrap_UpdateUIEvent_CanUpdate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45096 { (char *)"UpdateUIEvent_ResetUpdateTime", (PyCFunction
) _wrap_UpdateUIEvent_ResetUpdateTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45097 { (char *)"UpdateUIEvent_SetMode", (PyCFunction
) _wrap_UpdateUIEvent_SetMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45098 { (char *)"UpdateUIEvent_GetMode", (PyCFunction
) _wrap_UpdateUIEvent_GetMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45099 { (char *)"UpdateUIEvent_swigregister", UpdateUIEvent_swigregister
, METH_VARARGS
, NULL
},
45100 { (char *)"new_SysColourChangedEvent", (PyCFunction
) _wrap_new_SysColourChangedEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45101 { (char *)"SysColourChangedEvent_swigregister", SysColourChangedEvent_swigregister
, METH_VARARGS
, NULL
},
45102 { (char *)"new_MouseCaptureChangedEvent", (PyCFunction
) _wrap_new_MouseCaptureChangedEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45103 { (char *)"MouseCaptureChangedEvent_GetCapturedWindow", (PyCFunction
) _wrap_MouseCaptureChangedEvent_GetCapturedWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45104 { (char *)"MouseCaptureChangedEvent_swigregister", MouseCaptureChangedEvent_swigregister
, METH_VARARGS
, NULL
},
45105 { (char *)"new_DisplayChangedEvent", (PyCFunction
) _wrap_new_DisplayChangedEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45106 { (char *)"DisplayChangedEvent_swigregister", DisplayChangedEvent_swigregister
, METH_VARARGS
, NULL
},
45107 { (char *)"new_PaletteChangedEvent", (PyCFunction
) _wrap_new_PaletteChangedEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45108 { (char *)"PaletteChangedEvent_SetChangedWindow", (PyCFunction
) _wrap_PaletteChangedEvent_SetChangedWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45109 { (char *)"PaletteChangedEvent_GetChangedWindow", (PyCFunction
) _wrap_PaletteChangedEvent_GetChangedWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45110 { (char *)"PaletteChangedEvent_swigregister", PaletteChangedEvent_swigregister
, METH_VARARGS
, NULL
},
45111 { (char *)"new_QueryNewPaletteEvent", (PyCFunction
) _wrap_new_QueryNewPaletteEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45112 { (char *)"QueryNewPaletteEvent_SetPaletteRealized", (PyCFunction
) _wrap_QueryNewPaletteEvent_SetPaletteRealized
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45113 { (char *)"QueryNewPaletteEvent_GetPaletteRealized", (PyCFunction
) _wrap_QueryNewPaletteEvent_GetPaletteRealized
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45114 { (char *)"QueryNewPaletteEvent_swigregister", QueryNewPaletteEvent_swigregister
, METH_VARARGS
, NULL
},
45115 { (char *)"new_NavigationKeyEvent", (PyCFunction
) _wrap_new_NavigationKeyEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45116 { (char *)"NavigationKeyEvent_GetDirection", (PyCFunction
) _wrap_NavigationKeyEvent_GetDirection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45117 { (char *)"NavigationKeyEvent_SetDirection", (PyCFunction
) _wrap_NavigationKeyEvent_SetDirection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45118 { (char *)"NavigationKeyEvent_IsWindowChange", (PyCFunction
) _wrap_NavigationKeyEvent_IsWindowChange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45119 { (char *)"NavigationKeyEvent_SetWindowChange", (PyCFunction
) _wrap_NavigationKeyEvent_SetWindowChange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45120 { (char *)"NavigationKeyEvent_SetFlags", (PyCFunction
) _wrap_NavigationKeyEvent_SetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45121 { (char *)"NavigationKeyEvent_GetCurrentFocus", (PyCFunction
) _wrap_NavigationKeyEvent_GetCurrentFocus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45122 { (char *)"NavigationKeyEvent_SetCurrentFocus", (PyCFunction
) _wrap_NavigationKeyEvent_SetCurrentFocus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45123 { (char *)"NavigationKeyEvent_swigregister", NavigationKeyEvent_swigregister
, METH_VARARGS
, NULL
},
45124 { (char *)"new_WindowCreateEvent", (PyCFunction
) _wrap_new_WindowCreateEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45125 { (char *)"WindowCreateEvent_GetWindow", (PyCFunction
) _wrap_WindowCreateEvent_GetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45126 { (char *)"WindowCreateEvent_swigregister", WindowCreateEvent_swigregister
, METH_VARARGS
, NULL
},
45127 { (char *)"new_WindowDestroyEvent", (PyCFunction
) _wrap_new_WindowDestroyEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45128 { (char *)"WindowDestroyEvent_GetWindow", (PyCFunction
) _wrap_WindowDestroyEvent_GetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45129 { (char *)"WindowDestroyEvent_swigregister", WindowDestroyEvent_swigregister
, METH_VARARGS
, NULL
},
45130 { (char *)"new_ContextMenuEvent", (PyCFunction
) _wrap_new_ContextMenuEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45131 { (char *)"ContextMenuEvent_GetPosition", (PyCFunction
) _wrap_ContextMenuEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45132 { (char *)"ContextMenuEvent_SetPosition", (PyCFunction
) _wrap_ContextMenuEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45133 { (char *)"ContextMenuEvent_swigregister", ContextMenuEvent_swigregister
, METH_VARARGS
, NULL
},
45134 { (char *)"new_IdleEvent", (PyCFunction
) _wrap_new_IdleEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45135 { (char *)"IdleEvent_RequestMore", (PyCFunction
) _wrap_IdleEvent_RequestMore
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45136 { (char *)"IdleEvent_MoreRequested", (PyCFunction
) _wrap_IdleEvent_MoreRequested
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45137 { (char *)"IdleEvent_SetMode", (PyCFunction
) _wrap_IdleEvent_SetMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45138 { (char *)"IdleEvent_GetMode", (PyCFunction
) _wrap_IdleEvent_GetMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45139 { (char *)"IdleEvent_CanSend", (PyCFunction
) _wrap_IdleEvent_CanSend
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45140 { (char *)"IdleEvent_swigregister", IdleEvent_swigregister
, METH_VARARGS
, NULL
},
45141 { (char *)"new_PyEvent", (PyCFunction
) _wrap_new_PyEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45142 { (char *)"delete_PyEvent", (PyCFunction
) _wrap_delete_PyEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45143 { (char *)"PyEvent_SetSelf", (PyCFunction
) _wrap_PyEvent_SetSelf
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45144 { (char *)"PyEvent_GetSelf", (PyCFunction
) _wrap_PyEvent_GetSelf
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45145 { (char *)"PyEvent_swigregister", PyEvent_swigregister
, METH_VARARGS
, NULL
},
45146 { (char *)"new_PyCommandEvent", (PyCFunction
) _wrap_new_PyCommandEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45147 { (char *)"delete_PyCommandEvent", (PyCFunction
) _wrap_delete_PyCommandEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45148 { (char *)"PyCommandEvent_SetSelf", (PyCFunction
) _wrap_PyCommandEvent_SetSelf
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45149 { (char *)"PyCommandEvent_GetSelf", (PyCFunction
) _wrap_PyCommandEvent_GetSelf
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45150 { (char *)"PyCommandEvent_swigregister", PyCommandEvent_swigregister
, METH_VARARGS
, NULL
},
45151 { (char *)"new_DateEvent", (PyCFunction
) _wrap_new_DateEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45152 { (char *)"DateEvent_GetDate", (PyCFunction
) _wrap_DateEvent_GetDate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45153 { (char *)"DateEvent_SetDate", (PyCFunction
) _wrap_DateEvent_SetDate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45154 { (char *)"DateEvent_swigregister", DateEvent_swigregister
, METH_VARARGS
, NULL
},
45155 { (char *)"new_PyApp", (PyCFunction
) _wrap_new_PyApp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45156 { (char *)"delete_PyApp", (PyCFunction
) _wrap_delete_PyApp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45157 { (char *)"PyApp__setCallbackInfo", (PyCFunction
) _wrap_PyApp__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45158 { (char *)"PyApp_GetAppName", (PyCFunction
) _wrap_PyApp_GetAppName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45159 { (char *)"PyApp_SetAppName", (PyCFunction
) _wrap_PyApp_SetAppName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45160 { (char *)"PyApp_GetClassName", (PyCFunction
) _wrap_PyApp_GetClassName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45161 { (char *)"PyApp_SetClassName", (PyCFunction
) _wrap_PyApp_SetClassName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45162 { (char *)"PyApp_GetVendorName", (PyCFunction
) _wrap_PyApp_GetVendorName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45163 { (char *)"PyApp_SetVendorName", (PyCFunction
) _wrap_PyApp_SetVendorName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45164 { (char *)"PyApp_GetTraits", (PyCFunction
) _wrap_PyApp_GetTraits
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45165 { (char *)"PyApp_ProcessPendingEvents", (PyCFunction
) _wrap_PyApp_ProcessPendingEvents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45166 { (char *)"PyApp_Yield", (PyCFunction
) _wrap_PyApp_Yield
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45167 { (char *)"PyApp_WakeUpIdle", (PyCFunction
) _wrap_PyApp_WakeUpIdle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45168 { (char *)"PyApp_IsMainLoopRunning", (PyCFunction
) _wrap_PyApp_IsMainLoopRunning
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45169 { (char *)"PyApp_MainLoop", (PyCFunction
) _wrap_PyApp_MainLoop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45170 { (char *)"PyApp_Exit", (PyCFunction
) _wrap_PyApp_Exit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45171 { (char *)"PyApp_ExitMainLoop", (PyCFunction
) _wrap_PyApp_ExitMainLoop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45172 { (char *)"PyApp_Pending", (PyCFunction
) _wrap_PyApp_Pending
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45173 { (char *)"PyApp_Dispatch", (PyCFunction
) _wrap_PyApp_Dispatch
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45174 { (char *)"PyApp_ProcessIdle", (PyCFunction
) _wrap_PyApp_ProcessIdle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45175 { (char *)"PyApp_SendIdleEvents", (PyCFunction
) _wrap_PyApp_SendIdleEvents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45176 { (char *)"PyApp_IsActive", (PyCFunction
) _wrap_PyApp_IsActive
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45177 { (char *)"PyApp_SetTopWindow", (PyCFunction
) _wrap_PyApp_SetTopWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45178 { (char *)"PyApp_GetTopWindow", (PyCFunction
) _wrap_PyApp_GetTopWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45179 { (char *)"PyApp_SetExitOnFrameDelete", (PyCFunction
) _wrap_PyApp_SetExitOnFrameDelete
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45180 { (char *)"PyApp_GetExitOnFrameDelete", (PyCFunction
) _wrap_PyApp_GetExitOnFrameDelete
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45181 { (char *)"PyApp_SetUseBestVisual", (PyCFunction
) _wrap_PyApp_SetUseBestVisual
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45182 { (char *)"PyApp_GetUseBestVisual", (PyCFunction
) _wrap_PyApp_GetUseBestVisual
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45183 { (char *)"PyApp_SetPrintMode", (PyCFunction
) _wrap_PyApp_SetPrintMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45184 { (char *)"PyApp_GetPrintMode", (PyCFunction
) _wrap_PyApp_GetPrintMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45185 { (char *)"PyApp_SetAssertMode", (PyCFunction
) _wrap_PyApp_SetAssertMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45186 { (char *)"PyApp_GetAssertMode", (PyCFunction
) _wrap_PyApp_GetAssertMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45187 { (char *)"PyApp_GetMacSupportPCMenuShortcuts", (PyCFunction
) _wrap_PyApp_GetMacSupportPCMenuShortcuts
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45188 { (char *)"PyApp_GetMacAboutMenuItemId", (PyCFunction
) _wrap_PyApp_GetMacAboutMenuItemId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45189 { (char *)"PyApp_GetMacPreferencesMenuItemId", (PyCFunction
) _wrap_PyApp_GetMacPreferencesMenuItemId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45190 { (char *)"PyApp_GetMacExitMenuItemId", (PyCFunction
) _wrap_PyApp_GetMacExitMenuItemId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45191 { (char *)"PyApp_GetMacHelpMenuTitleName", (PyCFunction
) _wrap_PyApp_GetMacHelpMenuTitleName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45192 { (char *)"PyApp_SetMacSupportPCMenuShortcuts", (PyCFunction
) _wrap_PyApp_SetMacSupportPCMenuShortcuts
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45193 { (char *)"PyApp_SetMacAboutMenuItemId", (PyCFunction
) _wrap_PyApp_SetMacAboutMenuItemId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45194 { (char *)"PyApp_SetMacPreferencesMenuItemId", (PyCFunction
) _wrap_PyApp_SetMacPreferencesMenuItemId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45195 { (char *)"PyApp_SetMacExitMenuItemId", (PyCFunction
) _wrap_PyApp_SetMacExitMenuItemId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45196 { (char *)"PyApp_SetMacHelpMenuTitleName", (PyCFunction
) _wrap_PyApp_SetMacHelpMenuTitleName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45197 { (char *)"PyApp__BootstrapApp", (PyCFunction
) _wrap_PyApp__BootstrapApp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45198 { (char *)"PyApp_GetComCtl32Version", (PyCFunction
) _wrap_PyApp_GetComCtl32Version
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45199 { (char *)"PyApp_swigregister", PyApp_swigregister
, METH_VARARGS
, NULL
},
45200 { (char *)"Exit", (PyCFunction
) _wrap_Exit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45201 { (char *)"Yield", (PyCFunction
) _wrap_Yield
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45202 { (char *)"YieldIfNeeded", (PyCFunction
) _wrap_YieldIfNeeded
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45203 { (char *)"SafeYield", (PyCFunction
) _wrap_SafeYield
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45204 { (char *)"WakeUpIdle", (PyCFunction
) _wrap_WakeUpIdle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45205 { (char *)"PostEvent", (PyCFunction
) _wrap_PostEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45206 { (char *)"App_CleanUp", (PyCFunction
) _wrap_App_CleanUp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45207 { (char *)"GetApp", (PyCFunction
) _wrap_GetApp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45208 { (char *)"SetDefaultPyEncoding", (PyCFunction
) _wrap_SetDefaultPyEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45209 { (char *)"GetDefaultPyEncoding", (PyCFunction
) _wrap_GetDefaultPyEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45210 { (char *)"new_EventLoop", (PyCFunction
) _wrap_new_EventLoop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45211 { (char *)"delete_EventLoop", (PyCFunction
) _wrap_delete_EventLoop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45212 { (char *)"EventLoop_Run", (PyCFunction
) _wrap_EventLoop_Run
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45213 { (char *)"EventLoop_Exit", (PyCFunction
) _wrap_EventLoop_Exit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45214 { (char *)"EventLoop_Pending", (PyCFunction
) _wrap_EventLoop_Pending
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45215 { (char *)"EventLoop_Dispatch", (PyCFunction
) _wrap_EventLoop_Dispatch
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45216 { (char *)"EventLoop_IsRunning", (PyCFunction
) _wrap_EventLoop_IsRunning
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45217 { (char *)"EventLoop_GetActive", (PyCFunction
) _wrap_EventLoop_GetActive
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45218 { (char *)"EventLoop_SetActive", (PyCFunction
) _wrap_EventLoop_SetActive
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45219 { (char *)"EventLoop_swigregister", EventLoop_swigregister
, METH_VARARGS
, NULL
},
45220 { (char *)"new_AcceleratorEntry", (PyCFunction
) _wrap_new_AcceleratorEntry
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45221 { (char *)"delete_AcceleratorEntry", (PyCFunction
) _wrap_delete_AcceleratorEntry
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45222 { (char *)"AcceleratorEntry_Set", (PyCFunction
) _wrap_AcceleratorEntry_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45223 { (char *)"AcceleratorEntry_GetFlags", (PyCFunction
) _wrap_AcceleratorEntry_GetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45224 { (char *)"AcceleratorEntry_GetKeyCode", (PyCFunction
) _wrap_AcceleratorEntry_GetKeyCode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45225 { (char *)"AcceleratorEntry_GetCommand", (PyCFunction
) _wrap_AcceleratorEntry_GetCommand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45226 { (char *)"AcceleratorEntry_swigregister", AcceleratorEntry_swigregister
, METH_VARARGS
, NULL
},
45227 { (char *)"new_AcceleratorTable", (PyCFunction
) _wrap_new_AcceleratorTable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45228 { (char *)"delete_AcceleratorTable", (PyCFunction
) _wrap_delete_AcceleratorTable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45229 { (char *)"AcceleratorTable_Ok", (PyCFunction
) _wrap_AcceleratorTable_Ok
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45230 { (char *)"AcceleratorTable_swigregister", AcceleratorTable_swigregister
, METH_VARARGS
, NULL
},
45231 { (char *)"GetAccelFromString", (PyCFunction
) _wrap_GetAccelFromString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45232 { (char *)"new_VisualAttributes", (PyCFunction
) _wrap_new_VisualAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45233 { (char *)"delete_VisualAttributes", (PyCFunction
) _wrap_delete_VisualAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45234 { (char *)"VisualAttributes_font_set", (PyCFunction
) _wrap_VisualAttributes_font_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45235 { (char *)"VisualAttributes_font_get", (PyCFunction
) _wrap_VisualAttributes_font_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45236 { (char *)"VisualAttributes_colFg_set", (PyCFunction
) _wrap_VisualAttributes_colFg_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45237 { (char *)"VisualAttributes_colFg_get", (PyCFunction
) _wrap_VisualAttributes_colFg_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45238 { (char *)"VisualAttributes_colBg_set", (PyCFunction
) _wrap_VisualAttributes_colBg_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45239 { (char *)"VisualAttributes_colBg_get", (PyCFunction
) _wrap_VisualAttributes_colBg_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45240 { (char *)"VisualAttributes_swigregister", VisualAttributes_swigregister
, METH_VARARGS
, NULL
},
45241 { (char *)"new_Window", (PyCFunction
) _wrap_new_Window
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45242 { (char *)"new_PreWindow", (PyCFunction
) _wrap_new_PreWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45243 { (char *)"Window_Create", (PyCFunction
) _wrap_Window_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45244 { (char *)"Window_Close", (PyCFunction
) _wrap_Window_Close
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45245 { (char *)"Window_Destroy", (PyCFunction
) _wrap_Window_Destroy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45246 { (char *)"Window_DestroyChildren", (PyCFunction
) _wrap_Window_DestroyChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45247 { (char *)"Window_IsBeingDeleted", (PyCFunction
) _wrap_Window_IsBeingDeleted
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45248 { (char *)"Window_SetTitle", (PyCFunction
) _wrap_Window_SetTitle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45249 { (char *)"Window_GetTitle", (PyCFunction
) _wrap_Window_GetTitle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45250 { (char *)"Window_SetLabel", (PyCFunction
) _wrap_Window_SetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45251 { (char *)"Window_GetLabel", (PyCFunction
) _wrap_Window_GetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45252 { (char *)"Window_SetName", (PyCFunction
) _wrap_Window_SetName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45253 { (char *)"Window_GetName", (PyCFunction
) _wrap_Window_GetName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45254 { (char *)"Window_SetWindowVariant", (PyCFunction
) _wrap_Window_SetWindowVariant
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45255 { (char *)"Window_GetWindowVariant", (PyCFunction
) _wrap_Window_GetWindowVariant
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45256 { (char *)"Window_SetId", (PyCFunction
) _wrap_Window_SetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45257 { (char *)"Window_GetId", (PyCFunction
) _wrap_Window_GetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45258 { (char *)"Window_NewControlId", (PyCFunction
) _wrap_Window_NewControlId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45259 { (char *)"Window_NextControlId", (PyCFunction
) _wrap_Window_NextControlId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45260 { (char *)"Window_PrevControlId", (PyCFunction
) _wrap_Window_PrevControlId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45261 { (char *)"Window_SetSize", (PyCFunction
) _wrap_Window_SetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45262 { (char *)"Window_SetDimensions", (PyCFunction
) _wrap_Window_SetDimensions
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45263 { (char *)"Window_SetRect", (PyCFunction
) _wrap_Window_SetRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45264 { (char *)"Window_SetSizeWH", (PyCFunction
) _wrap_Window_SetSizeWH
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45265 { (char *)"Window_Move", (PyCFunction
) _wrap_Window_Move
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45266 { (char *)"Window_MoveXY", (PyCFunction
) _wrap_Window_MoveXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45267 { (char *)"Window_SetBestFittingSize", (PyCFunction
) _wrap_Window_SetBestFittingSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45268 { (char *)"Window_Raise", (PyCFunction
) _wrap_Window_Raise
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45269 { (char *)"Window_Lower", (PyCFunction
) _wrap_Window_Lower
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45270 { (char *)"Window_SetClientSize", (PyCFunction
) _wrap_Window_SetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45271 { (char *)"Window_SetClientSizeWH", (PyCFunction
) _wrap_Window_SetClientSizeWH
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45272 { (char *)"Window_SetClientRect", (PyCFunction
) _wrap_Window_SetClientRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45273 { (char *)"Window_GetPosition", (PyCFunction
) _wrap_Window_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45274 { (char *)"Window_GetPositionTuple", (PyCFunction
) _wrap_Window_GetPositionTuple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45275 { (char *)"Window_GetSize", (PyCFunction
) _wrap_Window_GetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45276 { (char *)"Window_GetSizeTuple", (PyCFunction
) _wrap_Window_GetSizeTuple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45277 { (char *)"Window_GetRect", (PyCFunction
) _wrap_Window_GetRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45278 { (char *)"Window_GetClientSize", (PyCFunction
) _wrap_Window_GetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45279 { (char *)"Window_GetClientSizeTuple", (PyCFunction
) _wrap_Window_GetClientSizeTuple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45280 { (char *)"Window_GetClientAreaOrigin", (PyCFunction
) _wrap_Window_GetClientAreaOrigin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45281 { (char *)"Window_GetClientRect", (PyCFunction
) _wrap_Window_GetClientRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45282 { (char *)"Window_GetBestSize", (PyCFunction
) _wrap_Window_GetBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45283 { (char *)"Window_GetBestSizeTuple", (PyCFunction
) _wrap_Window_GetBestSizeTuple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45284 { (char *)"Window_InvalidateBestSize", (PyCFunction
) _wrap_Window_InvalidateBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45285 { (char *)"Window_GetBestFittingSize", (PyCFunction
) _wrap_Window_GetBestFittingSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45286 { (char *)"Window_GetAdjustedBestSize", (PyCFunction
) _wrap_Window_GetAdjustedBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45287 { (char *)"Window_Center", (PyCFunction
) _wrap_Window_Center
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45288 { (char *)"Window_CenterOnScreen", (PyCFunction
) _wrap_Window_CenterOnScreen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45289 { (char *)"Window_CenterOnParent", (PyCFunction
) _wrap_Window_CenterOnParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45290 { (char *)"Window_Fit", (PyCFunction
) _wrap_Window_Fit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45291 { (char *)"Window_FitInside", (PyCFunction
) _wrap_Window_FitInside
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45292 { (char *)"Window_SetSizeHints", (PyCFunction
) _wrap_Window_SetSizeHints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45293 { (char *)"Window_SetSizeHintsSz", (PyCFunction
) _wrap_Window_SetSizeHintsSz
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45294 { (char *)"Window_SetVirtualSizeHints", (PyCFunction
) _wrap_Window_SetVirtualSizeHints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45295 { (char *)"Window_SetVirtualSizeHintsSz", (PyCFunction
) _wrap_Window_SetVirtualSizeHintsSz
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45296 { (char *)"Window_GetMaxSize", (PyCFunction
) _wrap_Window_GetMaxSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45297 { (char *)"Window_GetMinSize", (PyCFunction
) _wrap_Window_GetMinSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45298 { (char *)"Window_SetMinSize", (PyCFunction
) _wrap_Window_SetMinSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45299 { (char *)"Window_SetMaxSize", (PyCFunction
) _wrap_Window_SetMaxSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45300 { (char *)"Window_GetMinWidth", (PyCFunction
) _wrap_Window_GetMinWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45301 { (char *)"Window_GetMinHeight", (PyCFunction
) _wrap_Window_GetMinHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45302 { (char *)"Window_GetMaxWidth", (PyCFunction
) _wrap_Window_GetMaxWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45303 { (char *)"Window_GetMaxHeight", (PyCFunction
) _wrap_Window_GetMaxHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45304 { (char *)"Window_SetVirtualSize", (PyCFunction
) _wrap_Window_SetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45305 { (char *)"Window_SetVirtualSizeWH", (PyCFunction
) _wrap_Window_SetVirtualSizeWH
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45306 { (char *)"Window_GetVirtualSize", (PyCFunction
) _wrap_Window_GetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45307 { (char *)"Window_GetVirtualSizeTuple", (PyCFunction
) _wrap_Window_GetVirtualSizeTuple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45308 { (char *)"Window_GetBestVirtualSize", (PyCFunction
) _wrap_Window_GetBestVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45309 { (char *)"Window_Show", (PyCFunction
) _wrap_Window_Show
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45310 { (char *)"Window_Hide", (PyCFunction
) _wrap_Window_Hide
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45311 { (char *)"Window_Enable", (PyCFunction
) _wrap_Window_Enable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45312 { (char *)"Window_Disable", (PyCFunction
) _wrap_Window_Disable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45313 { (char *)"Window_IsShown", (PyCFunction
) _wrap_Window_IsShown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45314 { (char *)"Window_IsEnabled", (PyCFunction
) _wrap_Window_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45315 { (char *)"Window_SetWindowStyleFlag", (PyCFunction
) _wrap_Window_SetWindowStyleFlag
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45316 { (char *)"Window_GetWindowStyleFlag", (PyCFunction
) _wrap_Window_GetWindowStyleFlag
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45317 { (char *)"Window_HasFlag", (PyCFunction
) _wrap_Window_HasFlag
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45318 { (char *)"Window_IsRetained", (PyCFunction
) _wrap_Window_IsRetained
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45319 { (char *)"Window_SetExtraStyle", (PyCFunction
) _wrap_Window_SetExtraStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45320 { (char *)"Window_GetExtraStyle", (PyCFunction
) _wrap_Window_GetExtraStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45321 { (char *)"Window_MakeModal", (PyCFunction
) _wrap_Window_MakeModal
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45322 { (char *)"Window_SetThemeEnabled", (PyCFunction
) _wrap_Window_SetThemeEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45323 { (char *)"Window_GetThemeEnabled", (PyCFunction
) _wrap_Window_GetThemeEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45324 { (char *)"Window_SetFocus", (PyCFunction
) _wrap_Window_SetFocus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45325 { (char *)"Window_SetFocusFromKbd", (PyCFunction
) _wrap_Window_SetFocusFromKbd
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45326 { (char *)"Window_FindFocus", (PyCFunction
) _wrap_Window_FindFocus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45327 { (char *)"Window_AcceptsFocus", (PyCFunction
) _wrap_Window_AcceptsFocus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45328 { (char *)"Window_AcceptsFocusFromKeyboard", (PyCFunction
) _wrap_Window_AcceptsFocusFromKeyboard
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45329 { (char *)"Window_GetDefaultItem", (PyCFunction
) _wrap_Window_GetDefaultItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45330 { (char *)"Window_SetDefaultItem", (PyCFunction
) _wrap_Window_SetDefaultItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45331 { (char *)"Window_SetTmpDefaultItem", (PyCFunction
) _wrap_Window_SetTmpDefaultItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45332 { (char *)"Window_Navigate", (PyCFunction
) _wrap_Window_Navigate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45333 { (char *)"Window_MoveAfterInTabOrder", (PyCFunction
) _wrap_Window_MoveAfterInTabOrder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45334 { (char *)"Window_MoveBeforeInTabOrder", (PyCFunction
) _wrap_Window_MoveBeforeInTabOrder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45335 { (char *)"Window_GetChildren", (PyCFunction
) _wrap_Window_GetChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45336 { (char *)"Window_GetParent", (PyCFunction
) _wrap_Window_GetParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45337 { (char *)"Window_GetGrandParent", (PyCFunction
) _wrap_Window_GetGrandParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45338 { (char *)"Window_IsTopLevel", (PyCFunction
) _wrap_Window_IsTopLevel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45339 { (char *)"Window_Reparent", (PyCFunction
) _wrap_Window_Reparent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45340 { (char *)"Window_AddChild", (PyCFunction
) _wrap_Window_AddChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45341 { (char *)"Window_RemoveChild", (PyCFunction
) _wrap_Window_RemoveChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45342 { (char *)"Window_FindWindowById", (PyCFunction
) _wrap_Window_FindWindowById
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45343 { (char *)"Window_FindWindowByName", (PyCFunction
) _wrap_Window_FindWindowByName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45344 { (char *)"Window_GetEventHandler", (PyCFunction
) _wrap_Window_GetEventHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45345 { (char *)"Window_SetEventHandler", (PyCFunction
) _wrap_Window_SetEventHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45346 { (char *)"Window_PushEventHandler", (PyCFunction
) _wrap_Window_PushEventHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45347 { (char *)"Window_PopEventHandler", (PyCFunction
) _wrap_Window_PopEventHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45348 { (char *)"Window_RemoveEventHandler", (PyCFunction
) _wrap_Window_RemoveEventHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45349 { (char *)"Window_SetValidator", (PyCFunction
) _wrap_Window_SetValidator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45350 { (char *)"Window_GetValidator", (PyCFunction
) _wrap_Window_GetValidator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45351 { (char *)"Window_Validate", (PyCFunction
) _wrap_Window_Validate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45352 { (char *)"Window_TransferDataToWindow", (PyCFunction
) _wrap_Window_TransferDataToWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45353 { (char *)"Window_TransferDataFromWindow", (PyCFunction
) _wrap_Window_TransferDataFromWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45354 { (char *)"Window_InitDialog", (PyCFunction
) _wrap_Window_InitDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45355 { (char *)"Window_SetAcceleratorTable", (PyCFunction
) _wrap_Window_SetAcceleratorTable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45356 { (char *)"Window_GetAcceleratorTable", (PyCFunction
) _wrap_Window_GetAcceleratorTable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45357 { (char *)"Window_RegisterHotKey", (PyCFunction
) _wrap_Window_RegisterHotKey
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45358 { (char *)"Window_UnregisterHotKey", (PyCFunction
) _wrap_Window_UnregisterHotKey
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45359 { (char *)"Window_ConvertDialogPointToPixels", (PyCFunction
) _wrap_Window_ConvertDialogPointToPixels
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45360 { (char *)"Window_ConvertDialogSizeToPixels", (PyCFunction
) _wrap_Window_ConvertDialogSizeToPixels
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45361 { (char *)"Window_DLG_PNT", (PyCFunction
) _wrap_Window_DLG_PNT
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45362 { (char *)"Window_DLG_SZE", (PyCFunction
) _wrap_Window_DLG_SZE
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45363 { (char *)"Window_ConvertPixelPointToDialog", (PyCFunction
) _wrap_Window_ConvertPixelPointToDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45364 { (char *)"Window_ConvertPixelSizeToDialog", (PyCFunction
) _wrap_Window_ConvertPixelSizeToDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45365 { (char *)"Window_WarpPointer", (PyCFunction
) _wrap_Window_WarpPointer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45366 { (char *)"Window_CaptureMouse", (PyCFunction
) _wrap_Window_CaptureMouse
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45367 { (char *)"Window_ReleaseMouse", (PyCFunction
) _wrap_Window_ReleaseMouse
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45368 { (char *)"Window_GetCapture", (PyCFunction
) _wrap_Window_GetCapture
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45369 { (char *)"Window_HasCapture", (PyCFunction
) _wrap_Window_HasCapture
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45370 { (char *)"Window_Refresh", (PyCFunction
) _wrap_Window_Refresh
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45371 { (char *)"Window_RefreshRect", (PyCFunction
) _wrap_Window_RefreshRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45372 { (char *)"Window_Update", (PyCFunction
) _wrap_Window_Update
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45373 { (char *)"Window_ClearBackground", (PyCFunction
) _wrap_Window_ClearBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45374 { (char *)"Window_Freeze", (PyCFunction
) _wrap_Window_Freeze
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45375 { (char *)"Window_Thaw", (PyCFunction
) _wrap_Window_Thaw
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45376 { (char *)"Window_PrepareDC", (PyCFunction
) _wrap_Window_PrepareDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45377 { (char *)"Window_GetUpdateRegion", (PyCFunction
) _wrap_Window_GetUpdateRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45378 { (char *)"Window_GetUpdateClientRect", (PyCFunction
) _wrap_Window_GetUpdateClientRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45379 { (char *)"Window_IsExposed", (PyCFunction
) _wrap_Window_IsExposed
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45380 { (char *)"Window_IsExposedPoint", (PyCFunction
) _wrap_Window_IsExposedPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45381 { (char *)"Window_IsExposedRect", (PyCFunction
) _wrap_Window_IsExposedRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45382 { (char *)"Window_GetDefaultAttributes", (PyCFunction
) _wrap_Window_GetDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45383 { (char *)"Window_GetClassDefaultAttributes", (PyCFunction
) _wrap_Window_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45384 { (char *)"Window_SetBackgroundColour", (PyCFunction
) _wrap_Window_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45385 { (char *)"Window_SetOwnBackgroundColour", (PyCFunction
) _wrap_Window_SetOwnBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45386 { (char *)"Window_SetForegroundColour", (PyCFunction
) _wrap_Window_SetForegroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45387 { (char *)"Window_SetOwnForegroundColour", (PyCFunction
) _wrap_Window_SetOwnForegroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45388 { (char *)"Window_GetBackgroundColour", (PyCFunction
) _wrap_Window_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45389 { (char *)"Window_GetForegroundColour", (PyCFunction
) _wrap_Window_GetForegroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45390 { (char *)"Window_SetBackgroundStyle", (PyCFunction
) _wrap_Window_SetBackgroundStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45391 { (char *)"Window_GetBackgroundStyle", (PyCFunction
) _wrap_Window_GetBackgroundStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45392 { (char *)"Window_HasTransparentBackground", (PyCFunction
) _wrap_Window_HasTransparentBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45393 { (char *)"Window_SetCursor", (PyCFunction
) _wrap_Window_SetCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45394 { (char *)"Window_GetCursor", (PyCFunction
) _wrap_Window_GetCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45395 { (char *)"Window_SetFont", (PyCFunction
) _wrap_Window_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45396 { (char *)"Window_SetOwnFont", (PyCFunction
) _wrap_Window_SetOwnFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45397 { (char *)"Window_GetFont", (PyCFunction
) _wrap_Window_GetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45398 { (char *)"Window_SetCaret", (PyCFunction
) _wrap_Window_SetCaret
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45399 { (char *)"Window_GetCaret", (PyCFunction
) _wrap_Window_GetCaret
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45400 { (char *)"Window_GetCharHeight", (PyCFunction
) _wrap_Window_GetCharHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45401 { (char *)"Window_GetCharWidth", (PyCFunction
) _wrap_Window_GetCharWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45402 { (char *)"Window_GetTextExtent", (PyCFunction
) _wrap_Window_GetTextExtent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45403 { (char *)"Window_GetFullTextExtent", (PyCFunction
) _wrap_Window_GetFullTextExtent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45404 { (char *)"Window_ClientToScreenXY", (PyCFunction
) _wrap_Window_ClientToScreenXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45405 { (char *)"Window_ScreenToClientXY", (PyCFunction
) _wrap_Window_ScreenToClientXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45406 { (char *)"Window_ClientToScreen", (PyCFunction
) _wrap_Window_ClientToScreen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45407 { (char *)"Window_ScreenToClient", (PyCFunction
) _wrap_Window_ScreenToClient
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45408 { (char *)"Window_HitTestXY", (PyCFunction
) _wrap_Window_HitTestXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45409 { (char *)"Window_HitTest", (PyCFunction
) _wrap_Window_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45410 { (char *)"Window_GetBorder", _wrap_Window_GetBorder
, METH_VARARGS
, NULL
},
45411 { (char *)"Window_UpdateWindowUI", (PyCFunction
) _wrap_Window_UpdateWindowUI
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45412 { (char *)"Window_PopupMenuXY", (PyCFunction
) _wrap_Window_PopupMenuXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45413 { (char *)"Window_PopupMenu", (PyCFunction
) _wrap_Window_PopupMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45414 { (char *)"Window_GetHandle", (PyCFunction
) _wrap_Window_GetHandle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45415 { (char *)"Window_AssociateHandle", (PyCFunction
) _wrap_Window_AssociateHandle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45416 { (char *)"Window_DissociateHandle", (PyCFunction
) _wrap_Window_DissociateHandle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45417 { (char *)"Window_OnPaint", (PyCFunction
) _wrap_Window_OnPaint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45418 { (char *)"Window_HasScrollbar", (PyCFunction
) _wrap_Window_HasScrollbar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45419 { (char *)"Window_SetScrollbar", (PyCFunction
) _wrap_Window_SetScrollbar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45420 { (char *)"Window_SetScrollPos", (PyCFunction
) _wrap_Window_SetScrollPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45421 { (char *)"Window_GetScrollPos", (PyCFunction
) _wrap_Window_GetScrollPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45422 { (char *)"Window_GetScrollThumb", (PyCFunction
) _wrap_Window_GetScrollThumb
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45423 { (char *)"Window_GetScrollRange", (PyCFunction
) _wrap_Window_GetScrollRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45424 { (char *)"Window_ScrollWindow", (PyCFunction
) _wrap_Window_ScrollWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45425 { (char *)"Window_ScrollLines", (PyCFunction
) _wrap_Window_ScrollLines
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45426 { (char *)"Window_ScrollPages", (PyCFunction
) _wrap_Window_ScrollPages
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45427 { (char *)"Window_LineUp", (PyCFunction
) _wrap_Window_LineUp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45428 { (char *)"Window_LineDown", (PyCFunction
) _wrap_Window_LineDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45429 { (char *)"Window_PageUp", (PyCFunction
) _wrap_Window_PageUp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45430 { (char *)"Window_PageDown", (PyCFunction
) _wrap_Window_PageDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45431 { (char *)"Window_SetHelpText", (PyCFunction
) _wrap_Window_SetHelpText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45432 { (char *)"Window_SetHelpTextForId", (PyCFunction
) _wrap_Window_SetHelpTextForId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45433 { (char *)"Window_GetHelpText", (PyCFunction
) _wrap_Window_GetHelpText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45434 { (char *)"Window_SetToolTipString", (PyCFunction
) _wrap_Window_SetToolTipString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45435 { (char *)"Window_SetToolTip", (PyCFunction
) _wrap_Window_SetToolTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45436 { (char *)"Window_GetToolTip", (PyCFunction
) _wrap_Window_GetToolTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45437 { (char *)"Window_SetDropTarget", (PyCFunction
) _wrap_Window_SetDropTarget
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45438 { (char *)"Window_GetDropTarget", (PyCFunction
) _wrap_Window_GetDropTarget
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45439 { (char *)"Window_DragAcceptFiles", (PyCFunction
) _wrap_Window_DragAcceptFiles
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45440 { (char *)"Window_SetConstraints", (PyCFunction
) _wrap_Window_SetConstraints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45441 { (char *)"Window_GetConstraints", (PyCFunction
) _wrap_Window_GetConstraints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45442 { (char *)"Window_SetAutoLayout", (PyCFunction
) _wrap_Window_SetAutoLayout
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45443 { (char *)"Window_GetAutoLayout", (PyCFunction
) _wrap_Window_GetAutoLayout
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45444 { (char *)"Window_Layout", (PyCFunction
) _wrap_Window_Layout
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45445 { (char *)"Window_SetSizer", (PyCFunction
) _wrap_Window_SetSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45446 { (char *)"Window_SetSizerAndFit", (PyCFunction
) _wrap_Window_SetSizerAndFit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45447 { (char *)"Window_GetSizer", (PyCFunction
) _wrap_Window_GetSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45448 { (char *)"Window_SetContainingSizer", (PyCFunction
) _wrap_Window_SetContainingSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45449 { (char *)"Window_GetContainingSizer", (PyCFunction
) _wrap_Window_GetContainingSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45450 { (char *)"Window_InheritAttributes", (PyCFunction
) _wrap_Window_InheritAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45451 { (char *)"Window_ShouldInheritColours", (PyCFunction
) _wrap_Window_ShouldInheritColours
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45452 { (char *)"Window_swigregister", Window_swigregister
, METH_VARARGS
, NULL
},
45453 { (char *)"FindWindowById", (PyCFunction
) _wrap_FindWindowById
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45454 { (char *)"FindWindowByName", (PyCFunction
) _wrap_FindWindowByName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45455 { (char *)"FindWindowByLabel", (PyCFunction
) _wrap_FindWindowByLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45456 { (char *)"Window_FromHWND", (PyCFunction
) _wrap_Window_FromHWND
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45457 { (char *)"new_Validator", (PyCFunction
) _wrap_new_Validator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45458 { (char *)"Validator_Clone", (PyCFunction
) _wrap_Validator_Clone
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45459 { (char *)"Validator_Validate", (PyCFunction
) _wrap_Validator_Validate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45460 { (char *)"Validator_TransferToWindow", (PyCFunction
) _wrap_Validator_TransferToWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45461 { (char *)"Validator_TransferFromWindow", (PyCFunction
) _wrap_Validator_TransferFromWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45462 { (char *)"Validator_GetWindow", (PyCFunction
) _wrap_Validator_GetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45463 { (char *)"Validator_SetWindow", (PyCFunction
) _wrap_Validator_SetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45464 { (char *)"Validator_IsSilent", (PyCFunction
) _wrap_Validator_IsSilent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45465 { (char *)"Validator_SetBellOnError", (PyCFunction
) _wrap_Validator_SetBellOnError
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45466 { (char *)"Validator_swigregister", Validator_swigregister
, METH_VARARGS
, NULL
},
45467 { (char *)"new_PyValidator", (PyCFunction
) _wrap_new_PyValidator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45468 { (char *)"PyValidator__setCallbackInfo", (PyCFunction
) _wrap_PyValidator__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45469 { (char *)"PyValidator_swigregister", PyValidator_swigregister
, METH_VARARGS
, NULL
},
45470 { (char *)"new_Menu", (PyCFunction
) _wrap_new_Menu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45471 { (char *)"Menu_Append", (PyCFunction
) _wrap_Menu_Append
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45472 { (char *)"Menu_AppendSeparator", (PyCFunction
) _wrap_Menu_AppendSeparator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45473 { (char *)"Menu_AppendCheckItem", (PyCFunction
) _wrap_Menu_AppendCheckItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45474 { (char *)"Menu_AppendRadioItem", (PyCFunction
) _wrap_Menu_AppendRadioItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45475 { (char *)"Menu_AppendMenu", (PyCFunction
) _wrap_Menu_AppendMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45476 { (char *)"Menu_AppendItem", (PyCFunction
) _wrap_Menu_AppendItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45477 { (char *)"Menu_Break", (PyCFunction
) _wrap_Menu_Break
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45478 { (char *)"Menu_InsertItem", (PyCFunction
) _wrap_Menu_InsertItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45479 { (char *)"Menu_Insert", (PyCFunction
) _wrap_Menu_Insert
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45480 { (char *)"Menu_InsertSeparator", (PyCFunction
) _wrap_Menu_InsertSeparator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45481 { (char *)"Menu_InsertCheckItem", (PyCFunction
) _wrap_Menu_InsertCheckItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45482 { (char *)"Menu_InsertRadioItem", (PyCFunction
) _wrap_Menu_InsertRadioItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45483 { (char *)"Menu_InsertMenu", (PyCFunction
) _wrap_Menu_InsertMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45484 { (char *)"Menu_PrependItem", (PyCFunction
) _wrap_Menu_PrependItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45485 { (char *)"Menu_Prepend", (PyCFunction
) _wrap_Menu_Prepend
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45486 { (char *)"Menu_PrependSeparator", (PyCFunction
) _wrap_Menu_PrependSeparator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45487 { (char *)"Menu_PrependCheckItem", (PyCFunction
) _wrap_Menu_PrependCheckItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45488 { (char *)"Menu_PrependRadioItem", (PyCFunction
) _wrap_Menu_PrependRadioItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45489 { (char *)"Menu_PrependMenu", (PyCFunction
) _wrap_Menu_PrependMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45490 { (char *)"Menu_Remove", (PyCFunction
) _wrap_Menu_Remove
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45491 { (char *)"Menu_RemoveItem", (PyCFunction
) _wrap_Menu_RemoveItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45492 { (char *)"Menu_Delete", (PyCFunction
) _wrap_Menu_Delete
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45493 { (char *)"Menu_DeleteItem", (PyCFunction
) _wrap_Menu_DeleteItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45494 { (char *)"Menu_Destroy", (PyCFunction
) _wrap_Menu_Destroy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45495 { (char *)"Menu_DestroyId", (PyCFunction
) _wrap_Menu_DestroyId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45496 { (char *)"Menu_DestroyItem", (PyCFunction
) _wrap_Menu_DestroyItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45497 { (char *)"Menu_GetMenuItemCount", (PyCFunction
) _wrap_Menu_GetMenuItemCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45498 { (char *)"Menu_GetMenuItems", (PyCFunction
) _wrap_Menu_GetMenuItems
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45499 { (char *)"Menu_FindItem", (PyCFunction
) _wrap_Menu_FindItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45500 { (char *)"Menu_FindItemById", (PyCFunction
) _wrap_Menu_FindItemById
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45501 { (char *)"Menu_FindItemByPosition", (PyCFunction
) _wrap_Menu_FindItemByPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45502 { (char *)"Menu_Enable", (PyCFunction
) _wrap_Menu_Enable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45503 { (char *)"Menu_IsEnabled", (PyCFunction
) _wrap_Menu_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45504 { (char *)"Menu_Check", (PyCFunction
) _wrap_Menu_Check
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45505 { (char *)"Menu_IsChecked", (PyCFunction
) _wrap_Menu_IsChecked
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45506 { (char *)"Menu_SetLabel", (PyCFunction
) _wrap_Menu_SetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45507 { (char *)"Menu_GetLabel", (PyCFunction
) _wrap_Menu_GetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45508 { (char *)"Menu_SetHelpString", (PyCFunction
) _wrap_Menu_SetHelpString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45509 { (char *)"Menu_GetHelpString", (PyCFunction
) _wrap_Menu_GetHelpString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45510 { (char *)"Menu_SetTitle", (PyCFunction
) _wrap_Menu_SetTitle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45511 { (char *)"Menu_GetTitle", (PyCFunction
) _wrap_Menu_GetTitle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45512 { (char *)"Menu_SetEventHandler", (PyCFunction
) _wrap_Menu_SetEventHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45513 { (char *)"Menu_GetEventHandler", (PyCFunction
) _wrap_Menu_GetEventHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45514 { (char *)"Menu_SetInvokingWindow", (PyCFunction
) _wrap_Menu_SetInvokingWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45515 { (char *)"Menu_GetInvokingWindow", (PyCFunction
) _wrap_Menu_GetInvokingWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45516 { (char *)"Menu_GetStyle", (PyCFunction
) _wrap_Menu_GetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45517 { (char *)"Menu_UpdateUI", (PyCFunction
) _wrap_Menu_UpdateUI
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45518 { (char *)"Menu_GetMenuBar", (PyCFunction
) _wrap_Menu_GetMenuBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45519 { (char *)"Menu_Attach", (PyCFunction
) _wrap_Menu_Attach
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45520 { (char *)"Menu_Detach", (PyCFunction
) _wrap_Menu_Detach
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45521 { (char *)"Menu_IsAttached", (PyCFunction
) _wrap_Menu_IsAttached
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45522 { (char *)"Menu_SetParent", (PyCFunction
) _wrap_Menu_SetParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45523 { (char *)"Menu_GetParent", (PyCFunction
) _wrap_Menu_GetParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45524 { (char *)"Menu_swigregister", Menu_swigregister
, METH_VARARGS
, NULL
},
45525 { (char *)"new_MenuBar", (PyCFunction
) _wrap_new_MenuBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45526 { (char *)"MenuBar_Append", (PyCFunction
) _wrap_MenuBar_Append
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45527 { (char *)"MenuBar_Insert", (PyCFunction
) _wrap_MenuBar_Insert
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45528 { (char *)"MenuBar_GetMenuCount", (PyCFunction
) _wrap_MenuBar_GetMenuCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45529 { (char *)"MenuBar_GetMenu", (PyCFunction
) _wrap_MenuBar_GetMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45530 { (char *)"MenuBar_Replace", (PyCFunction
) _wrap_MenuBar_Replace
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45531 { (char *)"MenuBar_Remove", (PyCFunction
) _wrap_MenuBar_Remove
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45532 { (char *)"MenuBar_EnableTop", (PyCFunction
) _wrap_MenuBar_EnableTop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45533 { (char *)"MenuBar_IsEnabledTop", (PyCFunction
) _wrap_MenuBar_IsEnabledTop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45534 { (char *)"MenuBar_SetLabelTop", (PyCFunction
) _wrap_MenuBar_SetLabelTop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45535 { (char *)"MenuBar_GetLabelTop", (PyCFunction
) _wrap_MenuBar_GetLabelTop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45536 { (char *)"MenuBar_FindMenuItem", (PyCFunction
) _wrap_MenuBar_FindMenuItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45537 { (char *)"MenuBar_FindItemById", (PyCFunction
) _wrap_MenuBar_FindItemById
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45538 { (char *)"MenuBar_FindMenu", (PyCFunction
) _wrap_MenuBar_FindMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45539 { (char *)"MenuBar_Enable", (PyCFunction
) _wrap_MenuBar_Enable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45540 { (char *)"MenuBar_Check", (PyCFunction
) _wrap_MenuBar_Check
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45541 { (char *)"MenuBar_IsChecked", (PyCFunction
) _wrap_MenuBar_IsChecked
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45542 { (char *)"MenuBar_IsEnabled", (PyCFunction
) _wrap_MenuBar_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45543 { (char *)"MenuBar_SetLabel", (PyCFunction
) _wrap_MenuBar_SetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45544 { (char *)"MenuBar_GetLabel", (PyCFunction
) _wrap_MenuBar_GetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45545 { (char *)"MenuBar_SetHelpString", (PyCFunction
) _wrap_MenuBar_SetHelpString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45546 { (char *)"MenuBar_GetHelpString", (PyCFunction
) _wrap_MenuBar_GetHelpString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45547 { (char *)"MenuBar_GetFrame", (PyCFunction
) _wrap_MenuBar_GetFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45548 { (char *)"MenuBar_IsAttached", (PyCFunction
) _wrap_MenuBar_IsAttached
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45549 { (char *)"MenuBar_Attach", (PyCFunction
) _wrap_MenuBar_Attach
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45550 { (char *)"MenuBar_Detach", (PyCFunction
) _wrap_MenuBar_Detach
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45551 { (char *)"MenuBar_swigregister", MenuBar_swigregister
, METH_VARARGS
, NULL
},
45552 { (char *)"new_MenuItem", (PyCFunction
) _wrap_new_MenuItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45553 { (char *)"MenuItem_GetMenu", (PyCFunction
) _wrap_MenuItem_GetMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45554 { (char *)"MenuItem_SetMenu", (PyCFunction
) _wrap_MenuItem_SetMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45555 { (char *)"MenuItem_SetId", (PyCFunction
) _wrap_MenuItem_SetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45556 { (char *)"MenuItem_GetId", (PyCFunction
) _wrap_MenuItem_GetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45557 { (char *)"MenuItem_IsSeparator", (PyCFunction
) _wrap_MenuItem_IsSeparator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45558 { (char *)"MenuItem_SetText", (PyCFunction
) _wrap_MenuItem_SetText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45559 { (char *)"MenuItem_GetLabel", (PyCFunction
) _wrap_MenuItem_GetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45560 { (char *)"MenuItem_GetText", (PyCFunction
) _wrap_MenuItem_GetText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45561 { (char *)"MenuItem_GetLabelFromText", (PyCFunction
) _wrap_MenuItem_GetLabelFromText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45562 { (char *)"MenuItem_GetKind", (PyCFunction
) _wrap_MenuItem_GetKind
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45563 { (char *)"MenuItem_SetKind", (PyCFunction
) _wrap_MenuItem_SetKind
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45564 { (char *)"MenuItem_SetCheckable", (PyCFunction
) _wrap_MenuItem_SetCheckable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45565 { (char *)"MenuItem_IsCheckable", (PyCFunction
) _wrap_MenuItem_IsCheckable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45566 { (char *)"MenuItem_IsSubMenu", (PyCFunction
) _wrap_MenuItem_IsSubMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45567 { (char *)"MenuItem_SetSubMenu", (PyCFunction
) _wrap_MenuItem_SetSubMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45568 { (char *)"MenuItem_GetSubMenu", (PyCFunction
) _wrap_MenuItem_GetSubMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45569 { (char *)"MenuItem_Enable", (PyCFunction
) _wrap_MenuItem_Enable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45570 { (char *)"MenuItem_IsEnabled", (PyCFunction
) _wrap_MenuItem_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45571 { (char *)"MenuItem_Check", (PyCFunction
) _wrap_MenuItem_Check
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45572 { (char *)"MenuItem_IsChecked", (PyCFunction
) _wrap_MenuItem_IsChecked
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45573 { (char *)"MenuItem_Toggle", (PyCFunction
) _wrap_MenuItem_Toggle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45574 { (char *)"MenuItem_SetHelp", (PyCFunction
) _wrap_MenuItem_SetHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45575 { (char *)"MenuItem_GetHelp", (PyCFunction
) _wrap_MenuItem_GetHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45576 { (char *)"MenuItem_GetAccel", (PyCFunction
) _wrap_MenuItem_GetAccel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45577 { (char *)"MenuItem_SetAccel", (PyCFunction
) _wrap_MenuItem_SetAccel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45578 { (char *)"MenuItem_SetFont", (PyCFunction
) _wrap_MenuItem_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45579 { (char *)"MenuItem_GetFont", (PyCFunction
) _wrap_MenuItem_GetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45580 { (char *)"MenuItem_SetTextColour", (PyCFunction
) _wrap_MenuItem_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45581 { (char *)"MenuItem_GetTextColour", (PyCFunction
) _wrap_MenuItem_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45582 { (char *)"MenuItem_SetBackgroundColour", (PyCFunction
) _wrap_MenuItem_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45583 { (char *)"MenuItem_GetBackgroundColour", (PyCFunction
) _wrap_MenuItem_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45584 { (char *)"MenuItem_SetBitmaps", (PyCFunction
) _wrap_MenuItem_SetBitmaps
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45585 { (char *)"MenuItem_SetDisabledBitmap", (PyCFunction
) _wrap_MenuItem_SetDisabledBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45586 { (char *)"MenuItem_GetDisabledBitmap", (PyCFunction
) _wrap_MenuItem_GetDisabledBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45587 { (char *)"MenuItem_SetMarginWidth", (PyCFunction
) _wrap_MenuItem_SetMarginWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45588 { (char *)"MenuItem_GetMarginWidth", (PyCFunction
) _wrap_MenuItem_GetMarginWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45589 { (char *)"MenuItem_GetDefaultMarginWidth", (PyCFunction
) _wrap_MenuItem_GetDefaultMarginWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45590 { (char *)"MenuItem_IsOwnerDrawn", (PyCFunction
) _wrap_MenuItem_IsOwnerDrawn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45591 { (char *)"MenuItem_SetOwnerDrawn", (PyCFunction
) _wrap_MenuItem_SetOwnerDrawn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45592 { (char *)"MenuItem_ResetOwnerDrawn", (PyCFunction
) _wrap_MenuItem_ResetOwnerDrawn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45593 { (char *)"MenuItem_SetBitmap", (PyCFunction
) _wrap_MenuItem_SetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45594 { (char *)"MenuItem_GetBitmap", (PyCFunction
) _wrap_MenuItem_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45595 { (char *)"MenuItem_swigregister", MenuItem_swigregister
, METH_VARARGS
, NULL
},
45596 { (char *)"new_Control", (PyCFunction
) _wrap_new_Control
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45597 { (char *)"new_PreControl", (PyCFunction
) _wrap_new_PreControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45598 { (char *)"Control_Create", (PyCFunction
) _wrap_Control_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45599 { (char *)"Control_Command", (PyCFunction
) _wrap_Control_Command
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45600 { (char *)"Control_GetLabel", (PyCFunction
) _wrap_Control_GetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45601 { (char *)"Control_SetLabel", (PyCFunction
) _wrap_Control_SetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45602 { (char *)"Control_GetClassDefaultAttributes", (PyCFunction
) _wrap_Control_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45603 { (char *)"Control_swigregister", Control_swigregister
, METH_VARARGS
, NULL
},
45604 { (char *)"ItemContainer_Append", (PyCFunction
) _wrap_ItemContainer_Append
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45605 { (char *)"ItemContainer_AppendItems", (PyCFunction
) _wrap_ItemContainer_AppendItems
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45606 { (char *)"ItemContainer_Insert", (PyCFunction
) _wrap_ItemContainer_Insert
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45607 { (char *)"ItemContainer_Clear", (PyCFunction
) _wrap_ItemContainer_Clear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45608 { (char *)"ItemContainer_Delete", (PyCFunction
) _wrap_ItemContainer_Delete
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45609 { (char *)"ItemContainer_GetClientData", (PyCFunction
) _wrap_ItemContainer_GetClientData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45610 { (char *)"ItemContainer_SetClientData", (PyCFunction
) _wrap_ItemContainer_SetClientData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45611 { (char *)"ItemContainer_GetCount", (PyCFunction
) _wrap_ItemContainer_GetCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45612 { (char *)"ItemContainer_IsEmpty", (PyCFunction
) _wrap_ItemContainer_IsEmpty
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45613 { (char *)"ItemContainer_GetString", (PyCFunction
) _wrap_ItemContainer_GetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45614 { (char *)"ItemContainer_GetStrings", (PyCFunction
) _wrap_ItemContainer_GetStrings
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45615 { (char *)"ItemContainer_SetString", (PyCFunction
) _wrap_ItemContainer_SetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45616 { (char *)"ItemContainer_FindString", (PyCFunction
) _wrap_ItemContainer_FindString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45617 { (char *)"ItemContainer_SetSelection", (PyCFunction
) _wrap_ItemContainer_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45618 { (char *)"ItemContainer_GetSelection", (PyCFunction
) _wrap_ItemContainer_GetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45619 { (char *)"ItemContainer_SetStringSelection", (PyCFunction
) _wrap_ItemContainer_SetStringSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45620 { (char *)"ItemContainer_GetStringSelection", (PyCFunction
) _wrap_ItemContainer_GetStringSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45621 { (char *)"ItemContainer_Select", (PyCFunction
) _wrap_ItemContainer_Select
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45622 { (char *)"ItemContainer_swigregister", ItemContainer_swigregister
, METH_VARARGS
, NULL
},
45623 { (char *)"ControlWithItems_swigregister", ControlWithItems_swigregister
, METH_VARARGS
, NULL
},
45624 { (char *)"new_SizerItem", (PyCFunction
) _wrap_new_SizerItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45625 { (char *)"new_SizerItemWindow", (PyCFunction
) _wrap_new_SizerItemWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45626 { (char *)"new_SizerItemSpacer", (PyCFunction
) _wrap_new_SizerItemSpacer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45627 { (char *)"new_SizerItemSizer", (PyCFunction
) _wrap_new_SizerItemSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45628 { (char *)"SizerItem_DeleteWindows", (PyCFunction
) _wrap_SizerItem_DeleteWindows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45629 { (char *)"SizerItem_DetachSizer", (PyCFunction
) _wrap_SizerItem_DetachSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45630 { (char *)"SizerItem_GetSize", (PyCFunction
) _wrap_SizerItem_GetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45631 { (char *)"SizerItem_CalcMin", (PyCFunction
) _wrap_SizerItem_CalcMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45632 { (char *)"SizerItem_SetDimension", (PyCFunction
) _wrap_SizerItem_SetDimension
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45633 { (char *)"SizerItem_GetMinSize", (PyCFunction
) _wrap_SizerItem_GetMinSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45634 { (char *)"SizerItem_GetMinSizeWithBorder", (PyCFunction
) _wrap_SizerItem_GetMinSizeWithBorder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45635 { (char *)"SizerItem_SetInitSize", (PyCFunction
) _wrap_SizerItem_SetInitSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45636 { (char *)"SizerItem_SetRatioWH", (PyCFunction
) _wrap_SizerItem_SetRatioWH
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45637 { (char *)"SizerItem_SetRatioSize", (PyCFunction
) _wrap_SizerItem_SetRatioSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45638 { (char *)"SizerItem_SetRatio", (PyCFunction
) _wrap_SizerItem_SetRatio
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45639 { (char *)"SizerItem_GetRatio", (PyCFunction
) _wrap_SizerItem_GetRatio
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45640 { (char *)"SizerItem_GetRect", (PyCFunction
) _wrap_SizerItem_GetRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45641 { (char *)"SizerItem_IsWindow", (PyCFunction
) _wrap_SizerItem_IsWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45642 { (char *)"SizerItem_IsSizer", (PyCFunction
) _wrap_SizerItem_IsSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45643 { (char *)"SizerItem_IsSpacer", (PyCFunction
) _wrap_SizerItem_IsSpacer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45644 { (char *)"SizerItem_SetProportion", (PyCFunction
) _wrap_SizerItem_SetProportion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45645 { (char *)"SizerItem_GetProportion", (PyCFunction
) _wrap_SizerItem_GetProportion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45646 { (char *)"SizerItem_SetFlag", (PyCFunction
) _wrap_SizerItem_SetFlag
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45647 { (char *)"SizerItem_GetFlag", (PyCFunction
) _wrap_SizerItem_GetFlag
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45648 { (char *)"SizerItem_SetBorder", (PyCFunction
) _wrap_SizerItem_SetBorder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45649 { (char *)"SizerItem_GetBorder", (PyCFunction
) _wrap_SizerItem_GetBorder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45650 { (char *)"SizerItem_GetWindow", (PyCFunction
) _wrap_SizerItem_GetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45651 { (char *)"SizerItem_SetWindow", (PyCFunction
) _wrap_SizerItem_SetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45652 { (char *)"SizerItem_GetSizer", (PyCFunction
) _wrap_SizerItem_GetSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45653 { (char *)"SizerItem_SetSizer", (PyCFunction
) _wrap_SizerItem_SetSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45654 { (char *)"SizerItem_GetSpacer", (PyCFunction
) _wrap_SizerItem_GetSpacer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45655 { (char *)"SizerItem_SetSpacer", (PyCFunction
) _wrap_SizerItem_SetSpacer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45656 { (char *)"SizerItem_Show", (PyCFunction
) _wrap_SizerItem_Show
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45657 { (char *)"SizerItem_IsShown", (PyCFunction
) _wrap_SizerItem_IsShown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45658 { (char *)"SizerItem_GetPosition", (PyCFunction
) _wrap_SizerItem_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45659 { (char *)"SizerItem_GetUserData", (PyCFunction
) _wrap_SizerItem_GetUserData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45660 { (char *)"SizerItem_swigregister", SizerItem_swigregister
, METH_VARARGS
, NULL
},
45661 { (char *)"Sizer__setOORInfo", (PyCFunction
) _wrap_Sizer__setOORInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45662 { (char *)"Sizer_Add", (PyCFunction
) _wrap_Sizer_Add
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45663 { (char *)"Sizer_Insert", (PyCFunction
) _wrap_Sizer_Insert
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45664 { (char *)"Sizer_Prepend", (PyCFunction
) _wrap_Sizer_Prepend
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45665 { (char *)"Sizer_Remove", (PyCFunction
) _wrap_Sizer_Remove
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45666 { (char *)"Sizer_Detach", (PyCFunction
) _wrap_Sizer_Detach
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45667 { (char *)"Sizer_GetItem", (PyCFunction
) _wrap_Sizer_GetItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45668 { (char *)"Sizer__SetItemMinSize", (PyCFunction
) _wrap_Sizer__SetItemMinSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45669 { (char *)"Sizer_AddItem", (PyCFunction
) _wrap_Sizer_AddItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45670 { (char *)"Sizer_InsertItem", (PyCFunction
) _wrap_Sizer_InsertItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45671 { (char *)"Sizer_PrependItem", (PyCFunction
) _wrap_Sizer_PrependItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45672 { (char *)"Sizer_SetDimension", (PyCFunction
) _wrap_Sizer_SetDimension
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45673 { (char *)"Sizer_SetMinSize", (PyCFunction
) _wrap_Sizer_SetMinSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45674 { (char *)"Sizer_GetSize", (PyCFunction
) _wrap_Sizer_GetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45675 { (char *)"Sizer_GetPosition", (PyCFunction
) _wrap_Sizer_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45676 { (char *)"Sizer_GetMinSize", (PyCFunction
) _wrap_Sizer_GetMinSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45677 { (char *)"Sizer_RecalcSizes", (PyCFunction
) _wrap_Sizer_RecalcSizes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45678 { (char *)"Sizer_CalcMin", (PyCFunction
) _wrap_Sizer_CalcMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45679 { (char *)"Sizer_Layout", (PyCFunction
) _wrap_Sizer_Layout
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45680 { (char *)"Sizer_Fit", (PyCFunction
) _wrap_Sizer_Fit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45681 { (char *)"Sizer_FitInside", (PyCFunction
) _wrap_Sizer_FitInside
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45682 { (char *)"Sizer_SetSizeHints", (PyCFunction
) _wrap_Sizer_SetSizeHints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45683 { (char *)"Sizer_SetVirtualSizeHints", (PyCFunction
) _wrap_Sizer_SetVirtualSizeHints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45684 { (char *)"Sizer_Clear", (PyCFunction
) _wrap_Sizer_Clear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45685 { (char *)"Sizer_DeleteWindows", (PyCFunction
) _wrap_Sizer_DeleteWindows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45686 { (char *)"Sizer_GetChildren", (PyCFunction
) _wrap_Sizer_GetChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45687 { (char *)"Sizer_Show", (PyCFunction
) _wrap_Sizer_Show
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45688 { (char *)"Sizer_IsShown", (PyCFunction
) _wrap_Sizer_IsShown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45689 { (char *)"Sizer_ShowItems", (PyCFunction
) _wrap_Sizer_ShowItems
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45690 { (char *)"Sizer_swigregister", Sizer_swigregister
, METH_VARARGS
, NULL
},
45691 { (char *)"new_PySizer", (PyCFunction
) _wrap_new_PySizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45692 { (char *)"PySizer__setCallbackInfo", (PyCFunction
) _wrap_PySizer__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45693 { (char *)"PySizer_swigregister", PySizer_swigregister
, METH_VARARGS
, NULL
},
45694 { (char *)"new_BoxSizer", (PyCFunction
) _wrap_new_BoxSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45695 { (char *)"BoxSizer_GetOrientation", (PyCFunction
) _wrap_BoxSizer_GetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45696 { (char *)"BoxSizer_SetOrientation", (PyCFunction
) _wrap_BoxSizer_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45697 { (char *)"BoxSizer_swigregister", BoxSizer_swigregister
, METH_VARARGS
, NULL
},
45698 { (char *)"new_StaticBoxSizer", (PyCFunction
) _wrap_new_StaticBoxSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45699 { (char *)"StaticBoxSizer_GetStaticBox", (PyCFunction
) _wrap_StaticBoxSizer_GetStaticBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45700 { (char *)"StaticBoxSizer_swigregister", StaticBoxSizer_swigregister
, METH_VARARGS
, NULL
},
45701 { (char *)"new_GridSizer", (PyCFunction
) _wrap_new_GridSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45702 { (char *)"GridSizer_SetCols", (PyCFunction
) _wrap_GridSizer_SetCols
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45703 { (char *)"GridSizer_SetRows", (PyCFunction
) _wrap_GridSizer_SetRows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45704 { (char *)"GridSizer_SetVGap", (PyCFunction
) _wrap_GridSizer_SetVGap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45705 { (char *)"GridSizer_SetHGap", (PyCFunction
) _wrap_GridSizer_SetHGap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45706 { (char *)"GridSizer_GetCols", (PyCFunction
) _wrap_GridSizer_GetCols
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45707 { (char *)"GridSizer_GetRows", (PyCFunction
) _wrap_GridSizer_GetRows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45708 { (char *)"GridSizer_GetVGap", (PyCFunction
) _wrap_GridSizer_GetVGap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45709 { (char *)"GridSizer_GetHGap", (PyCFunction
) _wrap_GridSizer_GetHGap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45710 { (char *)"GridSizer_swigregister", GridSizer_swigregister
, METH_VARARGS
, NULL
},
45711 { (char *)"new_FlexGridSizer", (PyCFunction
) _wrap_new_FlexGridSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45712 { (char *)"FlexGridSizer_AddGrowableRow", (PyCFunction
) _wrap_FlexGridSizer_AddGrowableRow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45713 { (char *)"FlexGridSizer_RemoveGrowableRow", (PyCFunction
) _wrap_FlexGridSizer_RemoveGrowableRow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45714 { (char *)"FlexGridSizer_AddGrowableCol", (PyCFunction
) _wrap_FlexGridSizer_AddGrowableCol
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45715 { (char *)"FlexGridSizer_RemoveGrowableCol", (PyCFunction
) _wrap_FlexGridSizer_RemoveGrowableCol
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45716 { (char *)"FlexGridSizer_SetFlexibleDirection", (PyCFunction
) _wrap_FlexGridSizer_SetFlexibleDirection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45717 { (char *)"FlexGridSizer_GetFlexibleDirection", (PyCFunction
) _wrap_FlexGridSizer_GetFlexibleDirection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45718 { (char *)"FlexGridSizer_SetNonFlexibleGrowMode", (PyCFunction
) _wrap_FlexGridSizer_SetNonFlexibleGrowMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45719 { (char *)"FlexGridSizer_GetNonFlexibleGrowMode", (PyCFunction
) _wrap_FlexGridSizer_GetNonFlexibleGrowMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45720 { (char *)"FlexGridSizer_GetRowHeights", (PyCFunction
) _wrap_FlexGridSizer_GetRowHeights
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45721 { (char *)"FlexGridSizer_GetColWidths", (PyCFunction
) _wrap_FlexGridSizer_GetColWidths
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45722 { (char *)"FlexGridSizer_swigregister", FlexGridSizer_swigregister
, METH_VARARGS
, NULL
},
45723 { (char *)"new_StdDialogButtonSizer", (PyCFunction
) _wrap_new_StdDialogButtonSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45724 { (char *)"StdDialogButtonSizer_AddButton", (PyCFunction
) _wrap_StdDialogButtonSizer_AddButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45725 { (char *)"StdDialogButtonSizer_Realize", (PyCFunction
) _wrap_StdDialogButtonSizer_Realize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45726 { (char *)"StdDialogButtonSizer_SetAffirmativeButton", (PyCFunction
) _wrap_StdDialogButtonSizer_SetAffirmativeButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45727 { (char *)"StdDialogButtonSizer_SetNegativeButton", (PyCFunction
) _wrap_StdDialogButtonSizer_SetNegativeButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45728 { (char *)"StdDialogButtonSizer_SetCancelButton", (PyCFunction
) _wrap_StdDialogButtonSizer_SetCancelButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45729 { (char *)"StdDialogButtonSizer_GetAffirmativeButton", (PyCFunction
) _wrap_StdDialogButtonSizer_GetAffirmativeButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45730 { (char *)"StdDialogButtonSizer_GetApplyButton", (PyCFunction
) _wrap_StdDialogButtonSizer_GetApplyButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45731 { (char *)"StdDialogButtonSizer_GetNegativeButton", (PyCFunction
) _wrap_StdDialogButtonSizer_GetNegativeButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45732 { (char *)"StdDialogButtonSizer_GetCancelButton", (PyCFunction
) _wrap_StdDialogButtonSizer_GetCancelButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45733 { (char *)"StdDialogButtonSizer_GetHelpButton", (PyCFunction
) _wrap_StdDialogButtonSizer_GetHelpButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45734 { (char *)"StdDialogButtonSizer_swigregister", StdDialogButtonSizer_swigregister
, METH_VARARGS
, NULL
},
45735 { (char *)"new_GBPosition", (PyCFunction
) _wrap_new_GBPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45736 { (char *)"GBPosition_GetRow", (PyCFunction
) _wrap_GBPosition_GetRow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45737 { (char *)"GBPosition_GetCol", (PyCFunction
) _wrap_GBPosition_GetCol
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45738 { (char *)"GBPosition_SetRow", (PyCFunction
) _wrap_GBPosition_SetRow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45739 { (char *)"GBPosition_SetCol", (PyCFunction
) _wrap_GBPosition_SetCol
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45740 { (char *)"GBPosition___eq__", (PyCFunction
) _wrap_GBPosition___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45741 { (char *)"GBPosition___ne__", (PyCFunction
) _wrap_GBPosition___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45742 { (char *)"GBPosition_Set", (PyCFunction
) _wrap_GBPosition_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45743 { (char *)"GBPosition_Get", (PyCFunction
) _wrap_GBPosition_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45744 { (char *)"GBPosition_swigregister", GBPosition_swigregister
, METH_VARARGS
, NULL
},
45745 { (char *)"new_GBSpan", (PyCFunction
) _wrap_new_GBSpan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45746 { (char *)"GBSpan_GetRowspan", (PyCFunction
) _wrap_GBSpan_GetRowspan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45747 { (char *)"GBSpan_GetColspan", (PyCFunction
) _wrap_GBSpan_GetColspan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45748 { (char *)"GBSpan_SetRowspan", (PyCFunction
) _wrap_GBSpan_SetRowspan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45749 { (char *)"GBSpan_SetColspan", (PyCFunction
) _wrap_GBSpan_SetColspan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45750 { (char *)"GBSpan___eq__", (PyCFunction
) _wrap_GBSpan___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45751 { (char *)"GBSpan___ne__", (PyCFunction
) _wrap_GBSpan___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45752 { (char *)"GBSpan_Set", (PyCFunction
) _wrap_GBSpan_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45753 { (char *)"GBSpan_Get", (PyCFunction
) _wrap_GBSpan_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45754 { (char *)"GBSpan_swigregister", GBSpan_swigregister
, METH_VARARGS
, NULL
},
45755 { (char *)"new_GBSizerItem", (PyCFunction
) _wrap_new_GBSizerItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45756 { (char *)"new_GBSizerItemWindow", (PyCFunction
) _wrap_new_GBSizerItemWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45757 { (char *)"new_GBSizerItemSizer", (PyCFunction
) _wrap_new_GBSizerItemSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45758 { (char *)"new_GBSizerItemSpacer", (PyCFunction
) _wrap_new_GBSizerItemSpacer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45759 { (char *)"GBSizerItem_GetPos", (PyCFunction
) _wrap_GBSizerItem_GetPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45760 { (char *)"GBSizerItem_GetSpan", (PyCFunction
) _wrap_GBSizerItem_GetSpan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45761 { (char *)"GBSizerItem_SetPos", (PyCFunction
) _wrap_GBSizerItem_SetPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45762 { (char *)"GBSizerItem_SetSpan", (PyCFunction
) _wrap_GBSizerItem_SetSpan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45763 { (char *)"GBSizerItem_Intersects", (PyCFunction
) _wrap_GBSizerItem_Intersects
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45764 { (char *)"GBSizerItem_IntersectsPos", (PyCFunction
) _wrap_GBSizerItem_IntersectsPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45765 { (char *)"GBSizerItem_GetEndPos", (PyCFunction
) _wrap_GBSizerItem_GetEndPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45766 { (char *)"GBSizerItem_GetGBSizer", (PyCFunction
) _wrap_GBSizerItem_GetGBSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45767 { (char *)"GBSizerItem_SetGBSizer", (PyCFunction
) _wrap_GBSizerItem_SetGBSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45768 { (char *)"GBSizerItem_swigregister", GBSizerItem_swigregister
, METH_VARARGS
, NULL
},
45769 { (char *)"new_GridBagSizer", (PyCFunction
) _wrap_new_GridBagSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45770 { (char *)"GridBagSizer_Add", (PyCFunction
) _wrap_GridBagSizer_Add
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45771 { (char *)"GridBagSizer_AddItem", (PyCFunction
) _wrap_GridBagSizer_AddItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45772 { (char *)"GridBagSizer_GetCellSize", (PyCFunction
) _wrap_GridBagSizer_GetCellSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45773 { (char *)"GridBagSizer_GetEmptyCellSize", (PyCFunction
) _wrap_GridBagSizer_GetEmptyCellSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45774 { (char *)"GridBagSizer_SetEmptyCellSize", (PyCFunction
) _wrap_GridBagSizer_SetEmptyCellSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45775 { (char *)"GridBagSizer_GetItemPosition", _wrap_GridBagSizer_GetItemPosition
, METH_VARARGS
, NULL
},
45776 { (char *)"GridBagSizer_SetItemPosition", _wrap_GridBagSizer_SetItemPosition
, METH_VARARGS
, NULL
},
45777 { (char *)"GridBagSizer_GetItemSpan", _wrap_GridBagSizer_GetItemSpan
, METH_VARARGS
, NULL
},
45778 { (char *)"GridBagSizer_SetItemSpan", _wrap_GridBagSizer_SetItemSpan
, METH_VARARGS
, NULL
},
45779 { (char *)"GridBagSizer_FindItem", _wrap_GridBagSizer_FindItem
, METH_VARARGS
, NULL
},
45780 { (char *)"GridBagSizer_FindItemAtPosition", (PyCFunction
) _wrap_GridBagSizer_FindItemAtPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45781 { (char *)"GridBagSizer_FindItemAtPoint", (PyCFunction
) _wrap_GridBagSizer_FindItemAtPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45782 { (char *)"GridBagSizer_CheckForIntersection", (PyCFunction
) _wrap_GridBagSizer_CheckForIntersection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45783 { (char *)"GridBagSizer_CheckForIntersectionPos", (PyCFunction
) _wrap_GridBagSizer_CheckForIntersectionPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45784 { (char *)"GridBagSizer_swigregister", GridBagSizer_swigregister
, METH_VARARGS
, NULL
},
45785 { (char *)"IndividualLayoutConstraint_Set", (PyCFunction
) _wrap_IndividualLayoutConstraint_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45786 { (char *)"IndividualLayoutConstraint_LeftOf", (PyCFunction
) _wrap_IndividualLayoutConstraint_LeftOf
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45787 { (char *)"IndividualLayoutConstraint_RightOf", (PyCFunction
) _wrap_IndividualLayoutConstraint_RightOf
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45788 { (char *)"IndividualLayoutConstraint_Above", (PyCFunction
) _wrap_IndividualLayoutConstraint_Above
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45789 { (char *)"IndividualLayoutConstraint_Below", (PyCFunction
) _wrap_IndividualLayoutConstraint_Below
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45790 { (char *)"IndividualLayoutConstraint_SameAs", (PyCFunction
) _wrap_IndividualLayoutConstraint_SameAs
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45791 { (char *)"IndividualLayoutConstraint_PercentOf", (PyCFunction
) _wrap_IndividualLayoutConstraint_PercentOf
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45792 { (char *)"IndividualLayoutConstraint_Absolute", (PyCFunction
) _wrap_IndividualLayoutConstraint_Absolute
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45793 { (char *)"IndividualLayoutConstraint_Unconstrained", (PyCFunction
) _wrap_IndividualLayoutConstraint_Unconstrained
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45794 { (char *)"IndividualLayoutConstraint_AsIs", (PyCFunction
) _wrap_IndividualLayoutConstraint_AsIs
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45795 { (char *)"IndividualLayoutConstraint_GetOtherWindow", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetOtherWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45796 { (char *)"IndividualLayoutConstraint_GetMyEdge", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetMyEdge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45797 { (char *)"IndividualLayoutConstraint_SetEdge", (PyCFunction
) _wrap_IndividualLayoutConstraint_SetEdge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45798 { (char *)"IndividualLayoutConstraint_SetValue", (PyCFunction
) _wrap_IndividualLayoutConstraint_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45799 { (char *)"IndividualLayoutConstraint_GetMargin", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetMargin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45800 { (char *)"IndividualLayoutConstraint_SetMargin", (PyCFunction
) _wrap_IndividualLayoutConstraint_SetMargin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45801 { (char *)"IndividualLayoutConstraint_GetValue", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45802 { (char *)"IndividualLayoutConstraint_GetPercent", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetPercent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45803 { (char *)"IndividualLayoutConstraint_GetOtherEdge", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetOtherEdge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45804 { (char *)"IndividualLayoutConstraint_GetDone", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetDone
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45805 { (char *)"IndividualLayoutConstraint_SetDone", (PyCFunction
) _wrap_IndividualLayoutConstraint_SetDone
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45806 { (char *)"IndividualLayoutConstraint_GetRelationship", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetRelationship
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45807 { (char *)"IndividualLayoutConstraint_SetRelationship", (PyCFunction
) _wrap_IndividualLayoutConstraint_SetRelationship
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45808 { (char *)"IndividualLayoutConstraint_ResetIfWin", (PyCFunction
) _wrap_IndividualLayoutConstraint_ResetIfWin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45809 { (char *)"IndividualLayoutConstraint_SatisfyConstraint", (PyCFunction
) _wrap_IndividualLayoutConstraint_SatisfyConstraint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45810 { (char *)"IndividualLayoutConstraint_GetEdge", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetEdge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45811 { (char *)"IndividualLayoutConstraint_swigregister", IndividualLayoutConstraint_swigregister
, METH_VARARGS
, NULL
},
45812 { (char *)"LayoutConstraints_left_get", (PyCFunction
) _wrap_LayoutConstraints_left_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45813 { (char *)"LayoutConstraints_top_get", (PyCFunction
) _wrap_LayoutConstraints_top_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45814 { (char *)"LayoutConstraints_right_get", (PyCFunction
) _wrap_LayoutConstraints_right_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45815 { (char *)"LayoutConstraints_bottom_get", (PyCFunction
) _wrap_LayoutConstraints_bottom_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45816 { (char *)"LayoutConstraints_width_get", (PyCFunction
) _wrap_LayoutConstraints_width_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45817 { (char *)"LayoutConstraints_height_get", (PyCFunction
) _wrap_LayoutConstraints_height_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45818 { (char *)"LayoutConstraints_centreX_get", (PyCFunction
) _wrap_LayoutConstraints_centreX_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45819 { (char *)"LayoutConstraints_centreY_get", (PyCFunction
) _wrap_LayoutConstraints_centreY_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45820 { (char *)"new_LayoutConstraints", (PyCFunction
) _wrap_new_LayoutConstraints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45821 { (char *)"LayoutConstraints_SatisfyConstraints", (PyCFunction
) _wrap_LayoutConstraints_SatisfyConstraints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45822 { (char *)"LayoutConstraints_AreSatisfied", (PyCFunction
) _wrap_LayoutConstraints_AreSatisfied
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45823 { (char *)"LayoutConstraints_swigregister", LayoutConstraints_swigregister
, METH_VARARGS
, NULL
},
45824 { NULL
, NULL
, 0, NULL
}
45828 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
45830 static void *_p_wxGBSizerItemTo_p_wxSizerItem(void *x
) {
45831 return (void *)((wxSizerItem
*) ((wxGBSizerItem
*) x
));
45833 static void *_p_wxBoxSizerTo_p_wxSizer(void *x
) {
45834 return (void *)((wxSizer
*) ((wxBoxSizer
*) x
));
45836 static void *_p_wxStaticBoxSizerTo_p_wxSizer(void *x
) {
45837 return (void *)((wxSizer
*) (wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
45839 static void *_p_wxStdDialogButtonSizerTo_p_wxSizer(void *x
) {
45840 return (void *)((wxSizer
*) (wxBoxSizer
*) ((wxStdDialogButtonSizer
*) x
));
45842 static void *_p_wxGridBagSizerTo_p_wxSizer(void *x
) {
45843 return (void *)((wxSizer
*) (wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
45845 static void *_p_wxGridSizerTo_p_wxSizer(void *x
) {
45846 return (void *)((wxSizer
*) ((wxGridSizer
*) x
));
45848 static void *_p_wxFlexGridSizerTo_p_wxSizer(void *x
) {
45849 return (void *)((wxSizer
*) (wxGridSizer
*) ((wxFlexGridSizer
*) x
));
45851 static void *_p_wxPySizerTo_p_wxSizer(void *x
) {
45852 return (void *)((wxSizer
*) ((wxPySizer
*) x
));
45854 static void *_p_wxStaticBoxSizerTo_p_wxBoxSizer(void *x
) {
45855 return (void *)((wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
45857 static void *_p_wxStdDialogButtonSizerTo_p_wxBoxSizer(void *x
) {
45858 return (void *)((wxBoxSizer
*) ((wxStdDialogButtonSizer
*) x
));
45860 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x
) {
45861 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
45863 static void *_p_wxMenuEventTo_p_wxEvent(void *x
) {
45864 return (void *)((wxEvent
*) ((wxMenuEvent
*) x
));
45866 static void *_p_wxCloseEventTo_p_wxEvent(void *x
) {
45867 return (void *)((wxEvent
*) ((wxCloseEvent
*) x
));
45869 static void *_p_wxMouseEventTo_p_wxEvent(void *x
) {
45870 return (void *)((wxEvent
*) ((wxMouseEvent
*) x
));
45872 static void *_p_wxEraseEventTo_p_wxEvent(void *x
) {
45873 return (void *)((wxEvent
*) ((wxEraseEvent
*) x
));
45875 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x
) {
45876 return (void *)((wxEvent
*) ((wxSetCursorEvent
*) x
));
45878 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x
) {
45879 return (void *)((wxEvent
*) ((wxInitDialogEvent
*) x
));
45881 static void *_p_wxScrollEventTo_p_wxEvent(void *x
) {
45882 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxScrollEvent
*) x
));
45884 static void *_p_wxPyEventTo_p_wxEvent(void *x
) {
45885 return (void *)((wxEvent
*) ((wxPyEvent
*) x
));
45887 static void *_p_wxNotifyEventTo_p_wxEvent(void *x
) {
45888 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxNotifyEvent
*) x
));
45890 static void *_p_wxIdleEventTo_p_wxEvent(void *x
) {
45891 return (void *)((wxEvent
*) ((wxIdleEvent
*) x
));
45893 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x
) {
45894 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
45896 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x
) {
45897 return (void *)((wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
45899 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x
) {
45900 return (void *)((wxEvent
*) ((wxMaximizeEvent
*) x
));
45902 static void *_p_wxIconizeEventTo_p_wxEvent(void *x
) {
45903 return (void *)((wxEvent
*) ((wxIconizeEvent
*) x
));
45905 static void *_p_wxActivateEventTo_p_wxEvent(void *x
) {
45906 return (void *)((wxEvent
*) ((wxActivateEvent
*) x
));
45908 static void *_p_wxSizeEventTo_p_wxEvent(void *x
) {
45909 return (void *)((wxEvent
*) ((wxSizeEvent
*) x
));
45911 static void *_p_wxMoveEventTo_p_wxEvent(void *x
) {
45912 return (void *)((wxEvent
*) ((wxMoveEvent
*) x
));
45914 static void *_p_wxDateEventTo_p_wxEvent(void *x
) {
45915 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxDateEvent
*) x
));
45917 static void *_p_wxPaintEventTo_p_wxEvent(void *x
) {
45918 return (void *)((wxEvent
*) ((wxPaintEvent
*) x
));
45920 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x
) {
45921 return (void *)((wxEvent
*) ((wxNcPaintEvent
*) x
));
45923 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x
) {
45924 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
45926 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x
) {
45927 return (void *)((wxEvent
*) ((wxPaletteChangedEvent
*) x
));
45929 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x
) {
45930 return (void *)((wxEvent
*) ((wxDisplayChangedEvent
*) x
));
45932 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x
) {
45933 return (void *)((wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
45935 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x
) {
45936 return (void *)((wxEvent
*) ((wxSysColourChangedEvent
*) x
));
45938 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x
) {
45939 return (void *)((wxEvent
*) ((wxDropFilesEvent
*) x
));
45941 static void *_p_wxFocusEventTo_p_wxEvent(void *x
) {
45942 return (void *)((wxEvent
*) ((wxFocusEvent
*) x
));
45944 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x
) {
45945 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
45947 static void *_p_wxShowEventTo_p_wxEvent(void *x
) {
45948 return (void *)((wxEvent
*) ((wxShowEvent
*) x
));
45950 static void *_p_wxCommandEventTo_p_wxEvent(void *x
) {
45951 return (void *)((wxEvent
*) ((wxCommandEvent
*) x
));
45953 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x
) {
45954 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
45956 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x
) {
45957 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
45959 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x
) {
45960 return (void *)((wxEvent
*) ((wxNavigationKeyEvent
*) x
));
45962 static void *_p_wxKeyEventTo_p_wxEvent(void *x
) {
45963 return (void *)((wxEvent
*) ((wxKeyEvent
*) x
));
45965 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x
) {
45966 return (void *)((wxEvent
*) ((wxScrollWinEvent
*) x
));
45968 static void *_p_wxGridBagSizerTo_p_wxGridSizer(void *x
) {
45969 return (void *)((wxGridSizer
*) (wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
45971 static void *_p_wxFlexGridSizerTo_p_wxGridSizer(void *x
) {
45972 return (void *)((wxGridSizer
*) ((wxFlexGridSizer
*) x
));
45974 static void *_p_wxGridBagSizerTo_p_wxFlexGridSizer(void *x
) {
45975 return (void *)((wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
45977 static void *_p_wxControlWithItemsTo_p_wxItemContainer(void *x
) {
45978 return (void *)((wxItemContainer
*) ((wxControlWithItems
*) x
));
45980 static void *_p_wxControlWithItemsTo_p_wxControl(void *x
) {
45981 return (void *)((wxControl
*) ((wxControlWithItems
*) x
));
45983 static void *_p_wxControlTo_p_wxEvtHandler(void *x
) {
45984 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxControl
*) x
));
45986 static void *_p_wxWindowTo_p_wxEvtHandler(void *x
) {
45987 return (void *)((wxEvtHandler
*) ((wxWindow
*) x
));
45989 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x
) {
45990 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
45992 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x
) {
45993 return (void *)((wxEvtHandler
*) ((wxPyApp
*) x
));
45995 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x
) {
45996 return (void *)((wxEvtHandler
*) ((wxValidator
*) x
));
45998 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x
) {
45999 return (void *)((wxEvtHandler
*) (wxValidator
*) ((wxPyValidator
*) x
));
46001 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x
) {
46002 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMenuBar
*) x
));
46004 static void *_p_wxMenuTo_p_wxEvtHandler(void *x
) {
46005 return (void *)((wxEvtHandler
*) ((wxMenu
*) x
));
46007 static void *_p_wxANIHandlerTo_p_wxCURHandler(void *x
) {
46008 return (void *)((wxCURHandler
*) ((wxANIHandler
*) x
));
46010 static void *_p_wxCURHandlerTo_p_wxICOHandler(void *x
) {
46011 return (void *)((wxICOHandler
*) ((wxCURHandler
*) x
));
46013 static void *_p_wxANIHandlerTo_p_wxICOHandler(void *x
) {
46014 return (void *)((wxICOHandler
*) (wxCURHandler
*) ((wxANIHandler
*) x
));
46016 static void *_p_wxICOHandlerTo_p_wxBMPHandler(void *x
) {
46017 return (void *)((wxBMPHandler
*) ((wxICOHandler
*) x
));
46019 static void *_p_wxCURHandlerTo_p_wxBMPHandler(void *x
) {
46020 return (void *)((wxBMPHandler
*) (wxICOHandler
*) ((wxCURHandler
*) x
));
46022 static void *_p_wxANIHandlerTo_p_wxBMPHandler(void *x
) {
46023 return (void *)((wxBMPHandler
*) (wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
46025 static void *_p_wxBMPHandlerTo_p_wxImageHandler(void *x
) {
46026 return (void *)((wxImageHandler
*) ((wxBMPHandler
*) x
));
46028 static void *_p_wxICOHandlerTo_p_wxImageHandler(void *x
) {
46029 return (void *)((wxImageHandler
*) (wxBMPHandler
*) ((wxICOHandler
*) x
));
46031 static void *_p_wxCURHandlerTo_p_wxImageHandler(void *x
) {
46032 return (void *)((wxImageHandler
*) (wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
46034 static void *_p_wxANIHandlerTo_p_wxImageHandler(void *x
) {
46035 return (void *)((wxImageHandler
*) (wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
46037 static void *_p_wxPNGHandlerTo_p_wxImageHandler(void *x
) {
46038 return (void *)((wxImageHandler
*) ((wxPNGHandler
*) x
));
46040 static void *_p_wxGIFHandlerTo_p_wxImageHandler(void *x
) {
46041 return (void *)((wxImageHandler
*) ((wxGIFHandler
*) x
));
46043 static void *_p_wxPCXHandlerTo_p_wxImageHandler(void *x
) {
46044 return (void *)((wxImageHandler
*) ((wxPCXHandler
*) x
));
46046 static void *_p_wxJPEGHandlerTo_p_wxImageHandler(void *x
) {
46047 return (void *)((wxImageHandler
*) ((wxJPEGHandler
*) x
));
46049 static void *_p_wxPNMHandlerTo_p_wxImageHandler(void *x
) {
46050 return (void *)((wxImageHandler
*) ((wxPNMHandler
*) x
));
46052 static void *_p_wxXPMHandlerTo_p_wxImageHandler(void *x
) {
46053 return (void *)((wxImageHandler
*) ((wxXPMHandler
*) x
));
46055 static void *_p_wxTIFFHandlerTo_p_wxImageHandler(void *x
) {
46056 return (void *)((wxImageHandler
*) ((wxTIFFHandler
*) x
));
46058 static void *_p_wxPyFileSystemHandlerTo_p_wxFileSystemHandler(void *x
) {
46059 return (void *)((wxFileSystemHandler
*) ((wxPyFileSystemHandler
*) x
));
46061 static void *_p_wxInternetFSHandlerTo_p_wxFileSystemHandler(void *x
) {
46062 return (void *)((wxFileSystemHandler
*) ((wxInternetFSHandler
*) x
));
46064 static void *_p_wxZipFSHandlerTo_p_wxFileSystemHandler(void *x
) {
46065 return (void *)((wxFileSystemHandler
*) ((wxZipFSHandler
*) x
));
46067 static void *_p_wxMemoryFSHandlerTo_p_wxFileSystemHandler(void *x
) {
46068 return (void *)((wxFileSystemHandler
*) ((wxMemoryFSHandler
*) x
));
46070 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
46071 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
46073 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
46074 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
46076 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
46077 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
46079 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
46080 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
46082 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
46083 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
46085 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
46086 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
46088 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
46089 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
46091 static void *_p_wxSizerTo_p_wxObject(void *x
) {
46092 return (void *)((wxObject
*) ((wxSizer
*) x
));
46094 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
46095 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
46097 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
46098 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
46100 static void *_p_wxEventTo_p_wxObject(void *x
) {
46101 return (void *)((wxObject
*) ((wxEvent
*) x
));
46103 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
46104 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
46106 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
46107 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
46109 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
46110 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
46112 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
46113 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
46115 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
46116 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
46118 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
46119 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
46121 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
46122 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
46124 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
46125 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
46127 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
46128 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
46130 static void *_p_wxControlTo_p_wxObject(void *x
) {
46131 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
46133 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
46134 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
46136 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
46137 return (void *)((wxObject
*) ((wxFSFile
*) x
));
46139 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
46140 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
46142 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
46143 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
46145 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
46146 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
46148 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
46149 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
46151 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
46152 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
46154 static void *_p_wxDateEventTo_p_wxObject(void *x
) {
46155 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxDateEvent
*) x
));
46157 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
46158 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
46160 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
46161 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
46163 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
46164 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
46166 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
46167 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
46169 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
46170 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
46172 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
46173 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
46175 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
46176 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
46178 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
46179 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
46181 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
46182 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
46184 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
46185 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
46187 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
46188 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
46190 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
46191 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
46193 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
46194 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
46196 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
46197 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
46199 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
46200 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
46202 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
46203 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
46205 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
46206 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
46208 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
46209 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
46211 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
46212 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
46214 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
46215 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
46217 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
46218 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
46220 static void *_p_wxStdDialogButtonSizerTo_p_wxObject(void *x
) {
46221 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStdDialogButtonSizer
*) x
));
46223 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
46224 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
46226 static void *_p_wxImageTo_p_wxObject(void *x
) {
46227 return (void *)((wxObject
*) ((wxImage
*) x
));
46229 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
46230 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
46232 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
46233 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
46235 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
46236 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
46238 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
46239 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
46241 static void *_p_wxWindowTo_p_wxObject(void *x
) {
46242 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
46244 static void *_p_wxMenuTo_p_wxObject(void *x
) {
46245 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
46247 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
46248 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
46250 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
46251 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
46253 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
46254 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
46256 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
46257 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
46259 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
46260 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
46262 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
46263 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
46265 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
46266 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
46268 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
46269 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
46271 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
46272 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
46274 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
46275 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
46277 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
46278 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
46280 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
46281 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
46283 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
46284 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
46286 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
46287 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
46289 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
46290 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
46292 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
46293 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
46295 static void *_p_wxControlTo_p_wxWindow(void *x
) {
46296 return (void *)((wxWindow
*) ((wxControl
*) x
));
46298 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
46299 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
46301 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
46302 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
46304 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x
) {
46305 return (void *)((wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
46307 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x
) {
46308 return (void *)((wxCommandEvent
*) ((wxScrollEvent
*) x
));
46310 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x
) {
46311 return (void *)((wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
46313 static void *_p_wxDateEventTo_p_wxCommandEvent(void *x
) {
46314 return (void *)((wxCommandEvent
*) ((wxDateEvent
*) x
));
46316 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x
) {
46317 return (void *)((wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
46319 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x
) {
46320 return (void *)((wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
46322 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x
) {
46323 return (void *)((wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
46325 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x
) {
46326 return (void *)((wxCommandEvent
*) ((wxNotifyEvent
*) x
));
46328 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x
) {
46329 return (void *)((wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
46331 static void *_p_wxPyValidatorTo_p_wxValidator(void *x
) {
46332 return (void *)((wxValidator
*) ((wxPyValidator
*) x
));
46334 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}};
46335 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}};
46336 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}};
46337 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}};
46338 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}};
46339 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}};
46340 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}};
46341 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}};
46342 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}};
46343 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}};
46344 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}};
46345 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}};
46346 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}};
46347 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}};
46348 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}};
46349 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}};
46350 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}};
46351 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}};
46352 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}};
46353 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}};
46354 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}};
46355 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}};
46356 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}};
46357 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}};
46358 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}};
46359 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}};
46360 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}};
46361 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}};
46362 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}};
46363 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}};
46364 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}};
46365 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}};
46366 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}};
46367 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}};
46368 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}};
46369 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}};
46370 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}};
46371 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}};
46372 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}};
46373 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}};
46374 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}};
46375 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}};
46376 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}};
46377 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}};
46378 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}};
46379 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}};
46380 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}};
46381 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}};
46382 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}};
46383 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}};
46384 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}};
46385 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}};
46386 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}};
46387 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}};
46388 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}};
46389 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}};
46390 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}};
46391 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}};
46392 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}};
46393 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}};
46394 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}};
46395 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}};
46396 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}};
46397 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}};
46398 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}};
46399 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}};
46400 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}};
46401 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}};
46402 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}};
46403 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}};
46404 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}};
46405 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}};
46406 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}};
46407 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}};
46408 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}};
46409 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}};
46410 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}};
46411 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}};
46412 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}};
46413 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}};
46414 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}};
46415 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}};
46416 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}};
46417 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}};
46418 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}};
46419 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}};
46420 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}};
46421 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}};
46422 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}};
46423 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}};
46424 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}};
46425 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}};
46426 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}};
46427 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}};
46428 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}};
46429 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}};
46430 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}};
46431 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}};
46432 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}};
46433 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}};
46434 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}};
46435 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}};
46436 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}};
46437 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}};
46438 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}};
46439 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}};
46440 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}};
46441 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}};
46442 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}};
46443 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}};
46444 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}};
46445 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}};
46446 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}};
46447 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}};
46448 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}};
46449 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}};
46450 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}};
46451 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}};
46452 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}};
46453 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}};
46454 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}};
46455 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}};
46456 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}};
46457 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}};
46458 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}};
46459 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}};
46460 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}};
46462 static swig_type_info
*swig_types_initial
[] = {
46463 _swigt__p_wxLayoutConstraints
,
46464 _swigt__p_wxRealPoint
,
46465 _swigt__p_wxSizerItem
,
46466 _swigt__p_wxGBSizerItem
,
46467 _swigt__p_wxScrollEvent
,
46468 _swigt__p_wxEventLoop
,
46469 _swigt__p_wxIndividualLayoutConstraint
,
46471 _swigt__p_wxBoxSizer
,
46472 _swigt__p_wxStaticBoxSizer
,
46473 _swigt__p_wxGridBagSizer
,
46474 _swigt__p_wxAcceleratorEntry
,
46475 _swigt__p_wxUpdateUIEvent
,
46478 _swigt__p_wxGridSizer
,
46479 _swigt__p_wxFlexGridSizer
,
46480 _swigt__p_wxInitDialogEvent
,
46481 _swigt__p_wxItemContainer
,
46482 _swigt__p_wxNcPaintEvent
,
46483 _swigt__p_wxPaintEvent
,
46484 _swigt__p_wxSysColourChangedEvent
,
46485 _swigt__p_wxMouseCaptureChangedEvent
,
46486 _swigt__p_wxDisplayChangedEvent
,
46487 _swigt__p_wxPaletteChangedEvent
,
46488 _swigt__p_wxControl
,
46490 _swigt__p_wxMenuBarBase
,
46491 _swigt__p_wxSetCursorEvent
,
46492 _swigt__p_wxFSFile
,
46495 _swigt__std__ptrdiff_t
,
46496 _swigt__p_wxRegion
,
46497 _swigt__p_wxPoint2D
,
46501 _swigt__p_wxPySizer
,
46502 _swigt__p_wxVisualAttributes
,
46503 _swigt__p_wxNotifyEvent
,
46504 _swigt__p_wxPyEvent
,
46505 _swigt__p_wxPropagationDisabler
,
46506 _swigt__p_form_ops_t
,
46507 _swigt__p_wxAppTraits
,
46508 _swigt__p_wxArrayString
,
46509 _swigt__p_wxShowEvent
,
46510 _swigt__p_wxToolTip
,
46511 _swigt__p_wxMoveEvent
,
46512 _swigt__p_wxSizeEvent
,
46513 _swigt__p_wxActivateEvent
,
46514 _swigt__p_wxIconizeEvent
,
46515 _swigt__p_wxMaximizeEvent
,
46516 _swigt__p_wxQueryNewPaletteEvent
,
46517 _swigt__p_wxWindowCreateEvent
,
46518 _swigt__p_wxIdleEvent
,
46519 _swigt__p_wxDateEvent
,
46520 _swigt__p_wxMenuItem
,
46521 _swigt__p_wxStaticBox
,
46523 _swigt__p_wxDuplexMode
,
46524 _swigt__p_wxTIFFHandler
,
46525 _swigt__p_wxXPMHandler
,
46526 _swigt__p_wxPNMHandler
,
46527 _swigt__p_wxJPEGHandler
,
46528 _swigt__p_wxPCXHandler
,
46529 _swigt__p_wxGIFHandler
,
46530 _swigt__p_wxPNGHandler
,
46531 _swigt__p_wxANIHandler
,
46532 _swigt__p_wxMemoryFSHandler
,
46533 _swigt__p_wxZipFSHandler
,
46534 _swigt__p_wxInternetFSHandler
,
46535 _swigt__p_wxPyFileSystemHandler
,
46536 _swigt__p_wxEvtHandler
,
46537 _swigt__p_wxCURHandler
,
46538 _swigt__p_wxICOHandler
,
46539 _swigt__p_wxBMPHandler
,
46540 _swigt__p_wxImageHandler
,
46541 _swigt__p_wxFileSystemHandler
,
46543 _swigt__p_wxButton
,
46544 _swigt__p_wxGBSpan
,
46545 _swigt__p_wxPropagateOnce
,
46546 _swigt__p_wxAcceleratorTable
,
46547 _swigt__p_wxStdDialogButtonSizer
,
46549 _swigt__p_wxGBPosition
,
46552 _swigt__p_wxScrollWinEvent
,
46553 _swigt__p_wxPaperSize
,
46554 _swigt__p_wxImageHistogram
,
46556 _swigt__p_wxCursor
,
46557 _swigt__p_wxObject
,
46558 _swigt__p_wxInputStream
,
46559 _swigt__p_wxOutputStream
,
46560 _swigt__p_wxPyInputStream
,
46561 _swigt__p_wxDateTime
,
46562 _swigt__p_wxKeyEvent
,
46563 _swigt__p_wxNavigationKeyEvent
,
46564 _swigt__p_wxWindowDestroyEvent
,
46565 _swigt__p_unsigned_long
,
46566 _swigt__p_wxWindow
,
46567 _swigt__p_wxMenuBar
,
46568 _swigt__p_wxFileSystem
,
46569 _swigt__p_wxBitmap
,
46570 _swigt__unsigned_int
,
46571 _swigt__p_unsigned_int
,
46572 _swigt__p_wxMenuEvent
,
46573 _swigt__p_wxContextMenuEvent
,
46574 _swigt__p_unsigned_char
,
46575 _swigt__p_wxEraseEvent
,
46576 _swigt__p_wxMouseEvent
,
46577 _swigt__p_wxCloseEvent
,
46579 _swigt__p_wxCommandEvent
,
46580 _swigt__p_wxPyCommandEvent
,
46581 _swigt__p_wxPyDropTarget
,
46582 _swigt__p_wxQuantize
,
46583 _swigt__p_wxChildFocusEvent
,
46584 _swigt__p_wxFocusEvent
,
46585 _swigt__p_wxDropFilesEvent
,
46586 _swigt__p_wxControlWithItems
,
46587 _swigt__p_wxColour
,
46588 _swigt__p_wxValidator
,
46589 _swigt__p_wxPyValidator
,
46594 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
46596 static swig_const_info swig_const_table
[] = {
46597 {0, 0, 0, 0.0, 0, 0}};
46608 /* Python-specific SWIG API */
46609 #define SWIG_newvarlink() SWIG_Python_newvarlink()
46610 #define SWIG_addvarlink(p, name, get_attr, set_attr) SWIG_Python_addvarlink(p, name, get_attr, set_attr)
46611 #define SWIG_InstallConstants(d, constants) SWIG_Python_InstallConstants(d, constants)
46613 /* -----------------------------------------------------------------------------
46614 * global variable support code.
46615 * ----------------------------------------------------------------------------- */
46617 typedef struct swig_globalvar
{
46618 char *name
; /* Name of global variable */
46619 PyObject
*(*get_attr
)(); /* Return the current value */
46620 int (*set_attr
)(PyObject
*); /* Set the value */
46621 struct swig_globalvar
*next
;
46624 typedef struct swig_varlinkobject
{
46626 swig_globalvar
*vars
;
46627 } swig_varlinkobject
;
46630 swig_varlink_repr(swig_varlinkobject
*v
) {
46632 return PyString_FromString("<Swig global variables>");
46636 swig_varlink_print(swig_varlinkobject
*v
, FILE *fp
, int flags
) {
46637 swig_globalvar
*var
;
46639 fprintf(fp
,"Swig global variables { ");
46640 for (var
= v
->vars
; var
; var
=var
->next
) {
46641 fprintf(fp
,"%s", var
->name
);
46642 if (var
->next
) fprintf(fp
,", ");
46644 fprintf(fp
," }\n");
46649 swig_varlink_getattr(swig_varlinkobject
*v
, char *n
) {
46650 swig_globalvar
*var
= v
->vars
;
46652 if (strcmp(var
->name
,n
) == 0) {
46653 return (*var
->get_attr
)();
46657 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
46662 swig_varlink_setattr(swig_varlinkobject
*v
, char *n
, PyObject
*p
) {
46663 swig_globalvar
*var
= v
->vars
;
46665 if (strcmp(var
->name
,n
) == 0) {
46666 return (*var
->set_attr
)(p
);
46670 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
46674 static PyTypeObject varlinktype
= {
46675 PyObject_HEAD_INIT(0)
46676 0, /* Number of items in variable part (ob_size) */
46677 (char *)"swigvarlink", /* Type name (tp_name) */
46678 sizeof(swig_varlinkobject
), /* Basic size (tp_basicsize) */
46679 0, /* Itemsize (tp_itemsize) */
46680 0, /* Deallocator (tp_dealloc) */
46681 (printfunc
) swig_varlink_print
, /* Print (tp_print) */
46682 (getattrfunc
) swig_varlink_getattr
, /* get attr (tp_getattr) */
46683 (setattrfunc
) swig_varlink_setattr
, /* Set attr (tp_setattr) */
46684 0, /* tp_compare */
46685 (reprfunc
) swig_varlink_repr
, /* tp_repr */
46686 0, /* tp_as_number */
46687 0, /* tp_as_sequence */
46688 0, /* tp_as_mapping */
46692 0, /* tp_getattro */
46693 0, /* tp_setattro */
46694 0, /* tp_as_buffer */
46697 #if PY_VERSION_HEX >= 0x02000000
46698 0, /* tp_traverse */
46701 #if PY_VERSION_HEX >= 0x02010000
46702 0, /* tp_richcompare */
46703 0, /* tp_weaklistoffset */
46705 #if PY_VERSION_HEX >= 0x02020000
46706 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
46708 #if PY_VERSION_HEX >= 0x02030000
46711 #ifdef COUNT_ALLOCS
46712 0,0,0,0 /* tp_alloc -> tp_next */
46716 /* Create a variable linking object for use later */
46718 SWIG_Python_newvarlink(void) {
46719 swig_varlinkobject
*result
= 0;
46720 result
= PyMem_NEW(swig_varlinkobject
,1);
46721 varlinktype
.ob_type
= &PyType_Type
; /* Patch varlinktype into a PyType */
46722 result
->ob_type
= &varlinktype
;
46724 result
->ob_refcnt
= 0;
46725 Py_XINCREF((PyObject
*) result
);
46726 return ((PyObject
*) result
);
46730 SWIG_Python_addvarlink(PyObject
*p
, char *name
, PyObject
*(*get_attr
)(void), int (*set_attr
)(PyObject
*p
)) {
46731 swig_varlinkobject
*v
;
46732 swig_globalvar
*gv
;
46733 v
= (swig_varlinkobject
*) p
;
46734 gv
= (swig_globalvar
*) malloc(sizeof(swig_globalvar
));
46735 gv
->name
= (char *) malloc(strlen(name
)+1);
46736 strcpy(gv
->name
,name
);
46737 gv
->get_attr
= get_attr
;
46738 gv
->set_attr
= set_attr
;
46739 gv
->next
= v
->vars
;
46743 /* -----------------------------------------------------------------------------
46744 * constants/methods manipulation
46745 * ----------------------------------------------------------------------------- */
46747 /* Install Constants */
46749 SWIG_Python_InstallConstants(PyObject
*d
, swig_const_info constants
[]) {
46752 for (i
= 0; constants
[i
].type
; i
++) {
46753 switch(constants
[i
].type
) {
46755 obj
= PyInt_FromLong(constants
[i
].lvalue
);
46757 case SWIG_PY_FLOAT
:
46758 obj
= PyFloat_FromDouble(constants
[i
].dvalue
);
46760 case SWIG_PY_STRING
:
46761 if (constants
[i
].pvalue
) {
46762 obj
= PyString_FromString((char *) constants
[i
].pvalue
);
46764 Py_INCREF(Py_None
);
46768 case SWIG_PY_POINTER
:
46769 obj
= SWIG_NewPointerObj(constants
[i
].pvalue
, *(constants
[i
]).ptype
,0);
46771 case SWIG_PY_BINARY
:
46772 obj
= SWIG_NewPackedObj(constants
[i
].pvalue
, constants
[i
].lvalue
, *(constants
[i
].ptype
));
46779 PyDict_SetItemString(d
,constants
[i
].name
,obj
);
46785 /* -----------------------------------------------------------------------------*/
46786 /* Fix SwigMethods to carry the callback ptrs when needed */
46787 /* -----------------------------------------------------------------------------*/
46790 SWIG_Python_FixMethods(PyMethodDef
*methods
,
46791 swig_const_info
*const_table
,
46792 swig_type_info
**types
,
46793 swig_type_info
**types_initial
) {
46795 for (i
= 0; methods
[i
].ml_name
; ++i
) {
46796 char *c
= methods
[i
].ml_doc
;
46797 if (c
&& (c
= strstr(c
, "swig_ptr: "))) {
46799 swig_const_info
*ci
= 0;
46800 char *name
= c
+ 10;
46801 for (j
= 0; const_table
[j
].type
; j
++) {
46802 if (strncmp(const_table
[j
].name
, name
,
46803 strlen(const_table
[j
].name
)) == 0) {
46804 ci
= &(const_table
[j
]);
46809 size_t shift
= (ci
->ptype
) - types
;
46810 swig_type_info
*ty
= types_initial
[shift
];
46811 size_t ldoc
= (c
- methods
[i
].ml_doc
);
46812 size_t lptr
= strlen(ty
->name
)+2*sizeof(void*)+2;
46813 char *ndoc
= (char*)malloc(ldoc
+ lptr
+ 10);
46815 void *ptr
= (ci
->type
== SWIG_PY_POINTER
) ? ci
->pvalue
: (void *)(ci
->lvalue
);
46816 strncpy(buff
, methods
[i
].ml_doc
, ldoc
);
46818 strncpy(buff
, "swig_ptr: ", 10);
46820 SWIG_PackVoidPtr(buff
, ptr
, ty
->name
, lptr
);
46821 methods
[i
].ml_doc
= ndoc
;
46827 /* -----------------------------------------------------------------------------*
46828 * Initialize type list
46829 * -----------------------------------------------------------------------------*/
46831 #if PY_MAJOR_VERSION < 2
46832 /* PyModule_AddObject function was introduced in Python 2.0. The following function
46833 is copied out of Python/modsupport.c in python version 2.3.4 */
46835 PyModule_AddObject(PyObject
*m
, char *name
, PyObject
*o
)
46838 if (!PyModule_Check(m
)) {
46839 PyErr_SetString(PyExc_TypeError
,
46840 "PyModule_AddObject() needs module as first arg");
46844 PyErr_SetString(PyExc_TypeError
,
46845 "PyModule_AddObject() needs non-NULL value");
46849 dict
= PyModule_GetDict(m
);
46850 if (dict
== NULL
) {
46851 /* Internal error -- modules must have a dict! */
46852 PyErr_Format(PyExc_SystemError
, "module '%s' has no __dict__",
46853 PyModule_GetName(m
));
46856 if (PyDict_SetItemString(dict
, name
, o
))
46863 static swig_type_info
**
46864 SWIG_Python_SetTypeListHandle(swig_type_info
**type_list_handle
) {
46865 static PyMethodDef swig_empty_runtime_method_table
[] = {
46867 NULL
, NULL
, 0, NULL
46871 PyObject
*module = Py_InitModule((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION
,
46872 swig_empty_runtime_method_table
);
46873 PyObject
*pointer
= PyCObject_FromVoidPtr((void *) type_list_handle
, NULL
);
46874 if (pointer
&& module) {
46875 PyModule_AddObject(module, (char*)"type_pointer" SWIG_TYPE_TABLE_NAME
, pointer
);
46877 return type_list_handle
;
46880 static swig_type_info
**
46881 SWIG_Python_LookupTypePointer(swig_type_info
**type_list_handle
) {
46882 swig_type_info
**type_pointer
;
46884 /* first check if module already created */
46885 type_pointer
= SWIG_Python_GetTypeListHandle();
46886 if (type_pointer
) {
46887 return type_pointer
;
46889 /* create a new module and variable */
46890 return SWIG_Python_SetTypeListHandle(type_list_handle
);
46898 /* -----------------------------------------------------------------------------*
46899 * Partial Init method
46900 * -----------------------------------------------------------------------------*/
46902 #ifdef SWIG_LINK_RUNTIME
46906 SWIGEXPORT(void *) SWIG_ReturnGlobalTypeList(void *);
46912 SWIGEXPORT(void) SWIG_init(void) {
46913 static PyObject
*SWIG_globals
= 0;
46914 static int typeinit
= 0;
46917 if (!SWIG_globals
) SWIG_globals
= SWIG_newvarlink();
46919 /* Fix SwigMethods to carry the callback ptrs when needed */
46920 SWIG_Python_FixMethods(SwigMethods
, swig_const_table
, swig_types
, swig_types_initial
);
46922 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
46923 d
= PyModule_GetDict(m
);
46926 #ifdef SWIG_LINK_RUNTIME
46927 swig_type_list_handle
= (swig_type_info
**) SWIG_ReturnGlobalTypeList(swig_type_list_handle
);
46929 # ifndef SWIG_STATIC_RUNTIME
46930 swig_type_list_handle
= SWIG_Python_LookupTypePointer(swig_type_list_handle
);
46933 for (i
= 0; swig_types_initial
[i
]; i
++) {
46934 swig_types
[i
] = SWIG_TypeRegister(swig_types_initial
[i
]);
46938 SWIG_InstallConstants(d
,swig_const_table
);
46941 #ifndef wxPyUSE_EXPORT
46942 // Make our API structure a CObject so other modules can import it
46943 // from this module.
46944 PyObject
* cobj
= PyCObject_FromVoidPtr(&API
, NULL
);
46945 PyDict_SetItemString(d
,"_wxPyCoreAPI", cobj
);
46950 PyDict_SetItemString(d
,"NOT_FOUND", SWIG_From_int((int)(wxNOT_FOUND
)));
46953 PyDict_SetItemString(d
,"VSCROLL", SWIG_From_int((int)(wxVSCROLL
)));
46956 PyDict_SetItemString(d
,"HSCROLL", SWIG_From_int((int)(wxHSCROLL
)));
46959 PyDict_SetItemString(d
,"CAPTION", SWIG_From_int((int)(wxCAPTION
)));
46962 PyDict_SetItemString(d
,"DOUBLE_BORDER", SWIG_From_int((int)(wxDOUBLE_BORDER
)));
46965 PyDict_SetItemString(d
,"SUNKEN_BORDER", SWIG_From_int((int)(wxSUNKEN_BORDER
)));
46968 PyDict_SetItemString(d
,"RAISED_BORDER", SWIG_From_int((int)(wxRAISED_BORDER
)));
46971 PyDict_SetItemString(d
,"BORDER", SWIG_From_int((int)(wxBORDER
)));
46974 PyDict_SetItemString(d
,"SIMPLE_BORDER", SWIG_From_int((int)(wxSIMPLE_BORDER
)));
46977 PyDict_SetItemString(d
,"STATIC_BORDER", SWIG_From_int((int)(wxSTATIC_BORDER
)));
46980 PyDict_SetItemString(d
,"TRANSPARENT_WINDOW", SWIG_From_int((int)(wxTRANSPARENT_WINDOW
)));
46983 PyDict_SetItemString(d
,"NO_BORDER", SWIG_From_int((int)(wxNO_BORDER
)));
46986 PyDict_SetItemString(d
,"TAB_TRAVERSAL", SWIG_From_int((int)(wxTAB_TRAVERSAL
)));
46989 PyDict_SetItemString(d
,"WANTS_CHARS", SWIG_From_int((int)(wxWANTS_CHARS
)));
46992 PyDict_SetItemString(d
,"POPUP_WINDOW", SWIG_From_int((int)(wxPOPUP_WINDOW
)));
46995 PyDict_SetItemString(d
,"CENTER_FRAME", SWIG_From_int((int)(wxCENTER_FRAME
)));
46998 PyDict_SetItemString(d
,"CENTRE_ON_SCREEN", SWIG_From_int((int)(wxCENTRE_ON_SCREEN
)));
47001 PyDict_SetItemString(d
,"CENTER_ON_SCREEN", SWIG_From_int((int)(wxCENTER_ON_SCREEN
)));
47004 PyDict_SetItemString(d
,"ED_CLIENT_MARGIN", SWIG_From_int((int)(wxED_CLIENT_MARGIN
)));
47007 PyDict_SetItemString(d
,"ED_BUTTONS_BOTTOM", SWIG_From_int((int)(wxED_BUTTONS_BOTTOM
)));
47010 PyDict_SetItemString(d
,"ED_BUTTONS_RIGHT", SWIG_From_int((int)(wxED_BUTTONS_RIGHT
)));
47013 PyDict_SetItemString(d
,"ED_STATIC_LINE", SWIG_From_int((int)(wxED_STATIC_LINE
)));
47016 PyDict_SetItemString(d
,"EXT_DIALOG_STYLE", SWIG_From_int((int)(wxEXT_DIALOG_STYLE
)));
47019 PyDict_SetItemString(d
,"CLIP_CHILDREN", SWIG_From_int((int)(wxCLIP_CHILDREN
)));
47022 PyDict_SetItemString(d
,"CLIP_SIBLINGS", SWIG_From_int((int)(wxCLIP_SIBLINGS
)));
47025 PyDict_SetItemString(d
,"ALWAYS_SHOW_SB", SWIG_From_int((int)(wxALWAYS_SHOW_SB
)));
47028 PyDict_SetItemString(d
,"RETAINED", SWIG_From_int((int)(wxRETAINED
)));
47031 PyDict_SetItemString(d
,"BACKINGSTORE", SWIG_From_int((int)(wxBACKINGSTORE
)));
47034 PyDict_SetItemString(d
,"COLOURED", SWIG_From_int((int)(wxCOLOURED
)));
47037 PyDict_SetItemString(d
,"FIXED_LENGTH", SWIG_From_int((int)(wxFIXED_LENGTH
)));
47040 PyDict_SetItemString(d
,"LB_NEEDED_SB", SWIG_From_int((int)(wxLB_NEEDED_SB
)));
47043 PyDict_SetItemString(d
,"LB_ALWAYS_SB", SWIG_From_int((int)(wxLB_ALWAYS_SB
)));
47046 PyDict_SetItemString(d
,"LB_SORT", SWIG_From_int((int)(wxLB_SORT
)));
47049 PyDict_SetItemString(d
,"LB_SINGLE", SWIG_From_int((int)(wxLB_SINGLE
)));
47052 PyDict_SetItemString(d
,"LB_MULTIPLE", SWIG_From_int((int)(wxLB_MULTIPLE
)));
47055 PyDict_SetItemString(d
,"LB_EXTENDED", SWIG_From_int((int)(wxLB_EXTENDED
)));
47058 PyDict_SetItemString(d
,"LB_OWNERDRAW", SWIG_From_int((int)(wxLB_OWNERDRAW
)));
47061 PyDict_SetItemString(d
,"LB_HSCROLL", SWIG_From_int((int)(wxLB_HSCROLL
)));
47064 PyDict_SetItemString(d
,"PROCESS_ENTER", SWIG_From_int((int)(wxPROCESS_ENTER
)));
47067 PyDict_SetItemString(d
,"PASSWORD", SWIG_From_int((int)(wxPASSWORD
)));
47070 PyDict_SetItemString(d
,"CB_SIMPLE", SWIG_From_int((int)(wxCB_SIMPLE
)));
47073 PyDict_SetItemString(d
,"CB_DROPDOWN", SWIG_From_int((int)(wxCB_DROPDOWN
)));
47076 PyDict_SetItemString(d
,"CB_SORT", SWIG_From_int((int)(wxCB_SORT
)));
47079 PyDict_SetItemString(d
,"CB_READONLY", SWIG_From_int((int)(wxCB_READONLY
)));
47082 PyDict_SetItemString(d
,"RA_HORIZONTAL", SWIG_From_int((int)(wxRA_HORIZONTAL
)));
47085 PyDict_SetItemString(d
,"RA_VERTICAL", SWIG_From_int((int)(wxRA_VERTICAL
)));
47088 PyDict_SetItemString(d
,"RA_SPECIFY_ROWS", SWIG_From_int((int)(wxRA_SPECIFY_ROWS
)));
47091 PyDict_SetItemString(d
,"RA_SPECIFY_COLS", SWIG_From_int((int)(wxRA_SPECIFY_COLS
)));
47094 PyDict_SetItemString(d
,"RA_USE_CHECKBOX", SWIG_From_int((int)(wxRA_USE_CHECKBOX
)));
47097 PyDict_SetItemString(d
,"RB_GROUP", SWIG_From_int((int)(wxRB_GROUP
)));
47100 PyDict_SetItemString(d
,"RB_SINGLE", SWIG_From_int((int)(wxRB_SINGLE
)));
47103 PyDict_SetItemString(d
,"SB_HORIZONTAL", SWIG_From_int((int)(wxSB_HORIZONTAL
)));
47106 PyDict_SetItemString(d
,"SB_VERTICAL", SWIG_From_int((int)(wxSB_VERTICAL
)));
47109 PyDict_SetItemString(d
,"RB_USE_CHECKBOX", SWIG_From_int((int)(wxRB_USE_CHECKBOX
)));
47112 PyDict_SetItemString(d
,"ST_SIZEGRIP", SWIG_From_int((int)(wxST_SIZEGRIP
)));
47115 PyDict_SetItemString(d
,"ST_NO_AUTORESIZE", SWIG_From_int((int)(wxST_NO_AUTORESIZE
)));
47118 PyDict_SetItemString(d
,"FLOOD_SURFACE", SWIG_From_int((int)(wxFLOOD_SURFACE
)));
47121 PyDict_SetItemString(d
,"FLOOD_BORDER", SWIG_From_int((int)(wxFLOOD_BORDER
)));
47124 PyDict_SetItemString(d
,"ODDEVEN_RULE", SWIG_From_int((int)(wxODDEVEN_RULE
)));
47127 PyDict_SetItemString(d
,"WINDING_RULE", SWIG_From_int((int)(wxWINDING_RULE
)));
47130 PyDict_SetItemString(d
,"TOOL_TOP", SWIG_From_int((int)(wxTOOL_TOP
)));
47133 PyDict_SetItemString(d
,"TOOL_BOTTOM", SWIG_From_int((int)(wxTOOL_BOTTOM
)));
47136 PyDict_SetItemString(d
,"TOOL_LEFT", SWIG_From_int((int)(wxTOOL_LEFT
)));
47139 PyDict_SetItemString(d
,"TOOL_RIGHT", SWIG_From_int((int)(wxTOOL_RIGHT
)));
47142 PyDict_SetItemString(d
,"OK", SWIG_From_int((int)(wxOK
)));
47145 PyDict_SetItemString(d
,"YES_NO", SWIG_From_int((int)(wxYES_NO
)));
47148 PyDict_SetItemString(d
,"CANCEL", SWIG_From_int((int)(wxCANCEL
)));
47151 PyDict_SetItemString(d
,"YES", SWIG_From_int((int)(wxYES
)));
47154 PyDict_SetItemString(d
,"NO", SWIG_From_int((int)(wxNO
)));
47157 PyDict_SetItemString(d
,"NO_DEFAULT", SWIG_From_int((int)(wxNO_DEFAULT
)));
47160 PyDict_SetItemString(d
,"YES_DEFAULT", SWIG_From_int((int)(wxYES_DEFAULT
)));
47163 PyDict_SetItemString(d
,"ICON_EXCLAMATION", SWIG_From_int((int)(wxICON_EXCLAMATION
)));
47166 PyDict_SetItemString(d
,"ICON_HAND", SWIG_From_int((int)(wxICON_HAND
)));
47169 PyDict_SetItemString(d
,"ICON_QUESTION", SWIG_From_int((int)(wxICON_QUESTION
)));
47172 PyDict_SetItemString(d
,"ICON_INFORMATION", SWIG_From_int((int)(wxICON_INFORMATION
)));
47175 PyDict_SetItemString(d
,"ICON_STOP", SWIG_From_int((int)(wxICON_STOP
)));
47178 PyDict_SetItemString(d
,"ICON_ASTERISK", SWIG_From_int((int)(wxICON_ASTERISK
)));
47181 PyDict_SetItemString(d
,"ICON_MASK", SWIG_From_int((int)(wxICON_MASK
)));
47184 PyDict_SetItemString(d
,"ICON_WARNING", SWIG_From_int((int)(wxICON_WARNING
)));
47187 PyDict_SetItemString(d
,"ICON_ERROR", SWIG_From_int((int)(wxICON_ERROR
)));
47190 PyDict_SetItemString(d
,"FORWARD", SWIG_From_int((int)(wxFORWARD
)));
47193 PyDict_SetItemString(d
,"BACKWARD", SWIG_From_int((int)(wxBACKWARD
)));
47196 PyDict_SetItemString(d
,"RESET", SWIG_From_int((int)(wxRESET
)));
47199 PyDict_SetItemString(d
,"HELP", SWIG_From_int((int)(wxHELP
)));
47202 PyDict_SetItemString(d
,"MORE", SWIG_From_int((int)(wxMORE
)));
47205 PyDict_SetItemString(d
,"SETUP", SWIG_From_int((int)(wxSETUP
)));
47208 PyDict_SetItemString(d
,"SIZE_AUTO_WIDTH", SWIG_From_int((int)(wxSIZE_AUTO_WIDTH
)));
47211 PyDict_SetItemString(d
,"SIZE_AUTO_HEIGHT", SWIG_From_int((int)(wxSIZE_AUTO_HEIGHT
)));
47214 PyDict_SetItemString(d
,"SIZE_AUTO", SWIG_From_int((int)(wxSIZE_AUTO
)));
47217 PyDict_SetItemString(d
,"SIZE_USE_EXISTING", SWIG_From_int((int)(wxSIZE_USE_EXISTING
)));
47220 PyDict_SetItemString(d
,"SIZE_ALLOW_MINUS_ONE", SWIG_From_int((int)(wxSIZE_ALLOW_MINUS_ONE
)));
47223 PyDict_SetItemString(d
,"PORTRAIT", SWIG_From_int((int)(wxPORTRAIT
)));
47226 PyDict_SetItemString(d
,"LANDSCAPE", SWIG_From_int((int)(wxLANDSCAPE
)));
47229 PyDict_SetItemString(d
,"PRINT_QUALITY_HIGH", SWIG_From_int((int)(wxPRINT_QUALITY_HIGH
)));
47232 PyDict_SetItemString(d
,"PRINT_QUALITY_MEDIUM", SWIG_From_int((int)(wxPRINT_QUALITY_MEDIUM
)));
47235 PyDict_SetItemString(d
,"PRINT_QUALITY_LOW", SWIG_From_int((int)(wxPRINT_QUALITY_LOW
)));
47238 PyDict_SetItemString(d
,"PRINT_QUALITY_DRAFT", SWIG_From_int((int)(wxPRINT_QUALITY_DRAFT
)));
47241 PyDict_SetItemString(d
,"ID_ANY", SWIG_From_int((int)(wxID_ANY
)));
47244 PyDict_SetItemString(d
,"ID_SEPARATOR", SWIG_From_int((int)(wxID_SEPARATOR
)));
47247 PyDict_SetItemString(d
,"ID_LOWEST", SWIG_From_int((int)(wxID_LOWEST
)));
47250 PyDict_SetItemString(d
,"ID_OPEN", SWIG_From_int((int)(wxID_OPEN
)));
47253 PyDict_SetItemString(d
,"ID_CLOSE", SWIG_From_int((int)(wxID_CLOSE
)));
47256 PyDict_SetItemString(d
,"ID_NEW", SWIG_From_int((int)(wxID_NEW
)));
47259 PyDict_SetItemString(d
,"ID_SAVE", SWIG_From_int((int)(wxID_SAVE
)));
47262 PyDict_SetItemString(d
,"ID_SAVEAS", SWIG_From_int((int)(wxID_SAVEAS
)));
47265 PyDict_SetItemString(d
,"ID_REVERT", SWIG_From_int((int)(wxID_REVERT
)));
47268 PyDict_SetItemString(d
,"ID_EXIT", SWIG_From_int((int)(wxID_EXIT
)));
47271 PyDict_SetItemString(d
,"ID_UNDO", SWIG_From_int((int)(wxID_UNDO
)));
47274 PyDict_SetItemString(d
,"ID_REDO", SWIG_From_int((int)(wxID_REDO
)));
47277 PyDict_SetItemString(d
,"ID_HELP", SWIG_From_int((int)(wxID_HELP
)));
47280 PyDict_SetItemString(d
,"ID_PRINT", SWIG_From_int((int)(wxID_PRINT
)));
47283 PyDict_SetItemString(d
,"ID_PRINT_SETUP", SWIG_From_int((int)(wxID_PRINT_SETUP
)));
47286 PyDict_SetItemString(d
,"ID_PREVIEW", SWIG_From_int((int)(wxID_PREVIEW
)));
47289 PyDict_SetItemString(d
,"ID_ABOUT", SWIG_From_int((int)(wxID_ABOUT
)));
47292 PyDict_SetItemString(d
,"ID_HELP_CONTENTS", SWIG_From_int((int)(wxID_HELP_CONTENTS
)));
47295 PyDict_SetItemString(d
,"ID_HELP_COMMANDS", SWIG_From_int((int)(wxID_HELP_COMMANDS
)));
47298 PyDict_SetItemString(d
,"ID_HELP_PROCEDURES", SWIG_From_int((int)(wxID_HELP_PROCEDURES
)));
47301 PyDict_SetItemString(d
,"ID_HELP_CONTEXT", SWIG_From_int((int)(wxID_HELP_CONTEXT
)));
47304 PyDict_SetItemString(d
,"ID_CLOSE_ALL", SWIG_From_int((int)(wxID_CLOSE_ALL
)));
47307 PyDict_SetItemString(d
,"ID_PREFERENCES", SWIG_From_int((int)(wxID_PREFERENCES
)));
47310 PyDict_SetItemString(d
,"ID_CUT", SWIG_From_int((int)(wxID_CUT
)));
47313 PyDict_SetItemString(d
,"ID_COPY", SWIG_From_int((int)(wxID_COPY
)));
47316 PyDict_SetItemString(d
,"ID_PASTE", SWIG_From_int((int)(wxID_PASTE
)));
47319 PyDict_SetItemString(d
,"ID_CLEAR", SWIG_From_int((int)(wxID_CLEAR
)));
47322 PyDict_SetItemString(d
,"ID_FIND", SWIG_From_int((int)(wxID_FIND
)));
47325 PyDict_SetItemString(d
,"ID_DUPLICATE", SWIG_From_int((int)(wxID_DUPLICATE
)));
47328 PyDict_SetItemString(d
,"ID_SELECTALL", SWIG_From_int((int)(wxID_SELECTALL
)));
47331 PyDict_SetItemString(d
,"ID_DELETE", SWIG_From_int((int)(wxID_DELETE
)));
47334 PyDict_SetItemString(d
,"ID_REPLACE", SWIG_From_int((int)(wxID_REPLACE
)));
47337 PyDict_SetItemString(d
,"ID_REPLACE_ALL", SWIG_From_int((int)(wxID_REPLACE_ALL
)));
47340 PyDict_SetItemString(d
,"ID_PROPERTIES", SWIG_From_int((int)(wxID_PROPERTIES
)));
47343 PyDict_SetItemString(d
,"ID_VIEW_DETAILS", SWIG_From_int((int)(wxID_VIEW_DETAILS
)));
47346 PyDict_SetItemString(d
,"ID_VIEW_LARGEICONS", SWIG_From_int((int)(wxID_VIEW_LARGEICONS
)));
47349 PyDict_SetItemString(d
,"ID_VIEW_SMALLICONS", SWIG_From_int((int)(wxID_VIEW_SMALLICONS
)));
47352 PyDict_SetItemString(d
,"ID_VIEW_LIST", SWIG_From_int((int)(wxID_VIEW_LIST
)));
47355 PyDict_SetItemString(d
,"ID_VIEW_SORTDATE", SWIG_From_int((int)(wxID_VIEW_SORTDATE
)));
47358 PyDict_SetItemString(d
,"ID_VIEW_SORTNAME", SWIG_From_int((int)(wxID_VIEW_SORTNAME
)));
47361 PyDict_SetItemString(d
,"ID_VIEW_SORTSIZE", SWIG_From_int((int)(wxID_VIEW_SORTSIZE
)));
47364 PyDict_SetItemString(d
,"ID_VIEW_SORTTYPE", SWIG_From_int((int)(wxID_VIEW_SORTTYPE
)));
47367 PyDict_SetItemString(d
,"ID_FILE1", SWIG_From_int((int)(wxID_FILE1
)));
47370 PyDict_SetItemString(d
,"ID_FILE2", SWIG_From_int((int)(wxID_FILE2
)));
47373 PyDict_SetItemString(d
,"ID_FILE3", SWIG_From_int((int)(wxID_FILE3
)));
47376 PyDict_SetItemString(d
,"ID_FILE4", SWIG_From_int((int)(wxID_FILE4
)));
47379 PyDict_SetItemString(d
,"ID_FILE5", SWIG_From_int((int)(wxID_FILE5
)));
47382 PyDict_SetItemString(d
,"ID_FILE6", SWIG_From_int((int)(wxID_FILE6
)));
47385 PyDict_SetItemString(d
,"ID_FILE7", SWIG_From_int((int)(wxID_FILE7
)));
47388 PyDict_SetItemString(d
,"ID_FILE8", SWIG_From_int((int)(wxID_FILE8
)));
47391 PyDict_SetItemString(d
,"ID_FILE9", SWIG_From_int((int)(wxID_FILE9
)));
47394 PyDict_SetItemString(d
,"ID_OK", SWIG_From_int((int)(wxID_OK
)));
47397 PyDict_SetItemString(d
,"ID_CANCEL", SWIG_From_int((int)(wxID_CANCEL
)));
47400 PyDict_SetItemString(d
,"ID_APPLY", SWIG_From_int((int)(wxID_APPLY
)));
47403 PyDict_SetItemString(d
,"ID_YES", SWIG_From_int((int)(wxID_YES
)));
47406 PyDict_SetItemString(d
,"ID_NO", SWIG_From_int((int)(wxID_NO
)));
47409 PyDict_SetItemString(d
,"ID_STATIC", SWIG_From_int((int)(wxID_STATIC
)));
47412 PyDict_SetItemString(d
,"ID_FORWARD", SWIG_From_int((int)(wxID_FORWARD
)));
47415 PyDict_SetItemString(d
,"ID_BACKWARD", SWIG_From_int((int)(wxID_BACKWARD
)));
47418 PyDict_SetItemString(d
,"ID_DEFAULT", SWIG_From_int((int)(wxID_DEFAULT
)));
47421 PyDict_SetItemString(d
,"ID_MORE", SWIG_From_int((int)(wxID_MORE
)));
47424 PyDict_SetItemString(d
,"ID_SETUP", SWIG_From_int((int)(wxID_SETUP
)));
47427 PyDict_SetItemString(d
,"ID_RESET", SWIG_From_int((int)(wxID_RESET
)));
47430 PyDict_SetItemString(d
,"ID_CONTEXT_HELP", SWIG_From_int((int)(wxID_CONTEXT_HELP
)));
47433 PyDict_SetItemString(d
,"ID_YESTOALL", SWIG_From_int((int)(wxID_YESTOALL
)));
47436 PyDict_SetItemString(d
,"ID_NOTOALL", SWIG_From_int((int)(wxID_NOTOALL
)));
47439 PyDict_SetItemString(d
,"ID_ABORT", SWIG_From_int((int)(wxID_ABORT
)));
47442 PyDict_SetItemString(d
,"ID_RETRY", SWIG_From_int((int)(wxID_RETRY
)));
47445 PyDict_SetItemString(d
,"ID_IGNORE", SWIG_From_int((int)(wxID_IGNORE
)));
47448 PyDict_SetItemString(d
,"ID_ADD", SWIG_From_int((int)(wxID_ADD
)));
47451 PyDict_SetItemString(d
,"ID_REMOVE", SWIG_From_int((int)(wxID_REMOVE
)));
47454 PyDict_SetItemString(d
,"ID_UP", SWIG_From_int((int)(wxID_UP
)));
47457 PyDict_SetItemString(d
,"ID_DOWN", SWIG_From_int((int)(wxID_DOWN
)));
47460 PyDict_SetItemString(d
,"ID_HOME", SWIG_From_int((int)(wxID_HOME
)));
47463 PyDict_SetItemString(d
,"ID_REFRESH", SWIG_From_int((int)(wxID_REFRESH
)));
47466 PyDict_SetItemString(d
,"ID_STOP", SWIG_From_int((int)(wxID_STOP
)));
47469 PyDict_SetItemString(d
,"ID_INDEX", SWIG_From_int((int)(wxID_INDEX
)));
47472 PyDict_SetItemString(d
,"ID_BOLD", SWIG_From_int((int)(wxID_BOLD
)));
47475 PyDict_SetItemString(d
,"ID_ITALIC", SWIG_From_int((int)(wxID_ITALIC
)));
47478 PyDict_SetItemString(d
,"ID_JUSTIFY_CENTER", SWIG_From_int((int)(wxID_JUSTIFY_CENTER
)));
47481 PyDict_SetItemString(d
,"ID_JUSTIFY_FILL", SWIG_From_int((int)(wxID_JUSTIFY_FILL
)));
47484 PyDict_SetItemString(d
,"ID_JUSTIFY_RIGHT", SWIG_From_int((int)(wxID_JUSTIFY_RIGHT
)));
47487 PyDict_SetItemString(d
,"ID_JUSTIFY_LEFT", SWIG_From_int((int)(wxID_JUSTIFY_LEFT
)));
47490 PyDict_SetItemString(d
,"ID_UNDERLINE", SWIG_From_int((int)(wxID_UNDERLINE
)));
47493 PyDict_SetItemString(d
,"ID_INDENT", SWIG_From_int((int)(wxID_INDENT
)));
47496 PyDict_SetItemString(d
,"ID_UNINDENT", SWIG_From_int((int)(wxID_UNINDENT
)));
47499 PyDict_SetItemString(d
,"ID_ZOOM_100", SWIG_From_int((int)(wxID_ZOOM_100
)));
47502 PyDict_SetItemString(d
,"ID_ZOOM_FIT", SWIG_From_int((int)(wxID_ZOOM_FIT
)));
47505 PyDict_SetItemString(d
,"ID_ZOOM_IN", SWIG_From_int((int)(wxID_ZOOM_IN
)));
47508 PyDict_SetItemString(d
,"ID_ZOOM_OUT", SWIG_From_int((int)(wxID_ZOOM_OUT
)));
47511 PyDict_SetItemString(d
,"ID_UNDELETE", SWIG_From_int((int)(wxID_UNDELETE
)));
47514 PyDict_SetItemString(d
,"ID_REVERT_TO_SAVED", SWIG_From_int((int)(wxID_REVERT_TO_SAVED
)));
47517 PyDict_SetItemString(d
,"ID_HIGHEST", SWIG_From_int((int)(wxID_HIGHEST
)));
47520 PyDict_SetItemString(d
,"OPEN", SWIG_From_int((int)(wxOPEN
)));
47523 PyDict_SetItemString(d
,"SAVE", SWIG_From_int((int)(wxSAVE
)));
47526 PyDict_SetItemString(d
,"HIDE_READONLY", SWIG_From_int((int)(wxHIDE_READONLY
)));
47529 PyDict_SetItemString(d
,"OVERWRITE_PROMPT", SWIG_From_int((int)(wxOVERWRITE_PROMPT
)));
47532 PyDict_SetItemString(d
,"FILE_MUST_EXIST", SWIG_From_int((int)(wxFILE_MUST_EXIST
)));
47535 PyDict_SetItemString(d
,"MULTIPLE", SWIG_From_int((int)(wxMULTIPLE
)));
47538 PyDict_SetItemString(d
,"CHANGE_DIR", SWIG_From_int((int)(wxCHANGE_DIR
)));
47541 PyDict_SetItemString(d
,"ACCEL_ALT", SWIG_From_int((int)(wxACCEL_ALT
)));
47544 PyDict_SetItemString(d
,"ACCEL_CTRL", SWIG_From_int((int)(wxACCEL_CTRL
)));
47547 PyDict_SetItemString(d
,"ACCEL_SHIFT", SWIG_From_int((int)(wxACCEL_SHIFT
)));
47550 PyDict_SetItemString(d
,"ACCEL_NORMAL", SWIG_From_int((int)(wxACCEL_NORMAL
)));
47553 PyDict_SetItemString(d
,"PD_AUTO_HIDE", SWIG_From_int((int)(wxPD_AUTO_HIDE
)));
47556 PyDict_SetItemString(d
,"PD_APP_MODAL", SWIG_From_int((int)(wxPD_APP_MODAL
)));
47559 PyDict_SetItemString(d
,"PD_CAN_ABORT", SWIG_From_int((int)(wxPD_CAN_ABORT
)));
47562 PyDict_SetItemString(d
,"PD_ELAPSED_TIME", SWIG_From_int((int)(wxPD_ELAPSED_TIME
)));
47565 PyDict_SetItemString(d
,"PD_ESTIMATED_TIME", SWIG_From_int((int)(wxPD_ESTIMATED_TIME
)));
47568 PyDict_SetItemString(d
,"PD_REMAINING_TIME", SWIG_From_int((int)(wxPD_REMAINING_TIME
)));
47571 PyDict_SetItemString(d
,"PD_SMOOTH", SWIG_From_int((int)(wxPD_SMOOTH
)));
47574 PyDict_SetItemString(d
,"PD_CAN_SKIP", SWIG_From_int((int)(wxPD_CAN_SKIP
)));
47577 PyDict_SetItemString(d
,"DD_NEW_DIR_BUTTON", SWIG_From_int((int)(wxDD_NEW_DIR_BUTTON
)));
47580 PyDict_SetItemString(d
,"DD_DEFAULT_STYLE", SWIG_From_int((int)(wxDD_DEFAULT_STYLE
)));
47583 PyDict_SetItemString(d
,"MENU_TEAROFF", SWIG_From_int((int)(wxMENU_TEAROFF
)));
47586 PyDict_SetItemString(d
,"MB_DOCKABLE", SWIG_From_int((int)(wxMB_DOCKABLE
)));
47589 PyDict_SetItemString(d
,"NO_FULL_REPAINT_ON_RESIZE", SWIG_From_int((int)(wxNO_FULL_REPAINT_ON_RESIZE
)));
47592 PyDict_SetItemString(d
,"FULL_REPAINT_ON_RESIZE", SWIG_From_int((int)(wxFULL_REPAINT_ON_RESIZE
)));
47595 PyDict_SetItemString(d
,"LI_HORIZONTAL", SWIG_From_int((int)(wxLI_HORIZONTAL
)));
47598 PyDict_SetItemString(d
,"LI_VERTICAL", SWIG_From_int((int)(wxLI_VERTICAL
)));
47601 PyDict_SetItemString(d
,"WS_EX_VALIDATE_RECURSIVELY", SWIG_From_int((int)(wxWS_EX_VALIDATE_RECURSIVELY
)));
47604 PyDict_SetItemString(d
,"WS_EX_BLOCK_EVENTS", SWIG_From_int((int)(wxWS_EX_BLOCK_EVENTS
)));
47607 PyDict_SetItemString(d
,"WS_EX_TRANSIENT", SWIG_From_int((int)(wxWS_EX_TRANSIENT
)));
47610 PyDict_SetItemString(d
,"WS_EX_THEMED_BACKGROUND", SWIG_From_int((int)(wxWS_EX_THEMED_BACKGROUND
)));
47613 PyDict_SetItemString(d
,"WS_EX_PROCESS_IDLE", SWIG_From_int((int)(wxWS_EX_PROCESS_IDLE
)));
47616 PyDict_SetItemString(d
,"WS_EX_PROCESS_UI_UPDATES", SWIG_From_int((int)(wxWS_EX_PROCESS_UI_UPDATES
)));
47619 PyDict_SetItemString(d
,"MM_TEXT", SWIG_From_int((int)(wxMM_TEXT
)));
47622 PyDict_SetItemString(d
,"MM_LOMETRIC", SWIG_From_int((int)(wxMM_LOMETRIC
)));
47625 PyDict_SetItemString(d
,"MM_HIMETRIC", SWIG_From_int((int)(wxMM_HIMETRIC
)));
47628 PyDict_SetItemString(d
,"MM_LOENGLISH", SWIG_From_int((int)(wxMM_LOENGLISH
)));
47631 PyDict_SetItemString(d
,"MM_HIENGLISH", SWIG_From_int((int)(wxMM_HIENGLISH
)));
47634 PyDict_SetItemString(d
,"MM_TWIPS", SWIG_From_int((int)(wxMM_TWIPS
)));
47637 PyDict_SetItemString(d
,"MM_ISOTROPIC", SWIG_From_int((int)(wxMM_ISOTROPIC
)));
47640 PyDict_SetItemString(d
,"MM_ANISOTROPIC", SWIG_From_int((int)(wxMM_ANISOTROPIC
)));
47643 PyDict_SetItemString(d
,"MM_POINTS", SWIG_From_int((int)(wxMM_POINTS
)));
47646 PyDict_SetItemString(d
,"MM_METRIC", SWIG_From_int((int)(wxMM_METRIC
)));
47649 PyDict_SetItemString(d
,"CENTRE", SWIG_From_int((int)(wxCENTRE
)));
47652 PyDict_SetItemString(d
,"CENTER", SWIG_From_int((int)(wxCENTER
)));
47655 PyDict_SetItemString(d
,"HORIZONTAL", SWIG_From_int((int)(wxHORIZONTAL
)));
47658 PyDict_SetItemString(d
,"VERTICAL", SWIG_From_int((int)(wxVERTICAL
)));
47661 PyDict_SetItemString(d
,"BOTH", SWIG_From_int((int)(wxBOTH
)));
47664 PyDict_SetItemString(d
,"LEFT", SWIG_From_int((int)(wxLEFT
)));
47667 PyDict_SetItemString(d
,"RIGHT", SWIG_From_int((int)(wxRIGHT
)));
47670 PyDict_SetItemString(d
,"UP", SWIG_From_int((int)(wxUP
)));
47673 PyDict_SetItemString(d
,"DOWN", SWIG_From_int((int)(wxDOWN
)));
47676 PyDict_SetItemString(d
,"TOP", SWIG_From_int((int)(wxTOP
)));
47679 PyDict_SetItemString(d
,"BOTTOM", SWIG_From_int((int)(wxBOTTOM
)));
47682 PyDict_SetItemString(d
,"NORTH", SWIG_From_int((int)(wxNORTH
)));
47685 PyDict_SetItemString(d
,"SOUTH", SWIG_From_int((int)(wxSOUTH
)));
47688 PyDict_SetItemString(d
,"WEST", SWIG_From_int((int)(wxWEST
)));
47691 PyDict_SetItemString(d
,"EAST", SWIG_From_int((int)(wxEAST
)));
47694 PyDict_SetItemString(d
,"ALL", SWIG_From_int((int)(wxALL
)));
47697 PyDict_SetItemString(d
,"ALIGN_NOT", SWIG_From_int((int)(wxALIGN_NOT
)));
47700 PyDict_SetItemString(d
,"ALIGN_CENTER_HORIZONTAL", SWIG_From_int((int)(wxALIGN_CENTER_HORIZONTAL
)));
47703 PyDict_SetItemString(d
,"ALIGN_CENTRE_HORIZONTAL", SWIG_From_int((int)(wxALIGN_CENTRE_HORIZONTAL
)));
47706 PyDict_SetItemString(d
,"ALIGN_LEFT", SWIG_From_int((int)(wxALIGN_LEFT
)));
47709 PyDict_SetItemString(d
,"ALIGN_TOP", SWIG_From_int((int)(wxALIGN_TOP
)));
47712 PyDict_SetItemString(d
,"ALIGN_RIGHT", SWIG_From_int((int)(wxALIGN_RIGHT
)));
47715 PyDict_SetItemString(d
,"ALIGN_BOTTOM", SWIG_From_int((int)(wxALIGN_BOTTOM
)));
47718 PyDict_SetItemString(d
,"ALIGN_CENTER_VERTICAL", SWIG_From_int((int)(wxALIGN_CENTER_VERTICAL
)));
47721 PyDict_SetItemString(d
,"ALIGN_CENTRE_VERTICAL", SWIG_From_int((int)(wxALIGN_CENTRE_VERTICAL
)));
47724 PyDict_SetItemString(d
,"ALIGN_CENTER", SWIG_From_int((int)(wxALIGN_CENTER
)));
47727 PyDict_SetItemString(d
,"ALIGN_CENTRE", SWIG_From_int((int)(wxALIGN_CENTRE
)));
47730 PyDict_SetItemString(d
,"ALIGN_MASK", SWIG_From_int((int)(wxALIGN_MASK
)));
47733 PyDict_SetItemString(d
,"STRETCH_NOT", SWIG_From_int((int)(wxSTRETCH_NOT
)));
47736 PyDict_SetItemString(d
,"SHRINK", SWIG_From_int((int)(wxSHRINK
)));
47739 PyDict_SetItemString(d
,"GROW", SWIG_From_int((int)(wxGROW
)));
47742 PyDict_SetItemString(d
,"EXPAND", SWIG_From_int((int)(wxEXPAND
)));
47745 PyDict_SetItemString(d
,"SHAPED", SWIG_From_int((int)(wxSHAPED
)));
47748 PyDict_SetItemString(d
,"FIXED_MINSIZE", SWIG_From_int((int)(wxFIXED_MINSIZE
)));
47751 PyDict_SetItemString(d
,"TILE", SWIG_From_int((int)(wxTILE
)));
47754 PyDict_SetItemString(d
,"ADJUST_MINSIZE", SWIG_From_int((int)(wxADJUST_MINSIZE
)));
47757 PyDict_SetItemString(d
,"BORDER_DEFAULT", SWIG_From_int((int)(wxBORDER_DEFAULT
)));
47760 PyDict_SetItemString(d
,"BORDER_NONE", SWIG_From_int((int)(wxBORDER_NONE
)));
47763 PyDict_SetItemString(d
,"BORDER_STATIC", SWIG_From_int((int)(wxBORDER_STATIC
)));
47766 PyDict_SetItemString(d
,"BORDER_SIMPLE", SWIG_From_int((int)(wxBORDER_SIMPLE
)));
47769 PyDict_SetItemString(d
,"BORDER_RAISED", SWIG_From_int((int)(wxBORDER_RAISED
)));
47772 PyDict_SetItemString(d
,"BORDER_SUNKEN", SWIG_From_int((int)(wxBORDER_SUNKEN
)));
47775 PyDict_SetItemString(d
,"BORDER_DOUBLE", SWIG_From_int((int)(wxBORDER_DOUBLE
)));
47778 PyDict_SetItemString(d
,"BORDER_MASK", SWIG_From_int((int)(wxBORDER_MASK
)));
47781 PyDict_SetItemString(d
,"BG_STYLE_SYSTEM", SWIG_From_int((int)(wxBG_STYLE_SYSTEM
)));
47784 PyDict_SetItemString(d
,"BG_STYLE_COLOUR", SWIG_From_int((int)(wxBG_STYLE_COLOUR
)));
47787 PyDict_SetItemString(d
,"BG_STYLE_CUSTOM", SWIG_From_int((int)(wxBG_STYLE_CUSTOM
)));
47790 PyDict_SetItemString(d
,"DEFAULT", SWIG_From_int((int)(wxDEFAULT
)));
47793 PyDict_SetItemString(d
,"DECORATIVE", SWIG_From_int((int)(wxDECORATIVE
)));
47796 PyDict_SetItemString(d
,"ROMAN", SWIG_From_int((int)(wxROMAN
)));
47799 PyDict_SetItemString(d
,"SCRIPT", SWIG_From_int((int)(wxSCRIPT
)));
47802 PyDict_SetItemString(d
,"SWISS", SWIG_From_int((int)(wxSWISS
)));
47805 PyDict_SetItemString(d
,"MODERN", SWIG_From_int((int)(wxMODERN
)));
47808 PyDict_SetItemString(d
,"TELETYPE", SWIG_From_int((int)(wxTELETYPE
)));
47811 PyDict_SetItemString(d
,"VARIABLE", SWIG_From_int((int)(wxVARIABLE
)));
47814 PyDict_SetItemString(d
,"FIXED", SWIG_From_int((int)(wxFIXED
)));
47817 PyDict_SetItemString(d
,"NORMAL", SWIG_From_int((int)(wxNORMAL
)));
47820 PyDict_SetItemString(d
,"LIGHT", SWIG_From_int((int)(wxLIGHT
)));
47823 PyDict_SetItemString(d
,"BOLD", SWIG_From_int((int)(wxBOLD
)));
47826 PyDict_SetItemString(d
,"ITALIC", SWIG_From_int((int)(wxITALIC
)));
47829 PyDict_SetItemString(d
,"SLANT", SWIG_From_int((int)(wxSLANT
)));
47832 PyDict_SetItemString(d
,"SOLID", SWIG_From_int((int)(wxSOLID
)));
47835 PyDict_SetItemString(d
,"DOT", SWIG_From_int((int)(wxDOT
)));
47838 PyDict_SetItemString(d
,"LONG_DASH", SWIG_From_int((int)(wxLONG_DASH
)));
47841 PyDict_SetItemString(d
,"SHORT_DASH", SWIG_From_int((int)(wxSHORT_DASH
)));
47844 PyDict_SetItemString(d
,"DOT_DASH", SWIG_From_int((int)(wxDOT_DASH
)));
47847 PyDict_SetItemString(d
,"USER_DASH", SWIG_From_int((int)(wxUSER_DASH
)));
47850 PyDict_SetItemString(d
,"TRANSPARENT", SWIG_From_int((int)(wxTRANSPARENT
)));
47853 PyDict_SetItemString(d
,"STIPPLE", SWIG_From_int((int)(wxSTIPPLE
)));
47856 PyDict_SetItemString(d
,"BDIAGONAL_HATCH", SWIG_From_int((int)(wxBDIAGONAL_HATCH
)));
47859 PyDict_SetItemString(d
,"CROSSDIAG_HATCH", SWIG_From_int((int)(wxCROSSDIAG_HATCH
)));
47862 PyDict_SetItemString(d
,"FDIAGONAL_HATCH", SWIG_From_int((int)(wxFDIAGONAL_HATCH
)));
47865 PyDict_SetItemString(d
,"CROSS_HATCH", SWIG_From_int((int)(wxCROSS_HATCH
)));
47868 PyDict_SetItemString(d
,"HORIZONTAL_HATCH", SWIG_From_int((int)(wxHORIZONTAL_HATCH
)));
47871 PyDict_SetItemString(d
,"VERTICAL_HATCH", SWIG_From_int((int)(wxVERTICAL_HATCH
)));
47874 PyDict_SetItemString(d
,"JOIN_BEVEL", SWIG_From_int((int)(wxJOIN_BEVEL
)));
47877 PyDict_SetItemString(d
,"JOIN_MITER", SWIG_From_int((int)(wxJOIN_MITER
)));
47880 PyDict_SetItemString(d
,"JOIN_ROUND", SWIG_From_int((int)(wxJOIN_ROUND
)));
47883 PyDict_SetItemString(d
,"CAP_ROUND", SWIG_From_int((int)(wxCAP_ROUND
)));
47886 PyDict_SetItemString(d
,"CAP_PROJECTING", SWIG_From_int((int)(wxCAP_PROJECTING
)));
47889 PyDict_SetItemString(d
,"CAP_BUTT", SWIG_From_int((int)(wxCAP_BUTT
)));
47892 PyDict_SetItemString(d
,"CLEAR", SWIG_From_int((int)(wxCLEAR
)));
47895 PyDict_SetItemString(d
,"XOR", SWIG_From_int((int)(wxXOR
)));
47898 PyDict_SetItemString(d
,"INVERT", SWIG_From_int((int)(wxINVERT
)));
47901 PyDict_SetItemString(d
,"OR_REVERSE", SWIG_From_int((int)(wxOR_REVERSE
)));
47904 PyDict_SetItemString(d
,"AND_REVERSE", SWIG_From_int((int)(wxAND_REVERSE
)));
47907 PyDict_SetItemString(d
,"COPY", SWIG_From_int((int)(wxCOPY
)));
47910 PyDict_SetItemString(d
,"AND", SWIG_From_int((int)(wxAND
)));
47913 PyDict_SetItemString(d
,"AND_INVERT", SWIG_From_int((int)(wxAND_INVERT
)));
47916 PyDict_SetItemString(d
,"NO_OP", SWIG_From_int((int)(wxNO_OP
)));
47919 PyDict_SetItemString(d
,"NOR", SWIG_From_int((int)(wxNOR
)));
47922 PyDict_SetItemString(d
,"EQUIV", SWIG_From_int((int)(wxEQUIV
)));
47925 PyDict_SetItemString(d
,"SRC_INVERT", SWIG_From_int((int)(wxSRC_INVERT
)));
47928 PyDict_SetItemString(d
,"OR_INVERT", SWIG_From_int((int)(wxOR_INVERT
)));
47931 PyDict_SetItemString(d
,"NAND", SWIG_From_int((int)(wxNAND
)));
47934 PyDict_SetItemString(d
,"OR", SWIG_From_int((int)(wxOR
)));
47937 PyDict_SetItemString(d
,"SET", SWIG_From_int((int)(wxSET
)));
47940 PyDict_SetItemString(d
,"WXK_BACK", SWIG_From_int((int)(WXK_BACK
)));
47943 PyDict_SetItemString(d
,"WXK_TAB", SWIG_From_int((int)(WXK_TAB
)));
47946 PyDict_SetItemString(d
,"WXK_RETURN", SWIG_From_int((int)(WXK_RETURN
)));
47949 PyDict_SetItemString(d
,"WXK_ESCAPE", SWIG_From_int((int)(WXK_ESCAPE
)));
47952 PyDict_SetItemString(d
,"WXK_SPACE", SWIG_From_int((int)(WXK_SPACE
)));
47955 PyDict_SetItemString(d
,"WXK_DELETE", SWIG_From_int((int)(WXK_DELETE
)));
47958 PyDict_SetItemString(d
,"WXK_START", SWIG_From_int((int)(WXK_START
)));
47961 PyDict_SetItemString(d
,"WXK_LBUTTON", SWIG_From_int((int)(WXK_LBUTTON
)));
47964 PyDict_SetItemString(d
,"WXK_RBUTTON", SWIG_From_int((int)(WXK_RBUTTON
)));
47967 PyDict_SetItemString(d
,"WXK_CANCEL", SWIG_From_int((int)(WXK_CANCEL
)));
47970 PyDict_SetItemString(d
,"WXK_MBUTTON", SWIG_From_int((int)(WXK_MBUTTON
)));
47973 PyDict_SetItemString(d
,"WXK_CLEAR", SWIG_From_int((int)(WXK_CLEAR
)));
47976 PyDict_SetItemString(d
,"WXK_SHIFT", SWIG_From_int((int)(WXK_SHIFT
)));
47979 PyDict_SetItemString(d
,"WXK_ALT", SWIG_From_int((int)(WXK_ALT
)));
47982 PyDict_SetItemString(d
,"WXK_CONTROL", SWIG_From_int((int)(WXK_CONTROL
)));
47985 PyDict_SetItemString(d
,"WXK_MENU", SWIG_From_int((int)(WXK_MENU
)));
47988 PyDict_SetItemString(d
,"WXK_PAUSE", SWIG_From_int((int)(WXK_PAUSE
)));
47991 PyDict_SetItemString(d
,"WXK_CAPITAL", SWIG_From_int((int)(WXK_CAPITAL
)));
47994 PyDict_SetItemString(d
,"WXK_PRIOR", SWIG_From_int((int)(WXK_PRIOR
)));
47997 PyDict_SetItemString(d
,"WXK_NEXT", SWIG_From_int((int)(WXK_NEXT
)));
48000 PyDict_SetItemString(d
,"WXK_END", SWIG_From_int((int)(WXK_END
)));
48003 PyDict_SetItemString(d
,"WXK_HOME", SWIG_From_int((int)(WXK_HOME
)));
48006 PyDict_SetItemString(d
,"WXK_LEFT", SWIG_From_int((int)(WXK_LEFT
)));
48009 PyDict_SetItemString(d
,"WXK_UP", SWIG_From_int((int)(WXK_UP
)));
48012 PyDict_SetItemString(d
,"WXK_RIGHT", SWIG_From_int((int)(WXK_RIGHT
)));
48015 PyDict_SetItemString(d
,"WXK_DOWN", SWIG_From_int((int)(WXK_DOWN
)));
48018 PyDict_SetItemString(d
,"WXK_SELECT", SWIG_From_int((int)(WXK_SELECT
)));
48021 PyDict_SetItemString(d
,"WXK_PRINT", SWIG_From_int((int)(WXK_PRINT
)));
48024 PyDict_SetItemString(d
,"WXK_EXECUTE", SWIG_From_int((int)(WXK_EXECUTE
)));
48027 PyDict_SetItemString(d
,"WXK_SNAPSHOT", SWIG_From_int((int)(WXK_SNAPSHOT
)));
48030 PyDict_SetItemString(d
,"WXK_INSERT", SWIG_From_int((int)(WXK_INSERT
)));
48033 PyDict_SetItemString(d
,"WXK_HELP", SWIG_From_int((int)(WXK_HELP
)));
48036 PyDict_SetItemString(d
,"WXK_NUMPAD0", SWIG_From_int((int)(WXK_NUMPAD0
)));
48039 PyDict_SetItemString(d
,"WXK_NUMPAD1", SWIG_From_int((int)(WXK_NUMPAD1
)));
48042 PyDict_SetItemString(d
,"WXK_NUMPAD2", SWIG_From_int((int)(WXK_NUMPAD2
)));
48045 PyDict_SetItemString(d
,"WXK_NUMPAD3", SWIG_From_int((int)(WXK_NUMPAD3
)));
48048 PyDict_SetItemString(d
,"WXK_NUMPAD4", SWIG_From_int((int)(WXK_NUMPAD4
)));
48051 PyDict_SetItemString(d
,"WXK_NUMPAD5", SWIG_From_int((int)(WXK_NUMPAD5
)));
48054 PyDict_SetItemString(d
,"WXK_NUMPAD6", SWIG_From_int((int)(WXK_NUMPAD6
)));
48057 PyDict_SetItemString(d
,"WXK_NUMPAD7", SWIG_From_int((int)(WXK_NUMPAD7
)));
48060 PyDict_SetItemString(d
,"WXK_NUMPAD8", SWIG_From_int((int)(WXK_NUMPAD8
)));
48063 PyDict_SetItemString(d
,"WXK_NUMPAD9", SWIG_From_int((int)(WXK_NUMPAD9
)));
48066 PyDict_SetItemString(d
,"WXK_MULTIPLY", SWIG_From_int((int)(WXK_MULTIPLY
)));
48069 PyDict_SetItemString(d
,"WXK_ADD", SWIG_From_int((int)(WXK_ADD
)));
48072 PyDict_SetItemString(d
,"WXK_SEPARATOR", SWIG_From_int((int)(WXK_SEPARATOR
)));
48075 PyDict_SetItemString(d
,"WXK_SUBTRACT", SWIG_From_int((int)(WXK_SUBTRACT
)));
48078 PyDict_SetItemString(d
,"WXK_DECIMAL", SWIG_From_int((int)(WXK_DECIMAL
)));
48081 PyDict_SetItemString(d
,"WXK_DIVIDE", SWIG_From_int((int)(WXK_DIVIDE
)));
48084 PyDict_SetItemString(d
,"WXK_F1", SWIG_From_int((int)(WXK_F1
)));
48087 PyDict_SetItemString(d
,"WXK_F2", SWIG_From_int((int)(WXK_F2
)));
48090 PyDict_SetItemString(d
,"WXK_F3", SWIG_From_int((int)(WXK_F3
)));
48093 PyDict_SetItemString(d
,"WXK_F4", SWIG_From_int((int)(WXK_F4
)));
48096 PyDict_SetItemString(d
,"WXK_F5", SWIG_From_int((int)(WXK_F5
)));
48099 PyDict_SetItemString(d
,"WXK_F6", SWIG_From_int((int)(WXK_F6
)));
48102 PyDict_SetItemString(d
,"WXK_F7", SWIG_From_int((int)(WXK_F7
)));
48105 PyDict_SetItemString(d
,"WXK_F8", SWIG_From_int((int)(WXK_F8
)));
48108 PyDict_SetItemString(d
,"WXK_F9", SWIG_From_int((int)(WXK_F9
)));
48111 PyDict_SetItemString(d
,"WXK_F10", SWIG_From_int((int)(WXK_F10
)));
48114 PyDict_SetItemString(d
,"WXK_F11", SWIG_From_int((int)(WXK_F11
)));
48117 PyDict_SetItemString(d
,"WXK_F12", SWIG_From_int((int)(WXK_F12
)));
48120 PyDict_SetItemString(d
,"WXK_F13", SWIG_From_int((int)(WXK_F13
)));
48123 PyDict_SetItemString(d
,"WXK_F14", SWIG_From_int((int)(WXK_F14
)));
48126 PyDict_SetItemString(d
,"WXK_F15", SWIG_From_int((int)(WXK_F15
)));
48129 PyDict_SetItemString(d
,"WXK_F16", SWIG_From_int((int)(WXK_F16
)));
48132 PyDict_SetItemString(d
,"WXK_F17", SWIG_From_int((int)(WXK_F17
)));
48135 PyDict_SetItemString(d
,"WXK_F18", SWIG_From_int((int)(WXK_F18
)));
48138 PyDict_SetItemString(d
,"WXK_F19", SWIG_From_int((int)(WXK_F19
)));
48141 PyDict_SetItemString(d
,"WXK_F20", SWIG_From_int((int)(WXK_F20
)));
48144 PyDict_SetItemString(d
,"WXK_F21", SWIG_From_int((int)(WXK_F21
)));
48147 PyDict_SetItemString(d
,"WXK_F22", SWIG_From_int((int)(WXK_F22
)));
48150 PyDict_SetItemString(d
,"WXK_F23", SWIG_From_int((int)(WXK_F23
)));
48153 PyDict_SetItemString(d
,"WXK_F24", SWIG_From_int((int)(WXK_F24
)));
48156 PyDict_SetItemString(d
,"WXK_NUMLOCK", SWIG_From_int((int)(WXK_NUMLOCK
)));
48159 PyDict_SetItemString(d
,"WXK_SCROLL", SWIG_From_int((int)(WXK_SCROLL
)));
48162 PyDict_SetItemString(d
,"WXK_PAGEUP", SWIG_From_int((int)(WXK_PAGEUP
)));
48165 PyDict_SetItemString(d
,"WXK_PAGEDOWN", SWIG_From_int((int)(WXK_PAGEDOWN
)));
48168 PyDict_SetItemString(d
,"WXK_NUMPAD_SPACE", SWIG_From_int((int)(WXK_NUMPAD_SPACE
)));
48171 PyDict_SetItemString(d
,"WXK_NUMPAD_TAB", SWIG_From_int((int)(WXK_NUMPAD_TAB
)));
48174 PyDict_SetItemString(d
,"WXK_NUMPAD_ENTER", SWIG_From_int((int)(WXK_NUMPAD_ENTER
)));
48177 PyDict_SetItemString(d
,"WXK_NUMPAD_F1", SWIG_From_int((int)(WXK_NUMPAD_F1
)));
48180 PyDict_SetItemString(d
,"WXK_NUMPAD_F2", SWIG_From_int((int)(WXK_NUMPAD_F2
)));
48183 PyDict_SetItemString(d
,"WXK_NUMPAD_F3", SWIG_From_int((int)(WXK_NUMPAD_F3
)));
48186 PyDict_SetItemString(d
,"WXK_NUMPAD_F4", SWIG_From_int((int)(WXK_NUMPAD_F4
)));
48189 PyDict_SetItemString(d
,"WXK_NUMPAD_HOME", SWIG_From_int((int)(WXK_NUMPAD_HOME
)));
48192 PyDict_SetItemString(d
,"WXK_NUMPAD_LEFT", SWIG_From_int((int)(WXK_NUMPAD_LEFT
)));
48195 PyDict_SetItemString(d
,"WXK_NUMPAD_UP", SWIG_From_int((int)(WXK_NUMPAD_UP
)));
48198 PyDict_SetItemString(d
,"WXK_NUMPAD_RIGHT", SWIG_From_int((int)(WXK_NUMPAD_RIGHT
)));
48201 PyDict_SetItemString(d
,"WXK_NUMPAD_DOWN", SWIG_From_int((int)(WXK_NUMPAD_DOWN
)));
48204 PyDict_SetItemString(d
,"WXK_NUMPAD_PRIOR", SWIG_From_int((int)(WXK_NUMPAD_PRIOR
)));
48207 PyDict_SetItemString(d
,"WXK_NUMPAD_PAGEUP", SWIG_From_int((int)(WXK_NUMPAD_PAGEUP
)));
48210 PyDict_SetItemString(d
,"WXK_NUMPAD_NEXT", SWIG_From_int((int)(WXK_NUMPAD_NEXT
)));
48213 PyDict_SetItemString(d
,"WXK_NUMPAD_PAGEDOWN", SWIG_From_int((int)(WXK_NUMPAD_PAGEDOWN
)));
48216 PyDict_SetItemString(d
,"WXK_NUMPAD_END", SWIG_From_int((int)(WXK_NUMPAD_END
)));
48219 PyDict_SetItemString(d
,"WXK_NUMPAD_BEGIN", SWIG_From_int((int)(WXK_NUMPAD_BEGIN
)));
48222 PyDict_SetItemString(d
,"WXK_NUMPAD_INSERT", SWIG_From_int((int)(WXK_NUMPAD_INSERT
)));
48225 PyDict_SetItemString(d
,"WXK_NUMPAD_DELETE", SWIG_From_int((int)(WXK_NUMPAD_DELETE
)));
48228 PyDict_SetItemString(d
,"WXK_NUMPAD_EQUAL", SWIG_From_int((int)(WXK_NUMPAD_EQUAL
)));
48231 PyDict_SetItemString(d
,"WXK_NUMPAD_MULTIPLY", SWIG_From_int((int)(WXK_NUMPAD_MULTIPLY
)));
48234 PyDict_SetItemString(d
,"WXK_NUMPAD_ADD", SWIG_From_int((int)(WXK_NUMPAD_ADD
)));
48237 PyDict_SetItemString(d
,"WXK_NUMPAD_SEPARATOR", SWIG_From_int((int)(WXK_NUMPAD_SEPARATOR
)));
48240 PyDict_SetItemString(d
,"WXK_NUMPAD_SUBTRACT", SWIG_From_int((int)(WXK_NUMPAD_SUBTRACT
)));
48243 PyDict_SetItemString(d
,"WXK_NUMPAD_DECIMAL", SWIG_From_int((int)(WXK_NUMPAD_DECIMAL
)));
48246 PyDict_SetItemString(d
,"WXK_NUMPAD_DIVIDE", SWIG_From_int((int)(WXK_NUMPAD_DIVIDE
)));
48249 PyDict_SetItemString(d
,"WXK_WINDOWS_LEFT", SWIG_From_int((int)(WXK_WINDOWS_LEFT
)));
48252 PyDict_SetItemString(d
,"WXK_WINDOWS_RIGHT", SWIG_From_int((int)(WXK_WINDOWS_RIGHT
)));
48255 PyDict_SetItemString(d
,"WXK_WINDOWS_MENU", SWIG_From_int((int)(WXK_WINDOWS_MENU
)));
48258 PyDict_SetItemString(d
,"PAPER_NONE", SWIG_From_int((int)(wxPAPER_NONE
)));
48261 PyDict_SetItemString(d
,"PAPER_LETTER", SWIG_From_int((int)(wxPAPER_LETTER
)));
48264 PyDict_SetItemString(d
,"PAPER_LEGAL", SWIG_From_int((int)(wxPAPER_LEGAL
)));
48267 PyDict_SetItemString(d
,"PAPER_A4", SWIG_From_int((int)(wxPAPER_A4
)));
48270 PyDict_SetItemString(d
,"PAPER_CSHEET", SWIG_From_int((int)(wxPAPER_CSHEET
)));
48273 PyDict_SetItemString(d
,"PAPER_DSHEET", SWIG_From_int((int)(wxPAPER_DSHEET
)));
48276 PyDict_SetItemString(d
,"PAPER_ESHEET", SWIG_From_int((int)(wxPAPER_ESHEET
)));
48279 PyDict_SetItemString(d
,"PAPER_LETTERSMALL", SWIG_From_int((int)(wxPAPER_LETTERSMALL
)));
48282 PyDict_SetItemString(d
,"PAPER_TABLOID", SWIG_From_int((int)(wxPAPER_TABLOID
)));
48285 PyDict_SetItemString(d
,"PAPER_LEDGER", SWIG_From_int((int)(wxPAPER_LEDGER
)));
48288 PyDict_SetItemString(d
,"PAPER_STATEMENT", SWIG_From_int((int)(wxPAPER_STATEMENT
)));
48291 PyDict_SetItemString(d
,"PAPER_EXECUTIVE", SWIG_From_int((int)(wxPAPER_EXECUTIVE
)));
48294 PyDict_SetItemString(d
,"PAPER_A3", SWIG_From_int((int)(wxPAPER_A3
)));
48297 PyDict_SetItemString(d
,"PAPER_A4SMALL", SWIG_From_int((int)(wxPAPER_A4SMALL
)));
48300 PyDict_SetItemString(d
,"PAPER_A5", SWIG_From_int((int)(wxPAPER_A5
)));
48303 PyDict_SetItemString(d
,"PAPER_B4", SWIG_From_int((int)(wxPAPER_B4
)));
48306 PyDict_SetItemString(d
,"PAPER_B5", SWIG_From_int((int)(wxPAPER_B5
)));
48309 PyDict_SetItemString(d
,"PAPER_FOLIO", SWIG_From_int((int)(wxPAPER_FOLIO
)));
48312 PyDict_SetItemString(d
,"PAPER_QUARTO", SWIG_From_int((int)(wxPAPER_QUARTO
)));
48315 PyDict_SetItemString(d
,"PAPER_10X14", SWIG_From_int((int)(wxPAPER_10X14
)));
48318 PyDict_SetItemString(d
,"PAPER_11X17", SWIG_From_int((int)(wxPAPER_11X17
)));
48321 PyDict_SetItemString(d
,"PAPER_NOTE", SWIG_From_int((int)(wxPAPER_NOTE
)));
48324 PyDict_SetItemString(d
,"PAPER_ENV_9", SWIG_From_int((int)(wxPAPER_ENV_9
)));
48327 PyDict_SetItemString(d
,"PAPER_ENV_10", SWIG_From_int((int)(wxPAPER_ENV_10
)));
48330 PyDict_SetItemString(d
,"PAPER_ENV_11", SWIG_From_int((int)(wxPAPER_ENV_11
)));
48333 PyDict_SetItemString(d
,"PAPER_ENV_12", SWIG_From_int((int)(wxPAPER_ENV_12
)));
48336 PyDict_SetItemString(d
,"PAPER_ENV_14", SWIG_From_int((int)(wxPAPER_ENV_14
)));
48339 PyDict_SetItemString(d
,"PAPER_ENV_DL", SWIG_From_int((int)(wxPAPER_ENV_DL
)));
48342 PyDict_SetItemString(d
,"PAPER_ENV_C5", SWIG_From_int((int)(wxPAPER_ENV_C5
)));
48345 PyDict_SetItemString(d
,"PAPER_ENV_C3", SWIG_From_int((int)(wxPAPER_ENV_C3
)));
48348 PyDict_SetItemString(d
,"PAPER_ENV_C4", SWIG_From_int((int)(wxPAPER_ENV_C4
)));
48351 PyDict_SetItemString(d
,"PAPER_ENV_C6", SWIG_From_int((int)(wxPAPER_ENV_C6
)));
48354 PyDict_SetItemString(d
,"PAPER_ENV_C65", SWIG_From_int((int)(wxPAPER_ENV_C65
)));
48357 PyDict_SetItemString(d
,"PAPER_ENV_B4", SWIG_From_int((int)(wxPAPER_ENV_B4
)));
48360 PyDict_SetItemString(d
,"PAPER_ENV_B5", SWIG_From_int((int)(wxPAPER_ENV_B5
)));
48363 PyDict_SetItemString(d
,"PAPER_ENV_B6", SWIG_From_int((int)(wxPAPER_ENV_B6
)));
48366 PyDict_SetItemString(d
,"PAPER_ENV_ITALY", SWIG_From_int((int)(wxPAPER_ENV_ITALY
)));
48369 PyDict_SetItemString(d
,"PAPER_ENV_MONARCH", SWIG_From_int((int)(wxPAPER_ENV_MONARCH
)));
48372 PyDict_SetItemString(d
,"PAPER_ENV_PERSONAL", SWIG_From_int((int)(wxPAPER_ENV_PERSONAL
)));
48375 PyDict_SetItemString(d
,"PAPER_FANFOLD_US", SWIG_From_int((int)(wxPAPER_FANFOLD_US
)));
48378 PyDict_SetItemString(d
,"PAPER_FANFOLD_STD_GERMAN", SWIG_From_int((int)(wxPAPER_FANFOLD_STD_GERMAN
)));
48381 PyDict_SetItemString(d
,"PAPER_FANFOLD_LGL_GERMAN", SWIG_From_int((int)(wxPAPER_FANFOLD_LGL_GERMAN
)));
48384 PyDict_SetItemString(d
,"PAPER_ISO_B4", SWIG_From_int((int)(wxPAPER_ISO_B4
)));
48387 PyDict_SetItemString(d
,"PAPER_JAPANESE_POSTCARD", SWIG_From_int((int)(wxPAPER_JAPANESE_POSTCARD
)));
48390 PyDict_SetItemString(d
,"PAPER_9X11", SWIG_From_int((int)(wxPAPER_9X11
)));
48393 PyDict_SetItemString(d
,"PAPER_10X11", SWIG_From_int((int)(wxPAPER_10X11
)));
48396 PyDict_SetItemString(d
,"PAPER_15X11", SWIG_From_int((int)(wxPAPER_15X11
)));
48399 PyDict_SetItemString(d
,"PAPER_ENV_INVITE", SWIG_From_int((int)(wxPAPER_ENV_INVITE
)));
48402 PyDict_SetItemString(d
,"PAPER_LETTER_EXTRA", SWIG_From_int((int)(wxPAPER_LETTER_EXTRA
)));
48405 PyDict_SetItemString(d
,"PAPER_LEGAL_EXTRA", SWIG_From_int((int)(wxPAPER_LEGAL_EXTRA
)));
48408 PyDict_SetItemString(d
,"PAPER_TABLOID_EXTRA", SWIG_From_int((int)(wxPAPER_TABLOID_EXTRA
)));
48411 PyDict_SetItemString(d
,"PAPER_A4_EXTRA", SWIG_From_int((int)(wxPAPER_A4_EXTRA
)));
48414 PyDict_SetItemString(d
,"PAPER_LETTER_TRANSVERSE", SWIG_From_int((int)(wxPAPER_LETTER_TRANSVERSE
)));
48417 PyDict_SetItemString(d
,"PAPER_A4_TRANSVERSE", SWIG_From_int((int)(wxPAPER_A4_TRANSVERSE
)));
48420 PyDict_SetItemString(d
,"PAPER_LETTER_EXTRA_TRANSVERSE", SWIG_From_int((int)(wxPAPER_LETTER_EXTRA_TRANSVERSE
)));
48423 PyDict_SetItemString(d
,"PAPER_A_PLUS", SWIG_From_int((int)(wxPAPER_A_PLUS
)));
48426 PyDict_SetItemString(d
,"PAPER_B_PLUS", SWIG_From_int((int)(wxPAPER_B_PLUS
)));
48429 PyDict_SetItemString(d
,"PAPER_LETTER_PLUS", SWIG_From_int((int)(wxPAPER_LETTER_PLUS
)));
48432 PyDict_SetItemString(d
,"PAPER_A4_PLUS", SWIG_From_int((int)(wxPAPER_A4_PLUS
)));
48435 PyDict_SetItemString(d
,"PAPER_A5_TRANSVERSE", SWIG_From_int((int)(wxPAPER_A5_TRANSVERSE
)));
48438 PyDict_SetItemString(d
,"PAPER_B5_TRANSVERSE", SWIG_From_int((int)(wxPAPER_B5_TRANSVERSE
)));
48441 PyDict_SetItemString(d
,"PAPER_A3_EXTRA", SWIG_From_int((int)(wxPAPER_A3_EXTRA
)));
48444 PyDict_SetItemString(d
,"PAPER_A5_EXTRA", SWIG_From_int((int)(wxPAPER_A5_EXTRA
)));
48447 PyDict_SetItemString(d
,"PAPER_B5_EXTRA", SWIG_From_int((int)(wxPAPER_B5_EXTRA
)));
48450 PyDict_SetItemString(d
,"PAPER_A2", SWIG_From_int((int)(wxPAPER_A2
)));
48453 PyDict_SetItemString(d
,"PAPER_A3_TRANSVERSE", SWIG_From_int((int)(wxPAPER_A3_TRANSVERSE
)));
48456 PyDict_SetItemString(d
,"PAPER_A3_EXTRA_TRANSVERSE", SWIG_From_int((int)(wxPAPER_A3_EXTRA_TRANSVERSE
)));
48459 PyDict_SetItemString(d
,"DUPLEX_SIMPLEX", SWIG_From_int((int)(wxDUPLEX_SIMPLEX
)));
48462 PyDict_SetItemString(d
,"DUPLEX_HORIZONTAL", SWIG_From_int((int)(wxDUPLEX_HORIZONTAL
)));
48465 PyDict_SetItemString(d
,"DUPLEX_VERTICAL", SWIG_From_int((int)(wxDUPLEX_VERTICAL
)));
48468 PyDict_SetItemString(d
,"ITEM_SEPARATOR", SWIG_From_int((int)(wxITEM_SEPARATOR
)));
48471 PyDict_SetItemString(d
,"ITEM_NORMAL", SWIG_From_int((int)(wxITEM_NORMAL
)));
48474 PyDict_SetItemString(d
,"ITEM_CHECK", SWIG_From_int((int)(wxITEM_CHECK
)));
48477 PyDict_SetItemString(d
,"ITEM_RADIO", SWIG_From_int((int)(wxITEM_RADIO
)));
48480 PyDict_SetItemString(d
,"ITEM_MAX", SWIG_From_int((int)(wxITEM_MAX
)));
48483 PyDict_SetItemString(d
,"HT_NOWHERE", SWIG_From_int((int)(wxHT_NOWHERE
)));
48486 PyDict_SetItemString(d
,"HT_SCROLLBAR_FIRST", SWIG_From_int((int)(wxHT_SCROLLBAR_FIRST
)));
48489 PyDict_SetItemString(d
,"HT_SCROLLBAR_ARROW_LINE_1", SWIG_From_int((int)(wxHT_SCROLLBAR_ARROW_LINE_1
)));
48492 PyDict_SetItemString(d
,"HT_SCROLLBAR_ARROW_LINE_2", SWIG_From_int((int)(wxHT_SCROLLBAR_ARROW_LINE_2
)));
48495 PyDict_SetItemString(d
,"HT_SCROLLBAR_ARROW_PAGE_1", SWIG_From_int((int)(wxHT_SCROLLBAR_ARROW_PAGE_1
)));
48498 PyDict_SetItemString(d
,"HT_SCROLLBAR_ARROW_PAGE_2", SWIG_From_int((int)(wxHT_SCROLLBAR_ARROW_PAGE_2
)));
48501 PyDict_SetItemString(d
,"HT_SCROLLBAR_THUMB", SWIG_From_int((int)(wxHT_SCROLLBAR_THUMB
)));
48504 PyDict_SetItemString(d
,"HT_SCROLLBAR_BAR_1", SWIG_From_int((int)(wxHT_SCROLLBAR_BAR_1
)));
48507 PyDict_SetItemString(d
,"HT_SCROLLBAR_BAR_2", SWIG_From_int((int)(wxHT_SCROLLBAR_BAR_2
)));
48510 PyDict_SetItemString(d
,"HT_SCROLLBAR_LAST", SWIG_From_int((int)(wxHT_SCROLLBAR_LAST
)));
48513 PyDict_SetItemString(d
,"HT_WINDOW_OUTSIDE", SWIG_From_int((int)(wxHT_WINDOW_OUTSIDE
)));
48516 PyDict_SetItemString(d
,"HT_WINDOW_INSIDE", SWIG_From_int((int)(wxHT_WINDOW_INSIDE
)));
48519 PyDict_SetItemString(d
,"HT_WINDOW_VERT_SCROLLBAR", SWIG_From_int((int)(wxHT_WINDOW_VERT_SCROLLBAR
)));
48522 PyDict_SetItemString(d
,"HT_WINDOW_HORZ_SCROLLBAR", SWIG_From_int((int)(wxHT_WINDOW_HORZ_SCROLLBAR
)));
48525 PyDict_SetItemString(d
,"HT_WINDOW_CORNER", SWIG_From_int((int)(wxHT_WINDOW_CORNER
)));
48528 PyDict_SetItemString(d
,"HT_MAX", SWIG_From_int((int)(wxHT_MAX
)));
48531 PyDict_SetItemString(d
,"MOD_NONE", SWIG_From_int((int)(wxMOD_NONE
)));
48534 PyDict_SetItemString(d
,"MOD_ALT", SWIG_From_int((int)(wxMOD_ALT
)));
48537 PyDict_SetItemString(d
,"MOD_CONTROL", SWIG_From_int((int)(wxMOD_CONTROL
)));
48540 PyDict_SetItemString(d
,"MOD_SHIFT", SWIG_From_int((int)(wxMOD_SHIFT
)));
48543 PyDict_SetItemString(d
,"MOD_WIN", SWIG_From_int((int)(wxMOD_WIN
)));
48546 PyDict_SetItemString(d
,"UPDATE_UI_NONE", SWIG_From_int((int)(wxUPDATE_UI_NONE
)));
48549 PyDict_SetItemString(d
,"UPDATE_UI_RECURSE", SWIG_From_int((int)(wxUPDATE_UI_RECURSE
)));
48552 PyDict_SetItemString(d
,"UPDATE_UI_FROMIDLE", SWIG_From_int((int)(wxUPDATE_UI_FROMIDLE
)));
48554 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals
);
48555 SWIG_addvarlink(SWIG_globals
,(char*)"EmptyString",_wrap_EmptyString_get
, _wrap_EmptyString_set
);
48557 PyDict_SetItemString(d
,"BITMAP_TYPE_INVALID", SWIG_From_int((int)(wxBITMAP_TYPE_INVALID
)));
48560 PyDict_SetItemString(d
,"BITMAP_TYPE_BMP", SWIG_From_int((int)(wxBITMAP_TYPE_BMP
)));
48563 PyDict_SetItemString(d
,"BITMAP_TYPE_ICO", SWIG_From_int((int)(wxBITMAP_TYPE_ICO
)));
48566 PyDict_SetItemString(d
,"BITMAP_TYPE_CUR", SWIG_From_int((int)(wxBITMAP_TYPE_CUR
)));
48569 PyDict_SetItemString(d
,"BITMAP_TYPE_XBM", SWIG_From_int((int)(wxBITMAP_TYPE_XBM
)));
48572 PyDict_SetItemString(d
,"BITMAP_TYPE_XBM_DATA", SWIG_From_int((int)(wxBITMAP_TYPE_XBM_DATA
)));
48575 PyDict_SetItemString(d
,"BITMAP_TYPE_XPM", SWIG_From_int((int)(wxBITMAP_TYPE_XPM
)));
48578 PyDict_SetItemString(d
,"BITMAP_TYPE_XPM_DATA", SWIG_From_int((int)(wxBITMAP_TYPE_XPM_DATA
)));
48581 PyDict_SetItemString(d
,"BITMAP_TYPE_TIF", SWIG_From_int((int)(wxBITMAP_TYPE_TIF
)));
48584 PyDict_SetItemString(d
,"BITMAP_TYPE_GIF", SWIG_From_int((int)(wxBITMAP_TYPE_GIF
)));
48587 PyDict_SetItemString(d
,"BITMAP_TYPE_PNG", SWIG_From_int((int)(wxBITMAP_TYPE_PNG
)));
48590 PyDict_SetItemString(d
,"BITMAP_TYPE_JPEG", SWIG_From_int((int)(wxBITMAP_TYPE_JPEG
)));
48593 PyDict_SetItemString(d
,"BITMAP_TYPE_PNM", SWIG_From_int((int)(wxBITMAP_TYPE_PNM
)));
48596 PyDict_SetItemString(d
,"BITMAP_TYPE_PCX", SWIG_From_int((int)(wxBITMAP_TYPE_PCX
)));
48599 PyDict_SetItemString(d
,"BITMAP_TYPE_PICT", SWIG_From_int((int)(wxBITMAP_TYPE_PICT
)));
48602 PyDict_SetItemString(d
,"BITMAP_TYPE_ICON", SWIG_From_int((int)(wxBITMAP_TYPE_ICON
)));
48605 PyDict_SetItemString(d
,"BITMAP_TYPE_ANI", SWIG_From_int((int)(wxBITMAP_TYPE_ANI
)));
48608 PyDict_SetItemString(d
,"BITMAP_TYPE_IFF", SWIG_From_int((int)(wxBITMAP_TYPE_IFF
)));
48611 PyDict_SetItemString(d
,"BITMAP_TYPE_MACCURSOR", SWIG_From_int((int)(wxBITMAP_TYPE_MACCURSOR
)));
48614 PyDict_SetItemString(d
,"BITMAP_TYPE_ANY", SWIG_From_int((int)(wxBITMAP_TYPE_ANY
)));
48617 PyDict_SetItemString(d
,"CURSOR_NONE", SWIG_From_int((int)(wxCURSOR_NONE
)));
48620 PyDict_SetItemString(d
,"CURSOR_ARROW", SWIG_From_int((int)(wxCURSOR_ARROW
)));
48623 PyDict_SetItemString(d
,"CURSOR_RIGHT_ARROW", SWIG_From_int((int)(wxCURSOR_RIGHT_ARROW
)));
48626 PyDict_SetItemString(d
,"CURSOR_BULLSEYE", SWIG_From_int((int)(wxCURSOR_BULLSEYE
)));
48629 PyDict_SetItemString(d
,"CURSOR_CHAR", SWIG_From_int((int)(wxCURSOR_CHAR
)));
48632 PyDict_SetItemString(d
,"CURSOR_CROSS", SWIG_From_int((int)(wxCURSOR_CROSS
)));
48635 PyDict_SetItemString(d
,"CURSOR_HAND", SWIG_From_int((int)(wxCURSOR_HAND
)));
48638 PyDict_SetItemString(d
,"CURSOR_IBEAM", SWIG_From_int((int)(wxCURSOR_IBEAM
)));
48641 PyDict_SetItemString(d
,"CURSOR_LEFT_BUTTON", SWIG_From_int((int)(wxCURSOR_LEFT_BUTTON
)));
48644 PyDict_SetItemString(d
,"CURSOR_MAGNIFIER", SWIG_From_int((int)(wxCURSOR_MAGNIFIER
)));
48647 PyDict_SetItemString(d
,"CURSOR_MIDDLE_BUTTON", SWIG_From_int((int)(wxCURSOR_MIDDLE_BUTTON
)));
48650 PyDict_SetItemString(d
,"CURSOR_NO_ENTRY", SWIG_From_int((int)(wxCURSOR_NO_ENTRY
)));
48653 PyDict_SetItemString(d
,"CURSOR_PAINT_BRUSH", SWIG_From_int((int)(wxCURSOR_PAINT_BRUSH
)));
48656 PyDict_SetItemString(d
,"CURSOR_PENCIL", SWIG_From_int((int)(wxCURSOR_PENCIL
)));
48659 PyDict_SetItemString(d
,"CURSOR_POINT_LEFT", SWIG_From_int((int)(wxCURSOR_POINT_LEFT
)));
48662 PyDict_SetItemString(d
,"CURSOR_POINT_RIGHT", SWIG_From_int((int)(wxCURSOR_POINT_RIGHT
)));
48665 PyDict_SetItemString(d
,"CURSOR_QUESTION_ARROW", SWIG_From_int((int)(wxCURSOR_QUESTION_ARROW
)));
48668 PyDict_SetItemString(d
,"CURSOR_RIGHT_BUTTON", SWIG_From_int((int)(wxCURSOR_RIGHT_BUTTON
)));
48671 PyDict_SetItemString(d
,"CURSOR_SIZENESW", SWIG_From_int((int)(wxCURSOR_SIZENESW
)));
48674 PyDict_SetItemString(d
,"CURSOR_SIZENS", SWIG_From_int((int)(wxCURSOR_SIZENS
)));
48677 PyDict_SetItemString(d
,"CURSOR_SIZENWSE", SWIG_From_int((int)(wxCURSOR_SIZENWSE
)));
48680 PyDict_SetItemString(d
,"CURSOR_SIZEWE", SWIG_From_int((int)(wxCURSOR_SIZEWE
)));
48683 PyDict_SetItemString(d
,"CURSOR_SIZING", SWIG_From_int((int)(wxCURSOR_SIZING
)));
48686 PyDict_SetItemString(d
,"CURSOR_SPRAYCAN", SWIG_From_int((int)(wxCURSOR_SPRAYCAN
)));
48689 PyDict_SetItemString(d
,"CURSOR_WAIT", SWIG_From_int((int)(wxCURSOR_WAIT
)));
48692 PyDict_SetItemString(d
,"CURSOR_WATCH", SWIG_From_int((int)(wxCURSOR_WATCH
)));
48695 PyDict_SetItemString(d
,"CURSOR_BLANK", SWIG_From_int((int)(wxCURSOR_BLANK
)));
48698 PyDict_SetItemString(d
,"CURSOR_DEFAULT", SWIG_From_int((int)(wxCURSOR_DEFAULT
)));
48701 PyDict_SetItemString(d
,"CURSOR_COPY_ARROW", SWIG_From_int((int)(wxCURSOR_COPY_ARROW
)));
48704 PyDict_SetItemString(d
,"CURSOR_ARROWWAIT", SWIG_From_int((int)(wxCURSOR_ARROWWAIT
)));
48707 PyDict_SetItemString(d
,"CURSOR_MAX", SWIG_From_int((int)(wxCURSOR_MAX
)));
48709 SWIG_addvarlink(SWIG_globals
,(char*)"DefaultPosition",_wrap_DefaultPosition_get
, _wrap_DefaultPosition_set
);
48710 SWIG_addvarlink(SWIG_globals
,(char*)"DefaultSize",_wrap_DefaultSize_get
, _wrap_DefaultSize_set
);
48712 PyDict_SetItemString(d
,"FromStart", SWIG_From_int((int)(wxFromStart
)));
48715 PyDict_SetItemString(d
,"FromCurrent", SWIG_From_int((int)(wxFromCurrent
)));
48718 PyDict_SetItemString(d
,"FromEnd", SWIG_From_int((int)(wxFromEnd
)));
48721 wxPyPtrTypeMap_Add("wxInputStream", "wxPyInputStream");
48724 wxPyPtrTypeMap_Add("wxFileSystemHandler", "wxPyFileSystemHandler");
48726 SWIG_addvarlink(SWIG_globals
,(char*)"NullImage",_wrap_NullImage_get
, _wrap_NullImage_set
);
48727 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_BMP_FORMAT",_wrap_IMAGE_OPTION_BMP_FORMAT_get
, _wrap_IMAGE_OPTION_BMP_FORMAT_set
);
48728 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_CUR_HOTSPOT_X",_wrap_IMAGE_OPTION_CUR_HOTSPOT_X_get
, _wrap_IMAGE_OPTION_CUR_HOTSPOT_X_set
);
48729 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_CUR_HOTSPOT_Y",_wrap_IMAGE_OPTION_CUR_HOTSPOT_Y_get
, _wrap_IMAGE_OPTION_CUR_HOTSPOT_Y_set
);
48730 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_RESOLUTION",_wrap_IMAGE_OPTION_RESOLUTION_get
, _wrap_IMAGE_OPTION_RESOLUTION_set
);
48731 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_RESOLUTIONUNIT",_wrap_IMAGE_OPTION_RESOLUTIONUNIT_get
, _wrap_IMAGE_OPTION_RESOLUTIONUNIT_set
);
48733 PyDict_SetItemString(d
,"IMAGE_RESOLUTION_INCHES", SWIG_From_int((int)(wxIMAGE_RESOLUTION_INCHES
)));
48736 PyDict_SetItemString(d
,"IMAGE_RESOLUTION_CM", SWIG_From_int((int)(wxIMAGE_RESOLUTION_CM
)));
48739 PyDict_SetItemString(d
,"BMP_24BPP", SWIG_From_int((int)(wxBMP_24BPP
)));
48742 PyDict_SetItemString(d
,"BMP_8BPP", SWIG_From_int((int)(wxBMP_8BPP
)));
48745 PyDict_SetItemString(d
,"BMP_8BPP_GREY", SWIG_From_int((int)(wxBMP_8BPP_GREY
)));
48748 PyDict_SetItemString(d
,"BMP_8BPP_GRAY", SWIG_From_int((int)(wxBMP_8BPP_GRAY
)));
48751 PyDict_SetItemString(d
,"BMP_8BPP_RED", SWIG_From_int((int)(wxBMP_8BPP_RED
)));
48754 PyDict_SetItemString(d
,"BMP_8BPP_PALETTE", SWIG_From_int((int)(wxBMP_8BPP_PALETTE
)));
48757 PyDict_SetItemString(d
,"BMP_4BPP", SWIG_From_int((int)(wxBMP_4BPP
)));
48760 PyDict_SetItemString(d
,"BMP_1BPP", SWIG_From_int((int)(wxBMP_1BPP
)));
48763 PyDict_SetItemString(d
,"BMP_1BPP_BW", SWIG_From_int((int)(wxBMP_1BPP_BW
)));
48766 PyDict_SetItemString(d
,"QUANTIZE_INCLUDE_WINDOWS_COLOURS", SWIG_From_int((int)(wxQUANTIZE_INCLUDE_WINDOWS_COLOURS
)));
48769 PyDict_SetItemString(d
,"QUANTIZE_FILL_DESTINATION_IMAGE", SWIG_From_int((int)(wxQUANTIZE_FILL_DESTINATION_IMAGE
)));
48772 PyDict_SetItemString(d
,"EVENT_PROPAGATE_NONE", SWIG_From_int((int)(wxEVENT_PROPAGATE_NONE
)));
48775 PyDict_SetItemString(d
,"EVENT_PROPAGATE_MAX", SWIG_From_int((int)(wxEVENT_PROPAGATE_MAX
)));
48777 PyDict_SetItemString(d
, "wxEVT_NULL", PyInt_FromLong(wxEVT_NULL
));
48778 PyDict_SetItemString(d
, "wxEVT_FIRST", PyInt_FromLong(wxEVT_FIRST
));
48779 PyDict_SetItemString(d
, "wxEVT_USER_FIRST", PyInt_FromLong(wxEVT_USER_FIRST
));
48780 PyDict_SetItemString(d
, "wxEVT_COMMAND_BUTTON_CLICKED", PyInt_FromLong(wxEVT_COMMAND_BUTTON_CLICKED
));
48781 PyDict_SetItemString(d
, "wxEVT_COMMAND_CHECKBOX_CLICKED", PyInt_FromLong(wxEVT_COMMAND_CHECKBOX_CLICKED
));
48782 PyDict_SetItemString(d
, "wxEVT_COMMAND_CHOICE_SELECTED", PyInt_FromLong(wxEVT_COMMAND_CHOICE_SELECTED
));
48783 PyDict_SetItemString(d
, "wxEVT_COMMAND_LISTBOX_SELECTED", PyInt_FromLong(wxEVT_COMMAND_LISTBOX_SELECTED
));
48784 PyDict_SetItemString(d
, "wxEVT_COMMAND_LISTBOX_DOUBLECLICKED", PyInt_FromLong(wxEVT_COMMAND_LISTBOX_DOUBLECLICKED
));
48785 PyDict_SetItemString(d
, "wxEVT_COMMAND_CHECKLISTBOX_TOGGLED", PyInt_FromLong(wxEVT_COMMAND_CHECKLISTBOX_TOGGLED
));
48786 PyDict_SetItemString(d
, "wxEVT_COMMAND_MENU_SELECTED", PyInt_FromLong(wxEVT_COMMAND_MENU_SELECTED
));
48787 PyDict_SetItemString(d
, "wxEVT_COMMAND_TOOL_CLICKED", PyInt_FromLong(wxEVT_COMMAND_TOOL_CLICKED
));
48788 PyDict_SetItemString(d
, "wxEVT_COMMAND_SLIDER_UPDATED", PyInt_FromLong(wxEVT_COMMAND_SLIDER_UPDATED
));
48789 PyDict_SetItemString(d
, "wxEVT_COMMAND_RADIOBOX_SELECTED", PyInt_FromLong(wxEVT_COMMAND_RADIOBOX_SELECTED
));
48790 PyDict_SetItemString(d
, "wxEVT_COMMAND_RADIOBUTTON_SELECTED", PyInt_FromLong(wxEVT_COMMAND_RADIOBUTTON_SELECTED
));
48791 PyDict_SetItemString(d
, "wxEVT_COMMAND_SCROLLBAR_UPDATED", PyInt_FromLong(wxEVT_COMMAND_SCROLLBAR_UPDATED
));
48792 PyDict_SetItemString(d
, "wxEVT_COMMAND_VLBOX_SELECTED", PyInt_FromLong(wxEVT_COMMAND_VLBOX_SELECTED
));
48793 PyDict_SetItemString(d
, "wxEVT_COMMAND_COMBOBOX_SELECTED", PyInt_FromLong(wxEVT_COMMAND_COMBOBOX_SELECTED
));
48794 PyDict_SetItemString(d
, "wxEVT_COMMAND_TOOL_RCLICKED", PyInt_FromLong(wxEVT_COMMAND_TOOL_RCLICKED
));
48795 PyDict_SetItemString(d
, "wxEVT_COMMAND_TOOL_ENTER", PyInt_FromLong(wxEVT_COMMAND_TOOL_ENTER
));
48796 PyDict_SetItemString(d
, "wxEVT_LEFT_DOWN", PyInt_FromLong(wxEVT_LEFT_DOWN
));
48797 PyDict_SetItemString(d
, "wxEVT_LEFT_UP", PyInt_FromLong(wxEVT_LEFT_UP
));
48798 PyDict_SetItemString(d
, "wxEVT_MIDDLE_DOWN", PyInt_FromLong(wxEVT_MIDDLE_DOWN
));
48799 PyDict_SetItemString(d
, "wxEVT_MIDDLE_UP", PyInt_FromLong(wxEVT_MIDDLE_UP
));
48800 PyDict_SetItemString(d
, "wxEVT_RIGHT_DOWN", PyInt_FromLong(wxEVT_RIGHT_DOWN
));
48801 PyDict_SetItemString(d
, "wxEVT_RIGHT_UP", PyInt_FromLong(wxEVT_RIGHT_UP
));
48802 PyDict_SetItemString(d
, "wxEVT_MOTION", PyInt_FromLong(wxEVT_MOTION
));
48803 PyDict_SetItemString(d
, "wxEVT_ENTER_WINDOW", PyInt_FromLong(wxEVT_ENTER_WINDOW
));
48804 PyDict_SetItemString(d
, "wxEVT_LEAVE_WINDOW", PyInt_FromLong(wxEVT_LEAVE_WINDOW
));
48805 PyDict_SetItemString(d
, "wxEVT_LEFT_DCLICK", PyInt_FromLong(wxEVT_LEFT_DCLICK
));
48806 PyDict_SetItemString(d
, "wxEVT_MIDDLE_DCLICK", PyInt_FromLong(wxEVT_MIDDLE_DCLICK
));
48807 PyDict_SetItemString(d
, "wxEVT_RIGHT_DCLICK", PyInt_FromLong(wxEVT_RIGHT_DCLICK
));
48808 PyDict_SetItemString(d
, "wxEVT_SET_FOCUS", PyInt_FromLong(wxEVT_SET_FOCUS
));
48809 PyDict_SetItemString(d
, "wxEVT_KILL_FOCUS", PyInt_FromLong(wxEVT_KILL_FOCUS
));
48810 PyDict_SetItemString(d
, "wxEVT_CHILD_FOCUS", PyInt_FromLong(wxEVT_CHILD_FOCUS
));
48811 PyDict_SetItemString(d
, "wxEVT_MOUSEWHEEL", PyInt_FromLong(wxEVT_MOUSEWHEEL
));
48812 PyDict_SetItemString(d
, "wxEVT_NC_LEFT_DOWN", PyInt_FromLong(wxEVT_NC_LEFT_DOWN
));
48813 PyDict_SetItemString(d
, "wxEVT_NC_LEFT_UP", PyInt_FromLong(wxEVT_NC_LEFT_UP
));
48814 PyDict_SetItemString(d
, "wxEVT_NC_MIDDLE_DOWN", PyInt_FromLong(wxEVT_NC_MIDDLE_DOWN
));
48815 PyDict_SetItemString(d
, "wxEVT_NC_MIDDLE_UP", PyInt_FromLong(wxEVT_NC_MIDDLE_UP
));
48816 PyDict_SetItemString(d
, "wxEVT_NC_RIGHT_DOWN", PyInt_FromLong(wxEVT_NC_RIGHT_DOWN
));
48817 PyDict_SetItemString(d
, "wxEVT_NC_RIGHT_UP", PyInt_FromLong(wxEVT_NC_RIGHT_UP
));
48818 PyDict_SetItemString(d
, "wxEVT_NC_MOTION", PyInt_FromLong(wxEVT_NC_MOTION
));
48819 PyDict_SetItemString(d
, "wxEVT_NC_ENTER_WINDOW", PyInt_FromLong(wxEVT_NC_ENTER_WINDOW
));
48820 PyDict_SetItemString(d
, "wxEVT_NC_LEAVE_WINDOW", PyInt_FromLong(wxEVT_NC_LEAVE_WINDOW
));
48821 PyDict_SetItemString(d
, "wxEVT_NC_LEFT_DCLICK", PyInt_FromLong(wxEVT_NC_LEFT_DCLICK
));
48822 PyDict_SetItemString(d
, "wxEVT_NC_MIDDLE_DCLICK", PyInt_FromLong(wxEVT_NC_MIDDLE_DCLICK
));
48823 PyDict_SetItemString(d
, "wxEVT_NC_RIGHT_DCLICK", PyInt_FromLong(wxEVT_NC_RIGHT_DCLICK
));
48824 PyDict_SetItemString(d
, "wxEVT_CHAR", PyInt_FromLong(wxEVT_CHAR
));
48825 PyDict_SetItemString(d
, "wxEVT_CHAR_HOOK", PyInt_FromLong(wxEVT_CHAR_HOOK
));
48826 PyDict_SetItemString(d
, "wxEVT_NAVIGATION_KEY", PyInt_FromLong(wxEVT_NAVIGATION_KEY
));
48827 PyDict_SetItemString(d
, "wxEVT_KEY_DOWN", PyInt_FromLong(wxEVT_KEY_DOWN
));
48828 PyDict_SetItemString(d
, "wxEVT_KEY_UP", PyInt_FromLong(wxEVT_KEY_UP
));
48829 PyDict_SetItemString(d
, "wxEVT_HOTKEY", PyInt_FromLong(wxEVT_HOTKEY
));
48830 PyDict_SetItemString(d
, "wxEVT_SET_CURSOR", PyInt_FromLong(wxEVT_SET_CURSOR
));
48831 PyDict_SetItemString(d
, "wxEVT_SCROLL_TOP", PyInt_FromLong(wxEVT_SCROLL_TOP
));
48832 PyDict_SetItemString(d
, "wxEVT_SCROLL_BOTTOM", PyInt_FromLong(wxEVT_SCROLL_BOTTOM
));
48833 PyDict_SetItemString(d
, "wxEVT_SCROLL_LINEUP", PyInt_FromLong(wxEVT_SCROLL_LINEUP
));
48834 PyDict_SetItemString(d
, "wxEVT_SCROLL_LINEDOWN", PyInt_FromLong(wxEVT_SCROLL_LINEDOWN
));
48835 PyDict_SetItemString(d
, "wxEVT_SCROLL_PAGEUP", PyInt_FromLong(wxEVT_SCROLL_PAGEUP
));
48836 PyDict_SetItemString(d
, "wxEVT_SCROLL_PAGEDOWN", PyInt_FromLong(wxEVT_SCROLL_PAGEDOWN
));
48837 PyDict_SetItemString(d
, "wxEVT_SCROLL_THUMBTRACK", PyInt_FromLong(wxEVT_SCROLL_THUMBTRACK
));
48838 PyDict_SetItemString(d
, "wxEVT_SCROLL_THUMBRELEASE", PyInt_FromLong(wxEVT_SCROLL_THUMBRELEASE
));
48839 PyDict_SetItemString(d
, "wxEVT_SCROLL_ENDSCROLL", PyInt_FromLong(wxEVT_SCROLL_ENDSCROLL
));
48840 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_TOP", PyInt_FromLong(wxEVT_SCROLLWIN_TOP
));
48841 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_BOTTOM", PyInt_FromLong(wxEVT_SCROLLWIN_BOTTOM
));
48842 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_LINEUP", PyInt_FromLong(wxEVT_SCROLLWIN_LINEUP
));
48843 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_LINEDOWN", PyInt_FromLong(wxEVT_SCROLLWIN_LINEDOWN
));
48844 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_PAGEUP", PyInt_FromLong(wxEVT_SCROLLWIN_PAGEUP
));
48845 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_PAGEDOWN", PyInt_FromLong(wxEVT_SCROLLWIN_PAGEDOWN
));
48846 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_THUMBTRACK", PyInt_FromLong(wxEVT_SCROLLWIN_THUMBTRACK
));
48847 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_THUMBRELEASE", PyInt_FromLong(wxEVT_SCROLLWIN_THUMBRELEASE
));
48848 PyDict_SetItemString(d
, "wxEVT_SIZE", PyInt_FromLong(wxEVT_SIZE
));
48849 PyDict_SetItemString(d
, "wxEVT_MOVE", PyInt_FromLong(wxEVT_MOVE
));
48850 PyDict_SetItemString(d
, "wxEVT_CLOSE_WINDOW", PyInt_FromLong(wxEVT_CLOSE_WINDOW
));
48851 PyDict_SetItemString(d
, "wxEVT_END_SESSION", PyInt_FromLong(wxEVT_END_SESSION
));
48852 PyDict_SetItemString(d
, "wxEVT_QUERY_END_SESSION", PyInt_FromLong(wxEVT_QUERY_END_SESSION
));
48853 PyDict_SetItemString(d
, "wxEVT_ACTIVATE_APP", PyInt_FromLong(wxEVT_ACTIVATE_APP
));
48854 PyDict_SetItemString(d
, "wxEVT_POWER", PyInt_FromLong(wxEVT_POWER
));
48855 PyDict_SetItemString(d
, "wxEVT_ACTIVATE", PyInt_FromLong(wxEVT_ACTIVATE
));
48856 PyDict_SetItemString(d
, "wxEVT_CREATE", PyInt_FromLong(wxEVT_CREATE
));
48857 PyDict_SetItemString(d
, "wxEVT_DESTROY", PyInt_FromLong(wxEVT_DESTROY
));
48858 PyDict_SetItemString(d
, "wxEVT_SHOW", PyInt_FromLong(wxEVT_SHOW
));
48859 PyDict_SetItemString(d
, "wxEVT_ICONIZE", PyInt_FromLong(wxEVT_ICONIZE
));
48860 PyDict_SetItemString(d
, "wxEVT_MAXIMIZE", PyInt_FromLong(wxEVT_MAXIMIZE
));
48861 PyDict_SetItemString(d
, "wxEVT_MOUSE_CAPTURE_CHANGED", PyInt_FromLong(wxEVT_MOUSE_CAPTURE_CHANGED
));
48862 PyDict_SetItemString(d
, "wxEVT_PAINT", PyInt_FromLong(wxEVT_PAINT
));
48863 PyDict_SetItemString(d
, "wxEVT_ERASE_BACKGROUND", PyInt_FromLong(wxEVT_ERASE_BACKGROUND
));
48864 PyDict_SetItemString(d
, "wxEVT_NC_PAINT", PyInt_FromLong(wxEVT_NC_PAINT
));
48865 PyDict_SetItemString(d
, "wxEVT_PAINT_ICON", PyInt_FromLong(wxEVT_PAINT_ICON
));
48866 PyDict_SetItemString(d
, "wxEVT_MENU_OPEN", PyInt_FromLong(wxEVT_MENU_OPEN
));
48867 PyDict_SetItemString(d
, "wxEVT_MENU_CLOSE", PyInt_FromLong(wxEVT_MENU_CLOSE
));
48868 PyDict_SetItemString(d
, "wxEVT_MENU_HIGHLIGHT", PyInt_FromLong(wxEVT_MENU_HIGHLIGHT
));
48869 PyDict_SetItemString(d
, "wxEVT_CONTEXT_MENU", PyInt_FromLong(wxEVT_CONTEXT_MENU
));
48870 PyDict_SetItemString(d
, "wxEVT_SYS_COLOUR_CHANGED", PyInt_FromLong(wxEVT_SYS_COLOUR_CHANGED
));
48871 PyDict_SetItemString(d
, "wxEVT_DISPLAY_CHANGED", PyInt_FromLong(wxEVT_DISPLAY_CHANGED
));
48872 PyDict_SetItemString(d
, "wxEVT_SETTING_CHANGED", PyInt_FromLong(wxEVT_SETTING_CHANGED
));
48873 PyDict_SetItemString(d
, "wxEVT_QUERY_NEW_PALETTE", PyInt_FromLong(wxEVT_QUERY_NEW_PALETTE
));
48874 PyDict_SetItemString(d
, "wxEVT_PALETTE_CHANGED", PyInt_FromLong(wxEVT_PALETTE_CHANGED
));
48875 PyDict_SetItemString(d
, "wxEVT_DROP_FILES", PyInt_FromLong(wxEVT_DROP_FILES
));
48876 PyDict_SetItemString(d
, "wxEVT_DRAW_ITEM", PyInt_FromLong(wxEVT_DRAW_ITEM
));
48877 PyDict_SetItemString(d
, "wxEVT_MEASURE_ITEM", PyInt_FromLong(wxEVT_MEASURE_ITEM
));
48878 PyDict_SetItemString(d
, "wxEVT_COMPARE_ITEM", PyInt_FromLong(wxEVT_COMPARE_ITEM
));
48879 PyDict_SetItemString(d
, "wxEVT_INIT_DIALOG", PyInt_FromLong(wxEVT_INIT_DIALOG
));
48880 PyDict_SetItemString(d
, "wxEVT_IDLE", PyInt_FromLong(wxEVT_IDLE
));
48881 PyDict_SetItemString(d
, "wxEVT_UPDATE_UI", PyInt_FromLong(wxEVT_UPDATE_UI
));
48882 PyDict_SetItemString(d
, "wxEVT_SIZING", PyInt_FromLong(wxEVT_SIZING
));
48883 PyDict_SetItemString(d
, "wxEVT_MOVING", PyInt_FromLong(wxEVT_MOVING
));
48884 PyDict_SetItemString(d
, "wxEVT_COMMAND_LEFT_CLICK", PyInt_FromLong(wxEVT_COMMAND_LEFT_CLICK
));
48885 PyDict_SetItemString(d
, "wxEVT_COMMAND_LEFT_DCLICK", PyInt_FromLong(wxEVT_COMMAND_LEFT_DCLICK
));
48886 PyDict_SetItemString(d
, "wxEVT_COMMAND_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_RIGHT_CLICK
));
48887 PyDict_SetItemString(d
, "wxEVT_COMMAND_RIGHT_DCLICK", PyInt_FromLong(wxEVT_COMMAND_RIGHT_DCLICK
));
48888 PyDict_SetItemString(d
, "wxEVT_COMMAND_SET_FOCUS", PyInt_FromLong(wxEVT_COMMAND_SET_FOCUS
));
48889 PyDict_SetItemString(d
, "wxEVT_COMMAND_KILL_FOCUS", PyInt_FromLong(wxEVT_COMMAND_KILL_FOCUS
));
48890 PyDict_SetItemString(d
, "wxEVT_COMMAND_ENTER", PyInt_FromLong(wxEVT_COMMAND_ENTER
));
48892 PyDict_SetItemString(d
,"MOUSE_BTN_ANY", SWIG_From_int((int)(wxMOUSE_BTN_ANY
)));
48895 PyDict_SetItemString(d
,"MOUSE_BTN_NONE", SWIG_From_int((int)(wxMOUSE_BTN_NONE
)));
48898 PyDict_SetItemString(d
,"MOUSE_BTN_LEFT", SWIG_From_int((int)(wxMOUSE_BTN_LEFT
)));
48901 PyDict_SetItemString(d
,"MOUSE_BTN_MIDDLE", SWIG_From_int((int)(wxMOUSE_BTN_MIDDLE
)));
48904 PyDict_SetItemString(d
,"MOUSE_BTN_RIGHT", SWIG_From_int((int)(wxMOUSE_BTN_RIGHT
)));
48907 PyDict_SetItemString(d
,"UPDATE_UI_PROCESS_ALL", SWIG_From_int((int)(wxUPDATE_UI_PROCESS_ALL
)));
48910 PyDict_SetItemString(d
,"UPDATE_UI_PROCESS_SPECIFIED", SWIG_From_int((int)(wxUPDATE_UI_PROCESS_SPECIFIED
)));
48913 PyDict_SetItemString(d
,"NavigationKeyEvent_IsBackward", SWIG_From_int((int)(wxNavigationKeyEvent::IsBackward
)));
48916 PyDict_SetItemString(d
,"NavigationKeyEvent_IsForward", SWIG_From_int((int)(wxNavigationKeyEvent::IsForward
)));
48919 PyDict_SetItemString(d
,"NavigationKeyEvent_WinChange", SWIG_From_int((int)(wxNavigationKeyEvent::WinChange
)));
48922 PyDict_SetItemString(d
,"IDLE_PROCESS_ALL", SWIG_From_int((int)(wxIDLE_PROCESS_ALL
)));
48925 PyDict_SetItemString(d
,"IDLE_PROCESS_SPECIFIED", SWIG_From_int((int)(wxIDLE_PROCESS_SPECIFIED
)));
48927 PyDict_SetItemString(d
, "wxEVT_DATE_CHANGED", PyInt_FromLong(wxEVT_DATE_CHANGED
));
48929 PyDict_SetItemString(d
,"PYAPP_ASSERT_SUPPRESS", SWIG_From_int((int)(wxPYAPP_ASSERT_SUPPRESS
)));
48932 PyDict_SetItemString(d
,"PYAPP_ASSERT_EXCEPTION", SWIG_From_int((int)(wxPYAPP_ASSERT_EXCEPTION
)));
48935 PyDict_SetItemString(d
,"PYAPP_ASSERT_DIALOG", SWIG_From_int((int)(wxPYAPP_ASSERT_DIALOG
)));
48938 PyDict_SetItemString(d
,"PYAPP_ASSERT_LOG", SWIG_From_int((int)(wxPYAPP_ASSERT_LOG
)));
48941 PyDict_SetItemString(d
,"PRINT_WINDOWS", SWIG_From_int((int)(wxPRINT_WINDOWS
)));
48944 PyDict_SetItemString(d
,"PRINT_POSTSCRIPT", SWIG_From_int((int)(wxPRINT_POSTSCRIPT
)));
48946 SWIG_addvarlink(SWIG_globals
,(char*)"NullAcceleratorTable",_wrap_NullAcceleratorTable_get
, _wrap_NullAcceleratorTable_set
);
48947 SWIG_addvarlink(SWIG_globals
,(char*)"PanelNameStr",_wrap_PanelNameStr_get
, _wrap_PanelNameStr_set
);
48949 PyDict_SetItemString(d
,"WINDOW_VARIANT_NORMAL", SWIG_From_int((int)(wxWINDOW_VARIANT_NORMAL
)));
48952 PyDict_SetItemString(d
,"WINDOW_VARIANT_SMALL", SWIG_From_int((int)(wxWINDOW_VARIANT_SMALL
)));
48955 PyDict_SetItemString(d
,"WINDOW_VARIANT_MINI", SWIG_From_int((int)(wxWINDOW_VARIANT_MINI
)));
48958 PyDict_SetItemString(d
,"WINDOW_VARIANT_LARGE", SWIG_From_int((int)(wxWINDOW_VARIANT_LARGE
)));
48961 PyDict_SetItemString(d
,"WINDOW_VARIANT_MAX", SWIG_From_int((int)(wxWINDOW_VARIANT_MAX
)));
48963 SWIG_addvarlink(SWIG_globals
,(char*)"DefaultValidator",_wrap_DefaultValidator_get
, _wrap_DefaultValidator_set
);
48964 SWIG_addvarlink(SWIG_globals
,(char*)"ControlNameStr",_wrap_ControlNameStr_get
, _wrap_ControlNameStr_set
);
48966 PyDict_SetItemString(d
,"FLEX_GROWMODE_NONE", SWIG_From_int((int)(wxFLEX_GROWMODE_NONE
)));
48969 PyDict_SetItemString(d
,"FLEX_GROWMODE_SPECIFIED", SWIG_From_int((int)(wxFLEX_GROWMODE_SPECIFIED
)));
48972 PyDict_SetItemString(d
,"FLEX_GROWMODE_ALL", SWIG_From_int((int)(wxFLEX_GROWMODE_ALL
)));
48974 SWIG_addvarlink(SWIG_globals
,(char*)"DefaultSpan",_wrap_DefaultSpan_get
, _wrap_DefaultSpan_set
);
48976 PyDict_SetItemString(d
,"Left", SWIG_From_int((int)(wxLeft
)));
48979 PyDict_SetItemString(d
,"Top", SWIG_From_int((int)(wxTop
)));
48982 PyDict_SetItemString(d
,"Right", SWIG_From_int((int)(wxRight
)));
48985 PyDict_SetItemString(d
,"Bottom", SWIG_From_int((int)(wxBottom
)));
48988 PyDict_SetItemString(d
,"Width", SWIG_From_int((int)(wxWidth
)));
48991 PyDict_SetItemString(d
,"Height", SWIG_From_int((int)(wxHeight
)));
48994 PyDict_SetItemString(d
,"Centre", SWIG_From_int((int)(wxCentre
)));
48997 PyDict_SetItemString(d
,"Center", SWIG_From_int((int)(wxCenter
)));
49000 PyDict_SetItemString(d
,"CentreX", SWIG_From_int((int)(wxCentreX
)));
49003 PyDict_SetItemString(d
,"CentreY", SWIG_From_int((int)(wxCentreY
)));
49006 PyDict_SetItemString(d
,"Unconstrained", SWIG_From_int((int)(wxUnconstrained
)));
49009 PyDict_SetItemString(d
,"AsIs", SWIG_From_int((int)(wxAsIs
)));
49012 PyDict_SetItemString(d
,"PercentOf", SWIG_From_int((int)(wxPercentOf
)));
49015 PyDict_SetItemString(d
,"Above", SWIG_From_int((int)(wxAbove
)));
49018 PyDict_SetItemString(d
,"Below", SWIG_From_int((int)(wxBelow
)));
49021 PyDict_SetItemString(d
,"LeftOf", SWIG_From_int((int)(wxLeftOf
)));
49024 PyDict_SetItemString(d
,"RightOf", SWIG_From_int((int)(wxRightOf
)));
49027 PyDict_SetItemString(d
,"SameAs", SWIG_From_int((int)(wxSameAs
)));
49030 PyDict_SetItemString(d
,"Absolute", SWIG_From_int((int)(wxAbsolute
)));
49033 // Initialize threading, some globals and such
49037 // Although these are defined in __version__ they need to be here too so
49038 // that an assert can be done to ensure that the wxPython and the wxWindows
49040 PyDict_SetItemString(d
,"MAJOR_VERSION", PyInt_FromLong((long)wxMAJOR_VERSION
));
49041 PyDict_SetItemString(d
,"MINOR_VERSION", PyInt_FromLong((long)wxMINOR_VERSION
));
49042 PyDict_SetItemString(d
,"RELEASE_VERSION", PyInt_FromLong((long)wxRELEASE_NUMBER
));